Last active
August 29, 2015 14:14
-
-
Save wlattner/284f684519b7ed7d921f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Burgers</title> | |
<script src="d3.v3.js"></script> | |
<script src="ldavis.js"></script> | |
<link rel="stylesheet" type="text/css" href="lda.css"> | |
</head> | |
<body> | |
<!-- Do we need this? --> | |
<div id="errorMsg"></div> | |
<!-- Placeholder div --> | |
<!-- <div id="lda" style="clear: left; background-color: #ffffff; transform: translate(0px, 50px)"></div>--> | |
<div id="lda" style="clear: left; background-color: #ffffff; position: absolute; top: 60px; left: 0px"></div> | |
<script> | |
var vis = new LDAvis("#lda", "lda.json"); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://stackoverflow.com/questions/25194631/is-it-possible-to-always-show-up-down-arrows-for-input-number */ | |
input[type=number]::-webkit-inner-spin-button, | |
input[type=number]::-webkit-outer-spin-button { | |
opacity: 1; | |
} | |
div .tab-content { | |
overflow:hidden; | |
} | |
/* | |
http://bl.ocks.org/mbostock/1212215 | |
*/ | |
.points:not(:hover) .docsize { | |
display: none; | |
} | |
/* | |
http://alignedleft.com/tutorials/d3/axes/ | |
.axis path, | |
.axis line { | |
stroke: black; | |
shape-rendering: crispEdges; | |
} | |
*/ | |
text { | |
font-family: sans-serif; | |
font-size: 11px; | |
} | |
.axis { | |
shape-rendering: crispEdges; | |
} | |
/* | |
this is the major grid line | |
.x.axis line { | |
stroke: lightgrey; | |
} | |
*/ | |
.xaxis .tick.major { | |
fill: black; | |
stroke: black; | |
stroke-width: 0.1; | |
opacity: 0.7; | |
} | |
.xaxis .tick.minor { | |
display: none; | |
} | |
.xaxis line { | |
opacity: 0.1; | |
stroke-width: 1; | |
} | |
.xaxis path { | |
display: none; | |
} | |
.inlineForm { | |
display: inline-block; | |
} | |
.slideraxis .tick.major { | |
fill: black; | |
stroke: black; | |
stroke-width: 0.4; | |
opacity: 1; | |
} | |
.slideraxis .tick.minor { | |
fill: black; | |
stroke: black; | |
stroke-width: 0.4; | |
opacity: 1; | |
} | |
.slideraxis path { | |
display: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mdsDat": { | |
"x": [ -0.19629, -0.17034, -0.15632, -0.14643, -0.17084, -0.11173, -0.11542, -0.11721, -0.054259, -0.070098, -0.12282, -0.046733, -0.098654, 0.23265, 0.27738, 0.28806, 0.13236, 0.22285, 0.23492, 0.18893 ], | |
"y": [ -0.13436, 0.21915, 0.19455, -0.095464, 0.051774, -0.18608, -0.05471, -0.25913, 0.078776, -0.094663, -0.015784, -0.073143, 0.27392, -0.077579, 0.10389, -0.064557, 0.23792, -0.080143, -0.068146, 0.043779 ], | |
"topics": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ], | |
"Freq": [ 11.824, 8.4753, 7.5856, 6.8923, 6.7992, 6.7688, 6.3386, 5.7602, 5.2337, 5.1791, 4.0438, 3.8442, 3.423, 3.1429, 2.9369, 2.8663, 2.7065, 2.4746, 2.4252, 1.2791 ], | |
"cluster": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ] | |
}, | |
"tinfo": { | |
"Term": [ "revbrewchicago", "rpmitalianchi", "chicagoist", "chicagomag", "mercaditochi", "chicagoparks", "halfacrebeer", "dryhopchicago", "loumalnatis", "aucheval", "nextrestaurant", "stephandthegoat", "haymarketpub", "baomouth", "bigstarchicago", "parisclubchi", "timeoutchicago", "gachatz", "pipeworksbrewin", "metrobrewing", "uber_chi", "socialinchicago", "chicagobites", "parisclubbistro", "cheftakashi", "restauranttru", "gooseclybourn", "thesouthernmac", "illinoisbeer", "mburgerchicago", "momblogsociety", "oldmonkrum", "chefmartial", "theffs", "jackdaniels", "salpiconrestaur", "bennisonsbakery", "greencorner1880", "floriole", "local123cafe", "monicaeng", "heartyboys", "bakeanddestroy", "cleettweet", "juliakramer", "wherezthewagon", "rareteacellar", "slowfoodchicago", "chipotle", "ellenmalloy", "mattsland", "skyfullofbacon", "heatherterhune", "lisashames", "fossfoodtrucks", "sproutchi", "cookiebarbakery", "northpondbruce", "infinespirits", "cityfarmchicago", "viandchicago", "songsworid", "armandswestern", "thinkthin", "coloneltribune", "artinstitutechi", "wgnnews", "suntimes", "chicagobreaking", "camaradas115", "cfdmedia", "huffpostchicago", "illinoispga", "chicagoist", "nbcchicago", "chicagoreporter", "chicagodot", "chicagomag", "chicago_reader", "abc7chicago", "rahmemanuel", "chicagoalerts", "chicago_police", "booth_insider", "wbbmnewsradio", "chicagosmayor", "chicagoparks", "weddingchicks", "redeyechicago", "iubloomington", "kevinboehm", "sobayanyc", "la_palapita", "perfect_bound", "cookiesbyjoey", "styleunveiled", "elfamousburrito", "junebugweddings", "oakmillbakery", "ypchicago", "tsingtaouk", "wii", "jccchicago", "caradelevingne", "illinibaseball", "tweetchi", "mariospizzanbk", "allertonhotel", "oakparkredmango", "hyattchicago", "deluxediner", "leonidaschicago", "theknottybride", "grnweddingshoes", "ara_on", "uiucbusiness", "lecrae", "merchantcircle", "weddingbee", "loyolachicago", "reelclub", "hugosfrog", "everestpartychi", "mariostable", "trattoriadoc", "paolasvinum", "gibsonssteak", "437rush", "restauranttru", "rjgruntschicago", "quartinochicago", "keefers_chicago", "maggianochicago", "joejonas", "afpassport", "osteriaviastato", "restaurantl2o", "mastrosofficial", "everest_chicago", "rosebudchicago", "proseccochicago", "mjshchicago", "ragoodtimes", "lamadiachi", "gioco_chicago", "pazzositaliana", "joeschicago", "tablefiftytwo", "lwoodstap", "kinziechophouse", "_MYCC", "1047TheFish", "360Media", "479Degrees", "479popcorn", "AcademyofAuD", "AdoptionFeed", "AJKlein47", "AllAboutTraci", "allyn_lewis", "angejim0531", "AquaBlueATL", "atlandco", "ATLSkyLounge", "audiologyonline", "BakedByMPF", "baskbeauty", "BetterMornings", "BHWestVillage", "BishopHilliard", "BlackGirlBrunch", "Boughtwthought", "BritishTinnitus", "BuckHavenMag", "BuckheadDiner", "Camelliavhh", "CancerCenter", "CelinesDolls", "ChakaKhan", "chan_inthecity", "bharri2", "stgermain", "cafe_convito", "budinnyc", "oldoverholt", "tamalesgaribay", "suntory", "pete_wells", "nickkokonas", "bxlcafe", "rafaelnadal", "samsifton", "reneredzepinoma", "ing_restaurant", "philvettel", "alicewaters", "danielboulud", "dcberan", "curtisduffy", "edlevine", "dhmeyer", "jarstarvie", "heathersper", "hseanbrock", "davidtamarkin", "ideasinfood", "jeangeorges", "ruthbourdain", "gachatz", "cpandel", "chicagopizza", "fiestamexicanau", "salseriagrill", "adriatickafe", "chicagospizza", "trekronorbistro", "rasdashenchi", "deleecegrillpub", "melanthiosgch", "elnuevomexicano", "peruviancuisine", "birdsnestbar", "machupicchurest", "circlecitypizza", "rockwrapandroll", "raffertysgr", "fogo2go", "ukaichicago", "poagmahone", "ecoplanet1", "bossbarchicago", "dagsdelivers", "bistrodragon", "sugarcafe", "rudyschicago", "a_plate", "estelleschicago", "rvbrickoven", "joespizzausa", "cafeselmarie", "kehenatural", "rangolifeast", "carrollplacenyc", "eatfatrice", "aucheval", "renochicago", "tabledonkeyinn", "trenchermanbrew", "tacquick", "parsonschi", "elizabethrest", "tanknoodle", "letiziasfiore", "antiquetaco1", "enotecaroma", "honeybutterchi", "acadiachef_ryan", "goosefootchi", "telegraphwine", "peasantryeatery", "chava_cafe", "lacolombecoffee", "junosushi", "scofflaw", "adastreetchi", "a10hydepark", "carriagehousewp", "iluvsweetfreaks", "billysunday", "dak_wings", "ridgebrookbrew", "_bizzies", "_NoDolce", "13MONSTERSmusic", "29Urs", "aaronsalmon", "AbraNout", "AdamSarwar", "airxflyness", "ajhargroder", "AldermanPope", "Alex_Wiley", "AllianceScienc3", "alliecat0423", "Alpha_Gam_CJC", "AlphaChicago", "Antonelli_Law", "AsianPurrSway", "AtlasCrossFit", "autumndefense", "Ayamayapoeia", "AyOHmusic", "Aztag09", "BenRipaniMusic", "Bigsmoke1973", "BinxBybinx", "BlacktopMEGA", "BoothEveWknd", "BR_Baseball", "C4Chicago", "bentriverbrewin", "hailstormbrew", "bluenosebrewery", "breakroombrew", "18thstreetbrew", "lakeeffect_llc", "spitefulbrewing", "offcolorbrewing", "pipeworksbrewin", "slapshotbrewing", "penrosebrewing", "fleskbrew", "rkfrdbrewingco", "thebeertemple", "5rabbitbrewery", "wlvliquors", "churchstbrew", "solemnoathbeer", "illinoisbeer", "chibeersociety", "uneannee", "begylebrewing", "alarmistbrewing", "hopvinebrewing", "temperancebeer", "chibetterbeer", "stonecapwines", "atlasbrewing", "buckledownbeer", "localoption", "0alex0", "aderhagopian77", "AdlenRobinson", "agaravuso", "AllieJ222", "AllisonOakman", "AmysRandomness", "anab_tweets", "AndersonCamden", "AngelicHandsSpa", "anneKminogue", "annelizabeth615", "annemartin3", "ArlingtonMrDs", "AshCatHoffman", "AshSandee", "AustinMConway", "avidolz", "AylaLokkesmoe", "Barabara_Holtor", "BeccaRinas", "Brittanyrpos", "Btown17", "CaesarsVIP", "CaitlinCrowe", "caitlinfalvey", "Carlisle_PR", "CarolineStoy", "carriebader", "Cass_Kay1", "_amorphis", "_avantasia", "_belphegor", "_demonoid", "_korpiklaani", "_pain", "_Therion", "69eyesofficial", "abbathi", "accepttheband", "AKUT_Dernegi", "AKUTASSOCIATION", "alexanderbasek", "alexcelebi", "amybrookexxx", "anildemirtas_", "AnkaraUniversty", "AOAAUK", "arsis", "Ataturkiye_", "aTelecine", "auditurkiye", "AxeEtkisi", "Bahelee", "bahiscigallas", "basak_dizer", "berkan_cesur", "bibakderim", "BirGun_Gazetesi", "Bitur_versene", "100proofcomedy", "2BidOnAWish", "AccelerateLoans", "acehardin1970", "ADIASound", "AdriaCicciaBe", "adultadhd", "andrewstrong_ir", "annamarierose10", "Antique_Boutiqu", "aquaron", "ArtoftheSong", "AvryGlenn", "barakhullman", "bekah_music", "bk2touchmassage", "BoukouGroove", "BratsBrothersLA", "btllandlord", "cafescape", "CaganManagement", "campingtx", "Caseyspub", "CAUDogRecords", "ChevyChaseCC", "Chicagoderm", "ChiKoreanFest", "ChuckJinesSEO", "CingDeals", "coralroseradio", "12southtaproom", "Acapulco_MN", "AnjuRestaurant", "annettefranz", "asiadognyc", "AuraNash", "Avecbistro", "avesbistro", "BarCFoodDrink", "Barrio_Mpls", "beechhillhotel", "BetterBurgerUT", "biandangnyc", "BirchwoodCafe", "bistrodre2014", "bluedoorpub", "blushwc", "bobjoTruck", "BocaChicaMN", "BookersBBQ", "Boscolytham", "BrasaRotisserie", "bravabistro", "briggskandb", "BulldogNE", "CafeMaude", "CafeTrioUtah", "CaffeNicheSLC", "calypsobebetter", "CantinaNshville", "a1_steak", "benecol", "Bret_Slayer", "crystymre", "erica64", "GmZaMbOn", "JamaicaVilla", "jessymendiola", "juicebarman", "jverden", "KidapillarNY", "mainlinebaking", "MarkRuffalo", "mlp_applebloom", "SergeStevensDYR", "SingleMomDad", "takax62", "ylanointedmom", "15minbeauty", "48DaysTeam", "4Hens1Rooster", "AlexMandossian", "amotherworld", "AngieBCombs", "anitakayduvall", "Anne_Hogan", "annettejett1", "aoatm", "AOHousewife", "AWBloggers", "_TEAMFSE", "101Whiskies", "15Romolo", "2Square2BHip", "aandwwine", "acsteingold", "AeroponicsMan", "agallegom", "AgentLola", "akrossthetable", "AldaChiarini", "aliaakkam", "Aliotos8sf", "Allison_Selby", "alvabiopure", "Amber_1017", "amcVinosdeBaja", "AngelineDAustin", "annajyu", "ApexLifestyles1", "apierleonisacbe", "Aristocatlimo", "Artips_en", "artselfexpress", "ashleycolburn", "AVineRomance", "BarrelHouseBeer", "bekiweki", "BenReininga", "BerettaSF", "acmilan", "argentina", "atjogia", "besthairstyies", "colesprouse", "comedyortruth", "cw_spn", "d_degea", "drakebell", "dulcemaria", "dylansprouse", "easports", "greghoran87", "guaje7villa", "hernanes", "ibgdrgn", "itsmovies", "jerrytrainor", "jesseyjoy", "joe_sugg", "juliancamarena", "loganlerman", "minecraft", "muyinteresante", "newlifecafe", "officialpepe", "princeroyce", "ricky_martin", "seppblatter", "sergioramos", "8bitfootball", "aaronpassman", "ACSJL", "AdamWeinstein", "AdrianHealey", "alexjokich", "AshleeBaracy", "ashley_derthick", "AshleyCodianni", "AuSableMarathon", "BarbByrum", "beckynoodles", "biggby_ferndale", "BIGGBYRunner", "BillMoyersHQ", "BklynMiddleton", "BlindPigAA", "bosonja", "boysinrouge", "BrianSciaretta", "bridgettblough", "brittanygray1", "BruceTalent", "CarolCNN", "cas3434", "chambleebrandel", "Coach_Staten", "CraigFahle", "Crunchys", "cuteculturechic", "_karenDM", "1throwdown1", "2pt9", "abcdt3", "ABRAMSbooks", "Affy_85", "aliteran1", "allisonhelene", "amandagurney", "amlyb3", "anp9", "ArtekAmericas", "ashleylange", "assyahidi", "BackyardFarmsME", "banbem", "bayareadoglvr", "bellalimento", "beth_royals", "BloggersBlvd", "bnagirly", "boukieboo", "boyce5", "BrittanysPantry", "BUDGEcom_", "cake_cutie", "CarminEllenRoss", "CarrenTX", "cavecravings", "Chef_TKeller", "__emsea", "_BrandonScott_", "_developmental_", "_ethereaIity", "_hendrika", "_lotus", "_mjdeen", "_MoveableFeast_", "_olivver", "_outtro", "_Pinhead_", "_richsmith", "_SaraSaunders", "_Sorgi", "_The__familiar", "_TimeManagement", "_x3ate", "165East66th", "19RudeBoi98", "1andycampbell", "1stWardEvents", "20x200", "225WestWacker", "2555NClark", "2BrewsTravelers", "2girls1platepdx", "2select1", "30for30", "312Gina", "37signals", "phillipfoss", "crainschicago", "chicagomarriott", "312chinatown", "SpaceshipsLB", "chocandcarrots", "Diethood", "collegeprepster", "BudgetEarth", "CharlesEsten", "GiveawayPromote", "its_a_fab_life", "Monica61", "MsFrugalMommy", "Nashville_ABC", "totsfamily", "2SouthernGirls", "504Main", "7_Alive", "AllergyProducts", "AllieBigDreamer", "andi_fisher", "Angieleigh", "art_by_megan", "arzcubed", "asweetspothome", "b_littlewood", "babiesartroom", "bclark565r", "BellaGreyDesign", "BestBlogRecipes", "bjac68", "bloggersbest", "BloggingMamas", "carmichaelsteak", "paulyspizza", "ruxbinchicago", "halfshellchi", "takitogrill", "fatsandwichlp", "beckersuz", "chi_comp_orch", "piobagusfidil", "haymarketpub", "taquerofusion", "ducknrolltruck", "theroosttruck", "caponiesexp", "courageouscakes", "thejibaritostop", "adelitatruck", "tamalespace101", "latitude20n", "sweetiecakes", "tamalespaceship", "lqmeatmobile", "mamagreengoodie", "anildash", "Colorlines", "ShellTerrell", "Techbradwaid", "harperteen", "simonteen", "Teenreads", "4_teachers", "AdvancEDorg", "akoster1", "alexachula", "alexanderrusso", "alicekeeler", "AllisonHoganESD", "amandalah", "andreperryedu", "AngelaMaiers", "azzurrachicago", "bartakito", "artangobistro", "atwoodcafe", "bitestapas", "gyromena", "theallischicago", "anichicago", "realcomfortfood", "hanamisushi_", "friendshipresta", "frenchtini", "ruths_chris", "cafemarbellail", "staropolska", "coppervinechi", "imonelli", "rosieswesttown", "pizzahouse1647", "uniteurbangrill", "laparrillacol", "trattoriademi", "kohanchicago", "sofrachicago", "gulliverschgo", "nikkeichicago", "vorachicago", "wallswharf", "sofirestaurant", "_rumshine", "chi_humanities", "theatrechicago", "victorygardens", "chitheaterbeat", "timelinetheatre", "aredorchid", "thehousetheatre", "lifelinetheatre", "thehypocrites", "writerstheatre", "strawdogtheatre", "thtronthelake", "chicagofringe", "stagelefttheatr", "greenhouse2257", "courtchicago", "aboutfacechi", "livewirechicago", "remybumppo", "trapdoortheatre", "theaterwit", "chicagoshakes", "eclipsetheatre", "rivendellthtr", "josephjefferson", "strangetree", "signalensemble", "theatreseven", "ruckustheater", "profilestheatre", "lupaosteria", "themodernnyc", "osteriamorini", "chezspencergo", "freemansalley", "kinshopnyc", "littleskillet", "havanany", "canerossosf", "locandaverde", "cafeterianyc", "locandasf", "shanesribshack", "boborestaurant", "burgerandbarrel", "riverparknyc", "public_nyc", "recettenyc", "franksspuntino", "bryantparkgrill", "bltfish", "wisesonsdeli", "megunyc", "agozarbistro", "untitlednyc", "enjb_ny", "bistrochatnoir", "canyonroadgrill", "kutsherstribeca", "goodfellaspizza", "mommypr", "momitforward", "thatbaldchick", "childmode", "happyfamily", "mabelhood", "she_scribes", "parentsconnect", "healthy_child", "themotherhood", "melissaanddoug", "celeb_babyscoop", "techsavvymama", "cafemom", "pregnancymag", "mdefined", "ourordinarylife", "britax", "mybaybah", "skiphop", "quakerchewy", "eightymphmom", "mommybites", "huggies", "ergobaby", "booninc", "weidknecht", "stokkebaby", "gracobaby", "whattoexpect", "winereviewonlin", "tomcwark", "winebizradio", "terroiristblog", "canterburywine", "antoniogalloni", "florasprings", "cuvaison", "winebusiness", "chappellet_wine", "gloriaferrer", "winesandvines", "raymondvineyard", "sigvin", "quintessawinery", "wineguru", "rombauervino", "sonomavintners", "wineatlas", "winetourguy", "chmontelena", "hirschvineyards", "timfishwine", "schramsberg", "zdwines", "roundpond", "patzhall", "grgichhills", "truchard", "schugwinery", "ledpipe08", "benasmith12", "crow_50", "bsaad20", "dougmcd3", "thejefferyshow", "10psharp", "johngroce", "jennyslate", "unforettable", "scotusblog", "jaredallen69", "slate", "windhorstespn", "pogue", "michelledbeadle", "stevekerr", "officialjld", "stuartscott", "zachlowe_nba", "normmacdonald", "thedemocrats", "lisalampanelli", "nbcsports", "theviewtv", "mulaney", "iamcolinquinn", "judahworldchamp", "newshour", "nprbooks", "averybrewingco", "greatdividebrew", "ratebeer", "smuttynosebeer", "boulderbeerco", "craftbeer", "terrapinbeerco", "charliepapazian", "brewingnetwork", "alesmithbrewing", "beerstjournal", "newbelgiumbeer", "usabeertrends", "newbrewthursday", "lostabbey", "beeramericatv", "jasonalstrom", "cascadebrewing", "beer_goddess", "beerscribe", "homebrewassoc", "brewpublic", "weyerbacher", "thetomme", "rockartbrewery", "whitelabs", "bpbrewing", "northern_brewer", "hessbrewing", "brewbound", "thefoodsection", "guarnaschelli", "chefchiarello", "chefanneburrell", "gzchef", "mvoltaggio", "chef_aaron", "choptedallen", "GrandCruWineMer", "natephippen", "JasonPrah", "EyrieVineyards", "teddyoenos", "Brindille_Chgo", "Vincent_Chicago", "ktownmangia", "RdVVineyards", "VitosStLouis", "italianwineguy", "CarlaRzeszewski", "lindamurphywine", "ramonapeterson3", "33wine", "AbesMarket", "AceroSTL", "alexwagner", "AllysonMace", "AtoZWineworks", "AttilaEats", "BellePlumeMia", "CrainsChicago", "HuffPostChicago", "ZagatChicago", "LettuceEats", "mercaditoCHI", "CSchicagosocial", "HoneyButterChi", "JellyfishOne11", "AmandaPuck", "ChiTribFood", "Bourdain", "BigStarChicago", "RevBrewChicago", "TimeOutChicago", "SienaTavern", "MikeSula", "PiccoloSogno", "TheVioletHour1", "ChicagoBears", "BillyDec", "Uber_CHI", "ABC7Chicago", "Rockit", "Chicago_Reader", "Bottlefork", "Chicagoist", "CHGOFoodScene", "ThePigChicago", "Chicago_Gourmet", "MarianosMarket", "elizabites", "wgnmorningnews", "navypier", "visitchicago", "paulkahan", "lincolnstation", "gebistro", "dryhopchicago", "4pawsbrewing", "soupsintheloop", "beyondborders4", "tamalefoodie", "smallschicago", "trellischi", "craftpizzachi", "oldtownrefinery", "atwoodchicago", "fornellot", "henrysswingclub", "woodhavenchi", "tresoldichicago", "oracletheatre", "janerestaurant", "goburger", "coffeebarsf", "shulasnyc", "themommyfiles", "mastersofwine", "dirtysouthwine", "enobytes", "ky1elong", "ladiesocb", "allaboutbeer", "shmaltzbrewingw", "amandafreitag", "carlahall", "eaterny", "padmalakshmi", "chefjoseandres", "marcuscooks", "cityprovisions", "fairmontchicago", "rebelchicago", "saporitrattoria", "embeyachicago", "lacolombechi", "arcadebrewery", "5411empanadas", "theslideride", "beaversdonuts", "chicago_cupcake", "forevertruck", "pearltavern", "highnoonchicago", "decachicago", "escarestaurant", "thesmithnyc", "starrrestaurant", "5minutesformom", "vinography", "chelseavperetti", "greenflashbeer", "thebruery", "hoppinfrog", "mylastbite", "davidlebovitz", "tylerflorence", "glutenfreegirl", "cpkimball", "bravotopchef", "bryanvoltaggio", "SocialInChicago", "davidtamarkin", "chicagoideas", "enjoyillinois", "hrcchicago", "filinichicago", "michaelnagrant", "ariachicago", "abeconlon", "beeradam", "bridgeportpasty", "chicagolunchbox", "docbschi", "elmariachibar", "perillanyc", "butterfinger", "snooth", "rjonwine", "palatepress", "robertherjavec", "shawz15er", "adamcarolla", "davidgregory", "cigarcitybeer", "moylansbrewery", "huffpostfood", "foodspotting", "frankbruni", "jancisrobinson", "eartheats", "cooking_light", "THESALSATRUCK", "ramon_deleon", "mburgerchicago", "chefintheory", "dflychicago", "statechicago", "trenchermen", "abouandre", "aliciamarie112", "chifoodtruckz", "sweetridechi", "joefishchicago", "raising_canes", "247moms", "attunefoods", "vsattui", "martysaurusrex", "bbicks29", "marcmaron", "skabrewing", "ruthreichl", "offalchris", "foodimentary", "sundaydinnerchi", "wttw", "garrettpopcorn", "rpmitalianchi", "studioparischi", "mercer113", "90mileschicago", "oonchicago", "lemonesse", "wattypagon", "vaultvanchicago", "hautesausage", "chitown_bomber", "melicafechicago", "banhmilv", "bomonkeys", "maialino_nyc", "redhooklobster", "momtrends", "amomstake", "momstart", "pineridgewine", "wine_com", "bollig87", "grantland33", "nottjmiller", "food52", "tonymantuano", "socialinchicago", "potbelly", "shellyfromshaws", "elhefe_chicago", "undergroundchi", "chefmikesheerin", "fizzchicago", "nickysgrill", "downtowndogschi", "chibeergeeks", "haymarketbeer", "packing_house", "woodieschicago", "neofuturists", "sizzler_usa", "audreymcclellan", "earth_balance", "jamesthewineguy", "napavintners", "brewersassoc", "ericripert", "mikesula", "windycitizen", "chiarchitecture", "gene_georgetti", "aychiwowa", "chefryanpoli", "giuseppetentori", "rodanchicago", "nicoosteria", "bellyqchicago", "danamtedesco", "celikins", "bellalunachi", "cravelocal", "sabrinihari", "thesalsatruck", "oldcrowsmokehse", "casamono", "carlayoung", "1winedude", "bonnydoonvineyd", "keitholbermann", "firestonewalker", "breckbrew", "victorybeer", "cheftramonto", "lushwine", "cbschicago", "chicagocurrent", "rpmitalianchi", "chipublichouse", "rockitranch", "michelinguidech", "kitchensinkcafe", "elideaschi", "shannondowney", "foodiechats", "marchofdimeschi", "ginojrocco", "nftechicago", "goromanet", "maracas43", "chicagoplays", "punchpizza", "verasweeney", "ridgevineyards", "duncankeith", "odellbrewing", "michaelnagrant", "wgntv", "elischeesecake", "parisclubbistro", "parisclubchi", "estateultrabar", "citizenbar", "benchmarkchi", "merkleschicago", "brendansodikoff", "chicagosoupco", "eatingforsanity", "ajbulls", "mrlxc", "geekilygf", "tablesavvy", "blendabout", "burritobeach", "thesouthernmac", "redmoontheater", "scarpettanyc", "fattycrab", "dellanimanyc", "socialmoms", "jamessuckling", "kermitlynchwine", "pmabray", "twaddle87", "alaskanbrewing", "cheftakashi", "msichicago", "chicagotheatre", "swirlzcupcakes", "spiaggiachicago", "bullbearbar", "mercaditochi", "market_bar", "hub51", "thegridchi", "bottlefork", "eastbankclub", "andrewoknowlton", "leonaschicago", "peckingorderchi", "adamknade", "goodbeerhunting", "themoremobile", "lancebriggs", "beermagazine", "gaelgreene", "aribendersky", "triblocal", "fox32news", "broadwaychicago", "signatureroom95", "uber_chi", "sunda", "stoutchicago", "clubmonaco", "piperlime", "aritzia", "rockit", "nextrestaurant", "mikesula", "hackneys", "mackusushi", "stevegogreen", "tantachicago", "comedysportzchi", "tertulia_nyc", "hvranch", "resourcefulmom", "drvino", "paugasol", "breweryommegang", "fox32news", "timeoutchicago", "shedd_aquarium", "hubbardinn", "phillipfoss", "skyfullofbacon", "fireplaceinn", "blenderbabe", "bellsbrewery", "blackieschicago", "cathycorison", "davebolland", "foodeasemarket", "florentineresto", "allyoucaneatchi", "rockitburgerbar", "aribendersky", "huntclubchicago", "yushochicago", "bombaywraps", "troquetchi", "nexttheatre", "lukeslobster", "classymommy", "tishwine", "hennorjenn26", "peanuttillman", "lefthandbrewing", "flyingdog", "kevinboehmboka", "ingoodtastemag", "thefatshallot", "pizzarusticachi", "butternyc", "huffposttaste", "instagram", "drakechicago", "chicagomusic", "billydec", "flattopgrill", "balenachicago", "five_guys", "88pkane", "rogueales", "scoozichicago", "cschicagosocial", "pennypollack", "bigbrickschi", "chdistillery", "shibleysmiles", "cta", "monamigabichi", "philstefani", "cheftakashi", "foodieanthony", "travel_chicago", "kamehachi", "delposto", "fatburger", "sonomawineguy", "burlacher54", "craftbeerdotcom", "loumalnatis", "cheekyjessica", "loganbar", "getcurriedaway", "gejascafe", "thehopleaf", "sunchips", "jmolesworth1", "vstalberg", "kendallcollege", "chicago", "alesyndicate", "goodmantheatre", "moes_hq", "triciagoyer", "espnchihawks", "gailsimmons", "pennypollack", "redivychicago", "ramon_deleon", "maproomtavern", "flirtycupcakes", "auditoriumchgo", "babboristorante", "savvysassymoms", "robertmparkerjr", "cityofchicago", "cbschicago", "parisclubchi", "thewitchicago", "stevedolinsky", "theviolethour1", "bfinnrivernorth", "lyricopera", "chicagonow", "epicrestaurant", "devonchicago", "foodiechatschi", "revbrewchicago", "southportirving", "steppenwolfthtr", "bonefishgrill", "familyfocusblog", "bmarshall", "stephandthegoat", "savoychicago", "metrobrewing", "carlsjr", "theorganicview", "waddleandsilvy", "stonegreg", "greengrocerchi", "thewebergrill", "publicanquality", "socialinchicago", "thelocalchicago", "quiznos", "aboutamom", "bottlenotes", "draftmag", "sonomawilliam", "illinihoops", "thekitchn", "cp_chicago", "paramountroom", "tracyswartz", "cakebreadwines", "mattforte22", "deschutesbeer", "parisclubbistro", "michiganavemag", "halfacrebeer", "baomouth", "amandahesser", "revbrewchicago", "nacional27", "finchbeer", "gglasstheatre", "wineandspirits", "oskarblues", "choosechicago", "johnthebristol", "jpgraziano", "dove_chocolate", "paulkahan", "tavernita", "harristheater", "missionstfood", "stbcbeer", "halfacrebeer", "chibeerweek", "calpizzakitchen", "debrameiburgmw", "wheresthecup", "gooseclybourn", "choosechicago", "lettuceeats", "verachicago", "chicagoporkchop", "fossfoodtrucks", "beatrixchicago", "ourkidsmom", "chicagobites", "dbprimehouse", "takitokitchen", "barbutonyc", "twesommelier", "sarahspain", "eatocracy", "luxbarchicago", "firehousesubs", "chicagobites", "alpanasingh", "gooseisland", "howellsandhood", "chicagomuseum", "hub51", "musicboxtheatre", "macaronigrill", "lovemyphilly", "johnthebristol", "mercaditochi", "chicagoscene", "stanleyschicago", "craigieonmain", "csnchicago", "untappd", "lifewortheating", "lettuceeats", "twobrothersbeer", "jerk312", "celestechicago", "chicagofoodtrux", "trumpchicago", "thepigchicago", "bjsrestaurants", "ThePeninsulaChi", "metromixchi", "wgntv", "eatatunion", "joffreyballet", "culvers", "nestleusa", "robbiegould09", "pompeipizza", "britechicago", "wherezthewagon", "chicagoopera", "wineharlots", "kevinzraly", "thefullpint", "giltcitychicago", "pieeyedpizzeria", "tetecharcuterie", "thesecondcity", "duckhornwine", "stephandthegoat", "edibleinkpr", "millennium_park", "nellcote833", "boardinghse", "adlerskywatch", "cornerbakery", "eater", "thelocaltourist", "ponyinnchicago", "bin36", "drinkatfranklin", "chifilmfest", "grouponchicago", "cheekychicago", "greenbush_brew", "cicchettichi", "brooklynbrewery", "wholefoodschi", "citechicago", "sheffieldsbbq", "surfsweets", "thedailysip", "nextrestaurant", "yelpchicago", "tavernita", "vivochicago", "kjwines", "boulevard_beer", "loumalnatis", "aviarycocktails", "chirestaurant", "chipublib", "cherylscottwx", "sierranevada", "foodable", "BIN36", "loumalnatis", "citechicago", "doughnutvault", "chicagosymphony", "CityWineryCHI", "thepigchicago", "chicagoscene", "baomouth", "timeoutchicago", "harrysnavypier", "pfchangs", "rmchicago", "thefountchicago", "kinmontchicago", "mcachicago", "worldwineevents", "superdawg", "mercaditofish", "popchips", "skilling", "thelocalbeet", "publicanchicago", "alsitalianbeef", "gooseclybourn", "thekittchen", "chicagoparks", "chefmichaelmina", "beerpulse", "wherechicago", "cafebabareeba", "bangbangpie", "tortoiseclub", "bostonmarket", "chow", "uber_chi", "FoodiechatsCHI", "bigstarchicago", "msichicago", "wolfgangbuzz", "smashburger", "jbonne", "chicagonow", "chifoodbloggers", "fieldmuseum", "unitedcenter", "eaterchicago", "loumalnatis", "maryschicago", "chicagofoodtrux", "sunkist", "fwscout", "wholefoodschi", "metromixchi", "boundarychicago", "shiakapos", "guysdrinkinbeer", "aubonpain", "davidbouley", "bigstarchicago", "chicagodcase", "chirestaurant", "bigstarchicago", "owenandengine", "brainwines", "surlybrewing", "stevedolinsky", "yelpchicago", "wildfirerest", "bin36", "bordeauxwines", "chicagobites", "iamaudarshia", "chicagobites", "thefifty50", "getcurriedaway", "dryhopchicago", "marcforgione", "loumalnatis", "rick_bayless", "grouponchicago", "smallbardst", "thebeerbistro", "3floydspub", "tesorichicago", "broadwaychicago", "schlafly", "Zagat", "longmanandeagle", "agirlandherfood", "chifoodath", "glamorousbite", "thegagechicago", "scoozichicago", "feastrestaurant", "paulbarron", "revbrewchicago", "chifoodplanet", "littlemarketchi", "qdobamexgrill", "toceatout", "citechicago", "lulacafe", "citywinerychi", "blendabout", "thepublican2008", "lawryschicago", "stephandthegoat", "langhamchicago", "shedd_aquarium", "cta", "goodappetite", "chefryanpoli", "chicagofoodies", "revbrewchicago", "finchbeer", "humphryslocombe", "conantnyc", "nomichicago", "stephandthegoat", "restaurant_com", "naturespath", "berghoffchicago", "chgofoodscene", "chiarchitecture", "BlendAbout", "thepigchicago", "n9nesteakhouse", "bigstarchicago", "windycitytimes1", "maggianos", "campbellsoupco", "sweetwaterchi", "butcherlarder", "quiznos", "UntitledChicago", "chicagoscene", "leghornchicken", "chicagotheatre", "marianosmarket", "thefoodiegossip", "gooseclybourn", "applegate", "alawine", "lettuceeats", "lagunitasbruhws", "danielboulud", "timeoutchicago", "bullbearbar", "ginojrocco", "redeyechicago", "wickerparkbuck", "bigstarchicago", "glutenfreeworks", "winetwits", "wholefoodschi", "thrillistchi", "bigstarchicago", "zagatchicago", "stevegogreen", "kittenwithawhip", "bin36", "chicagoist", "bigstarchicago", "blenderbabe", "thepigchicago", "mortons", "cornerbakery", "greencitymarket", "metromixchi", "jerk312", "revbrewchicago", "harrycarays", "haymarketpub", "lincolnparkzoo", "jacquestorres", "makersmark", "bellsbrewery", "ChicagoBites", "billydec", "nextrestaurant", "wbez", "timeoutchicago", "gachatz", "lettuceeats", "grubstreetchi", "uber_chi", "piecechicago", "chefjohnbesh", "bobsredmill", "wgnnews", "chirestaurant", "chicagomag", "nathanholgate", "ChiFoodBloggers", "bin36", "nextrestaurant", "chicagobites", "burritobeach", "chirestaurant", "wineenthusiast", "chicagosmayor", "thepigchicago", "tastingtablechi", "chicagoparks", "nightwoodpilsen", "wttw", "nextrestaurant", "star_chefs", "chicagomag", "chefartsmith", "thepigchicago", "cheftakashi", "chicagobites", "marianosmarket", "momofuku", "harrycarays", "lettuceeats", "gooseclybourn", "rockitburgerbar", "billdaley", "chefjohnbesh", "loumalnatis", "winepleasures", "foodiechats", "bigstarchicago", "chicagosmayor", "stephandthegoat", "magichat", "chicagobulls", "socialinchicago", "timeoutchicago", "huffpostchicago" ], | |
"logprob": [ 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, -12.924, -12.144, -5.6478, -7.1458, -12.378, -9.3144, -7.3629, -9.3571, -5.4473, -10.769, -5.141, -5.2373, -6.6352, -5.7427, -5.4951, -5.1716, -5.4768, -5.3198, -10.66, -5.141, -5.3286, -5.3115, -5.6964, -5.3809, -5.4131, -5.4723, -7.494, -5.8852, -5.7259, -5.3352, -12.505, -12.046, -10.757, -11.899, -5.3366, -5.2382, -4.6324, -5.5516, -4.6945, -12.425, -5.912, -4.499, -9.7815, -3.6797, -5.8001, -5.3799, -5.788, -3.7505, -4.3796, -6.5781, -5.0546, -4.6926, -5.5068, -7.0046, -5.3696, -4.5881, -4.0623, -8.0213, -5.0937, -8.6092, -10.295, -11.788, -12.313, -8.3937, -10.059, -7.1951, -9.6487, -7.4023, -7.248, -6.0375, -11.353, -10.523, -7.1796, -11.445, -8.4583, -5.0804, -9.5966, -5.8358, -13.489, -4.9366, -10.617, -8.7061, -7.6357, -7.6279, -10.305, -7.7668, -11.296, -8.2466, -7.5224, -5.4487, -6.6543, -5.5108, -8.2958, -6.8295, -12.988, -8.4864, -5.1005, -5.8827, -4.106, -5.1888, -5.0473, -6.7142, -7.9281, -9.8276, -9.8634, -4.8035, -4.9814, -7.3346, -5.2556, -5.5264, -7.3236, -5.4309, -7.4001, -5.8554, -7.0196, -8.0791, -4.6136, -5.5731, -6.1027, -5.658, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -11.512, -12.817, -12.366, -11.931, -11.21, -11.469, -12.279, -11.239, -5.3059, -4.9336, -11.587, -11.769, -5.7291, -6.5616, -9.6239, -4.8258, -5.9043, -5.6479, -4.9946, -4.7118, -6.1523, -5.7581, -4.7785, -5.2077, -5.9166, -4.7493, -5.7845, -6.2248, -5.7159, -3.8807, -4.7913, -10.234, -10.018, -8.6984, -8.4932, -6.1196, -7.3227, -5.7873, -7.9772, -8.5013, -6.4038, -5.7809, -5.8105, -5.6954, -10.423, -9.6758, -10.027, -8.3163, -7.9499, -5.9229, -9.9723, -7.0635, -6.6671, -9.8634, -11.144, -6.847, -10.369, -5.4738, -10.768, -8.4912, -5.7904, -10.185, -9.2193, -10.234, -4.9188, -3.731, -5.5414, -5.0034, -9.8764, -10.578, -5.9674, -5.5702, -8.4218, -9.6271, -5.2758, -8.1147, -5.2785, -5.4384, -4.9656, -4.7036, -6.8249, -7.7307, -6.2639, -8.0136, -4.9551, -5.2318, -7.4223, -4.7833, -9.9986, -5.045, -8.4259, -12.56, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -12.022, -11.165, -8.1573, -8.1057, -6.9818, -5.4185, -5.0321, -5.0118, -4.629, -3.9111, -6.1159, -5.8934, -6.0892, -10.386, -5.3676, -4.9318, -5.584, -5.7983, -4.8466, -3.9994, -5.4244, -5.648, -5.031, -5.6929, -8.5264, -5.4659, -6.036, -11.606, -4.8817, -6.3455, -4.9253, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -11.764, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.25, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.135, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.204, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -12.138, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -11.984, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.111, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -12.057, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.964, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.944, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -11.302, -5.2377, -4.5173, -5.3114, -6.0343, -10.566, -10.986, -10.986, -11.009, -11.033, -11.033, -11.033, -11.033, -11.033, -11.033, -11.033, -11.033, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -11.057, -5.6605, -6.7416, -5.0331, -9.5883, -10.397, -9.9756, -11.372, -11.942, -11.942, -3.7366, -4.2433, -4.3512, -4.7026, -4.9414, -4.5847, -5.8688, -4.4199, -4.2736, -6.5128, -9.1209, -4.2149, -4.75, -5.0013, -10.883, -10.883, -10.883, -10.883, -10.918, -10.918, -10.918, -10.954, -10.954, -10.954, -10.954, -10.954, -10.954, -10.954, -10.954, -10.954, -10.954, -5.7515, -5.7654, -6.5158, -6.5499, -6.6003, -6.6762, -7.1421, -6.7673, -8.0109, -8.7268, -8.7567, -8.7654, -9.0871, -9.1301, -9.2503, -6.1292, -9.347, -7.1344, -9.5938, -7.5764, -9.8045, -8.921, -9.9504, -10.024, -10.138, -10.174, -8.3047, -10.764, -10.831, -10.903, -4.0922, -5.1007, -5.248, -5.3249, -5.4488, -5.4973, -5.5409, -5.6658, -5.6738, -5.678, -5.7422, -5.8958, -5.9265, -5.9372, -5.948, -5.9536, -5.5359, -6.0146, -6.0202, -6.0591, -6.0839, -4.8583, -6.1087, -6.2608, -6.3534, -6.3725, -6.3965, -6.4277, -6.4536, -6.5121, -5.8003, -6.2122, -6.243, -6.3829, -6.3849, -6.1897, -6.4185, -6.4205, -6.5822, -6.6183, -6.6277, -6.7331, -6.8138, -6.8556, -6.8579, -6.8611, -6.8691, -6.5579, -6.9666, -6.9934, -7.0089, -7.0108, -7.0658, -7.0191, -7.1792, -7.1979, -7.0541, -7.3108, -7.3246, -6.3524, -5.4365, -5.5073, -5.881, -5.972, -6.144, -6.1444, -6.2433, -6.2749, -6.2815, -6.2877, -6.3258, -6.3545, -6.4636, -6.4211, -6.5151, -6.54, -6.5555, -6.6174, -6.7108, -6.7292, -6.751, -6.8025, -6.8106, -6.4293, -6.8146, -6.8384, -6.8293, -6.9214, -6.9305, -6.9332, -5.7225, -5.8503, -5.5161, -5.8667, -5.9556, -6.0185, -6.0344, -6.1525, -6.1821, -6.1879, -6.2086, -6.1418, -6.2441, -6.2973, -6.255, -6.3198, -6.3497, -6.3502, -6.3534, -6.1105, -5.7227, -6.4073, -5.745, -6.4497, -6.4631, -6.4814, -6.5055, -6.428, -6.5856, -6.6057, -5.1189, -5.1656, -5.2174, -5.2615, -5.8525, -5.9166, -6.061, -6.5815, -7.1396, -7.2338, -7.2351, -5.9601, -7.5086, -7.521, -7.5353, -7.5408, -7.5815, -7.6161, -7.6622, -7.6725, -7.6913, -7.7213, -7.7322, -7.7344, -7.7455, -7.439, -7.7657, -7.6279, -7.8315, -7.8388, -4.6913, -4.6335, -5.0621, -5.3469, -5.2778, -5.4542, -5.4775, -5.5141, -5.5415, -5.5927, -5.7429, -5.7275, -5.8208, -5.8284, -4.9814, -5.88, -5.903, -5.9896, -6.0152, -5.7357, -6.0385, -5.8661, -6.0932, -6.1476, -6.2512, -6.348, -5.2749, -6.497, -6.5055, -5.8732, -5.2973, -5.3811, -5.3982, -5.0401, -5.0101, -5.0605, -5.181, -4.9489, -9.6785, -9.6785, -9.7877, -9.8677, -9.8677, -9.8888, -9.8888, -9.9103, -9.9103, -9.9103, -9.9322, -9.9547, -9.9547, -9.9547, -9.9777, -9.9777, -9.9777, -9.9777, -9.9777, -9.9777, -9.9777, -9.9777, -7.1756, -7.2594, -7.2682, -7.2741, -7.3477, -7.367, -7.3703, -7.3703, -7.3801, -7.4, -7.4169, -7.4272, -7.4552, -7.4552, -7.4695, -7.4803, -7.495, -7.495, -7.4987, -7.5024, -7.5061, -7.5174, -7.525, -7.5326, -7.5441, -7.5558, -7.5598, -7.5637, -7.5677, -7.5677, -5.309, -5.0649, -4.7783, -4.7438, -4.3558, -5.695, -5.3255, -3.6519, -5.3192, -4.7252, -5.6028, -5.0698, -4.1401, -5.879, -5.9617, -6.3075, -6.0789, -7.5386, -6.215, -6.1431, -5.9446, -6.4683, -5.6549, -6.5176, -6.6072, -6.8893, -6.3129, -5.7061, -5.9875, -5.157, -5.4, -5.3513, -4.7514, -5.7085, -4.9945, -5.1722, -5.4309, -5.7583, -5.554, -4.952, -5.1654, -5.2914, -5.5764, -5.3008, -5.4856, -5.8649, -5.5971, -3.9811, -3.978, -4.3435, -5.2382, -6.0262, -5.9096, -6.5873, -5.8838, -5.9027, -5.5437, -5.2458, -6.0876, -5.3185, -7.5554, -5.102, -5.0614, -5.2514, -5.2512, -5.2417, -6.6918, -5.4843, -5.2934, -5.0514, -5.0923, -6.9901, -5.2001, -5.1686, -4.927, -5.4065, -6.2833, -4.6848, -5.7266, -5.8322, -5.5358, -4.5302, -7.5465, -5.7772, -7.461, -6.5858, -6.3154, -5.5243, -5.3615, -5.2989, -7.1456, -5.806, -7.2061, -7.5121, -5.3062, -5.7019, -5.0699, -5.4097, -5.1775, -5.5445, -7.0349, -5.6107, -7.4695, -5.3201, -4.013, -5.065, -5.4692, -5.0333, -4.6047, -6.3655, -5.4847, -4.6943, -4.167, -6.0444, -6.5009, -5.7112, -6.231, -5.8823, -5.2831, -5.3904, -7.4623, -5.3117, -5.2132, -5.0916, -5.8939, -5.4846, -4.6666, -4.8197, -3.8017, -4.5051, -6.0741, -5.7633, -5.8933, -4.7934, -6.1513, -6.0391, -4.1768, -7.4103, -6.2257, -7.7069, -6.1032, -5.9594, -6.4926, -5.8343, -6.0115, -5.6119, -5.6493, -5.5145, -5.1414, -7.2139, -7.2802, -4.9157, -5.2634, -4.3077, -5.0984, -4.9256, -6.8455, -4.2661, -4.9384, -5.0441, -8.6223, -5.5229, -4.7289, -5.1756, -5.8048, -6.0804, -5.6424, -6.6813, -5.5946, -5.8867, -5.0558, -5.7981, -4.9194, -5.1459, -5.0369, -4.7918, -4.8946, -5.4951, -5.5314, -4.6748, -4.6333, -5.3828, -5.6442, -4.821, -5.9491, -5.7538, -7.0359, -5.3475, -6.0217, -5.197, -6.2378, -5.9999, -5.8304, -5.1488, -5.6857, -7.3275, -4.1069, -5.0685, -4.7909, -5.2931, -5.6094, -4.531, -5.3112, -3.6385, -4.3979, -4.8268, -4.5746, -6.2172, -5.0512, -4.7433, -4.5801, -7.314, -4.7516, -5.0329, -5.9007, -8.5194, -4.664, -6.0281, -5.3551, -5.8321, -5.1368, -5.0695, -5.1298, -4.7738, -4.9913, -4.2134, -4.2084, -6.2014, -5.5579, -5.0622, -6.2276, -5.3606, -5.9706, -7.3291, -5.6814, -4.7275, -8.7215, -5.0073, -4.989, -4.5383, -3.9343, -5.5535, -5.9662, -6.0806, -6.2052, -5.9881, -5.5344, -5.253, -5.8346, -4.7481, -5.2638, -4.6787, -5.3061, -4.9118, -5.8786, -5.6652, -4.3376, -3.5859, -4.5121, -4.307, -5.7921, -5.3249, -6.7085, -5.3563, -5.6975, -5.6996, -5.7998, -5.207, -4.6406, -5.9661, -5.4691, -5.0096, -5.1461, -5.6305, -4.9608, -5.1567, -4.4197, -4.0271, -4.2986, -5.1652, -7.4036, -6.945, -8.0456, -4.2258, -3.8575, -4.7297, -5.7012, -5.7308, -4.391, -5.3215, -5.6577, -5.7804, -6.0413, -5.8502, -5.1373, -6.5691, -4.9754, -4.9537, -3.819, -5.0751, -4.7077, -4.9512, -5.0494, -5.788, -5.2773, -4.5956, -6.4027, -5.6833, -5.8012, -5.8002, -5.3058, -5.1533, -4.5528, -4.8201, -5.297, -4.7583, -5.1276, -6.6827, -5.9693, -5.8479, -5.7721, -5.1401, -5.4114, -5.8814, -3.9823, -4.3661, -4.6559, -5.1993, -5.4223, -5.7326, -6.2404, -5.0086, -7.3288, -5.2676, -5.4398, -4.3019, -5.7188, -4.8316, -4.7342, -6.6005, -4.2832, -5.1859, -4.6269, -4.6991, -5.9777, -4.9305, -5.5394, -5.0507, -5.0706, -5.3315, -4.4141, -4.8509, -5.0487, -5.3304, -5.4618, -6.0469, -5.7823, -6.0614, -5.0578, -3.9767, -4.9992, -5.5995, -5.0551, -4.8304, -4.3978, -6.0261, -5.5666, -5.3256, -5.387, -5.3405, -4.3175, -4.6462, -6.0604, -5.9009, -4.7801, -4.8766, -5.0539, -5.2508, -5.193, -4.9256, -4.2189, -4.7237, -5.522, -5.8602, -5.384, -4.9181, -4.7387, -4.5934, -4.7442, -4.5857, -5.0066, -5.7638, -5.1858, -4.5483, -4.9623, -5.2493, -4.5906, -2.9404, -5.1298, -4.4818, -5.1435, -5.6095, -5.9112, -3.8025, -5.4201, -3.9804, -5.5818, -5.6037, -4.9782, -4.9826, -5.2204, -5.4259, -4.7386, -4.3068, -5.9606, -5.2243, -5.6732, -5.3218, -4.6965, -5.7275, -6.1468, -4.9216, -5.0221, -5.2075, -4.9448, -5.3976, -6.4054, -4.2246, -4.6785, -4.764, -3.6377, -3.7775, -5.1243, -4.1164, -4.7777, -4.1544, -4.6575, -5.0349, -4.8127, -4.7444, -4.7839, -5.4151, -5.7122, -4.9913, -4.7762, -5.2542, -5.6139, -5.0987, -4.6828, -4.7991, -5.2957, -5.2867, -5.1117, -4.6338, -4.6953, -4.0641, -4.9008, -5.1334, -4.5281, -5.2191, -6.0169, -4.0235, -4.988, -5.688, -6.0389, -4.9868, -4.7955, -4.5722, -5.0861, -5.731, -3.9996, -4.7577, -3.9769, -5.3519, -4.6599, -4.7373, -4.845, -6.0625, -5.3807, -5.1209, -4.2632, -4.5749, -4.9532, -5.7893, -4.8443, -5.0506, -5.2617, -4.1788, -4.6084, -4.5245, -6.0158, -5.166, -4.9438, -4.1434, -5.7162, -7.4272, -4.4985, -5.0089, -4.6992, -5.3379, -5.3687, -5.919, -5.6784, -5.3842, -5.1271, -4.4672, -5.2131, -4.8654, -5.3754, -5.01, -4.7142, -5.2586, -5.9407, -4.7771, -5.3381, -4.4273, -4.9567, -4.8016, -4.776, -5.0093, -4.7935, -4.9858, -4.5147, -4.7853, -5.1574, -4.3366, -6.0155, -4.8635, -4.8049, -4.7023, -4.9497, -5.5809, -4.6142, -4.5892, -4.7076, -5.3275, -5.849, -5.4208, -4.6569, -4.7355, -4.9048, -5.2477, -4.8588, -5.0717, -4.422, -4.7863, -4.4001, -5.0225, -5.3112, -4.8186, -4.579, -7.4876, -4.3316, -4.6312, -4.562, -4.8084, -7.4101, -4.6092, -4.7401, -4.7583, -4.3518, -5.4842, -5.3751, -5.0217, -4.8628, -5.7853, -4.6601, -5.3652, -5.0094, -5.3676, -5.5137, -5.0508, -5.1191, -4.645, -5.5221, -4.1804, -5.5403, -4.2744, -5.527, -4.934, -4.9341, -5.002, -5.088, -5.5694, -5.9756, -4.8065, -4.6814, -7.3072, -4.4357, -4.8148, -5.4796, -5.7853, -5.5468, -4.8613, -5.3547, -4.7987, -5.1148, -4.62, -4.594, -5.4785, -4.5676, -5.8496, -5.0437, -4.652, -4.6486, -5.1441, -4.9366, -5.1579, -5.8088, -5.6952, -4.7385, -5.1729, -4.6033, -4.4209, -5.2045, -5.5039, -5.0491, -5.1077, -4.8816, -5.0725, -4.5504, -5.5416, -4.7148, -5.1903, -4.3559, -5.129, -4.7977, -5.1431, -5.6087, -4.5937, -4.7479, -4.8361, -5.2096, -5.294, -4.9418, -5.7614, -4.8416, -5.1114, -7.4803, -4.9395, -5.518, -5.4805, -5.2539, -5.036, -5.3105, -5.3891, -4.8673, -4.5039, -4.9924, -5.5756, -5.7753, -5.11, -5.0129, -5.01, -5.2848, -4.7595, -4.7186, -5.412, -4.2624, -5.4932, -4.8882, -5.2119, -4.8985, -5.2138, -4.7717, -4.6257, -5.013, -5.7801, -5.0239, -5.0911, -4.5456, -5.4071, -5.9678, -5.3072, -4.9491, -4.9166, -7.4913, -4.8095, -5.2991, -4.3789, -5.1244, -5.4262, -5.9996, -5.2801, -5.1153, -5.7509, -7.4731, -4.9893, -5.6868, -4.9428, -5.4301, -4.9416, -5.1067, -5.9035, -5.4059, -4.8522, -5.0075, -4.9529, -4.6397, -5.2359, -5.5692, -5.5109, -5.1109, -4.74, -5.9068, -5.4392, -5.1055, -4.9263, -4.9497, -5.6072, -5.5437, -4.951, -4.9659, -4.7185, -5.0957, -4.9712, -5.1209, -5.5825, -5.7157, -5.1569, -4.9631, -5.6004, -5.1324, -5.3335, -5.5963, -5.0955, -5.7198, -5.401, -4.9376, -7.4913, -4.9928, -4.6658, -5.0562, -5.5023, -4.8611, -4.8444, -4.7783, -5.0363, -5.0247, -5.6937, -5.8948, -5.6747, -5.0446, -4.757, -5.7584, -7.4767, -5.2621, -5.1194, -5.0097, -5.7636, -5.6952, -5.4534, -5.6619, -7.0545, -5.195, -5.0136, -5.1943, -5.1275, -5.5945, -5.6849, -5.6166, -5.2054, -4.7481, -5.1721, -4.7108, -5.7145, -5.7325, -5.6937, -5.1711, -5.0035, -5.3342, -5.1, -5.06, -5.7069, -5.5003, -5.0537, -4.9152, -5.1547, -5.7198, -5.0949, -7.4767, -7.4623, -7.4659, -7.4803 ], | |
"loglift": [ 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 2.1368, 2.095, 1.9048, 1.8621, 1.8616, 1.8615, 1.7697, 1.7227, 1.6618, 1.6392, 1.5402, 1.5353, 1.5305, 1.5092, 1.4984, 1.495, 1.4931, 1.4888, 1.4854, 1.4832, 1.4788, 1.4777, 1.4773, 1.4731, 1.4704, 1.4703, 1.4672, 1.4595, 1.4468, 1.4427, 2.4688, 2.4682, 2.4674, 2.2632, 2.226, 2.1934, 2.1342, 2.1085, 2.1001, 2.0892, 2.0464, 2.043, 2.0313, 2.0213, 2.0157, 2.0014, 1.9902, 1.9875, 1.9841, 1.9741, 1.9716, 1.9665, 1.9596, 1.9501, 1.9359, 1.934, 1.9236, 1.8974, 1.8953, 1.8523, 2.5785, 2.3744, 2.3722, 2.2565, 2.2454, 2.2239, 2.1927, 2.1804, 2.1798, 2.1754, 2.154, 2.1395, 2.1036, 2.1009, 2.0942, 2.0849, 2.0808, 2.047, 2.0237, 2.0222, 2.021, 2.0199, 2.0138, 1.9912, 1.9884, 1.983, 1.9727, 1.9653, 1.9606, 1.9558, 2.4832, 2.464, 2.458, 2.4094, 2.3903, 2.3857, 2.3676, 2.367, 2.3658, 2.3352, 2.3128, 2.3089, 2.2852, 2.2836, 2.2767, 2.2748, 2.2603, 2.2542, 2.2434, 2.2047, 2.1894, 2.163, 2.1563, 2.1538, 2.1508, 2.0943, 2.0876, 2.0575, 2.0468, 2.0308, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6883, 2.6954, 2.6943, 2.6937, 2.5108, 2.3515, 2.3459, 2.2492, 2.2336, 2.2038, 2.1825, 2.1629, 2.1051, 2.0535, 2.0413, 2.0117, 1.9801, 1.9557, 1.9496, 1.9403, 1.9267, 1.916, 1.9082, 1.9036, 1.8876, 1.8787, 1.8769, 1.8748, 1.8682, 1.8661, 1.8574, 2.7586, 2.7586, 2.7585, 2.7584, 2.7582, 2.738, 2.7335, 2.723, 2.7225, 2.7181, 2.7129, 2.6972, 2.6541, 2.6533, 2.6466, 2.6439, 2.6332, 2.6208, 2.6062, 2.6032, 2.5823, 2.5815, 2.5776, 2.5767, 2.5727, 2.5461, 2.5411, 2.5317, 2.5293, 2.5181, 2.8545, 2.8544, 2.8295, 2.8263, 2.8009, 2.7573, 2.7319, 2.7143, 2.6903, 2.6649, 2.6299, 2.6083, 2.5841, 2.5817, 2.575, 2.5692, 2.5626, 2.5565, 2.5453, 2.5448, 2.5211, 2.5121, 2.5092, 2.5027, 2.4974, 2.4916, 2.4913, 2.4898, 2.4767, 2.4741, 2.9526, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9515, 2.9612, 2.9606, 2.9606, 2.9605, 2.9605, 2.9605, 2.9605, 2.9605, 2.9605, 2.9603, 2.9514, 2.9488, 2.9446, 2.9375, 2.9332, 2.9265, 2.9207, 2.9119, 2.9091, 2.908, 2.9076, 2.9018, 2.9007, 2.8868, 2.869, 2.8639, 2.8563, 2.8516, 2.8497, 2.8368, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.209, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.2619, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.3775, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.4623, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5289, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5284, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.5554, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.609, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7026, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 3.7222, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 4.3644, 1.4403, 1.8467, 1.9526, 1.9544, 2.6879, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.688, 2.5026, 2.5095, 2.4538, 2.9499, 2.9501, 2.9393, 2.9507, 2.9513, 2.9513, 2.8331, 3.2073, 3.2039, 3.2073, 3.2073, 3.1945, 3.2069, 3.1794, 3.1743, 3.1961, 3.2074, 3.1568, 3.152, 3.1545, 3.208, 3.208, 3.208, 3.208, 3.208, 3.208, 3.208, 3.2081, 3.2081, 3.2081, 3.2081, 3.2081, 3.2081, 3.2081, 3.2081, 3.2081, 3.2081, 3.2591, 3.2591, 3.2591, 3.2591, 3.2591, 3.2591, 3.2591, 3.2549, 3.257, 3.2591, 3.2591, 3.2591, 3.2592, 3.2592, 3.2592, 3.2277, 3.2592, 3.2346, 3.2593, 3.238, 3.2593, 3.249, 3.2593, 3.2594, 3.2594, 3.2594, 3.24, 3.2597, 3.2597, 3.2598, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.37, 3.3746, 3.3746, 3.3746, 3.3746, 3.3622, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.3746, 3.459, 3.459, 3.459, 3.459, 3.459, 3.457, 3.459, 3.4585, 3.459, 3.459, 3.459, 3.459, 3.459, 3.459, 3.459, 3.459, 3.459, 3.4555, 3.459, 3.459, 3.459, 3.459, 3.459, 3.4581, 3.459, 3.459, 3.4571, 3.459, 3.459, 3.449, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.525, 3.5256, 3.5256, 3.5256, 3.5249, 3.5256, 3.5256, 3.5256, 3.5256, 3.5256, 3.5217, 3.5256, 3.5256, 3.5248, 3.5256, 3.5256, 3.5256, 3.5521, 3.5521, 3.5482, 3.5518, 3.5517, 3.5521, 3.5521, 3.5521, 3.5521, 3.5521, 3.5521, 3.5512, 3.5516, 3.5521, 3.5516, 3.5521, 3.5521, 3.5521, 3.5521, 3.5496, 3.5457, 3.5521, 3.5453, 3.5521, 3.5521, 3.5521, 3.5521, 3.551, 3.5521, 3.5521, 3.6054, 3.6055, 3.6053, 3.6057, 3.6057, 3.6057, 3.6057, 3.6043, 3.6057, 3.6057, 3.6057, 3.5923, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6057, 3.6024, 3.6057, 3.6037, 3.6057, 3.6057, 3.6993, 3.6952, 3.699, 3.6993, 3.6978, 3.699, 3.699, 3.6993, 3.6993, 3.6993, 3.6993, 3.6986, 3.6993, 3.6993, 3.6902, 3.6993, 3.6993, 3.6993, 3.6993, 3.6963, 3.6993, 3.6971, 3.6993, 3.6993, 3.6993, 3.6993, 3.6882, 3.6993, 3.6993, 3.6922, 3.7189, 3.7189, 3.7189, 3.7151, 3.7027, 3.6952, 3.6952, 3.6795, 3.7192, 3.7192, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7193, 3.7194, 3.7194, 3.7194, 3.7194, 3.7194, 3.7194, 3.7194, 3.7194, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 4.3611, 1.4409, 1.8494, 1.9091, 1.8959, 1.8492, 2.4714, 2.436, 2.8061, 2.83, 3.1382, 3.1294, 3.0988, 3.0774, 3.2043, 3.2057, 3.2112, 3.2038, 3.2202, 3.1931, 3.1898, 3.1837, 3.3741, 3.4327, 3.4473, 3.4486, 3.4533, 3.5163, 3.542, 3.5445, 3.5267, 3.5703, 3.6851, 3.6714, 3.6898, 3.6631, 3.6628, 3.6614, 3.6643, 3.6458, 3.6242, 1.4304, 1.9062, 2.4505, 2.4403, 2.4341, 2.4441, 2.8283, 3.0443, 3.0356, 3.0386, 3.0583, 3.0818, 3.1769, 3.1829, 3.1574, 3.4332, 3.4208, 3.4058, 3.507, 3.524, 3.5984, 3.6744, 3.6731, 3.6761, 3.6166, 3.6034, 3.6411, 3.5981, 3.5912, 3.5729, 3.5741, 4.3478, 1.4279, 1.8341, 1.8648, 1.8783, 2.0243, 1.834, 2.4506, 2.4382, 2.8208, 2.98, 3.0961, 3.1366, 3.1982, 3.4411, 3.5061, 3.5221, 3.5113, 3.5055, 3.5851, 3.5287, 3.5851, 3.5969, 3.6734, 3.687, 3.5528, 3.5552, 3.5435, 3.5559, 3.6176, 3.5462, 4.3575, 1.8482, 1.9286, 1.8282, 2.4318, 2.4061, 2.3796, 2.6885, 2.6181, 2.9052, 2.8738, 3.1321, 3.4366, 3.4724, 3.4975, 3.5272, 3.4858, 3.4878, 3.594, 3.6635, 3.5236, 3.5094, 3.545, 1.4357, 1.7594, 1.7861, 1.8788, 2.3141, 2.3862, 2.4322, 2.4243, 2.5148, 2.9496, 2.9377, 2.7975, 2.9883, 3.1066, 3.2002, 3.3519, 3.4026, 3.4287, 3.4711, 3.4812, 3.4542, 3.5119, 3.503, 3.4573, 3.5786, 3.5822, 3.4885, 1.4191, 1.7016, 1.7855, 1.935, 2.4155, 2.1881, 1.7868, 2.3767, 2.7245, 2.4746, 2.7428, 2.7688, 3.0678, 3.0853, 3.3221, 3.44, 3.4472, 3.4653, 3.4676, 3.5169, 3.6258, 3.4931, 1.3959, 1.7328, 1.7406, 1.9584, 2.2513, 1.7578, 1.7446, 2.3907, 2.3886, 2.3159, 2.4798, 2.4602, 2.5668, 2.4145, 2.4676, 2.821, 3.0865, 3.3819, 3.4571, 3.4597, 3.5043, 3.5811, 3.5522, 3.6326, 3.6065, 1.4077, 1.439, 1.71, 1.7568, 2.042, 2.1051, 2.1242, 1.7312, 2.4485, 2.2947, 2.3078, 2.2806, 2.5364, 2.2773, 2.3004, 2.3608, 2.6109, 3.2129, 3.38, 3.4108, 3.5142, 3.3671, 3.6288, 1.3891, 1.7174, 1.6957, 2.0091, 2.0071, 2.1929, 2.1098, 2.0255, 2.432, 2.3159, 2.3418, 2.4728, 2.2891, 2.1768, 2.6186, 2.1993, 2.1946, 2.1392, 2.664, 3.2897, 3.3673, 3.378, 3.389, 3.467, 3.483, 3.4495, 3.5135, 3.3164, 3.6425, 1.3292, 1.7139, 1.6613, 1.7771, 1.9486, 1.9389, 1.8405, 1.9419, 1.8837, 2.0559, 1.9964, 2.1578, 1.7822, 2.3716, 2.3521, 2.2647, 2.7519, 2.7377, 3.4228, 3.6585, 3.448, 1.3782, 1.7645, 1.6607, 1.6799, 1.7823, 1.7849, 1.8178, 1.9356, 2.231, 2.1675, 2.3151, 1.7799, 1.5874, 1.7031, 2.3701, 2.3734, 2.048, 2.9061, 3.279, 3.3309, 3.4639, 3.4361, 3.4229, 3.4782, 3.597, 1.6678, 1.495, 1.6659, 1.8259, 1.7268, 1.7398, 2.3753, 2.1289, 2.6652, 3.0475, 3.4854, 3.3565, 1.9549, 1.8707, 1.8114, 1.7092, 1.7041, 2.2872, 2.1815, 2.0826, 3.0811, 3.3123, 3.3264, 3.414, 3.3978, 3.2761, 3.3499, 3.4214, 3.4786, 1.6768, 2.0536, 2.8247, 2.9157, 3.381, 3.4466, 4.3213, 1.6881, 1.7105, 1.6487, 2.3401, 2.1922, 3.0978, 3.448, 3.429, 1.8129, 1.6871, 1.6557, 2.177, 2.7234, 3.3513, 1.6532, 1.7793, 1.8197, 1.5939, 1.6855, 1.9648, 2.026, 3.2084, 3.3329, 3.4995, 3.3178, 3.5712, 1.3735, 1.7339, 2.2874, 1.9646, 1.9106, 2.5514, 3.4365, 3.4485, 3.1247, 1.3847, 1.6707, 2.5299, 2.9865, 3.3235, 3.4065, 2.9867, 3.3911, 1.3009, 2.1729, 1.9753, 2.6582, 2.4624, 2.9826, 3.1769, 3.3926, 3.3858, 1.5578, 1.5023, 1.6221, 1.6175, 1.6023, 2.1676, 2.8612, 3.0994, 1.5057, 1.7069, 2.1437, 1.8051, 2.0515, 2.6798, 2.8916, 3.0417, 3.3074, 3.2056, 1.3439, 2.2674, 2.3541, 3.1533, 3.2985, 2.9214, 3.5084, 1.3195, 2.1857, 2.0475, 1.7025, 2.9066, 3.0191, 3.3122, 3.345, 3.413, 3.4731, 3.2336, 3.3814, 1.5556, 2.0777, 1.8863, 3.3513, 3.3174, 3.2332, 1.544, 1.6198, 2.1099, 2.1762, 3.4463, 0.8755, 1.5801, 2.301, 2.8071, 3.1974, 3.4354, 1.4155, 1.5981, 2.2578, 3.2845, 1.2137, 1.5575, 3.0281, 3.108, 3.5419, 1.0648, 2.5155, 2.938, 3.2712, 2.6677, 1.0407, 1.4645, 1.2138, 1.9947, 1.9375, 2.3554, 2.5229, 3.3967, 0.9955, 1.6103, 2.7282, 3.2776, 3.0921, 2.5035, 3.1391, 1.6575, 3.1142, 1.0194, 1.5759, 2.0415, 2.5393, 2.6221, 1.4535, 2.6966, 3.2775, 3.0096, 1.2611, 1.1632, 1.4343, 1.835, 3.1154, 2.4136, 3.5047, 3.4713, 1.0991, 2.3253, 2.2514, 2.8965, 1.2835, 1.4596, 1.1394, 3.0519, 4.2752, 1.2799, 1.4823, 1.5592, 2.9544, 2.8115, 3.3079, 2.8786, 2.0898, 1.8293, 2.1994, 2.8545, 2.8534, 3.2165, 3.446, 1.4896, 1.9934, 2.8112, 2.5127, 3.1836, 0.7192, 1.6993, 2.519, 1.7024, 1.885, 2.507, 2.4165, 2.8772, 1.2829, 1.888, 1.1456, 2.8373, 2.5627, 1.2935, 1.4135, 2.5026, 2.4543, 3.0708, 1.0961, 1.253, 2.0276, 3.2456, 3.2444, 0.788, 1.3398, 1.429, 1.9464, 2.715, 3.4562, 0.9282, 1.4915, 1.1093, 2.6623, 2.3644, 3.2029, 2.8285, 4.2938, 1.0186, 1.3294, 2.0606, 2.4053, 4.2133, 0.6735, 1.2692, 1.1954, 0.9621, 2.1372, 2.5697, 1.8222, 2.3169, 2.593, 2.2276, 3.1457, 1.4477, 2.1196, 2.7965, 1.9485, 1.1954, 1.3182, 2.1593, 1.4941, 2.3002, 1.7115, 2.6749, 3.2716, 1.4562, 1.4978, 1.8569, 2.3277, 3.1986, 2.9953, 1.1306, 4.0552, 0.841, 2.2052, 2.5282, 2.9439, 3.3125, 1.1927, 1.9932, 2.1819, 1.993, 1.212, 0.7562, 2.0518, 1.8818, 3.1486, 3.2257, 1.0333, 1.1298, 1.5377, 1.5652, 2.6128, 2.9684, 2.7831, 0.5382, 2.6854, 0.9061, 0.8557, 1.9659, 3.2041, 3.3223, 1.0803, 1.1937, 1.4475, 0.9319, 3.2398, 0.3043, 1.2109, 0.6632, 1.4002, 2.222, 1.3148, 2.5933, 0.7565, 2.5683, 1.2622, 1.5125, 1.6698, 2.1816, 2.4528, 1.995, 3.3947, 4.2741, 1.3454, 1.9488, 1.8558, 2.6414, 1.2845, 1.6883, 1.8611, 2.7709, 0.488, 1.24, 2.0188, 2.8804, 0.9809, 0.9477, 1.4765, 1.3344, 2.424, 1.2506, 1.8788, 0.884, 1.7273, 1.8529, 1.4921, 2.7374, 1.2188, 1.0412, 0.3662, 1.4424, 2.8852, 3.0396, 1.3268, 0.6009, 1.8662, 3.2583, 1.5451, 1.2393, 1.7186, 4.2867, 0.4732, 1.5001, 0.8977, 2.3362, 1.7409, 3.3387, 1.4214, 1.492, 2.4925, 4.2231, 1.02, 2.1434, 1.6303, 1.3079, 2.6321, 0.5679, 2.9524, 2.6913, 0.4257, 2.9258, 2.6507, 0.6742, 1.0406, 1.4598, 1.4781, 1.6022, 0.5366, 2.9562, 2.7509, 0.5798, 1.2678, 0.327, 1.5209, 0.8953, 2.474, 0.5163, 0.9824, 0.1809, 2.435, 0.1618, 1.5584, 1.6866, 0.8147, 0.8153, 1.1755, -0.1405, 1.4489, 0.9734, 1.7461, 2.2927, 2.159, 2.3231, 4.2766, 0.9577, 0.7791, 1.3475, -0.1884, 0.8857, 0.4335, 1.2422, 0.7757, 1.2319, 1.9345, 2.6962, 1.0918, 0.4648, 0.9809, 2.2726, 4.0982, 0.2201, 0.3256, 0.0094, 0.9139, -0.1858, 2.4009, 0.8602, -1.7718, 0.8298, 0.9723, 1.2698, 1.2985, -0.1496, 1.2688, 0.1213, 1.0164, 0.5346, 0.8358, 0.3082, 1.0235, 2.0341, 1.0887, 0.1069, 0.6711, 0.9279, 1.1932, 2.5681, -0.3567, 2.6869, 1.8069, 0.3614, 1.3674, -0.5733, 3.2128, 3.3007, -1.4529, -2.152, -0.9383 ], | |
"Freq": [ 2.5945e+05, 1.3031e+05, 1.2768e+05, 1.2304e+05, 1.6802e+05, 96024, 1.2185e+05, 59890, 1.8132e+05, 55619, 1.6493e+05, 2.223e+05, 53558, 99162, 1.9516e+05, 76322, 1.8802e+05, 1.2195e+05, 39601, 67757, 1.1426e+05, 93792, 2.525e+05, 75791, 93928, 59070, 1.311e+05, 52049, 38170, 1.0038e+05, 10.633, 23.642, 15923, 3560.4, 18.72, 406.71, 2865, 389.84, 19456, 94.787, 26433, 24005, 5933.8, 14480, 18550, 25640, 18892, 22108, 105.92, 26435, 21911, 22290, 15167, 20795, 20139, 18977, 2513.3, 12557, 14726, 21770, 11.632, 18.628, 68.622, 21.699, 15590, 17201, 31534, 12578, 29634, 12.752, 8771.3, 36028, 182.91, 81738, 9813.2, 14927, 9925.2, 76160, 40595, 4508.4, 20674, 29686, 13151, 2939.9, 15085, 32957, 55748, 1064, 19882, 591.16, 97.621, 21.698, 12.7, 655.87, 123.75, 2175.3, 186.82, 1768.2, 2062.3, 6921.5, 33.756, 77.812, 2208.5, 30.811, 615.38, 18025, 196.74, 8466.7, 3.8076, 20810, 70.778, 479.65, 1400.3, 1411.3, 96.8, 1228.3, 35.848, 760.11, 1568.3, 12471, 3391.8, 10643, 656.69, 2846.4, 5.7334, 542.75, 16044, 7337.3, 43371, 14688, 16920, 3194.6, 948.86, 141.87, 136.84, 21591, 18072, 1718.2, 13737, 10479, 1736.8, 11529, 1608.9, 7539.8, 2353.5, 815.76, 26111, 10000, 5889.3, 9186.3, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 25.626, 6.6406, 10.633, 16.629, 34.694, 26.737, 11.743, 33.807, 12834, 18619, 23.787, 19.816, 8405.7, 3655.9, 170.79, 20739, 7054.4, 9117, 17516, 23243, 5505.3, 8165.8, 21741, 14155, 6968.2, 22388, 7952.2, 5120.9, 8516.7, 53367, 21466, 86.622, 107.62, 403.62, 495.62, 5324.6, 1598.6, 7423.7, 830.63, 491.65, 4007.4, 7471.8, 7253.8, 8138.6, 71.668, 151.67, 106.67, 591.66, 853.77, 6482.4, 112.71, 2071.9, 3080.1, 125.71, 34.689, 2572.6, 75.711, 10158, 50.702, 496.8, 7400.8, 82.622, 217.62, 78.634, 16077, 52730, 8625.7, 14772, 112.68, 55.685, 5633.6, 8380.8, 483.68, 144.73, 11250, 657.75, 11220, 9561.9, 15342, 19937, 2389.5, 965.77, 4188.7, 727.66, 15503, 11756, 1314.6, 18409, 99.745, 14170, 481.69, 6.6406, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 27.626, 566.62, 596.62, 1836.6, 8770.6, 12908, 13173, 19317, 39601, 4366.6, 5454.6, 4484.6, 60.633, 9228.5, 14269, 7432.6, 5998.5, 15538, 36255, 8718.5, 6971.6, 12921, 6665.5, 391.65, 8364.5, 4729.6, 17.667, 15002, 3470.5, 14363, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 11.632, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6409, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 6.6407, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6436, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 5.6431, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 6.6399, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6439, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.6426, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.644, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6438, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 5.6446, 23997, 35374, 14304, 6942.2, 66.622, 43.623, 43.623, 42.623, 41.623, 41.623, 41.623, 41.623, 41.623, 41.623, 41.623, 41.623, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 40.624, 8427.6, 2859, 14341, 136.62, 60.623, 92.626, 22.627, 12.631, 12.631, 47146, 22195, 19924, 14021, 11042, 15775, 4367.6, 18600, 21530, 2293.7, 168.62, 22831, 13371, 10399, 28.625, 28.625, 28.625, 28.625, 27.625, 27.625, 27.625, 26.625, 26.625, 26.625, 26.625, 26.625, 26.625, 26.625, 26.625, 26.625, 26.625, 4663.6, 4599.6, 2171.6, 2098.6, 1995.6, 1849.6, 1160.6, 1688.7, 486.62, 237.62, 230.62, 228.62, 165.62, 158.62, 140.62, 3196.7, 127.62, 1169.6, 99.622, 751.65, 80.622, 195.63, 69.623, 64.623, 57.623, 55.623, 362.64, 30.625, 28.626, 26.626, 21838, 7965.6, 6874.6, 6365.6, 5623.6, 5357.6, 5128.6, 4526.6, 4490.6, 4471.6, 4193.6, 3596.6, 3487.6, 3450.6, 3413.6, 3394.6, 5154.7, 3193.6, 3175.6, 3054.6, 2979.6, 10151, 2906.6, 2496.6, 2275.6, 2232.6, 2179.6, 2112.6, 2058.6, 1941.6, 3636.6, 2408.6, 2335.6, 2030.6, 2026.6, 2463.6, 1959.6, 1955.6, 1663.6, 1604.6, 1589.6, 1430.6, 1319.6, 1265.6, 1262.6, 1258.6, 1248.6, 1704.6, 1132.6, 1102.6, 1085.6, 1083.6, 1025.6, 1074.6, 915.62, 898.62, 1037.6, 802.62, 791.62, 2093.7, 4895.6, 4560.6, 3138.6, 2865.6, 2412.6, 2411.6, 2184.6, 2116.6, 2102.6, 2089.6, 2011.6, 1954.6, 1752.6, 1828.6, 1664.6, 1623.6, 1598.6, 1502.6, 1368.6, 1343.6, 1314.6, 1248.6, 1238.6, 1813.6, 1233.6, 1204.6, 1215.6, 1108.6, 1098.6, 1095.6, 3581.6, 3151.6, 4402.6, 3100.6, 2836.6, 2663.6, 2621.6, 2329.6, 2261.6, 2248.6, 2202.6, 2354.6, 2125.6, 2015.6, 2102.6, 1970.6, 1912.6, 1911.6, 1905.6, 2429.6, 3580.6, 1805.6, 3501.6, 1730.6, 1707.6, 1676.6, 1636.6, 1768.6, 1510.6, 1480.6, 6207.6, 5924.6, 5625.6, 5382.6, 2980.6, 2795.6, 2419.6, 1437.6, 822.62, 748.62, 747.62, 2676.6, 568.62, 561.62, 553.62, 550.62, 528.62, 510.62, 487.62, 482.62, 473.62, 459.62, 454.62, 453.62, 448.62, 609.61, 439.62, 504.62, 411.62, 408.62, 8669.6, 9185.6, 5983.6, 4500.6, 4822.6, 4042.6, 3949.6, 3807.6, 3704.6, 3519.6, 3028.6, 3075.6, 2801.6, 2780.6, 6486.8, 2640.6, 2580.6, 2366.6, 2306.6, 3050.6, 2253.6, 2677.6, 2133.6, 2020.6, 1821.6, 1653.6, 4836.6, 1424.6, 1412.6, 2658.6, 4637.6, 4264.6, 4192.6, 5997.6, 6180.5, 5876.6, 5209.7, 6570.8, 57.623, 57.623, 51.623, 47.623, 47.623, 46.623, 46.623, 45.623, 45.623, 45.623, 44.623, 43.623, 43.623, 43.623, 42.624, 42.624, 42.624, 42.624, 42.624, 42.624, 42.624, 42.624, 372.62, 342.62, 339.62, 337.62, 313.62, 307.62, 306.62, 306.62, 303.62, 297.62, 292.62, 289.62, 281.62, 281.62, 277.62, 274.62, 270.62, 270.62, 269.62, 268.62, 267.62, 264.62, 262.62, 260.62, 257.62, 254.62, 253.62, 252.62, 251.62, 251.62, 22346, 20461, 24380, 25239, 33181, 8141.2, 10706, 51316, 9686.7, 13706, 5698.2, 9711.3, 24605, 4105.7, 3779.8, 2674.8, 3361.6, 780.59, 2933.7, 3152.9, 3844.8, 2028.6, 4205.5, 1774.6, 1622.6, 1223.6, 2037.6, 3640.7, 2747.6, 6305, 4685.9, 4480.8, 8163.9, 3134.7, 6277.8, 5255.8, 4057.8, 2925.2, 3587.6, 6550.7, 25796, 14593, 9168.2, 12076, 9120.8, 6242.1, 7335.4, 28844, 28934, 20076, 8205.4, 3731.7, 3982.1, 2021.7, 4086.3, 3282.4, 4700.5, 6331.2, 2552.5, 5364.7, 542.61, 5750, 5987.8, 4951.8, 4856.8, 4902.6, 1149.9, 3847.4, 4655.7, 5931.1, 5692.5, 448.64, 24917, 18439, 21012, 13006, 4915.5, 23877, 7888.6, 6449.2, 7799.5, 16655, 815.58, 4546.2, 843.78, 1657.6, 2032.6, 4366.8, 5138.9, 5470.5, 817.58, 3121.6, 769.56, 566.61, 4687.8, 3155.6, 5821.4, 4144.6, 5227.8, 3621.5, 815.69, 3391.1, 277.63, 14183, 47605, 16326, 10206, 15783, 22011, 3438.7, 8301.3, 14135, 23951, 3479.9, 1804.7, 3719.3, 2211.5, 3052.8, 5265.3, 4729.5, 595.58, 4661.7, 5044.5, 5696.5, 2553.9, 18745, 30463, 23390, 58815, 28720, 5980.2, 7604.8, 6066.2, 16566, 3291.9, 3682.9, 23715, 934.61, 2903.3, 659.66, 2922.5, 3101.5, 1819.6, 3288.3, 2754.4, 4107.1, 3854, 4409.9, 6067, 763.55, 714.57, 6792.1, 23386, 43613, 17704, 19113, 2765, 36478, 18529, 15611, 359.73, 7985.4, 17479, 11182, 4423.2, 3357.5, 4633.4, 1506.7, 4179.1, 3120.2, 6977.4, 3320.7, 6901.9, 5395.6, 29333, 24053, 21706, 10812, 10289, 24119, 25141, 11126, 7782.4, 17729, 5215, 6340.8, 1758.7, 9519.7, 4849.4, 8549.4, 2868.6, 2978.4, 3301.2, 6357.6, 3715.7, 681.57, 15554, 5945.9, 7847.9, 22705, 16545, 34891, 14310, 68306, 31967, 20818, 26661, 4829.7, 14085, 17417, 20504, 1332, 17270, 13040, 5474.6, 398.71, 12329, 2895.7, 5309.5, 3209.8, 6093.2, 5940.6, 26732, 27371, 19703, 38442, 38634, 5265.1, 10020, 16450, 4780.1, 10336, 5103.3, 1311.7, 6821.8, 17700, 325.81, 13377, 13624, 21384, 30225, 5064.6, 3080.5, 2747.5, 2425.5, 2819.3, 4322.7, 5727.9, 3201.8, 8987.6, 4890.8, 41967, 14381, 21334, 8112.3, 9120.5, 33956, 71998, 28518, 35007, 7927, 12649, 3171.1, 12202, 8122.8, 7364, 6054.7, 10836, 14914, 2659.4, 3982.6, 6183.6, 26301, 11618, 20318, 16700, 31697, 46325, 35302, 14840, 1583.5, 2504.7, 833.05, 37972, 54618, 22831, 8092.6, 7855.4, 24776, 7170.5, 4563.7, 3709.2, 2673.3, 3236.1, 6430.9, 1455, 6526, 22863, 71107, 18120, 23448, 18294, 16583, 7419.8, 10212, 19971, 2432, 3724.6, 3135.4, 7969, 13065, 15020, 27381, 20856, 12125, 18877, 11860, 1837.8, 3341.6, 3467.8, 3498.9, 6413.1, 4629.8, 2893.2, 17619, 12002, 24581, 11038, 6824.4, 4753.7, 2341.5, 6189.6, 319.7, 14945, 12582, 35196, 7952.9, 17543, 10563, 1410, 13041, 14732, 25425, 23542, 5067.2, 10602, 4415.3, 20754, 16532, 12735, 31302, 20225, 12835, 9681.7, 5100.8, 2841.7, 3374, 2416.9, 6009.7, 54352, 17522, 8958.7, 12752, 15964, 24340, 2714.3, 4185.6, 5043, 20669, 13897, 26376, 12551, 2804, 3076, 8699.3, 7063.6, 28842, 12699, 11112, 14358, 22740, 11615, 4802.9, 3203.9, 5024.9, 21202, 25372, 26648, 22612, 26369, 14728, 4608.2, 7317, 34288, 18424, 12716, 20291, 1.0455e+05, 8687, 14794, 7012.3, 4116.1, 2807.7, 57716, 9738, 36951, 4526.3, 4139.9, 7134.6, 6479, 24418, 10658, 19255, 26956, 3784.4, 6472.7, 3862.2, 5347.3, 8625.4, 3564.2, 2218.6, 6753.4, 19103, 13257, 14242, 4957.5, 1713.4, 13828, 24475, 22169, 52055, 35358, 5513.6, 73644, 22161, 31050, 12410, 7124, 7678.9, 25223, 21625, 9787.5, 3714.4, 30703, 21893, 6831.7, 4380.9, 5768.9, 41794, 16294, 6023.3, 5538.7, 6240.7, 43896, 29599, 44635, 16370, 11789, 16688, 7945.5, 2739, 51861, 17955, 4970.6, 2864.4, 7477.2, 8560.2, 9576.6, 16280, 3898.6, 59345, 22201, 37083, 6957.4, 12383, 23078, 10289, 2797.9, 5173.1, 26970, 37075, 26785, 17100, 3675.9, 8152.3, 6053.3, 4805.6, 40341, 19720, 16750, 3581.1, 25787, 20660, 41042, 3954.8, 289.7, 36038, 19366, 18203, 6285, 5599.4, 3020.8, 3541.9, 11113, 11868, 17736, 7119.8, 8443.3, 5069.6, 6304, 23300, 12600, 3860.3, 11015, 5261.9, 53980, 14069, 10747, 18551, 14688, 10836, 8211.3, 10143, 24211, 13943, 26158, 3583, 10102, 23746, 23579, 14015, 5533.1, 9366.6, 29455, 23772, 11758, 3239.1, 4843.2, 42899, 28434, 19516, 12735, 8497.7, 5927.7, 31637, 21575, 24552, 8617.4, 5109.9, 7634.6, 9511.8, 272.72, 26297, 19484, 16131, 10674, 294.78, 44995, 28304, 24874, 33481, 10056, 5563.4, 14509, 15289, 4509.6, 12381, 5120.4, 19351, 6849.9, 4528.2, 6629, 27024, 24850, 9679.6, 30256, 5764.1, 18212, 4778.1, 6802.5, 23310, 17709, 13578, 5598.4, 3052.3, 7577, 30015, 327.07, 30778, 10607, 5009.9, 3691.3, 4270.2, 22442, 6939.7, 10779, 6217.9, 25484, 24499, 10109, 16043, 3236.8, 5976.6, 30906, 24883, 14128, 14356, 11382, 3605.9, 4038.5, 39542, 7412.9, 32449, 31096, 12083, 4458.5, 6062.1, 27332, 21990, 16503, 27443, 4292.3, 40496, 25164, 33191, 14345, 12746, 8573.4, 4403.2, 10464, 8037, 25714, 13229, 12160, 14127, 4619.5, 10327, 5697.7, 274.72, 15752, 5893.7, 6119.5, 5725.8, 17114, 11961, 11055, 7130.1, 35827, 19680, 5563.4, 3729.2, 27271, 16109, 14678, 7442.6, 7941.5, 23087, 10807, 21768, 6042.9, 9857.4, 5641.1, 6910.7, 24578, 27419, 21558, 13296, 3709.6, 6096.5, 16198, 27576, 5386.4, 2876.4, 12002, 14178, 9581, 271.73, 21467, 12099, 19374, 7781.5, 5284.5, 2786.8, 12331, 13212, 3572, 276.77, 19745, 4977.4, 9333.2, 4534, 6619.2, 14665, 3066.2, 4918.2, 15622, 6320.7, 6545.2, 24994, 12892, 5600.7, 4183.5, 12060, 17292, 3056.3, 4756.4, 27397, 23493, 15595, 5391.7, 4390.4, 6556.8, 18359, 23101, 14829, 6426.8, 14459, 4519.4, 3698, 26022, 20268, 5429.8, 14293, 11694, 5449.3, 8011.2, 3940, 4942.4, 6777.9, 271.7, 19676, 14540, 8332.1, 4217.8, 7173.5, 25496, 21754, 12998, 13007, 4043.7, 3092.5, 3551, 16973, 22230, 4634.6, 275.99, 12556, 13160, 13346, 3523.8, 3773.3, 4688.6, 3596.4, 422.03, 25050, 19271, 12207, 7759.7, 4464.8, 4079.4, 3762.8, 24787, 22517, 12482, 13904, 4845.8, 3889.7, 3482.7, 25659, 19458, 11685, 12192, 5880.3, 3991.6, 4473.9, 5916.7, 23750, 7553.2, 3939.7, 5793, 276.59, 280.78, 279.79, 275.83 ], | |
"Total": [ 259454, 130312, 127675, 123042, 168017, 96024, 121851, 59890, 181323, 55619, 164933, 222303, 53558, 99162, 195160, 76322, 188018, 121952, 39601, 67757, 114257, 93792, 252502, 75791, 93928, 59070, 131095, 52049, 38170, 100375, 11, 25, 20042, 4677, 25, 535, 4128, 589, 31229, 156, 47904, 43719, 10857, 27073, 35057, 48610, 35891, 42180, 203, 50716, 42228, 43003, 29277, 40306, 39133, 36886, 4900, 24673, 29305, 43495, 12, 19, 69, 27, 19844, 22619, 43987, 17999, 42774, 19, 13357, 55060, 283, 127675, 15404, 23787, 15996, 123042, 65813, 7376, 33929, 48978, 21846, 4932, 25663, 56170, 96024, 1881, 35214, 1093, 98, 27, 16, 905, 173, 3100, 275, 2632, 3073, 10356, 52, 121, 3551, 50, 998, 29521, 324, 14407, 7, 36295, 124, 839, 2462, 2538, 175, 2227, 66, 1403, 2908, 23241, 4108, 13141, 816, 3712, 8, 725, 21811, 9982, 59070, 20624, 24297, 4606, 1401, 210, 204, 32208, 27352, 2616, 21147, 16766, 2822, 19231, 2702, 12696, 3975, 1458, 46957, 18539, 11034, 17491, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 7, 11, 17, 42, 38, 17, 53, 20306, 30360, 40, 34, 15123, 6927, 328, 40978, 14383, 19046, 36827, 49321, 11840, 17750, 47644, 31161, 15584, 50526, 17977, 11599, 19421, 121952, 49492, 87, 108, 404, 496, 5326, 1632, 7611, 861, 510, 4173, 7820, 7712, 9034, 80, 170, 120, 671, 980, 7549, 132, 2471, 3676, 151, 42, 3098, 94, 12623, 64, 625, 9411, 83, 218, 81, 16534, 55619, 9505, 16697, 130, 66, 6809, 10489, 619, 190, 14776, 870, 14921, 12800, 20663, 27155, 3257, 1348, 5897, 1028, 22035, 16798, 1890, 26465, 144, 20670, 705, 7, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 28, 567, 597, 1837, 8771, 12908, 13173, 19317, 39601, 4368, 5505, 4538, 62, 9444, 14665, 7690, 6243, 16313, 38170, 9189, 7351, 13703, 7077, 422, 9167, 5210, 20, 16730, 3878, 16255, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 48063, 65788, 26747, 12959, 67, 44, 44, 43, 42, 42, 42, 42, 42, 42, 42, 42, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 10885, 3667, 21403, 137, 61, 94, 23, 13, 13, 53558, 22196, 19994, 14021, 11042, 15978, 4370, 19127, 22255, 2320, 169, 24016, 14133, 10964, 29, 29, 29, 29, 28, 28, 28, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 4664, 4600, 2172, 2099, 1996, 1850, 1161, 1696, 488, 238, 231, 229, 166, 159, 141, 3299, 128, 1199, 100, 768, 81, 198, 70, 65, 58, 56, 370, 31, 29, 27, 21839, 7966, 6875, 6366, 5624, 5358, 5129, 4527, 4491, 4472, 4194, 3597, 3488, 3451, 3414, 3395, 5179, 3194, 3176, 3055, 2980, 10278, 2907, 2497, 2276, 2233, 2180, 2113, 2059, 1942, 3637, 2409, 2336, 2031, 2027, 2469, 1960, 1957, 1664, 1605, 1590, 1431, 1320, 1266, 1263, 1259, 1249, 1711, 1133, 1103, 1086, 1084, 1026, 1076, 916, 899, 1040, 803, 792, 2115, 4896, 4561, 3139, 2866, 2413, 2412, 2185, 2117, 2103, 2090, 2012, 1955, 1753, 1830, 1665, 1624, 1599, 1504, 1369, 1344, 1315, 1249, 1239, 1821, 1234, 1205, 1217, 1109, 1099, 1096, 3582, 3152, 4420, 3102, 2838, 2664, 2622, 2330, 2262, 2249, 2203, 2357, 2127, 2016, 2104, 1971, 1913, 1912, 1906, 2436, 3604, 1806, 3526, 1731, 1708, 1677, 1637, 1771, 1511, 1481, 6210, 5926, 5628, 5383, 2981, 2796, 2420, 1440, 823, 749, 748, 2713, 569, 562, 554, 551, 529, 511, 488, 483, 474, 460, 455, 454, 449, 612, 440, 506, 412, 409, 8670, 9224, 5986, 4501, 4830, 4044, 3951, 3808, 3705, 3520, 3029, 3078, 2802, 2781, 6546, 2641, 2581, 2367, 2307, 3060, 2254, 2684, 2134, 2021, 1822, 1654, 4891, 1425, 1413, 2678, 4638, 4265, 4193, 6021, 6282, 6018, 5335, 6835, 58, 58, 52, 48, 48, 47, 47, 46, 46, 46, 45, 44, 44, 44, 43, 43, 43, 43, 43, 43, 43, 43, 373, 343, 340, 338, 314, 308, 307, 307, 304, 298, 293, 290, 282, 282, 278, 275, 271, 271, 270, 269, 268, 265, 263, 261, 258, 255, 254, 253, 252, 252, 44727, 37949, 47609, 49938, 77126, 10849, 16264, 59890, 11038, 14688, 6161, 10825, 28020, 4337, 3987, 2806, 3553, 812, 3134, 3379, 4146, 2030, 4318, 1796, 1640, 1231, 2057, 3678, 2769, 6467, 4856, 4545, 8395, 3165, 6638, 5559, 4298, 3089, 3860, 7202, 52176, 28584, 12472, 16599, 13885, 9407, 8373, 33955, 34358, 23768, 9526, 4231, 4323, 2182, 4523, 3369, 4884, 6678, 2601, 5518, 547, 5895, 6147, 5068, 5380, 5503, 1243, 4341, 5290, 6863, 6580, 455, 50526, 34737, 42890, 26197, 9421, 56351, 10732, 9777, 8970, 20909, 912, 5138, 897, 1688, 2073, 4500, 5353, 5732, 835, 3373, 786, 572, 4811, 3195, 6874, 4882, 6230, 4263, 903, 4029, 279, 29433, 100375, 38756, 14147, 22446, 35381, 4466, 11562, 19124, 33439, 3951, 1846, 3923, 2275, 3130, 5939, 5324, 603, 4832, 6133, 7025, 3039, 37720, 61833, 51659, 130312, 41731, 8086, 10538, 9326, 25591, 4261, 4824, 35735, 1164, 3381, 700, 2990, 3282, 1876, 3473, 2880, 4412, 4012, 4632, 7041, 785, 732, 8553, 47846, 93792, 39117, 40043, 3631, 60116, 45844, 22867, 451, 12846, 21731, 13545, 5354, 3994, 4884, 1536, 4521, 3315, 7592, 3440, 7428, 6763, 61415, 56030, 50164, 22130, 15923, 61428, 64886, 16070, 12399, 30372, 8344, 10345, 2580, 16256, 7855, 12585, 3408, 3218, 3536, 6972, 3898, 699, 18019, 6356, 8611, 46976, 33184, 74402, 32538, 130312, 57252, 36580, 69729, 6585, 24644, 33093, 40036, 2014, 33835, 24958, 9865, 560, 14491, 3134, 5957, 3334, 7741, 6374, 56351, 57930, 47631, 75791, 76322, 8638, 17863, 31903, 6625, 17706, 9375, 2114, 13197, 38327, 454, 28330, 28988, 48085, 52049, 5514, 3377, 2980, 2602, 2990, 4632, 6347, 3328, 12013, 5177, 93928, 34138, 53374, 18079, 18854, 71802, 168017, 60129, 78232, 14916, 25261, 5388, 30324, 11958, 12168, 12013, 13351, 23857, 3195, 4149, 8108, 56048, 23464, 50854, 41013, 77358, 114257, 84271, 31491, 2499, 4212, 1209, 94139, 164933, 61415, 11932, 11545, 61031, 10205, 5022, 4217, 2844, 3540, 7318, 1654, 7229, 50854, 188018, 45124, 55523, 48063, 43003, 10882, 23203, 26834, 3005, 3982, 4026, 16368, 29192, 36083, 72852, 56048, 19421, 36989, 28226, 2196, 3557, 3960, 3913, 7483, 6443, 3740, 23261, 14966, 67883, 27046, 10009, 6700, 2532, 8127, 333, 36407, 29968, 99476, 12081, 34010, 15157, 1652, 17087, 34872, 69163, 66396, 10976, 18112, 5258, 46828, 40469, 29943, 93928, 55374, 34365, 24386, 6555, 3224, 3556, 3226, 6831, 181323, 45486, 14347, 34151, 45127, 36644, 2968, 4643, 8168, 43762, 34441, 40574, 18499, 3211, 3466, 16179, 9804, 66396, 22801, 29433, 19426, 47905, 17186, 6370, 3661, 5934, 58827, 74402, 76322, 65944, 78450, 29262, 6858, 9634, 89701, 48484, 23512, 63740, 259454, 15500, 23978, 10646, 5122, 4194, 222303, 17513, 67757, 6143, 5198, 14166, 7842, 55178, 18894, 43139, 93792, 5383, 10045, 4783, 6577, 11484, 3857, 3222, 9464, 53132, 26187, 41240, 6059, 2288, 22037, 75791, 64500, 121851, 99162, 7242, 259454, 66199, 60046, 21885, 10157, 9998, 80690, 64617, 17770, 4729, 77126, 67808, 9661, 6225, 6752, 121851, 25427, 10143, 7334, 15976, 131095, 80690, 194911, 38666, 32444, 39133, 16584, 3117, 252502, 52050, 8451, 3435, 11841, 25830, 17101, 45008, 5503, 252502, 67818, 92945, 14285, 26270, 78232, 20264, 3355, 8673, 64617, 168017, 93804, 43049, 5185, 26911, 7353, 6156, 194911, 37217, 43580, 5146, 60401, 63245, 193978, 5944, 316, 118162, 57930, 73114, 9566, 10701, 3757, 7341, 21682, 36384, 48610, 11976, 16973, 7089, 8121, 77219, 27070, 6041, 26067, 7605, 222303, 49128, 25276, 58680, 38715, 25790, 23292, 23537, 88438, 33283, 158893, 5461, 22742, 85805, 84322, 22156, 12371, 17557, 129694, 98482, 24419, 4288, 6588, 164933, 87813, 67808, 28686, 19622, 7558, 181323, 71709, 154637, 17561, 17723, 12541, 23172, 292, 181323, 98482, 50798, 28127, 342, 193978, 93804, 99162, 188018, 18711, 13540, 40713, 29100, 8777, 38967, 7687, 59942, 21398, 9396, 34854, 69132, 98219, 17621, 131095, 15029, 96024, 10471, 10432, 64080, 57440, 36801, 14202, 3960, 15622, 114257, 444, 195160, 34138, 12714, 6180, 5426, 89701, 24595, 35512, 31271, 111994, 181323, 20495, 60401, 4722, 9788, 129694, 118162, 47876, 57325, 16116, 5890, 7942, 195160, 14764, 154637, 195160, 29374, 6312, 8838, 78450, 87813, 56288, 158893, 5865, 252502, 63385, 252502, 55771, 34151, 59890, 10469, 181323, 25387, 85805, 45983, 36115, 30786, 10342, 41013, 7724, 300, 71205, 21839, 24883, 14228, 68714, 34872, 27120, 18399, 259454, 75042, 19222, 6651, 86449, 98482, 58207, 50969, 28988, 97641, 26041, 222303, 27939, 45124, 46828, 18441, 61428, 114154, 259454, 60046, 6587, 12024, 62342, 222303, 26500, 3760, 40371, 78416, 50164, 293, 193978, 42573, 195160, 21973, 29469, 3361, 46946, 51582, 10045, 318, 93804, 15185, 53374, 45261, 19623, 131095, 5444, 11626, 194911, 13697, 19046, 188018, 71802, 33835, 35214, 46399, 195160, 5406, 10595, 129694, 77971, 195160, 30640, 61031, 22770, 158893, 127675, 195160, 23203, 193978, 30252, 23292, 97404, 118162, 43580, 259454, 43295, 53558, 40807, 12654, 19894, 26834, 296, 99476, 164933, 63224, 188018, 121952, 194911, 92754, 114257, 73253, 18584, 7096, 43987, 154637, 123042, 12422, 359, 158893, 164933, 252502, 48085, 154637, 14823, 56170, 193978, 92360, 96024, 59522, 61833, 164933, 36480, 123042, 75840, 193978, 93928, 252502, 45261, 16181, 43295, 194911, 131095, 72852, 70618, 18584, 181323, 10625, 40036, 195160, 56170, 222303, 9420, 797, 93792, 188018, 55060 ], | |
"Category": [ "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic4", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic6", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic7", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic8", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic10", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic1", "Topic2", "Topic3", "Topic3", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic7", "Topic7", "Topic8", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic10", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic13", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic14", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic15", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic16", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic17", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic18", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic20", "Topic1", "Topic2", "Topic3", "Topic3", "Topic6", "Topic7", "Topic8", "Topic10", "Topic10", "Topic11", "Topic11", "Topic11", "Topic11", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic12", "Topic13", "Topic14", "Topic14", "Topic14", "Topic14", "Topic15", "Topic16", "Topic16", "Topic16", "Topic17", "Topic18", "Topic18", "Topic18", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic1", "Topic3", "Topic7", "Topic7", "Topic8", "Topic8", "Topic10", "Topic11", "Topic11", "Topic11", "Topic11", "Topic11", "Topic12", "Topic12", "Topic12", "Topic14", "Topic14", "Topic14", "Topic15", "Topic16", "Topic17", "Topic18", "Topic18", "Topic18", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic20", "Topic1", "Topic2", "Topic3", "Topic3", "Topic4", "Topic6", "Topic7", "Topic8", "Topic10", "Topic11", "Topic11", "Topic12", "Topic12", "Topic14", "Topic15", "Topic16", "Topic16", "Topic16", "Topic17", "Topic17", "Topic17", "Topic17", "Topic18", "Topic18", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic19", "Topic20", "Topic3", "Topic4", "Topic6", "Topic7", "Topic7", "Topic8", "Topic9", "Topic9", "Topic11", "Topic11", "Topic12", "Topic14", "Topic15", "Topic15", "Topic16", "Topic17", "Topic17", "Topic17", "Topic18", "Topic19", "Topic19", "Topic19", "Topic1", "Topic2", "Topic3", "Topic4", "Topic5", "Topic5", "Topic7", "Topic8", "Topic9", "Topic11", "Topic11", "Topic11", "Topic11", "Topic12", "Topic12", "Topic13", "Topic14", "Topic14", "Topic15", "Topic15", "Topic15", "Topic16", "Topic16", "Topic17", "Topic17", "Topic17", "Topic19", "Topic1", "Topic2", "Topic3", "Topic4", "Topic5", "Topic5", "Topic6", "Topic7", "Topic9", "Topic9", "Topic10", "Topic10", "Topic12", "Topic12", "Topic13", "Topic14", "Topic15", "Topic15", "Topic16", "Topic16", "Topic18", "Topic19", "Topic1", "Topic3", "Topic3", "Topic4", "Topic5", "Topic6", "Topic6", "Topic7", "Topic8", "Topic8", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic11", "Topic12", "Topic14", "Topic15", "Topic16", "Topic16", "Topic17", "Topic18", "Topic18", "Topic18", "Topic1", "Topic1", "Topic2", "Topic3", "Topic5", "Topic5", "Topic5", "Topic6", "Topic7", "Topic8", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic13", "Topic14", "Topic15", "Topic16", "Topic17", "Topic18", "Topic1", "Topic2", "Topic3", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic7", "Topic8", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic9", "Topic11", "Topic13", "Topic14", "Topic14", "Topic14", "Topic15", "Topic16", "Topic16", "Topic16", "Topic17", "Topic18", "Topic1", "Topic3", "Topic3", "Topic3", "Topic4", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic6", "Topic7", "Topic8", "Topic9", "Topic10", "Topic11", "Topic17", "Topic18", "Topic19", "Topic1", "Topic2", "Topic3", "Topic3", "Topic4", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic5", "Topic6", "Topic6", "Topic7", "Topic7", "Topic9", "Topic12", "Topic13", "Topic14", "Topic15", "Topic15", "Topic16", "Topic17", "Topic18", "Topic2", "Topic2", "Topic3", "Topic5", "Topic6", "Topic6", "Topic7", "Topic9", "Topic10", "Topic12", "Topic16", "Topic17", "Topic4", "Topic4", "Topic5", "Topic5", "Topic6", "Topic7", "Topic8", "Topic9", "Topic12", "Topic13", "Topic14", "Topic15", "Topic16", "Topic17", "Topic17", "Topic18", "Topic18", "Topic6", "Topic9", "Topic11", "Topic12", "Topic14", "Topic19", "Topic20", "Topic3", "Topic3", "Topic5", "Topic7", "Topic8", "Topic14", "Topic17", "Topic18", "Topic4", "Topic5", "Topic6", "Topic9", "Topic12", "Topic15", "Topic2", "Topic4", "Topic4", "Topic6", "Topic6", "Topic9", "Topic9", "Topic14", "Topic14", "Topic16", "Topic17", "Topic18", "Topic3", "Topic5", "Topic7", "Topic9", "Topic9", "Topic10", "Topic15", "Topic16", "Topic17", "Topic1", "Topic3", "Topic10", "Topic13", "Topic14", "Topic15", "Topic17", "Topic19", "Topic1", "Topic7", "Topic9", "Topic10", "Topic11", "Topic13", "Topic14", "Topic15", "Topic16", "Topic3", "Topic3", "Topic4", "Topic5", "Topic6", "Topic8", "Topic12", "Topic13", "Topic2", "Topic4", "Topic7", "Topic9", "Topic10", "Topic12", "Topic13", "Topic14", "Topic15", "Topic17", "Topic6", "Topic8", "Topic10", "Topic14", "Topic15", "Topic17", "Topic18", "Topic1", "Topic7", "Topic8", "Topic9", "Topic12", "Topic14", "Topic15", "Topic16", "Topic18", "Topic16", "Topic17", "Topic19", "Topic3", "Topic7", "Topic9", "Topic16", "Topic17", "Topic18", "Topic4", "Topic5", "Topic10", "Topic11", "Topic19", "Topic1", "Topic4", "Topic10", "Topic13", "Topic16", "Topic18", "Topic3", "Topic6", "Topic8", "Topic15", "Topic1", "Topic5", "Topic13", "Topic14", "Topic18", "Topic1", "Topic10", "Topic14", "Topic16", "Topic17", "Topic1", "Topic2", "Topic5", "Topic8", "Topic9", "Topic11", "Topic12", "Topic15", "Topic3", "Topic4", "Topic12", "Topic14", "Topic16", "Topic17", "Topic19", "Topic4", "Topic14", "Topic2", "Topic6", "Topic10", "Topic12", "Topic13", "Topic4", "Topic13", "Topic14", "Topic15", "Topic1", "Topic4", "Topic5", "Topic7", "Topic14", "Topic17", "Topic18", "Topic19", "Topic4", "Topic10", "Topic11", "Topic12", "Topic1", "Topic3", "Topic6", "Topic14", "Topic20", "Topic2", "Topic3", "Topic9", "Topic13", "Topic14", "Topic15", "Topic17", "Topic7", "Topic9", "Topic11", "Topic13", "Topic16", "Topic16", "Topic18", "Topic5", "Topic7", "Topic12", "Topic13", "Topic16", "Topic1", "Topic9", "Topic13", "Topic8", "Topic8", "Topic13", "Topic14", "Topic19", "Topic3", "Topic7", "Topic9", "Topic12", "Topic13", "Topic3", "Topic5", "Topic10", "Topic12", "Topic18", "Topic3", "Topic4", "Topic7", "Topic15", "Topic16", "Topic1", "Topic2", "Topic4", "Topic7", "Topic16", "Topic18", "Topic4", "Topic6", "Topic9", "Topic13", "Topic17", "Topic18", "Topic19", "Topic20", "Topic9", "Topic9", "Topic11", "Topic13", "Topic20", "Topic1", "Topic2", "Topic3", "Topic5", "Topic7", "Topic14", "Topic8", "Topic10", "Topic12", "Topic13", "Topic16", "Topic3", "Topic12", "Topic15", "Topic17", "Topic1", "Topic6", "Topic7", "Topic10", "Topic12", "Topic13", "Topic14", "Topic18", "Topic2", "Topic4", "Topic8", "Topic12", "Topic14", "Topic19", "Topic2", "Topic20", "Topic5", "Topic13", "Topic14", "Topic14", "Topic16", "Topic3", "Topic12", "Topic13", "Topic17", "Topic6", "Topic7", "Topic7", "Topic11", "Topic15", "Topic19", "Topic2", "Topic5", "Topic7", "Topic9", "Topic10", "Topic14", "Topic14", "Topic1", "Topic13", "Topic2", "Topic6", "Topic8", "Topic16", "Topic18", "Topic1", "Topic3", "Topic4", "Topic5", "Topic16", "Topic1", "Topic1", "Topic6", "Topic7", "Topic11", "Topic12", "Topic14", "Topic17", "Topic19", "Topic2", "Topic7", "Topic7", "Topic10", "Topic12", "Topic13", "Topic18", "Topic20", "Topic8", "Topic12", "Topic12", "Topic16", "Topic4", "Topic7", "Topic7", "Topic19", "Topic2", "Topic3", "Topic12", "Topic14", "Topic1", "Topic7", "Topic8", "Topic12", "Topic19", "Topic6", "Topic7", "Topic11", "Topic12", "Topic13", "Topic17", "Topic19", "Topic1", "Topic2", "Topic8", "Topic9", "Topic14", "Topic19", "Topic4", "Topic5", "Topic14", "Topic15", "Topic7", "Topic9", "Topic13", "Topic20", "Topic4", "Topic7", "Topic11", "Topic13", "Topic14", "Topic15", "Topic7", "Topic8", "Topic15", "Topic20", "Topic3", "Topic12", "Topic13", "Topic17", "Topic19", "Topic7", "Topic15", "Topic16", "Topic9", "Topic18", "Topic19", "Topic6", "Topic7", "Topic12", "Topic17", "Topic9", "Topic10", "Topic15", "Topic16", "Topic1", "Topic2", "Topic8", "Topic12", "Topic15", "Topic19", "Topic4", "Topic6", "Topic7", "Topic19", "Topic7", "Topic14", "Topic15", "Topic1", "Topic3", "Topic12", "Topic7", "Topic7", "Topic12", "Topic13", "Topic14", "Topic16", "Topic18", "Topic20", "Topic3", "Topic11", "Topic13", "Topic17", "Topic19", "Topic2", "Topic6", "Topic9", "Topic10", "Topic14", "Topic15", "Topic17", "Topic4", "Topic6", "Topic12", "Topic20", "Topic7", "Topic8", "Topic9", "Topic15", "Topic15", "Topic16", "Topic17", "Topic20", "Topic1", "Topic3", "Topic8", "Topic13", "Topic14", "Topic14", "Topic17", "Topic1", "Topic5", "Topic8", "Topic11", "Topic12", "Topic14", "Topic17", "Topic1", "Topic3", "Topic7", "Topic9", "Topic19", "Topic14", "Topic16", "Topic19", "Topic2", "Topic13", "Topic14", "Topic18", "Topic20", "Topic20", "Topic20", "Topic20" ] | |
}, | |
"token.table": { | |
"Term": [ "__emsea", "_amorphis", "_avantasia", "_belphegor", "_bizzies", "_BrandonScott_", "_demonoid", "_developmental_", "_ethereaIity", "_hendrika", "_karenDM", "_korpiklaani", "_lotus", "_mjdeen", "_MoveableFeast_", "_MYCC", "_NoDolce", "_olivver", "_outtro", "_pain", "_Pinhead_", "_richsmith", "_rumshine", "_SaraSaunders", "_Sorgi", "_TEAMFSE", "_The__familiar", "_Therion", "_TimeManagement", "_x3ate", "0alex0", "100proofcomedy", "101Whiskies", "1047TheFish", "10psharp", "12southtaproom", "13MONSTERSmusic", "15minbeauty", "15Romolo", "165East66th", "18thstreetbrew", "19RudeBoi98", "1andycampbell", "1stWardEvents", "1throwdown1", "1winedude", "1winedude", "1winedude", "1winedude", "20x200", "225WestWacker", "247moms", "247moms", "2555NClark", "29Urs", "2BidOnAWish", "2BrewsTravelers", "2girls1platepdx", "2pt9", "2select1", "2SouthernGirls", "2Square2BHip", "30for30", "312chinatown", "312chinatown", "312chinatown", "312chinatown", "312chinatown", "312chinatown", "312chinatown", "312Gina", "33wine", "360Media", "37signals", "3floydspub", "3floydspub", "3floydspub", "3floydspub", "3floydspub", "3floydspub", "3floydspub", "3floydspub", "4_teachers", "437rush", "437rush", "437rush", "437rush", "437rush", "479Degrees", "479popcorn", "48DaysTeam", "4Hens1Rooster", "4pawsbrewing", "4pawsbrewing", "4pawsbrewing", "4pawsbrewing", "4pawsbrewing", "4pawsbrewing", "504Main", "5411empanadas", "5411empanadas", "5411empanadas", "5minutesformom", "5minutesformom", "5minutesformom", "5rabbitbrewery", "5rabbitbrewery", "5rabbitbrewery", "69eyesofficial", "7_Alive", "88pkane", "88pkane", "88pkane", "8bitfootball", "90mileschicago", "90mileschicago", "90mileschicago", "90mileschicago", "90mileschicago", "a_plate", "a_plate", "a1_steak", "a10hydepark", "a10hydepark", "a10hydepark", "aandwwine", "aaronpassman", "aaronsalmon", "abbathi", "abc7chicago", "abc7chicago", "abc7chicago", "abc7chicago", "ABC7Chicago", "abcdt3", "abeconlon", "abeconlon", "abeconlon", "abeconlon", "abeconlon", "abeconlon", "abeconlon", "abeconlon", "AbesMarket", "abouandre", "abouandre", "abouandre", "abouandre", "aboutamom", "aboutamom", "aboutamom", "aboutamom", "aboutfacechi", "aboutfacechi", "aboutfacechi", "ABRAMSbooks", "AbraNout", "AcademyofAuD", "acadiachef_ryan", "acadiachef_ryan", "acadiachef_ryan", "Acapulco_MN", "AccelerateLoans", "accepttheband", "acehardin1970", "AceroSTL", "acmilan", "ACSJL", "acsteingold", "adamcarolla", "adamcarolla", "adamknade", "adamknade", "adamknade", "adamknade", "adamknade", "adamknade", "adamknade", "adamknade", "adamknade", "AdamSarwar", "AdamWeinstein", "adastreetchi", "adastreetchi", "adastreetchi", "adastreetchi", "adastreetchi", "adelitatruck", "adelitatruck", "adelitatruck", "aderhagopian77", "ADIASound", "AdlenRobinson", "adlerskywatch", "adlerskywatch", "adlerskywatch", "adlerskywatch", "adlerskywatch", "AdoptionFeed", "AdriaCicciaBe", "AdrianHealey", "adriatickafe", "adultadhd", "AdvancEDorg", "AeroponicsMan", "Affy_85", "afpassport", "afpassport", "afpassport", "agallegom", "agaravuso", "AgentLola", "agirlandherfood", "agirlandherfood", "agirlandherfood", "agirlandherfood", "agirlandherfood", "agirlandherfood", "agozarbistro", "agozarbistro", "airxflyness", "ajbulls", "ajbulls", "ajbulls", "ajbulls", "ajbulls", "ajbulls", "ajhargroder", "AJKlein47", "akoster1", "akrossthetable", "AKUT_Dernegi", "AKUTASSOCIATION", "alarmistbrewing", "alarmistbrewing", "alarmistbrewing", "alaskanbrewing", "alaskanbrewing", "alaskanbrewing", "alaskanbrewing", "alaskanbrewing", "alawine", "alawine", "alawine", "alawine", "alawine", "AldaChiarini", "AldermanPope", "alesmithbrewing", "alesyndicate", "alesyndicate", "alesyndicate", "alesyndicate", "alesyndicate", "alesyndicate", "Alex_Wiley", "alexachula", "alexanderbasek", "alexanderrusso", "alexcelebi", "alexjokich", "AlexMandossian", "alexwagner", "aliaakkam", "alicekeeler", "alicewaters", "alicewaters", "alicewaters", "alicewaters", "alicewaters", "aliciamarie112", "aliciamarie112", "aliciamarie112", "aliciamarie112", "aliciamarie112", "Aliotos8sf", "aliteran1", "allaboutbeer", "allaboutbeer", "allaboutbeer", "AllAboutTraci", "AllergyProducts", "allertonhotel", "allertonhotel", "allertonhotel", "allertonhotel", "allertonhotel", "allertonhotel", "AllianceScienc3", "AllieBigDreamer", "alliecat0423", "AllieJ222", "Allison_Selby", "allisonhelene", "AllisonHoganESD", "AllisonOakman", "allyn_lewis", "allyoucaneatchi", "allyoucaneatchi", "allyoucaneatchi", "allyoucaneatchi", "allyoucaneatchi", "allyoucaneatchi", "allyoucaneatchi", "allyoucaneatchi", "AllysonMace", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "alpanasingh", "Alpha_Gam_CJC", "AlphaChicago", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alsitalianbeef", "alvabiopure", "amandafreitag", "amandafreitag", "amandafreitag", "amandagurney", "amandahesser", "amandahesser", "amandalah", "AmandaPuck", "Amber_1017", "amcVinosdeBaja", "amlyb3", "amomstake", "amomstake", "amotherworld", "amybrookexxx", "AmysRandomness", "anab_tweets", "AndersonCamden", "andi_fisher", "andreperryedu", "andrewoknowlton", "andrewoknowlton", "andrewoknowlton", "andrewoknowlton", "andrewoknowlton", "andrewstrong_ir", "angejim0531", "AngelaMaiers", "AngelicHandsSpa", "AngelineDAustin", "AngieBCombs", "Angieleigh", "anichicago", "anichicago", "anildash", "anildemirtas_", "anitakayduvall", "AnjuRestaurant", "AnkaraUniversty", "annajyu", "annamarierose10", "Anne_Hogan", "anneKminogue", "annelizabeth615", "annemartin3", "annettefranz", "annettejett1", "anp9", "Antique_Boutiqu", "antiquetaco1", "antiquetaco1", "antiquetaco1", "antiquetaco1", "antiquetaco1", "antiquetaco1", "Antonelli_Law", "antoniogalloni", "AOAAUK", "aoatm", "AOHousewife", "ApexLifestyles1", "apierleonisacbe", "applegate", "applegate", "applegate", "applegate", "applegate", "applegate", "AquaBlueATL", "aquaron", "ara_on", "ara_on", "ara_on", "ara_on", "arcadebrewery", "arcadebrewery", "arcadebrewery", "aredorchid", "argentina", "ariachicago", "ariachicago", "ariachicago", "ariachicago", "ariachicago", "ariachicago", "aribendersky", "aribendersky", "aribendersky", "aribendersky", "aribendersky", "aribendersky", "aribendersky", "aribendersky", "aribendersky", "Aristocatlimo", "aritzia", "aritzia", "aritzia", "aritzia", "aritzia", "ArlingtonMrDs", "armandswestern", "arsis", "art_by_megan", "artangobistro", "ArtekAmericas", "artinstitutechi", "artinstitutechi", "artinstitutechi", "artinstitutechi", "artinstitutechi", "artinstitutechi", "Artips_en", "ArtoftheSong", "artselfexpress", "arzcubed", "AshCatHoffman", "AshleeBaracy", "ashley_derthick", "AshleyCodianni", "ashleycolburn", "ashleylange", "AshSandee", "asiadognyc", "AsianPurrSway", "assyahidi", "asweetspothome", "Ataturkiye_", "aTelecine", "atjogia", "atlandco", "atlasbrewing", "atlasbrewing", "atlasbrewing", "AtlasCrossFit", "ATLSkyLounge", "AtoZWineworks", "AttilaEats", "attunefoods", "attunefoods", "atwoodcafe", "atwoodchicago", "atwoodchicago", "atwoodchicago", "aubonpain", "aubonpain", "aubonpain", "aubonpain", "aubonpain", "aucheval", "aucheval", "aucheval", "aucheval", "audiologyonline", "auditoriumchgo", "auditoriumchgo", "auditoriumchgo", "auditoriumchgo", "auditoriumchgo", "auditoriumchgo", "auditurkiye", "audreymcclellan", "audreymcclellan", "audreymcclellan", "AuraNash", "AuSableMarathon", "AustinMConway", "autumndefense", "Avecbistro", "averybrewingco", "avesbistro", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "aviarycocktails", "avidolz", "AVineRomance", "AvryGlenn", "AWBloggers", "AxeEtkisi", "Ayamayapoeia", "aychiwowa", "aychiwowa", "aychiwowa", "aychiwowa", "aychiwowa", "aychiwowa", "aychiwowa", "aychiwowa", "AylaLokkesmoe", "AyOHmusic", "Aztag09", "azzurrachicago", "b_littlewood", "babboristorante", "babboristorante", "babboristorante", "babboristorante", "babboristorante", "babiesartroom", "BackyardFarmsME", "Bahelee", "bahiscigallas", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "bakeanddestroy", "BakedByMPF", "balenachicago", "balenachicago", "balenachicago", "balenachicago", "balenachicago", "balenachicago", "banbem", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "bangbangpie", "banhmilv", "banhmilv", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "baomouth", "Barabara_Holtor", "barakhullman", "BarbByrum", "barbutonyc", "barbutonyc", "BarCFoodDrink", "BarrelHouseBeer", "Barrio_Mpls", "bartakito", "basak_dizer", "baskbeauty", "bayareadoglvr", "bbicks29", "bbicks29", "bbicks29", "bbicks29", "bbicks29", "bbicks29", "bclark565r", "beatrixchicago", "beatrixchicago", "beatrixchicago", "beatrixchicago", "beatrixchicago", "beatrixchicago", "beatrixchicago", "beatrixchicago", "beaversdonuts", "beaversdonuts", "beaversdonuts", "beaversdonuts", "beaversdonuts", "BeccaRinas", "beckersuz", "beckynoodles", "beechhillhotel", "beer_goddess", "beeradam", "beeradam", "beeradam", "beeramericatv", "beermagazine", "beermagazine", "beermagazine", "beerpulse", "beerpulse", "beerpulse", "beerpulse", "beerscribe", "beerscribe", "beerstjournal", "begylebrewing", "begylebrewing", "bekah_music", "bekiweki", "BellaGreyDesign", "bellalimento", "bellalunachi", "bellalunachi", "bellalunachi", "bellalunachi", "BellePlumeMia", "bellsbrewery", "bellsbrewery", "bellsbrewery", "bellsbrewery", "bellyqchicago", "bellyqchicago", "bellyqchicago", "bellyqchicago", "bellyqchicago", "bellyqchicago", "bellyqchicago", "bellyqchicago", "benasmith12", "benasmith12", "benchmarkchi", "benchmarkchi", "benchmarkchi", "benchmarkchi", "benchmarkchi", "benchmarkchi", "benchmarkchi", "benecol", "bennisonsbakery", "bennisonsbakery", "bennisonsbakery", "bennisonsbakery", "bennisonsbakery", "bennisonsbakery", "bennisonsbakery", "BenReininga", "BenRipaniMusic", "bentriverbrewin", "BerettaSF", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berghoffchicago", "berkan_cesur", "BestBlogRecipes", "besthairstyies", "beth_royals", "BetterBurgerUT", "BetterMornings", "beyondborders4", "beyondborders4", "beyondborders4", "bfinnrivernorth", "bfinnrivernorth", "bfinnrivernorth", "bfinnrivernorth", "bfinnrivernorth", "bfinnrivernorth", "bharri2", "BHWestVillage", "biandangnyc", "bibakderim", "bigbrickschi", "bigbrickschi", "bigbrickschi", "bigbrickschi", "bigbrickschi", "bigbrickschi", "bigbrickschi", "bigbrickschi", "bigbrickschi", "biggby_ferndale", "BIGGBYRunner", "Bigsmoke1973", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "bigstarchicago", "BigStarChicago", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "billdaley", "BillMoyersHQ", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "billydec", "BillyDec", "billysunday", "billysunday", "billysunday", "billysunday", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "bin36", "BIN36", "BIN36", "BinxBybinx", "BirchwoodCafe", "birdsnestbar", "birdsnestbar", "birdsnestbar", "birdsnestbar", "BirGun_Gazetesi", "BishopHilliard", "bistrochatnoir", "bistrochatnoir", "bistrodragon", "bistrodragon", "bistrodre2014", "bitestapas", "Bitur_versene", "bjac68", "bjsrestaurants", "bjsrestaurants", "bjsrestaurants", "bjsrestaurants", "bjsrestaurants", "bk2touchmassage", "BklynMiddleton", "BlackGirlBrunch", "blackieschicago", "blackieschicago", "blackieschicago", "blackieschicago", "blackieschicago", "blackieschicago", "BlacktopMEGA", "blendabout", "blendabout", "blendabout", "blendabout", "blendabout", "blendabout", "blendabout", "blendabout", "blendabout", "blendabout", "BlendAbout", "BlendAbout", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "blenderbabe", "BlindPigAA", "bloggersbest", "BloggersBlvd", "BloggingMamas", "bltfish", "bluedoorpub", "bluenosebrewery", "blushwc", "bmarshall", "bmarshall", "bmarshall", "bmarshall", "bmarshall", "bmarshall", "bmarshall", "bnagirly", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "boardinghse", "bobjoTruck", "boborestaurant", "bobsredmill", "bobsredmill", "bobsredmill", "bobsredmill", "bobsredmill", "bobsredmill", "bobsredmill", "bobsredmill", "bobsredmill", "BocaChicaMN", "bollig87", "bollig87", "bollig87", "bollig87", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bombaywraps", "bomonkeys", "bomonkeys", "bonefishgrill", "bonefishgrill", "bonefishgrill", "bonefishgrill", "bonefishgrill", "bonnydoonvineyd", "bonnydoonvineyd", "bonnydoonvineyd", "BookersBBQ", "booninc", "booth_insider", "booth_insider", "booth_insider", "booth_insider", "booth_insider", "booth_insider", "booth_insider", "BoothEveWknd", "bordeauxwines", "bordeauxwines", "bordeauxwines", "bordeauxwines", "bordeauxwines", "bordeauxwines", "bordeauxwines", "bordeauxwines", "Boscolytham", "bosonja", "bossbarchicago", "bossbarchicago", "bossbarchicago", "bossbarchicago", "bostonmarket", "bostonmarket", "bostonmarket", "bottlefork", "bottlefork", "bottlefork", "bottlefork", "bottlefork", "bottlefork", "bottlefork", "bottlefork", "Bottlefork", "bottlenotes", "bottlenotes", "bottlenotes", "bottlenotes", "bottlenotes", "Boughtwthought", "boukieboo", "BoukouGroove", "boulderbeerco", "boulderbeerco", "boulevard_beer", "boulevard_beer", "boulevard_beer", "boulevard_beer", "boulevard_beer", "boulevard_beer", "boulevard_beer", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "boundarychicago", "Bourdain", "boyce5", "boysinrouge", "bpbrewing", "bpbrewing", "BR_Baseball", "brainwines", "brainwines", "brainwines", "brainwines", "brainwines", "BrasaRotisserie", "BratsBrothersLA", "bravabistro", "bravotopchef", "bravotopchef", "bravotopchef", "breakroombrew", "breckbrew", "breckbrew", "breckbrew", "breckbrew", "breckbrew", "brendansodikoff", "brendansodikoff", "brendansodikoff", "brendansodikoff", "brendansodikoff", "brendansodikoff", "brendansodikoff", "brendansodikoff", "Bret_Slayer", "brewbound", "brewbound", "brewbound", "brewersassoc", "brewersassoc", "brewersassoc", "brewersassoc", "breweryommegang", "breweryommegang", "breweryommegang", "brewingnetwork", "brewpublic", "brewpublic", "BrianSciaretta", "bridgeportpasty", "bridgeportpasty", "bridgeportpasty", "bridgeportpasty", "bridgeportpasty", "bridgeportpasty", "bridgeportpasty", "bridgettblough", "briggskandb", "Brindille_Chgo", "britax", "britax", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "britechicago", "BritishTinnitus", "brittanygray1", "Brittanyrpos", "BrittanysPantry", "broadwaychicago", "broadwaychicago", "broadwaychicago", "broadwaychicago", "broadwaychicago", "broadwaychicago", "broadwaychicago", "broadwaychicago", "brooklynbrewery", "brooklynbrewery", "brooklynbrewery", "brooklynbrewery", "BruceTalent", "bryantparkgrill", "bryanvoltaggio", "bryanvoltaggio", "bryanvoltaggio", "bryanvoltaggio", "bryanvoltaggio", "bsaad20", "btllandlord", "Btown17", "BuckHavenMag", "BuckheadDiner", "buckledownbeer", "buckledownbeer", "BUDGEcom_", "BudgetEarth", "budinnyc", "budinnyc", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "bullbearbar", "BulldogNE", "burgerandbarrel", "burlacher54", "burlacher54", "burlacher54", "burlacher54", "burlacher54", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "burritobeach", "butcherlarder", "butcherlarder", "butcherlarder", "butcherlarder", "butcherlarder", "butcherlarder", "butcherlarder", "butterfinger", "butterfinger", "butterfinger", "butternyc", "butternyc", "bxlcafe", "bxlcafe", "bxlcafe", "C4Chicago", "CaesarsVIP", "cafe_convito", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafebabareeba", "cafemarbellail", "CafeMaude", "cafemom", "cafemom", "cafescape", "cafeselmarie", "cafeselmarie", "cafeselmarie", "cafeselmarie", "cafeselmarie", "cafeterianyc", "CafeTrioUtah", "CaffeNicheSLC", "CaganManagement", "CaitlinCrowe", "caitlinfalvey", "cake_cutie", "cakebreadwines", "cakebreadwines", "cakebreadwines", "cakebreadwines", "cakebreadwines", "cakebreadwines", "calpizzakitchen", "calpizzakitchen", "calpizzakitchen", "calpizzakitchen", "calpizzakitchen", "calpizzakitchen", "calpizzakitchen", "calpizzakitchen", "calypsobebetter", "camaradas115", "camaradas115", "camaradas115", "Camelliavhh", "campbellsoupco", "campbellsoupco", "campbellsoupco", "campbellsoupco", "campbellsoupco", "campbellsoupco", "campingtx", "CancerCenter", "canerossosf", "canterburywine", "canterburywine", "CantinaNshville", "canyonroadgrill", "caponiesexp", "caradelevingne", "caradelevingne", "carlahall", "carlahall", "carlahall", "carlahall", "carlahall", "carlahall", "CarlaRzeszewski", "carlayoung", "carlayoung", "carlayoung", "Carlisle_PR", "carlsjr", "carlsjr", "carlsjr", "carlsjr", "carmichaelsteak", "carmichaelsteak", "carmichaelsteak", "CarminEllenRoss", "CarolCNN", "CarolineStoy", "CarrenTX", "carriagehousewp", "carriagehousewp", "carriagehousewp", "carriagehousewp", "carriagehousewp", "carriagehousewp", "carriagehousewp", "carriagehousewp", "carriebader", "carrollplacenyc", "carrollplacenyc", "cas3434", "casamono", "casamono", "casamono", "casamono", "cascadebrewing", "Caseyspub", "Cass_Kay1", "cathycorison", "cathycorison", "cathycorison", "CAUDogRecords", "cavecravings", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "cbschicago", "celeb_babyscoop", "celestechicago", "celestechicago", "celikins", "celikins", "celikins", "celikins", "celikins", "CelinesDolls", "cfdmedia", "cfdmedia", "cfdmedia", "cfdmedia", "cfdmedia", "ChakaKhan", "chambleebrandel", "chan_inthecity", "chappellet_wine", "CharlesEsten", "charliepapazian", "chava_cafe", "chava_cafe", "chava_cafe", "chava_cafe", "chdistillery", "chdistillery", "chdistillery", "chdistillery", "chdistillery", "cheekychicago", "cheekychicago", "cheekychicago", "cheekychicago", "cheekychicago", "cheekychicago", "cheekychicago", "cheekychicago", "cheekychicago", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "cheekyjessica", "chef_aaron", "chef_aaron", "Chef_TKeller", "chefanneburrell", "chefanneburrell", "chefanneburrell", "chefanneburrell", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefartsmith", "chefchiarello", "chefintheory", "chefintheory", "chefintheory", "chefintheory", "chefintheory", "chefjohnbesh", "chefjohnbesh", "chefjohnbesh", "chefjohnbesh", "chefjohnbesh", "chefjohnbesh", "chefjohnbesh", "chefjoseandres", "chefjoseandres", "chefjoseandres", "chefmartial", "chefmartial", "chefmartial", "chefmartial", "chefmartial", "chefmartial", "chefmartial", "chefmichaelmina", "chefmichaelmina", "chefmichaelmina", "chefmichaelmina", "chefmikesheerin", "chefmikesheerin", "chefmikesheerin", "chefmikesheerin", "chefmikesheerin", "chefmikesheerin", "chefmikesheerin", "chefmikesheerin", "chefryanpoli", "chefryanpoli", "chefryanpoli", "chefryanpoli", "chefryanpoli", "chefryanpoli", "chefryanpoli", "chefryanpoli", "cheftakashi", "cheftakashi", "cheftakashi", "cheftakashi", "cheftakashi", "cheftakashi", "cheftramonto", "cheftramonto", "cheftramonto", "cheftramonto", "cheftramonto", "cheftramonto", "cheftramonto", "cheftramonto", "chelseavperetti", "chelseavperetti", "cherylscottwx", "cherylscottwx", "cherylscottwx", "cherylscottwx", "cherylscottwx", "cherylscottwx", "cherylscottwx", "cherylscottwx", "ChevyChaseCC", "chezspencergo", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "chgofoodscene", "CHGOFoodScene", "chi_comp_orch", "chi_humanities", "chi_humanities", "chiarchitecture", "chiarchitecture", "chiarchitecture", "chiarchitecture", "chiarchitecture", "chiarchitecture", "chiarchitecture", "chiarchitecture", "chibeergeeks", "chibeergeeks", "chibeergeeks", "chibeergeeks", "chibeergeeks", "chibeersociety", "chibeersociety", "chibeersociety", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibeerweek", "chibetterbeer", "chibetterbeer", "chibetterbeer", "chicago", "chicago", "chicago", "chicago", "chicago", "chicago", "chicago", "chicago", "chicago_cupcake", "chicago_cupcake", "chicago_cupcake", "Chicago_Gourmet", "chicago_police", "chicago_police", "chicago_police", "chicago_police", "chicago_police", "chicago_police", "chicago_police", "chicago_police", "chicago_reader", "chicago_reader", "chicago_reader", "chicago_reader", "chicago_reader", "chicago_reader", "Chicago_Reader", "chicagoalerts", "chicagoalerts", "chicagoalerts", "chicagoalerts", "chicagoalerts", "chicagoalerts", "chicagoalerts", "chicagoalerts", "ChicagoBears", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "chicagobites", "ChicagoBites", "ChicagoBites", "ChicagoBites", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobreaking", "chicagobulls", "chicagobulls", "chicagobulls", "chicagobulls", "chicagocurrent", "chicagocurrent", "chicagocurrent", "chicagocurrent", "chicagodcase", "chicagodcase", "chicagodcase", "chicagodcase", "chicagodcase", "Chicagoderm", "chicagodot", "chicagodot", "chicagodot", "chicagodot", "chicagodot", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodies", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofoodtrux", "chicagofringe", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoideas", "chicagoist", "chicagoist", "chicagoist", "chicagoist", "chicagoist", "chicagoist", "Chicagoist", "chicagolunchbox", "chicagolunchbox", "chicagolunchbox", "chicagomag", "chicagomag", "chicagomag", "chicagomag", "chicagomag", "chicagomag", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomarriott", "chicagomuseum", "chicagomuseum", "chicagomuseum", "chicagomuseum", "chicagomusic", "chicagomusic", "chicagomusic", "chicagomusic", "chicagomusic", "chicagomusic", "chicagomusic", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagonow", "chicagoopera", "chicagoopera", "chicagoopera", "chicagoopera", "chicagoopera", "chicagoopera", "chicagoparks", "chicagoparks", "chicagoparks", "chicagoparks", "chicagoparks", "chicagoparks", "chicagopizza", "chicagoplays", "chicagoplays", "chicagoplays", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoporkchop", "chicagoreporter", "chicagoreporter", "chicagoreporter", "chicagoreporter", "chicagoreporter", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoscene", "chicagoshakes", "chicagoshakes", "chicagoshakes", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosmayor", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagosoupco", "chicagospizza", "chicagospizza", "chicagosymphony", "chicagosymphony", "chicagosymphony", "chicagosymphony", "chicagosymphony", "chicagotheatre", "chicagotheatre", "chicagotheatre", "chicagotheatre", "chicagotheatre", "chicagotheatre", "chicagotheatre", "chicagotheatre", "chifilmfest", "chifilmfest", "chifilmfest", "chifilmfest", "chifilmfest", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodath", "chifoodbloggers", "chifoodbloggers", "chifoodbloggers", "chifoodbloggers", "chifoodbloggers", "chifoodbloggers", "chifoodbloggers", "ChiFoodBloggers", "ChiFoodBloggers", "ChiFoodBloggers", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodplanet", "chifoodtruckz", "chifoodtruckz", "chifoodtruckz", "chifoodtruckz", "chifoodtruckz", "chifoodtruckz", "chifoodtruckz", "chifoodtruckz", "ChiKoreanFest", "childmode", "chipotle", "chipotle", "chipublib", "chipublib", "chipublib", "chipublib", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chipublichouse", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chirestaurant", "chitheaterbeat", "chitown_bomber", "chitown_bomber", "chitown_bomber", "ChiTribFood", "chmontelena", "chmontelena", "chocandcarrots", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choosechicago", "choptedallen", "choptedallen", "choptedallen", "choptedallen", "chow", "chow", "chow", "chow", "chow", "chow", "chow", "chow", "chow", "ChuckJinesSEO", "churchstbrew", "churchstbrew", "cicchettichi", "cicchettichi", "cicchettichi", "cicchettichi", "cicchettichi", "cigarcitybeer", "cigarcitybeer", "cigarcitybeer", "cigarcitybeer", "CingDeals", "circlecitypizza", "circlecitypizza", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citechicago", "citizenbar", "citizenbar", "citizenbar", "citizenbar", "citizenbar", "citizenbar", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityfarmchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityofchicago", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "cityprovisions", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "citywinerychi", "CityWineryCHI", "CityWineryCHI", "classymommy", "classymommy", "classymommy", "cleettweet", "cleettweet", "cleettweet", "cleettweet", "clubmonaco", "clubmonaco", "clubmonaco", "clubmonaco", "clubmonaco", "clubmonaco", "clubmonaco", "Coach_Staten", "coffeebarsf", "coffeebarsf", "colesprouse", "collegeprepster", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "coloneltribune", "Colorlines", "comedyortruth", "comedysportzchi", "comedysportzchi", "comedysportzchi", "comedysportzchi", "conantnyc", "conantnyc", "conantnyc", "conantnyc", "conantnyc", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiebarbakery", "cookiesbyjoey", "cookiesbyjoey", "cookiesbyjoey", "cookiesbyjoey", "cooking_light", "cooking_light", "cooking_light", "coppervinechi", "coppervinechi", "coppervinechi", "coralroseradio", "cornerbakery", "cornerbakery", "cornerbakery", "cornerbakery", "cornerbakery", "cornerbakery", "cornerbakery", "cornerbakery", "courageouscakes", "courageouscakes", "courageouscakes", "courtchicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cp_chicago", "cpandel", "cpandel", "cpandel", "cpandel", "cpandel", "cpandel", "cpandel", "cpandel", "cpandel", "cpkimball", "cpkimball", "cpkimball", "cpkimball", "craftbeer", "craftbeer", "craftbeerdotcom", "craftbeerdotcom", "craftbeerdotcom", "craftbeerdotcom", "craftpizzachi", "craftpizzachi", "CraigFahle", "craigieonmain", "craigieonmain", "craigieonmain", "craigieonmain", "craigieonmain", "craigieonmain", "craigieonmain", "craigieonmain", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "crainschicago", "CrainsChicago", "cravelocal", "cravelocal", "cravelocal", "cravelocal", "cravelocal", "cravelocal", "crow_50", "crow_50", "Crunchys", "crystymre", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "cschicagosocial", "CSchicagosocial", "csnchicago", "csnchicago", "csnchicago", "csnchicago", "csnchicago", "cta", "cta", "cta", "cta", "cta", "cta", "cta", "culvers", "culvers", "culvers", "culvers", "culvers", "culvers", "culvers", "curtisduffy", "curtisduffy", "curtisduffy", "curtisduffy", "curtisduffy", "curtisduffy", "cuteculturechic", "cuvaison", "cw_spn", "d_degea", "dagsdelivers", "dagsdelivers", "dagsdelivers", "dagsdelivers", "dagsdelivers", "dak_wings", "dak_wings", "dak_wings", "danamtedesco", "danamtedesco", "danamtedesco", "danamtedesco", "danamtedesco", "danamtedesco", "danamtedesco", "danamtedesco", "danielboulud", "danielboulud", "danielboulud", "danielboulud", "davebolland", "davebolland", "davebolland", "davebolland", "davebolland", "davidbouley", "davidbouley", "davidbouley", "davidbouley", "davidbouley", "davidbouley", "davidgregory", "davidgregory", "davidlebovitz", "davidlebovitz", "davidlebovitz", "davidtamarkin", "davidtamarkin", "davidtamarkin", "davidtamarkin", "davidtamarkin", "davidtamarkin", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dbprimehouse", "dcberan", "dcberan", "dcberan", "dcberan", "debrameiburgmw", "debrameiburgmw", "debrameiburgmw", "debrameiburgmw", "debrameiburgmw", "debrameiburgmw", "debrameiburgmw", "debrameiburgmw", "decachicago", "decachicago", "decachicago", "deleecegrillpub", "deleecegrillpub", "deleecegrillpub", "dellanimanyc", "dellanimanyc", "delposto", "delposto", "delposto", "delposto", "delposto", "deluxediner", "deluxediner", "deluxediner", "deluxediner", "deluxediner", "deschutesbeer", "deschutesbeer", "deschutesbeer", "deschutesbeer", "deschutesbeer", "devonchicago", "devonchicago", "devonchicago", "devonchicago", "devonchicago", "devonchicago", "dflychicago", "dflychicago", "dflychicago", "dflychicago", "dhmeyer", "dhmeyer", "dhmeyer", "dhmeyer", "dhmeyer", "Diethood", "dirtysouthwine", "dirtysouthwine", "docbschi", "docbschi", "docbschi", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "doughnutvault", "dougmcd3", "dove_chocolate", "dove_chocolate", "dove_chocolate", "dove_chocolate", "dove_chocolate", "downtowndogschi", "downtowndogschi", "downtowndogschi", "downtowndogschi", "downtowndogschi", "downtowndogschi", "downtowndogschi", "downtowndogschi", "downtowndogschi", "draftmag", "draftmag", "draftmag", "draftmag", "draftmag", "draftmag", "draftmag", "drakebell", "drakechicago", "drakechicago", "drakechicago", "drakechicago", "drakechicago", "drakechicago", "drakechicago", "drakechicago", "drakechicago", "drinkatfranklin", "drinkatfranklin", "drinkatfranklin", "drinkatfranklin", "drinkatfranklin", "drinkatfranklin", "drinkatfranklin", "drinkatfranklin", "drvino", "drvino", "drvino", "drvino", "dryhopchicago", "dryhopchicago", "duckhornwine", "duckhornwine", "duckhornwine", "duckhornwine", "duckhornwine", "duckhornwine", "duckhornwine", "duckhornwine", "duckhornwine", "ducknrolltruck", "ducknrolltruck", "dulcemaria", "duncankeith", "duncankeith", "duncankeith", "duncankeith", "duncankeith", "dylansprouse", "earth_balance", "earth_balance", "earth_balance", "earth_balance", "earth_balance", "eartheats", "eartheats", "eartheats", "eartheats", "easports", "eastbankclub", "eastbankclub", "eastbankclub", "eastbankclub", "eastbankclub", "eastbankclub", "eastbankclub", "eastbankclub", "eastbankclub", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eatatunion", "eater", "eater", "eater", "eater", "eater", "eater", "eater", "eater", "eater", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterchicago", "eaterny", "eaterny", "eaterny", "eatfatrice", "eatfatrice", "eatfatrice", "eatfatrice", "eatfatrice", "eatingforsanity", "eatingforsanity", "eatingforsanity", "eatocracy", "eatocracy", "eatocracy", "eatocracy", "eatocracy", "eatocracy", "eatocracy", "eclipsetheatre", "ecoplanet1", "ecoplanet1", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edibleinkpr", "edlevine", "edlevine", "edlevine", "edlevine", "eightymphmom", "elfamousburrito", "elfamousburrito", "elfamousburrito", "elhefe_chicago", "elhefe_chicago", "elhefe_chicago", "elhefe_chicago", "elideaschi", "elideaschi", "elideaschi", "elideaschi", "elideaschi", "elideaschi", "elideaschi", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elischeesecake", "elizabethrest", "elizabethrest", "elizabethrest", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "elizabites", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "ellenmalloy", "elmariachibar", "elmariachibar", "elnuevomexicano", "elnuevomexicano", "elnuevomexicano", "elnuevomexicano", "embeyachicago", "embeyachicago", "embeyachicago", "embeyachicago", "enjb_ny", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enjoyillinois", "enobytes", "enobytes", "enotecaroma", "enotecaroma", "enotecaroma", "enotecaroma", "enotecaroma", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "epicrestaurant", "ergobaby", "erica64", "ericripert", "ericripert", "ericripert", "ericripert", "escarestaurant", "escarestaurant", "espnchihawks", "espnchihawks", "espnchihawks", "espnchihawks", "espnchihawks", "estateultrabar", "estateultrabar", "estateultrabar", "estateultrabar", "estateultrabar", "estateultrabar", "estelleschicago", "estelleschicago", "estelleschicago", "estelleschicago", "estelleschicago", "everest_chicago", "everest_chicago", "everest_chicago", "everest_chicago", "everest_chicago", "everest_chicago", "everestpartychi", "everestpartychi", "everestpartychi", "EyrieVineyards", "fairmontchicago", "fairmontchicago", "fairmontchicago", "fairmontchicago", "fairmontchicago", "fairmontchicago", "fairmontchicago", "fairmontchicago", "fairmontchicago", "familyfocusblog", "familyfocusblog", "familyfocusblog", "familyfocusblog", "fatburger", "fatburger", "fatburger", "fatburger", "fatsandwichlp", "fatsandwichlp", "fattycrab", "fattycrab", "fattycrab", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "feastrestaurant", "fieldmuseum", "fieldmuseum", "fieldmuseum", "fieldmuseum", "fiestamexicanau", "filinichicago", "filinichicago", "filinichicago", "filinichicago", "filinichicago", "filinichicago", "filinichicago", "finchbeer", "finchbeer", "finchbeer", "finchbeer", "finchbeer", "finchbeer", "finchbeer", "firehousesubs", "firehousesubs", "firehousesubs", "firehousesubs", "firehousesubs", "firehousesubs", "fireplaceinn", "fireplaceinn", "fireplaceinn", "fireplaceinn", "fireplaceinn", "fireplaceinn", "firestonewalker", "firestonewalker", "firestonewalker", "firestonewalker", "five_guys", "five_guys", "five_guys", "five_guys", "five_guys", "five_guys", "five_guys", "fizzchicago", "fizzchicago", "fizzchicago", "fizzchicago", "fizzchicago", "fizzchicago", "fizzchicago", "flattopgrill", "flattopgrill", "flattopgrill", "flattopgrill", "flattopgrill", "flattopgrill", "flattopgrill", "fleskbrew", "fleskbrew", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "flirtycupcakes", "florasprings", "florentineresto", "florentineresto", "florentineresto", "florentineresto", "florentineresto", "florentineresto", "florentineresto", "floriole", "floriole", "floriole", "floriole", "floriole", "floriole", "floriole", "floriole", "floriole", "floriole", "flyingdog", "flyingdog", "flyingdog", "flyingdog", "fogo2go", "fogo2go", "fogo2go", "fogo2go", "food52", "food52", "food52", "food52", "food52", "foodable", "foodable", "foodable", "foodable", "foodable", "foodable", "foodable", "foodable", "foodable", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodeasemarket", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodieanthony", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechats", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "foodiechatschi", "FoodiechatsCHI", "FoodiechatsCHI", "FoodiechatsCHI", "foodimentary", "foodimentary", "foodimentary", "foodimentary", "foodimentary", "foodimentary", "foodimentary", "foodspotting", "foodspotting", "foodspotting", "foodspotting", "forevertruck", "forevertruck", "forevertruck", "forevertruck", "fornellot", "fornellot", "fossfoodtrucks", "fossfoodtrucks", "fossfoodtrucks", "fossfoodtrucks", "fossfoodtrucks", "fox32news", "fox32news", "fox32news", "fox32news", "fox32news", "frankbruni", "frankbruni", "frankbruni", "frankbruni", "frankbruni", "franksspuntino", "freemansalley", "frenchtini", "friendshipresta", "fwscout", "fwscout", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gachatz", "gaelgreene", "gaelgreene", "gailsimmons", "gailsimmons", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "garrettpopcorn", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "gebistro", "geekilygf", "geekilygf", "geekilygf", "geekilygf", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gejascafe", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "gene_georgetti", "getcurriedaway", "getcurriedaway", "getcurriedaway", "getcurriedaway", "getcurriedaway", "getcurriedaway", "getcurriedaway", "getcurriedaway", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gglasstheatre", "gibsonssteak", "gibsonssteak", "gibsonssteak", "gibsonssteak", "gibsonssteak", "gibsonssteak", "gibsonssteak", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "giltcitychicago", "ginojrocco", "ginojrocco", "ginojrocco", "ginojrocco", "ginojrocco", "ginojrocco", "ginojrocco", "ginojrocco", "ginojrocco", "gioco_chicago", "gioco_chicago", "gioco_chicago", "gioco_chicago", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "giuseppetentori", "GiveawayPromote", "glamorousbite", "glamorousbite", "glamorousbite", "glamorousbite", "glamorousbite", "glamorousbite", "glamorousbite", "glamorousbite", "gloriaferrer", "glutenfreegirl", "glutenfreegirl", "glutenfreegirl", "glutenfreegirl", "glutenfreeworks", "glutenfreeworks", "glutenfreeworks", "glutenfreeworks", "glutenfreeworks", "glutenfreeworks", "glutenfreeworks", "GmZaMbOn", "goburger", "goburger", "goodappetite", "goodappetite", "goodappetite", "goodappetite", "goodappetite", "goodbeerhunting", "goodbeerhunting", "goodbeerhunting", "goodbeerhunting", "goodbeerhunting", "goodbeerhunting", "goodbeerhunting", "goodfellaspizza", "goodfellaspizza", "goodmantheatre", "goodmantheatre", "goodmantheatre", "goodmantheatre", "goodmantheatre", "goodmantheatre", "goodmantheatre", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "gooseclybourn", "goosefootchi", "goosefootchi", "goosefootchi", "goosefootchi", "goosefootchi", "goosefootchi", "goosefootchi", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "gooseisland", "goromanet", "goromanet", "goromanet", "goromanet", "goromanet", "goromanet", "goromanet", "goromanet", "goromanet", "gracobaby", "GrandCruWineMer", "grantland33", "grantland33", "grantland33", "greatdividebrew", "greatdividebrew", "greatdividebrew", "greenbush_brew", "greenbush_brew", "greenbush_brew", "greenbush_brew", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencitymarket", "greencorner1880", "greencorner1880", "greencorner1880", "greencorner1880", "greenflashbeer", "greenflashbeer", "greenflashbeer", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greengrocerchi", "greenhouse2257", "greghoran87", "grgichhills", "grgichhills", "grgichhills", "grnweddingshoes", "grnweddingshoes", "grnweddingshoes", "grnweddingshoes", "grnweddingshoes", "grouponchicago", "grouponchicago", "grouponchicago", "grouponchicago", "grouponchicago", "grouponchicago", "grouponchicago", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "grubstreetchi", "guaje7villa", "guarnaschelli", "gulliverschgo", "guysdrinkinbeer", "guysdrinkinbeer", "guysdrinkinbeer", "guysdrinkinbeer", "guysdrinkinbeer", "guysdrinkinbeer", "gyromena", "gzchef", "gzchef", "gzchef", "gzchef", "hackneys", "hackneys", "hackneys", "hackneys", "hackneys", "hackneys", "hackneys", "hackneys", "hailstormbrew", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfacrebeer", "halfshellchi", "hanamisushi_", "happyfamily", "harperteen", "harristheater", "harristheater", "harristheater", "harristheater", "harristheater", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrycarays", "harrysnavypier", "harrysnavypier", "harrysnavypier", "harrysnavypier", "harrysnavypier", "harrysnavypier", "harrysnavypier", "harrysnavypier", "hautesausage", "hautesausage", "hautesausage", "hautesausage", "hautesausage", "hautesausage", "hautesausage", "havanany", "havanany", "haymarketbeer", "haymarketbeer", "haymarketbeer", "haymarketbeer", "haymarketbeer", "haymarketbeer", "haymarketpub", "haymarketpub", "haymarketpub", "healthy_child", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heartyboys", "heathersper", "heathersper", "heathersper", "heathersper", "heathersper", "heatherterhune", "heatherterhune", "heatherterhune", "heatherterhune", "heatherterhune", "heatherterhune", "heatherterhune", "hennorjenn26", "hennorjenn26", "hennorjenn26", "henrysswingclub", "henrysswingclub", "hernanes", "hessbrewing", "highnoonchicago", "highnoonchicago", "highnoonchicago", "hirschvineyards", "homebrewassoc", "honeybutterchi", "honeybutterchi", "honeybutterchi", "honeybutterchi", "HoneyButterChi", "hoppinfrog", "hoppinfrog", "hoppinfrog", "hoppinfrog", "hopvinebrewing", "hopvinebrewing", "hopvinebrewing", "howellsandhood", "howellsandhood", "howellsandhood", "howellsandhood", "howellsandhood", "howellsandhood", "howellsandhood", "howellsandhood", "hrcchicago", "hrcchicago", "hrcchicago", "hrcchicago", "hrcchicago", "hrcchicago", "hrcchicago", "hrcchicago", "hrcchicago", "hseanbrock", "hseanbrock", "hseanbrock", "hseanbrock", "hseanbrock", "hub51", "hub51", "hub51", "hub51", "hub51", "hub51", "hub51", "hub51", "hub51", "hub51", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "hubbardinn", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "huffpostchicago", "HuffPostChicago", "huffpostfood", "huffpostfood", "huffpostfood", "huffpostfood", "huffpostfood", "huffpostfood", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huffposttaste", "huggies", "huggies", "hugosfrog", "hugosfrog", "hugosfrog", "hugosfrog", "humphryslocombe", "humphryslocombe", "humphryslocombe", "humphryslocombe", "humphryslocombe", "humphryslocombe", "humphryslocombe", "humphryslocombe", "huntclubchicago", "huntclubchicago", "huntclubchicago", "huntclubchicago", "hvranch", "hvranch", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "hyattchicago", "iamaudarshia", "iamaudarshia", "iamaudarshia", "iamaudarshia", "iamaudarshia", "iamaudarshia", "iamaudarshia", "iamaudarshia", "iamcolinquinn", "ibgdrgn", "ideasinfood", "ideasinfood", "ideasinfood", "ideasinfood", "ideasinfood", "illinibaseball", "illinibaseball", "illinibaseball", "illinibaseball", "illinihoops", "illinihoops", "illinihoops", "illinihoops", "illinihoops", "illinoisbeer", "illinoisbeer", "illinoispga", "illinoispga", "illinoispga", "iluvsweetfreaks", "iluvsweetfreaks", "iluvsweetfreaks", "imonelli", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "infinespirits", "ing_restaurant", "ing_restaurant", "ing_restaurant", "ing_restaurant", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "ingoodtastemag", "instagram", "instagram", "instagram", "instagram", "instagram", "italianwineguy", "its_a_fab_life", "itsmovies", "iubloomington", "iubloomington", "iubloomington", "iubloomington", "iubloomington", "iubloomington", "jackdaniels", "jackdaniels", "jacquestorres", "jacquestorres", "jacquestorres", "jacquestorres", "JamaicaVilla", "jamessuckling", "jamessuckling", "jamessuckling", "jamesthewineguy", "jamesthewineguy", "jamesthewineguy", "jamesthewineguy", "jamesthewineguy", "jamesthewineguy", "jancisrobinson", "jancisrobinson", "janerestaurant", "janerestaurant", "jaredallen69", "jaredallen69", "jaredallen69", "jarstarvie", "jarstarvie", "jarstarvie", "jarstarvie", "jasonalstrom", "JasonPrah", "jbonne", "jbonne", "jbonne", "jbonne", "jccchicago", "jccchicago", "jccchicago", "jccchicago", "jccchicago", "jeangeorges", "jeangeorges", "jeangeorges", "JellyfishOne11", "jennyslate", "jerk312", "jerk312", "jerk312", "jerk312", "jerk312", "jerk312", "jerk312", "jerrytrainor", "jesseyjoy", "jessymendiola", "jmolesworth1", "jmolesworth1", "joe_sugg", "joefishchicago", "joefishchicago", "joefishchicago", "joejonas", "joejonas", "joejonas", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joeschicago", "joespizzausa", "joespizzausa", "joespizzausa", "joespizzausa", "joffreyballet", "joffreyballet", "joffreyballet", "joffreyballet", "joffreyballet", "joffreyballet", "joffreyballet", "johngroce", "johngroce", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "johnthebristol", "josephjefferson", "jpgraziano", "jpgraziano", "jpgraziano", "jpgraziano", "jpgraziano", "jpgraziano", "jpgraziano", "judahworldchamp", "judahworldchamp", "juicebarman", "juliakramer", "juliakramer", "juliakramer", "juliakramer", "juliancamarena", "junebugweddings", "junebugweddings", "junebugweddings", "junebugweddings", "junosushi", "junosushi", "jverden", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "kamehachi", "keefers_chicago", "keefers_chicago", "keefers_chicago", "keefers_chicago", "keefers_chicago", "keefers_chicago", "kehenatural", "keitholbermann", "keitholbermann", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kendallcollege", "kermitlynchwine", "kermitlynchwine", "kermitlynchwine", "kermitlynchwine", "kermitlynchwine", "kevinboehm", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinboehmboka", "kevinzraly", "kevinzraly", "kevinzraly", "kevinzraly", "kevinzraly", "KidapillarNY", "kinmontchicago", "kinmontchicago", "kinmontchicago", "kinshopnyc", "kinshopnyc", "kinziechophouse", "kinziechophouse", "kinziechophouse", "kinziechophouse", "kinziechophouse", "kinziechophouse", "kitchensinkcafe", "kitchensinkcafe", "kitchensinkcafe", "kittenwithawhip", "kittenwithawhip", "kittenwithawhip", "kittenwithawhip", "kittenwithawhip", "kittenwithawhip", "kittenwithawhip", "kittenwithawhip", "kjwines", "kjwines", "kjwines", "kjwines", "kjwines", "kjwines", "kohanchicago", "ktownmangia", "kutsherstribeca", "ky1elong", "ky1elong", "ky1elong", "la_palapita", "la_palapita", "lacolombechi", "lacolombechi", "lacolombechi", "lacolombechi", "lacolombechi", "lacolombechi", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "lacolombecoffee", "ladiesocb", "ladiesocb", "lagunitasbruhws", "lagunitasbruhws", "lagunitasbruhws", "lagunitasbruhws", "lagunitasbruhws", "lagunitasbruhws", "lagunitasbruhws", "lagunitasbruhws", "lakeeffect_llc", "lamadiachi", "lamadiachi", "lamadiachi", "lamadiachi", "lamadiachi", "lancebriggs", "lancebriggs", "lancebriggs", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "langhamchicago", "laparrillacol", "latitude20n", "latitude20n", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lawryschicago", "lecrae", "lecrae", "lecrae", "ledpipe08", "ledpipe08", "lefthandbrewing", "lefthandbrewing", "leghornchicken", "leghornchicken", "leghornchicken", "leghornchicken", "leghornchicken", "leghornchicken", "leghornchicken", "lemonesse", "lemonesse", "lemonesse", "lemonesse", "lemonesse", "lemonesse", "lemonesse", "lemonesse", "leonaschicago", "leonaschicago", "leonaschicago", "leonaschicago", "leonaschicago", "leonaschicago", "leonaschicago", "leonaschicago", "leonidaschicago", "leonidaschicago", "leonidaschicago", "leonidaschicago", "leonidaschicago", "letiziasfiore", "letiziasfiore", "letiziasfiore", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "lettuceeats", "LettuceEats", "lifelinetheatre", "lifewortheating", "lifewortheating", "lifewortheating", "lifewortheating", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnparkzoo", "lincolnstation", "lincolnstation", "lincolnstation", "lincolnstation", "lindamurphywine", "lisalampanelli", "lisashames", "lisashames", "lisashames", "lisashames", "lisashames", "littlemarketchi", "littlemarketchi", "littlemarketchi", "littlemarketchi", "littlemarketchi", "littlemarketchi", "littleskillet", "livewirechicago", "local123cafe", "local123cafe", "local123cafe", "localoption", "localoption", "localoption", "localoption", "localoption", "locandasf", "locandaverde", "loganbar", "loganbar", "loganbar", "loganbar", "loganbar", "loganbar", "loganbar", "loganlerman", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "longmanandeagle", "lostabbey", "lostabbey", "lostabbey", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "loumalnatis", "lovemyphilly", "lovemyphilly", "lovemyphilly", "lovemyphilly", "lovemyphilly", "lovemyphilly", "loyolachicago", "loyolachicago", "loyolachicago", "loyolachicago", "lqmeatmobile", "lqmeatmobile", "lqmeatmobile", "lukeslobster", "lukeslobster", "lukeslobster", "lukeslobster", "lukeslobster", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lulacafe", "lupaosteria", "lushwine", "lushwine", "lushwine", "lushwine", "lushwine", "lushwine", "lushwine", "lushwine", "lushwine", "luxbarchicago", "luxbarchicago", "luxbarchicago", "luxbarchicago", "luxbarchicago", "luxbarchicago", "luxbarchicago", "luxbarchicago", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lwoodstap", "lyricopera", "lyricopera", "lyricopera", "lyricopera", "lyricopera", "lyricopera", "mabelhood", "macaronigrill", "macaronigrill", "macaronigrill", "macaronigrill", "machupicchurest", "machupicchurest", "mackusushi", "mackusushi", "mackusushi", "maggianochicago", "maggianochicago", "maggianochicago", "maggianochicago", "maggianochicago", "maggianochicago", "maggianos", "maggianos", "maggianos", "maggianos", "maggianos", "maggianos", "maggianos", "maggianos", "maggianos", "maggianos", "magichat", "magichat", "magichat", "magichat", "magichat", "magichat", "magichat", "magichat", "magichat", "maialino_nyc", "maialino_nyc", "maialino_nyc", "maialino_nyc", "mainlinebaking", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "makersmark", "mamagreengoodie", "mamagreengoodie", "mamagreengoodie", "mamagreengoodie", "maproomtavern", "maproomtavern", "maproomtavern", "maproomtavern", "maproomtavern", "maracas43", "maracas43", "maracas43", "maracas43", "maracas43", "marcforgione", "marcforgione", "marcforgione", "marcforgione", "marchofdimeschi", "marchofdimeschi", "marchofdimeschi", "marchofdimeschi", "marchofdimeschi", "marchofdimeschi", "marchofdimeschi", "marcmaron", "marcmaron", "marcuscooks", "marcuscooks", "marcuscooks", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "marianosmarket", "MarianosMarket", "mariospizzanbk", "mariospizzanbk", "mariostable", "mariostable", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "market_bar", "MarkRuffalo", "martysaurusrex", "martysaurusrex", "martysaurusrex", "martysaurusrex", "martysaurusrex", "maryschicago", "maryschicago", "maryschicago", "mastersofwine", "mastersofwine", "mastersofwine", "mastrosofficial", "mastrosofficial", "mastrosofficial", "mastrosofficial", "mattforte22", "mattforte22", "mattforte22", "mattsland", "mattsland", "mattsland", "mattsland", "mattsland", "mattsland", "mattsland", "mattsland", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mburgerchicago", "mcachicago", "mcachicago", "mcachicago", "mcachicago", "mcachicago", "mcachicago", "mcachicago", "mdefined", "megunyc", "melanthiosgch", "melanthiosgch", "melicafechicago", "melicafechicago", "melicafechicago", "melicafechicago", "melicafechicago", "melissaanddoug", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditochi", "mercaditoCHI", "mercaditofish", "mercaditofish", "mercaditofish", "mercaditofish", "mercaditofish", "mercaditofish", "mercaditofish", "mercer113", "mercer113", "mercer113", "mercer113", "merchantcircle", "merchantcircle", "merchantcircle", "merchantcircle", "merchantcircle", "merchantcircle", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "merkleschicago", "metrobrewing", "metrobrewing", "metrobrewing", "metrobrewing", "metrobrewing", "metrobrewing", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "metromixchi", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michaelnagrant", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelinguidech", "michelledbeadle", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "michiganavemag", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "mikesula", "MikeSula", "millennium_park", "millennium_park", "millennium_park", "millennium_park", "millennium_park", "millennium_park", "millennium_park", "millennium_park", "minecraft", "missionstfood", "missionstfood", "missionstfood", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mjshchicago", "mlp_applebloom", "moes_hq", "moes_hq", "moes_hq", "moes_hq", "momblogsociety", "momitforward", "mommybites", "mommypr", "momofuku", "momofuku", "momofuku", "momofuku", "momofuku", "momstart", "momstart", "momstart", "momtrends", "momtrends", "momtrends", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "monamigabichi", "Monica61", "monicaeng", "monicaeng", "monicaeng", "monicaeng", "monicaeng", "monicaeng", "monicaeng", "monicaeng", "mortons", "mortons", "mortons", "mortons", "mortons", "mortons", "mortons", "mortons", "moylansbrewery", "moylansbrewery", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "mrlxc", "MsFrugalMommy", "msichicago", "msichicago", "msichicago", "msichicago", "mulaney", "mulaney", "musicboxtheatre", "musicboxtheatre", "musicboxtheatre", "musicboxtheatre", "musicboxtheatre", "musicboxtheatre", "musicboxtheatre", "musicboxtheatre", "muyinteresante", "mvoltaggio", "mvoltaggio", "mybaybah", "mylastbite", "mylastbite", "mylastbite", "mylastbite", "mylastbite", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "n9nesteakhouse", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "nacional27", "napavintners", "napavintners", "Nashville_ABC", "natephippen", "nathanholgate", "nathanholgate", "nathanholgate", "nathanholgate", "nathanholgate", "nathanholgate", "nathanholgate", "nathanholgate", "naturespath", "naturespath", "naturespath", "naturespath", "naturespath", "naturespath", "naturespath", "naturespath", "navypier", "navypier", "navypier", "navypier", "navypier", "navypier", "navypier", "navypier", "navypier", "navypier", "navypier", "nbcchicago", "nbcchicago", "nbcchicago", "nbcchicago", "nbcchicago", "nbcchicago", "nbcchicago", "nbcsports", "nellcote833", "nellcote833", "nellcote833", "nellcote833", "nellcote833", "nellcote833", "nellcote833", "nellcote833", "neofuturists", "neofuturists", "neofuturists", "nestleusa", "nestleusa", "nestleusa", "nestleusa", "nestleusa", "newbelgiumbeer", "newbelgiumbeer", "newbrewthursday", "newlifecafe", "newshour", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nextrestaurant", "nexttheatre", "nexttheatre", "nftechicago", "nftechicago", "nftechicago", "nftechicago", "nftechicago", "nftechicago", "nickkokonas", "nickkokonas", "nickkokonas", "nickkokonas", "nickkokonas", "nickysgrill", "nickysgrill", "nickysgrill", "nicoosteria", "nicoosteria", "nicoosteria", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nightwoodpilsen", "nikkeichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "nomichicago", "normmacdonald", "northern_brewer", "northpondbruce", "northpondbruce", "northpondbruce", "northpondbruce", "northpondbruce", "northpondbruce", "nottjmiller", "nottjmiller", "nprbooks", "oakmillbakery", "oakmillbakery", "oakmillbakery", "oakmillbakery", "oakmillbakery", "oakparkredmango", "oakparkredmango", "odellbrewing", "odellbrewing", "offalchris", "offalchris", "offalchris", "offalchris", "offalchris", "offalchris", "offcolorbrewing", "officialjld", "officialpepe", "oldcrowsmokehse", "oldcrowsmokehse", "oldcrowsmokehse", "oldmonkrum", "oldmonkrum", "oldoverholt", "oldoverholt", "oldtownrefinery", "oldtownrefinery", "oldtownrefinery", "oldtownrefinery", "oonchicago", "oonchicago", "oonchicago", "oonchicago", "oracletheatre", "oracletheatre", "oskarblues", "oskarblues", "oskarblues", "oskarblues", "osteriamorini", "osteriaviastato", "osteriaviastato", "osteriaviastato", "osteriaviastato", "osteriaviastato", "osteriaviastato", "osteriaviastato", "osteriaviastato", "osteriaviastato", "ourkidsmom", "ourkidsmom", "ourkidsmom", "ourordinarylife", "owenandengine", "owenandengine", "owenandengine", "owenandengine", "owenandengine", "owenandengine", "owenandengine", "owenandengine", "packing_house", "packing_house", "packing_house", "padmalakshmi", "padmalakshmi", "palatepress", "palatepress", "palatepress", "palatepress", "paolasvinum", "paolasvinum", "paolasvinum", "paramountroom", "paramountroom", "paramountroom", "paramountroom", "paramountroom", "paramountroom", "paramountroom", "paramountroom", "parentsconnect", "parisclubbistro", "parisclubbistro", "parisclubbistro", "parisclubbistro", "parisclubbistro", "parisclubbistro", "parisclubbistro", "parisclubbistro", "parisclubchi", "parisclubchi", "parisclubchi", "parisclubchi", "parisclubchi", "parsonschi", "parsonschi", "parsonschi", "parsonschi", "parsonschi", "patzhall", "paugasol", "paugasol", "paugasol", "paugasol", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulbarron", "paulkahan", "paulkahan", "paulkahan", "paulkahan", "paulkahan", "paulkahan", "paulkahan", "paulkahan", "paulyspizza", "paulyspizza", "pazzositaliana", "pazzositaliana", "pazzositaliana", "pazzositaliana", "pazzositaliana", "peanuttillman", "peanuttillman", "peanuttillman", "peanuttillman", "pearltavern", "pearltavern", "pearltavern", "peasantryeatery", "peasantryeatery", "peasantryeatery", "peasantryeatery", "peasantryeatery", "peckingorderchi", "peckingorderchi", "peckingorderchi", "peckingorderchi", "peckingorderchi", "peckingorderchi", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "pennypollack", "penrosebrewing", "penrosebrewing", "penrosebrewing", "perfect_bound", "perfect_bound", "perfect_bound", "perfect_bound", "perfect_bound", "perillanyc", "perillanyc", "perillanyc", "peruviancuisine", "peruviancuisine", "peruviancuisine", "peruviancuisine", "pete_wells", "pete_wells", "pete_wells", "pete_wells", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "pfchangs", "phillipfoss", "phillipfoss", "phillipfoss", "phillipfoss", "phillipfoss", "phillipfoss", "philstefani", "philstefani", "philstefani", "philstefani", "philstefani", "philstefani", "philstefani", "philstefani", "philstefani", "philvettel", "philvettel", "philvettel", "philvettel", "philvettel", "philvettel", "philvettel", "philvettel", "philvettel", "PiccoloSogno", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "piecechicago", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pieeyedpizzeria", "pineridgewine", "pineridgewine", "piobagusfidil", "piperlime", "piperlime", "piperlime", "piperlime", "piperlime", "piperlime", "piperlime", "piperlime", "pipeworksbrewin", "pizzahouse1647", "pizzarusticachi", "pizzarusticachi", "pizzarusticachi", "pizzarusticachi", "pizzarusticachi", "pizzarusticachi", "pmabray", "pmabray", "pmabray", "pmabray", "poagmahone", "poagmahone", "poagmahone", "poagmahone", "poagmahone", "poagmahone", "pogue", "pompeipizza", "pompeipizza", "pompeipizza", "pompeipizza", "pompeipizza", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "ponyinnchicago", "popchips", "popchips", "popchips", "popchips", "popchips", "popchips", "popchips", "popchips", "popchips", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "potbelly", "pregnancymag", "princeroyce", "profilestheatre", "proseccochicago", "proseccochicago", "proseccochicago", "proseccochicago", "proseccochicago", "proseccochicago", "public_nyc", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanchicago", "publicanquality", "publicanquality", "publicanquality", "publicanquality", "publicanquality", "publicanquality", "publicanquality", "punchpizza", "punchpizza", "punchpizza", "punchpizza", "qdobamexgrill", "qdobamexgrill", "qdobamexgrill", "qdobamexgrill", "qdobamexgrill", "qdobamexgrill", "qdobamexgrill", "qdobamexgrill", "quakerchewy", "quartinochicago", "quartinochicago", "quartinochicago", "quartinochicago", "quartinochicago", "quartinochicago", "quartinochicago", "quintessawinery", "quintessawinery", "quiznos", "quiznos", "rafaelnadal", "rafaelnadal", "raffertysgr", "raffertysgr", "ragoodtimes", "ragoodtimes", "ragoodtimes", "ragoodtimes", "ragoodtimes", "ragoodtimes", "rahmemanuel", "rahmemanuel", "rahmemanuel", "rahmemanuel", "rahmemanuel", "rahmemanuel", "rahmemanuel", "rahmemanuel", "raising_canes", "raising_canes", "raising_canes", "ramon_deleon", "ramon_deleon", "ramon_deleon", "ramon_deleon", "ramon_deleon", "ramon_deleon", "ramon_deleon", "ramonapeterson3", "rangolifeast", "rareteacellar", "rareteacellar", "rareteacellar", "rareteacellar", "rareteacellar", "rareteacellar", "rareteacellar", "rasdashenchi", "rasdashenchi", "ratebeer", "ratebeer", "ratebeer", "raymondvineyard", "raymondvineyard", "RdVVineyards", "realcomfortfood", "realcomfortfood", "rebelchicago", "rebelchicago", "rebelchicago", "rebelchicago", "recettenyc", "recettenyc", "redeyechicago", "redeyechicago", "redeyechicago", "redeyechicago", "redeyechicago", "redeyechicago", "redeyechicago", "redeyechicago", "redeyechicago", "redhooklobster", "redhooklobster", "redivychicago", "redivychicago", "redivychicago", "redivychicago", "redivychicago", "redivychicago", "redivychicago", "redmoontheater", "redmoontheater", "redmoontheater", "redmoontheater", "reelclub", "reelclub", "reelclub", "reelclub", "reelclub", "reelclub", "remybumppo", "reneredzepinoma", "reneredzepinoma", "reneredzepinoma", "reneredzepinoma", "reneredzepinoma", "renochicago", "renochicago", "renochicago", "resourcefulmom", "resourcefulmom", "resourcefulmom", "resourcefulmom", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurant_com", "restaurantl2o", "restaurantl2o", "restaurantl2o", "restaurantl2o", "restaurantl2o", "restaurantl2o", "restauranttru", "restauranttru", "restauranttru", "restauranttru", "restauranttru", "revbrewchicago", "revbrewchicago", "revbrewchicago", "revbrewchicago", "revbrewchicago", "revbrewchicago", "revbrewchicago", "revbrewchicago", "RevBrewChicago", "rick_bayless", "rick_bayless", "rick_bayless", "rick_bayless", "rick_bayless", "rick_bayless", "rick_bayless", "rick_bayless", "rick_bayless", "ricky_martin", "ridgebrookbrew", "ridgevineyards", "ridgevineyards", "ridgevineyards", "rivendellthtr", "riverparknyc", "rjgruntschicago", "rjgruntschicago", "rjgruntschicago", "rjgruntschicago", "rjgruntschicago", "rjgruntschicago", "rjgruntschicago", "rjonwine", "rjonwine", "rjonwine", "rjonwine", "rkfrdbrewingco", "rkfrdbrewingco", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "rmchicago", "robbiegould09", "robbiegould09", "robbiegould09", "robbiegould09", "robbiegould09", "robbiegould09", "robbiegould09", "robertherjavec", "robertherjavec", "robertherjavec", "robertmparkerjr", "robertmparkerjr", "robertmparkerjr", "robertmparkerjr", "robertmparkerjr", "robertmparkerjr", "robertmparkerjr", "rockartbrewery", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "rockit", "Rockit", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitburgerbar", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockitranch", "rockwrapandroll", "rockwrapandroll", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rodanchicago", "rogueales", "rogueales", "rogueales", "rogueales", "rogueales", "rogueales", "rombauervino", "rosebudchicago", "rosebudchicago", "rosebudchicago", "rosebudchicago", "rosebudchicago", "rosebudchicago", "rosieswesttown", "rosieswesttown", "roundpond", "rpmitalianchi", "rpmitalianchi", "rpmitalianchi", "rpmitalianchi", "rpmitalianchi", "ruckustheater", "rudyschicago", "rudyschicago", "rudyschicago", "rudyschicago", "rudyschicago", "rudyschicago", "rudyschicago", "ruthbourdain", "ruthbourdain", "ruthbourdain", "ruthbourdain", "ruthbourdain", "ruthbourdain", "ruthbourdain", "ruthreichl", "ruthreichl", "ruthreichl", "ruthreichl", "ruthreichl", "ruths_chris", "ruxbinchicago", "ruxbinchicago", "ruxbinchicago", "ruxbinchicago", "rvbrickoven", "rvbrickoven", "sabrinihari", "sabrinihari", "sabrinihari", "sabrinihari", "sabrinihari", "sabrinihari", "sabrinihari", "sabrinihari", "salpiconrestaur", "salpiconrestaur", "salpiconrestaur", "salpiconrestaur", "salseriagrill", "samsifton", "samsifton", "samsifton", "samsifton", "samsifton", "saporitrattoria", "saporitrattoria", "saporitrattoria", "saporitrattoria", "saporitrattoria", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "sarahspain", "savoychicago", "savoychicago", "savoychicago", "savoychicago", "savoychicago", "savoychicago", "savoychicago", "savoychicago", "savoychicago", "savvysassymoms", "savvysassymoms", "savvysassymoms", "savvysassymoms", "scarpettanyc", "scarpettanyc", "schlafly", "schlafly", "schlafly", "schlafly", "schlafly", "schlafly", "schlafly", "schramsberg", "schugwinery", "scofflaw", "scofflaw", "scofflaw", "scofflaw", "scofflaw", "scoozichicago", "scoozichicago", "scoozichicago", "scoozichicago", "scoozichicago", "scoozichicago", "scoozichicago", "scoozichicago", "scotusblog", "seppblatter", "SergeStevensDYR", "sergioramos", "shanesribshack", "shannondowney", "shannondowney", "shannondowney", "shannondowney", "shannondowney", "shannondowney", "shannondowney", "shannondowney", "shannondowney", "shawz15er", "shawz15er", "shawz15er", "she_scribes", "shedd_aquarium", "shedd_aquarium", "shedd_aquarium", "shedd_aquarium", "shedd_aquarium", "shedd_aquarium", "shedd_aquarium", "shedd_aquarium", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "sheffieldsbbq", "ShellTerrell", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shellyfromshaws", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shiakapos", "shibleysmiles", "shibleysmiles", "shibleysmiles", "shmaltzbrewingw", "shmaltzbrewingw", "shulasnyc", "shulasnyc", "SienaTavern", "sierranevada", "sierranevada", "sierranevada", "signalensemble", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "signatureroom95", "sigvin", "simonteen", "SingleMomDad", "sizzler_usa", "sizzler_usa", "skabrewing", "skabrewing", "skilling", "skilling", "skilling", "skilling", "skilling", "skilling", "skilling", "skilling", "skiphop", "skyfullofbacon", "skyfullofbacon", "skyfullofbacon", "skyfullofbacon", "skyfullofbacon", "skyfullofbacon", "slapshotbrewing", "slapshotbrewing", "slate", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "slowfoodchicago", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallbardst", "smallschicago", "smallschicago", "smallschicago", "smashburger", "smashburger", "smashburger", "smashburger", "smashburger", "smashburger", "smashburger", "smashburger", "smuttynosebeer", "snooth", "snooth", "snooth", "sobayanyc", "sobayanyc", "sobayanyc", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "socialinchicago", "SocialInChicago", "SocialInChicago", "socialmoms", "socialmoms", "socialmoms", "socialmoms", "sofirestaurant", "sofrachicago", "solemnoathbeer", "solemnoathbeer", "songsworid", "sonomavintners", "sonomawilliam", "sonomawilliam", "sonomawilliam", "sonomawineguy", "sonomawineguy", "soupsintheloop", "soupsintheloop", "soupsintheloop", "soupsintheloop", "southportirving", "southportirving", "southportirving", "southportirving", "southportirving", "southportirving", "southportirving", "SpaceshipsLB", "spiaggiachicago", "spiaggiachicago", "spiaggiachicago", "spiaggiachicago", "spiaggiachicago", "spiaggiachicago", "spiaggiachicago", "spitefulbrewing", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "sproutchi", "stagelefttheatr", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "stanleyschicago", "star_chefs", "star_chefs", "star_chefs", "star_chefs", "star_chefs", "star_chefs", "star_chefs", "star_chefs", "staropolska", "starrrestaurant", "starrrestaurant", "starrrestaurant", "starrrestaurant", "starrrestaurant", "statechicago", "statechicago", "statechicago", "statechicago", "statechicago", "statechicago", "statechicago", "statechicago", "statechicago", "statechicago", "stbcbeer", "stbcbeer", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "stephandthegoat", "steppenwolfthtr", "steppenwolfthtr", "steppenwolfthtr", "steppenwolfthtr", "steppenwolfthtr", "steppenwolfthtr", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevedolinsky", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevegogreen", "stevekerr", "stgermain", "stokkebaby", "stonecapwines", "stonecapwines", "stonegreg", "stonegreg", "stonegreg", "stonegreg", "stonegreg", "stonegreg", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "stoutchicago", "strangetree", "strawdogtheatre", "stuartscott", "studioparischi", "studioparischi", "studioparischi", "studioparischi", "studioparischi", "studioparischi", "styleunveiled", "styleunveiled", "styleunveiled", "styleunveiled", "styleunveiled", "sugarcafe", "sugarcafe", "sugarcafe", "sunchips", "sunchips", "sunchips", "sunchips", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sunda", "sundaydinnerchi", "sundaydinnerchi", "sundaydinnerchi", "sundaydinnerchi", "sundaydinnerchi", "sundaydinnerchi", "sundaydinnerchi", "sunkist", "sunkist", "sunkist", "sunkist", "sunkist", "sunkist", "suntimes", "suntimes", "suntimes", "suntimes", "suntimes", "suntimes", "suntimes", "suntory", "suntory", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "superdawg", "surfsweets", "surfsweets", "surfsweets", "surfsweets", "surfsweets", "surlybrewing", "surlybrewing", "surlybrewing", "sweetiecakes", "sweetridechi", "sweetridechi", "sweetridechi", "sweetridechi", "sweetridechi", "sweetridechi", "sweetridechi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "sweetwaterchi", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "swirlzcupcakes", "tabledonkeyinn", "tabledonkeyinn", "tabledonkeyinn", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablefiftytwo", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tablesavvy", "tacquick", "tacquick", "tacquick", "takax62", "takitogrill", "takitokitchen", "takitokitchen", "takitokitchen", "takitokitchen", "takitokitchen", "takitokitchen", "tamalefoodie", "tamalefoodie", "tamalesgaribay", "tamalesgaribay", "tamalespace101", "tamalespace101", "tamalespaceship", "tamalespaceship", "tanknoodle", "tanknoodle", "tanknoodle", "tantachicago", "tantachicago", "tantachicago", "taquerofusion", "taquerofusion", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tastingtablechi", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "tavernita", "Techbradwaid", "techsavvymama", "teddyoenos", "Teenreads", "telegraphwine", "telegraphwine", "telegraphwine", "telegraphwine", "telegraphwine", "telegraphwine", "telegraphwine", "temperancebeer", "temperancebeer", "temperancebeer", "temperancebeer", "terrapinbeerco", "terrapinbeerco", "terroiristblog", "terroiristblog", "tertulia_nyc", "tertulia_nyc", "tertulia_nyc", "tesorichicago", "tesorichicago", "tesorichicago", "tesorichicago", "tesorichicago", "tesorichicago", "tesorichicago", "tesorichicago", "tesorichicago", "tetecharcuterie", "tetecharcuterie", "tetecharcuterie", "thatbaldchick", "theallischicago", "theaterwit", "theatrechicago", "theatreseven", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeerbistro", "thebeertemple", "thebeertemple", "thebeertemple", "thebruery", "thebruery", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedailysip", "thedemocrats", "thefatshallot", "thefatshallot", "theffs", "theffs", "theffs", "theffs", "theffs", "theffs", "theffs", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefifty50", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodiegossip", "thefoodsection", "thefountchicago", "thefountchicago", "thefountchicago", "thefountchicago", "thefountchicago", "thefountchicago", "thefountchicago", "thefullpint", "thefullpint", "thefullpint", "thefullpint", "thefullpint", "thefullpint", "thefullpint", "thefullpint", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegagechicago", "thegridchi", "thegridchi", "thegridchi", "thegridchi", "thehopleaf", "thehopleaf", "thehopleaf", "thehopleaf", "thehopleaf", "thehopleaf", "thehopleaf", "thehopleaf", "thehousetheatre", "thehypocrites", "thejefferyshow", "thejibaritostop", "thejibaritostop", "thekitchn", "thekitchn", "thekitchn", "thekitchn", "thekitchn", "thekitchn", "thekitchn", "thekitchn", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "thekittchen", "theknottybride", "theknottybride", "theknottybride", "theknottybride", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalbeet", "thelocalchicago", "thelocalchicago", "thelocalchicago", "thelocalchicago", "thelocalchicago", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "thelocaltourist", "themodernnyc", "themommyfiles", "themommyfiles", "themoremobile", "themoremobile", "themoremobile", "themoremobile", "themotherhood", "theorganicview", "theorganicview", "theorganicview", "theorganicview", "ThePeninsulaChi", "ThePeninsulaChi", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "thepigchicago", "ThePigChicago", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "thepublican2008", "theroosttruck", "thesalsatruck", "thesalsatruck", "thesalsatruck", "thesalsatruck", "thesalsatruck", "THESALSATRUCK", "THESALSATRUCK", "thesecondcity", "thesecondcity", "thesecondcity", "thesecondcity", "thesecondcity", "thesecondcity", "thesecondcity", "theslideride", "theslideride", "theslideride", "theslideride", "theslideride", "theslideride", "thesmithnyc", "thesmithnyc", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thesouthernmac", "thetomme", "theviewtv", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "theviolethour1", "TheVioletHour1", "thewebergrill", "thewebergrill", "thewebergrill", "thewebergrill", "thewebergrill", "thewebergrill", "thewitchicago", "thewitchicago", "thewitchicago", "thewitchicago", "thewitchicago", "thewitchicago", "thewitchicago", "thewitchicago", "thewitchicago", "thinkthin", "thinkthin", "thinkthin", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thrillistchi", "thtronthelake", "timelinetheatre", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "timeoutchicago", "TimeOutChicago", "timfishwine", "timfishwine", "timfishwine", "tishwine", "tishwine", "tishwine", "tishwine", "tishwine", "tishwine", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "toceatout", "tomcwark", "tonymantuano", "tonymantuano", "tonymantuano", "tonymantuano", "tonymantuano", "tonymantuano", "tonymantuano", "tortoiseclub", "tortoiseclub", "tortoiseclub", "tortoiseclub", "tortoiseclub", "tortoiseclub", "tortoiseclub", "tortoiseclub", "tortoiseclub", "totsfamily", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "tracyswartz", "trapdoortheatre", "trattoriademi", "trattoriademi", "trattoriademi", "trattoriadoc", "trattoriadoc", "travel_chicago", "travel_chicago", "travel_chicago", "travel_chicago", "travel_chicago", "travel_chicago", "travel_chicago", "travel_chicago", "travel_chicago", "trekronorbistro", "trekronorbistro", "trellischi", "trellischi", "trellischi", "trellischi", "trenchermanbrew", "trenchermanbrew", "trenchermanbrew", "trenchermen", "trenchermen", "trenchermen", "trenchermen", "trenchermen", "tresoldichicago", "tresoldichicago", "tresoldichicago", "triblocal", "triblocal", "triblocal", "triblocal", "triblocal", "triblocal", "triciagoyer", "triciagoyer", "triciagoyer", "triciagoyer", "troquetchi", "troquetchi", "troquetchi", "troquetchi", "truchard", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "trumpchicago", "tsingtaouk", "tsingtaouk", "tsingtaouk", "tsingtaouk", "tsingtaouk", "twaddle87", "twaddle87", "twaddle87", "twaddle87", "tweetchi", "tweetchi", "tweetchi", "tweetchi", "tweetchi", "tweetchi", "tweetchi", "twesommelier", "twesommelier", "twesommelier", "twesommelier", "twesommelier", "twesommelier", "twesommelier", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "twobrothersbeer", "tylerflorence", "tylerflorence", "tylerflorence", "uber_chi", "uber_chi", "uber_chi", "uber_chi", "uber_chi", "uber_chi", "uber_chi", "uber_chi", "uber_chi", "Uber_CHI", "uiucbusiness", "uiucbusiness", "uiucbusiness", "uiucbusiness", "uiucbusiness", "ukaichicago", "ukaichicago", "undergroundchi", "undergroundchi", "undergroundchi", "undergroundchi", "undergroundchi", "undergroundchi", "undergroundchi", "undergroundchi", "uneannee", "uneannee", "uneannee", "uneannee", "unforettable", "unitedcenter", "unitedcenter", "unitedcenter", "unitedcenter", "unitedcenter", "unitedcenter", "unitedcenter", "unitedcenter", "unitedcenter", "uniteurbangrill", "uniteurbangrill", "untappd", "untappd", "untappd", "untappd", "untappd", "UntitledChicago", "UntitledChicago", "untitlednyc", "usabeertrends", "vaultvanchicago", "vaultvanchicago", "vaultvanchicago", "vaultvanchicago", "vaultvanchicago", "verachicago", "verachicago", "verachicago", "verachicago", "verachicago", "verachicago", "verachicago", "verasweeney", "verasweeney", "verasweeney", "verasweeney", "verasweeney", "viandchicago", "victorybeer", "victorybeer", "victorybeer", "victorybeer", "victorygardens", "Vincent_Chicago", "vinography", "vinography", "visitchicago", "visitchicago", "visitchicago", "visitchicago", "visitchicago", "visitchicago", "VitosStLouis", "vivochicago", "vivochicago", "vivochicago", "vivochicago", "vivochicago", "vivochicago", "vivochicago", "vivochicago", "vivochicago", "vorachicago", "vorachicago", "vsattui", "vsattui", "vstalberg", "vstalberg", "vstalberg", "vstalberg", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "waddleandsilvy", "wallswharf", "wattypagon", "wattypagon", "wbbmnewsradio", "wbbmnewsradio", "wbbmnewsradio", "wbbmnewsradio", "wbez", "wbez", "wbez", "wbez", "wbez", "wbez", "wbez", "wbez", "weddingbee", "weddingbee", "weddingbee", "weddingbee", "weddingbee", "weddingchicks", "weddingchicks", "weddingchicks", "weddingchicks", "weddingchicks", "weddingchicks", "weidknecht", "weidknecht", "weyerbacher", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnmorningnews", "wgnnews", "wgnnews", "wgnnews", "wgnnews", "wgnnews", "wgnnews", "wgnnews", "wgnnews", "wgnnews", "wgntv", "wgntv", "wgntv", "wgntv", "wgntv", "wgntv", "wgntv", "wgntv", "whattoexpect", "wherechicago", "wherechicago", "wherechicago", "wherechicago", "wherechicago", "wherechicago", "wherechicago", "wherechicago", "wherechicago", "wheresthecup", "wheresthecup", "wheresthecup", "wheresthecup", "wheresthecup", "wheresthecup", "wheresthecup", "wherezthewagon", "wherezthewagon", "wherezthewagon", "wherezthewagon", "wherezthewagon", "wherezthewagon", "wherezthewagon", "whitelabs", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wholefoodschi", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wickerparkbuck", "wii", "wii", "wii", "wildfirerest", "wildfirerest", "wildfirerest", "wildfirerest", "wildfirerest", "wildfirerest", "wildfirerest", "wildfirerest", "wildfirerest", "windhorstespn", "windycitizen", "windycitizen", "windycitizen", "windycitizen", "windycitizen", "windycitizen", "windycitizen", "windycitytimes1", "windycitytimes1", "windycitytimes1", "windycitytimes1", "windycitytimes1", "windycitytimes1", "windycitytimes1", "windycitytimes1", "windycitytimes1", "wine_com", "wine_com", "wine_com", "wineandspirits", "wineandspirits", "wineandspirits", "wineandspirits", "wineandspirits", "wineandspirits", "wineatlas", "winebizradio", "winebizradio", "winebizradio", "winebusiness", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineenthusiast", "wineguru", "wineharlots", "wineharlots", "wineharlots", "wineharlots", "wineharlots", "wineharlots", "wineharlots", "winepleasures", "winepleasures", "winepleasures", "winepleasures", "winepleasures", "winepleasures", "winepleasures", "winepleasures", "winereviewonlin", "winesandvines", "winesandvines", "winesandvines", "winetourguy", "winetourguy", "winetourguy", "winetwits", "winetwits", "winetwits", "winetwits", "winetwits", "winetwits", "winetwits", "winetwits", "winetwits", "wisesonsdeli", "wlvliquors", "wlvliquors", "wlvliquors", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "wolfgangbuzz", "woodhavenchi", "woodhavenchi", "woodhavenchi", "woodhavenchi", "woodieschicago", "woodieschicago", "woodieschicago", "worldwineevents", "worldwineevents", "worldwineevents", "worldwineevents", "worldwineevents", "worldwineevents", "worldwineevents", "worldwineevents", "worldwineevents", "writerstheatre", "wttw", "wttw", "wttw", "wttw", "wttw", "wttw", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "yelpchicago", "ylanointedmom", "ypchicago", "ypchicago", "ypchicago", "ypchicago", "ypchicago", "ypchicago", "yushochicago", "yushochicago", "yushochicago", "yushochicago", "yushochicago", "yushochicago", "zachlowe_nba", "Zagat", "Zagat", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "zagatchicago", "ZagatChicago", "zdwines" ], | |
"Topic": [ 20, 12, 12, 12, 9, 20, 12, 20, 20, 20, 19, 12, 20, 20, 20, 5, 9, 20, 20, 12, 20, 20, 12, 20, 20, 16, 20, 12, 20, 20, 11, 13, 16, 5, 17, 14, 9, 15, 16, 20, 10, 20, 20, 20, 19, 14, 15, 16, 19, 20, 20, 3, 15, 20, 9, 13, 20, 20, 19, 20, 5, 16, 20, 1, 2, 3, 9, 12, 13, 15, 20, 19, 5, 20, 1, 6, 8, 10, 11, 17, 18, 19, 11, 4, 7, 9, 12, 13, 5, 5, 15, 15, 9, 10, 12, 13, 18, 20, 5, 1, 8, 11, 15, 16, 19, 10, 11, 18, 12, 5, 5, 9, 17, 18, 1, 7, 8, 11, 12, 7, 14, 15, 6, 8, 12, 16, 18, 9, 12, 2, 12, 17, 19, 20, 19, 1, 2, 6, 8, 10, 11, 12, 13, 19, 1, 7, 9, 11, 9, 15, 16, 19, 5, 13, 15, 19, 9, 5, 6, 8, 12, 14, 13, 12, 13, 19, 17, 18, 16, 17, 18, 2, 5, 6, 8, 9, 10, 12, 17, 19, 9, 18, 4, 5, 8, 10, 12, 11, 12, 13, 11, 13, 11, 2, 3, 13, 15, 17, 5, 13, 18, 7, 13, 11, 16, 19, 4, 9, 15, 16, 11, 16, 6, 8, 9, 12, 19, 20, 14, 16, 9, 2, 9, 12, 15, 17, 20, 9, 5, 11, 16, 12, 12, 10, 12, 18, 14, 15, 16, 18, 19, 9, 12, 15, 16, 19, 16, 9, 18, 1, 7, 9, 10, 13, 18, 9, 11, 12, 11, 12, 18, 15, 19, 16, 11, 6, 14, 16, 18, 19, 2, 3, 9, 12, 15, 16, 19, 15, 16, 18, 5, 5, 3, 4, 9, 12, 13, 15, 9, 5, 9, 11, 16, 19, 11, 11, 5, 2, 4, 5, 7, 9, 12, 17, 19, 19, 1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 13, 16, 17, 9, 9, 2, 3, 4, 7, 11, 12, 14, 17, 18, 16, 6, 14, 19, 19, 6, 19, 11, 20, 16, 16, 19, 9, 15, 15, 12, 11, 11, 11, 5, 11, 1, 6, 14, 16, 19, 13, 5, 11, 11, 16, 15, 5, 12, 17, 11, 12, 15, 14, 12, 16, 13, 15, 11, 11, 11, 14, 15, 19, 13, 2, 8, 10, 11, 12, 20, 9, 16, 12, 15, 15, 16, 16, 1, 8, 14, 15, 18, 19, 5, 13, 3, 4, 9, 15, 10, 12, 18, 13, 17, 1, 4, 7, 8, 14, 16, 1, 2, 3, 5, 6, 9, 12, 13, 16, 16, 5, 8, 11, 15, 17, 11, 2, 12, 5, 12, 19, 2, 8, 13, 17, 18, 19, 16, 13, 16, 5, 11, 18, 18, 18, 16, 19, 11, 14, 9, 19, 5, 12, 12, 17, 5, 9, 10, 12, 9, 5, 19, 19, 15, 16, 12, 12, 19, 20, 11, 12, 14, 15, 20, 8, 10, 11, 18, 5, 2, 3, 9, 13, 15, 16, 12, 3, 15, 16, 14, 18, 11, 9, 14, 18, 14, 1, 2, 4, 5, 6, 7, 8, 10, 11, 12, 14, 16, 19, 20, 11, 16, 13, 15, 12, 9, 4, 5, 10, 11, 12, 13, 19, 20, 11, 9, 9, 12, 5, 6, 7, 8, 14, 19, 5, 19, 12, 12, 1, 3, 9, 10, 11, 12, 13, 14, 15, 17, 19, 5, 4, 5, 6, 8, 12, 20, 19, 1, 2, 6, 7, 8, 9, 10, 11, 12, 13, 20, 12, 16, 1, 2, 3, 4, 7, 9, 11, 12, 14, 15, 17, 11, 13, 18, 6, 14, 14, 16, 14, 12, 12, 5, 19, 5, 10, 11, 12, 17, 20, 5, 4, 5, 8, 9, 12, 15, 17, 19, 9, 11, 12, 13, 19, 11, 9, 18, 14, 18, 1, 10, 18, 18, 7, 12, 18, 10, 14, 15, 18, 16, 18, 18, 10, 12, 13, 16, 5, 19, 7, 9, 12, 15, 19, 10, 18, 19, 20, 4, 5, 6, 8, 10, 11, 12, 13, 15, 17, 4, 5, 7, 9, 12, 13, 17, 15, 1, 3, 7, 11, 13, 14, 20, 16, 9, 10, 16, 1, 2, 3, 4, 7, 9, 12, 13, 14, 15, 16, 17, 18, 19, 20, 12, 5, 17, 19, 14, 5, 4, 11, 12, 4, 5, 9, 10, 12, 20, 6, 5, 14, 12, 4, 7, 9, 10, 11, 12, 15, 16, 18, 18, 18, 9, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 20, 1, 2, 3, 6, 9, 12, 13, 15, 16, 19, 20, 18, 1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 16, 17, 20, 6, 8, 10, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 16, 19, 20, 15, 20, 9, 14, 7, 9, 10, 15, 12, 5, 14, 16, 7, 14, 14, 12, 12, 5, 7, 14, 15, 18, 19, 13, 18, 5, 2, 9, 10, 12, 13, 19, 9, 2, 4, 6, 9, 12, 15, 16, 17, 18, 19, 15, 20, 2, 5, 6, 7, 9, 12, 14, 15, 16, 17, 18, 19, 18, 5, 19, 5, 14, 14, 10, 14, 2, 5, 9, 10, 12, 13, 17, 19, 4, 5, 6, 8, 9, 10, 11, 12, 16, 18, 19, 14, 14, 1, 6, 10, 12, 14, 15, 16, 17, 19, 14, 5, 11, 17, 18, 2, 4, 7, 9, 10, 11, 12, 14, 15, 19, 13, 20, 4, 14, 15, 18, 20, 9, 14, 16, 14, 15, 2, 11, 13, 15, 17, 18, 20, 9, 6, 9, 12, 14, 15, 16, 17, 19, 14, 18, 3, 5, 7, 9, 7, 14, 15, 4, 5, 8, 10, 11, 12, 17, 20, 20, 1, 3, 15, 16, 18, 5, 19, 13, 14, 18, 10, 11, 12, 14, 16, 17, 18, 1, 2, 3, 4, 5, 7, 9, 10, 15, 16, 18, 20, 19, 18, 16, 18, 9, 9, 12, 15, 16, 18, 14, 13, 14, 6, 17, 19, 10, 10, 12, 14, 16, 18, 1, 5, 6, 8, 11, 12, 17, 20, 15, 16, 17, 18, 7, 10, 14, 18, 10, 14, 18, 18, 15, 18, 18, 1, 8, 11, 12, 13, 14, 15, 18, 14, 19, 3, 15, 2, 3, 4, 5, 8, 9, 10, 11, 12, 13, 17, 20, 5, 18, 11, 19, 2, 3, 4, 5, 10, 11, 13, 20, 10, 14, 18, 19, 18, 14, 6, 7, 12, 14, 19, 17, 13, 11, 5, 5, 10, 12, 19, 5, 6, 14, 2, 3, 4, 5, 7, 12, 16, 17, 18, 19, 14, 14, 2, 3, 9, 13, 17, 3, 4, 5, 7, 9, 11, 13, 14, 15, 16, 17, 1, 4, 6, 8, 10, 11, 19, 15, 17, 19, 14, 19, 6, 14, 18, 9, 11, 6, 1, 2, 3, 4, 5, 7, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 12, 14, 6, 15, 13, 1, 7, 10, 11, 15, 14, 14, 14, 13, 11, 11, 19, 3, 5, 14, 15, 16, 20, 3, 7, 12, 14, 15, 17, 19, 20, 14, 2, 5, 14, 5, 5, 14, 15, 17, 19, 20, 13, 5, 14, 15, 16, 14, 14, 11, 3, 17, 10, 14, 16, 17, 19, 20, 19, 9, 15, 20, 11, 11, 14, 15, 17, 4, 7, 16, 19, 18, 11, 19, 4, 5, 6, 7, 8, 9, 10, 12, 11, 8, 14, 18, 8, 14, 16, 19, 18, 13, 11, 12, 16, 19, 13, 19, 1, 2, 3, 4, 5, 6, 7, 13, 15, 17, 20, 15, 8, 12, 3, 9, 13, 15, 16, 5, 2, 11, 12, 13, 17, 5, 18, 5, 16, 5, 18, 1, 8, 10, 13, 8, 10, 12, 13, 20, 1, 2, 3, 5, 6, 9, 11, 13, 15, 1, 2, 3, 5, 6, 9, 12, 13, 16, 19, 14, 19, 19, 4, 15, 19, 20, 1, 2, 3, 4, 5, 6, 9, 12, 13, 14, 15, 16, 18, 19, 19, 1, 6, 8, 10, 12, 1, 6, 11, 14, 15, 16, 19, 6, 16, 19, 1, 3, 6, 7, 12, 14, 18, 6, 14, 16, 19, 1, 6, 7, 8, 10, 12, 14, 18, 1, 4, 5, 6, 8, 12, 14, 19, 1, 4, 6, 7, 8, 14, 1, 3, 6, 7, 12, 14, 16, 19, 6, 17, 2, 5, 9, 10, 11, 12, 13, 17, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 19, 20, 20, 9, 8, 13, 1, 2, 3, 8, 9, 13, 15, 16, 9, 10, 13, 18, 20, 9, 10, 18, 1, 2, 3, 4, 10, 11, 12, 13, 18, 20, 10, 16, 18, 1, 2, 3, 4, 5, 10, 13, 17, 11, 12, 20, 20, 2, 3, 5, 6, 10, 11, 13, 17, 2, 5, 6, 10, 11, 17, 20, 2, 3, 5, 9, 10, 11, 13, 17, 20, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 16, 18, 20, 1, 2, 3, 4, 5, 10, 11, 13, 17, 20, 7, 12, 17, 20, 2, 3, 10, 13, 2, 9, 11, 12, 13, 13, 2, 10, 12, 13, 17, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 15, 16, 19, 1, 2, 3, 6, 7, 10, 11, 13, 14, 13, 2, 5, 8, 9, 11, 12, 13, 15, 17, 2, 5, 6, 10, 17, 20, 20, 11, 12, 13, 2, 5, 6, 10, 17, 19, 2, 3, 4, 7, 9, 12, 13, 15, 16, 2, 3, 12, 13, 2, 3, 9, 10, 11, 13, 15, 1, 2, 3, 5, 6, 9, 10, 11, 13, 15, 17, 20, 3, 9, 12, 13, 15, 16, 2, 3, 10, 11, 12, 13, 7, 2, 3, 13, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 1, 2, 3, 8, 13, 1, 2, 3, 4, 5, 6, 7, 9, 13, 20, 2, 13, 20, 1, 2, 3, 5, 8, 10, 11, 13, 17, 20, 1, 3, 4, 7, 8, 9, 12, 14, 15, 7, 9, 2, 3, 13, 17, 20, 2, 3, 4, 8, 10, 13, 17, 20, 2, 3, 8, 13, 17, 2, 6, 8, 9, 10, 11, 12, 14, 19, 20, 2, 4, 6, 9, 10, 12, 19, 8, 15, 20, 1, 2, 3, 4, 6, 7, 9, 11, 12, 13, 14, 15, 19, 2, 6, 9, 10, 11, 12, 13, 19, 13, 15, 1, 15, 2, 10, 11, 13, 1, 2, 4, 5, 7, 9, 10, 12, 17, 18, 20, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 18, 19, 20, 13, 6, 8, 11, 20, 16, 20, 5, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 15, 17, 6, 12, 17, 19, 4, 6, 11, 14, 15, 16, 18, 19, 20, 13, 10, 12, 6, 8, 12, 19, 20, 10, 14, 15, 18, 13, 7, 14, 2, 3, 4, 5, 6, 7, 9, 10, 12, 14, 15, 16, 18, 19, 4, 5, 7, 9, 12, 17, 1, 2, 3, 6, 8, 9, 10, 11, 13, 15, 1, 2, 3, 4, 5, 7, 10, 13, 17, 20, 1, 2, 3, 6, 7, 8, 10, 11, 13, 14, 18, 19, 20, 2, 4, 5, 8, 9, 10, 11, 12, 13, 16, 20, 19, 20, 9, 15, 16, 1, 6, 8, 10, 5, 8, 14, 15, 16, 17, 19, 18, 14, 16, 17, 5, 1, 2, 6, 9, 10, 12, 13, 15, 17, 18, 11, 17, 2, 7, 13, 17, 1, 6, 11, 14, 19, 1, 3, 5, 7, 8, 11, 13, 15, 18, 3, 5, 11, 15, 15, 17, 19, 8, 12, 16, 13, 3, 4, 9, 11, 12, 14, 15, 20, 11, 15, 20, 13, 1, 2, 3, 4, 5, 6, 9, 12, 13, 17, 1, 4, 6, 8, 9, 12, 14, 16, 18, 6, 10, 11, 19, 10, 18, 10, 16, 18, 20, 12, 19, 18, 1, 6, 8, 14, 15, 16, 18, 19, 2, 4, 5, 6, 9, 10, 11, 15, 17, 20, 20, 9, 12, 14, 15, 16, 19, 11, 17, 18, 15, 1, 2, 3, 4, 5, 6, 8, 9, 12, 13, 20, 2, 3, 5, 13, 17, 2, 5, 8, 10, 11, 13, 17, 2, 3, 7, 11, 14, 15, 17, 1, 6, 8, 12, 14, 19, 18, 16, 17, 17, 3, 7, 15, 17, 20, 7, 8, 12, 1, 3, 5, 7, 9, 12, 15, 18, 6, 14, 19, 20, 5, 10, 11, 12, 17, 6, 9, 14, 15, 16, 19, 17, 19, 6, 15, 19, 1, 2, 6, 8, 12, 13, 1, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 17, 18, 19, 1, 6, 8, 14, 1, 9, 12, 14, 15, 16, 18, 19, 5, 12, 17, 7, 14, 18, 14, 16, 1, 6, 14, 16, 20, 1, 3, 9, 13, 14, 10, 12, 14, 16, 18, 3, 4, 7, 12, 14, 19, 3, 7, 9, 15, 6, 8, 14, 16, 19, 5, 14, 16, 5, 12, 20, 1, 4, 5, 6, 8, 10, 11, 12, 13, 17, 17, 3, 11, 14, 15, 16, 2, 4, 5, 8, 9, 10, 12, 15, 19, 1, 3, 10, 14, 16, 18, 19, 17, 2, 3, 4, 5, 7, 12, 13, 15, 20, 5, 8, 9, 10, 12, 17, 18, 19, 1, 6, 14, 16, 10, 12, 4, 6, 9, 11, 14, 15, 16, 18, 19, 11, 20, 17, 2, 5, 10, 17, 20, 17, 1, 7, 12, 15, 19, 15, 17, 19, 20, 17, 1, 2, 3, 4, 5, 8, 11, 12, 17, 1, 2, 4, 5, 6, 7, 8, 9, 11, 15, 16, 17, 18, 19, 20, 2, 4, 6, 11, 12, 14, 17, 18, 19, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 16, 19, 20, 14, 16, 19, 2, 6, 8, 11, 20, 9, 11, 12, 4, 6, 11, 13, 14, 18, 19, 13, 7, 15, 1, 2, 3, 4, 5, 6, 9, 12, 13, 15, 16, 6, 9, 14, 19, 15, 3, 14, 17, 5, 9, 12, 13, 1, 4, 6, 7, 8, 11, 14, 1, 2, 3, 4, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 20, 6, 8, 12, 1, 2, 3, 4, 6, 8, 9, 12, 13, 15, 20, 1, 3, 6, 7, 9, 10, 12, 13, 14, 15, 16, 20, 12, 15, 7, 13, 17, 20, 4, 6, 8, 12, 14, 1, 2, 3, 9, 10, 12, 13, 14, 15, 16, 17, 15, 16, 7, 8, 12, 16, 17, 1, 3, 4, 5, 7, 8, 9, 12, 14, 16, 18, 15, 15, 6, 10, 17, 19, 14, 20, 2, 3, 5, 10, 17, 3, 5, 7, 8, 9, 12, 3, 7, 10, 13, 15, 4, 6, 8, 12, 16, 19, 4, 6, 12, 19, 2, 3, 4, 9, 12, 13, 15, 16, 20, 9, 15, 16, 19, 3, 11, 14, 15, 7, 9, 1, 14, 19, 1, 3, 4, 7, 8, 9, 12, 14, 15, 16, 20, 2, 3, 13, 17, 7, 4, 5, 8, 9, 11, 12, 13, 1, 7, 9, 10, 12, 13, 18, 2, 11, 14, 15, 17, 18, 3, 5, 7, 9, 12, 15, 5, 10, 16, 18, 8, 9, 11, 13, 14, 15, 17, 3, 7, 9, 10, 13, 18, 20, 3, 7, 11, 12, 14, 15, 17, 10, 18, 1, 2, 3, 4, 5, 7, 11, 13, 15, 17, 16, 1, 4, 6, 7, 8, 12, 14, 1, 6, 7, 8, 11, 12, 15, 16, 18, 20, 10, 14, 18, 19, 7, 11, 13, 20, 6, 8, 12, 15, 19, 2, 4, 6, 9, 12, 14, 15, 16, 19, 1, 4, 6, 7, 8, 9, 11, 12, 15, 16, 1, 2, 4, 6, 8, 9, 10, 12, 13, 16, 19, 20, 2, 4, 5, 6, 9, 12, 14, 15, 16, 19, 1, 2, 3, 4, 5, 6, 9, 11, 12, 15, 19, 20, 14, 15, 20, 2, 14, 15, 16, 17, 19, 20, 13, 15, 17, 19, 5, 9, 11, 15, 12, 20, 1, 3, 6, 11, 16, 2, 3, 5, 13, 17, 6, 13, 16, 17, 19, 14, 14, 12, 12, 6, 19, 1, 2, 4, 5, 6, 8, 10, 11, 13, 14, 16, 19, 6, 19, 6, 19, 1, 2, 3, 4, 5, 7, 9, 11, 12, 13, 14, 15, 17, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 19, 9, 15, 17, 20, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 15, 16, 19, 20, 1, 3, 4, 5, 7, 8, 9, 12, 13, 20, 1, 4, 7, 9, 11, 13, 14, 15, 1, 2, 3, 5, 6, 8, 9, 12, 13, 4, 5, 9, 12, 15, 17, 19, 1, 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 17, 20, 2, 4, 5, 6, 9, 12, 16, 19, 20, 4, 9, 12, 14, 1, 4, 5, 6, 7, 8, 12, 14, 17, 19, 20, 5, 1, 3, 9, 14, 15, 16, 18, 19, 16, 6, 15, 17, 19, 4, 9, 14, 15, 16, 17, 19, 15, 7, 14, 1, 6, 14, 16, 19, 4, 8, 9, 10, 13, 16, 18, 14, 15, 2, 3, 4, 8, 12, 13, 15, 1, 2, 3, 6, 7, 8, 10, 11, 13, 18, 4, 6, 7, 8, 10, 12, 20, 1, 2, 4, 5, 6, 7, 8, 10, 11, 12, 13, 18, 3, 7, 9, 11, 12, 14, 15, 16, 20, 15, 19, 6, 17, 18, 10, 16, 18, 1, 8, 10, 18, 1, 2, 3, 5, 6, 8, 10, 11, 13, 15, 1, 2, 3, 5, 15, 18, 19, 1, 2, 3, 6, 7, 8, 9, 10, 11, 13, 15, 13, 17, 10, 16, 18, 2, 3, 15, 18, 19, 1, 2, 3, 5, 11, 13, 17, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 17, 19, 12, 3, 9, 10, 12, 18, 20, 12, 6, 17, 19, 20, 2, 3, 7, 10, 11, 12, 13, 17, 10, 1, 2, 3, 6, 7, 8, 10, 11, 13, 18, 9, 12, 15, 11, 3, 7, 9, 12, 13, 2, 3, 4, 7, 9, 12, 13, 14, 15, 17, 18, 2, 3, 4, 7, 13, 15, 16, 17, 1, 7, 8, 9, 11, 15, 18, 14, 16, 1, 8, 10, 14, 18, 20, 4, 10, 12, 15, 1, 3, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 19, 1, 6, 8, 12, 13, 1, 3, 4, 6, 8, 12, 14, 2, 13, 17, 8, 12, 17, 18, 10, 12, 18, 16, 18, 8, 10, 11, 12, 20, 10, 15, 16, 18, 3, 10, 18, 2, 4, 5, 9, 10, 12, 17, 20, 2, 3, 4, 5, 7, 9, 13, 15, 17, 1, 6, 8, 14, 19, 1, 2, 3, 4, 5, 7, 14, 17, 18, 19, 1, 4, 5, 7, 8, 9, 12, 15, 17, 18, 2, 5, 6, 8, 9, 10, 11, 13, 17, 20, 20, 10, 11, 12, 17, 19, 20, 2, 5, 6, 10, 12, 14, 17, 18, 19, 20, 15, 20, 4, 5, 12, 17, 1, 3, 6, 9, 14, 15, 16, 19, 1, 3, 5, 7, 15, 19, 2, 3, 4, 7, 9, 10, 12, 13, 15, 16, 19, 1, 2, 3, 5, 6, 9, 12, 16, 17, 17, 1, 6, 8, 14, 19, 2, 3, 17, 18, 2, 3, 5, 17, 20, 10, 13, 2, 3, 17, 3, 8, 12, 12, 1, 3, 7, 8, 9, 10, 12, 13, 16, 20, 1, 6, 12, 16, 2, 4, 5, 6, 8, 9, 12, 13, 15, 16, 19, 11, 15, 17, 19, 20, 19, 5, 17, 2, 10, 13, 14, 17, 18, 1, 18, 1, 6, 14, 19, 15, 1, 14, 16, 12, 14, 15, 16, 18, 19, 16, 19, 14, 16, 15, 17, 18, 1, 6, 8, 12, 18, 19, 8, 14, 16, 19, 3, 9, 13, 15, 20, 6, 14, 19, 20, 17, 2, 9, 10, 11, 12, 13, 17, 17, 17, 15, 1, 16, 17, 4, 12, 19, 4, 17, 20, 2, 3, 4, 5, 6, 7, 9, 12, 14, 15, 16, 17, 20, 3, 7, 9, 17, 1, 2, 3, 5, 8, 13, 20, 15, 17, 1, 3, 4, 6, 7, 8, 10, 12, 14, 15, 16, 19, 20, 13, 1, 6, 8, 9, 11, 12, 14, 2, 17, 15, 1, 6, 8, 12, 17, 2, 3, 15, 19, 8, 12, 15, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 1, 3, 4, 7, 12, 16, 8, 13, 17, 1, 3, 4, 6, 7, 8, 9, 12, 13, 15, 19, 1, 6, 8, 14, 16, 3, 1, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 19, 20, 1, 9, 14, 15, 16, 15, 8, 12, 16, 14, 19, 1, 4, 7, 9, 12, 13, 1, 7, 13, 1, 6, 14, 15, 16, 18, 19, 20, 9, 12, 14, 15, 16, 19, 12, 19, 14, 10, 17, 20, 3, 18, 1, 3, 8, 9, 11, 18, 5, 6, 8, 11, 12, 13, 14, 16, 17, 18, 19, 15, 18, 4, 8, 10, 11, 16, 17, 18, 20, 10, 4, 8, 9, 12, 16, 2, 5, 17, 2, 4, 5, 6, 8, 9, 12, 13, 15, 16, 18, 19, 12, 11, 15, 3, 4, 7, 9, 12, 13, 14, 15, 16, 17, 3, 17, 20, 16, 17, 10, 18, 8, 9, 10, 11, 12, 17, 19, 2, 4, 5, 9, 12, 15, 19, 20, 3, 4, 7, 9, 11, 13, 14, 15, 3, 7, 10, 12, 14, 8, 9, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 20, 13, 6, 8, 19, 20, 1, 2, 3, 4, 5, 8, 9, 11, 12, 13, 17, 20, 7, 10, 12, 18, 19, 17, 1, 3, 6, 12, 13, 4, 5, 6, 8, 12, 19, 14, 13, 1, 14, 16, 7, 8, 10, 13, 18, 14, 14, 1, 3, 7, 8, 10, 15, 18, 17, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 13, 20, 14, 15, 18, 2, 3, 4, 7, 9, 11, 12, 14, 15, 17, 3, 11, 12, 14, 15, 16, 2, 3, 13, 17, 1, 11, 20, 4, 11, 14, 15, 19, 1, 2, 4, 5, 6, 7, 8, 10, 11, 13, 20, 14, 1, 3, 6, 7, 8, 10, 11, 13, 16, 3, 4, 5, 7, 12, 13, 16, 17, 3, 4, 7, 9, 10, 11, 12, 14, 15, 16, 17, 2, 3, 8, 11, 13, 17, 15, 14, 15, 16, 20, 1, 7, 1, 7, 8, 4, 5, 6, 9, 16, 17, 3, 4, 7, 9, 12, 14, 15, 16, 17, 18, 2, 3, 10, 14, 15, 16, 17, 18, 20, 11, 14, 16, 19, 15, 5, 6, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 1, 9, 11, 12, 2, 7, 8, 10, 18, 1, 9, 11, 12, 13, 6, 8, 14, 19, 1, 2, 3, 5, 9, 13, 17, 17, 20, 6, 17, 19, 2, 4, 5, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20, 3, 7, 4, 12, 1, 2, 3, 4, 5, 7, 9, 10, 12, 15, 17, 18, 19, 15, 6, 8, 10, 17, 20, 7, 10, 13, 16, 17, 18, 4, 5, 14, 19, 2, 5, 17, 1, 3, 6, 8, 9, 10, 12, 16, 1, 2, 4, 5, 7, 8, 9, 11, 12, 13, 14, 17, 19, 2, 3, 4, 5, 8, 11, 13, 15, 14, 7, 14, 9, 11, 12, 14, 17, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 16, 18, 19, 20, 4, 5, 6, 8, 12, 19, 20, 5, 7, 9, 12, 2, 3, 4, 14, 15, 16, 3, 5, 7, 9, 10, 12, 13, 17, 18, 20, 1, 3, 7, 10, 13, 18, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 17, 18, 20, 1, 2, 3, 6, 8, 9, 11, 12, 14, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 16, 17, 1, 2, 3, 4, 5, 6, 9, 12, 13, 17, 1, 2, 3, 6, 9, 10, 11, 12, 13, 16, 20, 20, 2, 4, 5, 11, 12, 13, 17, 20, 17, 6, 14, 19, 4, 5, 7, 8, 9, 11, 12, 14, 17, 20, 15, 3, 14, 15, 17, 1, 15, 15, 15, 6, 8, 11, 14, 19, 9, 13, 15, 13, 15, 16, 1, 2, 3, 4, 5, 6, 7, 12, 13, 15, 16, 17, 19, 5, 1, 2, 3, 6, 12, 13, 15, 20, 1, 3, 4, 7, 14, 15, 16, 17, 16, 18, 2, 5, 6, 9, 13, 15, 16, 17, 18, 19, 5, 2, 3, 13, 15, 13, 17, 2, 3, 8, 9, 10, 11, 13, 17, 17, 6, 19, 15, 6, 10, 15, 18, 19, 1, 3, 4, 5, 7, 10, 14, 15, 17, 20, 1, 2, 3, 4, 5, 6, 7, 10, 13, 14, 16, 19, 14, 16, 5, 19, 2, 9, 10, 12, 13, 16, 17, 19, 11, 12, 13, 15, 16, 18, 19, 20, 2, 3, 4, 5, 7, 9, 12, 13, 15, 17, 20, 2, 5, 6, 10, 17, 19, 20, 17, 1, 2, 4, 5, 6, 8, 9, 10, 13, 18, 20, 3, 11, 14, 15, 19, 10, 18, 18, 17, 17, 1, 2, 4, 5, 6, 7, 8, 10, 11, 14, 1, 13, 2, 5, 9, 12, 13, 15, 1, 6, 8, 19, 20, 2, 3, 9, 6, 8, 12, 1, 4, 6, 7, 8, 10, 11, 13, 14, 20, 12, 1, 2, 3, 4, 5, 6, 7, 8, 15, 16, 18, 19, 20, 17, 18, 1, 4, 6, 7, 8, 20, 6, 17, 17, 3, 4, 7, 12, 13, 3, 17, 15, 18, 6, 10, 13, 18, 19, 20, 10, 17, 17, 5, 12, 17, 1, 16, 6, 16, 6, 12, 17, 20, 8, 9, 12, 14, 13, 15, 9, 10, 12, 18, 14, 1, 4, 7, 8, 12, 14, 16, 18, 19, 9, 13, 15, 15, 1, 4, 7, 8, 9, 10, 12, 18, 5, 12, 17, 17, 19, 12, 14, 16, 18, 4, 6, 16, 1, 3, 7, 8, 10, 12, 16, 18, 15, 1, 2, 4, 5, 6, 8, 12, 19, 1, 4, 5, 6, 8, 4, 8, 10, 12, 17, 16, 11, 12, 17, 20, 2, 4, 6, 9, 14, 15, 16, 17, 18, 19, 20, 1, 3, 5, 6, 8, 10, 11, 14, 3, 7, 4, 7, 12, 15, 18, 5, 10, 12, 17, 5, 12, 17, 8, 11, 12, 19, 20, 2, 7, 8, 9, 11, 12, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 20, 10, 12, 16, 2, 3, 15, 18, 19, 6, 14, 16, 3, 7, 14, 16, 6, 14, 16, 19, 3, 4, 7, 11, 14, 15, 16, 17, 19, 20, 1, 6, 8, 11, 12, 14, 3, 4, 7, 12, 13, 14, 16, 17, 20, 1, 2, 4, 6, 8, 10, 11, 12, 18, 20, 1, 2, 3, 5, 7, 8, 9, 10, 11, 12, 13, 18, 20, 1, 3, 5, 7, 9, 10, 11, 12, 13, 14, 15, 17, 15, 16, 9, 1, 2, 5, 11, 14, 15, 17, 19, 10, 12, 2, 4, 11, 12, 16, 18, 1, 15, 16, 20, 7, 8, 10, 12, 14, 19, 17, 2, 3, 7, 14, 15, 1, 3, 5, 7, 9, 10, 11, 12, 13, 15, 16, 17, 18, 3, 5, 9, 11, 14, 15, 16, 17, 20, 3, 4, 7, 9, 11, 12, 14, 15, 17, 18, 19, 15, 17, 13, 1, 4, 5, 7, 8, 16, 14, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 14, 16, 17, 18, 20, 4, 6, 8, 10, 11, 12, 19, 14, 15, 17, 18, 1, 3, 7, 11, 13, 14, 15, 17, 15, 4, 5, 7, 9, 11, 12, 15, 11, 16, 14, 15, 6, 17, 7, 14, 4, 9, 12, 14, 15, 20, 2, 5, 6, 8, 10, 11, 13, 17, 14, 15, 17, 3, 9, 11, 13, 14, 15, 17, 19, 8, 1, 3, 6, 8, 9, 10, 16, 3, 7, 3, 13, 18, 14, 16, 19, 1, 12, 5, 7, 10, 13, 8, 14, 2, 5, 6, 10, 11, 12, 17, 19, 20, 14, 16, 3, 5, 7, 9, 10, 15, 17, 4, 8, 10, 13, 4, 5, 9, 12, 14, 15, 13, 6, 8, 14, 16, 19, 8, 10, 12, 2, 4, 9, 15, 1, 2, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17, 18, 19, 4, 6, 8, 12, 14, 16, 4, 6, 8, 14, 16, 1, 2, 7, 8, 10, 11, 15, 18, 20, 2, 4, 5, 6, 8, 10, 17, 19, 20, 17, 9, 15, 16, 20, 13, 14, 3, 4, 5, 7, 11, 12, 19, 1, 15, 16, 19, 10, 17, 1, 2, 4, 5, 6, 8, 9, 12, 16, 17, 2, 5, 8, 10, 12, 17, 20, 9, 15, 17, 1, 6, 8, 14, 16, 18, 19, 18, 1, 2, 3, 4, 5, 7, 9, 11, 14, 16, 17, 18, 20, 1, 2, 3, 4, 5, 7, 9, 10, 12, 13, 14, 17, 18, 19, 20, 1, 2, 3, 4, 5, 6, 7, 12, 13, 17, 20, 7, 11, 1, 7, 8, 9, 10, 12, 13, 14, 17, 18, 2, 10, 14, 17, 18, 20, 16, 3, 4, 7, 12, 13, 14, 10, 12, 16, 4, 5, 12, 18, 20, 13, 4, 7, 10, 12, 13, 14, 18, 1, 6, 8, 11, 14, 16, 19, 3, 6, 16, 19, 20, 12, 1, 6, 7, 8, 7, 10, 2, 4, 6, 7, 9, 12, 15, 18, 1, 4, 8, 12, 7, 6, 14, 16, 17, 19, 4, 7, 8, 12, 14, 1, 2, 3, 5, 8, 9, 10, 11, 12, 13, 17, 20, 4, 5, 7, 8, 9, 10, 12, 16, 18, 3, 13, 15, 16, 14, 19, 9, 10, 15, 16, 17, 18, 19, 16, 16, 6, 8, 10, 12, 20, 3, 4, 7, 9, 12, 15, 16, 20, 17, 17, 15, 17, 14, 1, 2, 3, 5, 8, 9, 10, 13, 15, 13, 17, 20, 15, 1, 2, 3, 5, 13, 15, 17, 20, 2, 3, 5, 7, 8, 10, 11, 13, 18, 11, 1, 3, 4, 7, 8, 9, 12, 14, 15, 16, 17, 18, 1, 2, 3, 5, 6, 9, 12, 13, 15, 17, 20, 9, 15, 16, 15, 18, 14, 16, 20, 10, 18, 19, 13, 1, 2, 3, 4, 7, 12, 13, 15, 16, 17, 20, 16, 11, 15, 14, 15, 10, 18, 2, 3, 5, 8, 10, 11, 13, 17, 15, 1, 6, 8, 10, 11, 12, 3, 10, 17, 1, 2, 3, 6, 8, 10, 11, 12, 13, 18, 19, 1, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 18, 1, 8, 11, 3, 9, 11, 12, 14, 15, 16, 17, 18, 14, 15, 16, 3, 14, 16, 2, 5, 9, 10, 12, 13, 17, 18, 19, 20, 16, 20, 9, 14, 15, 20, 12, 12, 10, 18, 2, 16, 14, 15, 16, 15, 16, 4, 11, 12, 20, 4, 7, 9, 10, 12, 13, 20, 5, 4, 6, 8, 12, 14, 16, 19, 10, 1, 3, 4, 6, 7, 8, 11, 13, 14, 15, 16, 17, 19, 13, 1, 2, 3, 4, 5, 7, 10, 11, 16, 17, 18, 20, 1, 3, 6, 9, 14, 15, 16, 19, 12, 14, 15, 18, 19, 20, 1, 2, 3, 4, 5, 7, 10, 12, 13, 17, 10, 18, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 17, 19, 1, 2, 3, 8, 13, 20, 1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 13, 14, 17, 19, 1, 2, 3, 4, 5, 6, 9, 12, 13, 14, 15, 16, 19, 17, 6, 15, 10, 16, 1, 10, 12, 14, 16, 18, 2, 4, 5, 7, 9, 10, 11, 12, 15, 17, 13, 13, 17, 2, 4, 5, 12, 17, 20, 2, 3, 15, 17, 19, 7, 16, 18, 7, 14, 15, 19, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 19, 1, 4, 6, 7, 8, 9, 11, 7, 12, 13, 14, 15, 19, 2, 5, 6, 12, 17, 19, 20, 6, 17, 1, 2, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 1, 3, 7, 15, 16, 1, 10, 18, 11, 1, 3, 9, 10, 11, 12, 13, 1, 3, 4, 5, 7, 9, 10, 13, 14, 15, 16, 18, 1, 2, 3, 4, 5, 6, 7, 11, 12, 13, 15, 6, 8, 12, 1, 4, 6, 8, 12, 16, 17, 19, 20, 2, 4, 5, 6, 9, 10, 11, 12, 17, 19, 8, 9, 12, 15, 9, 4, 8, 11, 12, 18, 19, 9, 11, 1, 6, 11, 12, 11, 12, 8, 12, 14, 6, 8, 12, 2, 11, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 19, 20, 1, 2, 4, 5, 6, 7, 8, 11, 12, 16, 19, 11, 15, 19, 11, 1, 4, 6, 8, 10, 14, 16, 9, 10, 11, 12, 10, 18, 15, 16, 14, 19, 20, 2, 4, 6, 8, 9, 12, 13, 19, 20, 1, 8, 12, 15, 12, 13, 13, 13, 1, 3, 4, 5, 6, 7, 9, 10, 12, 14, 17, 18, 20, 10, 12, 18, 14, 18, 1, 3, 6, 11, 12, 14, 15, 16, 18, 19, 20, 17, 11, 12, 1, 3, 14, 15, 16, 19, 20, 1, 2, 3, 4, 5, 7, 9, 10, 12, 15, 17, 18, 19, 1, 2, 6, 9, 12, 14, 15, 16, 18, 19, 19, 1, 7, 8, 10, 11, 13, 18, 8, 9, 10, 12, 13, 16, 18, 20, 1, 2, 4, 5, 6, 7, 8, 10, 11, 13, 14, 15, 16, 18, 19, 4, 5, 9, 12, 1, 7, 8, 10, 12, 13, 18, 20, 13, 13, 17, 11, 19, 6, 8, 11, 14, 15, 16, 18, 19, 2, 3, 5, 6, 9, 12, 15, 16, 17, 19, 20, 2, 3, 15, 19, 1, 2, 3, 6, 8, 10, 11, 12, 13, 15, 16, 18, 4, 6, 12, 16, 17, 1, 2, 3, 5, 6, 9, 10, 11, 12, 13, 15, 16, 14, 15, 16, 1, 3, 11, 13, 15, 9, 12, 15, 16, 18, 20, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 14, 18, 19, 20, 20, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 14, 16, 18, 20, 11, 8, 10, 11, 12, 17, 10, 20, 2, 3, 5, 7, 10, 13, 17, 1, 4, 9, 11, 12, 17, 14, 16, 1, 2, 4, 5, 7, 8, 9, 10, 11, 13, 18, 17, 1, 5, 6, 7, 8, 10, 12, 16, 19, 20, 20, 3, 4, 7, 14, 15, 16, 1, 2, 3, 4, 5, 7, 12, 13, 15, 2, 5, 15, 1, 2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 17, 13, 13, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 17, 20, 20, 15, 16, 20, 1, 9, 12, 14, 15, 16, 1, 2, 3, 5, 6, 8, 10, 11, 12, 13, 19, 16, 1, 4, 6, 8, 12, 13, 19, 2, 4, 5, 8, 9, 12, 15, 16, 19, 5, 2, 3, 5, 9, 10, 11, 12, 13, 15, 17, 20, 13, 2, 5, 12, 4, 13, 2, 4, 5, 9, 10, 12, 13, 15, 19, 7, 8, 10, 12, 17, 20, 6, 8, 10, 6, 8, 9, 10, 12, 6, 8, 12, 1, 2, 3, 9, 13, 17, 3, 9, 15, 16, 9, 12, 18, 20, 16, 1, 2, 3, 4, 5, 7, 12, 13, 14, 15, 16, 1, 3, 15, 18, 19, 2, 5, 10, 17, 1, 2, 3, 9, 13, 15, 16, 1, 9, 12, 14, 15, 16, 18, 1, 2, 3, 4, 6, 7, 8, 10, 13, 17, 18, 20, 2, 17, 19, 2, 5, 8, 9, 10, 11, 12, 13, 17, 20, 2, 3, 13, 15, 17, 7, 14, 2, 3, 4, 5, 7, 13, 17, 19, 8, 10, 12, 15, 17, 2, 3, 4, 5, 9, 10, 11, 13, 17, 11, 12, 10, 15, 16, 17, 18, 5, 20, 14, 18, 6, 8, 11, 12, 20, 1, 4, 6, 8, 9, 12, 16, 9, 15, 16, 17, 20, 2, 10, 14, 18, 19, 13, 19, 16, 19, 1, 2, 3, 7, 13, 15, 19, 1, 3, 4, 6, 7, 8, 9, 12, 14, 11, 12, 15, 16, 2, 5, 11, 17, 2, 3, 5, 8, 9, 10, 11, 17, 18, 12, 11, 12, 2, 3, 13, 17, 1, 2, 3, 6, 10, 11, 13, 17, 2, 3, 6, 15, 19, 2, 3, 15, 17, 19, 20, 9, 15, 18, 2, 3, 4, 5, 9, 10, 11, 13, 17, 20, 2, 3, 4, 5, 6, 9, 11, 13, 17, 1, 2, 3, 5, 11, 13, 17, 20, 15, 1, 2, 3, 4, 5, 6, 9, 12, 13, 2, 3, 5, 10, 11, 17, 20, 1, 3, 6, 10, 11, 16, 20, 18, 1, 2, 3, 4, 5, 8, 10, 11, 13, 15, 19, 20, 1, 2, 3, 5, 8, 9, 10, 11, 13, 15, 17, 3, 15, 17, 3, 4, 7, 9, 14, 15, 16, 17, 20, 17, 1, 2, 3, 5, 9, 11, 13, 1, 2, 3, 4, 9, 12, 13, 15, 17, 15, 16, 18, 1, 6, 8, 16, 18, 19, 16, 14, 15, 16, 16, 1, 2, 4, 5, 6, 9, 10, 14, 15, 16, 18, 19, 16, 6, 9, 14, 15, 16, 18, 19, 6, 9, 13, 14, 15, 16, 18, 19, 16, 6, 15, 16, 15, 16, 17, 2, 3, 8, 9, 14, 15, 16, 18, 19, 14, 10, 16, 20, 1, 3, 4, 5, 6, 7, 12, 14, 15, 16, 17, 19, 1, 12, 13, 17, 5, 12, 17, 1, 3, 9, 12, 13, 15, 16, 18, 19, 13, 1, 2, 3, 11, 13, 17, 1, 2, 3, 5, 6, 7, 9, 10, 11, 12, 13, 18, 15, 2, 3, 5, 9, 13, 15, 1, 4, 6, 8, 10, 12, 17, 14, 20, 2, 4, 6, 8, 9, 10, 11, 12, 13, 17, 19, 20, 20, 16 ], | |
"Freq": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.017212, 0.057659, 0.91193, 0.013196, 1, 1, 0.051746, 0.948, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.029555, 0.026005, 0.53569, 0.020603, 0.044679, 0.32942, 0.013967, 1, 1, 1, 1, 0.3984, 0.0093874, 0.074937, 0.45888, 0.00022738, 0.0025661, 0.055545, 3.2482e-05, 1, 0.73502, 0.054097, 0.02775, 0.13805, 0.045081, 1, 1, 1, 1, 0.07139, 0.8776, 0.014948, 0.028447, 0.0063417, 0.0012683, 1, 0.13097, 0.019526, 0.84948, 0.98155, 0.01807, 0.00038447, 0.973, 0.011524, 0.015479, 1, 1, 0.094431, 0.051453, 0.85351, 1, 0.042987, 0.72167, 0.13143, 0.083602, 0.020307, 0.80851, 0.19149, 1, 0.038095, 0.69577, 0.26614, 1, 1, 1, 1, 0.61117, 0.035656, 0.29623, 0.056941, 1, 1, 0.21121, 0.00010228, 0.068324, 0.65961, 0.0081825, 0.015956, 0.008387, 0.02823, 1, 0.00089566, 0.15629, 0.77004, 0.072772, 0.1681, 0.80744, 0.01589, 0.008363, 0.00038617, 0.99537, 0.0042479, 1, 1, 1, 0.1418, 0.74703, 0.11117, 1, 1, 1, 1, 1, 1, 1, 1, 0.97964, 0.020356, 0.038791, 0.13244, 0.0093232, 0.069591, 0.50404, 0.017564, 0.16399, 0.0068259, 0.057438, 1, 1, 0.15603, 0.029289, 0.69985, 0.041076, 0.073759, 0.97245, 0.0275, 5.2282e-05, 1, 1, 1, 0.27666, 0.29593, 0.42016, 0.0013571, 0.0059325, 1, 1, 1, 1, 1, 1, 1, 1, 0.67157, 0.02451, 0.30392, 1, 1, 1, 0.15495, 0.18618, 0.31567, 0.26988, 0.072577, 0.00068684, 0.99907, 0.00092937, 1, 0.14541, 0.51694, 0.085929, 0.0027279, 0.24256, 0.0063651, 1, 1, 1, 1, 1, 1, 0.94178, 0.039989, 0.018087, 0.0017385, 0.0065675, 0.02627, 0.94476, 0.020668, 0.27094, 0.014966, 0.18175, 0.42302, 0.10924, 1, 1, 1, 0.17381, 0.031942, 0.031054, 0.65007, 0.072682, 0.040445, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.49044, 0.1004, 0.01022, 0.014044, 0.38483, 0.043937, 0.042726, 0.71796, 8.649e-05, 0.19521, 1, 1, 0.012269, 0.015247, 0.97248, 1, 1, 0.5877, 0.093288, 0.08128, 0.068855, 0.16485, 0.0040258, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.12413, 0.13624, 0.41626, 0.090652, 0.13802, 0.04182, 0.0039077, 0.048943, 1, 0.31598, 0.051019, 0.015542, 0.066502, 0.04922, 0.32736, 0.051373, 0.027648, 0.055782, 0.013654, 0.0098794, 0.01389, 0.0021381, 1, 1, 0.052097, 0.08558, 0.00017025, 0.54934, 0.040179, 0.21548, 0.034618, 0.019011, 0.0035185, 1, 0.022296, 0.031937, 0.94577, 1, 0.23861, 0.76139, 1, 1, 1, 1, 1, 0.043403, 0.95625, 1, 1, 1, 1, 1, 1, 1, 0.32667, 0.40239, 0.097448, 0.010388, 0.16311, 1, 1, 1, 1, 1, 1, 1, 0.99587, 0.0041274, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.014686, 0.76137, 0.053668, 0.084529, 0.076949, 0.0087304, 1, 1, 1, 1, 1, 1, 1, 0.10489, 0.074394, 0.052902, 0.56319, 0.0051433, 0.19949, 1, 1, 0.55429, 0.0057143, 0.34857, 0.091429, 0.87603, 0.042756, 0.081094, 1, 1, 0.14909, 0.096347, 0.73509, 0.015281, 0.0013045, 0.0028886, 0.46926, 0.021143, 0.053276, 0.01149, 0.37211, 0.028815, 0.034488, 0.0056202, 0.0038003, 1, 0.689, 0.052936, 0.041356, 0.14806, 0.068652, 1, 1, 1, 1, 1, 1, 0.76047, 0.053406, 0.14908, 0.023697, 0.00030947, 0.012998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.00011955, 0.89671, 0.10317, 1, 1, 1, 1, 0.97187, 0.027692, 1, 0.94624, 0.028427, 0.025331, 0.13939, 0.078098, 0.61222, 0.16316, 0.0071307, 0.94806, 0.051745, 3.5959e-05, 0.00016182, 1, 0.053997, 0.12842, 0.13348, 0.67584, 0.0038403, 0.0044222, 1, 0.062376, 0.92435, 0.01305, 1, 1, 1, 1, 1, 1, 1, 0.24192, 0.0093294, 0.079711, 0.12357, 0.30087, 0.024028, 0.12622, 0.052964, 0.023832, 8.3672e-05, 0.0054247, 0.0041417, 0.0066519, 0.0012551, 1, 1, 1, 1, 1, 1, 0.1344, 0.64617, 0.0010676, 0.028575, 0.18947, 6.2802e-05, 0.00018841, 6.2802e-05, 1, 1, 1, 1, 1, 0.10518, 0.00031397, 0.0427, 0.754, 0.097645, 1, 1, 1, 1, 0.54656, 0.081514, 0.067238, 0.041632, 0.07304, 0.039422, 0.030395, 0.023303, 0.070277, 0.01925, 0.0073685, 1, 0.25872, 0.03005, 0.1818, 0.51582, 0.012232, 0.0013525, 1, 0.082552, 0.020706, 0.015326, 0.0027988, 0.36896, 0.085568, 0.065678, 0.31787, 0.028342, 0.010434, 0.0017663, 0.94286, 0.057143, 0.10055, 1.0085e-05, 0.25084, 0.10052, 0.074706, 0.048789, 0.35657, 0.003106, 0.027884, 0.011819, 0.025181, 1, 1, 1, 0.16594, 0.83377, 1, 1, 1, 1, 1, 1, 1, 0.010894, 0.030992, 0.012021, 0.039444, 0.88824, 0.018407, 1, 0.27671, 0.056199, 0.11059, 0.057465, 0.47914, 0.0065726, 0.0056681, 0.0077183, 0.11604, 0.84467, 0.036436, 0.0028189, 4.2073e-05, 1, 1, 1, 1, 1, 0.041026, 0.86957, 0.089409, 1, 0.014702, 0.025307, 0.95999, 0.32774, 0.01064, 0.0095859, 0.65203, 0.0029412, 0.99706, 1, 0.94293, 0.056995, 1, 1, 1, 1, 0.19574, 0.68178, 0.087209, 0.035271, 1, 0.74424, 0.25259, 3.7266e-05, 0.0031304, 0.21892, 0.013631, 0.10404, 0.58373, 0.02127, 0.022488, 0.035888, 3.2925e-05, 0.00016875, 0.99983, 0.085321, 0.51563, 0.24299, 0.10215, 0.036047, 0.014168, 0.0036987, 1, 0.69404, 0.0043605, 0.075824, 0.12548, 0.065649, 0.02907, 0.0055717, 1, 1, 1, 1, 0.037824, 0.04855, 0.27359, 0.18907, 0.29729, 0.0050779, 0.030988, 0.03666, 0.059424, 0.013871, 0.00089173, 0.0013624, 0.001511, 0.00076788, 0.0030963, 1, 1, 1, 1, 1, 1, 0.00016231, 0.92485, 0.074826, 0.0087489, 0.16433, 0.12496, 0.029892, 0.67192, 0.00014582, 1, 1, 1, 1, 0.014486, 0.17848, 0.46164, 0.083546, 0.039632, 0.18477, 0.026603, 0.0030977, 0.0076531, 1, 1, 1, 0.20261, 0.1217, 0.005165, 0.0097202, 0.15771, 0.15934, 0.075984, 0.079909, 0.088604, 0.099272, 1, 0.294, 0.050851, 0.16527, 0.21031, 0.17265, 0.0046872, 0.017588, 0.029483, 0.04758, 0.0066414, 0.00092045, 1, 0.12903, 0.14026, 0.1978, 0.015682, 0.35381, 0.056396, 0.038884, 0.013953, 0.0072279, 0.0073385, 0.013541, 0.0020709, 0.024006, 1, 0.11258, 0.68553, 0.10692, 0.094969, 0.14041, 0.14348, 0.028749, 0.11554, 0.17271, 0.058618, 0.079022, 0.038561, 0.16463, 0.032714, 0.0052551, 0.0049153, 0.012128, 0.0018188, 0.0014475, 0.065068, 0.93493, 1, 1, 0.94061, 0.041753, 0.01154, 0.0060944, 1, 1, 0.99808, 0.0019231, 0.83444, 0.16556, 1, 1, 1, 1, 0.081427, 0.66538, 0.021871, 0.077557, 0.1536, 1, 1, 1, 0.0016639, 0.14642, 0.032612, 0.80932, 0.00033278, 0.0096506, 1, 0.12519, 0.032082, 0.02363, 0.46999, 0.013902, 0.021009, 0.005968, 0.019077, 0.01511, 0.27398, 0.071672, 0.92833, 0.099082, 0.043227, 0.014265, 0.0014653, 0.44012, 0.02323, 8.6196e-05, 0.034435, 0.014696, 0.028445, 0.023962, 0.27699, 1, 1, 1, 1, 1, 1, 1, 1, 0.15928, 0.052933, 0.023605, 0.003815, 0.034096, 0.056509, 0.66953, 1, 0.2871, 0.076301, 0.11933, 0.37939, 0.031306, 0.015162, 0.01307, 0.062431, 0.015705, 2.583e-05, 0.00018081, 1, 1, 0.00014092, 0.0011274, 0.013106, 0.029171, 0.025085, 0.43588, 0.042418, 0.003805, 0.44913, 1, 0.10041, 0.022298, 0.86167, 0.015481, 0.038333, 0.168, 0.0025154, 0.42018, 0.010876, 0.2897, 0.023206, 0.010168, 0.0068731, 0.03015, 0.97726, 0.022408, 0.17622, 0.65865, 0.065377, 0.095811, 0.0038512, 0.02001, 0.02668, 0.95331, 1, 1, 0.59611, 0.039132, 0.33861, 0.0099351, 0.0032441, 0.0034469, 0.0095296, 1, 0.0042626, 0.058142, 0.071611, 0.028815, 0.014663, 0.7318, 0.02046, 0.070247, 1, 1, 0.019021, 0.093484, 0.83853, 0.048968, 0.046212, 0.77071, 0.18283, 0.2505, 0.50073, 0.08329, 0.023079, 0.016864, 0.12244, 0.002494, 0.0005938, 1, 0.080128, 0.062034, 0.040444, 0.81298, 0.0042573, 1, 1, 1, 0.0014493, 0.99855, 0.14594, 0.00013231, 0.0011908, 0.037047, 0.0099233, 0.021434, 0.78433, 0.023248, 0.0095455, 0.11666, 0.11233, 0.19231, 0.2951, 0.1756, 0.065085, 0.0040521, 0.0024647, 0.0035926, 1, 1, 1, 0.011041, 0.98896, 1, 0.097909, 0.012357, 0.18061, 0.70643, 0.0026933, 1, 1, 1, 0.11292, 0.022731, 0.8642, 1, 0.031938, 0.0011013, 0.026274, 0.0051919, 0.93549, 0.062013, 0.019824, 0.23489, 0.58376, 5.6478e-05, 0.09268, 0.0028804, 0.0039535, 1, 0.006348, 0.00074683, 0.99291, 0.029887, 0.025175, 0.015751, 0.92919, 0.070688, 0.02656, 0.90275, 1, 0.0022355, 0.99776, 1, 0.06227, 0.029222, 0.79655, 0.1035, 9.5653e-05, 0.0046392, 0.0037305, 1, 1, 1, 0.00066489, 0.99934, 0.29535, 0.0661, 0.0007146, 0.16722, 0.015639, 0.32619, 0.016876, 0.020504, 0.035208, 0.053293, 0.0013467, 0.0015391, 1, 1, 1, 1, 0.28133, 0.40719, 0.04957, 0.0074367, 2.4383e-05, 2.4383e-05, 0.2518, 0.0026333, 0.28177, 0.036225, 0.53352, 0.14849, 1, 1, 0.10426, 0.0080547, 0.018997, 0.0034954, 0.8652, 1, 1, 1, 1, 1, 0.89479, 0.10495, 1, 1, 0.83333, 0.16667, 0.017367, 0.1355, 0.15912, 0.47291, 0.17955, 0.0079385, 0.0014763, 0.015111, 0.0077435, 0.0032868, 1, 1, 0.22443, 0.014879, 0.00030998, 0.011159, 0.74923, 0.1979, 0.052158, 0.018779, 0.14882, 0.44471, 0.038141, 0.0063429, 0.0098991, 0.073287, 0.0011854, 0.0087969, 0.33566, 0.035652, 0.23297, 0.25614, 0.066535, 0.07301, 3.8773e-05, 0.9807, 0.0072359, 0.01206, 0.92496, 0.075039, 0.6, 0.325, 0.075, 1, 1, 1, 0.086838, 0.019742, 0.21234, 0.3083, 0.08024, 0.14749, 0.050366, 0.023102, 0.0048572, 0.011177, 0.033966, 0.0094359, 0.0051532, 0.0048224, 1.7409e-05, 0.002124, 1, 1, 0.00054645, 0.99945, 1, 0.17586, 0.78642, 0.016683, 0.016683, 0.0043566, 1, 1, 1, 1, 1, 1, 1, 0.03796, 0.10777, 0.0095725, 0.024592, 0.81812, 0.0019805, 0.14355, 0.1402, 0.013803, 0.59381, 0.093956, 0.0071971, 0.0018732, 0.005521, 1, 0.68421, 0.15789, 0.15789, 1, 0.042249, 0.042844, 0.82922, 0.004463, 0.058614, 0.022315, 1, 1, 1, 0.00035236, 0.99965, 1, 1, 1, 0.62, 0.38, 0.019788, 0.013672, 0.0010793, 0.014031, 0.94549, 0.0059363, 1, 0.059389, 0.93354, 0.0067873, 1, 0.010418, 0.73677, 0.23425, 0.018558, 0.21406, 0.77428, 0.011667, 1, 1, 1, 1, 0.15243, 0.011222, 0.017759, 0.026072, 0.6956, 3.7786e-05, 0.022634, 0.074249, 1, 0.97531, 0.024691, 1, 0.050653, 0.92542, 0.015227, 0.0083903, 1, 1, 1, 0.022602, 0.93546, 0.041939, 1, 1, 0.04844, 0.46895, 0.34101, 1.344e-05, 0.044622, 0.0061423, 1.344e-05, 0.062028, 0.0024058, 0.026276, 9.4083e-05, 1, 0.30412, 0.69588, 0.28864, 0.61295, 0.059642, 0.038569, 9.6665e-05, 1, 0.65666, 0.0044172, 0.021637, 0.19263, 0.12458, 1, 1, 1, 1, 1, 1, 0.081602, 0.71662, 0.066766, 0.13501, 0.31802, 0.064322, 0.58536, 0.03136, 0.0009386, 0.15014, 0.21726, 0.1589, 0.27963, 0.0428, 0.13333, 3.5578e-05, 0.011634, 0.0062736, 0.26103, 0.083718, 0.11735, 0.38522, 0.070066, 0.066614, 0.010465, 0.0053643, 4.397e-05, 0.00013191, 0.02343, 0.97657, 1, 0.00016609, 0.00049826, 0.99618, 0.0031556, 0.32683, 0.033188, 0.013476, 0.068526, 0.049446, 0.22596, 0.12652, 0.013449, 0.023141, 0.025343, 0.008663, 0.006395, 0.0036656, 0.075382, 1, 0.37145, 0.42125, 0.15933, 2.5802e-05, 0.047941, 0.11827, 0.33147, 5.381e-05, 0.21761, 0.00026905, 0.015928, 0.3164, 0.048964, 0.021503, 0.92953, 0.79448, 0.027941, 0.13402, 0.036074, 0.00014969, 0.0072847, 4.9895e-05, 0.2676, 0.45631, 0.072008, 0.20399, 0.45234, 0.40418, 0.017189, 0.08121, 0.0015705, 0.034574, 0.0078091, 0.0011561, 0.40011, 0.049424, 0.10441, 0.39264, 0.014554, 0.02354, 0.0053721, 0.0099466, 0.4468, 0.063794, 0.33326, 0.0065795, 0.13289, 0.016672, 0.48333, 0.071313, 0.29924, 0.018861, 0.023565, 0.055326, 0.011964, 0.036423, 0.0073126, 0.99269, 0.20939, 0.22034, 0.14744, 0.011567, 0.015799, 0.086328, 0.02082, 0.28833, 1, 1, 0.16058, 0.14779, 0.15017, 0.092966, 0.043932, 0.11662, 0.010648, 0.0084549, 0.1808, 0.0065293, 0.047146, 0.017012, 0.0090798, 0.0052795, 0.0029713, 1, 1, 4.579e-05, 0.99995, 0.044175, 0.29529, 0.4327, 0.0072961, 0.01822, 0.19099, 0.010246, 0.0010565, 0.15002, 0.80433, 0.020064, 0.023929, 0.0016106, 0.00010883, 0.94885, 0.051039, 0.13029, 0.0073544, 0.02808, 0.00015731, 0.64081, 0.046761, 0.013765, 0.078185, 0.051245, 0.0033036, 0.90787, 0.00019194, 0.091939, 0.03792, 0.39157, 0.4035, 0.023606, 0.017305, 0.00081298, 0.12233, 0.0029616, 0.86133, 0.13573, 0.0028343, 1, 0.60199, 0.1251, 0.0084226, 9.155e-05, 0.0057676, 0.008331, 0.17266, 0.077589, 0.61682, 0.11094, 0.18133, 0.052573, 0.024235, 0.014101, 1, 0.60611, 0.25924, 0.02985, 2.0417e-05, 0.0049002, 0.0040426, 0.070521, 0.025297, 1, 0.16038, 0.23503, 0.20539, 0.085378, 0.13145, 0.023085, 0.052855, 0.021433, 0.055065, 0.0013742, 0.01339, 0.0021663, 0.0069346, 0.0013663, 0.0041544, 0.00054257, 0.030405, 0.050676, 0.91892, 0.015781, 0.6928, 0.0030626, 0.00011689, 0.07404, 0.027002, 0.05155, 0.064619, 0.06892, 0.0021275, 0.12296, 0.19573, 0.33375, 0.34755, 0.43561, 0.43979, 3.0733e-05, 0.12453, 0.32735, 0.091845, 0.025535, 0.05317, 0.5021, 1, 0.62047, 0.019567, 6.2516e-05, 0.34559, 0.014254, 0.18362, 0.24019, 0.15945, 0.010915, 0.089011, 0.14111, 1.752e-05, 0.049398, 0.021121, 0.083273, 0.0044939, 0.0052561, 0.012133, 0.42693, 0.10412, 0.11035, 0.068161, 1.6556e-05, 0.011424, 0.26561, 0.010132, 0.003245, 1, 0.53082, 0.090019, 0.026514, 0.10456, 0.040562, 0.013415, 0.18156, 0.0038, 0.0087515, 0.6402, 0.10416, 0.18094, 0.053143, 0.019926, 0.0016291, 1, 0.89474, 0.082237, 0.023026, 0.61898, 0.15332, 0.18067, 0.015507, 0.030583, 0.00095089, 0.0061689, 0.53479, 0.12644, 0.033948, 0.14899, 0.047071, 0.0787, 0.01503, 0.0088608, 0.36087, 0.14793, 0.019833, 0.47137, 0.36225, 0.41985, 0.027196, 0.024226, 3.3369e-05, 0.16471, 0.0017018, 0.12388, 0.38225, 0.25019, 0.10544, 0.010089, 0.075406, 0.0049832, 8.9185e-05, 0.03593, 0.0018283, 0.008428, 0.0014939, 0.16065, 0.21727, 0.019122, 0.59452, 0.003173, 0.0052605, 0.58056, 0.20069, 0.021151, 0.00099975, 0.0069358, 0.18966, 1, 0.11407, 0.035125, 0.8508, 0.046727, 0.26467, 0.063833, 0.013099, 6.1645e-05, 0.0076748, 0.36336, 0.054648, 0.088922, 0.087813, 0.0091542, 0.00088284, 0.62753, 0.12826, 0.0055072, 0.23778, 0.1243, 0.30174, 0.21049, 0.020202, 0.28554, 0.024274, 0.0075263, 0.0069507, 0.018858, 0.00010661, 0.0060323, 0.98764, 0.0063242, 0.024533, 0.58674, 0.060085, 0.030871, 0.014421, 0.015524, 0.066957, 0.13447, 0.06402, 0.0023678, 0.12971, 0.00021333, 0.12352, 0.14005, 0.00042667, 0.54432, 0.056107, 0.00032, 0.0052267, 0.99981, 0.00018776, 0.26409, 0.34924, 0.37949, 0.0036264, 0.0035197, 0.36625, 0.39971, 0.031888, 7.4943e-05, 0.018773, 0.17486, 0.0068198, 0.00163, 0.19585, 0.33454, 0.017061, 0.4442, 0.0083106, 0.099747, 0.12004, 0.10288, 0.30065, 0.024756, 0.036451, 0.24595, 8.0376e-05, 0.069445, 4.0188e-05, 0.058101, 0.022566, 0.11697, 0.34458, 0.064037, 0.28217, 0.11153, 0.0027855, 0.22841, 0.7688, 0.24193, 0.21862, 0.26225, 0.04764, 0.055622, 0.018776, 0.074905, 0.054556, 0.0079822, 0.0031849, 0.0033581, 0.001266, 0.0098878, 0.045493, 0.007739, 0.030433, 0.063533, 0.73912, 0.078174, 0.017831, 0.017674, 1, 1, 0.52217, 0.47783, 0.46079, 0.0068903, 0.041569, 0.49069, 0.0091351, 0.00786, 0.26803, 0.55836, 0.071369, 0.016034, 0.028156, 0.028663, 0.00092573, 0.0098687, 0.0015895, 0.1475, 0.20984, 0.11881, 0.10976, 0.078623, 0.065638, 0.03289, 0.15877, 0.019517, 0.020105, 0.024399, 0.00097648, 0.0033562, 0.0081804, 0.0016167, 1, 0.12887, 0.067869, 0.80326, 1, 0.99362, 0.0063818, 1, 0.081881, 0.36682, 0.31259, 0.00074359, 0.058161, 0.025964, 0.053997, 0.00061966, 0.0057132, 0.023336, 0.061767, 0.0050316, 0.0033585, 0.029846, 0.00073153, 0.0080468, 0.96138, 0.079119, 0.27474, 0.033542, 0.086801, 0.013699, 0.013763, 0.012418, 0.48502, 0.00083216, 1, 0.96092, 0.039084, 0.087948, 0.45089, 0.44726, 0.011236, 0.0025867, 0.0010393, 0.018915, 0.0056121, 0.97443, 1, 0.9, 0.1, 0.16435, 0.061697, 0.24138, 0.054335, 0.0044272, 0.16357, 0.19784, 0.0002437, 0.018024, 0.027822, 0.0041835, 0.0022441, 0.0077273, 0.052131, 0.030566, 0.56094, 0.19241, 0.091698, 0.12226, 0.0020713, 0.50052, 0.10967, 0.11291, 0.055937, 0.062375, 0.02775, 0.038878, 0.025543, 0.065042, 0.0014025, 0.10587, 0.38001, 0.36041, 8.4995e-05, 0.067078, 0.018376, 0.0024309, 0.063406, 1.6999e-05, 0.0023119, 0.4944, 0.036243, 0.070875, 0.12843, 0.052074, 0.057555, 0.079136, 0.053875, 0.015639, 0.0030474, 0.0064206, 0.0017249, 0.00057498, 0.18505, 0.20662, 0.065432, 0.16092, 0.04179, 0.06865, 0.0083188, 0.14603, 0.079833, 0.035767, 0.0015892, 0.13743, 0.86257, 0.058267, 0.8942, 0.047278, 0.53485, 0.13201, 0.16393, 0.16921, 0.63345, 0.040016, 0.018808, 0.19368, 0.014006, 0.076431, 0.022809, 1, 0.98963, 0.010366, 1, 1, 0.016781, 0.78563, 0.032252, 0.056239, 0.0071054, 0.037392, 0.036636, 0.0049385, 0.018847, 0.0041826, 1, 1, 0.00039825, 0.087614, 0.9088, 0.003186, 0.01996, 0.23611, 0.016051, 0.22081, 0.50707, 0.51286, 0.096735, 0.00040816, 0.13163, 0.070816, 0.16551, 0.004898, 0.015918, 0.0012245, 0.71676, 0.11561, 0.092486, 0.075145, 0.083395, 0.074708, 0.84165, 0.028493, 0.96908, 0.002425, 1, 0.20801, 0.0056242, 0.0034347, 0.1944, 0.074146, 0.35252, 0.15877, 0.0030053, 0.9873, 0.0097008, 0.0030041, 1, 0.21601, 0.16226, 0.35954, 0.055936, 0.068076, 0.006832, 0.061695, 0.03288, 0.036739, 3.7642e-05, 0.39402, 0.027499, 0.43373, 0.09052, 0.00068698, 0.046775, 0.0038592, 0.0007476, 0.0021418, 0.042344, 0.032703, 0.044802, 0.88015, 0.00024728, 0.99975, 0.10072, 0.0093691, 0.87981, 0.010101, 0.94808, 0.051919, 1, 0.10068, 0.060559, 0.0034716, 0.70897, 0.0065574, 0.05188, 0.034137, 0.033558, 0.5377, 0.054782, 0.12261, 0.13928, 0.058628, 0.020551, 0.016447, 0.0034505, 0.0444, 0.0021584, 1, 0.58563, 0.060101, 0.00406, 0.12272, 0.081324, 0.14616, 0.00035537, 0.99964, 1, 1, 0.076949, 0.25703, 0.047309, 0.087634, 0.36761, 0.058514, 0.016295, 0.032141, 0.020285, 0.036233, 1, 0.27283, 0.33302, 0.063394, 0.027795, 0.30292, 0.4432, 0.095178, 0.027761, 0.046703, 0.1248, 0.14188, 0.12046, 0.035324, 0.088123, 0.23689, 0.026259, 0.52322, 0.052799, 0.037286, 0.41435, 0.47126, 0.094828, 0.0043997, 0.0064273, 0.0087387, 1, 1, 1, 1, 0.13575, 0.83787, 0.0021763, 0.019859, 0.0043526, 0.0014184, 0.68369, 0.31489, 0.032119, 0.22363, 0.029962, 0.018337, 0.625, 0.06999, 0.00071908, 0.00011985, 0.47868, 0.17179, 0.34364, 0.005828, 0.13661, 0.056135, 0.018381, 0.0099354, 0.77869, 0.27311, 0.00012591, 0.50856, 0.0073029, 0.030219, 0.18068, 0.99126, 0.0087413, 0.10885, 0.00018172, 0.89097, 0.49315, 0.03893, 0.4431, 0.00049479, 0.017793, 0.0065313, 0.26169, 0.04926, 0.34496, 0.029107, 0.05049, 0.15693, 0.060019, 0.012488, 0.0064745, 0.0035351, 0.010202, 0.001902, 0.0017099, 0.00097983, 0.0030355, 0.007243, 0.37513, 0.47563, 0.13911, 0.010101, 0.060676, 0.055222, 0.017453, 0.03177, 0.067494, 0.75525, 0.0080447, 0.0040905, 0.083573, 0.90338, 0.013044, 0.96516, 0.0011614, 0.033682, 0.93198, 0.06764, 0.046529, 0.16827, 0.77818, 0.00045767, 0.0065599, 0.048387, 0.57258, 0.072581, 0.25806, 0.048387, 0.28493, 0.04261, 0.021192, 0.023733, 0.62749, 0.14265, 0.28943, 0.54083, 0.011058, 0.015992, 4.2531e-05, 0.2327, 0.72143, 0.042695, 0.0031809, 0.46006, 0.08231, 0.2067, 0.0096901, 0.24124, 1, 0.007584, 0.99242, 0.10237, 0.88478, 0.012651, 0.23712, 0.11138, 0.076519, 0.048152, 0.1727, 0.014705, 0.31755, 0.00376, 0.015512, 0.0025788, 1, 0.15838, 0.00042292, 0.041869, 0.78537, 0.013745, 0.013234, 0.089756, 0.005527, 7.7845e-05, 0.62159, 0.028102, 0.22046, 0.0023354, 0.018916, 0.070794, 0.016196, 0.093347, 0.0050505, 0.041884, 0.75104, 0.021682, 1, 0.068146, 0.4105, 0.28766, 0.12036, 0.0067569, 0.02082, 0.081138, 0.0031862, 0.0014283, 0.074712, 0.0282, 0.17579, 0.0032961, 0.65611, 0.015199, 0.00054935, 0.046329, 0.058213, 0.034299, 0.028696, 0.87879, 0.85684, 0.14315, 0.078238, 0.010125, 0.039316, 0.013281, 0.020118, 0.085076, 0.69191, 0.031032, 0.030901, 0.9965, 0.003451, 1, 0.0012918, 0.11846, 0.081902, 0.78711, 0.01111, 1, 0.013273, 0.00030166, 0.043439, 0.94118, 0.0015083, 0.028793, 0.026578, 0.90365, 0.040975, 1, 0.043987, 0.026912, 0.059577, 0.17984, 0.58853, 0.01559, 0.024313, 0.045657, 0.015405, 0.078617, 0.019162, 0.19643, 0.23719, 0.032497, 0.02254, 0.092376, 0.24897, 0.047611, 0.010655, 0.002161, 0.0048418, 0.00083431, 0.0054709, 0.00062915, 0.042359, 0.15601, 0.32315, 0.011004, 0.024812, 0.011089, 0.00055232, 4.2486e-05, 0.43094, 0.17068, 0.19206, 0.019287, 0.073933, 0.13703, 0.22755, 0.049824, 0.0033484, 0.031618, 0.082647, 0.0035895, 0.0025984, 2.6787e-05, 0.0042949, 0.001509, 0.04886, 0.00698, 0.94416, 6.0481e-05, 0.0068949, 0.97236, 0.020624, 6.0481e-05, 0.62062, 0.19962, 0.17975, 0.02953, 0.34267, 0.019239, 5.8476e-05, 0.031636, 0.016841, 0.56003, 1, 0.85606, 0.14394, 0.34186, 0.030614, 0.088137, 0.045616, 0.067436, 0.064322, 0.28637, 0.044354, 0.019256, 0.0046002, 0.0074296, 0.46495, 8.4459e-05, 0.062078, 0.47289, 1, 0.68, 0.21818, 0.10182, 0.7615, 0.053153, 0.18507, 0.00027541, 0.094465, 0.02597, 0.194, 0.042444, 0.57154, 0.071539, 4.0578e-05, 0.079591, 0.010434, 0.41366, 0.079507, 4.1989e-05, 0.14092, 0.14581, 0.0096366, 0.008167, 0.032185, 0.017804, 0.057924, 0.00094476, 0.00096576, 0.0024144, 0.10659, 0.79903, 0.094385, 0.49961, 0.014622, 0.045834, 6.7074e-05, 0.36428, 2.2358e-05, 0.030295, 0.038925, 0.0044939, 0.00013415, 0.0017216, 0.52124, 0.11004, 0.32457, 7.8871e-05, 0.0064082, 0.0017352, 0.021157, 0.0037266, 0.0035097, 0.0030562, 0.0030957, 0.0014, 0.94091, 0.059086, 0.96022, 0.014139, 0.00023964, 0.025162, 0.18135, 0.046021, 0.6569, 0.11581, 1, 0.052786, 0.21623, 0.4899, 0.069457, 0.00079273, 0.030054, 0.12257, 0.00088599, 0.0093728, 0.0049895, 0.0029611, 0.02505, 0.97495, 0.14368, 0.75632, 0.072414, 0.017241, 0.010345, 0.086627, 0.022214, 0.38, 0.29389, 0.17938, 0.00020625, 0.014293, 0.0095702, 0.0094877, 0.0023307, 0.0020007, 1, 1, 0.19695, 0.0050274, 0.00014786, 0.79787, 0.97418, 0.025527, 0.24754, 0.11126, 0.049756, 0.053712, 0.53767, 0.022459, 0.60952, 0.22459, 0.049201, 0.00011577, 0.094119, 0.072487, 0.80472, 0.10386, 0.015606, 0.0033273, 0.6496, 0.091171, 0.12588, 0.10299, 0.0072824, 0.023029, 0.80515, 0.11887, 0.07598, 1, 0.041632, 0.51053, 0.15495, 0.11706, 0.078645, 0.064931, 0.024244, 0.0078016, 0.00020991, 0.17357, 0.80359, 0.019328, 0.003319, 0.038462, 0.058002, 0.88151, 0.022022, 0.010638, 0.98936, 0.045973, 0.92181, 0.031879, 0.17817, 0.019838, 0.22474, 0.40763, 0.064639, 0.042883, 0.050996, 3.6873e-05, 0.0053097, 0.0056785, 7.3746e-05, 0.29658, 0.38891, 0.30353, 0.010982, 1, 0.52171, 0.057956, 0.08757, 0.063688, 0.008704, 0.2211, 0.039274, 0.14429, 0.057006, 0.22143, 0.5171, 0.0084269, 0.010792, 0.040952, 0.047247, 0.044158, 0.70852, 0.16028, 0.022351, 0.017445, 0.19298, 0.065797, 0.68186, 0.021412, 0.03538, 0.0025731, 5.5497e-05, 0.13181, 0.0049392, 0.8632, 0.00013195, 6.5976e-05, 0.19931, 0.0067955, 0.69691, 0.068087, 0.0287, 0.12197, 0.68269, 0.059999, 0.094634, 0.0014869, 0.035816, 0.0033673, 0.17259, 0.65831, 0.0090224, 0.021439, 0.091383, 0.043622, 0.0035593, 0.98832, 0.011679, 0.20779, 0.022879, 0.20839, 0.025697, 0.025279, 0.018203, 0.47469, 0.013464, 0.0027346, 0.00089761, 1, 0.3749, 0.44755, 0.0031515, 0.074507, 0.053576, 0.038332, 0.0080159, 0.62301, 0.057415, 0.021294, 0.23517, 0.024881, 0.031253, 0.0021134, 3.2022e-05, 0.0032022, 0.0016331, 0.15088, 0.01156, 0.80195, 0.035614, 0.88227, 0.090909, 0.0014903, 0.025335, 0.052145, 0.067111, 0.077634, 0.0088858, 0.79411, 0.02352, 0.054031, 0.091792, 0.27654, 0.067323, 0.026756, 0.041947, 0.0075954, 0.4105, 0.10001, 0.48686, 0.014602, 0.0052542, 0.085899, 0.14046, 0.05523, 0.098668, 0.0087366, 0.0042766, 0.37487, 0.048525, 0.013472, 0.36524, 0.042041, 0.068787, 0.02754, 0.040759, 0.011124, 0.0016795, 0.0036118, 0.0023296, 0.010391, 0.10323, 0.047058, 0.075607, 0.51214, 0.047557, 0.0062444, 0.040089, 0.0098911, 0.14779, 0.17529, 0.0369, 0.16039, 0.087622, 0.098839, 0.047929, 0.31834, 0.023015, 0.0093976, 0.019266, 0.022623, 0.00039222, 0.060811, 0.2027, 0.73649, 0.073379, 0.060217, 0.00032906, 0.015137, 0.0085554, 0.84041, 0.0019743, 0.14031, 0.0016387, 0.0090127, 0.84904, 0.071142, 0.043252, 0.88206, 0.0035453, 0.96182, 0.038177, 0.51463, 0.018348, 0.038075, 0.42644, 0.0024787, 0.44958, 0.39954, 0.044638, 0.078893, 0.027353, 0.12456, 0.023274, 0.0014446, 0.011557, 0.83917, 1, 1, 1, 1, 0.38935, 0.61065, 0.20101, 0.037031, 0.032111, 0.062877, 0.43761, 0.047765, 0.023312, 0.075989, 0.003895, 0.016687, 0.0028782, 0.058818, 0.2373, 0.7627, 0.27948, 0.72052, 0.04038, 0.055731, 0.45278, 0.13506, 0.01086, 0.057609, 0.10821, 0.061558, 0.0074527, 0.040632, 0.0021874, 0.018351, 0.0091756, 0.10034, 0.014572, 0.065113, 0.65826, 0.002275, 0.0025824, 0.045561, 0.096286, 0.002275, 0.0027054, 0.010084, 0.71806, 0.20264, 0.0044053, 0.07489, 0.1086, 0.018016, 0.18288, 0.079332, 0.00075343, 0.10519, 0.35376, 0.0038779, 0.0088417, 0.047931, 0.02504, 0.025639, 0.0027921, 0.034392, 0.0029251, 0.022955, 0.010935, 0.48857, 0.022232, 0.059693, 0.011794, 0.23737, 0.1291, 0.015996, 0.0013556, 0.070774, 0.0043337, 0.15229, 0.3734, 0.37322, 0.0083453, 0.0091652, 0.0084331, 0.041718, 0.012931, 0.20891, 0.037332, 0.013708, 0.0031985, 0.063011, 0.052182, 0.56706, 0.73559, 0.11705, 0.015955, 0.11182, 0.00036679, 0.017927, 0.0012379, 0.15292, 0.25097, 0.12584, 0.022792, 0.30174, 0.034538, 0.043124, 0.036066, 0.0037038, 0.026962, 0.00071226, 2.59e-05, 0.00059571, 0.012945, 0.05784, 0.12064, 0.13196, 0.51042, 0.16554, 0.00017733, 0.00047288, 2.9555e-05, 0.5922, 0.10465, 0.28503, 0.018113, 0.36603, 0.094566, 0.018448, 0.38746, 0.028095, 0.08706, 0.011389, 0.0014795, 0.00015412, 0.0041303, 0.0011713, 1, 0.10142, 0.019117, 0.17712, 0.071338, 0.18119, 0.40245, 0.0098398, 0.037602, 1, 0.023727, 0.080396, 0.0094448, 0.8862, 0.043655, 0.22475, 0.056419, 0.5653, 0.036626, 0.00018498, 0.072697, 1, 0.011693, 0.98831, 0.20905, 0.28578, 0.12152, 0.0088932, 0.37476, 7.4901e-05, 0.098719, 0.0061419, 0.81162, 0.0001498, 0.0050933, 0.078121, 0.99007, 0.0099291, 0.075734, 0.20244, 0.022488, 5.4057e-05, 0.020542, 0.67847, 0.00021623, 0.33484, 0.057104, 0.14843, 0.015065, 0.11187, 0.037179, 0.23079, 0.027293, 0.0069949, 0.030428, 0.19339, 0.059188, 0.00014519, 0.74249, 0.00082273, 4.8396e-05, 0.0038717, 0.11379, 0.083727, 0.10678, 0.070762, 0.006832, 0.037076, 0.034569, 0.39898, 0.048265, 0.0026144, 0.040981, 0.055614, 0.14871, 0.10046, 0.55499, 0.058591, 0.03629, 0.043082, 0.051698, 0.00081095, 0.0053725, 1, 1, 0.0012739, 0.97325, 0.025478, 0.0040113, 0.00010841, 0.99588, 0.071944, 0.12683, 0.63256, 0.16867, 0.26716, 0.14758, 0.14737, 0.044105, 0.1981, 0.041754, 0.033243, 0.087666, 0.025564, 0.0074638, 0.66214, 0.059423, 0.27334, 0.0050934, 0.023749, 0.9754, 0.00084818, 0.44253, 0.12413, 0.11059, 0.049784, 0.041466, 0.074522, 0.03978, 0.037769, 0.037279, 0.033329, 0.008826, 1, 1, 0.00056465, 0.99887, 0.00056465, 0.11702, 0.55595, 0.23207, 0.0063042, 0.088258, 0.10411, 0.29968, 0.27674, 0.16302, 0.10107, 0.033576, 0.021805, 0.26726, 0.17482, 0.14769, 0.0088837, 0.052548, 0.23453, 0.023676, 1.0781e-05, 0.013412, 0.065593, 0.0016387, 0.0099403, 1, 1, 1, 0.029908, 0.10009, 0.70625, 0.058948, 0.097543, 0.0072599, 1, 0.0012735, 0.0039796, 0.98392, 0.010825, 0.0036876, 0.14155, 0.67826, 0.053051, 0.012152, 0.072075, 0.021623, 0.0176, 1, 0.34299, 0.05382, 0.041534, 0.022322, 0.012482, 0.034854, 0.4272, 0.026926, 0.019204, 0.018654, 1, 1, 1, 1, 0.053928, 0.016251, 0.09647, 0.12628, 0.70717, 0.025961, 0.27146, 0.23206, 0.2701, 0.063495, 0.0069523, 0.027093, 0.011964, 0.008061, 0.080448, 0.0024021, 0.010903, 0.27759, 0.09294, 0.53744, 0.036449, 0.010796, 0.0034204, 0.030517, 0.20341, 0.027088, 0.022667, 0.081237, 0.66364, 0.00050371, 0.0014272, 0.99949, 0.00051099, 0.10624, 0.027833, 0.82554, 7.3828e-05, 0.039203, 0.0011074, 0.017962, 0.88028, 0.10174, 1, 0.54907, 0.076557, 0.075596, 0.090167, 0.048674, 0.049567, 0.032046, 0.036849, 0.0046433, 0.0034081, 0.0045061, 0.0021958, 0.026716, 0.38843, 0.45425, 0.11989, 0.034498, 0.0029203, 0.51805, 0.0089148, 0.047102, 0.17942, 0.19244, 0.04536, 0.0087441, 0.25795, 0.023281, 0.71861, 0.063816, 0.93618, 1, 1, 0.031622, 0.92667, 0.041705, 1, 1, 0.75196, 0.014208, 0.10428, 0.12955, 1, 0.00019732, 0.011839, 0.010852, 0.97711, 0.023697, 0.92891, 0.047393, 0.00049002, 0.058663, 0.13511, 0.151, 0.15443, 0.48701, 0.0012601, 0.011971, 0.046227, 0.49647, 0.018933, 0.051533, 0.25923, 0.015842, 0.10982, 0.0018704, 3.8172e-05, 0.14245, 0.44713, 0.067184, 0.14637, 0.19687, 0.062621, 0.012731, 0.077334, 0.29499, 0.44748, 0.086192, 0.0028121, 0.011619, 0.0016745, 0.0025437, 0.042685, 0.24934, 0.42231, 0.095402, 0.035373, 0.13582, 0.0018191, 0.01394, 0.00077445, 0.0025395, 0.65434, 0.10527, 0.065746, 0.040737, 0.032183, 0.0099709, 0.007628, 0.029749, 0.049328, 0.0050127, 1, 0.032296, 0.00029095, 0.10169, 0.014984, 0.84681, 0.0039278, 0.028793, 0.00012305, 0.050941, 0.06423, 0.038514, 0.007875, 0.019441, 0.017227, 0.76166, 0.011074, 0.99616, 0.003844, 0.80991, 0.043756, 0.14535, 0.00098927, 0.32276, 0.00060726, 0.012904, 0.0098679, 0.56323, 0.028541, 0.029907, 0.032185, 0.04109, 0.16837, 0.16616, 0.62432, 0.93987, 0.059775, 0.037113, 0.57336, 0.16074, 0.030059, 0.078, 2.7552e-05, 0.010277, 0.081719, 0.024962, 0.0035542, 0.00013776, 0.397, 0.027735, 0.12738, 0.078978, 0.2824, 0.0455, 0.034409, 0.0065788, 1, 1, 0.20332, 0.44234, 0.018023, 0.13145, 0.20482, 0.061122, 0.61623, 0.30561, 0.016032, 0.17287, 0.051521, 0.083178, 0.6887, 0.0037244, 0.94983, 0.05017, 0.64664, 0.063604, 0.28975, 0.11806, 0.69444, 0.1875, 1, 0.50251, 0.0036171, 0.1452, 0.078075, 0.071592, 0.11718, 0.010817, 0.011295, 0.057328, 0.0023887, 0.30488, 0.52134, 0.070122, 0.10366, 0.097501, 0.04374, 0.073726, 0.045663, 0.079087, 0.40812, 0.14723, 0.03775, 0.012054, 0.00088738, 0.054241, 0.003003, 0.003003, 0.024024, 0.009009, 0.96096, 1, 1, 1, 0.54071, 0.033852, 0.035682, 0.043916, 0.25343, 0.091491, 0.76, 0.24, 0.1782, 0.2076, 0.31136, 0.30275, 1, 0.0462, 0.020509, 0.93329, 0.015016, 0.004215, 0.049394, 0.91899, 0.0096154, 0.0026344, 0.15036, 0.84964, 0.97406, 0.025938, 0.012164, 0.98673, 0.0011058, 0.42123, 0.45632, 0.12186, 0.0005667, 1, 1, 0.040914, 0.096756, 0.78695, 0.075378, 0.62208, 0.22106, 0.10532, 0.04196, 0.0095748, 0.4415, 0.25416, 0.30425, 1, 1, 0.1748, 0.23004, 0.07033, 0.38435, 0.1246, 0.0073428, 0.008536, 1, 1, 1, 0.098428, 0.90157, 1, 0.1139, 0.88079, 0.0053151, 0.67619, 0.26667, 0.057143, 0.046511, 0.038312, 0.55606, 0.084929, 2.1296e-05, 0.1626, 0.072364, 0.013246, 0.0046425, 0.0055583, 0.00044722, 0.012905, 0.0023852, 0.1728, 0.7952, 0.0016, 0.0304, 0.036065, 0.042128, 0.12701, 0.12147, 0.01589, 0.65701, 0.00031361, 0.0013889, 0.99861, 0.41738, 0.017132, 0.0019345, 0.33466, 0.08001, 0.11283, 0.0014392, 0.014996, 0.0024452, 0.004132, 0.0061439, 0.006376, 0.00049523, 1, 0.10805, 0.038098, 0.55082, 0.1247, 0.05318, 0.1251, 5.6275e-05, 0.0019763, 0.99802, 1, 0.52914, 0.39467, 0.053627, 0.022506, 1, 0.16185, 0.67173, 0.12234, 0.044073, 0.70817, 0.29183, 1, 0.16575, 0.12122, 0.022226, 0.084024, 0.084639, 0.39703, 0.0081194, 0.021857, 0.052284, 0.021242, 0.0061101, 0.0031986, 0.0024194, 0.0099237, 0.08033, 0.0091185, 0.69366, 0.068823, 0.13374, 0.014329, 1, 0.02432, 0.97568, 0.4723, 0.14755, 0.081783, 0.10674, 0.0072209, 0.005827, 0.085188, 0.054454, 0.022508, 0.0047301, 0.011677, 0.00015755, 0.029463, 0.026154, 0.041752, 0.90247, 1, 0.35287, 0.0044488, 0.012345, 0.06196, 0.109, 0.36211, 0.03017, 0.030435, 0.026619, 0.0054211, 0.0025632, 0.00030936, 0.0017677, 0.064466, 0.00056425, 0.081817, 0.13796, 0.71519, 1, 0.46314, 0.51384, 0.023015, 0.99797, 0.0020251, 5.7172e-05, 0.52518, 0.29775, 0.030301, 0.14019, 0.0064605, 0.24115, 0.73349, 0.025361, 0.23865, 0.30246, 0.13614, 0.0049188, 0.028986, 8.7835e-05, 0.28797, 0.00079051, 0.1668, 0.084395, 0.036286, 0.062124, 0.43309, 0.21736, 1, 1, 1, 0.025947, 0.96499, 0.008855, 0.8125, 0.1875, 0.30467, 0.0001063, 0.66355, 0.027426, 0.0041458, 0.0001063, 0.00016958, 0.075971, 0.71036, 0.042394, 0.053587, 0.00016958, 0.057148, 0.0016958, 0.031202, 0.0045786, 0.022723, 0.014081, 0.98592, 0.00051106, 0.029057, 0.46674, 0.027305, 0.0071549, 0.0055487, 0.46149, 0.0021903, 1, 0.59389, 0.084515, 0.06821, 0.25, 0.0033869, 0.16682, 0.00062598, 0.83224, 0.077419, 0.078457, 0.12449, 0.022299, 0.070582, 0.30044, 0.21629, 0.057089, 0.015319, 0.010058, 3.5792e-05, 0.027524, 1, 0.98879, 0.011207, 0.21562, 0.28163, 0.415, 0.037518, 0.01705, 0.019738, 0.0018048, 0.0078722, 0.0001536, 0.0036097, 0.54545, 0.42424, 0.030303, 0.00032206, 0.99968, 0.24255, 0.75745, 0.5618, 0.037142, 0.026934, 0.035298, 0.32776, 0.0038854, 0.0071781, 0.098589, 0.037122, 0.076824, 0.64734, 0.054394, 0.016568, 0.067641, 0.0014849, 0.073006, 0.032614, 0.67929, 0.079027, 0.026677, 0.050677, 0.046078, 0.012711, 0.57211, 0.10369, 0.0083433, 0.24553, 0.070322, 0.76316, 0.16842, 0.068421, 0.13164, 0.13081, 0.047919, 0.20697, 0.229, 0.075255, 0.0047919, 0.00068749, 0.080149, 0.0034836, 0.050177, 0.013781, 0.0021292, 0.0022985, 0.012288, 6.6697e-05, 0.0076343, 0.00089785, 1, 1, 0.21475, 0.00048733, 0.7807, 0.0040611, 0.017252, 0.30607, 0.34193, 0.0039209, 0.055848, 0.016321, 0.015561, 0.016468, 0.015488, 0.19631, 0.010219, 0.0045825, 0.75039, 0.14554, 0.074477, 0.029496, 1, 1, 0.51593, 0.020692, 0.38121, 0.062373, 0.019774, 0.26849, 0.1453, 0.042451, 0.24841, 0.28941, 0.0059307, 1, 1, 0.60897, 0.10897, 0.28205, 0.024669, 0.046263, 0.88361, 0.0075669, 0.037896, 1, 1, 0.0444, 0.21273, 0.62445, 0.064334, 0.038823, 0.0078065, 0.007458, 1, 0.2724, 0.034043, 0.00026684, 0.086693, 0.031796, 0.17738, 0.015757, 0.22122, 0.11843, 0.033495, 0.006713, 0.0017976, 0.00030553, 0.0087076, 0.99099, 0.079223, 0.29975, 0.17448, 0.13511, 0.14503, 0.05617, 0.013953, 0.022016, 0.016562, 0.057709, 0.1688, 0.0002306, 0.041739, 0.093509, 0.59645, 0.099158, 0.23045, 0.53659, 0.22237, 0.010542, 0.046628, 0.94608, 0.0072172, 0.020455, 0.021465, 0.87576, 0.059343, 0.02298, 0.32635, 0.0090024, 0.071263, 1.718e-05, 0.15988, 0.090024, 0.25217, 0.06592, 0.013727, 0.0091054, 0.0025426, 1, 0.49858, 0.068226, 0.00024108, 0.079888, 0.13546, 0.1586, 0.0059969, 0.0048517, 0.048156, 0.064277, 0.36171, 0.35863, 0.20561, 0.00099982, 0.0028884, 0.0013775, 0.0044881, 0.027732, 0.53371, 0.019123, 0.15624, 0.02456, 0.010513, 0.16585, 0.025557, 0.0061628, 0.0096067, 0.020935, 0.099751, 0.083558, 0.043803, 0.00083039, 0.7595, 0.01256, 1, 0.83398, 0.11893, 0.034575, 0.012519, 0.09907, 0.90093, 0.17375, 0.68038, 0.14578, 0.67737, 0.10564, 0.00071378, 0.14989, 0.065667, 0.00071378, 0.25661, 0.13231, 0.28929, 0.037769, 0.031762, 0.17934, 0.055414, 0.0095015, 0.0079405, 6.7868e-05, 0.00010616, 0.053397, 0.17877, 0.016136, 0.10584, 0.025478, 0.0052017, 0.61497, 0.00010616, 0.00030469, 0.94516, 0.026813, 0.027727, 1, 0.13466, 0.019704, 0.10305, 0.062029, 0.015482, 0.064039, 0.012215, 0.065899, 0.24842, 0.076204, 0.1796, 0.0088972, 0.0097517, 0.030007, 9.1208e-05, 0.94847, 0.021343, 0.00010295, 0.18269, 0.066612, 0.73911, 0.011479, 0.057143, 0.7125, 0.010714, 0.0053571, 0.21429, 0.25208, 9.552e-05, 0.42058, 0.32725, 0.055611, 0.09285, 0.054618, 0.11023, 0.66137, 0.0019861, 0.023337, 0.98839, 0.011609, 0.086504, 0.0038878, 0.90961, 0.24257, 0.084974, 0.094054, 0.066879, 0.14357, 0.040123, 0.059234, 0.10707, 0.024127, 0.017057, 0.10017, 0.020172, 1, 0.60802, 0.39198, 0.7667, 0.23303, 0.03569, 0.0019957, 0.070748, 0.17311, 0.47428, 0.18419, 0.029936, 8.3155e-05, 0.014519, 0.00074839, 0.0052221, 0.0094297, 3.3262e-05, 1, 0.00050514, 0.06028, 0.043947, 0.88651, 0.0085873, 0.49324, 0.27407, 0.23264, 0.98994, 0.0032626, 0.0067972, 0.65673, 0.089832, 0.19534, 0.058104, 0.14205, 0.10927, 0.74869, 0.51887, 0.0066544, 0.3406, 0.057142, 0.040542, 0.0020602, 0.033035, 0.0010893, 0.20786, 0.036603, 0.47427, 0.049116, 0.040149, 0.0099925, 0.035537, 0.10723, 0.021151, 0.0068842, 1.9925e-05, 0.0065953, 0.0045828, 0.32897, 0.25244, 0.019067, 0.035928, 0.043344, 0.0025149, 0.31773, 1, 1, 0.96471, 0.035294, 0.092872, 0.00029577, 0.85862, 0.022774, 0.025436, 1, 0.12883, 0.067237, 0.028473, 0.22066, 0.42852, 0.037681, 0.049941, 0.021855, 1.1904e-05, 0.00023807, 0.0039579, 0.0031485, 0.00036306, 0.0090884, 1, 0.26325, 0.13501, 0.046079, 0.21395, 0.32012, 0.021544, 4.6733e-05, 0.73955, 0.10512, 0.016696, 0.13851, 0.024947, 0.5417, 0.064148, 0.11832, 0.24305, 0.0078403, 0.041208, 0.10158, 0.72151, 0.00090566, 0.081811, 0.016302, 0.00015094, 0.0031698, 0.032151, 0.0012075, 0.2889, 0.060289, 0.061278, 0.54535, 0.013047, 0.031155, 0.13801, 0.30499, 0.17153, 0.003309, 0.21058, 0.070683, 8.463e-06, 0.015022, 0.02588, 0.029113, 0.019118, 0.011696, 8.463e-06, 5.9241e-05, 0.47438, 0.0041703, 0.02078, 0.42372, 0.028056, 0.012458, 0.0053238, 0.029795, 0.0012955, 0.33197, 0.010799, 0.05008, 0.022745, 0.018744, 0.38235, 0.082591, 0.021612, 0.011645, 0.040055, 0.02646, 0.00094652, 1, 0.085488, 0.24478, 0.10698, 0.068698, 0.34371, 0.038279, 0.03724, 0.022636, 0.052202, 1.5504e-05, 0.47762, 0.03447, 0.011056, 0.37175, 0.0020028, 0.046226, 0.017097, 0.018741, 0.019995, 6.5131e-05, 0.00099324, 1, 0.37506, 0.033985, 0.063103, 0.078414, 0.018001, 0.42519, 0.0030068, 0.0032046, 1, 0.23743, 0.70378, 0.058795, 0.5995, 0.055951, 0.1274, 0.049087, 0.022516, 0.0039, 0.12142, 0.0075399, 0.010504, 0.002132, 1, 0.042043, 0.87325, 0.072252, 0.012457, 1, 1, 1, 1, 0.36061, 0.14653, 0.0014214, 0.24041, 0.25104, 0.046917, 0.021985, 0.93087, 0.020731, 0.94673, 0.032249, 0.11779, 0.0019274, 0.11332, 0.40851, 0.015296, 0.021794, 0.23966, 0.029899, 0.0086239, 0.013937, 0.0032123, 0.0067953, 0.019249, 1, 0.55179, 0.024048, 0.066633, 0.31697, 0.012128, 0.024987, 0.0024424, 0.00098113, 0.058079, 0.3092, 0.11358, 0.3377, 0.14938, 0.0090242, 0.019404, 0.0036361, 0.012207, 0.98779, 0.23834, 0.19375, 0.029144, 0.46182, 0.018447, 0.0072795, 2.6091e-05, 0.035041, 0.0039137, 0.012237, 1, 0.26545, 0.42126, 0.31071, 0.0025778, 0.003268, 0.99673, 0.13142, 0.13605, 0.058478, 0.02502, 0.07876, 0.053247, 0.50775, 0.0091788, 1, 0.02343, 0.97657, 1, 0.062825, 0.00018587, 0.024349, 0.0098513, 0.90279, 0.1632, 0.16564, 0.27921, 0.06133, 0.28419, 7.0467e-05, 0.038945, 0.00084561, 0.00653, 2.3489e-05, 0.17556, 0.013535, 0.13407, 0.33476, 0.13343, 0.020635, 0.15091, 0.0038973, 0.0083687, 0.010514, 0.0082328, 0.0060877, 0.034593, 0.96541, 1, 1, 0.056915, 0.39873, 0.031396, 0.37313, 0.032845, 0.066575, 0.036387, 0.0039446, 0.10665, 0.01383, 0.014096, 0.76489, 0.019681, 0.0077128, 0.071011, 0.0015957, 0.24294, 0.51209, 0.0056502, 0.017728, 0.038984, 0.0019744, 0.032137, 0.14117, 0.0009242, 0.0050201, 0.0013653, 0.63704, 0.068359, 0.025448, 0.00396, 0.20741, 0.056024, 0.0016879, 1, 0.061963, 3.4083e-05, 0.18978, 0.22164, 0.16181, 0.31614, 0.04136, 0.0072768, 0.94861, 0.033989, 0.017199, 0.033804, 0.054299, 0.089167, 0.8041, 0.018366, 0.00064977, 0.99935, 1, 1, 1, 0.2601, 0.0074454, 0.091067, 0.081069, 0.33115, 0.0091492, 0.07979, 0.024992, 0.088157, 0.027072, 0.060444, 0.93956, 0.37307, 0.025242, 0.52248, 0.018271, 0.0595, 0.0014424, 0.098913, 0.61327, 0.27747, 0.0042819, 0.0060277, 0.013304, 0.18847, 0.79823, 0.11453, 0.62763, 0.25776, 0.29819, 0.1052, 0.21323, 0.10232, 0.20508, 0.039364, 0.012987, 0.0038137, 0.018447, 0.001344, 1, 0.22604, 0.025521, 0.032787, 0.25982, 0.16573, 0.12565, 0.097254, 0.059863, 0.00075391, 0.0018767, 0.00011228, 0.0028713, 0.0017003, 1, 1, 0.50894, 0.046448, 0.18109, 0.013294, 0.24768, 0.0025534, 0.023224, 0.97678, 1, 0.67101, 0.00032541, 0.20729, 0.083957, 0.037097, 0.57143, 0.42857, 0.067932, 0.93207, 0.1563, 0.0096797, 0.012527, 0.0049822, 0.81082, 0.0055516, 1, 1, 1, 0.12119, 0.84184, 0.037265, 0.96, 0.04, 0.71053, 0.28947, 0.00035638, 0.95331, 0.022096, 0.024234, 0.65044, 0.020051, 0.31482, 0.01469, 0.99951, 0.00049261, 0.00010002, 0.19264, 0.039208, 0.76805, 1, 0.099603, 0.67036, 0.16449, 0.038624, 0.015772, 0.0058681, 0.0050919, 3.1048e-05, 0.00015524, 0.094321, 0.026628, 0.87873, 1, 0.090863, 0.090522, 0.057091, 0.41135, 0.058862, 0.27327, 0.01726, 0.00081705, 0.13635, 0.82611, 0.037355, 0.052768, 0.94691, 0.030879, 0.00069784, 0.95447, 0.013957, 0.74897, 0.2331, 0.017931, 0.1899, 0.063925, 0.50624, 0.15298, 0.063734, 3.8187e-05, 0.010616, 0.012563, 1, 0.11321, 0.012772, 0.32293, 0.50721, 0.022166, 0.013696, 0.0061617, 0.0018472, 0.10342, 0.34915, 0.5062, 0.011281, 0.029952, 0.00029373, 0.82743, 0.082978, 0.089147, 0.00014686, 1, 0.054414, 0.056227, 0.87969, 0.0090689, 0.035328, 0.022664, 0.18403, 0.28148, 0.011033, 0.037339, 0.0076091, 0.0086961, 0.012446, 0.38752, 0.011848, 0.39809, 0.016907, 0.0049918, 0.43022, 0.058165, 0.053821, 0.025789, 0.012006, 0.22034, 0.77966, 0.55967, 0.17558, 0.17078, 0.021262, 0.072702, 0.051604, 0.069519, 0.10508, 0.77353, 0.072635, 0.92112, 0.0062457, 0.7338, 0.046976, 0.17777, 0.0085969, 0.032852, 0.00041091, 0.036407, 0.60519, 0.094017, 0.067719, 0.19625, 0.43439, 0.08002, 0.043602, 0.026929, 0.35457, 1.5061e-05, 0.0019429, 0.010362, 0.015227, 0.019354, 0.013585, 1.5061e-05, 0.99092, 0.0058129, 0.0032698, 0.039779, 0.72486, 0.15801, 0.054144, 0.023204, 0.00059242, 0.98223, 0.01718, 0.026215, 0.9555, 0.014066, 0.0042199, 0.63203, 0.11263, 0.0079779, 0.24737, 0.15421, 0.13353, 0.10118, 0.042836, 0.41086, 0.1014, 0.014993, 0.033678, 0.0042836, 0.0029542, 0.49928, 0.38063, 0.042528, 0.046626, 0.028047, 0.002892, 0.13769, 0.42531, 0.30652, 0.059446, 0.025916, 0.036803, 0.00086832, 0.0040744, 0.0033397, 0.2158, 0.036166, 0.066475, 0.5061, 0.11108, 0.0086144, 0.0050027, 0.050515, 0.00021963, 1, 0.22566, 0.049595, 0.11881, 0.091614, 0.1257, 0.083109, 0.030497, 0.17756, 0.069731, 0.005638, 0.0055151, 0.014989, 0.0015699, 0.049908, 0.33022, 0.013151, 0.46546, 0.069856, 0.012929, 0.0023273, 0.015515, 0.0083857, 0.025046, 0.00088659, 0.00628, 0.039382, 0.96062, 1, 0.00094967, 0.048433, 0.59473, 0.10826, 0.005698, 0.18613, 0.039649, 0.016144, 1, 1, 0.032687, 0.18552, 0.048507, 0.70955, 0.011194, 0.012687, 0.00030048, 0.028245, 0.96214, 0.0093149, 0.85866, 0.00013247, 0.044774, 0.076964, 0.002252, 0.017088, 1, 0.00018448, 0.33678, 0.51254, 0.14487, 0.0055807, 0.021212, 0.13647, 0.17697, 0.41892, 0.091789, 0.074242, 0.01355, 0.023646, 0.0024938, 0.0065799, 0.0030045, 0.029114, 0.002013, 0.11132, 0.17848, 0.098872, 0.084185, 0.013516, 0.48191, 0.0078757, 0.018838, 0.0050021, 0.45259, 0.016694, 0.15993, 0.095687, 0.080349, 0.046757, 0.07112, 0.061329, 0.015415, 2.5564e-05, 7.6693e-05, 1, 1, 1, 0.15131, 0.61552, 0.051382, 0.073352, 0.084337, 0.024096, 1, 0.22841, 0.059866, 0.046712, 0.055702, 0.073112, 0.25301, 0.081583, 0.059184, 0.089911, 0.034077, 0.0075036, 0.0017512, 0.00021381, 0.0070149, 0.0019345, 0.087137, 0.2874, 0.44635, 0.11366, 0.019565, 0.040937, 0.0049839, 0.92406, 0.032546, 0.0092534, 0.034142, 0.00015035, 0.090362, 0.066607, 0.07247, 0.042851, 0.56067, 0.13893, 0.027815, 1, 0.69638, 0.16743, 0.025188, 0.021402, 0.011154, 0.077746, 0.00065852, 0.00047529, 0.99952, 0.6444, 0.3556, 0.58824, 0.41176, 0.89167, 0.10833, 0.59548, 0.1399, 0.13583, 0.10807, 0.013694, 0.0070318, 0.60933, 0.083557, 0.083763, 0.031242, 0.042618, 0.0088715, 0.047305, 0.093313, 0.97779, 0.018418, 0.003792, 0.48187, 0.37754, 0.034383, 0.014406, 0.008256, 0.079944, 0.0036014, 1, 1, 0.52637, 0.030314, 0.29208, 0.13427, 0.0011981, 0.003232, 0.01251, 0.02457, 0.97543, 0.00016706, 0.00016706, 0.99967, 0.00047015, 0.99953, 1, 0.0020492, 0.99795, 0.23364, 0.73509, 0.03111, 8.018e-05, 0.0035067, 0.99649, 0.5646, 0.12384, 0.096354, 0.0397, 0.0065031, 0.020361, 0.11879, 0.025075, 0.0047708, 0.97015, 0.029851, 0.087321, 0.20911, 0.55695, 0.10956, 0.019604, 0.0081137, 0.0092978, 0.00018136, 0.055314, 0.025934, 0.91857, 0.82571, 0.022395, 0.095424, 0.038705, 0.013632, 0.0041383, 1, 0.52779, 0.032626, 0.023387, 0.0098167, 0.40638, 0.90752, 0.079958, 0.01252, 0.016384, 0.00028249, 0.068927, 0.91412, 0.15464, 0.0023019, 0.10653, 0.064453, 0.024226, 0.067094, 0.16151, 0.044, 0.026491, 0.20325, 0.061623, 0.036642, 0.002, 0.00079245, 0.044453, 0.66072, 0.082809, 0.22499, 0.013893, 0.011261, 0.0063249, 0.73423, 0.057796, 0.19435, 0.0092771, 0.0043508, 0.28384, 0.13809, 0.055089, 0.08309, 0.40298, 0.027851, 3.8542e-06, 0.0090575, 1, 0.36381, 0.064718, 0.041951, 0.0943, 0.006263, 0.038918, 0.069681, 0.31658, 0.0037815, 1, 1, 0.033893, 0.96281, 0.0032993, 1, 1, 0.039032, 0.71218, 0.081119, 0.099884, 0.010425, 0.05736, 4.8487e-05, 0.00037362, 0.022604, 0.96002, 0.017, 0.98387, 0.016129, 0.0070739, 0.0044949, 0.21823, 0.18721, 0.11802, 0.35637, 0.06197, 0.041486, 0.0051089, 2.4562e-05, 0.36575, 0.027789, 0.041139, 0.039777, 0.038142, 0.4825, 0.004904, 0.011976, 0.0083832, 0.97964, 0.041287, 0.044152, 0.0013482, 0.022582, 0.84681, 0.014998, 0.028817, 1, 0.077821, 0.084216, 0.15582, 0.1256, 0.40336, 0.11297, 0.0013491, 0.0050139, 0.019503, 0.00080732, 0.0035586, 0.0099852, 1, 0.035071, 0.059957, 0.13824, 0.13901, 0.37584, 0.16039, 0.043897, 1.3726e-05, 0.0088261, 0.0025943, 0.011036, 0.011393, 0.0070279, 0.0066573, 4.1179e-05, 0.042892, 0.018999, 0.083707, 0.19486, 0.56911, 5.4675e-05, 0.02813, 0.042072, 0.016621, 0.00049207, 0.0030344, 0.89412, 0.10588, 0.080398, 0.69235, 0.078407, 0.076602, 0.027318, 0.0016801, 0.010392, 0.016366, 6.2228e-05, 0.016428, 0.00017557, 0.19383, 0.038684, 5.8524e-05, 0.76321, 0.0040382, 1, 0.029822, 0.62501, 0.19003, 0.095849, 0.011154, 0.048133, 0.024187, 0.97581, 1, 0.45134, 0.52417, 0.022699, 7.6739e-06, 0.001788, 1, 0.038735, 0.83054, 0.018076, 0.064881, 0.017753, 0.029374, 0.00064558, 0.28536, 0.43855, 0.016065, 0.0096802, 0.06838, 0.015447, 0.16652, 0.00016305, 0.14756, 0.022501, 0.8226, 0.0071743, 1, 0.22815, 0.019764, 0.082045, 0.67005, 0.79688, 0.20312, 0.010694, 0.22457, 0.022661, 0.0034373, 0.61731, 0.09599, 0.019351, 0.0058561, 0.76075, 0.13832, 0.082243, 0.018692, 1, 0.55584, 0.10084, 0.0060834, 0.0042981, 0.33294, 0.24773, 0.72751, 0.0040364, 0.010181, 0.010543, 0.04127, 0.072977, 0.26911, 0.16009, 0.0015486, 0.043864, 0.04367, 0.017112, 0.010647, 0.0047619, 0.3314, 0.003523, 0.088334, 0.012962, 0.052361, 0.55604, 0.10678, 0.010221, 0.17079, 0.0022269, 0.0002855, 0.069926, 0.037148, 0.87517, 0.017482, 0.91205, 0.087652, 0.044407, 0.027059, 0.1151, 0.063698, 0.005826, 0.7377, 0.0062144, 1, 1, 0.051327, 0.70356, 0.19828, 0.040617, 0.0062174, 0.19959, 0.42246, 0.343, 5.7353e-05, 0.018095, 0.014367, 0.00094632, 0.0014625, 1, 1, 1, 1, 1, 0.027287, 0.087239, 0.14849, 3.0218e-05, 0.036836, 0.5263, 0.034448, 0.094068, 0.045266, 0.04121, 0.92559, 0.033205, 1, 0.051303, 0.28377, 0.40156, 0.018061, 0.21844, 0.01425, 0.010637, 0.001928, 0.034399, 0.049019, 0.027929, 0.48151, 8.1903e-05, 0.3132, 0.0081084, 0.039477, 0.046234, 1, 0.036736, 0.1148, 0.47731, 0.2105, 0.034713, 0.058987, 0.015608, 0.023625, 0.0080913, 0.010888, 0.0068676, 0.001848, 0.24858, 0.13491, 0.20614, 0.021648, 0.069062, 0.25043, 0.013258, 0.047867, 0.0062276, 0.00040122, 0.0014479, 0.15063, 0.83967, 0.0095093, 0.0094787, 0.99052, 0.99431, 0.0056864, 1, 0.32374, 0.6088, 0.067459, 1, 0.24026, 7.7561e-05, 0.19323, 0.40974, 0.068151, 0.030249, 0.026319, 0.0059205, 0.0032705, 0.019261, 0.0035161, 1, 1, 1, 0.98112, 0.01888, 0.035182, 0.96482, 0.35368, 0.22439, 0.021949, 0.019854, 0.021317, 0.10578, 0.062834, 0.19019, 1, 0.51834, 0.38562, 0.032556, 0.016441, 0.010697, 0.036346, 0.00022894, 0.99977, 1, 0.52413, 0.12511, 0.042532, 0.12677, 0.039379, 0.033191, 0.027122, 0.017686, 0.04175, 0.00026079, 0.022072, 0.18937, 0.054433, 0.026879, 0.020486, 0.28769, 0.086032, 0.062958, 0.23783, 0.005763, 0.0023269, 0.0041972, 0.02203, 0.033333, 0.088544, 0.87812, 0.010194, 0.13463, 0.014239, 0.13463, 0.59725, 0.087702, 0.0033981, 0.017799, 1, 0.024, 0.0055556, 0.97044, 0.81481, 0.074074, 0.11111, 0.465, 0.09713, 0.2874, 0.022795, 0.030035, 0.0062799, 0.023435, 0.0056615, 0.059248, 0.002996, 0.013187, 0.98681, 0.035786, 0.0080268, 0.94281, 0.013043, 1, 1, 0.95249, 0.047447, 1, 1, 0.00025927, 0.075447, 0.92403, 0.051181, 0.94882, 0.032544, 0.93314, 0.030025, 0.0042211, 0.064774, 0.024774, 0.20381, 0.095613, 0.56045, 0.046194, 0.0043871, 1, 0.48377, 0.12475, 0.24303, 0.088575, 0.0072664, 0.0088045, 0.043863, 1, 0.51448, 0.067966, 0.068915, 0.065906, 0.19029, 0.078322, 0.0027653, 0.0016537, 0.0061541, 0.0014097, 0.0018435, 0.00021688, 0.00010844, 1, 0.14537, 0.0067597, 0.12402, 0.14377, 0.12732, 0.39722, 0.02683, 0.014797, 0.0016493, 0.0054357, 0.0064578, 0.00034844, 0.38591, 0.0075658, 0.2307, 0.035581, 0.11181, 0.044682, 0.07108, 0.11264, 1, 0.94804, 0.00059898, 0.00044924, 0.032645, 0.018119, 8.9103e-05, 4.4551e-05, 0.025439, 0.091954, 0.12568, 0.70315, 0.016885, 0.004366, 0.020761, 0.011583, 0.14559, 0.85441, 0.24282, 0.0621, 0.068906, 0.014737, 0.12405, 0.25963, 1.7993e-05, 0.032829, 1.3495e-05, 0.049271, 0.09792, 0.0017319, 0.017724, 0.0046918, 0.023558, 0.05651, 0.066644, 0.21974, 0.037701, 0.61698, 0.0023772, 0.3484, 0.080803, 0.10656, 0.001912, 0.019184, 0.33612, 0.0069089, 0.025073, 0.053435, 0.0095347, 0.0049076, 0.00063735, 0.0016061, 0.0049076, 0.072619, 0.0051777, 0.25112, 0.0098475, 0.079763, 0.034769, 0.40596, 0.0194, 0.0078485, 0.0030312, 0.071931, 0.0090118, 0.029493, 1, 1, 1, 0.9, 0.1, 0.059806, 0.062102, 0.027416, 0.017725, 0.0067585, 0.82619, 0.00012702, 0.20285, 0.47125, 0.00012702, 0.14782, 0.070814, 0.00015878, 0.10501, 3.1755e-05, 0.0018418, 1, 1, 1, 0.011982, 0.27447, 0.68822, 0.018955, 0.0054396, 0.00093456, 0.12677, 0.70161, 0.14677, 0.00032258, 0.024194, 0.83333, 0.071429, 0.095238, 0.0020216, 0.056267, 0.91442, 0.026954, 0.12004, 0.013338, 0.098646, 0.18287, 0.41891, 0.027756, 0.089912, 0.012222, 0.017123, 0.0093745, 0.0061587, 0.0017088, 1.1866e-05, 0.0019224, 0.49695, 0.039979, 0.12996, 0.026697, 0.23977, 0.026299, 0.04035, 0.00021177, 0.080898, 0.0093181, 0.090216, 0.68551, 0.13384, 0.69882, 0.054225, 0.047336, 0.026835, 0.13656, 0.026557, 0.0096116, 0.64151, 0.35849, 0.10055, 0.091822, 0.32283, 0.023873, 0.1396, 0.012812, 0.12565, 0.019636, 0.044226, 0.0080077, 0.033599, 0.012762, 0.010827, 0.04833, 0.0030863, 0.0024023, 0.080224, 0.083955, 0.057603, 0.75536, 0.022621, 0.044807, 0.26929, 0.6859, 1, 0.13909, 0.053201, 0.053052, 5.981e-05, 0.71626, 0.027513, 0.010796, 0.014975, 0.15064, 0.21169, 0.14201, 0.26266, 0.17771, 0.0069654, 0.011119, 0.0018958, 0.0050271, 0.0037916, 0.011481, 0.060789, 5.5313e-05, 0.4487, 0.057636, 0.055036, 5.5313e-05, 0.15808, 0.113, 0.047182, 0.043863, 0.015598, 0.00017967, 0.88471, 0.11511, 0.036302, 0.5394, 0.061168, 0.22445, 0.098549, 0.010087, 0.00016182, 0.022817, 0.0070662, 0.17406, 0.06689, 0.14282, 0.042499, 0.47218, 0.0076597, 0.023297, 0.050512, 0.008754, 0.011331, 0.84848, 0.13636, 0.015152, 1, 1, 0.049225, 0.32552, 0.01207, 0.58821, 0.0081647, 0.016803, 0.10282, 0.89709, 0.29412, 0.70588, 0.96742, 0.032577, 0.95066, 0.0493, 0.78191, 0.21002, 0.0080775, 0.0080353, 0.28927, 0.70269, 4.5053e-05, 0.99995, 0.27122, 0.20298, 0.10296, 0.014595, 0.056312, 0.23217, 0.0096903, 0.0068536, 0.025812, 0.065126, 0.0044716, 1.0827e-05, 0.00056301, 0.0057276, 0.0014942, 0.059241, 0.017638, 0.28781, 0.32287, 0.12895, 0.01429, 0.13721, 1.4748e-05, 0.023213, 0.0021826, 0.0065626, 1, 1, 1, 1, 0.058332, 0.12167, 0.029276, 0.73419, 0.049089, 7.3651e-05, 0.007402, 0.00032726, 0.9124, 0.015054, 0.072106, 0.0002531, 0.99975, 0.00032237, 0.99968, 0.87954, 0.095803, 0.024425, 0.065171, 0.26513, 0.0063817, 0.068652, 0.075711, 0.44663, 0.027944, 0.042738, 0.0015471, 0.00016554, 0.3607, 0.63897, 1, 1, 1, 1, 1, 0.029766, 0.13186, 0.023259, 0.027329, 5.5379e-05, 0.3367, 0.17242, 0.22348, 0.0047072, 0.0042365, 0.00016614, 0.045964, 2.7689e-05, 0.97723, 0.016518, 0.0062474, 0.025866, 0.97413, 0.11627, 0.0381, 0.00015179, 0.00015179, 0.019581, 0.022162, 0.040225, 0.73512, 0.015179, 0.0066788, 0.0062234, 1, 0.68179, 0.31811, 0.76117, 0.15117, 0.033569, 0.038272, 0.012829, 0.00085525, 0.0021381, 0.11951, 0.015904, 0.14522, 0.067472, 0.26648, 0.25721, 0.02417, 0.055531, 0.0096107, 0.0010579, 0.029065, 0.0083377, 0.00044826, 0.054273, 0.023136, 0.0015798, 0.40402, 0.00020384, 0.053814, 0.052031, 0.067829, 0.0057076, 0.33731, 1, 0.12447, 0.13364, 0.15694, 0.5254, 0.026117, 0.028557, 0.0049141, 0.00024628, 0.067972, 0.095432, 0.00012314, 0.028568, 0.019333, 0.77626, 0.012067, 0.21266, 0.047137, 0.24906, 0.084219, 0.15442, 0.1252, 0.07553, 0.023489, 0.0073639, 0.0069127, 0.0014116, 0.00011642, 0.0025613, 0.0031435, 0.0067817, 0.097278, 0.53144, 0.073344, 0.29787, 0.056544, 0.0095514, 0.20923, 0.66423, 0.026389, 0.016647, 0.011216, 0.0061674, 1, 1, 1, 0.99954, 0.00045767, 0.13705, 0.0068681, 0.037088, 0.01437, 0.0597, 0.021555, 0.009721, 0.71355, 0.0017965, 0.040322, 0.030741, 0.0095815, 0.35245, 0.38353, 0.021891, 0.0074523, 0.007918, 0.14312, 0.0011977, 0.16856, 0.56864, 0.21121, 0.051178, 0.3909, 0.20195, 0.15913, 0.16615, 8.679e-05, 0.013366, 0.022074, 0.011095, 0.027961, 0.0029943, 7.2325e-05, 0.0042383, 0.1997, 0.084525, 0.70295, 0.012632, 0.00018577, 0.17401, 0.24653, 0.27376, 0.066431, 0.023124, 0.12751, 0.020512, 0.024627, 0.0026346, 0.028234, 0.010821, 0.0017753, 1, 0.99076, 0.0092368, 0.33173, 0.043048, 0.62514, 8.3833e-05, 1, 0.13236, 0.01616, 0.79646, 0.054829, 0.082278, 0.91772, 0.23196, 0.085608, 0.054676, 0.11067, 0.11608, 0.21158, 0.074539, 0.021838, 0.028302, 0.050635, 0.0030107, 0.0017218, 0.0072122, 0.0021755, 1, 0.22388, 0.033633, 0.047992, 0.082742, 0.067533, 0.23645, 0.088221, 0.080007, 0.085435, 0.037197, 0.0067595, 0.0011675, 0.0065956, 0.0023863, 1, 0.10814, 0.086691, 0.6793, 0.12499, 0.0007946, 0.0035842, 0.99642, 0.16078, 0.23639, 0.12268, 0.0074807, 0.027544, 0.42256, 0.022519, 0.10455, 0.0078584, 0.020112, 0.84213, 0.025263, 8.7316e-05, 0.96233, 0.037469, 0.26729, 0.016331, 0.013314, 0.041384, 0.0051298, 0.018425, 0.021461, 0.023862, 0.5807, 0.012104, 1, 1, 0.15771, 0.10468, 0.038002, 0.041453, 0.50331, 0.14708, 0.0062197, 0.00027339, 0.00010252, 0.0011619, 1, 0.22568, 0.13359, 0.56409, 0.036149, 0.03435, 0.0061924, 0.055047, 0.088302, 0.25024, 0.15956, 0.3429, 0.069695, 0.015346, 0.018182, 0.00074305, 0.81481, 0.14815, 0.037037, 0.17269, 0.3013, 0.18288, 0.12434, 0.073874, 0.012659, 0.012992, 0.048172, 0.030729, 0.018507, 0.020495, 0.0013595, 1, 1, 0.055803, 0.37819, 0.093794, 0.040459, 0.17807, 0.13293, 0.012318, 0.0025583, 0.030018, 0.042645, 0.0092863, 0.022434, 0.0014892, 1, 0.001418, 0.99319, 0.0053885, 0.029801, 0.03528, 0.023386, 0.035547, 0.018976, 0.85701, 0.31546, 0.12681, 0.12712, 0.036623, 0.24693, 0.0051938, 0.041597, 0.066386, 0.019954, 0.012701, 0.0012146, 1, 0.48878, 0.071772, 0.34402, 0.035907, 0.054571, 2.09e-05, 0.0049116, 0.07844, 0.29813, 0.082242, 0.057527, 0.024152, 0.39417, 0.00098578, 0.0040135, 0.060344, 1, 0.18177, 0.26889, 0.014888, 0.34534, 0.020999, 0.038797, 0.0082202, 0.08225, 0.0040737, 0.032832, 0.0019399, 1, 0.0050505, 0.0050505, 0.9899, 0.75, 0.25, 0.33665, 0.15932, 0.0087298, 0.37349, 0.018245, 0.045599, 0.035792, 0.0023279, 0.019817, 0.97978, 0.020221, 0.04012, 0.94674, 0.0011529, 0.01199, 0.053846, 0.86923, 0.076923, 0.22105, 0.62211, 0.062943, 0.044431, 0.049462, 0.023878, 0.048722, 0.9274, 0.046156, 0.49514, 0.20538, 0.098747, 0.13808, 0.016493, 0.044432, 0.061743, 0.88748, 0.0060589, 0.11885, 0.83698, 0.030965, 0.013206, 1, 0.084607, 0.13359, 0.32667, 0.17914, 0.17427, 0.039434, 0.030706, 0.011621, 0.013993, 0.00069571, 0.0052652, 0.076923, 0.65385, 0.019231, 0.096154, 0.15385, 0.1272, 0.077999, 0.046616, 0.74819, 3.3874e-05, 0.11395, 0.61058, 0.1543, 0.074388, 0.043291, 0.0034552, 0.040537, 0.12507, 0.024576, 0.025927, 0.1374, 0.63145, 0.014948, 0.26904, 0.026681, 0.017976, 0.0087057, 0.0058844, 0.06223, 0.026816, 0.52987, 8.0608e-05, 0.0048365, 0.045786, 0.0020689, 0.00080451, 0.074014, 0.92518, 0.2627, 0.40545, 0.081798, 0.11376, 0.014432, 0.02679, 0.018607, 0.049756, 0.026694, 1, 0.036821, 0.55141, 0.2317, 0.022003, 0.15761, 0.87143, 0.12857, 0.058071, 0.13881, 0.0691, 0.60679, 0.1129, 0.0071695, 0.0043749, 0.0027613, 0.00013604, 0.94844, 0.046524, 0.0048973, 1, 0.1078, 0.26267, 0.00038374, 0.25903, 0.05059, 0.0097215, 0.0071312, 0.10383, 0.19884, 0.020833, 0.97917, 0.15585, 0.003128, 0.003672, 0.014144, 0.8232, 0.12893, 0.87107, 1, 1, 0.00041459, 0.16978, 0.76347, 0.061153, 0.0049751, 0.047742, 0.29251, 0.17998, 0.42337, 0.028992, 0.013449, 0.013966, 0.089307, 0.89122, 0.016619, 0.00033574, 0.0023502, 1, 0.06422, 0.0040646, 0.91139, 0.020323, 1, 1, 0.97227, 0.027727, 0.09666, 0.29044, 0.50541, 0.0039048, 0.093816, 0.0097721, 1, 0.083665, 0.014188, 0.37921, 3.486e-05, 0.44394, 0.01363, 0.02754, 0.025448, 0.012341, 0.018919, 0.98108, 0.024601, 0.9754, 0.15426, 0.16344, 0.064765, 0.61741, 0.20549, 0.028237, 0.14034, 7.0592e-05, 0.012212, 0.095934, 0.013977, 0.50367, 7.0592e-05, 1, 0.77259, 0.22741, 0.58781, 0.20298, 0.16105, 0.048124, 0.18374, 0.3499, 0.22563, 0.038767, 0.042452, 0.015991, 0.13179, 0.011752, 0.22215, 0.5392, 0.00034388, 0.16747, 0.070495, 0.56566, 0.10048, 0.14195, 0.044125, 0.14726, 0.00053163, 0.00082169, 0.99918, 1, 0.53917, 0.25613, 0.010145, 0.027484, 0.0047432, 0.0089857, 0.013097, 0.07265, 0.065588, 0.0019763, 0.71689, 0.018733, 0.05679, 0.047241, 0.0095483, 0.018574, 0.016073, 0.035397, 0.080728, 0.035923, 0.47248, 0.3343, 0.022355, 0.0073537, 0.066788, 0.059227, 0.0015709, 1, 0.17573, 0.36376, 0.20996, 0.053511, 0.087297, 0.02951, 0.018586, 0.016713, 0.044913, 0.0088257, 0.087694, 0.29538, 0.097959, 0.11805, 0.39065, 0.0014397, 0.52746, 0.061201, 0.040033, 0.0063567, 0.36486, 6.1716e-05, 2.0572e-05, 1, 0.21124, 0.2383, 0.22711, 0.032862, 0.058831, 0.051275, 0.044836, 0.10094, 0.024566, 0.0070165, 0.0013648, 0.0016655, 0.11009, 0.16539, 0.047436, 0.11155, 0.063213, 0.25992, 0.096748, 0.084528, 0.056057, 0.0040734, 0.001013, 0.64463, 0.32231, 0.033058, 0.30745, 0.29319, 0.1675, 0.14882, 0.044077, 0.022332, 0.0083321, 0.0064845, 0.0018121, 1, 0.21164, 0.19664, 0.42929, 0.014314, 0.028306, 0.033821, 0.08599, 0.041505, 0.24885, 0.19137, 4.551e-05, 0.088154, 0.066491, 0.35412, 0.0082374, 0.0011833, 0.028497, 0.95207, 0.01943, 0.084572, 0.015753, 0.022152, 0.70139, 0.02609, 0.15004, 1, 0.0015837, 0.0022624, 0.99615, 1, 0.064022, 0.025299, 0.14869, 0.012076, 0.14808, 0.010996, 0.0011469, 0.030223, 0.006409, 0.31633, 0.039061, 0.19767, 1, 0.011725, 0.20362, 0.038473, 0.14228, 0.49744, 0.020974, 0.085489, 0.033506, 0.31078, 9.4118e-05, 0.018729, 0.048941, 0.42108, 0.010918, 0.15595, 1, 0.00042427, 0.00042427, 0.99915, 0.0020525, 0.99754, 0.00041051, 9.4384e-05, 0.039264, 0.02369, 0.22076, 0.057008, 0.084946, 0.44889, 0.0067013, 0.11855, 1, 0.96658, 0.029909, 0.0035111, 0.082429, 0.041608, 0.12592, 0.0077867, 0.067563, 0.00015731, 0.00023596, 0.39405, 0.014158, 0.017854, 0.0071575, 0.24115, 0.00029595, 0.93312, 0.051495, 0.015093, 0.14872, 0.84051, 0.010516, 0.05789, 0.0061142, 0.085599, 0.067386, 0.024457, 0.061402, 0.66606, 0.0088461, 0.022115, 1, 0.078825, 0.49267, 0.28821, 0.0097844, 0.1255, 0.0050135, 0.16583, 0.3238, 0.25042, 0.11571, 0.037398, 0.020453, 0.018619, 0.0076071, 0.037056, 0.0014235, 0.021682, 1.1388e-05, 1, 0.030997, 0.6684, 0.075608, 0.12051, 0.082464, 0.022016, 0.02298, 0.16272, 0.25916, 0.51034, 0.0063532, 0.038444, 1, 0.083333, 0.91667, 0.19132, 0.042755, 0.18375, 0.21217, 0.093407, 0.033388, 0.0010444, 0.17598, 0.018342, 0.019093, 0.02859, 0.00016319, 1, 1 ] | |
}, | |
"R": 30, | |
"lambda.step": 0.01, | |
"plot.opts": { | |
"xlab": "PC1", | |
"ylab": "PC2" | |
}, | |
"topic.order": [ 14, 15, 19, 6, 9, 13, 20, 17, 4, 2, 5, 1, 3, 16, 18, 10, 12, 11, 8, 7 ] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDAvis = function(to_select, json_file) { | |
// This section sets up the logic for event handling | |
var current_clicked = { | |
what: "nothing", | |
element: undefined | |
}, | |
current_hover = { | |
what: "nothing", | |
element: undefined | |
}, | |
old_winning_state = { | |
what: "nothing", | |
element: undefined | |
}, | |
vis_state = { | |
lambda: 1, | |
topic: 0, | |
term: "" | |
}; | |
// Set up a few 'global' variables to hold the data: | |
var K, // number of topics | |
R, // number of terms to display in bar chart | |
mdsData, // (x,y) locations and topic proportions | |
mdsData3, // topic proportions for all terms in the viz | |
lamData, // all terms that are among the top-R most relevant for all topics, lambda values | |
lambda = { | |
old: 1, | |
current: 1 | |
}, | |
color1 = "#1f77b4", // baseline color for default topic circles and overall term frequencies | |
color2 = "#d62728"; // 'highlight' color for selected topics and term-topic frequencies | |
// Set the duration of each half of the transition: | |
var duration = 750; | |
// Set global margins used for everything | |
var margin = { | |
top: 30, | |
right: 30, | |
bottom: 70, | |
left: 30 | |
}, | |
mdswidth = 530, | |
mdsheight = 530, | |
barwidth = 530, | |
barheight = 530, | |
termwidth = 90, // width to add between two panels to display terms | |
mdsarea = mdsheight * mdswidth; | |
// controls how big the maximum circle can be | |
// doesn't depend on data, only on mds width and height: | |
var rMax = 60; | |
// proportion of area of MDS plot to which the sum of default topic circle areas is set | |
var circle_prop = 0.25; | |
var word_prop = 0.25; | |
// opacity of topic circles: | |
var base_opacity = 0.2, | |
highlight_opacity = 0.6; | |
// topic/lambda selection names are specific to *this* vis | |
var topic_select = to_select + "-topic"; | |
var lambda_select = to_select + "-lambda"; | |
// get rid of the # in the to_select (useful) for setting ID values | |
var parts = to_select.split("#"); | |
var visID = parts[parts.length - 1]; | |
var topicID = visID + "-topic"; | |
var lambdaID = visID + "-lambda"; | |
var termID = visID + "-term"; | |
var topicDown = topicID + "-down"; | |
var topicUp = topicID + "-up"; | |
var topicClear = topicID + "-clear"; | |
////////////////////////////////////////////////////////////////////////////// | |
// sort array according to a specified object key name | |
// Note that default is decreasing sort, set decreasing = -1 for increasing | |
// adpated from http://stackoverflow.com/questions/16648076/sort-array-on-key-value | |
function fancysort(key_name, decreasing) { | |
decreasing = (typeof decreasing === "undefined") ? 1 : decreasing; | |
return function(a, b) { | |
if (a[key_name] < b[key_name]) | |
return 1 * decreasing; | |
if (a[key_name] > b[key_name]) | |
return -1 * decreasing; | |
return 0; | |
}; | |
} | |
// The actual read-in of the data and main code: | |
d3.json(json_file, function(error, data) { | |
// set the number of topics to global variable K: | |
K = data['mdsDat'].x.length; | |
// R is the number of top relevant (or salient) words whose bars we display | |
R = data['R']; | |
// a (K x 5) matrix with columns x, y, topics, Freq, cluster (where x and y are locations for left panel) | |
mdsData = []; | |
for (var i = 0; i < K; i++) { | |
var obj = {}; | |
for (var key in data['mdsDat']) { | |
obj[key] = data['mdsDat'][key][i]; | |
} | |
mdsData.push(obj); | |
} | |
// a huge matrix with 3 columns: Term, Topic, Freq, where Freq is all non-zero probabilities of topics given terms | |
// for the terms that appear in the barcharts for this data | |
mdsData3 = []; | |
for (var i = 0; i < data['token.table'].Term.length; i++) { | |
var obj = {}; | |
for (var key in data['token.table']) { | |
obj[key] = data['token.table'][key][i]; | |
} | |
mdsData3.push(obj); | |
} | |
// large data for the widths of bars in bar-charts. 6 columns: Term, logprob, loglift, Freq, Total, Category | |
// Contains all possible terms for topics in (1, 2, ..., k) and lambda in the user-supplied grid of lambda values | |
// which defaults to (0, 0.01, 0.02, ..., 0.99, 1). | |
lamData = []; | |
for (var i = 0; i < data['tinfo'].Term.length; i++) { | |
var obj = {}; | |
for (var key in data['tinfo']) { | |
obj[key] = data['tinfo'][key][i]; | |
} | |
lamData.push(obj); | |
} | |
// Create the topic input & lambda slider forms. Inspired from: | |
// http://bl.ocks.org/d3noob/10632804 | |
// http://bl.ocks.org/d3noob/10633704 | |
init_forms(topicID, lambdaID, visID); | |
// When the value of lambda changes, update the visualization | |
d3.select(lambda_select) | |
.on("mouseup", function() { | |
// store the previous lambda value | |
lambda.old = lambda.current; | |
lambda.current = document.getElementById(lambdaID).value; | |
vis_state.lambda = +this.value; | |
// adjust the text on the range slider | |
d3.select(lambda_select).property("value", vis_state.lambda); | |
d3.select(lambda_select + "-value").text(vis_state.lambda); | |
// transition the order of the bars | |
var increased = lambda.old < vis_state.lambda; | |
if (vis_state.topic > 0) reorder_bars(increased); | |
// store the current lambda value | |
state_save(true); | |
document.getElementById(lambdaID).value = vis_state.lambda; | |
}); | |
d3.select("#" + topicUp) | |
.on("click", function() { | |
// remove term selection if it exists (from a saved URL) | |
var termElem = document.getElementById(termID + vis_state.term); | |
if (termElem !== undefined) term_off(termElem); | |
vis_state.term = ""; | |
var value_old = document.getElementById(topicID).value; | |
var value_new = Math.min(K, +value_old + 1).toFixed(0); | |
// increment the value in the input box | |
document.getElementById(topicID).value = value_new; | |
topic_off(document.getElementById(topicID + value_old)); | |
topic_on(document.getElementById(topicID + value_new)); | |
vis_state.topic = value_new; | |
state_save(true); | |
}) | |
d3.select("#" + topicDown) | |
.on("click", function() { | |
// remove term selection if it exists (from a saved URL) | |
var termElem = document.getElementById(termID + vis_state.term); | |
if (termElem !== undefined) term_off(termElem); | |
vis_state.term = ""; | |
var value_old = document.getElementById(topicID).value; | |
var value_new = Math.max(0, +value_old - 1).toFixed(0); | |
// increment the value in the input box | |
document.getElementById(topicID).value = value_new; | |
topic_off(document.getElementById(topicID + value_old)); | |
topic_on(document.getElementById(topicID + value_new)); | |
vis_state.topic = value_new; | |
state_save(true); | |
}) | |
d3.select("#" + topicID) | |
.on("keyup", function() { | |
// remove term selection if it exists (from a saved URL) | |
var termElem = document.getElementById(termID + vis_state.term); | |
if (termElem !== undefined) term_off(termElem); | |
vis_state.term = ""; | |
topic_off(document.getElementById(topicID + vis_state.topic)) | |
var value_new = document.getElementById(topicID).value; | |
if (!isNaN(value_new) && value_new > 0) { | |
value_new = Math.min(K, Math.max(1, value_new)) | |
topic_on(document.getElementById(topicID + value_new)); | |
vis_state.topic = value_new; | |
state_save(true); | |
document.getElementById(topicID).value = vis_state.topic; | |
} | |
}) | |
d3.select("#" + topicClear) | |
.on("click", function() { | |
state_reset(); | |
state_save(true); | |
}) | |
// create linear scaling to pixels (and add some padding on outer region of scatterplot) | |
var xrange = d3.extent(mdsData, function(d) { | |
return d.x; | |
}); //d3.extent returns min and max of an array | |
var xdiff = xrange[1] - xrange[0], | |
xpad = 0.05; | |
var yrange = d3.extent(mdsData, function(d) { | |
return d.y; | |
}); | |
var ydiff = yrange[1] - yrange[0], | |
ypad = 0.05; | |
if (xdiff > ydiff) { | |
var xScale = d3.scale.linear() | |
.range([0, mdswidth]) | |
.domain([xrange[0] - xpad * xdiff, xrange[1] + xpad * xdiff]); | |
var yScale = d3.scale.linear() | |
.range([mdsheight, 0]) | |
.domain([yrange[0] - 0.5*(xdiff - ydiff) - ypad*xdiff, yrange[1] + 0.5*(xdiff - ydiff) + ypad*xdiff]); | |
} else { | |
var xScale = d3.scale.linear() | |
.range([0, mdswidth]) | |
.domain([xrange[0] - 0.5*(ydiff - xdiff) - xpad*ydiff, xrange[1] + 0.5*(ydiff - xdiff) + xpad*ydiff]); | |
var yScale = d3.scale.linear() | |
.range([mdsheight, 0]) | |
.domain([yrange[0] - ypad * ydiff, yrange[1] + ypad * ydiff]); | |
} | |
// Create new svg element (that will contain everything): | |
var svg = d3.select(to_select).append("svg") | |
.attr("width", mdswidth + barwidth + margin.left + termwidth + margin.right) | |
.attr("height", mdsheight + 2 * margin.top + margin.bottom + 2 * rMax); | |
// Create a group for the mds plot | |
var mdsplot = svg.append("g") | |
.attr("id", "leftpanel") | |
.attr("class", "points") | |
.attr("transform", "translate(" + margin.left + "," + 2 * margin.top + ")"); | |
// Clicking on the mdsplot should clear the selection | |
mdsplot | |
.append("rect") | |
.attr("x", 0) | |
.attr("y", 0) | |
.attr("height", mdsheight) | |
.attr("width", mdswidth) | |
.style("fill", color1) | |
.attr("opacity", 0) | |
.on("click", function() { | |
state_reset(); | |
state_save(true); | |
}); | |
mdsplot.append("line") // draw x-axis | |
.attr("x1", 0) | |
.attr("x2", mdswidth) | |
.attr("y1", mdsheight / 2) | |
.attr("y2", mdsheight / 2) | |
.attr("stroke", "gray") | |
.attr("opacity", 0.3); | |
mdsplot.append("text") // label x-axis | |
.attr("x", 0) | |
.attr("y", mdsheight/2 - 5) | |
.text(data['plot.opts'].xlab) | |
.attr("fill", "gray"); | |
mdsplot.append("line") // draw y-axis | |
.attr("x1", mdswidth / 2) | |
.attr("x2", mdswidth / 2) | |
.attr("y1", 0) | |
.attr("y2", mdsheight) | |
.attr("stroke", "gray") | |
.attr("opacity", 0.3); | |
mdsplot.append("text") // label y-axis | |
.attr("x", mdswidth/2 + 5) | |
.attr("y", 7) | |
.text(data['plot.opts'].ylab) | |
.attr("fill", "gray"); | |
// new definitions based on fixing the sum of the areas of the default topic circles: | |
var newSmall = Math.sqrt(0.02*mdsarea*circle_prop/Math.PI); | |
var newMedium = Math.sqrt(0.05*mdsarea*circle_prop/Math.PI); | |
var newLarge = Math.sqrt(0.10*mdsarea*circle_prop/Math.PI); | |
var cx = 10 + newLarge, | |
cx2 = cx + 1.5 * newLarge; | |
// circle guide inspired from | |
// http://www.nytimes.com/interactive/2012/02/13/us/politics/2013-budget-proposal-graphic.html?_r=0 | |
circleGuide = function(rSize, size) { | |
d3.select("#leftpanel").append("circle") | |
.attr('class', "circleGuide" + size) | |
.attr('r', rSize) | |
.attr('cx', cx) | |
.attr('cy', mdsheight + rSize) | |
.style('fill', 'none') | |
.style('stroke-dasharray', '2 2') | |
.style('stroke', '#999'); | |
d3.select("#leftpanel").append("line") | |
.attr('class', "lineGuide" + size) | |
.attr("x1", cx) | |
.attr("x2", cx2) | |
.attr("y1", mdsheight + 2 * rSize) | |
.attr("y2", mdsheight + 2 * rSize) | |
.style("stroke", "gray") | |
.style("opacity", 0.3); | |
} | |
circleGuide(newSmall, "Small"); | |
circleGuide(newMedium, "Medium"); | |
circleGuide(newLarge, "Large"); | |
var defaultLabelSmall = "2%"; | |
var defaultLabelMedium = "5%"; | |
var defaultLabelLarge = "10%"; | |
d3.select("#leftpanel").append("text") | |
.attr("x", 10) | |
.attr("y", mdsheight - 10) | |
.attr('class', "circleGuideTitle") | |
.style("text-anchor", "left") | |
.style("fontWeight", "bold") | |
.text("Marginal topic distribtion"); | |
d3.select("#leftpanel").append("text") | |
.attr("x", cx2 + 10) | |
.attr("y", mdsheight + 2 * newSmall) | |
.attr('class', "circleGuideLabelSmall") | |
.style("text-anchor", "start") | |
.text(defaultLabelSmall); | |
d3.select("#leftpanel").append("text") | |
.attr("x", cx2 + 10) | |
.attr("y", mdsheight + 2 * newMedium) | |
.attr('class', "circleGuideLabelMedium") | |
.style("text-anchor", "start") | |
.text(defaultLabelMedium); | |
d3.select("#leftpanel").append("text") | |
.attr("x", cx2 + 10) | |
.attr("y", mdsheight + 2 * newLarge) | |
.attr('class', "circleGuideLabelLarge") | |
.style("text-anchor", "start") | |
.text(defaultLabelLarge); | |
// bind mdsData to the points in the left panel: | |
var points = mdsplot.selectAll("points") | |
.data(mdsData) | |
.enter(); | |
// text to indicate topic | |
points.append("text") | |
.attr("class", "txt") | |
.attr("x", function(d) { | |
return (xScale(+d.x)); | |
}) | |
.attr("y", function(d) { | |
return (yScale(+d.y) + 4); | |
}) | |
.attr("stroke", "black") | |
.attr("opacity", 1) | |
.style("text-anchor", "middle") | |
.style("font-size", "11px") | |
.style("fontWeight", 100) | |
.text(function(d) { | |
return d.topics; | |
}); | |
// draw circles | |
points.append("circle") | |
.attr("class", "dot") | |
.style("opacity", 0.2) | |
.style("fill", color1) | |
.attr("r", function(d) { | |
//return (rScaleMargin(+d.Freq)); | |
return (Math.sqrt((d.Freq/100)*mdswidth*mdsheight*circle_prop/Math.PI)); | |
}) | |
.attr("cx", function(d) { | |
return (xScale(+d.x)); | |
}) | |
.attr("cy", function(d) { | |
return (yScale(+d.y)); | |
}) | |
.attr("stroke", "black") | |
.attr("id", function(d) { | |
return (topicID + d.topics) | |
}) | |
.on("mouseover", function(d) { | |
var old_topic = topicID + vis_state.topic; | |
if (vis_state.topic > 0 && old_topic != this.id) { | |
topic_off(document.getElementById(old_topic)); | |
} | |
topic_on(this); | |
}) | |
.on("click", function(d) { | |
// prevent click event defined on the div container from firing | |
// http://bl.ocks.org/jasondavies/3186840 | |
d3.event.stopPropagation(); | |
var old_topic = topicID + vis_state.topic; | |
if (vis_state.topic > 0 && old_topic != this.id) { | |
topic_off(document.getElementById(old_topic)); | |
} | |
// make sure topic input box value and fragment reflects clicked selection | |
document.getElementById(topicID).value = vis_state.topic = d.topics; | |
state_save(true); | |
topic_on(this); | |
}) | |
.on("mouseout", function(d) { | |
if (vis_state.topic != d.topics) topic_off(this); | |
if (vis_state.topic > 0) topic_on(document.getElementById(topicID + vis_state.topic)); | |
}); | |
svg.append("text") | |
.text("Intertopic Distance Map (via multidimensional scaling)") | |
.attr("x", mdswidth/2 + margin.left) | |
.attr("y", 30) | |
.style("font-size", "16px") | |
.style("text-anchor", "middle"); | |
// establish layout and vars for bar chart | |
var barDefault2 = lamData.filter(function(d) { | |
return d.Category == "Default" | |
}); | |
var y = d3.scale.ordinal() | |
.domain(barDefault2.map(function(d) { | |
return d.Term; | |
})) | |
.rangeRoundBands([0, barheight], 0.15); | |
var x = d3.scale.linear() | |
.domain([1, d3.max(barDefault2, function(d) { | |
return d.Total; | |
})]) | |
.range([0, barwidth]) | |
.nice(); | |
var yAxis = d3.svg.axis() | |
.scale(y); | |
// Add a group for the bar chart | |
var chart = svg.append("g") | |
.attr("transform", "translate(" + +(mdswidth + margin.left + termwidth) + "," + 2 * margin.top + ")") | |
.attr("id", "bar-freqs"); | |
// bar chart legend/guide: | |
var barguide = {"width": 100, "height": 15}; | |
d3.select("#bar-freqs").append("rect") | |
.attr("x", 0) | |
.attr("y", mdsheight + 10) | |
.attr("height", barguide.height) | |
.attr("width", barguide.width) | |
.style("fill", color1) | |
.attr("opacity", 0.4); | |
d3.select("#bar-freqs").append("text") | |
.attr("x", barguide.width + 5) | |
.attr("y", mdsheight + 10 + barguide.height/2) | |
.style("dominant-baseline", "middle") | |
.text("Overall term frequency"); | |
d3.select("#bar-freqs").append("rect") | |
.attr("x", 0) | |
.attr("y", mdsheight + 10 + barguide.height + 5) | |
.attr("height", barguide.height) | |
.attr("width", barguide.width/2) | |
.style("fill", color2) | |
.attr("opacity", 0.8); | |
d3.select("#bar-freqs").append("text") | |
.attr("x", barguide.width/2 + 5) | |
.attr("y", mdsheight + 10 + (3/2)*barguide.height + 5) | |
.style("dominant-baseline", "middle") | |
.text("Estimated term frequency within the selected topic"); | |
// footnotes: | |
d3.select("#bar-freqs") | |
.append("a") | |
.attr("xlink:href", "http://vis.stanford.edu/files/2012-Termite-AVI.pdf") | |
.attr("target", "_blank") | |
.append("text") | |
.attr("x", 0) | |
.attr("y", mdsheight + 10 + (6/2)*barguide.height + 5) | |
.style("dominant-baseline", "middle") | |
.text("1. saliency(term w) = frequency(w) * [sum_t p(t | w) * log(p(t | w)/p(t))] for topics t; see Chuang et. al (2012)"); | |
d3.select("#bar-freqs") | |
.append("a") | |
.attr("xlink:href", "http://nlp.stanford.edu/events/illvi2014/papers/sievert-illvi2014.pdf") | |
.attr("target", "_blank") | |
.append("text") | |
.attr("x", 0) | |
.attr("y", mdsheight + 10 + (8/2)*barguide.height + 5) | |
.style("dominant-baseline", "middle") | |
.text("2. relevance(term w | topic t) = \u03BB * p(w | t) + (1 - \u03BB) * p(w | t)/p(w); see Sievert & Shirley (2014)"); | |
// Bind 'default' data to 'default' bar chart | |
var basebars = chart.selectAll(".bar-totals") | |
.data(barDefault2) | |
.enter(); | |
// Draw the gray background bars defining the overall frequency of each word | |
basebars | |
.append("rect") | |
.attr("class", "bar-totals") | |
.attr("x", 0) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.attr("height", y.rangeBand()) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}) | |
.style("fill", color1) | |
.attr("opacity", 0.4); | |
// Add word labels to the side of each bar | |
basebars | |
.append("text") | |
.attr("x", -5) | |
.attr("class", "terms") | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}) | |
.attr("cursor", "pointer") | |
.attr("id", function(d) { | |
return (termID + d.Term) | |
}) | |
.style("text-anchor", "end") // right align text - use 'middle' for center alignment | |
.text(function(d) { | |
return d.Term; | |
}) | |
.on("mouseover", function() { | |
term_hover(this); | |
}) | |
// .on("click", function(d) { | |
// var old_term = termID + vis_state.term; | |
// if (vis_state.term != "" && old_term != this.id) { | |
// term_off(document.getElementById(old_term)); | |
// } | |
// vis_state.term = d.Term; | |
// state_save(true); | |
// term_on(this); | |
// debugger; | |
// }) | |
.on("mouseout", function() { | |
vis_state.term = ""; | |
term_off(this); | |
state_save(true); | |
}); | |
var title = chart.append("text") | |
.attr("x", barwidth/2) | |
.attr("y", -30) | |
.attr("class", "bubble-tool") // set class so we can remove it when highlight_off is called | |
.style("text-anchor", "middle") | |
.style("font-size", "16px") | |
.text("Top-" + R + " Most Salient Terms"); | |
title.append("tspan") | |
.attr("baseline-shift", "super") | |
.attr("font-size", "12px") | |
.text("(1)"); | |
// barchart axis adapted from http://bl.ocks.org/mbostock/1166403 | |
var xAxis = d3.svg.axis().scale(x) | |
.orient("top") | |
.tickSize(-barheight) | |
.tickSubdivide(true) | |
.ticks(6); | |
chart.attr("class", "xaxis") | |
.call(xAxis); | |
// dynamically create the topic and lambda input forms at the top of the page: | |
function init_forms(topicID, lambdaID, visID) { | |
// create container div for topic and lambda input: | |
var inputDiv = document.createElement("div"); | |
inputDiv.setAttribute("id", "top"); | |
// insert the input container just before the vis: | |
var visDiv = document.getElementById(visID); | |
document.body.insertBefore(inputDiv, visDiv); | |
// topic input container: | |
var topicDiv = document.createElement("div"); | |
topicDiv.setAttribute("style", "padding: 5px; background-color: #e8e8e8; position: absolute; top: 10px; left: 38px; height: 40px; width: " + mdswidth + "px; display: inline-block"); | |
inputDiv.appendChild(topicDiv); | |
var topicLabel = document.createElement("label"); | |
topicLabel.setAttribute("for", topicID); | |
topicLabel.setAttribute("style", "font-family: sans-serif; font-size: 14px"); | |
topicLabel.innerHTML = "Selected Topic: <span id='" + topicID + "-value'></span>"; | |
topicDiv.appendChild(topicLabel); | |
var topicInput = document.createElement("input"); | |
topicInput.setAttribute("style", "width: 50px"); | |
topicInput.type = "text"; | |
topicInput.min = "0"; | |
topicInput.max = K; // assumes the data has already been read in | |
topicInput.step = "1"; | |
topicInput.value = "0"; // a value of 0 indicates no topic is selected | |
topicInput.id = topicID; | |
topicDiv.appendChild(topicInput); | |
var previous = document.createElement("button"); | |
previous.setAttribute("id", topicDown); | |
previous.setAttribute("style", "margin-left: 5px"); | |
previous.innerHTML = "Previous Topic"; | |
topicDiv.appendChild(previous); | |
var next = document.createElement("button"); | |
next.setAttribute("id", topicUp); | |
next.setAttribute("style", "margin-left: 5px"); | |
next.innerHTML = "Next Topic"; | |
topicDiv.appendChild(next); | |
var clear = document.createElement("button"); | |
clear.setAttribute("id", topicClear); | |
clear.setAttribute("style", "margin-left: 5px"); | |
clear.innerHTML = "Clear Topic"; | |
topicDiv.appendChild(clear); | |
// lambda inputs | |
var lambdaDivLeft = 8 + mdswidth + margin.left + termwidth; | |
var lambdaDivWidth = barwidth; | |
var lambdaDiv = document.createElement("div"); | |
lambdaDiv.setAttribute("id", "lambdaInput"); | |
lambdaDiv.setAttribute("style", "padding: 5px; background-color: #e8e8e8; position: absolute; top: 10px; left: " + | |
lambdaDivLeft + "px; height: 50px; width: " + lambdaDivWidth + "px"); | |
inputDiv.appendChild(lambdaDiv); | |
var lambdaZero = document.createElement("div"); | |
lambdaZero.setAttribute("style", "padding: 5px; height: 20px; width: 220px; font-family: sans-serif; position: absolute; top: 0px; left: 0px;"); | |
lambdaZero.setAttribute("id", "lambdaZero"); | |
lambdaDiv.appendChild(lambdaZero); | |
var xx = d3.select("#lambdaZero") | |
.append("text") | |
.attr("x", 0) | |
.attr("y", 0) | |
.style("font-size", "14px") | |
.text("Slide to adjust relevance metric:"); | |
var yy = d3.select("#lambdaZero") | |
.append("text") | |
.attr("x", 125) | |
.attr("y", -5) | |
.style("font-size", "10px") | |
.style("position", "absolute") | |
.text("(2)"); | |
var lambdaLabel = document.createElement("label"); | |
lambdaLabel.setAttribute("for", lambdaID); | |
lambdaLabel.setAttribute("style", "height: 20px; width: 60px; position: absolute; top: 25px; left: 90px; font-family: sans-serif; font-size: 14px"); | |
lambdaLabel.innerHTML = "λ = <span id='" + lambdaID + "-value'>" + vis_state.lambda + "</span>"; | |
lambdaDiv.appendChild(lambdaLabel); | |
var sliderDiv = document.createElement("div"); | |
sliderDiv.setAttribute("id", "sliderdiv"); | |
sliderDiv.setAttribute("style", "padding: 5px; height: 40px; position: absolute; top:0px; left: 240px; width: 250px"); | |
lambdaDiv.appendChild(sliderDiv); | |
var lambdaInput = document.createElement("input"); | |
lambdaInput.setAttribute("style", "width: 250px; margin-top: -20px; margin-left: 0px; margin-right: 0px"); | |
lambdaInput.type = "range"; | |
lambdaInput.min = 0; | |
lambdaInput.max = 1; | |
lambdaInput.step = data['lambda.step']; | |
lambdaInput.value = vis_state.lambda; | |
lambdaInput.id = lambdaID; | |
lambdaInput.setAttribute("list", "ticks"); // to enable automatic ticks (with no labels, see below) | |
sliderDiv.appendChild(lambdaInput); | |
// Create the svg to contain the slider scale: | |
var scaleContainer = d3.select("#sliderdiv").append("svg") | |
.attr("width", 250) | |
.attr("height", 25); | |
var sliderScale = d3.scale.linear() | |
.domain([0, 1]) | |
.range([7.5, 242.5]) // trimmed by 7.5px on each side to match the input type=range slider: | |
.nice(); | |
// adapted from http://bl.ocks.org/mbostock/1166403 | |
var sliderAxis = d3.svg.axis() | |
.scale(sliderScale) | |
.orient("bottom") | |
.tickSize(10) | |
.tickSubdivide(true) | |
.ticks(6); | |
// group to contain the elements of the slider axis: | |
var sliderAxisGroup = scaleContainer.append("g") | |
.attr("class", "slideraxis") | |
.attr("margin-top", "-10px") | |
.call(sliderAxis); | |
// Another strategy for tick marks on the slider; simpler, but not labels | |
// var sliderTicks = document.createElement("datalist"); | |
// sliderTicks.setAttribute("id", "ticks"); | |
// for (var tick = 0; tick <= 10; tick++) { | |
// var tickOption = document.createElement("option"); | |
// //tickOption.value = tick/10; | |
// tickOption.innerHTML = tick/10; | |
// sliderTicks.appendChild(tickOption); | |
// } | |
// append the forms to the containers | |
//lambdaDiv.appendChild(sliderTicks); | |
} | |
// function to re-order the bars (gray and red), and terms: | |
function reorder_bars(increase) { | |
// grab the bar-chart data for this topic only: | |
var dat2 = lamData.filter(function(d) { | |
//return d.Category == "Topic" + Math.min(K, Math.max(0, vis_state.topic)) // fails for negative topic numbers... | |
return d.Category == "Topic" + vis_state.topic; | |
}); | |
// define relevance: | |
for (var i = 0; i < dat2.length; i++) { | |
dat2[i].relevance = vis_state.lambda * dat2[i].logprob + | |
(1 - vis_state.lambda) * dat2[i].loglift; | |
} | |
// sort by relevance: | |
dat2.sort(fancysort("relevance")); | |
// truncate to the top R tokens: | |
var dat3 = dat2.slice(0, R); | |
var y = d3.scale.ordinal() | |
.domain(dat3.map(function(d) { | |
return d.Term; | |
})) | |
.rangeRoundBands([0, barheight], 0.15); | |
var x = d3.scale.linear() | |
.domain([1, d3.max(dat3, function(d) { | |
return d.Total; | |
})]) | |
.range([0, barwidth]) | |
.nice(); | |
// Change Total Frequency bars | |
var graybars = d3.select("#bar-freqs") | |
.selectAll(".bar-totals") | |
.data(dat3, function(d) { | |
return d.Term; | |
}); | |
// Change word labels | |
var labels = d3.select("#bar-freqs") | |
.selectAll(".terms") | |
.data(dat3, function(d) { | |
return d.Term; | |
}); | |
// Create red bars (drawn over the gray ones) to signify the frequency under the selected topic | |
var redbars = d3.select("#bar-freqs") | |
.selectAll(".overlay") | |
.data(dat3, function(d) { | |
return d.Term; | |
}); | |
// adapted from http://bl.ocks.org/mbostock/1166403 | |
var xAxis = d3.svg.axis().scale(x) | |
.orient("top") | |
.tickSize(-barheight) | |
.tickSubdivide(true) | |
.ticks(6); | |
// New axis definition: | |
var newaxis = d3.selectAll(".xaxis"); | |
// define the new elements to enter: | |
var graybarsEnter = graybars.enter().append("rect") | |
.attr("class", "bar-totals") | |
.attr("x", 0) | |
.attr("y", function(d) { | |
return y(d.Term) + barheight + margin.bottom + 2 * rMax; | |
}) | |
.attr("height", y.rangeBand()) | |
.style("fill", color1) | |
.attr("opacity", 0.4); | |
var labelsEnter = labels.enter() | |
.append("text") | |
.attr("x", -5) | |
.attr("class", "terms") | |
.attr("y", function(d) { | |
return y(d.Term) + 12 + barheight + margin.bottom + 2 * rMax; | |
}) | |
.attr("cursor", "pointer") | |
.style("text-anchor", "end") | |
.attr("id", function(d) { | |
return (termID + d.Term) | |
}) | |
.text(function(d) { | |
return d.Term; | |
}) | |
.on("mouseover", function() { | |
term_hover(this); | |
}) | |
// .on("click", function(d) { | |
// var old_term = termID + vis_state.term; | |
// if (vis_state.term != "" && old_term != this.id) { | |
// term_off(document.getElementById(old_term)); | |
// } | |
// vis_state.term = d.Term; | |
// state_save(true); | |
// term_on(this); | |
// }) | |
.on("mouseout", function() { | |
vis_state.term = ""; | |
term_off(this); | |
state_save(true); | |
}); | |
var redbarsEnter = redbars.enter().append("rect") | |
.attr("class", "overlay") | |
.attr("x", 0) | |
.attr("y", function(d) { | |
return y(d.Term) + barheight + margin.bottom + 2 * rMax; | |
}) | |
.attr("height", y.rangeBand()) | |
.style("fill", color2) | |
.attr("opacity", 0.8); | |
if (increase) { | |
graybarsEnter | |
.attr("width", function(d) { | |
return x(d.Total); | |
}) | |
.transition().duration(duration) | |
.delay(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}); | |
labelsEnter | |
.transition().duration(duration) | |
.delay(duration) | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}); | |
redbarsEnter | |
.attr("width", function(d) { | |
return x(d.Freq); | |
}) | |
.transition().duration(duration) | |
.delay(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}); | |
graybars.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}) | |
.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}); | |
labels.transition().duration(duration) | |
.delay(duration) | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}); | |
redbars.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Freq); | |
}) | |
.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}); | |
// Transition exiting rectangles to the bottom of the barchart: | |
graybars.exit() | |
.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}) | |
.transition().duration(duration) | |
.attr("y", function(d, i) { | |
return barheight + margin.bottom + 6 + i * 18; | |
}) | |
.remove(); | |
labels.exit() | |
.transition().duration(duration) | |
.delay(duration) | |
.attr("y", function(d, i) { | |
return barheight + margin.bottom + 18 + i * 18; | |
}) | |
.remove(); | |
redbars.exit() | |
.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Freq); | |
}) | |
.transition().duration(duration) | |
.attr("y", function(d, i) { | |
return barheight + margin.bottom + 6 + i * 18; | |
}) | |
.remove(); | |
// https://github.com/mbostock/d3/wiki/Transitions#wiki-d3_ease | |
newaxis.transition().duration(duration) | |
.call(xAxis) | |
.transition().duration(duration); | |
} else { | |
graybarsEnter | |
.attr("width", 100) // FIXME by looking up old width of these bars | |
.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}); | |
labelsEnter | |
.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}); | |
redbarsEnter | |
.attr("width", 50) // FIXME by looking up old width of these bars | |
.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Freq); | |
}); | |
graybars.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}); | |
labels.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}); | |
redbars.transition().duration(duration) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.transition().duration(duration) | |
.attr("width", function(d) { | |
return x(d.Freq); | |
}); | |
// Transition exiting rectangles to the bottom of the barchart: | |
graybars.exit() | |
.transition().duration(duration) | |
.attr("y", function(d, i) { | |
return barheight + margin.bottom + 6 + i * 18 + 2 * rMax; | |
}) | |
.remove(); | |
labels.exit() | |
.transition().duration(duration) | |
.attr("y", function(d, i) { | |
return barheight + margin.bottom + 18 + i * 18 + 2 * rMax; | |
}) | |
.remove(); | |
redbars.exit() | |
.transition().duration(duration) | |
.attr("y", function(d, i) { | |
return barheight + margin.bottom + 6 + i * 18 + 2 * rMax; | |
}) | |
.remove(); | |
// https://github.com/mbostock/d3/wiki/Transitions#wiki-d3_ease | |
newaxis.transition().duration(duration) | |
.transition().duration(duration) | |
.call(xAxis); | |
} | |
} | |
////////////////////////////////////////////////////////////////////////////// | |
// function to update bar chart when a topic is selected | |
// the circle argument should be the appropriate circle element | |
function topic_on(circle) { | |
if (circle == null) return null; | |
// grab data bound to this element | |
var d = circle.__data__ | |
var Freq = Math.round(d.Freq * 10) / 10, | |
topics = d.topics; | |
// change opacity and fill of the selected circle | |
circle.style.opacity = highlight_opacity; | |
circle.style.fill = color2; | |
// Remove 'old' bar chart title | |
var text = d3.select(".bubble-tool"); | |
text.remove(); | |
// append text with info relevant to topic of interest | |
d3.select("#bar-freqs") | |
.append("text") | |
.attr("x", barwidth/2) | |
.attr("y", -30) | |
.attr("class", "bubble-tool") // set class so we can remove it when highlight_off is called | |
.style("text-anchor", "middle") | |
.style("font-size", "16px") | |
.text("Top-" + R + " Most Relevant Terms for Topic " + topics + " (" + Freq + "% of tokens)"); | |
// grab the bar-chart data for this topic only: | |
var dat2 = lamData.filter(function(d) { | |
return d.Category == "Topic" + topics | |
}); | |
// define relevance: | |
for (var i = 0; i < dat2.length; i++) { | |
dat2[i].relevance = lambda.current * dat2[i].logprob + | |
(1 - lambda.current) * dat2[i].loglift; | |
} | |
// sort by relevance: | |
dat2.sort(fancysort("relevance")); | |
// truncate to the top R tokens: | |
var dat3 = dat2.slice(0, R); | |
// scale the bars to the top R terms: | |
var y = d3.scale.ordinal() | |
.domain(dat3.map(function(d) { | |
return d.Term; | |
})) | |
.rangeRoundBands([0, barheight], 0.15); | |
var x = d3.scale.linear() | |
.domain([1, d3.max(dat3, function(d) { | |
return d.Total; | |
})]) | |
.range([0, barwidth]) | |
.nice(); | |
// remove the red bars if there are any: | |
d3.selectAll(".overlay").remove(); | |
// Change Total Frequency bars | |
d3.selectAll(".bar-totals") | |
.data(dat3) | |
.attr("x", 0) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.attr("height", y.rangeBand()) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}) | |
.style("fill", color1) | |
.attr("opacity", 0.4); | |
// Change word labels | |
d3.selectAll(".terms") | |
.data(dat3) | |
.attr("x", -5) | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}) | |
.attr("id", function(d) { | |
return (termID + d.Term) | |
}) | |
.style("text-anchor", "end") // right align text - use 'middle' for center alignment | |
.text(function(d) { | |
return d.Term; | |
}); | |
// Create red bars (drawn over the gray ones) to signify the frequency under the selected topic | |
d3.select("#bar-freqs").selectAll(".overlay") | |
.data(dat3) | |
.enter() | |
.append("rect") | |
.attr("class", "overlay") | |
.attr("x", 0) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.attr("height", y.rangeBand()) | |
.attr("width", function(d) { | |
return x(d.Freq); | |
}) | |
.style("fill", color2) | |
.attr("opacity", 0.8); | |
// adapted from http://bl.ocks.org/mbostock/1166403 | |
var xAxis = d3.svg.axis().scale(x) | |
.orient("top") | |
.tickSize(-barheight) | |
.tickSubdivide(true) | |
.ticks(6); | |
// redraw x-axis | |
d3.selectAll(".xaxis") | |
//.attr("class", "xaxis") | |
.call(xAxis); | |
} | |
function topic_off(circle) { | |
if (circle == null) return circle; | |
// go back to original opacity/fill | |
circle.style.opacity = base_opacity; | |
circle.style.fill = color1; | |
var title = d3.selectAll(".bubble-tool") | |
.text("Top-" + R + " Most Salient Terms"); | |
title.append("tspan") | |
.attr("baseline-shift", "super") | |
.attr("font-size", 12) | |
.text(1); | |
// remove the red bars | |
d3.selectAll(".overlay").remove(); | |
// go back to 'default' bar chart | |
var dat2 = lamData.filter(function(d) { | |
return d.Category == "Default" | |
}); | |
var y = d3.scale.ordinal() | |
.domain(dat2.map(function(d) { | |
return d.Term; | |
})) | |
.rangeRoundBands([0, barheight], 0.15); | |
var x = d3.scale.linear() | |
.domain([1, d3.max(dat2, function(d) { | |
return d.Total; | |
})]) | |
.range([0, barwidth]) | |
.nice(); | |
// Change Total Frequency bars | |
d3.selectAll(".bar-totals") | |
.data(dat2) | |
.attr("x", 0) | |
.attr("y", function(d) { | |
return y(d.Term); | |
}) | |
.attr("height", y.rangeBand()) | |
.attr("width", function(d) { | |
return x(d.Total); | |
}) | |
.style("fill", color1) | |
.attr("opacity", 0.4); | |
//Change word labels | |
d3.selectAll(".terms") | |
.data(dat2) | |
.attr("x", -5) | |
.attr("y", function(d) { | |
return y(d.Term) + 12; | |
}) | |
.style("text-anchor", "end") // right align text - use 'middle' for center alignment | |
.text(function(d) { | |
return d.Term; | |
}); | |
// adapted from http://bl.ocks.org/mbostock/1166403 | |
var xAxis = d3.svg.axis().scale(x) | |
.orient("top") | |
.tickSize(-barheight) | |
.tickSubdivide(true) | |
.ticks(6); | |
// redraw x-axis | |
d3.selectAll(".xaxis") | |
.attr("class", "xaxis") | |
.call(xAxis); | |
} | |
// event definition for mousing over a term | |
function term_hover(term) { | |
var old_term = termID + vis_state.term; | |
if (vis_state.term != "" && old_term != term.id) { | |
term_off(document.getElementById(old_term)); | |
} | |
vis_state.term = term.innerHTML; | |
term_on(term); | |
state_save(true); | |
} | |
// updates vis when a term is selected via click or hover | |
function term_on(term) { | |
if (term == null) return null; | |
term.style["fontWeight"] = "bold"; | |
var d = term.__data__ | |
var Term = d.Term; | |
var dat2 = mdsData3.filter(function(d2) { | |
return d2.Term == Term | |
}); | |
var k = dat2.length; // number of topics for this token with non-zero frequency | |
var radius = []; | |
for (var i = 0; i < K; ++i) { | |
radius[i] = 0; | |
} | |
for (i = 0; i < k; i++) { | |
radius[dat2[i].Topic - 1] = dat2[i].Freq; | |
} | |
var size = []; | |
for (var i = 0; i < K; ++i) { | |
size[i] = 0; | |
} | |
for (i = 0; i < k; i++) { | |
// If we want to also re-size the topic number labels, do it here | |
// 11 is the default, so leaving this as 11 won't change anything. | |
size[dat2[i].Topic - 1] = 11; | |
} | |
var rScaleCond = d3.scale.sqrt() | |
.domain([0, 1]).range([0, rMax]); | |
// Change size of bubbles according to the word's distribution over topics | |
d3.selectAll(".dot") | |
.data(radius) | |
.transition() | |
.attr("r", function(d) { | |
//return (rScaleCond(d)); | |
return (Math.sqrt(d*mdswidth*mdsheight*word_prop/Math.PI)); | |
}); | |
// re-bind mdsData so we can handle multiple selection | |
d3.selectAll(".dot") | |
.data(mdsData) | |
// Change sizes of topic numbers: | |
d3.selectAll(".txt") | |
.data(size) | |
.transition() | |
.style("font-size", function(d) { | |
return +d; | |
}); | |
// Alter the guide | |
d3.select(".circleGuideTitle") | |
.text("Conditional topic distribution given term = '" + term.innerHTML + "'"); | |
} | |
function term_off(term) { | |
if (term == null) return null; | |
term.style["fontWeight"] = "normal"; | |
d3.selectAll(".dot") | |
.data(mdsData) | |
.transition() | |
.attr("r", function(d) { | |
//return (rScaleMargin(+d.Freq)); | |
return (Math.sqrt((d.Freq/100)*mdswidth*mdsheight*circle_prop/Math.PI)); | |
}); | |
// Change sizes of topic numbers: | |
d3.selectAll(".txt") | |
.transition() | |
.style("font-size", "11px"); | |
// Go back to the default guide | |
d3.select(".circleGuideTitle") | |
.text("Marginal topic distribution"); | |
d3.select(".circleGuideLabelLarge") | |
.text(defaultLabelLarge); | |
d3.select(".circleGuideLabelSmall") | |
.attr("y", mdsheight + 2 * newSmall) | |
.text(defaultLabelSmall); | |
d3.select(".circleGuideSmall") | |
.attr("r", newSmall) | |
.attr("cy", mdsheight + newSmall); | |
d3.select(".lineGuideSmall") | |
.attr("y1", mdsheight + 2 * newSmall) | |
.attr("y2", mdsheight + 2 * newSmall); | |
} | |
// serialize the visualization state using fragment identifiers -- http://en.wikipedia.org/wiki/Fragment_identifier | |
// location.hash holds the address information | |
var params = location.hash.split("&"); | |
if (params.length > 1) { | |
vis_state.topic = params[0].split("=")[1]; | |
vis_state.lambda = params[1].split("=")[1]; | |
vis_state.term = params[2].split("=")[1]; | |
// Idea: write a function to parse the URL string | |
// only accept values in [0,1] for lambda, {0, 1, ..., K} for topics (any string is OK for term) | |
// Allow for subsets of the three to be entered: | |
// (1) topic only (lambda = 1 term = "") | |
// (2) lambda only (topic = 0 term = "") visually the same but upon hovering a topic, the effect of lambda will be seen | |
// (3) term only (topic = 0 lambda = 1) only fires when the term is among the R most salient | |
// (4) topic + lambda (term = "") | |
// (5) topic + term (lambda = 1) | |
// (6) lambda + term (topic = 0) visually lambda doesn't make a difference unless a topic is hovered | |
// (7) topic + lambda + term | |
// Short-term: assume format of "#topic=k&lambda=l&term=s" where k, l, and s are strings (b/c they're from a URL) | |
// Force k (topic identifier) to be an integer between 0 and K: | |
vis_state.topic = Math.round(Math.min(K, Math.max(0, vis_state.topic))); | |
// Force l (lambda identifier) to be in [0, 1]: | |
vis_state.lambda = Math.min(1, Math.max(0, vis_state.lambda)); | |
// impose the value of lambda: | |
document.getElementById(lambdaID).value = vis_state.lambda; | |
document.getElementById(lambdaID + "-value").innerHTML = vis_state.lambda; | |
// select the topic and transition the order of the bars (if approporiate) | |
if (!isNaN(vis_state.topic)) { | |
document.getElementById(topicID).value = vis_state.topic; | |
if (vis_state.topic > 0) { | |
topic_on(document.getElementById(topicID + vis_state.topic)); | |
} | |
if (vis_state.lambda < 1 && vis_state.topic > 0) { | |
reorder_bars(false); | |
} | |
} | |
lambda.current = vis_state.lambda; | |
var termElem = document.getElementById(termID + vis_state.term); | |
if (termElem !== undefined) term_on(termElem); | |
} | |
function state_url() { | |
return location.origin + location.pathname + "#topic=" + vis_state.topic + | |
"&lambda=" + vis_state.lambda + "&term=" + vis_state.term; | |
} | |
function state_save(replace) { | |
if (replace) | |
history.replaceState(vis_state, "Query", state_url()); | |
else | |
history.pushState(vis_state, "Query", state_url()); | |
} | |
function state_reset() { | |
if (vis_state.topic > 0) { | |
topic_off(document.getElementById(topicID + vis_state.topic)); | |
} | |
if (vis_state.term != "") { | |
term_off(document.getElementById(termID + vis_state.term)); | |
} | |
vis_state.term = ""; | |
document.getElementById(topicID).value = vis_state.topic = 0; | |
state_save(true); | |
} | |
}); | |
// var current_clicked = { | |
// what: "nothing", | |
// element: undefined | |
// }, | |
//debugger; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment