From 49996f463713de49cffe14cfd92578279456f7bb Mon Sep 17 00:00:00 2001 From: Marko Bauhardt Date: Fri, 6 Nov 2020 14:18:06 +0100 Subject: [PATCH 1/2] Support Report Naming to be multiproject compatible --- .../morethan/jenkins/jmhreport/Archive.java | 16 ++++ .../jmhreport/JmhPublisherDslExtension.java | 4 +- .../jenkins/jmhreport/ProjectJmhView.java | 89 ------------------- .../jenkins/jmhreport/RunJmhView.java | 32 ++++--- .../jenkins/jmhreport/RunPublisher.java | 43 +++++---- .../jmhreport/ProjectJmhView/index.jelly | 12 --- .../jmhreport/RunPublisher/config.jelly | 3 + src/main/webapp/bundle.js | 2 +- 8 files changed, 66 insertions(+), 135 deletions(-) create mode 100644 src/main/java/io/morethan/jenkins/jmhreport/Archive.java delete mode 100644 src/main/java/io/morethan/jenkins/jmhreport/ProjectJmhView.java delete mode 100644 src/main/resources/io/morethan/jenkins/jmhreport/ProjectJmhView/index.jelly diff --git a/src/main/java/io/morethan/jenkins/jmhreport/Archive.java b/src/main/java/io/morethan/jenkins/jmhreport/Archive.java new file mode 100644 index 0000000..8265bd5 --- /dev/null +++ b/src/main/java/io/morethan/jenkins/jmhreport/Archive.java @@ -0,0 +1,16 @@ +package io.morethan.jenkins.jmhreport; + +public final class Archive { + + static String resultFileName(String archiveName) { + return String.format("%s-%s", archiveName, Constants.ARCHIVED_RESULT_FILE); + } + + static String runUrl(String reportName) { + return String.format("%s-%s", RunJmhView.URL_NAME, reportName); + } + + static String runDisplayName(String reportName) { + return String.format("%s - %s", "JMH Run Report", reportName); + } +} diff --git a/src/main/java/io/morethan/jenkins/jmhreport/JmhPublisherDslExtension.java b/src/main/java/io/morethan/jenkins/jmhreport/JmhPublisherDslExtension.java index e5f1ff5..3267624 100644 --- a/src/main/java/io/morethan/jenkins/jmhreport/JmhPublisherDslExtension.java +++ b/src/main/java/io/morethan/jenkins/jmhreport/JmhPublisherDslExtension.java @@ -11,6 +11,8 @@ public class JmhPublisherDslExtension extends ContextExtensionPoint @DslExtensionMethod(context=PublisherContext.class) public Object jmhPublisher(String resultPath) { - return new RunPublisher(resultPath); + RunPublisher runPublisher = new RunPublisher(); + runPublisher.setResultPath(resultPath); + return runPublisher; } } diff --git a/src/main/java/io/morethan/jenkins/jmhreport/ProjectJmhView.java b/src/main/java/io/morethan/jenkins/jmhreport/ProjectJmhView.java deleted file mode 100644 index de4a7b9..0000000 --- a/src/main/java/io/morethan/jenkins/jmhreport/ProjectJmhView.java +++ /dev/null @@ -1,89 +0,0 @@ -package io.morethan.jenkins.jmhreport; - -import java.io.File; -import java.io.IOException; -import java.io.Serializable; - -import javax.servlet.ServletException; - -import org.kohsuke.stapler.Stapler; -import org.kohsuke.stapler.StaplerRequest; -import org.kohsuke.stapler.StaplerResponse; - -import hudson.model.Action; -import hudson.model.Job; -import hudson.model.Result; -import hudson.model.Run; - -/** - * The {@link Action} responsible for displaying the JMH report page on project level. - * - *

- * See corresponding Jelly files under src/main/resources. - *

- */ -public class ProjectJmhView implements Action, Serializable { - - private static final String URL_NAME = "jmh-report"; - - private static final long serialVersionUID = 1L; - - private final Job _project; - - public ProjectJmhView(Job project) { - _project = project; - } - - @Override - public String getIconFileName() { - return Constants.ICON_NAME; - } - - @Override - public String getDisplayName() { - return "JMH Report"; - } - - @Override - public String getUrlName() { - return URL_NAME; - } - - public Job getProject() { - return _project; - } - - public String getContextPath() { - return Stapler.getCurrentRequest().getContextPath(); - } - - public String getProvidedJsUrl() { - String contextPath = Stapler.getCurrentRequest().getContextPath(); - Run lastSuccessfulBuild = getProject().getLastSuccessfulBuild(); - String providedId = lastSuccessfulBuild == null ? "none" : Integer.toString(lastSuccessfulBuild.getNumber()); - return new StringBuilder(contextPath).append("/").append(getProject().getUrl()).append(URL_NAME) - .append("/provided-").append(providedId).append(".js").toString(); - } - - public void doDynamic(final StaplerRequest request, final StaplerResponse response) - throws IOException, ServletException { - ProvidedJsBuilder jsBuilder = new ProvidedJsBuilder(); - int addedReports = 0; - for (Run run : _project.getBuilds()) { - if (run.getResult() == Result.SUCCESS || run.getResult() == Result.UNSTABLE) { - File reportFile = new File(run.getRootDir(), Constants.ARCHIVED_RESULT_FILE); - if (reportFile.exists()) { - jsBuilder.addRun(Integer.toString(run.getNumber()), reportFile); - addedReports++; - if (addedReports == 50) { - // TODO make this configurable - break; - } - } - } - } - response.setContentType("text/javascript;charset=UTF-8"); - response.getWriter().println(jsBuilder.buildReverse()); - } - -} diff --git a/src/main/java/io/morethan/jenkins/jmhreport/RunJmhView.java b/src/main/java/io/morethan/jenkins/jmhreport/RunJmhView.java index d31683a..1c5bf9e 100644 --- a/src/main/java/io/morethan/jenkins/jmhreport/RunJmhView.java +++ b/src/main/java/io/morethan/jenkins/jmhreport/RunJmhView.java @@ -3,8 +3,7 @@ import java.io.File; import java.io.IOException; import java.io.Serializable; -import java.util.Arrays; -import java.util.Collection; +import java.util.*; import javax.servlet.ServletException; @@ -25,14 +24,16 @@ */ public class RunJmhView implements Action, LastBuildAction, Serializable { - private static final String URL_NAME = "jmh-run-report"; + static final String URL_NAME = "jmh-run-report"; private static final long serialVersionUID = 1L; private final Run _run; + private final String _reportName; - public RunJmhView(Run run) { + public RunJmhView(Run run, String reportName) { _run = run; + _reportName = reportName; } /** @@ -46,12 +47,12 @@ public String getIconFileName() { @Override public String getDisplayName() { - return "JMH Run Report"; + return Archive.runDisplayName(_reportName); } @Override public String getUrlName() { - return URL_NAME; + return Archive.runUrl(_reportName); } public Run getRun() { @@ -72,7 +73,7 @@ public String getContextPath() { public String getProvidedJsUrl() { String contextPath = Stapler.getCurrentRequest().getContextPath(); - return new StringBuilder(contextPath).append("/").append(getRun().getUrl()).append(URL_NAME) + return new StringBuilder(contextPath).append("/").append(getRun().getUrl()).append(getUrlName()) .append("/provided-").append(getBuildNumber()).append(".js").toString(); } @@ -84,30 +85,27 @@ public String getBundleJsUrl() { public void doDynamic(final StaplerRequest request, final StaplerResponse response) throws IOException, ServletException { ProvidedJsBuilder jsBuilder = new ProvidedJsBuilder(); - File resultFile = new File(_run.getRootDir(), Constants.ARCHIVED_RESULT_FILE); + File resultFile = new File(_run.getRootDir(), Archive.resultFileName(_reportName)); jsBuilder.addRun(getBuildNumber(), resultFile); - addPossiblePreviousBuild(jsBuilder, _run); + addPossiblePreviousBuild(jsBuilder, _run, _reportName); response.setContentType("text/javascript;charset=UTF-8"); response.getWriter().println(jsBuilder.buildReverse()); } - private static void addPossiblePreviousBuild(ProvidedJsBuilder jsBuilder, Run run) { - while ((run = run.getPreviousNotFailedBuild()) != null) { - File previousResultFile = new File(run.getRootDir(), Constants.ARCHIVED_RESULT_FILE); + private static void addPossiblePreviousBuild(ProvidedJsBuilder jsBuilder, Run run, String reportName) { + int runCount = 0; + while ((run = run.getPreviousNotFailedBuild()) != null && runCount++ < 10) { + File previousResultFile = new File(run.getRootDir(), Archive.resultFileName(reportName)); if (previousResultFile.exists()) { jsBuilder.addRun(run.getNumber(), previousResultFile); - - // For the run view we only display the latest 2 runs (currently) - return; } } } @Override public Collection getProjectActions() { - return Arrays.asList(new ProjectJmhView(_run.getParent())); + return new ArrayList<>(); } - } diff --git a/src/main/java/io/morethan/jenkins/jmhreport/RunPublisher.java b/src/main/java/io/morethan/jenkins/jmhreport/RunPublisher.java index 60215ad..2573711 100644 --- a/src/main/java/io/morethan/jenkins/jmhreport/RunPublisher.java +++ b/src/main/java/io/morethan/jenkins/jmhreport/RunPublisher.java @@ -1,11 +1,5 @@ package io.morethan.jenkins.jmhreport; -import java.io.File; -import java.io.IOException; - -import org.jenkinsci.Symbol; -import org.kohsuke.stapler.DataBoundConstructor; - import hudson.AbortException; import hudson.Extension; import hudson.FilePath; @@ -19,24 +13,43 @@ import hudson.tasks.Publisher; import hudson.tasks.Recorder; import jenkins.tasks.SimpleBuildStep; +import org.jenkinsci.Symbol; +import org.kohsuke.stapler.DataBoundConstructor; +import org.kohsuke.stapler.DataBoundSetter; + +import java.io.File; +import java.io.IOException; /** * A {@link Recorder} executed after each build. It copies the JMH result file - * into the corresponding build dir and registers the {@link ProjectJmhView} - * which renders the build run report and itself registers the - * {@link ProjectJmhView} through {@link LastBuildAction}. + * into the corresponding build dir. */ public class RunPublisher extends Recorder implements SimpleBuildStep { - private final String _resultPath; + private String _resultPath; + + private String _reportName; + + public String getResultPath() { + return _resultPath; + } @DataBoundConstructor - public RunPublisher(String resultPath) { + public RunPublisher() { + } + + @DataBoundSetter + public void setResultPath(String resultPath) { _resultPath = resultPath; } - public String getResultPath() { - return _resultPath; + public String getReportName() { + return _reportName; + } + + @DataBoundSetter + public void setReportName(String reportName) { + _reportName = reportName; } @Override @@ -62,11 +75,11 @@ public void perform(Run run, FilePath workspace, Launcher launcher, TaskLi listener.getLogger().println("Found JMH result: " + _resultPath); // Copy the result file into the build dir of the Jenkins project - File archivedResult = new File(run.getRootDir(), Constants.ARCHIVED_RESULT_FILE); + File archivedResult = new File(run.getRootDir(), Archive.resultFileName(_reportName)); resultFile.copyTo(new FilePath(archivedResult)); listener.getLogger().println("Archived JMH result to: " + archivedResult); - run.addAction(new RunJmhView(run)); + run.addAction(new RunJmhView(run, getReportName())); // TODO set on major decreases ? // build.setResult(Result.UNSTABLE); } diff --git a/src/main/resources/io/morethan/jenkins/jmhreport/ProjectJmhView/index.jelly b/src/main/resources/io/morethan/jenkins/jmhreport/ProjectJmhView/index.jelly deleted file mode 100644 index da0569c..0000000 --- a/src/main/resources/io/morethan/jenkins/jmhreport/ProjectJmhView/index.jelly +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -
-
-
- - - -
\ No newline at end of file diff --git a/src/main/resources/io/morethan/jenkins/jmhreport/RunPublisher/config.jelly b/src/main/resources/io/morethan/jenkins/jmhreport/RunPublisher/config.jelly index a5fd7b4..936bd6f 100644 --- a/src/main/resources/io/morethan/jenkins/jmhreport/RunPublisher/config.jelly +++ b/src/main/resources/io/morethan/jenkins/jmhreport/RunPublisher/config.jelly @@ -6,4 +6,7 @@ + + + diff --git a/src/main/webapp/bundle.js b/src/main/webapp/bundle.js index 607624c..5b90294 100644 --- a/src/main/webapp/bundle.js +++ b/src/main/webapp/bundle.js @@ -4,7 +4,7 @@ * Lodash * Copyright JS Foundation and other contributors * Released under MIT license - * Based on Underscore.js 1.8.3 + * Based on Underscore.js 2.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",l="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",d=1,p=2,h=4,m=1,b=2,g=1,y=2,v=4,w=8,x=16,k=32,_=64,E=128,S=256,O=512,T=30,M="...",C=800,P=16,j=1,A=2,B=1/0,I=9007199254740991,N=1.7976931348623157e308,D=NaN,z=4294967295,R=z-1,U=z>>>1,L=[["ary",E],["bind",g],["bindKey",y],["curry",w],["curryRight",x],["flip",O],["partial",k],["partialRight",_],["rearg",S]],F="[object Arguments]",q="[object Array]",W="[object AsyncFunction]",H="[object Boolean]",K="[object Date]",V="[object DOMException]",Y="[object Error]",G="[object Function]",X="[object GeneratorFunction]",$="[object Map]",J="[object Number]",Q="[object Null]",Z="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",re="[object String]",ae="[object Symbol]",oe="[object Undefined]",ie="[object WeakMap]",se="[object WeakSet]",ce="[object ArrayBuffer]",le="[object DataView]",ue="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",pe="[object Int16Array]",he="[object Int32Array]",me="[object Uint8Array]",be="[object Uint8ClampedArray]",ge="[object Uint16Array]",ye="[object Uint32Array]",ve=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,_e=/[&<>"']/g,Ee=RegExp(ke.source),Se=RegExp(_e.source),Oe=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,Me=/<%=([\s\S]+?)%>/g,Ce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pe=/^\w*$/,je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/[\\^$.*+?()[\]{}|]/g,Be=RegExp(Ae.source),Ie=/^\s+|\s+$/g,Ne=/^\s+/,De=/\s+$/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Re=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /,Le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,We=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Ge=/^(?:0|[1-9]\d*)$/,Xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$e=/($^)/,Je=/['\n\r\u2028\u2029\\]/g,Qe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ze="\\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",et="[\\ud800-\\udfff]",tt="["+Ze+"]",nt="["+Qe+"]",rt="\\d+",at="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Ze+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="\\ud83c[\\udffb-\\udfff]",ct="[^\\ud800-\\udfff]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="[A-Z\\xc0-\\xd6\\xd8-\\xde]",dt="(?:"+ot+"|"+it+")",pt="(?:"+ft+"|"+it+")",ht="(?:"+nt+"|"+st+")"+"?",mt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[ct,lt,ut].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),bt="(?:"+[at,lt,ut].join("|")+")"+mt,gt="(?:"+[ct+nt+"?",nt,lt,ut,et].join("|")+")",yt=RegExp("['’]","g"),vt=RegExp(nt,"g"),wt=RegExp(st+"(?="+st+")|"+gt+mt,"g"),xt=RegExp([ft+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,ft,"$"].join("|")+")",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,ft+dt,"$"].join("|")+")",ft+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ft+"+(?:['’](?: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_])",rt,bt].join("|"),"g"),kt=RegExp("[\\u200d\\ud800-\\udfff"+Qe+"\\ufe0e\\ufe0f]"),_t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Et=["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"],St=-1,Ot={};Ot[ue]=Ot[fe]=Ot[de]=Ot[pe]=Ot[he]=Ot[me]=Ot[be]=Ot[ge]=Ot[ye]=!0,Ot[F]=Ot[q]=Ot[ce]=Ot[H]=Ot[le]=Ot[K]=Ot[Y]=Ot[G]=Ot[$]=Ot[J]=Ot[Z]=Ot[te]=Ot[ne]=Ot[re]=Ot[ie]=!1;var Tt={};Tt[F]=Tt[q]=Tt[ce]=Tt[le]=Tt[H]=Tt[K]=Tt[ue]=Tt[fe]=Tt[de]=Tt[pe]=Tt[he]=Tt[$]=Tt[J]=Tt[Z]=Tt[te]=Tt[ne]=Tt[re]=Tt[ae]=Tt[me]=Tt[be]=Tt[ge]=Tt[ye]=!0,Tt[Y]=Tt[G]=Tt[ie]=!1;var Mt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ct=parseFloat,Pt=parseInt,jt="object"==typeof e&&e&&e.Object===Object&&e,At="object"==typeof self&&self&&self.Object===Object&&self,Bt=jt||At||Function("return this")(),It="object"==typeof t&&t&&!t.nodeType&&t,Nt=It&&"object"==typeof r&&r&&!r.nodeType&&r,Dt=Nt&&Nt.exports===It,zt=Dt&&jt.process,Rt=function(){try{var e=Nt&&Nt.require&&Nt.require("util").types;return e||zt&&zt.binding&&zt.binding("util")}catch(e){}}(),Ut=Rt&&Rt.isArrayBuffer,Lt=Rt&&Rt.isDate,Ft=Rt&&Rt.isMap,qt=Rt&&Rt.isRegExp,Wt=Rt&&Rt.isSet,Ht=Rt&&Rt.isTypedArray;function Kt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Vt(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a-1}function Qt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function xn(e,t){for(var n=e.length;n--&&cn(t,e[n],0)>-1;);return n}var kn=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"}),_n=pn({"&":"&","<":"<",">":">",'"':""","'":"'"});function En(e){return"\\"+Mt[e]}function Sn(e){return kt.test(e)}function On(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Tn(e,t){return function(n){return e(t(n))}}function Mn(e,t){for(var n=-1,r=e.length,a=0,o=[];++n",""":'"',"'":"'"});var In=function e(t){var n=(t=null==t?Bt:In.defaults(Bt.Object(),t,In.pick(Bt,Et))).Array,r=t.Date,a=t.Error,Qe=t.Function,Ze=t.Math,et=t.Object,tt=t.RegExp,nt=t.String,rt=t.TypeError,at=n.prototype,ot=Qe.prototype,it=et.prototype,st=t["__core-js_shared__"],ct=ot.toString,lt=it.hasOwnProperty,ut=0,ft=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),dt=it.toString,pt=ct.call(et),ht=Bt._,mt=tt("^"+ct.call(lt).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=Dt?t.Buffer:o,gt=t.Symbol,wt=t.Uint8Array,kt=bt?bt.allocUnsafe:o,Mt=Tn(et.getPrototypeOf,et),jt=et.create,At=it.propertyIsEnumerable,It=at.splice,Nt=gt?gt.isConcatSpreadable:o,zt=gt?gt.iterator:o,Rt=gt?gt.toStringTag:o,an=function(){try{var e=Ro(et,"defineProperty");return e({},"",{}),e}catch(e){}}(),pn=t.clearTimeout!==Bt.clearTimeout&&t.clearTimeout,Nn=r&&r.now!==Bt.Date.now&&r.now,Dn=t.setTimeout!==Bt.setTimeout&&t.setTimeout,zn=Ze.ceil,Rn=Ze.floor,Un=et.getOwnPropertySymbols,Ln=bt?bt.isBuffer:o,Fn=t.isFinite,qn=at.join,Wn=Tn(et.keys,et),Hn=Ze.max,Kn=Ze.min,Vn=r.now,Yn=t.parseInt,Gn=Ze.random,Xn=at.reverse,$n=Ro(t,"DataView"),Jn=Ro(t,"Map"),Qn=Ro(t,"Promise"),Zn=Ro(t,"Set"),er=Ro(t,"WeakMap"),tr=Ro(et,"create"),nr=er&&new er,rr={},ar=ui($n),or=ui(Jn),ir=ui(Qn),sr=ui(Zn),cr=ui(er),lr=gt?gt.prototype:o,ur=lr?lr.valueOf:o,fr=lr?lr.toString:o;function dr(e){if(Ts(e)&&!bs(e)&&!(e instanceof br)){if(e instanceof mr)return e;if(lt.call(e,"__wrapped__"))return fi(e)}return new mr(e)}var pr=function(){function e(){}return function(t){if(!Os(t))return{};if(jt)return jt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function hr(){}function mr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function br(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=z,this.__views__=[]}function gr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Ir(e,t,n,r,a,i){var s,c=t&d,l=t&p,u=t&h;if(n&&(s=a?n(e,r,a,i):n(e)),s!==o)return s;if(!Os(e))return e;var f=bs(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&<.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return to(e,s)}else{var m=Fo(e),b=m==G||m==X;if(ws(e))return Xa(e,c);if(m==Z||m==F||b&&!a){if(s=l||b?{}:Wo(e),!c)return l?function(e,t){return no(e,Lo(e),t)}(e,function(e,t){return e&&no(t,ac(t),e)}(s,e)):function(e,t){return no(e,Uo(e),t)}(e,Pr(s,e))}else{if(!Tt[m])return a?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case ce:return $a(e);case H:case K:return new r(+e);case le:return function(e,t){var n=t?$a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ue:case fe:case de:case pe:case he:case me:case be:case ge:case ye:return Ja(e,n);case $:return new r;case J:case re:return new r(e);case te:return function(e){var t=new e.constructor(e.source,We.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new r;case ae:return function(e){return ur?et(ur.call(e)):{}}(e)}}(e,m,c)}}i||(i=new xr);var g=i.get(e);if(g)return g;if(i.set(e,s),As(e))return e.forEach(function(r){s.add(Ir(r,t,n,r,e,i))}),s;if(Ms(e))return e.forEach(function(r,a){s.set(a,Ir(r,t,n,a,e,i))}),s;var y=f?o:(u?l?jo:Po:l?ac:rc)(e);return Yt(y||e,function(r,a){y&&(r=e[a=r]),Tr(s,a,Ir(r,t,n,a,e,i))}),s}function Nr(e,t,n){var r=n.length;if(null==e)return!r;for(e=et(e);r--;){var a=n[r],i=t[a],s=e[a];if(s===o&&!(a in e)||!i(s))return!1}return!0}function Dr(e,t,n){if("function"!=typeof e)throw new rt(c);return ri(function(){e.apply(o,n)},t)}function zr(e,t,n,r){var a=-1,o=Jt,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=Zt(t,gn(n))),r?(o=Qt,s=!1):t.length>=i&&(o=vn,s=!1,t=new wr(t));e:for(;++a-1},yr.prototype.set=function(e,t){var n=this.__data__,r=Mr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},vr.prototype.clear=function(){this.size=0,this.__data__={hash:new gr,map:new(Jn||yr),string:new gr}},vr.prototype.delete=function(e){var t=Do(this,e).delete(e);return this.size-=t?1:0,t},vr.prototype.get=function(e){return Do(this,e).get(e)},vr.prototype.has=function(e){return Do(this,e).has(e)},vr.prototype.set=function(e,t){var n=Do(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(e){return this.__data__.set(e,l),this},wr.prototype.has=function(e){return this.__data__.has(e)},xr.prototype.clear=function(){this.__data__=new yr,this.size=0},xr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xr.prototype.get=function(e){return this.__data__.get(e)},xr.prototype.has=function(e){return this.__data__.has(e)},xr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!Jn||r.length0&&n(s)?t>1?Wr(s,t-1,n,r,a):en(a,s):r||(a[a.length]=s)}return a}var Hr=io(),Kr=io(!0);function Vr(e,t){return e&&Hr(e,t,rc)}function Yr(e,t){return e&&Kr(e,t,rc)}function Gr(e,t){return $t(t,function(t){return _s(e[t])})}function Xr(e,t){for(var n=0,r=(t=Ka(t,e)).length;null!=e&&nt}function Zr(e,t){return null!=e&<.call(e,t)}function ea(e,t){return null!=e&&t in et(e)}function ta(e,t,r){for(var a=r?Qt:Jt,i=e[0].length,s=e.length,c=s,l=n(s),u=1/0,f=[];c--;){var d=e[c];c&&t&&(d=Zt(d,gn(t))),u=Kn(d.length,u),l[c]=!r&&(t||i>=120&&d.length>=120)?new wr(c&&d):o}d=e[0];var p=-1,h=l[0];e:for(;++p=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)})}function ga(e,t,n){for(var r=-1,a=t.length,o={};++r-1;)s!==e&&It.call(s,c,1),It.call(e,c,1);return e}function va(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;Ko(a)?It.call(e,a,1):za(e,a)}}return e}function wa(e,t){return e+Rn(Gn()*(t-e+1))}function xa(e,t){var n="";if(!e||t<1||t>I)return n;do{t%2&&(n+=e),(t=Rn(t/2))&&(e+=e)}while(t);return n}function ka(e,t){return ai(Zo(e,t,Cc),e+"")}function _a(e){return _r(dc(e))}function Ea(e,t){var n=dc(e);return si(n,Br(t,0,n.length))}function Sa(e,t,n,r){if(!Os(e))return e;for(var a=-1,i=(t=Ka(t,e)).length,s=i-1,c=e;null!=c&&++ao?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=n(o);++a>>1,i=e[o];null!==i&&!Is(i)&&(n?i<=t:i=i){var u=t?null:ko(e);if(u)return Cn(u);s=!1,a=vn,l=new wr}else l=t?[]:c;e:for(;++r=r?e:Ca(e,t,n)}var Ga=pn||function(e){return Bt.clearTimeout(e)};function Xa(e,t){if(t)return e.slice();var n=e.length,r=kt?kt(n):new e.constructor(n);return e.copy(r),r}function $a(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Ja(e,t){var n=t?$a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Qa(e,t){if(e!==t){var n=e!==o,r=null===e,a=e==e,i=Is(e),s=t!==o,c=null===t,l=t==t,u=Is(t);if(!c&&!u&&!i&&e>t||i&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!a)return 1;if(!r&&!i&&!u&&e1?n[a-1]:o,s=a>2?n[2]:o;for(i=e.length>3&&"function"==typeof i?(a--,i):o,s&&Vo(n[0],n[1],s)&&(i=a<3?o:i,a=1),t=et(t);++r-1?a[i?t[s]:s]:o}}function fo(e){return Co(function(t){var n=t.length,r=n,a=mr.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new rt(c);if(a&&!s&&"wrapper"==Bo(i))var s=new mr([],!0)}for(r=s?r:n;++r1&&w.reverse(),d&&uc))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var f=-1,d=!0,p=n&b?new wr:o;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ze,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Yt(L,function(n){var r="_."+n[0];t&n[1]&&!Jt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(Re);return t?t[1].split(Ue):[]}(r),n)))}function ii(e){var t=0,n=0;return function(){var r=Vn(),a=P-(r-n);if(n=r,a>0){if(++t>=C)return arguments[0]}else t=0;return e.apply(o,arguments)}}function si(e,t){var n=-1,r=e.length,a=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return ji(e,n="function"==typeof n?(e.pop(),n):o)});function Ri(e){var t=dr(e);return t.__chain__=!0,t}function Ui(e,t){return t(e)}var Li=Co(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return Ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof br&&Ko(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Ui,args:[a],thisArg:o}),new mr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(a)});var Fi=ro(function(e,t,n){lt.call(e,n)?++e[n]:jr(e,n,1)});var qi=uo(mi),Wi=uo(bi);function Hi(e,t){return(bs(e)?Yt:Rr)(e,No(t,3))}function Ki(e,t){return(bs(e)?Gt:Ur)(e,No(t,3))}var Vi=ro(function(e,t,n){lt.call(e,n)?e[n].push(t):jr(e,n,[t])});var Yi=ka(function(e,t,r){var a=-1,o="function"==typeof t,i=ys(e)?n(e.length):[];return Rr(e,function(e){i[++a]=o?Kt(t,e,r):na(e,t,r)}),i}),Gi=ro(function(e,t,n){jr(e,n,t)});function Xi(e,t){return(bs(e)?Zt:fa)(e,No(t,3))}var $i=ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Ji=ka(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Vo(e,t[0],t[1])?t=[]:n>2&&Vo(t[0],t[1],t[2])&&(t=[t[0]]),ba(e,Wr(t,1),[])}),Qi=Nn||function(){return Bt.Date.now()};function Zi(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Eo(e,E,o,o,o,o,t)}function es(e,t){var n;if("function"!=typeof t)throw new rt(c);return e=Ls(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ts=ka(function(e,t,n){var r=g;if(n.length){var a=Mn(n,Io(ts));r|=k}return Eo(e,r,t,n,a)}),ns=ka(function(e,t,n){var r=g|y;if(n.length){var a=Mn(n,Io(ns));r|=k}return Eo(t,r,e,n,a)});function rs(e,t,n){var r,a,i,s,l,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new rt(c);function m(t){var n=r,i=a;return r=a=o,f=t,s=e.apply(i,n)}function b(e){var n=e-u;return u===o||n>=t||n<0||p&&e-f>=i}function g(){var e=Qi();if(b(e))return y(e);l=ri(g,function(e){var n=t-(e-u);return p?Kn(n,i-(e-f)):n}(e))}function y(e){return l=o,h&&r?m(e):(r=a=o,s)}function v(){var e=Qi(),n=b(e);if(r=arguments,a=this,u=e,n){if(l===o)return function(e){return f=e,l=ri(g,t),d?m(e):s}(u);if(p)return l=ri(g,t),m(u)}return l===o&&(l=ri(g,t)),s}return t=qs(t)||0,Os(n)&&(d=!!n.leading,i=(p="maxWait"in n)?Hn(qs(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),v.cancel=function(){l!==o&&Ga(l),f=0,r=u=a=l=o},v.flush=function(){return l===o?s:y(Qi())},v}var as=ka(function(e,t){return Dr(e,1,t)}),os=ka(function(e,t,n){return Dr(e,qs(t)||0,n)});function is(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(c);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(is.Cache||vr),n}function ss(e){if("function"!=typeof e)throw new rt(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}is.Cache=vr;var cs=Va(function(e,t){var n=(t=1==t.length&&bs(t[0])?Zt(t[0],gn(No())):Zt(Wr(t,1),gn(No()))).length;return ka(function(r){for(var a=-1,o=Kn(r.length,n);++a=t}),ms=ra(function(){return arguments}())?ra:function(e){return Ts(e)&<.call(e,"callee")&&!At.call(e,"callee")},bs=n.isArray,gs=Ut?gn(Ut):function(e){return Ts(e)&&Jr(e)==ce};function ys(e){return null!=e&&Ss(e.length)&&!_s(e)}function vs(e){return Ts(e)&&ys(e)}var ws=Ln||qc,xs=Lt?gn(Lt):function(e){return Ts(e)&&Jr(e)==K};function ks(e){if(!Ts(e))return!1;var t=Jr(e);return t==Y||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Ps(e)}function _s(e){if(!Os(e))return!1;var t=Jr(e);return t==G||t==X||t==W||t==ee}function Es(e){return"number"==typeof e&&e==Ls(e)}function Ss(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=I}function Os(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ts(e){return null!=e&&"object"==typeof e}var Ms=Ft?gn(Ft):function(e){return Ts(e)&&Fo(e)==$};function Cs(e){return"number"==typeof e||Ts(e)&&Jr(e)==J}function Ps(e){if(!Ts(e)||Jr(e)!=Z)return!1;var t=Mt(e);if(null===t)return!0;var n=lt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==pt}var js=qt?gn(qt):function(e){return Ts(e)&&Jr(e)==te};var As=Wt?gn(Wt):function(e){return Ts(e)&&Fo(e)==ne};function Bs(e){return"string"==typeof e||!bs(e)&&Ts(e)&&Jr(e)==re}function Is(e){return"symbol"==typeof e||Ts(e)&&Jr(e)==ae}var Ns=Ht?gn(Ht):function(e){return Ts(e)&&Ss(e.length)&&!!Ot[Jr(e)]};var Ds=vo(ua),zs=vo(function(e,t){return e<=t});function Rs(e){if(!e)return[];if(ys(e))return Bs(e)?An(e):to(e);if(zt&&e[zt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[zt]());var t=Fo(e);return(t==$?On:t==ne?Cn:dc)(e)}function Us(e){return e?(e=qs(e))===B||e===-B?(e<0?-1:1)*N:e==e?e:0:0===e?e:0}function Ls(e){var t=Us(e),n=t%1;return t==t?n?t-n:t:0}function Fs(e){return e?Br(Ls(e),0,z):0}function qs(e){if("number"==typeof e)return e;if(Is(e))return D;if(Os(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Os(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ie,"");var n=Ke.test(e);return n||Ye.test(e)?Pt(e.slice(2),n?2:8):He.test(e)?D:+e}function Ws(e){return no(e,ac(e))}function Hs(e){return null==e?"":Na(e)}var Ks=ao(function(e,t){if($o(t)||ys(t))no(t,rc(t),e);else for(var n in t)lt.call(t,n)&&Tr(e,n,t[n])}),Vs=ao(function(e,t){no(t,ac(t),e)}),Ys=ao(function(e,t,n,r){no(t,ac(t),e,r)}),Gs=ao(function(e,t,n,r){no(t,rc(t),e,r)}),Xs=Co(Ar);var $s=ka(function(e,t){e=et(e);var n=-1,r=t.length,a=r>2?t[2]:o;for(a&&Vo(t[0],t[1],a)&&(r=1);++n1),t}),no(e,jo(e),n),r&&(n=Ir(n,d|p|h,To));for(var a=t.length;a--;)za(n,t[a]);return n});var cc=Co(function(e,t){return null==e?{}:function(e,t){return ga(e,t,function(t,n){return Zs(e,n)})}(e,t)});function lc(e,t){if(null==e)return{};var n=Zt(jo(e),function(e){return[e]});return t=No(t),ga(e,n,function(e,n){return t(e,n[0])})}var uc=_o(rc),fc=_o(ac);function dc(e){return null==e?[]:yn(e,rc(e))}var pc=co(function(e,t,n){return t=t.toLowerCase(),e+(n?hc(t):t)});function hc(e){return kc(Hs(e).toLowerCase())}function mc(e){return(e=Hs(e))&&e.replace(Xe,kn).replace(vt,"")}var bc=co(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),gc=co(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),yc=so("toLowerCase");var vc=co(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var wc=co(function(e,t,n){return e+(n?" ":"")+kc(t)});var xc=co(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),kc=so("toUpperCase");function _c(e,t,n){return e=Hs(e),(t=n?o:t)===o?function(e){return _t.test(e)}(e)?function(e){return e.match(xt)||[]}(e):function(e){return e.match(Le)||[]}(e):e.match(t)||[]}var Ec=ka(function(e,t){try{return Kt(e,o,t)}catch(e){return ks(e)?e:new a(e)}}),Sc=Co(function(e,t){return Yt(t,function(t){t=li(t),jr(e,t,ts(e[t],e))}),e});function Oc(e){return function(){return e}}var Tc=fo(),Mc=fo(!0);function Cc(e){return e}function Pc(e){return sa("function"==typeof e?e:Ir(e,d))}var jc=ka(function(e,t){return function(n){return na(n,e,t)}}),Ac=ka(function(e,t){return function(n){return na(e,n,t)}});function Bc(e,t,n){var r=rc(t),a=Gr(t,r);null!=n||Os(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Gr(t,rc(t)));var o=!(Os(n)&&"chain"in n&&!n.chain),i=_s(e);return Yt(a,function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=to(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,en([this.value()],arguments))})}),e}function Ic(){}var Nc=bo(Zt),Dc=bo(Xt),zc=bo(rn);function Rc(e){return Yo(e)?dn(li(e)):function(e){return function(t){return Xr(t,e)}}(e)}var Uc=yo(),Lc=yo(!0);function Fc(){return[]}function qc(){return!1}var Wc=mo(function(e,t){return e+t},0),Hc=xo("ceil"),Kc=mo(function(e,t){return e/t},1),Vc=xo("floor");var Yc=mo(function(e,t){return e*t},1),Gc=xo("round"),Xc=mo(function(e,t){return e-t},0);return dr.after=function(e,t){if("function"!=typeof t)throw new rt(c);return e=Ls(e),function(){if(--e<1)return t.apply(this,arguments)}},dr.ary=Zi,dr.assign=Ks,dr.assignIn=Vs,dr.assignInWith=Ys,dr.assignWith=Gs,dr.at=Xs,dr.before=es,dr.bind=ts,dr.bindAll=Sc,dr.bindKey=ns,dr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return bs(e)?e:[e]},dr.chain=Ri,dr.chunk=function(e,t,r){t=(r?Vo(e,t,r):t===o)?1:Hn(Ls(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,s=0,c=n(zn(a/t));ia?0:a+n),(r=r===o||r>a?a:Ls(r))<0&&(r+=a),r=n>r?0:Fs(r);n>>0)?(e=Hs(e))&&("string"==typeof t||null!=t&&!js(t))&&!(t=Na(t))&&Sn(e)?Ya(An(e),0,n):e.split(t,n):[]},dr.spread=function(e,t){if("function"!=typeof e)throw new rt(c);return t=null==t?0:Hn(Ls(t),0),ka(function(n){var r=n[t],a=Ya(n,0,t);return r&&en(a,r),Kt(e,this,a)})},dr.tail=function(e){var t=null==e?0:e.length;return t?Ca(e,1,t):[]},dr.take=function(e,t,n){return e&&e.length?Ca(e,0,(t=n||t===o?1:Ls(t))<0?0:t):[]},dr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Ca(e,(t=r-(t=n||t===o?1:Ls(t)))<0?0:t,r):[]},dr.takeRightWhile=function(e,t){return e&&e.length?Ua(e,No(t,3),!1,!0):[]},dr.takeWhile=function(e,t){return e&&e.length?Ua(e,No(t,3)):[]},dr.tap=function(e,t){return t(e),e},dr.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new rt(c);return Os(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),rs(e,t,{leading:r,maxWait:t,trailing:a})},dr.thru=Ui,dr.toArray=Rs,dr.toPairs=uc,dr.toPairsIn=fc,dr.toPath=function(e){return bs(e)?Zt(e,li):Is(e)?[e]:to(ci(Hs(e)))},dr.toPlainObject=Ws,dr.transform=function(e,t,n){var r=bs(e),a=r||ws(e)||Ns(e);if(t=No(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:Os(e)&&_s(o)?pr(Mt(e)):{}}return(a?Yt:Vr)(e,function(e,r,a){return t(n,e,r,a)}),n},dr.unary=function(e){return Zi(e,1)},dr.union=Ti,dr.unionBy=Mi,dr.unionWith=Ci,dr.uniq=function(e){return e&&e.length?Da(e):[]},dr.uniqBy=function(e,t){return e&&e.length?Da(e,No(t,2)):[]},dr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Da(e,o,t):[]},dr.unset=function(e,t){return null==e||za(e,t)},dr.unzip=Pi,dr.unzipWith=ji,dr.update=function(e,t,n){return null==e?e:Ra(e,t,Ha(n))},dr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Ra(e,t,Ha(n),r)},dr.values=dc,dr.valuesIn=function(e){return null==e?[]:yn(e,ac(e))},dr.without=Ai,dr.words=_c,dr.wrap=function(e,t){return ls(Ha(t),e)},dr.xor=Bi,dr.xorBy=Ii,dr.xorWith=Ni,dr.zip=Di,dr.zipObject=function(e,t){return qa(e||[],t||[],Tr)},dr.zipObjectDeep=function(e,t){return qa(e||[],t||[],Sa)},dr.zipWith=zi,dr.entries=uc,dr.entriesIn=fc,dr.extend=Vs,dr.extendWith=Ys,Bc(dr,dr),dr.add=Wc,dr.attempt=Ec,dr.camelCase=pc,dr.capitalize=hc,dr.ceil=Hc,dr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=qs(n))==n?n:0),t!==o&&(t=(t=qs(t))==t?t:0),Br(qs(e),t,n)},dr.clone=function(e){return Ir(e,h)},dr.cloneDeep=function(e){return Ir(e,d|h)},dr.cloneDeepWith=function(e,t){return Ir(e,d|h,t="function"==typeof t?t:o)},dr.cloneWith=function(e,t){return Ir(e,h,t="function"==typeof t?t:o)},dr.conformsTo=function(e,t){return null==t||Nr(e,t,rc(t))},dr.deburr=mc,dr.defaultTo=function(e,t){return null==e||e!=e?t:e},dr.divide=Kc,dr.endsWith=function(e,t,n){e=Hs(e),t=Na(t);var r=e.length,a=n=n===o?r:Br(Ls(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},dr.eq=ds,dr.escape=function(e){return(e=Hs(e))&&Se.test(e)?e.replace(_e,_n):e},dr.escapeRegExp=function(e){return(e=Hs(e))&&Be.test(e)?e.replace(Ae,"\\$&"):e},dr.every=function(e,t,n){var r=bs(e)?Xt:Lr;return n&&Vo(e,t,n)&&(t=o),r(e,No(t,3))},dr.find=qi,dr.findIndex=mi,dr.findKey=function(e,t){return on(e,No(t,3),Vr)},dr.findLast=Wi,dr.findLastIndex=bi,dr.findLastKey=function(e,t){return on(e,No(t,3),Yr)},dr.floor=Vc,dr.forEach=Hi,dr.forEachRight=Ki,dr.forIn=function(e,t){return null==e?e:Hr(e,No(t,3),ac)},dr.forInRight=function(e,t){return null==e?e:Kr(e,No(t,3),ac)},dr.forOwn=function(e,t){return e&&Vr(e,No(t,3))},dr.forOwnRight=function(e,t){return e&&Yr(e,No(t,3))},dr.get=Qs,dr.gt=ps,dr.gte=hs,dr.has=function(e,t){return null!=e&&qo(e,t,Zr)},dr.hasIn=Zs,dr.head=yi,dr.identity=Cc,dr.includes=function(e,t,n,r){e=ys(e)?e:dc(e),n=n&&!r?Ls(n):0;var a=e.length;return n<0&&(n=Hn(a+n,0)),Bs(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&cn(e,t,n)>-1},dr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:Ls(n);return a<0&&(a=Hn(r+a,0)),cn(e,t,a)},dr.inRange=function(e,t,n){return t=Us(t),n===o?(n=t,t=0):n=Us(n),function(e,t,n){return e>=Kn(t,n)&&e=-I&&e<=I},dr.isSet=As,dr.isString=Bs,dr.isSymbol=Is,dr.isTypedArray=Ns,dr.isUndefined=function(e){return e===o},dr.isWeakMap=function(e){return Ts(e)&&Fo(e)==ie},dr.isWeakSet=function(e){return Ts(e)&&Jr(e)==se},dr.join=function(e,t){return null==e?"":qn.call(e,t)},dr.kebabCase=bc,dr.last=ki,dr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==o&&(a=(a=Ls(n))<0?Hn(r+a,0):Kn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):sn(e,un,a,!0)},dr.lowerCase=gc,dr.lowerFirst=yc,dr.lt=Ds,dr.lte=zs,dr.max=function(e){return e&&e.length?Fr(e,Cc,Qr):o},dr.maxBy=function(e,t){return e&&e.length?Fr(e,No(t,2),Qr):o},dr.mean=function(e){return fn(e,Cc)},dr.meanBy=function(e,t){return fn(e,No(t,2))},dr.min=function(e){return e&&e.length?Fr(e,Cc,ua):o},dr.minBy=function(e,t){return e&&e.length?Fr(e,No(t,2),ua):o},dr.stubArray=Fc,dr.stubFalse=qc,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Yc,dr.nth=function(e,t){return e&&e.length?ma(e,Ls(t)):o},dr.noConflict=function(){return Bt._===this&&(Bt._=ht),this},dr.noop=Ic,dr.now=Qi,dr.pad=function(e,t,n){e=Hs(e);var r=(t=Ls(t))?jn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return go(Rn(a),n)+e+go(zn(a),n)},dr.padEnd=function(e,t,n){e=Hs(e);var r=(t=Ls(t))?jn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Gn();return Kn(e+a*(t-e+Ct("1e-"+((a+"").length-1))),t)}return wa(e,t)},dr.reduce=function(e,t,n){var r=bs(e)?tn:hn,a=arguments.length<3;return r(e,No(t,4),n,a,Rr)},dr.reduceRight=function(e,t,n){var r=bs(e)?nn:hn,a=arguments.length<3;return r(e,No(t,4),n,a,Ur)},dr.repeat=function(e,t,n){return t=(n?Vo(e,t,n):t===o)?1:Ls(t),xa(Hs(e),t)},dr.replace=function(){var e=arguments,t=Hs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},dr.result=function(e,t,n){var r=-1,a=(t=Ka(t,e)).length;for(a||(a=1,e=o);++rI)return[];var n=z,r=Kn(e,z);t=No(t),e-=z;for(var a=bn(r,t);++n=i)return e;var c=n-jn(r);if(c<1)return r;var l=s?Ya(s,0,c).join(""):e.slice(0,c);if(a===o)return l+r;if(s&&(c+=l.length-c),js(a)){if(e.slice(c).search(a)){var u,f=l;for(a.global||(a=tt(a.source,Hs(We.exec(a))+"g")),a.lastIndex=0;u=a.exec(f);)var d=u.index;l=l.slice(0,d===o?c:d)}}else if(e.indexOf(Na(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+r},dr.unescape=function(e){return(e=Hs(e))&&Ee.test(e)?e.replace(ke,Bn):e},dr.uniqueId=function(e){var t=++ut;return Hs(e)+t},dr.upperCase=xc,dr.upperFirst=kc,dr.each=Hi,dr.eachRight=Ki,dr.first=yi,Bc(dr,function(){var e={};return Vr(dr,function(t,n){lt.call(dr.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),dr.VERSION="4.17.11",Yt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){dr[e].placeholder=dr}),Yt(["drop","take"],function(e,t){br.prototype[e]=function(n){n=n===o?1:Hn(Ls(n),0);var r=this.__filtered__&&!t?new br(this):this.clone();return r.__filtered__?r.__takeCount__=Kn(n,r.__takeCount__):r.__views__.push({size:Kn(n,z),type:e+(r.__dir__<0?"Right":"")}),r},br.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Yt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==j||3==n;br.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:No(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Yt(["head","last"],function(e,t){var n="take"+(t?"Right":"");br.prototype[e]=function(){return this[n](1).value()[0]}}),Yt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");br.prototype[e]=function(){return this.__filtered__?new br(this):this[n](1)}}),br.prototype.compact=function(){return this.filter(Cc)},br.prototype.find=function(e){return this.filter(e).head()},br.prototype.findLast=function(e){return this.reverse().find(e)},br.prototype.invokeMap=ka(function(e,t){return"function"==typeof e?new br(this):this.map(function(n){return na(n,e,t)})}),br.prototype.reject=function(e){return this.filter(ss(No(e)))},br.prototype.slice=function(e,t){e=Ls(e);var n=this;return n.__filtered__&&(e>0||t<0)?new br(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Ls(t))<0?n.dropRight(-t):n.take(t-e)),n)},br.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},br.prototype.toArray=function(){return this.take(z)},Vr(br.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=dr[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);a&&(dr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof br,l=s[0],u=c||bs(t),f=function(e){var t=a.apply(dr,en([e],s));return r&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=i&&!d,m=c&&!p;if(!i&&u){t=m?t:new br(this);var b=e.apply(t,s);return b.__actions__.push({func:Ui,args:[f],thisArg:o}),new mr(b,d)}return h&&m?e.apply(this,s):(b=this.thru(f),h?r?b.value()[0]:b.value():b)})}),Yt(["pop","push","shift","sort","splice","unshift"],function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);dr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(bs(a)?a:[],e)}return this[n](function(n){return t.apply(bs(n)?n:[],e)})}}),Vr(br.prototype,function(e,t){var n=dr[t];if(n){var r=n.name+"";(rr[r]||(rr[r]=[])).push({name:t,func:n})}}),rr[po(o,y).name]=[{name:"wrapper",func:o}],br.prototype.clone=function(){var e=new br(this.__wrapped__);return e.__actions__=to(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=to(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=to(this.__views__),e},br.prototype.reverse=function(){if(this.__filtered__){var e=new br(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},br.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=bs(e),r=t<0,a=n?e.length:0,o=function(e,t,n){for(var r=-1,a=n.length;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},dr.prototype.plant=function(e){for(var t,n=this;n instanceof hr;){var r=fi(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},dr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof br){var t=e;return this.__actions__.length&&(t=new br(this)),(t=t.reverse()).__actions__.push({func:Ui,args:[Oi],thisArg:o}),new mr(t,this.__chain__)}return this.thru(Oi)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return La(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,zt&&(dr.prototype[zt]=function(){return this}),dr}();Bt._=In,(a=function(){return In}.call(t,n,t,r))===o||(r.exports=a)}).call(this)}).call(this,n(51),n(157)(e))},function(e,t,n){var r; /*! From 4f9a77c1711e60d8c1965f7c11456b24f9f00e3a Mon Sep 17 00:00:00 2001 From: Marko Bauhardt Date: Fri, 6 Nov 2020 14:31:56 +0100 Subject: [PATCH 2/2] Support Report Naming to be multiproject compatible --- src/main/webapp/bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/bundle.js b/src/main/webapp/bundle.js index 5b90294..cf766ff 100644 --- a/src/main/webapp/bundle.js +++ b/src/main/webapp/bundle.js @@ -4,7 +4,7 @@ * Lodash * Copyright JS Foundation and other contributors * Released under MIT license - * Based on Underscore.js 2.8.3 + * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",l="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",d=1,p=2,h=4,m=1,b=2,g=1,y=2,v=4,w=8,x=16,k=32,_=64,E=128,S=256,O=512,T=30,M="...",C=800,P=16,j=1,A=2,B=1/0,I=9007199254740991,N=1.7976931348623157e308,D=NaN,z=4294967295,R=z-1,U=z>>>1,L=[["ary",E],["bind",g],["bindKey",y],["curry",w],["curryRight",x],["flip",O],["partial",k],["partialRight",_],["rearg",S]],F="[object Arguments]",q="[object Array]",W="[object AsyncFunction]",H="[object Boolean]",K="[object Date]",V="[object DOMException]",Y="[object Error]",G="[object Function]",X="[object GeneratorFunction]",$="[object Map]",J="[object Number]",Q="[object Null]",Z="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",re="[object String]",ae="[object Symbol]",oe="[object Undefined]",ie="[object WeakMap]",se="[object WeakSet]",ce="[object ArrayBuffer]",le="[object DataView]",ue="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",pe="[object Int16Array]",he="[object Int32Array]",me="[object Uint8Array]",be="[object Uint8ClampedArray]",ge="[object Uint16Array]",ye="[object Uint32Array]",ve=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,_e=/[&<>"']/g,Ee=RegExp(ke.source),Se=RegExp(_e.source),Oe=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,Me=/<%=([\s\S]+?)%>/g,Ce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pe=/^\w*$/,je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/[\\^$.*+?()[\]{}|]/g,Be=RegExp(Ae.source),Ie=/^\s+|\s+$/g,Ne=/^\s+/,De=/\s+$/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Re=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /,Le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,We=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Ge=/^(?:0|[1-9]\d*)$/,Xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$e=/($^)/,Je=/['\n\r\u2028\u2029\\]/g,Qe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ze="\\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",et="[\\ud800-\\udfff]",tt="["+Ze+"]",nt="["+Qe+"]",rt="\\d+",at="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Ze+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="\\ud83c[\\udffb-\\udfff]",ct="[^\\ud800-\\udfff]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="[A-Z\\xc0-\\xd6\\xd8-\\xde]",dt="(?:"+ot+"|"+it+")",pt="(?:"+ft+"|"+it+")",ht="(?:"+nt+"|"+st+")"+"?",mt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[ct,lt,ut].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),bt="(?:"+[at,lt,ut].join("|")+")"+mt,gt="(?:"+[ct+nt+"?",nt,lt,ut,et].join("|")+")",yt=RegExp("['’]","g"),vt=RegExp(nt,"g"),wt=RegExp(st+"(?="+st+")|"+gt+mt,"g"),xt=RegExp([ft+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,ft,"$"].join("|")+")",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,ft+dt,"$"].join("|")+")",ft+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ft+"+(?:['’](?: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_])",rt,bt].join("|"),"g"),kt=RegExp("[\\u200d\\ud800-\\udfff"+Qe+"\\ufe0e\\ufe0f]"),_t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Et=["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"],St=-1,Ot={};Ot[ue]=Ot[fe]=Ot[de]=Ot[pe]=Ot[he]=Ot[me]=Ot[be]=Ot[ge]=Ot[ye]=!0,Ot[F]=Ot[q]=Ot[ce]=Ot[H]=Ot[le]=Ot[K]=Ot[Y]=Ot[G]=Ot[$]=Ot[J]=Ot[Z]=Ot[te]=Ot[ne]=Ot[re]=Ot[ie]=!1;var Tt={};Tt[F]=Tt[q]=Tt[ce]=Tt[le]=Tt[H]=Tt[K]=Tt[ue]=Tt[fe]=Tt[de]=Tt[pe]=Tt[he]=Tt[$]=Tt[J]=Tt[Z]=Tt[te]=Tt[ne]=Tt[re]=Tt[ae]=Tt[me]=Tt[be]=Tt[ge]=Tt[ye]=!0,Tt[Y]=Tt[G]=Tt[ie]=!1;var Mt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ct=parseFloat,Pt=parseInt,jt="object"==typeof e&&e&&e.Object===Object&&e,At="object"==typeof self&&self&&self.Object===Object&&self,Bt=jt||At||Function("return this")(),It="object"==typeof t&&t&&!t.nodeType&&t,Nt=It&&"object"==typeof r&&r&&!r.nodeType&&r,Dt=Nt&&Nt.exports===It,zt=Dt&&jt.process,Rt=function(){try{var e=Nt&&Nt.require&&Nt.require("util").types;return e||zt&&zt.binding&&zt.binding("util")}catch(e){}}(),Ut=Rt&&Rt.isArrayBuffer,Lt=Rt&&Rt.isDate,Ft=Rt&&Rt.isMap,qt=Rt&&Rt.isRegExp,Wt=Rt&&Rt.isSet,Ht=Rt&&Rt.isTypedArray;function Kt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Vt(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a-1}function Qt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function xn(e,t){for(var n=e.length;n--&&cn(t,e[n],0)>-1;);return n}var kn=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"}),_n=pn({"&":"&","<":"<",">":">",'"':""","'":"'"});function En(e){return"\\"+Mt[e]}function Sn(e){return kt.test(e)}function On(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Tn(e,t){return function(n){return e(t(n))}}function Mn(e,t){for(var n=-1,r=e.length,a=0,o=[];++n",""":'"',"'":"'"});var In=function e(t){var n=(t=null==t?Bt:In.defaults(Bt.Object(),t,In.pick(Bt,Et))).Array,r=t.Date,a=t.Error,Qe=t.Function,Ze=t.Math,et=t.Object,tt=t.RegExp,nt=t.String,rt=t.TypeError,at=n.prototype,ot=Qe.prototype,it=et.prototype,st=t["__core-js_shared__"],ct=ot.toString,lt=it.hasOwnProperty,ut=0,ft=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),dt=it.toString,pt=ct.call(et),ht=Bt._,mt=tt("^"+ct.call(lt).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=Dt?t.Buffer:o,gt=t.Symbol,wt=t.Uint8Array,kt=bt?bt.allocUnsafe:o,Mt=Tn(et.getPrototypeOf,et),jt=et.create,At=it.propertyIsEnumerable,It=at.splice,Nt=gt?gt.isConcatSpreadable:o,zt=gt?gt.iterator:o,Rt=gt?gt.toStringTag:o,an=function(){try{var e=Ro(et,"defineProperty");return e({},"",{}),e}catch(e){}}(),pn=t.clearTimeout!==Bt.clearTimeout&&t.clearTimeout,Nn=r&&r.now!==Bt.Date.now&&r.now,Dn=t.setTimeout!==Bt.setTimeout&&t.setTimeout,zn=Ze.ceil,Rn=Ze.floor,Un=et.getOwnPropertySymbols,Ln=bt?bt.isBuffer:o,Fn=t.isFinite,qn=at.join,Wn=Tn(et.keys,et),Hn=Ze.max,Kn=Ze.min,Vn=r.now,Yn=t.parseInt,Gn=Ze.random,Xn=at.reverse,$n=Ro(t,"DataView"),Jn=Ro(t,"Map"),Qn=Ro(t,"Promise"),Zn=Ro(t,"Set"),er=Ro(t,"WeakMap"),tr=Ro(et,"create"),nr=er&&new er,rr={},ar=ui($n),or=ui(Jn),ir=ui(Qn),sr=ui(Zn),cr=ui(er),lr=gt?gt.prototype:o,ur=lr?lr.valueOf:o,fr=lr?lr.toString:o;function dr(e){if(Ts(e)&&!bs(e)&&!(e instanceof br)){if(e instanceof mr)return e;if(lt.call(e,"__wrapped__"))return fi(e)}return new mr(e)}var pr=function(){function e(){}return function(t){if(!Os(t))return{};if(jt)return jt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function hr(){}function mr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function br(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=z,this.__views__=[]}function gr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Ir(e,t,n,r,a,i){var s,c=t&d,l=t&p,u=t&h;if(n&&(s=a?n(e,r,a,i):n(e)),s!==o)return s;if(!Os(e))return e;var f=bs(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&<.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return to(e,s)}else{var m=Fo(e),b=m==G||m==X;if(ws(e))return Xa(e,c);if(m==Z||m==F||b&&!a){if(s=l||b?{}:Wo(e),!c)return l?function(e,t){return no(e,Lo(e),t)}(e,function(e,t){return e&&no(t,ac(t),e)}(s,e)):function(e,t){return no(e,Uo(e),t)}(e,Pr(s,e))}else{if(!Tt[m])return a?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case ce:return $a(e);case H:case K:return new r(+e);case le:return function(e,t){var n=t?$a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ue:case fe:case de:case pe:case he:case me:case be:case ge:case ye:return Ja(e,n);case $:return new r;case J:case re:return new r(e);case te:return function(e){var t=new e.constructor(e.source,We.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new r;case ae:return function(e){return ur?et(ur.call(e)):{}}(e)}}(e,m,c)}}i||(i=new xr);var g=i.get(e);if(g)return g;if(i.set(e,s),As(e))return e.forEach(function(r){s.add(Ir(r,t,n,r,e,i))}),s;if(Ms(e))return e.forEach(function(r,a){s.set(a,Ir(r,t,n,a,e,i))}),s;var y=f?o:(u?l?jo:Po:l?ac:rc)(e);return Yt(y||e,function(r,a){y&&(r=e[a=r]),Tr(s,a,Ir(r,t,n,a,e,i))}),s}function Nr(e,t,n){var r=n.length;if(null==e)return!r;for(e=et(e);r--;){var a=n[r],i=t[a],s=e[a];if(s===o&&!(a in e)||!i(s))return!1}return!0}function Dr(e,t,n){if("function"!=typeof e)throw new rt(c);return ri(function(){e.apply(o,n)},t)}function zr(e,t,n,r){var a=-1,o=Jt,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=Zt(t,gn(n))),r?(o=Qt,s=!1):t.length>=i&&(o=vn,s=!1,t=new wr(t));e:for(;++a-1},yr.prototype.set=function(e,t){var n=this.__data__,r=Mr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},vr.prototype.clear=function(){this.size=0,this.__data__={hash:new gr,map:new(Jn||yr),string:new gr}},vr.prototype.delete=function(e){var t=Do(this,e).delete(e);return this.size-=t?1:0,t},vr.prototype.get=function(e){return Do(this,e).get(e)},vr.prototype.has=function(e){return Do(this,e).has(e)},vr.prototype.set=function(e,t){var n=Do(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(e){return this.__data__.set(e,l),this},wr.prototype.has=function(e){return this.__data__.has(e)},xr.prototype.clear=function(){this.__data__=new yr,this.size=0},xr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xr.prototype.get=function(e){return this.__data__.get(e)},xr.prototype.has=function(e){return this.__data__.has(e)},xr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!Jn||r.length0&&n(s)?t>1?Wr(s,t-1,n,r,a):en(a,s):r||(a[a.length]=s)}return a}var Hr=io(),Kr=io(!0);function Vr(e,t){return e&&Hr(e,t,rc)}function Yr(e,t){return e&&Kr(e,t,rc)}function Gr(e,t){return $t(t,function(t){return _s(e[t])})}function Xr(e,t){for(var n=0,r=(t=Ka(t,e)).length;null!=e&&nt}function Zr(e,t){return null!=e&<.call(e,t)}function ea(e,t){return null!=e&&t in et(e)}function ta(e,t,r){for(var a=r?Qt:Jt,i=e[0].length,s=e.length,c=s,l=n(s),u=1/0,f=[];c--;){var d=e[c];c&&t&&(d=Zt(d,gn(t))),u=Kn(d.length,u),l[c]=!r&&(t||i>=120&&d.length>=120)?new wr(c&&d):o}d=e[0];var p=-1,h=l[0];e:for(;++p=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)})}function ga(e,t,n){for(var r=-1,a=t.length,o={};++r-1;)s!==e&&It.call(s,c,1),It.call(e,c,1);return e}function va(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;Ko(a)?It.call(e,a,1):za(e,a)}}return e}function wa(e,t){return e+Rn(Gn()*(t-e+1))}function xa(e,t){var n="";if(!e||t<1||t>I)return n;do{t%2&&(n+=e),(t=Rn(t/2))&&(e+=e)}while(t);return n}function ka(e,t){return ai(Zo(e,t,Cc),e+"")}function _a(e){return _r(dc(e))}function Ea(e,t){var n=dc(e);return si(n,Br(t,0,n.length))}function Sa(e,t,n,r){if(!Os(e))return e;for(var a=-1,i=(t=Ka(t,e)).length,s=i-1,c=e;null!=c&&++ao?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=n(o);++a>>1,i=e[o];null!==i&&!Is(i)&&(n?i<=t:i=i){var u=t?null:ko(e);if(u)return Cn(u);s=!1,a=vn,l=new wr}else l=t?[]:c;e:for(;++r=r?e:Ca(e,t,n)}var Ga=pn||function(e){return Bt.clearTimeout(e)};function Xa(e,t){if(t)return e.slice();var n=e.length,r=kt?kt(n):new e.constructor(n);return e.copy(r),r}function $a(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Ja(e,t){var n=t?$a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Qa(e,t){if(e!==t){var n=e!==o,r=null===e,a=e==e,i=Is(e),s=t!==o,c=null===t,l=t==t,u=Is(t);if(!c&&!u&&!i&&e>t||i&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!a)return 1;if(!r&&!i&&!u&&e1?n[a-1]:o,s=a>2?n[2]:o;for(i=e.length>3&&"function"==typeof i?(a--,i):o,s&&Vo(n[0],n[1],s)&&(i=a<3?o:i,a=1),t=et(t);++r-1?a[i?t[s]:s]:o}}function fo(e){return Co(function(t){var n=t.length,r=n,a=mr.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new rt(c);if(a&&!s&&"wrapper"==Bo(i))var s=new mr([],!0)}for(r=s?r:n;++r1&&w.reverse(),d&&uc))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var f=-1,d=!0,p=n&b?new wr:o;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ze,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Yt(L,function(n){var r="_."+n[0];t&n[1]&&!Jt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(Re);return t?t[1].split(Ue):[]}(r),n)))}function ii(e){var t=0,n=0;return function(){var r=Vn(),a=P-(r-n);if(n=r,a>0){if(++t>=C)return arguments[0]}else t=0;return e.apply(o,arguments)}}function si(e,t){var n=-1,r=e.length,a=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return ji(e,n="function"==typeof n?(e.pop(),n):o)});function Ri(e){var t=dr(e);return t.__chain__=!0,t}function Ui(e,t){return t(e)}var Li=Co(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return Ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof br&&Ko(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Ui,args:[a],thisArg:o}),new mr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(a)});var Fi=ro(function(e,t,n){lt.call(e,n)?++e[n]:jr(e,n,1)});var qi=uo(mi),Wi=uo(bi);function Hi(e,t){return(bs(e)?Yt:Rr)(e,No(t,3))}function Ki(e,t){return(bs(e)?Gt:Ur)(e,No(t,3))}var Vi=ro(function(e,t,n){lt.call(e,n)?e[n].push(t):jr(e,n,[t])});var Yi=ka(function(e,t,r){var a=-1,o="function"==typeof t,i=ys(e)?n(e.length):[];return Rr(e,function(e){i[++a]=o?Kt(t,e,r):na(e,t,r)}),i}),Gi=ro(function(e,t,n){jr(e,n,t)});function Xi(e,t){return(bs(e)?Zt:fa)(e,No(t,3))}var $i=ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Ji=ka(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Vo(e,t[0],t[1])?t=[]:n>2&&Vo(t[0],t[1],t[2])&&(t=[t[0]]),ba(e,Wr(t,1),[])}),Qi=Nn||function(){return Bt.Date.now()};function Zi(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Eo(e,E,o,o,o,o,t)}function es(e,t){var n;if("function"!=typeof t)throw new rt(c);return e=Ls(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ts=ka(function(e,t,n){var r=g;if(n.length){var a=Mn(n,Io(ts));r|=k}return Eo(e,r,t,n,a)}),ns=ka(function(e,t,n){var r=g|y;if(n.length){var a=Mn(n,Io(ns));r|=k}return Eo(t,r,e,n,a)});function rs(e,t,n){var r,a,i,s,l,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new rt(c);function m(t){var n=r,i=a;return r=a=o,f=t,s=e.apply(i,n)}function b(e){var n=e-u;return u===o||n>=t||n<0||p&&e-f>=i}function g(){var e=Qi();if(b(e))return y(e);l=ri(g,function(e){var n=t-(e-u);return p?Kn(n,i-(e-f)):n}(e))}function y(e){return l=o,h&&r?m(e):(r=a=o,s)}function v(){var e=Qi(),n=b(e);if(r=arguments,a=this,u=e,n){if(l===o)return function(e){return f=e,l=ri(g,t),d?m(e):s}(u);if(p)return l=ri(g,t),m(u)}return l===o&&(l=ri(g,t)),s}return t=qs(t)||0,Os(n)&&(d=!!n.leading,i=(p="maxWait"in n)?Hn(qs(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),v.cancel=function(){l!==o&&Ga(l),f=0,r=u=a=l=o},v.flush=function(){return l===o?s:y(Qi())},v}var as=ka(function(e,t){return Dr(e,1,t)}),os=ka(function(e,t,n){return Dr(e,qs(t)||0,n)});function is(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(c);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(is.Cache||vr),n}function ss(e){if("function"!=typeof e)throw new rt(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}is.Cache=vr;var cs=Va(function(e,t){var n=(t=1==t.length&&bs(t[0])?Zt(t[0],gn(No())):Zt(Wr(t,1),gn(No()))).length;return ka(function(r){for(var a=-1,o=Kn(r.length,n);++a=t}),ms=ra(function(){return arguments}())?ra:function(e){return Ts(e)&<.call(e,"callee")&&!At.call(e,"callee")},bs=n.isArray,gs=Ut?gn(Ut):function(e){return Ts(e)&&Jr(e)==ce};function ys(e){return null!=e&&Ss(e.length)&&!_s(e)}function vs(e){return Ts(e)&&ys(e)}var ws=Ln||qc,xs=Lt?gn(Lt):function(e){return Ts(e)&&Jr(e)==K};function ks(e){if(!Ts(e))return!1;var t=Jr(e);return t==Y||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Ps(e)}function _s(e){if(!Os(e))return!1;var t=Jr(e);return t==G||t==X||t==W||t==ee}function Es(e){return"number"==typeof e&&e==Ls(e)}function Ss(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=I}function Os(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ts(e){return null!=e&&"object"==typeof e}var Ms=Ft?gn(Ft):function(e){return Ts(e)&&Fo(e)==$};function Cs(e){return"number"==typeof e||Ts(e)&&Jr(e)==J}function Ps(e){if(!Ts(e)||Jr(e)!=Z)return!1;var t=Mt(e);if(null===t)return!0;var n=lt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==pt}var js=qt?gn(qt):function(e){return Ts(e)&&Jr(e)==te};var As=Wt?gn(Wt):function(e){return Ts(e)&&Fo(e)==ne};function Bs(e){return"string"==typeof e||!bs(e)&&Ts(e)&&Jr(e)==re}function Is(e){return"symbol"==typeof e||Ts(e)&&Jr(e)==ae}var Ns=Ht?gn(Ht):function(e){return Ts(e)&&Ss(e.length)&&!!Ot[Jr(e)]};var Ds=vo(ua),zs=vo(function(e,t){return e<=t});function Rs(e){if(!e)return[];if(ys(e))return Bs(e)?An(e):to(e);if(zt&&e[zt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[zt]());var t=Fo(e);return(t==$?On:t==ne?Cn:dc)(e)}function Us(e){return e?(e=qs(e))===B||e===-B?(e<0?-1:1)*N:e==e?e:0:0===e?e:0}function Ls(e){var t=Us(e),n=t%1;return t==t?n?t-n:t:0}function Fs(e){return e?Br(Ls(e),0,z):0}function qs(e){if("number"==typeof e)return e;if(Is(e))return D;if(Os(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Os(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ie,"");var n=Ke.test(e);return n||Ye.test(e)?Pt(e.slice(2),n?2:8):He.test(e)?D:+e}function Ws(e){return no(e,ac(e))}function Hs(e){return null==e?"":Na(e)}var Ks=ao(function(e,t){if($o(t)||ys(t))no(t,rc(t),e);else for(var n in t)lt.call(t,n)&&Tr(e,n,t[n])}),Vs=ao(function(e,t){no(t,ac(t),e)}),Ys=ao(function(e,t,n,r){no(t,ac(t),e,r)}),Gs=ao(function(e,t,n,r){no(t,rc(t),e,r)}),Xs=Co(Ar);var $s=ka(function(e,t){e=et(e);var n=-1,r=t.length,a=r>2?t[2]:o;for(a&&Vo(t[0],t[1],a)&&(r=1);++n1),t}),no(e,jo(e),n),r&&(n=Ir(n,d|p|h,To));for(var a=t.length;a--;)za(n,t[a]);return n});var cc=Co(function(e,t){return null==e?{}:function(e,t){return ga(e,t,function(t,n){return Zs(e,n)})}(e,t)});function lc(e,t){if(null==e)return{};var n=Zt(jo(e),function(e){return[e]});return t=No(t),ga(e,n,function(e,n){return t(e,n[0])})}var uc=_o(rc),fc=_o(ac);function dc(e){return null==e?[]:yn(e,rc(e))}var pc=co(function(e,t,n){return t=t.toLowerCase(),e+(n?hc(t):t)});function hc(e){return kc(Hs(e).toLowerCase())}function mc(e){return(e=Hs(e))&&e.replace(Xe,kn).replace(vt,"")}var bc=co(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),gc=co(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),yc=so("toLowerCase");var vc=co(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var wc=co(function(e,t,n){return e+(n?" ":"")+kc(t)});var xc=co(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),kc=so("toUpperCase");function _c(e,t,n){return e=Hs(e),(t=n?o:t)===o?function(e){return _t.test(e)}(e)?function(e){return e.match(xt)||[]}(e):function(e){return e.match(Le)||[]}(e):e.match(t)||[]}var Ec=ka(function(e,t){try{return Kt(e,o,t)}catch(e){return ks(e)?e:new a(e)}}),Sc=Co(function(e,t){return Yt(t,function(t){t=li(t),jr(e,t,ts(e[t],e))}),e});function Oc(e){return function(){return e}}var Tc=fo(),Mc=fo(!0);function Cc(e){return e}function Pc(e){return sa("function"==typeof e?e:Ir(e,d))}var jc=ka(function(e,t){return function(n){return na(n,e,t)}}),Ac=ka(function(e,t){return function(n){return na(e,n,t)}});function Bc(e,t,n){var r=rc(t),a=Gr(t,r);null!=n||Os(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Gr(t,rc(t)));var o=!(Os(n)&&"chain"in n&&!n.chain),i=_s(e);return Yt(a,function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=to(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,en([this.value()],arguments))})}),e}function Ic(){}var Nc=bo(Zt),Dc=bo(Xt),zc=bo(rn);function Rc(e){return Yo(e)?dn(li(e)):function(e){return function(t){return Xr(t,e)}}(e)}var Uc=yo(),Lc=yo(!0);function Fc(){return[]}function qc(){return!1}var Wc=mo(function(e,t){return e+t},0),Hc=xo("ceil"),Kc=mo(function(e,t){return e/t},1),Vc=xo("floor");var Yc=mo(function(e,t){return e*t},1),Gc=xo("round"),Xc=mo(function(e,t){return e-t},0);return dr.after=function(e,t){if("function"!=typeof t)throw new rt(c);return e=Ls(e),function(){if(--e<1)return t.apply(this,arguments)}},dr.ary=Zi,dr.assign=Ks,dr.assignIn=Vs,dr.assignInWith=Ys,dr.assignWith=Gs,dr.at=Xs,dr.before=es,dr.bind=ts,dr.bindAll=Sc,dr.bindKey=ns,dr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return bs(e)?e:[e]},dr.chain=Ri,dr.chunk=function(e,t,r){t=(r?Vo(e,t,r):t===o)?1:Hn(Ls(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,s=0,c=n(zn(a/t));ia?0:a+n),(r=r===o||r>a?a:Ls(r))<0&&(r+=a),r=n>r?0:Fs(r);n>>0)?(e=Hs(e))&&("string"==typeof t||null!=t&&!js(t))&&!(t=Na(t))&&Sn(e)?Ya(An(e),0,n):e.split(t,n):[]},dr.spread=function(e,t){if("function"!=typeof e)throw new rt(c);return t=null==t?0:Hn(Ls(t),0),ka(function(n){var r=n[t],a=Ya(n,0,t);return r&&en(a,r),Kt(e,this,a)})},dr.tail=function(e){var t=null==e?0:e.length;return t?Ca(e,1,t):[]},dr.take=function(e,t,n){return e&&e.length?Ca(e,0,(t=n||t===o?1:Ls(t))<0?0:t):[]},dr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Ca(e,(t=r-(t=n||t===o?1:Ls(t)))<0?0:t,r):[]},dr.takeRightWhile=function(e,t){return e&&e.length?Ua(e,No(t,3),!1,!0):[]},dr.takeWhile=function(e,t){return e&&e.length?Ua(e,No(t,3)):[]},dr.tap=function(e,t){return t(e),e},dr.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new rt(c);return Os(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),rs(e,t,{leading:r,maxWait:t,trailing:a})},dr.thru=Ui,dr.toArray=Rs,dr.toPairs=uc,dr.toPairsIn=fc,dr.toPath=function(e){return bs(e)?Zt(e,li):Is(e)?[e]:to(ci(Hs(e)))},dr.toPlainObject=Ws,dr.transform=function(e,t,n){var r=bs(e),a=r||ws(e)||Ns(e);if(t=No(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:Os(e)&&_s(o)?pr(Mt(e)):{}}return(a?Yt:Vr)(e,function(e,r,a){return t(n,e,r,a)}),n},dr.unary=function(e){return Zi(e,1)},dr.union=Ti,dr.unionBy=Mi,dr.unionWith=Ci,dr.uniq=function(e){return e&&e.length?Da(e):[]},dr.uniqBy=function(e,t){return e&&e.length?Da(e,No(t,2)):[]},dr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Da(e,o,t):[]},dr.unset=function(e,t){return null==e||za(e,t)},dr.unzip=Pi,dr.unzipWith=ji,dr.update=function(e,t,n){return null==e?e:Ra(e,t,Ha(n))},dr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Ra(e,t,Ha(n),r)},dr.values=dc,dr.valuesIn=function(e){return null==e?[]:yn(e,ac(e))},dr.without=Ai,dr.words=_c,dr.wrap=function(e,t){return ls(Ha(t),e)},dr.xor=Bi,dr.xorBy=Ii,dr.xorWith=Ni,dr.zip=Di,dr.zipObject=function(e,t){return qa(e||[],t||[],Tr)},dr.zipObjectDeep=function(e,t){return qa(e||[],t||[],Sa)},dr.zipWith=zi,dr.entries=uc,dr.entriesIn=fc,dr.extend=Vs,dr.extendWith=Ys,Bc(dr,dr),dr.add=Wc,dr.attempt=Ec,dr.camelCase=pc,dr.capitalize=hc,dr.ceil=Hc,dr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=qs(n))==n?n:0),t!==o&&(t=(t=qs(t))==t?t:0),Br(qs(e),t,n)},dr.clone=function(e){return Ir(e,h)},dr.cloneDeep=function(e){return Ir(e,d|h)},dr.cloneDeepWith=function(e,t){return Ir(e,d|h,t="function"==typeof t?t:o)},dr.cloneWith=function(e,t){return Ir(e,h,t="function"==typeof t?t:o)},dr.conformsTo=function(e,t){return null==t||Nr(e,t,rc(t))},dr.deburr=mc,dr.defaultTo=function(e,t){return null==e||e!=e?t:e},dr.divide=Kc,dr.endsWith=function(e,t,n){e=Hs(e),t=Na(t);var r=e.length,a=n=n===o?r:Br(Ls(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},dr.eq=ds,dr.escape=function(e){return(e=Hs(e))&&Se.test(e)?e.replace(_e,_n):e},dr.escapeRegExp=function(e){return(e=Hs(e))&&Be.test(e)?e.replace(Ae,"\\$&"):e},dr.every=function(e,t,n){var r=bs(e)?Xt:Lr;return n&&Vo(e,t,n)&&(t=o),r(e,No(t,3))},dr.find=qi,dr.findIndex=mi,dr.findKey=function(e,t){return on(e,No(t,3),Vr)},dr.findLast=Wi,dr.findLastIndex=bi,dr.findLastKey=function(e,t){return on(e,No(t,3),Yr)},dr.floor=Vc,dr.forEach=Hi,dr.forEachRight=Ki,dr.forIn=function(e,t){return null==e?e:Hr(e,No(t,3),ac)},dr.forInRight=function(e,t){return null==e?e:Kr(e,No(t,3),ac)},dr.forOwn=function(e,t){return e&&Vr(e,No(t,3))},dr.forOwnRight=function(e,t){return e&&Yr(e,No(t,3))},dr.get=Qs,dr.gt=ps,dr.gte=hs,dr.has=function(e,t){return null!=e&&qo(e,t,Zr)},dr.hasIn=Zs,dr.head=yi,dr.identity=Cc,dr.includes=function(e,t,n,r){e=ys(e)?e:dc(e),n=n&&!r?Ls(n):0;var a=e.length;return n<0&&(n=Hn(a+n,0)),Bs(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&cn(e,t,n)>-1},dr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:Ls(n);return a<0&&(a=Hn(r+a,0)),cn(e,t,a)},dr.inRange=function(e,t,n){return t=Us(t),n===o?(n=t,t=0):n=Us(n),function(e,t,n){return e>=Kn(t,n)&&e=-I&&e<=I},dr.isSet=As,dr.isString=Bs,dr.isSymbol=Is,dr.isTypedArray=Ns,dr.isUndefined=function(e){return e===o},dr.isWeakMap=function(e){return Ts(e)&&Fo(e)==ie},dr.isWeakSet=function(e){return Ts(e)&&Jr(e)==se},dr.join=function(e,t){return null==e?"":qn.call(e,t)},dr.kebabCase=bc,dr.last=ki,dr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==o&&(a=(a=Ls(n))<0?Hn(r+a,0):Kn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):sn(e,un,a,!0)},dr.lowerCase=gc,dr.lowerFirst=yc,dr.lt=Ds,dr.lte=zs,dr.max=function(e){return e&&e.length?Fr(e,Cc,Qr):o},dr.maxBy=function(e,t){return e&&e.length?Fr(e,No(t,2),Qr):o},dr.mean=function(e){return fn(e,Cc)},dr.meanBy=function(e,t){return fn(e,No(t,2))},dr.min=function(e){return e&&e.length?Fr(e,Cc,ua):o},dr.minBy=function(e,t){return e&&e.length?Fr(e,No(t,2),ua):o},dr.stubArray=Fc,dr.stubFalse=qc,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Yc,dr.nth=function(e,t){return e&&e.length?ma(e,Ls(t)):o},dr.noConflict=function(){return Bt._===this&&(Bt._=ht),this},dr.noop=Ic,dr.now=Qi,dr.pad=function(e,t,n){e=Hs(e);var r=(t=Ls(t))?jn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return go(Rn(a),n)+e+go(zn(a),n)},dr.padEnd=function(e,t,n){e=Hs(e);var r=(t=Ls(t))?jn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Gn();return Kn(e+a*(t-e+Ct("1e-"+((a+"").length-1))),t)}return wa(e,t)},dr.reduce=function(e,t,n){var r=bs(e)?tn:hn,a=arguments.length<3;return r(e,No(t,4),n,a,Rr)},dr.reduceRight=function(e,t,n){var r=bs(e)?nn:hn,a=arguments.length<3;return r(e,No(t,4),n,a,Ur)},dr.repeat=function(e,t,n){return t=(n?Vo(e,t,n):t===o)?1:Ls(t),xa(Hs(e),t)},dr.replace=function(){var e=arguments,t=Hs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},dr.result=function(e,t,n){var r=-1,a=(t=Ka(t,e)).length;for(a||(a=1,e=o);++rI)return[];var n=z,r=Kn(e,z);t=No(t),e-=z;for(var a=bn(r,t);++n=i)return e;var c=n-jn(r);if(c<1)return r;var l=s?Ya(s,0,c).join(""):e.slice(0,c);if(a===o)return l+r;if(s&&(c+=l.length-c),js(a)){if(e.slice(c).search(a)){var u,f=l;for(a.global||(a=tt(a.source,Hs(We.exec(a))+"g")),a.lastIndex=0;u=a.exec(f);)var d=u.index;l=l.slice(0,d===o?c:d)}}else if(e.indexOf(Na(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+r},dr.unescape=function(e){return(e=Hs(e))&&Ee.test(e)?e.replace(ke,Bn):e},dr.uniqueId=function(e){var t=++ut;return Hs(e)+t},dr.upperCase=xc,dr.upperFirst=kc,dr.each=Hi,dr.eachRight=Ki,dr.first=yi,Bc(dr,function(){var e={};return Vr(dr,function(t,n){lt.call(dr.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),dr.VERSION="4.17.11",Yt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){dr[e].placeholder=dr}),Yt(["drop","take"],function(e,t){br.prototype[e]=function(n){n=n===o?1:Hn(Ls(n),0);var r=this.__filtered__&&!t?new br(this):this.clone();return r.__filtered__?r.__takeCount__=Kn(n,r.__takeCount__):r.__views__.push({size:Kn(n,z),type:e+(r.__dir__<0?"Right":"")}),r},br.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Yt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==j||3==n;br.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:No(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Yt(["head","last"],function(e,t){var n="take"+(t?"Right":"");br.prototype[e]=function(){return this[n](1).value()[0]}}),Yt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");br.prototype[e]=function(){return this.__filtered__?new br(this):this[n](1)}}),br.prototype.compact=function(){return this.filter(Cc)},br.prototype.find=function(e){return this.filter(e).head()},br.prototype.findLast=function(e){return this.reverse().find(e)},br.prototype.invokeMap=ka(function(e,t){return"function"==typeof e?new br(this):this.map(function(n){return na(n,e,t)})}),br.prototype.reject=function(e){return this.filter(ss(No(e)))},br.prototype.slice=function(e,t){e=Ls(e);var n=this;return n.__filtered__&&(e>0||t<0)?new br(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Ls(t))<0?n.dropRight(-t):n.take(t-e)),n)},br.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},br.prototype.toArray=function(){return this.take(z)},Vr(br.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=dr[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);a&&(dr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof br,l=s[0],u=c||bs(t),f=function(e){var t=a.apply(dr,en([e],s));return r&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=i&&!d,m=c&&!p;if(!i&&u){t=m?t:new br(this);var b=e.apply(t,s);return b.__actions__.push({func:Ui,args:[f],thisArg:o}),new mr(b,d)}return h&&m?e.apply(this,s):(b=this.thru(f),h?r?b.value()[0]:b.value():b)})}),Yt(["pop","push","shift","sort","splice","unshift"],function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);dr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(bs(a)?a:[],e)}return this[n](function(n){return t.apply(bs(n)?n:[],e)})}}),Vr(br.prototype,function(e,t){var n=dr[t];if(n){var r=n.name+"";(rr[r]||(rr[r]=[])).push({name:t,func:n})}}),rr[po(o,y).name]=[{name:"wrapper",func:o}],br.prototype.clone=function(){var e=new br(this.__wrapped__);return e.__actions__=to(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=to(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=to(this.__views__),e},br.prototype.reverse=function(){if(this.__filtered__){var e=new br(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},br.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=bs(e),r=t<0,a=n?e.length:0,o=function(e,t,n){for(var r=-1,a=n.length;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},dr.prototype.plant=function(e){for(var t,n=this;n instanceof hr;){var r=fi(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},dr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof br){var t=e;return this.__actions__.length&&(t=new br(this)),(t=t.reverse()).__actions__.push({func:Ui,args:[Oi],thisArg:o}),new mr(t,this.__chain__)}return this.thru(Oi)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return La(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,zt&&(dr.prototype[zt]=function(){return this}),dr}();Bt._=In,(a=function(){return In}.call(t,n,t,r))===o||(r.exports=a)}).call(this)}).call(this,n(51),n(157)(e))},function(e,t,n){var r; /*! @@ -50,4 +50,4 @@ for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]= * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.timeout"):60113;function h(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case i:case c:case s:return e;default:switch(e=e&&e.$$typeof){case u:case d:case l:return e;default:return t}}case o:return t}}}t.typeOf=h,t.AsyncMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=a,t.ForwardRef=d,t.Fragment=i,t.Profiler=c,t.Portal=o,t.StrictMode=s,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===c||e===s||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===l||e.$$typeof===u||e.$$typeof===d)},t.isAsyncMode=function(e){return h(e)===f},t.isContextConsumer=function(e){return h(e)===u},t.isContextProvider=function(e){return h(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return h(e)===d},t.isFragment=function(e){return h(e)===i},t.isProfiler=function(e){return h(e)===c},t.isPortal=function(e){return h(e)===o},t.isStrictMode=function(e){return h(e)===s}},function(e,t,n){"use strict";t.__esModule=!0,t.uncontrolledPropTypes=function(e,t){var n={};return Object.keys(e).forEach(function(e){n[a(e)]=r}),n},t.isProp=function(e,t){return void 0!==e[t]},t.defaultKey=a,t.isReactComponent=function(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)};!function(e){e&&e.__esModule}(n(97));var r=function(){};function a(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=n(13),f={$bs_navbar:l.default.shape({bsClass:l.default.string})},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=(0,o.default)(e,["className","children"]),i=this.context.$bs_navbar||{bsClass:"navbar"},l=(0,u.prefix)(i,"brand");return c.default.isValidElement(n)?c.default.cloneElement(n,{className:(0,s.default)(n.props.className,t,l)}):c.default.createElement("span",(0,a.default)({},r,{className:(0,s.default)(t,l)}),n)},t}(c.default.Component);d.contextTypes=f;var p=d;t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(1)),c=r(n(0)),l=r(n(62)),u=n(13),f={$bs_navbar:c.default.shape({bsClass:c.default.string,expanded:c.default.bool})},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=(0,o.default)(e,["children"]),r=this.context.$bs_navbar||{bsClass:"navbar"},i=(0,u.prefix)(r,"collapse");return s.default.createElement(l.default,(0,a.default)({in:r.expanded},n),s.default.createElement("div",{className:i},t))},t}(s.default.Component);d.contextTypes=f;var p=d;t.default=p,e.exports=t.default},function(e,t,n){e.exports=n(404)},function(e,t,n){n(405);var r=n(14).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var r=n(50),a=n(140).f;n(137)("getOwnPropertyDescriptor",function(){return function(e,t){return a(r(e),t)}})},function(e,t,n){e.exports=n(199)},function(e,t,n){e.exports=n(408)},function(e,t,n){n(409),e.exports=n(14).parseInt},function(e,t,n){var r=n(15),a=n(410);r(r.G+r.F*(parseInt!=a),{parseInt:a})},function(e,t,n){var r=n(24).parseInt,a=n(411).trim,o=n(211),i=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=a(String(e),3);return r(n,t>>>0||(i.test(n)?16:10))}:r},function(e,t,n){var r=n(15),a=n(92),o=n(49),i=n(211),s="["+i+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),u=function(e,t,n){var a={},s=o(function(){return!!i[e]()||"​…"!="​…"[e]()}),c=a[e]=s?t(f):i[e];n&&(a[n]=c),r(r.P+r.F*s,"String",a)},f=u.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,function(e,t){return t.toUpperCase()})};var r=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e).replace(a,"-ms-")};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(414));var a=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"-$1").toLowerCase()};var r=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,r.default)(t))&&(t="styleFloat");var i=e.currentStyle[t]||null;if(null==i&&n&&n[t]&&(i=n[t]),o.test(i)&&!a.test(t)){var s=n.left,c=e.runtimeStyle,l=c&&c.left;l&&(c.left=e.currentStyle.left),n.left="fontSize"===t?"1em":i,i=n.pixelLeft+"px",n.left=s,l&&(c.left=l)}return i}}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(212));var a=/^(top|right|bottom|left)$/,o=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r="transform",a=void 0,o=void 0,i=void 0,s=void 0,c=void 0,l=void 0,u=void 0,f=void 0,d=void 0,p=void 0,h=void 0;if(function(e){return e&&e.__esModule?e:{default:e}}(n(44)).default){var m=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,a=void 0,o="",i=0;i1?r-1:0),o=1;o1)||(a=t,!1)}),a?new Error("(children) "+r+" - Duplicate children detected of bsRole: "+a+". Only one child each allowed with the following bsRoles: "+t.join(", ")):null})};var a=r(n(0)),o=r(n(98)),i=r(n(82)),s=a.default.oneOfType([a.default.string,a.default.number])},function(e,t,n){e.exports=n(428)},function(e,t,n){n(429),e.exports=n(14).Array.isArray},function(e,t,n){var r=n(15);r(r.S,"Array",{isArray:n(136)})},function(e,t,n){"use strict";var r=n(69),a=n(6);t.__esModule=!0,t.default=void 0;var o=a(n(12)),i=a(n(10)),s=a(n(11)),c=a(n(3)),l=r(n(1)),u=a(n(0)),f=a(n(431)),d=a(n(22)),p=a(n(220)),h=(0,s.default)({},f.default.propTypes,{show:u.default.bool,rootClose:u.default.bool,onHide:u.default.func,animation:u.default.oneOfType([u.default.bool,d.default]),onEnter:u.default.func,onEntering:u.default.func,onEntered:u.default.func,onExit:u.default.func,onExiting:u.default.func,onExited:u.default.func,placement:u.default.oneOf(["top","right","bottom","left"])}),m={animation:p.default,rootClose:!1,show:!1,placement:"right"},b=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.animation,r=t.children,a=(0,o.default)(t,["animation","children"]),i=!0===n?p.default:n||null;return e=i?r:(0,l.cloneElement)(r,{className:(0,c.default)(r.props.className,"in")}),l.default.createElement(f.default,(0,s.default)({},a,{transition:i}),e)},t}(l.default.Component);b.propTypes=h,b.defaultProps=m;var g=b;t.default=g,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["container","containerPadding","target","placement","shouldUpdatePosition","rootClose","children","transition"]);if(!(p.show||d&&!this.state.exited))return null;var h=f;if(h=i.default.createElement(c.default,{container:t,containerPadding:n,target:r,placement:a,shouldUpdatePosition:o},h),d){var m=p.onExit,b=p.onExiting,g=p.onEnter,y=p.onEntering,v=p.onEntered;h=i.default.createElement(d,{in:p.show,appear:!0,onExit:m,onExiting:b,onExited:this.onHiddenListener,onEnter:g,onEntering:y,onEntered:v},h)}return u&&(h=i.default.createElement(l.default,{onRootClose:p.onHide},h)),i.default.createElement(s.default,{container:t},h)},t}(i.default.Component);f.propTypes=r({},s.default.propTypes,c.default.propTypes,{show:a.default.bool,rootClose:a.default.bool,onHide:function(e){var t=a.default.func;e.rootClose&&(t=t.isRequired);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var m=function(e){function t(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,r));return a.getTarget=function(){var e=a.props.target,t="function"==typeof e?e():e;return t&&l.default.findDOMNode(t)||null},a.maybeUpdatePosition=function(e){var t=a.getTarget();(a.props.shouldUpdatePosition||t!==a._lastTarget||e)&&a.updatePosition(t)},a.state={positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null},a._needsFlush=!1,a._lastTarget=null,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.updatePosition(this.getTarget())},t.prototype.componentWillReceiveProps=function(){this._needsFlush=!0},t.prototype.componentDidUpdate=function(e){this._needsFlush&&(this._needsFlush=!1,this.maybeUpdatePosition(this.props.placement!==e.placement))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,o=h(e,["children","className"]),i=this.state,l=i.positionLeft,u=i.positionTop,f=h(i,["positionLeft","positionTop"]);delete o.target,delete o.container,delete o.containerPadding,delete o.shouldUpdatePosition;var d=c.default.Children.only(t);return(0,s.cloneElement)(d,r({},o,f,{positionLeft:l,positionTop:u,className:(0,a.default)(n,d.props.className),style:r({},d.props.style,{left:l,top:u})}))},t.prototype.updatePosition=function(e){if(this._lastTarget=e,e){var t=l.default.findDOMNode(this),n=(0,f.default)(this.props.container,(0,d.default)(this).body);this.setState((0,u.default)(this.props.placement,t,e,n,this.props.containerPadding))}else this.setState({positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null})},t}(c.default.Component);m.propTypes={target:o.default.oneOfType([i.default,o.default.func]),container:o.default.oneOfType([i.default,o.default.func]),containerPadding:o.default.number,placement:o.default.oneOf(["top","right","bottom","left"]),shouldUpdatePosition:o.default.bool},m.displayName="Position",m.defaultProps={containerPadding:0,placement:"right",shouldUpdatePosition:!1},t.default=m,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n,o,i){var s="BODY"===o.tagName?(0,r.default)(n):(0,a.default)(n,o),l=(0,r.default)(t),u=l.height,f=l.width,d=void 0,p=void 0,h=void 0,m=void 0;if("left"===e||"right"===e){p=s.top+(s.height-u)/2,d="left"===e?s.left-f:s.left+s.width;var b=function(e,t,n,r){var a=c(n),o=a.scroll,i=a.height,s=e-r-o,l=e+r-o+t;return s<0?-s:l>i?i-l:0}(p,u,o,i);p+=b,m=50*(1-2*b/u)+"%",h=void 0}else{if("top"!==e&&"bottom"!==e)throw new Error('calcOverlayPosition(): No such placement of "'+e+'" found.');d=s.left+(s.width-f)/2,p="top"===e?s.top-u:s.top+s.height;var g=function(e,t,n,r){var a=c(n).width,o=e-r,i=e+r+t;if(o<0)return-o;if(i>a)return a-i;return 0}(d,f,o,i);d+=g,h=50*(1-2*g/f)+"%",m=void 0}return{positionLeft:d,positionTop:p,arrowOffsetLeft:h,arrowOffsetTop:m}};var r=s(n(85)),a=s(n(435)),o=s(n(146)),i=s(n(52));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=void 0,n=void 0,a=void 0;if("BODY"===e.tagName)t=window.innerWidth,n=window.innerHeight,a=(0,o.default)((0,i.default)(e).documentElement)||(0,o.default)(e);else{var s=(0,r.default)(e);t=s.width,n=s.height,a=(0,o.default)(e)}return{width:t,height:n,scroll:a}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t>",c=i||r;if(null==n[r])return t?new Error("Required "+o+" `"+c+"` was not specified in `"+s+"`."):null;for(var l=arguments.length,u=Array(l>6?l-6:0),f=6;fa.getPositionTopMax()?"bottom"===a.state.affixed?a.updateStateAtBottom():a.setState({affixed:"bottom",position:"absolute",top:null},function(){a._isMounted&&a.updateStateAtBottom()}):a.updateState("affix","fixed",n)}},a.getPositionTopMax=function(){return(0,h.default)((0,m.default)(a))-(0,o.default)(d.default.findDOMNode(a))-a.props.offsetBottom},a.updateState=function(e,t,n){if(e!==a.state.affixed||t!==a.state.position||n!==a.state.top){var r="affix"===e?"":e.charAt(0).toUpperCase()+e.substr(1);a.props["onAffix"+r]&&a.props["onAffix"+r](),a.setState({affixed:e,position:t,top:n},function(){a.props["onAffixed"+r]&&a.props["onAffixed"+r]()})}},a.updateStateAtBottom=function(){var e=a.getPositionTopMax(),t=(0,s.default)(d.default.findDOMNode(a)),n=(0,i.default)(t).top;a.updateState("bottom","absolute",e-n)},a.state={affixed:"top",position:null,top:null},a._needPositionUpdate=!1,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){var e=this;this._isMounted=!0,this._windowScrollListener=(0,p.default)((0,b.default)(this),"scroll",function(){return e.onWindowScroll()}),this._documentClickListener=(0,p.default)((0,m.default)(this),"click",function(){return e.onDocumentClick()}),this.onUpdate()},t.prototype.componentWillReceiveProps=function(){this._needPositionUpdate=!0},t.prototype.componentDidUpdate=function(){this._needPositionUpdate&&(this._needPositionUpdate=!1,this.onUpdate())},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._windowScrollListener&&this._windowScrollListener.remove(),this._documentClickListener&&this._documentClickListener.remove()},t.prototype.render=function(){var e=f.default.Children.only(this.props.children),t=e.props,n=t.className,o=t.style,i=this.state,s=i.affixed,c={position:i.position,top:i.top},l=void 0,u=void 0;return"top"===s?(l=this.props.topClassName,u=this.props.topStyle):"bottom"===s?(l=this.props.bottomClassName,u=this.props.bottomStyle):(l=this.props.affixClassName,u=this.props.affixStyle),f.default.cloneElement(e,{className:(0,a.default)(l,n),style:r({},c,u,o)})},t}(f.default.Component);y.propTypes={offsetTop:u.default.number,viewportOffsetTop:u.default.number,offsetBottom:u.default.number,topClassName:u.default.string,topStyle:u.default.object,affixClassName:u.default.string,affixStyle:u.default.object,bottomClassName:u.default.string,bottomStyle:u.default.object,onAffix:u.default.func,onAffixed:u.default.func,onAffixTop:u.default.func,onAffixedTop:u.default.func,onAffixBottom:u.default.func,onAffixedBottom:u.default.func},y.defaultProps={offsetTop:0,viewportOffsetTop:null,offsetBottom:0},t.default=y,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);return n?n.innerHeight:t?e.clientHeight:(0,r.default)(e).height};var r=o(n(85)),a=o(n(86));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e);return t&&t.defaultView||t.parentWindow};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(58));e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(12)),o=r(n(11)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=r(n(447)),f=n(13),d={$bs_formGroup:l.default.object},p=function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var n=t.prototype;return n.getGlyph=function(e){switch(e){case"success":return"ok";case"warning":return"warning-sign";case"error":return"remove";default:return null}},n.renderDefaultFeedback=function(e,t,n,r){var a=this.getGlyph(e&&e.validationState);return a?c.default.createElement(u.default,(0,o.default)({},r,{glyph:a,className:(0,s.default)(t,n)})):null},n.render=function(){var e=this.props,t=e.className,n=e.children,r=(0,a.default)(e,["className","children"]),i=(0,f.splitBsProps)(r),l=i[0],u=i[1],d=(0,f.getClassSet)(l);if(!n)return this.renderDefaultFeedback(this.context.$bs_formGroup,t,d,u);var p=c.default.Children.only(n);return c.default.cloneElement(p,(0,o.default)({},u,{className:(0,s.default)(p.props.className,t,d)}))},t}(c.default.Component);p.defaultProps={bsRole:"feedback"},p.contextTypes=d;var h=(0,f.bsClass)("form-control-feedback",p);t.default=h,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=n(13),f={glyph:l.default.string.isRequired},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.glyph,r=t.className,i=(0,o.default)(t,["glyph","className"]),l=(0,u.splitBsProps)(i),f=l[0],d=l[1],p=(0,a.default)({},(0,u.getClassSet)(f),((e={})[(0,u.prefix)(f,n)]=!0,e));return c.default.createElement("span",(0,a.default)({},d,{className:(0,s.default)(r,p)}))},t}(c.default.Component);d.propTypes=f;var p=(0,u.bsClass)("glyphicon",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"p"};var p=(0,u.bsClass)("form-control-static",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listen=t.filter=t.off=t.on=void 0;var r=s(n(144)),a=s(n(145)),o=s(n(450)),i=s(n(452));function s(e){return e&&e.__esModule?e:{default:e}}t.on=r.default,t.off=a.default,t.filter=o.default,t.listen=i.default,t.default={on:r.default,off:a.default,filter:o.default,listen:i.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){var o=n.currentTarget,i=n.target,s=(0,a.default)(o,e);s.some(function(e){return(0,r.default)(e,i)})&&t.call(this,n)}};var r=o(n(70)),a=o(n(451));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,o="#"===t[0],i="."===t[0],s=o||i?t.slice(1):t;if(r.test(s))return o?(e=e.getElementById?e:document,(n=e.getElementById(s))?[n]:[]):e.getElementsByClassName&&i?a(e.getElementsByClassName(s)):a(e.getElementsByTagName(t));return a(e.querySelectorAll(t))};var r=/^[\w-]*$/,a=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(44)),a=i(n(144)),o=i(n(145));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(){};r.default&&(s=function(e,t,n,r){return(0,a.default)(e,t,n,r),function(){(0,o.default)(e,t,n,r)}}),t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t>",u=c||o;if(null!=n[o]){var f=i+"."+o;(0,r.default)(a[f],"The "+s+" `"+u+"` of `"+l+"` is deprecated. "+t+"."),a[f]=!0}for(var d=arguments.length,p=Array(d>5?d-5:0),h=5;h0&&void 0!==arguments[0]?arguments[0]:{},c=n.hideSiblingNodes,l=void 0===c||c,u=n.handleContainerOverflow,f=void 0===u||u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.add=function(e,n,c){var l=t.modals.indexOf(e),u=t.containers.indexOf(n);if(-1!==l)return l;if(l=t.modals.length,t.modals.push(e),t.hideSiblingNodes&&(0,s.hideSiblings)(n,e.mountNode),-1!==u)return t.data[u].modals.push(e),l;var f={modals:[e],classes:c?c.split(/\s+/):[],overflowing:(0,i.default)(n)};return t.handleContainerOverflow&&function(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt((0,a.default)(t,"paddingRight")||0,10)+(0,o.default)()+"px"),(0,a.default)(t,n)}(f,n),f.classes.forEach(r.default.addClass.bind(null,n)),t.containers.push(n),t.data.push(f),l},this.remove=function(e){var n=t.modals.indexOf(e);if(-1!==n){var a=function(e,t){return function(e,t){var n=-1;return e.some(function(e,r){if(t(e,r))return n=r,!0}),n}(e,function(e){return-1!==e.modals.indexOf(t)})}(t.data,e),o=t.data[a],i=t.containers[a];o.modals.splice(o.modals.indexOf(e),1),t.modals.splice(n,1),0===o.modals.length?(o.classes.forEach(r.default.removeClass.bind(null,i)),t.handleContainerOverflow&&function(e,t){var n=e.style;Object.keys(n).forEach(function(e){return t.style[e]=n[e]})}(o,i),t.hideSiblingNodes&&(0,s.showSiblings)(i,e.mountNode),t.containers.splice(a,1),t.data.splice(a,1)):t.hideSiblingNodes&&(0,s.ariaHidden)(!1,o.modals[o.modals.length-1].mountNode)}},this.isTopModal=function(e){return!!t.modals.length&&t.modals[t.modals.length-1]===e},this.hideSiblingNodes=l,this.handleContainerOverflow=f,this.modals=[],this.containers=[],this.data=[]},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=t.removeClass=t.addClass=void 0;var r=i(n(229)),a=i(n(231)),o=i(n(230));function i(e){return e&&e.__esModule?e:{default:e}}t.addClass=r.default,t.removeClass=a.default,t.hasClass=o.default,t.default={addClass:r.default,removeClass:a.default,hasClass:o.default}},function(e,t,n){"use strict";t.__esModule=!0,t.ariaHidden=o,t.hideSiblings=function(e,t){a(e,t,function(e){return o(!0,e)})},t.showSiblings=function(e,t){a(e,t,function(e){return o(!1,e)})};var r=["template","script","style"],a=function(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){-1===t.indexOf(e)&&function(e){var t=e.nodeType,n=e.tagName;return 1===t&&-1===r.indexOf(n.toLowerCase())}(e)&&n(e)})};function o(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(0)),a=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var i={children:r.default.node},s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return this.props.children},t}(a.default.Component);s.propTypes=i,t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=void 0;document.addEventListener?(document.addEventListener("focus",e,!0),t=function(){return document.removeEventListener("focus",e,!0)}):(document.attachEvent("onfocusin",e),t=function(){return document.detachEvent("onfocusin",e)});return{remove:t}},e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"div"};var p=(0,u.bsClass)("modal-body",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=n(13),f=n(34),d={dialogClassName:l.default.string},p=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.dialogClassName,r=t.className,i=t.style,l=t.children,f=(0,o.default)(t,["dialogClassName","className","style","children"]),d=(0,u.splitBsProps)(f),p=d[0],h=d[1],m=(0,u.prefix)(p),b=(0,a.default)({display:"block"},i),g=(0,a.default)({},(0,u.getClassSet)(p),((e={})[m]=!1,e[(0,u.prefix)(p,"dialog")]=!0,e));return c.default.createElement("div",(0,a.default)({},h,{tabIndex:"-1",role:"dialog",style:b,className:(0,s.default)(r,m)}),c.default.createElement("div",{className:(0,s.default)(n,g)},c.default.createElement("div",{className:(0,u.prefix)(p,"content"),role:"document"},l)))},t}(c.default.Component);p.propTypes=d;var h=(0,u.bsClass)("modal",(0,u.bsSizes)([f.Size.LARGE,f.Size.SMALL],p));t.default=h,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"div"};var p=(0,u.bsClass)("modal-footer",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(0)),l=r(n(1)),u=n(13),f=r(n(26)),d=r(n(227)),p={closeLabel:c.default.string,closeButton:c.default.bool,onHide:c.default.func},h={$bs_modal:c.default.shape({onHide:c.default.func})},m=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.closeLabel,n=e.closeButton,r=e.onHide,i=e.className,c=e.children,p=(0,o.default)(e,["closeLabel","closeButton","onHide","className","children"]),h=this.context.$bs_modal,m=(0,u.splitBsProps)(p),b=m[0],g=m[1],y=(0,u.getClassSet)(b);return l.default.createElement("div",(0,a.default)({},g,{className:(0,s.default)(i,y)}),n&&l.default.createElement(d.default,{label:t,onClick:(0,f.default)(h&&h.onHide,r)}),c)},t}(l.default.Component);m.propTypes=p,m.defaultProps={closeLabel:"Close",closeButton:!1},m.contextTypes=h;var b=(0,u.bsClass)("modal-header",m);t.default=b,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"h4"};var p=(0,u.bsClass)("modal-title",d);t.default=p,e.exports=t.default},function(e,t,n){e.exports={default:n(466),__esModule:!0}},function(e,t,n){n(68),n(56),e.exports=n(467)},function(e,t,n){var r=n(96),a=n(25)("iterator"),o=n(65);e.exports=n(14).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0){var n=t[0];return{x:n.clientX,y:n.clientY}}var r=e.pageX;if(void 0!==r)return{x:r,y:e.pageY}}return{x:0,y:0}}},function(e,t,n){var r=n(479);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,".react-toggle {\n touch-action: pan-x;\n\n display: inline-block;\n position: relative;\n cursor: pointer;\n background-color: transparent;\n border: 0;\n padding: 0;\n\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n -webkit-tap-highlight-color: transparent;\n}\n\n.react-toggle-screenreader-only {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.react-toggle--disabled {\n cursor: not-allowed;\n opacity: 0.5;\n -webkit-transition: opacity 0.25s;\n transition: opacity 0.25s;\n}\n\n.react-toggle-track {\n width: 50px;\n height: 24px;\n padding: 0;\n border-radius: 30px;\n background-color: #4D4D4D;\n -webkit-transition: all 0.2s ease;\n -moz-transition: all 0.2s ease;\n transition: all 0.2s ease;\n}\n\n.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {\n background-color: #000000;\n}\n\n.react-toggle--checked .react-toggle-track {\n background-color: #19AB27;\n}\n\n.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {\n background-color: #128D15;\n}\n\n.react-toggle-track-check {\n position: absolute;\n width: 14px;\n height: 10px;\n top: 0px;\n bottom: 0px;\n margin-top: auto;\n margin-bottom: auto;\n line-height: 0;\n left: 8px;\n opacity: 0;\n -webkit-transition: opacity 0.25s ease;\n -moz-transition: opacity 0.25s ease;\n transition: opacity 0.25s ease;\n}\n\n.react-toggle--checked .react-toggle-track-check {\n opacity: 1;\n -webkit-transition: opacity 0.25s ease;\n -moz-transition: opacity 0.25s ease;\n transition: opacity 0.25s ease;\n}\n\n.react-toggle-track-x {\n position: absolute;\n width: 10px;\n height: 10px;\n top: 0px;\n bottom: 0px;\n margin-top: auto;\n margin-bottom: auto;\n line-height: 0;\n right: 10px;\n opacity: 1;\n -webkit-transition: opacity 0.25s ease;\n -moz-transition: opacity 0.25s ease;\n transition: opacity 0.25s ease;\n}\n\n.react-toggle--checked .react-toggle-track-x {\n opacity: 0;\n}\n\n.react-toggle-thumb {\n transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;\n position: absolute;\n top: 1px;\n left: 1px;\n width: 22px;\n height: 22px;\n border: 1px solid #4D4D4D;\n border-radius: 50%;\n background-color: #FAFAFA;\n\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n -webkit-transition: all 0.25s ease;\n -moz-transition: all 0.25s ease;\n transition: all 0.25s ease;\n}\n\n.react-toggle--checked .react-toggle-thumb {\n left: 27px;\n border-color: #19AB27;\n}\n\n.react-toggle--focus .react-toggle-thumb {\n -webkit-box-shadow: 0px 0px 3px 2px #0099E0;\n -moz-box-shadow: 0px 0px 3px 2px #0099E0;\n box-shadow: 0px 0px 2px 3px #0099E0;\n}\n\n.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb {\n -webkit-box-shadow: 0px 0px 5px 5px #0099E0;\n -moz-box-shadow: 0px 0px 5px 5px #0099E0;\n box-shadow: 0px 0px 5px 5px #0099E0;\n}\n",""])},function(e,t,n){var r=n(14),a=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,n){n(482),n(494),n(495),n(496),n(497),n(498),n(499),n(500),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509),n(510),e.exports=n(152).Math},function(e,t,n){var r=n(23),a=n(237),o=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:a(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var r=n(484),a=n(485),o=n(487),i=Object.defineProperty;t.f=n(154)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),a)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(153);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(154)&&!n(104)(function(){return 7!=Object.defineProperty(n(486)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(153),a=n(151).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var r=n(153);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(151),a=n(236),o=n(490),i=n(491)("src"),s=Function.toString,c=(""+s).split("toString");n(152).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||a(n,"name",t)),e[t]!==n&&(l&&(o(n,i)||a(n,i,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||s.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(493);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(23),a=Math.asinh;r(r.S+r.F*!(a&&1/a(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(23),a=Math.atanh;r(r.S+r.F*!(a&&1/a(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(23),a=n(155);r(r.S,"Math",{cbrt:function(e){return a(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(23);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(23),a=Math.exp;r(r.S,"Math",{cosh:function(e){return(a(e=+e)+a(-e))/2}})},function(e,t,n){var r=n(23),a=n(156);r(r.S+r.F*(a!=Math.expm1),"Math",{expm1:a})},function(e,t,n){var r=n(23);r(r.S,"Math",{fround:n(501)})},function(e,t,n){var r=n(155),a=Math.pow,o=a(2,-52),i=a(2,-23),s=a(2,127)*(2-i),c=a(2,-126);e.exports=Math.fround||function(e){var t,n,a=Math.abs(e),l=r(e);return as||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(23),a=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,i=0,s=arguments.length,c=0;i0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(o)}})},function(e,t,n){var r=n(23),a=Math.imul;r(r.S+r.F*n(104)(function(){return-5!=a(4294967295,5)||2!=a.length}),"Math",{imul:function(e,t){var n=+e,r=+t,a=65535&n,o=65535&r;return 0|a*o+((65535&n>>>16)*o+a*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(23);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(23);r(r.S,"Math",{log1p:n(237)})},function(e,t,n){var r=n(23);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(23);r(r.S,"Math",{sign:n(155)})},function(e,t,n){var r=n(23),a=n(156),o=Math.exp;r(r.S+r.F*n(104)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(a(e)-a(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(23),a=n(156),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=a(e=+e),n=a(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var r=n(23);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(238),a=n(243),o=n(543),i=n(547),s=n(562),c=n(28),l=n(248),u=n(250),f=1,d="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,b,g,y){var v=c(e),w=c(t),x=v?p:s(e),k=w?p:s(t),_=(x=x==d?h:x)==h,E=(k=k==d?h:k)==h,S=x==k;if(S&&l(e)){if(!l(t))return!1;v=!0,_=!1}if(S&&!_)return y||(y=new r),v||u(e)?a(e,t,n,b,g,y):o(e,t,x,n,b,g,y);if(!(n&f)){var O=_&&m.call(e,"__wrapped__"),T=E&&m.call(t,"__wrapped__");if(O||T){var M=O?e.value():e,C=T?t.value():t;return y||(y=new r),g(M,C,n,b,y)}}return!!S&&(y||(y=new r),i(e,t,n,b,g,y))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(106),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(106);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(106);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(106);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(105);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(105),a=n(159),o=n(161),i=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!a||s.length1)for(var n=1;n=120&&g.length>=120)?new r(p&&g):void 0}g=e[0];var y=-1,v=h[0];e:for(;++y-1}},function(e,t,n){var r=n(573),a=n(574),o=n(575);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(586);e.exports=function(e){return r(e)?e:[]}},function(e,t,n){var r=n(164),a=n(53);e.exports=function(e){return a(e)&&r(e)}},function(e,t,n){var r=n(588);e.exports=function(e,t){var n=[];return r(e,function(e,r,a){t(e,r,a)&&n.push(e)}),n}},function(e,t,n){var r=n(589),a=n(592)(r);e.exports=a},function(e,t,n){var r=n(590),a=n(162);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(591)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++a];if(!1===n(o[c],c,o))break}return t}}},function(e,t,n){var r=n(164);e.exports=function(e,t){return function(n,a){if(null==n)return n;if(!r(n))return e(n,a);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","in"]),o=a.default.Children.toArray(t),s=o[0],c=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,a.default.createElement(i.default,r,n?a.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):a.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(a.default.Component),u=function(){var e=this;this.handleEnter=function(){for(var t=arguments.length,n=Array(t),r=0;r=t||n<0||d&&e-u>=i}function x(){var e=b();if(w(e))return k(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?m(n,i-(e-u)):n}(e))}function k(e){return c=void 0,p&&a?v(e):(a=o=void 0,s)}function _(){var e=b(),n=w(e);if(a=arguments,o=this,l=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(x,t),f?v(e):s}(l);if(d)return c=setTimeout(x,t),v(l)}return void 0===c&&(c=setTimeout(x,t)),s}return t=y(t)||0,g(r)&&(f=!!r.leading,i=(d="maxWait"in r)?h(y(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==c&&clearTimeout(c),u=0,a=l=o=c=void 0},_.flush=function(){return void 0===c?s:k(b())},_}}).call(this,n(51))},function(e,t,n){(function(t){var n="Expected a function",r=NaN,a="[object Symbol]",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=u||f||Function("return this")(),p=Object.prototype.toString,h=Math.max,m=Math.min,b=function(){return d.Date.now()};function g(e,t,r){var a,o,i,s,c,l,u=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function g(t){var n=a,r=o;return a=o=void 0,u=t,s=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=i}function x(){var e=b();if(w(e))return k(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?m(n,i-(e-u)):n}(e))}function k(e){return c=void 0,p&&a?g(e):(a=o=void 0,s)}function _(){var e=b(),n=w(e);if(a=arguments,o=this,l=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(x,t),f?g(e):s}(l);if(d)return c=setTimeout(x,t),g(l)}return void 0===c&&(c=setTimeout(x,t)),s}return t=v(t)||0,y(r)&&(f=!!r.leading,i=(d="maxWait"in r)?h(v(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==c&&clearTimeout(c),u=0,a=l=o=c=void 0},_.flush=function(){return void 0===c?s:k(b())},_}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&p.call(e)==a}(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=function(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),g(e,t,{leading:a,maxWait:t,trailing:o})}}).call(this,n(51))},function(e,t,n){var r=n(259);function a(e,t,n){var o=e;return function(e,t){var n=[],a="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var o=a.exec(e);if(!o)return n;if(void 0===o[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var i=o[1],s=o.index,c=r("(",")",e.substring(s));if(!c||c.start!==o[0].length-1)throw new SyntaxError(i+"(): missing closing ')' in the value '"+e+"'");n.push({matches:c,functionIdentifier:i}),e=c.post}while(a.test(e));return n}(e,t).reduce(function(e,r){return e.replace(r.functionIdentifier+"("+r.matches.body+")",function(e,t,n,r,o){return n(a(e,o,n),t,r)}(r.matches.body,r.functionIdentifier,n,o,t))},e)}e.exports=a},function(e,t,n){var r=n(618);r.prototype.formulaEval=function(){"use strict";for(var e,t,n,r=[],a=this.value,o=0;o"+t.value+""+a[o].show+""+e.value+"",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+""+e.value+"",type:1})):2===a[o].type||9===a[o].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+a[o].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:a[o].type})):12===a[o].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:a[o].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},e.exports=r},function(e,t,n){var r=n(619);r.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,a,o=[],i=this.value,s=void 0!==e.n,c=0;c1)throw new r.exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},r.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=r},function(e,t,n){var r=n(620);r.prototype.toPostfix=function(){"use strict";for(var e,t,n,a,o,i=[],s=[{value:"(",type:4,pre:0}],c=this.value,l=1;ln)s.push(e);else{for(;n>=a&&!u||u&&ag.length-2?g.length-1:_.length-i;y>0;y--)for(w=0;wa&&(o=a,i=n),[o,i]}function l(e,t,n){if(e.lte(0))return new a.default(0);var r=i.default.getDigitCount(e.toNumber()),o=new a.default(10).pow(r),s=e.div(o),c=1!==r?.05:.1,l=new a.default(Math.ceil(s.div(c).toNumber())).add(n).mul(c).mul(o);return t?l:new a.default(Math.ceil(l))}function u(e,t,n){var r=1,s=new a.default(e);if(!s.isint()&&n){var c=Math.abs(e);c<1?(r=new a.default(10).pow(i.default.getDigitCount(e)-1),s=new a.default(Math.floor(s.div(r).toNumber())).mul(r)):c>1&&(s=new a.default(Math.floor(e)))}else 0===e?s=new a.default(Math.floor((t-1)/2)):n||(s=new a.default(Math.floor(e)));var l=Math.floor((t-1)/2);return(0,o.compose)((0,o.map)(function(e){return s.add(new a.default(e-l).mul(r)).toNumber()}),o.range)(0,t)}t.getNiceTickValues=(0,o.memoize)(function(e){var t=r(e,2),n=t[0],s=t[1],f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,d=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],p=Math.max(f,2),h=c([n,s]),m=r(h,2),b=m[0],g=m[1];if(b===g)return u(b,f,d);var y=function e(t,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((n-t)/(r-1)))return{step:new a.default(0),tickMin:new a.default(0),tickMax:new a.default(0)};var s=l(new a.default(n).sub(t).div(r-1),o,i),c=void 0;c=t<=0&&n>=0?new a.default(0):(c=new a.default(t).add(n).div(2)).sub(new a.default(c).mod(s));var u=Math.ceil(c.sub(t).div(s).toNumber()),f=Math.ceil(new a.default(n).sub(c).div(s).toNumber()),d=u+f+1;return d>r?e(t,n,r,o,i+1):(d0?f+(r-d):f,u=n>0?u:u+(r-d)),{step:s,tickMin:c.sub(new a.default(u).mul(s)),tickMax:c.add(new a.default(f).mul(s))})}(b,g,p,d),v=y.step,w=y.tickMin,x=y.tickMax,k=i.default.rangeStep(w,x.add(new a.default(.1).mul(v)),v);return n>s?(0,o.reverse)(k):k}),t.getTickValues=(0,o.memoize)(function(e){var t=r(e,2),n=t[0],i=t[1],s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,f=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=Math.max(s,2),p=c([n,i]),h=r(p,2),m=h[0],b=h[1];if(m===b)return u(m,s,f);var g=l(new a.default(b).sub(m).div(d-1),f,0),y=(0,o.compose)((0,o.map)(function(e){return new a.default(m).add(new a.default(e).mul(g)).toNumber()}),o.range)(0,d).filter(function(e){return e>=m&&e<=b});return n>i?(0,o.reverse)(y):y}),t.getTickValuesFixedDomain=(0,o.memoize)(function(e,t){var n=r(e,2),s=n[0],u=n[1],f=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=c([s,u]),p=r(d,2),h=p[0],m=p[1];if(h===m)return[h];var b=Math.max(t,2),g=l(new a.default(m).sub(h).div(b-1),f,0),y=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);tu?(0,o.reverse)(y):y})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(260)),a=n(261);var o=(0,a.curry)(function(e,t,n){var r=+e;return r+n*(+t-r)}),i=(0,a.curry)(function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)}),s=(0,a.curry)(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});t.default={rangeStep:function(e,t,n){for(var a=new r.default(e),o=[];a.lt(t);)o.push(a.toNumber()),a=a.add(n);return o},getDigitCount:function(e){return 0===e?1:Math.floor(new r.default(e).abs().log(10).toNumber())+1},interpolateNumber:o,uninterpolateNumber:i,uninterpolateTruncation:s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;ni?i:a+s,c&&c(l,e);break;case 37:case 40:l=a-s0){E=E.sort(function(e,t){return c?e-t:t-e});var S=!0,O=!1,T=void 0;try{for(var M,C=E[Symbol.iterator]();!(S=(M=C.next()).done);S=!0){var P=M.value,j=this.getPositionFromValue(P),A=f({},g,this.coordinates(j).label+"px");_.push(i.default.createElement("li",{key:P,className:(0,a.default)("rangeslider__label-item"),"data-value":P,onMouseDown:this.handleDrag,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,style:A},this.props.labels[P]))}}catch(e){O=!0,T=e}finally{try{!S&&C.return&&C.return()}finally{if(O)throw T}}}return i.default.createElement("div",{ref:function(t){e.slider=t},className:(0,a.default)("rangeslider","rangeslider-"+r,{"rangeslider-reverse":c},o),onMouseDown:this.handleDrag,onMouseUp:this.handleEnd,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,"aria-valuemin":u,"aria-valuemax":p,"aria-valuenow":n,"aria-orientation":r},i.default.createElement("div",{className:"rangeslider__fill",style:w}),i.default.createElement("div",{ref:function(t){e.handle=t},className:"rangeslider__handle",onMouseDown:this.handleStart,onTouchMove:this.handleDrag,onTouchEnd:this.handleEnd,onKeyDown:this.handleKeyDown,style:x,tabIndex:0},k?i.default.createElement("div",{ref:function(t){e.tooltip=t},className:"rangeslider__handle-tooltip"},i.default.createElement("span",null,this.handleFormat(n))):null,i.default.createElement("div",{className:"rangeslider__handle-label"},h)),l?this.renderLabels(_):null)}}]),t}();p.propTypes={min:s.default.number,max:s.default.number,step:s.default.number,value:s.default.number,orientation:s.default.string,tooltip:s.default.bool,reverse:s.default.bool,labels:s.default.object,handleLabel:s.default.string,format:s.default.func,onChangeStart:s.default.func,onChange:s.default.func,onChangeComplete:s.default.func},p.defaultProps={min:0,max:100,step:1,value:0,orientation:"horizontal",tooltip:!0,reverse:!1,labels:{},handleLabel:""},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},t.clamp=function(e,t,n){return Math.min(Math.max(e,t),n)}},function(e,t,n){var r=n(627);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,"/**\n* Rangeslider\n*/\n.rangeslider {\n margin: 20px 0;\n position: relative;\n background: #e6e6e6;\n -ms-touch-action: none;\n touch-action: none;\n}\n.rangeslider,\n.rangeslider .rangeslider__fill {\n display: block;\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);\n}\n.rangeslider .rangeslider__handle {\n background: #fff;\n border: 1px solid #ccc;\n cursor: pointer;\n display: inline-block;\n position: absolute;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 -1px 3px rgba(0, 0, 0, 0.4);\n}\n.rangeslider .rangeslider__handle .rangeslider__active {\n opacity: 1;\n}\n.rangeslider .rangeslider__handle-tooltip {\n width: 40px;\n height: 40px;\n text-align: center;\n position: absolute;\n background-color: rgba(0, 0, 0, 0.8);\n font-weight: normal;\n font-size: 14px;\n transition: all 100ms ease-in;\n border-radius: 4px;\n display: inline-block;\n color: white;\n left: 50%;\n transform: translate3d(-50%, 0, 0);\n}\n.rangeslider .rangeslider__handle-tooltip span {\n margin-top: 12px;\n display: inline-block;\n line-height: 100%;\n}\n.rangeslider .rangeslider__handle-tooltip:after {\n content: ' ';\n position: absolute;\n width: 0;\n height: 0;\n}\n/**\n* Rangeslider - Horizontal slider\n*/\n.rangeslider-horizontal {\n height: 12px;\n border-radius: 10px;\n}\n.rangeslider-horizontal .rangeslider__fill {\n height: 100%;\n background-color: #7cb342;\n border-radius: 10px;\n top: 0;\n}\n.rangeslider-horizontal .rangeslider__handle {\n width: 30px;\n height: 30px;\n border-radius: 30px;\n top: 50%;\n transform: translate3d(-50%, -50%, 0);\n}\n.rangeslider-horizontal .rangeslider__handle:after {\n content: ' ';\n position: absolute;\n width: 16px;\n height: 16px;\n top: 6px;\n left: 6px;\n border-radius: 50%;\n background-color: #dadada;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) inset, 0 -1px 3px rgba(0, 0, 0, 0.4) inset;\n}\n.rangeslider-horizontal .rangeslider__handle-tooltip {\n top: -55px;\n}\n.rangeslider-horizontal .rangeslider__handle-tooltip:after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-top: 8px solid rgba(0, 0, 0, 0.8);\n left: 50%;\n bottom: -8px;\n transform: translate3d(-50%, 0, 0);\n}\n/**\n* Rangeslider - Vertical slider\n*/\n.rangeslider-vertical {\n margin: 20px auto;\n height: 150px;\n max-width: 10px;\n background-color: transparent;\n}\n.rangeslider-vertical .rangeslider__fill,\n.rangeslider-vertical .rangeslider__handle {\n position: absolute;\n}\n.rangeslider-vertical .rangeslider__fill {\n width: 100%;\n background-color: #7cb342;\n box-shadow: none;\n bottom: 0;\n}\n.rangeslider-vertical .rangeslider__handle {\n width: 30px;\n height: 10px;\n left: -10px;\n box-shadow: none;\n}\n.rangeslider-vertical .rangeslider__handle-tooltip {\n left: -100%;\n top: 50%;\n transform: translate3d(-50%, -50%, 0);\n}\n.rangeslider-vertical .rangeslider__handle-tooltip:after {\n border-top: 8px solid transparent;\n border-bottom: 8px solid transparent;\n border-left: 8px solid rgba(0, 0, 0, 0.8);\n left: 100%;\n top: 12px;\n}\n/**\n* Rangeslider - Reverse\n*/\n.rangeslider-reverse.rangeslider-horizontal .rangeslider__fill {\n right: 0;\n}\n.rangeslider-reverse.rangeslider-vertical .rangeslider__fill {\n top: 0;\n bottom: inherit;\n}\n/**\n* Rangeslider - Labels\n*/\n.rangeslider__labels {\n position: relative;\n}\n.rangeslider-vertical .rangeslider__labels {\n position: relative;\n list-style-type: none;\n margin: 0 0 0 24px;\n padding: 0;\n text-align: left;\n width: 250px;\n height: 100%;\n left: 10px;\n}\n.rangeslider-vertical .rangeslider__labels .rangeslider__label-item {\n position: absolute;\n transform: translate3d(0, -50%, 0);\n}\n.rangeslider-vertical .rangeslider__labels .rangeslider__label-item::before {\n content: '';\n width: 10px;\n height: 2px;\n background: black;\n position: absolute;\n left: -14px;\n top: 50%;\n transform: translateY(-50%);\n z-index: -1;\n}\n.rangeslider__labels .rangeslider__label-item {\n position: absolute;\n font-size: 14px;\n cursor: pointer;\n display: inline-block;\n top: 10px;\n transform: translate3d(-50%, 0, 0);\n}\n",""])},function(e,t,n){var r=n(629);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n margin: .67em 0;\n font-size: 2em;\n}\nmark {\n color: #000;\n background: #ff0;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsup {\n top: -.5em;\n}\nsub {\n bottom: -.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n height: 0;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font: inherit;\n color: inherit;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type="button"],\ninput[type="reset"],\ninput[type="submit"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type="checkbox"],\ninput[type="radio"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n}\ninput[type="number"]::-webkit-inner-spin-button,\ninput[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type="search"] {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-appearance: textfield;\n}\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n padding: .35em .625em .75em;\n margin: 0 2px;\n border: 1px solid #c0c0c0;\n}\nlegend {\n padding: 0;\n border: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n color: #000 !important;\n text-shadow: none !important;\n background: transparent !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: " (" attr(href) ")";\n }\n abbr[title]:after {\n content: " (" attr(title) ")";\n }\n a[href^="#"]:after,\n a[href^="javascript:"]:after {\n content: "";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: \'Glyphicons Halflings\';\n\n src: url('+n(262)+");\n src: url("+n(262)+"?#iefix) format('embedded-opentype'), url("+n(630)+") format('woff2'), url("+n(631)+") format('woff'), url("+n(632)+") format('truetype'), url("+n(633)+'#glyphicons_halflingsregular) format(\'svg\');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: \'Glyphicons Halflings\';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: "*";\n}\n.glyphicon-plus:before {\n content: "+";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: "\\20AC";\n}\n.glyphicon-minus:before {\n content: "\\2212";\n}\n.glyphicon-cloud:before {\n content: "\\2601";\n}\n.glyphicon-envelope:before {\n content: "\\2709";\n}\n.glyphicon-pencil:before {\n content: "\\270F";\n}\n.glyphicon-glass:before {\n content: "\\E001";\n}\n.glyphicon-music:before {\n content: "\\E002";\n}\n.glyphicon-search:before {\n content: "\\E003";\n}\n.glyphicon-heart:before {\n content: "\\E005";\n}\n.glyphicon-star:before {\n content: "\\E006";\n}\n.glyphicon-star-empty:before {\n content: "\\E007";\n}\n.glyphicon-user:before {\n content: "\\E008";\n}\n.glyphicon-film:before {\n content: "\\E009";\n}\n.glyphicon-th-large:before {\n content: "\\E010";\n}\n.glyphicon-th:before {\n content: "\\E011";\n}\n.glyphicon-th-list:before {\n content: "\\E012";\n}\n.glyphicon-ok:before {\n content: "\\E013";\n}\n.glyphicon-remove:before {\n content: "\\E014";\n}\n.glyphicon-zoom-in:before {\n content: "\\E015";\n}\n.glyphicon-zoom-out:before {\n content: "\\E016";\n}\n.glyphicon-off:before {\n content: "\\E017";\n}\n.glyphicon-signal:before {\n content: "\\E018";\n}\n.glyphicon-cog:before {\n content: "\\E019";\n}\n.glyphicon-trash:before {\n content: "\\E020";\n}\n.glyphicon-home:before {\n content: "\\E021";\n}\n.glyphicon-file:before {\n content: "\\E022";\n}\n.glyphicon-time:before {\n content: "\\E023";\n}\n.glyphicon-road:before {\n content: "\\E024";\n}\n.glyphicon-download-alt:before {\n content: "\\E025";\n}\n.glyphicon-download:before {\n content: "\\E026";\n}\n.glyphicon-upload:before {\n content: "\\E027";\n}\n.glyphicon-inbox:before {\n content: "\\E028";\n}\n.glyphicon-play-circle:before {\n content: "\\E029";\n}\n.glyphicon-repeat:before {\n content: "\\E030";\n}\n.glyphicon-refresh:before {\n content: "\\E031";\n}\n.glyphicon-list-alt:before {\n content: "\\E032";\n}\n.glyphicon-lock:before {\n content: "\\E033";\n}\n.glyphicon-flag:before {\n content: "\\E034";\n}\n.glyphicon-headphones:before {\n content: "\\E035";\n}\n.glyphicon-volume-off:before {\n content: "\\E036";\n}\n.glyphicon-volume-down:before {\n content: "\\E037";\n}\n.glyphicon-volume-up:before {\n content: "\\E038";\n}\n.glyphicon-qrcode:before {\n content: "\\E039";\n}\n.glyphicon-barcode:before {\n content: "\\E040";\n}\n.glyphicon-tag:before {\n content: "\\E041";\n}\n.glyphicon-tags:before {\n content: "\\E042";\n}\n.glyphicon-book:before {\n content: "\\E043";\n}\n.glyphicon-bookmark:before {\n content: "\\E044";\n}\n.glyphicon-print:before {\n content: "\\E045";\n}\n.glyphicon-camera:before {\n content: "\\E046";\n}\n.glyphicon-font:before {\n content: "\\E047";\n}\n.glyphicon-bold:before {\n content: "\\E048";\n}\n.glyphicon-italic:before {\n content: "\\E049";\n}\n.glyphicon-text-height:before {\n content: "\\E050";\n}\n.glyphicon-text-width:before {\n content: "\\E051";\n}\n.glyphicon-align-left:before {\n content: "\\E052";\n}\n.glyphicon-align-center:before {\n content: "\\E053";\n}\n.glyphicon-align-right:before {\n content: "\\E054";\n}\n.glyphicon-align-justify:before {\n content: "\\E055";\n}\n.glyphicon-list:before {\n content: "\\E056";\n}\n.glyphicon-indent-left:before {\n content: "\\E057";\n}\n.glyphicon-indent-right:before {\n content: "\\E058";\n}\n.glyphicon-facetime-video:before {\n content: "\\E059";\n}\n.glyphicon-picture:before {\n content: "\\E060";\n}\n.glyphicon-map-marker:before {\n content: "\\E062";\n}\n.glyphicon-adjust:before {\n content: "\\E063";\n}\n.glyphicon-tint:before {\n content: "\\E064";\n}\n.glyphicon-edit:before {\n content: "\\E065";\n}\n.glyphicon-share:before {\n content: "\\E066";\n}\n.glyphicon-check:before {\n content: "\\E067";\n}\n.glyphicon-move:before {\n content: "\\E068";\n}\n.glyphicon-step-backward:before {\n content: "\\E069";\n}\n.glyphicon-fast-backward:before {\n content: "\\E070";\n}\n.glyphicon-backward:before {\n content: "\\E071";\n}\n.glyphicon-play:before {\n content: "\\E072";\n}\n.glyphicon-pause:before {\n content: "\\E073";\n}\n.glyphicon-stop:before {\n content: "\\E074";\n}\n.glyphicon-forward:before {\n content: "\\E075";\n}\n.glyphicon-fast-forward:before {\n content: "\\E076";\n}\n.glyphicon-step-forward:before {\n content: "\\E077";\n}\n.glyphicon-eject:before {\n content: "\\E078";\n}\n.glyphicon-chevron-left:before {\n content: "\\E079";\n}\n.glyphicon-chevron-right:before {\n content: "\\E080";\n}\n.glyphicon-plus-sign:before {\n content: "\\E081";\n}\n.glyphicon-minus-sign:before {\n content: "\\E082";\n}\n.glyphicon-remove-sign:before {\n content: "\\E083";\n}\n.glyphicon-ok-sign:before {\n content: "\\E084";\n}\n.glyphicon-question-sign:before {\n content: "\\E085";\n}\n.glyphicon-info-sign:before {\n content: "\\E086";\n}\n.glyphicon-screenshot:before {\n content: "\\E087";\n}\n.glyphicon-remove-circle:before {\n content: "\\E088";\n}\n.glyphicon-ok-circle:before {\n content: "\\E089";\n}\n.glyphicon-ban-circle:before {\n content: "\\E090";\n}\n.glyphicon-arrow-left:before {\n content: "\\E091";\n}\n.glyphicon-arrow-right:before {\n content: "\\E092";\n}\n.glyphicon-arrow-up:before {\n content: "\\E093";\n}\n.glyphicon-arrow-down:before {\n content: "\\E094";\n}\n.glyphicon-share-alt:before {\n content: "\\E095";\n}\n.glyphicon-resize-full:before {\n content: "\\E096";\n}\n.glyphicon-resize-small:before {\n content: "\\E097";\n}\n.glyphicon-exclamation-sign:before {\n content: "\\E101";\n}\n.glyphicon-gift:before {\n content: "\\E102";\n}\n.glyphicon-leaf:before {\n content: "\\E103";\n}\n.glyphicon-fire:before {\n content: "\\E104";\n}\n.glyphicon-eye-open:before {\n content: "\\E105";\n}\n.glyphicon-eye-close:before {\n content: "\\E106";\n}\n.glyphicon-warning-sign:before {\n content: "\\E107";\n}\n.glyphicon-plane:before {\n content: "\\E108";\n}\n.glyphicon-calendar:before {\n content: "\\E109";\n}\n.glyphicon-random:before {\n content: "\\E110";\n}\n.glyphicon-comment:before {\n content: "\\E111";\n}\n.glyphicon-magnet:before {\n content: "\\E112";\n}\n.glyphicon-chevron-up:before {\n content: "\\E113";\n}\n.glyphicon-chevron-down:before {\n content: "\\E114";\n}\n.glyphicon-retweet:before {\n content: "\\E115";\n}\n.glyphicon-shopping-cart:before {\n content: "\\E116";\n}\n.glyphicon-folder-close:before {\n content: "\\E117";\n}\n.glyphicon-folder-open:before {\n content: "\\E118";\n}\n.glyphicon-resize-vertical:before {\n content: "\\E119";\n}\n.glyphicon-resize-horizontal:before {\n content: "\\E120";\n}\n.glyphicon-hdd:before {\n content: "\\E121";\n}\n.glyphicon-bullhorn:before {\n content: "\\E122";\n}\n.glyphicon-bell:before {\n content: "\\E123";\n}\n.glyphicon-certificate:before {\n content: "\\E124";\n}\n.glyphicon-thumbs-up:before {\n content: "\\E125";\n}\n.glyphicon-thumbs-down:before {\n content: "\\E126";\n}\n.glyphicon-hand-right:before {\n content: "\\E127";\n}\n.glyphicon-hand-left:before {\n content: "\\E128";\n}\n.glyphicon-hand-up:before {\n content: "\\E129";\n}\n.glyphicon-hand-down:before {\n content: "\\E130";\n}\n.glyphicon-circle-arrow-right:before {\n content: "\\E131";\n}\n.glyphicon-circle-arrow-left:before {\n content: "\\E132";\n}\n.glyphicon-circle-arrow-up:before {\n content: "\\E133";\n}\n.glyphicon-circle-arrow-down:before {\n content: "\\E134";\n}\n.glyphicon-globe:before {\n content: "\\E135";\n}\n.glyphicon-wrench:before {\n content: "\\E136";\n}\n.glyphicon-tasks:before {\n content: "\\E137";\n}\n.glyphicon-filter:before {\n content: "\\E138";\n}\n.glyphicon-briefcase:before {\n content: "\\E139";\n}\n.glyphicon-fullscreen:before {\n content: "\\E140";\n}\n.glyphicon-dashboard:before {\n content: "\\E141";\n}\n.glyphicon-paperclip:before {\n content: "\\E142";\n}\n.glyphicon-heart-empty:before {\n content: "\\E143";\n}\n.glyphicon-link:before {\n content: "\\E144";\n}\n.glyphicon-phone:before {\n content: "\\E145";\n}\n.glyphicon-pushpin:before {\n content: "\\E146";\n}\n.glyphicon-usd:before {\n content: "\\E148";\n}\n.glyphicon-gbp:before {\n content: "\\E149";\n}\n.glyphicon-sort:before {\n content: "\\E150";\n}\n.glyphicon-sort-by-alphabet:before {\n content: "\\E151";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: "\\E152";\n}\n.glyphicon-sort-by-order:before {\n content: "\\E153";\n}\n.glyphicon-sort-by-order-alt:before {\n content: "\\E154";\n}\n.glyphicon-sort-by-attributes:before {\n content: "\\E155";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: "\\E156";\n}\n.glyphicon-unchecked:before {\n content: "\\E157";\n}\n.glyphicon-expand:before {\n content: "\\E158";\n}\n.glyphicon-collapse-down:before {\n content: "\\E159";\n}\n.glyphicon-collapse-up:before {\n content: "\\E160";\n}\n.glyphicon-log-in:before {\n content: "\\E161";\n}\n.glyphicon-flash:before {\n content: "\\E162";\n}\n.glyphicon-log-out:before {\n content: "\\E163";\n}\n.glyphicon-new-window:before {\n content: "\\E164";\n}\n.glyphicon-record:before {\n content: "\\E165";\n}\n.glyphicon-save:before {\n content: "\\E166";\n}\n.glyphicon-open:before {\n content: "\\E167";\n}\n.glyphicon-saved:before {\n content: "\\E168";\n}\n.glyphicon-import:before {\n content: "\\E169";\n}\n.glyphicon-export:before {\n content: "\\E170";\n}\n.glyphicon-send:before {\n content: "\\E171";\n}\n.glyphicon-floppy-disk:before {\n content: "\\E172";\n}\n.glyphicon-floppy-saved:before {\n content: "\\E173";\n}\n.glyphicon-floppy-remove:before {\n content: "\\E174";\n}\n.glyphicon-floppy-save:before {\n content: "\\E175";\n}\n.glyphicon-floppy-open:before {\n content: "\\E176";\n}\n.glyphicon-credit-card:before {\n content: "\\E177";\n}\n.glyphicon-transfer:before {\n content: "\\E178";\n}\n.glyphicon-cutlery:before {\n content: "\\E179";\n}\n.glyphicon-header:before {\n content: "\\E180";\n}\n.glyphicon-compressed:before {\n content: "\\E181";\n}\n.glyphicon-earphone:before {\n content: "\\E182";\n}\n.glyphicon-phone-alt:before {\n content: "\\E183";\n}\n.glyphicon-tower:before {\n content: "\\E184";\n}\n.glyphicon-stats:before {\n content: "\\E185";\n}\n.glyphicon-sd-video:before {\n content: "\\E186";\n}\n.glyphicon-hd-video:before {\n content: "\\E187";\n}\n.glyphicon-subtitles:before {\n content: "\\E188";\n}\n.glyphicon-sound-stereo:before {\n content: "\\E189";\n}\n.glyphicon-sound-dolby:before {\n content: "\\E190";\n}\n.glyphicon-sound-5-1:before {\n content: "\\E191";\n}\n.glyphicon-sound-6-1:before {\n content: "\\E192";\n}\n.glyphicon-sound-7-1:before {\n content: "\\E193";\n}\n.glyphicon-copyright-mark:before {\n content: "\\E194";\n}\n.glyphicon-registration-mark:before {\n content: "\\E195";\n}\n.glyphicon-cloud-download:before {\n content: "\\E197";\n}\n.glyphicon-cloud-upload:before {\n content: "\\E198";\n}\n.glyphicon-tree-conifer:before {\n content: "\\E199";\n}\n.glyphicon-tree-deciduous:before {\n content: "\\E200";\n}\n.glyphicon-cd:before {\n content: "\\E201";\n}\n.glyphicon-save-file:before {\n content: "\\E202";\n}\n.glyphicon-open-file:before {\n content: "\\E203";\n}\n.glyphicon-level-up:before {\n content: "\\E204";\n}\n.glyphicon-copy:before {\n content: "\\E205";\n}\n.glyphicon-paste:before {\n content: "\\E206";\n}\n.glyphicon-alert:before {\n content: "\\E209";\n}\n.glyphicon-equalizer:before {\n content: "\\E210";\n}\n.glyphicon-king:before {\n content: "\\E211";\n}\n.glyphicon-queen:before {\n content: "\\E212";\n}\n.glyphicon-pawn:before {\n content: "\\E213";\n}\n.glyphicon-bishop:before {\n content: "\\E214";\n}\n.glyphicon-knight:before {\n content: "\\E215";\n}\n.glyphicon-baby-formula:before {\n content: "\\E216";\n}\n.glyphicon-tent:before {\n content: "\\26FA";\n}\n.glyphicon-blackboard:before {\n content: "\\E218";\n}\n.glyphicon-bed:before {\n content: "\\E219";\n}\n.glyphicon-apple:before {\n content: "\\F8FF";\n}\n.glyphicon-erase:before {\n content: "\\E221";\n}\n.glyphicon-hourglass:before {\n content: "\\231B";\n}\n.glyphicon-lamp:before {\n content: "\\E223";\n}\n.glyphicon-duplicate:before {\n content: "\\E224";\n}\n.glyphicon-piggy-bank:before {\n content: "\\E225";\n}\n.glyphicon-scissors:before {\n content: "\\E226";\n}\n.glyphicon-bitcoin:before {\n content: "\\E227";\n}\n.glyphicon-btc:before {\n content: "\\E227";\n}\n.glyphicon-xbt:before {\n content: "\\E227";\n}\n.glyphicon-yen:before {\n content: "\\A5";\n}\n.glyphicon-jpy:before {\n content: "\\A5";\n}\n.glyphicon-ruble:before {\n content: "\\20BD";\n}\n.glyphicon-rub:before {\n content: "\\20BD";\n}\n.glyphicon-scale:before {\n content: "\\E230";\n}\n.glyphicon-ice-lolly:before {\n content: "\\E231";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: "\\E232";\n}\n.glyphicon-education:before {\n content: "\\E233";\n}\n.glyphicon-option-horizontal:before {\n content: "\\E234";\n}\n.glyphicon-option-vertical:before {\n content: "\\E235";\n}\n.glyphicon-menu-hamburger:before {\n content: "\\E236";\n}\n.glyphicon-modal-window:before {\n content: "\\E237";\n}\n.glyphicon-oil:before {\n content: "\\E238";\n}\n.glyphicon-grain:before {\n content: "\\E239";\n}\n.glyphicon-sunglasses:before {\n content: "\\E240";\n}\n.glyphicon-text-size:before {\n content: "\\E241";\n}\n.glyphicon-text-color:before {\n content: "\\E242";\n}\n.glyphicon-text-background:before {\n content: "\\E243";\n}\n.glyphicon-object-align-top:before {\n content: "\\E244";\n}\n.glyphicon-object-align-bottom:before {\n content: "\\E245";\n}\n.glyphicon-object-align-horizontal:before {\n content: "\\E246";\n}\n.glyphicon-object-align-left:before {\n content: "\\E247";\n}\n.glyphicon-object-align-vertical:before {\n content: "\\E248";\n}\n.glyphicon-object-align-right:before {\n content: "\\E249";\n}\n.glyphicon-triangle-right:before {\n content: "\\E250";\n}\n.glyphicon-triangle-left:before {\n content: "\\E251";\n}\n.glyphicon-triangle-bottom:before {\n content: "\\E252";\n}\n.glyphicon-triangle-top:before {\n content: "\\E253";\n}\n.glyphicon-console:before {\n content: "\\E254";\n}\n.glyphicon-superscript:before {\n content: "\\E255";\n}\n.glyphicon-subscript:before {\n content: "\\E256";\n}\n.glyphicon-menu-left:before {\n content: "\\E257";\n}\n.glyphicon-menu-right:before {\n content: "\\E258";\n}\n.glyphicon-menu-down:before {\n content: "\\E259";\n}\n.glyphicon-menu-up:before {\n content: "\\E260";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n display: inline-block;\n max-width: 100%;\n height: auto;\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all .2s ease-in-out;\n -o-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role="button"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n padding: .2em;\n background-color: #fcf8e3;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n margin-left: -5px;\n list-style: none;\n}\n.list-inline > li {\n display: inline-block;\n padding-right: 5px;\n padding-left: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n overflow: hidden;\n clear: left;\n text-align: right;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: \'\\2014 \\A0\';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n text-align: right;\n border-right: 5px solid #eee;\n border-left: 0;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: \'\';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: \'\\A0 \\2014\';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, "Courier New", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n.row {\n margin-right: -15px;\n margin-left: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*="col-"] {\n position: static;\n display: table-column;\n float: none;\n}\ntable td[class*="col-"],\ntable th[class*="col-"] {\n position: static;\n display: table-cell;\n float: none;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n min-height: .01%;\n overflow-x: auto;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type="search"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type="radio"],\ninput[type="checkbox"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type="file"] {\n display: block;\n}\ninput[type="range"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type="file"]:focus,\ninput[type="radio"]:focus,\ninput[type="checkbox"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type="search"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type="date"].form-control,\n input[type="time"].form-control,\n input[type="datetime-local"].form-control,\n input[type="month"].form-control {\n line-height: 34px;\n }\n input[type="date"].input-sm,\n input[type="time"].input-sm,\n input[type="datetime-local"].input-sm,\n input[type="month"].input-sm,\n .input-group-sm input[type="date"],\n .input-group-sm input[type="time"],\n .input-group-sm input[type="datetime-local"],\n .input-group-sm input[type="month"] {\n line-height: 30px;\n }\n input[type="date"].input-lg,\n input[type="time"].input-lg,\n input[type="datetime-local"].input-lg,\n input[type="month"].input-lg,\n .input-group-lg input[type="date"],\n .input-group-lg input[type="time"],\n .input-group-lg input[type="datetime-local"],\n .input-group-lg input[type="month"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type="radio"],\n.radio-inline input[type="radio"],\n.checkbox input[type="checkbox"],\n.checkbox-inline input[type="checkbox"] {\n position: absolute;\n margin-top: 4px \\9;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n vertical-align: middle;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type="radio"][disabled],\ninput[type="checkbox"][disabled],\ninput[type="radio"].disabled,\ninput[type="checkbox"].disabled,\nfieldset[disabled] input[type="radio"],\nfieldset[disabled] input[type="checkbox"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n min-height: 34px;\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-right: 0;\n padding-left: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #3c763d;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #8a6d3b;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n background-color: #f2dede;\n border-color: #a94442;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type="radio"],\n .form-inline .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n padding-top: 7px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n padding-top: 7px;\n margin-bottom: 0;\n text-align: right;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n padding: 6px 12px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n opacity: .65;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n font-weight: normal;\n color: #337ab7;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type="submit"].btn-block,\ninput[type="reset"].btn-block,\ninput[type="button"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-timing-function: ease;\n -o-transition-timing-function: ease;\n transition-timing-function: ease;\n -webkit-transition-duration: .35s;\n -o-transition-duration: .35s;\n transition-duration: .35s;\n -webkit-transition-property: height, visibility;\n -o-transition-property: height, visibility;\n transition-property: height, visibility;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu-left {\n right: auto;\n left: 0;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n content: "";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-right: 8px;\n padding-left: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-right: 12px;\n padding-left: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n display: table-cell;\n float: none;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle="buttons"] > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn input[type="checkbox"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*="col-"] {\n float: none;\n padding-right: 0;\n padding-left: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555;\n text-align: center;\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type="radio"],\n.input-group-addon input[type="checkbox"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.nav > li.disabled > a {\n color: #777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777;\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eee #eee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555;\n cursor: default;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n padding-right: 15px;\n padding-left: 15px;\n overflow-x: visible;\n -webkit-overflow-scrolling: touch;\n border-top: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-right: 0;\n padding-left: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n height: 50px;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n padding: 9px 10px;\n margin-top: 8px;\n margin-right: 15px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n padding: 10px 15px;\n margin-top: 8px;\n margin-right: -15px;\n margin-bottom: 8px;\n margin-left: -15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type="radio"],\n .navbar-form .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: 0;\n margin-left: 0;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-right: 15px;\n margin-left: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n color: #fff;\n background-color: #080808;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n padding: 0 5px;\n color: #ccc;\n content: "/\\A0";\n}\n.breadcrumb > .active {\n color: #777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n margin-left: -1px;\n line-height: 1.42857143;\n color: #337ab7;\n text-decoration: none;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n cursor: default;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n border-color: #ddd;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n text-align: center;\n list-style: none;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-color: #777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n padding-right: 15px;\n padding-left: 15px;\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-right: 60px;\n padding-left: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border .2s ease-in-out;\n -o-transition: border .2s ease-in-out;\n transition: border .2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-right: auto;\n margin-left: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@-o-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n height: 20px;\n margin-bottom: 20px;\n overflow: hidden;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n}\n.progress-bar {\n float: left;\n width: 0;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n -webkit-transition: width .6s ease;\n -o-transition: width .6s ease;\n transition: width .6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n -webkit-background-size: 40px 40px;\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n padding-left: 0;\n margin-bottom: 20px;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n color: #555;\n text-decoration: none;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #eee;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-right: 15px;\n padding-left: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n margin-bottom: 0;\n border: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, .15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n filter: alpha(opacity=20);\n opacity: .2;\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n filter: alpha(opacity=50);\n opacity: .5;\n}\nbutton.close {\n -webkit-appearance: none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n}\n.tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n}\n.tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n}\n.tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n}\n.tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n}\n.tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n\n line-break: auto;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n padding: 8px 14px;\n margin: 0;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n content: "";\n border-width: 10px;\n}\n.popover.top > .arrow {\n bottom: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-color: #999;\n border-top-color: rgba(0, 0, 0, .25);\n border-bottom-width: 0;\n}\n.popover.top > .arrow:after {\n bottom: 1px;\n margin-left: -10px;\n content: " ";\n border-top-color: #fff;\n border-bottom-width: 0;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-right-color: #999;\n border-right-color: rgba(0, 0, 0, .25);\n border-left-width: 0;\n}\n.popover.right > .arrow:after {\n bottom: -10px;\n left: 1px;\n content: " ";\n border-right-color: #fff;\n border-left-width: 0;\n}\n.popover.bottom > .arrow {\n top: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999;\n border-bottom-color: rgba(0, 0, 0, .25);\n}\n.popover.bottom > .arrow:after {\n top: 1px;\n margin-left: -10px;\n content: " ";\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999;\n border-left-color: rgba(0, 0, 0, .25);\n}\n.popover.left > .arrow:after {\n right: 1px;\n bottom: -10px;\n content: " ";\n border-right-width: 0;\n border-left-color: #fff;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner > .item {\n position: relative;\n display: none;\n -webkit-transition: .6s ease-in-out left;\n -o-transition: .6s ease-in-out left;\n transition: .6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform .6s ease-in-out;\n -o-transition: -o-transform .6s ease-in-out;\n transition: transform .6s ease-in-out;\n\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n left: 0;\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n left: 0;\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n left: 0;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 15%;\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n background-color: rgba(0, 0, 0, 0);\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control.right {\n right: 0;\n left: auto;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control:hover,\n.carousel-control:focus {\n color: #fff;\n text-decoration: none;\n filter: alpha(opacity=90);\n outline: 0;\n opacity: .9;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n margin-top: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n font-family: serif;\n line-height: 1;\n}\n.carousel-control .icon-prev:before {\n content: \'\\2039\';\n}\n.carousel-control .icon-next:before {\n content: \'\\203A\';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n padding-left: 0;\n margin-left: -30%;\n text-align: center;\n list-style: none;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n border: 1px solid #fff;\n border-radius: 10px;\n}\n.carousel-indicators .active {\n width: 12px;\n height: 12px;\n margin: 0;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n right: 20%;\n left: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n display: table;\n content: " ";\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-right: auto;\n margin-left: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */\n',""])},function(e,t,n){e.exports=n.p+"448c34a56d699c29117adc64c43affeb.woff2"},function(e,t,n){e.exports=n.p+"fa2772327f55d8198301fdb8bcfc8158.woff"},function(e,t,n){e.exports=n.p+"e18bbf611f2a2e43afc071aa2f4e1512.ttf"},function(e,t,n){e.exports=n.p+"89889688147bd7575d6327160d64e760.svg"},function(e,t,n){var r=n(635);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,"html, body {\n height: 100%;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n\na {\n cursor: pointer;\n}\n\n.clickable {\n cursor: pointer;\n}\n.clickable:hover {\n color: #b7a533;\n}\n\n.superscript { position: relative; top: -0.5em; font-size: 80%; }\n\n.rangeslider__label-list .rangeslider__label {\n position: absolute;\n font-size: 14px;\n cursor: pointer;\n display: inline-block;\n top: 23px;\n}\n\n.btn:focus {\n outline: none;\n}\n\n.btn.btn-primary:active {\n background-color: #337ab7 !important;\n}",""])},function(e,t,n){var r=n(637);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,".bs-docs-sidebar .nav>li>div>a {\n color: inherit;\n} \n\n/* sidebar */\n.bs-docs-sidebar {\n padding-left: 5px;\n margin-top: 0px;\n margin-bottom: 20px;\n}\n\n/* all links */\n.bs-docs-sidebar .nav>li>div {\n color: #999;\n border-left: 2px solid transparent;\n padding: 4px 10px;\n font-size: 13px;\n font-weight: 400;\n white-space: nowrap;\n}\n\n/* nested links */\n.bs-docs-sidebar .nav .nav>li>div {\n padding-top: 1px;\n padding-bottom: 1px;\n padding-left: 20px;\n font-size: 12px;\n white-space: nowrap;\n}\n\n/* active & hover links */\n.bs-docs-sidebar .nav>.active>div, \n.bs-docs-sidebar .nav>li>div:hover, \n.bs-docs-sidebar .nav>li>div:focus {\n color: #563d7c; \n text-decoration: none; \n background-color: transparent; \n border-left-color: #563d7c; \n}\n\n/* all active links */\n.bs-docs-sidebar .nav>.active>div, \n.bs-docs-sidebar .nav>.active:hover>div,\n.bs-docs-sidebar .nav>.active:focus>div {\n font-weight: 700;\n}\n\n/* nested active links */\n.bs-docs-sidebar .nav .nav>.active>div, \n.bs-docs-sidebar .nav .nav>.active:hover>div,\n.bs-docs-sidebar .nav .nav>.active:focus>div {\n font-weight: 500;\n text-decoration: none;\n}\n\n/* hide inactive nested list */\n.bs-docs-sidebar .nav ul.nav {\n display: none; \n}\n/* show active nested list */\n.bs-docs-sidebar .nav >.active>ul.nav {\n display: block; \n}\n\n/* Icons befor element */\n.bs-docs-sidebar .nav .nav>li>div>span {\n display:none;\n}\n\n.bs-docs-sidebar .nav .nav>li>div:hover>span,\n.bs-docs-sidebar .nav .nav>li.active>div:focus>span {\n display:inline;\n}\n\n.bs-docs-sidebar .nav .nav>li>div>span:hover {\n color: green;\n}\n\n.bs-docs-sidebar .nav .nav>li>div>span.focused:hover {\n color: red;\n cursor: pointer;\n}\n\n.bs-docs-sidebar .nav .nav>li>div>span.focused {\n display:inline;\n color: green;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"scaleBand",function(){return Cc}),n.d(r,"scalePoint",function(){return Pc}),n.d(r,"scaleIdentity",function(){return Pu}),n.d(r,"scaleLinear",function(){return Cu}),n.d(r,"scaleLog",function(){return Ru}),n.d(r,"scaleOrdinal",function(){return Mc}),n.d(r,"scaleImplicit",function(){return Tc}),n.d(r,"scalePow",function(){return Lu}),n.d(r,"scaleSqrt",function(){return Fu}),n.d(r,"scaleQuantile",function(){return qu}),n.d(r,"scaleQuantize",function(){return Wu}),n.d(r,"scaleThreshold",function(){return Hu}),n.d(r,"scaleTime",function(){return pp}),n.d(r,"scaleUtc",function(){return hp}),n.d(r,"scaleSequential",function(){return mp}),n.d(r,"scaleDiverging",function(){return bp});var a=n(1),o=n.n(a),i=n(20),s=n.n(i),c=n(111),l=n.n(c),u=n(169),f=n.n(u),d=n(90),p=n.n(d),h=n(170),m=n.n(h),b=n(19),g=n.n(b),y=n(263),v=n.n(y),w=n(264),x=n.n(w),k=n(63),_=n.n(k),E=n(40),S=n.n(E),O=n(46),T=n.n(O);function M(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,r=e.length;n5)return!0}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}}catch(e){r=!0,a=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw a}}return!1}function P(e,t){return!t||e<1&&e>-1?e:Math.round(e)}function j(e,t){return e||0==e?t&&(e>1||e<-1)?e.toLocaleString():e:"n/a"}function A(e){if(1==e.length)return e.map(function(e){return B(e)});var t=Math.min.apply(Math,S()(e.map(function(e){return e.length}))),n=I(e,t),r=function(e,t){return I(e.map(function(e){return e.split("").reverse().join("")}),t)}(e,t);return n>0&&n0&&r20&&(e=e.map(function(e){return B(e)})),e}function B(e){var t=e.lastIndexOf("/");return t>0?e.substring(t+1):e}function I(e,t){for(var n=0;n0?K=function(e){return e(providedBenchmarks.map(function(e){return new z({name:e,benchmarks:providedBenchmarkStore[e]})}))}:(K=function(e){var t=R("example");return t||(t=function(){var e=window.location.hash;return"#singleRunExample"===e?"single":"#twoRunsExample"===e?"two":"#multiRunExample"===e?"multi":void 0}()),"single"===t?function(t){return t(e.singleRunExample)}:"two"===t?function(t){return t(e.twoRunsExample)}:"multi"===t?function(t){return t(e.multiRunExample)}:void 0}(W))||(K=function(){var e=R("source");if(e)return function(t){return U(t,[e])};var t=R("sources");if(t)return function(e){return U(e,t.split(","))};var n=R("gist");if(n)return function(e){return U(e,["https://gist.githubusercontent.com/raw/"+n])};var r=R("gists");return r?function(e){return U(e,r.split(",").map(function(e){return"https://gist.githubusercontent.com/raw/"+e}))}:void 0}());var V={initialState:{settings:H,initialLoading:null!=K,loading:!1,benchmarkRuns:[],runSelection:[],runView:null,selectedMetric:"Score",detailedBenchmarkBundle:null,activeCategory:"Benchmarks",focusedBundles:new g.a,chartConfig:{sort:!1,logScale:!1}},actionsCreators:{uploadFiles:function(){var e=m()(p.a.mark(function e(t,n,r,a){return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",F(t,a,function(){return n.uploadFiles(r,!0)},function(){return Z(r)}));case 1:case"end":return e.stop()}},e,void 0)}));return function(t,n,r,a){return e.apply(this,arguments)}}(),initBenchmarks:function(e,t,n){return Y(n)},loadSingleRunExample:function(e,t,n,r){return F(e,r,function(){return t.loadSingleRunExample(null,!0)},function(){return Q(W.singleRunExample)})},loadTwoRunsExample:function(e,t,n,r){return F(e,r,function(){return t.loadTwoRunsExample(null,!0)},function(){return Q(W.twoRunsExample)})},loadMultiRunExample:function(e,t,n,r){return F(e,r,function(){return t.loadMultiRunExample(null,!0)},function(){return Q(W.multiRunExample)})},selectMetric:function(e,t,n){return{selectedMetric:n}},focusBundle:function(e,t,n){var r=new g.a(e.focusedBundles);return r.has(n)?r.delete(n):r.add(n),{focusedBundles:r}},selectCategory:function(e,t,n){return{activeCategory:n,focusedBundles:new g.a}},detailBenchmarkBundle:function(e,t,n){return q.push("#details"),{detailedBenchmarkBundle:n}},undetailBenchmarkBundle:function(){return{detailedBenchmarkBundle:null}},selectBenchmarkRuns:function(e,t,n,r){return{runSelection:n,runView:r}},sort:function(e){return{chartConfig:f()({},e.chartConfig,{sort:!e.chartConfig.sort})}},logScale:function(e){return{chartConfig:f()({},e.chartConfig,{logScale:!e.chartConfig.logScale})}},goBack:function(){return q.goBack(),{}}}};function Y(e){var t=e.length>1?"Summary":null;return{initialLoading:!1,loading:!1,benchmarkRuns:e,runSelection:Array(e.length).fill(!0),runView:t}}var G=v()(V),X=G.Provider,$=G.connect,J=G.actions;function Q(e){return new l.a(function(t){return setTimeout(function(){return t(e)},0)})}function Z(e){return new l.a(function(t,n){var r=[];e.forEach(function(a){var o=new FileReader,i=a.name.replace(".json","");o.onload=function(a){try{var o=JSON.parse(a.target.result),s=new z({name:i,benchmarks:o});r.push(s),r.length==e.length&&(r.sort(function(e,t){return e.name.localeCompare(t.name)}),window.onbeforeunload=function(){return"You will loose the current benchmarks."},t(r))}catch(e){alert(e),n(e)}},o.readAsText(a)})})}q.listen(function(e,t){"POP"===t&&J.undetailBenchmarkBundle()}),K&&setTimeout(function(){return K(J.initBenchmarks)},0);for(var ee=n(7),te=n.n(ee),ne=n(5),re=n.n(ne),ae=n(8),oe=n.n(ae),ie=n(9),se=n.n(ie),ce=n(118),le=n.n(ce),ue=n(270),fe=n.n(ue),de=n(271),pe=n.n(de),he=n(113),me=n.n(he),be=n(31),ge=n.n(be),ye=n(268),ve=n.n(ye),we=n(269),xe=n.n(we),ke=n(29),_e=n.n(ke),Ee="#337ab7",Se="#b74233",Oe="#4B993F",Te="#b7a533",Me=["#22527b",Ee,"#63a0d4"],Ce=["#7ab733","#a1cc70","#c9e2ad"],Pe=["#b77033","#cc9a70","#e2c5ad"],je=["#b7337a","#cc70a1","#e9c1d7"],Ae=[Te,"#ccc970","#e2e0ad"],Be=[].concat(Me,Ce,Pe,je,Ae,["#7b2c22",Se,"#d47063"]),Ie=[],Ne=0;Ne<=3;Ne++)Ie.push(Me[Ne]),Ie.push(Ce[Ne]),Ie.push(Pe[Ne]),Ie.push(je[Ne]),Ie.push(Ae[Ne]);n(357);function De(e){return e.disabled?e.children:o.a.createElement("span",{className:"tooltip-"+e.position,"data-tooltip":e.tooltip,"data-tooltip-position":e.position},e.children)}var ze=n(265),Re=n.n(ze),Ue=n(112),Le=n.n(Ue),Fe=n(266),qe=n.n(Fe),We=n(204),He=n.n(We),Ke=n(205),Ve=n.n(Ke),Ye=n(206),Ge=n.n(Ye),Xe=Te,$e=function(e){var t=e.active,n=e.action;return o.a.createElement(Ze,{IconName:qe.a,tooltip:"Sort by Score/Name",active:t,action:n})},Je=function(e){var t=e.active,n=e.action;return o.a.createElement(Ze,{IconName:Re.a,tooltip:"Switch scale (log/linear)",active:t,action:n})},Qe=function(e){var t=e.benchmarkBundle,n=new g.a;return t.allBenchmarks().forEach(function(e){_e()(e.secondaryMetrics).forEach(function(e){n.add(e)})}),o.a.createElement(Ze,{IconName:Le.a,tooltip:"Show details with "+n.size+" secondary metrics results",active:!1,action:function(){return J.detailBenchmarkBundle(t.key)}})};function Ze(e){var t=e.IconName,n=e.tooltip,r=e.active,a=e.action,i=r?Xe:null;return o.a.createElement(De,{key:"ScaleButton",tooltip:n,position:"top"},o.a.createElement(t,{size:"1em",onClick:a,color:i,className:"clickable"}))}var et=n(0),tt=n.n(et),nt=n(267),rt=n.n(nt),at=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.handleClick=r.handleClick.bind(r),r}return se()(t,e),re()(t,[{key:"handleClick",value:function(e){e.preventDefault(),this.props.onClick(e)}},{key:"render",value:function(){return o.a.createElement("a",{href:"",onClick:this.handleClick},o.a.createElement(rt.a,null)," JMH Visualizer")}}]),t}(a.Component);at.propTypes={onClick:tt.a.func};var ot=at,it=n(362),st=$(function(e){return{initialLoading:e.initialLoading,loading:e.loading}})(function(e){var t=e.initialLoading,n=e.loading;return t||n?o.a.createElement(it,{id:"spinner",name:"three-bounce",color:Ee,fadeIn:"none"}):null}),ct=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"onReset",value:function(){window.onbeforeunload=null,window.location=window.location.href.split("#")[0].split("?")[0]}},{key:"render",value:function(){var e=o.a.createElement(ve.a,{id:"popover-trigger-click-root-close",title:"About JMH Visualizer - 0.9.1"},o.a.createElement("p",null,o.a.createElement("i",null,"JMH Visualizer")," will render charts out of your ",o.a.createElement("a",{href:"http://openjdk.java.net/projects/code-tools/jmh/",target:"_blank",rel:"noopener noreferrer"},"JMH Benchmarks"),". All it needs are your benchmark results in JSON format.")),t=0==providedBenchmarks.length;return o.a.createElement(le.a,{inverse:!0,fluid:!0,style:{marginBottom:"0px"}},o.a.createElement(le.a.Header,null,o.a.createElement(le.a.Brand,null,o.a.createElement(me.a,{id:"logo-dropdown"},o.a.createElement(ot,{bsRole:"toggle"}),o.a.createElement(me.a.Menu,null,t>0&&o.a.createElement(ge.a,{onSelect:this.onReset}," Reset & Upload New"),t>0&&o.a.createElement(ge.a,{divider:!0}),o.a.createElement(ge.a,{href:"https://github.com/jzillmann/jmh-visualizer/issues",target:"_blank"},o.a.createElement(He.a,null)," Feedback & Bug Reports "),o.a.createElement(ge.a,{href:"http://github.com/jzillmann/jmh-visualizer",target:"_blank"},o.a.createElement(He.a,null)," Code @ Github "),o.a.createElement(ge.a,{divider:!0}),o.a.createElement(ge.a,{href:"http://openjdk.java.net/projects/code-tools/jmh/",target:"_blank"},o.a.createElement(He.a,null)," JMH "),o.a.createElement(ge.a,{href:"http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/",target:"_blank"},o.a.createElement(He.a,null)," JMH Samples"),o.a.createElement(ge.a,{divider:!0}),o.a.createElement(xe.a,{trigger:"click",rootClose:!0,placement:"bottom",overlay:e},o.a.createElement(ge.a,{eventKey:"3"}," About")))))),o.a.createElement(fe.a,null,o.a.createElement(pe.a,null,o.a.createElement(st,null))))}}]),t}(o.a.Component),lt=function(e){var t=e.title;return o.a.createElement("h1",{style:{textAlign:"center",paddingRight:"20%"}},t)},ut=$(function(e){return{topBar:e.settings.topBar}})(function(e){var t=e.topBar;switch(t){case"default":return o.a.createElement(ct,null);case"off":return null;default:return o.a.createElement(lt,{title:t})}}),ft=n(61),dt=n.n(ft),pt=n(71),ht=n.n(pt),mt=n(18),bt=n.n(mt),gt=n(272),yt=n.n(gt),vt=$(function(e){return{topBar:e.settings.topBar}})(function(e){return"default"===e.topBar?null:o.a.createElement(yt.a.Footer,{style:{marginTop:"20px",marginBottom:"0px",paddingLeft:"20px",fontSize:"0.90em"}},o.a.createElement(dt.a,{fluid:!0},o.a.createElement(ht.a,null,o.a.createElement(bt.a,{md:10},o.a.createElement("a",{href:"https://jmh.morethan.io",target:"_blank",rel:"noopener noreferrer"},"JMH Visualizer ","0.9.1")),o.a.createElement(bt.a,{md:2},o.a.createElement("a",{href:"https://github.com/jzillmann/jmh-visualizer",target:"_blank",rel:"noopener noreferrer"},o.a.createElement(Ve.a,{size:"1.5em"}))," | ",o.a.createElement("a",{href:"https://github.com/jzillmann/jmh-visualizer/issues",target:"_blank",rel:"noopener noreferrer"},o.a.createElement(Ge.a,{size:"1.5em"}))))))}),wt=n(114),xt=n.n(wt),kt=n(273),_t=n.n(kt),Et=n(21),St=n.n(Et);function Ot(e,t){var n=e.map(function(){return!0});J.selectBenchmarkRuns(n,t)}var Tt=$(function(e){return{benchmarkRuns:e.benchmarkRuns,runSelection:e.runSelection,runView:e.runView,detailedBenchmarkBundle:e.detailedBenchmarkBundle}})(function(e){var t=e.benchmarkRuns,n=e.runSelection,r=e.runView,a=e.detailedBenchmarkBundle;if(t.length<=1)return null;var i=function(e,t){return e.length<2?[]:t?["Compare"]:["Summary","Compare"]}(t,a),s=n.reduce(function(e,t){return e&&t}),c=n.map(function(e,a){var i=!s&&n[a];return o.a.createElement(St.a,{key:a,bsStyle:i?"primary":"default",bsSize:"small",onClick:function(){return function(e,t,n){var r=e.map(function(e,t){return t==n});J.selectBenchmarkRuns(r,t)}(t,r,a)}},t[a].name)}),l=void 0;if(i.length>1){var u=i.map(function(e){return o.a.createElement(ge.a,{key:e,onClick:function(){return Ot(n,e)}},e)});l=o.a.createElement(_t.a,{id:"all",title:r,bsStyle:s?"primary":"default",bsSize:"small",onClick:function(){return function(e,t){var n=void 0;e.some(function(e){return!e})?n=e.map(function(){return!0}):(n=e,t="Compare"===t?"Summary":"Compare"),J.selectBenchmarkRuns(n,t)}(n,r)}},u)}else l=o.a.createElement(St.a,{bsStyle:s?"primary":"default",bsSize:"small",onClick:function(){return Ot(n,r)}},i[0]);return o.a.createElement("div",{style:{textAlign:"center",marginTop:"-9px",marginBottom:"15px",paddingRight:"20%"}},o.a.createElement(xt.a,null,c)," ",o.a.createElement(xt.a,null,l))}),Mt=n(274),Ct=n.n(Mt);function Pt(e){return o.a.createElement(dt.a,{fluid:!0},o.a.createElement(ht.a,null,o.a.createElement(bt.a,{xs:14,md:10},e.left),o.a.createElement(bt.a,{xs:4,md:2},o.a.createElement(Ct.a,{viewportOffsetTop:15,container:this},o.a.createElement("div",{className:"bs-docs-sidebar"},e.right)))))}Pt.propTypes={left:tt.a.object.isRequired,right:tt.a.object.isRequired};var jt=n(275),At=n.n(jt),Bt=n(276),It=n.n(Bt),Nt=n(277),Dt=n.n(Nt),zt=function(e){function t(e){return D()(this,t),oe()(this,(t.__proto__||te()(t)).call(this,e))}return se()(t,e),re()(t,[{key:"onDrop",value:function(e){J.uploadFiles(e)}},{key:"render",value:function(){return o.a.createElement(At.a,{onDropAccepted:this.onDrop.bind(this),onDropRejected:function(){return alert("Only drop valid JSON files!")},multiple:!0,accept:".json",disableClick:!0,disablePreview:!0,className:"container-fluid",style:{width:"100%",height:"81vh",borderWidth:1,borderColor:Ee,borderStyle:"dashed",borderRadius:25,padding:20,textAlign:"center",verticalAlign:"middle"},rejectStyle:{borderColor:Oe,borderWidth:3,borderStyle:"dotted"},activeStyle:{borderColor:Oe,borderWidth:3,borderStyle:"dotted"}},o.a.createElement("div",null,o.a.createElement("h1",{style:{marginBottom:20}},"Dropzone"),o.a.createElement("h5",null,"Drop your JMH JSON report file(s) here!")),o.a.createElement("h2",null,o.a.createElement(It.a,{width:100,height:100})),o.a.createElement("br",null),o.a.createElement(Dt.a,{bsStyle:"warning"},o.a.createElement("div",null,o.a.createElement("blockquote",{style:{fontSize:14,paddingLeft:0,marginBottom:5}},o.a.createElement("i",null,'"',o.a.createElement("a",{href:"http://openjdk.java.net/projects/code-tools/jmh/"},"JMH"),' is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targetting the JVM."')),o.a.createElement("div",null,"Use this tool to visually explore your benchmark results! Simply upload",o.a.createElement("sup",null,"*")," any JMH result files (in JSON format)."))),o.a.createElement("br",null),o.a.createElement("div",{style:{fontSize:12,textAlign:"center"}},"* Your data stays locally in your browser, it is not send to any server!"))}}]),t}(o.a.Component),Rt=n(47),Ut=n.n(Rt),Lt=n(73),Ft=n.n(Lt),qt=n(115),Wt=n.n(qt),Ht=n(30),Kt=n.n(Ht),Vt=n(41),Yt=n.n(Vt),Gt=n(72),Xt=n.n(Gt),$t=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.state={url1:"",url2:""},r.handleUrl1Change=r.handleUrl1Change.bind(r),r.handleUrl2Change=r.handleUrl2Change.bind(r),r.handleSubmit=r.handleSubmit.bind(r),r}return se()(t,e),re()(t,[{key:"handleUrl1Change",value:function(e){this.setState({url1:e.target.value})}},{key:"handleUrl2Change",value:function(e){this.setState({url2:e.target.value})}},{key:"handleSubmit",value:function(){var e=new URLSearchParams(window.location.search);e.delete("source"),e.delete("sources"),e.delete("gist"),e.delete("gists"),this.state.url2?e.set("sources",this.state.url1+","+this.state.url2):e.set("source",this.state.url1),window.location.search=decodeURIComponent(e.toString())}},{key:"render",value:function(){return o.a.createElement(Wt.a,{horizontal:!0},o.a.createElement(Kt.a,{controlId:"url1"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," URL 1"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleUrl1Change}))),o.a.createElement(Kt.a,{controlId:"url2"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," URL 2 (optional)"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleUrl2Change}))),o.a.createElement(Kt.a,null,o.a.createElement(bt.a,{smOffset:2,sm:10},o.a.createElement(St.a,{onClick:this.handleSubmit,disabled:!this.state.url1},"Load"))))}}]),t}(o.a.Component),Jt=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.state={gist1:"",gist2:""},r.handleGist1Change=r.handleGist1Change.bind(r),r.handleGist2Change=r.handleGist2Change.bind(r),r.handleSubmit=r.handleSubmit.bind(r),r}return se()(t,e),re()(t,[{key:"handleGist1Change",value:function(e){this.setState({gist1:e.target.value})}},{key:"handleGist2Change",value:function(e){this.setState({gist2:e.target.value})}},{key:"handleSubmit",value:function(){var e=new URLSearchParams(window.location.search);e.delete("source"),e.delete("sources"),e.delete("gist"),e.delete("gists"),this.state.gist2?e.set("gists",this.state.gist1+","+this.state.gist2):e.set("gist",this.state.gist1),window.location.search=decodeURIComponent(e.toString())}},{key:"render",value:function(){return o.a.createElement(Wt.a,{horizontal:!0},o.a.createElement(Kt.a,{controlId:"gist1"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," Gist 1"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleGist1Change}))),o.a.createElement(Kt.a,{controlId:"gist2"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," Gist 2 (optional)"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleGist2Change}))),o.a.createElement(Kt.a,null,o.a.createElement(bt.a,{smOffset:2,sm:10},o.a.createElement(St.a,{onClick:this.handleSubmit,disabled:!this.state.gist1},"Load"))))}}]),t}(o.a.Component),Qt=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.state={urlDialogVisible:!1,gistDialogVisible:!1},r.showUrlDialog=r.showUrlDialog.bind(r),r.hideUrlDialog=r.hideUrlDialog.bind(r),r.showGistDialog=r.showGistDialog.bind(r),r.hideGistDialog=r.hideGistDialog.bind(r),r}return se()(t,e),re()(t,[{key:"showUrlDialog",value:function(){this.setState({urlDialogVisible:!0})}},{key:"hideUrlDialog",value:function(){this.setState({urlDialogVisible:!1})}},{key:"showGistDialog",value:function(){this.setState({gistDialogVisible:!0})}},{key:"hideGistDialog",value:function(){this.setState({gistDialogVisible:!1})}},{key:"render",value:function(){return o.a.createElement("div",{style:{whiteSpace:"nowrap"}},o.a.createElement("div",null,o.a.createElement("div",{className:"btn btn-default",style:{position:"relative"}},"Open File Dialog",o.a.createElement("input",{type:"file",multiple:!0,accept:".json",onChange:function(e){J.uploadFiles([].concat(S()(e.target.files)))},style:{opacity:0,position:"absolute",top:0,left:0,bottom:0,right:0}}))),o.a.createElement("br",null),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:J.loadSingleRunExample},"Load Single Run Example")),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:J.loadTwoRunsExample},"Load Two Runs Example")),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:J.loadMultiRunExample},"Load Multi Run Example")),o.a.createElement("hr",null),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:this.showUrlDialog},"Load from URL(s)")),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:this.showGistDialog},"Load from Gist(s)")),o.a.createElement("br",null),o.a.createElement(Ut.a,{show:this.state.urlDialogVisible,onHide:this.hideUrlDialog},o.a.createElement(Ut.a.Header,{closeButton:!0},o.a.createElement(Ut.a.Title,null,"Load JMH benchmarks from external URL(s)")),o.a.createElement(Ut.a.Body,null,o.a.createElement($t,null))),o.a.createElement(Ut.a,{show:this.state.gistDialogVisible,onHide:this.hideGistDialog},o.a.createElement(Ut.a.Header,{closeButton:!0},o.a.createElement(Ut.a.Title,null,"Load JMH benchmarks from external Gist(s)")),o.a.createElement(Ut.a.Body,null,o.a.createElement(Jt,null))))}}]),t}(o.a.Component),Zt=function(){return o.a.createElement(Pt,{left:o.a.createElement(zt,null),right:o.a.createElement(Qt,null)})},en=n(35),tn=n.n(en),nn=n(87),rn=n.n(nn),an=function(){function e(t){D()(this,e),this.key=t.key,this.name=t.name,this.methodNames=t.methodNames,this.benchmarkMethods=t.benchmarkMethods}return re()(e,[{key:"allBenchmarks",value:function(){return M(this.benchmarkMethods.map(function(e){return e.benchmarks.filter(function(e){return e})}))}},{key:"benchmarksFromRun",value:function(e){return M(this.benchmarkMethods.map(function(t){return t.benchmarks[e]}).filter(function(e){return e}))}}]),e}(),on=function e(t){D()(this,e),this.key=function(e,t){var n=e;return t&&(n+=" ["+t.map(function(e){return e[0]+"="+e[1]}).join(":")+"]"),n}(t.name,t.params),this.name=t.name,this.params=t.params,this.benchmarks=t.benchmarks};function sn(e){return e.split(".").reverse()[0]}function cn(e,t){var n=new g.a;return e.allBenchmarks().forEach(function(e){n.add(t.extractType(e))}),tn()(n)}function ln(e){var t=function(e){var t=new _.a;return e.forEach(function(e,n){e.benchmarks.forEach(function(e){var r=function(e){var t=e.benchmark.split(".");return t.pop(),t.join(".")}(e),a=t.get(r);void 0===a&&(a=new _.a,t.set(r,a));var o=function(e){var t=function(e){var t=e.benchmark.split(".");return t[t.length-1]}(e);return e.params&&_e()(e.params).forEach(function(n){t+=" "+n+"="+e.params[n]}),t}(e),i=a.get(o);for(i&&i.length==n+1&&(o=o+"_"+e.mode,i=a.get(o)),void 0===i&&(i=[],a.set(o,i));i.length0?k.map(function(e){return e.split("=")}):null;f.push(new on({name:E,params:O,benchmarks:x})),d.add(E)}}catch(e){h=!0,m=e}finally{try{!p&&y.return&&y.return()}finally{if(h)throw m}}n.push(new an({key:l,name:sn(l),benchmarkMethods:f,methodNames:[].concat(S()(d))}))}}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}var un=function e(t,n){D()(this,e);var r=t.filter(function(e,t){return n[t]});this.benchmarkRuns=t,this.runSelection=n,this.runNames=r.map(function(e){return e.name}),this.benchmarkBundles=ln(r)},fn=n(116),dn=n.n(fn),pn=n(278),hn=n.n(pn),mn=n(148),bn=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){return o.a.createElement("li",this.props,this.props.children)}}]),t}(o.a.Component);bn.propTypes={children:tt.a.node.isRequired};var gn=mn.Helpers.Scroll(bn),yn=n(148),vn=yn.scrollSpy,wn=yn.scroller,xn=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"componentDidMount",value:function(){vn.update()}},{key:"scrollTo",value:function(e){wn.scrollTo(e,{duration:500,delay:50,smooth:"linear",offset:-25})}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.activeCategory,a=t.elementIds,i=t.elementNames,s=t.linkControlsCreators;return o.a.createElement("ul",{className:"nav"},n.map(function(t){return o.a.createElement("li",{key:t,className:t===r?"active":""},o.a.createElement("div",null,o.a.createElement("a",{onClick:function(){return J.selectCategory(t)}},t)),o.a.createElement("ul",{className:"nav"},t===r?a.map(function(t,n){return o.a.createElement(gn,{key:t,activeClass:"active",to:t,spy:!0,offset:-200,duration:720,delay:50,smooth:"easeOutSine"},o.a.createElement("div",null,s.map(function(e){return e(t)}),o.a.createElement("a",{onClick:e.scrollTo.bind(e,t)},i[n])))}):""))}))}}]),t}(o.a.PureComponent);xn.propTypes={categories:tt.a.array.isRequired,activeCategory:tt.a.string.isRequired,elementIds:tt.a.array.isRequired,elementNames:tt.a.array.isRequired,linkControlsCreators:tt.a.array.isRequired};var kn=xn,_n=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.benchmarkBundles,n=e.metrics,r=e.metricExtractor,a=e.buttons,i=e.focusedBenchmarkBundles,s=e.categories,c=e.activeCategory,l=n.filter(function(e){return e.startsWith("·")||"Score"===e}).map(function(e){return o.a.createElement("option",{key:e,value:e},e)}),u=t.map(function(e){return e.key}),f=t.map(function(e){return e.name});return o.a.createElement("div",null,o.a.createElement(Kt.a,{controlId:"formControlsSelectMultiple",bsSize:"small"},o.a.createElement(dn.a,null,o.a.createElement(De,{tooltip:"No secondary metrics found!!",position:"bottom",disabled:n.length>1},o.a.createElement(Yt.a,{componentClass:"select",onChange:function(e){J.selectMetric(e.target.value)},value:r.metricKey,disabled:n.length<2},l)))),a,o.a.createElement("hr",{style:{marginTop:"10px",marginBottom:"10px"}}),o.a.createElement(kn,{categories:s,activeCategory:c,elementIds:u,elementNames:f,linkControlsCreators:[function(e){return o.a.createElement("span",{key:"focus-"+e,onClick:function(t){t.stopPropagation(),J.focusBundle(e)},className:i.has(e)?" focused":" clickable"},o.a.createElement("sup",null,o.a.createElement(hn.a,null))," ")},function(e){return o.a.createElement("span",{key:"detail-"+e,onClick:function(t){t.stopPropagation(),J.detailBenchmarkBundle(e)},className:"clickable"},o.a.createElement("sup",null,o.a.createElement(Le.a,null))," ")}]}))}}]),t}(o.a.Component);_n.propTypes={benchmarkBundles:tt.a.array.isRequired,metrics:tt.a.array.isRequired,metricExtractor:tt.a.object.isRequired,buttons:tt.a.array,focusedBenchmarkBundles:tt.a.object.isRequired,categories:tt.a.array.isRequired,activeCategory:tt.a.string.isRequired};var En=_n,Sn=n(36),On=n.n(Sn),Tn=n(279),Mn=n.n(Tn),Cn=(n(478),n(148).Element),Pn=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){return o.a.createElement(Cn,this.props,this.props.children)}}]),t}(o.a.Component);Pn.propTypes={name:tt.a.string.isRequired,children:tt.a.node.isRequired};var jn=Pn,An=n(88),Bn=n.n(An),In=n(62),Nn=n.n(In),Dn=function(e){var t=e.name,n=e.tooltip,r=e.children,a=void 0===r?[]:r;return o.a.createElement(De,{tooltip:n,position:"top"},o.a.createElement(On.a,{bsStyle:"default"},t,a))},zn=function e(t,n,r){D()(this,e),this.displayName=t,this.description=n,this.increaseIsGood=r},Rn=new _.a;function Un(e){var t=Rn.get(e);return t||new zn(e,"...",!1)}function Ln(e){var t=Un(e);return t?o.a.createElement(Dn,{key:e,name:t.displayName,tooltip:t.description}):null}Rn.set("thrpt",new zn("Throughput","Operations per unit of time - the higher the bars, the better!",!0)),Rn.set("avgt",new zn("Average Time","Average time per operation - the lower the bars, the better!",!1)),Rn.set("sample",new zn("Sampling Time","Samples the time for each operation - the lower the bars, the better!",!1)),Rn.set("ss",new zn("Single Shot Time","Measures the time for a single operation - the lower the bars, the better!",!1)),Rn.set("·gc.alloc.rate",new zn("Allocation Rate","The amount of memory allocated per time unit - the lower the bars, the better!",!1)),Rn.set("·gc.alloc.rate.norm",new zn("Allocation Rate per operation","The amount of memory allocated per operation - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Eden_Space",new zn("Eden Allocation Churn","The amount of memory the garbage collector frees from Eden space per time unit - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Eden_Space.norm",new zn("Eden Allocation Churn per operation","The amount of memory the garbage collector frees from Eden space per operation - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Survivor_Space",new zn("Survivor Allocation Churn","The amount of memory the garbage collector frees from Survivor space per time unit - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Survivor_Space.norm",new zn("Survivor Allocation Churn per operation","The amount of memory the garbage collector frees from Survivor space per operation - the lower the bars, the better!",!1)),Rn.set("·gc.count",new zn("GC Count","How many garbage collections occured - the lower the bars, the better!",!1)),Rn.set("·gc.time",new zn("GC Time","Time spend for garbage collection - the lower the bars, the better!",!1));var Fn=function(e){var t=e.name,n=e.badges,r=e.children;return o.a.createElement(qn,{fullName:"",name:t,badges:n},r)};function qn(e){var t=e.fullName,n=e.name,r=e.badges,a=e.children;return o.a.createElement("h3",{id:t},o.a.createElement(De,{tooltip:t,position:"right",disabled:0==t.length},o.a.createElement("span",null,n))," ",o.a.createElement("span",{className:"superscript"},r),a)}var Wn=function(e){var t=e.benchmarkBundle,n=e.metricExtractor,r=e.children;r=Array.isArray(r)?r:[r];var a=cn(t,n).map(function(e){return Ln(e)});return o.a.createElement(qn,{fullName:t.key,name:t.name,badges:a},r.map(function(e){return o.a.createElement("span",{key:e.displayName||e.name||e.key,className:"superscript"}," | ",e)}))};n(481);if(!Object.setPrototypeOf&&!{}.__proto__){var Hn=Object.getPrototypeOf;Object.getPrototypeOf=function(e){return e.__proto__?e.__proto__:Hn.call(Object,e)}}var Kn=n(3),Vn=n.n(Kn),Yn=n(2),Gn=n.n(Yn),Xn=function(e){return 0===e?0:e>0?1:-1},$n=function(e){return Gn.a.isString(e)&&e.indexOf("%")===e.length-1},Jn=function(e){return Gn.a.isNumber(e)&&!Gn.a.isNaN(e)},Qn=function(e){return Jn(e)||Gn.a.isString(e)},Zn=0,er=function(e){var t=++Zn;return"".concat(e||"").concat(t)},tr=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Jn(e)&&!Gn.a.isString(e))return r;if($n(e)){var o=e.indexOf("%");n=t*parseFloat(e.slice(0,o))/100}else n=+e;return Gn.a.isNaN(n)&&(n=r),a&&n>t&&(n=t),n},nr=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},rr=function(e,t){return Jn(e)&&Jn(t)?function(n){return e+n*(t-e)}:function(){return t}},ar=function(e,t,n){return e&&e.length?e.find(function(e){return e&&Gn.a.get(e,t)===n}):null};function or(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function ir(e,t){return!or(e,this.props)||!or(t,this.state)}function sr(e){e.prototype.shouldComponentUpdate=ir}function cr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ur={alignmentBaseline:tt.a.string,angle:tt.a.number,baselineShift:tt.a.string,clip:tt.a.string,clipPath:tt.a.string,clipRule:tt.a.string,color:tt.a.string,colorInterpolation:tt.a.string,colorInterpolationFilters:tt.a.string,colorProfile:tt.a.string,colorRendering:tt.a.string,cursor:tt.a.string,direction:tt.a.oneOf(["ltr","rtl","inherit"]),display:tt.a.string,dominantBaseline:tt.a.string,enableBackground:tt.a.string,fill:tt.a.string,fillOpacity:tt.a.oneOfType([tt.a.string,tt.a.number]),fillRule:tt.a.oneOf(["nonzero","evenodd","inherit"]),filter:tt.a.string,floodColor:tt.a.string,floodOpacity:tt.a.oneOfType([tt.a.string,tt.a.number]),font:tt.a.string,fontFamily:tt.a.string,fontSize:tt.a.oneOfType([tt.a.number,tt.a.string]),fontSizeAdjust:tt.a.oneOfType([tt.a.number,tt.a.string]),fontStretch:tt.a.oneOf(["normal","wider","narrower","ultra-condensed","extra-condensed","condensed","semi-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded","inherit"]),fontStyle:tt.a.oneOf(["normal","italic","oblique","inherit"]),fontVariant:tt.a.oneOf(["normal","small-caps","inherit"]),fontWeight:tt.a.oneOf(["normal","bold","bolder","lighter",100,200,300,400,500,600,700,800,900,"inherit"]),glyphOrientationHorizontal:tt.a.string,glyphOrientationVertical:tt.a.string,imageRendering:tt.a.oneOf(["auto","optimizeSpeed","optimizeQuality","inherit"]),kerning:tt.a.oneOfType([tt.a.number,tt.a.string]),letterSpacing:tt.a.oneOfType([tt.a.number,tt.a.string]),lightingColor:tt.a.string,markerEnd:tt.a.string,markerMid:tt.a.string,markerStart:tt.a.string,mask:tt.a.string,opacity:tt.a.oneOfType([tt.a.number,tt.a.string]),overflow:tt.a.oneOf(["visible","hidden","scroll","auto","inherit"]),pointerEvents:tt.a.oneOf(["visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","none","inherit"]),shapeRendering:tt.a.oneOf(["auto","optimizeSpeed","crispEdges","geometricPrecision","inherit"]),stopColor:tt.a.string,stopOpacity:tt.a.oneOfType([tt.a.number,tt.a.string]),stroke:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeDasharray:tt.a.string,strokeDashoffset:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeLinecap:tt.a.oneOf(["butt","round","square","inherit"]),strokeLinejoin:tt.a.oneOf(["miter","round","bevel","inherit"]),strokeMiterlimit:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeOpacity:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeWidth:tt.a.oneOfType([tt.a.number,tt.a.string]),textAnchor:tt.a.oneOf(["start","middle","end","inherit"]),textDecoration:tt.a.oneOf(["none","underline","overline","line-through","blink","inherit"]),textRendering:tt.a.oneOf(["auto","optimizeSpeed","optimizeLegibility","geometricPrecision","inherit"]),unicodeBidi:tt.a.oneOf(["normal","embed","bidi-override","inherit"]),visibility:tt.a.oneOf(["visible","hidden","collapse","inherit"]),wordSpacing:tt.a.oneOfType([tt.a.number,tt.a.string]),writingMode:tt.a.oneOf(["lr-tb","rl-tb","tb-rl","lr","rl","tb","inherit"]),transform:tt.a.string,style:tt.a.object,width:tt.a.number,height:tt.a.number,dx:tt.a.number,dy:tt.a.number,x:tt.a.number,y:tt.a.number,r:tt.a.number,radius:tt.a.oneOfType([tt.a.number,tt.a.array])},fr={onClick:tt.a.func,onMouseDown:tt.a.func,onMouseUp:tt.a.func,onMouseOver:tt.a.func,onMouseMove:tt.a.func,onMouseOut:tt.a.func,onMouseEnter:tt.a.func,onMouseLeave:tt.a.func,onTouchEnd:tt.a.func,onTouchMove:tt.a.func,onTouchStart:tt.a.func,onTouchCancel:tt.a.func},dr={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},pr=["auto","linear","pow","sqrt","log","identity","time","band","point","ordinal","quantile","quantize","utc","sequential","threshold"],hr=["plainline","line","square","rect","circle","cross","diamond","star","triangle","wye","none"],mr=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},br=function(e,t){var n=[],r=[];return r=Gn.a.isArray(t)?t.map(function(e){return mr(e)}):[mr(t)],o.a.Children.forEach(e,function(e){var t=e&&e.type&&(e.type.displayName||e.type.name);-1!==r.indexOf(t)&&n.push(e)}),n},gr=function(e,t){var n=br(e,t);return n&&n[0]},yr=function(e){if(!e||Gn.a.isFunction(e))return null;var t=o.a.isValidElement(e)?e.props:e;if(!Gn.a.isObject(t))return null;var n=null;for(var r in t)({}).hasOwnProperty.call(t,r)&&ur[r]&&(n||(n={}),n[r]=t[r]);return n},vr=function(e,t){return function(n){return e(t,n),null}},wr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||Gn.a.isFunction(e))return null;var r=o.a.isValidElement(e)?e.props:e;if(!Gn.a.isObject(r))return null;var a=null;for(var i in r)({}).hasOwnProperty.call(r,i)&&fr[i]&&(a||(a={}),a[i]=t||(n?vr(r[i],r):r[i]));return a},xr=function(e,t,n){return function(r){return e(t,n,r),null}},kr=function(e,t,n){if(!Gn.a.isObject(e))return null;var r=null;for(var a in e)({}).hasOwnProperty.call(e,a)&&fr[a]&&Gn.a.isFunction(e[a])&&(r||(r={}),r[a]=xr(e[a],t,n));return r},_r=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Jn(n)||n<=0||!Jn(r)||r<=0)},Er=function(){return!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout)},Sr=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Or=function(e){var t=[];return o.a.Children.forEach(e,function(e){e&&e.type&&Gn.a.isString(e.type)&&Sr.indexOf(e.type)>=0&&t.push(e)}),t},Tr=function(e,t){if(Gn.a.isNil(e)&&Gn.a.isNil(t))return!0;if(!Gn.a.isNil(e)&&!Gn.a.isNil(t)){var n=e.props||{},r=n.children,a=lr(n,["children"]),o=t.props||{},i=o.children,s=lr(o,["children"]);return r&&i?or(a,s)&&Mr(r,i):!r&&!i&&or(a,s)}return!1},Mr=function e(t,n){if(t===n)return!0;if(a.Children.count(t)!==a.Children.count(n))return!1;var r=a.Children.count(t);if(0===r)return!0;if(1===r)return Tr(Gn.a.isArray(t)?t[0]:t,Gn.a.isArray(n)?n[0]:n);for(var o=0;o=0}(e))n.push(e);else if(e&&t[mr(e.type)]){var o=mr(e.type),i=t[o],s=i.handler,c=i.once;if(c&&!r[o]||!c){var l=s(e,o,a);Gn.a.isArray(l)?n=[n].concat(cr(l)):n.push(l),r[o]=!0}}}),n},Pr=function(e){var t=e&&e.type;return t&&dr[t]?dr[t]:null};function jr(){return(jr=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Br={width:tt.a.number.isRequired,height:tt.a.number.isRequired,viewBox:tt.a.shape({x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number}),className:tt.a.string,style:tt.a.object,children:tt.a.oneOfType([tt.a.arrayOf(tt.a.node),tt.a.node])};function Ir(e){var t=e.children,n=e.width,r=e.height,a=e.viewBox,i=e.className,s=e.style,c=Ar(e,["children","width","height","viewBox","className","style"]),l=a||{width:n,height:r,x:0,y:0},u=Vn()("recharts-surface",i),f=yr(c);return o.a.createElement("svg",jr({},f,{className:u,width:n,height:r,style:s,viewBox:"".concat(l.x," ").concat(l.y," ").concat(l.width," ").concat(l.height),version:"1.1"}),t)}Ir.propTypes=Br;var Nr=Ir;function Dr(){return(Dr=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Rr={className:tt.a.string,children:tt.a.oneOfType([tt.a.arrayOf(tt.a.node),tt.a.node])};function Ur(e){var t=e.children,n=e.className,r=zr(e,["children","className"]),a=Vn()("recharts-layer",n);return o.a.createElement("g",Dr({className:a},r),t)}Ur.propTypes=Rr;var Lr=Ur,Fr=Math.PI,qr=2*Fr,Wr=qr-1e-6;function Hr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Kr(){return new Hr}Hr.prototype=Kr.prototype={constructor:Hr,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+o)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var o=this._x1,i=this._y1,s=n-e,c=r-t,l=o-e,u=i-t,f=l*l+u*u;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(u*s-c*l)>1e-6&&a){var d=n-o,p=r-i,h=s*s+c*c,m=d*d+p*p,b=Math.sqrt(h),g=Math.sqrt(f),y=a*Math.tan((Fr-Math.acos((h+f-m)/(2*b*g)))/2),v=y/g,w=y/b;Math.abs(v-1)>1e-6&&(this._+="L"+(e+v*l)+","+(t+v*u)),this._+="A"+a+","+a+",0,0,"+ +(u*d>l*p)+","+(this._x1=e+w*s)+","+(this._y1=t+w*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,a,o){e=+e,t=+t;var i=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=e+i,l=t+s,u=1^o,f=o?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),n&&(f<0&&(f=f%qr+qr),f>Wr?this._+="A"+n+","+n+",0,1,"+u+","+(e-i)+","+(t-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Fr)+","+u+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Vr=Kr,Yr=function(e){return function(){return e}},Gr=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,1e-12),Xr=Math.PI,$r=2*Xr;function Jr(e){this._context=e}Jr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var Qr=function(e){return new Jr(e)};function Zr(e){return e[0]}function ea(e){return e[1]}var ta=function(){var e=Zr,t=ea,n=Yr(!0),r=null,a=Qr,o=null;function i(i){var s,c,l,u=i.length,f=!1;for(null==r&&(o=a(l=Vr())),s=0;s<=u;++s)!(s=u;--f)s.point(b[f],g[f]);s.lineEnd(),s.areaEnd()}m&&(b[l]=+e(d,l,c),g[l]=+n(d,l,c),s.point(t?+t(d,l,c):b[l],r?+r(d,l,c):g[l]))}if(p)return s=null,p+""||null}function l(){return ta().defined(a).curve(i).context(o)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:Yr(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:Yr(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:Yr(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:Yr(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:Yr(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Yr(+e),c):r},c.lineX0=c.lineY0=function(){return l().x(e).y(n)},c.lineY1=function(){return l().x(e).y(r)},c.lineX1=function(){return l().x(t).y(n)},c.defined=function(e){return arguments.length?(a="function"==typeof e?e:Yr(!!e),c):a},c.curve=function(e){return arguments.length?(i=e,null!=o&&(s=i(o)),c):i},c.context=function(e){return arguments.length?(null==e?o=s=null:s=i(o=e),c):o},c};aa(Qr);function ra(e){this._curve=e}function aa(e){function t(t){return new ra(e(t))}return t._curve=e,t}ra.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var oa=Array.prototype.slice;var ia={draw:function(e,t){var n=Math.sqrt(t/Xr);e.moveTo(n,0),e.arc(0,0,n,0,$r)}},sa={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},ca=Math.sqrt(1/3),la=2*ca,ua={draw:function(e,t){var n=Math.sqrt(t/la),r=n*ca;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},fa=Math.sin(Xr/10)/Math.sin(7*Xr/10),da=Math.sin($r/10)*fa,pa=-Math.cos($r/10)*fa,ha={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=da*n,a=pa*n;e.moveTo(0,-n),e.lineTo(r,a);for(var o=1;o<5;++o){var i=$r*o/5,s=Math.cos(i),c=Math.sin(i);e.lineTo(c*n,-s*n),e.lineTo(s*r-c*a,c*r+s*a)}e.closePath()}},ma={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},ba=Math.sqrt(3),ga={draw:function(e,t){var n=-Math.sqrt(t/(3*ba));e.moveTo(0,2*n),e.lineTo(-ba*n,-n),e.lineTo(ba*n,-n),e.closePath()}},ya=Math.sqrt(3)/2,va=1/Math.sqrt(12),wa=3*(va/2+1),xa={draw:function(e,t){var n=Math.sqrt(t/wa),r=n/2,a=n*va,o=r,i=n*va+n,s=-o,c=i;e.moveTo(r,a),e.lineTo(o,i),e.lineTo(s,c),e.lineTo(-.5*r-ya*a,ya*r+-.5*a),e.lineTo(-.5*o-ya*i,ya*o+-.5*i),e.lineTo(-.5*s-ya*c,ya*s+-.5*c),e.lineTo(-.5*r+ya*a,-.5*a-ya*r),e.lineTo(-.5*o+ya*i,-.5*i-ya*o),e.lineTo(-.5*s+ya*c,-.5*c-ya*s),e.closePath()}},ka=function(){};function _a(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Ea(e){this._context=e}Ea.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:_a(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:_a(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Sa(e){this._context=e}Sa.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:_a(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Oa(e){this._context=e}Oa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:_a(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ta(e,t){this._basis=new Ea(e),this._beta=t}Ta.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,a=e[0],o=t[0],i=e[n]-a,s=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(a+r*i),this._beta*t[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};(function e(t){function n(e){return 1===t?new Ea(e):new Ta(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function Ma(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Ca(e,t){this._context=e,this._k=(1-t)/6}Ca.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ma(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Ma(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new Ca(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Pa(e,t){this._context=e,this._k=(1-t)/6}Pa.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ma(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new Pa(e,t)}return n.tension=function(t){return e(+t)},n})(0);function ja(e,t){this._context=e,this._k=(1-t)/6}ja.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ma(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new ja(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Aa(e,t,n){var r=e._x1,a=e._y1,o=e._x2,i=e._y2;if(e._l01_a>Gr){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,a=(a*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Gr){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/u,i=(i*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,a,o,i,e._x2,e._y2)}function Ba(e,t){this._context=e,this._alpha=t}Ba.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Aa(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new Ba(e,t):new Ca(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Ia(e,t){this._context=e,this._alpha=t}Ia.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Aa(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new Ia(e,t):new Pa(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Na(e,t){this._context=e,this._alpha=t}Na.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Aa(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new Na(e,t):new ja(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Da(e){this._context=e}Da.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function za(e){return e<0?-1:1}function Ra(e,t,n){var r=e._x1-e._x0,a=t-e._x1,o=(e._y1-e._y0)/(r||a<0&&-0),i=(n-e._y1)/(a||r<0&&-0),s=(o*a+i*r)/(r+a);return(za(o)+za(i))*Math.min(Math.abs(o),Math.abs(i),.5*Math.abs(s))||0}function Ua(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function La(e,t,n){var r=e._x0,a=e._y0,o=e._x1,i=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,a+s*t,o-s,i-s*n,o,i)}function Fa(e){this._context=e}function qa(e){this._context=new Wa(e)}function Wa(e){this._context=e}function Ha(e){this._context=e}function Ka(e){var t,n,r=e.length-1,a=new Array(r),o=new Array(r),i=new Array(r);for(a[0]=0,o[0]=2,i[0]=e[0]+2*e[1],t=1;t=0;--t)a[t]=(i[t]-a[t+1])/o[t];for(o[r-1]=(e[r]+a[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Ya=function(e,t){if((a=e.length)>1)for(var n,r,a,o=1,i=e[t[0]],s=i.length;o=0;)n[t]=t;return n};function Xa(e,t){return e[t]}var $a,Ja,Qa;function Za(e){return(Za="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function to(){return(to=Object.assign||function(e){for(var t=1;t=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,a=r.layout,o=r.align,i=r.verticalAlign,s=r.margin,c=r.chartWidth,l=r.chartHeight;if(!e||(void 0===e.left||null===e.left)&&(void 0===e.right||null===e.right))if("center"===o&&"vertical"===a){var u=this.getBBox()||{width:0};t={left:((c||0)-u.width)/2}}else t="right"===o?{right:s&&s.right||0}:{left:s&&s.left||0};if(!e||(void 0===e.top||null===e.top)&&(void 0===e.bottom||null===e.bottom))if("middle"===i){var f=this.getBBox()||{height:0};n={top:((l||0)-f.height)/2}}else n="bottom"===i?{bottom:s&&s.bottom||0}:{top:s&&s.top||0};return Oo({},t,n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var a=this.wrapperNode.getBoundingClientRect();(Math.abs(a.width-t)>1||Math.abs(a.height-n)>1)&&this.setState({boxWidth:a.width,boxHeight:a.height},function(){r&&r(a)})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},function(){r&&r(null)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,a=t.height,i=t.wrapperStyle,s=Oo({position:"absolute",width:r||"auto",height:a||"auto"},this.getDefaultPosition(i),i);return o.a.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(t){e.wrapperNode=t}},function(e,t){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(Eo,t)}(n,this.props))}}],[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&Jn(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}]),t}(),xo.displayName="Legend",xo.propTypes={content:tt.a.oneOfType([tt.a.element,tt.a.func]),wrapperStyle:tt.a.object,chartWidth:tt.a.number,chartHeight:tt.a.number,width:tt.a.number,height:tt.a.number,iconSize:tt.a.number,iconType:tt.a.oneOf(Ao),layout:tt.a.oneOf(["horizontal","vertical"]),align:tt.a.oneOf(["center","left","right"]),verticalAlign:tt.a.oneOf(["top","bottom","middle"]),margin:tt.a.shape({top:tt.a.number,left:tt.a.number,bottom:tt.a.number,right:tt.a.number}),payload:tt.a.arrayOf(tt.a.shape({value:tt.a.any,id:tt.a.any,type:tt.a.oneOf(hr)})),formatter:tt.a.func,onMouseEnter:tt.a.func,onMouseLeave:tt.a.func,onClick:tt.a.func,onBBoxUpdate:tt.a.func},xo.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},wo=ko))||wo,Io=n(89),No=n.n(Io),Do=n(55),zo=n.n(Do);function Ro(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;zo()(function r(a){n<0&&(n=a),a-n>t?(e(a),n=-1):zo()(r)})}function Uo(e){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lo(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Fo(){var e=function(){return null},t=!1;return{stop:function(){t=!0},start:function(n){t=!1,function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var a=Lo(r),o=a[0],i=a.slice(1);return"number"==typeof o?void Ro(n.bind(null,i),o):(n(o),void Ro(n.bind(null,i)))}"object"===Uo(r)&&e(r),"function"==typeof r&&r()}}(n)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}var qo=n(171),Wo=n.n(qo),Ho=n(28),Ko=n.n(Ho);function Vo(e){return(Vo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yo(e,t){if(e===t)return!0;if("object"!==Vo(e)||null===e||"object"!==Vo(t)||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=hasOwnProperty.bind(t),o=0;o=0&&e<=1});var s=ui(r,o),c=ui(a,i),l=function(e,t){return function(n){var r=si(ci(e,t).map(function(e,t){return e*t}).slice(1)).concat([0]);return li(r,n)}}(r,o),u=function(e){return e>1?1:e<0?0:e},f=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var a=s(n)-t,o=l(n);if(Math.abs(a-t)<1e-4||o<1e-4)return c(n);n=u(n-a/o)}return c(n)};return f.isStepper=!1,f},di=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,a=void 0===r?8:r,o=e.dt,i=void 0===o?17:o,s=function(e,t,r){var o=r+(-(e-t)*n-r*a)*i/1e3,s=r*i/1e3+e;return Math.abs(s-t)<1e-4&&Math.abs(o)<1e-4?[t,0]:[s,o]};return s.isStepper=!0,s.dt=i,s}()}return"function"==typeof r?r:null},pi=n(281),hi=n.n(pi);function mi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ti(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0?n[a-1]:r,d=l||Object.keys(c);if("function"==typeof s||"spring"===s)return Ti(e).concat([t.runJSAnimation.bind(t,{from:f.style,to:c,duration:o,easing:s}),o]);var p=ii(d,o,s),h=Mi({},f.style,c,{transition:p});return Ti(e).concat([h,o,u]).filter(ri)},[i,Math.max(c,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Fo());var t=e.begin,n=e.duration,r=e.attributeName,a=e.to,o=e.easing,i=e.onAnimationStart,s=e.onAnimationEnd,c=e.steps,l=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof l&&"spring"!==o)if(c.length>1)this.runStepAnimation(e);else{var f=r?Ci({},r,a):a,d=ii(Object.keys(f),n,o);u.start([i,t,Mi({},f,{transition:d}),n,s])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),r=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,Oi(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=a.Children.count(t),s=oi(this.state.style);if("function"==typeof t)return t(s);if(!n||0===i)return t;var c=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,i=t.className;return Object(a.cloneElement)(e,Mi({},r,{style:Mi({},o,s),className:i}))};return 1===i?c(a.Children.only(t)):o.a.createElement("div",null,a.Children.map(t,function(e){return c(e)}))}}]),t}(),wi.displayName="Animate",wi.propTypes={from:tt.a.oneOfType([tt.a.object,tt.a.string]),to:tt.a.oneOfType([tt.a.object,tt.a.string]),attributeName:tt.a.string,duration:tt.a.number,begin:tt.a.number,easing:tt.a.oneOfType([tt.a.string,tt.a.func]),steps:tt.a.arrayOf(tt.a.shape({duration:tt.a.number.isRequired,style:tt.a.object.isRequired,easing:tt.a.oneOfType([tt.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),tt.a.func]),properties:tt.a.arrayOf("string"),onAnimationEnd:tt.a.func})),children:tt.a.oneOfType([tt.a.node,tt.a.func]),isActive:tt.a.bool,canBegin:tt.a.bool,onAnimationEnd:tt.a.func,shouldReAnimate:tt.a.bool,onAnimationStart:tt.a.func,onAnimationReStart:tt.a.func},wi.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},vi=xi))||vi,Di=n(117),zi=n(172),Ri=n.n(zi);function Ui(e){return(Ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Li(){return(Li=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function qi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce(function(e,t){return e+(Ri()(t.duration)&&t.duration>0?t.duration:0)},0):Ri()(n)?n:0},Gi=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=new Array(r),o=0;o1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,n,r=this,a=this.props,i=a.payload,s=a.isAnimationActive,c=a.animationDuration,l=a.animationEasing,u=a.filterNull&&i&&i.length?i.filter(function(e){return!Gn.a.isNil(e.value)}):i,f=u&&u.length,d=this.props,p=d.content,h=d.viewBox,m=d.coordinate,b=d.position,g=d.active,y=d.offset,v=d.wrapperStyle,w=hs({pointerEvents:"none",visibility:g&&f?"visible":"hidden",position:"absolute",top:0},v);if(b&&Jn(b.x)&&Jn(b.y))t=b.x,n=b.y;else{var x=this.state,k=x.boxWidth,_=x.boxHeight;k>0&&_>0&&m?(t=b&&Jn(b.x)?b.x:Math.max(m.x+k+y>h.x+h.width?m.x-k-y:m.x+y,h.x),n=b&&Jn(b.y)?b.y:Math.max(m.y+_+y>h.y+h.height?m.y-_-y:m.y+y,h.y)):w.visibility="hidden"}w=hs({},w,oi({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")})),s&&g&&(w=hs({},w,oi({transition:"transform ".concat(c,"ms ").concat(l)})));var E=Vn()(ws,(ms(e={},"".concat(ws,"-right"),Jn(t)&&m&&Jn(m.x)&&t>=m.x),ms(e,"".concat(ws,"-left"),Jn(t)&&m&&Jn(m.x)&&t=m.y),ms(e,"".concat(ws,"-top"),Jn(n)&&m&&Jn(m.y)&&n0?Gn.a.debounce(n.updateDimensionsImmediate,e.debounce):n.updateDimensionsImmediate,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}(t,a["Component"]),function(e,t,n){t&&Ts(e.prototype,t),n&&Ts(e,n)}(t,[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.container?{containerWidth:this.container.clientWidth,containerHeight:this.container.clientHeight}:null}},{key:"renderChart",value:function(){var e=this.state,t=e.containerWidth,n=e.containerHeight;if(t<0||n<0)return null;var r=this.props,a=r.aspect,i=r.width,s=r.height,c=(r.minWidth,r.minHeight,r.maxHeight),l=r.children;$n(i)||$n(s);var u=$n(i)?t:i,f=$n(s)?n:s;return a&&a>0&&(f=u/a,c&&f>c&&(f=c)),o.a.cloneElement(l,{width:u,height:f})}},{key:"render",value:function(){var e=this,t=this.props,n=t.minWidth,r=t.minHeight,a=t.width,i=t.height,s=t.maxHeight,c=t.id,l=t.className,u={width:a,height:i,minWidth:n,minHeight:r,maxHeight:s};return o.a.createElement("div",{id:c,className:Vn()("recharts-responsive-container",l),style:u,ref:function(t){e.container=t}},this.renderChart(),o.a.createElement(Ss.a,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize}))}}]),t}();js.displayName="ResponsiveContainer",js.propTypes={aspect:tt.a.number,width:tt.a.oneOfType([tt.a.string,tt.a.number]),height:tt.a.oneOfType([tt.a.string,tt.a.number]),minHeight:tt.a.oneOfType([tt.a.string,tt.a.number]),minWidth:tt.a.oneOfType([tt.a.string,tt.a.number]),maxHeight:tt.a.oneOfType([tt.a.string,tt.a.number]),children:tt.a.node.isRequired,debounce:tt.a.number,id:tt.a.oneOfType([tt.a.string,tt.a.number]),className:tt.a.oneOfType([tt.a.string,tt.a.number])},js.defaultProps={width:"100%",height:"100%",debounce:0};var As=js;function Bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Is(){return null}Is.propTypes=function(e){for(var t=1;t=0&&t===+t?"".concat(t,"px"):t}(n,e[n]),";")},"")},Hs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||Er())return{width:0,height:0};var n="".concat(e),r=Ws(t),a="".concat(n,"-").concat(r);if(Ls.widthCache[a])return Ls.widthCache[a];try{var o=document.getElementById("recharts_measurement_span");o||((o=document.createElement("span")).setAttribute("id","recharts_measurement_span"),document.body.appendChild(o));var i=function(e){for(var t=1;t2e3&&(Ls.cacheCount=0,Ls.widthCache={}),c}catch(e){return{width:0,height:0}}};function Ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vs(e){return(Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ys(){return(Ys=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Xs(e,t){for(var n=0;nt?1:e>=t?0:NaN},ac=function(e){return 1===e.length&&(e=function(e){return function(t,n){return rc(e(t),n)}}(e)),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r>>1;e(t[o],n)<0?r=o+1:a=o}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r>>1;e(t[o],n)>0?a=o:r=o+1}return r}}};var oc=ac(rc),ic=oc.right,sc=(oc.left,ic);var cc=function(e){return null===e?NaN:+e},lc=Array.prototype,uc=(lc.slice,lc.map,function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(a);++r0)return[e];if((r=t0)for(e=Math.ceil(e/i),t=Math.floor(t/i),o=new Array(a=Math.ceil(t-e+1));++s=0?(o>=fc?10:o>=dc?5:o>=pc?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=fc?10:o>=dc?5:o>=pc?2:1)}function bc(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/a;return o>=fc?a*=10:o>=dc?a*=5:o>=pc&&(a*=2),t=1)return+n(e[r-1],r-1,e);var r,a=(r-1)*t,o=Math.floor(a),i=+n(e[o],o,e);return i+(+n(e[o+1],o+1,e)-i)*(a-o)}};function yc(){}function vc(e,t){var n=new yc;if(e instanceof yc)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,a=-1,o=e.length;if(null==t)for(;++a>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Rc.exec(e))?Yc(parseInt(t[1],16)):(t=Uc.exec(e))?new Jc(t[1],t[2],t[3],1):(t=Lc.exec(e))?new Jc(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Fc.exec(e))?Gc(t[1],t[2],t[3],t[4]):(t=qc.exec(e))?Gc(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Wc.exec(e))?Zc(t[1],t[2]/100,t[3]/100,1):(t=Hc.exec(e))?Zc(t[1],t[2]/100,t[3]/100,t[4]):Kc.hasOwnProperty(e)?Yc(Kc[e]):"transparent"===e?new Jc(NaN,NaN,NaN,0):null}function Yc(e){return new Jc(e>>16&255,e>>8&255,255&e,1)}function Gc(e,t,n,r){return r<=0&&(e=t=n=NaN),new Jc(e,t,n,r)}function Xc(e){return e instanceof Bc||(e=Vc(e)),e?new Jc((e=e.rgb()).r,e.g,e.b,e.opacity):new Jc}function $c(e,t,n,r){return 1===arguments.length?Xc(e):new Jc(e,t,n,null==r?1:r)}function Jc(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Qc(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Zc(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new tl(e,t,n,r)}function el(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof tl)return new tl(e.h,e.s,e.l,e.opacity);if(e instanceof Bc||(e=Vc(e)),!e)return new tl;if(e instanceof tl)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),i=NaN,s=o-a,c=(o+a)/2;return s?(i=t===o?(n-r)/s+6*(n0&&c<1?0:i,new tl(i,s,c,e.opacity)}(e):new tl(e,t,n,null==r?1:r)}function tl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function nl(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}jc(Bc,Vc,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),jc(Jc,$c,Ac(Bc,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Jc(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Jc(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Qc(this.r)+Qc(this.g)+Qc(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),jc(tl,el,Ac(Bc,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new tl(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new tl(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new Jc(nl(e>=240?e-240:e+120,a,r),nl(e,a,r),nl(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var rl=Math.PI/180,al=180/Math.PI,ol=.96422,il=1,sl=.82521,cl=4/29,ll=6/29,ul=3*ll*ll,fl=ll*ll*ll;function dl(e){if(e instanceof hl)return new hl(e.l,e.a,e.b,e.opacity);if(e instanceof xl){if(isNaN(e.h))return new hl(e.l,0,0,e.opacity);var t=e.h*rl;return new hl(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Jc||(e=Xc(e));var n,r,a=yl(e.r),o=yl(e.g),i=yl(e.b),s=ml((.2225045*a+.7168786*o+.0606169*i)/il);return a===o&&o===i?n=r=s:(n=ml((.4360747*a+.3850649*o+.1430804*i)/ol),r=ml((.0139322*a+.0971045*o+.7141733*i)/sl)),new hl(116*s-16,500*(n-s),200*(s-r),e.opacity)}function pl(e,t,n,r){return 1===arguments.length?dl(e):new hl(e,t,n,null==r?1:r)}function hl(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ml(e){return e>fl?Math.pow(e,1/3):e/ul+cl}function bl(e){return e>ll?e*e*e:ul*(e-cl)}function gl(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function yl(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vl(e){if(e instanceof xl)return new xl(e.h,e.c,e.l,e.opacity);if(e instanceof hl||(e=dl(e)),0===e.a&&0===e.b)return new xl(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*al;return new xl(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function wl(e,t,n,r){return 1===arguments.length?vl(e):new xl(e,t,n,null==r?1:r)}function xl(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}jc(hl,pl,Ac(Bc,{brighter:function(e){return new hl(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new hl(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Jc(gl(3.1338561*(t=ol*bl(t))-1.6168667*(e=il*bl(e))-.4906146*(n=sl*bl(n))),gl(-.9787684*t+1.9161415*e+.033454*n),gl(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),jc(xl,wl,Ac(Bc,{brighter:function(e){return new xl(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new xl(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return dl(this).rgb()}}));var kl=-.14861,_l=1.78277,El=-.29227,Sl=-.90649,Ol=1.97294,Tl=Ol*Sl,Ml=Ol*_l,Cl=_l*El-Sl*kl;function Pl(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof jl)return new jl(e.h,e.s,e.l,e.opacity);e instanceof Jc||(e=Xc(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(Cl*r+Tl*t-Ml*n)/(Cl+Tl-Ml),o=r-a,i=(Ol*(n-a)-El*o)/Sl,s=Math.sqrt(i*i+o*o)/(Ol*a*(1-a)),c=s?Math.atan2(i,o)*al-120:NaN;return new jl(c<0?c+360:c,s,a,e.opacity)}(e):new jl(e,t,n,null==r?1:r)}function jl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Al(e,t,n,r,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*r+i*a)/6}jc(jl,Pl,Ac(Bc,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new jl(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new jl(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*rl,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new Jc(255*(t+n*(kl*r+_l*a)),255*(t+n*(El*r+Sl*a)),255*(t+n*(Ol*r)),this.opacity)}}));var Bl=function(e){return function(){return e}};function Il(e,t){return function(n){return e+n*t}}function Nl(e,t){var n=t-e;return n?Il(e,n>180||n<-180?n-360*Math.round(n/360):n):Bl(isNaN(e)?t:e)}function Dl(e){return 1==(e=+e)?zl:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Bl(isNaN(t)?n:t)}}function zl(e,t){var n=t-e;return n?Il(e,n):Bl(isNaN(e)?t:e)}var Rl=function e(t){var n=Dl(t);function r(e,t){var r=n((e=$c(e)).r,(t=$c(t)).r),a=n(e.g,t.g),o=n(e.b,t.b),i=zl(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=o(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);function Ul(e){return function(t){var n,r,a=t.length,o=new Array(a),i=new Array(a),s=new Array(a);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),a=e[r],o=e[r+1],i=r>0?e[r-1]:2*a-o,s=ro&&(a=t.slice(o,a),s[i]?s[i]+=a:s[++i]=a),(n=n[0])===(r=r[0])?s[i]?s[i]+=r:s[++i]=r:(s[++i]=null,c.push({i:i,x:Fl(n,r)})),o=Wl.lastIndex;return o180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(a(n)+"rotate(",null,r)-2,x:Fl(e,t)})):t&&n.push(a(n)+"rotate("+t+r)}(o.rotate,i.rotate,s,c),function(e,t,n,o){e!==t?o.push({i:n.push(a(n)+"skewX(",null,r)-2,x:Fl(e,t)}):t&&n.push(a(n)+"skewX("+t+r)}(o.skewX,i.skewX,s,c),function(e,t,n,r,o,i){if(e!==n||t!==r){var s=o.push(a(o)+"scale(",null,",",null,")");i.push({i:s-4,x:Fl(e,n)},{i:s-2,x:Fl(t,r)})}else 1===n&&1===r||o.push(a(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,i.scaleX,i.scaleY,s,c),o=i=null,function(e){for(var t,n=-1,r=c.length;++n2?lu:cu,r=a=null,u}function u(t){return(r||(r=n(o,i,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,s)))(+t)}return u.invert=function(e){return(a||(a=n(i,o,su,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},u.domain=function(e){return arguments.length?(o=Sc.call(e,ou),l()):o.slice()},u.range=function(e){return arguments.length?(i=Oc.call(e),l()):i.slice()},u.rangeRound=function(e){return i=Oc.call(e),s=Xl,l()},u.clamp=function(e){return arguments.length?(c=!!e,l()):c},u.interpolate=function(e){return arguments.length?(s=e,l()):s},l()}var du=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},pu=function(e){return(e=du(Math.abs(e)))?e[1]:NaN},hu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function mu(e){return new bu(e)}function bu(e){if(!(t=hu.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}mu.prototype=bu.prototype,bu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var gu,yu,vu,wu,xu=function(e){e:for(var t,n=e.length,r=1,a=-1;r0){if(!+e[r])break e;a=0}}return a>0?e.slice(0,a)+e.slice(t+1):e},ku=function(e,t){var n=du(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")},_u={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return ku(100*e,t)},r:ku,s:function(e,t){var n=du(e,t);if(!n)return e+"";var r=n[0],a=n[1],o=a-(gu=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,i=r.length;return o===i?r:o>i?r+new Array(o-i+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+du(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Eu=function(e){return e},Su=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Ou=function(e){var t=e.grouping&&e.thousands?function(e,t){return function(n,r){for(var a=n.length,o=[],i=0,s=e[0],c=0;a>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(a-=s,a+s)),!((c+=s+1)>r));)s=e[i=(i+1)%e.length];return o.reverse().join(t)}}(e.grouping,e.thousands):Eu,n=e.currency,r=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Eu,o=e.percent||"%";function i(e){var i=(e=mu(e)).fill,s=e.align,c=e.sign,l=e.symbol,u=e.zero,f=e.width,d=e.comma,p=e.precision,h=e.trim,m=e.type;"n"===m?(d=!0,m="g"):_u[m]||(null==p&&(p=12),h=!0,m="g"),(u||"0"===i&&"="===s)&&(u=!0,i="0",s="=");var b="$"===l?n[0]:"#"===l&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",g="$"===l?n[1]:/[%p]/.test(m)?o:"",y=_u[m],v=/[defgprs%]/.test(m);function w(e){var n,o,l,w=b,x=g;if("c"===m)x=y(e)+x,e="";else{var k=(e=+e)<0;if(e=y(Math.abs(e),p),h&&(e=xu(e)),k&&0==+e&&(k=!1),w=(k?"("===c?c:"-":"-"===c||"("===c?"":c)+w,x=("s"===m?Su[8+gu/3]:"")+x+(k&&"("===c?")":""),v)for(n=-1,o=e.length;++n(l=e.charCodeAt(n))||l>57){x=(46===l?r+e.slice(n+1):e.slice(n))+x,e=e.slice(0,n);break}}d&&!u&&(e=t(e,1/0));var _=w.length+e.length+x.length,E=_>1)+w+e+x+E.slice(_);break;default:e=E+w+e+x}return a(e)}return p=null==p?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),w.toString=function(){return e+""},w}return{format:i,formatPrefix:function(e,t){var n=i(((e=mu(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(pu(t)/3))),a=Math.pow(10,-r),o=Su[8+r/3];return function(e){return n(a*e)+o}}}};!function(e){yu=Ou(e),vu=yu.format,wu=yu.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Tu=function(e,t,n){var r,a=e[0],o=e[e.length-1],i=bc(a,o,null==t?10:t);switch((n=mu(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(a),Math.abs(o));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pu(t)/3)))-pu(Math.abs(e)))}(i,s))||(n.precision=r),wu(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,pu(t)-pu(e))+1}(i,Math.max(Math.abs(a),Math.abs(o))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-pu(Math.abs(e)))}(i))||(n.precision=r-2*("%"===n.type))}return vu(n)};function Mu(e){var t=e.domain;return e.ticks=function(e){var n=t();return hc(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Tu(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),o=0,i=a.length-1,s=a[o],c=a[i];return c0?r=mc(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=mc(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,n)),r>0?(a[o]=Math.floor(s/r)*r,a[i]=Math.ceil(c/r)*r,t(a)):r<0&&(a[o]=Math.ceil(s*r)/r,a[i]=Math.floor(c*r)/r,t(a)),e},e}function Cu(){var e=fu(su,Fl);return e.copy=function(){return uu(e,Cu())},Mu(e)}function Pu(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Sc.call(n,ou),t):e.slice()},t.copy=function(){return Pu().domain(e)},Mu(t)}var ju=function(e,t){var n,r=0,a=(e=e.slice()).length-1,o=e[r],i=e[a];return i0){for(;dc)break;m.push(f)}}else for(;d=1;--u)if(!((f=l*u)c)break;m.push(f)}}else m=hc(d,p,Math.min(p-d,h)).map(a);return o?m.reverse():m},e.tickFormat=function(t,o){if(null==o&&(o=10===n?".0e":","),"function"!=typeof o&&(o=vu(o)),t===1/0)return o;null==t&&(t=10);var i=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/a(Math.round(r(e)));return t*n0?n[a-1]:e[0],a=n?[r[n-1],t]:[r[i-1],r[i]]},o.copy=function(){return Wu().domain([e,t]).range(a)},Mu(o)}function Hu(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[sc(e,r,0,n)]}return r.domain=function(a){return arguments.length?(e=Oc.call(a),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(a){return arguments.length?(t=Oc.call(a),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return Hu().domain(e).range(t)},r}var Ku=new Date,Vu=new Date;function Yu(e,t,n,r){function a(t){return e(t=new Date(+t)),t}return a.floor=a,a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return s;do{s.push(i=new Date(+n)),t(n,o),e(n)}while(i=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(a.count=function(t,r){return Ku.setTime(+t),Vu.setTime(+r),e(Ku),e(Vu),Math.floor(n(Ku,Vu))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var Gu=Yu(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Gu.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Yu(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):Gu:null};var Xu=Gu,$u=(Gu.range,6e4),Ju=6048e5,Qu=Yu(function(e){e.setTime(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),Zu=Qu,ef=(Qu.range,Yu(function(e){e.setTime(Math.floor(e/$u)*$u)},function(e,t){e.setTime(+e+t*$u)},function(e,t){return(t-e)/$u},function(e){return e.getMinutes()})),tf=ef,nf=(ef.range,Yu(function(e){var t=e.getTimezoneOffset()*$u%36e5;t<0&&(t+=36e5),e.setTime(36e5*Math.floor((+e-t)/36e5)+t)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()})),rf=nf,af=(nf.range,Yu(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*$u)/864e5},function(e){return e.getDate()-1})),of=af;af.range;function sf(e){return Yu(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*$u)/Ju})}var cf=sf(0),lf=sf(1),uf=sf(2),ff=sf(3),df=sf(4),pf=sf(5),hf=sf(6),mf=(cf.range,lf.range,uf.range,ff.range,df.range,pf.range,hf.range,Yu(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()})),bf=mf,gf=(mf.range,Yu(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}));gf.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Yu(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var yf=gf,vf=(gf.range,Yu(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*$u)},function(e,t){return(t-e)/$u},function(e){return e.getUTCMinutes()})),wf=vf,xf=(vf.range,Yu(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()})),kf=xf,_f=(xf.range,Yu(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1})),Ef=_f;_f.range;function Sf(e){return Yu(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Ju})}var Of=Sf(0),Tf=Sf(1),Mf=Sf(2),Cf=Sf(3),Pf=Sf(4),jf=Sf(5),Af=Sf(6),Bf=(Of.range,Tf.range,Mf.range,Cf.range,Pf.range,jf.range,Af.range,Yu(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()})),If=Bf,Nf=(Bf.range,Yu(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}));Nf.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Yu(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var Df=Nf;Nf.range;function zf(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Rf(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Uf(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var Lf,Ff,qf,Wf,Hf={"-":"",_:" ",0:"0"},Kf=/^\s*\d+/,Vf=/^%/,Yf=/[\\^$*+?|[\]().{}]/g;function Gf(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o68?1900:2e3),n+r[0].length):-1}function od(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function id(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function sd(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function cd(e,t,n){var r=Kf.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ld(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ud(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function fd(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function dd(e,t,n){var r=Kf.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function pd(e,t,n){var r=Kf.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function hd(e,t,n){var r=Vf.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function md(e,t,n){var r=Kf.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function bd(e,t,n){var r=Kf.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function gd(e,t){return Gf(e.getDate(),t,2)}function yd(e,t){return Gf(e.getHours(),t,2)}function vd(e,t){return Gf(e.getHours()%12||12,t,2)}function wd(e,t){return Gf(1+of.count(yf(e),e),t,3)}function xd(e,t){return Gf(e.getMilliseconds(),t,3)}function kd(e,t){return xd(e,t)+"000"}function _d(e,t){return Gf(e.getMonth()+1,t,2)}function Ed(e,t){return Gf(e.getMinutes(),t,2)}function Sd(e,t){return Gf(e.getSeconds(),t,2)}function Od(e){var t=e.getDay();return 0===t?7:t}function Td(e,t){return Gf(cf.count(yf(e),e),t,2)}function Md(e,t){var n=e.getDay();return e=n>=4||0===n?df(e):df.ceil(e),Gf(df.count(yf(e),e)+(4===yf(e).getDay()),t,2)}function Cd(e){return e.getDay()}function Pd(e,t){return Gf(lf.count(yf(e),e),t,2)}function jd(e,t){return Gf(e.getFullYear()%100,t,2)}function Ad(e,t){return Gf(e.getFullYear()%1e4,t,4)}function Bd(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Gf(t/60|0,"0",2)+Gf(t%60,"0",2)}function Id(e,t){return Gf(e.getUTCDate(),t,2)}function Nd(e,t){return Gf(e.getUTCHours(),t,2)}function Dd(e,t){return Gf(e.getUTCHours()%12||12,t,2)}function zd(e,t){return Gf(1+Ef.count(Df(e),e),t,3)}function Rd(e,t){return Gf(e.getUTCMilliseconds(),t,3)}function Ud(e,t){return Rd(e,t)+"000"}function Ld(e,t){return Gf(e.getUTCMonth()+1,t,2)}function Fd(e,t){return Gf(e.getUTCMinutes(),t,2)}function qd(e,t){return Gf(e.getUTCSeconds(),t,2)}function Wd(e){var t=e.getUTCDay();return 0===t?7:t}function Hd(e,t){return Gf(Of.count(Df(e),e),t,2)}function Kd(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Pf(e):Pf.ceil(e),Gf(Pf.count(Df(e),e)+(4===Df(e).getUTCDay()),t,2)}function Vd(e){return e.getUTCDay()}function Yd(e,t){return Gf(Tf.count(Df(e),e),t,2)}function Gd(e,t){return Gf(e.getUTCFullYear()%100,t,2)}function Xd(e,t){return Gf(e.getUTCFullYear()%1e4,t,4)}function $d(){return"+0000"}function Jd(){return"%"}function Qd(e){return+e}function Zd(e){return Math.floor(+e/1e3)}!function(e){Lf=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,o=e.days,i=e.shortDays,s=e.months,c=e.shortMonths,l=$f(a),u=Jf(a),f=$f(o),d=Jf(o),p=$f(i),h=Jf(i),m=$f(s),b=Jf(s),g=$f(c),y=Jf(c),v={a:function(e){return i[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:gd,e:gd,f:kd,H:yd,I:vd,j:wd,L:xd,m:_d,M:Ed,p:function(e){return a[+(e.getHours()>=12)]},Q:Qd,s:Zd,S:Sd,u:Od,U:Td,V:Md,w:Cd,W:Pd,x:null,X:null,y:jd,Y:Ad,Z:Bd,"%":Jd},w={a:function(e){return i[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Id,e:Id,f:Ud,H:Nd,I:Dd,j:zd,L:Rd,m:Ld,M:Fd,p:function(e){return a[+(e.getUTCHours()>=12)]},Q:Qd,s:Zd,S:qd,u:Wd,U:Hd,V:Kd,w:Vd,W:Yd,x:null,X:null,y:Gd,Y:Xd,Z:$d,"%":Jd},x={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:sd,e:sd,f:pd,H:ld,I:ld,j:cd,L:dd,m:id,M:ud,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},Q:md,s:bd,S:fd,u:Zf,U:ed,V:td,w:Qf,W:nd,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:ad,Y:rd,Z:od,"%":hd};function k(e,t){return function(n){var r,a,o,i=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(a=(r=Rf(Uf(o.y))).getUTCDay())>4||0===a?Tf.ceil(r):Tf(r),r=Ef.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(a=(r=t(Uf(o.y))).getDay())>4||0===a?lf.ceil(r):lf(r),r=of.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),a="Z"in o?Rf(Uf(o.y)).getUTCDay():t(Uf(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(a+5)%7:o.w+7*o.U-(a+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Rf(o)):t(o)}}function E(e,t,n,r){for(var a,o,i=0,s=t.length,c=n.length;i=c)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(o=x[a in Hf?t.charAt(i++):a])||(r=o(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return v.x=k(n,v),v.X=k(r,v),v.c=k(t,v),w.x=k(n,w),w.X=k(r,w),w.c=k(t,w),{format:function(e){var t=k(e+="",v);return t.toString=function(){return e},t},parse:function(e){var t=_(e+="",zf);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=_(e,Rf);return t.toString=function(){return e},t}}}(e),Ff=Lf.format,Lf.parse,qf=Lf.utcFormat,Wf=Lf.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||qf("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||Wf("%Y-%m-%dT%H:%M:%S.%LZ");var ep=1e3,tp=60*ep,np=60*tp,rp=24*np,ap=7*rp,op=30*rp,ip=365*rp;function sp(e){return new Date(e)}function cp(e){return e instanceof Date?+e:+new Date(+e)}function lp(e,t,n,r,a,o,i,s,c){var l=fu(su,Fl),u=l.invert,f=l.domain,d=c(".%L"),p=c(":%S"),h=c("%I:%M"),m=c("%I %p"),b=c("%a %d"),g=c("%b %d"),y=c("%B"),v=c("%Y"),w=[[i,1,ep],[i,5,5*ep],[i,15,15*ep],[i,30,30*ep],[o,1,tp],[o,5,5*tp],[o,15,15*tp],[o,30,30*tp],[a,1,np],[a,3,3*np],[a,6,6*np],[a,12,12*np],[r,1,rp],[r,2,2*rp],[n,1,ap],[t,1,op],[t,3,3*op],[e,1,ip]];function x(s){return(i(s)1&&void 0!==arguments[1]?arguments[1]:{}).bandAware;if(void 0!==e){if(t){var n=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+n}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}},{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}}]),e}();jp.EPS=1e-4;var Ap,Bp,Ip,Np=function(){function e(t){Ep(this,e),this.scales=Gn.a.mapValues(t,jp.create),Object.assign(this,this.scales)}return Op(e,null,[{key:"create",value:function(e){return new this(e)}}]),Op(e,[{key:"apply",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bandAware,n=this.scales;return Gn.a.mapValues(e,function(e,r){return n[r].apply(e,{bandAware:t})})}},{key:"isInRange",value:function(e){var t=this.scales;return Gn.a.every(e,function(e,n){return t[n].isInRange(e)})}}]),e}();function Dp(e){return(Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zp(){return(zp=Object.assign||function(e){for(var t=1;t=0?1:-1,c=r>=0?1:0;if(i>0&&a instanceof Array){for(var l=[],u=0;u<4;u++)l[u]=a[u]>i?i:a[u];o="M".concat(e,",").concat(t+s*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(c,",").concat(e+l[0],",").concat(t)),o+="L ".concat(e+n-l[1],",").concat(t),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+s*l[1])),o+="L ".concat(e+n,",").concat(t+r-s*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(c,",\n ").concat(e+n-l[2],",").concat(t+r)),o+="L ".concat(e+l[3],",").concat(t+r),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-s*l[3])),o+="Z"}else if(i>0&&a===+a&&a>0){var f=Math.min(i,a);o="M ".concat(e,",").concat(t+s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+f,",").concat(t,"\n L ").concat(e+n-f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+s*f,"\n L ").concat(e+n,",").concat(t+r-s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-f,",").concat(t+r,"\n L ").concat(e+f,",").concat(t+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-s*f," Z")}else o="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},yh=sr((oh=ah=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=new Array(r),o=0;o0,from:{width:a,height:i,x:n,y:r},to:{width:a,height:i,x:n,y:r},duration:d,animationEasing:f,isActive:m},function(t){var n=t.width,r=t.height,a=t.x,i=t.y;return o.a.createElement(es,{canBegin:l>0,from:"0px ".concat(-1===l?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:d,isActive:h,easing:f},o.a.createElement("path",lh({},yr(e.props),wr(e.props),{className:b,d:gh(a,i,n,r,s),ref:function(t){e.node=t}})))}):o.a.createElement("path",lh({},yr(this.props),wr(this.props),{className:b,d:gh(n,r,a,i,s)}))}}]),t}(),ah.displayName="Rectangle",ah.propTypes=function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ah(e,t){for(var n=0;n=0});if(o&&o.length){var i=o.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=Fh(t,n,0),a=Gn.a.isArray(r)?[Gn.a.min(r),Gn.a.max(r)]:[r,r],o=i.reduce(function(e,n){var r=Fh(t,n,0),o=a[0]-Math.abs(Gn.a.isArray(r)?r[0]:r),i=a[1]+Math.abs(Gn.a.isArray(r)?r[1]:r);return[Math.min(o,e[0]),Math.max(i,e[1])]},[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]},[1/0,-1/0])}return null},Vh=function(e,t,n,r){var a=t.map(function(t){var a=t.props.dataKey;return"number"===n&&a&&Kh(e,t,a)||qh(e,a,n,r)});if("number"===n)return a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var o={};return a.reduce(function(e,t){for(var n=0,r=t.length;n=0||t.indexOf("AreaChart")>=0)?{scale:Pc(),realScaleType:"point"}:"category"===a?{scale:Cc(),realScaleType:"band"}:{scale:Cu(),realScaleType:"linear"};if(Gn.a.isString(n)){var s="scale".concat(n.slice(0,1).toUpperCase()).concat(n.slice(1));return{scale:(r[s]||Pc)(),realScaleType:r[s]?s:"point"}}return Gn.a.isFunction(n)?{scale:n}:{scale:Pc(),realScaleType:"point"}},Qh=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),a=Math.min(r[0],r[1])-1e-4,o=Math.max(r[0],r[1])+1e-4,i=e(t[0]),s=e(t[n-1]);(io||so)&&e.domain([t[0],t[n-1]])}},Zh=function(e,t){if(!e)return null;for(var n=0,r=e.length;nr)&&(a[1]=r),a[0]>r&&(a[0]=r),a[1]=0?(e[i][n][0]=a,e[i][n][1]=a+s,a=e[i][n][1]):(e[i][n][0]=o,e[i][n][1]=o+s,o=e[i][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,a,o=0,i=e[0].length;o0){for(var n,r=0,a=e[t[0]],o=a.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,a,o=0,i=1;i=0?0:a<0?a:r}return n[0]},sm=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},cm=function(e,t,n,r,a){var o=br(e,ih),i=br(e,Yp),s=o.concat(i),c=br(e,Th),l="".concat(r,"Id"),u=r[0],f=t;if(s.length&&(f=s.reduce(function(e,t){if(t.props[l]===n&&sm(t.props,"extendDomain")&&Jn(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e},f)),c.length){var d="".concat(u,"1"),p="".concat(u,"2");f=c.reduce(function(e,t){if(t.props[l]===n&&sm(t.props,"extendDomain")&&Jn(t.props[d])&&Jn(t.props[p])){var r=t.props[d],a=t.props[p];return[Math.min(e[0],r,a),Math.max(e[1],r,a)]}return e},f)}return a&&a.length&&(f=a.reduce(function(e,t){return Jn(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},f)),f},lm=function(e,t,n){return Object.keys(e).reduce(function(r,a){var o=e[a].stackedData.reduce(function(e,r){var a=function(e){return e.reduce(function(e,t){return[Math.min.apply(null,t.concat([e[0]]).filter(Jn)),Math.max.apply(null,t.concat([e[1]]).filter(Jn))]},[1/0,-1/0])}(r.slice(t,n+1));return[Math.min(e[0],a[0]),Math.max(e[1],a[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},um=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fm=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,dm=function(e,t,n){if(!Gn.a.isArray(e))return t;var r=[];if(Jn(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(um.test(e[0])){var a=+um.exec(e[0])[1];r[0]=t[0]-a}else Gn.a.isFunction(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Jn(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(fm.test(e[1])){var o=+fm.exec(e[1])[1];r[1]=t[1]+o}else Gn.a.isFunction(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},pm=function(e,t){if(e&&e.scale&&e.scale.bandwidth)return e.scale.bandwidth();if(e&&t&&t.length>=2){for(var n=Gn.a.sortBy(t,function(e){return e.coordinate}),r=1/0,a=1,o=n.length;a2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},xm=function(e,t,n,r,a){var o=e.width,i=e.height,s=e.startAngle,c=e.endAngle,l=tr(e.cx,o,o/2),u=tr(e.cy,i,i/2),f=wm(o,i,n),d=tr(e.innerRadius,f,0),p=tr(e.outerRadius,f,.8*f);return Object.keys(t).reduce(function(e,n){var o,i=t[n],f=i.domain,h=i.reversed;if(Gn.a.isNil(i.range))"angleAxis"===r?o=[s,c]:"radiusAxis"===r&&(o=[d,p]),h&&(o=[o[1],o[0]]);else{var m=gm(o=i.range,2);s=m[0],c=m[1]}var b=Jh(i,a),g=b.realScaleType,y=b.scale;return y.domain(f).range(o),Qh(y),mm({},e,bm({},n,mm({},i,rm(y,mm({},i,{realScaleType:g})),{range:o,radius:p,realScaleType:g,scale:y,cx:l,cy:u,innerRadius:d,outerRadius:p,startAngle:s,endAngle:c})))},{})},km=function(e,t){var n=e.x,r=e.y,a=t.cx,o=t.cy,i=function(e,t){var n=e.x,r=e.y,a=t.x,o=t.y;return Math.sqrt(Math.pow(n-a,2)+Math.pow(r-o,2))}({x:n,y:r},{x:a,y:o});if(i<=0)return{radius:i};var s=(n-a)/i,c=Math.acos(s);return r>o&&(c=2*Math.PI-c),{radius:i,angle:function(e){return 180*e/Math.PI}(c),angleInRadian:c}},_m=function(e,t){var n=e.x,r=e.y,a=km({x:n,y:r},t),o=a.radius,i=a.angle,s=t.innerRadius,c=t.outerRadius;if(oc)return!1;if(0===o)return!0;var l,u=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),a=Math.floor(n/360),o=Math.min(r,a);return{startAngle:t-360*o,endAngle:n-360*o}}(t),f=u.startAngle,d=u.endAngle,p=i;if(f<=d){for(;p>d;)p-=360;for(;p=f&&p<=d}else{for(;p>f;)p-=360;for(;p=d&&p<=f}return l?mm({},t,{radius:o,angle:function(e,t){var n=t.startAngle,r=t.endAngle,a=Math.floor(n/360),o=Math.floor(r/360);return e+360*Math.min(a,o)}(p,t)}):null};function Em(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0?1:-1;"insideStart"===i?(r=h+v*c,a=b):"insideEnd"===i?(r=m-v*c,a=!b):"end"===i&&(r=m+v*c,a=b),a=y<=0?a:!a;var w=vm(u,f,g,r),x=vm(u,f,g,r+359*(a?1:-1)),k="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(a?0:1,",\n ").concat(x.x,",").concat(x.y),_=Gn.a.isNil(e.id)?er("recharts-radial-line-"):e.id;return o.a.createElement("text",Sm({},n,{dominantBaseline:"central",className:Vn()("recharts-radial-bar-label",l)}),o.a.createElement("defs",null,o.a.createElement("path",{id:_,d:k})),o.a.createElement("textPath",{xlinkHref:"#".concat(_)},t))},Am=function(e){var t=e.viewBox,n=e.offset,r=e.position,a=t.cx,o=t.cy,i=t.innerRadius,s=t.outerRadius,c=(t.startAngle+t.endAngle)/2;if("outside"===r){var l=vm(a,o,s+n,c),u=l.x;return{x:u,y:l.y,textAnchor:u>=a?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:a,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:a,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:a,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=vm(a,o,(i+s)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},Bm=function(e){var t=e.viewBox,n=e.offset,r=e.position,a=t.x,o=t.y,i=t.width,s=t.height,c=s>=0?1:-1;return"top"===r?{x:a+i/2,y:o-c*n,textAnchor:"middle",verticalAnchor:c>0?"end":"start"}:"bottom"===r?{x:a+i/2,y:o+s+c*n,textAnchor:"middle",verticalAnchor:"start"}:"left"===r?{x:a-n,y:o+s/2,textAnchor:"end",verticalAnchor:"middle"}:"right"===r?{x:a+i+n,y:o+s/2,textAnchor:"start",verticalAnchor:"middle"}:"insideLeft"===r?{x:a+n,y:o+s/2,textAnchor:"start",verticalAnchor:"middle"}:"insideRight"===r?{x:a+i-n,y:o+s/2,textAnchor:"end",verticalAnchor:"middle"}:"insideTop"===r?{x:a+i/2,y:o+c*n,textAnchor:"middle",verticalAnchor:"start"}:"insideBottom"===r?{x:a+i/2,y:o+s-c*n,textAnchor:"middle",verticalAnchor:"end"}:"insideTopLeft"===r?{x:a+n,y:o+c*n,textAnchor:"start",verticalAnchor:"start"}:"insideTopRight"===r?{x:a+i-n,y:o+c*n,textAnchor:"end",verticalAnchor:"start"}:"insideBottomLeft"===r?{x:a+n,y:o+s-c*n,textAnchor:"start",verticalAnchor:"end"}:"insideBottomRight"===r?{x:a+i-n,y:o+s-c*n,textAnchor:"end",verticalAnchor:"end"}:Gn.a.isObject(r)&&(Jn(r.x)||$n(r.x))&&(Jn(r.y)||$n(r.y))?{x:a+tr(r.x,i),y:o+tr(r.y,s),textAnchor:"end",verticalAnchor:"end"}:{x:a+i/2,y:o+s/2,textAnchor:"middle",verticalAnchor:"middle"}},Im=function(e){return Jn(e.cx)};function Nm(e){var t,n=e.viewBox,r=e.position,i=e.value,s=e.children,c=e.content,l=e.className,u=void 0===l?"":l;if(!n||Gn.a.isNil(i)&&Gn.a.isNil(s)&&!Object(a.isValidElement)(c)&&!Gn.a.isFunction(c))return null;if(Object(a.isValidElement)(c))return Object(a.cloneElement)(c,e);if(Gn.a.isFunction(c)){if(t=c(e),Object(a.isValidElement)(t))return t}else t=Pm(e);var f=Im(n),d=yr(e);if(f&&("insideStart"===r||"insideEnd"===r||"end"===r))return jm(e,t,d);var p=f?Am(e):Bm(e);return o.a.createElement(tc,Sm({className:Vn()("recharts-label",u)},d,p),t)}Nm.displayName="Label",Nm.defaultProps={offset:5},Nm.propTypes=Cm;var Dm=function(e){var t=e.cx,n=e.cy,r=e.angle,a=e.startAngle,o=e.endAngle,i=e.r,s=e.radius,c=e.innerRadius,l=e.outerRadius,u=e.x,f=e.y,d=e.top,p=e.left,h=e.width,m=e.height,b=e.clockWise;if(Jn(h)&&Jn(m)){if(Jn(u)&&Jn(f))return{x:u,y:f,width:h,height:m};if(Jn(d)&&Jn(p))return{x:d,y:p,width:h,height:m}}return Jn(u)&&Jn(f)?{x:u,y:f,width:0,height:0}:Jn(t)&&Jn(n)?{cx:t,cy:n,startAngle:a||r||0,endAngle:o||r||0,innerRadius:c||0,outerRadius:l||s||i||0,clockWise:b}:e.viewBox?e.viewBox:{}};Nm.parseViewBox=Dm,Nm.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=Dm(e),s=br(r,Nm).map(function(e,n){return Object(a.cloneElement)(e,{viewBox:t||i,key:"label-".concat(n)})});return n?[function(e,t){return e?!0===e?o.a.createElement(Nm,{key:"label-implicit",viewBox:t}):Qn(e)?o.a.createElement(Nm,{key:"label-implicit",viewBox:t,value:e}):Object(a.isValidElement)(e)||Gn.a.isFunction(e)?o.a.createElement(Nm,{key:"label-implicit",content:e,viewBox:t}):Gn.a.isObject(e)?o.a.createElement(Nm,Sm({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i)].concat(Em(s)):s};var zm=Nm;function Rm(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var qm={id:tt.a.string,data:tt.a.arrayOf(tt.a.object),valueAccessor:tt.a.func,clockWise:tt.a.bool,dataKey:tt.a.oneOfType([tt.a.string,tt.a.number,tt.a.func])},Wm={valueAccessor:function(e){return Gn.a.isArray(e.value)?Gn.a.last(e.value):e.value}};function Hm(e){var t=e.data,n=e.valueAccessor,r=e.dataKey,a=e.clockWise,i=e.id,s=Fm(e,["data","valueAccessor","dataKey","clockWise","id"]);return t&&t.length?o.a.createElement(Lr,{className:"recharts-label-list"},t.map(function(e,t){var c=Gn.a.isNil(r)?n(e,t):Fh(e&&e.payload,r),l=Gn.a.isNil(i)?{}:{id:"".concat(i,"-").concat(t)};return o.a.createElement(zm,Um({},yr(e),s,l,{index:t,value:c,viewBox:zm.parseViewBox(Gn.a.isNil(a)?e:function(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=br(r,Hm).map(function(e,n){return Object(a.cloneElement)(e,{data:t,key:"labelList-".concat(n)})});return n?[function(e,t){return e?!0===e?o.a.createElement(Hm,{key:"labelList-implicit",data:t}):o.a.isValidElement(e)||Gn.a.isFunction(e)?o.a.createElement(Hm,{key:"labelList-implicit",data:t,content:e}):Gn.a.isObject(e)?o.a.createElement(Hm,Um({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(Rm(i)):i},Hm.defaultProps=Wm;var Km,Vm,Ym,Gm=Hm;function Xm(e){return(Xm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jm(){return(Jm=Object.assign||function(e){for(var t=1;t180),",").concat(+(o>s),",\n ").concat(l.x,",").concat(l.y,"\n ");if(r>0){var f=vm(t,n,r,o),d=vm(t,n,r,s);u+="L ".concat(d.x,",").concat(d.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(i)>180),",").concat(+(o<=s),",\n ").concat(f.x,",").concat(f.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},sb=sr((Ym=Vm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Zm(this,eb(t).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}(t,a["Component"]),function(e,t,n){t&&Qm(e.prototype,t),n&&Qm(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.innerRadius,a=e.outerRadius,i=e.cornerRadius,s=e.startAngle,c=e.endAngle,l=e.className;if(a0&&Math.abs(s-c)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,a=e.outerRadius,o=e.cornerRadius,i=e.startAngle,s=e.endAngle,c=Xn(s-i),l=ob({cx:t,cy:n,radius:a,angle:i,sign:c,cornerRadius:o}),u=l.circleTangency,f=l.lineTangency,d=l.theta,p=ob({cx:t,cy:n,radius:a,angle:s,sign:-c,cornerRadius:o}),h=p.circleTangency,m=p.lineTangency,b=p.theta,g=Math.abs(i-s)-d-b;if(g<0)return ib({cx:t,cy:n,innerRadius:r,outerRadius:a,startAngle:i,endAngle:s});var y="M ".concat(f.x,",").concat(f.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(u.x,",").concat(u.y,"\n A").concat(a,",").concat(a,",0,").concat(+(g>180),",").concat(+(c<0),",").concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(m.x,",").concat(m.y,"\n ");if(r>0){var v=ob({cx:t,cy:n,radius:r,angle:i,sign:c,isExternal:!0,cornerRadius:o}),w=v.circleTangency,x=v.lineTangency,k=v.theta,_=ob({cx:t,cy:n,radius:r,angle:s,sign:-c,isExternal:!0,cornerRadius:o}),E=_.circleTangency,S=_.lineTangency,O=_.theta,T=Math.abs(i-s)-k-O;if(T<0)return"".concat(y,"L").concat(t,",").concat(n,"Z");y+="L".concat(S.x,",").concat(S.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(E.x,",").concat(E.y,"\n A").concat(r,",").concat(r,",0,").concat(+(T>180),",").concat(+(c>0),",").concat(w.x,",").concat(w.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(x.x,",").concat(x.y,"Z")}else y+="L".concat(t,",").concat(n,"Z");return y}({cx:t,cy:n,innerRadius:r,outerRadius:a,cornerRadius:Math.min(p,d/2),startAngle:s,endAngle:c}):ib({cx:t,cy:n,innerRadius:r,outerRadius:a,startAngle:s,endAngle:c}),o.a.createElement("path",Jm({},yr(this.props),wr(this.props),{className:f,d:u}))}}]),t}(),Vm.displayName="Sector",Vm.propTypes=function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function lg(e,t){for(var n=0;n1e-5?"outer"===t?"start":"end":n<-1e-5?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.radius,a=e.axisLine,i=e.axisLineType,s=vg({},yr(this.props),{fill:"none"},yr(a));if("circle"===i)return o.a.createElement(_p,yg({className:"recharts-polar-angle-axis-line"},s,{cx:t,cy:n,r:r}));var c=this.props.ticks.map(function(e){return vm(t,n,r,e.coordinate)});return o.a.createElement(Ib,yg({className:"recharts-polar-angle-axis-line"},s,{points:c}))}},{key:"renderTicks",value:function(){var e=this,t=this.props,n=t.ticks,r=t.tick,a=t.tickLine,i=t.tickFormatter,s=t.stroke,c=yr(this.props),l=yr(r),u=vg({},c,{fill:"none"},yr(a)),f=n.map(function(t,n){var f=e.getTickLineCoord(t),d=vg({textAnchor:e.getTickTextAnchor(t)},c,{stroke:"none",fill:s},l,{index:n,payload:t,x:f.x2,y:f.y2});return o.a.createElement(Lr,yg({className:"recharts-polar-angle-axis-tick",key:"tick-".concat(n)},kr(e.props,t,n)),a&&o.a.createElement("line",yg({className:"recharts-polar-angle-axis-tick-line"},u,f)),r&&e.constructor.renderTickItem(r,d,i?i(t.value):t.value))});return o.a.createElement(Lr,{className:"recharts-polar-angle-axis-ticks"},f)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.radius,r=e.axisLine;return n<=0||!t||!t.length?null:o.a.createElement(Lr,{className:"recharts-polar-angle-axis"},r&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(e,t,n){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(tc,yg({},t,{className:"recharts-polar-angle-axis-tick-value"}),n)}}]),t}(),hg.displayName="PolarAngleAxis",hg.axisType="angleAxis",hg.propTypes=vg({},ur,fr,{type:tt.a.oneOf(["number","category"]),angleAxisId:tt.a.oneOfType([tt.a.string,tt.a.number]),dataKey:tt.a.oneOfType([tt.a.number,tt.a.string,tt.a.func]),cx:tt.a.number,cy:tt.a.number,radius:tt.a.oneOfType([tt.a.number,tt.a.string]),hide:tt.a.bool,scale:tt.a.oneOfType([tt.a.oneOf(pr),tt.a.func]),axisLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),axisLineType:tt.a.oneOf(["polygon","circle"]),tickLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),tick:tt.a.oneOfType([tt.a.bool,tt.a.func,tt.a.object,tt.a.element]),ticks:tt.a.arrayOf(tt.a.shape({value:tt.a.any,coordinate:tt.a.number})),stroke:tt.a.string,orientation:tt.a.oneOf(["inner","outer"]),tickFormatter:tt.a.func,allowDuplicatedCategory:tt.a.bool}),hg.defaultProps={type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,domain:[0,"auto"],orientation:"outer",axisLine:!0,tickLine:!0,tick:!0,hide:!1,allowDuplicatedCategory:!0},pg=mg))||pg;function Pg(e){return(Pg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jg(){return(jg=Object.assign||function(e){for(var t=1;t0?e.paddingAngle:0;if(n){var s=rr(n.endAngle-n.startAngle,e.endAngle-e.startAngle),c=Ag({},e,{startAngle:i+o,endAngle:i+s(r)+o});a.push(c),i=c.endAngle}else{var u=e.endAngle,f=e.startAngle,d=rr(0,u-f)(r),p=Ag({},e,{startAngle:i+o,endAngle:i+d+o});a.push(p),i=p.endAngle}}),o.a.createElement(Lr,null,e.renderSectorsStatically(a))})}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&Gn.a.isEqual(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.sectors,r=e.className,a=e.label,i=e.cx,s=e.cy,c=e.innerRadius,l=e.outerRadius,u=e.isAnimationActive,f=e.prevSectors,d=e.id;if(t||!n||!n.length||!Jn(i)||!Jn(s)||!Jn(c)||!Jn(l))return null;var p=Vn()("recharts-pie",r);return o.a.createElement(Lr,{className:p},o.a.createElement("g",{clipPath:"url(#".concat(Gn.a.isNil(d)?this.id:d,")")},this.renderSectors()),a&&this.renderLabels(n),zm.renderCallByParent(this.props,null,!1),(!u||f&&Gn.a.isEqual(f,n))&&Gm.renderCallByParent(this.props,n,!1))}}],[{key:"getTextAnchor",value:function(e,t){return e>t?"start":e=360?b:b-1)*u,w=f;Gn.a.isNil(f)&&Gn.a.isNil(p)?w="value":Gn.a.isNil(f)&&(w=p);var x,k,_=o.reduce(function(e,t){var n=Fh(t,w,0);return e+(Jn(n)?n:0)},0);_>0&&(x=o.map(function(e,t){var n,r=Fh(e,w,0),a=Fh(e,d,t),o=(Jn(r)?r:0)/_,i=(n=t?k.endAngle+Xn(g)*u:c)+Xn(g)*(h+o*v),l=(n+i)/2,f=(m.innerRadius+m.outerRadius)/2,p=[{name:a,value:r,payload:e}],b=vm(m.cx,m.cy,f,l);return k=Ag({percent:o,cornerRadius:s,name:a,tooltipPayload:p,midAngle:l,middleRadius:f,tooltipPosition:b},e,m,{value:Fh(e,w),startAngle:n,endAngle:i,payload:e,paddingAngle:Xn(g)*u})}));return Ag({},m,{sectors:x,data:o,onMouseLeave:r,onMouseEnter:a})},Sg=Tg))||Sg,qg=Fg;function Wg(e){return(Wg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hg(){return(Hg=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function oy(e,t){for(var n=0;n0&&Math.abs(S)0&&Math.abs(O)0&&n.handleDrag(e.changedTouches[0])},n.handleDragEnd=function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1})},n.handleLeaveWrapper=function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=setTimeout(n.handleDragEnd,1e3))},n.handleEnterSlideOrTraveller=function(){n.setState({isTextActive:!0})},n.handleLeaveSlideOrTraveller=function(){n.setState({isTextActive:!1})},n.handleSlideDragStart=function(e){var t=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX})},n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(ky(ky(n)),"startX"),endX:n.handleTravellerDragStart.bind(ky(ky(n)),"endX")},n.state=e.data&&e.data.length?n.updateScale(e):{},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}(t,a["Component"]),function(e,t,n){t&&vy(e.prototype,t),n&&vy(e,n)}(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,a=n.width,o=n.x,i=n.travellerWidth,s=n.updateId;(e.data!==r||e.updateId!==s)&&e.data&&e.data.length?this.setState(this.updateScale(e)):e.width===a&&e.x===o&&e.travellerWidth===i||(this.scale.range([e.x,e.x+e.width-e.travellerWidth]),this.scaleValues=this.scale.domain().map(function(e){return t.scale(e)}),this.setState({startX:this.scale(e.startIndex),endX:this.scale(e.endIndex)}))}},{key:"componentWillUnmount",value:function(){this.scale=null,this.scaleValues=null,this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null)}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.props,a=r.gap,o=r.data.length-1,i=Math.min(t,n),s=Math.max(t,n),c=this.constructor.getIndexInRange(this.scaleValues,i),l=this.constructor.getIndexInRange(this.scaleValues,s);return{startIndex:c-c%a,endIndex:l===o?o:l-l%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,a=t.dataKey,o=Fh(n[e],a,e);return Gn.a.isFunction(r)?r(o):o}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,a=t.endX,o=this.props,i=o.x,s=o.width,c=o.travellerWidth,l=o.startIndex,u=o.endIndex,f=o.onChange,d=e.pageX-n;d>0?d=Math.min(d,i+s-c-a,i+s-c-r):d<0&&(d=Math.max(d,i-r,i-a));var p=this.getIndex({startX:r+d,endX:a+d});p.startIndex===l&&p.endIndex===u||!f||f(p),this.setState({startX:r+d,endX:a+d,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX})}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,a=n.movingTravellerId,o=n.endX,i=n.startX,s=this.state[a],c=this.props,l=c.x,u=c.width,f=c.travellerWidth,d=c.onChange,p=c.gap,h=c.data,m={startX:this.state.startX,endX:this.state.endX},b=e.pageX-r;b>0?b=Math.min(b,l+u-f-s):b<0&&(b=Math.max(b,l-s)),m[a]=s+b;var g=this.getIndex(m),y=g.startIndex,v=g.endIndex;this.setState((yy(t={},a,s+b),yy(t,"brushMoveStartX",e.pageX),t),function(){d&&function(){var e=h.length-1;return"startX"===a&&(o>i?y%p==0:v%p==0)||oi?v%p==0:y%p==0)||o>i&&v===e}()&&d(g)})}},{key:"updateScale",value:function(e){var t=this,n=e.data,r=e.startIndex,a=e.endIndex,o=e.x,i=e.width,s=e.travellerWidth,c=n.length;return this.scale=Pc().domain(Gn.a.range(0,c)).range([o,o+i-s]),this.scaleValues=this.scale.domain().map(function(e){return t.scale(e)}),{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:this.scale(r),endX:this.scale(a)}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,a=e.height,i=e.fill,s=e.stroke;return o.a.createElement("rect",{stroke:s,fill:i,x:t,y:n,width:r,height:a})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,s=e.data,c=e.children,l=e.padding,u=a.Children.only(c);return u?o.a.cloneElement(u,{x:t,y:n,width:r,height:i,margin:l,compact:!0,data:s}):null}},{key:"renderTraveller",value:function(e,t){var n=this.props,r=n.y,a=n.travellerWidth,i=n.height,s=n.stroke,c=Math.floor(r+i/2)-1,l=Math.max(e,this.props.x);return o.a.createElement(Lr,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},o.a.createElement("rect",{x:l,y:r,width:a,height:i,fill:s,stroke:"none"}),o.a.createElement("line",{x1:l+1,y1:c,x2:l+a-1,y2:c,fill:"none",stroke:"#fff"}),o.a.createElement("line",{x1:l+1,y1:c+2,x2:l+a-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,a=n.height,i=n.stroke;return o.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:Math.min(e,t),y:r,width:Math.abs(t-e),height:a})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,a=e.height,i=e.travellerWidth,s=e.stroke,c=this.state,l=c.startX,u=c.endX,f={pointerEvents:"none",fill:s};return o.a.createElement(Lr,{className:"recharts-brush-texts"},o.a.createElement(tc,gy({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:r+a/2},f),this.getTextOfTick(t)),o.a.createElement(tc,gy({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+i+5,y:r+a/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,a=e.x,i=e.y,s=e.width,c=e.height,l=this.state,u=l.startX,f=l.endX,d=l.isTextActive,p=l.isSlideMoving,h=l.isTravellerMoving;if(!t||!t.length||!Jn(a)||!Jn(i)||!Jn(s)||!Jn(c)||s<=0||c<=0)return null;var m=Vn()("recharts-brush",n),b=1===o.a.Children.count(r),g=my("userSelect","none");return o.a.createElement(Lr,{className:m,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onMouseUp:this.handleDragEnd,onTouchEnd:this.handleDragEnd,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(u,f),this.renderTraveller(u,"startX"),this.renderTraveller(f,"endX"),(d||p||h)&&this.renderText())}}],[{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var a=Math.floor((n+r)/2);e[a]>t?r=a:n=a}return t>=e[r]?r:n}}]),t}(),dy.displayName="Brush",dy.propTypes={className:tt.a.string,fill:tt.a.string,stroke:tt.a.string,x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number.isRequired,travellerWidth:tt.a.number,gap:tt.a.number,padding:tt.a.shape({top:tt.a.number,right:tt.a.number,bottom:tt.a.number,left:tt.a.number}),dataKey:tt.a.oneOfType([tt.a.string,tt.a.number,tt.a.func]),data:tt.a.array,startIndex:tt.a.number,endIndex:tt.a.number,tickFormatter:tt.a.func,children:tt.a.node,onChange:tt.a.func,updateId:tt.a.oneOfType([tt.a.string,tt.a.number])},dy.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1}},fy=py))||fy;function Ey(e){return(Ey="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Sy(){return(Sy=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Cy(e,t){for(var n=0;n0?a(this.props):a(l)),n<=0||r<=0||!u||!u.length?null:o.a.createElement(Lr,{className:Vn()("recharts-cartesian-axis",i)},t&&this.renderAxisLine(),this.renderTicks(u),zm.renderCallByParent(this.props))}}],[{key:"getTicks",value:function(e){var n=e.tick,r=e.ticks,a=e.viewBox,o=e.minTickGap,i=e.orientation,s=e.interval,c=e.tickFormatter,l=e.unit;return r&&r.length&&n?Jn(s)||Er()?t.getNumberIntervalTicks(r,Jn(s)?s:0):"preserveStartEnd"===s?t.getTicksStart({ticks:r,tickFormatter:c,viewBox:a,orientation:i,minTickGap:o,unit:l},!0):"preserveStart"===s?t.getTicksStart({ticks:r,tickFormatter:c,viewBox:a,orientation:i,minTickGap:o,unit:l}):t.getTicksEnd({ticks:r,tickFormatter:c,viewBox:a,orientation:i,minTickGap:o,unit:l}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter(function(e,n){return n%(t+1)==0})}},{key:"getTicksStart",value:function(e,t){var n,r,a=e.ticks,o=e.tickFormatter,i=e.viewBox,s=e.orientation,c=e.minTickGap,l=e.unit,u=i.x,f=i.y,d=i.width,p=i.height,h="top"===s||"bottom"===s?"width":"height",m=(a||[]).slice(),b=l?Hs(l)[h]:0,g=m.length,y=g>=2?Xn(m[1].coordinate-m[0].coordinate):1;if(1===y?(n="width"===h?u:f,r="width"===h?u+d:f+p):(n="width"===h?u+d:f+p,r="width"===h?u:f),t){var v=a[g-1],w=Gn.a.isFunction(o)?o(v.value):v.value,x=Hs(w)[h]+b,k=y*(v.coordinate+y*x/2-r);m[g-1]=v=Oy({},v,{tickCoord:k>0?v.coordinate-k*y:v.coordinate}),y*(v.tickCoord-y*x/2-n)>=0&&y*(v.tickCoord+y*x/2-r)<=0&&(r=v.tickCoord-y*(x/2+c),m[g-1]=Oy({},v,{isShow:!0}))}for(var _=t?g-1:g,E=0;E<_;E++){var S=m[E],O=Gn.a.isFunction(o)?o(S.value):S.value,T=Hs(O)[h]+b;if(0===E){var M=y*(S.coordinate-y*T/2-n);m[E]=S=Oy({},S,{tickCoord:M<0?S.coordinate-M*y:S.coordinate})}else m[E]=S=Oy({},S,{tickCoord:S.coordinate});y*(S.tickCoord-y*T/2-n)>=0&&y*(S.tickCoord+y*T/2-r)<=0&&(n=S.tickCoord+y*(T/2+c),m[E]=Oy({},S,{isShow:!0}))}return m.filter(function(e){return e.isShow})}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,a=e.tickFormatter,o=e.viewBox,i=e.orientation,s=e.minTickGap,c=e.unit,l=o.x,u=o.y,f=o.width,d=o.height,p="top"===i||"bottom"===i?"width":"height",h=c?Hs(c)[p]:0,m=(r||[]).slice(),b=m.length,g=b>=2?Xn(m[1].coordinate-m[0].coordinate):1;1===g?(t="width"===p?l:u,n="width"===p?l+f:u+d):(t="width"===p?l+f:u+d,n="width"===p?l:u);for(var y=b-1;y>=0;y--){var v=m[y],w=Gn.a.isFunction(a)?a(v.value):v.value,x=Hs(w)[p]+h;if(y===b-1){var k=g*(v.coordinate+g*x/2-n);m[y]=v=Oy({},v,{tickCoord:k>0?v.coordinate-k*g:v.coordinate})}else m[y]=v=Oy({},v,{tickCoord:v.coordinate});g*(v.tickCoord-g*x/2-t)>=0&&g*(v.tickCoord+g*x/2-n)<=0&&(n=v.tickCoord-g*(x/2+s),m[y]=Oy({},v,{isShow:!0}))}return m.filter(function(e){return e.isShow})}},{key:"renderTickItem",value:function(e,t,n){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(tc,Sy({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}]),t}();By.displayName="CartesianAxis",By.propTypes=Oy({},ur,fr,{className:tt.a.string,x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number,orientation:tt.a.oneOf(["top","bottom","left","right"]),viewBox:tt.a.shape({x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number}),tick:tt.a.oneOfType([tt.a.bool,tt.a.func,tt.a.object,tt.a.element]),axisLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),tickLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),mirror:tt.a.bool,tickMargin:tt.a.number.isRequired,minTickGap:tt.a.number,ticks:tt.a.array,tickSize:tt.a.number,stroke:tt.a.string,tickFormatter:tt.a.func,ticksGenerator:tt.a.func,interval:tt.a.oneOfType([tt.a.number,tt.a.oneOf(["preserveStart","preserveEnd","preserveStartEnd"])])}),By.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};var Iy,Ny,Dy,zy=By;function Ry(e){return(Ry="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uy(){return(Uy=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Fy(e){for(var t=1;t0});a!==l[0]&&l.unshift(0);var u=l.map(function(e,n){var u=l[n+1]?l[n+1]-e:a+s-e;if(u<=0)return null;var f=n%t.length;return o.a.createElement("rect",{key:"react-".concat(n),x:Math.round(e+a-a),y:i,width:u,height:c,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o.a.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},u)}},{key:"renderHorizontalStripes",value:function(e){var t=this.props.horizontalFill;if(!t||!t.length)return null;var n=this.props,r=n.fillOpacity,a=n.x,i=n.y,s=n.width,c=n.height,l=e.slice().sort(function(e,t){return e-t>0});i!==l[0]&&l.unshift(0);var u=l.map(function(e,n){var u=l[n+1]?l[n+1]-e:i+c-e;if(u<=0)return null;var f=n%t.length;return o.a.createElement("rect",{key:"react-".concat(n),y:Math.round(e+i-i),x:a,height:u,width:s,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o.a.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},u)}},{key:"renderBackground",value:function(){var e=this.props.fill;if(!e||"none"===e)return null;var t=this.props,n=t.fillOpacity,r=t.x,a=t.y,i=t.width,s=t.height;return o.a.createElement("rect",{x:r,y:a,width:i,height:s,stroke:"none",fill:e,fillOpacity:n,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,a=e.height,i=e.horizontal,s=e.vertical,c=e.horizontalCoordinatesGenerator,l=e.verticalCoordinatesGenerator,u=e.xAxis,f=e.yAxis,d=e.offset,p=e.chartWidth,h=e.chartHeight;if(!Jn(r)||r<=0||!Jn(a)||a<=0||!Jn(t)||t!==+t||!Jn(n)||n!==+n)return null;var m=this.props,b=m.horizontalPoints,g=m.verticalPoints;return b&&b.length||!Gn.a.isFunction(c)||(b=c({yAxis:f,width:p,height:h,offset:d})),g&&g.length||!Gn.a.isFunction(l)||(g=l({xAxis:u,width:p,height:h,offset:d})),o.a.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),i&&this.renderHorizontal(b),s&&this.renderVertical(g),i&&this.renderHorizontalStripes(b),s&&this.renderVerticalStripes(g))}}],[{key:"renderLineItem",value:function(e,t){var n;if(o.a.isValidElement(e))n=o.a.cloneElement(e,t);else if(Gn.a.isFunction(e))n=e(t);else{var r=t.x1,a=t.y1,i=t.x2,s=t.y2,c=t.key,l=Ly(t,["x1","y1","x2","y2","key"]);n=o.a.createElement("line",Uy({},yr(l),{x1:r,y1:a,x2:i,y2:s,fill:"none",key:c}))}return n}}]),t}(),Ny.displayName="CartesianGrid",Ny.propTypes=Fy({},ur,{x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number,horizontal:tt.a.oneOfType([tt.a.object,tt.a.element,tt.a.func,tt.a.bool]),vertical:tt.a.oneOfType([tt.a.object,tt.a.element,tt.a.func,tt.a.bool]),horizontalPoints:tt.a.arrayOf(tt.a.number),verticalPoints:tt.a.arrayOf(tt.a.number),horizontalCoordinatesGenerator:tt.a.func,verticalCoordinatesGenerator:tt.a.func,xAxis:tt.a.object,yAxis:tt.a.object,offset:tt.a.object,chartWidth:tt.a.number,chartHeight:tt.a.number,verticalFill:tt.a.arrayOf(tt.a.string),horizontalFill:tt.a.arrayOf(tt.a.string)}),Ny.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]},Iy=Dy))||Iy;function Jy(e){return(Jy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qy(){return(Qy=Object.assign||function(e){for(var t=1;to){s=tv(n.slice(0,c)).concat([o-l]);break}var u=s.length%2==0?[0,i]:[i];return tv(this.constructor.repeat(n,a)).concat(tv(s),u).map(function(e){return"".concat(e,"px")}).join(", ")}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.points,n=e.xAxis,r=e.yAxis,a=e.layout,i=e.children,s=br(i,zh);if(!s)return null;function c(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:Fh(e.payload,t)}}return s.map(function(e,i){return o.a.cloneElement(e,{key:i,data:t,xAxis:n,yAxis:r,layout:a,dataPointFormatter:c})})}},{key:"renderDots",value:function(e,t){var n=this;if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,a=r.dot,i=r.points,s=r.dataKey,c=yr(this.props),l=yr(a),u=wr(a),f=i.map(function(e,t){var r=Zy({key:"dot-".concat(t),r:3},c,l,u,{value:e.value,dataKey:s,cx:e.x,cy:e.y,index:t,payload:e.payload});return n.constructor.renderDotItem(a,r)}),d={clipPath:e?"url(#clipPath-".concat(t,")"):null};return o.a.createElement(Lr,Qy({className:"recharts-line-dots",key:"dots"},d),f)}},{key:"renderCurveStatically",value:function(e,t,n,r){var a=this.props,i=a.type,s=a.layout,c=a.connectNulls,l=Zy({},yr(this.props),wr(this.props),{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},r,{type:i,layout:s,connectNulls:c});return o.a.createElement(_b,Qy({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,r=this.props,a=r.points,i=r.strokeDasharray,s=r.isAnimationActive,c=r.animationBegin,l=r.animationDuration,u=r.animationEasing,f=r.animationId,d=r.width,p=r.height,h=this.state,m=h.prevPoints,b=h.totalLength;return o.a.createElement(es,{begin:c,duration:l,isActive:s,easing:u,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var o=r.t;if(m){var s=a.map(function(e,t){if(m[t]){var n=m[t],r=rr(n.x,e.x),a=rr(n.y,e.y);return Zy({},e,{x:r(o),y:a(o)})}var i=rr(2*d,e.x),s=rr(p/2,e.y);return Zy({},e,{x:i(o),y:s(o)})});return n.renderCurveStatically(s,e,t)}var c,l=rr(0,b)(o);if(i){var u=i.split(/[,\s]+/gim).map(function(e){return parseFloat(e)});c=n.getStrokeDasharray(l,b,u)}else c="".concat(l,"px ").concat(b-l,"px");return n.renderCurveStatically(a,e,t,{strokeDasharray:c})})}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,a=n.isAnimationActive,o=this.state,i=o.prevPoints,s=o.totalLength;return a&&r&&r.length&&(!i&&s>0||!Gn.a.isEqual(i,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,a=e.className,i=e.xAxis,s=e.yAxis,c=e.top,l=e.left,u=e.width,f=e.height,d=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=1===r.length,b=Vn()("recharts-line",a),g=i&&i.allowDataOverflow||s&&s.allowDataOverflow,y=Gn.a.isNil(p)?this.id:p;return o.a.createElement(Lr,{className:b},g?o.a.createElement("defs",null,o.a.createElement("clipPath",{id:"clipPath-".concat(y)},o.a.createElement("rect",{x:l,y:c,width:u,height:f}))):null,!m&&this.renderCurve(g,y),this.renderErrorBar(),(m||n)&&this.renderDots(g,y),(!d||h)&&Gm.renderCallByParent(this.props,r))}}],[{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?tv(e).concat([0]):e,r=[],a=0;a0||!Gn.a.isEqual(i,n)||!Gn.a.isEqual(s,r))?this.renderAreaWithAnimation(e):this.renderAreaStatically(n,r,e)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,a=e.className,i=e.top,s=e.left,c=e.xAxis,l=e.yAxis,u=e.width,f=e.height,d=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=1===r.length,b=Vn()("recharts-area",a),g=c&&c.allowDataOverflow||l&&l.allowDataOverflow,y=Gn.a.isNil(p)?this.id:p;return o.a.createElement(Lr,{className:b},g?o.a.createElement("defs",null,o.a.createElement("clipPath",{id:"clipPath-".concat(y)},o.a.createElement("rect",{x:s,y:i,width:u,height:f}))):null,m?null:this.renderArea(g),(n||m)&&this.renderDots(),(!d||h)&&Gm.renderCallByParent(this.props,r))}}]),t}(),sv.displayName="Area",sv.propTypes=dv({},ur,fr,{className:tt.a.string,dataKey:tt.a.oneOfType([tt.a.string,tt.a.number,tt.a.func]).isRequired,type:tt.a.oneOfType([tt.a.oneOf(["basis","basisClosed","basisOpen","linear","linearClosed","natural","monotoneX","monotoneY","monotone","step","stepBefore","stepAfter"]),tt.a.func]),unit:tt.a.oneOfType([tt.a.string,tt.a.number]),name:tt.a.oneOfType([tt.a.string,tt.a.number]),yAxisId:tt.a.oneOfType([tt.a.string,tt.a.number]),xAxisId:tt.a.oneOfType([tt.a.string,tt.a.number]),yAxis:tt.a.object,xAxis:tt.a.object,stackId:tt.a.oneOfType([tt.a.number,tt.a.string]),legendType:tt.a.oneOf(hr),connectNulls:tt.a.bool,activeDot:tt.a.oneOfType([tt.a.object,tt.a.element,tt.a.func,tt.a.bool]),dot:tt.a.oneOfType([tt.a.func,tt.a.element,tt.a.object,tt.a.bool]),label:tt.a.oneOfType([tt.a.func,tt.a.element,tt.a.object,tt.a.bool]),hide:tt.a.bool,layout:tt.a.oneOf(["horizontal","vertical"]),baseLine:tt.a.oneOfType([tt.a.number,tt.a.array]),isRange:tt.a.bool,points:tt.a.arrayOf(tt.a.shape({x:tt.a.number,y:tt.a.number,value:tt.a.oneOfType([tt.a.number,tt.a.array])})),onAnimationStart:tt.a.func,onAnimationEnd:tt.a.func,animationId:tt.a.number,isAnimationActive:tt.a.bool,animationBegin:tt.a.number,animationDuration:tt.a.number,animationEasing:tt.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),id:tt.a.string}),sv.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Er(),animationBegin:0,animationDuration:1500,animationEasing:"ease"},sv.getBaseValue=function(e,t,n){var r=e.layout,a=e.baseValue;if(Jn(a))return a;var o="horizontal"===r?n:t,i=o.scale.domain();if("number"===o.type){var s=Math.max(i[0],i[1]),c=Math.min(i[0],i[1]);return"dataMin"===a?c:"dataMax"===a?s:s<0?s:Math.max(Math.min(i[0],i[1]),0)}return"dataMin"===a?i[0]:"dataMax"===a?i[1]:i[0]},sv.getComposedData=function(e){var t=e.props,n=e.xAxis,r=e.yAxis,a=e.xAxisTicks,o=e.yAxisTicks,i=e.bandSize,s=e.dataKey,c=e.stackedData,l=e.dataStartIndex,u=e.displayedData,f=e.offset,d=t.layout,p=c&&c.length,h=xv.getBaseValue(t,n,r),m=!1,b=u.map(function(e,t){var u;return p?u=c[l+t]:(u=Fh(e,s),Gn.a.isArray(u)?m=!0:u=[h,u]),"horizontal"===d?{x:am({axis:n,ticks:a,bandSize:i,entry:e,index:t}),y:Gn.a.isNil(u[1])?null:r.scale(u[1]),value:u,payload:e}:{x:Gn.a.isNil(u[1])?null:n.scale(u[1]),y:am({axis:r,ticks:o,bandSize:i,entry:e,index:t}),value:u,payload:e}});return dv({points:b,baseLine:p||m?b.map(function(e){return"horizontal"===d?{x:e.x,y:Gn.a.isNil(Gn.a.get(e,"value[0]"))?null:r.scale(Gn.a.get(e,"value[0]"))}:{x:Gn.a.isNil(Gn.a.get(e,"value[0]"))?null:n.scale(Gn.a.get(e,"value[0]")),y:e.y}}):"horizontal"===d?r.scale(h):n.scale(h),layout:d,isRange:m},f)},sv.renderDotItem=function(e,t){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(_p,fv({},t,{className:"recharts-area-dot"}))},iv=cv))||iv,kv=xv;function _v(e){return(_v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ev(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Sv(){return(Sv=Object.assign||function(e){for(var t=1;t0&&Math.abs(m)0&&Math.abs(d)=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function _w(){return(_w=Object.assign||function(e){for(var t=1;t0&&n.handleMouseMove(e.changedTouches[0])},n.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseDown(e.changedTouches[0])},n.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseUp(e.changedTouches[0])},n.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,a=e.offset;return Gh(zy.getTicks(Sw({},zy.defaultProps,t,{ticks:Xh(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),a.left,a.left+a.width)},n.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,a=e.offset;return Gh(zy.getTicks(Sw({},zy.defaultProps,t,{ticks:Xh(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),a.top,a.top+a.height)},n.axesTicksGenerator=function(e){return Xh(e,!0)},n.tooltipTicksGenerator=function(e){var t=nr(e),n=Xh(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Gn.a.sortBy(n,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:pm(t)}},n.renderCursor=function(e){var r=n.state,o=r.isTooltipActive,i=r.activeCoordinate,s=r.activePayload,c=r.offset;if(!(e&&e.props.cursor&&o&&i))return null;var l,u=n.props.layout,f=_b;if("ScatterChart"===t)l=i,f=Kb;else if("BarChart"===t)l=n.getCursorRectangle(),f=yh;else if("radial"===u){var d=n.getCursorPoints(),p=d.cx,h=d.cy,m=d.radius;l={cx:p,cy:h,startAngle:d.startAngle,endAngle:d.endAngle,innerRadius:m,outerRadius:m},f=sb}else l={points:n.getCursorPoints()},f=_b;var b=e.key||"_recharts-cursor",g=Sw({stroke:"#ccc",pointerEvents:"none"},c,l,yr(e.props.cursor),{payload:s,key:b,className:"recharts-tooltip-cursor"});return Object(a.isValidElement)(e.props.cursor)?Object(a.cloneElement)(e.props.cursor,g):Object(a.createElement)(f,g)},n.renderPolarAxis=function(e,t,r){var o=e.type.axisType,i=n.state["".concat(o,"Map")][e.props["".concat(o,"Id")]];return Object(a.cloneElement)(e,Sw({},i,{className:o,key:e.key||"".concat(t,"-").concat(r),ticks:Xh(i,!0)}))},n.renderXAxis=function(e,t,r){var a=n.state.xAxisMap[e.props.xAxisId];return n.renderAxis(a,e,t,r)},n.renderYAxis=function(e,t,r){var a=n.state.yAxisMap[e.props.yAxisId];return n.renderAxis(a,e,t,r)},n.renderGrid=function(e){var t=n.state,r=t.xAxisMap,o=t.yAxisMap,i=t.offset,s=n.props,c=s.width,l=s.height,u=nr(r),f=nr(o),d=e.props||{};return Object(a.cloneElement)(e,{key:e.key||"grid",x:Jn(d.x)?d.x:i.left,y:Jn(d.y)?d.y:i.top,width:Jn(d.width)?d.width:i.width,height:Jn(d.height)?d.height:i.height,xAxis:u,yAxis:f,offset:i,chartWidth:c,chartHeight:l,verticalCoordinatesGenerator:d.verticalCoordinatesGenerator||n.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:d.horizontalCoordinatesGenerator||n.horizontalCoordinatesGenerator})},n.renderPolarGrid=function(e){var t=n.state,r=t.radiusAxisMap,o=t.angleAxisMap,i=nr(r),s=nr(o),c=s.cx,l=s.cy,u=s.innerRadius,f=s.outerRadius;return Object(a.cloneElement)(e,{polarAngles:Xh(s,!0).map(function(e){return e.coordinate}),polarRadius:Xh(i,!0).map(function(e){return e.coordinate}),cx:c,cy:l,innerRadius:u,outerRadius:f,key:e.key||"polar-grid"})},n.renderBrush=function(e){var t=n.props,r=t.margin,o=t.data,i=n.state,s=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return Object(a.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:$h(n.handleBrushChange,null,e.props.onChange),data:o,x:Jn(e.props.x)?e.props.x:s.left,y:Jn(e.props.y)?e.props.y:s.top+s.height+s.brushBottom-(r.bottom||0),width:Jn(e.props.width)?e.props.width:s.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})},n.renderReferenceElement=function(e,t,r){if(!e)return null;var o=Pw(Pw(n)).clipPathId,i=n.state,s=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=e.props,f=u.xAxisId,d=u.yAxisId;return Object(a.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:s[f],yAxis:c[d],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:o})},n.renderGraphicChild=function(e,t,r){var o=n.filterFormatItem(e,t,r);if(!o)return null;var i,s,c=Object(a.cloneElement)(e,o.props),l=n.state,u=l.isTooltipActive,f=l.tooltipAxis,d=l.activeTooltipIndex,p=l.activeLabel,h=n.props.children,m=gr(h,_s),b=o.props,g=b.points,y=b.isRange,v=b.baseLine,w=o.item.props,x=w.activeDot;return!w.hide&&u&&m&&x&&d>=0&&(f.dataKey&&!f.allowDuplicatedCategory?(i=ar(g,"payload.".concat(f.dataKey),p),s=y&&v&&ar(v,"payload.".concat(f.dataKey),p)):(i=g[d],s=y&&v&&v[d]),!Gn.a.isNil(i))?[c].concat(Ew(n.renderActivePoints({item:o,activePoint:i,basePoint:s,childIndex:d,isRange:y}))):y?[c,null,null]:[c,null]};var o=n.constructor.createDefaultState(e);return n.state=Sw({},o,{updateId:0},n.updateStateOfAxisMapsOffsetAndStackGroups(Sw({props:e},o,{updateId:0}))),n.uniqueChartId=Gn.a.isNil(e.id)?er("recharts"):e.id,n.clipPathId="".concat(n.uniqueChartId,"-clip"),e.throttleDelay&&(n.triggeredAfterMouseMove=Gn.a.throttle(n.triggeredAfterMouseMove,e.throttleDelay)),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cw(e,t)}(r,a.Component),function(e,t,n){t&&Tw(e.prototype,t),n&&Tw(e,n)}(r,[{key:"componentDidMount",value:function(){Gn.a.isNil(this.props.syncId)||this.addListener()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,a=n.children,o=n.width,i=n.height,s=n.layout,c=n.stackOffset,l=n.margin,u=this.state.updateId;if(e.data===r&&e.width===o&&e.height===i&&e.layout===s&&e.stackOffset===c&&or(e.margin,l)){if(!Mr(e.children,a)){var f=Gn.a.isNil(e.data)?u+1:u;this.setState(function(n){return Sw({updateId:f},t.updateStateOfAxisMapsOffsetAndStackGroups(Sw({props:e},n,{updateId:f})))})}}else{var d=this.constructor.createDefaultState(e);this.setState(Sw({},d,{updateId:u+1},this.updateStateOfAxisMapsOffsetAndStackGroups(Sw({props:e},d,{updateId:u+1}))))}Gn.a.isNil(this.props.syncId)&&!Gn.a.isNil(e.syncId)&&this.addListener(),!Gn.a.isNil(this.props.syncId)&&Gn.a.isNil(e.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){Gn.a.isNil(this.props.syncId)||this.removeListener(),"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getAxisMap",value:function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,a=t.AxisComp,o=t.graphicalItems,i=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.children,u="".concat(r,"Id"),f=br(l,a),d={};return f&&f.length?d=this.getAxisMapByAxes(e,{axes:f,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:i,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(d=this.getAxisMapByItems(e,{Axis:a,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:i,dataStartIndex:s,dataEndIndex:c})),d}},{key:"getAxisMapByAxes",value:function(e,t){var n=this,r=t.axes,a=t.graphicalItems,o=t.axisType,i=t.axisIdKey,s=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,f=e.children,d=e.stackOffset,p=Yh(u,o);return r.reduce(function(t,r){var h=r.props,m=h.type,b=h.dataKey,g=h.allowDataOverflow,y=h.allowDuplicatedCategory,v=h.scale,w=h.ticks,x=r.props[i],k=n.constructor.getDisplayedData(e,{graphicalItems:a.filter(function(e){return e.props[i]===x}),dataStartIndex:c,dataEndIndex:l}),_=k.length;if(!t[x]){var E,S,O;if(b){if(E=qh(k,b,m),"category"===m&&p){var T=function(e){if(!Gn.a.isArray(e))return!1;for(var t=e.length,n={},r=0;r=0?e:Ew(e).concat([t])},[]))}else if("category"===m)E=y?E.filter(function(e){return""!==e&&!Gn.a.isNil(e)}):hm(r.props.domain,E,r).reduce(function(e,t){return e.indexOf(t)>=0||""===t||Gn.a.isNil(t)?e:Ew(e).concat([t])},[]);else if("number"===m){var M=function(e,t,n,r){var a=t.map(function(t){return Kh(e,t,n,r)}).filter(function(e){return!Gn.a.isNil(e)});return a&&a.length?a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null}(k,a.filter(function(e){return e.props[i]===x&&!e.props.hide}),b,o);M&&(E=M)}!p||"number"!==m&&"auto"===v||(O=qh(k,b,"category"))}else E=p?Gn.a.range(0,_):s&&s[x]&&s[x].hasStack&&"number"===m?"expand"===d?[0,1]:lm(s[x].stackGroups,c,l):Vh(k,a.filter(function(e){return e.props[i]===x&&!e.props.hide}),m,!0);return"number"===m&&(E=cm(f,E,x,o,w),r.props.domain&&(E=dm(r.props.domain,E,g))),Sw({},t,Ow({},x,Sw({},r.props,{axisType:o,domain:E,categoricalDomain:O,duplicateDomain:S,originalDomain:r.props.domain,isCategorial:p,layout:u})))}return t},{})}},{key:"getAxisMapByItems",value:function(e,t){var n=t.graphicalItems,r=t.Axis,a=t.axisType,o=t.axisIdKey,i=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,u=e.children,f=this.constructor.getDisplayedData(e,{graphicalItems:n,dataStartIndex:s,dataEndIndex:c}),d=f.length,p=Yh(l,a),h=-1;return n.reduce(function(e,t){var m,b=t.props[o];return e[b]?e:(h++,p?m=Gn.a.range(0,d):i&&i[b]&&i[b].hasStack?(m=lm(i[b].stackGroups,s,c),m=cm(u,m,b,a)):(m=dm(r.defaultProps.domain,Vh(f,n.filter(function(e){return e.props[o]===b&&!e.props.hide}),"number"),r.defaultProps.allowDataOverflow),m=cm(u,m,b,a)),Sw({},e,Ow({},b,Sw({axisType:a},r.defaultProps,{hide:!0,orientation:Iw[a]&&Iw[a][h%2],domain:m,originalDomain:r.defaultProps.domain,isCategorial:p,layout:l}))))},{})}},{key:"getActiveCoordinate",value:function(e,t,n){var r=this.props.layout,a=e.find(function(e){return e&&e.index===t});if(a){if("horizontal"===r)return{x:a.coordinate,y:n.y};if("vertical"===r)return{x:n.x,y:a.coordinate};if("centric"===r){var o=a.coordinate,i=n.radius;return Sw({},n,vm(n.cx,n.cy,i,o),{angle:o,radius:i})}var s=a.coordinate,c=n.angle;return Sw({},n,vm(n.cx,n.cy,s,c),{angle:c,radius:s})}return Nw}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return void 0!==e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}(this.container)),n=this.inRange(t.chartX,t.chartY);if(!n)return null;var r=this.state,a=r.xAxisMap,o=r.yAxisMap;if("axis"!==i&&a&&o){var s=nr(a).scale,c=nr(o).scale;return Sw({},t,{xValue:s&&s.invert?s.invert(t.chartX):null,yValue:c&&c.invert?c.invert(t.chartY):null})}var l=this.state,u=l.orderedTooltipTicks,f=l.tooltipAxis,d=l.tooltipTicks,p=function(e,t,n,r){var a=-1,o=t.length;if(o>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var i=r.range,s=0;s0?n[s-1].coordinate:n[o-1].coordinate,l=n[s].coordinate,u=s>=o-1?n[0].coordinate:n[s+1].coordinate,f=void 0;if(Xn(l-c)!==Xn(u-l)){var d=[];if(Xn(u-l)===Xn(i[1]-i[0])){f=u;var p=l+i[1]-i[0];d[0]=Math.min(p,(p+c)/2),d[1]=Math.max(p,(p+c)/2)}else{f=c;var h=u+i[1]-i[0];d[0]=Math.min(l,(h+l)/2),d[1]=Math.max(l,(h+l)/2)}var m=[Math.min(l,(f+l)/2),Math.max(l,(f+l)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1]){a=n[s].index;break}}else{var b=Math.min(c,u),g=Math.max(c,u);if(e>(b+l)/2&&e<=(g+l)/2){a=n[s].index;break}}}else for(var y=0;y0&&y(t[y].coordinate+t[y-1].coordinate)/2&&e<=(t[y].coordinate+t[y+1].coordinate)/2||y===o-1&&e>(t[y].coordinate+t[y-1].coordinate)/2){a=t[y].index;break}}else a=0;return a}(this.calculateTooltipPos(n),u,d,f);if(p>=0&&d){var h=d[p]&&d[p].value;return Sw({},t,{activeTooltipIndex:p,activeLabel:h,activePayload:this.getTooltipContent(p,h),activeCoordinate:this.getActiveCoordinate(u,p,n)})}return null}},{key:"getTooltipContent",value:function(e,t){var n=this.state,r=n.graphicalItems,a=n.tooltipAxis,o=this.constructor.getDisplayedData(this.props,this.state);return e<0||!r||!r.length||e>=o.length?null:r.reduce(function(n,r){if(r.props.hide)return n;var i,s=r.props,c=s.dataKey,l=s.name,u=s.unit,f=s.formatter,d=s.data;return(i=a.dataKey&&!a.allowDuplicatedCategory?ar(d||o,a.dataKey,t):o[e])?Ew(n).concat([Sw({},yr(r),{dataKey:c,unit:u,formatter:f,name:l||c,color:Wh(r),value:Fh(i,c),payload:i})]):n},[])}},{key:"getFormatItems",value:function(e,t){var n=this,r=t.graphicalItems,o=t.stackGroups,i=t.offset,c=t.updateId,l=t.dataStartIndex,u=t.dataEndIndex,f=e.barSize,d=e.layout,p=e.barGap,h=e.barCategoryGap,m=e.maxBarSize,b=this.constructor.getAxisNameByLayout(d),g=b.numericAxisName,y=b.cateAxisName,v=this.constructor.hasBar(r),w=v&&function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var a={},o=Object.keys(r),i=0,s=o.length;i=0});if(m&&m.length){var b=m[0].props.barSize,g=m[0].props[h];a[g]||(a[g]=[]),a[g].push({item:m[0],stackList:m.slice(1),barSize:Gn.a.isNil(b)?t:b})}}return a}({barSize:f,stackGroups:o}),x=[];return r.forEach(function(r,f){var b,k=n.constructor.getDisplayedData(e,{dataStartIndex:l,dataEndIndex:u},r),_=r.props,E=_.dataKey,S=_.maxBarSize,O=r.props["".concat(g,"Id")],T=r.props["".concat(y,"Id")],M=s.reduce(function(e,n){var a,o=t["".concat(n.axisType,"Map")],i=r.props["".concat(n.axisType,"Id")],s=o&&o[i];return Sw({},e,(Ow(a={},n.axisType,s),Ow(a,"".concat(n.axisType,"Ticks"),Xh(s)),a))},{}),C=M[y],P=M["".concat(y,"Ticks")],j=o&&o[O]&&o[O].hasStack&&function(e,t){var n=e.props.stackId;if(Qn(n)){var r=t[n];if(r&&r.items.length){for(var a=-1,o=0,i=r.items.length;o=0?r.stackedData[a]:null}}return null}(r,o[O].stackGroups),A=pm(C,P),B=Gn.a.isNil(S)?m:S,I=v&&function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,a=e.sizeList,o=void 0===a?[]:a,i=e.maxBarSize,s=o.length;if(s<1)return null;var c,l=tr(t,r,0,!0);if(o[0].barSize===+o[0].barSize){var u=!1,f=r/s,d=o.reduce(function(e,t){return e+t.barSize||0},0);(d+=(s-1)*l)>=r&&(d-=(s-1)*l,l=0),d>=r&&f>0&&(u=!0,d=s*(f*=.9));var p={offset:((r-d)/2>>0)-l,size:0};c=o.reduce(function(e,t){var n=Rh(e).concat([{item:t.item,position:{offset:p.offset+p.size+l,size:u?f:t.barSize}}]);return p=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:p})}),n},[])}else{var h=tr(n,r,0,!0);r-2*h-(s-1)*l<=0&&(l=0);var m=(r-2*h-(s-1)*l)/s;m>1&&(m>>=0);var b=i===+i?Math.min(m,i):m;c=o.reduce(function(e,t,n){var r=Rh(e).concat([{item:t.item,position:{offset:h+(m+l)*n+(m-b)/2,size:b}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},[])}return c}({barGap:p,barCategoryGap:h,bandSize:A,sizeList:w[T],maxBarSize:B}),N=r&&r.type&&r.type.getComposedData;N&&x.push({props:Sw({},N(Sw({},M,{displayedData:k,props:e,dataKey:E,item:r,bandSize:A,barPosition:I,offset:i,stackedData:j,layout:d,dataStartIndex:l,dataEndIndex:u,onItemMouseLeave:$h(n.handleItemMouseLeave,null,r.props.onMouseLeave),onItemMouseEnter:$h(n.handleItemMouseEnter,null,r.props.onMouseEnter)})),(b={key:r.key||"item-".concat(f)},Ow(b,g,M[g]),Ow(b,y,M[y]),Ow(b,"animationId",c),b)),childIndex:function(e,t){var n=-1;return a.Children.forEach(t,function(t,r){t===e&&(n=r)}),n}(r,e.children),item:r})}),x}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,a=t.tooltipAxisBandSize,o=a/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-o:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-o,width:"horizontal"===e?a:r.width-1,height:"horizontal"===e?r.height-1:a}}},{key:"getCursorPoints",value:function(){var e,t,n,r,a=this.props.layout,o=this.state,i=o.activeCoordinate,s=o.offset;if("horizontal"===a)n=e=i.x,t=s.top,r=s.top+s.height;else if("vertical"===a)r=t=i.y,e=s.left,n=s.left+s.width;else if(!Gn.a.isNil(i.cx)||!Gn.a.isNil(i.cy)){if("centric"!==a){var c=i.cx,l=i.cy,u=i.radius,f=i.startAngle,d=i.endAngle;return{points:[vm(c,l,u,f),vm(c,l,u,d)],cx:c,cy:l,radius:u,startAngle:f,endAngle:d}}var p=i.cx,h=i.cy,m=i.innerRadius,b=i.outerRadius,g=i.angle,y=vm(p,h,m,g),v=vm(p,h,b,g);e=y.x,t=y.y,n=v.x,r=v.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"calculateTooltipPos",value:function(e){var t=this.props.layout;return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var a=this.state,o=a.angleAxisMap,i=a.radiusAxisMap;if(o&&i){var s=nr(o);return _m({x:e,y:t},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=gr(e,_s)&&"axis"===i?{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}:{};return Sw({},wr(this.props,this.handleOuterEvent),t)}},{key:"updateStateOfAxisMapsOffsetAndStackGroups",value:function(e){var r=this,a=e.props,o=e.dataStartIndex,i=e.dataEndIndex,c=e.updateId;if(!_r({props:a}))return null;var u=a.children,f=a.layout,d=a.stackOffset,p=a.data,h=a.reverseStackOrder,m=this.constructor.getAxisNameByLayout(f),b=m.numericAxisName,g=m.cateAxisName,y=br(u,n),v=function(e,t,n,r,a,o){if(!e)return null;var i=(o?t.reverse():t).reduce(function(e,t){var a=t.props,o=a.stackId;if(a.hide)return e;var i=t.props[n],s=e[i]||{hasStack:!1,stackGroups:{}};if(Qn(o)){var c=s.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(t),s.hasStack=!0,s.stackGroups[o]=c}else s.stackGroups[er("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return Uh({},e,Lh({},i,s))},{});return Object.keys(i).reduce(function(t,o){var s=i[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(t,o){var i=s.stackGroups[o];return Uh({},t,Lh({},o,{numericAxisId:n,cateAxisId:r,items:i.items,stackedData:nm(e,i.items,a)}))},{})),Uh({},t,Lh({},o,s))},{})}(p,y,"".concat(b,"Id"),"".concat(g,"Id"),d,h),w=s.reduce(function(e,t){return Sw({},e,Ow({},"".concat(t.axisType,"Map"),r.getAxisMap(a,Sw({},t,{graphicalItems:y,stackGroups:t.axisType===b&&v,dataStartIndex:o,dataEndIndex:i}))))},{}),x=this.calculateOffset(Sw({},w,{props:a,graphicalItems:y}));Object.keys(w).forEach(function(e){w[e]=l(a,w[e],x,e.replace("Map",""),t)});var k=w["".concat(g,"Map")],_=this.tooltipTicksGenerator(k);return Sw({formatedGraphicalItems:this.getFormatItems(a,Sw({},w,{dataStartIndex:o,dataEndIndex:i,updateId:c,graphicalItems:y,stackGroups:v,offset:x})),graphicalItems:y,offset:x,stackGroups:v},_,w)}},{key:"addListener",value:function(){vw.on(ww,this.handleReceiveSyncEvent),vw.setMaxListeners&&vw._maxListeners&&vw.setMaxListeners(vw._maxListeners+1)}},{key:"removeListener",value:function(){vw.removeListener(ww,this.handleReceiveSyncEvent),vw.setMaxListeners&&vw._maxListeners&&vw.setMaxListeners(vw._maxListeners-1)}},{key:"calculateOffset",value:function(e){var t=e.props,n=e.graphicalItems,r=e.xAxisMap,a=void 0===r?{}:r,o=e.yAxisMap,i=void 0===o?{}:o,s=t.width,c=t.height,l=t.children,u=t.margin||{},f=gr(l,_y),d=gr(l,Bo),p=Object.keys(i).reduce(function(e,t){var n=i[t],r=n.orientation;return n.mirror||n.hide?e:Sw({},e,Ow({},r,e[r]+n.width))},{left:u.left||0,right:u.right||0}),h=Sw({},Object.keys(a).reduce(function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:Sw({},e,Ow({},r,e[r]+n.height))},{top:u.top||0,bottom:u.bottom||0}),p),m=h.bottom;return f&&(h.bottom+=f.props.height||_y.defaultProps.height),d&&this.legendInstance&&(h=function(e,t,n,r){var a=n.children,o=n.width,i=n.height,s=n.margin,c=o-(s.left||0)-(s.right||0),l=i-(s.top||0)-(s.bottom||0),u=Hh({children:a,items:t,legendWidth:c,legendHeight:l}),f=e;if(u){var d=r||{},p=u.align,h=u.verticalAlign,m=u.layout;("vertical"===m||"horizontal"===m&&"center"===h)&&Jn(e[p])&&(f=Uh({},e,Lh({},p,f[p]+(d.width||0)))),("horizontal"===m||"vertical"===m&&"center"===p)&&Jn(e[h])&&(f=Uh({},e,Lh({},h,f[h]+(d.height||0))))}return f}(h,n,t,this.legendInstance.getBBox())),Sw({brushBottom:m},h,{width:s-h.left-h.right,height:c-h.top-h.bottom})}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;Gn.a.isNil(t)||vw.emit(ww,t,this.uniqueChartId,e)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formatedGraphicalItems,a=0,o=r.length;a=0})},d.getDisplayedData=function(e,t,n){var r=t.graphicalItems,a=t.dataStartIndex,o=t.dataEndIndex,i=(r||[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?Ew(e).concat(Ew(n)):e},[]);if(i&&i.length>0)return i;if(n&&n.props&&n.props.data&&n.props.data.length>0)return n.props.data;var s=e.data;return s&&s.length&&Jn(a)&&Jn(o)?s.slice(a,o+1):[]},d},zw=Dw({chartName:"LineChart",GraphicalChild:lv,axisComponents:[{axisType:"xAxis",AxisComp:fw},{axisType:"yAxis",AxisComp:gw}],formatAxisMap:Cp}),Rw=Dw({chartName:"BarChart",GraphicalChild:Nv,axisComponents:[{axisType:"xAxis",AxisComp:fw},{axisType:"yAxis",AxisComp:gw}],formatAxisMap:Cp}),Uw=Dw({chartName:"PieChart",GraphicalChild:qg,eventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:Cg},{axisType:"radiusAxis",AxisComp:bg}],formatAxisMap:xm,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"},propTypes:{layout:tt.a.oneOf(["centric"]),startAngle:tt.a.number,endAngle:tt.a.number,cx:tt.a.oneOfType([tt.a.number,tt.a.string]),cy:tt.a.oneOfType([tt.a.number,tt.a.string]),innerRadius:tt.a.oneOfType([tt.a.number,tt.a.string]),outerRadius:tt.a.oneOfType([tt.a.number,tt.a.string])}});function Lw(e){return(Lw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fw(){return(Fw=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ww(e,t){for(var n=0;nn.height)&&(a=n.height);for(var o,i=n.x,s=0,c=e.length;sn.width)&&(a=n.width);for(var o,i=n.y,s=0,c=e.length;s0;)s.push(a=f[0]),s.area+=a.area,(o=Qw(s,l,n))<=c?(f.shift(),c=o):(s.area-=s.pop().area,i=Zw(s,l,i,!1),l=Math.min(i.width,i.height),s.length=s.area=0,c=1/0);return s.length&&(i=Zw(s,l,i,!0),s.length=s.area=0),Yw({},t,{children:u.map(function(t){return e(t,n)})})}return t};sr((Bw=Aw=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=new Array(r),o=0;o=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function rx(){return(rx=Object.assign||function(e){for(var t=1;t0&&(l.y+=u),s=l.y+l.dy+n}s=t+n;for(var f=i-1;f>=0;f--){var d=o[f],p=d.y+d.dy+n-s;if(!(p>0))break;d.y-=p,s=d.y}}},vx=function(e,t,n,r){for(var a=0,o=t.length;a=0;a--)for(var o=t[a],i=0,s=o.length;i=1)for(var u=(t-n)/l,f=0,d=o.length;f1&&s.push(o.a.createElement("th",{key:"1"},i.join(":"))),s.push(o.a.createElement("th",{key:"2"},"Score")),s.push(o.a.createElement("th",{key:"3"},"Min")),s.push(o.a.createElement("th",{key:"4"},"Max")),s.push(o.a.createElement("th",{key:"5"},"Error")),s.push(o.a.createElement("th",{key:"7"},"Unit"));var c=n.map(function(e){var t=j(e.payload[e.dataKey],a),i=e.payload[e.dataKey+"MinMax"],s=j(i[0],a),c=j(i[1],a),l=[];return n.length>1&&l.push(o.a.createElement("td",{key:"run"},e.dataKey)),l.push(o.a.createElement("td",{key:"score",style:{color:Ee}},t)),l.push(o.a.createElement("td",{key:"min",style:{color:Ee}},s)),l.push(o.a.createElement("td",{key:"max",style:{color:Ee}},c)),l.push(o.a.createElement("td",{key:"error",style:{color:Se}},j(e.payload[e.dataKey+"Error"],a))),l.push(o.a.createElement("td",{key:"unit"},r)),o.a.createElement("tr",{key:e.name},l)}),l=n.map(function(e){var t=e.payload[e.dataKey+"SubScores"],n=e.payload[e.dataKey+"SubScoresHistogram"];if(n){var r=54*n[0].length;return n.filter(function(e,t){return t<2}).map(function(t,a){var i=t.filter(function(e,t){return t<2}).map(function(t,n){var i=t.map(function(e){return{score:e[0],occurence:e[1]}});return o.a.createElement(Rw,{key:"chart"+a+"-"+n,width:r,height:63,data:i,margin:{top:18}},o.a.createElement(fw,{dataKey:"score",orientation:"bottom",height:15}),o.a.createElement(gw,null),o.a.createElement(Nv,{dataKey:"occurence",fill:e.fill,isAnimationActive:!1}))});return o.a.createElement("div",{key:"fork"+a},o.a.createElement("br",null),o.a.createElement("div",null,o.a.createElement("b",null,"Fork "+a+" / "+n.length)),o.a.createElement("div",null,i),o.a.createElement("div",null,"Showing "+i.length+" runs from "+n[a].length+" ..."))})}if(t){var i=t.map(function(e){return e.map(function(e){return{data:P(e,a)}})}),s=54*t[0].length;return i.map(function(t,n){return o.a.createElement("div",{key:"iterations"+n},o.a.createElement(Rw,{width:s,height:36,data:t,margin:{top:18}},o.a.createElement(Nv,{dataKey:"data",fill:e.fill,isAnimationActive:!1},o.a.createElement(Gm,{dataKey:"data",content:Mx}))))})}return null});return o.a.createElement("div",null,o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("u",null,o.a.createElement("h4",null,t))),o.a.createElement(Tx.a,{striped:!0,bordered:!0,condensed:!0,hover:!0},o.a.createElement("thead",null,o.a.createElement("tr",null,s)),o.a.createElement("tbody",null,c)),o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("u",null,o.a.createElement("h5",null,"Raw Data"))),o.a.createElement("div",{style:{fontSize:"0.72em"}},l),o.a.createElement("br",null))}}]),t}(a.Component);Cx.propTypes={label:tt.a.any,paramNames:tt.a.array,scoreUnit:tt.a.string,roundScores:tt.a.bool,payload:tt.a.arrayOf(tt.a.shape({name:tt.a.any,payload:tt.a.any,value:tt.a.oneOfType([tt.a.number,tt.a.string]),unit:tt.a.any}))};var Px=Cx,jx=function(e){return function(e,t){for(var n,r=["k","M","G","T","P","E","Z","Y"],a=r.length-1;a>=0;a--)if(n=Math.pow(1e3,a+1),e<=-n||e>=n)return+(e/n).toFixed(t)+r[a];return e}(e,20)};var Ax=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.benchmarkBundle,n=e.metricExtractor,r=e.dataMax,a=e.chartConfig,i=a.logScale,s=function(e,t,n){var r=e.benchmarkMethods,a=e.methodNames.length,o=t.extractType(r[0].benchmarks[0]),i=r[0].params,s=t.hasMetric(r[0].benchmarks[0])?t.extractScoreUnit(r[0].benchmarks[0]):"";if(i){var c=i.map(function(e){return e[0]});if(1==c.length)return 1==a?Ex(r,t,n,function(e){return e.params[0][0]+" = "+e.params[0][1]},function(){return o+" "+s},[]):Ex(r,t,n,function(e){return e.name},function(e){return e.params[0][1]},c);if(2==c.length&&1==a)return Ex(r,t,n,function(e){return e.params[0][0]+" = "+e.params[0][1]},function(e){return e.params[1][1]},[c[1]]);if(a>1)return Ex(r,t,n,function(e){return e.name},function(e){return e.params.map(function(e){return e[1]}).join(":")},c);var l=c.join(":");return Ex(r,t,n,function(e){return e.params.map(function(e){return e[1]}).join(":")},function(){return l},[])}return Ex(r,t,n,function(e){return e.name},function(){return o+" "+s},[])}(t,n,a.sort),c=r&&r>0?Math.round(r):"auto",l=void 0,u=void 0,f=void 0;i?(l="log",u=r&&r>0?.1:"auto",f=90):(l="linear",u=0,f=45);var d=s.paramNames,p=100+s.data.length*s.barGroups.length*36,h=s.data.map(function(e){return e.name.length}).reduce(function(e,t){return Math.max(e,t)},32),m=1==s.barGroups.length,b=s.barGroups.map(function(e,t){return o.a.createElement(Nv,{key:e,dataKey:e,stroke:m?Ee:Be[t],fill:m?Ee:Be[t],unit:" "+s.scoreUnit,isAnimationActive:!0,animationDuration:540},o.a.createElement(Gm,{dataKey:e+"Label",content:Sx}),o.a.createElement(zh,{dataKey:e+"ErrorBarInterval",width:4,strokeWidth:2,stroke:"#143049"}))});return o.a.createElement("div",null,o.a.createElement(As,{width:"100%",height:p},o.a.createElement(Rw,{layout:"vertical",height:p,data:s.data,margin:{top:20,right:f,left:4*h,bottom:5}},o.a.createElement(fw,{type:"number",domain:[u,c],scale:l,allowDataOverflow:!0,tickFormatter:jx}),o.a.createElement(gw,{dataKey:"name",type:"category"}),o.a.createElement($y,{strokeDasharray:"3 3"}),o.a.createElement(_s,{content:o.a.createElement(Px,{scoreUnit:s.scoreUnit,roundScores:s.roundScores}),cursor:{stroke:Oe,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95},paramNames:d}),o.a.createElement(Bo,null),b)),d.length>0&&o.a.createElement("div",null,o.a.createElement("div",null,o.a.createElement("b",null,"Parameter Names:")," ",d.join(":")),o.a.createElement("br",null)))}}]),t}(o.a.Component);Ax.propTypes={benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,dataMax:tt.a.number,chartConfig:tt.a.object.isRequired};var Bx=Ax,Ix=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={sort:e.chartConfig.sort,logScale:e.chartConfig.logScale,showJson:!1},n}return se()(t,e),re()(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.chartConfig.sort!==this.state.sort&&this.setState({sort:e.chartConfig.sort}),e.chartConfig.logScale!==this.state.logScale&&this.setState({logScale:e.chartConfig.logScale})}},{key:"toggleSort",value:function(){this.setState({sort:!this.state.sort})}},{key:"toggleLogScale",value:function(){this.setState({logScale:!this.state.logScale})}},{key:"toggleShowJson",value:function(){this.setState({showJson:!this.state.showJson})}},{key:"render",value:function(){var e=this.props,t=e.benchmarkBundle,n=e.metricExtractor,r=e.dataMax,a=this.state,i=a.sort,s=a.logScale,c=a.showJson,l=t.allBenchmarks();return o.a.createElement("div",null,o.a.createElement(Wn,{benchmarkBundle:t,metricExtractor:n},o.a.createElement(Qe,{key:"details",benchmarkBundle:t}),o.a.createElement($e,{key:"sort",active:i,action:this.toggleSort.bind(this)}),o.a.createElement(Je,{key:"scale",active:s,action:this.toggleLogScale.bind(this)})),o.a.createElement("div",{style:{fontSize:"0.90em"}},o.a.createElement(Bx,{benchmarkBundle:t,metricExtractor:n,dataMax:r,chartConfig:{sort:i,logScale:s}})),o.a.createElement(St.a,{bsSize:"small",onClick:this.toggleShowJson.bind(this)},"Show JSON"),o.a.createElement(Nn.a,{in:c},o.a.createElement("div",null,o.a.createElement("pre",null,Bn()(l,null,"\t")),o.a.createElement(St.a,{bsStyle:"primary",onClick:this.toggleShowJson.bind(this)},"Collapse"))))}}]),t}(o.a.Component);Ix.propTypes={benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired,dataMax:tt.a.number};var Nx=Ix,Dx=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={axisScalesSync:!0},n}return se()(t,e),re()(t,[{key:"changeScalesSync",value:function(){this.setState({axisScalesSync:!this.state.axisScalesSync})}},{key:"render",value:function(){var e=this.props,t=e.runName,n=e.focusedBundles,r=e.benchmarkBundles,a=e.metricExtractor,i=e.chartConfig,s=this.state.axisScalesSync,c=void 0,l=void 0;if(n.size>1){var u=function(e,t){var n=new g.a;return e.forEach(function(e){return e.allBenchmarks().forEach(function(e){n.add(t.extractType(e))})}),tn()(n)}(r,a),f=1==u.length,d=f?"Sync Axis Scales: "+(s?"on":"off"):"No Axis Scale syncing possible because of multiple benchmark modes: "+u+"!";c=o.a.createElement("div",null,o.a.createElement(De,{tooltip:d,position:"bottom"},o.a.createElement(Mn.a,{id:"scales-sync",checked:f&&s,disabled:!f,onChange:this.changeScalesSync.bind(this)}))),s&&f&&(l=0,r.forEach(function(e){return e.allBenchmarks().forEach(function(e){l=Math.max(l,a.extractMinMax(e)[1])})}))}var p=[];return p.push(o.a.createElement("div",{key:"summary"},o.a.createElement(On.a,null,r.length)," different benchmark classes for single run '"+t+"' and metric '"+a.metricKey+"' detected!",o.a.createElement("span",{style:{position:"absolute",right:20}},c))),r.forEach(function(e){p.push(o.a.createElement(jn,{key:e.key,name:e.key},o.a.createElement(Nx,{benchmarkBundle:e,metricExtractor:a,chartConfig:i,dataMax:l})))}),o.a.createElement("div",null,p)}}]),t}(o.a.Component);Dx.propTypes={runName:tt.a.string.isRequired,benchmarkBundles:tt.a.array.isRequired,focusedBundles:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired};var zx=Dx;function Rx(e){var t=e.x,n=e.y,r=e.width,a=e.height,i=e.value,s=e.textAnchor,c=t+r+(i>0?6:-7*i.toString().length);return o.a.createElement("g",null,o.a.createElement("text",{stroke:Te,fontSize:12,textAnchor:s,fill:"hsla(0, 100%, 100%, 0.8)",x:c,y:n+a/2+4,width:r,height:a,className:"recharts-bar-label"},i))}Rx.propTypes={x:tt.a.number.isRequired,y:tt.a.number.isRequired,width:tt.a.number.isRequired,height:tt.a.number.isRequired,value:tt.a.string.isRequired,textAnchor:tt.a.string.isRequired};var Ux=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.payload,r=e.runNames,a=e.roundScores;if(null==n||0==n.length)return null;var i=n[0].payload.score1stRun,s=n[0].payload.score2ndRun,c=n[0].payload.scoreError1stRun,l=n[0].payload.scoreError2ndRun,u=s-i,f=l-c,d=n[0].payload.scoreUnit;return o.a.createElement("div",{style:{width:Math.max(230,9*t.length)}},o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("h4",null,o.a.createElement("u",null,t)),o.a.createElement("b",null,o.a.createElement("div",{style:{color:n[0].payload.scoreDiff>0?Oe:Se}}," ",n[0].payload.scoreDiff+" %"," "))),o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement(Tx.a,{striped:!0,bordered:!0,condensed:!0,hover:!0},o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("th",null,"Run"),o.a.createElement("th",null,"Score"),o.a.createElement("th",null,"Error"),o.a.createElement("th",null,"Unit"))),o.a.createElement("tbody",null,o.a.createElement("tr",null,o.a.createElement("td",null,r[0]),o.a.createElement("td",{style:{color:Ee}},j(i,a)),o.a.createElement("td",{style:{color:Se}},j(c,a)),o.a.createElement("td",null,d)),o.a.createElement("tr",null,o.a.createElement("td",null,r[1]),o.a.createElement("td",{style:{color:Ee}},j(s,a)),o.a.createElement("td",{style:{color:Se}},j(l,a)),o.a.createElement("td",null,d)),o.a.createElement("tr",null,o.a.createElement("td",null,"Change"),o.a.createElement("td",null,(u>0?"+":"")+j(u,a)),o.a.createElement("td",null,(f>0?"+":"")+j(f,a)),o.a.createElement("td",null,d))))))}}]),t}(a.Component);Ux.propTypes={label:tt.a.any,runNames:tt.a.array,roundScores:tt.a.bool,payload:tt.a.arrayOf(tt.a.shape({name:tt.a.any,payload:tt.a.any,value:tt.a.oneOfType([tt.a.number,tt.a.string]),unit:tt.a.any}))};var Lx=Ux,Fx=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.runNames,n=function(e,t,n){var r=C(e.benchmarkMethods,t),a=e.benchmarkMethods.map(function(e,n){var a=e.benchmarks[0],o=e.benchmarks[1];if(a&&o&&t.hasMetric(a)&&t.hasMetric(o)){var i=t.extractScoreUnit(a),s=Un(t.extractType(a)),c=P(t.extractScore(a),r),l=P(t.extractScore(o),r),u=P(t.extractScoreError(a),r),f=P(t.extractScoreError(o),r),d=void 0;return d=s&&s.increaseIsGood?P((l-c)/c*100,r):P((c-l)/l*100,r),{index:n,name:e.key,scoreDiff:d,scoreUnit:i,score1stRun:c,score2ndRun:l,scoreError1stRun:u,scoreError2ndRun:f}}}).filter(function(e){return void 0!==e});return n&&a.sort(function(e,t){return t.scoreDiff-e.scoreDiff}),{data:a,roundScores:r}}(e.benchmarkBundle,e.metricExtractor,e.sort),r=n.data.map(function(e){return e.name.length}).reduce(function(e,t){return Math.max(e,t)},32),a=100+45*n.data.length;return 0==n.data.length?o.a.createElement("div",null,"No data for comparision!"):o.a.createElement(As,{width:"100%",height:a},o.a.createElement(Rw,{layout:"vertical",width:900,height:a,data:n.data,margin:{top:20,right:30,left:5*r,bottom:5}},o.a.createElement(ih,{x:0,stroke:Te}),o.a.createElement(fw,{type:"number",domain:[-100,100]}),o.a.createElement(gw,{dataKey:"name",type:"category"}),o.a.createElement($y,{strokeDasharray:"3 3"}),o.a.createElement(_s,{content:o.a.createElement(Lx,{runNames:t,roundScores:n.roundScores}),cursor:{stroke:Oe,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95}}),o.a.createElement(Bo,{verticalAlign:"top",payload:[{value:"Decrease in %",color:Se,type:"rect"},{value:"Increase in %",color:Oe,type:"rect"}],height:30}),o.a.createElement(Nv,{dataKey:"scoreDiff",unit:" %",isAnimationActive:!0,animationDuration:900},n.data.map(function(e,t){var r=n.data[t].scoreDiff>0?Oe:Se;return o.a.createElement(Ns,{key:t,fill:r,stroke:r})}),o.a.createElement(Gm,{dataKey:"scoreDiff",content:Rx}))))}}]),t}(o.a.Component);Fx.propTypes={runNames:tt.a.array.isRequired,benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,sort:tt.a.bool.isRequired};var qx=Fx,Wx=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={sort:e.chartConfig.sort,showJson1:!1,showJson2:!1},n}return se()(t,e),re()(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.chartConfig.sort!==this.state.sort&&this.setState({sort:e.chartConfig.sort})}},{key:"toggleSort",value:function(){this.setState({sort:!this.state.sort})}},{key:"toggleShowJson1",value:function(){this.setState({showJson1:!this.state.showJson1,showJson2:!1})}},{key:"toggleShowJson2",value:function(){this.setState({showJson1:!1,showJson2:!this.state.showJson2})}},{key:"render",value:function(){var e=this.props,t=e.runNames,n=e.benchmarkBundle,r=e.metricExtractor,a=this.state,i=a.sort,s=a.showJson1,c=a.showJson2,l=n.benchmarksFromRun(0),u=n.benchmarksFromRun(1),f=[],d=[],p=!1;n.benchmarkMethods.forEach(function(e){null!==e.benchmarks[0]&&r.hasMetric(e.benchmarks[0])?null!==e.benchmarks[1]&&r.hasMetric(e.benchmarks[1])?p=!0:d.push(e.name):f.push(e.name)});var h=p?o.a.createElement(qx,{runNames:t,benchmarkBundle:n,metricExtractor:r,sort:i}):null;return o.a.createElement("div",null,o.a.createElement(Wn,{benchmarkBundle:n,metricExtractor:r},o.a.createElement(Qe,{key:"details",benchmarkBundle:n}),o.a.createElement($e,{key:"sort",active:i,action:this.toggleSort.bind(this)})),o.a.createElement("div",{style:{fontSize:"0.90em"}},h),d.length>0&&o.a.createElement("div",null,o.a.createElement("b",null,"Removed benchmarks:")," "+d.join(", "),o.a.createElement("br",null),o.a.createElement("br",null)),f.length>0&&o.a.createElement("div",null,o.a.createElement("b",null,"New benchmarks:")," "+f.join(", "),o.a.createElement("br",null),o.a.createElement("br",null)),o.a.createElement(St.a,{bsSize:"small",onClick:this.toggleShowJson1.bind(this),active:this.state.showJson1},"Show JSON 1"),o.a.createElement(St.a,{bsSize:"small",onClick:this.toggleShowJson2.bind(this),active:this.state.showJson2},"Show JSON 2"),o.a.createElement(Nn.a,{in:s},o.a.createElement("div",null,o.a.createElement("pre",null,Bn()(l,null,"\t")),o.a.createElement(St.a,{bsStyle:"primary",onClick:this.toggleShowJson1.bind(this)},"Collapse"))),o.a.createElement(Nn.a,{in:c},o.a.createElement("div",null,o.a.createElement("pre",null,Bn()(u,null,"\t")),o.a.createElement(St.a,{bsStyle:"primary",onClick:this.toggleShowJson2.bind(this)},"Collapse"))))}}]),t}(o.a.Component);Wx.propTypes={runNames:tt.a.array.isRequired,benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired};var Hx=Wx,Kx=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.runNames,n=e.benchmarkBundles,r=e.metricExtractor,a=e.chartConfig,i=[];return i.push(o.a.createElement("div",{key:"summary"},"Comparing"," ",o.a.createElement(On.a,null,n.length)," benchmark classes for '",t[0],"' and '",t[1],"' on metric '",r.metricKey,"'.")),n.forEach(function(e){i.push(o.a.createElement(jn,{key:e.key,name:e.key},o.a.createElement(Hx,{runNames:t,benchmarkBundle:e,metricExtractor:r,chartConfig:a})))}),o.a.createElement("div",null,i)}}]),t}(o.a.Component);Kx.propTypes={runNames:tt.a.array.isRequired,benchmarkBundles:tt.a.array.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired};var Vx=Kx,Yx=function(e){for(var t=e.length/6|0,n=new Array(t),r=0;r0&&(l=l.filter(function(e){return r.has(e.key)}));var f=new g.a(["Score"]);l.forEach(function(e){return e.allBenchmarks().forEach(function(e){_e()(e.secondaryMetrics).forEach(function(e){return f.add(e)})})});var d=tn()(f),p=void 0;p=1==t.runNames.length?o.a.createElement(zx,{runName:t.runNames[0],benchmarkBundles:l,focusedBundles:r,metricExtractor:c,chartConfig:a}):2==t.runNames.length?o.a.createElement(Vx,{runNames:t.runNames,benchmarkBundles:l,metricExtractor:c,chartConfig:a}):o.a.createElement(ik,{runNames:t.runNames,benchmarkBundles:l,metricExtractor:c,chartConfig:a});var h=[];return 1==t.runNames.length?(h.push(o.a.createElement($e,{key:"sortButton",active:a.sort,action:J.sort})),h.push(o.a.createElement("span",{key:"sep1"}," | ")),h.push(o.a.createElement(Je,{key:"scaleButton",active:a.logScale,action:J.logScale}))):2==t.runNames.length?h.push(o.a.createElement($e,{key:"sortButton",active:a.sort,action:J.sort})):h.push(o.a.createElement(Je,{key:"scaleButton",active:a.logScale,action:J.logScale})),o.a.createElement(Pt,{left:p,right:o.a.createElement(En,{benchmarkBundles:u,metrics:d,metricExtractor:c,buttons:h,focusedBenchmarkBundles:r,categories:["Benchmarks"],activeCategory:"Benchmarks"})})});var fk=n(284),dk=n.n(fk),pk=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.benchmarkBundle,n=e.benchmarkBundles,r=e.secondaryMetrics,a=e.buttons,i=n.map(function(e){return o.a.createElement("option",{key:e.key,value:e.key},e.name)}),s=["Score"].concat(r);return o.a.createElement("div",null,o.a.createElement("a",{onClick:function(){return J.goBack()}},o.a.createElement(dk.a,null)," Back.."),o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement(Kt.a,{bsSize:"small",controlId:"theForm"},o.a.createElement(dn.a,null,o.a.createElement(Yt.a,{componentClass:"select",onChange:function(e){return J.detailBenchmarkBundle(e.target.value)},defaultValue:t.key},i))),a,o.a.createElement("hr",{style:{marginTop:"10px",marginBottom:"10px"}}),o.a.createElement(kn,{categories:["Metrics"],activeCategory:"Metrics",selectCategoryFunction:function(e){return alert(e)},elementIds:s,elementNames:s,linkControlsCreators:[]}))}}]),t}(o.a.Component);pk.propTypes={benchmarkBundle:tt.a.object.isRequired,benchmarkBundles:tt.a.array.isRequired,secondaryMetrics:tt.a.array.isRequired,buttons:tt.a.array};var hk=pk,mk=function(e){var t=e.runNames,n=e.benchmarkBundle,r=e.secondaryMetrics,a=e.chartConfig,i=e.chartGeneratorFunction,s=new ck,c=cn(n,s).map(function(e){return Ln(e)}),l=o.a.createElement(jn,{name:"Score",key:"Score"},o.a.createElement(Fn,{name:"Score",badges:c}),i(t,n,s,a),o.a.createElement("br",null),o.a.createElement("br",null)),u=r.map(function(e){var r=new lk(e);return o.a.createElement(jn,{name:e,key:e},o.a.createElement(Fn,{name:e,badges:Ln(e)}),i(t,n,r,a),o.a.createElement("br",null),o.a.createElement("br",null))});return o.a.createElement("div",null,o.a.createElement("h3",null,"Details of ",o.a.createElement("i",null,n.key)),o.a.createElement("br",null),[l].concat(S()(u)))},bk=$(function(e){var t=e.detailedBenchmarkBundle,n=e.benchmarkRuns,r=e.runSelection,a=e.chartConfig;return{detailedBenchmarkBundle:t,benchmarkSelection:new un(n,r),chartConfig:a}})(function(e){var t=e.detailedBenchmarkBundle,n=e.benchmarkSelection,r=e.chartConfig,a=n.benchmarkBundles,i=n.runNames,s=a.find(function(e){return e.key===t})||new an({key:t,name:sn(t),methodNames:[],benchmarkMethods:[]}),c=tn()(s.allBenchmarks().reduce(function(e,t){return _e()(t.secondaryMetrics).forEach(function(t){return e.add(t)}),e},new g.a)),l=void 0,u=void 0;1==i.length?0==s.methodNames.length?l="No benchmark results for run "+i[0]:u=gk:u=2==i.length?yk:vk;var f=void 0;f=l?o.a.createElement("div",null,l):o.a.createElement(mk,{runNames:i,benchmarkBundle:s,secondaryMetrics:c,chartConfig:r,chartGeneratorFunction:u});var d=[];return 1==n.runNames.length?(d.push(o.a.createElement($e,{key:"sortButton",active:r.sort,action:J.sort})),d.push(o.a.createElement("span",{key:"sep1"}," | ")),d.push(o.a.createElement(Je,{key:"scaleButton",active:r.logScale,action:J.logScale}))):2==n.runNames.length?d.push(o.a.createElement($e,{key:"sortButton",active:r.sort,action:J.sort})):d.push(o.a.createElement(Je,{key:"scaleButton",active:r.logScale,action:J.logScale})),o.a.createElement(Pt,{left:f,right:o.a.createElement(hk,{benchmarkBundle:s,benchmarkBundles:a,secondaryMetrics:c,buttons:d})})});function gk(e,t,n,r){return o.a.createElement(Bx,{benchmarkBundle:t,metricExtractor:n,chartConfig:r})}function yk(e,t,n,r){return o.a.createElement(qx,{runNames:e,benchmarkBundle:t,metricExtractor:n,sort:r.sort})}function vk(e,t,n,r){return o.a.createElement(tk,{runNames:e,benchmarkBundle:t,metricExtractor:n,logScale:r.logScale})}var wk=n(285),xk=n.n(wk),kk=(n(626),function(e){var t=e.benchmarkDiffs,n=e.minDeviation,r=t.reduce(function(e,t){return t.scoreDiff<-n?e[0].count++:t.scoreDiff>n?e[2].count++:e[1].count++,e},[{name:"Declined (<-"+n+"%)",count:0},{name:"Unchanged (+-"+n+"%)",count:0},{name:"Improved (>+"+n+"%)",count:0}]);return o.a.createElement(As,{width:"100%",height:150},o.a.createElement(Uw,null,o.a.createElement(qg,{data:r,dataKey:"count",cx:"50%",cy:"85%",startAngle:180,endAngle:0,innerRadius:75,outerRadius:90,fill:Ee,label:!0,animationDuration:540},o.a.createElement(Ns,{key:"declined",fill:Se}),o.a.createElement(Ns,{key:"unchanged",fill:Ee}),o.a.createElement(Ns,{key:"improved",fill:Oe})),o.a.createElement(_s,{offset:10,position:{x:45,y:144},cursor:{stroke:Te,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95}})))}),_k=function(e){var t=e.minDeviation,n=e.benchmarkDiffs.reduce(function(e,n){var r=function(e,t){if(t-e)return 0;for(var n=1;n<6;n++){var r=-e-10*n;if(t>r)return n}return 5}(t,n.scoreDiff);return r>0&&e["level"+r].increase++,a>0&&e["level"+a].decrease++,e},{level1:Ek(t,1),level2:Ek(t,2),level3:Ek(t,3),level4:Ek(t,4),level5:Ek(t,5)}),r=_e()(n).map(function(e){return n[e]}),a=r.reduce(function(e,t){var n=Math.max(t.increase,t.decrease);return Math.max(e,n)},0);return o.a.createElement(As,{width:"100%",height:150},o.a.createElement(kx,{cx:"50%",cy:"54%",outerRadius:58,data:r},o.a.createElement(rg,null),o.a.createElement(Cg,{dataKey:"name"}),o.a.createElement(bg,{domain:[0,a]}),o.a.createElement(ey,{name:"Improvement",dataKey:"increase",stroke:Oe,fill:Oe,fillOpacity:.6}),o.a.createElement(ey,{name:"Decline",dataKey:"decrease",stroke:Se,fill:Se,fillOpacity:.6}),o.a.createElement(_s,{offset:10,position:{x:45,y:144},cursor:{stroke:Te,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95}})))};function Ek(e,t){return{name:e+10*(t-1)+"+%",increase:0,decrease:0}}var Sk=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={disabledLabels:["errorDiff"]},n}return se()(t,e),re()(t,[{key:"switchLabelActivation",value:function(e){this.state.disabledLabels.includes(e)?this.setState({disabledLabels:this.state.disabledLabels.filter(function(t){return t!==e})}):this.setState({disabledLabels:this.state.disabledLabels.concat(e)})}},{key:"render",value:function(){var e=this,t=this.props.benchmarkDiffs,n=this.state.disabledLabels,r=t.map(function(e,t){return{idx:t,name:e.bundleName+"#"+e.benchmarkMethod.name+"("+(e.benchmarkMethod.params?e.benchmarkMethod.params.map(function(e){return e[0]+"="+e[1]}).join(":"):"")+")",scoreDiff:Math.max(-100,Math.min(100,e.scoreDiff)),errorDiff:Math.max(-100,Math.min(100,e.scoreErrorDiff)),score1stRun:e.score1stRun,score2ndRun:e.score2ndRun,scoreError1stRun:e.scoreError1stRun,scoreError2ndRun:e.scoreError2ndRun,scoreUnit:e.scoreUnit}}),a=[{dataKey:"scoreDiff",color:Oe},{dataKey:"errorDiff",color:Ee}];return o.a.createElement(As,{width:"100%",height:150},o.a.createElement(Rw,{data:r,margin:{top:5,right:20,left:-20,bottom:5},barGap:0,barCategoryGap:"9%"},o.a.createElement($y,{strokeDasharray:"3 3"}),o.a.createElement(fw,{dataKey:"idx"}),o.a.createElement(gw,null),o.a.createElement(_s,{offset:10,position:{x:90,y:144},labelFormatter:function(e){return r[e]?r[e].name:"N/A"},formatter:Tk}),o.a.createElement(Bo,{align:"center",verticalAlign:"top",wrapperStyle:{lineHeight:"40px"},payload:a,content:this.renderCusomizedLegend.bind(this)}),o.a.createElement(ih,{y:0,stroke:"#000"}),a.filter(function(e){return!n.includes(e.dataKey)}).map(function(t){return o.a.createElement(Nv,{key:t.dataKey,dataKey:t.dataKey},r.map(function(n){return o.a.createElement(Ns,{key:n.idx,fill:e.barColor(t.dataKey,n)})}))})))}},{key:"barColor",value:function(e,t){return"scoreDiff"===e?t.scoreDiff>0?Oe:Se:t.errorDiff>0?Ee:Te}},{key:"renderCusomizedLegend",value:function(e){var t=this,n=e.payload;return o.a.createElement("div",{align:"center"},n.map(function(e){var n=e.dataKey,r=e.color,a=t.state.disabledLabels.includes(n),i={marginRight:10,color:a?"#AAA":"#000"};return o.a.createElement("span",{key:n,className:"legend-item",onClick:function(){return t.switchLabelActivation(n)},style:i},o.a.createElement(Nr,{width:15,height:15,viewBox:{x:0,y:0,width:10,height:15}},o.a.createElement(fo,{cx:5,cy:11,type:"square",size:50,fill:r}),a&&o.a.createElement(fo,{cx:5,cy:11,type:"square",size:25,fill:"#FFF"})),o.a.createElement("span",null,n))}))}}]),t}(o.a.Component);Sk.propTypes={benchmarkDiffs:tt.a.array.isRequired};var Ok=Sk;function Tk(e,t,n){var r=n.payload;return(null!=e?e:"N/A")+"% ("+("scoreDiff"===t?r.score1stRun.toLocaleString()+" | "+r.score2ndRun.toLocaleString()+" "+r.scoreUnit:r.scoreError1stRun.toLocaleString()+" | "+r.scoreError2ndRun.toLocaleString())+")"}var Mk=function(e){var t=e.benchmarkDiffs,n=e.minDeviation,r=e.runName1,a=e.runName2,i=e.metricKey,s=e.numberOfBenchmarkBundles,c=e.changeMinDeviationFunction;return o.a.createElement(dt.a,{fluid:!0},o.a.createElement(ht.a,null,o.a.createElement(bt.a,{md:6},o.a.createElement("div",{style:{display:"flex"}},o.a.createElement(kk,{benchmarkDiffs:t,minDeviation:n}),o.a.createElement(_k,{benchmarkDiffs:t,minDeviation:n})),"Comparing"," ",o.a.createElement(On.a,null,t.length)," results out of ",o.a.createElement(On.a,null,s)," benchmark classes for '",r,"' and '",a,"' on metric '",i,"'."),o.a.createElement(bt.a,{md:6},o.a.createElement("div",null,"Ignoring deviations below"," "+n,"%"),o.a.createElement(xk.a,{min:0,max:50,value:n,step:5,onChange:c,labels:{0:"0%",5:"5%",10:"10%",20:"20%",50:"50%"},format:function(e){return e+"%"}}),o.a.createElement(Ok,{benchmarkDiffs:t}))))},Ck=n(120),Pk=n.n(Ck),jk=function(e){var t=e.name,n=e.benchmarkDiffs,r=e.lastRunIndex;if(0==n.length)return null;var a=["#","Benchmark","Params","Mode/Unit","Score","Error"].map(function(e){return o.a.createElement("th",{key:e},e)}),i=n.map(function(e,t){var n=void 0,a=void 0;return 0==e.scoreDiff?(n=Te,a=o.a.createElement(Pk.a,{transform:"rotate(45)"})):e.scoreDiff>0?(n=Oe,a=o.a.createElement(Pk.a,null)):(n=Se,a=o.a.createElement(Pk.a,{transform:"rotate(90)"})),o.a.createElement("tr",{key:t},o.a.createElement("td",null,t),o.a.createElement("td",null,o.a.createElement(De,{tooltip:e.bundleKey+"#"+e.benchmarkMethod.name+"()",position:"right"},o.a.createElement("span",{className:"clickable",onClick:function(){return J.detailBenchmarkBundle(e.bundleKey)}},e.bundleName+" - "+e.benchmarkMethod.name+" ",o.a.createElement("span",{style:{color:n}},a," ",e.scoreDiff,"%")))),o.a.createElement("td",null,e.benchmarkMethod.params?e.benchmarkMethod.params.map(function(e){return e[0]+"="+e[1]}).join(":"):""),o.a.createElement("td",null,e.benchmarkMethod.benchmarks[r].mode+" in "+e.scoreUnit),o.a.createElement("td",null,o.a.createElement("div",null,e.score1stRun.toLocaleString()),o.a.createElement("div",null,e.score2ndRun.toLocaleString())),o.a.createElement("td",null,o.a.createElement("div",null,e.scoreError1stRun.toLocaleString()),o.a.createElement("div",null,e.scoreError2ndRun.toLocaleString())))});return o.a.createElement("div",null,o.a.createElement("h3",null,t+" ("+n.length+")"),o.a.createElement(Tx.a,{striped:!0},o.a.createElement("thead",null,o.a.createElement("tr",null,a)),o.a.createElement("tbody",null,i)))},Ak=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={minDeviation:n.props.minDeviation},n}return se()(t,e),re()(t,[{key:"changeMinDeviation",value:function(e){e!=this.state.minDeviation&&this.setState({minDeviation:e})}},{key:"render",value:function(){var e=this.props,t=e.runNames,n=e.runIndex,r=e.benchmarkBundles,a=e.metricExtractor,i=this.state.minDeviation,s=M(r.map(function(e){return e.benchmarkMethods.map(function(t){var r=C(e.benchmarkMethods,a),o=t.benchmarks[n[0]],i=t.benchmarks[n[1]];if(o&&i&&a.hasMetric(o)&&a.hasMetric(i)){var s=Un(a.extractType(o)),c=P(a.extractScore(o),r),l=P(a.extractScore(i),r),u=P(a.extractScoreError(o),r),f=P(a.extractScoreError(i),r),d=a.extractScoreUnit(o),p=void 0;p=s&&s.increaseIsGood?P((l-c)/c*100,r):P((c-l)/l*100,r);var h=P((u-f)/f*100,r);return{bundleKey:e.key,bundleName:e.name,benchmarkMethod:t,score1stRun:c,score2ndRun:l,scoreError1stRun:u,scoreError2ndRun:f,scoreUnit:d,scoreDiff:p,scoreErrorDiff:h}}}).filter(function(e){return void 0!==e})})),c=s.filter(function(e){return 0!=e.scoreDiff&&e.scoreDiff>=i}).sort(function(e,t){return t.scoreDiff-e.scoreDiff}),l=s.filter(function(e){return 0!=e.scoreDiff&&e.scoreDiff<=-i}).sort(function(e,t){return e.scoreDiff-t.scoreDiff}),u=s.filter(function(e){return 0==e.scoreDiff||e.scoreDiff-i}).sort(function(e,t){return t.scoreDiff-e.scoreDiff});return o.a.createElement("div",null,o.a.createElement(Mk,{benchmarkDiffs:s,minDeviation:i,runName1:t[n[0]],runName2:t[n[1]],metricKey:a.metricKey,numberOfBenchmarkBundles:r.length,changeMinDeviationFunction:this.changeMinDeviation.bind(this)}),o.a.createElement("hr",null),o.a.createElement(jk,{name:"Improved Benchmarks",benchmarkDiffs:c,lastRunIndex:n[1]}),o.a.createElement(jk,{name:"Declined Benchmarks",benchmarkDiffs:l,lastRunIndex:n[1]}),o.a.createElement(jk,{name:"Unchanged Benchmarks",benchmarkDiffs:u,lastRunIndex:n[1]}))}}]),t}(o.a.Component);Ak.propTypes={runNames:tt.a.array.isRequired,benchmarkBundles:tt.a.array.isRequired,runIndex:tt.a.array.isRequired,minDeviation:tt.a.number.isRequired,metricExtractor:tt.a.object.isRequired};var Bk=Ak,Ik=$(function(e){var t=e.benchmarkRuns,n=e.runSelection,r=e.selectedMetric;return{benchmarkSelection:new un(t,n),selectedMetric:r}})(function(e){var t=e.benchmarkSelection,n=e.selectedMetric,r=t.benchmarkBundles,a=n,i=function(e){return"Score"===e?new ck:new lk(e)}(n),s="Score"===a?r:r.filter(function(e){return e.allBenchmarks().find(function(e){return i.hasMetric(e)})}),c=new g.a(["Score"]);s.forEach(function(e){return e.allBenchmarks().forEach(function(e){_e()(e.secondaryMetrics).forEach(function(e){return c.add(e)})})});var l=tn()(c),u=[t.runNames.length-2,t.runNames.length-1],f=u.map(function(e){return t.runNames[e]});return o.a.createElement(Pt,{left:o.a.createElement(Bk,{runIndex:u,runNames:f,minDeviation:5,benchmarkBundles:s,metricExtractor:i}),right:o.a.createElement(En,{benchmarkBundles:[],metrics:l,metricExtractor:i,focusedBenchmarkBundles:new g.a,categories:["Benchmarks"],activeCategory:"Benchmarks"})})});var Nk=$(function(e){return{initialLoading:e.initialLoading,benchmarkRuns:e.benchmarkRuns,runSelection:e.runSelection,runView:e.runView,detailedBenchmarkBundle:e.detailedBenchmarkBundle}})(function(e){var t=e.initialLoading,n=e.benchmarkRuns,r=e.runSelection,a=e.runView,i=e.detailedBenchmarkBundle;if(t)return o.a.createElement("div",{style:{position:"fixed",top:"50%",left:"50%"}},o.a.createElement(st,null));var s=void 0;s=0==n.length?o.a.createElement(Zt,null):i?o.a.createElement(bk,null):r.filter(function(e){return e}).length>1&&"Summary"===a?o.a.createElement(Ik,null):o.a.createElement(uk,null);return o.a.createElement("div",null,o.a.createElement(ut,null),o.a.createElement("div",{style:{paddingTop:"20px",paddingBottom:"20px"}},o.a.createElement(Tt,null),s),o.a.createElement(vt,null))});n(628),n(634),n(636);s.a.render(o.a.createElement(X,null,o.a.createElement(Nk,null)),document.getElementById("main"))}]); \ No newline at end of file + */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.timeout"):60113;function h(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case i:case c:case s:return e;default:switch(e=e&&e.$$typeof){case u:case d:case l:return e;default:return t}}case o:return t}}}t.typeOf=h,t.AsyncMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=a,t.ForwardRef=d,t.Fragment=i,t.Profiler=c,t.Portal=o,t.StrictMode=s,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===c||e===s||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===l||e.$$typeof===u||e.$$typeof===d)},t.isAsyncMode=function(e){return h(e)===f},t.isContextConsumer=function(e){return h(e)===u},t.isContextProvider=function(e){return h(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return h(e)===d},t.isFragment=function(e){return h(e)===i},t.isProfiler=function(e){return h(e)===c},t.isPortal=function(e){return h(e)===o},t.isStrictMode=function(e){return h(e)===s}},function(e,t,n){"use strict";t.__esModule=!0,t.uncontrolledPropTypes=function(e,t){var n={};return Object.keys(e).forEach(function(e){n[a(e)]=r}),n},t.isProp=function(e,t){return void 0!==e[t]},t.defaultKey=a,t.isReactComponent=function(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)};!function(e){e&&e.__esModule}(n(97));var r=function(){};function a(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=n(13),f={$bs_navbar:l.default.shape({bsClass:l.default.string})},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=(0,o.default)(e,["className","children"]),i=this.context.$bs_navbar||{bsClass:"navbar"},l=(0,u.prefix)(i,"brand");return c.default.isValidElement(n)?c.default.cloneElement(n,{className:(0,s.default)(n.props.className,t,l)}):c.default.createElement("span",(0,a.default)({},r,{className:(0,s.default)(t,l)}),n)},t}(c.default.Component);d.contextTypes=f;var p=d;t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(1)),c=r(n(0)),l=r(n(62)),u=n(13),f={$bs_navbar:c.default.shape({bsClass:c.default.string,expanded:c.default.bool})},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=(0,o.default)(e,["children"]),r=this.context.$bs_navbar||{bsClass:"navbar"},i=(0,u.prefix)(r,"collapse");return s.default.createElement(l.default,(0,a.default)({in:r.expanded},n),s.default.createElement("div",{className:i},t))},t}(s.default.Component);d.contextTypes=f;var p=d;t.default=p,e.exports=t.default},function(e,t,n){e.exports=n(404)},function(e,t,n){n(405);var r=n(14).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var r=n(50),a=n(140).f;n(137)("getOwnPropertyDescriptor",function(){return function(e,t){return a(r(e),t)}})},function(e,t,n){e.exports=n(199)},function(e,t,n){e.exports=n(408)},function(e,t,n){n(409),e.exports=n(14).parseInt},function(e,t,n){var r=n(15),a=n(410);r(r.G+r.F*(parseInt!=a),{parseInt:a})},function(e,t,n){var r=n(24).parseInt,a=n(411).trim,o=n(211),i=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=a(String(e),3);return r(n,t>>>0||(i.test(n)?16:10))}:r},function(e,t,n){var r=n(15),a=n(92),o=n(49),i=n(211),s="["+i+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),u=function(e,t,n){var a={},s=o(function(){return!!i[e]()||"​…"!="​…"[e]()}),c=a[e]=s?t(f):i[e];n&&(a[n]=c),r(r.P+r.F*s,"String",a)},f=u.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,function(e,t){return t.toUpperCase()})};var r=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e).replace(a,"-ms-")};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(414));var a=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"-$1").toLowerCase()};var r=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,r.default)(t))&&(t="styleFloat");var i=e.currentStyle[t]||null;if(null==i&&n&&n[t]&&(i=n[t]),o.test(i)&&!a.test(t)){var s=n.left,c=e.runtimeStyle,l=c&&c.left;l&&(c.left=e.currentStyle.left),n.left="fontSize"===t?"1em":i,i=n.pixelLeft+"px",n.left=s,l&&(c.left=l)}return i}}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(212));var a=/^(top|right|bottom|left)$/,o=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r="transform",a=void 0,o=void 0,i=void 0,s=void 0,c=void 0,l=void 0,u=void 0,f=void 0,d=void 0,p=void 0,h=void 0;if(function(e){return e&&e.__esModule?e:{default:e}}(n(44)).default){var m=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,a=void 0,o="",i=0;i1?r-1:0),o=1;o1)||(a=t,!1)}),a?new Error("(children) "+r+" - Duplicate children detected of bsRole: "+a+". Only one child each allowed with the following bsRoles: "+t.join(", ")):null})};var a=r(n(0)),o=r(n(98)),i=r(n(82)),s=a.default.oneOfType([a.default.string,a.default.number])},function(e,t,n){e.exports=n(428)},function(e,t,n){n(429),e.exports=n(14).Array.isArray},function(e,t,n){var r=n(15);r(r.S,"Array",{isArray:n(136)})},function(e,t,n){"use strict";var r=n(69),a=n(6);t.__esModule=!0,t.default=void 0;var o=a(n(12)),i=a(n(10)),s=a(n(11)),c=a(n(3)),l=r(n(1)),u=a(n(0)),f=a(n(431)),d=a(n(22)),p=a(n(220)),h=(0,s.default)({},f.default.propTypes,{show:u.default.bool,rootClose:u.default.bool,onHide:u.default.func,animation:u.default.oneOfType([u.default.bool,d.default]),onEnter:u.default.func,onEntering:u.default.func,onEntered:u.default.func,onExit:u.default.func,onExiting:u.default.func,onExited:u.default.func,placement:u.default.oneOf(["top","right","bottom","left"])}),m={animation:p.default,rootClose:!1,show:!1,placement:"right"},b=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.animation,r=t.children,a=(0,o.default)(t,["animation","children"]),i=!0===n?p.default:n||null;return e=i?r:(0,l.cloneElement)(r,{className:(0,c.default)(r.props.className,"in")}),l.default.createElement(f.default,(0,s.default)({},a,{transition:i}),e)},t}(l.default.Component);b.propTypes=h,b.defaultProps=m;var g=b;t.default=g,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["container","containerPadding","target","placement","shouldUpdatePosition","rootClose","children","transition"]);if(!(p.show||d&&!this.state.exited))return null;var h=f;if(h=i.default.createElement(c.default,{container:t,containerPadding:n,target:r,placement:a,shouldUpdatePosition:o},h),d){var m=p.onExit,b=p.onExiting,g=p.onEnter,y=p.onEntering,v=p.onEntered;h=i.default.createElement(d,{in:p.show,appear:!0,onExit:m,onExiting:b,onExited:this.onHiddenListener,onEnter:g,onEntering:y,onEntered:v},h)}return u&&(h=i.default.createElement(l.default,{onRootClose:p.onHide},h)),i.default.createElement(s.default,{container:t},h)},t}(i.default.Component);f.propTypes=r({},s.default.propTypes,c.default.propTypes,{show:a.default.bool,rootClose:a.default.bool,onHide:function(e){var t=a.default.func;e.rootClose&&(t=t.isRequired);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var m=function(e){function t(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,r));return a.getTarget=function(){var e=a.props.target,t="function"==typeof e?e():e;return t&&l.default.findDOMNode(t)||null},a.maybeUpdatePosition=function(e){var t=a.getTarget();(a.props.shouldUpdatePosition||t!==a._lastTarget||e)&&a.updatePosition(t)},a.state={positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null},a._needsFlush=!1,a._lastTarget=null,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.updatePosition(this.getTarget())},t.prototype.componentWillReceiveProps=function(){this._needsFlush=!0},t.prototype.componentDidUpdate=function(e){this._needsFlush&&(this._needsFlush=!1,this.maybeUpdatePosition(this.props.placement!==e.placement))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,o=h(e,["children","className"]),i=this.state,l=i.positionLeft,u=i.positionTop,f=h(i,["positionLeft","positionTop"]);delete o.target,delete o.container,delete o.containerPadding,delete o.shouldUpdatePosition;var d=c.default.Children.only(t);return(0,s.cloneElement)(d,r({},o,f,{positionLeft:l,positionTop:u,className:(0,a.default)(n,d.props.className),style:r({},d.props.style,{left:l,top:u})}))},t.prototype.updatePosition=function(e){if(this._lastTarget=e,e){var t=l.default.findDOMNode(this),n=(0,f.default)(this.props.container,(0,d.default)(this).body);this.setState((0,u.default)(this.props.placement,t,e,n,this.props.containerPadding))}else this.setState({positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null})},t}(c.default.Component);m.propTypes={target:o.default.oneOfType([i.default,o.default.func]),container:o.default.oneOfType([i.default,o.default.func]),containerPadding:o.default.number,placement:o.default.oneOf(["top","right","bottom","left"]),shouldUpdatePosition:o.default.bool},m.displayName="Position",m.defaultProps={containerPadding:0,placement:"right",shouldUpdatePosition:!1},t.default=m,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n,o,i){var s="BODY"===o.tagName?(0,r.default)(n):(0,a.default)(n,o),l=(0,r.default)(t),u=l.height,f=l.width,d=void 0,p=void 0,h=void 0,m=void 0;if("left"===e||"right"===e){p=s.top+(s.height-u)/2,d="left"===e?s.left-f:s.left+s.width;var b=function(e,t,n,r){var a=c(n),o=a.scroll,i=a.height,s=e-r-o,l=e+r-o+t;return s<0?-s:l>i?i-l:0}(p,u,o,i);p+=b,m=50*(1-2*b/u)+"%",h=void 0}else{if("top"!==e&&"bottom"!==e)throw new Error('calcOverlayPosition(): No such placement of "'+e+'" found.');d=s.left+(s.width-f)/2,p="top"===e?s.top-u:s.top+s.height;var g=function(e,t,n,r){var a=c(n).width,o=e-r,i=e+r+t;if(o<0)return-o;if(i>a)return a-i;return 0}(d,f,o,i);d+=g,h=50*(1-2*g/f)+"%",m=void 0}return{positionLeft:d,positionTop:p,arrowOffsetLeft:h,arrowOffsetTop:m}};var r=s(n(85)),a=s(n(435)),o=s(n(146)),i=s(n(52));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=void 0,n=void 0,a=void 0;if("BODY"===e.tagName)t=window.innerWidth,n=window.innerHeight,a=(0,o.default)((0,i.default)(e).documentElement)||(0,o.default)(e);else{var s=(0,r.default)(e);t=s.width,n=s.height,a=(0,o.default)(e)}return{width:t,height:n,scroll:a}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t>",c=i||r;if(null==n[r])return t?new Error("Required "+o+" `"+c+"` was not specified in `"+s+"`."):null;for(var l=arguments.length,u=Array(l>6?l-6:0),f=6;fa.getPositionTopMax()?"bottom"===a.state.affixed?a.updateStateAtBottom():a.setState({affixed:"bottom",position:"absolute",top:null},function(){a._isMounted&&a.updateStateAtBottom()}):a.updateState("affix","fixed",n)}},a.getPositionTopMax=function(){return(0,h.default)((0,m.default)(a))-(0,o.default)(d.default.findDOMNode(a))-a.props.offsetBottom},a.updateState=function(e,t,n){if(e!==a.state.affixed||t!==a.state.position||n!==a.state.top){var r="affix"===e?"":e.charAt(0).toUpperCase()+e.substr(1);a.props["onAffix"+r]&&a.props["onAffix"+r](),a.setState({affixed:e,position:t,top:n},function(){a.props["onAffixed"+r]&&a.props["onAffixed"+r]()})}},a.updateStateAtBottom=function(){var e=a.getPositionTopMax(),t=(0,s.default)(d.default.findDOMNode(a)),n=(0,i.default)(t).top;a.updateState("bottom","absolute",e-n)},a.state={affixed:"top",position:null,top:null},a._needPositionUpdate=!1,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){var e=this;this._isMounted=!0,this._windowScrollListener=(0,p.default)((0,b.default)(this),"scroll",function(){return e.onWindowScroll()}),this._documentClickListener=(0,p.default)((0,m.default)(this),"click",function(){return e.onDocumentClick()}),this.onUpdate()},t.prototype.componentWillReceiveProps=function(){this._needPositionUpdate=!0},t.prototype.componentDidUpdate=function(){this._needPositionUpdate&&(this._needPositionUpdate=!1,this.onUpdate())},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._windowScrollListener&&this._windowScrollListener.remove(),this._documentClickListener&&this._documentClickListener.remove()},t.prototype.render=function(){var e=f.default.Children.only(this.props.children),t=e.props,n=t.className,o=t.style,i=this.state,s=i.affixed,c={position:i.position,top:i.top},l=void 0,u=void 0;return"top"===s?(l=this.props.topClassName,u=this.props.topStyle):"bottom"===s?(l=this.props.bottomClassName,u=this.props.bottomStyle):(l=this.props.affixClassName,u=this.props.affixStyle),f.default.cloneElement(e,{className:(0,a.default)(l,n),style:r({},c,u,o)})},t}(f.default.Component);y.propTypes={offsetTop:u.default.number,viewportOffsetTop:u.default.number,offsetBottom:u.default.number,topClassName:u.default.string,topStyle:u.default.object,affixClassName:u.default.string,affixStyle:u.default.object,bottomClassName:u.default.string,bottomStyle:u.default.object,onAffix:u.default.func,onAffixed:u.default.func,onAffixTop:u.default.func,onAffixedTop:u.default.func,onAffixBottom:u.default.func,onAffixedBottom:u.default.func},y.defaultProps={offsetTop:0,viewportOffsetTop:null,offsetBottom:0},t.default=y,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);return n?n.innerHeight:t?e.clientHeight:(0,r.default)(e).height};var r=o(n(85)),a=o(n(86));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e);return t&&t.defaultView||t.parentWindow};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(58));e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(12)),o=r(n(11)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=r(n(447)),f=n(13),d={$bs_formGroup:l.default.object},p=function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var n=t.prototype;return n.getGlyph=function(e){switch(e){case"success":return"ok";case"warning":return"warning-sign";case"error":return"remove";default:return null}},n.renderDefaultFeedback=function(e,t,n,r){var a=this.getGlyph(e&&e.validationState);return a?c.default.createElement(u.default,(0,o.default)({},r,{glyph:a,className:(0,s.default)(t,n)})):null},n.render=function(){var e=this.props,t=e.className,n=e.children,r=(0,a.default)(e,["className","children"]),i=(0,f.splitBsProps)(r),l=i[0],u=i[1],d=(0,f.getClassSet)(l);if(!n)return this.renderDefaultFeedback(this.context.$bs_formGroup,t,d,u);var p=c.default.Children.only(n);return c.default.cloneElement(p,(0,o.default)({},u,{className:(0,s.default)(p.props.className,t,d)}))},t}(c.default.Component);p.defaultProps={bsRole:"feedback"},p.contextTypes=d;var h=(0,f.bsClass)("form-control-feedback",p);t.default=h,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=n(13),f={glyph:l.default.string.isRequired},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.glyph,r=t.className,i=(0,o.default)(t,["glyph","className"]),l=(0,u.splitBsProps)(i),f=l[0],d=l[1],p=(0,a.default)({},(0,u.getClassSet)(f),((e={})[(0,u.prefix)(f,n)]=!0,e));return c.default.createElement("span",(0,a.default)({},d,{className:(0,s.default)(r,p)}))},t}(c.default.Component);d.propTypes=f;var p=(0,u.bsClass)("glyphicon",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"p"};var p=(0,u.bsClass)("form-control-static",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listen=t.filter=t.off=t.on=void 0;var r=s(n(144)),a=s(n(145)),o=s(n(450)),i=s(n(452));function s(e){return e&&e.__esModule?e:{default:e}}t.on=r.default,t.off=a.default,t.filter=o.default,t.listen=i.default,t.default={on:r.default,off:a.default,filter:o.default,listen:i.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){var o=n.currentTarget,i=n.target,s=(0,a.default)(o,e);s.some(function(e){return(0,r.default)(e,i)})&&t.call(this,n)}};var r=o(n(70)),a=o(n(451));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,o="#"===t[0],i="."===t[0],s=o||i?t.slice(1):t;if(r.test(s))return o?(e=e.getElementById?e:document,(n=e.getElementById(s))?[n]:[]):e.getElementsByClassName&&i?a(e.getElementsByClassName(s)):a(e.getElementsByTagName(t));return a(e.querySelectorAll(t))};var r=/^[\w-]*$/,a=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(44)),a=i(n(144)),o=i(n(145));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(){};r.default&&(s=function(e,t,n,r){return(0,a.default)(e,t,n,r),function(){(0,o.default)(e,t,n,r)}}),t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t>",u=c||o;if(null!=n[o]){var f=i+"."+o;(0,r.default)(a[f],"The "+s+" `"+u+"` of `"+l+"` is deprecated. "+t+"."),a[f]=!0}for(var d=arguments.length,p=Array(d>5?d-5:0),h=5;h0&&void 0!==arguments[0]?arguments[0]:{},c=n.hideSiblingNodes,l=void 0===c||c,u=n.handleContainerOverflow,f=void 0===u||u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.add=function(e,n,c){var l=t.modals.indexOf(e),u=t.containers.indexOf(n);if(-1!==l)return l;if(l=t.modals.length,t.modals.push(e),t.hideSiblingNodes&&(0,s.hideSiblings)(n,e.mountNode),-1!==u)return t.data[u].modals.push(e),l;var f={modals:[e],classes:c?c.split(/\s+/):[],overflowing:(0,i.default)(n)};return t.handleContainerOverflow&&function(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt((0,a.default)(t,"paddingRight")||0,10)+(0,o.default)()+"px"),(0,a.default)(t,n)}(f,n),f.classes.forEach(r.default.addClass.bind(null,n)),t.containers.push(n),t.data.push(f),l},this.remove=function(e){var n=t.modals.indexOf(e);if(-1!==n){var a=function(e,t){return function(e,t){var n=-1;return e.some(function(e,r){if(t(e,r))return n=r,!0}),n}(e,function(e){return-1!==e.modals.indexOf(t)})}(t.data,e),o=t.data[a],i=t.containers[a];o.modals.splice(o.modals.indexOf(e),1),t.modals.splice(n,1),0===o.modals.length?(o.classes.forEach(r.default.removeClass.bind(null,i)),t.handleContainerOverflow&&function(e,t){var n=e.style;Object.keys(n).forEach(function(e){return t.style[e]=n[e]})}(o,i),t.hideSiblingNodes&&(0,s.showSiblings)(i,e.mountNode),t.containers.splice(a,1),t.data.splice(a,1)):t.hideSiblingNodes&&(0,s.ariaHidden)(!1,o.modals[o.modals.length-1].mountNode)}},this.isTopModal=function(e){return!!t.modals.length&&t.modals[t.modals.length-1]===e},this.hideSiblingNodes=l,this.handleContainerOverflow=f,this.modals=[],this.containers=[],this.data=[]},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=t.removeClass=t.addClass=void 0;var r=i(n(229)),a=i(n(231)),o=i(n(230));function i(e){return e&&e.__esModule?e:{default:e}}t.addClass=r.default,t.removeClass=a.default,t.hasClass=o.default,t.default={addClass:r.default,removeClass:a.default,hasClass:o.default}},function(e,t,n){"use strict";t.__esModule=!0,t.ariaHidden=o,t.hideSiblings=function(e,t){a(e,t,function(e){return o(!0,e)})},t.showSiblings=function(e,t){a(e,t,function(e){return o(!1,e)})};var r=["template","script","style"],a=function(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){-1===t.indexOf(e)&&function(e){var t=e.nodeType,n=e.tagName;return 1===t&&-1===r.indexOf(n.toLowerCase())}(e)&&n(e)})};function o(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(0)),a=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var i={children:r.default.node},s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return this.props.children},t}(a.default.Component);s.propTypes=i,t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=void 0;document.addEventListener?(document.addEventListener("focus",e,!0),t=function(){return document.removeEventListener("focus",e,!0)}):(document.attachEvent("onfocusin",e),t=function(){return document.detachEvent("onfocusin",e)});return{remove:t}},e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"div"};var p=(0,u.bsClass)("modal-body",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(0)),u=n(13),f=n(34),d={dialogClassName:l.default.string},p=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.dialogClassName,r=t.className,i=t.style,l=t.children,f=(0,o.default)(t,["dialogClassName","className","style","children"]),d=(0,u.splitBsProps)(f),p=d[0],h=d[1],m=(0,u.prefix)(p),b=(0,a.default)({display:"block"},i),g=(0,a.default)({},(0,u.getClassSet)(p),((e={})[m]=!1,e[(0,u.prefix)(p,"dialog")]=!0,e));return c.default.createElement("div",(0,a.default)({},h,{tabIndex:"-1",role:"dialog",style:b,className:(0,s.default)(r,m)}),c.default.createElement("div",{className:(0,s.default)(n,g)},c.default.createElement("div",{className:(0,u.prefix)(p,"content"),role:"document"},l)))},t}(c.default.Component);p.propTypes=d;var h=(0,u.bsClass)("modal",(0,u.bsSizes)([f.Size.LARGE,f.Size.SMALL],p));t.default=h,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"div"};var p=(0,u.bsClass)("modal-footer",d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(0)),l=r(n(1)),u=n(13),f=r(n(26)),d=r(n(227)),p={closeLabel:c.default.string,closeButton:c.default.bool,onHide:c.default.func},h={$bs_modal:c.default.shape({onHide:c.default.func})},m=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.closeLabel,n=e.closeButton,r=e.onHide,i=e.className,c=e.children,p=(0,o.default)(e,["closeLabel","closeButton","onHide","className","children"]),h=this.context.$bs_modal,m=(0,u.splitBsProps)(p),b=m[0],g=m[1],y=(0,u.getClassSet)(b);return l.default.createElement("div",(0,a.default)({},g,{className:(0,s.default)(i,y)}),n&&l.default.createElement(d.default,{label:t,onClick:(0,f.default)(h&&h.onHide,r)}),c)},t}(l.default.Component);m.propTypes=p,m.defaultProps={closeLabel:"Close",closeButton:!1},m.contextTypes=h;var b=(0,u.bsClass)("modal-header",m);t.default=b,e.exports=t.default},function(e,t,n){"use strict";var r=n(6);t.__esModule=!0,t.default=void 0;var a=r(n(11)),o=r(n(12)),i=r(n(10)),s=r(n(3)),c=r(n(1)),l=r(n(22)),u=n(13),f={componentClass:l.default},d=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=(0,o.default)(e,["componentClass","className"]),i=(0,u.splitBsProps)(r),l=i[0],f=i[1],d=(0,u.getClassSet)(l);return c.default.createElement(t,(0,a.default)({},f,{className:(0,s.default)(n,d)}))},t}(c.default.Component);d.propTypes=f,d.defaultProps={componentClass:"h4"};var p=(0,u.bsClass)("modal-title",d);t.default=p,e.exports=t.default},function(e,t,n){e.exports={default:n(466),__esModule:!0}},function(e,t,n){n(68),n(56),e.exports=n(467)},function(e,t,n){var r=n(96),a=n(25)("iterator"),o=n(65);e.exports=n(14).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0){var n=t[0];return{x:n.clientX,y:n.clientY}}var r=e.pageX;if(void 0!==r)return{x:r,y:e.pageY}}return{x:0,y:0}}},function(e,t,n){var r=n(479);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,".react-toggle {\n touch-action: pan-x;\n\n display: inline-block;\n position: relative;\n cursor: pointer;\n background-color: transparent;\n border: 0;\n padding: 0;\n\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n -webkit-tap-highlight-color: transparent;\n}\n\n.react-toggle-screenreader-only {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.react-toggle--disabled {\n cursor: not-allowed;\n opacity: 0.5;\n -webkit-transition: opacity 0.25s;\n transition: opacity 0.25s;\n}\n\n.react-toggle-track {\n width: 50px;\n height: 24px;\n padding: 0;\n border-radius: 30px;\n background-color: #4D4D4D;\n -webkit-transition: all 0.2s ease;\n -moz-transition: all 0.2s ease;\n transition: all 0.2s ease;\n}\n\n.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {\n background-color: #000000;\n}\n\n.react-toggle--checked .react-toggle-track {\n background-color: #19AB27;\n}\n\n.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {\n background-color: #128D15;\n}\n\n.react-toggle-track-check {\n position: absolute;\n width: 14px;\n height: 10px;\n top: 0px;\n bottom: 0px;\n margin-top: auto;\n margin-bottom: auto;\n line-height: 0;\n left: 8px;\n opacity: 0;\n -webkit-transition: opacity 0.25s ease;\n -moz-transition: opacity 0.25s ease;\n transition: opacity 0.25s ease;\n}\n\n.react-toggle--checked .react-toggle-track-check {\n opacity: 1;\n -webkit-transition: opacity 0.25s ease;\n -moz-transition: opacity 0.25s ease;\n transition: opacity 0.25s ease;\n}\n\n.react-toggle-track-x {\n position: absolute;\n width: 10px;\n height: 10px;\n top: 0px;\n bottom: 0px;\n margin-top: auto;\n margin-bottom: auto;\n line-height: 0;\n right: 10px;\n opacity: 1;\n -webkit-transition: opacity 0.25s ease;\n -moz-transition: opacity 0.25s ease;\n transition: opacity 0.25s ease;\n}\n\n.react-toggle--checked .react-toggle-track-x {\n opacity: 0;\n}\n\n.react-toggle-thumb {\n transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;\n position: absolute;\n top: 1px;\n left: 1px;\n width: 22px;\n height: 22px;\n border: 1px solid #4D4D4D;\n border-radius: 50%;\n background-color: #FAFAFA;\n\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n -webkit-transition: all 0.25s ease;\n -moz-transition: all 0.25s ease;\n transition: all 0.25s ease;\n}\n\n.react-toggle--checked .react-toggle-thumb {\n left: 27px;\n border-color: #19AB27;\n}\n\n.react-toggle--focus .react-toggle-thumb {\n -webkit-box-shadow: 0px 0px 3px 2px #0099E0;\n -moz-box-shadow: 0px 0px 3px 2px #0099E0;\n box-shadow: 0px 0px 2px 3px #0099E0;\n}\n\n.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb {\n -webkit-box-shadow: 0px 0px 5px 5px #0099E0;\n -moz-box-shadow: 0px 0px 5px 5px #0099E0;\n box-shadow: 0px 0px 5px 5px #0099E0;\n}\n",""])},function(e,t,n){var r=n(14),a=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,n){n(482),n(494),n(495),n(496),n(497),n(498),n(499),n(500),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509),n(510),e.exports=n(152).Math},function(e,t,n){var r=n(23),a=n(237),o=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:a(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var r=n(484),a=n(485),o=n(487),i=Object.defineProperty;t.f=n(154)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),a)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(153);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(154)&&!n(104)(function(){return 7!=Object.defineProperty(n(486)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(153),a=n(151).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var r=n(153);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(151),a=n(236),o=n(490),i=n(491)("src"),s=Function.toString,c=(""+s).split("toString");n(152).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||a(n,"name",t)),e[t]!==n&&(l&&(o(n,i)||a(n,i,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||s.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(493);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(23),a=Math.asinh;r(r.S+r.F*!(a&&1/a(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(23),a=Math.atanh;r(r.S+r.F*!(a&&1/a(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(23),a=n(155);r(r.S,"Math",{cbrt:function(e){return a(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(23);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(23),a=Math.exp;r(r.S,"Math",{cosh:function(e){return(a(e=+e)+a(-e))/2}})},function(e,t,n){var r=n(23),a=n(156);r(r.S+r.F*(a!=Math.expm1),"Math",{expm1:a})},function(e,t,n){var r=n(23);r(r.S,"Math",{fround:n(501)})},function(e,t,n){var r=n(155),a=Math.pow,o=a(2,-52),i=a(2,-23),s=a(2,127)*(2-i),c=a(2,-126);e.exports=Math.fround||function(e){var t,n,a=Math.abs(e),l=r(e);return as||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(23),a=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,i=0,s=arguments.length,c=0;i0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(o)}})},function(e,t,n){var r=n(23),a=Math.imul;r(r.S+r.F*n(104)(function(){return-5!=a(4294967295,5)||2!=a.length}),"Math",{imul:function(e,t){var n=+e,r=+t,a=65535&n,o=65535&r;return 0|a*o+((65535&n>>>16)*o+a*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(23);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(23);r(r.S,"Math",{log1p:n(237)})},function(e,t,n){var r=n(23);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(23);r(r.S,"Math",{sign:n(155)})},function(e,t,n){var r=n(23),a=n(156),o=Math.exp;r(r.S+r.F*n(104)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(a(e)-a(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(23),a=n(156),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=a(e=+e),n=a(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var r=n(23);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(238),a=n(243),o=n(543),i=n(547),s=n(562),c=n(28),l=n(248),u=n(250),f=1,d="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,b,g,y){var v=c(e),w=c(t),x=v?p:s(e),k=w?p:s(t),_=(x=x==d?h:x)==h,E=(k=k==d?h:k)==h,S=x==k;if(S&&l(e)){if(!l(t))return!1;v=!0,_=!1}if(S&&!_)return y||(y=new r),v||u(e)?a(e,t,n,b,g,y):o(e,t,x,n,b,g,y);if(!(n&f)){var O=_&&m.call(e,"__wrapped__"),T=E&&m.call(t,"__wrapped__");if(O||T){var M=O?e.value():e,C=T?t.value():t;return y||(y=new r),g(M,C,n,b,y)}}return!!S&&(y||(y=new r),i(e,t,n,b,g,y))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(106),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(106);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(106);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(106);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(105);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(105),a=n(159),o=n(161),i=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!a||s.length1)for(var n=1;n=120&&g.length>=120)?new r(p&&g):void 0}g=e[0];var y=-1,v=h[0];e:for(;++y-1}},function(e,t,n){var r=n(573),a=n(574),o=n(575);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(586);e.exports=function(e){return r(e)?e:[]}},function(e,t,n){var r=n(164),a=n(53);e.exports=function(e){return a(e)&&r(e)}},function(e,t,n){var r=n(588);e.exports=function(e,t){var n=[];return r(e,function(e,r,a){t(e,r,a)&&n.push(e)}),n}},function(e,t,n){var r=n(589),a=n(592)(r);e.exports=a},function(e,t,n){var r=n(590),a=n(162);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(591)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++a];if(!1===n(o[c],c,o))break}return t}}},function(e,t,n){var r=n(164);e.exports=function(e,t){return function(n,a){if(null==n)return n;if(!r(n))return e(n,a);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","in"]),o=a.default.Children.toArray(t),s=o[0],c=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,a.default.createElement(i.default,r,n?a.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):a.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(a.default.Component),u=function(){var e=this;this.handleEnter=function(){for(var t=arguments.length,n=Array(t),r=0;r=t||n<0||d&&e-u>=i}function x(){var e=b();if(w(e))return k(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?m(n,i-(e-u)):n}(e))}function k(e){return c=void 0,p&&a?v(e):(a=o=void 0,s)}function _(){var e=b(),n=w(e);if(a=arguments,o=this,l=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(x,t),f?v(e):s}(l);if(d)return c=setTimeout(x,t),v(l)}return void 0===c&&(c=setTimeout(x,t)),s}return t=y(t)||0,g(r)&&(f=!!r.leading,i=(d="maxWait"in r)?h(y(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==c&&clearTimeout(c),u=0,a=l=o=c=void 0},_.flush=function(){return void 0===c?s:k(b())},_}}).call(this,n(51))},function(e,t,n){(function(t){var n="Expected a function",r=NaN,a="[object Symbol]",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=u||f||Function("return this")(),p=Object.prototype.toString,h=Math.max,m=Math.min,b=function(){return d.Date.now()};function g(e,t,r){var a,o,i,s,c,l,u=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function g(t){var n=a,r=o;return a=o=void 0,u=t,s=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=i}function x(){var e=b();if(w(e))return k(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?m(n,i-(e-u)):n}(e))}function k(e){return c=void 0,p&&a?g(e):(a=o=void 0,s)}function _(){var e=b(),n=w(e);if(a=arguments,o=this,l=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(x,t),f?g(e):s}(l);if(d)return c=setTimeout(x,t),g(l)}return void 0===c&&(c=setTimeout(x,t)),s}return t=v(t)||0,y(r)&&(f=!!r.leading,i=(d="maxWait"in r)?h(v(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==c&&clearTimeout(c),u=0,a=l=o=c=void 0},_.flush=function(){return void 0===c?s:k(b())},_}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&p.call(e)==a}(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=function(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),g(e,t,{leading:a,maxWait:t,trailing:o})}}).call(this,n(51))},function(e,t,n){var r=n(259);function a(e,t,n){var o=e;return function(e,t){var n=[],a="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var o=a.exec(e);if(!o)return n;if(void 0===o[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var i=o[1],s=o.index,c=r("(",")",e.substring(s));if(!c||c.start!==o[0].length-1)throw new SyntaxError(i+"(): missing closing ')' in the value '"+e+"'");n.push({matches:c,functionIdentifier:i}),e=c.post}while(a.test(e));return n}(e,t).reduce(function(e,r){return e.replace(r.functionIdentifier+"("+r.matches.body+")",function(e,t,n,r,o){return n(a(e,o,n),t,r)}(r.matches.body,r.functionIdentifier,n,o,t))},e)}e.exports=a},function(e,t,n){var r=n(618);r.prototype.formulaEval=function(){"use strict";for(var e,t,n,r=[],a=this.value,o=0;o"+t.value+""+a[o].show+""+e.value+"",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+""+e.value+"",type:1})):2===a[o].type||9===a[o].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+a[o].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:a[o].type})):12===a[o].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:a[o].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},e.exports=r},function(e,t,n){var r=n(619);r.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,a,o=[],i=this.value,s=void 0!==e.n,c=0;c1)throw new r.exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},r.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=r},function(e,t,n){var r=n(620);r.prototype.toPostfix=function(){"use strict";for(var e,t,n,a,o,i=[],s=[{value:"(",type:4,pre:0}],c=this.value,l=1;ln)s.push(e);else{for(;n>=a&&!u||u&&ag.length-2?g.length-1:_.length-i;y>0;y--)for(w=0;wa&&(o=a,i=n),[o,i]}function l(e,t,n){if(e.lte(0))return new a.default(0);var r=i.default.getDigitCount(e.toNumber()),o=new a.default(10).pow(r),s=e.div(o),c=1!==r?.05:.1,l=new a.default(Math.ceil(s.div(c).toNumber())).add(n).mul(c).mul(o);return t?l:new a.default(Math.ceil(l))}function u(e,t,n){var r=1,s=new a.default(e);if(!s.isint()&&n){var c=Math.abs(e);c<1?(r=new a.default(10).pow(i.default.getDigitCount(e)-1),s=new a.default(Math.floor(s.div(r).toNumber())).mul(r)):c>1&&(s=new a.default(Math.floor(e)))}else 0===e?s=new a.default(Math.floor((t-1)/2)):n||(s=new a.default(Math.floor(e)));var l=Math.floor((t-1)/2);return(0,o.compose)((0,o.map)(function(e){return s.add(new a.default(e-l).mul(r)).toNumber()}),o.range)(0,t)}t.getNiceTickValues=(0,o.memoize)(function(e){var t=r(e,2),n=t[0],s=t[1],f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,d=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],p=Math.max(f,2),h=c([n,s]),m=r(h,2),b=m[0],g=m[1];if(b===g)return u(b,f,d);var y=function e(t,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((n-t)/(r-1)))return{step:new a.default(0),tickMin:new a.default(0),tickMax:new a.default(0)};var s=l(new a.default(n).sub(t).div(r-1),o,i),c=void 0;c=t<=0&&n>=0?new a.default(0):(c=new a.default(t).add(n).div(2)).sub(new a.default(c).mod(s));var u=Math.ceil(c.sub(t).div(s).toNumber()),f=Math.ceil(new a.default(n).sub(c).div(s).toNumber()),d=u+f+1;return d>r?e(t,n,r,o,i+1):(d0?f+(r-d):f,u=n>0?u:u+(r-d)),{step:s,tickMin:c.sub(new a.default(u).mul(s)),tickMax:c.add(new a.default(f).mul(s))})}(b,g,p,d),v=y.step,w=y.tickMin,x=y.tickMax,k=i.default.rangeStep(w,x.add(new a.default(.1).mul(v)),v);return n>s?(0,o.reverse)(k):k}),t.getTickValues=(0,o.memoize)(function(e){var t=r(e,2),n=t[0],i=t[1],s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,f=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=Math.max(s,2),p=c([n,i]),h=r(p,2),m=h[0],b=h[1];if(m===b)return u(m,s,f);var g=l(new a.default(b).sub(m).div(d-1),f,0),y=(0,o.compose)((0,o.map)(function(e){return new a.default(m).add(new a.default(e).mul(g)).toNumber()}),o.range)(0,d).filter(function(e){return e>=m&&e<=b});return n>i?(0,o.reverse)(y):y}),t.getTickValuesFixedDomain=(0,o.memoize)(function(e,t){var n=r(e,2),s=n[0],u=n[1],f=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=c([s,u]),p=r(d,2),h=p[0],m=p[1];if(h===m)return[h];var b=Math.max(t,2),g=l(new a.default(m).sub(h).div(b-1),f,0),y=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);tu?(0,o.reverse)(y):y})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(260)),a=n(261);var o=(0,a.curry)(function(e,t,n){var r=+e;return r+n*(+t-r)}),i=(0,a.curry)(function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)}),s=(0,a.curry)(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});t.default={rangeStep:function(e,t,n){for(var a=new r.default(e),o=[];a.lt(t);)o.push(a.toNumber()),a=a.add(n);return o},getDigitCount:function(e){return 0===e?1:Math.floor(new r.default(e).abs().log(10).toNumber())+1},interpolateNumber:o,uninterpolateNumber:i,uninterpolateTruncation:s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;ni?i:a+s,c&&c(l,e);break;case 37:case 40:l=a-s0){E=E.sort(function(e,t){return c?e-t:t-e});var S=!0,O=!1,T=void 0;try{for(var M,C=E[Symbol.iterator]();!(S=(M=C.next()).done);S=!0){var P=M.value,j=this.getPositionFromValue(P),A=f({},g,this.coordinates(j).label+"px");_.push(i.default.createElement("li",{key:P,className:(0,a.default)("rangeslider__label-item"),"data-value":P,onMouseDown:this.handleDrag,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,style:A},this.props.labels[P]))}}catch(e){O=!0,T=e}finally{try{!S&&C.return&&C.return()}finally{if(O)throw T}}}return i.default.createElement("div",{ref:function(t){e.slider=t},className:(0,a.default)("rangeslider","rangeslider-"+r,{"rangeslider-reverse":c},o),onMouseDown:this.handleDrag,onMouseUp:this.handleEnd,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,"aria-valuemin":u,"aria-valuemax":p,"aria-valuenow":n,"aria-orientation":r},i.default.createElement("div",{className:"rangeslider__fill",style:w}),i.default.createElement("div",{ref:function(t){e.handle=t},className:"rangeslider__handle",onMouseDown:this.handleStart,onTouchMove:this.handleDrag,onTouchEnd:this.handleEnd,onKeyDown:this.handleKeyDown,style:x,tabIndex:0},k?i.default.createElement("div",{ref:function(t){e.tooltip=t},className:"rangeslider__handle-tooltip"},i.default.createElement("span",null,this.handleFormat(n))):null,i.default.createElement("div",{className:"rangeslider__handle-label"},h)),l?this.renderLabels(_):null)}}]),t}();p.propTypes={min:s.default.number,max:s.default.number,step:s.default.number,value:s.default.number,orientation:s.default.string,tooltip:s.default.bool,reverse:s.default.bool,labels:s.default.object,handleLabel:s.default.string,format:s.default.func,onChangeStart:s.default.func,onChange:s.default.func,onChangeComplete:s.default.func},p.defaultProps={min:0,max:100,step:1,value:0,orientation:"horizontal",tooltip:!0,reverse:!1,labels:{},handleLabel:""},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},t.clamp=function(e,t,n){return Math.min(Math.max(e,t),n)}},function(e,t,n){var r=n(627);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,"/**\n* Rangeslider\n*/\n.rangeslider {\n margin: 20px 0;\n position: relative;\n background: #e6e6e6;\n -ms-touch-action: none;\n touch-action: none;\n}\n.rangeslider,\n.rangeslider .rangeslider__fill {\n display: block;\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);\n}\n.rangeslider .rangeslider__handle {\n background: #fff;\n border: 1px solid #ccc;\n cursor: pointer;\n display: inline-block;\n position: absolute;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 -1px 3px rgba(0, 0, 0, 0.4);\n}\n.rangeslider .rangeslider__handle .rangeslider__active {\n opacity: 1;\n}\n.rangeslider .rangeslider__handle-tooltip {\n width: 40px;\n height: 40px;\n text-align: center;\n position: absolute;\n background-color: rgba(0, 0, 0, 0.8);\n font-weight: normal;\n font-size: 14px;\n transition: all 100ms ease-in;\n border-radius: 4px;\n display: inline-block;\n color: white;\n left: 50%;\n transform: translate3d(-50%, 0, 0);\n}\n.rangeslider .rangeslider__handle-tooltip span {\n margin-top: 12px;\n display: inline-block;\n line-height: 100%;\n}\n.rangeslider .rangeslider__handle-tooltip:after {\n content: ' ';\n position: absolute;\n width: 0;\n height: 0;\n}\n/**\n* Rangeslider - Horizontal slider\n*/\n.rangeslider-horizontal {\n height: 12px;\n border-radius: 10px;\n}\n.rangeslider-horizontal .rangeslider__fill {\n height: 100%;\n background-color: #7cb342;\n border-radius: 10px;\n top: 0;\n}\n.rangeslider-horizontal .rangeslider__handle {\n width: 30px;\n height: 30px;\n border-radius: 30px;\n top: 50%;\n transform: translate3d(-50%, -50%, 0);\n}\n.rangeslider-horizontal .rangeslider__handle:after {\n content: ' ';\n position: absolute;\n width: 16px;\n height: 16px;\n top: 6px;\n left: 6px;\n border-radius: 50%;\n background-color: #dadada;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) inset, 0 -1px 3px rgba(0, 0, 0, 0.4) inset;\n}\n.rangeslider-horizontal .rangeslider__handle-tooltip {\n top: -55px;\n}\n.rangeslider-horizontal .rangeslider__handle-tooltip:after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-top: 8px solid rgba(0, 0, 0, 0.8);\n left: 50%;\n bottom: -8px;\n transform: translate3d(-50%, 0, 0);\n}\n/**\n* Rangeslider - Vertical slider\n*/\n.rangeslider-vertical {\n margin: 20px auto;\n height: 150px;\n max-width: 10px;\n background-color: transparent;\n}\n.rangeslider-vertical .rangeslider__fill,\n.rangeslider-vertical .rangeslider__handle {\n position: absolute;\n}\n.rangeslider-vertical .rangeslider__fill {\n width: 100%;\n background-color: #7cb342;\n box-shadow: none;\n bottom: 0;\n}\n.rangeslider-vertical .rangeslider__handle {\n width: 30px;\n height: 10px;\n left: -10px;\n box-shadow: none;\n}\n.rangeslider-vertical .rangeslider__handle-tooltip {\n left: -100%;\n top: 50%;\n transform: translate3d(-50%, -50%, 0);\n}\n.rangeslider-vertical .rangeslider__handle-tooltip:after {\n border-top: 8px solid transparent;\n border-bottom: 8px solid transparent;\n border-left: 8px solid rgba(0, 0, 0, 0.8);\n left: 100%;\n top: 12px;\n}\n/**\n* Rangeslider - Reverse\n*/\n.rangeslider-reverse.rangeslider-horizontal .rangeslider__fill {\n right: 0;\n}\n.rangeslider-reverse.rangeslider-vertical .rangeslider__fill {\n top: 0;\n bottom: inherit;\n}\n/**\n* Rangeslider - Labels\n*/\n.rangeslider__labels {\n position: relative;\n}\n.rangeslider-vertical .rangeslider__labels {\n position: relative;\n list-style-type: none;\n margin: 0 0 0 24px;\n padding: 0;\n text-align: left;\n width: 250px;\n height: 100%;\n left: 10px;\n}\n.rangeslider-vertical .rangeslider__labels .rangeslider__label-item {\n position: absolute;\n transform: translate3d(0, -50%, 0);\n}\n.rangeslider-vertical .rangeslider__labels .rangeslider__label-item::before {\n content: '';\n width: 10px;\n height: 2px;\n background: black;\n position: absolute;\n left: -14px;\n top: 50%;\n transform: translateY(-50%);\n z-index: -1;\n}\n.rangeslider__labels .rangeslider__label-item {\n position: absolute;\n font-size: 14px;\n cursor: pointer;\n display: inline-block;\n top: 10px;\n transform: translate3d(-50%, 0, 0);\n}\n",""])},function(e,t,n){var r=n(629);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n margin: .67em 0;\n font-size: 2em;\n}\nmark {\n color: #000;\n background: #ff0;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsup {\n top: -.5em;\n}\nsub {\n bottom: -.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n height: 0;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font: inherit;\n color: inherit;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type="button"],\ninput[type="reset"],\ninput[type="submit"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type="checkbox"],\ninput[type="radio"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n}\ninput[type="number"]::-webkit-inner-spin-button,\ninput[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type="search"] {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-appearance: textfield;\n}\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n padding: .35em .625em .75em;\n margin: 0 2px;\n border: 1px solid #c0c0c0;\n}\nlegend {\n padding: 0;\n border: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n color: #000 !important;\n text-shadow: none !important;\n background: transparent !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: " (" attr(href) ")";\n }\n abbr[title]:after {\n content: " (" attr(title) ")";\n }\n a[href^="#"]:after,\n a[href^="javascript:"]:after {\n content: "";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: \'Glyphicons Halflings\';\n\n src: url('+n(262)+");\n src: url("+n(262)+"?#iefix) format('embedded-opentype'), url("+n(630)+") format('woff2'), url("+n(631)+") format('woff'), url("+n(632)+") format('truetype'), url("+n(633)+'#glyphicons_halflingsregular) format(\'svg\');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: \'Glyphicons Halflings\';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: "*";\n}\n.glyphicon-plus:before {\n content: "+";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: "\\20AC";\n}\n.glyphicon-minus:before {\n content: "\\2212";\n}\n.glyphicon-cloud:before {\n content: "\\2601";\n}\n.glyphicon-envelope:before {\n content: "\\2709";\n}\n.glyphicon-pencil:before {\n content: "\\270F";\n}\n.glyphicon-glass:before {\n content: "\\E001";\n}\n.glyphicon-music:before {\n content: "\\E002";\n}\n.glyphicon-search:before {\n content: "\\E003";\n}\n.glyphicon-heart:before {\n content: "\\E005";\n}\n.glyphicon-star:before {\n content: "\\E006";\n}\n.glyphicon-star-empty:before {\n content: "\\E007";\n}\n.glyphicon-user:before {\n content: "\\E008";\n}\n.glyphicon-film:before {\n content: "\\E009";\n}\n.glyphicon-th-large:before {\n content: "\\E010";\n}\n.glyphicon-th:before {\n content: "\\E011";\n}\n.glyphicon-th-list:before {\n content: "\\E012";\n}\n.glyphicon-ok:before {\n content: "\\E013";\n}\n.glyphicon-remove:before {\n content: "\\E014";\n}\n.glyphicon-zoom-in:before {\n content: "\\E015";\n}\n.glyphicon-zoom-out:before {\n content: "\\E016";\n}\n.glyphicon-off:before {\n content: "\\E017";\n}\n.glyphicon-signal:before {\n content: "\\E018";\n}\n.glyphicon-cog:before {\n content: "\\E019";\n}\n.glyphicon-trash:before {\n content: "\\E020";\n}\n.glyphicon-home:before {\n content: "\\E021";\n}\n.glyphicon-file:before {\n content: "\\E022";\n}\n.glyphicon-time:before {\n content: "\\E023";\n}\n.glyphicon-road:before {\n content: "\\E024";\n}\n.glyphicon-download-alt:before {\n content: "\\E025";\n}\n.glyphicon-download:before {\n content: "\\E026";\n}\n.glyphicon-upload:before {\n content: "\\E027";\n}\n.glyphicon-inbox:before {\n content: "\\E028";\n}\n.glyphicon-play-circle:before {\n content: "\\E029";\n}\n.glyphicon-repeat:before {\n content: "\\E030";\n}\n.glyphicon-refresh:before {\n content: "\\E031";\n}\n.glyphicon-list-alt:before {\n content: "\\E032";\n}\n.glyphicon-lock:before {\n content: "\\E033";\n}\n.glyphicon-flag:before {\n content: "\\E034";\n}\n.glyphicon-headphones:before {\n content: "\\E035";\n}\n.glyphicon-volume-off:before {\n content: "\\E036";\n}\n.glyphicon-volume-down:before {\n content: "\\E037";\n}\n.glyphicon-volume-up:before {\n content: "\\E038";\n}\n.glyphicon-qrcode:before {\n content: "\\E039";\n}\n.glyphicon-barcode:before {\n content: "\\E040";\n}\n.glyphicon-tag:before {\n content: "\\E041";\n}\n.glyphicon-tags:before {\n content: "\\E042";\n}\n.glyphicon-book:before {\n content: "\\E043";\n}\n.glyphicon-bookmark:before {\n content: "\\E044";\n}\n.glyphicon-print:before {\n content: "\\E045";\n}\n.glyphicon-camera:before {\n content: "\\E046";\n}\n.glyphicon-font:before {\n content: "\\E047";\n}\n.glyphicon-bold:before {\n content: "\\E048";\n}\n.glyphicon-italic:before {\n content: "\\E049";\n}\n.glyphicon-text-height:before {\n content: "\\E050";\n}\n.glyphicon-text-width:before {\n content: "\\E051";\n}\n.glyphicon-align-left:before {\n content: "\\E052";\n}\n.glyphicon-align-center:before {\n content: "\\E053";\n}\n.glyphicon-align-right:before {\n content: "\\E054";\n}\n.glyphicon-align-justify:before {\n content: "\\E055";\n}\n.glyphicon-list:before {\n content: "\\E056";\n}\n.glyphicon-indent-left:before {\n content: "\\E057";\n}\n.glyphicon-indent-right:before {\n content: "\\E058";\n}\n.glyphicon-facetime-video:before {\n content: "\\E059";\n}\n.glyphicon-picture:before {\n content: "\\E060";\n}\n.glyphicon-map-marker:before {\n content: "\\E062";\n}\n.glyphicon-adjust:before {\n content: "\\E063";\n}\n.glyphicon-tint:before {\n content: "\\E064";\n}\n.glyphicon-edit:before {\n content: "\\E065";\n}\n.glyphicon-share:before {\n content: "\\E066";\n}\n.glyphicon-check:before {\n content: "\\E067";\n}\n.glyphicon-move:before {\n content: "\\E068";\n}\n.glyphicon-step-backward:before {\n content: "\\E069";\n}\n.glyphicon-fast-backward:before {\n content: "\\E070";\n}\n.glyphicon-backward:before {\n content: "\\E071";\n}\n.glyphicon-play:before {\n content: "\\E072";\n}\n.glyphicon-pause:before {\n content: "\\E073";\n}\n.glyphicon-stop:before {\n content: "\\E074";\n}\n.glyphicon-forward:before {\n content: "\\E075";\n}\n.glyphicon-fast-forward:before {\n content: "\\E076";\n}\n.glyphicon-step-forward:before {\n content: "\\E077";\n}\n.glyphicon-eject:before {\n content: "\\E078";\n}\n.glyphicon-chevron-left:before {\n content: "\\E079";\n}\n.glyphicon-chevron-right:before {\n content: "\\E080";\n}\n.glyphicon-plus-sign:before {\n content: "\\E081";\n}\n.glyphicon-minus-sign:before {\n content: "\\E082";\n}\n.glyphicon-remove-sign:before {\n content: "\\E083";\n}\n.glyphicon-ok-sign:before {\n content: "\\E084";\n}\n.glyphicon-question-sign:before {\n content: "\\E085";\n}\n.glyphicon-info-sign:before {\n content: "\\E086";\n}\n.glyphicon-screenshot:before {\n content: "\\E087";\n}\n.glyphicon-remove-circle:before {\n content: "\\E088";\n}\n.glyphicon-ok-circle:before {\n content: "\\E089";\n}\n.glyphicon-ban-circle:before {\n content: "\\E090";\n}\n.glyphicon-arrow-left:before {\n content: "\\E091";\n}\n.glyphicon-arrow-right:before {\n content: "\\E092";\n}\n.glyphicon-arrow-up:before {\n content: "\\E093";\n}\n.glyphicon-arrow-down:before {\n content: "\\E094";\n}\n.glyphicon-share-alt:before {\n content: "\\E095";\n}\n.glyphicon-resize-full:before {\n content: "\\E096";\n}\n.glyphicon-resize-small:before {\n content: "\\E097";\n}\n.glyphicon-exclamation-sign:before {\n content: "\\E101";\n}\n.glyphicon-gift:before {\n content: "\\E102";\n}\n.glyphicon-leaf:before {\n content: "\\E103";\n}\n.glyphicon-fire:before {\n content: "\\E104";\n}\n.glyphicon-eye-open:before {\n content: "\\E105";\n}\n.glyphicon-eye-close:before {\n content: "\\E106";\n}\n.glyphicon-warning-sign:before {\n content: "\\E107";\n}\n.glyphicon-plane:before {\n content: "\\E108";\n}\n.glyphicon-calendar:before {\n content: "\\E109";\n}\n.glyphicon-random:before {\n content: "\\E110";\n}\n.glyphicon-comment:before {\n content: "\\E111";\n}\n.glyphicon-magnet:before {\n content: "\\E112";\n}\n.glyphicon-chevron-up:before {\n content: "\\E113";\n}\n.glyphicon-chevron-down:before {\n content: "\\E114";\n}\n.glyphicon-retweet:before {\n content: "\\E115";\n}\n.glyphicon-shopping-cart:before {\n content: "\\E116";\n}\n.glyphicon-folder-close:before {\n content: "\\E117";\n}\n.glyphicon-folder-open:before {\n content: "\\E118";\n}\n.glyphicon-resize-vertical:before {\n content: "\\E119";\n}\n.glyphicon-resize-horizontal:before {\n content: "\\E120";\n}\n.glyphicon-hdd:before {\n content: "\\E121";\n}\n.glyphicon-bullhorn:before {\n content: "\\E122";\n}\n.glyphicon-bell:before {\n content: "\\E123";\n}\n.glyphicon-certificate:before {\n content: "\\E124";\n}\n.glyphicon-thumbs-up:before {\n content: "\\E125";\n}\n.glyphicon-thumbs-down:before {\n content: "\\E126";\n}\n.glyphicon-hand-right:before {\n content: "\\E127";\n}\n.glyphicon-hand-left:before {\n content: "\\E128";\n}\n.glyphicon-hand-up:before {\n content: "\\E129";\n}\n.glyphicon-hand-down:before {\n content: "\\E130";\n}\n.glyphicon-circle-arrow-right:before {\n content: "\\E131";\n}\n.glyphicon-circle-arrow-left:before {\n content: "\\E132";\n}\n.glyphicon-circle-arrow-up:before {\n content: "\\E133";\n}\n.glyphicon-circle-arrow-down:before {\n content: "\\E134";\n}\n.glyphicon-globe:before {\n content: "\\E135";\n}\n.glyphicon-wrench:before {\n content: "\\E136";\n}\n.glyphicon-tasks:before {\n content: "\\E137";\n}\n.glyphicon-filter:before {\n content: "\\E138";\n}\n.glyphicon-briefcase:before {\n content: "\\E139";\n}\n.glyphicon-fullscreen:before {\n content: "\\E140";\n}\n.glyphicon-dashboard:before {\n content: "\\E141";\n}\n.glyphicon-paperclip:before {\n content: "\\E142";\n}\n.glyphicon-heart-empty:before {\n content: "\\E143";\n}\n.glyphicon-link:before {\n content: "\\E144";\n}\n.glyphicon-phone:before {\n content: "\\E145";\n}\n.glyphicon-pushpin:before {\n content: "\\E146";\n}\n.glyphicon-usd:before {\n content: "\\E148";\n}\n.glyphicon-gbp:before {\n content: "\\E149";\n}\n.glyphicon-sort:before {\n content: "\\E150";\n}\n.glyphicon-sort-by-alphabet:before {\n content: "\\E151";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: "\\E152";\n}\n.glyphicon-sort-by-order:before {\n content: "\\E153";\n}\n.glyphicon-sort-by-order-alt:before {\n content: "\\E154";\n}\n.glyphicon-sort-by-attributes:before {\n content: "\\E155";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: "\\E156";\n}\n.glyphicon-unchecked:before {\n content: "\\E157";\n}\n.glyphicon-expand:before {\n content: "\\E158";\n}\n.glyphicon-collapse-down:before {\n content: "\\E159";\n}\n.glyphicon-collapse-up:before {\n content: "\\E160";\n}\n.glyphicon-log-in:before {\n content: "\\E161";\n}\n.glyphicon-flash:before {\n content: "\\E162";\n}\n.glyphicon-log-out:before {\n content: "\\E163";\n}\n.glyphicon-new-window:before {\n content: "\\E164";\n}\n.glyphicon-record:before {\n content: "\\E165";\n}\n.glyphicon-save:before {\n content: "\\E166";\n}\n.glyphicon-open:before {\n content: "\\E167";\n}\n.glyphicon-saved:before {\n content: "\\E168";\n}\n.glyphicon-import:before {\n content: "\\E169";\n}\n.glyphicon-export:before {\n content: "\\E170";\n}\n.glyphicon-send:before {\n content: "\\E171";\n}\n.glyphicon-floppy-disk:before {\n content: "\\E172";\n}\n.glyphicon-floppy-saved:before {\n content: "\\E173";\n}\n.glyphicon-floppy-remove:before {\n content: "\\E174";\n}\n.glyphicon-floppy-save:before {\n content: "\\E175";\n}\n.glyphicon-floppy-open:before {\n content: "\\E176";\n}\n.glyphicon-credit-card:before {\n content: "\\E177";\n}\n.glyphicon-transfer:before {\n content: "\\E178";\n}\n.glyphicon-cutlery:before {\n content: "\\E179";\n}\n.glyphicon-header:before {\n content: "\\E180";\n}\n.glyphicon-compressed:before {\n content: "\\E181";\n}\n.glyphicon-earphone:before {\n content: "\\E182";\n}\n.glyphicon-phone-alt:before {\n content: "\\E183";\n}\n.glyphicon-tower:before {\n content: "\\E184";\n}\n.glyphicon-stats:before {\n content: "\\E185";\n}\n.glyphicon-sd-video:before {\n content: "\\E186";\n}\n.glyphicon-hd-video:before {\n content: "\\E187";\n}\n.glyphicon-subtitles:before {\n content: "\\E188";\n}\n.glyphicon-sound-stereo:before {\n content: "\\E189";\n}\n.glyphicon-sound-dolby:before {\n content: "\\E190";\n}\n.glyphicon-sound-5-1:before {\n content: "\\E191";\n}\n.glyphicon-sound-6-1:before {\n content: "\\E192";\n}\n.glyphicon-sound-7-1:before {\n content: "\\E193";\n}\n.glyphicon-copyright-mark:before {\n content: "\\E194";\n}\n.glyphicon-registration-mark:before {\n content: "\\E195";\n}\n.glyphicon-cloud-download:before {\n content: "\\E197";\n}\n.glyphicon-cloud-upload:before {\n content: "\\E198";\n}\n.glyphicon-tree-conifer:before {\n content: "\\E199";\n}\n.glyphicon-tree-deciduous:before {\n content: "\\E200";\n}\n.glyphicon-cd:before {\n content: "\\E201";\n}\n.glyphicon-save-file:before {\n content: "\\E202";\n}\n.glyphicon-open-file:before {\n content: "\\E203";\n}\n.glyphicon-level-up:before {\n content: "\\E204";\n}\n.glyphicon-copy:before {\n content: "\\E205";\n}\n.glyphicon-paste:before {\n content: "\\E206";\n}\n.glyphicon-alert:before {\n content: "\\E209";\n}\n.glyphicon-equalizer:before {\n content: "\\E210";\n}\n.glyphicon-king:before {\n content: "\\E211";\n}\n.glyphicon-queen:before {\n content: "\\E212";\n}\n.glyphicon-pawn:before {\n content: "\\E213";\n}\n.glyphicon-bishop:before {\n content: "\\E214";\n}\n.glyphicon-knight:before {\n content: "\\E215";\n}\n.glyphicon-baby-formula:before {\n content: "\\E216";\n}\n.glyphicon-tent:before {\n content: "\\26FA";\n}\n.glyphicon-blackboard:before {\n content: "\\E218";\n}\n.glyphicon-bed:before {\n content: "\\E219";\n}\n.glyphicon-apple:before {\n content: "\\F8FF";\n}\n.glyphicon-erase:before {\n content: "\\E221";\n}\n.glyphicon-hourglass:before {\n content: "\\231B";\n}\n.glyphicon-lamp:before {\n content: "\\E223";\n}\n.glyphicon-duplicate:before {\n content: "\\E224";\n}\n.glyphicon-piggy-bank:before {\n content: "\\E225";\n}\n.glyphicon-scissors:before {\n content: "\\E226";\n}\n.glyphicon-bitcoin:before {\n content: "\\E227";\n}\n.glyphicon-btc:before {\n content: "\\E227";\n}\n.glyphicon-xbt:before {\n content: "\\E227";\n}\n.glyphicon-yen:before {\n content: "\\A5";\n}\n.glyphicon-jpy:before {\n content: "\\A5";\n}\n.glyphicon-ruble:before {\n content: "\\20BD";\n}\n.glyphicon-rub:before {\n content: "\\20BD";\n}\n.glyphicon-scale:before {\n content: "\\E230";\n}\n.glyphicon-ice-lolly:before {\n content: "\\E231";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: "\\E232";\n}\n.glyphicon-education:before {\n content: "\\E233";\n}\n.glyphicon-option-horizontal:before {\n content: "\\E234";\n}\n.glyphicon-option-vertical:before {\n content: "\\E235";\n}\n.glyphicon-menu-hamburger:before {\n content: "\\E236";\n}\n.glyphicon-modal-window:before {\n content: "\\E237";\n}\n.glyphicon-oil:before {\n content: "\\E238";\n}\n.glyphicon-grain:before {\n content: "\\E239";\n}\n.glyphicon-sunglasses:before {\n content: "\\E240";\n}\n.glyphicon-text-size:before {\n content: "\\E241";\n}\n.glyphicon-text-color:before {\n content: "\\E242";\n}\n.glyphicon-text-background:before {\n content: "\\E243";\n}\n.glyphicon-object-align-top:before {\n content: "\\E244";\n}\n.glyphicon-object-align-bottom:before {\n content: "\\E245";\n}\n.glyphicon-object-align-horizontal:before {\n content: "\\E246";\n}\n.glyphicon-object-align-left:before {\n content: "\\E247";\n}\n.glyphicon-object-align-vertical:before {\n content: "\\E248";\n}\n.glyphicon-object-align-right:before {\n content: "\\E249";\n}\n.glyphicon-triangle-right:before {\n content: "\\E250";\n}\n.glyphicon-triangle-left:before {\n content: "\\E251";\n}\n.glyphicon-triangle-bottom:before {\n content: "\\E252";\n}\n.glyphicon-triangle-top:before {\n content: "\\E253";\n}\n.glyphicon-console:before {\n content: "\\E254";\n}\n.glyphicon-superscript:before {\n content: "\\E255";\n}\n.glyphicon-subscript:before {\n content: "\\E256";\n}\n.glyphicon-menu-left:before {\n content: "\\E257";\n}\n.glyphicon-menu-right:before {\n content: "\\E258";\n}\n.glyphicon-menu-down:before {\n content: "\\E259";\n}\n.glyphicon-menu-up:before {\n content: "\\E260";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n display: inline-block;\n max-width: 100%;\n height: auto;\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all .2s ease-in-out;\n -o-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role="button"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n padding: .2em;\n background-color: #fcf8e3;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n margin-left: -5px;\n list-style: none;\n}\n.list-inline > li {\n display: inline-block;\n padding-right: 5px;\n padding-left: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n overflow: hidden;\n clear: left;\n text-align: right;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: \'\\2014 \\A0\';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n text-align: right;\n border-right: 5px solid #eee;\n border-left: 0;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: \'\';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: \'\\A0 \\2014\';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, "Courier New", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n.row {\n margin-right: -15px;\n margin-left: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*="col-"] {\n position: static;\n display: table-column;\n float: none;\n}\ntable td[class*="col-"],\ntable th[class*="col-"] {\n position: static;\n display: table-cell;\n float: none;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n min-height: .01%;\n overflow-x: auto;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type="search"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type="radio"],\ninput[type="checkbox"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type="file"] {\n display: block;\n}\ninput[type="range"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type="file"]:focus,\ninput[type="radio"]:focus,\ninput[type="checkbox"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type="search"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type="date"].form-control,\n input[type="time"].form-control,\n input[type="datetime-local"].form-control,\n input[type="month"].form-control {\n line-height: 34px;\n }\n input[type="date"].input-sm,\n input[type="time"].input-sm,\n input[type="datetime-local"].input-sm,\n input[type="month"].input-sm,\n .input-group-sm input[type="date"],\n .input-group-sm input[type="time"],\n .input-group-sm input[type="datetime-local"],\n .input-group-sm input[type="month"] {\n line-height: 30px;\n }\n input[type="date"].input-lg,\n input[type="time"].input-lg,\n input[type="datetime-local"].input-lg,\n input[type="month"].input-lg,\n .input-group-lg input[type="date"],\n .input-group-lg input[type="time"],\n .input-group-lg input[type="datetime-local"],\n .input-group-lg input[type="month"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type="radio"],\n.radio-inline input[type="radio"],\n.checkbox input[type="checkbox"],\n.checkbox-inline input[type="checkbox"] {\n position: absolute;\n margin-top: 4px \\9;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n vertical-align: middle;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type="radio"][disabled],\ninput[type="checkbox"][disabled],\ninput[type="radio"].disabled,\ninput[type="checkbox"].disabled,\nfieldset[disabled] input[type="radio"],\nfieldset[disabled] input[type="checkbox"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n min-height: 34px;\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-right: 0;\n padding-left: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #3c763d;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #8a6d3b;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n background-color: #f2dede;\n border-color: #a94442;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type="radio"],\n .form-inline .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n padding-top: 7px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n padding-top: 7px;\n margin-bottom: 0;\n text-align: right;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n padding: 6px 12px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n opacity: .65;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n font-weight: normal;\n color: #337ab7;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type="submit"].btn-block,\ninput[type="reset"].btn-block,\ninput[type="button"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-timing-function: ease;\n -o-transition-timing-function: ease;\n transition-timing-function: ease;\n -webkit-transition-duration: .35s;\n -o-transition-duration: .35s;\n transition-duration: .35s;\n -webkit-transition-property: height, visibility;\n -o-transition-property: height, visibility;\n transition-property: height, visibility;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu-left {\n right: auto;\n left: 0;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n content: "";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-right: 8px;\n padding-left: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-right: 12px;\n padding-left: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n display: table-cell;\n float: none;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle="buttons"] > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn input[type="checkbox"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*="col-"] {\n float: none;\n padding-right: 0;\n padding-left: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555;\n text-align: center;\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type="radio"],\n.input-group-addon input[type="checkbox"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.nav > li.disabled > a {\n color: #777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777;\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eee #eee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555;\n cursor: default;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n padding-right: 15px;\n padding-left: 15px;\n overflow-x: visible;\n -webkit-overflow-scrolling: touch;\n border-top: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-right: 0;\n padding-left: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n height: 50px;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n padding: 9px 10px;\n margin-top: 8px;\n margin-right: 15px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n padding: 10px 15px;\n margin-top: 8px;\n margin-right: -15px;\n margin-bottom: 8px;\n margin-left: -15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type="radio"],\n .navbar-form .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: 0;\n margin-left: 0;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-right: 15px;\n margin-left: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n color: #fff;\n background-color: #080808;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n padding: 0 5px;\n color: #ccc;\n content: "/\\A0";\n}\n.breadcrumb > .active {\n color: #777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n margin-left: -1px;\n line-height: 1.42857143;\n color: #337ab7;\n text-decoration: none;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n cursor: default;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n border-color: #ddd;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n text-align: center;\n list-style: none;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-color: #777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n padding-right: 15px;\n padding-left: 15px;\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-right: 60px;\n padding-left: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border .2s ease-in-out;\n -o-transition: border .2s ease-in-out;\n transition: border .2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-right: auto;\n margin-left: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@-o-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n height: 20px;\n margin-bottom: 20px;\n overflow: hidden;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n}\n.progress-bar {\n float: left;\n width: 0;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n -webkit-transition: width .6s ease;\n -o-transition: width .6s ease;\n transition: width .6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n -webkit-background-size: 40px 40px;\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n padding-left: 0;\n margin-bottom: 20px;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n color: #555;\n text-decoration: none;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #eee;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-right: 15px;\n padding-left: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n margin-bottom: 0;\n border: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, .15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n filter: alpha(opacity=20);\n opacity: .2;\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n filter: alpha(opacity=50);\n opacity: .5;\n}\nbutton.close {\n -webkit-appearance: none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n}\n.tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n}\n.tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n}\n.tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n}\n.tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n}\n.tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n\n line-break: auto;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n padding: 8px 14px;\n margin: 0;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n content: "";\n border-width: 10px;\n}\n.popover.top > .arrow {\n bottom: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-color: #999;\n border-top-color: rgba(0, 0, 0, .25);\n border-bottom-width: 0;\n}\n.popover.top > .arrow:after {\n bottom: 1px;\n margin-left: -10px;\n content: " ";\n border-top-color: #fff;\n border-bottom-width: 0;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-right-color: #999;\n border-right-color: rgba(0, 0, 0, .25);\n border-left-width: 0;\n}\n.popover.right > .arrow:after {\n bottom: -10px;\n left: 1px;\n content: " ";\n border-right-color: #fff;\n border-left-width: 0;\n}\n.popover.bottom > .arrow {\n top: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999;\n border-bottom-color: rgba(0, 0, 0, .25);\n}\n.popover.bottom > .arrow:after {\n top: 1px;\n margin-left: -10px;\n content: " ";\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999;\n border-left-color: rgba(0, 0, 0, .25);\n}\n.popover.left > .arrow:after {\n right: 1px;\n bottom: -10px;\n content: " ";\n border-right-width: 0;\n border-left-color: #fff;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner > .item {\n position: relative;\n display: none;\n -webkit-transition: .6s ease-in-out left;\n -o-transition: .6s ease-in-out left;\n transition: .6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform .6s ease-in-out;\n -o-transition: -o-transform .6s ease-in-out;\n transition: transform .6s ease-in-out;\n\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n left: 0;\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n left: 0;\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n left: 0;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 15%;\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n background-color: rgba(0, 0, 0, 0);\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control.right {\n right: 0;\n left: auto;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control:hover,\n.carousel-control:focus {\n color: #fff;\n text-decoration: none;\n filter: alpha(opacity=90);\n outline: 0;\n opacity: .9;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n margin-top: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n font-family: serif;\n line-height: 1;\n}\n.carousel-control .icon-prev:before {\n content: \'\\2039\';\n}\n.carousel-control .icon-next:before {\n content: \'\\203A\';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n padding-left: 0;\n margin-left: -30%;\n text-align: center;\n list-style: none;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n border: 1px solid #fff;\n border-radius: 10px;\n}\n.carousel-indicators .active {\n width: 12px;\n height: 12px;\n margin: 0;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n right: 20%;\n left: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n display: table;\n content: " ";\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-right: auto;\n margin-left: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */\n',""])},function(e,t,n){e.exports=n.p+"448c34a56d699c29117adc64c43affeb.woff2"},function(e,t,n){e.exports=n.p+"fa2772327f55d8198301fdb8bcfc8158.woff"},function(e,t,n){e.exports=n.p+"e18bbf611f2a2e43afc071aa2f4e1512.ttf"},function(e,t,n){e.exports=n.p+"89889688147bd7575d6327160d64e760.svg"},function(e,t,n){var r=n(635);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,"html, body {\n height: 100%;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n\na {\n cursor: pointer;\n}\n\n.clickable {\n cursor: pointer;\n}\n.clickable:hover {\n color: #b7a533;\n}\n\n.superscript { position: relative; top: -0.5em; font-size: 80%; }\n\n.rangeslider__label-list .rangeslider__label {\n position: absolute;\n font-size: 14px;\n cursor: pointer;\n display: inline-block;\n top: 23px;\n}\n\n.btn:focus {\n outline: none;\n}\n\n.btn.btn-primary:active {\n background-color: #337ab7 !important;\n}",""])},function(e,t,n){var r=n(637);"string"==typeof r&&(r=[[e.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,a);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(16)()).push([e.i,".bs-docs-sidebar .nav>li>div>a {\n color: inherit;\n} \n\n/* sidebar */\n.bs-docs-sidebar {\n padding-left: 5px;\n margin-top: 0px;\n margin-bottom: 20px;\n}\n\n/* all links */\n.bs-docs-sidebar .nav>li>div {\n color: #999;\n border-left: 2px solid transparent;\n padding: 4px 10px;\n font-size: 13px;\n font-weight: 400;\n white-space: nowrap;\n}\n\n/* nested links */\n.bs-docs-sidebar .nav .nav>li>div {\n padding-top: 1px;\n padding-bottom: 1px;\n padding-left: 20px;\n font-size: 12px;\n white-space: nowrap;\n}\n\n/* active & hover links */\n.bs-docs-sidebar .nav>.active>div, \n.bs-docs-sidebar .nav>li>div:hover, \n.bs-docs-sidebar .nav>li>div:focus {\n color: #563d7c; \n text-decoration: none; \n background-color: transparent; \n border-left-color: #563d7c; \n}\n\n/* all active links */\n.bs-docs-sidebar .nav>.active>div, \n.bs-docs-sidebar .nav>.active:hover>div,\n.bs-docs-sidebar .nav>.active:focus>div {\n font-weight: 700;\n}\n\n/* nested active links */\n.bs-docs-sidebar .nav .nav>.active>div, \n.bs-docs-sidebar .nav .nav>.active:hover>div,\n.bs-docs-sidebar .nav .nav>.active:focus>div {\n font-weight: 500;\n text-decoration: none;\n}\n\n/* hide inactive nested list */\n.bs-docs-sidebar .nav ul.nav {\n display: none; \n}\n/* show active nested list */\n.bs-docs-sidebar .nav >.active>ul.nav {\n display: block; \n}\n\n/* Icons befor element */\n.bs-docs-sidebar .nav .nav>li>div>span {\n display:none;\n}\n\n.bs-docs-sidebar .nav .nav>li>div:hover>span,\n.bs-docs-sidebar .nav .nav>li.active>div:focus>span {\n display:inline;\n}\n\n.bs-docs-sidebar .nav .nav>li>div>span:hover {\n color: green;\n}\n\n.bs-docs-sidebar .nav .nav>li>div>span.focused:hover {\n color: red;\n cursor: pointer;\n}\n\n.bs-docs-sidebar .nav .nav>li>div>span.focused {\n display:inline;\n color: green;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"scaleBand",function(){return Cc}),n.d(r,"scalePoint",function(){return Pc}),n.d(r,"scaleIdentity",function(){return Pu}),n.d(r,"scaleLinear",function(){return Cu}),n.d(r,"scaleLog",function(){return Ru}),n.d(r,"scaleOrdinal",function(){return Mc}),n.d(r,"scaleImplicit",function(){return Tc}),n.d(r,"scalePow",function(){return Lu}),n.d(r,"scaleSqrt",function(){return Fu}),n.d(r,"scaleQuantile",function(){return qu}),n.d(r,"scaleQuantize",function(){return Wu}),n.d(r,"scaleThreshold",function(){return Hu}),n.d(r,"scaleTime",function(){return pp}),n.d(r,"scaleUtc",function(){return hp}),n.d(r,"scaleSequential",function(){return mp}),n.d(r,"scaleDiverging",function(){return bp});var a=n(1),o=n.n(a),i=n(20),s=n.n(i),c=n(111),l=n.n(c),u=n(169),f=n.n(u),d=n(90),p=n.n(d),h=n(170),m=n.n(h),b=n(19),g=n.n(b),y=n(263),v=n.n(y),w=n(264),x=n.n(w),k=n(63),_=n.n(k),E=n(40),S=n.n(E),O=n(46),T=n.n(O);function M(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,r=e.length;n5)return!0}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}}catch(e){r=!0,a=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw a}}return!1}function P(e,t){return!t||e<1&&e>-1?e:Math.round(e)}function j(e,t){return e||0==e?t&&(e>1||e<-1)?e.toLocaleString():e:"n/a"}function A(e){if(1==e.length)return e.map(function(e){return B(e)});var t=Math.min.apply(Math,S()(e.map(function(e){return e.length}))),n=I(e,t),r=function(e,t){return I(e.map(function(e){return e.split("").reverse().join("")}),t)}(e,t);return n>0&&n0&&r20&&(e=e.map(function(e){return B(e)})),e}function B(e){var t=e.lastIndexOf("/");return t>0?e.substring(t+1):e}function I(e,t){for(var n=0;n0?K=function(e){return e(providedBenchmarks.map(function(e){return new z({name:e,benchmarks:providedBenchmarkStore[e]})}))}:(K=function(e){var t=R("example");return t||(t=function(){var e=window.location.hash;return"#singleRunExample"===e?"single":"#twoRunsExample"===e?"two":"#multiRunExample"===e?"multi":void 0}()),"single"===t?function(t){return t(e.singleRunExample)}:"two"===t?function(t){return t(e.twoRunsExample)}:"multi"===t?function(t){return t(e.multiRunExample)}:void 0}(W))||(K=function(){var e=R("source");if(e)return function(t){return U(t,[e])};var t=R("sources");if(t)return function(e){return U(e,t.split(","))};var n=R("gist");if(n)return function(e){return U(e,["https://gist.githubusercontent.com/raw/"+n])};var r=R("gists");return r?function(e){return U(e,r.split(",").map(function(e){return"https://gist.githubusercontent.com/raw/"+e}))}:void 0}());var V={initialState:{settings:H,initialLoading:null!=K,loading:!1,benchmarkRuns:[],runSelection:[],runView:null,selectedMetric:"Score",detailedBenchmarkBundle:null,activeCategory:"Benchmarks",focusedBundles:new g.a,chartConfig:{sort:!1,logScale:!1}},actionsCreators:{uploadFiles:function(){var e=m()(p.a.mark(function e(t,n,r,a){return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",F(t,a,function(){return n.uploadFiles(r,!0)},function(){return Z(r)}));case 1:case"end":return e.stop()}},e,void 0)}));return function(t,n,r,a){return e.apply(this,arguments)}}(),initBenchmarks:function(e,t,n){return Y(n)},loadSingleRunExample:function(e,t,n,r){return F(e,r,function(){return t.loadSingleRunExample(null,!0)},function(){return Q(W.singleRunExample)})},loadTwoRunsExample:function(e,t,n,r){return F(e,r,function(){return t.loadTwoRunsExample(null,!0)},function(){return Q(W.twoRunsExample)})},loadMultiRunExample:function(e,t,n,r){return F(e,r,function(){return t.loadMultiRunExample(null,!0)},function(){return Q(W.multiRunExample)})},selectMetric:function(e,t,n){return{selectedMetric:n}},focusBundle:function(e,t,n){var r=new g.a(e.focusedBundles);return r.has(n)?r.delete(n):r.add(n),{focusedBundles:r}},selectCategory:function(e,t,n){return{activeCategory:n,focusedBundles:new g.a}},detailBenchmarkBundle:function(e,t,n){return q.push("#details"),{detailedBenchmarkBundle:n}},undetailBenchmarkBundle:function(){return{detailedBenchmarkBundle:null}},selectBenchmarkRuns:function(e,t,n,r){return{runSelection:n,runView:r}},sort:function(e){return{chartConfig:f()({},e.chartConfig,{sort:!e.chartConfig.sort})}},logScale:function(e){return{chartConfig:f()({},e.chartConfig,{logScale:!e.chartConfig.logScale})}},goBack:function(){return q.goBack(),{}}}};function Y(e){var t=e.length>1?"Summary":null;return{initialLoading:!1,loading:!1,benchmarkRuns:e,runSelection:Array(e.length).fill(!0),runView:t}}var G=v()(V),X=G.Provider,$=G.connect,J=G.actions;function Q(e){return new l.a(function(t){return setTimeout(function(){return t(e)},0)})}function Z(e){return new l.a(function(t,n){var r=[];e.forEach(function(a){var o=new FileReader,i=a.name.replace(".json","");o.onload=function(a){try{var o=JSON.parse(a.target.result),s=new z({name:i,benchmarks:o});r.push(s),r.length==e.length&&(r.sort(function(e,t){return e.name.localeCompare(t.name)}),window.onbeforeunload=function(){return"You will loose the current benchmarks."},t(r))}catch(e){alert(e),n(e)}},o.readAsText(a)})})}q.listen(function(e,t){"POP"===t&&J.undetailBenchmarkBundle()}),K&&setTimeout(function(){return K(J.initBenchmarks)},0);for(var ee=n(7),te=n.n(ee),ne=n(5),re=n.n(ne),ae=n(8),oe=n.n(ae),ie=n(9),se=n.n(ie),ce=n(118),le=n.n(ce),ue=n(270),fe=n.n(ue),de=n(271),pe=n.n(de),he=n(113),me=n.n(he),be=n(31),ge=n.n(be),ye=n(268),ve=n.n(ye),we=n(269),xe=n.n(we),ke=n(29),_e=n.n(ke),Ee="#337ab7",Se="#b74233",Oe="#4B993F",Te="#b7a533",Me=["#22527b",Ee,"#63a0d4"],Ce=["#7ab733","#a1cc70","#c9e2ad"],Pe=["#b77033","#cc9a70","#e2c5ad"],je=["#b7337a","#cc70a1","#e9c1d7"],Ae=[Te,"#ccc970","#e2e0ad"],Be=[].concat(Me,Ce,Pe,je,Ae,["#7b2c22",Se,"#d47063"]),Ie=[],Ne=0;Ne<=3;Ne++)Ie.push(Me[Ne]),Ie.push(Ce[Ne]),Ie.push(Pe[Ne]),Ie.push(je[Ne]),Ie.push(Ae[Ne]);n(357);function De(e){return e.disabled?e.children:o.a.createElement("span",{className:"tooltip-"+e.position,"data-tooltip":e.tooltip,"data-tooltip-position":e.position},e.children)}var ze=n(265),Re=n.n(ze),Ue=n(112),Le=n.n(Ue),Fe=n(266),qe=n.n(Fe),We=n(204),He=n.n(We),Ke=n(205),Ve=n.n(Ke),Ye=n(206),Ge=n.n(Ye),Xe=Te,$e=function(e){var t=e.active,n=e.action;return o.a.createElement(Ze,{IconName:qe.a,tooltip:"Sort by Score/Name",active:t,action:n})},Je=function(e){var t=e.active,n=e.action;return o.a.createElement(Ze,{IconName:Re.a,tooltip:"Switch scale (log/linear)",active:t,action:n})},Qe=function(e){var t=e.benchmarkBundle,n=new g.a;return t.allBenchmarks().forEach(function(e){_e()(e.secondaryMetrics).forEach(function(e){n.add(e)})}),o.a.createElement(Ze,{IconName:Le.a,tooltip:"Show details with "+n.size+" secondary metrics results",active:!1,action:function(){return J.detailBenchmarkBundle(t.key)}})};function Ze(e){var t=e.IconName,n=e.tooltip,r=e.active,a=e.action,i=r?Xe:null;return o.a.createElement(De,{key:"ScaleButton",tooltip:n,position:"top"},o.a.createElement(t,{size:"1em",onClick:a,color:i,className:"clickable"}))}var et=n(0),tt=n.n(et),nt=n(267),rt=n.n(nt),at=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.handleClick=r.handleClick.bind(r),r}return se()(t,e),re()(t,[{key:"handleClick",value:function(e){e.preventDefault(),this.props.onClick(e)}},{key:"render",value:function(){return o.a.createElement("a",{href:"",onClick:this.handleClick},o.a.createElement(rt.a,null)," JMH Visualizer")}}]),t}(a.Component);at.propTypes={onClick:tt.a.func};var ot=at,it=n(362),st=$(function(e){return{initialLoading:e.initialLoading,loading:e.loading}})(function(e){var t=e.initialLoading,n=e.loading;return t||n?o.a.createElement(it,{id:"spinner",name:"three-bounce",color:Ee,fadeIn:"none"}):null}),ct=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"onReset",value:function(){window.onbeforeunload=null,window.location=window.location.href.split("#")[0].split("?")[0]}},{key:"render",value:function(){var e=o.a.createElement(ve.a,{id:"popover-trigger-click-root-close",title:"About JMH Visualizer - 0.9.1"},o.a.createElement("p",null,o.a.createElement("i",null,"JMH Visualizer")," will render charts out of your ",o.a.createElement("a",{href:"http://openjdk.java.net/projects/code-tools/jmh/",target:"_blank",rel:"noopener noreferrer"},"JMH Benchmarks"),". All it needs are your benchmark results in JSON format.")),t=0==providedBenchmarks.length;return o.a.createElement(le.a,{inverse:!0,fluid:!0,style:{marginBottom:"0px"}},o.a.createElement(le.a.Header,null,o.a.createElement(le.a.Brand,null,o.a.createElement(me.a,{id:"logo-dropdown"},o.a.createElement(ot,{bsRole:"toggle"}),o.a.createElement(me.a.Menu,null,t>0&&o.a.createElement(ge.a,{onSelect:this.onReset}," Reset & Upload New"),t>0&&o.a.createElement(ge.a,{divider:!0}),o.a.createElement(ge.a,{href:"https://github.com/jzillmann/jmh-visualizer/issues",target:"_blank"},o.a.createElement(He.a,null)," Feedback & Bug Reports "),o.a.createElement(ge.a,{href:"http://github.com/jzillmann/jmh-visualizer",target:"_blank"},o.a.createElement(He.a,null)," Code @ Github "),o.a.createElement(ge.a,{divider:!0}),o.a.createElement(ge.a,{href:"http://openjdk.java.net/projects/code-tools/jmh/",target:"_blank"},o.a.createElement(He.a,null)," JMH "),o.a.createElement(ge.a,{href:"http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/",target:"_blank"},o.a.createElement(He.a,null)," JMH Samples"),o.a.createElement(ge.a,{divider:!0}),o.a.createElement(xe.a,{trigger:"click",rootClose:!0,placement:"bottom",overlay:e},o.a.createElement(ge.a,{eventKey:"3"}," About")))))),o.a.createElement(fe.a,null,o.a.createElement(pe.a,null,o.a.createElement(st,null))))}}]),t}(o.a.Component),lt=function(e){var t=e.title;return o.a.createElement("h1",{style:{textAlign:"center",paddingRight:"20%"}},t)},ut=$(function(e){return{topBar:e.settings.topBar}})(function(e){var t=e.topBar;switch(t){case"default":return o.a.createElement(ct,null);case"off":return null;default:return o.a.createElement(lt,{title:t})}}),ft=n(61),dt=n.n(ft),pt=n(71),ht=n.n(pt),mt=n(18),bt=n.n(mt),gt=n(272),yt=n.n(gt),vt=$(function(e){return{topBar:e.settings.topBar}})(function(e){return"default"===e.topBar?null:o.a.createElement(yt.a.Footer,{style:{marginTop:"20px",marginBottom:"0px",paddingLeft:"20px",fontSize:"0.90em"}},o.a.createElement(dt.a,{fluid:!0},o.a.createElement(ht.a,null,o.a.createElement(bt.a,{md:10},o.a.createElement("a",{href:"https://jmh.morethan.io",target:"_blank",rel:"noopener noreferrer"},"JMH Visualizer ","0.9.1")),o.a.createElement(bt.a,{md:2},o.a.createElement("a",{href:"https://github.com/jzillmann/jmh-visualizer",target:"_blank",rel:"noopener noreferrer"},o.a.createElement(Ve.a,{size:"1.5em"}))," | ",o.a.createElement("a",{href:"https://github.com/jzillmann/jmh-visualizer/issues",target:"_blank",rel:"noopener noreferrer"},o.a.createElement(Ge.a,{size:"1.5em"}))))))}),wt=n(114),xt=n.n(wt),kt=n(273),_t=n.n(kt),Et=n(21),St=n.n(Et);function Ot(e,t){var n=e.map(function(){return!0});J.selectBenchmarkRuns(n,t)}var Tt=$(function(e){return{benchmarkRuns:e.benchmarkRuns,runSelection:e.runSelection,runView:e.runView,detailedBenchmarkBundle:e.detailedBenchmarkBundle}})(function(e){var t=e.benchmarkRuns,n=e.runSelection,r=e.runView,a=e.detailedBenchmarkBundle;if(t.length<=1)return null;var i=function(e,t){return e.length<2?[]:t?["Compare"]:["Summary","Compare"]}(t,a),s=n.reduce(function(e,t){return e&&t}),c=n.map(function(e,a){var i=!s&&n[a];return o.a.createElement(St.a,{key:a,bsStyle:i?"primary":"default",bsSize:"small",onClick:function(){return function(e,t,n){var r=e.map(function(e,t){return t==n});J.selectBenchmarkRuns(r,t)}(t,r,a)}},t[a].name)}),l=void 0;if(i.length>1){var u=i.map(function(e){return o.a.createElement(ge.a,{key:e,onClick:function(){return Ot(n,e)}},e)});l=o.a.createElement(_t.a,{id:"all",title:r,bsStyle:s?"primary":"default",bsSize:"small",onClick:function(){return function(e,t){var n=void 0;e.some(function(e){return!e})?n=e.map(function(){return!0}):(n=e,t="Compare"===t?"Summary":"Compare"),J.selectBenchmarkRuns(n,t)}(n,r)}},u)}else l=o.a.createElement(St.a,{bsStyle:s?"primary":"default",bsSize:"small",onClick:function(){return Ot(n,r)}},i[0]);return o.a.createElement("div",{style:{textAlign:"center",marginTop:"-9px",marginBottom:"15px",paddingRight:"20%"}},o.a.createElement(xt.a,null,c)," ",o.a.createElement(xt.a,null,l))}),Mt=n(274),Ct=n.n(Mt);function Pt(e){return o.a.createElement(dt.a,{fluid:!0},o.a.createElement(ht.a,null,o.a.createElement(bt.a,{xs:14,md:10},e.left),o.a.createElement(bt.a,{xs:4,md:2},o.a.createElement(Ct.a,{viewportOffsetTop:15,container:this},o.a.createElement("div",{className:"bs-docs-sidebar"},e.right)))))}Pt.propTypes={left:tt.a.object.isRequired,right:tt.a.object.isRequired};var jt=n(275),At=n.n(jt),Bt=n(276),It=n.n(Bt),Nt=n(277),Dt=n.n(Nt),zt=function(e){function t(e){return D()(this,t),oe()(this,(t.__proto__||te()(t)).call(this,e))}return se()(t,e),re()(t,[{key:"onDrop",value:function(e){J.uploadFiles(e)}},{key:"render",value:function(){return o.a.createElement(At.a,{onDropAccepted:this.onDrop.bind(this),onDropRejected:function(){return alert("Only drop valid JSON files!")},multiple:!0,accept:".json",disableClick:!0,disablePreview:!0,className:"container-fluid",style:{width:"100%",height:"81vh",borderWidth:1,borderColor:Ee,borderStyle:"dashed",borderRadius:25,padding:20,textAlign:"center",verticalAlign:"middle"},rejectStyle:{borderColor:Oe,borderWidth:3,borderStyle:"dotted"},activeStyle:{borderColor:Oe,borderWidth:3,borderStyle:"dotted"}},o.a.createElement("div",null,o.a.createElement("h1",{style:{marginBottom:20}},"Dropzone"),o.a.createElement("h5",null,"Drop your JMH JSON report file(s) here!")),o.a.createElement("h2",null,o.a.createElement(It.a,{width:100,height:100})),o.a.createElement("br",null),o.a.createElement(Dt.a,{bsStyle:"warning"},o.a.createElement("div",null,o.a.createElement("blockquote",{style:{fontSize:14,paddingLeft:0,marginBottom:5}},o.a.createElement("i",null,'"',o.a.createElement("a",{href:"http://openjdk.java.net/projects/code-tools/jmh/"},"JMH"),' is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targetting the JVM."')),o.a.createElement("div",null,"Use this tool to visually explore your benchmark results! Simply upload",o.a.createElement("sup",null,"*")," any JMH result files (in JSON format)."))),o.a.createElement("br",null),o.a.createElement("div",{style:{fontSize:12,textAlign:"center"}},"* Your data stays locally in your browser, it is not send to any server!"))}}]),t}(o.a.Component),Rt=n(47),Ut=n.n(Rt),Lt=n(73),Ft=n.n(Lt),qt=n(115),Wt=n.n(qt),Ht=n(30),Kt=n.n(Ht),Vt=n(41),Yt=n.n(Vt),Gt=n(72),Xt=n.n(Gt),$t=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.state={url1:"",url2:""},r.handleUrl1Change=r.handleUrl1Change.bind(r),r.handleUrl2Change=r.handleUrl2Change.bind(r),r.handleSubmit=r.handleSubmit.bind(r),r}return se()(t,e),re()(t,[{key:"handleUrl1Change",value:function(e){this.setState({url1:e.target.value})}},{key:"handleUrl2Change",value:function(e){this.setState({url2:e.target.value})}},{key:"handleSubmit",value:function(){var e=new URLSearchParams(window.location.search);e.delete("source"),e.delete("sources"),e.delete("gist"),e.delete("gists"),this.state.url2?e.set("sources",this.state.url1+","+this.state.url2):e.set("source",this.state.url1),window.location.search=decodeURIComponent(e.toString())}},{key:"render",value:function(){return o.a.createElement(Wt.a,{horizontal:!0},o.a.createElement(Kt.a,{controlId:"url1"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," URL 1"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleUrl1Change}))),o.a.createElement(Kt.a,{controlId:"url2"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," URL 2 (optional)"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleUrl2Change}))),o.a.createElement(Kt.a,null,o.a.createElement(bt.a,{smOffset:2,sm:10},o.a.createElement(St.a,{onClick:this.handleSubmit,disabled:!this.state.url1},"Load"))))}}]),t}(o.a.Component),Jt=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.state={gist1:"",gist2:""},r.handleGist1Change=r.handleGist1Change.bind(r),r.handleGist2Change=r.handleGist2Change.bind(r),r.handleSubmit=r.handleSubmit.bind(r),r}return se()(t,e),re()(t,[{key:"handleGist1Change",value:function(e){this.setState({gist1:e.target.value})}},{key:"handleGist2Change",value:function(e){this.setState({gist2:e.target.value})}},{key:"handleSubmit",value:function(){var e=new URLSearchParams(window.location.search);e.delete("source"),e.delete("sources"),e.delete("gist"),e.delete("gists"),this.state.gist2?e.set("gists",this.state.gist1+","+this.state.gist2):e.set("gist",this.state.gist1),window.location.search=decodeURIComponent(e.toString())}},{key:"render",value:function(){return o.a.createElement(Wt.a,{horizontal:!0},o.a.createElement(Kt.a,{controlId:"gist1"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," Gist 1"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleGist1Change}))),o.a.createElement(Kt.a,{controlId:"gist2"},o.a.createElement(bt.a,{componentClass:Xt.a,sm:2}," Gist 2 (optional)"),o.a.createElement(bt.a,{sm:10},o.a.createElement(Yt.a,{type:"text",onChange:this.handleGist2Change}))),o.a.createElement(Kt.a,null,o.a.createElement(bt.a,{smOffset:2,sm:10},o.a.createElement(St.a,{onClick:this.handleSubmit,disabled:!this.state.gist1},"Load"))))}}]),t}(o.a.Component),Qt=function(e){function t(e,n){D()(this,t);var r=oe()(this,(t.__proto__||te()(t)).call(this,e,n));return r.state={urlDialogVisible:!1,gistDialogVisible:!1},r.showUrlDialog=r.showUrlDialog.bind(r),r.hideUrlDialog=r.hideUrlDialog.bind(r),r.showGistDialog=r.showGistDialog.bind(r),r.hideGistDialog=r.hideGistDialog.bind(r),r}return se()(t,e),re()(t,[{key:"showUrlDialog",value:function(){this.setState({urlDialogVisible:!0})}},{key:"hideUrlDialog",value:function(){this.setState({urlDialogVisible:!1})}},{key:"showGistDialog",value:function(){this.setState({gistDialogVisible:!0})}},{key:"hideGistDialog",value:function(){this.setState({gistDialogVisible:!1})}},{key:"render",value:function(){return o.a.createElement("div",{style:{whiteSpace:"nowrap"}},o.a.createElement("div",null,o.a.createElement("div",{className:"btn btn-default",style:{position:"relative"}},"Open File Dialog",o.a.createElement("input",{type:"file",multiple:!0,accept:".json",onChange:function(e){J.uploadFiles([].concat(S()(e.target.files)))},style:{opacity:0,position:"absolute",top:0,left:0,bottom:0,right:0}}))),o.a.createElement("br",null),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:J.loadSingleRunExample},"Load Single Run Example")),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:J.loadTwoRunsExample},"Load Two Runs Example")),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:J.loadMultiRunExample},"Load Multi Run Example")),o.a.createElement("hr",null),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:this.showUrlDialog},"Load from URL(s)")),o.a.createElement("div",null,o.a.createElement(Ft.a,null)," ",o.a.createElement("a",{onClick:this.showGistDialog},"Load from Gist(s)")),o.a.createElement("br",null),o.a.createElement(Ut.a,{show:this.state.urlDialogVisible,onHide:this.hideUrlDialog},o.a.createElement(Ut.a.Header,{closeButton:!0},o.a.createElement(Ut.a.Title,null,"Load JMH benchmarks from external URL(s)")),o.a.createElement(Ut.a.Body,null,o.a.createElement($t,null))),o.a.createElement(Ut.a,{show:this.state.gistDialogVisible,onHide:this.hideGistDialog},o.a.createElement(Ut.a.Header,{closeButton:!0},o.a.createElement(Ut.a.Title,null,"Load JMH benchmarks from external Gist(s)")),o.a.createElement(Ut.a.Body,null,o.a.createElement(Jt,null))))}}]),t}(o.a.Component),Zt=function(){return o.a.createElement(Pt,{left:o.a.createElement(zt,null),right:o.a.createElement(Qt,null)})},en=n(35),tn=n.n(en),nn=n(87),rn=n.n(nn),an=function(){function e(t){D()(this,e),this.key=t.key,this.name=t.name,this.methodNames=t.methodNames,this.benchmarkMethods=t.benchmarkMethods}return re()(e,[{key:"allBenchmarks",value:function(){return M(this.benchmarkMethods.map(function(e){return e.benchmarks.filter(function(e){return e})}))}},{key:"benchmarksFromRun",value:function(e){return M(this.benchmarkMethods.map(function(t){return t.benchmarks[e]}).filter(function(e){return e}))}}]),e}(),on=function e(t){D()(this,e),this.key=function(e,t){var n=e;return t&&(n+=" ["+t.map(function(e){return e[0]+"="+e[1]}).join(":")+"]"),n}(t.name,t.params),this.name=t.name,this.params=t.params,this.benchmarks=t.benchmarks};function sn(e){return e.split(".").reverse()[0]}function cn(e,t){var n=new g.a;return e.allBenchmarks().forEach(function(e){n.add(t.extractType(e))}),tn()(n)}function ln(e){var t=function(e){var t=new _.a;return e.forEach(function(e,n){e.benchmarks.forEach(function(e){var r=function(e){var t=e.benchmark.split(".");return t.pop(),t.join(".")}(e),a=t.get(r);void 0===a&&(a=new _.a,t.set(r,a));var o=function(e){var t=function(e){var t=e.benchmark.split(".");return t[t.length-1]}(e);return e.params&&_e()(e.params).forEach(function(n){t+=" "+n+"="+e.params[n]}),t}(e),i=a.get(o);for(i&&i.length==n+1&&(o=o+"_"+e.mode,i=a.get(o)),void 0===i&&(i=[],a.set(o,i));i.length0?k.map(function(e){return e.split("=")}):null;f.push(new on({name:E,params:O,benchmarks:x})),d.add(E)}}catch(e){h=!0,m=e}finally{try{!p&&y.return&&y.return()}finally{if(h)throw m}}n.push(new an({key:l,name:sn(l),benchmarkMethods:f,methodNames:[].concat(S()(d))}))}}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}var un=function e(t,n){D()(this,e);var r=t.filter(function(e,t){return n[t]});this.benchmarkRuns=t,this.runSelection=n,this.runNames=r.map(function(e){return e.name}),this.benchmarkBundles=ln(r)},fn=n(116),dn=n.n(fn),pn=n(278),hn=n.n(pn),mn=n(148),bn=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){return o.a.createElement("li",this.props,this.props.children)}}]),t}(o.a.Component);bn.propTypes={children:tt.a.node.isRequired};var gn=mn.Helpers.Scroll(bn),yn=n(148),vn=yn.scrollSpy,wn=yn.scroller,xn=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"componentDidMount",value:function(){vn.update()}},{key:"scrollTo",value:function(e){wn.scrollTo(e,{duration:500,delay:50,smooth:"linear",offset:-25})}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.activeCategory,a=t.elementIds,i=t.elementNames,s=t.linkControlsCreators;return o.a.createElement("ul",{className:"nav"},n.map(function(t){return o.a.createElement("li",{key:t,className:t===r?"active":""},o.a.createElement("div",null,o.a.createElement("a",{onClick:function(){return J.selectCategory(t)}},t)),o.a.createElement("ul",{className:"nav"},t===r?a.map(function(t,n){return o.a.createElement(gn,{key:t,activeClass:"active",to:t,spy:!0,offset:-200,duration:720,delay:50,smooth:"easeOutSine"},o.a.createElement("div",null,s.map(function(e){return e(t)}),o.a.createElement("a",{onClick:e.scrollTo.bind(e,t)},i[n])))}):""))}))}}]),t}(o.a.PureComponent);xn.propTypes={categories:tt.a.array.isRequired,activeCategory:tt.a.string.isRequired,elementIds:tt.a.array.isRequired,elementNames:tt.a.array.isRequired,linkControlsCreators:tt.a.array.isRequired};var kn=xn,_n=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.benchmarkBundles,n=e.metrics,r=e.metricExtractor,a=e.buttons,i=e.focusedBenchmarkBundles,s=e.categories,c=e.activeCategory,l=n.filter(function(e){return e.startsWith("·")||"Score"===e}).map(function(e){return o.a.createElement("option",{key:e,value:e},e)}),u=t.map(function(e){return e.key}),f=t.map(function(e){return e.name});return o.a.createElement("div",null,o.a.createElement(Kt.a,{controlId:"formControlsSelectMultiple",bsSize:"small"},o.a.createElement(dn.a,null,o.a.createElement(De,{tooltip:"No secondary metrics found!!",position:"bottom",disabled:n.length>1},o.a.createElement(Yt.a,{componentClass:"select",onChange:function(e){J.selectMetric(e.target.value)},value:r.metricKey,disabled:n.length<2},l)))),a,o.a.createElement("hr",{style:{marginTop:"10px",marginBottom:"10px"}}),o.a.createElement(kn,{categories:s,activeCategory:c,elementIds:u,elementNames:f,linkControlsCreators:[function(e){return o.a.createElement("span",{key:"focus-"+e,onClick:function(t){t.stopPropagation(),J.focusBundle(e)},className:i.has(e)?" focused":" clickable"},o.a.createElement("sup",null,o.a.createElement(hn.a,null))," ")},function(e){return o.a.createElement("span",{key:"detail-"+e,onClick:function(t){t.stopPropagation(),J.detailBenchmarkBundle(e)},className:"clickable"},o.a.createElement("sup",null,o.a.createElement(Le.a,null))," ")}]}))}}]),t}(o.a.Component);_n.propTypes={benchmarkBundles:tt.a.array.isRequired,metrics:tt.a.array.isRequired,metricExtractor:tt.a.object.isRequired,buttons:tt.a.array,focusedBenchmarkBundles:tt.a.object.isRequired,categories:tt.a.array.isRequired,activeCategory:tt.a.string.isRequired};var En=_n,Sn=n(36),On=n.n(Sn),Tn=n(279),Mn=n.n(Tn),Cn=(n(478),n(148).Element),Pn=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){return o.a.createElement(Cn,this.props,this.props.children)}}]),t}(o.a.Component);Pn.propTypes={name:tt.a.string.isRequired,children:tt.a.node.isRequired};var jn=Pn,An=n(88),Bn=n.n(An),In=n(62),Nn=n.n(In),Dn=function(e){var t=e.name,n=e.tooltip,r=e.children,a=void 0===r?[]:r;return o.a.createElement(De,{tooltip:n,position:"top"},o.a.createElement(On.a,{bsStyle:"default"},t,a))},zn=function e(t,n,r){D()(this,e),this.displayName=t,this.description=n,this.increaseIsGood=r},Rn=new _.a;function Un(e){var t=Rn.get(e);return t||new zn(e,"...",!1)}function Ln(e){var t=Un(e);return t?o.a.createElement(Dn,{key:e,name:t.displayName,tooltip:t.description}):null}Rn.set("thrpt",new zn("Throughput","Operations per unit of time - the higher the bars, the better!",!0)),Rn.set("avgt",new zn("Average Time","Average time per operation - the lower the bars, the better!",!1)),Rn.set("sample",new zn("Sampling Time","Samples the time for each operation - the lower the bars, the better!",!1)),Rn.set("ss",new zn("Single Shot Time","Measures the time for a single operation - the lower the bars, the better!",!1)),Rn.set("·gc.alloc.rate",new zn("Allocation Rate","The amount of memory allocated per time unit - the lower the bars, the better!",!1)),Rn.set("·gc.alloc.rate.norm",new zn("Allocation Rate per operation","The amount of memory allocated per operation - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Eden_Space",new zn("Eden Allocation Churn","The amount of memory the garbage collector frees from Eden space per time unit - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Eden_Space.norm",new zn("Eden Allocation Churn per operation","The amount of memory the garbage collector frees from Eden space per operation - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Survivor_Space",new zn("Survivor Allocation Churn","The amount of memory the garbage collector frees from Survivor space per time unit - the lower the bars, the better!",!1)),Rn.set("·gc.churn.PS_Survivor_Space.norm",new zn("Survivor Allocation Churn per operation","The amount of memory the garbage collector frees from Survivor space per operation - the lower the bars, the better!",!1)),Rn.set("·gc.count",new zn("GC Count","How many garbage collections occured - the lower the bars, the better!",!1)),Rn.set("·gc.time",new zn("GC Time","Time spend for garbage collection - the lower the bars, the better!",!1));var Fn=function(e){var t=e.name,n=e.badges,r=e.children;return o.a.createElement(qn,{fullName:"",name:t,badges:n},r)};function qn(e){var t=e.fullName,n=e.name,r=e.badges,a=e.children;return o.a.createElement("h3",{id:t},o.a.createElement(De,{tooltip:t,position:"right",disabled:0==t.length},o.a.createElement("span",null,n))," ",o.a.createElement("span",{className:"superscript"},r),a)}var Wn=function(e){var t=e.benchmarkBundle,n=e.metricExtractor,r=e.children;r=Array.isArray(r)?r:[r];var a=cn(t,n).map(function(e){return Ln(e)});return o.a.createElement(qn,{fullName:t.key,name:t.name,badges:a},r.map(function(e){return o.a.createElement("span",{key:e.displayName||e.name||e.key,className:"superscript"}," | ",e)}))};n(481);if(!Object.setPrototypeOf&&!{}.__proto__){var Hn=Object.getPrototypeOf;Object.getPrototypeOf=function(e){return e.__proto__?e.__proto__:Hn.call(Object,e)}}var Kn=n(3),Vn=n.n(Kn),Yn=n(2),Gn=n.n(Yn),Xn=function(e){return 0===e?0:e>0?1:-1},$n=function(e){return Gn.a.isString(e)&&e.indexOf("%")===e.length-1},Jn=function(e){return Gn.a.isNumber(e)&&!Gn.a.isNaN(e)},Qn=function(e){return Jn(e)||Gn.a.isString(e)},Zn=0,er=function(e){var t=++Zn;return"".concat(e||"").concat(t)},tr=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Jn(e)&&!Gn.a.isString(e))return r;if($n(e)){var o=e.indexOf("%");n=t*parseFloat(e.slice(0,o))/100}else n=+e;return Gn.a.isNaN(n)&&(n=r),a&&n>t&&(n=t),n},nr=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},rr=function(e,t){return Jn(e)&&Jn(t)?function(n){return e+n*(t-e)}:function(){return t}},ar=function(e,t,n){return e&&e.length?e.find(function(e){return e&&Gn.a.get(e,t)===n}):null};function or(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function ir(e,t){return!or(e,this.props)||!or(t,this.state)}function sr(e){e.prototype.shouldComponentUpdate=ir}function cr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ur={alignmentBaseline:tt.a.string,angle:tt.a.number,baselineShift:tt.a.string,clip:tt.a.string,clipPath:tt.a.string,clipRule:tt.a.string,color:tt.a.string,colorInterpolation:tt.a.string,colorInterpolationFilters:tt.a.string,colorProfile:tt.a.string,colorRendering:tt.a.string,cursor:tt.a.string,direction:tt.a.oneOf(["ltr","rtl","inherit"]),display:tt.a.string,dominantBaseline:tt.a.string,enableBackground:tt.a.string,fill:tt.a.string,fillOpacity:tt.a.oneOfType([tt.a.string,tt.a.number]),fillRule:tt.a.oneOf(["nonzero","evenodd","inherit"]),filter:tt.a.string,floodColor:tt.a.string,floodOpacity:tt.a.oneOfType([tt.a.string,tt.a.number]),font:tt.a.string,fontFamily:tt.a.string,fontSize:tt.a.oneOfType([tt.a.number,tt.a.string]),fontSizeAdjust:tt.a.oneOfType([tt.a.number,tt.a.string]),fontStretch:tt.a.oneOf(["normal","wider","narrower","ultra-condensed","extra-condensed","condensed","semi-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded","inherit"]),fontStyle:tt.a.oneOf(["normal","italic","oblique","inherit"]),fontVariant:tt.a.oneOf(["normal","small-caps","inherit"]),fontWeight:tt.a.oneOf(["normal","bold","bolder","lighter",100,200,300,400,500,600,700,800,900,"inherit"]),glyphOrientationHorizontal:tt.a.string,glyphOrientationVertical:tt.a.string,imageRendering:tt.a.oneOf(["auto","optimizeSpeed","optimizeQuality","inherit"]),kerning:tt.a.oneOfType([tt.a.number,tt.a.string]),letterSpacing:tt.a.oneOfType([tt.a.number,tt.a.string]),lightingColor:tt.a.string,markerEnd:tt.a.string,markerMid:tt.a.string,markerStart:tt.a.string,mask:tt.a.string,opacity:tt.a.oneOfType([tt.a.number,tt.a.string]),overflow:tt.a.oneOf(["visible","hidden","scroll","auto","inherit"]),pointerEvents:tt.a.oneOf(["visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","none","inherit"]),shapeRendering:tt.a.oneOf(["auto","optimizeSpeed","crispEdges","geometricPrecision","inherit"]),stopColor:tt.a.string,stopOpacity:tt.a.oneOfType([tt.a.number,tt.a.string]),stroke:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeDasharray:tt.a.string,strokeDashoffset:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeLinecap:tt.a.oneOf(["butt","round","square","inherit"]),strokeLinejoin:tt.a.oneOf(["miter","round","bevel","inherit"]),strokeMiterlimit:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeOpacity:tt.a.oneOfType([tt.a.number,tt.a.string]),strokeWidth:tt.a.oneOfType([tt.a.number,tt.a.string]),textAnchor:tt.a.oneOf(["start","middle","end","inherit"]),textDecoration:tt.a.oneOf(["none","underline","overline","line-through","blink","inherit"]),textRendering:tt.a.oneOf(["auto","optimizeSpeed","optimizeLegibility","geometricPrecision","inherit"]),unicodeBidi:tt.a.oneOf(["normal","embed","bidi-override","inherit"]),visibility:tt.a.oneOf(["visible","hidden","collapse","inherit"]),wordSpacing:tt.a.oneOfType([tt.a.number,tt.a.string]),writingMode:tt.a.oneOf(["lr-tb","rl-tb","tb-rl","lr","rl","tb","inherit"]),transform:tt.a.string,style:tt.a.object,width:tt.a.number,height:tt.a.number,dx:tt.a.number,dy:tt.a.number,x:tt.a.number,y:tt.a.number,r:tt.a.number,radius:tt.a.oneOfType([tt.a.number,tt.a.array])},fr={onClick:tt.a.func,onMouseDown:tt.a.func,onMouseUp:tt.a.func,onMouseOver:tt.a.func,onMouseMove:tt.a.func,onMouseOut:tt.a.func,onMouseEnter:tt.a.func,onMouseLeave:tt.a.func,onTouchEnd:tt.a.func,onTouchMove:tt.a.func,onTouchStart:tt.a.func,onTouchCancel:tt.a.func},dr={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},pr=["auto","linear","pow","sqrt","log","identity","time","band","point","ordinal","quantile","quantize","utc","sequential","threshold"],hr=["plainline","line","square","rect","circle","cross","diamond","star","triangle","wye","none"],mr=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},br=function(e,t){var n=[],r=[];return r=Gn.a.isArray(t)?t.map(function(e){return mr(e)}):[mr(t)],o.a.Children.forEach(e,function(e){var t=e&&e.type&&(e.type.displayName||e.type.name);-1!==r.indexOf(t)&&n.push(e)}),n},gr=function(e,t){var n=br(e,t);return n&&n[0]},yr=function(e){if(!e||Gn.a.isFunction(e))return null;var t=o.a.isValidElement(e)?e.props:e;if(!Gn.a.isObject(t))return null;var n=null;for(var r in t)({}).hasOwnProperty.call(t,r)&&ur[r]&&(n||(n={}),n[r]=t[r]);return n},vr=function(e,t){return function(n){return e(t,n),null}},wr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||Gn.a.isFunction(e))return null;var r=o.a.isValidElement(e)?e.props:e;if(!Gn.a.isObject(r))return null;var a=null;for(var i in r)({}).hasOwnProperty.call(r,i)&&fr[i]&&(a||(a={}),a[i]=t||(n?vr(r[i],r):r[i]));return a},xr=function(e,t,n){return function(r){return e(t,n,r),null}},kr=function(e,t,n){if(!Gn.a.isObject(e))return null;var r=null;for(var a in e)({}).hasOwnProperty.call(e,a)&&fr[a]&&Gn.a.isFunction(e[a])&&(r||(r={}),r[a]=xr(e[a],t,n));return r},_r=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Jn(n)||n<=0||!Jn(r)||r<=0)},Er=function(){return!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout)},Sr=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Or=function(e){var t=[];return o.a.Children.forEach(e,function(e){e&&e.type&&Gn.a.isString(e.type)&&Sr.indexOf(e.type)>=0&&t.push(e)}),t},Tr=function(e,t){if(Gn.a.isNil(e)&&Gn.a.isNil(t))return!0;if(!Gn.a.isNil(e)&&!Gn.a.isNil(t)){var n=e.props||{},r=n.children,a=lr(n,["children"]),o=t.props||{},i=o.children,s=lr(o,["children"]);return r&&i?or(a,s)&&Mr(r,i):!r&&!i&&or(a,s)}return!1},Mr=function e(t,n){if(t===n)return!0;if(a.Children.count(t)!==a.Children.count(n))return!1;var r=a.Children.count(t);if(0===r)return!0;if(1===r)return Tr(Gn.a.isArray(t)?t[0]:t,Gn.a.isArray(n)?n[0]:n);for(var o=0;o=0}(e))n.push(e);else if(e&&t[mr(e.type)]){var o=mr(e.type),i=t[o],s=i.handler,c=i.once;if(c&&!r[o]||!c){var l=s(e,o,a);Gn.a.isArray(l)?n=[n].concat(cr(l)):n.push(l),r[o]=!0}}}),n},Pr=function(e){var t=e&&e.type;return t&&dr[t]?dr[t]:null};function jr(){return(jr=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Br={width:tt.a.number.isRequired,height:tt.a.number.isRequired,viewBox:tt.a.shape({x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number}),className:tt.a.string,style:tt.a.object,children:tt.a.oneOfType([tt.a.arrayOf(tt.a.node),tt.a.node])};function Ir(e){var t=e.children,n=e.width,r=e.height,a=e.viewBox,i=e.className,s=e.style,c=Ar(e,["children","width","height","viewBox","className","style"]),l=a||{width:n,height:r,x:0,y:0},u=Vn()("recharts-surface",i),f=yr(c);return o.a.createElement("svg",jr({},f,{className:u,width:n,height:r,style:s,viewBox:"".concat(l.x," ").concat(l.y," ").concat(l.width," ").concat(l.height),version:"1.1"}),t)}Ir.propTypes=Br;var Nr=Ir;function Dr(){return(Dr=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Rr={className:tt.a.string,children:tt.a.oneOfType([tt.a.arrayOf(tt.a.node),tt.a.node])};function Ur(e){var t=e.children,n=e.className,r=zr(e,["children","className"]),a=Vn()("recharts-layer",n);return o.a.createElement("g",Dr({className:a},r),t)}Ur.propTypes=Rr;var Lr=Ur,Fr=Math.PI,qr=2*Fr,Wr=qr-1e-6;function Hr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Kr(){return new Hr}Hr.prototype=Kr.prototype={constructor:Hr,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+o)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var o=this._x1,i=this._y1,s=n-e,c=r-t,l=o-e,u=i-t,f=l*l+u*u;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(u*s-c*l)>1e-6&&a){var d=n-o,p=r-i,h=s*s+c*c,m=d*d+p*p,b=Math.sqrt(h),g=Math.sqrt(f),y=a*Math.tan((Fr-Math.acos((h+f-m)/(2*b*g)))/2),v=y/g,w=y/b;Math.abs(v-1)>1e-6&&(this._+="L"+(e+v*l)+","+(t+v*u)),this._+="A"+a+","+a+",0,0,"+ +(u*d>l*p)+","+(this._x1=e+w*s)+","+(this._y1=t+w*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,a,o){e=+e,t=+t;var i=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=e+i,l=t+s,u=1^o,f=o?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),n&&(f<0&&(f=f%qr+qr),f>Wr?this._+="A"+n+","+n+",0,1,"+u+","+(e-i)+","+(t-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Fr)+","+u+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Vr=Kr,Yr=function(e){return function(){return e}},Gr=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,1e-12),Xr=Math.PI,$r=2*Xr;function Jr(e){this._context=e}Jr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var Qr=function(e){return new Jr(e)};function Zr(e){return e[0]}function ea(e){return e[1]}var ta=function(){var e=Zr,t=ea,n=Yr(!0),r=null,a=Qr,o=null;function i(i){var s,c,l,u=i.length,f=!1;for(null==r&&(o=a(l=Vr())),s=0;s<=u;++s)!(s=u;--f)s.point(b[f],g[f]);s.lineEnd(),s.areaEnd()}m&&(b[l]=+e(d,l,c),g[l]=+n(d,l,c),s.point(t?+t(d,l,c):b[l],r?+r(d,l,c):g[l]))}if(p)return s=null,p+""||null}function l(){return ta().defined(a).curve(i).context(o)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:Yr(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:Yr(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:Yr(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:Yr(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:Yr(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Yr(+e),c):r},c.lineX0=c.lineY0=function(){return l().x(e).y(n)},c.lineY1=function(){return l().x(e).y(r)},c.lineX1=function(){return l().x(t).y(n)},c.defined=function(e){return arguments.length?(a="function"==typeof e?e:Yr(!!e),c):a},c.curve=function(e){return arguments.length?(i=e,null!=o&&(s=i(o)),c):i},c.context=function(e){return arguments.length?(null==e?o=s=null:s=i(o=e),c):o},c};aa(Qr);function ra(e){this._curve=e}function aa(e){function t(t){return new ra(e(t))}return t._curve=e,t}ra.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var oa=Array.prototype.slice;var ia={draw:function(e,t){var n=Math.sqrt(t/Xr);e.moveTo(n,0),e.arc(0,0,n,0,$r)}},sa={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},ca=Math.sqrt(1/3),la=2*ca,ua={draw:function(e,t){var n=Math.sqrt(t/la),r=n*ca;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},fa=Math.sin(Xr/10)/Math.sin(7*Xr/10),da=Math.sin($r/10)*fa,pa=-Math.cos($r/10)*fa,ha={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=da*n,a=pa*n;e.moveTo(0,-n),e.lineTo(r,a);for(var o=1;o<5;++o){var i=$r*o/5,s=Math.cos(i),c=Math.sin(i);e.lineTo(c*n,-s*n),e.lineTo(s*r-c*a,c*r+s*a)}e.closePath()}},ma={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},ba=Math.sqrt(3),ga={draw:function(e,t){var n=-Math.sqrt(t/(3*ba));e.moveTo(0,2*n),e.lineTo(-ba*n,-n),e.lineTo(ba*n,-n),e.closePath()}},ya=Math.sqrt(3)/2,va=1/Math.sqrt(12),wa=3*(va/2+1),xa={draw:function(e,t){var n=Math.sqrt(t/wa),r=n/2,a=n*va,o=r,i=n*va+n,s=-o,c=i;e.moveTo(r,a),e.lineTo(o,i),e.lineTo(s,c),e.lineTo(-.5*r-ya*a,ya*r+-.5*a),e.lineTo(-.5*o-ya*i,ya*o+-.5*i),e.lineTo(-.5*s-ya*c,ya*s+-.5*c),e.lineTo(-.5*r+ya*a,-.5*a-ya*r),e.lineTo(-.5*o+ya*i,-.5*i-ya*o),e.lineTo(-.5*s+ya*c,-.5*c-ya*s),e.closePath()}},ka=function(){};function _a(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Ea(e){this._context=e}Ea.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:_a(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:_a(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Sa(e){this._context=e}Sa.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:_a(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Oa(e){this._context=e}Oa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:_a(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ta(e,t){this._basis=new Ea(e),this._beta=t}Ta.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,a=e[0],o=t[0],i=e[n]-a,s=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(a+r*i),this._beta*t[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};(function e(t){function n(e){return 1===t?new Ea(e):new Ta(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function Ma(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Ca(e,t){this._context=e,this._k=(1-t)/6}Ca.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ma(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Ma(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new Ca(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Pa(e,t){this._context=e,this._k=(1-t)/6}Pa.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ma(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new Pa(e,t)}return n.tension=function(t){return e(+t)},n})(0);function ja(e,t){this._context=e,this._k=(1-t)/6}ja.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ma(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new ja(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Aa(e,t,n){var r=e._x1,a=e._y1,o=e._x2,i=e._y2;if(e._l01_a>Gr){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,a=(a*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Gr){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/u,i=(i*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,a,o,i,e._x2,e._y2)}function Ba(e,t){this._context=e,this._alpha=t}Ba.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Aa(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new Ba(e,t):new Ca(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Ia(e,t){this._context=e,this._alpha=t}Ia.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Aa(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new Ia(e,t):new Pa(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Na(e,t){this._context=e,this._alpha=t}Na.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Aa(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new Na(e,t):new ja(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Da(e){this._context=e}Da.prototype={areaStart:ka,areaEnd:ka,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function za(e){return e<0?-1:1}function Ra(e,t,n){var r=e._x1-e._x0,a=t-e._x1,o=(e._y1-e._y0)/(r||a<0&&-0),i=(n-e._y1)/(a||r<0&&-0),s=(o*a+i*r)/(r+a);return(za(o)+za(i))*Math.min(Math.abs(o),Math.abs(i),.5*Math.abs(s))||0}function Ua(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function La(e,t,n){var r=e._x0,a=e._y0,o=e._x1,i=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,a+s*t,o-s,i-s*n,o,i)}function Fa(e){this._context=e}function qa(e){this._context=new Wa(e)}function Wa(e){this._context=e}function Ha(e){this._context=e}function Ka(e){var t,n,r=e.length-1,a=new Array(r),o=new Array(r),i=new Array(r);for(a[0]=0,o[0]=2,i[0]=e[0]+2*e[1],t=1;t=0;--t)a[t]=(i[t]-a[t+1])/o[t];for(o[r-1]=(e[r]+a[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Ya=function(e,t){if((a=e.length)>1)for(var n,r,a,o=1,i=e[t[0]],s=i.length;o=0;)n[t]=t;return n};function Xa(e,t){return e[t]}var $a,Ja,Qa;function Za(e){return(Za="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function to(){return(to=Object.assign||function(e){for(var t=1;t=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,a=r.layout,o=r.align,i=r.verticalAlign,s=r.margin,c=r.chartWidth,l=r.chartHeight;if(!e||(void 0===e.left||null===e.left)&&(void 0===e.right||null===e.right))if("center"===o&&"vertical"===a){var u=this.getBBox()||{width:0};t={left:((c||0)-u.width)/2}}else t="right"===o?{right:s&&s.right||0}:{left:s&&s.left||0};if(!e||(void 0===e.top||null===e.top)&&(void 0===e.bottom||null===e.bottom))if("middle"===i){var f=this.getBBox()||{height:0};n={top:((l||0)-f.height)/2}}else n="bottom"===i?{bottom:s&&s.bottom||0}:{top:s&&s.top||0};return Oo({},t,n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var a=this.wrapperNode.getBoundingClientRect();(Math.abs(a.width-t)>1||Math.abs(a.height-n)>1)&&this.setState({boxWidth:a.width,boxHeight:a.height},function(){r&&r(a)})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},function(){r&&r(null)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,a=t.height,i=t.wrapperStyle,s=Oo({position:"absolute",width:r||"auto",height:a||"auto"},this.getDefaultPosition(i),i);return o.a.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(t){e.wrapperNode=t}},function(e,t){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(Eo,t)}(n,this.props))}}],[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&Jn(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}]),t}(),xo.displayName="Legend",xo.propTypes={content:tt.a.oneOfType([tt.a.element,tt.a.func]),wrapperStyle:tt.a.object,chartWidth:tt.a.number,chartHeight:tt.a.number,width:tt.a.number,height:tt.a.number,iconSize:tt.a.number,iconType:tt.a.oneOf(Ao),layout:tt.a.oneOf(["horizontal","vertical"]),align:tt.a.oneOf(["center","left","right"]),verticalAlign:tt.a.oneOf(["top","bottom","middle"]),margin:tt.a.shape({top:tt.a.number,left:tt.a.number,bottom:tt.a.number,right:tt.a.number}),payload:tt.a.arrayOf(tt.a.shape({value:tt.a.any,id:tt.a.any,type:tt.a.oneOf(hr)})),formatter:tt.a.func,onMouseEnter:tt.a.func,onMouseLeave:tt.a.func,onClick:tt.a.func,onBBoxUpdate:tt.a.func},xo.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},wo=ko))||wo,Io=n(89),No=n.n(Io),Do=n(55),zo=n.n(Do);function Ro(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;zo()(function r(a){n<0&&(n=a),a-n>t?(e(a),n=-1):zo()(r)})}function Uo(e){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lo(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Fo(){var e=function(){return null},t=!1;return{stop:function(){t=!0},start:function(n){t=!1,function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var a=Lo(r),o=a[0],i=a.slice(1);return"number"==typeof o?void Ro(n.bind(null,i),o):(n(o),void Ro(n.bind(null,i)))}"object"===Uo(r)&&e(r),"function"==typeof r&&r()}}(n)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}var qo=n(171),Wo=n.n(qo),Ho=n(28),Ko=n.n(Ho);function Vo(e){return(Vo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yo(e,t){if(e===t)return!0;if("object"!==Vo(e)||null===e||"object"!==Vo(t)||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=hasOwnProperty.bind(t),o=0;o=0&&e<=1});var s=ui(r,o),c=ui(a,i),l=function(e,t){return function(n){var r=si(ci(e,t).map(function(e,t){return e*t}).slice(1)).concat([0]);return li(r,n)}}(r,o),u=function(e){return e>1?1:e<0?0:e},f=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var a=s(n)-t,o=l(n);if(Math.abs(a-t)<1e-4||o<1e-4)return c(n);n=u(n-a/o)}return c(n)};return f.isStepper=!1,f},di=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,a=void 0===r?8:r,o=e.dt,i=void 0===o?17:o,s=function(e,t,r){var o=r+(-(e-t)*n-r*a)*i/1e3,s=r*i/1e3+e;return Math.abs(s-t)<1e-4&&Math.abs(o)<1e-4?[t,0]:[s,o]};return s.isStepper=!0,s.dt=i,s}()}return"function"==typeof r?r:null},pi=n(281),hi=n.n(pi);function mi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ti(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0?n[a-1]:r,d=l||Object.keys(c);if("function"==typeof s||"spring"===s)return Ti(e).concat([t.runJSAnimation.bind(t,{from:f.style,to:c,duration:o,easing:s}),o]);var p=ii(d,o,s),h=Mi({},f.style,c,{transition:p});return Ti(e).concat([h,o,u]).filter(ri)},[i,Math.max(c,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Fo());var t=e.begin,n=e.duration,r=e.attributeName,a=e.to,o=e.easing,i=e.onAnimationStart,s=e.onAnimationEnd,c=e.steps,l=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof l&&"spring"!==o)if(c.length>1)this.runStepAnimation(e);else{var f=r?Ci({},r,a):a,d=ii(Object.keys(f),n,o);u.start([i,t,Mi({},f,{transition:d}),n,s])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),r=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,Oi(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=a.Children.count(t),s=oi(this.state.style);if("function"==typeof t)return t(s);if(!n||0===i)return t;var c=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,i=t.className;return Object(a.cloneElement)(e,Mi({},r,{style:Mi({},o,s),className:i}))};return 1===i?c(a.Children.only(t)):o.a.createElement("div",null,a.Children.map(t,function(e){return c(e)}))}}]),t}(),wi.displayName="Animate",wi.propTypes={from:tt.a.oneOfType([tt.a.object,tt.a.string]),to:tt.a.oneOfType([tt.a.object,tt.a.string]),attributeName:tt.a.string,duration:tt.a.number,begin:tt.a.number,easing:tt.a.oneOfType([tt.a.string,tt.a.func]),steps:tt.a.arrayOf(tt.a.shape({duration:tt.a.number.isRequired,style:tt.a.object.isRequired,easing:tt.a.oneOfType([tt.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),tt.a.func]),properties:tt.a.arrayOf("string"),onAnimationEnd:tt.a.func})),children:tt.a.oneOfType([tt.a.node,tt.a.func]),isActive:tt.a.bool,canBegin:tt.a.bool,onAnimationEnd:tt.a.func,shouldReAnimate:tt.a.bool,onAnimationStart:tt.a.func,onAnimationReStart:tt.a.func},wi.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},vi=xi))||vi,Di=n(117),zi=n(172),Ri=n.n(zi);function Ui(e){return(Ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Li(){return(Li=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function qi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce(function(e,t){return e+(Ri()(t.duration)&&t.duration>0?t.duration:0)},0):Ri()(n)?n:0},Gi=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=new Array(r),o=0;o1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,n,r=this,a=this.props,i=a.payload,s=a.isAnimationActive,c=a.animationDuration,l=a.animationEasing,u=a.filterNull&&i&&i.length?i.filter(function(e){return!Gn.a.isNil(e.value)}):i,f=u&&u.length,d=this.props,p=d.content,h=d.viewBox,m=d.coordinate,b=d.position,g=d.active,y=d.offset,v=d.wrapperStyle,w=hs({pointerEvents:"none",visibility:g&&f?"visible":"hidden",position:"absolute",top:0},v);if(b&&Jn(b.x)&&Jn(b.y))t=b.x,n=b.y;else{var x=this.state,k=x.boxWidth,_=x.boxHeight;k>0&&_>0&&m?(t=b&&Jn(b.x)?b.x:Math.max(m.x+k+y>h.x+h.width?m.x-k-y:m.x+y,h.x),n=b&&Jn(b.y)?b.y:Math.max(m.y+_+y>h.y+h.height?m.y-_-y:m.y+y,h.y)):w.visibility="hidden"}w=hs({},w,oi({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")})),s&&g&&(w=hs({},w,oi({transition:"transform ".concat(c,"ms ").concat(l)})));var E=Vn()(ws,(ms(e={},"".concat(ws,"-right"),Jn(t)&&m&&Jn(m.x)&&t>=m.x),ms(e,"".concat(ws,"-left"),Jn(t)&&m&&Jn(m.x)&&t=m.y),ms(e,"".concat(ws,"-top"),Jn(n)&&m&&Jn(m.y)&&n0?Gn.a.debounce(n.updateDimensionsImmediate,e.debounce):n.updateDimensionsImmediate,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}(t,a["Component"]),function(e,t,n){t&&Ts(e.prototype,t),n&&Ts(e,n)}(t,[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.container?{containerWidth:this.container.clientWidth,containerHeight:this.container.clientHeight}:null}},{key:"renderChart",value:function(){var e=this.state,t=e.containerWidth,n=e.containerHeight;if(t<0||n<0)return null;var r=this.props,a=r.aspect,i=r.width,s=r.height,c=(r.minWidth,r.minHeight,r.maxHeight),l=r.children;$n(i)||$n(s);var u=$n(i)?t:i,f=$n(s)?n:s;return a&&a>0&&(f=u/a,c&&f>c&&(f=c)),o.a.cloneElement(l,{width:u,height:f})}},{key:"render",value:function(){var e=this,t=this.props,n=t.minWidth,r=t.minHeight,a=t.width,i=t.height,s=t.maxHeight,c=t.id,l=t.className,u={width:a,height:i,minWidth:n,minHeight:r,maxHeight:s};return o.a.createElement("div",{id:c,className:Vn()("recharts-responsive-container",l),style:u,ref:function(t){e.container=t}},this.renderChart(),o.a.createElement(Ss.a,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize}))}}]),t}();js.displayName="ResponsiveContainer",js.propTypes={aspect:tt.a.number,width:tt.a.oneOfType([tt.a.string,tt.a.number]),height:tt.a.oneOfType([tt.a.string,tt.a.number]),minHeight:tt.a.oneOfType([tt.a.string,tt.a.number]),minWidth:tt.a.oneOfType([tt.a.string,tt.a.number]),maxHeight:tt.a.oneOfType([tt.a.string,tt.a.number]),children:tt.a.node.isRequired,debounce:tt.a.number,id:tt.a.oneOfType([tt.a.string,tt.a.number]),className:tt.a.oneOfType([tt.a.string,tt.a.number])},js.defaultProps={width:"100%",height:"100%",debounce:0};var As=js;function Bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Is(){return null}Is.propTypes=function(e){for(var t=1;t=0&&t===+t?"".concat(t,"px"):t}(n,e[n]),";")},"")},Hs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||Er())return{width:0,height:0};var n="".concat(e),r=Ws(t),a="".concat(n,"-").concat(r);if(Ls.widthCache[a])return Ls.widthCache[a];try{var o=document.getElementById("recharts_measurement_span");o||((o=document.createElement("span")).setAttribute("id","recharts_measurement_span"),document.body.appendChild(o));var i=function(e){for(var t=1;t2e3&&(Ls.cacheCount=0,Ls.widthCache={}),c}catch(e){return{width:0,height:0}}};function Ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vs(e){return(Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ys(){return(Ys=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Xs(e,t){for(var n=0;nt?1:e>=t?0:NaN},ac=function(e){return 1===e.length&&(e=function(e){return function(t,n){return rc(e(t),n)}}(e)),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r>>1;e(t[o],n)<0?r=o+1:a=o}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r>>1;e(t[o],n)>0?a=o:r=o+1}return r}}};var oc=ac(rc),ic=oc.right,sc=(oc.left,ic);var cc=function(e){return null===e?NaN:+e},lc=Array.prototype,uc=(lc.slice,lc.map,function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(a);++r0)return[e];if((r=t0)for(e=Math.ceil(e/i),t=Math.floor(t/i),o=new Array(a=Math.ceil(t-e+1));++s=0?(o>=fc?10:o>=dc?5:o>=pc?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=fc?10:o>=dc?5:o>=pc?2:1)}function bc(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/a;return o>=fc?a*=10:o>=dc?a*=5:o>=pc&&(a*=2),t=1)return+n(e[r-1],r-1,e);var r,a=(r-1)*t,o=Math.floor(a),i=+n(e[o],o,e);return i+(+n(e[o+1],o+1,e)-i)*(a-o)}};function yc(){}function vc(e,t){var n=new yc;if(e instanceof yc)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,a=-1,o=e.length;if(null==t)for(;++a>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Rc.exec(e))?Yc(parseInt(t[1],16)):(t=Uc.exec(e))?new Jc(t[1],t[2],t[3],1):(t=Lc.exec(e))?new Jc(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Fc.exec(e))?Gc(t[1],t[2],t[3],t[4]):(t=qc.exec(e))?Gc(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Wc.exec(e))?Zc(t[1],t[2]/100,t[3]/100,1):(t=Hc.exec(e))?Zc(t[1],t[2]/100,t[3]/100,t[4]):Kc.hasOwnProperty(e)?Yc(Kc[e]):"transparent"===e?new Jc(NaN,NaN,NaN,0):null}function Yc(e){return new Jc(e>>16&255,e>>8&255,255&e,1)}function Gc(e,t,n,r){return r<=0&&(e=t=n=NaN),new Jc(e,t,n,r)}function Xc(e){return e instanceof Bc||(e=Vc(e)),e?new Jc((e=e.rgb()).r,e.g,e.b,e.opacity):new Jc}function $c(e,t,n,r){return 1===arguments.length?Xc(e):new Jc(e,t,n,null==r?1:r)}function Jc(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Qc(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Zc(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new tl(e,t,n,r)}function el(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof tl)return new tl(e.h,e.s,e.l,e.opacity);if(e instanceof Bc||(e=Vc(e)),!e)return new tl;if(e instanceof tl)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),i=NaN,s=o-a,c=(o+a)/2;return s?(i=t===o?(n-r)/s+6*(n0&&c<1?0:i,new tl(i,s,c,e.opacity)}(e):new tl(e,t,n,null==r?1:r)}function tl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function nl(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}jc(Bc,Vc,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),jc(Jc,$c,Ac(Bc,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Jc(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Jc(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Qc(this.r)+Qc(this.g)+Qc(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),jc(tl,el,Ac(Bc,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new tl(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new tl(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new Jc(nl(e>=240?e-240:e+120,a,r),nl(e,a,r),nl(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var rl=Math.PI/180,al=180/Math.PI,ol=.96422,il=1,sl=.82521,cl=4/29,ll=6/29,ul=3*ll*ll,fl=ll*ll*ll;function dl(e){if(e instanceof hl)return new hl(e.l,e.a,e.b,e.opacity);if(e instanceof xl){if(isNaN(e.h))return new hl(e.l,0,0,e.opacity);var t=e.h*rl;return new hl(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Jc||(e=Xc(e));var n,r,a=yl(e.r),o=yl(e.g),i=yl(e.b),s=ml((.2225045*a+.7168786*o+.0606169*i)/il);return a===o&&o===i?n=r=s:(n=ml((.4360747*a+.3850649*o+.1430804*i)/ol),r=ml((.0139322*a+.0971045*o+.7141733*i)/sl)),new hl(116*s-16,500*(n-s),200*(s-r),e.opacity)}function pl(e,t,n,r){return 1===arguments.length?dl(e):new hl(e,t,n,null==r?1:r)}function hl(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ml(e){return e>fl?Math.pow(e,1/3):e/ul+cl}function bl(e){return e>ll?e*e*e:ul*(e-cl)}function gl(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function yl(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vl(e){if(e instanceof xl)return new xl(e.h,e.c,e.l,e.opacity);if(e instanceof hl||(e=dl(e)),0===e.a&&0===e.b)return new xl(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*al;return new xl(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function wl(e,t,n,r){return 1===arguments.length?vl(e):new xl(e,t,n,null==r?1:r)}function xl(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}jc(hl,pl,Ac(Bc,{brighter:function(e){return new hl(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new hl(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Jc(gl(3.1338561*(t=ol*bl(t))-1.6168667*(e=il*bl(e))-.4906146*(n=sl*bl(n))),gl(-.9787684*t+1.9161415*e+.033454*n),gl(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),jc(xl,wl,Ac(Bc,{brighter:function(e){return new xl(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new xl(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return dl(this).rgb()}}));var kl=-.14861,_l=1.78277,El=-.29227,Sl=-.90649,Ol=1.97294,Tl=Ol*Sl,Ml=Ol*_l,Cl=_l*El-Sl*kl;function Pl(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof jl)return new jl(e.h,e.s,e.l,e.opacity);e instanceof Jc||(e=Xc(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(Cl*r+Tl*t-Ml*n)/(Cl+Tl-Ml),o=r-a,i=(Ol*(n-a)-El*o)/Sl,s=Math.sqrt(i*i+o*o)/(Ol*a*(1-a)),c=s?Math.atan2(i,o)*al-120:NaN;return new jl(c<0?c+360:c,s,a,e.opacity)}(e):new jl(e,t,n,null==r?1:r)}function jl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Al(e,t,n,r,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*r+i*a)/6}jc(jl,Pl,Ac(Bc,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new jl(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new jl(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*rl,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new Jc(255*(t+n*(kl*r+_l*a)),255*(t+n*(El*r+Sl*a)),255*(t+n*(Ol*r)),this.opacity)}}));var Bl=function(e){return function(){return e}};function Il(e,t){return function(n){return e+n*t}}function Nl(e,t){var n=t-e;return n?Il(e,n>180||n<-180?n-360*Math.round(n/360):n):Bl(isNaN(e)?t:e)}function Dl(e){return 1==(e=+e)?zl:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Bl(isNaN(t)?n:t)}}function zl(e,t){var n=t-e;return n?Il(e,n):Bl(isNaN(e)?t:e)}var Rl=function e(t){var n=Dl(t);function r(e,t){var r=n((e=$c(e)).r,(t=$c(t)).r),a=n(e.g,t.g),o=n(e.b,t.b),i=zl(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=o(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);function Ul(e){return function(t){var n,r,a=t.length,o=new Array(a),i=new Array(a),s=new Array(a);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),a=e[r],o=e[r+1],i=r>0?e[r-1]:2*a-o,s=ro&&(a=t.slice(o,a),s[i]?s[i]+=a:s[++i]=a),(n=n[0])===(r=r[0])?s[i]?s[i]+=r:s[++i]=r:(s[++i]=null,c.push({i:i,x:Fl(n,r)})),o=Wl.lastIndex;return o180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(a(n)+"rotate(",null,r)-2,x:Fl(e,t)})):t&&n.push(a(n)+"rotate("+t+r)}(o.rotate,i.rotate,s,c),function(e,t,n,o){e!==t?o.push({i:n.push(a(n)+"skewX(",null,r)-2,x:Fl(e,t)}):t&&n.push(a(n)+"skewX("+t+r)}(o.skewX,i.skewX,s,c),function(e,t,n,r,o,i){if(e!==n||t!==r){var s=o.push(a(o)+"scale(",null,",",null,")");i.push({i:s-4,x:Fl(e,n)},{i:s-2,x:Fl(t,r)})}else 1===n&&1===r||o.push(a(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,i.scaleX,i.scaleY,s,c),o=i=null,function(e){for(var t,n=-1,r=c.length;++n2?lu:cu,r=a=null,u}function u(t){return(r||(r=n(o,i,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,s)))(+t)}return u.invert=function(e){return(a||(a=n(i,o,su,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},u.domain=function(e){return arguments.length?(o=Sc.call(e,ou),l()):o.slice()},u.range=function(e){return arguments.length?(i=Oc.call(e),l()):i.slice()},u.rangeRound=function(e){return i=Oc.call(e),s=Xl,l()},u.clamp=function(e){return arguments.length?(c=!!e,l()):c},u.interpolate=function(e){return arguments.length?(s=e,l()):s},l()}var du=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},pu=function(e){return(e=du(Math.abs(e)))?e[1]:NaN},hu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function mu(e){return new bu(e)}function bu(e){if(!(t=hu.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}mu.prototype=bu.prototype,bu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var gu,yu,vu,wu,xu=function(e){e:for(var t,n=e.length,r=1,a=-1;r0){if(!+e[r])break e;a=0}}return a>0?e.slice(0,a)+e.slice(t+1):e},ku=function(e,t){var n=du(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")},_u={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return ku(100*e,t)},r:ku,s:function(e,t){var n=du(e,t);if(!n)return e+"";var r=n[0],a=n[1],o=a-(gu=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,i=r.length;return o===i?r:o>i?r+new Array(o-i+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+du(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Eu=function(e){return e},Su=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Ou=function(e){var t=e.grouping&&e.thousands?function(e,t){return function(n,r){for(var a=n.length,o=[],i=0,s=e[0],c=0;a>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(a-=s,a+s)),!((c+=s+1)>r));)s=e[i=(i+1)%e.length];return o.reverse().join(t)}}(e.grouping,e.thousands):Eu,n=e.currency,r=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Eu,o=e.percent||"%";function i(e){var i=(e=mu(e)).fill,s=e.align,c=e.sign,l=e.symbol,u=e.zero,f=e.width,d=e.comma,p=e.precision,h=e.trim,m=e.type;"n"===m?(d=!0,m="g"):_u[m]||(null==p&&(p=12),h=!0,m="g"),(u||"0"===i&&"="===s)&&(u=!0,i="0",s="=");var b="$"===l?n[0]:"#"===l&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",g="$"===l?n[1]:/[%p]/.test(m)?o:"",y=_u[m],v=/[defgprs%]/.test(m);function w(e){var n,o,l,w=b,x=g;if("c"===m)x=y(e)+x,e="";else{var k=(e=+e)<0;if(e=y(Math.abs(e),p),h&&(e=xu(e)),k&&0==+e&&(k=!1),w=(k?"("===c?c:"-":"-"===c||"("===c?"":c)+w,x=("s"===m?Su[8+gu/3]:"")+x+(k&&"("===c?")":""),v)for(n=-1,o=e.length;++n(l=e.charCodeAt(n))||l>57){x=(46===l?r+e.slice(n+1):e.slice(n))+x,e=e.slice(0,n);break}}d&&!u&&(e=t(e,1/0));var _=w.length+e.length+x.length,E=_>1)+w+e+x+E.slice(_);break;default:e=E+w+e+x}return a(e)}return p=null==p?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),w.toString=function(){return e+""},w}return{format:i,formatPrefix:function(e,t){var n=i(((e=mu(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(pu(t)/3))),a=Math.pow(10,-r),o=Su[8+r/3];return function(e){return n(a*e)+o}}}};!function(e){yu=Ou(e),vu=yu.format,wu=yu.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Tu=function(e,t,n){var r,a=e[0],o=e[e.length-1],i=bc(a,o,null==t?10:t);switch((n=mu(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(a),Math.abs(o));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pu(t)/3)))-pu(Math.abs(e)))}(i,s))||(n.precision=r),wu(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,pu(t)-pu(e))+1}(i,Math.max(Math.abs(a),Math.abs(o))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-pu(Math.abs(e)))}(i))||(n.precision=r-2*("%"===n.type))}return vu(n)};function Mu(e){var t=e.domain;return e.ticks=function(e){var n=t();return hc(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Tu(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),o=0,i=a.length-1,s=a[o],c=a[i];return c0?r=mc(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=mc(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,n)),r>0?(a[o]=Math.floor(s/r)*r,a[i]=Math.ceil(c/r)*r,t(a)):r<0&&(a[o]=Math.ceil(s*r)/r,a[i]=Math.floor(c*r)/r,t(a)),e},e}function Cu(){var e=fu(su,Fl);return e.copy=function(){return uu(e,Cu())},Mu(e)}function Pu(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Sc.call(n,ou),t):e.slice()},t.copy=function(){return Pu().domain(e)},Mu(t)}var ju=function(e,t){var n,r=0,a=(e=e.slice()).length-1,o=e[r],i=e[a];return i0){for(;dc)break;m.push(f)}}else for(;d=1;--u)if(!((f=l*u)c)break;m.push(f)}}else m=hc(d,p,Math.min(p-d,h)).map(a);return o?m.reverse():m},e.tickFormat=function(t,o){if(null==o&&(o=10===n?".0e":","),"function"!=typeof o&&(o=vu(o)),t===1/0)return o;null==t&&(t=10);var i=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/a(Math.round(r(e)));return t*n0?n[a-1]:e[0],a=n?[r[n-1],t]:[r[i-1],r[i]]},o.copy=function(){return Wu().domain([e,t]).range(a)},Mu(o)}function Hu(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[sc(e,r,0,n)]}return r.domain=function(a){return arguments.length?(e=Oc.call(a),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(a){return arguments.length?(t=Oc.call(a),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return Hu().domain(e).range(t)},r}var Ku=new Date,Vu=new Date;function Yu(e,t,n,r){function a(t){return e(t=new Date(+t)),t}return a.floor=a,a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return s;do{s.push(i=new Date(+n)),t(n,o),e(n)}while(i=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(a.count=function(t,r){return Ku.setTime(+t),Vu.setTime(+r),e(Ku),e(Vu),Math.floor(n(Ku,Vu))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var Gu=Yu(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Gu.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Yu(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):Gu:null};var Xu=Gu,$u=(Gu.range,6e4),Ju=6048e5,Qu=Yu(function(e){e.setTime(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),Zu=Qu,ef=(Qu.range,Yu(function(e){e.setTime(Math.floor(e/$u)*$u)},function(e,t){e.setTime(+e+t*$u)},function(e,t){return(t-e)/$u},function(e){return e.getMinutes()})),tf=ef,nf=(ef.range,Yu(function(e){var t=e.getTimezoneOffset()*$u%36e5;t<0&&(t+=36e5),e.setTime(36e5*Math.floor((+e-t)/36e5)+t)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()})),rf=nf,af=(nf.range,Yu(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*$u)/864e5},function(e){return e.getDate()-1})),of=af;af.range;function sf(e){return Yu(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*$u)/Ju})}var cf=sf(0),lf=sf(1),uf=sf(2),ff=sf(3),df=sf(4),pf=sf(5),hf=sf(6),mf=(cf.range,lf.range,uf.range,ff.range,df.range,pf.range,hf.range,Yu(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()})),bf=mf,gf=(mf.range,Yu(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}));gf.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Yu(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var yf=gf,vf=(gf.range,Yu(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*$u)},function(e,t){return(t-e)/$u},function(e){return e.getUTCMinutes()})),wf=vf,xf=(vf.range,Yu(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()})),kf=xf,_f=(xf.range,Yu(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1})),Ef=_f;_f.range;function Sf(e){return Yu(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Ju})}var Of=Sf(0),Tf=Sf(1),Mf=Sf(2),Cf=Sf(3),Pf=Sf(4),jf=Sf(5),Af=Sf(6),Bf=(Of.range,Tf.range,Mf.range,Cf.range,Pf.range,jf.range,Af.range,Yu(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()})),If=Bf,Nf=(Bf.range,Yu(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}));Nf.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Yu(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var Df=Nf;Nf.range;function zf(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Rf(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Uf(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var Lf,Ff,qf,Wf,Hf={"-":"",_:" ",0:"0"},Kf=/^\s*\d+/,Vf=/^%/,Yf=/[\\^$*+?|[\]().{}]/g;function Gf(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o68?1900:2e3),n+r[0].length):-1}function od(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function id(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function sd(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function cd(e,t,n){var r=Kf.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ld(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ud(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function fd(e,t,n){var r=Kf.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function dd(e,t,n){var r=Kf.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function pd(e,t,n){var r=Kf.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function hd(e,t,n){var r=Vf.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function md(e,t,n){var r=Kf.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function bd(e,t,n){var r=Kf.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function gd(e,t){return Gf(e.getDate(),t,2)}function yd(e,t){return Gf(e.getHours(),t,2)}function vd(e,t){return Gf(e.getHours()%12||12,t,2)}function wd(e,t){return Gf(1+of.count(yf(e),e),t,3)}function xd(e,t){return Gf(e.getMilliseconds(),t,3)}function kd(e,t){return xd(e,t)+"000"}function _d(e,t){return Gf(e.getMonth()+1,t,2)}function Ed(e,t){return Gf(e.getMinutes(),t,2)}function Sd(e,t){return Gf(e.getSeconds(),t,2)}function Od(e){var t=e.getDay();return 0===t?7:t}function Td(e,t){return Gf(cf.count(yf(e),e),t,2)}function Md(e,t){var n=e.getDay();return e=n>=4||0===n?df(e):df.ceil(e),Gf(df.count(yf(e),e)+(4===yf(e).getDay()),t,2)}function Cd(e){return e.getDay()}function Pd(e,t){return Gf(lf.count(yf(e),e),t,2)}function jd(e,t){return Gf(e.getFullYear()%100,t,2)}function Ad(e,t){return Gf(e.getFullYear()%1e4,t,4)}function Bd(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Gf(t/60|0,"0",2)+Gf(t%60,"0",2)}function Id(e,t){return Gf(e.getUTCDate(),t,2)}function Nd(e,t){return Gf(e.getUTCHours(),t,2)}function Dd(e,t){return Gf(e.getUTCHours()%12||12,t,2)}function zd(e,t){return Gf(1+Ef.count(Df(e),e),t,3)}function Rd(e,t){return Gf(e.getUTCMilliseconds(),t,3)}function Ud(e,t){return Rd(e,t)+"000"}function Ld(e,t){return Gf(e.getUTCMonth()+1,t,2)}function Fd(e,t){return Gf(e.getUTCMinutes(),t,2)}function qd(e,t){return Gf(e.getUTCSeconds(),t,2)}function Wd(e){var t=e.getUTCDay();return 0===t?7:t}function Hd(e,t){return Gf(Of.count(Df(e),e),t,2)}function Kd(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Pf(e):Pf.ceil(e),Gf(Pf.count(Df(e),e)+(4===Df(e).getUTCDay()),t,2)}function Vd(e){return e.getUTCDay()}function Yd(e,t){return Gf(Tf.count(Df(e),e),t,2)}function Gd(e,t){return Gf(e.getUTCFullYear()%100,t,2)}function Xd(e,t){return Gf(e.getUTCFullYear()%1e4,t,4)}function $d(){return"+0000"}function Jd(){return"%"}function Qd(e){return+e}function Zd(e){return Math.floor(+e/1e3)}!function(e){Lf=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,o=e.days,i=e.shortDays,s=e.months,c=e.shortMonths,l=$f(a),u=Jf(a),f=$f(o),d=Jf(o),p=$f(i),h=Jf(i),m=$f(s),b=Jf(s),g=$f(c),y=Jf(c),v={a:function(e){return i[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:gd,e:gd,f:kd,H:yd,I:vd,j:wd,L:xd,m:_d,M:Ed,p:function(e){return a[+(e.getHours()>=12)]},Q:Qd,s:Zd,S:Sd,u:Od,U:Td,V:Md,w:Cd,W:Pd,x:null,X:null,y:jd,Y:Ad,Z:Bd,"%":Jd},w={a:function(e){return i[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Id,e:Id,f:Ud,H:Nd,I:Dd,j:zd,L:Rd,m:Ld,M:Fd,p:function(e){return a[+(e.getUTCHours()>=12)]},Q:Qd,s:Zd,S:qd,u:Wd,U:Hd,V:Kd,w:Vd,W:Yd,x:null,X:null,y:Gd,Y:Xd,Z:$d,"%":Jd},x={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:sd,e:sd,f:pd,H:ld,I:ld,j:cd,L:dd,m:id,M:ud,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},Q:md,s:bd,S:fd,u:Zf,U:ed,V:td,w:Qf,W:nd,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:ad,Y:rd,Z:od,"%":hd};function k(e,t){return function(n){var r,a,o,i=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(a=(r=Rf(Uf(o.y))).getUTCDay())>4||0===a?Tf.ceil(r):Tf(r),r=Ef.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(a=(r=t(Uf(o.y))).getDay())>4||0===a?lf.ceil(r):lf(r),r=of.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),a="Z"in o?Rf(Uf(o.y)).getUTCDay():t(Uf(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(a+5)%7:o.w+7*o.U-(a+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Rf(o)):t(o)}}function E(e,t,n,r){for(var a,o,i=0,s=t.length,c=n.length;i=c)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(o=x[a in Hf?t.charAt(i++):a])||(r=o(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return v.x=k(n,v),v.X=k(r,v),v.c=k(t,v),w.x=k(n,w),w.X=k(r,w),w.c=k(t,w),{format:function(e){var t=k(e+="",v);return t.toString=function(){return e},t},parse:function(e){var t=_(e+="",zf);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=_(e,Rf);return t.toString=function(){return e},t}}}(e),Ff=Lf.format,Lf.parse,qf=Lf.utcFormat,Wf=Lf.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||qf("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||Wf("%Y-%m-%dT%H:%M:%S.%LZ");var ep=1e3,tp=60*ep,np=60*tp,rp=24*np,ap=7*rp,op=30*rp,ip=365*rp;function sp(e){return new Date(e)}function cp(e){return e instanceof Date?+e:+new Date(+e)}function lp(e,t,n,r,a,o,i,s,c){var l=fu(su,Fl),u=l.invert,f=l.domain,d=c(".%L"),p=c(":%S"),h=c("%I:%M"),m=c("%I %p"),b=c("%a %d"),g=c("%b %d"),y=c("%B"),v=c("%Y"),w=[[i,1,ep],[i,5,5*ep],[i,15,15*ep],[i,30,30*ep],[o,1,tp],[o,5,5*tp],[o,15,15*tp],[o,30,30*tp],[a,1,np],[a,3,3*np],[a,6,6*np],[a,12,12*np],[r,1,rp],[r,2,2*rp],[n,1,ap],[t,1,op],[t,3,3*op],[e,1,ip]];function x(s){return(i(s)1&&void 0!==arguments[1]?arguments[1]:{}).bandAware;if(void 0!==e){if(t){var n=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+n}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}},{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}}]),e}();jp.EPS=1e-4;var Ap,Bp,Ip,Np=function(){function e(t){Ep(this,e),this.scales=Gn.a.mapValues(t,jp.create),Object.assign(this,this.scales)}return Op(e,null,[{key:"create",value:function(e){return new this(e)}}]),Op(e,[{key:"apply",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bandAware,n=this.scales;return Gn.a.mapValues(e,function(e,r){return n[r].apply(e,{bandAware:t})})}},{key:"isInRange",value:function(e){var t=this.scales;return Gn.a.every(e,function(e,n){return t[n].isInRange(e)})}}]),e}();function Dp(e){return(Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zp(){return(zp=Object.assign||function(e){for(var t=1;t=0?1:-1,c=r>=0?1:0;if(i>0&&a instanceof Array){for(var l=[],u=0;u<4;u++)l[u]=a[u]>i?i:a[u];o="M".concat(e,",").concat(t+s*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(c,",").concat(e+l[0],",").concat(t)),o+="L ".concat(e+n-l[1],",").concat(t),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+s*l[1])),o+="L ".concat(e+n,",").concat(t+r-s*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(c,",\n ").concat(e+n-l[2],",").concat(t+r)),o+="L ".concat(e+l[3],",").concat(t+r),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-s*l[3])),o+="Z"}else if(i>0&&a===+a&&a>0){var f=Math.min(i,a);o="M ".concat(e,",").concat(t+s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+f,",").concat(t,"\n L ").concat(e+n-f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+s*f,"\n L ").concat(e+n,",").concat(t+r-s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-f,",").concat(t+r,"\n L ").concat(e+f,",").concat(t+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-s*f," Z")}else o="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},yh=sr((oh=ah=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=new Array(r),o=0;o0,from:{width:a,height:i,x:n,y:r},to:{width:a,height:i,x:n,y:r},duration:d,animationEasing:f,isActive:m},function(t){var n=t.width,r=t.height,a=t.x,i=t.y;return o.a.createElement(es,{canBegin:l>0,from:"0px ".concat(-1===l?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:d,isActive:h,easing:f},o.a.createElement("path",lh({},yr(e.props),wr(e.props),{className:b,d:gh(a,i,n,r,s),ref:function(t){e.node=t}})))}):o.a.createElement("path",lh({},yr(this.props),wr(this.props),{className:b,d:gh(n,r,a,i,s)}))}}]),t}(),ah.displayName="Rectangle",ah.propTypes=function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ah(e,t){for(var n=0;n=0});if(o&&o.length){var i=o.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=Fh(t,n,0),a=Gn.a.isArray(r)?[Gn.a.min(r),Gn.a.max(r)]:[r,r],o=i.reduce(function(e,n){var r=Fh(t,n,0),o=a[0]-Math.abs(Gn.a.isArray(r)?r[0]:r),i=a[1]+Math.abs(Gn.a.isArray(r)?r[1]:r);return[Math.min(o,e[0]),Math.max(i,e[1])]},[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]},[1/0,-1/0])}return null},Vh=function(e,t,n,r){var a=t.map(function(t){var a=t.props.dataKey;return"number"===n&&a&&Kh(e,t,a)||qh(e,a,n,r)});if("number"===n)return a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var o={};return a.reduce(function(e,t){for(var n=0,r=t.length;n=0||t.indexOf("AreaChart")>=0)?{scale:Pc(),realScaleType:"point"}:"category"===a?{scale:Cc(),realScaleType:"band"}:{scale:Cu(),realScaleType:"linear"};if(Gn.a.isString(n)){var s="scale".concat(n.slice(0,1).toUpperCase()).concat(n.slice(1));return{scale:(r[s]||Pc)(),realScaleType:r[s]?s:"point"}}return Gn.a.isFunction(n)?{scale:n}:{scale:Pc(),realScaleType:"point"}},Qh=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),a=Math.min(r[0],r[1])-1e-4,o=Math.max(r[0],r[1])+1e-4,i=e(t[0]),s=e(t[n-1]);(io||so)&&e.domain([t[0],t[n-1]])}},Zh=function(e,t){if(!e)return null;for(var n=0,r=e.length;nr)&&(a[1]=r),a[0]>r&&(a[0]=r),a[1]=0?(e[i][n][0]=a,e[i][n][1]=a+s,a=e[i][n][1]):(e[i][n][0]=o,e[i][n][1]=o+s,o=e[i][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,a,o=0,i=e[0].length;o0){for(var n,r=0,a=e[t[0]],o=a.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,a,o=0,i=1;i=0?0:a<0?a:r}return n[0]},sm=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},cm=function(e,t,n,r,a){var o=br(e,ih),i=br(e,Yp),s=o.concat(i),c=br(e,Th),l="".concat(r,"Id"),u=r[0],f=t;if(s.length&&(f=s.reduce(function(e,t){if(t.props[l]===n&&sm(t.props,"extendDomain")&&Jn(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e},f)),c.length){var d="".concat(u,"1"),p="".concat(u,"2");f=c.reduce(function(e,t){if(t.props[l]===n&&sm(t.props,"extendDomain")&&Jn(t.props[d])&&Jn(t.props[p])){var r=t.props[d],a=t.props[p];return[Math.min(e[0],r,a),Math.max(e[1],r,a)]}return e},f)}return a&&a.length&&(f=a.reduce(function(e,t){return Jn(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},f)),f},lm=function(e,t,n){return Object.keys(e).reduce(function(r,a){var o=e[a].stackedData.reduce(function(e,r){var a=function(e){return e.reduce(function(e,t){return[Math.min.apply(null,t.concat([e[0]]).filter(Jn)),Math.max.apply(null,t.concat([e[1]]).filter(Jn))]},[1/0,-1/0])}(r.slice(t,n+1));return[Math.min(e[0],a[0]),Math.max(e[1],a[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},um=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fm=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,dm=function(e,t,n){if(!Gn.a.isArray(e))return t;var r=[];if(Jn(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(um.test(e[0])){var a=+um.exec(e[0])[1];r[0]=t[0]-a}else Gn.a.isFunction(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Jn(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(fm.test(e[1])){var o=+fm.exec(e[1])[1];r[1]=t[1]+o}else Gn.a.isFunction(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},pm=function(e,t){if(e&&e.scale&&e.scale.bandwidth)return e.scale.bandwidth();if(e&&t&&t.length>=2){for(var n=Gn.a.sortBy(t,function(e){return e.coordinate}),r=1/0,a=1,o=n.length;a2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},xm=function(e,t,n,r,a){var o=e.width,i=e.height,s=e.startAngle,c=e.endAngle,l=tr(e.cx,o,o/2),u=tr(e.cy,i,i/2),f=wm(o,i,n),d=tr(e.innerRadius,f,0),p=tr(e.outerRadius,f,.8*f);return Object.keys(t).reduce(function(e,n){var o,i=t[n],f=i.domain,h=i.reversed;if(Gn.a.isNil(i.range))"angleAxis"===r?o=[s,c]:"radiusAxis"===r&&(o=[d,p]),h&&(o=[o[1],o[0]]);else{var m=gm(o=i.range,2);s=m[0],c=m[1]}var b=Jh(i,a),g=b.realScaleType,y=b.scale;return y.domain(f).range(o),Qh(y),mm({},e,bm({},n,mm({},i,rm(y,mm({},i,{realScaleType:g})),{range:o,radius:p,realScaleType:g,scale:y,cx:l,cy:u,innerRadius:d,outerRadius:p,startAngle:s,endAngle:c})))},{})},km=function(e,t){var n=e.x,r=e.y,a=t.cx,o=t.cy,i=function(e,t){var n=e.x,r=e.y,a=t.x,o=t.y;return Math.sqrt(Math.pow(n-a,2)+Math.pow(r-o,2))}({x:n,y:r},{x:a,y:o});if(i<=0)return{radius:i};var s=(n-a)/i,c=Math.acos(s);return r>o&&(c=2*Math.PI-c),{radius:i,angle:function(e){return 180*e/Math.PI}(c),angleInRadian:c}},_m=function(e,t){var n=e.x,r=e.y,a=km({x:n,y:r},t),o=a.radius,i=a.angle,s=t.innerRadius,c=t.outerRadius;if(oc)return!1;if(0===o)return!0;var l,u=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),a=Math.floor(n/360),o=Math.min(r,a);return{startAngle:t-360*o,endAngle:n-360*o}}(t),f=u.startAngle,d=u.endAngle,p=i;if(f<=d){for(;p>d;)p-=360;for(;p=f&&p<=d}else{for(;p>f;)p-=360;for(;p=d&&p<=f}return l?mm({},t,{radius:o,angle:function(e,t){var n=t.startAngle,r=t.endAngle,a=Math.floor(n/360),o=Math.floor(r/360);return e+360*Math.min(a,o)}(p,t)}):null};function Em(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0?1:-1;"insideStart"===i?(r=h+v*c,a=b):"insideEnd"===i?(r=m-v*c,a=!b):"end"===i&&(r=m+v*c,a=b),a=y<=0?a:!a;var w=vm(u,f,g,r),x=vm(u,f,g,r+359*(a?1:-1)),k="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(a?0:1,",\n ").concat(x.x,",").concat(x.y),_=Gn.a.isNil(e.id)?er("recharts-radial-line-"):e.id;return o.a.createElement("text",Sm({},n,{dominantBaseline:"central",className:Vn()("recharts-radial-bar-label",l)}),o.a.createElement("defs",null,o.a.createElement("path",{id:_,d:k})),o.a.createElement("textPath",{xlinkHref:"#".concat(_)},t))},Am=function(e){var t=e.viewBox,n=e.offset,r=e.position,a=t.cx,o=t.cy,i=t.innerRadius,s=t.outerRadius,c=(t.startAngle+t.endAngle)/2;if("outside"===r){var l=vm(a,o,s+n,c),u=l.x;return{x:u,y:l.y,textAnchor:u>=a?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:a,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:a,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:a,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=vm(a,o,(i+s)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},Bm=function(e){var t=e.viewBox,n=e.offset,r=e.position,a=t.x,o=t.y,i=t.width,s=t.height,c=s>=0?1:-1;return"top"===r?{x:a+i/2,y:o-c*n,textAnchor:"middle",verticalAnchor:c>0?"end":"start"}:"bottom"===r?{x:a+i/2,y:o+s+c*n,textAnchor:"middle",verticalAnchor:"start"}:"left"===r?{x:a-n,y:o+s/2,textAnchor:"end",verticalAnchor:"middle"}:"right"===r?{x:a+i+n,y:o+s/2,textAnchor:"start",verticalAnchor:"middle"}:"insideLeft"===r?{x:a+n,y:o+s/2,textAnchor:"start",verticalAnchor:"middle"}:"insideRight"===r?{x:a+i-n,y:o+s/2,textAnchor:"end",verticalAnchor:"middle"}:"insideTop"===r?{x:a+i/2,y:o+c*n,textAnchor:"middle",verticalAnchor:"start"}:"insideBottom"===r?{x:a+i/2,y:o+s-c*n,textAnchor:"middle",verticalAnchor:"end"}:"insideTopLeft"===r?{x:a+n,y:o+c*n,textAnchor:"start",verticalAnchor:"start"}:"insideTopRight"===r?{x:a+i-n,y:o+c*n,textAnchor:"end",verticalAnchor:"start"}:"insideBottomLeft"===r?{x:a+n,y:o+s-c*n,textAnchor:"start",verticalAnchor:"end"}:"insideBottomRight"===r?{x:a+i-n,y:o+s-c*n,textAnchor:"end",verticalAnchor:"end"}:Gn.a.isObject(r)&&(Jn(r.x)||$n(r.x))&&(Jn(r.y)||$n(r.y))?{x:a+tr(r.x,i),y:o+tr(r.y,s),textAnchor:"end",verticalAnchor:"end"}:{x:a+i/2,y:o+s/2,textAnchor:"middle",verticalAnchor:"middle"}},Im=function(e){return Jn(e.cx)};function Nm(e){var t,n=e.viewBox,r=e.position,i=e.value,s=e.children,c=e.content,l=e.className,u=void 0===l?"":l;if(!n||Gn.a.isNil(i)&&Gn.a.isNil(s)&&!Object(a.isValidElement)(c)&&!Gn.a.isFunction(c))return null;if(Object(a.isValidElement)(c))return Object(a.cloneElement)(c,e);if(Gn.a.isFunction(c)){if(t=c(e),Object(a.isValidElement)(t))return t}else t=Pm(e);var f=Im(n),d=yr(e);if(f&&("insideStart"===r||"insideEnd"===r||"end"===r))return jm(e,t,d);var p=f?Am(e):Bm(e);return o.a.createElement(tc,Sm({className:Vn()("recharts-label",u)},d,p),t)}Nm.displayName="Label",Nm.defaultProps={offset:5},Nm.propTypes=Cm;var Dm=function(e){var t=e.cx,n=e.cy,r=e.angle,a=e.startAngle,o=e.endAngle,i=e.r,s=e.radius,c=e.innerRadius,l=e.outerRadius,u=e.x,f=e.y,d=e.top,p=e.left,h=e.width,m=e.height,b=e.clockWise;if(Jn(h)&&Jn(m)){if(Jn(u)&&Jn(f))return{x:u,y:f,width:h,height:m};if(Jn(d)&&Jn(p))return{x:d,y:p,width:h,height:m}}return Jn(u)&&Jn(f)?{x:u,y:f,width:0,height:0}:Jn(t)&&Jn(n)?{cx:t,cy:n,startAngle:a||r||0,endAngle:o||r||0,innerRadius:c||0,outerRadius:l||s||i||0,clockWise:b}:e.viewBox?e.viewBox:{}};Nm.parseViewBox=Dm,Nm.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=Dm(e),s=br(r,Nm).map(function(e,n){return Object(a.cloneElement)(e,{viewBox:t||i,key:"label-".concat(n)})});return n?[function(e,t){return e?!0===e?o.a.createElement(Nm,{key:"label-implicit",viewBox:t}):Qn(e)?o.a.createElement(Nm,{key:"label-implicit",viewBox:t,value:e}):Object(a.isValidElement)(e)||Gn.a.isFunction(e)?o.a.createElement(Nm,{key:"label-implicit",content:e,viewBox:t}):Gn.a.isObject(e)?o.a.createElement(Nm,Sm({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i)].concat(Em(s)):s};var zm=Nm;function Rm(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var qm={id:tt.a.string,data:tt.a.arrayOf(tt.a.object),valueAccessor:tt.a.func,clockWise:tt.a.bool,dataKey:tt.a.oneOfType([tt.a.string,tt.a.number,tt.a.func])},Wm={valueAccessor:function(e){return Gn.a.isArray(e.value)?Gn.a.last(e.value):e.value}};function Hm(e){var t=e.data,n=e.valueAccessor,r=e.dataKey,a=e.clockWise,i=e.id,s=Fm(e,["data","valueAccessor","dataKey","clockWise","id"]);return t&&t.length?o.a.createElement(Lr,{className:"recharts-label-list"},t.map(function(e,t){var c=Gn.a.isNil(r)?n(e,t):Fh(e&&e.payload,r),l=Gn.a.isNil(i)?{}:{id:"".concat(i,"-").concat(t)};return o.a.createElement(zm,Um({},yr(e),s,l,{index:t,value:c,viewBox:zm.parseViewBox(Gn.a.isNil(a)?e:function(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=br(r,Hm).map(function(e,n){return Object(a.cloneElement)(e,{data:t,key:"labelList-".concat(n)})});return n?[function(e,t){return e?!0===e?o.a.createElement(Hm,{key:"labelList-implicit",data:t}):o.a.isValidElement(e)||Gn.a.isFunction(e)?o.a.createElement(Hm,{key:"labelList-implicit",data:t,content:e}):Gn.a.isObject(e)?o.a.createElement(Hm,Um({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(Rm(i)):i},Hm.defaultProps=Wm;var Km,Vm,Ym,Gm=Hm;function Xm(e){return(Xm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jm(){return(Jm=Object.assign||function(e){for(var t=1;t180),",").concat(+(o>s),",\n ").concat(l.x,",").concat(l.y,"\n ");if(r>0){var f=vm(t,n,r,o),d=vm(t,n,r,s);u+="L ".concat(d.x,",").concat(d.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(i)>180),",").concat(+(o<=s),",\n ").concat(f.x,",").concat(f.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},sb=sr((Ym=Vm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Zm(this,eb(t).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}(t,a["Component"]),function(e,t,n){t&&Qm(e.prototype,t),n&&Qm(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.innerRadius,a=e.outerRadius,i=e.cornerRadius,s=e.startAngle,c=e.endAngle,l=e.className;if(a0&&Math.abs(s-c)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,a=e.outerRadius,o=e.cornerRadius,i=e.startAngle,s=e.endAngle,c=Xn(s-i),l=ob({cx:t,cy:n,radius:a,angle:i,sign:c,cornerRadius:o}),u=l.circleTangency,f=l.lineTangency,d=l.theta,p=ob({cx:t,cy:n,radius:a,angle:s,sign:-c,cornerRadius:o}),h=p.circleTangency,m=p.lineTangency,b=p.theta,g=Math.abs(i-s)-d-b;if(g<0)return ib({cx:t,cy:n,innerRadius:r,outerRadius:a,startAngle:i,endAngle:s});var y="M ".concat(f.x,",").concat(f.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(u.x,",").concat(u.y,"\n A").concat(a,",").concat(a,",0,").concat(+(g>180),",").concat(+(c<0),",").concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(m.x,",").concat(m.y,"\n ");if(r>0){var v=ob({cx:t,cy:n,radius:r,angle:i,sign:c,isExternal:!0,cornerRadius:o}),w=v.circleTangency,x=v.lineTangency,k=v.theta,_=ob({cx:t,cy:n,radius:r,angle:s,sign:-c,isExternal:!0,cornerRadius:o}),E=_.circleTangency,S=_.lineTangency,O=_.theta,T=Math.abs(i-s)-k-O;if(T<0)return"".concat(y,"L").concat(t,",").concat(n,"Z");y+="L".concat(S.x,",").concat(S.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(E.x,",").concat(E.y,"\n A").concat(r,",").concat(r,",0,").concat(+(T>180),",").concat(+(c>0),",").concat(w.x,",").concat(w.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(c<0),",").concat(x.x,",").concat(x.y,"Z")}else y+="L".concat(t,",").concat(n,"Z");return y}({cx:t,cy:n,innerRadius:r,outerRadius:a,cornerRadius:Math.min(p,d/2),startAngle:s,endAngle:c}):ib({cx:t,cy:n,innerRadius:r,outerRadius:a,startAngle:s,endAngle:c}),o.a.createElement("path",Jm({},yr(this.props),wr(this.props),{className:f,d:u}))}}]),t}(),Vm.displayName="Sector",Vm.propTypes=function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function lg(e,t){for(var n=0;n1e-5?"outer"===t?"start":"end":n<-1e-5?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.radius,a=e.axisLine,i=e.axisLineType,s=vg({},yr(this.props),{fill:"none"},yr(a));if("circle"===i)return o.a.createElement(_p,yg({className:"recharts-polar-angle-axis-line"},s,{cx:t,cy:n,r:r}));var c=this.props.ticks.map(function(e){return vm(t,n,r,e.coordinate)});return o.a.createElement(Ib,yg({className:"recharts-polar-angle-axis-line"},s,{points:c}))}},{key:"renderTicks",value:function(){var e=this,t=this.props,n=t.ticks,r=t.tick,a=t.tickLine,i=t.tickFormatter,s=t.stroke,c=yr(this.props),l=yr(r),u=vg({},c,{fill:"none"},yr(a)),f=n.map(function(t,n){var f=e.getTickLineCoord(t),d=vg({textAnchor:e.getTickTextAnchor(t)},c,{stroke:"none",fill:s},l,{index:n,payload:t,x:f.x2,y:f.y2});return o.a.createElement(Lr,yg({className:"recharts-polar-angle-axis-tick",key:"tick-".concat(n)},kr(e.props,t,n)),a&&o.a.createElement("line",yg({className:"recharts-polar-angle-axis-tick-line"},u,f)),r&&e.constructor.renderTickItem(r,d,i?i(t.value):t.value))});return o.a.createElement(Lr,{className:"recharts-polar-angle-axis-ticks"},f)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.radius,r=e.axisLine;return n<=0||!t||!t.length?null:o.a.createElement(Lr,{className:"recharts-polar-angle-axis"},r&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(e,t,n){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(tc,yg({},t,{className:"recharts-polar-angle-axis-tick-value"}),n)}}]),t}(),hg.displayName="PolarAngleAxis",hg.axisType="angleAxis",hg.propTypes=vg({},ur,fr,{type:tt.a.oneOf(["number","category"]),angleAxisId:tt.a.oneOfType([tt.a.string,tt.a.number]),dataKey:tt.a.oneOfType([tt.a.number,tt.a.string,tt.a.func]),cx:tt.a.number,cy:tt.a.number,radius:tt.a.oneOfType([tt.a.number,tt.a.string]),hide:tt.a.bool,scale:tt.a.oneOfType([tt.a.oneOf(pr),tt.a.func]),axisLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),axisLineType:tt.a.oneOf(["polygon","circle"]),tickLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),tick:tt.a.oneOfType([tt.a.bool,tt.a.func,tt.a.object,tt.a.element]),ticks:tt.a.arrayOf(tt.a.shape({value:tt.a.any,coordinate:tt.a.number})),stroke:tt.a.string,orientation:tt.a.oneOf(["inner","outer"]),tickFormatter:tt.a.func,allowDuplicatedCategory:tt.a.bool}),hg.defaultProps={type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,domain:[0,"auto"],orientation:"outer",axisLine:!0,tickLine:!0,tick:!0,hide:!1,allowDuplicatedCategory:!0},pg=mg))||pg;function Pg(e){return(Pg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jg(){return(jg=Object.assign||function(e){for(var t=1;t0?e.paddingAngle:0;if(n){var s=rr(n.endAngle-n.startAngle,e.endAngle-e.startAngle),c=Ag({},e,{startAngle:i+o,endAngle:i+s(r)+o});a.push(c),i=c.endAngle}else{var u=e.endAngle,f=e.startAngle,d=rr(0,u-f)(r),p=Ag({},e,{startAngle:i+o,endAngle:i+d+o});a.push(p),i=p.endAngle}}),o.a.createElement(Lr,null,e.renderSectorsStatically(a))})}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&Gn.a.isEqual(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.sectors,r=e.className,a=e.label,i=e.cx,s=e.cy,c=e.innerRadius,l=e.outerRadius,u=e.isAnimationActive,f=e.prevSectors,d=e.id;if(t||!n||!n.length||!Jn(i)||!Jn(s)||!Jn(c)||!Jn(l))return null;var p=Vn()("recharts-pie",r);return o.a.createElement(Lr,{className:p},o.a.createElement("g",{clipPath:"url(#".concat(Gn.a.isNil(d)?this.id:d,")")},this.renderSectors()),a&&this.renderLabels(n),zm.renderCallByParent(this.props,null,!1),(!u||f&&Gn.a.isEqual(f,n))&&Gm.renderCallByParent(this.props,n,!1))}}],[{key:"getTextAnchor",value:function(e,t){return e>t?"start":e=360?b:b-1)*u,w=f;Gn.a.isNil(f)&&Gn.a.isNil(p)?w="value":Gn.a.isNil(f)&&(w=p);var x,k,_=o.reduce(function(e,t){var n=Fh(t,w,0);return e+(Jn(n)?n:0)},0);_>0&&(x=o.map(function(e,t){var n,r=Fh(e,w,0),a=Fh(e,d,t),o=(Jn(r)?r:0)/_,i=(n=t?k.endAngle+Xn(g)*u:c)+Xn(g)*(h+o*v),l=(n+i)/2,f=(m.innerRadius+m.outerRadius)/2,p=[{name:a,value:r,payload:e}],b=vm(m.cx,m.cy,f,l);return k=Ag({percent:o,cornerRadius:s,name:a,tooltipPayload:p,midAngle:l,middleRadius:f,tooltipPosition:b},e,m,{value:Fh(e,w),startAngle:n,endAngle:i,payload:e,paddingAngle:Xn(g)*u})}));return Ag({},m,{sectors:x,data:o,onMouseLeave:r,onMouseEnter:a})},Sg=Tg))||Sg,qg=Fg;function Wg(e){return(Wg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hg(){return(Hg=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function oy(e,t){for(var n=0;n0&&Math.abs(S)0&&Math.abs(O)0&&n.handleDrag(e.changedTouches[0])},n.handleDragEnd=function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1})},n.handleLeaveWrapper=function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=setTimeout(n.handleDragEnd,1e3))},n.handleEnterSlideOrTraveller=function(){n.setState({isTextActive:!0})},n.handleLeaveSlideOrTraveller=function(){n.setState({isTextActive:!1})},n.handleSlideDragStart=function(e){var t=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX})},n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(ky(ky(n)),"startX"),endX:n.handleTravellerDragStart.bind(ky(ky(n)),"endX")},n.state=e.data&&e.data.length?n.updateScale(e):{},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}(t,a["Component"]),function(e,t,n){t&&vy(e.prototype,t),n&&vy(e,n)}(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,a=n.width,o=n.x,i=n.travellerWidth,s=n.updateId;(e.data!==r||e.updateId!==s)&&e.data&&e.data.length?this.setState(this.updateScale(e)):e.width===a&&e.x===o&&e.travellerWidth===i||(this.scale.range([e.x,e.x+e.width-e.travellerWidth]),this.scaleValues=this.scale.domain().map(function(e){return t.scale(e)}),this.setState({startX:this.scale(e.startIndex),endX:this.scale(e.endIndex)}))}},{key:"componentWillUnmount",value:function(){this.scale=null,this.scaleValues=null,this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null)}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.props,a=r.gap,o=r.data.length-1,i=Math.min(t,n),s=Math.max(t,n),c=this.constructor.getIndexInRange(this.scaleValues,i),l=this.constructor.getIndexInRange(this.scaleValues,s);return{startIndex:c-c%a,endIndex:l===o?o:l-l%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,a=t.dataKey,o=Fh(n[e],a,e);return Gn.a.isFunction(r)?r(o):o}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,a=t.endX,o=this.props,i=o.x,s=o.width,c=o.travellerWidth,l=o.startIndex,u=o.endIndex,f=o.onChange,d=e.pageX-n;d>0?d=Math.min(d,i+s-c-a,i+s-c-r):d<0&&(d=Math.max(d,i-r,i-a));var p=this.getIndex({startX:r+d,endX:a+d});p.startIndex===l&&p.endIndex===u||!f||f(p),this.setState({startX:r+d,endX:a+d,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX})}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,a=n.movingTravellerId,o=n.endX,i=n.startX,s=this.state[a],c=this.props,l=c.x,u=c.width,f=c.travellerWidth,d=c.onChange,p=c.gap,h=c.data,m={startX:this.state.startX,endX:this.state.endX},b=e.pageX-r;b>0?b=Math.min(b,l+u-f-s):b<0&&(b=Math.max(b,l-s)),m[a]=s+b;var g=this.getIndex(m),y=g.startIndex,v=g.endIndex;this.setState((yy(t={},a,s+b),yy(t,"brushMoveStartX",e.pageX),t),function(){d&&function(){var e=h.length-1;return"startX"===a&&(o>i?y%p==0:v%p==0)||oi?v%p==0:y%p==0)||o>i&&v===e}()&&d(g)})}},{key:"updateScale",value:function(e){var t=this,n=e.data,r=e.startIndex,a=e.endIndex,o=e.x,i=e.width,s=e.travellerWidth,c=n.length;return this.scale=Pc().domain(Gn.a.range(0,c)).range([o,o+i-s]),this.scaleValues=this.scale.domain().map(function(e){return t.scale(e)}),{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:this.scale(r),endX:this.scale(a)}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,a=e.height,i=e.fill,s=e.stroke;return o.a.createElement("rect",{stroke:s,fill:i,x:t,y:n,width:r,height:a})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,s=e.data,c=e.children,l=e.padding,u=a.Children.only(c);return u?o.a.cloneElement(u,{x:t,y:n,width:r,height:i,margin:l,compact:!0,data:s}):null}},{key:"renderTraveller",value:function(e,t){var n=this.props,r=n.y,a=n.travellerWidth,i=n.height,s=n.stroke,c=Math.floor(r+i/2)-1,l=Math.max(e,this.props.x);return o.a.createElement(Lr,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},o.a.createElement("rect",{x:l,y:r,width:a,height:i,fill:s,stroke:"none"}),o.a.createElement("line",{x1:l+1,y1:c,x2:l+a-1,y2:c,fill:"none",stroke:"#fff"}),o.a.createElement("line",{x1:l+1,y1:c+2,x2:l+a-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,a=n.height,i=n.stroke;return o.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:Math.min(e,t),y:r,width:Math.abs(t-e),height:a})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,a=e.height,i=e.travellerWidth,s=e.stroke,c=this.state,l=c.startX,u=c.endX,f={pointerEvents:"none",fill:s};return o.a.createElement(Lr,{className:"recharts-brush-texts"},o.a.createElement(tc,gy({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:r+a/2},f),this.getTextOfTick(t)),o.a.createElement(tc,gy({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+i+5,y:r+a/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,a=e.x,i=e.y,s=e.width,c=e.height,l=this.state,u=l.startX,f=l.endX,d=l.isTextActive,p=l.isSlideMoving,h=l.isTravellerMoving;if(!t||!t.length||!Jn(a)||!Jn(i)||!Jn(s)||!Jn(c)||s<=0||c<=0)return null;var m=Vn()("recharts-brush",n),b=1===o.a.Children.count(r),g=my("userSelect","none");return o.a.createElement(Lr,{className:m,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onMouseUp:this.handleDragEnd,onTouchEnd:this.handleDragEnd,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(u,f),this.renderTraveller(u,"startX"),this.renderTraveller(f,"endX"),(d||p||h)&&this.renderText())}}],[{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var a=Math.floor((n+r)/2);e[a]>t?r=a:n=a}return t>=e[r]?r:n}}]),t}(),dy.displayName="Brush",dy.propTypes={className:tt.a.string,fill:tt.a.string,stroke:tt.a.string,x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number.isRequired,travellerWidth:tt.a.number,gap:tt.a.number,padding:tt.a.shape({top:tt.a.number,right:tt.a.number,bottom:tt.a.number,left:tt.a.number}),dataKey:tt.a.oneOfType([tt.a.string,tt.a.number,tt.a.func]),data:tt.a.array,startIndex:tt.a.number,endIndex:tt.a.number,tickFormatter:tt.a.func,children:tt.a.node,onChange:tt.a.func,updateId:tt.a.oneOfType([tt.a.string,tt.a.number])},dy.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1}},fy=py))||fy;function Ey(e){return(Ey="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Sy(){return(Sy=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Cy(e,t){for(var n=0;n0?a(this.props):a(l)),n<=0||r<=0||!u||!u.length?null:o.a.createElement(Lr,{className:Vn()("recharts-cartesian-axis",i)},t&&this.renderAxisLine(),this.renderTicks(u),zm.renderCallByParent(this.props))}}],[{key:"getTicks",value:function(e){var n=e.tick,r=e.ticks,a=e.viewBox,o=e.minTickGap,i=e.orientation,s=e.interval,c=e.tickFormatter,l=e.unit;return r&&r.length&&n?Jn(s)||Er()?t.getNumberIntervalTicks(r,Jn(s)?s:0):"preserveStartEnd"===s?t.getTicksStart({ticks:r,tickFormatter:c,viewBox:a,orientation:i,minTickGap:o,unit:l},!0):"preserveStart"===s?t.getTicksStart({ticks:r,tickFormatter:c,viewBox:a,orientation:i,minTickGap:o,unit:l}):t.getTicksEnd({ticks:r,tickFormatter:c,viewBox:a,orientation:i,minTickGap:o,unit:l}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter(function(e,n){return n%(t+1)==0})}},{key:"getTicksStart",value:function(e,t){var n,r,a=e.ticks,o=e.tickFormatter,i=e.viewBox,s=e.orientation,c=e.minTickGap,l=e.unit,u=i.x,f=i.y,d=i.width,p=i.height,h="top"===s||"bottom"===s?"width":"height",m=(a||[]).slice(),b=l?Hs(l)[h]:0,g=m.length,y=g>=2?Xn(m[1].coordinate-m[0].coordinate):1;if(1===y?(n="width"===h?u:f,r="width"===h?u+d:f+p):(n="width"===h?u+d:f+p,r="width"===h?u:f),t){var v=a[g-1],w=Gn.a.isFunction(o)?o(v.value):v.value,x=Hs(w)[h]+b,k=y*(v.coordinate+y*x/2-r);m[g-1]=v=Oy({},v,{tickCoord:k>0?v.coordinate-k*y:v.coordinate}),y*(v.tickCoord-y*x/2-n)>=0&&y*(v.tickCoord+y*x/2-r)<=0&&(r=v.tickCoord-y*(x/2+c),m[g-1]=Oy({},v,{isShow:!0}))}for(var _=t?g-1:g,E=0;E<_;E++){var S=m[E],O=Gn.a.isFunction(o)?o(S.value):S.value,T=Hs(O)[h]+b;if(0===E){var M=y*(S.coordinate-y*T/2-n);m[E]=S=Oy({},S,{tickCoord:M<0?S.coordinate-M*y:S.coordinate})}else m[E]=S=Oy({},S,{tickCoord:S.coordinate});y*(S.tickCoord-y*T/2-n)>=0&&y*(S.tickCoord+y*T/2-r)<=0&&(n=S.tickCoord+y*(T/2+c),m[E]=Oy({},S,{isShow:!0}))}return m.filter(function(e){return e.isShow})}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,a=e.tickFormatter,o=e.viewBox,i=e.orientation,s=e.minTickGap,c=e.unit,l=o.x,u=o.y,f=o.width,d=o.height,p="top"===i||"bottom"===i?"width":"height",h=c?Hs(c)[p]:0,m=(r||[]).slice(),b=m.length,g=b>=2?Xn(m[1].coordinate-m[0].coordinate):1;1===g?(t="width"===p?l:u,n="width"===p?l+f:u+d):(t="width"===p?l+f:u+d,n="width"===p?l:u);for(var y=b-1;y>=0;y--){var v=m[y],w=Gn.a.isFunction(a)?a(v.value):v.value,x=Hs(w)[p]+h;if(y===b-1){var k=g*(v.coordinate+g*x/2-n);m[y]=v=Oy({},v,{tickCoord:k>0?v.coordinate-k*g:v.coordinate})}else m[y]=v=Oy({},v,{tickCoord:v.coordinate});g*(v.tickCoord-g*x/2-t)>=0&&g*(v.tickCoord+g*x/2-n)<=0&&(n=v.tickCoord-g*(x/2+s),m[y]=Oy({},v,{isShow:!0}))}return m.filter(function(e){return e.isShow})}},{key:"renderTickItem",value:function(e,t,n){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(tc,Sy({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}]),t}();By.displayName="CartesianAxis",By.propTypes=Oy({},ur,fr,{className:tt.a.string,x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number,orientation:tt.a.oneOf(["top","bottom","left","right"]),viewBox:tt.a.shape({x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number}),tick:tt.a.oneOfType([tt.a.bool,tt.a.func,tt.a.object,tt.a.element]),axisLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),tickLine:tt.a.oneOfType([tt.a.bool,tt.a.object]),mirror:tt.a.bool,tickMargin:tt.a.number.isRequired,minTickGap:tt.a.number,ticks:tt.a.array,tickSize:tt.a.number,stroke:tt.a.string,tickFormatter:tt.a.func,ticksGenerator:tt.a.func,interval:tt.a.oneOfType([tt.a.number,tt.a.oneOf(["preserveStart","preserveEnd","preserveStartEnd"])])}),By.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};var Iy,Ny,Dy,zy=By;function Ry(e){return(Ry="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uy(){return(Uy=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Fy(e){for(var t=1;t0});a!==l[0]&&l.unshift(0);var u=l.map(function(e,n){var u=l[n+1]?l[n+1]-e:a+s-e;if(u<=0)return null;var f=n%t.length;return o.a.createElement("rect",{key:"react-".concat(n),x:Math.round(e+a-a),y:i,width:u,height:c,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o.a.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},u)}},{key:"renderHorizontalStripes",value:function(e){var t=this.props.horizontalFill;if(!t||!t.length)return null;var n=this.props,r=n.fillOpacity,a=n.x,i=n.y,s=n.width,c=n.height,l=e.slice().sort(function(e,t){return e-t>0});i!==l[0]&&l.unshift(0);var u=l.map(function(e,n){var u=l[n+1]?l[n+1]-e:i+c-e;if(u<=0)return null;var f=n%t.length;return o.a.createElement("rect",{key:"react-".concat(n),y:Math.round(e+i-i),x:a,height:u,width:s,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o.a.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},u)}},{key:"renderBackground",value:function(){var e=this.props.fill;if(!e||"none"===e)return null;var t=this.props,n=t.fillOpacity,r=t.x,a=t.y,i=t.width,s=t.height;return o.a.createElement("rect",{x:r,y:a,width:i,height:s,stroke:"none",fill:e,fillOpacity:n,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,a=e.height,i=e.horizontal,s=e.vertical,c=e.horizontalCoordinatesGenerator,l=e.verticalCoordinatesGenerator,u=e.xAxis,f=e.yAxis,d=e.offset,p=e.chartWidth,h=e.chartHeight;if(!Jn(r)||r<=0||!Jn(a)||a<=0||!Jn(t)||t!==+t||!Jn(n)||n!==+n)return null;var m=this.props,b=m.horizontalPoints,g=m.verticalPoints;return b&&b.length||!Gn.a.isFunction(c)||(b=c({yAxis:f,width:p,height:h,offset:d})),g&&g.length||!Gn.a.isFunction(l)||(g=l({xAxis:u,width:p,height:h,offset:d})),o.a.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),i&&this.renderHorizontal(b),s&&this.renderVertical(g),i&&this.renderHorizontalStripes(b),s&&this.renderVerticalStripes(g))}}],[{key:"renderLineItem",value:function(e,t){var n;if(o.a.isValidElement(e))n=o.a.cloneElement(e,t);else if(Gn.a.isFunction(e))n=e(t);else{var r=t.x1,a=t.y1,i=t.x2,s=t.y2,c=t.key,l=Ly(t,["x1","y1","x2","y2","key"]);n=o.a.createElement("line",Uy({},yr(l),{x1:r,y1:a,x2:i,y2:s,fill:"none",key:c}))}return n}}]),t}(),Ny.displayName="CartesianGrid",Ny.propTypes=Fy({},ur,{x:tt.a.number,y:tt.a.number,width:tt.a.number,height:tt.a.number,horizontal:tt.a.oneOfType([tt.a.object,tt.a.element,tt.a.func,tt.a.bool]),vertical:tt.a.oneOfType([tt.a.object,tt.a.element,tt.a.func,tt.a.bool]),horizontalPoints:tt.a.arrayOf(tt.a.number),verticalPoints:tt.a.arrayOf(tt.a.number),horizontalCoordinatesGenerator:tt.a.func,verticalCoordinatesGenerator:tt.a.func,xAxis:tt.a.object,yAxis:tt.a.object,offset:tt.a.object,chartWidth:tt.a.number,chartHeight:tt.a.number,verticalFill:tt.a.arrayOf(tt.a.string),horizontalFill:tt.a.arrayOf(tt.a.string)}),Ny.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]},Iy=Dy))||Iy;function Jy(e){return(Jy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qy(){return(Qy=Object.assign||function(e){for(var t=1;to){s=tv(n.slice(0,c)).concat([o-l]);break}var u=s.length%2==0?[0,i]:[i];return tv(this.constructor.repeat(n,a)).concat(tv(s),u).map(function(e){return"".concat(e,"px")}).join(", ")}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.points,n=e.xAxis,r=e.yAxis,a=e.layout,i=e.children,s=br(i,zh);if(!s)return null;function c(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:Fh(e.payload,t)}}return s.map(function(e,i){return o.a.cloneElement(e,{key:i,data:t,xAxis:n,yAxis:r,layout:a,dataPointFormatter:c})})}},{key:"renderDots",value:function(e,t){var n=this;if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,a=r.dot,i=r.points,s=r.dataKey,c=yr(this.props),l=yr(a),u=wr(a),f=i.map(function(e,t){var r=Zy({key:"dot-".concat(t),r:3},c,l,u,{value:e.value,dataKey:s,cx:e.x,cy:e.y,index:t,payload:e.payload});return n.constructor.renderDotItem(a,r)}),d={clipPath:e?"url(#clipPath-".concat(t,")"):null};return o.a.createElement(Lr,Qy({className:"recharts-line-dots",key:"dots"},d),f)}},{key:"renderCurveStatically",value:function(e,t,n,r){var a=this.props,i=a.type,s=a.layout,c=a.connectNulls,l=Zy({},yr(this.props),wr(this.props),{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},r,{type:i,layout:s,connectNulls:c});return o.a.createElement(_b,Qy({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,r=this.props,a=r.points,i=r.strokeDasharray,s=r.isAnimationActive,c=r.animationBegin,l=r.animationDuration,u=r.animationEasing,f=r.animationId,d=r.width,p=r.height,h=this.state,m=h.prevPoints,b=h.totalLength;return o.a.createElement(es,{begin:c,duration:l,isActive:s,easing:u,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var o=r.t;if(m){var s=a.map(function(e,t){if(m[t]){var n=m[t],r=rr(n.x,e.x),a=rr(n.y,e.y);return Zy({},e,{x:r(o),y:a(o)})}var i=rr(2*d,e.x),s=rr(p/2,e.y);return Zy({},e,{x:i(o),y:s(o)})});return n.renderCurveStatically(s,e,t)}var c,l=rr(0,b)(o);if(i){var u=i.split(/[,\s]+/gim).map(function(e){return parseFloat(e)});c=n.getStrokeDasharray(l,b,u)}else c="".concat(l,"px ").concat(b-l,"px");return n.renderCurveStatically(a,e,t,{strokeDasharray:c})})}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,a=n.isAnimationActive,o=this.state,i=o.prevPoints,s=o.totalLength;return a&&r&&r.length&&(!i&&s>0||!Gn.a.isEqual(i,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,a=e.className,i=e.xAxis,s=e.yAxis,c=e.top,l=e.left,u=e.width,f=e.height,d=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=1===r.length,b=Vn()("recharts-line",a),g=i&&i.allowDataOverflow||s&&s.allowDataOverflow,y=Gn.a.isNil(p)?this.id:p;return o.a.createElement(Lr,{className:b},g?o.a.createElement("defs",null,o.a.createElement("clipPath",{id:"clipPath-".concat(y)},o.a.createElement("rect",{x:l,y:c,width:u,height:f}))):null,!m&&this.renderCurve(g,y),this.renderErrorBar(),(m||n)&&this.renderDots(g,y),(!d||h)&&Gm.renderCallByParent(this.props,r))}}],[{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?tv(e).concat([0]):e,r=[],a=0;a0||!Gn.a.isEqual(i,n)||!Gn.a.isEqual(s,r))?this.renderAreaWithAnimation(e):this.renderAreaStatically(n,r,e)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,a=e.className,i=e.top,s=e.left,c=e.xAxis,l=e.yAxis,u=e.width,f=e.height,d=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=1===r.length,b=Vn()("recharts-area",a),g=c&&c.allowDataOverflow||l&&l.allowDataOverflow,y=Gn.a.isNil(p)?this.id:p;return o.a.createElement(Lr,{className:b},g?o.a.createElement("defs",null,o.a.createElement("clipPath",{id:"clipPath-".concat(y)},o.a.createElement("rect",{x:s,y:i,width:u,height:f}))):null,m?null:this.renderArea(g),(n||m)&&this.renderDots(),(!d||h)&&Gm.renderCallByParent(this.props,r))}}]),t}(),sv.displayName="Area",sv.propTypes=dv({},ur,fr,{className:tt.a.string,dataKey:tt.a.oneOfType([tt.a.string,tt.a.number,tt.a.func]).isRequired,type:tt.a.oneOfType([tt.a.oneOf(["basis","basisClosed","basisOpen","linear","linearClosed","natural","monotoneX","monotoneY","monotone","step","stepBefore","stepAfter"]),tt.a.func]),unit:tt.a.oneOfType([tt.a.string,tt.a.number]),name:tt.a.oneOfType([tt.a.string,tt.a.number]),yAxisId:tt.a.oneOfType([tt.a.string,tt.a.number]),xAxisId:tt.a.oneOfType([tt.a.string,tt.a.number]),yAxis:tt.a.object,xAxis:tt.a.object,stackId:tt.a.oneOfType([tt.a.number,tt.a.string]),legendType:tt.a.oneOf(hr),connectNulls:tt.a.bool,activeDot:tt.a.oneOfType([tt.a.object,tt.a.element,tt.a.func,tt.a.bool]),dot:tt.a.oneOfType([tt.a.func,tt.a.element,tt.a.object,tt.a.bool]),label:tt.a.oneOfType([tt.a.func,tt.a.element,tt.a.object,tt.a.bool]),hide:tt.a.bool,layout:tt.a.oneOf(["horizontal","vertical"]),baseLine:tt.a.oneOfType([tt.a.number,tt.a.array]),isRange:tt.a.bool,points:tt.a.arrayOf(tt.a.shape({x:tt.a.number,y:tt.a.number,value:tt.a.oneOfType([tt.a.number,tt.a.array])})),onAnimationStart:tt.a.func,onAnimationEnd:tt.a.func,animationId:tt.a.number,isAnimationActive:tt.a.bool,animationBegin:tt.a.number,animationDuration:tt.a.number,animationEasing:tt.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),id:tt.a.string}),sv.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Er(),animationBegin:0,animationDuration:1500,animationEasing:"ease"},sv.getBaseValue=function(e,t,n){var r=e.layout,a=e.baseValue;if(Jn(a))return a;var o="horizontal"===r?n:t,i=o.scale.domain();if("number"===o.type){var s=Math.max(i[0],i[1]),c=Math.min(i[0],i[1]);return"dataMin"===a?c:"dataMax"===a?s:s<0?s:Math.max(Math.min(i[0],i[1]),0)}return"dataMin"===a?i[0]:"dataMax"===a?i[1]:i[0]},sv.getComposedData=function(e){var t=e.props,n=e.xAxis,r=e.yAxis,a=e.xAxisTicks,o=e.yAxisTicks,i=e.bandSize,s=e.dataKey,c=e.stackedData,l=e.dataStartIndex,u=e.displayedData,f=e.offset,d=t.layout,p=c&&c.length,h=xv.getBaseValue(t,n,r),m=!1,b=u.map(function(e,t){var u;return p?u=c[l+t]:(u=Fh(e,s),Gn.a.isArray(u)?m=!0:u=[h,u]),"horizontal"===d?{x:am({axis:n,ticks:a,bandSize:i,entry:e,index:t}),y:Gn.a.isNil(u[1])?null:r.scale(u[1]),value:u,payload:e}:{x:Gn.a.isNil(u[1])?null:n.scale(u[1]),y:am({axis:r,ticks:o,bandSize:i,entry:e,index:t}),value:u,payload:e}});return dv({points:b,baseLine:p||m?b.map(function(e){return"horizontal"===d?{x:e.x,y:Gn.a.isNil(Gn.a.get(e,"value[0]"))?null:r.scale(Gn.a.get(e,"value[0]"))}:{x:Gn.a.isNil(Gn.a.get(e,"value[0]"))?null:n.scale(Gn.a.get(e,"value[0]")),y:e.y}}):"horizontal"===d?r.scale(h):n.scale(h),layout:d,isRange:m},f)},sv.renderDotItem=function(e,t){return o.a.isValidElement(e)?o.a.cloneElement(e,t):Gn.a.isFunction(e)?e(t):o.a.createElement(_p,fv({},t,{className:"recharts-area-dot"}))},iv=cv))||iv,kv=xv;function _v(e){return(_v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ev(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Sv(){return(Sv=Object.assign||function(e){for(var t=1;t0&&Math.abs(m)0&&Math.abs(d)=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function _w(){return(_w=Object.assign||function(e){for(var t=1;t0&&n.handleMouseMove(e.changedTouches[0])},n.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseDown(e.changedTouches[0])},n.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseUp(e.changedTouches[0])},n.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,a=e.offset;return Gh(zy.getTicks(Sw({},zy.defaultProps,t,{ticks:Xh(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),a.left,a.left+a.width)},n.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,a=e.offset;return Gh(zy.getTicks(Sw({},zy.defaultProps,t,{ticks:Xh(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),a.top,a.top+a.height)},n.axesTicksGenerator=function(e){return Xh(e,!0)},n.tooltipTicksGenerator=function(e){var t=nr(e),n=Xh(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Gn.a.sortBy(n,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:pm(t)}},n.renderCursor=function(e){var r=n.state,o=r.isTooltipActive,i=r.activeCoordinate,s=r.activePayload,c=r.offset;if(!(e&&e.props.cursor&&o&&i))return null;var l,u=n.props.layout,f=_b;if("ScatterChart"===t)l=i,f=Kb;else if("BarChart"===t)l=n.getCursorRectangle(),f=yh;else if("radial"===u){var d=n.getCursorPoints(),p=d.cx,h=d.cy,m=d.radius;l={cx:p,cy:h,startAngle:d.startAngle,endAngle:d.endAngle,innerRadius:m,outerRadius:m},f=sb}else l={points:n.getCursorPoints()},f=_b;var b=e.key||"_recharts-cursor",g=Sw({stroke:"#ccc",pointerEvents:"none"},c,l,yr(e.props.cursor),{payload:s,key:b,className:"recharts-tooltip-cursor"});return Object(a.isValidElement)(e.props.cursor)?Object(a.cloneElement)(e.props.cursor,g):Object(a.createElement)(f,g)},n.renderPolarAxis=function(e,t,r){var o=e.type.axisType,i=n.state["".concat(o,"Map")][e.props["".concat(o,"Id")]];return Object(a.cloneElement)(e,Sw({},i,{className:o,key:e.key||"".concat(t,"-").concat(r),ticks:Xh(i,!0)}))},n.renderXAxis=function(e,t,r){var a=n.state.xAxisMap[e.props.xAxisId];return n.renderAxis(a,e,t,r)},n.renderYAxis=function(e,t,r){var a=n.state.yAxisMap[e.props.yAxisId];return n.renderAxis(a,e,t,r)},n.renderGrid=function(e){var t=n.state,r=t.xAxisMap,o=t.yAxisMap,i=t.offset,s=n.props,c=s.width,l=s.height,u=nr(r),f=nr(o),d=e.props||{};return Object(a.cloneElement)(e,{key:e.key||"grid",x:Jn(d.x)?d.x:i.left,y:Jn(d.y)?d.y:i.top,width:Jn(d.width)?d.width:i.width,height:Jn(d.height)?d.height:i.height,xAxis:u,yAxis:f,offset:i,chartWidth:c,chartHeight:l,verticalCoordinatesGenerator:d.verticalCoordinatesGenerator||n.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:d.horizontalCoordinatesGenerator||n.horizontalCoordinatesGenerator})},n.renderPolarGrid=function(e){var t=n.state,r=t.radiusAxisMap,o=t.angleAxisMap,i=nr(r),s=nr(o),c=s.cx,l=s.cy,u=s.innerRadius,f=s.outerRadius;return Object(a.cloneElement)(e,{polarAngles:Xh(s,!0).map(function(e){return e.coordinate}),polarRadius:Xh(i,!0).map(function(e){return e.coordinate}),cx:c,cy:l,innerRadius:u,outerRadius:f,key:e.key||"polar-grid"})},n.renderBrush=function(e){var t=n.props,r=t.margin,o=t.data,i=n.state,s=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return Object(a.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:$h(n.handleBrushChange,null,e.props.onChange),data:o,x:Jn(e.props.x)?e.props.x:s.left,y:Jn(e.props.y)?e.props.y:s.top+s.height+s.brushBottom-(r.bottom||0),width:Jn(e.props.width)?e.props.width:s.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})},n.renderReferenceElement=function(e,t,r){if(!e)return null;var o=Pw(Pw(n)).clipPathId,i=n.state,s=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=e.props,f=u.xAxisId,d=u.yAxisId;return Object(a.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:s[f],yAxis:c[d],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:o})},n.renderGraphicChild=function(e,t,r){var o=n.filterFormatItem(e,t,r);if(!o)return null;var i,s,c=Object(a.cloneElement)(e,o.props),l=n.state,u=l.isTooltipActive,f=l.tooltipAxis,d=l.activeTooltipIndex,p=l.activeLabel,h=n.props.children,m=gr(h,_s),b=o.props,g=b.points,y=b.isRange,v=b.baseLine,w=o.item.props,x=w.activeDot;return!w.hide&&u&&m&&x&&d>=0&&(f.dataKey&&!f.allowDuplicatedCategory?(i=ar(g,"payload.".concat(f.dataKey),p),s=y&&v&&ar(v,"payload.".concat(f.dataKey),p)):(i=g[d],s=y&&v&&v[d]),!Gn.a.isNil(i))?[c].concat(Ew(n.renderActivePoints({item:o,activePoint:i,basePoint:s,childIndex:d,isRange:y}))):y?[c,null,null]:[c,null]};var o=n.constructor.createDefaultState(e);return n.state=Sw({},o,{updateId:0},n.updateStateOfAxisMapsOffsetAndStackGroups(Sw({props:e},o,{updateId:0}))),n.uniqueChartId=Gn.a.isNil(e.id)?er("recharts"):e.id,n.clipPathId="".concat(n.uniqueChartId,"-clip"),e.throttleDelay&&(n.triggeredAfterMouseMove=Gn.a.throttle(n.triggeredAfterMouseMove,e.throttleDelay)),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cw(e,t)}(r,a.Component),function(e,t,n){t&&Tw(e.prototype,t),n&&Tw(e,n)}(r,[{key:"componentDidMount",value:function(){Gn.a.isNil(this.props.syncId)||this.addListener()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,a=n.children,o=n.width,i=n.height,s=n.layout,c=n.stackOffset,l=n.margin,u=this.state.updateId;if(e.data===r&&e.width===o&&e.height===i&&e.layout===s&&e.stackOffset===c&&or(e.margin,l)){if(!Mr(e.children,a)){var f=Gn.a.isNil(e.data)?u+1:u;this.setState(function(n){return Sw({updateId:f},t.updateStateOfAxisMapsOffsetAndStackGroups(Sw({props:e},n,{updateId:f})))})}}else{var d=this.constructor.createDefaultState(e);this.setState(Sw({},d,{updateId:u+1},this.updateStateOfAxisMapsOffsetAndStackGroups(Sw({props:e},d,{updateId:u+1}))))}Gn.a.isNil(this.props.syncId)&&!Gn.a.isNil(e.syncId)&&this.addListener(),!Gn.a.isNil(this.props.syncId)&&Gn.a.isNil(e.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){Gn.a.isNil(this.props.syncId)||this.removeListener(),"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getAxisMap",value:function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,a=t.AxisComp,o=t.graphicalItems,i=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.children,u="".concat(r,"Id"),f=br(l,a),d={};return f&&f.length?d=this.getAxisMapByAxes(e,{axes:f,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:i,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(d=this.getAxisMapByItems(e,{Axis:a,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:i,dataStartIndex:s,dataEndIndex:c})),d}},{key:"getAxisMapByAxes",value:function(e,t){var n=this,r=t.axes,a=t.graphicalItems,o=t.axisType,i=t.axisIdKey,s=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,f=e.children,d=e.stackOffset,p=Yh(u,o);return r.reduce(function(t,r){var h=r.props,m=h.type,b=h.dataKey,g=h.allowDataOverflow,y=h.allowDuplicatedCategory,v=h.scale,w=h.ticks,x=r.props[i],k=n.constructor.getDisplayedData(e,{graphicalItems:a.filter(function(e){return e.props[i]===x}),dataStartIndex:c,dataEndIndex:l}),_=k.length;if(!t[x]){var E,S,O;if(b){if(E=qh(k,b,m),"category"===m&&p){var T=function(e){if(!Gn.a.isArray(e))return!1;for(var t=e.length,n={},r=0;r=0?e:Ew(e).concat([t])},[]))}else if("category"===m)E=y?E.filter(function(e){return""!==e&&!Gn.a.isNil(e)}):hm(r.props.domain,E,r).reduce(function(e,t){return e.indexOf(t)>=0||""===t||Gn.a.isNil(t)?e:Ew(e).concat([t])},[]);else if("number"===m){var M=function(e,t,n,r){var a=t.map(function(t){return Kh(e,t,n,r)}).filter(function(e){return!Gn.a.isNil(e)});return a&&a.length?a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null}(k,a.filter(function(e){return e.props[i]===x&&!e.props.hide}),b,o);M&&(E=M)}!p||"number"!==m&&"auto"===v||(O=qh(k,b,"category"))}else E=p?Gn.a.range(0,_):s&&s[x]&&s[x].hasStack&&"number"===m?"expand"===d?[0,1]:lm(s[x].stackGroups,c,l):Vh(k,a.filter(function(e){return e.props[i]===x&&!e.props.hide}),m,!0);return"number"===m&&(E=cm(f,E,x,o,w),r.props.domain&&(E=dm(r.props.domain,E,g))),Sw({},t,Ow({},x,Sw({},r.props,{axisType:o,domain:E,categoricalDomain:O,duplicateDomain:S,originalDomain:r.props.domain,isCategorial:p,layout:u})))}return t},{})}},{key:"getAxisMapByItems",value:function(e,t){var n=t.graphicalItems,r=t.Axis,a=t.axisType,o=t.axisIdKey,i=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,u=e.children,f=this.constructor.getDisplayedData(e,{graphicalItems:n,dataStartIndex:s,dataEndIndex:c}),d=f.length,p=Yh(l,a),h=-1;return n.reduce(function(e,t){var m,b=t.props[o];return e[b]?e:(h++,p?m=Gn.a.range(0,d):i&&i[b]&&i[b].hasStack?(m=lm(i[b].stackGroups,s,c),m=cm(u,m,b,a)):(m=dm(r.defaultProps.domain,Vh(f,n.filter(function(e){return e.props[o]===b&&!e.props.hide}),"number"),r.defaultProps.allowDataOverflow),m=cm(u,m,b,a)),Sw({},e,Ow({},b,Sw({axisType:a},r.defaultProps,{hide:!0,orientation:Iw[a]&&Iw[a][h%2],domain:m,originalDomain:r.defaultProps.domain,isCategorial:p,layout:l}))))},{})}},{key:"getActiveCoordinate",value:function(e,t,n){var r=this.props.layout,a=e.find(function(e){return e&&e.index===t});if(a){if("horizontal"===r)return{x:a.coordinate,y:n.y};if("vertical"===r)return{x:n.x,y:a.coordinate};if("centric"===r){var o=a.coordinate,i=n.radius;return Sw({},n,vm(n.cx,n.cy,i,o),{angle:o,radius:i})}var s=a.coordinate,c=n.angle;return Sw({},n,vm(n.cx,n.cy,s,c),{angle:c,radius:s})}return Nw}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return void 0!==e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}(this.container)),n=this.inRange(t.chartX,t.chartY);if(!n)return null;var r=this.state,a=r.xAxisMap,o=r.yAxisMap;if("axis"!==i&&a&&o){var s=nr(a).scale,c=nr(o).scale;return Sw({},t,{xValue:s&&s.invert?s.invert(t.chartX):null,yValue:c&&c.invert?c.invert(t.chartY):null})}var l=this.state,u=l.orderedTooltipTicks,f=l.tooltipAxis,d=l.tooltipTicks,p=function(e,t,n,r){var a=-1,o=t.length;if(o>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var i=r.range,s=0;s0?n[s-1].coordinate:n[o-1].coordinate,l=n[s].coordinate,u=s>=o-1?n[0].coordinate:n[s+1].coordinate,f=void 0;if(Xn(l-c)!==Xn(u-l)){var d=[];if(Xn(u-l)===Xn(i[1]-i[0])){f=u;var p=l+i[1]-i[0];d[0]=Math.min(p,(p+c)/2),d[1]=Math.max(p,(p+c)/2)}else{f=c;var h=u+i[1]-i[0];d[0]=Math.min(l,(h+l)/2),d[1]=Math.max(l,(h+l)/2)}var m=[Math.min(l,(f+l)/2),Math.max(l,(f+l)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1]){a=n[s].index;break}}else{var b=Math.min(c,u),g=Math.max(c,u);if(e>(b+l)/2&&e<=(g+l)/2){a=n[s].index;break}}}else for(var y=0;y0&&y(t[y].coordinate+t[y-1].coordinate)/2&&e<=(t[y].coordinate+t[y+1].coordinate)/2||y===o-1&&e>(t[y].coordinate+t[y-1].coordinate)/2){a=t[y].index;break}}else a=0;return a}(this.calculateTooltipPos(n),u,d,f);if(p>=0&&d){var h=d[p]&&d[p].value;return Sw({},t,{activeTooltipIndex:p,activeLabel:h,activePayload:this.getTooltipContent(p,h),activeCoordinate:this.getActiveCoordinate(u,p,n)})}return null}},{key:"getTooltipContent",value:function(e,t){var n=this.state,r=n.graphicalItems,a=n.tooltipAxis,o=this.constructor.getDisplayedData(this.props,this.state);return e<0||!r||!r.length||e>=o.length?null:r.reduce(function(n,r){if(r.props.hide)return n;var i,s=r.props,c=s.dataKey,l=s.name,u=s.unit,f=s.formatter,d=s.data;return(i=a.dataKey&&!a.allowDuplicatedCategory?ar(d||o,a.dataKey,t):o[e])?Ew(n).concat([Sw({},yr(r),{dataKey:c,unit:u,formatter:f,name:l||c,color:Wh(r),value:Fh(i,c),payload:i})]):n},[])}},{key:"getFormatItems",value:function(e,t){var n=this,r=t.graphicalItems,o=t.stackGroups,i=t.offset,c=t.updateId,l=t.dataStartIndex,u=t.dataEndIndex,f=e.barSize,d=e.layout,p=e.barGap,h=e.barCategoryGap,m=e.maxBarSize,b=this.constructor.getAxisNameByLayout(d),g=b.numericAxisName,y=b.cateAxisName,v=this.constructor.hasBar(r),w=v&&function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var a={},o=Object.keys(r),i=0,s=o.length;i=0});if(m&&m.length){var b=m[0].props.barSize,g=m[0].props[h];a[g]||(a[g]=[]),a[g].push({item:m[0],stackList:m.slice(1),barSize:Gn.a.isNil(b)?t:b})}}return a}({barSize:f,stackGroups:o}),x=[];return r.forEach(function(r,f){var b,k=n.constructor.getDisplayedData(e,{dataStartIndex:l,dataEndIndex:u},r),_=r.props,E=_.dataKey,S=_.maxBarSize,O=r.props["".concat(g,"Id")],T=r.props["".concat(y,"Id")],M=s.reduce(function(e,n){var a,o=t["".concat(n.axisType,"Map")],i=r.props["".concat(n.axisType,"Id")],s=o&&o[i];return Sw({},e,(Ow(a={},n.axisType,s),Ow(a,"".concat(n.axisType,"Ticks"),Xh(s)),a))},{}),C=M[y],P=M["".concat(y,"Ticks")],j=o&&o[O]&&o[O].hasStack&&function(e,t){var n=e.props.stackId;if(Qn(n)){var r=t[n];if(r&&r.items.length){for(var a=-1,o=0,i=r.items.length;o=0?r.stackedData[a]:null}}return null}(r,o[O].stackGroups),A=pm(C,P),B=Gn.a.isNil(S)?m:S,I=v&&function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,a=e.sizeList,o=void 0===a?[]:a,i=e.maxBarSize,s=o.length;if(s<1)return null;var c,l=tr(t,r,0,!0);if(o[0].barSize===+o[0].barSize){var u=!1,f=r/s,d=o.reduce(function(e,t){return e+t.barSize||0},0);(d+=(s-1)*l)>=r&&(d-=(s-1)*l,l=0),d>=r&&f>0&&(u=!0,d=s*(f*=.9));var p={offset:((r-d)/2>>0)-l,size:0};c=o.reduce(function(e,t){var n=Rh(e).concat([{item:t.item,position:{offset:p.offset+p.size+l,size:u?f:t.barSize}}]);return p=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:p})}),n},[])}else{var h=tr(n,r,0,!0);r-2*h-(s-1)*l<=0&&(l=0);var m=(r-2*h-(s-1)*l)/s;m>1&&(m>>=0);var b=i===+i?Math.min(m,i):m;c=o.reduce(function(e,t,n){var r=Rh(e).concat([{item:t.item,position:{offset:h+(m+l)*n+(m-b)/2,size:b}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},[])}return c}({barGap:p,barCategoryGap:h,bandSize:A,sizeList:w[T],maxBarSize:B}),N=r&&r.type&&r.type.getComposedData;N&&x.push({props:Sw({},N(Sw({},M,{displayedData:k,props:e,dataKey:E,item:r,bandSize:A,barPosition:I,offset:i,stackedData:j,layout:d,dataStartIndex:l,dataEndIndex:u,onItemMouseLeave:$h(n.handleItemMouseLeave,null,r.props.onMouseLeave),onItemMouseEnter:$h(n.handleItemMouseEnter,null,r.props.onMouseEnter)})),(b={key:r.key||"item-".concat(f)},Ow(b,g,M[g]),Ow(b,y,M[y]),Ow(b,"animationId",c),b)),childIndex:function(e,t){var n=-1;return a.Children.forEach(t,function(t,r){t===e&&(n=r)}),n}(r,e.children),item:r})}),x}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,a=t.tooltipAxisBandSize,o=a/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-o:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-o,width:"horizontal"===e?a:r.width-1,height:"horizontal"===e?r.height-1:a}}},{key:"getCursorPoints",value:function(){var e,t,n,r,a=this.props.layout,o=this.state,i=o.activeCoordinate,s=o.offset;if("horizontal"===a)n=e=i.x,t=s.top,r=s.top+s.height;else if("vertical"===a)r=t=i.y,e=s.left,n=s.left+s.width;else if(!Gn.a.isNil(i.cx)||!Gn.a.isNil(i.cy)){if("centric"!==a){var c=i.cx,l=i.cy,u=i.radius,f=i.startAngle,d=i.endAngle;return{points:[vm(c,l,u,f),vm(c,l,u,d)],cx:c,cy:l,radius:u,startAngle:f,endAngle:d}}var p=i.cx,h=i.cy,m=i.innerRadius,b=i.outerRadius,g=i.angle,y=vm(p,h,m,g),v=vm(p,h,b,g);e=y.x,t=y.y,n=v.x,r=v.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"calculateTooltipPos",value:function(e){var t=this.props.layout;return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var a=this.state,o=a.angleAxisMap,i=a.radiusAxisMap;if(o&&i){var s=nr(o);return _m({x:e,y:t},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=gr(e,_s)&&"axis"===i?{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}:{};return Sw({},wr(this.props,this.handleOuterEvent),t)}},{key:"updateStateOfAxisMapsOffsetAndStackGroups",value:function(e){var r=this,a=e.props,o=e.dataStartIndex,i=e.dataEndIndex,c=e.updateId;if(!_r({props:a}))return null;var u=a.children,f=a.layout,d=a.stackOffset,p=a.data,h=a.reverseStackOrder,m=this.constructor.getAxisNameByLayout(f),b=m.numericAxisName,g=m.cateAxisName,y=br(u,n),v=function(e,t,n,r,a,o){if(!e)return null;var i=(o?t.reverse():t).reduce(function(e,t){var a=t.props,o=a.stackId;if(a.hide)return e;var i=t.props[n],s=e[i]||{hasStack:!1,stackGroups:{}};if(Qn(o)){var c=s.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(t),s.hasStack=!0,s.stackGroups[o]=c}else s.stackGroups[er("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return Uh({},e,Lh({},i,s))},{});return Object.keys(i).reduce(function(t,o){var s=i[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(t,o){var i=s.stackGroups[o];return Uh({},t,Lh({},o,{numericAxisId:n,cateAxisId:r,items:i.items,stackedData:nm(e,i.items,a)}))},{})),Uh({},t,Lh({},o,s))},{})}(p,y,"".concat(b,"Id"),"".concat(g,"Id"),d,h),w=s.reduce(function(e,t){return Sw({},e,Ow({},"".concat(t.axisType,"Map"),r.getAxisMap(a,Sw({},t,{graphicalItems:y,stackGroups:t.axisType===b&&v,dataStartIndex:o,dataEndIndex:i}))))},{}),x=this.calculateOffset(Sw({},w,{props:a,graphicalItems:y}));Object.keys(w).forEach(function(e){w[e]=l(a,w[e],x,e.replace("Map",""),t)});var k=w["".concat(g,"Map")],_=this.tooltipTicksGenerator(k);return Sw({formatedGraphicalItems:this.getFormatItems(a,Sw({},w,{dataStartIndex:o,dataEndIndex:i,updateId:c,graphicalItems:y,stackGroups:v,offset:x})),graphicalItems:y,offset:x,stackGroups:v},_,w)}},{key:"addListener",value:function(){vw.on(ww,this.handleReceiveSyncEvent),vw.setMaxListeners&&vw._maxListeners&&vw.setMaxListeners(vw._maxListeners+1)}},{key:"removeListener",value:function(){vw.removeListener(ww,this.handleReceiveSyncEvent),vw.setMaxListeners&&vw._maxListeners&&vw.setMaxListeners(vw._maxListeners-1)}},{key:"calculateOffset",value:function(e){var t=e.props,n=e.graphicalItems,r=e.xAxisMap,a=void 0===r?{}:r,o=e.yAxisMap,i=void 0===o?{}:o,s=t.width,c=t.height,l=t.children,u=t.margin||{},f=gr(l,_y),d=gr(l,Bo),p=Object.keys(i).reduce(function(e,t){var n=i[t],r=n.orientation;return n.mirror||n.hide?e:Sw({},e,Ow({},r,e[r]+n.width))},{left:u.left||0,right:u.right||0}),h=Sw({},Object.keys(a).reduce(function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:Sw({},e,Ow({},r,e[r]+n.height))},{top:u.top||0,bottom:u.bottom||0}),p),m=h.bottom;return f&&(h.bottom+=f.props.height||_y.defaultProps.height),d&&this.legendInstance&&(h=function(e,t,n,r){var a=n.children,o=n.width,i=n.height,s=n.margin,c=o-(s.left||0)-(s.right||0),l=i-(s.top||0)-(s.bottom||0),u=Hh({children:a,items:t,legendWidth:c,legendHeight:l}),f=e;if(u){var d=r||{},p=u.align,h=u.verticalAlign,m=u.layout;("vertical"===m||"horizontal"===m&&"center"===h)&&Jn(e[p])&&(f=Uh({},e,Lh({},p,f[p]+(d.width||0)))),("horizontal"===m||"vertical"===m&&"center"===p)&&Jn(e[h])&&(f=Uh({},e,Lh({},h,f[h]+(d.height||0))))}return f}(h,n,t,this.legendInstance.getBBox())),Sw({brushBottom:m},h,{width:s-h.left-h.right,height:c-h.top-h.bottom})}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;Gn.a.isNil(t)||vw.emit(ww,t,this.uniqueChartId,e)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formatedGraphicalItems,a=0,o=r.length;a=0})},d.getDisplayedData=function(e,t,n){var r=t.graphicalItems,a=t.dataStartIndex,o=t.dataEndIndex,i=(r||[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?Ew(e).concat(Ew(n)):e},[]);if(i&&i.length>0)return i;if(n&&n.props&&n.props.data&&n.props.data.length>0)return n.props.data;var s=e.data;return s&&s.length&&Jn(a)&&Jn(o)?s.slice(a,o+1):[]},d},zw=Dw({chartName:"LineChart",GraphicalChild:lv,axisComponents:[{axisType:"xAxis",AxisComp:fw},{axisType:"yAxis",AxisComp:gw}],formatAxisMap:Cp}),Rw=Dw({chartName:"BarChart",GraphicalChild:Nv,axisComponents:[{axisType:"xAxis",AxisComp:fw},{axisType:"yAxis",AxisComp:gw}],formatAxisMap:Cp}),Uw=Dw({chartName:"PieChart",GraphicalChild:qg,eventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:Cg},{axisType:"radiusAxis",AxisComp:bg}],formatAxisMap:xm,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"},propTypes:{layout:tt.a.oneOf(["centric"]),startAngle:tt.a.number,endAngle:tt.a.number,cx:tt.a.oneOfType([tt.a.number,tt.a.string]),cy:tt.a.oneOfType([tt.a.number,tt.a.string]),innerRadius:tt.a.oneOfType([tt.a.number,tt.a.string]),outerRadius:tt.a.oneOfType([tt.a.number,tt.a.string])}});function Lw(e){return(Lw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fw(){return(Fw=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ww(e,t){for(var n=0;nn.height)&&(a=n.height);for(var o,i=n.x,s=0,c=e.length;sn.width)&&(a=n.width);for(var o,i=n.y,s=0,c=e.length;s0;)s.push(a=f[0]),s.area+=a.area,(o=Qw(s,l,n))<=c?(f.shift(),c=o):(s.area-=s.pop().area,i=Zw(s,l,i,!1),l=Math.min(i.width,i.height),s.length=s.area=0,c=1/0);return s.length&&(i=Zw(s,l,i,!0),s.length=s.area=0),Yw({},t,{children:u.map(function(t){return e(t,n)})})}return t};sr((Bw=Aw=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=new Array(r),o=0;o=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function rx(){return(rx=Object.assign||function(e){for(var t=1;t0&&(l.y+=u),s=l.y+l.dy+n}s=t+n;for(var f=i-1;f>=0;f--){var d=o[f],p=d.y+d.dy+n-s;if(!(p>0))break;d.y-=p,s=d.y}}},vx=function(e,t,n,r){for(var a=0,o=t.length;a=0;a--)for(var o=t[a],i=0,s=o.length;i=1)for(var u=(t-n)/l,f=0,d=o.length;f1&&s.push(o.a.createElement("th",{key:"1"},i.join(":"))),s.push(o.a.createElement("th",{key:"2"},"Score")),s.push(o.a.createElement("th",{key:"3"},"Min")),s.push(o.a.createElement("th",{key:"4"},"Max")),s.push(o.a.createElement("th",{key:"5"},"Error")),s.push(o.a.createElement("th",{key:"7"},"Unit"));var c=n.map(function(e){var t=j(e.payload[e.dataKey],a),i=e.payload[e.dataKey+"MinMax"],s=j(i[0],a),c=j(i[1],a),l=[];return n.length>1&&l.push(o.a.createElement("td",{key:"run"},e.dataKey)),l.push(o.a.createElement("td",{key:"score",style:{color:Ee}},t)),l.push(o.a.createElement("td",{key:"min",style:{color:Ee}},s)),l.push(o.a.createElement("td",{key:"max",style:{color:Ee}},c)),l.push(o.a.createElement("td",{key:"error",style:{color:Se}},j(e.payload[e.dataKey+"Error"],a))),l.push(o.a.createElement("td",{key:"unit"},r)),o.a.createElement("tr",{key:e.name},l)}),l=n.map(function(e){var t=e.payload[e.dataKey+"SubScores"],n=e.payload[e.dataKey+"SubScoresHistogram"];if(n){var r=54*n[0].length;return n.filter(function(e,t){return t<2}).map(function(t,a){var i=t.filter(function(e,t){return t<2}).map(function(t,n){var i=t.map(function(e){return{score:e[0],occurence:e[1]}});return o.a.createElement(Rw,{key:"chart"+a+"-"+n,width:r,height:63,data:i,margin:{top:18}},o.a.createElement(fw,{dataKey:"score",orientation:"bottom",height:15}),o.a.createElement(gw,null),o.a.createElement(Nv,{dataKey:"occurence",fill:e.fill,isAnimationActive:!1}))});return o.a.createElement("div",{key:"fork"+a},o.a.createElement("br",null),o.a.createElement("div",null,o.a.createElement("b",null,"Fork "+a+" / "+n.length)),o.a.createElement("div",null,i),o.a.createElement("div",null,"Showing "+i.length+" runs from "+n[a].length+" ..."))})}if(t){var i=t.map(function(e){return e.map(function(e){return{data:P(e,a)}})}),s=54*t[0].length;return i.map(function(t,n){return o.a.createElement("div",{key:"iterations"+n},o.a.createElement(Rw,{width:s,height:36,data:t,margin:{top:18}},o.a.createElement(Nv,{dataKey:"data",fill:e.fill,isAnimationActive:!1},o.a.createElement(Gm,{dataKey:"data",content:Mx}))))})}return null});return o.a.createElement("div",null,o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("u",null,o.a.createElement("h4",null,t))),o.a.createElement(Tx.a,{striped:!0,bordered:!0,condensed:!0,hover:!0},o.a.createElement("thead",null,o.a.createElement("tr",null,s)),o.a.createElement("tbody",null,c)),o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("u",null,o.a.createElement("h5",null,"Raw Data"))),o.a.createElement("div",{style:{fontSize:"0.72em"}},l),o.a.createElement("br",null))}}]),t}(a.Component);Cx.propTypes={label:tt.a.any,paramNames:tt.a.array,scoreUnit:tt.a.string,roundScores:tt.a.bool,payload:tt.a.arrayOf(tt.a.shape({name:tt.a.any,payload:tt.a.any,value:tt.a.oneOfType([tt.a.number,tt.a.string]),unit:tt.a.any}))};var Px=Cx,jx=function(e){return function(e,t){for(var n,r=["k","M","G","T","P","E","Z","Y"],a=r.length-1;a>=0;a--)if(n=Math.pow(1e3,a+1),e<=-n||e>=n)return+(e/n).toFixed(t)+r[a];return e}(e,20)};var Ax=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.benchmarkBundle,n=e.metricExtractor,r=e.dataMax,a=e.chartConfig,i=a.logScale,s=function(e,t,n){var r=e.benchmarkMethods,a=e.methodNames.length,o=t.extractType(r[0].benchmarks[0]),i=r[0].params,s=t.hasMetric(r[0].benchmarks[0])?t.extractScoreUnit(r[0].benchmarks[0]):"";if(i){var c=i.map(function(e){return e[0]});if(1==c.length)return 1==a?Ex(r,t,n,function(e){return e.params[0][0]+" = "+e.params[0][1]},function(){return o+" "+s},[]):Ex(r,t,n,function(e){return e.name},function(e){return e.params[0][1]},c);if(2==c.length&&1==a)return Ex(r,t,n,function(e){return e.params[0][0]+" = "+e.params[0][1]},function(e){return e.params[1][1]},[c[1]]);if(a>1)return Ex(r,t,n,function(e){return e.name},function(e){return e.params.map(function(e){return e[1]}).join(":")},c);var l=c.join(":");return Ex(r,t,n,function(e){return e.params.map(function(e){return e[1]}).join(":")},function(){return l},[])}return Ex(r,t,n,function(e){return e.name},function(){return o+" "+s},[])}(t,n,a.sort),c=r&&r>0?Math.round(r):"auto",l=void 0,u=void 0,f=void 0;i?(l="log",u=r&&r>0?.1:"auto",f=90):(l="linear",u=0,f=45);var d=s.paramNames,p=100+s.data.length*s.barGroups.length*36,h=s.data.map(function(e){return e.name.length}).reduce(function(e,t){return Math.max(e,t)},32),m=1==s.barGroups.length,b=s.barGroups.map(function(e,t){return o.a.createElement(Nv,{key:e,dataKey:e,stroke:m?Ee:Be[t],fill:m?Ee:Be[t],unit:" "+s.scoreUnit,isAnimationActive:!0,animationDuration:540},o.a.createElement(Gm,{dataKey:e+"Label",content:Sx}),o.a.createElement(zh,{dataKey:e+"ErrorBarInterval",width:4,strokeWidth:2,stroke:"#143049"}))});return o.a.createElement("div",null,o.a.createElement(As,{width:"100%",height:p},o.a.createElement(Rw,{layout:"vertical",height:p,data:s.data,margin:{top:20,right:f,left:4*h,bottom:5}},o.a.createElement(fw,{type:"number",domain:[u,c],scale:l,allowDataOverflow:!0,tickFormatter:jx}),o.a.createElement(gw,{dataKey:"name",type:"category"}),o.a.createElement($y,{strokeDasharray:"3 3"}),o.a.createElement(_s,{content:o.a.createElement(Px,{scoreUnit:s.scoreUnit,roundScores:s.roundScores}),cursor:{stroke:Oe,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95},paramNames:d}),o.a.createElement(Bo,null),b)),d.length>0&&o.a.createElement("div",null,o.a.createElement("div",null,o.a.createElement("b",null,"Parameter Names:")," ",d.join(":")),o.a.createElement("br",null)))}}]),t}(o.a.Component);Ax.propTypes={benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,dataMax:tt.a.number,chartConfig:tt.a.object.isRequired};var Bx=Ax,Ix=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={sort:e.chartConfig.sort,logScale:e.chartConfig.logScale,showJson:!1},n}return se()(t,e),re()(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.chartConfig.sort!==this.state.sort&&this.setState({sort:e.chartConfig.sort}),e.chartConfig.logScale!==this.state.logScale&&this.setState({logScale:e.chartConfig.logScale})}},{key:"toggleSort",value:function(){this.setState({sort:!this.state.sort})}},{key:"toggleLogScale",value:function(){this.setState({logScale:!this.state.logScale})}},{key:"toggleShowJson",value:function(){this.setState({showJson:!this.state.showJson})}},{key:"render",value:function(){var e=this.props,t=e.benchmarkBundle,n=e.metricExtractor,r=e.dataMax,a=this.state,i=a.sort,s=a.logScale,c=a.showJson,l=t.allBenchmarks();return o.a.createElement("div",null,o.a.createElement(Wn,{benchmarkBundle:t,metricExtractor:n},o.a.createElement(Qe,{key:"details",benchmarkBundle:t}),o.a.createElement($e,{key:"sort",active:i,action:this.toggleSort.bind(this)}),o.a.createElement(Je,{key:"scale",active:s,action:this.toggleLogScale.bind(this)})),o.a.createElement("div",{style:{fontSize:"0.90em"}},o.a.createElement(Bx,{benchmarkBundle:t,metricExtractor:n,dataMax:r,chartConfig:{sort:i,logScale:s}})),o.a.createElement(St.a,{bsSize:"small",onClick:this.toggleShowJson.bind(this)},"Show JSON"),o.a.createElement(Nn.a,{in:c},o.a.createElement("div",null,o.a.createElement("pre",null,Bn()(l,null,"\t")),o.a.createElement(St.a,{bsStyle:"primary",onClick:this.toggleShowJson.bind(this)},"Collapse"))))}}]),t}(o.a.Component);Ix.propTypes={benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired,dataMax:tt.a.number};var Nx=Ix,Dx=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={axisScalesSync:!0},n}return se()(t,e),re()(t,[{key:"changeScalesSync",value:function(){this.setState({axisScalesSync:!this.state.axisScalesSync})}},{key:"render",value:function(){var e=this.props,t=e.runName,n=e.focusedBundles,r=e.benchmarkBundles,a=e.metricExtractor,i=e.chartConfig,s=this.state.axisScalesSync,c=void 0,l=void 0;if(n.size>1){var u=function(e,t){var n=new g.a;return e.forEach(function(e){return e.allBenchmarks().forEach(function(e){n.add(t.extractType(e))})}),tn()(n)}(r,a),f=1==u.length,d=f?"Sync Axis Scales: "+(s?"on":"off"):"No Axis Scale syncing possible because of multiple benchmark modes: "+u+"!";c=o.a.createElement("div",null,o.a.createElement(De,{tooltip:d,position:"bottom"},o.a.createElement(Mn.a,{id:"scales-sync",checked:f&&s,disabled:!f,onChange:this.changeScalesSync.bind(this)}))),s&&f&&(l=0,r.forEach(function(e){return e.allBenchmarks().forEach(function(e){l=Math.max(l,a.extractMinMax(e)[1])})}))}var p=[];return p.push(o.a.createElement("div",{key:"summary"},o.a.createElement(On.a,null,r.length)," different benchmark classes for single run '"+t+"' and metric '"+a.metricKey+"' detected!",o.a.createElement("span",{style:{position:"absolute",right:20}},c))),r.forEach(function(e){p.push(o.a.createElement(jn,{key:e.key,name:e.key},o.a.createElement(Nx,{benchmarkBundle:e,metricExtractor:a,chartConfig:i,dataMax:l})))}),o.a.createElement("div",null,p)}}]),t}(o.a.Component);Dx.propTypes={runName:tt.a.string.isRequired,benchmarkBundles:tt.a.array.isRequired,focusedBundles:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired};var zx=Dx;function Rx(e){var t=e.x,n=e.y,r=e.width,a=e.height,i=e.value,s=e.textAnchor,c=t+r+(i>0?6:-7*i.toString().length);return o.a.createElement("g",null,o.a.createElement("text",{stroke:Te,fontSize:12,textAnchor:s,fill:"hsla(0, 100%, 100%, 0.8)",x:c,y:n+a/2+4,width:r,height:a,className:"recharts-bar-label"},i))}Rx.propTypes={x:tt.a.number.isRequired,y:tt.a.number.isRequired,width:tt.a.number.isRequired,height:tt.a.number.isRequired,value:tt.a.string.isRequired,textAnchor:tt.a.string.isRequired};var Ux=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.payload,r=e.runNames,a=e.roundScores;if(null==n||0==n.length)return null;var i=n[0].payload.score1stRun,s=n[0].payload.score2ndRun,c=n[0].payload.scoreError1stRun,l=n[0].payload.scoreError2ndRun,u=s-i,f=l-c,d=n[0].payload.scoreUnit;return o.a.createElement("div",{style:{width:Math.max(230,9*t.length)}},o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("h4",null,o.a.createElement("u",null,t)),o.a.createElement("b",null,o.a.createElement("div",{style:{color:n[0].payload.scoreDiff>0?Oe:Se}}," ",n[0].payload.scoreDiff+" %"," "))),o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement(Tx.a,{striped:!0,bordered:!0,condensed:!0,hover:!0},o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("th",null,"Run"),o.a.createElement("th",null,"Score"),o.a.createElement("th",null,"Error"),o.a.createElement("th",null,"Unit"))),o.a.createElement("tbody",null,o.a.createElement("tr",null,o.a.createElement("td",null,r[0]),o.a.createElement("td",{style:{color:Ee}},j(i,a)),o.a.createElement("td",{style:{color:Se}},j(c,a)),o.a.createElement("td",null,d)),o.a.createElement("tr",null,o.a.createElement("td",null,r[1]),o.a.createElement("td",{style:{color:Ee}},j(s,a)),o.a.createElement("td",{style:{color:Se}},j(l,a)),o.a.createElement("td",null,d)),o.a.createElement("tr",null,o.a.createElement("td",null,"Change"),o.a.createElement("td",null,(u>0?"+":"")+j(u,a)),o.a.createElement("td",null,(f>0?"+":"")+j(f,a)),o.a.createElement("td",null,d))))))}}]),t}(a.Component);Ux.propTypes={label:tt.a.any,runNames:tt.a.array,roundScores:tt.a.bool,payload:tt.a.arrayOf(tt.a.shape({name:tt.a.any,payload:tt.a.any,value:tt.a.oneOfType([tt.a.number,tt.a.string]),unit:tt.a.any}))};var Lx=Ux,Fx=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.runNames,n=function(e,t,n){var r=C(e.benchmarkMethods,t),a=e.benchmarkMethods.map(function(e,n){var a=e.benchmarks[0],o=e.benchmarks[1];if(a&&o&&t.hasMetric(a)&&t.hasMetric(o)){var i=t.extractScoreUnit(a),s=Un(t.extractType(a)),c=P(t.extractScore(a),r),l=P(t.extractScore(o),r),u=P(t.extractScoreError(a),r),f=P(t.extractScoreError(o),r),d=void 0;return d=s&&s.increaseIsGood?P((l-c)/c*100,r):P((c-l)/l*100,r),{index:n,name:e.key,scoreDiff:d,scoreUnit:i,score1stRun:c,score2ndRun:l,scoreError1stRun:u,scoreError2ndRun:f}}}).filter(function(e){return void 0!==e});return n&&a.sort(function(e,t){return t.scoreDiff-e.scoreDiff}),{data:a,roundScores:r}}(e.benchmarkBundle,e.metricExtractor,e.sort),r=n.data.map(function(e){return e.name.length}).reduce(function(e,t){return Math.max(e,t)},32),a=100+45*n.data.length;return 0==n.data.length?o.a.createElement("div",null,"No data for comparision!"):o.a.createElement(As,{width:"100%",height:a},o.a.createElement(Rw,{layout:"vertical",width:900,height:a,data:n.data,margin:{top:20,right:30,left:5*r,bottom:5}},o.a.createElement(ih,{x:0,stroke:Te}),o.a.createElement(fw,{type:"number",domain:[-100,100]}),o.a.createElement(gw,{dataKey:"name",type:"category"}),o.a.createElement($y,{strokeDasharray:"3 3"}),o.a.createElement(_s,{content:o.a.createElement(Lx,{runNames:t,roundScores:n.roundScores}),cursor:{stroke:Oe,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95}}),o.a.createElement(Bo,{verticalAlign:"top",payload:[{value:"Decrease in %",color:Se,type:"rect"},{value:"Increase in %",color:Oe,type:"rect"}],height:30}),o.a.createElement(Nv,{dataKey:"scoreDiff",unit:" %",isAnimationActive:!0,animationDuration:900},n.data.map(function(e,t){var r=n.data[t].scoreDiff>0?Oe:Se;return o.a.createElement(Ns,{key:t,fill:r,stroke:r})}),o.a.createElement(Gm,{dataKey:"scoreDiff",content:Rx}))))}}]),t}(o.a.Component);Fx.propTypes={runNames:tt.a.array.isRequired,benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,sort:tt.a.bool.isRequired};var qx=Fx,Wx=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={sort:e.chartConfig.sort,showJson1:!1,showJson2:!1},n}return se()(t,e),re()(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.chartConfig.sort!==this.state.sort&&this.setState({sort:e.chartConfig.sort})}},{key:"toggleSort",value:function(){this.setState({sort:!this.state.sort})}},{key:"toggleShowJson1",value:function(){this.setState({showJson1:!this.state.showJson1,showJson2:!1})}},{key:"toggleShowJson2",value:function(){this.setState({showJson1:!1,showJson2:!this.state.showJson2})}},{key:"render",value:function(){var e=this.props,t=e.runNames,n=e.benchmarkBundle,r=e.metricExtractor,a=this.state,i=a.sort,s=a.showJson1,c=a.showJson2,l=n.benchmarksFromRun(0),u=n.benchmarksFromRun(1),f=[],d=[],p=!1;n.benchmarkMethods.forEach(function(e){null!==e.benchmarks[0]&&r.hasMetric(e.benchmarks[0])?null!==e.benchmarks[1]&&r.hasMetric(e.benchmarks[1])?p=!0:d.push(e.name):f.push(e.name)});var h=p?o.a.createElement(qx,{runNames:t,benchmarkBundle:n,metricExtractor:r,sort:i}):null;return o.a.createElement("div",null,o.a.createElement(Wn,{benchmarkBundle:n,metricExtractor:r},o.a.createElement(Qe,{key:"details",benchmarkBundle:n}),o.a.createElement($e,{key:"sort",active:i,action:this.toggleSort.bind(this)})),o.a.createElement("div",{style:{fontSize:"0.90em"}},h),d.length>0&&o.a.createElement("div",null,o.a.createElement("b",null,"Removed benchmarks:")," "+d.join(", "),o.a.createElement("br",null),o.a.createElement("br",null)),f.length>0&&o.a.createElement("div",null,o.a.createElement("b",null,"New benchmarks:")," "+f.join(", "),o.a.createElement("br",null),o.a.createElement("br",null)),o.a.createElement(St.a,{bsSize:"small",onClick:this.toggleShowJson1.bind(this),active:this.state.showJson1},"Show JSON 1"),o.a.createElement(St.a,{bsSize:"small",onClick:this.toggleShowJson2.bind(this),active:this.state.showJson2},"Show JSON 2"),o.a.createElement(Nn.a,{in:s},o.a.createElement("div",null,o.a.createElement("pre",null,Bn()(l,null,"\t")),o.a.createElement(St.a,{bsStyle:"primary",onClick:this.toggleShowJson1.bind(this)},"Collapse"))),o.a.createElement(Nn.a,{in:c},o.a.createElement("div",null,o.a.createElement("pre",null,Bn()(u,null,"\t")),o.a.createElement(St.a,{bsStyle:"primary",onClick:this.toggleShowJson2.bind(this)},"Collapse"))))}}]),t}(o.a.Component);Wx.propTypes={runNames:tt.a.array.isRequired,benchmarkBundle:tt.a.object.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired};var Hx=Wx,Kx=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.runNames,n=e.benchmarkBundles,r=e.metricExtractor,a=e.chartConfig,i=[];return i.push(o.a.createElement("div",{key:"summary"},"Comparing"," ",o.a.createElement(On.a,null,n.length)," benchmark classes for '",t[0],"' and '",t[1],"' on metric '",r.metricKey,"'.")),n.forEach(function(e){i.push(o.a.createElement(jn,{key:e.key,name:e.key},o.a.createElement(Hx,{runNames:t,benchmarkBundle:e,metricExtractor:r,chartConfig:a})))}),o.a.createElement("div",null,i)}}]),t}(o.a.Component);Kx.propTypes={runNames:tt.a.array.isRequired,benchmarkBundles:tt.a.array.isRequired,metricExtractor:tt.a.object.isRequired,chartConfig:tt.a.object.isRequired};var Vx=Kx,Yx=function(e){for(var t=e.length/6|0,n=new Array(t),r=0;r0&&(l=l.filter(function(e){return r.has(e.key)}));var f=new g.a(["Score"]);l.forEach(function(e){return e.allBenchmarks().forEach(function(e){_e()(e.secondaryMetrics).forEach(function(e){return f.add(e)})})});var d=tn()(f),p=void 0;p=1==t.runNames.length?o.a.createElement(zx,{runName:t.runNames[0],benchmarkBundles:l,focusedBundles:r,metricExtractor:c,chartConfig:a}):2==t.runNames.length?o.a.createElement(Vx,{runNames:t.runNames,benchmarkBundles:l,metricExtractor:c,chartConfig:a}):o.a.createElement(ik,{runNames:t.runNames,benchmarkBundles:l,metricExtractor:c,chartConfig:a});var h=[];return 1==t.runNames.length?(h.push(o.a.createElement($e,{key:"sortButton",active:a.sort,action:J.sort})),h.push(o.a.createElement("span",{key:"sep1"}," | ")),h.push(o.a.createElement(Je,{key:"scaleButton",active:a.logScale,action:J.logScale}))):2==t.runNames.length?h.push(o.a.createElement($e,{key:"sortButton",active:a.sort,action:J.sort})):h.push(o.a.createElement(Je,{key:"scaleButton",active:a.logScale,action:J.logScale})),o.a.createElement(Pt,{left:p,right:o.a.createElement(En,{benchmarkBundles:u,metrics:d,metricExtractor:c,buttons:h,focusedBenchmarkBundles:r,categories:["Benchmarks"],activeCategory:"Benchmarks"})})});var fk=n(284),dk=n.n(fk),pk=function(e){function t(){return D()(this,t),oe()(this,(t.__proto__||te()(t)).apply(this,arguments))}return se()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.benchmarkBundle,n=e.benchmarkBundles,r=e.secondaryMetrics,a=e.buttons,i=n.map(function(e){return o.a.createElement("option",{key:e.key,value:e.key},e.name)}),s=["Score"].concat(r);return o.a.createElement("div",null,o.a.createElement("a",{onClick:function(){return J.goBack()}},o.a.createElement(dk.a,null)," Back.."),o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement(Kt.a,{bsSize:"small",controlId:"theForm"},o.a.createElement(dn.a,null,o.a.createElement(Yt.a,{componentClass:"select",onChange:function(e){return J.detailBenchmarkBundle(e.target.value)},defaultValue:t.key},i))),a,o.a.createElement("hr",{style:{marginTop:"10px",marginBottom:"10px"}}),o.a.createElement(kn,{categories:["Metrics"],activeCategory:"Metrics",selectCategoryFunction:function(e){return alert(e)},elementIds:s,elementNames:s,linkControlsCreators:[]}))}}]),t}(o.a.Component);pk.propTypes={benchmarkBundle:tt.a.object.isRequired,benchmarkBundles:tt.a.array.isRequired,secondaryMetrics:tt.a.array.isRequired,buttons:tt.a.array};var hk=pk,mk=function(e){var t=e.runNames,n=e.benchmarkBundle,r=e.secondaryMetrics,a=e.chartConfig,i=e.chartGeneratorFunction,s=new ck,c=cn(n,s).map(function(e){return Ln(e)}),l=o.a.createElement(jn,{name:"Score",key:"Score"},o.a.createElement(Fn,{name:"Score",badges:c}),i(t,n,s,a),o.a.createElement("br",null),o.a.createElement("br",null)),u=r.map(function(e){var r=new lk(e);return o.a.createElement(jn,{name:e,key:e},o.a.createElement(Fn,{name:e,badges:Ln(e)}),i(t,n,r,a),o.a.createElement("br",null),o.a.createElement("br",null))});return o.a.createElement("div",null,o.a.createElement("h3",null,"Details of ",o.a.createElement("i",null,n.key)),o.a.createElement("br",null),[l].concat(S()(u)))},bk=$(function(e){var t=e.detailedBenchmarkBundle,n=e.benchmarkRuns,r=e.runSelection,a=e.chartConfig;return{detailedBenchmarkBundle:t,benchmarkSelection:new un(n,r),chartConfig:a}})(function(e){var t=e.detailedBenchmarkBundle,n=e.benchmarkSelection,r=e.chartConfig,a=n.benchmarkBundles,i=n.runNames,s=a.find(function(e){return e.key===t})||new an({key:t,name:sn(t),methodNames:[],benchmarkMethods:[]}),c=tn()(s.allBenchmarks().reduce(function(e,t){return _e()(t.secondaryMetrics).forEach(function(t){return e.add(t)}),e},new g.a)),l=void 0,u=void 0;1==i.length?0==s.methodNames.length?l="No benchmark results for run "+i[0]:u=gk:u=2==i.length?yk:vk;var f=void 0;f=l?o.a.createElement("div",null,l):o.a.createElement(mk,{runNames:i,benchmarkBundle:s,secondaryMetrics:c,chartConfig:r,chartGeneratorFunction:u});var d=[];return 1==n.runNames.length?(d.push(o.a.createElement($e,{key:"sortButton",active:r.sort,action:J.sort})),d.push(o.a.createElement("span",{key:"sep1"}," | ")),d.push(o.a.createElement(Je,{key:"scaleButton",active:r.logScale,action:J.logScale}))):2==n.runNames.length?d.push(o.a.createElement($e,{key:"sortButton",active:r.sort,action:J.sort})):d.push(o.a.createElement(Je,{key:"scaleButton",active:r.logScale,action:J.logScale})),o.a.createElement(Pt,{left:f,right:o.a.createElement(hk,{benchmarkBundle:s,benchmarkBundles:a,secondaryMetrics:c,buttons:d})})});function gk(e,t,n,r){return o.a.createElement(Bx,{benchmarkBundle:t,metricExtractor:n,chartConfig:r})}function yk(e,t,n,r){return o.a.createElement(qx,{runNames:e,benchmarkBundle:t,metricExtractor:n,sort:r.sort})}function vk(e,t,n,r){return o.a.createElement(tk,{runNames:e,benchmarkBundle:t,metricExtractor:n,logScale:r.logScale})}var wk=n(285),xk=n.n(wk),kk=(n(626),function(e){var t=e.benchmarkDiffs,n=e.minDeviation,r=t.reduce(function(e,t){return t.scoreDiff<-n?e[0].count++:t.scoreDiff>n?e[2].count++:e[1].count++,e},[{name:"Declined (<-"+n+"%)",count:0},{name:"Unchanged (+-"+n+"%)",count:0},{name:"Improved (>+"+n+"%)",count:0}]);return o.a.createElement(As,{width:"100%",height:150},o.a.createElement(Uw,null,o.a.createElement(qg,{data:r,dataKey:"count",cx:"50%",cy:"85%",startAngle:180,endAngle:0,innerRadius:75,outerRadius:90,fill:Ee,label:!0,animationDuration:540},o.a.createElement(Ns,{key:"declined",fill:Se}),o.a.createElement(Ns,{key:"unchanged",fill:Ee}),o.a.createElement(Ns,{key:"improved",fill:Oe})),o.a.createElement(_s,{offset:10,position:{x:45,y:144},cursor:{stroke:Te,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95}})))}),_k=function(e){var t=e.minDeviation,n=e.benchmarkDiffs.reduce(function(e,n){var r=function(e,t){if(t-e)return 0;for(var n=1;n<6;n++){var r=-e-10*n;if(t>r)return n}return 5}(t,n.scoreDiff);return r>0&&e["level"+r].increase++,a>0&&e["level"+a].decrease++,e},{level1:Ek(t,1),level2:Ek(t,2),level3:Ek(t,3),level4:Ek(t,4),level5:Ek(t,5)}),r=_e()(n).map(function(e){return n[e]}),a=r.reduce(function(e,t){var n=Math.max(t.increase,t.decrease);return Math.max(e,n)},0);return o.a.createElement(As,{width:"100%",height:150},o.a.createElement(kx,{cx:"50%",cy:"54%",outerRadius:58,data:r},o.a.createElement(rg,null),o.a.createElement(Cg,{dataKey:"name"}),o.a.createElement(bg,{domain:[0,a]}),o.a.createElement(ey,{name:"Improvement",dataKey:"increase",stroke:Oe,fill:Oe,fillOpacity:.6}),o.a.createElement(ey,{name:"Decline",dataKey:"decrease",stroke:Se,fill:Se,fillOpacity:.6}),o.a.createElement(_s,{offset:10,position:{x:45,y:144},cursor:{stroke:Te,strokeWidth:2},wrapperStyle:{backgroundColor:"#efefef",opacity:.95}})))};function Ek(e,t){return{name:e+10*(t-1)+"+%",increase:0,decrease:0}}var Sk=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={disabledLabels:["errorDiff"]},n}return se()(t,e),re()(t,[{key:"switchLabelActivation",value:function(e){this.state.disabledLabels.includes(e)?this.setState({disabledLabels:this.state.disabledLabels.filter(function(t){return t!==e})}):this.setState({disabledLabels:this.state.disabledLabels.concat(e)})}},{key:"render",value:function(){var e=this,t=this.props.benchmarkDiffs,n=this.state.disabledLabels,r=t.map(function(e,t){return{idx:t,name:e.bundleName+"#"+e.benchmarkMethod.name+"("+(e.benchmarkMethod.params?e.benchmarkMethod.params.map(function(e){return e[0]+"="+e[1]}).join(":"):"")+")",scoreDiff:Math.max(-100,Math.min(100,e.scoreDiff)),errorDiff:Math.max(-100,Math.min(100,e.scoreErrorDiff)),score1stRun:e.score1stRun,score2ndRun:e.score2ndRun,scoreError1stRun:e.scoreError1stRun,scoreError2ndRun:e.scoreError2ndRun,scoreUnit:e.scoreUnit}}),a=[{dataKey:"scoreDiff",color:Oe},{dataKey:"errorDiff",color:Ee}];return o.a.createElement(As,{width:"100%",height:150},o.a.createElement(Rw,{data:r,margin:{top:5,right:20,left:-20,bottom:5},barGap:0,barCategoryGap:"9%"},o.a.createElement($y,{strokeDasharray:"3 3"}),o.a.createElement(fw,{dataKey:"idx"}),o.a.createElement(gw,null),o.a.createElement(_s,{offset:10,position:{x:90,y:144},labelFormatter:function(e){return r[e]?r[e].name:"N/A"},formatter:Tk}),o.a.createElement(Bo,{align:"center",verticalAlign:"top",wrapperStyle:{lineHeight:"40px"},payload:a,content:this.renderCusomizedLegend.bind(this)}),o.a.createElement(ih,{y:0,stroke:"#000"}),a.filter(function(e){return!n.includes(e.dataKey)}).map(function(t){return o.a.createElement(Nv,{key:t.dataKey,dataKey:t.dataKey},r.map(function(n){return o.a.createElement(Ns,{key:n.idx,fill:e.barColor(t.dataKey,n)})}))})))}},{key:"barColor",value:function(e,t){return"scoreDiff"===e?t.scoreDiff>0?Oe:Se:t.errorDiff>0?Ee:Te}},{key:"renderCusomizedLegend",value:function(e){var t=this,n=e.payload;return o.a.createElement("div",{align:"center"},n.map(function(e){var n=e.dataKey,r=e.color,a=t.state.disabledLabels.includes(n),i={marginRight:10,color:a?"#AAA":"#000"};return o.a.createElement("span",{key:n,className:"legend-item",onClick:function(){return t.switchLabelActivation(n)},style:i},o.a.createElement(Nr,{width:15,height:15,viewBox:{x:0,y:0,width:10,height:15}},o.a.createElement(fo,{cx:5,cy:11,type:"square",size:50,fill:r}),a&&o.a.createElement(fo,{cx:5,cy:11,type:"square",size:25,fill:"#FFF"})),o.a.createElement("span",null,n))}))}}]),t}(o.a.Component);Sk.propTypes={benchmarkDiffs:tt.a.array.isRequired};var Ok=Sk;function Tk(e,t,n){var r=n.payload;return(null!=e?e:"N/A")+"% ("+("scoreDiff"===t?r.score1stRun.toLocaleString()+" | "+r.score2ndRun.toLocaleString()+" "+r.scoreUnit:r.scoreError1stRun.toLocaleString()+" | "+r.scoreError2ndRun.toLocaleString())+")"}var Mk=function(e){var t=e.benchmarkDiffs,n=e.minDeviation,r=e.runName1,a=e.runName2,i=e.metricKey,s=e.numberOfBenchmarkBundles,c=e.changeMinDeviationFunction;return o.a.createElement(dt.a,{fluid:!0},o.a.createElement(ht.a,null,o.a.createElement(bt.a,{md:6},o.a.createElement("div",{style:{display:"flex"}},o.a.createElement(kk,{benchmarkDiffs:t,minDeviation:n}),o.a.createElement(_k,{benchmarkDiffs:t,minDeviation:n})),"Comparing"," ",o.a.createElement(On.a,null,t.length)," results out of ",o.a.createElement(On.a,null,s)," benchmark classes for '",r,"' and '",a,"' on metric '",i,"'."),o.a.createElement(bt.a,{md:6},o.a.createElement("div",null,"Ignoring deviations below"," "+n,"%"),o.a.createElement(xk.a,{min:0,max:50,value:n,step:5,onChange:c,labels:{0:"0%",5:"5%",10:"10%",20:"20%",50:"50%"},format:function(e){return e+"%"}}),o.a.createElement(Ok,{benchmarkDiffs:t}))))},Ck=n(120),Pk=n.n(Ck),jk=function(e){var t=e.name,n=e.benchmarkDiffs,r=e.lastRunIndex;if(0==n.length)return null;var a=["#","Benchmark","Params","Mode/Unit","Score","Error"].map(function(e){return o.a.createElement("th",{key:e},e)}),i=n.map(function(e,t){var n=void 0,a=void 0;return 0==e.scoreDiff?(n=Te,a=o.a.createElement(Pk.a,{transform:"rotate(45)"})):e.scoreDiff>0?(n=Oe,a=o.a.createElement(Pk.a,null)):(n=Se,a=o.a.createElement(Pk.a,{transform:"rotate(90)"})),o.a.createElement("tr",{key:t},o.a.createElement("td",null,t),o.a.createElement("td",null,o.a.createElement(De,{tooltip:e.bundleKey+"#"+e.benchmarkMethod.name+"()",position:"right"},o.a.createElement("span",{className:"clickable",onClick:function(){return J.detailBenchmarkBundle(e.bundleKey)}},e.bundleName+" - "+e.benchmarkMethod.name+" ",o.a.createElement("span",{style:{color:n}},a," ",e.scoreDiff,"%")))),o.a.createElement("td",null,e.benchmarkMethod.params?e.benchmarkMethod.params.map(function(e){return e[0]+"="+e[1]}).join(":"):""),o.a.createElement("td",null,e.benchmarkMethod.benchmarks[r].mode+" in "+e.scoreUnit),o.a.createElement("td",null,o.a.createElement("div",null,e.score1stRun.toLocaleString()),o.a.createElement("div",null,e.score2ndRun.toLocaleString())),o.a.createElement("td",null,o.a.createElement("div",null,e.scoreError1stRun.toLocaleString()),o.a.createElement("div",null,e.scoreError2ndRun.toLocaleString())))});return o.a.createElement("div",null,o.a.createElement("h3",null,t+" ("+n.length+")"),o.a.createElement(Tx.a,{striped:!0},o.a.createElement("thead",null,o.a.createElement("tr",null,a)),o.a.createElement("tbody",null,i)))},Ak=function(e){function t(e){D()(this,t);var n=oe()(this,(t.__proto__||te()(t)).call(this,e));return n.state={minDeviation:n.props.minDeviation},n}return se()(t,e),re()(t,[{key:"changeMinDeviation",value:function(e){e!=this.state.minDeviation&&this.setState({minDeviation:e})}},{key:"render",value:function(){var e=this.props,t=e.runNames,n=e.runIndex,r=e.benchmarkBundles,a=e.metricExtractor,i=this.state.minDeviation,s=M(r.map(function(e){return e.benchmarkMethods.map(function(t){var r=C(e.benchmarkMethods,a),o=t.benchmarks[n[0]],i=t.benchmarks[n[1]];if(o&&i&&a.hasMetric(o)&&a.hasMetric(i)){var s=Un(a.extractType(o)),c=P(a.extractScore(o),r),l=P(a.extractScore(i),r),u=P(a.extractScoreError(o),r),f=P(a.extractScoreError(i),r),d=a.extractScoreUnit(o),p=void 0;p=s&&s.increaseIsGood?P((l-c)/c*100,r):P((c-l)/l*100,r);var h=P((u-f)/f*100,r);return{bundleKey:e.key,bundleName:e.name,benchmarkMethod:t,score1stRun:c,score2ndRun:l,scoreError1stRun:u,scoreError2ndRun:f,scoreUnit:d,scoreDiff:p,scoreErrorDiff:h}}}).filter(function(e){return void 0!==e})})),c=s.filter(function(e){return 0!=e.scoreDiff&&e.scoreDiff>=i}).sort(function(e,t){return t.scoreDiff-e.scoreDiff}),l=s.filter(function(e){return 0!=e.scoreDiff&&e.scoreDiff<=-i}).sort(function(e,t){return e.scoreDiff-t.scoreDiff}),u=s.filter(function(e){return 0==e.scoreDiff||e.scoreDiff-i}).sort(function(e,t){return t.scoreDiff-e.scoreDiff});return o.a.createElement("div",null,o.a.createElement(Mk,{benchmarkDiffs:s,minDeviation:i,runName1:t[n[0]],runName2:t[n[1]],metricKey:a.metricKey,numberOfBenchmarkBundles:r.length,changeMinDeviationFunction:this.changeMinDeviation.bind(this)}),o.a.createElement("hr",null),o.a.createElement(jk,{name:"Improved Benchmarks",benchmarkDiffs:c,lastRunIndex:n[1]}),o.a.createElement(jk,{name:"Declined Benchmarks",benchmarkDiffs:l,lastRunIndex:n[1]}),o.a.createElement(jk,{name:"Unchanged Benchmarks",benchmarkDiffs:u,lastRunIndex:n[1]}))}}]),t}(o.a.Component);Ak.propTypes={runNames:tt.a.array.isRequired,benchmarkBundles:tt.a.array.isRequired,runIndex:tt.a.array.isRequired,minDeviation:tt.a.number.isRequired,metricExtractor:tt.a.object.isRequired};var Bk=Ak,Ik=$(function(e){var t=e.benchmarkRuns,n=e.runSelection,r=e.selectedMetric;return{benchmarkSelection:new un(t,n),selectedMetric:r}})(function(e){var t=e.benchmarkSelection,n=e.selectedMetric,r=t.benchmarkBundles,a=n,i=function(e){return"Score"===e?new ck:new lk(e)}(n),s="Score"===a?r:r.filter(function(e){return e.allBenchmarks().find(function(e){return i.hasMetric(e)})}),c=new g.a(["Score"]);s.forEach(function(e){return e.allBenchmarks().forEach(function(e){_e()(e.secondaryMetrics).forEach(function(e){return c.add(e)})})});var l=tn()(c),u=[t.runNames.length-2,t.runNames.length-1],f=u.map(function(e){return t.runNames[e]});return o.a.createElement(Pt,{left:o.a.createElement(Bk,{runIndex:u,runNames:f,minDeviation:5,benchmarkBundles:s,metricExtractor:i}),right:o.a.createElement(En,{benchmarkBundles:[],metrics:l,metricExtractor:i,focusedBenchmarkBundles:new g.a,categories:["Benchmarks"],activeCategory:"Benchmarks"})})});var Nk=$(function(e){return{initialLoading:e.initialLoading,benchmarkRuns:e.benchmarkRuns,runSelection:e.runSelection,runView:e.runView,detailedBenchmarkBundle:e.detailedBenchmarkBundle}})(function(e){var t=e.initialLoading,n=e.benchmarkRuns,r=e.runSelection,a=e.runView,i=e.detailedBenchmarkBundle;if(t)return o.a.createElement("div",{style:{position:"fixed",top:"50%",left:"50%"}},o.a.createElement(st,null));var s=void 0;s=0==n.length?o.a.createElement(Zt,null):i?o.a.createElement(bk,null):r.filter(function(e){return e}).length>1&&"Summary"===a?o.a.createElement(Ik,null):o.a.createElement(uk,null);return o.a.createElement("div",null,o.a.createElement(ut,null),o.a.createElement("div",{style:{paddingTop:"20px",paddingBottom:"20px"}},o.a.createElement(Tt,null),s),o.a.createElement(vt,null))});n(628),n(634),n(636);s.a.render(o.a.createElement(X,null,o.a.createElement(Nk,null)),document.getElementById("main"))}]);