diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-sls.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-sls.xml new file mode 100644 index 00000000000..8bdab7bd84a --- /dev/null +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-sls.xml @@ -0,0 +1,45 @@ + + + hadoop-sls + + dir + + false + + + + ${basedir}/src/main/bin + sls/bin + 0755 + + + ${basedir}/src/main/html + sls/html + + + ${basedir}/src/main/sample-conf + sls/sample-conf + + + ${basedir}/src/main/data + sls/sample-data + + + + diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml index e05e9206c23..fa557034fba 100644 --- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml @@ -93,6 +93,17 @@ *-sources.jar + + ../hadoop-sls/target + /share/hadoop/${hadoop.component}/sources + + *-sources.jar + + + + ../hadoop-sls/target/hadoop-sls-${project.version}/sls + /share/hadoop/${hadoop.component}/sls + diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 9c85d273a51..5bead817b7f 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -729,6 +729,16 @@ hsqldb 2.0.0 + + com.codahale.metrics + metrics-core + 3.0.0 + + + org.apache.hadoop + hadoop-sls + ${project.version} + diff --git a/hadoop-project/src/site/site.xml b/hadoop-project/src/site/site.xml index 88981c3c886..d4c07dc6163 100644 --- a/hadoop-project/src/site/site.xml +++ b/hadoop-project/src/site/site.xml @@ -95,6 +95,7 @@ + diff --git a/hadoop-tools/hadoop-sls/README b/hadoop-tools/hadoop-sls/README new file mode 100644 index 00000000000..86b554ebb91 --- /dev/null +++ b/hadoop-tools/hadoop-sls/README @@ -0,0 +1,12 @@ +Yarn Scheduler Load Simulator (SLS) + +SLS is a stress and performance harness for the Yarn Resource Manager Scheduler +that exercises the scheduler implementation simulating the cluster size and the +applications load without having to have a cluster nor applications. + +SLS runs a regular RM without RPC endpoints and uses a NodeManager and +Application Manager simulators to send and receive events simulating cluster +and application load behavior. + +The size of the cluster and the application load is scripted in a configuration +file. diff --git a/hadoop-tools/hadoop-sls/dev-support/findbugs-exclude.xml b/hadoop-tools/hadoop-sls/dev-support/findbugs-exclude.xml new file mode 100644 index 00000000000..9f63ff252b3 --- /dev/null +++ b/hadoop-tools/hadoop-sls/dev-support/findbugs-exclude.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + diff --git a/hadoop-tools/hadoop-sls/pom.xml b/hadoop-tools/hadoop-sls/pom.xml new file mode 100644 index 00000000000..f01026a2104 --- /dev/null +++ b/hadoop-tools/hadoop-sls/pom.xml @@ -0,0 +1,184 @@ + + + + 4.0.0 + + org.apache.hadoop + hadoop-project + 2.3.0-SNAPSHOT + ../../hadoop-project + + org.apache.hadoop + hadoop-sls + 2.3.0-SNAPSHOT + Apache Hadoop Scheduler Load Simulator + Apache Hadoop Scheduler Load Simulator + jar + + + + junit + junit + test + + + org.apache.hadoop + hadoop-client + provided + + + org.apache.hadoop + hadoop-minicluster + provided + + + org.apache.hadoop + hadoop-rumen + + + com.codahale.metrics + metrics-core + compile + + + org.mortbay.jetty + jetty + provided + + + org.mortbay.jetty + servlet-api + + + + + org.mortbay.jetty + jetty-util + provided + + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + + jar + + + + + + org.codehaus.mojo + findbugs-maven-plugin + + true + true + ${basedir}/dev-support/findbugs-exclude.xml + Max + + + + org.apache.rat + apache-rat-plugin + + + src/main/data/2jobs2min-rumen-jh.json + src/main/html/js/thirdparty/jquery.js + src/main/html/js/thirdparty/d3-LICENSE + src/main/html/js/thirdparty/d3.v3.js + src/main/html/simulate.html.template + src/main/html/simulate.info.html.template + src/main/html/track.html.template + src/test/resources/simulate.html.template + src/test/resources/simulate.info.html.template + src/test/resources/track.html.template + + + + + + + + + docs + + false + + + + + org.apache.maven.plugins + maven-site-plugin + + + package + + site + + + + + + + + + dist + + false + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + org.apache.hadoop + hadoop-assemblies + ${project.version} + + + + + dist + prepare-package + + single + + + false + false + ${project.artifactId}-${project.version} + + hadoop-sls + + + + + + + + + + diff --git a/hadoop-tools/hadoop-sls/src/main/assemblies/sls.xml b/hadoop-tools/hadoop-sls/src/main/assemblies/sls.xml new file mode 100644 index 00000000000..5b09c8160c0 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/assemblies/sls.xml @@ -0,0 +1,55 @@ + + + sls + + dir + tar.gz + + false + + + + ${basedir}/src/main/bin + bin + 0755 + + + ${basedir}/src/main/data + sample-data + + + ${basedir}/src/main/html + html + + + ${basedir}/src/main/sample-conf + sample-conf + + + + + + /lib + false + compile + true + + + + diff --git a/hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh b/hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh new file mode 100644 index 00000000000..080a7153758 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh @@ -0,0 +1,106 @@ +#!/bin/bash +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. See accompanying LICENSE file. +# + +############################################################################### +printUsage() { + echo "Usage: rumen2sls.sh " + echo " --rumen-file=" + echo " --output-dir=" + echo " [--output-prefix=] (default is sls)" + echo +} +############################################################################### +parseArgs() { + for i in $* + do + case $i in + --rumen-file=*) + rumenfile=${i#*=} + ;; + --output-dir=*) + outputdir=${i#*=} + ;; + --output-prefix=*) + outputprefix=${i#*=} + ;; + *) + echo "Invalid option" + echo + printUsage + exit 1 + ;; + esac + done + if [[ "${rumenfile}" == "" || "${outputdir}" == "" ]] ; then + echo "Both --rumen-file ${rumenfile} and --output-dir \ + ${outputfdir} must be specified" + echo + printUsage + exit 1 + fi +} +############################################################################### +calculateBasedir() { + # resolve links - $0 may be a softlink + PRG="${1}" + + while [ -h "${PRG}" ]; do + ls=`ls -ld "${PRG}"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "${PRG}"`/"$link" + fi + done + + BASEDIR=`dirname ${PRG}` + BASEDIR=`cd ${BASEDIR}/..;pwd` +} +############################################################################### +calculateClasspath() { + HADOOP_BASE=`which hadoop` + HADOOP_BASE=`dirname $HADOOP_BASE` + DEFAULT_LIBEXEC_DIR=${HADOOP_BASE}/../libexec + HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR} + . $HADOOP_LIBEXEC_DIR/hadoop-config.sh + export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${TOOL_PATH}" +} +############################################################################### +runSLSGenerator() { + if [[ "${outputprefix}" == "" ]] ; then + outputprefix="sls" + fi + + slsJobs=${outputdir}/${outputprefix}-jobs.json + slsNodes=${outputdir}/${outputprefix}-nodes.json + + args="-input ${rumenfile} -outputJobs ${slsJobs}"; + args="${args} -outputNodes ${slsNodes}"; + + hadoop org.apache.hadoop.yarn.sls.RumenToSLSConverter ${args} +} +############################################################################### + +calculateBasedir $0 +calculateClasspath +parseArgs "$@" +runSLSGenerator + +echo +echo "SLS simulation files available at: ${outputdir}" +echo + +exit 0 \ No newline at end of file diff --git a/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh b/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh new file mode 100644 index 00000000000..1e402df2961 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh @@ -0,0 +1,112 @@ +#!/bin/bash +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. See accompanying LICENSE file. +# + +############################################################################### +printUsage() { + echo "Usage: slsrun.sh " + echo " --input-rumen|--input-sls=" + echo " --output-dir=" + echo " [--nodes=]" + echo " [--track-jobs=]" + echo " [--print-simulation]" + echo +} +############################################################################### +parseArgs() { + for i in $* + do + case $i in + --input-rumen=*) + inputrumen=${i#*=} + ;; + --input-sls=*) + inputsls=${i#*=} + ;; + --output-dir=*) + outputdir=${i#*=} + ;; + --nodes=*) + nodes=${i#*=} + ;; + --track-jobs=*) + trackjobs=${i#*=} + ;; + --print-simulation) + printsimulation="true" + ;; + *) + echo "Invalid option" + echo + printUsage + exit 1 + ;; + esac + done + + if [[ "${inputrumen}" == "" && "${inputsls}" == "" ]] ; then + echo "Either --input-rumen or --input-sls must be specified" + echo + printUsage + exit 1 + fi + + if [[ "${outputdir}" == "" ]] ; then + echo "The output directory --output-dir must be specified" + echo + printUsage + exit 1 + fi +} + +############################################################################### +calculateClasspath() { + HADOOP_BASE=`which hadoop` + HADOOP_BASE=`dirname $HADOOP_BASE` + DEFAULT_LIBEXEC_DIR=${HADOOP_BASE}/../libexec + HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR} + . $HADOOP_LIBEXEC_DIR/hadoop-config.sh + export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${TOOL_PATH}:html" +} +############################################################################### +runSimulation() { + if [[ "${inputsls}" == "" ]] ; then + args="-inputrumen ${inputrumen}" + else + args="-inputsls ${inputsls}" + fi + + args="${args} -output ${outputdir}" + + if [[ "${nodes}" != "" ]] ; then + args="${args} -nodes ${nodes}" + fi + + if [[ "${trackjobs}" != "" ]] ; then + args="${args} -trackjobs ${trackjobs}" + fi + + if [[ "${printsimulation}" == "true" ]] ; then + args="${args} -printsimulation" + fi + + hadoop org.apache.hadoop.yarn.sls.SLSRunner ${args} +} +############################################################################### + +calculateClasspath +parseArgs "$@" +runSimulation + +exit 0 diff --git a/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json b/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json new file mode 100644 index 00000000000..41d4c53224f --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json @@ -0,0 +1,10229 @@ +{ + "priority" : "NORMAL", + "jobID" : "job_1369942127770_1205", + "user" : "jenkins", + "jobName" : "TeraGen", + "submitTime" : 1371222054499, + "finishTime" : 1371222153874, + "queue" : "sls_queue_1", + "mapTasks" : [ { + "startTime" : 1371222059053, + "taskID" : "task_1369942127770_1205_m_000000", + "taskType" : "MAP", + "finishTime" : 1371222078206, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222061163, + "result" : "SUCCESS", + "finishTime" : 1371222078206, + "attemptID" : "attempt_1369942127770_1205_m_000000_0", + "clockSplits" : [ 1481, 1481, 1481, 1481, 1481, 1481, 1169, 1064, 1064, 1173, 1197, 2485 ], + "cpuUsages" : [ 1253, 1254, 1254, 1254, 1254, 1254, 1198, 1180, 1179, 984, 942, 1294 ], + "vmemKbytes" : [ 113886, 341661, 569436, 797210, 1024985, 1252759, 1416845, 1424087, 1424088, 1424088, 1424087, 1424088 ], + "physMemKbytes" : [ 24766, 74299, 123833, 173366, 222900, 272433, 308230, 310197, 310604, 309580, 305826, 302119 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 82, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14300, + "virtualMemoryUsage" : 1458266112, + "physicalMemoryUsage" : 308215808, + "heapUsage" : 745406464 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 82, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059055, + "taskID" : "task_1369942127770_1205_m_000001", + "taskType" : "MAP", + "finishTime" : 1371222076092, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222061164, + "result" : "SUCCESS", + "finishTime" : 1371222076092, + "attemptID" : "attempt_1369942127770_1205_m_000001_0", + "clockSplits" : [ 1621, 1621, 1622, 1621, 1622, 1457, 908, 908, 908, 2328, 150, 151 ], + "cpuUsages" : [ 1306, 1307, 1307, 1306, 1307, 1264, 1119, 1119, 1119, 1020, 993, 993 ], + "vmemKbytes" : [ 122129, 366389, 610648, 854907, 1099167, 1336974, 1409412, 1409411, 1409412, 1409412, 1409411, 1409412 ], + "physMemKbytes" : [ 27010, 81032, 135053, 189074, 243096, 295613, 309560, 306611, 303663, 300925, 298639, 296368 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14160, + "virtualMemoryUsage" : 1443237888, + "physicalMemoryUsage" : 302317568, + "heapUsage" : 745209856 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059055, + "taskID" : "task_1369942127770_1205_m_000002", + "taskType" : "MAP", + "finishTime" : 1371222076916, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222061159, + "result" : "SUCCESS", + "finishTime" : 1371222076916, + "attemptID" : "attempt_1369942127770_1205_m_000002_0", + "clockSplits" : [ 1529, 1530, 1530, 1530, 1529, 1530, 1072, 975, 975, 2938, 269, 269 ], + "cpuUsages" : [ 1266, 1266, 1267, 1266, 1267, 1266, 1172, 1152, 1151, 1056, 995, 996 ], + "vmemKbytes" : [ 115166, 345498, 575831, 806163, 1036496, 1266828, 1418750, 1422271, 1422272, 1422272, 1422271, 1422272 ], + "physMemKbytes" : [ 25182, 75547, 125913, 176278, 226644, 277009, 311047, 314183, 316587, 318060, 315880, 313328 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14260, + "virtualMemoryUsage" : 1456406528, + "physicalMemoryUsage" : 319447040, + "heapUsage" : 740294656 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166666, + "outputBytes" : 72234, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059055, + "taskID" : "task_1369942127770_1205_m_000003", + "taskType" : "MAP", + "finishTime" : 1371222078156, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222061160, + "result" : "SUCCESS", + "finishTime" : 1371222078156, + "attemptID" : "attempt_1369942127770_1205_m_000003_0", + "clockSplits" : [ 1473, 1473, 1473, 1473, 1474, 1473, 1250, 1064, 1065, 2986, 293, 294 ], + "cpuUsages" : [ 1227, 1227, 1227, 1227, 1227, 1228, 1214, 1202, 1203, 1076, 966, 966 ], + "vmemKbytes" : [ 111579, 334737, 557896, 781055, 1004214, 1227373, 1417243, 1440219, 1440220, 1440220, 1440219, 1440220 ], + "physMemKbytes" : [ 24240, 72721, 121202, 169683, 218165, 266646, 308296, 315697, 318384, 320500, 319654, 318383 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14300, + "virtualMemoryUsage" : 1474785280, + "physicalMemoryUsage" : 325296128, + "heapUsage" : 744161280 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059056, + "taskID" : "task_1369942127770_1205_m_000004", + "taskType" : "MAP", + "finishTime" : 1371222077984, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222061161, + "result" : "SUCCESS", + "finishTime" : 1371222077984, + "attemptID" : "attempt_1369942127770_1205_m_000004_0", + "clockSplits" : [ 1441, 1441, 1441, 1441, 1441, 1441, 1297, 1139, 1139, 3202, 106, 107 ], + "cpuUsages" : [ 1231, 1231, 1231, 1231, 1231, 1231, 1241, 1253, 1252, 1018, 920, 920 ], + "vmemKbytes" : [ 110202, 330607, 551012, 771417, 991823, 1212228, 1407542, 1437667, 1437668, 1437668, 1437667, 1437668 ], + "physMemKbytes" : [ 23865, 71596, 119328, 167059, 214790, 262521, 305059, 313396, 315497, 316328, 313564, 310583 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14350, + "virtualMemoryUsage" : 1472172032, + "physicalMemoryUsage" : 316485632, + "heapUsage" : 740163584 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059056, + "taskID" : "task_1369942127770_1205_m_000005", + "taskType" : "MAP", + "finishTime" : 1371222078263, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222061161, + "result" : "SUCCESS", + "finishTime" : 1371222078263, + "attemptID" : "attempt_1369942127770_1205_m_000005_0", + "clockSplits" : [ 1467, 1467, 1467, 1467, 1468, 1467, 1222, 1044, 1043, 3239, 138, 138 ], + "cpuUsages" : [ 1228, 1229, 1228, 1229, 1229, 1228, 1187, 1157, 1157, 1036, 951, 951 ], + "vmemKbytes" : [ 109716, 329150, 548584, 768017, 987451, 1206884, 1389627, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 24267, 72802, 121338, 169873, 218408, 266943, 307379, 311778, 311871, 311950, 311973, 311991 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14290, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 319471616, + "heapUsage" : 732299264 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72234, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059056, + "taskID" : "task_1369942127770_1205_m_000006", + "taskType" : "MAP", + "finishTime" : 1371222080381, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061165, + "result" : "SUCCESS", + "finishTime" : 1371222080381, + "attemptID" : "attempt_1369942127770_1205_m_000006_0", + "clockSplits" : [ 2346, 2347, 2347, 2347, 1888, 1412, 1285, 962, 962, 962, 1936, 416 ], + "cpuUsages" : [ 1386, 1386, 1386, 1386, 1216, 1041, 1052, 1082, 1082, 1081, 1185, 1217 ], + "vmemKbytes" : [ 157018, 471054, 785090, 1099125, 1375327, 1416027, 1416046, 1416396, 1416871, 1417345, 1417679, 1417692 ], + "physMemKbytes" : [ 32211, 96633, 161055, 225476, 282302, 291840, 293174, 293917, 294444, 294970, 293975, 289481 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14500, + "virtualMemoryUsage" : 1451716608, + "physicalMemoryUsage" : 294055936, + "heapUsage" : 740032512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059057, + "taskID" : "task_1369942127770_1205_m_000007", + "taskType" : "MAP", + "finishTime" : 1371222080174, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061168, + "result" : "SUCCESS", + "finishTime" : 1371222080174, + "attemptID" : "attempt_1369942127770_1205_m_000007_0", + "clockSplits" : [ 1912, 1913, 1913, 1913, 1913, 1395, 1079, 1080, 1110, 1121, 1122, 2528 ], + "cpuUsages" : [ 1309, 1309, 1309, 1309, 1309, 1145, 1046, 1045, 1004, 988, 989, 1278 ], + "vmemKbytes" : [ 133705, 401116, 668527, 935938, 1203349, 1418939, 1437988, 1437987, 1437988, 1437988, 1437987, 1437988 ], + "physMemKbytes" : [ 29116, 87350, 145583, 203816, 262051, 309017, 313251, 313344, 312660, 309967, 307170, 305234 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14040, + "virtualMemoryUsage" : 1472499712, + "physicalMemoryUsage" : 312479744, + "heapUsage" : 723451904 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059057, + "taskID" : "task_1369942127770_1205_m_000008", + "taskType" : "MAP", + "finishTime" : 1371222080738, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061150, + "result" : "SUCCESS", + "finishTime" : 1371222080738, + "attemptID" : "attempt_1369942127770_1205_m_000008_0", + "clockSplits" : [ 2192, 2193, 2192, 2193, 2192, 1226, 1140, 1210, 1721, 2853, 235, 236 ], + "cpuUsages" : [ 1340, 1340, 1340, 1341, 1340, 1169, 1153, 1147, 1096, 1086, 1059, 1059 ], + "vmemKbytes" : [ 140265, 420795, 701325, 981854, 1262385, 1424418, 1425336, 1425335, 1425336, 1425336, 1425335, 1425336 ], + "physMemKbytes" : [ 29311, 87935, 146559, 205182, 263807, 298779, 301592, 304203, 305246, 305221, 304062, 302477 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14470, + "virtualMemoryUsage" : 1459544064, + "physicalMemoryUsage" : 308924416, + "heapUsage" : 742719488 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72234, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059057, + "taskID" : "task_1369942127770_1205_m_000009", + "taskType" : "MAP", + "finishTime" : 1371222080294, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061167, + "result" : "SUCCESS", + "finishTime" : 1371222080294, + "attemptID" : "attempt_1369942127770_1205_m_000009_0", + "clockSplits" : [ 2681, 2682, 2682, 2682, 931, 900, 900, 1034, 1187, 1187, 1891, 364 ], + "cpuUsages" : [ 1476, 1476, 1476, 1476, 1162, 1156, 1157, 1127, 1092, 1093, 1116, 1123 ], + "vmemKbytes" : [ 176827, 530481, 884136, 1237790, 1420639, 1420691, 1420692, 1420691, 1420692, 1420692, 1420691, 1420692 ], + "physMemKbytes" : [ 38211, 114635, 191059, 267482, 307826, 309555, 311274, 312396, 309356, 305514, 301727, 298067 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14930, + "virtualMemoryUsage" : 1454788608, + "physicalMemoryUsage" : 303349760, + "heapUsage" : 740229120 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059058, + "taskID" : "task_1369942127770_1205_m_000010", + "taskType" : "MAP", + "finishTime" : 1371222079719, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061175, + "result" : "SUCCESS", + "finishTime" : 1371222079719, + "attemptID" : "attempt_1369942127770_1205_m_000010_0", + "clockSplits" : [ 3057, 3058, 3057, 1958, 885, 884, 885, 835, 833, 832, 1597, 655 ], + "cpuUsages" : [ 1654, 1654, 1654, 1336, 1024, 1025, 1024, 1025, 1025, 1025, 1040, 1124 ], + "vmemKbytes" : [ 201676, 605031, 1008386, 1360094, 1409336, 1409383, 1409432, 1409459, 1409460, 1409460, 1409459, 1409460 ], + "physMemKbytes" : [ 44104, 132313, 220523, 297458, 308371, 308546, 308722, 308946, 309231, 309516, 309798, 309880 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14610, + "virtualMemoryUsage" : 1443287040, + "physicalMemoryUsage" : 317300736, + "heapUsage" : 740556800 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059058, + "taskID" : "task_1369942127770_1205_m_000011", + "taskType" : "MAP", + "finishTime" : 1371222080741, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061174, + "result" : "SUCCESS", + "finishTime" : 1371222080741, + "attemptID" : "attempt_1369942127770_1205_m_000011_0", + "clockSplits" : [ 2091, 2091, 2092, 2091, 2092, 1144, 1117, 1175, 1617, 3521, 265, 266 ], + "cpuUsages" : [ 1356, 1356, 1356, 1356, 1356, 1094, 1087, 1096, 1172, 1157, 1062, 1062 ], + "vmemKbytes" : [ 141112, 423336, 705560, 987783, 1270008, 1419228, 1419348, 1419347, 1419348, 1419348, 1419347, 1419348 ], + "physMemKbytes" : [ 30717, 92154, 153590, 215025, 276462, 309084, 309404, 309697, 309866, 309922, 307623, 303864 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14510, + "virtualMemoryUsage" : 1453412352, + "physicalMemoryUsage" : 309231616, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059058, + "taskID" : "task_1369942127770_1205_m_000012", + "taskType" : "MAP", + "finishTime" : 1371222080631, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061173, + "result" : "SUCCESS", + "finishTime" : 1371222080631, + "attemptID" : "attempt_1369942127770_1205_m_000012_0", + "clockSplits" : [ 2152, 2152, 2152, 2152, 2152, 1134, 1107, 1143, 1402, 1403, 2199, 298 ], + "cpuUsages" : [ 1365, 1365, 1365, 1365, 1366, 1024, 1015, 1026, 1101, 1102, 1136, 1140 ], + "vmemKbytes" : [ 140246, 420739, 701232, 981725, 1262218, 1409325, 1409412, 1409411, 1409412, 1409412, 1409411, 1409412 ], + "physMemKbytes" : [ 29429, 88287, 147145, 206002, 264861, 296705, 298774, 300812, 301651, 301721, 300159, 296175 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14370, + "virtualMemoryUsage" : 1443237888, + "physicalMemoryUsage" : 301232128, + "heapUsage" : 745209856 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059059, + "taskID" : "task_1369942127770_1205_m_000013", + "taskType" : "MAP", + "finishTime" : 1371222080047, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222061177, + "result" : "SUCCESS", + "finishTime" : 1371222080047, + "attemptID" : "attempt_1369942127770_1205_m_000013_0", + "clockSplits" : [ 2415, 2415, 2416, 2415, 1669, 929, 929, 927, 906, 905, 906, 2031 ], + "cpuUsages" : [ 1582, 1583, 1583, 1583, 1323, 1064, 1064, 1052, 899, 899, 899, 1289 ], + "vmemKbytes" : [ 156678, 470034, 783390, 1096746, 1370593, 1409423, 1409424, 1409423, 1409424, 1409424, 1409423, 1409424 ], + "physMemKbytes" : [ 33111, 99335, 165559, 231782, 289734, 298476, 299089, 299699, 299882, 299738, 299593, 299448 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14820, + "virtualMemoryUsage" : 1443250176, + "physicalMemoryUsage" : 306561024, + "heapUsage" : 740622336 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059060, + "taskID" : "task_1369942127770_1205_m_000014", + "taskType" : "MAP", + "finishTime" : 1371222080403, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061182, + "result" : "SUCCESS", + "finishTime" : 1371222080403, + "attemptID" : "attempt_1369942127770_1205_m_000014_0", + "clockSplits" : [ 2246, 2247, 2247, 2246, 1771, 975, 975, 1058, 1672, 3290, 244, 244 ], + "cpuUsages" : [ 1482, 1483, 1483, 1483, 1333, 1082, 1081, 1076, 1036, 1050, 1095, 1096 ], + "vmemKbytes" : [ 153262, 459788, 766314, 1072839, 1357907, 1417931, 1417932, 1417931, 1417932, 1417932, 1417931, 1417932 ], + "physMemKbytes" : [ 32426, 97279, 162133, 226986, 287711, 305142, 311027, 316866, 318854, 318343, 317108, 315553 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14780, + "virtualMemoryUsage" : 1451962368, + "physicalMemoryUsage" : 322330624, + "heapUsage" : 668336128 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059060, + "taskID" : "task_1369942127770_1205_m_000015", + "taskType" : "MAP", + "finishTime" : 1371222080385, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061182, + "result" : "SUCCESS", + "finishTime" : 1371222080385, + "attemptID" : "attempt_1369942127770_1205_m_000015_0", + "clockSplits" : [ 2112, 2113, 2112, 2113, 2112, 1311, 1311, 1686, 1973, 1973, 191, 191 ], + "cpuUsages" : [ 1520, 1520, 1521, 1520, 1520, 1067, 1068, 1204, 1311, 863, 843, 843 ], + "vmemKbytes" : [ 142431, 427293, 712156, 997018, 1281881, 1423875, 1423876, 1423875, 1423876, 1423876, 1423875, 1423876 ], + "physMemKbytes" : [ 31512, 94536, 157561, 220586, 283611, 315540, 316563, 317494, 317993, 317677, 316454, 315229 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14800, + "virtualMemoryUsage" : 1458049024, + "physicalMemoryUsage" : 322166784, + "heapUsage" : 663617536 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059060, + "taskID" : "task_1369942127770_1205_m_000016", + "taskType" : "MAP", + "finishTime" : 1371222080314, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061183, + "result" : "SUCCESS", + "finishTime" : 1371222080314, + "attemptID" : "attempt_1369942127770_1205_m_000016_0", + "clockSplits" : [ 2331, 2332, 2332, 2332, 1845, 1142, 1143, 1145, 1148, 1148, 1817, 406 ], + "cpuUsages" : [ 1376, 1377, 1377, 1377, 1290, 1165, 1165, 1121, 1081, 1082, 1000, 979 ], + "vmemKbytes" : [ 154918, 464754, 774590, 1084425, 1368248, 1422215, 1422216, 1422215, 1422216, 1422216, 1422215, 1422216 ], + "physMemKbytes" : [ 31161, 93486, 155811, 218135, 275753, 291774, 298030, 303393, 303746, 303320, 303009, 302957 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14390, + "virtualMemoryUsage" : 1456349184, + "physicalMemoryUsage" : 310206464, + "heapUsage" : 663683072 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059061, + "taskID" : "task_1369942127770_1205_m_000017", + "taskType" : "MAP", + "finishTime" : 1371222079863, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061183, + "result" : "SUCCESS", + "finishTime" : 1371222079863, + "attemptID" : "attempt_1369942127770_1205_m_000017_0", + "clockSplits" : [ 2120, 2120, 2121, 2120, 2120, 1291, 1115, 1115, 847, 837, 837, 2031 ], + "cpuUsages" : [ 1314, 1314, 1314, 1314, 1314, 1108, 1065, 1065, 889, 882, 882, 1289 ], + "vmemKbytes" : [ 136175, 408526, 680878, 953229, 1225581, 1405242, 1409412, 1409411, 1409412, 1409412, 1409411, 1409412 ], + "physMemKbytes" : [ 25452, 76356, 127261, 178166, 229071, 262663, 263476, 263509, 263661, 263953, 264244, 264609 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13750, + "virtualMemoryUsage" : 1443237888, + "physicalMemoryUsage" : 271626240, + "heapUsage" : 592183296 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059061, + "taskID" : "task_1369942127770_1205_m_000018", + "taskType" : "MAP", + "finishTime" : 1371222080024, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061180, + "result" : "SUCCESS", + "finishTime" : 1371222080024, + "attemptID" : "attempt_1369942127770_1205_m_000018_0", + "clockSplits" : [ 2373, 2374, 2374, 2373, 1909, 925, 926, 925, 890, 882, 882, 2005 ], + "cpuUsages" : [ 1613, 1614, 1613, 1614, 1458, 1128, 1127, 1128, 917, 876, 876, 1256 ], + "vmemKbytes" : [ 151697, 455092, 758487, 1061882, 1349627, 1419523, 1419524, 1419523, 1419524, 1419524, 1419523, 1419524 ], + "physMemKbytes" : [ 30652, 91958, 153263, 214568, 272912, 290016, 293889, 297762, 300019, 299336, 298590, 297860 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 15220, + "virtualMemoryUsage" : 1453592576, + "physicalMemoryUsage" : 304734208, + "heapUsage" : 665190400 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059061, + "taskID" : "task_1369942127770_1205_m_000019", + "taskType" : "MAP", + "finishTime" : 1371222081077, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061181, + "result" : "SUCCESS", + "finishTime" : 1371222081077, + "attemptID" : "attempt_1369942127770_1205_m_000019_0", + "clockSplits" : [ 2353, 2354, 2353, 2354, 1929, 1071, 1072, 1395, 2209, 2348, 224, 224 ], + "cpuUsages" : [ 1428, 1429, 1429, 1428, 1376, 1271, 1270, 1203, 1037, 908, 890, 891 ], + "vmemKbytes" : [ 152162, 456488, 760814, 1065139, 1352750, 1420763, 1420764, 1420763, 1420764, 1420764, 1420763, 1420764 ], + "physMemKbytes" : [ 32961, 98884, 164808, 230731, 293309, 311938, 316956, 321727, 322219, 321123, 319983, 318842 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14560, + "virtualMemoryUsage" : 1454862336, + "physicalMemoryUsage" : 325910528, + "heapUsage" : 663552000 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059062, + "taskID" : "task_1369942127770_1205_m_000020", + "taskType" : "MAP", + "finishTime" : 1371222080321, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061184, + "result" : "SUCCESS", + "finishTime" : 1371222080321, + "attemptID" : "attempt_1369942127770_1205_m_000020_0", + "clockSplits" : [ 2427, 2428, 2428, 2428, 2102, 1517, 1285, 748, 748, 747, 1610, 664 ], + "cpuUsages" : [ 1443, 1443, 1443, 1443, 1389, 1289, 1200, 994, 995, 995, 1024, 1202 ], + "vmemKbytes" : [ 153064, 459194, 765324, 1071453, 1357999, 1421147, 1421148, 1421147, 1421148, 1421148, 1421147, 1421148 ], + "physMemKbytes" : [ 29737, 89213, 148688, 208163, 263841, 276188, 276277, 276205, 276076, 275947, 275853, 277999 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14860, + "virtualMemoryUsage" : 1455255552, + "physicalMemoryUsage" : 286453760, + "heapUsage" : 616431616 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059062, + "taskID" : "task_1369942127770_1205_m_000021", + "taskType" : "MAP", + "finishTime" : 1371222081794, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222061178, + "result" : "SUCCESS", + "finishTime" : 1371222081794, + "attemptID" : "attempt_1369942127770_1205_m_000021_0", + "clockSplits" : [ 2597, 2597, 2597, 2597, 1562, 1164, 1163, 5456, 198, 197, 197, 198 ], + "cpuUsages" : [ 1446, 1447, 1447, 1447, 1261, 1190, 1189, 983, 897, 898, 897, 898 ], + "vmemKbytes" : [ 164696, 494089, 823482, 1152875, 1396412, 1409139, 1409140, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 32676, 98028, 163380, 228731, 280650, 296453, 310265, 319456, 319884, 318033, 316181, 314330 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14060, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 320843776, + "heapUsage" : 656801792 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059062, + "taskID" : "task_1369942127770_1205_m_000022", + "taskType" : "MAP", + "finishTime" : 1371222080729, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061185, + "result" : "SUCCESS", + "finishTime" : 1371222080729, + "attemptID" : "attempt_1369942127770_1205_m_000022_0", + "clockSplits" : [ 2144, 2145, 2144, 2145, 2144, 1183, 1111, 1280, 2538, 2355, 174, 175 ], + "cpuUsages" : [ 1386, 1387, 1386, 1387, 1386, 1209, 1196, 1179, 1059, 978, 968, 969 ], + "vmemKbytes" : [ 140664, 421992, 703320, 984647, 1265976, 1425650, 1426340, 1426339, 1426340, 1426340, 1426339, 1426340 ], + "physMemKbytes" : [ 29534, 88604, 147673, 206742, 265812, 300766, 304205, 307483, 308781, 307931, 305761, 303579 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14490, + "virtualMemoryUsage" : 1460572160, + "physicalMemoryUsage" : 309747712, + "heapUsage" : 742064128 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059063, + "taskID" : "task_1369942127770_1205_m_000023", + "taskType" : "MAP", + "finishTime" : 1371222080052, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061186, + "result" : "SUCCESS", + "finishTime" : 1371222080052, + "attemptID" : "attempt_1369942127770_1205_m_000023_0", + "clockSplits" : [ 1873, 1874, 1874, 1874, 1874, 1622, 923, 924, 924, 1161, 1185, 2750 ], + "cpuUsages" : [ 1302, 1303, 1302, 1303, 1303, 1229, 1028, 1027, 1027, 755, 727, 1274 ], + "vmemKbytes" : [ 124166, 372498, 620831, 869164, 1117497, 1357087, 1424104, 1424103, 1424104, 1424104, 1424103, 1424104 ], + "physMemKbytes" : [ 26868, 80607, 134345, 188083, 241822, 293671, 308210, 308261, 308313, 307095, 304076, 301141 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13580, + "virtualMemoryUsage" : 1458282496, + "physicalMemoryUsage" : 307507200, + "heapUsage" : 736362496 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059063, + "taskID" : "task_1369942127770_1205_m_000024", + "taskType" : "MAP", + "finishTime" : 1371222080302, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061188, + "result" : "SUCCESS", + "finishTime" : 1371222080302, + "attemptID" : "attempt_1369942127770_1205_m_000024_0", + "clockSplits" : [ 2106, 2107, 2107, 2106, 2107, 1429, 1184, 1182, 1159, 1159, 1920, 542 ], + "cpuUsages" : [ 1331, 1331, 1332, 1331, 1331, 1174, 1116, 1098, 957, 957, 1087, 1445 ], + "vmemKbytes" : [ 134890, 404670, 674451, 944231, 1214012, 1410949, 1420432, 1420431, 1420432, 1420432, 1420431, 1420432 ], + "physMemKbytes" : [ 28316, 84948, 141580, 198211, 254844, 296319, 298789, 299283, 299498, 299534, 299556, 299285 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14490, + "virtualMemoryUsage" : 1454522368, + "physicalMemoryUsage" : 306270208, + "heapUsage" : 742981632 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059063, + "taskID" : "task_1369942127770_1205_m_000025", + "taskType" : "MAP", + "finishTime" : 1371222080632, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061188, + "result" : "SUCCESS", + "finishTime" : 1371222080632, + "attemptID" : "attempt_1369942127770_1205_m_000025_0", + "clockSplits" : [ 1860, 1860, 1860, 1861, 1860, 1610, 1421, 3187, 3528, 128, 128, 129 ], + "cpuUsages" : [ 1300, 1300, 1300, 1300, 1301, 1224, 1167, 1370, 1043, 928, 928, 929 ], + "vmemKbytes" : [ 130800, 392403, 654005, 915607, 1177210, 1396290, 1420456, 1420455, 1420456, 1420456, 1420455, 1420456 ], + "physMemKbytes" : [ 29090, 87270, 145451, 203632, 261813, 309693, 310356, 306542, 311703, 310079, 308271, 306464 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14090, + "virtualMemoryUsage" : 1454546944, + "physicalMemoryUsage" : 312893440, + "heapUsage" : 737214464 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059063, + "taskID" : "task_1369942127770_1205_m_000026", + "taskType" : "MAP", + "finishTime" : 1371222080672, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061191, + "result" : "SUCCESS", + "finishTime" : 1371222080672, + "attemptID" : "attempt_1369942127770_1205_m_000026_0", + "clockSplits" : [ 2007, 2007, 2008, 2007, 2007, 1238, 1132, 1218, 1845, 3515, 225, 225 ], + "cpuUsages" : [ 1331, 1332, 1332, 1332, 1332, 1209, 1192, 1188, 1165, 1134, 1096, 1097 ], + "vmemKbytes" : [ 137621, 412863, 688106, 963348, 1238591, 1407402, 1409404, 1409403, 1409404, 1409404, 1409403, 1409404 ], + "physMemKbytes" : [ 30191, 90575, 150959, 211342, 271726, 307874, 306038, 303761, 302896, 302808, 301704, 300384 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14740, + "virtualMemoryUsage" : 1443229696, + "physicalMemoryUsage" : 306917376, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059064, + "taskID" : "task_1369942127770_1205_m_000027", + "taskType" : "MAP", + "finishTime" : 1371222081541, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061193, + "result" : "SUCCESS", + "finishTime" : 1371222081541, + "attemptID" : "attempt_1369942127770_1205_m_000027_0", + "clockSplits" : [ 1920, 1921, 1921, 1920, 1921, 1430, 1280, 3682, 1168, 780, 780, 1620 ], + "cpuUsages" : [ 1362, 1362, 1362, 1362, 1363, 1239, 1201, 1547, 995, 930, 929, 1238 ], + "vmemKbytes" : [ 137700, 413102, 688504, 963905, 1239308, 1433933, 1441480, 1441479, 1441480, 1441480, 1441479, 1441480 ], + "physMemKbytes" : [ 29565, 88698, 147830, 206962, 266095, 308482, 312089, 314493, 316975, 315186, 313383, 311581 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14890, + "virtualMemoryUsage" : 1476075520, + "physicalMemoryUsage" : 318078976, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059064, + "taskID" : "task_1369942127770_1205_m_000028", + "taskType" : "MAP", + "finishTime" : 1371222080630, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061190, + "result" : "SUCCESS", + "finishTime" : 1371222080630, + "attemptID" : "attempt_1369942127770_1205_m_000028_0", + "clockSplits" : [ 2031, 2031, 2032, 2031, 2032, 1270, 1145, 1198, 1543, 3690, 212, 213 ], + "cpuUsages" : [ 1318, 1318, 1319, 1318, 1318, 1074, 1032, 1028, 997, 1001, 1033, 1034 ], + "vmemKbytes" : [ 138260, 414780, 691301, 967821, 1244342, 1419237, 1422052, 1422051, 1422052, 1422052, 1422051, 1422052 ], + "physMemKbytes" : [ 29586, 88758, 147930, 207102, 266275, 304866, 308604, 311744, 312930, 312923, 312015, 310530 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13790, + "virtualMemoryUsage" : 1456181248, + "physicalMemoryUsage" : 317222912, + "heapUsage" : 744620032 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059064, + "taskID" : "task_1369942127770_1205_m_000029", + "taskType" : "MAP", + "finishTime" : 1371222080196, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222061192, + "result" : "SUCCESS", + "finishTime" : 1371222080196, + "attemptID" : "attempt_1369942127770_1205_m_000029_0", + "clockSplits" : [ 2041, 2041, 2042, 2041, 2041, 1432, 1199, 1193, 1146, 1147, 2130, 545 ], + "cpuUsages" : [ 1372, 1372, 1372, 1373, 1372, 1165, 1087, 1080, 1032, 1033, 1054, 1088 ], + "vmemKbytes" : [ 135224, 405672, 676121, 946570, 1217019, 1416578, 1426876, 1426875, 1426876, 1426876, 1426875, 1426876 ], + "physMemKbytes" : [ 28101, 84303, 140506, 196709, 252912, 295457, 301536, 305584, 305557, 302915, 300478, 299963 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14400, + "virtualMemoryUsage" : 1461121024, + "physicalMemoryUsage" : 307138560, + "heapUsage" : 740556800 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059065, + "taskID" : "task_1369942127770_1205_m_000030", + "taskType" : "MAP", + "finishTime" : 1371222095399, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222077057, + "result" : "SUCCESS", + "finishTime" : 1371222095399, + "attemptID" : "attempt_1369942127770_1205_m_000030_0", + "clockSplits" : [ 2140, 2140, 2140, 2140, 1862, 1004, 1003, 984, 822, 822, 822, 2455 ], + "cpuUsages" : [ 1207, 1207, 1207, 1207, 1120, 851, 851, 857, 906, 905, 906, 1366 ], + "vmemKbytes" : [ 149343, 448029, 746716, 1045403, 1335142, 1420323, 1420324, 1420323, 1420324, 1420324, 1420323, 1420324 ], + "physMemKbytes" : [ 31929, 95787, 159645, 223502, 285438, 303417, 303091, 302749, 300865, 297952, 295038, 292244 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12590, + "virtualMemoryUsage" : 1454411776, + "physicalMemoryUsage" : 298463232, + "heapUsage" : 728760320 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059065, + "taskID" : "task_1369942127770_1205_m_000031", + "taskType" : "MAP", + "finishTime" : 1371222101752, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222078069, + "result" : "SUCCESS", + "finishTime" : 1371222101752, + "attemptID" : "attempt_1369942127770_1205_m_000031_0", + "clockSplits" : [ 2274, 2274, 2274, 2274, 3454, 978, 978, 1034, 1463, 1462, 2573, 529 ], + "cpuUsages" : [ 1334, 1334, 1334, 1335, 1214, 1033, 1033, 1023, 944, 943, 1021, 1022 ], + "vmemKbytes" : [ 179277, 537833, 896388, 1254943, 1440327, 1440379, 1440380, 1440379, 1440380, 1440380, 1440379, 1440380 ], + "physMemKbytes" : [ 38140, 114421, 190703, 266984, 306533, 307559, 308886, 310183, 308915, 305992, 304523, 304521 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13810, + "virtualMemoryUsage" : 1474949120, + "physicalMemoryUsage" : 315183104, + "heapUsage" : 728956928 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059065, + "taskID" : "task_1369942127770_1205_m_000032", + "taskType" : "MAP", + "finishTime" : 1371222102468, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222080073, + "result" : "SUCCESS", + "finishTime" : 1371222102468, + "attemptID" : "attempt_1369942127770_1205_m_000032_0", + "clockSplits" : [ 2030, 2030, 2031, 2030, 1666, 982, 982, 1072, 1743, 1650, 1476, 4204 ], + "cpuUsages" : [ 1109, 1109, 1109, 1110, 1120, 1139, 1140, 1119, 972, 937, 873, 1313 ], + "vmemKbytes" : [ 153120, 459362, 765604, 1071845, 1359504, 1424519, 1424520, 1424519, 1424520, 1424520, 1424519, 1424520 ], + "physMemKbytes" : [ 32822, 98466, 164110, 229754, 291374, 304780, 304107, 303437, 303182, 302954, 299856, 296038 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13420, + "virtualMemoryUsage" : 1458708480, + "physicalMemoryUsage" : 307167232, + "heapUsage" : 728825856 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059065, + "taskID" : "task_1369942127770_1205_m_000033", + "taskType" : "MAP", + "finishTime" : 1371222101998, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222080074, + "result" : "SUCCESS", + "finishTime" : 1371222101998, + "attemptID" : "attempt_1369942127770_1205_m_000033_0", + "clockSplits" : [ 2253, 2254, 2254, 2254, 1075, 1055, 1055, 1607, 1658, 1287, 1210, 3957 ], + "cpuUsages" : [ 1286, 1287, 1287, 1287, 1060, 1056, 1056, 1356, 1385, 1130, 1076, 1364 ], + "vmemKbytes" : [ 176727, 530182, 883638, 1237093, 1419839, 1419891, 1419892, 1419891, 1419892, 1419892, 1419891, 1419892 ], + "physMemKbytes" : [ 34968, 104906, 174844, 244781, 281486, 282625, 283754, 284431, 284483, 285884, 289832, 293683 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14630, + "virtualMemoryUsage" : 1453969408, + "physicalMemoryUsage" : 301670400, + "heapUsage" : 677380096 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059066, + "taskID" : "task_1369942127770_1205_m_000034", + "taskType" : "MAP", + "finishTime" : 1371222102416, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222080074, + "result" : "SUCCESS", + "finishTime" : 1371222102416, + "attemptID" : "attempt_1369942127770_1205_m_000034_0", + "clockSplits" : [ 2608, 2609, 2608, 2609, 1753, 770, 771, 770, 856, 994, 994, 3824 ], + "cpuUsages" : [ 1296, 1297, 1296, 1297, 1205, 1099, 1098, 1099, 1020, 889, 890, 1044 ], + "vmemKbytes" : [ 158696, 476089, 793483, 1110876, 1393919, 1439299, 1439300, 1439299, 1439300, 1439300, 1439299, 1439300 ], + "physMemKbytes" : [ 34127, 102381, 170635, 238889, 299969, 311412, 313378, 315343, 317033, 315889, 314000, 312155 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13820, + "virtualMemoryUsage" : 1473843200, + "physicalMemoryUsage" : 319066112, + "heapUsage" : 740556800 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059066, + "taskID" : "task_1369942127770_1205_m_000035", + "taskType" : "MAP", + "finishTime" : 1371222102415, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222081100, + "result" : "SUCCESS", + "finishTime" : 1371222102415, + "attemptID" : "attempt_1369942127770_1205_m_000035_0", + "clockSplits" : [ 4636, 4637, 1169, 1033, 1033, 670, 655, 655, 655, 3321, 143, 143 ], + "cpuUsages" : [ 1717, 1718, 1013, 985, 986, 885, 881, 881, 881, 908, 1012, 1013 ], + "vmemKbytes" : [ 348902, 1046707, 1421400, 1421895, 1421896, 1421895, 1421896, 1421895, 1421896, 1421896, 1421895, 1421896 ], + "physMemKbytes" : [ 71074, 213222, 292772, 299823, 306780, 310573, 310648, 310717, 310786, 310854, 310865, 310851 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13200, + "virtualMemoryUsage" : 1456021504, + "physicalMemoryUsage" : 318390272, + "heapUsage" : 731447296 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059066, + "taskID" : "task_1369942127770_1205_m_000036", + "taskType" : "MAP", + "finishTime" : 1371222125169, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222081101, + "result" : "SUCCESS", + "finishTime" : 1371222125169, + "attemptID" : "attempt_1369942127770_1205_m_000036_0", + "clockSplits" : [ 6230, 3745, 1243, 1242, 1250, 1249, 1335, 1441, 1332, 1024, 1024, 22949 ], + "cpuUsages" : [ 2117, 1566, 1010, 1011, 961, 960, 1002, 1055, 988, 801, 801, 1438 ], + "vmemKbytes" : [ 474617, 1306098, 1425656, 1425655, 1425656, 1425655, 1425656, 1425655, 1425656, 1425656, 1425655, 1425656 ], + "physMemKbytes" : [ 88814, 246089, 280314, 293875, 300976, 301213, 301436, 301555, 301570, 299938, 297659, 295692 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13710, + "virtualMemoryUsage" : 1459871744, + "physicalMemoryUsage" : 303833088, + "heapUsage" : 727973888 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059067, + "taskID" : "task_1369942127770_1205_m_000037", + "taskType" : "MAP", + "finishTime" : 1371222103766, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222081107, + "result" : "SUCCESS", + "finishTime" : 1371222103766, + "attemptID" : "attempt_1369942127770_1205_m_000037_0", + "clockSplits" : [ 5242, 4571, 1409, 1409, 1234, 1232, 1096, 946, 945, 2922, 485, 485 ], + "cpuUsages" : [ 1863, 1705, 964, 963, 1018, 1018, 961, 896, 896, 892, 877, 877 ], + "vmemKbytes" : [ 390265, 1158821, 1424332, 1424331, 1424332, 1424331, 1424332, 1424331, 1424332, 1424332, 1424331, 1424332 ], + "physMemKbytes" : [ 77364, 229859, 288579, 297802, 302713, 303041, 303341, 303445, 303514, 303521, 301077, 297356 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13440, + "virtualMemoryUsage" : 1458515968, + "physicalMemoryUsage" : 303296512, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059067, + "taskID" : "task_1369942127770_1205_m_000038", + "taskType" : "MAP", + "finishTime" : 1371222102985, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222081108, + "result" : "SUCCESS", + "finishTime" : 1371222102985, + "attemptID" : "attempt_1369942127770_1205_m_000038_0", + "clockSplits" : [ 3604, 3605, 2556, 894, 894, 894, 1661, 1683, 801, 800, 800, 3680 ], + "cpuUsages" : [ 1519, 1519, 1354, 1093, 1093, 1093, 1206, 1172, 767, 766, 766, 1152 ], + "vmemKbytes" : [ 269653, 808959, 1307904, 1409271, 1409272, 1409271, 1409272, 1409271, 1409272, 1409272, 1409271, 1409272 ], + "physMemKbytes" : [ 56075, 168226, 272040, 293728, 294479, 295228, 297304, 301666, 302286, 300462, 298637, 296864 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13500, + "virtualMemoryUsage" : 1443094528, + "physicalMemoryUsage" : 303415296, + "heapUsage" : 734986240 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059067, + "taskID" : "task_1369942127770_1205_m_000039", + "taskType" : "MAP", + "finishTime" : 1371222102412, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222081122, + "result" : "SUCCESS", + "finishTime" : 1371222102412, + "attemptID" : "attempt_1369942127770_1205_m_000039_0", + "clockSplits" : [ 2243, 2243, 2243, 2243, 1297, 1281, 1209, 1149, 1148, 1142, 1139, 1139 ], + "cpuUsages" : [ 1346, 1347, 1347, 1346, 1136, 1131, 1212, 1279, 1278, 996, 906, 906 ], + "vmemKbytes" : [ 176693, 530079, 883466, 1236853, 1419563, 1419615, 1419616, 1419615, 1419616, 1419616, 1419615, 1419616 ], + "physMemKbytes" : [ 38075, 114226, 190377, 266528, 305978, 306151, 306399, 307073, 307808, 308344, 308411, 308460 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14520, + "virtualMemoryUsage" : 1453686784, + "physicalMemoryUsage" : 315822080, + "heapUsage" : 732823552 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059068, + "taskID" : "task_1369942127770_1205_m_000040", + "taskType" : "MAP", + "finishTime" : 1371222103554, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222081118, + "result" : "SUCCESS", + "finishTime" : 1371222103554, + "attemptID" : "attempt_1369942127770_1205_m_000040_0", + "clockSplits" : [ 4372, 4372, 2703, 1678, 1229, 1040, 1041, 902, 737, 738, 738, 2881 ], + "cpuUsages" : [ 1756, 1756, 1411, 1200, 1199, 1198, 1199, 1027, 823, 823, 823, 1025 ], + "vmemKbytes" : [ 298429, 895288, 1377502, 1420639, 1420640, 1420639, 1420640, 1420639, 1420640, 1420640, 1420639, 1420640 ], + "physMemKbytes" : [ 58537, 175611, 270284, 279159, 280291, 283392, 286616, 290044, 294932, 300108, 305284, 310287 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14240, + "virtualMemoryUsage" : 1454735360, + "physicalMemoryUsage" : 319156224, + "heapUsage" : 678690816 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059068, + "taskID" : "task_1369942127770_1205_m_000041", + "taskType" : "MAP", + "finishTime" : 1371222101748, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222081109, + "result" : "SUCCESS", + "finishTime" : 1371222101748, + "attemptID" : "attempt_1369942127770_1205_m_000041_0", + "clockSplits" : [ 3312, 3313, 3219, 801, 802, 802, 802, 889, 889, 889, 2693, 837 ], + "cpuUsages" : [ 1508, 1509, 1490, 985, 985, 985, 986, 1108, 1109, 1108, 971, 846 ], + "vmemKbytes" : [ 242835, 728505, 1213832, 1438767, 1438768, 1438767, 1438768, 1438767, 1438768, 1438768, 1438767, 1438768 ], + "physMemKbytes" : [ 52179, 156537, 260822, 309253, 309436, 309618, 309801, 308717, 306403, 304088, 302092, 301832 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13690, + "virtualMemoryUsage" : 1473298432, + "physicalMemoryUsage" : 309014528, + "heapUsage" : 723976192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059068, + "taskID" : "task_1369942127770_1205_m_000042", + "taskType" : "MAP", + "finishTime" : 1371222103767, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222081119, + "result" : "SUCCESS", + "finishTime" : 1371222103767, + "attemptID" : "attempt_1369942127770_1205_m_000042_0", + "clockSplits" : [ 3561, 3561, 3262, 2606, 888, 859, 859, 1003, 1314, 1315, 3006, 196 ], + "cpuUsages" : [ 1552, 1552, 1459, 1255, 1134, 1133, 1132, 1045, 857, 857, 789, 785 ], + "vmemKbytes" : [ 267994, 803983, 1313613, 1439867, 1439868, 1439867, 1439868, 1439867, 1439868, 1439868, 1439867, 1439868 ], + "physMemKbytes" : [ 57155, 171467, 280300, 309448, 311589, 312912, 314235, 315324, 313077, 309747, 307880, 307877 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13740, + "virtualMemoryUsage" : 1474424832, + "physicalMemoryUsage" : 318595072, + "heapUsage" : 723779584 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059068, + "taskID" : "task_1369942127770_1205_m_000043", + "taskType" : "MAP", + "finishTime" : 1371222103881, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222081121, + "result" : "SUCCESS", + "finishTime" : 1371222103881, + "attemptID" : "attempt_1369942127770_1205_m_000043_0", + "clockSplits" : [ 3716, 3716, 2909, 1143, 1144, 1262, 1372, 1465, 1825, 3631, 197, 197 ], + "cpuUsages" : [ 1623, 1623, 1461, 1106, 1107, 1215, 1316, 1250, 988, 939, 886, 886 ], + "vmemKbytes" : [ 262336, 787009, 1285817, 1409271, 1409272, 1409271, 1409272, 1409271, 1409272, 1409272, 1409271, 1409272 ], + "physMemKbytes" : [ 54165, 162495, 265672, 294053, 297834, 301158, 301963, 302374, 302514, 302198, 299793, 297016 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14500, + "virtualMemoryUsage" : 1443094528, + "physicalMemoryUsage" : 302665728, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059069, + "taskID" : "task_1369942127770_1205_m_000044", + "taskType" : "MAP", + "finishTime" : 1371222102868, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222081121, + "result" : "SUCCESS", + "finishTime" : 1371222102868, + "attemptID" : "attempt_1369942127770_1205_m_000044_0", + "clockSplits" : [ 3420, 3421, 2683, 1617, 1400, 1158, 1158, 3301, 2885, 154, 154, 155 ], + "cpuUsages" : [ 1443, 1443, 1405, 1350, 1224, 1085, 1085, 1191, 924, 903, 903, 904 ], + "vmemKbytes" : [ 271947, 815841, 1314315, 1409403, 1409404, 1409403, 1409404, 1409403, 1409404, 1409404, 1409403, 1409404 ], + "physMemKbytes" : [ 56476, 169428, 273297, 296495, 300225, 300941, 301104, 302318, 304696, 304473, 304240, 304008 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13940, + "virtualMemoryUsage" : 1443229696, + "physicalMemoryUsage" : 311136256, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059069, + "taskID" : "task_1369942127770_1205_m_000045", + "taskType" : "MAP", + "finishTime" : 1371222127471, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222081121, + "result" : "SUCCESS", + "finishTime" : 1371222127471, + "attemptID" : "attempt_1369942127770_1205_m_000045_0", + "clockSplits" : [ 4495, 4496, 1624, 1019, 1020, 1151, 1211, 1978, 28975, 125, 125, 125 ], + "cpuUsages" : [ 1757, 1757, 1255, 1150, 1150, 1108, 1090, 1085, 1209, 816, 816, 817 ], + "vmemKbytes" : [ 326114, 978343, 1408153, 1418043, 1418044, 1418043, 1418044, 1418043, 1418044, 1418044, 1418043, 1418044 ], + "physMemKbytes" : [ 67381, 202144, 292944, 300742, 306585, 311066, 311413, 311477, 311272, 310097, 308858, 307619 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14010, + "virtualMemoryUsage" : 1452077056, + "physicalMemoryUsage" : 314368000, + "heapUsage" : 721223680 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059069, + "taskID" : "task_1369942127770_1205_m_000046", + "taskType" : "MAP", + "finishTime" : 1371222124895, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222082113, + "result" : "SUCCESS", + "finishTime" : 1371222124895, + "attemptID" : "attempt_1369942127770_1205_m_000046_0", + "clockSplits" : [ 3256, 3257, 3256, 3257, 1592, 889, 889, 867, 781, 782, 781, 23168 ], + "cpuUsages" : [ 1366, 1366, 1366, 1366, 1331, 1318, 1318, 1230, 906, 907, 906, 1320 ], + "vmemKbytes" : [ 165057, 495172, 825288, 1155403, 1403989, 1418567, 1418568, 1418567, 1418568, 1418568, 1418567, 1418568 ], + "physMemKbytes" : [ 30439, 91319, 152199, 213078, 259370, 263787, 265596, 267636, 276563, 288702, 300841, 312600 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14700, + "virtualMemoryUsage" : 1452613632, + "physicalMemoryUsage" : 323588096, + "heapUsage" : 675282944 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059070, + "taskID" : "task_1369942127770_1205_m_000047", + "taskType" : "MAP", + "finishTime" : 1371222102985, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222082114, + "result" : "SUCCESS", + "finishTime" : 1371222102985, + "attemptID" : "attempt_1369942127770_1205_m_000047_0", + "clockSplits" : [ 4299, 4300, 2006, 1431, 1084, 884, 883, 874, 802, 802, 802, 2699 ], + "cpuUsages" : [ 1763, 1763, 1335, 1228, 1182, 1155, 1156, 1116, 822, 822, 822, 1126 ], + "vmemKbytes" : [ 320229, 960687, 1396409, 1409271, 1409272, 1409271, 1409272, 1409271, 1409272, 1409272, 1409271, 1409272 ], + "physMemKbytes" : [ 63258, 189774, 277972, 287030, 292846, 295605, 298083, 300529, 300299, 298352, 296405, 294521 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14290, + "virtualMemoryUsage" : 1443094528, + "physicalMemoryUsage" : 301035520, + "heapUsage" : 724041728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059070, + "taskID" : "task_1369942127770_1205_m_000048", + "taskType" : "MAP", + "finishTime" : 1371222102897, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222082113, + "result" : "SUCCESS", + "finishTime" : 1371222102897, + "attemptID" : "attempt_1369942127770_1205_m_000048_0", + "clockSplits" : [ 2803, 2803, 2804, 1930, 902, 901, 902, 3220, 799, 798, 799, 2118 ], + "cpuUsages" : [ 1423, 1423, 1424, 1233, 1010, 1009, 1009, 1396, 817, 818, 817, 1261 ], + "vmemKbytes" : [ 199009, 597028, 995047, 1351087, 1409272, 1409271, 1409272, 1409271, 1409272, 1409272, 1409271, 1409272 ], + "physMemKbytes" : [ 43013, 129039, 215066, 291871, 303240, 301826, 300413, 299727, 299138, 298063, 296988, 296589 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13640, + "virtualMemoryUsage" : 1443094528, + "physicalMemoryUsage" : 307924992, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059070, + "taskID" : "task_1369942127770_1205_m_000049", + "taskType" : "MAP", + "finishTime" : 1371222129137, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222082116, + "result" : "SUCCESS", + "finishTime" : 1371222129137, + "attemptID" : "attempt_1369942127770_1205_m_000049_0", + "clockSplits" : [ 2860, 2861, 2861, 2861, 1894, 1005, 1005, 7694, 5464, 5464, 5464, 7263 ], + "cpuUsages" : [ 1406, 1406, 1407, 1406, 1267, 1138, 1137, 1367, 736, 735, 736, 1109 ], + "vmemKbytes" : [ 160162, 480486, 800810, 1121133, 1398054, 1434867, 1434868, 1434867, 1434868, 1434868, 1434867, 1434868 ], + "physMemKbytes" : [ 30785, 92356, 153927, 215498, 269221, 279523, 283170, 286860, 294606, 304983, 315359, 325403 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13910, + "virtualMemoryUsage" : 1469304832, + "physicalMemoryUsage" : 336125952, + "heapUsage" : 675872768 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059071, + "taskID" : "task_1369942127770_1205_m_000050", + "taskType" : "MAP", + "finishTime" : 1371222103702, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222082115, + "result" : "SUCCESS", + "finishTime" : 1371222103702, + "attemptID" : "attempt_1369942127770_1205_m_000050_0", + "clockSplits" : [ 3070, 3071, 3071, 3030, 1063, 1064, 1063, 981, 981, 980, 2531, 678 ], + "cpuUsages" : [ 1472, 1472, 1473, 1465, 1137, 1137, 1136, 1360, 1362, 1361, 920, 815 ], + "vmemKbytes" : [ 177976, 533928, 889881, 1245762, 1416656, 1416655, 1416656, 1416913, 1417437, 1417960, 1418314, 1418324 ], + "physMemKbytes" : [ 34783, 104349, 173916, 243470, 282136, 292267, 302399, 307271, 306752, 306233, 305870, 305826 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 15110, + "virtualMemoryUsage" : 1452363776, + "physicalMemoryUsage" : 313147392, + "heapUsage" : 663683072 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059071, + "taskID" : "task_1369942127770_1205_m_000051", + "taskType" : "MAP", + "finishTime" : 1371222114762, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222082116, + "result" : "SUCCESS", + "finishTime" : 1371222114762, + "attemptID" : "attempt_1369942127770_1205_m_000051_0", + "clockSplits" : [ 2776, 2776, 2776, 2776, 2052, 1135, 1135, 15865, 337, 337, 337, 337 ], + "cpuUsages" : [ 1381, 1382, 1382, 1382, 1259, 1102, 1103, 1505, 806, 806, 806, 806 ], + "vmemKbytes" : [ 157661, 472983, 788305, 1103627, 1388243, 1437451, 1437452, 1437451, 1437452, 1437452, 1437451, 1437452 ], + "physMemKbytes" : [ 32208, 96626, 161044, 225461, 284440, 301714, 310271, 317790, 318550, 317867, 317184, 316501 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13720, + "virtualMemoryUsage" : 1471950848, + "physicalMemoryUsage" : 323747840, + "heapUsage" : 657391616 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059071, + "taskID" : "task_1369942127770_1205_m_000052", + "taskType" : "MAP", + "finishTime" : 1371222116084, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222082115, + "result" : "SUCCESS", + "finishTime" : 1371222116084, + "attemptID" : "attempt_1369942127770_1205_m_000052_0", + "clockSplits" : [ 3007, 3008, 3007, 3008, 1568, 1223, 1222, 15532, 596, 597, 597, 597 ], + "cpuUsages" : [ 1507, 1507, 1507, 1507, 1238, 1175, 1174, 1321, 776, 776, 776, 776 ], + "vmemKbytes" : [ 169124, 507373, 845623, 1183872, 1412160, 1418503, 1418504, 1418503, 1418504, 1418504, 1418503, 1418504 ], + "physMemKbytes" : [ 32359, 97079, 161798, 226517, 275030, 290830, 305697, 313100, 310842, 308599, 306356, 304113 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14040, + "virtualMemoryUsage" : 1452548096, + "physicalMemoryUsage" : 310263808, + "heapUsage" : 656736256 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059071, + "taskID" : "task_1369942127770_1205_m_000053", + "taskType" : "MAP", + "finishTime" : 1371222103694, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222083110, + "result" : "SUCCESS", + "finishTime" : 1371222103694, + "attemptID" : "attempt_1369942127770_1205_m_000053_0", + "clockSplits" : [ 2723, 2724, 2723, 2724, 1401, 1380, 987, 720, 719, 720, 2336, 1346 ], + "cpuUsages" : [ 1461, 1462, 1462, 1462, 1176, 1172, 1031, 936, 935, 935, 957, 1051 ], + "vmemKbytes" : [ 176884, 530654, 884423, 1238192, 1420450, 1420491, 1420492, 1420491, 1420492, 1420492, 1420491, 1420492 ], + "physMemKbytes" : [ 38706, 116120, 193534, 270947, 310895, 311037, 311316, 312193, 313137, 314081, 315011, 315367 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14100, + "virtualMemoryUsage" : 1454583808, + "physicalMemoryUsage" : 322899968, + "heapUsage" : 742457344 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059072, + "taskID" : "task_1369942127770_1205_m_000054", + "taskType" : "MAP", + "finishTime" : 1371222127757, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222083125, + "result" : "SUCCESS", + "finishTime" : 1371222127757, + "attemptID" : "attempt_1369942127770_1205_m_000054_0", + "clockSplits" : [ 3770, 3770, 3350, 1454, 1455, 1119, 1113, 4738, 5863, 5864, 5864, 5864 ], + "cpuUsages" : [ 1933, 1934, 1782, 1099, 1099, 1086, 1086, 1152, 789, 790, 790, 790 ], + "vmemKbytes" : [ 255816, 767448, 1270616, 1440657, 1438670, 1437636, 1437636, 1437623, 1436443, 1434504, 1432565, 1430626 ], + "physMemKbytes" : [ 53820, 161460, 267313, 302807, 301966, 303414, 307344, 311222, 310193, 305969, 301744, 297520 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14690, + "virtualMemoryUsage" : 1463967744, + "physicalMemoryUsage" : 302465024, + "heapUsage" : 742260736 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059072, + "taskID" : "task_1369942127770_1205_m_000055", + "taskType" : "MAP", + "finishTime" : 1371222103714, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222083112, + "result" : "SUCCESS", + "finishTime" : 1371222103714, + "attemptID" : "attempt_1369942127770_1205_m_000055_0", + "clockSplits" : [ 2702, 2702, 2702, 2702, 1233, 1210, 1258, 1338, 3529, 268, 268, 268 ], + "cpuUsages" : [ 1441, 1442, 1442, 1442, 1145, 1140, 1151, 1168, 1147, 810, 811, 811 ], + "vmemKbytes" : [ 178795, 536385, 893975, 1251564, 1434355, 1431439, 1428693, 1428123, 1428124, 1428124, 1428123, 1428124 ], + "physMemKbytes" : [ 38002, 114007, 190012, 266017, 303836, 301085, 298665, 299727, 301696, 301927, 300774, 299621 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14200, + "virtualMemoryUsage" : 1462398976, + "physicalMemoryUsage" : 306319360, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059072, + "taskID" : "task_1369942127770_1205_m_000056", + "taskType" : "MAP", + "finishTime" : 1371222103849, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222083165, + "result" : "SUCCESS", + "finishTime" : 1371222103849, + "attemptID" : "attempt_1369942127770_1205_m_000056_0", + "clockSplits" : [ 1942, 1942, 1942, 1943, 1942, 1815, 1471, 1602, 2567, 3041, 158, 159 ], + "cpuUsages" : [ 1364, 1365, 1365, 1365, 1365, 1347, 1296, 1278, 1135, 891, 864, 865 ], + "vmemKbytes" : [ 125438, 376316, 627194, 878071, 1128949, 1370541, 1435402, 1432859, 1428772, 1425767, 1425743, 1425744 ], + "physMemKbytes" : [ 26942, 80826, 134711, 188595, 242480, 294459, 310173, 312011, 309654, 305607, 303001, 300406 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14590, + "virtualMemoryUsage" : 1459961856, + "physicalMemoryUsage" : 306216960, + "heapUsage" : 742785024 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059073, + "taskID" : "task_1369942127770_1205_m_000057", + "taskType" : "MAP", + "finishTime" : 1371222103712, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222083127, + "result" : "SUCCESS", + "finishTime" : 1371222103712, + "attemptID" : "attempt_1369942127770_1205_m_000057_0", + "clockSplits" : [ 2428, 2429, 2428, 2429, 2428, 1847, 997, 998, 1005, 1021, 1022, 1546 ], + "cpuUsages" : [ 1364, 1364, 1364, 1364, 1364, 1191, 938, 938, 886, 752, 753, 1142 ], + "vmemKbytes" : [ 128472, 385419, 642365, 899311, 1156258, 1391627, 1433817, 1430184, 1426697, 1425764, 1425763, 1425764 ], + "physMemKbytes" : [ 27860, 83580, 139301, 195021, 250742, 301700, 310016, 308217, 306366, 303606, 300513, 297518 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13420, + "virtualMemoryUsage" : 1459982336, + "physicalMemoryUsage" : 303755264, + "heapUsage" : 744357888 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059073, + "taskID" : "task_1369942127770_1205_m_000058", + "taskType" : "MAP", + "finishTime" : 1371222122471, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222083128, + "result" : "SUCCESS", + "finishTime" : 1371222122471, + "attemptID" : "attempt_1369942127770_1205_m_000058_0", + "clockSplits" : [ 2490, 2490, 2491, 2338, 1678, 1612, 1441, 24272, 130, 131, 130, 131 ], + "cpuUsages" : [ 1390, 1390, 1390, 1352, 1192, 1144, 1016, 1333, 848, 848, 848, 849 ], + "vmemKbytes" : [ 184824, 554474, 924124, 1287306, 1409448, 1409447, 1409448, 1409447, 1409448, 1409448, 1409447, 1409448 ], + "physMemKbytes" : [ 39675, 119026, 198377, 276344, 302719, 302849, 301090, 298636, 297427, 296963, 296499, 296036 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13600, + "virtualMemoryUsage" : 1443274752, + "physicalMemoryUsage" : 302903296, + "heapUsage" : 718929920 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059073, + "taskID" : "task_1369942127770_1205_m_000059", + "taskType" : "MAP", + "finishTime" : 1371222124673, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222083120, + "result" : "SUCCESS", + "finishTime" : 1371222124673, + "attemptID" : "attempt_1369942127770_1205_m_000059_0", + "clockSplits" : [ 2762, 2762, 2763, 2762, 1265, 1242, 1113, 964, 964, 1098, 1562, 22290 ], + "cpuUsages" : [ 1534, 1534, 1534, 1534, 1104, 1098, 1078, 1053, 1054, 977, 714, 1136 ], + "vmemKbytes" : [ 178607, 535821, 893035, 1250249, 1432998, 1430391, 1428024, 1427639, 1427640, 1427640, 1427639, 1427640 ], + "physMemKbytes" : [ 34082, 102247, 170412, 238577, 281383, 297244, 311441, 313974, 314247, 314480, 313649, 312382 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14350, + "virtualMemoryUsage" : 1461903360, + "physicalMemoryUsage" : 319496192, + "heapUsage" : 663027712 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059073, + "taskID" : "task_1369942127770_1205_m_000060", + "taskType" : "MAP", + "finishTime" : 1371222116128, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222097139, + "result" : "SUCCESS", + "finishTime" : 1371222116128, + "attemptID" : "attempt_1369942127770_1205_m_000060_0", + "clockSplits" : [ 1500, 1501, 1500, 1501, 1500, 1501, 1487, 1433, 1426, 1113, 1114, 3407 ], + "cpuUsages" : [ 1038, 1039, 1038, 1039, 1038, 1039, 1025, 968, 966, 874, 873, 1403 ], + "vmemKbytes" : [ 105321, 315966, 526611, 737256, 947901, 1158545, 1365245, 1432246, 1429737, 1428540, 1428539, 1428540 ], + "physMemKbytes" : [ 22420, 67262, 112104, 156945, 201787, 246628, 290619, 304477, 303341, 301354, 298591, 295908 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12340, + "virtualMemoryUsage" : 1462824960, + "physicalMemoryUsage" : 302157824, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059074, + "taskID" : "task_1369942127770_1205_m_000061", + "taskType" : "MAP", + "finishTime" : 1371222116509, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222103155, + "result" : "SUCCESS", + "finishTime" : 1371222116509, + "attemptID" : "attempt_1369942127770_1205_m_000061_0", + "clockSplits" : [ 1102, 1103, 1103, 1103, 1102, 1103, 1103, 1103, 1105, 1105, 2090, 227 ], + "cpuUsages" : [ 1023, 1024, 1023, 1024, 1024, 1023, 1024, 998, 914, 913, 1030, 1230 ], + "vmemKbytes" : [ 91613, 274839, 458066, 641293, 824520, 1007746, 1190973, 1369212, 1423060, 1423060, 1423059, 1423060 ], + "physMemKbytes" : [ 19978, 59934, 99891, 139848, 179805, 219762, 259719, 298545, 309145, 307525, 306010, 305645 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12250, + "virtualMemoryUsage" : 1457213440, + "physicalMemoryUsage" : 312954880, + "heapUsage" : 724041728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059074, + "taskID" : "task_1369942127770_1205_m_000062", + "taskType" : "MAP", + "finishTime" : 1371222120045, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222103156, + "result" : "SUCCESS", + "finishTime" : 1371222120045, + "attemptID" : "attempt_1369942127770_1205_m_000062_0", + "clockSplits" : [ 1830, 1830, 1831, 1830, 1519, 770, 770, 769, 812, 1065, 1065, 2792 ], + "cpuUsages" : [ 1251, 1252, 1251, 1252, 1189, 1038, 1037, 1038, 1015, 876, 875, 1306 ], + "vmemKbytes" : [ 149737, 449211, 748686, 1048161, 1334683, 1409291, 1409292, 1409291, 1409292, 1409292, 1409291, 1409292 ], + "physMemKbytes" : [ 32142, 96428, 160713, 224998, 286484, 302152, 301689, 301225, 300738, 298783, 295954, 293214 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13380, + "virtualMemoryUsage" : 1443115008, + "physicalMemoryUsage" : 299433984, + "heapUsage" : 723779584 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059074, + "taskID" : "task_1369942127770_1205_m_000063", + "taskType" : "MAP", + "finishTime" : 1371222117644, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222103154, + "result" : "SUCCESS", + "finishTime" : 1371222117644, + "attemptID" : "attempt_1369942127770_1205_m_000063_0", + "clockSplits" : [ 1249, 1250, 1250, 1249, 1250, 1250, 1298, 1478, 4009, 67, 67, 67 ], + "cpuUsages" : [ 1103, 1103, 1103, 1104, 1103, 1103, 1096, 1068, 1060, 989, 989, 989 ], + "vmemKbytes" : [ 104541, 313625, 522708, 731791, 940876, 1149959, 1354370, 1419379, 1419380, 1419380, 1419379, 1419380 ], + "physMemKbytes" : [ 22813, 68439, 114065, 159690, 205317, 250942, 295600, 311369, 313657, 314573, 314492, 314412 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12810, + "virtualMemoryUsage" : 1453445120, + "physicalMemoryUsage" : 321916928, + "heapUsage" : 728825856 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059075, + "taskID" : "task_1369942127770_1205_m_000064", + "taskType" : "MAP", + "finishTime" : 1371222117257, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222103156, + "result" : "SUCCESS", + "finishTime" : 1371222117257, + "attemptID" : "attempt_1369942127770_1205_m_000064_0", + "clockSplits" : [ 1141, 1141, 1142, 1141, 1142, 1141, 1142, 1624, 2159, 1884, 219, 220 ], + "cpuUsages" : [ 1100, 1100, 1101, 1100, 1100, 1101, 1100, 1111, 1123, 880, 877, 877 ], + "vmemKbytes" : [ 95516, 286549, 477582, 668615, 859648, 1050681, 1241715, 1411172, 1437472, 1437472, 1437471, 1437472 ], + "physMemKbytes" : [ 20537, 61611, 102686, 143760, 184835, 225910, 266985, 303753, 311949, 312235, 309723, 307212 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12570, + "virtualMemoryUsage" : 1471971328, + "physicalMemoryUsage" : 313298944, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059075, + "taskID" : "task_1369942127770_1205_m_000065", + "taskType" : "MAP", + "finishTime" : 1371222142884, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222103154, + "result" : "SUCCESS", + "finishTime" : 1371222142884, + "attemptID" : "attempt_1369942127770_1205_m_000065_0", + "clockSplits" : [ 6846, 6847, 6846, 6847, 6846, 1331, 720, 720, 720, 1574, 213, 214 ], + "cpuUsages" : [ 1068, 1069, 1069, 1068, 1069, 823, 795, 795, 796, 814, 827, 827 ], + "vmemKbytes" : [ 138171, 414514, 690857, 967200, 1243543, 1407908, 1409284, 1409283, 1409284, 1409284, 1409283, 1409284 ], + "physMemKbytes" : [ 27592, 82777, 137962, 193147, 248333, 280961, 280755, 280271, 279788, 279136, 277800, 276389 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11020, + "virtualMemoryUsage" : 1443106816, + "physicalMemoryUsage" : 282300416, + "heapUsage" : 606863360 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059075, + "taskID" : "task_1369942127770_1205_m_000066", + "taskType" : "MAP", + "finishTime" : 1371222118279, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222104206, + "result" : "SUCCESS", + "finishTime" : 1371222118279, + "attemptID" : "attempt_1369942127770_1205_m_000066_0", + "clockSplits" : [ 1309, 1310, 1310, 1310, 1309, 1310, 1093, 740, 741, 741, 2689, 206 ], + "cpuUsages" : [ 1116, 1117, 1117, 1116, 1117, 1117, 1046, 933, 933, 933, 942, 1113 ], + "vmemKbytes" : [ 107292, 321876, 536460, 751043, 965628, 1180211, 1379124, 1420075, 1420076, 1420076, 1420075, 1420076 ], + "physMemKbytes" : [ 23107, 69321, 115536, 161750, 207965, 254180, 296965, 305182, 304437, 303692, 302947, 302581 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12600, + "virtualMemoryUsage" : 1454157824, + "physicalMemoryUsage" : 309813248, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059076, + "taskID" : "task_1369942127770_1205_m_000067", + "taskType" : "MAP", + "finishTime" : 1371222122382, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222104212, + "result" : "SUCCESS", + "finishTime" : 1371222122382, + "attemptID" : "attempt_1369942127770_1205_m_000067_0", + "clockSplits" : [ 2306, 2306, 2307, 2306, 969, 948, 949, 1054, 1108, 1109, 2584, 218 ], + "cpuUsages" : [ 1454, 1454, 1455, 1454, 1273, 1269, 1270, 991, 848, 848, 1001, 1033 ], + "vmemKbytes" : [ 179001, 537003, 895005, 1253007, 1437446, 1437487, 1437488, 1437487, 1437488, 1437488, 1437487, 1437488 ], + "physMemKbytes" : [ 37869, 113607, 189345, 265083, 304399, 305018, 305630, 306131, 306267, 306373, 305816, 304030 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14350, + "virtualMemoryUsage" : 1471987712, + "physicalMemoryUsage" : 310398976, + "heapUsage" : 723779584 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059076, + "taskID" : "task_1369942127770_1205_m_000068", + "taskType" : "MAP", + "finishTime" : 1371222139789, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222104213, + "result" : "SUCCESS", + "finishTime" : 1371222139789, + "attemptID" : "attempt_1369942127770_1205_m_000068_0", + "clockSplits" : [ 7214, 7215, 7214, 7215, 722, 608, 609, 609, 608, 2851, 158, 158 ], + "cpuUsages" : [ 1219, 1220, 1220, 1220, 895, 890, 890, 890, 890, 861, 857, 858 ], + "vmemKbytes" : [ 178706, 536118, 893530, 1250942, 1435030, 1433622, 1432162, 1430701, 1429241, 1428318, 1428303, 1428304 ], + "physMemKbytes" : [ 33878, 101634, 169390, 237145, 275703, 283011, 290312, 297612, 304913, 309538, 309654, 309698 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12160, + "virtualMemoryUsage" : 1462583296, + "physicalMemoryUsage" : 317272064, + "heapUsage" : 661913600 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059076, + "taskID" : "task_1369942127770_1205_m_000069", + "taskType" : "MAP", + "finishTime" : 1371222117823, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222104211, + "result" : "SUCCESS", + "finishTime" : 1371222117823, + "attemptID" : "attempt_1369942127770_1205_m_000069_0", + "clockSplits" : [ 1345, 1346, 1346, 1346, 1345, 1346, 1251, 1080, 1080, 1943, 89, 90 ], + "cpuUsages" : [ 1283, 1284, 1284, 1284, 1284, 1284, 1262, 1222, 1222, 1068, 886, 887 ], + "vmemKbytes" : [ 107219, 321657, 536096, 750535, 964974, 1179413, 1380249, 1424691, 1424692, 1424692, 1424691, 1424692 ], + "physMemKbytes" : [ 23184, 69554, 115924, 162293, 208663, 255032, 298478, 308303, 308574, 308817, 308869, 308884 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14250, + "virtualMemoryUsage" : 1458884608, + "physicalMemoryUsage" : 316305408, + "heapUsage" : 728498176 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059076, + "taskID" : "task_1369942127770_1205_m_000070", + "taskType" : "MAP", + "finishTime" : 1371222120103, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222104209, + "result" : "SUCCESS", + "finishTime" : 1371222120103, + "attemptID" : "attempt_1369942127770_1205_m_000070_0", + "clockSplits" : [ 2413, 2414, 2414, 2414, 829, 801, 801, 3485, 79, 80, 79, 80 ], + "cpuUsages" : [ 1351, 1352, 1352, 1351, 1086, 1082, 1081, 1047, 792, 792, 792, 792 ], + "vmemKbytes" : [ 178427, 535281, 892136, 1248991, 1432584, 1430750, 1428865, 1426991, 1426256, 1426256, 1426255, 1426256 ], + "physMemKbytes" : [ 37393, 112181, 186969, 261756, 300169, 299652, 299123, 298584, 297156, 295154, 293151, 291149 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12870, + "virtualMemoryUsage" : 1460486144, + "physicalMemoryUsage" : 297111552, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059077, + "taskID" : "task_1369942127770_1205_m_000071", + "taskType" : "MAP", + "finishTime" : 1371222116746, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222104212, + "result" : "SUCCESS", + "finishTime" : 1371222116746, + "attemptID" : "attempt_1369942127770_1205_m_000071_0", + "clockSplits" : [ 1399, 1400, 1400, 1400, 1400, 1400, 842, 615, 615, 614, 615, 829 ], + "cpuUsages" : [ 1079, 1080, 1079, 1080, 1079, 1080, 919, 855, 854, 854, 854, 1127 ], + "vmemKbytes" : [ 114375, 343125, 571876, 800626, 1029377, 1258128, 1429156, 1438747, 1438748, 1438748, 1438747, 1438748 ], + "physMemKbytes" : [ 24578, 73734, 122891, 172048, 221205, 270361, 306966, 308465, 307878, 307290, 306702, 306207 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11940, + "virtualMemoryUsage" : 1473277952, + "physicalMemoryUsage" : 313466880, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059077, + "taskID" : "task_1369942127770_1205_m_000072", + "taskType" : "MAP", + "finishTime" : 1371222119279, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222104210, + "result" : "SUCCESS", + "finishTime" : 1371222119279, + "attemptID" : "attempt_1369942127770_1205_m_000072_0", + "clockSplits" : [ 1218, 1219, 1219, 1219, 1218, 1219, 1219, 990, 787, 787, 786, 3182 ], + "cpuUsages" : [ 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1067, 964, 965, 965, 1145 ], + "vmemKbytes" : [ 96309, 288929, 481549, 674168, 866788, 1059407, 1252028, 1417169, 1435861, 1432977, 1430092, 1427627 ], + "physMemKbytes" : [ 20607, 61821, 103035, 144249, 185464, 226678, 267893, 302818, 304217, 300676, 297135, 294096 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13380, + "virtualMemoryUsage" : 1461575680, + "physicalMemoryUsage" : 300732416, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059077, + "taskID" : "task_1369942127770_1205_m_000073", + "taskType" : "MAP", + "finishTime" : 1371222116354, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222105211, + "result" : "SUCCESS", + "finishTime" : 1371222116354, + "attemptID" : "attempt_1369942127770_1205_m_000073_0", + "clockSplits" : [ 1066, 1066, 1066, 1066, 1066, 1066, 1066, 3425, 62, 62, 62, 62 ], + "cpuUsages" : [ 983, 983, 983, 983, 983, 984, 983, 964, 826, 826, 826, 826 ], + "vmemKbytes" : [ 91186, 273558, 455931, 638304, 820677, 1003049, 1185422, 1366539, 1437580, 1437580, 1437579, 1437580 ], + "physMemKbytes" : [ 18730, 56190, 93651, 131111, 168572, 206032, 243493, 280753, 300503, 308951, 317398, 325847 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11150, + "virtualMemoryUsage" : 1472081920, + "physicalMemoryUsage" : 337993728, + "heapUsage" : 679804928 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059078, + "taskID" : "task_1369942127770_1205_m_000074", + "taskType" : "MAP", + "finishTime" : 1371222117482, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222105212, + "result" : "SUCCESS", + "finishTime" : 1371222117482, + "attemptID" : "attempt_1369942127770_1205_m_000074_0", + "clockSplits" : [ 1130, 1131, 1131, 1131, 1131, 1131, 1130, 1087, 760, 760, 760, 983 ], + "cpuUsages" : [ 1122, 1123, 1123, 1123, 1123, 1123, 1123, 1103, 953, 952, 952, 1210 ], + "vmemKbytes" : [ 89422, 268266, 447110, 625954, 804799, 983643, 1162488, 1340061, 1409432, 1409432, 1409431, 1409432 ], + "physMemKbytes" : [ 19797, 59392, 98988, 138583, 178180, 217775, 257371, 296665, 310308, 307505, 304701, 301898 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13030, + "virtualMemoryUsage" : 1443258368, + "physicalMemoryUsage" : 307699712, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059078, + "taskID" : "task_1369942127770_1205_m_000075", + "taskType" : "MAP", + "finishTime" : 1371222122401, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222105213, + "result" : "SUCCESS", + "finishTime" : 1371222122401, + "attemptID" : "attempt_1369942127770_1205_m_000075_0", + "clockSplits" : [ 1858, 1858, 1858, 1858, 1859, 1408, 1202, 1156, 804, 803, 804, 1715 ], + "cpuUsages" : [ 1273, 1274, 1274, 1274, 1274, 1159, 1106, 1069, 800, 799, 799, 1319 ], + "vmemKbytes" : [ 133405, 400215, 667026, 933837, 1200648, 1404711, 1417880, 1417879, 1417880, 1417880, 1417879, 1417880 ], + "physMemKbytes" : [ 28701, 86104, 143508, 200911, 258315, 302557, 306759, 308178, 307670, 305916, 304161, 302442 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13420, + "virtualMemoryUsage" : 1451909120, + "physicalMemoryUsage" : 309051392, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059078, + "taskID" : "task_1369942127770_1205_m_000076", + "taskType" : "MAP", + "finishTime" : 1371222122853, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222106215, + "result" : "SUCCESS", + "finishTime" : 1371222122853, + "attemptID" : "attempt_1369942127770_1205_m_000076_0", + "clockSplits" : [ 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1741, 4606, 154, 155, 155 ], + "cpuUsages" : [ 1148, 1149, 1149, 1149, 1149, 1149, 1149, 1159, 1170, 996, 996, 997 ], + "vmemKbytes" : [ 91602, 274808, 458014, 641219, 824426, 1007631, 1190838, 1369307, 1423984, 1423984, 1423983, 1423984 ], + "physMemKbytes" : [ 19851, 59554, 99258, 138961, 178666, 218369, 258073, 296821, 310558, 310242, 307937, 305632 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13360, + "virtualMemoryUsage" : 1458159616, + "physicalMemoryUsage" : 311787520, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059079, + "taskID" : "task_1369942127770_1205_m_000077", + "taskType" : "MAP", + "finishTime" : 1371222123218, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222106215, + "result" : "SUCCESS", + "finishTime" : 1371222123218, + "attemptID" : "attempt_1369942127770_1205_m_000077_0", + "clockSplits" : [ 2676, 2677, 2676, 2677, 821, 793, 794, 3489, 97, 97, 97, 97 ], + "cpuUsages" : [ 1339, 1340, 1340, 1340, 957, 951, 951, 951, 975, 975, 975, 976 ], + "vmemKbytes" : [ 176938, 530815, 884692, 1238569, 1420882, 1420923, 1420924, 1420923, 1420924, 1420924, 1420923, 1420924 ], + "physMemKbytes" : [ 38335, 115005, 191676, 268346, 307977, 308255, 308526, 308795, 308516, 307709, 306902, 306095 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13070, + "virtualMemoryUsage" : 1455026176, + "physicalMemoryUsage" : 313028608, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059079, + "taskID" : "task_1369942127770_1205_m_000078", + "taskType" : "MAP", + "finishTime" : 1371222127755, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222107218, + "result" : "SUCCESS", + "finishTime" : 1371222127755, + "attemptID" : "attempt_1369942127770_1205_m_000078_0", + "clockSplits" : [ 2466, 2467, 2466, 2467, 3087, 638, 583, 582, 583, 583, 1609, 3001 ], + "cpuUsages" : [ 1319, 1319, 1320, 1319, 1177, 909, 903, 903, 902, 903, 786, 1120 ], + "vmemKbytes" : [ 176823, 530469, 884116, 1237762, 1420607, 1420659, 1420660, 1420659, 1420660, 1420660, 1420659, 1420660 ], + "physMemKbytes" : [ 37490, 112471, 187452, 262433, 299476, 297339, 296741, 296144, 295547, 294950, 294467, 294436 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12880, + "virtualMemoryUsage" : 1454755840, + "physicalMemoryUsage" : 301457408, + "heapUsage" : 723779584 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059079, + "taskID" : "task_1369942127770_1205_m_000079", + "taskType" : "MAP", + "finishTime" : 1371222127589, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222107220, + "result" : "SUCCESS", + "finishTime" : 1371222127589, + "attemptID" : "attempt_1369942127770_1205_m_000079_0", + "clockSplits" : [ 2808, 2809, 2809, 2808, 850, 816, 816, 814, 796, 797, 797, 3445 ], + "cpuUsages" : [ 1306, 1307, 1307, 1307, 1048, 1043, 1043, 1018, 839, 838, 838, 1256 ], + "vmemKbytes" : [ 179463, 538389, 897316, 1256243, 1441819, 1441871, 1441872, 1441871, 1441872, 1441872, 1441871, 1441872 ], + "physMemKbytes" : [ 38683, 116049, 193416, 270783, 311546, 313136, 314715, 316267, 315488, 313213, 310938, 308727 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13150, + "virtualMemoryUsage" : 1476476928, + "physicalMemoryUsage" : 315416576, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059080, + "taskID" : "task_1369942127770_1205_m_000080", + "taskType" : "MAP", + "finishTime" : 1371222123105, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222107219, + "result" : "SUCCESS", + "finishTime" : 1371222123105, + "attemptID" : "attempt_1369942127770_1205_m_000080_0", + "clockSplits" : [ 2261, 2262, 2262, 2262, 2198, 591, 591, 591, 591, 592, 1475, 205 ], + "cpuUsages" : [ 1233, 1233, 1234, 1233, 1223, 948, 949, 948, 949, 948, 1055, 1087 ], + "vmemKbytes" : [ 142013, 426040, 710068, 994095, 1277915, 1409291, 1409292, 1409291, 1409292, 1409292, 1409291, 1409292 ], + "physMemKbytes" : [ 30773, 92321, 153868, 215415, 276919, 305910, 306883, 307856, 308829, 309802, 309923, 308075 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13040, + "virtualMemoryUsage" : 1443115008, + "physicalMemoryUsage" : 314482688, + "heapUsage" : 742129664 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059080, + "taskID" : "task_1369942127770_1205_m_000081", + "taskType" : "MAP", + "finishTime" : 1371222132159, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222116240, + "result" : "SUCCESS", + "finishTime" : 1371222132159, + "attemptID" : "attempt_1369942127770_1205_m_000081_0", + "clockSplits" : [ 1059, 1060, 1060, 1060, 1059, 1060, 1060, 1410, 4727, 335, 334, 335 ], + "cpuUsages" : [ 1089, 1090, 1090, 1090, 1090, 1090, 1090, 1091, 1008, 847, 847, 848 ], + "vmemKbytes" : [ 91426, 274280, 457134, 639987, 822841, 1005694, 1188548, 1370102, 1441028, 1441028, 1441027, 1441028 ], + "physMemKbytes" : [ 20740, 62221, 103704, 145185, 186667, 228148, 269631, 310818, 326794, 325251, 323278, 321306 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12430, + "virtualMemoryUsage" : 1475612672, + "physicalMemoryUsage" : 327917568, + "heapUsage" : 657260544 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059080, + "taskID" : "task_1369942127770_1205_m_000082", + "taskType" : "MAP", + "finishTime" : 1371222132250, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222117244, + "result" : "SUCCESS", + "finishTime" : 1371222132250, + "attemptID" : "attempt_1369942127770_1205_m_000082_0", + "clockSplits" : [ 1229, 1230, 1230, 1230, 1229, 1230, 1230, 3866, 83, 84, 83, 84 ], + "cpuUsages" : [ 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1009, 919, 918, 919, 919 ], + "vmemKbytes" : [ 92019, 276058, 460097, 644136, 828175, 1012214, 1196253, 1377655, 1441156, 1441156, 1441155, 1441156 ], + "physMemKbytes" : [ 18161, 54484, 90809, 127132, 163456, 199779, 236103, 271895, 283917, 283136, 282355, 281574 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11980, + "virtualMemoryUsage" : 1475743744, + "physicalMemoryUsage" : 287850496, + "heapUsage" : 608370688 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059080, + "taskID" : "task_1369942127770_1205_m_000083", + "taskType" : "MAP", + "finishTime" : 1371222134319, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222117244, + "result" : "SUCCESS", + "finishTime" : 1371222134319, + "attemptID" : "attempt_1369942127770_1205_m_000083_0", + "clockSplits" : [ 2126, 2126, 2126, 2126, 842, 820, 819, 813, 783, 783, 783, 2923 ], + "cpuUsages" : [ 1199, 1200, 1200, 1200, 934, 930, 930, 909, 816, 816, 816, 1250 ], + "vmemKbytes" : [ 178727, 536181, 893635, 1251088, 1434711, 1432295, 1429826, 1427400, 1426584, 1426584, 1426583, 1426584 ], + "physMemKbytes" : [ 38394, 115182, 191970, 268758, 307779, 306378, 304967, 303565, 302585, 301819, 301052, 300280 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12200, + "virtualMemoryUsage" : 1460822016, + "physicalMemoryUsage" : 307064832, + "heapUsage" : 734920704 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059081, + "taskID" : "task_1369942127770_1205_m_000084", + "taskType" : "MAP", + "finishTime" : 1371222133861, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222118252, + "result" : "SUCCESS", + "finishTime" : 1371222133861, + "attemptID" : "attempt_1369942127770_1205_m_000084_0", + "clockSplits" : [ 2230, 2231, 2231, 2231, 750, 709, 709, 709, 803, 871, 871, 872 ], + "cpuUsages" : [ 1179, 1179, 1180, 1179, 1004, 999, 998, 999, 861, 761, 760, 761 ], + "vmemKbytes" : [ 178623, 535870, 893117, 1250364, 1438606, 1438739, 1438740, 1438739, 1438740, 1438740, 1438739, 1438740 ], + "physMemKbytes" : [ 34739, 104219, 173699, 243178, 279472, 278825, 278153, 277480, 277015, 277474, 278043, 278614 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12480, + "virtualMemoryUsage" : 1473269760, + "physicalMemoryUsage" : 284733440, + "heapUsage" : 601817088 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059081, + "taskID" : "task_1369942127770_1205_m_000085", + "taskType" : "MAP", + "finishTime" : 1371222139704, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222118252, + "result" : "SUCCESS", + "finishTime" : 1371222139704, + "attemptID" : "attempt_1369942127770_1205_m_000085_0", + "clockSplits" : [ 3454, 3455, 3455, 3454, 1009, 966, 966, 746, 682, 681, 682, 1895 ], + "cpuUsages" : [ 1451, 1451, 1451, 1452, 1056, 1049, 1050, 858, 801, 801, 802, 1128 ], + "vmemKbytes" : [ 177565, 532695, 887825, 1242955, 1426567, 1426619, 1426620, 1426619, 1426620, 1426620, 1426619, 1426620 ], + "physMemKbytes" : [ 36583, 109749, 182916, 256083, 293999, 294187, 294366, 294292, 293645, 292976, 292306, 291648 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13350, + "virtualMemoryUsage" : 1460858880, + "physicalMemoryUsage" : 298389504, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059081, + "taskID" : "task_1369942127770_1205_m_000086", + "taskType" : "MAP", + "finishTime" : 1371222136354, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222118251, + "result" : "SUCCESS", + "finishTime" : 1371222136354, + "attemptID" : "attempt_1369942127770_1205_m_000086_0", + "clockSplits" : [ 3475, 3475, 3476, 711, 642, 643, 642, 677, 933, 934, 933, 1558 ], + "cpuUsages" : [ 1468, 1468, 1468, 1016, 1005, 1005, 1004, 979, 787, 786, 786, 1068 ], + "vmemKbytes" : [ 238103, 714311, 1190519, 1438076, 1434027, 1429835, 1425644, 1421481, 1419856, 1419856, 1419855, 1419856 ], + "physMemKbytes" : [ 50419, 151257, 252095, 303534, 300615, 297664, 294714, 291769, 289364, 287302, 285239, 283851 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12840, + "virtualMemoryUsage" : 1453932544, + "physicalMemoryUsage" : 290590720, + "heapUsage" : 723451904 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059082, + "taskID" : "task_1369942127770_1205_m_000087", + "taskType" : "MAP", + "finishTime" : 1371222139789, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222118251, + "result" : "SUCCESS", + "finishTime" : 1371222139789, + "attemptID" : "attempt_1369942127770_1205_m_000087_0", + "clockSplits" : [ 3491, 3492, 3492, 3492, 853, 807, 807, 806, 796, 796, 796, 1904 ], + "cpuUsages" : [ 1371, 1372, 1371, 1372, 1005, 999, 1000, 981, 848, 849, 848, 1114 ], + "vmemKbytes" : [ 176529, 529588, 882647, 1235706, 1418247, 1418299, 1418300, 1418299, 1418300, 1418300, 1418299, 1418300 ], + "physMemKbytes" : [ 37865, 113597, 189329, 265060, 304618, 305460, 306291, 307107, 306593, 305225, 303856, 302522 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13130, + "virtualMemoryUsage" : 1452339200, + "physicalMemoryUsage" : 309321728, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059082, + "taskID" : "task_1369942127770_1205_m_000088", + "taskType" : "MAP", + "finishTime" : 1371222136362, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222119253, + "result" : "SUCCESS", + "finishTime" : 1371222136362, + "attemptID" : "attempt_1369942127770_1205_m_000088_0", + "clockSplits" : [ 2893, 2894, 2894, 1311, 689, 690, 689, 743, 930, 931, 930, 1511 ], + "cpuUsages" : [ 1313, 1313, 1313, 1052, 949, 949, 949, 909, 770, 769, 770, 1204 ], + "vmemKbytes" : [ 214687, 644062, 1073437, 1392086, 1409140, 1409139, 1409140, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 46097, 138291, 230486, 299182, 303872, 304943, 306014, 307012, 305925, 303888, 301850, 300616 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12260, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 307785728, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059082, + "taskID" : "task_1369942127770_1205_m_000089", + "taskType" : "MAP", + "finishTime" : 1371222132666, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222119254, + "result" : "SUCCESS", + "finishTime" : 1371222132666, + "attemptID" : "attempt_1369942127770_1205_m_000089_0", + "clockSplits" : [ 1524, 1525, 1525, 1525, 1525, 1525, 596, 541, 542, 541, 541, 1496 ], + "cpuUsages" : [ 1088, 1088, 1088, 1089, 1088, 1088, 829, 814, 813, 814, 813, 1188 ], + "vmemKbytes" : [ 118410, 355230, 592051, 828872, 1065693, 1302514, 1433707, 1434071, 1434072, 1434072, 1434071, 1434072 ], + "physMemKbytes" : [ 25455, 76367, 127278, 178189, 229102, 280013, 307852, 307113, 306294, 305475, 304656, 303834 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11800, + "virtualMemoryUsage" : 1468489728, + "physicalMemoryUsage" : 310685696, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059082, + "taskID" : "task_1369942127770_1205_m_000090", + "taskType" : "MAP", + "finishTime" : 1371222141107, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222119254, + "result" : "SUCCESS", + "finishTime" : 1371222141107, + "attemptID" : "attempt_1369942127770_1205_m_000090_0", + "clockSplits" : [ 3299, 3300, 3300, 3300, 1010, 971, 971, 735, 677, 677, 677, 2932 ], + "cpuUsages" : [ 1468, 1469, 1469, 1468, 1113, 1106, 1106, 896, 845, 845, 844, 1181 ], + "vmemKbytes" : [ 177790, 533371, 888953, 1244534, 1428379, 1428431, 1428432, 1428431, 1428432, 1428432, 1428431, 1428432 ], + "physMemKbytes" : [ 36477, 109431, 182386, 255341, 293743, 295167, 296582, 297326, 296690, 296012, 295333, 294667 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13810, + "virtualMemoryUsage" : 1462714368, + "physicalMemoryUsage" : 301477888, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059083, + "taskID" : "task_1369942127770_1205_m_000091", + "taskType" : "MAP", + "finishTime" : 1371222135965, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222120259, + "result" : "SUCCESS", + "finishTime" : 1371222135965, + "attemptID" : "attempt_1369942127770_1205_m_000091_0", + "clockSplits" : [ 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 2873, 208, 208, 208 ], + "cpuUsages" : [ 1031, 1032, 1031, 1032, 1031, 1032, 1031, 1032, 875, 811, 811, 811 ], + "vmemKbytes" : [ 86236, 258709, 431183, 603656, 776130, 948603, 1121077, 1293550, 1422372, 1429552, 1429551, 1429552 ], + "physMemKbytes" : [ 17759, 53278, 88799, 124318, 159839, 195358, 230879, 266398, 292713, 293373, 292518, 291663 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11660, + "virtualMemoryUsage" : 1463861248, + "physicalMemoryUsage" : 298164224, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059083, + "taskID" : "task_1369942127770_1205_m_000092", + "taskType" : "MAP", + "finishTime" : 1371222141263, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222120260, + "result" : "SUCCESS", + "finishTime" : 1371222141263, + "attemptID" : "attempt_1369942127770_1205_m_000092_0", + "clockSplits" : [ 2790, 2790, 2790, 2790, 1207, 1183, 1013, 663, 663, 664, 663, 3419 ], + "cpuUsages" : [ 1414, 1415, 1414, 1415, 1063, 1057, 992, 858, 858, 858, 858, 1138 ], + "vmemKbytes" : [ 175507, 526522, 877537, 1228552, 1409390, 1409431, 1409432, 1409431, 1409432, 1409432, 1409431, 1409432 ], + "physMemKbytes" : [ 37701, 113103, 188506, 263908, 302825, 302979, 303086, 302647, 302037, 301427, 300816, 300337 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13470, + "virtualMemoryUsage" : 1443258368, + "physicalMemoryUsage" : 307466240, + "heapUsage" : 723910656 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222059083, + "taskID" : "task_1369942127770_1205_m_000093", + "taskType" : "MAP", + "finishTime" : 1371222140945, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222121262, + "result" : "SUCCESS", + "finishTime" : 1371222140945, + "attemptID" : "attempt_1369942127770_1205_m_000093_0", + "clockSplits" : [ 2364, 2365, 2365, 2365, 2596, 1091, 628, 629, 628, 629, 2831, 383 ], + "cpuUsages" : [ 1300, 1300, 1300, 1300, 1207, 990, 924, 925, 924, 925, 887, 878 ], + "vmemKbytes" : [ 179076, 537228, 895381, 1253534, 1438050, 1437355, 1434909, 1432392, 1429877, 1427361, 1425627, 1425572 ], + "physMemKbytes" : [ 38409, 115228, 192047, 268866, 308684, 308141, 305153, 302065, 298978, 295891, 293745, 293615 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13140, + "virtualMemoryUsage" : 1459785728, + "physicalMemoryUsage" : 300752896, + "heapUsage" : 727515136 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059084, + "taskID" : "task_1369942127770_1205_m_000094", + "taskType" : "MAP", + "finishTime" : 1371222136213, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222122266, + "result" : "SUCCESS", + "finishTime" : 1371222136213, + "attemptID" : "attempt_1369942127770_1205_m_000094_0", + "clockSplits" : [ 1233, 1233, 1234, 1233, 1234, 1233, 1233, 762, 671, 672, 672, 2532 ], + "cpuUsages" : [ 980, 981, 980, 981, 980, 981, 981, 746, 702, 702, 702, 1204 ], + "vmemKbytes" : [ 98416, 295249, 492083, 688916, 885750, 1082583, 1279417, 1406650, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 21848, 65544, 109240, 152936, 196633, 240328, 284025, 311912, 311463, 310448, 309433, 308423 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 10920, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 315342848, + "heapUsage" : 723451904 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222059084, + "taskID" : "task_1369942127770_1205_m_000095", + "taskType" : "MAP", + "finishTime" : 1371222141112, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222123269, + "result" : "SUCCESS", + "finishTime" : 1371222141112, + "attemptID" : "attempt_1369942127770_1205_m_000095_0", + "clockSplits" : [ 2087, 2088, 2087, 2088, 2088, 1195, 746, 746, 746, 2974, 245, 246 ], + "cpuUsages" : [ 1246, 1246, 1247, 1246, 1247, 1130, 1071, 1071, 1071, 975, 875, 875 ], + "vmemKbytes" : [ 132085, 396256, 660427, 924598, 1188769, 1394563, 1409404, 1409403, 1409404, 1409404, 1409403, 1409404 ], + "physMemKbytes" : [ 28569, 85709, 142849, 199988, 257129, 301711, 305219, 305534, 305849, 305967, 304859, 303540 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13560, + "virtualMemoryUsage" : 1443229696, + "physicalMemoryUsage" : 310263808, + "heapUsage" : 734920704 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + } ], + "reduceTasks" : [ ], + "launchTime" : 1371222058937, + "totalMaps" : 96, + "totalReduces" : 0, + "otherTasks" : [ ], + "jobProperties" : { + "mapreduce.job.ubertask.enable" : "false", + "yarn.resourcemanager.max-completed-applications" : "10000", + "yarn.resourcemanager.delayed.delegation-token.removal-interval-ms" : "30000", + "mapreduce.client.submit.file.replication" : "2", + "yarn.nodemanager.container-manager.thread-count" : "20", + "mapred.queue.default.acl-administer-jobs" : "*", + "dfs.image.transfer.bandwidthPerSec" : "0", + "mapreduce.tasktracker.healthchecker.interval" : "60000", + "mapreduce.jobtracker.staging.root.dir" : "/user", + "yarn.resourcemanager.recovery.enabled" : "false", + "yarn.resourcemanager.am.max-retries" : "1", + "dfs.block.access.token.lifetime" : "600", + "fs.AbstractFileSystem.file.impl" : "org.apache.hadoop.fs.local.LocalFs", + "mapreduce.client.completion.pollinterval" : "5000", + "mapreduce.job.ubertask.maxreduces" : "1", + "mapreduce.reduce.shuffle.memory.limit.percent" : "0.25", + "dfs.domain.socket.path" : "/var/run/hdfs-sockets/dn", + "hadoop.ssl.keystores.factory.class" : "org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory", + "hadoop.http.authentication.kerberos.keytab" : "${user.home}/hadoop.keytab", + "yarn.nodemanager.keytab" : "/etc/krb5.keytab", + "io.seqfile.sorter.recordlimit" : "1000000", + "s3.blocksize" : "67108864", + "mapreduce.task.io.sort.factor" : "10", + "yarn.nodemanager.disk-health-checker.interval-ms" : "120000", + "mapreduce.job.working.dir" : "hdfs://a2115.halxg.cloudera.com:8020/user/jenkins", + "yarn.admin.acl" : "*", + "mapreduce.job.speculative.speculativecap" : "0.1", + "dfs.namenode.num.checkpoints.retained" : "2", + "dfs.namenode.delegation.token.renew-interval" : "86400000", + "yarn.nodemanager.resource.memory-mb" : "8192", + "io.map.index.interval" : "128", + "s3.client-write-packet-size" : "65536", + "mapreduce.task.files.preserve.failedtasks" : "false", + "dfs.namenode.http-address" : "a2115.halxg.cloudera.com:20101", + "ha.zookeeper.session-timeout.ms" : "5000", + "hadoop.hdfs.configuration.version" : "1", + "s3.replication" : "3", + "dfs.datanode.balance.bandwidthPerSec" : "1048576", + "mapreduce.reduce.shuffle.connect.timeout" : "180000", + "hadoop.ssl.enabled" : "false", + "dfs.journalnode.rpc-address" : "0.0.0.0:8485", + "yarn.nodemanager.aux-services" : "mapreduce.shuffle", + "mapreduce.job.counters.max" : "120", + "dfs.datanode.readahead.bytes" : "4193404", + "ipc.client.connect.max.retries.on.timeouts" : "45", + "mapreduce.job.complete.cancel.delegation.tokens" : "true", + "dfs.client.failover.max.attempts" : "15", + "dfs.namenode.checkpoint.dir" : "file://${hadoop.tmp.dir}/dfs/namesecondary", + "dfs.namenode.replication.work.multiplier.per.iteration" : "2", + "fs.trash.interval" : "1", + "yarn.resourcemanager.admin.address" : "a2115.halxg.cloudera.com:8033", + "ha.health-monitor.check-interval.ms" : "1000", + "mapreduce.job.outputformat.class" : "org.apache.hadoop.examples.terasort.TeraOutputFormat", + "hadoop.jetty.logs.serve.aliases" : "true", + "hadoop.http.authentication.kerberos.principal" : "HTTP/_HOST@LOCALHOST", + "mapreduce.tasktracker.taskmemorymanager.monitoringinterval" : "5000", + "mapreduce.job.reduce.shuffle.consumer.plugin.class" : "org.apache.hadoop.mapreduce.task.reduce.Shuffle", + "s3native.blocksize" : "67108864", + "dfs.namenode.edits.dir" : "${dfs.namenode.name.dir}", + "ha.health-monitor.sleep-after-disconnect.ms" : "1000", + "dfs.encrypt.data.transfer" : "false", + "dfs.datanode.http.address" : "0.0.0.0:50075", + "mapreduce.terasort.num-rows" : "400000000", + "mapreduce.job.map.class" : "org.apache.hadoop.examples.terasort.TeraGen$SortGenMapper", + "mapreduce.jobtracker.jobhistory.task.numberprogresssplits" : "12", + "dfs.namenode.write.stale.datanode.ratio" : "0.5f", + "dfs.client.use.datanode.hostname" : "false", + "yarn.acl.enable" : "true", + "hadoop.security.instrumentation.requires.admin" : "false", + "yarn.nodemanager.localizer.fetch.thread-count" : "4", + "hadoop.security.authorization" : "false", + "user.name" : "jenkins", + "dfs.namenode.fs-limits.min-block-size" : "1048576", + "dfs.client.failover.connection.retries.on.timeouts" : "0", + "hadoop.security.group.mapping.ldap.search.filter.group" : "(objectClass=group)", + "mapreduce.output.fileoutputformat.compress.codec" : "org.apache.hadoop.io.compress.DefaultCodec", + "dfs.namenode.safemode.extension" : "30000", + "mapreduce.shuffle.port" : "8080", + "mapreduce.reduce.log.level" : "INFO", + "yarn.log-aggregation-enable" : "false", + "dfs.datanode.sync.behind.writes" : "false", + "mapreduce.jobtracker.instrumentation" : "org.apache.hadoop.mapred.JobTrackerMetricsInst", + "dfs.https.server.keystore.resource" : "ssl-server.xml", + "hadoop.security.group.mapping.ldap.search.attr.group.name" : "cn", + "dfs.namenode.replication.min" : "1", + "mapreduce.map.java.opts" : " -Xmx825955249", + "yarn.scheduler.fair.allocation.file" : "/etc/yarn/fair-scheduler.xml", + "s3native.bytes-per-checksum" : "512", + "mapreduce.tasktracker.tasks.sleeptimebeforesigkill" : "5000", + "tfile.fs.output.buffer.size" : "262144", + "yarn.nodemanager.local-dirs" : "${hadoop.tmp.dir}/nm-local-dir", + "mapreduce.jobtracker.persist.jobstatus.active" : "false", + "fs.AbstractFileSystem.hdfs.impl" : "org.apache.hadoop.fs.Hdfs", + "mapreduce.job.map.output.collector.class" : "org.apache.hadoop.mapred.MapTask$MapOutputBuffer", + "mapreduce.tasktracker.local.dir.minspacestart" : "0", + "dfs.namenode.safemode.min.datanodes" : "0", + "hadoop.security.uid.cache.secs" : "14400", + "dfs.client.https.need-auth" : "false", + "dfs.client.write.exclude.nodes.cache.expiry.interval.millis" : "600000", + "dfs.client.https.keystore.resource" : "ssl-client.xml", + "dfs.namenode.max.objects" : "0", + "hadoop.ssl.client.conf" : "ssl-client.xml", + "dfs.namenode.safemode.threshold-pct" : "0.999f", + "mapreduce.tasktracker.local.dir.minspacekill" : "0", + "mapreduce.jobtracker.retiredjobs.cache.size" : "1000", + "dfs.blocksize" : "134217728", + "yarn.resourcemanager.scheduler.class" : "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler", + "mapreduce.job.reduce.slowstart.completedmaps" : "0.8", + "mapreduce.job.end-notification.retry.attempts" : "5", + "mapreduce.job.inputformat.class" : "org.apache.hadoop.examples.terasort.TeraGen$RangeInputFormat", + "mapreduce.map.memory.mb" : "1024", + "mapreduce.job.user.name" : "jenkins", + "mapreduce.tasktracker.outofband.heartbeat" : "false", + "io.native.lib.available" : "true", + "mapreduce.jobtracker.persist.jobstatus.hours" : "0", + "dfs.client-write-packet-size" : "65536", + "mapreduce.client.progressmonitor.pollinterval" : "1000", + "dfs.namenode.name.dir" : "file://${hadoop.tmp.dir}/dfs/name", + "dfs.ha.log-roll.period" : "120", + "mapreduce.reduce.input.buffer.percent" : "0.0", + "mapreduce.map.output.compress.codec" : "org.apache.hadoop.io.compress.SnappyCodec", + "mapreduce.map.skip.proc.count.autoincr" : "true", + "dfs.client.failover.sleep.base.millis" : "500", + "dfs.datanode.directoryscan.threads" : "1", + "mapreduce.jobtracker.address" : "neededForHive:999999", + "mapreduce.cluster.local.dir" : "${hadoop.tmp.dir}/mapred/local", + "yarn.scheduler.fair.user-as-default-queue" : "true", + "mapreduce.job.application.attempt.id" : "1", + "dfs.permissions.enabled" : "true", + "mapreduce.tasktracker.taskcontroller" : "org.apache.hadoop.mapred.DefaultTaskController", + "yarn.scheduler.fair.preemption" : "true", + "mapreduce.reduce.shuffle.parallelcopies" : "5", + "dfs.support.append" : "true", + "yarn.nodemanager.env-whitelist" : "JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,YARN_HOME", + "mapreduce.jobtracker.heartbeats.in.second" : "100", + "mapreduce.job.maxtaskfailures.per.tracker" : "3", + "ipc.client.connection.maxidletime" : "10000", + "mapreduce.shuffle.ssl.enabled" : "false", + "dfs.namenode.invalidate.work.pct.per.iteration" : "0.32f", + "dfs.blockreport.intervalMsec" : "21600000", + "fs.s3.sleepTimeSeconds" : "10", + "dfs.namenode.replication.considerLoad" : "true", + "dfs.client.block.write.retries" : "3", + "hadoop.ssl.server.conf" : "ssl-server.xml", + "dfs.namenode.name.dir.restore" : "false", + "rpc.engine.org.apache.hadoop.mapreduce.v2.api.MRClientProtocolPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "dfs.datanode.hdfs-blocks-metadata.enabled" : "true", + "ha.zookeeper.parent-znode" : "/hadoop-ha", + "io.seqfile.lazydecompress" : "true", + "dfs.https.enable" : "false", + "mapreduce.reduce.merge.inmem.threshold" : "1000", + "mapreduce.input.fileinputformat.split.minsize" : "0", + "dfs.replication" : "3", + "ipc.client.tcpnodelay" : "false", + "dfs.namenode.accesstime.precision" : "3600000", + "s3.stream-buffer-size" : "4096", + "mapreduce.jobtracker.tasktracker.maxblacklists" : "4", + "dfs.client.read.shortcircuit.skip.checksum" : "false", + "mapreduce.job.jvm.numtasks" : "1", + "mapreduce.task.io.sort.mb" : "100", + "io.file.buffer.size" : "65536", + "dfs.namenode.audit.loggers" : "default", + "dfs.namenode.checkpoint.txns" : "1000000", + "yarn.nodemanager.admin-env" : "MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX", + "mapreduce.job.jar" : "/user/jenkins/.staging/job_1369942127770_1205/job.jar", + "mapreduce.job.split.metainfo.maxsize" : "10000000", + "kfs.replication" : "3", + "rpc.engine.org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms" : "1000", + "mapreduce.reduce.maxattempts" : "4", + "kfs.stream-buffer-size" : "4096", + "dfs.ha.tail-edits.period" : "60", + "hadoop.security.authentication" : "simple", + "fs.s3.buffer.dir" : "${hadoop.tmp.dir}/s3", + "rpc.engine.org.apache.hadoop.yarn.api.AMRMProtocolPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "mapreduce.jobtracker.taskscheduler" : "org.apache.hadoop.mapred.JobQueueTaskScheduler", + "yarn.app.mapreduce.am.job.task.listener.thread-count" : "30", + "dfs.namenode.avoid.read.stale.datanode" : "false", + "mapreduce.job.reduces" : "0", + "mapreduce.map.sort.spill.percent" : "0.8", + "dfs.client.file-block-storage-locations.timeout" : "60", + "dfs.datanode.drop.cache.behind.writes" : "false", + "mapreduce.job.end-notification.retry.interval" : "1", + "mapreduce.job.maps" : "96", + "mapreduce.job.speculative.slownodethreshold" : "1.0", + "tfile.fs.input.buffer.size" : "262144", + "mapreduce.map.speculative" : "false", + "dfs.block.access.token.enable" : "false", + "dfs.journalnode.http-address" : "0.0.0.0:8480", + "mapreduce.job.acl-view-job" : " ", + "mapreduce.reduce.shuffle.retry-delay.max.ms" : "60000", + "yarn.ipc.serializer.type" : "protocolbuffers", + "mapreduce.job.end-notification.max.retry.interval" : "5", + "ftp.blocksize" : "67108864", + "mapreduce.tasktracker.http.threads" : "80", + "mapreduce.reduce.java.opts" : " -Xmx825955249", + "dfs.datanode.data.dir" : "file://${hadoop.tmp.dir}/dfs/data", + "ha.failover-controller.cli-check.rpc-timeout.ms" : "20000", + "dfs.namenode.max.extra.edits.segments.retained" : "10000", + "dfs.https.port" : "20102", + "dfs.namenode.replication.interval" : "3", + "mapreduce.task.skip.start.attempts" : "2", + "dfs.namenode.https-address" : "a2115.halxg.cloudera.com:20102", + "mapreduce.jobtracker.persist.jobstatus.dir" : "/jobtracker/jobsInfo", + "ipc.client.kill.max" : "10", + "dfs.ha.automatic-failover.enabled" : "false", + "mapreduce.jobhistory.keytab" : "/etc/security/keytab/jhs.service.keytab", + "dfs.image.transfer.timeout" : "600000", + "dfs.client.failover.sleep.max.millis" : "15000", + "mapreduce.job.end-notification.max.attempts" : "5", + "mapreduce.task.tmp.dir" : "./tmp", + "dfs.default.chunk.view.size" : "32768", + "kfs.bytes-per-checksum" : "512", + "mapreduce.reduce.memory.mb" : "1024", + "hadoop.http.filter.initializers" : "org.apache.hadoop.yarn.server.webproxy.amfilter.AmFilterInitializer", + "dfs.datanode.failed.volumes.tolerated" : "0", + "hadoop.http.authentication.type" : "simple", + "dfs.datanode.data.dir.perm" : "700", + "yarn.resourcemanager.client.thread-count" : "50", + "ipc.server.listen.queue.size" : "128", + "mapreduce.reduce.skip.maxgroups" : "0", + "file.stream-buffer-size" : "4096", + "dfs.namenode.fs-limits.max-directory-items" : "0", + "io.mapfile.bloom.size" : "1048576", + "yarn.nodemanager.container-executor.class" : "org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor", + "mapreduce.map.maxattempts" : "4", + "mapreduce.jobtracker.jobhistory.block.size" : "3145728", + "yarn.log-aggregation.retain-seconds" : "-1", + "yarn.app.mapreduce.am.job.committer.cancel-timeout" : "60000", + "ftp.replication" : "3", + "mapreduce.jobtracker.http.address" : "0.0.0.0:50030", + "yarn.nodemanager.health-checker.script.timeout-ms" : "1200000", + "mapreduce.jobhistory.address" : "a2115.halxg.cloudera.com:10020", + "mapreduce.jobtracker.taskcache.levels" : "2", + "dfs.datanode.dns.nameserver" : "default", + "mapreduce.application.classpath" : "$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*", + "yarn.nodemanager.log.retain-seconds" : "10800", + "mapred.child.java.opts" : "-Xmx200m", + "dfs.replication.max" : "512", + "map.sort.class" : "org.apache.hadoop.util.QuickSort", + "dfs.stream-buffer-size" : "4096", + "dfs.namenode.backup.address" : "0.0.0.0:50100", + "hadoop.util.hash.type" : "murmur", + "dfs.block.access.key.update.interval" : "600", + "mapreduce.reduce.skip.proc.count.autoincr" : "true", + "dfs.datanode.dns.interface" : "default", + "dfs.datanode.use.datanode.hostname" : "false", + "mapreduce.job.output.key.class" : "org.apache.hadoop.io.Text", + "dfs.client.read.shortcircuit" : "false", + "dfs.namenode.backup.http-address" : "0.0.0.0:50105", + "yarn.nodemanager.container-monitor.interval-ms" : "3000", + "yarn.nodemanager.disk-health-checker.min-healthy-disks" : "0.25", + "kfs.client-write-packet-size" : "65536", + "ha.zookeeper.acl" : "world:anyone:rwcda", + "yarn.nodemanager.sleep-delay-before-sigkill.ms" : "250", + "mapreduce.job.dir" : "/user/jenkins/.staging/job_1369942127770_1205", + "io.map.index.skip" : "0", + "net.topology.node.switch.mapping.impl" : "org.apache.hadoop.net.ScriptBasedMapping", + "fs.s3.maxRetries" : "4", + "dfs.namenode.logging.level" : "info", + "ha.failover-controller.new-active.rpc-timeout.ms" : "60000", + "s3native.client-write-packet-size" : "65536", + "yarn.resourcemanager.amliveliness-monitor.interval-ms" : "1000", + "hadoop.http.staticuser.user" : "dr.who", + "mapreduce.reduce.speculative" : "false", + "mapreduce.client.output.filter" : "FAILED", + "mapreduce.ifile.readahead.bytes" : "4194304", + "mapreduce.tasktracker.report.address" : "127.0.0.1:0", + "mapreduce.task.userlog.limit.kb" : "0", + "mapreduce.tasktracker.map.tasks.maximum" : "2", + "hadoop.http.authentication.simple.anonymous.allowed" : "true", + "hadoop.fuse.timer.period" : "5", + "dfs.namenode.num.extra.edits.retained" : "1000000", + "hadoop.rpc.socket.factory.class.default" : "org.apache.hadoop.net.StandardSocketFactory", + "mapreduce.job.submithostname" : "a2115.halxg.cloudera.com", + "dfs.namenode.handler.count" : "10", + "fs.automatic.close" : "false", + "mapreduce.job.submithostaddress" : "10.20.206.115", + "mapreduce.tasktracker.healthchecker.script.timeout" : "600000", + "dfs.datanode.directoryscan.interval" : "21600", + "yarn.resourcemanager.address" : "a2115.halxg.cloudera.com:8032", + "yarn.nodemanager.health-checker.interval-ms" : "600000", + "dfs.client.file-block-storage-locations.num-threads" : "10", + "yarn.resourcemanager.container-tokens.master-key-rolling-interval-secs" : "86400", + "mapreduce.reduce.markreset.buffer.percent" : "0.0", + "hadoop.security.group.mapping.ldap.directory.search.timeout" : "10000", + "mapreduce.map.log.level" : "INFO", + "dfs.bytes-per-checksum" : "512", + "yarn.nodemanager.localizer.address" : "0.0.0.0:8040", + "dfs.namenode.checkpoint.max-retries" : "3", + "ha.health-monitor.rpc-timeout.ms" : "45000", + "yarn.resourcemanager.keytab" : "/etc/krb5.keytab", + "ftp.stream-buffer-size" : "4096", + "dfs.namenode.avoid.write.stale.datanode" : "false", + "hadoop.security.group.mapping.ldap.search.attr.member" : "member", + "mapreduce.output.fileoutputformat.outputdir" : "hdfs://a2115.halxg.cloudera.com:8020/user/jenkins/tera-gen-1", + "dfs.blockreport.initialDelay" : "0", + "yarn.nm.liveness-monitor.expiry-interval-ms" : "600000", + "hadoop.http.authentication.token.validity" : "36000", + "dfs.namenode.delegation.token.max-lifetime" : "604800000", + "mapreduce.job.hdfs-servers" : "${fs.defaultFS}", + "s3native.replication" : "3", + "yarn.nodemanager.localizer.client.thread-count" : "5", + "dfs.heartbeat.interval" : "3", + "rpc.engine.org.apache.hadoop.ipc.ProtocolMetaInfoPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "dfs.ha.fencing.ssh.connect-timeout" : "30000", + "yarn.resourcemanager.container.liveness-monitor.interval-ms" : "600000", + "yarn.am.liveness-monitor.expiry-interval-ms" : "600000", + "mapreduce.task.profile" : "false", + "mapreduce.tasktracker.http.address" : "0.0.0.0:50060", + "mapreduce.tasktracker.instrumentation" : "org.apache.hadoop.mapred.TaskTrackerMetricsInst", + "mapreduce.jobhistory.webapp.address" : "a2115.halxg.cloudera.com:19888", + "ha.failover-controller.graceful-fence.rpc-timeout.ms" : "5000", + "yarn.ipc.rpc.class" : "org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC", + "mapreduce.job.name" : "TeraGen", + "kfs.blocksize" : "67108864", + "yarn.resourcemanager.application-tokens.master-key-rolling-interval-secs" : "86400", + "mapreduce.job.ubertask.maxmaps" : "9", + "yarn.scheduler.maximum-allocation-mb" : "8192", + "yarn.nodemanager.heartbeat.interval-ms" : "1000", + "mapreduce.job.userlog.retain.hours" : "24", + "dfs.namenode.secondary.http-address" : "0.0.0.0:50090", + "mapreduce.task.timeout" : "600000", + "mapreduce.framework.name" : "yarn", + "ipc.client.idlethreshold" : "4000", + "ftp.bytes-per-checksum" : "512", + "ipc.server.tcpnodelay" : "false", + "dfs.namenode.stale.datanode.interval" : "30000", + "s3.bytes-per-checksum" : "512", + "mapreduce.job.speculative.slowtaskthreshold" : "1.0", + "yarn.nodemanager.localizer.cache.target-size-mb" : "10240", + "yarn.nodemanager.remote-app-log-dir" : "/tmp/logs", + "fs.s3.block.size" : "67108864", + "mapreduce.job.queuename" : "sls_queue_1", + "dfs.client.failover.connection.retries" : "0", + "hadoop.rpc.protection" : "authentication", + "yarn.scheduler.minimum-allocation-mb" : "1024", + "yarn.app.mapreduce.client-am.ipc.max-retries" : "1", + "hadoop.security.auth_to_local" : "DEFAULT", + "dfs.secondary.namenode.kerberos.internal.spnego.principal" : "${dfs.web.authentication.kerberos.principal}", + "ftp.client-write-packet-size" : "65536", + "fs.defaultFS" : "hdfs://a2115.halxg.cloudera.com:8020", + "yarn.nodemanager.address" : "0.0.0.0:0", + "yarn.scheduler.fair.assignmultiple" : "true", + "yarn.resourcemanager.scheduler.client.thread-count" : "50", + "mapreduce.task.merge.progress.records" : "10000", + "file.client-write-packet-size" : "65536", + "yarn.nodemanager.delete.thread-count" : "4", + "yarn.resourcemanager.scheduler.address" : "a2115.halxg.cloudera.com:8030", + "fs.trash.checkpoint.interval" : "0", + "hadoop.http.authentication.signature.secret.file" : "${user.home}/hadoop-http-auth-signature-secret", + "s3native.stream-buffer-size" : "4096", + "mapreduce.reduce.shuffle.read.timeout" : "180000", + "mapreduce.admin.user.env" : "LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native", + "yarn.app.mapreduce.am.command-opts" : " -Xmx1238932873", + "mapreduce.local.clientfactory.class.name" : "org.apache.hadoop.mapred.LocalClientFactory", + "dfs.namenode.checkpoint.edits.dir" : "${dfs.namenode.checkpoint.dir}", + "fs.permissions.umask-mode" : "022", + "dfs.client.domain.socket.data.traffic" : "false", + "hadoop.common.configuration.version" : "0.23.0", + "mapreduce.tasktracker.dns.interface" : "default", + "mapreduce.output.fileoutputformat.compress.type" : "BLOCK", + "mapreduce.ifile.readahead" : "true", + "hadoop.security.group.mapping.ldap.ssl" : "false", + "io.serializations" : "org.apache.hadoop.io.serializer.WritableSerialization,org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization,org.apache.hadoop.io.serializer.avro.AvroReflectSerialization", + "yarn.nodemanager.aux-services.mapreduce.shuffle.class" : "org.apache.hadoop.mapred.ShuffleHandler", + "fs.df.interval" : "60000", + "mapreduce.reduce.shuffle.input.buffer.percent" : "0.70", + "io.seqfile.compress.blocksize" : "1000000", + "hadoop.security.groups.cache.secs" : "300", + "ipc.client.connect.max.retries" : "10", + "dfs.namenode.delegation.key.update-interval" : "86400000", + "yarn.nodemanager.process-kill-wait.ms" : "2000", + "yarn.application.classpath" : "$HADOOP_CONF_DIR,$HADOOP_COMMON_HOME/*,$HADOOP_COMMON_HOME/lib/*,$HADOOP_HDFS_HOME/*,$HADOOP_HDFS_HOME/lib/*,$HADOOP_MAPRED_HOME/*,$HADOOP_MAPRED_HOME/lib/*,$YARN_HOME/*,$YARN_HOME/lib/*", + "yarn.app.mapreduce.client.max-retries" : "3", + "dfs.datanode.available-space-volume-choosing-policy.balanced-space-preference-fraction" : "0.75f", + "yarn.nodemanager.log-aggregation.compression-type" : "none", + "hadoop.security.group.mapping.ldap.search.filter.user" : "(&(objectClass=user)(sAMAccountName={0}))", + "yarn.nodemanager.localizer.cache.cleanup.interval-ms" : "600000", + "dfs.image.compress" : "false", + "mapred.mapper.new-api" : "true", + "yarn.nodemanager.log-dirs" : "${yarn.log.dir}/userlogs", + "dfs.namenode.kerberos.internal.spnego.principal" : "${dfs.web.authentication.kerberos.principal}", + "fs.s3n.block.size" : "67108864", + "fs.ftp.host" : "0.0.0.0", + "hadoop.security.group.mapping" : "org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback", + "dfs.datanode.address" : "0.0.0.0:50010", + "mapreduce.map.skip.maxrecords" : "0", + "dfs.datanode.https.address" : "0.0.0.0:50475", + "file.replication" : "1", + "yarn.resourcemanager.resource-tracker.address" : "a2115.halxg.cloudera.com:8031", + "dfs.datanode.drop.cache.behind.reads" : "false", + "hadoop.fuse.connection.timeout" : "300", + "hadoop.work.around.non.threadsafe.getpwuid" : "false", + "mapreduce.jobtracker.restart.recover" : "false", + "hadoop.tmp.dir" : "/tmp/hadoop-${user.name}", + "mapreduce.output.fileoutputformat.compress" : "false", + "mapreduce.tasktracker.indexcache.mb" : "10", + "mapreduce.client.genericoptionsparser.used" : "true", + "dfs.client.block.write.replace-datanode-on-failure.policy" : "DEFAULT", + "mapreduce.job.committer.setup.cleanup.needed" : "true", + "hadoop.kerberos.kinit.command" : "kinit", + "dfs.datanode.du.reserved" : "0", + "dfs.namenode.fs-limits.max-blocks-per-file" : "1048576", + "dfs.webhdfs.enabled" : "false", + "file.bytes-per-checksum" : "512", + "mapreduce.task.profile.reduces" : "0-2", + "mapreduce.jobtracker.handler.count" : "10", + "dfs.client.block.write.replace-datanode-on-failure.enable" : "true", + "mapreduce.job.output.value.class" : "org.apache.hadoop.io.Text", + "yarn.dispatcher.exit-on-error" : "true", + "net.topology.script.number.args" : "100", + "mapreduce.task.profile.maps" : "0-2", + "dfs.namenode.decommission.interval" : "30", + "dfs.image.compression.codec" : "org.apache.hadoop.io.compress.DefaultCodec", + "yarn.resourcemanager.webapp.address" : "a2115.halxg.cloudera.com:8088", + "mapreduce.jobtracker.system.dir" : "${hadoop.tmp.dir}/mapred/system", + "hadoop.ssl.hostname.verifier" : "DEFAULT", + "yarn.nodemanager.vmem-pmem-ratio" : "2.1", + "dfs.namenode.support.allow.format" : "true", + "mapreduce.jobhistory.principal" : "jhs/_HOST@REALM.TLD", + "io.mapfile.bloom.error.rate" : "0.005", + "mapreduce.shuffle.ssl.file.buffer.size" : "65536", + "dfs.permissions.superusergroup" : "supergroup", + "dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold" : "10737418240", + "mapreduce.jobtracker.expire.trackers.interval" : "600000", + "mapreduce.cluster.acls.enabled" : "false", + "yarn.nodemanager.remote-app-log-dir-suffix" : "logs", + "ha.failover-controller.graceful-fence.connection.retries" : "1", + "ha.health-monitor.connect-retry-interval.ms" : "1000", + "mapreduce.reduce.shuffle.merge.percent" : "0.66", + "yarn.app.mapreduce.am.resource.mb" : "1536", + "io.seqfile.local.dir" : "${hadoop.tmp.dir}/io/local", + "dfs.namenode.checkpoint.check.period" : "60", + "yarn.resourcemanager.nm.liveness-monitor.interval-ms" : "1000", + "mapreduce.jobtracker.maxtasks.perjob" : "-1", + "mapreduce.jobtracker.jobhistory.lru.cache.size" : "5", + "file.blocksize" : "67108864", + "tfile.io.chunk.size" : "1048576", + "mapreduce.job.acl-modify-job" : " ", + "yarn.nodemanager.webapp.address" : "0.0.0.0:8042", + "mapreduce.tasktracker.reduce.tasks.maximum" : "2", + "io.skip.checksum.errors" : "false", + "mapreduce.cluster.temp.dir" : "${hadoop.tmp.dir}/mapred/temp", + "yarn.app.mapreduce.am.staging-dir" : "/user", + "dfs.namenode.edits.journal-plugin.qjournal" : "org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager", + "dfs.datanode.handler.count" : "10", + "fs.ftp.host.port" : "21", + "dfs.namenode.decommission.nodes.per.interval" : "5", + "yarn.resourcemanager.admin.client.thread-count" : "1", + "dfs.namenode.fs-limits.max-component-length" : "0", + "dfs.namenode.checkpoint.period" : "3600", + "fs.AbstractFileSystem.viewfs.impl" : "org.apache.hadoop.fs.viewfs.ViewFs", + "yarn.resourcemanager.resource-tracker.client.thread-count" : "50", + "mapreduce.tasktracker.dns.nameserver" : "default", + "mapreduce.map.output.compress" : "true", + "dfs.datanode.ipc.address" : "0.0.0.0:50020", + "hadoop.ssl.require.client.cert" : "false", + "yarn.nodemanager.delete.debug-delay-sec" : "0", + "dfs.datanode.max.transfer.threads" : "4096" + }, + "computonsPerMapInputByte" : -1, + "computonsPerMapOutputByte" : -1, + "computonsPerReduceInputByte" : -1, + "computonsPerReduceOutputByte" : -1, + "heapMegabytes" : 200, + "outcome" : "SUCCESS", + "jobtype" : "JAVA", + "directDependantJobs" : [ ], + "successfulMapAttemptCDFs" : [ { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 47021, + "minimum" : 11143, + "rankings" : [ { + "datum" : 13354, + "relativeRanking" : 0.05 + }, { + "datum" : 14101, + "relativeRanking" : 0.1 + }, { + "datum" : 15609, + "relativeRanking" : 0.15 + }, { + "datum" : 15919, + "relativeRanking" : 0.2 + }, { + "datum" : 17003, + "relativeRanking" : 0.25 + }, { + "datum" : 17109, + "relativeRanking" : 0.3 + }, { + "datum" : 18342, + "relativeRanking" : 0.35 + }, { + "datum" : 18870, + "relativeRanking" : 0.4 + }, { + "datum" : 19127, + "relativeRanking" : 0.45 + }, { + "datum" : 19221, + "relativeRanking" : 0.5 + }, { + "datum" : 19481, + "relativeRanking" : 0.55 + }, { + "datum" : 19896, + "relativeRanking" : 0.6 + }, { + "datum" : 20585, + "relativeRanking" : 0.65 + }, { + "datum" : 20784, + "relativeRanking" : 0.7 + }, { + "datum" : 21452, + "relativeRanking" : 0.75 + }, { + "datum" : 21853, + "relativeRanking" : 0.8 + }, { + "datum" : 22436, + "relativeRanking" : 0.85 + }, { + "datum" : 32646, + "relativeRanking" : 0.9 + }, { + "datum" : 41553, + "relativeRanking" : 0.95 + } ], + "numberValues" : 96 + } ], + "failedMapAttemptCDFs" : [ { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + } ], + "successfulReduceAttemptCDF" : { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, + "failedReduceAttemptCDF" : { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, + "mapperTriesToSucceed" : [ 1.0 ], + "failedMapperFraction" : 0.0, + "relativeTime" : 0, + "clusterMapMB" : -1, + "clusterReduceMB" : -1, + "jobMapMB" : 200, + "jobReduceMB" : 200 +} { + "priority" : "NORMAL", + "jobID" : "job_1369942127770_1206", + "user" : "jenkins", + "jobName" : "TeraGen", + "submitTime" : 1371222159703, + "finishTime" : 1371222251755, + "queue" : "sls_queue_1", + "mapTasks" : [ { + "startTime" : 1371222164113, + "taskID" : "task_1369942127770_1206_m_000000", + "taskType" : "MAP", + "finishTime" : 1371222188484, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166321, + "result" : "SUCCESS", + "finishTime" : 1371222188484, + "attemptID" : "attempt_1369942127770_1206_m_000000_0", + "clockSplits" : [ 2278, 2279, 2279, 2279, 1641, 1090, 1090, 3620, 943, 943, 943, 2773 ], + "cpuUsages" : [ 1480, 1481, 1481, 1481, 1298, 1141, 1141, 1312, 814, 815, 814, 1062 ], + "vmemKbytes" : [ 161561, 484683, 807806, 1130929, 1407572, 1442299, 1442300, 1442299, 1442300, 1442300, 1442299, 1442300 ], + "physMemKbytes" : [ 34370, 103111, 171853, 240594, 299471, 307004, 307167, 309072, 310772, 308485, 306197, 304712 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 82, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14320, + "virtualMemoryUsage" : 1476915200, + "physicalMemoryUsage" : 311963648, + "heapUsage" : 735051776 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 82, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164115, + "taskID" : "task_1369942127770_1206_m_000001", + "taskType" : "MAP", + "finishTime" : 1371222185876, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166287, + "result" : "SUCCESS", + "finishTime" : 1371222185876, + "attemptID" : "attempt_1369942127770_1206_m_000001_0", + "clockSplits" : [ 1967, 1967, 1967, 1967, 1968, 1160, 1022, 1021, 922, 887, 887, 3761 ], + "cpuUsages" : [ 1290, 1290, 1290, 1291, 1290, 1137, 1110, 1111, 890, 812, 812, 1247 ], + "vmemKbytes" : [ 136908, 410726, 684543, 958360, 1232179, 1406210, 1409140, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 29838, 89517, 149196, 208875, 268554, 307143, 309569, 311375, 312131, 310214, 308165, 306185 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13650, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 312889344, + "heapUsage" : 734986240 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164115, + "taskID" : "task_1369942127770_1206_m_000002", + "taskType" : "MAP", + "finishTime" : 1371222187434, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166324, + "result" : "SUCCESS", + "finishTime" : 1371222187434, + "attemptID" : "attempt_1369942127770_1206_m_000002_0", + "clockSplits" : [ 2525, 2525, 2525, 2526, 1158, 1048, 1049, 3067, 3187, 40, 40, 40 ], + "cpuUsages" : [ 1475, 1475, 1475, 1475, 1136, 1109, 1109, 1564, 795, 739, 739, 739 ], + "vmemKbytes" : [ 174639, 523917, 873196, 1222474, 1422137, 1423103, 1423104, 1423103, 1423104, 1423104, 1423103, 1423104 ], + "physMemKbytes" : [ 38111, 114334, 190557, 266780, 310216, 310109, 309790, 309622, 308756, 306687, 304614, 302541 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14130, + "virtualMemoryUsage" : 1457258496, + "physicalMemoryUsage" : 308678656, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166666, + "outputBytes" : 72234, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164115, + "taskID" : "task_1369942127770_1206_m_000003", + "taskType" : "MAP", + "finishTime" : 1371222186091, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166325, + "result" : "SUCCESS", + "finishTime" : 1371222186091, + "attemptID" : "attempt_1369942127770_1206_m_000003_0", + "clockSplits" : [ 2228, 2229, 2229, 2228, 1992, 1092, 1093, 1296, 4777, 199, 199, 199 ], + "cpuUsages" : [ 1387, 1388, 1388, 1388, 1346, 1185, 1184, 1169, 1046, 879, 880, 880 ], + "vmemKbytes" : [ 148980, 446940, 744901, 1042862, 1334323, 1427567, 1427568, 1427567, 1427568, 1427568, 1427567, 1427568 ], + "physMemKbytes" : [ 31982, 95948, 159914, 223879, 286454, 306599, 306786, 306971, 307048, 307043, 307026, 307009 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14120, + "virtualMemoryUsage" : 1461829632, + "physicalMemoryUsage" : 314368000, + "heapUsage" : 728760320 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164116, + "taskID" : "task_1369942127770_1206_m_000004", + "taskType" : "MAP", + "finishTime" : 1371222189053, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166287, + "result" : "SUCCESS", + "finishTime" : 1371222189053, + "attemptID" : "attempt_1369942127770_1206_m_000004_0", + "clockSplits" : [ 2506, 2507, 2507, 2507, 1358, 1134, 1277, 3003, 1031, 1032, 3177, 718 ], + "cpuUsages" : [ 1424, 1424, 1425, 1424, 1199, 1156, 1162, 1212, 826, 825, 851, 1032 ], + "vmemKbytes" : [ 170607, 511823, 853038, 1194253, 1416017, 1420563, 1420564, 1420563, 1420564, 1420564, 1420563, 1420564 ], + "physMemKbytes" : [ 36772, 110318, 183863, 257408, 305224, 306250, 306299, 306447, 304928, 302270, 299633, 298578 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 85, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13960, + "virtualMemoryUsage" : 1454657536, + "physicalMemoryUsage" : 305713152, + "heapUsage" : 728367104 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 85, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164116, + "taskID" : "task_1369942127770_1206_m_000005", + "taskType" : "MAP", + "finishTime" : 1371222184979, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166323, + "result" : "SUCCESS", + "finishTime" : 1371222184979, + "attemptID" : "attempt_1369942127770_1206_m_000005_0", + "clockSplits" : [ 1921, 1921, 1921, 1921, 1922, 1602, 1010, 1010, 1013, 1026, 1026, 2353 ], + "cpuUsages" : [ 1306, 1306, 1306, 1306, 1306, 1250, 1146, 1146, 1053, 788, 788, 1199 ], + "vmemKbytes" : [ 126096, 378289, 630482, 882675, 1134868, 1371662, 1425028, 1425027, 1425028, 1425028, 1425027, 1425028 ], + "physMemKbytes" : [ 28145, 84436, 140727, 197018, 253310, 306166, 318110, 318149, 318111, 316467, 314188, 311974 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13900, + "virtualMemoryUsage" : 1459228672, + "physicalMemoryUsage" : 318754816, + "heapUsage" : 734986240 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72234, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164116, + "taskID" : "task_1369942127770_1206_m_000006", + "taskType" : "MAP", + "finishTime" : 1371222185246, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166324, + "result" : "SUCCESS", + "finishTime" : 1371222185246, + "attemptID" : "attempt_1369942127770_1206_m_000006_0", + "clockSplits" : [ 2131, 2131, 2132, 2131, 2083, 1125, 1125, 1164, 1326, 1326, 1702, 541 ], + "cpuUsages" : [ 1351, 1351, 1351, 1351, 1344, 1220, 1220, 1130, 761, 760, 931, 960 ], + "vmemKbytes" : [ 145579, 436739, 727899, 1019058, 1309880, 1441771, 1441772, 1441771, 1441772, 1441772, 1441771, 1441772 ], + "physMemKbytes" : [ 31512, 94536, 157560, 220583, 283538, 313578, 316306, 318981, 319869, 319878, 318776, 315776 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13730, + "virtualMemoryUsage" : 1476374528, + "physicalMemoryUsage" : 321802240, + "heapUsage" : 740491264 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164117, + "taskID" : "task_1369942127770_1206_m_000007", + "taskType" : "MAP", + "finishTime" : 1371222185092, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222166325, + "result" : "SUCCESS", + "finishTime" : 1371222185092, + "attemptID" : "attempt_1369942127770_1206_m_000007_0", + "clockSplits" : [ 1853, 1853, 1853, 1854, 1853, 1487, 971, 970, 986, 1064, 1064, 2953 ], + "cpuUsages" : [ 1287, 1287, 1288, 1287, 1287, 1189, 1049, 1049, 1004, 776, 776, 1151 ], + "vmemKbytes" : [ 126150, 378452, 630754, 883055, 1135357, 1365947, 1409140, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 27651, 82956, 138261, 193565, 248870, 299639, 311257, 313850, 316375, 315596, 313007, 310500 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13430, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 317206528, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164117, + "taskID" : "task_1369942127770_1206_m_000008", + "taskType" : "MAP", + "finishTime" : 1371222188434, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166282, + "result" : "SUCCESS", + "finishTime" : 1371222188434, + "attemptID" : "attempt_1369942127770_1206_m_000008_0", + "clockSplits" : [ 2257, 2258, 2258, 2257, 1845, 1172, 1171, 3581, 845, 845, 845, 2798 ], + "cpuUsages" : [ 1359, 1359, 1359, 1360, 1314, 1240, 1241, 1179, 860, 861, 861, 1097 ], + "vmemKbytes" : [ 153669, 461007, 768346, 1075685, 1360846, 1419935, 1419936, 1419935, 1419936, 1419936, 1419935, 1419936 ], + "physMemKbytes" : [ 34010, 102032, 170054, 238075, 301205, 314458, 314675, 315015, 314035, 311954, 309873, 308002 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14090, + "virtualMemoryUsage" : 1454014464, + "physicalMemoryUsage" : 315056128, + "heapUsage" : 735051776 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72234, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164117, + "taskID" : "task_1369942127770_1206_m_000009", + "taskType" : "MAP", + "finishTime" : 1371222186078, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166289, + "result" : "SUCCESS", + "finishTime" : 1371222186078, + "attemptID" : "attempt_1369942127770_1206_m_000009_0", + "clockSplits" : [ 2038, 2039, 2038, 2039, 2038, 1268, 1144, 1104, 802, 803, 803, 3666 ], + "cpuUsages" : [ 1317, 1317, 1318, 1317, 1317, 1417, 1432, 1349, 722, 722, 723, 1209 ], + "vmemKbytes" : [ 139866, 419600, 699334, 979067, 1258801, 1434828, 1437528, 1437527, 1437528, 1437528, 1437527, 1437528 ], + "physMemKbytes" : [ 30358, 91075, 151792, 212509, 273226, 312566, 316176, 319207, 320182, 319829, 319476, 319130 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72234, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14160, + "virtualMemoryUsage" : 1472028672, + "physicalMemoryUsage" : 326660096, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72234, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164118, + "taskID" : "task_1369942127770_1206_m_000010", + "taskType" : "MAP", + "finishTime" : 1371222185273, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166293, + "result" : "SUCCESS", + "finishTime" : 1371222185273, + "attemptID" : "attempt_1369942127770_1206_m_000010_0", + "clockSplits" : [ 1550, 1551, 1551, 1551, 1551, 1551, 1348, 982, 983, 1069, 1644, 3642 ], + "cpuUsages" : [ 1196, 1197, 1197, 1197, 1197, 1197, 1161, 1097, 1097, 1062, 830, 1372 ], + "vmemKbytes" : [ 106103, 318309, 530515, 742720, 954927, 1167133, 1365716, 1409403, 1409404, 1409404, 1409403, 1409404 ], + "physMemKbytes" : [ 23450, 70351, 117253, 164154, 211056, 257957, 301852, 311562, 311632, 311701, 311734, 311749 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13800, + "virtualMemoryUsage" : 1443229696, + "physicalMemoryUsage" : 319262720, + "heapUsage" : 728629248 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164118, + "taskID" : "task_1369942127770_1206_m_000011", + "taskType" : "MAP", + "finishTime" : 1371222188434, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166290, + "result" : "SUCCESS", + "finishTime" : 1371222188434, + "attemptID" : "attempt_1369942127770_1206_m_000011_0", + "clockSplits" : [ 2018, 2018, 2019, 2018, 2019, 1684, 1356, 6988, 74, 73, 74, 74 ], + "cpuUsages" : [ 1424, 1425, 1425, 1424, 1425, 1364, 1305, 1424, 818, 819, 818, 819 ], + "vmemKbytes" : [ 128226, 384681, 641136, 897591, 1154046, 1377893, 1409404, 1409403, 1409404, 1409404, 1409403, 1409404 ], + "physMemKbytes" : [ 28599, 85797, 142996, 200194, 257393, 307333, 314455, 314599, 314625, 314232, 313838, 313445 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14790, + "virtualMemoryUsage" : 1443229696, + "physicalMemoryUsage" : 320749568, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164118, + "taskID" : "task_1369942127770_1206_m_000012", + "taskType" : "MAP", + "finishTime" : 1371222185278, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166295, + "result" : "SUCCESS", + "finishTime" : 1371222185278, + "attemptID" : "attempt_1369942127770_1206_m_000012_0", + "clockSplits" : [ 1913, 1914, 1914, 1914, 1914, 1611, 911, 910, 911, 1149, 1191, 2725 ], + "cpuUsages" : [ 1375, 1376, 1376, 1376, 1376, 1301, 1127, 1127, 1128, 891, 850, 1257 ], + "vmemKbytes" : [ 124608, 373827, 623045, 872262, 1121481, 1359363, 1420140, 1420139, 1420140, 1420140, 1420139, 1420140 ], + "physMemKbytes" : [ 26214, 78645, 131075, 183505, 235936, 285986, 298857, 298969, 299082, 298216, 295652, 293146 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14560, + "virtualMemoryUsage" : 1454223360, + "physicalMemoryUsage" : 299470848, + "heapUsage" : 740491264 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164119, + "taskID" : "task_1369942127770_1206_m_000013", + "taskType" : "MAP", + "finishTime" : 1371222185273, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166291, + "result" : "SUCCESS", + "finishTime" : 1371222185273, + "attemptID" : "attempt_1369942127770_1206_m_000013_0", + "clockSplits" : [ 1713, 1714, 1713, 1714, 1713, 1714, 1293, 1179, 1176, 1125, 1125, 2795 ], + "cpuUsages" : [ 1221, 1221, 1221, 1221, 1221, 1221, 1236, 1241, 1229, 807, 807, 1234 ], + "vmemKbytes" : [ 115735, 347206, 578677, 810148, 1041619, 1273090, 1433402, 1438795, 1438796, 1438796, 1438795, 1438796 ], + "physMemKbytes" : [ 25299, 75897, 126496, 177095, 227694, 278292, 314180, 318040, 320785, 321923, 321617, 321326 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13880, + "virtualMemoryUsage" : 1473327104, + "physicalMemoryUsage" : 328986624, + "heapUsage" : 740556800 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164120, + "taskID" : "task_1369942127770_1206_m_000014", + "taskType" : "MAP", + "finishTime" : 1371222185953, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166297, + "result" : "SUCCESS", + "finishTime" : 1371222185953, + "attemptID" : "attempt_1369942127770_1206_m_000014_0", + "clockSplits" : [ 1818, 1819, 1819, 1819, 1819, 1797, 1598, 1781, 4888, 164, 164, 164 ], + "cpuUsages" : [ 1243, 1244, 1244, 1244, 1244, 1251, 1319, 1273, 930, 856, 856, 856 ], + "vmemKbytes" : [ 121322, 363966, 606611, 849256, 1091901, 1333349, 1431760, 1431686, 1425453, 1421556, 1421555, 1421556 ], + "physMemKbytes" : [ 26145, 78435, 130726, 183016, 235307, 287356, 310547, 313799, 309838, 305300, 303271, 301242 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13560, + "virtualMemoryUsage" : 1455673344, + "physicalMemoryUsage" : 307433472, + "heapUsage" : 723845120 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164120, + "taskID" : "task_1369942127770_1206_m_000015", + "taskType" : "MAP", + "finishTime" : 1371222189058, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222166333, + "result" : "SUCCESS", + "finishTime" : 1371222189058, + "attemptID" : "attempt_1369942127770_1206_m_000015_0", + "clockSplits" : [ 2170, 2171, 2171, 2171, 2028, 1094, 1095, 4145, 798, 798, 798, 3281 ], + "cpuUsages" : [ 1358, 1358, 1358, 1358, 1333, 1171, 1172, 1237, 815, 816, 815, 1259 ], + "vmemKbytes" : [ 146393, 439180, 731967, 1024754, 1314962, 1425067, 1425068, 1425067, 1425068, 1425068, 1425067, 1425068 ], + "physMemKbytes" : [ 32691, 98075, 163459, 228842, 293658, 318728, 319501, 320253, 319820, 318699, 317577, 316047 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14050, + "virtualMemoryUsage" : 1459269632, + "physicalMemoryUsage" : 320176128, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164121, + "taskID" : "task_1369942127770_1206_m_000016", + "taskType" : "MAP", + "finishTime" : 1371222185112, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166298, + "result" : "SUCCESS", + "finishTime" : 1371222185112, + "attemptID" : "attempt_1369942127770_1206_m_000016_0", + "clockSplits" : [ 2147, 2147, 2148, 2147, 2054, 874, 874, 874, 919, 985, 986, 2651 ], + "cpuUsages" : [ 1392, 1392, 1393, 1392, 1371, 1101, 1100, 1100, 1008, 870, 870, 1241 ], + "vmemKbytes" : [ 144202, 432606, 721011, 1009416, 1297041, 1420819, 1420820, 1420819, 1420820, 1420820, 1420819, 1420820 ], + "physMemKbytes" : [ 30336, 91008, 151680, 212351, 272862, 299357, 300156, 300954, 301511, 299852, 297656, 295530 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14230, + "virtualMemoryUsage" : 1454919680, + "physicalMemoryUsage" : 301989888, + "heapUsage" : 734920704 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164121, + "taskID" : "task_1369942127770_1206_m_000017", + "taskType" : "MAP", + "finishTime" : 1371222185125, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166299, + "result" : "SUCCESS", + "finishTime" : 1371222185125, + "attemptID" : "attempt_1369942127770_1206_m_000017_0", + "clockSplits" : [ 2056, 2056, 2056, 2057, 2056, 1240, 1157, 1132, 945, 946, 945, 2174 ], + "cpuUsages" : [ 1376, 1377, 1376, 1377, 1377, 1106, 1080, 1060, 914, 915, 915, 1267 ], + "vmemKbytes" : [ 141624, 424872, 708121, 991370, 1274619, 1441166, 1442372, 1442371, 1442372, 1442372, 1442371, 1442372 ], + "physMemKbytes" : [ 30671, 92015, 153358, 214701, 276045, 312210, 312702, 312916, 311552, 309174, 306795, 305251 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14140, + "virtualMemoryUsage" : 1476988928, + "physicalMemoryUsage" : 312541184, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164121, + "taskID" : "task_1369942127770_1206_m_000018", + "taskType" : "MAP", + "finishTime" : 1371222185117, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166301, + "result" : "SUCCESS", + "finishTime" : 1371222185117, + "attemptID" : "attempt_1369942127770_1206_m_000018_0", + "clockSplits" : [ 1934, 1934, 1934, 1934, 1934, 1203, 1012, 1012, 930, 897, 896, 3188 ], + "cpuUsages" : [ 1359, 1360, 1359, 1360, 1359, 1168, 1117, 1117, 949, 878, 878, 1216 ], + "vmemKbytes" : [ 138262, 414786, 691311, 967835, 1244360, 1434031, 1439980, 1439979, 1439980, 1439980, 1439979, 1439980 ], + "physMemKbytes" : [ 30204, 90615, 151026, 211436, 271847, 313905, 317141, 319119, 320017, 317820, 315430, 313109 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14120, + "virtualMemoryUsage" : 1474539520, + "physicalMemoryUsage" : 319881216, + "heapUsage" : 740294656 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164121, + "taskID" : "task_1369942127770_1206_m_000019", + "taskType" : "MAP", + "finishTime" : 1371222186145, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166303, + "result" : "SUCCESS", + "finishTime" : 1371222186145, + "attemptID" : "attempt_1369942127770_1206_m_000019_0", + "clockSplits" : [ 3008, 3009, 3009, 1882, 895, 895, 893, 819, 819, 819, 2062, 1653 ], + "cpuUsages" : [ 1646, 1647, 1647, 1320, 1034, 1034, 1032, 934, 934, 935, 941, 966 ], + "vmemKbytes" : [ 203217, 609652, 1016088, 1364807, 1409140, 1409139, 1409140, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 42475, 127426, 212377, 285272, 294585, 294637, 294690, 295048, 295688, 296328, 296949, 297136 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14150, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 304185344, + "heapUsage" : 740294656 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164122, + "taskID" : "task_1369942127770_1206_m_000020", + "taskType" : "MAP", + "finishTime" : 1371222188294, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166304, + "result" : "SUCCESS", + "finishTime" : 1371222188294, + "attemptID" : "attempt_1369942127770_1206_m_000020_0", + "clockSplits" : [ 2521, 2522, 2521, 2522, 1166, 875, 875, 3843, 796, 796, 796, 2750 ], + "cpuUsages" : [ 1465, 1465, 1465, 1465, 1165, 1100, 1100, 1152, 745, 746, 745, 1157 ], + "vmemKbytes" : [ 169996, 509988, 849980, 1189972, 1414887, 1420227, 1420228, 1420227, 1420228, 1420228, 1420227, 1420228 ], + "physMemKbytes" : [ 37258, 111774, 186290, 260806, 310285, 311992, 312537, 313043, 312040, 310217, 308394, 306622 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13770, + "virtualMemoryUsage" : 1454313472, + "physicalMemoryUsage" : 313397248, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164122, + "taskID" : "task_1369942127770_1206_m_000021", + "taskType" : "MAP", + "finishTime" : 1371222185112, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166306, + "result" : "SUCCESS", + "finishTime" : 1371222185112, + "attemptID" : "attempt_1369942127770_1206_m_000021_0", + "clockSplits" : [ 1800, 1801, 1800, 1801, 1801, 1639, 1110, 1109, 1053, 976, 977, 2929 ], + "cpuUsages" : [ 1297, 1297, 1297, 1297, 1297, 1248, 1084, 1085, 966, 809, 809, 1224 ], + "vmemKbytes" : [ 125011, 375035, 625059, 875082, 1125106, 1368301, 1441708, 1441707, 1441708, 1441708, 1441707, 1441708 ], + "physMemKbytes" : [ 27270, 81812, 136354, 190895, 245438, 298570, 316659, 319596, 322165, 321755, 320696, 319661 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13710, + "virtualMemoryUsage" : 1476308992, + "physicalMemoryUsage" : 326963200, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164122, + "taskID" : "task_1369942127770_1206_m_000022", + "taskType" : "MAP", + "finishTime" : 1371222186222, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166307, + "result" : "SUCCESS", + "finishTime" : 1371222186222, + "attemptID" : "attempt_1369942127770_1206_m_000022_0", + "clockSplits" : [ 1673, 1674, 1674, 1674, 1674, 1674, 1281, 1231, 1150, 1000, 1000, 3869 ], + "cpuUsages" : [ 1270, 1271, 1271, 1270, 1271, 1271, 1189, 1180, 1050, 811, 810, 1176 ], + "vmemKbytes" : [ 116283, 348851, 581419, 813986, 1046555, 1279122, 1420532, 1422059, 1422060, 1422060, 1422059, 1422060 ], + "physMemKbytes" : [ 24619, 73859, 123098, 172337, 221577, 270816, 300537, 300304, 299627, 297553, 295072, 292670 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13920, + "virtualMemoryUsage" : 1456189440, + "physicalMemoryUsage" : 298930176, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164123, + "taskID" : "task_1369942127770_1206_m_000023", + "taskType" : "MAP", + "finishTime" : 1371222186145, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222166345, + "result" : "SUCCESS", + "finishTime" : 1371222186145, + "attemptID" : "attempt_1369942127770_1206_m_000023_0", + "clockSplits" : [ 1890, 1890, 1890, 1890, 1890, 1603, 1310, 1285, 1093, 1093, 2285, 1599 ], + "cpuUsages" : [ 1300, 1301, 1300, 1301, 1301, 1183, 1064, 1042, 878, 877, 908, 985 ], + "vmemKbytes" : [ 130897, 392693, 654489, 916284, 1178080, 1407818, 1441216, 1441215, 1441216, 1441216, 1441215, 1441216 ], + "physMemKbytes" : [ 28778, 86335, 143893, 201450, 259007, 309525, 316931, 316984, 315303, 312502, 309811, 309093 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13500, + "virtualMemoryUsage" : 1475805184, + "physicalMemoryUsage" : 316432384, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164123, + "taskID" : "task_1369942127770_1206_m_000024", + "taskType" : "MAP", + "finishTime" : 1371222189046, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222166312, + "result" : "SUCCESS", + "finishTime" : 1371222189046, + "attemptID" : "attempt_1369942127770_1206_m_000024_0", + "clockSplits" : [ 2253, 2253, 2253, 2254, 1847, 969, 969, 7872, 514, 515, 514, 515 ], + "cpuUsages" : [ 1355, 1356, 1356, 1355, 1273, 1091, 1092, 1191, 1000, 1000, 1000, 1001 ], + "vmemKbytes" : [ 153860, 461581, 769302, 1077023, 1369366, 1441319, 1441320, 1441319, 1441320, 1441320, 1441319, 1441320 ], + "physMemKbytes" : [ 30297, 90891, 151486, 212080, 269690, 284519, 285383, 286252, 287524, 289042, 290561, 292080 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14070, + "virtualMemoryUsage" : 1475911680, + "physicalMemoryUsage" : 299868160, + "heapUsage" : 677838848 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164123, + "taskID" : "task_1369942127770_1206_m_000025", + "taskType" : "MAP", + "finishTime" : 1371222185135, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222166313, + "result" : "SUCCESS", + "finishTime" : 1371222185135, + "attemptID" : "attempt_1369942127770_1206_m_000025_0", + "clockSplits" : [ 2136, 2136, 2136, 2137, 2130, 1075, 1075, 1048, 844, 844, 844, 2412 ], + "cpuUsages" : [ 1387, 1387, 1388, 1387, 1386, 1053, 1052, 1035, 894, 895, 895, 1351 ], + "vmemKbytes" : [ 142390, 427170, 711951, 996731, 1281508, 1422399, 1422400, 1422399, 1422400, 1422400, 1422399, 1422400 ], + "physMemKbytes" : [ 26260, 78782, 131304, 183825, 236347, 262453, 262696, 262931, 262484, 261596, 260708, 259812 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14110, + "virtualMemoryUsage" : 1456537600, + "physicalMemoryUsage" : 265564160, + "heapUsage" : 610598912 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164124, + "taskID" : "task_1369942127770_1206_m_000026", + "taskType" : "MAP", + "finishTime" : 1371222185121, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222166319, + "result" : "SUCCESS", + "finishTime" : 1371222185121, + "attemptID" : "attempt_1369942127770_1206_m_000026_0", + "clockSplits" : [ 2178, 2179, 2178, 2179, 1980, 1194, 1194, 904, 713, 713, 713, 2671 ], + "cpuUsages" : [ 1365, 1365, 1365, 1365, 1309, 1089, 1089, 917, 805, 805, 805, 1301 ], + "vmemKbytes" : [ 147880, 443640, 739400, 1035160, 1324892, 1419083, 1419084, 1419083, 1419084, 1419084, 1419083, 1419084 ], + "physMemKbytes" : [ 29159, 87477, 145795, 204112, 261297, 281682, 284343, 286121, 284301, 282096, 279891, 278128 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13580, + "virtualMemoryUsage" : 1453142016, + "physicalMemoryUsage" : 286785536, + "heapUsage" : 609091584 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164124, + "taskID" : "task_1369942127770_1206_m_000027", + "taskType" : "MAP", + "finishTime" : 1371222186069, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222166318, + "result" : "SUCCESS", + "finishTime" : 1371222186069, + "attemptID" : "attempt_1369942127770_1206_m_000027_0", + "clockSplits" : [ 2248, 2249, 2249, 2248, 1776, 1068, 1067, 993, 918, 918, 2288, 1622 ], + "cpuUsages" : [ 1367, 1368, 1367, 1368, 1258, 1097, 1096, 966, 836, 836, 879, 1172 ], + "vmemKbytes" : [ 154759, 464278, 773798, 1083317, 1368023, 1423659, 1423660, 1423659, 1423660, 1423660, 1423659, 1423660 ], + "physMemKbytes" : [ 30750, 92253, 153756, 215259, 271847, 283056, 283244, 283187, 281664, 279894, 278154, 278631 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13680, + "virtualMemoryUsage" : 1457827840, + "physicalMemoryUsage" : 286220288, + "heapUsage" : 592445440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164124, + "taskID" : "task_1369942127770_1206_m_000028", + "taskType" : "MAP", + "finishTime" : 1371222185115, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222166327, + "result" : "SUCCESS", + "finishTime" : 1371222185115, + "attemptID" : "attempt_1369942127770_1206_m_000028_0", + "clockSplits" : [ 2169, 2170, 2170, 2170, 2072, 953, 954, 953, 890, 876, 876, 2529 ], + "cpuUsages" : [ 1402, 1402, 1403, 1402, 1374, 1043, 1042, 1043, 920, 896, 895, 1618 ], + "vmemKbytes" : [ 146031, 438093, 730155, 1022217, 1313341, 1436891, 1436892, 1436891, 1436892, 1436892, 1436891, 1436892 ], + "physMemKbytes" : [ 28835, 86506, 144177, 201848, 259347, 285982, 289861, 293740, 300259, 311707, 323267, 334513 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14440, + "virtualMemoryUsage" : 1471377408, + "physicalMemoryUsage" : 346238976, + "heapUsage" : 679346176 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164124, + "taskID" : "task_1369942127770_1206_m_000029", + "taskType" : "MAP", + "finishTime" : 1371222186085, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222166330, + "result" : "SUCCESS", + "finishTime" : 1371222186085, + "attemptID" : "attempt_1369942127770_1206_m_000029_0", + "clockSplits" : [ 2131, 2132, 2132, 2132, 2131, 1196, 1106, 1107, 1114, 1115, 2070, 1384 ], + "cpuUsages" : [ 1316, 1317, 1317, 1317, 1317, 1079, 1056, 1048, 986, 985, 1017, 1075 ], + "vmemKbytes" : [ 141371, 424113, 706855, 989597, 1272340, 1437442, 1438532, 1438531, 1438532, 1438532, 1438531, 1438532 ], + "physMemKbytes" : [ 27222, 81669, 136115, 190561, 245008, 277502, 279390, 281042, 280013, 277262, 274876, 276619 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13830, + "virtualMemoryUsage" : 1473056768, + "physicalMemoryUsage" : 284745728, + "heapUsage" : 608043008 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164125, + "taskID" : "task_1369942127770_1206_m_000030", + "taskType" : "MAP", + "finishTime" : 1371222209777, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222186223, + "result" : "SUCCESS", + "finishTime" : 1371222209777, + "attemptID" : "attempt_1369942127770_1206_m_000030_0", + "clockSplits" : [ 3325, 3325, 3326, 1633, 1137, 1137, 1676, 1628, 916, 916, 917, 3460 ], + "cpuUsages" : [ 1614, 1615, 1615, 1232, 1121, 1121, 1189, 1174, 1017, 1017, 1017, 1238 ], + "vmemKbytes" : [ 220995, 662987, 1104979, 1414799, 1426152, 1426151, 1426152, 1426151, 1426152, 1426152, 1426151, 1426152 ], + "physMemKbytes" : [ 46111, 138333, 230555, 295761, 299962, 301841, 304098, 306831, 306453, 304076, 301699, 299750 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 15080, + "virtualMemoryUsage" : 1460379648, + "physicalMemoryUsage" : 306688000, + "heapUsage" : 745209856 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164125, + "taskID" : "task_1369942127770_1206_m_000031", + "taskType" : "MAP", + "finishTime" : 1371222209814, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222186224, + "result" : "SUCCESS", + "finishTime" : 1371222209814, + "attemptID" : "attempt_1369942127770_1206_m_000031_0", + "clockSplits" : [ 2788, 2789, 2789, 2665, 1430, 1431, 1710, 1647, 900, 899, 900, 3438 ], + "cpuUsages" : [ 1386, 1387, 1387, 1361, 1109, 1109, 1131, 1115, 964, 965, 964, 1252 ], + "vmemKbytes" : [ 182198, 546594, 910990, 1273865, 1424288, 1424287, 1424288, 1424287, 1424288, 1424288, 1424287, 1424288 ], + "physMemKbytes" : [ 38354, 115062, 191770, 268152, 298904, 297349, 296494, 296717, 296215, 295239, 294262, 293471 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14390, + "virtualMemoryUsage" : 1458470912, + "physicalMemoryUsage" : 302673920, + "heapUsage" : 724500480 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164125, + "taskID" : "task_1369942127770_1206_m_000032", + "taskType" : "MAP", + "finishTime" : 1371222209796, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222186230, + "result" : "SUCCESS", + "finishTime" : 1371222209796, + "attemptID" : "attempt_1369942127770_1206_m_000032_0", + "clockSplits" : [ 3446, 3446, 3447, 1666, 1610, 1052, 1052, 1212, 2392, 1340, 1113, 1783 ], + "cpuUsages" : [ 1574, 1575, 1575, 1192, 1179, 1036, 1036, 1060, 1242, 897, 823, 1161 ], + "vmemKbytes" : [ 236125, 708377, 1180629, 1421325, 1421348, 1421347, 1421348, 1421347, 1421348, 1421348, 1421347, 1421348 ], + "physMemKbytes" : [ 51196, 153591, 255986, 308231, 308353, 309496, 311445, 313379, 314141, 313513, 311665, 309787 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14350, + "virtualMemoryUsage" : 1455460352, + "physicalMemoryUsage" : 316284928, + "heapUsage" : 741015552 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164126, + "taskID" : "task_1369942127770_1206_m_000033", + "taskType" : "MAP", + "finishTime" : 1371222209114, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222186269, + "result" : "SUCCESS", + "finishTime" : 1371222209114, + "attemptID" : "attempt_1369942127770_1206_m_000033_0", + "clockSplits" : [ 2867, 2868, 2867, 2868, 1157, 1130, 1219, 2051, 1397, 925, 924, 2567 ], + "cpuUsages" : [ 1397, 1397, 1397, 1397, 1133, 1129, 1138, 1227, 1043, 911, 911, 1420 ], + "vmemKbytes" : [ 177507, 532523, 887539, 1242554, 1425454, 1425495, 1425496, 1425495, 1425496, 1425496, 1425495, 1425496 ], + "physMemKbytes" : [ 35271, 105813, 176355, 246896, 284278, 286428, 288564, 289767, 290547, 292311, 294191, 296014 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14500, + "virtualMemoryUsage" : 1459707904, + "physicalMemoryUsage" : 303673344, + "heapUsage" : 669974528 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164126, + "taskID" : "task_1369942127770_1206_m_000034", + "taskType" : "MAP", + "finishTime" : 1371222205072, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222186230, + "result" : "SUCCESS", + "finishTime" : 1371222205072, + "attemptID" : "attempt_1369942127770_1206_m_000034_0", + "clockSplits" : [ 1942, 1943, 1943, 1942, 1943, 1831, 787, 788, 788, 889, 1494, 2545 ], + "cpuUsages" : [ 1226, 1226, 1227, 1226, 1227, 1208, 1040, 1039, 1040, 1009, 828, 1724 ], + "vmemKbytes" : [ 121272, 363818, 606363, 848908, 1091454, 1332855, 1430977, 1429650, 1428324, 1427011, 1426523, 1426524 ], + "physMemKbytes" : [ 27249, 81750, 136250, 190750, 245251, 299492, 321349, 320728, 320107, 319489, 319062, 318747 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14020, + "virtualMemoryUsage" : 1460760576, + "physicalMemoryUsage" : 326189056, + "heapUsage" : 668139520 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164126, + "taskID" : "task_1369942127770_1206_m_000035", + "taskType" : "MAP", + "finishTime" : 1371222209265, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222186231, + "result" : "SUCCESS", + "finishTime" : 1371222209265, + "attemptID" : "attempt_1369942127770_1206_m_000035_0", + "clockSplits" : [ 2312, 2313, 2313, 2313, 2313, 2097, 1450, 1407, 1083, 1084, 3675, 312 ], + "cpuUsages" : [ 1166, 1167, 1167, 1166, 1167, 1149, 1093, 1075, 945, 945, 1023, 1307 ], + "vmemKbytes" : [ 123562, 370687, 617812, 864937, 1112063, 1351529, 1421224, 1421223, 1421224, 1421224, 1421223, 1421224 ], + "physMemKbytes" : [ 23849, 71548, 119247, 166946, 214646, 260983, 277134, 280864, 282024, 281525, 281038, 280933 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13460, + "virtualMemoryUsage" : 1455333376, + "physicalMemoryUsage" : 293855232, + "heapUsage" : 645595136 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164127, + "taskID" : "task_1369942127770_1206_m_000036", + "taskType" : "MAP", + "finishTime" : 1371222205027, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222186270, + "result" : "SUCCESS", + "finishTime" : 1371222205027, + "attemptID" : "attempt_1369942127770_1206_m_000036_0", + "clockSplits" : [ 1457, 1458, 1457, 1458, 1458, 1457, 1588, 1594, 1020, 1007, 1007, 3788 ], + "cpuUsages" : [ 1146, 1146, 1146, 1146, 1147, 1146, 1350, 1361, 1032, 1024, 1024, 1372 ], + "vmemKbytes" : [ 117533, 352601, 587669, 822736, 1057804, 1292871, 1420975, 1421223, 1421224, 1421224, 1421223, 1421224 ], + "physMemKbytes" : [ 25662, 76986, 128310, 179634, 230959, 282283, 311405, 313987, 314079, 311498, 308915, 307356 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14040, + "virtualMemoryUsage" : 1455333376, + "physicalMemoryUsage" : 314486784, + "heapUsage" : 725483520 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164127, + "taskID" : "task_1369942127770_1206_m_000037", + "taskType" : "MAP", + "finishTime" : 1371222204802, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222186229, + "result" : "SUCCESS", + "finishTime" : 1371222204802, + "attemptID" : "attempt_1369942127770_1206_m_000037_0", + "clockSplits" : [ 2817, 2817, 2817, 1469, 1026, 1027, 1211, 1334, 3276, 257, 257, 258 ], + "cpuUsages" : [ 1465, 1466, 1466, 1237, 1161, 1162, 1220, 1260, 1163, 850, 850, 850 ], + "vmemKbytes" : [ 221437, 664313, 1107189, 1424591, 1438128, 1438127, 1438128, 1438127, 1438128, 1438128, 1438127, 1438128 ], + "physMemKbytes" : [ 47520, 142560, 237600, 305733, 308702, 308767, 308909, 309355, 309754, 308145, 305672, 303200 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14150, + "virtualMemoryUsage" : 1472643072, + "physicalMemoryUsage" : 309211136, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164127, + "taskID" : "task_1369942127770_1206_m_000038", + "taskType" : "MAP", + "finishTime" : 1371222205071, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222186231, + "result" : "SUCCESS", + "finishTime" : 1371222205071, + "attemptID" : "attempt_1369942127770_1206_m_000038_0", + "clockSplits" : [ 2279, 2280, 2280, 2280, 869, 832, 833, 833, 889, 890, 889, 3531 ], + "cpuUsages" : [ 1331, 1332, 1332, 1332, 1164, 1161, 1160, 1159, 1012, 1011, 1012, 1254 ], + "vmemKbytes" : [ 176677, 530031, 883386, 1236740, 1422008, 1422115, 1422116, 1422115, 1422116, 1422116, 1422115, 1422116 ], + "physMemKbytes" : [ 37600, 112801, 188002, 263203, 303425, 305112, 306777, 308442, 309142, 308918, 308694, 308464 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14390, + "virtualMemoryUsage" : 1456246784, + "physicalMemoryUsage" : 315645952, + "heapUsage" : 745013248 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164127, + "taskID" : "task_1369942127770_1206_m_000039", + "taskType" : "MAP", + "finishTime" : 1371222204844, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222186270, + "result" : "SUCCESS", + "finishTime" : 1371222204844, + "attemptID" : "attempt_1369942127770_1206_m_000039_0", + "clockSplits" : [ 1520, 1521, 1521, 1520, 1521, 1502, 1411, 1412, 1054, 1023, 1024, 3236 ], + "cpuUsages" : [ 1201, 1201, 1201, 1201, 1201, 1219, 1301, 1301, 1078, 1060, 1059, 997 ], + "vmemKbytes" : [ 123345, 370038, 616730, 863421, 1110114, 1353144, 1437648, 1437647, 1437648, 1437648, 1437647, 1437648 ], + "physMemKbytes" : [ 26607, 79823, 133038, 186253, 239469, 291949, 312598, 316277, 317760, 316265, 314752, 313761 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14310, + "virtualMemoryUsage" : 1472151552, + "physicalMemoryUsage" : 321114112, + "heapUsage" : 738000896 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164128, + "taskID" : "task_1369942127770_1206_m_000040", + "taskType" : "MAP", + "finishTime" : 1371222208051, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222187226, + "result" : "SUCCESS", + "finishTime" : 1371222208051, + "attemptID" : "attempt_1369942127770_1206_m_000040_0", + "clockSplits" : [ 2708, 2709, 2709, 2708, 1324, 1241, 1170, 983, 983, 3572, 201, 201 ], + "cpuUsages" : [ 1449, 1450, 1449, 1450, 1163, 1146, 1099, 972, 971, 970, 945, 946 ], + "vmemKbytes" : [ 173689, 521067, 868445, 1215823, 1408585, 1409139, 1409140, 1409139, 1409140, 1409140, 1409139, 1409140 ], + "physMemKbytes" : [ 37436, 112308, 187180, 262052, 304948, 308090, 311012, 311933, 312102, 312258, 310764, 308111 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14260, + "virtualMemoryUsage" : 1442959360, + "physicalMemoryUsage" : 314261504, + "heapUsage" : 739639296 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164128, + "taskID" : "task_1369942127770_1206_m_000041", + "taskType" : "MAP", + "finishTime" : 1371222209764, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222187225, + "result" : "SUCCESS", + "finishTime" : 1371222209764, + "attemptID" : "attempt_1369942127770_1206_m_000041_0", + "clockSplits" : [ 2460, 2461, 2461, 2366, 1711, 1637, 1437, 1554, 2430, 3338, 136, 137 ], + "cpuUsages" : [ 1422, 1423, 1423, 1400, 1245, 1214, 1134, 1139, 1181, 1020, 984, 985 ], + "vmemKbytes" : [ 183430, 550292, 917154, 1281033, 1420664, 1420663, 1420664, 1420663, 1420664, 1420664, 1420663, 1420664 ], + "physMemKbytes" : [ 38854, 116562, 194270, 271356, 301598, 302728, 304891, 307428, 308423, 307956, 306560, 305139 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14710, + "virtualMemoryUsage" : 1454759936, + "physicalMemoryUsage" : 311668736, + "heapUsage" : 734986240 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164129, + "taskID" : "task_1369942127770_1206_m_000042", + "taskType" : "MAP", + "finishTime" : 1371222210013, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222188236, + "result" : "SUCCESS", + "finishTime" : 1371222210013, + "attemptID" : "attempt_1369942127770_1206_m_000042_0", + "clockSplits" : [ 2345, 2345, 2346, 2345, 2345, 1441, 1165, 1139, 942, 942, 942, 3297 ], + "cpuUsages" : [ 1329, 1330, 1330, 1330, 1330, 1110, 1042, 1028, 918, 919, 918, 1176 ], + "vmemKbytes" : [ 135997, 407991, 679985, 951978, 1223973, 1416016, 1423416, 1423415, 1423416, 1423416, 1423415, 1423416 ], + "physMemKbytes" : [ 29954, 89862, 149770, 209678, 269587, 312158, 314689, 315603, 315555, 314887, 314219, 313779 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13870, + "virtualMemoryUsage" : 1457577984, + "physicalMemoryUsage" : 321241088, + "heapUsage" : 745275392 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164129, + "taskID" : "task_1369942127770_1206_m_000043", + "taskType" : "MAP", + "finishTime" : 1371222209829, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222188247, + "result" : "SUCCESS", + "finishTime" : 1371222209829, + "attemptID" : "attempt_1369942127770_1206_m_000043_0", + "clockSplits" : [ 2418, 2419, 2419, 2159, 1443, 1453, 1585, 1514, 988, 987, 988, 3120 ], + "cpuUsages" : [ 1496, 1497, 1497, 1419, 1200, 1197, 1139, 1120, 984, 983, 984, 1064 ], + "vmemKbytes" : [ 192713, 578139, 963566, 1335372, 1439240, 1439239, 1439240, 1439239, 1439240, 1439240, 1439239, 1439240 ], + "physMemKbytes" : [ 41062, 123187, 205312, 284536, 306688, 306724, 308963, 312869, 313477, 311955, 310433, 309628 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14730, + "virtualMemoryUsage" : 1473781760, + "physicalMemoryUsage" : 316993536, + "heapUsage" : 742588416 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164129, + "taskID" : "task_1369942127770_1206_m_000044", + "taskType" : "MAP", + "finishTime" : 1371222205147, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222188243, + "result" : "SUCCESS", + "finishTime" : 1371222205147, + "attemptID" : "attempt_1369942127770_1206_m_000044_0", + "clockSplits" : [ 1997, 1998, 1998, 1998, 1656, 1015, 1015, 992, 821, 821, 821, 1763 ], + "cpuUsages" : [ 1362, 1363, 1363, 1363, 1290, 1156, 1155, 1116, 828, 828, 828, 1418 ], + "vmemKbytes" : [ 154789, 464368, 773947, 1083526, 1374102, 1436109, 1431198, 1426321, 1424416, 1424416, 1424415, 1424416 ], + "physMemKbytes" : [ 33320, 99960, 166601, 233241, 295602, 306484, 302294, 298121, 295429, 293687, 291944, 290254 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14070, + "virtualMemoryUsage" : 1458601984, + "physicalMemoryUsage" : 296701952, + "heapUsage" : 740294656 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164130, + "taskID" : "task_1369942127770_1206_m_000045", + "taskType" : "MAP", + "finishTime" : 1371222208888, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222188284, + "result" : "SUCCESS", + "finishTime" : 1371222208888, + "attemptID" : "attempt_1369942127770_1206_m_000045_0", + "clockSplits" : [ 2408, 2408, 2409, 2408, 1248, 994, 993, 1546, 1811, 1173, 1142, 2044 ], + "cpuUsages" : [ 1442, 1443, 1443, 1443, 1216, 1167, 1167, 1242, 1278, 871, 851, 1187 ], + "vmemKbytes" : [ 170497, 511493, 852489, 1193484, 1419688, 1425179, 1425180, 1425179, 1425180, 1425180, 1425179, 1425180 ], + "physMemKbytes" : [ 36659, 109977, 183295, 256613, 305816, 308651, 310334, 311695, 312050, 312197, 312184, 312178 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14750, + "virtualMemoryUsage" : 1459384320, + "physicalMemoryUsage" : 319713280, + "heapUsage" : 733020160 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164130, + "taskID" : "task_1369942127770_1206_m_000046", + "taskType" : "MAP", + "finishTime" : 1371222209764, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222188246, + "result" : "SUCCESS", + "finishTime" : 1371222209764, + "attemptID" : "attempt_1369942127770_1206_m_000046_0", + "clockSplits" : [ 2411, 2412, 2411, 2412, 1354, 1182, 1201, 1287, 1288, 1246, 1233, 3075 ], + "cpuUsages" : [ 1429, 1430, 1430, 1430, 1204, 1167, 1149, 1069, 1069, 932, 888, 1233 ], + "vmemKbytes" : [ 170204, 510614, 851024, 1191433, 1405939, 1409271, 1409272, 1409271, 1409272, 1409272, 1409271, 1409272 ], + "physMemKbytes" : [ 36770, 110311, 183853, 257394, 302847, 301188, 298826, 298087, 298200, 297470, 294709, 291944 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14430, + "virtualMemoryUsage" : 1443094528, + "physicalMemoryUsage" : 298102784, + "heapUsage" : 740622336 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164130, + "taskID" : "task_1369942127770_1206_m_000047", + "taskType" : "MAP", + "finishTime" : 1371222209770, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222188244, + "result" : "SUCCESS", + "finishTime" : 1371222209770, + "attemptID" : "attempt_1369942127770_1206_m_000047_0", + "clockSplits" : [ 2359, 2360, 2360, 2360, 991, 967, 967, 1864, 1869, 1009, 1009, 3406 ], + "cpuUsages" : [ 1381, 1382, 1381, 1382, 1111, 1107, 1107, 1332, 1274, 926, 926, 1181 ], + "vmemKbytes" : [ 175422, 526266, 877111, 1227955, 1409352, 1409403, 1409404, 1409403, 1409404, 1409404, 1409403, 1409404 ], + "physMemKbytes" : [ 38481, 115443, 192406, 269368, 308485, 307099, 305702, 305330, 307856, 308596, 308675, 308751 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14490, + "virtualMemoryUsage" : 1443229696, + "physicalMemoryUsage" : 316166144, + "heapUsage" : 743505920 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164130, + "taskID" : "task_1369942127770_1206_m_000048", + "taskType" : "MAP", + "finishTime" : 1371222209758, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222188248, + "result" : "SUCCESS", + "finishTime" : 1371222209758, + "attemptID" : "attempt_1369942127770_1206_m_000048_0", + "clockSplits" : [ 2073, 2074, 2074, 2074, 2073, 1639, 1272, 1276, 1301, 1301, 1674, 1842 ], + "cpuUsages" : [ 1234, 1235, 1235, 1235, 1235, 1183, 1139, 1135, 1103, 1104, 909, 823 ], + "vmemKbytes" : [ 129783, 389349, 648915, 908480, 1168047, 1389454, 1416722, 1416815, 1416852, 1416852, 1416851, 1416852 ], + "physMemKbytes" : [ 25359, 76080, 126801, 177521, 228242, 271580, 277354, 277862, 277694, 277090, 276628, 276597 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13990, + "virtualMemoryUsage" : 1450856448, + "physicalMemoryUsage" : 287096832, + "heapUsage" : 598081536 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164131, + "taskID" : "task_1369942127770_1206_m_000049", + "taskType" : "MAP", + "finishTime" : 1371222209877, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222188245, + "result" : "SUCCESS", + "finishTime" : 1371222209877, + "attemptID" : "attempt_1369942127770_1206_m_000049_0", + "clockSplits" : [ 2394, 2395, 2394, 2395, 2395, 1860, 1150, 1150, 985, 905, 904, 2700 ], + "cpuUsages" : [ 1252, 1253, 1253, 1253, 1253, 1165, 1047, 1048, 897, 822, 823, 1324 ], + "vmemKbytes" : [ 126489, 379468, 632447, 885426, 1138405, 1368134, 1409448, 1409495, 1409533, 1409536, 1409535, 1409536 ], + "physMemKbytes" : [ 26096, 78289, 130482, 182675, 234868, 282278, 290926, 291083, 290759, 288885, 286894, 284958 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13390, + "virtualMemoryUsage" : 1443364864, + "physicalMemoryUsage" : 291172352, + "heapUsage" : 728629248 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164131, + "taskID" : "task_1369942127770_1206_m_000050", + "taskType" : "MAP", + "finishTime" : 1371222209871, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222188246, + "result" : "SUCCESS", + "finishTime" : 1371222209871, + "attemptID" : "attempt_1369942127770_1206_m_000050_0", + "clockSplits" : [ 2330, 2330, 2331, 2330, 2331, 1760, 1284, 1228, 809, 809, 809, 3269 ], + "cpuUsages" : [ 1299, 1300, 1300, 1299, 1300, 1110, 952, 941, 864, 865, 864, 1296 ], + "vmemKbytes" : [ 129180, 387540, 645900, 904260, 1162621, 1382642, 1409412, 1409411, 1409412, 1409412, 1409411, 1409412 ], + "physMemKbytes" : [ 27390, 82173, 136956, 191739, 246522, 293591, 301780, 304563, 305591, 305485, 305379, 305268 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13390, + "virtualMemoryUsage" : 1443237888, + "physicalMemoryUsage" : 312508416, + "heapUsage" : 745275392 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164131, + "taskID" : "task_1369942127770_1206_m_000051", + "taskType" : "MAP", + "finishTime" : 1371222209798, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222189249, + "result" : "SUCCESS", + "finishTime" : 1371222209798, + "attemptID" : "attempt_1369942127770_1206_m_000051_0", + "clockSplits" : [ 2459, 2460, 2460, 2460, 2460, 1450, 922, 923, 947, 1056, 1056, 1891 ], + "cpuUsages" : [ 1238, 1239, 1239, 1239, 1239, 1071, 982, 982, 962, 870, 869, 1390 ], + "vmemKbytes" : [ 133415, 400246, 667077, 933908, 1200739, 1410001, 1425708, 1425707, 1425708, 1425708, 1425707, 1425708 ], + "physMemKbytes" : [ 29016, 87050, 145083, 203116, 261151, 306685, 310195, 310295, 310356, 308899, 306668, 304504 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13320, + "virtualMemoryUsage" : 1459924992, + "physicalMemoryUsage" : 311140352, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164132, + "taskID" : "task_1369942127770_1206_m_000052", + "taskType" : "MAP", + "finishTime" : 1371222209546, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222189252, + "result" : "SUCCESS", + "finishTime" : 1371222209546, + "attemptID" : "attempt_1369942127770_1206_m_000052_0", + "clockSplits" : [ 2113, 2113, 2113, 2113, 1296, 902, 902, 1007, 1429, 1434, 1749, 3118 ], + "cpuUsages" : [ 1343, 1343, 1343, 1343, 1163, 1076, 1077, 1044, 916, 918, 1010, 1614 ], + "vmemKbytes" : [ 165998, 497994, 829990, 1161986, 1418463, 1436051, 1436052, 1435986, 1433726, 1430398, 1428787, 1428788 ], + "physMemKbytes" : [ 31862, 95586, 159310, 223034, 272810, 278461, 280865, 283418, 290959, 300928, 308895, 314795 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14190, + "virtualMemoryUsage" : 1463078912, + "physicalMemoryUsage" : 324112384, + "heapUsage" : 672333824 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164132, + "taskID" : "task_1369942127770_1206_m_000053", + "taskType" : "MAP", + "finishTime" : 1371222211732, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222189248, + "result" : "SUCCESS", + "finishTime" : 1371222211732, + "attemptID" : "attempt_1369942127770_1206_m_000053_0", + "clockSplits" : [ 3379, 3380, 3379, 3380, 1214, 1180, 1480, 2139, 2348, 200, 200, 200 ], + "cpuUsages" : [ 1382, 1382, 1382, 1382, 1146, 1141, 1199, 1326, 847, 768, 767, 768 ], + "vmemKbytes" : [ 176837, 530511, 884186, 1237861, 1420070, 1420111, 1420112, 1420111, 1420112, 1420112, 1420111, 1420112 ], + "physMemKbytes" : [ 37701, 113105, 188508, 263911, 302843, 303027, 303274, 304566, 304973, 303294, 301579, 299865 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13490, + "virtualMemoryUsage" : 1454194688, + "physicalMemoryUsage" : 306184192, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164132, + "taskID" : "task_1369942127770_1206_m_000054", + "taskType" : "MAP", + "finishTime" : 1371222209794, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222189250, + "result" : "SUCCESS", + "finishTime" : 1371222209794, + "attemptID" : "attempt_1369942127770_1206_m_000054_0", + "clockSplits" : [ 1915, 1915, 1915, 1915, 1915, 1152, 1100, 1150, 1523, 1535, 1698, 2805 ], + "cpuUsages" : [ 1363, 1363, 1363, 1363, 1363, 1198, 1188, 1163, 976, 977, 997, 1316 ], + "vmemKbytes" : [ 140637, 421911, 703185, 984458, 1265733, 1423312, 1423856, 1423855, 1423856, 1423856, 1423855, 1423856 ], + "physMemKbytes" : [ 30869, 92607, 154346, 216085, 277824, 313467, 315980, 318362, 319339, 319401, 317453, 314073 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14630, + "virtualMemoryUsage" : 1458028544, + "physicalMemoryUsage" : 320655360, + "heapUsage" : 740294656 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164133, + "taskID" : "task_1369942127770_1206_m_000055", + "taskType" : "MAP", + "finishTime" : 1371222209829, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222190266, + "result" : "SUCCESS", + "finishTime" : 1371222209829, + "attemptID" : "attempt_1369942127770_1206_m_000055_0", + "clockSplits" : [ 2156, 2157, 2157, 2157, 1560, 923, 923, 951, 1166, 1165, 3553, 294 ], + "cpuUsages" : [ 1567, 1568, 1568, 1568, 1331, 1078, 1079, 1081, 1094, 1094, 1067, 1035 ], + "vmemKbytes" : [ 159573, 478720, 797867, 1117014, 1398782, 1441271, 1441272, 1441271, 1441272, 1441272, 1441271, 1441272 ], + "physMemKbytes" : [ 34072, 102218, 170364, 238509, 298798, 308785, 309842, 310878, 310220, 308476, 306900, 306628 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 15280, + "virtualMemoryUsage" : 1475862528, + "physicalMemoryUsage" : 313933824, + "heapUsage" : 740491264 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164133, + "taskID" : "task_1369942127770_1206_m_000056", + "taskType" : "MAP", + "finishTime" : 1371222209766, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222190265, + "result" : "SUCCESS", + "finishTime" : 1371222209766, + "attemptID" : "attempt_1369942127770_1206_m_000056_0", + "clockSplits" : [ 1671, 1672, 1672, 1672, 1671, 1485, 1304, 1382, 1955, 1637, 1335, 2040 ], + "cpuUsages" : [ 1307, 1307, 1308, 1307, 1307, 1228, 1152, 1137, 1033, 976, 924, 1214 ], + "vmemKbytes" : [ 129345, 388038, 646731, 905424, 1164117, 1389407, 1420696, 1420695, 1420696, 1420696, 1420695, 1420696 ], + "physMemKbytes" : [ 29283, 87851, 146419, 204986, 263554, 314885, 324186, 326689, 327672, 327261, 324457, 321292 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14200, + "virtualMemoryUsage" : 1454792704, + "physicalMemoryUsage" : 327684096, + "heapUsage" : 659947520 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164133, + "taskID" : "task_1369942127770_1206_m_000057", + "taskType" : "MAP", + "finishTime" : 1371222209780, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222190273, + "result" : "SUCCESS", + "finishTime" : 1371222209780, + "attemptID" : "attempt_1369942127770_1206_m_000057_0", + "clockSplits" : [ 1937, 1937, 1937, 1937, 1937, 1808, 921, 921, 920, 1160, 1247, 2840 ], + "cpuUsages" : [ 1261, 1262, 1262, 1261, 1262, 1229, 1008, 1008, 1007, 884, 839, 1247 ], + "vmemKbytes" : [ 120936, 362811, 604686, 846560, 1088435, 1328359, 1420532, 1420531, 1420532, 1420532, 1420531, 1420532 ], + "physMemKbytes" : [ 26360, 79080, 131800, 184520, 237241, 289556, 311113, 313482, 315853, 316764, 313891, 310918 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13530, + "virtualMemoryUsage" : 1454624768, + "physicalMemoryUsage" : 317476864, + "heapUsage" : 728170496 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164133, + "taskID" : "task_1369942127770_1206_m_000058", + "taskType" : "MAP", + "finishTime" : 1371222209289, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222190266, + "result" : "SUCCESS", + "finishTime" : 1371222209289, + "attemptID" : "attempt_1369942127770_1206_m_000058_0", + "clockSplits" : [ 1567, 1568, 1568, 1568, 1568, 1568, 1852, 2691, 800, 800, 799, 2669 ], + "cpuUsages" : [ 1236, 1236, 1237, 1236, 1237, 1236, 1292, 1435, 895, 895, 895, 1280 ], + "vmemKbytes" : [ 104429, 313288, 522147, 731006, 939866, 1148725, 1353137, 1418911, 1418912, 1418912, 1418911, 1418912 ], + "physMemKbytes" : [ 22528, 67586, 112643, 157700, 202758, 247815, 292006, 309112, 309629, 307720, 305811, 303966 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14110, + "virtualMemoryUsage" : 1452965888, + "physicalMemoryUsage" : 310743040, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164134, + "taskID" : "task_1369942127770_1206_m_000059", + "taskType" : "MAP", + "finishTime" : 1371222211562, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222192248, + "result" : "SUCCESS", + "finishTime" : 1371222211562, + "attemptID" : "attempt_1369942127770_1206_m_000059_0", + "clockSplits" : [ 2767, 2767, 2768, 2767, 849, 819, 819, 967, 2079, 2282, 212, 213 ], + "cpuUsages" : [ 1464, 1464, 1465, 1464, 1054, 1047, 1047, 1043, 1010, 905, 843, 844 ], + "vmemKbytes" : [ 177532, 532598, 887664, 1242729, 1425654, 1425695, 1425696, 1425695, 1425696, 1425696, 1425695, 1425696 ], + "physMemKbytes" : [ 35793, 107380, 178967, 250554, 288480, 290645, 292802, 294945, 295913, 295599, 293360, 290944 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13650, + "virtualMemoryUsage" : 1459912704, + "physicalMemoryUsage" : 296689664, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164134, + "taskID" : "task_1369942127770_1206_m_000060", + "taskType" : "MAP", + "finishTime" : 1371222225441, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222206294, + "result" : "SUCCESS", + "finishTime" : 1371222225441, + "attemptID" : "attempt_1369942127770_1206_m_000060_0", + "clockSplits" : [ 1420, 1420, 1421, 1420, 1420, 1421, 1382, 1130, 1130, 1252, 1448, 4180 ], + "cpuUsages" : [ 1221, 1222, 1222, 1222, 1221, 1222, 1208, 1119, 1120, 1000, 808, 1165 ], + "vmemKbytes" : [ 104942, 314826, 524711, 734595, 944480, 1154364, 1362397, 1441311, 1441312, 1441312, 1441311, 1441312 ], + "physMemKbytes" : [ 22576, 67728, 112881, 158034, 203187, 248339, 293119, 311828, 314605, 317000, 315530, 313123 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13850, + "virtualMemoryUsage" : 1475903488, + "physicalMemoryUsage" : 319762432, + "heapUsage" : 742326272 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164134, + "taskID" : "task_1369942127770_1206_m_000061", + "taskType" : "MAP", + "finishTime" : 1371222221672, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222206296, + "result" : "SUCCESS", + "finishTime" : 1371222221672, + "attemptID" : "attempt_1369942127770_1206_m_000061_0", + "clockSplits" : [ 1217, 1218, 1218, 1218, 1218, 1217, 1218, 1218, 1106, 972, 972, 2580 ], + "cpuUsages" : [ 1102, 1102, 1103, 1102, 1103, 1102, 1102, 1103, 1008, 896, 896, 1281 ], + "vmemKbytes" : [ 84070, 252211, 420352, 588493, 756634, 924775, 1092916, 1261057, 1411777, 1436728, 1436727, 1436728 ], + "physMemKbytes" : [ 16339, 49018, 81697, 114376, 147055, 179734, 212413, 245092, 274523, 280502, 281827, 283091 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12900, + "virtualMemoryUsage" : 1471209472, + "physicalMemoryUsage" : 290119680, + "heapUsage" : 674496512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164135, + "taskID" : "task_1369942127770_1206_m_000062", + "taskType" : "MAP", + "finishTime" : 1371222221958, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222206298, + "result" : "SUCCESS", + "finishTime" : 1371222221958, + "attemptID" : "attempt_1369942127770_1206_m_000062_0", + "clockSplits" : [ 1276, 1276, 1277, 1276, 1276, 1277, 1253, 882, 881, 882, 3492, 94 ], + "cpuUsages" : [ 1156, 1157, 1157, 1157, 1157, 1156, 1148, 990, 990, 990, 1022, 1060 ], + "vmemKbytes" : [ 101522, 304566, 507610, 710654, 913699, 1116743, 1319439, 1409411, 1409412, 1409412, 1409411, 1409412 ], + "physMemKbytes" : [ 21852, 65556, 109261, 152965, 196670, 240375, 284000, 301612, 298461, 295309, 292461, 291917 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13490, + "virtualMemoryUsage" : 1443237888, + "physicalMemoryUsage" : 299003904, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164135, + "taskID" : "task_1369942127770_1206_m_000063", + "taskType" : "MAP", + "finishTime" : 1371222227163, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222207290, + "result" : "SUCCESS", + "finishTime" : 1371222227163, + "attemptID" : "attempt_1369942127770_1206_m_000063_0", + "clockSplits" : [ 1693, 1694, 1694, 1694, 1694, 1694, 1713, 2362, 4563, 269, 269, 270 ], + "cpuUsages" : [ 1238, 1239, 1238, 1239, 1238, 1239, 1171, 1204, 1078, 895, 895, 896 ], + "vmemKbytes" : [ 117528, 352587, 587645, 822702, 1057761, 1292818, 1424850, 1425327, 1425328, 1425328, 1425327, 1425328 ], + "physMemKbytes" : [ 25760, 77280, 128800, 180319, 231840, 283359, 312333, 312567, 315051, 313807, 312106, 310406 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13690, + "virtualMemoryUsage" : 1459535872, + "physicalMemoryUsage" : 316899328, + "heapUsage" : 735051776 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164135, + "taskID" : "task_1369942127770_1206_m_000064", + "taskType" : "MAP", + "finishTime" : 1371222227254, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222207289, + "result" : "SUCCESS", + "finishTime" : 1371222227254, + "attemptID" : "attempt_1369942127770_1206_m_000064_0", + "clockSplits" : [ 1705, 1705, 1705, 1705, 1705, 1702, 1632, 1534, 805, 806, 806, 3859 ], + "cpuUsages" : [ 1228, 1228, 1228, 1228, 1228, 1225, 1140, 1106, 851, 851, 851, 1326 ], + "vmemKbytes" : [ 119109, 357327, 595545, 833763, 1071982, 1310012, 1419836, 1419835, 1419836, 1419836, 1419835, 1419836 ], + "physMemKbytes" : [ 25719, 77160, 128601, 180042, 231483, 282884, 306601, 306586, 305168, 302849, 300530, 298267 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13590, + "virtualMemoryUsage" : 1453912064, + "physicalMemoryUsage" : 304549888, + "heapUsage" : 734855168 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164135, + "taskID" : "task_1369942127770_1206_m_000065", + "taskType" : "MAP", + "finishTime" : 1371222230890, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222207289, + "result" : "SUCCESS", + "finishTime" : 1371222230890, + "attemptID" : "attempt_1369942127770_1206_m_000065_0", + "clockSplits" : [ 2510, 2511, 2511, 2511, 881, 855, 855, 3817, 956, 957, 957, 4275 ], + "cpuUsages" : [ 1419, 1420, 1419, 1420, 975, 968, 969, 1185, 898, 899, 898, 1340 ], + "vmemKbytes" : [ 175498, 526495, 877492, 1228489, 1409318, 1409359, 1409360, 1409359, 1409360, 1409360, 1409359, 1409360 ], + "physMemKbytes" : [ 37886, 113658, 189430, 265201, 304989, 306545, 308094, 310685, 313574, 311030, 308486, 306866 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13810, + "virtualMemoryUsage" : 1443184640, + "physicalMemoryUsage" : 314040320, + "heapUsage" : 734920704 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164136, + "taskID" : "task_1369942127770_1206_m_000066", + "taskType" : "MAP", + "finishTime" : 1371222241231, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222209293, + "result" : "SUCCESS", + "finishTime" : 1371222241231, + "attemptID" : "attempt_1369942127770_1206_m_000066_0", + "clockSplits" : [ 1787, 1787, 1788, 1787, 1787, 1088, 1085, 4240, 1584, 1583, 1583, 11834 ], + "cpuUsages" : [ 1420, 1421, 1421, 1421, 1421, 1182, 1181, 1242, 848, 848, 848, 1147 ], + "vmemKbytes" : [ 141716, 425148, 708581, 992014, 1275447, 1418363, 1418476, 1418585, 1418628, 1418628, 1418627, 1418628 ], + "physMemKbytes" : [ 30409, 91229, 152048, 212867, 273687, 305868, 308943, 311994, 312816, 312180, 311543, 310922 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14400, + "virtualMemoryUsage" : 1452675072, + "physicalMemoryUsage" : 318169088, + "heapUsage" : 745537536 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164136, + "taskID" : "task_1369942127770_1206_m_000067", + "taskType" : "MAP", + "finishTime" : 1371222225138, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222209294, + "result" : "SUCCESS", + "finishTime" : 1371222225138, + "attemptID" : "attempt_1369942127770_1206_m_000067_0", + "clockSplits" : [ 1165, 1166, 1165, 1166, 1166, 1165, 1166, 928, 723, 722, 722, 3621 ], + "cpuUsages" : [ 1214, 1215, 1215, 1215, 1215, 1215, 1215, 1030, 869, 869, 869, 1129 ], + "vmemKbytes" : [ 95135, 285405, 475675, 665945, 856216, 1046485, 1236756, 1399842, 1420452, 1420452, 1420451, 1420452 ], + "physMemKbytes" : [ 18348, 55044, 91740, 128435, 165132, 201827, 238524, 271054, 281752, 289291, 296830, 304922 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13660, + "virtualMemoryUsage" : 1454542848, + "physicalMemoryUsage" : 319750144, + "heapUsage" : 673841152 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164136, + "taskID" : "task_1369942127770_1206_m_000068", + "taskType" : "MAP", + "finishTime" : 1371222230905, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222210298, + "result" : "SUCCESS", + "finishTime" : 1371222230905, + "attemptID" : "attempt_1369942127770_1206_m_000068_0", + "clockSplits" : [ 2408, 2408, 2408, 2409, 1930, 1718, 1379, 1310, 798, 798, 797, 2239 ], + "cpuUsages" : [ 1541, 1542, 1541, 1542, 1162, 1109, 1032, 997, 741, 740, 740, 1213 ], + "vmemKbytes" : [ 178979, 536937, 894896, 1252854, 1437270, 1437311, 1437312, 1437311, 1437312, 1437312, 1437311, 1437312 ], + "physMemKbytes" : [ 38258, 114775, 191292, 267809, 307294, 307439, 307617, 307800, 307382, 306576, 305769, 304983 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13900, + "virtualMemoryUsage" : 1471807488, + "physicalMemoryUsage" : 312037376, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164137, + "taskID" : "task_1369942127770_1206_m_000069", + "taskType" : "MAP", + "finishTime" : 1371222225328, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222210302, + "result" : "SUCCESS", + "finishTime" : 1371222225328, + "attemptID" : "attempt_1369942127770_1206_m_000069_0", + "clockSplits" : [ 1091, 1092, 1091, 1092, 1092, 1091, 1092, 1058, 803, 804, 804, 3736 ], + "cpuUsages" : [ 1107, 1107, 1108, 1107, 1108, 1107, 1108, 1073, 810, 810, 810, 1305 ], + "vmemKbytes" : [ 89984, 269954, 449923, 629892, 809862, 989831, 1169801, 1348531, 1418636, 1418636, 1418635, 1418636 ], + "physMemKbytes" : [ 17538, 52614, 87690, 122765, 157842, 192917, 227994, 262894, 282408, 291993, 301578, 311953 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12740, + "virtualMemoryUsage" : 1452683264, + "physicalMemoryUsage" : 329846784, + "heapUsage" : 655818752 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164137, + "taskID" : "task_1369942127770_1206_m_000070", + "taskType" : "MAP", + "finishTime" : 1371222230923, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222210301, + "result" : "SUCCESS", + "finishTime" : 1371222230923, + "attemptID" : "attempt_1369942127770_1206_m_000070_0", + "clockSplits" : [ 1667, 1667, 1667, 1667, 1667, 1451, 1272, 1327, 1731, 1653, 1491, 3356 ], + "cpuUsages" : [ 1331, 1331, 1331, 1331, 1332, 1146, 993, 987, 942, 944, 946, 1406 ], + "vmemKbytes" : [ 130716, 392148, 653580, 915011, 1176444, 1398858, 1425760, 1425759, 1425760, 1425760, 1425759, 1425760 ], + "physMemKbytes" : [ 25209, 75627, 126045, 176463, 226882, 269981, 276408, 277936, 291940, 312986, 321089, 324970 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 14020, + "virtualMemoryUsage" : 1459978240, + "physicalMemoryUsage" : 333864960, + "heapUsage" : 675282944 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164137, + "taskID" : "task_1369942127770_1206_m_000071", + "taskType" : "MAP", + "finishTime" : 1371222243147, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222210300, + "result" : "SUCCESS", + "finishTime" : 1371222243147, + "attemptID" : "attempt_1369942127770_1206_m_000071_0", + "clockSplits" : [ 2317, 2317, 2317, 2318, 830, 804, 803, 20720, 104, 104, 104, 104 ], + "cpuUsages" : [ 1476, 1476, 1476, 1476, 1068, 1062, 1061, 1367, 764, 765, 764, 765 ], + "vmemKbytes" : [ 179124, 537372, 895621, 1253870, 1439095, 1439147, 1439148, 1439147, 1439148, 1439148, 1439147, 1439148 ], + "physMemKbytes" : [ 38656, 115968, 193280, 270591, 311557, 313623, 315680, 317727, 317803, 316372, 314939, 313508 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13520, + "virtualMemoryUsage" : 1473687552, + "physicalMemoryUsage" : 320299008, + "heapUsage" : 740425728 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164138, + "taskID" : "task_1369942127770_1206_m_000072", + "taskType" : "MAP", + "finishTime" : 1371222230925, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222210302, + "result" : "SUCCESS", + "finishTime" : 1371222230925, + "attemptID" : "attempt_1369942127770_1206_m_000072_0", + "clockSplits" : [ 2052, 2053, 2052, 2053, 2052, 1753, 1343, 1286, 863, 863, 863, 3385 ], + "cpuUsages" : [ 1301, 1302, 1301, 1302, 1301, 1214, 1093, 1070, 887, 887, 887, 1265 ], + "vmemKbytes" : [ 129050, 387150, 645250, 903350, 1161451, 1396549, 1439636, 1439635, 1439636, 1439636, 1439635, 1439636 ], + "physMemKbytes" : [ 27936, 83809, 139683, 195556, 251430, 302570, 314193, 316918, 316967, 315288, 313608, 312145 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13810, + "virtualMemoryUsage" : 1474187264, + "physicalMemoryUsage" : 319389696, + "heapUsage" : 725942272 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164138, + "taskID" : "task_1369942127770_1206_m_000073", + "taskType" : "MAP", + "finishTime" : 1371222233643, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222211323, + "result" : "SUCCESS", + "finishTime" : 1371222233643, + "attemptID" : "attempt_1369942127770_1206_m_000073_0", + "clockSplits" : [ 2850, 2850, 2851, 2850, 3634, 922, 921, 915, 864, 864, 863, 1931 ], + "cpuUsages" : [ 1422, 1422, 1422, 1422, 1195, 974, 974, 956, 814, 813, 814, 1162 ], + "vmemKbytes" : [ 178725, 536177, 893628, 1251079, 1430284, 1428495, 1428496, 1428495, 1428496, 1428496, 1428495, 1428496 ], + "physMemKbytes" : [ 33814, 101442, 169070, 236698, 286736, 296978, 302601, 308176, 309819, 308938, 308057, 307285 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13390, + "virtualMemoryUsage" : 1462779904, + "physicalMemoryUsage" : 314519552, + "heapUsage" : 656801792 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164138, + "taskID" : "task_1369942127770_1206_m_000074", + "taskType" : "MAP", + "finishTime" : 1371222231021, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222211318, + "result" : "SUCCESS", + "finishTime" : 1371222231021, + "attemptID" : "attempt_1369942127770_1206_m_000074_0", + "clockSplits" : [ 2026, 2027, 2026, 2027, 1805, 998, 998, 1150, 2266, 1405, 1124, 1124 ], + "cpuUsages" : [ 1354, 1354, 1355, 1354, 1264, 933, 933, 931, 908, 776, 734, 734 ], + "vmemKbytes" : [ 148613, 445839, 743066, 1040292, 1330604, 1422019, 1422020, 1422019, 1422020, 1422020, 1422019, 1422020 ], + "physMemKbytes" : [ 32329, 96989, 161649, 226308, 289469, 309488, 309679, 309869, 309968, 309242, 306663, 304002 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13210, + "virtualMemoryUsage" : 1456148480, + "physicalMemoryUsage" : 313556992, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164139, + "taskID" : "task_1369942127770_1206_m_000075", + "taskType" : "MAP", + "finishTime" : 1371222230806, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222211320, + "result" : "SUCCESS", + "finishTime" : 1371222230806, + "attemptID" : "attempt_1369942127770_1206_m_000075_0", + "clockSplits" : [ 1609, 1609, 1610, 1609, 1609, 1610, 1609, 1437, 800, 800, 800, 3712 ], + "cpuUsages" : [ 1126, 1126, 1126, 1126, 1127, 1126, 1126, 1078, 896, 897, 896, 1050 ], + "vmemKbytes" : [ 91606, 274818, 458031, 641244, 824457, 1007670, 1190883, 1369937, 1426664, 1426664, 1426663, 1426664 ], + "physMemKbytes" : [ 18989, 56967, 94945, 132922, 170901, 208878, 246857, 284002, 296666, 297978, 299289, 300540 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13070, + "virtualMemoryUsage" : 1460903936, + "physicalMemoryUsage" : 308080640, + "heapUsage" : 728367104 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164139, + "taskID" : "task_1369942127770_1206_m_000076", + "taskType" : "MAP", + "finishTime" : 1371222231013, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222211322, + "result" : "SUCCESS", + "finishTime" : 1371222231013, + "attemptID" : "attempt_1369942127770_1206_m_000076_0", + "clockSplits" : [ 1510, 1510, 1510, 1510, 1511, 1510, 1543, 3155, 989, 989, 3170, 779 ], + "cpuUsages" : [ 1182, 1183, 1183, 1183, 1183, 1183, 1182, 1138, 1003, 1002, 1004, 1174 ], + "vmemKbytes" : [ 103292, 309877, 516463, 723048, 929633, 1136218, 1342774, 1442573, 1441656, 1440154, 1438651, 1437908 ], + "physMemKbytes" : [ 22609, 67829, 113048, 158267, 203487, 248706, 293920, 315760, 313552, 309910, 306268, 304426 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13600, + "virtualMemoryUsage" : 1472417792, + "physicalMemoryUsage" : 311689216, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164139, + "taskID" : "task_1369942127770_1206_m_000077", + "taskType" : "MAP", + "finishTime" : 1371222230986, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222211321, + "result" : "SUCCESS", + "finishTime" : 1371222230986, + "attemptID" : "attempt_1369942127770_1206_m_000077_0", + "clockSplits" : [ 2453, 2454, 2454, 2454, 983, 819, 818, 834, 953, 953, 952, 3225 ], + "cpuUsages" : [ 1358, 1358, 1358, 1358, 1081, 1050, 1050, 1036, 929, 930, 930, 882 ], + "vmemKbytes" : [ 173221, 519663, 866105, 1212547, 1419007, 1420775, 1420776, 1420775, 1420776, 1420776, 1420775, 1420776 ], + "physMemKbytes" : [ 37672, 113016, 188361, 263705, 309197, 311033, 312493, 313926, 312972, 310477, 307981, 306375 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13630, + "virtualMemoryUsage" : 1454874624, + "physicalMemoryUsage" : 313704448, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164139, + "taskID" : "task_1369942127770_1206_m_000078", + "taskType" : "MAP", + "finishTime" : 1371222230909, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222211322, + "result" : "SUCCESS", + "finishTime" : 1371222230909, + "attemptID" : "attempt_1369942127770_1206_m_000078_0", + "clockSplits" : [ 1544, 1545, 1545, 1545, 1545, 1544, 1888, 2074, 1066, 1066, 3565, 400 ], + "cpuUsages" : [ 1237, 1237, 1238, 1237, 1237, 1238, 1206, 1153, 966, 966, 971, 994 ], + "vmemKbytes" : [ 109547, 328642, 547738, 766833, 985929, 1205024, 1394686, 1420099, 1420100, 1420100, 1420099, 1420100 ], + "physMemKbytes" : [ 23842, 71526, 119211, 166896, 214581, 262265, 303541, 309043, 308442, 307473, 306523, 306207 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13790, + "virtualMemoryUsage" : 1454182400, + "physicalMemoryUsage" : 313499648, + "heapUsage" : 734789632 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164140, + "taskID" : "task_1369942127770_1206_m_000079", + "taskType" : "MAP", + "finishTime" : 1371222241634, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222212318, + "result" : "SUCCESS", + "finishTime" : 1371222241634, + "attemptID" : "attempt_1369942127770_1206_m_000079_0", + "clockSplits" : [ 1728, 1728, 1728, 1728, 1729, 1728, 1984, 16602, 89, 88, 89, 89 ], + "cpuUsages" : [ 1174, 1174, 1175, 1174, 1175, 1174, 1167, 1241, 766, 767, 766, 767 ], + "vmemKbytes" : [ 109233, 327701, 546169, 764636, 983104, 1201571, 1396830, 1428571, 1428572, 1428572, 1428571, 1428572 ], + "physMemKbytes" : [ 23542, 70627, 117712, 164797, 211882, 258967, 301447, 311452, 311774, 309734, 307693, 305652 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12520, + "virtualMemoryUsage" : 1462857728, + "physicalMemoryUsage" : 311943168, + "heapUsage" : 723714048 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164140, + "taskID" : "task_1369942127770_1206_m_000080", + "taskType" : "MAP", + "finishTime" : 1371222234375, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222212320, + "result" : "SUCCESS", + "finishTime" : 1371222234375, + "attemptID" : "attempt_1369942127770_1206_m_000080_0", + "clockSplits" : [ 2667, 2668, 2668, 2668, 1137, 1111, 1291, 2903, 866, 867, 866, 2337 ], + "cpuUsages" : [ 1361, 1362, 1361, 1362, 1011, 1005, 1020, 1148, 925, 926, 925, 1094 ], + "vmemKbytes" : [ 179085, 537255, 895425, 1253594, 1438779, 1438831, 1438832, 1438831, 1438832, 1438832, 1438831, 1438832 ], + "physMemKbytes" : [ 38347, 115043, 191739, 268434, 308300, 308750, 309191, 309763, 309488, 308604, 307719, 306908 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13500, + "virtualMemoryUsage" : 1473363968, + "physicalMemoryUsage" : 314023936, + "heapUsage" : 723714048 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164140, + "taskID" : "task_1369942127770_1206_m_000081", + "taskType" : "MAP", + "finishTime" : 1371222233436, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222212365, + "result" : "SUCCESS", + "finishTime" : 1371222233436, + "attemptID" : "attempt_1369942127770_1206_m_000081_0", + "clockSplits" : [ 2872, 2872, 2872, 2872, 1498, 1478, 1590, 1608, 2713, 183, 183, 184 ], + "cpuUsages" : [ 1372, 1372, 1372, 1373, 1091, 1087, 955, 934, 919, 918, 918, 919 ], + "vmemKbytes" : [ 177378, 532136, 886894, 1241651, 1424418, 1424459, 1424460, 1424459, 1424460, 1424460, 1424459, 1424460 ], + "physMemKbytes" : [ 36488, 109466, 182444, 255421, 293123, 293347, 293592, 293884, 293699, 292787, 291867, 290948 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13300, + "virtualMemoryUsage" : 1458647040, + "physicalMemoryUsage" : 297373696, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164141, + "taskID" : "task_1369942127770_1206_m_000082", + "taskType" : "MAP", + "finishTime" : 1371222234234, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222212323, + "result" : "SUCCESS", + "finishTime" : 1371222234234, + "attemptID" : "attempt_1369942127770_1206_m_000082_0", + "clockSplits" : [ 2757, 2758, 2757, 2758, 2290, 984, 985, 1009, 1193, 1192, 2624, 600 ], + "cpuUsages" : [ 1283, 1284, 1284, 1283, 1212, 1011, 1012, 1009, 997, 997, 992, 986 ], + "vmemKbytes" : [ 150595, 451787, 752979, 1054170, 1344891, 1426535, 1426536, 1426535, 1426536, 1426536, 1426535, 1426536 ], + "physMemKbytes" : [ 30285, 90858, 151430, 212001, 270566, 289039, 291857, 294632, 293797, 290645, 287899, 287491 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13350, + "virtualMemoryUsage" : 1460772864, + "physicalMemoryUsage" : 294371328, + "heapUsage" : 723714048 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164141, + "taskID" : "task_1369942127770_1206_m_000083", + "taskType" : "MAP", + "finishTime" : 1371222234374, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222212325, + "result" : "SUCCESS", + "finishTime" : 1371222234374, + "attemptID" : "attempt_1369942127770_1206_m_000083_0", + "clockSplits" : [ 2632, 2633, 2633, 2632, 2063, 1726, 1324, 1287, 1007, 1006, 1668, 1433 ], + "cpuUsages" : [ 1382, 1382, 1382, 1382, 1210, 1095, 961, 964, 990, 990, 989, 963 ], + "vmemKbytes" : [ 179482, 538446, 897411, 1256376, 1441309, 1441351, 1441352, 1441351, 1441352, 1441352, 1441351, 1441352 ], + "physMemKbytes" : [ 38229, 114688, 191148, 267607, 307615, 309001, 311141, 313407, 313352, 311808, 310265, 309532 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13690, + "virtualMemoryUsage" : 1475944448, + "physicalMemoryUsage" : 316928000, + "heapUsage" : 744685568 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164141, + "taskID" : "task_1369942127770_1206_m_000084", + "taskType" : "MAP", + "finishTime" : 1371222233257, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222212365, + "result" : "SUCCESS", + "finishTime" : 1371222233257, + "attemptID" : "attempt_1369942127770_1206_m_000084_0", + "clockSplits" : [ 3170, 3170, 3170, 3170, 841, 800, 800, 873, 1410, 1411, 1720, 353 ], + "cpuUsages" : [ 1398, 1399, 1399, 1399, 938, 929, 929, 934, 971, 970, 919, 915 ], + "vmemKbytes" : [ 176295, 528885, 881475, 1234064, 1416363, 1416415, 1416416, 1416415, 1416416, 1416416, 1416415, 1416416 ], + "physMemKbytes" : [ 35965, 107895, 179825, 251754, 289004, 289138, 289261, 289383, 289436, 289443, 288025, 284629 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13100, + "virtualMemoryUsage" : 1450409984, + "physicalMemoryUsage" : 289714176, + "heapUsage" : 723582976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164142, + "taskID" : "task_1369942127770_1206_m_000085", + "taskType" : "MAP", + "finishTime" : 1371222240854, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222212327, + "result" : "SUCCESS", + "finishTime" : 1371222240854, + "attemptID" : "attempt_1369942127770_1206_m_000085_0", + "clockSplits" : [ 2049, 2050, 2049, 2050, 2046, 1082, 1082, 15663, 112, 113, 113, 113 ], + "cpuUsages" : [ 1282, 1283, 1283, 1283, 1282, 865, 866, 1015, 778, 777, 778, 778 ], + "vmemKbytes" : [ 143872, 431618, 719364, 1007109, 1294853, 1437631, 1437632, 1437631, 1437632, 1437632, 1437631, 1437632 ], + "physMemKbytes" : [ 31953, 95859, 159765, 223671, 287577, 319740, 320639, 321522, 320713, 318771, 316828, 314887 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12270, + "virtualMemoryUsage" : 1472135168, + "physicalMemoryUsage" : 321449984, + "heapUsage" : 656867328 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164142, + "taskID" : "task_1369942127770_1206_m_000086", + "taskType" : "MAP", + "finishTime" : 1371222230895, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222212325, + "result" : "SUCCESS", + "finishTime" : 1371222230895, + "attemptID" : "attempt_1369942127770_1206_m_000086_0", + "clockSplits" : [ 1916, 1917, 1917, 1917, 1917, 1310, 628, 629, 629, 628, 1548, 3609 ], + "cpuUsages" : [ 1298, 1299, 1299, 1298, 1299, 1114, 906, 906, 907, 906, 944, 1414 ], + "vmemKbytes" : [ 129021, 387064, 645107, 903150, 1161194, 1390573, 1426632, 1426631, 1426632, 1426632, 1426631, 1426632 ], + "physMemKbytes" : [ 27206, 81618, 136031, 190443, 244856, 293234, 300915, 301006, 301097, 301188, 300855, 298031 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13590, + "virtualMemoryUsage" : 1460871168, + "physicalMemoryUsage" : 304197632, + "heapUsage" : 738656256 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164142, + "taskID" : "task_1369942127770_1206_m_000087", + "taskType" : "MAP", + "finishTime" : 1371222243205, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222212324, + "result" : "SUCCESS", + "finishTime" : 1371222243205, + "attemptID" : "attempt_1369942127770_1206_m_000087_0", + "clockSplits" : [ 2494, 2494, 2494, 2494, 1979, 18502, 69, 70, 70, 70, 70, 70 ], + "cpuUsages" : [ 1501, 1501, 1501, 1501, 1135, 1230, 804, 803, 803, 804, 803, 804 ], + "vmemKbytes" : [ 178670, 536012, 893354, 1250695, 1435451, 1432834, 1425524, 1425523, 1425524, 1425524, 1425523, 1425524 ], + "physMemKbytes" : [ 38239, 114717, 191196, 267674, 307284, 303356, 292389, 292664, 292939, 293215, 293490, 293766 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13190, + "virtualMemoryUsage" : 1459736576, + "physicalMemoryUsage" : 300957696, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164142, + "taskID" : "task_1369942127770_1206_m_000088", + "taskType" : "MAP", + "finishTime" : 1371222232772, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222212326, + "result" : "SUCCESS", + "finishTime" : 1371222232772, + "attemptID" : "attempt_1369942127770_1206_m_000088_0", + "clockSplits" : [ 2652, 2652, 2653, 2652, 1643, 1624, 1581, 4351, 35, 35, 35, 35 ], + "cpuUsages" : [ 1349, 1350, 1350, 1350, 1074, 1054, 836, 832, 804, 803, 804, 804 ], + "vmemKbytes" : [ 177435, 532306, 887178, 1242049, 1424874, 1424915, 1424916, 1424915, 1424916, 1424916, 1424915, 1424916 ], + "physMemKbytes" : [ 36160, 108480, 180800, 253120, 290481, 290705, 291974, 294028, 293783, 292064, 290343, 288624 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 12710, + "virtualMemoryUsage" : 1459113984, + "physicalMemoryUsage" : 294797312, + "heapUsage" : 723648512 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164143, + "taskID" : "task_1369942127770_1206_m_000089", + "taskType" : "MAP", + "finishTime" : 1371222232612, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2117.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2117.halxg.cloudera.com", + "startTime" : 1371222213322, + "result" : "SUCCESS", + "finishTime" : 1371222232612, + "attemptID" : "attempt_1369942127770_1206_m_000089_0", + "clockSplits" : [ 2150, 2150, 2150, 2150, 2150, 1793, 1344, 1294, 925, 926, 926, 1328 ], + "cpuUsages" : [ 1229, 1229, 1229, 1229, 1229, 1163, 1080, 1055, 866, 865, 866, 1240 ], + "vmemKbytes" : [ 129366, 388101, 646836, 905570, 1164305, 1397662, 1437812, 1437790, 1435927, 1432883, 1429838, 1427696 ], + "physMemKbytes" : [ 27669, 83009, 138349, 193688, 249028, 299294, 310933, 314481, 312611, 307268, 301925, 298134 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 13280, + "virtualMemoryUsage" : 1461878784, + "physicalMemoryUsage" : 305094656, + "heapUsage" : 740360192 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164143, + "taskID" : "task_1369942127770_1206_m_000090", + "taskType" : "MAP", + "finishTime" : 1371222235284, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222223387, + "result" : "SUCCESS", + "finishTime" : 1371222235284, + "attemptID" : "attempt_1369942127770_1206_m_000090_0", + "clockSplits" : [ 1105, 1106, 1106, 1106, 1105, 1106, 1106, 3584, 142, 142, 142, 143 ], + "cpuUsages" : [ 1039, 1040, 1040, 1039, 1040, 1040, 1039, 1034, 799, 800, 800, 800 ], + "vmemKbytes" : [ 89336, 268010, 446684, 625357, 804032, 982705, 1161380, 1339992, 1424680, 1424680, 1424679, 1424680 ], + "physMemKbytes" : [ 18972, 56916, 94861, 132805, 170750, 208694, 246639, 284573, 305523, 311161, 316798, 322437 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11510, + "virtualMemoryUsage" : 1458872320, + "physicalMemoryUsage" : 333062144, + "heapUsage" : 662962176 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164143, + "taskID" : "task_1369942127770_1206_m_000091", + "taskType" : "MAP", + "finishTime" : 1371222237538, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2115.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2115.halxg.cloudera.com", + "startTime" : 1371222223387, + "result" : "SUCCESS", + "finishTime" : 1371222237538, + "attemptID" : "attempt_1369942127770_1206_m_000091_0", + "clockSplits" : [ 1479, 1479, 1479, 1479, 1479, 1479, 1300, 625, 625, 625, 625, 1471 ], + "cpuUsages" : [ 955, 956, 956, 955, 956, 956, 901, 694, 694, 694, 694, 1249 ], + "vmemKbytes" : [ 104472, 313416, 522360, 731303, 940248, 1149191, 1353575, 1418951, 1418952, 1418952, 1418951, 1418952 ], + "physMemKbytes" : [ 22666, 67999, 113332, 158665, 203998, 249331, 293651, 307068, 305951, 304834, 303716, 302630 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 10660, + "virtualMemoryUsage" : 1453006848, + "physicalMemoryUsage" : 309538816, + "heapUsage" : 723517440 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164144, + "taskID" : "task_1369942127770_1206_m_000092", + "taskType" : "MAP", + "finishTime" : 1371222239274, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222225390, + "result" : "SUCCESS", + "finishTime" : 1371222239274, + "attemptID" : "attempt_1369942127770_1206_m_000092_0", + "clockSplits" : [ 1029, 1029, 1030, 1029, 1030, 1029, 1030, 1029, 1030, 2434, 717, 718 ], + "cpuUsages" : [ 945, 945, 945, 945, 945, 945, 945, 945, 945, 895, 730, 730 ], + "vmemKbytes" : [ 72549, 217647, 362746, 507844, 652943, 798041, 943140, 1088238, 1233337, 1374501, 1417191, 1417192 ], + "physMemKbytes" : [ 14112, 42336, 70560, 98783, 127008, 155231, 183456, 211680, 239905, 267439, 277716, 280513 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11280, + "virtualMemoryUsage" : 1451204608, + "physicalMemoryUsage" : 288616448, + "heapUsage" : 674430976 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + }, { + "startTime" : 1371222164144, + "taskID" : "task_1369942127770_1206_m_000093", + "taskType" : "MAP", + "finishTime" : 1371222249913, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2116.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2116.halxg.cloudera.com", + "startTime" : 1371222226395, + "result" : "SUCCESS", + "finishTime" : 1371222249913, + "attemptID" : "attempt_1369942127770_1206_m_000093_0", + "clockSplits" : [ 1998, 1998, 1998, 1999, 1998, 1998, 1999, 1998, 1998, 1998, 1999, 1533 ], + "cpuUsages" : [ 852, 852, 853, 852, 853, 852, 853, 852, 852, 853, 852, 1494 ], + "vmemKbytes" : [ 62260, 186780, 311301, 435821, 560342, 684863, 809384, 933904, 1058425, 1182946, 1307467, 1419006 ], + "physMemKbytes" : [ 12360, 37081, 61802, 86523, 111244, 135965, 160686, 185407, 210128, 234849, 259570, 281661 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 10870, + "virtualMemoryUsage" : 1471885312, + "physicalMemoryUsage" : 291975168, + "heapUsage" : 674562048 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164144, + "taskID" : "task_1369942127770_1206_m_000094", + "taskType" : "MAP", + "finishTime" : 1371222241825, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222227397, + "result" : "SUCCESS", + "finishTime" : 1371222241825, + "attemptID" : "attempt_1369942127770_1206_m_000094_0", + "clockSplits" : [ 1436, 1437, 1437, 1437, 1437, 1436, 1437, 3845, 130, 129, 129, 130 ], + "cpuUsages" : [ 1038, 1039, 1039, 1039, 1039, 1039, 1039, 1031, 891, 892, 892, 892 ], + "vmemKbytes" : [ 90707, 272123, 453538, 634953, 816370, 997785, 1179201, 1360296, 1440536, 1440536, 1440535, 1440536 ], + "physMemKbytes" : [ 19774, 59323, 98872, 138421, 177970, 217519, 257068, 296545, 313357, 312135, 310912, 309691 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666700, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166667, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166667, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11870, + "virtualMemoryUsage" : 1475108864, + "physicalMemoryUsage" : 316497920, + "heapUsage" : 723451904 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166667, + "outputBytes" : 72236, + "outputRecords" : 4166667 + }, { + "startTime" : 1371222164145, + "taskID" : "task_1369942127770_1206_m_000095", + "taskType" : "MAP", + "finishTime" : 1371222241726, + "attempts" : [ { + "location" : { + "layers" : [ "default-rack", "a2118.halxg.cloudera.com" ] + }, + "hostName" : "/default-rack/a2118.halxg.cloudera.com", + "startTime" : 1371222228399, + "result" : "SUCCESS", + "finishTime" : 1371222241726, + "attemptID" : "attempt_1369942127770_1206_m_000095_0", + "clockSplits" : [ 1288, 1289, 1289, 1289, 1288, 1289, 1289, 1289, 2675, 112, 112, 112 ], + "cpuUsages" : [ 992, 993, 993, 992, 993, 993, 992, 993, 853, 832, 832, 832 ], + "vmemKbytes" : [ 88547, 265642, 442738, 619833, 796929, 974024, 1151119, 1328214, 1437170, 1435904, 1433127, 1430352 ], + "physMemKbytes" : [ 19692, 59077, 98462, 137847, 177232, 216617, 256003, 295388, 318265, 314440, 310247, 306056 ], + "shuffleFinished" : -1, + "sortFinished" : -1, + "hdfsBytesRead" : 86, + "hdfsBytesWritten" : 416666600, + "fileBytesRead" : 0, + "fileBytesWritten" : 72236, + "mapInputRecords" : 4166666, + "mapOutputBytes" : -1, + "mapOutputRecords" : 4166666, + "combineInputRecords" : -1, + "reduceInputGroups" : -1, + "reduceInputRecords" : -1, + "reduceShuffleBytes" : -1, + "reduceOutputRecords" : -1, + "spilledRecords" : 0, + "mapInputBytes" : -1, + "resourceUsageMetrics" : { + "cumulativeCpuUsage" : 11290, + "virtualMemoryUsage" : 1463259136, + "physicalMemoryUsage" : 311255040, + "heapUsage" : 740229120 + } + } ], + "preferredLocations" : [ ], + "taskStatus" : "SUCCESS", + "inputBytes" : 86, + "inputRecords" : 4166666, + "outputBytes" : 72236, + "outputRecords" : 4166666 + } ], + "reduceTasks" : [ ], + "launchTime" : 1371222164048, + "totalMaps" : 96, + "totalReduces" : 0, + "otherTasks" : [ ], + "jobProperties" : { + "mapreduce.job.ubertask.enable" : "false", + "yarn.resourcemanager.max-completed-applications" : "10000", + "yarn.resourcemanager.delayed.delegation-token.removal-interval-ms" : "30000", + "mapreduce.client.submit.file.replication" : "2", + "yarn.nodemanager.container-manager.thread-count" : "20", + "mapred.queue.default.acl-administer-jobs" : "*", + "dfs.image.transfer.bandwidthPerSec" : "0", + "mapreduce.tasktracker.healthchecker.interval" : "60000", + "mapreduce.jobtracker.staging.root.dir" : "/user", + "yarn.resourcemanager.recovery.enabled" : "false", + "yarn.resourcemanager.am.max-retries" : "1", + "dfs.block.access.token.lifetime" : "600", + "fs.AbstractFileSystem.file.impl" : "org.apache.hadoop.fs.local.LocalFs", + "mapreduce.client.completion.pollinterval" : "5000", + "mapreduce.job.ubertask.maxreduces" : "1", + "mapreduce.reduce.shuffle.memory.limit.percent" : "0.25", + "dfs.domain.socket.path" : "/var/run/hdfs-sockets/dn", + "hadoop.ssl.keystores.factory.class" : "org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory", + "hadoop.http.authentication.kerberos.keytab" : "${user.home}/hadoop.keytab", + "yarn.nodemanager.keytab" : "/etc/krb5.keytab", + "io.seqfile.sorter.recordlimit" : "1000000", + "s3.blocksize" : "67108864", + "mapreduce.task.io.sort.factor" : "10", + "yarn.nodemanager.disk-health-checker.interval-ms" : "120000", + "mapreduce.job.working.dir" : "hdfs://a2115.halxg.cloudera.com:8020/user/jenkins", + "yarn.admin.acl" : "*", + "mapreduce.job.speculative.speculativecap" : "0.1", + "dfs.namenode.num.checkpoints.retained" : "2", + "dfs.namenode.delegation.token.renew-interval" : "86400000", + "yarn.nodemanager.resource.memory-mb" : "8192", + "io.map.index.interval" : "128", + "s3.client-write-packet-size" : "65536", + "mapreduce.task.files.preserve.failedtasks" : "false", + "dfs.namenode.http-address" : "a2115.halxg.cloudera.com:20101", + "ha.zookeeper.session-timeout.ms" : "5000", + "hadoop.hdfs.configuration.version" : "1", + "s3.replication" : "3", + "dfs.datanode.balance.bandwidthPerSec" : "1048576", + "mapreduce.reduce.shuffle.connect.timeout" : "180000", + "hadoop.ssl.enabled" : "false", + "dfs.journalnode.rpc-address" : "0.0.0.0:8485", + "yarn.nodemanager.aux-services" : "mapreduce.shuffle", + "mapreduce.job.counters.max" : "120", + "dfs.datanode.readahead.bytes" : "4193404", + "ipc.client.connect.max.retries.on.timeouts" : "45", + "mapreduce.job.complete.cancel.delegation.tokens" : "true", + "dfs.client.failover.max.attempts" : "15", + "dfs.namenode.checkpoint.dir" : "file://${hadoop.tmp.dir}/dfs/namesecondary", + "dfs.namenode.replication.work.multiplier.per.iteration" : "2", + "fs.trash.interval" : "1", + "yarn.resourcemanager.admin.address" : "a2115.halxg.cloudera.com:8033", + "ha.health-monitor.check-interval.ms" : "1000", + "mapreduce.job.outputformat.class" : "org.apache.hadoop.examples.terasort.TeraOutputFormat", + "hadoop.jetty.logs.serve.aliases" : "true", + "hadoop.http.authentication.kerberos.principal" : "HTTP/_HOST@LOCALHOST", + "mapreduce.tasktracker.taskmemorymanager.monitoringinterval" : "5000", + "mapreduce.job.reduce.shuffle.consumer.plugin.class" : "org.apache.hadoop.mapreduce.task.reduce.Shuffle", + "s3native.blocksize" : "67108864", + "dfs.namenode.edits.dir" : "${dfs.namenode.name.dir}", + "ha.health-monitor.sleep-after-disconnect.ms" : "1000", + "dfs.encrypt.data.transfer" : "false", + "dfs.datanode.http.address" : "0.0.0.0:50075", + "mapreduce.terasort.num-rows" : "400000000", + "mapreduce.job.map.class" : "org.apache.hadoop.examples.terasort.TeraGen$SortGenMapper", + "mapreduce.jobtracker.jobhistory.task.numberprogresssplits" : "12", + "dfs.namenode.write.stale.datanode.ratio" : "0.5f", + "dfs.client.use.datanode.hostname" : "false", + "yarn.acl.enable" : "true", + "hadoop.security.instrumentation.requires.admin" : "false", + "yarn.nodemanager.localizer.fetch.thread-count" : "4", + "hadoop.security.authorization" : "false", + "user.name" : "jenkins", + "dfs.namenode.fs-limits.min-block-size" : "1048576", + "dfs.client.failover.connection.retries.on.timeouts" : "0", + "hadoop.security.group.mapping.ldap.search.filter.group" : "(objectClass=group)", + "mapreduce.output.fileoutputformat.compress.codec" : "org.apache.hadoop.io.compress.DefaultCodec", + "dfs.namenode.safemode.extension" : "30000", + "mapreduce.shuffle.port" : "8080", + "mapreduce.reduce.log.level" : "INFO", + "yarn.log-aggregation-enable" : "false", + "dfs.datanode.sync.behind.writes" : "false", + "mapreduce.jobtracker.instrumentation" : "org.apache.hadoop.mapred.JobTrackerMetricsInst", + "dfs.https.server.keystore.resource" : "ssl-server.xml", + "hadoop.security.group.mapping.ldap.search.attr.group.name" : "cn", + "dfs.namenode.replication.min" : "1", + "mapreduce.map.java.opts" : " -Xmx825955249", + "yarn.scheduler.fair.allocation.file" : "/etc/yarn/fair-scheduler.xml", + "s3native.bytes-per-checksum" : "512", + "mapreduce.tasktracker.tasks.sleeptimebeforesigkill" : "5000", + "tfile.fs.output.buffer.size" : "262144", + "yarn.nodemanager.local-dirs" : "${hadoop.tmp.dir}/nm-local-dir", + "mapreduce.jobtracker.persist.jobstatus.active" : "false", + "fs.AbstractFileSystem.hdfs.impl" : "org.apache.hadoop.fs.Hdfs", + "mapreduce.job.map.output.collector.class" : "org.apache.hadoop.mapred.MapTask$MapOutputBuffer", + "mapreduce.tasktracker.local.dir.minspacestart" : "0", + "dfs.namenode.safemode.min.datanodes" : "0", + "hadoop.security.uid.cache.secs" : "14400", + "dfs.client.https.need-auth" : "false", + "dfs.client.write.exclude.nodes.cache.expiry.interval.millis" : "600000", + "dfs.client.https.keystore.resource" : "ssl-client.xml", + "dfs.namenode.max.objects" : "0", + "hadoop.ssl.client.conf" : "ssl-client.xml", + "dfs.namenode.safemode.threshold-pct" : "0.999f", + "mapreduce.tasktracker.local.dir.minspacekill" : "0", + "mapreduce.jobtracker.retiredjobs.cache.size" : "1000", + "dfs.blocksize" : "134217728", + "yarn.resourcemanager.scheduler.class" : "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler", + "mapreduce.job.reduce.slowstart.completedmaps" : "0.8", + "mapreduce.job.end-notification.retry.attempts" : "5", + "mapreduce.job.inputformat.class" : "org.apache.hadoop.examples.terasort.TeraGen$RangeInputFormat", + "mapreduce.map.memory.mb" : "1024", + "mapreduce.job.user.name" : "jenkins", + "mapreduce.tasktracker.outofband.heartbeat" : "false", + "io.native.lib.available" : "true", + "mapreduce.jobtracker.persist.jobstatus.hours" : "0", + "dfs.client-write-packet-size" : "65536", + "mapreduce.client.progressmonitor.pollinterval" : "1000", + "dfs.namenode.name.dir" : "file://${hadoop.tmp.dir}/dfs/name", + "dfs.ha.log-roll.period" : "120", + "mapreduce.reduce.input.buffer.percent" : "0.0", + "mapreduce.map.output.compress.codec" : "org.apache.hadoop.io.compress.SnappyCodec", + "mapreduce.map.skip.proc.count.autoincr" : "true", + "dfs.client.failover.sleep.base.millis" : "500", + "dfs.datanode.directoryscan.threads" : "1", + "mapreduce.jobtracker.address" : "neededForHive:999999", + "mapreduce.cluster.local.dir" : "${hadoop.tmp.dir}/mapred/local", + "yarn.scheduler.fair.user-as-default-queue" : "true", + "mapreduce.job.application.attempt.id" : "1", + "dfs.permissions.enabled" : "true", + "mapreduce.tasktracker.taskcontroller" : "org.apache.hadoop.mapred.DefaultTaskController", + "yarn.scheduler.fair.preemption" : "true", + "mapreduce.reduce.shuffle.parallelcopies" : "5", + "dfs.support.append" : "true", + "yarn.nodemanager.env-whitelist" : "JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,YARN_HOME", + "mapreduce.jobtracker.heartbeats.in.second" : "100", + "mapreduce.job.maxtaskfailures.per.tracker" : "3", + "ipc.client.connection.maxidletime" : "10000", + "mapreduce.shuffle.ssl.enabled" : "false", + "dfs.namenode.invalidate.work.pct.per.iteration" : "0.32f", + "dfs.blockreport.intervalMsec" : "21600000", + "fs.s3.sleepTimeSeconds" : "10", + "dfs.namenode.replication.considerLoad" : "true", + "dfs.client.block.write.retries" : "3", + "hadoop.ssl.server.conf" : "ssl-server.xml", + "dfs.namenode.name.dir.restore" : "false", + "rpc.engine.org.apache.hadoop.mapreduce.v2.api.MRClientProtocolPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "dfs.datanode.hdfs-blocks-metadata.enabled" : "true", + "ha.zookeeper.parent-znode" : "/hadoop-ha", + "io.seqfile.lazydecompress" : "true", + "dfs.https.enable" : "false", + "mapreduce.reduce.merge.inmem.threshold" : "1000", + "mapreduce.input.fileinputformat.split.minsize" : "0", + "dfs.replication" : "3", + "ipc.client.tcpnodelay" : "false", + "dfs.namenode.accesstime.precision" : "3600000", + "s3.stream-buffer-size" : "4096", + "mapreduce.jobtracker.tasktracker.maxblacklists" : "4", + "dfs.client.read.shortcircuit.skip.checksum" : "false", + "mapreduce.job.jvm.numtasks" : "1", + "mapreduce.task.io.sort.mb" : "100", + "io.file.buffer.size" : "65536", + "dfs.namenode.audit.loggers" : "default", + "dfs.namenode.checkpoint.txns" : "1000000", + "yarn.nodemanager.admin-env" : "MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX", + "mapreduce.job.jar" : "/user/jenkins/.staging/job_1369942127770_1206/job.jar", + "mapreduce.job.split.metainfo.maxsize" : "10000000", + "kfs.replication" : "3", + "rpc.engine.org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms" : "1000", + "mapreduce.reduce.maxattempts" : "4", + "kfs.stream-buffer-size" : "4096", + "dfs.ha.tail-edits.period" : "60", + "hadoop.security.authentication" : "simple", + "fs.s3.buffer.dir" : "${hadoop.tmp.dir}/s3", + "rpc.engine.org.apache.hadoop.yarn.api.AMRMProtocolPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "mapreduce.jobtracker.taskscheduler" : "org.apache.hadoop.mapred.JobQueueTaskScheduler", + "yarn.app.mapreduce.am.job.task.listener.thread-count" : "30", + "dfs.namenode.avoid.read.stale.datanode" : "false", + "mapreduce.job.reduces" : "0", + "mapreduce.map.sort.spill.percent" : "0.8", + "dfs.client.file-block-storage-locations.timeout" : "60", + "dfs.datanode.drop.cache.behind.writes" : "false", + "mapreduce.job.end-notification.retry.interval" : "1", + "mapreduce.job.maps" : "96", + "mapreduce.job.speculative.slownodethreshold" : "1.0", + "tfile.fs.input.buffer.size" : "262144", + "mapreduce.map.speculative" : "false", + "dfs.block.access.token.enable" : "false", + "dfs.journalnode.http-address" : "0.0.0.0:8480", + "mapreduce.job.acl-view-job" : " ", + "mapreduce.reduce.shuffle.retry-delay.max.ms" : "60000", + "yarn.ipc.serializer.type" : "protocolbuffers", + "mapreduce.job.end-notification.max.retry.interval" : "5", + "ftp.blocksize" : "67108864", + "mapreduce.tasktracker.http.threads" : "80", + "mapreduce.reduce.java.opts" : " -Xmx825955249", + "dfs.datanode.data.dir" : "file://${hadoop.tmp.dir}/dfs/data", + "ha.failover-controller.cli-check.rpc-timeout.ms" : "20000", + "dfs.namenode.max.extra.edits.segments.retained" : "10000", + "dfs.https.port" : "20102", + "dfs.namenode.replication.interval" : "3", + "mapreduce.task.skip.start.attempts" : "2", + "dfs.namenode.https-address" : "a2115.halxg.cloudera.com:20102", + "mapreduce.jobtracker.persist.jobstatus.dir" : "/jobtracker/jobsInfo", + "ipc.client.kill.max" : "10", + "dfs.ha.automatic-failover.enabled" : "false", + "mapreduce.jobhistory.keytab" : "/etc/security/keytab/jhs.service.keytab", + "dfs.image.transfer.timeout" : "600000", + "dfs.client.failover.sleep.max.millis" : "15000", + "mapreduce.job.end-notification.max.attempts" : "5", + "mapreduce.task.tmp.dir" : "./tmp", + "dfs.default.chunk.view.size" : "32768", + "kfs.bytes-per-checksum" : "512", + "mapreduce.reduce.memory.mb" : "1024", + "hadoop.http.filter.initializers" : "org.apache.hadoop.yarn.server.webproxy.amfilter.AmFilterInitializer", + "dfs.datanode.failed.volumes.tolerated" : "0", + "hadoop.http.authentication.type" : "simple", + "dfs.datanode.data.dir.perm" : "700", + "yarn.resourcemanager.client.thread-count" : "50", + "ipc.server.listen.queue.size" : "128", + "mapreduce.reduce.skip.maxgroups" : "0", + "file.stream-buffer-size" : "4096", + "dfs.namenode.fs-limits.max-directory-items" : "0", + "io.mapfile.bloom.size" : "1048576", + "yarn.nodemanager.container-executor.class" : "org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor", + "mapreduce.map.maxattempts" : "4", + "mapreduce.jobtracker.jobhistory.block.size" : "3145728", + "yarn.log-aggregation.retain-seconds" : "-1", + "yarn.app.mapreduce.am.job.committer.cancel-timeout" : "60000", + "ftp.replication" : "3", + "mapreduce.jobtracker.http.address" : "0.0.0.0:50030", + "yarn.nodemanager.health-checker.script.timeout-ms" : "1200000", + "mapreduce.jobhistory.address" : "a2115.halxg.cloudera.com:10020", + "mapreduce.jobtracker.taskcache.levels" : "2", + "dfs.datanode.dns.nameserver" : "default", + "mapreduce.application.classpath" : "$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*", + "yarn.nodemanager.log.retain-seconds" : "10800", + "mapred.child.java.opts" : "-Xmx200m", + "dfs.replication.max" : "512", + "map.sort.class" : "org.apache.hadoop.util.QuickSort", + "dfs.stream-buffer-size" : "4096", + "dfs.namenode.backup.address" : "0.0.0.0:50100", + "hadoop.util.hash.type" : "murmur", + "dfs.block.access.key.update.interval" : "600", + "mapreduce.reduce.skip.proc.count.autoincr" : "true", + "dfs.datanode.dns.interface" : "default", + "dfs.datanode.use.datanode.hostname" : "false", + "mapreduce.job.output.key.class" : "org.apache.hadoop.io.Text", + "dfs.client.read.shortcircuit" : "false", + "dfs.namenode.backup.http-address" : "0.0.0.0:50105", + "yarn.nodemanager.container-monitor.interval-ms" : "3000", + "yarn.nodemanager.disk-health-checker.min-healthy-disks" : "0.25", + "kfs.client-write-packet-size" : "65536", + "ha.zookeeper.acl" : "world:anyone:rwcda", + "yarn.nodemanager.sleep-delay-before-sigkill.ms" : "250", + "mapreduce.job.dir" : "/user/jenkins/.staging/job_1369942127770_1206", + "io.map.index.skip" : "0", + "net.topology.node.switch.mapping.impl" : "org.apache.hadoop.net.ScriptBasedMapping", + "fs.s3.maxRetries" : "4", + "dfs.namenode.logging.level" : "info", + "ha.failover-controller.new-active.rpc-timeout.ms" : "60000", + "s3native.client-write-packet-size" : "65536", + "yarn.resourcemanager.amliveliness-monitor.interval-ms" : "1000", + "hadoop.http.staticuser.user" : "dr.who", + "mapreduce.reduce.speculative" : "false", + "mapreduce.client.output.filter" : "FAILED", + "mapreduce.ifile.readahead.bytes" : "4194304", + "mapreduce.tasktracker.report.address" : "127.0.0.1:0", + "mapreduce.task.userlog.limit.kb" : "0", + "mapreduce.tasktracker.map.tasks.maximum" : "2", + "hadoop.http.authentication.simple.anonymous.allowed" : "true", + "hadoop.fuse.timer.period" : "5", + "dfs.namenode.num.extra.edits.retained" : "1000000", + "hadoop.rpc.socket.factory.class.default" : "org.apache.hadoop.net.StandardSocketFactory", + "mapreduce.job.submithostname" : "a2115.halxg.cloudera.com", + "dfs.namenode.handler.count" : "10", + "fs.automatic.close" : "false", + "mapreduce.job.submithostaddress" : "10.20.206.115", + "mapreduce.tasktracker.healthchecker.script.timeout" : "600000", + "dfs.datanode.directoryscan.interval" : "21600", + "yarn.resourcemanager.address" : "a2115.halxg.cloudera.com:8032", + "yarn.nodemanager.health-checker.interval-ms" : "600000", + "dfs.client.file-block-storage-locations.num-threads" : "10", + "yarn.resourcemanager.container-tokens.master-key-rolling-interval-secs" : "86400", + "mapreduce.reduce.markreset.buffer.percent" : "0.0", + "hadoop.security.group.mapping.ldap.directory.search.timeout" : "10000", + "mapreduce.map.log.level" : "INFO", + "dfs.bytes-per-checksum" : "512", + "yarn.nodemanager.localizer.address" : "0.0.0.0:8040", + "dfs.namenode.checkpoint.max-retries" : "3", + "ha.health-monitor.rpc-timeout.ms" : "45000", + "yarn.resourcemanager.keytab" : "/etc/krb5.keytab", + "ftp.stream-buffer-size" : "4096", + "dfs.namenode.avoid.write.stale.datanode" : "false", + "hadoop.security.group.mapping.ldap.search.attr.member" : "member", + "mapreduce.output.fileoutputformat.outputdir" : "hdfs://a2115.halxg.cloudera.com:8020/user/jenkins/tera-gen-2", + "dfs.blockreport.initialDelay" : "0", + "yarn.nm.liveness-monitor.expiry-interval-ms" : "600000", + "hadoop.http.authentication.token.validity" : "36000", + "dfs.namenode.delegation.token.max-lifetime" : "604800000", + "mapreduce.job.hdfs-servers" : "${fs.defaultFS}", + "s3native.replication" : "3", + "yarn.nodemanager.localizer.client.thread-count" : "5", + "dfs.heartbeat.interval" : "3", + "rpc.engine.org.apache.hadoop.ipc.ProtocolMetaInfoPB" : "org.apache.hadoop.ipc.ProtobufRpcEngine", + "dfs.ha.fencing.ssh.connect-timeout" : "30000", + "yarn.resourcemanager.container.liveness-monitor.interval-ms" : "600000", + "yarn.am.liveness-monitor.expiry-interval-ms" : "600000", + "mapreduce.task.profile" : "false", + "mapreduce.tasktracker.http.address" : "0.0.0.0:50060", + "mapreduce.tasktracker.instrumentation" : "org.apache.hadoop.mapred.TaskTrackerMetricsInst", + "mapreduce.jobhistory.webapp.address" : "a2115.halxg.cloudera.com:19888", + "ha.failover-controller.graceful-fence.rpc-timeout.ms" : "5000", + "yarn.ipc.rpc.class" : "org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC", + "mapreduce.job.name" : "TeraGen", + "kfs.blocksize" : "67108864", + "yarn.resourcemanager.application-tokens.master-key-rolling-interval-secs" : "86400", + "mapreduce.job.ubertask.maxmaps" : "9", + "yarn.scheduler.maximum-allocation-mb" : "8192", + "yarn.nodemanager.heartbeat.interval-ms" : "1000", + "mapreduce.job.userlog.retain.hours" : "24", + "dfs.namenode.secondary.http-address" : "0.0.0.0:50090", + "mapreduce.task.timeout" : "600000", + "mapreduce.framework.name" : "yarn", + "ipc.client.idlethreshold" : "4000", + "ftp.bytes-per-checksum" : "512", + "ipc.server.tcpnodelay" : "false", + "dfs.namenode.stale.datanode.interval" : "30000", + "s3.bytes-per-checksum" : "512", + "mapreduce.job.speculative.slowtaskthreshold" : "1.0", + "yarn.nodemanager.localizer.cache.target-size-mb" : "10240", + "yarn.nodemanager.remote-app-log-dir" : "/tmp/logs", + "fs.s3.block.size" : "67108864", + "mapreduce.job.queuename" : "sls_queue_1", + "dfs.client.failover.connection.retries" : "0", + "hadoop.rpc.protection" : "authentication", + "yarn.scheduler.minimum-allocation-mb" : "1024", + "yarn.app.mapreduce.client-am.ipc.max-retries" : "1", + "hadoop.security.auth_to_local" : "DEFAULT", + "dfs.secondary.namenode.kerberos.internal.spnego.principal" : "${dfs.web.authentication.kerberos.principal}", + "ftp.client-write-packet-size" : "65536", + "fs.defaultFS" : "hdfs://a2115.halxg.cloudera.com:8020", + "yarn.nodemanager.address" : "0.0.0.0:0", + "yarn.scheduler.fair.assignmultiple" : "true", + "yarn.resourcemanager.scheduler.client.thread-count" : "50", + "mapreduce.task.merge.progress.records" : "10000", + "file.client-write-packet-size" : "65536", + "yarn.nodemanager.delete.thread-count" : "4", + "yarn.resourcemanager.scheduler.address" : "a2115.halxg.cloudera.com:8030", + "fs.trash.checkpoint.interval" : "0", + "hadoop.http.authentication.signature.secret.file" : "${user.home}/hadoop-http-auth-signature-secret", + "s3native.stream-buffer-size" : "4096", + "mapreduce.reduce.shuffle.read.timeout" : "180000", + "mapreduce.admin.user.env" : "LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native", + "yarn.app.mapreduce.am.command-opts" : " -Xmx1238932873", + "mapreduce.local.clientfactory.class.name" : "org.apache.hadoop.mapred.LocalClientFactory", + "dfs.namenode.checkpoint.edits.dir" : "${dfs.namenode.checkpoint.dir}", + "fs.permissions.umask-mode" : "022", + "dfs.client.domain.socket.data.traffic" : "false", + "hadoop.common.configuration.version" : "0.23.0", + "mapreduce.tasktracker.dns.interface" : "default", + "mapreduce.output.fileoutputformat.compress.type" : "BLOCK", + "mapreduce.ifile.readahead" : "true", + "hadoop.security.group.mapping.ldap.ssl" : "false", + "io.serializations" : "org.apache.hadoop.io.serializer.WritableSerialization,org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization,org.apache.hadoop.io.serializer.avro.AvroReflectSerialization", + "yarn.nodemanager.aux-services.mapreduce.shuffle.class" : "org.apache.hadoop.mapred.ShuffleHandler", + "fs.df.interval" : "60000", + "mapreduce.reduce.shuffle.input.buffer.percent" : "0.70", + "io.seqfile.compress.blocksize" : "1000000", + "hadoop.security.groups.cache.secs" : "300", + "ipc.client.connect.max.retries" : "10", + "dfs.namenode.delegation.key.update-interval" : "86400000", + "yarn.nodemanager.process-kill-wait.ms" : "2000", + "yarn.application.classpath" : "$HADOOP_CONF_DIR,$HADOOP_COMMON_HOME/*,$HADOOP_COMMON_HOME/lib/*,$HADOOP_HDFS_HOME/*,$HADOOP_HDFS_HOME/lib/*,$HADOOP_MAPRED_HOME/*,$HADOOP_MAPRED_HOME/lib/*,$YARN_HOME/*,$YARN_HOME/lib/*", + "yarn.app.mapreduce.client.max-retries" : "3", + "dfs.datanode.available-space-volume-choosing-policy.balanced-space-preference-fraction" : "0.75f", + "yarn.nodemanager.log-aggregation.compression-type" : "none", + "hadoop.security.group.mapping.ldap.search.filter.user" : "(&(objectClass=user)(sAMAccountName={0}))", + "yarn.nodemanager.localizer.cache.cleanup.interval-ms" : "600000", + "dfs.image.compress" : "false", + "mapred.mapper.new-api" : "true", + "yarn.nodemanager.log-dirs" : "${yarn.log.dir}/userlogs", + "dfs.namenode.kerberos.internal.spnego.principal" : "${dfs.web.authentication.kerberos.principal}", + "fs.s3n.block.size" : "67108864", + "fs.ftp.host" : "0.0.0.0", + "hadoop.security.group.mapping" : "org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback", + "dfs.datanode.address" : "0.0.0.0:50010", + "mapreduce.map.skip.maxrecords" : "0", + "dfs.datanode.https.address" : "0.0.0.0:50475", + "file.replication" : "1", + "yarn.resourcemanager.resource-tracker.address" : "a2115.halxg.cloudera.com:8031", + "dfs.datanode.drop.cache.behind.reads" : "false", + "hadoop.fuse.connection.timeout" : "300", + "hadoop.work.around.non.threadsafe.getpwuid" : "false", + "mapreduce.jobtracker.restart.recover" : "false", + "hadoop.tmp.dir" : "/tmp/hadoop-${user.name}", + "mapreduce.output.fileoutputformat.compress" : "false", + "mapreduce.tasktracker.indexcache.mb" : "10", + "mapreduce.client.genericoptionsparser.used" : "true", + "dfs.client.block.write.replace-datanode-on-failure.policy" : "DEFAULT", + "mapreduce.job.committer.setup.cleanup.needed" : "true", + "hadoop.kerberos.kinit.command" : "kinit", + "dfs.datanode.du.reserved" : "0", + "dfs.namenode.fs-limits.max-blocks-per-file" : "1048576", + "dfs.webhdfs.enabled" : "false", + "file.bytes-per-checksum" : "512", + "mapreduce.task.profile.reduces" : "0-2", + "mapreduce.jobtracker.handler.count" : "10", + "dfs.client.block.write.replace-datanode-on-failure.enable" : "true", + "mapreduce.job.output.value.class" : "org.apache.hadoop.io.Text", + "yarn.dispatcher.exit-on-error" : "true", + "net.topology.script.number.args" : "100", + "mapreduce.task.profile.maps" : "0-2", + "dfs.namenode.decommission.interval" : "30", + "dfs.image.compression.codec" : "org.apache.hadoop.io.compress.DefaultCodec", + "yarn.resourcemanager.webapp.address" : "a2115.halxg.cloudera.com:8088", + "mapreduce.jobtracker.system.dir" : "${hadoop.tmp.dir}/mapred/system", + "hadoop.ssl.hostname.verifier" : "DEFAULT", + "yarn.nodemanager.vmem-pmem-ratio" : "2.1", + "dfs.namenode.support.allow.format" : "true", + "mapreduce.jobhistory.principal" : "jhs/_HOST@REALM.TLD", + "io.mapfile.bloom.error.rate" : "0.005", + "mapreduce.shuffle.ssl.file.buffer.size" : "65536", + "dfs.permissions.superusergroup" : "supergroup", + "dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold" : "10737418240", + "mapreduce.jobtracker.expire.trackers.interval" : "600000", + "mapreduce.cluster.acls.enabled" : "false", + "yarn.nodemanager.remote-app-log-dir-suffix" : "logs", + "ha.failover-controller.graceful-fence.connection.retries" : "1", + "ha.health-monitor.connect-retry-interval.ms" : "1000", + "mapreduce.reduce.shuffle.merge.percent" : "0.66", + "yarn.app.mapreduce.am.resource.mb" : "1536", + "io.seqfile.local.dir" : "${hadoop.tmp.dir}/io/local", + "dfs.namenode.checkpoint.check.period" : "60", + "yarn.resourcemanager.nm.liveness-monitor.interval-ms" : "1000", + "mapreduce.jobtracker.maxtasks.perjob" : "-1", + "mapreduce.jobtracker.jobhistory.lru.cache.size" : "5", + "file.blocksize" : "67108864", + "tfile.io.chunk.size" : "1048576", + "mapreduce.job.acl-modify-job" : " ", + "yarn.nodemanager.webapp.address" : "0.0.0.0:8042", + "mapreduce.tasktracker.reduce.tasks.maximum" : "2", + "io.skip.checksum.errors" : "false", + "mapreduce.cluster.temp.dir" : "${hadoop.tmp.dir}/mapred/temp", + "yarn.app.mapreduce.am.staging-dir" : "/user", + "dfs.namenode.edits.journal-plugin.qjournal" : "org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager", + "dfs.datanode.handler.count" : "10", + "fs.ftp.host.port" : "21", + "dfs.namenode.decommission.nodes.per.interval" : "5", + "yarn.resourcemanager.admin.client.thread-count" : "1", + "dfs.namenode.fs-limits.max-component-length" : "0", + "dfs.namenode.checkpoint.period" : "3600", + "fs.AbstractFileSystem.viewfs.impl" : "org.apache.hadoop.fs.viewfs.ViewFs", + "yarn.resourcemanager.resource-tracker.client.thread-count" : "50", + "mapreduce.tasktracker.dns.nameserver" : "default", + "mapreduce.map.output.compress" : "true", + "dfs.datanode.ipc.address" : "0.0.0.0:50020", + "hadoop.ssl.require.client.cert" : "false", + "yarn.nodemanager.delete.debug-delay-sec" : "0", + "dfs.datanode.max.transfer.threads" : "4096" + }, + "computonsPerMapInputByte" : -1, + "computonsPerMapOutputByte" : -1, + "computonsPerReduceInputByte" : -1, + "computonsPerReduceOutputByte" : -1, + "heapMegabytes" : 200, + "outcome" : "SUCCESS", + "jobtype" : "JAVA", + "directDependantJobs" : [ ], + "successfulMapAttemptCDFs" : [ { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 32847, + "minimum" : 11897, + "rankings" : [ { + "datum" : 14151, + "relativeRanking" : 0.05 + }, { + "datum" : 15844, + "relativeRanking" : 0.1 + }, { + "datum" : 18656, + "relativeRanking" : 0.15 + }, { + "datum" : 18806, + "relativeRanking" : 0.2 + }, { + "datum" : 18840, + "relativeRanking" : 0.25 + }, { + "datum" : 18982, + "relativeRanking" : 0.3 + }, { + "datum" : 19314, + "relativeRanking" : 0.35 + }, { + "datum" : 19587, + "relativeRanking" : 0.4 + }, { + "datum" : 19703, + "relativeRanking" : 0.45 + }, { + "datum" : 19800, + "relativeRanking" : 0.5 + }, { + "datum" : 19965, + "relativeRanking" : 0.55 + }, { + "datum" : 20604, + "relativeRanking" : 0.6 + }, { + "datum" : 20892, + "relativeRanking" : 0.65 + }, { + "datum" : 21526, + "relativeRanking" : 0.7 + }, { + "datum" : 21911, + "relativeRanking" : 0.75 + }, { + "datum" : 22144, + "relativeRanking" : 0.8 + }, { + "datum" : 22539, + "relativeRanking" : 0.85 + }, { + "datum" : 23034, + "relativeRanking" : 0.9 + }, { + "datum" : 23601, + "relativeRanking" : 0.95 + } ], + "numberValues" : 96 + } ], + "failedMapAttemptCDFs" : [ { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + } ], + "successfulReduceAttemptCDF" : { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, + "failedReduceAttemptCDF" : { + "maximum" : 9223372036854775807, + "minimum" : -9223372036854775808, + "rankings" : [ ], + "numberValues" : 0 + }, + "mapperTriesToSucceed" : [ 1.0 ], + "failedMapperFraction" : 0.0, + "relativeTime" : 0, + "clusterMapMB" : -1, + "clusterReduceMB" : -1, + "jobMapMB" : 200, + "jobReduceMB" : 200 +} diff --git a/hadoop-tools/hadoop-sls/src/main/html/css/bootstrap-responsive.min.css b/hadoop-tools/hadoop-sls/src/main/html/css/bootstrap-responsive.min.css new file mode 100644 index 00000000000..2d3ebfd9d54 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/html/css/bootstrap-responsive.min.css @@ -0,0 +1,19 @@ +/*! + * Bootstrap Responsive v2.1.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ +.clearfix{*zoom:1} +.clearfix:before, +.clearfix:after{display:table;line-height:0;content:""} +.clearfix:after{clear:both} +.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0} +.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} +.hidden{display:none;visibility:hidden}.visible-phone{display:none!important} +.visible-tablet{display:none!important}.hidden-desktop{display:none!important} +.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important} +.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade.in{top:auto}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .dropdown-menu a:hover{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:hover{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:block;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} diff --git a/hadoop-tools/hadoop-sls/src/main/html/css/bootstrap.min.css b/hadoop-tools/hadoop-sls/src/main/html/css/bootstrap.min.css new file mode 100644 index 00000000000..fd129b2cc69 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/html/css/bootstrap.min.css @@ -0,0 +1,37 @@ +/*! + * Bootstrap v2.1.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section{display:block} +audio, +canvas, +video{display:inline-block;*display:inline;*zoom:1} +audio:not([controls]){display:none} +html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%} +a:focus{ + outline:thin dotted #333; + outline:5px auto -webkit-focus-ring-color; + outline-offset:-2px +} +a:hover, +a:active{outline:0} +sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline} +sup{top:-0.5em}sub{bottom:-0.25em} +img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic} +#map_canvas img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle} +button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0} +button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}[class*="span"].hide,.row-fluid [class*="span"].hide{display:none}[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;line-height:0;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;line-height:0;content:""}.container-fluid:after{clear:both}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}small{font-size:85%}strong{font-weight:bold}em{font-style:italic}cite{font-style:normal}.muted{color:#999}.text-warning{color:#c09853}.text-error{color:#b94a48}.text-info{color:#3a87ad}.text-success{color:#468847}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:1;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999}h1{font-size:36px;line-height:40px}h2{font-size:30px;line-height:40px}h3{font-size:24px;line-height:40px}h4{font-size:18px;line-height:20px}h5{font-size:14px;line-height:20px}h6{font-size:12px;line-height:20px}h1 small{font-size:24px}h2 small{font-size:18px}h3 small{font-size:14px}h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}ul,ol{padding:0;margin:0 0 10px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:20px}dt,dd{line-height:20px}dt{font-weight:bold}dd{margin-left:10px}.dl-horizontal{*zoom:1}.dl-horizontal:before,.dl-horizontal:after{display:table;line-height:0;content:""}.dl-horizontal:after{clear:both}.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}abbr[title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:25px}blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999}label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px}select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:9px;font-size:14px;line-height:20px;color:#555;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}input,textarea,.uneditable-input{width:206px}textarea{height:auto}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;*margin-top:0;line-height:normal;cursor:pointer}input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto}select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px}select{width:220px;background-color:#fff;border:1px solid #ccc}select[multiple],select[size]{height:auto}select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.uneditable-input,.uneditable-textarea{color:#999;cursor:not-allowed;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}.uneditable-input{overflow:hidden;white-space:nowrap}.uneditable-textarea{width:auto;height:auto}input:-moz-placeholder,textarea:-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:926px}input.span11,textarea.span11,.uneditable-input.span11{width:846px}input.span10,textarea.span10,.uneditable-input.span10{width:766px}input.span9,textarea.span9,.uneditable-input.span9{width:686px}input.span8,textarea.span8,.uneditable-input.span8{width:606px}input.span7,textarea.span7,.uneditable-input.span7{width:526px}input.span6,textarea.span6,.uneditable-input.span6{width:446px}input.span5,textarea.span5,.uneditable-input.span5{width:366px}input.span4,textarea.span4,.uneditable-input.span4{width:286px}input.span3,textarea.span3,.uneditable-input.span3{width:206px}input.span2,textarea.span2,.uneditable-input.span2{width:126px}input.span1,textarea.span1,.uneditable-input.span1{width:46px}.controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;line-height:0;content:""}.controls-row:after{clear:both}.controls-row [class*="span"]{float:left}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48}.control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}.control-group.info>label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad}.control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad}.control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3}.control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;line-height:0;content:""}.form-actions:after{clear:both}.help-block,.help-inline{color:#595959}.help-block{display:block;margin-bottom:10px}.help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.input-append,.input-prepend{margin-bottom:5px;font-size:0;white-space:nowrap}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;font-size:14px;vertical-align:top;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2}.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .add-on,.input-append .btn{margin-left:-1px}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;vertical-align:middle;*zoom:1}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:10px}legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;line-height:0;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:180px}.form-horizontal .help-block{margin-bottom:0}.form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block{margin-top:10px}.form-horizontal .form-actions{padding-left:180px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:bold}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child,.table-bordered tfoot:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child,.table-bordered tfoot:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topleft:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table-hover tbody tr:hover td,.table-hover tbody tr:hover th{background-color:#f5f5f5}table [class*=span],.row-fluid table [class*=span]{display:table-cell;float:none;margin-left:0}.table .span1{float:none;width:44px;margin-left:0}.table .span2{float:none;width:124px;margin-left:0}.table .span3{float:none;width:204px;margin-left:0}.table .span4{float:none;width:284px;margin-left:0}.table .span5{float:none;width:364px;margin-left:0}.table .span6{float:none;width:444px;margin-left:0}.table .span7{float:none;width:524px;margin-left:0}.table .span8{float:none;width:604px;margin-left:0}.table .span9{float:none;width:684px;margin-left:0}.table .span10{float:none;width:764px;margin-left:0}.table .span11{float:none;width:844px;margin-left:0}.table .span12{float:none;width:924px;margin-left:0}.table .span13{float:none;width:1004px;margin-left:0}.table .span14{float:none;width:1084px;margin-left:0}.table .span15{float:none;width:1164px;margin-left:0}.table .span16{float:none;width:1244px;margin-left:0}.table .span17{float:none;width:1324px;margin-left:0}.table .span18{float:none;width:1404px;margin-left:0}.table .span19{float:none;width:1484px;margin-left:0}.table .span20{float:none;width:1564px;margin-left:0}.table .span21{float:none;width:1644px;margin-left:0}.table .span22{float:none;width:1724px;margin-left:0}.table .span23{float:none;width:1804px;margin-left:0}.table .span24{float:none;width:1884px;margin-left:0}.table tbody tr.success td{background-color:#dff0d8}.table tbody tr.error td{background-color:#f2dede}.table tbody tr.warning td{background-color:#fcf8e3}.table tbody tr.info td{background-color:#d9edf7}.table-hover tbody tr.success:hover td{background-color:#d0e9c6}.table-hover tbody tr.error:hover td{background-color:#ebcccc}.table-hover tbody tr.warning:hover td{background-color:#faf2cc}.table-hover tbody tr.info:hover td{background-color:#c4e3f3}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}.icon-white,.nav-tabs>.active>a>[class^="icon-"],.nav-tabs>.active>a>[class*=" icon-"],.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{width:16px;background-position:-216px -120px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{background-position:-384px -120px}.icon-folder-open{width:16px;background-position:-408px -120px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus,.dropdown-submenu:hover>a{color:#fff;text-decoration:none;background-color:#08c;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#fff;text-decoration:none;background-color:#08c;background-color:#0081c2;background-image:linear-gradient(to bottom,#08c,#0077b3);background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-repeat:repeat-x;outline:0;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu .disabled>a,.dropdown-menu .disabled>a:hover{color:#999}.dropdown-menu .disabled>a:hover{text-decoration:none;cursor:default;background-color:transparent}.open{*z-index:1000}.open>.dropdown-menu{display:block}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu>a:after{display:block;float:right;width:0;height:0;margin-top:5px;margin-right:-10px;border-color:transparent;border-left-color:#ccc;border-style:solid;border-width:5px 0 5px 5px;content:" "}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown .dropdown-menu .nav-header{padding-right:20px;padding-left:20px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;padding:4px 14px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;*line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #bbb;*border:0;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-bottom-color:#a2a2a2;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:16px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:2px}.btn-small{padding:3px 9px;font-size:12px;line-height:18px}.btn-small [class^="icon-"]{margin-top:0}.btn-mini{padding:2px 6px;font-size:11px;line-height:17px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#c5c5c5;border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;*background-color:#04c;background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-image:-moz-linear-gradient(top,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;*background-color:#f89406;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;*background-color:#bd362f;background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffbd362f',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;*background-color:#51a351;background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-image:-moz-linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff51a351',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;*background-color:#2f96b4;background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2f96b4',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;*background-color:#222;background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-image:-moz-linear-gradient(top,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff444444',endColorstr='#ff222222',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{color:#08c;cursor:pointer;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover{color:#333;text-decoration:none}.btn-group{position:relative;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:10px;margin-bottom:10px;font-size:0}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-toolbar .btn+.btn,.btn-toolbar .btn-group+.btn,.btn-toolbar .btn+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn,.btn-group>.dropdown-menu{font-size:14px}.btn-group>.btn-mini{font-size:11px}.btn-group>.btn-small{font-size:12px}.btn-group>.btn-large{font-size:16px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{*padding-top:5px;padding-right:8px;*padding-bottom:5px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn-group>.btn-mini+.dropdown-toggle{*padding-top:2px;padding-right:5px;*padding-bottom:2px;padding-left:5px}.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.btn-group>.btn-large+.dropdown-toggle{*padding-top:7px;padding-right:12px;*padding-bottom:7px;padding-left:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:8px;margin-left:0}.btn-mini .caret,.btn-small .caret,.btn-large .caret{margin-top:6px}.btn-large .caret{border-top-width:5px;border-right-width:5px;border-left-width:5px}.dropup .btn-large .caret{border-top:0;border-bottom:5px solid #000}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.btn-group-vertical .btn{display:block;float:none;width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical .btn+.btn{margin-top:-1px;margin-left:0}.btn-group-vertical .btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.btn-group-vertical .btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.btn-group-vertical .btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.btn-group-vertical .btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.alert{padding:8px 35px 8px 14px;margin-bottom:20px;color:#c09853;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.alert h4{margin:0}.alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-danger,.alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-bottom:20px;margin-left:0;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>.pull-right{float:right}.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;line-height:0;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px}.nav-tabs.nav-stacked>li>a:hover{z-index:2;border-color:#ddd}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.nav .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.nav .dropdown-toggle:hover .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .dropdown-toggle .caret{margin-top:8px}.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.nav>.dropdown.active>a:hover{cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;line-height:0;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-top-color:#ddd;border-bottom-color:transparent}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eee #ddd #eee #eee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eee #eee #eee #ddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.nav>.disabled>a{color:#999}.nav>.disabled>a:hover{text-decoration:none;cursor:default;background-color:transparent}.navbar{*position:relative;*z-index:2;margin-bottom:20px;overflow:visible;color:#777}.navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.navbar-inner:before,.navbar-inner:after{display:table;line-height:0;content:""}.navbar-inner:after{clear:both}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar .brand{display:block;float:left;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.navbar .brand:hover{text-decoration:none}.navbar-text{margin-bottom:0;line-height:40px}.navbar-link{color:#777}.navbar-link:hover{color:#333}.navbar .divider-vertical{height:40px;margin:0 9px;border-right:1px solid #fff;border-left:1px solid #f2f2f2}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn{margin-top:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;line-height:0;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.navbar-search .search-query{padding:4px 14px;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.navbar-static-top{position:static;width:100%;margin-bottom:0}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px}.navbar-fixed-bottom .navbar-inner{border-width:1px 0 0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.1),0 1px 10px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.1),0 1px 10px rgba(0,0,0,0.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.1),0 1px 10px rgba(0,0,0,0.1)}.navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 -1px 10px rgba(0,0,0,0.1);box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 -1px 10px rgba(0,0,0,0.1)}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right;margin-right:0}.navbar .nav>li{float:left}.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff}.navbar .nav .dropdown-toggle .caret{margin-top:8px}.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{color:#333;text-decoration:none;background-color:transparent}.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;*background-color:#e5e5e5;background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-o-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:linear-gradient(to bottom,#f2f2f2,#e5e5e5);background-image:-moz-linear-gradient(top,#f2f2f2,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fff2f2f2',endColorstr='#ffe5e5e5',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .nav>li>.dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.navbar .nav>li>.dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.navbar-fixed-bottom .nav>li>.dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.navbar-fixed-bottom .nav>li>.dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{color:#555;background-color:#e5e5e5}.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777}.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{right:12px;left:auto}.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{right:13px;left:auto}.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.navbar-inverse{color:#999}.navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top,#222,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#222),to(#111));background-image:-webkit-linear-gradient(top,#222,#111);background-image:-o-linear-gradient(top,#222,#111);background-image:linear-gradient(to bottom,#222,#111);background-repeat:repeat-x;border-color:#252525;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff111111',GradientType=0)}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover{color:#fff}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .divider-vertical{border-right-color:#222;border-left-color:#111}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{color:#fff;background-color:#111}.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;*background-color:#040404;background-image:-webkit-gradient(linear,0 0,0 100%,from(#151515),to(#040404));background-image:-webkit-linear-gradient(top,#151515,#040404);background-image:-o-linear-gradient(top,#151515,#040404);background-image:linear-gradient(to bottom,#151515,#040404);background-image:-moz-linear-gradient(top,#151515,#040404);background-repeat:repeat-x;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff151515',endColorstr='#ff040404',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9}.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.breadcrumb li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.breadcrumb .divider{padding:0 5px;color:#ccc}.breadcrumb .active{color:#999}.pagination{height:40px;margin:20px 0}.pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination ul>li{display:inline}.pagination ul>li>a,.pagination ul>li>span{float:left;padding:0 14px;line-height:38px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.pagination ul>li>a:hover,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5}.pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default}.pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover{color:#999;cursor:default;background-color:transparent}.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin:20px 0;text-align:center;list-style:none;*zoom:1}.pager:before,.pager:after{display:table;line-height:0;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a,.pager span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a,.pager .next span{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover,.pager .disabled span{color:#999;cursor:default;background-color:#fff}.modal-open .modal .dropdown-menu{z-index:2050}.modal-open .modal .dropdown.open{*z-index:2050}.modal-open .modal .popover{z-index:2060}.modal-open .modal .tooltip{z-index:2080}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;width:560px;margin:-250px 0 0 -280px;overflow:auto;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-header h3{margin:0;line-height:30px}.modal-body{max-height:400px;padding:15px;overflow-y:auto}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.modal-footer:before,.modal-footer:after{display:table;line-height:0;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1030;display:block;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-3px}.tooltip.right{margin-left:3px}.tooltip.bottom{margin-top:3px}.tooltip.left{margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;width:236px;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.popover.top{margin-bottom:10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-right:10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.popover .arrow,.popover .arrow:after{position:absolute;display:inline-block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow:after{z-index:-1;content:""}.popover.top .arrow{bottom:-10px;left:50%;margin-left:-10px;border-top-color:#fff;border-width:10px 10px 0}.popover.top .arrow:after{bottom:-1px;left:-11px;border-top-color:rgba(0,0,0,0.25);border-width:11px 11px 0}.popover.right .arrow{top:50%;left:-10px;margin-top:-10px;border-right-color:#fff;border-width:10px 10px 10px 0}.popover.right .arrow:after{bottom:-11px;left:-1px;border-right-color:rgba(0,0,0,0.25);border-width:11px 11px 11px 0}.popover.bottom .arrow{top:-10px;left:50%;margin-left:-10px;border-bottom-color:#fff;border-width:0 10px 10px}.popover.bottom .arrow:after{top:-1px;left:-11px;border-bottom-color:rgba(0,0,0,0.25);border-width:0 11px 11px}.popover.left .arrow{top:50%;right:-10px;margin-top:-10px;border-left-color:#fff;border-width:10px 0 10px 10px}.popover.left .arrow:after{right:-1px;bottom:-11px;border-left-color:rgba(0,0,0,0.25);border-width:11px 0 11px 11px}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;line-height:0;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.thumbnail:hover{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#555}.label,.badge{font-size:11.844px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}.btn .label,.btn .badge{position:relative;top:-1px}.btn-mini .label,.btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(to bottom,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress .bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15)}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(to bottom,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffc43c35',GradientType=0)}.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(to bottom,#62c462,#57a957);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff57a957',GradientType=0)}.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(to bottom,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0)}.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0)}.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:20px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:20px;line-height:1}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel .item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{right:15px;left:auto}.carousel-control:hover{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{line-height:20px;color:#fff}.carousel-caption h4{margin:0 0 5px}.carousel-caption p{margin-bottom:0}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.hero-unit p{font-size:18px;font-weight:200;line-height:30px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}.affix{position:fixed} diff --git a/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/bootstrap.min.js b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/bootstrap.min.js new file mode 100644 index 00000000000..16fab531833 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/bootstrap.min.js @@ -0,0 +1,6 @@ +/*! +* Bootstrap.js by @fat & @mdo +* Copyright 2012 Twitter, Inc. +* http://www.apache.org/licenses/LICENSE-2.0.txt +*/ +!function(e){e(function(){"use strict";e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()},e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e(function(){e("body").on("click.alert.data-api",t,n.prototype.close)})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")},e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e(function(){e("body").on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=n,this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},to:function(t){var n=this.$element.find(".item.active"),r=n.parent().children(),i=r.index(n),s=this;if(t>r.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){s.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",e(r[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f=e.Event("slide",{relatedTarget:i[0]});this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u]();if(i.hasClass("active"))return;if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}},e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e(function(){e("body").on("click.carousel.data-api","[data-slide]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=!i.data("modal")&&e.extend({},i.data(),n.data());i.carousel(s),t.preventDefault()})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning)return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning)return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=typeof n=="object"&&n;i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e(function(){e("body").on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})})}(window.jQuery),!function(e){"use strict";function r(){i(e(t)).removeClass("open")}function i(t){var n=t.attr("data-target"),r;return n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=e(n),r.length||(r=t.parent()),r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||(s.toggleClass("open"),n.focus()),!1},keydown:function(t){var n,r,s,o,u,a;if(!/(38|40|27)/.test(t.keyCode))return;n=e(this),t.preventDefault(),t.stopPropagation();if(n.is(".disabled, :disabled"))return;o=i(n),u=o.hasClass("open");if(!u||u&&t.keyCode==27)return n.click();r=e("[role=menu] li:not(.divider) a",o);if(!r.length)return;a=r.index(r.filter(":focus")),t.keyCode==38&&a>0&&a--,t.keyCode==40&&a').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,e.proxy(this.removeBackdrop,this)):this.removeBackdrop()):t&&t()}},e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e(function(){e("body").on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,this.options.trigger=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):this.options.trigger!="manual"&&(i=this.options.trigger=="hover"?"mouseenter":"focus",s=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this))),this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,t,this.$element.data()),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);if(!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var e,t,n,r,i,s,o;if(this.hasContent()&&this.enabled){e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,t=/in/.test(s),e.remove().css({top:0,left:0,display:"block"}).appendTo(t?this.$element:document.body),n=this.getPosition(t),r=e[0].offsetWidth,i=e[0].offsetHeight;switch(t?s.split(" ")[1]:s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}e.css(o).addClass(s).addClass("in")}},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function r(){var t=setTimeout(function(){n.off(e.support.transition.end).remove()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.remove()})}var t=this,n=this.tip();return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?r():n.remove(),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(t){return e.extend({},t?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover",title:"",delay:0,html:!0}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content > *")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-content")||(typeof n.content=="function"?n.content.call(t[0]):n.content),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'

'})}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var t=e(this),n=t.data("target")||t.attr("href"),r=/^#\w/.test(n)&&e(n);return r&&r.length&&[[r.position().top,n]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}},e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active a").last()[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}},e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e(function(){e("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=e(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:t.top+t.height,left:t.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length"+t+""})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),(e.browser.chrome||e.browser.webkit||e.browser.msie)&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this))},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=!~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},blur:function(e){var t=this;setTimeout(function(){t.hide()},150)},click:function(e){e.stopPropagation(),e.preventDefault(),this.select()},mouseenter:function(t){this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")}},e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'',item:'
  • ',minLength:1},e.fn.typeahead.Constructor=t,e(function(){e("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;t.preventDefault(),n.typeahead(n.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))},e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery); diff --git a/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/d3-LICENSE b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/d3-LICENSE new file mode 100644 index 00000000000..0bc47f33ef3 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/d3-LICENSE @@ -0,0 +1,26 @@ +Copyright (c) 2013, Michael Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* The name Michael Bostock may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/d3.v3.js b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/d3.v3.js new file mode 100644 index 00000000000..80640aded91 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/d3.v3.js @@ -0,0 +1,8823 @@ +/*! +* Copyright (c) 2013, Michael Bostock + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * The name Michael Bostock may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ +d3 = function() { + var d3 = { + version: "3.2.7" + }; + if (!Date.now) Date.now = function() { + return +new Date(); + }; + var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window; + try { + d3_document.createElement("div").style.setProperty("opacity", 0, ""); + } catch (error) { + var d3_element_prototype = d3_window.Element.prototype, d3_element_setAttribute = d3_element_prototype.setAttribute, d3_element_setAttributeNS = d3_element_prototype.setAttributeNS, d3_style_prototype = d3_window.CSSStyleDeclaration.prototype, d3_style_setProperty = d3_style_prototype.setProperty; + d3_element_prototype.setAttribute = function(name, value) { + d3_element_setAttribute.call(this, name, value + ""); + }; + d3_element_prototype.setAttributeNS = function(space, local, value) { + d3_element_setAttributeNS.call(this, space, local, value + ""); + }; + d3_style_prototype.setProperty = function(name, value, priority) { + d3_style_setProperty.call(this, name, value + "", priority); + }; + } + d3.ascending = function(a, b) { + return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; + }; + d3.descending = function(a, b) { + return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN; + }; + d3.min = function(array, f) { + var i = -1, n = array.length, a, b; + if (arguments.length === 1) { + while (++i < n && !((a = array[i]) != null && a <= a)) a = undefined; + while (++i < n) if ((b = array[i]) != null && a > b) a = b; + } else { + while (++i < n && !((a = f.call(array, array[i], i)) != null && a <= a)) a = undefined; + while (++i < n) if ((b = f.call(array, array[i], i)) != null && a > b) a = b; + } + return a; + }; + d3.max = function(array, f) { + var i = -1, n = array.length, a, b; + if (arguments.length === 1) { + while (++i < n && !((a = array[i]) != null && a <= a)) a = undefined; + while (++i < n) if ((b = array[i]) != null && b > a) a = b; + } else { + while (++i < n && !((a = f.call(array, array[i], i)) != null && a <= a)) a = undefined; + while (++i < n) if ((b = f.call(array, array[i], i)) != null && b > a) a = b; + } + return a; + }; + d3.extent = function(array, f) { + var i = -1, n = array.length, a, b, c; + if (arguments.length === 1) { + while (++i < n && !((a = c = array[i]) != null && a <= a)) a = c = undefined; + while (++i < n) if ((b = array[i]) != null) { + if (a > b) a = b; + if (c < b) c = b; + } + } else { + while (++i < n && !((a = c = f.call(array, array[i], i)) != null && a <= a)) a = undefined; + while (++i < n) if ((b = f.call(array, array[i], i)) != null) { + if (a > b) a = b; + if (c < b) c = b; + } + } + return [ a, c ]; + }; + d3.sum = function(array, f) { + var s = 0, n = array.length, a, i = -1; + if (arguments.length === 1) { + while (++i < n) if (!isNaN(a = +array[i])) s += a; + } else { + while (++i < n) if (!isNaN(a = +f.call(array, array[i], i))) s += a; + } + return s; + }; + function d3_number(x) { + return x != null && !isNaN(x); + } + d3.mean = function(array, f) { + var n = array.length, a, m = 0, i = -1, j = 0; + if (arguments.length === 1) { + while (++i < n) if (d3_number(a = array[i])) m += (a - m) / ++j; + } else { + while (++i < n) if (d3_number(a = f.call(array, array[i], i))) m += (a - m) / ++j; + } + return j ? m : undefined; + }; + d3.quantile = function(values, p) { + var H = (values.length - 1) * p + 1, h = Math.floor(H), v = +values[h - 1], e = H - h; + return e ? v + e * (values[h] - v) : v; + }; + d3.median = function(array, f) { + if (arguments.length > 1) array = array.map(f); + array = array.filter(d3_number); + return array.length ? d3.quantile(array.sort(d3.ascending), .5) : undefined; + }; + d3.bisector = function(f) { + return { + left: function(a, x, lo, hi) { + if (arguments.length < 3) lo = 0; + if (arguments.length < 4) hi = a.length; + while (lo < hi) { + var mid = lo + hi >>> 1; + if (f.call(a, a[mid], mid) < x) lo = mid + 1; else hi = mid; + } + return lo; + }, + right: function(a, x, lo, hi) { + if (arguments.length < 3) lo = 0; + if (arguments.length < 4) hi = a.length; + while (lo < hi) { + var mid = lo + hi >>> 1; + if (x < f.call(a, a[mid], mid)) hi = mid; else lo = mid + 1; + } + return lo; + } + }; + }; + var d3_bisector = d3.bisector(function(d) { + return d; + }); + d3.bisectLeft = d3_bisector.left; + d3.bisect = d3.bisectRight = d3_bisector.right; + d3.shuffle = function(array) { + var m = array.length, t, i; + while (m) { + i = Math.random() * m-- | 0; + t = array[m], array[m] = array[i], array[i] = t; + } + return array; + }; + d3.permute = function(array, indexes) { + var permutes = [], i = -1, n = indexes.length; + while (++i < n) permutes[i] = array[indexes[i]]; + return permutes; + }; + d3.zip = function() { + if (!(n = arguments.length)) return []; + for (var i = -1, m = d3.min(arguments, d3_zipLength), zips = new Array(m); ++i < m; ) { + for (var j = -1, n, zip = zips[i] = new Array(n); ++j < n; ) { + zip[j] = arguments[j][i]; + } + } + return zips; + }; + function d3_zipLength(d) { + return d.length; + } + d3.transpose = function(matrix) { + return d3.zip.apply(d3, matrix); + }; + d3.keys = function(map) { + var keys = []; + for (var key in map) keys.push(key); + return keys; + }; + d3.values = function(map) { + var values = []; + for (var key in map) values.push(map[key]); + return values; + }; + d3.entries = function(map) { + var entries = []; + for (var key in map) entries.push({ + key: key, + value: map[key] + }); + return entries; + }; + d3.merge = function(arrays) { + return Array.prototype.concat.apply([], arrays); + }; + d3.range = function(start, stop, step) { + if (arguments.length < 3) { + step = 1; + if (arguments.length < 2) { + stop = start; + start = 0; + } + } + if ((stop - start) / step === Infinity) throw new Error("infinite range"); + var range = [], k = d3_range_integerScale(Math.abs(step)), i = -1, j; + start *= k, stop *= k, step *= k; + if (step < 0) while ((j = start + step * ++i) > stop) range.push(j / k); else while ((j = start + step * ++i) < stop) range.push(j / k); + return range; + }; + function d3_range_integerScale(x) { + var k = 1; + while (x * k % 1) k *= 10; + return k; + } + function d3_class(ctor, properties) { + try { + for (var key in properties) { + Object.defineProperty(ctor.prototype, key, { + value: properties[key], + enumerable: false + }); + } + } catch (e) { + ctor.prototype = properties; + } + } + d3.map = function(object) { + var map = new d3_Map(); + for (var key in object) map.set(key, object[key]); + return map; + }; + function d3_Map() {} + d3_class(d3_Map, { + has: function(key) { + return d3_map_prefix + key in this; + }, + get: function(key) { + return this[d3_map_prefix + key]; + }, + set: function(key, value) { + return this[d3_map_prefix + key] = value; + }, + remove: function(key) { + key = d3_map_prefix + key; + return key in this && delete this[key]; + }, + keys: function() { + var keys = []; + this.forEach(function(key) { + keys.push(key); + }); + return keys; + }, + values: function() { + var values = []; + this.forEach(function(key, value) { + values.push(value); + }); + return values; + }, + entries: function() { + var entries = []; + this.forEach(function(key, value) { + entries.push({ + key: key, + value: value + }); + }); + return entries; + }, + forEach: function(f) { + for (var key in this) { + if (key.charCodeAt(0) === d3_map_prefixCode) { + f.call(this, key.substring(1), this[key]); + } + } + } + }); + var d3_map_prefix = "\0", d3_map_prefixCode = d3_map_prefix.charCodeAt(0); + d3.nest = function() { + var nest = {}, keys = [], sortKeys = [], sortValues, rollup; + function map(mapType, array, depth) { + if (depth >= keys.length) return rollup ? rollup.call(nest, array) : sortValues ? array.sort(sortValues) : array; + var i = -1, n = array.length, key = keys[depth++], keyValue, object, setter, valuesByKey = new d3_Map(), values; + while (++i < n) { + if (values = valuesByKey.get(keyValue = key(object = array[i]))) { + values.push(object); + } else { + valuesByKey.set(keyValue, [ object ]); + } + } + if (mapType) { + object = mapType(); + setter = function(keyValue, values) { + object.set(keyValue, map(mapType, values, depth)); + }; + } else { + object = {}; + setter = function(keyValue, values) { + object[keyValue] = map(mapType, values, depth); + }; + } + valuesByKey.forEach(setter); + return object; + } + function entries(map, depth) { + if (depth >= keys.length) return map; + var array = [], sortKey = sortKeys[depth++]; + map.forEach(function(key, keyMap) { + array.push({ + key: key, + values: entries(keyMap, depth) + }); + }); + return sortKey ? array.sort(function(a, b) { + return sortKey(a.key, b.key); + }) : array; + } + nest.map = function(array, mapType) { + return map(mapType, array, 0); + }; + nest.entries = function(array) { + return entries(map(d3.map, array, 0), 0); + }; + nest.key = function(d) { + keys.push(d); + return nest; + }; + nest.sortKeys = function(order) { + sortKeys[keys.length - 1] = order; + return nest; + }; + nest.sortValues = function(order) { + sortValues = order; + return nest; + }; + nest.rollup = function(f) { + rollup = f; + return nest; + }; + return nest; + }; + d3.set = function(array) { + var set = new d3_Set(); + if (array) for (var i = 0; i < array.length; i++) set.add(array[i]); + return set; + }; + function d3_Set() {} + d3_class(d3_Set, { + has: function(value) { + return d3_map_prefix + value in this; + }, + add: function(value) { + this[d3_map_prefix + value] = true; + return value; + }, + remove: function(value) { + value = d3_map_prefix + value; + return value in this && delete this[value]; + }, + values: function() { + var values = []; + this.forEach(function(value) { + values.push(value); + }); + return values; + }, + forEach: function(f) { + for (var value in this) { + if (value.charCodeAt(0) === d3_map_prefixCode) { + f.call(this, value.substring(1)); + } + } + } + }); + d3.behavior = {}; + d3.rebind = function(target, source) { + var i = 1, n = arguments.length, method; + while (++i < n) target[method = arguments[i]] = d3_rebind(target, source, source[method]); + return target; + }; + function d3_rebind(target, source, method) { + return function() { + var value = method.apply(source, arguments); + return value === source ? target : value; + }; + } + function d3_vendorSymbol(object, name) { + if (name in object) return name; + name = name.charAt(0).toUpperCase() + name.substring(1); + for (var i = 0, n = d3_vendorPrefixes.length; i < n; ++i) { + var prefixName = d3_vendorPrefixes[i] + name; + if (prefixName in object) return prefixName; + } + } + var d3_vendorPrefixes = [ "webkit", "ms", "moz", "Moz", "o", "O" ]; + var d3_array = d3_arraySlice; + function d3_arrayCopy(pseudoarray) { + var i = -1, n = pseudoarray.length, array = []; + while (++i < n) array.push(pseudoarray[i]); + return array; + } + function d3_arraySlice(pseudoarray) { + return Array.prototype.slice.call(pseudoarray); + } + try { + d3_array(d3_documentElement.childNodes)[0].nodeType; + } catch (e) { + d3_array = d3_arrayCopy; + } + function d3_noop() {} + d3.dispatch = function() { + var dispatch = new d3_dispatch(), i = -1, n = arguments.length; + while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch); + return dispatch; + }; + function d3_dispatch() {} + d3_dispatch.prototype.on = function(type, listener) { + var i = type.indexOf("."), name = ""; + if (i >= 0) { + name = type.substring(i + 1); + type = type.substring(0, i); + } + if (type) return arguments.length < 2 ? this[type].on(name) : this[type].on(name, listener); + if (arguments.length === 2) { + if (listener == null) for (type in this) { + if (this.hasOwnProperty(type)) this[type].on(name, null); + } + return this; + } + }; + function d3_dispatch_event(dispatch) { + var listeners = [], listenerByName = new d3_Map(); + function event() { + var z = listeners, i = -1, n = z.length, l; + while (++i < n) if (l = z[i].on) l.apply(this, arguments); + return dispatch; + } + event.on = function(name, listener) { + var l = listenerByName.get(name), i; + if (arguments.length < 2) return l && l.on; + if (l) { + l.on = null; + listeners = listeners.slice(0, i = listeners.indexOf(l)).concat(listeners.slice(i + 1)); + listenerByName.remove(name); + } + if (listener) listeners.push(listenerByName.set(name, { + on: listener + })); + return dispatch; + }; + return event; + } + d3.event = null; + function d3_eventPreventDefault() { + d3.event.preventDefault(); + } + function d3_eventSource() { + var e = d3.event, s; + while (s = e.sourceEvent) e = s; + return e; + } + function d3_eventDispatch(target) { + var dispatch = new d3_dispatch(), i = 0, n = arguments.length; + while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch); + dispatch.of = function(thiz, argumentz) { + return function(e1) { + try { + var e0 = e1.sourceEvent = d3.event; + e1.target = target; + d3.event = e1; + dispatch[e1.type].apply(thiz, argumentz); + } finally { + d3.event = e0; + } + }; + }; + return dispatch; + } + d3.requote = function(s) { + return s.replace(d3_requote_re, "\\$&"); + }; + var d3_requote_re = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g; + var d3_subclass = {}.__proto__ ? function(object, prototype) { + object.__proto__ = prototype; + } : function(object, prototype) { + for (var property in prototype) object[property] = prototype[property]; + }; + function d3_selection(groups) { + d3_subclass(groups, d3_selectionPrototype); + return groups; + } + var d3_select = function(s, n) { + return n.querySelector(s); + }, d3_selectAll = function(s, n) { + return n.querySelectorAll(s); + }, d3_selectMatcher = d3_documentElement[d3_vendorSymbol(d3_documentElement, "matchesSelector")], d3_selectMatches = function(n, s) { + return d3_selectMatcher.call(n, s); + }; + if (typeof Sizzle === "function") { + d3_select = function(s, n) { + return Sizzle(s, n)[0] || null; + }; + d3_selectAll = function(s, n) { + return Sizzle.uniqueSort(Sizzle(s, n)); + }; + d3_selectMatches = Sizzle.matchesSelector; + } + d3.selection = function() { + return d3_selectionRoot; + }; + var d3_selectionPrototype = d3.selection.prototype = []; + d3_selectionPrototype.select = function(selector) { + var subgroups = [], subgroup, subnode, group, node; + selector = d3_selection_selector(selector); + for (var j = -1, m = this.length; ++j < m; ) { + subgroups.push(subgroup = []); + subgroup.parentNode = (group = this[j]).parentNode; + for (var i = -1, n = group.length; ++i < n; ) { + if (node = group[i]) { + subgroup.push(subnode = selector.call(node, node.__data__, i, j)); + if (subnode && "__data__" in node) subnode.__data__ = node.__data__; + } else { + subgroup.push(null); + } + } + } + return d3_selection(subgroups); + }; + function d3_selection_selector(selector) { + return typeof selector === "function" ? selector : function() { + return d3_select(selector, this); + }; + } + d3_selectionPrototype.selectAll = function(selector) { + var subgroups = [], subgroup, node; + selector = d3_selection_selectorAll(selector); + for (var j = -1, m = this.length; ++j < m; ) { + for (var group = this[j], i = -1, n = group.length; ++i < n; ) { + if (node = group[i]) { + subgroups.push(subgroup = d3_array(selector.call(node, node.__data__, i, j))); + subgroup.parentNode = node; + } + } + } + return d3_selection(subgroups); + }; + function d3_selection_selectorAll(selector) { + return typeof selector === "function" ? selector : function() { + return d3_selectAll(selector, this); + }; + } + var d3_nsPrefix = { + svg: "http://www.w3.org/2000/svg", + xhtml: "http://www.w3.org/1999/xhtml", + xlink: "http://www.w3.org/1999/xlink", + xml: "http://www.w3.org/XML/1998/namespace", + xmlns: "http://www.w3.org/2000/xmlns/" + }; + d3.ns = { + prefix: d3_nsPrefix, + qualify: function(name) { + var i = name.indexOf(":"), prefix = name; + if (i >= 0) { + prefix = name.substring(0, i); + name = name.substring(i + 1); + } + return d3_nsPrefix.hasOwnProperty(prefix) ? { + space: d3_nsPrefix[prefix], + local: name + } : name; + } + }; + d3_selectionPrototype.attr = function(name, value) { + if (arguments.length < 2) { + if (typeof name === "string") { + var node = this.node(); + name = d3.ns.qualify(name); + return name.local ? node.getAttributeNS(name.space, name.local) : node.getAttribute(name); + } + for (value in name) this.each(d3_selection_attr(value, name[value])); + return this; + } + return this.each(d3_selection_attr(name, value)); + }; + function d3_selection_attr(name, value) { + name = d3.ns.qualify(name); + function attrNull() { + this.removeAttribute(name); + } + function attrNullNS() { + this.removeAttributeNS(name.space, name.local); + } + function attrConstant() { + this.setAttribute(name, value); + } + function attrConstantNS() { + this.setAttributeNS(name.space, name.local, value); + } + function attrFunction() { + var x = value.apply(this, arguments); + if (x == null) this.removeAttribute(name); else this.setAttribute(name, x); + } + function attrFunctionNS() { + var x = value.apply(this, arguments); + if (x == null) this.removeAttributeNS(name.space, name.local); else this.setAttributeNS(name.space, name.local, x); + } + return value == null ? name.local ? attrNullNS : attrNull : typeof value === "function" ? name.local ? attrFunctionNS : attrFunction : name.local ? attrConstantNS : attrConstant; + } + function d3_collapse(s) { + return s.trim().replace(/\s+/g, " "); + } + d3_selectionPrototype.classed = function(name, value) { + if (arguments.length < 2) { + if (typeof name === "string") { + var node = this.node(), n = (name = name.trim().split(/^|\s+/g)).length, i = -1; + if (value = node.classList) { + while (++i < n) if (!value.contains(name[i])) return false; + } else { + value = node.getAttribute("class"); + while (++i < n) if (!d3_selection_classedRe(name[i]).test(value)) return false; + } + return true; + } + for (value in name) this.each(d3_selection_classed(value, name[value])); + return this; + } + return this.each(d3_selection_classed(name, value)); + }; + function d3_selection_classedRe(name) { + return new RegExp("(?:^|\\s+)" + d3.requote(name) + "(?:\\s+|$)", "g"); + } + function d3_selection_classed(name, value) { + name = name.trim().split(/\s+/).map(d3_selection_classedName); + var n = name.length; + function classedConstant() { + var i = -1; + while (++i < n) name[i](this, value); + } + function classedFunction() { + var i = -1, x = value.apply(this, arguments); + while (++i < n) name[i](this, x); + } + return typeof value === "function" ? classedFunction : classedConstant; + } + function d3_selection_classedName(name) { + var re = d3_selection_classedRe(name); + return function(node, value) { + if (c = node.classList) return value ? c.add(name) : c.remove(name); + var c = node.getAttribute("class") || ""; + if (value) { + re.lastIndex = 0; + if (!re.test(c)) node.setAttribute("class", d3_collapse(c + " " + name)); + } else { + node.setAttribute("class", d3_collapse(c.replace(re, " "))); + } + }; + } + d3_selectionPrototype.style = function(name, value, priority) { + var n = arguments.length; + if (n < 3) { + if (typeof name !== "string") { + if (n < 2) value = ""; + for (priority in name) this.each(d3_selection_style(priority, name[priority], value)); + return this; + } + if (n < 2) return d3_window.getComputedStyle(this.node(), null).getPropertyValue(name); + priority = ""; + } + return this.each(d3_selection_style(name, value, priority)); + }; + function d3_selection_style(name, value, priority) { + function styleNull() { + this.style.removeProperty(name); + } + function styleConstant() { + this.style.setProperty(name, value, priority); + } + function styleFunction() { + var x = value.apply(this, arguments); + if (x == null) this.style.removeProperty(name); else this.style.setProperty(name, x, priority); + } + return value == null ? styleNull : typeof value === "function" ? styleFunction : styleConstant; + } + d3_selectionPrototype.property = function(name, value) { + if (arguments.length < 2) { + if (typeof name === "string") return this.node()[name]; + for (value in name) this.each(d3_selection_property(value, name[value])); + return this; + } + return this.each(d3_selection_property(name, value)); + }; + function d3_selection_property(name, value) { + function propertyNull() { + delete this[name]; + } + function propertyConstant() { + this[name] = value; + } + function propertyFunction() { + var x = value.apply(this, arguments); + if (x == null) delete this[name]; else this[name] = x; + } + return value == null ? propertyNull : typeof value === "function" ? propertyFunction : propertyConstant; + } + d3_selectionPrototype.text = function(value) { + return arguments.length ? this.each(typeof value === "function" ? function() { + var v = value.apply(this, arguments); + this.textContent = v == null ? "" : v; + } : value == null ? function() { + this.textContent = ""; + } : function() { + this.textContent = value; + }) : this.node().textContent; + }; + d3_selectionPrototype.html = function(value) { + return arguments.length ? this.each(typeof value === "function" ? function() { + var v = value.apply(this, arguments); + this.innerHTML = v == null ? "" : v; + } : value == null ? function() { + this.innerHTML = ""; + } : function() { + this.innerHTML = value; + }) : this.node().innerHTML; + }; + d3_selectionPrototype.append = function(name) { + name = d3_selection_creator(name); + return this.select(function() { + return this.appendChild(name.apply(this, arguments)); + }); + }; + function d3_selection_creator(name) { + return typeof name === "function" ? name : (name = d3.ns.qualify(name)).local ? function() { + return d3_document.createElementNS(name.space, name.local); + } : function() { + return d3_document.createElementNS(this.namespaceURI, name); + }; + } + d3_selectionPrototype.insert = function(name, before) { + name = d3_selection_creator(name); + before = d3_selection_selector(before); + return this.select(function() { + return this.insertBefore(name.apply(this, arguments), before.apply(this, arguments)); + }); + }; + d3_selectionPrototype.remove = function() { + return this.each(function() { + var parent = this.parentNode; + if (parent) parent.removeChild(this); + }); + }; + d3_selectionPrototype.data = function(value, key) { + var i = -1, n = this.length, group, node; + if (!arguments.length) { + value = new Array(n = (group = this[0]).length); + while (++i < n) { + if (node = group[i]) { + value[i] = node.__data__; + } + } + return value; + } + function bind(group, groupData) { + var i, n = group.length, m = groupData.length, n0 = Math.min(n, m), updateNodes = new Array(m), enterNodes = new Array(m), exitNodes = new Array(n), node, nodeData; + if (key) { + var nodeByKeyValue = new d3_Map(), dataByKeyValue = new d3_Map(), keyValues = [], keyValue; + for (i = -1; ++i < n; ) { + keyValue = key.call(node = group[i], node.__data__, i); + if (nodeByKeyValue.has(keyValue)) { + exitNodes[i] = node; + } else { + nodeByKeyValue.set(keyValue, node); + } + keyValues.push(keyValue); + } + for (i = -1; ++i < m; ) { + keyValue = key.call(groupData, nodeData = groupData[i], i); + if (node = nodeByKeyValue.get(keyValue)) { + updateNodes[i] = node; + node.__data__ = nodeData; + } else if (!dataByKeyValue.has(keyValue)) { + enterNodes[i] = d3_selection_dataNode(nodeData); + } + dataByKeyValue.set(keyValue, nodeData); + nodeByKeyValue.remove(keyValue); + } + for (i = -1; ++i < n; ) { + if (nodeByKeyValue.has(keyValues[i])) { + exitNodes[i] = group[i]; + } + } + } else { + for (i = -1; ++i < n0; ) { + node = group[i]; + nodeData = groupData[i]; + if (node) { + node.__data__ = nodeData; + updateNodes[i] = node; + } else { + enterNodes[i] = d3_selection_dataNode(nodeData); + } + } + for (;i < m; ++i) { + enterNodes[i] = d3_selection_dataNode(groupData[i]); + } + for (;i < n; ++i) { + exitNodes[i] = group[i]; + } + } + enterNodes.update = updateNodes; + enterNodes.parentNode = updateNodes.parentNode = exitNodes.parentNode = group.parentNode; + enter.push(enterNodes); + update.push(updateNodes); + exit.push(exitNodes); + } + var enter = d3_selection_enter([]), update = d3_selection([]), exit = d3_selection([]); + if (typeof value === "function") { + while (++i < n) { + bind(group = this[i], value.call(group, group.parentNode.__data__, i)); + } + } else { + while (++i < n) { + bind(group = this[i], value); + } + } + update.enter = function() { + return enter; + }; + update.exit = function() { + return exit; + }; + return update; + }; + function d3_selection_dataNode(data) { + return { + __data__: data + }; + } + d3_selectionPrototype.datum = function(value) { + return arguments.length ? this.property("__data__", value) : this.property("__data__"); + }; + d3_selectionPrototype.filter = function(filter) { + var subgroups = [], subgroup, group, node; + if (typeof filter !== "function") filter = d3_selection_filter(filter); + for (var j = 0, m = this.length; j < m; j++) { + subgroups.push(subgroup = []); + subgroup.parentNode = (group = this[j]).parentNode; + for (var i = 0, n = group.length; i < n; i++) { + if ((node = group[i]) && filter.call(node, node.__data__, i)) { + subgroup.push(node); + } + } + } + return d3_selection(subgroups); + }; + function d3_selection_filter(selector) { + return function() { + return d3_selectMatches(this, selector); + }; + } + d3_selectionPrototype.order = function() { + for (var j = -1, m = this.length; ++j < m; ) { + for (var group = this[j], i = group.length - 1, next = group[i], node; --i >= 0; ) { + if (node = group[i]) { + if (next && next !== node.nextSibling) next.parentNode.insertBefore(node, next); + next = node; + } + } + } + return this; + }; + d3_selectionPrototype.sort = function(comparator) { + comparator = d3_selection_sortComparator.apply(this, arguments); + for (var j = -1, m = this.length; ++j < m; ) this[j].sort(comparator); + return this.order(); + }; + function d3_selection_sortComparator(comparator) { + if (!arguments.length) comparator = d3.ascending; + return function(a, b) { + return !a - !b || comparator(a.__data__, b.__data__); + }; + } + d3_selectionPrototype.each = function(callback) { + return d3_selection_each(this, function(node, i, j) { + callback.call(node, node.__data__, i, j); + }); + }; + function d3_selection_each(groups, callback) { + for (var j = 0, m = groups.length; j < m; j++) { + for (var group = groups[j], i = 0, n = group.length, node; i < n; i++) { + if (node = group[i]) callback(node, i, j); + } + } + return groups; + } + d3_selectionPrototype.call = function(callback) { + var args = d3_array(arguments); + callback.apply(args[0] = this, args); + return this; + }; + d3_selectionPrototype.empty = function() { + return !this.node(); + }; + d3_selectionPrototype.node = function() { + for (var j = 0, m = this.length; j < m; j++) { + for (var group = this[j], i = 0, n = group.length; i < n; i++) { + var node = group[i]; + if (node) return node; + } + } + return null; + }; + d3_selectionPrototype.size = function() { + var n = 0; + this.each(function() { + ++n; + }); + return n; + }; + function d3_selection_enter(selection) { + d3_subclass(selection, d3_selection_enterPrototype); + return selection; + } + var d3_selection_enterPrototype = []; + d3.selection.enter = d3_selection_enter; + d3.selection.enter.prototype = d3_selection_enterPrototype; + d3_selection_enterPrototype.append = d3_selectionPrototype.append; + d3_selection_enterPrototype.empty = d3_selectionPrototype.empty; + d3_selection_enterPrototype.node = d3_selectionPrototype.node; + d3_selection_enterPrototype.call = d3_selectionPrototype.call; + d3_selection_enterPrototype.size = d3_selectionPrototype.size; + d3_selection_enterPrototype.select = function(selector) { + var subgroups = [], subgroup, subnode, upgroup, group, node; + for (var j = -1, m = this.length; ++j < m; ) { + upgroup = (group = this[j]).update; + subgroups.push(subgroup = []); + subgroup.parentNode = group.parentNode; + for (var i = -1, n = group.length; ++i < n; ) { + if (node = group[i]) { + subgroup.push(upgroup[i] = subnode = selector.call(group.parentNode, node.__data__, i, j)); + subnode.__data__ = node.__data__; + } else { + subgroup.push(null); + } + } + } + return d3_selection(subgroups); + }; + d3_selection_enterPrototype.insert = function(name, before) { + if (arguments.length < 2) before = d3_selection_enterInsertBefore(this); + return d3_selectionPrototype.insert.call(this, name, before); + }; + function d3_selection_enterInsertBefore(enter) { + var i0, j0; + return function(d, i, j) { + var group = enter[j].update, n = group.length, node; + if (j != j0) j0 = j, i0 = 0; + if (i >= i0) i0 = i + 1; + while (!(node = group[i0]) && ++i0 < n) ; + return node; + }; + } + d3_selectionPrototype.transition = function() { + var id = d3_transitionInheritId || ++d3_transitionId, subgroups = [], subgroup, node, transition = d3_transitionInherit || { + time: Date.now(), + ease: d3_ease_cubicInOut, + delay: 0, + duration: 250 + }; + for (var j = -1, m = this.length; ++j < m; ) { + subgroups.push(subgroup = []); + for (var group = this[j], i = -1, n = group.length; ++i < n; ) { + if (node = group[i]) d3_transitionNode(node, i, id, transition); + subgroup.push(node); + } + } + return d3_transition(subgroups, id); + }; + d3.select = function(node) { + var group = [ typeof node === "string" ? d3_select(node, d3_document) : node ]; + group.parentNode = d3_documentElement; + return d3_selection([ group ]); + }; + d3.selectAll = function(nodes) { + var group = d3_array(typeof nodes === "string" ? d3_selectAll(nodes, d3_document) : nodes); + group.parentNode = d3_documentElement; + return d3_selection([ group ]); + }; + var d3_selectionRoot = d3.select(d3_documentElement); + d3_selectionPrototype.on = function(type, listener, capture) { + var n = arguments.length; + if (n < 3) { + if (typeof type !== "string") { + if (n < 2) listener = false; + for (capture in type) this.each(d3_selection_on(capture, type[capture], listener)); + return this; + } + if (n < 2) return (n = this.node()["__on" + type]) && n._; + capture = false; + } + return this.each(d3_selection_on(type, listener, capture)); + }; + function d3_selection_on(type, listener, capture) { + var name = "__on" + type, i = type.indexOf("."), wrap = d3_selection_onListener; + if (i > 0) type = type.substring(0, i); + var filter = d3_selection_onFilters.get(type); + if (filter) type = filter, wrap = d3_selection_onFilter; + function onRemove() { + var l = this[name]; + if (l) { + this.removeEventListener(type, l, l.$); + delete this[name]; + } + } + function onAdd() { + var l = wrap(listener, d3_array(arguments)); + onRemove.call(this); + this.addEventListener(type, this[name] = l, l.$ = capture); + l._ = listener; + } + function removeAll() { + var re = new RegExp("^__on([^.]+)" + d3.requote(type) + "$"), match; + for (var name in this) { + if (match = name.match(re)) { + var l = this[name]; + this.removeEventListener(match[1], l, l.$); + delete this[name]; + } + } + } + return i ? listener ? onAdd : onRemove : listener ? d3_noop : removeAll; + } + var d3_selection_onFilters = d3.map({ + mouseenter: "mouseover", + mouseleave: "mouseout" + }); + d3_selection_onFilters.forEach(function(k) { + if ("on" + k in d3_document) d3_selection_onFilters.remove(k); + }); + function d3_selection_onListener(listener, argumentz) { + return function(e) { + var o = d3.event; + d3.event = e; + argumentz[0] = this.__data__; + try { + listener.apply(this, argumentz); + } finally { + d3.event = o; + } + }; + } + function d3_selection_onFilter(listener, argumentz) { + var l = d3_selection_onListener(listener, argumentz); + return function(e) { + var target = this, related = e.relatedTarget; + if (!related || related !== target && !(related.compareDocumentPosition(target) & 8)) { + l.call(target, e); + } + }; + } + var d3_event_dragSelect = d3_vendorSymbol(d3_documentElement.style, "userSelect"), d3_event_dragId = 0; + function d3_event_dragSuppress() { + var name = ".dragsuppress-" + ++d3_event_dragId, touchmove = "touchmove" + name, selectstart = "selectstart" + name, dragstart = "dragstart" + name, click = "click" + name, w = d3.select(d3_window).on(touchmove, d3_eventPreventDefault).on(selectstart, d3_eventPreventDefault).on(dragstart, d3_eventPreventDefault), style = d3_documentElement.style, select = style[d3_event_dragSelect]; + style[d3_event_dragSelect] = "none"; + return function(suppressClick) { + w.on(name, null); + style[d3_event_dragSelect] = select; + if (suppressClick) { + function off() { + w.on(click, null); + } + w.on(click, function() { + d3_eventPreventDefault(); + off(); + }, true); + setTimeout(off, 0); + } + }; + } + d3.mouse = function(container) { + return d3_mousePoint(container, d3_eventSource()); + }; + var d3_mouse_bug44083 = /WebKit/.test(d3_window.navigator.userAgent) ? -1 : 0; + function d3_mousePoint(container, e) { + var svg = container.ownerSVGElement || container; + if (svg.createSVGPoint) { + var point = svg.createSVGPoint(); + if (d3_mouse_bug44083 < 0 && (d3_window.scrollX || d3_window.scrollY)) { + svg = d3.select("body").append("svg").style({ + position: "absolute", + top: 0, + left: 0, + margin: 0, + padding: 0, + border: "none" + }, "important"); + var ctm = svg[0][0].getScreenCTM(); + d3_mouse_bug44083 = !(ctm.f || ctm.e); + svg.remove(); + } + if (d3_mouse_bug44083) { + point.x = e.pageX; + point.y = e.pageY; + } else { + point.x = e.clientX; + point.y = e.clientY; + } + point = point.matrixTransform(container.getScreenCTM().inverse()); + return [ point.x, point.y ]; + } + var rect = container.getBoundingClientRect(); + return [ e.clientX - rect.left - container.clientLeft, e.clientY - rect.top - container.clientTop ]; + } + d3.touches = function(container, touches) { + if (arguments.length < 2) touches = d3_eventSource().touches; + return touches ? d3_array(touches).map(function(touch) { + var point = d3_mousePoint(container, touch); + point.identifier = touch.identifier; + return point; + }) : []; + }; + d3.behavior.drag = function() { + var event = d3_eventDispatch(drag, "drag", "dragstart", "dragend"), origin = null, mousedown = dragstart(d3_noop, d3.mouse, "mousemove", "mouseup"), touchstart = dragstart(touchid, touchposition, "touchmove", "touchend"); + function drag() { + this.on("mousedown.drag", mousedown).on("touchstart.drag", touchstart); + } + function touchid() { + return d3.event.changedTouches[0].identifier; + } + function touchposition(parent, id) { + return d3.touches(parent).filter(function(p) { + return p.identifier === id; + })[0]; + } + function dragstart(id, position, move, end) { + return function() { + var target = this, parent = target.parentNode, event_ = event.of(target, arguments), eventTarget = d3.event.target, eventId = id(), drag = eventId == null ? "drag" : "drag-" + eventId, origin_ = position(parent, eventId), dragged = 0, offset, w = d3.select(d3_window).on(move + "." + drag, moved).on(end + "." + drag, ended), dragRestore = d3_event_dragSuppress(); + if (origin) { + offset = origin.apply(target, arguments); + offset = [ offset.x - origin_[0], offset.y - origin_[1] ]; + } else { + offset = [ 0, 0 ]; + } + event_({ + type: "dragstart" + }); + function moved() { + if (!parent) return ended(); + var p = position(parent, eventId), dx = p[0] - origin_[0], dy = p[1] - origin_[1]; + dragged |= dx | dy; + origin_ = p; + event_({ + type: "drag", + x: p[0] + offset[0], + y: p[1] + offset[1], + dx: dx, + dy: dy + }); + } + function ended() { + w.on(move + "." + drag, null).on(end + "." + drag, null); + dragRestore(dragged && d3.event.target === eventTarget); + event_({ + type: "dragend" + }); + } + }; + } + drag.origin = function(x) { + if (!arguments.length) return origin; + origin = x; + return drag; + }; + return d3.rebind(drag, event, "on"); + }; + d3.behavior.zoom = function() { + var translate = [ 0, 0 ], translate0, scale = 1, scaleExtent = d3_behavior_zoomInfinity, mousedown = "mousedown.zoom", mousemove = "mousemove.zoom", mouseup = "mouseup.zoom", event = d3_eventDispatch(zoom, "zoom"), x0, x1, y0, y1, touchtime; + function zoom() { + this.on(mousedown, mousedowned).on(d3_behavior_zoomWheel + ".zoom", mousewheeled).on(mousemove, mousewheelreset).on("dblclick.zoom", dblclicked).on("touchstart.zoom", touchstarted); + } + zoom.translate = function(x) { + if (!arguments.length) return translate; + translate = x.map(Number); + rescale(); + return zoom; + }; + zoom.scale = function(x) { + if (!arguments.length) return scale; + scale = +x; + rescale(); + return zoom; + }; + zoom.scaleExtent = function(x) { + if (!arguments.length) return scaleExtent; + scaleExtent = x == null ? d3_behavior_zoomInfinity : x.map(Number); + return zoom; + }; + zoom.x = function(z) { + if (!arguments.length) return x1; + x1 = z; + x0 = z.copy(); + translate = [ 0, 0 ]; + scale = 1; + return zoom; + }; + zoom.y = function(z) { + if (!arguments.length) return y1; + y1 = z; + y0 = z.copy(); + translate = [ 0, 0 ]; + scale = 1; + return zoom; + }; + function location(p) { + return [ (p[0] - translate[0]) / scale, (p[1] - translate[1]) / scale ]; + } + function point(l) { + return [ l[0] * scale + translate[0], l[1] * scale + translate[1] ]; + } + function scaleTo(s) { + scale = Math.max(scaleExtent[0], Math.min(scaleExtent[1], s)); + } + function translateTo(p, l) { + l = point(l); + translate[0] += p[0] - l[0]; + translate[1] += p[1] - l[1]; + } + function rescale() { + if (x1) x1.domain(x0.range().map(function(x) { + return (x - translate[0]) / scale; + }).map(x0.invert)); + if (y1) y1.domain(y0.range().map(function(y) { + return (y - translate[1]) / scale; + }).map(y0.invert)); + } + function dispatch(event) { + rescale(); + event({ + type: "zoom", + scale: scale, + translate: translate + }); + } + function mousedowned() { + var target = this, event_ = event.of(target, arguments), eventTarget = d3.event.target, dragged = 0, w = d3.select(d3_window).on(mousemove, moved).on(mouseup, ended), l = location(d3.mouse(target)), dragRestore = d3_event_dragSuppress(); + function moved() { + dragged = 1; + translateTo(d3.mouse(target), l); + dispatch(event_); + } + function ended() { + w.on(mousemove, d3_window === target ? mousewheelreset : null).on(mouseup, null); + dragRestore(dragged && d3.event.target === eventTarget); + } + } + function touchstarted() { + var target = this, event_ = event.of(target, arguments), touches = d3.touches(target), locations = {}, distance0 = 0, scale0 = scale, now = Date.now(), name = "zoom-" + d3.event.changedTouches[0].identifier, touchmove = "touchmove." + name, touchend = "touchend." + name, w = d3.select(d3_window).on(touchmove, moved).on(touchend, ended), t = d3.select(target).on(mousedown, null), dragRestore = d3_event_dragSuppress(); + touches.forEach(function(t) { + locations[t.identifier] = location(t); + }); + if (touches.length === 1) { + if (now - touchtime < 500) { + var p = touches[0], l = location(touches[0]); + scaleTo(scale * 2); + translateTo(p, l); + d3_eventPreventDefault(); + dispatch(event_); + } + touchtime = now; + } else if (touches.length > 1) { + var p = touches[0], q = touches[1], dx = p[0] - q[0], dy = p[1] - q[1]; + distance0 = dx * dx + dy * dy; + } + function moved() { + var touches = d3.touches(target), p0 = touches[0], l0 = locations[p0.identifier]; + if (p1 = touches[1]) { + var p1, l1 = locations[p1.identifier], scale1 = d3.event.scale; + if (scale1 == null) { + var distance1 = (distance1 = p1[0] - p0[0]) * distance1 + (distance1 = p1[1] - p0[1]) * distance1; + scale1 = distance0 && Math.sqrt(distance1 / distance0); + } + p0 = [ (p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2 ]; + l0 = [ (l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2 ]; + scaleTo(scale1 * scale0); + } + touchtime = null; + translateTo(p0, l0); + dispatch(event_); + } + function ended() { + w.on(touchmove, null).on(touchend, null); + t.on(mousedown, mousedowned); + dragRestore(); + } + } + function mousewheeled() { + d3_eventPreventDefault(); + if (!translate0) translate0 = location(d3.mouse(this)); + scaleTo(Math.pow(2, d3_behavior_zoomDelta() * .002) * scale); + translateTo(d3.mouse(this), translate0); + dispatch(event.of(this, arguments)); + } + function mousewheelreset() { + translate0 = null; + } + function dblclicked() { + var p = d3.mouse(this), l = location(p), k = Math.log(scale) / Math.LN2; + scaleTo(Math.pow(2, d3.event.shiftKey ? Math.ceil(k) - 1 : Math.floor(k) + 1)); + translateTo(p, l); + dispatch(event.of(this, arguments)); + } + return d3.rebind(zoom, event, "on"); + }; + var d3_behavior_zoomInfinity = [ 0, Infinity ]; + var d3_behavior_zoomDelta, d3_behavior_zoomWheel = "onwheel" in d3_document ? (d3_behavior_zoomDelta = function() { + return -d3.event.deltaY * (d3.event.deltaMode ? 120 : 1); + }, "wheel") : "onmousewheel" in d3_document ? (d3_behavior_zoomDelta = function() { + return d3.event.wheelDelta; + }, "mousewheel") : (d3_behavior_zoomDelta = function() { + return -d3.event.detail; + }, "MozMousePixelScroll"); + function d3_Color() {} + d3_Color.prototype.toString = function() { + return this.rgb() + ""; + }; + d3.hsl = function(h, s, l) { + return arguments.length === 1 ? h instanceof d3_Hsl ? d3_hsl(h.h, h.s, h.l) : d3_rgb_parse("" + h, d3_rgb_hsl, d3_hsl) : d3_hsl(+h, +s, +l); + }; + function d3_hsl(h, s, l) { + return new d3_Hsl(h, s, l); + } + function d3_Hsl(h, s, l) { + this.h = h; + this.s = s; + this.l = l; + } + var d3_hslPrototype = d3_Hsl.prototype = new d3_Color(); + d3_hslPrototype.brighter = function(k) { + k = Math.pow(.7, arguments.length ? k : 1); + return d3_hsl(this.h, this.s, this.l / k); + }; + d3_hslPrototype.darker = function(k) { + k = Math.pow(.7, arguments.length ? k : 1); + return d3_hsl(this.h, this.s, k * this.l); + }; + d3_hslPrototype.rgb = function() { + return d3_hsl_rgb(this.h, this.s, this.l); + }; + function d3_hsl_rgb(h, s, l) { + var m1, m2; + h = isNaN(h) ? 0 : (h %= 360) < 0 ? h + 360 : h; + s = isNaN(s) ? 0 : s < 0 ? 0 : s > 1 ? 1 : s; + l = l < 0 ? 0 : l > 1 ? 1 : l; + m2 = l <= .5 ? l * (1 + s) : l + s - l * s; + m1 = 2 * l - m2; + function v(h) { + if (h > 360) h -= 360; else if (h < 0) h += 360; + if (h < 60) return m1 + (m2 - m1) * h / 60; + if (h < 180) return m2; + if (h < 240) return m1 + (m2 - m1) * (240 - h) / 60; + return m1; + } + function vv(h) { + return Math.round(v(h) * 255); + } + return d3_rgb(vv(h + 120), vv(h), vv(h - 120)); + } + var π = Math.PI, ε = 1e-6, ε2 = ε * ε, d3_radians = π / 180, d3_degrees = 180 / π; + function d3_sgn(x) { + return x > 0 ? 1 : x < 0 ? -1 : 0; + } + function d3_acos(x) { + return x > 1 ? 0 : x < -1 ? π : Math.acos(x); + } + function d3_asin(x) { + return x > 1 ? π / 2 : x < -1 ? -π / 2 : Math.asin(x); + } + function d3_sinh(x) { + return (Math.exp(x) - Math.exp(-x)) / 2; + } + function d3_cosh(x) { + return (Math.exp(x) + Math.exp(-x)) / 2; + } + function d3_haversin(x) { + return (x = Math.sin(x / 2)) * x; + } + d3.hcl = function(h, c, l) { + return arguments.length === 1 ? h instanceof d3_Hcl ? d3_hcl(h.h, h.c, h.l) : h instanceof d3_Lab ? d3_lab_hcl(h.l, h.a, h.b) : d3_lab_hcl((h = d3_rgb_lab((h = d3.rgb(h)).r, h.g, h.b)).l, h.a, h.b) : d3_hcl(+h, +c, +l); + }; + function d3_hcl(h, c, l) { + return new d3_Hcl(h, c, l); + } + function d3_Hcl(h, c, l) { + this.h = h; + this.c = c; + this.l = l; + } + var d3_hclPrototype = d3_Hcl.prototype = new d3_Color(); + d3_hclPrototype.brighter = function(k) { + return d3_hcl(this.h, this.c, Math.min(100, this.l + d3_lab_K * (arguments.length ? k : 1))); + }; + d3_hclPrototype.darker = function(k) { + return d3_hcl(this.h, this.c, Math.max(0, this.l - d3_lab_K * (arguments.length ? k : 1))); + }; + d3_hclPrototype.rgb = function() { + return d3_hcl_lab(this.h, this.c, this.l).rgb(); + }; + function d3_hcl_lab(h, c, l) { + if (isNaN(h)) h = 0; + if (isNaN(c)) c = 0; + return d3_lab(l, Math.cos(h *= d3_radians) * c, Math.sin(h) * c); + } + d3.lab = function(l, a, b) { + return arguments.length === 1 ? l instanceof d3_Lab ? d3_lab(l.l, l.a, l.b) : l instanceof d3_Hcl ? d3_hcl_lab(l.l, l.c, l.h) : d3_rgb_lab((l = d3.rgb(l)).r, l.g, l.b) : d3_lab(+l, +a, +b); + }; + function d3_lab(l, a, b) { + return new d3_Lab(l, a, b); + } + function d3_Lab(l, a, b) { + this.l = l; + this.a = a; + this.b = b; + } + var d3_lab_K = 18; + var d3_lab_X = .95047, d3_lab_Y = 1, d3_lab_Z = 1.08883; + var d3_labPrototype = d3_Lab.prototype = new d3_Color(); + d3_labPrototype.brighter = function(k) { + return d3_lab(Math.min(100, this.l + d3_lab_K * (arguments.length ? k : 1)), this.a, this.b); + }; + d3_labPrototype.darker = function(k) { + return d3_lab(Math.max(0, this.l - d3_lab_K * (arguments.length ? k : 1)), this.a, this.b); + }; + d3_labPrototype.rgb = function() { + return d3_lab_rgb(this.l, this.a, this.b); + }; + function d3_lab_rgb(l, a, b) { + var y = (l + 16) / 116, x = y + a / 500, z = y - b / 200; + x = d3_lab_xyz(x) * d3_lab_X; + y = d3_lab_xyz(y) * d3_lab_Y; + z = d3_lab_xyz(z) * d3_lab_Z; + return d3_rgb(d3_xyz_rgb(3.2404542 * x - 1.5371385 * y - .4985314 * z), d3_xyz_rgb(-.969266 * x + 1.8760108 * y + .041556 * z), d3_xyz_rgb(.0556434 * x - .2040259 * y + 1.0572252 * z)); + } + function d3_lab_hcl(l, a, b) { + return l > 0 ? d3_hcl(Math.atan2(b, a) * d3_degrees, Math.sqrt(a * a + b * b), l) : d3_hcl(NaN, NaN, l); + } + function d3_lab_xyz(x) { + return x > .206893034 ? x * x * x : (x - 4 / 29) / 7.787037; + } + function d3_xyz_lab(x) { + return x > .008856 ? Math.pow(x, 1 / 3) : 7.787037 * x + 4 / 29; + } + function d3_xyz_rgb(r) { + return Math.round(255 * (r <= .00304 ? 12.92 * r : 1.055 * Math.pow(r, 1 / 2.4) - .055)); + } + d3.rgb = function(r, g, b) { + return arguments.length === 1 ? r instanceof d3_Rgb ? d3_rgb(r.r, r.g, r.b) : d3_rgb_parse("" + r, d3_rgb, d3_hsl_rgb) : d3_rgb(~~r, ~~g, ~~b); + }; + function d3_rgbNumber(value) { + return d3_rgb(value >> 16, value >> 8 & 255, value & 255); + } + function d3_rgbString(value) { + return d3_rgbNumber(value) + ""; + } + function d3_rgb(r, g, b) { + return new d3_Rgb(r, g, b); + } + function d3_Rgb(r, g, b) { + this.r = r; + this.g = g; + this.b = b; + } + var d3_rgbPrototype = d3_Rgb.prototype = new d3_Color(); + d3_rgbPrototype.brighter = function(k) { + k = Math.pow(.7, arguments.length ? k : 1); + var r = this.r, g = this.g, b = this.b, i = 30; + if (!r && !g && !b) return d3_rgb(i, i, i); + if (r && r < i) r = i; + if (g && g < i) g = i; + if (b && b < i) b = i; + return d3_rgb(Math.min(255, ~~(r / k)), Math.min(255, ~~(g / k)), Math.min(255, ~~(b / k))); + }; + d3_rgbPrototype.darker = function(k) { + k = Math.pow(.7, arguments.length ? k : 1); + return d3_rgb(~~(k * this.r), ~~(k * this.g), ~~(k * this.b)); + }; + d3_rgbPrototype.hsl = function() { + return d3_rgb_hsl(this.r, this.g, this.b); + }; + d3_rgbPrototype.toString = function() { + return "#" + d3_rgb_hex(this.r) + d3_rgb_hex(this.g) + d3_rgb_hex(this.b); + }; + function d3_rgb_hex(v) { + return v < 16 ? "0" + Math.max(0, v).toString(16) : Math.min(255, v).toString(16); + } + function d3_rgb_parse(format, rgb, hsl) { + var r = 0, g = 0, b = 0, m1, m2, name; + m1 = /([a-z]+)\((.*)\)/i.exec(format); + if (m1) { + m2 = m1[2].split(","); + switch (m1[1]) { + case "hsl": + { + return hsl(parseFloat(m2[0]), parseFloat(m2[1]) / 100, parseFloat(m2[2]) / 100); + } + + case "rgb": + { + return rgb(d3_rgb_parseNumber(m2[0]), d3_rgb_parseNumber(m2[1]), d3_rgb_parseNumber(m2[2])); + } + } + } + if (name = d3_rgb_names.get(format)) return rgb(name.r, name.g, name.b); + if (format != null && format.charAt(0) === "#") { + if (format.length === 4) { + r = format.charAt(1); + r += r; + g = format.charAt(2); + g += g; + b = format.charAt(3); + b += b; + } else if (format.length === 7) { + r = format.substring(1, 3); + g = format.substring(3, 5); + b = format.substring(5, 7); + } + r = parseInt(r, 16); + g = parseInt(g, 16); + b = parseInt(b, 16); + } + return rgb(r, g, b); + } + function d3_rgb_hsl(r, g, b) { + var min = Math.min(r /= 255, g /= 255, b /= 255), max = Math.max(r, g, b), d = max - min, h, s, l = (max + min) / 2; + if (d) { + s = l < .5 ? d / (max + min) : d / (2 - max - min); + if (r == max) h = (g - b) / d + (g < b ? 6 : 0); else if (g == max) h = (b - r) / d + 2; else h = (r - g) / d + 4; + h *= 60; + } else { + h = NaN; + s = l > 0 && l < 1 ? 0 : h; + } + return d3_hsl(h, s, l); + } + function d3_rgb_lab(r, g, b) { + r = d3_rgb_xyz(r); + g = d3_rgb_xyz(g); + b = d3_rgb_xyz(b); + var x = d3_xyz_lab((.4124564 * r + .3575761 * g + .1804375 * b) / d3_lab_X), y = d3_xyz_lab((.2126729 * r + .7151522 * g + .072175 * b) / d3_lab_Y), z = d3_xyz_lab((.0193339 * r + .119192 * g + .9503041 * b) / d3_lab_Z); + return d3_lab(116 * y - 16, 500 * (x - y), 200 * (y - z)); + } + function d3_rgb_xyz(r) { + return (r /= 255) <= .04045 ? r / 12.92 : Math.pow((r + .055) / 1.055, 2.4); + } + function d3_rgb_parseNumber(c) { + var f = parseFloat(c); + return c.charAt(c.length - 1) === "%" ? Math.round(f * 2.55) : f; + } + var d3_rgb_names = d3.map({ + aliceblue: 15792383, + antiquewhite: 16444375, + aqua: 65535, + aquamarine: 8388564, + azure: 15794175, + beige: 16119260, + bisque: 16770244, + black: 0, + blanchedalmond: 16772045, + blue: 255, + blueviolet: 9055202, + brown: 10824234, + burlywood: 14596231, + cadetblue: 6266528, + chartreuse: 8388352, + chocolate: 13789470, + coral: 16744272, + cornflowerblue: 6591981, + cornsilk: 16775388, + crimson: 14423100, + cyan: 65535, + darkblue: 139, + darkcyan: 35723, + darkgoldenrod: 12092939, + darkgray: 11119017, + darkgreen: 25600, + darkgrey: 11119017, + darkkhaki: 12433259, + darkmagenta: 9109643, + darkolivegreen: 5597999, + darkorange: 16747520, + darkorchid: 10040012, + darkred: 9109504, + darksalmon: 15308410, + darkseagreen: 9419919, + darkslateblue: 4734347, + darkslategray: 3100495, + darkslategrey: 3100495, + darkturquoise: 52945, + darkviolet: 9699539, + deeppink: 16716947, + deepskyblue: 49151, + dimgray: 6908265, + dimgrey: 6908265, + dodgerblue: 2003199, + firebrick: 11674146, + floralwhite: 16775920, + forestgreen: 2263842, + fuchsia: 16711935, + gainsboro: 14474460, + ghostwhite: 16316671, + gold: 16766720, + goldenrod: 14329120, + gray: 8421504, + green: 32768, + greenyellow: 11403055, + grey: 8421504, + honeydew: 15794160, + hotpink: 16738740, + indianred: 13458524, + indigo: 4915330, + ivory: 16777200, + khaki: 15787660, + lavender: 15132410, + lavenderblush: 16773365, + lawngreen: 8190976, + lemonchiffon: 16775885, + lightblue: 11393254, + lightcoral: 15761536, + lightcyan: 14745599, + lightgoldenrodyellow: 16448210, + lightgray: 13882323, + lightgreen: 9498256, + lightgrey: 13882323, + lightpink: 16758465, + lightsalmon: 16752762, + lightseagreen: 2142890, + lightskyblue: 8900346, + lightslategray: 7833753, + lightslategrey: 7833753, + lightsteelblue: 11584734, + lightyellow: 16777184, + lime: 65280, + limegreen: 3329330, + linen: 16445670, + magenta: 16711935, + maroon: 8388608, + mediumaquamarine: 6737322, + mediumblue: 205, + mediumorchid: 12211667, + mediumpurple: 9662683, + mediumseagreen: 3978097, + mediumslateblue: 8087790, + mediumspringgreen: 64154, + mediumturquoise: 4772300, + mediumvioletred: 13047173, + midnightblue: 1644912, + mintcream: 16121850, + mistyrose: 16770273, + moccasin: 16770229, + navajowhite: 16768685, + navy: 128, + oldlace: 16643558, + olive: 8421376, + olivedrab: 7048739, + orange: 16753920, + orangered: 16729344, + orchid: 14315734, + palegoldenrod: 15657130, + palegreen: 10025880, + paleturquoise: 11529966, + palevioletred: 14381203, + papayawhip: 16773077, + peachpuff: 16767673, + peru: 13468991, + pink: 16761035, + plum: 14524637, + powderblue: 11591910, + purple: 8388736, + red: 16711680, + rosybrown: 12357519, + royalblue: 4286945, + saddlebrown: 9127187, + salmon: 16416882, + sandybrown: 16032864, + seagreen: 3050327, + seashell: 16774638, + sienna: 10506797, + silver: 12632256, + skyblue: 8900331, + slateblue: 6970061, + slategray: 7372944, + slategrey: 7372944, + snow: 16775930, + springgreen: 65407, + steelblue: 4620980, + tan: 13808780, + teal: 32896, + thistle: 14204888, + tomato: 16737095, + turquoise: 4251856, + violet: 15631086, + wheat: 16113331, + white: 16777215, + whitesmoke: 16119285, + yellow: 16776960, + yellowgreen: 10145074 + }); + d3_rgb_names.forEach(function(key, value) { + d3_rgb_names.set(key, d3_rgbNumber(value)); + }); + function d3_functor(v) { + return typeof v === "function" ? v : function() { + return v; + }; + } + d3.functor = d3_functor; + function d3_identity(d) { + return d; + } + d3.xhr = d3_xhrType(d3_identity); + function d3_xhrType(response) { + return function(url, mimeType, callback) { + if (arguments.length === 2 && typeof mimeType === "function") callback = mimeType, + mimeType = null; + return d3_xhr(url, mimeType, response, callback); + }; + } + function d3_xhr(url, mimeType, response, callback) { + var xhr = {}, dispatch = d3.dispatch("progress", "load", "error"), headers = {}, request = new XMLHttpRequest(), responseType = null; + if (d3_window.XDomainRequest && !("withCredentials" in request) && /^(http(s)?:)?\/\//.test(url)) request = new XDomainRequest(); + "onload" in request ? request.onload = request.onerror = respond : request.onreadystatechange = function() { + request.readyState > 3 && respond(); + }; + function respond() { + var status = request.status, result; + if (!status && request.responseText || status >= 200 && status < 300 || status === 304) { + try { + result = response.call(xhr, request); + } catch (e) { + dispatch.error.call(xhr, e); + return; + } + dispatch.load.call(xhr, result); + } else { + dispatch.error.call(xhr, request); + } + } + request.onprogress = function(event) { + var o = d3.event; + d3.event = event; + try { + dispatch.progress.call(xhr, request); + } finally { + d3.event = o; + } + }; + xhr.header = function(name, value) { + name = (name + "").toLowerCase(); + if (arguments.length < 2) return headers[name]; + if (value == null) delete headers[name]; else headers[name] = value + ""; + return xhr; + }; + xhr.mimeType = function(value) { + if (!arguments.length) return mimeType; + mimeType = value == null ? null : value + ""; + return xhr; + }; + xhr.responseType = function(value) { + if (!arguments.length) return responseType; + responseType = value; + return xhr; + }; + xhr.response = function(value) { + response = value; + return xhr; + }; + [ "get", "post" ].forEach(function(method) { + xhr[method] = function() { + return xhr.send.apply(xhr, [ method ].concat(d3_array(arguments))); + }; + }); + xhr.send = function(method, data, callback) { + if (arguments.length === 2 && typeof data === "function") callback = data, data = null; + request.open(method, url, true); + if (mimeType != null && !("accept" in headers)) headers["accept"] = mimeType + ",*/*"; + if (request.setRequestHeader) for (var name in headers) request.setRequestHeader(name, headers[name]); + if (mimeType != null && request.overrideMimeType) request.overrideMimeType(mimeType); + if (responseType != null) request.responseType = responseType; + if (callback != null) xhr.on("error", callback).on("load", function(request) { + callback(null, request); + }); + request.send(data == null ? null : data); + return xhr; + }; + xhr.abort = function() { + request.abort(); + return xhr; + }; + d3.rebind(xhr, dispatch, "on"); + return callback == null ? xhr : xhr.get(d3_xhr_fixCallback(callback)); + } + function d3_xhr_fixCallback(callback) { + return callback.length === 1 ? function(error, request) { + callback(error == null ? request : null); + } : callback; + } + d3.dsv = function(delimiter, mimeType) { + var reFormat = new RegExp('["' + delimiter + "\n]"), delimiterCode = delimiter.charCodeAt(0); + function dsv(url, row, callback) { + if (arguments.length < 3) callback = row, row = null; + var xhr = d3.xhr(url, mimeType, callback); + xhr.row = function(_) { + return arguments.length ? xhr.response((row = _) == null ? response : typedResponse(_)) : row; + }; + return xhr.row(row); + } + function response(request) { + return dsv.parse(request.responseText); + } + function typedResponse(f) { + return function(request) { + return dsv.parse(request.responseText, f); + }; + } + dsv.parse = function(text, f) { + var o; + return dsv.parseRows(text, function(row, i) { + if (o) return o(row, i - 1); + var a = new Function("d", "return {" + row.map(function(name, i) { + return JSON.stringify(name) + ": d[" + i + "]"; + }).join(",") + "}"); + o = f ? function(row, i) { + return f(a(row), i); + } : a; + }); + }; + dsv.parseRows = function(text, f) { + var EOL = {}, EOF = {}, rows = [], N = text.length, I = 0, n = 0, t, eol; + function token() { + if (I >= N) return EOF; + if (eol) return eol = false, EOL; + var j = I; + if (text.charCodeAt(j) === 34) { + var i = j; + while (i++ < N) { + if (text.charCodeAt(i) === 34) { + if (text.charCodeAt(i + 1) !== 34) break; + ++i; + } + } + I = i + 2; + var c = text.charCodeAt(i + 1); + if (c === 13) { + eol = true; + if (text.charCodeAt(i + 2) === 10) ++I; + } else if (c === 10) { + eol = true; + } + return text.substring(j + 1, i).replace(/""/g, '"'); + } + while (I < N) { + var c = text.charCodeAt(I++), k = 1; + if (c === 10) eol = true; else if (c === 13) { + eol = true; + if (text.charCodeAt(I) === 10) ++I, ++k; + } else if (c !== delimiterCode) continue; + return text.substring(j, I - k); + } + return text.substring(j); + } + while ((t = token()) !== EOF) { + var a = []; + while (t !== EOL && t !== EOF) { + a.push(t); + t = token(); + } + if (f && !(a = f(a, n++))) continue; + rows.push(a); + } + return rows; + }; + dsv.format = function(rows) { + if (Array.isArray(rows[0])) return dsv.formatRows(rows); + var fieldSet = new d3_Set(), fields = []; + rows.forEach(function(row) { + for (var field in row) { + if (!fieldSet.has(field)) { + fields.push(fieldSet.add(field)); + } + } + }); + return [ fields.map(formatValue).join(delimiter) ].concat(rows.map(function(row) { + return fields.map(function(field) { + return formatValue(row[field]); + }).join(delimiter); + })).join("\n"); + }; + dsv.formatRows = function(rows) { + return rows.map(formatRow).join("\n"); + }; + function formatRow(row) { + return row.map(formatValue).join(delimiter); + } + function formatValue(text) { + return reFormat.test(text) ? '"' + text.replace(/\"/g, '""') + '"' : text; + } + return dsv; + }; + d3.csv = d3.dsv(",", "text/csv"); + d3.tsv = d3.dsv(" ", "text/tab-separated-values"); + var d3_timer_queueHead, d3_timer_queueTail, d3_timer_interval, d3_timer_timeout, d3_timer_active, d3_timer_frame = d3_window[d3_vendorSymbol(d3_window, "requestAnimationFrame")] || function(callback) { + setTimeout(callback, 17); + }; + d3.timer = function(callback, delay, then) { + var n = arguments.length; + if (n < 2) delay = 0; + if (n < 3) then = Date.now(); + var time = then + delay, timer = { + callback: callback, + time: time, + next: null + }; + if (d3_timer_queueTail) d3_timer_queueTail.next = timer; else d3_timer_queueHead = timer; + d3_timer_queueTail = timer; + if (!d3_timer_interval) { + d3_timer_timeout = clearTimeout(d3_timer_timeout); + d3_timer_interval = 1; + d3_timer_frame(d3_timer_step); + } + }; + function d3_timer_step() { + var now = d3_timer_mark(), delay = d3_timer_sweep() - now; + if (delay > 24) { + if (isFinite(delay)) { + clearTimeout(d3_timer_timeout); + d3_timer_timeout = setTimeout(d3_timer_step, delay); + } + d3_timer_interval = 0; + } else { + d3_timer_interval = 1; + d3_timer_frame(d3_timer_step); + } + } + d3.timer.flush = function() { + d3_timer_mark(); + d3_timer_sweep(); + }; + function d3_timer_replace(callback, delay, then) { + var n = arguments.length; + if (n < 2) delay = 0; + if (n < 3) then = Date.now(); + d3_timer_active.callback = callback; + d3_timer_active.time = then + delay; + } + function d3_timer_mark() { + var now = Date.now(); + d3_timer_active = d3_timer_queueHead; + while (d3_timer_active) { + if (now >= d3_timer_active.time) d3_timer_active.flush = d3_timer_active.callback(now - d3_timer_active.time); + d3_timer_active = d3_timer_active.next; + } + return now; + } + function d3_timer_sweep() { + var t0, t1 = d3_timer_queueHead, time = Infinity; + while (t1) { + if (t1.flush) { + t1 = t0 ? t0.next = t1.next : d3_timer_queueHead = t1.next; + } else { + if (t1.time < time) time = t1.time; + t1 = (t0 = t1).next; + } + } + d3_timer_queueTail = t0; + return time; + } + var d3_format_decimalPoint = ".", d3_format_thousandsSeparator = ",", d3_format_grouping = [ 3, 3 ], d3_format_currencySymbol = "$"; + var d3_formatPrefixes = [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y" ].map(d3_formatPrefix); + d3.formatPrefix = function(value, precision) { + var i = 0; + if (value) { + if (value < 0) value *= -1; + if (precision) value = d3.round(value, d3_format_precision(value, precision)); + i = 1 + Math.floor(1e-12 + Math.log(value) / Math.LN10); + i = Math.max(-24, Math.min(24, Math.floor((i <= 0 ? i + 1 : i - 1) / 3) * 3)); + } + return d3_formatPrefixes[8 + i / 3]; + }; + function d3_formatPrefix(d, i) { + var k = Math.pow(10, Math.abs(8 - i) * 3); + return { + scale: i > 8 ? function(d) { + return d / k; + } : function(d) { + return d * k; + }, + symbol: d + }; + } + d3.round = function(x, n) { + return n ? Math.round(x * (n = Math.pow(10, n))) / n : Math.round(x); + }; + d3.format = function(specifier) { + var match = d3_format_re.exec(specifier), fill = match[1] || " ", align = match[2] || ">", sign = match[3] || "", symbol = match[4] || "", zfill = match[5], width = +match[6], comma = match[7], precision = match[8], type = match[9], scale = 1, suffix = "", integer = false; + if (precision) precision = +precision.substring(1); + if (zfill || fill === "0" && align === "=") { + zfill = fill = "0"; + align = "="; + if (comma) width -= Math.floor((width - 1) / 4); + } + switch (type) { + case "n": + comma = true; + type = "g"; + break; + + case "%": + scale = 100; + suffix = "%"; + type = "f"; + break; + + case "p": + scale = 100; + suffix = "%"; + type = "r"; + break; + + case "b": + case "o": + case "x": + case "X": + if (symbol === "#") symbol = "0" + type.toLowerCase(); + + case "c": + case "d": + integer = true; + precision = 0; + break; + + case "s": + scale = -1; + type = "r"; + break; + } + if (symbol === "#") symbol = ""; else if (symbol === "$") symbol = d3_format_currencySymbol; + if (type == "r" && !precision) type = "g"; + if (precision != null) { + if (type == "g") precision = Math.max(1, Math.min(21, precision)); else if (type == "e" || type == "f") precision = Math.max(0, Math.min(20, precision)); + } + type = d3_format_types.get(type) || d3_format_typeDefault; + var zcomma = zfill && comma; + return function(value) { + if (integer && value % 1) return ""; + var negative = value < 0 || value === 0 && 1 / value < 0 ? (value = -value, "-") : sign; + if (scale < 0) { + var prefix = d3.formatPrefix(value, precision); + value = prefix.scale(value); + suffix = prefix.symbol; + } else { + value *= scale; + } + value = type(value, precision); + var i = value.lastIndexOf("."), before = i < 0 ? value : value.substring(0, i), after = i < 0 ? "" : d3_format_decimalPoint + value.substring(i + 1); + if (!zfill && comma) before = d3_format_group(before); + var length = symbol.length + before.length + after.length + (zcomma ? 0 : negative.length), padding = length < width ? new Array(length = width - length + 1).join(fill) : ""; + if (zcomma) before = d3_format_group(padding + before); + negative += symbol; + value = before + after; + return (align === "<" ? negative + value + padding : align === ">" ? padding + negative + value : align === "^" ? padding.substring(0, length >>= 1) + negative + value + padding.substring(length) : negative + (zcomma ? value : padding + value)) + suffix; + }; + }; + var d3_format_re = /(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i; + var d3_format_types = d3.map({ + b: function(x) { + return x.toString(2); + }, + c: function(x) { + return String.fromCharCode(x); + }, + o: function(x) { + return x.toString(8); + }, + x: function(x) { + return x.toString(16); + }, + X: function(x) { + return x.toString(16).toUpperCase(); + }, + g: function(x, p) { + return x.toPrecision(p); + }, + e: function(x, p) { + return x.toExponential(p); + }, + f: function(x, p) { + return x.toFixed(p); + }, + r: function(x, p) { + return (x = d3.round(x, d3_format_precision(x, p))).toFixed(Math.max(0, Math.min(20, d3_format_precision(x * (1 + 1e-15), p)))); + } + }); + function d3_format_precision(x, p) { + return p - (x ? Math.ceil(Math.log(x) / Math.LN10) : 1); + } + function d3_format_typeDefault(x) { + return x + ""; + } + var d3_format_group = d3_identity; + if (d3_format_grouping) { + var d3_format_groupingLength = d3_format_grouping.length; + d3_format_group = function(value) { + var i = value.length, t = [], j = 0, g = d3_format_grouping[0]; + while (i > 0 && g > 0) { + t.push(value.substring(i -= g, i + g)); + g = d3_format_grouping[j = (j + 1) % d3_format_groupingLength]; + } + return t.reverse().join(d3_format_thousandsSeparator); + }; + } + d3.geo = {}; + function d3_adder() {} + d3_adder.prototype = { + s: 0, + t: 0, + add: function(y) { + d3_adderSum(y, this.t, d3_adderTemp); + d3_adderSum(d3_adderTemp.s, this.s, this); + if (this.s) this.t += d3_adderTemp.t; else this.s = d3_adderTemp.t; + }, + reset: function() { + this.s = this.t = 0; + }, + valueOf: function() { + return this.s; + } + }; + var d3_adderTemp = new d3_adder(); + function d3_adderSum(a, b, o) { + var x = o.s = a + b, bv = x - a, av = x - bv; + o.t = a - av + (b - bv); + } + d3.geo.stream = function(object, listener) { + if (object && d3_geo_streamObjectType.hasOwnProperty(object.type)) { + d3_geo_streamObjectType[object.type](object, listener); + } else { + d3_geo_streamGeometry(object, listener); + } + }; + function d3_geo_streamGeometry(geometry, listener) { + if (geometry && d3_geo_streamGeometryType.hasOwnProperty(geometry.type)) { + d3_geo_streamGeometryType[geometry.type](geometry, listener); + } + } + var d3_geo_streamObjectType = { + Feature: function(feature, listener) { + d3_geo_streamGeometry(feature.geometry, listener); + }, + FeatureCollection: function(object, listener) { + var features = object.features, i = -1, n = features.length; + while (++i < n) d3_geo_streamGeometry(features[i].geometry, listener); + } + }; + var d3_geo_streamGeometryType = { + Sphere: function(object, listener) { + listener.sphere(); + }, + Point: function(object, listener) { + var coordinate = object.coordinates; + listener.point(coordinate[0], coordinate[1]); + }, + MultiPoint: function(object, listener) { + var coordinates = object.coordinates, i = -1, n = coordinates.length, coordinate; + while (++i < n) coordinate = coordinates[i], listener.point(coordinate[0], coordinate[1]); + }, + LineString: function(object, listener) { + d3_geo_streamLine(object.coordinates, listener, 0); + }, + MultiLineString: function(object, listener) { + var coordinates = object.coordinates, i = -1, n = coordinates.length; + while (++i < n) d3_geo_streamLine(coordinates[i], listener, 0); + }, + Polygon: function(object, listener) { + d3_geo_streamPolygon(object.coordinates, listener); + }, + MultiPolygon: function(object, listener) { + var coordinates = object.coordinates, i = -1, n = coordinates.length; + while (++i < n) d3_geo_streamPolygon(coordinates[i], listener); + }, + GeometryCollection: function(object, listener) { + var geometries = object.geometries, i = -1, n = geometries.length; + while (++i < n) d3_geo_streamGeometry(geometries[i], listener); + } + }; + function d3_geo_streamLine(coordinates, listener, closed) { + var i = -1, n = coordinates.length - closed, coordinate; + listener.lineStart(); + while (++i < n) coordinate = coordinates[i], listener.point(coordinate[0], coordinate[1]); + listener.lineEnd(); + } + function d3_geo_streamPolygon(coordinates, listener) { + var i = -1, n = coordinates.length; + listener.polygonStart(); + while (++i < n) d3_geo_streamLine(coordinates[i], listener, 1); + listener.polygonEnd(); + } + d3.geo.area = function(object) { + d3_geo_areaSum = 0; + d3.geo.stream(object, d3_geo_area); + return d3_geo_areaSum; + }; + var d3_geo_areaSum, d3_geo_areaRingSum = new d3_adder(); + var d3_geo_area = { + sphere: function() { + d3_geo_areaSum += 4 * π; + }, + point: d3_noop, + lineStart: d3_noop, + lineEnd: d3_noop, + polygonStart: function() { + d3_geo_areaRingSum.reset(); + d3_geo_area.lineStart = d3_geo_areaRingStart; + }, + polygonEnd: function() { + var area = 2 * d3_geo_areaRingSum; + d3_geo_areaSum += area < 0 ? 4 * π + area : area; + d3_geo_area.lineStart = d3_geo_area.lineEnd = d3_geo_area.point = d3_noop; + } + }; + function d3_geo_areaRingStart() { + var λ00, φ00, λ0, cosφ0, sinφ0; + d3_geo_area.point = function(λ, φ) { + d3_geo_area.point = nextPoint; + λ0 = (λ00 = λ) * d3_radians, cosφ0 = Math.cos(φ = (φ00 = φ) * d3_radians / 2 + π / 4), + sinφ0 = Math.sin(φ); + }; + function nextPoint(λ, φ) { + λ *= d3_radians; + φ = φ * d3_radians / 2 + π / 4; + var dλ = λ - λ0, cosφ = Math.cos(φ), sinφ = Math.sin(φ), k = sinφ0 * sinφ, u = cosφ0 * cosφ + k * Math.cos(dλ), v = k * Math.sin(dλ); + d3_geo_areaRingSum.add(Math.atan2(v, u)); + λ0 = λ, cosφ0 = cosφ, sinφ0 = sinφ; + } + d3_geo_area.lineEnd = function() { + nextPoint(λ00, φ00); + }; + } + function d3_geo_cartesian(spherical) { + var λ = spherical[0], φ = spherical[1], cosφ = Math.cos(φ); + return [ cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ) ]; + } + function d3_geo_cartesianDot(a, b) { + return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; + } + function d3_geo_cartesianCross(a, b) { + return [ a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0] ]; + } + function d3_geo_cartesianAdd(a, b) { + a[0] += b[0]; + a[1] += b[1]; + a[2] += b[2]; + } + function d3_geo_cartesianScale(vector, k) { + return [ vector[0] * k, vector[1] * k, vector[2] * k ]; + } + function d3_geo_cartesianNormalize(d) { + var l = Math.sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]); + d[0] /= l; + d[1] /= l; + d[2] /= l; + } + function d3_geo_spherical(cartesian) { + return [ Math.atan2(cartesian[1], cartesian[0]), d3_asin(cartesian[2]) ]; + } + function d3_geo_sphericalEqual(a, b) { + return Math.abs(a[0] - b[0]) < ε && Math.abs(a[1] - b[1]) < ε; + } + d3.geo.bounds = function() { + var λ0, φ0, λ1, φ1, λ_, λ__, φ__, p0, dλSum, ranges, range; + var bound = { + point: point, + lineStart: lineStart, + lineEnd: lineEnd, + polygonStart: function() { + bound.point = ringPoint; + bound.lineStart = ringStart; + bound.lineEnd = ringEnd; + dλSum = 0; + d3_geo_area.polygonStart(); + }, + polygonEnd: function() { + d3_geo_area.polygonEnd(); + bound.point = point; + bound.lineStart = lineStart; + bound.lineEnd = lineEnd; + if (d3_geo_areaRingSum < 0) λ0 = -(λ1 = 180), φ0 = -(φ1 = 90); else if (dλSum > ε) φ1 = 90; else if (dλSum < -ε) φ0 = -90; + range[0] = λ0, range[1] = λ1; + } + }; + function point(λ, φ) { + ranges.push(range = [ λ0 = λ, λ1 = λ ]); + if (φ < φ0) φ0 = φ; + if (φ > φ1) φ1 = φ; + } + function linePoint(λ, φ) { + var p = d3_geo_cartesian([ λ * d3_radians, φ * d3_radians ]); + if (p0) { + var normal = d3_geo_cartesianCross(p0, p), equatorial = [ normal[1], -normal[0], 0 ], inflection = d3_geo_cartesianCross(equatorial, normal); + d3_geo_cartesianNormalize(inflection); + inflection = d3_geo_spherical(inflection); + var dλ = λ - λ_, s = dλ > 0 ? 1 : -1, λi = inflection[0] * d3_degrees * s, antimeridian = Math.abs(dλ) > 180; + if (antimeridian ^ (s * λ_ < λi && λi < s * λ)) { + var φi = inflection[1] * d3_degrees; + if (φi > φ1) φ1 = φi; + } else if (λi = (λi + 360) % 360 - 180, antimeridian ^ (s * λ_ < λi && λi < s * λ)) { + var φi = -inflection[1] * d3_degrees; + if (φi < φ0) φ0 = φi; + } else { + if (φ < φ0) φ0 = φ; + if (φ > φ1) φ1 = φ; + } + if (antimeridian) { + if (λ < λ_) { + if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ; + } else { + if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ; + } + } else { + if (λ1 >= λ0) { + if (λ < λ0) λ0 = λ; + if (λ > λ1) λ1 = λ; + } else { + if (λ > λ_) { + if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ; + } else { + if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ; + } + } + } + } else { + point(λ, φ); + } + p0 = p, λ_ = λ; + } + function lineStart() { + bound.point = linePoint; + } + function lineEnd() { + range[0] = λ0, range[1] = λ1; + bound.point = point; + p0 = null; + } + function ringPoint(λ, φ) { + if (p0) { + var dλ = λ - λ_; + dλSum += Math.abs(dλ) > 180 ? dλ + (dλ > 0 ? 360 : -360) : dλ; + } else λ__ = λ, φ__ = φ; + d3_geo_area.point(λ, φ); + linePoint(λ, φ); + } + function ringStart() { + d3_geo_area.lineStart(); + } + function ringEnd() { + ringPoint(λ__, φ__); + d3_geo_area.lineEnd(); + if (Math.abs(dλSum) > ε) λ0 = -(λ1 = 180); + range[0] = λ0, range[1] = λ1; + p0 = null; + } + function angle(λ0, λ1) { + return (λ1 -= λ0) < 0 ? λ1 + 360 : λ1; + } + function compareRanges(a, b) { + return a[0] - b[0]; + } + function withinRange(x, range) { + return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x; + } + return function(feature) { + φ1 = λ1 = -(λ0 = φ0 = Infinity); + ranges = []; + d3.geo.stream(feature, bound); + var n = ranges.length; + if (n) { + ranges.sort(compareRanges); + for (var i = 1, a = ranges[0], b, merged = [ a ]; i < n; ++i) { + b = ranges[i]; + if (withinRange(b[0], a) || withinRange(b[1], a)) { + if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1]; + if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0]; + } else { + merged.push(a = b); + } + } + var best = -Infinity, dλ; + for (var n = merged.length - 1, i = 0, a = merged[n], b; i <= n; a = b, ++i) { + b = merged[i]; + if ((dλ = angle(a[1], b[0])) > best) best = dλ, λ0 = b[0], λ1 = a[1]; + } + } + ranges = range = null; + return λ0 === Infinity || φ0 === Infinity ? [ [ NaN, NaN ], [ NaN, NaN ] ] : [ [ λ0, φ0 ], [ λ1, φ1 ] ]; + }; + }(); + d3.geo.centroid = function(object) { + d3_geo_centroidW0 = d3_geo_centroidW1 = d3_geo_centroidX0 = d3_geo_centroidY0 = d3_geo_centroidZ0 = d3_geo_centroidX1 = d3_geo_centroidY1 = d3_geo_centroidZ1 = d3_geo_centroidX2 = d3_geo_centroidY2 = d3_geo_centroidZ2 = 0; + d3.geo.stream(object, d3_geo_centroid); + var x = d3_geo_centroidX2, y = d3_geo_centroidY2, z = d3_geo_centroidZ2, m = x * x + y * y + z * z; + if (m < ε2) { + x = d3_geo_centroidX1, y = d3_geo_centroidY1, z = d3_geo_centroidZ1; + if (d3_geo_centroidW1 < ε) x = d3_geo_centroidX0, y = d3_geo_centroidY0, z = d3_geo_centroidZ0; + m = x * x + y * y + z * z; + if (m < ε2) return [ NaN, NaN ]; + } + return [ Math.atan2(y, x) * d3_degrees, d3_asin(z / Math.sqrt(m)) * d3_degrees ]; + }; + var d3_geo_centroidW0, d3_geo_centroidW1, d3_geo_centroidX0, d3_geo_centroidY0, d3_geo_centroidZ0, d3_geo_centroidX1, d3_geo_centroidY1, d3_geo_centroidZ1, d3_geo_centroidX2, d3_geo_centroidY2, d3_geo_centroidZ2; + var d3_geo_centroid = { + sphere: d3_noop, + point: d3_geo_centroidPoint, + lineStart: d3_geo_centroidLineStart, + lineEnd: d3_geo_centroidLineEnd, + polygonStart: function() { + d3_geo_centroid.lineStart = d3_geo_centroidRingStart; + }, + polygonEnd: function() { + d3_geo_centroid.lineStart = d3_geo_centroidLineStart; + } + }; + function d3_geo_centroidPoint(λ, φ) { + λ *= d3_radians; + var cosφ = Math.cos(φ *= d3_radians); + d3_geo_centroidPointXYZ(cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ)); + } + function d3_geo_centroidPointXYZ(x, y, z) { + ++d3_geo_centroidW0; + d3_geo_centroidX0 += (x - d3_geo_centroidX0) / d3_geo_centroidW0; + d3_geo_centroidY0 += (y - d3_geo_centroidY0) / d3_geo_centroidW0; + d3_geo_centroidZ0 += (z - d3_geo_centroidZ0) / d3_geo_centroidW0; + } + function d3_geo_centroidLineStart() { + var x0, y0, z0; + d3_geo_centroid.point = function(λ, φ) { + λ *= d3_radians; + var cosφ = Math.cos(φ *= d3_radians); + x0 = cosφ * Math.cos(λ); + y0 = cosφ * Math.sin(λ); + z0 = Math.sin(φ); + d3_geo_centroid.point = nextPoint; + d3_geo_centroidPointXYZ(x0, y0, z0); + }; + function nextPoint(λ, φ) { + λ *= d3_radians; + var cosφ = Math.cos(φ *= d3_radians), x = cosφ * Math.cos(λ), y = cosφ * Math.sin(λ), z = Math.sin(φ), w = Math.atan2(Math.sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z); + d3_geo_centroidW1 += w; + d3_geo_centroidX1 += w * (x0 + (x0 = x)); + d3_geo_centroidY1 += w * (y0 + (y0 = y)); + d3_geo_centroidZ1 += w * (z0 + (z0 = z)); + d3_geo_centroidPointXYZ(x0, y0, z0); + } + } + function d3_geo_centroidLineEnd() { + d3_geo_centroid.point = d3_geo_centroidPoint; + } + function d3_geo_centroidRingStart() { + var λ00, φ00, x0, y0, z0; + d3_geo_centroid.point = function(λ, φ) { + λ00 = λ, φ00 = φ; + d3_geo_centroid.point = nextPoint; + λ *= d3_radians; + var cosφ = Math.cos(φ *= d3_radians); + x0 = cosφ * Math.cos(λ); + y0 = cosφ * Math.sin(λ); + z0 = Math.sin(φ); + d3_geo_centroidPointXYZ(x0, y0, z0); + }; + d3_geo_centroid.lineEnd = function() { + nextPoint(λ00, φ00); + d3_geo_centroid.lineEnd = d3_geo_centroidLineEnd; + d3_geo_centroid.point = d3_geo_centroidPoint; + }; + function nextPoint(λ, φ) { + λ *= d3_radians; + var cosφ = Math.cos(φ *= d3_radians), x = cosφ * Math.cos(λ), y = cosφ * Math.sin(λ), z = Math.sin(φ), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = Math.sqrt(cx * cx + cy * cy + cz * cz), u = x0 * x + y0 * y + z0 * z, v = m && -d3_acos(u) / m, w = Math.atan2(m, u); + d3_geo_centroidX2 += v * cx; + d3_geo_centroidY2 += v * cy; + d3_geo_centroidZ2 += v * cz; + d3_geo_centroidW1 += w; + d3_geo_centroidX1 += w * (x0 + (x0 = x)); + d3_geo_centroidY1 += w * (y0 + (y0 = y)); + d3_geo_centroidZ1 += w * (z0 + (z0 = z)); + d3_geo_centroidPointXYZ(x0, y0, z0); + } + } + function d3_true() { + return true; + } + function d3_geo_clipPolygon(segments, compare, inside, interpolate, listener) { + var subject = [], clip = []; + segments.forEach(function(segment) { + if ((n = segment.length - 1) <= 0) return; + var n, p0 = segment[0], p1 = segment[n]; + if (d3_geo_sphericalEqual(p0, p1)) { + listener.lineStart(); + for (var i = 0; i < n; ++i) listener.point((p0 = segment[i])[0], p0[1]); + listener.lineEnd(); + return; + } + var a = { + point: p0, + points: segment, + other: null, + visited: false, + entry: true, + subject: true + }, b = { + point: p0, + points: [ p0 ], + other: a, + visited: false, + entry: false, + subject: false + }; + a.other = b; + subject.push(a); + clip.push(b); + a = { + point: p1, + points: [ p1 ], + other: null, + visited: false, + entry: false, + subject: true + }; + b = { + point: p1, + points: [ p1 ], + other: a, + visited: false, + entry: true, + subject: false + }; + a.other = b; + subject.push(a); + clip.push(b); + }); + clip.sort(compare); + d3_geo_clipPolygonLinkCircular(subject); + d3_geo_clipPolygonLinkCircular(clip); + if (!subject.length) return; + if (inside) for (var i = 1, e = !inside(clip[0].point), n = clip.length; i < n; ++i) { + clip[i].entry = e = !e; + } + var start = subject[0], current, points, point; + while (1) { + current = start; + while (current.visited) if ((current = current.next) === start) return; + points = current.points; + listener.lineStart(); + do { + current.visited = current.other.visited = true; + if (current.entry) { + if (current.subject) { + for (var i = 0; i < points.length; i++) listener.point((point = points[i])[0], point[1]); + } else { + interpolate(current.point, current.next.point, 1, listener); + } + current = current.next; + } else { + if (current.subject) { + points = current.prev.points; + for (var i = points.length; --i >= 0; ) listener.point((point = points[i])[0], point[1]); + } else { + interpolate(current.point, current.prev.point, -1, listener); + } + current = current.prev; + } + current = current.other; + points = current.points; + } while (!current.visited); + listener.lineEnd(); + } + } + function d3_geo_clipPolygonLinkCircular(array) { + if (!(n = array.length)) return; + var n, i = 0, a = array[0], b; + while (++i < n) { + a.next = b = array[i]; + b.prev = a; + a = b; + } + a.next = b = array[0]; + b.prev = a; + } + function d3_geo_clip(pointVisible, clipLine, interpolate, polygonContains) { + return function(listener) { + var line = clipLine(listener); + var clip = { + point: point, + lineStart: lineStart, + lineEnd: lineEnd, + polygonStart: function() { + clip.point = pointRing; + clip.lineStart = ringStart; + clip.lineEnd = ringEnd; + segments = []; + polygon = []; + listener.polygonStart(); + }, + polygonEnd: function() { + clip.point = point; + clip.lineStart = lineStart; + clip.lineEnd = lineEnd; + segments = d3.merge(segments); + if (segments.length) { + d3_geo_clipPolygon(segments, d3_geo_clipSort, null, interpolate, listener); + } else if (polygonContains(polygon)) { + listener.lineStart(); + interpolate(null, null, 1, listener); + listener.lineEnd(); + } + listener.polygonEnd(); + segments = polygon = null; + }, + sphere: function() { + listener.polygonStart(); + listener.lineStart(); + interpolate(null, null, 1, listener); + listener.lineEnd(); + listener.polygonEnd(); + } + }; + function point(λ, φ) { + if (pointVisible(λ, φ)) listener.point(λ, φ); + } + function pointLine(λ, φ) { + line.point(λ, φ); + } + function lineStart() { + clip.point = pointLine; + line.lineStart(); + } + function lineEnd() { + clip.point = point; + line.lineEnd(); + } + var segments; + var buffer = d3_geo_clipBufferListener(), ringListener = clipLine(buffer), polygon, ring; + function pointRing(λ, φ) { + ringListener.point(λ, φ); + ring.push([ λ, φ ]); + } + function ringStart() { + ringListener.lineStart(); + ring = []; + } + function ringEnd() { + pointRing(ring[0][0], ring[0][1]); + ringListener.lineEnd(); + var clean = ringListener.clean(), ringSegments = buffer.buffer(), segment, n = ringSegments.length; + ring.pop(); + polygon.push(ring); + ring = null; + if (!n) return; + if (clean & 1) { + segment = ringSegments[0]; + var n = segment.length - 1, i = -1, point; + listener.lineStart(); + while (++i < n) listener.point((point = segment[i])[0], point[1]); + listener.lineEnd(); + return; + } + if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift())); + segments.push(ringSegments.filter(d3_geo_clipSegmentLength1)); + } + return clip; + }; + } + function d3_geo_clipSegmentLength1(segment) { + return segment.length > 1; + } + function d3_geo_clipBufferListener() { + var lines = [], line; + return { + lineStart: function() { + lines.push(line = []); + }, + point: function(λ, φ) { + line.push([ λ, φ ]); + }, + lineEnd: d3_noop, + buffer: function() { + var buffer = lines; + lines = []; + line = null; + return buffer; + }, + rejoin: function() { + if (lines.length > 1) lines.push(lines.pop().concat(lines.shift())); + } + }; + } + function d3_geo_clipSort(a, b) { + return ((a = a.point)[0] < 0 ? a[1] - π / 2 - ε : π / 2 - a[1]) - ((b = b.point)[0] < 0 ? b[1] - π / 2 - ε : π / 2 - b[1]); + } + function d3_geo_pointInPolygon(point, polygon) { + var meridian = point[0], parallel = point[1], meridianNormal = [ Math.sin(meridian), -Math.cos(meridian), 0 ], polarAngle = 0, polar = false, southPole = false, winding = 0; + d3_geo_areaRingSum.reset(); + for (var i = 0, n = polygon.length; i < n; ++i) { + var ring = polygon[i], m = ring.length; + if (!m) continue; + var point0 = ring[0], λ0 = point0[0], φ0 = point0[1] / 2 + π / 4, sinφ0 = Math.sin(φ0), cosφ0 = Math.cos(φ0), j = 1; + while (true) { + if (j === m) j = 0; + point = ring[j]; + var λ = point[0], φ = point[1] / 2 + π / 4, sinφ = Math.sin(φ), cosφ = Math.cos(φ), dλ = λ - λ0, antimeridian = Math.abs(dλ) > π, k = sinφ0 * sinφ; + d3_geo_areaRingSum.add(Math.atan2(k * Math.sin(dλ), cosφ0 * cosφ + k * Math.cos(dλ))); + if (Math.abs(φ) < ε) southPole = true; + polarAngle += antimeridian ? dλ + (dλ >= 0 ? 2 : -2) * π : dλ; + if (antimeridian ^ λ0 >= meridian ^ λ >= meridian) { + var arc = d3_geo_cartesianCross(d3_geo_cartesian(point0), d3_geo_cartesian(point)); + d3_geo_cartesianNormalize(arc); + var intersection = d3_geo_cartesianCross(meridianNormal, arc); + d3_geo_cartesianNormalize(intersection); + var φarc = (antimeridian ^ dλ >= 0 ? -1 : 1) * d3_asin(intersection[2]); + if (parallel > φarc) { + winding += antimeridian ^ dλ >= 0 ? 1 : -1; + } + } + if (!j++) break; + λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ, point0 = point; + } + if (Math.abs(polarAngle) > ε) polar = true; + } + return (!southPole && !polar && d3_geo_areaRingSum < 0 || polarAngle < -ε) ^ winding & 1; + } + var d3_geo_clipAntimeridian = d3_geo_clip(d3_true, d3_geo_clipAntimeridianLine, d3_geo_clipAntimeridianInterpolate, d3_geo_clipAntimeridianPolygonContains); + function d3_geo_clipAntimeridianLine(listener) { + var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean; + return { + lineStart: function() { + listener.lineStart(); + clean = 1; + }, + point: function(λ1, φ1) { + var sλ1 = λ1 > 0 ? π : -π, dλ = Math.abs(λ1 - λ0); + if (Math.abs(dλ - π) < ε) { + listener.point(λ0, φ0 = (φ0 + φ1) / 2 > 0 ? π / 2 : -π / 2); + listener.point(sλ0, φ0); + listener.lineEnd(); + listener.lineStart(); + listener.point(sλ1, φ0); + listener.point(λ1, φ0); + clean = 0; + } else if (sλ0 !== sλ1 && dλ >= π) { + if (Math.abs(λ0 - sλ0) < ε) λ0 -= sλ0 * ε; + if (Math.abs(λ1 - sλ1) < ε) λ1 -= sλ1 * ε; + φ0 = d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1); + listener.point(sλ0, φ0); + listener.lineEnd(); + listener.lineStart(); + listener.point(sλ1, φ0); + clean = 0; + } + listener.point(λ0 = λ1, φ0 = φ1); + sλ0 = sλ1; + }, + lineEnd: function() { + listener.lineEnd(); + λ0 = φ0 = NaN; + }, + clean: function() { + return 2 - clean; + } + }; + } + function d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1) { + var cosφ0, cosφ1, sinλ0_λ1 = Math.sin(λ0 - λ1); + return Math.abs(sinλ0_λ1) > ε ? Math.atan((Math.sin(φ0) * (cosφ1 = Math.cos(φ1)) * Math.sin(λ1) - Math.sin(φ1) * (cosφ0 = Math.cos(φ0)) * Math.sin(λ0)) / (cosφ0 * cosφ1 * sinλ0_λ1)) : (φ0 + φ1) / 2; + } + function d3_geo_clipAntimeridianInterpolate(from, to, direction, listener) { + var φ; + if (from == null) { + φ = direction * π / 2; + listener.point(-π, φ); + listener.point(0, φ); + listener.point(π, φ); + listener.point(π, 0); + listener.point(π, -φ); + listener.point(0, -φ); + listener.point(-π, -φ); + listener.point(-π, 0); + listener.point(-π, φ); + } else if (Math.abs(from[0] - to[0]) > ε) { + var s = (from[0] < to[0] ? 1 : -1) * π; + φ = direction * s / 2; + listener.point(-s, φ); + listener.point(0, φ); + listener.point(s, φ); + } else { + listener.point(to[0], to[1]); + } + } + var d3_geo_clipAntimeridianPoint = [ -π, 0 ]; + function d3_geo_clipAntimeridianPolygonContains(polygon) { + return d3_geo_pointInPolygon(d3_geo_clipAntimeridianPoint, polygon); + } + function d3_geo_clipCircle(radius) { + var cr = Math.cos(radius), smallRadius = cr > 0, point = [ radius, 0 ], notHemisphere = Math.abs(cr) > ε, interpolate = d3_geo_circleInterpolate(radius, 6 * d3_radians); + return d3_geo_clip(visible, clipLine, interpolate, polygonContains); + function visible(λ, φ) { + return Math.cos(λ) * Math.cos(φ) > cr; + } + function clipLine(listener) { + var point0, c0, v0, v00, clean; + return { + lineStart: function() { + v00 = v0 = false; + clean = 1; + }, + point: function(λ, φ) { + var point1 = [ λ, φ ], point2, v = visible(λ, φ), c = smallRadius ? v ? 0 : code(λ, φ) : v ? code(λ + (λ < 0 ? π : -π), φ) : 0; + if (!point0 && (v00 = v0 = v)) listener.lineStart(); + if (v !== v0) { + point2 = intersect(point0, point1); + if (d3_geo_sphericalEqual(point0, point2) || d3_geo_sphericalEqual(point1, point2)) { + point1[0] += ε; + point1[1] += ε; + v = visible(point1[0], point1[1]); + } + } + if (v !== v0) { + clean = 0; + if (v) { + listener.lineStart(); + point2 = intersect(point1, point0); + listener.point(point2[0], point2[1]); + } else { + point2 = intersect(point0, point1); + listener.point(point2[0], point2[1]); + listener.lineEnd(); + } + point0 = point2; + } else if (notHemisphere && point0 && smallRadius ^ v) { + var t; + if (!(c & c0) && (t = intersect(point1, point0, true))) { + clean = 0; + if (smallRadius) { + listener.lineStart(); + listener.point(t[0][0], t[0][1]); + listener.point(t[1][0], t[1][1]); + listener.lineEnd(); + } else { + listener.point(t[1][0], t[1][1]); + listener.lineEnd(); + listener.lineStart(); + listener.point(t[0][0], t[0][1]); + } + } + } + if (v && (!point0 || !d3_geo_sphericalEqual(point0, point1))) { + listener.point(point1[0], point1[1]); + } + point0 = point1, v0 = v, c0 = c; + }, + lineEnd: function() { + if (v0) listener.lineEnd(); + point0 = null; + }, + clean: function() { + return clean | (v00 && v0) << 1; + } + }; + } + function intersect(a, b, two) { + var pa = d3_geo_cartesian(a), pb = d3_geo_cartesian(b); + var n1 = [ 1, 0, 0 ], n2 = d3_geo_cartesianCross(pa, pb), n2n2 = d3_geo_cartesianDot(n2, n2), n1n2 = n2[0], determinant = n2n2 - n1n2 * n1n2; + if (!determinant) return !two && a; + var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = d3_geo_cartesianCross(n1, n2), A = d3_geo_cartesianScale(n1, c1), B = d3_geo_cartesianScale(n2, c2); + d3_geo_cartesianAdd(A, B); + var u = n1xn2, w = d3_geo_cartesianDot(A, u), uu = d3_geo_cartesianDot(u, u), t2 = w * w - uu * (d3_geo_cartesianDot(A, A) - 1); + if (t2 < 0) return; + var t = Math.sqrt(t2), q = d3_geo_cartesianScale(u, (-w - t) / uu); + d3_geo_cartesianAdd(q, A); + q = d3_geo_spherical(q); + if (!two) return q; + var λ0 = a[0], λ1 = b[0], φ0 = a[1], φ1 = b[1], z; + if (λ1 < λ0) z = λ0, λ0 = λ1, λ1 = z; + var δλ = λ1 - λ0, polar = Math.abs(δλ - π) < ε, meridian = polar || δλ < ε; + if (!polar && φ1 < φ0) z = φ0, φ0 = φ1, φ1 = z; + if (meridian ? polar ? φ0 + φ1 > 0 ^ q[1] < (Math.abs(q[0] - λ0) < ε ? φ0 : φ1) : φ0 <= q[1] && q[1] <= φ1 : δλ > π ^ (λ0 <= q[0] && q[0] <= λ1)) { + var q1 = d3_geo_cartesianScale(u, (-w + t) / uu); + d3_geo_cartesianAdd(q1, A); + return [ q, d3_geo_spherical(q1) ]; + } + } + function code(λ, φ) { + var r = smallRadius ? radius : π - radius, code = 0; + if (λ < -r) code |= 1; else if (λ > r) code |= 2; + if (φ < -r) code |= 4; else if (φ > r) code |= 8; + return code; + } + function polygonContains(polygon) { + return d3_geo_pointInPolygon(point, polygon); + } + } + var d3_geo_clipViewMAX = 1e9; + function d3_geo_clipView(x0, y0, x1, y1) { + return function(listener) { + var listener_ = listener, bufferListener = d3_geo_clipBufferListener(), segments, polygon, ring; + var clip = { + point: point, + lineStart: lineStart, + lineEnd: lineEnd, + polygonStart: function() { + listener = bufferListener; + segments = []; + polygon = []; + }, + polygonEnd: function() { + listener = listener_; + if ((segments = d3.merge(segments)).length) { + listener.polygonStart(); + d3_geo_clipPolygon(segments, compare, inside, interpolate, listener); + listener.polygonEnd(); + } else if (insidePolygon([ x0, y0 ])) { + listener.polygonStart(), listener.lineStart(); + interpolate(null, null, 1, listener); + listener.lineEnd(), listener.polygonEnd(); + } + segments = polygon = ring = null; + } + }; + function inside(point) { + var a = corner(point, -1), i = insidePolygon([ a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0 ]); + return i; + } + function insidePolygon(p) { + var wn = 0, n = polygon.length, y = p[1]; + for (var i = 0; i < n; ++i) { + for (var j = 1, v = polygon[i], m = v.length, a = v[0], b; j < m; ++j) { + b = v[j]; + if (a[1] <= y) { + if (b[1] > y && isLeft(a, b, p) > 0) ++wn; + } else { + if (b[1] <= y && isLeft(a, b, p) < 0) --wn; + } + a = b; + } + } + return wn !== 0; + } + function isLeft(a, b, c) { + return (b[0] - a[0]) * (c[1] - a[1]) - (c[0] - a[0]) * (b[1] - a[1]); + } + function interpolate(from, to, direction, listener) { + var a = 0, a1 = 0; + if (from == null || (a = corner(from, direction)) !== (a1 = corner(to, direction)) || comparePoints(from, to) < 0 ^ direction > 0) { + do { + listener.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0); + } while ((a = (a + direction + 4) % 4) !== a1); + } else { + listener.point(to[0], to[1]); + } + } + function visible(x, y) { + return x0 <= x && x <= x1 && y0 <= y && y <= y1; + } + function point(x, y) { + if (visible(x, y)) listener.point(x, y); + } + var x__, y__, v__, x_, y_, v_, first; + function lineStart() { + clip.point = linePoint; + if (polygon) polygon.push(ring = []); + first = true; + v_ = false; + x_ = y_ = NaN; + } + function lineEnd() { + if (segments) { + linePoint(x__, y__); + if (v__ && v_) bufferListener.rejoin(); + segments.push(bufferListener.buffer()); + } + clip.point = point; + if (v_) listener.lineEnd(); + } + function linePoint(x, y) { + x = Math.max(-d3_geo_clipViewMAX, Math.min(d3_geo_clipViewMAX, x)); + y = Math.max(-d3_geo_clipViewMAX, Math.min(d3_geo_clipViewMAX, y)); + var v = visible(x, y); + if (polygon) ring.push([ x, y ]); + if (first) { + x__ = x, y__ = y, v__ = v; + first = false; + if (v) { + listener.lineStart(); + listener.point(x, y); + } + } else { + if (v && v_) listener.point(x, y); else { + var a = [ x_, y_ ], b = [ x, y ]; + if (clipLine(a, b)) { + if (!v_) { + listener.lineStart(); + listener.point(a[0], a[1]); + } + listener.point(b[0], b[1]); + if (!v) listener.lineEnd(); + } else if (v) { + listener.lineStart(); + listener.point(x, y); + } + } + } + x_ = x, y_ = y, v_ = v; + } + return clip; + }; + function corner(p, direction) { + return Math.abs(p[0] - x0) < ε ? direction > 0 ? 0 : 3 : Math.abs(p[0] - x1) < ε ? direction > 0 ? 2 : 1 : Math.abs(p[1] - y0) < ε ? direction > 0 ? 1 : 0 : direction > 0 ? 3 : 2; + } + function compare(a, b) { + return comparePoints(a.point, b.point); + } + function comparePoints(a, b) { + var ca = corner(a, 1), cb = corner(b, 1); + return ca !== cb ? ca - cb : ca === 0 ? b[1] - a[1] : ca === 1 ? a[0] - b[0] : ca === 2 ? a[1] - b[1] : b[0] - a[0]; + } + function clipLine(a, b) { + var dx = b[0] - a[0], dy = b[1] - a[1], t = [ 0, 1 ]; + if (Math.abs(dx) < ε && Math.abs(dy) < ε) return x0 <= a[0] && a[0] <= x1 && y0 <= a[1] && a[1] <= y1; + if (d3_geo_clipViewT(x0 - a[0], dx, t) && d3_geo_clipViewT(a[0] - x1, -dx, t) && d3_geo_clipViewT(y0 - a[1], dy, t) && d3_geo_clipViewT(a[1] - y1, -dy, t)) { + if (t[1] < 1) { + b[0] = a[0] + t[1] * dx; + b[1] = a[1] + t[1] * dy; + } + if (t[0] > 0) { + a[0] += t[0] * dx; + a[1] += t[0] * dy; + } + return true; + } + return false; + } + } + function d3_geo_clipViewT(num, denominator, t) { + if (Math.abs(denominator) < ε) return num <= 0; + var u = num / denominator; + if (denominator > 0) { + if (u > t[1]) return false; + if (u > t[0]) t[0] = u; + } else { + if (u < t[0]) return false; + if (u < t[1]) t[1] = u; + } + return true; + } + function d3_geo_compose(a, b) { + function compose(x, y) { + return x = a(x, y), b(x[0], x[1]); + } + if (a.invert && b.invert) compose.invert = function(x, y) { + return x = b.invert(x, y), x && a.invert(x[0], x[1]); + }; + return compose; + } + function d3_geo_conic(projectAt) { + var φ0 = 0, φ1 = π / 3, m = d3_geo_projectionMutator(projectAt), p = m(φ0, φ1); + p.parallels = function(_) { + if (!arguments.length) return [ φ0 / π * 180, φ1 / π * 180 ]; + return m(φ0 = _[0] * π / 180, φ1 = _[1] * π / 180); + }; + return p; + } + function d3_geo_conicEqualArea(φ0, φ1) { + var sinφ0 = Math.sin(φ0), n = (sinφ0 + Math.sin(φ1)) / 2, C = 1 + sinφ0 * (2 * n - sinφ0), ρ0 = Math.sqrt(C) / n; + function forward(λ, φ) { + var ρ = Math.sqrt(C - 2 * n * Math.sin(φ)) / n; + return [ ρ * Math.sin(λ *= n), ρ0 - ρ * Math.cos(λ) ]; + } + forward.invert = function(x, y) { + var ρ0_y = ρ0 - y; + return [ Math.atan2(x, ρ0_y) / n, d3_asin((C - (x * x + ρ0_y * ρ0_y) * n * n) / (2 * n)) ]; + }; + return forward; + } + (d3.geo.conicEqualArea = function() { + return d3_geo_conic(d3_geo_conicEqualArea); + }).raw = d3_geo_conicEqualArea; + d3.geo.albers = function() { + return d3.geo.conicEqualArea().rotate([ 96, 0 ]).center([ -.6, 38.7 ]).parallels([ 29.5, 45.5 ]).scale(1070); + }; + d3.geo.albersUsa = function() { + var lower48 = d3.geo.albers(); + var alaska = d3.geo.conicEqualArea().rotate([ 154, 0 ]).center([ -2, 58.5 ]).parallels([ 55, 65 ]); + var hawaii = d3.geo.conicEqualArea().rotate([ 157, 0 ]).center([ -3, 19.9 ]).parallels([ 8, 18 ]); + var point, pointStream = { + point: function(x, y) { + point = [ x, y ]; + } + }, lower48Point, alaskaPoint, hawaiiPoint; + function albersUsa(coordinates) { + var x = coordinates[0], y = coordinates[1]; + point = null; + (lower48Point(x, y), point) || (alaskaPoint(x, y), point) || hawaiiPoint(x, y); + return point; + } + albersUsa.invert = function(coordinates) { + var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k; + return (y >= .12 && y < .234 && x >= -.425 && x < -.214 ? alaska : y >= .166 && y < .234 && x >= -.214 && x < -.115 ? hawaii : lower48).invert(coordinates); + }; + albersUsa.stream = function(stream) { + var lower48Stream = lower48.stream(stream), alaskaStream = alaska.stream(stream), hawaiiStream = hawaii.stream(stream); + return { + point: function(x, y) { + lower48Stream.point(x, y); + alaskaStream.point(x, y); + hawaiiStream.point(x, y); + }, + sphere: function() { + lower48Stream.sphere(); + alaskaStream.sphere(); + hawaiiStream.sphere(); + }, + lineStart: function() { + lower48Stream.lineStart(); + alaskaStream.lineStart(); + hawaiiStream.lineStart(); + }, + lineEnd: function() { + lower48Stream.lineEnd(); + alaskaStream.lineEnd(); + hawaiiStream.lineEnd(); + }, + polygonStart: function() { + lower48Stream.polygonStart(); + alaskaStream.polygonStart(); + hawaiiStream.polygonStart(); + }, + polygonEnd: function() { + lower48Stream.polygonEnd(); + alaskaStream.polygonEnd(); + hawaiiStream.polygonEnd(); + } + }; + }; + albersUsa.precision = function(_) { + if (!arguments.length) return lower48.precision(); + lower48.precision(_); + alaska.precision(_); + hawaii.precision(_); + return albersUsa; + }; + albersUsa.scale = function(_) { + if (!arguments.length) return lower48.scale(); + lower48.scale(_); + alaska.scale(_ * .35); + hawaii.scale(_); + return albersUsa.translate(lower48.translate()); + }; + albersUsa.translate = function(_) { + if (!arguments.length) return lower48.translate(); + var k = lower48.scale(), x = +_[0], y = +_[1]; + lower48Point = lower48.translate(_).clipExtent([ [ x - .455 * k, y - .238 * k ], [ x + .455 * k, y + .238 * k ] ]).stream(pointStream).point; + alaskaPoint = alaska.translate([ x - .307 * k, y + .201 * k ]).clipExtent([ [ x - .425 * k + ε, y + .12 * k + ε ], [ x - .214 * k - ε, y + .234 * k - ε ] ]).stream(pointStream).point; + hawaiiPoint = hawaii.translate([ x - .205 * k, y + .212 * k ]).clipExtent([ [ x - .214 * k + ε, y + .166 * k + ε ], [ x - .115 * k - ε, y + .234 * k - ε ] ]).stream(pointStream).point; + return albersUsa; + }; + return albersUsa.scale(1070); + }; + var d3_geo_pathAreaSum, d3_geo_pathAreaPolygon, d3_geo_pathArea = { + point: d3_noop, + lineStart: d3_noop, + lineEnd: d3_noop, + polygonStart: function() { + d3_geo_pathAreaPolygon = 0; + d3_geo_pathArea.lineStart = d3_geo_pathAreaRingStart; + }, + polygonEnd: function() { + d3_geo_pathArea.lineStart = d3_geo_pathArea.lineEnd = d3_geo_pathArea.point = d3_noop; + d3_geo_pathAreaSum += Math.abs(d3_geo_pathAreaPolygon / 2); + } + }; + function d3_geo_pathAreaRingStart() { + var x00, y00, x0, y0; + d3_geo_pathArea.point = function(x, y) { + d3_geo_pathArea.point = nextPoint; + x00 = x0 = x, y00 = y0 = y; + }; + function nextPoint(x, y) { + d3_geo_pathAreaPolygon += y0 * x - x0 * y; + x0 = x, y0 = y; + } + d3_geo_pathArea.lineEnd = function() { + nextPoint(x00, y00); + }; + } + var d3_geo_pathBoundsX0, d3_geo_pathBoundsY0, d3_geo_pathBoundsX1, d3_geo_pathBoundsY1; + var d3_geo_pathBounds = { + point: d3_geo_pathBoundsPoint, + lineStart: d3_noop, + lineEnd: d3_noop, + polygonStart: d3_noop, + polygonEnd: d3_noop + }; + function d3_geo_pathBoundsPoint(x, y) { + if (x < d3_geo_pathBoundsX0) d3_geo_pathBoundsX0 = x; + if (x > d3_geo_pathBoundsX1) d3_geo_pathBoundsX1 = x; + if (y < d3_geo_pathBoundsY0) d3_geo_pathBoundsY0 = y; + if (y > d3_geo_pathBoundsY1) d3_geo_pathBoundsY1 = y; + } + function d3_geo_pathBuffer() { + var pointCircle = d3_geo_pathBufferCircle(4.5), buffer = []; + var stream = { + point: point, + lineStart: function() { + stream.point = pointLineStart; + }, + lineEnd: lineEnd, + polygonStart: function() { + stream.lineEnd = lineEndPolygon; + }, + polygonEnd: function() { + stream.lineEnd = lineEnd; + stream.point = point; + }, + pointRadius: function(_) { + pointCircle = d3_geo_pathBufferCircle(_); + return stream; + }, + result: function() { + if (buffer.length) { + var result = buffer.join(""); + buffer = []; + return result; + } + } + }; + function point(x, y) { + buffer.push("M", x, ",", y, pointCircle); + } + function pointLineStart(x, y) { + buffer.push("M", x, ",", y); + stream.point = pointLine; + } + function pointLine(x, y) { + buffer.push("L", x, ",", y); + } + function lineEnd() { + stream.point = point; + } + function lineEndPolygon() { + buffer.push("Z"); + } + return stream; + } + function d3_geo_pathBufferCircle(radius) { + return "m0," + radius + "a" + radius + "," + radius + " 0 1,1 0," + -2 * radius + "a" + radius + "," + radius + " 0 1,1 0," + 2 * radius + "z"; + } + var d3_geo_pathCentroid = { + point: d3_geo_pathCentroidPoint, + lineStart: d3_geo_pathCentroidLineStart, + lineEnd: d3_geo_pathCentroidLineEnd, + polygonStart: function() { + d3_geo_pathCentroid.lineStart = d3_geo_pathCentroidRingStart; + }, + polygonEnd: function() { + d3_geo_pathCentroid.point = d3_geo_pathCentroidPoint; + d3_geo_pathCentroid.lineStart = d3_geo_pathCentroidLineStart; + d3_geo_pathCentroid.lineEnd = d3_geo_pathCentroidLineEnd; + } + }; + function d3_geo_pathCentroidPoint(x, y) { + d3_geo_centroidX0 += x; + d3_geo_centroidY0 += y; + ++d3_geo_centroidZ0; + } + function d3_geo_pathCentroidLineStart() { + var x0, y0; + d3_geo_pathCentroid.point = function(x, y) { + d3_geo_pathCentroid.point = nextPoint; + d3_geo_pathCentroidPoint(x0 = x, y0 = y); + }; + function nextPoint(x, y) { + var dx = x - x0, dy = y - y0, z = Math.sqrt(dx * dx + dy * dy); + d3_geo_centroidX1 += z * (x0 + x) / 2; + d3_geo_centroidY1 += z * (y0 + y) / 2; + d3_geo_centroidZ1 += z; + d3_geo_pathCentroidPoint(x0 = x, y0 = y); + } + } + function d3_geo_pathCentroidLineEnd() { + d3_geo_pathCentroid.point = d3_geo_pathCentroidPoint; + } + function d3_geo_pathCentroidRingStart() { + var x00, y00, x0, y0; + d3_geo_pathCentroid.point = function(x, y) { + d3_geo_pathCentroid.point = nextPoint; + d3_geo_pathCentroidPoint(x00 = x0 = x, y00 = y0 = y); + }; + function nextPoint(x, y) { + var dx = x - x0, dy = y - y0, z = Math.sqrt(dx * dx + dy * dy); + d3_geo_centroidX1 += z * (x0 + x) / 2; + d3_geo_centroidY1 += z * (y0 + y) / 2; + d3_geo_centroidZ1 += z; + z = y0 * x - x0 * y; + d3_geo_centroidX2 += z * (x0 + x); + d3_geo_centroidY2 += z * (y0 + y); + d3_geo_centroidZ2 += z * 3; + d3_geo_pathCentroidPoint(x0 = x, y0 = y); + } + d3_geo_pathCentroid.lineEnd = function() { + nextPoint(x00, y00); + }; + } + function d3_geo_pathContext(context) { + var pointRadius = 4.5; + var stream = { + point: point, + lineStart: function() { + stream.point = pointLineStart; + }, + lineEnd: lineEnd, + polygonStart: function() { + stream.lineEnd = lineEndPolygon; + }, + polygonEnd: function() { + stream.lineEnd = lineEnd; + stream.point = point; + }, + pointRadius: function(_) { + pointRadius = _; + return stream; + }, + result: d3_noop + }; + function point(x, y) { + context.moveTo(x, y); + context.arc(x, y, pointRadius, 0, 2 * π); + } + function pointLineStart(x, y) { + context.moveTo(x, y); + stream.point = pointLine; + } + function pointLine(x, y) { + context.lineTo(x, y); + } + function lineEnd() { + stream.point = point; + } + function lineEndPolygon() { + context.closePath(); + } + return stream; + } + function d3_geo_resample(project) { + var δ2 = .5, cosMinDistance = Math.cos(30 * d3_radians), maxDepth = 16; + function resample(stream) { + var λ00, φ00, x00, y00, a00, b00, c00, λ0, x0, y0, a0, b0, c0; + var resample = { + point: point, + lineStart: lineStart, + lineEnd: lineEnd, + polygonStart: function() { + stream.polygonStart(); + resample.lineStart = ringStart; + }, + polygonEnd: function() { + stream.polygonEnd(); + resample.lineStart = lineStart; + } + }; + function point(x, y) { + x = project(x, y); + stream.point(x[0], x[1]); + } + function lineStart() { + x0 = NaN; + resample.point = linePoint; + stream.lineStart(); + } + function linePoint(λ, φ) { + var c = d3_geo_cartesian([ λ, φ ]), p = project(λ, φ); + resampleLineTo(x0, y0, λ0, a0, b0, c0, x0 = p[0], y0 = p[1], λ0 = λ, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream); + stream.point(x0, y0); + } + function lineEnd() { + resample.point = point; + stream.lineEnd(); + } + function ringStart() { + lineStart(); + resample.point = ringPoint; + resample.lineEnd = ringEnd; + } + function ringPoint(λ, φ) { + linePoint(λ00 = λ, φ00 = φ), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0; + resample.point = linePoint; + } + function ringEnd() { + resampleLineTo(x0, y0, λ0, a0, b0, c0, x00, y00, λ00, a00, b00, c00, maxDepth, stream); + resample.lineEnd = lineEnd; + lineEnd(); + } + return resample; + } + function resampleLineTo(x0, y0, λ0, a0, b0, c0, x1, y1, λ1, a1, b1, c1, depth, stream) { + var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy; + if (d2 > 4 * δ2 && depth--) { + var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = Math.sqrt(a * a + b * b + c * c), φ2 = Math.asin(c /= m), λ2 = Math.abs(Math.abs(c) - 1) < ε ? (λ0 + λ1) / 2 : Math.atan2(b, a), p = project(λ2, φ2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2; + if (dz * dz / d2 > δ2 || Math.abs((dx * dx2 + dy * dy2) / d2 - .5) > .3 || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { + resampleLineTo(x0, y0, λ0, a0, b0, c0, x2, y2, λ2, a /= m, b /= m, c, depth, stream); + stream.point(x2, y2); + resampleLineTo(x2, y2, λ2, a, b, c, x1, y1, λ1, a1, b1, c1, depth, stream); + } + } + } + resample.precision = function(_) { + if (!arguments.length) return Math.sqrt(δ2); + maxDepth = (δ2 = _ * _) > 0 && 16; + return resample; + }; + return resample; + } + d3.geo.path = function() { + var pointRadius = 4.5, projection, context, projectStream, contextStream, cacheStream; + function path(object) { + if (object) { + if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments)); + if (!cacheStream || !cacheStream.valid) cacheStream = projectStream(contextStream); + d3.geo.stream(object, cacheStream); + } + return contextStream.result(); + } + path.area = function(object) { + d3_geo_pathAreaSum = 0; + d3.geo.stream(object, projectStream(d3_geo_pathArea)); + return d3_geo_pathAreaSum; + }; + path.centroid = function(object) { + d3_geo_centroidX0 = d3_geo_centroidY0 = d3_geo_centroidZ0 = d3_geo_centroidX1 = d3_geo_centroidY1 = d3_geo_centroidZ1 = d3_geo_centroidX2 = d3_geo_centroidY2 = d3_geo_centroidZ2 = 0; + d3.geo.stream(object, projectStream(d3_geo_pathCentroid)); + return d3_geo_centroidZ2 ? [ d3_geo_centroidX2 / d3_geo_centroidZ2, d3_geo_centroidY2 / d3_geo_centroidZ2 ] : d3_geo_centroidZ1 ? [ d3_geo_centroidX1 / d3_geo_centroidZ1, d3_geo_centroidY1 / d3_geo_centroidZ1 ] : d3_geo_centroidZ0 ? [ d3_geo_centroidX0 / d3_geo_centroidZ0, d3_geo_centroidY0 / d3_geo_centroidZ0 ] : [ NaN, NaN ]; + }; + path.bounds = function(object) { + d3_geo_pathBoundsX1 = d3_geo_pathBoundsY1 = -(d3_geo_pathBoundsX0 = d3_geo_pathBoundsY0 = Infinity); + d3.geo.stream(object, projectStream(d3_geo_pathBounds)); + return [ [ d3_geo_pathBoundsX0, d3_geo_pathBoundsY0 ], [ d3_geo_pathBoundsX1, d3_geo_pathBoundsY1 ] ]; + }; + path.projection = function(_) { + if (!arguments.length) return projection; + projectStream = (projection = _) ? _.stream || d3_geo_pathProjectStream(_) : d3_identity; + return reset(); + }; + path.context = function(_) { + if (!arguments.length) return context; + contextStream = (context = _) == null ? new d3_geo_pathBuffer() : new d3_geo_pathContext(_); + if (typeof pointRadius !== "function") contextStream.pointRadius(pointRadius); + return reset(); + }; + path.pointRadius = function(_) { + if (!arguments.length) return pointRadius; + pointRadius = typeof _ === "function" ? _ : (contextStream.pointRadius(+_), +_); + return path; + }; + function reset() { + cacheStream = null; + return path; + } + return path.projection(d3.geo.albersUsa()).context(null); + }; + function d3_geo_pathProjectStream(project) { + var resample = d3_geo_resample(function(λ, φ) { + return project([ λ * d3_degrees, φ * d3_degrees ]); + }); + return function(stream) { + stream = resample(stream); + return { + point: function(λ, φ) { + stream.point(λ * d3_radians, φ * d3_radians); + }, + sphere: function() { + stream.sphere(); + }, + lineStart: function() { + stream.lineStart(); + }, + lineEnd: function() { + stream.lineEnd(); + }, + polygonStart: function() { + stream.polygonStart(); + }, + polygonEnd: function() { + stream.polygonEnd(); + } + }; + }; + } + d3.geo.projection = d3_geo_projection; + d3.geo.projectionMutator = d3_geo_projectionMutator; + function d3_geo_projection(project) { + return d3_geo_projectionMutator(function() { + return project; + })(); + } + function d3_geo_projectionMutator(projectAt) { + var project, rotate, projectRotate, projectResample = d3_geo_resample(function(x, y) { + x = project(x, y); + return [ x[0] * k + δx, δy - x[1] * k ]; + }), k = 150, x = 480, y = 250, λ = 0, φ = 0, δλ = 0, δφ = 0, δγ = 0, δx, δy, preclip = d3_geo_clipAntimeridian, postclip = d3_identity, clipAngle = null, clipExtent = null, stream; + function projection(point) { + point = projectRotate(point[0] * d3_radians, point[1] * d3_radians); + return [ point[0] * k + δx, δy - point[1] * k ]; + } + function invert(point) { + point = projectRotate.invert((point[0] - δx) / k, (δy - point[1]) / k); + return point && [ point[0] * d3_degrees, point[1] * d3_degrees ]; + } + projection.stream = function(output) { + if (stream) stream.valid = false; + stream = d3_geo_projectionRadiansRotate(rotate, preclip(projectResample(postclip(output)))); + stream.valid = true; + return stream; + }; + projection.clipAngle = function(_) { + if (!arguments.length) return clipAngle; + preclip = _ == null ? (clipAngle = _, d3_geo_clipAntimeridian) : d3_geo_clipCircle((clipAngle = +_) * d3_radians); + return invalidate(); + }; + projection.clipExtent = function(_) { + if (!arguments.length) return clipExtent; + clipExtent = _; + postclip = _ == null ? d3_identity : d3_geo_clipView(_[0][0], _[0][1], _[1][0], _[1][1]); + return invalidate(); + }; + projection.scale = function(_) { + if (!arguments.length) return k; + k = +_; + return reset(); + }; + projection.translate = function(_) { + if (!arguments.length) return [ x, y ]; + x = +_[0]; + y = +_[1]; + return reset(); + }; + projection.center = function(_) { + if (!arguments.length) return [ λ * d3_degrees, φ * d3_degrees ]; + λ = _[0] % 360 * d3_radians; + φ = _[1] % 360 * d3_radians; + return reset(); + }; + projection.rotate = function(_) { + if (!arguments.length) return [ δλ * d3_degrees, δφ * d3_degrees, δγ * d3_degrees ]; + δλ = _[0] % 360 * d3_radians; + δφ = _[1] % 360 * d3_radians; + δγ = _.length > 2 ? _[2] % 360 * d3_radians : 0; + return reset(); + }; + d3.rebind(projection, projectResample, "precision"); + function reset() { + projectRotate = d3_geo_compose(rotate = d3_geo_rotation(δλ, δφ, δγ), project); + var center = project(λ, φ); + δx = x - center[0] * k; + δy = y + center[1] * k; + return invalidate(); + } + function invalidate() { + if (stream) { + stream.valid = false; + stream = null; + } + return projection; + } + return function() { + project = projectAt.apply(this, arguments); + projection.invert = project.invert && invert; + return reset(); + }; + } + function d3_geo_projectionRadiansRotate(rotate, stream) { + return { + point: function(x, y) { + y = rotate(x * d3_radians, y * d3_radians), x = y[0]; + stream.point(x > π ? x - 2 * π : x < -π ? x + 2 * π : x, y[1]); + }, + sphere: function() { + stream.sphere(); + }, + lineStart: function() { + stream.lineStart(); + }, + lineEnd: function() { + stream.lineEnd(); + }, + polygonStart: function() { + stream.polygonStart(); + }, + polygonEnd: function() { + stream.polygonEnd(); + } + }; + } + function d3_geo_equirectangular(λ, φ) { + return [ λ, φ ]; + } + (d3.geo.equirectangular = function() { + return d3_geo_projection(d3_geo_equirectangular); + }).raw = d3_geo_equirectangular.invert = d3_geo_equirectangular; + d3.geo.rotation = function(rotate) { + rotate = d3_geo_rotation(rotate[0] % 360 * d3_radians, rotate[1] * d3_radians, rotate.length > 2 ? rotate[2] * d3_radians : 0); + function forward(coordinates) { + coordinates = rotate(coordinates[0] * d3_radians, coordinates[1] * d3_radians); + return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates; + } + forward.invert = function(coordinates) { + coordinates = rotate.invert(coordinates[0] * d3_radians, coordinates[1] * d3_radians); + return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates; + }; + return forward; + }; + function d3_geo_rotation(δλ, δφ, δγ) { + return δλ ? δφ || δγ ? d3_geo_compose(d3_geo_rotationλ(δλ), d3_geo_rotationφγ(δφ, δγ)) : d3_geo_rotationλ(δλ) : δφ || δγ ? d3_geo_rotationφγ(δφ, δγ) : d3_geo_equirectangular; + } + function d3_geo_forwardRotationλ(δλ) { + return function(λ, φ) { + return λ += δλ, [ λ > π ? λ - 2 * π : λ < -π ? λ + 2 * π : λ, φ ]; + }; + } + function d3_geo_rotationλ(δλ) { + var rotation = d3_geo_forwardRotationλ(δλ); + rotation.invert = d3_geo_forwardRotationλ(-δλ); + return rotation; + } + function d3_geo_rotationφγ(δφ, δγ) { + var cosδφ = Math.cos(δφ), sinδφ = Math.sin(δφ), cosδγ = Math.cos(δγ), sinδγ = Math.sin(δγ); + function rotation(λ, φ) { + var cosφ = Math.cos(φ), x = Math.cos(λ) * cosφ, y = Math.sin(λ) * cosφ, z = Math.sin(φ), k = z * cosδφ + x * sinδφ; + return [ Math.atan2(y * cosδγ - k * sinδγ, x * cosδφ - z * sinδφ), d3_asin(k * cosδγ + y * sinδγ) ]; + } + rotation.invert = function(λ, φ) { + var cosφ = Math.cos(φ), x = Math.cos(λ) * cosφ, y = Math.sin(λ) * cosφ, z = Math.sin(φ), k = z * cosδγ - y * sinδγ; + return [ Math.atan2(y * cosδγ + z * sinδγ, x * cosδφ + k * sinδφ), d3_asin(k * cosδφ - x * sinδφ) ]; + }; + return rotation; + } + d3.geo.circle = function() { + var origin = [ 0, 0 ], angle, precision = 6, interpolate; + function circle() { + var center = typeof origin === "function" ? origin.apply(this, arguments) : origin, rotate = d3_geo_rotation(-center[0] * d3_radians, -center[1] * d3_radians, 0).invert, ring = []; + interpolate(null, null, 1, { + point: function(x, y) { + ring.push(x = rotate(x, y)); + x[0] *= d3_degrees, x[1] *= d3_degrees; + } + }); + return { + type: "Polygon", + coordinates: [ ring ] + }; + } + circle.origin = function(x) { + if (!arguments.length) return origin; + origin = x; + return circle; + }; + circle.angle = function(x) { + if (!arguments.length) return angle; + interpolate = d3_geo_circleInterpolate((angle = +x) * d3_radians, precision * d3_radians); + return circle; + }; + circle.precision = function(_) { + if (!arguments.length) return precision; + interpolate = d3_geo_circleInterpolate(angle * d3_radians, (precision = +_) * d3_radians); + return circle; + }; + return circle.angle(90); + }; + function d3_geo_circleInterpolate(radius, precision) { + var cr = Math.cos(radius), sr = Math.sin(radius); + return function(from, to, direction, listener) { + if (from != null) { + from = d3_geo_circleAngle(cr, from); + to = d3_geo_circleAngle(cr, to); + if (direction > 0 ? from < to : from > to) from += direction * 2 * π; + } else { + from = radius + direction * 2 * π; + to = radius; + } + var point; + for (var step = direction * precision, t = from; direction > 0 ? t > to : t < to; t -= step) { + listener.point((point = d3_geo_spherical([ cr, -sr * Math.cos(t), -sr * Math.sin(t) ]))[0], point[1]); + } + }; + } + function d3_geo_circleAngle(cr, point) { + var a = d3_geo_cartesian(point); + a[0] -= cr; + d3_geo_cartesianNormalize(a); + var angle = d3_acos(-a[1]); + return ((-a[2] < 0 ? -angle : angle) + 2 * Math.PI - ε) % (2 * Math.PI); + } + d3.geo.distance = function(a, b) { + var Δλ = (b[0] - a[0]) * d3_radians, φ0 = a[1] * d3_radians, φ1 = b[1] * d3_radians, sinΔλ = Math.sin(Δλ), cosΔλ = Math.cos(Δλ), sinφ0 = Math.sin(φ0), cosφ0 = Math.cos(φ0), sinφ1 = Math.sin(φ1), cosφ1 = Math.cos(φ1), t; + return Math.atan2(Math.sqrt((t = cosφ1 * sinΔλ) * t + (t = cosφ0 * sinφ1 - sinφ0 * cosφ1 * cosΔλ) * t), sinφ0 * sinφ1 + cosφ0 * cosφ1 * cosΔλ); + }; + d3.geo.graticule = function() { + var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5; + function graticule() { + return { + type: "MultiLineString", + coordinates: lines() + }; + } + function lines() { + return d3.range(Math.ceil(X0 / DX) * DX, X1, DX).map(X).concat(d3.range(Math.ceil(Y0 / DY) * DY, Y1, DY).map(Y)).concat(d3.range(Math.ceil(x0 / dx) * dx, x1, dx).filter(function(x) { + return Math.abs(x % DX) > ε; + }).map(x)).concat(d3.range(Math.ceil(y0 / dy) * dy, y1, dy).filter(function(y) { + return Math.abs(y % DY) > ε; + }).map(y)); + } + graticule.lines = function() { + return lines().map(function(coordinates) { + return { + type: "LineString", + coordinates: coordinates + }; + }); + }; + graticule.outline = function() { + return { + type: "Polygon", + coordinates: [ X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1)) ] + }; + }; + graticule.extent = function(_) { + if (!arguments.length) return graticule.minorExtent(); + return graticule.majorExtent(_).minorExtent(_); + }; + graticule.majorExtent = function(_) { + if (!arguments.length) return [ [ X0, Y0 ], [ X1, Y1 ] ]; + X0 = +_[0][0], X1 = +_[1][0]; + Y0 = +_[0][1], Y1 = +_[1][1]; + if (X0 > X1) _ = X0, X0 = X1, X1 = _; + if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _; + return graticule.precision(precision); + }; + graticule.minorExtent = function(_) { + if (!arguments.length) return [ [ x0, y0 ], [ x1, y1 ] ]; + x0 = +_[0][0], x1 = +_[1][0]; + y0 = +_[0][1], y1 = +_[1][1]; + if (x0 > x1) _ = x0, x0 = x1, x1 = _; + if (y0 > y1) _ = y0, y0 = y1, y1 = _; + return graticule.precision(precision); + }; + graticule.step = function(_) { + if (!arguments.length) return graticule.minorStep(); + return graticule.majorStep(_).minorStep(_); + }; + graticule.majorStep = function(_) { + if (!arguments.length) return [ DX, DY ]; + DX = +_[0], DY = +_[1]; + return graticule; + }; + graticule.minorStep = function(_) { + if (!arguments.length) return [ dx, dy ]; + dx = +_[0], dy = +_[1]; + return graticule; + }; + graticule.precision = function(_) { + if (!arguments.length) return precision; + precision = +_; + x = d3_geo_graticuleX(y0, y1, 90); + y = d3_geo_graticuleY(x0, x1, precision); + X = d3_geo_graticuleX(Y0, Y1, 90); + Y = d3_geo_graticuleY(X0, X1, precision); + return graticule; + }; + return graticule.majorExtent([ [ -180, -90 + ε ], [ 180, 90 - ε ] ]).minorExtent([ [ -180, -80 - ε ], [ 180, 80 + ε ] ]); + }; + function d3_geo_graticuleX(y0, y1, dy) { + var y = d3.range(y0, y1 - ε, dy).concat(y1); + return function(x) { + return y.map(function(y) { + return [ x, y ]; + }); + }; + } + function d3_geo_graticuleY(x0, x1, dx) { + var x = d3.range(x0, x1 - ε, dx).concat(x1); + return function(y) { + return x.map(function(x) { + return [ x, y ]; + }); + }; + } + function d3_source(d) { + return d.source; + } + function d3_target(d) { + return d.target; + } + d3.geo.greatArc = function() { + var source = d3_source, source_, target = d3_target, target_; + function greatArc() { + return { + type: "LineString", + coordinates: [ source_ || source.apply(this, arguments), target_ || target.apply(this, arguments) ] + }; + } + greatArc.distance = function() { + return d3.geo.distance(source_ || source.apply(this, arguments), target_ || target.apply(this, arguments)); + }; + greatArc.source = function(_) { + if (!arguments.length) return source; + source = _, source_ = typeof _ === "function" ? null : _; + return greatArc; + }; + greatArc.target = function(_) { + if (!arguments.length) return target; + target = _, target_ = typeof _ === "function" ? null : _; + return greatArc; + }; + greatArc.precision = function() { + return arguments.length ? greatArc : 0; + }; + return greatArc; + }; + d3.geo.interpolate = function(source, target) { + return d3_geo_interpolate(source[0] * d3_radians, source[1] * d3_radians, target[0] * d3_radians, target[1] * d3_radians); + }; + function d3_geo_interpolate(x0, y0, x1, y1) { + var cy0 = Math.cos(y0), sy0 = Math.sin(y0), cy1 = Math.cos(y1), sy1 = Math.sin(y1), kx0 = cy0 * Math.cos(x0), ky0 = cy0 * Math.sin(x0), kx1 = cy1 * Math.cos(x1), ky1 = cy1 * Math.sin(x1), d = 2 * Math.asin(Math.sqrt(d3_haversin(y1 - y0) + cy0 * cy1 * d3_haversin(x1 - x0))), k = 1 / Math.sin(d); + var interpolate = d ? function(t) { + var B = Math.sin(t *= d) * k, A = Math.sin(d - t) * k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1; + return [ Math.atan2(y, x) * d3_degrees, Math.atan2(z, Math.sqrt(x * x + y * y)) * d3_degrees ]; + } : function() { + return [ x0 * d3_degrees, y0 * d3_degrees ]; + }; + interpolate.distance = d; + return interpolate; + } + d3.geo.length = function(object) { + d3_geo_lengthSum = 0; + d3.geo.stream(object, d3_geo_length); + return d3_geo_lengthSum; + }; + var d3_geo_lengthSum; + var d3_geo_length = { + sphere: d3_noop, + point: d3_noop, + lineStart: d3_geo_lengthLineStart, + lineEnd: d3_noop, + polygonStart: d3_noop, + polygonEnd: d3_noop + }; + function d3_geo_lengthLineStart() { + var λ0, sinφ0, cosφ0; + d3_geo_length.point = function(λ, φ) { + λ0 = λ * d3_radians, sinφ0 = Math.sin(φ *= d3_radians), cosφ0 = Math.cos(φ); + d3_geo_length.point = nextPoint; + }; + d3_geo_length.lineEnd = function() { + d3_geo_length.point = d3_geo_length.lineEnd = d3_noop; + }; + function nextPoint(λ, φ) { + var sinφ = Math.sin(φ *= d3_radians), cosφ = Math.cos(φ), t = Math.abs((λ *= d3_radians) - λ0), cosΔλ = Math.cos(t); + d3_geo_lengthSum += Math.atan2(Math.sqrt((t = cosφ * Math.sin(t)) * t + (t = cosφ0 * sinφ - sinφ0 * cosφ * cosΔλ) * t), sinφ0 * sinφ + cosφ0 * cosφ * cosΔλ); + λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ; + } + } + function d3_geo_azimuthal(scale, angle) { + function azimuthal(λ, φ) { + var cosλ = Math.cos(λ), cosφ = Math.cos(φ), k = scale(cosλ * cosφ); + return [ k * cosφ * Math.sin(λ), k * Math.sin(φ) ]; + } + azimuthal.invert = function(x, y) { + var ρ = Math.sqrt(x * x + y * y), c = angle(ρ), sinc = Math.sin(c), cosc = Math.cos(c); + return [ Math.atan2(x * sinc, ρ * cosc), Math.asin(ρ && y * sinc / ρ) ]; + }; + return azimuthal; + } + var d3_geo_azimuthalEqualArea = d3_geo_azimuthal(function(cosλcosφ) { + return Math.sqrt(2 / (1 + cosλcosφ)); + }, function(ρ) { + return 2 * Math.asin(ρ / 2); + }); + (d3.geo.azimuthalEqualArea = function() { + return d3_geo_projection(d3_geo_azimuthalEqualArea); + }).raw = d3_geo_azimuthalEqualArea; + var d3_geo_azimuthalEquidistant = d3_geo_azimuthal(function(cosλcosφ) { + var c = Math.acos(cosλcosφ); + return c && c / Math.sin(c); + }, d3_identity); + (d3.geo.azimuthalEquidistant = function() { + return d3_geo_projection(d3_geo_azimuthalEquidistant); + }).raw = d3_geo_azimuthalEquidistant; + function d3_geo_conicConformal(φ0, φ1) { + var cosφ0 = Math.cos(φ0), t = function(φ) { + return Math.tan(π / 4 + φ / 2); + }, n = φ0 === φ1 ? Math.sin(φ0) : Math.log(cosφ0 / Math.cos(φ1)) / Math.log(t(φ1) / t(φ0)), F = cosφ0 * Math.pow(t(φ0), n) / n; + if (!n) return d3_geo_mercator; + function forward(λ, φ) { + var ρ = Math.abs(Math.abs(φ) - π / 2) < ε ? 0 : F / Math.pow(t(φ), n); + return [ ρ * Math.sin(n * λ), F - ρ * Math.cos(n * λ) ]; + } + forward.invert = function(x, y) { + var ρ0_y = F - y, ρ = d3_sgn(n) * Math.sqrt(x * x + ρ0_y * ρ0_y); + return [ Math.atan2(x, ρ0_y) / n, 2 * Math.atan(Math.pow(F / ρ, 1 / n)) - π / 2 ]; + }; + return forward; + } + (d3.geo.conicConformal = function() { + return d3_geo_conic(d3_geo_conicConformal); + }).raw = d3_geo_conicConformal; + function d3_geo_conicEquidistant(φ0, φ1) { + var cosφ0 = Math.cos(φ0), n = φ0 === φ1 ? Math.sin(φ0) : (cosφ0 - Math.cos(φ1)) / (φ1 - φ0), G = cosφ0 / n + φ0; + if (Math.abs(n) < ε) return d3_geo_equirectangular; + function forward(λ, φ) { + var ρ = G - φ; + return [ ρ * Math.sin(n * λ), G - ρ * Math.cos(n * λ) ]; + } + forward.invert = function(x, y) { + var ρ0_y = G - y; + return [ Math.atan2(x, ρ0_y) / n, G - d3_sgn(n) * Math.sqrt(x * x + ρ0_y * ρ0_y) ]; + }; + return forward; + } + (d3.geo.conicEquidistant = function() { + return d3_geo_conic(d3_geo_conicEquidistant); + }).raw = d3_geo_conicEquidistant; + var d3_geo_gnomonic = d3_geo_azimuthal(function(cosλcosφ) { + return 1 / cosλcosφ; + }, Math.atan); + (d3.geo.gnomonic = function() { + return d3_geo_projection(d3_geo_gnomonic); + }).raw = d3_geo_gnomonic; + function d3_geo_mercator(λ, φ) { + return [ λ, Math.log(Math.tan(π / 4 + φ / 2)) ]; + } + d3_geo_mercator.invert = function(x, y) { + return [ x, 2 * Math.atan(Math.exp(y)) - π / 2 ]; + }; + function d3_geo_mercatorProjection(project) { + var m = d3_geo_projection(project), scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, clipAuto; + m.scale = function() { + var v = scale.apply(m, arguments); + return v === m ? clipAuto ? m.clipExtent(null) : m : v; + }; + m.translate = function() { + var v = translate.apply(m, arguments); + return v === m ? clipAuto ? m.clipExtent(null) : m : v; + }; + m.clipExtent = function(_) { + var v = clipExtent.apply(m, arguments); + if (v === m) { + if (clipAuto = _ == null) { + var k = π * scale(), t = translate(); + clipExtent([ [ t[0] - k, t[1] - k ], [ t[0] + k, t[1] + k ] ]); + } + } else if (clipAuto) { + v = null; + } + return v; + }; + return m.clipExtent(null); + } + (d3.geo.mercator = function() { + return d3_geo_mercatorProjection(d3_geo_mercator); + }).raw = d3_geo_mercator; + var d3_geo_orthographic = d3_geo_azimuthal(function() { + return 1; + }, Math.asin); + (d3.geo.orthographic = function() { + return d3_geo_projection(d3_geo_orthographic); + }).raw = d3_geo_orthographic; + var d3_geo_stereographic = d3_geo_azimuthal(function(cosλcosφ) { + return 1 / (1 + cosλcosφ); + }, function(ρ) { + return 2 * Math.atan(ρ); + }); + (d3.geo.stereographic = function() { + return d3_geo_projection(d3_geo_stereographic); + }).raw = d3_geo_stereographic; + function d3_geo_transverseMercator(λ, φ) { + var B = Math.cos(φ) * Math.sin(λ); + return [ Math.log((1 + B) / (1 - B)) / 2, Math.atan2(Math.tan(φ), Math.cos(λ)) ]; + } + d3_geo_transverseMercator.invert = function(x, y) { + return [ Math.atan2(d3_sinh(x), Math.cos(y)), d3_asin(Math.sin(y) / d3_cosh(x)) ]; + }; + (d3.geo.transverseMercator = function() { + return d3_geo_mercatorProjection(d3_geo_transverseMercator); + }).raw = d3_geo_transverseMercator; + d3.geom = {}; + d3.svg = {}; + function d3_svg_line(projection) { + var x = d3_svg_lineX, y = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, tension = .7; + function line(data) { + var segments = [], points = [], i = -1, n = data.length, d, fx = d3_functor(x), fy = d3_functor(y); + function segment() { + segments.push("M", interpolate(projection(points), tension)); + } + while (++i < n) { + if (defined.call(this, d = data[i], i)) { + points.push([ +fx.call(this, d, i), +fy.call(this, d, i) ]); + } else if (points.length) { + segment(); + points = []; + } + } + if (points.length) segment(); + return segments.length ? segments.join("") : null; + } + line.x = function(_) { + if (!arguments.length) return x; + x = _; + return line; + }; + line.y = function(_) { + if (!arguments.length) return y; + y = _; + return line; + }; + line.defined = function(_) { + if (!arguments.length) return defined; + defined = _; + return line; + }; + line.interpolate = function(_) { + if (!arguments.length) return interpolateKey; + if (typeof _ === "function") interpolateKey = interpolate = _; else interpolateKey = (interpolate = d3_svg_lineInterpolators.get(_) || d3_svg_lineLinear).key; + return line; + }; + line.tension = function(_) { + if (!arguments.length) return tension; + tension = _; + return line; + }; + return line; + } + d3.svg.line = function() { + return d3_svg_line(d3_identity); + }; + function d3_svg_lineX(d) { + return d[0]; + } + function d3_svg_lineY(d) { + return d[1]; + } + var d3_svg_lineInterpolators = d3.map({ + linear: d3_svg_lineLinear, + "linear-closed": d3_svg_lineLinearClosed, + step: d3_svg_lineStep, + "step-before": d3_svg_lineStepBefore, + "step-after": d3_svg_lineStepAfter, + basis: d3_svg_lineBasis, + "basis-open": d3_svg_lineBasisOpen, + "basis-closed": d3_svg_lineBasisClosed, + bundle: d3_svg_lineBundle, + cardinal: d3_svg_lineCardinal, + "cardinal-open": d3_svg_lineCardinalOpen, + "cardinal-closed": d3_svg_lineCardinalClosed, + monotone: d3_svg_lineMonotone + }); + d3_svg_lineInterpolators.forEach(function(key, value) { + value.key = key; + value.closed = /-closed$/.test(key); + }); + function d3_svg_lineLinear(points) { + return points.join("L"); + } + function d3_svg_lineLinearClosed(points) { + return d3_svg_lineLinear(points) + "Z"; + } + function d3_svg_lineStep(points) { + var i = 0, n = points.length, p = points[0], path = [ p[0], ",", p[1] ]; + while (++i < n) path.push("H", (p[0] + (p = points[i])[0]) / 2, "V", p[1]); + if (n > 1) path.push("H", p[0]); + return path.join(""); + } + function d3_svg_lineStepBefore(points) { + var i = 0, n = points.length, p = points[0], path = [ p[0], ",", p[1] ]; + while (++i < n) path.push("V", (p = points[i])[1], "H", p[0]); + return path.join(""); + } + function d3_svg_lineStepAfter(points) { + var i = 0, n = points.length, p = points[0], path = [ p[0], ",", p[1] ]; + while (++i < n) path.push("H", (p = points[i])[0], "V", p[1]); + return path.join(""); + } + function d3_svg_lineCardinalOpen(points, tension) { + return points.length < 4 ? d3_svg_lineLinear(points) : points[1] + d3_svg_lineHermite(points.slice(1, points.length - 1), d3_svg_lineCardinalTangents(points, tension)); + } + function d3_svg_lineCardinalClosed(points, tension) { + return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite((points.push(points[0]), + points), d3_svg_lineCardinalTangents([ points[points.length - 2] ].concat(points, [ points[1] ]), tension)); + } + function d3_svg_lineCardinal(points, tension) { + return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite(points, d3_svg_lineCardinalTangents(points, tension)); + } + function d3_svg_lineHermite(points, tangents) { + if (tangents.length < 1 || points.length != tangents.length && points.length != tangents.length + 2) { + return d3_svg_lineLinear(points); + } + var quad = points.length != tangents.length, path = "", p0 = points[0], p = points[1], t0 = tangents[0], t = t0, pi = 1; + if (quad) { + path += "Q" + (p[0] - t0[0] * 2 / 3) + "," + (p[1] - t0[1] * 2 / 3) + "," + p[0] + "," + p[1]; + p0 = points[1]; + pi = 2; + } + if (tangents.length > 1) { + t = tangents[1]; + p = points[pi]; + pi++; + path += "C" + (p0[0] + t0[0]) + "," + (p0[1] + t0[1]) + "," + (p[0] - t[0]) + "," + (p[1] - t[1]) + "," + p[0] + "," + p[1]; + for (var i = 2; i < tangents.length; i++, pi++) { + p = points[pi]; + t = tangents[i]; + path += "S" + (p[0] - t[0]) + "," + (p[1] - t[1]) + "," + p[0] + "," + p[1]; + } + } + if (quad) { + var lp = points[pi]; + path += "Q" + (p[0] + t[0] * 2 / 3) + "," + (p[1] + t[1] * 2 / 3) + "," + lp[0] + "," + lp[1]; + } + return path; + } + function d3_svg_lineCardinalTangents(points, tension) { + var tangents = [], a = (1 - tension) / 2, p0, p1 = points[0], p2 = points[1], i = 1, n = points.length; + while (++i < n) { + p0 = p1; + p1 = p2; + p2 = points[i]; + tangents.push([ a * (p2[0] - p0[0]), a * (p2[1] - p0[1]) ]); + } + return tangents; + } + function d3_svg_lineBasis(points) { + if (points.length < 3) return d3_svg_lineLinear(points); + var i = 1, n = points.length, pi = points[0], x0 = pi[0], y0 = pi[1], px = [ x0, x0, x0, (pi = points[1])[0] ], py = [ y0, y0, y0, pi[1] ], path = [ x0, ",", y0, "L", d3_svg_lineDot4(d3_svg_lineBasisBezier3, px), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, py) ]; + points.push(points[n - 1]); + while (++i <= n) { + pi = points[i]; + px.shift(); + px.push(pi[0]); + py.shift(); + py.push(pi[1]); + d3_svg_lineBasisBezier(path, px, py); + } + points.pop(); + path.push("L", pi); + return path.join(""); + } + function d3_svg_lineBasisOpen(points) { + if (points.length < 4) return d3_svg_lineLinear(points); + var path = [], i = -1, n = points.length, pi, px = [ 0 ], py = [ 0 ]; + while (++i < 3) { + pi = points[i]; + px.push(pi[0]); + py.push(pi[1]); + } + path.push(d3_svg_lineDot4(d3_svg_lineBasisBezier3, px) + "," + d3_svg_lineDot4(d3_svg_lineBasisBezier3, py)); + --i; + while (++i < n) { + pi = points[i]; + px.shift(); + px.push(pi[0]); + py.shift(); + py.push(pi[1]); + d3_svg_lineBasisBezier(path, px, py); + } + return path.join(""); + } + function d3_svg_lineBasisClosed(points) { + var path, i = -1, n = points.length, m = n + 4, pi, px = [], py = []; + while (++i < 4) { + pi = points[i % n]; + px.push(pi[0]); + py.push(pi[1]); + } + path = [ d3_svg_lineDot4(d3_svg_lineBasisBezier3, px), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, py) ]; + --i; + while (++i < m) { + pi = points[i % n]; + px.shift(); + px.push(pi[0]); + py.shift(); + py.push(pi[1]); + d3_svg_lineBasisBezier(path, px, py); + } + return path.join(""); + } + function d3_svg_lineBundle(points, tension) { + var n = points.length - 1; + if (n) { + var x0 = points[0][0], y0 = points[0][1], dx = points[n][0] - x0, dy = points[n][1] - y0, i = -1, p, t; + while (++i <= n) { + p = points[i]; + t = i / n; + p[0] = tension * p[0] + (1 - tension) * (x0 + t * dx); + p[1] = tension * p[1] + (1 - tension) * (y0 + t * dy); + } + } + return d3_svg_lineBasis(points); + } + function d3_svg_lineDot4(a, b) { + return a[0] * b[0] + a[1] * b[1] + a[2] * b[2] + a[3] * b[3]; + } + var d3_svg_lineBasisBezier1 = [ 0, 2 / 3, 1 / 3, 0 ], d3_svg_lineBasisBezier2 = [ 0, 1 / 3, 2 / 3, 0 ], d3_svg_lineBasisBezier3 = [ 0, 1 / 6, 2 / 3, 1 / 6 ]; + function d3_svg_lineBasisBezier(path, x, y) { + path.push("C", d3_svg_lineDot4(d3_svg_lineBasisBezier1, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier1, y), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier2, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier2, y), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, y)); + } + function d3_svg_lineSlope(p0, p1) { + return (p1[1] - p0[1]) / (p1[0] - p0[0]); + } + function d3_svg_lineFiniteDifferences(points) { + var i = 0, j = points.length - 1, m = [], p0 = points[0], p1 = points[1], d = m[0] = d3_svg_lineSlope(p0, p1); + while (++i < j) { + m[i] = (d + (d = d3_svg_lineSlope(p0 = p1, p1 = points[i + 1]))) / 2; + } + m[i] = d; + return m; + } + function d3_svg_lineMonotoneTangents(points) { + var tangents = [], d, a, b, s, m = d3_svg_lineFiniteDifferences(points), i = -1, j = points.length - 1; + while (++i < j) { + d = d3_svg_lineSlope(points[i], points[i + 1]); + if (Math.abs(d) < 1e-6) { + m[i] = m[i + 1] = 0; + } else { + a = m[i] / d; + b = m[i + 1] / d; + s = a * a + b * b; + if (s > 9) { + s = d * 3 / Math.sqrt(s); + m[i] = s * a; + m[i + 1] = s * b; + } + } + } + i = -1; + while (++i <= j) { + s = (points[Math.min(j, i + 1)][0] - points[Math.max(0, i - 1)][0]) / (6 * (1 + m[i] * m[i])); + tangents.push([ s || 0, m[i] * s || 0 ]); + } + return tangents; + } + function d3_svg_lineMonotone(points) { + return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite(points, d3_svg_lineMonotoneTangents(points)); + } + d3.geom.hull = function(vertices) { + var x = d3_svg_lineX, y = d3_svg_lineY; + if (arguments.length) return hull(vertices); + function hull(data) { + if (data.length < 3) return []; + var fx = d3_functor(x), fy = d3_functor(y), n = data.length, vertices, plen = n - 1, points = [], stack = [], d, i, j, h = 0, x1, y1, x2, y2, u, v, a, sp; + if (fx === d3_svg_lineX && y === d3_svg_lineY) vertices = data; else for (i = 0, + vertices = []; i < n; ++i) { + vertices.push([ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ]); + } + for (i = 1; i < n; ++i) { + if (vertices[i][1] < vertices[h][1] || vertices[i][1] == vertices[h][1] && vertices[i][0] < vertices[h][0]) h = i; + } + for (i = 0; i < n; ++i) { + if (i === h) continue; + y1 = vertices[i][1] - vertices[h][1]; + x1 = vertices[i][0] - vertices[h][0]; + points.push({ + angle: Math.atan2(y1, x1), + index: i + }); + } + points.sort(function(a, b) { + return a.angle - b.angle; + }); + a = points[0].angle; + v = points[0].index; + u = 0; + for (i = 1; i < plen; ++i) { + j = points[i].index; + if (a == points[i].angle) { + x1 = vertices[v][0] - vertices[h][0]; + y1 = vertices[v][1] - vertices[h][1]; + x2 = vertices[j][0] - vertices[h][0]; + y2 = vertices[j][1] - vertices[h][1]; + if (x1 * x1 + y1 * y1 >= x2 * x2 + y2 * y2) { + points[i].index = -1; + continue; + } else { + points[u].index = -1; + } + } + a = points[i].angle; + u = i; + v = j; + } + stack.push(h); + for (i = 0, j = 0; i < 2; ++j) { + if (points[j].index > -1) { + stack.push(points[j].index); + i++; + } + } + sp = stack.length; + for (;j < plen; ++j) { + if (points[j].index < 0) continue; + while (!d3_geom_hullCCW(stack[sp - 2], stack[sp - 1], points[j].index, vertices)) { + --sp; + } + stack[sp++] = points[j].index; + } + var poly = []; + for (i = sp - 1; i >= 0; --i) poly.push(data[stack[i]]); + return poly; + } + hull.x = function(_) { + return arguments.length ? (x = _, hull) : x; + }; + hull.y = function(_) { + return arguments.length ? (y = _, hull) : y; + }; + return hull; + }; + function d3_geom_hullCCW(i1, i2, i3, v) { + var t, a, b, c, d, e, f; + t = v[i1]; + a = t[0]; + b = t[1]; + t = v[i2]; + c = t[0]; + d = t[1]; + t = v[i3]; + e = t[0]; + f = t[1]; + return (f - b) * (c - a) - (d - b) * (e - a) > 0; + } + d3.geom.polygon = function(coordinates) { + d3_subclass(coordinates, d3_geom_polygonPrototype); + return coordinates; + }; + var d3_geom_polygonPrototype = d3.geom.polygon.prototype = []; + d3_geom_polygonPrototype.area = function() { + var i = -1, n = this.length, a, b = this[n - 1], area = 0; + while (++i < n) { + a = b; + b = this[i]; + area += a[1] * b[0] - a[0] * b[1]; + } + return area * .5; + }; + d3_geom_polygonPrototype.centroid = function(k) { + var i = -1, n = this.length, x = 0, y = 0, a, b = this[n - 1], c; + if (!arguments.length) k = -1 / (6 * this.area()); + while (++i < n) { + a = b; + b = this[i]; + c = a[0] * b[1] - b[0] * a[1]; + x += (a[0] + b[0]) * c; + y += (a[1] + b[1]) * c; + } + return [ x * k, y * k ]; + }; + d3_geom_polygonPrototype.clip = function(subject) { + var input, closed = d3_geom_polygonClosed(subject), i = -1, n = this.length - d3_geom_polygonClosed(this), j, m, a = this[n - 1], b, c, d; + while (++i < n) { + input = subject.slice(); + subject.length = 0; + b = this[i]; + c = input[(m = input.length - closed) - 1]; + j = -1; + while (++j < m) { + d = input[j]; + if (d3_geom_polygonInside(d, a, b)) { + if (!d3_geom_polygonInside(c, a, b)) { + subject.push(d3_geom_polygonIntersect(c, d, a, b)); + } + subject.push(d); + } else if (d3_geom_polygonInside(c, a, b)) { + subject.push(d3_geom_polygonIntersect(c, d, a, b)); + } + c = d; + } + if (closed) subject.push(subject[0]); + a = b; + } + return subject; + }; + function d3_geom_polygonInside(p, a, b) { + return (b[0] - a[0]) * (p[1] - a[1]) < (b[1] - a[1]) * (p[0] - a[0]); + } + function d3_geom_polygonIntersect(c, d, a, b) { + var x1 = c[0], x3 = a[0], x21 = d[0] - x1, x43 = b[0] - x3, y1 = c[1], y3 = a[1], y21 = d[1] - y1, y43 = b[1] - y3, ua = (x43 * (y1 - y3) - y43 * (x1 - x3)) / (y43 * x21 - x43 * y21); + return [ x1 + ua * x21, y1 + ua * y21 ]; + } + function d3_geom_polygonClosed(coordinates) { + var a = coordinates[0], b = coordinates[coordinates.length - 1]; + return !(a[0] - b[0] || a[1] - b[1]); + } + d3.geom.delaunay = function(vertices) { + var edges = vertices.map(function() { + return []; + }), triangles = []; + d3_geom_voronoiTessellate(vertices, function(e) { + edges[e.region.l.index].push(vertices[e.region.r.index]); + }); + edges.forEach(function(edge, i) { + var v = vertices[i], cx = v[0], cy = v[1]; + edge.forEach(function(v) { + v.angle = Math.atan2(v[0] - cx, v[1] - cy); + }); + edge.sort(function(a, b) { + return a.angle - b.angle; + }); + for (var j = 0, m = edge.length - 1; j < m; j++) { + triangles.push([ v, edge[j], edge[j + 1] ]); + } + }); + return triangles; + }; + d3.geom.voronoi = function(points) { + var x = d3_svg_lineX, y = d3_svg_lineY, clipPolygon = null; + if (arguments.length) return voronoi(points); + function voronoi(data) { + var points, polygons = data.map(function() { + return []; + }), fx = d3_functor(x), fy = d3_functor(y), d, i, n = data.length, Z = 1e6; + if (fx === d3_svg_lineX && fy === d3_svg_lineY) points = data; else for (points = new Array(n), + i = 0; i < n; ++i) { + points[i] = [ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ]; + } + d3_geom_voronoiTessellate(points, function(e) { + var s1, s2, x1, x2, y1, y2; + if (e.a === 1 && e.b >= 0) { + s1 = e.ep.r; + s2 = e.ep.l; + } else { + s1 = e.ep.l; + s2 = e.ep.r; + } + if (e.a === 1) { + y1 = s1 ? s1.y : -Z; + x1 = e.c - e.b * y1; + y2 = s2 ? s2.y : Z; + x2 = e.c - e.b * y2; + } else { + x1 = s1 ? s1.x : -Z; + y1 = e.c - e.a * x1; + x2 = s2 ? s2.x : Z; + y2 = e.c - e.a * x2; + } + var v1 = [ x1, y1 ], v2 = [ x2, y2 ]; + polygons[e.region.l.index].push(v1, v2); + polygons[e.region.r.index].push(v1, v2); + }); + polygons = polygons.map(function(polygon, i) { + var cx = points[i][0], cy = points[i][1], angle = polygon.map(function(v) { + return Math.atan2(v[0] - cx, v[1] - cy); + }), order = d3.range(polygon.length).sort(function(a, b) { + return angle[a] - angle[b]; + }); + return order.filter(function(d, i) { + return !i || angle[d] - angle[order[i - 1]] > ε; + }).map(function(d) { + return polygon[d]; + }); + }); + polygons.forEach(function(polygon, i) { + var n = polygon.length; + if (!n) return polygon.push([ -Z, -Z ], [ -Z, Z ], [ Z, Z ], [ Z, -Z ]); + if (n > 2) return; + var p0 = points[i], p1 = polygon[0], p2 = polygon[1], x0 = p0[0], y0 = p0[1], x1 = p1[0], y1 = p1[1], x2 = p2[0], y2 = p2[1], dx = Math.abs(x2 - x1), dy = y2 - y1; + if (Math.abs(dy) < ε) { + var y = y0 < y1 ? -Z : Z; + polygon.push([ -Z, y ], [ Z, y ]); + } else if (dx < ε) { + var x = x0 < x1 ? -Z : Z; + polygon.push([ x, -Z ], [ x, Z ]); + } else { + var y = (x2 - x1) * (y1 - y0) < (x1 - x0) * (y2 - y1) ? Z : -Z, z = Math.abs(dy) - dx; + if (Math.abs(z) < ε) { + polygon.push([ dy < 0 ? y : -y, y ]); + } else { + if (z > 0) y *= -1; + polygon.push([ -Z, y ], [ Z, y ]); + } + } + }); + if (clipPolygon) for (i = 0; i < n; ++i) clipPolygon.clip(polygons[i]); + for (i = 0; i < n; ++i) polygons[i].point = data[i]; + return polygons; + } + voronoi.x = function(_) { + return arguments.length ? (x = _, voronoi) : x; + }; + voronoi.y = function(_) { + return arguments.length ? (y = _, voronoi) : y; + }; + voronoi.clipExtent = function(_) { + if (!arguments.length) return clipPolygon && [ clipPolygon[0], clipPolygon[2] ]; + if (_ == null) clipPolygon = null; else { + var x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0], y2 = +_[1][1]; + clipPolygon = d3.geom.polygon([ [ x1, y1 ], [ x1, y2 ], [ x2, y2 ], [ x2, y1 ] ]); + } + return voronoi; + }; + voronoi.size = function(_) { + if (!arguments.length) return clipPolygon && clipPolygon[2]; + return voronoi.clipExtent(_ && [ [ 0, 0 ], _ ]); + }; + voronoi.links = function(data) { + var points, graph = data.map(function() { + return []; + }), links = [], fx = d3_functor(x), fy = d3_functor(y), d, i, n = data.length; + if (fx === d3_svg_lineX && fy === d3_svg_lineY) points = data; else for (points = new Array(n), + i = 0; i < n; ++i) { + points[i] = [ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ]; + } + d3_geom_voronoiTessellate(points, function(e) { + var l = e.region.l.index, r = e.region.r.index; + if (graph[l][r]) return; + graph[l][r] = graph[r][l] = true; + links.push({ + source: data[l], + target: data[r] + }); + }); + return links; + }; + voronoi.triangles = function(data) { + if (x === d3_svg_lineX && y === d3_svg_lineY) return d3.geom.delaunay(data); + var points = new Array(n), fx = d3_functor(x), fy = d3_functor(y), d, i = -1, n = data.length; + while (++i < n) { + (points[i] = [ +fx.call(this, d = data[i], i), +fy.call(this, d, i) ]).data = d; + } + return d3.geom.delaunay(points).map(function(triangle) { + return triangle.map(function(point) { + return point.data; + }); + }); + }; + return voronoi; + }; + var d3_geom_voronoiOpposite = { + l: "r", + r: "l" + }; + function d3_geom_voronoiTessellate(points, callback) { + var Sites = { + list: points.map(function(v, i) { + return { + index: i, + x: v[0], + y: v[1] + }; + }).sort(function(a, b) { + return a.y < b.y ? -1 : a.y > b.y ? 1 : a.x < b.x ? -1 : a.x > b.x ? 1 : 0; + }), + bottomSite: null + }; + var EdgeList = { + list: [], + leftEnd: null, + rightEnd: null, + init: function() { + EdgeList.leftEnd = EdgeList.createHalfEdge(null, "l"); + EdgeList.rightEnd = EdgeList.createHalfEdge(null, "l"); + EdgeList.leftEnd.r = EdgeList.rightEnd; + EdgeList.rightEnd.l = EdgeList.leftEnd; + EdgeList.list.unshift(EdgeList.leftEnd, EdgeList.rightEnd); + }, + createHalfEdge: function(edge, side) { + return { + edge: edge, + side: side, + vertex: null, + l: null, + r: null + }; + }, + insert: function(lb, he) { + he.l = lb; + he.r = lb.r; + lb.r.l = he; + lb.r = he; + }, + leftBound: function(p) { + var he = EdgeList.leftEnd; + do { + he = he.r; + } while (he != EdgeList.rightEnd && Geom.rightOf(he, p)); + he = he.l; + return he; + }, + del: function(he) { + he.l.r = he.r; + he.r.l = he.l; + he.edge = null; + }, + right: function(he) { + return he.r; + }, + left: function(he) { + return he.l; + }, + leftRegion: function(he) { + return he.edge == null ? Sites.bottomSite : he.edge.region[he.side]; + }, + rightRegion: function(he) { + return he.edge == null ? Sites.bottomSite : he.edge.region[d3_geom_voronoiOpposite[he.side]]; + } + }; + var Geom = { + bisect: function(s1, s2) { + var newEdge = { + region: { + l: s1, + r: s2 + }, + ep: { + l: null, + r: null + } + }; + var dx = s2.x - s1.x, dy = s2.y - s1.y, adx = dx > 0 ? dx : -dx, ady = dy > 0 ? dy : -dy; + newEdge.c = s1.x * dx + s1.y * dy + (dx * dx + dy * dy) * .5; + if (adx > ady) { + newEdge.a = 1; + newEdge.b = dy / dx; + newEdge.c /= dx; + } else { + newEdge.b = 1; + newEdge.a = dx / dy; + newEdge.c /= dy; + } + return newEdge; + }, + intersect: function(el1, el2) { + var e1 = el1.edge, e2 = el2.edge; + if (!e1 || !e2 || e1.region.r == e2.region.r) { + return null; + } + var d = e1.a * e2.b - e1.b * e2.a; + if (Math.abs(d) < 1e-10) { + return null; + } + var xint = (e1.c * e2.b - e2.c * e1.b) / d, yint = (e2.c * e1.a - e1.c * e2.a) / d, e1r = e1.region.r, e2r = e2.region.r, el, e; + if (e1r.y < e2r.y || e1r.y == e2r.y && e1r.x < e2r.x) { + el = el1; + e = e1; + } else { + el = el2; + e = e2; + } + var rightOfSite = xint >= e.region.r.x; + if (rightOfSite && el.side === "l" || !rightOfSite && el.side === "r") { + return null; + } + return { + x: xint, + y: yint + }; + }, + rightOf: function(he, p) { + var e = he.edge, topsite = e.region.r, rightOfSite = p.x > topsite.x; + if (rightOfSite && he.side === "l") { + return 1; + } + if (!rightOfSite && he.side === "r") { + return 0; + } + if (e.a === 1) { + var dyp = p.y - topsite.y, dxp = p.x - topsite.x, fast = 0, above = 0; + if (!rightOfSite && e.b < 0 || rightOfSite && e.b >= 0) { + above = fast = dyp >= e.b * dxp; + } else { + above = p.x + p.y * e.b > e.c; + if (e.b < 0) { + above = !above; + } + if (!above) { + fast = 1; + } + } + if (!fast) { + var dxs = topsite.x - e.region.l.x; + above = e.b * (dxp * dxp - dyp * dyp) < dxs * dyp * (1 + 2 * dxp / dxs + e.b * e.b); + if (e.b < 0) { + above = !above; + } + } + } else { + var yl = e.c - e.a * p.x, t1 = p.y - yl, t2 = p.x - topsite.x, t3 = yl - topsite.y; + above = t1 * t1 > t2 * t2 + t3 * t3; + } + return he.side === "l" ? above : !above; + }, + endPoint: function(edge, side, site) { + edge.ep[side] = site; + if (!edge.ep[d3_geom_voronoiOpposite[side]]) return; + callback(edge); + }, + distance: function(s, t) { + var dx = s.x - t.x, dy = s.y - t.y; + return Math.sqrt(dx * dx + dy * dy); + } + }; + var EventQueue = { + list: [], + insert: function(he, site, offset) { + he.vertex = site; + he.ystar = site.y + offset; + for (var i = 0, list = EventQueue.list, l = list.length; i < l; i++) { + var next = list[i]; + if (he.ystar > next.ystar || he.ystar == next.ystar && site.x > next.vertex.x) { + continue; + } else { + break; + } + } + list.splice(i, 0, he); + }, + del: function(he) { + for (var i = 0, ls = EventQueue.list, l = ls.length; i < l && ls[i] != he; ++i) {} + ls.splice(i, 1); + }, + empty: function() { + return EventQueue.list.length === 0; + }, + nextEvent: function(he) { + for (var i = 0, ls = EventQueue.list, l = ls.length; i < l; ++i) { + if (ls[i] == he) return ls[i + 1]; + } + return null; + }, + min: function() { + var elem = EventQueue.list[0]; + return { + x: elem.vertex.x, + y: elem.ystar + }; + }, + extractMin: function() { + return EventQueue.list.shift(); + } + }; + EdgeList.init(); + Sites.bottomSite = Sites.list.shift(); + var newSite = Sites.list.shift(), newIntStar; + var lbnd, rbnd, llbnd, rrbnd, bisector; + var bot, top, temp, p, v; + var e, pm; + while (true) { + if (!EventQueue.empty()) { + newIntStar = EventQueue.min(); + } + if (newSite && (EventQueue.empty() || newSite.y < newIntStar.y || newSite.y == newIntStar.y && newSite.x < newIntStar.x)) { + lbnd = EdgeList.leftBound(newSite); + rbnd = EdgeList.right(lbnd); + bot = EdgeList.rightRegion(lbnd); + e = Geom.bisect(bot, newSite); + bisector = EdgeList.createHalfEdge(e, "l"); + EdgeList.insert(lbnd, bisector); + p = Geom.intersect(lbnd, bisector); + if (p) { + EventQueue.del(lbnd); + EventQueue.insert(lbnd, p, Geom.distance(p, newSite)); + } + lbnd = bisector; + bisector = EdgeList.createHalfEdge(e, "r"); + EdgeList.insert(lbnd, bisector); + p = Geom.intersect(bisector, rbnd); + if (p) { + EventQueue.insert(bisector, p, Geom.distance(p, newSite)); + } + newSite = Sites.list.shift(); + } else if (!EventQueue.empty()) { + lbnd = EventQueue.extractMin(); + llbnd = EdgeList.left(lbnd); + rbnd = EdgeList.right(lbnd); + rrbnd = EdgeList.right(rbnd); + bot = EdgeList.leftRegion(lbnd); + top = EdgeList.rightRegion(rbnd); + v = lbnd.vertex; + Geom.endPoint(lbnd.edge, lbnd.side, v); + Geom.endPoint(rbnd.edge, rbnd.side, v); + EdgeList.del(lbnd); + EventQueue.del(rbnd); + EdgeList.del(rbnd); + pm = "l"; + if (bot.y > top.y) { + temp = bot; + bot = top; + top = temp; + pm = "r"; + } + e = Geom.bisect(bot, top); + bisector = EdgeList.createHalfEdge(e, pm); + EdgeList.insert(llbnd, bisector); + Geom.endPoint(e, d3_geom_voronoiOpposite[pm], v); + p = Geom.intersect(llbnd, bisector); + if (p) { + EventQueue.del(llbnd); + EventQueue.insert(llbnd, p, Geom.distance(p, bot)); + } + p = Geom.intersect(bisector, rrbnd); + if (p) { + EventQueue.insert(bisector, p, Geom.distance(p, bot)); + } + } else { + break; + } + } + for (lbnd = EdgeList.right(EdgeList.leftEnd); lbnd != EdgeList.rightEnd; lbnd = EdgeList.right(lbnd)) { + callback(lbnd.edge); + } + } + d3.geom.quadtree = function(points, x1, y1, x2, y2) { + var x = d3_svg_lineX, y = d3_svg_lineY, compat; + if (compat = arguments.length) { + x = d3_geom_quadtreeCompatX; + y = d3_geom_quadtreeCompatY; + if (compat === 3) { + y2 = y1; + x2 = x1; + y1 = x1 = 0; + } + return quadtree(points); + } + function quadtree(data) { + var d, fx = d3_functor(x), fy = d3_functor(y), xs, ys, i, n, x1_, y1_, x2_, y2_; + if (x1 != null) { + x1_ = x1, y1_ = y1, x2_ = x2, y2_ = y2; + } else { + x2_ = y2_ = -(x1_ = y1_ = Infinity); + xs = [], ys = []; + n = data.length; + if (compat) for (i = 0; i < n; ++i) { + d = data[i]; + if (d.x < x1_) x1_ = d.x; + if (d.y < y1_) y1_ = d.y; + if (d.x > x2_) x2_ = d.x; + if (d.y > y2_) y2_ = d.y; + xs.push(d.x); + ys.push(d.y); + } else for (i = 0; i < n; ++i) { + var x_ = +fx(d = data[i], i), y_ = +fy(d, i); + if (x_ < x1_) x1_ = x_; + if (y_ < y1_) y1_ = y_; + if (x_ > x2_) x2_ = x_; + if (y_ > y2_) y2_ = y_; + xs.push(x_); + ys.push(y_); + } + } + var dx = x2_ - x1_, dy = y2_ - y1_; + if (dx > dy) y2_ = y1_ + dx; else x2_ = x1_ + dy; + function insert(n, d, x, y, x1, y1, x2, y2) { + if (isNaN(x) || isNaN(y)) return; + if (n.leaf) { + var nx = n.x, ny = n.y; + if (nx != null) { + if (Math.abs(nx - x) + Math.abs(ny - y) < .01) { + insertChild(n, d, x, y, x1, y1, x2, y2); + } else { + var nPoint = n.point; + n.x = n.y = n.point = null; + insertChild(n, nPoint, nx, ny, x1, y1, x2, y2); + insertChild(n, d, x, y, x1, y1, x2, y2); + } + } else { + n.x = x, n.y = y, n.point = d; + } + } else { + insertChild(n, d, x, y, x1, y1, x2, y2); + } + } + function insertChild(n, d, x, y, x1, y1, x2, y2) { + var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, right = x >= sx, bottom = y >= sy, i = (bottom << 1) + right; + n.leaf = false; + n = n.nodes[i] || (n.nodes[i] = d3_geom_quadtreeNode()); + if (right) x1 = sx; else x2 = sx; + if (bottom) y1 = sy; else y2 = sy; + insert(n, d, x, y, x1, y1, x2, y2); + } + var root = d3_geom_quadtreeNode(); + root.add = function(d) { + insert(root, d, +fx(d, ++i), +fy(d, i), x1_, y1_, x2_, y2_); + }; + root.visit = function(f) { + d3_geom_quadtreeVisit(f, root, x1_, y1_, x2_, y2_); + }; + i = -1; + if (x1 == null) { + while (++i < n) { + insert(root, data[i], xs[i], ys[i], x1_, y1_, x2_, y2_); + } + --i; + } else data.forEach(root.add); + xs = ys = data = d = null; + return root; + } + quadtree.x = function(_) { + return arguments.length ? (x = _, quadtree) : x; + }; + quadtree.y = function(_) { + return arguments.length ? (y = _, quadtree) : y; + }; + quadtree.extent = function(_) { + if (!arguments.length) return x1 == null ? null : [ [ x1, y1 ], [ x2, y2 ] ]; + if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0], + y2 = +_[1][1]; + return quadtree; + }; + quadtree.size = function(_) { + if (!arguments.length) return x1 == null ? null : [ x2 - x1, y2 - y1 ]; + if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = y1 = 0, x2 = +_[0], y2 = +_[1]; + return quadtree; + }; + return quadtree; + }; + function d3_geom_quadtreeCompatX(d) { + return d.x; + } + function d3_geom_quadtreeCompatY(d) { + return d.y; + } + function d3_geom_quadtreeNode() { + return { + leaf: true, + nodes: [], + point: null, + x: null, + y: null + }; + } + function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) { + if (!f(node, x1, y1, x2, y2)) { + var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, children = node.nodes; + if (children[0]) d3_geom_quadtreeVisit(f, children[0], x1, y1, sx, sy); + if (children[1]) d3_geom_quadtreeVisit(f, children[1], sx, y1, x2, sy); + if (children[2]) d3_geom_quadtreeVisit(f, children[2], x1, sy, sx, y2); + if (children[3]) d3_geom_quadtreeVisit(f, children[3], sx, sy, x2, y2); + } + } + d3.interpolateRgb = d3_interpolateRgb; + function d3_interpolateRgb(a, b) { + a = d3.rgb(a); + b = d3.rgb(b); + var ar = a.r, ag = a.g, ab = a.b, br = b.r - ar, bg = b.g - ag, bb = b.b - ab; + return function(t) { + return "#" + d3_rgb_hex(Math.round(ar + br * t)) + d3_rgb_hex(Math.round(ag + bg * t)) + d3_rgb_hex(Math.round(ab + bb * t)); + }; + } + d3.interpolateObject = d3_interpolateObject; + function d3_interpolateObject(a, b) { + var i = {}, c = {}, k; + for (k in a) { + if (k in b) { + i[k] = d3_interpolate(a[k], b[k]); + } else { + c[k] = a[k]; + } + } + for (k in b) { + if (!(k in a)) { + c[k] = b[k]; + } + } + return function(t) { + for (k in i) c[k] = i[k](t); + return c; + }; + } + d3.interpolateNumber = d3_interpolateNumber; + function d3_interpolateNumber(a, b) { + b -= a = +a; + return function(t) { + return a + b * t; + }; + } + d3.interpolateString = d3_interpolateString; + function d3_interpolateString(a, b) { + var m, i, j, s0 = 0, s1 = 0, s = [], q = [], n, o; + a = a + "", b = b + ""; + d3_interpolate_number.lastIndex = 0; + for (i = 0; m = d3_interpolate_number.exec(b); ++i) { + if (m.index) s.push(b.substring(s0, s1 = m.index)); + q.push({ + i: s.length, + x: m[0] + }); + s.push(null); + s0 = d3_interpolate_number.lastIndex; + } + if (s0 < b.length) s.push(b.substring(s0)); + for (i = 0, n = q.length; (m = d3_interpolate_number.exec(a)) && i < n; ++i) { + o = q[i]; + if (o.x == m[0]) { + if (o.i) { + if (s[o.i + 1] == null) { + s[o.i - 1] += o.x; + s.splice(o.i, 1); + for (j = i + 1; j < n; ++j) q[j].i--; + } else { + s[o.i - 1] += o.x + s[o.i + 1]; + s.splice(o.i, 2); + for (j = i + 1; j < n; ++j) q[j].i -= 2; + } + } else { + if (s[o.i + 1] == null) { + s[o.i] = o.x; + } else { + s[o.i] = o.x + s[o.i + 1]; + s.splice(o.i + 1, 1); + for (j = i + 1; j < n; ++j) q[j].i--; + } + } + q.splice(i, 1); + n--; + i--; + } else { + o.x = d3_interpolateNumber(parseFloat(m[0]), parseFloat(o.x)); + } + } + while (i < n) { + o = q.pop(); + if (s[o.i + 1] == null) { + s[o.i] = o.x; + } else { + s[o.i] = o.x + s[o.i + 1]; + s.splice(o.i + 1, 1); + } + n--; + } + if (s.length === 1) { + return s[0] == null ? (o = q[0].x, function(t) { + return o(t) + ""; + }) : function() { + return b; + }; + } + return function(t) { + for (i = 0; i < n; ++i) s[(o = q[i]).i] = o.x(t); + return s.join(""); + }; + } + var d3_interpolate_number = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g; + d3.interpolate = d3_interpolate; + function d3_interpolate(a, b) { + var i = d3.interpolators.length, f; + while (--i >= 0 && !(f = d3.interpolators[i](a, b))) ; + return f; + } + d3.interpolators = [ function(a, b) { + var t = typeof b; + return (t === "string" ? d3_rgb_names.has(b) || /^(#|rgb\(|hsl\()/.test(b) ? d3_interpolateRgb : d3_interpolateString : b instanceof d3_Color ? d3_interpolateRgb : t === "object" ? Array.isArray(b) ? d3_interpolateArray : d3_interpolateObject : d3_interpolateNumber)(a, b); + } ]; + d3.interpolateArray = d3_interpolateArray; + function d3_interpolateArray(a, b) { + var x = [], c = [], na = a.length, nb = b.length, n0 = Math.min(a.length, b.length), i; + for (i = 0; i < n0; ++i) x.push(d3_interpolate(a[i], b[i])); + for (;i < na; ++i) c[i] = a[i]; + for (;i < nb; ++i) c[i] = b[i]; + return function(t) { + for (i = 0; i < n0; ++i) c[i] = x[i](t); + return c; + }; + } + var d3_ease_default = function() { + return d3_identity; + }; + var d3_ease = d3.map({ + linear: d3_ease_default, + poly: d3_ease_poly, + quad: function() { + return d3_ease_quad; + }, + cubic: function() { + return d3_ease_cubic; + }, + sin: function() { + return d3_ease_sin; + }, + exp: function() { + return d3_ease_exp; + }, + circle: function() { + return d3_ease_circle; + }, + elastic: d3_ease_elastic, + back: d3_ease_back, + bounce: function() { + return d3_ease_bounce; + } + }); + var d3_ease_mode = d3.map({ + "in": d3_identity, + out: d3_ease_reverse, + "in-out": d3_ease_reflect, + "out-in": function(f) { + return d3_ease_reflect(d3_ease_reverse(f)); + } + }); + d3.ease = function(name) { + var i = name.indexOf("-"), t = i >= 0 ? name.substring(0, i) : name, m = i >= 0 ? name.substring(i + 1) : "in"; + t = d3_ease.get(t) || d3_ease_default; + m = d3_ease_mode.get(m) || d3_identity; + return d3_ease_clamp(m(t.apply(null, Array.prototype.slice.call(arguments, 1)))); + }; + function d3_ease_clamp(f) { + return function(t) { + return t <= 0 ? 0 : t >= 1 ? 1 : f(t); + }; + } + function d3_ease_reverse(f) { + return function(t) { + return 1 - f(1 - t); + }; + } + function d3_ease_reflect(f) { + return function(t) { + return .5 * (t < .5 ? f(2 * t) : 2 - f(2 - 2 * t)); + }; + } + function d3_ease_quad(t) { + return t * t; + } + function d3_ease_cubic(t) { + return t * t * t; + } + function d3_ease_cubicInOut(t) { + if (t <= 0) return 0; + if (t >= 1) return 1; + var t2 = t * t, t3 = t2 * t; + return 4 * (t < .5 ? t3 : 3 * (t - t2) + t3 - .75); + } + function d3_ease_poly(e) { + return function(t) { + return Math.pow(t, e); + }; + } + function d3_ease_sin(t) { + return 1 - Math.cos(t * π / 2); + } + function d3_ease_exp(t) { + return Math.pow(2, 10 * (t - 1)); + } + function d3_ease_circle(t) { + return 1 - Math.sqrt(1 - t * t); + } + function d3_ease_elastic(a, p) { + var s; + if (arguments.length < 2) p = .45; + if (arguments.length) s = p / (2 * π) * Math.asin(1 / a); else a = 1, s = p / 4; + return function(t) { + return 1 + a * Math.pow(2, 10 * -t) * Math.sin((t - s) * 2 * π / p); + }; + } + function d3_ease_back(s) { + if (!s) s = 1.70158; + return function(t) { + return t * t * ((s + 1) * t - s); + }; + } + function d3_ease_bounce(t) { + return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375; + } + d3.interpolateHcl = d3_interpolateHcl; + function d3_interpolateHcl(a, b) { + a = d3.hcl(a); + b = d3.hcl(b); + var ah = a.h, ac = a.c, al = a.l, bh = b.h - ah, bc = b.c - ac, bl = b.l - al; + if (isNaN(bc)) bc = 0, ac = isNaN(ac) ? b.c : ac; + if (isNaN(bh)) bh = 0, ah = isNaN(ah) ? b.h : ah; else if (bh > 180) bh -= 360; else if (bh < -180) bh += 360; + return function(t) { + return d3_hcl_lab(ah + bh * t, ac + bc * t, al + bl * t) + ""; + }; + } + d3.interpolateHsl = d3_interpolateHsl; + function d3_interpolateHsl(a, b) { + a = d3.hsl(a); + b = d3.hsl(b); + var ah = a.h, as = a.s, al = a.l, bh = b.h - ah, bs = b.s - as, bl = b.l - al; + if (isNaN(bs)) bs = 0, as = isNaN(as) ? b.s : as; + if (isNaN(bh)) bh = 0, ah = isNaN(ah) ? b.h : ah; else if (bh > 180) bh -= 360; else if (bh < -180) bh += 360; + return function(t) { + return d3_hsl_rgb(ah + bh * t, as + bs * t, al + bl * t) + ""; + }; + } + d3.interpolateLab = d3_interpolateLab; + function d3_interpolateLab(a, b) { + a = d3.lab(a); + b = d3.lab(b); + var al = a.l, aa = a.a, ab = a.b, bl = b.l - al, ba = b.a - aa, bb = b.b - ab; + return function(t) { + return d3_lab_rgb(al + bl * t, aa + ba * t, ab + bb * t) + ""; + }; + } + d3.interpolateRound = d3_interpolateRound; + function d3_interpolateRound(a, b) { + b -= a; + return function(t) { + return Math.round(a + b * t); + }; + } + d3.transform = function(string) { + var g = d3_document.createElementNS(d3.ns.prefix.svg, "g"); + return (d3.transform = function(string) { + if (string != null) { + g.setAttribute("transform", string); + var t = g.transform.baseVal.consolidate(); + } + return new d3_transform(t ? t.matrix : d3_transformIdentity); + })(string); + }; + function d3_transform(m) { + var r0 = [ m.a, m.b ], r1 = [ m.c, m.d ], kx = d3_transformNormalize(r0), kz = d3_transformDot(r0, r1), ky = d3_transformNormalize(d3_transformCombine(r1, r0, -kz)) || 0; + if (r0[0] * r1[1] < r1[0] * r0[1]) { + r0[0] *= -1; + r0[1] *= -1; + kx *= -1; + kz *= -1; + } + this.rotate = (kx ? Math.atan2(r0[1], r0[0]) : Math.atan2(-r1[0], r1[1])) * d3_degrees; + this.translate = [ m.e, m.f ]; + this.scale = [ kx, ky ]; + this.skew = ky ? Math.atan2(kz, ky) * d3_degrees : 0; + } + d3_transform.prototype.toString = function() { + return "translate(" + this.translate + ")rotate(" + this.rotate + ")skewX(" + this.skew + ")scale(" + this.scale + ")"; + }; + function d3_transformDot(a, b) { + return a[0] * b[0] + a[1] * b[1]; + } + function d3_transformNormalize(a) { + var k = Math.sqrt(d3_transformDot(a, a)); + if (k) { + a[0] /= k; + a[1] /= k; + } + return k; + } + function d3_transformCombine(a, b, k) { + a[0] += k * b[0]; + a[1] += k * b[1]; + return a; + } + var d3_transformIdentity = { + a: 1, + b: 0, + c: 0, + d: 1, + e: 0, + f: 0 + }; + d3.interpolateTransform = d3_interpolateTransform; + function d3_interpolateTransform(a, b) { + var s = [], q = [], n, A = d3.transform(a), B = d3.transform(b), ta = A.translate, tb = B.translate, ra = A.rotate, rb = B.rotate, wa = A.skew, wb = B.skew, ka = A.scale, kb = B.scale; + if (ta[0] != tb[0] || ta[1] != tb[1]) { + s.push("translate(", null, ",", null, ")"); + q.push({ + i: 1, + x: d3_interpolateNumber(ta[0], tb[0]) + }, { + i: 3, + x: d3_interpolateNumber(ta[1], tb[1]) + }); + } else if (tb[0] || tb[1]) { + s.push("translate(" + tb + ")"); + } else { + s.push(""); + } + if (ra != rb) { + if (ra - rb > 180) rb += 360; else if (rb - ra > 180) ra += 360; + q.push({ + i: s.push(s.pop() + "rotate(", null, ")") - 2, + x: d3_interpolateNumber(ra, rb) + }); + } else if (rb) { + s.push(s.pop() + "rotate(" + rb + ")"); + } + if (wa != wb) { + q.push({ + i: s.push(s.pop() + "skewX(", null, ")") - 2, + x: d3_interpolateNumber(wa, wb) + }); + } else if (wb) { + s.push(s.pop() + "skewX(" + wb + ")"); + } + if (ka[0] != kb[0] || ka[1] != kb[1]) { + n = s.push(s.pop() + "scale(", null, ",", null, ")"); + q.push({ + i: n - 4, + x: d3_interpolateNumber(ka[0], kb[0]) + }, { + i: n - 2, + x: d3_interpolateNumber(ka[1], kb[1]) + }); + } else if (kb[0] != 1 || kb[1] != 1) { + s.push(s.pop() + "scale(" + kb + ")"); + } + n = q.length; + return function(t) { + var i = -1, o; + while (++i < n) s[(o = q[i]).i] = o.x(t); + return s.join(""); + }; + } + function d3_uninterpolateNumber(a, b) { + b = b - (a = +a) ? 1 / (b - a) : 0; + return function(x) { + return (x - a) * b; + }; + } + function d3_uninterpolateClamp(a, b) { + b = b - (a = +a) ? 1 / (b - a) : 0; + return function(x) { + return Math.max(0, Math.min(1, (x - a) * b)); + }; + } + d3.layout = {}; + d3.layout.bundle = function() { + return function(links) { + var paths = [], i = -1, n = links.length; + while (++i < n) paths.push(d3_layout_bundlePath(links[i])); + return paths; + }; + }; + function d3_layout_bundlePath(link) { + var start = link.source, end = link.target, lca = d3_layout_bundleLeastCommonAncestor(start, end), points = [ start ]; + while (start !== lca) { + start = start.parent; + points.push(start); + } + var k = points.length; + while (end !== lca) { + points.splice(k, 0, end); + end = end.parent; + } + return points; + } + function d3_layout_bundleAncestors(node) { + var ancestors = [], parent = node.parent; + while (parent != null) { + ancestors.push(node); + node = parent; + parent = parent.parent; + } + ancestors.push(node); + return ancestors; + } + function d3_layout_bundleLeastCommonAncestor(a, b) { + if (a === b) return a; + var aNodes = d3_layout_bundleAncestors(a), bNodes = d3_layout_bundleAncestors(b), aNode = aNodes.pop(), bNode = bNodes.pop(), sharedNode = null; + while (aNode === bNode) { + sharedNode = aNode; + aNode = aNodes.pop(); + bNode = bNodes.pop(); + } + return sharedNode; + } + d3.layout.chord = function() { + var chord = {}, chords, groups, matrix, n, padding = 0, sortGroups, sortSubgroups, sortChords; + function relayout() { + var subgroups = {}, groupSums = [], groupIndex = d3.range(n), subgroupIndex = [], k, x, x0, i, j; + chords = []; + groups = []; + k = 0, i = -1; + while (++i < n) { + x = 0, j = -1; + while (++j < n) { + x += matrix[i][j]; + } + groupSums.push(x); + subgroupIndex.push(d3.range(n)); + k += x; + } + if (sortGroups) { + groupIndex.sort(function(a, b) { + return sortGroups(groupSums[a], groupSums[b]); + }); + } + if (sortSubgroups) { + subgroupIndex.forEach(function(d, i) { + d.sort(function(a, b) { + return sortSubgroups(matrix[i][a], matrix[i][b]); + }); + }); + } + k = (2 * π - padding * n) / k; + x = 0, i = -1; + while (++i < n) { + x0 = x, j = -1; + while (++j < n) { + var di = groupIndex[i], dj = subgroupIndex[di][j], v = matrix[di][dj], a0 = x, a1 = x += v * k; + subgroups[di + "-" + dj] = { + index: di, + subindex: dj, + startAngle: a0, + endAngle: a1, + value: v + }; + } + groups[di] = { + index: di, + startAngle: x0, + endAngle: x, + value: (x - x0) / k + }; + x += padding; + } + i = -1; + while (++i < n) { + j = i - 1; + while (++j < n) { + var source = subgroups[i + "-" + j], target = subgroups[j + "-" + i]; + if (source.value || target.value) { + chords.push(source.value < target.value ? { + source: target, + target: source + } : { + source: source, + target: target + }); + } + } + } + if (sortChords) resort(); + } + function resort() { + chords.sort(function(a, b) { + return sortChords((a.source.value + a.target.value) / 2, (b.source.value + b.target.value) / 2); + }); + } + chord.matrix = function(x) { + if (!arguments.length) return matrix; + n = (matrix = x) && matrix.length; + chords = groups = null; + return chord; + }; + chord.padding = function(x) { + if (!arguments.length) return padding; + padding = x; + chords = groups = null; + return chord; + }; + chord.sortGroups = function(x) { + if (!arguments.length) return sortGroups; + sortGroups = x; + chords = groups = null; + return chord; + }; + chord.sortSubgroups = function(x) { + if (!arguments.length) return sortSubgroups; + sortSubgroups = x; + chords = null; + return chord; + }; + chord.sortChords = function(x) { + if (!arguments.length) return sortChords; + sortChords = x; + if (chords) resort(); + return chord; + }; + chord.chords = function() { + if (!chords) relayout(); + return chords; + }; + chord.groups = function() { + if (!groups) relayout(); + return groups; + }; + return chord; + }; + d3.layout.force = function() { + var force = {}, event = d3.dispatch("start", "tick", "end"), size = [ 1, 1 ], drag, alpha, friction = .9, linkDistance = d3_layout_forceLinkDistance, linkStrength = d3_layout_forceLinkStrength, charge = -30, gravity = .1, theta = .8, nodes = [], links = [], distances, strengths, charges; + function repulse(node) { + return function(quad, x1, _, x2) { + if (quad.point !== node) { + var dx = quad.cx - node.x, dy = quad.cy - node.y, dn = 1 / Math.sqrt(dx * dx + dy * dy); + if ((x2 - x1) * dn < theta) { + var k = quad.charge * dn * dn; + node.px -= dx * k; + node.py -= dy * k; + return true; + } + if (quad.point && isFinite(dn)) { + var k = quad.pointCharge * dn * dn; + node.px -= dx * k; + node.py -= dy * k; + } + } + return !quad.charge; + }; + } + force.tick = function() { + if ((alpha *= .99) < .005) { + event.end({ + type: "end", + alpha: alpha = 0 + }); + return true; + } + var n = nodes.length, m = links.length, q, i, o, s, t, l, k, x, y; + for (i = 0; i < m; ++i) { + o = links[i]; + s = o.source; + t = o.target; + x = t.x - s.x; + y = t.y - s.y; + if (l = x * x + y * y) { + l = alpha * strengths[i] * ((l = Math.sqrt(l)) - distances[i]) / l; + x *= l; + y *= l; + t.x -= x * (k = s.weight / (t.weight + s.weight)); + t.y -= y * k; + s.x += x * (k = 1 - k); + s.y += y * k; + } + } + if (k = alpha * gravity) { + x = size[0] / 2; + y = size[1] / 2; + i = -1; + if (k) while (++i < n) { + o = nodes[i]; + o.x += (x - o.x) * k; + o.y += (y - o.y) * k; + } + } + if (charge) { + d3_layout_forceAccumulate(q = d3.geom.quadtree(nodes), alpha, charges); + i = -1; + while (++i < n) { + if (!(o = nodes[i]).fixed) { + q.visit(repulse(o)); + } + } + } + i = -1; + while (++i < n) { + o = nodes[i]; + if (o.fixed) { + o.x = o.px; + o.y = o.py; + } else { + o.x -= (o.px - (o.px = o.x)) * friction; + o.y -= (o.py - (o.py = o.y)) * friction; + } + } + event.tick({ + type: "tick", + alpha: alpha + }); + }; + force.nodes = function(x) { + if (!arguments.length) return nodes; + nodes = x; + return force; + }; + force.links = function(x) { + if (!arguments.length) return links; + links = x; + return force; + }; + force.size = function(x) { + if (!arguments.length) return size; + size = x; + return force; + }; + force.linkDistance = function(x) { + if (!arguments.length) return linkDistance; + linkDistance = typeof x === "function" ? x : +x; + return force; + }; + force.distance = force.linkDistance; + force.linkStrength = function(x) { + if (!arguments.length) return linkStrength; + linkStrength = typeof x === "function" ? x : +x; + return force; + }; + force.friction = function(x) { + if (!arguments.length) return friction; + friction = +x; + return force; + }; + force.charge = function(x) { + if (!arguments.length) return charge; + charge = typeof x === "function" ? x : +x; + return force; + }; + force.gravity = function(x) { + if (!arguments.length) return gravity; + gravity = +x; + return force; + }; + force.theta = function(x) { + if (!arguments.length) return theta; + theta = +x; + return force; + }; + force.alpha = function(x) { + if (!arguments.length) return alpha; + x = +x; + if (alpha) { + if (x > 0) alpha = x; else alpha = 0; + } else if (x > 0) { + event.start({ + type: "start", + alpha: alpha = x + }); + d3.timer(force.tick); + } + return force; + }; + force.start = function() { + var i, j, n = nodes.length, m = links.length, w = size[0], h = size[1], neighbors, o; + for (i = 0; i < n; ++i) { + (o = nodes[i]).index = i; + o.weight = 0; + } + for (i = 0; i < m; ++i) { + o = links[i]; + if (typeof o.source == "number") o.source = nodes[o.source]; + if (typeof o.target == "number") o.target = nodes[o.target]; + ++o.source.weight; + ++o.target.weight; + } + for (i = 0; i < n; ++i) { + o = nodes[i]; + if (isNaN(o.x)) o.x = position("x", w); + if (isNaN(o.y)) o.y = position("y", h); + if (isNaN(o.px)) o.px = o.x; + if (isNaN(o.py)) o.py = o.y; + } + distances = []; + if (typeof linkDistance === "function") for (i = 0; i < m; ++i) distances[i] = +linkDistance.call(this, links[i], i); else for (i = 0; i < m; ++i) distances[i] = linkDistance; + strengths = []; + if (typeof linkStrength === "function") for (i = 0; i < m; ++i) strengths[i] = +linkStrength.call(this, links[i], i); else for (i = 0; i < m; ++i) strengths[i] = linkStrength; + charges = []; + if (typeof charge === "function") for (i = 0; i < n; ++i) charges[i] = +charge.call(this, nodes[i], i); else for (i = 0; i < n; ++i) charges[i] = charge; + function position(dimension, size) { + var neighbors = neighbor(i), j = -1, m = neighbors.length, x; + while (++j < m) if (!isNaN(x = neighbors[j][dimension])) return x; + return Math.random() * size; + } + function neighbor() { + if (!neighbors) { + neighbors = []; + for (j = 0; j < n; ++j) { + neighbors[j] = []; + } + for (j = 0; j < m; ++j) { + var o = links[j]; + neighbors[o.source.index].push(o.target); + neighbors[o.target.index].push(o.source); + } + } + return neighbors[i]; + } + return force.resume(); + }; + force.resume = function() { + return force.alpha(.1); + }; + force.stop = function() { + return force.alpha(0); + }; + force.drag = function() { + if (!drag) drag = d3.behavior.drag().origin(d3_identity).on("dragstart.force", d3_layout_forceDragstart).on("drag.force", dragmove).on("dragend.force", d3_layout_forceDragend); + if (!arguments.length) return drag; + this.on("mouseover.force", d3_layout_forceMouseover).on("mouseout.force", d3_layout_forceMouseout).call(drag); + }; + function dragmove(d) { + d.px = d3.event.x, d.py = d3.event.y; + force.resume(); + } + return d3.rebind(force, event, "on"); + }; + function d3_layout_forceDragstart(d) { + d.fixed |= 2; + } + function d3_layout_forceDragend(d) { + d.fixed &= ~6; + } + function d3_layout_forceMouseover(d) { + d.fixed |= 4; + d.px = d.x, d.py = d.y; + } + function d3_layout_forceMouseout(d) { + d.fixed &= ~4; + } + function d3_layout_forceAccumulate(quad, alpha, charges) { + var cx = 0, cy = 0; + quad.charge = 0; + if (!quad.leaf) { + var nodes = quad.nodes, n = nodes.length, i = -1, c; + while (++i < n) { + c = nodes[i]; + if (c == null) continue; + d3_layout_forceAccumulate(c, alpha, charges); + quad.charge += c.charge; + cx += c.charge * c.cx; + cy += c.charge * c.cy; + } + } + if (quad.point) { + if (!quad.leaf) { + quad.point.x += Math.random() - .5; + quad.point.y += Math.random() - .5; + } + var k = alpha * charges[quad.point.index]; + quad.charge += quad.pointCharge = k; + cx += k * quad.point.x; + cy += k * quad.point.y; + } + quad.cx = cx / quad.charge; + quad.cy = cy / quad.charge; + } + var d3_layout_forceLinkDistance = 20, d3_layout_forceLinkStrength = 1; + d3.layout.hierarchy = function() { + var sort = d3_layout_hierarchySort, children = d3_layout_hierarchyChildren, value = d3_layout_hierarchyValue; + function recurse(node, depth, nodes) { + var childs = children.call(hierarchy, node, depth); + node.depth = depth; + nodes.push(node); + if (childs && (n = childs.length)) { + var i = -1, n, c = node.children = [], v = 0, j = depth + 1, d; + while (++i < n) { + d = recurse(childs[i], j, nodes); + d.parent = node; + c.push(d); + v += d.value; + } + if (sort) c.sort(sort); + if (value) node.value = v; + } else if (value) { + node.value = +value.call(hierarchy, node, depth) || 0; + } + return node; + } + function revalue(node, depth) { + var children = node.children, v = 0; + if (children && (n = children.length)) { + var i = -1, n, j = depth + 1; + while (++i < n) v += revalue(children[i], j); + } else if (value) { + v = +value.call(hierarchy, node, depth) || 0; + } + if (value) node.value = v; + return v; + } + function hierarchy(d) { + var nodes = []; + recurse(d, 0, nodes); + return nodes; + } + hierarchy.sort = function(x) { + if (!arguments.length) return sort; + sort = x; + return hierarchy; + }; + hierarchy.children = function(x) { + if (!arguments.length) return children; + children = x; + return hierarchy; + }; + hierarchy.value = function(x) { + if (!arguments.length) return value; + value = x; + return hierarchy; + }; + hierarchy.revalue = function(root) { + revalue(root, 0); + return root; + }; + return hierarchy; + }; + function d3_layout_hierarchyRebind(object, hierarchy) { + d3.rebind(object, hierarchy, "sort", "children", "value"); + object.nodes = object; + object.links = d3_layout_hierarchyLinks; + return object; + } + function d3_layout_hierarchyChildren(d) { + return d.children; + } + function d3_layout_hierarchyValue(d) { + return d.value; + } + function d3_layout_hierarchySort(a, b) { + return b.value - a.value; + } + function d3_layout_hierarchyLinks(nodes) { + return d3.merge(nodes.map(function(parent) { + return (parent.children || []).map(function(child) { + return { + source: parent, + target: child + }; + }); + })); + } + d3.layout.partition = function() { + var hierarchy = d3.layout.hierarchy(), size = [ 1, 1 ]; + function position(node, x, dx, dy) { + var children = node.children; + node.x = x; + node.y = node.depth * dy; + node.dx = dx; + node.dy = dy; + if (children && (n = children.length)) { + var i = -1, n, c, d; + dx = node.value ? dx / node.value : 0; + while (++i < n) { + position(c = children[i], x, d = c.value * dx, dy); + x += d; + } + } + } + function depth(node) { + var children = node.children, d = 0; + if (children && (n = children.length)) { + var i = -1, n; + while (++i < n) d = Math.max(d, depth(children[i])); + } + return 1 + d; + } + function partition(d, i) { + var nodes = hierarchy.call(this, d, i); + position(nodes[0], 0, size[0], size[1] / depth(nodes[0])); + return nodes; + } + partition.size = function(x) { + if (!arguments.length) return size; + size = x; + return partition; + }; + return d3_layout_hierarchyRebind(partition, hierarchy); + }; + d3.layout.pie = function() { + var value = Number, sort = d3_layout_pieSortByValue, startAngle = 0, endAngle = 2 * π; + function pie(data) { + var values = data.map(function(d, i) { + return +value.call(pie, d, i); + }); + var a = +(typeof startAngle === "function" ? startAngle.apply(this, arguments) : startAngle); + var k = ((typeof endAngle === "function" ? endAngle.apply(this, arguments) : endAngle) - a) / d3.sum(values); + var index = d3.range(data.length); + if (sort != null) index.sort(sort === d3_layout_pieSortByValue ? function(i, j) { + return values[j] - values[i]; + } : function(i, j) { + return sort(data[i], data[j]); + }); + var arcs = []; + index.forEach(function(i) { + var d; + arcs[i] = { + data: data[i], + value: d = values[i], + startAngle: a, + endAngle: a += d * k + }; + }); + return arcs; + } + pie.value = function(x) { + if (!arguments.length) return value; + value = x; + return pie; + }; + pie.sort = function(x) { + if (!arguments.length) return sort; + sort = x; + return pie; + }; + pie.startAngle = function(x) { + if (!arguments.length) return startAngle; + startAngle = x; + return pie; + }; + pie.endAngle = function(x) { + if (!arguments.length) return endAngle; + endAngle = x; + return pie; + }; + return pie; + }; + var d3_layout_pieSortByValue = {}; + d3.layout.stack = function() { + var values = d3_identity, order = d3_layout_stackOrderDefault, offset = d3_layout_stackOffsetZero, out = d3_layout_stackOut, x = d3_layout_stackX, y = d3_layout_stackY; + function stack(data, index) { + var series = data.map(function(d, i) { + return values.call(stack, d, i); + }); + var points = series.map(function(d) { + return d.map(function(v, i) { + return [ x.call(stack, v, i), y.call(stack, v, i) ]; + }); + }); + var orders = order.call(stack, points, index); + series = d3.permute(series, orders); + points = d3.permute(points, orders); + var offsets = offset.call(stack, points, index); + var n = series.length, m = series[0].length, i, j, o; + for (j = 0; j < m; ++j) { + out.call(stack, series[0][j], o = offsets[j], points[0][j][1]); + for (i = 1; i < n; ++i) { + out.call(stack, series[i][j], o += points[i - 1][j][1], points[i][j][1]); + } + } + return data; + } + stack.values = function(x) { + if (!arguments.length) return values; + values = x; + return stack; + }; + stack.order = function(x) { + if (!arguments.length) return order; + order = typeof x === "function" ? x : d3_layout_stackOrders.get(x) || d3_layout_stackOrderDefault; + return stack; + }; + stack.offset = function(x) { + if (!arguments.length) return offset; + offset = typeof x === "function" ? x : d3_layout_stackOffsets.get(x) || d3_layout_stackOffsetZero; + return stack; + }; + stack.x = function(z) { + if (!arguments.length) return x; + x = z; + return stack; + }; + stack.y = function(z) { + if (!arguments.length) return y; + y = z; + return stack; + }; + stack.out = function(z) { + if (!arguments.length) return out; + out = z; + return stack; + }; + return stack; + }; + function d3_layout_stackX(d) { + return d.x; + } + function d3_layout_stackY(d) { + return d.y; + } + function d3_layout_stackOut(d, y0, y) { + d.y0 = y0; + d.y = y; + } + var d3_layout_stackOrders = d3.map({ + "inside-out": function(data) { + var n = data.length, i, j, max = data.map(d3_layout_stackMaxIndex), sums = data.map(d3_layout_stackReduceSum), index = d3.range(n).sort(function(a, b) { + return max[a] - max[b]; + }), top = 0, bottom = 0, tops = [], bottoms = []; + for (i = 0; i < n; ++i) { + j = index[i]; + if (top < bottom) { + top += sums[j]; + tops.push(j); + } else { + bottom += sums[j]; + bottoms.push(j); + } + } + return bottoms.reverse().concat(tops); + }, + reverse: function(data) { + return d3.range(data.length).reverse(); + }, + "default": d3_layout_stackOrderDefault + }); + var d3_layout_stackOffsets = d3.map({ + silhouette: function(data) { + var n = data.length, m = data[0].length, sums = [], max = 0, i, j, o, y0 = []; + for (j = 0; j < m; ++j) { + for (i = 0, o = 0; i < n; i++) o += data[i][j][1]; + if (o > max) max = o; + sums.push(o); + } + for (j = 0; j < m; ++j) { + y0[j] = (max - sums[j]) / 2; + } + return y0; + }, + wiggle: function(data) { + var n = data.length, x = data[0], m = x.length, i, j, k, s1, s2, s3, dx, o, o0, y0 = []; + y0[0] = o = o0 = 0; + for (j = 1; j < m; ++j) { + for (i = 0, s1 = 0; i < n; ++i) s1 += data[i][j][1]; + for (i = 0, s2 = 0, dx = x[j][0] - x[j - 1][0]; i < n; ++i) { + for (k = 0, s3 = (data[i][j][1] - data[i][j - 1][1]) / (2 * dx); k < i; ++k) { + s3 += (data[k][j][1] - data[k][j - 1][1]) / dx; + } + s2 += s3 * data[i][j][1]; + } + y0[j] = o -= s1 ? s2 / s1 * dx : 0; + if (o < o0) o0 = o; + } + for (j = 0; j < m; ++j) y0[j] -= o0; + return y0; + }, + expand: function(data) { + var n = data.length, m = data[0].length, k = 1 / n, i, j, o, y0 = []; + for (j = 0; j < m; ++j) { + for (i = 0, o = 0; i < n; i++) o += data[i][j][1]; + if (o) for (i = 0; i < n; i++) data[i][j][1] /= o; else for (i = 0; i < n; i++) data[i][j][1] = k; + } + for (j = 0; j < m; ++j) y0[j] = 0; + return y0; + }, + zero: d3_layout_stackOffsetZero + }); + function d3_layout_stackOrderDefault(data) { + return d3.range(data.length); + } + function d3_layout_stackOffsetZero(data) { + var j = -1, m = data[0].length, y0 = []; + while (++j < m) y0[j] = 0; + return y0; + } + function d3_layout_stackMaxIndex(array) { + var i = 1, j = 0, v = array[0][1], k, n = array.length; + for (;i < n; ++i) { + if ((k = array[i][1]) > v) { + j = i; + v = k; + } + } + return j; + } + function d3_layout_stackReduceSum(d) { + return d.reduce(d3_layout_stackSum, 0); + } + function d3_layout_stackSum(p, d) { + return p + d[1]; + } + d3.layout.histogram = function() { + var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges; + function histogram(data, i) { + var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thresholds = binner.call(this, range, values, i), bin, i = -1, n = values.length, m = thresholds.length - 1, k = frequency ? 1 : 1 / n, x; + while (++i < m) { + bin = bins[i] = []; + bin.dx = thresholds[i + 1] - (bin.x = thresholds[i]); + bin.y = 0; + } + if (m > 0) { + i = -1; + while (++i < n) { + x = values[i]; + if (x >= range[0] && x <= range[1]) { + bin = bins[d3.bisect(thresholds, x, 1, m) - 1]; + bin.y += k; + bin.push(data[i]); + } + } + } + return bins; + } + histogram.value = function(x) { + if (!arguments.length) return valuer; + valuer = x; + return histogram; + }; + histogram.range = function(x) { + if (!arguments.length) return ranger; + ranger = d3_functor(x); + return histogram; + }; + histogram.bins = function(x) { + if (!arguments.length) return binner; + binner = typeof x === "number" ? function(range) { + return d3_layout_histogramBinFixed(range, x); + } : d3_functor(x); + return histogram; + }; + histogram.frequency = function(x) { + if (!arguments.length) return frequency; + frequency = !!x; + return histogram; + }; + return histogram; + }; + function d3_layout_histogramBinSturges(range, values) { + return d3_layout_histogramBinFixed(range, Math.ceil(Math.log(values.length) / Math.LN2 + 1)); + } + function d3_layout_histogramBinFixed(range, n) { + var x = -1, b = +range[0], m = (range[1] - b) / n, f = []; + while (++x <= n) f[x] = m * x + b; + return f; + } + function d3_layout_histogramRange(values) { + return [ d3.min(values), d3.max(values) ]; + } + d3.layout.tree = function() { + var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [ 1, 1 ], nodeSize = false; + function tree(d, i) { + var nodes = hierarchy.call(this, d, i), root = nodes[0]; + function firstWalk(node, previousSibling) { + var children = node.children, layout = node._tree; + if (children && (n = children.length)) { + var n, firstChild = children[0], previousChild, ancestor = firstChild, child, i = -1; + while (++i < n) { + child = children[i]; + firstWalk(child, previousChild); + ancestor = apportion(child, previousChild, ancestor); + previousChild = child; + } + d3_layout_treeShift(node); + var midpoint = .5 * (firstChild._tree.prelim + child._tree.prelim); + if (previousSibling) { + layout.prelim = previousSibling._tree.prelim + separation(node, previousSibling); + layout.mod = layout.prelim - midpoint; + } else { + layout.prelim = midpoint; + } + } else { + if (previousSibling) { + layout.prelim = previousSibling._tree.prelim + separation(node, previousSibling); + } + } + } + function secondWalk(node, x) { + node.x = node._tree.prelim + x; + var children = node.children; + if (children && (n = children.length)) { + var i = -1, n; + x += node._tree.mod; + while (++i < n) { + secondWalk(children[i], x); + } + } + } + function apportion(node, previousSibling, ancestor) { + if (previousSibling) { + var vip = node, vop = node, vim = previousSibling, vom = node.parent.children[0], sip = vip._tree.mod, sop = vop._tree.mod, sim = vim._tree.mod, som = vom._tree.mod, shift; + while (vim = d3_layout_treeRight(vim), vip = d3_layout_treeLeft(vip), vim && vip) { + vom = d3_layout_treeLeft(vom); + vop = d3_layout_treeRight(vop); + vop._tree.ancestor = node; + shift = vim._tree.prelim + sim - vip._tree.prelim - sip + separation(vim, vip); + if (shift > 0) { + d3_layout_treeMove(d3_layout_treeAncestor(vim, node, ancestor), node, shift); + sip += shift; + sop += shift; + } + sim += vim._tree.mod; + sip += vip._tree.mod; + som += vom._tree.mod; + sop += vop._tree.mod; + } + if (vim && !d3_layout_treeRight(vop)) { + vop._tree.thread = vim; + vop._tree.mod += sim - sop; + } + if (vip && !d3_layout_treeLeft(vom)) { + vom._tree.thread = vip; + vom._tree.mod += sip - som; + ancestor = node; + } + } + return ancestor; + } + d3_layout_treeVisitAfter(root, function(node, previousSibling) { + node._tree = { + ancestor: node, + prelim: 0, + mod: 0, + change: 0, + shift: 0, + number: previousSibling ? previousSibling._tree.number + 1 : 0 + }; + }); + firstWalk(root); + secondWalk(root, -root._tree.prelim); + var left = d3_layout_treeSearch(root, d3_layout_treeLeftmost), right = d3_layout_treeSearch(root, d3_layout_treeRightmost), deep = d3_layout_treeSearch(root, d3_layout_treeDeepest), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2, y1 = deep.depth || 1; + d3_layout_treeVisitAfter(root, nodeSize ? function(node) { + node.x *= size[0]; + node.y = node.depth * size[1]; + delete node._tree; + } : function(node) { + node.x = (node.x - x0) / (x1 - x0) * size[0]; + node.y = node.depth / y1 * size[1]; + delete node._tree; + }); + return nodes; + } + tree.separation = function(x) { + if (!arguments.length) return separation; + separation = x; + return tree; + }; + tree.size = function(x) { + if (!arguments.length) return nodeSize ? null : size; + nodeSize = (size = x) == null; + return tree; + }; + tree.nodeSize = function(x) { + if (!arguments.length) return nodeSize ? size : null; + nodeSize = (size = x) != null; + return tree; + }; + return d3_layout_hierarchyRebind(tree, hierarchy); + }; + function d3_layout_treeSeparation(a, b) { + return a.parent == b.parent ? 1 : 2; + } + function d3_layout_treeLeft(node) { + var children = node.children; + return children && children.length ? children[0] : node._tree.thread; + } + function d3_layout_treeRight(node) { + var children = node.children, n; + return children && (n = children.length) ? children[n - 1] : node._tree.thread; + } + function d3_layout_treeSearch(node, compare) { + var children = node.children; + if (children && (n = children.length)) { + var child, n, i = -1; + while (++i < n) { + if (compare(child = d3_layout_treeSearch(children[i], compare), node) > 0) { + node = child; + } + } + } + return node; + } + function d3_layout_treeRightmost(a, b) { + return a.x - b.x; + } + function d3_layout_treeLeftmost(a, b) { + return b.x - a.x; + } + function d3_layout_treeDeepest(a, b) { + return a.depth - b.depth; + } + function d3_layout_treeVisitAfter(node, callback) { + function visit(node, previousSibling) { + var children = node.children; + if (children && (n = children.length)) { + var child, previousChild = null, i = -1, n; + while (++i < n) { + child = children[i]; + visit(child, previousChild); + previousChild = child; + } + } + callback(node, previousSibling); + } + visit(node, null); + } + function d3_layout_treeShift(node) { + var shift = 0, change = 0, children = node.children, i = children.length, child; + while (--i >= 0) { + child = children[i]._tree; + child.prelim += shift; + child.mod += shift; + shift += child.shift + (change += child.change); + } + } + function d3_layout_treeMove(ancestor, node, shift) { + ancestor = ancestor._tree; + node = node._tree; + var change = shift / (node.number - ancestor.number); + ancestor.change += change; + node.change -= change; + node.shift += shift; + node.prelim += shift; + node.mod += shift; + } + function d3_layout_treeAncestor(vim, node, ancestor) { + return vim._tree.ancestor.parent == node.parent ? vim._tree.ancestor : ancestor; + } + d3.layout.pack = function() { + var hierarchy = d3.layout.hierarchy().sort(d3_layout_packSort), padding = 0, size = [ 1, 1 ], radius; + function pack(d, i) { + var nodes = hierarchy.call(this, d, i), root = nodes[0], w = size[0], h = size[1], r = radius == null ? Math.sqrt : typeof radius === "function" ? radius : function() { + return radius; + }; + root.x = root.y = 0; + d3_layout_treeVisitAfter(root, function(d) { + d.r = +r(d.value); + }); + d3_layout_treeVisitAfter(root, d3_layout_packSiblings); + if (padding) { + var dr = padding * (radius ? 1 : Math.max(2 * root.r / w, 2 * root.r / h)) / 2; + d3_layout_treeVisitAfter(root, function(d) { + d.r += dr; + }); + d3_layout_treeVisitAfter(root, d3_layout_packSiblings); + d3_layout_treeVisitAfter(root, function(d) { + d.r -= dr; + }); + } + d3_layout_packTransform(root, w / 2, h / 2, radius ? 1 : 1 / Math.max(2 * root.r / w, 2 * root.r / h)); + return nodes; + } + pack.size = function(_) { + if (!arguments.length) return size; + size = _; + return pack; + }; + pack.radius = function(_) { + if (!arguments.length) return radius; + radius = _ == null || typeof _ === "function" ? _ : +_; + return pack; + }; + pack.padding = function(_) { + if (!arguments.length) return padding; + padding = +_; + return pack; + }; + return d3_layout_hierarchyRebind(pack, hierarchy); + }; + function d3_layout_packSort(a, b) { + return a.value - b.value; + } + function d3_layout_packInsert(a, b) { + var c = a._pack_next; + a._pack_next = b; + b._pack_prev = a; + b._pack_next = c; + c._pack_prev = b; + } + function d3_layout_packSplice(a, b) { + a._pack_next = b; + b._pack_prev = a; + } + function d3_layout_packIntersects(a, b) { + var dx = b.x - a.x, dy = b.y - a.y, dr = a.r + b.r; + return .999 * dr * dr > dx * dx + dy * dy; + } + function d3_layout_packSiblings(node) { + if (!(nodes = node.children) || !(n = nodes.length)) return; + var nodes, xMin = Infinity, xMax = -Infinity, yMin = Infinity, yMax = -Infinity, a, b, c, i, j, k, n; + function bound(node) { + xMin = Math.min(node.x - node.r, xMin); + xMax = Math.max(node.x + node.r, xMax); + yMin = Math.min(node.y - node.r, yMin); + yMax = Math.max(node.y + node.r, yMax); + } + nodes.forEach(d3_layout_packLink); + a = nodes[0]; + a.x = -a.r; + a.y = 0; + bound(a); + if (n > 1) { + b = nodes[1]; + b.x = b.r; + b.y = 0; + bound(b); + if (n > 2) { + c = nodes[2]; + d3_layout_packPlace(a, b, c); + bound(c); + d3_layout_packInsert(a, c); + a._pack_prev = c; + d3_layout_packInsert(c, b); + b = a._pack_next; + for (i = 3; i < n; i++) { + d3_layout_packPlace(a, b, c = nodes[i]); + var isect = 0, s1 = 1, s2 = 1; + for (j = b._pack_next; j !== b; j = j._pack_next, s1++) { + if (d3_layout_packIntersects(j, c)) { + isect = 1; + break; + } + } + if (isect == 1) { + for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) { + if (d3_layout_packIntersects(k, c)) { + break; + } + } + } + if (isect) { + if (s1 < s2 || s1 == s2 && b.r < a.r) d3_layout_packSplice(a, b = j); else d3_layout_packSplice(a = k, b); + i--; + } else { + d3_layout_packInsert(a, c); + b = c; + bound(c); + } + } + } + } + var cx = (xMin + xMax) / 2, cy = (yMin + yMax) / 2, cr = 0; + for (i = 0; i < n; i++) { + c = nodes[i]; + c.x -= cx; + c.y -= cy; + cr = Math.max(cr, c.r + Math.sqrt(c.x * c.x + c.y * c.y)); + } + node.r = cr; + nodes.forEach(d3_layout_packUnlink); + } + function d3_layout_packLink(node) { + node._pack_next = node._pack_prev = node; + } + function d3_layout_packUnlink(node) { + delete node._pack_next; + delete node._pack_prev; + } + function d3_layout_packTransform(node, x, y, k) { + var children = node.children; + node.x = x += k * node.x; + node.y = y += k * node.y; + node.r *= k; + if (children) { + var i = -1, n = children.length; + while (++i < n) d3_layout_packTransform(children[i], x, y, k); + } + } + function d3_layout_packPlace(a, b, c) { + var db = a.r + c.r, dx = b.x - a.x, dy = b.y - a.y; + if (db && (dx || dy)) { + var da = b.r + c.r, dc = dx * dx + dy * dy; + da *= da; + db *= db; + var x = .5 + (db - da) / (2 * dc), y = Math.sqrt(Math.max(0, 2 * da * (db + dc) - (db -= dc) * db - da * da)) / (2 * dc); + c.x = a.x + x * dx + y * dy; + c.y = a.y + x * dy - y * dx; + } else { + c.x = a.x + db; + c.y = a.y; + } + } + d3.layout.cluster = function() { + var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [ 1, 1 ], nodeSize = false; + function cluster(d, i) { + var nodes = hierarchy.call(this, d, i), root = nodes[0], previousNode, x = 0; + d3_layout_treeVisitAfter(root, function(node) { + var children = node.children; + if (children && children.length) { + node.x = d3_layout_clusterX(children); + node.y = d3_layout_clusterY(children); + } else { + node.x = previousNode ? x += separation(node, previousNode) : 0; + node.y = 0; + previousNode = node; + } + }); + var left = d3_layout_clusterLeft(root), right = d3_layout_clusterRight(root), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2; + d3_layout_treeVisitAfter(root, nodeSize ? function(node) { + node.x = (node.x - root.x) * size[0]; + node.y = (root.y - node.y) * size[1]; + } : function(node) { + node.x = (node.x - x0) / (x1 - x0) * size[0]; + node.y = (1 - (root.y ? node.y / root.y : 1)) * size[1]; + }); + return nodes; + } + cluster.separation = function(x) { + if (!arguments.length) return separation; + separation = x; + return cluster; + }; + cluster.size = function(x) { + if (!arguments.length) return nodeSize ? null : size; + nodeSize = (size = x) == null; + return cluster; + }; + cluster.nodeSize = function(x) { + if (!arguments.length) return nodeSize ? size : null; + nodeSize = (size = x) != null; + return cluster; + }; + return d3_layout_hierarchyRebind(cluster, hierarchy); + }; + function d3_layout_clusterY(children) { + return 1 + d3.max(children, function(child) { + return child.y; + }); + } + function d3_layout_clusterX(children) { + return children.reduce(function(x, child) { + return x + child.x; + }, 0) / children.length; + } + function d3_layout_clusterLeft(node) { + var children = node.children; + return children && children.length ? d3_layout_clusterLeft(children[0]) : node; + } + function d3_layout_clusterRight(node) { + var children = node.children, n; + return children && (n = children.length) ? d3_layout_clusterRight(children[n - 1]) : node; + } + d3.layout.treemap = function() { + var hierarchy = d3.layout.hierarchy(), round = Math.round, size = [ 1, 1 ], padding = null, pad = d3_layout_treemapPadNull, sticky = false, stickies, mode = "squarify", ratio = .5 * (1 + Math.sqrt(5)); + function scale(children, k) { + var i = -1, n = children.length, child, area; + while (++i < n) { + area = (child = children[i]).value * (k < 0 ? 0 : k); + child.area = isNaN(area) || area <= 0 ? 0 : area; + } + } + function squarify(node) { + var children = node.children; + if (children && children.length) { + var rect = pad(node), row = [], remaining = children.slice(), child, best = Infinity, score, u = mode === "slice" ? rect.dx : mode === "dice" ? rect.dy : mode === "slice-dice" ? node.depth & 1 ? rect.dy : rect.dx : Math.min(rect.dx, rect.dy), n; + scale(remaining, rect.dx * rect.dy / node.value); + row.area = 0; + while ((n = remaining.length) > 0) { + row.push(child = remaining[n - 1]); + row.area += child.area; + if (mode !== "squarify" || (score = worst(row, u)) <= best) { + remaining.pop(); + best = score; + } else { + row.area -= row.pop().area; + position(row, u, rect, false); + u = Math.min(rect.dx, rect.dy); + row.length = row.area = 0; + best = Infinity; + } + } + if (row.length) { + position(row, u, rect, true); + row.length = row.area = 0; + } + children.forEach(squarify); + } + } + function stickify(node) { + var children = node.children; + if (children && children.length) { + var rect = pad(node), remaining = children.slice(), child, row = []; + scale(remaining, rect.dx * rect.dy / node.value); + row.area = 0; + while (child = remaining.pop()) { + row.push(child); + row.area += child.area; + if (child.z != null) { + position(row, child.z ? rect.dx : rect.dy, rect, !remaining.length); + row.length = row.area = 0; + } + } + children.forEach(stickify); + } + } + function worst(row, u) { + var s = row.area, r, rmax = 0, rmin = Infinity, i = -1, n = row.length; + while (++i < n) { + if (!(r = row[i].area)) continue; + if (r < rmin) rmin = r; + if (r > rmax) rmax = r; + } + s *= s; + u *= u; + return s ? Math.max(u * rmax * ratio / s, s / (u * rmin * ratio)) : Infinity; + } + function position(row, u, rect, flush) { + var i = -1, n = row.length, x = rect.x, y = rect.y, v = u ? round(row.area / u) : 0, o; + if (u == rect.dx) { + if (flush || v > rect.dy) v = rect.dy; + while (++i < n) { + o = row[i]; + o.x = x; + o.y = y; + o.dy = v; + x += o.dx = Math.min(rect.x + rect.dx - x, v ? round(o.area / v) : 0); + } + o.z = true; + o.dx += rect.x + rect.dx - x; + rect.y += v; + rect.dy -= v; + } else { + if (flush || v > rect.dx) v = rect.dx; + while (++i < n) { + o = row[i]; + o.x = x; + o.y = y; + o.dx = v; + y += o.dy = Math.min(rect.y + rect.dy - y, v ? round(o.area / v) : 0); + } + o.z = false; + o.dy += rect.y + rect.dy - y; + rect.x += v; + rect.dx -= v; + } + } + function treemap(d) { + var nodes = stickies || hierarchy(d), root = nodes[0]; + root.x = 0; + root.y = 0; + root.dx = size[0]; + root.dy = size[1]; + if (stickies) hierarchy.revalue(root); + scale([ root ], root.dx * root.dy / root.value); + (stickies ? stickify : squarify)(root); + if (sticky) stickies = nodes; + return nodes; + } + treemap.size = function(x) { + if (!arguments.length) return size; + size = x; + return treemap; + }; + treemap.padding = function(x) { + if (!arguments.length) return padding; + function padFunction(node) { + var p = x.call(treemap, node, node.depth); + return p == null ? d3_layout_treemapPadNull(node) : d3_layout_treemapPad(node, typeof p === "number" ? [ p, p, p, p ] : p); + } + function padConstant(node) { + return d3_layout_treemapPad(node, x); + } + var type; + pad = (padding = x) == null ? d3_layout_treemapPadNull : (type = typeof x) === "function" ? padFunction : type === "number" ? (x = [ x, x, x, x ], + padConstant) : padConstant; + return treemap; + }; + treemap.round = function(x) { + if (!arguments.length) return round != Number; + round = x ? Math.round : Number; + return treemap; + }; + treemap.sticky = function(x) { + if (!arguments.length) return sticky; + sticky = x; + stickies = null; + return treemap; + }; + treemap.ratio = function(x) { + if (!arguments.length) return ratio; + ratio = x; + return treemap; + }; + treemap.mode = function(x) { + if (!arguments.length) return mode; + mode = x + ""; + return treemap; + }; + return d3_layout_hierarchyRebind(treemap, hierarchy); + }; + function d3_layout_treemapPadNull(node) { + return { + x: node.x, + y: node.y, + dx: node.dx, + dy: node.dy + }; + } + function d3_layout_treemapPad(node, padding) { + var x = node.x + padding[3], y = node.y + padding[0], dx = node.dx - padding[1] - padding[3], dy = node.dy - padding[0] - padding[2]; + if (dx < 0) { + x += dx / 2; + dx = 0; + } + if (dy < 0) { + y += dy / 2; + dy = 0; + } + return { + x: x, + y: y, + dx: dx, + dy: dy + }; + } + d3.random = { + normal: function(µ, σ) { + var n = arguments.length; + if (n < 2) σ = 1; + if (n < 1) µ = 0; + return function() { + var x, y, r; + do { + x = Math.random() * 2 - 1; + y = Math.random() * 2 - 1; + r = x * x + y * y; + } while (!r || r > 1); + return µ + σ * x * Math.sqrt(-2 * Math.log(r) / r); + }; + }, + logNormal: function() { + var random = d3.random.normal.apply(d3, arguments); + return function() { + return Math.exp(random()); + }; + }, + irwinHall: function(m) { + return function() { + for (var s = 0, j = 0; j < m; j++) s += Math.random(); + return s / m; + }; + } + }; + d3.scale = {}; + function d3_scaleExtent(domain) { + var start = domain[0], stop = domain[domain.length - 1]; + return start < stop ? [ start, stop ] : [ stop, start ]; + } + function d3_scaleRange(scale) { + return scale.rangeExtent ? scale.rangeExtent() : d3_scaleExtent(scale.range()); + } + function d3_scale_bilinear(domain, range, uninterpolate, interpolate) { + var u = uninterpolate(domain[0], domain[1]), i = interpolate(range[0], range[1]); + return function(x) { + return i(u(x)); + }; + } + function d3_scale_nice(domain, nice) { + var i0 = 0, i1 = domain.length - 1, x0 = domain[i0], x1 = domain[i1], dx; + if (x1 < x0) { + dx = i0, i0 = i1, i1 = dx; + dx = x0, x0 = x1, x1 = dx; + } + domain[i0] = nice.floor(x0); + domain[i1] = nice.ceil(x1); + return domain; + } + function d3_scale_niceStep(step) { + return step ? { + floor: function(x) { + return Math.floor(x / step) * step; + }, + ceil: function(x) { + return Math.ceil(x / step) * step; + } + } : d3_scale_niceIdentity; + } + var d3_scale_niceIdentity = { + floor: d3_identity, + ceil: d3_identity + }; + function d3_scale_polylinear(domain, range, uninterpolate, interpolate) { + var u = [], i = [], j = 0, k = Math.min(domain.length, range.length) - 1; + if (domain[k] < domain[0]) { + domain = domain.slice().reverse(); + range = range.slice().reverse(); + } + while (++j <= k) { + u.push(uninterpolate(domain[j - 1], domain[j])); + i.push(interpolate(range[j - 1], range[j])); + } + return function(x) { + var j = d3.bisect(domain, x, 1, k) - 1; + return i[j](u[j](x)); + }; + } + d3.scale.linear = function() { + return d3_scale_linear([ 0, 1 ], [ 0, 1 ], d3_interpolate, false); + }; + function d3_scale_linear(domain, range, interpolate, clamp) { + var output, input; + function rescale() { + var linear = Math.min(domain.length, range.length) > 2 ? d3_scale_polylinear : d3_scale_bilinear, uninterpolate = clamp ? d3_uninterpolateClamp : d3_uninterpolateNumber; + output = linear(domain, range, uninterpolate, interpolate); + input = linear(range, domain, uninterpolate, d3_interpolate); + return scale; + } + function scale(x) { + return output(x); + } + scale.invert = function(y) { + return input(y); + }; + scale.domain = function(x) { + if (!arguments.length) return domain; + domain = x.map(Number); + return rescale(); + }; + scale.range = function(x) { + if (!arguments.length) return range; + range = x; + return rescale(); + }; + scale.rangeRound = function(x) { + return scale.range(x).interpolate(d3_interpolateRound); + }; + scale.clamp = function(x) { + if (!arguments.length) return clamp; + clamp = x; + return rescale(); + }; + scale.interpolate = function(x) { + if (!arguments.length) return interpolate; + interpolate = x; + return rescale(); + }; + scale.ticks = function(m) { + return d3_scale_linearTicks(domain, m); + }; + scale.tickFormat = function(m, format) { + return d3_scale_linearTickFormat(domain, m, format); + }; + scale.nice = function(m) { + d3_scale_linearNice(domain, m); + return rescale(); + }; + scale.copy = function() { + return d3_scale_linear(domain, range, interpolate, clamp); + }; + return rescale(); + } + function d3_scale_linearRebind(scale, linear) { + return d3.rebind(scale, linear, "range", "rangeRound", "interpolate", "clamp"); + } + function d3_scale_linearNice(domain, m) { + return d3_scale_nice(domain, d3_scale_niceStep(m ? d3_scale_linearTickRange(domain, m)[2] : d3_scale_linearNiceStep(domain))); + } + function d3_scale_linearNiceStep(domain) { + var extent = d3_scaleExtent(domain), span = extent[1] - extent[0]; + return Math.pow(10, Math.round(Math.log(span) / Math.LN10) - 1); + } + function d3_scale_linearTickRange(domain, m) { + var extent = d3_scaleExtent(domain), span = extent[1] - extent[0], step = Math.pow(10, Math.floor(Math.log(span / m) / Math.LN10)), err = m / span * step; + if (err <= .15) step *= 10; else if (err <= .35) step *= 5; else if (err <= .75) step *= 2; + extent[0] = Math.ceil(extent[0] / step) * step; + extent[1] = Math.floor(extent[1] / step) * step + step * .5; + extent[2] = step; + return extent; + } + function d3_scale_linearTicks(domain, m) { + return d3.range.apply(d3, d3_scale_linearTickRange(domain, m)); + } + function d3_scale_linearTickFormat(domain, m, format) { + var precision = -Math.floor(Math.log(d3_scale_linearTickRange(domain, m)[2]) / Math.LN10 + .01); + return d3.format(format ? format.replace(d3_format_re, function(a, b, c, d, e, f, g, h, i, j) { + return [ b, c, d, e, f, g, h, i || "." + (precision - (j === "%") * 2), j ].join(""); + }) : ",." + precision + "f"); + } + d3.scale.log = function() { + return d3_scale_log(d3.scale.linear().domain([ 0, 1 ]), 10, true, [ 1, 10 ]); + }; + function d3_scale_log(linear, base, positive, domain) { + function log(x) { + return (positive ? Math.log(x < 0 ? 0 : x) : -Math.log(x > 0 ? 0 : -x)) / Math.log(base); + } + function pow(x) { + return positive ? Math.pow(base, x) : -Math.pow(base, -x); + } + function scale(x) { + return linear(log(x)); + } + scale.invert = function(x) { + return pow(linear.invert(x)); + }; + scale.domain = function(x) { + if (!arguments.length) return domain; + positive = x[0] >= 0; + linear.domain((domain = x.map(Number)).map(log)); + return scale; + }; + scale.base = function(_) { + if (!arguments.length) return base; + base = +_; + linear.domain(domain.map(log)); + return scale; + }; + scale.nice = function() { + var niced = d3_scale_nice(domain.map(log), positive ? Math : d3_scale_logNiceNegative); + linear.domain(niced); + domain = niced.map(pow); + return scale; + }; + scale.ticks = function() { + var extent = d3_scaleExtent(domain), ticks = []; + if (extent.every(isFinite)) { + var u = extent[0], v = extent[1], i = Math.floor(log(u)), j = Math.ceil(log(v)), n = base % 1 ? 2 : base; + if (positive) { + for (;i < j; i++) for (var k = 1; k < n; k++) ticks.push(pow(i) * k); + ticks.push(pow(i)); + } else { + ticks.push(pow(i)); + for (;i++ < j; ) for (var k = n - 1; k > 0; k--) ticks.push(pow(i) * k); + } + for (i = 0; ticks[i] < u; i++) {} + for (j = ticks.length; ticks[j - 1] > v; j--) {} + ticks = ticks.slice(i, j); + } + return ticks; + }; + scale.tickFormat = function(n, format) { + if (!arguments.length) return d3_scale_logFormat; + if (arguments.length < 2) format = d3_scale_logFormat; else if (typeof format !== "function") format = d3.format(format); + var k = Math.max(.1, n / scale.ticks().length), f = positive ? (e = 1e-12, Math.ceil) : (e = -1e-12, + Math.floor), e; + return function(d) { + return d / pow(f(log(d) + e)) <= k ? format(d) : ""; + }; + }; + scale.copy = function() { + return d3_scale_log(linear.copy(), base, positive, domain); + }; + return d3_scale_linearRebind(scale, linear); + } + var d3_scale_logFormat = d3.format(".0e"), d3_scale_logNiceNegative = { + floor: function(x) { + return -Math.ceil(-x); + }, + ceil: function(x) { + return -Math.floor(-x); + } + }; + d3.scale.pow = function() { + return d3_scale_pow(d3.scale.linear(), 1, [ 0, 1 ]); + }; + function d3_scale_pow(linear, exponent, domain) { + var powp = d3_scale_powPow(exponent), powb = d3_scale_powPow(1 / exponent); + function scale(x) { + return linear(powp(x)); + } + scale.invert = function(x) { + return powb(linear.invert(x)); + }; + scale.domain = function(x) { + if (!arguments.length) return domain; + linear.domain((domain = x.map(Number)).map(powp)); + return scale; + }; + scale.ticks = function(m) { + return d3_scale_linearTicks(domain, m); + }; + scale.tickFormat = function(m, format) { + return d3_scale_linearTickFormat(domain, m, format); + }; + scale.nice = function(m) { + return scale.domain(d3_scale_linearNice(domain, m)); + }; + scale.exponent = function(x) { + if (!arguments.length) return exponent; + powp = d3_scale_powPow(exponent = x); + powb = d3_scale_powPow(1 / exponent); + linear.domain(domain.map(powp)); + return scale; + }; + scale.copy = function() { + return d3_scale_pow(linear.copy(), exponent, domain); + }; + return d3_scale_linearRebind(scale, linear); + } + function d3_scale_powPow(e) { + return function(x) { + return x < 0 ? -Math.pow(-x, e) : Math.pow(x, e); + }; + } + d3.scale.sqrt = function() { + return d3.scale.pow().exponent(.5); + }; + d3.scale.ordinal = function() { + return d3_scale_ordinal([], { + t: "range", + a: [ [] ] + }); + }; + function d3_scale_ordinal(domain, ranger) { + var index, range, rangeBand; + function scale(x) { + return range[((index.get(x) || index.set(x, domain.push(x))) - 1) % range.length]; + } + function steps(start, step) { + return d3.range(domain.length).map(function(i) { + return start + step * i; + }); + } + scale.domain = function(x) { + if (!arguments.length) return domain; + domain = []; + index = new d3_Map(); + var i = -1, n = x.length, xi; + while (++i < n) if (!index.has(xi = x[i])) index.set(xi, domain.push(xi)); + return scale[ranger.t].apply(scale, ranger.a); + }; + scale.range = function(x) { + if (!arguments.length) return range; + range = x; + rangeBand = 0; + ranger = { + t: "range", + a: arguments + }; + return scale; + }; + scale.rangePoints = function(x, padding) { + if (arguments.length < 2) padding = 0; + var start = x[0], stop = x[1], step = (stop - start) / (Math.max(1, domain.length - 1) + padding); + range = steps(domain.length < 2 ? (start + stop) / 2 : start + step * padding / 2, step); + rangeBand = 0; + ranger = { + t: "rangePoints", + a: arguments + }; + return scale; + }; + scale.rangeBands = function(x, padding, outerPadding) { + if (arguments.length < 2) padding = 0; + if (arguments.length < 3) outerPadding = padding; + var reverse = x[1] < x[0], start = x[reverse - 0], stop = x[1 - reverse], step = (stop - start) / (domain.length - padding + 2 * outerPadding); + range = steps(start + step * outerPadding, step); + if (reverse) range.reverse(); + rangeBand = step * (1 - padding); + ranger = { + t: "rangeBands", + a: arguments + }; + return scale; + }; + scale.rangeRoundBands = function(x, padding, outerPadding) { + if (arguments.length < 2) padding = 0; + if (arguments.length < 3) outerPadding = padding; + var reverse = x[1] < x[0], start = x[reverse - 0], stop = x[1 - reverse], step = Math.floor((stop - start) / (domain.length - padding + 2 * outerPadding)), error = stop - start - (domain.length - padding) * step; + range = steps(start + Math.round(error / 2), step); + if (reverse) range.reverse(); + rangeBand = Math.round(step * (1 - padding)); + ranger = { + t: "rangeRoundBands", + a: arguments + }; + return scale; + }; + scale.rangeBand = function() { + return rangeBand; + }; + scale.rangeExtent = function() { + return d3_scaleExtent(ranger.a[0]); + }; + scale.copy = function() { + return d3_scale_ordinal(domain, ranger); + }; + return scale.domain(domain); + } + d3.scale.category10 = function() { + return d3.scale.ordinal().range(d3_category10); + }; + d3.scale.category20 = function() { + return d3.scale.ordinal().range(d3_category20); + }; + d3.scale.category20b = function() { + return d3.scale.ordinal().range(d3_category20b); + }; + d3.scale.category20c = function() { + return d3.scale.ordinal().range(d3_category20c); + }; + var d3_category10 = [ 2062260, 16744206, 2924588, 14034728, 9725885, 9197131, 14907330, 8355711, 12369186, 1556175 ].map(d3_rgbString); + var d3_category20 = [ 2062260, 11454440, 16744206, 16759672, 2924588, 10018698, 14034728, 16750742, 9725885, 12955861, 9197131, 12885140, 14907330, 16234194, 8355711, 13092807, 12369186, 14408589, 1556175, 10410725 ].map(d3_rgbString); + var d3_category20b = [ 3750777, 5395619, 7040719, 10264286, 6519097, 9216594, 11915115, 13556636, 9202993, 12426809, 15186514, 15190932, 8666169, 11356490, 14049643, 15177372, 8077683, 10834324, 13528509, 14589654 ].map(d3_rgbString); + var d3_category20c = [ 3244733, 7057110, 10406625, 13032431, 15095053, 16616764, 16625259, 16634018, 3253076, 7652470, 10607003, 13101504, 7695281, 10394312, 12369372, 14342891, 6513507, 9868950, 12434877, 14277081 ].map(d3_rgbString); + d3.scale.quantile = function() { + return d3_scale_quantile([], []); + }; + function d3_scale_quantile(domain, range) { + var thresholds; + function rescale() { + var k = 0, q = range.length; + thresholds = []; + while (++k < q) thresholds[k - 1] = d3.quantile(domain, k / q); + return scale; + } + function scale(x) { + if (!isNaN(x = +x)) return range[d3.bisect(thresholds, x)]; + } + scale.domain = function(x) { + if (!arguments.length) return domain; + domain = x.filter(function(d) { + return !isNaN(d); + }).sort(d3.ascending); + return rescale(); + }; + scale.range = function(x) { + if (!arguments.length) return range; + range = x; + return rescale(); + }; + scale.quantiles = function() { + return thresholds; + }; + scale.invertExtent = function(y) { + y = range.indexOf(y); + return y < 0 ? [ NaN, NaN ] : [ y > 0 ? thresholds[y - 1] : domain[0], y < thresholds.length ? thresholds[y] : domain[domain.length - 1] ]; + }; + scale.copy = function() { + return d3_scale_quantile(domain, range); + }; + return rescale(); + } + d3.scale.quantize = function() { + return d3_scale_quantize(0, 1, [ 0, 1 ]); + }; + function d3_scale_quantize(x0, x1, range) { + var kx, i; + function scale(x) { + return range[Math.max(0, Math.min(i, Math.floor(kx * (x - x0))))]; + } + function rescale() { + kx = range.length / (x1 - x0); + i = range.length - 1; + return scale; + } + scale.domain = function(x) { + if (!arguments.length) return [ x0, x1 ]; + x0 = +x[0]; + x1 = +x[x.length - 1]; + return rescale(); + }; + scale.range = function(x) { + if (!arguments.length) return range; + range = x; + return rescale(); + }; + scale.invertExtent = function(y) { + y = range.indexOf(y); + y = y < 0 ? NaN : y / kx + x0; + return [ y, y + 1 / kx ]; + }; + scale.copy = function() { + return d3_scale_quantize(x0, x1, range); + }; + return rescale(); + } + d3.scale.threshold = function() { + return d3_scale_threshold([ .5 ], [ 0, 1 ]); + }; + function d3_scale_threshold(domain, range) { + function scale(x) { + if (x <= x) return range[d3.bisect(domain, x)]; + } + scale.domain = function(_) { + if (!arguments.length) return domain; + domain = _; + return scale; + }; + scale.range = function(_) { + if (!arguments.length) return range; + range = _; + return scale; + }; + scale.invertExtent = function(y) { + y = range.indexOf(y); + return [ domain[y - 1], domain[y] ]; + }; + scale.copy = function() { + return d3_scale_threshold(domain, range); + }; + return scale; + } + d3.scale.identity = function() { + return d3_scale_identity([ 0, 1 ]); + }; + function d3_scale_identity(domain) { + function identity(x) { + return +x; + } + identity.invert = identity; + identity.domain = identity.range = function(x) { + if (!arguments.length) return domain; + domain = x.map(identity); + return identity; + }; + identity.ticks = function(m) { + return d3_scale_linearTicks(domain, m); + }; + identity.tickFormat = function(m, format) { + return d3_scale_linearTickFormat(domain, m, format); + }; + identity.copy = function() { + return d3_scale_identity(domain); + }; + return identity; + } + d3.svg.arc = function() { + var innerRadius = d3_svg_arcInnerRadius, outerRadius = d3_svg_arcOuterRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle; + function arc() { + var r0 = innerRadius.apply(this, arguments), r1 = outerRadius.apply(this, arguments), a0 = startAngle.apply(this, arguments) + d3_svg_arcOffset, a1 = endAngle.apply(this, arguments) + d3_svg_arcOffset, da = (a1 < a0 && (da = a0, + a0 = a1, a1 = da), a1 - a0), df = da < π ? "0" : "1", c0 = Math.cos(a0), s0 = Math.sin(a0), c1 = Math.cos(a1), s1 = Math.sin(a1); + return da >= d3_svg_arcMax ? r0 ? "M0," + r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + -r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + r1 + "M0," + r0 + "A" + r0 + "," + r0 + " 0 1,0 0," + -r0 + "A" + r0 + "," + r0 + " 0 1,0 0," + r0 + "Z" : "M0," + r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + -r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + r1 + "Z" : r0 ? "M" + r1 * c0 + "," + r1 * s0 + "A" + r1 + "," + r1 + " 0 " + df + ",1 " + r1 * c1 + "," + r1 * s1 + "L" + r0 * c1 + "," + r0 * s1 + "A" + r0 + "," + r0 + " 0 " + df + ",0 " + r0 * c0 + "," + r0 * s0 + "Z" : "M" + r1 * c0 + "," + r1 * s0 + "A" + r1 + "," + r1 + " 0 " + df + ",1 " + r1 * c1 + "," + r1 * s1 + "L0,0" + "Z"; + } + arc.innerRadius = function(v) { + if (!arguments.length) return innerRadius; + innerRadius = d3_functor(v); + return arc; + }; + arc.outerRadius = function(v) { + if (!arguments.length) return outerRadius; + outerRadius = d3_functor(v); + return arc; + }; + arc.startAngle = function(v) { + if (!arguments.length) return startAngle; + startAngle = d3_functor(v); + return arc; + }; + arc.endAngle = function(v) { + if (!arguments.length) return endAngle; + endAngle = d3_functor(v); + return arc; + }; + arc.centroid = function() { + var r = (innerRadius.apply(this, arguments) + outerRadius.apply(this, arguments)) / 2, a = (startAngle.apply(this, arguments) + endAngle.apply(this, arguments)) / 2 + d3_svg_arcOffset; + return [ Math.cos(a) * r, Math.sin(a) * r ]; + }; + return arc; + }; + var d3_svg_arcOffset = -π / 2, d3_svg_arcMax = 2 * π - 1e-6; + function d3_svg_arcInnerRadius(d) { + return d.innerRadius; + } + function d3_svg_arcOuterRadius(d) { + return d.outerRadius; + } + function d3_svg_arcStartAngle(d) { + return d.startAngle; + } + function d3_svg_arcEndAngle(d) { + return d.endAngle; + } + d3.svg.line.radial = function() { + var line = d3_svg_line(d3_svg_lineRadial); + line.radius = line.x, delete line.x; + line.angle = line.y, delete line.y; + return line; + }; + function d3_svg_lineRadial(points) { + var point, i = -1, n = points.length, r, a; + while (++i < n) { + point = points[i]; + r = point[0]; + a = point[1] + d3_svg_arcOffset; + point[0] = r * Math.cos(a); + point[1] = r * Math.sin(a); + } + return points; + } + function d3_svg_area(projection) { + var x0 = d3_svg_lineX, x1 = d3_svg_lineX, y0 = 0, y1 = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, interpolateReverse = interpolate, L = "L", tension = .7; + function area(data) { + var segments = [], points0 = [], points1 = [], i = -1, n = data.length, d, fx0 = d3_functor(x0), fy0 = d3_functor(y0), fx1 = x0 === x1 ? function() { + return x; + } : d3_functor(x1), fy1 = y0 === y1 ? function() { + return y; + } : d3_functor(y1), x, y; + function segment() { + segments.push("M", interpolate(projection(points1), tension), L, interpolateReverse(projection(points0.reverse()), tension), "Z"); + } + while (++i < n) { + if (defined.call(this, d = data[i], i)) { + points0.push([ x = +fx0.call(this, d, i), y = +fy0.call(this, d, i) ]); + points1.push([ +fx1.call(this, d, i), +fy1.call(this, d, i) ]); + } else if (points0.length) { + segment(); + points0 = []; + points1 = []; + } + } + if (points0.length) segment(); + return segments.length ? segments.join("") : null; + } + area.x = function(_) { + if (!arguments.length) return x1; + x0 = x1 = _; + return area; + }; + area.x0 = function(_) { + if (!arguments.length) return x0; + x0 = _; + return area; + }; + area.x1 = function(_) { + if (!arguments.length) return x1; + x1 = _; + return area; + }; + area.y = function(_) { + if (!arguments.length) return y1; + y0 = y1 = _; + return area; + }; + area.y0 = function(_) { + if (!arguments.length) return y0; + y0 = _; + return area; + }; + area.y1 = function(_) { + if (!arguments.length) return y1; + y1 = _; + return area; + }; + area.defined = function(_) { + if (!arguments.length) return defined; + defined = _; + return area; + }; + area.interpolate = function(_) { + if (!arguments.length) return interpolateKey; + if (typeof _ === "function") interpolateKey = interpolate = _; else interpolateKey = (interpolate = d3_svg_lineInterpolators.get(_) || d3_svg_lineLinear).key; + interpolateReverse = interpolate.reverse || interpolate; + L = interpolate.closed ? "M" : "L"; + return area; + }; + area.tension = function(_) { + if (!arguments.length) return tension; + tension = _; + return area; + }; + return area; + } + d3_svg_lineStepBefore.reverse = d3_svg_lineStepAfter; + d3_svg_lineStepAfter.reverse = d3_svg_lineStepBefore; + d3.svg.area = function() { + return d3_svg_area(d3_identity); + }; + d3.svg.area.radial = function() { + var area = d3_svg_area(d3_svg_lineRadial); + area.radius = area.x, delete area.x; + area.innerRadius = area.x0, delete area.x0; + area.outerRadius = area.x1, delete area.x1; + area.angle = area.y, delete area.y; + area.startAngle = area.y0, delete area.y0; + area.endAngle = area.y1, delete area.y1; + return area; + }; + d3.svg.chord = function() { + var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle; + function chord(d, i) { + var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i); + return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z"; + } + function subgroup(self, f, d, i) { + var subgroup = f.call(self, d, i), r = radius.call(self, subgroup, i), a0 = startAngle.call(self, subgroup, i) + d3_svg_arcOffset, a1 = endAngle.call(self, subgroup, i) + d3_svg_arcOffset; + return { + r: r, + a0: a0, + a1: a1, + p0: [ r * Math.cos(a0), r * Math.sin(a0) ], + p1: [ r * Math.cos(a1), r * Math.sin(a1) ] + }; + } + function equals(a, b) { + return a.a0 == b.a0 && a.a1 == b.a1; + } + function arc(r, p, a) { + return "A" + r + "," + r + " 0 " + +(a > π) + ",1 " + p; + } + function curve(r0, p0, r1, p1) { + return "Q 0,0 " + p1; + } + chord.radius = function(v) { + if (!arguments.length) return radius; + radius = d3_functor(v); + return chord; + }; + chord.source = function(v) { + if (!arguments.length) return source; + source = d3_functor(v); + return chord; + }; + chord.target = function(v) { + if (!arguments.length) return target; + target = d3_functor(v); + return chord; + }; + chord.startAngle = function(v) { + if (!arguments.length) return startAngle; + startAngle = d3_functor(v); + return chord; + }; + chord.endAngle = function(v) { + if (!arguments.length) return endAngle; + endAngle = d3_functor(v); + return chord; + }; + return chord; + }; + function d3_svg_chordRadius(d) { + return d.radius; + } + d3.svg.diagonal = function() { + var source = d3_source, target = d3_target, projection = d3_svg_diagonalProjection; + function diagonal(d, i) { + var p0 = source.call(this, d, i), p3 = target.call(this, d, i), m = (p0.y + p3.y) / 2, p = [ p0, { + x: p0.x, + y: m + }, { + x: p3.x, + y: m + }, p3 ]; + p = p.map(projection); + return "M" + p[0] + "C" + p[1] + " " + p[2] + " " + p[3]; + } + diagonal.source = function(x) { + if (!arguments.length) return source; + source = d3_functor(x); + return diagonal; + }; + diagonal.target = function(x) { + if (!arguments.length) return target; + target = d3_functor(x); + return diagonal; + }; + diagonal.projection = function(x) { + if (!arguments.length) return projection; + projection = x; + return diagonal; + }; + return diagonal; + }; + function d3_svg_diagonalProjection(d) { + return [ d.x, d.y ]; + } + d3.svg.diagonal.radial = function() { + var diagonal = d3.svg.diagonal(), projection = d3_svg_diagonalProjection, projection_ = diagonal.projection; + diagonal.projection = function(x) { + return arguments.length ? projection_(d3_svg_diagonalRadialProjection(projection = x)) : projection; + }; + return diagonal; + }; + function d3_svg_diagonalRadialProjection(projection) { + return function() { + var d = projection.apply(this, arguments), r = d[0], a = d[1] + d3_svg_arcOffset; + return [ r * Math.cos(a), r * Math.sin(a) ]; + }; + } + d3.svg.symbol = function() { + var type = d3_svg_symbolType, size = d3_svg_symbolSize; + function symbol(d, i) { + return (d3_svg_symbols.get(type.call(this, d, i)) || d3_svg_symbolCircle)(size.call(this, d, i)); + } + symbol.type = function(x) { + if (!arguments.length) return type; + type = d3_functor(x); + return symbol; + }; + symbol.size = function(x) { + if (!arguments.length) return size; + size = d3_functor(x); + return symbol; + }; + return symbol; + }; + function d3_svg_symbolSize() { + return 64; + } + function d3_svg_symbolType() { + return "circle"; + } + function d3_svg_symbolCircle(size) { + var r = Math.sqrt(size / π); + return "M0," + r + "A" + r + "," + r + " 0 1,1 0," + -r + "A" + r + "," + r + " 0 1,1 0," + r + "Z"; + } + var d3_svg_symbols = d3.map({ + circle: d3_svg_symbolCircle, + cross: function(size) { + var r = Math.sqrt(size / 5) / 2; + return "M" + -3 * r + "," + -r + "H" + -r + "V" + -3 * r + "H" + r + "V" + -r + "H" + 3 * r + "V" + r + "H" + r + "V" + 3 * r + "H" + -r + "V" + r + "H" + -3 * r + "Z"; + }, + diamond: function(size) { + var ry = Math.sqrt(size / (2 * d3_svg_symbolTan30)), rx = ry * d3_svg_symbolTan30; + return "M0," + -ry + "L" + rx + ",0" + " 0," + ry + " " + -rx + ",0" + "Z"; + }, + square: function(size) { + var r = Math.sqrt(size) / 2; + return "M" + -r + "," + -r + "L" + r + "," + -r + " " + r + "," + r + " " + -r + "," + r + "Z"; + }, + "triangle-down": function(size) { + var rx = Math.sqrt(size / d3_svg_symbolSqrt3), ry = rx * d3_svg_symbolSqrt3 / 2; + return "M0," + ry + "L" + rx + "," + -ry + " " + -rx + "," + -ry + "Z"; + }, + "triangle-up": function(size) { + var rx = Math.sqrt(size / d3_svg_symbolSqrt3), ry = rx * d3_svg_symbolSqrt3 / 2; + return "M0," + -ry + "L" + rx + "," + ry + " " + -rx + "," + ry + "Z"; + } + }); + d3.svg.symbolTypes = d3_svg_symbols.keys(); + var d3_svg_symbolSqrt3 = Math.sqrt(3), d3_svg_symbolTan30 = Math.tan(30 * d3_radians); + function d3_transition(groups, id) { + d3_subclass(groups, d3_transitionPrototype); + groups.id = id; + return groups; + } + var d3_transitionPrototype = [], d3_transitionId = 0, d3_transitionInheritId, d3_transitionInherit; + d3_transitionPrototype.call = d3_selectionPrototype.call; + d3_transitionPrototype.empty = d3_selectionPrototype.empty; + d3_transitionPrototype.node = d3_selectionPrototype.node; + d3_transitionPrototype.size = d3_selectionPrototype.size; + d3.transition = function(selection) { + return arguments.length ? d3_transitionInheritId ? selection.transition() : selection : d3_selectionRoot.transition(); + }; + d3.transition.prototype = d3_transitionPrototype; + d3_transitionPrototype.select = function(selector) { + var id = this.id, subgroups = [], subgroup, subnode, node; + selector = d3_selection_selector(selector); + for (var j = -1, m = this.length; ++j < m; ) { + subgroups.push(subgroup = []); + for (var group = this[j], i = -1, n = group.length; ++i < n; ) { + if ((node = group[i]) && (subnode = selector.call(node, node.__data__, i, j))) { + if ("__data__" in node) subnode.__data__ = node.__data__; + d3_transitionNode(subnode, i, id, node.__transition__[id]); + subgroup.push(subnode); + } else { + subgroup.push(null); + } + } + } + return d3_transition(subgroups, id); + }; + d3_transitionPrototype.selectAll = function(selector) { + var id = this.id, subgroups = [], subgroup, subnodes, node, subnode, transition; + selector = d3_selection_selectorAll(selector); + for (var j = -1, m = this.length; ++j < m; ) { + for (var group = this[j], i = -1, n = group.length; ++i < n; ) { + if (node = group[i]) { + transition = node.__transition__[id]; + subnodes = selector.call(node, node.__data__, i, j); + subgroups.push(subgroup = []); + for (var k = -1, o = subnodes.length; ++k < o; ) { + if (subnode = subnodes[k]) d3_transitionNode(subnode, k, id, transition); + subgroup.push(subnode); + } + } + } + } + return d3_transition(subgroups, id); + }; + d3_transitionPrototype.filter = function(filter) { + var subgroups = [], subgroup, group, node; + if (typeof filter !== "function") filter = d3_selection_filter(filter); + for (var j = 0, m = this.length; j < m; j++) { + subgroups.push(subgroup = []); + for (var group = this[j], i = 0, n = group.length; i < n; i++) { + if ((node = group[i]) && filter.call(node, node.__data__, i)) { + subgroup.push(node); + } + } + } + return d3_transition(subgroups, this.id); + }; + d3_transitionPrototype.tween = function(name, tween) { + var id = this.id; + if (arguments.length < 2) return this.node().__transition__[id].tween.get(name); + return d3_selection_each(this, tween == null ? function(node) { + node.__transition__[id].tween.remove(name); + } : function(node) { + node.__transition__[id].tween.set(name, tween); + }); + }; + function d3_transition_tween(groups, name, value, tween) { + var id = groups.id; + return d3_selection_each(groups, typeof value === "function" ? function(node, i, j) { + node.__transition__[id].tween.set(name, tween(value.call(node, node.__data__, i, j))); + } : (value = tween(value), function(node) { + node.__transition__[id].tween.set(name, value); + })); + } + d3_transitionPrototype.attr = function(nameNS, value) { + if (arguments.length < 2) { + for (value in nameNS) this.attr(value, nameNS[value]); + return this; + } + var interpolate = nameNS == "transform" ? d3_interpolateTransform : d3_interpolate, name = d3.ns.qualify(nameNS); + function attrNull() { + this.removeAttribute(name); + } + function attrNullNS() { + this.removeAttributeNS(name.space, name.local); + } + function attrTween(b) { + return b == null ? attrNull : (b += "", function() { + var a = this.getAttribute(name), i; + return a !== b && (i = interpolate(a, b), function(t) { + this.setAttribute(name, i(t)); + }); + }); + } + function attrTweenNS(b) { + return b == null ? attrNullNS : (b += "", function() { + var a = this.getAttributeNS(name.space, name.local), i; + return a !== b && (i = interpolate(a, b), function(t) { + this.setAttributeNS(name.space, name.local, i(t)); + }); + }); + } + return d3_transition_tween(this, "attr." + nameNS, value, name.local ? attrTweenNS : attrTween); + }; + d3_transitionPrototype.attrTween = function(nameNS, tween) { + var name = d3.ns.qualify(nameNS); + function attrTween(d, i) { + var f = tween.call(this, d, i, this.getAttribute(name)); + return f && function(t) { + this.setAttribute(name, f(t)); + }; + } + function attrTweenNS(d, i) { + var f = tween.call(this, d, i, this.getAttributeNS(name.space, name.local)); + return f && function(t) { + this.setAttributeNS(name.space, name.local, f(t)); + }; + } + return this.tween("attr." + nameNS, name.local ? attrTweenNS : attrTween); + }; + d3_transitionPrototype.style = function(name, value, priority) { + var n = arguments.length; + if (n < 3) { + if (typeof name !== "string") { + if (n < 2) value = ""; + for (priority in name) this.style(priority, name[priority], value); + return this; + } + priority = ""; + } + function styleNull() { + this.style.removeProperty(name); + } + function styleString(b) { + return b == null ? styleNull : (b += "", function() { + var a = d3_window.getComputedStyle(this, null).getPropertyValue(name), i; + return a !== b && (i = d3_interpolate(a, b), function(t) { + this.style.setProperty(name, i(t), priority); + }); + }); + } + return d3_transition_tween(this, "style." + name, value, styleString); + }; + d3_transitionPrototype.styleTween = function(name, tween, priority) { + if (arguments.length < 3) priority = ""; + function styleTween(d, i) { + var f = tween.call(this, d, i, d3_window.getComputedStyle(this, null).getPropertyValue(name)); + return f && function(t) { + this.style.setProperty(name, f(t), priority); + }; + } + return this.tween("style." + name, styleTween); + }; + d3_transitionPrototype.text = function(value) { + return d3_transition_tween(this, "text", value, d3_transition_text); + }; + function d3_transition_text(b) { + if (b == null) b = ""; + return function() { + this.textContent = b; + }; + } + d3_transitionPrototype.remove = function() { + return this.each("end.transition", function() { + var p; + if (!this.__transition__ && (p = this.parentNode)) p.removeChild(this); + }); + }; + d3_transitionPrototype.ease = function(value) { + var id = this.id; + if (arguments.length < 1) return this.node().__transition__[id].ease; + if (typeof value !== "function") value = d3.ease.apply(d3, arguments); + return d3_selection_each(this, function(node) { + node.__transition__[id].ease = value; + }); + }; + d3_transitionPrototype.delay = function(value) { + var id = this.id; + return d3_selection_each(this, typeof value === "function" ? function(node, i, j) { + node.__transition__[id].delay = value.call(node, node.__data__, i, j) | 0; + } : (value |= 0, function(node) { + node.__transition__[id].delay = value; + })); + }; + d3_transitionPrototype.duration = function(value) { + var id = this.id; + return d3_selection_each(this, typeof value === "function" ? function(node, i, j) { + node.__transition__[id].duration = Math.max(1, value.call(node, node.__data__, i, j) | 0); + } : (value = Math.max(1, value | 0), function(node) { + node.__transition__[id].duration = value; + })); + }; + d3_transitionPrototype.each = function(type, listener) { + var id = this.id; + if (arguments.length < 2) { + var inherit = d3_transitionInherit, inheritId = d3_transitionInheritId; + d3_transitionInheritId = id; + d3_selection_each(this, function(node, i, j) { + d3_transitionInherit = node.__transition__[id]; + type.call(node, node.__data__, i, j); + }); + d3_transitionInherit = inherit; + d3_transitionInheritId = inheritId; + } else { + d3_selection_each(this, function(node) { + var transition = node.__transition__[id]; + (transition.event || (transition.event = d3.dispatch("start", "end"))).on(type, listener); + }); + } + return this; + }; + d3_transitionPrototype.transition = function() { + var id0 = this.id, id1 = ++d3_transitionId, subgroups = [], subgroup, group, node, transition; + for (var j = 0, m = this.length; j < m; j++) { + subgroups.push(subgroup = []); + for (var group = this[j], i = 0, n = group.length; i < n; i++) { + if (node = group[i]) { + transition = Object.create(node.__transition__[id0]); + transition.delay += transition.duration; + d3_transitionNode(node, i, id1, transition); + } + subgroup.push(node); + } + } + return d3_transition(subgroups, id1); + }; + function d3_transitionNode(node, i, id, inherit) { + var lock = node.__transition__ || (node.__transition__ = { + active: 0, + count: 0 + }), transition = lock[id]; + if (!transition) { + var time = inherit.time; + transition = lock[id] = { + tween: new d3_Map(), + time: time, + ease: inherit.ease, + delay: inherit.delay, + duration: inherit.duration + }; + ++lock.count; + d3.timer(function(elapsed) { + var d = node.__data__, ease = transition.ease, delay = transition.delay, duration = transition.duration, tweened = []; + if (delay <= elapsed) return start(elapsed); + d3_timer_replace(start, delay, time); + function start(elapsed) { + if (lock.active > id) return stop(); + lock.active = id; + transition.event && transition.event.start.call(node, d, i); + transition.tween.forEach(function(key, value) { + if (value = value.call(node, d, i)) { + tweened.push(value); + } + }); + if (tick(elapsed)) return 1; + d3_timer_replace(tick, 0, time); + } + function tick(elapsed) { + if (lock.active !== id) return stop(); + var t = (elapsed - delay) / duration, e = ease(t), n = tweened.length; + while (n > 0) { + tweened[--n].call(node, e); + } + if (t >= 1) { + stop(); + transition.event && transition.event.end.call(node, d, i); + return 1; + } + } + function stop() { + if (--lock.count) delete lock[id]; else delete node.__transition__; + return 1; + } + }, 0, time); + } + } + d3.svg.axis = function() { + var scale = d3.scale.linear(), orient = d3_svg_axisDefaultOrient, tickMajorSize = 6, tickMinorSize = 6, tickEndSize = 6, tickPadding = 3, tickArguments_ = [ 10 ], tickValues = null, tickFormat_, tickSubdivide = 0; + function axis(g) { + g.each(function() { + var g = d3.select(this); + var ticks = tickValues == null ? scale.ticks ? scale.ticks.apply(scale, tickArguments_) : scale.domain() : tickValues, tickFormat = tickFormat_ == null ? scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments_) : String : tickFormat_; + var subticks = d3_svg_axisSubdivide(scale, ticks, tickSubdivide), subtick = g.selectAll(".tick.minor").data(subticks, String), subtickEnter = subtick.enter().insert("line", ".tick").attr("class", "tick minor").style("opacity", 1e-6), subtickExit = d3.transition(subtick.exit()).style("opacity", 1e-6).remove(), subtickUpdate = d3.transition(subtick).style("opacity", 1); + var tick = g.selectAll(".tick.major").data(ticks, String), tickEnter = tick.enter().insert("g", ".domain").attr("class", "tick major").style("opacity", 1e-6), tickExit = d3.transition(tick.exit()).style("opacity", 1e-6).remove(), tickUpdate = d3.transition(tick).style("opacity", 1), tickTransform; + var range = d3_scaleRange(scale), path = g.selectAll(".domain").data([ 0 ]), pathUpdate = (path.enter().append("path").attr("class", "domain"), + d3.transition(path)); + var scale1 = scale.copy(), scale0 = this.__chart__ || scale1; + this.__chart__ = scale1; + tickEnter.append("line"); + tickEnter.append("text"); + var lineEnter = tickEnter.select("line"), lineUpdate = tickUpdate.select("line"), text = tick.select("text").text(tickFormat), textEnter = tickEnter.select("text"), textUpdate = tickUpdate.select("text"); + switch (orient) { + case "bottom": + { + tickTransform = d3_svg_axisX; + subtickEnter.attr("y2", tickMinorSize); + subtickUpdate.attr("x2", 0).attr("y2", tickMinorSize); + lineEnter.attr("y2", tickMajorSize); + textEnter.attr("y", Math.max(tickMajorSize, 0) + tickPadding); + lineUpdate.attr("x2", 0).attr("y2", tickMajorSize); + textUpdate.attr("x", 0).attr("y", Math.max(tickMajorSize, 0) + tickPadding); + text.attr("dy", ".71em").style("text-anchor", "middle"); + pathUpdate.attr("d", "M" + range[0] + "," + tickEndSize + "V0H" + range[1] + "V" + tickEndSize); + break; + } + + case "top": + { + tickTransform = d3_svg_axisX; + subtickEnter.attr("y2", -tickMinorSize); + subtickUpdate.attr("x2", 0).attr("y2", -tickMinorSize); + lineEnter.attr("y2", -tickMajorSize); + textEnter.attr("y", -(Math.max(tickMajorSize, 0) + tickPadding)); + lineUpdate.attr("x2", 0).attr("y2", -tickMajorSize); + textUpdate.attr("x", 0).attr("y", -(Math.max(tickMajorSize, 0) + tickPadding)); + text.attr("dy", "0em").style("text-anchor", "middle"); + pathUpdate.attr("d", "M" + range[0] + "," + -tickEndSize + "V0H" + range[1] + "V" + -tickEndSize); + break; + } + + case "left": + { + tickTransform = d3_svg_axisY; + subtickEnter.attr("x2", -tickMinorSize); + subtickUpdate.attr("x2", -tickMinorSize).attr("y2", 0); + lineEnter.attr("x2", -tickMajorSize); + textEnter.attr("x", -(Math.max(tickMajorSize, 0) + tickPadding)); + lineUpdate.attr("x2", -tickMajorSize).attr("y2", 0); + textUpdate.attr("x", -(Math.max(tickMajorSize, 0) + tickPadding)).attr("y", 0); + text.attr("dy", ".32em").style("text-anchor", "end"); + pathUpdate.attr("d", "M" + -tickEndSize + "," + range[0] + "H0V" + range[1] + "H" + -tickEndSize); + break; + } + + case "right": + { + tickTransform = d3_svg_axisY; + subtickEnter.attr("x2", tickMinorSize); + subtickUpdate.attr("x2", tickMinorSize).attr("y2", 0); + lineEnter.attr("x2", tickMajorSize); + textEnter.attr("x", Math.max(tickMajorSize, 0) + tickPadding); + lineUpdate.attr("x2", tickMajorSize).attr("y2", 0); + textUpdate.attr("x", Math.max(tickMajorSize, 0) + tickPadding).attr("y", 0); + text.attr("dy", ".32em").style("text-anchor", "start"); + pathUpdate.attr("d", "M" + tickEndSize + "," + range[0] + "H0V" + range[1] + "H" + tickEndSize); + break; + } + } + if (scale.rangeBand) { + var dx = scale1.rangeBand() / 2, x = function(d) { + return scale1(d) + dx; + }; + tickEnter.call(tickTransform, x); + tickUpdate.call(tickTransform, x); + } else { + tickEnter.call(tickTransform, scale0); + tickUpdate.call(tickTransform, scale1); + tickExit.call(tickTransform, scale1); + subtickEnter.call(tickTransform, scale0); + subtickUpdate.call(tickTransform, scale1); + subtickExit.call(tickTransform, scale1); + } + }); + } + axis.scale = function(x) { + if (!arguments.length) return scale; + scale = x; + return axis; + }; + axis.orient = function(x) { + if (!arguments.length) return orient; + orient = x in d3_svg_axisOrients ? x + "" : d3_svg_axisDefaultOrient; + return axis; + }; + axis.ticks = function() { + if (!arguments.length) return tickArguments_; + tickArguments_ = arguments; + return axis; + }; + axis.tickValues = function(x) { + if (!arguments.length) return tickValues; + tickValues = x; + return axis; + }; + axis.tickFormat = function(x) { + if (!arguments.length) return tickFormat_; + tickFormat_ = x; + return axis; + }; + axis.tickSize = function(x, y) { + if (!arguments.length) return tickMajorSize; + var n = arguments.length - 1; + tickMajorSize = +x; + tickMinorSize = n > 1 ? +y : tickMajorSize; + tickEndSize = n > 0 ? +arguments[n] : tickMajorSize; + return axis; + }; + axis.tickPadding = function(x) { + if (!arguments.length) return tickPadding; + tickPadding = +x; + return axis; + }; + axis.tickSubdivide = function(x) { + if (!arguments.length) return tickSubdivide; + tickSubdivide = +x; + return axis; + }; + return axis; + }; + var d3_svg_axisDefaultOrient = "bottom", d3_svg_axisOrients = { + top: 1, + right: 1, + bottom: 1, + left: 1 + }; + function d3_svg_axisX(selection, x) { + selection.attr("transform", function(d) { + return "translate(" + x(d) + ",0)"; + }); + } + function d3_svg_axisY(selection, y) { + selection.attr("transform", function(d) { + return "translate(0," + y(d) + ")"; + }); + } + function d3_svg_axisSubdivide(scale, ticks, m) { + subticks = []; + if (m && ticks.length > 1) { + var extent = d3_scaleExtent(scale.domain()), subticks, i = -1, n = ticks.length, d = (ticks[1] - ticks[0]) / ++m, j, v; + while (++i < n) { + for (j = m; --j > 0; ) { + if ((v = +ticks[i] - j * d) >= extent[0]) { + subticks.push(v); + } + } + } + for (--i, j = 0; ++j < m && (v = +ticks[i] + j * d) < extent[1]; ) { + subticks.push(v); + } + } + return subticks; + } + d3.svg.brush = function() { + var event = d3_eventDispatch(brush, "brushstart", "brush", "brushend"), x = null, y = null, resizes = d3_svg_brushResizes[0], extent = [ [ 0, 0 ], [ 0, 0 ] ], clamp = [ true, true ], extentDomain; + function brush(g) { + g.each(function() { + var g = d3.select(this), bg = g.selectAll(".background").data([ 0 ]), fg = g.selectAll(".extent").data([ 0 ]), tz = g.selectAll(".resize").data(resizes, String), e; + g.style("pointer-events", "all").on("mousedown.brush", brushstart).on("touchstart.brush", brushstart); + bg.enter().append("rect").attr("class", "background").style("visibility", "hidden").style("cursor", "crosshair"); + fg.enter().append("rect").attr("class", "extent").style("cursor", "move"); + tz.enter().append("g").attr("class", function(d) { + return "resize " + d; + }).style("cursor", function(d) { + return d3_svg_brushCursor[d]; + }).append("rect").attr("x", function(d) { + return /[ew]$/.test(d) ? -3 : null; + }).attr("y", function(d) { + return /^[ns]/.test(d) ? -3 : null; + }).attr("width", 6).attr("height", 6).style("visibility", "hidden"); + tz.style("display", brush.empty() ? "none" : null); + tz.exit().remove(); + if (x) { + e = d3_scaleRange(x); + bg.attr("x", e[0]).attr("width", e[1] - e[0]); + redrawX(g); + } + if (y) { + e = d3_scaleRange(y); + bg.attr("y", e[0]).attr("height", e[1] - e[0]); + redrawY(g); + } + redraw(g); + }); + } + function redraw(g) { + g.selectAll(".resize").attr("transform", function(d) { + return "translate(" + extent[+/e$/.test(d)][0] + "," + extent[+/^s/.test(d)][1] + ")"; + }); + } + function redrawX(g) { + g.select(".extent").attr("x", extent[0][0]); + g.selectAll(".extent,.n>rect,.s>rect").attr("width", extent[1][0] - extent[0][0]); + } + function redrawY(g) { + g.select(".extent").attr("y", extent[0][1]); + g.selectAll(".extent,.e>rect,.w>rect").attr("height", extent[1][1] - extent[0][1]); + } + function brushstart() { + var target = this, eventTarget = d3.select(d3.event.target), event_ = event.of(target, arguments), g = d3.select(target), resizing = eventTarget.datum(), resizingX = !/^(n|s)$/.test(resizing) && x, resizingY = !/^(e|w)$/.test(resizing) && y, dragging = eventTarget.classed("extent"), dragRestore = d3_event_dragSuppress(), center, origin = mouse(), offset; + var w = d3.select(d3_window).on("keydown.brush", keydown).on("keyup.brush", keyup); + if (d3.event.changedTouches) { + w.on("touchmove.brush", brushmove).on("touchend.brush", brushend); + } else { + w.on("mousemove.brush", brushmove).on("mouseup.brush", brushend); + } + if (dragging) { + origin[0] = extent[0][0] - origin[0]; + origin[1] = extent[0][1] - origin[1]; + } else if (resizing) { + var ex = +/w$/.test(resizing), ey = +/^n/.test(resizing); + offset = [ extent[1 - ex][0] - origin[0], extent[1 - ey][1] - origin[1] ]; + origin[0] = extent[ex][0]; + origin[1] = extent[ey][1]; + } else if (d3.event.altKey) center = origin.slice(); + g.style("pointer-events", "none").selectAll(".resize").style("display", null); + d3.select("body").style("cursor", eventTarget.style("cursor")); + event_({ + type: "brushstart" + }); + brushmove(); + function mouse() { + var touches = d3.event.changedTouches; + return touches ? d3.touches(target, touches)[0] : d3.mouse(target); + } + function keydown() { + if (d3.event.keyCode == 32) { + if (!dragging) { + center = null; + origin[0] -= extent[1][0]; + origin[1] -= extent[1][1]; + dragging = 2; + } + d3_eventPreventDefault(); + } + } + function keyup() { + if (d3.event.keyCode == 32 && dragging == 2) { + origin[0] += extent[1][0]; + origin[1] += extent[1][1]; + dragging = 0; + d3_eventPreventDefault(); + } + } + function brushmove() { + var point = mouse(), moved = false; + if (offset) { + point[0] += offset[0]; + point[1] += offset[1]; + } + if (!dragging) { + if (d3.event.altKey) { + if (!center) center = [ (extent[0][0] + extent[1][0]) / 2, (extent[0][1] + extent[1][1]) / 2 ]; + origin[0] = extent[+(point[0] < center[0])][0]; + origin[1] = extent[+(point[1] < center[1])][1]; + } else center = null; + } + if (resizingX && move1(point, x, 0)) { + redrawX(g); + moved = true; + } + if (resizingY && move1(point, y, 1)) { + redrawY(g); + moved = true; + } + if (moved) { + redraw(g); + event_({ + type: "brush", + mode: dragging ? "move" : "resize" + }); + } + } + function move1(point, scale, i) { + var range = d3_scaleRange(scale), r0 = range[0], r1 = range[1], position = origin[i], size = extent[1][i] - extent[0][i], min, max; + if (dragging) { + r0 -= position; + r1 -= size + position; + } + min = clamp[i] ? Math.max(r0, Math.min(r1, point[i])) : point[i]; + if (dragging) { + max = (min += position) + size; + } else { + if (center) position = Math.max(r0, Math.min(r1, 2 * center[i] - min)); + if (position < min) { + max = min; + min = position; + } else { + max = position; + } + } + if (extent[0][i] !== min || extent[1][i] !== max) { + extentDomain = null; + extent[0][i] = min; + extent[1][i] = max; + return true; + } + } + function brushend() { + brushmove(); + g.style("pointer-events", "all").selectAll(".resize").style("display", brush.empty() ? "none" : null); + d3.select("body").style("cursor", null); + w.on("mousemove.brush", null).on("mouseup.brush", null).on("touchmove.brush", null).on("touchend.brush", null).on("keydown.brush", null).on("keyup.brush", null); + dragRestore(); + event_({ + type: "brushend" + }); + } + } + brush.x = function(z) { + if (!arguments.length) return x; + x = z; + resizes = d3_svg_brushResizes[!x << 1 | !y]; + return brush; + }; + brush.y = function(z) { + if (!arguments.length) return y; + y = z; + resizes = d3_svg_brushResizes[!x << 1 | !y]; + return brush; + }; + brush.clamp = function(z) { + if (!arguments.length) return x && y ? clamp : x || y ? clamp[+!x] : null; + if (x && y) clamp = [ !!z[0], !!z[1] ]; else if (x || y) clamp[+!x] = !!z; + return brush; + }; + brush.extent = function(z) { + var x0, x1, y0, y1, t; + if (!arguments.length) { + z = extentDomain || extent; + if (x) { + x0 = z[0][0], x1 = z[1][0]; + if (!extentDomain) { + x0 = extent[0][0], x1 = extent[1][0]; + if (x.invert) x0 = x.invert(x0), x1 = x.invert(x1); + if (x1 < x0) t = x0, x0 = x1, x1 = t; + } + } + if (y) { + y0 = z[0][1], y1 = z[1][1]; + if (!extentDomain) { + y0 = extent[0][1], y1 = extent[1][1]; + if (y.invert) y0 = y.invert(y0), y1 = y.invert(y1); + if (y1 < y0) t = y0, y0 = y1, y1 = t; + } + } + return x && y ? [ [ x0, y0 ], [ x1, y1 ] ] : x ? [ x0, x1 ] : y && [ y0, y1 ]; + } + extentDomain = [ [ 0, 0 ], [ 0, 0 ] ]; + if (x) { + x0 = z[0], x1 = z[1]; + if (y) x0 = x0[0], x1 = x1[0]; + extentDomain[0][0] = x0, extentDomain[1][0] = x1; + if (x.invert) x0 = x(x0), x1 = x(x1); + if (x1 < x0) t = x0, x0 = x1, x1 = t; + extent[0][0] = x0 | 0, extent[1][0] = x1 | 0; + } + if (y) { + y0 = z[0], y1 = z[1]; + if (x) y0 = y0[1], y1 = y1[1]; + extentDomain[0][1] = y0, extentDomain[1][1] = y1; + if (y.invert) y0 = y(y0), y1 = y(y1); + if (y1 < y0) t = y0, y0 = y1, y1 = t; + extent[0][1] = y0 | 0, extent[1][1] = y1 | 0; + } + return brush; + }; + brush.clear = function() { + extentDomain = null; + extent[0][0] = extent[0][1] = extent[1][0] = extent[1][1] = 0; + return brush; + }; + brush.empty = function() { + return x && extent[0][0] === extent[1][0] || y && extent[0][1] === extent[1][1]; + }; + return d3.rebind(brush, event, "on"); + }; + var d3_svg_brushCursor = { + n: "ns-resize", + e: "ew-resize", + s: "ns-resize", + w: "ew-resize", + nw: "nwse-resize", + ne: "nesw-resize", + se: "nwse-resize", + sw: "nesw-resize" + }; + var d3_svg_brushResizes = [ [ "n", "e", "s", "w", "nw", "ne", "se", "sw" ], [ "e", "w" ], [ "n", "s" ], [] ]; + d3.time = {}; + var d3_time = Date, d3_time_daySymbols = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ]; + function d3_time_utc() { + this._ = new Date(arguments.length > 1 ? Date.UTC.apply(this, arguments) : arguments[0]); + } + d3_time_utc.prototype = { + getDate: function() { + return this._.getUTCDate(); + }, + getDay: function() { + return this._.getUTCDay(); + }, + getFullYear: function() { + return this._.getUTCFullYear(); + }, + getHours: function() { + return this._.getUTCHours(); + }, + getMilliseconds: function() { + return this._.getUTCMilliseconds(); + }, + getMinutes: function() { + return this._.getUTCMinutes(); + }, + getMonth: function() { + return this._.getUTCMonth(); + }, + getSeconds: function() { + return this._.getUTCSeconds(); + }, + getTime: function() { + return this._.getTime(); + }, + getTimezoneOffset: function() { + return 0; + }, + valueOf: function() { + return this._.valueOf(); + }, + setDate: function() { + d3_time_prototype.setUTCDate.apply(this._, arguments); + }, + setDay: function() { + d3_time_prototype.setUTCDay.apply(this._, arguments); + }, + setFullYear: function() { + d3_time_prototype.setUTCFullYear.apply(this._, arguments); + }, + setHours: function() { + d3_time_prototype.setUTCHours.apply(this._, arguments); + }, + setMilliseconds: function() { + d3_time_prototype.setUTCMilliseconds.apply(this._, arguments); + }, + setMinutes: function() { + d3_time_prototype.setUTCMinutes.apply(this._, arguments); + }, + setMonth: function() { + d3_time_prototype.setUTCMonth.apply(this._, arguments); + }, + setSeconds: function() { + d3_time_prototype.setUTCSeconds.apply(this._, arguments); + }, + setTime: function() { + d3_time_prototype.setTime.apply(this._, arguments); + } + }; + var d3_time_prototype = Date.prototype; + var d3_time_formatDateTime = "%a %b %e %X %Y", d3_time_formatDate = "%m/%d/%Y", d3_time_formatTime = "%H:%M:%S"; + var d3_time_days = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], d3_time_dayAbbreviations = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], d3_time_months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], d3_time_monthAbbreviations = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]; + function d3_time_interval(local, step, number) { + function round(date) { + var d0 = local(date), d1 = offset(d0, 1); + return date - d0 < d1 - date ? d0 : d1; + } + function ceil(date) { + step(date = local(new d3_time(date - 1)), 1); + return date; + } + function offset(date, k) { + step(date = new d3_time(+date), k); + return date; + } + function range(t0, t1, dt) { + var time = ceil(t0), times = []; + if (dt > 1) { + while (time < t1) { + if (!(number(time) % dt)) times.push(new Date(+time)); + step(time, 1); + } + } else { + while (time < t1) times.push(new Date(+time)), step(time, 1); + } + return times; + } + function range_utc(t0, t1, dt) { + try { + d3_time = d3_time_utc; + var utc = new d3_time_utc(); + utc._ = t0; + return range(utc, t1, dt); + } finally { + d3_time = Date; + } + } + local.floor = local; + local.round = round; + local.ceil = ceil; + local.offset = offset; + local.range = range; + var utc = local.utc = d3_time_interval_utc(local); + utc.floor = utc; + utc.round = d3_time_interval_utc(round); + utc.ceil = d3_time_interval_utc(ceil); + utc.offset = d3_time_interval_utc(offset); + utc.range = range_utc; + return local; + } + function d3_time_interval_utc(method) { + return function(date, k) { + try { + d3_time = d3_time_utc; + var utc = new d3_time_utc(); + utc._ = date; + return method(utc, k)._; + } finally { + d3_time = Date; + } + }; + } + d3.time.year = d3_time_interval(function(date) { + date = d3.time.day(date); + date.setMonth(0, 1); + return date; + }, function(date, offset) { + date.setFullYear(date.getFullYear() + offset); + }, function(date) { + return date.getFullYear(); + }); + d3.time.years = d3.time.year.range; + d3.time.years.utc = d3.time.year.utc.range; + d3.time.day = d3_time_interval(function(date) { + var day = new d3_time(2e3, 0); + day.setFullYear(date.getFullYear(), date.getMonth(), date.getDate()); + return day; + }, function(date, offset) { + date.setDate(date.getDate() + offset); + }, function(date) { + return date.getDate() - 1; + }); + d3.time.days = d3.time.day.range; + d3.time.days.utc = d3.time.day.utc.range; + d3.time.dayOfYear = function(date) { + var year = d3.time.year(date); + return Math.floor((date - year - (date.getTimezoneOffset() - year.getTimezoneOffset()) * 6e4) / 864e5); + }; + d3_time_daySymbols.forEach(function(day, i) { + day = day.toLowerCase(); + i = 7 - i; + var interval = d3.time[day] = d3_time_interval(function(date) { + (date = d3.time.day(date)).setDate(date.getDate() - (date.getDay() + i) % 7); + return date; + }, function(date, offset) { + date.setDate(date.getDate() + Math.floor(offset) * 7); + }, function(date) { + var day = d3.time.year(date).getDay(); + return Math.floor((d3.time.dayOfYear(date) + (day + i) % 7) / 7) - (day !== i); + }); + d3.time[day + "s"] = interval.range; + d3.time[day + "s"].utc = interval.utc.range; + d3.time[day + "OfYear"] = function(date) { + var day = d3.time.year(date).getDay(); + return Math.floor((d3.time.dayOfYear(date) + (day + i) % 7) / 7); + }; + }); + d3.time.week = d3.time.sunday; + d3.time.weeks = d3.time.sunday.range; + d3.time.weeks.utc = d3.time.sunday.utc.range; + d3.time.weekOfYear = d3.time.sundayOfYear; + d3.time.format = function(template) { + var n = template.length; + function format(date) { + var string = [], i = -1, j = 0, c, p, f; + while (++i < n) { + if (template.charCodeAt(i) === 37) { + string.push(template.substring(j, i)); + if ((p = d3_time_formatPads[c = template.charAt(++i)]) != null) c = template.charAt(++i); + if (f = d3_time_formats[c]) c = f(date, p == null ? c === "e" ? " " : "0" : p); + string.push(c); + j = i + 1; + } + } + string.push(template.substring(j, i)); + return string.join(""); + } + format.parse = function(string) { + var d = { + y: 1900, + m: 0, + d: 1, + H: 0, + M: 0, + S: 0, + L: 0 + }, i = d3_time_parse(d, template, string, 0); + if (i != string.length) return null; + if ("p" in d) d.H = d.H % 12 + d.p * 12; + var date = new d3_time(); + if ("j" in d) date.setFullYear(d.y, 0, d.j); else if ("w" in d && ("W" in d || "U" in d)) { + date.setFullYear(d.y, 0, 1); + date.setFullYear(d.y, 0, "W" in d ? (d.w + 6) % 7 + d.W * 7 - (date.getDay() + 5) % 7 : d.w + d.U * 7 - (date.getDay() + 6) % 7); + } else date.setFullYear(d.y, d.m, d.d); + date.setHours(d.H, d.M, d.S, d.L); + return date; + }; + format.toString = function() { + return template; + }; + return format; + }; + function d3_time_parse(date, template, string, j) { + var c, p, i = 0, n = template.length, m = string.length; + while (i < n) { + if (j >= m) return -1; + c = template.charCodeAt(i++); + if (c === 37) { + p = d3_time_parsers[template.charAt(i++)]; + if (!p || (j = p(date, string, j)) < 0) return -1; + } else if (c != string.charCodeAt(j++)) { + return -1; + } + } + return j; + } + function d3_time_formatRe(names) { + return new RegExp("^(?:" + names.map(d3.requote).join("|") + ")", "i"); + } + function d3_time_formatLookup(names) { + var map = new d3_Map(), i = -1, n = names.length; + while (++i < n) map.set(names[i].toLowerCase(), i); + return map; + } + function d3_time_formatPad(value, fill, width) { + var sign = value < 0 ? "-" : "", string = (sign ? -value : value) + "", length = string.length; + return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string); + } + var d3_time_dayRe = d3_time_formatRe(d3_time_days), d3_time_dayLookup = d3_time_formatLookup(d3_time_days), d3_time_dayAbbrevRe = d3_time_formatRe(d3_time_dayAbbreviations), d3_time_dayAbbrevLookup = d3_time_formatLookup(d3_time_dayAbbreviations), d3_time_monthRe = d3_time_formatRe(d3_time_months), d3_time_monthLookup = d3_time_formatLookup(d3_time_months), d3_time_monthAbbrevRe = d3_time_formatRe(d3_time_monthAbbreviations), d3_time_monthAbbrevLookup = d3_time_formatLookup(d3_time_monthAbbreviations), d3_time_percentRe = /^%/; + var d3_time_formatPads = { + "-": "", + _: " ", + "0": "0" + }; + var d3_time_formats = { + a: function(d) { + return d3_time_dayAbbreviations[d.getDay()]; + }, + A: function(d) { + return d3_time_days[d.getDay()]; + }, + b: function(d) { + return d3_time_monthAbbreviations[d.getMonth()]; + }, + B: function(d) { + return d3_time_months[d.getMonth()]; + }, + c: d3.time.format(d3_time_formatDateTime), + d: function(d, p) { + return d3_time_formatPad(d.getDate(), p, 2); + }, + e: function(d, p) { + return d3_time_formatPad(d.getDate(), p, 2); + }, + H: function(d, p) { + return d3_time_formatPad(d.getHours(), p, 2); + }, + I: function(d, p) { + return d3_time_formatPad(d.getHours() % 12 || 12, p, 2); + }, + j: function(d, p) { + return d3_time_formatPad(1 + d3.time.dayOfYear(d), p, 3); + }, + L: function(d, p) { + return d3_time_formatPad(d.getMilliseconds(), p, 3); + }, + m: function(d, p) { + return d3_time_formatPad(d.getMonth() + 1, p, 2); + }, + M: function(d, p) { + return d3_time_formatPad(d.getMinutes(), p, 2); + }, + p: function(d) { + return d.getHours() >= 12 ? "PM" : "AM"; + }, + S: function(d, p) { + return d3_time_formatPad(d.getSeconds(), p, 2); + }, + U: function(d, p) { + return d3_time_formatPad(d3.time.sundayOfYear(d), p, 2); + }, + w: function(d) { + return d.getDay(); + }, + W: function(d, p) { + return d3_time_formatPad(d3.time.mondayOfYear(d), p, 2); + }, + x: d3.time.format(d3_time_formatDate), + X: d3.time.format(d3_time_formatTime), + y: function(d, p) { + return d3_time_formatPad(d.getFullYear() % 100, p, 2); + }, + Y: function(d, p) { + return d3_time_formatPad(d.getFullYear() % 1e4, p, 4); + }, + Z: d3_time_zone, + "%": function() { + return "%"; + } + }; + var d3_time_parsers = { + a: d3_time_parseWeekdayAbbrev, + A: d3_time_parseWeekday, + b: d3_time_parseMonthAbbrev, + B: d3_time_parseMonth, + c: d3_time_parseLocaleFull, + d: d3_time_parseDay, + e: d3_time_parseDay, + H: d3_time_parseHour24, + I: d3_time_parseHour24, + j: d3_time_parseDayOfYear, + L: d3_time_parseMilliseconds, + m: d3_time_parseMonthNumber, + M: d3_time_parseMinutes, + p: d3_time_parseAmPm, + S: d3_time_parseSeconds, + U: d3_time_parseWeekNumberSunday, + w: d3_time_parseWeekdayNumber, + W: d3_time_parseWeekNumberMonday, + x: d3_time_parseLocaleDate, + X: d3_time_parseLocaleTime, + y: d3_time_parseYear, + Y: d3_time_parseFullYear, + "%": d3_time_parseLiteralPercent + }; + function d3_time_parseWeekdayAbbrev(date, string, i) { + d3_time_dayAbbrevRe.lastIndex = 0; + var n = d3_time_dayAbbrevRe.exec(string.substring(i)); + return n ? (date.w = d3_time_dayAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; + } + function d3_time_parseWeekday(date, string, i) { + d3_time_dayRe.lastIndex = 0; + var n = d3_time_dayRe.exec(string.substring(i)); + return n ? (date.w = d3_time_dayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; + } + function d3_time_parseWeekdayNumber(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 1)); + return n ? (date.w = +n[0], i + n[0].length) : -1; + } + function d3_time_parseWeekNumberSunday(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i)); + return n ? (date.U = +n[0], i + n[0].length) : -1; + } + function d3_time_parseWeekNumberMonday(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i)); + return n ? (date.W = +n[0], i + n[0].length) : -1; + } + function d3_time_parseMonthAbbrev(date, string, i) { + d3_time_monthAbbrevRe.lastIndex = 0; + var n = d3_time_monthAbbrevRe.exec(string.substring(i)); + return n ? (date.m = d3_time_monthAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; + } + function d3_time_parseMonth(date, string, i) { + d3_time_monthRe.lastIndex = 0; + var n = d3_time_monthRe.exec(string.substring(i)); + return n ? (date.m = d3_time_monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; + } + function d3_time_parseLocaleFull(date, string, i) { + return d3_time_parse(date, d3_time_formats.c.toString(), string, i); + } + function d3_time_parseLocaleDate(date, string, i) { + return d3_time_parse(date, d3_time_formats.x.toString(), string, i); + } + function d3_time_parseLocaleTime(date, string, i) { + return d3_time_parse(date, d3_time_formats.X.toString(), string, i); + } + function d3_time_parseFullYear(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 4)); + return n ? (date.y = +n[0], i + n[0].length) : -1; + } + function d3_time_parseYear(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 2)); + return n ? (date.y = d3_time_expandYear(+n[0]), i + n[0].length) : -1; + } + function d3_time_expandYear(d) { + return d + (d > 68 ? 1900 : 2e3); + } + function d3_time_parseMonthNumber(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 2)); + return n ? (date.m = n[0] - 1, i + n[0].length) : -1; + } + function d3_time_parseDay(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 2)); + return n ? (date.d = +n[0], i + n[0].length) : -1; + } + function d3_time_parseDayOfYear(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 3)); + return n ? (date.j = +n[0], i + n[0].length) : -1; + } + function d3_time_parseHour24(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 2)); + return n ? (date.H = +n[0], i + n[0].length) : -1; + } + function d3_time_parseMinutes(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 2)); + return n ? (date.M = +n[0], i + n[0].length) : -1; + } + function d3_time_parseSeconds(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 2)); + return n ? (date.S = +n[0], i + n[0].length) : -1; + } + function d3_time_parseMilliseconds(date, string, i) { + d3_time_numberRe.lastIndex = 0; + var n = d3_time_numberRe.exec(string.substring(i, i + 3)); + return n ? (date.L = +n[0], i + n[0].length) : -1; + } + var d3_time_numberRe = /^\s*\d+/; + function d3_time_parseAmPm(date, string, i) { + var n = d3_time_amPmLookup.get(string.substring(i, i += 2).toLowerCase()); + return n == null ? -1 : (date.p = n, i); + } + var d3_time_amPmLookup = d3.map({ + am: 0, + pm: 1 + }); + function d3_time_zone(d) { + var z = d.getTimezoneOffset(), zs = z > 0 ? "-" : "+", zh = ~~(Math.abs(z) / 60), zm = Math.abs(z) % 60; + return zs + d3_time_formatPad(zh, "0", 2) + d3_time_formatPad(zm, "0", 2); + } + function d3_time_parseLiteralPercent(date, string, i) { + d3_time_percentRe.lastIndex = 0; + var n = d3_time_percentRe.exec(string.substring(i, i + 1)); + return n ? i + n[0].length : -1; + } + d3.time.format.utc = function(template) { + var local = d3.time.format(template); + function format(date) { + try { + d3_time = d3_time_utc; + var utc = new d3_time(); + utc._ = date; + return local(utc); + } finally { + d3_time = Date; + } + } + format.parse = function(string) { + try { + d3_time = d3_time_utc; + var date = local.parse(string); + return date && date._; + } finally { + d3_time = Date; + } + }; + format.toString = local.toString; + return format; + }; + var d3_time_formatIso = d3.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ"); + d3.time.format.iso = Date.prototype.toISOString && +new Date("2000-01-01T00:00:00.000Z") ? d3_time_formatIsoNative : d3_time_formatIso; + function d3_time_formatIsoNative(date) { + return date.toISOString(); + } + d3_time_formatIsoNative.parse = function(string) { + var date = new Date(string); + return isNaN(date) ? null : date; + }; + d3_time_formatIsoNative.toString = d3_time_formatIso.toString; + d3.time.second = d3_time_interval(function(date) { + return new d3_time(Math.floor(date / 1e3) * 1e3); + }, function(date, offset) { + date.setTime(date.getTime() + Math.floor(offset) * 1e3); + }, function(date) { + return date.getSeconds(); + }); + d3.time.seconds = d3.time.second.range; + d3.time.seconds.utc = d3.time.second.utc.range; + d3.time.minute = d3_time_interval(function(date) { + return new d3_time(Math.floor(date / 6e4) * 6e4); + }, function(date, offset) { + date.setTime(date.getTime() + Math.floor(offset) * 6e4); + }, function(date) { + return date.getMinutes(); + }); + d3.time.minutes = d3.time.minute.range; + d3.time.minutes.utc = d3.time.minute.utc.range; + d3.time.hour = d3_time_interval(function(date) { + var timezone = date.getTimezoneOffset() / 60; + return new d3_time((Math.floor(date / 36e5 - timezone) + timezone) * 36e5); + }, function(date, offset) { + date.setTime(date.getTime() + Math.floor(offset) * 36e5); + }, function(date) { + return date.getHours(); + }); + d3.time.hours = d3.time.hour.range; + d3.time.hours.utc = d3.time.hour.utc.range; + d3.time.month = d3_time_interval(function(date) { + date = d3.time.day(date); + date.setDate(1); + return date; + }, function(date, offset) { + date.setMonth(date.getMonth() + offset); + }, function(date) { + return date.getMonth(); + }); + d3.time.months = d3.time.month.range; + d3.time.months.utc = d3.time.month.utc.range; + function d3_time_scale(linear, methods, format) { + function scale(x) { + return linear(x); + } + scale.invert = function(x) { + return d3_time_scaleDate(linear.invert(x)); + }; + scale.domain = function(x) { + if (!arguments.length) return linear.domain().map(d3_time_scaleDate); + linear.domain(x); + return scale; + }; + scale.nice = function(m) { + return scale.domain(d3_scale_nice(scale.domain(), m)); + }; + scale.ticks = function(m, k) { + var extent = d3_scaleExtent(scale.domain()); + if (typeof m !== "function") { + var span = extent[1] - extent[0], target = span / m, i = d3.bisect(d3_time_scaleSteps, target); + if (i == d3_time_scaleSteps.length) return methods.year(extent, m); + if (!i) return linear.ticks(m).map(d3_time_scaleDate); + if (target / d3_time_scaleSteps[i - 1] < d3_time_scaleSteps[i] / target) --i; + m = methods[i]; + k = m[1]; + m = m[0].range; + } + return m(extent[0], new Date(+extent[1] + 1), k); + }; + scale.tickFormat = function() { + return format; + }; + scale.copy = function() { + return d3_time_scale(linear.copy(), methods, format); + }; + return d3_scale_linearRebind(scale, linear); + } + function d3_time_scaleDate(t) { + return new Date(t); + } + function d3_time_scaleFormat(formats) { + return function(date) { + var i = formats.length - 1, f = formats[i]; + while (!f[1](date)) f = formats[--i]; + return f[0](date); + }; + } + function d3_time_scaleSetYear(y) { + var d = new Date(y, 0, 1); + d.setFullYear(y); + return d; + } + function d3_time_scaleGetYear(d) { + var y = d.getFullYear(), d0 = d3_time_scaleSetYear(y), d1 = d3_time_scaleSetYear(y + 1); + return y + (d - d0) / (d1 - d0); + } + var d3_time_scaleSteps = [ 1e3, 5e3, 15e3, 3e4, 6e4, 3e5, 9e5, 18e5, 36e5, 108e5, 216e5, 432e5, 864e5, 1728e5, 6048e5, 2592e6, 7776e6, 31536e6 ]; + var d3_time_scaleLocalMethods = [ [ d3.time.second, 1 ], [ d3.time.second, 5 ], [ d3.time.second, 15 ], [ d3.time.second, 30 ], [ d3.time.minute, 1 ], [ d3.time.minute, 5 ], [ d3.time.minute, 15 ], [ d3.time.minute, 30 ], [ d3.time.hour, 1 ], [ d3.time.hour, 3 ], [ d3.time.hour, 6 ], [ d3.time.hour, 12 ], [ d3.time.day, 1 ], [ d3.time.day, 2 ], [ d3.time.week, 1 ], [ d3.time.month, 1 ], [ d3.time.month, 3 ], [ d3.time.year, 1 ] ]; + var d3_time_scaleLocalFormats = [ [ d3.time.format("%Y"), d3_true ], [ d3.time.format("%B"), function(d) { + return d.getMonth(); + } ], [ d3.time.format("%b %d"), function(d) { + return d.getDate() != 1; + } ], [ d3.time.format("%a %d"), function(d) { + return d.getDay() && d.getDate() != 1; + } ], [ d3.time.format("%I %p"), function(d) { + return d.getHours(); + } ], [ d3.time.format("%I:%M"), function(d) { + return d.getMinutes(); + } ], [ d3.time.format(":%S"), function(d) { + return d.getSeconds(); + } ], [ d3.time.format(".%L"), function(d) { + return d.getMilliseconds(); + } ] ]; + var d3_time_scaleLinear = d3.scale.linear(), d3_time_scaleLocalFormat = d3_time_scaleFormat(d3_time_scaleLocalFormats); + d3_time_scaleLocalMethods.year = function(extent, m) { + return d3_time_scaleLinear.domain(extent.map(d3_time_scaleGetYear)).ticks(m).map(d3_time_scaleSetYear); + }; + d3.time.scale = function() { + return d3_time_scale(d3.scale.linear(), d3_time_scaleLocalMethods, d3_time_scaleLocalFormat); + }; + var d3_time_scaleUTCMethods = d3_time_scaleLocalMethods.map(function(m) { + return [ m[0].utc, m[1] ]; + }); + var d3_time_scaleUTCFormats = [ [ d3.time.format.utc("%Y"), d3_true ], [ d3.time.format.utc("%B"), function(d) { + return d.getUTCMonth(); + } ], [ d3.time.format.utc("%b %d"), function(d) { + return d.getUTCDate() != 1; + } ], [ d3.time.format.utc("%a %d"), function(d) { + return d.getUTCDay() && d.getUTCDate() != 1; + } ], [ d3.time.format.utc("%I %p"), function(d) { + return d.getUTCHours(); + } ], [ d3.time.format.utc("%I:%M"), function(d) { + return d.getUTCMinutes(); + } ], [ d3.time.format.utc(":%S"), function(d) { + return d.getUTCSeconds(); + } ], [ d3.time.format.utc(".%L"), function(d) { + return d.getUTCMilliseconds(); + } ] ]; + var d3_time_scaleUTCFormat = d3_time_scaleFormat(d3_time_scaleUTCFormats); + function d3_time_scaleUTCSetYear(y) { + var d = new Date(Date.UTC(y, 0, 1)); + d.setUTCFullYear(y); + return d; + } + function d3_time_scaleUTCGetYear(d) { + var y = d.getUTCFullYear(), d0 = d3_time_scaleUTCSetYear(y), d1 = d3_time_scaleUTCSetYear(y + 1); + return y + (d - d0) / (d1 - d0); + } + d3_time_scaleUTCMethods.year = function(extent, m) { + return d3_time_scaleLinear.domain(extent.map(d3_time_scaleUTCGetYear)).ticks(m).map(d3_time_scaleUTCSetYear); + }; + d3.time.scale.utc = function() { + return d3_time_scale(d3.scale.linear(), d3_time_scaleUTCMethods, d3_time_scaleUTCFormat); + }; + d3.text = d3_xhrType(function(request) { + return request.responseText; + }); + d3.json = function(url, callback) { + return d3_xhr(url, "application/json", d3_json, callback); + }; + function d3_json(request) { + return JSON.parse(request.responseText); + } + d3.html = function(url, callback) { + return d3_xhr(url, "text/html", d3_html, callback); + }; + function d3_html(request) { + var range = d3_document.createRange(); + range.selectNode(d3_document.body); + return range.createContextualFragment(request.responseText); + } + d3.xml = d3_xhrType(function(request) { + return request.responseXML; + }); + return d3; +}(); diff --git a/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js new file mode 100644 index 00000000000..c5c648255c1 --- /dev/null +++ b/hadoop-tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js @@ -0,0 +1,9789 @@ +/*! + * jQuery JavaScript Library v1.10.2 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2013-07-03T13:48Z + */ +(function( window, undefined ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +//"use strict"; +var + // The deferred used on DOM ready + readyList, + + // A central reference to the root jQuery(document) + rootjQuery, + + // Support: IE<10 + // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` + core_strundefined = typeof undefined, + + // Use the correct document accordingly with window argument (sandbox) + location = window.location, + document = window.document, + docElem = document.documentElement, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // [[Class]] -> type pairs + class2type = {}, + + // List of deleted data cache ids, so we can reuse them + core_deletedIds = [], + + core_version = "1.10.2", + + // Save a reference to some core methods + core_concat = core_deletedIds.concat, + core_push = core_deletedIds.push, + core_slice = core_deletedIds.slice, + core_indexOf = core_deletedIds.indexOf, + core_toString = class2type.toString, + core_hasOwn = class2type.hasOwnProperty, + core_trim = core_version.trim, + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Used for matching numbers + core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + + // Used for splitting on whitespace + core_rnotwhite = /\S+/g, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, + rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }, + + // The ready event handler + completed = function( event ) { + + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } + }, + // Clean-up method for dom ready events + detach = function() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: core_version, + + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return core_slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; + }, + + slice: function() { + return this.pushStack( core_slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: core_push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), + + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + return !isNaN( parseFloat(obj) ) && isFinite( obj ); + }, + + type: function( obj ) { + if ( obj == null ) { + return String( obj ); + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ core_toString.call(obj) ] || "object" : + typeof obj; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !core_hasOwn.call(obj, "constructor") && + !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( jQuery.support.ownLast ) { + for ( key in obj ) { + return core_hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || core_hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw new Error( msg ); + }, + + // data: string of html + // context (optional): If specified, the fragment will be created in this context, defaults to document + // keepScripts (optional): If true, will include scripts passed in the html string + parseHTML: function( data, context, keepScripts ) { + if ( !data || typeof data !== "string" ) { + return null; + } + if ( typeof context === "boolean" ) { + keepScripts = context; + context = false; + } + context = context || document; + + var parsed = rsingleTag.exec( data ), + scripts = !keepScripts && []; + + // Single tag + if ( parsed ) { + return [ context.createElement( parsed[1] ) ]; + } + + parsed = jQuery.buildFragment( [ data ], context, scripts ); + if ( scripts ) { + jQuery( scripts ).remove(); + } + return jQuery.merge( [], parsed.childNodes ); + }, + + parseJSON: function( data ) { + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + if ( data === null ) { + return data; + } + + if ( typeof data === "string" ) { + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + if ( data ) { + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return ( new Function( "return " + data ) )(); + } + } + } + + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + var xml, tmp; + if ( !data || typeof data !== "string" ) { + return null; + } + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: core_trim && !core_trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + core_trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + core_push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( core_indexOf ) { + return core_indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var l = second.length, + i = first.length, + j = 0; + + if ( typeof l === "number" ) { + for ( ; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var retVal, + ret = [], + i = 0, + length = elems.length; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return core_concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = core_slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + // Multifunctional method to get and set values of a collection + // The value/s can optionally be executed if it's a function + access: function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; + }, + + now: function() { + return ( new Date() ).getTime(); + }, + + // A method for quickly swapping in/out CSS properties to get correct calculations. + // Note: this method belongs to the css module but it's needed here for the support module. + // If support gets modularized, this method should be moved back to the css module. + swap: function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; + } +}); + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || type !== "function" && + ( length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj ); +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); +/*! + * Sizzle CSS Selector Engine v1.10.2 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2013-07-03 + */ +(function( window, undefined ) { + +var i, + support, + cachedruns, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + hasDuplicate = false, + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rsibling = new RegExp( whitespace + "*[+~]" ), + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + // BMP codepoint + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && context.parentNode || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key += " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Detect xml + * @param {Element|Object} elem An element or a document + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent.attachEvent && parent !== parent.top ) { + parent.attachEvent( "onbeforeunload", function() { + setDocument(); + }); + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + + // Support: Opera 10-12/IE8 + // ^= $= *= and empty values + // Should not select anything + // Support: Windows 8 Native Apps + // The type attribute is restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "t", "" ); + + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = docElem.compareDocumentPosition ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b ); + + if ( compare ) { + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } + + // Not directly comparable, sort on existence of method + return a.compareDocumentPosition ? -1 : 1; + } : + function( a, b ) { + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Parentless nodes are either documents or disconnected + } else if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val === undefined ? + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null : + val; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + for ( ; (node = elem[i]); i++ ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (see #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), + // not comment, processing instructions, or others + // Thanks to Diego Perini for the nodeName shortcut + // Greater than "@" means alpha characters (specifically not starting with "#" or "?") + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( tokens = [] ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var data, cache, outerCache, + dirkey = dirruns + " " + doneName; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { + if ( (data = cache[1]) === true || data === cachedruns ) { + return data === true; + } + } else { + cache = outerCache[ dir ] = [ dirkey ]; + cache[1] = matcher( elem, context, xml ) || cachedruns; + if ( cache[1] === true ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + // A counter to specify which element is currently being matched + var matcherCachedRuns = 0, + bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, expandContext ) { + var elem, j, matcher, + setMatched = [], + matchedCount = 0, + i = "0", + unmatched = seed && [], + outermost = expandContext != null, + contextBackup = outermostContext, + // We must always have either seed elements or context + elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); + + if ( outermost ) { + outermostContext = context !== document && context; + cachedruns = matcherCachedRuns; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + for ( ; (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + cachedruns = ++matcherCachedRuns; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && context.parentNode || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + elem[ name ] === true ? name.toLowerCase() : null; + } + }); +} + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})( window ); +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var action = tuple[ 0 ], + fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = core_slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; + if( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); +jQuery.support = (function( support ) { + + var all, a, input, select, fragment, opt, eventName, isSupported, i, + div = document.createElement("div"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // Finish early in limited (non-browser) environments + all = div.getElementsByTagName("*") || []; + a = div.getElementsByTagName("a")[ 0 ]; + if ( !a || !a.style || !all.length ) { + return support; + } + + // First batch of tests + select = document.createElement("select"); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName("input")[ 0 ]; + + a.style.cssText = "top:1px;float:left;opacity:.5"; + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + support.getSetAttribute = div.className !== "t"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName("tbody").length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName("link").length; + + // Get the style information from getAttribute + // (IE uses .cssText instead) + support.style = /top/.test( a.getAttribute("style") ); + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + support.hrefNormalized = a.getAttribute("href") === "/a"; + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + support.opacity = /^0.5/.test( a.style.opacity ); + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + support.cssFloat = !!a.style.cssFloat; + + // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) + support.checkOn = !!input.value; + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + support.optSelected = opt.selected; + + // Tests for enctype support on a form (#6743) + support.enctype = !!document.createElement("form").enctype; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>"; + + // Will be defined later + support.inlineBlockNeedsLayout = false; + support.shrinkWrapBlocks = false; + support.pixelPosition = false; + support.deleteExpando = true; + support.noCloneEvent = true; + support.reliableMarginRight = true; + support.boxSizingReliable = true; + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Support: IE<9 + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + // Check if we can trust getAttribute("value") + input = document.createElement("input"); + input.setAttribute( "value", "" ); + support.input = input.getAttribute( "value" ) === ""; + + // Check if an input maintains its value after becoming a radio + input.value = "t"; + input.setAttribute( "type", "radio" ); + support.radioValue = input.value === "t"; + + // #11217 - WebKit loses check when the name is after the checked attribute + input.setAttribute( "checked", "t" ); + input.setAttribute( "name", "t" ); + + fragment = document.createDocumentFragment(); + fragment.appendChild( input ); + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + for ( i in { submit: true, change: true, focusin: true }) { + div.setAttribute( eventName = "on" + i, "t" ); + + support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; + } + + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + // Support: IE<9 + // Iteration over object's inherited properties before its own. + for ( i in jQuery( support ) ) { + break; + } + support.ownLast = i !== "0"; + + // Run tests that need a body at doc ready + jQuery(function() { + var container, marginDiv, tds, + divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + container = document.createElement("div"); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + body.appendChild( container ).appendChild( div ); + + // Support: IE8 + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + div.innerHTML = "
    t
    "; + tds = div.getElementsByTagName("td"); + tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Support: IE8 + // Check if empty table cells still have offsetWidth/Height + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + + // Check box-sizing and margin behavior. + div.innerHTML = ""; + div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; + + // Workaround failing boxSizing test due to offsetWidth returning wrong value + // with some non-1 values of body zoom, ticket #13543 + jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { + support.boxSizing = div.offsetWidth === 4; + }); + + // Use window.getComputedStyle because jsdom on node.js will break without it. + if ( window.getComputedStyle ) { + support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; + support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. (#3333) + // Fails in WebKit before Feb 2011 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + marginDiv = div.appendChild( document.createElement("div") ); + marginDiv.style.cssText = div.style.cssText = divReset; + marginDiv.style.marginRight = marginDiv.style.width = "0"; + div.style.width = "1px"; + + support.reliableMarginRight = + !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); + } + + if ( typeof div.style.zoom !== core_strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.innerHTML = ""; + div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); + + // Support: IE6 + // Check if elements with layout shrink-wrap their children + div.style.display = "block"; + div.innerHTML = "
    "; + div.firstChild.style.width = "5px"; + support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); + + if ( support.inlineBlockNeedsLayout ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = tds = marginDiv = null; + }); + + // Null elements to avoid leaks in IE + all = select = fragment = opt = a = input = null; + + return support; +})({}); + +var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, + rmultiDash = /([A-Z])/g; + +function internalData( elem, name, data, pvt /* Internal Use Only */ ){ + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( jQuery.support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "applet": true, + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + // Do not set data on non-element because it will not be cleared (#8335). + if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { + return false; + } + + var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; + + // nodes accept data unless otherwise specified; rejection can be conditional + return !noData || noData !== true && elem.getAttribute("classid") === noData; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var attrs, name, + data = null, + i = 0, + elem = this[0]; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + attrs = elem.attributes; + for ( ; i < attrs.length; i++ ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var nodeHook, boolHook, + rclass = /[\t\r\n\f]/g, + rreturn = /\r/g, + rfocusable = /^(?:input|select|textarea|button|object)$/i, + rclickable = /^(?:a|area)$/i, + ruseDefault = /^(?:checked|selected)$/i, + getSetAttribute = jQuery.support.getSetAttribute, + getSetInput = jQuery.support.input; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classes, elem, cur, clazz, j, + i = 0, + len = this.length, + proceed = typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call( this, j, this.className ) ); + }); + } + + if ( proceed ) { + // The disjunction here is for better compressibility (see removeClass) + classes = ( value || "" ).match( core_rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + " " + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + elem.className = jQuery.trim( cur ); + + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, clazz, j, + i = 0, + len = this.length, + proceed = arguments.length === 0 || typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call( this, j, this.className ) ); + }); + } + if ( proceed ) { + classes = ( value || "" ).match( core_rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + "" + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + elem.className = value ? jQuery.trim( cur ) : ""; + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value; + + if ( typeof stateVal === "boolean" && type === "string" ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + classNames = value.match( core_rnotwhite ) || []; + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( type === core_strundefined || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // If the element has a class name or if we're passed "false", + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var ret, hooks, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // Use proper attribute retrieval(#6932, #12072) + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + elem.text; + } + }, + select: { + get: function( elem ) { + var value, option, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? + max : + one ? index : 0; + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // oldIE doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + // Don't return options that are disabled or in a disabled optgroup + ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && + ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) { + optionSet = true; + } + } + + // force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + attr: function( elem, name, value ) { + var hooks, ret, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === core_strundefined ) { + return jQuery.prop( elem, name, value ); + } + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + + } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, value + "" ); + return value; + } + + } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var name, propName, + i = 0, + attrNames = value && value.match( core_rnotwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( (name = attrNames[i++]) ) { + propName = jQuery.propFix[ name ] || name; + + // Boolean attributes get special treatment (#10870) + if ( jQuery.expr.match.bool.test( name ) ) { + // Set corresponding property to false + if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + elem[ propName ] = false; + // Support: IE<9 + // Also clear defaultChecked/defaultSelected (if appropriate) + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = + elem[ propName ] = false; + } + + // See #9699 for explanation of this approach (setting first, then removal) + } else { + jQuery.attr( elem, name, "" ); + } + + elem.removeAttribute( getSetAttribute ? name : propName ); + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to default in case type is set after value during creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + }, + + prop: function( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ? + ret : + ( elem[ name ] = value ); + + } else { + return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ? + ret : + elem[ name ]; + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + return tabindex ? + parseInt( tabindex, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + -1; + } + } + } +}); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + // IE<8 needs the *property* name + elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); + + // Use defaultChecked and defaultSelected for oldIE + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; + } + + return name; + } +}; +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr; + + jQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ? + function( elem, name, isXML ) { + var fn = jQuery.expr.attrHandle[ name ], + ret = isXML ? + undefined : + /* jshint eqeqeq: false */ + (jQuery.expr.attrHandle[ name ] = undefined) != + getter( elem, name, isXML ) ? + + name.toLowerCase() : + null; + jQuery.expr.attrHandle[ name ] = fn; + return ret; + } : + function( elem, name, isXML ) { + return isXML ? + undefined : + elem[ jQuery.camelCase( "default-" + name ) ] ? + name.toLowerCase() : + null; + }; +}); + +// fix oldIE attroperties +if ( !getSetInput || !getSetAttribute ) { + jQuery.attrHooks.value = { + set: function( elem, value, name ) { + if ( jQuery.nodeName( elem, "input" ) ) { + // Does not return so that setAttribute is also used + elem.defaultValue = value; + } else { + // Use nodeHook if defined (#1954); otherwise setAttribute is fine + return nodeHook && nodeHook.set( elem, value, name ); + } + } + }; +} + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = { + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + elem.setAttributeNode( + (ret = elem.ownerDocument.createAttribute( name )) + ); + } + + ret.value = value += ""; + + // Break association with cloned elements by also using setAttribute (#9646) + return name === "value" || value === elem.getAttribute( name ) ? + value : + undefined; + } + }; + jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords = + // Some attributes are constructed with empty-string values when not defined + function( elem, name, isXML ) { + var ret; + return isXML ? + undefined : + (ret = elem.getAttributeNode( name )) && ret.value !== "" ? + ret.value : + null; + }; + jQuery.valHooks.button = { + get: function( elem, name ) { + var ret = elem.getAttributeNode( name ); + return ret && ret.specified ? + ret.value : + undefined; + }, + set: nodeHook.set + }; + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + set: function( elem, value, name ) { + nodeHook.set( elem, value === "" ? false : value, name ); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }; + }); +} + + +// Some attributes require a special call on IE +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !jQuery.support.hrefNormalized ) { + // href/src property should get the full normalized URL (#10299/#12915) + jQuery.each([ "href", "src" ], function( i, name ) { + jQuery.propHooks[ name ] = { + get: function( elem ) { + return elem.getAttribute( name, 4 ); + } + }; + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Note: IE uppercases css property names, but if we were to .toLowerCase() + // .cssText, that would destroy case senstitivity in URL's, like in "background" + return elem.style.cssText || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = value + "" ); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }; +} + +jQuery.each([ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +}); + +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + +// Radios and checkboxes getter/setter +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }; + if ( !jQuery.support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + // Support: Webkit + // "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + }; + } +}); +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( core_rnotwhite ) || [""]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( core_rnotwhite ) || [""]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = core_hasOwn.call( event, "type" ) ? event.type : event, + namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { + event.preventDefault(); + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = core_slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === core_strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !jQuery.support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0, + handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); +var isSimple = /^.[^:#\[\.,]*$/, + rparentsprev = /^(?:parents|prev(?:Until|All))/, + rneedsContext = jQuery.expr.match.needsContext, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + ret = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + cur = ret.push( cur ); + break; + } + } + } + + return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( jQuery.unique(all) ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( isSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +jQuery.fn.extend({ + text: function( value ) { + return jQuery.access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + // keepData is for internal use only--do not document + remove: function( selector, keepData ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function () { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return jQuery.access( this, function( value ) { + var elem = this[0] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var + // Snapshot the DOM in case .domManip sweeps something relevant into its fragment + args = jQuery.map( this, function( elem ) { + return [ elem.nextSibling, elem.parentNode ]; + }), + i = 0; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + var next = args[ i++ ], + parent = args[ i++ ]; + + if ( parent ) { + // Don't use the snapshot next if it has moved (#13810) + if ( next && next.parentNode !== parent ) { + next = this.nextSibling; + } + jQuery( this ).remove(); + parent.insertBefore( elem, next ); + } + // Allow new content to include elements from the context set + }, true ); + + // Force removal if there was no new content (e.g., from empty arguments) + return i ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback, allowIntersection ) { + + // Flatten any nested arrays + args = core_concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback, allowIntersection ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Hope ajax is available... + jQuery._evalUrl( node.src ); + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + core_push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( manipulation_rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !jQuery.support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !jQuery.support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = jQuery.support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== core_strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + core_deletedIds.push( id ); + } + } + } + } + }, + + _evalUrl: function( url ) { + return jQuery.ajax({ + url: url, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); + } +}); +jQuery.fn.extend({ + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + } +}); +var iframe, getStyles, curCSS, + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity\s*=\s*([^)]*)/, + rposition = /^(top|right|bottom|left)$/, + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rmargin = /^margin/, + rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), + rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), + rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), + elemdisplay = { BODY: "block" }, + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: 0, + fontWeight: 400 + }, + + cssExpand = [ "Top", "Right", "Bottom", "Left" ], + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function isHidden( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); +} + +function showHide( elements, show ) { + var display, elem, hidden, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + values[ index ] = jQuery._data( elem, "olddisplay" ); + display = elem.style.display; + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); + } + } else { + + if ( !values[ index ] ) { + hidden = isHidden( elem ); + + if ( display && display !== "none" || !hidden ) { + jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); + } + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +jQuery.fn.extend({ + css: function( name, value ) { + return jQuery.access( this, function( elem, name, value ) { + var len, styles, + map = {}, + i = 0; + + if ( jQuery.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each(function() { + if ( isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "columnCount": true, + "fillOpacity": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that NaN and null values aren't set. See: #7116 + if ( value == null || type === "number" && isNaN( value ) ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, + // but it would mean to define eight (for every problematic property) identical functions + if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + + // Wrapped to prevent IE from throwing errors when 'invalid' values are provided + // Fixes bug #5509 + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var num, val, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + } +}); + +// NOTE: we've included the "window" in window.getComputedStyle +// because jsdom on node.js will break without it. +if ( window.getComputedStyle ) { + getStyles = function( elem ) { + return window.getComputedStyle( elem, null ); + }; + + curCSS = function( elem, name, _computed ) { + var width, minWidth, maxWidth, + computed = _computed || getStyles( elem ), + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, + style = elem.style; + + if ( computed ) { + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret; + }; +} else if ( document.documentElement.currentStyle ) { + getStyles = function( elem ) { + return elem.currentStyle; + }; + + curCSS = function( elem, name, _computed ) { + var left, rs, rsLeft, + computed = _computed || getStyles( elem ), + ret = computed ? computed[ name ] : undefined, + style = elem.style; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rs = elem.runtimeStyle; + rsLeft = rs && rs.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + rs.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + rs.left = rsLeft; + } + } + + return ret === "" ? "auto" : ret; + }; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); + } + + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } else { + // at this point, extra isn't content, so add padding + val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var valueIsBorderBox = true, + val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + styles = getStyles( elem ), + isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name, styles ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles + ) + ) + "px"; +} + +// Try to determine the default display value of an element +function css_defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + // Use the already-created iframe if possible + iframe = ( iframe || + jQuery("