text
stringlengths 2
1.05M
|
|---|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["3ebb06e0"],{"8c6c":function(n,o,e){"use strict";e.r(o);var t=function(){var n=this,o=n.$createElement,e=n._self._c||o;return e("div",{staticClass:"q-pa-md q-gutter-sm"},[e("show-markdown",{attrs:{label:"Marked"},scopedSlots:n._u([{key:"markdown",fn:function(){return[n._v("\n==This sentence is is marked.==\n\nThis is ==marked== in the middle of a sentence.\n ")]},proxy:!0},{key:"input",fn:function(){return[n._v("\n==This sentence is is marked.==\n\nThis is ==marked== in the middle of a sentence.\n ")]},proxy:!0}])})],1)},a=[],l=e("e63c"),s={components:{ShowMarkdown:l["a"]}},i=s,r=e("2877"),c=Object(r["a"])(i,t,a,!1,null,null,null);o["default"]=c.exports},e63c:function(n,o,e){"use strict";var t=function(){var n=this,o=n.$createElement,e=n._self._c||o;return e("div",[e("div",{staticClass:"row q-pa-sm"},[e("q-toggle",{attrs:{label:"Disable HTML"},model:{value:n.noHtml,callback:function(o){n.noHtml=o},expression:"noHtml"}}),e("q-toggle",{attrs:{label:"Disable Link"},model:{value:n.noLink,callback:function(o){n.noLink=o},expression:"noLink"}}),e("q-toggle",{attrs:{label:"Disable Linkify"},model:{value:n.noLinkify,callback:function(o){n.noLinkify=o},expression:"noLinkify"}}),e("q-toggle",{attrs:{label:"Disable Typographer"},model:{value:n.noTypographer,callback:function(o){n.noTypographer=o},expression:"noTypographer"}}),e("q-toggle",{attrs:{label:"Disable Breaks"},model:{value:n.noBreaks,callback:function(o){n.noBreaks=o},expression:"noBreaks"}}),e("q-toggle",{attrs:{label:"Disable Highlight"},model:{value:n.noHighlight,callback:function(o){n.noHighlight=o},expression:"noHighlight"}}),e("q-toggle",{attrs:{label:"Disable Emoji"},model:{value:n.noEmoji,callback:function(o){n.noEmoji=o},expression:"noEmoji"}}),e("q-toggle",{attrs:{label:"Disable Subscript"},model:{value:n.noSubscript,callback:function(o){n.noSubscript=o},expression:"noSubscript"}}),e("q-toggle",{attrs:{label:"Disable Superscript"},model:{value:n.noSuperscript,callback:function(o){n.noSuperscript=o},expression:"noSuperscript"}}),e("q-toggle",{attrs:{label:"Disable Footnote"},model:{value:n.noFootnote,callback:function(o){n.noFootnote=o},expression:"noFootnote"}}),e("q-toggle",{attrs:{label:"Disable Deflist"},model:{value:n.noDeflist,callback:function(o){n.noDeflist=o},expression:"noDeflist"}}),e("q-toggle",{attrs:{label:"Disable Abbreviation"},model:{value:n.noAbbreviation,callback:function(o){n.noAbbreviation=o},expression:"noAbbreviation"}}),e("q-toggle",{attrs:{label:"Disable Insert"},model:{value:n.noInsert,callback:function(o){n.noInsert=o},expression:"noInsert"}}),e("q-toggle",{attrs:{label:"Disable Mark"},model:{value:n.noMark,callback:function(o){n.noMark=o},expression:"noMark"}}),e("q-toggle",{attrs:{label:"Disable Image"},model:{value:n.noImage,callback:function(o){n.noImage=o},expression:"noImage"}}),e("q-toggle",{attrs:{label:"Disable Tasklist"},model:{value:n.noTasklist,callback:function(o){n.noTasklist=o},expression:"noTasklist"}}),e("q-toggle",{attrs:{label:"Disable Container"},model:{value:n.noContainer,callback:function(o){n.noContainer=o},expression:"noContainer"}})],1),e("q-list",{attrs:{bordered:""}},[e("q-expansion-item",{attrs:{group:"markdowngroup",label:n.label,"default-opened":"","header-class":"text-primary"}},[e("q-card",[e("q-card-section",[e("q-markdown",{staticStyle:{overflow:"auto"},attrs:{noHtml:n.noHtml,noLinkify:n.noLinkify,noLink:n.noLink,noTypographer:n.noTypographer,noBreaks:n.noBreaks,noHighlight:n.noHighlight,noEmoji:n.noEmoji,noSubscript:n.noSubscript,noSuperscript:n.noSuperscript,noFootnote:n.noFootnote,noDeflist:n.noDeflist,noAbbreviation:n.noAbbreviation,noInsert:n.noInsert,noMark:n.noMark,noImage:n.noImage,noTasklist:n.noTasklist,noContainer:n.noContainer,toc:n.toc,tocStart:n.tocStart,tocEnd:n.tocEnd,taskListsEnable:n.taskListsEnable,taskListsLabel:n.taskListsLabel,taskListsLabelAfter:n.taskListsLabelAfter},on:{toc:function(o){return n.$emit("toc",o)}}},[n._t("markdown")],2)],1)],1)],1),e("q-separator"),e("q-expansion-item",{attrs:{group:"markdowngroup",label:"Markup","header-class":"text-teal"}},[e("q-card",[e("q-card-section",[e("pre",[e("code",[n._v("\n "),n._t("input"),n._v("\n ")],2)])])],1)],1)],1)],1)},a=[],l=(e("c5f6"),{name:"ShowMarkdown",props:{label:String,toc:Boolean,tocStart:Number,tocEnd:Number,taskListsEnable:Boolean,taskListsLabel:Boolean,taskListsLabelAfter:Boolean},data:function(){return{noHtml:!1,noLinkify:!1,noLink:!1,noTypographer:!1,noBreaks:!1,noHighlight:!1,noEmoji:!1,noSubscript:!1,noSuperscript:!1,noFootnote:!1,noDeflist:!1,noAbbreviation:!1,noInsert:!1,noMark:!1,noImage:!1,noTasklist:!1,noContainer:!1}}}),s=l,i=e("2877"),r=Object(i["a"])(s,t,a,!1,null,null,null);o["a"]=r.exports}}]);
|
export const AND = 'AND'
export const OR = 'OR'
|
!function(){var e=["Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.","I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.","My name is Linus Torvalds and I am your god.","Those that can, do. Those that can't, complain.","I'm basically a very lazy person who likes to get credit for things other people actually do.","I don't ask for money. I don't ask for sexual favors. I don't ask for access to the hardware you design and sell. I just ask for the thing I gave you: source code that I can use myself","The thing that has always disturbed me about O_DIRECT is that the whole interface is just stupid, and was probably designed by a deranged monkey on some serious mind-controlling substances. In other words, it's an Oracleism","Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100 mph. They'd be a lot more careful about what they say if they had.","See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too ","Talk is cheap. Show me the code.","'m a bastard. I have absolutely no clue why people can ever think otherwise. Yet they do. People think I'm a nice guy, and the fact is that I'm a scheming, conniving bastard who doesn't care for any hurt feelings or lost hours of work, if it just results in what I consider to be a better system. And I'm not just saying that. I'm really not a very nice person. I can say \"I don't care\" with a straight face, and really mean it.","In short: just say NO TO DRUGS, and maybe you won't end up like the Hurd people.","Anybody who tells me I can't use a program because it's not open source, go suck on rms. I'm not interested. 99% of that I run tends to be open source, but that's my choice, dammit.","The fact that ACPI was designed by a group of monkeys high on LSD, and is some of the worst designs in the industry obviously makes running it at any point pretty damn ugly.","Software is like sex; it's better when it's free.","I do get my pizzas paid for by Linux indirectly.","In my opinion MS is a lot better at making money than it is at making good operating systems.","Microsoft isn't evil, they just make really crappy operating systems.","Shareware tends to combine the worst of commercial software with the worst of free software. ","The memory management on the PowerPC can be used to frighten small children.","An infinite number of monkeys typing into GNU emacs would never make a good program."];this.TorvaldsIpsum=function(){},TorvaldsIpsum.prototype.get=function(t){for(var o=[],a=[];o.length<t;){var n=Math.floor(Math.random()*e.length);a.indexOf(n)&&(a.push(n),o.push(e[n]))}return o}}();
|
const { NotImplementedError } = require('../extensions/index.js');
/**
* Given matrix where you have to find cats by ears "^^"
*
* @param {Array<Array>} matrix
* @return {Number} count of cats found
*
* @example
* countCats([
* [0, 1, '^^'],
* [0, '^^', 2],
* ['^^', 1, 2]
* ]) => 3`
*
*/
function countCats(array) {
let cats = 0;
array.forEach((element) => {
element.forEach(function (e) {
if (e === "^^") {
cats += 1;
} else {
return 0;
}
});
});
return cats;
}
module.exports = {
countCats
};
|
module.exports = /*
* Generated by PEG.js 0.10.0.
*
* http://pegjs.org/
*/
(function() {
"use strict";
function peg$subclass(child, parent) {
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype;
child.prototype = new ctor();
}
function peg$SyntaxError(message, expected, found, location) {
this.message = message;
this.expected = expected;
this.found = found;
this.location = location;
this.name = "SyntaxError";
if (typeof Error.captureStackTrace === "function") {
Error.captureStackTrace(this, peg$SyntaxError);
}
}
peg$subclass(peg$SyntaxError, Error);
peg$SyntaxError.buildMessage = function(expected, found) {
var DESCRIBE_EXPECTATION_FNS = {
literal: function(expectation) {
return "\"" + literalEscape(expectation.text) + "\"";
},
"class": function(expectation) {
var escapedParts = "",
i;
for (i = 0; i < expectation.parts.length; i++) {
escapedParts += expectation.parts[i] instanceof Array
? classEscape(expectation.parts[i][0]) + "-" + classEscape(expectation.parts[i][1])
: classEscape(expectation.parts[i]);
}
return "[" + (expectation.inverted ? "^" : "") + escapedParts + "]";
},
any: function(expectation) {
return "any character";
},
end: function(expectation) {
return "end of input";
},
other: function(expectation) {
return expectation.description;
}
};
function hex(ch) {
return ch.charCodeAt(0).toString(16).toUpperCase();
}
function literalEscape(s) {
return s
.replace(/\\/g, '\\\\')
.replace(/"/g, '\\"')
.replace(/\0/g, '\\0')
.replace(/\t/g, '\\t')
.replace(/\n/g, '\\n')
.replace(/\r/g, '\\r')
.replace(/[\x00-\x0F]/g, function(ch) { return '\\x0' + hex(ch); })
.replace(/[\x10-\x1F\x7F-\x9F]/g, function(ch) { return '\\x' + hex(ch); });
}
function classEscape(s) {
return s
.replace(/\\/g, '\\\\')
.replace(/\]/g, '\\]')
.replace(/\^/g, '\\^')
.replace(/-/g, '\\-')
.replace(/\0/g, '\\0')
.replace(/\t/g, '\\t')
.replace(/\n/g, '\\n')
.replace(/\r/g, '\\r')
.replace(/[\x00-\x0F]/g, function(ch) { return '\\x0' + hex(ch); })
.replace(/[\x10-\x1F\x7F-\x9F]/g, function(ch) { return '\\x' + hex(ch); });
}
function describeExpectation(expectation) {
return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);
}
function describeExpected(expected) {
var descriptions = new Array(expected.length),
i, j;
for (i = 0; i < expected.length; i++) {
descriptions[i] = describeExpectation(expected[i]);
}
descriptions.sort();
if (descriptions.length > 0) {
for (i = 1, j = 1; i < descriptions.length; i++) {
if (descriptions[i - 1] !== descriptions[i]) {
descriptions[j] = descriptions[i];
j++;
}
}
descriptions.length = j;
}
switch (descriptions.length) {
case 1:
return descriptions[0];
case 2:
return descriptions[0] + " or " + descriptions[1];
default:
return descriptions.slice(0, -1).join(", ")
+ ", or "
+ descriptions[descriptions.length - 1];
}
}
function describeFound(found) {
return found ? "\"" + literalEscape(found) + "\"" : "end of input";
}
return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
};
function peg$parse(input, options) {
options = options !== void 0 ? options : {};
var peg$FAILED = {},
peg$startRuleIndices = { Program: 0 },
peg$startRuleIndex = 0,
peg$consts = [
function() { return {
outputTypes,
inputTypes,
nodeTypes,
paramTypes,
chains,
setup
} },
function(from, to) { chains.push(parseChain(from, to)); },
".",
peg$literalExpectation(".", false),
"=",
peg$literalExpectation("=", false),
function(node, param, value) { setup.push([ node, param, value ]) },
peg$otherExpectation("output"),
function(type, id) { outputTypes[id] = type; },
peg$otherExpectation("input"),
function(type, id) { inputTypes[id] = type; },
peg$otherExpectation("node"),
"(",
peg$literalExpectation("(", false),
")",
peg$literalExpectation(")", false),
function(type, id, param) { nodeTypes[id] = [ type, param && param[3] ]; },
peg$otherExpectation("param"),
function(type, id, param) { paramTypes[id] = [ type, param && param[3] ]; },
"output",
peg$literalExpectation("output", false),
"input",
peg$literalExpectation("input", false),
"node",
peg$literalExpectation("node", false),
"param",
peg$literalExpectation("param", false),
peg$otherExpectation("value"),
peg$otherExpectation("identifier"),
/^[_a-zA-Z]/,
peg$classExpectation(["_", ["a", "z"], ["A", "Z"]], false, false),
/^[_a-zA-Z0-9]/,
peg$classExpectation(["_", ["a", "z"], ["A", "Z"], ["0", "9"]], false, false),
function() { return text(); },
peg$otherExpectation("float"),
"-",
peg$literalExpectation("-", false),
/^[0-9]/,
peg$classExpectation([["0", "9"]], false, false),
function() { return parseFloat(text()); },
peg$otherExpectation("lambda"),
"{",
peg$literalExpectation("{", false),
"}",
peg$literalExpectation("}", false),
function(contents) { return evalLambda(contents.trim()); },
/^[^"}"]/,
peg$classExpectation(["\"", "}", "\""], true, false),
peg$otherExpectation("connect"),
"=>",
peg$literalExpectation("=>", false),
peg$otherExpectation("semicolon"),
";",
peg$literalExpectation(";", false),
peg$otherExpectation("whitespace"),
/^[ \t\n\r]/,
peg$classExpectation([" ", "\t", "\n", "\r"], false, false),
peg$otherExpectation("whitespace_any")
],
peg$bytecode = [
peg$decode("%$;!0#*;!&/& 8!: ! )"),
peg$decode("%;6/G#;%./ &;\".) &;#.# &;$/,$;6/#$+#)(#'#(\"'#&'#"),
peg$decode("%;//\x9B#$%;6/>#;3/5$;6/,$;//#$+$)($'#(#'#(\"'#&'#/K#0H*%;6/>#;3/5$;6/,$;//#$+$)($'#(#'#(\"'#&'#&&&#/;$;6/2$;4/)$8$:!$\"#\")($'#(#'#(\"'#&'#"),
peg$decode("%;//\x90#;6/\x87$2\"\"\"6\"7#/x$;6/o$;//f$;6/]$2$\"\"6$7%/N$;6/E$;./<$;6/3$;4/*$8+:&+#*&\")(+'#(*'#()'#(('#(''#(&'#(%'#($'#(#'#(\"'#&'#"),
peg$decode("%;//f#;6/]$2\"\"\"6\"7#/N$;6/E$;//<$;6/3$;1/*$8':&'#&\" )(''#(&'#(%'#($'#(#'#(\"'#&'#"),
peg$decode("%;&./ &;'.) &;(.# &;)/5#;6/,$;4/#$+#)(#'#(\"'#&'#"),
peg$decode("<%;*/M#;5/D$;//;$;5/2$;//)$8%:(%\"\" )(%'#($'#(#'#(\"'#&'#=.\" 7'"),
peg$decode("<%;+/M#;5/D$;//;$;5/2$;//)$8%:*%\"\" )(%'#($'#(#'#(\"'#&'#=.\" 7)"),
peg$decode("<%;,/\x9F#;5/\x96$;//\x8D$;5/\x84$;//{$%;6/\\#2,\"\"6,7-/M$;6/D$;./;$;6/2$2.\"\"6.7//#$+&)(&'#(%'#($'#(#'#(\"'#&'#.\" &\"/*$8&:0&##! )(&'#(%'#($'#(#'#(\"'#&'#=.\" 7+"),
peg$decode("<%;-/\x9F#;5/\x96$;//\x8D$;5/\x84$;//{$%;6/\\#2,\"\"6,7-/M$;6/D$;./;$;6/2$2.\"\"6.7//#$+&)(&'#(%'#($'#(#'#(\"'#&'#.\" &\"/*$8&:2&##! )(&'#(%'#($'#(#'#(\"'#&'#=.\" 71"),
peg$decode("23\"\"6374"),
peg$decode("25\"\"6576"),
peg$decode("27\"\"6778"),
peg$decode("29\"\"697:"),
peg$decode("<;0.# &;/=.\" 7;"),
peg$decode("<%;6/R#4=\"\"5!7>/C$$4?\"\"5!7@0)*4?\"\"5!7@&/'$8#:A# )(#'#(\"'#&'#=.\" 7<"),
peg$decode("<%;6/\x9D#2C\"\"6C7D.\" &\"/\x89$$4E\"\"5!7F/,#0)*4E\"\"5!7F&&&#/g$%2\"\"\"6\"7#/E#$4E\"\"5!7F/,#0)*4E\"\"5!7F&&&#/#$+\")(\"'#&'#.\" &\"/'$8$:G$ )($'#(#'#(\"'#&'#=.\" 7B"),
peg$decode("<%;6/O#2I\"\"6I7J/@$;2/7$2K\"\"6K7L/($8$:M$!!)($'#(#'#(\"'#&'#=.\" 7H"),
peg$decode("%$4N\"\"5!7O0)*4N\"\"5!7O&/& 8!:A! )"),
peg$decode("<%;6/;#2Q\"\"6Q7R/,$;6/#$+#)(#'#(\"'#&'#=.\" 7P"),
peg$decode("<%;6/k#$%2T\"\"6T7U/,#;6/#$+\")(\"'#&'#/?#0<*%2T\"\"6T7U/,#;6/#$+\")(\"'#&'#&&&#/#$+\")(\"'#&'#=.\" 7S"),
peg$decode("<$4W\"\"5!7X/,#0)*4W\"\"5!7X&&&#=.\" 7V"),
peg$decode("<$4W\"\"5!7X0)*4W\"\"5!7X&=.\" 7Y")
],
peg$currPos = 0,
peg$savedPos = 0,
peg$posDetailsCache = [{ line: 1, column: 1 }],
peg$maxFailPos = 0,
peg$maxFailExpected = [],
peg$silentFails = 0,
peg$result;
if ("startRule" in options) {
if (!(options.startRule in peg$startRuleIndices)) {
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
}
peg$startRuleIndex = peg$startRuleIndices[options.startRule];
}
function text() {
return input.substring(peg$savedPos, peg$currPos);
}
function location() {
return peg$computeLocation(peg$savedPos, peg$currPos);
}
function expected(description, location) {
location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)
throw peg$buildStructuredError(
[peg$otherExpectation(description)],
input.substring(peg$savedPos, peg$currPos),
location
);
}
function error(message, location) {
location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)
throw peg$buildSimpleError(message, location);
}
function peg$literalExpectation(text, ignoreCase) {
return { type: "literal", text: text, ignoreCase: ignoreCase };
}
function peg$classExpectation(parts, inverted, ignoreCase) {
return { type: "class", parts: parts, inverted: inverted, ignoreCase: ignoreCase };
}
function peg$anyExpectation() {
return { type: "any" };
}
function peg$endExpectation() {
return { type: "end" };
}
function peg$otherExpectation(description) {
return { type: "other", description: description };
}
function peg$computePosDetails(pos) {
var details = peg$posDetailsCache[pos], p;
if (details) {
return details;
} else {
p = pos - 1;
while (!peg$posDetailsCache[p]) {
p--;
}
details = peg$posDetailsCache[p];
details = {
line: details.line,
column: details.column
};
while (p < pos) {
if (input.charCodeAt(p) === 10) {
details.line++;
details.column = 1;
} else {
details.column++;
}
p++;
}
peg$posDetailsCache[pos] = details;
return details;
}
}
function peg$computeLocation(startPos, endPos) {
var startPosDetails = peg$computePosDetails(startPos),
endPosDetails = peg$computePosDetails(endPos);
return {
start: {
offset: startPos,
line: startPosDetails.line,
column: startPosDetails.column
},
end: {
offset: endPos,
line: endPosDetails.line,
column: endPosDetails.column
}
};
}
function peg$fail(expected) {
if (peg$currPos < peg$maxFailPos) { return; }
if (peg$currPos > peg$maxFailPos) {
peg$maxFailPos = peg$currPos;
peg$maxFailExpected = [];
}
peg$maxFailExpected.push(expected);
}
function peg$buildSimpleError(message, location) {
return new peg$SyntaxError(message, null, null, location);
}
function peg$buildStructuredError(expected, found, location) {
return new peg$SyntaxError(
peg$SyntaxError.buildMessage(expected, found),
expected,
found,
location
);
}
function peg$decode(s) {
var bc = new Array(s.length), i;
for (i = 0; i < s.length; i++) {
bc[i] = s.charCodeAt(i) - 32;
}
return bc;
}
function peg$parseRule(index) {
var bc = peg$bytecode[index],
ip = 0,
ips = [],
end = bc.length,
ends = [],
stack = [],
params, i;
while (true) {
while (ip < end) {
switch (bc[ip]) {
case 0:
stack.push(peg$consts[bc[ip + 1]]);
ip += 2;
break;
case 1:
stack.push(void 0);
ip++;
break;
case 2:
stack.push(null);
ip++;
break;
case 3:
stack.push(peg$FAILED);
ip++;
break;
case 4:
stack.push([]);
ip++;
break;
case 5:
stack.push(peg$currPos);
ip++;
break;
case 6:
stack.pop();
ip++;
break;
case 7:
peg$currPos = stack.pop();
ip++;
break;
case 8:
stack.length -= bc[ip + 1];
ip += 2;
break;
case 9:
stack.splice(-2, 1);
ip++;
break;
case 10:
stack[stack.length - 2].push(stack.pop());
ip++;
break;
case 11:
stack.push(stack.splice(stack.length - bc[ip + 1], bc[ip + 1]));
ip += 2;
break;
case 12:
stack.push(input.substring(stack.pop(), peg$currPos));
ip++;
break;
case 13:
ends.push(end);
ips.push(ip + 3 + bc[ip + 1] + bc[ip + 2]);
if (stack[stack.length - 1]) {
end = ip + 3 + bc[ip + 1];
ip += 3;
} else {
end = ip + 3 + bc[ip + 1] + bc[ip + 2];
ip += 3 + bc[ip + 1];
}
break;
case 14:
ends.push(end);
ips.push(ip + 3 + bc[ip + 1] + bc[ip + 2]);
if (stack[stack.length - 1] === peg$FAILED) {
end = ip + 3 + bc[ip + 1];
ip += 3;
} else {
end = ip + 3 + bc[ip + 1] + bc[ip + 2];
ip += 3 + bc[ip + 1];
}
break;
case 15:
ends.push(end);
ips.push(ip + 3 + bc[ip + 1] + bc[ip + 2]);
if (stack[stack.length - 1] !== peg$FAILED) {
end = ip + 3 + bc[ip + 1];
ip += 3;
} else {
end = ip + 3 + bc[ip + 1] + bc[ip + 2];
ip += 3 + bc[ip + 1];
}
break;
case 16:
if (stack[stack.length - 1] !== peg$FAILED) {
ends.push(end);
ips.push(ip);
end = ip + 2 + bc[ip + 1];
ip += 2;
} else {
ip += 2 + bc[ip + 1];
}
break;
case 17:
ends.push(end);
ips.push(ip + 3 + bc[ip + 1] + bc[ip + 2]);
if (input.length > peg$currPos) {
end = ip + 3 + bc[ip + 1];
ip += 3;
} else {
end = ip + 3 + bc[ip + 1] + bc[ip + 2];
ip += 3 + bc[ip + 1];
}
break;
case 18:
ends.push(end);
ips.push(ip + 4 + bc[ip + 2] + bc[ip + 3]);
if (input.substr(peg$currPos, peg$consts[bc[ip + 1]].length) === peg$consts[bc[ip + 1]]) {
end = ip + 4 + bc[ip + 2];
ip += 4;
} else {
end = ip + 4 + bc[ip + 2] + bc[ip + 3];
ip += 4 + bc[ip + 2];
}
break;
case 19:
ends.push(end);
ips.push(ip + 4 + bc[ip + 2] + bc[ip + 3]);
if (input.substr(peg$currPos, peg$consts[bc[ip + 1]].length).toLowerCase() === peg$consts[bc[ip + 1]]) {
end = ip + 4 + bc[ip + 2];
ip += 4;
} else {
end = ip + 4 + bc[ip + 2] + bc[ip + 3];
ip += 4 + bc[ip + 2];
}
break;
case 20:
ends.push(end);
ips.push(ip + 4 + bc[ip + 2] + bc[ip + 3]);
if (peg$consts[bc[ip + 1]].test(input.charAt(peg$currPos))) {
end = ip + 4 + bc[ip + 2];
ip += 4;
} else {
end = ip + 4 + bc[ip + 2] + bc[ip + 3];
ip += 4 + bc[ip + 2];
}
break;
case 21:
stack.push(input.substr(peg$currPos, bc[ip + 1]));
peg$currPos += bc[ip + 1];
ip += 2;
break;
case 22:
stack.push(peg$consts[bc[ip + 1]]);
peg$currPos += peg$consts[bc[ip + 1]].length;
ip += 2;
break;
case 23:
stack.push(peg$FAILED);
if (peg$silentFails === 0) {
peg$fail(peg$consts[bc[ip + 1]]);
}
ip += 2;
break;
case 24:
peg$savedPos = stack[stack.length - 1 - bc[ip + 1]];
ip += 2;
break;
case 25:
peg$savedPos = peg$currPos;
ip++;
break;
case 26:
params = bc.slice(ip + 4, ip + 4 + bc[ip + 3]);
for (i = 0; i < bc[ip + 3]; i++) {
params[i] = stack[stack.length - 1 - params[i]];
}
stack.splice(
stack.length - bc[ip + 2],
bc[ip + 2],
peg$consts[bc[ip + 1]].apply(null, params)
);
ip += 4 + bc[ip + 3];
break;
case 27:
stack.push(peg$parseRule(bc[ip + 1]));
ip += 2;
break;
case 28:
peg$silentFails++;
ip++;
break;
case 29:
peg$silentFails--;
ip++;
break;
default:
throw new Error("Invalid opcode: " + bc[ip] + ".");
}
}
if (ends.length > 0) {
end = ends.pop();
ip = ips.pop();
} else {
break;
}
}
return stack[0];
}
const outputTypes = {};
const inputTypes = {};
const nodeTypes = {};
const paramTypes = {};
const chains = [];
const setup = [];
function parseChain(from, to) {
const result = [ from ];
to.map(item => result.push(item[3]))
return result;
}
function evalLambda(body) {
return new Function('return ' + body + ';');
}
peg$result = peg$parseRule(peg$startRuleIndex);
if (peg$result !== peg$FAILED && peg$currPos === input.length) {
return peg$result;
} else {
if (peg$result !== peg$FAILED && peg$currPos < input.length) {
peg$fail(peg$endExpectation());
}
throw peg$buildStructuredError(
peg$maxFailExpected,
peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,
peg$maxFailPos < input.length
? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)
: peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
);
}
}
return {
SyntaxError: peg$SyntaxError,
parse: peg$parse
};
})();
|
const { dbURL } = require('../../config.json');
const Logger = require('../util/Logger');
const path = require('path');
const readdir = require('util').promisify(require('fs').readdir);
const Sequelize = require('sequelize');
const db = new Sequelize(dbURL, { logging: false });
class Database {
static get db() {
return db;
}
static async authenticate() {
try {
await db.authenticate();
Logger.info('Connection to database has been established successfully.', { tag: 'Postgres' });
await this.loadModels(path.join(__dirname, '..', 'models'));
} catch (err) {
Logger.error('Unable to connect to the database:', { tag: 'Postgres' });
Logger.stacktrace(err, { tag: 'Postgres' });
Logger.info('Attempting to connect again in 5 seconds...', { tag: 'Postgres' });
setTimeout(this.authenticate, 5000);
}
}
static async loadModels(modelsPath) {
const files = await readdir(modelsPath);
for (const file of files) {
const filePath = path.join(modelsPath, file);
if (!filePath.endsWith('.js')) continue;
await require(filePath).sync(); // eslint-disable-line no-await-in-loop
}
}
}
module.exports = Database;
|
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'indent', 'id', {
indent: 'Tingkatkan Lekuk',
outdent: 'Kurangi Lekuk'
});
|
"use strict";
const Hapi = require('hapi');
const Wreck = require('wreck');
const server = new Hapi.Server({
port: 3000
});
const handler = (request, h) => {
return "Order API";
};
server.route({
method: 'GET',
path: '/',
handler
});
server
.start()
.then(() => {
console.log(`Server running at: ${server.info.uri}`);
}) // if needed
.catch(err => {
console.log(err);
});
|
define(
"dijit/_editor/nls/zh/FontChoice", //begin v1.x content
({
fontSize: "大小",
fontName: "字体",
formatBlock: "格式",
serif: "有衬线",
"sans-serif": "无衬线",
monospace: "等宽字体",
cursive: "草书",
fantasy: "虚线",
noFormat: "无",
p: "段落",
h1: "标题",
h2: "子标题",
h3: "二级子标题",
pre: "预设有格式的",
1: "XXS 号",
2: "XS 号",
3: "S 号",
4: "M 号",
5: "L 号",
6: "XL 号",
7: "XXL 号"
})
//end v1.x content
);
|
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
BASE_API: '"http://devapi.isouth.com:8080/"',
})
|
define({main:{pl:{identity:{version:{_cldrVersion:"38"},language:"pl"},dates:{timeZoneNames:{hourFormat:"+HH:mm;-HH:mm",gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",regionFormat:"czas: {0}","regionFormat-type-daylight":"{0} (czas letni)","regionFormat-type-standard":"{0} (czas standardowy)",fallbackFormat:"{1} ({0})",zone:{America:{Anchorage:{exemplarCity:"Anchorage"},Boa_Vista:{exemplarCity:"Boa Vista"},Bogota:{exemplarCity:"Bogota"},Buenos_Aires:{exemplarCity:"Buenos Aires"},Caracas:{exemplarCity:"Caracas"},Chicago:{exemplarCity:"Chicago"},Chihuahua:{exemplarCity:"Chihuahua"},Costa_Rica:{exemplarCity:"Kostaryka"},Denver:{exemplarCity:"Denver"},Edmonton:{exemplarCity:"Edmonton"},El_Salvador:{exemplarCity:"Salwador"},Godthab:{exemplarCity:"Nuuk"},Guatemala:{exemplarCity:"Gwatemala"},Guayaquil:{exemplarCity:"Guayaquil"},Halifax:{exemplarCity:"Halifax"},Havana:{exemplarCity:"Hawana"},Indianapolis:{exemplarCity:"Indianapolis"},Lima:{exemplarCity:"Lima"},Los_Angeles:{exemplarCity:"Los Angeles"},Managua:{exemplarCity:"Managua"},Manaus:{exemplarCity:"Manaus"},Mazatlan:{exemplarCity:"Mazatlan"},Mexico_City:{exemplarCity:"Meksyk (miasto)"},Miquelon:{exemplarCity:"Miquelon"},Montevideo:{exemplarCity:"Montevideo"},New_York:{exemplarCity:"Nowy Jork"},Noronha:{exemplarCity:"Noronha"},Panama:{exemplarCity:"Panama"},Phoenix:{exemplarCity:"Phoenix"},Puerto_Rico:{exemplarCity:"Portoryko"},Regina:{exemplarCity:"Regina"},Santiago:{exemplarCity:"Santiago"},Sao_Paulo:{exemplarCity:"Sao Paulo"},St_Johns:{exemplarCity:"St. John’s"},Tijuana:{exemplarCity:"Tijuana"},Toronto:{exemplarCity:"Toronto"},Vancouver:{exemplarCity:"Vancouver"},Winnipeg:{exemplarCity:"Winnipeg"}},Atlantic:{Azores:{exemplarCity:"Azory"},Bermuda:{exemplarCity:"Bermudy"},Cape_Verde:{exemplarCity:"Republika Zielonego Przylądka"},Reykjavik:{exemplarCity:"Reykjavik"},Stanley:{exemplarCity:"Stanley"}},Europe:{Amsterdam:{exemplarCity:"Amsterdam"},Athens:{exemplarCity:"Ateny"},Belgrade:{exemplarCity:"Belgrad"},Berlin:{exemplarCity:"Berlin"},Brussels:{exemplarCity:"Bruksela"},Bucharest:{exemplarCity:"Bukareszt"},Budapest:{exemplarCity:"Budapeszt"},Copenhagen:{exemplarCity:"Kopenhaga"},Dublin:{exemplarCity:"Dublin"},Helsinki:{exemplarCity:"Helsinki"},Istanbul:{exemplarCity:"Stambuł"},Kaliningrad:{exemplarCity:"Kaliningrad"},Kiev:{exemplarCity:"Kijów"},Lisbon:{exemplarCity:"Lizbona"},London:{exemplarCity:"Londyn"},Luxembourg:{exemplarCity:"Luksemburg"},Madrid:{exemplarCity:"Madryt"},Moscow:{exemplarCity:"Moskwa"},Oslo:{exemplarCity:"Oslo"},Paris:{exemplarCity:"Paryż"},Prague:{exemplarCity:"Praga"},Riga:{exemplarCity:"Ryga"},Rome:{exemplarCity:"Rzym"},Samara:{exemplarCity:"Samara"},Sofia:{exemplarCity:"Sofia"},Stockholm:{exemplarCity:"Sztokholm"},Tallinn:{exemplarCity:"Tallin"},Tirane:{exemplarCity:"Tirana"},Vienna:{exemplarCity:"Wiedeń"},Vilnius:{exemplarCity:"Wilno"},Warsaw:{exemplarCity:"Warszawa"},Zurich:{exemplarCity:"Zurych"}},Africa:{Abidjan:{exemplarCity:"Abidżan"},Algiers:{exemplarCity:"Algier"},Cairo:{exemplarCity:"Kair"},Casablanca:{exemplarCity:"Casablanca"},Djibouti:{exemplarCity:"Dżibuti"},Harare:{exemplarCity:"Harare"},Johannesburg:{exemplarCity:"Johannesburg"},Khartoum:{exemplarCity:"Chartum"},Lagos:{exemplarCity:"Lagos"},Maputo:{exemplarCity:"Maputo"},Mogadishu:{exemplarCity:"Mogadiszu"},Nairobi:{exemplarCity:"Nairobi"},Nouakchott:{exemplarCity:"Nawakszut"},Tripoli:{exemplarCity:"Trypolis"},Tunis:{exemplarCity:"Tunis"}},Asia:{Aden:{exemplarCity:"Aden"},Almaty:{exemplarCity:"Ałmaty"},Amman:{exemplarCity:"Amman"},Aqtau:{exemplarCity:"Aktau"},Aqtobe:{exemplarCity:"Aktiubińsk"},Baghdad:{exemplarCity:"Bagdad"},Bahrain:{exemplarCity:"Bahrajn"},Baku:{exemplarCity:"Baku"},Bangkok:{exemplarCity:"Bangkok"},Beirut:{exemplarCity:"Bejrut"},Calcutta:{exemplarCity:"Kalkuta"},Colombo:{exemplarCity:"Kolombo"},Damascus:{exemplarCity:"Damaszek"},Dhaka:{exemplarCity:"Dhaka"},Dubai:{exemplarCity:"Dubaj"},Gaza:{exemplarCity:"Gaza"},Hong_Kong:{exemplarCity:"Hongkong"},Irkutsk:{exemplarCity:"Irkuck"},Jakarta:{exemplarCity:"Dżakarta"},Jerusalem:{exemplarCity:"Jerozolima"},Kabul:{exemplarCity:"Kabul"},Kamchatka:{exemplarCity:"Kamczatka"},Karachi:{exemplarCity:"Karaczi"},Katmandu:{exemplarCity:"Katmandu"},Krasnoyarsk:{exemplarCity:"Krasnojarsk"},Kuala_Lumpur:{exemplarCity:"Kuala Lumpur"},Kuwait:{exemplarCity:"Kuwejt"},Magadan:{exemplarCity:"Magadan"},Manila:{exemplarCity:"Manila"},Muscat:{exemplarCity:"Maskat"},Nicosia:{exemplarCity:"Nikozja"},Novosibirsk:{exemplarCity:"Nowosybirsk"},Omsk:{exemplarCity:"Omsk"},Qatar:{exemplarCity:"Katar"},Rangoon:{exemplarCity:"Rangun"},Riyadh:{exemplarCity:"Rijad"},Saigon:{exemplarCity:"Ho Chi Minh"},Seoul:{exemplarCity:"Seul"},Shanghai:{exemplarCity:"Szanghaj"},Singapore:{exemplarCity:"Singapur"},Taipei:{exemplarCity:"Tajpej"},Tashkent:{exemplarCity:"Taszkient"},Tehran:{exemplarCity:"Teheran"},Tokyo:{exemplarCity:"Tokio"},Vladivostok:{exemplarCity:"Władywostok"},Yakutsk:{exemplarCity:"Jakuck"},Yekaterinburg:{exemplarCity:"Jekaterynburg"}},Indian:{Chagos:{exemplarCity:"Czagos"},Cocos:{exemplarCity:"Wyspy Kokosowe"}},Australia:{Adelaide:{exemplarCity:"Adelaide"},Brisbane:{exemplarCity:"Brisbane"},Darwin:{exemplarCity:"Darwin"},Hobart:{exemplarCity:"Hobart"},Lord_Howe:{exemplarCity:"Lord Howe"},Perth:{exemplarCity:"Perth"},Sydney:{exemplarCity:"Sydney"}},Pacific:{Auckland:{exemplarCity:"Auckland"},Easter:{exemplarCity:"Wyspa Wielkanocna"},Fiji:{exemplarCity:"Fidżi"},Gambier:{exemplarCity:"Wyspy Gambiera"},Guam:{exemplarCity:"Guam"},Honolulu:{exemplarCity:"Honolulu"},Kwajalein:{exemplarCity:"Kwajalein"},Marquesas:{exemplarCity:"Markizy"},Midway:{exemplarCity:"Midway"},Norfolk:{exemplarCity:"Norfolk"},Noumea:{exemplarCity:"Numea"},Pago_Pago:{exemplarCity:"Pago Pago"},Pitcairn:{exemplarCity:"Pitcairn"},Tongatapu:{exemplarCity:"Tongatapu"}}},metazone:{Afghanistan:{long:{standard:"Afganistan"}},Africa_Central:{long:{standard:"czas środkowoafrykański"}},Africa_Eastern:{long:{standard:"czas wschodnioafrykański"}},Africa_Southern:{long:{standard:"czas południowoafrykański"}},Africa_Western:{long:{generic:"czas zachodnioafrykański",standard:"czas zachodnioafrykański standardowy",daylight:"czas zachodnioafrykański letni"}},Alaska:{long:{generic:"czas Alaska",standard:"Alaska (czas standardowy)",daylight:"Alaska (czas letni)"}},Almaty:{long:{generic:"czas ałmacki",standard:"czas ałmacki standardowy",daylight:"czas ałmacki letni"}},Amazon:{long:{generic:"czas amazoński",standard:"czas amazoński standardowy",daylight:"czas amazoński letni"}},America_Central:{long:{generic:"czas środkowoamerykański",standard:"czas środkowoamerykański standardowy",daylight:"czas środkowoamerykański letni"}},America_Eastern:{long:{generic:"czas wschodnioamerykański",standard:"czas wschodnioamerykański standardowy",daylight:"czas wschodnioamerykański letni"}},America_Mountain:{long:{generic:"czas górski",standard:"czas górski standardowy",daylight:"czas górski letni"}},America_Pacific:{long:{generic:"czas pacyficzny",standard:"czas pacyficzny standardowy",daylight:"czas pacyficzny letni"}},Aqtau:{long:{generic:"czas auktaucki",standard:"czas auktaucki standardowy",daylight:"czas auktaucki letni"}},Aqtobe:{long:{generic:"czas aktiubiński",standard:"czas aktiubiński standardowy",daylight:"czas aktiubiński letni"}},Arabian:{long:{generic:"czas Półwysep Arabski",standard:"Półwysep Arabski (czas standardowy)",daylight:"Półwysep Arabski (czas letni)"}},Argentina:{long:{generic:"czas Argentyna",standard:"Argentyna (czas standardowy)",daylight:"Argentyna (czas letni)"}},Atlantic:{long:{generic:"czas atlantycki",standard:"czas atlantycki standardowy",daylight:"czas atlantycki letni"}},Australia_Central:{long:{generic:"czas środkowoaustralijski",standard:"czas środkowoaustralijski standardowy",daylight:"czas środkowoaustralijski letni"}},Australia_Eastern:{long:{generic:"czas wschodnioaustralijski",standard:"czas wschodnioaustralijski standardowy",daylight:"czas wschodnioaustralijski letni"}},Australia_Western:{long:{generic:"czas zachodnioaustralijski",standard:"czas zachodnioaustralijski standardowy",daylight:"czas zachodnioaustralijski letni"}},Azerbaijan:{long:{generic:"czas Azerbejdżan",standard:"Azerbejdżan (czas standardowy)",daylight:"Azerbejdżan (czas letni)"}},Azores:{long:{generic:"czas Azory",standard:"Azory (czas standardowy)",daylight:"Azory (czas letni)"}},Bangladesh:{long:{generic:"czas Bangladesz",standard:"Bangladesz (czas standardowy)",daylight:"Bangladesz (czas letni)"}},Brasilia:{long:{generic:"czas Brasília",standard:"Brasília (czas standardowy)",daylight:"Brasília (czas letni)"}},Cape_Verde:{long:{generic:"czas Wyspy Zielonego Przylądka",standard:"Wyspy Zielonego Przylądka (czas standardowy)",daylight:"Wyspy Zielonego Przylądka (czas letni)"}},Chamorro:{long:{standard:"czas Czamorro"}},Chile:{long:{generic:"czas Chile",standard:"Chile (czas standardowy)",daylight:"Chile (czas letni)"}},China:{long:{generic:"czas Chiny",standard:"Chiny (czas standardowy)",daylight:"Chiny (czas letni)"}},Cocos:{long:{standard:"czas Wyspy Kokosowe"}},Colombia:{long:{generic:"czas Kolumbia",standard:"Kolumbia (czas standardowy)",daylight:"Kolumbia (czas letni)"}},Cuba:{long:{generic:"czas Kuba",standard:"Kuba (czas standardowy)",daylight:"Kuba (czas letni)"}},Easter:{long:{generic:"czas Wyspa Wielkanocna",standard:"Wyspa Wielkanocna (czas standardowy)",daylight:"Wyspa Wielkanocna (czas letni)"}},Ecuador:{long:{standard:"czas Ekwador"}},Europe_Central:{long:{generic:"czas środkowoeuropejski",standard:"czas środkowoeuropejski standardowy",daylight:"czas środkowoeuropejski letni"},short:{generic:"CET",standard:"CET",daylight:"CEST"}},Europe_Eastern:{long:{generic:"czas wschodnioeuropejski",standard:"czas wschodnioeuropejski standardowy",daylight:"czas wschodnioeuropejski letni"},short:{generic:"EET",standard:"EET",daylight:"EEST"}},Europe_Further_Eastern:{long:{standard:"czas wschodnioeuropejski dalszy"}},Europe_Western:{long:{generic:"czas zachodnioeuropejski",standard:"czas zachodnioeuropejski standardowy",daylight:"czas zachodnioeuropejski letni"},short:{generic:"WET",standard:"WET",daylight:"WEST"}},Falkland:{long:{generic:"czas Falklandy",standard:"Falklandy (czas standardowy)",daylight:"Falklandy (czas letni)"}},Fiji:{long:{generic:"czas Fidżi",standard:"Fidżi (czas standardowy)",daylight:"Fidżi (czas letni)"}},Gambier:{long:{standard:"czas Wyspy Gambiera"}},GMT:{long:{standard:"czas uniwersalny"}},Greenland_Western:{long:{generic:"czas Grenlandia Zachodnia",standard:"Grenlandia Zachodnia (czas standardowy)",daylight:"Grenlandia Zachodnia (czas letni)"}},Gulf:{long:{standard:"czas Zatoka Perska"}},Hawaii_Aleutian:{long:{generic:"czas Hawaje-Aleuty",standard:"Hawaje-Aleuty (czas standardowy)",daylight:"Hawaje-Aleuty (czas letni)"}},Hong_Kong:{long:{generic:"czas Hongkong",standard:"Hongkong (czas standardowy)",daylight:"Hongkong (czas letni)"}},India:{long:{standard:"czas indyjski standardowy"}},Indian_Ocean:{long:{standard:"czas Ocean Indyjski"}},Indochina:{long:{standard:"czas indochiński"}},Indonesia_Western:{long:{standard:"czas Indonezja Zachodnia"}},Iran:{long:{generic:"czas Iran",standard:"Iran (czas standardowy)",daylight:"Iran (czas letni)"}},Irkutsk:{long:{generic:"czas Irkuck",standard:"Irkuck (czas standardowy)",daylight:"Irkuck (czas letni)"}},Israel:{long:{generic:"czas Izrael",standard:"Izrael (czas standardowy)",daylight:"Izrael (czas letni)"}},Japan:{long:{generic:"czas Japonia",standard:"Japonia (czas standardowy)",daylight:"Japonia (czas letni)"}},Kamchatka:{long:{generic:"czas Pietropawłowsk Kamczacki",standard:"czas standardowy Pietropawłowsk Kamczacki",daylight:"czas Pietropawłowsk Kamczacki letni"}},Kazakhstan_Eastern:{long:{standard:"czas Kazachstan Wschodni"}},Kazakhstan_Western:{long:{standard:"czas Kazachstan Zachodni"}},Korea:{long:{generic:"czas Korea",standard:"Korea (czas standardowy)",daylight:"Korea (czas letni)"}},Krasnoyarsk:{long:{generic:"czas Krasnojarsk",standard:"Krasnojarsk (czas standardowy)",daylight:"Krasnojarsk (czas letni)"}},Lord_Howe:{long:{generic:"czas Lord Howe",standard:"Lord Howe (czas standardowy)",daylight:"Lord Howe (czas letni)"}},Magadan:{long:{generic:"czas Magadan",standard:"Magadan (czas standardowy)",daylight:"Magadan (czas letni)"}},Malaysia:{long:{standard:"czas Malezja"}},Marquesas:{long:{standard:"czas Markizy"}},Marshall_Islands:{long:{standard:"czas Wyspy Marshalla"}},Mexico_Pacific:{long:{generic:"Meksyk (czas pacyficzny)",standard:"Meksyk (czas pacyficzny standardowy)",daylight:"Meksyk (czas pacyficzny letni)"}},Moscow:{long:{generic:"czas Moskwa",standard:"Moskwa (czas standardowy)",daylight:"Moskwa (czas letni)"}},Myanmar:{long:{standard:"czas Mjanma"}},Nepal:{long:{standard:"czas Nepal"}},New_Caledonia:{long:{generic:"czas Nowa Kaledonia",standard:"Nowa Kaledonia (czas standardowy)",daylight:"Nowa Kaledonia (czas letni)"}},New_Zealand:{long:{generic:"czas Nowa Zelandia",standard:"Nowa Zelandia (czas standardowy)",daylight:"Nowa Zelandia (czas letni)"}},Newfoundland:{long:{generic:"czas Nowa Fundlandia",standard:"Nowa Fundlandia (czas standardowy)",daylight:"Nowa Fundlandia (czas letni)"}},Norfolk:{long:{generic:"czas Norfolk",standard:"Norfolk (czas standardowy)",daylight:"Norfolk (czas letni)"}},Noronha:{long:{generic:"czas Fernando de Noronha",standard:"Fernando de Noronha (czas standardowy)",daylight:"Fernando de Noronha (czas letni)"}},Novosibirsk:{long:{generic:"czas Nowosybirsk",standard:"Nowosybirsk (czas standardowy)",daylight:"Nowosybirsk (czas letni)"}},Omsk:{long:{generic:"czas Omsk",standard:"Omsk (czas standardowy)",daylight:"Omsk (czas letni)"}},Pakistan:{long:{generic:"czas Pakistan",standard:"Pakistan (czas standardowy)",daylight:"Pakistan (czas letni)"}},Peru:{long:{generic:"czas Peru",standard:"Peru (czas standardowy)",daylight:"Peru (czas letni)"}},Philippines:{long:{generic:"czas Filipiny",standard:"Filipiny (czas standardowy)",daylight:"Filipiny (czas letni)"}},Pierre_Miquelon:{long:{generic:"czas Saint-Pierre i Miquelon",standard:"Saint-Pierre i Miquelon (czas standardowy)",daylight:"Saint-Pierre i Miquelon (czas letni)"}},Pitcairn:{long:{standard:"czas Pitcairn"}},Samara:{long:{generic:"czas Samara",standard:"czas standardowy Samara",daylight:"czas Samara letni"}},Samoa:{long:{generic:"czas Samoa",standard:"Samoa (czas standardowy)",daylight:"Samoa (czas letni)"}},Singapore:{long:{standard:"czas Singapur"}},Taipei:{long:{generic:"czas Tajpej",standard:"Tajpej (czas standardowy)",daylight:"Tajpej (czas letni)"}},Tonga:{long:{generic:"czas Tonga",standard:"Tonga (czas standardowy)",daylight:"Tonga (czas letni)"}},Uruguay:{long:{generic:"czas Urugwaj",standard:"Urugwaj (czas standardowy)",daylight:"Urugwaj (czas letni)"}},Uzbekistan:{long:{generic:"czas Uzbekistan",standard:"Uzbekistan (czas standardowy)",daylight:"Uzbekistan (czas letni)"}},Venezuela:{long:{standard:"czas Wenezuela"}},Vladivostok:{long:{generic:"czas Władywostok",standard:"Władywostok (czas standardowy)",daylight:"Władywostok (czas letni)"}},Yakutsk:{long:{generic:"czas Jakuck",standard:"Jakuck (czas standardowy)",daylight:"Jakuck (czas letni)"}},Yekaterinburg:{long:{generic:"czas Jekaterynburg",standard:"Jekaterynburg (czas standardowy)",daylight:"Jekaterynburg (czas letni)"}}}}}}}});
|
var BijeloPolje =
"POLYGON((19.557618 43.242219,19.558128 43.23954,19.556673 43.2352,19.554281 43.231857,19.552466 43.228506,19.551039 43.225291,19.548875 43.223351,19.544428 43.222428,19.540971 43.222615,19.538681 43.22335,19.536576 43.2238,19.529256 43.223337,19.526547 43.22267,19.524607 43.221993,19.525922 43.22071,19.527803 43.218997,19.525997 43.215927,19.523806 43.212862,19.524534 43.211164,19.521764 43.207966,19.520174 43.205878,19.518581 43.203649,19.517013 43.202404,19.51678 43.200719,19.515372 43.198207,19.514171 43.196253,19.513942 43.194709,19.514484 43.193296,19.515812 43.192574,19.517696 43.191002,19.517263 43.189039,19.514724 43.187385,19.51178 43.184892,19.511149 43.18265,19.511681 43.180815,19.515411 43.176123,19.517466 43.173705,19.518588 43.172424,19.517195 43.170473,19.516375 43.168374,19.515003 43.167268,19.511919 43.166887,19.509004 43.165519,19.507248 43.164417,19.504343 43.163472,19.50351 43.16081,19.502502 43.158855,19.499587 43.157487,19.495517 43.155993,19.493145 43.153212,19.491756 43.151401,19.490773 43.15043,19.490362 43.14931,19.490325 43.147763,19.488522 43.144693,19.48445 43.143058,19.481863 43.139295,19.481001 43.135368,19.478667 43.134132,19.473761 43.129695,19.471596 43.127473,19.470037 43.126509,19.467525 43.125838,19.464801 43.124326,19.46169 43.122679,19.458762 43.120607,19.454473 43.117849,19.453276 43.115895,19.454788 43.114891,19.452657 43.114074,19.451665 43.112681,19.450318 43.112557,19.448532 43.110048,19.447162 43.108941,19.445812 43.108677,19.445253 43.109387,19.445679 43.11121,19.447611 43.111748,19.449189 43.113556,19.449798 43.114955,19.448285 43.115959,19.445598 43.115993,19.443672 43.115737,19.441571 43.116186,19.439238 43.114949,19.437683 43.114125,19.436506 43.113015,19.434023 43.113609,19.432133 43.114899,19.431596 43.116594,19.434133 43.11839,19.435714 43.120339,19.434976 43.121614,19.433062 43.12192,19.430349 43.120829,19.428772 43.119021,19.42698 43.11623,19.426145 43.113287,19.426096 43.111178,19.426614 43.108639,19.425981 43.106115,19.426495 43.103436,19.427976 43.101027,19.42717 43.099349,19.431867 43.094929,19.434485 43.091942,19.435006 43.089544,19.434974 43.088138,19.431261 43.085232,19.427171 43.082611,19.4246 43.079268,19.424348 43.076598,19.426595 43.074179,19.431725 43.072004,19.434388 43.070986,19.437478 43.071861,19.443024 43.071087,19.446632 43.069493,19.449275 43.067631,19.453601 43.063918,19.456438 43.062194,19.460995 43.060166,19.46519 43.059127,19.468054 43.058527,19.468953 43.055984,19.471981 43.054256,19.474451 43.05324,19.474675 43.054643,19.474355 43.05732,19.477506 43.060795,19.480188 43.06062,19.482092 43.060032,19.484995 43.061119,19.48768 43.061084,19.492262 43.060179,19.494563 43.060149,19.499165 43.060088,19.504332 43.059598,19.514058 43.057217,19.515003 43.056642,19.515712 43.054241,19.521032 43.052201,19.527301 43.049725,19.529773 43.048848,19.533025 43.048522,19.53434 43.047379,19.536205 43.045244,19.540371 43.043078,19.543208 43.041492,19.546042 43.039765,19.550918 43.035338,19.554329 43.033744,19.555047 43.031765,19.557646 43.028353,19.559151 43.027207,19.561827 43.026889,19.563957 43.027704,19.565884 43.028099,19.568567 43.028062,19.574505 43.027839,19.581198 43.027183,19.585606 43.027121,19.593471 43.027292,19.599792 43.027062,19.603589 43.025602,19.604109 43.023484,19.605776 43.02121,19.608647 43.021029,19.6106 43.022408,19.612729 43.023221,19.616161 43.022469,19.618829 43.021868,19.620922 43.021276,19.622658 43.021673,19.624216 43.022635,19.624094 43.025309,19.622004 43.026043,19.620316 43.027473,19.620544 43.028877,19.623058 43.029685,19.624963 43.029235,19.627573 43.026385,19.629058 43.024535,19.630562 43.023388,19.628801 43.022007,19.627025 43.020063,19.627364 43.01837,19.629424 43.016512,19.632464 43.015484,19.635482 43.013611,19.638559 43.013989,19.64088 43.014799,19.642763 43.013506,19.645025 43.012067,19.645939 43.010365,19.646005 43.005582,19.645901 43.001645,19.646593 42.998822,19.647882 42.996834,19.648784 42.994711,19.648699 42.991477,19.647052 42.987141,19.645597 42.982802,19.643239 42.980585,19.641052 42.977522,19.637686 42.973351,19.636637 42.96985,19.632204 42.968789,19.632171 42.967523,19.633647 42.965392,19.63417 42.963416,19.632201 42.961334,19.630416 42.958969,19.630162 42.956581,19.627799 42.954083,19.630078 42.953347,19.634256 42.952021,19.63769 42.951549,19.640687 42.948974,19.647367 42.948174,19.656877 42.945784,19.665201 42.942005,19.671427 42.938538,19.676886 42.935081,19.679099 42.931954,19.67788 42.929299,19.675137 42.926949,19.6751 42.925543,19.675985 42.922857,19.675347 42.920475,19.67717 42.917073,19.680752 42.91505,19.682998 42.913188,19.685684 42.91343,19.688805 42.915634,19.692237 42.915161,19.695252 42.913428,19.697903 42.912403,19.700405 42.912928,19.702165 42.914309,19.704896 42.916237,19.708757 42.917444,19.711829 42.91782,19.715689 42.919028,19.719749 42.920513,19.721382 42.917253,19.724045 42.91665,19.727285 42.916179,19.730728 42.916126,19.732239 42.9154,19.733711 42.913267,19.736413 42.91407,19.740246 42.914293,19.744907 42.916753,19.74937 42.918934,19.754219 42.921251,19.762739 42.924776,19.765836 42.925993,19.769519 42.927624,19.772971 42.927851,19.775824 42.927244,19.78042 42.927312,19.781995 42.928835,19.783944 42.93007,19.788951 42.931116,19.793164 42.93119,19.797329 42.929577,19.800015 42.929816,19.801224 42.931907,19.802453 42.9347,19.802351 42.937796,19.801886 42.941601,19.803486 42.943967,19.803176 42.946504,19.802492 42.949328,19.804698 42.952809,19.805724 42.955184,19.809552 42.955123,19.812822 42.955633,19.81536 42.957281,19.816382 42.959515,19.818448 42.964686,19.821539 42.965621,19.82514 42.964297,19.829497 42.96268,19.834283 42.962602,19.837491 42.961003,19.840654 42.957857,19.842124 42.955724,19.843526 42.95134,19.84071 42.946744,19.842179 42.944611,19.84292 42.943755,19.842088 42.941518,19.841269 42.939702,19.841989 42.938144,19.844426 42.936416,19.848012 42.93467,19.851564 42.931799,19.855557 42.930889,19.860893 42.930099,19.864112 42.92892,19.866366 42.927477,19.868857 42.927576,19.873606 42.926373,19.879873 42.924722,19.882351 42.924399,19.884596 42.922674,19.886696 42.922498,19.88903 42.923725,19.891211 42.926221,19.893727 42.927164,19.89604 42.927688,19.896682 42.929927,19.898489 42.93271,19.900301 42.935634,19.902291 42.938132,19.90577 42.939199,19.910575 42.939821,19.911966 42.941486,19.914918 42.944109,19.91798 42.944057,19.919541 42.945015,19.920749 42.946964,19.922336 42.948765,19.922397 42.950734,19.920731 42.95259,19.916032 42.955483,19.916254 42.956464,19.918164 42.956291,19.920843 42.956245,19.923905 42.956194,19.929482 42.956943,19.933118 42.956881,19.935989 42.956832,19.940035 42.957607,19.943885 42.958244,19.945986 42.958067,19.9489 42.959424,19.950797 42.958829,19.954607 42.9582,19.957696 42.958991,19.960077 42.961622,19.962431 42.96341,19.96532 42.963923,19.96978 42.965674,19.974044 42.967288,19.975117 42.970926,19.975781 42.973728,19.977958 42.97594,19.982201 42.976851,19.988519 42.97674,19.99196 42.976539,19.994026 42.975237,19.996359 42.976321,19.997886 42.976153 20.000726 42.975119 20.00249 42.976354 20.005141 42.98137 20.01673 42.978352 20.019328 42.981681 20.025236 42.986639 20.030479 42.988796 20.035321 42.990397 20.038946 42.98991 20.03967 42.988631 20.041744 42.987609 20.044079 42.988693 20.047375 42.989899 20.051644 42.99151 20.06012 42.992903 20.067808 42.993607 20.065201 42.995905 20.062969 42.997915 20.060572 43.000772 20.060641 43.00288 20.059982 43.006127 20.055245 43.007761 20.050699 43.00939 20.055179 43.011559 20.05336 43.014546 20.049873 43.019251 20.046317 43.021847 20.044165 43.026387 20.039841 43.028996 20.035882 43.031037 20.031735 43.033221 20.026261 43.03585 20.021338 43.037767 20.013731 43.039731 20.005924 43.041416 20.001588 43.043743,19.995991 43.048624,19.990719 43.051671,19.986226 43.055125,19.984836 43.05965,19.982363 43.066305,19.980646 43.066616,19.977605 43.067513,19.975541 43.068955,19.974145 43.07334,19.973004 43.079689,19.972397 43.084763,19.96927 43.089037,19.967263 43.092307,19.966763 43.094707,19.968596 43.098051,19.969488 43.101974,19.969278 43.107463,19.966364 43.112436,19.963861 43.112198,19.962326 43.112225,19.959046 43.111719,19.955754 43.110791,19.954148 43.108569,19.951453 43.108334,19.950414 43.10582,19.948996 43.103453,19.948716 43.100645,19.946222 43.100688,19.944491 43.100577,19.941757 43.099077,19.939848 43.09939,19.936028 43.100018,19.932178 43.099662,19.929824 43.098014,19.928429 43.09635,19.925896 43.095127,19.924536 43.094588,19.921689 43.095621,19.91899 43.095245,19.916802 43.09275,19.914362 43.08829,19.912767 43.086348,19.909558 43.08809,19.907858 43.088962,19.904474 43.09127,19.902629 43.093692,19.901411 43.097791,19.899889 43.098239,19.897779 43.098274,19.894129 43.098195,19.891039 43.097543,19.886417 43.097057,19.883766 43.098227,19.883079 43.100911,19.881451 43.104173,19.879591 43.106173,19.877711 43.10747,19.87606 43.110029,19.872248 43.110936,19.869029 43.112395,19.865204 43.11288,19.860957 43.112106,19.858403 43.110179,19.855254 43.107558,19.850945 43.104675,19.849009 43.104144,19.847833 43.103319,19.848167 43.101626,19.84757 43.100932,19.84586 43.101523,19.843558 43.10156,19.842957 43.100726,19.842152 43.099473,19.840534 43.096687,19.838166 43.094475,19.835839 43.093668,19.833937 43.094262,19.831689 43.096127,19.832306 43.097523,19.833165 43.100604,19.831904 43.103437,19.830265 43.106417,19.83305 43.109748,19.835161 43.109714,19.836349 43.110961,19.836967 43.112357,19.833979 43.115219,19.829048 43.117267,19.825226 43.117892,19.820984 43.117257,19.816892 43.115213,19.81011 43.113071,19.807428 43.113254,19.80421 43.114853,19.804831 43.11639,19.804912 43.119202,19.803038 43.120779,19.798673 43.122536,19.792572 43.124039,19.787406 43.124684,19.785703 43.125554,19.783664 43.128118,19.783136 43.129814,19.783417 43.132904,19.779642 43.135214,19.775859 43.137243,19.779027 43.140569,19.777812 43.145089,19.778537 43.150282,19.77709 43.153399,19.772417 43.157973,19.770065 43.163073,19.770333 43.165741,19.76746 43.166068,19.763635 43.16669,19.755756 43.166672,19.754188 43.165571,19.75278 43.163342,19.75004 43.161556,19.745751 43.159372,19.742863 43.159135,19.737474 43.158796,19.735996 43.160928,19.735651 43.16234,19.734942 43.164461,19.732692 43.166464,19.732539 43.167873,19.731838 43.170275,19.730156 43.171988,19.72673 43.173166,19.7229 43.173646,19.718846 43.173005,19.708266 43.172602,19.694604 43.171964,19.685564 43.171677,19.682445 43.170035,19.680886 43.169215,19.679571 43.170359,19.679045 43.172196,19.677791 43.17559,19.67497 43.177882,19.671803 43.181586,19.666118 43.184623,19.661718 43.185391,19.659974 43.184854,19.657284 43.184894,19.654051 43.186207,19.650785 43.186255,19.647548 43.187427,19.644323 43.189021,19.640506 43.190061,19.639397 43.191765,19.637162 43.19447,19.636283 43.197577,19.636357 43.200389,19.635485 43.203777,19.636302 43.205594,19.639802 43.20709,19.640608 43.208485,19.638328 43.209503,19.636239 43.210518,19.633012 43.212111,19.63133 43.213964,19.629863 43.216658,19.627811 43.219078,19.625585 43.222205,19.621015 43.223958,19.617221 43.225982,19.617602 43.225835,19.616681 43.227396,19.615183 43.228964,19.61543 43.231071,19.612379 43.232099,19.608174 43.233143,19.604354 43.234182,19.600171 43.23607,19.5939 43.239112,19.589281 43.239036,19.58468 43.239663,19.581796 43.239704,19.579538 43.241704,19.577226 43.241596,19.574324 43.240933,19.571838 43.24153,19.568212 43.242706,19.565338 43.243168,19.560337 43.243237,19.556906 43.24448,19.557618 43.242219))",
Pljevlja =
"POLYGON((18.94849 43.520162,18.947704 43.519324,18.944612 43.519351,18.940146 43.517982,18.937796 43.515891,18.935071 43.514648,18.931977 43.514534,18.925214 43.514589,18.922108 43.513631,18.919756 43.511399,18.916614 43.50805,18.912316 43.50485,18.912088 43.502461,18.91263 43.499924,18.913962 43.498507,18.91568 43.497087,18.918932 43.49495,18.925461 43.492224,18.927772 43.491783,18.929901 43.492047,18.931268 43.49302,18.933395 43.493143,18.936498 43.493961,18.940576 43.495334,18.943869 43.495869,18.948093 43.494145,18.952703 43.492418,18.954405 43.490013,18.95723 43.485347,18.957786 43.483796,18.95582 43.481562,18.955008 43.479037,18.955562 43.477345,18.958029 43.474511,18.9605 43.471958,18.960092 43.470555,18.958545 43.470428,18.957745 43.468606,18.957881 43.464948,18.958812 43.46269,18.958207 43.461007,18.956448 43.459615,18.953148 43.458518,18.952363 43.457681,18.952526 43.455711,18.952884 43.453879,18.957324 43.453841,18.959827 43.453398,18.961738 43.452116,18.964263 43.453079,18.968136 43.453889,18.970455 43.45401,18.973537 43.453561,18.976242 43.453678,18.978185 43.454506,18.979945 43.455897,18.982852 43.456574,18.983981 43.454736,18.98553 43.455004,18.988035 43.454701,18.988778 43.452866,18.990511 43.452569,18.992239 43.451991,18.991835 43.45087,18.989299 43.449204,18.990639 43.448489,18.99238 43.448755,18.994715 43.44986,18.99548 43.449431,18.996427 43.448297,18.997551 43.446178,18.997306 43.442945,18.997854 43.440971,19.000363 43.440949,19.001344 43.441924,19.000417 43.444324,19.001605 43.446141,19.004136 43.447525,19.005873 43.44751,19.007397 43.44623,19.010302 43.446767,19.012983 43.445477,19.013151 43.443928,19.01043 43.442828,19.007715 43.442008,19.010594 43.440998,19.011357 43.440428,19.009944 43.436643,19.013199 43.435067,19.012579 43.432541,19.014309 43.432103,19.015641 43.430966,19.015235 43.429704,19.016374 43.428568,19.016156 43.427023,19.015928 43.424915,19.016672 43.423221,19.01585 43.420134,19.01484 43.41733,19.015976 43.416054,19.018248 43.413361,19.019961 43.411939,19.018596 43.411108,19.018573 43.409701,19.02166 43.409673,19.025109 43.408235,19.027577 43.405822,19.030416 43.402561,19.032484 43.399307,19.034554 43.396194,19.037927 43.390255,19.039775 43.385456,19.038738 43.381105,19.035823 43.379726,19.033107 43.378766,19.033284 43.37778,19.035957 43.376208,19.038064 43.375345,19.041125 43.37391,19.042244 43.371649,19.04143 43.369125,19.041957 43.366026,19.043835 43.363055,19.046674 43.359934,19.049539 43.35836,19.052789 43.356783,19.056601 43.354215,19.060409 43.351507,19.060747 43.348691,19.060889 43.345736,19.061243 43.343904,19.064095 43.341627,19.067534 43.339906,19.069242 43.338343,19.071322 43.336073,19.072803 43.332542,19.073908 43.329578,19.074452 43.327604,19.07445 43.327463,19.076749 43.326738,19.080967 43.325572,19.082291 43.324153,19.084559 43.321599,19.085487 43.319621,19.083732 43.318372,19.07849 43.316032,19.07675 43.315626,19.073844 43.31467,19.07362 43.312843,19.073593 43.311296,19.071836 43.309907,19.068362 43.309518,19.064501 43.308992,19.063502 43.306891,19.062693 43.304648,19.061317 43.302974,19.05898 43.301449,19.058188 43.30019,19.058922 43.298073,19.056766 43.295843,19.052911 43.295598,19.047736 43.297053,19.04428 43.297648,19.042953 43.298926,19.041415 43.299081,19.040608 43.296838,19.039593 43.293753,19.037417 43.290257,19.036173 43.284923,19.034394 43.282127,19.029512 43.277952,19.025596 43.273909,19.025566 43.27208,19.025132 43.269131,19.023728 43.265627,19.019061 43.262716,19.018051 43.259771,19.012393 43.25504,19.0083 43.251842,19.011347 43.249845,19.013576 43.244902,19.015243 43.240949,19.019058 43.238945,19.023675 43.238903,19.027522 43.238868,19.031188 43.239538,19.03561 43.239357,19.041376 43.239022,19.04463 43.238007,19.046321 43.2356,19.047801 43.23207,19.04792 43.227709,19.049789 43.224457,19.05396 43.220901,19.057374 43.218056,19.061374 43.215768,19.065784 43.215023,19.069063 43.215554,19.071961 43.216371,19.075624 43.216898,19.078513 43.217152,19.082965 43.218797,19.088571 43.220431,19.092237 43.221099,19.096467 43.221058,19.10068 43.220032,19.104469 43.21676,19.106569 43.215895,19.109249 43.215166,19.110947 43.21332,19.114023 43.21329,19.125063 43.217681,19.135584 43.225171,19.137315 43.225153,19.139997 43.224564,19.146481 43.221544,19.152255 43.221767,19.158429 43.222828,19.161511 43.223078,19.166511 43.223026,19.17111 43.222135,19.173773 43.22056,19.177582 43.218551,19.182141 43.21555,19.184042 43.214404,19.187284 43.212964,19.18974 43.210687,19.195611 43.205984,19.201316 43.202688,19.20571 43.201234,19.207819 43.200931,19.21204 43.200463,19.212982 43.199469,19.215239 43.196912,19.217334 43.195905,19.22234 43.196273,19.225023 43.195822,19.228249 43.193677,19.22972 43.190285,19.232945 43.18814,19.236558 43.186132,19.239563 43.182582,19.24279 43.180578,19.247159 43.177997,19.249462 43.177831,19.25196 43.177804,19.256201 43.17846,19.259657 43.178281,19.261754 43.177413,19.263819 43.174999,19.263957 43.172325,19.264835 43.168236,19.266318 43.165547,19.268979 43.164111,19.272015 43.162248,19.27715 43.159658,19.284019 43.15733,19.287668 43.157288,19.291126 43.157249,19.294158 43.155245,19.295075 43.153124,19.29772 43.150984,19.300755 43.149121,19.300507 43.146451,19.300262 43.143922,19.302348 43.142632,19.303619 43.139101,19.306269 43.137242,19.309879 43.135372,19.310996 43.133671,19.31133 43.131276,19.312437 43.129153,19.315509 43.129117,19.318608 43.130347,19.321706 43.131577,19.327049 43.129967,19.329479 43.126844,19.333082 43.124691,19.337275 43.123235,19.339534 43.121099,19.344461 43.118086,19.348468 43.116913,19.353992 43.114878,19.359732 43.113965,19.363908 43.111805,19.364215 43.108285,19.364172 43.106316,19.367782 43.104585,19.370243 43.103008,19.373233 43.099314,19.376452 43.097306,19.379255 43.093896,19.381505 43.091477,19.382594 43.088651,19.381758 43.085567,19.380653 43.078969,19.382336 43.076979,19.385887 43.072716,19.388204 43.073391,19.392242 43.073763,19.394915 43.073168,19.398537 43.072138,19.401235 43.072668,19.403357 43.073204,19.405851 43.073173,19.408527 43.072717,19.409243 43.070458,19.410947 43.069452,19.41323 43.06858,19.41648 43.068117,19.42319 43.067892,19.431293 43.0699,19.434388 43.070986,19.431725 43.072004,19.426595 43.074179,19.424348 43.076598,19.4246 43.079268,19.427171 43.082611,19.431261 43.085232,19.434974 43.088138,19.435006 43.089544,19.434485 43.091942,19.431867 43.094929,19.42717 43.099349,19.427976 43.101027,19.426495 43.103436,19.425981 43.106115,19.426614 43.108639,19.426096 43.111178,19.426145 43.113287,19.42698 43.11623,19.428772 43.119021,19.430349 43.120829,19.433062 43.12192,19.434976 43.121614,19.435714 43.120339,19.434133 43.11839,19.431596 43.116594,19.432133 43.114899,19.434023 43.113609,19.436506 43.113015,19.437683 43.114125,19.439238 43.114949,19.441571 43.116186,19.443672 43.115737,19.445598 43.115993,19.448285 43.115959,19.449798 43.114955,19.449189 43.113556,19.447611 43.111748,19.445679 43.11121,19.445253 43.109387,19.445812 43.108677,19.447162 43.108941,19.448532 43.110048,19.450318 43.112557,19.451665 43.112681,19.452657 43.114074,19.454788 43.114891,19.453276 43.115895,19.454473 43.117849,19.458762 43.120607,19.46169 43.122679,19.464801 43.124326,19.467525 43.125838,19.470037 43.126509,19.471596 43.127473,19.473761 43.129695,19.478667 43.134132,19.481001 43.135368,19.481863 43.139295,19.48445 43.143058,19.488522 43.144693,19.490325 43.147763,19.490362 43.14931,19.490773 43.15043,19.491756 43.151401,19.493145 43.153212,19.495517 43.155993,19.499587 43.157487,19.502502 43.158855,19.50351 43.16081,19.504343 43.163472,19.507248 43.164417,19.509004 43.165519,19.511919 43.166887,19.515003 43.167268,19.516375 43.168374,19.517195 43.170473,19.518588 43.172424,19.517466 43.173705,19.515411 43.176123,19.511681 43.180815,19.511149 43.18265,19.51178 43.184892,19.514724 43.187385,19.517263 43.189039,19.517696 43.191002,19.515812 43.192574,19.514484 43.193296,19.513942 43.194709,19.514171 43.196253,19.515372 43.198207,19.51678 43.200719,19.517013 43.202404,19.518581 43.203649,19.520174 43.205878,19.521764 43.207966,19.524534 43.211164,19.523806 43.212862,19.525997 43.215927,19.527803 43.218997,19.525922 43.22071,19.524607 43.221993,19.526547 43.22267,19.529256 43.223337,19.536576 43.2238,19.538681 43.22335,19.540971 43.222615,19.544428 43.222428,19.548875 43.223351,19.551039 43.225291,19.552466 43.228506,19.554281 43.231857,19.556673 43.2352,19.558128 43.23954,19.557618 43.242219,19.556906 43.24448,19.555032 43.246475,19.549965 43.251608,19.546943 43.253899,19.544257 43.254217,19.542162 43.25509,19.54126 43.257493,19.540144 43.259056,19.540196 43.261165,19.542145 43.262123,19.540448 43.263553,19.539507 43.264409,19.538031 43.266961,19.535991 43.270083,19.533745 43.272645,19.530907 43.274653,19.529602 43.276358,19.528111 43.278348,19.527186 43.279907,19.526665 43.282165,19.526146 43.284563,19.527566 43.287497,19.53055 43.291395,19.529623 43.292814,19.529493 43.295348,19.530514 43.297725,19.532674 43.299384,19.533118 43.301769,19.534315 43.30344,19.535498 43.304549,19.534759 43.305825,19.534433 43.308221,19.532924 43.309507,19.531233 43.311218,19.530123 43.313061,19.528222 43.314072,19.527707 43.31661,19.525458 43.319172,19.523364 43.320185,19.520328 43.322054,19.517804 43.321244,19.516057 43.320705,19.513 43.321731,19.507621 43.322365,19.505338 43.323521,19.503216 43.323409,19.501297 43.323715,19.499013 43.324871,19.496729 43.326026,19.493854 43.326627,19.492117 43.326509,19.490556 43.325686,19.488069 43.326422,19.4852 43.327304,19.482923 43.32874,19.480675 43.331442,19.479557 43.333004,19.478627 43.334422,19.477718 43.336685,19.476791 43.338244,19.47546 43.338965,19.472972 43.3397,19.471076 43.340991,19.467652 43.342864,19.465343 43.343035,19.462852 43.343629,19.459833 43.346341,19.45968 43.348031,19.461088 43.350544,19.461537 43.353211,19.459261 43.354787,19.458121 43.355505,19.459886 43.356748,19.460298 43.357868,19.459962 43.359982,19.457324 43.362548,19.451804 43.365573,19.449123 43.36631,19.447996 43.367591,19.448029 43.368997,19.448434 43.369835,19.449045 43.371234,19.449484 43.373479,19.448413 43.377149,19.449606 43.378681,19.44792 43.380813,19.447554 43.381661,19.449123 43.382766,19.450512 43.384436,19.449767 43.385571,19.447287 43.386728,19.446742 43.388142,19.445399 43.38844,19.444076 43.389582,19.443148 43.391141,19.441243 43.39215,19.439128 43.392458,19.437373 43.391637,19.435452 43.391942,19.433922 43.392524,19.431628 43.393397,19.429132 43.393851,19.427782 43.393868,19.426024 43.392906,19.425449 43.393054,19.423716 43.393216,19.422001 43.394082,19.419504 43.394535,19.417569 43.394278,19.413308 43.393488,19.410415 43.393524,19.408323 43.394816,19.404727 43.397814,19.402609 43.397981,19.400292 43.397869,19.399556 43.399425,19.397289 43.401563,19.395177 43.402011,19.393612 43.401046,19.392269 43.401344,19.392497 43.402888,19.391956 43.404583,19.390628 43.405584,19.391811 43.406694,19.391839 43.40796,19.388965 43.408839,19.387078 43.410691,19.38458 43.411143,19.381892 43.411739,19.379369 43.411066,19.377469 43.412356,19.375976 43.414624,19.374607 43.413797,19.373244 43.413251,19.369178 43.412597,19.366478 43.41263,19.364175 43.41322,19.361117 43.414523,19.359941 43.413693,19.359145 43.412578,19.357605 43.412737,19.355698 43.413744,19.353215 43.414899,19.350735 43.416195,19.348999 43.416216,19.347866 43.417354,19.347162 43.420457,19.34391 43.421762,19.342584 43.422903,19.341852 43.42474,19.339758 43.42603,19.337326 43.429576,19.33584 43.432265,19.334342 43.434393,19.331689 43.436675,19.332871 43.437786,19.332314 43.438777,19.329612 43.438809,19.326691 43.437577,19.324966 43.43816,19.324595 43.438868,19.325762 43.439276,19.326359 43.440113,19.325403 43.440546,19.322895 43.440576,19.321146 43.440034,19.319988 43.440047,19.320398 43.441167,19.319638 43.441739,19.317705 43.441621,19.314404 43.440675,19.311126 43.440854,19.309012 43.4413,19.305577 43.443168,19.301739 43.444197,19.298464 43.444516,19.294815 43.445402,19.291133 43.444741,19.289414 43.445605,19.286937 43.44718,19.282937 43.449757,19.279126 43.452192,19.275909 43.455322,19.273993 43.456047,19.269191 43.457227,19.266307 43.457822,19.262478 43.459412,19.25749 43.461014,19.253462 43.462325,19.252724 43.464021,19.250439 43.465594,19.247219 43.468724,19.245669 43.468459,19.243562 43.469327,19.242813 43.47046,19.241296 43.471883,19.239377 43.472467,19.236901 43.474182,19.235191 43.475607,19.233299 43.477597,19.230599 43.477767,19.228872 43.478348,19.226591 43.480202,19.224501 43.481912,19.224344 43.483742,19.22436 43.484586,19.227464 43.485256,19.227487 43.486381,19.224069 43.489371,19.221233 43.492496,19.221636 43.493336,19.223198 43.494163,19.224197 43.49584,19.224049 43.498092,19.221456 43.503746,19.221489 43.505433,19.223275 43.507805,19.222925 43.509637,19.224496 43.510886,19.225109 43.512567,19.225532 43.514391,19.224411 43.516372,19.225243 43.519316,19.223786 43.523833,19.221515 43.526249,19.222316 43.527646,19.223906 43.529879,19.218727 43.531905,19.216226 43.532494,19.213881 43.531254,19.210955 43.529879,19.207667 43.529773,19.203233 43.530383,19.200355 43.531539,19.195535 43.532153,19.186647 43.532388,19.182188 43.531731,19.180242 43.531049,19.178897 43.531485,19.176991 43.532911,19.175445 43.532927,19.174068 43.531676,19.173091 43.531123,19.171558 43.531842,19.168084 43.53216,19.165765 43.532184,19.162286 43.53222,19.158619 43.532539,19.154587 43.533987,19.152278 43.534573,19.149355 43.533337,19.145434 43.530423,19.142298 43.528064,19.141332 43.528074,19.13977 43.527246,19.138579 43.52557,19.137025 43.525164,19.134717 43.52575,19.130661 43.525932,19.126976 43.525265,19.124647 43.524726,19.123647 43.522907,19.121682 43.521099,19.119159 43.520561,19.116647 43.520586,19.11473 43.521449,19.111272 43.522608,19.108376 43.522778,19.105469 43.522384,19.103527 43.521841,19.102538 43.520585,19.10115 43.518629,19.099188 43.51696,19.097617 43.515569,19.095645 43.513338,19.094679 43.513348,19.091223 43.514647,19.088352 43.516222,19.086415 43.515959,19.084458 43.514572,19.081332 43.512633,19.075127 43.511426,19.072018 43.510472,19.070659 43.510063,19.069499 43.510074,19.066802 43.510521,19.064292 43.510686,19.063502 43.509709,19.063283 43.508163,19.063256 43.506617,19.061872 43.504801,19.059361 43.504825,19.056272 43.504995,19.053942 43.504313,19.050832 43.503217,19.048513 43.503239,19.045821 43.503967,19.045258 43.504957,19.044306 43.50581,19.044714 43.507072,19.04671 43.510851,19.047323 43.512814,19.045624 43.515221,19.044092 43.516079,19.04299 43.519465,19.041883 43.522569,19.042484 43.52383,19.044629 43.524935,19.047542 43.525752,19.049109 43.527003,19.049718 43.528685,19.04821 43.530949,19.046523 43.534059,19.04249 43.535644,19.039201 43.535534,19.036116 43.535984,19.032448 43.536299,19.029767 43.537871,19.026514 43.53987,19.024038 43.542143,19.02156 43.544275,19.019454 43.54556,19.018301 43.545992,19.017132 43.54544,19.015378 43.544612,19.013633 43.544347,19.011484 43.542959,19.00915 43.542137,19.007233 43.543138,19.006676 43.54455,19.006911 43.547079,19.006181 43.549758,19.004463 43.55118,19.002958 43.553725,19.002996 43.556116,19.00129 43.558241,18.999762 43.559379,18.996865 43.559686,18.995118 43.55928,18.992778 43.558035,18.990046 43.556512,18.989065 43.555677,18.989794 43.552857,18.990351 43.551446,18.986628 43.548384,18.985232 43.545724,18.983828 43.542502,18.983608 43.540816,18.98277 43.536745,18.982312 43.532248,18.980925 43.53015,18.979952 43.529737,18.977055 43.529903,18.973187 43.529796,18.972006 43.528399,18.971979 43.526712,18.971577 43.525731,18.970422 43.526022,18.96791 43.526044,18.965395 43.525925,18.963058 43.52482,18.960142 43.523719,18.957432 43.523461,18.953558 43.522932,18.950062 43.521836,18.94849 43.520162))",
Podgorica =
"POLYGON((19.663519 42.632643,19.664608 42.637832,19.664498 42.640928,19.662668 42.643768,19.658207 42.648054,19.656384 42.651175,19.65797 42.653543,19.65841 42.655787,19.658066 42.657199,19.659074 42.659294,19.661221 42.661232,19.661866 42.664036,19.663816 42.665695,19.663285 42.667251,19.6613 42.6715,19.659703 42.676024,19.659583 42.678699,19.655214 42.679075,19.649593 42.680158,19.643506 42.680746,19.639189 42.679808,19.635497 42.676861,19.633621 42.67422,19.633552 42.671553,19.633487 42.669053,19.631229 42.669086,19.631054 42.671089,19.630932 42.675092,19.632343 42.67724,19.631056 42.679926,19.628035 42.685471,19.623594 42.688536,19.616032 42.693313,19.610506 42.698227,19.604277 42.70215,19.600499 42.704705,19.597398 42.70725,19.59646 42.705929,19.592815 42.704813,19.589157 42.703197,19.5846 42.701761,19.580988 42.701978,19.57559 42.703053,19.57153 42.703443,19.565244 42.705198,19.559672 42.708443,19.557014 42.710647,19.553989 42.707187,19.551467 42.705721,19.545139 42.705807,19.537467 42.706412,19.532939 42.70614,19.527257 42.704883,19.523831 42.703428,19.523209 42.705771,19.519883 42.708484,19.512702 42.710747,19.507076 42.711823,19.5039 42.711365,19.500113 42.713749,19.496535 42.715464,19.493589 42.71517,19.491749 42.71386,19.488316 42.712071,19.484239 42.711791,19.479014 42.710693,19.474707 42.710249,19.471286 42.708959,19.466271 42.70719,19.462444 42.707907,19.458867 42.70962,19.457893 42.706631,19.456484 42.704315,19.454392 42.701841,19.451845 42.699206,19.449743 42.696232,19.450563 42.692553,19.451153 42.688711,19.447902 42.684918,19.445842 42.683777,19.443153 42.684811,19.440465 42.685846,19.438861 42.684866,19.438585 42.682702,19.435611 42.681072,19.431262 42.678627,19.427843 42.677336,19.423788 42.677887,19.422018 42.679577,19.419574 42.681442,19.418011 42.682295,19.415963 42.681654,19.411411 42.68021,19.4087 42.680244,19.40933 42.678068,19.407263 42.676593,19.405867 42.674777,19.406271 42.672604,19.407774 42.669084,19.408611 42.666072,19.411022 42.662707,19.407382 42.661586,19.40509 42.660114,19.403006 42.657805,19.398831 42.652855,19.394962 42.651569,19.392245 42.651269,19.390869 42.650285,19.388137 42.649318,19.385019 42.651357,19.382593 42.654055,19.380422 42.658083,19.378731 42.663439,19.375172 42.665984,19.373135 42.665842,19.371088 42.6652,19.366997 42.664082,19.363817 42.663287,19.359103 42.664677,19.355503 42.665387,19.35166 42.665267,19.344199 42.665022,19.341471 42.664221,19.338281 42.662925,19.335563 42.662624,19.330629 42.664349,19.32679 42.664394,19.318853 42.662987,19.315684 42.66269,19.312761 42.663391,19.31118 42.663409,19.307981 42.661612,19.305496 42.661641,19.301239 42.663358,19.29743 42.664902,19.294723 42.6651,19.292889 42.663787,19.290849 42.663477,19.289895 42.660987,19.287383 42.659681,19.282856 42.659233,19.279418 42.656771,19.275498 42.652813,19.272951 42.649674,19.271984 42.646517,19.270077 42.641536,19.268862 42.637215,19.266963 42.632567,19.264586 42.626591,19.262445 42.621113,19.261175 42.613957,19.25933 42.611977,19.256804 42.609838,19.254501 42.607529,19.253298 42.603707,19.251858 42.599388,19.249756 42.595743,19.246983 42.592439,19.245548 42.588286,19.242746 42.583482,19.242701 42.581148,19.242417 42.57815,19.242375 42.575982,19.241662 42.574156,19.239619 42.573512,19.236893 42.572541,19.235066 42.571394,19.234786 42.568562,19.232273 42.566922,19.230224 42.565944,19.228162 42.564299,19.225643 42.562326,19.224471 42.560004,19.224639 42.557001,19.219217 42.556559,19.21626 42.555257,19.215987 42.552759,19.215047 42.550768,19.214088 42.547778,19.212463 42.545294,19.212428 42.54346,19.214193 42.54144,19.214384 42.539604,19.212066 42.536294,19.208434 42.534999,19.204997 42.532034,19.203153 42.529887,19.206007 42.525854,19.208442 42.523494,19.207697 42.519833,19.207437 42.518002,19.209233 42.517649,19.210395 42.519471,19.212658 42.519947,19.214236 42.51993,19.21554 42.517415,19.217533 42.515559,19.215493 42.514914,19.212557 42.514612,19.211618 42.512622,19.213839 42.51093,19.216759 42.510399,19.219447 42.509536,19.220545 42.508023,19.221179 42.505849,19.220478 42.504523,19.218422 42.503044,19.217923 42.500548,19.217007 42.499725,19.215204 42.499744,19.213611 42.498927,19.210651 42.497292,19.20903 42.494975,19.210598 42.494458,19.210547 42.49179,19.208907 42.488473,19.206833 42.485994,19.204749 42.483015,19.203329 42.479362,19.202588 42.475868,19.201224 42.475216,19.199394 42.473734,19.194622 42.471451,19.188767 42.471512,19.187221 42.473196,19.187268 42.475697,19.185284 42.478052,19.182816 42.478578,19.178771 42.479121,19.177223 42.480638,19.174776 42.48233,19.172962 42.481682,19.171139 42.480534,19.168439 42.480729,19.165514 42.480926,19.163283 42.482116,19.161031 42.482139,19.156938 42.480014,19.152409 42.478726,19.148124 42.478436,19.147425 42.477109,19.14695 42.47578,19.145833 42.476292,19.144266 42.476808,19.139776 42.477687,19.137524 42.47771,19.137311 42.478379,19.135269 42.477566,19.13323 42.476919,19.130294 42.476448,19.12758 42.475809,19.12488 42.476002,19.121485 42.475036,19.118987 42.473893,19.116279 42.473587,19.114676 42.472102,19.11174 42.471631,19.109046 42.472157,19.106561 42.471682,19.103434 42.473213,19.100495 42.472575,19.098203 42.470263,19.096387 42.469446,19.094374 42.4703,19.093263 42.471144,19.090344 42.471673,19.088534 42.47119,19.086513 42.471543,19.084939 42.471725,19.085367 42.470387,19.083993 42.469066,19.082212 42.47025,19.079315 42.472112,19.076373 42.471307,19.073907 42.471997,19.071911 42.473851,19.068547 42.474716,19.064977 42.476751,19.06248 42.475607,19.063804 42.473927,19.064677 42.472252,19.062623 42.470604,19.05972 42.472132,19.055705 42.474504,19.051678 42.476209,19.048281 42.475073,19.044653 42.473606,19.041758 42.475634,19.038136 42.4745,19.03654 42.473348,19.034302 42.474202,19.032095 42.477057,19.029639 42.478413,19.032165 42.481392,19.030832 42.482571,19.027488 42.484769,19.027239 42.483271,19.026775 42.482441,19.024764 42.48346,19.022983 42.48481,19.021221 42.487327,19.021046 42.490497,19.017471 42.492364,19.013453 42.494734,19.010972 42.49459,19.009804 42.491932,19.009099 42.490104,19.006606 42.489126,19.005668 42.4868,19.004283 42.484645,19.003128 42.482821,19.001318 42.482337,18.997947 42.482867,18.994569 42.482897,18.993199 42.481742,18.990271 42.481768,18.988705 42.482449,18.986263 42.484804,18.982915 42.486835,18.979999 42.487694,18.977296 42.487717,18.975274 42.488068,18.972323 42.486593,18.968931 42.485789,18.966451 42.485643,18.965089 42.484988,18.964171 42.483829,18.96346 42.4815,18.963641 42.478497,18.963605 42.476163,18.965142 42.473482,18.966738 42.474802,18.966326 42.477307,18.968375 42.47879,18.969939 42.477943,18.971961 42.477592,18.974231 42.47874,18.976483 42.47872,18.978961 42.478699,18.982565 42.478667,18.987929 42.475952,18.989925 42.473934,18.988753 42.470943,18.988963 42.46994,18.990073 42.46893,18.99231 42.46791,18.995035 42.469387,18.9984 42.468523,19.002624 42.464984,19.010168 42.457747,19.018181 42.451838,19.022847 42.447961,19.03179 42.444044,19.033763 42.440691,19.035542 42.439341,19.038208 42.437149,19.039751 42.435134,19.039052 42.433639,19.037913 42.432816,19.038789 42.431307,19.03966 42.429465,19.03582 42.428667,19.033565 42.428354,19.033546 42.427187,19.036471 42.42716,19.040072 42.427127,19.044128 42.427423,19.047729 42.427389,19.047704 42.425889,19.046557 42.424566,19.04563 42.422907,19.044473 42.420917,19.04354 42.418924,19.044191 42.417418,19.045771 42.417736,19.048707 42.418376,19.05253 42.418174,19.054091 42.417325,19.055216 42.417315,19.057471 42.417627,19.059505 42.418108,19.062207 42.41825,19.06246 42.419915,19.065396 42.420554,19.067391 42.418701,19.068505 42.418023,19.072105 42.417989,19.074119 42.417303,19.075905 42.416452,19.076544 42.414279,19.077413 42.412436,19.078935 42.409253,19.081342 42.405228,19.08306 42.400376,19.08191 42.398887,19.080758 42.39723,19.080485 42.394398,19.082237 42.391547,19.085608 42.391348,19.088739 42.390317,19.092318 42.389115,19.094522 42.386426,19.096748 42.38507,19.09898 42.384048,19.100096 42.383537,19.102777 42.38251,19.104798 42.382324,19.108592 42.380619,19.112611 42.378912,19.11415 42.376896,19.115453 42.374215,19.117886 42.371856,19.120102 42.37,19.122786 42.36914,19.126146 42.368439,19.127466 42.366759,19.130117 42.364064,19.131667 42.362715,19.135036 42.362514,19.136572 42.360331,19.141014 42.357285,19.146379 42.355563,19.153773 42.354154,19.160945 42.352913,19.160906 42.350746,19.1606 42.346247,19.158532 42.343767,19.159368 42.340256,19.161081 42.33557,19.160961 42.328901,19.161551 42.324226,19.163749 42.321536,19.165948 42.318845,19.166367 42.317173,19.166328 42.315006,19.165171 42.313184,19.163368 42.312869,19.16267 42.311542,19.1604 42.310231,19.158127 42.308754,19.15495 42.306952,19.152482 42.307144,19.149574 42.307841,19.148649 42.306349,19.146155 42.305041,19.143217 42.30407,19.140085 42.304769,19.138046 42.303789,19.125323 42.295579,19.117858 42.292485,19.113358 42.292029,19.11377 42.289858,19.119069 42.284636,19.122811 42.280263,19.1229129148597 42.27180917977432,19.12317996061695 42.27131959231182,19.12750031035509 42.26835995846976,19.13498925005728 42.26681169668701,19.13998630231127 42.26945156283784,19.14519675956143 42.26953776323585,19.14722093937547 42.27111942023998,19.148765 42.275,19.152347 42.274463,19.15461 42.27544,19.155556 42.278099,19.158738 42.280234,19.166174 42.281658,19.169323 42.281959,19.174034 42.281743,19.177123 42.27871,19.177508 42.275204,19.178539 42.270191,19.182297 42.266983,19.186774 42.266269,19.190113 42.264733,19.195072 42.265848,19.197757 42.265319,19.203122 42.264095,19.212536 42.263328,19.222389 42.262054,19.228904 42.262317,19.245974 42.262797,19.254064 42.263208,19.256965 42.262342,19.25851 42.260991,19.261379 42.258458,19.265828 42.256407,19.271841 42.254005,19.279002 42.252924,19.280774 42.251736,19.28119 42.250064,19.283658 42.250036,19.286106 42.249008,19.288993 42.247474,19.294127 42.246082,19.299526 42.246687,19.304948 42.248459,19.307001 42.250102,19.309547 42.253908,19.310744 42.257563,19.310604 42.261733,19.310923 42.266398,19.312797 42.270212,19.312437 42.274551,19.313848 42.277703,19.314566 42.279863,19.313739 42.283374,19.314678 42.285364,19.314722 42.287531,19.314338 42.290704,19.313494 42.293382,19.310147 42.294421,19.303451 42.296499,19.300803 42.298864,19.298595 42.300724,19.295243 42.301596,19.293048 42.304122,19.293745 42.305282,19.297318 42.30424,19.300677 42.303701,19.303777 42.301498,19.306696 42.301464,19.30985 42.301928,19.313195 42.300722,19.314471 42.297206,19.318023 42.295163,19.322037 42.293782,19.327191 42.293222,19.332618 42.294992,19.335828 42.298123,19.33922 42.29925,19.343483 42.299032,19.347097 42.29999,19.351451 42.304107,19.353995 42.307578,19.357421 42.310205,19.356807 42.313047,19.355512 42.315564,19.354659 42.317742,19.354487 42.320245,19.353634 42.322423,19.354982 42.322407,19.35633 42.32239,19.358576 42.322363,19.360402 42.323675,19.3638 42.324968,19.366043 42.324775,19.366018 42.323608,19.365736 42.320943,19.366606 42.319599,19.369056 42.318569,19.368814 42.317738,19.366781 42.317262,19.368332 42.316243,19.370768 42.314546,19.370743 42.313379,19.367819 42.313248,19.366893 42.311925,19.367756 42.310247,19.370426 42.309047,19.37069445608909 42.30646014437166,19.37085510539801 42.30614351468814,19.3712565314861 42.30606441060627,19.3721261823021 42.30630202517109,19.37282191492829 42.30647034291873,19.37355779046891 42.30665845338147,19.3746817689962 42.30655963812723,19.37603324899454 42.30633219517625,19.37710375162855 42.30605523028523,19.37849005829364 42.30592861678505,19.37952207491646 42.30595380484,19.38044543347833 42.30622000156321,19.38104290154465 42.30646106591899,19.38154532932379 42.30661675977875,19.38192557252415 42.3064711622798,19.3822039599609 42.30642598548384,19.38238051651785 42.30617994714047,19.3822854809506 42.30592887312759,19.38217007818042 42.30566775568521,19.38229813776683 42.30547775020379,19.38281006679124 42.30521053989263,19.38314312044198 42.30514189492232,19.3834041719917 42.30500330063035,19.38365183371081 42.3048845060685,19.38408690515209 42.30479046878869,19.38412037195462 42.30478551978607,19.38447511546398 42.3048053325447,19.38477630659086 42.30493899681044,19.38521136300538 42.3051122649479,19.38522474940534 42.30511721546331,19.3854121550339 42.3052855260509,19.38557947750094 42.30555778959165,19.38557947652524 42.30558254048454,19.38561293449651 42.30581024942772,19.38576018059273 42.30604291100583,19.38600782978281 42.30627062439417,19.38602790965633 42.30628547534302,19.38630902970813 42.30647358757643,19.38687128049789 42.30660230112851,19.38733982645784 42.30673101191573,19.38790208710085 42.30685477204519,19.38855137262404 42.30701813298012,19.38887437517338 42.30715397986616,19.38909974379117 42.30739207482116,19.38928218553017 42.3075309628013,19.3894002370765 42.30764207335536,19.38940560519449 42.30774921690781,19.38958804919506 42.3078881046202,19.38969000611823 42.30805080303648,19.38969537209945 42.30805477125609,19.38977050157107 42.30826905796364,19.38985099769549 42.30847540828643,19.38988856560166 42.30865398144535,19.38989175874907 42.30889227326525,19.38983577411404 42.30900895964108,19.38977978971217 42.30914070216711,19.38986123217032 42.30932137525595,19.3898663222328 42.30932890325155,19.38999866318047 42.3094869912742,19.39018190385828 42.30964884244771,19.39019208388053 42.30965637038273,19.39039568414864 42.30978434461628,19.39040077419302 42.30978810852628,19.39058401568175 42.30990855494135,19.39070483266071 42.31001132124007,19.3908332542615 42.31015240891519,19.39097635125014 42.31026365001179,19.39132858798726 42.31044814412633,19.39151940139657 42.3105586085607,19.39180775375112 42.31065433793543,19.39199018700361 42.31081099353295,19.39218439327951 42.31101551665095,19.39247864045643 42.31123744206227,19.39265519180909 42.31140279915476,19.39266107678104 42.31140715060472,19.39267873234307 42.31142890831839,19.39270815819421 42.31146372058753,19.39283763087408 42.31159861736515,19.39285528520572 42.31160296831354,19.39322603518276 42.31179877782333,19.39345555722475 42.31202505463214,19.39368507795815 42.31221651776733,19.39379267407968 42.31249635095342,19.39402310362655 42.31275900940614,19.39419593134553 42.31300037285361,19.39424395223587 42.31319914769554,19.39432077941127 42.31344761537631,19.39429198966032 42.31356120413159,19.39451282873272 42.31385935866743,19.3947336763843 42.3142143071494,19.39492570492977 42.31438467774855,19.39509853455684 42.31456214866804,19.39540576342332 42.31465442036865,19.39562194738008 42.31492459927635,19.39588596302261 42.31517893841584,19.39605399233135 42.31548652043284,19.39619802029521 42.31576452739316,19.39626206762065 42.31615492980485,19.39632610472449 42.31646251885223,19.39646211252715 42.31656306850853,19.39674212265778 42.3167168445973,19.3969058978046 42.31683440859685,19.39724740280706 42.31687646934218,19.39746087023301 42.31707635951807,19.39773836977004 42.31728150409647,19.39780240411351 42.31730254150712,19.39810835831029 42.3174813786685,19.39833603843394 42.31757079023883,19.39837161210561 42.31757604777006,19.39840718560849 42.31758130528824,19.39874159310495 42.31772331273929,19.39899775698156 42.31795475736767,19.3990333343856 42.317981057235,19.39926103501013 42.31817567916863,19.3995029593402 42.31833347463009,19.39952430599473 42.31834925443324,19.39985872249014 42.318512300525,19.39987295270237 42.31851755971037,19.40030698620145 42.31873320078299,19.40053469353055 42.31892782042053,19.40058454152436 42.31915402311439,19.40065571719476 42.31929605323191,19.40091188200938 42.3194643666223,19.40092611150432 42.31946436505669,19.40120360699203 42.31955902645737,19.40153089932289 42.31961685701281,19.40175147460077 42.31969048122818,19.40179416585066 42.31970099768657,19.40182262630639 42.31970625516557,19.40236335876628 42.31972723436815,19.40239893297043 42.31972723011577,19.40242739240957 42.31972722670771,19.40335860300598 42.31988149011255,19.40428857620254 42.32027424507432,19.4051770496877 42.32068541371262,19.4059576309611 42.32120095165713,19.40750225479166 42.32228727257769,19.4105932878602 42.32424987930446,19.41309293028701 42.32616282715121,19.4157930795631 42.32725088191065,19.42080313175325 42.32989837578675,19.419239 42.332291,19.419302 42.335125,19.419685 42.34229,19.42026 42.347952,19.420783 42.35128,19.423786 42.354911,19.424984 42.358231,19.424152 42.361243,19.422663 42.365096,19.423168 42.367591,19.424558 42.369408,19.42618 42.371555,19.428915 42.373188,19.431248 42.376994,19.436048 42.380435,19.440137 42.382217,19.444679 42.38416,19.45054 42.384752,19.457087 42.385835,19.463631 42.386751,19.467491 42.388369,19.471383 42.39132,19.475062 42.394773,19.476732 42.39892,19.477259 42.402248,19.479802 42.405216,19.481889 42.407857,19.484211 42.410995,19.486538 42.414299,19.489102 42.4181,19.492578 42.42239,19.494374 42.4222,19.496399 42.422173,19.499091 42.421804,19.498893 42.422974,19.497594 42.425158,19.49766 42.427992,19.499038 42.429141,19.500885 42.431118,19.502507 42.433097,19.504129 42.435076,19.506857 42.436207,19.51118 42.438151,19.5148 42.438936,19.517512 42.4394,19.518685 42.441385,19.520735 42.442358,19.521678 42.444179,19.523081 42.446328,19.523136 42.448662,19.523863 42.45082,19.525941 42.452959,19.527548 42.454272,19.530297 42.456235,19.532367 42.458042,19.533991 42.460021,19.534948 42.462342,19.536117 42.46416,19.538634 42.465794,19.540278 42.468606,19.541453 42.470591,19.542892 42.474239,19.5443 42.476555,19.545671 42.477369,19.547774 42.480509,19.549407 42.482821,19.551065 42.486133,19.552731 42.489779,19.554331 42.490757,19.556637 42.492893,19.558942 42.495029,19.560592 42.498007,19.563594 42.500967,19.565056 42.505449,19.565105 42.507449,19.564016 42.508965,19.56429 42.510962,19.566367 42.512934,19.569558 42.514391,19.572287 42.515354,19.576162 42.517134,19.580726 42.519405,19.583947 42.522027,19.58784 42.524474,19.594225 42.527386,19.596737 42.528684,19.601979 42.530944,19.603177 42.533762,19.604346 42.535413,19.606392 42.536051,19.606417 42.537051,19.605574 42.539397,19.607181 42.540542,19.609669 42.54084,19.614458 42.542939,19.616979 42.544571,19.617017 42.546071,19.615499 42.548427,19.615379 42.552597,19.613516 42.559126,19.610874 42.561665,19.610048 42.564678,19.61194 42.568153,19.612893 42.57014,19.611595 42.572326,19.611186 42.573999,19.61216 42.57682,19.615394 42.579775,19.619313 42.583054,19.62299 42.585669,19.625548 42.588634,19.628783 42.591588,19.62929 42.593749,19.629554 42.595246,19.63095 42.596893,19.633266 42.599194,19.635565 42.600828,19.639917 42.603266,19.642029 42.606403,19.643704 42.610048,19.645838 42.614018,19.64819 42.617652,19.651914 42.621933,19.656055 42.624874,19.662038 42.627038,19.663519 42.632643))",
Kotor =
"POLYGON((18.814634 42.358611,18.811751 42.3618,18.809975 42.363647,18.809773 42.365483,18.810714 42.368811,18.809636 42.372487,18.807404 42.373838,18.80675 42.37551,18.809704 42.37799,18.81198 42.380141,18.809762 42.382658,18.805308 42.386192,18.795905 42.389761,18.787165 42.39249,18.781353 42.395533,18.784312 42.398347,18.785242 42.400841,18.78621 42.406504,18.786247 42.409505,18.783812 42.412857,18.782723 42.415866,18.785448 42.417848,18.785484 42.420849,18.785504 42.422517,18.786875 42.424174,18.787361 42.427172,18.788278 42.4285,18.787173 42.430175,18.786751 42.432512,18.791723 42.434145,18.794432 42.434793,18.797823 42.435936,18.800104 42.438421,18.800585 42.440919,18.803303 42.442233,18.807163 42.444873,18.808993 42.447195,18.809062 42.452697,18.807982 42.456373,18.805374 42.463895,18.802482 42.46675,18.800504 42.470766,18.802351 42.474422,18.805546 42.477734,18.80783 42.480218,18.804935 42.482907,18.802951 42.486423,18.798917 42.488119,18.793533 42.489992,18.790407 42.492348,18.787753 42.496369,18.78597 42.498049,18.783082 42.501404,18.784917 42.504059,18.782917 42.506407,18.782038 42.508248,18.782312 42.512247,18.783024 42.515244,18.7788 42.520109,18.772338 42.526323,18.767867 42.529522,18.764765 42.534045,18.761213 42.538738,18.754519 42.544786,18.749366 42.547656,18.742427 42.552204,18.73885 42.554895,18.738651 42.557231,18.740497 42.560887,18.740531 42.563888,18.744156 42.565198,18.749598 42.567663,18.747597 42.570178,18.746054 42.573356,18.745185 42.576196,18.744533 42.578368,18.740495 42.580396,18.737359 42.582418,18.734212 42.583439,18.7324 42.582784,18.72945 42.581302,18.727408 42.580315,18.724717 42.581833,18.722055 42.585852,18.720723 42.587862,18.72008 42.590867,18.719895 42.594537,18.717672 42.597553,18.71612 42.600064,18.7157 42.602901,18.716181 42.605566,18.715977 42.607568,18.713515 42.609418,18.711718 42.610263,18.711524 42.613099,18.70929 42.615281,18.706143 42.616468,18.704357 42.618313,18.705529 42.622308,18.704668 42.626148,18.701774 42.629918,18.699073 42.630768,18.694113 42.631466,18.689146 42.631497,18.685088 42.632189,18.682391 42.633373,18.678341 42.634731,18.673604 42.63526,18.666811 42.633467,18.661113 42.628332,18.657699 42.625684,18.654536 42.625536,18.6516 42.625387,18.65022 42.622894,18.64727 42.62141,18.64185 42.621275,18.637121 42.622469,18.632612 42.623162,18.626505 42.622029,18.622652 42.62055,18.617446 42.619078,18.61338 42.618934,18.609312 42.618456,18.6075 42.617799,18.604534 42.61448,18.601349 42.61183,18.598172 42.610013,18.596331 42.606188,18.595607 42.601022,18.594899 42.597691,18.592162 42.594538,18.587857 42.59256,18.577227 42.589948,18.571347 42.588477,18.566818 42.586667,18.564322 42.585012,18.560694 42.583029,18.557074 42.58188,18.554593 42.581893,18.553015 42.582067,18.540142 42.58063,18.541241 42.577123,18.541211 42.573455,18.542091 42.570783,18.54724 42.566089,18.551268 42.562234,18.554641 42.56105,18.559373 42.560526,18.565002 42.55933,18.569714 42.556471,18.573296 42.553452,18.575984 42.551437,18.583174 42.548398,18.591469 42.543018,18.596196 42.542159,18.600468 42.540802,18.606305 42.538103,18.613708 42.53406,18.622013 42.530179,18.626719 42.527318,18.631444 42.526291,18.63752 42.525256,18.643833 42.525386,18.652616 42.524502,18.662734 42.521941,18.662705 42.519106,18.663595 42.517934,18.666738 42.516748,18.670793 42.516557,18.67255 42.512044,18.668032 42.511071,18.662608 42.509603,18.655385 42.508478,18.649284 42.506846,18.644954 42.502036,18.639762 42.501065,18.628483 42.499795,18.618559 42.498851,18.604338 42.496094,18.593042 42.49282,18.58558 42.489858,18.590741 42.487496,18.595885 42.483467,18.599913 42.480444,18.60281 42.477093,18.605464 42.471743,18.612228 42.47254,18.618519 42.470838,18.623488 42.472311,18.626424 42.473128,18.630489 42.474272,18.633652 42.475255,18.637502 42.4774,18.63952 42.476388,18.642653 42.47437,18.645581 42.474353,18.649639 42.474663,18.651667 42.474818,18.655486 42.473795,18.65909 42.473773,18.662025 42.474423,18.667444 42.475725,18.672176 42.475863,18.676249 42.477673,18.680328 42.479982,18.6860073334 42.4781389889,18.6861815422 42.478224426,18.6864094304 42.478304918,18.6866805115 42.4783593075,18.6868791523 42.4784976253,18.6869660022 42.478722268,18.6869459377 42.4789172551,18.6868585711 42.4790540472,18.6867661894 42.4790583468,18.6864779222 42.4791806201,18.6861961121 42.4793150927,18.6859368626 42.4794959123,18.685519252 42.479683059,18.6841194884 42.4803511215,18.6825737061 42.4809653585,18.6806053793 42.4816741619,18.6801185182 42.4818604502,18.6801086035 42.4819578454,18.6797361501 42.4821731992,18.6791119329 42.4824487188,18.6785279051 42.4826757561,18.6782399792 42.4828169122,18.6782657419 42.4828755455,18.6781063246 42.4829492767,18.6779551885 42.4829149061,18.6774597881 42.4831009118,18.6774082215 42.4830694793,18.6769883556 42.483176971,18.676170489 42.483462149,18.6758736605 42.4835715372,18.675858458 42.4836217332,18.675766747 42.4837000982,18.67568921 42.4836733055,18.6755064701 42.4837702407,18.6754304284 42.4838965419,18.6753160685 42.4839699822,18.6752731415 42.4840366903,18.6751058733 42.4841555401,18.674991236 42.4842431603,18.6749209644 42.4842110144,18.6748008317 42.4842419769,18.67485203 42.4843306276,18.6745714263 42.4844285405,18.6744801755 42.4843509652,18.6741438258 42.4844892995,18.6741676946 42.4845506014,18.6740149918 42.4845904669,18.6740081333 42.4845527949,18.6736609583 42.484633956,18.6736322028 42.4845988354,18.673508169 42.4846088143,18.6732424027 42.4845829688,18.6732319927 42.4845372112,18.6721735354 42.4846114802,18.671715034 42.4846571181,18.671725657 42.484689621,18.6715672507 42.4847589113,18.6715126775 42.4847234309,18.6714465815 42.4847338303,18.6714607144 42.4847798705,18.6713722552 42.4848225668,18.6713140791 42.4847816577,18.6710156221 42.4849176487,18.6708049069 42.4849438001,18.6702887422 42.4851338552,18.6701173214 42.4852407197,18.6697584138 42.4853715121,18.6695703638 42.4854260867,18.6694263831 42.4854664867,18.6689692852 42.4856443176,18.6685028474 42.4859263952,18.6681696941 42.4861583929,18.6678544497 42.4863456086,18.6678797244 42.4864163142,18.6677573488 42.4864700595,18.6673397099 42.4864866772,18.6672783183 42.4865311851,18.666856352 42.4865154073,18.6663750067 42.4865060973,18.6662343594 42.4865641128,18.6659081116 42.4865565905,18.665793731 42.4865066469,18.6654224509 42.4865453289,18.6654143066 42.4866081744,18.6648756262 42.4866922892,18.6648278969 42.4866509688,18.6643328247 42.4868119264,18.6634543754 42.4869713644,18.6631585529 42.4871116338,18.6627587789 42.4871764362,18.6624459898 42.4873215841,18.6621090073 42.4875114644,18.6620408513 42.4875610311,18.6618668583 42.4875543491,18.6615413168 42.4875634505,18.6613073032 42.4875117398,18.6607559366 42.4874161605,18.660654001 42.487395981,18.6604373472 42.4874783225,18.6601924722 42.4873846834,18.660239017 42.4872873112,18.660013192 42.4871826304,18.6597408561 42.4870753038,18.6596063475 42.4870357436,18.6594007624 42.4870897335,18.6590167172 42.4872292185,18.658772665 42.4874082956,18.6585456467 42.487479132,18.6582914937 42.4876137348,18.6578307939 42.4876803037,18.6575647813 42.4875396123,18.657240377 42.4872345299,18.6569901705 42.4871582912,18.6567664923 42.4871568661,18.6565265703 42.4871099733,18.6563138832 42.4871251133,18.6554370032 42.4871783347,18.6552271429 42.487194835,18.6548572572 42.4873332107,18.6548569079 42.4873629419,18.6545894147 42.4874801665,18.6540582122 42.4877014342,18.6539899151 42.4877141071,18.6539667529 42.4876680749,18.6538749594 42.4876631179,18.6537649011 42.4876995581,18.6536035949 42.4876807299,18.6533046778 42.4875341525,18.6530603818 42.4875136064,18.6529105365 42.4874873375,18.6526907871 42.4875681846,18.6525869742 42.4876402833,18.6525331104 42.4878424117,18.6525607159 42.4880482259,18.6527465994 42.4882930185,18.6529481404 42.4884954443,18.6528729391 42.488683341,18.6526861036 42.4887440397,18.6524974161 42.4886868801,18.6523913993 42.4885817994,18.6523584974 42.4884613692,18.6521749277 42.4883842645,18.6519779664 42.4883513651,18.6517977166 42.4883565365,18.6515996347 42.4884185394,18.6512770105 42.4885895036,18.6512155678 42.4886016654,18.6511381961 42.4885208085,18.6507507937 42.4887393109,18.6505925273 42.4885876187,18.6503635449 42.4886564623,18.6502223561 42.4887886514,18.6502522616 42.4888430369,18.6501872491 42.4888783435,18.6501326856 42.4888494132,18.6499856965 42.4889889844,18.6498433451 42.4890095036,18.6496603067 42.488920206,18.6495627458 42.4889767374,18.6496424122 42.4890677518,18.6497281717 42.4891897664,18.6495882217 42.4895532551,18.6493792471 42.4895224786,18.6492758697 42.4896373418,18.6493430239 42.4898124102,18.6493968138 42.4898852976,18.6495918635 42.4900289485,18.6499030534 42.4902109603,18.649947249 42.4901709438,18.6501569381 42.4903093151,18.6500757381 42.4903974549,18.6501775236 42.4905606513,18.6503977181 42.4906569552,18.6505965186 42.4908214412,18.6506463733 42.4909584012,18.6506529975 42.4911344237,18.6505696067 42.4913679941,18.6505210497 42.4916389477,18.650422321 42.4918909993,18.6505116634 42.4920067686,18.6507975573 42.4922314548,18.6509017563 42.4923885268,18.6510497807 42.4926158494,18.6511763066 42.4927730641,18.6513418547 42.4929346449,18.6516523278 42.4931136187,18.651900533 42.4933662781,18.6520647987 42.4935677491,18.6520990469 42.4936917238,18.6520617251 42.4938284052,18.6519740207 42.4939935248,18.6519840357 42.4941409168,18.6520483512 42.4943348777,18.6522305344 42.4945007069,18.6525348788 42.4946066548,18.6527849916 42.4946602565,18.6529735124 42.4946210214,18.6532478864 42.4945689067,18.6535509083 42.4946065175,18.6538933585 42.4946573513,18.6542129067 42.4947858665,18.6544958281 42.4950373761,18.6545653549 42.4951091638,18.6545122382 42.4951380101,18.6545813846 42.4952422243,18.6546659855 42.4952466837,18.6547774208 42.4953921633,18.6548373166 42.4953925459,18.655038424 42.4955533202,18.6549792039 42.4957786815,18.6551003073 42.4959512136,18.6552486951 42.4960674851,18.6554303025 42.4961888764,18.6555172811 42.4961501724,18.6556801914 42.4961469738,18.6558478877 42.4961790246,18.6560276697 42.4963002223,18.6564091739 42.4963117258,18.6567514727 42.4964218864,18.65692612 42.4964188459,18.6571064969 42.4964075355,18.6573385853 42.4963093398,18.6573513574 42.4961806764,18.6575834938 42.4960783271,18.6577522658 42.496096013,18.6577648429 42.4959839602,18.6579857147 42.495881538,18.6580987481 42.4958490319,18.6586771846 42.495889998,18.658695544 42.4961628679,18.658125035 42.4961168719,18.6577712978 42.4962682109,18.6580527129 42.4964659595,18.6584518051 42.496735954,18.6586931748 42.4968545268,18.6588255224 42.4970666123,18.6587214577 42.4973186166,18.6586220347 42.4974301197,18.6586074524 42.4975955582,18.6587719777 42.4975872779,18.6589138798 42.4976208194,18.6593179486 42.4979497856,18.6595293011 42.4982274028,18.6596673693 42.4985417861,18.6602003472 42.4987966285,18.6606311394 42.499119202,18.6606986934 42.4992392495,18.6609664252 42.4995848525,18.6611979806 42.4999572711,18.6614136304 42.5003864163,18.661822711 42.500596197,18.6623026065 42.5007335529,18.6626717374 42.5006975088,18.6631140111 42.5007130953,18.6634602304 42.500782442,18.663778163 42.5010466952,18.6638711774 42.501255161,18.6640963914 42.501568694,18.6643850275 42.5017931859,18.6646461478 42.5020652188,18.6648382215 42.5022453619,18.6650736712 42.5024058966,18.6654055533 42.5026227067,18.6658075036 42.5028439342,18.6661940886 42.5029726998,18.6665513875 42.5030378932,18.6667435144 42.5030959561,18.6669021474 42.5031923889,18.6670931032 42.5033519721,18.667341733 42.5035261319,18.6676127749 42.5038498533,18.6677449382 42.5041371822,18.6678422109 42.5043585812,18.6680465277 42.5045727667,18.668314714 42.5046215163,18.668681614 42.5045644757,18.6689159826 42.5044828675,18.6691192238 42.5044034198,18.6692964356 42.5043629444,18.6695297314 42.5043505433,18.6698595165 42.5044496394,18.670050683 42.5045035098,18.6700773237 42.504475953,18.6702798985 42.504518805,18.6702905095 42.5045770905,18.6706361974 42.5046014302,18.6706670125 42.5045378589,18.670749961 42.5045189708,18.6709628931 42.5046422842,18.6713414693 42.5047499976,18.6716936624 42.5048630901,18.6720521705 42.5050628299,18.6723373669 42.5051819747,18.6725476892 42.5052361008,18.6727988528 42.5051995221,18.6731338277 42.5051429258,18.6734019533 42.5050154922,18.6738305422 42.5048293381,18.6744021593 42.5047062757,18.6749451964 42.5046792621,18.6754520354 42.5048140917,18.6759925324 42.5050099045,18.676525069 42.5053018958,18.6768666832 42.5055920389,18.6770181586 42.5058014389,18.6770938115 42.506096207,18.6771268122 42.5064130581,18.6771110697 42.5066088155,18.6771601034 42.5068779794,18.6772641122 42.5072215572,18.6773376622 42.5072988298,18.6773598763 42.507482131,18.6774375393 42.5076992214,18.677603459 42.5079070125,18.6779475539 42.5080469149,18.6781386235 42.5082018536,18.6783220546 42.5083364373,18.6784308845 42.5084560542,18.6785983457 42.5086108465,18.6787776793 42.50875991,18.6790690046 42.5091991815,18.6792283246 42.5094709043,18.6792357721 42.5097109768,18.6791302196 42.5100453625,18.6792050621 42.5102509796,18.6793543328 42.5103193453,18.6794708527 42.5103713221,18.6795721836 42.5104717649,18.6796769293 42.5105938108,18.6797016267 42.5106748963,18.679646214 42.5107204165,18.679754375 42.510864066,18.679919021 42.5108677797,18.6800972558 42.5109875543,18.6803725795 42.5110580554,18.6809964677 42.5112568434,18.6813601351 42.511425359,18.6816981485 42.5117025154,18.6819540601 42.5119594492,18.6821105343 42.512206966,18.6821712523 42.5124715057,18.6822271788 42.5129177901,18.682164568 42.5129449603,18.6820636164 42.5130568564,18.6820079076 42.5132999175,18.6821676256 42.5135006747,18.6822913158 42.5135818047,18.6823947855 42.5135227379,18.682600271 42.5135331862,18.6827617059 42.5135824001,18.6828130433 42.513657961,18.6829669689 42.5137265529,18.6831657942 42.5137664288,18.6834215591 42.5138723676,18.6834837858 42.5139345976,18.6835034293 42.5140526163,18.6835945845 42.5141072928,18.6837139046 42.5142220577,18.6837821955 42.5143718279,18.6838017249 42.5145537678,18.6837182235 42.514575983,18.6838035639 42.5148632677,18.6838720885 42.5150628818,18.683916406 42.5151364187,18.6840476485 42.5152946266,18.6841790957 42.5154347733,18.6844991366 42.5156147826,18.6846042043 42.515744306,18.6848329271 42.5158963836,18.6851444945 42.5159530829,18.6854152123 42.5160067919,18.6857530138 42.5160444733,18.6860349458 42.5160927705,18.6862193862 42.5162171796,18.6866610702 42.5164997665,18.6869578925 42.5167881672,18.6872853161 42.516986417,18.6877259104 42.5170885776,18.6881073815 42.5171494338,18.6885040301 42.5171847745,18.6887528233 42.51712776,18.6891746583 42.5171303285,18.6892177383 42.5171587647,18.6896871149 42.5171152824,18.6899469781 42.5170166801,18.6900034993 42.5168994648,18.690238258 42.5167516826,18.6902824599 42.5166389139,18.6903329471 42.5165126189,18.6905859029 42.5163830325,18.6909066839 42.5162222069,18.6910002583 42.5160826084,18.6909656279 42.5158879732,18.6910469847 42.5157437784,18.6919064573 42.5154459071,18.6927759913 42.5151113673,18.6932587777 42.5154765829,18.6934039981 42.5153014556,18.693645606 42.515047708,18.693842441 42.5150620988,18.6942040795 42.5146637036,18.6943325602 42.5145867676,18.6944979248 42.5141869336,18.6946266302 42.513977067,18.6947667911 42.513812562,18.6949077779 42.513573654,18.6950380383 42.5132905874,18.6951192393 42.5130485622,18.6947808202 42.5128866792,18.6947430993 42.5129167659,18.6944585535 42.513524467,18.6941941544 42.513462322,18.6945929571 42.5127041486,18.6949046234 42.5127781869,18.6951712644 42.5124994976,18.6949242769 42.5122744187,18.6950084088 42.5120650761,18.6951088734 42.5118582439,18.6951789519 42.5117356509,18.6952670181 42.5115366414,18.6952104047 42.5114875127,18.695258581 42.5112128218,18.6953729155 42.5112112941,18.6955277842 42.5110813902,18.6956568348 42.5108382325,18.6962468827 42.5098851253,18.6960985406 42.5097633656,18.6961195078 42.5096048947,18.6962999072 42.5096201424,18.6963246841 42.5094645265,18.6962095612 42.5094525044,18.696112098 42.5092338457,18.6960360657 42.5088971637,18.6959624773 42.508705122,18.6958740762 42.5084812616,18.6957328601 42.5083368423,18.6957648877 42.5081807059,18.6958138851 42.5080979832,18.6955600864 42.5076189117,18.6953796635 42.5074804823,18.6953904944 42.5074136137,18.6951257291 42.5071814656,18.6947687211 42.5069442107,18.6946664274 42.5068732299,18.6944803657 42.5067820414,18.6943471564 42.5067446477,18.6940625582 42.5065881291,18.6937970178 42.5064345392,18.6936894676 42.5064929936,18.6930198581 42.5062834799,18.6929431925 42.5063111608,18.6928248916 42.5062684063,18.692813954 42.5061740647,18.6927908641 42.50609438,18.692727551 42.5060380204,18.6927485489 42.5059468182,18.6927556831 42.5058888302,18.692880545 42.50589461,18.6930266313 42.5058301898,18.6931139266 42.5057419706,18.6932237453 42.5056015655,18.6932185749 42.505472425,18.6929516448 42.5054074723,18.6929686812 42.505361291,18.6931569086 42.5053721747,18.6932407393 42.5052244533,18.6933644461 42.505094367,18.6935905224 42.5049794373,18.6938083551 42.5048964392,18.6938450762 42.5047861785,18.6937677587 42.5046461537,18.693611798 42.504485301,18.6935340284 42.5043859774,18.6935702966 42.5043164181,18.693716465 42.5042940427,18.693787092 42.5043264517,18.694008931 42.504237662,18.6942150608 42.5041429619,18.6943152658 42.5039981943,18.6943811551 42.5037386462,18.6942818469 42.5034408309,18.6941447207 42.5032481632,18.6938950418 42.5029602458,18.6935166553 42.5027902108,18.6930438084 42.5027605759,18.6925831301 42.5026189425,18.6922263676 42.5023706496,18.6919971574 42.5021988615,18.6919645382 42.5020535094,18.6919708599 42.5018705267,18.6920170155 42.5014329312,18.692215879 42.5010528667,18.6924686517 42.5008248165,18.6925982747 42.5006698137,18.6925612725 42.5004974022,18.6924339777 42.5001996239,18.6924459809 42.4999963931,18.6924314189 42.4998664562,18.6923753491 42.4996300279,18.6922918073 42.4994642595,18.6922143924 42.4992277013,18.6921684266 42.499042486,18.692218123 42.4988932638,18.6921929328 42.4987593266,18.6920757284 42.498496273,18.6919615369 42.4982550017,18.6919489707 42.4980717984,18.6918873063 42.4979242044,18.6917050607 42.4976717476,18.691483137 42.4974836825,18.69133403 42.4973087674,18.691228637 42.4970011199,18.6911410793 42.4967912648,18.6910016336 42.4965671396,18.6908721971 42.4962942322,18.6908176825 42.4960915539,18.6908032104 42.4956689049,18.6908365961 42.4952616338,18.6910089653 42.4949350859,18.691344834 42.4945722082,18.6913839676 42.494301218,18.6913154231 42.4938403526,18.6913364574 42.4934412105,18.6913285014 42.4931641169,18.6914137709 42.4929703029,18.6913971405 42.4927222438,18.6914262542 42.4924315465,18.6915792935 42.4920462325,18.6917972608 42.4916374686,18.69198077 42.491203427,18.6922544281 42.4908025862,18.6925125146 42.4904567871,18.6926569103 42.4902481408,18.6929737019 42.4900019421,18.6932080019 42.4897772971,18.6933143357 42.4896290692,18.6936228497 42.4894544949,18.6938733675 42.4892844905,18.694115989 42.4891711323,18.6943512074 42.4890232811,18.6944940229 42.4887830102,18.6945585386 42.4885824548,18.69455873 42.488565232,18.6947019269 42.4882905151,18.6950157587 42.4880742413,18.6953212303 42.4879095875,18.6957898076 42.487780364,18.6963047786 42.487680124,18.6964870142 42.4875682756,18.696542978 42.4875024254,18.6966732469 42.4875846722,18.6968891253 42.4874179584,18.6969870751 42.4873014473,18.6971353245 42.4870070412,18.6973249387 42.4867179745,18.6974158144 42.4866166938,18.6973238003 42.4865538347,18.6975049892 42.4863853867,18.6975746309 42.4863247719,18.6977647514 42.4861801127,18.6979637291 42.4860660233,18.6982504381 42.4859185531,18.698744719 42.4857112945,18.6988501297 42.4857424447,18.6992336658 42.4855538102,18.6996742212 42.4853785514,18.6996008385 42.4852713691,18.6997200787 42.4851976888,18.6998200624 42.4852791538,18.7000492711 42.4851770213,18.7004365858 42.4850564284,18.7005689829 42.4849828258,18.7008986392 42.4849201083,18.701025546 42.4849467451,18.7012261537 42.4849504616,18.7013614034 42.4849598269,18.7017286717 42.4849705804,18.702030171 42.4849837914,18.7022384244 42.4850363708,18.7024735285 42.4851090738,18.7027235427 42.485126688,18.7029964583 42.4851178667,18.7030490849 42.4851652126,18.703145058 42.4851370441,18.7033876078 42.4849895584,18.7035487285 42.4848363604,18.7036885342 42.4846882606,18.7038644814 42.4845241077,18.7039979597 42.4843592593,18.704099738 42.4842599084,18.7042785571 42.4841981437,18.7045769825 42.4841770745,18.7048826812 42.4841106801,18.7051050735 42.4840574788,18.70528713 42.4840267485,18.7055471656 42.4840890126,18.7059995835 42.4841261095,18.7061987604 42.4842325357,18.706431289 42.4843007061,18.7067113545 42.4842882028,18.7068467938 42.4841999561,18.7072788311 42.4840932309,18.7077114191 42.4839562845,18.708061175 42.4838521204,18.7082776414 42.4838172824,18.7084791938 42.4838291004,18.7086752622 42.4838153884,18.7087793708 42.4837798839,18.7088912203 42.4838272909,18.7090465856 42.4838473335,18.7093294323 42.4838022623,18.7096549494 42.4838319456,18.7099501663 42.4838225871,18.7102515993 42.4837954981,18.710447834 42.4837500206,18.7107219023 42.4837471974,18.7109654499 42.483781947,18.7112203497 42.4838354267,18.711469408 42.4838465679,18.7116009447 42.4838105916,18.7117716967 42.4837864523,18.711960598 42.4837817629,18.7121652358 42.4837771659,18.7123643976 42.4837938138,18.71262426 42.4837760009,18.7126374156 42.4837722097,18.7126400384 42.4837722251,18.7129135803 42.483702265,18.7129214486 42.4837023113,18.713215701 42.4836576184,18.7132209465 42.4836576492,18.7135305601 42.4836478634,18.713879074 42.4836524886,18.7141972552 42.4836233974,18.7144648906 42.4835542018,18.7146545396 42.483486759,18.7149057501 42.483550155,18.7151122933 42.483584539,18.7153013467 42.4835723787,18.7156908534 42.4836034113,18.7161021395 42.4836109869,18.7163273052 42.4835520929,18.7165845441 42.4835949953,18.7168215146 42.483624607,18.7170328914 42.4836615951,18.7171473176 42.4836980158,18.7172648821 42.4836798868,18.7174688491 42.483694251,18.7176522332 42.4837306518,18.7177211617 42.4837602359,18.7178548177 42.4837500739,18.7180576571 42.4837457874,18.7182798104 42.4837853851,18.718487569 42.4838178405,18.7187370177 42.4838649046,18.7190047068 42.483893071,18.7192310468 42.4839323976,18.7193832541 42.483916182,18.7196099408 42.4839232042,18.719684176 42.4839692447,18.7199229938 42.4840466494,18.720154571 42.4840784034,18.7204869826 42.4840789735,18.7208478832 42.4840676359,18.7213068574 42.4840864296,18.7217619034 42.4841320739,18.7222873882 42.4841120249,18.7229128548 42.484083145,18.7234946509 42.4840155891,18.7241043093 42.4839659231,18.7246532339 42.4839750091,18.7248711505 42.483999021,18.7251046282 42.4839626373,18.7254234886 42.4839162649,18.7257158991 42.4839514945,18.7259393139 42.4840596956,18.7261716339 42.4841095026,18.7263908929 42.4841242519,18.7266173752 42.4841968321,18.7268833847 42.4842368922,18.7271213167 42.4842151475,18.7273901034 42.484239812,18.727551389 42.4842662083,18.7275690239 42.4843140917,18.7277864295 42.4843421012,18.7282008925 42.4843616878,18.7286310667 42.4843660729,18.7289211979 42.484379208,18.7291466625 42.4843805034,18.7292792607 42.4843759417,18.7294475139 42.484372906,18.729687089 42.4842962457,18.7298309672 42.4842890677,18.7299096046 42.4842935207,18.7300640368 42.4842521278,18.7300451896 42.4841970987,18.7301236515 42.4841259126,18.7302566011 42.484107572,18.7303663075 42.484144019,18.7305477795 42.4840112251,18.7307266593 42.4838906263,18.7310652147 42.4836656906,18.7312211778 42.4836127887,18.7316576959 42.4834211572,18.7318039714 42.4833845714,18.732029432 42.483357794,18.7322422564 42.4833262658,18.7325437311 42.4833092773,18.7330143515 42.4833027968,18.7334739946 42.4833165384,18.7340043663 42.483414062,18.734406232 42.4835469827,18.7347141197 42.4836571322,18.7350530816 42.4838144605,18.7355396039 42.4839627362,18.735990827 42.4840112522,18.736453852 42.4840663312,18.7369322752 42.484149704,18.7373566623 42.4841710902,18.7376780716 42.4841966354,18.7381097365 42.484137404,18.7385031511 42.4841782251,18.7389304032 42.4842749206,18.7393721636 42.4845131096,18.7397361013 42.4848592737,18.7399749044 42.4849454715,18.740108198 42.4850357868,18.7405352636 42.4851513305,18.7410587031 42.4852848318,18.7416415648 42.4854262733,18.7420828573 42.4854550747,18.7425333772 42.4854543217,18.742970551 42.4854502025,18.7432063335 42.4855107377,18.7434593803 42.4856272894,18.7437332701 42.485885403,18.7439053562 42.4860672882,18.743978282 42.4861509146,18.7439975354 42.4862005827,18.7441984479 42.4862687624,18.7446167486 42.4863410768,18.7449756355 42.4864247178,18.7453614757 42.4865784762,18.7456762052 42.4867131323,18.7460360438 42.4867671014,18.7463985111 42.486829077,18.7467739946 42.4869430789,18.7473058166 42.4870064513,18.7477862455 42.4871419262,18.7481590215 42.4873342219,18.7484059671 42.4874576243,18.7487064469 42.4875813249,18.7491292565 42.4876411049,18.7496143808 42.4877945445,18.7499212789 42.4879239179,18.7502015199 42.4880552554,18.7504043674 42.4882451521,18.7506555249 42.4884046421,18.7509373374 42.4885529076,18.7512502147 42.4886756529,18.7516821819 42.4888257847,18.751972163 42.4890172063,18.7522170428 42.4891129891,18.752477019 42.4892352939,18.7528108193 42.4894014428,18.7530321547 42.4895461949,18.7531097692 42.4896772169,18.7532835582 42.4898189314,18.7534601014 42.4899975796,18.7535980245 42.4900419884,18.7537999474 42.4899671284,18.7540020906 42.4898705617,18.7541649984 42.4898126077,18.7548824847 42.4897002204,18.7550344939 42.4896475381,18.7553947458 42.4895983311,18.7555675972 42.4895983339,18.7560134919 42.4897017434,18.7562177792 42.4898067887,18.7564668969 42.489858636,18.7567085327 42.4898540283,18.7569937062 42.4899238874,18.7573475367 42.4899733395,18.7582143846 42.4898593377,18.7585170155 42.489795678,18.7593026401 42.4896639837,18.7597459815 42.4895673393,18.7599461585 42.4895911722,18.7605167755 42.4895715585,18.7608842249 42.4895189997,18.7609919542 42.4895377778,18.7610035553 42.4896105986,18.7610993009 42.4896166939,18.7612687774 42.4896618461,18.761458714 42.4896604268,18.7615055813 42.4896385698,18.7617520106 42.4896522005,18.7619114929 42.489697297,18.7619307436 42.489771112,18.7621304798 42.489789401,18.7621781118 42.4896913809,18.762534272 42.4897277213,18.7624558896 42.4899017411,18.762589188 42.489900011,18.7626190864 42.4899420448,18.7628201219 42.4899225716,18.7630746277 42.4898560801,18.7631245051 42.4898892627,18.7634296708 42.4897777942,18.7635980167 42.4896799784,18.7636939851 42.4895673698,18.7638460479 42.4894242123,18.7640076906 42.4891904858,18.7643005237 42.488940604,18.7644812967 42.4888362396,18.764741359 42.4886371533,18.7649042748 42.4884749199,18.764980416 42.4882340535,18.7650933536 42.4881632843,18.7651260435 42.4879948302,18.7650858945 42.4877459518,18.7650035419 42.4874539714,18.7650521054 42.4872484468,18.765186617 42.4868733312,18.7652603102 42.4866187203,18.7650346697 42.4863896106,18.7649048665 42.4862534908,18.7647533444 42.4861907634,18.7647713639 42.4859625906,18.764781895 42.4859587788,18.7648779115 42.4858006715,18.7647464235 42.4855908113,18.7647660445 42.4853553393,18.7647142248 42.4850866748,18.7646970349 42.4848511942,18.7646624647 42.4843994483,18.7649113756 42.4842614908,18.7648092214 42.4840543721,18.7646152764 42.4836593598,18.7646014085 42.483491102,18.7646902408 42.4834189608,18.7646201652 42.4831701288,18.7643356665 42.482595234,18.7640594366 42.4822306109,18.7637310209 42.4817313664,18.7635450768 42.4813202834,18.7635764381 42.4810412959,18.7637066726 42.4808734563,18.7637094149 42.4805995794,18.7637559028 42.4802363979,18.7636092038 42.4799090339,18.7632324021 42.479519765,18.763065235 42.4793192206,18.7631607184 42.4792448784,18.7631027185 42.478955094,18.7629131027 42.4789690329,18.7629787033 42.4785002517,18.7631413513 42.478476184,18.7632588329 42.4780955065,18.7633687945 42.477849447,18.763407227 42.4775897842,18.7632884548 42.4775230679,18.7632968527 42.4772808599,18.7633632468 42.4772107478,18.7635377037 42.4770839641,18.7636650483 42.4768908542,18.7637427236 42.4768868725,18.7638458283 42.4767288671,18.7639489782 42.4767588219,18.7644136032 42.4763801185,18.7646836657 42.4761519305,18.764753908 42.4759777738,18.7646991033 42.4758534618,18.7646270406 42.4755866694,18.7647226036 42.4753713126,18.7647750816 42.4751051971,18.7646763672 42.475012798,18.7647215166 42.4748568772,18.7645610836 42.4747090246,18.7644634715 42.4744957391,18.7644604652 42.4742269926,18.764462438 42.4740296549,18.76452293 42.4736730772,18.7645540781 42.4734045167,18.764282983 42.4731888977,18.7639763911 42.4731074497,18.7637617181 42.4729425228,18.7634992794 42.4729998781,18.7632645874 42.4731287657,18.7631377983 42.4732834347,18.7630379412 42.4730225567,18.7630854985 42.4728212671,18.763206174 42.4727085536,18.7633602946 42.472543588,18.7634771673 42.4723350517,18.7634446055 42.4722153468,18.7636012632 42.4718795811,18.7636325401 42.4717498428,18.763579715 42.4715337784,18.7634519241 42.4714503462,18.7635394338 42.4713181506,18.7636191447 42.4712163166,18.7637241439 42.4712085963,18.7638290877 42.4712064037,18.7640935342 42.4709922508,18.7642183182 42.4708796056,18.7642565895 42.4707996576,18.7642430665 42.4706530915,18.764259077 42.4705509101,18.7642971409 42.4703792508,18.7643765773 42.4702942569,18.7644931144 42.4702216686,18.7644944563 42.4700874354,18.7644377433 42.4699681412,18.7642076289 42.4698173944,18.7640108769 42.4696393703,18.7636735375 42.4691947188,18.7635439787 42.4689881765,18.7633069322 42.4684742344,18.7630208748 42.4678696291,18.7629530302 42.4676726155,18.7627883893 42.4676342617,18.7626887372 42.467335924,18.7627695309 42.4669329664,18.7630236425 42.4664672602,18.7632387372 42.4660650358,18.7635453701 42.4651137461,18.7636407066 42.4649703976,18.763715334 42.4647310248,18.7638424381 42.4643001145,18.7638122398 42.4637084934,18.7636767681 42.4635319162,18.7635803329 42.4635473524,18.7635764721 42.4632310293,18.7636129645 42.463096411,18.7637255245 42.4630866532,18.7638478109 42.4628073148,18.7639479211 42.4626367464,18.7640289675 42.4622638494,18.7641015842 42.4620309082,18.7641016878 42.4620205383,18.7641881013 42.4618135983,18.7641483151 42.4615748592,18.7641432511 42.4612759187,18.7640643351 42.4609679917,18.7640002441 42.4605442038,18.7641116824 42.460333091,18.7643460549 42.4601276881,18.7645737942 42.4599020848,18.7647532514 42.4597215868,18.7647215671 42.4595515094,18.7646098363 42.4593888712,18.7645971821 42.4592372254,18.7646907926 42.4590861575,18.7648409202 42.4589510771,18.7649984444 42.458784676,18.7650992416 42.458623193,18.7650695964 42.4584357654,18.7649803563 42.4582102816,18.7649030453 42.4580118625,18.764868563 42.4578001761,18.7648890785 42.457607344,18.7649841881 42.4573962983,18.7651060786 42.4572197052,18.7652080157 42.4571009323,18.7653101027 42.4569671162,18.7654167204 42.4567675687,18.7655347339 42.4565909544,18.7656442273 42.4564914853,18.7657770264 42.4563864244,18.7658631425 42.4562995356,18.7658945686 42.4562568219,18.765817899 42.456173496,18.7657452186 42.456078756,18.765645358 42.4559895863,18.7657044778 42.4558898439,18.7657829429 42.4557930654,18.7658154239 42.4556445759,18.7658480759 42.4554789334,18.7658138624 42.4554125596,18.765768135 42.4553351196,18.7658273964 42.4552210831,18.7658786517 42.4551327337,18.76581395 42.4550151654,18.7657145187 42.4548831138,18.7656223239 42.4548025625,18.7654963043 42.4546168679,18.7653694377 42.4545161154,18.765254966 42.4543382384,18.7651984724 42.4541749712,18.7652115802 42.454026377,18.765135171 42.4539173847,18.765004546 42.4538051755,18.7649516427 42.4536705172,18.7649379712 42.45348747,18.7650235554 42.4534536278,18.76501353 42.453293472,18.7649575232 42.4530816052,18.7649017316 42.4528482336,18.7649302239 42.4527111587,18.7650239559 42.4526373354,18.7650327325 42.4525344609,18.7650373492 42.4524601533,18.7648204881 42.4524475386,18.7647519826 42.4519354135,18.7650506354 42.4519055887,18.7651347064 42.451634946,18.7651249093 42.4514519199,18.7652005792 42.4512464866,18.7652379891 42.4509922429,18.7651744104 42.4508259662,18.7649795877 42.4506195225,18.7647881606 42.450413097,18.7648069583 42.4502303565,18.7649308549 42.4500607107,18.7649657214 42.4499684367,18.7648470452 42.4499552681,18.7648220168 42.449742233,18.7647170685 42.4497141107,18.7647185945 42.4495613327,18.7648322321 42.4493991457,18.76491342 42.4494271387,18.7651055058 42.4492272612,18.7651265465 42.4491597488,18.7652291997 42.4490776517,18.7652766445 42.4490854236,18.7654517264 42.4488885041,18.7655499852 42.4489065706,18.7656150759 42.4488468115,18.765643454 42.4487242356,18.765703541 42.4484854574,18.7656783101 42.4482924588,18.7656030406 42.4480115244,18.7654497304 42.4477276612,18.765376067 42.4476261214,18.7652850985 42.4475580002,18.7651945802 42.4474447971,18.7652295218 42.4473447992,18.7652364102 42.4473348179,18.765294561 42.4472900494,18.7652956107 42.447184858,18.7653340962 42.4470698513,18.7653623644 42.4469582807,18.7654314968 42.4468334215,18.7654704565 42.4466708281,18.7654376145 42.4465604432,18.7653812386 42.4464273882,18.765157399 42.4460687789,18.7650241827 42.4458127997,18.7649075151 42.4455992663,18.7647773971 42.4453731364,18.7646609561 42.445137062,18.7644173315 42.4447212119,18.7641357557 42.4443055496,18.7639411909 42.444013021,18.7635484918 42.4437851349,18.7634333525 42.4436822676,18.7633559387 42.4436789882,18.7633564251 42.4436304126,18.7634843192 42.4436196793,18.7635086959 42.4435055104,18.7635877105 42.4433487763,18.7636161875 42.4432117697,18.7635441048 42.443062785,18.7633325992 42.4429158977,18.7627961075 42.4425590844,18.7625768623 42.4424121537,18.7622339425 42.4422416871,18.762088869 42.4420351521,18.7619709572 42.44182305,18.7616685388 42.4418614028,18.7616424381 42.4417612459,18.761778446 42.4417134112,18.7617639611 42.4416133178,18.7616792929 42.441561419,18.7618282677 42.4409931391,18.7618987944 42.4409106558,18.7620304979 42.4409056602,18.7621556895 42.4407777548,18.7622510793 42.4405325272,18.7623577899 42.4403167764,18.7624804251 42.4400574099,18.7625906988 42.439872272,18.7627702831 42.43972564,18.7628320896 42.4397402649,18.762898455 42.4396863337,18.7630079828 42.439575487,18.7630906076 42.439444491,18.7631427152 42.439267608,18.7630620364 42.4392043023,18.7630482372 42.4390356326,18.7631425624 42.4388961277,18.7632448025 42.4387395205,18.7634636247 42.4385406853,18.7636062678 42.4386026739,18.7637627397 42.4384435044,18.7639077672 42.4382671272,18.7638546768 42.4381553941,18.7635459367 42.4380536983,18.7635856263 42.4379567583,18.7639137249 42.4380585594,18.7639804307 42.4379703388,18.7640770818 42.4379851527,18.7641587603 42.4379484492,18.7642287091 42.437923112,18.7642955169 42.4378246284,18.7643514913 42.4376477654,18.7644116515 42.4374394923,18.7644681969 42.4372054816,18.7644816395 42.4370226719,18.7643830026 42.4368192495,18.7643830312 42.4368163921,18.7641588097 42.4365547293,18.7638659132 42.4363515934,18.763469596 42.4361136304,18.7634778675 42.4360306116,18.763589936 42.4359773996,18.7637575793 42.4359434866,18.7642645442 42.4358670963,18.7649772834 42.4358044866,18.7652005965 42.435780372,18.7651367262 42.4357325341,18.7652607577 42.4356854643,18.7656728919 42.4355193993,18.7658013292 42.435458483,18.765845832 42.4353697238,18.7659160485 42.4350178898,18.7659428746 42.4349006305,18.7659973938 42.4348365432,18.7661493161 42.4347535124,18.7663052968 42.4347020203,18.7664679346 42.4345297825,18.7666257983 42.4342890753,18.7667052547 42.4341657978,18.7668005608 42.4340365821,18.7668148654 42.4338315015,18.7669231239 42.4336329643,18.7670814227 42.4333351359,18.7671770439 42.4331740294,18.7672075471 42.4329841216,18.7671132639 42.433010764,18.7669092778 42.4329704371,18.7669946903 42.4326028222,18.7672115379 42.4325828781,18.7671915635 42.4321252327,18.7672380792 42.4315582826,18.7673106259 42.4312509373,18.7672911995 42.431149177,18.7673614954 42.4310680978,18.767616084 42.4309518122,18.7675255524 42.4306013461,18.767474546 42.4303868606,18.7676132974 42.4299984144,18.7678865184 42.4296519145,18.7680680686 42.4294809261,18.7683736757 42.4291657899,18.7684238846 42.4290490342,18.7682650489 42.4289908512,18.7681805638 42.4288546275,18.7682963255 42.4287225041,18.7683045899 42.4287134977,18.7685228628 42.4285487408,18.7682839009 42.4283272047,18.7681094979 42.4281904946,18.7679211761 42.4282206467,18.7678849699 42.4281621265,18.767951085 42.4280900752,18.7678952621 42.4279489724,18.7676608721 42.4276791871,18.7675437831 42.4275337354,18.7673457014 42.4273124192,18.7673027827 42.4271070285,18.767590862 42.4269860776,18.7677600683 42.4269348523,18.7679112067 42.4267112727,18.7678752525 42.4265888592,18.767755098 42.4264385531,18.7675580892 42.4262007085,18.7678021298 42.426075382,18.7680652125 42.4259883911,18.7683958709 42.4259423877,18.7683399048 42.4257102945,18.766443455 42.4263021975,18.7663314921 42.4262331763,18.7678532716 42.4252571434,18.7685791669 42.4247720454,18.7696541245 42.4240447261,18.7699842847 42.4238848102,18.7706878418 42.4234112127,18.7711774275 42.4231121134,18.771266983 42.422345102,18.7711683823 42.4222096697,18.7710209723 42.4221013762,18.7707547631 42.4223477346,18.7695724676 42.422745674,18.7694438444 42.4228501153,18.7691413606 42.4228331493,18.7688870006 42.4227507328,18.7687491801 42.4225857131,18.768625717 42.4224689579,18.7682841645 42.4224032857,18.7678871298 42.4224114189,18.7675700248 42.4224354061,18.7673255786 42.4225060538,18.7670073472 42.422643132,18.7665432215 42.4226229423,18.7663083752 42.422607449,18.7657010235 42.4224733346,18.7656878824 42.4222457556,18.7653722264 42.4222212895,18.7651259956 42.4221886684,18.7647903968 42.4222323444,18.7644016032 42.4222017894,18.7640632852 42.4221316937,18.7638455085 42.4220685445,18.7636221537 42.4220106522,18.7635128328 42.421874545,18.7635324065 42.421806896,18.7631504326 42.4219403246,18.7627600388 42.422105591,18.7624864583 42.4221051203,18.7622432385 42.4221485976,18.7621553739 42.4221947153,18.762070442 42.4224326164,18.7619332135 42.4225591143,18.7619051603 42.4226933778,18.7620298961 42.4227542443,18.7621233448 42.4227893761,18.7619468215 42.4230208687,18.7617840936 42.4232128693,18.7615990817 42.4232885193,18.7613518911 42.4235190815,18.7612765304 42.4235186694,18.7609654561 42.4237255898,18.760699206 42.423971697,18.7607700723 42.4240444073,18.7606837374 42.4243860746,18.7605444803 42.4247441427,18.7604625814 42.4248469093,18.7601391891 42.4250938643,18.7595723124 42.4254718136,18.759312824 42.4257457662,18.7593723359 42.4258112355,18.7592573087 42.4260800584,18.7590873461 42.4262271774,18.7591486587 42.4262702583,18.7591089893 42.4264292678,18.7590243378 42.4264350474,18.7589392592 42.4269028943,18.7589455161 42.4271214749,18.7588904214 42.4275520215,18.7589101286 42.4278025697,18.7587741399 42.4278886898,18.7586124341 42.4283639604,18.7584989302 42.4288137584,18.7584848792 42.4293492377,18.7584936741 42.4299743837,18.7584596809 42.4303429235,18.758376093 42.4306255269,18.7581613871 42.4308999607,18.7580466192 42.4312717819,18.7580082178 42.4315849934,18.7580153979 42.4318169316,18.7579365747 42.4320800198,18.7577864533 42.4323321755,18.7577795645 42.4325429559,18.757815547 42.4327511737,18.7579181098 42.4329660684,18.7580400693 42.4331459335,18.7581186548 42.4333782647,18.7580590489 42.4336238911,18.7579817129 42.433739416,18.7580332845 42.4338181915,18.7573993075 42.4343698564,18.7572436112 42.4349864163,18.7570678154 42.4349512361,18.7570194971 42.4351914951,18.756879226 42.4354307259,18.7568008078 42.4354955123,18.7566822961 42.4356800796,18.7568055817 42.4357224986,18.7566452636 42.4361396441,18.7565263923 42.4363030605,18.7564457981 42.4362787514,18.7563194463 42.436382464,18.756233663 42.4364714846,18.7561794891 42.4366322742,18.7562478073 42.4366714314,18.7561694426 42.4368261216,18.7558714695 42.4370652643,18.7556558645 42.4372504896,18.7554280809 42.4373591693,18.7552451463 42.4375158946,18.7551027774 42.4377789511,18.7550329326 42.4379617163,18.7548043735 42.4383744254,18.7546506572 42.4387123113,18.7544668116 42.4389208509,18.7542147777 42.439133204,18.7539118889 42.4393201284,18.7537568591 42.4394869151,18.7536984529 42.4396458542,18.7537360322 42.4398598094,18.754002391 42.4401486628,18.7542117201 42.4404221851,18.7543828101 42.4407017564,18.7545832145 42.441019057,18.7549310125 42.4414436142,18.7551021115 42.4417231871,18.7551792552 42.4419034219,18.7551553803 42.4421597304,18.7550191045 42.4423107482,18.7549895711 42.4424257212,18.7550692432 42.4425282254,18.7550330328 42.4426443613,18.7549708443 42.4427312696,18.7547062783 42.4429107747,18.7546926499 42.4429591727,18.7546043515 42.4430297788,18.7545087876 42.4430519718,18.7543226435 42.4429783551,18.754154476 42.443071789,18.7538916136 42.4432880976,18.75368924 42.4433595652,18.7532006633 42.4435238118,18.752923852 42.4436601951,18.7526568373 42.443800262,18.752398066 42.444096439,18.7522956099 42.4442473043,18.7522759294 42.4446091593,18.7523273596 42.444794361,18.7524478177 42.4450074862,18.752647687 42.4452761332,18.7528478382 42.4455172412,18.7531242155 42.4457745725,18.7532066154 42.4457246708,18.7532674935 42.4457778841,18.7534402761 42.4458997004,18.7536267329 42.4460190741,18.75392838 42.4462196575,18.7542607378 42.4464204101,18.7546290991 42.4467724361,18.7547737501 42.4469771872,18.7547914787 42.4471131342,18.7546554452 42.4472475291,18.7546109009 42.4473903792,18.7546086017 42.4476169356,18.7545206829 42.4477873702,18.7545023854 42.4479979389,18.7544557791 42.4481471604,18.7543936396 42.4483654432,18.7544666506 42.448387955,18.7544582722 42.4485574053,18.7544191607 42.4488028365,18.7542942702 42.4489716429,18.7539662702 42.4492027977,18.7536147462 42.4493631916,18.7534042582 42.4494696002,18.7529560615 42.4495925334,18.7529026717 42.4495196151,18.7525076033 42.449655408,18.7520431972 42.4498343885,18.7519206206 42.4497901349,18.7516645522 42.4498068694,18.7516531182 42.4499629445,18.751301736 42.4501570751,18.7510046281 42.4503369826,18.7507377477 42.4505637461,18.7505903804 42.4507429559,18.7505051622 42.4507045811,18.7503489107 42.4509153252,18.7505025167 42.4509635556,18.7504156204 42.4510894086,18.7505091092 42.4511562552,18.7502700133 42.4515149844,18.750111609 42.4515172615,18.7499336694 42.4516894331,18.7498786176 42.4518973969,18.7498522433 42.4520612629,18.749722194 42.4523573239,18.7496374378 42.452364662,18.7490399034 42.452931707,18.7492550038 42.4530301324,18.7490395204 42.45330146,18.7491985928 42.4533893173,18.74896711 42.4537949267,18.7488412043 42.4537569515,18.7486713093 42.4540775567,18.7485329546 42.454079402,18.7484268167 42.454052639,18.7482147875 42.4543210169,18.7481817115 42.4544333677,18.7481091898 42.4545873723,18.7480278525 42.4545633644,18.7479391408 42.4547994369,18.7479720631 42.4549193091,18.7478172921 42.4553027078,18.7477404758 42.4553001791,18.7476532255 42.4554823746,18.7477206778 42.4555654734,18.7475993848 42.4557369792,18.7475076058 42.4558057598,18.7472382175 42.4559869369,18.7470766416 42.4560208518,18.7470089228 42.4559637787,18.746688588 42.456117372,18.7463212981 42.4562466361,18.7462570518 42.4561286878,18.7459030819 42.4562316956,18.7455349898 42.4563241241,18.7454039706 42.4563338888,18.7448581964 42.456545008,18.7449057978 42.4566208679,18.7446151709 42.4567391102,18.7446511719 42.4568359029,18.7440274678 42.457151571,18.7439282935 42.4571090179,18.7436512174 42.4572061523,18.7436274301 42.4573047098,18.7434824039 42.4573905878,18.7434315891 42.4573504059,18.7431939408 42.4574432807,18.7431574209 42.4573968797,18.7427823881 42.4576089492,18.7428274022 42.4576595976,18.742666965 42.4577615847,18.7427177362 42.4578059662,18.7424226692 42.4581091813,18.7421670283 42.4583691655,18.7420687712 42.4584012391,18.7419344657 42.4585589572,18.7418663958 42.4587263707,18.7417381651 42.4589074283,18.7416530112 42.4589957322,18.7411800905 42.4592121335,18.7408276591 42.459384933,18.7408683118 42.4594247812,18.7405729292 42.4595792579,18.7405036302 42.4595602225,18.7402680199 42.4597383416,18.7399899064 42.4600003197,18.7398404973 42.4601941967,18.7396065005 42.4602813833,18.7394164576 42.4604269818,18.7391207862 42.4606098765,18.7388009647 42.4607092199,18.7386181069 42.4608228605,18.7384907053 42.4608777737,18.7383323756 42.4609400979,18.7381601244 42.4610225738,18.737780263 42.4612910072,18.7375718608 42.4615528261,18.7373872385 42.4618350113,18.7373852336 42.4620271939,18.7372655686 42.4623261324,18.7369611548 42.4627940053,18.7370640888 42.4628454779,18.7368699793 42.4630846807,18.7364362114 42.4635204218,18.7362683078 42.4634516168,18.7360122139 42.4636101389,18.7357784831 42.4637406696,18.7354827127 42.4639921582,18.7354737429 42.4641661628,18.7352825452 42.4643312191,18.7351208923 42.4646154292,18.7345981934 42.4650291309,18.7345142055 42.4651974343,18.7345369534 42.4653620788,18.7344559609 42.4655857793,18.7342178707 42.4657901242,18.7340245557 42.4658153941,18.7331599326 42.4656891474,18.7328562705 42.4656689526,18.7326747046 42.4655967106,18.7321822712 42.465509505,18.7320032817 42.4655322162,18.7316516845 42.465630773,18.7315883648 42.4655328338,18.7310854808 42.4657593904,18.7306035109 42.4660361722,18.7295914928 42.4665107071,18.7294571058 42.4664179101,18.7287051814 42.4669037666,18.7286703133 42.4669849274,18.7285048381 42.4670357977,18.7283343975 42.4669784891,18.7279782067 42.4668784447,18.7275564375 42.4671325762,18.727243965 42.4673709893,18.7270272411 42.4674594584,18.7265912155 42.4678794881,18.7264402323 42.4680580541,18.726233915 42.4682450089,18.7258594895 42.468566791,18.7254024292 42.4688266568,18.7245305479 42.4689333206,18.7239083836 42.4690147485,18.7234619854 42.4690450673,18.7231722635 42.4690236458,18.7227322651 42.469116308,18.722167513 42.4692766333,18.7213472939 42.4696208719,18.7202932784 42.4701713118,18.7196398682 42.4702727271,18.7189527002 42.4703190749,18.7184560451 42.4701617586,18.7179665404 42.4700481786,18.7174352078 42.4700663654,18.71697214 42.4701786366,18.7163345036 42.4704176401,18.7158956172 42.4706813525,18.7155803457 42.4710074093,18.7152695105 42.4714569893,18.7150928736 42.4717753435,18.715034115 42.4718706308,18.7148111536 42.4722014871,18.7145551587 42.4723831018,18.7140235662 42.4724225668,18.7135733926 42.472407147,18.7135734387 42.4724028888,18.7132849243 42.4725109368,18.7128217866 42.4726274496,18.7125562233 42.4726258861,18.7122219814 42.4725685568,18.7118471422 42.4725280213,18.7118237713 42.4724616986,18.7114644508 42.4724673734,18.7110306356 42.4725219681,18.7107235811 42.4725799076,18.7102537841 42.4727044309,18.7100669809 42.4727163165,18.7098341382 42.4727513111,18.7096117193 42.4727993566,18.7096108153 42.4728824853,18.7092935278 42.4729091859,18.7093216431 42.472801361,18.709036186 42.4727036091,18.7086845324 42.4725341038,18.7082917124 42.4723863103,18.7079310379 42.4722524294,18.7074527338 42.4720958922,18.7070972121 42.4719331047,18.7067456575 42.4717901554,18.7063639159 42.4717719403,18.7059950173 42.4718973197,18.7057379839 42.472007417,18.7055694629 42.4720515968,18.7051578205 42.4721315373,18.7049873742 42.4722315173,18.7048056235 42.4723766119,18.704739052 42.4725330236,18.7047257476 42.4727363494,18.7046196676 42.4729027228,18.7045415458 42.473003253,18.7044386739 42.4730194726,18.7042549421 42.4731256855,18.7042038978 42.4730980282,18.703882624 42.4732602311,18.7037073541 42.4733749107,18.7035745495 42.473408891,18.7032085817 42.4734845574,18.7028857458 42.4735289192,18.7026143454 42.4735651712,18.7023883292 42.473624839,18.702196252 42.4737092693,18.7019278998 42.4740036256,18.7017602888 42.4742589471,18.7015687324 42.4744110673,18.7014058925 42.4745580746,18.7012741454 42.4747002677,18.7010722369 42.4748395818,18.7007992393 42.474871866,18.7005334241 42.474848468,18.7002244805 42.4748635759,18.7001181428 42.4748017476,18.6999779911 42.4748512477,18.6999961751 42.4748902564,18.6998994786 42.4749377288,18.699847499 42.4748687705,18.6997036896 42.4749685891,18.6997555933 42.4750444116,18.6995310512 42.4751506102,18.6992825239 42.4751811533,18.6991017133 42.4752601554,18.699018586 42.4752024506,18.69880564 42.4753819413,18.6988143145 42.475439199,18.698480777 42.4757139139,18.6983799134 42.4756717871,18.6981125856 42.4757504522,18.6978044673 42.4757845829,18.6977814742 42.4758294483,18.6974878555 42.475792076,18.6974860734 42.4757548418,18.697181072 42.4757546236,18.6970487074 42.4758185629,18.6967472495 42.4758944306,18.6959444142 42.4761113002,18.697393 42.474875,18.694669 42.472891,18.694433 42.471892,18.695303 42.469052,18.698885 42.467028,18.702465 42.464838,18.708055 42.461135,18.709175 42.460627,18.712306 42.458606,18.715447 42.457586,18.719975 42.459724,18.72132 42.459216,18.721555 42.460048,18.724484 42.460196,18.725155 42.459858,18.727148 42.456843,18.729355 42.452827,18.730237 42.451154,18.730216 42.44932,18.732666 42.446969,18.738915 42.442093,18.743812 42.437225,18.746261 42.434874,18.747364 42.432866,18.74756 42.430363,18.745937 42.426205,18.743903 42.425552,18.740291 42.424575,18.737591 42.424593,18.734879 42.42361,18.733513 42.422286,18.732591 42.420291,18.732568 42.41829,18.730743 42.416134,18.729808 42.412972,18.73091 42.410964,18.731998 42.407622,18.733546 42.405277,18.734193 42.402772,18.735067 42.400431,18.738859 42.397572,18.739518 42.396234,18.738823 42.394404,18.739702 42.392564,18.740356 42.390725,18.738989 42.389234,18.737167 42.387245,18.738496 42.385402,18.73825 42.383569,18.739359 42.382228,18.740022 42.381223,18.738873 42.379063,18.737033 42.375406,18.734777 42.374754,18.733429 42.37493,18.73098 42.377114,18.726295 42.380479,18.722042 42.382341,18.719786 42.381688,18.715699 42.378213,18.710275 42.375746,18.703714 42.372119,18.695860504 42.3680378854,18.6960276609 42.367969741,18.6962145957 42.3679939223,18.6963917262 42.367964257,18.69658974 42.3679270337,18.69661627274096 42.36787999646136,18.69659416663271 42.36779766674686,18.6967273113 42.3677127165,18.69681884899705 42.36758239575611,18.6968963344 42.3674755375,18.6970298295 42.3673204599,18.697151052 42.3672629378,18.6972117942 42.3671624036,18.6973761192 42.3670415611,18.6974538617 42.366902613,18.6975227677 42.3668131665,18.6976737148 42.3665805225,18.6978100483 42.3665026987,18.6978946443 42.366436479,18.6977955533 42.3663548527,18.6979191162 42.3662650359,18.6980178494 42.3660868906,18.6982570589 42.3657475334,18.6985212813 42.3654054298,18.6988633957 42.3650141203,18.6991788176 42.3647121753,18.6992825311 42.3646910826,18.6994820813 42.3645229708,18.6996756953 42.3642817861,18.6998935066 42.3640872241,18.7002854199 42.363840266,18.7006636599 42.36362751,18.7010530851 42.3634999352,18.7014301367 42.3633946839,18.701312186 42.3630938352,18.7011736864 42.3630078896,18.7011408068 42.3626896318,18.7010514958 42.3625412648,18.7008702161 42.3624864197,18.7006277712 42.3624804839,18.7005684774 42.3623591747,18.7004297328 42.3622956246,18.7004079476882 42.36222388149928,18.7004563463 42.3620807567,18.7004097683 42.3619057662,18.7003443632 42.361788899,18.7003700406 42.36165914,18.7002739792 42.3615734467,18.7001709435 42.3615932947,18.7001106416 42.3615411059,18.7000847943 42.3614461532,18.7002085436 42.3612974533,18.7001659501 42.3610067692,18.7001660431 42.3609983107,18.7000919309 42.3607976669,18.700021976 42.3605660309,18.7001354858 42.3603073003,18.7003658256 42.3597282793,18.7005988268 42.3593877345,18.7007971395 42.3591128599,18.7010923302 42.3589075826,18.7012945051 42.3586672376,18.70146231778837 42.35843935264426,18.7016210146 42.3582378034,18.7017984796 42.3581037182,18.7019902778 42.3579212685,18.7022263321 42.3577161023,18.7024780326 42.3575026353,18.7027457814 42.3573414721,18.7029390964 42.3571460809,18.703230935 42.3570618374,18.7035200364 42.3568803482,18.7038147446 42.3567677091,18.7039743066 42.3566355178,18.7041335111 42.3565359312,18.7042638651 42.3563845441,18.7043312666 42.3562735395,18.7045546509 42.3561769034,18.7047346952 42.3561457854,18.7049668867 42.356076749,18.7050598731 42.3560390746,18.7051641674 42.3559632383,18.705230631 42.3558610192,18.7053963381 42.3555787817,18.7055810887 42.3552366343,18.7057687568 42.3549399333,18.705903434 42.3548044453,18.7060298588 42.3547368348,18.7061010009 42.3547779545,18.7062598039 42.3546079778,18.7063663154 42.3544356548,18.7064473147 42.3543303279,18.706404327 42.3542324017,18.7063988205 42.3542323689,18.7061859949 42.3540540739,18.7059082676 42.3538733993,18.7056284623 42.3537539411,18.7054952784 42.3537424387,18.705350807 42.3537030274,18.7052651111 42.353589009,18.7052313661 42.3534945752,18.7050370889 42.3533550213,18.7048146648 42.3532235163,18.7045374046 42.353072699,18.7043216384 42.3530036093,18.7041141949 42.3531121353,18.7036364329 42.3534894688,18.703139108 42.3537882329,18.7026165154 42.3541562461,18.7022255255 42.3544375431,18.7016831402 42.3547670408,18.70136247110856 42.35491168452786,18.70100888060409 42.35509196995029,18.70075700808237 42.35522693504711,18.70049827711831 42.3553395495382,18.7002869427 42.355418762,18.700033474 42.3555372573,18.6998706907 42.355571021,18.6993727126 42.3557701631,18.6990594062 42.3558882971,18.6985998823 42.356087669,18.6982364753 42.3562552744,18.6978831983 42.3564072761,18.6975666697 42.356469222,18.697264623 42.3565686866,18.69707599541998 42.35662334684826,18.69679977707706 42.3566989324318,18.6965294726 42.35676242,18.6961171125478 42.35686627390466,18.6958113397 42.3569382826,18.6955128731 42.3570371941,18.6952326347 42.3571682616,18.694816159 42.3572939256,18.69438272567672 42.35742509051778,18.69395331951625 42.35750773418548,18.6934125546 42.3576058832,18.6929030908 42.3577355564,18.6922207211 42.3578138195,18.6916190605 42.357910837,18.6914729176 42.3578312722,18.6913002999 42.3578527004,18.69101783691937 42.35795073385692,18.6906903575 42.3579913517,18.69017366801797 42.35800718265439,18.6896148424 42.3580522317,18.68930317261936 42.3580899624185,18.689035855 42.3581423602,18.68884796789989 42.35818162608087,18.68863740589687 42.35823430741188,18.68840885061589 42.35826326731188,18.6881422052 42.3582605359,18.6879407405 42.3582030301,18.6877002496 42.3579580457,18.6875477687 42.3576955853,18.687450824 42.3573927055,18.68720785715505 42.35711335336443,18.68722967273387 42.35690551267667,18.68726092746971 42.35654944005525,18.6872489188 42.356125289,18.687108934 42.3555312642,18.687175023 42.3551438266,18.6871749851 42.3549248304,18.6873725454 42.3546741831,18.68749177988761 42.35429333038336,18.68764577350809 42.35428716382886,18.6877885363 42.3542409772,18.6878276551 42.3541292804,18.687758588 42.3540169218,18.6879125998 42.3537899939,18.6880335284 42.3536188314,18.6881873594 42.3534078925,18.6883829869 42.3533291337,18.6885637731 42.3531263539,18.6886640913 42.3528631155,18.6888265913 42.3528441192,18.6889347755 42.3528447797,18.6889624029 42.3527929775,18.6888944424 42.3527480149,18.6889534592 42.3526672539,18.6890766952 42.3526179021,18.6891806678 42.3525588888,18.6892782635 42.3524926788,18.6894009655 42.3524910418,18.6895701163 42.3523775499,18.68981389 42.3522311102,18.6899507033 42.3521221923,18.6900738041 42.3520847682,18.6901618997 42.3520017981,18.6903506308 42.3518693368,18.6906135585 42.3517420988,18.6906797744 42.3515945745,18.6907456441 42.3514780649,18.6909081221 42.3513836166,18.691144797 42.3512943911,18.69142198 42.3511520969,18.6916572454 42.3510382412,18.6917123671 42.3509608829,18.6919030737 42.3508893616,18.6922132468 42.3507483912,18.6924421465 42.3505969008,18.6926195948 42.3504977285,18.6930378891 42.3503924988,18.6931494864 42.3504207448,18.6932345783 42.3503851551,18.6933443079 42.3502840819,18.6934382095 42.350223402,18.6937763298 42.3501258201,18.6937927353 42.3500492784,18.6941356983 42.3499823812,18.6943894135 42.3500145755,18.6943756873 42.3498497139,18.6944594091 42.3497812442,18.6946511613 42.34979007,18.694917285 42.3496383993,18.6951301159 42.3496166953,18.6952245038 42.3495214649,18.6952306654 42.3494333645,18.6953151082 42.3492997528,18.6953220404 42.3491500723,18.6955019876 42.3490629762,18.6956770443 42.3489685015,18.6957379215 42.3488586384,18.69565928096218 42.34874184243774,18.69579694641014 42.34860405100777,18.6956865322 42.348560703,18.695658291 42.3484172313,18.6955203957 42.3482988168,18.695413265 42.3480960772,18.6953165252 42.3478529817,18.6953787045 42.3476255449,18.6956862697 42.3473735728,18.6958620232 42.3471380886,18.6960276687 42.3468676421,18.6962041061 42.3465701152,18.6964907602 42.3462693751,18.6969518026 42.3459970321,18.6972609721 42.3458513438,18.69749788241236 42.34575506543244,18.6977018180819 42.34573521713012,18.69789710668047 42.34576048594926,18.69803903370784 42.34582156829287,18.69816419940183 42.34592470770794,18.6984144988997 42.34613399723351,18.6985454163 42.3463177051,18.6986885431 42.3465498693,18.6988100452 42.3467858912,18.69887201283833 42.34694513352694,18.69892433856264 42.34704702864781,18.6990218662 42.3471500725,18.6992902002 42.34679277,18.6994531192 42.3466980391,18.6995285684 42.346706469,18.6996434106 42.3465675809,18.6996171795 42.3464996276,18.6997908007 42.3464129365,18.6999812227 42.3462705145,18.7000738235 42.3461913116,18.700085536 42.3461076346,18.7000969118 42.3459912358,18.7001111958 42.3459213973,18.6999730284 42.3458881018,18.6999813522 42.3457458058,18.6999999218 42.3455935823,18.7001640743 42.3454147638,18.7002606262 42.3452380361,18.7003744002 42.3450314441,18.70045292896002 42.34483680832309,18.7005878281 42.3446731147,18.7007179176 42.3443333591,18.7009099072 42.3440941488,18.7010854303 42.3438548392,18.7012809318 42.3436704154,18.7014969133 42.3434952414,18.7017786864 42.3433265463,18.7021059039 42.343142909,18.7024741991 42.3429129642,18.7028098773 42.3426938342,18.7031686429 42.34244125,18.7034007817 42.3423390664,18.70357993473952 42.34223664313234,18.70361543699429 42.34217003131469,18.70373150662052 42.34215530473461,18.70389689212244 42.34208261610003,18.7040375795 42.3419797946,18.7040985508 42.3418532128,18.7042785165 42.3417428865,18.70455032892776 42.341535245385,18.70468847986131 42.3414403549129,18.70491735608173 42.3414079399767,18.7052734161 42.3411503664,18.7054225371 42.3411331318,18.7057330621 42.3408783529,18.7061142467 42.3406560734,18.7062725294 42.3406132727,18.7064443322 42.3404159907,18.7068972076 42.3401715987,18.7069932106 42.3400080103,18.7072028031 42.3399197159,18.7075200133 42.3398370358,18.7078569233 42.3397992429,18.7082068585 42.3398013225,18.7085031192 42.3397881587,18.708704626 42.3398241768,18.7086454657 42.3396944882,18.7087484616 42.3395060681,18.7089050763 42.3393378641,18.7091154715 42.3391749535,18.709217655 42.3390611457,18.7091577383 42.3390010959,18.7089827736 42.3390000576,18.7087406225 42.338988671,18.7084458252 42.3388675313,18.7081370289 42.3387960527,18.70787371870942 42.33865703307269,18.70763351243692 42.3384748616054,18.7075379261 42.3381905674,18.70751082303786 42.33786431354488,18.7075415711 42.3375217084,18.7076755585 42.337258653,18.7079699129 42.3369857816,18.7082780712 42.3367829932,18.7086437388 42.3366505473,18.7090521733 42.3366045096,18.7094107865 42.3364504804,18.70963153246737 42.33635800146551,18.70969837364876 42.33628214729878,18.7096975505 42.3362044835,18.7096480812 42.3360641869,18.7095100942 42.3360256753,18.7092767142 42.3360512145,18.709007849 42.3359903864,18.7087918428 42.3357575592,18.70860866366571 42.33553179716463,18.7084342359 42.3352545476,18.708344218 42.3350862735,18.7081937323 42.335013491,18.7080775714 42.334765185,18.70806968034743 42.33462275972138,18.7079998353 42.3344611935,18.7079477653 42.3342811621,18.7080623332 42.3341013886,18.7081619358 42.3338921369,18.7083026737 42.3336291699,18.7085077685 42.3334145495,18.7088428804 42.3331767188,18.7092761527 42.3328615279,18.7094552195 42.3328026352,18.7097015047 42.3325283016,18.7099640721 42.332248068,18.710249732 42.3320818859,18.7104129798 42.3320584146,18.7105399581 42.3320796093,18.7106221612 42.3321496027,18.7107606436 42.3321299789,18.7108823573 42.3321266103,18.7107891818 42.332048375,18.7106799027 42.3319250694,18.71069080669328 42.33180660145411,18.71078107062669 42.33170171525054,18.7109491263 42.3315791293,18.7109724433 42.3314688746,18.7110344282 42.3313629372,18.7111234447 42.3313144005,18.711229052 42.3312659618,18.7111637061 42.3311715371,18.71114477587195 42.33108806409209,18.7112043212 42.330995967,18.7113379332 42.3309149851,18.7114090814 42.3308879676,18.7113773984 42.3308401712,18.7114059599 42.3307827029,18.7114906054 42.3307381481,18.7115835159 42.3307344065,18.7116219149 42.3306724143,18.711642809 42.3306189005,18.7115908516 42.3305928474,18.7116234001 42.3305351115,18.7117426368 42.330512216,18.7117753475 42.3304394626,18.71187278875561 42.33042489423731,18.71191510077919 42.33037967601128,18.71190835036241 42.33032143650082,18.71193084454588 42.33028883223351,18.71200962369926 42.3302838417818,18.7120817714 42.3302825071,18.71213391215479 42.33022291175799,18.71219183615732 42.33018627246098,18.7123178279 42.3301916454,18.7123847818 42.3301727313,18.7124637607 42.3301152693,18.71255126 42.3300750215,18.7125893099 42.3300452092,18.712572663 42.3299743095,18.7126241875 42.329882561,18.7127315054 42.3297842756,18.7128543751 42.3297035382,18.7130049162 42.3296113262,18.7132710519 42.3293830546,18.7135236897 42.3291561763,18.7136664789 42.3289889073,18.7138548157 42.3288151821,18.7141204966 42.3286385498,18.7142770344 42.328461274,18.71433532378931 42.32841121603691,18.71433836711364 42.32835244358996,18.714282732 42.3282361107,18.7142839697 42.3281212488,18.71433658206814 42.32807095210582,18.7143660923967 42.32801589871627,18.7143460671 42.3279400471,18.714406847 42.3278811176,18.71441633861566 42.3278255715891,18.71434288984653 42.32770933967269,18.71420789602399 42.32771388878067,18.71416509987299 42.32766019074868,18.71415351294731 42.32761736579705,18.71421195728376 42.32756070136752,18.7141955333 42.3274907986,18.7141120107 42.3273346763,18.7140781264 42.3272233119,18.7140166034 42.3270851233,18.7139028086 42.3269583187,18.7137590234 42.3268439504,18.7136698671 42.3268055845,18.7135337961 42.326766942,18.7133634353 42.3267438637,18.7132347377 42.3268124784,18.71313069331164 42.32684201055928,18.7130169171 42.3268395734,18.71293918821131 42.32684378077848,18.71287406419858 42.32683105353371,18.71274489747065 42.32684599970571,18.71266300704439 42.32683990572306,18.7125901447 42.3268622809,18.71246834034703 42.32687690599295,18.7123341755 42.3268670757,18.7122103193 42.3268821108,18.7120896371 42.3268193025,18.7118818476269 42.3268448600591,18.71163029427219 42.32682624408314,18.7114801851 42.3268219143,18.7113843305 42.3267467726,18.71141538740343 42.32670393346377,18.71151002870533 42.32666452769088,18.71155038095964 42.32664649637319,18.71163094947806 42.32662299352627,18.71164206923314 42.32659451232275,18.71157748855969 42.32656786706387,18.71151873947126 42.32657322889268,18.7114825043 42.3266075255,18.71143167198536 42.32662638204613,18.71129398514768 42.32664726291798,18.71121807440002 42.32666850932223,18.7111437450693 42.32668633939032,18.71106150810379 42.32672125077916,18.71095499337195 42.32671605258003,18.71082568346443 42.32667646283962,18.71076901036474 42.3266327356777,18.71078983001191 42.32656434612808,18.7108825323 42.3265107563,18.7108070524 42.3264947729,18.7106677919 42.3265467722,18.7104778629 42.3266202222,18.7103240221 42.3266310385,18.7102266953 42.3265264729,18.7098648365 42.3263312236,18.7097306777 42.3261955772,18.7096459062 42.3260808755,18.7095262738 42.3259378706,18.7094192393 42.3259477761,18.7092855798 42.3257836066,18.7091735337 42.3255984842,18.709120913 42.3251923649,18.7090287068 42.3251496555,18.7089248752 42.324864446,18.7089829279 42.3247699264,18.7090980608 42.3246704758,18.7089992989 42.3245750246,18.7088765806 42.3247165922,18.708442977 42.3246033387,18.708173544 42.3244699789,18.7079453188 42.3243438692,18.7077187745 42.3242940194,18.7073685558 42.3240158423,18.70732591914483 42.32386763012809,18.70718628274198 42.32375875265933,18.70711917338987 42.32357762144911,18.70713354892565 42.32347751888967,18.70704227165551 42.32331981731774,18.7072162175 42.3231754587,18.7072279734 42.3230225567,18.70713817236704 42.32289839202278,18.7070691403 42.3227790934,18.7070767021 42.3226139136,18.70699962635577 42.32252861621818,18.70702263778836 42.32246122211516,18.7070887895 42.3223922475,18.7071865382 42.3222998424,18.7073546817 42.3222579262,18.707457452 42.3222966863,18.7074601318 42.3223467722,18.7075410826 42.3223162582,18.7075740802 42.3222473104,18.7077867959 42.3222581128,18.7078672537 42.3222728969,18.70801857321331 42.32224314327498,18.70815882079126 42.32225221262465,18.7082390315132 42.32225104232104,18.70829286965535 42.32221677310739,18.70826936960608 42.32212439541094,18.7083017251 42.3220561256,18.7084472432 42.3220188416,18.7086122897 42.3219649833,18.7088059423 42.3219494431,18.7091246286 42.3218897419,18.7092105075 42.3218842085,18.7092882138 42.3218786266,18.70938816472229 42.32180608684443,18.70943395265943 42.32172260766549,18.70932328779286 42.32167928522756,18.7092665483 42.3216156247,18.70929243271163 42.32156848758296,18.70930361566855 42.32152272794087,18.7092926071 42.3214737672,18.7093992449 42.3214381415,18.7095422989 42.3214359688,18.7096903238 42.3213522437,18.7098093838 42.3213015837,18.7099007894 42.3211631347,18.7102323914 42.3209982549,18.7104223288 42.3208641177,18.7105566549 42.3207460464,18.7106367464 42.3205169848,18.7107822905 42.3203866833,18.7109830882 42.3202731041,18.7111560805 42.3201675578,18.711346544 42.3199842362,18.7113817982 42.319799996,18.711488315 42.3196899568,18.7115168729 42.3196122471,18.7114399339 42.3195503088,18.7113800235 42.3194515814,18.7114673554269 42.3193080759617,18.7115818807 42.3192396335,18.7116275551 42.3191169369,18.7118001456 42.319042312,18.7119032843 42.3190175671,18.7119033185 42.319014398,18.7119513555 42.3189322797,18.7120546651 42.3188916891,18.7121369898 42.3188097733,18.71208630476628 42.31869606780129,18.71215870279797 42.31861609908077,18.7123661339 42.3186273065,18.7123704199 42.3186273318,18.7125380528 42.3185839513,18.7126583344 42.3185593069,18.71273775231037 42.31851796654733,18.71286744133445 42.31843198831427,18.7128496897 42.3183037209,18.7129024559 42.3181804283,18.7130185193 42.3181494197,18.7131995223 42.3180585765,18.7133757974 42.3179657866,18.7134945963 42.3178988933,18.7136291764 42.3177813974,18.7137289009 42.3177172078,18.713790417 42.3176640584,18.7137028680164 42.31762807519357,18.71362901494354 42.31756814578669,18.7136932739 42.3174888677,18.7137927855 42.3174443916,18.7139151795 42.3173972336,18.7140180442 42.3173950232,18.7140608808 42.3173079663,18.7140400811 42.3172729952,18.7139728414 42.3172476384,18.7139599046 42.3171951451,18.7140311115 42.317165612,18.7140550892 42.3171333046,18.71408515702303 42.31706422594819,18.7140871894 42.3169737462,18.7141120277 42.31686157,18.7142137206 42.3168222321,18.7143488448 42.3168130437,18.7144701448 42.3168337265,18.714635621 42.3168272124,18.7147104081 42.3166833429,18.7147514642 42.3165407167,18.71470195023811 42.31642844858876,18.71468090228393 42.31632533223969,18.71477021298813 42.31626265822872,18.7148602707 42.3162231512,18.7149703571 42.316194576,18.7151240378 42.3161954802,18.71523331271959 42.31617643564375,18.7153267865 42.3161252386,18.7153891668 42.3160411832,18.715359758 42.3159176239,18.7154131468 42.3158529976,18.7154579984 42.3157655919,18.7154679405 42.3156848583,18.7155034362 42.3155657935,18.7155926563 42.315450659,18.715671557 42.3153860645,18.71571632383543 42.31531748706088,18.7157515842 42.3152166605,18.71579510143086 42.3151403151634,18.71579016162156 42.3150635477263,18.71571375308718 42.31502046594,18.71571076562376 42.31494086779317,18.7157616155103 42.31485874406348,18.71583486821187 42.31483785858453,18.71590572552914 42.31486101251775,18.71591416091589 42.31479142904377,18.71584754431 42.3147313518548,18.7158502748 42.3146750869,18.71585989624619 42.31459696436841,18.71582793000498 42.31455875149459,18.71578091019957 42.31450355012531,18.71584140088391 42.31436870612014,18.71603725574332 42.31422057450151,18.71622627659983 42.31417661880079,18.7164649643 42.3141326939,18.716654199 42.3141027621,18.7168860767 42.3140109947,18.7171238952 42.3140175639,18.7173156160636 42.31400534341788,18.71747382578597 42.31399595539664,18.71760009429905 42.31392964099746,18.71768908916493 42.31386998531869,18.71785672781163 42.31384861643377,18.7179447855 42.3138050779,18.718078212 42.3137592956,18.7183797685 42.3136938028,18.7185894876 42.3137105521,18.7187570636 42.3137425756,18.71885092060067 42.3137349266879,18.71899544905493 42.3136772428752,18.71912864388638 42.3136700408532,18.71925437338992 42.31368806918358,18.71939964785374 42.3137288254597,18.71950040840934 42.31372675418525,18.71956028081467 42.31367921618342,18.7196330215 42.3136131805,18.7196005406709 42.31346831921844,18.71964767420636 42.31336067339091,18.71965258937555 42.31327495631973,18.71968629833214 42.31311401023648,18.71970319226001 42.31302984134508,18.7197028972 42.3129668661,18.7196633532 42.3127389879,18.7197213118 42.3125530696,18.7198342986 42.3124554272,18.7200092547 42.3124512755,18.7201493964 42.3124313987,18.7203255126 42.3123186027,18.7203698088 42.3121015602,18.7204691222 42.3118495206,18.72051268388674 42.31172352480188,18.72068506654437 42.31169105253321,18.720831052 42.3117285451,18.7210351324 42.3116681918,18.7213313128 42.311642566,18.7216091454 42.3116031562,18.7218144623 42.3114265602,18.722019341 42.3112909904,18.72210838995103 42.31112468067082,18.72230261528112 42.31107456282363,18.72244083382487 42.31111084796407,18.72253120276876 42.31113502762069,18.72261860560923 42.31110399845642,18.72267451413698 42.31102679297825,18.7227585589756 42.31097734691909,18.72295617020878 42.31094301642329,18.72320387023273 42.31087743863661,18.72341183621185 42.31087207718484,18.7237005019 42.3107685258,18.72366675638113 42.31064997150946,18.72386719184033 42.3104744261568,18.7241474755 42.310382208,18.7245635095 42.3103027454,18.7249380267 42.3102230405,18.7251323132 42.3101729936,18.7249552303 42.309905868,18.7248888587 42.3096393838,18.7246145822 42.3094023976,18.72440699544841 42.30926245370465,18.72430282501583 42.30918593691266,18.7243966402 42.3090736256,18.7242446331 42.3090522745,18.72401027780363 42.30898389311724,18.72397631555098 42.30883279963027,18.72412669085101 42.30859833072313,18.72429964978313 42.30852873249889,18.7245957028 42.3085732818,18.7246123657 42.3083072766,18.7249176808 42.3082271684,18.7251940161 42.3082697081,18.7254570562 42.3082609965,18.72557843247035 42.30816969197461,18.72562539653201 42.30801457212336,18.7257376239 42.3079044039,18.72594873894042 42.30782753784369,18.72636515613786 42.30779948057391,18.72671002201414 42.30791421195934,18.7270852904 42.3079918852,18.72791955727111 42.30782043708553,18.72821401644769 42.30780734488989,18.72848452447867 42.30789766158731,18.72855169190815 42.3077606896786,18.72870942354354 42.30770665583177,18.72887492467352 42.30772874259783,18.72915989881552 42.30780223527341,18.72925427956358 42.30779432635216,18.72936743021739 42.30763225987118,18.7295325809 42.3076063241,18.7299277682 42.3075003518,18.7300525763 42.3074094769,18.7302778339 42.3074024448,18.7304029049 42.307286591,18.7307299281 42.3072385092,18.7308865842 42.3073310011,18.7311117566 42.3073322931,18.7313607599 42.3072088218,18.7316360408 42.3070530553,18.731914321 42.3068931566,18.73214651519911 42.30683391917304,18.73243609145452 42.30681567226721,18.7327010271 42.3068384516,18.7330132728 42.3069102217,18.7332675166 42.306960126,18.7334455386 42.3070034876,18.733541593 42.306971592,18.7335781962 42.3069039611,18.7335596758 42.3067681744,18.7335495023 42.3065970401,18.7334634936 42.306431371,18.7332451375 42.3063357343,18.7331157638 42.3061794319,18.7329194513 42.3060038491,18.7328077276 42.3058601529,18.732671868 42.3057686559,18.7325689953 42.3056808369,18.7323010442 42.305588582,18.7322030171 42.3054730078,18.7318827558 42.3053566947,18.731575203 42.3051641369,18.7314333178 42.3050693936,18.7312748804 42.3050391309,18.7311406865 42.3049679136,18.7309549578 42.3047717467,18.730758845 42.3046391559,18.7305627331 42.3045065649,18.7305946585 42.3044244512,18.7306530746 42.3043656005,18.730442136 42.3041309296,18.730288506 42.3039078468,18.730249429 42.3037454926,18.7301903181 42.303549089,18.7302232043 42.3033305918,18.7303831758 42.3031467595,18.7306228864 42.3031368266,18.7307647899 42.3032168221,18.7308916778 42.3032703378,18.7310457973 42.3031581096,18.7313264876 42.3031295582,18.7315449765 42.303198681,18.7316926123 42.3032183807,18.7319230385 42.3031216707,18.7320817007 42.3030622532,18.7322858074 42.3030445711,18.7324583791 42.3031171993,18.7326158558 42.3031708883,18.7328500762 42.3031986233,18.733008502 42.3031618258,18.7332021782 42.303166705,18.7334367953 42.3031567361,18.7337552671 42.3031807404,18.7338874422 42.3032256433,18.7340958189 42.3032402543,18.7342651027 42.3032673496,18.7343667787 42.3033410872,18.7344967418 42.3034123735,18.7346624936 42.303439448,18.73472961 42.3034398315,18.73480075 42.303393209,18.7349900973 42.3031904985,18.7350782717 42.3032040656,18.7351592995 42.30322543,18.7352689141 42.3032156049,18.7353226642 42.3031427555,18.7353731545 42.3030437602,18.7354374745 42.3029735836,18.735501249 42.3029556584,18.7355721158 42.3029351609,18.7356522789 42.3028534849,18.7357747622 42.3027715213,18.7358811142 42.3026602906,18.7359562262 42.3026162656,18.7359508013 42.3024950302,18.7359751136 42.3024085943,18.73599919080363 42.30233837338445,18.736070119 42.3022780374,18.7360505693 42.3022284547,18.73598182642456 42.30218235925206,18.7359213304 42.3021139338,18.7358553227 42.3020294561,18.73577676332887 42.30199577647286,18.7357023137 42.301949429,18.73569798505345 42.30190121584258,18.7357739094 42.3018187384,18.7358854136 42.3016794914,18.7359998795 42.3015845593,18.7360536566 42.3015662153,18.7361334266 42.3014734166,18.7362003458 42.3014038581,18.7362923099 42.3013507616,18.7363873529 42.3013046766,18.7364606968 42.3012234977,18.7365054548 42.301163138,18.7365690756 42.3011075484,18.7366485772 42.3010403925,18.7366895275 42.3010429571,18.7367175304 42.3010780868,18.7367958666 42.3011228285,18.736874397 42.3011489205,18.7368406971 42.3010554749,18.7368604823 42.3009716593,18.7369178232 42.3009137022,18.7368930935 42.3008669346,18.7368462764 42.3008223724,18.73684100631707 42.30071287339641,18.736857844 42.300619611,18.7369438753 42.3005307998,18.736995354 42.3004909642,18.7370151652 42.3004273431,18.7370319323 42.3003495416,18.737093476 42.300262553,18.7371451017 42.300208555,18.7372028398 42.3001805576,18.73725209818453 42.30019705802688,18.73729228331124 42.30021863561208,18.7373298288 42.3002450145,18.73733156978925 42.30018790368163,18.73731621770505 42.30013764673924,18.73728211622155 42.30008621555054,18.7373004336814 42.29999025050417,18.7373494343 42.2998754219,18.73740348898537 42.29981710430484,18.737467872 42.2997629639,18.73751590605752 42.2997170609967,18.7375552488 42.2996955818,18.73760575246979 42.29967180732783,18.73765541908002 42.29965581798863,18.73771043722158 42.29965409712532,18.7377546701 42.2996401504,18.73782247252112 42.29959066353847,18.7378725726572 42.29953297945916,18.73793908715197 42.29948352475795,18.7380014247 42.2994454584,18.7380324059 42.2994079239,18.73806534707341 42.2993744066124,18.73808737460063 42.29935299640305,18.7380995843 42.2993215714,18.73810853107229 42.29928993685643,18.7381310354 42.2992387866,18.738172448 42.2991786849,18.738239469 42.2991074156,18.73827356009467 42.29908196069024,18.73832053349442 42.29905527106185,18.73837304359331 42.29904377607171,18.7384368109284 42.29904498102538,18.73848907589614 42.29905707172141,18.73855150308248 42.29907764413755,18.73859243200149 42.29908461596178,18.73863105696386 42.29909410187072,18.73865373789358 42.29910349714208,18.73869107525376 42.29912729647074,18.73871472882204 42.29915270282336,18.73874400671703 42.29918488031516,18.73878398935041 42.29917331393414,18.73881270588628 42.29914988995503,18.7388233580736 42.29911120016394,18.7388719211 42.299084612,18.7389382368 42.2990812176,18.73897624544838 42.29908511192503,18.73901945224723 42.29909209652131,18.7390451816 42.299093138,18.7391065947 42.2990708602,18.73905350570841 42.29899627769332,18.73903799816178 42.29892861143534,18.7390327602726 42.29886536338011,18.73907202322982 42.29877402879794,18.7391665474 42.2986978639,18.7392995693 42.298653366,18.73939161 42.2986274906,18.7395344369 42.2986207587,18.7396717746 42.2986517064,18.7397373863 42.2987161869,18.73978127399472 42.29872341966592,18.73981088630117 42.29862830849212,18.7398615013 42.2985471917,18.7399084009 42.2984494091,18.73993415889678 42.29839610349912,18.73996651224386 42.29834335424897,18.74002390684703 42.2983295643777,18.7400461118 42.2982867715,18.7400016574 42.2982271224,18.73995138455847 42.29816917451135,18.7399064368 42.2981136918,18.7398351909 42.2980122802,18.7398643207 42.2979144086,18.7398891262 42.2978462206,18.7398341919 42.297721135,18.73980656071328 42.29765129714696,18.7397917681 42.2975515581,18.7398372703 42.2974240711,18.7399026995 42.2973115512,18.7399878709 42.297231822,18.7400729189 42.2971639754,18.7401260834 42.2970721813,18.7402121072 42.2969446552,18.7402844427 42.2968532322,18.7403624148 42.2968169408,18.7403655423 42.2968146627,18.7405147086 42.2967971412,18.7407394795 42.2966721438,18.7408710923 42.29655121,18.7409621198 42.2964530044,18.7410662631 42.2963022696,18.7411989269 42.296280414,18.7413372683 42.2962020746,18.7414453603 42.2960934222,18.7414877435 42.2959354176,18.7414789586 42.2957997298,18.7415716525 42.2957022932,18.7416497667 42.2955369549,18.7417275692 42.2954017565,18.7419169197 42.2953161689,18.7420498173 42.2952453505,18.7421928647 42.295177596,18.7423551664 42.2951687183,18.7425439751 42.2951575413,18.7426136664 42.2951407941,18.7426307734 42.2950870199,18.7427170915 42.2950630204,18.7427635103 42.2950559365,18.7428009583 42.2949557521,18.7428378506 42.2949094355,18.7429271756 42.2949148369,18.7430336578 42.2948615668,18.7431395844 42.2948621643,18.7432584994 42.2948873218,18.7434141045 42.2948857504,18.7435398674 42.294888908,18.7436561287 42.2948503843,18.7437395656 42.2947847399,18.7437897993 42.2947287031,18.7438162764 42.2946032665,18.7438619319 42.2945260963,18.7439668474 42.2945027218,18.7440540144 42.2945087434,18.7441110293 42.2945385608,18.74416199940838 42.29454727045147,18.7442082028 42.2945409517,18.7442584815 42.294498834,18.7443209931 42.2944789074,18.74441019099077 42.29449906824729,18.7444699319 42.2945368949,18.7445646703 42.2945337412,18.7446519704 42.2945268584,18.7447315476 42.2945438979,18.7448112955 42.2945443466,18.74486851160924 42.29451075967079,18.74490445456925 42.29447553293805,18.74492414330985 42.2944240185365,18.7449402519 42.2943644076,18.74495473834374 42.29430573797696,18.745006431 42.2942302029,18.745061997 42.2941586181,18.7451022312 42.2941238174,18.7451353112 42.2940576365,18.7452354484 42.2939857074,18.7453135581 42.2938685792,18.7453504977 42.2937663895,18.7453974567 42.2936870111,18.7454394058 42.293596227,18.7455168912 42.2935397752,18.745522875 42.2934563739,18.7455390732 42.2933768225,18.7455907688 42.2933353957,18.7456020739 42.2932330618,18.74561298152622 42.29319650477589,18.74562541201847 42.29314764413803,18.74564370101022 42.2930563030296,18.74563248225737 42.29298725590852,18.7456307065 42.2929412002,18.7456158327 42.2928918141,18.7456163391 42.2928425143,18.7456067478 42.2927779878,18.745638131 42.292717484,18.7456508439514 42.29267152193887,18.74564708559811 42.2926220542061,18.74566179363915 42.2925747944207,18.74568392592048 42.29249706678721,18.74572568721734 42.29244680294863,18.7458411469 42.2924190164,18.7458977346 42.2924003717,18.7459645757 42.2923817846,18.7460216305 42.2923176322,18.7460581009 42.2922609491,18.7460894056 42.2922080296,18.7461304987 42.292180658,18.7462042193 42.2921992968,18.746293197 42.2922316898,18.7463364266 42.292220542,18.7463525017 42.2921545674,18.7464084231 42.2921070413,18.74647986472311 42.29208095419125,18.74653366708443 42.29207114462113,18.7465811775 42.2920783956,18.74663262861626 42.29210543048315,18.74667403971103 42.2921140900007,18.74673099711185 42.2921144097509,18.74678804094067 42.29210630293914,18.74685124219232 42.29213254066298,18.74691628 42.29213495,18.74692397420813 42.29210225043544,18.74691777962589 42.29207151725064,18.74689934289295 42.29204432693776,18.74690800434464 42.29199321150161,18.74697416503539 42.29196890365964,18.74704019605642 42.29195723558487,18.74709805946262 42.29194853128514,18.7471522818 42.2919449125,18.74720387407979 42.29194551332173,18.7472445961 42.2919522642,18.74729642931597 42.29196589614703,18.74732298443327 42.29199493773393,18.7473608226 42.2920303711,18.7474253751 42.2920421233,18.7474839787 42.2920333392,18.7475241988 42.2920153396,18.74755737868296 42.29199083463317,18.7475893814 42.2919655864,18.7476388633 42.2919453606,18.74767927 42.2919091371,18.7477429241 42.2918568628,18.74785128553164 42.29181802877682,18.7479200632 42.2918316862,18.7479711295 42.2918348798,18.748006593 42.2918263554,18.7480264834 42.2918032056,18.7480427408 42.2917509591,18.7481020251 42.291719307,18.7481491312 42.291725386,18.7482040388 42.2917373238,18.74823424520859 42.29174004014767,18.74827738137917 42.29173953973886,18.74833465057391 42.29173021466671,18.74839302146046 42.29171124994673,18.74844939397509 42.29169153201293,18.7485113589 42.2916663524,18.7486774199 42.2915713289,18.7487287241 42.2915512623,18.7487958395 42.291522561,18.7488901708 42.2915230884,18.7489886706 42.2915003777,18.749122604 42.2914720497,18.7492406672 42.291458171,18.74932831248145 42.291422240555,18.7494382907 42.2913516914,18.749521752 42.2912620198,18.749596758 42.2912304542,18.7496798627 42.2911756723,18.7497625516 42.2911615954,18.749871396 42.2911047761,18.7499852961 42.2910666574,18.7500671161 42.2910348186,18.7501203592 42.2909511475,18.7501562499 42.2908566143,18.75019448686808 42.29077305373794,18.7502916856 42.2907045045,18.7504377965 42.2906471875,18.7505079087 42.2906217422,18.750577516 42.2906458137,18.7506039507 42.2906222777,18.7506537561 42.2905902598,18.7507208262 42.2905777155,18.7507965615 42.2905716786,18.7508311349 42.2906063199,18.7507667996 42.2906361039,18.7507053528 42.2906680569,18.75072242 42.2907069068,18.7507685691 42.2907480718,18.7508237346 42.2907612975,18.7508704322 42.2907486396,18.750943082 42.2907598097,18.7509866939 42.2907643588,18.7510712704 42.2907476058,18.75118559612295 42.29074951844284,18.7512690889 42.2907573199,18.7513213663 42.2907683763,18.75143155925797 42.29071092483832,18.7515145483 42.2906617998,18.7515354033 42.2906145489,18.7514692096 42.2905409769,18.75142004 42.2905105605,18.7513041729 42.2904560892,18.751170778 42.2904079792,18.7510174718 42.2903145442,18.7507187984 42.2901636379,18.7504657771 42.2900700606,18.7502751207 42.2899697409,18.7501760853 42.2898132146,18.7500864167 42.2896780094,18.7500303624 42.289535902,18.7499787384 42.2894292678,18.749907297 42.2893863305,18.7498110658 42.2894247865,18.7497290647 42.2894775014,18.7497908143 42.2895310193,18.7498719114 42.2895669209,18.7498904635 42.2896272872,18.74991901926961 42.28966627862713,18.7499280016 42.2897054838,18.7499079671 42.2897904485,18.7498596161 42.2898327168,18.7497540177 42.2898498514,18.7496104832 42.2898277804,18.7494765682 42.2898022181,18.7493569923 42.2897802806,18.7492422802 42.2897512804,18.74920352383503 42.28970497067613,18.74919397165992 42.28965758590204,18.74920946182929 42.28961498151727,18.7490622214 42.2895517608,18.7489482337 42.2894518667,18.7489208587 42.2893170081,18.7489983948 42.2892323648,18.7491048617 42.2891301588,18.749206464 42.2890350153,18.7492991338 42.2888760135,18.7493998538 42.2887407148,18.7494873693 42.2886653651,18.7496065157 42.2885814415,18.7496545434 42.288511705,18.7497688535 42.2885152603,18.7498993213 42.2884809864,18.7500339101 42.2884292343,18.7501248607 42.2884034902,18.7501496176 42.2882957045,18.75018671510765 42.28814283265223,18.7502859897 42.2880689502,18.7504054601 42.2879529423,18.750528516 42.2878719567,18.7506038729 42.287828624,18.7507079347 42.2877743152,18.7507786113 42.2877486637,18.750874197 42.2876971055,18.7509657314 42.2876976157,18.7510607597 42.2877007499,18.7511630677 42.2876804837,18.75121621919645 42.28765181575972,18.75128322135719 42.28759045823015,18.75135405902514 42.28752491305914,18.75140198287043 42.28747467289363,18.7514685642 42.2874139168,18.7515538253 42.2873388597,18.7516780501 42.2872405785,18.7517951874 42.2872118358,18.7519614972 42.2871652715,18.7520450141 42.2871063739,18.752149465 42.2870931039,18.7522648154 42.287060107,18.7523373116 42.2870328079,18.75237861536275 42.28700393076151,18.7524391681 42.2870116082,18.7525436789 42.2869924019,18.7525996849 42.2870085433,18.7526422978 42.2870265889,18.75266337330433 42.28698015600449,18.7527315247 42.2869321052,18.7527715031 42.2869461786,18.7528336019 42.2868891402,18.7529569955 42.2868542085,18.7530291781 42.2867557613,18.7530973303 42.2866937,18.7532751046 42.2866416137,18.7534708347 42.286483479,18.7536327731 42.2863282783,18.7535742333 42.2862748793,18.7536173184 42.2861877025,18.7538343669 42.2860078313,18.7539170124 42.2857647733,18.7540788531 42.2856189367,18.7542198789 42.2854448857,18.7545464587 42.2852963165,18.7546550362 42.2853338634,18.7547689013 42.2852975495,18.7548152496 42.2852037646,18.7549879256 42.2851879283,18.7552062356 42.2851488339,18.7554107227 42.2851298143,18.7555026512609 42.28511904058322,18.7555306209 42.284945753,18.7556045792 42.2848151753,18.7557420577 42.2846883074,18.7558887508 42.2845480556,18.7559395011 42.2844677284,18.7560728948 42.2844701063,18.7561331418 42.2843481905,18.7562132944 42.2842030992,18.7563562454 42.2840729083,18.7564981673 42.2840445857,18.7565687168 42.2840711718,18.756623383 42.2841122236,18.7567688571 42.2841217594,18.7568476862 42.2841076413,18.7569258986 42.2841546444,18.756997212 42.2841055563,18.7570692595 42.2839837048,18.757192098 42.2838970618,18.757298319 42.283897648,18.7573763554 42.283962114,18.7574350149 42.283997366,18.7574711852 42.2839218873,18.7574917951 42.2838288584,18.75747426011822 42.2837407719555,18.75741298305254 42.28361625260664,18.7574473764 42.2835136215,18.7574764568 42.2834100713,18.7575773281 42.2833365489,18.7576496568 42.2833132427,18.757738483 42.2832426167,18.757838906 42.283213539,18.7579390006 42.2832170541,18.7579157767 42.2831369205,18.7580164979 42.2830782126,18.7580891545 42.2830223129,18.7582419699 42.2829609285,18.7584025863 42.2829203291,18.7586470683 42.2829038966,18.7588552671 42.2829109691,18.7590123855 42.2828199752,18.759089434 42.2827255772,18.759165916 42.2826874765,18.7592624229 42.2826494858,18.7593705275 42.2826530433,18.7595025131 42.282671548,18.759646663 42.2826753034,18.7597458345 42.2827706703,18.7598257558 42.2827888885,18.7599458168 42.2827984375,18.7600975241 42.2827194575,18.7602226436 42.2826953578,18.7603692633 42.282653349,18.7604852458 42.2826291987,18.76053257978385 42.28257064641594,18.76053331209762 42.28249768970198,18.7605053057 42.2824512914,18.7604784831 42.282392556,18.7604730928 42.2823226713,18.76049386056268 42.28224346155562,18.76052209361932 42.28215984696657,18.76050457828789 42.28208543885207,18.76047233184445 42.28202310988392,18.76048935034259 42.28196510494674,18.760564888 42.2818521845,18.76055605140024 42.281776923564,18.76049700422881 42.28171725318827,18.76051412948958 42.28165039298908,18.76055771616885 42.28161106859783,18.76056239456658 42.28155479185129,18.76053610114767 42.28151051844669,18.76056114740396 42.28147413558562,18.76060880138816 42.28143939862506,18.76063811356816 42.2813878223332,18.76066515528847 42.28135753716253,18.76067362614445 42.2813332367155,18.7606740079134 42.28129519665558,18.7606522744 42.2812538879,18.7606391137 42.2812136742,18.7606441046 42.28116687,18.7606762554 42.2811168697,18.76071209229935 42.28105051987834,18.7607503036 42.2809466751,18.76074363668055 42.28089098741343,18.7606746868 42.2808224905,18.7606342656 42.2807955075,18.7605851044 42.2807383704,18.7605361781 42.2806578187,18.7605276393 42.2806075949,18.76054002309794 42.28055140591046,18.7605919742 42.2805042492,18.7606285786 42.2804609635,18.76065059454674 42.28040802233048,18.7606605257222 42.28032464280551,18.76067395934381 42.28025473962384,18.7607061593392 42.28019549567514,18.7607748326 42.2801488515,18.7608521607 42.2801515638,18.76091425 42.2801313003,18.7609607079 42.2801269765,18.7610137212 42.280086059,18.7610731752 42.2800199938,18.761123599 42.2799286961,18.7611985231 42.2798627158,18.7612703759 42.2797944292,18.7612743646 42.2797051661,18.7613059021 42.2796458158,18.76136986495697 42.27958704360765,18.7614892795 42.2795644046,18.76158213121224 42.27955825957103,18.7616595236 42.27955847,18.7618080392451 42.27955004103504,18.76201056945554 42.27953617695625,18.76206382747336 42.27953646883786,18.7620927199 42.2795585546,18.7621232027 42.2796045088,18.7621783925 42.279655177,18.7622210685 42.2797195128,18.762291729 42.2797702656,18.762393514 42.279802874,18.76248692496308 42.27982637713273,18.7625694434 42.2798473349,18.7626897705 42.2798823339,18.7628414083281 42.279904764908,18.7629618702 42.2799021376,18.7630520576 42.2798568437,18.7631669521 42.2798162635,18.7631644297 42.2797590157,18.7632052481 42.2796997154,18.7632983692 42.2796704628,18.763413721 42.2795840974,18.7635130991 42.2795480106,18.7636311791 42.2794982895,18.7637306486 42.2794530454,18.76378266721709 42.27937502646581,18.76380251614564 42.27932005676545,18.763827817907 42.27927123666294,18.7638226648 42.2792246103,18.76379438431493 42.27916803723258,18.7638469988 42.2790557607,18.7638763314 42.2789312229,18.7638956099 42.2788759069,18.763933199 42.2788622569,18.7639559901 42.2787677032,18.76389467957065 42.2787773801507,18.76385389769971 42.27874471453749,18.7638630081 42.278702537,18.7639514532 42.2785967959,18.7640524737 42.2784818864,18.7640939437 42.278392053,18.7641480122 42.2782907422,18.7641925798 42.2782032348,18.7641812479 42.2780877113,18.7642114328 42.277957089,18.7642211357 42.2778212529,18.7642803401 42.2777443665,18.7643318738 42.2775994935,18.7644375752 42.2774641814,18.7645843682 42.2773939495,18.764584399 42.2773908613,18.7646543055778 42.2773664254002,18.76474709421016 42.27737166933355,18.7648472595 42.2774015607,18.7650021228 42.2773591678,18.7651075764 42.2772485606,18.7652505635 42.2771412461,18.7653637799 42.2770893603,18.765476904 42.2770467391,18.7654900712 42.2769819543,18.7655991135 42.2769300453,18.7656570669 42.276814725,18.7657486517 42.2767396115,18.7658138827 42.2766503521,18.7658449123 42.2765749087,18.7658873237 42.2764967267,18.7659438431 42.2765222387,18.7660167823 42.2764190186,18.7661078928 42.2763915099,18.7661760725 42.2763862801,18.7662520443 42.2763586888,18.766380723 42.276359389,18.7664303134 42.2763204522,18.7664692457 42.2762114456,18.7665645581 42.2761419521,18.7666439804 42.276147985,18.7667196737 42.2761483965,18.7667835451 42.2761089818,18.7668205439 42.2760552215,18.7668655854 42.2759259589,18.7669580282 42.2757969539,18.7671009558 42.2757248827,18.7671994585 42.2757200218,18.7673971334 42.2756428514,18.7675067623 42.2756191641,18.7676274371 42.2755847443,18.7677117295 42.2755420325,18.7677846014 42.2755478242,18.767916322 42.2755026716,18.7680339124 42.2754115746,18.7681445045 42.2752907603,18.7682442112 42.2751644903,18.7683277957 42.2750425094,18.7683925763 42.2749359833,18.7684275577 42.2748355825,18.7684621653 42.2747729011,18.7684459513 42.2746942268,18.76849752 42.2746347809,18.7684558175 42.2745559683,18.76846867057116 42.27446283180029,18.76864139647075 42.27441129882477,18.7687886931 42.2744037439,18.7689461519 42.2743763062,18.7691127289 42.2742860485,18.7692749331 42.2742083406,18.7694203625 42.2741085374,18.7694847363 42.2740428732,18.76953865804207 42.2739487475345,18.76958559451004 42.27389094399976,18.76962003576059 42.27383439225079,18.76968994426512 42.27379782498743,18.76967980657871 42.27374103176803,18.7697261404 42.2736889675,18.7697350717 42.2736450072,18.7697483754 42.2735884965,18.7698467021 42.2735261587,18.76993719847153 42.27349963776153,18.7700426094 42.2734769224,18.77013203164312 42.27345319005758,18.77020307073963 42.27348260341995,18.7702203751 42.2735438965,18.7702411804 42.2735880176,18.77029514261701 42.27354907649458,18.7703755318 42.2735138517,18.7704278667 42.27353032,18.7704893985 42.2735015186,18.7705340074 42.2734143581,18.7705782005 42.2733692777,18.7706130691 42.2733824144,18.7706311107 42.2733274814,18.7706624356 42.2732564347,18.7707110988 42.2732016672,18.7707421999 42.273153279,18.77078767505756 42.27309822002435,18.77084570091794 42.27308742259832,18.7709401141655 42.27308475833909,18.77102406855332 42.27305505332537,18.77109513696482 42.27302686591604,18.771176874 42.2729937726,18.771256062 42.2729488811,18.7713613053 42.2729235526,18.7714577038 42.2729078876,18.77153629616183 42.27288480413344,18.7716112895 42.2728601603,18.7716806017 42.2728378622,18.7717316685 42.2728381377,18.7717951422 42.2728132876,18.7718319021 42.2727846943,18.7718830928 42.2727723742,18.771922054 42.2727671859,18.7719954672 42.2727207957,18.7720199796 42.2727011337,18.77206444384914 42.27265985398924,18.7720841086 42.2726097066,18.7721160402 42.2725774883,18.7721477722641 42.27254901319587,18.77217833589511 42.2725166909256,18.77219323303439 42.2724900596277,18.77218493627419 42.27244092318202,18.7721706863621 42.27240186173643,18.7721789599 42.2723618912,18.7722030616 42.2723429579,18.772283506 42.2722929949,18.7723433524 42.2722297738,18.772358589 42.2721860327,18.772332673 42.2721113936,18.772327247 42.2720609677,18.7723073393 42.2719775962,18.7723286704 42.2719163587,18.7723378986 42.2718813499,18.772311918 42.2718132838,18.772300419 42.2717781632,18.772285959 42.2717430266,18.77227400502157 42.27170241836708,18.77226044334699 42.2716609969508,18.77227472907435 42.27162891423581,18.77229073658662 42.27157961235228,18.772323691 42.2715197311,18.7723539265 42.2714563502,18.7723930234 42.2713952082,18.7723815675 42.2713557054,18.77236330036893 42.27129105741654,18.77236558864709 42.27123368778525,18.77237987625939 42.27118275864309,18.772457488 42.2711448258,18.7725090803 42.2710645493,18.77252791 42.2709948368,18.7725968785 42.2709925233,18.7726475987 42.271000852,18.7727207504 42.2709421727,18.7727611396 42.2708940576,18.7727070287 42.2708615442,18.77267640385606 42.2708196629072,18.77272333071794 42.27077911079405,18.7727733722 42.2707571807,18.7728067683 42.2706821762,18.7728181027 42.2706365897,18.77282219386015 42.27057948698089,18.7728773207 42.2705187617,18.7729287535 42.2704545949,18.7729950961 42.270350231,18.7730540232 42.2702619379,18.7730619401 42.2701948514,18.7731172913 42.2701011685,18.7732293922 42.2700283611,18.7733845171 42.2699606177,18.7735602349 42.269892985,18.7737348297 42.2699396429,18.7737561216 42.2698686393,18.7737492571 42.2698686024,18.7737640087 42.2697645445,18.77379598969756 42.26967803223239,18.7738619065 42.2695821958,18.7739829316 42.2694914088,18.7742143604 42.2693427964,18.7743560776 42.2692419602,18.7744896743 42.2690562935,18.7746867386 42.2689381547,18.7749229496 42.2688234472,18.7751332617 42.2686860489,18.7752907981 42.2686031335,18.7755004466 42.2685333833,18.7756963728 42.2685312118,18.77600508 42.2683041666,18.7764285946 42.2681130718,18.7767680249 42.2680182072,18.7770059874 42.2679755344,18.7771794432 42.2678490175,18.777363066 42.2676607169,18.777576702 42.2675778621,18.7777334499 42.2675087024,18.77780507398347 42.26744545970702,18.77789969 42.2674360932,18.7780222746 42.2674752468,18.7781647657 42.2674130099,18.7783168514 42.2673368245,18.778388472 42.267267209,18.7784741095 42.2672151678,18.7785829496 42.2672087488,18.7786730774 42.2671812305,18.7787436065 42.2672236055,18.7788009366 42.2671644131,18.7789006591 42.2671229462,18.7790286887 42.2670886298,18.77910302440503 42.26707539841087,18.77916147429108 42.26708982675116,18.7792410943 42.2671317607,18.7793306768 42.2671602372,18.779425159 42.2671712402,18.7794869795 42.2671365705,18.7795675466 42.2671195001,18.7796337558 42.2671198526,18.7798130236 42.2671663056,18.779958915 42.2672405799,18.7800723488 42.2672481832,18.7802286182 42.267228015,18.7804226878 42.2672115473,18.780502677 42.2672539714,18.78057453201571 42.26727244372141,18.7807060016 42.2672585517,18.780881087 42.2672489821,18.7809990134 42.2672811074,18.781121839 42.2672957592,18.7811828443 42.2673450818,18.7812390522 42.2674013786,18.7812950902 42.2674751742,18.7813748433 42.2675420957,18.7814406464 42.2675844438,18.7815303682 42.2675989194,18.7816246157 42.2676344185,18.7817507456 42.2676505688,18.7819078574 42.2676930342,18.7820475684 42.2677895283,18.7821986926 42.2678694301,18.7823277989 42.2678992569,18.7824735001 42.2679583139,18.7825964978 42.2680380662,18.7826629978 42.268142498,18.7827067943 42.2682676253,18.7826836069 42.2683382764,18.7826095774 42.2684867061,18.7826491383 42.2685636109,18.7826654628 42.2686616965,18.7826301752 42.2687382042,18.7826526284 42.2687979748,18.7827150962 42.2688877832,18.7828073767463 42.26895300835579,18.7828867938 42.2689952137,18.78300918252613 42.26906595799672,18.7831216194 42.2691242823,18.78324740920839 42.26917570844621,18.7834315418 42.269228183,18.7835809927 42.269254539,18.7836087926 42.2693569455,18.7837302791 42.2692979371,18.7838806357 42.2692305596,18.7839613657 42.2692182042,18.7840186126 42.2692525935,18.7840525411 42.269316685,18.7841039483 42.2693595649,18.7842020747 42.2693345189,18.784282846 42.2693179027,18.7842834218 42.2692582545,18.784335775 42.2692031407,18.784427609 42.2692334517,18.7845591296 42.2693278845,18.7847256898 42.2693713726,18.784892127 42.2694276421,18.784955913 42.2693811101,18.7850996898 42.2693989124,18.7851683297 42.2694461437,18.7852713515 42.2695105996,18.7853516713 42.2695408492,18.7854499211 42.2695030203,18.7854961877 42.2694819603,18.7855999488 42.2694697253,18.7857088932 42.2695171688,18.7857718994 42.2695515876,18.7858519736 42.2696074005,18.7859148161 42.2696588617,18.7859311869 42.269752686,18.7860177577 42.2697318384,18.7860922388 42.2697705784,18.7862482714 42.2697117493,18.7863738736 42.2696503456,18.7864841735 42.2696725738,18.7867016162 42.2697073925,18.7869342247 42.2698553376,18.787124258 42.2700367321,18.7872460139 42.2702201728,18.78719267 42.2704396384,18.7870700945 42.2705789449,18.7868691721 42.2707967852,18.7867312199 42.2710221331,18.7866373244 42.2712046508,18.78661118 42.2714018789,18.7866962928 42.2716284005,18.7868828967 42.2718913412,18.7870073579 42.2720606546,18.7871658344 42.2722229701,18.7871741544 42.2723665531,18.7869648035 42.2724750215,18.7867807959 42.2726494444,18.7865965281 42.2728508483,18.7863855603 42.272984653,18.7862120951 42.2730107224,18.7860470964 42.2731042938,18.7857906115 42.2732311115,18.7856070547 42.2733583131,18.7853504382 42.2734986203,18.7852111601 42.27376097,18.7851709237 42.2741520117,18.7851671519 42.2745432458,18.7852279096 42.2748606174,18.7852790314 42.2752319048,18.7853313242 42.2754817748,18.7853833574 42.2757586272,18.7854445726 42.2760287827,18.7854969319 42.2762719088,18.7855964344 42.2763533838,18.7855856932 42.2765219735,18.7855388752 42.276649898,18.7854197087 42.2767167281,18.7852462321 42.2767427963,18.7850271069 42.2767753694,18.7848083719 42.2767674687,18.7849828335 42.276912732,18.7852117715 42.2772008525,18.7854213916 42.2775308565,18.7857589239 42.2778370412,18.7859736811 42.2781250828,18.7861360875 42.2784478369,18.7862097606 42.2786546599,18.7863343736 42.2789737161,18.7862937829 42.2792604124,18.7862062065 42.2795153714,18.7861878314 42.2797024267,18.7860923735 42.2797939951,18.7860159032 42.2799814176,18.7859545069 42.280154188,18.785898265 42.2803085712,18.785721924 42.2805286126,18.7855259199 42.2807227703,18.7853760258 42.2807809054,18.7851961596 42.2808499307,18.7850465133 42.2808822868,18.7849665525 42.2809150105,18.7849502342 42.2810585562,18.7849183266 42.281162894,18.7848876853 42.2812269036,18.7848402697 42.2813006972,18.7847994302 42.281384398,18.7847820368 42.2814583501,18.7848246167 42.2815400233,18.7848771805 42.2816242173,18.7849761843 42.281735806,18.78504257786176 42.28180786482767,18.7850985155 42.2818499858,18.7852178445 42.2819295959,18.785357641 42.2819624193,18.7856081628 42.2819291869,18.7858156273 42.2818636412,18.7860566399 42.281778527,18.7863504006 42.2816895207,18.7867170708 42.2815504307,18.7869557328 42.2815085972,18.7873174077 42.281338141,18.7876796077 42.2811128449,18.7880202904 42.2809226895,18.7883928137 42.2807248652,18.7886321504 42.2806125203,18.7888638955 42.2804234198,18.7893367581 42.2801937496,18.7895999513 42.280014568,18.7899667826 42.2799348072,18.7900668322 42.2798020598,18.790381821 42.2796747362,18.7906678394 42.2795386619,18.79112256 42.2793819727,18.7916051001 42.279354399,18.7920867803 42.2794170995,18.792141 42.283986,18.791758 42.289491,18.7907 42.294834,18.79102 42.302669,18.791514 42.306334,18.792228 42.309664,18.792923 42.311327,18.792955 42.313995,18.795492 42.319313,18.798909 42.323124,18.803213 42.325928,18.806398 42.329073,18.808041 42.334731,18.810611 42.342549,18.812694 42.34737,18.813612 42.348864,18.816814 42.35326,18.814634 42.358611))",
Niksic =
"POLYGON((18.949938 42.61826,18.956288 42.620207,18.959925 42.621844,18.963334 42.623315,18.966507 42.624122,18.969013 42.625601,18.971742 42.626911,18.97558 42.626878,18.980983 42.62583,18.983715 42.627307,18.986689 42.629782,18.989175 42.629927,18.993472 42.63039,18.995956 42.630368,18.998854 42.628008,19.000873 42.627156,19.003603 42.628466,19.005157 42.626784,19.006937 42.625101,19.009405 42.624078,19.011192 42.622895,19.014151 42.624369,19.016182 42.624351,19.020233 42.623481,19.021834 42.6248,19.021184 42.626473,19.021192 42.626973,19.022995 42.62679,19.02304 42.629625,19.01968 42.631322,19.019035 42.633329,19.020422 42.635317,19.020695 42.638316,19.018945 42.641834,19.013817 42.646048,19.007751 42.648104,19.004416 42.651468,19.003783 42.654308,19.00382 42.656642,18.998929 42.661688,19.000339 42.665177,19.000376 42.667511,19.001316 42.669837,19.004931 42.669805,19.007876 42.670279,19.009733 42.67343,19.012718 42.676405,19.014328 42.678224,19.015899 42.677543,19.018821 42.676516,19.021551 42.677659,19.024052 42.678636,19.022494 42.680151,19.02254 42.682985,19.023019 42.684648,19.025983 42.686289,19.03033 42.689584,19.033548 42.692889,19.035851 42.695536,19.039015 42.695507,19.044015 42.697128,19.047637 42.697428,19.049673 42.697575,19.052399 42.698384,19.054174 42.696366,19.054601 42.694861,19.057556 42.695834,19.060025 42.694811,19.064082 42.694105,19.067698 42.694071,19.072001 42.69453,19.076094 42.695992,19.077922 42.697142,19.07886 42.699134,19.082278 42.700768,19.088355 42.699209,19.094641 42.696647,19.098463 42.695443,19.103638 42.694058,19.107914 42.693016,19.111049 42.691318,19.113567 42.693127,19.118991 42.693073,19.125286 42.691176,19.130011 42.689962,19.1334 42.689928,19.136772 42.688894,19.141506 42.688179,19.148511 42.688108,19.151915 42.688907,19.156013 42.690532,19.158523 42.69184,19.161012 42.691981,19.162627 42.693799,19.162209 42.695637,19.162716 42.698633,19.163892 42.701122,19.166619 42.701928,19.169087 42.700902,19.172719 42.701698,19.177221 42.700651,19.180354 42.698951,19.182128 42.697098,19.185251 42.694897,19.188381 42.69303,19.191978 42.691992,19.196224 42.689446,19.199108 42.686581,19.202466 42.684878,19.204713 42.684187,19.207676 42.685489,19.210658 42.687792,19.210706 42.690292,19.20962 42.692638,19.211456 42.694119,19.215547 42.695242,19.218513 42.696711,19.224819 42.695475,19.229987 42.693919,19.233374 42.693715,19.236842 42.697679,19.236926 42.702013,19.234937 42.704369,19.232474 42.705563,19.229099 42.706433,19.22733 42.708454,19.223035 42.7085,19.216709 42.708735,19.209492 42.709647,19.205891 42.710519,19.204318 42.711036,19.200497 42.712244,19.203238 42.713715,19.206887 42.715343,19.209638 42.717315,19.211921 42.718457,19.215554 42.719252,19.216946 42.721071,19.214714 42.722596,19.212058 42.725626,19.20986 42.728984,19.20901 42.731828,19.209765 42.735821,19.21115 42.737307,19.214144 42.740109,19.215336 42.743264,19.216072 42.746258,19.216123 42.748925,19.21662 42.751254,19.219376 42.753392,19.221457 42.755703,19.222824 42.756189,19.226268 42.758819,19.227917 42.762136,19.228395 42.763465,19.223992 42.767423,19.216797 42.769835,19.210267 42.771573,19.20969 42.776914,19.209938 42.778079,19.21135 42.780898,19.214353 42.784034,19.213719 42.786375,19.211727 42.788731,19.212916 42.791719,19.213885 42.795043,19.21371 42.797713,19.211956 42.800733,19.213375 42.803886,19.218242 42.809669,19.223249 42.810949,19.227615 42.814236,19.231532 42.817695,19.234505 42.819163,19.236999 42.819302,19.239976 42.820937,19.246349 42.822534,19.24909 42.823671,19.244606 42.826054,19.238318 42.828791,19.235875 42.831319,19.23662 42.834646,19.237358 42.837639,19.235818 42.83999,19.232013 42.842366,19.22957 42.844893,19.228253 42.847075,19.223771 42.849625,19.219035 42.850843,19.214776 42.853224,19.212348 42.856584,19.208094 42.859298,19.203804 42.860177,19.200632 42.860211,19.199738 42.860887,19.194047 42.85953,19.191315 42.858892,19.188568 42.857421,19.184222 42.855299,19.181037 42.854666,19.177853 42.854032,19.17397 42.852405,19.170988 42.850435,19.168251 42.849463,19.166212 42.849484,19.163729 42.85001,19.163092 42.852351,19.159767 42.856387,19.157752 42.857741,19.152562 42.858962,19.150323 42.860485,19.148091 42.862342,19.145157 42.863039,19.143365 42.864224,19.143187 42.866894,19.143241 42.869894,19.141231 42.871582,19.138983 42.872605,19.136061 42.873968,19.130872 42.875354,19.127036 42.876393,19.121841 42.877445,19.118229 42.878315,19.11555 42.880676,19.112424 42.883375,19.109288 42.885573,19.106391 42.888436,19.102124 42.890812,19.089962 42.895599,19.085944 42.899306,19.082589 42.902006,19.077427 42.905223,19.072912 42.906433,19.067962 42.908815,19.06103 42.914716,19.057448 42.917584,19.054074 42.919283,19.051811 42.919637,19.050705 42.921315,19.049593 42.922659,19.046212 42.924025,19.04372 42.924214,19.041662 42.923233,19.038713 42.92326,19.036431 42.922448,19.034821 42.921129,19.03346 42.921141,19.031203 42.921829,19.024006 42.92573,19.02248 42.929578,19.019412 42.936275,19.017189 42.93913,19.010134 42.937859,19.004493 42.939911,18.998317 42.936798,18.99044 42.940952,18.990249 42.943288,18.98598 42.945994,18.976015 42.947414,18.966727 42.948495,18.959228 42.947892,18.955617 42.949257,18.951313 42.949794,18.945465 42.953344,18.940713 42.954385,18.937514 42.952911,18.933675 42.954277,18.926391 42.952836,18.922728 42.950699,18.917757 42.95224,18.913887 42.951438,18.910286 42.953635,18.908019 42.95382,18.905965 42.953003,18.902114 42.953534,18.900728 42.951878,18.901381 42.949872,18.901364 42.948705,18.891185 42.951121,18.883955 42.953512,18.880548 42.953372,18.876027 42.954741,18.870124 42.954621,18.867201 42.956644,18.85777 42.964219,18.853499 42.96742,18.849642 42.967616,18.846017 42.968144,18.843321 42.970331,18.839059 42.974198,18.834787 42.977398,18.829805 42.978435,18.824371 42.979642,18.821436 42.980998,18.8158 42.984207,18.812891 42.987563,18.81158 42.991574,18.810512 42.996917,18.808753 43.001431,18.806288 43.004117,18.802443 43.005478,18.796546 43.006187,18.79292 43.00688,18.789333 43.01074,18.786648 43.014093,18.785345 43.018938,18.784931 43.022275,18.784289 43.025447,18.780918 43.028472,18.780258 43.030311,18.78145 43.034804,18.781479 43.037138,18.780582 43.038145,18.778098 43.039496,18.77585 43.041512,18.776126 43.045512,18.775739 43.051017,18.77373 43.054031,18.772619 43.056207,18.768574 43.060069,18.76591 43.065423,18.763239 43.070276,18.762593 43.073282,18.761263 43.076125,18.760597 43.077463,18.758789 43.078476,18.754486 43.080006,18.751777 43.081691,18.75022 43.084703,18.747544 43.089222,18.743932 43.091581,18.74099 43.092934,18.736252 43.0963,18.733788 43.099651,18.73152 43.100332,18.727251 43.105029,18.72202 43.105229,18.72045 43.10724,18.719096 43.108249,18.716808 43.107097,18.712667 43.103122,18.708531 43.09948,18.704643 43.097671,18.698708 43.095874,18.693712 43.096739,18.68736 43.098446,18.688761 43.101772,18.688129 43.106444,18.685421 43.108461,18.680891 43.11049,18.678191 43.11334,18.676182 43.117021,18.673919 43.118201,18.671406 43.117383,18.668676 43.117399,18.663919 43.119595,18.658916 43.119958,18.654352 43.118818,18.652531 43.118829,18.650274 43.120676,18.651157 43.11792,18.651583 43.115083,18.652897 43.110074,18.654214 43.105398,18.654642 43.102727,18.655955 43.097718,18.656331 43.090046,18.656705 43.082208,18.657521 43.073033,18.658594 43.066858,18.660757 43.056174,18.660882 43.046337,18.661755 43.04283,18.66192 43.036827,18.658744 43.037346,18.654659 43.038037,18.648738 43.036904,18.64304 43.03527,18.63301 43.032327,18.619809 43.0304,18.604571 43.02915,18.595711 43.029531,18.585492 43.030419,18.575725 43.030971,18.56323 43.031535,18.549601 43.032437,18.543688 43.031966,18.539586 43.030652,18.534799 43.028841,18.530004 43.026197,18.523839 43.022558,18.517908 43.019752,18.515603 43.015594,18.514211 43.012099,18.513503 43.008768,18.513243 43.004601,18.512536 43.001436,18.509112 42.999285,18.504555 42.997471,18.500686 42.996489,18.499766 42.994992,18.498385 42.992664,18.497675 42.988999,18.497429 42.9865,18.495363 42.983674,18.495348 42.981674,18.49533 42.97934,18.493498 42.977347,18.491436 42.974855,18.488442 42.969366,18.485672 42.96321,18.484285 42.959881,18.485395 42.956542,18.484223 42.951545,18.485791 42.94887,18.48645 42.945866,18.485971 42.942534,18.485031 42.938203,18.484778 42.934702,18.486557 42.929859,18.487655 42.925019,18.489224 42.922511,18.492148 42.919164,18.495735 42.913646,18.495942 42.910977,18.497294 42.909804,18.49908 42.906128,18.499969 42.903789,18.500857 42.901284,18.501733 42.897279,18.501482 42.894112,18.502591 42.890939,18.50461 42.888095,18.504149 42.887097,18.501188 42.885443,18.495962 42.883966,18.490737 42.882656,18.488236 42.881666,18.488679 42.88033,18.490035 42.879657,18.491605 42.877483,18.494305 42.874803,18.495421 42.872464,18.495853 42.869628,18.494456 42.864798,18.49104 42.862646,18.487398 42.860661,18.48445 42.860341,18.481741 42.861853,18.479933 42.862528,18.477891 42.862204,18.476065 42.860544,18.472873 42.85789,18.470822 42.856398,18.468301 42.852407,18.467367 42.848576,18.466213 42.84558,18.466413 42.841911,18.467985 42.839904,18.466608 42.837575,18.470894 42.834889,18.474498 42.832039,18.47833 42.829522,18.478318 42.827854,18.475594 42.827033,18.466513 42.824237,18.459244 42.821266,18.452897 42.820625,18.449029 42.817974,18.452634 42.815291,18.458048 42.812267,18.459835 42.808759,18.458001 42.805598,18.459348 42.803925,18.461136 42.800583,18.462461 42.795742,18.462666 42.79274,18.460832 42.78958,18.461717 42.786575,18.465541 42.783224,18.471166 42.778531,18.47092 42.775698,18.469533 42.771702,18.468144 42.767373,18.469694 42.762698,18.470792 42.758024,18.474829 42.753005,18.480021 42.751482,18.48679 42.748951,18.490847 42.746932,18.494919 42.746914,18.498749 42.744896,18.498727 42.742062,18.497813 42.740732,18.497787 42.737397,18.497314 42.734732,18.498896 42.734558,18.502522 42.735375,18.50682 42.735522,18.509987 42.735508,18.512698 42.735162,18.517886 42.733303,18.521696 42.72895,18.523943 42.727106,18.526869 42.725424,18.530481 42.724573,18.535682 42.724548,18.541778 42.723352,18.546979 42.723326,18.552183 42.723634,18.558055 42.722771,18.565507 42.721566,18.572511 42.720863,18.570464 42.71954,18.568403 42.716549,18.566817 42.716223,18.565678 42.715229,18.5652 42.71223,18.564291 42.711734,18.562469 42.710243,18.562229 42.708577,18.563335 42.705737,18.564438 42.702563,18.562838 42.70057,18.561021 42.699579,18.559208 42.699088,18.557168 42.698431,18.556473 42.696434,18.556453 42.6941,18.555965 42.689934,18.555047 42.688271,18.553246 42.689114,18.551681 42.691122,18.548073 42.692141,18.546939 42.691646,18.547607 42.690475,18.549405 42.689299,18.548041 42.688306,18.548028 42.686805,18.550044 42.684628,18.549342 42.681796,18.551353 42.679119,18.551104 42.676452,18.55063 42.673787,18.553552 42.671938,18.556024 42.670425,18.556902 42.667419,18.559139 42.66474,18.563637 42.662383,18.566553 42.660034,18.565861 42.65837,18.566299 42.6567,18.568541 42.654855,18.570783 42.652842,18.573016 42.649996,18.573673 42.647658,18.572751 42.645496,18.574748 42.641483,18.570459 42.641672,18.564814 42.641868,18.559396 42.642062,18.552609 42.640762,18.546266 42.638459,18.539012 42.63516,18.530389 42.630033,18.528786 42.627206,18.525367 42.62322,18.522631 42.619898,18.522611 42.617397,18.525304 42.615384,18.527099 42.614041,18.529329 42.610696,18.531354 42.609852,18.53428 42.608838,18.536964 42.605824,18.536032 42.60216,18.538952 42.600478,18.544795 42.597448,18.550404 42.593585,18.551736 42.590911,18.55306 42.587403,18.553714 42.584732,18.553015 42.582067,18.554593 42.581893,18.557074 42.58188,18.560694 42.583029,18.564322 42.585012,18.566818 42.586667,18.571347 42.588477,18.577227 42.589948,18.587857 42.59256,18.592162 42.594538,18.594899 42.597691,18.595607 42.601022,18.596331 42.606188,18.598172 42.610013,18.601349 42.61183,18.604534 42.61448,18.6075 42.617799,18.609312 42.618456,18.61338 42.618934,18.617446 42.619078,18.622652 42.62055,18.626505 42.622029,18.632612 42.623162,18.637121 42.622469,18.64185 42.621275,18.64727 42.62141,18.65022 42.622894,18.6516 42.625387,18.654536 42.625536,18.657699 42.625684,18.661113 42.628332,18.666811 42.633467,18.673604 42.63526,18.678341 42.634731,18.682391 42.633373,18.685088 42.632189,18.689146 42.631497,18.694113 42.631466,18.699073 42.630768,18.701774 42.629918,18.704257 42.629902,18.707657 42.631048,18.710366 42.631031,18.713074 42.630847,18.714895 42.632169,18.716502 42.634493,18.719448 42.635475,18.723294 42.636117,18.726469 42.637263,18.726495 42.639598,18.727423 42.641759,18.728341 42.643087,18.725652 42.644939,18.725221 42.646776,18.723898 42.649619,18.724163 42.653119,18.722173 42.656967,18.720416 42.66148,18.715733 42.667012,18.714872 42.670853,18.715122 42.673019,18.71605 42.67518,18.719921 42.677823,18.721744 42.679146,18.723122 42.681137,18.723152 42.683805,18.725886 42.685788,18.728606 42.686438,18.731553 42.687252,18.732698 42.688579,18.731367 42.690755,18.727107 42.693784,18.727349 42.695283,18.730328 42.698765,18.733492 42.698744,18.734839 42.697902,18.73618 42.696559,18.738432 42.695877,18.740706 42.697029,18.742962 42.696681,18.744292 42.694338,18.746755 42.69232,18.748555 42.691641,18.750819 42.69196,18.753782 42.694107,18.754268 42.696939,18.756115 42.700261,18.757261 42.701587,18.756365 42.70226,18.751166 42.702295,18.746426 42.702994,18.744189 42.70501,18.745113 42.706671,18.74763 42.709322,18.747644 42.710489,18.743565 42.709682,18.742438 42.710023,18.742906 42.711354,18.74451 42.713178,18.760086 42.711072,18.761203 42.709897,18.762765 42.708219,18.762288 42.706055,18.76431 42.705041,18.794239 42.693828,18.800549 42.692282,18.8044 42.692922,18.808506 42.695893,18.813028 42.696027,18.819131 42.695983,18.825922 42.696767,18.830003 42.697737,18.838371 42.698008,18.845389 42.698789,18.848527 42.696765,18.853495 42.696393,18.859588 42.69568,18.863663 42.696149,18.868204 42.697615,18.872204 42.692581,18.874647 42.689394,18.877523 42.68487,18.883039 42.675156,18.888847 42.670275,18.89756 42.663202,18.909825 42.651932,18.912474 42.647575,18.923775 42.64815,18.925772 42.645633,18.925264 42.641802,18.923852 42.637812,18.926761 42.635954,18.931032 42.634584,18.935314 42.634049,18.936426 42.632872,18.938167 42.628356,18.937693 42.626859,18.936771 42.625533,18.938766 42.623015,18.943921 42.620471,18.945649 42.618296,18.949938 42.61826))",
Cetinje =
"POLYGON((19.117858 42.292485,19.125323 42.295579,19.138046 42.303789,19.140085 42.304769,19.143217 42.30407,19.146155 42.305041,19.148649 42.306349,19.149574 42.307841,19.152482 42.307144,19.15495 42.306952,19.158127 42.308754,19.1604 42.310231,19.16267 42.311542,19.163368 42.312869,19.165171 42.313184,19.166328 42.315006,19.166367 42.317173,19.165948 42.318845,19.163749 42.321536,19.161551 42.324226,19.160961 42.328901,19.161081 42.33557,19.159368 42.340256,19.158532 42.343767,19.1606 42.346247,19.160906 42.350746,19.160945 42.352913,19.153773 42.354154,19.146379 42.355563,19.141014 42.357285,19.136572 42.360331,19.135036 42.362514,19.131667 42.362715,19.130117 42.364064,19.127466 42.366759,19.126146 42.368439,19.122786 42.36914,19.120102 42.37,19.117886 42.371856,19.115453 42.374215,19.11415 42.376896,19.112611 42.378912,19.108592 42.380619,19.104798 42.382324,19.102777 42.38251,19.100096 42.383537,19.09898 42.384048,19.096748 42.38507,19.094522 42.386426,19.092318 42.389115,19.088739 42.390317,19.085608 42.391348,19.082237 42.391547,19.080485 42.394398,19.080758 42.39723,19.08191 42.398887,19.08306 42.400376,19.081342 42.405228,19.078935 42.409253,19.077413 42.412436,19.076544 42.414279,19.075905 42.416452,19.074119 42.417303,19.072105 42.417989,19.068505 42.418023,19.067391 42.418701,19.065396 42.420554,19.06246 42.419915,19.062207 42.41825,19.059505 42.418108,19.057471 42.417627,19.055216 42.417315,19.054091 42.417325,19.05253 42.418174,19.048707 42.418376,19.045771 42.417736,19.044191 42.417418,19.04354 42.418924,19.044473 42.420917,19.04563 42.422907,19.046557 42.424566,19.047704 42.425889,19.047729 42.427389,19.044128 42.427423,19.040072 42.427127,19.036471 42.42716,19.033546 42.427187,19.033565 42.428354,19.03582 42.428667,19.03966 42.429465,19.038789 42.431307,19.037913 42.432816,19.039052 42.433639,19.039751 42.435134,19.038208 42.437149,19.035542 42.439341,19.033763 42.440691,19.03179 42.444044,19.022847 42.447961,19.018181 42.451838,19.010168 42.457747,19.002624 42.464984,18.9984 42.468523,18.995035 42.469387,18.99231 42.46791,18.990073 42.46893,18.988963 42.46994,18.988753 42.470943,18.989925 42.473934,18.987929 42.475952,18.982565 42.478667,18.978961 42.478699,18.976483 42.47872,18.974231 42.47874,18.971961 42.477592,18.969939 42.477943,18.968375 42.47879,18.966326 42.477307,18.966738 42.474802,18.965142 42.473482,18.963605 42.476163,18.963641 42.478497,18.96346 42.4815,18.964171 42.483829,18.965089 42.484988,18.966451 42.485643,18.968931 42.485789,18.972323 42.486593,18.975274 42.488068,18.977296 42.487717,18.979999 42.487694,18.982915 42.486835,18.986263 42.484804,18.988705 42.482449,18.990271 42.481768,18.993199 42.481742,18.994569 42.482897,18.997947 42.482867,19.001318 42.482337,19.003128 42.482821,19.004283 42.484645,19.005668 42.4868,19.006606 42.489126,19.009099 42.490104,19.009804 42.491932,19.010972 42.49459,19.013453 42.494734,19.017471 42.492364,19.021046 42.490497,19.021221 42.487327,19.022983 42.48481,19.024764 42.48346,19.026775 42.482441,19.027239 42.483271,19.027488 42.484769,19.027516 42.48652,19.029115 42.487839,19.031574 42.486649,19.033595 42.486297,19.034974 42.487952,19.035687 42.49028,19.03366 42.490299,19.031866 42.490815,19.028961 42.492343,19.028076 42.493351,19.02651 42.494032,19.023372 42.495061,19.02206 42.497574,19.01916 42.499435,19.017856 42.502448,19.016541 42.504794,19.013848 42.505486,19.010256 42.506352,19.007337 42.507045,19.004426 42.508238,19.004237 42.510574,19.00696 42.511717,19.009908 42.512858,19.01109 42.516349,19.012476 42.518504,19.014981 42.520149,19.01614 42.522139,19.018852 42.522615,19.020234 42.524437,19.020024 42.525439,19.021843 42.526423,19.023002 42.528413,19.023034 42.530414,19.023286 42.532079,19.02488 42.533065,19.025814 42.535057,19.026978 42.537381,19.027928 42.540374,19.02795 42.541707,19.030451 42.543019,19.030467 42.544019,19.032518 42.545334,19.034802 42.547147,19.035715 42.547806,19.033739 42.551159,19.030615 42.553188,19.026816 42.555391,19.023914 42.557251,19.021903 42.558437,19.019902 42.560289,19.016318 42.561822,19.013864 42.563512,19.008729 42.566893,19.005849 42.570253,19.002051 42.572621,18.998917 42.57415,18.996684 42.57567,18.99266 42.57804,18.98819 42.580748,18.985052 42.582109,18.982119 42.582135,18.979417 42.582492,18.978996 42.584496,18.977432 42.58551,18.977242 42.587846,18.976358 42.589021,18.97456 42.589537,18.972968 42.588717,18.971379 42.588064,18.97003 42.588409,18.969827 42.589911,18.972803 42.59272,18.973054 42.594385,18.971031 42.594903,18.968531 42.593757,18.967172 42.593436,18.9647 42.594124,18.961323 42.594653,18.959543 42.596336,18.957324 42.598856,18.958031 42.600851,18.96031 42.602332,18.960332 42.603832,18.957193 42.605193,18.954941 42.605546,18.953354 42.605059,18.950655 42.605749,18.949336 42.608094,18.94847 42.610603,18.948514 42.613604,18.946515 42.615788,18.945625 42.616629,18.945649 42.618296,18.943921 42.620471,18.938766 42.623015,18.936771 42.625533,18.937693 42.626859,18.938167 42.628356,18.936426 42.632872,18.935314 42.634049,18.931032 42.634584,18.926761 42.635954,18.923852 42.637812,18.925264 42.641802,18.925772 42.645633,18.923775 42.64815,18.912474 42.647575,18.909825 42.651932,18.89756 42.663202,18.888847 42.670275,18.883039 42.675156,18.877523 42.68487,18.874647 42.689394,18.872204 42.692581,18.868204 42.697615,18.863663 42.696149,18.859588 42.69568,18.853495 42.696393,18.848527 42.696765,18.845389 42.698789,18.838371 42.698008,18.830003 42.697737,18.825922 42.696767,18.819131 42.695983,18.813028 42.696027,18.808506 42.695893,18.8044 42.692922,18.800549 42.692282,18.794239 42.693828,18.76431 42.705041,18.762288 42.706055,18.762765 42.708219,18.761203 42.709897,18.760086 42.711072,18.74451 42.713178,18.742906 42.711354,18.742438 42.710023,18.743565 42.709682,18.747644 42.710489,18.74763 42.709322,18.745113 42.706671,18.744189 42.70501,18.746426 42.702994,18.751166 42.702295,18.756365 42.70226,18.757261 42.701587,18.756115 42.700261,18.754268 42.696939,18.753782 42.694107,18.750819 42.69196,18.748555 42.691641,18.746755 42.69232,18.744292 42.694338,18.742962 42.696681,18.740706 42.697029,18.738432 42.695877,18.73618 42.696559,18.734839 42.697902,18.733492 42.698744,18.730328 42.698765,18.727349 42.695283,18.727107 42.693784,18.731367 42.690755,18.732698 42.688579,18.731553 42.687252,18.728606 42.686438,18.725886 42.685788,18.723152 42.683805,18.723122 42.681137,18.721744 42.679146,18.719921 42.677823,18.71605 42.67518,18.715122 42.673019,18.714872 42.670853,18.715733 42.667012,18.720416 42.66148,18.722173 42.656967,18.724163 42.653119,18.723898 42.649619,18.725221 42.646776,18.725652 42.644939,18.728341 42.643087,18.727423 42.641759,18.726495 42.639598,18.726469 42.637263,18.723294 42.636117,18.719448 42.635475,18.716502 42.634493,18.714895 42.632169,18.713074 42.630847,18.710366 42.631031,18.707657 42.631048,18.704257 42.629902,18.701774 42.629918,18.704668 42.626148,18.705529 42.622308,18.704357 42.618313,18.706143 42.616468,18.70929 42.615281,18.711524 42.613099,18.711718 42.610263,18.713515 42.609418,18.715977 42.607568,18.716181 42.605566,18.7157 42.602901,18.71612 42.600064,18.717672 42.597553,18.719895 42.594537,18.72008 42.590867,18.720723 42.587862,18.722055 42.585852,18.724717 42.581833,18.727408 42.580315,18.72945 42.581302,18.7324 42.582784,18.734212 42.583439,18.737359 42.582418,18.740495 42.580396,18.744533 42.578368,18.745185 42.576196,18.746054 42.573356,18.747597 42.570178,18.749598 42.567663,18.744156 42.565198,18.740531 42.563888,18.740497 42.560887,18.738651 42.557231,18.73885 42.554895,18.742427 42.552204,18.749366 42.547656,18.754519 42.544786,18.761213 42.538738,18.764765 42.534045,18.767867 42.529522,18.772338 42.526323,18.7788 42.520109,18.783024 42.515244,18.782312 42.512247,18.782038 42.508248,18.782917 42.506407,18.784917 42.504059,18.783082 42.501404,18.78597 42.498049,18.787753 42.496369,18.790407 42.492348,18.793533 42.489992,18.798917 42.488119,18.802951 42.486423,18.804935 42.482907,18.80783 42.480218,18.805546 42.477734,18.802351 42.474422,18.800504 42.470766,18.802482 42.46675,18.805374 42.463895,18.807982 42.456373,18.809062 42.452697,18.808993 42.447195,18.807163 42.444873,18.803303 42.442233,18.800585 42.440919,18.800104 42.438421,18.797823 42.435936,18.794432 42.434793,18.791723 42.434145,18.786751 42.432512,18.787173 42.430175,18.788278 42.4285,18.787361 42.427172,18.786875 42.424174,18.785504 42.422517,18.785484 42.420849,18.785448 42.417848,18.782723 42.415866,18.783812 42.412857,18.786247 42.409505,18.78621 42.406504,18.785242 42.400841,18.784312 42.398347,18.781353 42.395533,18.787165 42.39249,18.795905 42.389761,18.805308 42.386192,18.809762 42.382658,18.81198 42.380141,18.809704 42.37799,18.80675 42.37551,18.807404 42.373838,18.809636 42.372487,18.810714 42.368811,18.809773 42.365483,18.809975 42.363647,18.811751 42.3618,18.814634 42.358611,18.816814 42.35326,18.822422 42.352218,18.825543 42.350194,18.829332 42.347665,18.832685 42.346139,18.835594 42.345117,18.835793 42.343115,18.83643 42.340275,18.838665 42.339258,18.840692 42.339577,18.843635 42.341222,18.846537 42.339699,18.849227 42.339179,18.853055 42.33965,18.858902 42.339939,18.862244 42.337746,18.8676 42.33487,18.872065 42.332667,18.878119 42.33162,18.883047 42.330414,18.89043 42.328021,18.893108 42.326666,18.895556 42.324979,18.902075 42.325094,18.906114 42.324727,18.910133 42.322861,18.913044 42.32217,18.917521 42.320967,18.919274 42.317784,18.921465 42.313931,18.928162 42.310874,18.930382 42.309022,18.93506 42.306315,18.938855 42.304616,18.940837 42.301931,18.942573 42.297748,18.946579 42.295213,18.948354 42.293698,18.950578 42.292178,18.952823 42.292159,18.956404 42.291295,18.959745 42.289432,18.964229 42.288894,18.96985 42.289346,18.975891 42.287793,18.979897 42.285424,18.981209 42.283078,18.981824 42.279237,18.982213 42.275232,18.985792 42.274367,18.988461 42.272676,18.990241 42.27166,18.994494 42.270788,18.998305 42.270421,19.001435 42.269559,19.00321 42.26821,19.00452 42.265864,19.007632 42.263835,19.009182 42.262487,19.011424 42.2623,19.013875 42.261111,19.015644 42.259427,19.018111 42.259238,19.020379 42.260719,19.021783 42.264374,19.024028 42.264354,19.025594 42.264006,19.027162 42.263825,19.029423 42.264805,19.028779 42.266645,19.029711 42.268805,19.03086 42.270461,19.030889 42.272295,19.03071 42.275132,19.03365 42.276439,19.038816 42.276558,19.039273 42.277054,19.039527 42.278886,19.039126 42.281891,19.037792 42.282737,19.035806 42.284923,19.034055 42.287774,19.031171 42.289968,19.028495 42.29116,19.026067 42.29385,19.024762 42.29653,19.025034 42.299529,19.023483 42.300877,19.021483 42.302229,19.023316 42.304547,19.024897 42.305033,19.027156 42.305846,19.028292 42.306669,19.030078 42.305986,19.033212 42.30529,19.036111 42.30393,19.036742 42.301256,19.037375 42.298749,19.039172 42.298732,19.040541 42.300054,19.041677 42.300877,19.042549 42.299201,19.044335 42.298518,19.045912 42.298837,19.048158 42.298816,19.050379 42.297295,19.054855 42.296252,19.056418 42.295737,19.058672 42.296216,19.06117 42.297861,19.064133 42.300501,19.06779 42.304301,19.066905 42.305143,19.062205 42.306188,19.06027654820626 42.30668474876774,19.06062828742441 42.30689650776115,19.0610341533579 42.30713852709629,19.06160213873419 42.30752150892218,19.06216934810848 42.30805502622335,19.06266902230138 42.30852813354317,19.0633196389887 42.30868050944814,19.06403666382447 42.30911407948462,19.06495973372792 42.30906649082198,19.06542108748868 42.30907782009889,19.0660876440027 42.30876856701568,19.06669796586331 42.3088405250249,19.06766179259342 42.30878299611959,19.06887844595829 42.30861375558239,19.0697717980896 42.30868426496771,19.07060065340641 42.30851161069941,19.07145519504394 42.30845565100395,19.07207302355091 42.30842819219622,19.07263866949549 42.30832283446199,19.0728352654376 42.30843028280582,19.07300514052322 42.30862512891109,19.07310765336182 42.3091502375973,19.07314508713024 42.30954882044252,19.07303780909281 42.30997616496539,19.07281263613709 42.31032543516608,19.07295642431445 42.310481333465,19.07312727675371 42.31048180039537,19.07325772894638 42.31067653805028,19.07333541696336 42.31091000800841,19.07359710204286 42.31114398018492,19.07396397848595 42.31136851957952,19.07414253488042 42.31159622317536,19.0742099304821 42.31180730621878,19.07430030981352 42.31198470787562,19.07433444909953 42.3120016728114,19.07466443324404 42.31217129061292,19.07497168688231 42.31232397350334,19.07542787031262 42.31235052063,19.07591835997339 42.31236028702971,19.076295106241 42.31230225600725,19.07714 42.312716,19.080538 42.314351,19.08414 42.314817,19.086381 42.314462,19.088605 42.313107,19.091048 42.311416,19.091455 42.30891,19.09095704096968 42.3084402124078,19.09062308806157 42.3081811488795,19.09034485285557 42.30795321273439,19.08992671974098 42.30777655459617,19.08988619339019 42.30748726337404,19.09022214488885 42.3073228831096,19.09051619804036 42.30715839389838,19.0908096636122 42.30711783933239,19.09097802617769 42.30695302493658,19.09100688218079 42.30675686655334,19.09095238563336 42.30646754075668,19.09098158212173 42.30619908691995,19.09099569324748 42.30616813921476,19.09105257572053 42.30595139696509,19.09109593074032 42.30564166715239,19.09120857426809 42.3054457245272,19.09123655263569 42.30543546862425,19.09147448978595 42.30532247343717,19.09153049485779 42.30529163353533,19.09155842449032 42.30529170549951,19.0919351830824 42.30535464379936,19.09247893818427 42.30554194642183,19.09302274404793 42.30571891790854,19.09362303979024 42.3057617665335,19.0941817310271 42.30574253739005,19.09469843158294 42.30574385449695,19.09490699134226 42.30594061827267,19.09492023506888 42.30609557255477,19.09511622523527 42.30599279079083,19.09549385534747 42.30586981383479,19.09552178525906 42.30586988475712,19.09612280619556 42.30575780051542,19.0965825986622 42.30598618195166,19.09697342991532 42.30602848215153,19.09743246772222 42.30642210796853,19.09775285922331 42.3065984933738,19.09780705489982 42.3069601131498,19.09773546754843 42.30734207207515,19.09759284295006 42.30758786190241,19.097317 42.310187,19.098443 42.310343,19.100007 42.309828,19.10088 42.308319,19.10196 42.305807,19.099672 42.303328,19.099856 42.300992,19.10043451050461 42.29971698291931,19.10010864741975 42.29952126395232,19.09968785193759 42.29934089899922,19.09929910892931 42.29906705911707,19.09901612981043 42.29871552192621,19.09890183286846 42.29835661149351,19.09887225188174 42.29791215559807,19.098968830101 42.297538181382,19.09912850436609 42.29719554963122,19.09933026554951 42.29686861468697,19.09947878958392 42.2966584887233,19.09993753851538 42.29635984885145,19.10040127436087 42.2962467979058,19.10060176564426 42.29629869332538,19.10087979807378 42.29627654503464,19.10118852930338 42.29629444621054,19.10121938424577 42.29630023360205,19.10152775232424 42.29639808033434,19.10154316686666 42.29640382921795,19.10179790957311 42.29641017339467,19.10206120246895 42.29623380127566,19.10226325084081 42.29594306566843,19.10237257782483 42.29566923094656,19.1025743911517 42.29542988815101,19.1026373700973 42.29516164778993,19.10263739600298 42.29515593728582,19.10261516836051 42.2949503017054,19.10278548614493 42.294629465648,19.10306567507011 42.29437787827861,19.10348567035218 42.29406356481,19.10395188619863 42.29381243328996,19.10441812663191 42.29355556488951,19.10481452735572 42.29331572276928,19.10562213000322 42.29305779441228,19.10622406217756 42.29295617820545,19.10688452678756 42.29288725683547,19.10739809744356 42.29286138046557,19.1077355076758 42.29286220229742,19.10774281853859 42.29286764592152,19.10787424538758 42.29300361240551,19.10792513206535 42.2931068276634,19.10794713729063 42.29310688119762,19.10818878414306 42.29319970854388,19.10839392536385 42.29325446571568,19.10842254327809 42.29341731136625,19.108953 42.294399,19.110746 42.294215,19.113358 42.292029,19.117858 42.292485))",
HercegNovi =
"POLYGON((18.680328 42.479982,18.676249 42.477673,18.672176 42.475863,18.667444 42.475725,18.662025 42.474423,18.65909 42.473773,18.655486 42.473795,18.651667 42.474818,18.649639 42.474663,18.645581 42.474353,18.642653 42.47437,18.63952 42.476388,18.637502 42.4774,18.633652 42.475255,18.630489 42.474272,18.626424 42.473128,18.623488 42.472311,18.618519 42.470838,18.612228 42.47254,18.605464 42.471743,18.60281 42.477093,18.599913 42.480444,18.595885 42.483467,18.590741 42.487496,18.58558 42.489858,18.593042 42.49282,18.604338 42.496094,18.618559 42.498851,18.628483 42.499795,18.639762 42.501065,18.644954 42.502036,18.649284 42.506846,18.655385 42.508478,18.662608 42.509603,18.668032 42.511071,18.67255 42.512044,18.670793 42.516557,18.666738 42.516748,18.663595 42.517934,18.662705 42.519106,18.662734 42.521941,18.652616 42.524502,18.643833 42.525386,18.63752 42.525256,18.631444 42.526291,18.626719 42.527318,18.622013 42.530179,18.613708 42.53406,18.606305 42.538103,18.600468 42.540802,18.596196 42.542159,18.591469 42.543018,18.583174 42.548398,18.575984 42.551437,18.573296 42.553452,18.569714 42.556471,18.565002 42.55933,18.559373 42.560526,18.554641 42.56105,18.551268 42.562234,18.54724 42.566089,18.542091 42.570783,18.541211 42.573455,18.541241 42.577123,18.540142 42.58063,18.53243 42.580038,18.525433 42.579738,18.518204 42.578604,18.510982 42.578305,18.499915 42.576688,18.492457 42.575054,18.484778 42.57392,18.479363 42.573777,18.471685 42.57281,18.469638 42.570484,18.466909 42.567328,18.464835 42.561167,18.46252 42.552673,18.459769 42.546181,18.457697 42.540187,18.454494 42.533364,18.450144 42.523711,18.447402 42.518219,18.445347 42.514226,18.442152 42.508403,18.441444 42.50357,18.441433 42.501902,18.441175 42.497068,18.440244 42.492569,18.439552 42.490071,18.437745 42.489411,18.435034 42.488255,18.433671 42.486593,18.435691 42.485418,18.441305 42.482727,18.445558 42.478708,18.449148 42.476526,18.453633 42.473673,18.459705 42.472314,18.465551 42.470789,18.469586 42.468104,18.473158 42.463753,18.475586 42.456906,18.477132 42.452731,18.480939 42.449879,18.48408 42.448365,18.488348 42.447012,18.489447 42.443339,18.493241 42.438987,18.498619 42.435628,18.506686 42.430922,18.514537 42.427384,18.519017 42.424695,18.5249106678 42.4203188851,18.5258179689 42.4214837432,18.5261812132 42.421855567,18.5262120837 42.4223585696,18.5264092117 42.423044498,18.5281999669 42.4231082719,18.5301316714 42.4234060297,18.5302173172 42.4238691188,18.5300276418 42.4244017292,18.5296310543 42.4246641247,18.5292856085 42.4255161906,18.5285655308 42.4262815498,18.527309963 42.4281092061,18.5265229886 42.4285822453,18.5257087997 42.4289188839,18.5233330095 42.4302453115,18.5214499927 42.4315560594,18.5213193045 42.4317954289,18.5210447809 42.4315262642,18.5206960965 42.4314798244,18.5201983572 42.4317418839,18.519927656 42.4320595812,18.5195414427 42.4321265594,18.519103931 42.4321466516,18.5185800032 42.4324039907,18.5179901506 42.4328708277,18.5177305037 42.4333244407,18.5176489387 42.4339145227,18.5174132866 42.4338700438,18.5172815702 42.434814083,18.5172775183 42.4356541821,18.5168892848 42.4357273505,18.5166888949 42.4357477119,18.5158888131 42.4362504609,18.5150657032 42.436235693,18.5146647949 42.4363459239,18.5145186547 42.4366870623,18.5141907433 42.4368016222,18.5138712929 42.4368740597,18.5133651735 42.4371176846,18.5131244413 42.4372490146,18.5130965476 42.4374094213,18.5129852592 42.4375130234,18.5127291554 42.4373519017,18.5115813121 42.4382951764,18.5110289798 42.438814344,18.5107303291 42.4393223065,18.5075564618 42.4431677576,18.505276781 42.4465547234,18.5053671617 42.4472581751,18.5051654721 42.4473429384,18.5053409433 42.447936075,18.5053087129 42.4485515619,18.5040971066 42.4490245767,18.504121545 42.4496018532,18.5043604418 42.4502375626,18.5048070418 42.4508833037,18.505150298 42.4516078708,18.5058117112 42.4524827285,18.506118839 42.4527068504,18.5065175023 42.4528167055,18.5069113654 42.4533880178,18.5078059601 42.4540743318,18.5086172016 42.4547352932,18.510292726 42.4558599324,18.5123338859 42.4570372546,18.5127937837 42.4566797416,18.513482465 42.4570795192,18.5132720446 42.4574863545,18.5139529181 42.4578078278,18.5149411329 42.4582970341,18.5159569402 42.4586093345,18.5160774415 42.4584868104,18.5162319602 42.4585935414,18.5160898295 42.4587444801,18.5164364284 42.4588466997,18.5167139553 42.458812242,18.5165532748 42.4586669743,18.5167403289 42.4585058674,18.5170775356 42.4589025271,18.5176354281 42.458740919,18.5178835339 42.458523348,18.5182028174 42.4585067747,18.5181739638 42.4583758844,18.51800082 42.458291638,18.5177861113 42.4582809449,18.5178486575 42.4580997791,18.5181063048 42.4581195936,18.5184775296 42.4581583137,18.5186190715 42.4582593454,18.5186241322 42.4584909595,18.5191143045 42.4583732528,18.5193828251 42.4581466341,18.5197585745 42.4580327341,18.5199973181 42.4578493365,18.5202187583 42.4578596251,18.5205624625 42.457697742,18.520722768 42.4575713196,18.5210492435 42.4575820701,18.5214533586 42.4575092144,18.521723184 42.457345239,18.5218462885 42.4572076136,18.5215260924 42.4567938515,18.5220278191 42.4567110809,18.5222185292 42.4565190254,18.5218562624 42.4564119469,18.5220222773 42.456235595,18.522496263 42.4563132331,18.522723568 42.4561030289,18.5226036529 42.4559312139,18.5228712953 42.455853354,18.5232143711 42.4560070857,18.5240957897 42.4560945634,18.5246857988 42.4559637657,18.525030702 42.4557374261,18.5253500075 42.4550891863,18.5253259353 42.4548769047,18.5255149707 42.4546054073,18.5255884372 42.4543724838,18.5258733469 42.4541284101,18.5259323005 42.4538323451,18.5276526566 42.4529988504,18.5284001683 42.4531589518,18.5293643272 42.4527567995,18.529625013 42.4523131071,18.5300247774 42.452186772,18.5302479478 42.4517928135,18.5308946073 42.45158109,18.5309926254 42.4517049327,18.5321488857 42.4514074478,18.5326828106 42.4510833313,18.5333230766 42.4507254405,18.533399381 42.4502771766,18.5340718958 42.4501996069,18.5342879043 42.4504358809,18.5345698941 42.4500942279,18.5344110067 42.4499717593,18.5319471697 42.4497679649,18.5320597098 42.4493919118,18.5348681752 42.4496573494,18.535555524 42.4497671514,18.5366158469 42.4493731646,18.5369652595 42.4488902798,18.5382775558 42.4492925622,18.5389247902 42.4496140349,18.539989893 42.4495914562,18.5403197017 42.449593796,18.5410546294 42.4497897379,18.541306729 42.4500914819,18.5416492084 42.4502600466,18.5417836028 42.4503492528,18.542112489 42.4503643127,18.5424676156 42.4503224146,18.5425266469 42.4502288929,18.542378264 42.450111211,18.5428827354 42.4499559054,18.5430713113 42.4501130203,18.5436230872 42.4498272347,18.5438514538 42.4496784498,18.5439920407 42.4497355224,18.5439796033 42.449858277,18.5444227339 42.4498329061,18.5459681532 42.449337504,18.5464234148 42.4491254405,18.5471555328 42.4493641976,18.5473924509 42.4495687638,18.5481846489 42.4494070176,18.5481796 42.449219047,18.5487336064 42.449130326,18.5489381553 42.4492827867,18.5488477804 42.4494117277,18.5492909865 42.4494862668,18.5499382356 42.4494551022,18.5505628972 42.4491895341,18.5520150187 42.4492367209,18.5533774773 42.4498455278,18.5547897639 42.4503683529,18.5557111554 42.4507601952,18.5568811007 42.4509003585,18.5578847967 42.4513297865,18.5585938806 42.4518385327,18.5589768906 42.4525566282,18.5595960916 42.4527915669,18.5598983067 42.4523478296,18.5603601584 42.4520296693,18.5607959105 42.4521912811,18.5602945699 42.4523234092,18.5597708481 42.4532628653,18.559274787 42.4531096028,18.559033436 42.453209032,18.5593546294 42.4536819029,18.5606431059 42.4541844994,18.5610872963 42.4540580367,18.562054036 42.4542682337,18.5623805026 42.4542075099,18.5624022083 42.4539827926,18.5630798875 42.4539453248,18.5631377985 42.4542111617,18.5643194279 42.4539541838,18.5648844005 42.4533648409,18.5669188411 42.4528038129,18.5687932782 42.4525882683,18.569367524 42.4522799537,18.5702802013 42.4517437236,18.5722509879 42.4506869037,18.5708868392 42.4496174473,18.5729525742 42.4482137952,18.5743555894 42.4485461009,18.5764340016 42.4464176719,18.5772577098 42.4454949503,18.5779908709 42.4443687009,18.5791250118 42.4437591922,18.5802814875 42.4434193481,18.5810024666 42.4431132942,18.5815672106 42.4431036752,18.5829736832 42.4417376401,18.5831014062 42.4413578054,18.5833466276 42.4409539839,18.584753564 42.4400418109,18.585415976 42.4397521556,18.5867160979 42.4388388653,18.5866496712 42.4384685626,18.5876085123 42.4379119556,18.5879961064 42.4380530122,18.5882153764 42.4376300505,18.5884389254 42.4374268786,18.5886817128 42.4373821997,18.5890867433 42.437222042,18.5893831796 42.4369250473,18.5894060513 42.4368077859,18.5894881898 42.4367964781,18.5895692916 42.4368896452,18.5897141166 42.4368704508,18.5903625919 42.4367477532,18.5904495608 42.4367792214,18.5904002416 42.4368343394,18.5910385401 42.4371245338,18.5911328246 42.4370199685,18.5912798401 42.4370026589,18.5915171416 42.4370452403,18.5915867157 42.4371021609,18.5919269141 42.437212696,18.5923819021 42.4372045163,18.5927744287 42.4370512927,18.5931876245 42.4365466957,18.5933114732 42.4364118825,18.5938541069 42.4363055625,18.5938848144 42.4361576149,18.5943761151 42.4360084319,18.5944016848 42.4361201544,18.5946111177 42.4360760264,18.5947256218 42.4362132452,18.5950409887 42.4361128257,18.5951693273 42.4354585646,18.595365898 42.4352928294,18.5954008652 42.4350433646,18.5952034121 42.434940941,18.5952904884 42.4344870987,18.5955957701 42.4344534923,18.5966888037 42.4341770299,18.5965942413 42.4340125078,18.5972726947 42.4338149016,18.597098548 42.4332531506,18.5973871237 42.4331005246,18.5977036483 42.4330223972,18.5987565728 42.433101561,18.5991249383 42.4330896624,18.5995498351 42.4331600524,18.5999351467 42.4332747353,18.6005154943 42.4331763295,18.6010658508 42.4331462334,18.6009268859 42.4329341222,18.6043755082 42.4318028709,18.6055836885 42.4326326886,18.605590857 42.4336790247,18.6050564534 42.4344779204,18.6055480197 42.4346388096,18.6058070867 42.4348667109,18.6061794081 42.434997131,18.6066144217 42.4349679902,18.6066192433 42.4348150564,18.6070271633 42.4347604861,18.6070649543 42.4346258021,18.6073746872 42.4346221033,18.6074689681 42.434866645,18.6076102444 42.4349538092,18.6077727103 42.4349741613,18.6079423326 42.4349202171,18.6094450517 42.4349066353,18.6100744781 42.4351628229,18.6105577706 42.4358926547,18.6110397797 42.4362057156,18.6114752611 42.436342399,18.6121336468 42.4363863137,18.6132016074 42.4367353552,18.6132908691 42.4366730337,18.6140119298 42.4369822957,18.6143395379 42.437430765,18.6144143581 42.4377968454,18.6146145243 42.4380870768,18.6147385752 42.4381452233,18.6147674158 42.4380011964,18.6154956821 42.4380713487,18.6154659349 42.4382655798,18.6157800933 42.4382006778,18.6160569234 42.4380690939,18.6168386692 42.4382803433,18.6171906675 42.4383870084,18.617586285 42.4383948815,18.6179536416 42.4384025635,18.6185976596 42.4385591162,18.6187417038 42.4386058237,18.6188573523 42.4386096488,18.6188627605 42.438506005,18.6192224009 42.4384931692,18.6194133571 42.4384212629,18.6196740633 42.4383894659,18.6199625662 42.4384493368,18.6202990388 42.4386406531,18.6206345409 42.4389112471,18.6209382841 42.4390872885,18.62132888 42.4391985923,18.6213716495 42.439115684,18.6221386876 42.4392132467,18.6223522851 42.43915921,18.6225646365 42.4392068464,18.6225297272 42.4393298642,18.6230997241 42.4394938932,18.6232134653 42.4394114573,18.6234313529 42.4393482032,18.6233883393 42.4391510687,18.6237872053 42.4391350044,18.6238391762 42.4393306033,18.6241516892 42.4392631431,18.6241571776 42.439110722,18.6244694611 42.4390619818,18.6247407695 42.4391039077,18.6247601719 42.4391865836,18.6254352 42.4397284061,18.6254832825 42.4397978294,18.6262657195 42.4399809742,18.6263422926 42.4397341686,18.6270113786 42.4398290904,18.6270008905 42.4400190308,18.6273645115 42.4401170257,18.6275334948 42.4398759151,18.627891065 42.4400036756,18.6277219436 42.4402561848,18.6281689156 42.4403360907,18.628210886 42.4402414917,18.6284476348 42.4404193727,18.6288153138 42.4405468288,18.6290623884 42.4405901379,18.6292172162 42.4403603529,18.629584742 42.4405006281,18.6295048452 42.44064115,18.6299793689 42.440913565,18.6304450769 42.4409811265,18.6310018339 42.4409303214,18.6312336407 42.4408758794,18.6312726878 42.4409321087,18.6313378542 42.440919212,18.6314043446 42.4407970459,18.6315310337 42.4407738936,18.6317549079 42.440778035,18.6318567695 42.4407174039,18.6319536319 42.4407713489,18.6320512024 42.4410651777,18.6322671789 42.4414237549,18.632397599 42.4415607714,18.6326513137 42.4417729803,18.6329113318 42.4418639033,18.6332986226 42.4422268636,18.633376287 42.4422023957,18.6337930262 42.4425298643,18.6337732977 42.4425618505,18.6340706267 42.4427672069,18.6342246658 42.4428253149,18.6344901322 42.4428663131,18.634546882 42.4427533236,18.6350225139 42.4428033917,18.6352185236 42.4428185997,18.6354295569 42.4428394744,18.6355723809 42.4428849594,18.6355114482 42.4429318919,18.6355969448 42.4430382542,18.6357967285 42.443053486,18.6360035552 42.4431105274,18.6363461328 42.443174027,18.6367547999 42.4432270861,18.6368135243 42.4431910727,18.6369165275 42.4432016742,18.6369579938 42.4431092962,18.6372349418 42.4431971413,18.6371935156 42.4432862107,18.6374258672 42.4433539097,18.6378992609 42.4435125256,18.6378670808 42.4435784932,18.6381167335 42.4436992466,18.6382906024 42.4437831062,18.6385460514 42.4437947026,18.6385881512 42.4436493855,18.6387401587 42.4436867768,18.6387437295 42.4437629052,18.6393990546 42.4441204368,18.6395261096 42.4439884183,18.6397268313 42.4440823187,18.6397091642 42.444190897,18.6396812625 42.4442430488,18.6409252702 42.4449748177,18.6411910454 42.4452094678,18.6412944429 42.4451847806,18.6414219086 42.4453029027,18.6413893892 42.4453927622,18.6417649299 42.4456332463,18.6422206195 42.4459154485,18.642565695 42.4461099539,18.6428240932 42.4462901621,18.6430823837 42.4464795245,18.6432500311 42.4464668803,18.6449883512 42.447447631,18.6448911414 42.4475181131,18.645641529 42.4478982849,18.6456901337 42.4478630435,18.6457912881 42.4479111061,18.6458066915 42.447966515,18.6467952294 42.448130935,18.6470032239 42.4481994407,18.6471835612 42.4483428305,18.6472903019 42.4485686773,18.647590366 42.4488677964,18.6481196749 42.4491683941,18.648773285 42.4494377876,18.6491505255 42.4494996559,18.6491805854 42.4495775745,18.6493529336 42.4496746985,18.649680558 42.4497408183,18.6497668779 42.4498216115,18.649842976 42.4498274538,18.6500639537 42.4498502858,18.6504980242 42.4499494232,18.6506237034 42.449749512,18.6510613388 42.4498540228,18.6510308722 42.449976935,18.6512984321 42.4500482371,18.6512538692 42.4501362676,18.6521573976 42.4502263687,18.6522278874 42.4500782714,18.6523557172 42.4500645988,18.6528730616 42.450332407,18.6532787101 42.4500777616,18.6536463143 42.4497177978,18.653730978 42.4496168905,18.6536726545 42.4495657926,18.6536685544 42.4494969258,18.6535999423 42.4494856172,18.6535542599 42.4496121363,18.6533371114 42.4497049487,18.6516258198 42.4487790965,18.6519112242 42.4484896211,18.6534841069 42.449335484,18.653756596 42.4490928949,18.6539601137 42.4490837262,18.6541812806 42.4491828751,18.6549752986 42.4484374934,18.6520736066 42.4468152292,18.6522035726 42.4466848446,18.6551583596 42.4482929664,18.655317192 42.448228372,18.6573894885 42.4493666145,18.6570664828 42.449577421,18.6567923361 42.4494479551,18.6567010966 42.4495750918,18.656102391 42.4497888671,18.6561374711 42.4500776399,18.6560072131 42.4502518302,18.6562090181 42.4505369372,18.6580559349 42.4499384966,18.6582148681 42.4500530361,18.656485394 42.4506225685,18.6571159724 42.4513340823,18.6576808001 42.451652309,18.6580625122 42.4519300399,18.6584388688 42.4521596681,18.6586274061 42.4522438954,18.6586448227 42.452460656,18.6587301189 42.4527704765,18.6591103525 42.4531008297,18.6590472928 42.4531759958,18.6594651356 42.4534161467,18.6595466085 42.4533303021,18.6599969757 42.4536210344,18.6600815191 42.4535973919,18.6601209268 42.4536304565,18.660082692 42.4536975699,18.6603183144 42.4539667627,18.6603604858 42.4539635761,18.6604046155 42.4539932166,18.6602939825 42.4540460542,18.6606793397 42.4543836802,18.6605687047 42.4544311074,18.6609353237 42.4547173948,18.660934888 42.4547548135,18.6611126549 42.4548616007,18.6612177106 42.454807235,18.6612650077 42.4548449561,18.6611926913 42.4549061331,18.6613260173 42.4549862234,18.6614283971 42.4549054253,18.6615257447 42.4550006962,18.6613509715 42.4551492749,18.6615046695 42.4552735196,18.6616498281 42.4553624899,18.6617188542 42.4553277069,18.6618019523 42.4553656548,18.6616799746 42.4554831752,18.6619067196 42.4556482073,18.6621039801 42.4556673492,18.6624729145 42.455820499,18.6626251986 42.4558342433,18.6626870822 42.4558755338,18.6626476973 42.4559852012,18.6630062432 42.4561382843,18.6638543004 42.4563914441,18.6639932131 42.456398018,18.6642355018 42.4564793044,18.6642887571 42.4565480037,18.6649284877 42.4566488873,18.6650465474 42.4564559352,18.6669963369 42.4568835221,18.666968316 42.4570454149,18.6680700381 42.4572066865,18.6683736341 42.4573663979,18.6686318134 42.4574157419,18.6693288496 42.4578129225,18.6698347861 42.4580509269,18.6699956882 42.4582340458,18.6702991448 42.4585761166,18.6706408904 42.4588290895,18.6709421465 42.45895811,18.6714358575 42.459013154,18.6718006855 42.4592028829,18.6722569966 42.4592932085,18.6725170409 42.4592656722,18.6725554168 42.4593658853,18.6729956065 42.4593852933,18.6734475202 42.4593672827,18.6751017335 42.459423252,18.6755685706 42.4595182084,18.6757600743 42.4596850988,18.6760268097 42.4598202363,18.6764068391 42.4598686226,18.6764679138 42.459984072,18.6761719177 42.4602261848,18.6757879498 42.4605229839,18.6754105119 42.4607234741,18.6752008587 42.4608272029,18.6749090434 42.4610016913,18.6746025744 42.461123572,18.6740867063 42.4613266727,18.6737846749 42.461504845,18.6734405291 42.4618280827,18.6732844547 42.4620920177,18.6731627024 42.4624430204,18.6731148663 42.4625078632,18.673118664 42.4626902814,18.6732466709 42.4628213609,18.6734761077 42.4630179862,18.6736052739 42.4632151184,18.6738098932 42.4634224156,18.673834457 42.4635728442,18.6738042354 42.4637914835,18.6736447131 42.4640564913,18.6735974066 42.464309366,18.6736019022 42.4646221324,18.6737670543 42.464655924,18.6736781827 42.4650127864,18.6736009634 42.4650569825,18.67365261 42.4652313401,18.6737085863 42.4657288582,18.6736248231 42.4657348355,18.6736302488 42.4660305718,18.6736858368 42.4661771447,18.6738472872 42.4663113791,18.674259846 42.4664439274,18.6745994186 42.4666429284,18.675005931 42.4669791191,18.6748932775 42.4670437756,18.675324994 42.4672150107,18.6756182811 42.4672581109,18.6760087836 42.4673637315,18.6760245076 42.4674857104,18.6759665842 42.4677741686,18.6757959999 42.4679611767,18.6757120257 42.4681386473,18.6757450732 42.4684343864,18.6758887594 42.4686099125,18.6762368873 42.4688236497,18.6765544525 42.468923013,18.6768178486 42.4689817395,18.6770113394 42.4690677383,18.6772854339 42.4692173935,18.677543282 42.4694178077,18.6777061163 42.4697054828,18.6778069343 42.4700281029,18.6780346878 42.4703595299,18.6786091414 42.4705810113,18.6792626658 42.4707146167,18.6798222749 42.4708455474,18.6802687053 42.4710648108,18.680663729 42.4712497933,18.6808609696 42.4716203473,18.6807787641 42.4717641795,18.6808033075 42.4721379151,18.6807821237 42.4723170626,18.6807266063 42.4723283932,18.6806639579 42.4726198294,18.6806978764 42.472768868,18.680953427 42.4732607057,18.6810167567 42.4735362395,18.6811323577 42.4736956475,18.6814864554 42.4739709743,18.6818539664 42.4742197939,18.6822707533 42.4744742302,18.6826737607 42.4748021618,18.6827838093 42.4749103795,18.6829394512 42.4750584979,18.6831341644 42.4751445957,18.6833189302 42.475337404,18.6836233884 42.4755469765,18.6836895136 42.4756465839,18.6837850587 42.4757463719,18.6841276968 42.4759251777,18.6843026435 42.4760657537,18.684340642 42.4762498479,18.684331178 42.4764553592,18.6844213445 42.4766983785,18.6845249132 42.4770205453,18.6846367584 42.477242614,18.6849912224 42.477497797,18.6853963684 42.4776953094,18.6856598953 42.4777759903,18.6858443987 42.4778930847,18.686010042 42.4781382811,18.680328 42.479982))",
Tivat =
"POLYGON((18.703714 42.372119,18.710275 42.375746,18.715699 42.378213,18.719786 42.381688,18.722042 42.382341,18.726295 42.380479,18.73098 42.377114,18.733429 42.37493,18.734777 42.374754,18.737033 42.375406,18.738873 42.379063,18.740022 42.381223,18.739359 42.382228,18.73825 42.383569,18.738496 42.385402,18.737167 42.387245,18.738989 42.389234,18.740356 42.390725,18.739702 42.392564,18.738823 42.394404,18.739518 42.396234,18.738859 42.397572,18.735067 42.400431,18.734193 42.402772,18.733546 42.405277,18.731998 42.407622,18.73091 42.410964,18.729808 42.412972,18.730743 42.416134,18.732568 42.41829,18.732591 42.420291,18.733513 42.422286,18.734879 42.42361,18.737591 42.424593,18.740291 42.424575,18.743903 42.425552,18.745937 42.426205,18.74756 42.430363,18.747364 42.432866,18.746261 42.434874,18.743812 42.437225,18.738915 42.442093,18.732666 42.446969,18.730216 42.44932,18.730237 42.451154,18.729355 42.452827,18.727148 42.456843,18.725155 42.459858,18.724484 42.460196,18.721555 42.460048,18.72132 42.459216,18.719975 42.459724,18.715447 42.457586,18.712306 42.458606,18.709175 42.460627,18.708055 42.461135,18.702465 42.464838,18.698885 42.467028,18.695303 42.469052,18.694433 42.471892,18.694669 42.472891,18.697393 42.474875,18.6959388555 42.4761156026,18.6949550353 42.4764063711,18.6935684403 42.4768180342,18.6923258034 42.4771036976,18.6909044748 42.4774395799,18.6904585804 42.4775175778,18.6902070241 42.4775052855,18.6899563162 42.4774198334,18.6897617835 42.4772481865,18.6896691012 42.4769118919,18.689279992 42.4761854587,18.6888829226 42.4757620699,18.6885239105 42.4753768437,18.6876600874 42.4749362295,18.6874870505 42.4744990962,18.6868502443 42.4737684613,18.686457488 42.4734663685,18.6863472343 42.4733345791,18.6863638178 42.473214805,18.6863786826 42.4729520652,18.6864836526 42.4728003769,18.6865741204 42.4725255636,18.6867039562 42.4722949732,18.6868013606 42.4720694965,18.6868671798 42.4717423696,18.6868128527 42.4714277368,18.6868778516 42.4712612838,18.6869655483 42.4709475202,18.686926215 42.4707028237,18.6866041444 42.4701404643,18.686459524 42.4701085316,18.6863773666 42.4699286436,18.6861929492 42.4696929336,18.6860124322 42.4695262411,18.6858988995 42.4692254189,18.6857811247 42.4688228572,18.6856545722 42.4686193252,18.6857112219 42.4685468068,18.6854407261 42.4681586441,18.6852613558 42.4680688378,18.6853109868 42.467856881,18.6854485536 42.4678450525,18.6856496278 42.4676544084,18.6859820935 42.4674603502,18.6861811473 42.4673100412,18.686410955 42.4671655657,18.6864339289 42.4667214445,18.6864310386 42.4665788655,18.6864426004 42.4663501751,18.6864357014 42.4661644717,18.6861853033 42.4660502155,18.6861994198 42.4659939405,18.6861552631 42.4659240471,18.6858371952 42.4658325832,18.6852772734 42.4656666967,18.6846793822 42.4656796045,18.6846227576 42.4656007088,18.6846426341 42.4655649189,18.6845317672 42.4654672762,18.6845152533 42.465205018,18.6844940742 42.4649247751,18.6840809288 42.4647165941,18.6837127668 42.4645322476,18.6834380608 42.4642688125,18.683276735 42.4639833135,18.6832250201 42.4635421214,18.6831774909 42.4631943222,18.6830694001 42.4629512785,18.6828818813 42.462731107,18.6827522504 42.4626427018,18.6825431249 42.462583009,18.6823150334 42.4624501923,18.6821928791 42.4622847578,18.6822129985 42.4621279029,18.6824023894 42.4619260798,18.6826901236 42.4617871121,18.682941967 42.4615775528,18.6830974193 42.4614567154,18.6831814282 42.4612769271,18.6832809506 42.461099027,18.6833798703 42.4609744103,18.6833671111 42.4608251276,18.6833035533 42.4606968472,18.6831073428 42.4604824907,18.6827563613 42.460221886,18.6825382122 42.4600317167,18.6823370077 42.4599398893,18.6820639404 42.4598156463,18.681412686 42.4596011461,18.6813781186 42.4595214243,18.6813388141 42.4594104599,18.6813444977 42.4592668558,18.6813136441 42.4591260188,18.6813311449 42.4589819965,18.6813668676 42.4588618041,18.68147417 42.4587420531,18.6815012549 42.4586260324,18.6814544477 42.4584609684,18.6814072099 42.4583339266,18.6812653441 42.4582189761,18.681229936 42.4580660047,18.6813466145 42.4578772309,18.6813501432 42.4578721312,18.6815423918 42.4577529627,18.6817414943 42.4576415181,18.6818543238 42.4574860087,18.6817914253 42.4572346605,18.6817237071 42.4569890373,18.6815387888 42.4568652943,18.6813955431 42.4566192053,18.6814782967 42.4564265231,18.681532433 42.4562801342,18.6815828619 42.4560191068,18.6816809723 42.4557395147,18.6817865373 42.4554464977,18.6819388376 42.4552184293,18.6821844874 42.455131034,18.6824150133 42.4550893464,18.6827304948 42.4548975037,18.6831287905 42.454600243,18.6831735777 42.4546310448,18.6833858572 42.4544852693,18.6835951593 42.4542700967,18.6837483281 42.4540296018,18.6839789223 42.4536221987,18.6841671244 42.4532474622,18.6842780875 42.4530288726,18.6844146774 42.4526294528,18.6844703353 42.4523613712,18.684529597 42.4521374732,18.6846622378 42.4518751538,18.6848249972 42.4514575301,18.6848623094 42.4508656206,18.6849650633 42.4503857287,18.6851295151 42.4499920558,18.6853318219 42.4498299599,18.6856687082 42.4495854795,18.6860809373 42.449143852,18.6862591637 42.4489695119,18.6865340104 42.4485870597,18.6866734906 42.4482128517,18.6866950538 42.4480241969,18.6864298657 42.4477959435,18.6863293264 42.4476326196,18.6863781426 42.4474934546,18.6866561694 42.4472801503,18.6869077772 42.4469649907,18.6869406779 42.446490054,18.6868620642 42.4464779508,18.6867529002 42.4463814011,18.6867703476 42.4462304218,18.6868025638 42.446166698,18.6868015013 42.445911007,18.6867797036 42.4453982409,18.6867600161 42.4446978939,18.6867067681 42.4438307068,18.6868507838 42.4429816914,18.686884198 42.4423832137,18.6868491626 42.441701602,18.6867671804 42.441397836,18.686465106 42.4412069287,18.6860525555 42.44087355,18.6857882415 42.4406474228,18.6857466932 42.4405454218,18.6858765495 42.4403886697,18.6858193525 42.4402544033,18.6853959159 42.4399406492,18.6846909213 42.4395109409,18.684680381 42.43949906,18.6843420252 42.4392133923,18.684461964 42.4389896215,18.684862484 42.4389684505,18.6852775928 42.4390734066,18.6859653594 42.4391367065,18.6864541625 42.4393326988,18.6870831389 42.4394035074,18.6871640303 42.4393291668,18.6875366704 42.4394141588,18.6875300064 42.4395322794,18.6879197206 42.4395228455,18.6885355697 42.4393375478,18.6886772712 42.4392738411,18.6889836009 42.4391614881,18.6890524492 42.439209173,18.6895504854 42.4390586019,18.6896459287 42.4391143259,18.6902570865 42.438869913,18.6906005694 42.4386987025,18.6908003137 42.4384951059,18.6906512163 42.4383792684,18.6908006532 42.4382965602,18.6910141278 42.4383556422,18.6913076627 42.4381035764,18.6912703074 42.4379854183,18.6908273463 42.4380169202,18.6907206131 42.4378593742,18.6905534889 42.4377569692,18.6905481556 42.4376427501,18.6907349451 42.4375836751,18.6908630307 42.4374694586,18.6913486765 42.4373946336,18.691610175 42.4374773472,18.6918704162 42.4373883114,18.6919558075 42.4370456571,18.6908938113 42.4369235486,18.6909738697 42.436596648,18.6920198514 42.4366872479,18.6921052413 42.4363091448,18.688618079 42.435855109,18.6885815577 42.4359590536,18.6883826379 42.4359464625,18.6882234538 42.436600808,18.6879335969 42.4365672401,18.6871029729 42.4339404137,18.6881245414 42.4297383364,18.6938994197 42.4309019125,18.6944504521 42.4308886441,18.6949415818 42.4307073842,18.6952703155 42.4304323654,18.6952889798 42.4303505915,18.6950796908 42.4302623252,18.695722084 42.4291780369,18.6960556024 42.4292798911,18.6962108509 42.4291355798,18.6963258528 42.4290888887,18.6963948486 42.4289658012,18.6965443521 42.4289275973,18.6966823599 42.4289700356,18.6966996212 42.4291440522,18.6969468804 42.4291228215,18.6971294212 42.4291612923,18.6972926131 42.4291643743,18.6975604047 42.4290346438,18.6980499545 42.4287628296,18.6981461826 42.4286207518,18.6982131224 42.4285064723,18.6982172748 42.4281389346,18.6983009524 42.4280370082,18.6984264832 42.4280493561,18.6985143555 42.4280647944,18.6987394166 42.4279407956,18.6989527977 42.4277523827,18.699011372 42.4276936971,18.6989987978 42.4274805879,18.6990699184 42.4273601306,18.6991284914 42.4272921792,18.6993000324 42.4271562731,18.6994841283 42.4270450741,18.6996770757 42.4267828666,18.6998369936 42.4267838276,18.699851173 42.4268576933,18.7003385236 42.4275320203,18.7004649634 42.4278500337,18.7005259895 42.4282082339,18.7005530895 42.4284703167,18.7006961085 42.4286445585,18.7009045431 42.4287786131,18.7011294734 42.4287762723,18.7013702888 42.4286928677,18.7015176109 42.428476098,18.7015756258 42.4281997697,18.7015700927 42.4277939461,18.7014989441 42.4274467537,18.7013915972 42.4272100144,18.7012730795 42.4270801889,18.7010935384 42.4270459116,18.7006736753 42.4270507714,18.7003596896 42.4265176684,18.7008520034 42.426320508,18.7011264847 42.4261012506,18.7012569588 42.4258720375,18.7011804217 42.4256212315,18.7012208824 42.4253189462,18.701220882 42.4253156244,18.7014683597 42.4251063325,18.701738358 42.4250465186,18.7018698388 42.4250937599,18.7019990816 42.4249949547,18.7024393968 42.424823327,18.7028316771 42.4247260947,18.7032234643 42.4246736686,18.7035886544 42.4245862297,18.7036379404 42.4243973242,18.7036807544 42.424183485,18.7036562868 42.4239543069,18.7035304335 42.4237444386,18.703140181 42.4236574639,18.7026208003 42.4236593365,18.7024707816 42.423807808,18.7024031725 42.4238223402,18.7023572181 42.4237075487,18.7024060693 42.4235584719,18.7023402641 42.4234087084,18.7021989579 42.4233779883,18.7019249172 42.4233801663,18.7017942883 42.423195048,18.7018343169 42.4231031197,18.7020156251 42.4229371512,18.7026115715 42.4226757362,18.7029946801 42.4226089023,18.7035118908 42.4224103774,18.7040512443 42.4223271919,18.7045208733 42.4221975037,18.7047102245 42.4220085368,18.7048568882 42.4218525473,18.7049019432 42.4212495591,18.7052860189 42.4208544092,18.705364012 42.4207555141,18.7056101216 42.4206682662,18.705812389 42.4206339852,18.7059411996 42.4207234663,18.7060512102 42.4207738011,18.7061955652 42.420760466,18.7062913499 42.4207929731,18.7062954978 42.4208533234,18.7064583049 42.4209110691,18.7067367828 42.4209411138,18.7069734719 42.4208360639,18.7071230946 42.4206898571,18.7071964181 42.4202541731,18.7073569433 42.4200448549,18.7076145986 42.4198769992,18.7080585546 42.4195620413,18.7079024004 42.4195096931,18.7081261134 42.4189550281,18.708234368 42.4186085758,18.7078256654 42.4185611564,18.7086846988 42.4177187748,18.7094100283 42.4181537277,18.7093852697 42.4181819475,18.7094438643 42.4182545,18.7095279182 42.4182343677,18.7095797514 42.41828625,18.7097304508 42.4182407246,18.7098721 42.4180636281,18.7100591844 42.4178842212,18.7101400813 42.4178331243,18.7102301128 42.4179058626,18.7105561855 42.4177943246,18.7104909119 42.4176933662,18.710595979 42.4176681995,18.7107041195 42.4176817325,18.7108233827 42.417636019,18.7109293781 42.4174624628,18.7109697846 42.4173400874,18.7111532889 42.4175359121,18.7115542974 42.4174950051,18.7118931335 42.4173311155,18.7120914078 42.4170654187,18.712242631 42.4166335532,18.7123346237 42.4164667602,18.71257314 42.4163493154,18.7128107423 42.4163163118,18.7130287184 42.4161393193,18.713140754 42.4159648299,18.7131099408 42.4156800303,18.713075061 42.4153795679,18.7130709262 42.4153701605,18.7129056048 42.4149876088,18.7127997342 42.4149838571,18.7127409015 42.4149397227,18.71296992 42.4146724354,18.7127835871 42.4143964563,18.7125155769 42.4140873819,18.7121143506 42.4138427461,18.7120598791 42.4136281094,18.71199025911974 42.41359327063465,18.71189738964495 42.41360012887508,18.7117948044 42.4136312034,18.7114245769 42.4134379956,18.7117140342 42.4132503223,18.7118489194 42.4129821797,18.7118786057 42.4126783373,18.711963616 42.4126281694,18.7121635377 42.4126917118,18.7122578823 42.412754631,18.7126583919 42.4123321478,18.7126178054 42.4121798994,18.7126413236 42.4119578707,18.7127963055 42.4117833888,18.7130137895 42.4116872284,18.7130986714 42.4116487516,18.7130745949 42.4114342364,18.7130901848 42.4111770396,18.7132711215 42.4108675563,18.7133708611 42.41071977,18.7134721287 42.4104305194,18.7138055269 42.4100965029,18.7138596699 42.4100782342,18.7139446459 42.4098689624,18.7142269211 42.4097059922,18.7143869269 42.4095423022,18.7144060819 42.4094335458,18.7142922094 42.4093213516,18.7141181777 42.4091185213,18.7139549924 42.4089104433,18.7138337284 42.4088167919,18.7137808471 42.4087390479,18.7137701299 42.4086403895,18.713732611 42.4084777763,18.7137300927 42.4083472676,18.7136843438 42.4082194041,18.7136626278 42.4080481839,18.7136131084 42.4079057983,18.7134577431 42.4077453898,18.7133811123 42.4074242361,18.7130993427 42.4069930883,18.7127770748 42.4066397882,18.7123260767 42.4063735759,18.7119090976 42.4062214416,18.7116144736 42.4061643866,18.711217447 42.4062043372,18.710661224 42.4062954034,18.7103122609 42.406438267,18.7099142332 42.406558331,18.7093814008 42.406550803,18.7086947667 42.4065292439,18.7074650215 42.4063558009,18.7067058579 42.4062718647,18.7064780567 42.4062051905,18.7061945846 42.4061735658,18.7059418468 42.4063652968,18.7057038805 42.4065543933,18.7053666067 42.406723846,18.7049568071 42.4067840004,18.7047605405 42.4068672003,18.7046469678 42.4068039254,18.7040075462 42.406963407,18.7037576715 42.4070729266,18.7034077258 42.4071244734,18.7029923108 42.4071526401,18.702646916 42.4071045987,18.7024964025 42.4069504467,18.70239477757279 42.40687634761738,18.70226239954229 42.40678394880596,18.70212065628804 42.40669493752955,18.7019744229 42.4066025057,18.7017274242 42.4064145694,18.7015845038 42.4061991597,18.7015760068 42.4060279769,18.7016572743 42.4058726573,18.7018079061 42.4058197802,18.7019376113 42.4057932551,18.702068096 42.4056957491,18.7021202178 42.4056632987,18.7021977407 42.4056746837,18.7023422943 42.4056427867,18.7025346726 42.4056330174,18.7027679004 42.4056071108,18.7029611469 42.4055181699,18.7031397236 42.4054182201,18.703262871 42.4053152083,18.7033781745 42.4052531027,18.7035783055 42.4052106151,18.703841559 42.4051439322,18.7041839508 42.4049412095,18.7043995287 42.4048387471,18.7046573619 42.4048279542,18.7050305692 42.404920285,18.7052972721 42.4050810601,18.7054660978 42.4052652794,18.705691999 42.4054378246,18.7058892336 42.4056282198,18.7059973478 42.4057850458,18.7060544881 42.4057673652,18.7061375409 42.4056116776,18.7061916956 42.4054948636,18.7061616812 42.4052634154,18.7061560605 42.4051012011,18.7062913108 42.4049398091,18.7064837879 42.4048208142,18.7066914526 42.4048010247,18.7068570349 42.4049101356,18.7070938913 42.4050972953,18.7073510152 42.4050649666,18.7076318022 42.4049650643,18.7078717677 42.4048242903,18.7081151012 42.4047952632,18.7082788322 42.4049181195,18.7084875849 42.4050527734,18.7088294669 42.4051709397,18.7091617446 42.4052332414,18.7094199082 42.4051608648,18.7096355553 42.4050535449,18.7097943715 42.4049127053,18.7098550471 42.4047803341,18.7098509621 42.4047803099,18.7099521192 42.4044223559,18.709946357 42.4042505271,18.7098600466 42.404120466,18.7097847803 42.4040270821,18.7097825266 42.4038834368,18.7099313548 42.403756983,18.7101684694 42.4036469755,18.7104113771 42.4035086427,18.7105580346 42.4033920222,18.71059190712627 42.40326397952612,18.71060655571541 42.40314051788825,18.7105944454 42.4030701579,18.71057040554399 42.40296761725151,18.71052751627379 42.40289014585648,18.71043709781026 42.40281239322764,18.7103074621 42.402720046,18.7101563263 42.4026257473,18.7098079296 42.4025743423,18.7095557189 42.4025536598,18.7092244231 42.4026366754,18.7088797681 42.4025825484,18.7084049816 42.4025468368,18.7079074432 42.4025548481,18.7074925661 42.4025632045,18.7070647777 42.4026014699,18.7067325349 42.4026620663,18.7063457432 42.4026570444,18.7061266324 42.4024789053,18.7062211083 42.4022618247,18.7063809749 42.4021294701,18.706730805 42.4021451546,18.7068307472 42.4021022206,18.7068648819 42.4020126459,18.7070240044 42.4019482994,18.7072672053 42.4019443042,18.70756293 42.4018535634,18.7078959379 42.4017222347,18.7081403822 42.4016039818,18.7084547322 42.4014943043,18.7086427208 42.4014089876,18.7087509433 42.401396327,18.7089217705 42.4012377297,18.709170502 42.401096449,18.7093136902 42.4010434719,18.7095117928 42.4008948699,18.7097988537 42.4007257322,18.710025983 42.4005304961,18.7101201178 42.4003251113,18.7102062378 42.4002741354,18.710307923 42.4002489942,18.7104015237 42.4000927508,18.7103983802 42.400090392,18.7098435822 42.3993310381,18.7097511996 42.3992269067,18.7096728435 42.3991228583,18.7095252951 42.3989320796,18.7067924004 42.3955780404,18.7055339186 42.3940486798,18.7051269855 42.3934510711,18.7046906027 42.3936244346,18.7040663742 42.393672462,18.7037440559 42.3935396666,18.7039633433 42.3933333388,18.7036938069 42.3931371557,18.7028917699 42.3932414774,18.7025870754 42.393462887,18.7022687636 42.393777228,18.7017476181 42.3942112708,18.7011391211 42.3945703776,18.7010311 42.3946580932,18.7010841876 42.3947622427,18.7008471068 42.3948465445,18.7006262627 42.3949102512,18.7004087049 42.3950390086,18.7003410232 42.3950060864,18.7001554184 42.395140947,18.7000174505 42.3953115649,18.6999162847 42.3954114603,18.6998311605 42.3955084959,18.6997297335 42.3956320373,18.6994999041 42.3957843664,18.6993776492 42.3959816817,18.6992876082 42.3961614549,18.6992461171 42.3962942244,18.6993889657 42.3964074106,18.6994403129 42.3964697949,18.6994306785 42.3966175362,18.6992155492 42.3968881943,18.6990468026 42.3969649305,18.6987847477 42.3973747758,18.6986034496 42.3976104458,18.6984030993 42.3976674595,18.6980291712 42.398212475,18.6979323849 42.39840984,18.697687541 42.3986878212,18.6976601476 42.3987885711,18.6973653626 42.3988294893,18.697320613 42.3990737449,18.6972405333 42.3991858217,18.6969625114 42.3995403462,18.6967198854 42.3997683373,18.6964025515 42.3999402514,18.696346137 42.3999329576,18.6962747527 42.4000020585,18.6963158892 42.4001135581,18.6961546357 42.400220359,18.6962567405 42.4003530866,18.6961190629 42.4004565535,18.6960256415 42.4003899337,18.6957373561 42.4004890139,18.6958440911 42.4006287234,18.6957682284 42.4006769378,18.6956040372 42.4006237965,18.6954471403 42.4007619135,18.695492289 42.4009360178,18.6952744597 42.4010494307,18.6952050398 42.4009412353,18.6949615109 42.4009934525,18.6948554488 42.4010945194,18.6946473822 42.4012264503,18.6945255413 42.401271724,18.6943775203 42.4013119959,18.6941927277 42.4014150077,18.6942770993 42.4014954329,18.6941680507 42.4015698438,18.6940704277 42.4015014465,18.693674897 42.4017037564,18.693511772 42.4018223189,18.6935707004 42.4018979666,18.6934223512 42.4019593766,18.6935332346 42.4021054376,18.6934060363 42.4021617835,18.693524038 42.4023000991,18.69339118867213 42.40234267232345,18.6932805914 42.4023765102,18.6931377494 42.4022588135,18.6928870681 42.4023533537,18.6928177374 42.402264661,18.6926341708 42.4023310495,18.6924949606 42.4022029889,18.6923432657 42.4022488004,18.692377844 42.4023009351,18.6920950514 42.4024482836,18.6920326745 42.4024099605,18.691825926 42.4025183205,18.6916708169 42.4026038061,18.6917663439 42.4027414072,18.6916343995 42.4027975216,18.6915808446 42.4027360638,18.6911827185 42.4028538002,18.6912386574 42.4029574331,18.6904796487 42.4031825422,18.6903858277 42.4031261757,18.6899235369 42.4032488986,18.6899603793 42.403332816,18.6895550946 42.4034251979,18.6891144157 42.403475267,18.6889654257 42.4035092737,18.6887962557 42.403535675,18.6882950253 42.4036573133,18.6881526775 42.4037013353,18.6879060256 42.403709804,18.6878762452 42.4036547544,18.6876495213 42.4036932722,18.6876161123 42.4036606462,18.6874468854 42.4036920331,18.6874263141 42.4037193412,18.6873485809 42.4037238537,18.6872644289 42.4036983991,18.6869972882 42.4037266926,18.6870035668 42.4037691287,18.6865690886 42.4039610007,18.6864650285 42.4038944596,18.6862285228 42.4039081869,18.6859985545 42.4039497765,18.6858062055 42.403996655,18.6853637333 42.4040495875,18.6851373299 42.4040785509,18.6849458611 42.4040470239,18.6844915493 42.4041554313,18.6843864859 42.4041241218,18.6842969152 42.4041353655,18.684280014 42.4042178193,18.68375464600384 42.40426289302607,18.6837272279 42.4042309337,18.6835513591 42.404246364,18.6835477392 42.4042840824,18.6832958141 42.4042888551,18.6833283885 42.404358476,18.683103705 42.4043817266,18.6830803547 42.4043009656,18.6829042926 42.4043155576,18.6829305235 42.4044097727,18.6827025038 42.4044598745,18.6826641685 42.4043633455,18.6825790054 42.4043852149,18.6825903514 42.4044547052,18.682426115 42.4044962419,18.6823813356 42.4044332637,18.6817524137 42.4045346392,18.6815592397 42.4044569928,18.6811413376 42.4044544149,18.6805771682 42.4044509325,18.6798136318 42.4045210792,18.67969062 42.4045216515,18.679437751 42.40457069,18.6791064116 42.4046721448,18.6787788392 42.4048668906,18.6786227624 42.4051072846,18.678416021 42.4051894375,18.6781782842 42.4051581672,18.6780534308 42.4051365352,18.6778854777 42.4050014051,18.6777448565 42.4049468976,18.6776456376 42.4048002741,18.6773312333 42.4047685264,18.6770895633 42.4047282898,18.6769764086 42.4047424863,18.6768789082 42.4046291371,18.6769136082 42.4045948064,18.6769328976 42.4045442585,18.6769266601 42.4045442197,18.6768207524 42.4045320469,18.6766152007 42.4045054367,18.6764850244 42.4044332327,18.6764218616 42.4045019327,18.6761793295 42.4044359394,18.6760274344 42.4043938391,18.6760211938 42.4043938003,18.675955274 42.4044279534,18.675874672 42.4043813686,18.6759035162 42.4043147265,18.6758855038 42.4042524015,18.6757792042 42.4042701741,18.6756231377 42.4042738121,18.6754762812 42.4040171336,18.6751519298 42.4040012902,18.6750663255 42.4038141559,18.6749506974 42.4038812882,18.6748316769 42.4039580925,18.6747165461 42.4039816085,18.6745752183 42.4040001148,18.6745802315 42.4041358501,18.6744058659 42.4041735368,18.6743414805 42.4040640877,18.6742000133 42.4040947091,18.6741045432 42.4041207705,18.6741104971 42.40417412,18.6739787076 42.4042193413,18.6738661248 42.4041992237,18.67376389982371 42.40421745789015,18.673655752 42.4042415012,18.6736141736 42.4041492205,18.6733151493 42.404200631,18.6732851093 42.4042464543,18.6731537715 42.4042601645,18.6731378462 42.4042188976,18.6730293248 42.4042448582,18.672920831 42.4042683972,18.6727504464 42.4042552254,18.6723658252 42.4043351584,18.6720862788 42.4044036389,18.6720949788 42.4045029798,18.6719766732 42.4045240352,18.6719350414 42.4044365965,18.6718122924 42.4044460701,18.671558666 42.4045043513,18.6713370005 42.4046035412,18.67107304 42.4047144395,18.6709949647 42.4047355029,18.6709144162 42.4046894999,18.6707840155 42.4047485506,18.6706311072 42.4047906974,18.6704716303 42.404839987,18.6704414543 42.4049260065,18.6703662359 42.4049806131,18.670261859 42.4050326423,18.6702081017 42.4051951441,18.6701999644 42.4053387743,18.670181768 42.4055110782,18.67011196 42.4056591121,18.6698938035 42.4057343761,18.6696047698 42.405768486,18.6693000713 42.4057546031,18.6691577782 42.4055675885,18.6691663473 42.4055066433,18.6691479497 42.4053961487,18.6691566191 42.40532649,18.6690428471 42.4052996337,18.6690674513 42.4052126467,18.66904170946956 42.40517126899318,18.66897285101386 42.40513177795457,18.6688682451 42.4050893983,18.6687348394 42.4050595137,18.6686634003 42.4051142547,18.6685646939 42.4051455868,18.6684907596 42.4050754092,18.6682896808 42.4051148121,18.6680501699 42.4050755457,18.6676992806 42.405143053,18.6675309414 42.4050722809,18.6674905005 42.4051678823,18.6673682251 42.4051961603,18.6672707904 42.4051171197,18.6672003882 42.4050818199,18.6669833713 42.4051385485,18.6669746326 42.4052140164,18.6671078049 42.4052642349,18.6671421345 42.4053574022,18.6670744592 42.4054266896,18.6669697624 42.4054520558,18.6668804164 42.4054734236,18.6668855205 42.405545825,18.6669267175 42.4055789794,18.6668637195 42.405633408,18.6668900171 42.4056708547,18.6670894221 42.4056348285,18.66719865070564 42.40564236191515,18.66728843909208 42.40567318211048,18.6673321338 42.4057065317,18.6672038514 42.4057561638,18.6670221382 42.4058032665,18.6669056586 42.4058595516,18.6668202692 42.4057954169,18.6667854421 42.4057250215,18.6668154436 42.4056988943,18.666794959 42.4056724493,18.666690941 42.4056783735,18.6666518022 42.4057241801,18.6664165312 42.4057797167,18.6663179204 42.4058317277,18.666202712 42.4060349515,18.6662813762 42.4061670275,18.6660367877 42.406257593,18.66594853 42.4061846675,18.6657787943 42.406223072,18.6656307347 42.4061848575,18.6655061291 42.4061731068,18.6653753553 42.4061810543,18.665159406 42.4059706177,18.6651455566 42.4058556415,18.6652624306 42.4057892543,18.6653432474 42.4057288137,18.6653096754 42.4056927487,18.6652417642 42.4056869423,18.665184248 42.4056220436,18.6651101327 42.4055229796,18.6652052661 42.4054841412,18.6653273935 42.4054203757,18.6653058354 42.4053951424,18.6651522734 42.4054479536,18.6650927239 42.4053489813,18.6649393901 42.4053820742,18.6648902361 42.4054337513,18.6646652355 42.4053660021,18.6645097435 42.405375776,18.6644094845 42.405437886,18.6643069429 42.4054874329,18.66422719789009 42.40554438439327,18.66417938216515 42.40558450845002,18.66413859709913 42.4056563623655,18.6641149502 42.4057138882,18.6640517175 42.4058338382,18.6639432823 42.4059282634,18.6639233048 42.4060311734,18.6638235391 42.4060721536,18.6639668545 42.4062097806,18.6639551334 42.4062949096,18.6639113501 42.4063679473,18.6640989775 42.406386966,18.6642383276 42.406403698,18.6643237123 42.4064458481,18.6644470542 42.4064545528,18.66451775284633 42.40643396597363,18.6646246134 42.4064160446,18.66469323012397 42.40639358047694,18.6647736273433 42.40638341832965,18.66486024051061 42.40639107840131,18.66492426727642 42.40640808011682,18.66499460617801 42.40643460593412,18.66507781644263 42.40645884187008,18.66512744896034 42.40647101047872,18.66517410384498 42.40646300615411,18.66522683762896 42.40648467858873,18.66526978769458 42.40651933017315,18.66528066934764 42.40655022279224,18.6652800815 42.4065886058,18.66526819626422 42.40665684241302,18.6649911146 42.4068052756,18.6646740298 42.406911434,18.6643788131 42.4071056089,18.6641434133 42.4072731209,18.6638620437 42.4074572416,18.6635451125 42.4075498774,18.6632148405 42.4076086281,18.6628199752 42.407710909,18.6625626635 42.4077937799,18.6622644296 42.4078527312,18.6619471775 42.4079724014,18.6615025035 42.4080270436,18.6611067854 42.4080367677,18.6607288035 42.4080462923,18.6604828671 42.4080876548,18.6601785502 42.408150108,18.6599368982 42.4081008796,18.6599272377 42.4080984336,18.6597201641 42.4081305029,18.6594394524 42.4081072565,18.6590743008 42.4081240117,18.6587407229 42.408142062,18.6586211978 42.4081231647,18.6585343858 42.408195158,18.6581675509 42.4083197776,18.6578316809 42.408421923,18.6573607721 42.408518673,18.6569178627 42.4085838612,18.6565583137 42.4085947614,18.6563594875 42.4085703897,18.6562428984 42.408567545,18.65612993984005 42.40860421575761,18.6560400965 42.4086397569,18.6560027523 42.4086710214,18.6560248418 42.4087278682,18.6559163177 42.4087649786,18.6558799579 42.408712241,18.6554433613 42.4088312625,18.6554171474 42.4088836001,18.6552578696 42.4088825817,18.6551722712 42.4089051365,18.6550726239 42.4089129001,18.6548734277 42.4089200266,18.6546004368 42.4089496864,18.65449303310169 42.40898432841022,18.65441472846739 42.4089838269755,18.65433819412499 42.4089807670251,18.65424418326381 42.40898401957647,18.6540986934 42.4089894552,18.6538235679 42.4090091833,18.6535806116 42.4090434442,18.6535959103 42.4091175657,18.6533463169 42.4091661108,18.6533113066 42.4091181292,18.6530395533 42.409125938,18.6525627175 42.4092470478,18.6525342878 42.4091895566,18.6528394213 42.4090936121,18.652779468 42.4089666709,18.6528543237 42.4089265575,18.6528617467 42.4088454179,18.6527550869 42.4088399578,18.6525960111 42.4088914698,18.6525541379 42.408932891,18.6521191632 42.4090736223,18.6516481278 42.4091812298,18.6516148863 42.4092527783,18.6514284712 42.4092635408,18.6511244101 42.4092914872,18.6506965836 42.4094043224,18.6506287034 42.4093391186,18.650283751 42.4094833282,18.6501719923 42.4095811674,18.6502057493 42.4096292561,18.6500059108 42.4097575038,18.649774996 42.4099334228,18.6496555743 42.4100340287,18.64940633080525 42.41010392359251,18.6493488536 42.4100783634,18.6493454353 42.4100783414,18.6491332303 42.41009969,18.6489830327 42.410081053,18.6489390722 42.4100403843,18.6486473784 42.4101278605,18.6483278578 42.4102686558,18.6480045273 42.4104356823,18.64790568235667 42.41055339193743,18.6477343953 42.410573619,18.6474739097 42.4107405317,18.6470581774 42.4109191653,18.6464771504 42.4111086709,18.6465196037 42.4111972779,18.6463193944 42.4112655773,18.6462516926 42.4111660999,18.6455519426 42.4114747466,18.6451218481 42.4116673619,18.645117427 42.4117342519,18.6448077558 42.4118607286,18.6447466369 42.4118175043,18.6441694798 42.4120247777,18.6433647528 42.4122653308,18.6433462971 42.4123271685,18.6426719625 42.4126018303,18.642600815 42.4125311315,18.6423219101 42.4126337219,18.6417897822 42.412840967,18.6414318791 42.4129701543,18.6410677449 42.4130706566,18.6406161527 42.4131681949,18.6404405509 42.4132196832,18.6404656711 42.4132868355,18.6403583714 42.4133172373,18.6403233016 42.4132691596,18.640131011 42.4133612102,18.6401498223 42.4134139668,18.6400455044 42.4134659198,18.6400168293 42.413425061,18.6398212112 42.413524267,18.6397519049 42.4136290822,18.6396832575 42.4136788755,18.6395694469 42.4137116268,18.639449815 42.4136893135,18.6394049675 42.4136459565,18.6391999681 42.413676409,18.6389785311 42.4137715315,18.6388269977 42.4137781649,18.6387227664 42.4138588051,18.6384431518 42.4139255918,18.638367766 42.4138971444,18.6382915873 42.4139347656,18.6380397813 42.4139788616,18.6379195596 42.4139577444,18.6377884323 42.4139848405,18.6377511515 42.4139363116,18.6375274595 42.4139323057,18.6373374225 42.4139920526,18.6371583214 42.4140010447,18.6369293524 42.4141494822,18.6367898089 42.4142017139,18.6366611548 42.4142273465,18.6366888272 42.4142804797,18.6366205159 42.4143106882,18.63653560728735 42.41422442706827,18.6364761038 42.4141838028,18.6363611401 42.4141763867,18.6361778421 42.4142234849,18.635928585 42.4143151194,18.6357380172 42.4144038076,18.6355649329 42.4145392455,18.635345898 42.4147109228,18.6352095684 42.4148053006,18.6348972135 42.4149733793,18.6343789268 42.4151469094,18.6338979129 42.4152866574,18.6334606741 42.4153783273,18.633019096 42.4156074764,18.6325994084 42.415827578,18.6322230052 42.4160709402,18.6319781333 42.4162462414,18.6317462632 42.4163756764,18.6313685788 42.4165151578,18.6308933094 42.4166210867,18.6302573956 42.4167759417,18.6301769917 42.4168072216,18.6301976803 42.4168777981,18.630120795 42.4168727454,18.6300974977 42.4167635234,18.6299217703 42.4167873562,18.6294269478 42.4169817696,18.62917332418938 42.41710077326421,18.62890337002736 42.41720072767582,18.6285884069 42.4173012674,18.6280431339 42.4175586772,18.6277823251 42.417683731,18.6274282067 42.4178490733,18.621128 42.413713,18.617739 42.412231,18.615695 42.410241,18.612972 42.407755,18.612279 42.405925,18.615204 42.405908,18.617907 42.406227,18.621965 42.407038,18.62533 42.406019,18.629816 42.404493,18.634953 42.400629,18.639193 42.397103,18.638931 42.393269,18.637555 42.390609,18.637517 42.386774,18.637695 42.381937,18.637203 42.377605,18.640104 42.375253,18.644582 42.373227,18.647017 42.369377,18.6483225993 42.3631931651,18.648716426 42.3631537879,18.6489322652 42.3631328236,18.6489936691 42.3630577634,18.6491450483 42.3630503562,18.6493463525 42.362978993,18.6494907282 42.3629240306,18.6495920497 42.3629917565,18.6496514394 42.3630871587,18.6498447168 42.3630548686,18.650089815 42.3629856116,18.6502830698 42.3628985652,18.6504311236 42.3629343987,18.6504518741 42.3629980822,18.6505589064 42.3630384901,18.6505888849 42.3629274711,18.6507292913 42.3628727691,18.6510196673 42.3628640468,18.6512268148 42.3629236338,18.6515192931 42.3627689737,18.6517031798 42.3627464776,18.6518059023 42.3628469458,18.6517556912 42.362990135,18.6518173792 42.3630689839,18.6518629707 42.3631276133,18.6519968822 42.363084219,18.6522758538 42.362975374,18.6524102853 42.3628877273,18.6525542093 42.3629188257,18.6526961211 42.3628895631,18.6528397852 42.362942787,18.6529697674 42.3630019577,18.6530641951 42.3630749813,18.6531787665 42.3630556005,18.6531868624 42.3630616873,18.65332764 42.3631289733,18.6533270964 42.3631752366,18.6534602987 42.3631921839,18.6535368533 42.3631645126,18.6536152323 42.3632132937,18.6537699773 42.3632504949,18.6537754219 42.3632505298,18.6539520876 42.3632758018,18.6540275759 42.3634192319,18.6539695099 42.3636732366,18.6538338572 42.3640844566,18.6536148661 42.3645561913,18.6534942351 42.3648606684,18.6533955873 42.3651518951,18.6529496817 42.3663932878,18.6526593953 42.3672676138,18.6525022414 42.3675586696,18.6523172198 42.3678608526,18.6524245541 42.3679820761,18.652180648 42.3682985853,18.6520475032 42.3684450495,18.6520093151 42.3685213988,18.6525090769 42.3688866263,18.6533008303 42.3694082841,18.6539726132 42.3698435517,18.6546724246 42.3703785747,18.655185635 42.3707942939,18.6555347566 42.3711614877,18.6558955491 42.3715613954,18.6561015337 42.3718363233,18.6562244662 42.3719023891,18.6565320939 42.3718912983,18.6568502632 42.3718854965,18.657105153 42.3718505668,18.6573525777 42.3718495345,18.6576101785 42.3718851237,18.6578606812 42.3719232784,18.6580293795 42.3720053019,18.6581379353 42.3720921643,18.6581544179 42.3721941071,18.6581069489 42.3723243658,18.658024777 42.3723995674,18.658002139 42.3725221508,18.6577998009 42.3727038291,18.6577302479 42.3727868382,18.657685038 42.3728580807,18.6576890024 42.3728640669,18.6576557205 42.3729502877,18.6574401409 42.3731009157,18.6574349922 42.3731962574,18.6575951348 42.3733015947,18.6578193703 42.3734460866,18.6579032153 42.3735211327,18.6578901037 42.3736074825,18.6577438675 42.3736929836,18.657651432 42.3736625894,18.6576161701 42.3735729507,18.6574483068 42.3734377593,18.6573200532 42.3733654101,18.6571902666 42.3734241912,18.6570509127 42.373611071,18.6567948197 42.3738098536,18.6566469448 42.3738896941,18.6564985379 42.3740149723,18.6564946187 42.3740578641,18.6564261018 42.3740725735,18.6562319249 42.3740208426,18.6559845129 42.3741379139,18.6559810959 42.374137892,18.65590218 42.3741651573,18.655863706 42.374240647,18.6556575327 42.3743377851,18.6554860019 42.3743947522,18.6551766945 42.3745442452,18.6550120551 42.3745962069,18.6547446369 42.3746702315,18.6545621106 42.3747902409,18.6541994433 42.3749191861,18.6540693116 42.3749279582,18.6537773565 42.3750605691,18.6536119507 42.3751203458,18.6534859643 42.3751451535,18.653329 42.3752241957,18.6530722403 42.3753122033,18.6527280832 42.3754604867,18.6524845109 42.3755325681,18.6522449321 42.3756334926,18.65211909675557 42.3757692385588,18.6519342713 42.3758812512,18.6519072105 42.3759707328,18.6519870247 42.3760425908,18.6521143174 42.3760906358,18.6520448345 42.3761446816,18.652081992 42.3763301944,18.6521402296 42.3763959594,18.65227692741957 42.37640300116968,18.65230619464159 42.37646979435937,18.6522518731 42.3765201925,18.6521328323 42.3766066152,18.6521882479 42.3769121277,18.6522981389 42.3771852945,18.6525402006 42.3775101694,18.6526409431 42.3777251524,18.6527764496 42.377911296,18.6528712472 42.3777956541,18.6530341183 42.3777458398,18.6531514516 42.3778047177,18.6532621168 42.3780124985,18.6534060947 42.3783149472,18.6534471496 42.378587674,18.6533808321 42.3790369137,18.6532596933 42.3794288858,18.6531164513 42.3798422362,18.6529668732 42.380174844,18.65270178 42.3804206285,18.6526561835 42.3805817398,18.6528145078 42.3807441599,18.6527686582 42.3809267905,18.6526281298 42.3811088137,18.6525238884 42.3813018304,18.6523108444 42.3814564879,18.6521845612 42.3816655043,18.6522338314 42.3818110858,18.652421797 42.3819306564,18.65252793833062 42.38212910338368,18.6526226347 42.3823313017,18.6526334644 42.3823394415,18.6528491589 42.3825788995,18.6530540247 42.3828102172,18.6533863299 42.3828890164,18.6538396617 42.3828959578,18.65406916910133 42.38288421955658,18.6542547091 42.3829066875,18.65462612157569 42.38288778944997,18.6548825065 42.3829429887,18.65514465796879 42.38303084172752,18.6553502879 42.3831154584,18.65555354029977 42.38311496951372,18.65574196959372 42.38317827835523,18.655774421 42.3832836127,18.6557788439 42.3833724146,18.6557213838 42.3836141572,18.6555406693 42.3837267668,18.6554446372 42.3836761926,18.655381968 42.3838018815,18.655336043 42.3838729593,18.6554647275 42.3838856776,18.6554825453 42.3840142602,18.6552631256 42.3840485428,18.6552589008 42.3841341616,18.6553668955 42.3842633213,18.6555769049 42.3842075668,18.6557158373 42.3841703901,18.6558310544 42.3842329819,18.6559205347 42.3842930301,18.6558875761 42.3843570539,18.6558194414 42.3843994414,18.6557831783 42.3844705813,18.6557345065 42.384501198,18.6557402507 42.3845607111,18.6558107143 42.3845944683,18.655952645 42.3845763428,18.656072282 42.3845366633,18.65621549714383 42.38451971482242,18.6562912566 42.3845404412,18.6562907273 42.3845856399,18.6562254233 42.3846613527,18.6562440229 42.384723327,18.6562173663 42.3847992868,18.6562618146 42.3848542892,18.656358239 42.3848715586,18.65643598 42.3848339901,18.656501089 42.3847749293,18.6565817871 42.3847908184,18.6566411164 42.384828725,18.6566134455 42.3848947737,18.6565831221 42.3849321079,18.6566780026 42.3849967316,18.6568982426 42.3850754006,18.65703127182723 42.38513105451202,18.6571601665 42.3851675805,18.6575209683 42.3852383154,18.6577861668523 42.38526977428516,18.6579507644 42.3852874143,18.65813744939736 42.38527736546467,18.6582799337 42.3852519847,18.65846793782999 42.38520455522558,18.658663489 42.3851661275,18.6586664775 42.3851661466,18.6588525873 42.3850966911,18.6590947068 42.3850938178,18.6593866212 42.3850829051,18.6597438039 42.3851562249,18.6600762013 42.3850636069,18.6605703258 42.3848496543,18.6610751358 42.3846357671,18.6613436395 42.3845230038,18.6616496392 42.384402583,18.6626354995 42.383992563,18.6632150043 42.383857364,18.6638069416 42.3838508218,18.6643209804 42.3839569356,18.6647233219 42.384088058,18.66483264 42.3842687621,18.6648025868 42.3844588727,18.6646410172 42.3845812905,18.6644948016 42.3845803671,18.6642587866 42.3845171572,18.6638640621 42.3843295057,18.66352466031082 42.38419638273371,18.6631481063 42.384222112,18.6627151118 42.3843325222,18.6622048098 42.3845041596,18.6616380253 42.3847422987,18.6611901392 42.3849349006,18.6609451866 42.3850413542,18.6611582209 42.3852844393,18.6614143487 42.3854146455,18.6617256413 42.3855914899,18.6621688096 42.3858051717,18.6627224298 42.3861018429,18.6631724472 42.3863258509,18.6637994002 42.3863041002,18.6641077306 42.3861363222,18.6643604166 42.3859630487,18.6645646595 42.3857637526,18.6647131396 42.3855692474,18.6645898342 42.3853935987,18.66436664314739 42.38527256292561,18.6641188708 42.3851746074,18.66384595334624 42.38504237325939,18.6638653035 42.3848232647,18.6640265768 42.3847265627,18.6643047851 42.3847540369,18.6645261611 42.384878873,18.6648988727 42.3851641045,18.6651739908 42.3854590056,18.665394064 42.3856969834,18.6655872986 42.3858473567,18.6657472654 42.3858637955,18.6660529178 42.385927442,18.6663027499 42.3860010226,18.6666570866 42.3860701181,18.6670326106 42.3861136298,18.66723990145811 42.38613361314347,18.66745541766991 42.38620291994288,18.6675416372 42.3863092063,18.6676369514 42.3863265144,18.6677428968 42.3862937631,18.6678989161 42.3862780353,18.6679798134 42.3862377003,18.6680104867 42.3861933365,18.6680756835 42.386206742,18.6681559818 42.3862183858,18.6682319804 42.3861668807,18.6682947708 42.3861709883,18.6683280427 42.3861192147,18.6683645334 42.386006196,18.66838927363584 42.38597104435556,18.66842754973463 42.3859541636432,18.6684833222 42.3859493901,18.6686069664 42.3859074667,18.668700002 42.3859043379,18.6687502044 42.3859102228,18.668790909 42.3858677783,18.6688562339 42.385870045,18.6689191525 42.3858630139,18.6689421355 42.3858315973,18.6690101661 42.3858171721,18.6690461216 42.3857505628,18.6690617143 42.3857061041,18.6690975415 42.3856506331,18.6691706628 42.3856306702,18.6692357955 42.3856496441,18.669308319 42.3856816601,18.6693536228 42.3856763747,18.6693466381 42.3856280612,18.6693924972 42.3855745095,18.669456035 42.3855136424,18.6695167177 42.3854824619,18.66957073888472 42.38545461228097,18.66962512624557 42.38544331857092,18.6697232804 42.3854429133,18.6698118023 42.3853951982,18.6699028374 42.3853474987,18.6699211992 42.3852807783,18.6699492514 42.3852456797,18.6700042673 42.3852701595,18.6700138512 42.3853110634,18.6701290251 42.3853490896,18.6702680377 42.3853383784,18.6703154576 42.3853055827,18.6703567086 42.3852247637,18.6703550196 42.3851767685,18.6703642456 42.3851536613,18.6704246873 42.3851573493,18.670481067 42.3851246096,18.6705527466 42.3851250585,18.6705974323 42.3851352663,18.6705996913 42.3851336258,18.6706917778 42.3851126921,18.6707658114 42.3851032278,18.6708202359 42.385045656,18.6709378476 42.3849970246,18.6709964965 42.3849623337,18.6710955851 42.3849757023,18.6711284196 42.3849344755,18.6710924405 42.3848736954,18.67110275018112 42.38484839332028,18.6711491329 42.384821463,18.67120865404666 42.38481981320145,18.6712567956 42.3848396659,18.67125489081449 42.38486795517844,18.67128203511964 42.38490711602024,18.671326944 42.3849309372,18.67136249242401 42.38490053041407,18.6713944958 42.3848723985,18.6714252458 42.3848247844,18.67144528819397 42.38479470966124,18.67146260171447 42.38474962390454,18.67151075007617 42.38473574666353,18.6715795451 42.3847269495,18.6716812657 42.3846989018,18.6718067712 42.384666222,18.67187320483443 42.384642431434,18.671962515 42.384630544,18.672117985 42.3846187673,18.6722150078 42.3846241542,18.672370533 42.3846075968,18.6725981067 42.3845165919,18.6726957687 42.3844662078,18.6728108534 42.3844015902,18.6730294367 42.3843196664,18.6731494966 42.3842547851,18.6731194637 42.3842170943,18.6731809881 42.3841649737,18.6732495701 42.3841616514,18.6733215486 42.3840833436,18.673397789 42.3840763186,18.6734339069 42.3840259144,18.673528946 42.3839289985,18.6735927083 42.3839031437,18.6736482764 42.3839278674,18.6737340492 42.3839752815,18.6737862554 42.3838499705,18.6738221158 42.3838220665,18.6739061432 42.3838000881,18.6739549749 42.3837478875,18.674038793 42.3836835366,18.6740998822 42.3837013303,18.6741512441 42.3837451826,18.6742059975 42.3836985091,18.6742818267 42.3836641559,18.67423318 42.3835889774,18.6743090488 42.3835511419,18.6743819837 42.3835637854,18.6744217185 42.3835936348,18.6744594143 42.383595611,18.674563689 42.3835475045,18.6746651093 42.3835429124,18.6746523971 42.3834174605,18.6747474611 42.3833501423,18.6748515763 42.3833159648,18.6750308245 42.3833083742,18.6750623227 42.3832336947,18.6751007932 42.383167765,18.6751739465 42.3831612551,18.6752227529 42.383222504,18.6754067753 42.3832097185,18.6755162801 42.3831163696,18.675655853 42.3830737051,18.6757338402 42.3830567769,18.675788831 42.3829892079,18.6758784257 42.3829880234,18.6759157244 42.3830248226,18.6759133673 42.3830248079,18.6760142524 42.3830256671,18.6761297808 42.3829417558,18.6763317209 42.3829021553,18.6764581696 42.3829000228,18.676580402 42.38292121,18.6767977783 42.3829138053,18.6769437801 42.3829293032,18.6770463931 42.382938695,18.67713677797874 42.38293255758747,18.6772400997 42.3829282241,18.6772869412 42.3829781252,18.6773258819 42.3830279772,18.6774291921 42.3829760895,18.6775757585 42.3829419795,18.6776545693 42.3829599779,18.6777967208 42.3829666958,18.67790166126763 42.38294558827489,18.6779908592 42.3829182887,18.678129591 42.3828782928,18.6782362215 42.3828818717,18.6782353927 42.3829548232,18.6783199202 42.3829550357,18.6784877113 42.3829223485,18.678551886 42.3829002614,18.6786001525 42.3829387842,18.6787226438 42.3828743376,18.6788601749 42.3828257232,18.6790521619 42.3828066757,18.6792836921 42.3827901211,18.6795035824 42.3827262763,18.6796350759 42.3826731266,18.6797626335 42.3826986486,18.6798812638 42.3827061275,18.6800125787 42.3826687154,18.68009901614574 42.38264898687199,18.68022851352046 42.38264530530946,18.6803231702 42.3826593925,18.6804691693 42.3826692883,18.6805602533 42.3826900871,18.6806303516223 42.38270605979521,18.6806966379 42.382742644,18.6807473897 42.3828306474,18.6808262737 42.3828536191,18.6808498098 42.3829257153,18.6808642654 42.3829932585,18.68108262062652 42.38306693137943,18.6812620043 42.3831738949,18.6814890319 42.3832742169,18.6815773953 42.3833553645,18.68163320433401 42.38340344422523,18.6816803897 42.3834585847,18.68176477934108 42.38352413173302,18.6818227723 42.3835876939,18.6818364508 42.383694027,18.68181171531318 42.3838011555051,18.68177745778014 42.38392974675461,18.681743449 42.384023191,18.6815452549 42.3844433008,18.6813263895 42.3849365598,18.6811917207 42.3851612368,18.6811946281 42.385316042,18.6813830584 42.3854778115,18.6819920698 42.3857024014,18.6825005832 42.3858008951,18.6830844045 42.3858496605,18.6835605329 42.3858074194,18.6839969121 42.3856745908,18.6842701646 42.385545777,18.684523146 42.3854067999,18.684769163 42.3852828362,18.684825497 42.3851075178,18.6847628855691 42.38494337182166,18.6847685277 42.3847357635,18.68479234357939 42.38457398610927,18.6848197062 42.3844148617,18.68484214971596 42.38427875531058,18.68486780606719 42.3840967885269,18.6849088832 42.3839091445,18.6849167011 42.3836679303,18.6848074428 42.3833996092,18.6846109651 42.3831722193,18.6843119166 42.3829894356,18.6839362807 42.3828099497,18.6835613693 42.382566381,18.6834822696 42.3823397095,18.6834887785 42.3821806592,18.683347417 42.3820903942,18.68338461 42.3819486423,18.6836497707 42.381792517,18.6840152989 42.3815739051,18.6843088713 42.3814232107,18.6846152587 42.3813987998,18.6847786269 42.3814313544,18.6849367707 42.3812956019,18.6851649739 42.381260192,18.6853784079 42.3812720183,18.6856352625 42.381221007,18.6857278019 42.3812215741,18.6857786955 42.3811272312,18.6859122952 42.3810750074,18.6859917269 42.3809957219,18.6860753744 42.3809781045,18.6861732584 42.3810040866,18.6862433612 42.3808812316,18.6863327718 42.3807875031,18.6865200656 42.3807197563,18.6866923081 42.3806809251,18.6867274402 42.3806122459,18.6868206594 42.3806164428,18.6869040618 42.3806205795,18.6870275856 42.3805488153,18.6870380939 42.3804872374,18.6869752026103 42.38037605763343,18.68692449557521 42.38025892614005,18.6869046044 42.3801346962,18.6869212414 42.3799643747,18.6869377563 42.3798049304,18.68699496756837 42.37969240179692,18.687082539 42.3795882543,18.6872327178 42.3792839631,18.6875419084 42.3789830446,18.6877654371 42.378777732,18.6881719987 42.3784966339,18.6885989352 42.3781387545,18.6891155011 42.377911196,18.6896399665 42.3775587128,18.6901437406 42.3772574632,18.69034662338867 42.3770961029781,18.6904400252 42.377011447,18.6905883971 42.376867788,18.6908905151 42.3767250646,18.6909769685 42.3764932571,18.6909438117 42.3763330028,18.6909108854 42.3761520976,18.6906960299 42.3759907363,18.6901804432 42.3758481937,18.6894539768 42.3756847466,18.6889516092 42.3755773798,18.6886151175 42.375366723,18.6884049864 42.3752194177,18.688131641 42.3750961424,18.6878608584 42.3746987208,18.6878160244 42.3743135727,18.6876988984 42.3736631566,18.6878255341 42.3733346568,18.6878158268 42.3728293326,18.6879716054 42.3726429397,18.6878510143 42.3724321482,18.68793596774149 42.37229401745913,18.6880529258425 42.37216234515538,18.68817343684815 42.37206893988736,18.6883325672 42.3719752439,18.6886023296 42.3719030895,18.6887353055 42.3716938471,18.688951406 42.3716100095,18.6892666344 42.3715949024,18.6892769204 42.3713622015,18.6894709196 42.3711930699,18.6897270227 42.3709675445,18.6898217654 42.3707410339,18.6899687395 42.3703357668,18.6900566495 42.3701914002,18.690224753 42.3698910275,18.6904158063 42.3696429592,18.690748061 42.3693957504,18.6912047925 42.3692420357,18.6915199323 42.3691222344,18.6917023794857 42.36911614828773,18.692016271 42.3689339796,18.6926774086 42.3687409262,18.6935261709 42.3686069662,18.6942734712 42.3684260142,18.6947963035 42.3683203525,18.6951222247 42.3682322961,18.6953874437 42.368123865,18.69585875876777 42.36803980990563,18.697382 42.368824,18.703714 42.372119))",
Bar =
"POLYGON((19.064133 42.300501,19.06117 42.297861,19.058672 42.296216,19.056418 42.295737,19.054855 42.296252,19.050379 42.297295,19.048158 42.298816,19.045912 42.298837,19.044335 42.298518,19.042549 42.299201,19.041677 42.300877,19.040541 42.300054,19.039172 42.298732,19.037375 42.298749,19.036742 42.301256,19.036111 42.30393,19.033212 42.30529,19.030078 42.305986,19.028292 42.306669,19.027156 42.305846,19.024897 42.305033,19.023316 42.304547,19.021483 42.302229,19.023483 42.300877,19.025034 42.299529,19.024762 42.29653,19.026067 42.29385,19.028495 42.29116,19.031171 42.289968,19.034055 42.287774,19.035806 42.284923,19.037792 42.282737,19.039126 42.281891,19.039527 42.278886,19.039273 42.277054,19.038816 42.276558,19.03365 42.276439,19.03071 42.275132,19.030889 42.272295,19.03086 42.270461,19.029711 42.268805,19.028779 42.266645,19.029423 42.264805,19.027162 42.263825,19.025594 42.264006,19.024028 42.264354,19.021783 42.264374,19.020379 42.260719,19.018111 42.259238,19.015644 42.259427,19.013875 42.261111,19.011424 42.2623,19.009182 42.262487,19.007632 42.263835,19.00452 42.265864,19.00321 42.26821,19.001435 42.269559,18.998305 42.270421,18.994494 42.270788,18.990241 42.27166,18.988461 42.272676,18.985792 42.274367,18.982213 42.275232,18.981824 42.279237,18.981209 42.283078,18.979897 42.285424,18.975891 42.287793,18.96985 42.289346,18.964229 42.288894,18.959745 42.289432,18.956404 42.291295,18.952823 42.292159,18.950578 42.292178,18.948354 42.293698,18.946579 42.295213,18.942573 42.297748,18.943944 42.294414,18.944578 42.291741,18.941806 42.286428,18.940647 42.283936,18.940157 42.281106,18.941451 42.277426,18.942539 42.275083,18.944528 42.272898,18.945849 42.271053,18.946054 42.269717,18.945583 42.26822,18.947581 42.266703,18.951597 42.265001,18.952661 42.26099,18.9524 42.258491,18.95459 42.254804,18.956117 42.25179,18.96119 42.245744,18.966274 42.240531,18.971387 42.237319,18.972701 42.235139,18.972668 42.232972,18.971083 42.231985,18.970375 42.229657,18.973493 42.228129,18.97549 42.226611,18.975694 42.225275,18.981244 42.221392,18.984576 42.219195,18.985871 42.215849,18.986282 42.213344,18.990961 42.211302,18.997661 42.209408,19.001218 42.207376,19.002306 42.205198,19.003175 42.203356,19.005183 42.202671,19.008763 42.202139,19.010768 42.201287,19.008038 42.198811,19.006448 42.197491,19.009293 42.192963,19.010813 42.189781,19.013235 42.186925,19.015688 42.186069,19.017461 42.184719,19.017437 42.183218,19.006607 42.178813,18.999367 42.174542,18.991673 42.169774,18.984238 42.167338,18.9795371115 42.1666098082,18.980187432 42.1664265214,18.9806741725 42.1663209376,18.981160875 42.1661852789,18.9815613181 42.1660158455,18.9820175717 42.1658651665,18.9822964382 42.1658085858,18.9825348509 42.1658460095,18.9826620884 42.1658705962,18.9829665956 42.1658000619,18.9833359631 42.1656887689,18.9836703468 42.165555293,18.9839298623 42.165447777,18.9839147007 42.1653071454,18.9839195889 42.1652257174,18.9839644571 42.1651701687,18.9839443883 42.1650961606,18.9840441636 42.1650257685,18.9842288345 42.1649627181,18.9843187716 42.1650070675,18.9844487033 42.1650883995,18.9845786979 42.1652178457,18.9847883019 42.1651288687,18.9849179786 42.1650140408,18.9850126873 42.1648881344,18.9850873888 42.1647363342,18.9851721831 42.1646659515,18.9852369316 42.1645400659,18.9852417894 42.1644364305,18.9850717039 42.1641959786,18.9849118229 42.1641220707,18.9847290715 42.1641176788,18.9843597153 42.163812817,18.9844960057 42.1636844241,18.9846803224 42.163417934,18.9849097054 42.163266093,18.9849644264 42.1631291747,18.98507908692278 42.16301004888595,18.9852089406 42.1630994029,18.9852736961 42.1630031707,18.9854541179 42.1628157806,18.98561702384935 42.16267242097689,18.9857443646 42.1624838643,18.9858819067 42.1623703605,18.9860385986 42.1622766882,18.9861111267 42.1621689013,18.9861492955 42.1621093363,18.9861528427 42.1618995354,18.9863067212 42.1618274962,18.986364701 42.1619132402,18.9865562454 42.161811229,18.9867550834 42.1617547859,18.986954061 42.1618028945,18.9871349847 42.1618724625,18.9871423761 42.1619904131,18.9870919266 42.1621271721,18.98717818271213 42.16211901798116,18.987301698 42.1621323789,18.9873273531 42.1623843568,18.9872154929 42.1625747774,18.9869336958 42.1628001735,18.9867567589 42.1630094073,18.9866701233 42.1631327886,18.9866922684 42.1632594839,18.9867672205 42.1633414367,18.9868452362 42.1632810798,18.9869721362 42.1632761626,18.9869104231 42.1633606276,18.98686248665324 42.16346633891398,18.98705739272966 42.16365479702265,18.9873535399 42.1637848108,18.9877539551 42.1639099374,18.98809840019103 42.16397886224858,18.9885805703 42.1639744444,18.9889970334 42.1639331278,18.9893483733 42.1638605029,18.9895239439 42.1637518301,18.9896246308 42.1636142699,18.9896569324 42.1634405813,18.9896958815 42.1633681916,18.9896957487 42.1632717115,18.9898220507 42.1631824955,18.9899191724 42.1630659365,18.9900126175 42.1629965289,18.9901398027 42.1629742442,18.9902519865 42.1629270097,18.99057818076921 42.16275778541326,18.9906706023 42.162604967,18.99074275508726 42.16251666245745,18.9908919898071 42.16248956222868,18.991003815 42.1623086549,18.9910854802 42.1621670021,18.9910717464 42.16210296,18.9909899112 42.1621232503,18.9909352315 42.1620491263,18.9909896891 42.1619648045,18.991025983 42.1619007238,18.9910258365 42.1617962168,18.9910666453 42.161708534,18.9911666577 42.1616781159,18.9912597065 42.1616404919,18.9913547822 42.1615966466,18.99146726254801 42.16149099337286,18.9916266255 42.1612803065,18.9916887607 42.1611416474,18.9916394593 42.1610760279,18.9914097196 42.1610056845,18.99140127189914 42.16090575036434,18.9913456511 42.1608354022,18.9913814217 42.1607229242,18.9914628250448 42.16061256411592,18.9914569922 42.1605245977,18.9914209464 42.1604417671,18.9913290195 42.1603648982,18.9912091981 42.1603235614,18.99108300934124 42.16033578861232,18.9909417562 42.1603444819,18.9908538301 42.1602735277,18.9907099523 42.1601582276,18.9907137949 42.1600516918,18.99071743495365 42.1598880681584,18.99083504568371 42.15975862472325,18.9909189154 42.1596994125,18.9910399121 42.1595966918,18.9911695342 42.1594747217,18.9913121533 42.1593655696,18.9914504771 42.1592788705,18.99165097691822 42.15917973000259,18.99175539915962 42.15912963737917,18.99187146504047 42.15913746312515,18.9919176135 42.1591951226,18.9919436584 42.1592560375,18.99192623685583 42.15933948468808,18.9919517246548 42.15942416422205,18.99201159473675 42.15945405417498,18.99210600729708 42.15940392632489,18.99229995204458 42.15944318833186,18.9924329057 42.1595090172,18.9926060598 42.1595762306,18.9928442123 42.159713949,18.9928962355 42.1597876716,18.99296720059078 42.15986864191336,18.9930824628 42.1599190162,18.99318901886421 42.15996419405212,18.9933162228 42.1600086305,18.9933768677 42.1600598962,18.9934721528 42.1601303772,18.99355936879157 42.16016096625238,18.9936539457 42.160184754,18.9938443324 42.1601974311,18.9940606555 42.1601940517,18.9941818365 42.1602196119,18.9943222132184 42.16023233904065,18.9944544064 42.1602161868,18.9945693809 42.1601641982,18.9946782785 42.1601802519,18.9947762299 42.1601559615,18.99491362607493 42.160105455114,18.995008412 42.1600992807,18.9950157688 42.1601665294,18.9949723215 42.1602365092,18.9948998095 42.1602849908,18.9947873532 42.1603173635,18.9947874515 42.1603846179,18.9948383934 42.160476043,18.9948312138 42.1605298523,18.9948712723 42.1606239763,18.9949331099 42.1607207729,18.9950094249 42.1607906561,18.995082115 42.1608632323,18.9952999845 42.1609437619,18.9954633456 42.160975912,18.9955866866 42.1609408398,18.9956519763 42.1609165753,18.9957428256 42.1609972071,18.9956340807 42.1610860712,18.9955869964 42.1611506737,18.9957104771 42.1612097578,18.995895635 42.1612553408,18.996102549 42.161287455,18.9963166781 42.161289971,18.9965235252 42.1612763514,18.9968065148 42.1612142456,18.9972200866 42.1611036081,18.9981064093 42.1608347726,18.9991877703 42.1604196666,19.0000709892 42.159985888,19.0010311162 42.1593929591,19.0020685742 42.15866349,19.0027915602 42.1579508077,19.0030203179 42.1577643783,19.0032490389 42.157556039,19.0037802489 42.1570680869,19.0040900111 42.1567172604,19.0042460706 42.156430183,19.0043364831 42.1561550775,19.0043058808 42.1559586577,19.0043208695 42.1558632273,19.0042112534 42.1558792822,19.0041710568 42.1557429931,19.0043987861 42.1556568475,19.0044566266 42.155537566,19.0045022564 42.1553663245,19.0044261428 42.1552685936,19.0044099511 42.1551441371,19.0043180194 42.1551531093,19.0042459755 42.1550998284,19.004245679 42.1549160856,19.0042454111 42.1547501239,19.0041054051071 42.15468087920197,19.00396105197503 42.15467538181139,19.003993196 42.1544024714,19.0040239736 42.1542711672,19.0038644747 42.1541925413,19.0038420649 42.1540219003,19.0038596342 42.1538564314,19.0038382618 42.1536153116,19.0037383637 42.153479273,19.00332626882677 42.15330737163974,19.00311428671618 42.1531197071666,19.0028513739 42.1532505792,19.0026779612 42.15307182,19.0026251514 42.1528540619,19.002629995 42.1526012488,19.0026766529 42.1522511641,19.0027678547 42.1518422331,19.0029222227 42.1516245642,19.0032259104 42.151371168,19.0032680706 42.1510468066,19.0032569887 42.1507897291,19.0031872421 42.1505445675,19.0029912433 42.1501651061,19.0027186518 42.1499634853,19.0024188715 42.1497849571,19.0021545938326 42.14975528420573,19.0019637007 42.1497276781,19.0019285128 42.1496123604,19.0019788726 42.1494825502,19.0019164896 42.1493874419,19.0019785405 42.14927204,19.0020288496 42.1491105087,19.00204133309213 42.148943984605,19.00208122422373 42.14880499913813,19.0021293209 42.1486951665,19.0021019255 42.1485884924,19.002182302 42.1482964201,19.0022435948 42.1480645282,19.0023490321 42.1478979045,19.0024809042 42.1477377884,19.0024784017757 42.14763106039861,19.0024893141 42.1474863499,19.0025683974 42.1473654633,19.002599014 42.1472315574,19.002651672 42.1471106935,19.0027176044 42.147029002,19.0028590295 42.1467792793,19.0030967356 42.1465878977,19.0033096886 42.1464222723,19.0034928304 42.1462199087,19.0035469915 42.145980894,19.0036804525 42.1457197508,19.0037791857 42.1454476083,19.0039473305 42.1451717273,19.004147497 42.1447016075,19.0042245294 42.1444457538,19.00452282904462 42.14417630785813,19.0047023867 42.1438972181,19.00500863353269 42.14365633718702,19.0051023131259 42.143668570796,19.00514492745574 42.14370843815861,19.00511512051579 42.14376395008536,19.00525412995575 42.14381010155608,19.0055398827 42.1437137667,19.0057649489 42.1435778417,19.006081443 42.1433844123,19.0062678752 42.1432258813,19.0063612365 42.1430289798,19.0062984994 42.1428582686,19.006161891 42.1424642831,19.0061023567 42.1422886174,19.0062022699 42.1420756365,19.0063705981 42.1418963859,19.0064842148 42.1417036678,19.0065797574 42.1416055839,19.00656587045471 42.14155579732167,19.006488199827 42.14150368953306,19.00650481155617 42.14142597598632,19.0065974961 42.1413081964,19.006592805 42.1412270992,19.0065152081 42.1411528265,19.0065499965 42.1409216008,19.0066175557 42.1406821995,19.0068719923 42.1404468275,19.0070415272 42.140236726,19.007267925 42.1401693367,19.0073586054 42.1402154424,19.0075311589 42.1400658758,19.0076951642 42.139864285,19.0078725582 42.1396477605,19.008026536 42.1394685611,19.0081603981 42.1392943538,19.0084280969 42.1389856738,19.0085410744 42.1387458051,19.0086625433 42.1385619775,19.0088217777 42.1383625459,19.0089013631 42.1382441471,19.008875937 42.1381071626,19.00882033019774 42.13796719704121,19.00885378544661 42.13788583896118,19.0089215924 42.1377895103,19.0089592482 42.1377085159,19.00891287497646 42.13763616964829,19.0089128369 42.137577778,19.0089128316 42.1375746642,19.0090050762 42.1374936191,19.0091516357 42.1372506038,19.0093421477 42.1370798666,19.0095539297 42.1368454087,19.0096951323 42.1366984271,19.0097136836 42.1365165954,19.0098526355 42.1364159795,19.0099190895 42.1361679583,19.0101074524 42.1358964856,19.0101857757 42.1356892931,19.0102407447 42.135627981,19.0103234249 42.135668744,19.0104925894 42.1356744195,19.0105318178 42.1356102048,19.0104646484 42.1354381545,19.0103267104 42.1352895076,19.0102603687 42.1352129862,19.0103101922 42.1351217079,19.0104138004 42.1350075712,19.0103636751 42.1349220887,19.0103941974 42.1347852125,19.0105093626 42.1346853198,19.01064304298072 42.13460185930711,19.010578188 42.1344657286,19.0106087143 42.1343317029,19.0106277559 42.134226198,19.010608367 42.134129282,19.0107235798 42.1340578985,19.0109206988 42.1339620491,19.0111030275 42.1338861047,19.0112343557 42.1338616252,19.0113839996 42.1338777204,19.011566514 42.1339100211,19.0117452809 42.1338854959,19.0119169791 42.1339935784,19.0119754783 42.1340584701,19.0119245493 42.1341505276,19.0118844974 42.1342019825,19.0119576123 42.134277685,19.0120415811 42.1342992541,19.0120416749 42.1343533769,19.0120673507 42.1344291245,19.0121587778 42.1345426955,19.0122647363 42.1346183665,19.0124106809 42.1346046962,19.0125237968 42.1345991757,19.0126004821 42.1346288699,19.0126224812 42.1346883841,19.012710067 42.1346910063,19.0128086053 42.1346963241,19.012874419 42.1347693271,19.0129583558 42.1347719527,19.0130205207 42.1348449592,19.0130498759 42.1349369404,19.0130718852 42.1350018671,19.0130296087 42.1350381962,19.0129746776 42.1350539243,19.0129535945 42.1350852949,19.0130086683 42.1351510776,19.0131060565 42.1352387648,19.0132372383 42.1353107442,19.0133682664 42.1352949427,19.013499333 42.1353010862,19.0135882449 42.135376241,19.0136221982 42.1354514491,19.0136561957 42.1355517374,19.0136563282 42.1356269782,19.0136395557 42.1357053704,19.0136692374 42.1357555023,19.0137495072 42.1357240742,19.0138932579 42.1357302051,19.0139905323 42.1357520562,19.0140836735 42.1358272069,19.0140922565 42.1358993046,19.0140458632 42.1359620505,19.0140628403 42.1359996546,19.0141179109 42.1360623022,19.0140969002 42.1361344288,19.01405474 42.1362003058,19.0141309937 42.1362880135,19.01423537571614 42.13635634921388,19.0143088573 42.1364571345,19.0142074646 42.1364979887,19.0143356037 42.1367231988,19.0144199989 42.1368444955,19.014495121 42.1370108848,19.0146260006 42.1369726095,19.0147243344 42.137041873,19.0149118722 42.137305256,19.0150054687 42.1373398444,19.0151321497 42.1375686075,19.015244895 42.137849405,19.0152109621 42.1379331557,19.0151446322 42.1379356158,19.0151114679 42.1379651278,19.0151413178 42.1380266098,19.0152076495 42.1380979284,19.0152142841 42.1381618699,19.0153237276 42.1381151419,19.01541671754039 42.1381245324953,19.01550875587326 42.13817047061531,19.0155525699 42.1382381029,19.0155426221 42.1382995852,19.0154829268 42.138365987,19.0155260437 42.1384446834,19.0155558942 42.1385086244,19.0156388092 42.1385725644,19.0157383072 42.1386414226,19.0158444389 42.138722577,19.0159538849 42.1387274935,19.0160268466 42.1386684692,19.0161097602 42.138673386,19.0162291566 42.1386979762,19.0164049321 42.1386660014,19.016567444 42.138688131,19.0167233249 42.1387446906,19.0168128783 42.1388725714,19.0168062508 42.1389856989,19.0168162062 42.1390963668,19.0167664624 42.1391922805,19.0167198525 42.1392381594,19.016900305 42.1393504541,19.0170130913 42.1394770868,19.0170839898 42.1396276143,19.01713490128751 42.13979434821307,19.0171162313 42.1399501771,19.0172483564 42.1401150398,19.01746817862214 42.14020592512043,19.0177381628 42.140263167,19.0181796307 42.140298994,19.0185693482 42.1403140763,19.0189140572 42.1403436959,19.0191813106 42.1403396762,19.0194603441 42.140316138,19.0196896583 42.1402098483,19.0199804071 42.1401946499,19.0201933596 42.1402766236,19.0201974546 42.1402766234,19.0203571728 42.1403677094,19.0204227043 42.1404618375,19.0205865092 42.1404648642,19.02070886199257 42.14054969577204,19.0208445288 42.1406986601,19.0210001607 42.1408352938,19.0211695164538 42.14098243096663,19.0214056204 42.1411267747,19.0216267747 42.1412178564,19.0217503556 42.1412352552,19.0220413642 42.1412116331,19.02232642709281 42.14117126281131,19.0226142815 42.1411171843,19.0227688692 42.1410261382,19.0229205737099 42.14096176137549,19.0231007888 42.140908104,19.0232417385 42.1408406594,19.0235145497 42.1407462298,19.0237691723 42.1406484291,19.0240871324 42.1404964852,19.0243892227 42.1403342356,19.0246079683 42.1401642681,19.024766923 42.1400347202,19.0248983779 42.1398827975,19.0249533875 42.1397172781,19.024873519 42.1395617016,19.0247432669 42.1393840418,19.0245579274 42.1392437365,19.0244405023 42.1390709191,19.0243471693 42.1389325462,19.0244243525 42.1387058795,19.024488671 42.1385150022,19.0245994911 42.1383131876,19.0247783317 42.1380821126,19.0250437062 42.137748337,19.025182156 42.1375472177,19.0253956186 42.1373503696,19.0255629357 42.1372476604,19.0257129474 42.1371749046,19.0258398696 42.1370593625,19.025885998 42.1368882036,19.0259321344 42.1367598331,19.0258859472 42.1366271933,19.0255685767 42.1365673219,19.0255091935 42.1365191961,19.0254982622 42.136381717,19.0253964536 42.1362604212,19.0252219416 42.1361418282,19.0250910474 42.1359962734,19.0250510326 42.135845318,19.0250510024 42.13568088,19.025120055 42.1355946107,19.0252436406 42.1355379887,19.0254435739 42.1355298819,19.0256253264 42.1354975149,19.0257998146 42.135497497,19.0259343032 42.1354327858,19.0260942462 42.1354112031,19.02618041527005 42.13541254147749,19.0261924148 42.1355082381,19.0262451438314 42.13557381722838,19.02638383222027 42.1356117182351,19.02643651007625 42.13567369189533,19.02645595313573 42.13580485632707,19.02651090661804 42.13590991363898,19.02656597991492 42.13599436951626,19.02670710798974 42.13604726096479,19.0268541324 42.1360769568,19.0270031801 42.1360985051,19.0270213746 42.1361874609,19.0270686465 42.1362548477,19.02713137471436 42.13630615388009,19.0271813563 42.1363410966,19.0272468 42.1363869157,19.0274285682 42.1364192423,19.02751444513206 42.13644020735494,19.02762575347968 42.13647309229,19.02768566338054 42.1365437657961,19.02771087622961 42.13660890709513,19.02781483466447 42.13664854570565,19.02788412736237 42.13667723043346,19.02786013817785 42.13671646184456,19.0277794706636 42.13675822371152,19.0276976518 42.1367642588,19.0275776866 42.1367561861,19.02748887792749 42.13675187660865,19.0274795536 42.1368424601,19.0275013812 42.1369152412,19.02756084438197 42.13700540866506,19.0276577245 42.1370365289,19.0278067788 42.1370715551,19.0279158441 42.1371011946,19.02798004552988 42.13718152173725,19.0280612874 42.1372386577,19.0282103624 42.137354555,19.028297623 42.1374084585,19.0283594467 42.1375054967,19.0283820781 42.1376192852,19.0284376892 42.1376827037,19.0284954372 42.1377397793,19.0285360858 42.1378269842,19.0286109582 42.1379585826,19.028707194 42.1380045537,19.0287991533 42.1380505253,19.02890778949805 42.13807679920755,19.0290087185 42.1380853817,19.029190474 42.1380726724,19.0293465641 42.1380377673,19.02945209084514 42.1379875998482,19.0295432631 42.1379251599,19.0295453875 42.1378696621,19.0294961934 42.137820514,19.0295111475 42.1377634289,19.029560314 42.1377031677,19.02961965253217 42.13765993377305,19.0297442002 42.1376619155,19.0298297215 42.1376143343,19.0298489496 42.1375477345,19.0298553522 42.1374985787,19.0299408746 42.1374557541,19.0299707967 42.1373986666,19.029940848 42.1373511015,19.0300002953 42.1372832592,19.0299773098 42.1372078426,19.0299739989 42.1370910641,19.0300428857 42.1370472622,19.0300986477 42.1369985963,19.0300920614 42.1369037143,19.0301675027 42.1368331495,19.0302647189583 42.13680571145596,19.0303479265 42.1367455392,19.0304266431 42.1366555105,19.03048481050329 42.13665369884959,19.03050503907941 42.13660154640467,19.0304854162787 42.13654828281956,19.0305315902 42.1365046552,19.0306135976 42.1364535521,19.0307185643 42.1363781165,19.03090387244074 42.13631767204378,19.0310138051 42.1362491278,19.0311811213 42.1362247729,19.0314042174 42.1362198723,19.03176294471005 42.13624724329354,19.0320210402 42.136292761,19.0321982203 42.1363365245,19.032368857 42.1364411119,19.0324968344 42.1365165111,19.0328744824 42.1366769348,19.03322158447448 42.13684611271948,19.0334284857 42.1370048223,19.0335690471 42.1370630378,19.0337385115 42.1370170296,19.0339773957 42.1370196421,19.0342880879 42.1371288316,19.034635038 42.1371499071,19.0349630173 42.1372239907,19.03516474860196 42.13725817575345,19.03541506122022 42.13723795244726,19.0356269118 42.1371823456,19.03583235930083 42.13713276828379,19.03601622780571 42.13709156003897,19.036270821 42.1371703579,19.0364747793 42.137128797,19.03681798580526 42.13701358534537,19.0372786146 42.1369566198,19.0375705751 42.1369446959,19.0377784883 42.136857015,19.0379731988767 42.13683557945823,19.0381529662 42.1367972942,19.0383841806 42.1367450581,19.0385852254 42.136672326,19.03868987567267 42.13655097060597,19.0388440354 42.1364914795,19.0390174317 42.1364187525,19.0392159731 42.1363739768,19.03935645035856 42.13629724618285,19.03954220183072 42.13632830965979,19.03972432588446 42.13636864154159,19.0399096917 42.1364129599,19.0400854361874 42.13637107844292,19.04022537425344 42.13628268684145,19.04030079891419 42.13622193647113,19.0404273088 42.1361200955,19.040634581 42.1361200471,19.0407976795 42.1361174889,19.0410321244 42.1360922358,19.0412529812 42.1360745445,19.0415316193 42.1360946347,19.0417287211 42.1361449811,19.0418544779 42.1362205423,19.0419258702 42.1363011563,19.0421229603 42.1363212651,19.0422928417 42.1362834263,19.042455925 42.1362405494,19.0426820226 42.1361763428,19.0428812576 42.1361654288,19.0429398395 42.1361263045,19.0429544613 42.1360654638,19.0430482091 42.1360393669,19.0431653976 42.1360154368,19.0433030869 42.1359719464,19.04342420886267 42.13597932453909,19.0436224241 42.1359045084,19.0437190922 42.1358588553,19.0438538573 42.1358284013,19.0440501553 42.1358044491,19.0446536838 42.1356978215,19.0447415787 42.1356869337,19.0448353442 42.1356977719,19.0449379189 42.1357477173,19.0452852141 42.1358508751,19.0453852759 42.1357919808,19.0455647654 42.1358226446,19.0456544881 42.135794466,19.0458132873 42.1358609671,19.04588086526636 42.13591085756324,19.04584705295503 42.13597280737307,19.0457822972 42.1360043038,19.0457098184 42.1360068834,19.0456097515 42.1360555403,19.0455338483 42.1361118686,19.0455925628 42.1361911946,19.0456443809 42.1362833195,19.0457513977 42.1363268,19.0458998085 42.1363241991,19.0460033688 42.1363574426,19.0460379055 42.1364009431,19.0461414765 42.1364546618,19.0462622813 42.136462306,19.0463037159 42.1364955667,19.0463796665 42.1365313771,19.0464970254 42.1365492597,19.0465764077 42.1365466776,19.0466592348 42.1365312973,19.0467247899 42.1364877683,19.0468076211 42.1364800663,19.04685551876377 42.13643367289173,19.0469525209 42.1363622909,19.0470422616 42.1363673837,19.04711225725877 42.13639255417475,19.04713341573308 42.1364322464037,19.0471148112 42.1364978934,19.0470458113 42.1365542208,19.0470216847 42.1366182134,19.0470665742 42.1366565918,19.0471770473 42.1367051888,19.0472530004 42.1367435581,19.0473151504 42.1367870503,19.04737051977356 42.13677462398709,19.04742723307392 42.13677870850256,19.0475256948 42.1367921076,19.0476223507 42.1368176736,19.0477362769 42.1368662693,19.0477673585 42.1368995328,19.0479163476 42.1369073815,19.04802001676302 42.13695465111923,19.04807258495805 42.13699296757923,19.0481443014 42.1370476978,19.0481758975 42.1371282793,19.0482250102 42.1371854581,19.0482601067 42.1372556397,19.0482671637 42.1373388283,19.0482882371 42.137409014,19.048396925 42.1374219799,19.0485336296 42.1373803433,19.0486422817 42.1373283162,19.0486948893 42.1373646962,19.0487124587 42.1374374827,19.0486388563 42.137473901,19.04856920667432 42.13751721840566,19.0485021887 42.1375831302,19.0485583209 42.1376533054,19.0486530104 42.1377104704,19.0487617352 42.1377884288,19.0488634341 42.1378403922,19.0490422581 42.1378845329,19.0492421134 42.1379208678,19.0495716679 42.137923366,19.0498205714 42.1378972916,19.050079987 42.1378608145,19.0503463953 42.1377905382,19.0506283293 42.1377064392,19.0508597356 42.1376259808,19.0511468103 42.1375498491,19.0513196359 42.1374954793,19.051621374 42.1374432394,19.0518557233 42.1373845034,19.0521486574 42.1373061943,19.0526890708 42.1371583636,19.0531959425 42.1370140829,19.0537239271 42.136857262,19.0543828523 42.1366659321,19.0550333153 42.1364558043,19.0556565079 42.1362525787,19.0564248844 42.1359821363,19.0569088435 42.135789513,19.0575175254 42.1355376265,19.0578568052 42.1354190697,19.0582559621 42.1352856848,19.0587563074 42.1350836691,19.0592783231 42.1348114255,19.0597744504 42.1345519907,19.0602576335 42.1342989585,19.0606887482 42.134061231,19.061002728 42.1338405318,19.0611897618 42.1336867991,19.0613467469 42.1335727316,19.0613733816 42.1334388914,19.0613699463 42.1333149769,19.0614500494 42.1331786361,19.0615201976 42.1331364756,19.0615702475 42.1330323652,19.0616503894 42.1329480687,19.0616842703222 42.13288510987645,19.06168469133422 42.13280494034905,19.06171458231313 42.13260730983032,19.06170715630808 42.13235786589517,19.06166878105739 42.13217959596219,19.0615546365 42.1320687223,19.0614829024 42.1319397323,19.0614981412 42.1317917327,19.0615748112 42.1316816545,19.061648904131 42.13158502653064,19.06176011821864 42.13145895220426,19.0618355235 42.1313552014,19.0618660569 42.1311350954,19.0619133344 42.1309613274,19.061907818 42.1307354178,19.0618916524 42.1305610363,19.0618862114 42.1304342106,19.06188656767607 42.1302723804321,19.06178255691924 42.13017555378309,19.06171690162372 42.13002730876134,19.0617201488 42.1299190398,19.0617627995 42.1297842666,19.0618054832 42.1296930906,19.06182676 42.1295622893,19.0619014282 42.1294913121,19.0619976372 42.1294266826,19.0620113158 42.129331493,19.061915032 42.1292975391,19.0618004006 42.1292465958,19.06158666873265 42.12911746057724,19.0615381497248 42.12899456453107,19.0615811986728 42.12891082592533,19.06168598531568 42.12892935980126,19.06182930185508 42.12895533982309,19.0619238733 42.128869208,19.0620292537 42.1288113737,19.0621849811 42.1286583341,19.062294934 42.1285868999,19.0623957141 42.1285086706,19.0625285637 42.128410031,19.0627210027 42.1283147652,19.06285737687284 42.12822987865388,19.062960218 42.128122464,19.0630772243 42.1279528004,19.0630828024 42.127952798,19.0631830576 42.1277624569,19.063266614 42.127617629,19.0633673216 42.1274240834,19.063428066 42.1272245522,19.0634837411 42.1270921466,19.063545608 42.1270076715,19.0635934079 42.1269532433,19.0636078951088 42.12690653573651,19.06359113438523 42.12684193008492,19.06351368821639 42.12678983106839,19.06343777845082 42.12674119485805,19.0633607635 42.1266456704,19.0633989366 42.1265795035,19.0633925063 42.1265039057,19.063370149 42.1264283147,19.0633637057 42.1263361792,19.0633604385 42.1262322295,19.0633476095 42.1261211962,19.0633672151 42.1259794008,19.0634105196 42.125821262,19.0634420281 42.1257246196,19.06347081198778 42.1256831598796,19.06347449016538 42.12564858282701,19.0634340056 42.125563575,19.0633628495 42.1254464799,19.0632719489 42.1253235369,19.0632047526 42.1252210806,19.0631020245 42.1251186394,19.0629163566 42.1249752392,19.0627228157 42.1248611233,19.0626054902 42.1246935891,19.0624787829 42.1245741221,19.0623943072 42.1244887861,19.0622254415 42.1244290972,19.0620911225 42.1243893136,19.0618992623 42.1243637826,19.0617457442 42.1243040866,19.061569212 42.1242529371,19.0614885595 42.1241476787,19.0615191723 42.1240395283,19.0616073887 42.1239996514,19.0617301597 42.1239910631,19.0617582013786 42.12392001644754,19.0617454011 42.123851616,19.0617031619 42.123806102,19.06142074394082 42.12364688392962,19.0611664355 42.1234149809,19.0611323296 42.1232846723,19.0610131846 42.1231291747,19.0608714557 42.1230913971,19.0608146091 42.1228686101,19.060706813 42.1227299228,19.0607293529 42.1225533467,19.0607632472 42.1224019898,19.0607347871 42.1222422499,19.0608026951 42.1220992867,19.0609102907 42.1219731234,19.0611029398 42.1218931692,19.0613523055 42.1218636397,19.0616073672 42.121871943,19.061737793 42.1219559691,19.0617888943 42.1220736595,19.0618853322 42.122182923,19.0619874156 42.122262756,19.0620611759 42.1223636205,19.0622085931 42.1224308221,19.0623276287 42.122443384,19.0624467032 42.1225063933,19.0625204477 42.1225862373,19.0627244531 42.1225357034,19.0628604532 42.1224978099,19.0629964072 42.1224010609,19.0632117439 42.1223463171,19.063483802 42.1223461999,19.0637898541 42.1223292511,19.0639336744 42.1223611686,19.0642507184 42.1223229864,19.0645584526 42.1223055585,19.06476569832965 42.12232487577258,19.0649408311 42.1223365154,19.0651879031 42.1222637765,19.0654955832 42.1221806342,19.0656866664 42.122066417,19.0658545373 42.1220767164,19.066041111 42.1221492602,19.0661903824 42.1222218208,19.0663303143 42.122277093,19.0665074836 42.122252802,19.0666986215 42.1222042946,19.0668664623 42.1221765487,19.0671182009 42.122107261,19.0672580474 42.1220587762,19.067463137 42.1219652995,19.0675308497 42.1218860456,19.0674960679 42.1218216673,19.0675611483 42.1217830002,19.0676653296 42.1217829514,19.0677868771 42.121786114,19.0678607025 42.1218214963,19.067986536 42.1217602622,19.0680732764 42.1216700688,19.0681252703 42.1215573536,19.0682163348 42.1214478394,19.0682249612 42.1213834406,19.0681728459 42.1213544877,19.0681250495 42.1212997748,19.0681727437 42.1212353574,19.0682421782 42.1212127863,19.0682855564 42.1211773484,19.0682377655 42.121129075,19.0682116844 42.1210872307,19.0682550488 42.1210356941,19.0682506582 42.1209777407,19.0683027235 42.1209487382,19.0683461735 42.1209970137,19.0683852633 42.1210227531,19.0684546949 42.1209969619,19.0685111537 42.1210291324,19.0686152955 42.120984006,19.0686673219 42.1209099267,19.0686846215 42.1208358639,19.0687019489 42.1206100906,19.0687165744 42.1204954014,19.0687275303 42.1203943666,19.06875525569301 42.12029376812511,19.06878091923276 42.12022377036124,19.0688414614 42.1201786003,19.0689702957 42.1201676165,19.0690697133 42.1201948741,19.06915709730547 42.12022483328108,19.06928351834443 42.12024395906547,19.0693864039 42.1203121342,19.0695079165 42.1203475722,19.0695999503 42.1203502581,19.0696441591 42.120388464,19.0697840275 42.1203665517,19.0699017696 42.1203009616,19.06985720632225 42.12021804953938,19.0698828047317 42.12016056378453,19.069975254 42.120142555,19.0700489032 42.1201698242,19.0701446667 42.1202271184,19.0702808438 42.120194285,19.0704059381 42.1201177685,19.0704979132 42.1200549207,19.0705788445 42.1199920783,19.0706413377 42.1198937479,19.0706333653 42.119806416,19.0706751395 42.1197256924,19.0707462034 42.1196418503,19.0707252047 42.1195580537,19.0707377 42.1194928643,19.0707878907 42.1194649037,19.0708213931 42.1194928227,19.07089524340696 42.11949043120082,19.0709677917 42.1194213587,19.071055675 42.1194275229,19.0711351975 42.119443003,19.0712147089 42.1194460672,19.071310925 42.1194118753,19.07138016167618 42.11936900561762,19.07145052172039 42.11935643346791,19.0715326584 42.1193527885,19.0716623546 42.1193216833,19.0717836278 42.1192316067,19.0719641895 42.1191612783,19.0720827004 42.1190512423,19.0722011886 42.1189167669,19.0722735632 42.1187969781,19.0722602897 42.1186943404,19.0722799322 42.1185574708,19.0724762788 42.1182981202,19.0726802929 42.1181545566,19.0728628207 42.1180149886,19.0730669078 42.1179511238,19.0731796696 42.1178912907,19.0731527446 42.1178235598,19.0731043306 42.1177558399,19.0732170733 42.1176760816,19.0733674329 42.1176082588,19.073523142 42.1175165228,19.0736340425 42.1174355978,19.0737533446 42.1175436034,19.0738427865 42.1175877662,19.0738460976 42.1175877645,19.0739519969 42.1175287631,19.0739453069 42.1174575402,19.074028047 42.1174181995,19.07417233618612 42.11737723183116,19.0743425804 42.1173959294,19.0744286901 42.1174179887,19.0744386705 42.1174671051,19.0745512622 42.1174817821,19.0746605146 42.1174669877,19.0748061206 42.1173809473,19.0749252281 42.1172850963,19.0750211295 42.1171597843,19.0751441469 42.1169955022,19.0752700954 42.116894836,19.075286391 42.1167822644,19.0753848126 42.116773085,19.0754258728 42.1168217389,19.0754546203 42.1168612726,19.0756555529 42.1168307422,19.0758195262 42.1167515556,19.076012181 42.1166449731,19.0761761744 42.1165870816,19.0762089125 42.11651405,19.0762539903 42.1164775186,19.0763196313 42.1164987786,19.0764631091 42.116431771,19.076549133 42.1163282876,19.0766638805 42.1162399995,19.076766297 42.1161243377,19.0769261488 42.1160268974,19.0771006084 42.1159460202,19.0771988756 42.1158660651,19.077343964 42.1157756622,19.0774703123 42.1156783215,19.0779150036 42.1154696368,19.078181909 42.1154347478,19.0784815575 42.1153616261,19.0787250397 42.1153198008,19.0790387303 42.1152397211,19.0792721499 42.1151276001,19.0794724482 42.1150095734,19.0797072637 42.11485564,19.0798176796 42.1147017774,19.0798727962 42.114537693,19.0799900741 42.1143376857,19.0800676487 42.1142436505,19.0802427626 42.1142296304,19.0803647442 42.1142457989,19.0804116047 42.1141993746,19.0805616729 42.11415985,19.0807148757 42.114127283,19.0808211911 42.1141156217,19.0809838223 42.114127126,19.0811370125 42.114082959,19.0813245831 42.1140202124,19.0814527647 42.1139853389,19.0815499357 42.1139516631,19.0815714206 42.1138876957,19.0817761662 42.1138755831,19.0821047013 42.11373149,19.0821963814 42.1138033843,19.0824709704 42.113603362,19.0826164339 42.113583289,19.082831784 42.1134152786,19.0830579623 42.1132952272,19.0832679353 42.1131392104,19.083462706385 42.11294117864424,19.0836069668 42.1127472803,19.083757574 42.1125073564,19.083757574 42.1125073564,19.0841959943 42.1120563371,19.0846374735 42.1115903628,19.085123695 42.1110435725,19.08543715 42.1106679612,19.0857110993 42.1103475515,19.0859629416 42.1099560544,19.086214754 42.1095418699,19.0864894256 42.1090652817,19.0866876237 42.1085717243,19.086829916 42.1080707083,19.0869395767 42.1078087194,19.0870783145 42.1076669368,19.0871880637 42.1074822344,19.0873365164 42.1071097654,19.0875456771 42.1066145327,19.087764416 42.1061617307,19.0879736675 42.1057513711,19.0881448412 42.1053905452,19.0882589049 42.1051075569,19.0884871809 42.1046688901,19.0886052807 42.1042892261,19.088742218 42.1037496081,19.0888005096 42.1031881672,19.088868783 42.1027579553,19.0888485609 42.1022840529,19.0884455468 42.1021895292,19.08849028256114 42.10207502444306,19.0888087982 42.101904944,19.089359053 42.1018681317,19.0896440021 42.1018460724,19.0898699369 42.1017803045,19.0900466312 42.1016270757,19.0901023308 42.1012447864,19.0901424488 42.1006390422,19.0900896196 42.1003122831,19.0899948623 42.1000011127,19.089805707 42.0996744423,19.08953537505121 42.0993534884723,19.0875192198 42.0993569053,19.0868907265 42.099971996,19.0788174638 42.0994051686,19.0786267154 42.0992550229,19.0786618036 42.0986274731,19.078756255 42.0978142803,19.0788389549 42.0971601832,19.0787361029 42.0958993346,19.078418295 42.0945377663,19.0781798332 42.0934109325,19.0776567581 42.0924251189,19.0770071177 42.0914276201,19.076356276 42.090232085,19.0757695545 42.089198632,19.0755043571 42.088628715,19.0753665363 42.0884925499,19.0751369797 42.0884132005,19.0742422189 42.0886293887,19.0729803494 42.0889138785,19.0715194177 42.0890224787,19.0704791325 42.0890684102,19.06950883462048 42.08909292918411,19.0693851301 42.088938381,19.0696296644 42.0886544285,19.0698895651 42.088449942,19.0701416911 42.0881092183,19.0711448427 42.0870768093,19.0715003114 42.0865118219,19.0720276319 42.0859558562,19.0726161629 42.0852358786,19.0732661143 42.0845796322,19.0745742043 42.0831458084,19.0753640951 42.0826146382,19.0760601518 42.0823628556,19.0766244835 42.082125108,19.0773392197 42.0817476032,19.0780913283 42.0811186635,19.0791631773 42.0803358945,19.0802265752 42.0797105661,19.0808859912 42.0795381711,19.0814579689 42.0793428769,19.0822701277 42.0791712863,19.0830185402 42.0789062161,19.0834936345 42.0786633614,19.0837993038 42.0786440483,19.083985657 42.0785885903,19.0839295628 42.0784364262,19.0838041049 42.0783188349,19.084034256 42.0780733066,19.0843145467 42.0778723629,19.0846951112 42.0777531526,19.0848152142 42.0776489743,19.0848351252 42.0775374216,19.084978617 42.0774717615,19.0850985713 42.07744664,19.0852260024 42.0774020328,19.0853009757 42.0773880711,19.0853646312 42.0773128904,19.0854582821 42.0772376909,19.085491945 42.0771653119,19.0855931577 42.0771457674,19.0856868114 42.0770733507,19.0857804776 42.0770120657,19.0858703721 42.0769313019,19.085896523 42.0768477951,19.0858664294 42.0767615406,19.0858176425 42.0767226091,19.0857538486 42.0766753379,19.0856263557 42.0766642859,19.0855251562 42.0766949625,19.0854764485 42.0767256062,19.0853639281 42.0766922803,19.0852439183 42.0766673079,19.0851577195 42.0767007577,19.085090296 42.0767592429,19.0849365791 42.0767676874,19.0848278458 42.0767677546,19.0848240462 42.0767232287,19.0847415746 42.0767371948,19.0845691291 42.0767623481,19.0844642045 42.0768152899,19.0843367704 42.0768571133,19.0841980442 42.0768599812,19.0840893508 42.0768962268,19.0839768517 42.0768823803,19.0838718825 42.0768963592,19.0836581663 42.0768992719,19.0835104289 42.0767922808,19.0834902136 42.0766471549,19.083665545 42.076509353,19.0838358409 42.0763529466,19.084026257 42.0762560714,19.084176612 42.0762038785,19.0843369734 42.0761330717,19.0844672602 42.0760697263,19.0844772044 42.0759952905,19.0845769351 42.075918195,19.0846698458 42.0758560237,19.084840284 42.0758329131,19.0849176821 42.075756948,19.0850353818 42.0756901599,19.0851747247 42.0755773478,19.0853357625 42.0754645218,19.0854176855 42.0753681796,19.0856131907 42.0753216076,19.0857343538 42.0752489539,19.0858007705 42.0751850439,19.0859375942 42.0751268957,19.0860118892 42.0751123334,19.0860860945 42.0750193872,19.086136846 42.0749380681,19.0861994207 42.0749351255,19.08627016352946 42.07494391918866,19.0862736588 42.0748712102,19.0863127167 42.0748247356,19.0862852622 42.0747579814,19.0863627605 42.074692694,19.0865568162 42.0746097828,19.0866682116 42.0744901291,19.0867424502 42.0743888963,19.086820837 42.0743029919,19.0869322562 42.0742048015,19.0870437035 42.0741311407,19.0870808206 42.074078991,19.0871510376 42.0740728136,19.0871757585 42.0740176055,19.0871633126 42.0739716199,19.087237589 42.073904115,19.0872870484 42.0738090298,19.0873737063 42.073732318,19.087464495 42.0736556034,19.0876524892 42.0735081205,19.0878700668 42.0732923907,19.0880804322 42.073119783,19.0882763065 42.0729741329,19.0883124711 42.0728555349,19.0884575557 42.0727422557,19.0885881245 42.0726343757,19.0887622389 42.0725102974,19.0890089422 42.0723700021,19.0891903419 42.0722674773,19.0892801125 42.0722703831,19.0893838801 42.0721987308,19.0896730563 42.0720911637,19.0898843322 42.0719753877,19.0900771554 42.0719367141,19.0902439987 42.0718842912,19.0903886642 42.0718952074,19.0904555001 42.071955734,19.09050749 42.0720080108,19.0906177379 42.0720395013,19.090739952 42.071982996,19.0908669206 42.0719593432,19.0909712111 42.0719357055,19.0911118522 42.0719659121,19.0912570002 42.0719725478,19.0914519489 42.0719050798,19.0915471263 42.0718477796,19.0916695213 42.0717938276,19.0918554477 42.0717667667,19.0920731025 42.0717228496,19.0920775465 42.0716487767,19.0921455013 42.0715847607,19.0922633851 42.0715510118,19.0923268124 42.0714937324,19.0924673573 42.0714465003,19.0927212753 42.0713857226,19.0929933442 42.071331665,19.0932064967 42.0713146828,19.0933289962 42.071344899,19.0934551291 42.0712763501,19.0937918263 42.0712275088,19.0938759983 42.0712135623,19.0938899683 42.0711649454,19.0938384576 42.0711163742,19.0939834063 42.0710815536,19.0941822804022 42.07105876910349,19.0942801151278 42.07112796334735,19.09433100712822 42.07131141694049,19.09457580963596 42.07119453964137,19.09490754811103 42.07086636113242,19.09512074922164 42.0707359704484,19.0953029282527 42.07048404339199,19.0955755264 42.0702003667,19.0957426952 42.0701030577,19.0959316563 42.069984135,19.096113364 42.0698814153,19.09636713642527 42.06972291515444,19.0964283441 42.0695470356,19.09667355455991 42.06942682373869,19.09680219 42.0694392919,19.0969781479 42.0693253023,19.09721732970618 42.06909073616765,19.0974151739 42.0690213522,19.0975740589 42.0688862884,19.0978237804 42.0687089866,19.0981417212 42.0685695878,19.09828790791415 42.06846210102377,19.09824571487316 42.06832082870173,19.0983912039 42.068215164,19.0984990094 42.0681180897,19.0985897554 42.0680083763,19.0988563966 42.0676598418,19.0992390692 42.0673706768,19.0995852612 42.0670860521,19.0997677001 42.0671084844,19.0998224964 42.0671626084,19.100053473 42.06710827,19.1001202511 42.0670314861,19.1000836524 42.0669457524,19.0999863314 42.0669187429,19.0999071589 42.0668240135,19.1001136157 42.0666252534,19.1006955864 42.0661114541,19.1017251096 42.065154099,19.1023746415 42.06453411,19.1031715274 42.0639959962,19.1044342788 42.0631659873,19.1063351306 42.0623718908,19.1074487037 42.0620707719,19.108704397 42.0617074163,19.1093276947 42.0615123186,19.1097610979 42.0612502799,19.1102214965 42.0609144104,19.1110248663 42.0602897317,19.1115484302 42.0599001232,19.1121152282 42.0594062199,19.113164174 42.0588457298,19.1144149342 42.0582650744,19.1157596052 42.057524448,19.1167952475 42.0571238282,19.1178845562 42.0566332185,19.1186915104 42.0563127271,19.1192425725 42.0558825467,19.1197128142 42.0554124664,19.1206920346 42.0548366021,19.1213317941 42.0543944054,19.1220172858 42.0539521653,19.122839714 42.0533399513,19.12323565 42.0530225353,19.123555079 42.052557995,19.1241338126 42.0521384973,19.1248193575 42.0517641855,19.1255829403 42.0514569463,19.1262493099 42.0512040541,19.1267393423 42.0508438949,19.1272546242 42.0505350905,19.1280787036 42.0500883854,19.1290377344 42.0495893227,19.1300201113 42.0492190495,19.1306327522 42.0490466684,19.1308987677 42.0490549858,19.1312799566 42.0488055442,19.1314646317 42.0486078306,19.1319498695 42.0483411032,19.1325737554 42.0480055249,19.1329782246 42.0478419317,19.1330703894 42.0476528974,19.1335094378 42.047429148,19.134167869 42.0471016548,19.1349557516 42.0468413681,19.1356363374 42.0466942874,19.1361916894 42.0466471277,19.1367291227 42.0465999843,19.1372129196 42.0466127709,19.1374818503 42.0466989675,19.1375805654 42.046785347,19.1376524696 42.0469050193,19.1377242569 42.0469648167,19.1377508729 42.0468317327,19.1378221914 42.046652031,19.1378219179 42.0465123231,19.1377857706 42.0463526956,19.1379288883 42.0462394436,19.1381524643 42.046039618,19.138429935 42.0459129137,19.1389976934 42.0455389718,19.1394504964 42.0451918048,19.1398168142 42.0449536854,19.1400165158 42.0447702253,19.1403100352 42.0448144745,19.1403496821 42.0446311898,19.1405095959 42.0445616791,19.140669162 42.0443188322,19.14080232 42.0442097306,19.1409421364 42.044095669,19.1411554386 42.0440459078,19.1413286082 42.0439367609,19.1415064999057 42.0437977688327,19.1415739265318 42.04374416298486,19.14158711216161 42.04367891912396,19.1415480599 42.0436294621,19.1414611864 42.0435404138,19.14127755328331 42.04351505614237,19.14123394414969 42.04343048934993,19.14128884365595 42.04327702678315,19.141427125 42.0431838703,19.1417833061 42.0430305071,19.1419441035 42.0428273245,19.14200379136057 42.04264096920358,19.14204919972348 42.04254273909193,19.1422477809792 42.04254907445711,19.14230128157781 42.04241349668077,19.1424758265 42.0423530559,19.1426577628 42.0422071061,19.1425313265 42.0420719121,19.1425240105 42.0419209689,19.1425728186 42.0417959888,19.1426847597 42.041696964,19.1427475533 42.0415563522,19.142831458 42.0414573585,19.1429357599883 42.04128598654265,19.1429289979 42.0411709604,19.1429588392 42.0410992586,19.1430385585 42.0410128627,19.1429294453 42.0409320733,19.1428855581 42.0407810866,19.1430378867 42.0406838207,19.1431032442 42.0406783531,19.1430594779 42.0405867018,19.1430373799 42.0404356904,19.143058949 42.0403277831,19.1430732657 42.0402252779,19.14318430769134 42.04016321355062,19.14326488983716 42.04014772740616,19.14329584039071 42.04007802727464,19.14334210548643 42.04001405583167,19.1434284626 42.0398850455,19.143469182 42.0397530374,19.1435475819 42.0396946339,19.1435409789 42.0396654838,19.1434394587 42.0396170027,19.1434001096 42.0395733109,19.1434425662 42.0395368161,19.1434654179 42.0395124924,19.1434586956 42.0394250276,19.1434617931 42.0393399814,19.1434746408 42.0392233369,19.1434221308 42.039143213,19.1433408092 42.0390791009,19.1432436409 42.0389831836,19.1431896477 42.0389245614,19.143133782 42.0389248562,19.1430618215 42.0389322265,19.1429833178 42.0389396042,19.1429210828 42.0389032271,19.1428555316 42.0388449854,19.1427583309 42.0387623344,19.1426576322 42.0386957622,19.1425534127 42.0386638702,19.1424529745 42.0387253332,19.1423380725 42.0387387989,19.1422017185 42.0388003019,19.1420688531 42.03881112,19.1421081007 42.0386830404,19.1422084581 42.0385815666,19.14226642419545 42.03849024239221,19.14217861323862 42.0384536186268,19.1421829335 42.0383922088,19.1422618495 42.0383441071,19.142304926 42.0383333893,19.1422550101 42.0382043928,19.1422436015 42.0380666354,19.1423145942 42.0379773534,19.1423990993 42.0379706512,19.1424748017 42.038010212,19.1425059066 42.0379936582,19.14249006415708 42.03793411277313,19.1424345519 42.0379045355,19.1424611413 42.0378549487,19.1425678208 42.0378151836,19.1426611015 42.0377490029,19.1427054436 42.0376795734,19.142674144 42.0376003172,19.1425894177 42.0374979944,19.1425491949 42.0374055331,19.1425267251 42.0372932289,19.1426021716 42.0372072453,19.14269267071119 42.03714897978688,19.142784276 42.0370715846,19.1427751105 42.0369394424,19.14275225398555 42.03683144870972,19.1427300967 42.036678491,19.1426630838 42.0365365016,19.142507589 42.0364307237,19.1423923438 42.0363264295,19.1421578185 42.0362285969,19.1420597442 42.0361875699,19.1418723214 42.0362067647,19.1417487929 42.0362195596,19.1416762748 42.0361753393,19.1416463553 42.0361279072,19.1415525412 42.0360868748,19.1414118553 42.0360427298,19.1412967256 42.0359953918,19.1412197532427 42.0359775293584,19.1410590867 42.0359395783,19.1410300893 42.0358681754,19.1410339713875 42.03577429528964,19.14112379429499 42.03573313080748,19.1412221536 42.0357215206,19.141255651 42.0356393331,19.1412987877 42.0355678502,19.1413805327 42.0355641876,19.1415199489 42.0355426022,19.1416256376 42.0354889083,19.1417457455 42.0354316265,19.1418993929 42.0353135873,19.1420578631 42.035202686,19.1421922593 42.0350775242,19.142295484 42.0349431555,19.1424223072 42.0348029245,19.1425040273 42.0346627439,19.1425897977 42.0344981952,19.1426591173 42.0343093014,19.1427161793 42.0341417389,19.1427309955 42.0339530089,19.1427402922 42.0337735917,19.1427351547 42.0336228959,19.1426866854 42.0335440114,19.1426189076 42.0334723248,19.1426187397 42.0333897979,19.14259408768343 42.03329843656476,19.1425409937 42.0331674208,19.1424875118 42.0329988382,19.1424243974 42.0328446189,19.1423233688 42.0327243516,19.1422083834 42.0326148835,19.1421590183 42.0325256375,19.1421479158 42.0324404078,19.142082189 42.0323674167,19.1420163392 42.0322335386,19.1419669991 42.0321564699,19.1419340784 42.0320915603,19.1419338813 42.0319941411,19.1418954383 42.0319008236,19.1418679497 42.0318196713,19.1418349553 42.0317182294,19.1416952743648 42.03166095873476,19.14152414080955 42.03168051274989,19.14128296018518 42.03160275202826,19.14092778294016 42.03151477409291,19.140659363 42.0313988587,19.14018705012536 42.03136315633828,19.13989121452093 42.0311797105468,19.13979358948617 42.03084860309142,19.13996144171996 42.03036746243757,19.14019008590531 42.03012147995695,19.14069675024381 42.02982452013731,19.1410078256 42.0297126642,19.1412349996 42.029604927,19.1414775527 42.0294357523,19.1416995643 42.0293318589,19.1419783757 42.0292048691,19.1422117273262 42.02918815124011,19.14419457682431 42.02818157167391,19.1454708812 42.0277399883,19.1461627939 42.0275298873,19.1463411076 42.0275594737,19.1465594235 42.0275393601,19.1468443885 42.0274264825,19.1469600425 42.0273270416,19.1471782037 42.0272341021,19.1474854192 42.0271079561,19.1474674685 42.0270483928,19.1476722734 42.0269620882,19.1478637723 42.0269055907,19.1481309497 42.0268125915,19.1484026252 42.0267394477,19.1486252892 42.0266696709,19.1487856362 42.0266330694,19.1489524509 42.0264924779,19.1490083998 42.0264220898,19.1490152288 42.0263361323,19.1490152232 42.0263335277,19.1489904077 42.026205935,19.1489726713 42.0261095882,19.1489723824 42.0259741527,19.1490070329 42.025781376,19.1490314291 42.0255239692,19.1490619988 42.0253399286,19.1490837079 42.0251493265,19.1490836939 42.025142755,19.1490788987 42.0249686127,19.1490121298 42.0247715424,19.1488345906 42.0243110408,19.1487346073 42.0241007112,19.1486234667 42.0240439642,19.1485427647 42.023899021,19.1483815065 42.0236773871,19.1482815249 42.0234670565,19.1482656617 42.0232082807,19.1482677344 42.0228644142,19.1482434612 42.0225445658,19.1481131269 42.0222774235,19.1479945993 42.0220146487,19.1478466077 42.0217650532,19.1477162561 42.0214891445,19.147780357 42.0211209883,19.1478327144 42.0208029099,19.147979794 42.0205603619,19.1480645571 42.0202370948,19.1480718477 42.020012023,19.1481000558 42.0199219055,19.14811032 42.0198388523,19.148047883 42.0197004246,19.1478844515 42.0195563437,19.14776197427961 42.01950690517376,19.1475387689 42.0195661911,19.1471629922 42.0196027635,19.1468313424 42.0195965782,19.1464599502 42.0196167181,19.1460840109 42.0195777314,19.14563748912645 42.01954723221073,19.1451605426 42.0195015103,19.1447936775 42.0193716752,19.1444055606 42.0192418629,19.14433535845444 42.01912464123248,19.14408200765087 42.01907637152481,19.14229386932132 42.01903479185764,19.14204075030861 42.01892875470643,19.14201404589397 42.01884330589376,19.14222431595621 42.01867298696598,19.1426882398901 42.01847308586861,19.1430435278196 42.01838847321325,19.14331418387667 42.01833381226015,19.14342947735693 42.01824365086943,19.14334197293598 42.01814551223178,19.1429327357 42.0179034047,19.1426463746 42.0176874406,19.1424860248 42.0175167186,19.1423514792 42.0173724158,19.1422123115 42.0172315571,19.142110193 42.0170975352,19.1421562349 42.0169736661,19.1422301717 42.0169082352,19.1423967791 42.0168839735,19.1425704273 42.0168688352,19.1427463782 42.0168172519,19.1427461501 42.0167051379,19.1429472129 42.0166348405,19.1431734922 42.0165972142,19.1441154058458 42.01635781780116,19.14477972942149 42.01633079072493,19.14506050442096 42.01639150306121,19.14559998475306 42.01671216889834,19.14561388707424 42.01642433493559,19.1455974640229 42.01626929601489,19.14565513371186 42.01567787840172,19.1458816708191 42.01545377225845,19.14650494771991 42.01503123182589,19.1472472606893 42.01465322829684,19.1478964539562 42.01447350074598,19.14842695455777 42.01446470099735,19.14869113642793 42.01416056512135,19.14912027320776 42.01385015735453,19.1496695959769 42.01358305938588,19.15021383429119 42.01347823380341,19.15078904858309 42.01343308639683,19.15099836823554 42.01348320940075,19.15110574650166 42.01338076519348,19.1510750894265 42.01323828501354,19.15071479637475 42.01303549150214,19.1502739132709 42.01292526165599,19.15002482442963 42.0127856297692,19.14996285272124 42.01267289079695,19.15007741937689 42.0124890789456,19.15027217037685 42.01244474402341,19.15043048059581 42.0122385473488,19.15057460053391 42.01210804903578,19.15075568991352 42.01200172435436,19.15085341506149 42.011888338271,19.15086773635227 42.01177821761864,19.15072451646806 42.0116746475986,19.15070210658535 42.01147839349542,19.15078709398742 42.01129028336958,19.15094323660983 42.01119656836252,19.1511154489552 42.01114388145587,19.1510707896518 42.01094122647339,19.1508719462 42.0106585422,19.15067942871631 42.01043900317744,19.15042219634358 42.0101789939587,19.1501160641 42.0099836595,19.1496008765 42.0101399802,19.1495421455 42.0101151359,19.1491358866 42.0102526404,19.1489223111 42.0103369755,19.1485999924 42.0105304355,19.1484660025 42.0105928771,19.1483151433 42.0105501769,19.1482240952 42.0105615617,19.148077312 42.0105354179,19.1479912116 42.0104941655,19.1478697502 42.01047927,19.1477078199 42.0104681808,19.1476367952 42.0103780387,19.1476367873 42.0103742794,19.1475961835 42.0103141767,19.1475656832 42.0102465435,19.1476414892 42.0102051021,19.14767686368202 42.01013769943312,19.14775972269019 42.01006289345234,19.1475600912 42.0099946718,19.1476459922 42.0099419405,19.1477269845 42.0099606431,19.1478686118 42.0099416811,19.1479596912 42.0099453342,19.1480102944 42.0099490345,19.1480860996 42.0099075928,19.148197385 42.0098961847,19.1482784012 42.0099261648,19.148354238 42.0098997605,19.1483490506 42.0098396165,19.1483590417 42.0097794549,19.1482932043 42.0097494569,19.14822068265159 42.00973138981099,19.1481312682 42.0097346087,19.1480351455 42.0097384804,19.1479995694 42.0096633343,19.1480298146 42.0096106676,19.1480853893 42.0095730088,19.1481511948 42.0095879695,19.1482220837 42.0096142024,19.14827127335351 42.00959557055043,19.1482725188 42.0095389557,19.1482874334 42.0094148785,19.1482921811 42.0092682566,19.1483071586 42.0091309619,19.1483671362 42.0090302615,19.1484367977 42.008977291,19.1485042078 42.0089615515,19.148537783 42.0088926063,19.1486178054 42.0088611915,19.1486936391 42.0088423099,19.14871257213284 42.00880264792888,19.1486681813 42.0087640378,19.1485965095 42.0087578578,19.1484700269 42.008745478,19.1483857362 42.008751841,19.14825908439994 42.00876866684878,19.14810707959439 42.00877355345951,19.14795223676959 42.00867920843978,19.14786562835415 42.00863403369653,19.14781735440431 42.00859194042165,19.1477572406 42.0085489907,19.1477528928 42.0084863541,19.1477485584 42.0084299816,19.1477105622 42.008401837,19.1476641951 42.0084018911,19.1476094507 42.0084270116,19.147520892 42.0084083222,19.1473942776 42.0083332993,19.1472381835 42.0082708388,19.1470862518 42.0081833163,19.1469089565 42.0080613696,19.1469129408 42.0079517414,19.1468832894 42.0078828692,19.14678097581635 42.00785284752079,19.1467861159 42.0077764896,19.1468284735 42.0076497247,19.1468570525 42.0075282817,19.1468424629 42.0074461684,19.14674229384878 42.00740471212049,19.14657087530642 42.00738969692506,19.14625337453906 42.00728144992495,19.14594331234936 42.00714696302525,19.14552128885361 42.00694435466542,19.14532841786423 42.00687605854691,19.14521656231499 42.00678078635675,19.145241944 42.0066386022,19.1452374973 42.0066353082,19.1453304381 42.0064933424,19.1454235092 42.0064140585,19.1454365394 42.0062754828,19.1454365325 42.0062721837,19.145396354 42.0061666593,19.145258569 42.0060942366,19.1452316822 42.0059755003,19.1451160893 42.0058997527,19.14502084306332 42.00581093407367,19.1451133981 42.0056810485,19.1451773426 42.0055537441,19.1452734319 42.0054462827,19.1452571406 42.005330998,19.1452141125 42.0052236958,19.1453156014 42.005140084,19.145401195 42.005132034,19.1455241355 42.0050722534,19.1454972004 42.0049848128,19.1454060993 42.0049173254,19.1453258565 42.0049253693,19.1451705728 42.0048698831,19.1450579704 42.004754708,19.1450469803 42.0046155608,19.14499717857897 42.00454733601811,19.14488987015162 42.00449673908304,19.1445486974 42.0042900953,19.1445536608 42.0041032168,19.14474307604352 42.00390825497902,19.14480966562602 42.003797790063,19.14477169592014 42.00363998668566,19.14478328553869 42.00349662920016,19.14475078047581 42.00335112754188,19.1446266633 42.0032142476,19.14471635775323 42.00309422989704,19.14470699691443 42.00302844378715,19.1445255073 42.0029619735,19.14451342458065 42.00283930390461,19.14456377264343 42.00275649129033,19.144669559 42.0026673552,19.1448141614 42.0026391475,19.1449399628 42.0026436779,19.1450844581 42.0025640571,19.1452855588 42.0024843714,19.1453671382 42.0023954741,19.1455242989 42.0023579032,19.1456375007 42.0023530995,19.1457569822 42.0023436146,19.1458700572 42.0022780502,19.1459769009 42.0022405362,19.1460649443 42.0022357611,19.1461717977 42.0022029208,19.14626210728383 42.00212698598893,19.14634469945581 42.00207721241196,19.1463822769 42.0020204936,19.1464444021 42.0019481106,19.1465143179 42.0018786109,19.1465959648 42.0018351298,19.1466464674 42.0017887921,19.1466035856 42.0017570247,19.1466151472 42.0017020547,19.1467162492 42.0016556584,19.1468212918 42.0016323971,19.1469184526 42.0015628655,19.14700350186038 42.00147484711906,19.1471166478 42.00141512,19.1472217326 42.0014121053,19.1473073135 42.001388866,19.147369553 42.0013714387,19.1473966709 42.0013106654,19.14746124790845 42.00126850518338,19.14753666327684 42.00126530514761,19.1475873242 42.0012786259,19.1477040614 42.0012640272,19.14778109311477 42.00123333004677,19.1478596478 42.0012146733,19.14789451891723 42.00115064265343,19.1478608291 42.0010838084,19.14763834282505 42.00094854281202,19.14748024164375 42.00075143677174,19.14751170564915 42.00054438165571,19.14766286200102 42.00037693694012,19.14784182407317 42.00022612146839,19.14795121230252 42.00004823032967,19.14824997719984 41.99990802695564,19.14860117282245 41.99975721894757,19.14882602338827 41.99968950309942,19.14903623115439 41.99966123780314,19.14915687231001 41.99968841505419,19.14923446116655 41.99960782149475,19.14925892903015 41.99952531985836,19.1492651499 41.9994540576,19.1492561204 41.9993967008,19.1492351772 41.9993217065,19.1492043901 41.9992533554,19.14916191574468 41.99919992336595,19.1490122674562 41.99915646096668,19.14891325732517 41.99909362268745,19.14880083702314 41.99910869125321,19.14858205631749 41.99902472104667,19.14848265316144 41.99906347616724,19.14834221258282 41.99906039212059,19.1482260968 41.999026125,19.1481183509 41.999032183,19.1479187353 41.9990027564,19.1477990663 41.9990325558,19.147703218 41.9990030077,19.1475634051 41.9989438508,19.1474475073 41.9988698358,19.1473276185 41.9987958253,19.1472556665 41.9987425209,19.14703954779591 41.99867063719898,19.14691933306866 41.99865473793517,19.1466190035866 41.99861807476951,19.14644486541246 41.99853366178088,19.14631911527262 41.99846856151257,19.1462091628164 41.99849473586167,19.14604426673599 41.99852559353005,19.14580877062332 41.99843384359439,19.14557808098155 41.99815381089317,19.14538484853662 41.99794648468404,19.14514504342907 41.99778294665758,19.14513739465504 41.99758229226996,19.14517211354722 41.9973347050354,19.1452319942386 41.99712479169028,19.14548991833228 41.99653354749858,19.1457186349876 41.99642758290822,19.14570589646073 41.99625123137793,19.14575603646442 41.99602178594618,19.14578811410698 41.99583222370762,19.14578460177969 41.99558602723704,19.14574523924208 41.99534973334662,19.14588880915624 41.99526687176044,19.14609970663958 41.99513757880921,19.14641174089545 41.99509332713895,19.14679451054239 41.99504528224012,19.14713719050348 41.99501566181017,19.14733517047737 41.99502326646048,19.14729688401321 41.99493345141396,19.14704680131572 41.99466371567014,19.14686891028266 41.9944587426899,19.14686949816296 41.99430799360346,19.14698599137965 41.99415749414921,19.14739808221239 41.99374920087473,19.14771298218237 41.99349503655703,19.14808069684787 41.99331994857505,19.14837153480233 41.99322128280337,19.14835693205222 41.9930728765378,19.153714 41.991891,19.159713 41.989829,19.165276 41.988437,19.167511 41.988414,19.17378 41.989016,19.178017 41.988472,19.181783 41.986598,19.185793 41.985889,19.189112 41.98402,19.196229 41.982111,19.203566 41.980032,19.213804 41.977755,19.221332 41.974005,19.232 41.970888,19.245516 41.964903,19.24489 41.967244,19.242682 41.968603,19.242711 41.970103,19.243636 41.971761,19.246776 41.972393,19.248765 41.971204,19.251197 41.969843,19.254324 41.969808,19.256808 41.971115,19.258634 41.973096,19.257529 41.973775,19.255538 41.974798,19.254903 41.976639,19.256528 41.979789,19.259902 41.980919,19.263704 41.981044,19.266201 41.983017,19.265777 41.984189,19.261981 41.984398,19.259766 41.985423,19.259371 41.988096,19.257421 41.991286,19.253877 41.992993,19.248568 41.995886,19.249522 41.999044,19.250912 42.00153,19.251621 42.003523,19.249641 42.005213,19.248562 42.007226,19.249711 42.00888,19.243312 42.013287,19.241108 42.014978,19.236882 42.016192,19.23134 42.018754,19.225792 42.020982,19.22114 42.023367,19.217619 42.026406,19.214091 42.029112,19.214361 42.031611,19.216191 42.033759,19.217359 42.036414,19.223035 42.040856,19.226657 42.043151,19.230003 42.042614,19.233348 42.042078,19.236712 42.042541,19.240527 42.043166,19.241218 42.044159,19.240156 42.047173,19.235989 42.051554,19.234685 42.053569,19.234068 42.056411,19.232102 42.058933,19.226137 42.063,19.223036 42.064701,19.216547 42.064771,19.213654 42.065636,19.21413 42.067132,19.212862 42.071148,19.209108 42.073856,19.206447 42.075218,19.202447 42.076762,19.20093 42.079446,19.202773 42.082261,19.205468 42.082733,19.209282 42.083192,19.213994 42.083809,19.216642 42.081779,19.217969 42.080931,19.221513 42.078892,19.22375 42.078868,19.228661 42.078147,19.232881 42.076434,19.233751 42.07509,19.235938 42.072399,19.238828 42.071366,19.240382 42.070682,19.241929 42.069665,19.243514 42.070648,19.245551 42.071793,19.248207 42.070263,19.250425 42.069238,19.253526 42.067536,19.255497 42.065346,19.256564 42.062666,19.258063 42.059148,19.259321 42.054798,19.263545 42.053417,19.26845 42.052528,19.272036 42.052822,19.275408 42.053617,19.278122 42.055088,19.280599 42.055893,19.283497 42.05536,19.28533 42.057507,19.288672 42.056802,19.290208 42.055284,19.291033 42.051773,19.293424 42.048244,19.295661 42.048218,19.299483 42.049175,19.302405 42.049808,19.306888 42.050257,19.313005 42.054021,19.319591 42.05878,19.31955 42.05678,19.320655 42.0561,19.324475 42.056889,19.329193 42.057834,19.33481 42.058936,19.335942 42.059589,19.339762 42.060378,19.342943 42.062675,19.345397 42.062312,19.348525 42.062108,19.35236 42.063563,19.354597 42.063536,19.364221 42.063588,19.373841 42.063471,19.378983 42.063242,19.379952 42.066732,19.380016 42.069733,19.380528 42.072728,19.382389 42.076041,19.38567906185364 42.0781496425918,19.38559296284133 42.07831975581581,19.38520706735037 42.07846295349306,19.38502841013566 42.07855311630675,19.38478542675489 42.0788183092498,19.38448527379574 42.0790569794187,19.38428517001795 42.07922139651717,19.38399217113987 42.07929564124911,19.38372060560835 42.07942292651909,19.3835991145694 42.07948656965119,19.38351334330495 42.07968281504651,19.38339184867875 42.07977828229765,19.38317745397326 42.0798472251553,19.38296305885634 42.07991086371679,19.38266616992794 42.08007241080905,19.38247451934665 42.0803073853311,19.38230786583898 42.0805114415824,19.38207455739473 42.08072167731309,19.38180792888135 42.08085770496901,19.3815663062754 42.08088860912019,19.38135801237668 42.08090096356335,19.38106639089266 42.08099988506368,19.3807914279535 42.08112972588828,19.3804748040045 42.08126574692115,19.38024149287938 42.08142650850281,19.38013317191348 42.08148215462205,19.38004983177423 42.08164292702368,19.37989151018901 42.08176040722096,19.37974490671215 42.08184765624048,19.37953361226168 42.08200966930273,19.37939274838705 42.08211941996662,19.37925891939814 42.08227621193007,19.37921664221467 42.08242778457728,19.37924478937517 42.08257936301594,19.37927294986726 42.08264208647921,19.37940675592548 42.08264732409545,19.37957577575099 42.08264211084266,19.37949829423811 42.08274141315839,19.37948420090225 42.08279890641231,19.37949122429944 42.0829295760524,19.37937148171933 42.0830654624273,19.37935739358259 42.08308636833954,19.37927286057491 42.08323793786694,19.37927285978768 42.0832431646425,19.37927285585043 42.08326929852262,19.37927283613828 42.08339996790724,19.37927283534889 42.08340519468793,19.37929394173657 42.08354631946094,19.3792358220845 42.0835882089299,19.37911019575302 42.08366394572349,19.37899240749361 42.083821257015,19.37896884203483 42.08390282898013,19.37880396061215 42.08397273553665,19.37862337298159 42.0840659474343,19.37838783517882 42.08411254055414,19.37819155973453 42.08411252301984,19.37801097917632 42.08415329362947,19.37779897874539 42.08428146218799,19.37761492692774 42.08427278613334,19.37736350667057 42.0842337060074,19.37719979377521 42.08419463397554,19.37714132712047 42.08416859090811,19.37704773715795 42.0843638602251,19.37691323818275 42.08444195786851,19.37667349639002 42.08448532816183,19.37657407641518 42.08458078709874,19.37642788613304 42.08463718527262,19.37628754271322 42.08469358382026,19.37626414464859 42.08474131597346,19.37632260987981 42.08477603847911,19.37643955966069 42.08474567443935,19.37654480414518 42.0847717227775,19.37683124508652 42.08515362989898,19.37703590178529 42.08513195327749,19.37700664568732 42.08524043807379,19.37691892920169 42.08528382423646,19.37681951077584 42.08536626474022,19.37673174381584 42.08567436112728,19.37662648043059 42.08573944293277,19.37656213439973 42.08587396130036,19.37642764486008 42.08588262620162,19.37626977457886 42.0858478932267,19.37621131451293 42.08578279410593,19.37619964063382 42.08567864441761,19.37618796245138 42.08559619230282,19.37609442775151 42.08548769423359,19.37595995881033 42.08539654961862,19.37573778654583 42.08527935789369,19.37541037657873 42.08510140017496,19.37520573967453 42.08501892529312,19.37490754530853 42.08494077816405,19.37470874241076 42.08491905629674,19.37460349093267 42.08491904332327,19.37450992540856 42.08495808754564,19.37446897481803 42.08504487322737,19.37442217579299 42.08513599773802,19.37432345626866 42.08516217148087,19.37417800944223 42.08516552639513,19.3741371104522 42.0851317891013,19.37401893784945 42.0851216544054,19.37390529394503 42.08518235759848,19.37383255895493 42.08523294635502,19.37379614665666 42.08544882708492,19.3737097667886 42.08553651934589,19.37353249874168 42.08555336222193,19.37342796815056 42.08551286988175,19.37321889048663 42.08549934913985,19.37296434824415 42.08553304685801,19.37268251870351 42.0856240850848,19.37249160213507 42.08568140335628,19.37247796532911 42.08568477467854,19.37235975515394 42.08580956754123,19.37216305690449 42.08589641686104,19.37198170630489 42.08587536069138,19.37181171968377 42.08574495001472,19.37176643347885 42.08554726134511,19.3715567561816 42.08549255224028,19.37154542148338 42.0854925505463,19.37129607411757 42.08543362885479,19.37084268464856 42.08543776490804,19.37059897973413 42.08546716854799,19.37036659442559 42.08554704554752,19.37013985612018 42.08569421920235,19.37003214222004 42.08580776391639,19.37001513741936 42.08581617312809,19.36989043415314 42.08588344883118,19.36980538146921 42.08602223316957,19.36964666597991 42.08611053315971,19.36939726223104 42.08622405395867,19.36916488661637 42.08624925090187,19.36908132459809 42.0863097949353,19.36910013615814 42.08644130913236,19.36894173897221 42.08657838882355,19.36872301118571 42.0867266502087,19.36858726327048 42.08677139607003,19.36845153269784 42.08676017970801,19.36843645289231 42.08675458084483,19.36821778404494 42.08670977213767,19.36796140504347 42.0866817446721,19.36778417584714 42.0867404726848,19.3677238231659 42.08681880883525,19.36767854646591 42.08691393645217,19.36762541976999 42.08701785121789,19.36757813730507 42.08714982179074,19.36755030508846 42.08728385811622,19.36755305209624 42.08737871873265,19.36755027198877 42.08738284257903,19.3675085649397 42.08745913550355,19.36750578551471 42.08746119714303,19.36743630318384 42.08750036580799,19.36740016024938 42.08755603800655,19.36746960870011 42.08761791612533,19.3674458870058 42.08766232593759,19.36735241720358 42.08771184701726,19.36723668088047 42.08780759957359,19.36708089513361 42.08789673927604,19.36692065207447 42.08800569308936,19.36679603039162 42.08805520759839,19.36662689762031 42.08813113369902,19.36645775170487 42.08824338747377,19.36645770433367 42.08837879159467,19.36647105028877 42.08839200431519,19.36656890731891 42.08852742725345,19.36659115371761 42.08854064167383,19.36679135908551 42.08869589916881,19.36680025836351 42.08869920339718,19.36687584256621 42.08890067246291,19.36687580162036 42.08901956378404,19.36688914890704 42.08902947393026,19.36697811168506 42.08915168466494,19.36698252118307 42.08927057698279,19.36705110215657 42.08934265171255,19.36703670314774 42.08942441252423,19.36686900701348 42.08952036406978,19.36676355596529 42.08970164583538,19.3667156446167 42.08972296628259,19.36669167043848 42.08978695065796,19.36675868818493 42.08992560621083,19.36675377989116 42.09026688063226,19.36669621326361 42.09050149708571,19.36655244331175 42.09066144330315,19.36634397886436 42.09077843950063,19.36586544395131 42.09087199568405,19.36566035515015 42.09091877969343,19.36536586021916 42.09100846773028,19.36487153354128 42.09114493827602,19.36441402326927 42.09125409993316,19.36418266992452 42.09122673651406,19.36406172211636 42.09124622090747,19.36383559635412 42.0912968988495,19.36289428428979 42.09148399009224,19.36258004093627 42.09166359345993,19.36213624810802 42.09178370918576,19.36174180361422 42.09179929814938,19.36143186576639 42.09185149335574,19.36147407537312 42.09197171997442,19.36150925277009 42.0920658108428,19.36129784217584 42.09230619375197,19.36100189750115 42.09256746309495,19.36072009051881 42.0927085186933,19.36042424832429 42.09272935372311,19.36002277903389 42.09268744006352,19.35989607155279 42.09251492369187,19.35981160729014 42.09238423220952,19.35965666641497 42.09234237864581,19.35968488389049 42.0922483030857,19.35983281185744 42.09222220632621,19.35999483839511 42.09216997879049,19.36018507876387 42.09202890225893,19.36034715317332 42.09186691120637,19.36050217385779 42.09172582536501,19.36064306531181 42.09167881852967,19.36065014106969 42.09160564472472,19.36056565108249 42.09153244851045,19.36054452514345 42.09152198966111,19.36041076775438 42.0913651517583,19.36025590348863 42.09115603965952,19.36014324713824 42.09106715508681,19.36000943478457 42.09103576029725,19.35986151206088 42.09105663030423,19.35972772303196 42.09097296645729,19.35967141738805 42.09087886857763,19.35952349924282 42.09088928429941,19.35934033947932 42.09095195921837,19.35922768118162 42.09086830003238,19.35909387082138 42.09083167673829,19.35908682737626 42.09083167488743,19.35871341823321 42.09105110508067,19.35839638613306 42.09120259959221,19.35823429428353 42.09139072317684,19.35822020715703 42.09139071937599,19.35804407591584 42.09147430155763,19.35781160452036 42.09153696071158,19.35745224572848 42.09180343248567,19.35731841937114 42.09179294177274,19.3572127446101 42.09182950062853,19.35705517909133 42.09225526326575,19.35696396662311 42.09226651839774,19.35682208360044 42.09227775944758,19.35663462166295 42.09224010650452,19.35649778452213 42.09229270949444,19.35634573817827 42.09236034841981,19.35611763494165 42.09252572801775,19.35596561243695 42.09254448540283,19.35579335443353 42.09249931525945,19.35571739869471 42.09240153111797,19.35570227760285 42.0922473629326,19.35568208735256 42.09209695333288,19.35577335689354 42.09197665649032,19.3557784297245 42.09196537765201,19.35588489028621 42.09186388558187,19.35589507464942 42.09176612594666,19.35582926879334 42.09163826357785,19.35582932867855 42.09152170031725,19.35591552017769 42.09142020219269,19.35592058713656 42.09142020364954,19.35601181837974 42.09137134843244,19.35606764172321 42.09120215925191,19.35607783308119 42.09108935860947,19.35606770674268 42.09107431520308,19.35589547110731 42.0909915427718,19.3558853390363 42.09098777976547,19.35553899773617 42.09076697680879,19.35542925448516 42.09062276283012,19.35545469043123 42.09044724339066,19.35555612812122 42.09032189594071,19.35566603638828 42.09015266875057,19.35569991967648 42.08997715087718,19.35566621590262 42.08981415141343,19.35575220686166 42.08973023973864,19.35581377168744 42.08961235144313,19.3558958653821 42.08944122078552,19.35589587337752 42.08942600709886,19.35599333477222 42.08927009399562,19.35600362310287 42.08919783156585,19.3558550500017 42.08908749050352,19.35566546580442 42.0889961548683,19.35555783480849 42.08899992790437,19.35549113441426 42.0891368327261,19.35543470876618 42.08922809887452,19.35526039335732 42.08933834824119,19.35515783665053 42.08943720755256,19.3550603947935 42.08955508504713,19.35490662048874 42.08958927096468,19.35483481460302 42.08968813841373,19.3547630168419 42.08977179216193,19.35475275824823 42.08978700273994,19.35459372710939 42.09006460337384,19.35438865032318 42.09019005427255,19.35426559943276 42.09027369197872,19.35407593269379 42.0903344892383,19.35371191947738 42.09055497521122,19.35338379538814 42.09074884737635,19.35311206633704 42.09090850577902,19.35296336857499 42.09102256129825,19.35284538744796 42.09119748049454,19.35277811338922 42.09126881911914,19.35259408781924 42.09137207213146,19.35247971311777 42.09140155348854,19.3522260286198 42.09158964626335,19.35206192380542 42.0916338701206,19.35174863177948 42.09171863237295,19.35147012164113 42.09184030185604,19.35114685402821 42.09197302545954,19.35095789676421 42.0919987916893,19.3508584956651 42.09192865525554,19.35071433858078 42.09186957314014,19.35068450563354 42.09186956333588,19.35066461254321 42.09187693615881,19.35064969166341 42.09188431061578,19.35051540958969 42.09193961159114,19.35050546300394 42.09194329799604,19.35035127153247 42.09203179952415,19.35033635039702 42.09203917396987,19.35013245860749 42.09209076209647,19.35012748645688 42.09209076044543,19.34994352573494 42.09207225074633,19.34977947672543 42.09201685044807,19.3497645599883 42.092016845451,19.34975461565017 42.09201684211876,19.34959054580558 42.09199464887767,19.34957065685035 42.09199464218459,19.34926236548178 42.09201298660718,19.34903366189975 42.09197970151476,19.34884834868446 42.09193359010215,19.34868403483985 42.09188860278864,19.34853272210868 42.09180189885819,19.34825162964535 42.0917729166724,19.34791860691031 42.09179526427105,19.34752500927328 42.09185931035173,19.34720062379768 42.0918977057804,19.34718332244301 42.09190090886655,19.34691079090256 42.09200350845521,19.34677668696668 42.09205480895883,19.34658205826297 42.09207078488436,19.34638310829141 42.09208034033362,19.34615431609003 42.0921387224837,19.34596971760287 42.09216311339242,19.34573901657763 42.0921238925176,19.34550831077872 42.09209200901036,19.3453501110284 42.09207238211077,19.34510943599698 42.09215789919377,19.34471382458113 42.09226781650469,19.34447644423577 42.09235088817287,19.34446655574918 42.09235088439557,19.34403476578252 42.09234093496936,19.34359782716765 42.09225849922012,19.34316467124604 42.09215431878364,19.34285572335527 42.09208800803441,19.34262320901191 42.09204772956273,19.34253083201604 42.09204296486699,19.34250855567339 42.09201222561187,19.34240349178718 42.09193181179207,19.34229204295277 42.09187030622131,19.3420786149805 42.09186549220989,19.34193529652358 42.0918228842456,19.34190350540738 42.09173540777737,19.34199913108016 42.09165507483634,19.34205140205886 42.09149077965495,19.34209910645226 42.09127909222416,19.34220113269951 42.09109263001441,19.34222846567173 42.09087085321939,19.34223543532053 42.09062890559851,19.342351077683 42.09039708298957,19.34243952341462 42.09020053371783,19.34243274192313 42.09018540903945,19.34237851206687 42.09003416769195,19.34223599124782 42.08986776830384,19.34205576660223 42.08975796339725,19.34180156514966 42.08966351293484,19.34177965476961 42.08965049060661,19.34152107653501 42.08954627735518,19.34150792462615 42.0895462719155,19.34131944905854 42.08949739353619,19.34129753395352 42.08949087772662,19.34124931717293 42.08948109765382,19.34101698193718 42.08945822703279,19.34069700172778 42.08938651849175,19.34041285819523 42.08936179530566,19.34017469965496 42.08939981018776,19.33992720755689 42.08943089051275,19.33967968003089 42.08950701551269,19.33966566704962 42.08951393957331,19.33937134912465 42.08971478474756,19.33919851364464 42.08980826599148,19.33890899400148 42.08983932612379,19.33889965259835 42.08984278710428,19.33844339407768 42.09009030791171,19.33815550401202 42.09022859974208,19.33783564637909 42.09035501222076,19.33782497829902 42.09036687190146,19.33751564980692 42.09065148010119,19.33723827450023 42.09095983085484,19.33723826163454 42.09097565006672,19.33698738353357 42.09146197931172,19.33696574421855 42.09185349695848,19.3370001416911 42.09232904688955,19.33700607149491 42.09267474295332,19.33701847547553 42.09269779473082,19.33703088321627 42.09271623726513,19.33701824642679 42.09297895777722,19.33668261910044 42.09323692292544,19.33632224569153 42.09337042670963,19.33597440808225 42.0933656584041,19.33577562580739 42.09338400391118,19.33553325069501 42.09353599655955,19.3355146046795 42.09354981561133,19.33527841207588 42.093734075373,19.33529072242041 42.0938677488143,19.33532145317697 42.09425493867814,19.33527155750053 42.09449459608474,19.33517194827115 42.09475727725545,19.33504126340966 42.09503838193805,19.33476937055687 42.09541322536259,19.33440893047277 42.09573897169332,19.33410996148472 42.09608430041848,19.33391652198964 42.09629279405841,19.33375837173141 42.0963253100563,19.33358266335284 42.09634478079524,19.33345091176187 42.09632516255616,19.33333666092925 42.09638377227604,19.33332775136536 42.09652717071988,19.33321343723684 42.09665748171504,19.333072745725 42.09681385309136,19.33285301979521 42.09693759453671,19.33267724494134 42.09702876553305,19.33255413148742 42.09717210856198,19.33235200630807 42.09725674814545,19.33198303299687 42.09726960405283,19.3317018237461 42.09725106296141,19.33144163322731 42.09724128069748,19.33124654536059 42.09717360923184,19.33114249226137 42.09714459682739,19.33101885398462 42.09719280259427,19.3309276787415 42.09730859888875,19.33077150642292 42.09736644144758,19.33068679141556 42.09753050797578,19.33055656758732 42.09766559099047,19.33045892601329 42.09773794267363,19.33036137310216 42.09771375957811,19.33024433195478 42.09766060609439,19.3301077849066 42.0975977890546,19.32999069049001 42.09760255609439,19.32980194240939 42.09771347455205,19.32962620365252 42.09782439935682,19.32948957555105 42.09784846279774,19.32929439288804 42.09788214930907,19.32915769635984 42.09797861338926,19.32898199623389 42.09804609667809,19.32876727400767 42.09810390593616,19.32849394557756 42.09822443190835,19.32828571281769 42.0982967240795,19.32808403059521 42.09832075192461,19.32795387202085 42.0983786044418,19.3277781115613 42.09850400744922,19.3278234059529 42.09875502294207,19.32784911452821 42.09907842986009,19.32779041781582 42.09923285589228,19.32759511848865 42.09937755691436,19.32735404910877 42.09954157017883,19.32696504114794 42.09966639907502,19.32662800590815 42.09966621780676,19.32627805506003 42.09961793738053,19.32625213875406 42.09960830509233,19.32607396802937 42.09949490006871,19.32574670044264 42.09949261087655,19.32532691166247 42.09944568152175,19.32501681018111 42.09942807829409,19.32486177518765 42.0994035875035,19.32470202735331 42.09939303953119,19.32458921442521 42.0994348136127,19.32450451275557 42.09955679074514,19.32444327988142 42.09970318582313,19.32441971867461 42.09976941447846,19.32421291393086 42.09982508149759,19.32420351628111 42.09982507623759,19.32401554887407 42.0998389165456,19.32380888217019 42.09975861276488,19.32374320211358 42.09965746961989,19.32375742001404 42.09953893943787,19.32375747713746 42.09948315678494,19.32362592092444 42.09947262315241,19.3234567235669 42.09951087791097,19.32334440493314 42.09959345621149,19.32319880599466 42.09955622781468,19.32297127237483 42.09953245997493,19.32295762239657 42.09952907529996,19.32281195718225 42.09955600705801,19.32279374551042 42.09956275036748,19.32263437385271 42.09964032721475,19.3224932523347 42.09967401489703,19.32236584422969 42.09965030338314,19.32219282523059 42.0997211179925,19.32192873926335 42.09983240214854,19.3217011043934 42.09990318444158,19.32147350086685 42.09994357443386,19.32130047176919 42.10002114174734,19.32129591329191 42.10002789286029,19.32114554224157 42.10019664936732,19.3209542192335 42.10035525129754,19.32088076561232 42.1004084121029,19.32071395378019 42.1004618172789,19.32061472696094 42.10053198208514,19.320542426164 42.10070916993515,19.32054241177641 42.10072254582473,19.32056016963591 42.10097335447225,19.32056916908731 42.10098673570929,19.32058717159706 42.10101015418222,19.32064552085582 42.10123423526384,19.32074442237807 42.1014683725503,19.32079984024984 42.10170734182495,19.32076244926014 42.10187847989352,19.32068783236592 42.10206615972376,19.32071745659451 42.10219868820288,19.32075464089035 42.10222079532159,19.32086614662078 42.10233128686882,19.32087357049877 42.10234785510748,19.32089586578349 42.1023754746823,19.32091804886152 42.10250799866075,19.32083603126273 42.10265702516549,19.3208136944895 42.10266805456768,19.32066478438949 42.10273974349475,19.32041926308033 42.10268990662759,19.32020347868007 42.10266769336084,19.31987605111917 42.1026619769913,19.31960064225584 42.10272254650482,19.31958573472327 42.10274462279463,19.3194441971864 42.10287704926775,19.31942166003821 42.10307028162447,19.31940650984107 42.10331321043707,19.31933025067131 42.10348205513276,19.31915500052826 42.10359563909167,19.31896879508495 42.10371733687736,19.31895753756536 42.10400155494637,19.3188477698037 42.10428571318339,19.31882562795346 42.10451307963023,19.31870495711154 42.10475662784531,19.31870469635603 42.10499212849948,19.31869372382942 42.10501648402529,19.31851833126421 42.1052518787302,19.31838942387153 42.10536874590079,19.31816384649983 42.10540363058613,19.31790684157311 42.10539958173916,19.31772846891312 42.10543449464284,19.31751342364863 42.10543047081466,19.31749245645169 42.10541878369742,19.317240730035 42.10538360559655,19.31705196687629 42.10532900901518,19.31704673037558 42.10532122296277,19.31688430784751 42.10516546598424,19.31685294730993 42.10506816142497,19.31674810649821 42.10501361635969,19.31652787707206 42.1049551074362,19.31633470599237 42.10495641977279,19.31612999560171 42.10493097431561,19.31610724679121 42.10493095998394,19.31598780586001 42.10493932355811,19.31580000199425 42.10504891050498,19.31562923978006 42.10517538561875,19.31547557761671 42.105268115686,19.31545849643418 42.10528498259284,19.31533899136414 42.10534819805343,19.31531623265044 42.10535662242577,19.31530485329103 42.10536083461009,19.31510576562094 42.10539024351759,19.31507730980786 42.10540710308149,19.31488962079292 42.10541542163773,19.31487824628981 42.10541541433651,19.31459957075382 42.10541523507505,19.31459388355992 42.10541523140905,19.31437214439223 42.10536023542596,19.31407636167661 42.10539801875441,19.31376349611604 42.1054526679631,19.31375779878882 42.10546110315793,19.31349608265734 42.10554532122386,19.31311876466543 42.10564552909691,19.31265116623507 42.10579332693609,19.31238820649135 42.10582205157327,19.31216904536944 42.10586886639953,19.31216417201516 42.10587247549859,19.31199364793315 42.10596267044008,19.31192535056584 42.10607099509038,19.31193507546969 42.1060818385925,19.3119543414717 42.10625524374487,19.31195901779063 42.10641418984326,19.31188580678066 42.10655863480991,19.31179804512004 42.10665610967874,19.31170537870058 42.106782480146,19.31154741082724 42.10685292777576,19.31130160801691 42.10687725607684,19.31103743389306 42.10692606452012,19.31102642246147 42.10693150001799,19.31084292954205 42.10699669115052,19.31082458491046 42.10699940020365,19.31060813418699 42.10701830376699,19.31050538594738 42.10704817007061,19.310498046063 42.10705088654598,19.31037682183578 42.10718959864273,19.31037681847271 42.10719232010293,19.31027757297263 42.10735554022411,19.31017834708846 42.10750243160089,19.31016000893827 42.10749969763781,19.31015634068448 42.10749969513736,19.31013799240339 42.10750512555831,19.3100131687415 42.10758668433442,19.30982969902041 42.10763010242122,19.30967918583082 42.10771980789003,19.30960932066726 42.10785311214605,19.30960931385229 42.10785855509099,19.30952473045149 42.10802722869419,19.30930080294679 42.10815226341824,19.30900965031381 42.10824625908541,19.30898624572906 42.10825318569475,19.308630471217 42.10837790902441,19.30833092961484 42.10843671387357,19.30805477904126 42.10849900560017,19.30804073268208 42.10850593851647,19.3080266819029 42.1085163428073,19.30766625212517 42.1086202308228,19.30739939593947 42.1087311265378,19.3072728213691 42.10891501984366,19.30730062032929 42.10913026466223,19.30731446178747 42.10928301484265,19.30732846389557 42.10931079571923,19.30746866301632 42.10944974958417,19.30748268296039 42.10946364494158,19.30749670736079 42.10947406895115,19.30766962196804 42.10964428797486,19.30779570475809 42.10984571638725,19.3077862219636 42.10994290835996,19.30763247072494 42.11011645560967,19.30748845946758 42.11018358097279,19.30732311547882 42.11025860009921,19.30732298345413 42.11036141748538,19.30737071505382 42.11055126808242,19.30737603042338 42.11056313538979,19.30738667639213 42.11057500646144,19.30737585785924 42.11069758889187,19.30737050187153 42.11071735771429,19.30727968329711 42.11087151981351,19.30726900171603 42.11088733035482,19.30711960155834 42.11099795124209,19.30711426073234 42.11100585651165,19.30682616063294 42.11119546951501,19.30655373100301 42.11145253950937,19.30647096074566 42.11162394507823,19.30640489594671 42.11164431035144,19.30630583319946 42.11164832201467,19.3062342013901 42.11171767305241,19.30626157395609 42.11182791981668,19.3063384543369 42.11195453193906,19.30640442401973 42.11200765144538,19.30634372410875 42.11213416516436,19.30623357445867 42.11219940613123,19.30598589146012 42.11222780587143,19.30584826240347 42.11226444935058,19.30575461638115 42.11233378424259,19.30551778885077 42.11247650066805,19.30530859471024 42.11252942193544,19.30506564770888 42.1126040769323,19.3048176745491 42.11266519439024,19.30453766161743 42.11265477378704,19.3042347001069 42.11264093024126,19.30422551890128 42.11264092350769,19.30383984404341 42.112688316164,19.30383524424673 42.11269512365903,19.30351841345085 42.11275278238286,19.30350464149721 42.11275277220355,19.30326583174112 42.11282410982872,19.30318758813628 42.11297389155236,19.30324707335182 42.11311696455929,19.30328824213324 42.11322596951417,19.30326054597114 42.11333832909445,19.30315029080216 42.11339614035923,19.30298497905859 42.11343007264068,19.30261472158851 42.1134845977039,19.30205964709843 42.11357297349471,19.30184160823049 42.11357461863697,19.30163621316492 42.11342194243474,19.30135479382243 42.11317882513489,19.30123319608613 42.1130036156933,19.30098210614793 42.11285655190847,19.30061664426833 42.11281672967958,19.30032742558113 42.11270917735093,19.3000229456533 42.11262420796106,19.29999248583957 42.11262418440671,19.29971066098256 42.11267480680083,19.29948973139595 42.11274242281176,19.2994592713736 42.11274239910835,19.29920811066122 42.11264617060716,19.29918527345139 42.1126405037795,19.29914723019339 42.11261787809812,19.29894167199855 42.11258382328919,19.29891882715045 42.112583805374,19.29885028353545 42.11258940058527,19.29863695818662 42.11266266980646,19.2986064819071 42.11267394382037,19.29821806386241 42.112707531426,19.29781449267473 42.11268461543454,19.29780687758731 42.11268460938165,19.29750128347711 42.11261411873678,19.29737814259773 42.11259813131563,19.29712101948897 42.11265751346544,19.29711564727963 42.11266942647178,19.29709421031039 42.11268132671528,19.29678353203946 42.1127446378586,19.29668167301936 42.11282400512232,19.29682619317435 42.11286781739899,19.29686340187882 42.11305852421224,19.29663305772797 42.11311395412366,19.29661696977123 42.11312983101389,19.29661160903887 42.11313379916415,19.29648824275096 42.11327273582695,19.29629014331647 42.11324874214286,19.29628479991884 42.11324079295892,19.29599051473628 42.11307768622142,19.29577122382938 42.11289874981204,19.2956536485972 42.11273975761548,19.2955735758481 42.11256887843764,19.29564336464207 42.11244976202374,19.29578283073512 42.11228700512614,19.2959062373323 42.11212026268054,19.29590091155307 42.11210039623727,19.29592788945292 42.11196138296928,19.29592789526927 42.11195741054183,19.29592791853478 42.1119415208314,19.29596567578962 42.11175484692413,19.29596569904814 42.11173895719801,19.29595530922016 42.11152046479023,19.29594462283946 42.11150456641446,19.29596629218434 42.11133376874778,19.29597167025536 42.11131788327977,19.29597167607053 42.11131391089286,19.29600403747855 42.11115503892665,19.29591312227546 42.11107551656714,19.29587567364552 42.11105165162846,19.2956722848438 42.11098792807442,19.29565623797137 42.11097599776723,19.29545819257918 42.11092022291692,19.2954421515826 42.11090432003608,19.29543145369426 42.11089636642207,19.29531914349376 42.11080093603913,19.29521737927499 42.11081674322491,19.29521737342625 42.11082071563725,19.2950779324046 42.1109675834956,19.29498132923629 42.11111448585232,19.29486876095541 42.11119384315647,19.29485269651768 42.11119383003444,19.29460086139414 42.11130088025632,19.29458479096493 42.111304839484,19.29441860268513 42.11143182161504,19.29441324188507 42.11143578966559,19.29439181071867 42.11144371697109,19.29426301098192 42.11163428859355,19.29424156789645 42.1116501607527,19.29423620127756 42.11165810123385,19.29404851433551 42.11183670672537,19.2940431535871 42.11184067475529,19.29402706516185 42.11185655128342,19.29394111405474 42.11203921280387,19.29393573547372 42.11205509814442,19.29393037456574 42.11205906617037,19.29380154154847 42.11226949935802,19.29380151775936 42.11228538910414,19.29380148207262 42.11230922371944,19.29384397062244 42.11254363274095,19.29384395871954 42.11255157761789,19.29385999985123 42.11256748057771,19.29390248840176 42.11280188961728,19.29390246458571 42.11281777938149,19.29390243481345 42.11283764158841,19.29390242290388 42.11284558647169,19.29385386436255 42.11308786584296,19.29384848555863 42.11310375123975,19.29378924593672 42.11332616017527,19.29366630708478 42.11356244002084,19.29347812364197 42.11376298508227,19.29322984164721 42.11394675435471,19.29319977192576 42.11395230429498,19.29298908203442 42.11412495390668,19.292959003796 42.11413607883924,19.29274084775151 42.11427527157282,19.29249282317684 42.11428621407907,19.292139447074 42.1143862672976,19.29178598391324 42.11454206913142,19.29158287914927 42.1146645472274,19.29130462646655 42.1147813863005,19.29102643196276 42.11485919991686,19.29082340919368 42.11492592706345,19.29082340060425 42.11493150201483,19.29077811787643 42.11505411336561,19.29078560758304 42.11507084474049,19.2908006131458 42.11508758251416,19.29080787062225 42.11525483847618,19.29083790724806 42.11527158899325,19.29098038578549 42.11547798465367,19.29113786143321 42.11570669255418,19.29124284842257 42.11585730593227,19.29134784426022 42.11600234418933,19.29137774379133 42.1161082941675,19.29155047550042 42.11619206439793,19.29161060079655 42.11619211496672,19.29194883049777 42.11617567396585,19.29235462326708 42.11620946335034,19.29237716171755 42.11621505714689,19.29285803385433 42.11629908232862,19.29288058068202 42.11629910106321,19.29339159123697 42.11633297447349,19.29389516958717 42.11631109004431,19.29436131879844 42.11618882357519,19.29482732599423 42.11616132987185,19.29484236540567 42.11615576717234,19.29533084571663 42.11617846453594,19.29566147509614 42.11621775741935,19.29598473638079 42.11615669399006,19.29599978390835 42.11614555617037,19.29624779171278 42.11615133098548,19.29629287744815 42.11615694224674,19.29645814887605 42.11620724990405,19.29645051983715 42.11628529363063,19.29643548849714 42.11628528155028,19.29631510820147 42.11637438450157,19.2962097671546 42.11645792454279,19.29614953624972 42.116530350823,19.29617958276847 42.11654152504582,19.29628472144803 42.11659735977516,19.29645748585321 42.11666439884597,19.29668290944515 42.11669803013196,19.29702107048518 42.11673175145821,19.2972090209825 42.11669287671125,19.2974495584107 42.11667076869787,19.2976525650948 42.1166151802592,19.29787046060945 42.11665995380731,19.29805074625338 42.11672699738247,19.29806576992541 42.11673258435052,19.2982008666949 42.1168664926814,19.29814801855712 42.1170337025336,19.29800502638459 42.11716739023792,19.29780204127905 42.11720625402629,19.29761077764296 42.11728171116541,19.29732677108069 42.11746856757402,19.29707429019522 42.11765544809727,19.29670365241247 42.11779546309066,19.29637255797568 42.11784196803065,19.29634099762805 42.11786532782953,19.29598625003703 42.11791765890547,19.29595472375834 42.11791763348862,19.29542665063131 42.11792305285092,19.29496956402718 42.11789345014581,19.29463077931057 42.1178113260541,19.29441027052649 42.11769422035373,19.29421344193614 42.11755374859735,19.29407951759523 42.11751271477596,19.29406375460807 42.11751270182502,19.29391391872995 42.11757104129055,19.29391390998221 42.11757688755554,19.29366157016401 42.11766437371158,19.29342508922789 42.11768756351387,19.29321222604783 42.11772831123729,19.29293643368031 42.11768715849872,19.2927235962825 42.11771036657122,19.29269995149253 42.1177103468834,19.29248705135284 42.11777447857905,19.29223476899229 42.117821038138,19.29191955784691 42.11778569638891,19.29162013631738 42.11773282809688,19.29158863665994 42.11771526267123,19.29151912976597 42.11755873617922,19.29151943076582 42.11736255007873,19.29150141891667 42.1172137039045,19.29132838691834 42.11705119666017,19.29131016759561 42.11703765115799,19.29112804761127 42.11685484071344,19.29094586587398 42.11671262009817,19.29090028662161 42.11669905126302,19.29059938842865 42.11665820478216,19.29054466823485 42.11665815811129,19.29025286890965 42.11663084856722,19.28997023154631 42.11657648574653,19.28974241968282 42.1164545186606,19.28972452746805 42.11623125567402,19.28977956352264 42.11602835061674,19.28976155509857 42.11587950314581,19.28971626050426 42.11568327621256,19.28958885476344 42.11550727325524,19.28960737874271 42.11532463099815,19.2897078554091 42.11522324100978,19.2898448219507 42.11511511713432,19.28983592225466 42.11497304144597,19.28973629267624 42.11477053418929,19.28961464235564 42.11458952851936,19.28960935322629 42.11458165869941,19.28951945051809 42.11444000650575,19.28949826331689 42.11442819034453,19.28931823710272 42.11428646018227,19.28895253879618 42.11422322159727,19.28893133316169 42.1142232032099,19.28858143373572 42.1142268318276,19.28834820843871 42.11420303264308,19.28798770475312 42.11420664997729,19.28782335987002 42.11420650581474,19.28765918994261 42.1140962472233,19.2876432981551 42.11408836792115,19.28730941882408 42.11401728558828,19.28685881156407 42.11400508829318,19.28684290699621 42.11400507416222,19.28682169468874 42.11400898798642,19.28679518722216 42.11400896442414,19.28650347104155 42.11409129088782,19.28627213632784 42.11427280933902,19.2860520485483 42.11445669310421,19.2859949195071 42.11470909445968,19.28599489394563 42.11472487271094,19.28613638848857 42.11491433799972,19.28615056010685 42.11491961003973,19.28617889483921 42.11493541353296,19.28640543721517 42.11514599173128,19.28644794376307 42.11516706714051,19.28669577489912 42.1153671447966,19.28670285653596 42.11537241048971,19.28674534638078 42.11540400464052,19.2869648019052 42.1156145755361,19.28712012714588 42.11602494810989,19.28712011028236 42.11603546697367,19.28713382697636 42.11632474851908,19.28694206138869 42.11652969790873,19.28672923519152 42.11660314231929,19.2867221279807 42.11661365497112,19.28670083175642 42.11662941461824,19.28644541198322 42.11673437777036,19.28643119738958 42.1167554030892,19.28626778826169 42.11696037813132,19.28612214751001 42.11712004507623,19.28590074167979 42.11718868518966,19.28565809239378 42.11715140227557,19.28563670271827 42.11713549760655,19.28544405800331 42.11707707815766,19.28526544855792 42.1171669360029,19.28505829332027 42.1172514725958,19.28493666111688 42.11742080854741,19.28477938766992 42.11755834115858,19.2846578324359 42.1176800202877,19.28465040693379 42.11785475414449,19.28465037215157 42.11787593478921,19.28452876378583 42.11802938477162,19.28443576153707 42.1181510895596,19.28429280591743 42.11826215869902,19.2842785111957 42.11827273609823,19.28411405150194 42.11843673747125,19.2839264556525 42.11854879780861,19.28358063188394 42.11858984836449,19.28356946476071 42.11859811131159,19.28333511960557 42.11867235536638,19.28309531436133 42.11867627227458,19.28283871665241 42.11871740237061,19.28271047295597 42.11870487470296,19.28252092000417 42.11867160752321,19.28224768852851 42.11865480896617,19.28221980484075 42.11865478318456,19.28197446357041 42.11863387316291,19.28172908709501 42.11863364544775,19.28156168674997 42.11869140192344,19.28143899101008 42.11869542428304,19.28139986965352 42.1187450268333,19.28150568118584 42.11883199356978,19.28160036042727 42.11890654006448,19.28161695075774 42.11898928709641,19.2816056012088 42.11910510085024,19.28167235476576 42.11920444083557,19.28167234776722 42.11920857741495,19.28161089096353 42.1192747057142,19.28137667876703 42.11926621494087,19.28130434860363 42.11916686952787,19.28122083696319 42.11908406000291,19.28115501598684 42.11906392095978,19.28101386098749 42.11912791187018,19.28086823046757 42.11914802491779,19.28069993669733 42.1191174932482,19.28064545901449 42.11904656954562,19.28057271860945 42.11901275240822,19.28055451335828 42.11901611020014,19.28042245166084 42.119083483832,19.28040878471477 42.11909359564185,19.28037691823187 42.1191036903339,19.28035871869897 42.11910367321444,19.28019481883861 42.11916426689965,19.28019026311279 42.11916763749803,19.28004455650116 42.11923162304724,19.27992629958644 42.11920788722082,19.27981694519046 42.11929890600725,19.27980327808787 42.1193090177504,19.27968017449994 42.11945739671633,19.2796710571921 42.11946751278718,19.27965738999848 42.11947762455604,19.27950249985649 42.11958884965287,19.27936131116369 42.11966971359018,19.27936129948889 42.11967646338852,19.27934308795205 42.11968319594764,19.27932486472654 42.11969667830572,19.27916558054436 42.11971677670761,19.27900161116017 42.11981449348573,19.27893326745335 42.11986842723649,19.27891961151387 42.11987178918598,19.2788331025307 42.11990545619576,19.27874416304888 42.11990274112593,19.27859728763553 42.1198948182772,19.27866530380146 42.11999994593902,19.27862842604743 42.12008940840499,19.27862299758178 42.12019446575729,19.27878541597459 42.12031524823039,19.27889028998825 42.1203425866871,19.27900573701345 42.12032324067625,19.27915264004794 42.12031559809353,19.27916313215638 42.12031560807264,19.27933089837097 42.12037802673181,19.27959295320942 42.12052224971747,19.27988644561008 42.12068984911492,19.27990217049297 42.12069764638522,19.28003834847926 42.12082618476827,19.28002237666325 42.12096236200266,19.28002744930875 42.1210635382891,19.28008496325476 42.12117643780909,19.28020025159348 42.12125047974598,19.28047291145451 42.12133245224108,19.28047815096793 42.12133634834157,19.28068767932771 42.12152332439485,19.28075564816569 42.12165958161671,19.28068198976297 42.12178403226823,19.28054159735401 42.12186908481421,19.28040439239484 42.12198850453001,19.28037184996127 42.12216779641837,19.28039568897747 42.12236507326786,19.28033890838549 42.12258020631035,19.28032277009262 42.12259214593735,19.28020956639367 42.1228132029969,19.2802014972149 42.12281917279378,19.28003191088236 42.12302224424105,19.27983825964424 42.1231595413074,19.27982213142392 42.12316550344978,19.27959629489144 42.12327288270145,19.2795720973429 42.12328481455041,19.27930604756791 42.12334433601853,19.27920897807756 42.12355345237459,19.2790958518488 42.12372668911873,19.27895870306667 42.12381024205585,19.27886977352923 42.12397154698266,19.278796660758 42.12430621204702,19.27871577862397 42.12447350253746,19.27851399774101 42.12464665522229,19.27813487063989 42.12484354793887,19.27787527111741 42.124942014855,19.27765930405918 42.12502654984047,19.27743684842644 42.12519111278942,19.27724626255921 42.12528037908108,19.27706196581125 42.12540260650485,19.27691562972492 42.12559548911039,19.27683279442388 42.12577430938195,19.27676275381785 42.12589664700331,19.27650227366316 42.1260235071155,19.27635611792811 42.12611281495305,19.27608295693027 42.12623024603435,19.27585428747184 42.12631476476257,19.27560030165966 42.12635688703239,19.27528932000297 42.12632362596662,19.27527664131925 42.12631419765571,19.27511170039539 42.12625754009696,19.27497222670741 42.12615853607007,19.27478820864882 42.12612069081828,19.27450260868264 42.12609216040747,19.27428705518002 42.12594129241639,19.27402057440767 42.12587040800752,19.27375414460737 42.12577127510185,19.27360192434875 42.12570050345119,19.27344341598549 42.12559676937934,19.27343072012789 42.12559675663763,19.27327833719602 42.1256154354694,19.27301802241436 42.12564342140239,19.27284616673686 42.1256447644973,19.27267558406899 42.12563308981109,19.27252047574226 42.12564060213228,19.27244804916812 42.12566736939684,19.27242203124551 42.1257593671081,19.27240648660593 42.12577852307954,19.27234938625866 42.12590499828639,19.27226649989849 42.12599693839614,19.27224579941058 42.12600842045545,19.27211126367839 42.12607346789567,19.27188887548017 42.12611925447244,19.27170274659167 42.12612673415762,19.27156840823363 42.12608441995022,19.27148058453022 42.12604982158057,19.27145475646198 42.12603829227733,19.27144441674869 42.12603828174626,19.271366868938 42.12603820273225,19.27135135929861 42.12603818692278,19.2712685633802 42.12608028016547,19.2712582165432 42.12608410394602,19.27109780123258 42.12616446121218,19.27096850425192 42.12619116942857,19.27097865880792 42.12629087253767,19.27097863030802 42.12630620985155,19.27101459878785 42.12642511100501,19.27101457741147 42.12643661398174,19.27101454178259 42.12645578561943,19.27100920788936 42.12654396990587,19.27100919363299 42.12655163856835,19.27096767026982 42.12663978591748,19.27088479437945 42.1267240567529,19.27072427596211 42.12685809471969,19.27065878411996 42.12692526602441,19.27055061341129 42.12700527037721,19.27042447007034 42.12706856547134,19.27029385682448 42.12711516514724,19.27015440402247 42.12707496410318,19.27004188797258 42.12707151010754,19.269965272715 42.12712484128267,19.26994256174341 42.12723497627037,19.26996046525303 42.12728840485551,19.26996030258107 42.12737519617824,19.26989270122536 42.12742186035355,19.26982061136586 42.12746184359478,19.26973960105266 42.12745842182934,19.26961796946414 42.12751504448786,19.26947835900143 42.12755829592287,19.26945584176735 42.12756494885459,19.26933867902704 42.12763826666106,19.26920804456983 42.12769487969126,19.26910885340247 42.12778490671009,19.26901421952767 42.12784489519223,19.26876063054152 42.12788008361812,19.26874842989769 42.12788308571358,19.2685735901822 42.1279070219052,19.26856547166852 42.12790098385491,19.26854921176735 42.12790096690059,19.26837436061126 42.12793093234662,19.26836623066167 42.12793092385492,19.26820757051377 42.12799708337832,19.26805705153155 42.1280572216176,19.26805296932706 42.12806626170221,19.26799997523354 42.12814459068873,19.26791042482715 42.12820780737155,19.26779651878393 42.12825290968836,19.26779245378991 42.12825290542135,19.26752002413186 42.12829181139444,19.26722319224801 42.12833672061361,19.26721506223145 42.12833671204059,19.26697111518411 42.12836057288592,19.26681094205988 42.12844736502734,19.26679534098549 42.12845890247519,19.26662892929296 42.12858196831819,19.26649897928527 42.12864730284355,19.26640014219685 42.12873577805554,19.26641554263406 42.12882822580768,19.2663271655385 42.12887819894905,19.26619206648877 42.12892041971897,19.2660103946265 42.12887786196563,19.26586484973044 42.12895088167753,19.26573506283021 42.12893148665589,19.26555847189194 42.12894670322613,19.26538192578549 42.12893881173433,19.26537673281132 42.12893880617452,19.26529360770092 42.12895797368774,19.26528841472365 42.12895796812407,19.26520516940018 42.12903875639271,19.26512182612002 42.12916961156148,19.26500727165359 42.1293273924493,19.26500207863819 42.12932738687611,19.26489291229489 42.12938503941913,19.26482507887491 42.12955057317149,19.26466380748251 42.12969675011728,19.26449233052769 42.12975048421683,19.2643056198377 42.12981404978149,19.26411397652858 42.12985123092148,19.26394255738386 42.12985852339798,19.26384176081549 42.12984345916882,19.26378329816537 42.12986916470207,19.26370044767044 42.12994744049374,19.26366351904662 42.13003598765316,19.26375989686167 42.13008720014118,19.26381028550675 42.13016221307426,19.26383772324643 42.13022697954818,19.263800848421 42.13028826905244,19.26371800423051 42.13036313746279,19.26359852029598 42.13038004371277,19.26347458351257 42.13032539397134,19.26339662297462 42.13025375812642,19.26338754233674 42.1301992331672,19.26327733476031 42.13017185563232,19.26313956188752 42.13014444791873,19.26303384058275 42.13017159016291,19.26301079509875 42.13020904417361,19.26290964080063 42.1302498200098,19.26281773573621 42.13025994114688,19.26281771543539 42.13027016271354,19.26284972626956 42.13034515598576,19.26290472869361 42.13040995275794,19.26290470840232 42.1304201742926,19.26284940823804 42.13050529367238,19.26276204287721 42.13054267727982,19.26269310864441 42.13055282344334,19.26267473159647 42.13055280333424,19.26266093525454 42.13055960262345,19.2625644421443 42.1305663113643,19.26255065934677 42.1305662962672,19.26246330717855 42.13059686528258,19.26243109301484 42.13062408751568,19.26242188409539 42.13063429899826,19.26238043366536 42.13068536144839,19.26244005747277 42.13073653472262,19.26244465170015 42.13073653975806,19.26250431630515 42.13076726986908,19.26252267985655 42.13077410437304,19.26259159401565 42.13077417983293,19.26259151261142 42.13081506605577,19.26255469726837 42.13084569047784,19.26248574227362 42.13086605813221,19.26242136105951 42.13089665234124,19.26243047491105 42.13093414146017,19.26243504877094 42.13094436806046,19.26245334443596 42.13098527443656,19.26245331046678 42.13100231035786,19.26244402673753 42.13105000094831,19.26241640653065 42.13107722824869,19.26237959086863 42.13110785269744,19.26233822170805 42.13111802895758,19.26229681838848 42.13114524111919,19.26225084798002 42.13115881951504,19.26223705145662 42.13116561878621,19.26203946136327 42.13118243794744,19.26195677706056 42.13117553270969,19.26190612896808 42.13130477899708,19.26187257823867 42.13140777811484,19.26180560849997 42.1315478333581,19.26174965423617 42.13173735793698,19.26163254257208 42.13193917937262,19.26150988079943 42.13213687325151,19.26127603451151 42.13235093012654,19.26114531041409 42.1324799894599,19.26109118972376 42.13263385155905,19.26094484474508 42.13277620970332,19.26079857978088 42.13287866202608,19.26069838047892 42.13300966940543,19.26072111993872 42.13316931751615,19.26078236520076 42.13329480360487,19.26075135125505 42.13342588805557,19.26070491645852 42.13357975870674,19.26070489343782 42.13359116034238,19.26063547691537 42.13370509969874,19.26064299155586 42.13379062052169,19.26057345948903 42.13396156830297,19.26040416355392 42.13404689243129,19.26010428505819 42.13408076298646,19.25982760769273 42.13404624867162,19.25951254014192 42.13398888741698,19.25929728109599 42.13399434683321,19.2591204939901 42.13398274661086,19.25902817492676 42.13401684794646,19.25892807471075 42.13409654731768,19.25879740002697 42.13409069941682,19.25862845229823 42.13400499630189,19.25852863306745 42.13394787524144,19.2584086889044 42.13394540619189,19.25827482411333 42.13397700604563,19.25821051043409 42.13402059128455,19.25822118169401 42.13403647903618,19.25824239338263 42.13413175701114,19.25825843295112 42.13413971300151,19.2583279434992 42.13417154296518,19.25836519502417 42.13427477694731,19.25829013610436 42.13433819472451,19.25827942389972 42.13434215152783,19.25812940366499 42.13442136019491,19.25805966346452 42.13450065966974,19.25797385039826 42.13458787882493,19.25789356960295 42.13458778784097,19.2578187312392 42.134544044743,19.25777598057583 42.13451224486141,19.2576582930396 42.13448432875813,19.25750846023128 42.13447225172459,19.25730467147908 42.13441880235152,19.25731042677972 42.13423918932292,19.25743463827853 42.13403975367469,19.25753174634965 42.13393209264416,19.25757509539292 42.13379243802808,19.25762399181554 42.13357295883317,19.25762428079853 42.13343325511985,19.25761354894169 42.13341727671155,19.25760313909786 42.13324562833715,19.25747956631636 42.13313771560162,19.25745806967881 42.13312172492893,19.2573129758223 42.13300979580635,19.25728610509164 42.13298980731685,19.25710326018578 42.13291375859622,19.25708712949837 42.13290575700789,19.25688264739393 42.13288157337807,19.25681283340769 42.1328056535363,19.25681284169942 42.13280166203273,19.25680760030038 42.13273379921743,19.25671618213011 42.13269377860471,19.25653317991309 42.1326935681934,19.25652242337223 42.13268956417674,19.25634587638314 42.13249902954838,19.25639164909167 42.13236892955254,19.25645050205004 42.13220028083477,19.25651587485854 42.13202199855431,19.25652267634376 42.13187739214673,19.25661398843976 42.13172806219967,19.2566988301254 42.13156426315386,19.25679012125499 42.13142457363815,19.25673180153804 42.13133773793301,19.25671233157474 42.13132325401791,19.25655655196215 42.13121702413326,19.25636807175589 42.13120716623173,19.25636157166428 42.13120715874511,19.25617289016168 42.13129371024203,19.25613388997554 42.13129366524123,19.25595826808411 42.13135130848349,19.25593878816867 42.13134164495409,19.25580877712302 42.1313463151461,19.25579576693767 42.1313511205247,19.25561998269275 42.13148589101323,19.25545061676213 42.13165923259894,19.25543108620472 42.13167367143576,19.2554050352267 42.1316977436991,19.25530048675023 42.13195792893924,19.25522195791583 42.13220850313646,19.25503298557116 42.13243002604398,19.25501995483163 42.13244447235562,19.25496100517867 42.13265650525733,19.25496749545781 42.1326613332787,19.25504531505943 42.13274819231189,19.25518137240444 42.13296045128433,19.25507208962539 42.13312927481975,19.2549630497315 42.13325227583093,19.25479107593865 42.13335397474033,19.2547278283637 42.13348127468255,19.25475050508929 42.13358744562156,19.25475617645063 42.13361292692711,19.25477895199544 42.133672394363,19.25478456062015 42.13372759606738,19.25478452468827 42.13374457917161,19.25478448875484 42.13376156224561,19.25479008824689 42.1338210097385,19.25479007027754 42.13382950129292,19.25479002535234 42.13385073018014,19.25480132328485 42.13392292167302,19.25477257076122 42.13398232929047,19.25473821862195 42.13398228940439,19.25469811405908 42.13399498020334,19.25466945132607 42.13401193007895,19.25464653186698 42.13402039503868,19.25461787795746 42.13403309912667,19.25452045659652 42.13407544384705,19.25449181160296 42.13408390213562,19.25448035182449 42.13408813460729,19.25440011524142 42.13412625340995,19.25432562199173 42.13415588733867,19.25430843669494 42.13416011313999,19.2542969679649 42.13416859139604,19.25426257927356 42.13418553457893,19.25419944603299 42.13425763970428,19.25422798292893 42.13430013099656,19.25427946645506 42.13432141994537,19.25429090812439 42.13432567906426,19.25432517043184 42.13436817693456,19.25432513429335 42.1343851601277,19.25433082351114 42.13440214998082,19.25430204279703 42.1344742952457,19.25425028780658 42.13458038039858,19.25409891498276 42.13465535560718,19.25396954921652 42.13467995145157,19.25376929585241 42.13469209061451,19.25366081306494 42.13470433705059,19.25363996269631 42.13470121922011,19.25352316337114 42.1347010822327,19.25345207763688 42.13478142690789,19.2534269368069 42.13483398500488,19.253422752219 42.13484016687486,19.25339769065012 42.13485560441077,19.25335582432522 42.13492670322453,19.25325986817153 42.13493277730979,19.25316821586925 42.13487698852813,19.25316405773335 42.13487079687427,19.25310996820307 42.13480577201183,19.25306826053739 42.13480262954139,19.25295563181283 42.13480249694091,19.25287203049476 42.13488282671531,19.25278436372665 42.13491365738091,19.25267601905006 42.13486094185242,19.25259256332831 42.13487321693861,19.25248400533418 42.13491948975487,19.25236309268345 42.13489150626629,19.25236747068299 42.13479561597148,19.25236749733147 42.13478324240096,19.25237604682526 42.1346873570665,19.25233021399559 42.1346625556157,19.25223837505036 42.13469338090646,19.2522300122114 42.13470265121183,19.25215060074178 42.13477370544913,19.25212957651302 42.13485101569395,19.25205017117162 42.13491897658713,19.25192497269925 42.13494357551169,19.25174527012285 42.13494184101074,19.25166506001414 42.13478971787715,19.25159210149251 42.13467018070671,19.25157748161421 42.13465930418081,19.25147513084782 42.1345885980018,19.25128461398164 42.13465895517611,19.25126264890954 42.13465892897037,19.25113806225606 42.13471307586698,19.25110874008577 42.13472932952802,19.25099133320418 42.13484863958018,19.25097618212017 42.13508209268186,19.25097614670042 42.13509838129995,19.25099806471441 42.13512012576766,19.25105634369265 42.13525593453388,19.2510636418568 42.1352668023917,19.25117320894756 42.13538638375248,19.25121697462039 42.13546244993128,19.25126815645134 42.13549508844749,19.25138525804534 42.13551694639764,19.2514583113169 42.1355930475358,19.25142153756655 42.13566901773927,19.2513701906945 42.13571239318093,19.2513555470538 42.13571237572167,19.25117970546315 42.13576646169651,19.25115039456518 42.13577728587587,19.25100386350356 42.13582054754902,19.25098919621215 42.13583138919617,19.25095244526475 42.13589650033721,19.25098153187511 42.13598883808397,19.25103263141615 42.13605948388202,19.25097376115824 42.13619515341644,19.25096641564312 42.13620600384938,19.2508343259188 42.13634158611549,19.25083430226237 42.13635244531574,19.25064363627059 42.1364879576201,19.25048249431839 42.13651491287762,19.25018217548619 42.13656884915124,19.25010146717142 42.13664476705215,19.25018934697413 42.13680142349754,19.25017666426125 42.13698359519052,19.2501025399059 42.13717480241457,19.25001627033313 42.13730222958494,19.24999144221473 42.13742062136484,19.25001595111208 42.13744797896194,19.2500648493012 42.13755735015572,19.25015469426547 42.13766450717876,19.25008407816114 42.13774988258822,19.25007125207321 42.13775936275583,19.2499174219134 42.13783514234613,19.24994286611001 42.13791113779664,19.25001952139615 42.13799194268285,19.2500386878481 42.13801095697059,19.25009614571032 42.13808699100552,19.2501343125199 42.13820098426054,19.2501212265877 42.13832915940631,19.25001210999598 42.1384524713318,19.24985183336859 42.13854723482773,19.24969155609464 42.13864199811723,19.2496851324724 42.13865148603514,19.24946730264616 42.13871294505101,19.24926870140645 42.13876493151986,19.24926228814929 42.13876967154197,19.24899979479611 42.13875985849964,19.24877579141285 42.13871685679888,19.24869915773375 42.13862655504702,19.24861624784519 42.13847927169375,19.24855894916183 42.13833201952116,19.24852721968924 42.13820378979993,19.24845689468454 42.13815622614407,19.24845049201263 42.13815621836363,19.24832246863162 42.13814181925641,19.24818158687624 42.13815114349181,19.24802143307202 42.13818893108287,19.24784863211147 42.13815548562534,19.24770145278339 42.13811732336108,19.247611908928 42.13807448356533,19.24759912469475 42.13806497227786,19.24749675421228 42.13803161230297,19.24730461677709 42.13805511639945,19.24729821403568 42.13805510856093,19.24714442922643 42.1381071464053,19.24711239382342 42.13811660284205,19.24691382011071 42.1381543421677,19.24672841446515 42.13803067047501,19.24672842513859 42.13802592263609,19.24660720829189 42.13783111177209,19.24661364309482 42.13781687614038,19.24663965983978 42.1376364900315,19.24663969182512 42.13762224653016,19.24668478874154 42.13749885814582,19.24680017749723 42.13743727833986,19.24692832897168 42.13739470554357,19.24694114530721 42.1373899734792,19.24699255870329 42.13730457571018,19.2469925799427 42.13729508006748,19.24698005032682 42.13717162095066,19.24691620342661 42.13709082909621,19.24676920551585 42.13697195183502,19.24667342968404 42.13685313746537,19.24666749418797 42.13664422476631,19.24673770949766 42.13642550305801,19.24686145742422 42.13624273170228,19.24694398285089 42.13610868939192,19.24698547736915 42.13593801204347,19.2469777188369 42.13573068965921,19.24702744899105 42.13555392533423,19.24710177783629 42.13540767848247,19.24723356758357 42.13530418414902,19.24736523444232 42.1352555664046,19.24739815112516 42.135243411935,19.24756288379229 42.13511556800655,19.24760422644141 42.13501196245317,19.24747284574423 42.1349325349489,19.24740735273637 42.1348044087412,19.24740736633727 42.1347983113308,19.24735835900608 42.13465191300687,19.24735860390798 42.13454215961885,19.24733411397426 42.13446286300446,19.24722741511743 42.13437736798983,19.24717824502287 42.13430413841049,19.2471372972716 42.13423091884473,19.24709626783186 42.13419428386397,19.24702257126675 42.134091845701,19.24692545259778 42.1340153342049,19.24681115600042 42.13394304545182,19.24666830232802 42.13384525749903,19.24653111486575 42.13377294039044,19.24651396526521 42.13376443123266,19.24638828113195 42.13366666418223,19.24633705187859 42.13354352513863,19.24633133855342 42.13353927408421,19.24629159336968 42.13339917324569,19.24629161245155 42.13339068528801,19.24618316471466 42.13326323141654,19.24603482953716 42.13305933611445,19.24590354879732 42.1329063895653,19.24590356792158 42.13289790159087,19.24580664361094 42.13273650933896,19.24580095907313 42.13271952626775,19.2456810577985 42.13259630121825,19.24561274807074 42.13243494399693,19.24560097372946 42.13225444205612,19.24569349443336 42.13210264700726,19.24572458018311 42.1319431803291,19.24570443912863 42.13179124571744,19.24565353828567 42.13165446389944,19.2455923786954 42.13152526501688,19.24538785099998 42.13138829233211,19.24516282346139 42.13125888944435,19.24506056046153 42.13119040292826,19.24490719225311 42.13107627984924,19.2447846189027 42.13093181327802,19.24478505037844 42.13074192768914,19.24494919365855 42.13062060558958,19.24509287011632 42.13049166231117,19.24522616668466 42.13042346946791,19.24524670160652 42.13040070872822,19.24539035972754 42.13027936053362,19.24564653788841 42.13021891547764,19.2458207655103 42.13016596364805,19.24582107389153 42.13002924607569,19.245800590691 42.13002922066721,19.24564727545084 42.12989231238457,19.24555559899765 42.12967193055412,19.24547413031249 42.12946675208656,19.24540276614783 42.12932234966019,19.24524950488537 42.12916265414545,19.24506553714249 42.12899532433974,19.24494300151379 42.12883566631712,19.24491253566039 42.12872169597438,19.24483075947546 42.12865323428936,19.24476963862339 42.12850884323023,19.24461622484366 42.12841750502347,19.24442810554972 42.12827630951998,19.24426318803284 42.12809540522497,19.24413306264749 42.12792099753921,19.24408142798093 42.12766924618292,19.24409909599838 42.12755310512055,19.24400358613818 42.12746263594254,19.24388204585292 42.1273398661041,19.24381272924439 42.12721070836656,19.24372595098177 42.12710734239276,19.24360429344891 42.12703620007758,19.24348253268521 42.12701023219857,19.24333459379068 42.12701649873753,19.24322996964401 42.12710671613617,19.24313388384266 42.12726793302441,19.24311643652375 42.12728727145371,19.24301160423864 42.12746783758374,19.24292421881788 42.12762906483501,19.2429242039924 42.12763551833626,19.24289780086671 42.12780375383416,19.24299304522805 42.12797118799107,19.24309076767688 42.12813175125143,19.24312682212581 42.12824853069475,19.24313256648494 42.12838323082007,19.24313251491177 42.1284056795563,19.24309597550623 42.12849991835277,19.24306543816805 42.12861661352522,19.24305937403607 42.12862109561683,19.24305327893487 42.12863904695511,19.24300466255093 42.12871980118729,19.24296813301216 42.12880955022159,19.24296797804144 42.12887689645432,19.24306475682896 42.12891293694774,19.24307686450677 42.12891295225133,19.24317963531335 42.12897593878068,19.24325205455901 42.12907480501298,19.24323973026882 42.12916907451671,19.24320924430367 42.12926332120528,19.24324530966319 42.12937561098508,19.24328745997519 42.12947443917663,19.24325023769871 42.12963654872753,19.24324986254176 42.12979997957007,19.2432498294389 42.12981439993586,19.24325601291625 42.12994419128663,19.2432689205661 42.12996824157906,19.24326215227068 42.13009320963708,19.2433590207169 42.13024714925166,19.2434366105752 42.13032896256292,19.24346894065697 42.13036265085388,19.24354629949017 42.13054540631372,19.24354625543397 42.13056463340936,19.24358492402005 42.13066081788504,19.24360424734948 42.13071371689359,19.24362360373659 42.13075219558087,19.24358440651141 42.13088673627376,19.24355816113881 42.13102610010727,19.24347050172201 42.13122797668446,19.24335045351729 42.1314687590128,19.24330898901524 42.13163763747431,19.24331243081778 42.1317650323579,19.24334480164688 42.13195224614515,19.24335926210895 42.13206135998647,19.24336388203655 42.13218500748425,19.24340290235385 42.13227596971354,19.24340288567185 42.13228324273685,19.24353006294596 42.13242159089755,19.24368186722351 42.13251269519682,19.24384835800983 42.13261472742229,19.24404920826062 42.13270225657931,19.24418136654507 42.13280788194931,19.24434790914367 42.13288809470459,19.24447514016408 42.13300462347971,19.2446219620168 42.13313208652667,19.24467485899856 42.1332006720944,19.24466295175628 42.13327894108019,19.24465105439521 42.13335286098476,19.24470372672409 42.13340076692973,19.24472703666876 42.13346603249704,19.24476216482976 42.13349217096981,19.24483824630005 42.13356185147038,19.24485573137515 42.13360971336238,19.24485552387202 42.13370104404635,19.2448552867466 42.13380542196495,19.24486032853784 42.13388301121906,19.24487021080549 42.13396135818599,19.24490528590967 42.13402108550922,19.24491017202938 42.13408450528999,19.24486478256715 42.13413667168945,19.24486468091436 42.13418143411897,19.24491491419839 42.13421133856202,19.24488963662852 42.13426726022694,19.24484426398342 42.13431196613477,19.24487932231238 42.13437915374934,19.24492441556003 42.13445754449544,19.24494383543594 42.13455452371539,19.2449689005812 42.13469097969828,19.24497176288833 42.13482740798974,19.24499368838183 42.13494974723816,19.24505075515578 42.13496157919525,19.24506027073166 42.1349615910633,19.24512689042781 42.13495696982614,19.24521872520734 42.13502294456949,19.24527202939303 42.13529586108928,19.24529384943043 42.13546524395671,19.24527390258879 42.13571726064787,19.24532738047649 42.13581688792674,19.24541317974476 42.13587274857074,19.2454559623171 42.13595245022349,19.24539679833573 42.13599220090843,19.24534836599489 42.13603594729621,19.24534814964709 42.13613152514476,19.24535350198298 42.1361394966193,19.24541776616228 42.13621922496468,19.24547666013684 42.13629894657583,19.24556762361033 42.13644640913448,19.24555663984754 42.13655392079796,19.24548126516324 42.13663745788911,19.2454165770894 42.13674490276702,19.24541103554478 42.13682056186867,19.2454269396953 42.13691217734132,19.24554710468218 42.13694921288426,19.24557134042491 42.13697626883762,19.24566230093645 42.13704394638796,19.24572281934596 42.13714311612891,19.24575293628002 42.137255760989,19.24572839530429 42.13736383368564,19.24568562133437 42.13747638802626,19.24562472618832 42.13754387686395,19.2456792114472 42.13762502184577,19.24574584540588 42.13770618188182,19.2457514826095 42.13789987362016,19.24575721135574 42.13805302687359,19.24570826106134 42.13821061663207,19.2457382871448 42.13836380024475,19.24568330289057 42.13850336544103,19.24561612894848 42.13866093293679,19.24556122553093 42.13876446398577,19.24545792023911 42.13878235283205,19.24525737364543 42.13882264211986,19.2450100984464 42.13885653502675,19.24486201190988 42.13878085619206,19.24471968024561 42.13878458712099,19.24443499907647 42.13879986587552,19.24418177556467 42.13888944929725,19.24400760185654 42.13898694897028,19.24399177028626 42.13899474655495,19.24376492808344 42.13907263608247,19.24358566971913 42.13908804539458,19.24341699844626 42.13908392413033,19.24325877077589 42.13912281191161,19.24311100436099 42.13919689141989,19.24297404094104 42.13915763090918,19.24295825414485 42.13914588474488,19.24282135378522 42.13907926291699,19.24274770893501 42.13901272101812,19.24272138849524 42.13899705269846,19.24264241843483 42.13895395642768,19.24256346643933 42.13890304260563,19.24242632253953 42.13894195602695,19.24236296760845 42.13898487181814,19.24233647561861 42.13904346942445,19.24242053653817 42.13916474737242,19.24249934440952 42.13927820106862,19.24258860465322 42.13943075543255,19.2426462280612 42.13958717850728,19.24261946486025 42.1397630386771,19.24259804492894 42.13990763580802,19.24250306963489 42.13994660336395,19.24238185482662 42.13993472359255,19.24227114654114 42.13993849222741,19.24214585391567 42.14010164195214,19.2420210480308 42.14020990394222,19.24200477381536 42.14022192998056,19.24191254382366 42.140294093002,19.24187962317787 42.14047876807229,19.24187417985828 42.14049080789746,19.24175476007665 42.14061112316839,19.24163536767836 42.14071939161579,19.24159156800539 42.14092413064386,19.24145046561438 42.14105244927682,19.2413254219252 42.14126110031265,19.24121689535563 42.14135332028739,19.24113023677478 42.14135722506632,19.24107609035023 42.14135314019205,19.24096206290371 42.14148149351997,19.24080558155551 42.14171722896587,19.24061481825771 42.14192860655034,19.24041784313751 42.14208354323631,19.24041783212542 42.14208824595445,19.24023380485197 42.1421303335838,19.23996102818257 42.14215349551978,19.23979607108735 42.1421767962098,19.23968163033911 42.14225529553605,19.23965440713254 42.14227138628527,19.23951270206676 42.14241633651779,19.23944715358076 42.14254525932274,19.23935445714627 42.14265802079488,19.23932177756326 42.14268216732775,19.23924543955404 42.14277479243746,19.23919063104871 42.14296016962838,19.23917928117702 42.14316172905483,19.23916808334372 42.14329878492053,19.2391134356372 42.14341562696635,19.23897731576247 42.1434960798537,19.23884118567733 42.14358056412225,19.23858764782683 42.14369253418694,19.23828592647811 42.14386801531631,19.23806780319787 42.14393427722069,19.23788825696091 42.14395305542855,19.23770217535753 42.14402411173309,19.23752908467458 42.14402388422363,19.23730436747721 42.14416618949405,19.23712452485705 42.14430855318366,19.23697693993337 42.14436539872621,19.2367716569994 42.14442216776171,19.23647013068038 42.14451208233561,19.2362450770923 42.14479223184927,19.23610975100812 42.14508200658811,19.23610972814295 42.14509151325489,19.2360576281943 42.14542893155088,19.23617871542266 42.14572855238585,19.23618511519543 42.14573331419735,19.23620427926926 42.14576185958693,19.23622346654745 42.14578089832796,19.23632535577708 42.14606623334272,19.23649770966098 42.1463754279958,19.2365742188403 42.14655140255768,19.23677248140263 42.14675130426151,19.23709249845468 42.14697513239486,19.23735494272598 42.14714659766709,19.2373741645374 42.14715137615121,19.23759184595653 42.14727524879962,19.2377132933678 42.14742751558322,19.23769340688382 42.14753262323035,19.23764243355896 42.14776433385358,19.23713798719686 42.14786086729857,19.23674426908253 42.14803978827157,19.23642128237948 42.1481589880982,19.23611858855961 42.14822587700053,19.2358968031203 42.14819567582567,19.23563480585238 42.14811308355524,19.23555445484639 42.14797839583398,19.23555447287599 42.14797091914424,19.23558521288496 42.14776908883317,19.23540383776312 42.14770903300587,19.23539375323299 42.14770901953938,19.23506087684044 42.14774595814816,19.23503058721761 42.14776087107313,19.23451557115759 42.14805177303612,19.23449534784901 42.14807417609197,19.23445495514614 42.14809655205402,19.23414167790444 42.14836529334766,19.23374753585964 42.14870869265818,19.23378747305381 42.14887323468971,19.23395900559008 42.14883608177711,19.2341203977652 42.14882134524788,19.23421090497089 42.14892614088128,19.23413998350274 42.14906062667043,19.2340086991284 42.14913521767155,19.23380683860959 42.14920223702261,19.23363534161502 42.14922443656865,19.23341367597648 42.14914189384493,19.23322405945205 42.14918013578908,19.23294473791745 42.14930669190374,19.23292567969861 42.14932076987044,19.23277321394732 42.14943339359577,19.23269034972374 42.14960722778935,19.23269029174132 42.14963073395019,19.23267721469989 42.14979055891273,19.23271493723271 42.14992224500536,19.23289238729793 42.14996479580616,19.23298090920919 42.15006834270801,19.23301233729555 42.15018121522487,19.23310706141659 42.15034118543764,19.2332525044574 42.15050592518909,19.23323962501747 42.15058582937481,19.23316334416527 42.15066094728597,19.2331760149706 42.15066566551082,19.23328373538347 42.1506987189935,19.23346749331146 42.15075538078089,19.23365740696852 42.15088727093318,19.23368273732034 42.15090140860816,19.23385993437739 42.15104738528594,19.23381509448725 42.15123067559217,19.23384621128491 42.15147048369534,19.23345203344014 42.15177024648605,19.23323551255046 42.15190109588944,19.23301879373553 42.1521120865491,19.23271380670446 42.15225010089367,19.2324680336421 42.15228619596307,19.23230095091211 42.15229325483218,19.23215307234006 42.15248248055854,19.23208395641024 42.15261352814673,19.23200488631419 42.1527955616964,19.23191611433206 42.15292658256482,19.23176863002967 42.15295552450134,19.2316503565565 42.153093790823,19.23155182795238 42.15319565578429,19.23130610279276 42.15320989210758,19.23109963309762 42.1532460386026,19.23100150253868 42.15318761915152,19.23077870457434 42.15311498095898,19.23059228706525 42.15300115674201,19.23051115298502 42.1529016728359,19.23035322854198 42.15288016183389,19.23020958569828 42.15289061148047,19.23008541159724 42.1527733228253,19.22998008408872 42.15277672682628,19.22985068672126 42.15283333298204,19.22974042914935 42.15289351449091,19.2297356328323 42.15289705690955,19.22962073017611 42.1529004474438,19.22961115580196 42.15290043423181,19.22941012692746 42.15288596049946,19.22941013586007 42.15288241147422,19.22928584599837 42.15281125892334,19.22917591775927 42.15274012604105,19.22910299873883 42.15267570310953,19.22909143431561 42.15262804369833,19.22907390763714 42.15262801940698,19.22897461161816 42.15261921929106,19.22884022945 42.15262336402105,19.22869398778289 42.15269679157676,19.22853599556582 42.15279618978697,19.22842459846559 42.15295195837673,19.22841873429001 42.15296061263681,19.22830720494989 42.15316835529746,19.22823685613995 42.15326354382562,19.22836535375991 42.15327671640034,19.22840030887733 42.15331574589816,19.22842334924681 42.15344571406566,19.2284053837646 42.15361893720787,19.22834673014059 42.15370981088802,19.22820060581423 42.15373559471162,19.22811263006658 42.1538697395835,19.22794994371609 42.15400317042221,19.22766134901413 42.15416169533327,19.22738885568761 42.1542156738677,19.22723134737446 42.15422413180078,19.22708085202456 42.15416009818091,19.22694651915537 42.15408810917168,19.22683908956638 42.15401615769585,19.22668843150258 42.15401594568082,19.22666151800259 42.1540198966993,19.22647849415096 42.15405155013102,19.22647307273564 42.15406749815691,19.22640288923189 42.15415914420755,19.22640285859976 42.15417111091183,19.22646178061948 42.15427490569991,19.22655295607031 42.15439071252802,19.2266655321277 42.15455441614243,19.22669236409905 42.15458237621893,19.22672968214856 42.15471805143898,19.22672966174294 42.15472602921713,19.2266860138558 42.15496131320391,19.22668545218425 42.15518070225269,19.22658807737557 42.15538399984009,19.22647524576843 42.15559092835635,19.22612639420366 42.15582968774678,19.22583831422541 42.15600542294236,19.22580700268625 42.15602391994273,19.22550004232449 42.15624598096788,19.22529338801245 42.15636620656733,19.22527459350108 42.15638008588893,19.22506762614315 42.15662082944267,19.22492299328668 42.15693582709986,19.22465992471939 42.15710696136229,19.22442222408452 42.15731916764181,19.22422017986924 42.15746355556298,19.22396609102885 42.15760786850838,19.22374472925838 42.15767506705931,19.22372520026254 42.15767986161627,19.223477627233 42.15781936009774,19.22335358230127 42.15798797067316,19.22326868301459 42.15811323456339,19.2232098182667 42.15823371323053,19.22322280416883 42.15824337694978,19.22332013546559 42.15833996728198,19.22332662850488 42.15834479912363,19.22343042781407 42.15845586618242,19.2235798545124 42.1585332408063,19.22373584985804 42.15858651200108,19.22396343172819 42.15863024025474,19.22406111556159 42.15859179968916,19.22406763366391 42.15858698647666,19.22415898723536 42.15848102147015,19.22434802364503 42.15833661562519,19.22452401059104 42.15820665845016,19.22470636492242 42.15812975776352,19.22496001745257 42.1581542311087,19.22499254501859 42.15815427732405,19.22536981515964 42.15817410275252,19.22540236764415 42.15816450383006,19.22577962602501 42.15818915036005,19.22608520038131 42.15826191980687,19.22620864503928 42.15832478679311,19.22622140863374 42.15842125536137,19.22613666280149 42.15848865122201,19.22610394926307 42.1585609429766,19.22612346593379 42.15856097052029,19.22624056646638 42.15856113571508,19.2263315210847 42.15860948924643,19.22638375127039 42.1585372248914,19.2264425488324 42.1584408570961,19.22655963706255 42.15844584445156,19.2265921402539 42.15845553525063,19.22670908062579 42.15851839267496,19.22670231605251 42.15861965639667,19.22669579802469 42.15862446976685,19.22663058146372 42.15868707096632,19.22658480773469 42.15877863469545,19.22658479539528 42.15878345721578,19.22653245416681 42.15889912435259,19.22646711386714 42.15900995065773,19.22626525348206 42.15908200399596,19.22611535162419 42.15918788823254,19.22589388708486 42.15929367102687,19.22569202580347 42.15936572340808,19.22563984405904 42.15941869748424,19.22571765161572 42.15952008109162,19.22566533332562 42.15962610311352,19.22556101891737 42.1597127611437,19.22537215492778 42.1597896542382,19.2251249009884 42.15980377097431,19.22493602719329 42.15972574552521,19.22478251633371 42.1596895703663,19.22456428377491 42.15967128128624,19.22440268885928 42.15963509403988,19.22427316718004 42.15970083034812,19.22424053380933 42.15981464730523,19.22436169134274 42.15985676992022,19.22449077802726 42.15995883181537,19.22455520498559 42.16005480861328,19.22475697496391 42.16018693765138,19.22493453883148 42.16030105350653,19.22501508932893 42.16041503130793,19.22499037094951 42.16059478041731,19.22498227092768 42.16060076171643,19.22498237002595 42.1608078642933,19.22486519234647 42.16094523416688,19.22474107650908 42.1611080630549,19.2246583367933 42.16121491738871,19.22462389816775 42.1612454318042,19.2244860377392 42.16140824006906,19.22440978606134 42.16166282569019,19.22434686790868 42.16207533910289,19.22431869246712 42.16234017938893,19.22428388287017 42.16251332054151,19.22412574753504 42.16254365782912,19.22388517447809 42.16256368931634,19.22353460908813 42.16259884416382,19.22328713658632 42.16262905211422,19.22327336592649 42.16263922004122,19.22304640246251 42.16271020774876,19.22304638914024 42.16271530158265,19.22301883433972 42.16274073119852,19.22286743582582 42.16282201496234,19.22271605010844 42.16289820472983,19.22271568956698 42.16303573822621,19.2227156628568 42.16304592589552,19.22272210746193 42.16320893845296,19.2226943250506 42.16332096325289,19.22250161101703 42.16343275047471,19.2222884804948 42.16346810019327,19.22166982211517 42.16352833256192,19.22109898057356 42.16369560327692,19.22036322075715 42.16385244470335,19.21993014985915 42.16389256488242,19.21968210989601 42.1639459755385,19.21941568277951 42.16398015713656,19.21915402472252 42.16404899118545,19.21914467713654 42.16405243831321,19.21890631803634 42.16413861048547,19.2186958433542 42.16427327615028,19.21866753108161 42.16438398390702,19.21868125998869 42.16448783178321,19.21870457807293 42.16449824896607,19.2188023618233 42.16459875983194,19.21880701245071 42.16460568852509,19.21887195424891 42.16476498631756,19.21894628110983 42.16490699314409,19.21895090393166 42.16492430450845,19.21895553603352 42.16493815497474,19.21886168755357 42.16511106207744,19.21872579673917 42.16529082889864,19.21859959694756 42.16533909540063,19.2185762320985 42.16534598273307,19.21822604741267 42.16534200437217,19.21821670889535 42.16534199055894,19.2179600767452 42.16527585332734,19.21794139969364 42.16527582565482,19.2176985884018 42.16527892654267,19.21739596036137 42.16534306297941,19.21708145385985 42.16543658337675,19.21673428888219 42.16537476899234,19.21670677840823 42.16535429565429,19.21648095966566 42.16527222924575,19.21628812026953 42.16522698976601,19.21627708276046 42.16523105970263,19.21610057142738 42.16526348697609,19.21610566150508 42.1654187799596,19.21606663443062 42.16557809325168,19.21596158206909 42.16568827013525,19.21595053328179 42.16569642648375,19.2159339488754 42.16571274745112,19.21582348303454 42.16578613804911,19.21565798470105 42.16582266786307,19.21564141144094 42.16583490237155,19.21547573359646 42.1659368151248,19.21535980891241 42.16598976496909,19.21529355971104 42.16602235709944,19.21532096945444 42.16607960884635,19.2154309108286 42.16619828159992,19.21545291928891 42.16621466053268,19.21555175598504 42.16636192181619,19.2157439281514 42.16665234967612,19.21575375772208 42.16708961862589,19.21568105308471 42.16746546897031,19.21557954145487 42.16776996964816,19.21535383507602 42.16798415924133,19.21498366797463 42.16810278401602,19.21465381394786 42.16817975433479,19.21452525509176 42.16814976412476,19.21434889788312 42.1680537305922,19.21419774916814 42.16799342040152,19.21395469816194 42.16794498663037,19.2138032844352 42.16798080516733,19.21358710960678 42.16798448162892,19.2133762166031 42.16803222526502,19.2132952433471 42.16800005840715,19.2132359864641 42.16793187580166,19.21317680686404 42.16783565532313,19.21309586687609 42.16779147195984,19.21297693201593 42.16780731168004,19.21278756545767 42.16788713046083,19.21261981462423 42.16796698207839,19.21260360206707 42.16796695722388,19.21235483220374 42.16803066244514,19.21232778906272 42.16803863179352,19.21230616116031 42.16804260401619,19.21216018083604 42.16806641234828,19.21190065549072 42.16811007290551,19.21170912151696 42.16810557270408,19.21144166200423 42.16809277053317,19.21117965969802 42.16812128082966,19.21115736853194 42.16812124650256,19.211028997221 42.16819126661721,19.2109562261187 42.16830680729395,19.21085001794634 42.16842229630334,19.21072163429213 42.16849644622735,19.21056565351706 42.16847555288833,19.21028707082106 42.1684544694478,19.21022566507845 42.1684915484181,19.210164096272 42.16858645339607,19.21010790211915 42.16875158427982,19.20999062764076 42.16883814175061,19.20990136869575 42.16887104681211,19.20977887079554 42.16883368253245,19.20969535967027 42.16880463965997,19.20953384007107 42.16877134483573,19.20951152525883 42.168779571017,19.20941106173897 42.16883311046043,19.20939989261676 42.16884135397514,19.20930502516417 42.16888664119811,19.20915458065336 42.168878145791,19.20903193023704 42.16889447628229,19.20890370678484 42.16891079790945,19.2087418812664 42.16898489330961,19.20873629668144 42.16898901504029,19.20860226473644 42.1690879364625,19.20859110699183 42.16909204947316,19.20845156021993 42.16917030989389,19.20832895532478 42.16917011796384,19.20827846895729 42.16928569184052,19.20822943885583 42.16951491663354,19.20814944306472 42.16967480366478,19.20801266876537 42.16982196900726,19.20784184132074 42.16995644813069,19.20768247228887 42.17005725819592,19.20760828830752 42.17017083452292,19.20750568462884 42.1702885769842,19.20738628937134 42.17031786514932,19.20737464894917 42.17041469637854,19.20739139178151 42.17051999398058,19.20740813463826 42.17062529159179,19.20741381613848 42.17062530052593,19.20743081238332 42.17064217066849,19.2074816926153 42.17073067858224,19.20760644472483 42.17081509166304,19.20770866377981 42.17083209560462,19.20784500804797 42.17083652043615,19.20800980793236 42.17082414631224,19.20802117094955 42.17082416412448,19.20818026518048 42.17082020255607,19.20819730970113 42.17082022925192,19.20832796035497 42.17082885551906,19.2085210237442 42.17086705519581,19.20864570565098 42.17097673240903,19.20865673342814 42.17109465369828,19.20865627843527 42.17125466584074,19.20861579901242 42.17158118321894,19.2085308552173 42.17181011427268,19.20837575652032 42.17200769940257,19.20824192302183 42.17213763964415,19.2081222417208 42.17223115996049,19.20811493516752 42.17233006227286,19.20819896042169 42.17242390169673,19.2082126826335 42.17253845493868,19.20814909186239 42.17266850506874,19.20802935000167 42.17278284917779,19.20789105769504 42.17300621675717,19.20783390811911 42.17309572818042,19.2078833734173 42.17320648927335,19.20781195511779 42.17331179005186,19.20768352239359 42.17345916625218,19.20761923044863 42.17355920729137,19.20751960608491 42.17358013327424,19.207441362119 42.17358528089324,19.20745543459928 42.17363800922148,19.20753357299743 42.17366975581577,19.20760435840927 42.17378582070668,19.20759686958389 42.17391757444065,19.2075184139975 42.17399651039187,19.20741164705479 42.17402796617517,19.2073546472649 42.1740647708229,19.20736840269026 42.1742281814839,19.20741785305525 42.17434421273669,19.20742494975474 42.1743494945141,19.20742473842722 42.17442328274337,19.20736036980277 42.17454967615164,19.20721769522683 42.17470229930809,19.20706106849867 42.17476002930456,19.20689745073167 42.17477558316658,19.20679802125252 42.17472799073485,19.20667727156873 42.17467509397448,19.20652109945495 42.1745747055686,19.20637925767571 42.17443744531555,19.20628729013576 42.17426864011504,19.20618839351945 42.17403657638705,19.2061178076676 42.17385199285842,19.20611844581658 42.17363062759315,19.20607632240396 42.17344081812518,19.20599841265747 42.1733300110707,19.20599131614593 42.17332472916475,19.20581361461516 42.17329282316696,19.20580650290334 42.17329281186594,19.20551495301123 42.17328180682862,19.20528727097445 42.17331833855278,19.20503816139428 42.17338645955744,19.20480309113383 42.17351785018331,19.20477461341226 42.17352834595452,19.20461783263227 42.1736387787541,19.20460356309961 42.17365456786899,19.20453912796916 42.17380204281495,19.20447449333134 42.17401803569518,19.20445970238555 42.1742130257018,19.20445961037922 42.17424464937957,19.20450188299901 42.17438175353918,19.20453739639279 42.17439762220909,19.20463664101004 42.17450846408724,19.20466458273281 42.17468243961539,19.2047137376429 42.17489861410833,19.20474161798833 42.17509367220305,19.20475584191385 42.17509369487726,19.20488365791193 42.17516241681821,19.20492625305742 42.17518883786825,19.20513220889105 42.17528930777277,19.20514641750993 42.1752946010141,19.20522426663728 42.17542649081835,19.20525236260283 42.17554776037778,19.20518797182189 42.1756794243246,19.20515205953758 42.17580059237135,19.20526528547433 42.17599578687389,19.20532127853681 42.17630684579835,19.20536463610193 42.17652543283591,19.20536404739487 42.17672885500032,19.20529703928249 42.17688902080222,19.20528809648569 42.17710475777594,19.20537084871755 42.17725283301991,19.20549499544595 42.17746878130235,19.20562780976751 42.17763616370456,19.20595929565733 42.17799348405246,19.20625524274568 42.17827693016209,19.20652322667859 42.1785861496683,19.20681863533031 42.17897747055726,19.20685172692647 42.17911818144263,19.20681744693812 42.17939117022653,19.20674395729212 42.17970960346837,19.20664251773726 42.18004040310276,19.20657472797076 42.18031747479505,19.20651265119976 42.18054904862365,19.20636349298008 42.18066501125961,19.20618467714594 42.18084197595783,19.2060495821141 42.18093844241538,19.2058710906147 42.18100261299109,19.20585366702656 42.18101225339375,19.20567505395593 42.18111831830166,19.20552668689415 42.18129210724678,19.20536963030141 42.18146265954958,19.20536526267572 42.18146909796015,19.20517775282837 42.18164282437385,19.20506016223425 42.18170064545129,19.20497312647691 42.1817198429283,19.204777187752 42.18180009775112,19.20463089075137 42.18186773393636,19.20446590567197 42.18196061896349,19.20443088330952 42.18207940794076,19.20430482477257 42.18220126295576,19.20417025540531 42.18226849984892,19.20399220846112 42.1823806349339,19.20398352984417 42.18238383302825,19.20386178543885 42.18251211826782,19.20384005596058 42.18253135548407,19.20376173235336 42.18263401418884,19.20364836507495 42.18286188502043,19.2035567546344 42.18306088260544,19.20355237291697 42.18307693562642,19.2035474743668 42.18326964850223,19.20349067172711 42.18342373394265,19.2034467976228 42.18360353643795,19.20333863179145 42.18390546375608,19.20312145879916 42.18418067525643,19.20289084946679 42.18442580288696,19.20266029730839 42.18465088903929,19.20240280058838 42.18484085979517,19.20209140178308 42.18496561032011,19.20174622313126 42.18508028491639,19.20121165831091 42.18521469140916,19.20055555753264 42.185288775149,19.20009510816225 42.18534419706743,19.19956417093357 42.18538098869726,19.19912360082315 42.18541374122651,19.19866024221563 42.18551340358943,19.19840017660289 42.18561339895022,19.19805491323989 42.18587644154405,19.19777203051125 42.18605171495368,19.19747735918593 42.18639015613861,19.19718367270607 42.18669759437882,19.19693060770208 42.18704540134933,19.19668429006645 42.18741340519399,19.19657437715837 42.18772107442331,19.19637538027418 42.18820523143452,19.19620687727453 42.18845777499037,19.1960439787551 42.18864903917017,19.1958210165985 42.18882238502962,19.19562817990015 42.18897350904771,19.19542378116619 42.18897316633061,19.19520695047059 42.1891064319337,19.19506176937375 42.18940017288185,19.19505570309395 42.1894179799182,19.19495873746846 42.1896717127726,19.1948134167759 42.19000999622435,19.19484898271475 42.19017486567978,19.1947642156386 42.19037071314339,19.194691649317 42.19050867513841,19.19454684372742 42.19067769609112,19.19444438088661 42.19076215602681,19.19444436719033 42.19076661034204,19.1944619235475 42.19092254176137,19.19444344931425 42.19106504969206,19.19452708266756 42.19123891010761,19.19455476499385 42.19134758781144,19.19455067517507 42.19145709736222,19.19455520089656 42.19159656467826,19.1946440462484 42.19169947394978,19.19466351094001 42.19181327619717,19.19460367669216 42.19194162472937,19.19451907529583 42.19206993125427,19.19440449409251 42.19228259640338,19.1942900698838 42.19244388202341,19.19416546738074 42.19269322945706,19.19404605424194 42.19286551627609,19.19390204250179 42.19298271200132,19.19385238347954 42.19302299777662,19.1938719034256 42.19311844996796,19.19388005301328 42.19345048782032,19.19387884653618 42.1938425197922,19.19379550227451 42.19417778499289,19.1936944514602 42.19453479949215,19.19353468492329 42.19486557910767,19.19349885678902 42.19504411133776,19.19351590371193 42.19523580097099,19.19365046088171 42.19545382525343,19.19383701690365 42.19566952526723,19.19387799493378 42.19579730495515,19.19389833454195 42.19590972437054,19.19391207785382 42.19592507282349,19.19406323895925 42.19609901386637,19.19411794536236 42.19624724977873,19.19407574057735 42.19651792337903,19.19403372418491 42.19672729633384,19.19401185917826 42.19711038821337,19.19398339731913 42.19739640965504,19.19405858682973 42.19761108889828,19.19412683438332 42.19784108177012,19.19427796966473 42.1980252392209,19.19429171357009 42.19804058755054,19.19444985530571 42.19818899806707,19.19461483096399 42.19835785391324,19.19477960460813 42.19859311904888,19.19475778380107 42.19873801928114,19.19466489287768 42.19895563533047,19.19448577857028 42.19909624504642,19.19425452574838 42.1993221670175,19.19405207827016 42.19955240672461,19.19384962946666 42.19978264591623,19.19355283462478 42.20001858648077,19.19323283733056 42.20020209463414,19.19288313979681 42.20042499018724,19.19258681444205 42.20060415381748,19.19242652811256 42.20078793034816,19.19226632243596 42.20094541397541,19.19215904167338 42.20120377651645,19.19215901444408 42.20121254072557,19.19218236311952 42.20131336942059,19.19239320633043 42.20153851645244,19.19243864904002 42.2018042171655,19.19220672965231 42.20199232861825,19.19190548827041 42.20215461575067,19.19167332595546 42.20241984158475,19.19157972373908 42.20276242008752,19.19142881998015 42.20293353114319,19.19146322349433 42.20312609597589,19.19138583781007 42.20327160102642,19.19137728986242 42.2032715863999,19.19117589871954 42.20343587547048,19.19086905275913 42.20378203707578,19.19045970145622 42.20419744107772,19.19006149703404 42.20443621403792,19.18962579604516 42.20480053960944,19.18921163221644 42.20505498693201,19.18876067587827 42.20521123110709,19.18842104074981 42.20529541131307,19.18804462698627 42.20527616520519,19.18803458771162 42.20527614772335,19.18770860620777 42.20518262234135,19.18747777365951 42.20515990954707,19.18724658601922 42.2052487443369,19.18706042045366 42.20538599526947,19.18700970253337 42.20554951110587,19.18699963946244 42.2055569300634,19.1869389765121 42.20569068214556,19.18701894806382 42.2057986523668,19.18713910112772 42.20589925617621,19.18727421886242 42.20602963216023,19.18735915145943 42.2061562020133,19.18736875288455 42.20629379512786,19.18723303054274 42.20635305065086,19.18705226039755 42.20637132622241,19.18703722480812 42.20636386336582,19.18683647019996 42.20635235739442,19.18664585000233 42.20631112253216,19.18654577565276 42.20621055338918,19.18647577232959 42.20612490999804,19.18644595115825 42.2060319004392,19.18639612210289 42.20591654599648,19.18628098888673 42.20581594994676,19.18612555520141 42.20575990236027,19.18585467838943 42.20569993292482,19.18554355928059 42.20566591981973,19.18536186076943 42.20560235480215,19.1852514493579 42.20553913180331,19.18512806205389 42.20554206539726,19.18491949563919 42.20557321101526,19.18476643924671 42.20554142627493,19.18473302400401 42.20534913114011,19.18472068765026 42.20521675004792,19.18467012305464 42.20506539275415,19.18456001804699 42.20490762703285,19.1845515703424 42.20488870355568,19.18450928102965 42.20480984317403,19.1845008028401 42.20480037388567,19.18433937164377 42.20472760496648,19.18409711823389 42.20465154069132,19.18380361883895 42.20463526165187,19.18379086601135 42.20463208747513,19.18377385877551 42.20462890581485,19.18373984429978 42.20462254239155,19.18356968000828 42.20461908776322,19.18354415380914 42.20461904226156,19.18351863780683 42.20461584538278,19.18336979600333 42.20459667126603,19.18336978579398 42.20459982263868,19.18325471325109 42.20466264595892,19.1832419298147 42.2046689260057,19.18322913595798 42.20467835742275,19.18312258205502 42.20473804438781,19.1831013099242 42.20473800638121,19.18308003798617 42.2047379683703,19.18294788545891 42.20481966945513,19.18289223011352 42.20492671871612,19.18289639234202 42.20495508902432,19.18284899972427 42.20513778736784,19.18283617488374 42.2051566730397,19.18270366147811 42.20534867346384,19.1825243269067 42.20554689313251,19.18224254523246 42.20575900386656,19.1821022418337 42.20585919829588,19.18201434433311 42.20598540790287,19.18183881313685 42.20615682246432,19.18163257625633 42.20635410272455,19.18143957752804 42.20651576443292,19.18132079208811 42.20672292177861,19.18124568496933 42.20694959866571,19.18122684193146 42.20715025455785,19.1812173253202 42.207350407138,19.18121729303259 42.20736025149493,19.18125221726557 42.20751782489034,19.18128716310959 42.20766883536646,19.18150837871812 42.20775783275546,19.18152163683287 42.20776770099171,19.18170742267746 42.20785335286687,19.18176054124232 42.20786657410008,19.1821987701879 42.20797564839663,19.18259250709791 42.20814370829085,19.18300327133793 42.20855619260001,19.18329146207363 42.20903362003408,19.1834509435131 42.20949173895973,19.18346906816722 42.20985899229751,19.18346173182015 42.21013558732601,19.18342910445762 42.21026906425086,19.18344783239564 42.21045032369196,19.18346673054633 42.21057912342615,19.18355032652506 42.21061265584147,19.18372417399007 42.2106129648334,19.18383347886823 42.21066085015139,19.18409099967431 42.21067084544812,19.18429696382477 42.21069505622538,19.18443205515261 42.21073344844283,19.18457999344961 42.21078140157938,19.18467680617732 42.21071003624945,19.18489601694504 42.21061981081122,19.18514728278929 42.21057256373426,19.18537894083725 42.2106158945795,19.18559755345728 42.2107116624107,19.18575827885421 42.21078825148107,19.18597085141275 42.21076001106116,19.18628017397005 42.21067948010544,19.18655084821094 42.21060364958617,19.18689889469259 42.21049457025318,19.18705385196786 42.21036130626187,19.18711887807127 42.21016111700781,19.1872283986662 42.21014223211149,19.18731208802844 42.2101471475116,19.18749257227081 42.21008546423582,19.18767920751229 42.21011440476402,19.18789128149361 42.21024354122982,19.18798736574289 42.21040109032816,19.18810281332014 42.21054436592209,19.18839858278678 42.21067841759187,19.18839856772317 42.21068318672626,19.18875850531922 42.21088888754461,19.18913079915734 42.21109553099007,19.18971949963364 42.21136165976451,19.19028711964258 42.2116381461283,19.19089679365094 42.21193549575312,19.19136592970798 42.21228978433453,19.19164536258184 42.21271132639447,19.19183368838385 42.21309112734112,19.19189569781802 42.21333866876753,19.19198217850675 42.21390525838182,19.1919516443336 42.21426467768237,19.19186953159395 42.21465668737017,19.1916405782875 42.21497219431881,19.19138961233938 42.21527132336338,19.19120467653766 42.21561958365951,19.19119586017456 42.21608796949176,19.19118751991948 42.216403854309,19.19111899079766 42.21667741857603,19.19104002421685 42.21691790100898,19.19081675812113 42.21712694450904,19.19054548414607 42.21729580204746,19.19026823429813 42.21745128101665,19.18997305944241 42.21756662556189,19.18973190638227 42.21772216567775,19.18956916411527 42.21781545841845,19.18937011088681 42.21797552673242,19.18906289774494 42.21809084892836,19.18873171504916 42.2181749378632,19.18840673097832 42.21820111007905,19.18822018592624 42.2182096982736,19.18798543633283 42.21824048204166,19.18776886369327 42.21823119384101,19.18740222805772 42.21811024601995,19.18707160725087 42.21801609540776,19.18704156641019 42.21800267522247,19.18691557135842 42.21789105722897,19.18677764266685 42.21774822673686,19.1865146017819 42.21754345619851,19.18633328265609 42.21737703418971,19.18610348593877 42.21720603757803,19.18587957960324 42.21708892244907,19.18561312764512 42.2170076462862,19.18536503450367 42.2168725304389,19.1853468930078 42.2168590305733,19.18521987385685 42.21677350998198,19.18509294173209 42.21666105363514,19.18486307898132 42.21651250073714,19.18485706080868 42.21649902220005,19.18472992704229 42.21644941507923,19.18454203290212 42.21644459311042,19.18451173953825 42.21644005014166,19.18433592495321 42.21644871709757,19.18432984887999 42.21645319562414,19.18417796124136 42.21656066931871,19.18415973294307 42.216574104867,19.18415365684163 42.21657858338235,19.18408056934248 42.21668619675405,19.18400720565609 42.21687910617246,19.18389132251713 42.21709887572366,19.18370673170669 42.21743965968054,19.18306326978598 42.21861189658619,19.18273676415553 42.21915063083889,19.1824293401003 42.21987160060422,19.18206314602987 42.22050500951804,19.18168829828651 42.22091559352309,19.18138782069626 42.22119236557163,19.18108760597172 42.22138846442162,19.18071875820547 42.22175082511292,19.18035003912264 42.22207284869785,19.17995401509321 42.22241499017977,19.17949669168867 42.22276206234943,19.17901187525655 42.22318471551206,19.17874888417076 42.22338697325315,19.17814297208583 42.22370835930496,19.17771529193346 42.22378521417596,19.17740065420736 42.22382047032705,19.17705383745351 42.22383177834075,19.17688448115123 42.22383146734658,19.17674692269626 42.22396857185395,19.17659311408467 42.22414147873288,19.17657690464652 42.22416533714834,19.1765117259026 42.22436229528548,19.17648672958095 42.22460113190248,19.17634120343062 42.22470836144815,19.17623598031571 42.2248216373077,19.17621977044339 42.22484549579955,19.17604198365434 42.22495266593342,19.17579945579275 42.22512540978266,19.17558922554328 42.22528626901019,19.17546811110848 42.22532785043991,19.17535482748392 42.22529260609591,19.17519268190633 42.22523927492041,19.17484875641478 42.22529166915472,19.17456684806596 42.22535831878582,19.17455251332537 42.22536182752011,19.17438536641483 42.22537565854823,19.17423226651663 42.22547082975665,19.17406509522552 42.22549173097881,19.17384529869872 42.2255443523926,19.17381660501691 42.22555844050402,19.17366837410393 42.22562533663283,19.17366359987332 42.22562532772174,19.17334834028015 42.22567069905102,19.17296623906912 42.22571594417213,19.17255550178931 42.22575759879867,19.17223554772211 42.22577821011042,19.17192349758464 42.22581727520015,19.17167719345381 42.22583302101427,19.17144684636602 42.22598251890776,19.17133140086253 42.22613628479306,19.17123259454981 42.22622524677199,19.17122712233789 42.22622523645149,19.1710026500441 42.2262572303232,19.17076202612649 42.22621220160827,19.17050497173166 42.22617119330847,19.17028069472017 42.22614645523569,19.17008355474945 42.22618660332747,19.17006713812922 42.22618657217467,19.16993559448812 42.22624710538241,19.16977624060016 42.22643725587013,19.16933391879454 42.22668836993265,19.16903217245824 42.22689104547647,19.16882802526075 42.22703489819967,19.16882797968851 42.22704801103269,19.16872088577393 42.22729039543766,19.16870313170619 42.22730347446093,19.16867647778151 42.22732964940202,19.1684013112566 42.22752581737574,19.16817938251925 42.22768930438465,19.1678594219626 42.22769703459159,19.16738494954985 42.22774211806522,19.16701245178959 42.22769122821859,19.16665680579939 42.2276654568323,19.16631268805213 42.22757280735994,19.16599120088286 42.22746765685128,19.16574922315053 42.22723304159649,19.165580651542 42.22699856751028,19.1655806957692 42.22698602394684,19.16547398604555 42.22682274971476,19.16546360686953 42.22656349379489,19.16548145997088 42.22630429194538,19.1655721870133 42.22619575578475,19.16556695260342 42.22607867072544,19.16546553642155 42.22601575518041,19.1653248008078 42.22589422534921,19.16530267123235 42.22576456307482,19.16524174337859 42.22550254973744,19.16520901213336 42.22535831145959,19.16527590374185 42.22524239797124,19.1652668288946 42.22512282082964,19.16527676113612 42.22499976406441,19.16538145512806 42.22493667064048,19.16548602478531 42.22490874144822,19.16549078585033 42.22490523420432,19.16556696283108 42.22484911830525,19.16571898157599 42.22483183004871,19.16586637563245 42.22477936803638,19.16592847984964 42.22467399414941,19.16594327110476 42.2245192983096,19.16585845294556 42.22433276165286,19.16580672670168 42.22418848639031,19.16572185979164 42.22401601495952,19.16568432937039 42.22385370657186,19.16569491554026 42.22370118670857,19.16569494178359 42.22369374577086,19.16572052145993 42.22356357789244,19.16571089321211 42.22344450339033,19.16559574662337 42.22332894527978,19.16534009798321 42.22316474844919,19.1653200149477 42.22316098904579,19.1651242219314 42.22311968411817,19.16510914980805 42.22311965489141,19.16508905364367 42.22311961591899,19.16484300732681 42.22308193342495,19.16480783905204 42.22308186512958,19.1645415253382 42.22309250907779,19.16453147725188 42.22309248953667,19.16449128490351 42.22309241136234,19.16411957142525 42.22307308510658,19.16409944880408 42.22308048690029,19.16374234389643 42.22319140544308,19.16373225606379 42.22320254726831,19.16371714421174 42.22321367928379,19.16349049110254 42.22337321826469,19.16347035497805 42.22338434043564,19.16343010919692 42.22339914378016,19.16320841186227 42.2235772945952,19.16294622700814 42.22383721721757,19.16272254399155 42.22400491771634,19.16269289239659 42.22401363345728,19.16243757754791 42.22417544896718,19.16240789443872 42.22419293838449,19.16216478776043 42.22425387788819,19.16212328781907 42.22426257018684,19.16187436651094 42.22429278916183,19.16157206489528 42.22434045015027,19.16128772405177 42.22433550263315,19.1611277889146 42.22433080006255,19.16096766418104 42.22437874009237,19.16087256211037 42.22446629084324,19.16076550065301 42.22458452647175,19.16069406272665 42.22468089783642,19.16059338349934 42.22467192486649,19.16051644853656 42.22464983798007,19.1604751851606 42.22459272611655,19.16047269823581 42.22453307617552,19.16040548699011 42.22446355860973,19.16036444082806 42.22441352046868,19.16028970391992 42.22435231403791,19.16018104564052 42.22434377256564,19.16007242750959 42.22432412952238,19.15991149955063 42.22425997639218,19.15973535910906 42.22425685124875,19.15952164881866 42.2242786296369,19.15950659687197 42.22429525204817,19.15957771632483 42.22432037194182,19.15958522226508 42.22431761146982,19.15960023396579 42.22431209052451,19.15972385413061 42.22432898847179,19.15976866805232 42.22437348366474,19.15979843013234 42.22443460126208,19.15975705247083 42.22447614991555,19.15971569500328 42.22451214783487,19.15966676091945 42.22457033382759,19.15959159140296 42.22462846770977,19.15955015307679 42.2246866686163,19.15961748474685 42.22472288240122,19.1597258927008 42.22480080850582,19.15983806892443 42.22487319117267,19.15984180674617 42.22487597397688,19.15986052619666 42.22488156188108,19.15992399961977 42.22494829708633,19.15993868972772 42.22503158795338,19.1599908692083 42.22511217775154,19.16008425600453 42.22519839996573,19.16012509138056 42.22530672132333,19.1601158489155 42.22552822201415,19.1601900605549 42.2257065407045,19.16029645363778 42.22585720742623,19.16044043229537 42.22596439538904,19.16045106880751 42.22598025390175,19.16056296678277 42.22608737816906,19.16056785641154 42.2262140875083,19.1606101027242 42.22636066759521,19.16071125067924 42.22648360800442,19.16071123639842 42.226487567347,19.16075885865757 42.22662623945649,19.16076948107004 42.22664605732219,19.16084911370713 42.22680458963387,19.16089633698356 42.22705412404079,19.16084195399089 42.22730741764196,19.16073430038082 42.22750517527987,19.16077473612609 42.22773043805739,19.16076892317008 42.22774323719789,19.16069915215693 42.22790109686341,19.16051362903616 42.22817402260152,19.16018421185213 42.22836979911903,19.16015533148881 42.22838255242843,19.15969291904841 42.22867627820047,19.15931100525419 42.22903421558743,19.1587848962781 42.22939613581579,19.1582938162765 42.2296385593848,19.15785494481351 42.22979568200737,19.15737580966491 42.22995876033782,19.15655985191748 42.23041197478247,19.15635488063112 42.23046797796295,19.15615951056493 42.23050284415855,19.15575910222649 42.23061134218932,19.15552568673895 42.23063202656564,19.15533492027121 42.23070921301468,19.15517268596008 42.23079703506164,19.15508646086999 42.23093437517332,19.15495750708952 42.23103636870279,19.1547143411129 42.23111697475168,19.15439521575483 42.2311339579605,19.15405453881317 42.23104585263706,19.15377013421394 42.2309966457889,19.1532632201396 42.2309334764949,19.15322676504414 42.2309252974317,19.15318302295924 42.23091440194094,19.15272706715423 42.2308837528309,19.1523039165419 42.23086127377099,19.15229661934759 42.23086125881128,19.15228200491904 42.23086663194913,19.15180399206283 42.230879158722,19.1514886607307 42.23088356905073,19.15126765277431 42.23096322306783,19.15125464591761 42.23096960499809,19.1510423527837 42.23103325471888,19.15073480348136 42.23110952491139,19.15050959857529 42.23115392088077,19.15029336249569 42.23111502163697,19.15017678264642 42.23104428456938,19.14998671795118 42.23095096459718,19.14973604241643 42.23086392722749,19.14942469492338 42.23079919366738,19.14940308100928 42.23079274002523,19.1491090798573 42.23071842823161,19.14908745376384 42.23071517885808,19.14898395398386 42.23061883201471,19.1488548279069 42.23043270861866,19.14878609496986 42.23029798079278,19.1486521268827 42.2301343428252,19.14856883552335 42.23006887551117,19.14856419445156 42.23006886584431,19.14840656778089 42.2300238626005,19.14839728564067 42.23002384325173,19.14824905886032 42.22994793065944,19.1481983469269 42.22985847520496,19.14811508232062 42.22978613435252,19.14800841639622 42.22976529242658,19.14800374918161 42.22977215574102,19.14794328458386 42.22980639468715,19.14784106338293 42.22983710983633,19.14778041541341 42.22991945971028,19.14764107833517 42.22994666052519,19.14752535252716 42.22986737817996,19.14740031857405 42.22979494917646,19.14739106262348 42.22978805671442,19.14727051247286 42.22975687524646,19.14714505883656 42.22979441409206,19.1470199199378 42.22974947650594,19.14673205345135 42.22977980075019,19.14672739926014 42.22978322751155,19.14638822897894 42.22987873731829,19.14579374138786 42.23007088785234,19.14546299002892 42.23018394912258,19.14511689465542 42.23029128900793,19.1448556258168 42.23031348798778,19.14448687602859 42.23031839457312,19.14427939985835 42.23033501833235,19.14403324974198 42.23041981545558,19.14370246473445 42.23053856021335,19.14333943639 42.23058655764874,19.14330862525069 42.23058649203847,19.14291551697378 42.23065409675854,19.1427152218365 42.230659372813,19.14221407144164 42.23077807611405,19.14187496745988 42.23082297839039,19.14138160308059 42.23091888049,19.14068799435676 42.23101065680876,19.14025262816784 42.23109323275995,19.14024457189728 42.23109321539544,19.14000250833645 42.23118813731224,19.13963189554277 42.23119330221411,19.13942224370616 42.2312405708707,19.13923692504381 42.2312461350632,19.13905144146421 42.23129345524175,19.13875290911435 42.23140614773784,19.13854278309609 42.23157271868353,19.13833317515486 42.23160805497545,19.13813183584108 42.23158972157058,19.13801117856271 42.23154173708744,19.13795494922067 42.23149985789294,19.13735078705363 42.23148064540758,19.13705262569621 42.23149789019606,19.13694812853029 42.23143800901354,19.13680315897949 42.23142576141122,19.13669036743742 42.23142551461503,19.1365938315527 42.23138951150963,19.13651331384112 42.23137740457069,19.13624744699436 42.23137682185571,19.13602183857213 42.23138229216956,19.135840745095 42.23133425802735,19.13580341754973 42.23126456322871,19.13574713852535 42.23123195373572,19.13559046544534 42.23122696902139,19.13528984069021 42.23117061830757,19.13505808607816 42.23113298177671,19.13472634725503 42.23102087069298,19.13456383578182 42.2309091317338,19.13401496063069 42.23058938048446,19.133472577998 42.23025181934022,19.13317054106452 42.23005239177476,19.13314307204368 42.23003704177981,19.13290287862314 42.22986323275886,19.13289601656566 42.22985812117103,19.13242202088544 42.22963282877191,19.1324014142526 42.22962259024622,19.13200327578982 42.22936179027922,19.1315980916253 42.22914174385875,19.13158436784475 42.22913152051843,19.13131646430783 42.22900351347403,19.13105534021162 42.22890100256756,19.1306909769747 42.22879825967547,19.13037506263162 42.22862937101156,19.12988250365449 42.22830535319008,19.12985589723456 42.22829542774759,19.12951017687406 42.22812693437273,19.12930425229132 42.22798341905312,19.12913147496533 42.22787944073339,19.1289783994174 42.22784456617209,19.128925451086 42.22776058880526,19.1287191034706 42.22772066103579,19.12842617571133 42.22767560462602,19.12830636854964 42.22765066994329,19.12829306568042 42.22764570706473,19.12819336537584 42.22759122071494,19.12795383298192 42.22752161955943,19.12773414319792 42.22748659256762,19.12751479994326 42.22736770777731,19.12718233292051 42.22721896873012,19.12684962173574 42.22712942185578,19.12648337769939 42.22709405877326,19.1261771693429 42.22703909982905,19.12594393120753 42.22705829926865,19.12565739913636 42.22707737645115,19.12531742896878 42.22713086064351,19.12522634698717 42.22720073921366,19.12505359540485 42.22716361430329,19.12501306277915 42.2270879021629,19.12492674980015 42.22697049460723,19.12491147914179 42.22695911677992,19.12481971321881 42.22692487803757,19.1248043952244 42.22692484297795,19.12463091762401 42.22689419803842,19.12463093342275 42.22689041710194,19.12447808538858 42.22681066653605,19.12433519661511 42.22679143416124,19.12424882174689 42.22668914983628,19.12412136190267 42.22664348573711,19.12392757165458 42.2265863262209,19.12374892504624 42.22657079186715,19.12365243419157 42.22644579780543,19.12347908396646 42.22638490335567,19.12346887196633 42.22638487985375,19.12319357604235 42.22628215935493,19.12284143555828 42.22623975643709,19.12256053971334 42.22625423179275,19.12254518991824 42.22626175832632,19.12252982396561 42.22627306582023,19.12234067678597 42.22632556264041,19.1220767681829 42.22629300966467,19.121959138412 42.22620185272676,19.12184624409535 42.22610721101147,19.12183211209366 42.22610018713632,19.12173324668228 42.22603703782936,19.12171912944462 42.22602651839171,19.12170026212897 42.22602297908628,19.12154923500468 42.22601563774133,19.12153032338969 42.22602258502271,19.12143101509472 42.22606430150672,19.12142627985216 42.22606778609255,19.12127004412113 42.22617578617292,19.12119414584107 42.22626299920785,19.12120789363395 42.226360907088,19.12134594706352 42.2265201131587,19.12141115857064 42.2266862143069,19.1215226953635 42.22680849474887,19.1215153407472 42.22698906986376,19.12146194965783 42.22714513382201,19.12145531702201 42.22715488017968,19.12134270639669 42.22728640237443,19.12118383155418 42.22744710227927,19.12109095266291 42.22758843174852,19.12097207971085 42.22764184525292,19.12081388545821 42.22764147776769,19.12075495572931 42.2275486043635,19.12053119932569 42.2274651093112,19.12028091173204 42.22742059893966,19.12010244546437 42.2275373241445,19.11986141963591 42.22777636802009,19.11976901210047 42.22786035143329,19.11971981918367 42.22796849248908,19.11971978505072 42.22797651136398,19.11957862740247 42.22806439050469,19.11939451031063 42.22806797014374,19.11915100206537 42.2280313159289,19.11876791634232 42.22804894472179,19.11837676198645 42.22813221030151,19.1178218214908 42.22829927211298,19.11747302419218 42.22844577112884,19.11715287244936 42.22853972278899,19.11677601057811 42.22860197160047,19.11548845346248 42.22863061056581,19.11444723290561 42.2286454622726,19.11383907249276 42.22860936401513,19.11331245992239 42.22865141804621,19.1129379239975 42.2286938337204,19.11263433324134 42.22856317174134,19.11230579441088 42.22878760430202,19.11143873972257 42.22909736494929,19.11065296623765 42.22931167622016,19.10984368240582 42.2292880594335,19.10906473936596 42.22901900457128,19.10845937614942 42.22919083159047,19.10843980900675 42.22920522548994,19.10841045827373 42.22922681633163,19.10836163635768 42.22924113903393,19.10727808301761 42.22949122305854,19.10722938896604 42.22947666255634,19.10717087883883 42.2294765195549,19.10678937142933 42.22974275454786,19.10677949102186 42.22977161336507,19.1065628895967 42.23023321180647,19.10687343482933 42.23057334682887,19.10778734650163 42.23119656069056,19.10816529674399 42.23173181663902,19.10879491781098 42.23269371216643,19.10913492789496 42.23329908966417,19.10939317066372 42.23380532371152,19.1098988259406 42.23408280716113,19.11072141827601 42.23432977769603,19.1113822790423 42.23453465386569,19.11193720209867 42.23481745874584,19.11225286159982 42.23507883828042,19.11266065956045 42.2351997023227,19.11292875930649 42.23524814449461,19.1134045891173 42.2353089355459,19.11416639911363 42.23529448474128,19.11486932803288 42.23534496390654,19.11607833855004 42.23523394791371,19.11726546621955 42.23510117436999,19.11786622710083 42.2350646253505,19.11789547809861 42.23507553992182,19.1185389114411 42.23533735013572,19.11888935029216 42.23560389536339,19.11916689538932 42.23578892507283,19.11939391831094 42.23589232732867,19.1196898961013 42.23598392334112,19.11997281347956 42.23616012375282,19.12018760530839 42.23642706977,19.12038156283667 42.23661560059492,19.12063476945396 42.23681053843524,19.12089225215924 42.23699608211206,19.12097223171921 42.23710598130056,19.12098067298642 42.2371122702564,19.1212341641505 42.237241380678,19.12145406381359 42.2373045848648,19.12152088835605 42.23738186423918,19.12156443327025 42.23750354855558,19.12150347500284 42.23771098875184,19.12143055063401 42.23790653931727,19.12119738504711 42.23810764891445,19.12100846617769 42.23826437910884,19.12069923035172 42.23848525928631,19.12052906474192 42.23862467480353,19.12032780081443 42.23882678934767,19.12013460779395 42.2389433237548,19.11996469559516 42.2390228194602,19.11967551787197 42.23905353108931,19.11933628750008 42.23907271188782,19.11916294598304 42.23905233386316,19.11899754360816 42.23897776197413,19.11881682316465 42.23888032768235,19.11855650040263 42.2388616525711,19.11826031012616 42.23889343052409,19.11802968301589 42.23897812770703,19.11801871816083 42.23897810197938,19.11781574658426 42.23900603811105,19.11752463810898 42.23913118132749,19.11724463314474 42.23922387818702,19.117228150962 42.23923195720578,19.11717323938917 42.23925212260795,19.11675042785829 42.23940536563936,19.11673392810137 42.23941750352999,19.11631650909786 42.23959105216755,19.11630552664905 42.23959508515268,19.11592098199584 42.23977276898224,19.11590451702035 42.23977678895833,19.11545440660969 42.23990155006672,19.11523535614798 42.23995798091271,19.11487098125966 42.24014988191546,19.11442803379888 42.24033432008422,19.11418693241127 42.24042103593685,19.11417217850443 42.2404246378771,19.11393134545044 42.24044952367684,19.11360222602944 42.24044146469782,19.11359240062325 42.24044144125118,19.11300328814955 42.24034547001329,19.11248314408055 42.24020601558144,19.11208096866958 42.2400522929942,19.11206627825947 42.24004134644177,19.11171329345672 42.23987319148397,19.11119802275394 42.2397190843303,19.11064804825667 42.23962372609954,19.11018771700895 42.23960302457233,19.10969560062745 42.23959008043059,19.10935173416076 42.23956182162287,19.10904499988245 42.23951406192129,19.10902914091315 42.23951010544593,19.10875926110575 42.23950553244396,19.10857443707517 42.23941496947673,19.10850610892539 42.23930901737897,19.10842223492546 42.239128585376,19.10830643518261 42.23898725564366,19.10813733274748 42.23893199211416,19.10793673919904 42.2388178814381,19.10784754017683 42.23864527153668,19.10775292756371 42.23850007430897,19.10777999695688 42.23836300952839,19.10769602091554 42.23820608364248,19.10741063515927 42.23811919020093,19.10737884819875 42.23812694863033,19.10716688830133 42.23818911921408,19.10713513610008 42.23818904156995,19.10676436150934 42.23826257684709,19.10674314091683 42.23827427893485,19.10647259921953 42.23841858334679,19.10646194503767 42.23843422937872,19.10622858584178 42.23854728005451,19.10602173824787 42.23864864128596,19.10601113660679 42.23865253329401,19.10585722686142 42.23875010622258,19.10584662492025 42.23875399821852,19.10580950971526 42.2387695791975,19.10571926268236 42.23883204609375,19.10547050117898 42.23906068071888,19.10526125924344 42.23925005368962,19.10496321128705 42.23958162255876,19.10457758059503 42.23978242709892,19.10456149703208 42.23979425536419,19.10420020252289 42.23992984493538,19.10376751811128 42.23989910596512,19.1035436821089 42.23976800488828,19.1034795875936 42.23976191222523,19.10340739750186 42.23977360139422,19.10335930649295 42.2397734822687,19.10331923073142 42.23977338298052,19.10328717003754 42.2397733035386,19.10326309763968 42.23977917786129,19.10322299506068 42.23978501244783,19.10312638419686 42.23987971650355,19.10270870762149 42.24007450147703,19.10230746016635 42.24018031635805,19.10156125215385 42.24035054492358,19.10108693746844 42.24065793078628,19.10018715460053 42.24085307278299,19.09971817069849 42.24081424845249,19.09916106308765 42.24079451655501,19.09868384938595 42.24090331881007,19.09813789886882 42.24114944868956,19.09759147697061 42.24149641083522,19.09713825203317 42.24177027220306,19.09664710817561 42.24220904184893,19.09625097666381 42.24285927120558,19.09583469285643 42.24331524042764,19.09538720070469 42.24375955586559,19.09496371178984 42.24408244246039,19.0942418136212 42.24456779273939,19.09374380647349 42.2448811454317,19.09343547359519 42.24512644988828,19.09341440439974 42.24513262616764,19.09299239236022 42.24539009958482,19.09291856373183 42.24549500956476,19.09295902976142 42.24556896512896,19.09310851584343 42.2456029174358,19.09318066186183 42.24569038173232,19.09318514940411 42.24570046393452,19.09322974230524 42.2458617093959,19.09320666076041 42.24594892967417,19.09304595194961 42.2461042907522,19.09290422419843 42.24618241102572,19.0926138954699 42.24629677535634,19.09240794051592 42.24650553655331,19.09216561831152 42.24701174727443,19.09210513009159 42.24723706176203,19.09246780177775 42.24752395602275,19.09286019138472 42.24781092462874,19.0933189042344 42.24821354529333,19.0936075530913 42.24844525241923,19.09394787367455 42.24874858117261,19.09429562730641 42.24905192845914,19.09488027329583 42.2495373558213,19.09536112777854 42.24997852489976,19.09596241643864 42.25052263659596,19.09645926907953 42.25095028123869,19.09680749648546 42.25148321193048,19.0971023173039 42.25193421467328,19.09738920828313 42.25253528016638,19.09750969587006 42.25310376312047,19.09739847677271 42.2536663012254,19.09712744239513 42.25433564110779,19.09664088324086 42.25521069430155,19.09531184197308 42.25779964835522,19.09497601909519 42.25843080774725,19.09478527195038 42.25898735291186,19.09466723779666 42.25946910000715,19.09467866570284 42.26012257451826,19.09474343145039 42.26063184363324,19.09495709441725 42.26138068283358,19.09515882401028 42.26177794351316,19.09540614508934 42.26258713593021,19.09566872307947 42.26303477606829,19.0959472211326 42.26338643494811,19.09637455705795 42.2637835062108,19.09695817139765 42.26413559860944,19.09763713604201 42.26436005885809,19.09838885140885 42.2645228268835,19.09912396773498 42.26466080105844,19.09994274034335 42.26479073344262,19.1005533464352 42.26500180805744,19.10084646224295 42.2652201945272,19.10113365967912 42.26536447029184,19.10153912260835 42.26564796839402,19.10205712393822 42.26595490029201,19.10252924314343 42.26618853242078,19.10293533911856 42.26635680803951,19.10355081593733 42.26645869196528,19.10426248758538 42.26653153814152,19.10490109541178 42.26651638439307,19.10541594975426 42.26637547162115,19.10578431442053 42.26613801757915,19.1063163048809 42.26595532570997,19.10687746278588 42.26556779713791,19.10713836579751 42.26535098361435,19.10731140133559 42.26506811727198,19.10751324242182 42.26471200904432,19.10774614416285 42.26440691884126,19.10792906372231 42.26408318128466,19.10819349830478 42.26372259111098,19.10842273079775 42.26346589297986,19.1088819928647 42.26326347755703,19.10917917863082 42.26303457466396,19.10952565362336 42.2628214467526,19.10985689402335 42.26286399770183,19.11013119264676 42.26302644039668,19.11013110059277 42.26304731500966,19.11030656291836 42.26323561211716,19.11054553723636 42.26341362486721,19.11061465264028 42.26373213319264,19.11060287596494 42.26393581304249,19.11048832086466 42.26409518279642,19.11043370713528 42.26425026243592,19.11030109602189 42.2644273268533,19.11014459316302 42.26458659502659,19.11012655764784 42.26459985531699,19.11005390680164 42.26476819517834,19.11001722893459 42.26493218741614,19.11007666294828 42.26504319642926,19.11023574190709 42.26521644181258,19.11031706702471 42.26538915960939,19.11039847810933 42.26554243840756,19.11064363336702 42.26579330709589,19.11091522921073 42.26600536109196,19.11115079454365 42.26619788903711,19.11149413073737 42.26652432061273,19.1119032217646 42.26676526368139,19.11239492486953 42.26692564195515,19.11258090379489 42.26703222022925,19.1127766145478 42.2670999060691,19.11308217169768 42.2671926185504,19.11332579785105 42.26723565376371,19.11353091770957 42.26733873874262,19.11362603752897 42.26745217445273,19.11364138432734 42.26757154312519,19.11354223822863 42.26776529259613,19.11325575992383 42.26797937878283,19.11294417821134 42.26804194141284,19.11265265884238 42.26799431365498,19.11241164875843 42.26799842966953,19.11228442194317 42.26808729275324,19.11220125901408 42.26825135010031,19.1120993577188 42.26834965978862,19.1119277159549 42.26844310906032,19.11180695274101 42.26850382889787,19.11158455410205 42.26860184899102,19.11143224532475 42.26862494830586,19.11128576275758 42.26876538789781,19.11116466780617 42.26890119547115,19.11105635912697 42.2690135685098,19.11087814347895 42.26915862491106,19.11072548072013 42.26926150514044,19.11045870937836 42.26936228855448,19.11021031029877 42.2694397998806,19.11016801930434 42.26945531991657,19.10993012354012 42.2695445724729,19.10976089000577 42.26962227396681,19.10975029996055 42.26963005942209,19.10967565198541 42.26980172221103,19.10967027067599 42.26982514237664,19.10963777565951 42.2700125292479,19.10963208370101 42.27010624823249,19.10963204918815 42.27011405921785,19.10955759012166 42.27024276167383,19.10950969256262 42.27033247306708,19.10936700090961 42.27037508858615,19.10922937941337 42.27046458269653,19.10913398030872 42.27055417904716,19.10904918848837 42.27063208447303,19.10892329703193 42.2706871472861,19.10884692344348 42.27073879966061,19.10882538341152 42.27078833116346,19.10876415855633 42.27085805062259,19.1086297353053 42.27095013037894,19.10844957514849 42.27105336786799,19.10829692641148 42.27113413390994,19.10811052328107 42.27127116287558,19.1081044317138 42.27127114805939,19.10795770298001 42.27139024295763,19.10794201305647 42.2714938800334,19.10796285256661 42.27160211373082,19.10800502284664 42.27170814553081,19.1081466601789 42.27186218996432,19.10843868986829 42.27199694423944,19.1087166335336 42.27216603370042,19.10890160520637 42.27235208204682,19.1090073868008 42.27258949359414,19.10906227320402 42.27278210042532,19.10901498718434 42.27297102270753,19.10880534167425 42.2731114328571,19.10850360234047 42.27321688379279,19.10843410532251 42.27328710589647,19.10829132681577 42.27330595650425,19.10804856933949 42.27344294827766,19.10783640661696 42.27350642354443,19.10755942542993 42.27356014166816,19.10755077732528 42.27356012058924,19.10733003680308 42.27360757603228,19.10716542306079 42.2736743655629,19.10715674640589 42.27368074355088,19.10707407553196 42.27379572667676,19.10704777434683 42.27387565200509,19.10698265619356 42.27393308549485,19.10686580589615 42.27395519718327,19.10667130733905 42.27393552438772,19.1065806442875 42.2739033068653,19.10645550276953 42.27384540822423,19.10628276766151 42.27379379207685,19.10604929454456 42.27378682106224,19.10604064642162 42.27378679987169,19.10589787880377 42.27380244792008,19.10558994544773 42.27384551814567,19.10531954176033 42.27392079034235,19.10469645401503 42.27435089562139,19.10422148962723 42.27469148035755,19.103884597068 42.27487444546992,19.10365003204164 42.27504685104724,19.10345459254933 42.27518331453163,19.10330797146606 42.27529467158705,19.10315657691538 42.27538439360449,19.10287278534228 42.27541096330451,19.10270428870252 42.27543677461649,19.10269099570694 42.27543674165777,19.10250936930943 42.27542645531928,19.10250049245259 42.27542971191298,19.10224331590747 42.27546841698096,19.10203065726095 42.27546133144158,19.10182681575829 42.27546410330145,19.10153835215979 42.27556174431142,19.10129398831651 42.27570539547715,19.10106716764101 42.27588843375012,19.1008490722212 42.27610100168677,19.10063519545307 42.27635948169965,19.10047187207642 42.27651978362302,19.10040364490481 42.27673224220161,19.10043913296898 42.27699472415197,19.10045743450402 42.27700381792739,19.10048176782492 42.27703102285351,19.10062157120533 42.27721233285657,19.10063373792181 42.27722593530433,19.10084092341651 42.27738026911629,19.10115872415911 42.27741272976563,19.1014454800494 42.27754916474929,19.10164019289098 42.27775775451134,19.10187772842654 42.27796192679161,19.10210937721031 42.27811631986178,19.10226771592511 42.27825695864617,19.10232822453827 42.27839735453599,19.10237426450329 42.27861888120177,19.10248030724869 42.27883339215899,19.10249285492867 42.27884273841413,19.10261822642248 42.27895948834367,19.10278738904904 42.27913689489665,19.10286206445572 42.27932803977655,19.10291749702178 42.27959831547985,19.10294827676126 42.27975209120561,19.10296600304028 42.28000830117514,19.10305992369456 42.28012031550218,19.10314104404617 42.28027887397086,19.10307360249509 42.28047343823458,19.10305219368284 42.28061550250899,19.10311884895299 42.28080003564912,19.10314905988484 42.28100752442099,19.10315859181941 42.28119575693234,19.10308531987799 42.28132616947503,19.10305344099028 42.28148741244916,19.10303710188185 42.28165637597734,19.10305186002802 42.28183693967918,19.10303467502098 42.2820122447154,19.10308297476407 42.28214095104453,19.10308292022901 42.2821530059231,19.10304406496181 42.28233775309555,19.10304397406304 42.28235784453458,19.10297825298538 42.28247823165128,19.10291194972056 42.28272720367409,19.10283500158194 42.28292792928913,19.10286108513514 42.28316507511822,19.10285362669425 42.28339492565333,19.10284589700342 42.2835436878391,19.10280315807477 42.28363232868724,19.1028026735362 42.2837393456296,19.10272468877401 42.28382006851318,19.10265359446933 42.28393735128988,19.1024712169531 42.28419264253737,19.10248104478419 42.28435972987299,19.1023672497374 42.28455522426887,19.10225718359239 42.28470635176243,19.10215044022776 42.28490933957078,19.10204259672495 42.28502177677665,19.10199019662111 42.28512410576872,19.101930743658 42.285254593519,19.10185414156981 42.28534917791166,19.10176509172499 42.28542768949694,19.10170968919532 42.2855523758691,19.10165439989748 42.28565209751095,19.10163274196236 42.28577686762623,19.10163271359473 42.28578310875638,19.10152669279605 42.28590766875826,19.10142068571186 42.28602910806999,19.10134863644581 42.28610382295199,19.10127214147569 42.28622845625286,19.1011449427148 42.28637168679003,19.10108124345882 42.28646514599635,19.1010134822367 42.28652426847609,19.10097066012608 42.28666458880201,19.10095496116619 42.28679199434492,19.10092880139423 42.28692057973615,19.10085126984482 42.28709822684864,19.10075841073364 42.28727205176663,19.10074266956793 42.2873590407869,19.10067574608264 42.28745346973018,19.10055269773924 42.28751748779378,19.10045517113012 42.2875929210428,19.10037293682429 42.28767974400373,19.10029082322633 42.28774008034763,19.10018322180654 42.28778143372132,19.10008595350356 42.2878001097947,19.09987350909931 42.28780639972628,19.09976475569258 42.2877708765464,19.09958770016386 42.28778554036327,19.09957405127958 42.28779305989666,19.09933894981122 42.2878478643935,19.09932190880523 42.28785285746869,19.09912070400112 42.28793796156679,19.09894662332478 42.28804579474182,19.09893635467189 42.28805835853257,19.0987690801294 42.28816620862461,19.09875882311252 42.28817625451574,19.09865272052463 42.28830440164784,19.09864923594076 42.28832201831922,19.09859424529269 42.2884377043781,19.0984435038747 42.2886173890023,19.09831534152193 42.28870370644919,19.09820496009353 42.28878219215554,19.09808778246753 42.28879502431858,19.09792433463854 42.28883661974655,19.09777854688915 42.2888966376702,19.09759024310896 42.28894079546571,19.09743741705275 42.28898766801834,19.09725624669028 42.28902396700612,19.09700770465097 42.28904696821178,19.09674147723076 42.28905679693143,19.09650733620149 42.28903520072472,19.09636542197314 42.28902433954151,19.09625157159294 42.28908443694617,19.09611632880549 42.28916548393183,19.09608033830941 42.28927303720882,19.09612606264642 42.2893624191794,19.09624281779841 42.2894414791272,19.09635595088675 42.28953628256701,19.09645843673112 42.28963105898033,19.09651142242845 42.28972544207369,19.09644749171574 42.28992503416938,19.0963791986484 42.29009465212631,19.09633809288485 42.29022438819194,19.09623835700518 42.29038060976764,19.09613428947095 42.29050019877848,19.09571059927326 42.29080101388631,19.09528658258462 42.29109263849792,19.0950972401082 42.2911985940897,19.09489460891915 42.29126127547623,19.09468338718653 42.29123745441693,19.09450410524348 42.29111392935142,19.09431583100476 42.29099038104628,19.09402429571589 42.29083330697167,19.09382289032562 42.29063322207431,19.09366201496729 42.2904199354123,19.09344698983673 42.29010985906329,19.09332808552561 42.28982704280715,19.09328022168556 42.28947639709784,19.0931968264714 42.28916228300807,19.09309923887488 42.2888585962941,19.09309221585845 42.28884811500428,19.09307816983185 42.28882715234717,19.09293793057622 42.28857044137596,19.09275494168672 42.28838163217451,19.09254310128882 42.28831307684418,19.09247289688654 42.28820303150502,19.09240971542478 42.28810346744675,19.09238852416802 42.28809818136616,19.09212745078746 42.28797195000983,19.09211330686141 42.28797191363066,19.09180940880147 42.28792927808082,19.09179526484389 42.28792924165774,19.09163283049222 42.28788173801428,19.09144220670466 42.28781323462069,19.09142104002687 42.2878027166371,19.09119490831887 42.28776551123831,19.09096158073394 42.28775444529865,19.09077024143042 42.28783765804204,19.09052299046214 42.28777946965808,19.0900400976259 42.28753624180929,19.09001227235156 42.28752379293721,19.08947212700966 42.28735324320312,19.08944989815791 42.2873366830836,19.08915493596347 42.28720802344875,19.08914380199573 42.2872038689173,19.08897109816169 42.28716628971557,19.08879817881305 42.28717409152682,19.08878702523809 42.28717406252837,19.08865324091521 42.28716133773474,19.08852544539728 42.28706199014236,19.08851435050667 42.28704958436929,19.08825292749938 42.28690450636606,19.08799189738097 42.28667691551021,19.08781262298513 42.28651024013445,19.0876561868235 42.28630688188246,19.08753496744205 42.28626331384463,19.08739594948742 42.28617977449986,19.08736074949724 42.28601665681608,19.08728025970035 42.28591996181375,19.08724463110623 42.28584667336916,19.08722668979202 42.28583664530067,19.0870919154134 42.28580634925114,19.08685426049888 42.28565933631135,19.08660661773017 42.28537749304794,19.08637326337924 42.28512962593824,19.08607537019237 42.28489026422624,19.08605782134013 42.28488154252207,19.0857537116976 42.28471590611936,19.0854261063441 42.28455888216441,19.08512922850619 42.28434342921648,19.08499424827879 42.28414191970722,19.0848978570361 42.28399319487306,19.08469162075133 42.28380107586017,19.08449814797318 42.28364730499165,19.08445377771187 42.28345082252982,19.08427339113907 42.28326834878512,19.08426051283313 42.28325394652327,19.08417739316185 42.28303820316088,19.0841088530751 42.28286441022679,19.08405336744261 42.28266590860245,19.08394189280933 42.28237330151367,19.08392178514751 42.28215401400443,19.08381698874743 42.28193972254258,19.0837958731532 42.28192922698425,19.08356380457994 42.28177201713295,19.08352857842954 42.28176148416811,19.08317009561977 42.28148388127187,19.08279732645285 42.28124277755948,19.08224161880445 42.28105939893076,19.08183821629995 42.28087080849411,19.08132560630568 42.28080247162077,19.08095163685515 42.28076575537839,19.08060781717852 42.28073358301187,19.08058363522856 42.28074244777411,19.08027584726884 42.28074608849553,19.08026371280089 42.28075945021005,19.08023946532986 42.28078170895483,19.08004583312827 42.28088834384242,19.08003975492875 42.2808972570372,19.07999655280247 42.28109358977033,19.08012844397927 42.28127253233131,19.08043531990724 42.28145640695318,19.08080848997629 42.28165831585895,19.08083859794105 42.28167179034343,19.08115179100729 42.28179763736006,19.08116386017853 42.28179766952446,19.08146533166265 42.28185204894574,19.08189986780709 42.28184427562164,19.08211049309544 42.28196538205118,19.0821104714043 42.28196984668651,19.08218757661513 42.28224686240587,19.08225589817218 42.28248199344204,19.08242002085365 42.282719790097,19.08242481213468 42.28273418832094,19.08244800039983 42.28296441786447,19.08254886080012 42.28321643188652,19.0824110233346 42.28343834881063,19.08229888097846 42.28366804476566,19.08229880123912 42.28368447269303,19.08233638462858 42.2839474226417,19.08234189617251 42.28395565134733,19.08237971881594 42.28416931767598,19.08238990424256 42.28435826858999,19.08238427313548 42.28437468183725,19.08236120976649 42.28455122375156,19.0824341473262 42.28476208562601,19.08253931309713 42.28499831309106,19.08254515571556 42.28501143687944,19.08268525021718 42.28535262106395,19.08281361775818 42.2856762951423,19.08291821358216 42.28603049044836,19.08309997024134 42.28630624118266,19.08312346781635 42.28633251952603,19.08342315834604 42.28664790579941,19.08380509470228 42.28705526485471,19.08385846182852 42.28722050648491,19.08388302545156 42.28737022112254,19.08393246879725 42.28760417929143,19.08403912180474 42.28777281669898,19.08410096058559 42.28805824905255,19.08417575868157 42.2882782439281,19.08418826642889 42.28830633618458,19.08419456542202 42.28831102935363,19.08430133272428 42.28845628388711,19.08431393075422 42.28846567021356,19.08436351122617 42.2886715689236,19.08436978771965 42.28868093857474,19.08440665765553 42.28890083355619,19.08458930848519 42.28904161171287,19.08460190668014 42.28905099803423,19.08462712560963 42.28906509417609,19.08489209392126 42.28917802963022,19.08491735798746 42.28918277272608,19.08523326037115 42.28922101678908,19.08526486861895 42.28922109995336,19.08577013000164 42.28932063634863,19.08579537184334 42.28933005567824,19.08618045690895 42.28944330481669,19.08664725806424 42.28965497598532,19.08711120714725 42.28984369785282,19.08752642813107 42.29014770116727,19.08785574939003 42.29038770643507,19.08788435862353 42.29041435281056,19.08843605854061 42.29072402279957,19.08878683886697 42.29098533921162,19.0890079058934 42.29133134807261,19.08912154154293 42.29160799129224,19.08917515384055 42.29182410619465,19.08909759073131 42.29212596901055,19.08899212388194 42.29247383566023,19.08887305646264 42.29277046908484,19.08886606237471 42.29278581001401,19.08876117615256 42.29301080403192,19.08859419310353 42.29319467880228,19.08845530738357 42.29329159162954,19.08828868756083 42.29339867153043,19.0881375498448 42.29358025097608,19.08794587666981 42.29363369191155,19.08769981812715 42.29362293634407,19.08747173234261 42.29366616760902,19.08723443442855 42.29372960197406,19.08721613985262 42.29374303925454,19.08701958530856 42.29386389139565,19.08684602717086 42.29394097678946,19.08651316266574 42.2939738181362,19.0862096062885 42.29396956602851,19.08583232946278 42.29399215307572,19.0855087022907 42.29390485448896,19.08517435683352 42.29383717402763,19.08476516836415 42.29386753211809,19.0845095022179 42.29400831916359,19.08434903775404 42.2942358055702,19.08426256417421 42.29454207661458,19.08426245046389 42.29456565317731,19.08418142044193 42.2948444323912,19.08417217767722 42.29500324001646,19.08399330744893 42.29524548241368,19.08398482109193 42.29536263823997,19.08384178173466 42.29545893232532,19.08361962216727 42.29569066109102,19.08338425097805 42.29596912315463,19.08306833165385 42.296219567138,19.08270649180761 42.29638807506734,19.08239342250904 42.29652076374448,19.08205277970518 42.29661229522735,19.08204578699918 42.29662254740768,19.08182998743392 42.2967400872509,19.08160761808277 42.2967805784179,19.08127348760856 42.29695942707399,19.08097409339192 42.2971332324767,19.08081367983241 42.29728173136537,19.08047227084275 42.29752732023382,19.08031819318032 42.29779908652109,19.08029034559039 42.29781441849961,19.08028340261773 42.29781439996875,19.08008776413947 42.29806551428089,19.07928356799216 42.29866199246536,19.07849440067285 42.29909809595601,19.07800610591374 42.2994892214983,19.07751709108391 42.30002423970933,19.07725931382465 42.30029171366095,19.07691599125442 42.30050873195039,19.07637963591328 42.30079275835705,19.07592492886239 42.30099686937411,19.07543658255797 42.30115581182988,19.07510658862451 42.30144916126174,19.07461865615322 42.3016906199575,19.07422156523244 42.30187372045135,19.07381377768761 42.30193121115779,19.07351297904098 42.30209782835856,19.07318406708117 42.30222669424422,19.07289433104263 42.30244357243076,19.07226103715516 42.30257045026709,19.07175551618777 42.30272028208024,19.07079101243946 42.30321169175962,19.06923744705121 42.30382360532639,19.06779092240758 42.30430164413782,19.064133 42.300501))",
Budva =
"POLYGON((18.940837 42.301931,18.938855 42.304616,18.93506 42.306315,18.930382 42.309022,18.928162 42.310874,18.921465 42.313931,18.919274 42.317784,18.917521 42.320967,18.913044 42.32217,18.910133 42.322861,18.906114 42.324727,18.902075 42.325094,18.895556 42.324979,18.893108 42.326666,18.89043 42.328021,18.883047 42.330414,18.878119 42.33162,18.872065 42.332667,18.8676 42.33487,18.862244 42.337746,18.858902 42.339939,18.853055 42.33965,18.849227 42.339179,18.846537 42.339699,18.843635 42.341222,18.840692 42.339577,18.838665 42.339258,18.83643 42.340275,18.835793 42.343115,18.835594 42.345117,18.832685 42.346139,18.829332 42.347665,18.825543 42.350194,18.822422 42.352218,18.816814 42.35326,18.813612 42.348864,18.812694 42.34737,18.810611 42.342549,18.808041 42.334731,18.806398 42.329073,18.803213 42.325928,18.798909 42.323124,18.795492 42.319313,18.792955 42.313995,18.792923 42.311327,18.792228 42.309664,18.791514 42.306334,18.79102 42.302669,18.7907 42.294834,18.791758 42.289491,18.792141 42.283986,18.7920849418 42.2794230705,18.7922357201 42.2794630008,18.79239073722862 42.27938684354556,18.79250609396836 42.27923494269197,18.7926242412 42.2791407,18.7929202067 42.2790136305,18.79317694979647 42.27884915599938,18.79356361865682 42.27868662629076,18.79376495548677 42.27861944861656,18.79390678120084 42.27853590787727,18.79413712708871 42.2783155620916,18.7942437477 42.2781202284,18.7945945623 42.2776868165,18.7949071606 42.2773272278,18.7952690277 42.2769197308,18.7955480482 42.2766683285,18.7958286611 42.2762483642,18.7962713072 42.275901482,18.7967689646 42.275688763,18.7973279609 42.2756018754,18.7979445357 42.2754135293,18.7984391491 42.2752903901,18.7990791915 42.2751859556,18.7995082427 42.2751522554,18.79988107523317 42.27519228647744,18.8002172415 42.2749727432,18.8007198801 42.2747694958,18.801078254 42.2745243382,18.8012478582 42.2742370428,18.8014831388 42.2740653514,18.8018629861 42.2739026352,18.8021985566 42.2737149903,18.8026563623 42.2735444375,18.8031709535 42.2732506726,18.8034279396 42.273136721,18.8038311077 42.2728588482,18.8042108669 42.2727043544,18.8047008128 42.2726656899,18.8050994432 42.27287356,18.8052313476 42.2730471347,18.8051389561 42.2734089333,18.8050253862 42.2736553554,18.8047347124 42.2738020722,18.8045221547 42.2739244871,18.8042300954 42.2742193954,18.8041058568 42.2744163605,18.803824613 42.2747442556,18.8034664805 42.2749647229,18.8032533786 42.2751447651,18.8031947412 42.2754655648,18.8032689914 42.275735952,18.8032446767 42.2760750879,18.8030173619 42.2765843918,18.8025660292 42.2771997069,18.8019905795 42.2779572708,18.8017451292 42.2783407423,18.8014040285 42.2786074079,18.8009178993 42.2788643803,18.800394561 42.2792195802,18.8001506067 42.2794420073,18.8000638538 42.2796652435,18.8001205274 42.280068164,18.8002979606 42.2804896009,18.8005189287 42.2808148207,18.8010744146 42.2811737199,18.8016145425 42.281515309,18.8020770048 42.2818622401,18.8026868882 42.2822156679,18.8034632113 42.2826466111,18.8046092602 42.2831400304,18.8058496711 42.2836106977,18.8070079945 42.2839106753,18.8079580594 42.2841089772,18.8082722913 42.2840641396,18.808564455 42.2841430113,18.8087625507 42.2842136663,18.8092018024 42.2842236325,18.8096936423 42.2842029077,18.8104878263 42.284292055,18.8110938758 42.2843647689,18.8116480562 42.2843907844,18.8123600013 42.2843247254,18.8130409262 42.2842198105,18.8134303124 42.2839663837,18.8136844232 42.2836348843,18.8141256847 42.2834281476,18.8148841375 42.2831752387,18.8156497134 42.2827585084,18.8162335357 42.2823240383,18.8165872173 42.2820042653,18.8172041187 42.2814161683,18.8179671084 42.2809011867,18.8186654141 42.2803644916,18.8189135763 42.2801148001,18.8192626216 42.2799597091,18.8197222271 42.279767528,18.8201148577 42.2794809132,18.8201148577 42.2794809132,18.8206942375 42.2791701314,18.8211037618 42.2788898685,18.8214896128 42.2784150137,18.8217311025 42.2779645321,18.8218261843 42.277764256,18.8217362823 42.2773941653,18.8218271999 42.2772618502,18.8220329683 42.2772927766,18.8223311718 42.2773871886,18.8225675767 42.2773706583,18.8228123519 42.27742055,18.8230877712 42.2773887228,18.8232647859 42.2773254304,18.823656868 42.2770800625,18.8241354847 42.276961956,18.8243965027 42.2768378323,18.8245781601 42.2767425793,18.8246908526 42.276776579,18.8249274997 42.2768488137,18.8250230552 42.2769036305,18.8250870848 42.276694925,18.8250497589 42.2764480953,18.82505119 42.2762892456,18.825063958 42.2761262711,18.8252225626 42.2760810681,18.8254137851 42.2761781608,18.8255381529 42.2761704126,18.8257411271 42.2762173971,18.8258423711 42.2762274373,18.8260357199 42.2761435666,18.8261924156 42.2760561223,18.8263079339 42.2759582963,18.8263411899 42.2758295291,18.8262964949 42.275700378,18.82621031214771 42.2755265522004,18.8260849476 42.2752582553,18.8261550384 42.2751127038,18.8262844938 42.274994588,18.8264119334 42.2748824191,18.8265432612 42.2746761326,18.8267366986 42.2744739833,18.8269454648 42.2742949013,18.8270405728 42.2740846027,18.8271492211 42.2739518625,18.8272597224 42.2739592233,18.8273566173 42.273942655,18.8275442108 42.2740867485,18.8277140806 42.2741523508,18.8278654929 42.2742212711,18.827976483 42.2741740917,18.8280696567 42.2740586478,18.8280941563 42.2738951429,18.8281372659 42.273711276,18.82817985883351 42.27355518869731,18.82828292768045 42.27352045886033,18.82841834404075 42.273511850643,18.82852398538826 42.27346971509989,18.82867933483921 42.27347418583807,18.8287747036 42.2735235045,18.82888475810257 42.27348446526008,18.82903718661782 42.27353528382214,18.82913411433187 42.27362662947878,18.8292875477 42.2738737196,18.8293601282 42.2740002026,18.8292719901 42.2740679484,18.8291009301 42.2741352881,18.82913920990693 42.27417744239691,18.82927444554048 42.27418923194247,18.8293116528 42.274269265,18.82952226216604 42.27422382672054,18.82972022052165 42.27422850488995,18.82984282693713 42.27425135908963,18.82991751689453 42.2743073599171,18.8299508093 42.274405337,18.8300563704 42.2744501682,18.8301991209 42.2744576837,18.8302912879 42.2744547252,18.8303599645 42.2745027848,18.83037412872266 42.27454846159301,18.83046536876886 42.27453040784874,18.83048367482915 42.27448028372226,18.83039101484258 42.27445736682695,18.83031997306184 42.27441341298778,18.83027931321819 42.27436696482608,18.83029928716351 42.27433006299071,18.8303159649 42.2742707672,18.830224498 42.2741953253,18.8302437773 42.2740999713,18.8303641322 42.2740357908,18.83048397 42.2740295583,18.8305707998 42.2741083863,18.8306806338 42.2741907353,18.8307816193 42.2742321347,18.8308968512 42.2742258794,18.8310754244 42.2743494701,18.8311017596 42.2744961802,18.831004195 42.2745877436,18.8309754295 42.2747137315,18.8309002915 42.2748735818,18.8307698707 42.2750331619,18.83054375594735 42.27526084270672,18.8303421153 42.2754708167,18.8303020676 42.2756964322,18.8303477213 42.2759788419,18.8304783391 42.2761874069,18.830713331 42.2763964813,18.8311606895 42.2766511477,18.8312445682 42.2766990832,18.8313093274 42.2766399913,18.8314135956 42.2766523814,18.8314934073 42.2767062377,18.831592921 42.2768017756,18.8317084399 42.2769033323,18.8318925482 42.2769666083,18.8320967293 42.2770299819,18.8323454135 42.2770549569,18.8326462868 42.2770801857,18.8329193766 42.2770696337,18.8331527176 42.2770143314,18.8332979771 42.2769318665,18.8333753325 42.2768104556,18.833460164 42.2767514597,18.833548325 42.2767697109,18.8336490299 42.276731585,18.8336493722 42.2766929712,18.8338738802 42.2766903231,18.8340740157 42.2767000088,18.8341967884 42.2768008199,18.8342259999 42.2768271047,18.8342838051 42.2769493865,18.8343949175 42.2770370693,18.8344008062 42.2770370979,18.8345473282 42.277116238,18.8346348482 42.2772081635,18.8346046717 42.2772908039,18.8345453218 42.2773428023,18.8345621778 42.2774343852,18.83461385107264 42.27749017373888,18.83471696080125 42.27752685215634,18.834844065 42.2775228964,18.83499686752515 42.27756160491285,18.8351202194 42.2775939504,18.835225888 42.27763483,18.8353295867 42.2777003044,18.8354122669 42.2776600971,18.8355549568 42.2776607879,18.8356476079 42.27773433,18.8356580457 42.277795292,18.8356411147 42.2778479999,18.83571095310504 42.27787560801951,18.83610346879295 42.27785034942925,18.83632859630606 42.27781579328182,18.83663419352679 42.27776125715651,18.83680655849911 42.2777264451451,18.8369873091 42.2776717725,18.8371800727 42.2775955483,18.83725531214923 42.27756736108917,18.8372305036 42.2774780294,18.83721121372585 42.27736515880315,18.8372158296 42.27727492,18.8372660099 42.277185825,18.8373870337 42.2771539225,18.8375904501 42.2771142955,18.8376679629 42.2770375143,18.8377566666 42.2769364221,18.83779412474057 42.27688351325315,18.8378476766417 42.27681763213698,18.83793100197967 42.27675434416005,18.83803219010675 42.27673033598772,18.83811818940244 42.27673932420139,18.8381443827351 42.27677252020765,18.83820041440648 42.27680096078977,18.83826827038218 42.27680251262971,18.83837109243337 42.27678096155051,18.8384605355 42.2767814398,18.8385481665 42.2768021654,18.8386137735 42.2768309065,18.8386849045 42.2768556134,18.8387779883 42.2768804258,18.8388435959 42.2769091668,18.8388958707945 42.27696598473392,18.83891994632741 42.2770518371001,18.8389209876907 42.27712165609044,18.83886076106396 42.27719362970425,18.83882383800581 42.27725101779468,18.838812369 42.2773394615,18.8388657155 42.2775143322,18.8388971453 42.2776850366,18.8389721959 42.2778884373,18.8390474257 42.2780715349,18.839177361 42.2782751999,18.8392968558 42.2784179029,18.8393625507 42.2785372437,18.8395748322 42.2786434331,18.8398579519 42.2787762543,18.8400942702 42.2788431194,18.8403608542 42.2788356346,18.840615248 42.2788675291,18.8408516064 42.2789300106,18.841045933 42.2790580209,18.841323405 42.2791601369,18.8415418455 42.2792400595,18.84157493217316 42.27930754572262,18.84153857428664 42.27937125305732,18.84146044087857 42.279395807953,18.8413217176 42.2793529384,18.841132621 42.2793038303,18.840937756 42.279237166,18.8406657466 42.2791876597,18.8404054676 42.2791513551,18.8402931723 42.2791245241,18.8401811078 42.2790714019,18.8400212799 42.2790618707,18.8398496074 42.2790522823,18.8396365167 42.2790381126,18.8396182495 42.2790949912,18.8396112502 42.2792176544,18.8395574485 42.2792743622,18.8394026193 42.2793700227,18.8389211395 42.278894448,18.8375614366 42.2792822805,18.837535199 42.2795713685,18.8375673365 42.2799571428,18.8376295497 42.280290478,18.8381785141 42.2811739159,18.8382540807 42.2813364166,18.83867429030446 42.28178181865781,18.8390958255 42.2821953292,18.8396931362 42.2826889729,18.8399085525 42.2827527806,18.8401923864 42.2829310498,18.8405152877 42.2830524392,18.8406761639 42.2831787578,18.8406598376 42.2832813998,18.8408435046 42.2834477746,18.8412345312 42.2837178639,18.8415018516 42.283890018,18.8418488381 42.2840070943,18.8422079807 42.2841064714,18.8426755109 42.2841619748,18.8432264221 42.2842888989,18.843753568 42.2843890728,18.8445304872 42.2844995247,18.8454529595 42.2845596558,18.845705144 42.2845859384,18.8461830489 42.284649525,18.8466831765 42.2847578096,18.8470485498 42.2848244157,18.8473930602 42.2848158555,18.8477743672 42.2848006733,18.8481880254 42.28476186,18.8486017713 42.2847128528,18.8490205786 42.284609507,18.8493424786 42.2845600632,18.8495536365 42.2845712521,18.8497824613 42.2846640657,18.8500851746 42.284709661,18.8504886873 42.2847829111,18.8508555518 42.2848457947,18.8513142679 42.2849091094,18.8519164404 42.2849796164,18.8525776647 42.2849687468,18.853163422 42.2849470384,18.8536367137 42.2848234849,18.8541809856 42.2846827928,18.8546497024 42.2845417444,18.8551229623 42.2844216763,18.8555595743 42.2841611868,18.8557498303 42.2841040853,18.855857737 42.2840282871,18.8558536378 42.2840252159,18.8558211819 42.2839609713,18.8558835547 42.2839032731,18.8559958984 42.2837908707,18.8560755778 42.2836386389,18.856080873 42.2835013207,18.8561106076 42.2834007411,18.8562017004 42.2833614885,18.8562968405 42.283331411,18.8563968334 42.2832158978,18.8565129374 42.2831462405,18.8566044688 42.2831085272,18.8566478224 42.2829721593,18.856743384 42.2828984665,18.8568763937 42.2827625162,18.856992818 42.2827162343,18.8571457284 42.2827208478,18.8573514113 42.2827218045,18.8574842534 42.2826053629,18.8576279743 42.2824499518,18.8577506983 42.2822827372,18.8578419442 42.2820958663,18.8578534193 42.2819866642,18.8575807617 42.2819318531,18.8575597853 42.2817303264,18.8574019014 42.2816204851,18.8572522937 42.2814267534,18.857121664 42.281224717,18.8572601637 42.2809455993,18.8573720751 42.2806803457,18.8574496939 42.2804457061,18.8575760391 42.2802616499,18.8576650188 42.2800020435,18.8577469016 42.2798696447,18.8578238469 42.2797903347,18.8578728875 42.2798270769,18.8579814345 42.2797246772,18.8578838885 42.279588125,18.8579975692 42.2794094007,18.8578144161 42.2793156038,18.8576973757 42.2793615327,18.8576349889 42.2793114501,18.8576759298 42.2792452506,18.8576499976 42.2791289475,18.8576782963 42.2789664232,18.8578795818 42.2787466942,18.858093987 42.2784506415,18.8581573162 42.2782157718,18.8583090543 42.2780762032,18.8584829901 42.2779491146,18.858512093 42.2778048503,18.8586305488 42.2776444979,18.8586593367 42.2775373631,18.8587160384 42.277426232,18.85882656097719 42.27745091235435,18.8588151104 42.2775793431,18.8588142718 42.2776783562,18.8587802228 42.2777483351,18.8588687723 42.2778271341,18.8589742592 42.2778812574,18.85907799236395 42.277798142924,18.8591732424 42.2777573965,18.8592810049 42.2776454283,18.8593482005 42.2774724787,18.8595013823 42.2773333637,18.8597128989 42.277097249,18.8601351148 42.2763977273,18.8604233675 42.2761322333,18.8606747024 42.2758205626,18.8609689352 42.2755826965,18.86103995272287 42.27578975534519,18.86105658269969 42.27593873124953,18.86104442658006 42.27631919434616,18.8610292519 42.276539875,18.8610870402 42.2770599942,18.860962947 42.2776377295,18.8608557733 42.2782380274,18.8608476321 42.2786265256,18.8607326746 42.2789965423,18.8607113732 42.2792158947,18.8606513257 42.2794170805,18.8605810975 42.2796721831,18.8607283541 42.2798102686,18.8610502999 42.2798810392,18.8614863996 42.2799869766,18.8619745528 42.2800893029,18.8626032278 42.2801845757,18.8633413108 42.2802611027,18.86409593661919 42.28036683253356,18.8647547739 42.2804484948,18.8654303189 42.2805401169,18.8665409497 42.2806407641,18.8678646831 42.280746542,18.8691419803 42.2808000551,18.8706420647 42.2808502259,18.8718673629 42.2808639701,18.8735296281 42.2808450335,18.8752057976 42.280766628,18.8764931199 42.2807062862,18.8778864254 42.2806292573,18.8788428554 42.2804932494,18.8793463727 42.2804523321,18.879963866 42.2802959176,18.880519947 42.280069084,18.881003501 42.2797933639,18.8815380054 42.2794511844,18.8817496423 42.2792778081,18.8818013646 42.2791573574,18.8818819745 42.2790504436,18.8819411197 42.278908571,18.8819167706 42.2787824188,18.8818742557 42.2786615495,18.8818545313 42.2786166353,18.8817997026 42.2786403472,18.8816926634 42.2786144196,18.8815741756 42.2785031006,18.8813391767 42.2782864602,18.8809955323 42.2779929792,18.8809271964 42.2779357817,18.8807715214 42.2779721722,18.8806663329 42.2779926079,18.8805040378 42.2779918859,18.8803903148 42.2779149623,18.8802992113 42.2777780969,18.8802855225 42.2776470344,18.8802902762 42.277516054,18.8804393246 42.2773311319,18.8805658642 42.2771925058,18.8806920929 42.2770920869,18.8808952248 42.2770602399,18.8810433176 42.2769926682,18.8811912328 42.2769469291,18.8812951965 42.2768627855,18.881321503 42.2768028597,18.8812109218 42.2767186585,18.8810746282 42.2766578742,18.8811490307 42.2766007617,18.8812971473 42.2765713305,18.8814490937 42.2765255038,18.8814967527 42.2765749525,18.8814925233 42.2766405831,18.881540116 42.2766982377,18.8816754869 42.2767519487,18.8818968488 42.2767514006,18.8821308464 42.2767233557,18.882244736 42.2767100846,18.8823241646 42.2766094114,18.882366208 42.2765269407,18.8823703404 42.2764390451,18.8823192506 42.2764517329,18.8822335385 42.2763875491,18.8822379513 42.2763266652,18.8822662686 42.2762180345,18.8822320964 42.2760914685,18.8822584208 42.2759495521,18.8823439866 42.2758754224,18.8824452295 42.2758083473,18.8826245377 42.2758161274,18.8826379427 42.2757464379,18.8827092583 42.2757196533,18.8827845086 42.2757391166,18.882892372 42.2757220587,18.882952348 42.2757653665,18.8830302814 42.2757194811,18.8830222954 42.2756413321,18.8830311581 42.2756110824,18.8830657579 42.275595294,18.8831044731 42.2756034362,18.8831366606 42.2756195202,18.8831879286 42.2756739485,18.8832263861 42.2757139726,18.8833057392 42.2757589602,18.8833850281 42.2758119182,18.883445275 42.2758217497,18.8834665102 42.2758601033,18.8835462373 42.2758588619,18.8836065615 42.2758591287,18.8836543198 42.2758147035,18.8837170271 42.2758084161,18.8837766851 42.2758287997,18.8838447928 42.275813005,18.8838988664 42.2758514717,18.8839592065 42.275787355,18.8840328335 42.2757615247,18.8840656252 42.2757415498,18.8840305691 42.2757051792,18.8840201312 42.2756508095,18.8840584422 42.2756207991,18.8841371986 42.275633219,18.8842211661 42.2756738296,18.8842834944 42.2757002607,18.8843624133 42.2756925613,18.8844138653 42.2757189443,18.8844869566 42.2757595067,18.8845904448 42.2757398437,18.8846613362 42.2757160128,18.8847346061 42.275734444,18.884774971 42.2757869336,18.8848863248 42.2758035207,18.8849785153 42.2758361191,18.885057094 42.2758706693,18.8851656157 42.2759013276,18.8852827647 42.2758736762,18.885394427 42.2758520365,18.885484061 42.2758645034,18.8855606646 42.2758558698,18.8857040965 42.275781439,18.8858568059 42.2757070785,18.8860696973 42.2756033644,18.8862144479 42.2755230447,18.8863510816 42.275456511,18.8865440392 42.2753546827,18.8867317703 42.275239009,18.8870629532 42.2750491169,18.8873898584 42.2748434685,18.8876675748 42.2746404014,18.887973385 42.274370408,18.8882482219 42.2741226112,18.8882763527 42.2739850792,18.88825636206092 42.27383333713235,18.8882682823 42.2736971638,18.8882277982 42.2735703189,18.88818756 42.2734127675,18.8882030979 42.2731332093,18.8882559361 42.2730047396,18.8882827167 42.272895324,18.8882838126 42.2727584126,18.8883220015 42.2726107105,18.8882731943 42.2724934435,18.8883007306 42.2722960144,18.8884023136 42.2721126286,18.888541106 42.2719129432,18.8885379249 42.2718470794,18.8883833817 42.2716982399,18.8883174973 42.2715909449,18.8883036102 42.2714729027,18.8883411713 42.2714127047,18.8882379017 42.2713436582,18.8880572296 42.271216653,18.8880240471 42.2710410563,18.8880955218 42.270965981,18.8881272889 42.2708710649,18.888194255 42.270805803,18.8882781255 42.2708422261,18.88835653869275 42.27090212714496,18.8884684858 42.2708561714,18.8884689316 42.2708004512,18.8883943133 42.2707149022,18.8884390271 42.2706626538,18.888576234 42.2706763659,18.8886603928 42.2706767345,18.8887489024 42.2706869554,18.8888726377 42.2707235526,18.889054689 42.2706686273,18.8892099803 42.2706365289,18.8893160244 42.2706697705,18.8894669648 42.2706278194,18.8895782237 42.2705627502,18.8897112631 42.2705436649,18.8897997206 42.2705604402,18.8898877074 42.2706362134,18.8899724157 42.27056775,18.8899461007 42.2705348573,18.8900173637 42.2704860018,18.8899379742 42.270443044,18.8898854752 42.2703608702,18.8899918596 42.2703515013,18.8900625471 42.2703747544,18.89024631056534 42.27035918906002,18.8904162665816 42.27036450526951,18.8904515615 42.2704198363,18.8903845523 42.2704758354,18.8904606403 42.270473822,18.89057177223137 42.27039951578696,18.8906745323 42.2702824258,18.8906245483 42.2701907341,18.8905875789 42.2700568804,18.89061838393539 42.26996580845056,18.8906930889 42.2699424121,18.8907791518 42.2698818049,18.8908715349 42.2698235707,18.8909575601 42.2697676541,18.891106621 42.2697565763,18.8911886738 42.269801498,18.8913089818 42.269803515,18.8913808241 42.26983292,18.8914465192 42.2698113871,18.8914962195 42.2697412979,18.8915395025 42.2696542103,18.8915661737 42.2695961423,18.8915930955 42.2695065591,18.8916587709 42.2694874503,18.8917113228 42.2694707087,18.891653356 42.2693443907,18.8916997027 42.2692839839,18.8917521003 42.2692866363,18.8917910082 42.2693377168,18.8918569919 42.2692798196,18.8919098712 42.2692218655,18.8919823683 42.2691688452,18.8920501554 42.2691215285,18.8921427524 42.2691063785,18.8921983098 42.2689915296,18.8922329985 42.2688579266,18.892272335 42.2686683537,18.8922945618 42.268516033,18.8923001975 42.2683356448,18.8922928282 42.268204969,18.8922706269 42.2680334615,18.8922531435 42.2678451956,18.8921360851 42.2677688487,18.89190109579216 42.2675205546882,18.8918158106 42.2674725297,18.8916192708 42.2673677476,18.8914266831 42.2672433203,18.8913596818 42.2671929127,18.8912121729 42.2672985457,18.8911172905 42.2673184829,18.8909831367 42.2672817193,18.8908995825 42.2671931687,18.8909170725 42.2671303808,18.8908470346 42.2670357795,18.8907646357 42.2670710432,18.89067932323905 42.26706828453866,18.8905835994 42.2670472036,18.8906773765 42.2669231185,18.8907266064 42.2668803707,18.8906998273 42.2667898063,18.890767912 42.2666815662,18.890825804 42.2667021695,18.890814482 42.2665890606,18.8907941196 42.2664600838,18.8907886024 42.2663854402,18.8906563824 42.2662981603,18.89068202845786 42.26617553657144,18.8907246901 42.2660510319,18.8906609287 42.2660605723,18.8906165706 42.2659661212,18.8906594639 42.2659113247,18.8907233972 42.2658801844,18.89073974 42.2658272358,18.8906842208 42.2658014654,18.8906072862 42.265799166,18.8905651593 42.2657577444,18.8905368001 42.2656535443,18.8905558831 42.2655968387,18.890563925 42.2655288387,18.8906097898 42.2654575273,18.8906405383 42.2653883846,18.890692193 42.2653483847,18.8907227455 42.2653038233,18.8907108982 42.2652747201,18.89061481097738 42.2652360139763,18.8905881784 42.265137866,18.8906582355 42.2650621907,18.8907130695 42.2650020921,18.8907735691 42.2649889476,18.8908376219 42.2649087766,18.89090139 42.26486436,18.8909827599 42.2648848274,18.89100415295284 42.26481577285909,18.8909564548 42.2647752107,18.8909782502 42.2646926205,18.8910239357 42.2646436555,18.8910816819 42.2645969778,18.8911008187 42.2645253574,18.8910473028 42.2644782042,18.8910890165 42.2644150441,18.8911244648 42.2643424727,18.8911917057 42.2642583099,18.8912524199 42.2641975786,18.8913190445 42.2641908309,18.8913385121 42.2641346119,18.8913644127 42.2640666909,18.8913169943 42.2640500624,18.89129013221893 42.26407363530465,18.89124836387255 42.26405795159933,18.89126528590472 42.26397879501175,18.8912292627 42.2639206504,18.8912108404 42.2638454983,18.8911889869 42.2638031751,18.8911797758 42.2637655991,18.8911768858 42.2637303965,18.8912059748 42.2636601434,18.89123482692083 42.2636261153148,18.89122180005312 42.26360605257557,18.89119026717268 42.2635803852524,18.89115746018087 42.26354143686643,18.8911661311 42.2635034081,18.89115801312229 42.26347199819314,18.89111952425845 42.26345344886732,18.89111859983845 42.26339625804253,18.8911489471 42.2633585865,18.8912072442 42.2633294388,18.8912989408 42.2633275767,18.8913783775 42.2633301845,18.8914729502 42.2633509515,18.8915520991 42.2633897445,18.8916494581 42.2634444484,18.8917285713 42.2634877644,18.8918048263 42.2635061897,18.8918656758 42.2635403795,18.8918928919 42.2635766845,18.8918774683 42.2635947108,18.8919445017 42.2636198808,18.8919748636 42.2636448912,18.8920545521 42.2636158362,18.892140532 42.2635641919,18.8922205615 42.2634921667,18.8922946944 42.2633929759,18.8923261874 42.2632755062,18.892333197 42.2631624534,18.89233147466658 42.26305877191295,18.8922949781 42.2629723073,18.8922590073 42.2628839458,18.892192226 42.2628271136,18.8921463692 42.2628291758,18.89209510803793 42.26288823464742,18.8920357052293 42.26293934229533,18.89198338583167 42.26297250255435,18.89192244177738 42.26299920444798,18.89184617766416 42.26298859908696,18.891808260087 42.26295633007198,18.89174600990489 42.2629290916675,18.89166790867023 42.26293131973985,18.8915843252556 42.26292377335131,18.89155105310816 42.26287938843638,18.89149412695052 42.26283397875459,18.89141072607045 42.26282900690142,18.8913455731 42.2628437828,18.891272015 42.2628706022,18.8912353977 42.2628636576,18.8912081282 42.262834137,18.8911901343 42.2627910868,18.8911659926 42.2627525331,18.891107768 42.2627726343,18.8910557632 42.2627791925,18.8909548993 42.2627810143,18.890857991 42.2626697692,18.890803362 42.2626220355,18.8908194162 42.2624973981,18.8908570366 42.2623297245,18.8909154487 42.2622091361,18.8909251786 42.2621263785,18.890889375 42.2620658006,18.8909318848 42.2620436077,18.8909718693 42.261958744,18.8910190757 42.2618508659,18.8910222648 42.2617941507,18.8909872898 42.2617170086,18.89097870492505 42.26165757986213,18.8910072908 42.2616117416,18.891059916 42.2615349815,18.8911289177 42.2614643708,18.8912007372 42.2613836422,18.891297488 42.2612432908,18.8914423486 42.2611436967,18.8915554805 42.2610482294,18.8916801031 42.260957077,18.8917351517 42.2609189326,18.8917931831 42.2608680066,18.8918535196 42.2608895937,18.891896196 42.2609580176,18.8919216358 42.2610199691,18.8920049376 42.2610523181,18.892108442 42.2610804902,18.8922287767 42.2611663111,18.8922773175 42.2612219657,18.8923867709 42.2612267064,18.8925485772 42.2611698338,18.8927164839 42.2610703388,18.8928876433 42.260923944,18.8930186001 42.2607603149,18.8931686255 42.2605446416,18.8932643078 42.2603149565,18.8933500219 42.2600529867,18.8933757391 42.2598231807,18.8933692448 42.2596374496,18.8933469835 42.259431016,18.8932606737 42.2592655716,18.8931701013 42.2591354805,18.89308857291088 42.25911011177716,18.8929983355 42.2591995837,18.8928904779 42.2592403827,18.8927072545 42.2592425341,18.8925241944 42.2592240521,18.8923450467 42.2592144299,18.8922539843 42.2591462369,18.89216208 42.2591841568,18.8921364395 42.2591094113,18.8920534368 42.2590479654,18.8920368479 42.2589644076,18.8920434998 42.2588980546,18.8920567974 42.2588022117,18.8920534913 42.25871374,18.89216639 42.2587014623,18.8921630781 42.2586473962,18.8920734258 42.2586424731,18.8921132862 42.2585515476,18.8921099776 42.2584778211,18.8921531524 42.258423759,18.8922262021 42.2584286807,18.8922527729 42.2583844472,18.8922959486 42.2583230125,18.8922926359 42.2582738613,18.892226233 42.2582320772,18.8922362041 42.2581706394,18.892272736 42.2581264069,18.8923358309 42.2580870917,18.89235474174634 42.25804374411157,18.8923956119 42.2580035403,18.8923657328 42.2579715895,18.892375704 42.2579076941,18.8924188743 42.2578782072,18.89247831065377 42.25785440715932,18.8925417599 42.2578506797,18.8925849174 42.2578752562,18.8926513269 42.2578261162,18.8926944945 42.2577843461,18.8927011554 42.2576467389,18.8927078231 42.2574582698,18.8927030286 42.2572169067,18.892657166 42.2569952067,18.8926016299 42.2568468084,18.8925026193 42.2566590727,18.8924016666 42.2565101223,18.8923957666 42.2564358706,18.8922830437 42.2563640101,18.8920544626 42.256245784,18.8919198216 42.2561623323,18.891738207 42.2560858293,18.8915628395 42.2561043551,18.8914250532 42.2561020243,18.8912809865 42.2561993569,18.8911588415 42.2562874204,18.890927079 42.2564450064,18.8908075207 42.2565026657,18.8907186647 42.2566063423,18.8906058928 42.2566973718,18.8905307307 42.2566543726,18.8904487231 42.2566745955,18.8903701298 42.2567074634,18.8903291408 42.2566391784,18.8902505595 42.2566088232,18.890185649 42.2565607669,18.8902164305 42.2564039772,18.8902677188 42.2562143137,18.8902814102 42.2560853403,18.8903123677 42.2559082369,18.8903721245 42.2557608828,18.8903754511 42.255716675,18.8903223547 42.2557387735,18.8902161529 42.2558296346,18.8901896162 42.2557805117,18.89020374503656 42.2556850567428,18.89022106697648 42.25558385378943,18.890352265 42.255495632,18.8904053707 42.2554219574,18.8905016193 42.255316359,18.8905480846 42.2552623316,18.8907106784 42.2552598923,18.8907331982 42.2551583103,18.8908279032 42.255123274,18.8908831525 42.2550765517,18.8909028988 42.2549801777,18.8909739371 42.2548984112,18.89103567475437 42.25490639913755,18.89111309447107 42.2549608686242,18.8910409925 42.2550239986,18.8910686093 42.2550444447,18.8911475311 42.2550064861,18.8912027681 42.2550269348,18.8912461837 42.2549568475,18.8913290522 42.2549130482,18.891400071 42.2549393393,18.8914355717 42.2550035933,18.8914741261 42.2550578934,18.8915099729 42.255095807,18.8915816783 42.2551033958,18.8916585042 42.255118567,18.891678986 42.2551526881,18.8916994679 42.2551868091,18.8917814214 42.2551678616,18.8918428817 42.2551830313,18.8918787331 42.2551944076,18.8919914185 42.2551716718,18.8920631238 42.2551792602,18.892129703 42.2552133852,18.8921706738 42.2552399259,18.8921348132 42.2552854149,18.89210059550046 42.25538425596217,18.8921143618399 42.25543320912936,18.89216355719435 42.25547707798012,18.89219383788647 42.25552610306296,18.89220997746268 42.25557332040035,18.8921347435 42.2557175896,18.892109124 42.2557782434,18.8920681398 42.2558313138,18.8920066678 42.2558843824,18.8919656859 42.2559222888,18.8921039633 42.2560170763,18.8922985839 42.2561042866,18.8924932104 42.2561573775,18.8927134517 42.2561801422,18.8929388209 42.2561649968,18.8932512653 42.2561384849,18.8935227393 42.256074059,18.8937942171 42.2559793043,18.8941117974 42.2558466421,18.8943730384 42.2556912288,18.8947176769 42.2554726721,18.8949636497 42.2552830614,18.8952147538 42.2550138078,18.8953992414 42.2547748901,18.8955888602 42.2544563293,18.8957887247 42.2541415609,18.8959506898 42.2538668899,18.8960603183 42.2536008078,18.8961392512 42.2533996235,18.8961787247 42.253224397,18.896178736 42.2531075778,18.8961480561 42.2530232068,18.8961524502 42.2529193677,18.8961436895 42.2528447327,18.89609035499943 42.25281830130056,18.8960560163 42.2527733384,18.89603340756918 42.25269842911312,18.8960472647 42.2526078437,18.8960648061 42.2525526799,18.89596555248101 42.25255074897115,18.8959201398 42.252497507,18.8959596016 42.2524390994,18.896029748 42.2524131433,18.8960911244 42.2524066567,18.8961744201 42.2524066612,18.8962163824 42.2523761471,18.8962633098 42.252309846,18.8963145042 42.2522277585,18.8963529039 42.2521235693,18.8964168995 42.2519878083,18.8965064846 42.251886779,18.8965875386 42.251782592,18.8966387325 42.2516941899,18.8966387402 42.2516089426,18.8966728711 42.2515300116,18.89670233014575 42.25144840916509,18.89669900445097 42.25134248503109,18.89666552992212 42.25120484718878,18.89667050413998 42.25112173314323,18.8967113065 42.251009057,18.8967497102 42.2508417208,18.896749721 42.2507185852,18.8967324922 42.2505580925,18.8968037959 42.2503145698,18.896924453 42.2500101676,18.8970286526 42.2497869398,18.8971383334 42.2495799469,18.897171241 42.2494744199,18.897088998 42.249417593,18.897067074 42.2493120634,18.8971054671 42.2491781248,18.8970725768 42.2490725943,18.89715436263132 42.24903824926084,18.8971947912 42.2489472129,18.8971993887 42.2488283509,18.8972131619 42.2487094894,18.8972177626 42.2485498747,18.8972040087 42.2484310118,18.8970984945 42.2483630857,18.89696233629532 42.24828216368156,18.8968599428 42.248189875,18.8967819603 42.2480710086,18.8967177439 42.2479215781,18.8966718819 42.2477347912,18.89662014468694 42.24759637764898,18.8964658929 42.2475040422,18.89626584247926 42.2475099939377,18.8961293544779 42.24746834586944,18.89602622051689 42.24741726135212,18.89597501498154 42.24734587180014,18.89592667635144 42.24737987842014,18.89587469401204 42.24740702619516,18.8958376275 42.2473522105,18.8958114611 42.2472359382,18.8957722056 42.247119665,18.89575479249143 42.24706395983375,18.89569184762703 42.24711140934117,18.89563885888072 42.24709854805139,18.89560722458846 42.24702261810479,18.895449339 42.2471293351,18.8953359003 42.2471228687,18.8951919285 42.2470388861,18.8950523208 42.246948444,18.8949170759 42.2468612316,18.8950043496 42.2467481957,18.8950698084 42.2466286988,18.8951832526 42.2465802597,18.8953185027 42.2466157958,18.8954319346 42.2466803982,18.8955890051 42.246664259,18.8956849909 42.2466707243,18.8957417202 42.2465706051,18.8958159041 42.2464446486,18.8959057445 42.2463195011,18.8959868734 42.2461772922,18.8961021477 42.2461077719,18.8962601077 42.2460951391,18.8964180722 42.2460319415,18.8965290801 42.2459213369,18.8966028276633 42.24580321943603,18.89658246640146 42.2457846978042,18.896507746 42.2457949241,18.89640673131328 42.24577960195083,18.8963497936 42.2457380306,18.8962601518 42.2456337361,18.8962969204394 42.24556199760565,18.8963498169 42.2454883672,18.8964309367 42.2454156846,18.8964480203 42.245336678,18.8965528102 42.2451854711,18.8967274608 42.2450806564,18.8968737821 42.2450736753,18.89694082884866 42.24512156295718,18.8969256943 42.2451680187,18.8969304105 42.2452134423,18.8970153692 42.2452344109,18.8971522514 42.2452169466,18.8972796932 42.2452029758,18.89742489227524 42.24515368070821,18.8973848065267 42.24509051654616,18.89739687760957 42.24505374277241,18.8974401878 42.2450212892,18.8975015487 42.2450108094,18.8975723495 42.2450003301,18.8976242734 42.2449479206,18.89765728997884 42.24489980852081,18.8977092402 42.2448535831,18.89782042003115 42.2447977862616,18.8979273993388 42.24471596383465,18.89802933840791 42.24464791945334,18.8980727003 42.2445461154,18.89808572720318 42.24449012418386,18.89808831267828 42.24438741057415,18.8980963164 42.2443050222,18.8980916033 42.2442036924,18.89808218167201 42.24411902694227,18.8980971586819 42.24403658351454,18.89814995842624 42.24400380751855,18.8982473756 42.2439905561,18.8983292857 42.2439953334,18.8984254832 42.2438643141,18.8985216799 42.2437389914,18.8985870978 42.243579488,18.8986332775 42.2434228323,18.8986679144 42.2432661762,18.8986371422 42.2431294561,18.8986063706 42.242984191,18.898552514 42.2428417734,18.8985025021 42.2427477771,18.8984255538 42.2427192913,18.8984384238 42.2425012893,18.8984148419 42.2423336196,18.8984290065 42.2421834167,18.8983582398 42.2420262246,18.8984101523 42.2418655436,18.8984526208 42.2418201346,18.8983960093 42.2416664359,18.8984526386 42.2415232202,18.89839974093859 42.24137999014686,18.89838078009648 42.24125328345468,18.8983535776 42.2411075353,18.8984231933 42.2410363587,18.8985353282 42.2410491342,18.8986239363 42.2410172222,18.8987207912 42.2409118437,18.8988070494 42.2409086534,18.8988803669 42.2409373921,18.8989321265 42.2408479914,18.8990313245 42.240816065,18.8990701442 42.2407426286,18.8990529004 42.2405925601,18.8990184039 42.2404680346,18.8990054714 42.2403498955,18.89891890346774 42.24029463146771,18.89882045321585 42.24029420853946,18.89876521192241 42.24033126301268,18.8987350758212 42.24037859576541,18.89861586009581 42.24039842436157,18.8985224318 42.2403371083,18.8983757974 42.240286016,18.8981385918 42.2402476918,18.898017835 42.240187021,18.8978448951 42.2401764697,18.8975533432 42.240059205,18.8973337848 42.2399099646,18.8971682189 42.2397713855,18.8969954499 42.2396861027,18.89684432367235 42.23958288756928,18.8967903042 42.2393876304,18.89677193324598 42.23920422345621,18.89674373184784 42.23905031117263,18.89671628629909 42.23884880516287,18.89665296336661 42.23860708219307,18.89655335222825 42.23866653185021,18.89632413 42.2384520765,18.8961664334 42.2383868222,18.8960551322 42.2382013802,18.8960737042 42.2380125113,18.8961479373 42.2378030414,18.8962546311 42.2376622531,18.896403054 42.2376794309,18.8965097306 42.2377172103,18.89659298401045 42.23769319574033,18.89657474982135 42.23780398332599,18.89663306587955 42.23783958365838,18.89671684742709 42.23767284236251,18.8968297918 42.2374802799,18.8968669092 42.2373497895,18.8968483643 42.2372570704,18.8968502784 42.2371577671,18.8968822898 42.2370819433,18.8969303027 42.2370155984,18.89698690231964 42.23698418928677,18.89710417086775 42.23698035494142,18.89716741686003 42.23701317755926,18.897237490225 42.23704747623284,18.89733203306092 42.23707609364815,18.8974042766224 42.23708291493713,18.8974839805 42.2370867093,18.8976312052 42.2370559114,18.8977560234 42.2370677641,18.8978520358 42.2371009415,18.89791344580847 42.2371373054413,18.8979762529484 42.23713284953958,18.898024862 42.2371104263,18.8980600725 42.2370369717,18.8981112750766 42.23700976092837,18.89817940787858 42.23700454009732,18.89825367064423 42.23703164149084,18.8983132614242 42.23703032235309,18.8983609214 42.2370085479,18.8984185321 42.2369824849,18.8984985458 42.2369659007,18.8985433525 42.2369730108,18.8985881578 42.2370038164,18.8986585692 42.2370038187,18.89870499098683 42.23700308382993,18.89876007976929 42.23699652921435,18.89880511063149 42.2369858565488,18.89888221893631 42.23697871734263,18.89895290642261 42.23697155050473,18.8990202305 42.2369682863,18.8991322478 42.2369943545,18.8991990525 42.2369014727,18.899257837 42.2368608548,18.8992928738754 42.2368165740382,18.89935258685366 42.23680973155197,18.89944406772954 42.23682747671813,18.89952827051368 42.23682231673276,18.89958690583978 42.23681704700837,18.89964882969846 42.23679996005169,18.89967580192689 42.2367566942736,18.8997163462 42.2367041909,18.8997594556 42.2366461641,18.899798645 42.2366142496,18.89982747331774 42.23657040978737,18.89987381549014 42.23653639986154,18.8999122953 42.2364923936,18.8999906732 42.2364430716,18.90007200265863 42.23639877567933,18.90010244768851 42.23637237225945,18.90012296259023 42.23632685503492,18.90015239138227 42.23628718028694,18.90018203406038 42.23622014333159,18.90018151050321 42.23614385603599,18.90017068742393 42.23609571689782,18.90011863531695 42.2360208671393,18.90006343438392 42.23592256260722,18.89993330718489 42.2357658549209,18.89980482714848 42.23563517917755,18.8996889649 42.2355117154,18.8994897711 42.2353620018,18.8993423937 42.2352317566,18.8992710889 42.2350346325,18.8993233914 42.2349219926,18.89921805125065 42.23477990603022,18.8991427451 42.2346051837,18.89916577710581 42.23454810045137,18.89928840324482 42.23450509660381,18.8993899791 42.2343341461,18.8994803173 42.2341722255,18.89953181380581 42.23405342539927,18.89964011123687 42.2340382189759,18.89978161758205 42.23398658918485,18.8999177156 42.2339610306,18.9001364095 42.2339786348,18.9002932976 42.234020878,18.9004264111 42.2341652029,18.9005214908 42.2343271272,18.90070912490453 42.2344693966384,18.90085434377572 42.23454489042268,18.9010254364 42.2346192978,18.9012060993 42.2346685801,18.90146368605288 42.23463150496357,18.9017718671 42.2345805806,18.9020462595 42.234502889,18.9023516633 42.2343923412,18.9026095586 42.2342868178,18.9029036932 42.2341177791,18.9030885118 42.233951421,18.9031972282 42.2338548259,18.9032189699 42.2337287164,18.9031972241 42.2335623595,18.9032733242 42.2334335663,18.9033204329 42.2333128226,18.9033602942 42.2332189109,18.9034617617 42.2331410974,18.9035487322 42.2329962042,18.9036017469 42.232872135,18.9036980558 42.2328646277,18.9037791569 42.2328120832,18.9038703949 42.2327295136,18.9039717688 42.2325831411,18.9040630038 42.2324142499,18.9041238269 42.2323016558,18.9041339619 42.2322078279,18.904235336 42.2321177517,18.904356983 42.2319601188,18.9044330096 42.231783721,18.9045597252 42.2316448531,18.9046485486 42.2314086789,18.9046820783 42.2312007066,18.9047826853 42.231064126,18.9048707151 42.2309182332,18.9049377846 42.2307940691,18.9049503554 42.2306543856,18.9050513922 42.2305176995,18.9050644415 42.230356575,18.90507908842106 42.23012428934422,18.90508934818272 42.22997891181095,18.90507704402077 42.22979973436948,18.90506758160606 42.22968805564825,18.9050295909 42.229560624,18.9049338422 42.2294510619,18.9048554998 42.2292931622,18.9048380838 42.2290933686,18.904855481 42.2288323466,18.9048859401 42.228722781,18.9049240569 42.2285392303,18.9049350856 42.2283867038,18.9048909402 42.2282423498,18.9049424304 42.2280979937,18.9049939183 42.2279073351,18.90508595109969 42.2277921292418,18.905183734258 42.22768942092122,18.9052734524 42.2275968293,18.9053818425 42.2274568738,18.9054638481 42.2271925039,18.9055362069 42.2269960126,18.905560318 42.22676737,18.9056326759 42.2265708787,18.9057339821 42.2264065393,18.9057918647 42.2261993305,18.9058545711 42.2259849762,18.9059007389 42.2258277154,18.9059007311 42.2256875257,18.9059554113 42.2254912584,18.9060016828 42.2253915665,18.9060185039 42.2252731836,18.9061909844 42.2251579109,18.9062624932 42.2249959115,18.9063466221 42.2248276806,18.9063592337 42.2246843748,18.9063676375 42.2245317228,18.9062498345 42.2244102283,18.9061109973 42.2242949646,18.9060226447 42.2241952758,18.9059132673 42.2242513555,18.90578294867686 42.22434493895041,18.90572241966464 42.22426243626632,18.9056312718774 42.22418457175993,18.90554307632388 42.22414128692979,18.9056159424 42.2240652801,18.90565825 42.2239769758,18.9055659294 42.2239257056,18.90534456914255 42.22390681144803,18.9051928062 42.2238288665,18.9051224868 42.2236366124,18.9050635067 42.2234568672,18.90519011178235 42.223276972187,18.90529136186255 42.22323469488246,18.90537002329414 42.22313039696176,18.9054038919 42.223030807,18.9054086816 42.2229349453,18.9054326467 42.2227964778,18.90538037490125 42.22266970866521,18.90537811445392 42.22253707730464,18.90536906582417 42.22243240156992,18.9052744116 42.2223846309,18.90524747010096 42.222285082076,18.9052552253 42.2222035585,18.9053798704 42.2220366841,18.90549959870532 42.22195575289692,18.9054694427 42.2218191486,18.90543407468435 42.22167382992575,18.9055118076 42.2215712249,18.90562207121425 42.22156472754483,18.90566611399793 42.22144291335731,18.9056848160171 42.22137773632123,18.90575695060822 42.22133903004894,18.90580232412767 42.22128973652822,18.9058064364039 42.22118335071457,18.90593815522967 42.2210279589067,18.906096866049 42.22092791332709,18.9062381134648 42.2208759675412,18.90635770350903 42.22071188445084,18.90647342409736 42.22056062879751,18.90677266868335 42.22033343527377,18.90700332348257 42.22016757534813,18.90718863088386 42.22003944028987,18.90732880174533 42.21992173090249,18.90738216227613 42.21983809693438,18.90738698343352 42.2197636635977,18.90734690600602 42.21967522877228,18.9074234832 42.2195496851,18.907510641 42.2194613464,18.9077216685 42.2194205667,18.90790022336983 42.21939783814341,18.90791043071636 42.21935167110548,18.90787969616132 42.21931249546997,18.9078684566 42.2192370945,18.9079715424 42.2191554678,18.9079965206 42.2190883936,18.9080902045 42.2190074389,18.908177647 42.2189796802,18.9082151256 42.2190028069,18.9082869574 42.219023619,18.9083400437 42.2189681077,18.9083993741 42.2188940931,18.9084805677 42.218843206,18.9086054881 42.2188385736,18.9086835653 42.2188547593,18.9087959869 42.2187853674,18.9089177794 42.2187367905,18.9090489398 42.2186789614,18.909201953 42.2185471193,18.909411197 42.2185702352,18.9095892118 42.2186002912,18.9097703503 42.2186326595,18.909823448 42.2186881647,18.9099452471 42.2186997208,18.9100607947 42.2186650201,18.9102294388 42.2186719469,18.9103668526 42.2186765629,18.9104758245 42.2186535913,18.910584187 42.2185389224,18.9106731959 42.2184242548,18.9107892988 42.2183095851,18.9109054001 42.2181863155,18.9109402241 42.2181031834,18.91093301570234 42.21803224171052,18.9108240916 42.2179942634,18.9108035118 42.2179344236,18.9108847727 42.2178792463,18.9108779922 42.2178190601,18.9109253922 42.2177714086,18.9109964952 42.2177237554,18.9109863309 42.2176811239,18.9110134101 42.2176083962,18.91111084550325 42.21757619862233,18.9112131914 42.2175933343,18.9112504438 42.2176259326,18.9113452523 42.2175983396,18.9114502264 42.2176209013,18.9114569925 42.2175782685,18.9114061905 42.2175105624,18.9114400436 42.2174528807,18.9115016763 42.2174183805,18.9115828637 42.217418374,18.91163498772527 42.21748392947877,18.91167886116837 42.21752337183721,18.9117238972 42.2175781749,18.9118264452 42.2175465205,18.911950367 42.217571827,18.9119994991 42.2175211892,18.9119973551 42.2174721381,18.9119887996 42.2174104291,18.9119887994 42.2174088468,18.9120272484 42.2173550452,18.9120763806 42.2173059897,18.9121340688 42.2173218078,18.9121490303 42.2173597818,18.9122024449 42.2173708533,18.91227216867176 42.21734373708396,18.91236801823958 42.21732559886105,18.91244315398464 42.21732046026024,18.9125528314 42.2173565816,18.91271020532219 42.21725069178879,18.9127984962 42.2171397832,18.9127407978 42.2170622554,18.9126792436 42.216961237,18.9126369492 42.216851655,18.9127426267 42.2167694562,18.9128430186 42.2166833441,18.9129011314 42.2165815806,18.9129222525 42.2164798206,18.9129645246 42.216456334,18.9130649325 42.216468066,18.9132076151 42.2164719664,18.9133185947 42.2164993523,18.9134454171 42.2164641161,18.9134982519 42.2164054044,18.9135578155 42.2163330023,18.9136292992 42.2163219655,18.9136858852 42.2162844584,18.9137275752 42.2162293051,18.9138050119 42.2161962079,18.9138735092 42.2161432578,18.9139181759 42.2160792802,18.9140015736 42.2160682419,18.9140879555 42.2160880868,18.91414791540326 42.21609079438446,18.91419664942479 42.21605510483537,18.9142577121 42.2159733587,18.9142606758 42.2158939434,18.9142844869 42.21580129,18.9143500072 42.2157593696,18.9144542566 42.2157593585,18.9145227576 42.2157284675,18.9146270092 42.215739486,18.9147253081 42.215772565,18.9147938164 42.2157791754,18.9148057401 42.2158277055,18.9149219051 42.2158321046,18.9149814681 42.2157879784,18.91502896253972 42.21578796834199,18.9150470032 42.2158210607,18.9151452875 42.2157769299,18.9153514462 42.2157159659,18.9154179679 42.2156666836,18.9155214538 42.2156283469,18.9155990668 42.2155927507,18.915691466 42.2155653651,18.9158060447 42.2155489269,18.9160167201 42.2155133147,18.91611236227117 42.21549126864518,18.9161220458581 42.21545416692405,18.91625606035003 42.21541680696877,18.9163493521 42.215401038,18.9164121695 42.2153216434,18.91642053383977 42.21527741303591,18.91645234597834 42.21525848773956,18.91652183044885 42.21523092294708,18.91660816626597 42.21519976309235,18.91667586761987 42.21516898810718,18.9167222627136 42.21513720204082,18.9167595574 42.215091652,18.9167891179 42.2150533235,18.916818664 42.2149520329,18.9168260469 42.2149109697,18.9168334167 42.2148124193,18.9167890585 42.2147932625,18.91668209681651 42.2148060097749,18.91657471109995 42.2148043219929,18.91648161226897 42.21479958619038,18.91641201547502 42.21479370487954,18.91638529347855 42.21477681558081,18.9163898629 42.2147412997,18.9164083271 42.2146673852,18.9164378834 42.2146098942,18.9165154918 42.2145633473,18.9166448498 42.2145332189,18.916726171 42.2145605837,18.91678752991718 42.21455865907712,18.9168629281 42.2145605664,18.9169627188 42.2145386537,18.9170440193 42.2144756809,18.9171253203 42.2144154454,18.9171696612 42.2143606896,18.9171918233 42.2142977241,18.9172068207 42.2141887619,18.9171251117 42.214145552,18.9169967146 42.2140893818,18.9169675152 42.2139986224,18.9170725325 42.2138948797,18.9172533976 42.2137306185,18.917370075 42.2135879758,18.9175042542 42.2134280426,18.9176676185 42.2133026818,18.9178193325 42.2132637633,18.9179652161 42.2132464557,18.9181227527 42.2131599936,18.9183036651 42.2132075115,18.918490376 42.2131124008,18.9184066127517 42.21303327431815,18.91845389752838 42.21297277181078,18.91868477666315 42.21288845873173,18.9188812849 42.212857345,18.9190621917 42.2128875734,18.91936018832203 42.21281055970231,18.91938480884331 42.21272062158169,18.91945681603602 42.21269772618932,18.91956527147073 42.21272682179509,18.91970547903915 42.21269738589253,18.9198265845 42.2127102563,18.9199783368 42.2128226063,18.9202409311 42.2128225657,18.92040134995578 42.21274799671733,18.9204859821 42.2126928656,18.9207368817 42.2126107063,18.9210519732 42.2125371798,18.9213203825 42.2124679819,18.9216121569 42.2124765765,18.9217930751 42.2125413764,18.9219778522 42.2125459092,18.9222231043 42.2124725026,18.9224306255 42.2124130763,18.9227042008 42.2124130283,18.9231003913 42.2123465799,18.9234494118 42.2122766452,18.9237182557 42.2122346727,18.9240578387 42.2121542568,18.9243408065 42.2120354213,18.9246614869 42.211853693,18.9248501168 42.2117313803,18.9250104347 42.2115776303,18.9251327793 42.2113854513,18.9252238037 42.2112209932,18.9252863503 42.2110185933,18.9252692173 42.2108668062,18.9253260764 42.2106812732,18.9253829582 42.2105589863,18.92541894674757 42.21045241808025,18.9254397992 42.2103270728,18.9254681985 42.2101541946,18.9255705852 42.2099391374,18.9256502087 42.2097451665,18.9257357268 42.2095707021,18.9258039277 42.2093785293,18.9259494803 42.2091290304,18.9260222192 42.2089065159,18.9260904212 42.2087244568,18.9261085626 42.2085558925,18.9261676518 42.2083502363,18.9262085443 42.208168182,18.9263296091 42.2080006434,18.9265933217 42.2077712085,18.9267054019 42.2076658839,18.9269461046 42.2074723072,18.9271714652 42.2073508312,18.9274378747 42.2073963093,18.9276427999 42.2074190325,18.9278681719 42.2073317067,18.92796505917752 42.20721814280639,18.92802531624152 42.20720257897549,18.9281959945 42.2072291791,18.9284419002 42.2072480968,18.92859739932149 42.20723506957767,18.92873154645995 42.20719681096529,18.92889470937483 42.20717016573017,18.92920532537595 42.20714267806311,18.92925246734969 42.20706383006207,18.92919095726721 42.20698598086611,18.92927959162332 42.20682338656462,18.92936406799336 42.20671385835313,18.92964826962241 42.2065966837589,18.9299551454 42.2065231324,18.9304104431 42.2064980395,18.93095006 42.206477087,18.93123584644613 42.20648775744566,18.93125572896289 42.20654805526174,18.93115866967718 42.20661917412192,18.9313436312 42.2066810098,18.9314279674 42.2067226255,18.9314336226 42.206797571,18.9315347979 42.206785054,18.9315347655 42.2067142708,18.9316977618 42.2066767553,18.9319001218 42.2066725392,18.9320238109 42.2067224717,18.93208568798665 42.20669543238903,18.93211012443084 42.20663990489742,18.93210479977375 42.20654643274313,18.93213379050025 42.20648424842218,18.93228413175843 42.2064637133826,18.93240272248605 42.20647197615981,18.9324115915 42.2065474927,18.9325240272 42.2065724452,18.9326589128 42.2065224442,18.9326588794 42.2064516605,18.9326700824 42.2063683826,18.932658805 42.2062934381,18.9327324739 42.2062599832,18.9328208849 42.2062412468,18.9329051035 42.2062599375,18.932989304 42.2062412021,18.9330650713 42.2061975183,18.9331703042 42.2061382322,18.933275546 42.2060976592,18.9334018355 42.2060477237,18.9335112845 42.2060009115,18.9335786596 42.2060164874,18.93358516183232 42.20592695921572,18.9337638256 42.2058261876,18.9339743174 42.2057637528,18.93409501993484 42.20572780683286,18.93417100535026 42.2057294193154,18.9343027066 42.2057106411,18.9344079368 42.2056482345,18.9345679029 42.2055858123,18.9346647231 42.2055452397,18.9347784058 42.2055452073,18.9348415802 42.2055794967,18.9349005365 42.2055981929,18.9349089748 42.205632498,18.9350100025 42.205585686,18.9350857929 42.2055887831,18.935148963 42.2056137158,18.9352668568 42.2056136816,18.9353300447 42.2056729216,18.9353889934 42.2056760232,18.93546268500382 42.20564959234349,18.935544771 42.2056541456,18.9356079062 42.2056104629,18.9356499904 42.2055699053,18.9357426219 42.2055698779,18.9358226461 42.2056166373,18.9359483156 42.2056070581,18.9360836073 42.2055218068,18.9362798277 42.2054866622,18.9364016774 42.2055718385,18.9364287993 42.2056720799,18.9365709144 42.2056920878,18.9367333054 42.2056669773,18.9368618289 42.2055817271,18.9369429592 42.2054513786,18.9369361372 42.2053511312,18.9369834386 42.2052308176,18.93687095628728 42.2051889491019,18.9368480416 42.2051205833,18.9369765887 42.2050804451,18.9370645321 42.2050353064,18.9371930705 42.2049801304,18.937314867 42.2049700687,18.9373960208 42.2048848316,18.9374568853 42.2048196508,18.9376057569 42.204824618,18.93766205638531 42.20532140679139,18.9375237886158 42.2053821165152,18.93737884854507 42.20534887146133,18.9372881343 42.2055715739,18.9372205576 42.2057370057,18.9372679839 42.2058422529,18.93745125730021 42.2060113162512,18.93772856280307 42.20602374033666,18.93793824150401 42.20602457066404,18.9382222156 42.2060274204,18.9385673029 42.2059872126,18.93875470084598 42.20595994222575,18.9389529768 42.2059219285,18.9393115537 42.205806527,18.9396430684 42.2057011578,18.9400354965 42.2056158173,18.9405361833 42.2055103888,18.9410030183 42.2053748941,18.9414630748 42.2052193488,18.9418381634 42.2050225993,18.9422576372 42.2047784636,18.9425417555 42.2045510849,18.942767187 42.2042802746,18.9429420927 42.2040101702,18.9430153939 42.2037823134,18.9430428337 42.2036224818,18.9429142165 42.2034933093,18.94275533687548 42.2032947345922,18.942601799 42.2030819601,18.9427273032 42.2028605912,18.94295433783243 42.20284735589647,18.9430755627 42.2027666413,18.9431282421 42.2026180622,18.943217897 42.2025202933,18.9432336102 42.2023365413,18.9433338605 42.2023013203,18.9434447167 42.2023442854,18.9434975304 42.202402909,18.9436135236 42.2022308495,18.9436582434 42.2021200651,18.9438215002 42.2020692025,18.9439552861 42.2018998079,18.9441805177 42.2017376377,18.9445285775 42.2015929637,18.9446953635 42.2014361029,18.944886596 42.2013154174,18.94512390971756 42.20123023988869,18.9453382542 42.2010710041,18.9456027586 42.2009593359,18.9458184851 42.2009471932,18.9460015853 42.2008446006,18.9462375948 42.2007329413,18.9465184461 42.2007177565,18.9468811098 42.2006047012,18.9471490037 42.2005751944,18.9473027384 42.2004795746,18.9476797497 42.2004059191,18.9480072263 42.2004425434,18.9482652868 42.2005380007,18.9483822326 42.2005827715,18.9483631292 42.2006224641,18.9484358879 42.2006989703,18.948512465 42.2007641363,18.9487343194 42.200653496,18.9488376362 42.2006562889,18.9488989016 42.2007129569,18.9490749446 42.2007469012,18.9491629936 42.2008007235,18.9492816378 42.2008318561,18.94935724288148 42.20088937263584,18.949495951 42.2008714533,18.9495648788 42.2009394564,18.9496796782 42.2009450784,18.94978843023434 42.2009709976787,18.9499207506 42.2009478135,18.9501196612 42.2008570222,18.9502879661 42.2007747472,18.950502157 42.2006499326,18.950680925 42.2005056094,18.950806335 42.2003685313,18.9509218506 42.2002510322,18.9510109266 42.200113969,18.9511164854 42.1999353015,18.9512022428 42.1997786639,18.9512634393 42.1995801889,18.9512415974 42.1994321174,18.9511502463 42.1993066094,18.95100626730908 42.19922430606254,18.95075908623437 42.19917263218708,18.9506156382 42.1991490963,18.9504373997 42.1990493769,18.9502678083 42.1988917086,18.9502396191 42.1987419727,18.9502846699 42.198620344,18.9503543046 42.1984470208,18.9504444882 42.1983132123,18.9505798325 42.1982037068,18.9506987865 42.1981276507,18.950780831 42.1980850528,18.9507520151 42.1979695354,18.9507479114 42.1979695371,18.9506657315 42.1978358003,18.9506862133 42.1977871476,18.9507682598 42.19774759,18.9509290426 42.1976333225,18.9510352172 42.1975545753,18.9511376989 42.1974378354,18.95119002537701 42.19730762190925,18.9511924526 42.1971854223,18.9512216619 42.1970605719,18.951210565 42.1969221692,18.951184834 42.1968081975,18.9512030765 42.1967132041,18.9512909432 42.1966480339,18.9513165224 42.1965666068,18.95127192834989 42.19646709611585,18.95138362233277 42.19640570317912,18.95140734267994 42.19632851657563,18.95142481831762 42.19614998614657,18.9516586649 42.19599125,18.9518453048 42.195983036,18.9521710032 42.1959612051,18.9524820297 42.1958987099,18.9527564562 42.1958335186,18.9529759475 42.1957195471,18.9532063912 42.1955730344,18.9534149 42.1954563551,18.9536307454 42.1953613625,18.9538100795 42.1953721274,18.95396411284113 42.19531218579675,18.95400269903339 42.1952481137684,18.95410358745263 42.19519969235473,18.95421473437683 42.19517186025265,18.9543698911 42.1952200395,18.954432135 42.1952552584,18.9547763366 42.1951745575,18.9549225771 42.1950852213,18.9551806777 42.1949639518,18.9555033081 42.1948203347,18.9556925876 42.1947405422,18.95596148371426 42.1947303402473,18.95620811988581 42.19469542067812,18.9565704342 42.1947018736,18.9570008334 42.1947781864,18.957297872 42.1949023844,18.9575260999 42.1950744376,18.95769807765294 42.19519438465354,18.957892097 42.1953133761,18.9581159333 42.1953802199,18.95825801385758 42.19550898731333,18.95832377232477 42.19564415715257,18.95850263742512 42.19574364903142,18.958664232 42.1958052082,18.9589273457 42.1958291095,18.9592624841 42.1957915637,18.9596624963 42.1957566547,18.9600948857 42.195657647,18.9605200571 42.1955479609,18.960974026 42.1954008774,18.96156411442277 42.19520966178946,18.9620548617 42.1950123881,18.9625773054 42.1947601038,18.9630831805 42.1945354846,18.9636263072 42.194224788,18.96415566979957 42.19385512002573,18.9645944957 42.1935671173,18.9650623727 42.1932051939,18.9656049339 42.1928137019,18.9662409655 42.1924214083,18.9665829709 42.1921488391,18.9669755938 42.1917917097,18.9672477473 42.1914017738,18.9674311742 42.1910259755,18.9676780069 42.1906736211,18.968116999 42.1901949354,18.96860950937226 42.18969565809935,18.9689574445 42.1892120187,18.9692557684673 42.18867430974971,18.9696432332 42.1881745887,18.9700660751 42.1875923619,18.9703115354 42.1872025447,18.9703932435 42.1869697046,18.9705470522 42.1867176522,18.9707993574 42.1863703539,18.9709833145 42.1861050077,18.971083082 42.1858748162,18.9710933678 42.1856524789,18.9710404802 42.1854262783,18.9710506377 42.1850869233,18.9710322242 42.1848494778,18.971124137 42.1845837342,18.9711698693 42.1842459025,18.9711183399 42.1839650617,18.9709592474 42.1836880798,18.9706613673 42.183259036,18.9705118121 42.1829996101,18.9703563832 42.1826168106,18.9701263507 42.1822638336,18.9698527509 42.1818725489,18.9696282859 42.1815289734,18.9694143333 42.1812664909,18.9691828847 42.1810262897,18.9690372028 42.1809544422,18.9688550442 42.1808106836,18.9686324593 42.180684931,18.9685190663 42.1805471263,18.9683410105 42.1804573133,18.9682074674 42.1803884547,18.9680657258 42.1802146991,18.9679603545 42.1800109502,18.9678552363 42.1800499734,18.9677178019 42.1801279782,18.9676044916 42.1800680983,18.9675293592 42.1799077738,18.9674650166 42.1797271497,18.9674263071 42.1795179856,18.9674132009 42.1792517559,18.96725275340274 42.1790566386323,18.9670015320791 42.17894820736751,18.9667647016 42.1787386595,18.96654604794557 42.17856178114681,18.96637194192369 42.1783404772273,18.9663882241 42.1781077199,18.9664525202 42.17786855,18.9664236264 42.1776613167,18.9664019035 42.1774540793,18.9663730043 42.1772415318,18.9662939093 42.1770290118,18.9662576342 42.1766145319,18.9661211571 42.1763861002,18.9661495755 42.1761256924,18.9661923675 42.1758971607,18.9661993433 42.1757058474,18.966225496 42.1751648594,18.9662874521 42.1746399809,18.9664640294 42.1741767844,18.9667239671 42.1737598501,18.9671193923 42.1734431768,18.9676322294 42.1731270744,18.9680876882 42.172873506,18.9682868621 42.1726781324,18.9684575028 42.1724352787,18.9687848395 42.1722345523,18.9692120076 42.1721709764,18.9697031991 42.1720493102,18.9701507726 42.1719098627,18.9704681128 42.1717135518,18.9705685941 42.1716428877,18.9706002176 42.1715212722,18.97069378421521 42.17148204134794,18.9708805665 42.1713798963,18.9711185915 42.1712542349,18.9713248395 42.1711089792,18.9716051597 42.1709440658,18.9717849396 42.1707949019,18.9719382268 42.1706182959,18.9722943603 42.1701689918,18.9725357611 42.1698798876,18.97287861 42.1696658498,18.9731045084 42.1694634406,18.9733460782 42.1693303713,18.9736500782 42.169243496,18.9738760449 42.1691046556,18.973875855 42.1689370592,18.97397511697414 42.16889015112461,18.9741018926 42.1688617888,18.9743045641 42.1688096494,18.9745696272 42.1687690287,18.9748425933 42.1688208694,18.9749125576 42.1686358902,18.9750072316 42.1684888875,18.9750476996 42.1684287717,18.9750932694 42.1683986977,18.975128813 42.1684625212,18.9751770115 42.1685150697,18.9752049588 42.1685826535,18.9752657842 42.1685995153,18.975329141 42.1686144977,18.9754202607 42.1685374493,18.975450354 42.1684448336,18.9754833543 42.1683252156,18.9755846338 42.1682706943,18.9756910304 42.1682593596,18.9757391681 42.1682593289,18.9757796812 42.168238647,18.97586299166474 42.16823427353723,18.97594868107395 42.16825362419839,18.97595867418666 42.16831268584488,18.97595912218668 42.16837340872297,18.97606322034607 42.16833972390395,18.97622192039012 42.16827185599353,18.97630067855781 42.16819881722815,18.97636594388963 42.16812613967028,18.97639598667616 42.16801967517417,18.97647238700219 42.1679743431982,18.9765783191343 42.16793751260143,18.97664768477912 42.16787638248743,18.97654643108642 42.16783094323913,18.9765256673746 42.16776851055455,18.97657692765143 42.16765304561237,18.97669975554822 42.16756442192795,18.9767500315 42.1674360938,18.9769294789 42.1673328293,18.9770595483 42.1672329239,18.9772883524 42.1671096622,18.9774992229 42.1670063757,18.9777550128 42.1669263507,18.9779524111 42.1668197443,18.9781993296 42.1668295631,18.9783024742 42.1667396551,18.9787450704 42.166682497,18.9790282661 42.1666626286,18.9793335878 42.1666427447,18.979514985 42.166609823,18.980194 42.166706,18.984238 42.167338,18.991673 42.169774,18.999367 42.174542,19.006607 42.178813,19.017437 42.183218,19.017461 42.184719,19.015688 42.186069,19.013235 42.186925,19.010813 42.189781,19.009293 42.192963,19.006448 42.197491,19.008038 42.198811,19.010768 42.201287,19.008763 42.202139,19.005183 42.202671,19.003175 42.203356,19.002306 42.205198,19.001218 42.207376,18.997661 42.209408,18.990961 42.211302,18.986282 42.213344,18.985871 42.215849,18.984576 42.219195,18.981244 42.221392,18.975694 42.225275,18.97549 42.226611,18.973493 42.228129,18.970375 42.229657,18.971083 42.231985,18.972668 42.232972,18.972701 42.235139,18.971387 42.237319,18.966274 42.240531,18.96119 42.245744,18.956117 42.25179,18.95459 42.254804,18.9524 42.258491,18.952661 42.26099,18.951597 42.265001,18.947581 42.266703,18.945583 42.26822,18.946054 42.269717,18.945849 42.271053,18.944528 42.272898,18.942539 42.275083,18.941451 42.277426,18.940157 42.281106,18.940647 42.283936,18.941806 42.286428,18.944578 42.291741,18.943944 42.294414,18.942573 42.297748,18.940837 42.301931))",
Ulcinj =
"POLYGON((19.373841 42.063471,19.364221 42.063588,19.354597 42.063536,19.35236 42.063563,19.348525 42.062108,19.345397 42.062312,19.342943 42.062675,19.339762 42.060378,19.335942 42.059589,19.33481 42.058936,19.329193 42.057834,19.324475 42.056889,19.320655 42.0561,19.31955 42.05678,19.319591 42.05878,19.313005 42.054021,19.306888 42.050257,19.302405 42.049808,19.299483 42.049175,19.295661 42.048218,19.293424 42.048244,19.291033 42.051773,19.290208 42.055284,19.288672 42.056802,19.28533 42.057507,19.283497 42.05536,19.280599 42.055893,19.278122 42.055088,19.275408 42.053617,19.272036 42.052822,19.26845 42.052528,19.263545 42.053417,19.259321 42.054798,19.258063 42.059148,19.256564 42.062666,19.255497 42.065346,19.253526 42.067536,19.250425 42.069238,19.248207 42.070263,19.245551 42.071793,19.243514 42.070648,19.241929 42.069665,19.240382 42.070682,19.238828 42.071366,19.235938 42.072399,19.233751 42.07509,19.232881 42.076434,19.228661 42.078147,19.22375 42.078868,19.221513 42.078892,19.217969 42.080931,19.216642 42.081779,19.213994 42.083809,19.209282 42.083192,19.205468 42.082733,19.202773 42.082261,19.20093 42.079446,19.202447 42.076762,19.206447 42.075218,19.209108 42.073856,19.212862 42.071148,19.21413 42.067132,19.213654 42.065636,19.216547 42.064771,19.223036 42.064701,19.226137 42.063,19.232102 42.058933,19.234068 42.056411,19.234685 42.053569,19.235989 42.051554,19.240156 42.047173,19.241218 42.044159,19.240527 42.043166,19.236712 42.042541,19.233348 42.042078,19.230003 42.042614,19.226657 42.043151,19.223035 42.040856,19.217359 42.036414,19.216191 42.033759,19.214361 42.031611,19.214091 42.029112,19.217619 42.026406,19.22114 42.023367,19.225792 42.020982,19.23134 42.018754,19.236882 42.016192,19.241108 42.014978,19.243312 42.013287,19.249711 42.00888,19.248562 42.007226,19.249641 42.005213,19.251621 42.003523,19.250912 42.00153,19.249522 41.999044,19.248568 41.995886,19.253877 41.992993,19.257421 41.991286,19.259371 41.988096,19.259766 41.985423,19.261981 41.984398,19.265777 41.984189,19.266201 41.983017,19.263704 41.981044,19.259902 41.980919,19.256528 41.979789,19.254903 41.976639,19.255538 41.974798,19.257529 41.973775,19.258634 41.973096,19.256808 41.971115,19.254324 41.969808,19.251197 41.969843,19.248765 41.971204,19.246776 41.972393,19.243636 41.971761,19.242711 41.970103,19.242682 41.968603,19.24489 41.967244,19.245516 41.964903,19.232 41.970888,19.221332 41.974005,19.213804 41.977755,19.203566 41.980032,19.196229 41.982111,19.189112 41.98402,19.185793 41.985889,19.181783 41.986598,19.178017 41.988472,19.17378 41.989016,19.167511 41.988414,19.165276 41.988437,19.159713 41.989829,19.153714 41.991891,19.1483728988 41.993065207,19.1483573956 41.9930174136,19.1482406562 41.9929479112,19.1481674874 41.9928932342,19.1480362178 41.992911816,19.1479076569 41.9929830736,19.1476135494 41.9930063185,19.1473890097 41.9930098375,19.1472822968 41.992953997,19.1472076152 41.9929101408,19.1470951776 41.9929575912,19.1469081017 41.9929492656,19.1467583298 41.992972801,19.146752984 41.9929727901,19.1463947071 41.992999875,19.146175564 41.9929842021,19.1459031432 41.9929926451,19.1457455642 41.9930463098,19.1454668896 41.9931087248,19.1451461579 41.9930855758,19.14492586321423 41.99304722999001,19.1447287584 41.9930127407,19.1444867157 41.9929897506,19.144196564 41.9928811832,19.1440292068 41.9927699407,19.1439758639 41.9927553999,19.1439811071 41.9926507835,19.1440347717 41.9925787371,19.1440738735 41.9925066608,19.1440451102 41.9924091903,19.14398920086199 41.99232957917595,19.1438418106 41.992253636,19.14366905507995 41.9922138478428,19.14351419181362 41.99223651640976,19.14348967561495 41.99228576284142,19.14348501972334 41.99234491262496,19.1433898728 41.9923861962,19.1432927078 41.9924076431,19.1432005719 41.9923821984,19.1430554162 41.9922556249,19.1429150611 41.9921434922,19.1428035084 41.992118007,19.1427116823 41.9920095819,19.142644087 41.9919120303,19.1427802472 41.9918473704,19.1428871742 41.9918115128,19.1430525798 41.9917144423,19.143169322 41.9916497419,19.1433199223 41.9916175818,19.1434608809 41.9915673623,19.1435386817 41.991531444,19.1435632075 41.9914629453,19.1435440862 41.991383533,19.1434862257 41.9912787857,19.1433990927 41.9912136646,19.1431689160964 41.99120143028478,19.14294147262662 41.99114134697368,19.14279096314237 41.99108858197682,19.14261146078021 41.99106912127959,19.14241580167763 41.9910806095076,19.14222016120491 41.99108733055307,19.14203441545111 41.99102495329139,19.14195810675231 41.99086032833347,19.14203907087172 41.99066029710721,19.14224690566983 41.9903892842022,19.142501305723 41.99013871480975,19.14268672892721 41.98993615398949,19.14285820380752 41.98987614533069,19.14303069798424 41.98988934750985,19.1431519233167 41.98977739674315,19.14328612698969 41.98965585574371,19.14354085705318 41.98959870125407,19.14385560959652 41.98963465597994,19.14399751525087 41.98974718111623,19.14412239442387 41.98980195799301,19.14441341816466 41.98982915644881,19.14466686247234 41.98987009947611,19.14489971820618 41.98988214588009,19.14519477194606 41.98987124562673,19.14543040478566 41.98983521132186,19.14558517581311 41.98970653481782,19.14572073395974 41.98965916742998,19.14604161880949 41.98959101803176,19.14618431084046 41.98954101783546,19.1463444936457 41.98957313749082,19.14643377027533 41.98951772608213,19.1464769943818 41.98939601991824,19.14661972664501 41.98933542809836,19.14677293903795 41.98932781497166,19.14694382895073 41.98935466126539,19.14712913342285 41.98933917331775,19.14731791772087 41.98934487504937,19.14744638924788 41.98928689934155,19.14761760885397 41.98922901524948,19.14778510132835 41.98921348790427,19.14791717596269 41.98914492801492,19.14806684639496 41.98913200978547,19.14820165038228 41.98909940571008,19.14833350876087 41.98897540730992,19.1484284704 41.988884233,19.1485498789 41.9887845112,19.148630839 41.9887121986,19.14871759230986 41.98865244921761,19.14882539352847 41.98859742914222,19.14897618988033 41.98855267857189,19.14912689599614 41.98853119098241,19.1492541396634 41.98850674523398,19.14931490864825 41.98847343382538,19.14936599798167 41.98841393048372,19.14945624890465 41.98834433288285,19.14957760823549 41.98820926409084,19.14970043240996 41.98810781727805,19.1499002027 41.9880337164,19.1500518062 41.9880067197,19.15011895792097 41.98789636929175,19.15009052823754 41.98779816912526,19.1501631533 41.9876861705,19.1502505431 41.9876419831,19.1503241103 41.987611418,19.1504070693 41.9875228598,19.1504485732 41.9874717558,19.1505402449 41.9875128883,19.1507106413 41.9873664928,19.1508444691 41.9871756623,19.1509372236 41.9869165008,19.15102569538618 41.98671673486458,19.1510672213 41.9865140898,19.1511229516 41.9863367527,19.1511192705 41.9860842223,19.151147436 41.9858507919,19.1512165608 41.9855781957,19.1512646338 41.9853289349,19.1512811304 41.9851146769,19.1513183545 41.9849666955,19.1513919751 41.9849006067,19.1514393877 41.9848344657,19.1514082465 41.9847486873,19.1514873043 41.9846280623,19.1515506512 41.9845035097,19.151577321 41.9843749878,19.1516826696 41.9842310374,19.1517670656 41.9840831488,19.1518147287 41.9839468755,19.151785507 41.983783848,19.1518298108 41.9836321414,19.1518887911 41.9834551647,19.15199588015111 41.98332813096333,19.15217363031807 41.98315621098399,19.15232249580607 41.98304617876011,19.15242187933595 41.98293604223848,19.15245600060974 41.9828664219849,19.15243292367666 41.98277151467437,19.15220038496099 41.98228705107972,19.15211972617313 41.98212413787476,19.1520283183 41.982062047,19.1518362879 41.9820417396,19.1515504157 41.9820278869,19.1512733701 41.9820439393,19.1510813259 41.9820269513,19.15098143601909 41.98201707132353,19.150848906 41.9820563755,19.1506477581 41.9820858618,19.150490599 41.9821005033,19.1503896964 41.9820368206,19.1503159914 41.9819923241,19.15022808831679 41.982011800678,19.1501512681 41.9819772116,19.1500889957 41.981913731,19.1500351317 41.9818819452,19.14995563 41.9818691147,19.1499302293 41.9818226028,19.1499417538 41.9817782766,19.1499902109 41.9817340245,19.1500414784 41.9816982254,19.1501268603 41.981656159,19.1502264087 41.9816246803,19.1503088577 41.9816079504,19.1503657456 41.9815890573,19.1504739537 41.981519582,19.1505735624 41.9814712081,19.1506702766 41.9814376114,19.1507045813 41.9813785475,19.1507218479 41.9813173376,19.1506775233 41.9811851331,19.1506141316 41.981063416,19.1505187605 41.9809594287,19.1504313578 41.9808584229,19.1503518484 41.9807811577,19.1502762212 41.9807335565,19.1502085086 41.9807037648,19.14996021546075 41.98066649464835,19.14944760564418 41.98065987985458,19.14849667448778 41.98064864366903,19.14785706734229 41.98062367757112,19.14723569770171 41.98067971902019,19.14645582549981 41.98085290090796,19.14572036027557 41.98102269631968,19.1448335483 41.9811943392,19.1443752636 41.9811698749,19.1441109062 41.9811715914,19.14402608 41.9811036556,19.1439138067 41.981062768,19.1437527663 41.981062437,19.1435947892 41.981055336,19.1433826642 41.9809767505,19.1432383922 41.9808738089,19.1430609439 41.9808514479,19.1427816897 41.9807995496,19.1426108899 41.9807576504,19.1424072141 41.9807156828,19.1422397568 41.9806591264,19.1420164195 41.9806000099,19.1418456471 41.9805507775,19.1417376692 41.9804136939,19.1416329239 41.98029128,19.1414783879 41.9802958469,19.1412958992 41.9802874921,19.1411730985 41.9802367936,19.1410927108 41.9801111026,19.1410254626 41.9799977711,19.1409683087 41.9798995527,19.1409146331 41.9797761876,19.14081581258753 41.97956966668777,19.14078040206794 41.9793789125189,19.14082383465658 41.97920788904395,19.14095934126362 41.97903706878336,19.14123680200106 41.97872722138069,19.14141845031598 41.97852961198257,19.1415437968143 41.97843210530321,19.14164265139448 41.9783809869077,19.14163299080605 41.97832962972272,19.14152137240511 41.97828293736776,19.1412849145172 41.97820663505191,19.14092321766487 41.97820094834127,19.1406999348 41.9781312047,19.1405271220985 41.97790179376123,19.14042535267038 41.9776811110868,19.14044930618139 41.97739569981136,19.14054146672935 41.97716696710993,19.14061474140807 41.97690710267623,19.14073711184595 41.97672931140335,19.14085175378779 41.97658259299565,19.14087871636674 41.976495034823,19.14081433364621 41.9764327124107,19.14073465340414 41.97639296715248,19.14060921588173 41.97638703730077,19.14039975401544 41.9764770184153,19.14011050940718 41.97655269057221,19.13974910761772 41.9766084173245,19.13936894563868 41.97661891748589,19.13898777986524 41.97651204692564,19.13874187902861 41.97631664547698,19.13848460113506 41.97607537034983,19.13839656137284 41.97592330247539,19.13844380785696 41.97567697433319,19.13862213793497 41.97542234153686,19.1387924117384 41.97525365562191,19.13897754377225 41.97506264800753,19.13909527543243 41.97491909867487,19.13913097880784 41.97484828528891,19.13908748476717 41.97482388258144,19.13898670322304 41.97481758206891,19.13886955026985 41.97481732158531,19.13874976247784 41.97479477455593,19.13873089494804 41.97474409490256,19.13886216745305 41.97462083105832,19.13900982686842 41.97448747598145,19.13937946949925 41.97421559892531,19.13978749497096 41.97399749543431,19.14008502116142 41.97386105144607,19.14016234482086 41.97369028876902,19.14020537882008 41.9736294635247,19.1404062449385 41.97355535079625,19.14073063569194 41.9734566582591,19.14109378665716 41.97331025728953,19.14118691875629 41.97319711276489,19.14125769128203 41.9730868794737,19.1412550863965 41.97308687373402,19.1413284635516 41.9729766461619,19.14142673779448 41.97295190493691,19.1415827289889 41.9729623356403,19.14175932291908 41.97290976572284,19.14190890104706 41.97282687421157,19.14192958380325 41.97274369929421,19.14183825126528 41.9726804527979,19.14175710483286 41.97261470678031,19.14169313913888 41.97249351813861,19.14175449544368 41.97241799813234,19.14194153445312 41.97229736119143,19.14214553268599 41.97217676101023,19.14236951159487 41.97214951219169,19.1427563844905 41.97210244462965,19.14307856094096 41.97211828026452,19.14329218520095 41.97213639980666,19.14346257160295 41.97216723194249,19.14360053728183 41.97214743221586,19.14364125085053 41.97210731906857,19.14364688044462 41.97205104851487,19.143584958559 41.9719845799845,19.14340142854744 41.97190377506995,19.14266146465294 41.97145023247391,19.14238660465911 41.97127646997446,19.14224309362767 41.97106885070939,19.14225480114577 41.97080522123368,19.14233042349217 41.97062947560014,19.14259147551807 41.97043068174575,19.1428439502 41.9702688386,19.1430660555 41.9702055632,19.143177017 41.970198294,19.1432829081 41.9701985122,19.1432883696 41.9700860522,19.143384399 41.9700262655,19.1435055008 41.9700040206,19.1436065304 41.9699554909,19.1437178121 41.9698619938,19.1437183141 41.9697270291,19.143733748 41.9696445818,19.1438246225 41.9696147762,19.1439255817 41.9695849913,19.1440516553 41.9695815012,19.1441728257 41.9695405103,19.1441933154 41.9694543241,19.1442893294 41.9693982852,19.1443650624 41.9693721969,19.144455853 41.9693648849,19.1445669243 41.9693276218,19.144678079 41.9692678642,19.1447849368 41.9692763489,19.1448325585 41.9692528848,19.1448329075 41.9691586394,19.1448333001 41.9690526133,19.1448242032 41.9689418555,19.1448216187 41.9687839881,19.144853596 41.9687063004,19.1448949404 41.9686663305,19.1449235305 41.9686475397,19.1448602827 41.968612068,19.14477594585483 41.9685619312431,19.1447149744 41.9684868942,19.1447088983 41.968416197,19.1446173735 41.9683488623,19.1445093325 41.9683105398,19.144421377 41.9682299238,19.1443533028 41.9681620489,19.1443563773 41.9681006701,19.1444048466 41.9680083255,19.1445281821 41.9679856685,19.1446631358 41.9679458528,19.1447902269 41.9679489767,19.1449139539 41.9678203622,19.144898802 41.9677516018,19.1449415824 41.9676400039,19.1450766404 41.9675715507,19.1452233798 41.9674687565,19.1453392006 41.9673945362,19.14545530227812 41.9673323873632,19.1455398815 41.9672861243,19.14555953 41.9671802062,19.14558663973124 41.96710851412851,19.14566012155055 41.96706914542787,19.14573718957241 41.96705022988597,19.14574674509257 41.96695074939822,19.1458302127 41.9668886569,19.1459436486 41.9668331972,19.1460438056 41.9667869367,19.14612719479359 41.96675330556441,19.1461816053 41.9667004835,19.1462443356 41.9666355609,19.14635290873796 41.96659340530908,19.14648166608359 41.96655881633873,19.14667142140538 41.96653683721476,19.14689623584105 41.96651712295345,19.14699761200554 41.96648612482441,19.14704482097171 41.96641277579976,19.14705505710925 41.9663209844444,19.14702079723979 41.96624011487027,19.14702879279996 41.96608955801914,19.14718289682462 41.96591867490054,19.14730696176186 41.96576463698271,19.14745698321321 41.96569073707023,19.14763564187923 41.96568330812862,19.1478064045217 41.96567976841543,19.14787492335994 41.96562327203342,19.14787004113755 41.9655275536259,19.14791503918958 41.96543975514109,19.14806227288829 41.96540686620512,19.14825686583812 41.96535454631088,19.148427892421 41.96528264329785,19.14858341475215 41.96514429699462,19.14875175349064 41.96508801331006,19.14896095898473 41.9650264413954,19.14909560787465 41.96494681718365,19.149203555701 41.96494905237677,19.14929165348661 41.96497922534395,19.14948366547364 41.96485969523459,19.14959725603412 41.96481496000495,19.14984182676271 41.96479111824429,19.14997302362302 41.96475579036961,19.14993292846639 41.96469573514874,19.15000630798705 41.96462092885505,19.15016712280595 41.96458888311361,19.15034800223788 41.96446764019368,19.15144394402325 41.96409256075224,19.15161195107032 41.9640442243755,19.15166882170646 41.96408391772589,19.15177878326194 41.96415764299018,19.15180501522596 41.96425663157775,19.15183602726808 41.96434603952564,19.15194923379275 41.96431912249084,19.15212786016289 41.96433080579082,19.1522341721256 41.96436494986568,19.15239370495804 41.96439920590023,19.15252280447478 41.96443905114058,19.15266359927384 41.9644026008522,19.15275514676021 41.96432082018733,19.15285809834505 41.96423906354543,19.15286189981447 41.96423907154142,19.1529874019733 41.9642252021152,19.15309780560367 41.96418303431778,19.15310595620624 41.96403889194659,19.15304926739052 41.96395114649803,19.1529393371096 41.96386894241996,19.15284494387272 41.96378608469258,19.15287425706285 41.96366927596933,19.15293242962158 41.96355491295493,19.15296504080222 41.96341425991741,19.15285564616583 41.96333177967509,19.15273842198884 41.96326256421646,19.15267999526379 41.96313800484819,19.15273927955073 41.96303726765064,19.15284480976853 41.96292943843395,19.1529749422962 41.96285614529452,19.15307102180235 41.96279427527121,19.15312400043378 41.96268403642377,19.15314946777929 41.96249097701532,19.1532100229 41.9623145901,19.1533076811 41.9621837951,19.1533869866 41.9620890985,19.1535331581 41.9619809833,19.1536550957 41.961854753,19.1538012657 41.9617466376,19.1539352221 41.9616565653,19.1540630393 41.961584548,19.1541908402 41.9615170474,19.15430053 41.9614178932,19.1544042571 41.9612871095,19.1543558072 41.9612463627,19.1543317184 41.9611875966,19.1544231045 41.9611109903,19.1544838309 41.9611156265,19.1545143301 41.9610795518,19.1545024537 41.9610027423,19.1545975179 41.9609506705,19.1548469041 41.9608181243,19.1550338248 41.960751973,19.1554038362 41.9606023097,19.1557777545 41.9604468686,19.1562543847 41.960286699,19.1566407258 41.9601423486,19.1569382404 41.9600341001,19.1576841056 41.9598014037,19.1580792846 41.9596636606,19.1587109574 41.9593977529,19.1593247465 41.9591492697,19.1597431825 41.9589439548,19.1599698515 41.9588747154,19.160114367 41.9588546705,19.160298233 41.9587447052,19.1607560701 41.9585331185,19.1608230552 41.958455284,19.160946981 41.9584484331,19.1610469087 41.9584911486,19.1611567212 41.9584311144,19.1612474718 41.9583710437,19.1613621225 41.958289756,19.1615386623 41.9582263046,19.1616628188 41.958152122,19.1617582488 41.9581168659,19.1618824292 41.9580355956,19.1619973706 41.9578692572,19.1620168214 41.9577558938,19.1620098209 41.9575697548,19.1619942134 41.9573886981,19.16202752 41.9571413576,19.1621557954 41.9568001173,19.1622126358 41.9566380425,19.1624466735 41.9564340251,19.1625206233 41.9561968326,19.1626940669 41.9560290505,19.1628605394 41.9559551991,19.1629671728 41.9558812343,19.1629809093 41.9557527052,19.1629679327 41.9556587365,19.1630748016 41.95551555,19.1632013968 41.9554366783,19.1632617409 41.9552884592,19.1633021218 41.9551451467,19.1633824449 41.954987076,19.1635423997 41.9548736554,19.1637057066 41.9547194974,19.1640125892 41.9544711496,19.1642672373 41.954308025,19.1644593949 41.954151627,19.1646948839 41.9539311815,19.1648249779 41.953710538,19.1649070085 41.9535361192,19.1648980782 41.9533437159,19.16496568318635 41.95315627403183,19.16513353969706 41.9530491580482,19.16537996624508 41.95300813461176,19.16557398551661 41.9529303750532,19.16568280463499 41.95280360390024,19.16572601147443 41.95265960732797,19.16569711823467 41.95247639367621,19.1656291853 41.952164214,19.1655475546 41.9519131287,19.1654715689 41.9515977879,19.1653983978 41.9513539463,19.165253006 41.9511241729,19.1650822769 41.9509045988,19.1648485109 41.9506446337,19.16449908008739 41.95039305780094,19.16434536450698 41.95036118927604,19.1640956964949 41.95045931589203,19.16329348729976 41.95079698062224,19.16265078058463 41.95103238972458,19.16144017757618 41.95134949261291,19.16018403053843 41.95152184293676,19.15918649209994 41.95164656104746,19.15827456236691 41.95166687168008,19.15708508604381 41.95184188138327,19.15662853988324 41.95200572360287,19.15641034661408 41.95223977581632,19.15605666500087 41.95245787870489,19.15521327674022 41.95259790681649,19.15420961676557 41.95266670200546,19.15381326389468 41.95266960314309,19.15261879100452 41.95278275918835,19.15158905365754 41.95287511864841,19.15049689489019 41.95293642093809,19.14983769272386 41.95294250327759,19.14924893182071 41.95299913106299,19.14867078202589 41.95300289539932,19.14832816901173 41.95294216837388,19.14818079840391 41.95280686660971,19.14819501891216 41.95260691778473,19.14835058373093 41.95236227661565,19.14862689827614 41.9521828871394,19.14884954791606 41.95197338553795,19.14910613552192 41.95167896489443,19.14945694810942 41.9513547476203,19.14976498020075 41.95118911105602,19.15004088434688 41.95105316161256,19.15028370413454 41.95099516236023,19.1503889471332 41.95090761246816,19.15035667000938 41.95077588364022,19.15020669343774 41.95056100750212,19.15008976318097 41.95027793338104,19.1499201941334 41.95004351005279,19.14987484290601 41.94990200073727,19.14995406505605 41.94976075661252,19.15018427315393 41.94957107053659,19.15036193471605 41.94940565367389,19.15048716272286 41.94923524865244,19.15063480657414 41.94903275074515,19.1508095727891 41.94887219990282,19.15104758899513 41.948731407542,19.15117850087031 41.94871463174296,19.15123853661422 41.94876190179321,19.15130482077107 41.94883275648352,19.15146938884557 41.94889439051753,19.15164041291588 41.94892539508184,19.15172613665453 41.94888550483364,19.15175183308761 41.94879598764105,19.15174595379486 41.94867576084261,19.15177815972952 41.94854147165692,19.15187388572505 41.9483719594109,19.15202047224265 41.94816248275746,19.15217960017716 41.94798838924478,19.15239809500857 41.94786317367996,19.15246117096223 41.9478142219406,19.15253790265922 41.94779449511901,19.15262337112519 41.94782119308093,19.15265695976092 41.94789551409331,19.15266913083845 41.94797641951092,19.15274216104207 41.94799248400787,19.15281391605908 41.94798983518292,19.15292463378958 41.94795378372947,19.1530127137613 41.94788381915264,19.15299018640384 41.9478208788659,19.15292536029266 41.94776268753969,19.15284425430887 41.9477092998587,19.15276332331407 41.94760995228531,19.15279866109763 41.94742454865293,19.15289899881272 41.94726712330949,19.15301202348952 41.94705177003574,19.15313715359522 41.94693148751907,19.1532409443844 41.94689543116525,19.15338302725471 41.94691871687869,19.15348800491881 41.94694652204451,19.15355300460443 41.94692137229276,19.15356885012556 41.94681796231507,19.15360316104736 41.94673527968598,19.15371163867792 41.94665505122938,19.15389091364056 41.94665082936935,19.15401679761792 41.94671936317987,19.15412347173839 41.94675697304223,19.15436265111078 41.94664765022559,19.15469290176255 41.9465478636327,19.15504802082223 41.94651822766045,19.1554333981 41.9465319155,19.1558091259 41.946612014,19.1562611539 41.9466695844,19.1566221215 41.946613598,19.1568003645 41.9465005665,19.1567857063 41.9463342502,19.1566496589 41.9460089682,19.1564981163 41.9457554618,19.1563056591 41.945577461,19.1562553149 41.9454450876,19.1562443743 41.9452618732,19.156490302 41.9451527739,19.1568482559 41.9451065084,19.1572415792 41.9449768217,19.1575855005 41.9449305264,19.1577538528 41.9449360705,19.1579015424 41.9448319956,19.1580636822 41.9446079332,19.1578888082 41.9444614896,19.157804934 41.9443726203,19.1579457715 41.944221569,19.1581709207 41.9440341534,19.1582839037 41.9438097597,19.158642079 41.9435148128,19.1589250383 41.9433139811,19.15912327178615 41.94311301210711,19.1592906205989 41.94313622957076,19.159440875026 41.94316195342191,19.159778567 41.9430285519,19.1599001883 41.9428402609,19.1600506702 41.942634886,19.1602530241 41.94242104,19.1604439015 41.9421943166,19.160568302 41.9421404176,19.1608103244 41.9421930307,19.1610266557 41.9423024857,19.1612749382 41.9423882963,19.1614529955 41.9425071592,19.1617332134 41.9425740658,19.1620329928 41.9425130034,19.1622309379 41.9424090784,19.1621867607 41.942280989,19.1619895162 41.9421810545,19.1618366929 41.9421380955,19.1617287958 41.9420051437,19.1615889979 41.941881613,19.16149148730037 41.94174899326461,19.1615262887 41.9415828132,19.1616796486 41.9414693219,19.1618645669 41.9414459687,19.1620362177 41.9414668928,19.1622508061 41.9413514297,19.1622997837 41.9412646195,19.1623488851 41.9411415998,19.1623005033 41.9410546046,19.1621350923 41.9410253226,19.1619597714 41.9410467151,19.1618336022 41.9409306038,19.16187108832166 41.94080085637697,19.1619610384 41.9406773778,19.1625753143 41.9404105918,19.16299558257517 41.94034463467241,19.16358993223968 41.93999142697421,19.16391375280142 41.93978068220359,19.16411097120887 41.93968988877315,19.16428224497076 41.93958246332338,19.16456080792696 41.93959683779181,19.16476502397937 41.93962487941056,19.16478706322284 41.93969400602243,19.16495806563947 41.93966118830483,19.16499944787871 41.93951757948427,19.16512991576358 41.9393934917397,19.1653539002 41.939271579,19.1656464482 41.939053144,19.1668378823 41.9387110419,19.1681972353 41.9380361304,19.1689634489 41.9376325204,19.1698592499 41.9372387883,19.1711159729 41.9365071617,19.1743418135 41.9341859723,19.1776274472 41.9335643751,19.1814179049 41.9315544638,19.1835947804 41.9295958427,19.1862117762 41.9282935152,19.1882020685 41.9277784716,19.1891607158 41.9275856732,19.1897408724 41.9277486365,19.190007696 41.9280143505,19.1901532221 41.9283365982,19.19029393095014 41.92849820059299,19.1904786971 41.9286046494,19.1908447919 41.9286498394,19.1911043484 41.9286948527,19.1914438398 41.928730089,19.1915704438 41.9287005734,19.1915308743 41.9285717058,19.1914115332 41.9283981215,19.1913587206 41.9282444622,19.1915390501 41.9280614621,19.1916131056 41.9277891155,19.1917601555 41.9276011054,19.191994227 41.9273551145,19.1924953551 41.9272403072,19.1930484926 41.9270549209,19.1934378036 41.9267921796,19.1939309083 41.9264653672,19.1943974484 41.9263633428,19.1952092551 41.9262939922,19.1959168557 41.9264300302,19.1959661449642 41.92656562286742,19.19613410333254 41.92662846702523,19.19630222830018 41.92663802476126,19.19646446496109 41.92653868234847,19.19657026011845 41.92656434972332,19.19666024742001 41.92666644427075,19.1966816555749 41.92679158858038,19.19674368979878 41.92687046688539,19.1968825195 41.926900514,19.19702634191623 41.9271026345411,19.19715395105399 41.92712370555798,19.19726611978489 41.92710304729805,19.19732229051526 41.92704537131139,19.1972881602 41.9269589749,19.1973233826 41.9267213493,19.1973675729 41.9263681084,19.1974547858 41.9260663256,19.1976195203 41.9258289037,19.1982159241 41.9256050103,19.19839684858373 41.92550210309278,19.19855896169029 41.92549141730559,19.1987467239 41.9255994121,19.199027774 41.9255415358,19.199217068 41.9255904347,19.1997858347 41.9254260897,19.1999624641 41.925334027,19.2000874563 41.9250231821,19.2003169188 41.9247270808,19.20038018748802 41.92455583987646,19.2003312215 41.9242897004,19.2004690264 41.9240663544,19.200560928 41.9239061165,19.20034954720662 41.92373506289416,19.20008306606859 41.92354245257157,19.1999028792 41.9233121543,19.199767218 41.9229863502,19.199856526 41.922699601,19.2001099374 41.9224977654,19.2004200092 41.9223759707,19.2007807402 41.9222213323,19.2011351225 41.9220760887,19.2014703158 41.9220107672,19.20176689176884 41.9218386431723,19.20206902429186 41.92207442815325,19.20240217368099 41.92236328354734,19.20248655235323 41.92244295496128,19.20259702202649 41.92273143630753,19.2027788320046 41.92299352653737,19.20263640199304 41.92309862130674,19.20277187278509 41.92343667465894,19.2026920463 41.9236305354,19.2027098119 41.9238414189,19.2028407058 41.9239608225,19.2030331648 41.924004902,19.2032685086 41.9240172054,19.203664392 41.9240098545,19.2039856034 41.9239227837,19.2044033572 41.9237443155,19.2048269193 41.9233986869,19.2052291456 41.9230291436,19.2055031368 41.9226036809,19.2055467861 41.9222932923,19.2052420707 41.9222211847,19.2052212441 41.9220141829,19.2049005712 41.9219102086,19.2045531423 41.9218101726,19.2044337955 41.9215708676,19.2043314182 41.9213263816,19.2043322688 41.9210193434,19.204319662 41.9207651076,19.2044836841 41.9205355053,19.2050360402 41.9204596004,19.2052238416 41.9205393766,19.2054885525 41.9206224491,19.2057666084 41.9205147662,19.2060615038 41.9204993159,19.20632213007878 41.92041499769679,19.2067995013 41.9205900427,19.2068778987 41.9208113583,19.2068189885 41.9211616375,19.2067095876 41.9214309856,19.20664986923579 41.92156560035432,19.20680733510016 41.92172299384484,19.20701835606792 41.92177936124626,19.20715072233934 41.92173038719985,19.20719698304053 41.92161158615686,19.20730048912495 41.92153924791662,19.20746577987104 41.92155123301404,19.20762330142352 41.92152805880024,19.20777828478825 41.92147559154694,19.20793333105687 41.92140164579235,19.20817022532757 41.92136543199775,19.2083328673 41.9212379589,19.2082773776 41.9210923412,19.2082100015 41.9209140345,19.2082342733 41.9207952671,19.2083503132 41.9206914875,19.2085022778 41.9205877614,19.2091335943 41.9203540653,19.20955848711408 41.92032324381328,19.2097520397 41.9204529981,19.2098593281 41.9206343342,19.2100186773 41.9207533747,19.210217651163 41.92081916394633,19.21032233773871 41.92089073806002,19.21046251688612 41.9210370963515,19.2104654642 41.9208609594,19.2105376815 41.9207244407,19.2106059071 41.9205879157,19.2106962648 41.9204690356,19.2108107772 41.9204443674,19.2109585939 41.9204481337,19.2110969114 41.9204376931,19.2112067024 41.9203952766,19.2112308288 41.9202888663,19.2112502621 41.9201540634,19.2111741634 41.9200794391,19.2110552519 41.9199657215,19.2109840075 41.9198591704,19.2109367101 41.9197136241,19.2109560777 41.919603658,19.2109992123 41.9195221125,19.2111137517 41.919486799,19.2113332556 41.9194303503,19.21152055902332 41.9193984187113,19.21170629321755 41.91946582332615,19.2118527534 41.9195340109,19.2119861224 41.9195909778,19.212119567 41.9196195587,19.2121675448 41.9195096337,19.2121630213 41.9194173729,19.2121314707 41.9193147302,19.2121651713 41.9192201976,19.2122390845 41.9190983448,19.2124366576 41.919016497,19.2126709007 41.9189819933,19.21292795783935 41.91909613412952,19.213044992 41.9191916153,19.2131116765 41.9192738495,19.21321136 41.9195278731,19.2131573024 41.9197318927,19.2130263537 41.9199183772,19.2132905232 41.9199536085,19.2134577382 41.9199687862,19.2135814218 41.9200013234,19.2137521714 41.9199443244,19.2137090828 41.919792432,19.2137497258 41.9196008373,19.2137203901 41.9193070918,19.213737703 41.9190831062,19.2136980917 41.9188814389,19.2136587622 41.918572744,19.2136692293 41.9184084838,19.2137424259 41.9182880259,19.2139621914 41.9182338708,19.2142306035 41.9182403123,19.21440853544917 41.91835951984984,19.21449682509508 41.91848018897494,19.21463124250514 41.91850086732615,19.21473835969238 41.91844872960795,19.21484843645539 41.91843070883159,19.21491856315046 41.91848994685216,19.21498865787293 41.9185605556187,19.21510780727191 41.91857666125686,19.21516612681189 41.91848806018739,19.21523966334889 41.91842222448226,19.21520940901551 41.91831301741298,19.21515161640913 41.91821513808628,19.21517340206685 41.91807644823021,19.21528085235643 41.91790605380096,19.21540344866698 41.91778344017189,19.21558094159817 41.91770184683406,19.21558705404012 41.91770185636008,19.21585606107977 41.91768180766742,19.21608524154343 41.91769580896015,19.2161766603289 41.91779146628432,19.21624667300691 41.91789163864117,19.21630128326538 41.91803499633243,19.21637939243006 41.91809930416329,19.2165514250347 41.91815232660716,19.21666022479468 41.91818075720374,19.21673378668173 41.91813376827569,19.21675684432212 41.9180377139034,19.21681037102463 41.91791156079749,19.216901888936 41.91778169815299,19.21698078324601 41.91763862689637,19.21713966796841 41.91750690018294,19.2173347553 41.9174201844,19.2176595159 41.9173401436,19.2179183086 41.9173055091,19.2180807208 41.9172532375,19.2182826616 41.917240889,19.2184308875 41.9172744144,19.2185175452 41.9173099351,19.2185651327 41.9173037554,19.2186465014 41.9172184972,19.2187755687 41.9170833315,19.2187783724 41.9170812532,19.218871019 41.9169626941,19.218918813 41.9168753058,19.2190189666 41.9168097778,19.2192634037 41.9167581807,19.2194379147 41.91675554,19.2196085988 41.9167326945,19.2197598279 41.9167357919,19.2199690865 41.9167937962,19.2201163069 41.916848828,19.220244102 41.9169182605,19.2203408816 41.916984764,19.2203989844 41.9170108153,19.22044555910427 41.91699594192546,19.22044937842449 41.91695860798302,19.220403073 41.9169271389,19.2203916646 41.9168376698,19.2204191366 41.9167078566,19.2205747231 41.9165205098,19.2208001539 41.9163159458,19.2209829858 41.9160882369,19.2212118395 41.9159933994,19.2212894203 41.9158965814,19.2214322564 41.9157483621,19.2215263302 41.9155667566,19.22161927282694 41.91546034311141,19.22179908092955 41.9154216117759,19.22203878859245 41.91538297032979,19.22245431607887 41.91539473776622,19.22256269630096 41.91546454668103,19.22278326887892 41.9155790971556,19.2228654206377 41.91565722408035,19.22292494421559 41.91579660599794,19.22312393592608 41.91558517844616,19.22317671699833 41.91544875050833,19.22330804871277 41.91533751257676,19.22348798093687 41.91525141973282,19.22351462980694 41.91508709425178,19.22354510479146 41.91489213005136,19.22368419955972 41.9146778265882,19.22398790393659 41.91450555540821,19.22426147088337 41.91440288474704,19.2243399241551 41.91446429014906,19.22441469359099 41.91450340310439,19.22457945415934 41.91448971786925,19.22473402574737 41.91445525485974,19.22484804385498 41.914394133726,19.22485800330365 41.91429320039067,19.2248413016563 41.91419763557831,19.22492168459908 41.91403191141443,19.22502627685884 41.91387163089346,19.22529540504897 41.9137818962111,19.2255154476 41.9136256583,19.22557182814666 41.91332548316688,19.22561079154533 41.91313531278894,19.22584409647804 41.91302286639063,19.22612471873298 41.91298119317601,19.22651141355136 41.91303394689544,19.22678291578878 41.91301919346736,19.2269303983268 41.91285274903899,19.22712772415092 41.91265775814466,19.2273821023 41.9125255774,19.2275773573 41.912491508,19.2276946572 41.9124098014,19.22780950659502 41.91238715988661,19.22788895543245 41.91225307190369,19.22799346751497 41.91221319818349,19.22808827184266 41.91225571585568,19.2281668194 41.9123259255,19.2283086417 41.9123762874,19.2284187229 41.9123447445,19.2284545052 41.9122206776,19.2285506063 41.9120993311,19.22855033942328 41.91199801220446,19.22865627455365 41.91190123019543,19.228792487 41.9118567033,19.2288991697 41.9117617777,19.22893243960755 41.91155595512197,19.22906531225066 41.91149579120383,19.2292171111 41.91153336,19.2293231485 41.9115584185,19.2293874483 41.9114512661,19.2300261544 41.9108348967,19.2318058235 41.9092768994,19.2338239904 41.9076726024,19.2345207855 41.9069549542,19.235635369 41.9057337166,19.2358570484 41.9057198567,19.2359899403 41.9057624425,19.2360784172 41.9058426775,19.2358045952 41.9065068869,19.2357533852 41.9067471927,19.2357269806 41.907218474,19.2355167579 41.9077602217,19.2353680176 41.9078689791,19.2352436959 41.9082800349,19.235183701 41.9087111334,19.2353598833 41.9090826453,19.2371085171 41.9091806592,19.2383501166 41.9093823442,19.2396763297 41.9093802561,19.2406076819 41.9091542079,19.241454066 41.9088796309,19.2429434907 41.9085531448,19.2457845397 41.9077706097,19.2510124513 41.9064067037,19.2593405636 41.9043253187,19.269153908 41.9016534207,19.2752535973 41.8991015447,19.2817667722 41.896622674,19.2904305642 41.8937262958,19.2951215924 41.8919624393,19.3031450121 41.8886808535,19.3088256027 41.8860702151,19.3136400663 41.8835390213,19.3173311195 41.8814447749,19.3233698008 41.8777223714,19.3267504571 41.8756720132,19.3304841724 41.8729271105,19.3330495789 41.8702349377,19.3345395452 41.8684097782,19.335203877 41.8676686245,19.3378225512 41.8654672801,19.3424077515 41.8622694925,19.344891923 41.8608150412,19.3480537 41.858925629,19.3512471506 41.8570599262,19.3546000625 41.8552297929,19.3583370163 41.8530601508,19.3616569191 41.8509238321,19.3629600452 41.8497620824,19.3659772917 41.8486388453,19.3682659527 41.8474868619,19.3696455265 41.8467060486,19.37054238206872 41.84654715422018,19.37098149555343 41.84657020156458,19.37111236094749 41.84682847777296,19.37091966937815 41.8470637309011,19.37068851872347 41.84714402600262,19.37044967332707 41.84720136348368,19.3706498220586 41.84759164684716,19.3709511614 41.8478433142,19.37125053641082 41.84811400774751,19.37157397212297 41.84848136118669,19.37157389942928 41.84867648181123,19.37140434679085 41.84883713359398,19.371166098 41.8488216641,19.3710193552 41.8486618639,19.370827452 41.8485104699,19.370522644 41.8484011154,19.3704210746 41.8481824488,19.3702969143 41.8480310592,19.369946953 41.8479132891,19.3696308163 41.8480394093,19.369450106 41.8484262476,19.3698451288 41.8490738452,19.3703304879 41.8496878089,19.3711319693 41.8504111267,19.3717189582 41.851151245,19.371964976 41.8530498582,19.3719311982 41.8543258818,19.3712934657 41.8556490033,19.371163305 41.8565866813,19.3713216082 41.8578261865,19.3722722865 41.8601754204,19.3728586013 41.8616038787,19.3733276241 41.8631869955,19.3735966921 41.8647281606,19.3735888357 41.866171922,19.3733526674 41.8691439954,19.3731846626 41.8720465754,19.3731545505 41.8745392689,19.3731394369 41.8761813388,19.3794418512 41.8825202905,19.380558018 41.8838414724,19.3808314659 41.8844381779,19.3807937479 41.8848944817,19.3802374063 41.8853437613,19.3794641805 41.8857509145,19.378304347 41.8858632104,19.377210521 41.8859263587,19.3768427582 41.8860948285,19.3756829227 41.8860807426,19.3747022593 41.8859262543,19.3731652097 41.8859823311,19.3720021492 41.8861543665,19.3700645499 41.8867804116,19.368779056 41.8874838863,19.36788402446319 41.88837019553166,19.36742701774393 41.88934351108455,19.36716696381429 41.89137643709364,19.36696786147861 41.89351162034966,19.36590731603867 41.89583639570218,19.36522240466867 41.89683365727784,19.36434841655095 41.89746906654933,19.36310852808551 41.89814276946906,19.3615129753947 41.89855963600404,19.35877804381124 41.8990079612076,19.35611804417005 41.89939537004116,19.35420376886034 41.89940776761902,19.35262006856194 41.89956271827513,19.35110579695565 41.90001558566379,19.34908660236738 41.90081799224434,19.34687568674971 41.90193117951254,19.3452044988914 41.90256528093042,19.34320214378005 41.90374329499249,19.34207411223327 41.90451988476484,19.34128259882203 41.90526709214022,19.3410435098924 41.90599583404634,19.34096756429427 41.90681808413424,19.34071575268716 41.9077523934841,19.34063988889763 41.90845317606993,19.3406877131065 41.90918502421108,19.34062175542481 41.90986685938272,19.34069619490431 41.91034001977634,19.34078921389666 41.91097321827614,19.34092895132179 41.9116481861047,19.34110638215757 41.91193353181507,19.34130303488576 41.91239983987519,19.34180447455644 41.91309796921607,19.34247124899036 41.91351601220568,19.34388705979418 41.91418746601976,19.34527771667741 41.91464605034775,19.34630078264883 41.91493197017232,19.34802103629686 41.91532176095299,19.3499148528169 41.915699018678,19.35156336294343 41.91598486963801,19.35310459166494 41.91619648744928,19.35440955099931 41.91641006236814,19.35615478467824 41.91669328966697,19.35771008867012 41.9168880883354,19.3592772847398 41.91705636480484,19.36088013871846 41.9171716199129,19.36212674583653 41.91743697044932,19.3633140003419 41.91772880367265,19.36504343642976 41.91842897582188,19.3667117508658 41.91923225247862,19.36785054673284 41.92001310350828,19.36888946178721 41.92077905962771,19.36976009968556 41.9215575249124,19.37036396017825 41.92237933410717,19.37056197367655 41.9231168010804,19.37055229523147 41.92396661169585,19.3702372349737 41.92468361008312,19.36986332563517 41.92532407485951,19.3692224242601 41.92607373301481,19.36852761407689 41.92694192712018,19.36776775652481 41.9278144003107,19.36685640358542 41.9288099717096,19.3658655981837 41.92963021480596,19.36496731594111 41.93016062089297,19.36065465800462 41.93228044025229,19.35860349411168 41.93356326780938,19.35725766577391 41.93447497611722,19.35519551761824 41.93562862825413,19.3526482683004 41.93742617259747,19.35129383973048 41.93852793979013,19.34994928337177 41.93969573187209,19.34930050801006 41.94081743560051,19.34896961483939 41.94234243999356,19.34891036441914 41.94286832525989,19.34900050999389 41.94471065873773,19.34934768937839 41.94624443767764,19.3495347587527 41.94687190792143,19.35009634975306 41.94815679225449,19.35038129796683 41.94931413659879,19.35049676994305 41.95043170175639,19.35053279244505 41.95088520527508,19.35067769220342 41.95135494288743,19.35069552074313 41.95185686350239,19.35059951685503 41.95278382801278,19.35054347949492 41.95343384193608,19.35035932840308 41.95416443757173,19.3500634464003 41.95472272548162,19.34995925175061 41.95530483845891,19.34995915166945 41.95607107135151,19.3502604988709 41.95686335073653,19.35075718081556 41.95760287850541,19.35164450487886 41.95828971736734,19.35268276043375 41.95898320018723,19.35393417751387 41.95954471466045,19.35572243518032 41.96013501930543,19.35689774155708 41.96044447588648,19.35831680707909 41.96066338031156,19.36040782340664 41.96077204931176,19.36320454083582 41.96083111596977,19.36499577613827 41.96081981417851,19.36790355070438 41.96093560270482,19.37004951941097 41.96117533730628,19.37171266864908 41.96135113126656,19.37426646183538 41.96167064280828,19.37648774325926 41.96180655123303,19.37768970011938 41.9618538690121,19.37843522422943 41.96192953339759,19.38009575400755 41.96187087035374,19.38041205639359 41.9617868969213,19.38094297160482 41.96182053164711,19.38168850253672 41.96200537086007,19.38247922750268 41.96221540784257,19.3838234724209 41.96288745304376,19.38470423342025 41.96351480396541,19.38516446729208 41.96395912231291,19.38564086232962 41.96431938229797,19.38610919070138 41.96465562476079,19.38665020157277 41.96497986004918,19.387126620623 41.96538214822023,19.3873930960719 41.96572439213087,19.38751422301792 41.96594054606442,19.38752229797702 41.96616270302346,19.38738639252696 41.9664015058066,19.38711193014814 41.96684722419101,19.38672912628585 41.96730368101764,19.38604287233245 41.96782250723915,19.38544889194379 41.96825969537721,19.38463513162251 41.96880727810876,19.38401142945079 41.96932836840218,19.38328471575028 41.96967592767649,19.38279054491443 41.97003084146809,19.38212886303572 41.97040442335144,19.38168494458512 41.97067215582911,19.38120751400793 41.97100215362418,19.38077196962978 41.97121384069923,19.38044530537586 41.9714006263897,19.37995949877927 41.9716309884721,19.37947367029924 41.97197343476847,19.37886274644004 41.97237277569225,19.3782816165344 41.97274301658,19.37765899003411 41.97304381950482,19.37695333969824 41.97339860980767,19.37694296057068 41.97341403740186,19.37640333857328 41.97369941123839,19.37588447092361 41.97395392738151,19.37539672969623 41.97420073051121,19.37523066947697 41.97437814060606,19.3751267998716 41.9748718450512,19.37510589316031 41.97558927651613,19.37504113432034 41.97645410197774,19.37514807636526 41.97760154730956,19.37542662725551 41.97824701203542,19.37583375768714 41.9791634181093,19.37632381132337 41.98004962637844,19.37692982521122 41.98077627590153,19.37753592120324 41.98111991720377,19.37878546296272 41.98232847386781,19.37954655406948 41.98342057149698,19.37992038028722 41.98436372508385,19.37993359888666 41.98540613417887,19.37979993587544 41.98619041890748,19.37968634495037 41.98717310978449,19.37963731966622 41.98924994520525,19.37984823086744 41.99126642038327,19.38008011179293 41.99254690617506,19.38059653616677 41.99377074249748,19.38067719769624 41.99421467415235,19.38062871489973 41.99463460083226,19.3807578115677 41.99505453986683,19.38069352192799 41.9954356355717,19.3807991838454 41.99565445371269,19.38108601994863 41.99594060996416,19.38157666839643 41.99641192574716,19.380513 41.99844,19.377021 42.002484,19.375716 42.004168,19.375744 42.005501,19.375793 42.007835,19.374973 42.011347,19.374146 42.014525,19.374717 42.020355,19.374099 42.022864,19.371497 42.026731,19.370733 42.03291,19.371733 42.0379,19.373635 42.043213,19.377593 42.050502,19.379461 42.054148,19.379507 42.056315,19.378218 42.058833,19.378983 42.063242,19.373841 42.063471))",
HercegNovi2 =
"POLYGON((18.647017 42.369377,18.644582 42.373227,18.640104 42.375253,18.637203 42.377605,18.637695 42.381937,18.637517 42.386774,18.637555 42.390609,18.638931 42.393269,18.639193 42.397103,18.634953 42.400629,18.629816 42.404493,18.62533 42.406019,18.621965 42.407038,18.617907 42.406227,18.615204 42.405908,18.612279 42.405925,18.612972 42.407755,18.615695 42.410241,18.617739 42.412231,18.621128 42.413713,18.62743049988806 42.41784970760931,18.62622925185422 42.41837234607101,18.62549494163337 42.41871932589123,18.62512004919212 42.41891025925231,18.6247422051057 42.41903457736846,18.62411328253061 42.41914847398264,18.62342955444284 42.4193479433776,18.62065973703173 42.42020139634053,18.61961255399458 42.42051580248291,18.61827331580212 42.42111988423027,18.61706864362451 42.42169225615105,18.61596977115175 42.42218600550223,18.6146438294173 42.42242360868306,18.61316166835874 42.42278658923961,18.61178012845654 42.42319639632829,18.61054400417898 42.42358805365311,18.60946678841747 42.42390254936,18.60892773658448 42.42401645480745,18.60847110828299 42.42412039418149,18.60825328278958 42.42422751731321,18.60798210412204 42.42434062723923,18.60775649326207 42.42438561498234,18.60733608778866 42.42441090824552,18.60702519639197 42.42448160539609,18.60662606227959 42.4245566153639,18.60614452869093 42.42470107498125,18.6058909509766 42.42479062431601,18.60550682098178 42.42480804593004,18.60522193108669 42.4248824298643,18.60486945462617 42.42494951295834,18.60470225399643 42.42498269143147,18.60447380269068 42.42504801518866,18.60436290181204 42.42507988395713,18.60422943156311 42.42514911932724,18.60415040582263 42.4252332593385,18.60418252572889 42.42545651558646,18.60360855996127 42.42558121253597,18.60345002409034 42.42530605811735,18.60190066662474 42.4256859638588,18.60168635109783 42.42572198273454,18.60164711544928 42.4256619793855,18.601398422816 42.42569501411055,18.60106806457599 42.42571898118932,18.60101610671186 42.42567489235931,18.59976697220889 42.42593113898938,18.59836345505919 42.42629785222712,18.59745062243242 42.42645566156408,18.59688654144522 42.42656877818546,18.59639643097831 42.42662065509764,18.59639725652744 42.42670466893516,18.596279940407 42.42674875464479,18.59630084502528 42.42687901590626,18.59569725242927 42.42696626366663,18.59561306888674 42.42678708832287,18.5951729661046 42.42684006813022,18.59487832759932 42.42690344669393,18.5946183361449 42.42690483486892,18.59433235071044 42.42695190144056,18.5940512807239 42.42705098717768,18.593791669878 42.42709140606204,18.59350619087926 42.42719051417832,18.59304696754765 42.42727789884673,18.59221358600344 42.42747470188593,18.59184177614346 42.42757345789984,18.59157170472903 42.42758618174173,18.59104278305379 42.42771693229064,18.59072756293988 42.42780515398952,18.59041754900478 42.42790463634363,18.59027421044326 42.42789674594211,18.59006586807788 42.42792534803772,18.58972783971927 42.42802613095387,18.58947532950332 42.42810996140221,18.58914850208615 42.42821343293985,18.58891780779344 42.42824215103715,18.58843486703669 42.42838219338267,18.58814480776729 42.42843597189122,18.58780360624008 42.42859451189759,18.58755100910727 42.42867008993819,18.58744401490353 42.42877789677853,18.58737215030999 42.42881889712495,18.58724629546493 42.42883071844246,18.58706008674866 42.42885401532483,18.58681323641365 42.42885903563621,18.58646136910164 42.42894643030039,18.58567813029419 42.42923692878748,18.58531639846786 42.42934668700194,18.58498475277207 42.42944140950469,18.58459771746543 42.42954014146103,18.58423097748668 42.42965364265977,18.58399963259244 42.42969948724972,18.58378386781538 42.42979359927254,18.58336540482286 42.42992277347211,18.58281637100806 42.43009107621732,18.58237228671567 42.43022440786965,18.58191141000042 42.43036153523312,18.581502981669 42.43045493516037,18.58126917789128 42.43052853943894,18.58103558416462 42.43062417191751,18.58080637325159 42.43073236960379,18.58055968468264 42.43079659881533,18.58029233861527 42.43093017176478,18.58014818618496 42.43101589549254,18.57990978786072 42.4310969560239,18.57974847903766 42.431159985411,18.57942350410862 42.43126503802714,18.57885389271025 42.43139453496149,18.57856433135495 42.43143964097312,18.57835982510965 42.43149044369034,18.57807549679746 42.43157143006592,18.57777168655382 42.43165387420262,18.5774769486886 42.43173067343862,18.577203833954 42.43181136419066,18.57639829046192 42.43193155967425,18.57623777092484 42.43189300868329,18.57609769356035 42.4318876150086,18.57592805882008 42.43190640746726,18.57572412695003 42.43192067477127,18.57556892207152 42.43196309954878,18.57546098342836 42.43200855245173,18.57536370527019 42.43204409019693,18.57522088289234 42.43208446492923,18.5750738787563 42.43206144295503,18.5749518342233 42.43202772218265,18.57483324440062 42.43198077130323,18.57465041580276 42.43195529146347,18.57445727290762 42.43197478581701,18.5743136570863 42.43199463792964,18.57419691047303 42.43197158847644,18.57394375930831 42.43200299684559,18.57374876752648 42.43202335394414,18.57352468572578 42.4320481610661,18.57320157989331 42.43207562818262,18.57297421853439 42.43206174812428,18.57269466548856 42.43207393845479,18.572580811956 42.43204872241486,18.57226983842197 42.43203242775104,18.57195977760853 42.43202915324971,18.57128725602307 42.43206182020727,18.57104645430836 42.4320581878689,18.5710398582747 42.43205822172742,18.57073330218145 42.43207683521241,18.57055317038002 42.43210781508402,18.57029088220174 42.43213597451415,18.57026255328934 42.43217175400116,18.57003205344991 42.43218628451639,18.57002476632806 42.4321360269137,18.56981350829997 42.43213459429543,18.56945946402561 42.43216658393503,18.56907792799051 42.43217356572451,18.56868252839438 42.43215546984276,18.56840616135167 42.43211413182388,18.56824938524098 42.43208959697751,18.56805798847282 42.43204549777533,18.56779896305663 42.43203676140821,18.56744484732921 42.43206120132646,18.56714176468622 42.43207783576173,18.567044440694 42.43206867409853,18.56690646869771 42.43205640271169,18.56662210648447 42.43200677578997,18.56635132230825 42.4319000590731,18.56604210675391 42.43180491600943,18.56580255445092 42.43174070864936,18.56545517341746 42.43168558301634,18.56520435221225 42.43165272259248,18.5650882048326 42.43159642041011,18.56501057004316 42.43153707780739,18.56481378305913 42.43151247581294,18.56464630830557 42.43147136802318,18.56446281263939 42.43143958580456,18.56431793116319 42.4314294165268,18.56427615924812 42.43138601016096,18.56408707924445 42.43138915034903,18.56395676815507 42.43135709751794,18.56382087245344 42.43135996753396,18.56363766065113 42.43135871538755,18.56343081089387 42.43135758272235,18.56321208091883 42.4313499670851,18.56312168731433 42.43146978241207,18.56283396430622 42.43139767316837,18.5628966297331 42.43127670804264,18.56280433544491 42.43121243729551,18.56270417742156 42.43115997682023,18.56242934522484 42.43118785097024,18.56215819887876 42.43118333693669,18.56193879678193 42.43116973290292,18.56174293245601 42.43111481264682,18.56158709846886 42.43107734565807,18.56158712574694 42.4310802881563,18.5614157269005 42.43108409643769,18.56119384349271 42.43101669025761,18.56108878880668 42.43094286296017,18.5609806824906 42.43084034224742,18.56089594988599 42.43075737286363,18.56089288292572 42.43075513988237,18.56066321384087 42.43062588794439,18.56053970701519 42.430562931857,18.5603970539848 42.43050356468596,18.56016479730003 42.43042379047562,18.55981486356435 42.43033213199831,18.55949643475247 42.4302522814653,18.55917459436732 42.43016504242026,18.55908997025687 42.43005439509057,18.55899592957304 42.43001043883113,18.55879438154967 42.42991272060228,18.55881890337482 42.42945212253068,18.55882405816488 42.42931162952954,18.55881836625242 42.42924396672851,18.55876665152686 42.42909840155279,18.55868558352313 42.42898615637122,18.55857787743756 42.42888584892488,18.55843345546879 42.42879618084597,18.55833831834002 42.42875458277897,18.55818273305868 42.42867203599405,18.55801815206553 42.42866333892025,18.55787671875944 42.4287164263412,18.55782313762177 42.42885240087581,18.55771145550106 42.42898390527833,18.55751238017692 42.42908251674329,18.55733202068205 42.42911199082877,18.55720964081653 42.42911413377665,18.55705098091913 42.4291006004234,18.55694756215242 42.42911305915858,18.55668902563635 42.42914539962433,18.55641688884429 42.42910616456177,18.55620587102777 42.42902841327553,18.55594862634085 42.42885481953706,18.55581994448175 42.42868020722354,18.55581555819595 42.42856668304732,18.55600903305357 42.42842702192466,18.55605758731296 42.42830551125053,18.55624365574374 42.42818049232869,18.5563881116266 42.42810080435324,18.55654023409508 42.42802389802888,18.55658124931272 42.4279137058663,18.55661906592565 42.42787121388511,18.55660228042831 42.42770772783379,18.55640369052555 42.42771718263685,18.55637216761037 42.42761299392419,18.55647511447762 42.42758991718848,18.55644343598655 42.42746880815398,18.55637084614745 42.42746917150895,18.55620642060109 42.42703850639061,18.55547688625328 42.42651639202708,18.55542681350853 42.42645106550099,18.55541743355028 42.42638626224599,18.55528118926001 42.42637883673579,18.55512773132895 42.42641040711533,18.555196708255 42.42650733779864,18.55488360340929 42.42661428297011,18.55480382347317 42.4265368610423,18.55441922054998 42.42654884811992,18.55412140320282 42.42654819922574,18.55378230768991 42.42646025111848,18.55336761053689 42.42632572472361,18.55301532267495 42.42611349062719,18.55273706764875 42.42592952517459,18.55237231148684 42.42583732068625,18.55168952213606 42.42556535807183,18.55130820470323 42.42543447109489,18.55090584029765 42.42522852831765,18.55029171301223 42.42480943690102,18.55017640689847 42.42478683622277,18.55007453696346 42.42470752698153,18.54990700809075 42.42469548296095,18.54947234206364 42.42431248487106,18.54907876381878 42.42388462967131,18.54845538464033 42.42339360576592,18.54790722996436 42.42310864580716,18.54731052137104 42.42272907669927,18.54681240202923 42.42222677996282,18.5467286328414 42.42197648873686,18.54664972427282 42.42176294331199,18.54646181188895 42.42151316395757,18.54644493745282 42.4211488899466,18.5464820658229 42.42074757895971,18.54676164750516 42.42013788133546,18.54698025449885 42.41959562729404,18.54723112232344 42.41909202932379,18.54748194567037 42.41874572585141,18.5476249623203 42.41868796248158,18.54771201165931 42.41854624575793,18.5478106916926 42.4184696812009,18.54787234708125 42.41836884546238,18.54790070739665 42.4182491543281,18.54799749125406 42.41820960467776,18.54812821853624 42.41808379684608,18.54819188700114 42.41804176173921,18.5482558828748 42.41803588306961,18.548288580507 42.41790221490768,18.5483372042151 42.41786303541496,18.5483893936112 42.41780158718932,18.5484183737624 42.41767350014848,18.54845913470343 42.4175982013592,18.54853402882975 42.41754776652267,18.54851797631907 42.41743937152247,18.54848308695283 42.41733106940589,18.54850430492077 42.41717798785061,18.54858574759428 42.41715363358757,18.54850157021149 42.41692505918708,18.54838035425968 42.41663605225431,18.54821885068296 42.4164314311741,18.54792391337235 42.4160995014337,18.54743262983348 42.4155541363054,18.5471870947493 42.41515954101651,18.54712260147885 42.41484811792988,18.54714363060735 42.41455028385852,18.54724066091969 42.41426258310969,18.54730748445932 42.41409041294126,18.54743109524814 42.41398867048599,18.54751330799431 42.41389939057876,18.5474997744289 42.4137799361469,18.54749974670722 42.41377687163654,18.54755226567985 42.4136172511911,18.54761831615512 42.41352037010147,18.54769986415623 42.41341425683604,18.54781027099192 42.41322983339012,18.54789475353856 42.41317581821279,18.54799336883669 42.41318341575524,18.54809421877999 42.41303471044373,18.54815212578935 42.41298053098259,18.54816925174681 42.41285649093384,18.5482560873955 42.41277252712064,18.54843428655049 42.41270158568425,18.54860535670315 42.41264954194255,18.54879267598756 42.41259438975739,18.54893418810894 42.41257548761451,18.54906119707732 42.41260686954426,18.5491264134252 42.41264744510763,18.54916129219987 42.41267990819971,18.54918977490383 42.41272459412354,18.5492123364233 42.41276625397653,18.54930033116593 42.41281587259668,18.54947149832678 42.41277460575636,18.54957223491731 42.41270745432545,18.54961889917622 42.41263571140896,18.54966321789398 42.41258502918392,18.54970402176648 42.41248449686261,18.54975728771361 42.41238519528957,18.54985991080388 42.41232306348235,18.54994930980994 42.41231758218058,18.55003212781895 42.41233812581822,18.55012062880053 42.41237078340092,18.55021275905826 42.41231772969587,18.55027954852195 42.41226291238535,18.55036563276601 42.41225065614324,18.55044496533108 42.4122413240471,18.5505804516163 42.41224925220991,18.55064728856249 42.41231382321953,18.55078966681534 42.41230259787135,18.55083249888673 42.41227488162001,18.5508637321521 42.41224834777945,18.5508948724497 42.41222875150827,18.55094802897575 42.41222116325413,18.55099729909795 42.41222651422692,18.55104323491738 42.41224523646099,18.55118604411101 42.41228134614258,18.55122446818777 42.41232849315627,18.55129758820507 42.41232600854681,18.55134879382167 42.41225616459613,18.55139948895474 42.41222443509395,18.55143630336393 42.41221467270173,18.55148650153922 42.41222005463203,18.55152721693264 42.41222336111121,18.55156922370866 42.41223169254106,18.55160560841341 42.4122540265042,18.55163389574413 42.41227228890912,18.55167287994427 42.41228418937362,18.55181138011193 42.41225780069244,18.55193875349822 42.41220683028791,18.55204499336955 42.41217484142137,18.55211950092123 42.41222599769565,18.55220302556577 42.4122149557025,18.55226222114208 42.4121643237865,18.55242714999807 42.4121888834072,18.55255542960389 42.41218232182215,18.55267997560074 42.41218112342673,18.55297392915886 42.41217336875022,18.55340866816741 42.41218378876581,18.55383033584091 42.41216281115921,18.55422669606141 42.41217027293999,18.55466166497454 42.41220585545418,18.55496396680703 42.41217917693247,18.55541589524913 42.41220523335537,18.55575228678588 42.41217838209333,18.55587039656638 42.41214473679439,18.55599499366819 42.41215829088758,18.55613242649995 42.41221477664593,18.55633493353952 42.4121732784801,18.55661480025095 42.41219616860795,18.55696583647834 42.41220655575941,18.55738304308324 42.41225709484003,18.55777835435939 42.41231179048469,18.5580255453151 42.4123591313767,18.55828952199375 42.41244282373467,18.55863522333167 42.41253558616955,18.55875146428311 42.41249712510472,18.55884000939448 42.41248979323001,18.55894162405249 42.41238253869434,18.559038574872 42.41227530749949,18.55897223610923 42.41216201093954,18.55887312559684 42.4120351057682,18.55860108251554 42.41186774981199,18.55821676680722 42.41166308030422,18.55779003757667 42.41141041498964,18.55745715169605 42.41121925697018,18.55725139548178 42.4110612582634,18.55696659935995 42.41068370886551,18.55665682766298 42.41027348654805,18.55638670705384 42.40988128308054,18.55618369824556 42.40943118037793,18.55609232240802 42.40909871049821,18.55619674355461 42.4088270407356,18.55638522547376 42.40844025652967,18.55668136842037 42.40804943103613,18.55702010030315 42.40746167062634,18.55741383795765 42.40682035226941,18.55783206972075 42.40628393387926,18.55799489545976 42.40623702511504,18.5580948445418 42.40614079503197,18.55818078094521 42.40608718110929,18.55815474823456 42.40586749110929,18.55821514145874 42.40564736663334,18.55847304454687 42.40532346805121,18.55886987594371 42.40500081145058,18.55916344985158 42.4046939437268,18.55941660318072 42.40448907604154,18.55977488495384 42.40447200251798,18.56013954084477 42.40439890758985,18.56042974079268 42.40447379209834,18.56067905579922 42.40459978035418,18.56081077114571 42.40468055303511,18.56099522562322 42.40450147812388,18.56113128876581 42.40430737776693,18.56130818848259 42.40405708273671,18.56147918454188 42.40391370360725,18.56159442572036 42.4037044379296,18.56159282213014 42.40353139123633,18.56152505492268 42.40346040170436,18.56159259364571 42.40331551919865,18.56173501956317 42.40325582035176,18.56185692120009 42.40317646074741,18.56198173699787 42.4031018768149,18.56218119690247 42.40305505900746,18.56238197859783 42.40315075045115,18.56243815810306 42.40326244322247,18.5626447471927 42.40324103772019,18.56288655524845 42.40330089125418,18.56321036677007 42.40328398031785,18.56361655940406 42.40323102116225,18.56378259784616 42.40329634699207,18.56405103338551 42.40325426490717,18.56432003727214 42.40327325780928,18.56442456432347 42.4033948838002,18.56444609465125 42.40348639233043,18.5646301867438 42.4035793507384,18.56502899784589 42.40358809577749,18.56533539091704 42.40359371903121,18.56560141126741 42.40344156187729,18.56579439528507 42.40327900429467,18.5659438859713 42.40314539237272,18.56593781691785 42.40301616284267,18.56634487253985 42.4028668764837,18.56703886779244 42.40272330614744,18.56781599315782 42.40262957421333,18.56813180769622 42.40260282605007,18.56837894534648 42.40251179741426,18.56882741078111 42.40239160871872,18.56921854063567 42.40223792240592,18.56964703959525 42.40217505414256,18.56989244855584 42.40205919051911,18.57021986002624 42.4019260518964,18.57059732191764 42.40177580140617,18.57092980384359 42.40169656662131,18.5712393361753 42.40160396539523,18.57175529199159 42.40145093589083,18.57215356764509 42.40135819569005,18.5725566258705 42.40130753626306,18.57292468740737 42.40126677258395,18.57325775248753 42.40123590494287,18.57358167851207 42.40116621532423,18.57394495725028 42.40108336530871,18.57429556865561 42.40105240338117,18.5748573612462 42.40097258380276,18.57540566390399 42.40085735928665,18.57603168178465 42.40071705854735,18.57667654582573 42.4006068092172,18.57733286111693 42.4005293904792,18.57784096162132 42.40048014978397,18.57855521598679 42.40050954801298,18.57903340523757 42.40057692342823,18.57936239315916 42.40058851797221,18.57963751307682 42.40062035324767,18.57982129454055 42.40052291750208,18.57998654715756 42.40037234859055,18.58004377603943 42.40023232310438,18.58009592739511 42.40003244083704,18.58017038100137 42.3998091539668,18.58024886264545 42.39953594276924,18.5803138139265 42.39931713689606,18.58033642912254 42.39904513742907,18.58031852097859 42.39875472750141,18.58026999818371 42.39842723321247,18.58021163925254 42.39812586072497,18.58012312937114 42.39783581816648,18.57999151075185 42.39778436279367,18.57965838282835 42.39775630389311,18.57941134321309 42.3977650397001,18.5793204255569 42.39775061550041,18.57929954199074 42.39767623581369,18.57919331744017 42.39764326911354,18.57906688513253 42.39760668297216,18.57892535926746 42.39757389965374,18.57880936862513 42.39757450308218,18.57866368809423 42.39763485149838,18.5785431160701 42.39768389602161,18.57842183336882 42.39765845545815,18.57829039338414 42.39762561875117,18.57819461032772 42.39762984078975,18.57808863429093 42.39762294254668,18.57795247078678 42.39762364969072,18.57781634250154 42.39762808083188,18.57766043195852 42.39767358326737,18.57745615895783 42.39759031193373,18.57723816848437 42.39748132420348,18.57702879892504 42.39738814854904,18.57689672869869 42.3973699810797,18.57682749032887 42.3972477995549,18.57677556919062 42.397156948765,18.57666432339688 42.39709154188081,18.57657794767879 42.39695688027386,18.57663253938534 42.39688118763745,18.57670952412407 42.39685226695818,18.57671688268277 42.39680219871767,18.57667379954161 42.39674586449043,18.57659665009882 42.39668656461414,18.57654949969186 42.39663323985648,18.57652315744792 42.39656440387856,18.57650048005189 42.39641684304779,18.5765417098853 42.39627837718811,18.57661642324054 42.39606344840903,18.57675356402197 42.39589034331497,18.57692898897484 42.39568841000949,18.57712993946695 42.39556858106027,18.57735171219265 42.39546996435919,18.57755303775347 42.39538972818116,18.57770799882441 42.39535519532289,18.57789426140882 42.39527526099271,18.57795766828147 42.39533150187203,18.57806541625514 42.39529003641657,18.57824460278285 42.39525211976805,18.57838871230953 42.39522700396971,18.57851223054375 42.39520504090969,18.57878261029228 42.39510792765859,18.57879987273032 42.3950463190101,18.57888874191023 42.39500630876922,18.57900136805077 42.39496178056477,18.57909922450762 42.39492831467214,18.57910513232222 42.39492388971041,18.5792029257449 42.39488383273117,18.57922811421475 42.39482674835087,18.57919284758895 42.39476304451897,18.57914158272342 42.39469080692857,18.57905748958838 42.39460775467754,18.57895259355552 42.39452700762348,18.57886728051685 42.39446732889497,18.57877884257832 42.39447757357123,18.57870241161128 42.39449754973658,18.57846544847421 42.39429445042137,18.57826558268487 42.39416752615976,18.57799974369641 42.39409008581236,18.57766505080103 42.39401300218523,18.57736175358149 42.3939789793839,18.57705821358929 42.39391953033196,18.5770547710195 42.39391954818397,18.57678958410437 42.39391075236232,18.57642457050758 42.39383479476548,18.57619112607194 42.39384123017168,18.57596102071036 42.39382674473546,18.57576871491859 42.39369448327451,18.57572912962293 42.39362414025246,18.57559380351185 42.3935550254907,18.57544979469977 42.39347780093053,18.57535575281965 42.3934248797186,18.57521290273609 42.39328452217653,18.5751372212782 42.39313859117038,18.57493069151332 42.39299856170818,18.57476250551315 42.39281525283784,18.57454234708692 42.3927566376647,18.57443377628949 42.39268321906911,18.57440244410806 42.39262931905805,18.57427579681514 42.39268118923932,18.57411711633227 42.39260518342886,18.57411241129483 42.39253785817465,18.57390906954072 42.39239902684809,18.57363426863621 42.39226988916591,18.5734104429179 42.39219022336866,18.57307289398324 42.3921018177162,18.57279473662662 42.39206284058598,18.57247411777851 42.39210674614235,18.57216044362601 42.392202868433,18.57195340087579 42.39229844158498,18.57176775778165 42.39240178011598,18.57168330445674 42.39249278467618,18.57158259605862 42.39255630796355,18.5714119812976 42.39255718513952,18.57110229634959 42.39251152252955,18.57096322646696 42.3924649827466,18.57085724119073 42.39239333418649,18.57062201851836 42.39234519025195,18.57035537888181 42.39227201030917,18.5701464978568 42.39214308406329,18.56999415007533 42.39200342300993,18.56990513965523 42.39187153235233,18.56982674474097 42.39170177367917,18.56983253546953 42.39153968622261,18.56986029288244 42.39138018691963,18.56991334366315 42.3911881461248,18.57011497933281 42.39105877662749,18.57036470767653 42.39094892882931,18.57054178067549 42.39092886133782,18.5706502523033 42.39096981532421,18.57074470263425 42.3908990815165,18.57087004645478 42.3908952448104,18.5711738456444 42.39101821660638,18.57117368107152 42.39096257292151,18.57118128928005 42.39089045305776,18.57124118296614 42.39082308956958,18.57147037415466 42.39082829803309,18.57157875575524 42.39085967223425,18.5716740473997 42.39087834109925,18.57175570714992 42.39082683110583,18.57183265220273 42.3907338345803,18.57190101080187 42.39064726842947,18.57199963176486 42.39056054653403,18.57207225301801 42.3904675720452,18.57213123057623 42.39043026705352,18.57220125641488 42.39039346611914,18.57233485404894 42.39034807455467,18.57244020876768 42.39030042462191,18.57240884171869 42.39020862004377,18.57245496589504 42.39012939290208,18.57256112107559 42.39004356126509,18.57270524577033 42.38994716064405,18.57284864278142 42.38980716399726,18.572984388754 42.3896813750472,18.57312363686584 42.38954492197327,18.57325270315865 42.38947505817922,18.57334971652303 42.38944528174262,18.57340283564134 42.38934653302571,18.5734742228556 42.38927430485664,18.57350219391848 42.38918367013554,18.57353717023213 42.38907170729762,18.57354673204453 42.38901152345251,18.573547049093 42.38897318124445,18.57355436726531 42.38890632200859,18.5735820755858 42.3888665409159,18.57362095696754 42.38878649552549,18.5737058900291 42.38873276124438,18.57380466983913 42.38863518159428,18.57384919540039 42.38855127080606,18.5737760229148 42.38848135627849,18.57383382679063 42.38836390447631,18.57391409890029 42.38822625314312,18.57400802896823 42.3880952256523,18.57417895515427 42.38791605817207,18.57429334183676 42.38770923091226,18.57438999203992 42.38747241888655,18.57444247445667 42.38723519016645,18.57452487393521 42.38707752232762,18.57460519470315 42.38693255639925,18.5747092254655 42.38678331245971,18.57488234652313 42.38663633253425,18.57513641364189 42.38643737399162,18.57553097625511 42.38633346082985,18.57582778093169 42.38632077283174,18.57610449089263 42.38631190533199,18.57628537372385 42.38628123075694,18.57638616227391 42.38629557710134,18.57650067047833 42.38616488253983,18.57668134064444 42.3861119053845,18.57682185775884 42.38607028769667,18.5769372483283 42.38603251737928,18.57704324574774 42.38606542197054,18.57718397477441 42.38604610578199,18.57722905375418 42.38602356873577,18.57715275845371 42.385919922207,18.57712566083154 42.38586765179124,18.57709704113247 42.38576802639545,18.57713230877262 42.38568463455265,18.57719510394846 42.38562037519987,18.57727295617496 42.38554833156112,18.57735487303452 42.38549507581263,18.57751994907727 42.38539013715766,18.5776350555375 42.38532262974454,18.57779598330107 42.385310641806,18.57801705128055 42.38527232052127,18.57817531767904 42.38527082628072,18.57829873838194 42.38529539405526,18.57839532548821 42.38535956566022,18.57850217334851 42.38548167721122,18.5785129819289 42.38555968208202,18.57846336678625 42.38563428414779,18.57855029847238 42.38577880228083,18.57861681767852 42.38589368900392,18.57861816421372 42.38603493513413,18.57853342854398 42.38612087129249,18.57842328272084 42.38618091921882,18.57830764389305 42.38619267219311,18.57837363191749 42.38625180393426,18.57843144681194 42.38627899579143,18.57857190084075 42.38632792475688,18.5786643626956 42.38637859871453,18.57874266393504 42.38642459184499,18.57881871766537 42.38648367108519,18.57881428827068 42.38654688631494,18.57874950467481 42.38661413277414,18.57868472101026 42.38668137917564,18.57867026189931 42.3867483637378,18.57874114181305 42.38679260131502,18.57877450804662 42.38683391706493,18.57874423523253 42.38689263493559,18.57878862145081 42.38692819085155,18.57884088559798 42.38686610516974,18.57892422931588 42.38682988452518,18.57901225675746 42.38682291960849,18.57913064974805 42.3867669962403,18.57924504175931 42.38675338717219,18.57924063728793 42.38675341010945,18.57933951910654 42.38673287748244,18.57942954512732 42.38669312936825,18.57951466594987 42.38669661382825,18.57953363428851 42.38673383020712,18.57953391563146 42.38676328811786,18.57959488174208 42.38674333086512,18.57961826743338 42.38668625420359,18.57968690982865 42.38663483355094,18.57985098921897 42.38655345596341,18.58003330483535 42.38643270374087,18.5801361175332 42.38633986128568,18.58031379069437 42.38628983521532,18.580454277619 42.38624393080532,18.58050687231486 42.3861827732748,18.58050430109324 42.38609649256155,18.58056893505724 42.38599351810731,18.58071495079003 42.38592433116052,18.58083816248638 42.38589232649265,18.58096547943786 42.38588595953038,18.58109611021389 42.38582255447384,18.58109994263479 42.38581968341843,18.5811726225232 42.38575087888862,18.58115630998672 42.38565973105032,18.58123643613018 42.38556237715099,18.58133977502008 42.38547060386172,18.58146654515909 42.38540721829324,18.58165923097777 42.38537484919778,18.58173871059042 42.38532413066966,18.58184401513107 42.38528045874596,18.58201686862197 42.38526305012072,18.58220113402177 42.38522038471776,18.5825041991517 42.38511826199564,18.58274622444383 42.3851169944171,18.58274968195021 42.38511697630499,18.58310247024621 42.38512789739575,18.58335143564988 42.38512914607435,18.58349348839916 42.38515904847434,18.5835588374633 42.38512295039462,18.58348244993312 42.3850678348212,18.58342982927351 42.38501125328026,18.58341782519532 42.3849116888373,18.58338445154148 42.38486324007597,18.5833895525632 42.3847839230499,18.58332574847795 42.38472620760624,18.58327769653179 42.38465194398125,18.58329741088396 42.3845445744852,18.58337210796892 42.38446515024593,18.58340216426135 42.3843228239153,18.58356234082113 42.38423204031679,18.58375820222462 42.38417588604521,18.58395417500882 42.38413133644744,18.58402420598624 42.38406133506437,18.58420039975464 42.38400238168613,18.58443562247442 42.38395472349574,18.58459994869705 42.38388712745541,18.5847803494795 42.38385716491226,18.58497219852255 42.3837923247463,18.58514872749749 42.38376818471011,18.58527032290737 42.38375013623716,18.58535996440667 42.38367712875186,18.58554707375039 42.3835226851204,18.58571017742382 42.38337694324041,18.58581696916103 42.38329692883817,18.58578470300837 42.38323166751542,18.58570623100185 42.38320543993438,18.58558343505862 42.38316212889926,18.58544815750993 42.38310725009036,18.58528953288222 42.38301718601154,18.58514907906281 42.38293122424577,18.58486871243138 42.38272705699753,18.58474440569279 42.38262963912666,18.5845818400352 42.38250422799452,18.58423115969733 42.38222564828884,18.5841856563486 42.38209969735354,18.58414607478423 42.38193165182944,18.58414481381297 42.38183984314524,18.58420727301196 42.38171633994674,18.58444485949423 42.3814992862887,18.58464939879517 42.38132301915169,18.58474834834242 42.38124745928988,18.58486443104167 42.38116573937919,18.5849762399325 42.38099757667512,18.58516600575427 42.38089374874598,18.58527384674925 42.38089024274077,18.58541377016201 42.38090449146604,18.58569614850607 42.38079955474543,18.58596412772015 42.38078671815123,18.5861516712965 42.38077003574652,18.58633473995907 42.380723829399,18.58654519219639 42.38069602895659,18.58668476627318 42.38066485645956,18.58680463627345 42.3806330234342,18.58693149706266 42.38058738475925,18.58717066922092 42.38054176348113,18.58734320566779 42.38050904153103,18.58770402212594 42.38049951895778,18.58813712862866 42.38050103853372,18.58847817398344 42.3805792141963,18.58887114765109 42.38069519958455,18.58920288473441 42.38087625360824,18.58971896375561 42.38109167723492,18.5902372527899 42.3812204809994,18.59087560352423 42.38128923499047,18.59150168387249 42.38127742246045,18.59205816951604 42.38119807894565,18.59253464613061 42.38116159469296,18.59289701834722 42.3812063451993,18.59310403593409 42.38122646067506,18.59329977210682 42.38126785418012,18.59339627211976 42.38114851782564,18.59342383476217 42.3810295487961,18.59319804885672 42.38085251939763,18.59286290960643 42.38065485453011,18.59285137877738 42.38065067233423,18.5924184199388 42.38043655346835,18.5924126339106 42.38043234065,18.59182195231075 42.38009703810957,18.59129639751065 42.3798070927812,18.59113271297202 42.3795341021784,18.590935194407 42.37924745973055,18.590749826343 42.37905480526123,18.59056478215211 42.37889534379529,18.59052519822012 42.37877017480542,18.59062173068178 42.37868664204409,18.59062972466542 42.37858731697325,18.59057516266326 42.37850487102267,18.59051953750368 42.37844632099773,18.5904483131095 42.37835992964575,18.59037534992281 42.37822793998465,18.59033368094024 42.37808916542029,18.59033661646731 42.37793029767006,18.59035162482189 42.37786800095334,18.59032596914958 42.37778698629783,18.5903051100136 42.37774839462729,18.59027180921033 42.37771552897872,18.59022269306064 42.37773233656851,18.5901730301126 42.37769288688569,18.59017677006047 42.37761675026844,18.59022501762628 42.37751059269794,18.59031831947033 42.37743067145709,18.59044362254257 42.37741676897095,18.59056444585576 42.37740289009604,18.5906447908696 42.37737267880852,18.59070212576084 42.3772797103508,18.59077792652782 42.37724290405863,18.59080818988216 42.37713022247441,18.59086107695336 42.3770405866708,18.59096849286235 42.37703008779356,18.59109392411134 42.37702942146529,18.59116680511001 42.37703323035019,18.59125068102337 42.37702527908078,18.59120975190719 42.37696261709292,18.59119566871428 42.37689650287379,18.59135379115426 42.37671989669983,18.59144572937402 42.37663949629206,18.59147507821302 42.37647951660055,18.5915302924516 42.37633081531234,18.59165343167762 42.37628069152255,18.59201840197042 42.37620264412811,18.59217274250729 42.37618279633541,18.59228535652345 42.37610989568843,18.59234564531914 42.37595355598022,18.59248853292401 42.37581580305538,18.59260536891941 42.375647745624,18.59255308109304 42.37556811166989,18.59260873791196 42.37546507061307,18.5927131623614 42.37539137785019,18.59278700759821 42.37524265182843,18.59289958437349 42.3752049689648,18.59303116515388 42.37518572631991,18.59324444790518 42.37517995422709,18.59351379204857 42.37513216429429,18.59373944155217 42.37510778380535,18.59402097037099 42.37502284462824,18.59425880481635 42.37496131501752,18.59444540099256 42.3747934446891,18.5945627523191 42.37460276689788,18.59469883500362 42.37440271801115,18.59499227223695 42.37425281694398,18.59525492764429 42.37416333970003,18.59551776428806 42.37409240239791,18.59571840366166 42.37407742220806,18.59583734161091 42.37404897289549,18.59591777048861 42.37393265680439,18.59599220881145 42.37391051839954,18.5959658073122 42.37385131409414,18.5959361420531 42.37375185689661,18.59587477448001 42.37363773291202,18.59589400384659 42.37355073068208,18.59599311147058 42.37351734402115,18.5960680939582 42.37349240364321,18.59619277792437 42.37347346442294,18.59630349459172 42.37347223538168,18.5964686419574 42.37345981329416,18.59660295115361 42.37343669694787,18.59670643366723 42.37342892571273,18.59678913551867 42.37355229211108,18.59678136139689 42.37363711371811,18.59672454683354 42.37369464482373,18.59668184741523 42.37372878573662,18.5967256289842 42.37380485271643,18.59677269582455 42.37392329189344,18.59677055082607 42.37395976365495,18.59673161889031 42.37401041258332,18.59670216126921 42.37404448106855,18.59671985307387 42.37409313448581,18.59697201977224 42.37406210932434,18.59716410773627 42.37404836183369,18.59724993141961 42.37405218161342,18.59733066802589 42.3740644239409,18.59748862229829 42.37408053200222,18.59762948874882 42.37410944863235,18.59776440953472 42.37411720203314,18.59782945463539 42.37409861460347,18.59787881044053 42.37408055598657,18.59795273439281 42.3740123347213,18.59797074289068 42.37397795178632,18.59796168913747 42.37393687188715,18.59794317081844 42.37388724035193,18.59797686545214 42.37384052514421,18.59800786037896 42.37378313184791,18.59802717125415 42.37370460620041,18.59808213951569 42.37360137439276,18.59814509028634 42.37354774534456,18.59823379823221 42.37347266151758,18.59835742277164 42.37342723279235,18.59844914163452 42.37336492236793,18.59853805908035 42.37331115344296,18.59865359469842 42.37332332194663,18.5988154623026 42.37335229420064,18.59881834756849 42.37335227867949,18.59890829448846 42.37340295405994,18.59895188843627 42.37343469406584,18.59903545573977 42.37342358622536,18.59912788910311 42.37343374697789,18.59919675688641 42.37339500681642,18.59928592673549 42.37336681547929,18.59936376587395 42.37336000147611,18.59940944642187 42.3733107277592,18.59946079254454 42.37325076524734,18.59951814035716 42.37321421842818,18.59956819552068 42.37318696231601,18.59961496582291 42.37316079142418,18.59964722037896 42.37313678384341,18.59979091556774 42.37301478208322,18.59989322347169 42.3728857813462,18.59999960786663 42.37279502012665,18.60012845651076 42.37273146742798,18.60025020361616 42.37269801551467,18.6002496906595 42.37264609189197,18.60030056026888 42.37255289666904,18.60039562998668 42.37244033223169,18.60045243901043 42.37237672310656,18.60056786722963 42.37227542494119,18.60077369268219 42.37214039856755,18.60093183474214 42.3720466237419,18.6011084989308 42.37195548144607,18.60123804794903 42.37196298070074,18.60130409078537 42.37190796417397,18.60128135566057 42.37185342726173,18.60122880365242 42.37182395506142,18.60118447680027 42.37178289274997,18.60107381970954 42.37171987419566,18.60106019031605 42.3716647126435,18.60109551031615 42.37164518965569,18.60109709251658 42.37161618266932,18.60107244026932 42.371580412924,18.60112252108587 42.37154147791731,18.60119909580956 42.37153554090585,18.60127367857014 42.37151718667181,18.60131586166132 42.37151147521897,18.60135958468904 42.3715098182548,18.60141362200748 42.37149295578876,18.60147675842368 42.37145118825793,18.60153224111648 42.37139151056729,18.60157281269 42.37133605599021,18.60157590840946 42.37127113777191,18.60153206686572 42.37121231179019,18.60148162533559 42.37114858447195,18.60140104014015 42.37110261992594,18.60133806454333 42.37108536012832,18.60128382480538 42.37108451029364,18.60123411739836 42.37108592152726,18.60112811547486 42.37109769389524,18.60107242794684 42.37116039439722,18.60103913567082 42.37119429651875,18.60097518022546 42.37119988224691,18.60091937961019 42.37120552398684,18.60085289554368 42.3711960290825,18.60075948162466 42.37116626475846,18.60070823278259 42.37112396008359,18.60071309426445 42.37105444112383,18.60075249683268 42.37098694800604,18.60075515484814 42.37088735840246,18.60071096579593 42.37083915474763,18.60063024520301 42.37078038323846,18.60058956572209 42.37071870444133,18.60054995036248 42.37076466894508,18.6004263177908 42.3707868654642,18.6003167231686 42.37075516161542,18.60028744374502 42.37072174169312,18.60026104832027 42.37065050374389,18.60030741692848 42.37055067820941,18.60032089650298 42.37044026490194,18.60041485669541 42.37036440380709,18.60065478708027 42.370223605557,18.60082372310647 42.37010020539139,18.60100218073073 42.37005733829504,18.60114643790746 42.37008557015604,18.60122662975172 42.37003786774345,18.60123687511508 42.36996581641856,18.60129285682295 42.3698913761138,18.60122626778227 42.36977569343084,18.60129498652083 42.36966572676187,18.60141207761549 42.36959417966241,18.60152392498611 42.36956029720438,18.60168651256549 42.36955079279663,18.60195725489828 42.3695751166398,18.60221032303663 42.36957697149261,18.60245065460654 42.36961435189161,18.60267264099633 42.36956157582168,18.60294245727229 42.36949242292763,18.60308152026463 42.36943687134482,18.60332241975059 42.36943737732967,18.60360571503746 42.36944248536734,18.60386266300692 42.36951084724539,18.60403924981819 42.36963611281426,18.60420677981892 42.36975478391057,18.60425259557715 42.36984089865856,18.60420796850136 42.36987435750643,18.60419947232152 42.36992422863379,18.60414155604536 42.36997768958269,18.60416476109718 42.37005064039615,18.60436267284189 42.37005953142567,18.6045921210098 42.37007489427852,18.60479466102176 42.37009704620527,18.60487171691467 42.37015973948039,18.60487251032658 42.37023945534492,18.60489581565305 42.37032237066184,18.6048953801035 42.37040164421207,18.60497217791517 42.37042930965353,18.60507849764645 42.37044632078361,18.60518933108367 42.37045032174424,18.60536593355728 42.37045520161669,18.60551508539572 42.37043811411706,18.60564249567501 42.37045008099109,18.60575534561298 42.37047478656178,18.60588099364308 42.37055548664476,18.60622877170017 42.3707851680556,18.60639299453061 42.37093684780859,18.6064875526268 42.37100568467389,18.60653513165708 42.37107015392272,18.60660746501304 42.37110674761961,18.60665106170917 42.3710857046105,18.60666286199538 42.37101397679435,18.60666798149493 42.37096069554833,18.60665494799479 42.37086988611211,18.60663895272434 42.37081298684865,18.60660032211345 42.37070454615736,18.60653693766922 42.37062398099712,18.60650279273682 42.37057400613891,18.6064561572363 42.37052658300993,18.60641946357272 42.37045355304012,18.60642185451899 42.37037956472376,18.60638982822337 42.37030576380691,18.60643289416207 42.37023155389215,18.60636040058892 42.37017877887726,18.60639428748497 42.37012542448737,18.6064503759533 42.37010200165461,18.60653318337824 42.370084866307,18.60660670624653 42.37002221457222,18.606622861404 42.36995240513069,18.60662338612795 42.36991145681736,18.60660788156188 42.36986712924121,18.60657798074867 42.36984557734276,18.60649013273477 42.36982364536384,18.60639881524818 42.36979177194952,18.60634087664004 42.36972734603927,18.60638097088309 42.36969226698884,18.60642101540866 42.36965220803558,18.60638332268167 42.36959016189745,18.60632907727142 42.36955808650564,18.60626197214077 42.36958833253998,18.6061675580283 42.36958386636417,18.60613335984488 42.36953425133172,18.60616669166422 42.3694938076682,18.60620299435086 42.36945537479969,18.60621639695171 42.36941178651698,18.60617521018917 42.36933730882316,18.60618100687498 42.36924265486726,18.60623832408342 42.36919090577073,18.60632483694457 42.36918305304034,18.60643777086599 42.36915291115472,18.60647714463717 42.36909364284905,18.60652492981689 42.36907640757691,18.6066014384176 42.36907914741835,18.60663692261002 42.36908539087397,18.60680259954813 42.36900082858457,18.60695853099714 42.36894092495073,18.60702454598016 42.36888151122845,18.60707773136688 42.36887137898557,18.60717124810194 42.36889793554966,18.60726794766933 42.36890971115005,18.60744442541379 42.36890628810169,18.60755782550231 42.36892289350464,18.60769796595903 42.36894919523402,18.60786763603431 42.36893104510283,18.60797733723002 42.36891076153783,18.60812727212576 42.36891732456417,18.60825086057649 42.36895355833692,18.60837089747248 42.36896766609548,18.60852061159837 42.3689520845327,18.60865715244512 42.36895133827145,18.60887702444611 42.36895751795736,18.6089228351727 42.36901989528116,18.60903355147917 42.36900688154292,18.60907079670155 42.3690364582031,18.60910169729683 42.36910329485876,18.60913931556373 42.36917009473303,18.60913331906825 42.36924209646359,18.60914404199354 42.36930656167142,18.60918938012367 42.36934011301618,18.60922865901036 42.36937062270697,18.60929638256 42.36942484934333,18.60936064790261 42.36946916809368,18.60943498981238 42.36951343167564,18.60951575092568 42.36952787985717,18.60960643926529 42.3695273835421,18.60971038872271 42.36950944276965,18.60978390958277 42.36947181501112,18.6098102326264 42.36941707382085,18.60981309365747 42.36936742443943,18.60981652883761 42.3693429889121,18.60982767496971 42.36932075786748,18.60985577201556 42.36929507293326,18.60985232919899 42.36926049712206,18.60986023907504 42.36922729062525,18.60989091787754 42.36918823913148,18.60990514922233 42.36916838543876,18.6099048505193 42.36913860679869,18.60988099038525 42.36910399383425,18.60982374130586 42.36908941717321,18.60977306057233 42.36905991440942,18.60976915425458 42.36900533858388,18.60979886083769 42.3689530604634,18.60984879485687 42.36890811655595,18.60990216227849 42.36887059891857,18.60994435577906 42.36881024820981,18.60996062835121 42.36872805246134,18.60998707932888 42.3686843641788,18.61001536739148 42.36864564598864,18.6100233769138 42.36859191699602,18.6099759505313 42.36855112337121,18.61002223638415 42.36847823699677,18.61006440652489 42.36842116288348,18.61000862223708 42.36839936274953,18.61000450106418 42.36835787129656,18.61001795893318 42.36831499355467,18.61004433983136 42.36827220361526,18.61008703788513 42.36821639504514,18.61011301760497 42.36820582923907,18.61014760598637 42.36819333423718,18.61014575596631 42.36817143757051,18.61013190741776 42.36814738356899,18.61010941991425 42.36811314936276,18.61010718922112 42.3681115255385,18.61009557612739 42.36805759892864,18.61008783215932 42.36802544969189,18.61007060489483 42.36799409323313,18.61005475073978 42.367961294484,18.61002583388345 42.36794836430629,18.60993483538605 42.36792759377505,18.6099146443596 42.36790152720179,18.60988635968958 42.36785719173928,18.60989363667395 42.36781445260799,18.60987403084201 42.36778040051441,18.60986181622999 42.36771499514533,18.6097884734288 42.36770116359765,18.60970311601009 42.36764185184246,18.60951353798834 42.36756318397042,18.60943189083914 42.3674896184806,18.60943410933597 42.36741606583148,18.60942869329601 42.367359501863,18.60940686320364 42.36729903133741,18.6094097741523 42.36720507655914,18.60932801325788 42.36712012479971,18.60929159547398 42.36702261543931,18.60930029695753 42.36693400339242,18.6093330418348 42.36685234496253,18.60928914598852 42.36677819101853,18.60921197291159 42.36673255968049,18.60917280077532 42.36665129470651,18.60918150237855 42.36656268272161,18.60924805687421 42.36650563745542,18.60921417621645 42.36647393961423,18.60916135452327 42.3664582928221,18.60912265570033 42.36643192927052,18.60906455448173 42.36637556580662,18.60903536196375 42.36633321452699,18.60892516066602 42.36634090221951,18.60892462846428 42.36628776646636,18.60901522609348 42.36623767501645,18.60902921904044 42.36619863014421,18.60899840186622 42.36616856983651,18.60895186941147 42.36613528667228,18.60888915152275 42.36609666115758,18.60880292271324 42.36610421768471,18.60875414812113 42.36611452296628,18.60871204134057 42.36612596989815,18.60866134557832 42.36614802079334,18.60860212395072 42.36616199632839,18.60854301064399 42.36616150199679,18.60846066705654 42.36613157415424,18.60839500578972 42.36606747812821,18.6083266428193 42.36594386107923,18.60828708201293 42.36582362912243,18.60819634272257 42.36567179092594,18.60814108119323 42.36547520487278,18.60802423835223 42.36526986789954,18.60794287354256 42.36515665329647,18.6078775432065 42.36503037398915,18.60787425775916 42.36492811136653,18.60790035827098 42.36477075135602,18.60799774287304 42.36467026115351,18.60814805489121 42.36453313325,18.6083069892837 42.3644383647139,18.60851954774813 42.36437662255295,18.6088180397497 42.36429926493492,18.60909642893337 42.36426139403019,18.60937472683741 42.36421443559664,18.60957122050133 42.36418609854293,18.60973622542649 42.364288183219,18.6098082430677 42.36433438701719,18.60997739944483 42.36439778417921,18.61009860625472 42.36444976733563,18.61020965285649 42.36448550747911,18.61038622852668 42.36451483012444,18.61055096244364 42.36458965327525,18.61071915779781 42.36460084695849,18.61088732308244 42.36460901142129,18.61102263273803 42.36461129791229,18.61123674397273 42.36470402339739,18.61136914879042 42.36476308971307,18.6115197200982 42.36483568715009,18.61163636558463 42.36489871780304,18.61176475786032 42.36502826227318,18.61183967532082 42.3651399261384,18.61192267014653 42.36523942935376,18.61198495474149 42.36531784291343,18.61191753910244 42.36535472643504,18.61185555244285 42.3654119594683,18.61196680661617 42.36546824085286,18.61211630846531 42.36549942144868,18.61206879438907 42.36556013083088,18.61222289390752 42.3655699513187,18.61226663380564 42.36561238029016,18.61223776480156 42.3656444094791,18.61221434332354 42.36567667174555,18.61223933539148 42.3657689846837,18.61224507842696 42.36586140341788,18.61236524210727 42.36584651976145,18.61243660260992 42.36576434448367,18.61256100526781 42.36569254482671,18.6126268664713 42.36564819990635,18.61269970113188 42.3656064432838,18.61282435404847 42.36555953240693,18.61290333691232 42.36553459925233,18.61297375949872 42.36552699282395,18.61303099435851 42.36552994908455,18.61305932254405 42.36555874950263,18.6130651009027 42.36559689457277,18.61304639885667 42.36562587044519,18.61308058652021 42.36567546324037,18.61312432709871 42.36571789188612,18.6132104102496 42.36566408129836,18.61324287937955 42.36562812043891,18.61329492173591 42.36559036653792,18.61335872997222 42.36557792589591,18.61345497530119 42.36557739588927,18.61354105809171 42.36552358497542,18.61365098692538 42.3654483079005,18.61375639034825 42.36540150189768,18.61385680200166 42.36533694430976,18.61391864379887 42.36526548762831,18.61398501060172 42.36516555954265,18.61407087755453 42.36509041433402,18.61418155951526 42.36508980393973,18.61427353101662 42.36514263365481,18.61426403075654 42.36518071137282,18.61424183306176 42.36521883996403,18.6141975398456 42.36524261511093,18.61418859743923 42.36531022451838,18.61428459159487 42.36528480455996,18.61443890791871 42.36531595542406,18.6145837077499 42.36535782606565,18.61458909484101 42.36541468909444,18.61463298021073 42.36547133970342,18.61464335939784 42.36554595420225,18.61473490139758 42.36555611641965,18.61488850032254 42.36551615479743,18.61503233110472 42.36546202362842,18.61518119007505 42.36542919927168,18.61535382321967 42.36536779679516,18.61551248723136 42.36535269674841,18.61562079202064 42.36537545736282,18.61579110109334 42.36530137496121,18.61586308048663 42.3653075469969,18.61595041584753 42.36535713844013,18.61600870262366 42.36540329039189,18.61611676193845 42.36550785328412,18.61613623855601 42.36558708151545,18.6161320943705 42.36563884523976,18.61616531379763 42.36569212699864,18.61620705667392 42.3657389537014,18.61623159561734 42.36578316908167,18.61621113001329 42.36583674774784,18.616281416352 42.36586222935806,18.61634250600455 42.36590155934451,18.61631022993845 42.36594140581588,18.61626847742517 42.36596750715227,18.61621507163865 42.36599539761757,18.61615656076187 42.36598019898393,18.61610798046499 42.36602358493904,18.61605474929547 42.36606872127689,18.61605314884306 42.36614116721646,18.61608415666809 42.36620653407687,18.61615902432482 42.36622336702285,18.61626189502274 42.36623020017504,18.61636476216443 42.36625499831933,18.61639973075349 42.36632575843235,18.61639689937097 42.36638087748071,18.6163702124418 42.36642360496386,18.61644506726526 42.36645074249464,18.61656026978584 42.36644509561466,18.61668235347942 42.36644942931187,18.616743623889 42.36647413709347,18.61675764023175 42.36651914405193,18.61673452105356 42.36657938476389,18.61673796163463 42.36658437511319,18.61679362091162 42.36672432996392,18.6168595261292 42.36687174216487,18.61687448261382 42.36700941768072,18.61686899853205 42.36713718761341,18.61685653153156 42.36724495870644,18.61679298351021 42.36735754351927,18.61674448147934 42.36747584554106,18.61671383531431 42.36760454051859,18.61671592141441 42.36767128352563,18.61669373246984 42.36772268515627,18.61665889794088 42.3677884520344,18.61665264901714 42.36787242143706,18.61666065304928 42.36796155787285,18.61671088420286 42.36801373910984,18.61675729952311 42.36803971181377,18.61689209128468 42.36802847376254,18.61701983633494 42.36802252050191,18.61709048945455 42.36798803070199,18.617133248519 42.36800353166183,18.61727831746384 42.36795551473885,18.61737710381404 42.36789463924408,18.6174366275779 42.36781299749863,18.61752471064735 42.36774693519644,18.61763088936789 42.36771487104913,18.61773322530781 42.36765397544301,18.61780014147672 42.36760114502853,18.61787060765329 42.36754829481087,18.61796613650084 42.36751628930125,18.61820349138317 42.36728866214021,18.61841381158896 42.36706024849725,18.61863209494955 42.36686826197668,18.61880903884515 42.36671858725142,18.61903948159603 42.36660228106965,18.61913725970274 42.3665091557396,18.61917060412968 42.36642761038252,18.61931417341602 42.36635667433846,18.61950407679412 42.36636122954344,18.61964384902743 42.36629031406778,18.61975709982045 42.36622515691857,18.61975327315487 42.36616256609787,18.61980013233698 42.36613424315245,18.61987569413046 42.36608320286745,18.61994983491018 42.36604265336711,18.61990649126087 42.3659802441865,18.61992110743454 42.36592405202126,18.61993578084828 42.36587347065557,18.61998086702682 42.36580310486524,18.62004780193673 42.36575648356511,18.62012013172361 42.36576675392215,18.62011944270429 42.36569916322011,18.62019108334778 42.36564184284872,18.62023369045415 42.36557045359962,18.62022811407301 42.36549577490987,18.62023220340269 42.36542460003609,18.62028968975159 42.36539581921468,18.62033265935782 42.36536000395427,18.62031771458248 42.36533401533334,18.6202888554997 42.36531399892426,18.6202308977314 42.36529653349098,18.62017760967189 42.36526481162132,18.62016678355595 42.36514747086409,18.62019465626633 42.36504770271903,18.62020323394455 42.36494448430905,18.62024562305995 42.36485175047802,18.62027353182583 42.36475553956682,18.62034495383564 42.36467687441208,18.62039784815061 42.36464437865521,18.62045988893517 42.36461575488519,18.62058025529685 42.36461508449774,18.62067166124163 42.36460746006447,18.62073378007434 42.36456086492541,18.62080552811359 42.36451421605727,18.62091619266865 42.36450648404348,18.62101773608483 42.36454860942312,18.62101831689503 42.36460552819126,18.6210382653251 42.36467301183388,18.62108221463381 42.36473324634734,18.62116410044428 42.36473634742306,18.62126487773293 42.3647183771123,18.62128867918397 42.364752895877,18.62131245117002 42.36478452717437,18.6213129524727 42.36483361394045,18.62137547951251 42.36483326531879,18.62142974827132 42.36478964839726,18.6215274762133 42.36479199101476,18.62155869679951 42.36480822628869,18.62156894051417 42.36482964260485,18.62153978998788 42.36484967475507,18.62158683278597 42.36486385047448,18.62168441334183 42.36485175567598,18.62177820395722 42.36485123241631,18.62184872399181 42.36486816465808,18.621872437292 42.36489402092897,18.62194251466912 42.36486764126123,18.62204382606379 42.36483819958138,18.62211378526535 42.36480026997651,18.62219958288319 42.36478246522637,18.62228922940436 42.36475886365909,18.62234754832164 42.36477018237313,18.6224032736284 42.3647915568587,18.62243826308843 42.36481000856931,18.62242319248919 42.36486495761188,18.62248965723272 42.36486747399884,18.62256743235052 42.36482950039984,18.62257471642734 42.36477748245267,18.6226001187064 42.3647540515458,18.62263277438131 42.36472229317224,18.62266957362784 42.3647093301487,18.62272230274765 42.36468714137126,18.62277624577254 42.36461176154259,18.62288910351602 42.36456492863652,18.62297913426012 42.36457886345684,18.62303431860598 42.36462475698374,18.6230661440056 42.36467944402822,18.6231206485609 42.36465892583274,18.62317112685809 42.36462687955933,18.62320997006528 42.36460356127177,18.62322406707242 42.36457508955599,18.62325510037205 42.36454229029427,18.62327948564599 42.36452231864949,18.62334953324405 42.36449305037683,18.62340818236743 42.36449560985108,18.62342822513302 42.36454458751658,18.62341053471484 42.36456501850182,18.62338952978845 42.36458234332574,18.62338597668568 42.36461701481018,18.6233982034981 42.36466603622819,18.62340649255991 42.36471219199295,18.62344951006621 42.36471483895208,18.6235038964585 42.36468277065028,18.62361708021397 42.3646676990489,18.62374783402455 42.36468450019286,18.62380770427377 42.36471126274606,18.6238400356283 42.36473479219951,18.62387636062637 42.36470071685187,18.62387132511736 42.36465671139099,18.62391178259922 42.36457857920944,18.62398477966368 42.36454429854597,18.62404850440626 42.36449990807036,18.62417657902519 42.36447209323181,18.6242408942688 42.36448528186236,18.62430083402226 42.36451881820931,18.62437824109239 42.36446757646341,18.62442054293502 42.36443850283897,18.6244737408193 42.36439252284345,18.62450530755794 42.36434153784616,18.6244317200752 42.36431823968926,18.62439001220278 42.36427443960131,18.62440768791679 42.36420998355746,18.62447109929682 42.36413510956083,18.62452082815024 42.36406708653249,18.62452055008632 42.36403999033239,18.62451992444808 42.36397902395439,18.62453718289209 42.36387392333073,18.62457321237947 42.36383842574402,18.62463285563045 42.36381580427783,18.62477680744214 42.3638012151346,18.62491216092186 42.36368771826089,18.62498443119091 42.36368731297532,18.62504041719862 42.36362565687643,18.62512389013513 42.36358269334088,18.62511935706431 42.36353228344942,18.62520741271847 42.3635050884777,18.62531964969457 42.36348665813543,18.62526718042102 42.36346025147495,18.62521440648134 42.36340417866425,18.62529379164974 42.36331472989522,18.62540192170797 42.36328742221423,18.6254904341133 42.3633047262376,18.6254776268752 42.36323062859135,18.62549368294754 42.36315920782587,18.62554610709702 42.36313479700318,18.62562508271011 42.36312299698524,18.62572107569405 42.36308685679244,18.62578093395647 42.36305091940379,18.62581749654787 42.3629985836643,18.62586575478256 42.3629449708326,18.62589994840196 42.36291081247374,18.62593777046478 42.36285165167233,18.62601160385444 42.36283601591343,18.62608800980874 42.36284745392706,18.62617275089573 42.36288851289845,18.62624456192052 42.36284360770761,18.62621541941243 42.36274290077421,18.62621453411549 42.36265686895684,18.62623964009347 42.36256628234066,18.62630915213303 42.36248723036723,18.62650950988968 42.36230638960002,18.62664738323202 42.36219720354635,18.6268629717987 42.36213608000683,18.62707121039821 42.36209408586488,18.62726812172281 42.36211097741528,18.62746497453104 42.36214370222606,18.62761995239917 42.36218546482463,18.62774435501212 42.36223953084773,18.62782070921082 42.3622985532614,18.62799389082645 42.36247491791762,18.6280334413277 42.36256598866154,18.62804234055781 42.3626800554858,18.62800420305384 42.36272591711196,18.6281010483822 42.36275675371267,18.62820894637759 42.36273617528072,18.62837026623479 42.3627324938104,18.62850266707516 42.36276304913852,18.62854186512526 42.36281988673548,18.62856567867364 42.36288251696,18.62870069191574 42.36287034404213,18.6287500875832 42.36279303636246,18.62879936528418 42.36270431758637,18.62887563980328 42.36261259356052,18.6289293031055 42.36255842374149,18.62896248087198 42.36247726837151,18.62912126215946 42.36246856102564,18.62920490146739 42.36246635621272,18.62929520868855 42.36248754975669,18.62937251509327 42.36249567214505,18.62944215894702 42.36250954362998,18.6295038745029 42.36250348927203,18.62963853429152 42.36245708170403,18.62972689276224 42.36241378843385,18.62971445414107 42.3623311233135,18.62969004946851 42.36221143751058,18.62971003870527 42.36216268233268,18.62974698943141 42.36211696851533,18.62978869239545 42.36204255616103,18.62980836030088 42.36195448905755,18.62990455965266 42.36190930340148,18.63006959691416 42.36189944241104,18.63019085478994 42.36194042312135,18.63032816138058 42.36197536068767,18.630513521334 42.36198324097391,18.63063403965892 42.36195279781371,18.63072420198657 42.36193424633203,18.63081508368241 42.36194869970444,18.63088180418202 42.36196794041477,18.63095371279199 42.36200106761316,18.63096531701735 42.36204913619349,18.63093405274214 42.36214157367686,18.63089427054692 42.3621894171439,18.63097107201335 42.36221576779602,18.63106005331837 42.36223782482104,18.63112857898236 42.362266777796,18.6311572660703 42.36230399822735,18.63112987526172 42.36238153306823,18.63119075188502 42.36242583062481,18.63117132370326 42.36249439196544,18.63128043915209 42.36252948796316,18.63138555803847 42.36256758265818,18.63138211694554 42.36262414895432,18.6314871743916 42.36265629164738,18.63158016707865 42.36272934651586,18.63172162334341 42.36272854521042,18.63183212933829 42.36271955171587,18.6319392481922 42.3627273120639,18.63210187385725 42.36276385172548,18.63218994090964 42.36283529747757,18.63226756217278 42.36290538578808,18.6323442759649 42.36295819181989,18.63249271855246 42.36310610000481,18.63247723197106 42.36318659332358,18.6325051870961 42.36325879966476,18.63262517406722 42.36328626087146,18.63268020743004 42.36334625271539,18.6326653477391 42.36348704663179,18.6327526911604 42.36351469295622,18.63285652388656 42.36355832672161,18.63292842323445 42.36367048639458,18.63295692261698 42.36379495329009,18.63301254213863 42.36391122575186,18.63301371275747 42.36402378708034,18.63319259150485 42.36430605148318,18.63326232129298 42.36459689228639,18.63330150002949 42.36486550340752,18.6334145629176 42.36524122808657,18.6334176864168 42.36554140779698,18.63342808598289 42.36595804124309,18.63341451006986 42.36640169552122,18.6333567255365 42.36666224832999,18.6332075001636 42.36698836859624,18.63287599904021 42.3672851647042,18.63267231974474 42.36745546266585,18.63250399230963 42.3676385709414,18.63223050436913 42.3678699826081,18.6320707691295 42.36800325312961,18.63194943206826 42.36801955333895,18.63189189691164 42.36806804957007,18.63192353485682 42.36810875447096,18.63197747975815 42.36818032772995,18.63192719406094 42.36827495163115,18.63182101476632 42.36837156543076,18.63170597226272 42.36848540865849,18.63153237471735 42.36855664868413,18.63134942584829 42.36874503617776,18.63121897851645 42.36890190102646,18.63108251912137 42.36898854297964,18.631062561791 42.36910184762558,18.63106438250604 42.36927747963348,18.63112898896047 42.36939420883323,18.6312462609571 42.36949502707844,18.63138454270473 42.36958401669306,18.63138986580951 42.36958788970898,18.63158097521247 42.36967657984089,18.63175599363731 42.36974194191499,18.63187859004065 42.36984663255792,18.63200106519006 42.36993961430498,18.63207607697394 42.37004067142478,18.63222464235418 42.37010227976985,18.63247345869317 42.37015160968043,18.63263742673907 42.37017019533022,18.63282032681837 42.37010047858021,18.63298453621931 42.37007049547555,18.63312778783882 42.37009500777057,18.63317899976574 42.37017676068581,18.63329756727784 42.37014693213774,18.63344552479112 42.37014999510683,18.63349384137982 42.37022388105473,18.6336572004648 42.37018392129057,18.63381491073494 42.37010886489853,18.63390326649281 42.37010683110558,18.63399423960297 42.37008052363324,18.63409928452985 42.3700213788692,18.63420096934644 42.37001478851013,18.63430518956645 42.37000849885505,18.63443746192608 42.37002726258839,18.63460082027389 42.36998730188443,18.63478031200155 42.36997457128783,18.63493814331033 42.36991122241191,18.63511161904782 42.36982826851132,18.63513351663165 42.36977961320642,18.63514217479222 42.36971880566406,18.63507804860884 42.36964891352997,18.63517736156849 42.3695468657426,18.63531385720974 42.36946412200071,18.63540800912672 42.36937381289886,18.63550760696738 42.36929908533529,18.63564950712359 42.36922801979308,18.63576990947216 42.36912194799658,18.63593340525723 42.36904172377213,18.63599090598752 42.36892202730807,18.63610274984494 42.36884904490475,18.63627876594713 42.36882633747437,18.63637690549818 42.36884748096389,18.6364218736478 42.36893403791431,18.63656844038773 42.36890426353683,18.63669143656551 42.36896143713679,18.63667249692715 42.36902303816436,18.63666850897946 42.36910987444424,18.63659571709646 42.36917178279223,18.6365026995878 42.36917231371044,18.63652284944734 42.36922645708514,18.63662087611649 42.36923674922987,18.63673886374925 42.36928309949622,18.63687206824342 42.36938000382514,18.6369368092771 42.36948453342557,18.63691809676998 42.36956783632492,18.63684541810737 42.36964059565603,18.6368454559407 42.36964421265648,18.63683672810381 42.36970844351464,18.63679273825443 42.36975303006197,18.63670506960295 42.36979693715598,18.63653470331713 42.36989195710734,18.63653240304977 42.36994581119352,18.6366407940333 42.36996611225809,18.63669754772079 42.37003478705965,18.63667503102233 42.3701142639441,18.63662869854317 42.37014902766481,18.63659388356677 42.37021508145847,18.63659752853416 42.37029410251513,18.63669663080219 42.37037033444656,18.63677640714456 42.37043107859027,18.63688419920746 42.37046841234253,18.63692057939029 42.37037505668264,18.63701776923841 42.37029170350676,18.63714814939321 42.37025645965156,18.63728402934006 42.37030053244648,18.63728938479512 42.37036605037804,18.63743873110402 42.37035829717976,18.6375977771664 42.37038498753275,18.63778958087332 42.37041839020245,18.63789259517598 42.37044540049028,18.63798504437914 42.37052397647812,18.63801102742232 42.37060686931807,18.63797421494151 42.37065882865664,18.63810043178633 42.37067190635541,18.63822679331535 42.3706987827656,18.63837223021861 42.37076349897985,18.63845207945003 42.37080789094313,18.63864687303657 42.37077516288001,18.63878313304689 42.37076114669399,18.63885755315097 42.37073312114614,18.63892310506774 42.37074999530879,18.63902912567895 42.37074239988325,18.63915165005586 42.37072453662532,18.63927308954315 42.37072729069479,18.63942732341982 42.370740206451,18.63954872698552 42.37073951052462,18.6397160270661 42.37066265291736,18.63980450559041 42.37059683917624,18.63996755188574 42.37054453630528,18.64010666346581 42.37054978138291,18.64023759577231 42.37055507325309,18.6403803204094 42.37051497294406,18.64048299852067 42.37047422819256,18.64061292171801 42.37046529151134,18.64074375861427 42.37046151849675,18.64087066488126 42.37047287603241,18.64094034796353 42.37048758382825,18.64102198196029 42.37047200667701,18.64096412250734 42.37041492824833,18.64099182771011 42.3703271419558,18.64134191437803 42.3701710268767,18.64151259732723 42.37006731001959,18.64163848490161 42.3699819802804,18.6418214501797 42.36988420635699,18.6419886024242 42.36982888370895,18.64212739560599 42.36980391154918,18.64223794358108 42.36981536147583,18.64245833937927 42.36977178894552,18.64253410489983 42.36971014438601,18.64266029976061 42.36971687207511,18.64274542937635 42.36965674533001,18.642850737387 42.36959650224215,18.64299116089331 42.36951742031076,18.64314218501214 42.36948673160175,18.64318301439599 42.36953122352115,18.6432640828761 42.36956430156939,18.64337947960985 42.3695039997752,18.64344423298229 42.36942535358048,18.6434687867102 42.3693618482749,18.64357925653589 42.36931275641411,18.64364452158691 42.36928256169531,18.64368897796873 42.36919285044266,18.64382955759053 42.3691286754005,18.64392442042782 42.3690349457373,18.64397380276832 42.36893402390233,18.64402326395624 42.36884055601867,18.64395984039953 42.36872788723871,18.64391614414718 42.36862325134597,18.64383492539921 42.36855029839931,18.64375374382133 42.36848084146602,18.64368661032319 42.36839731834814,18.643671306126 42.36829251857061,18.6436183316413 42.36820541744326,18.64357970070901 42.36813221859566,18.64350805754712 42.36806969894778,18.64350328874214 42.36806623017925,18.64347441726748 42.36802094518506,18.64348765242347 42.36792996574512,18.64348098901477 42.36787058881467,18.64345486180459 42.36782944846105,18.64341756684048 42.36779479072994,18.64338170455967 42.3677557628933,18.6433105051071 42.36773519580238,18.6432621524946 42.3676375786728,18.64326592413546 42.36754665356671,18.64319468795785 42.36752259026788,18.64307620725318 42.36750579166971,18.64304707772703 42.36743603384749,18.64301813284566 42.36738375631298,18.64295032944668 42.36710485153936,18.64292823578818 42.36679054040889,18.64303731875728 42.36645235293701,18.64307330509259 42.36630417454781,18.64321455556305 42.36604903507639,18.64331224252501 42.36581726694836,18.64343541023684 42.36550862720153,18.64359230597248 42.36536982008497,18.64366542933541 42.36533178858016,18.64357927284009 42.36520691994923,18.64354463366274 42.3651402579933,18.64364554817079 42.3650560987451,18.64374164612193 42.36505136548794,18.6438265658258 42.36505923322762,18.643791617275 42.36496332111696,18.64376272176802 42.36490498373659,18.64390795092771 42.36473281220572,18.64419443125158 42.36454728814444,18.64456667869047 42.3643444269154,18.64492538962854 42.36415970516763,18.64545036402636 42.36398599729024,18.64581768299018 42.36384913023451,18.64597147471506 42.36383027422907,18.64616515318732 42.36375130175557,18.6462979537352 42.36366369880918,18.64644750273376 42.3636269010091,18.64655719707058 42.36365321344828,18.64668661252799 42.36362850893431,18.64677895477098 42.3635471281718,18.64698994474615 42.36347709584278,18.64725862950079 42.36343188025789,18.64752731426595 42.36338666378744,18.64771122647591 42.36339529759307,18.64784161653986 42.36330965132866,18.64805760458631 42.36324776139799,18.64832371235217 42.36319353686791,18.647017 42.369377))",
Plav =
"POLYGON((20.005776 42.70841 20.001156 42.707085,19.996342 42.705623,19.993997 42.703835,19.990916 42.702905,19.98651 42.702279,19.983651 42.702329,19.980809 42.702941,19.976443 42.70358,19.97455 42.704035,19.969279 42.706236,19.96587 42.706999,19.963742 42.706051,19.960627 42.703995,19.958841 42.701775,19.958252 42.701223,19.956727 42.701249,19.955228 42.702119,19.953153 42.702858,19.949293 42.701377,19.945442 42.700177,19.940461 42.699418,19.936865 42.700324,19.930995 42.70169,19.925788 42.699809,19.921938 42.698608,19.917516 42.697417,19.913873 42.696775,19.910984 42.695839,19.909243 42.695025,19.906346 42.693808,19.902543 42.694153,19.898909 42.693792,19.894686 42.692878,19.891595 42.691522,19.888825 42.688193,19.886806 42.684429,19.884067 42.682083,19.879249 42.680334,19.875408 42.679413,19.872508 42.678054,19.86446 42.67664,19.860459 42.676705,19.864542 42.672981,19.869786 42.6698,19.867847 42.668707,19.864364 42.666935,19.861196 42.662908,19.858239 42.659581,19.857767 42.656494,19.855784 42.653854,19.85284 42.650948,19.848215 42.649195,19.845877 42.647404,19.841285 42.646775,19.8378 42.644863,19.835623 42.642085,19.832628 42.63735,19.830031 42.633172,19.829507 42.628258,19.830155 42.624309,19.826574 42.625632,19.82318 42.626812,19.821089 42.626986,19.819396 42.627717,19.818833 42.628007,19.818027 42.626473,19.822746 42.62499,19.82461 42.623554,19.82533 42.622136,19.824067 42.617936,19.823034 42.615139,19.822216 42.613183,19.821985 42.61178,19.823674 42.610909,19.823005 42.607544,19.821143 42.602369,19.819936 42.600138,19.816843 42.598499,19.812421 42.597023,19.808798 42.596799,19.805737 42.596285,19.800963 42.595799,19.795675 42.597289,19.789593 42.597667,19.786179 42.598143,19.783697 42.5979,19.781834 42.599336,19.781861 42.600321,19.780351 42.600766,19.778979 42.599381,19.777278 42.59983,19.771985 42.601179,19.767833 42.602509,19.764636 42.603966,19.763724 42.605387,19.762621 42.60681,19.759933 42.606008,19.755722 42.60523,19.75853 42.603498,19.760783 42.602338,19.763583 42.600325,19.765808 42.59818,19.767637 42.595479,19.769291 42.593343,19.771095 42.589799,19.771782 42.587115,19.771881 42.583878,19.771026 42.580516,19.768906 42.579564,19.767609 42.58085,19.765765 42.582989,19.762535 42.58318,19.759265 42.581965,19.754846 42.580486,19.751414 42.580258,19.749111 42.57959,19.749651 42.578456,19.75075 42.576892,19.749185 42.575369,19.747986 42.573277,19.749267 42.571429,19.751662 42.568578,19.753114 42.566024,19.753032 42.563071,19.750063 42.558897,19.747703 42.55612,19.747828 42.553727,19.749291 42.551594,19.747731 42.550212,19.745235 42.549406,19.743451 42.546761,19.742605 42.543679,19.741185 42.540466,19.741527 42.539054,19.743006 42.537484,19.745625 42.535896,19.747511 42.535304,19.749924 42.533157,19.751181 42.530465,19.75224 42.527495,19.753474 42.523959,19.755526 42.522521,19.757198 42.521088,19.758482 42.51938,19.758388 42.516005,19.759269 42.51346,19.760688 42.50978,19.761956 42.50751,19.763964 42.504525,19.765778 42.501402,19.768012 42.499679,19.771199 42.498082,19.776119 42.497302,19.779849 42.494711,19.781713 42.493416,19.78376 42.491836,19.785794 42.489835,19.785755 42.488429,19.786459 42.486449,19.788296 42.484169,19.791074 42.481593,19.794635 42.479849,19.797833 42.478673,19.80118 42.476088,19.805437 42.472081,19.808456 42.47133,19.811664 42.470575,19.815822 42.469805,19.819011 42.468348,19.822955 42.466737,19.826741 42.466254,19.829218 42.466496,19.832111 42.467996,19.834855 42.470906,19.835506 42.473709,19.834447 42.476539,19.835615 42.477505,19.837155 42.478183,19.840178 42.477572,19.843758 42.476529,19.845666 42.476779,19.847634 42.479139,19.848868 42.482354,19.851548 42.483014,19.853427 42.48228,19.855661 42.480696,19.857329 42.479262,19.85979 42.47894,19.861723 42.480034,19.863643 42.480706,19.865584 42.48208,19.867347 42.48388,19.866632 42.485439,19.86688 42.487404,19.869556 42.487923,19.871312 42.489441,19.871944 42.491541,19.872006 42.49365,19.87531 42.496127,19.879482 42.495777,19.880712 42.492381,19.881603 42.490397,19.882904 42.48939,19.884386 42.4881,19.88659 42.485531,19.889027 42.484365,19.891876 42.484318,19.893053 42.485564,19.894513 42.4899,19.895394 42.493965,19.899658 42.496707,19.900089 42.498388,19.902068 42.501027,19.902186 42.504964,19.904576 42.508582,19.906662 42.508406,19.910078 42.508208,19.911991 42.508597,19.916607 42.510348,19.919301 42.511428,19.922959 42.512914,19.927364 42.513964,19.929476 42.514632,19.932762 42.516404,19.934714 42.518059,19.935953 42.521273,19.936955 42.522944,19.93845 42.522075,19.939538 42.520368,19.94134 42.517102,19.945759 42.512384,19.948385 42.511214,19.950479 42.511319,19.955057 42.511803,19.960158 42.51073,19.962615 42.510266,19.965297 42.510922,19.967444 42.512714,19.972044 42.5139,19.976959 42.512971,19.980706 42.511217,19.982779 42.510618,19.985439 42.510572,19.98791 42.510529,19.990539 42.509498,19.992961 42.507908,19.995992 42.507574,19.997932 42.508806,19.999125 42.510473 20.000328 42.512421 20.002529 42.515898 20.003939 42.518406 20.007126 42.522991 20.007768 42.525231 20.00806 42.528461 20.00944 42.529984 20.009507 42.532092 20.00793 42.53634 20.008629 42.540407 20.01138 42.543172 20.014589 42.542412 20.016844 42.541528 20.018931 42.54135 20.021986 42.541717 20.025276 42.543488 20.028372 42.54512 20.0326 42.546451 20.036049 42.547233 20.039105 42.547601 20.041789 42.548256 20.044293 42.549195 20.045687 42.55114 20.047068 42.552662 20.04945 42.555714 20.051044 42.557935 20.053557 42.559156 20.054888 42.559132 20.057903 42.558233 20.059787 42.557637 20.063544 42.556162 20.066559 42.555263 20.07052 42.554206 20.072811 42.554446 20.07288 42.556554 20.073746 42.559774 20.075002 42.563267 20.077187 42.566041 20.077668 42.569127 20.07886 42.570652 20.080043 42.571896 20.081249 42.573844 20.081017 42.578349 20.08032 42.580331 20.079044 42.582043 20.079318 42.584569 20.079406 42.587241 20.077944 42.589096 20.07463 42.592532 20.072267 42.595952 20.069161 42.599947 20.06813 42.603341 20.066486 42.605481 20.067131 42.60772 20.069298 42.609931 20.069789 42.613298 20.06956 42.617944 20.0706 42.620598 20.072776 42.62309 20.078617 42.626922 20.083125 42.630778 20.086877 42.634788 20.087174 42.638018 20.089561 42.641069 20.093281 42.644095 20.096765 42.645718 20.100044 42.646924 20.103152 42.648695 20.104351 42.650361 20.105763 42.652726 20.104724 42.65584 20.102123 42.657857 20.09857 42.659892 20.094273 42.662503 20.091152 42.666077 20.088699 42.666826 20.084355 42.668031 20.083096 42.670305 20.082408 42.672568 20.081576 42.67624 20.079415 42.680078 20.076399 42.681118 20.072556 42.680203 20.066264 42.680177 20.063062 42.681361 20.060464 42.683518 20.057982 42.683422 20.056467 42.683731 20.05379 42.683498 20.050746 42.683694 20.050819 42.685943 20.049364 42.68808 20.046165 42.689403 20.044319 42.691265 20.041166 42.693994 20.036678 42.696748 20.033266 42.697371 20.029845 42.697714 20.028184 42.699432 20.027534 42.70296 20.02846 42.708007 20.030284 42.71135 20.028396 42.711947 20.026853 42.711412 20.024347 42.710612 20.022232 42.710087 20.01936 42.709717 20.016137 42.710337 20.011717 42.70929 20.005776 42.70841))",
Danilovgrad =
"POLYGON((19.030832 42.482571,19.032165 42.481392,19.029639 42.478413,19.032095 42.477057,19.034302 42.474202,19.03654 42.473348,19.038136 42.4745,19.041758 42.475634,19.044653 42.473606,19.048281 42.475073,19.051678 42.476209,19.055705 42.474504,19.05972 42.472132,19.062623 42.470604,19.064677 42.472252,19.063804 42.473927,19.06248 42.475607,19.064977 42.476751,19.068547 42.474716,19.071911 42.473851,19.073907 42.471997,19.076373 42.471307,19.079315 42.472112,19.082212 42.47025,19.083993 42.469066,19.085367 42.470387,19.084939 42.471725,19.086513 42.471543,19.088534 42.47119,19.090344 42.471673,19.093263 42.471144,19.094374 42.4703,19.096387 42.469446,19.098203 42.470263,19.100495 42.472575,19.103434 42.473213,19.106561 42.471682,19.109046 42.472157,19.11174 42.471631,19.114676 42.472102,19.116279 42.473587,19.118987 42.473893,19.121485 42.475036,19.12488 42.476002,19.12758 42.475809,19.130294 42.476448,19.13323 42.476919,19.135269 42.477566,19.137311 42.478379,19.137524 42.47771,19.139776 42.477687,19.144266 42.476808,19.145833 42.476292,19.14695 42.47578,19.147425 42.477109,19.148124 42.478436,19.152409 42.478726,19.156938 42.480014,19.161031 42.482139,19.163283 42.482116,19.165514 42.480926,19.168439 42.480729,19.171139 42.480534,19.172962 42.481682,19.174776 42.48233,19.177223 42.480638,19.178771 42.479121,19.182816 42.478578,19.185284 42.478052,19.187268 42.475697,19.187221 42.473196,19.188767 42.471512,19.194622 42.471451,19.199394 42.473734,19.201224 42.475216,19.202588 42.475868,19.203329 42.479362,19.204749 42.483015,19.206833 42.485994,19.208907 42.488473,19.210547 42.49179,19.210598 42.494458,19.20903 42.494975,19.210651 42.497292,19.213611 42.498927,19.215204 42.499744,19.217007 42.499725,19.217923 42.500548,19.218422 42.503044,19.220478 42.504523,19.221179 42.505849,19.220545 42.508023,19.219447 42.509536,19.216759 42.510399,19.213839 42.51093,19.211618 42.512622,19.212557 42.514612,19.215493 42.514914,19.217533 42.515559,19.21554 42.517415,19.214236 42.51993,19.212658 42.519947,19.210395 42.519471,19.209233 42.517649,19.207437 42.518002,19.207697 42.519833,19.208442 42.523494,19.206007 42.525854,19.203153 42.529887,19.204997 42.532034,19.208434 42.534999,19.212066 42.536294,19.214384 42.539604,19.214193 42.54144,19.212428 42.54346,19.212463 42.545294,19.214088 42.547778,19.215047 42.550768,19.215987 42.552759,19.21626 42.555257,19.219217 42.556559,19.224639 42.557001,19.224471 42.560004,19.225643 42.562326,19.228162 42.564299,19.230224 42.565944,19.232273 42.566922,19.234786 42.568562,19.235066 42.571394,19.236893 42.572541,19.239619 42.573512,19.241662 42.574156,19.242375 42.575982,19.242417 42.57815,19.242701 42.581148,19.242746 42.583482,19.245548 42.588286,19.246983 42.592439,19.249756 42.595743,19.251858 42.599388,19.253298 42.603707,19.254501 42.607529,19.256804 42.609838,19.25933 42.611977,19.261175 42.613957,19.262445 42.621113,19.264586 42.626591,19.266963 42.632567,19.268862 42.637215,19.270077 42.641536,19.271984 42.646517,19.272951 42.649674,19.275498 42.652813,19.279418 42.656771,19.282856 42.659233,19.287383 42.659681,19.289895 42.660987,19.290849 42.663477,19.292889 42.663787,19.294723 42.6651,19.292479 42.665876,19.289573 42.66741,19.284226 42.671139,19.280928 42.675678,19.278511 42.67904,19.277647 42.681051,19.275222 42.684079,19.275286 42.687247,19.276725 42.691399,19.27522 42.695251,19.270275 42.696641,19.268541 42.700328,19.269495 42.702818,19.268205 42.706168,19.263748 42.709386,19.261361 42.714414,19.257102 42.716296,19.253787 42.720168,19.246553 42.731753,19.242433 42.740802,19.241603 42.744646,19.239928 42.7515,19.236655 42.757705,19.233074 42.759745,19.228395 42.763465,19.227917 42.762136,19.226268 42.758819,19.222824 42.756189,19.221457 42.755703,19.219376 42.753392,19.21662 42.751254,19.216123 42.748925,19.216072 42.746258,19.215336 42.743264,19.214144 42.740109,19.21115 42.737307,19.209765 42.735821,19.20901 42.731828,19.20986 42.728984,19.212058 42.725626,19.214714 42.722596,19.216946 42.721071,19.215554 42.719252,19.211921 42.718457,19.209638 42.717315,19.206887 42.715343,19.203238 42.713715,19.200497 42.712244,19.204318 42.711036,19.205891 42.710519,19.209492 42.709647,19.216709 42.708735,19.223035 42.7085,19.22733 42.708454,19.229099 42.706433,19.232474 42.705563,19.234937 42.704369,19.236926 42.702013,19.236842 42.697679,19.233374 42.693715,19.229987 42.693919,19.224819 42.695475,19.218513 42.696711,19.215547 42.695242,19.211456 42.694119,19.20962 42.692638,19.210706 42.690292,19.210658 42.687792,19.207676 42.685489,19.204713 42.684187,19.202466 42.684878,19.199108 42.686581,19.196224 42.689446,19.191978 42.691992,19.188381 42.69303,19.185251 42.694897,19.182128 42.697098,19.180354 42.698951,19.177221 42.700651,19.172719 42.701698,19.169087 42.700902,19.166619 42.701928,19.163892 42.701122,19.162716 42.698633,19.162209 42.695637,19.162627 42.693799,19.161012 42.691981,19.158523 42.69184,19.156013 42.690532,19.151915 42.688907,19.148511 42.688108,19.141506 42.688179,19.136772 42.688894,19.1334 42.689928,19.130011 42.689962,19.125286 42.691176,19.118991 42.693073,19.113567 42.693127,19.111049 42.691318,19.107914 42.693016,19.103638 42.694058,19.098463 42.695443,19.094641 42.696647,19.088355 42.699209,19.082278 42.700768,19.07886 42.699134,19.077922 42.697142,19.076094 42.695992,19.072001 42.69453,19.067698 42.694071,19.064082 42.694105,19.060025 42.694811,19.057556 42.695834,19.054601 42.694861,19.054174 42.696366,19.052399 42.698384,19.049673 42.697575,19.047637 42.697428,19.044015 42.697128,19.039015 42.695507,19.035851 42.695536,19.033548 42.692889,19.03033 42.689584,19.025983 42.686289,19.023019 42.684648,19.02254 42.682985,19.022494 42.680151,19.024052 42.678636,19.021551 42.677659,19.018821 42.676516,19.015899 42.677543,19.014328 42.678224,19.012718 42.676405,19.009733 42.67343,19.007876 42.670279,19.004931 42.669805,19.001316 42.669837,19.000376 42.667511,19.000339 42.665177,18.998929 42.661688,19.00382 42.656642,19.003783 42.654308,19.004416 42.651468,19.007751 42.648104,19.013817 42.646048,19.018945 42.641834,19.020695 42.638316,19.020422 42.635317,19.019035 42.633329,19.01968 42.631322,19.02304 42.629625,19.022995 42.62679,19.021192 42.626973,19.021184 42.626473,19.021834 42.6248,19.020233 42.623481,19.016182 42.624351,19.014151 42.624369,19.011192 42.622895,19.009405 42.624078,19.006937 42.625101,19.005157 42.626784,19.003603 42.628466,19.000873 42.627156,18.998854 42.628008,18.995956 42.630368,18.993472 42.63039,18.989175 42.629927,18.986689 42.629782,18.983715 42.627307,18.980983 42.62583,18.97558 42.626878,18.971742 42.626911,18.969013 42.625601,18.966507 42.624122,18.963334 42.623315,18.959925 42.621844,18.956288 42.620207,18.949938 42.61826,18.945649 42.618296,18.945625 42.616629,18.946515 42.615788,18.948514 42.613604,18.94847 42.610603,18.949336 42.608094,18.950655 42.605749,18.953354 42.605059,18.954941 42.605546,18.957193 42.605193,18.960332 42.603832,18.96031 42.602332,18.958031 42.600851,18.957324 42.598856,18.959543 42.596336,18.961323 42.594653,18.9647 42.594124,18.967172 42.593436,18.968531 42.593757,18.971031 42.594903,18.973054 42.594385,18.972803 42.59272,18.969827 42.589911,18.97003 42.588409,18.971379 42.588064,18.972968 42.588717,18.97456 42.589537,18.976358 42.589021,18.977242 42.587846,18.977432 42.58551,18.978996 42.584496,18.979417 42.582492,18.982119 42.582135,18.985052 42.582109,18.98819 42.580748,18.99266 42.57804,18.996684 42.57567,18.998917 42.57415,19.002051 42.572621,19.005849 42.570253,19.008729 42.566893,19.013864 42.563512,19.016318 42.561822,19.019902 42.560289,19.021903 42.558437,19.023914 42.557251,19.026816 42.555391,19.030615 42.553188,19.033739 42.551159,19.035715 42.547806,19.034802 42.547147,19.032518 42.545334,19.030467 42.544019,19.030451 42.543019,19.02795 42.541707,19.027928 42.540374,19.026978 42.537381,19.025814 42.535057,19.02488 42.533065,19.023286 42.532079,19.023034 42.530414,19.023002 42.528413,19.021843 42.526423,19.020024 42.525439,19.020234 42.524437,19.018852 42.522615,19.01614 42.522139,19.014981 42.520149,19.012476 42.518504,19.01109 42.516349,19.009908 42.512858,19.00696 42.511717,19.004237 42.510574,19.004426 42.508238,19.007337 42.507045,19.010256 42.506352,19.013848 42.505486,19.016541 42.504794,19.017856 42.502448,19.01916 42.499435,19.02206 42.497574,19.023372 42.495061,19.02651 42.494032,19.028076 42.493351,19.028961 42.492343,19.031866 42.490815,19.03366 42.490299,19.035687 42.49028,19.034974 42.487952,19.033595 42.486297,19.031574 42.486649,19.029115 42.487839,19.027516 42.48652,19.027488 42.484769,19.030832 42.482571))",
Mojkovac =
"POLYGON((19.373424 42.937272,19.377731 42.937052,19.382879 42.933822,19.39076 42.931057,19.397279 42.928309,19.401075 42.925595,19.403016 42.921069,19.405886 42.917532,19.418098 42.915879,19.432102 42.913201,19.439078 42.910778,19.447906 42.909999,19.453317 42.908595,19.457606 42.907707,19.466645 42.906256,19.476402 42.906462,19.48234 42.908219,19.484182 42.909362,19.486891 42.908826,19.48999 42.905617,19.493543 42.902403,19.496916 42.901191,19.500348 42.902479,19.504732 42.905589,19.510488 42.90918,19.517792 42.911083,19.526441 42.912301,19.532142 42.913557,19.536686 42.913829,19.544639 42.914388,19.548498 42.914502,19.552126 42.914452,19.552295 42.912116,19.554509 42.909918,19.552641 42.907776,19.551244 42.906294,19.555308 42.905572,19.559191 42.906685,19.563842 42.91129,19.565698 42.912931,19.571437 42.915686,19.574948 42.919972,19.578547 42.918755,19.58304 42.917025,19.584804 42.915,19.589536 42.913766,19.591774 42.912568,19.593293 42.909879,19.595989 42.90884,19.604138 42.908225,19.609798 42.907811,19.617079 42.908708,19.622324 42.9098,19.628446 42.909712,19.632073 42.90966,19.635418 42.907444,19.638335 42.906235,19.640366 42.905872,19.643026 42.903499,19.644726 42.899139,19.648536 42.897417,19.654368 42.894997,19.65888 42.894098,19.665728 42.895831,19.67282 42.897515,19.670983 42.900355,19.672997 42.904123,19.673034 42.905529,19.6706 42.907535,19.669689 42.909236,19.672637 42.912146,19.67717 42.917073,19.675347 42.920475,19.675985 42.922857,19.6751 42.925543,19.675137 42.926949,19.67788 42.929299,19.679099 42.931954,19.676886 42.935081,19.671427 42.938538,19.665201 42.942005,19.656877 42.945784,19.647367 42.948174,19.640687 42.948974,19.63769 42.951549,19.634256 42.952021,19.630078 42.953347,19.627799 42.954083,19.630162 42.956581,19.630416 42.958969,19.632201 42.961334,19.63417 42.963416,19.633647 42.965392,19.632171 42.967523,19.632204 42.968789,19.636637 42.96985,19.637686 42.973351,19.641052 42.977522,19.643239 42.980585,19.645597 42.982802,19.647052 42.987141,19.648699 42.991477,19.648784 42.994711,19.647882 42.996834,19.646593 42.998822,19.645901 43.001645,19.646005 43.005582,19.645939 43.010365,19.645025 43.012067,19.642763 43.013506,19.64088 43.014799,19.638559 43.013989,19.635482 43.013611,19.632464 43.015484,19.629424 43.016512,19.627364 43.01837,19.627025 43.020063,19.628801 43.022007,19.630562 43.023388,19.629058 43.024535,19.627573 43.026385,19.624963 43.029235,19.623058 43.029685,19.620544 43.028877,19.620316 43.027473,19.622004 43.026043,19.624094 43.025309,19.624216 43.022635,19.622658 43.021673,19.620922 43.021276,19.618829 43.021868,19.616161 43.022469,19.612729 43.023221,19.6106 43.022408,19.608647 43.021029,19.605776 43.02121,19.604109 43.023484,19.603589 43.025602,19.599792 43.027062,19.593471 43.027292,19.585606 43.027121,19.581198 43.027183,19.574505 43.027839,19.568567 43.028062,19.565884 43.028099,19.563957 43.027704,19.561827 43.026889,19.559151 43.027207,19.557646 43.028353,19.555047 43.031765,19.554329 43.033744,19.550918 43.035338,19.546042 43.039765,19.543208 43.041492,19.540371 43.043078,19.536205 43.045244,19.53434 43.047379,19.533025 43.048522,19.529773 43.048848,19.527301 43.049725,19.521032 43.052201,19.515712 43.054241,19.515003 43.056642,19.514058 43.057217,19.504332 43.059598,19.499165 43.060088,19.494563 43.060149,19.492262 43.060179,19.48768 43.061084,19.484995 43.061119,19.482092 43.060032,19.480188 43.06062,19.477506 43.060795,19.474355 43.05732,19.474675 43.054643,19.474451 43.05324,19.471981 43.054256,19.468953 43.055984,19.468054 43.058527,19.46519 43.059127,19.460995 43.060166,19.456438 43.062194,19.453601 43.063918,19.449275 43.067631,19.446632 43.069493,19.443024 43.071087,19.437478 43.071861,19.434388 43.070986,19.431293 43.0699,19.42319 43.067892,19.41648 43.068117,19.41323 43.06858,19.410947 43.069452,19.409243 43.070458,19.408527 43.072717,19.405851 43.073173,19.403357 43.073204,19.401235 43.072668,19.398537 43.072138,19.392791 43.073667,19.388204 43.073391,19.385887 43.072716,19.387972 43.071726,19.388136 43.06889,19.387604 43.065395,19.385924 43.061414,19.38633 43.059242,19.388437 43.051713,19.388103 43.046882,19.385562 43.04508,19.380701 43.041138,19.376563 43.039021,19.371513 43.036748,19.364133 43.031835,19.36093 43.030874,19.358226 43.031907,19.354583 43.031617,19.352059 43.03048,19.348398 43.029357,19.346325 43.028048,19.344666 43.0249,19.341883 43.022265,19.340293 43.022284,19.338231 43.021475,19.3373 43.020485,19.338174 43.018808,19.337914 43.01731,19.336779 43.017324,19.335412 43.017173,19.333563 43.015695,19.330997 43.012557,19.328875 43.008914,19.327928 43.007091,19.329433 43.003072,19.330501 42.999892,19.335564 42.992329,19.337342 42.990474,19.34299 42.989073,19.347059 42.988191,19.349978 42.986656,19.348133 42.985344,19.346044 42.983201,19.344858 42.980881,19.345003 42.977045,19.343361 42.974563,19.342598 42.970738,19.344991 42.965874,19.349434 42.961319,19.354365 42.958426,19.364296 42.955806,19.367894 42.954262,19.367869 42.953095,19.365539 42.939868,19.373424 42.937272))",
Pluzine =
"POLYGON((19.000916 42.943277,19.003034 42.948094,19.005562 42.950072,19.00561 42.953073,19.008176 42.957384,19.010007 42.958368,19.011615 42.959521,19.012128 42.963185,19.015629 42.969155,19.017691 42.970304,19.020885 42.971275,19.022274 42.97293,19.018907 42.975295,19.012333 42.976021,19.003099 42.980772,19.002006 42.983449,18.997972 42.98682,18.995968 42.989339,18.993728 42.991359,18.988041 42.990742,18.984598 42.988438,18.976653 42.988674,18.971228 42.990389,18.969259 42.995241,18.964058 42.996786,18.960223 42.998486,18.957525 43.000343,18.954378 43.002538,18.949848 43.00341,18.947307 43.000597,18.943893 43.000125,18.941194 43.001982,18.938284 43.004841,18.937447 43.009683,18.941131 43.012987,18.942756 43.015307,18.941435 43.018153,18.93761 43.020686,18.933118 43.024224,18.933385 43.02689,18.938418 43.029182,18.945537 43.034124,18.946087 43.040455,18.948407 43.043603,18.952089 43.046573,18.951907 43.049576,18.952394 43.051739,18.959995 43.058177,18.967362 43.064116,18.970384 43.068425,18.970924 43.073922,18.972337 43.077078,18.973967 43.079564,18.974458 43.081895,18.974032 43.083732,18.977966 43.088033,18.980083 43.092516,18.980124 43.095183,18.979515 43.099857,18.978646 43.102532,18.980058 43.105521,18.980301 43.106519,18.980348 43.10952,18.981286 43.111346,18.984762 43.115317,18.988675 43.118117,18.992562 43.119249,18.996679 43.120547,18.999659 43.121854,19.001527 43.124839,19.00271 43.127662,19.014041 43.12456,19.01286 43.121903,19.013747 43.120394,19.020078 43.117836,19.025961 43.115782,19.031757 43.122231,19.03891 43.128084,19.036228 43.13111,19.034229 43.134129,19.031289 43.135323,19.028571 43.136182,19.026778 43.137865,19.026369 43.140704,19.024819 43.143385,19.022816 43.146238,19.021236 43.147086,19.016003 43.1473,19.015802 43.148969,19.017406 43.149621,19.011752 43.152007,19.008889 43.158034,19.005754 43.161397,19.001245 43.164271,18.996725 43.166479,18.998669 43.174131,18.999258 43.182462,18.998649 43.187136,18.997102 43.190151,18.995311 43.192167,18.995822 43.195664,18.996778 43.19849,18.994987 43.200506,18.995016 43.20234,18.995064 43.20534,18.995554 43.207503,18.99358 43.212356,18.991346 43.21521,18.990466 43.217218,18.990733 43.219717,18.990998 43.222049,18.988991 43.224901,18.989261 43.227566,18.988158 43.22991,18.985908 43.231763,18.986186 43.234929,18.98829 43.238245,18.98855 43.240243,18.99039 43.241227,18.990413 43.242727,18.986576 43.245262,18.985004 43.246776,18.984385 43.25095,18.9867 43.253097,18.990845 43.255561,18.997262 43.257505,18.988449 43.262751,18.987563 43.264426,18.988748 43.26725,18.989486 43.270578,18.988167 43.273757,18.984391 43.280293,18.978272 43.283014,18.971266 43.287409,18.968072 43.287437,18.96421 43.288637,18.961031 43.289664,18.95508 43.288548,18.953085 43.2924,18.952425 43.294073,18.951394 43.30125,18.952109 43.303245,18.953757 43.306565,18.955183 43.310221,18.957956 43.312365,18.96119 43.314838,18.962373 43.317495,18.961526 43.321837,18.962504 43.325997,18.960518 43.330515,18.957354 43.33271,18.953221 43.331244,18.949354 43.332278,18.946877 43.334632,18.943921 43.335491,18.941213 43.337681,18.937624 43.342046,18.932007 43.348261,18.926835 43.353806,18.922983 43.356005,18.918667 43.357707,18.915527 43.361734,18.911877 43.362098,18.907055 43.360469,18.902889 43.356835,18.900345 43.354688,18.897389 43.355712,18.893746 43.356575,18.888496 43.35695,18.881645 43.357171,18.875223 43.355387,18.867672 43.354612,18.863523 43.351977,18.857803 43.351354,18.852529 43.349894,18.84407 43.349458,18.838129 43.349336,18.837858 43.34617,18.838725 43.342662,18.842563 43.339299,18.847533 43.33526,18.849328 43.332913,18.850179 43.328238,18.852656 43.325718,18.84738 43.323925,18.838667 43.321323,18.82904 43.31856,18.820562 43.316288,18.815272 43.313326,18.796023 43.307796,18.777448 43.301091,18.768952 43.296982,18.748075 43.288121,18.735216 43.281371,18.689996 43.257151,18.690666 43.255813,18.692702 43.2543,18.69678 43.251774,18.69902 43.248092,18.701019 43.243244,18.702819 43.241066,18.707354 43.238703,18.713693 43.234661,18.718896 43.23096,18.710656 43.228178,18.701262 43.22407,18.697801 43.220257,18.693196 43.216117,18.689294 43.213641,18.683796 43.211174,18.677619 43.209044,18.670759 43.206918,18.667547 43.204937,18.666595 43.201108,18.666031 43.190774,18.663905 43.183618,18.661357 43.179632,18.658584 43.175813,18.656732 43.17299,18.656688 43.168655,18.655721 43.163326,18.654764 43.15883,18.652889 43.153672,18.648518 43.149363,18.646673 43.14704,18.646632 43.143039,18.648393 43.137026,18.649682 43.129516,18.650538 43.124176,18.650274 43.120676,18.652531 43.118829,18.654352 43.118818,18.658916 43.119958,18.663919 43.119595,18.668676 43.117399,18.671406 43.117383,18.673919 43.118201,18.676182 43.117021,18.678191 43.11334,18.680891 43.11049,18.685421 43.108461,18.688129 43.106444,18.688761 43.101772,18.68736 43.098446,18.693712 43.096739,18.698708 43.095874,18.704643 43.097671,18.708531 43.09948,18.712667 43.103122,18.716808 43.107097,18.719096 43.108249,18.72045 43.10724,18.72202 43.105229,18.727251 43.105029,18.73152 43.100332,18.733788 43.099651,18.736252 43.0963,18.74099 43.092934,18.743932 43.091581,18.747544 43.089222,18.75022 43.084703,18.751777 43.081691,18.754486 43.080006,18.758789 43.078476,18.760597 43.077463,18.761263 43.076125,18.762593 43.073282,18.763239 43.070276,18.76591 43.065423,18.768574 43.060069,18.772619 43.056207,18.77373 43.054031,18.775739 43.051017,18.776126 43.045512,18.77585 43.041512,18.778098 43.039496,18.780582 43.038145,18.781479 43.037138,18.78145 43.034804,18.780258 43.030311,18.780918 43.028472,18.784289 43.025447,18.784931 43.022275,18.785345 43.018938,18.786648 43.014093,18.789333 43.01074,18.79292 43.00688,18.796546 43.006187,18.802443 43.005478,18.806288 43.004117,18.808753 43.001431,18.810512 42.996917,18.81158 42.991574,18.812891 42.987563,18.8158 42.984207,18.821436 42.980998,18.824371 42.979642,18.829805 42.978435,18.834787 42.977398,18.839059 42.974198,18.843321 42.970331,18.846017 42.968144,18.849642 42.967616,18.853499 42.96742,18.85777 42.964219,18.867201 42.956644,18.870124 42.954621,18.876027 42.954741,18.880548 42.953372,18.883955 42.953512,18.891185 42.951121,18.901364 42.948705,18.901381 42.949872,18.900728 42.951878,18.902114 42.953534,18.905965 42.953003,18.908019 42.95382,18.910286 42.953635,18.913887 42.951438,18.917757 42.95224,18.922728 42.950699,18.926391 42.952836,18.933675 42.954277,18.937514 42.952911,18.940713 42.954385,18.945465 42.953344,18.951313 42.949794,18.955617 42.949257,18.959228 42.947892,18.966727 42.948495,18.976015 42.947414,18.98598 42.945994,18.990249 42.943288,18.99044 42.940952,18.998317 42.936798,19.000916 42.943277))",
Andrijevica =
"POLYGON((19.725378 42.784198,19.724859 42.786175,19.725696 42.788835,19.725181 42.790953,19.725426 42.792918,19.726957 42.793036,19.72848 42.792872,19.730608 42.793824,19.730868 42.796352,19.729609 42.799184,19.727605 42.802731,19.726377 42.806689,19.727798 42.809762,19.729205 42.812272,19.726035 42.815133,19.723248 42.817989,19.719825 42.818604,19.716403 42.819218,19.715127 42.821488,19.71541 42.82486,19.715269 42.826691,19.713818 42.829526,19.711879 42.8285,19.710121 42.82712,19.70726 42.827304,19.705923 42.827324,19.703397 42.825815,19.700746 42.826699,19.698064 42.826457,19.694809 42.826225,19.691967 42.827111,19.686783 42.826204,19.683918 42.826247,19.682168 42.825147,19.681247 42.826427,19.680742 42.828966,19.67543 42.830452,19.672445 42.833168,19.669838 42.835739,19.668002 42.838579,19.66769 42.841256,19.666405 42.843244,19.66625 42.844583,19.660521 42.844808,19.657284 42.845277,19.654219 42.845041,19.653998 42.843919,19.653756 42.841953,19.651591 42.839593,19.649835 42.838212,19.649217 42.836533,19.650304 42.834267,19.649702 42.83315,19.648302 42.830779,19.648052 42.828532,19.649525 42.826401,19.649469 42.824292,19.650002 42.822737,19.650534 42.821182,19.649318 42.818527,19.642138 42.814271,19.639769 42.811351,19.637213 42.808575,19.640225 42.806844,19.643287 42.80708,19.64635 42.807317,19.648994 42.806154,19.650845 42.803876,19.65289 42.801736,19.656253 42.798874,19.659476 42.797983,19.66115 42.79627,19.661491 42.794718,19.662218 42.793301,19.666362 42.79113,19.668994 42.789544,19.672554 42.786959,19.675571 42.785508,19.676073 42.782828,19.677536 42.780415,19.678999 42.778002,19.679871 42.774895,19.678584 42.769569,19.675781 42.764687,19.670947 42.762367,19.668975 42.760005,19.670281 42.75886,19.671576 42.757294,19.6736 42.754451,19.679129 42.747055,19.68208 42.743213,19.683879 42.739107,19.683987 42.736011,19.683912 42.733199,19.685386 42.731207,19.686298 42.729646,19.687711 42.725406,19.688604 42.723142,19.688338 42.720332,19.685029 42.71785,19.681955 42.717051,19.680004 42.715392,19.678415 42.713025,19.678927 42.710766,19.678063 42.706981,19.674692 42.702108,19.67289 42.698899,19.668817 42.696287,19.665535 42.694788,19.661682 42.693297,19.659112 42.689818,19.658272 42.686876,19.657817 42.68407,19.65793 42.681114,19.659583 42.678699,19.659703 42.676024,19.6613 42.6715,19.663285 42.667251,19.663816 42.665695,19.661866 42.664036,19.661221 42.661232,19.659074 42.659294,19.658066 42.657199,19.65841 42.655787,19.65797 42.653543,19.656384 42.651175,19.658207 42.648054,19.662668 42.643768,19.664498 42.640928,19.664608 42.637832,19.663519 42.632643,19.662038 42.627038,19.66436 42.628411,19.667052 42.629356,19.669498 42.628195,19.671947 42.627174,19.675751 42.626977,19.679212 42.628192,19.683103 42.631229,19.68317 42.63376,19.684189 42.636277,19.687259 42.637075,19.690115 42.637032,19.691859 42.638132,19.693634 42.640356,19.697312 42.642552,19.699277 42.644773,19.698782 42.647593,19.699772 42.648985,19.701935 42.651485,19.704819 42.652426,19.707485 42.652386,19.71115 42.654019,19.716556 42.65661,19.720222 42.658242,19.723445 42.65763,19.724824 42.659297,19.727286 42.658697,19.728767 42.657127,19.730622 42.65527,19.732294 42.653697,19.734126 42.650997,19.73446 42.649304,19.735938 42.647593,19.736447 42.645335,19.737124 42.64223,19.739379 42.64107,19.744113 42.640012,19.747125 42.6387,19.748058 42.637982,19.74859 42.636567,19.747179 42.633776,19.747281 42.630539,19.747195 42.627446,19.74784 42.623216,19.750207 42.619241,19.750739 42.617826,19.751248 42.615567,19.752483 42.612032,19.754297 42.608768,19.755722 42.60523,19.759933 42.606008,19.762621 42.60681,19.763724 42.605387,19.764636 42.603966,19.767833 42.602509,19.771985 42.601179,19.777278 42.59983,19.778979 42.599381,19.780351 42.600766,19.781861 42.600321,19.781834 42.599336,19.783697 42.5979,19.786179 42.598143,19.789593 42.597667,19.795675 42.597289,19.800963 42.595799,19.805737 42.596285,19.808798 42.596799,19.812421 42.597023,19.816843 42.598499,19.819936 42.600138,19.821143 42.602369,19.823005 42.607544,19.823674 42.610909,19.821985 42.61178,19.822216 42.613183,19.823034 42.615139,19.824067 42.617936,19.82533 42.622136,19.82461 42.623554,19.822746 42.62499,19.818027 42.626473,19.818833 42.628007,19.821089 42.626986,19.82318 42.626812,19.826574 42.625632,19.830155 42.624309,19.829507 42.628258,19.830031 42.633172,19.832628 42.63735,19.835623 42.642085,19.8378 42.644863,19.841285 42.646775,19.845877 42.647404,19.848215 42.649195,19.85284 42.650948,19.855784 42.653854,19.857767 42.656494,19.858239 42.659581,19.861196 42.662908,19.864364 42.666935,19.867847 42.668707,19.869786 42.6698,19.864542 42.672981,19.860459 42.676705,19.86446 42.67664,19.872508 42.678054,19.875408 42.679413,19.879249 42.680334,19.884067 42.682083,19.886806 42.684429,19.888825 42.688193,19.891595 42.691522,19.894686 42.692878,19.898909 42.693792,19.902543 42.694153,19.906346 42.693808,19.909243 42.695025,19.907379 42.696918,19.905388 42.699429,19.903661 42.702126,19.902651 42.702905,19.900086 42.70352,19.898336 42.705454,19.897142 42.708714,19.895421 42.711601,19.892166 42.715085,19.890174 42.717595,19.884055 42.720365,19.878895 42.720641,19.875003 42.720134,19.872168 42.720371,19.862729 42.724528,19.856355 42.727491,19.852755 42.728121,19.850172 42.728164,19.848534 42.731689,19.848194 42.733101,19.84559 42.735394,19.846398 42.736928,19.846444 42.738474,19.845905 42.739608,19.842724 42.74177,19.838199 42.743672,19.835984 42.74624,19.834638 42.752451,19.831501 42.756159,19.830292 42.760539,19.828036 42.7617,19.826992 42.758623,19.824653 42.756972,19.821422 42.757446,19.817829 42.758629,19.815889 42.757535,19.812029 42.75605,19.810064 42.754112,19.80758 42.754011,19.804531 42.7542,19.801073 42.753411,19.797615 42.752622,19.794705 42.75098,19.792189 42.749754,19.790496 42.750625,19.789032 42.752828,19.786023 42.754423,19.783953 42.75544,19.784565 42.756837,19.783654 42.758399,19.779095 42.759174,19.774925 42.760224,19.769837 42.762554,19.767177 42.763017,19.764876 42.762631,19.764907 42.763756,19.760176 42.765236,19.756932 42.765286,19.752901 42.764505,19.750054 42.765112,19.750323 42.767921,19.74766 42.768243,19.745042 42.770253,19.74186 42.772552,19.741533 42.774526,19.740072 42.77694,19.737241 42.778109,19.734935 42.777582,19.732668 42.77846,19.728476 42.778806,19.726388 42.779259,19.725378 42.784198))",
Berane =
"POLYGON((20.06012 42.992903 20.051644 42.99151 20.047375 42.989899 20.044079 42.988693 20.041744 42.987609 20.03967 42.988631 20.038946 42.98991 20.035321 42.990397 20.030479 42.988796 20.025236 42.986639 20.019328 42.981681 20.01673 42.978352 20.005141 42.98137 20.00249 42.976354 20.000726 42.975119,19.997886 42.976153,19.996359 42.976321,19.994026 42.975237,19.99196 42.976539,19.988519 42.97674,19.982201 42.976851,19.977958 42.97594,19.975781 42.973728,19.975117 42.970926,19.974044 42.967288,19.96978 42.965674,19.96532 42.963923,19.962431 42.96341,19.960077 42.961622,19.957696 42.958991,19.954607 42.9582,19.950797 42.958829,19.9489 42.959424,19.945986 42.958067,19.943885 42.958244,19.940035 42.957607,19.935989 42.956832,19.933118 42.956881,19.929482 42.956943,19.923905 42.956194,19.920843 42.956245,19.918164 42.956291,19.916254 42.956464,19.916032 42.955483,19.920731 42.95259,19.922397 42.950734,19.922336 42.948765,19.920749 42.946964,19.919541 42.945015,19.91798 42.944057,19.914918 42.944109,19.911966 42.941486,19.910575 42.939821,19.90577 42.939199,19.902291 42.938132,19.900301 42.935634,19.898489 42.93271,19.896682 42.929927,19.89604 42.927688,19.893727 42.927164,19.891211 42.926221,19.88903 42.923725,19.886696 42.922498,19.884596 42.922674,19.882351 42.924399,19.879873 42.924722,19.873606 42.926373,19.868857 42.927576,19.866366 42.927477,19.864112 42.92892,19.860893 42.930099,19.855557 42.930889,19.851564 42.931799,19.848012 42.93467,19.844426 42.936416,19.841989 42.938144,19.841269 42.939702,19.842088 42.941518,19.84292 42.943755,19.842179 42.944611,19.84071 42.946744,19.843526 42.95134,19.842124 42.955724,19.840654 42.957857,19.837491 42.961003,19.834283 42.962602,19.829497 42.96268,19.82514 42.964297,19.821539 42.965621,19.818448 42.964686,19.816382 42.959515,19.81536 42.957281,19.812822 42.955633,19.809552 42.955123,19.805724 42.955184,19.804698 42.952809,19.802492 42.949328,19.803176 42.946504,19.803486 42.943967,19.801886 42.941601,19.802351 42.937796,19.802453 42.9347,19.801224 42.931907,19.800015 42.929816,19.797329 42.929577,19.793164 42.93119,19.788951 42.931116,19.783944 42.93007,19.781995 42.928835,19.78042 42.927312,19.775824 42.927244,19.772971 42.927851,19.769519 42.927624,19.765836 42.925993,19.762739 42.924776,19.754219 42.921251,19.74937 42.918934,19.744907 42.916753,19.740246 42.914293,19.736413 42.91407,19.733711 42.913267,19.732239 42.9154,19.730728 42.916126,19.727285 42.916179,19.724045 42.91665,19.721382 42.917253,19.719749 42.920513,19.715689 42.919028,19.711829 42.91782,19.708757 42.917444,19.704896 42.916237,19.702165 42.914309,19.700405 42.912928,19.697903 42.912403,19.695252 42.913428,19.692237 42.915161,19.688805 42.915634,19.685684 42.91343,19.682998 42.913188,19.680752 42.91505,19.67717 42.917073,19.672637 42.912146,19.669689 42.909236,19.6706 42.907535,19.673034 42.905529,19.672997 42.904123,19.670983 42.900355,19.67282 42.897515,19.66984 42.893339,19.668261 42.891534,19.665355 42.89017,19.662645 42.888944,19.659585 42.888989,19.657246 42.887335,19.655841 42.884824,19.654113 42.884568,19.651241 42.884469,19.647365 42.882556,19.643549 42.882893,19.641214 42.88138,19.640758 42.878573,19.638795 42.876632,19.635913 42.876111,19.636067 42.874702,19.638909 42.873677,19.640611 42.872949,19.643854 42.87262,19.650368 42.873088,19.655312 42.872031,19.661385 42.870255,19.665355 42.868508,19.666449 42.866523,19.666978 42.864827,19.668451 42.862696,19.670328 42.861402,19.673102 42.857845,19.675174 42.856689,19.677044 42.855114,19.678681 42.851995,19.677692 42.850744,19.675208 42.85078,19.672738 42.85138,19.669872 42.851422,19.667354 42.850193,19.665009 42.848258,19.665331 42.846003,19.66625 42.844583,19.666405 42.843244,19.66769 42.841256,19.668002 42.838579,19.669838 42.835739,19.672445 42.833168,19.67543 42.830452,19.680742 42.828966,19.681247 42.826427,19.682168 42.825147,19.683918 42.826247,19.686783 42.826204,19.691967 42.827111,19.694809 42.826225,19.698064 42.826457,19.700746 42.826699,19.703397 42.825815,19.705923 42.827324,19.70726 42.827304,19.710121 42.82712,19.711879 42.8285,19.713818 42.829526,19.715269 42.826691,19.71541 42.82486,19.715127 42.821488,19.716403 42.819218,19.719825 42.818604,19.723248 42.817989,19.726035 42.815133,19.729205 42.812272,19.727798 42.809762,19.726377 42.806689,19.727605 42.802731,19.729609 42.799184,19.730868 42.796352,19.730608 42.793824,19.72848 42.792872,19.726957 42.793036,19.725426 42.792918,19.725181 42.790953,19.725696 42.788835,19.724859 42.786175,19.725378 42.784198,19.726388 42.779259,19.728476 42.778806,19.732668 42.77846,19.734935 42.777582,19.737241 42.778109,19.740072 42.77694,19.741533 42.774526,19.74186 42.772552,19.745042 42.770253,19.74766 42.768243,19.750323 42.767921,19.750054 42.765112,19.752901 42.764505,19.756932 42.765286,19.760176 42.765236,19.764907 42.763756,19.764876 42.762631,19.767177 42.763017,19.769837 42.762554,19.774925 42.760224,19.779095 42.759174,19.783654 42.758399,19.784565 42.756837,19.783953 42.75544,19.786023 42.754423,19.789032 42.752828,19.790496 42.750625,19.792189 42.749754,19.794705 42.75098,19.797615 42.752622,19.801073 42.753411,19.804531 42.7542,19.80758 42.754011,19.810064 42.754112,19.812029 42.75605,19.815889 42.757535,19.817829 42.758629,19.821422 42.757446,19.824653 42.756972,19.826992 42.758623,19.828036 42.7617,19.830292 42.760539,19.831501 42.756159,19.834638 42.752451,19.835984 42.74624,19.838199 42.743672,19.842724 42.74177,19.845905 42.739608,19.846444 42.738474,19.846398 42.736928,19.84559 42.735394,19.848194 42.733101,19.848534 42.731689,19.850172 42.728164,19.852755 42.728121,19.856355 42.727491,19.862729 42.724528,19.872168 42.720371,19.875003 42.720134,19.878895 42.720641,19.884055 42.720365,19.890174 42.717595,19.892166 42.715085,19.895421 42.711601,19.897142 42.708714,19.898336 42.705454,19.900086 42.70352,19.902651 42.702905,19.903661 42.702126,19.905388 42.699429,19.907379 42.696918,19.909243 42.695025,19.910984 42.695839,19.913873 42.696775,19.917516 42.697417,19.921938 42.698608,19.925788 42.699809,19.930995 42.70169,19.936865 42.700324,19.940461 42.699418,19.945442 42.700177,19.949293 42.701377,19.953153 42.702858,19.955228 42.702119,19.956727 42.701249,19.958252 42.701223,19.958841 42.701775,19.960627 42.703995,19.963742 42.706051,19.96587 42.706999,19.969279 42.706236,19.97455 42.704035,19.976443 42.70358,19.980809 42.702941,19.983651 42.702329,19.98651 42.702279,19.990916 42.702905,19.993997 42.703835,19.996342 42.705623 20.001156 42.707085 20.005776 42.70841 20.011717 42.70929 20.011398 42.711265 20.012029 42.713082 20.013381 42.713621 20.016613 42.713282 20.019322 42.7145 20.020516 42.716026 20.021909 42.71783 20.024968 42.718056 20.026929 42.719709 20.024096 42.720604 20.0209 42.722067 20.016755 42.723688 20.013205 42.726002 20.010625 42.728861 20.01012 42.73098 20.01174 42.733905 20.011276 42.737289 20.011797 42.74164 20.014144 42.743427 20.015914 42.745084 20.01655 42.747042 20.016577 42.747885 20.018947 42.750375 20.020168 42.752745 20.019558 42.757538 20.019999 42.759359 20.020444 42.76132 20.02112 42.764543 20.022878 42.765778 20.025762 42.76643 20.027634 42.765271 20.029147 42.764822 20.029578 42.766361 20.030019 42.768182 20.03274 42.769681 20.034871 42.770627 20.035293 42.771885 20.03727 42.77396 20.040755 42.775445 20.043953 42.77398 20.044744 42.77481 20.044249 42.77721 20.043005 42.780046 20.039479 42.783204 20.035899 42.784675 20.035781 42.786927 20.035508 42.790308 20.035954 42.792269 20.03255 42.793315 20.0301 42.794343 20.026055 42.793291 20.02361 42.794459 20.023427 42.803235 20.023718 42.803741 20.024327 42.804856 20.025887 42.805812 20.028609 42.807311 20.031537 42.809228 20.032728 42.810613 20.032046 42.813157 20.031578 42.816401 20.027982 42.81745 20.023808 42.818368 20.022903 42.819931 20.02067 42.8218 20.018838 42.824224 20.018196 42.828033 20.019751 42.828849 20.021097 42.829107 20.023407 42.829628 20.026781 42.833506 20.026453 42.8352 20.022483 42.836537 20.017594 42.839015 20.018994 42.840959 20.020809 42.843881 20.021636 42.845835 20.020917 42.847255 20.019893 42.851071 20.022854 42.853972 20.027313 42.855861 20.031712 42.855923 20.034405 42.856438 20.037844 42.856376 20.041097 42.856458 20.043054 42.85783 20.04406 42.859359 20.046162 42.859321 20.048641 42.859135 20.050971 42.860219 20.053701 42.861857 20.05604 42.863221 20.058407 42.865429 20.059801 42.867092 20.060448 42.86933 20.060354 42.872286 20.060628 42.874813 20.062782 42.876321 20.064301 42.876012 20.065034 42.875014 20.066754 42.874983 20.066987 42.876244 20.067266 42.878912 20.066757 42.88089 20.064524 42.882759 20.064808 42.885567 20.066719 42.885533 20.068869 42.8869 20.070398 42.886872 20.071536 42.88657 20.072864 42.886264 20.074645 42.888061 20.076235 42.88986 20.074827 42.893543 20.075876 42.896337 20.07693 42.899271 20.077043 42.902645 20.091022 42.921291 20.090932 42.923207 20.091571 42.925164 20.091666 42.927976 20.093276 42.930337 20.094976 42.93537 20.09739 42.938841 20.100914 42.941167 20.103477 42.943371 20.103342 42.945061 20.101337 42.948052 20.097656 42.95248 20.098833 42.953302 20.101186 42.954947 20.103558 42.957153 20.105361 42.959511 20.10828 42.960863 20.111944 42.961639 20.116049 42.964094 20.114556 42.965248 20.110824 42.96813 20.106119 42.970609 20.102884 42.971231 20.09837 42.973706 20.097297 42.975976 20.095725 42.980506 20.093336 42.983504 20.089778 42.985961 20.086043 42.988843 20.083629 42.991138 20.080028 42.992329 20.076226 42.993243 20.072411 42.993734 20.067808 42.993607 20.06012 42.992903))",
Rozaje =
"POLYGON((20.111944 42.961639 20.10828 42.960863 20.105361 42.959511 20.103558 42.957153 20.101186 42.954947 20.098833 42.953302 20.097656 42.95248 20.101337 42.948052 20.103342 42.945061 20.103477 42.943371 20.100914 42.941167 20.09739 42.938841 20.094976 42.93537 20.093276 42.930337 20.091666 42.927976 20.091571 42.925164 20.090932 42.923207 20.091076 42.921798 20.089088 42.919584 20.087674 42.91736 20.087622 42.915813 20.085658 42.914302 20.082715 42.912106 20.083787 42.909836 20.082374 42.907611 20.081217 42.907351 20.078666 42.905428 20.077649 42.903618 20.077043 42.902645 20.07693 42.899271 20.075876 42.896337 20.074827 42.893543 20.076235 42.88986 20.074645 42.888061 20.072864 42.886264 20.071536 42.88657 20.070398 42.886872 20.068869 42.8869 20.066719 42.885533 20.064808 42.885567 20.064524 42.882759 20.066757 42.88089 20.067266 42.878912 20.066987 42.876244 20.066754 42.874983 20.065034 42.875014 20.064301 42.876012 20.062782 42.876321 20.060628 42.874813 20.060354 42.872286 20.060448 42.86933 20.059801 42.867092 20.058407 42.865429 20.05604 42.863221 20.053701 42.861857 20.050971 42.860219 20.048641 42.859135 20.046162 42.859321 20.04406 42.859359 20.043054 42.85783 20.041097 42.856458 20.037844 42.856376 20.034405 42.856438 20.031712 42.855923 20.027313 42.855861 20.022854 42.853972 20.019893 42.851071 20.020917 42.847255 20.021636 42.845835 20.020809 42.843881 20.018994 42.840959 20.017594 42.839015 20.022483 42.836537 20.026453 42.8352 20.026781 42.833506 20.023407 42.829628 20.021097 42.829107 20.019751 42.828849 20.018196 42.828033 20.018838 42.824224 20.02067 42.8218 20.022903 42.819931 20.023808 42.818368 20.027982 42.81745 20.031578 42.816401 20.032046 42.813157 20.032728 42.810613 20.031537 42.809228 20.028609 42.807311 20.025887 42.805812 20.024327 42.804856 20.023718 42.803741 20.022787 42.798553 20.02361 42.794459 20.026055 42.793291 20.0301 42.794343 20.03255 42.793315 20.035954 42.792269 20.035508 42.790308 20.035781 42.786927 20.035899 42.784675 20.039479 42.783204 20.043005 42.780046 20.044249 42.77721 20.044744 42.77481 20.050353 42.77703 20.054425 42.778925 20.056142 42.778894 20.059936 42.778122 20.065047 42.776763 20.068067 42.775724 20.073247 42.776473 20.077055 42.776122 20.079717 42.775792 20.083538 42.775863 20.086065 42.777223 20.088942 42.777592 20.09314 42.777515 20.096723 42.776183 20.098207 42.774889 20.10046 42.773722 20.101743 42.772151 20.099946 42.769793 20.101207 42.76752 20.104198 42.765636 20.108725 42.764004 20.112703 42.763086 20.1169 42.763008 20.120859 42.761528 20.123883 42.760627 20.127293 42.75986 20.130297 42.758397 20.133302 42.756934 20.135591 42.756891 20.137856 42.756145 20.14106 42.754959 20.143163 42.75506 20.143593 42.756459 20.143488 42.758993 20.143584 42.761804 20.144238 42.764183 20.14701 42.767084 20.149142 42.768029 20.151231 42.767708 20.152695 42.765851 20.15454 42.763988 20.158708 42.763065 20.162651 42.761161 20.167656 42.756846 20.170097 42.755674 20.172342 42.754365 20.174221 42.753485 20.175952 42.753874 20.177429 42.752439 20.178124 42.750457 20.181396 42.745752 20.18368 42.745567 20.18567 42.74792 20.188003 42.749141 20.189206 42.750806 20.191323 42.751328 20.19438 42.751409 20.19839 42.751473 20.202728 42.749982 20.20547 42.746553 20.208115 42.745798 20.208786 42.748598 20.210552 42.749971 20.213257 42.750902 20.21695 42.7528 20.220193 42.752736 20.224389 42.752654 20.227852 42.75343 20.228675 42.755102 20.229693 42.756911 20.231631 42.757717 20.236976 42.757752 20.241193 42.758231 20.242955 42.759463 20.244149 42.760846 20.245987 42.764185 20.249014 42.768767 20.251997 42.772084 20.254001 42.774716 20.257104 42.776061 20.259454 42.777703 20.261428 42.779492 20.262051 42.780886 20.260792 42.783021 20.259366 42.785862 20.257223 42.789984 20.255728 42.796203 20.255674 42.800002 20.255243 42.803949 20.252621 42.805407 20.249978 42.806304 20.247572 42.808461 20.246101 42.810038 20.247342 42.812685 20.249889 42.814464 20.252934 42.814122 20.25428 42.814377 20.256597 42.815034 20.258938 42.816394 20.260718 42.818046 20.264154 42.817978 20.266063 42.81794 20.268039 42.819729 20.268492 42.821689 20.268006 42.82409 20.268499 42.827175 20.272632 42.830468 20.274768 42.83141 20.276657 42.830809 20.278299 42.828666 20.279394 42.827238 20.280303 42.825954 20.282961 42.825478 20.285995 42.824854 20.287538 42.825245 20.287796 42.827069 20.287852 42.828615 20.28922 42.829431 20.290056 42.831384 20.290757 42.834886 20.292326 42.835979 20.295763 42.83591 20.298974 42.83486 20.301095 42.83538 20.305147 42.836423 20.306463 42.835834 20.308517 42.834526 20.308837 42.832832 20.30893 42.830157 20.310157 42.827179 20.312603 42.826144 20.313558 42.826125 20.314534 42.826668 20.316351 42.829303 20.318767 42.83263 20.321647 42.832993 20.32397 42.833789 20.326314 42.835148 20.329396 42.835788 20.33356 42.834718 20.336176 42.833117 20.340955 42.833159 20.343883 42.834786 20.343256 42.838456 20.340544 42.842591 20.336604 42.849705 20.336141 42.852669 20.337254 42.856866 20.336425 42.860258 20.334041 42.86298 20.334756 42.866763 20.333141 42.869609 20.33305 42.872284 20.335055 42.874774 20.337469 42.87796 20.336624 42.880931 20.33503 42.884339 20.334577 42.887584 20.336625 42.891199 20.339035 42.894243 20.340255 42.896187 20.33848 42.899881 20.337507 42.904543 20.337782 42.906787 20.336104 42.907947 20.336581 42.910469 20.333967 42.912211 20.33179 42.910286 20.329459 42.90935 20.326835 42.91081 20.323833 42.912419 20.321978 42.914004 20.321881 42.916538 20.319799 42.917143 20.318615 42.916182 20.317023 42.914527 20.315695 42.914835 20.314775 42.915839 20.31308 42.916577 20.31095 42.915917 20.309654 42.917068 20.307566 42.917533 20.305426 42.916592 20.303173 42.917763 20.30325 42.919871 20.30523 42.921659 20.303933 42.922811 20.301995 42.922147 20.298924 42.921928 20.296826 42.922111 20.293766 42.922173 20.291254 42.92152 20.287837 42.922292 20.285237 42.924455 20.2832 42.926324 20.27923 42.92767 20.274862 42.928601 20.274148 42.930022 20.274013 42.931572 20.271366 42.932469 20.270632 42.933328 20.267969 42.933803 20.266031 42.933138 20.263529 42.932766 20.261782 42.932098 20.261343 42.930559 20.259828 42.931011 20.257216 42.932892 20.251202 42.935965 20.245005 42.939323 20.242564 42.940637 20.240449 42.940397 20.23472 42.940792 20.231886 42.941832 20.227924 42.943457 20.224938 42.945625 20.223548 42.944246 20.222597 42.944405 20.219978 42.946145 20.217707 42.946892 20.214142 42.948931 20.212132 42.951643 20.209175 42.954654 20.204736 42.959101 20.200934 42.959878 20.197273 42.959245 20.193229 42.95862 20.190138 42.957836 20.187478 42.95845 20.184073 42.959641 20.181473 42.961941 20.179412 42.963247 20.17658 42.964426 20.172094 42.967607 20.168929 42.970199 20.166126 42.972222 20.163638 42.972269 20.160987 42.973164 20.157968 42.974487 20.155475 42.974394 20.153183 42.974578 20.14957 42.97535 20.147253 42.974831 20.145353 42.975289 20.145426 42.977397 20.145666 42.978799 20.146916 42.981729 20.146022 42.983575 20.146688 42.986235 20.145047 42.988657 20.141409 42.988726 20.138814 42.98568 20.137229 42.984163 20.134477 42.982105 20.133476 42.980858 20.132279 42.979474 20.131647 42.977798 20.131006 42.975841 20.129742 42.972488 20.125435 42.969756 20.122325 42.968408 20.119406 42.967056 20.116049 42.964094 20.111944 42.961639))",
Zabljak =
"POLYGON((19.329433 43.003072,19.327928 43.007091,19.328875 43.008914,19.330997 43.012557,19.333563 43.015695,19.335412 43.017173,19.336779 43.017324,19.337914 43.01731,19.338174 43.018808,19.3373 43.020485,19.338231 43.021475,19.340293 43.022284,19.341883 43.022265,19.344666 43.0249,19.346325 43.028048,19.348398 43.029357,19.352059 43.03048,19.354583 43.031617,19.358226 43.031907,19.36093 43.030874,19.364133 43.031835,19.371513 43.036748,19.376563 43.039021,19.380701 43.041138,19.385562 43.04508,19.388103 43.046882,19.388437 43.051713,19.38633 43.059242,19.385924 43.061414,19.387604 43.065395,19.388136 43.06889,19.387972 43.071726,19.385887 43.072716,19.382336 43.076979,19.380653 43.078969,19.381758 43.085567,19.382594 43.088651,19.381505 43.091477,19.379255 43.093896,19.376452 43.097306,19.373233 43.099314,19.370243 43.103008,19.367782 43.104585,19.364172 43.106316,19.364215 43.108285,19.363908 43.111805,19.359732 43.113965,19.353992 43.114878,19.348468 43.116913,19.344461 43.118086,19.339534 43.121099,19.337275 43.123235,19.333082 43.124691,19.329479 43.126844,19.327049 43.129967,19.321706 43.131577,19.318608 43.130347,19.315509 43.129117,19.312437 43.129153,19.31133 43.131276,19.310996 43.133671,19.309879 43.135372,19.306269 43.137242,19.303619 43.139101,19.302348 43.142632,19.300262 43.143922,19.300507 43.146451,19.300755 43.149121,19.29772 43.150984,19.295075 43.153124,19.294158 43.155245,19.291126 43.157249,19.287668 43.157288,19.284019 43.15733,19.27715 43.159658,19.272015 43.162248,19.268979 43.164111,19.266318 43.165547,19.264835 43.168236,19.263957 43.172325,19.263819 43.174999,19.261754 43.177413,19.259657 43.178281,19.256201 43.17846,19.25196 43.177804,19.249462 43.177831,19.247159 43.177997,19.24279 43.180578,19.239563 43.182582,19.236558 43.186132,19.232945 43.18814,19.22972 43.190285,19.228249 43.193677,19.225023 43.195822,19.22234 43.196273,19.217334 43.195905,19.215239 43.196912,19.212982 43.199469,19.21204 43.200463,19.207819 43.200931,19.20571 43.201234,19.201316 43.202688,19.195611 43.205984,19.18974 43.210687,19.187284 43.212964,19.184042 43.214404,19.182141 43.21555,19.177582 43.218551,19.173773 43.22056,19.17111 43.222135,19.166511 43.223026,19.161511 43.223078,19.158429 43.222828,19.152255 43.221767,19.146481 43.221544,19.139997 43.224564,19.137315 43.225153,19.135584 43.225171,19.125063 43.217681,19.114023 43.21329,19.110947 43.21332,19.109249 43.215166,19.106569 43.215895,19.104469 43.21676,19.10068 43.220032,19.096467 43.221058,19.092237 43.221099,19.088571 43.220431,19.082965 43.218797,19.078513 43.217152,19.075624 43.216898,19.071961 43.216371,19.069063 43.215554,19.065784 43.215023,19.061374 43.215768,19.057374 43.218056,19.05396 43.220901,19.049789 43.224457,19.04792 43.227709,19.047801 43.23207,19.046321 43.2356,19.04463 43.238007,19.041376 43.239022,19.03561 43.239357,19.031188 43.239538,19.027522 43.238868,19.023675 43.238903,19.019058 43.238945,19.015243 43.240949,19.013576 43.244902,19.011347 43.249845,19.0083 43.251842,19.00246 43.254458,18.997262 43.257505,18.990845 43.255561,18.9867 43.253097,18.984385 43.25095,18.985004 43.246776,18.986576 43.245262,18.990413 43.242727,18.99039 43.241227,18.98855 43.240243,18.98829 43.238245,18.986186 43.234929,18.985908 43.231763,18.988158 43.22991,18.989261 43.227566,18.988991 43.224901,18.990998 43.222049,18.990733 43.219717,18.990466 43.217218,18.991346 43.21521,18.99358 43.212356,18.995554 43.207503,18.995064 43.20534,18.995016 43.20234,18.994987 43.200506,18.996778 43.19849,18.995822 43.195664,18.995311 43.192167,18.997102 43.190151,18.998649 43.187136,18.999258 43.182462,18.998669 43.174131,18.996725 43.166479,19.001245 43.164271,19.005754 43.161397,19.008889 43.158034,19.011752 43.152007,19.017406 43.149621,19.015802 43.148969,19.016003 43.1473,19.021236 43.147086,19.022816 43.146238,19.024819 43.143385,19.026369 43.140704,19.026778 43.137865,19.028571 43.136182,19.031289 43.135323,19.034229 43.134129,19.036228 43.13111,19.03891 43.128084,19.042282 43.125552,19.044297 43.123533,19.046525 43.120678,19.048043 43.116162,19.050471 43.111638,19.052693 43.108449,19.05264 43.105282,19.051624 43.098956,19.049504 43.094641,19.048095 43.091986,19.050339 43.090131,19.053509 43.089268,19.05666 43.087238,19.058659 43.084385,19.061144 43.083361,19.069069 43.081285,19.074772 43.082231,19.080463 43.08251,19.085938 43.083458,19.092335 43.085063,19.09917 43.085663,19.103718 43.085619,19.112124 43.085036,19.114848 43.084676,19.118956 43.085469,19.122179 43.087604,19.126273 43.087563,19.132665 43.088833,19.136583 43.091628,19.137723 43.091783,19.142709 43.090732,19.145401 43.088704,19.144222 43.086382,19.141632 43.081573,19.139979 43.078255,19.140349 43.073583,19.137085 43.069115,19.134296 43.065808,19.134954 43.064468,19.1381 43.062435,19.141256 43.060903,19.145809 43.06119,19.151219 43.058634,19.153695 43.057275,19.155735 43.056921,19.158917 43.056888,19.16162 43.055526,19.161331 43.052195,19.163592 43.051505,19.166083 43.050979,19.169468 43.04961,19.171501 43.048922,19.173799 43.050232,19.176813 43.053368,19.178622 43.052849,19.181586 43.053318,19.184118 43.054959,19.186416 43.056268,19.188724 43.058078,19.187398 43.060093,19.18856 43.061414,19.188825 43.063412,19.188437 43.066918,19.190104 43.070901,19.19217 43.07188,19.193508 43.070532,19.195763 43.069508,19.198719 43.069476,19.202574 43.068935,19.20529 43.068239,19.205248 43.066072,19.207019 43.063552,19.209058 43.063197,19.210877 43.063178,19.213154 43.06332,19.215404 43.062128,19.217668 43.061604,19.222202 43.060888,19.222624 43.059216,19.224192 43.058032,19.227319 43.055164,19.229079 43.052143,19.230861 43.05029,19.234465 43.048583,19.241511 43.048506,19.246043 43.047789,19.249189 43.04592,19.254643 43.04586,19.255529 43.044683,19.258934 43.044478,19.259135 43.043142,19.257965 43.041488,19.257026 43.039998,19.25745 43.038493,19.255602 43.037013,19.251225 43.03406,19.247059 43.030272,19.243568 43.026142,19.241256 43.024167,19.241233 43.023,19.243923 43.021136,19.246406 43.020275,19.250261 43.019899,19.253194 43.018866,19.254751 43.017182,19.256562 43.016828,19.259288 43.016798,19.261773 43.016103,19.264255 43.015242,19.266974 43.014878,19.268808 43.015691,19.270615 43.01517,19.272453 43.01615,19.274525 43.01746,19.278183 43.018586,19.28 43.018565,19.280448 43.018227,19.280427 43.017227,19.281088 43.016219,19.281763 43.015878,19.28358 43.015857,19.28631 43.015993,19.289737 43.016954,19.294535 43.018233,19.298865 43.01885,19.300665 43.017996,19.301987 43.01598,19.303287 43.012964,19.303728 43.012292,19.303686 43.010291,19.305214 43.007273,19.306573 43.00709,19.309983 43.007217,19.311559 43.006532,19.314019 43.00467,19.316703 43.002638,19.319641 43.001936,19.325297 43.00087,19.330501 42.999892,19.329433 43.003072))",
Kolasin =
"POLYGON((19.233074 42.759745,19.236655 42.757705,19.239928 42.7515,19.241603 42.744646,19.242433 42.740802,19.246553 42.731753,19.253787 42.720168,19.257102 42.716296,19.261361 42.714414,19.263748 42.709386,19.268205 42.706168,19.269495 42.702818,19.268541 42.700328,19.270275 42.696641,19.27522 42.695251,19.276725 42.691399,19.275286 42.687247,19.275222 42.684079,19.277647 42.681051,19.278511 42.67904,19.280928 42.675678,19.284226 42.671139,19.289573 42.66741,19.292479 42.665876,19.294723 42.6651,19.29743 42.664902,19.301239 42.663358,19.305496 42.661641,19.307981 42.661612,19.31118 42.663409,19.312761 42.663391,19.315684 42.66269,19.318853 42.662987,19.32679 42.664394,19.330629 42.664349,19.335563 42.662624,19.338281 42.662925,19.341471 42.664221,19.344199 42.665022,19.35166 42.665267,19.355503 42.665387,19.359103 42.664677,19.363817 42.663287,19.366997 42.664082,19.371088 42.6652,19.373135 42.665842,19.375172 42.665984,19.378731 42.663439,19.380422 42.658083,19.382593 42.654055,19.385019 42.651357,19.388137 42.649318,19.390869 42.650285,19.392245 42.651269,19.394962 42.651569,19.398831 42.652855,19.403006 42.657805,19.40509 42.660114,19.407382 42.661586,19.411022 42.662707,19.408611 42.666072,19.407774 42.669084,19.406271 42.672604,19.405867 42.674777,19.407263 42.676593,19.40933 42.678068,19.4087 42.680244,19.411411 42.68021,19.415963 42.681654,19.418011 42.682295,19.419574 42.681442,19.422018 42.679577,19.423788 42.677887,19.427843 42.677336,19.431262 42.678627,19.435611 42.681072,19.438585 42.682702,19.438861 42.684866,19.440465 42.685846,19.443153 42.684811,19.445842 42.683777,19.447902 42.684918,19.451153 42.688711,19.450563 42.692553,19.449743 42.696232,19.451845 42.699206,19.454392 42.701841,19.456484 42.704315,19.457893 42.706631,19.458867 42.70962,19.462444 42.707907,19.466271 42.70719,19.471286 42.708959,19.474707 42.710249,19.479014 42.710693,19.484239 42.711791,19.488316 42.712071,19.491749 42.71386,19.493589 42.71517,19.496535 42.715464,19.500113 42.713749,19.5039 42.711365,19.507076 42.711823,19.512702 42.710747,19.519883 42.708484,19.523209 42.705771,19.523831 42.703428,19.527257 42.704883,19.532939 42.70614,19.537467 42.706412,19.545139 42.705807,19.551467 42.705721,19.553989 42.707187,19.557014 42.710647,19.559672 42.708443,19.565244 42.705198,19.57153 42.703443,19.57559 42.703053,19.580988 42.701978,19.5846 42.701761,19.589157 42.703197,19.592815 42.704813,19.59646 42.705929,19.597398 42.70725,19.600499 42.704705,19.604277 42.70215,19.610506 42.698227,19.616032 42.693313,19.623594 42.688536,19.628035 42.685471,19.631056 42.679926,19.632343 42.67724,19.630932 42.675092,19.631054 42.671089,19.631229 42.669086,19.633487 42.669053,19.633552 42.671553,19.633621 42.67422,19.635497 42.676861,19.639189 42.679808,19.643506 42.680746,19.655494 42.679397,19.659583 42.678699,19.65793 42.681114,19.657817 42.68407,19.658272 42.686876,19.659112 42.689818,19.661682 42.693297,19.665535 42.694788,19.668817 42.696287,19.67289 42.698899,19.674692 42.702108,19.678063 42.706981,19.678927 42.710766,19.678415 42.713025,19.680004 42.715392,19.681955 42.717051,19.685029 42.71785,19.688338 42.720332,19.688604 42.723142,19.687711 42.725406,19.686298 42.729646,19.685386 42.731207,19.683912 42.733199,19.683987 42.736011,19.683879 42.739107,19.68208 42.743213,19.679129 42.747055,19.6736 42.754451,19.671576 42.757294,19.670281 42.75886,19.668975 42.760005,19.670947 42.762367,19.675781 42.764687,19.678584 42.769569,19.679871 42.774895,19.678999 42.778002,19.677536 42.780415,19.676073 42.782828,19.675571 42.785508,19.672554 42.786959,19.668994 42.789544,19.666362 42.79113,19.662218 42.793301,19.661491 42.794718,19.66115 42.79627,19.659476 42.797983,19.656253 42.798874,19.65289 42.801736,19.650845 42.803876,19.648994 42.806154,19.64635 42.807317,19.643287 42.80708,19.640225 42.806844,19.637213 42.808575,19.639769 42.811351,19.642138 42.814271,19.649318 42.818527,19.650534 42.821182,19.650002 42.822737,19.649469 42.824292,19.649525 42.826401,19.648052 42.828532,19.648302 42.830779,19.649702 42.83315,19.650304 42.834267,19.649217 42.836533,19.649835 42.838212,19.651591 42.839593,19.653756 42.841953,19.653998 42.843919,19.654219 42.845041,19.657284 42.845277,19.660521 42.844808,19.66625 42.844583,19.665331 42.846003,19.665009 42.848258,19.667354 42.850193,19.669872 42.851422,19.672738 42.85138,19.675208 42.85078,19.677692 42.850744,19.678681 42.851995,19.677044 42.855114,19.675174 42.856689,19.673102 42.857845,19.670328 42.861402,19.668451 42.862696,19.666978 42.864827,19.666449 42.866523,19.665355 42.868508,19.661385 42.870255,19.655312 42.872031,19.650368 42.873088,19.643854 42.87262,19.640611 42.872949,19.638909 42.873677,19.636067 42.874702,19.635913 42.876111,19.638795 42.876632,19.640758 42.878573,19.641214 42.88138,19.643549 42.882893,19.647365 42.882556,19.651241 42.884469,19.654113 42.884568,19.655841 42.884824,19.657246 42.887335,19.659585 42.888989,19.662645 42.888944,19.665355 42.89017,19.668261 42.891534,19.66984 42.893339,19.67282 42.897515,19.665728 42.895831,19.65888 42.894098,19.654368 42.894997,19.648536 42.897417,19.644726 42.899139,19.643026 42.903499,19.640366 42.905872,19.638335 42.906235,19.635418 42.907444,19.632073 42.90966,19.628446 42.909712,19.622324 42.9098,19.617079 42.908708,19.609798 42.907811,19.604138 42.908225,19.595989 42.90884,19.593293 42.909879,19.591774 42.912568,19.589536 42.913766,19.584804 42.915,19.58304 42.917025,19.578547 42.918755,19.574948 42.919972,19.571437 42.915686,19.565698 42.912931,19.563842 42.91129,19.559191 42.906685,19.555308 42.905572,19.551244 42.906294,19.552641 42.907776,19.554509 42.909918,19.552295 42.912116,19.552126 42.914452,19.548498 42.914502,19.544639 42.914388,19.536686 42.913829,19.532142 42.913557,19.526441 42.912301,19.517792 42.911083,19.510488 42.90918,19.504732 42.905589,19.500348 42.902479,19.496916 42.901191,19.493543 42.902403,19.48999 42.905617,19.486891 42.908826,19.484182 42.909362,19.48234 42.908219,19.476402 42.906462,19.466645 42.906256,19.457606 42.907707,19.453317 42.908595,19.447906 42.909999,19.439078 42.910778,19.432102 42.913201,19.418098 42.915879,19.405886 42.917532,19.403016 42.921069,19.401075 42.925595,19.397279 42.928309,19.39076 42.931057,19.382879 42.933822,19.377731 42.937052,19.373424 42.937272,19.365539 42.939868,19.363641 42.936056,19.360173 42.933097,19.358538 42.930949,19.361876 42.927908,19.363632 42.925219,19.360363 42.920923,19.358948 42.918439,19.35492 42.920989,19.349977 42.923215,19.345458 42.924103,19.341595 42.923815,19.338161 42.922356,19.333335 42.919412,19.328983 42.917462,19.324228 42.917851,19.318739 42.915748,19.312104 42.912991,19.305981 42.913062,19.286051 42.914625,19.26998 42.916307,19.261368 42.916737,19.256329 42.914292,19.252927 42.91433,19.250009 42.915863,19.24709 42.917396,19.243475 42.918103,19.239882 42.919976,19.236065 42.922019,19.232426 42.921559,19.227647 42.920777,19.23528 42.916692,19.236382 42.915013,19.233394 42.913045,19.229529 42.912587,19.225441 42.912298,19.220416 42.910518,19.215576 42.906569,19.215301 42.904071,19.214314 42.899913,19.212858 42.894927,19.209339 42.888796,19.206835 42.888322,19.202752 42.888199,19.20143 42.890214,19.19915 42.889571,19.197308 42.88809,19.197446 42.88342,19.197389 42.88042,19.195982 42.877934,19.197083 42.876255,19.199775 42.874726,19.198141 42.872242,19.198968 42.868065,19.200051 42.865386,19.199738 42.860887,19.200632 42.860211,19.203804 42.860177,19.208094 42.859298,19.212348 42.856584,19.214776 42.853224,19.219035 42.850843,19.223771 42.849625,19.228253 42.847075,19.22957 42.844893,19.232013 42.842366,19.235818 42.83999,19.237358 42.837639,19.23662 42.834646,19.235875 42.831319,19.238318 42.828791,19.244606 42.826054,19.24909 42.823671,19.246349 42.822534,19.239976 42.820937,19.236999 42.819302,19.234505 42.819163,19.231532 42.817695,19.227615 42.814236,19.223249 42.810949,19.218242 42.809669,19.213375 42.803886,19.211956 42.800733,19.21371 42.797713,19.213885 42.795043,19.212916 42.791719,19.211727 42.788731,19.213719 42.786375,19.214353 42.784034,19.21135 42.780898,19.209938 42.778079,19.20969 42.776914,19.210267 42.771573,19.216797 42.769835,19.223992 42.767423,19.228395 42.763465,19.233074 42.759745))",
Savnik =
"POLYGON((19.200051 42.865386,19.198968 42.868065,19.198141 42.872242,19.199775 42.874726,19.197083 42.876255,19.195982 42.877934,19.197389 42.88042,19.197446 42.88342,19.197308 42.88809,19.19915 42.889571,19.20143 42.890214,19.202752 42.888199,19.206835 42.888322,19.209339 42.888796,19.212858 42.894927,19.214314 42.899913,19.215301 42.904071,19.215576 42.906569,19.220416 42.910518,19.225441 42.912298,19.229529 42.912587,19.233394 42.913045,19.236382 42.915013,19.23528 42.916692,19.227647 42.920777,19.232426 42.921559,19.236065 42.922019,19.239882 42.919976,19.243475 42.918103,19.24709 42.917396,19.250009 42.915863,19.252927 42.91433,19.256329 42.914292,19.261368 42.916737,19.26998 42.916307,19.286051 42.914625,19.305981 42.913062,19.312104 42.912991,19.318739 42.915748,19.324228 42.917851,19.328983 42.917462,19.333335 42.919412,19.338161 42.922356,19.341595 42.923815,19.345458 42.924103,19.349977 42.923215,19.35492 42.920989,19.358948 42.918439,19.360363 42.920923,19.363632 42.925219,19.361876 42.927908,19.358538 42.930949,19.360173 42.933097,19.363641 42.936056,19.365539 42.939868,19.367869 42.953095,19.367894 42.954262,19.364296 42.955806,19.354365 42.958426,19.349434 42.961319,19.344991 42.965874,19.342598 42.970738,19.343361 42.974563,19.345003 42.977045,19.344858 42.980881,19.346044 42.983201,19.348133 42.985344,19.349978 42.986656,19.347059 42.988191,19.34299 42.989073,19.337342 42.990474,19.335564 42.992329,19.330501 42.999892,19.325297 43.00087,19.319641 43.001936,19.316703 43.002638,19.314019 43.00467,19.311559 43.006532,19.309983 43.007217,19.306573 43.00709,19.305214 43.007273,19.303686 43.010291,19.303728 43.012292,19.303287 43.012964,19.301987 43.01598,19.300665 43.017996,19.298865 43.01885,19.294535 43.018233,19.289737 43.016954,19.28631 43.015993,19.28358 43.015857,19.281763 43.015878,19.281088 43.016219,19.280427 43.017227,19.280448 43.018227,19.28 43.018565,19.278183 43.018586,19.274525 43.01746,19.272453 43.01615,19.270615 43.01517,19.268808 43.015691,19.266974 43.014878,19.264255 43.015242,19.261773 43.016103,19.259288 43.016798,19.256562 43.016828,19.254751 43.017182,19.253194 43.018866,19.250261 43.019899,19.246406 43.020275,19.243923 43.021136,19.241233 43.023,19.241256 43.024167,19.243568 43.026142,19.247059 43.030272,19.251225 43.03406,19.255602 43.037013,19.25745 43.038493,19.257026 43.039998,19.257965 43.041488,19.259135 43.043142,19.258934 43.044478,19.255529 43.044683,19.254643 43.04586,19.249189 43.04592,19.246043 43.047789,19.241511 43.048506,19.234465 43.048583,19.230861 43.05029,19.229079 43.052143,19.227319 43.055164,19.224192 43.058032,19.222624 43.059216,19.222202 43.060888,19.217668 43.061604,19.215404 43.062128,19.213154 43.06332,19.210877 43.063178,19.209058 43.063197,19.207019 43.063552,19.205248 43.066072,19.20529 43.068239,19.202574 43.068935,19.198719 43.069476,19.195763 43.069508,19.193508 43.070532,19.19217 43.07188,19.190104 43.070901,19.188437 43.066918,19.188825 43.063412,19.18856 43.061414,19.187398 43.060093,19.188724 43.058078,19.186416 43.056268,19.184118 43.054959,19.181586 43.053318,19.178622 43.052849,19.176813 43.053368,19.173799 43.050232,19.171501 43.048922,19.169468 43.04961,19.166083 43.050979,19.163592 43.051505,19.161331 43.052195,19.16162 43.055526,19.158917 43.056888,19.155735 43.056921,19.153695 43.057275,19.151219 43.058634,19.145809 43.06119,19.141256 43.060903,19.1381 43.062435,19.134954 43.064468,19.134296 43.065808,19.137085 43.069115,19.140349 43.073583,19.139979 43.078255,19.141632 43.081573,19.144222 43.086382,19.145401 43.088704,19.142709 43.090732,19.137723 43.091783,19.136583 43.091628,19.132665 43.088833,19.126273 43.087563,19.122179 43.087604,19.118956 43.085469,19.114848 43.084676,19.112124 43.085036,19.103718 43.085619,19.09917 43.085663,19.092335 43.085063,19.085938 43.083458,19.080463 43.08251,19.074772 43.082231,19.069069 43.081285,19.061144 43.083361,19.058659 43.084385,19.05666 43.087238,19.053509 43.089268,19.050339 43.090131,19.048095 43.091986,19.049504 43.094641,19.051624 43.098956,19.05264 43.105282,19.052693 43.108449,19.050471 43.111638,19.048043 43.116162,19.046525 43.120678,19.044297 43.123533,19.042282 43.125552,19.03891 43.128084,19.031757 43.122231,19.025961 43.115782,19.020078 43.117836,19.013747 43.120394,19.01286 43.121903,19.014041 43.12456,19.00271 43.127662,19.001527 43.124839,18.999659 43.121854,18.996679 43.120547,18.992562 43.119249,18.988675 43.118117,18.984762 43.115317,18.981286 43.111346,18.980348 43.10952,18.980301 43.106519,18.980058 43.105521,18.978646 43.102532,18.979515 43.099857,18.980124 43.095183,18.980083 43.092516,18.977966 43.088033,18.974032 43.083732,18.974458 43.081895,18.973967 43.079564,18.972337 43.077078,18.970924 43.073922,18.970384 43.068425,18.967362 43.064116,18.959995 43.058177,18.952394 43.051739,18.951907 43.049576,18.952089 43.046573,18.948407 43.043603,18.946087 43.040455,18.945537 43.034124,18.938418 43.029182,18.933385 43.02689,18.933118 43.024224,18.93761 43.020686,18.941435 43.018153,18.942756 43.015307,18.941131 43.012987,18.937447 43.009683,18.938284 43.004841,18.941194 43.001982,18.943893 43.000125,18.947307 43.000597,18.949848 43.00341,18.954378 43.002538,18.957525 43.000343,18.960223 42.998486,18.964058 42.996786,18.969259 42.995241,18.971228 42.990389,18.976653 42.988674,18.984598 42.988438,18.988041 42.990742,18.993728 42.991359,18.995968 42.989339,18.997972 42.98682,19.002006 42.983449,19.003099 42.980772,19.012333 42.976021,19.018907 42.975295,19.022274 42.97293,19.020885 42.971275,19.017691 42.970304,19.015629 42.969155,19.012128 42.963185,19.011615 42.959521,19.010007 42.958368,19.008176 42.957384,19.00561 42.953073,19.005562 42.950072,19.003034 42.948094,19.000916 42.943277,18.998317 42.936798,19.004493 42.939911,19.010134 42.937859,19.017189 42.93913,19.019412 42.936275,19.02248 42.929578,19.024006 42.92573,19.031203 42.921829,19.03346 42.921141,19.034821 42.921129,19.036431 42.922448,19.038713 42.92326,19.041662 42.923233,19.04372 42.924214,19.046212 42.924025,19.049593 42.922659,19.050705 42.921315,19.051811 42.919637,19.054074 42.919283,19.057448 42.917584,19.06103 42.914716,19.067962 42.908815,19.072912 42.906433,19.077427 42.905223,19.082589 42.902006,19.085944 42.899306,19.089962 42.895599,19.102124 42.890812,19.106391 42.888436,19.109288 42.885573,19.112424 42.883375,19.11555 42.880676,19.118229 42.878315,19.121841 42.877445,19.127036 42.876393,19.130872 42.875354,19.136061 42.873968,19.138983 42.872605,19.141231 42.871582,19.143241 42.869894,19.143187 42.866894,19.143365 42.864224,19.145157 42.863039,19.148091 42.862342,19.150323 42.860485,19.152562 42.858962,19.157752 42.857741,19.159767 42.856387,19.163092 42.852351,19.163729 42.85001,19.166212 42.849484,19.168251 42.849463,19.170988 42.850435,19.17397 42.852405,19.177853 42.854032,19.181037 42.854666,19.184222 42.855299,19.188568 42.857421,19.191315 42.858892,19.194047 42.85953,19.199738 42.860887,19.200051 42.865386))";
var spisakOpstina = {
Andrijevica: Andrijevica,
Bar: Bar,
Berane: Berane,
BijeloPolje: BijeloPolje,
Budva: Budva,
Cetinje: Cetinje,
Danilovgrad: Danilovgrad,
HercegNovi: HercegNovi,
Kolašin: Kolasin,
Kotor: Kotor,
Mojkovac: Mojkovac,
Nikšić: Niksic,
Plav: Plav,
Plužine: Pluzine,
Pljevlja: Pljevlja,
Podgorica: Podgorica,
Rožaje: Rozaje,
Šavnik: Savnik,
Tivat: Tivat,
Ulcinj: Ulcinj,
Žabljak: Zabljak
};
|
'use strict';
function D3_RadialTidyTree(selector, aProps)
{
var svg = d3.select(selector);
if (svg.empty() == true)
{
console.log('D3RadialTidyTree: Could not identify element based on selector: '+selector);
return;
}
svg.style("height","auto");
var nSvgWidth = svg.node().getBoundingClientRect().width;
var nSvgHeight = svg.node().getBoundingClientRect().height;
var aData = aProps['data'];
var strCssClassPrefix = GetStringValue(aProps['cssclassprefix']);
if (strCssClassPrefix == '')
{
strCssClassPrefix = 'd3-radialtidytree-';
}
var aDataHierarchical = d3.hierarchy(aData);
const fRadius = nSvgWidth / 2;
const root = d3.tree()
.size([2 * Math.PI, fRadius])
.separation((a, b) => (a.parent == b.parent ? 1 : 2) / a.depth)
(aDataHierarchical)
svg.attr("class", strCssClassPrefix+'svg');
const link = svg.append("g")
.attr("fill", "none")
.attr("stroke", "#555")
.attr("stroke-opacity", 0.4)
.attr("stroke-width", 1.5)
.selectAll("path")
.data(root.links())
.join("path")
.attr("d", d3.linkRadial()
.angle(d => d.x)
.radius(d => d.y)
);
const node = svg.append("g")
.attr("stroke-linejoin", "round")
.attr("stroke-width", 3)
.selectAll("g")
.data(root.descendants().reverse())
.join("g")
.attr("transform", d => `
rotate(${d.x * 180 / Math.PI - 90})
translate(${d.y},0)
`);
node.append("circle")
//.attr("fill", d => d.children ? "#555" : "#999")
.attr("class", d => d.children ? strCssClassPrefix+'path-end' : strCssClassPrefix+'path-start')
.attr("r", 2.5);
node.append("text")
.attr("dy", "0.31em")
.attr("x", d => d.x < Math.PI === !d.children ? 6 : -6)
.attr("text-anchor", d => d.x < Math.PI === !d.children ? "start" : "end")
.attr("transform", d => d.x >= Math.PI ? "rotate(180)" : null)
.text(d => d.data.label)
.clone(true).lower()
.attr("stroke", "white");
const svgnode = svg.node();
const box = svgnode.getBBox();
svgnode.setAttribute("viewBox", `${box.x} ${box.y} ${box.width} ${box.height}`);
}
|
import { Link } from "react-router-dom";
import Listing from "../components/Listing";
import './homePage.css';
import data from "../Data.json";
export default function HomePage() {
return (
<div className="listingList">
{data.listings.map(({ id, image, name, price, stocked }) => {
return (
<Link to={`/listing/${id}`} style={{ textDecoration: 'none' }}>
<Listing image={image} name={name} price={price} stocked={stocked === "yes"} />
</Link>
);
})}
</div>
);
}
|
import MockAdapter from 'axios-mock-adapter';
import Api from '~/api';
import axios from '~/lib/utils/axios_utils';
import httpStatus from '~/lib/utils/http_status';
describe('Api', () => {
const dummyApiVersion = 'v3000';
const dummyUrlRoot = '/gitlab';
const dummyGon = {
api_version: dummyApiVersion,
relative_url_root: dummyUrlRoot,
};
let originalGon;
let mock;
beforeEach(() => {
mock = new MockAdapter(axios);
originalGon = window.gon;
window.gon = { ...dummyGon };
});
afterEach(() => {
mock.restore();
window.gon = originalGon;
});
describe('buildUrl', () => {
it('adds URL root and fills in API version', () => {
const input = '/api/:version/foo/bar';
const expectedOutput = `${dummyUrlRoot}/api/${dummyApiVersion}/foo/bar`;
const builtUrl = Api.buildUrl(input);
expect(builtUrl).toEqual(expectedOutput);
});
[null, '', '/'].forEach((root) => {
it(`works when relative_url_root is ${root}`, () => {
window.gon.relative_url_root = root;
const input = '/api/:version/foo/bar';
const expectedOutput = `/api/${dummyApiVersion}/foo/bar`;
const builtUrl = Api.buildUrl(input);
expect(builtUrl).toEqual(expectedOutput);
});
});
});
describe('packages', () => {
const projectId = 'project_a';
const packageId = 'package_b';
const apiResponse = [{ id: 1, name: 'foo' }];
describe('groupPackages', () => {
const groupId = 'group_a';
it('fetch all group packages', () => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}/packages`;
jest.spyOn(axios, 'get');
mock.onGet(expectedUrl).replyOnce(httpStatus.OK, apiResponse);
return Api.groupPackages(groupId).then(({ data }) => {
expect(data).toEqual(apiResponse);
expect(axios.get).toHaveBeenCalledWith(expectedUrl, {});
});
});
});
describe('projectPackages', () => {
it('fetch all project packages', () => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/packages`;
jest.spyOn(axios, 'get');
mock.onGet(expectedUrl).replyOnce(httpStatus.OK, apiResponse);
return Api.projectPackages(projectId).then(({ data }) => {
expect(data).toEqual(apiResponse);
expect(axios.get).toHaveBeenCalledWith(expectedUrl, {});
});
});
});
describe('buildProjectPackageUrl', () => {
it('returns the right url', () => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/packages/${packageId}`;
const url = Api.buildProjectPackageUrl(projectId, packageId);
expect(url).toEqual(expectedUrl);
});
});
describe('projectPackage', () => {
it('fetch package details', () => {
const expectedUrl = `foo`;
jest.spyOn(Api, 'buildProjectPackageUrl').mockReturnValue(expectedUrl);
jest.spyOn(axios, 'get');
mock.onGet(expectedUrl).replyOnce(httpStatus.OK, apiResponse);
return Api.projectPackage(projectId, packageId).then(({ data }) => {
expect(data).toEqual(apiResponse);
expect(axios.get).toHaveBeenCalledWith(expectedUrl);
});
});
});
describe('deleteProjectPackage', () => {
it('delete a package', () => {
const expectedUrl = `foo`;
jest.spyOn(Api, 'buildProjectPackageUrl').mockReturnValue(expectedUrl);
jest.spyOn(axios, 'delete');
mock.onDelete(expectedUrl).replyOnce(httpStatus.OK, true);
return Api.deleteProjectPackage(projectId, packageId).then(({ data }) => {
expect(data).toEqual(true);
expect(axios.delete).toHaveBeenCalledWith(expectedUrl);
});
});
});
describe('deleteProjectPackageFile', () => {
const packageFileId = 'package_file_id';
it('delete a package', () => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/packages/${packageId}/package_files/${packageFileId}`;
jest.spyOn(axios, 'delete');
mock.onDelete(expectedUrl).replyOnce(httpStatus.OK, true);
return Api.deleteProjectPackageFile(projectId, packageId, packageFileId).then(
({ data }) => {
expect(data).toEqual(true);
expect(axios.delete).toHaveBeenCalledWith(expectedUrl);
},
);
});
});
});
describe('container registry', () => {
describe('containerRegistryDetails', () => {
it('fetch container registry details', async () => {
const expectedUrl = `foo`;
const apiResponse = {};
jest.spyOn(axios, 'get');
jest.spyOn(Api, 'buildUrl').mockReturnValueOnce(expectedUrl);
mock.onGet(expectedUrl).replyOnce(httpStatus.OK, apiResponse);
const { data } = await Api.containerRegistryDetails(1);
expect(data).toEqual(apiResponse);
expect(axios.get).toHaveBeenCalledWith(expectedUrl, {});
});
});
});
describe('group', () => {
it('fetches a group', (done) => {
const groupId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}`;
mock.onGet(expectedUrl).reply(httpStatus.OK, {
name: 'test',
});
Api.group(groupId, (response) => {
expect(response.name).toBe('test');
done();
});
});
});
describe('groupMembers', () => {
it('fetches group members', (done) => {
const groupId = '54321';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}/members`;
const expectedData = [{ id: 7 }];
mock.onGet(expectedUrl).reply(httpStatus.OK, expectedData);
Api.groupMembers(groupId)
.then(({ data }) => {
expect(data).toEqual(expectedData);
})
.then(done)
.catch(done.fail);
});
});
describe('addGroupMembersByUserId', () => {
it('adds an existing User as a new Group Member by User ID', () => {
const groupId = 1;
const expectedUserId = 2;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/1/members`;
const params = {
user_id: expectedUserId,
access_level: 10,
expires_at: undefined,
};
mock.onPost(expectedUrl).reply(200, {
id: expectedUserId,
state: 'active',
});
return Api.addGroupMembersByUserId(groupId, params).then(({ data }) => {
expect(data.id).toBe(expectedUserId);
expect(data.state).toBe('active');
});
});
});
describe('inviteGroupMembersByEmail', () => {
it('invites a new email address to create a new User and become a Group Member', () => {
const groupId = 1;
const email = 'email@example.com';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/1/invitations`;
const params = {
email,
access_level: 10,
expires_at: undefined,
};
mock.onPost(expectedUrl).reply(200, {
status: 'success',
});
return Api.inviteGroupMembersByEmail(groupId, params).then(({ data }) => {
expect(data.status).toBe('success');
});
});
});
describe('groupMilestones', () => {
it('fetches group milestones', (done) => {
const groupId = '16';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}/milestones`;
const expectedData = [
{
id: 12,
iid: 3,
group_id: 16,
title: '10.0',
description: 'Version',
due_date: '2013-11-29',
start_date: '2013-11-10',
state: 'active',
updated_at: '2013-10-02T09:24:18Z',
created_at: '2013-10-02T09:24:18Z',
web_url: 'https://gitlab.com/groups/gitlab-org/-/milestones/42',
},
];
mock.onGet(expectedUrl).reply(httpStatus.OK, expectedData);
Api.groupMilestones(groupId)
.then(({ data }) => {
expect(data).toEqual(expectedData);
})
.then(done)
.catch(done.fail);
});
});
describe('groups', () => {
it('fetches groups', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups.json`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.groups(query, options, (response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
done();
});
});
});
describe('groupLabels', () => {
it('fetches group labels', (done) => {
const options = { params: { search: 'foo' } };
const expectedGroup = 'gitlab-org';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${expectedGroup}/labels`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
id: 1,
name: 'Foo Label',
},
]);
Api.groupLabels(expectedGroup, options)
.then((res) => {
expect(res.length).toBe(1);
expect(res[0].name).toBe('Foo Label');
})
.then(done)
.catch(done.fail);
});
});
describe('namespaces', () => {
it('fetches namespaces', (done) => {
const query = 'dummy query';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/namespaces.json`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.namespaces(query, (response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
done();
});
});
});
describe('projects', () => {
it('fetches projects with membership when logged in', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects.json`;
window.gon.current_user_id = 1;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.projects(query, options, (response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
done();
});
});
it('fetches projects without membership when not logged in', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects.json`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.projects(query, options, (response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
done();
});
});
});
describe('updateProject', () => {
it('update a project with the given payload', (done) => {
const projectPath = 'foo';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}`;
mock.onPut(expectedUrl).reply(httpStatus.OK, { foo: 'bar' });
Api.updateProject(projectPath, { foo: 'bar' })
.then(({ data }) => {
expect(data.foo).toBe('bar');
done();
})
.catch(done.fail);
});
});
describe('projectUsers', () => {
it('fetches all users of a particular project', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const projectPath = 'gitlab-org%2Fgitlab-ce';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/users`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.projectUsers('gitlab-org/gitlab-ce', query, options)
.then((response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
})
.then(done)
.catch(done.fail);
});
});
describe('projectMergeRequests', () => {
const projectPath = 'abc';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests`;
it('fetches all merge requests for a project', (done) => {
const mockData = [{ source_branch: 'foo' }, { source_branch: 'bar' }];
mock.onGet(expectedUrl).reply(httpStatus.OK, mockData);
Api.projectMergeRequests(projectPath)
.then(({ data }) => {
expect(data.length).toEqual(2);
expect(data[0].source_branch).toBe('foo');
expect(data[1].source_branch).toBe('bar');
})
.then(done)
.catch(done.fail);
});
it('fetches merge requests filtered with passed params', (done) => {
const params = {
source_branch: 'bar',
};
const mockData = [{ source_branch: 'bar' }];
mock.onGet(expectedUrl, { params }).reply(httpStatus.OK, mockData);
Api.projectMergeRequests(projectPath, params)
.then(({ data }) => {
expect(data.length).toEqual(1);
expect(data[0].source_branch).toBe('bar');
})
.then(done)
.catch(done.fail);
});
});
describe('projectMergeRequest', () => {
it('fetches a merge request', (done) => {
const projectPath = 'abc';
const mergeRequestId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests/${mergeRequestId}`;
mock.onGet(expectedUrl).reply(httpStatus.OK, {
title: 'test',
});
Api.projectMergeRequest(projectPath, mergeRequestId)
.then(({ data }) => {
expect(data.title).toBe('test');
})
.then(done)
.catch(done.fail);
});
});
describe('projectMergeRequestChanges', () => {
it('fetches the changes of a merge request', (done) => {
const projectPath = 'abc';
const mergeRequestId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests/${mergeRequestId}/changes`;
mock.onGet(expectedUrl).reply(httpStatus.OK, {
title: 'test',
});
Api.projectMergeRequestChanges(projectPath, mergeRequestId)
.then(({ data }) => {
expect(data.title).toBe('test');
})
.then(done)
.catch(done.fail);
});
});
describe('projectMergeRequestVersions', () => {
it('fetches the versions of a merge request', (done) => {
const projectPath = 'abc';
const mergeRequestId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests/${mergeRequestId}/versions`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
id: 123,
},
]);
Api.projectMergeRequestVersions(projectPath, mergeRequestId)
.then(({ data }) => {
expect(data.length).toBe(1);
expect(data[0].id).toBe(123);
})
.then(done)
.catch(done.fail);
});
});
describe('projectRunners', () => {
it('fetches the runners of a project', (done) => {
const projectPath = 7;
const params = { scope: 'active' };
const mockData = [{ id: 4 }];
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/runners`;
mock.onGet(expectedUrl, { params }).reply(httpStatus.OK, mockData);
Api.projectRunners(projectPath, { params })
.then(({ data }) => {
expect(data).toEqual(mockData);
})
.then(done)
.catch(done.fail);
});
});
describe('projectShareWithGroup', () => {
it('invites a group to share access with the authenticated project', () => {
const projectId = 1;
const sharedGroupId = 99;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/share`;
const options = {
group_id: sharedGroupId,
group_access: 10,
expires_at: undefined,
};
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl).reply(200, {
status: 'success',
});
return Api.projectShareWithGroup(projectId, options).then(({ data }) => {
expect(data.status).toBe('success');
expect(axios.post).toHaveBeenCalledWith(expectedUrl, options);
});
});
});
describe('projectMilestones', () => {
it('fetches project milestones', (done) => {
const projectId = 1;
const options = { state: 'active' };
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/1/milestones`;
mock.onGet(expectedUrl).reply(200, [
{
id: 1,
title: 'milestone1',
state: 'active',
},
]);
Api.projectMilestones(projectId, options)
.then(({ data }) => {
expect(data.length).toBe(1);
expect(data[0].title).toBe('milestone1');
})
.then(done)
.catch(done.fail);
});
});
describe('addProjectIssueAsTodo', () => {
it('adds issue ID as a todo', () => {
const projectId = 1;
const issueIid = 11;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/1/issues/11/todo`;
mock.onPost(expectedUrl).reply(200, {
id: 112,
project: {
id: 1,
},
});
return Api.addProjectIssueAsTodo(projectId, issueIid).then(({ data }) => {
expect(data.id).toBe(112);
expect(data.project.id).toBe(projectId);
});
});
});
describe('addProjectMembersByUserId', () => {
it('adds an existing User as a new Project Member by User ID', () => {
const projectId = 1;
const expectedUserId = 2;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/1/members`;
const params = {
user_id: expectedUserId,
access_level: 10,
expires_at: undefined,
};
mock.onPost(expectedUrl).reply(200, {
id: expectedUserId,
state: 'active',
});
return Api.addProjectMembersByUserId(projectId, params).then(({ data }) => {
expect(data.id).toBe(expectedUserId);
expect(data.state).toBe('active');
});
});
});
describe('inviteProjectMembersByEmail', () => {
it('invites a new email address to create a new User and become a Project Member', () => {
const projectId = 1;
const expectedEmail = 'email@example.com';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/1/invitations`;
const params = {
email: expectedEmail,
access_level: 10,
expires_at: undefined,
};
mock.onPost(expectedUrl).reply(200, {
status: 'success',
});
return Api.inviteProjectMembersByEmail(projectId, params).then(({ data }) => {
expect(data.status).toBe('success');
});
});
});
describe('newLabel', () => {
it('creates a new project label', (done) => {
const namespace = 'some namespace';
const project = 'some project';
const labelData = { some: 'data' };
const expectedUrl = `${dummyUrlRoot}/${namespace}/${project}/-/labels`;
const expectedData = {
label: labelData,
};
mock.onPost(expectedUrl).reply((config) => {
expect(config.data).toBe(JSON.stringify(expectedData));
return [
httpStatus.OK,
{
name: 'test',
},
];
});
Api.newLabel(namespace, project, labelData, (response) => {
expect(response.name).toBe('test');
done();
});
});
it('creates a new group label', (done) => {
const namespace = 'group/subgroup';
const labelData = { name: 'Foo', color: '#000000' };
const expectedUrl = Api.buildUrl(Api.groupLabelsPath).replace(':namespace_path', namespace);
mock.onPost(expectedUrl).reply((config) => {
expect(config.data).toBe(JSON.stringify({ color: labelData.color }));
return [
httpStatus.OK,
{
...labelData,
},
];
});
Api.newLabel(namespace, undefined, labelData, (response) => {
expect(response.name).toBe('Foo');
done();
});
});
});
describe('groupProjects', () => {
it('fetches group projects', (done) => {
const groupId = '123456';
const query = 'dummy query';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}/projects.json`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.groupProjects(groupId, query, {}, (response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
done();
});
});
});
describe('groupShareWithGroup', () => {
it('invites a group to share access with the authenticated group', () => {
const groupId = 1;
const sharedGroupId = 99;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}/share`;
const options = {
group_id: sharedGroupId,
group_access: 10,
expires_at: undefined,
};
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl).reply(200, {
status: 'success',
});
return Api.groupShareWithGroup(groupId, options).then(({ data }) => {
expect(data.status).toBe('success');
expect(axios.post).toHaveBeenCalledWith(expectedUrl, options);
});
});
});
describe('commit', () => {
const projectId = 'user/project';
const sha = 'abcd0123';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent(
projectId,
)}/repository/commits/${sha}`;
it('fetches a single commit', () => {
mock.onGet(expectedUrl).reply(httpStatus.OK, { id: sha });
return Api.commit(projectId, sha).then(({ data: commit }) => {
expect(commit.id).toBe(sha);
});
});
it('fetches a single commit without stats', () => {
mock.onGet(expectedUrl, { params: { stats: false } }).reply(httpStatus.OK, { id: sha });
return Api.commit(projectId, sha, { stats: false }).then(({ data: commit }) => {
expect(commit.id).toBe(sha);
});
});
});
describe('issueTemplate', () => {
const namespace = 'some namespace';
const project = 'some project';
const templateKey = ' template #%?.key ';
const templateType = 'template type';
const expectedUrl = `${dummyUrlRoot}/${namespace}/${project}/templates/${templateType}/${encodeURIComponent(
templateKey,
)}`;
it('fetches an issue template', (done) => {
mock.onGet(expectedUrl).reply(httpStatus.OK, 'test');
Api.issueTemplate(namespace, project, templateKey, templateType, (error, response) => {
expect(response).toBe('test');
done();
});
});
describe('when an error occurs while fetching an issue template', () => {
it('rejects the Promise', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
Api.issueTemplate(namespace, project, templateKey, templateType, () => {
expect(mock.history.get).toHaveLength(1);
});
});
});
});
describe('issueTemplates', () => {
const namespace = 'some namespace';
const project = 'some project';
const templateType = 'template type';
const expectedUrl = `${dummyUrlRoot}/${namespace}/${project}/templates/${templateType}`;
it('fetches all templates by type', (done) => {
const expectedData = [
{ key: 'Template1', name: 'Template 1', content: 'This is template 1!' },
];
mock.onGet(expectedUrl).reply(httpStatus.OK, expectedData);
Api.issueTemplates(namespace, project, templateType, (error, response) => {
expect(response.length).toBe(1);
const { key, name, content } = response[0];
expect(key).toBe('Template1');
expect(name).toBe('Template 1');
expect(content).toBe('This is template 1!');
done();
});
});
describe('when an error occurs while fetching issue templates', () => {
it('rejects the Promise', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
Api.issueTemplates(namespace, project, templateType, () => {
expect(mock.history.get).toHaveLength(1);
});
});
});
});
describe('projectTemplates', () => {
it('fetches a list of templates', (done) => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/gitlab-org%2Fgitlab-ce/templates/licenses`;
mock.onGet(expectedUrl).reply(httpStatus.OK, 'test');
Api.projectTemplates('gitlab-org/gitlab-ce', 'licenses', {}, (response) => {
expect(response).toBe('test');
done();
});
});
});
describe('projectTemplate', () => {
it('fetches a single template', (done) => {
const data = { unused: 'option' };
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/gitlab-org%2Fgitlab-ce/templates/licenses/test%20license`;
mock.onGet(expectedUrl).reply(httpStatus.OK, 'test');
Api.projectTemplate('gitlab-org/gitlab-ce', 'licenses', 'test license', data, (response) => {
expect(response).toBe('test');
done();
});
});
});
describe('users', () => {
it('fetches users', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/users.json`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.users(query, options)
.then(({ data }) => {
expect(data.length).toBe(1);
expect(data[0].name).toBe('test');
})
.then(done)
.catch(done.fail);
});
});
describe('user', () => {
it('fetches single user', (done) => {
const userId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/users/${userId}`;
mock.onGet(expectedUrl).reply(httpStatus.OK, {
name: 'testuser',
});
Api.user(userId)
.then(({ data }) => {
expect(data.name).toBe('testuser');
})
.then(done)
.catch(done.fail);
});
});
describe('user counts', () => {
it('fetches single user counts', (done) => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/user_counts`;
mock.onGet(expectedUrl).reply(httpStatus.OK, {
merge_requests: 4,
});
Api.userCounts()
.then(({ data }) => {
expect(data.merge_requests).toBe(4);
})
.then(done)
.catch(done.fail);
});
});
describe('user status', () => {
it('fetches single user status', (done) => {
const userId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/users/${userId}/status`;
mock.onGet(expectedUrl).reply(httpStatus.OK, {
message: 'testmessage',
});
Api.userStatus(userId)
.then(({ data }) => {
expect(data.message).toBe('testmessage');
})
.then(done)
.catch(done.fail);
});
});
describe('user projects', () => {
it('fetches all projects that belong to a particular user', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const userId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/users/${userId}/projects`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.userProjects(userId, query, options, (response) => {
expect(response.length).toBe(1);
expect(response[0].name).toBe('test');
done();
});
});
});
describe('commitPipelines', () => {
it('fetches pipelines for a given commit', (done) => {
const projectId = 'example/foobar';
const commitSha = 'abc123def';
const expectedUrl = `${dummyUrlRoot}/${projectId}/commit/${commitSha}/pipelines`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.commitPipelines(projectId, commitSha)
.then(({ data }) => {
expect(data.length).toBe(1);
expect(data[0].name).toBe('test');
})
.then(done)
.catch(done.fail);
});
});
describe('pipelineJobs', () => {
it.each([undefined, {}, { foo: true }])(
'fetches the jobs for a given pipeline given %p params',
async (params) => {
const projectId = 123;
const pipelineId = 456;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/pipelines/${pipelineId}/jobs`;
const payload = [
{
name: 'test',
},
];
mock.onGet(expectedUrl, { params }).reply(httpStatus.OK, payload);
const { data } = await Api.pipelineJobs(projectId, pipelineId, params);
expect(data).toEqual(payload);
},
);
});
describe('createBranch', () => {
it('creates new branch', (done) => {
const ref = 'main';
const branch = 'new-branch-name';
const dummyProjectPath = 'gitlab-org/gitlab-ce';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent(
dummyProjectPath,
)}/repository/branches`;
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl).replyOnce(httpStatus.OK, {
name: branch,
});
Api.createBranch(dummyProjectPath, { ref, branch })
.then(({ data }) => {
expect(data.name).toBe(branch);
expect(axios.post).toHaveBeenCalledWith(expectedUrl, { ref, branch });
})
.then(done)
.catch(done.fail);
});
});
describe('projectForks', () => {
it('gets forked projects', (done) => {
const dummyProjectPath = 'gitlab-org/gitlab-ce';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent(
dummyProjectPath,
)}/forks`;
jest.spyOn(axios, 'get');
mock.onGet(expectedUrl).replyOnce(httpStatus.OK, ['fork']);
Api.projectForks(dummyProjectPath, { visibility: 'private' })
.then(({ data }) => {
expect(data).toEqual(['fork']);
expect(axios.get).toHaveBeenCalledWith(expectedUrl, {
params: { visibility: 'private' },
});
})
.then(done)
.catch(done.fail);
});
});
describe('createContextCommits', () => {
it('creates a new context commit', (done) => {
const projectPath = 'abc';
const mergeRequestId = '123456';
const commitsData = ['abcdefg'];
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests/${mergeRequestId}/context_commits`;
const expectedData = {
commits: commitsData,
};
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl).replyOnce(200, [
{
id: 'abcdefghijklmnop',
short_id: 'abcdefg',
title: 'Dummy commit',
},
]);
Api.createContextCommits(projectPath, mergeRequestId, expectedData)
.then(({ data }) => {
expect(data[0].title).toBe('Dummy commit');
})
.then(done)
.catch(done.fail);
});
});
describe('allContextCommits', () => {
it('gets all context commits', (done) => {
const projectPath = 'abc';
const mergeRequestId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests/${mergeRequestId}/context_commits`;
jest.spyOn(axios, 'get');
mock
.onGet(expectedUrl)
.replyOnce(200, [{ id: 'abcdef', short_id: 'abcdefghi', title: 'Dummy commit title' }]);
Api.allContextCommits(projectPath, mergeRequestId)
.then(({ data }) => {
expect(data[0].title).toBe('Dummy commit title');
})
.then(done)
.catch(done.fail);
});
});
describe('removeContextCommits', () => {
it('removes context commits', (done) => {
const projectPath = 'abc';
const mergeRequestId = '123456';
const commitsData = ['abcdefg'];
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectPath}/merge_requests/${mergeRequestId}/context_commits`;
const expectedData = {
commits: commitsData,
};
jest.spyOn(axios, 'delete');
mock.onDelete(expectedUrl).replyOnce(204);
Api.removeContextCommits(projectPath, mergeRequestId, expectedData)
.then(() => {
expect(axios.delete).toHaveBeenCalledWith(expectedUrl, { data: expectedData });
})
.then(done)
.catch(done.fail);
});
});
describe('release-related methods', () => {
const dummyProjectPath = 'gitlab-org/gitlab';
const dummyTagName = 'v1.3';
const baseReleaseUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent(
dummyProjectPath,
)}/releases`;
describe('releases', () => {
const expectedUrl = baseReleaseUrl;
describe('when releases are successfully returned', () => {
it('resolves the Promise', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.OK);
return Api.releases(dummyProjectPath).then(() => {
expect(mock.history.get).toHaveLength(1);
});
});
});
describe('when an error occurs while fetching releases', () => {
it('rejects the Promise', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.releases(dummyProjectPath).catch(() => {
expect(mock.history.get).toHaveLength(1);
});
});
});
});
describe('release', () => {
const expectedUrl = `${baseReleaseUrl}/${encodeURIComponent(dummyTagName)}`;
describe('when the release is successfully returned', () => {
it('resolves the Promise', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.OK);
return Api.release(dummyProjectPath, dummyTagName).then(() => {
expect(mock.history.get).toHaveLength(1);
});
});
});
describe('when an error occurs while fetching the release', () => {
it('rejects the Promise', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.release(dummyProjectPath, dummyTagName).catch(() => {
expect(mock.history.get).toHaveLength(1);
});
});
});
});
describe('createRelease', () => {
const expectedUrl = baseReleaseUrl;
const release = {
name: 'Version 1.0',
};
describe('when the release is successfully created', () => {
it('resolves the Promise', () => {
mock.onPost(expectedUrl, release).replyOnce(httpStatus.CREATED);
return Api.createRelease(dummyProjectPath, release).then(() => {
expect(mock.history.post).toHaveLength(1);
});
});
});
describe('when an error occurs while creating the release', () => {
it('rejects the Promise', () => {
mock.onPost(expectedUrl, release).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.createRelease(dummyProjectPath, release).catch(() => {
expect(mock.history.post).toHaveLength(1);
});
});
});
});
describe('updateRelease', () => {
const expectedUrl = `${baseReleaseUrl}/${encodeURIComponent(dummyTagName)}`;
const release = {
name: 'Version 1.0',
};
describe('when the release is successfully updated', () => {
it('resolves the Promise', () => {
mock.onPut(expectedUrl, release).replyOnce(httpStatus.OK);
return Api.updateRelease(dummyProjectPath, dummyTagName, release).then(() => {
expect(mock.history.put).toHaveLength(1);
});
});
});
describe('when an error occurs while updating the release', () => {
it('rejects the Promise', () => {
mock.onPut(expectedUrl, release).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.updateRelease(dummyProjectPath, dummyTagName, release).catch(() => {
expect(mock.history.put).toHaveLength(1);
});
});
});
});
describe('createReleaseLink', () => {
const expectedUrl = `${baseReleaseUrl}/${dummyTagName}/assets/links`;
const expectedLink = {
url: 'https://example.com',
name: 'An example link',
};
describe('when the Release is successfully created', () => {
it('resolves the Promise', () => {
mock.onPost(expectedUrl, expectedLink).replyOnce(httpStatus.CREATED);
return Api.createReleaseLink(dummyProjectPath, dummyTagName, expectedLink).then(() => {
expect(mock.history.post).toHaveLength(1);
});
});
});
describe('when an error occurs while creating the Release', () => {
it('rejects the Promise', () => {
mock.onPost(expectedUrl, expectedLink).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.createReleaseLink(dummyProjectPath, dummyTagName, expectedLink).catch(() => {
expect(mock.history.post).toHaveLength(1);
});
});
});
});
describe('deleteReleaseLink', () => {
const dummyLinkId = '4';
const expectedUrl = `${baseReleaseUrl}/${dummyTagName}/assets/links/${dummyLinkId}`;
describe('when the Release is successfully deleted', () => {
it('resolves the Promise', () => {
mock.onDelete(expectedUrl).replyOnce(httpStatus.OK);
return Api.deleteReleaseLink(dummyProjectPath, dummyTagName, dummyLinkId).then(() => {
expect(mock.history.delete).toHaveLength(1);
});
});
});
describe('when an error occurs while deleting the Release', () => {
it('rejects the Promise', () => {
mock.onDelete(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.deleteReleaseLink(dummyProjectPath, dummyTagName, dummyLinkId).catch(() => {
expect(mock.history.delete).toHaveLength(1);
});
});
});
});
});
describe('getRawFile', () => {
const dummyProjectPath = 'gitlab-org/gitlab';
const dummyFilePath = 'doc/CONTRIBUTING.md';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent(
dummyProjectPath,
)}/repository/files/${encodeURIComponent(dummyFilePath)}/raw`;
describe('when the raw file is successfully fetched', () => {
beforeEach(() => {
mock.onGet(expectedUrl).replyOnce(httpStatus.OK);
});
it('resolves the Promise', () => {
return Api.getRawFile(dummyProjectPath, dummyFilePath).then(() => {
expect(mock.history.get).toHaveLength(1);
});
});
describe('when the method is called with params', () => {
it('sets the params on the request', () => {
const params = { ref: 'main' };
jest.spyOn(axios, 'get');
Api.getRawFile(dummyProjectPath, dummyFilePath, params);
expect(axios.get).toHaveBeenCalledWith(expectedUrl, { params });
});
});
});
describe('when an error occurs while getting a raw file', () => {
it('rejects the Promise', () => {
mock.onPost(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.getRawFile(dummyProjectPath, dummyFilePath).catch(() => {
expect(mock.history.get).toHaveLength(1);
});
});
});
});
describe('createProjectMergeRequest', () => {
const dummyProjectPath = 'gitlab-org/gitlab';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent(
dummyProjectPath,
)}/merge_requests`;
const options = {
source_branch: 'feature',
target_branch: 'main',
title: 'Add feature',
};
describe('when the merge request is successfully created', () => {
it('resolves the Promise', () => {
mock.onPost(expectedUrl, options).replyOnce(httpStatus.CREATED);
return Api.createProjectMergeRequest(dummyProjectPath, options).then(() => {
expect(mock.history.post).toHaveLength(1);
});
});
});
describe('when an error occurs while getting a raw file', () => {
it('rejects the Promise', () => {
mock.onPost(expectedUrl).replyOnce(httpStatus.INTERNAL_SERVER_ERROR);
return Api.createProjectMergeRequest(dummyProjectPath).catch(() => {
expect(mock.history.post).toHaveLength(1);
});
});
});
});
describe('updateIssue', () => {
it('update an issue with the given payload', (done) => {
const projectId = 8;
const issue = 1;
const expectedArray = [1, 2, 3];
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/issues/${issue}`;
mock.onPut(expectedUrl).reply(httpStatus.OK, { assigneeIds: expectedArray });
Api.updateIssue(projectId, issue, { assigneeIds: expectedArray })
.then(({ data }) => {
expect(data.assigneeIds).toEqual(expectedArray);
done();
})
.catch(done.fail);
});
});
describe('updateMergeRequest', () => {
it('update an issue with the given payload', (done) => {
const projectId = 8;
const mergeRequest = 1;
const expectedArray = [1, 2, 3];
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/merge_requests/${mergeRequest}`;
mock.onPut(expectedUrl).reply(httpStatus.OK, { assigneeIds: expectedArray });
Api.updateMergeRequest(projectId, mergeRequest, { assigneeIds: expectedArray })
.then(({ data }) => {
expect(data.assigneeIds).toEqual(expectedArray);
done();
})
.catch(done.fail);
});
});
describe('tags', () => {
it('fetches all tags of a particular project', (done) => {
const query = 'dummy query';
const options = { unused: 'option' };
const projectId = 8;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/repository/tags`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [
{
name: 'test',
},
]);
Api.tags(projectId, query, options)
.then(({ data }) => {
expect(data.length).toBe(1);
expect(data[0].name).toBe('test');
})
.then(done)
.catch(done.fail);
});
});
describe('freezePeriods', () => {
it('fetches freezePeriods', () => {
const projectId = 8;
const freezePeriod = {
id: 3,
freeze_start: '5 4 * * *',
freeze_end: '5 9 * 8 *',
cron_timezone: 'America/New_York',
created_at: '2020-07-10T05:10:35.122Z',
updated_at: '2020-07-10T05:10:35.122Z',
};
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/freeze_periods`;
mock.onGet(expectedUrl).reply(httpStatus.OK, [freezePeriod]);
return Api.freezePeriods(projectId).then(({ data }) => {
expect(data[0]).toStrictEqual(freezePeriod);
});
});
});
describe('createFreezePeriod', () => {
const projectId = 8;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/freeze_periods`;
const options = {
freeze_start: '* * * * *',
freeze_end: '* * * * *',
cron_timezone: 'America/Juneau',
};
const expectedResult = {
id: 10,
freeze_start: '* * * * *',
freeze_end: '* * * * *',
cron_timezone: 'America/Juneau',
created_at: '2020-07-11T07:04:50.153Z',
updated_at: '2020-07-11T07:04:50.153Z',
};
describe('when the freeze period is successfully created', () => {
it('resolves the Promise', () => {
mock.onPost(expectedUrl, options).replyOnce(httpStatus.CREATED, expectedResult);
return Api.createFreezePeriod(projectId, options).then(({ data }) => {
expect(data).toStrictEqual(expectedResult);
});
});
});
});
describe('updateFreezePeriod', () => {
const options = {
id: 10,
freeze_start: '* * * * *',
freeze_end: '* * * * *',
cron_timezone: 'America/Juneau',
created_at: '2020-07-11T07:04:50.153Z',
updated_at: '2020-07-11T07:04:50.153Z',
};
const projectId = 8;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/freeze_periods/${options.id}`;
const expectedResult = {
id: 10,
freeze_start: '* * * * *',
freeze_end: '* * * * *',
cron_timezone: 'America/Juneau',
created_at: '2020-07-11T07:04:50.153Z',
updated_at: '2020-07-11T07:04:50.153Z',
};
describe('when the freeze period is successfully updated', () => {
it('resolves the Promise', () => {
mock.onPut(expectedUrl, options).replyOnce(httpStatus.OK, expectedResult);
return Api.updateFreezePeriod(projectId, options).then(({ data }) => {
expect(data).toStrictEqual(expectedResult);
});
});
});
});
describe('createPipeline', () => {
it('creates new pipeline', () => {
const redirectUrl = 'ci-project/-/pipelines/95';
const projectId = 8;
const postData = {
ref: 'tag-1',
variables: [
{ key: 'test_file', value: 'test_file_val', variable_type: 'file' },
{ key: 'test_var', value: 'test_var_val', variable_type: 'env_var' },
],
};
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/pipeline`;
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl).replyOnce(httpStatus.OK, {
web_url: redirectUrl,
});
return Api.createPipeline(projectId, postData).then(({ data }) => {
expect(data.web_url).toBe(redirectUrl);
expect(axios.post).toHaveBeenCalledWith(expectedUrl, postData, {
headers: {
'Content-Type': 'application/json',
},
});
});
});
});
describe('trackRedisCounterEvent', () => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/usage_data/increment_counter`;
const event = 'dummy_event';
const postData = { event };
const headers = {
'Content-Type': 'application/json',
};
describe('when usage data increment counter is called with feature flag disabled', () => {
beforeEach(() => {
gon.features = { ...gon.features, usageDataApi: false };
});
it('returns null', () => {
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl).replyOnce(httpStatus.OK, true);
expect(axios.post).toHaveBeenCalledTimes(0);
expect(Api.trackRedisCounterEvent(event)).toEqual(null);
});
});
describe('when usage data increment counter is called', () => {
beforeEach(() => {
gon.features = { ...gon.features, usageDataApi: true };
});
it('resolves the Promise', () => {
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl, { event }).replyOnce(httpStatus.OK, true);
return Api.trackRedisCounterEvent(event).then(({ data }) => {
expect(data).toEqual(true);
expect(axios.post).toHaveBeenCalledWith(expectedUrl, postData, { headers });
});
});
});
});
describe('trackRedisHllUserEvent', () => {
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/usage_data/increment_unique_users`;
const event = 'dummy_event';
const postData = { event };
const headers = {
'Content-Type': 'application/json',
};
describe('when user is set', () => {
beforeEach(() => {
window.gon.current_user_id = 1;
});
describe('when usage data increment unique users is called with feature flag disabled', () => {
beforeEach(() => {
gon.features = { ...gon.features, usageDataApi: false };
});
it('returns null and does not call the endpoint', () => {
jest.spyOn(axios, 'post');
const result = Api.trackRedisHllUserEvent(event);
expect(result).toEqual(null);
expect(axios.post).toHaveBeenCalledTimes(0);
});
});
describe('when usage data increment unique users is called', () => {
beforeEach(() => {
gon.features = { ...gon.features, usageDataApi: true };
});
it('resolves the Promise', () => {
jest.spyOn(axios, 'post');
mock.onPost(expectedUrl, { event }).replyOnce(httpStatus.OK, true);
return Api.trackRedisHllUserEvent(event).then(({ data }) => {
expect(data).toEqual(true);
expect(axios.post).toHaveBeenCalledWith(expectedUrl, postData, { headers });
});
});
});
});
describe('when user is not set and feature flag enabled', () => {
beforeEach(() => {
gon.features = { ...gon.features, usageDataApi: true };
});
it('returns null and does not call the endpoint', () => {
jest.spyOn(axios, 'post');
const result = Api.trackRedisHllUserEvent(event);
expect(result).toEqual(null);
expect(axios.post).toHaveBeenCalledTimes(0);
});
});
});
describe('Feature Flag User List', () => {
let expectedUrl;
let projectId;
let mockUserList;
beforeEach(() => {
projectId = 1000;
expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/feature_flags_user_lists`;
mockUserList = {
name: 'mock_user_list',
user_xids: '1,2,3,4',
project_id: 1,
id: 1,
iid: 1,
};
});
describe('fetchFeatureFlagUserLists', () => {
it('GETs the right url', () => {
mock.onGet(expectedUrl).replyOnce(httpStatus.OK, []);
return Api.fetchFeatureFlagUserLists(projectId).then(({ data }) => {
expect(data).toEqual([]);
});
});
});
describe('searchFeatureFlagUserLists', () => {
it('GETs the right url', () => {
mock.onGet(expectedUrl, { params: { search: 'test' } }).replyOnce(httpStatus.OK, []);
return Api.searchFeatureFlagUserLists(projectId, 'test').then(({ data }) => {
expect(data).toEqual([]);
});
});
});
describe('createFeatureFlagUserList', () => {
it('POSTs data to the right url', () => {
const mockUserListData = {
name: 'mock_user_list',
user_xids: '1,2,3,4',
};
mock.onPost(expectedUrl, mockUserListData).replyOnce(httpStatus.OK, mockUserList);
return Api.createFeatureFlagUserList(projectId, mockUserListData).then(({ data }) => {
expect(data).toEqual(mockUserList);
});
});
});
describe('fetchFeatureFlagUserList', () => {
it('GETs the right url', () => {
mock.onGet(`${expectedUrl}/1`).replyOnce(httpStatus.OK, mockUserList);
return Api.fetchFeatureFlagUserList(projectId, 1).then(({ data }) => {
expect(data).toEqual(mockUserList);
});
});
});
describe('updateFeatureFlagUserList', () => {
it('PUTs the right url', () => {
mock
.onPut(`${expectedUrl}/1`)
.replyOnce(httpStatus.OK, { ...mockUserList, user_xids: '5' });
return Api.updateFeatureFlagUserList(projectId, {
...mockUserList,
user_xids: '5',
}).then(({ data }) => {
expect(data).toEqual({ ...mockUserList, user_xids: '5' });
});
});
});
describe('deleteFeatureFlagUserList', () => {
it('DELETEs the right url', () => {
mock.onDelete(`${expectedUrl}/1`).replyOnce(httpStatus.OK, 'deleted');
return Api.deleteFeatureFlagUserList(projectId, 1).then(({ data }) => {
expect(data).toBe('deleted');
});
});
});
});
});
|
module.exports = {
entry: [
'./src/index.js'
],
output: {
path: __dirname,
publicPath: '/',
filename: 'bundle.js'
},
module: {
loaders: [{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader'
}
}]
}
};
|
/*global define*/
define([
'../Core/Color',
'../Core/defined',
'../Core/defineProperties',
'../Core/DeveloperError',
'../Scene/Material'
], function(
Color,
defined,
defineProperties,
DeveloperError,
Material) {
'use strict';
/**
* The interface for all {@link Property} objects that represent {@link Material} uniforms.
* This type defines an interface and cannot be instantiated directly.
*
* @alias MaterialProperty
* @constructor
*
* @see ColorMaterialProperty
* @see CompositeMaterialProperty
* @see GridMaterialProperty
* @see ImageMaterialProperty
* @see PolylineGlowMaterialProperty
* @see PolylineOutlineMaterialProperty
* @see StripeMaterialProperty
*/
function MaterialProperty() {
DeveloperError.throwInstantiationError();
}
defineProperties(MaterialProperty.prototype, {
/**
* Gets a value indicating if this property is constant. A property is considered
* constant if getValue always returns the same result for the current definition.
* @memberof MaterialProperty.prototype
*
* @type {Boolean}
* @readonly
*/
isConstant : {
get : DeveloperError.throwInstantiationError
},
/**
* Gets the event that is raised whenever the definition of this property changes.
* The definition is considered to have changed if a call to getValue would return
* a different result for the same time.
* @memberof MaterialProperty.prototype
*
* @type {Event}
* @readonly
*/
definitionChanged : {
get : DeveloperError.throwInstantiationError
}
});
/**
* Gets the {@link Material} type at the provided time.
* @function
*
* @param {JulianDate} time The time for which to retrieve the type.
* @returns {String} The type of material.
*/
MaterialProperty.prototype.getType = DeveloperError.throwInstantiationError;
/**
* Gets the value of the property at the provided time.
* @function
*
* @param {JulianDate} time The time for which to retrieve the value.
* @param {Object} [result] The object to store the value into, if omitted, a new instance is created and returned.
* @returns {Object} The modified result parameter or a new instance if the result parameter was not supplied.
*/
MaterialProperty.prototype.getValue = DeveloperError.throwInstantiationError;
/**
* Compares this property to the provided property and returns
* <code>true</code> if they are equal, <code>false</code> otherwise.
* @function
*
* @param {Property} [other] The other property.
* @returns {Boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
*/
MaterialProperty.prototype.equals = DeveloperError.throwInstantiationError;
/**
* @private
*/
MaterialProperty.getValue = function(time, materialProperty, material) {
var type;
if (defined(materialProperty)) {
type = materialProperty.getType(time);
if (defined(type)) {
if (!defined(material) || (material.type !== type)) {
material = Material.fromType(type);
}
materialProperty.getValue(time, material.uniforms);
return material;
}
}
if (!defined(material) || (material.type !== Material.ColorType)) {
material = Material.fromType(Material.ColorType);
}
Color.clone(Color.WHITE, material.uniforms.color);
return material;
};
return MaterialProperty;
});
|
ace.config.setModuleUrl('ace/ext/beautify', require('file-loader!./src-noconflict/ext-beautify.js'))
ace.config.setModuleUrl('ace/ext/elastic_tabstops_lite', require('file-loader!./src-noconflict/ext-elastic_tabstops_lite.js'))
ace.config.setModuleUrl('ace/ext/emmet', require('file-loader!./src-noconflict/ext-emmet.js'))
ace.config.setModuleUrl('ace/ext/error_marker', require('file-loader!./src-noconflict/ext-error_marker.js'))
ace.config.setModuleUrl('ace/ext/keyboard_menu', require('file-loader!./src-noconflict/ext-keybinding_menu.js'))
ace.config.setModuleUrl('ace/ext/language_tools', require('file-loader!./src-noconflict/ext-language_tools.js'))
ace.config.setModuleUrl('ace/ext/linking', require('file-loader!./src-noconflict/ext-linking.js'))
ace.config.setModuleUrl('ace/ext/modelist', require('file-loader!./src-noconflict/ext-modelist.js'))
ace.config.setModuleUrl('ace/ext/options', require('file-loader!./src-noconflict/ext-options.js'))
ace.config.setModuleUrl('ace/ext/rtl', require('file-loader!./src-noconflict/ext-rtl.js'))
ace.config.setModuleUrl('ace/ext/searchbox', require('file-loader!./src-noconflict/ext-searchbox.js'))
ace.config.setModuleUrl('ace/ext/settings_menu', require('file-loader!./src-noconflict/ext-settings_menu.js'))
ace.config.setModuleUrl('ace/ext/spellcheck', require('file-loader!./src-noconflict/ext-spellcheck.js'))
ace.config.setModuleUrl('ace/ext/split', require('file-loader!./src-noconflict/ext-split.js'))
ace.config.setModuleUrl('ace/ext/static_highlight', require('file-loader!./src-noconflict/ext-static_highlight.js'))
ace.config.setModuleUrl('ace/ext/statusbar', require('file-loader!./src-noconflict/ext-statusbar.js'))
ace.config.setModuleUrl('ace/ext/textarea', require('file-loader!./src-noconflict/ext-textarea.js'))
ace.config.setModuleUrl('ace/ext/themelist', require('file-loader!./src-noconflict/ext-themelist.js'))
ace.config.setModuleUrl('ace/ext/whitespace', require('file-loader!./src-noconflict/ext-whitespace.js'))
ace.config.setModuleUrl('ace/keyboard/emacs', require('file-loader!./src-noconflict/keybinding-emacs.js'))
ace.config.setModuleUrl('ace/keyboard/vim', require('file-loader!./src-noconflict/keybinding-vim.js'))
ace.config.setModuleUrl('ace/mode/abap', require('file-loader!./src-noconflict/mode-abap.js'))
ace.config.setModuleUrl('ace/mode/abc', require('file-loader!./src-noconflict/mode-abc.js'))
ace.config.setModuleUrl('ace/mode/actionscript', require('file-loader!./src-noconflict/mode-actionscript.js'))
ace.config.setModuleUrl('ace/mode/ada', require('file-loader!./src-noconflict/mode-ada.js'))
ace.config.setModuleUrl('ace/mode/apache_conf', require('file-loader!./src-noconflict/mode-apache_conf.js'))
ace.config.setModuleUrl('ace/mode/applescript', require('file-loader!./src-noconflict/mode-applescript.js'))
ace.config.setModuleUrl('ace/mode/asciidoc', require('file-loader!./src-noconflict/mode-asciidoc.js'))
ace.config.setModuleUrl('ace/mode/asl', require('file-loader!./src-noconflict/mode-asl.js'))
ace.config.setModuleUrl('ace/mode/assembly_x86', require('file-loader!./src-noconflict/mode-assembly_x86.js'))
ace.config.setModuleUrl('ace/mode/autohotkey', require('file-loader!./src-noconflict/mode-autohotkey.js'))
ace.config.setModuleUrl('ace/mode/batchfile', require('file-loader!./src-noconflict/mode-batchfile.js'))
ace.config.setModuleUrl('ace/mode/bro', require('file-loader!./src-noconflict/mode-bro.js'))
ace.config.setModuleUrl('ace/mode/c9search', require('file-loader!./src-noconflict/mode-c9search.js'))
ace.config.setModuleUrl('ace/mode/cirru', require('file-loader!./src-noconflict/mode-cirru.js'))
ace.config.setModuleUrl('ace/mode/clojure', require('file-loader!./src-noconflict/mode-clojure.js'))
ace.config.setModuleUrl('ace/mode/cobol', require('file-loader!./src-noconflict/mode-cobol.js'))
ace.config.setModuleUrl('ace/mode/coffee', require('file-loader!./src-noconflict/mode-coffee.js'))
ace.config.setModuleUrl('ace/mode/coldfusion', require('file-loader!./src-noconflict/mode-coldfusion.js'))
ace.config.setModuleUrl('ace/mode/csharp', require('file-loader!./src-noconflict/mode-csharp.js'))
ace.config.setModuleUrl('ace/mode/csound_document', require('file-loader!./src-noconflict/mode-csound_document.js'))
ace.config.setModuleUrl('ace/mode/csound_orchestra', require('file-loader!./src-noconflict/mode-csound_orchestra.js'))
ace.config.setModuleUrl('ace/mode/csound_score', require('file-loader!./src-noconflict/mode-csound_score.js'))
ace.config.setModuleUrl('ace/mode/csp', require('file-loader!./src-noconflict/mode-csp.js'))
ace.config.setModuleUrl('ace/mode/css', require('file-loader!./src-noconflict/mode-css.js'))
ace.config.setModuleUrl('ace/mode/curly', require('file-loader!./src-noconflict/mode-curly.js'))
ace.config.setModuleUrl('ace/mode/c_cpp', require('file-loader!./src-noconflict/mode-c_cpp.js'))
ace.config.setModuleUrl('ace/mode/d', require('file-loader!./src-noconflict/mode-d.js'))
ace.config.setModuleUrl('ace/mode/dart', require('file-loader!./src-noconflict/mode-dart.js'))
ace.config.setModuleUrl('ace/mode/diff', require('file-loader!./src-noconflict/mode-diff.js'))
ace.config.setModuleUrl('ace/mode/django', require('file-loader!./src-noconflict/mode-django.js'))
ace.config.setModuleUrl('ace/mode/dockerfile', require('file-loader!./src-noconflict/mode-dockerfile.js'))
ace.config.setModuleUrl('ace/mode/dot', require('file-loader!./src-noconflict/mode-dot.js'))
ace.config.setModuleUrl('ace/mode/drools', require('file-loader!./src-noconflict/mode-drools.js'))
ace.config.setModuleUrl('ace/mode/edifact', require('file-loader!./src-noconflict/mode-edifact.js'))
ace.config.setModuleUrl('ace/mode/eiffel', require('file-loader!./src-noconflict/mode-eiffel.js'))
ace.config.setModuleUrl('ace/mode/ejs', require('file-loader!./src-noconflict/mode-ejs.js'))
ace.config.setModuleUrl('ace/mode/elixir', require('file-loader!./src-noconflict/mode-elixir.js'))
ace.config.setModuleUrl('ace/mode/elm', require('file-loader!./src-noconflict/mode-elm.js'))
ace.config.setModuleUrl('ace/mode/erlang', require('file-loader!./src-noconflict/mode-erlang.js'))
ace.config.setModuleUrl('ace/mode/forth', require('file-loader!./src-noconflict/mode-forth.js'))
ace.config.setModuleUrl('ace/mode/fortran', require('file-loader!./src-noconflict/mode-fortran.js'))
ace.config.setModuleUrl('ace/mode/fsharp', require('file-loader!./src-noconflict/mode-fsharp.js'))
ace.config.setModuleUrl('ace/mode/ftl', require('file-loader!./src-noconflict/mode-ftl.js'))
ace.config.setModuleUrl('ace/mode/gcode', require('file-loader!./src-noconflict/mode-gcode.js'))
ace.config.setModuleUrl('ace/mode/gherkin', require('file-loader!./src-noconflict/mode-gherkin.js'))
ace.config.setModuleUrl('ace/mode/gitignore', require('file-loader!./src-noconflict/mode-gitignore.js'))
ace.config.setModuleUrl('ace/mode/glsl', require('file-loader!./src-noconflict/mode-glsl.js'))
ace.config.setModuleUrl('ace/mode/gobstones', require('file-loader!./src-noconflict/mode-gobstones.js'))
ace.config.setModuleUrl('ace/mode/golang', require('file-loader!./src-noconflict/mode-golang.js'))
ace.config.setModuleUrl('ace/mode/graphqlschema', require('file-loader!./src-noconflict/mode-graphqlschema.js'))
ace.config.setModuleUrl('ace/mode/groovy', require('file-loader!./src-noconflict/mode-groovy.js'))
ace.config.setModuleUrl('ace/mode/haml', require('file-loader!./src-noconflict/mode-haml.js'))
ace.config.setModuleUrl('ace/mode/handlebars', require('file-loader!./src-noconflict/mode-handlebars.js'))
ace.config.setModuleUrl('ace/mode/haskell', require('file-loader!./src-noconflict/mode-haskell.js'))
ace.config.setModuleUrl('ace/mode/haskell_cabal', require('file-loader!./src-noconflict/mode-haskell_cabal.js'))
ace.config.setModuleUrl('ace/mode/haxe', require('file-loader!./src-noconflict/mode-haxe.js'))
ace.config.setModuleUrl('ace/mode/hjson', require('file-loader!./src-noconflict/mode-hjson.js'))
ace.config.setModuleUrl('ace/mode/html', require('file-loader!./src-noconflict/mode-html.js'))
ace.config.setModuleUrl('ace/mode/html_elixir', require('file-loader!./src-noconflict/mode-html_elixir.js'))
ace.config.setModuleUrl('ace/mode/html_ruby', require('file-loader!./src-noconflict/mode-html_ruby.js'))
ace.config.setModuleUrl('ace/mode/ini', require('file-loader!./src-noconflict/mode-ini.js'))
ace.config.setModuleUrl('ace/mode/io', require('file-loader!./src-noconflict/mode-io.js'))
ace.config.setModuleUrl('ace/mode/jack', require('file-loader!./src-noconflict/mode-jack.js'))
ace.config.setModuleUrl('ace/mode/jade', require('file-loader!./src-noconflict/mode-jade.js'))
ace.config.setModuleUrl('ace/mode/java', require('file-loader!./src-noconflict/mode-java.js'))
ace.config.setModuleUrl('ace/mode/javascript', require('file-loader!./src-noconflict/mode-javascript.js'))
ace.config.setModuleUrl('ace/mode/json', require('file-loader!./src-noconflict/mode-json.js'))
ace.config.setModuleUrl('ace/mode/jsoniq', require('file-loader!./src-noconflict/mode-jsoniq.js'))
ace.config.setModuleUrl('ace/mode/jsp', require('file-loader!./src-noconflict/mode-jsp.js'))
ace.config.setModuleUrl('ace/mode/jssm', require('file-loader!./src-noconflict/mode-jssm.js'))
ace.config.setModuleUrl('ace/mode/jsx', require('file-loader!./src-noconflict/mode-jsx.js'))
ace.config.setModuleUrl('ace/mode/julia', require('file-loader!./src-noconflict/mode-julia.js'))
ace.config.setModuleUrl('ace/mode/kotlin', require('file-loader!./src-noconflict/mode-kotlin.js'))
ace.config.setModuleUrl('ace/mode/latex', require('file-loader!./src-noconflict/mode-latex.js'))
ace.config.setModuleUrl('ace/mode/less', require('file-loader!./src-noconflict/mode-less.js'))
ace.config.setModuleUrl('ace/mode/liquid', require('file-loader!./src-noconflict/mode-liquid.js'))
ace.config.setModuleUrl('ace/mode/lisp', require('file-loader!./src-noconflict/mode-lisp.js'))
ace.config.setModuleUrl('ace/mode/livescript', require('file-loader!./src-noconflict/mode-livescript.js'))
ace.config.setModuleUrl('ace/mode/logiql', require('file-loader!./src-noconflict/mode-logiql.js'))
ace.config.setModuleUrl('ace/mode/lsl', require('file-loader!./src-noconflict/mode-lsl.js'))
ace.config.setModuleUrl('ace/mode/lua', require('file-loader!./src-noconflict/mode-lua.js'))
ace.config.setModuleUrl('ace/mode/luapage', require('file-loader!./src-noconflict/mode-luapage.js'))
ace.config.setModuleUrl('ace/mode/lucene', require('file-loader!./src-noconflict/mode-lucene.js'))
ace.config.setModuleUrl('ace/mode/makefile', require('file-loader!./src-noconflict/mode-makefile.js'))
ace.config.setModuleUrl('ace/mode/markdown', require('file-loader!./src-noconflict/mode-markdown.js'))
ace.config.setModuleUrl('ace/mode/mask', require('file-loader!./src-noconflict/mode-mask.js'))
ace.config.setModuleUrl('ace/mode/matlab', require('file-loader!./src-noconflict/mode-matlab.js'))
ace.config.setModuleUrl('ace/mode/maze', require('file-loader!./src-noconflict/mode-maze.js'))
ace.config.setModuleUrl('ace/mode/mel', require('file-loader!./src-noconflict/mode-mel.js'))
ace.config.setModuleUrl('ace/mode/mixal', require('file-loader!./src-noconflict/mode-mixal.js'))
ace.config.setModuleUrl('ace/mode/mushcode', require('file-loader!./src-noconflict/mode-mushcode.js'))
ace.config.setModuleUrl('ace/mode/mysql', require('file-loader!./src-noconflict/mode-mysql.js'))
ace.config.setModuleUrl('ace/mode/nix', require('file-loader!./src-noconflict/mode-nix.js'))
ace.config.setModuleUrl('ace/mode/nsis', require('file-loader!./src-noconflict/mode-nsis.js'))
ace.config.setModuleUrl('ace/mode/objectivec', require('file-loader!./src-noconflict/mode-objectivec.js'))
ace.config.setModuleUrl('ace/mode/ocaml', require('file-loader!./src-noconflict/mode-ocaml.js'))
ace.config.setModuleUrl('ace/mode/pascal', require('file-loader!./src-noconflict/mode-pascal.js'))
ace.config.setModuleUrl('ace/mode/perl', require('file-loader!./src-noconflict/mode-perl.js'))
ace.config.setModuleUrl('ace/mode/pgsql', require('file-loader!./src-noconflict/mode-pgsql.js'))
ace.config.setModuleUrl('ace/mode/php', require('file-loader!./src-noconflict/mode-php.js'))
ace.config.setModuleUrl('ace/mode/php_laravel_blade', require('file-loader!./src-noconflict/mode-php_laravel_blade.js'))
ace.config.setModuleUrl('ace/mode/pig', require('file-loader!./src-noconflict/mode-pig.js'))
ace.config.setModuleUrl('ace/mode/plain_text', require('file-loader!./src-noconflict/mode-plain_text.js'))
ace.config.setModuleUrl('ace/mode/powershell', require('file-loader!./src-noconflict/mode-powershell.js'))
ace.config.setModuleUrl('ace/mode/praat', require('file-loader!./src-noconflict/mode-praat.js'))
ace.config.setModuleUrl('ace/mode/prolog', require('file-loader!./src-noconflict/mode-prolog.js'))
ace.config.setModuleUrl('ace/mode/properties', require('file-loader!./src-noconflict/mode-properties.js'))
ace.config.setModuleUrl('ace/mode/protobuf', require('file-loader!./src-noconflict/mode-protobuf.js'))
ace.config.setModuleUrl('ace/mode/puppet', require('file-loader!./src-noconflict/mode-puppet.js'))
ace.config.setModuleUrl('ace/mode/python', require('file-loader!./src-noconflict/mode-python.js'))
ace.config.setModuleUrl('ace/mode/r', require('file-loader!./src-noconflict/mode-r.js'))
ace.config.setModuleUrl('ace/mode/razor', require('file-loader!./src-noconflict/mode-razor.js'))
ace.config.setModuleUrl('ace/mode/rdoc', require('file-loader!./src-noconflict/mode-rdoc.js'))
ace.config.setModuleUrl('ace/mode/red', require('file-loader!./src-noconflict/mode-red.js'))
ace.config.setModuleUrl('ace/mode/redshift', require('file-loader!./src-noconflict/mode-redshift.js'))
ace.config.setModuleUrl('ace/mode/rhtml', require('file-loader!./src-noconflict/mode-rhtml.js'))
ace.config.setModuleUrl('ace/mode/rst', require('file-loader!./src-noconflict/mode-rst.js'))
ace.config.setModuleUrl('ace/mode/ruby', require('file-loader!./src-noconflict/mode-ruby.js'))
ace.config.setModuleUrl('ace/mode/rust', require('file-loader!./src-noconflict/mode-rust.js'))
ace.config.setModuleUrl('ace/mode/sass', require('file-loader!./src-noconflict/mode-sass.js'))
ace.config.setModuleUrl('ace/mode/scad', require('file-loader!./src-noconflict/mode-scad.js'))
ace.config.setModuleUrl('ace/mode/scala', require('file-loader!./src-noconflict/mode-scala.js'))
ace.config.setModuleUrl('ace/mode/scheme', require('file-loader!./src-noconflict/mode-scheme.js'))
ace.config.setModuleUrl('ace/mode/scss', require('file-loader!./src-noconflict/mode-scss.js'))
ace.config.setModuleUrl('ace/mode/sh', require('file-loader!./src-noconflict/mode-sh.js'))
ace.config.setModuleUrl('ace/mode/sjs', require('file-loader!./src-noconflict/mode-sjs.js'))
ace.config.setModuleUrl('ace/mode/slim', require('file-loader!./src-noconflict/mode-slim.js'))
ace.config.setModuleUrl('ace/mode/smarty', require('file-loader!./src-noconflict/mode-smarty.js'))
ace.config.setModuleUrl('ace/mode/snippets', require('file-loader!./src-noconflict/mode-snippets.js'))
ace.config.setModuleUrl('ace/mode/soy_template', require('file-loader!./src-noconflict/mode-soy_template.js'))
ace.config.setModuleUrl('ace/mode/space', require('file-loader!./src-noconflict/mode-space.js'))
ace.config.setModuleUrl('ace/mode/sparql', require('file-loader!./src-noconflict/mode-sparql.js'))
ace.config.setModuleUrl('ace/mode/sql', require('file-loader!./src-noconflict/mode-sql.js'))
ace.config.setModuleUrl('ace/mode/sqlserver', require('file-loader!./src-noconflict/mode-sqlserver.js'))
ace.config.setModuleUrl('ace/mode/stylus', require('file-loader!./src-noconflict/mode-stylus.js'))
ace.config.setModuleUrl('ace/mode/svg', require('file-loader!./src-noconflict/mode-svg.js'))
ace.config.setModuleUrl('ace/mode/swift', require('file-loader!./src-noconflict/mode-swift.js'))
ace.config.setModuleUrl('ace/mode/tcl', require('file-loader!./src-noconflict/mode-tcl.js'))
ace.config.setModuleUrl('ace/mode/terraform', require('file-loader!./src-noconflict/mode-terraform.js'))
ace.config.setModuleUrl('ace/mode/tex', require('file-loader!./src-noconflict/mode-tex.js'))
ace.config.setModuleUrl('ace/mode/text', require('file-loader!./src-noconflict/mode-text.js'))
ace.config.setModuleUrl('ace/mode/textile', require('file-loader!./src-noconflict/mode-textile.js'))
ace.config.setModuleUrl('ace/mode/toml', require('file-loader!./src-noconflict/mode-toml.js'))
ace.config.setModuleUrl('ace/mode/tsx', require('file-loader!./src-noconflict/mode-tsx.js'))
ace.config.setModuleUrl('ace/mode/turtle', require('file-loader!./src-noconflict/mode-turtle.js'))
ace.config.setModuleUrl('ace/mode/twig', require('file-loader!./src-noconflict/mode-twig.js'))
ace.config.setModuleUrl('ace/mode/typescript', require('file-loader!./src-noconflict/mode-typescript.js'))
ace.config.setModuleUrl('ace/mode/vala', require('file-loader!./src-noconflict/mode-vala.js'))
ace.config.setModuleUrl('ace/mode/vbscript', require('file-loader!./src-noconflict/mode-vbscript.js'))
ace.config.setModuleUrl('ace/mode/velocity', require('file-loader!./src-noconflict/mode-velocity.js'))
ace.config.setModuleUrl('ace/mode/verilog', require('file-loader!./src-noconflict/mode-verilog.js'))
ace.config.setModuleUrl('ace/mode/vhdl', require('file-loader!./src-noconflict/mode-vhdl.js'))
ace.config.setModuleUrl('ace/mode/wollok', require('file-loader!./src-noconflict/mode-wollok.js'))
ace.config.setModuleUrl('ace/mode/xml', require('file-loader!./src-noconflict/mode-xml.js'))
ace.config.setModuleUrl('ace/mode/xquery', require('file-loader!./src-noconflict/mode-xquery.js'))
ace.config.setModuleUrl('ace/mode/yaml', require('file-loader!./src-noconflict/mode-yaml.js'))
ace.config.setModuleUrl('ace/theme/ambiance', require('file-loader!./src-noconflict/theme-ambiance.js'))
ace.config.setModuleUrl('ace/theme/chaos', require('file-loader!./src-noconflict/theme-chaos.js'))
ace.config.setModuleUrl('ace/theme/chrome', require('file-loader!./src-noconflict/theme-chrome.js'))
ace.config.setModuleUrl('ace/theme/clouds', require('file-loader!./src-noconflict/theme-clouds.js'))
ace.config.setModuleUrl('ace/theme/clouds_midnight', require('file-loader!./src-noconflict/theme-clouds_midnight.js'))
ace.config.setModuleUrl('ace/theme/cobalt', require('file-loader!./src-noconflict/theme-cobalt.js'))
ace.config.setModuleUrl('ace/theme/crimson_editor', require('file-loader!./src-noconflict/theme-crimson_editor.js'))
ace.config.setModuleUrl('ace/theme/dawn', require('file-loader!./src-noconflict/theme-dawn.js'))
ace.config.setModuleUrl('ace/theme/dracula', require('file-loader!./src-noconflict/theme-dracula.js'))
ace.config.setModuleUrl('ace/theme/dreamweaver', require('file-loader!./src-noconflict/theme-dreamweaver.js'))
ace.config.setModuleUrl('ace/theme/eclipse', require('file-loader!./src-noconflict/theme-eclipse.js'))
ace.config.setModuleUrl('ace/theme/github', require('file-loader!./src-noconflict/theme-github.js'))
ace.config.setModuleUrl('ace/theme/gob', require('file-loader!./src-noconflict/theme-gob.js'))
ace.config.setModuleUrl('ace/theme/gruvbox', require('file-loader!./src-noconflict/theme-gruvbox.js'))
ace.config.setModuleUrl('ace/theme/idle_fingers', require('file-loader!./src-noconflict/theme-idle_fingers.js'))
ace.config.setModuleUrl('ace/theme/iplastic', require('file-loader!./src-noconflict/theme-iplastic.js'))
ace.config.setModuleUrl('ace/theme/katzenmilch', require('file-loader!./src-noconflict/theme-katzenmilch.js'))
ace.config.setModuleUrl('ace/theme/kr_theme', require('file-loader!./src-noconflict/theme-kr_theme.js'))
ace.config.setModuleUrl('ace/theme/kuroir', require('file-loader!./src-noconflict/theme-kuroir.js'))
ace.config.setModuleUrl('ace/theme/merbivore', require('file-loader!./src-noconflict/theme-merbivore.js'))
ace.config.setModuleUrl('ace/theme/merbivore_soft', require('file-loader!./src-noconflict/theme-merbivore_soft.js'))
ace.config.setModuleUrl('ace/theme/monokai', require('file-loader!./src-noconflict/theme-monokai.js'))
ace.config.setModuleUrl('ace/theme/mono_industrial', require('file-loader!./src-noconflict/theme-mono_industrial.js'))
ace.config.setModuleUrl('ace/theme/pastel_on_dark', require('file-loader!./src-noconflict/theme-pastel_on_dark.js'))
ace.config.setModuleUrl('ace/theme/solarized_dark', require('file-loader!./src-noconflict/theme-solarized_dark.js'))
ace.config.setModuleUrl('ace/theme/solarized_light', require('file-loader!./src-noconflict/theme-solarized_light.js'))
ace.config.setModuleUrl('ace/theme/sqlserver', require('file-loader!./src-noconflict/theme-sqlserver.js'))
ace.config.setModuleUrl('ace/theme/terminal', require('file-loader!./src-noconflict/theme-terminal.js'))
ace.config.setModuleUrl('ace/theme/textmate', require('file-loader!./src-noconflict/theme-textmate.js'))
ace.config.setModuleUrl('ace/theme/tomorrow', require('file-loader!./src-noconflict/theme-tomorrow.js'))
ace.config.setModuleUrl('ace/theme/tomorrow_night', require('file-loader!./src-noconflict/theme-tomorrow_night.js'))
ace.config.setModuleUrl('ace/theme/tomorrow_night_blue', require('file-loader!./src-noconflict/theme-tomorrow_night_blue.js'))
ace.config.setModuleUrl('ace/theme/tomorrow_night_bright', require('file-loader!./src-noconflict/theme-tomorrow_night_bright.js'))
ace.config.setModuleUrl('ace/theme/tomorrow_night_eighties', require('file-loader!./src-noconflict/theme-tomorrow_night_eighties.js'))
ace.config.setModuleUrl('ace/theme/twilight', require('file-loader!./src-noconflict/theme-twilight.js'))
ace.config.setModuleUrl('ace/theme/vibrant_ink', require('file-loader!./src-noconflict/theme-vibrant_ink.js'))
ace.config.setModuleUrl('ace/theme/xcode', require('file-loader!./src-noconflict/theme-xcode.js'))
ace.config.setModuleUrl('ace/mode/coffee_worker', require('file-loader!./src-noconflict/worker-coffee.js'))
ace.config.setModuleUrl('ace/mode/css_worker', require('file-loader!./src-noconflict/worker-css.js'))
ace.config.setModuleUrl('ace/mode/html_worker', require('file-loader!./src-noconflict/worker-html.js'))
ace.config.setModuleUrl('ace/mode/javascript_worker', require('file-loader!./src-noconflict/worker-javascript.js'))
ace.config.setModuleUrl('ace/mode/json_worker', require('file-loader!./src-noconflict/worker-json.js'))
ace.config.setModuleUrl('ace/mode/lua_worker', require('file-loader!./src-noconflict/worker-lua.js'))
ace.config.setModuleUrl('ace/mode/php_worker', require('file-loader!./src-noconflict/worker-php.js'))
ace.config.setModuleUrl('ace/mode/xml_worker', require('file-loader!./src-noconflict/worker-xml.js'))
ace.config.setModuleUrl('ace/mode/xquery_worker', require('file-loader!./src-noconflict/worker-xquery.js'))
|
/*!
* ${copyright}
*/
/**
* Helper functionality for table, list and tree controls for the Support Tool infrastructure.
*/
sap.ui.define(["sap/ui/support/library", "sap/base/Log"],
function(SupportLib, Log) {
"use strict";
// shortcuts
var Audiences = SupportLib.Audiences, // Control, Internal, Application
Categories = SupportLib.Categories, // Accessibility, Performance, Memory, ...
Severity = SupportLib.Severity; // Hint, Warning, Error
var TableSupportHelper = {
DOCU_REF : "https://ui5.sap.com/",
DEFAULT_RULE_DEF : {
audiences: [Audiences.Application],
categories: [Categories.Other],
enabled: true,
minversion: "1.38",
maxversion: "-",
title: "",
description: "",
resolution: "",
resolutionurls: [],
check: function(oIssueManager, oCoreFacade, oScope) {}
},
/**
* Normalizes the given rule definition.
* The rule definition object can/must have the following parameters:
*
* id: ID of the rule, MANDATORY
* audiences: [Audiences.Application, ...] - Choose one or several, Default "Application"
* categories: [Categories.Accessibility, ...] - choose one or several, Default "Other" (TBD)
* enabled: true/false - Default true
* minversion: the minimum version required to run the rule - Default "1.38"
* maxversion: the maximum version required to run the rule - Default "-"
* title: user friendly title, MANDATORY
* description: detailed description, MANDATORY
* resolution: proposed resolution steps, MANDATORY
* resolutionurls: [{text: "Text to be displayed", href: "URL to public(!) docu"}] - list of useful URLs, Default []
* check: function(oIssueManager, oCoreFacade, oScope) { ... } - Check function code, MANDATORY
*
* @param {object} The rule definition
* @returns The normalized rule definition
*/
normalizeRule : function(oRuleDef) {
return jQuery.extend({}, TableSupportHelper.DEFAULT_RULE_DEF, oRuleDef);
},
/**
* Normalizes the given rule definition and adds it to the given Ruleset.
*
* @see #normalizeRule
*
* @param {object} The rule definition
* @param {sap.ui.support.supportRules.RuleSet} The ruleset
*/
addRuleToRuleset : function(oRuleDef, oRuleset) {
oRuleDef = TableSupportHelper.normalizeRule(oRuleDef);
var sResult = oRuleset.addRule(oRuleDef);
if (sResult != "success") {
Log.warning("Support Rule '" + oRuleDef.id + "' for library sap.ui.table not applied: " + sResult);
}
},
/**
* Creates a documentation link description in the format as requested by the parameter resolutionurls of a rule.
* @param {string} sText The text of the docu link.
* @param {string} sRefSuffix The url suffix. It gets automatically prefixed by TableSupportHelper.DOCU_REF.
* @returns Documentation link description
*/
createDocuRef : function(sText, sRefSuffix) {
return {
text: sText,
href: TableSupportHelper.DOCU_REF + sRefSuffix
};
},
/**
* Adds an issue with the given text, severity and context to the given issue manager.
* @param {sap.ui.support.IssueManager} oIssueManager The issue manager
* @param {string} sText The text of the issue.
* @param {sap.ui.support.Severity} [sSeverity] The severity of the issue, if nothing is given Warning is used.
* @param {string} [sControlId] The id of the control the issue is related to. If nothing is given the "global" context is used.
*/
reportIssue : function(oIssueManager, sText, sSeverity, sControlId) {
oIssueManager.addIssue({
severity: sSeverity || Severity.Medium,
details: sText,
context: {id: sControlId || "WEBPAGE"}
});
},
/**
* Checks whether the given object is of the given type (given in AMD module syntax)
* without the need of loading the types module.
* @param {sap.ui.base.ManagedObject} oObject The object to check
* @param {string} sType The type given in AMD module syntax
* @returns {boolean}
*/
isInstanceOf : function(oObject, sType) {
if (!oObject || !sType) {
return false;
}
var oType = sap.ui.require(sType);
return !!(oType && (oObject instanceof oType));
},
/**
* Return all existing control instances of the given type.
* @param {object} oScope The scope as given in the rule check function.
* @param {boolean} bVisisbleOnly Whether all existing controls or only the ones which currently have a DOM reference should be returned.
* @param {string} sType The type given in AMD module syntax
* @returns All existing control instances
*/
find: function(oScope, bVisisbleOnly, sType) {
var mElements = oScope.getElements();
var aResult = [];
for (var n in mElements) {
var oElement = mElements[n];
if (TableSupportHelper.isInstanceOf(oElement, sType)) {
if (bVisisbleOnly && oElement.getDomRef() || !bVisisbleOnly) {
aResult.push(oElement);
}
}
}
return aResult;
},
/**
* Iterates over the available log entries.
*
* Both parameter functions gets a log entry object passed in with the following properties:
* <ul>
* <li>{jQuery.sap.log.Level} oLogEntry.level One of the log levels FATAL, ERROR, WARNING, INFO, DEBUG, TRACE</li>
* <li>{string} oLogEntry.message The logged message</li>
* <li>{string} oLogEntry.details The optional details for the message</li>
* <li>{string} oLogEntry.component The optional log component under which the message was logged</li>
* <li>{float} oLogEntry.timestamp The timestamp when the log entry was written</li>
* <li>{object} oLogEntry.supportInfo The optional support info object</li>
* </ul>
*
* @param {function} fnFilter Filter function to filter out irrelevant log entries.
* If the function returns <code>true</code> the log entry is kept, otherwise it's filtered out.
* @param {string} fnCheck Check function to check the remaining log entries.
* If the function returns <code>true</code> the checking procedure is stopped,
* otherwise the next entry is passed for checking.
*/
checkLogEntries : function(fnFilter, fnCheck) {
var aLog = Log.getLog(); //oScope.getLoggedObjects(); /*getLoggedObjects returns only log entries with supportinfo*/
var oLogEntry;
for (var i = 0; i < aLog.length; i++) {
oLogEntry = aLog[i];
if (fnFilter(oLogEntry)) {
if (fnCheck(oLogEntry)) {
return;
}
}
}
}
};
return TableSupportHelper;
}, true);
|
/**
* NOTE: This file must be run with babel-node as Node is not yet compatible
* with all of ES6 and we also use JSX.
*/
import url from 'url';
import React from 'react';
import express from 'express';
import webpack from 'webpack';
import { renderToStaticMarkup } from 'react-dom/server';
import config from './webpack.config.dev';
import Html from './template';
/**
* Render the entire web page to a string. We use render to static markup here
* to avoid react hooking on to the document HTML that will not be managed by
* React. The body prop is a string that contains the actual document body,
* which react will hook on to.
*
* We also take this opportunity to prepend the doctype string onto the
* document.
*
* @param {object} props
* @return {string}
*/
const renderDocumentToString = props =>
`<!doctype html>${renderToStaticMarkup(<Html {...props} />)}`;
const app = express();
const compiler = webpack(config);
app.use('/css', express.static('buildTemplate/css'));
app.use('/images', express.static('buildTemplate/images'));
app.use('/data', express.static('buildTemplate/data'));
app.use(
require('webpack-dev-middleware')(compiler, {
noInfo: true,
publicPath: config.output.publicPath,
})
);
app.use(require('webpack-hot-middleware')(compiler));
// Send the boilerplate HTML payload down for all get requests. Routing will be
// handled entirely client side and we don't make an effort to pre-render pages
// before they are served when in dev mode.
app.get('*', (req, res) => {
const html = renderDocumentToString({
bundle: `${config.output.publicPath}app.js`,
});
res.send(html);
});
// NOTE: url.parse can't handle URLs without a protocol explicitly defined. So
// if we parse '//localhost:8888' it doesn't work. We manually add a protocol even
// though we are only interested in the port.
const { port } = url.parse(`http:${config.output.publicPath}`);
app.listen(port, 'localhost', err => {
if (err) {
console.error(err); // eslint-disable-line no-console
return;
}
console.log(`Dev server listening at http://localhost:${port}`); // eslint-disable-line no-console
});
|
export default (state = {
lastRefKey: null,
total: 0,
items: []
}, action) => {
switch (action.type) {
case 'GET_PRODUCTS_SUCCESS':
return {
...state,
lastRefKey: action.payload.lastKey,
total: action.payload.total,
items: [...state.items, ...action.payload.products]
};
case 'ADD_PRODUCT_SUCCESS':
return {
...state,
items: [...state.items, action.payload]
};
case 'REMOVE_PRODUCT_SUCCESS':
return {
...state,
items: state.items.filter(product => product.id !== action.payload)
};
case 'EDIT_PRODUCT_SUCCESS':
return {
...state,
items: state.items.map((product)=>{
if(product.id === action.payload.id){
return{
...product,
...action.payload.updates
};
}
return product;
})
};
default:
return state;
}
};
|
(function() {
var EventEmitter = Faye.EventEmitter = function() {};
/*
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
var isArray = typeof Array.isArray === 'function'
? Array.isArray
: function (xs) {
return Object.prototype.toString.call(xs) === '[object Array]'
}
;
function indexOf (xs, x) {
if (xs.indexOf) return xs.indexOf(x);
for (var i = 0; i < xs.length; i++) {
if (x === xs[i]) return i;
}
return -1;
}
EventEmitter.prototype.emit = function(type) {
// If there is no 'error' event listener then throw.
if (type === 'error') {
if (!this._events || !this._events.error ||
(isArray(this._events.error) && !this._events.error.length))
{
if (arguments[1] instanceof Error) {
throw arguments[1]; // Unhandled 'error' event
} else {
throw new Error("Uncaught, unspecified 'error' event.");
}
return false;
}
}
if (!this._events) return false;
var handler = this._events[type];
if (!handler) return false;
if (typeof handler == 'function') {
switch (arguments.length) {
// fast cases
case 1:
handler.call(this);
break;
case 2:
handler.call(this, arguments[1]);
break;
case 3:
handler.call(this, arguments[1], arguments[2]);
break;
// slower
default:
var args = Array.prototype.slice.call(arguments, 1);
handler.apply(this, args);
}
return true;
} else if (isArray(handler)) {
var args = Array.prototype.slice.call(arguments, 1);
var listeners = handler.slice();
for (var i = 0, l = listeners.length; i < l; i++) {
listeners[i].apply(this, args);
}
return true;
} else {
return false;
}
};
// EventEmitter is defined in src/node_events.cc
// EventEmitter.prototype.emit() is also defined there.
EventEmitter.prototype.addListener = function(type, listener) {
if ('function' !== typeof listener) {
throw new Error('addListener only takes instances of Function');
}
if (!this._events) this._events = {};
// To avoid recursion in the case that type == "newListeners"! Before
// adding it to the listeners, first emit "newListeners".
this.emit('newListener', type, listener);
if (!this._events[type]) {
// Optimize the case of one listener. Don't need the extra array object.
this._events[type] = listener;
} else if (isArray(this._events[type])) {
// If we've already got an array, just append.
this._events[type].push(listener);
} else {
// Adding the second element, need to change to array.
this._events[type] = [this._events[type], listener];
}
return this;
};
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
EventEmitter.prototype.once = function(type, listener) {
var self = this;
self.on(type, function g() {
self.removeListener(type, g);
listener.apply(this, arguments);
});
return this;
};
EventEmitter.prototype.removeListener = function(type, listener) {
if ('function' !== typeof listener) {
throw new Error('removeListener only takes instances of Function');
}
// does not use listeners(), so no side effect of creating _events[type]
if (!this._events || !this._events[type]) return this;
var list = this._events[type];
if (isArray(list)) {
var i = indexOf(list, listener);
if (i < 0) return this;
list.splice(i, 1);
if (list.length == 0)
delete this._events[type];
} else if (this._events[type] === listener) {
delete this._events[type];
}
return this;
};
EventEmitter.prototype.removeAllListeners = function(type) {
if (arguments.length === 0) {
this._events = {};
return this;
}
// does not use listeners(), so no side effect of creating _events[type]
if (type && this._events && this._events[type]) this._events[type] = null;
return this;
};
EventEmitter.prototype.listeners = function(type) {
if (!this._events) this._events = {};
if (!this._events[type]) this._events[type] = [];
if (!isArray(this._events[type])) {
this._events[type] = [this._events[type]];
}
return this._events[type];
};
})();
|
import realm from '../models/index';
export const setSettings = (settings) => new Promise((resolve, reject) => {
try{
realm.write(() => resolve(realm.create('Settings', settings, true)));
} catch (error) {
reject(error);
}
});
export const getSettings = () => realm.objects('Settings');
|
'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
return queryInterface.bulkInsert('Categories', [
{
id: '775d58e1-22f8-424f-9d2b-b56a389b82ec',
name: 'Category3',
description: 'lorem ipsum dolor sit amet'
},
{
id: '92199f93-155a-4573-a2cf-94d6279152e7',
name: 'Category2',
description: 'this is another category'
},
{
id: '809b3ff7-e538-4db3-b6ed-172ded6f051e',
name: 'Category1',
description: 'this is a category'
}
], {})
},
down: function (queryInterface, Sequelize) {
return queryInterface.bulkDelete('Categories', null, {})
}
}
|
import Raw from '#/base/Raw';
export default class Markdown extends Raw {
static type = 'Markdown';
toMarkdown() {
const rexp = /^#{1,}/;
return (
'\n' +
this.raw
.split('\n')
.map((line) => {
const res = rexp.exec(line);
return res
? line.replace(rexp, '#'.repeat(this.level + res[0].length))
: line;
})
.join('\n')
.trim() +
'\n'
);
}
}
|
import TheMovieThumb from './components/TheMovieThumbnailComponent.js';
import HomePage from './components/TheHomePageComponent.js';
import HeaderComponent from './components/HeaderComponent.js';
import HomeComponent from './components/TheHomeComponent.js';
import FooterComponent from './components/FooterComponent.js';
import LoginPage from './components/TheLoginComponent.js';
import Protected from './components/TheProtectedComponent.js';
import AllUsers from './components/TheAllUsersComponent.js';
import MediaView from './components/MediaViewComponent.js'
// import e from 'express';
(() => {
console.log('fired!');
// Register VueRouter plugin with Vue
// https://stackoverflow.com/questions/50438605/vue-warn-unknown-custom-element-router-view-did-you-register-the-compone
Vue.use(VueRouter);
// add our Vue Router here
const router = new VueRouter({
routes: [{
path: "/",
name: 'root',
component: LoginPage,
beforeEnter: (to, from, next) => {
//if you're authenticated (set in localstorage), then go to the home page.
if (localStorage.getItem('cacheduser')) {
let user = JSON.parse(localStorage.getItem('cacheduser'));
} else {
next();
}
}
},
{ path: "/login", component: LoginPage },
{ path: "/users", name: 'users', component: AllUsers },
{ path: '/home', name: 'home', component: HomeComponent, props: true },
{
path: '/view/:mediaType/:id',
component: MediaView,
props: true
}
//only access this route or section if you're logged in /authenticated
// {
// path: "/admin",
// component: Protected,
// beforeEnter: (to, from, next) => {
// if (!vm.authenticated) {
// next('/login');
// } else {
// next();
// }
// }
// }
]
})
const vm = new Vue({
data: {
allMovies: [],
message: "Hello!",
authenticated: false,
user: "",
isAdmin: false,
currentUser: JSON.parse(window.localStorage.getItem('cacheduser')) || undefined
},
watch: {
currentUser: (oldvalue, newvalue) => console.log(oldvalue, newvalue)
},
created: function() {
let cachedUser = window.localStorage.getItem('cacheduser');
if (cachedUser) {
this.cachedUser = true;
console.log(cachedUser)
}
if (window.localStorage.getItem("creds")) {
this.authenticated = true;
this.user = JSON.parse(window.localStorage.getItem("creds")).name;
fetch('api/movies')
.then(res => res.json())
.then(data => {
console.table(data);
this.allMovies = data;
})
.catch(err => console.error(err));
}
},
methods: {
logout() {
//remove the cached user from local storage, if it exists
if (localStorage.getItem('cacheduser')) {
localStorage.removeItem('cacheduser');
}
// return to log in page
this.$router.push({ name: 'root' });
this.currentUser = undefined;
},
authenticateuser(user) {
// debugger;
console.log('YEEEEEEEEEEEHAAAAW', user);
this.currentUser = user;
}
},
components: {
'footer-component': FooterComponent,
'header-component': HeaderComponent
},
router
}).$mount('#app')
})();
|
import service from '@/utils/request'
export function SelectAnswerPaper(data) {
return service({
url: 'KS_AnswerPaper/SelectAnswerPaper',
method: 'post',
data
})
}
export function SelectAnswerPaperDetailById(data) {
return service({
url: 'KS_AnswerPaper/SelectAnswerPaperDetailById',
method: 'post',
data
})
}
export function InsertAnswerPaper(data) {
return service({
url: 'KS_AnswerPaper/InsertAnswerPaper',
method: 'post',
data
})
}
export function InsertRetakeAnswerPaper(data) {
return service({
url: 'KS_AnswerPaper/InsertRetakeAnswerPaper',
method: 'post',
data
})
}
export function AutomaticScore(data) {
return service({
url: 'KS_AnswerPaper/AutomaticScore',
method: 'post',
data
})
}
export function UpdateTotalScore(data) {
return service({
url: 'KS_AnswerPaper/UpdateTotalScore',
method: 'post',
data
})
}
export function SelectUserPaper(data) {
return service({
url: 'KS_AnswerPaper/SelectUserPaper',
method: 'post',
data
})
}
|
#!/usr/bin/env node
const Sema = require('async-sema')
const redis = require('promise-redis')
async function f () {
const red = new Sema(3, { initFn: () => redis().createClient(process.env.REDIS_URL) })
const db = await red.acquire()
console.log(await db.get('id'))
red.release(db)
const dbs = await red.drain()
dbs.map((db) => db.quit())
}
f().catch((e) => console.log(e)).then(() => console.log('READY'))
|
/**
* Tests for the Graph#findCycle() method.
*/
(function() {
'use strict';
load('jstests/libs/cycle_detection.js'); // for Graph
(function testLinearChainHasNoCycle() {
const graph = new Graph();
graph.addEdge('A', 'B');
graph.addEdge('B', 'C');
graph.addEdge('C', 'D');
assert.eq([], graph.findCycle());
})();
(function testGraphWithoutCycleButCommonAncestor() {
const graph = new Graph();
graph.addEdge('A', 'B');
graph.addEdge('A', 'C');
graph.addEdge('B', 'D');
graph.addEdge('C', 'D');
assert.eq([], graph.findCycle());
})();
(function testEmptyGraphHasNoCycle() {
const graph = new Graph();
assert.eq([], graph.findCycle());
})();
(function testGraphWithAllNodesInCycle() {
const graph = new Graph();
graph.addEdge(1, 2);
graph.addEdge(2, 3);
graph.addEdge(3, 4);
graph.addEdge(4, 5);
graph.addEdge(5, 1);
assert.eq([1, 2, 3, 4, 5, 1], graph.findCycle());
})();
(function testGraphWithSomeNodesNotInCycle() {
const graph = new Graph();
graph.addEdge(1, 2);
graph.addEdge(2, 3);
graph.addEdge(3, 4);
graph.addEdge(4, 5);
graph.addEdge(5, 3);
assert.eq([3, 4, 5, 3], graph.findCycle());
})();
(function testGraphWithSelfLoopConsideredCycle() {
const graph = new Graph();
graph.addEdge(0, 0);
assert.eq([0, 0], graph.findCycle());
})();
(function testGraphUsesNonReferentialEquality() {
const w = {a: new NumberInt(1)};
const x = {a: new NumberInt(1)};
const y = {a: new NumberLong(1)};
const z = {a: 1};
let graph = new Graph();
graph.addEdge(w, x);
assert.eq([w, x], graph.findCycle());
graph = new Graph();
graph.addEdge(w, y);
assert.eq([], graph.findCycle());
graph = new Graph();
graph.addEdge(w, z);
assert.eq([w, z], graph.findCycle());
})();
(function testGraphMinimizesCycleUsingNonReferentialEquality() {
const graph = new Graph();
graph.addEdge({a: 1}, {a: 2});
graph.addEdge({a: 2}, {a: 3});
graph.addEdge({a: 3}, {a: 4});
graph.addEdge({a: 4}, {a: 5});
graph.addEdge({a: 5}, {a: 3});
assert.eq([{a: 3}, {a: 4}, {a: 5}, {a: 3}], graph.findCycle());
})();
})();
|
/*
* The MIT License (MIT)
* Copyright (c) 2016 Jim Liu
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
angular.module('ui.config', []).value('ui.config', {});
angular.module('ui.filters', ['ui.config']);
angular.module('ui.directives', ['ui.config']);
angular.module('ui', ['ui.filters', 'ui.directives', 'ui.config']);
|
import React, { useEffect, useState } from 'react'
import composerService from '../services/composers'
const Composer = ({composer: {id, lastname, firstname}}) => {
const [songs, setSongs] = useState([])
useEffect( () => {
composerService.getSongs(id).then(
s => setSongs(s)
)
}, [id])
return <>
<h2>Songs by {firstname} {lastname}</h2>
<div>{songs.map(
s => <div key={s.id}>{s.name}</div>
)}</div>
</>
}
export default Composer
|
import JSBI from 'jsbi';
export { default as JSBI } from 'jsbi';
import invariant from 'tiny-invariant';
import warning from 'tiny-warning';
import { getAddress, getCreate2Address } from '@ethersproject/address';
import _Big from 'big.js';
import toFormat from 'toformat';
import _Decimal from 'decimal.js-light';
import { keccak256, pack } from '@ethersproject/solidity';
import { Contract } from '@ethersproject/contracts';
import { getNetwork } from '@ethersproject/networks';
import { getDefaultProvider } from '@ethersproject/providers';
import IUniswapV2Pair from '@uniswap/v2-core/build/IUniswapV2Pair.json';
var _SOLIDITY_TYPE_MAXIMA;
var ChainId;
(function (ChainId) {
ChainId[ChainId["MAINNET"] = 1] = "MAINNET";
ChainId[ChainId["ROPSTEN"] = 3] = "ROPSTEN";
ChainId[ChainId["RINKEBY"] = 4] = "RINKEBY";
ChainId[ChainId["G\xD6RLI"] = 5] = "G\xD6RLI";
ChainId[ChainId["KOVAN"] = 42] = "KOVAN";
})(ChainId || (ChainId = {}));
var TradeType;
(function (TradeType) {
TradeType[TradeType["EXACT_INPUT"] = 0] = "EXACT_INPUT";
TradeType[TradeType["EXACT_OUTPUT"] = 1] = "EXACT_OUTPUT";
})(TradeType || (TradeType = {}));
var Rounding;
(function (Rounding) {
Rounding[Rounding["ROUND_DOWN"] = 0] = "ROUND_DOWN";
Rounding[Rounding["ROUND_HALF_UP"] = 1] = "ROUND_HALF_UP";
Rounding[Rounding["ROUND_UP"] = 2] = "ROUND_UP";
})(Rounding || (Rounding = {})); // export const FACTORY_ADDRESS = '0xd41130E9142c64Da60908d2a6Bd0eD191Bc6d7E4'
var FACTORY_ADDRESS = '0x22843BA5E11136888409296B6b3E6911c446669c'; // export const INIT_CODE_HASH = '0x1a2b467a96f24f635e38aa0d5eb137af393113cb941125f3cbf3d93857eb6e69'
var INIT_CODE_HASH = '0x29b21cc86535297db09fae13634ce7e51c3ad7502c073f396cd4cb71614240b6';
var MINIMUM_LIQUIDITY = /*#__PURE__*/JSBI.BigInt(1000); // exports for internal consumption
var ZERO = /*#__PURE__*/JSBI.BigInt(0);
var ONE = /*#__PURE__*/JSBI.BigInt(1);
var TWO = /*#__PURE__*/JSBI.BigInt(2);
var THREE = /*#__PURE__*/JSBI.BigInt(3);
var FIVE = /*#__PURE__*/JSBI.BigInt(5);
var TEN = /*#__PURE__*/JSBI.BigInt(10);
var _100 = /*#__PURE__*/JSBI.BigInt(100);
var _997 = /*#__PURE__*/JSBI.BigInt(997);
var _1000 = /*#__PURE__*/JSBI.BigInt(1000);
var SolidityType;
(function (SolidityType) {
SolidityType["uint8"] = "uint8";
SolidityType["uint256"] = "uint256";
})(SolidityType || (SolidityType = {}));
var SOLIDITY_TYPE_MAXIMA = (_SOLIDITY_TYPE_MAXIMA = {}, _SOLIDITY_TYPE_MAXIMA[SolidityType.uint8] = /*#__PURE__*/JSBI.BigInt('0xff'), _SOLIDITY_TYPE_MAXIMA[SolidityType.uint256] = /*#__PURE__*/JSBI.BigInt('0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'), _SOLIDITY_TYPE_MAXIMA);
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
subClass.__proto__ = superClass;
}
function _getPrototypeOf(o) {
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
};
return _getPrototypeOf(o);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
function _isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
if (Reflect.construct.sham) return false;
if (typeof Proxy === "function") return true;
try {
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
return true;
} catch (e) {
return false;
}
}
function _construct(Parent, args, Class) {
if (_isNativeReflectConstruct()) {
_construct = Reflect.construct;
} else {
_construct = function _construct(Parent, args, Class) {
var a = [null];
a.push.apply(a, args);
var Constructor = Function.bind.apply(Parent, a);
var instance = new Constructor();
if (Class) _setPrototypeOf(instance, Class.prototype);
return instance;
};
}
return _construct.apply(null, arguments);
}
function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}
function _wrapNativeSuper(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;
_wrapNativeSuper = function _wrapNativeSuper(Class) {
if (Class === null || !_isNativeFunction(Class)) return Class;
if (typeof Class !== "function") {
throw new TypeError("Super expression must either be null or a function");
}
if (typeof _cache !== "undefined") {
if (_cache.has(Class)) return _cache.get(Class);
_cache.set(Class, Wrapper);
}
function Wrapper() {
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
}
Wrapper.prototype = Object.create(Class.prototype, {
constructor: {
value: Wrapper,
enumerable: false,
writable: true,
configurable: true
}
});
return _setPrototypeOf(Wrapper, Class);
};
return _wrapNativeSuper(Class);
}
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it;
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it) o = it;
var i = 0;
return function () {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
};
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
it = o[Symbol.iterator]();
return it.next.bind(it);
}
// see https://stackoverflow.com/a/41102306
var CAN_SET_PROTOTYPE = ('setPrototypeOf' in Object);
/**
* Indicates that the pair has insufficient reserves for a desired output amount. I.e. the amount of output cannot be
* obtained by sending any amount of input.
*/
var InsufficientReservesError = /*#__PURE__*/function (_Error) {
_inheritsLoose(InsufficientReservesError, _Error);
function InsufficientReservesError() {
var _this;
_this = _Error.call(this) || this;
_this.isInsufficientReservesError = true;
_this.name = _this.constructor.name;
if (CAN_SET_PROTOTYPE) Object.setPrototypeOf(_assertThisInitialized(_this), (this instanceof InsufficientReservesError ? this.constructor : void 0).prototype);
return _this;
}
return InsufficientReservesError;
}( /*#__PURE__*/_wrapNativeSuper(Error));
/**
* Indicates that the input amount is too small to produce any amount of output. I.e. the amount of input sent is less
* than the price of a single unit of output after fees.
*/
var InsufficientInputAmountError = /*#__PURE__*/function (_Error2) {
_inheritsLoose(InsufficientInputAmountError, _Error2);
function InsufficientInputAmountError() {
var _this2;
_this2 = _Error2.call(this) || this;
_this2.isInsufficientInputAmountError = true;
_this2.name = _this2.constructor.name;
if (CAN_SET_PROTOTYPE) Object.setPrototypeOf(_assertThisInitialized(_this2), (this instanceof InsufficientInputAmountError ? this.constructor : void 0).prototype);
return _this2;
}
return InsufficientInputAmountError;
}( /*#__PURE__*/_wrapNativeSuper(Error));
function validateSolidityTypeInstance(value, solidityType) {
!JSBI.greaterThanOrEqual(value, ZERO) ? process.env.NODE_ENV !== "production" ? invariant(false, value + " is not a " + solidityType + ".") : invariant(false) : void 0;
!JSBI.lessThanOrEqual(value, SOLIDITY_TYPE_MAXIMA[solidityType]) ? process.env.NODE_ENV !== "production" ? invariant(false, value + " is not a " + solidityType + ".") : invariant(false) : void 0;
} // warns if addresses are not checksummed
function validateAndParseAddress(address) {
try {
var checksummedAddress = getAddress(address);
process.env.NODE_ENV !== "production" ? warning(address === checksummedAddress, address + " is not checksummed.") : void 0;
return checksummedAddress;
} catch (error) {
process.env.NODE_ENV !== "production" ? invariant(false, address + " is not a valid address.") : invariant(false) ;
}
}
function parseBigintIsh(bigintIsh) {
return bigintIsh instanceof JSBI ? bigintIsh : typeof bigintIsh === 'bigint' ? JSBI.BigInt(bigintIsh.toString()) : JSBI.BigInt(bigintIsh);
} // mock the on-chain sqrt function
function sqrt(y) {
validateSolidityTypeInstance(y, SolidityType.uint256);
var z = ZERO;
var x;
if (JSBI.greaterThan(y, THREE)) {
z = y;
x = JSBI.add(JSBI.divide(y, TWO), ONE);
while (JSBI.lessThan(x, z)) {
z = x;
x = JSBI.divide(JSBI.add(JSBI.divide(y, x), x), TWO);
}
} else if (JSBI.notEqual(y, ZERO)) {
z = ONE;
}
return z;
} // given an array of items sorted by `comparator`, insert an item into its sort index and constrain the size to
// `maxSize` by removing the last item
function sortedInsert(items, add, maxSize, comparator) {
!(maxSize > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'MAX_SIZE_ZERO') : invariant(false) : void 0; // this is an invariant because the interface cannot return multiple removed items if items.length exceeds maxSize
!(items.length <= maxSize) ? process.env.NODE_ENV !== "production" ? invariant(false, 'ITEMS_SIZE') : invariant(false) : void 0; // short circuit first item add
if (items.length === 0) {
items.push(add);
return null;
} else {
var isFull = items.length === maxSize; // short circuit if full and the additional item does not come before the last item
if (isFull && comparator(items[items.length - 1], add) <= 0) {
return add;
}
var lo = 0,
hi = items.length;
while (lo < hi) {
var mid = lo + hi >>> 1;
if (comparator(items[mid], add) <= 0) {
lo = mid + 1;
} else {
hi = mid;
}
}
items.splice(lo, 0, add);
return isFull ? items.pop() : null;
}
}
/**
* A currency is any fungible financial instrument on Ethereum, including Ether and all ERC20 tokens.
*
* The only instance of the base class `Currency` is Ether.
*/
var Currency =
/**
* Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.ETHER`.
* @param decimals decimals of the currency
* @param symbol symbol of the currency
* @param name of the currency
*/
function Currency(decimals, symbol, name) {
validateSolidityTypeInstance(JSBI.BigInt(decimals), SolidityType.uint8);
this.decimals = decimals;
this.symbol = symbol;
this.name = name;
};
/**
* The only instance of the base class `Currency`.
*/
Currency.ETHER = /*#__PURE__*/new Currency(18, 'ETH', 'Ether');
var ETHER = Currency.ETHER;
var _WETH;
/**
* Represents an ERC20 token with a unique address and some metadata.
*/
var Token = /*#__PURE__*/function (_Currency) {
_inheritsLoose(Token, _Currency);
function Token(chainId, address, decimals, symbol, name) {
var _this;
_this = _Currency.call(this, decimals, symbol, name) || this;
_this.chainId = chainId;
_this.address = validateAndParseAddress(address);
return _this;
}
/**
* Returns true if the two tokens are equivalent, i.e. have the same chainId and address.
* @param other other token to compare
*/
var _proto = Token.prototype;
_proto.equals = function equals(other) {
// short circuit on reference equality
if (this === other) {
return true;
}
return this.chainId === other.chainId && this.address === other.address;
}
/**
* Returns true if the address of this token sorts before the address of the other token
* @param other other token to compare
* @throws if the tokens have the same address
* @throws if the tokens are on different chains
*/
;
_proto.sortsBefore = function sortsBefore(other) {
!(this.chainId === other.chainId) ? process.env.NODE_ENV !== "production" ? invariant(false, 'CHAIN_IDS') : invariant(false) : void 0;
!(this.address !== other.address) ? process.env.NODE_ENV !== "production" ? invariant(false, 'ADDRESSES') : invariant(false) : void 0;
return this.address.toLowerCase() < other.address.toLowerCase();
};
return Token;
}(Currency);
/**
* Compares two currencies for equality
*/
function currencyEquals(currencyA, currencyB) {
if (currencyA instanceof Token && currencyB instanceof Token) {
return currencyA.equals(currencyB);
} else if (currencyA instanceof Token) {
return false;
} else if (currencyB instanceof Token) {
return false;
} else {
return currencyA === currencyB;
}
}
var WETH = (_WETH = {}, _WETH[ChainId.MAINNET] = /*#__PURE__*/new Token(ChainId.MAINNET, '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', 18, 'WETH', 'Wrapped Ether'), _WETH[ChainId.ROPSTEN] = /*#__PURE__*/new Token(ChainId.ROPSTEN, '0xc778417E063141139Fce010982780140Aa0cD5Ab', 18, 'WETH', 'Wrapped Ether'), _WETH[ChainId.RINKEBY] = /*#__PURE__*/new Token(ChainId.RINKEBY, '0xc778417E063141139Fce010982780140Aa0cD5Ab', 18, 'WETH', 'Wrapped Ether'), _WETH[ChainId.GÖRLI] = /*#__PURE__*/new Token(ChainId.GÖRLI, '0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6', 18, 'WETH', 'Wrapped Ether'), _WETH[ChainId.KOVAN] = /*#__PURE__*/new Token(ChainId.KOVAN, '0xd0A1E359811322d97991E03f863a0C30C2cF029C', 18, 'WETH', 'Wrapped Ether'), _WETH);
var _toSignificantRoundin, _toFixedRounding;
var Decimal = /*#__PURE__*/toFormat(_Decimal);
var Big = /*#__PURE__*/toFormat(_Big);
var toSignificantRounding = (_toSignificantRoundin = {}, _toSignificantRoundin[Rounding.ROUND_DOWN] = Decimal.ROUND_DOWN, _toSignificantRoundin[Rounding.ROUND_HALF_UP] = Decimal.ROUND_HALF_UP, _toSignificantRoundin[Rounding.ROUND_UP] = Decimal.ROUND_UP, _toSignificantRoundin);
var toFixedRounding = (_toFixedRounding = {}, _toFixedRounding[Rounding.ROUND_DOWN] = 0, _toFixedRounding[Rounding.ROUND_HALF_UP] = 1, _toFixedRounding[Rounding.ROUND_UP] = 3, _toFixedRounding);
var Fraction = /*#__PURE__*/function () {
function Fraction(numerator, denominator) {
if (denominator === void 0) {
denominator = ONE;
}
this.numerator = parseBigintIsh(numerator);
this.denominator = parseBigintIsh(denominator);
} // performs floor division
var _proto = Fraction.prototype;
_proto.invert = function invert() {
return new Fraction(this.denominator, this.numerator);
};
_proto.add = function add(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
if (JSBI.equal(this.denominator, otherParsed.denominator)) {
return new Fraction(JSBI.add(this.numerator, otherParsed.numerator), this.denominator);
}
return new Fraction(JSBI.add(JSBI.multiply(this.numerator, otherParsed.denominator), JSBI.multiply(otherParsed.numerator, this.denominator)), JSBI.multiply(this.denominator, otherParsed.denominator));
};
_proto.subtract = function subtract(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
if (JSBI.equal(this.denominator, otherParsed.denominator)) {
return new Fraction(JSBI.subtract(this.numerator, otherParsed.numerator), this.denominator);
}
return new Fraction(JSBI.subtract(JSBI.multiply(this.numerator, otherParsed.denominator), JSBI.multiply(otherParsed.numerator, this.denominator)), JSBI.multiply(this.denominator, otherParsed.denominator));
};
_proto.lessThan = function lessThan(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
return JSBI.lessThan(JSBI.multiply(this.numerator, otherParsed.denominator), JSBI.multiply(otherParsed.numerator, this.denominator));
};
_proto.equalTo = function equalTo(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
return JSBI.equal(JSBI.multiply(this.numerator, otherParsed.denominator), JSBI.multiply(otherParsed.numerator, this.denominator));
};
_proto.greaterThan = function greaterThan(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
return JSBI.greaterThan(JSBI.multiply(this.numerator, otherParsed.denominator), JSBI.multiply(otherParsed.numerator, this.denominator));
};
_proto.multiply = function multiply(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
return new Fraction(JSBI.multiply(this.numerator, otherParsed.numerator), JSBI.multiply(this.denominator, otherParsed.denominator));
};
_proto.divide = function divide(other) {
var otherParsed = other instanceof Fraction ? other : new Fraction(parseBigintIsh(other));
return new Fraction(JSBI.multiply(this.numerator, otherParsed.denominator), JSBI.multiply(this.denominator, otherParsed.numerator));
};
_proto.toSignificant = function toSignificant(significantDigits, format, rounding) {
if (format === void 0) {
format = {
groupSeparator: ''
};
}
if (rounding === void 0) {
rounding = Rounding.ROUND_HALF_UP;
}
!Number.isInteger(significantDigits) ? process.env.NODE_ENV !== "production" ? invariant(false, significantDigits + " is not an integer.") : invariant(false) : void 0;
!(significantDigits > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, significantDigits + " is not positive.") : invariant(false) : void 0;
Decimal.set({
precision: significantDigits + 1,
rounding: toSignificantRounding[rounding]
});
var quotient = new Decimal(this.numerator.toString()).div(this.denominator.toString()).toSignificantDigits(significantDigits);
return quotient.toFormat(quotient.decimalPlaces(), format);
};
_proto.toFixed = function toFixed(decimalPlaces, format, rounding) {
if (format === void 0) {
format = {
groupSeparator: ''
};
}
if (rounding === void 0) {
rounding = Rounding.ROUND_HALF_UP;
}
!Number.isInteger(decimalPlaces) ? process.env.NODE_ENV !== "production" ? invariant(false, decimalPlaces + " is not an integer.") : invariant(false) : void 0;
!(decimalPlaces >= 0) ? process.env.NODE_ENV !== "production" ? invariant(false, decimalPlaces + " is negative.") : invariant(false) : void 0;
Big.DP = decimalPlaces;
Big.RM = toFixedRounding[rounding];
return new Big(this.numerator.toString()).div(this.denominator.toString()).toFormat(decimalPlaces, format);
};
_createClass(Fraction, [{
key: "quotient",
get: function get() {
return JSBI.divide(this.numerator, this.denominator);
} // remainder after floor division
}, {
key: "remainder",
get: function get() {
return new Fraction(JSBI.remainder(this.numerator, this.denominator), this.denominator);
}
}]);
return Fraction;
}();
var Big$1 = /*#__PURE__*/toFormat(_Big);
var CurrencyAmount = /*#__PURE__*/function (_Fraction) {
_inheritsLoose(CurrencyAmount, _Fraction);
// amount _must_ be raw, i.e. in the native representation
function CurrencyAmount(currency, amount) {
var _this;
var parsedAmount = parseBigintIsh(amount);
validateSolidityTypeInstance(parsedAmount, SolidityType.uint256);
_this = _Fraction.call(this, parsedAmount, JSBI.exponentiate(TEN, JSBI.BigInt(currency.decimals))) || this;
_this.currency = currency;
return _this;
}
/**
* Helper that calls the constructor with the ETHER currency
* @param amount ether amount in wei
*/
CurrencyAmount.ether = function ether(amount) {
return new CurrencyAmount(ETHER, amount);
};
var _proto = CurrencyAmount.prototype;
_proto.add = function add(other) {
!currencyEquals(this.currency, other.currency) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
return new CurrencyAmount(this.currency, JSBI.add(this.raw, other.raw));
};
_proto.subtract = function subtract(other) {
!currencyEquals(this.currency, other.currency) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
return new CurrencyAmount(this.currency, JSBI.subtract(this.raw, other.raw));
};
_proto.toSignificant = function toSignificant(significantDigits, format, rounding) {
if (significantDigits === void 0) {
significantDigits = 6;
}
if (rounding === void 0) {
rounding = Rounding.ROUND_DOWN;
}
return _Fraction.prototype.toSignificant.call(this, significantDigits, format, rounding);
};
_proto.toFixed = function toFixed(decimalPlaces, format, rounding) {
if (decimalPlaces === void 0) {
decimalPlaces = this.currency.decimals;
}
if (rounding === void 0) {
rounding = Rounding.ROUND_DOWN;
}
!(decimalPlaces <= this.currency.decimals) ? process.env.NODE_ENV !== "production" ? invariant(false, 'DECIMALS') : invariant(false) : void 0;
return _Fraction.prototype.toFixed.call(this, decimalPlaces, format, rounding);
};
_proto.toExact = function toExact(format) {
if (format === void 0) {
format = {
groupSeparator: ''
};
}
Big$1.DP = this.currency.decimals;
return new Big$1(this.numerator.toString()).div(this.denominator.toString()).toFormat(format);
};
_createClass(CurrencyAmount, [{
key: "raw",
get: function get() {
return this.numerator;
}
}]);
return CurrencyAmount;
}(Fraction);
var TokenAmount = /*#__PURE__*/function (_CurrencyAmount) {
_inheritsLoose(TokenAmount, _CurrencyAmount);
// amount _must_ be raw, i.e. in the native representation
function TokenAmount(token, amount) {
var _this;
_this = _CurrencyAmount.call(this, token, amount) || this;
_this.token = token;
return _this;
}
var _proto = TokenAmount.prototype;
_proto.add = function add(other) {
!this.token.equals(other.token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
return new TokenAmount(this.token, JSBI.add(this.raw, other.raw));
};
_proto.subtract = function subtract(other) {
!this.token.equals(other.token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
return new TokenAmount(this.token, JSBI.subtract(this.raw, other.raw));
};
return TokenAmount;
}(CurrencyAmount);
var Price = /*#__PURE__*/function (_Fraction) {
_inheritsLoose(Price, _Fraction);
// denominator and numerator _must_ be raw, i.e. in the native representation
function Price(baseCurrency, quoteCurrency, denominator, numerator) {
var _this;
_this = _Fraction.call(this, numerator, denominator) || this;
_this.baseCurrency = baseCurrency;
_this.quoteCurrency = quoteCurrency;
_this.scalar = new Fraction(JSBI.exponentiate(TEN, JSBI.BigInt(baseCurrency.decimals)), JSBI.exponentiate(TEN, JSBI.BigInt(quoteCurrency.decimals)));
return _this;
}
Price.fromRoute = function fromRoute(route) {
var prices = [];
for (var _iterator = _createForOfIteratorHelperLoose(route.pairs.entries()), _step; !(_step = _iterator()).done;) {
var _step$value = _step.value,
i = _step$value[0],
pair = _step$value[1];
prices.push(route.path[i].equals(pair.token0) ? new Price(pair.reserve0.currency, pair.reserve1.currency, pair.reserve0.raw, pair.reserve1.raw) : new Price(pair.reserve1.currency, pair.reserve0.currency, pair.reserve1.raw, pair.reserve0.raw));
}
return prices.slice(1).reduce(function (accumulator, currentValue) {
return accumulator.multiply(currentValue);
}, prices[0]);
};
var _proto = Price.prototype;
_proto.invert = function invert() {
return new Price(this.quoteCurrency, this.baseCurrency, this.numerator, this.denominator);
};
_proto.multiply = function multiply(other) {
!currencyEquals(this.quoteCurrency, other.baseCurrency) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
var fraction = _Fraction.prototype.multiply.call(this, other);
return new Price(this.baseCurrency, other.quoteCurrency, fraction.denominator, fraction.numerator);
} // performs floor division on overflow
;
_proto.quote = function quote(currencyAmount) {
!currencyEquals(currencyAmount.currency, this.baseCurrency) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
if (this.quoteCurrency instanceof Token) {
return new TokenAmount(this.quoteCurrency, _Fraction.prototype.multiply.call(this, currencyAmount.raw).quotient);
}
return CurrencyAmount.ether(_Fraction.prototype.multiply.call(this, currencyAmount.raw).quotient);
};
_proto.toSignificant = function toSignificant(significantDigits, format, rounding) {
if (significantDigits === void 0) {
significantDigits = 6;
}
return this.adjusted.toSignificant(significantDigits, format, rounding);
};
_proto.toFixed = function toFixed(decimalPlaces, format, rounding) {
if (decimalPlaces === void 0) {
decimalPlaces = 4;
}
return this.adjusted.toFixed(decimalPlaces, format, rounding);
};
_createClass(Price, [{
key: "raw",
get: function get() {
return new Fraction(this.numerator, this.denominator);
}
}, {
key: "adjusted",
get: function get() {
return _Fraction.prototype.multiply.call(this, this.scalar);
}
}]);
return Price;
}(Fraction);
var PAIR_ADDRESS_CACHE = {};
var Pair = /*#__PURE__*/function () {
function Pair(tokenAmountA, tokenAmountB) {
var tokenAmounts = tokenAmountA.token.sortsBefore(tokenAmountB.token) // does safety checks
? [tokenAmountA, tokenAmountB] : [tokenAmountB, tokenAmountA];
this.liquidityToken = new Token(tokenAmounts[0].token.chainId, Pair.getAddress(tokenAmounts[0].token, tokenAmounts[1].token), 18, 'UNI-V2', 'Uniswap V2');
this.tokenAmounts = tokenAmounts;
}
Pair.getAddress = function getAddress(tokenA, tokenB) {
var _PAIR_ADDRESS_CACHE, _PAIR_ADDRESS_CACHE$t;
var tokens = tokenA.sortsBefore(tokenB) ? [tokenA, tokenB] : [tokenB, tokenA]; // does safety checks
if (((_PAIR_ADDRESS_CACHE = PAIR_ADDRESS_CACHE) === null || _PAIR_ADDRESS_CACHE === void 0 ? void 0 : (_PAIR_ADDRESS_CACHE$t = _PAIR_ADDRESS_CACHE[tokens[0].address]) === null || _PAIR_ADDRESS_CACHE$t === void 0 ? void 0 : _PAIR_ADDRESS_CACHE$t[tokens[1].address]) === undefined) {
var _PAIR_ADDRESS_CACHE2, _extends2, _extends3;
PAIR_ADDRESS_CACHE = _extends({}, PAIR_ADDRESS_CACHE, (_extends3 = {}, _extends3[tokens[0].address] = _extends({}, (_PAIR_ADDRESS_CACHE2 = PAIR_ADDRESS_CACHE) === null || _PAIR_ADDRESS_CACHE2 === void 0 ? void 0 : _PAIR_ADDRESS_CACHE2[tokens[0].address], (_extends2 = {}, _extends2[tokens[1].address] = getCreate2Address(FACTORY_ADDRESS, keccak256(['bytes'], [pack(['address', 'address'], [tokens[0].address, tokens[1].address])]), INIT_CODE_HASH), _extends2)), _extends3));
}
return PAIR_ADDRESS_CACHE[tokens[0].address][tokens[1].address];
}
/**
* Returns true if the token is either token0 or token1
* @param token to check
*/
;
var _proto = Pair.prototype;
_proto.involvesToken = function involvesToken(token) {
return token.equals(this.token0) || token.equals(this.token1);
}
/**
* Returns the current mid price of the pair in terms of token0, i.e. the ratio of reserve1 to reserve0
*/
;
/**
* Return the price of the given token in terms of the other token in the pair.
* @param token token to return price of
*/
_proto.priceOf = function priceOf(token) {
!this.involvesToken(token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
return token.equals(this.token0) ? this.token0Price : this.token1Price;
}
/**
* Returns the chain ID of the tokens in the pair.
*/
;
_proto.reserveOf = function reserveOf(token) {
!this.involvesToken(token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
return token.equals(this.token0) ? this.reserve0 : this.reserve1;
};
_proto.getOutputAmount = function getOutputAmount(inputAmount) {
!this.involvesToken(inputAmount.token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
if (JSBI.equal(this.reserve0.raw, ZERO) || JSBI.equal(this.reserve1.raw, ZERO)) {
throw new InsufficientReservesError();
}
var inputReserve = this.reserveOf(inputAmount.token);
var outputReserve = this.reserveOf(inputAmount.token.equals(this.token0) ? this.token1 : this.token0);
var inputAmountWithFee = JSBI.multiply(inputAmount.raw, _997);
var numerator = JSBI.multiply(inputAmountWithFee, outputReserve.raw);
var denominator = JSBI.add(JSBI.multiply(inputReserve.raw, _1000), inputAmountWithFee);
var outputAmount = new TokenAmount(inputAmount.token.equals(this.token0) ? this.token1 : this.token0, JSBI.divide(numerator, denominator));
if (JSBI.equal(outputAmount.raw, ZERO)) {
throw new InsufficientInputAmountError();
}
return [outputAmount, new Pair(inputReserve.add(inputAmount), outputReserve.subtract(outputAmount))];
};
_proto.getInputAmount = function getInputAmount(outputAmount) {
!this.involvesToken(outputAmount.token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
if (JSBI.equal(this.reserve0.raw, ZERO) || JSBI.equal(this.reserve1.raw, ZERO) || JSBI.greaterThanOrEqual(outputAmount.raw, this.reserveOf(outputAmount.token).raw)) {
throw new InsufficientReservesError();
}
var outputReserve = this.reserveOf(outputAmount.token);
var inputReserve = this.reserveOf(outputAmount.token.equals(this.token0) ? this.token1 : this.token0);
var numerator = JSBI.multiply(JSBI.multiply(inputReserve.raw, outputAmount.raw), _1000);
var denominator = JSBI.multiply(JSBI.subtract(outputReserve.raw, outputAmount.raw), _997);
var inputAmount = new TokenAmount(outputAmount.token.equals(this.token0) ? this.token1 : this.token0, JSBI.add(JSBI.divide(numerator, denominator), ONE));
return [inputAmount, new Pair(inputReserve.add(inputAmount), outputReserve.subtract(outputAmount))];
};
_proto.getLiquidityMinted = function getLiquidityMinted(totalSupply, tokenAmountA, tokenAmountB) {
!totalSupply.token.equals(this.liquidityToken) ? process.env.NODE_ENV !== "production" ? invariant(false, 'LIQUIDITY') : invariant(false) : void 0;
var tokenAmounts = tokenAmountA.token.sortsBefore(tokenAmountB.token) // does safety checks
? [tokenAmountA, tokenAmountB] : [tokenAmountB, tokenAmountA];
!(tokenAmounts[0].token.equals(this.token0) && tokenAmounts[1].token.equals(this.token1)) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
var liquidity;
if (JSBI.equal(totalSupply.raw, ZERO)) {
liquidity = JSBI.subtract(sqrt(JSBI.multiply(tokenAmounts[0].raw, tokenAmounts[1].raw)), MINIMUM_LIQUIDITY);
} else {
var amount0 = JSBI.divide(JSBI.multiply(tokenAmounts[0].raw, totalSupply.raw), this.reserve0.raw);
var amount1 = JSBI.divide(JSBI.multiply(tokenAmounts[1].raw, totalSupply.raw), this.reserve1.raw);
liquidity = JSBI.lessThanOrEqual(amount0, amount1) ? amount0 : amount1;
}
if (!JSBI.greaterThan(liquidity, ZERO)) {
throw new InsufficientInputAmountError();
}
return new TokenAmount(this.liquidityToken, liquidity);
};
_proto.getLiquidityValue = function getLiquidityValue(token, totalSupply, liquidity, feeOn, kLast) {
if (feeOn === void 0) {
feeOn = false;
}
!this.involvesToken(token) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOKEN') : invariant(false) : void 0;
!totalSupply.token.equals(this.liquidityToken) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TOTAL_SUPPLY') : invariant(false) : void 0;
!liquidity.token.equals(this.liquidityToken) ? process.env.NODE_ENV !== "production" ? invariant(false, 'LIQUIDITY') : invariant(false) : void 0;
!JSBI.lessThanOrEqual(liquidity.raw, totalSupply.raw) ? process.env.NODE_ENV !== "production" ? invariant(false, 'LIQUIDITY') : invariant(false) : void 0;
var totalSupplyAdjusted;
if (!feeOn) {
totalSupplyAdjusted = totalSupply;
} else {
!!!kLast ? process.env.NODE_ENV !== "production" ? invariant(false, 'K_LAST') : invariant(false) : void 0;
var kLastParsed = parseBigintIsh(kLast);
if (!JSBI.equal(kLastParsed, ZERO)) {
var rootK = sqrt(JSBI.multiply(this.reserve0.raw, this.reserve1.raw));
var rootKLast = sqrt(kLastParsed);
if (JSBI.greaterThan(rootK, rootKLast)) {
var numerator = JSBI.multiply(totalSupply.raw, JSBI.subtract(rootK, rootKLast));
var denominator = JSBI.add(JSBI.multiply(rootK, FIVE), rootKLast);
var feeLiquidity = JSBI.divide(numerator, denominator);
totalSupplyAdjusted = totalSupply.add(new TokenAmount(this.liquidityToken, feeLiquidity));
} else {
totalSupplyAdjusted = totalSupply;
}
} else {
totalSupplyAdjusted = totalSupply;
}
}
return new TokenAmount(token, JSBI.divide(JSBI.multiply(liquidity.raw, this.reserveOf(token).raw), totalSupplyAdjusted.raw));
};
_createClass(Pair, [{
key: "token0Price",
get: function get() {
return new Price(this.token0, this.token1, this.tokenAmounts[0].raw, this.tokenAmounts[1].raw);
}
/**
* Returns the current mid price of the pair in terms of token1, i.e. the ratio of reserve0 to reserve1
*/
}, {
key: "token1Price",
get: function get() {
return new Price(this.token1, this.token0, this.tokenAmounts[1].raw, this.tokenAmounts[0].raw);
}
}, {
key: "chainId",
get: function get() {
return this.token0.chainId;
}
}, {
key: "token0",
get: function get() {
return this.tokenAmounts[0].token;
}
}, {
key: "token1",
get: function get() {
return this.tokenAmounts[1].token;
}
}, {
key: "reserve0",
get: function get() {
return this.tokenAmounts[0];
}
}, {
key: "reserve1",
get: function get() {
return this.tokenAmounts[1];
}
}]);
return Pair;
}();
var Route = /*#__PURE__*/function () {
function Route(pairs, input, output) {
!(pairs.length > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'PAIRS') : invariant(false) : void 0;
!pairs.every(function (pair) {
return pair.chainId === pairs[0].chainId;
}) ? process.env.NODE_ENV !== "production" ? invariant(false, 'CHAIN_IDS') : invariant(false) : void 0;
!(input instanceof Token && pairs[0].involvesToken(input) || input === ETHER && pairs[0].involvesToken(WETH[pairs[0].chainId])) ? process.env.NODE_ENV !== "production" ? invariant(false, 'INPUT') : invariant(false) : void 0;
!(typeof output === 'undefined' || output instanceof Token && pairs[pairs.length - 1].involvesToken(output) || output === ETHER && pairs[pairs.length - 1].involvesToken(WETH[pairs[0].chainId])) ? process.env.NODE_ENV !== "production" ? invariant(false, 'OUTPUT') : invariant(false) : void 0;
var path = [input instanceof Token ? input : WETH[pairs[0].chainId]];
for (var _iterator = _createForOfIteratorHelperLoose(pairs.entries()), _step; !(_step = _iterator()).done;) {
var _step$value = _step.value,
i = _step$value[0],
pair = _step$value[1];
var currentInput = path[i];
!(currentInput.equals(pair.token0) || currentInput.equals(pair.token1)) ? process.env.NODE_ENV !== "production" ? invariant(false, 'PATH') : invariant(false) : void 0;
var _output = currentInput.equals(pair.token0) ? pair.token1 : pair.token0;
path.push(_output);
}
this.pairs = pairs;
this.path = path;
this.midPrice = Price.fromRoute(this);
this.input = input;
this.output = output !== null && output !== void 0 ? output : path[path.length - 1];
}
_createClass(Route, [{
key: "chainId",
get: function get() {
return this.pairs[0].chainId;
}
}]);
return Route;
}();
var _100_PERCENT = /*#__PURE__*/new Fraction(_100);
var Percent = /*#__PURE__*/function (_Fraction) {
_inheritsLoose(Percent, _Fraction);
function Percent() {
return _Fraction.apply(this, arguments) || this;
}
var _proto = Percent.prototype;
_proto.toSignificant = function toSignificant(significantDigits, format, rounding) {
if (significantDigits === void 0) {
significantDigits = 5;
}
return this.multiply(_100_PERCENT).toSignificant(significantDigits, format, rounding);
};
_proto.toFixed = function toFixed(decimalPlaces, format, rounding) {
if (decimalPlaces === void 0) {
decimalPlaces = 2;
}
return this.multiply(_100_PERCENT).toFixed(decimalPlaces, format, rounding);
};
return Percent;
}(Fraction);
/**
* Returns the percent difference between the mid price and the execution price, i.e. price impact.
* @param midPrice mid price before the trade
* @param inputAmount the input amount of the trade
* @param outputAmount the output amount of the trade
*/
function computePriceImpact(midPrice, inputAmount, outputAmount) {
var exactQuote = midPrice.raw.multiply(inputAmount.raw); // calculate slippage := (exactQuote - outputAmount) / exactQuote
var slippage = exactQuote.subtract(outputAmount.raw).divide(exactQuote);
return new Percent(slippage.numerator, slippage.denominator);
} // comparator function that allows sorting trades by their output amounts, in decreasing order, and then input amounts
// in increasing order. i.e. the best trades have the most outputs for the least inputs and are sorted first
function inputOutputComparator(a, b) {
// must have same input and output token for comparison
!currencyEquals(a.inputAmount.currency, b.inputAmount.currency) ? process.env.NODE_ENV !== "production" ? invariant(false, 'INPUT_CURRENCY') : invariant(false) : void 0;
!currencyEquals(a.outputAmount.currency, b.outputAmount.currency) ? process.env.NODE_ENV !== "production" ? invariant(false, 'OUTPUT_CURRENCY') : invariant(false) : void 0;
if (a.outputAmount.equalTo(b.outputAmount)) {
if (a.inputAmount.equalTo(b.inputAmount)) {
return 0;
} // trade A requires less input than trade B, so A should come first
if (a.inputAmount.lessThan(b.inputAmount)) {
return -1;
} else {
return 1;
}
} else {
// tradeA has less output than trade B, so should come second
if (a.outputAmount.lessThan(b.outputAmount)) {
return 1;
} else {
return -1;
}
}
} // extension of the input output comparator that also considers other dimensions of the trade in ranking them
function tradeComparator(a, b) {
var ioComp = inputOutputComparator(a, b);
if (ioComp !== 0) {
return ioComp;
} // consider lowest slippage next, since these are less likely to fail
if (a.priceImpact.lessThan(b.priceImpact)) {
return -1;
} else if (a.priceImpact.greaterThan(b.priceImpact)) {
return 1;
} // finally consider the number of hops since each hop costs gas
return a.route.path.length - b.route.path.length;
}
/**
* Given a currency amount and a chain ID, returns the equivalent representation as the token amount.
* In other words, if the currency is ETHER, returns the WETH token amount for the given chain. Otherwise, returns
* the input currency amount.
*/
function wrappedAmount(currencyAmount, chainId) {
if (currencyAmount instanceof TokenAmount) return currencyAmount;
if (currencyAmount.currency === ETHER) return new TokenAmount(WETH[chainId], currencyAmount.raw);
process.env.NODE_ENV !== "production" ? invariant(false, 'CURRENCY') : invariant(false) ;
}
function wrappedCurrency(currency, chainId) {
if (currency instanceof Token) return currency;
if (currency === ETHER) return WETH[chainId];
process.env.NODE_ENV !== "production" ? invariant(false, 'CURRENCY') : invariant(false) ;
}
/**
* Represents a trade executed against a list of pairs.
* Does not account for slippage, i.e. trades that front run this trade and move the price.
*/
var Trade = /*#__PURE__*/function () {
function Trade(route, amount, tradeType) {
var amounts = new Array(route.path.length);
var nextPairs = new Array(route.pairs.length);
if (tradeType === TradeType.EXACT_INPUT) {
!currencyEquals(amount.currency, route.input) ? process.env.NODE_ENV !== "production" ? invariant(false, 'INPUT') : invariant(false) : void 0;
amounts[0] = wrappedAmount(amount, route.chainId);
for (var i = 0; i < route.path.length - 1; i++) {
var pair = route.pairs[i];
var _pair$getOutputAmount = pair.getOutputAmount(amounts[i]),
outputAmount = _pair$getOutputAmount[0],
nextPair = _pair$getOutputAmount[1];
amounts[i + 1] = outputAmount;
nextPairs[i] = nextPair;
}
} else {
!currencyEquals(amount.currency, route.output) ? process.env.NODE_ENV !== "production" ? invariant(false, 'OUTPUT') : invariant(false) : void 0;
amounts[amounts.length - 1] = wrappedAmount(amount, route.chainId);
for (var _i = route.path.length - 1; _i > 0; _i--) {
var _pair = route.pairs[_i - 1];
var _pair$getInputAmount = _pair.getInputAmount(amounts[_i]),
inputAmount = _pair$getInputAmount[0],
_nextPair = _pair$getInputAmount[1];
amounts[_i - 1] = inputAmount;
nextPairs[_i - 1] = _nextPair;
}
}
this.route = route;
this.tradeType = tradeType;
this.inputAmount = tradeType === TradeType.EXACT_INPUT ? amount : route.input === ETHER ? CurrencyAmount.ether(amounts[0].raw) : amounts[0];
this.outputAmount = tradeType === TradeType.EXACT_OUTPUT ? amount : route.output === ETHER ? CurrencyAmount.ether(amounts[amounts.length - 1].raw) : amounts[amounts.length - 1];
this.executionPrice = new Price(this.inputAmount.currency, this.outputAmount.currency, this.inputAmount.raw, this.outputAmount.raw);
this.nextMidPrice = Price.fromRoute(new Route(nextPairs, route.input));
this.priceImpact = computePriceImpact(route.midPrice, this.inputAmount, this.outputAmount);
}
/**
* Constructs an exact in trade with the given amount in and route
* @param route route of the exact in trade
* @param amountIn the amount being passed in
*/
Trade.exactIn = function exactIn(route, amountIn) {
return new Trade(route, amountIn, TradeType.EXACT_INPUT);
}
/**
* Constructs an exact out trade with the given amount out and route
* @param route route of the exact out trade
* @param amountOut the amount returned by the trade
*/
;
Trade.exactOut = function exactOut(route, amountOut) {
return new Trade(route, amountOut, TradeType.EXACT_OUTPUT);
}
/**
* Get the minimum amount that must be received from this trade for the given slippage tolerance
* @param slippageTolerance tolerance of unfavorable slippage from the execution price of this trade
*/
;
var _proto = Trade.prototype;
_proto.minimumAmountOut = function minimumAmountOut(slippageTolerance) {
!!slippageTolerance.lessThan(ZERO) ? process.env.NODE_ENV !== "production" ? invariant(false, 'SLIPPAGE_TOLERANCE') : invariant(false) : void 0;
if (this.tradeType === TradeType.EXACT_OUTPUT) {
return this.outputAmount;
} else {
var slippageAdjustedAmountOut = new Fraction(ONE).add(slippageTolerance).invert().multiply(this.outputAmount.raw).quotient;
return this.outputAmount instanceof TokenAmount ? new TokenAmount(this.outputAmount.token, slippageAdjustedAmountOut) : CurrencyAmount.ether(slippageAdjustedAmountOut);
}
}
/**
* Get the maximum amount in that can be spent via this trade for the given slippage tolerance
* @param slippageTolerance tolerance of unfavorable slippage from the execution price of this trade
*/
;
_proto.maximumAmountIn = function maximumAmountIn(slippageTolerance) {
!!slippageTolerance.lessThan(ZERO) ? process.env.NODE_ENV !== "production" ? invariant(false, 'SLIPPAGE_TOLERANCE') : invariant(false) : void 0;
if (this.tradeType === TradeType.EXACT_INPUT) {
return this.inputAmount;
} else {
var slippageAdjustedAmountIn = new Fraction(ONE).add(slippageTolerance).multiply(this.inputAmount.raw).quotient;
return this.inputAmount instanceof TokenAmount ? new TokenAmount(this.inputAmount.token, slippageAdjustedAmountIn) : CurrencyAmount.ether(slippageAdjustedAmountIn);
}
}
/**
* Given a list of pairs, and a fixed amount in, returns the top `maxNumResults` trades that go from an input token
* amount to an output token, making at most `maxHops` hops.
* Note this does not consider aggregation, as routes are linear. It's possible a better route exists by splitting
* the amount in among multiple routes.
* @param pairs the pairs to consider in finding the best trade
* @param currencyAmountIn exact amount of input currency to spend
* @param currencyOut the desired currency out
* @param maxNumResults maximum number of results to return
* @param maxHops maximum number of hops a returned trade can make, e.g. 1 hop goes through a single pair
* @param currentPairs used in recursion; the current list of pairs
* @param originalAmountIn used in recursion; the original value of the currencyAmountIn parameter
* @param bestTrades used in recursion; the current list of best trades
*/
;
Trade.bestTradeExactIn = function bestTradeExactIn(pairs, currencyAmountIn, currencyOut, _temp, // used in recursion.
currentPairs, originalAmountIn, bestTrades) {
var _ref = _temp === void 0 ? {} : _temp,
_ref$maxNumResults = _ref.maxNumResults,
maxNumResults = _ref$maxNumResults === void 0 ? 3 : _ref$maxNumResults,
_ref$maxHops = _ref.maxHops,
maxHops = _ref$maxHops === void 0 ? 3 : _ref$maxHops;
if (currentPairs === void 0) {
currentPairs = [];
}
if (originalAmountIn === void 0) {
originalAmountIn = currencyAmountIn;
}
if (bestTrades === void 0) {
bestTrades = [];
}
!(pairs.length > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'PAIRS') : invariant(false) : void 0;
!(maxHops > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'MAX_HOPS') : invariant(false) : void 0;
!(originalAmountIn === currencyAmountIn || currentPairs.length > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'INVALID_RECURSION') : invariant(false) : void 0;
var chainId = currencyAmountIn instanceof TokenAmount ? currencyAmountIn.token.chainId : currencyOut instanceof Token ? currencyOut.chainId : undefined;
!(chainId !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, 'CHAIN_ID') : invariant(false) : void 0;
var amountIn = wrappedAmount(currencyAmountIn, chainId);
var tokenOut = wrappedCurrency(currencyOut, chainId);
for (var i = 0; i < pairs.length; i++) {
var pair = pairs[i]; // pair irrelevant
if (!pair.token0.equals(amountIn.token) && !pair.token1.equals(amountIn.token)) continue;
if (pair.reserve0.equalTo(ZERO) || pair.reserve1.equalTo(ZERO)) continue;
var amountOut = void 0;
try {
;
var _pair$getOutputAmount2 = pair.getOutputAmount(amountIn);
amountOut = _pair$getOutputAmount2[0];
} catch (error) {
// input too low
if (error.isInsufficientInputAmountError) {
continue;
}
throw error;
} // we have arrived at the output token, so this is the final trade of one of the paths
if (amountOut.token.equals(tokenOut)) {
sortedInsert(bestTrades, new Trade(new Route([].concat(currentPairs, [pair]), originalAmountIn.currency, currencyOut), originalAmountIn, TradeType.EXACT_INPUT), maxNumResults, tradeComparator);
} else if (maxHops > 1 && pairs.length > 1) {
var pairsExcludingThisPair = pairs.slice(0, i).concat(pairs.slice(i + 1, pairs.length)); // otherwise, consider all the other paths that lead from this token as long as we have not exceeded maxHops
Trade.bestTradeExactIn(pairsExcludingThisPair, amountOut, currencyOut, {
maxNumResults: maxNumResults,
maxHops: maxHops - 1
}, [].concat(currentPairs, [pair]), originalAmountIn, bestTrades);
}
}
return bestTrades;
}
/**
* similar to the above method but instead targets a fixed output amount
* given a list of pairs, and a fixed amount out, returns the top `maxNumResults` trades that go from an input token
* to an output token amount, making at most `maxHops` hops
* note this does not consider aggregation, as routes are linear. it's possible a better route exists by splitting
* the amount in among multiple routes.
* @param pairs the pairs to consider in finding the best trade
* @param currencyIn the currency to spend
* @param currencyAmountOut the exact amount of currency out
* @param maxNumResults maximum number of results to return
* @param maxHops maximum number of hops a returned trade can make, e.g. 1 hop goes through a single pair
* @param currentPairs used in recursion; the current list of pairs
* @param originalAmountOut used in recursion; the original value of the currencyAmountOut parameter
* @param bestTrades used in recursion; the current list of best trades
*/
;
Trade.bestTradeExactOut = function bestTradeExactOut(pairs, currencyIn, currencyAmountOut, _temp2, // used in recursion.
currentPairs, originalAmountOut, bestTrades) {
var _ref2 = _temp2 === void 0 ? {} : _temp2,
_ref2$maxNumResults = _ref2.maxNumResults,
maxNumResults = _ref2$maxNumResults === void 0 ? 3 : _ref2$maxNumResults,
_ref2$maxHops = _ref2.maxHops,
maxHops = _ref2$maxHops === void 0 ? 3 : _ref2$maxHops;
if (currentPairs === void 0) {
currentPairs = [];
}
if (originalAmountOut === void 0) {
originalAmountOut = currencyAmountOut;
}
if (bestTrades === void 0) {
bestTrades = [];
}
!(pairs.length > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'PAIRS') : invariant(false) : void 0;
!(maxHops > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'MAX_HOPS') : invariant(false) : void 0;
!(originalAmountOut === currencyAmountOut || currentPairs.length > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'INVALID_RECURSION') : invariant(false) : void 0;
var chainId = currencyAmountOut instanceof TokenAmount ? currencyAmountOut.token.chainId : currencyIn instanceof Token ? currencyIn.chainId : undefined;
!(chainId !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, 'CHAIN_ID') : invariant(false) : void 0;
var amountOut = wrappedAmount(currencyAmountOut, chainId);
var tokenIn = wrappedCurrency(currencyIn, chainId);
for (var i = 0; i < pairs.length; i++) {
var pair = pairs[i]; // pair irrelevant
if (!pair.token0.equals(amountOut.token) && !pair.token1.equals(amountOut.token)) continue;
if (pair.reserve0.equalTo(ZERO) || pair.reserve1.equalTo(ZERO)) continue;
var amountIn = void 0;
try {
;
var _pair$getInputAmount2 = pair.getInputAmount(amountOut);
amountIn = _pair$getInputAmount2[0];
} catch (error) {
// not enough liquidity in this pair
if (error.isInsufficientReservesError) {
continue;
}
throw error;
} // we have arrived at the input token, so this is the first trade of one of the paths
if (amountIn.token.equals(tokenIn)) {
sortedInsert(bestTrades, new Trade(new Route([pair].concat(currentPairs), currencyIn, originalAmountOut.currency), originalAmountOut, TradeType.EXACT_OUTPUT), maxNumResults, tradeComparator);
} else if (maxHops > 1 && pairs.length > 1) {
var pairsExcludingThisPair = pairs.slice(0, i).concat(pairs.slice(i + 1, pairs.length)); // otherwise, consider all the other paths that arrive at this token as long as we have not exceeded maxHops
Trade.bestTradeExactOut(pairsExcludingThisPair, currencyIn, amountIn, {
maxNumResults: maxNumResults,
maxHops: maxHops - 1
}, [pair].concat(currentPairs), originalAmountOut, bestTrades);
}
}
return bestTrades;
};
return Trade;
}();
function toHex(currencyAmount) {
return "0x" + currencyAmount.raw.toString(16);
}
var ZERO_HEX = '0x0';
/**
* Represents the Uniswap V2 Router, and has static methods for helping execute trades.
*/
var Router = /*#__PURE__*/function () {
/**
* Cannot be constructed.
*/
function Router() {}
/**
* Produces the on-chain method name to call and the hex encoded parameters to pass as arguments for a given trade.
* @param trade to produce call parameters for
* @param options options for the call parameters
*/
Router.swapCallParameters = function swapCallParameters(trade, options) {
var etherIn = trade.inputAmount.currency === ETHER;
var etherOut = trade.outputAmount.currency === ETHER; // the router does not support both ether in and out
!!(etherIn && etherOut) ? process.env.NODE_ENV !== "production" ? invariant(false, 'ETHER_IN_OUT') : invariant(false) : void 0;
!(!('ttl' in options) || options.ttl > 0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'TTL') : invariant(false) : void 0;
var to = validateAndParseAddress(options.recipient);
var amountIn = toHex(trade.maximumAmountIn(options.allowedSlippage));
var amountOut = toHex(trade.minimumAmountOut(options.allowedSlippage));
var path = trade.route.path.map(function (token) {
return token.address;
});
var deadline = 'ttl' in options ? "0x" + (Math.floor(new Date().getTime() / 1000) + options.ttl).toString(16) : "0x" + options.deadline.toString(16);
var useFeeOnTransfer = Boolean(options.feeOnTransfer);
var methodName;
var args;
var value;
switch (trade.tradeType) {
case TradeType.EXACT_INPUT:
if (etherIn) {
methodName = useFeeOnTransfer ? 'swapExactETHForTokensSupportingFeeOnTransferTokens' : 'swapExactETHForTokens'; // (uint amountOutMin, address[] calldata path, address to, uint deadline)
args = [amountOut, path, to, deadline];
value = amountIn;
} else if (etherOut) {
methodName = useFeeOnTransfer ? 'swapExactTokensForETHSupportingFeeOnTransferTokens' : 'swapExactTokensForETH'; // (uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
args = [amountIn, amountOut, path, to, deadline];
value = ZERO_HEX;
} else {
methodName = useFeeOnTransfer ? 'swapExactTokensForTokensSupportingFeeOnTransferTokens' : 'swapExactTokensForTokens'; // (uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
args = [amountIn, amountOut, path, to, deadline];
value = ZERO_HEX;
}
break;
case TradeType.EXACT_OUTPUT:
!!useFeeOnTransfer ? process.env.NODE_ENV !== "production" ? invariant(false, 'EXACT_OUT_FOT') : invariant(false) : void 0;
if (etherIn) {
methodName = 'swapETHForExactTokens'; // (uint amountOut, address[] calldata path, address to, uint deadline)
args = [amountOut, path, to, deadline];
value = amountIn;
} else if (etherOut) {
methodName = 'swapTokensForExactETH'; // (uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
args = [amountOut, amountIn, path, to, deadline];
value = ZERO_HEX;
} else {
methodName = 'swapTokensForExactTokens'; // (uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
args = [amountOut, amountIn, path, to, deadline];
value = ZERO_HEX;
}
break;
}
return {
methodName: methodName,
args: args,
value: value
};
};
return Router;
}();
var ERC20 = [
{
constant: true,
inputs: [
],
name: "decimals",
outputs: [
{
name: "",
type: "uint8"
}
],
payable: false,
stateMutability: "view",
type: "function"
},
{
constant: true,
inputs: [
{
name: "",
type: "address"
}
],
name: "balanceOf",
outputs: [
{
name: "",
type: "uint256"
}
],
payable: false,
stateMutability: "view",
type: "function"
}
];
var _TOKEN_DECIMALS_CACHE;
var TOKEN_DECIMALS_CACHE = (_TOKEN_DECIMALS_CACHE = {}, _TOKEN_DECIMALS_CACHE[ChainId.MAINNET] = {
'0xE0B7927c4aF23765Cb51314A0E0521A9645F0E2A': 9 // DGD
}, _TOKEN_DECIMALS_CACHE);
/**
* Contains methods for constructing instances of pairs and tokens from on-chain data.
*/
var Fetcher = /*#__PURE__*/function () {
/**
* Cannot be constructed.
*/
function Fetcher() {}
/**
* Fetch information for a given token on the given chain, using the given ethers provider.
* @param chainId chain of the token
* @param address address of the token on the chain
* @param provider provider used to fetch the token
* @param symbol optional symbol of the token
* @param name optional name of the token
*/
Fetcher.fetchTokenData = function fetchTokenData(chainId, address, provider, symbol, name) {
try {
var _TOKEN_DECIMALS_CACHE2, _TOKEN_DECIMALS_CACHE3;
var _temp3 = function _temp3(parsedDecimals) {
return new Token(chainId, address, parsedDecimals, symbol, name);
};
if (provider === undefined) provider = getDefaultProvider(getNetwork(chainId));
var _temp4 = typeof ((_TOKEN_DECIMALS_CACHE2 = TOKEN_DECIMALS_CACHE) === null || _TOKEN_DECIMALS_CACHE2 === void 0 ? void 0 : (_TOKEN_DECIMALS_CACHE3 = _TOKEN_DECIMALS_CACHE2[chainId]) === null || _TOKEN_DECIMALS_CACHE3 === void 0 ? void 0 : _TOKEN_DECIMALS_CACHE3[address]) === 'number';
return Promise.resolve(_temp4 ? _temp3(TOKEN_DECIMALS_CACHE[chainId][address]) : Promise.resolve(new Contract(address, ERC20, provider).decimals().then(function (decimals) {
var _TOKEN_DECIMALS_CACHE4, _extends2, _extends3;
TOKEN_DECIMALS_CACHE = _extends({}, TOKEN_DECIMALS_CACHE, (_extends3 = {}, _extends3[chainId] = _extends({}, (_TOKEN_DECIMALS_CACHE4 = TOKEN_DECIMALS_CACHE) === null || _TOKEN_DECIMALS_CACHE4 === void 0 ? void 0 : _TOKEN_DECIMALS_CACHE4[chainId], (_extends2 = {}, _extends2[address] = decimals, _extends2)), _extends3));
return decimals;
})).then(_temp3));
} catch (e) {
return Promise.reject(e);
}
}
/**
* Fetches information about a pair and constructs a pair from the given two tokens.
* @param tokenA first token
* @param tokenB second token
* @param provider the provider to use to fetch the data
*/
;
Fetcher.fetchPairData = function fetchPairData(tokenA, tokenB, provider) {
try {
if (provider === undefined) provider = getDefaultProvider(getNetwork(tokenA.chainId));
!(tokenA.chainId === tokenB.chainId) ? process.env.NODE_ENV !== "production" ? invariant(false, 'CHAIN_ID') : invariant(false) : void 0;
var address = Pair.getAddress(tokenA, tokenB);
return Promise.resolve(new Contract(address, IUniswapV2Pair.abi, provider).getReserves()).then(function (_ref) {
var reserves0 = _ref[0],
reserves1 = _ref[1];
var balances = tokenA.sortsBefore(tokenB) ? [reserves0, reserves1] : [reserves1, reserves0];
return new Pair(new TokenAmount(tokenA, balances[0]), new TokenAmount(tokenB, balances[1]));
});
} catch (e) {
return Promise.reject(e);
}
};
return Fetcher;
}();
export { ChainId, Currency, CurrencyAmount, ETHER, FACTORY_ADDRESS, Fetcher, Fraction, INIT_CODE_HASH, InsufficientInputAmountError, InsufficientReservesError, MINIMUM_LIQUIDITY, Pair, Percent, Price, Rounding, Route, Router, Token, TokenAmount, Trade, TradeType, WETH, currencyEquals, inputOutputComparator, tradeComparator };
//# sourceMappingURL=uniswap-v2-sdk.esm.js.map
|
'use strict';
var path = require('path');
var write = require('write-json');
var exclude = ['grunt', 'JSONStream', 'jsonstream', 'consolidate', 'dateformat', 'grunt-cli'];
function isValid(repo, stats) {
if (repo.private === true || repo.fork === true) {
return true;
}
if (/grunt-contrib/.test(repo.name)) {
return true;
}
if (exclude.indexOf(repo.name) !== -1) {
return true;
}
return stats.names.indexOf(repo.name) !== -1;
}
|
/**
* Title Drawing Book
* URL https://www.hackerrank.com/challenges/drawing-book
*
* Author Norman Gamage <norman.gamage@gmail.com>
* Version 1.0
* Last Update 2017 May 15
*/
function solve(n, p) {
const front = Math.floor(p / 2);
const back = Math.floor(n / 2) - front;
return Math.min(front, back);
}
|
// requires local modules: websock, util
// requires test modules: fake.websocket, assertions
/* jshint expr: true */
var assert = chai.assert;
var expect = chai.expect;
describe('Websock', function() {
"use strict";
describe('Queue methods', function () {
var sock;
var RQ_TEMPLATE = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7]);
beforeEach(function () {
sock = new Websock();
// skip init
sock._allocate_buffers();
sock._rQ.set(RQ_TEMPLATE);
sock._rQlen = RQ_TEMPLATE.length;
});
describe('rQlen', function () {
it('should return the length of the receive queue', function () {
sock.set_rQi(0);
expect(sock.rQlen()).to.equal(RQ_TEMPLATE.length);
});
it("should return the proper length if we read some from the receive queue", function () {
sock.set_rQi(1);
expect(sock.rQlen()).to.equal(RQ_TEMPLATE.length - 1);
});
});
describe('rQpeek8', function () {
it('should peek at the next byte without poping it off the queue', function () {
var bef_len = sock.rQlen();
var peek = sock.rQpeek8();
expect(sock.rQpeek8()).to.equal(peek);
expect(sock.rQlen()).to.equal(bef_len);
});
});
describe('rQshift8', function () {
it('should pop a single byte from the receive queue', function () {
var peek = sock.rQpeek8();
var bef_len = sock.rQlen();
expect(sock.rQshift8()).to.equal(peek);
expect(sock.rQlen()).to.equal(bef_len - 1);
});
});
describe('rQshift16', function () {
it('should pop two bytes from the receive queue and return a single number', function () {
var bef_len = sock.rQlen();
var expected = (RQ_TEMPLATE[0] << 8) + RQ_TEMPLATE[1];
expect(sock.rQshift16()).to.equal(expected);
expect(sock.rQlen()).to.equal(bef_len - 2);
});
});
describe('rQshift32', function () {
it('should pop four bytes from the receive queue and return a single number', function () {
var bef_len = sock.rQlen();
var expected = (RQ_TEMPLATE[0] << 24) +
(RQ_TEMPLATE[1] << 16) +
(RQ_TEMPLATE[2] << 8) +
RQ_TEMPLATE[3];
expect(sock.rQshift32()).to.equal(expected);
expect(sock.rQlen()).to.equal(bef_len - 4);
});
});
describe('rQshiftStr', function () {
it('should shift the given number of bytes off of the receive queue and return a string', function () {
var bef_len = sock.rQlen();
var bef_rQi = sock.get_rQi();
var shifted = sock.rQshiftStr(3);
expect(shifted).to.be.a('string');
expect(shifted).to.equal(String.fromCharCode.apply(null, Array.prototype.slice.call(new Uint8Array(RQ_TEMPLATE.buffer, bef_rQi, 3))));
expect(sock.rQlen()).to.equal(bef_len - 3);
});
it('should shift the entire rest of the queue off if no length is given', function () {
sock.rQshiftStr();
expect(sock.rQlen()).to.equal(0);
});
});
describe('rQshiftBytes', function () {
it('should shift the given number of bytes of the receive queue and return an array', function () {
var bef_len = sock.rQlen();
var bef_rQi = sock.get_rQi();
var shifted = sock.rQshiftBytes(3);
expect(shifted).to.be.an.instanceof(Uint8Array);
expect(shifted).to.array.equal(new Uint8Array(RQ_TEMPLATE.buffer, bef_rQi, 3));
expect(sock.rQlen()).to.equal(bef_len - 3);
});
it('should shift the entire rest of the queue off if no length is given', function () {
sock.rQshiftBytes();
expect(sock.rQlen()).to.equal(0);
});
});
describe('rQslice', function () {
beforeEach(function () {
sock.set_rQi(0);
});
it('should not modify the receive queue', function () {
var bef_len = sock.rQlen();
sock.rQslice(0, 2);
expect(sock.rQlen()).to.equal(bef_len);
});
it('should return an array containing the given slice of the receive queue', function () {
var sl = sock.rQslice(0, 2);
expect(sl).to.be.an.instanceof(Uint8Array);
expect(sl).to.array.equal(new Uint8Array(RQ_TEMPLATE.buffer, 0, 2));
});
it('should use the rest of the receive queue if no end is given', function () {
var sl = sock.rQslice(1);
expect(sl).to.have.length(RQ_TEMPLATE.length - 1);
expect(sl).to.array.equal(new Uint8Array(RQ_TEMPLATE.buffer, 1));
});
it('should take the current rQi in to account', function () {
sock.set_rQi(1);
expect(sock.rQslice(0, 2)).to.array.equal(new Uint8Array(RQ_TEMPLATE.buffer, 1, 2));
});
});
describe('rQwait', function () {
beforeEach(function () {
sock.set_rQi(0);
});
it('should return true if there are not enough bytes in the receive queue', function () {
expect(sock.rQwait('hi', RQ_TEMPLATE.length + 1)).to.be.true;
});
it('should return false if there are enough bytes in the receive queue', function () {
expect(sock.rQwait('hi', RQ_TEMPLATE.length)).to.be.false;
});
it('should return true and reduce rQi by "goback" if there are not enough bytes', function () {
sock.set_rQi(5);
expect(sock.rQwait('hi', RQ_TEMPLATE.length, 4)).to.be.true;
expect(sock.get_rQi()).to.equal(1);
});
it('should raise an error if we try to go back more than possible', function () {
sock.set_rQi(5);
expect(function () { sock.rQwait('hi', RQ_TEMPLATE.length, 6); }).to.throw(Error);
});
it('should not reduce rQi if there are enough bytes', function () {
sock.set_rQi(5);
sock.rQwait('hi', 1, 6);
expect(sock.get_rQi()).to.equal(5);
});
});
describe('flush', function () {
beforeEach(function () {
sock._websocket = {
send: sinon.spy()
};
});
it('should actually send on the websocket if the websocket does not have too much buffered', function () {
sock.maxBufferedAmount = 10;
sock._websocket.bufferedAmount = 8;
sock._websocket.readyState = WebSocket.OPEN
sock._sQ = new Uint8Array([1, 2, 3]);
sock._sQlen = 3;
var encoded = sock._encode_message();
sock.flush();
expect(sock._websocket.send).to.have.been.calledOnce;
expect(sock._websocket.send).to.have.been.calledWith(encoded);
});
it('should return true if the websocket did not have too much buffered', function () {
sock.maxBufferedAmount = 10;
sock._websocket.bufferedAmount = 8;
expect(sock.flush()).to.be.true;
});
it('should not call send if we do not have anything queued up', function () {
sock._sQlen = 0;
sock.maxBufferedAmount = 10;
sock._websocket.bufferedAmount = 8;
sock.flush();
expect(sock._websocket.send).not.to.have.been.called;
});
it('should not send and return false if the websocket has too much buffered', function () {
sock.maxBufferedAmount = 10;
sock._websocket.bufferedAmount = 12;
expect(sock.flush()).to.be.false;
expect(sock._websocket.send).to.not.have.been.called;
});
});
describe('send', function () {
beforeEach(function () {
sock.flush = sinon.spy();
});
it('should add to the send queue', function () {
sock.send([1, 2, 3]);
var sq = sock.get_sQ();
expect(new Uint8Array(sq.buffer, sock._sQlen - 3, 3)).to.array.equal(new Uint8Array([1, 2, 3]));
});
it('should call flush', function () {
sock.send([1, 2, 3]);
expect(sock.flush).to.have.been.calledOnce;
});
});
describe('send_string', function () {
beforeEach(function () {
sock.send = sinon.spy();
});
it('should call send after converting the string to an array', function () {
sock.send_string("\x01\x02\x03");
expect(sock.send).to.have.been.calledWith([1, 2, 3]);
});
});
});
describe('lifecycle methods', function () {
var old_WS;
before(function () {
old_WS = WebSocket;
});
var sock;
beforeEach(function () {
sock = new Websock();
WebSocket = sinon.spy();
WebSocket.OPEN = old_WS.OPEN;
WebSocket.CONNECTING = old_WS.CONNECTING;
WebSocket.CLOSING = old_WS.CLOSING;
WebSocket.CLOSED = old_WS.CLOSED;
WebSocket.prototype.binaryType = 'arraybuffer';
});
describe('opening', function () {
it('should pick the correct protocols if none are given' , function () {
});
it('should open the actual websocket', function () {
sock.open('ws://localhost:8675', 'binary');
expect(WebSocket).to.have.been.calledWith('ws://localhost:8675', 'binary');
});
it('should fail if we specify a protocol besides binary', function () {
expect(function () { sock.open('ws:///', 'base64'); }).to.throw(Error);
});
// it('should initialize the event handlers')?
});
describe('closing', function () {
beforeEach(function () {
sock.open('ws://');
sock._websocket.close = sinon.spy();
});
it('should close the actual websocket if it is open', function () {
sock._websocket.readyState = WebSocket.OPEN;
sock.close();
expect(sock._websocket.close).to.have.been.calledOnce;
});
it('should close the actual websocket if it is connecting', function () {
sock._websocket.readyState = WebSocket.CONNECTING;
sock.close();
expect(sock._websocket.close).to.have.been.calledOnce;
});
it('should not try to close the actual websocket if closing', function () {
sock._websocket.readyState = WebSocket.CLOSING;
sock.close();
expect(sock._websocket.close).not.to.have.been.called;
});
it('should not try to close the actual websocket if closed', function () {
sock._websocket.readyState = WebSocket.CLOSED;
sock.close();
expect(sock._websocket.close).not.to.have.been.called;
});
it('should reset onmessage to not call _recv_message', function () {
sinon.spy(sock, '_recv_message');
sock.close();
sock._websocket.onmessage(null);
try {
expect(sock._recv_message).not.to.have.been.called;
} finally {
sock._recv_message.restore();
}
});
});
describe('event handlers', function () {
beforeEach(function () {
sock._recv_message = sinon.spy();
sock.on('open', sinon.spy());
sock.on('close', sinon.spy());
sock.on('error', sinon.spy());
sock.open('ws://');
});
it('should call _recv_message on a message', function () {
sock._websocket.onmessage(null);
expect(sock._recv_message).to.have.been.calledOnce;
});
it('should fail if a protocol besides binary is requested', function () {
sock._websocket.protocol = 'base64';
expect(sock._websocket.onopen).to.throw(Error);
});
it('should assume binary if no protocol was available on opening', function () {
sock._websocket.protocol = null;
sock._websocket.onopen();
expect(sock._mode).to.equal('binary');
});
it('should call the open event handler on opening', function () {
sock._websocket.onopen();
expect(sock._eventHandlers.open).to.have.been.calledOnce;
});
it('should call the close event handler on closing', function () {
sock._websocket.onclose();
expect(sock._eventHandlers.close).to.have.been.calledOnce;
});
it('should call the error event handler on error', function () {
sock._websocket.onerror();
expect(sock._eventHandlers.error).to.have.been.calledOnce;
});
});
after(function () {
WebSocket = old_WS;
});
});
describe('WebSocket Receiving', function () {
var sock;
beforeEach(function () {
sock = new Websock();
sock._allocate_buffers();
});
it('should support adding binary Uint8Array data to the receive queue', function () {
var msg = { data: new Uint8Array([1, 2, 3]) };
sock._mode = 'binary';
sock._recv_message(msg);
expect(sock.rQshiftStr(3)).to.equal('\x01\x02\x03');
});
it('should call the message event handler if present', function () {
sock._eventHandlers.message = sinon.spy();
var msg = { data: new Uint8Array([1, 2, 3]).buffer };
sock._mode = 'binary';
sock._recv_message(msg);
expect(sock._eventHandlers.message).to.have.been.calledOnce;
});
it('should not call the message event handler if there is nothing in the receive queue', function () {
sock._eventHandlers.message = sinon.spy();
var msg = { data: new Uint8Array([]).buffer };
sock._mode = 'binary';
sock._recv_message(msg);
expect(sock._eventHandlers.message).not.to.have.been.called;
});
it('should compact the receive queue', function () {
// NB(sross): while this is an internal implementation detail, it's important to
// test, otherwise the receive queue could become very large very quickly
sock._rQ = new Uint8Array([0, 1, 2, 3, 4, 5, 0, 0, 0, 0]);
sock._rQlen = 6;
sock.set_rQi(6);
sock._rQmax = 3;
var msg = { data: new Uint8Array([1, 2, 3]).buffer };
sock._mode = 'binary';
sock._recv_message(msg);
expect(sock._rQlen).to.equal(3);
expect(sock.get_rQi()).to.equal(0);
});
it('should automatically resize the receive queue if the incoming message is too large', function () {
sock._rQ = new Uint8Array(20);
sock._rQlen = 0;
sock.set_rQi(0);
sock._rQbufferSize = 20;
sock._rQmax = 2;
var msg = { data: new Uint8Array(30).buffer };
sock._mode = 'binary';
sock._recv_message(msg);
expect(sock._rQlen).to.equal(30);
expect(sock.get_rQi()).to.equal(0);
expect(sock._rQ.length).to.equal(240); // keep the invariant that rQbufferSize / 8 >= rQlen
});
it('should call the error event handler on an exception', function () {
sock._eventHandlers.error = sinon.spy();
sock._eventHandlers.message = sinon.stub().throws();
var msg = { data: new Uint8Array([1, 2, 3]).buffer };
sock._mode = 'binary';
sock._recv_message(msg);
expect(sock._eventHandlers.error).to.have.been.calledOnce;
});
});
describe('Data encoding', function () {
before(function () { FakeWebSocket.replace(); });
after(function () { FakeWebSocket.restore(); });
describe('as binary data', function () {
var sock;
beforeEach(function () {
sock = new Websock();
sock.open('ws://', 'binary');
sock._websocket._open();
});
it('should only send the send queue up to the send queue length', function () {
sock._sQ = new Uint8Array([1, 2, 3, 4, 5]);
sock._sQlen = 3;
var res = sock._encode_message();
expect(res).to.array.equal(new Uint8Array([1, 2, 3]));
});
it('should properly pass the encoded data off to the actual WebSocket', function () {
sock.send([1, 2, 3]);
expect(sock._websocket._get_sent_data()).to.array.equal(new Uint8Array([1, 2, 3]));
});
});
});
});
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module node-opcua-certificate-manager
*/
// tslint:disable:no-empty
const chalk_1 = require("chalk");
const fs = require("fs");
const mkdirp = require("mkdirp");
const env_paths_1 = require("env-paths");
const node_opcua_debug_1 = require("node-opcua-debug");
const node_opcua_status_code_1 = require("node-opcua-status-code");
const node_opcua_crypto_1 = require("node-opcua-crypto");
const node_opcua_pki_1 = require("node-opcua-pki");
const paths = env_paths_1.default("node-opcua");
const debugLog = node_opcua_debug_1.make_debugLog(__filename);
const errorLog = node_opcua_debug_1.make_errorLog(__filename);
const doDebug = node_opcua_debug_1.checkDebugFlag(__filename);
class OPCUACertificateManager extends node_opcua_pki_1.CertificateManager {
/* */
constructor(options) {
options = options || {};
const location = options.rootFolder || paths.config;
if (!fs.existsSync(location)) {
mkdirp.sync(location);
}
const _options = {
keySize: 2048,
location
};
super(_options);
this.automaticallyAcceptUnknownCertificate = !!options.automaticallyAcceptUnknownCertificate;
}
checkCertificate(certificate, callback) {
const checkCertificateStep2 = (err) => {
if (err) {
return callback(err, node_opcua_status_code_1.StatusCodes.BadInternalError);
}
super.verifyCertificate(certificate, (err1, status) => {
if (err1) {
return callback(err1);
}
const statusCode = node_opcua_status_code_1.StatusCodes[status];
if (!statusCode) {
return callback(new Error("Invalid statusCode " + status));
}
callback(null, statusCode);
});
};
this._getCertificateStatus(certificate, (err, status0) => {
if (err) {
return callback(err);
}
if (status0 === "unknown") {
const thumbprint = node_opcua_crypto_1.makeSHA1Thumbprint(certificate).toString("hex");
// certificate has not bee seen before
errorLog("Certificate with thumbprint " + thumbprint + "has not been seen before");
if (this.automaticallyAcceptUnknownCertificate) {
errorLog("automaticallyAcceptUnknownCertificate = true");
errorLog("certificate with thumbprint " + thumbprint + " is now trusted");
this.trustCertificate(certificate, checkCertificateStep2);
}
else {
errorLog("automaticallyAcceptUnknownCertificate = false");
errorLog("certificate with thumbprint " + thumbprint + " is now rejected");
this.rejectCertificate(certificate, checkCertificateStep2);
}
}
else {
checkCertificateStep2(null);
}
});
}
getTrustStatus(certificate, callback) {
this.isCertificateTrusted(certificate, (err, trustedStatus) => {
callback(err, err ? undefined : node_opcua_status_code_1.StatusCodes[trustedStatus]);
});
}
}
exports.OPCUACertificateManager = OPCUACertificateManager;
// tslint:disable:no-var-requires
// tslint:disable:max-line-length
const thenify = require("thenify");
const opts = { multiArgs: false };
OPCUACertificateManager.prototype.checkCertificate =
thenify.withCallback(OPCUACertificateManager.prototype.checkCertificate, opts);
OPCUACertificateManager.prototype.getTrustStatus =
thenify.withCallback(OPCUACertificateManager.prototype.getTrustStatus, opts);
// also see OPCUA 1.02 part 4 :
// - page 95 6.1.3 Determining if a Certificate is Trusted
// - page 100 6.2.3 Validating a Software Certificate
//
function checkCertificateValidity(certificate) {
// Is the signature on the SoftwareCertificate valid .?
if (!certificate) {
// missing certificate
return node_opcua_status_code_1.StatusCodes.BadSecurityChecksFailed;
}
// Has SoftwareCertificate passed its issue date and has it not expired ?
// check dates
const cert = node_opcua_crypto_1.exploreCertificateInfo(certificate);
const now = new Date();
if (cert.notBefore.getTime() > now.getTime()) {
// certificate is not active yet
// tslint:disable-next-line:no-console
console.log(chalk_1.default.red(" Sender certificate is invalid : certificate is not active yet !") +
" not before date =" + cert.notBefore);
return node_opcua_status_code_1.StatusCodes.BadCertificateTimeInvalid;
}
if (cert.notAfter.getTime() <= now.getTime()) {
// certificate is obsolete
// tslint:disable-next-line:no-console
console.log(chalk_1.default.red(" Sender certificate is invalid : certificate has expired !") +
" not after date =" + cert.notAfter);
return node_opcua_status_code_1.StatusCodes.BadCertificateTimeInvalid;
}
// Has SoftwareCertificate has been revoked by the issuer ?
// TODO: check if certificate is revoked or not ...
// StatusCodes.BadCertificateRevoked
// is issuer Certificate valid and has not been revoked by the CA that issued it. ?
// TODO : check validity of issuer certificate
// StatusCodes.BadCertificateIssuerRevoked
// does the URI specified in the ApplicationDescription match the URI in the Certificate ?
// TODO : check ApplicationDescription of issuer certificate
// return StatusCodes.BadCertificateUriInvalid
return node_opcua_status_code_1.StatusCodes.Good;
}
exports.checkCertificateValidity = checkCertificateValidity;
//# sourceMappingURL=certificate_manager.js.map
|
/*!
* Chart.js
* http://chartjs.org/
* Version: 2.4.0
*
* Copyright 2016 Nick Downie
* Released under the MIT license
* https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
*/
(function (f) {
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = f()
} else if (typeof define === "function" && define.amd) {
define([], f)
} else {
var g;
if (typeof window !== "undefined") {
g = window
} else if (typeof global !== "undefined") {
g = global
} else if (typeof self !== "undefined") {
g = self
} else {
g = this
}
g.Chart = f()
}
})(function () {
var define, module, exports;
return (function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var a = typeof require == "function" && require;
if (!u && a)return a(o, !0);
if (i)return i(o, !0);
var f = new Error("Cannot find module '" + o + "'");
throw f.code = "MODULE_NOT_FOUND", f
}
var l = n[o] = {exports: {}};
t[o][0].call(l.exports, function (e) {
var n = t[o][1][e];
return s(n ? n : e)
}, l, l.exports, e, t, n, r)
}
return n[o].exports
}
var i = typeof require == "function" && require;
for (var o = 0; o < r.length; o++)s(r[o]);
return s
})({
1: [function (require, module, exports) {
}, {}], 2: [function (require, module, exports) {
/* MIT license */
var colorNames = require(6);
module.exports = {
getRgba: getRgba,
getHsla: getHsla,
getRgb: getRgb,
getHsl: getHsl,
getHwb: getHwb,
getAlpha: getAlpha,
hexString: hexString,
rgbString: rgbString,
rgbaString: rgbaString,
percentString: percentString,
percentaString: percentaString,
hslString: hslString,
hslaString: hslaString,
hwbString: hwbString,
keyword: keyword
}
function getRgba(string) {
if (!string) {
return;
}
var abbr = /^#([a-fA-F0-9]{3})$/,
hex = /^#([a-fA-F0-9]{6})$/,
rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,
per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,
keyword = /(\w+)/;
var rgb = [0, 0, 0],
a = 1,
match = string.match(abbr);
if (match) {
match = match[1];
for (var i = 0; i < rgb.length; i++) {
rgb[i] = parseInt(match[i] + match[i], 16);
}
}
else if (match = string.match(hex)) {
match = match[1];
for (var i = 0; i < rgb.length; i++) {
rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);
}
}
else if (match = string.match(rgba)) {
for (var i = 0; i < rgb.length; i++) {
rgb[i] = parseInt(match[i + 1]);
}
a = parseFloat(match[4]);
}
else if (match = string.match(per)) {
for (var i = 0; i < rgb.length; i++) {
rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
}
a = parseFloat(match[4]);
}
else if (match = string.match(keyword)) {
if (match[1] == "transparent") {
return [0, 0, 0, 0];
}
rgb = colorNames[match[1]];
if (!rgb) {
return;
}
}
for (var i = 0; i < rgb.length; i++) {
rgb[i] = scale(rgb[i], 0, 255);
}
if (!a && a != 0) {
a = 1;
}
else {
a = scale(a, 0, 1);
}
rgb[3] = a;
return rgb;
}
function getHsla(string) {
if (!string) {
return;
}
var hsl = /^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/;
var match = string.match(hsl);
if (match) {
var alpha = parseFloat(match[4]);
var h = scale(parseInt(match[1]), 0, 360),
s = scale(parseFloat(match[2]), 0, 100),
l = scale(parseFloat(match[3]), 0, 100),
a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);
return [h, s, l, a];
}
}
function getHwb(string) {
if (!string) {
return;
}
var hwb = /^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/;
var match = string.match(hwb);
if (match) {
var alpha = parseFloat(match[4]);
var h = scale(parseInt(match[1]), 0, 360),
w = scale(parseFloat(match[2]), 0, 100),
b = scale(parseFloat(match[3]), 0, 100),
a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);
return [h, w, b, a];
}
}
function getRgb(string) {
var rgba = getRgba(string);
return rgba && rgba.slice(0, 3);
}
function getHsl(string) {
var hsla = getHsla(string);
return hsla && hsla.slice(0, 3);
}
function getAlpha(string) {
var vals = getRgba(string);
if (vals) {
return vals[3];
}
else if (vals = getHsla(string)) {
return vals[3];
}
else if (vals = getHwb(string)) {
return vals[3];
}
}
// generators
function hexString(rgb) {
return "#" + hexDouble(rgb[0]) + hexDouble(rgb[1])
+ hexDouble(rgb[2]);
}
function rgbString(rgba, alpha) {
if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {
return rgbaString(rgba, alpha);
}
return "rgb(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2] + ")";
}
function rgbaString(rgba, alpha) {
if (alpha === undefined) {
alpha = (rgba[3] !== undefined ? rgba[3] : 1);
}
return "rgba(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2]
+ ", " + alpha + ")";
}
function percentString(rgba, alpha) {
if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {
return percentaString(rgba, alpha);
}
var r = Math.round(rgba[0] / 255 * 100),
g = Math.round(rgba[1] / 255 * 100),
b = Math.round(rgba[2] / 255 * 100);
return "rgb(" + r + "%, " + g + "%, " + b + "%)";
}
function percentaString(rgba, alpha) {
var r = Math.round(rgba[0] / 255 * 100),
g = Math.round(rgba[1] / 255 * 100),
b = Math.round(rgba[2] / 255 * 100);
return "rgba(" + r + "%, " + g + "%, " + b + "%, " + (alpha || rgba[3] || 1) + ")";
}
function hslString(hsla, alpha) {
if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {
return hslaString(hsla, alpha);
}
return "hsl(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%)";
}
function hslaString(hsla, alpha) {
if (alpha === undefined) {
alpha = (hsla[3] !== undefined ? hsla[3] : 1);
}
return "hsla(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%, "
+ alpha + ")";
}
// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax
// (hwb have alpha optional & 1 is default value)
function hwbString(hwb, alpha) {
if (alpha === undefined) {
alpha = (hwb[3] !== undefined ? hwb[3] : 1);
}
return "hwb(" + hwb[0] + ", " + hwb[1] + "%, " + hwb[2] + "%"
+ (alpha !== undefined && alpha !== 1 ? ", " + alpha : "") + ")";
}
function keyword(rgb) {
return reverseNames[rgb.slice(0, 3)];
}
// helpers
function scale(num, min, max) {
return Math.min(Math.max(min, num), max);
}
function hexDouble(num) {
var str = num.toString(16).toUpperCase();
return (str.length < 2) ? "0" + str : str;
}
//create a list of reverse color names
var reverseNames = {};
for (var name in colorNames) {
reverseNames[colorNames[name]] = name;
}
}, {"6": 6}], 3: [function (require, module, exports) {
/* MIT license */
var convert = require(5);
var string = require(2);
var Color = function (obj) {
if (obj instanceof Color) {
return obj;
}
if (!(this instanceof Color)) {
return new Color(obj);
}
this.values = {
rgb: [0, 0, 0],
hsl: [0, 0, 0],
hsv: [0, 0, 0],
hwb: [0, 0, 0],
cmyk: [0, 0, 0, 0],
alpha: 1
};
// parse Color() argument
var vals;
if (typeof obj === 'string') {
vals = string.getRgba(obj);
if (vals) {
this.setValues('rgb', vals);
} else if (vals = string.getHsla(obj)) {
this.setValues('hsl', vals);
} else if (vals = string.getHwb(obj)) {
this.setValues('hwb', vals);
} else {
throw new Error('Unable to parse color from string "' + obj + '"');
}
} else if (typeof obj === 'object') {
vals = obj;
if (vals.r !== undefined || vals.red !== undefined) {
this.setValues('rgb', vals);
} else if (vals.l !== undefined || vals.lightness !== undefined) {
this.setValues('hsl', vals);
} else if (vals.v !== undefined || vals.value !== undefined) {
this.setValues('hsv', vals);
} else if (vals.w !== undefined || vals.whiteness !== undefined) {
this.setValues('hwb', vals);
} else if (vals.c !== undefined || vals.cyan !== undefined) {
this.setValues('cmyk', vals);
} else {
throw new Error('Unable to parse color from object ' + JSON.stringify(obj));
}
}
};
Color.prototype = {
rgb: function () {
return this.setSpace('rgb', arguments);
},
hsl: function () {
return this.setSpace('hsl', arguments);
},
hsv: function () {
return this.setSpace('hsv', arguments);
},
hwb: function () {
return this.setSpace('hwb', arguments);
},
cmyk: function () {
return this.setSpace('cmyk', arguments);
},
rgbArray: function () {
return this.values.rgb;
},
hslArray: function () {
return this.values.hsl;
},
hsvArray: function () {
return this.values.hsv;
},
hwbArray: function () {
var values = this.values;
if (values.alpha !== 1) {
return values.hwb.concat([values.alpha]);
}
return values.hwb;
},
cmykArray: function () {
return this.values.cmyk;
},
rgbaArray: function () {
var values = this.values;
return values.rgb.concat([values.alpha]);
},
hslaArray: function () {
var values = this.values;
return values.hsl.concat([values.alpha]);
},
alpha: function (val) {
if (val === undefined) {
return this.values.alpha;
}
this.setValues('alpha', val);
return this;
},
red: function (val) {
return this.setChannel('rgb', 0, val);
},
green: function (val) {
return this.setChannel('rgb', 1, val);
},
blue: function (val) {
return this.setChannel('rgb', 2, val);
},
hue: function (val) {
if (val) {
val %= 360;
val = val < 0 ? 360 + val : val;
}
return this.setChannel('hsl', 0, val);
},
saturation: function (val) {
return this.setChannel('hsl', 1, val);
},
lightness: function (val) {
return this.setChannel('hsl', 2, val);
},
saturationv: function (val) {
return this.setChannel('hsv', 1, val);
},
whiteness: function (val) {
return this.setChannel('hwb', 1, val);
},
blackness: function (val) {
return this.setChannel('hwb', 2, val);
},
value: function (val) {
return this.setChannel('hsv', 2, val);
},
cyan: function (val) {
return this.setChannel('cmyk', 0, val);
},
magenta: function (val) {
return this.setChannel('cmyk', 1, val);
},
yellow: function (val) {
return this.setChannel('cmyk', 2, val);
},
black: function (val) {
return this.setChannel('cmyk', 3, val);
},
hexString: function () {
return string.hexString(this.values.rgb);
},
rgbString: function () {
return string.rgbString(this.values.rgb, this.values.alpha);
},
rgbaString: function () {
return string.rgbaString(this.values.rgb, this.values.alpha);
},
percentString: function () {
return string.percentString(this.values.rgb, this.values.alpha);
},
hslString: function () {
return string.hslString(this.values.hsl, this.values.alpha);
},
hslaString: function () {
return string.hslaString(this.values.hsl, this.values.alpha);
},
hwbString: function () {
return string.hwbString(this.values.hwb, this.values.alpha);
},
keyword: function () {
return string.keyword(this.values.rgb, this.values.alpha);
},
rgbNumber: function () {
var rgb = this.values.rgb;
return (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];
},
luminosity: function () {
// http://www.w3.org/TR/WCAG20/#relativeluminancedef
var rgb = this.values.rgb;
var lum = [];
for (var i = 0; i < rgb.length; i++) {
var chan = rgb[i] / 255;
lum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);
}
return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
},
contrast: function (color2) {
// http://www.w3.org/TR/WCAG20/#contrast-ratiodef
var lum1 = this.luminosity();
var lum2 = color2.luminosity();
if (lum1 > lum2) {
return (lum1 + 0.05) / (lum2 + 0.05);
}
return (lum2 + 0.05) / (lum1 + 0.05);
},
level: function (color2) {
var contrastRatio = this.contrast(color2);
if (contrastRatio >= 7.1) {
return 'AAA';
}
return (contrastRatio >= 4.5) ? 'AA' : '';
},
dark: function () {
// YIQ equation from http://24ways.org/2010/calculating-color-contrast
var rgb = this.values.rgb;
var yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;
return yiq < 128;
},
light: function () {
return !this.dark();
},
negate: function () {
var rgb = [];
for (var i = 0; i < 3; i++) {
rgb[i] = 255 - this.values.rgb[i];
}
this.setValues('rgb', rgb);
return this;
},
lighten: function (ratio) {
var hsl = this.values.hsl;
hsl[2] += hsl[2] * ratio;
this.setValues('hsl', hsl);
return this;
},
darken: function (ratio) {
var hsl = this.values.hsl;
hsl[2] -= hsl[2] * ratio;
this.setValues('hsl', hsl);
return this;
},
saturate: function (ratio) {
var hsl = this.values.hsl;
hsl[1] += hsl[1] * ratio;
this.setValues('hsl', hsl);
return this;
},
desaturate: function (ratio) {
var hsl = this.values.hsl;
hsl[1] -= hsl[1] * ratio;
this.setValues('hsl', hsl);
return this;
},
whiten: function (ratio) {
var hwb = this.values.hwb;
hwb[1] += hwb[1] * ratio;
this.setValues('hwb', hwb);
return this;
},
blacken: function (ratio) {
var hwb = this.values.hwb;
hwb[2] += hwb[2] * ratio;
this.setValues('hwb', hwb);
return this;
},
greyscale: function () {
var rgb = this.values.rgb;
// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale
var val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;
this.setValues('rgb', [val, val, val]);
return this;
},
clearer: function (ratio) {
var alpha = this.values.alpha;
this.setValues('alpha', alpha - (alpha * ratio));
return this;
},
opaquer: function (ratio) {
var alpha = this.values.alpha;
this.setValues('alpha', alpha + (alpha * ratio));
return this;
},
rotate: function (degrees) {
var hsl = this.values.hsl;
var hue = (hsl[0] + degrees) % 360;
hsl[0] = hue < 0 ? 360 + hue : hue;
this.setValues('hsl', hsl);
return this;
},
/**
* Ported from sass implementation in C
* https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
*/
mix: function (mixinColor, weight) {
var color1 = this;
var color2 = mixinColor;
var p = weight === undefined ? 0.5 : weight;
var w = 2 * p - 1;
var a = color1.alpha() - color2.alpha();
var w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;
var w2 = 1 - w1;
return this
.rgb(
w1 * color1.red() + w2 * color2.red(),
w1 * color1.green() + w2 * color2.green(),
w1 * color1.blue() + w2 * color2.blue()
)
.alpha(color1.alpha() * p + color2.alpha() * (1 - p));
},
toJSON: function () {
return this.rgb();
},
clone: function () {
// NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,
// making the final build way to big to embed in Chart.js. So let's do it manually,
// assuming that values to clone are 1 dimension arrays containing only numbers,
// except 'alpha' which is a number.
var result = new Color();
var source = this.values;
var target = result.values;
var value, type;
for (var prop in source) {
if (source.hasOwnProperty(prop)) {
value = source[prop];
type = ({}).toString.call(value);
if (type === '[object Array]') {
target[prop] = value.slice(0);
} else if (type === '[object Number]') {
target[prop] = value;
} else {
console.error('unexpected color value:', value);
}
}
}
return result;
}
};
Color.prototype.spaces = {
rgb: ['red', 'green', 'blue'],
hsl: ['hue', 'saturation', 'lightness'],
hsv: ['hue', 'saturation', 'value'],
hwb: ['hue', 'whiteness', 'blackness'],
cmyk: ['cyan', 'magenta', 'yellow', 'black']
};
Color.prototype.maxes = {
rgb: [255, 255, 255],
hsl: [360, 100, 100],
hsv: [360, 100, 100],
hwb: [360, 100, 100],
cmyk: [100, 100, 100, 100]
};
Color.prototype.getValues = function (space) {
var values = this.values;
var vals = {};
for (var i = 0; i < space.length; i++) {
vals[space.charAt(i)] = values[space][i];
}
if (values.alpha !== 1) {
vals.a = values.alpha;
}
// {r: 255, g: 255, b: 255, a: 0.4}
return vals;
};
Color.prototype.setValues = function (space, vals) {
var values = this.values;
var spaces = this.spaces;
var maxes = this.maxes;
var alpha = 1;
var i;
if (space === 'alpha') {
alpha = vals;
} else if (vals.length) {
// [10, 10, 10]
values[space] = vals.slice(0, space.length);
alpha = vals[space.length];
} else if (vals[space.charAt(0)] !== undefined) {
// {r: 10, g: 10, b: 10}
for (i = 0; i < space.length; i++) {
values[space][i] = vals[space.charAt(i)];
}
alpha = vals.a;
} else if (vals[spaces[space][0]] !== undefined) {
// {red: 10, green: 10, blue: 10}
var chans = spaces[space];
for (i = 0; i < space.length; i++) {
values[space][i] = vals[chans[i]];
}
alpha = vals.alpha;
}
values.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha)));
if (space === 'alpha') {
return false;
}
var capped;
// cap values of the space prior converting all values
for (i = 0; i < space.length; i++) {
capped = Math.max(0, Math.min(maxes[space][i], values[space][i]));
values[space][i] = Math.round(capped);
}
// convert to all the other color spaces
for (var sname in spaces) {
if (sname !== space) {
values[sname] = convert[space][sname](values[space]);
}
}
return true;
};
Color.prototype.setSpace = function (space, args) {
var vals = args[0];
if (vals === undefined) {
// color.rgb()
return this.getValues(space);
}
// color.rgb(10, 10, 10)
if (typeof vals === 'number') {
vals = Array.prototype.slice.call(args);
}
this.setValues(space, vals);
return this;
};
Color.prototype.setChannel = function (space, index, val) {
var svalues = this.values[space];
if (val === undefined) {
// color.red()
return svalues[index];
} else if (val === svalues[index]) {
// color.red(color.red())
return this;
}
// color.red(100)
svalues[index] = val;
this.setValues(space, svalues);
return this;
};
if (typeof window !== 'undefined') {
window.Color = Color;
}
module.exports = Color;
}, {"2": 2, "5": 5}], 4: [function (require, module, exports) {
/* MIT license */
module.exports = {
rgb2hsl: rgb2hsl,
rgb2hsv: rgb2hsv,
rgb2hwb: rgb2hwb,
rgb2cmyk: rgb2cmyk,
rgb2keyword: rgb2keyword,
rgb2xyz: rgb2xyz,
rgb2lab: rgb2lab,
rgb2lch: rgb2lch,
hsl2rgb: hsl2rgb,
hsl2hsv: hsl2hsv,
hsl2hwb: hsl2hwb,
hsl2cmyk: hsl2cmyk,
hsl2keyword: hsl2keyword,
hsv2rgb: hsv2rgb,
hsv2hsl: hsv2hsl,
hsv2hwb: hsv2hwb,
hsv2cmyk: hsv2cmyk,
hsv2keyword: hsv2keyword,
hwb2rgb: hwb2rgb,
hwb2hsl: hwb2hsl,
hwb2hsv: hwb2hsv,
hwb2cmyk: hwb2cmyk,
hwb2keyword: hwb2keyword,
cmyk2rgb: cmyk2rgb,
cmyk2hsl: cmyk2hsl,
cmyk2hsv: cmyk2hsv,
cmyk2hwb: cmyk2hwb,
cmyk2keyword: cmyk2keyword,
keyword2rgb: keyword2rgb,
keyword2hsl: keyword2hsl,
keyword2hsv: keyword2hsv,
keyword2hwb: keyword2hwb,
keyword2cmyk: keyword2cmyk,
keyword2lab: keyword2lab,
keyword2xyz: keyword2xyz,
xyz2rgb: xyz2rgb,
xyz2lab: xyz2lab,
xyz2lch: xyz2lch,
lab2xyz: lab2xyz,
lab2rgb: lab2rgb,
lab2lch: lab2lch,
lch2lab: lch2lab,
lch2xyz: lch2xyz,
lch2rgb: lch2rgb
}
function rgb2hsl(rgb) {
var r = rgb[0] / 255,
g = rgb[1] / 255,
b = rgb[2] / 255,
min = Math.min(r, g, b),
max = Math.max(r, g, b),
delta = max - min,
h, s, l;
if (max == min)
h = 0;
else if (r == max)
h = (g - b) / delta;
else if (g == max)
h = 2 + (b - r) / delta;
else if (b == max)
h = 4 + (r - g) / delta;
h = Math.min(h * 60, 360);
if (h < 0)
h += 360;
l = (min + max) / 2;
if (max == min)
s = 0;
else if (l <= 0.5)
s = delta / (max + min);
else
s = delta / (2 - max - min);
return [h, s * 100, l * 100];
}
function rgb2hsv(rgb) {
var r = rgb[0],
g = rgb[1],
b = rgb[2],
min = Math.min(r, g, b),
max = Math.max(r, g, b),
delta = max - min,
h, s, v;
if (max == 0)
s = 0;
else
s = (delta / max * 1000) / 10;
if (max == min)
h = 0;
else if (r == max)
h = (g - b) / delta;
else if (g == max)
h = 2 + (b - r) / delta;
else if (b == max)
h = 4 + (r - g) / delta;
h = Math.min(h * 60, 360);
if (h < 0)
h += 360;
v = ((max / 255) * 1000) / 10;
return [h, s, v];
}
function rgb2hwb(rgb) {
var r = rgb[0],
g = rgb[1],
b = rgb[2],
h = rgb2hsl(rgb)[0],
w = 1 / 255 * Math.min(r, Math.min(g, b)),
b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
return [h, w * 100, b * 100];
}
function rgb2cmyk(rgb) {
var r = rgb[0] / 255,
g = rgb[1] / 255,
b = rgb[2] / 255,
c, m, y, k;
k = Math.min(1 - r, 1 - g, 1 - b);
c = (1 - r - k) / (1 - k) || 0;
m = (1 - g - k) / (1 - k) || 0;
y = (1 - b - k) / (1 - k) || 0;
return [c * 100, m * 100, y * 100, k * 100];
}
function rgb2keyword(rgb) {
return reverseKeywords[JSON.stringify(rgb)];
}
function rgb2xyz(rgb) {
var r = rgb[0] / 255,
g = rgb[1] / 255,
b = rgb[2] / 255;
// assume sRGB
r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);
g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);
b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);
var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);
var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);
var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);
return [x * 100, y * 100, z * 100];
}
function rgb2lab(rgb) {
var xyz = rgb2xyz(rgb),
x = xyz[0],
y = xyz[1],
z = xyz[2],
l, a, b;
x /= 95.047;
y /= 100;
z /= 108.883;
x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);
y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);
z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);
l = (116 * y) - 16;
a = 500 * (x - y);
b = 200 * (y - z);
return [l, a, b];
}
function rgb2lch(args) {
return lab2lch(rgb2lab(args));
}
function hsl2rgb(hsl) {
var h = hsl[0] / 360,
s = hsl[1] / 100,
l = hsl[2] / 100,
t1, t2, t3, rgb, val;
if (s == 0) {
val = l * 255;
return [val, val, val];
}
if (l < 0.5)
t2 = l * (1 + s);
else
t2 = l + s - l * s;
t1 = 2 * l - t2;
rgb = [0, 0, 0];
for (var i = 0; i < 3; i++) {
t3 = h + 1 / 3 * -(i - 1);
t3 < 0 && t3++;
t3 > 1 && t3--;
if (6 * t3 < 1)
val = t1 + (t2 - t1) * 6 * t3;
else if (2 * t3 < 1)
val = t2;
else if (3 * t3 < 2)
val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
else
val = t1;
rgb[i] = val * 255;
}
return rgb;
}
function hsl2hsv(hsl) {
var h = hsl[0],
s = hsl[1] / 100,
l = hsl[2] / 100,
sv, v;
if (l === 0) {
// no need to do calc on black
// also avoids divide by 0 error
return [0, 0, 0];
}
l *= 2;
s *= (l <= 1) ? l : 2 - l;
v = (l + s) / 2;
sv = (2 * s) / (l + s);
return [h, sv * 100, v * 100];
}
function hsl2hwb(args) {
return rgb2hwb(hsl2rgb(args));
}
function hsl2cmyk(args) {
return rgb2cmyk(hsl2rgb(args));
}
function hsl2keyword(args) {
return rgb2keyword(hsl2rgb(args));
}
function hsv2rgb(hsv) {
var h = hsv[0] / 60,
s = hsv[1] / 100,
v = hsv[2] / 100,
hi = Math.floor(h) % 6;
var f = h - Math.floor(h),
p = 255 * v * (1 - s),
q = 255 * v * (1 - (s * f)),
t = 255 * v * (1 - (s * (1 - f))),
v = 255 * v;
switch (hi) {
case 0:
return [v, t, p];
case 1:
return [q, v, p];
case 2:
return [p, v, t];
case 3:
return [p, q, v];
case 4:
return [t, p, v];
case 5:
return [v, p, q];
}
}
function hsv2hsl(hsv) {
var h = hsv[0],
s = hsv[1] / 100,
v = hsv[2] / 100,
sl, l;
l = (2 - s) * v;
sl = s * v;
sl /= (l <= 1) ? l : 2 - l;
sl = sl || 0;
l /= 2;
return [h, sl * 100, l * 100];
}
function hsv2hwb(args) {
return rgb2hwb(hsv2rgb(args))
}
function hsv2cmyk(args) {
return rgb2cmyk(hsv2rgb(args));
}
function hsv2keyword(args) {
return rgb2keyword(hsv2rgb(args));
}
// http://dev.w3.org/csswg/css-color/#hwb-to-rgb
function hwb2rgb(hwb) {
var h = hwb[0] / 360,
wh = hwb[1] / 100,
bl = hwb[2] / 100,
ratio = wh + bl,
i, v, f, n;
// wh + bl cant be > 1
if (ratio > 1) {
wh /= ratio;
bl /= ratio;
}
i = Math.floor(6 * h);
v = 1 - bl;
f = 6 * h - i;
if ((i & 0x01) != 0) {
f = 1 - f;
}
n = wh + f * (v - wh); // linear interpolation
switch (i) {
default:
case 6:
case 0:
r = v;
g = n;
b = wh;
break;
case 1:
r = n;
g = v;
b = wh;
break;
case 2:
r = wh;
g = v;
b = n;
break;
case 3:
r = wh;
g = n;
b = v;
break;
case 4:
r = n;
g = wh;
b = v;
break;
case 5:
r = v;
g = wh;
b = n;
break;
}
return [r * 255, g * 255, b * 255];
}
function hwb2hsl(args) {
return rgb2hsl(hwb2rgb(args));
}
function hwb2hsv(args) {
return rgb2hsv(hwb2rgb(args));
}
function hwb2cmyk(args) {
return rgb2cmyk(hwb2rgb(args));
}
function hwb2keyword(args) {
return rgb2keyword(hwb2rgb(args));
}
function cmyk2rgb(cmyk) {
var c = cmyk[0] / 100,
m = cmyk[1] / 100,
y = cmyk[2] / 100,
k = cmyk[3] / 100,
r, g, b;
r = 1 - Math.min(1, c * (1 - k) + k);
g = 1 - Math.min(1, m * (1 - k) + k);
b = 1 - Math.min(1, y * (1 - k) + k);
return [r * 255, g * 255, b * 255];
}
function cmyk2hsl(args) {
return rgb2hsl(cmyk2rgb(args));
}
function cmyk2hsv(args) {
return rgb2hsv(cmyk2rgb(args));
}
function cmyk2hwb(args) {
return rgb2hwb(cmyk2rgb(args));
}
function cmyk2keyword(args) {
return rgb2keyword(cmyk2rgb(args));
}
function xyz2rgb(xyz) {
var x = xyz[0] / 100,
y = xyz[1] / 100,
z = xyz[2] / 100,
r, g, b;
r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);
g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);
b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);
// assume sRGB
r = r > 0.0031308 ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)
: r = (r * 12.92);
g = g > 0.0031308 ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)
: g = (g * 12.92);
b = b > 0.0031308 ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)
: b = (b * 12.92);
r = Math.min(Math.max(0, r), 1);
g = Math.min(Math.max(0, g), 1);
b = Math.min(Math.max(0, b), 1);
return [r * 255, g * 255, b * 255];
}
function xyz2lab(xyz) {
var x = xyz[0],
y = xyz[1],
z = xyz[2],
l, a, b;
x /= 95.047;
y /= 100;
z /= 108.883;
x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);
y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);
z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);
l = (116 * y) - 16;
a = 500 * (x - y);
b = 200 * (y - z);
return [l, a, b];
}
function xyz2lch(args) {
return lab2lch(xyz2lab(args));
}
function lab2xyz(lab) {
var l = lab[0],
a = lab[1],
b = lab[2],
x, y, z, y2;
if (l <= 8) {
y = (l * 100) / 903.3;
y2 = (7.787 * (y / 100)) + (16 / 116);
} else {
y = 100 * Math.pow((l + 16) / 116, 3);
y2 = Math.pow(y / 100, 1 / 3);
}
x = x / 95.047 <= 0.008856 ? x = (95.047 * ((a / 500) + y2 - (16 / 116))) / 7.787 : 95.047 * Math.pow((a / 500) + y2, 3);
z = z / 108.883 <= 0.008859 ? z = (108.883 * (y2 - (b / 200) - (16 / 116))) / 7.787 : 108.883 * Math.pow(y2 - (b / 200), 3);
return [x, y, z];
}
function lab2lch(lab) {
var l = lab[0],
a = lab[1],
b = lab[2],
hr, h, c;
hr = Math.atan2(b, a);
h = hr * 360 / 2 / Math.PI;
if (h < 0) {
h += 360;
}
c = Math.sqrt(a * a + b * b);
return [l, c, h];
}
function lab2rgb(args) {
return xyz2rgb(lab2xyz(args));
}
function lch2lab(lch) {
var l = lch[0],
c = lch[1],
h = lch[2],
a, b, hr;
hr = h / 360 * 2 * Math.PI;
a = c * Math.cos(hr);
b = c * Math.sin(hr);
return [l, a, b];
}
function lch2xyz(args) {
return lab2xyz(lch2lab(args));
}
function lch2rgb(args) {
return lab2rgb(lch2lab(args));
}
function keyword2rgb(keyword) {
return cssKeywords[keyword];
}
function keyword2hsl(args) {
return rgb2hsl(keyword2rgb(args));
}
function keyword2hsv(args) {
return rgb2hsv(keyword2rgb(args));
}
function keyword2hwb(args) {
return rgb2hwb(keyword2rgb(args));
}
function keyword2cmyk(args) {
return rgb2cmyk(keyword2rgb(args));
}
function keyword2lab(args) {
return rgb2lab(keyword2rgb(args));
}
function keyword2xyz(args) {
return rgb2xyz(keyword2rgb(args));
}
var cssKeywords = {
aliceblue: [240, 248, 255],
antiquewhite: [250, 235, 215],
aqua: [0, 255, 255],
aquamarine: [127, 255, 212],
azure: [240, 255, 255],
beige: [245, 245, 220],
bisque: [255, 228, 196],
black: [0, 0, 0],
blanchedalmond: [255, 235, 205],
blue: [0, 0, 255],
blueviolet: [138, 43, 226],
brown: [165, 42, 42],
burlywood: [222, 184, 135],
cadetblue: [95, 158, 160],
chartreuse: [127, 255, 0],
chocolate: [210, 105, 30],
coral: [255, 127, 80],
cornflowerblue: [100, 149, 237],
cornsilk: [255, 248, 220],
crimson: [220, 20, 60],
cyan: [0, 255, 255],
darkblue: [0, 0, 139],
darkcyan: [0, 139, 139],
darkgoldenrod: [184, 134, 11],
darkgray: [169, 169, 169],
darkgreen: [0, 100, 0],
darkgrey: [169, 169, 169],
darkkhaki: [189, 183, 107],
darkmagenta: [139, 0, 139],
darkolivegreen: [85, 107, 47],
darkorange: [255, 140, 0],
darkorchid: [153, 50, 204],
darkred: [139, 0, 0],
darksalmon: [233, 150, 122],
darkseagreen: [143, 188, 143],
darkslateblue: [72, 61, 139],
darkslategray: [47, 79, 79],
darkslategrey: [47, 79, 79],
darkturquoise: [0, 206, 209],
darkviolet: [148, 0, 211],
deeppink: [255, 20, 147],
deepskyblue: [0, 191, 255],
dimgray: [105, 105, 105],
dimgrey: [105, 105, 105],
dodgerblue: [30, 144, 255],
firebrick: [178, 34, 34],
floralwhite: [255, 250, 240],
forestgreen: [34, 139, 34],
fuchsia: [255, 0, 255],
gainsboro: [220, 220, 220],
ghostwhite: [248, 248, 255],
gold: [255, 215, 0],
goldenrod: [218, 165, 32],
gray: [128, 128, 128],
green: [0, 128, 0],
greenyellow: [173, 255, 47],
grey: [128, 128, 128],
honeydew: [240, 255, 240],
hotpink: [255, 105, 180],
indianred: [205, 92, 92],
indigo: [75, 0, 130],
ivory: [255, 255, 240],
khaki: [240, 230, 140],
lavender: [230, 230, 250],
lavenderblush: [255, 240, 245],
lawngreen: [124, 252, 0],
lemonchiffon: [255, 250, 205],
lightblue: [173, 216, 230],
lightcoral: [240, 128, 128],
lightcyan: [224, 255, 255],
lightgoldenrodyellow: [250, 250, 210],
lightgray: [211, 211, 211],
lightgreen: [144, 238, 144],
lightgrey: [211, 211, 211],
lightpink: [255, 182, 193],
lightsalmon: [255, 160, 122],
lightseagreen: [32, 178, 170],
lightskyblue: [135, 206, 250],
lightslategray: [119, 136, 153],
lightslategrey: [119, 136, 153],
lightsteelblue: [176, 196, 222],
lightyellow: [255, 255, 224],
lime: [0, 255, 0],
limegreen: [50, 205, 50],
linen: [250, 240, 230],
magenta: [255, 0, 255],
maroon: [128, 0, 0],
mediumaquamarine: [102, 205, 170],
mediumblue: [0, 0, 205],
mediumorchid: [186, 85, 211],
mediumpurple: [147, 112, 219],
mediumseagreen: [60, 179, 113],
mediumslateblue: [123, 104, 238],
mediumspringgreen: [0, 250, 154],
mediumturquoise: [72, 209, 204],
mediumvioletred: [199, 21, 133],
midnightblue: [25, 25, 112],
mintcream: [245, 255, 250],
mistyrose: [255, 228, 225],
moccasin: [255, 228, 181],
navajowhite: [255, 222, 173],
navy: [0, 0, 128],
oldlace: [253, 245, 230],
olive: [128, 128, 0],
olivedrab: [107, 142, 35],
orange: [255, 165, 0],
orangered: [255, 69, 0],
orchid: [218, 112, 214],
palegoldenrod: [238, 232, 170],
palegreen: [152, 251, 152],
paleturquoise: [175, 238, 238],
palevioletred: [219, 112, 147],
papayawhip: [255, 239, 213],
peachpuff: [255, 218, 185],
peru: [205, 133, 63],
pink: [255, 192, 203],
plum: [221, 160, 221],
powderblue: [176, 224, 230],
purple: [128, 0, 128],
rebeccapurple: [102, 51, 153],
red: [255, 0, 0],
rosybrown: [188, 143, 143],
royalblue: [65, 105, 225],
saddlebrown: [139, 69, 19],
salmon: [250, 128, 114],
sandybrown: [244, 164, 96],
seagreen: [46, 139, 87],
seashell: [255, 245, 238],
sienna: [160, 82, 45],
silver: [192, 192, 192],
skyblue: [135, 206, 235],
slateblue: [106, 90, 205],
slategray: [112, 128, 144],
slategrey: [112, 128, 144],
snow: [255, 250, 250],
springgreen: [0, 255, 127],
steelblue: [70, 130, 180],
tan: [210, 180, 140],
teal: [0, 128, 128],
thistle: [216, 191, 216],
tomato: [255, 99, 71],
turquoise: [64, 224, 208],
violet: [238, 130, 238],
wheat: [245, 222, 179],
white: [255, 255, 255],
whitesmoke: [245, 245, 245],
yellow: [255, 255, 0],
yellowgreen: [154, 205, 50]
};
var reverseKeywords = {};
for (var key in cssKeywords) {
reverseKeywords[JSON.stringify(cssKeywords[key])] = key;
}
}, {}], 5: [function (require, module, exports) {
var conversions = require(4);
var convert = function () {
return new Converter();
}
for (var func in conversions) {
// export Raw versions
convert[func + "Raw"] = (function (func) {
// accept array or plain args
return function (arg) {
if (typeof arg == "number")
arg = Array.prototype.slice.call(arguments);
return conversions[func](arg);
}
})(func);
var pair = /(\w+)2(\w+)/.exec(func),
from = pair[1],
to = pair[2];
// export rgb2hsl and ["rgb"]["hsl"]
convert[from] = convert[from] || {};
convert[from][to] = convert[func] = (function (func) {
return function (arg) {
if (typeof arg == "number")
arg = Array.prototype.slice.call(arguments);
var val = conversions[func](arg);
if (typeof val == "string" || val === undefined)
return val; // keyword
for (var i = 0; i < val.length; i++)
val[i] = Math.round(val[i]);
return val;
}
})(func);
}
/* Converter does lazy conversion and caching */
var Converter = function () {
this.convs = {};
};
/* Either get the values for a space or
set the values for a space, depending on args */
Converter.prototype.routeSpace = function (space, args) {
var values = args[0];
if (values === undefined) {
// color.rgb()
return this.getValues(space);
}
// color.rgb(10, 10, 10)
if (typeof values == "number") {
values = Array.prototype.slice.call(args);
}
return this.setValues(space, values);
};
/* Set the values for a space, invalidating cache */
Converter.prototype.setValues = function (space, values) {
this.space = space;
this.convs = {};
this.convs[space] = values;
return this;
};
/* Get the values for a space. If there's already
a conversion for the space, fetch it, otherwise
compute it */
Converter.prototype.getValues = function (space) {
var vals = this.convs[space];
if (!vals) {
var fspace = this.space,
from = this.convs[fspace];
vals = convert[fspace][space](from);
this.convs[space] = vals;
}
return vals;
};
["rgb", "hsl", "hsv", "cmyk", "keyword"].forEach(function (space) {
Converter.prototype[space] = function (vals) {
return this.routeSpace(space, arguments);
}
});
module.exports = convert;
}, {"4": 4}], 6: [function (require, module, exports) {
module.exports = {
"aliceblue": [240, 248, 255],
"antiquewhite": [250, 235, 215],
"aqua": [0, 255, 255],
"aquamarine": [127, 255, 212],
"azure": [240, 255, 255],
"beige": [245, 245, 220],
"bisque": [255, 228, 196],
"black": [0, 0, 0],
"blanchedalmond": [255, 235, 205],
"blue": [0, 0, 255],
"blueviolet": [138, 43, 226],
"brown": [165, 42, 42],
"burlywood": [222, 184, 135],
"cadetblue": [95, 158, 160],
"chartreuse": [127, 255, 0],
"chocolate": [210, 105, 30],
"coral": [255, 127, 80],
"cornflowerblue": [100, 149, 237],
"cornsilk": [255, 248, 220],
"crimson": [220, 20, 60],
"cyan": [0, 255, 255],
"darkblue": [0, 0, 139],
"darkcyan": [0, 139, 139],
"darkgoldenrod": [184, 134, 11],
"darkgray": [169, 169, 169],
"darkgreen": [0, 100, 0],
"darkgrey": [169, 169, 169],
"darkkhaki": [189, 183, 107],
"darkmagenta": [139, 0, 139],
"darkolivegreen": [85, 107, 47],
"darkorange": [255, 140, 0],
"darkorchid": [153, 50, 204],
"darkred": [139, 0, 0],
"darksalmon": [233, 150, 122],
"darkseagreen": [143, 188, 143],
"darkslateblue": [72, 61, 139],
"darkslategray": [47, 79, 79],
"darkslategrey": [47, 79, 79],
"darkturquoise": [0, 206, 209],
"darkviolet": [148, 0, 211],
"deeppink": [255, 20, 147],
"deepskyblue": [0, 191, 255],
"dimgray": [105, 105, 105],
"dimgrey": [105, 105, 105],
"dodgerblue": [30, 144, 255],
"firebrick": [178, 34, 34],
"floralwhite": [255, 250, 240],
"forestgreen": [34, 139, 34],
"fuchsia": [255, 0, 255],
"gainsboro": [220, 220, 220],
"ghostwhite": [248, 248, 255],
"gold": [255, 215, 0],
"goldenrod": [218, 165, 32],
"gray": [128, 128, 128],
"green": [0, 128, 0],
"greenyellow": [173, 255, 47],
"grey": [128, 128, 128],
"honeydew": [240, 255, 240],
"hotpink": [255, 105, 180],
"indianred": [205, 92, 92],
"indigo": [75, 0, 130],
"ivory": [255, 255, 240],
"khaki": [240, 230, 140],
"lavender": [230, 230, 250],
"lavenderblush": [255, 240, 245],
"lawngreen": [124, 252, 0],
"lemonchiffon": [255, 250, 205],
"lightblue": [173, 216, 230],
"lightcoral": [240, 128, 128],
"lightcyan": [224, 255, 255],
"lightgoldenrodyellow": [250, 250, 210],
"lightgray": [211, 211, 211],
"lightgreen": [144, 238, 144],
"lightgrey": [211, 211, 211],
"lightpink": [255, 182, 193],
"lightsalmon": [255, 160, 122],
"lightseagreen": [32, 178, 170],
"lightskyblue": [135, 206, 250],
"lightslategray": [119, 136, 153],
"lightslategrey": [119, 136, 153],
"lightsteelblue": [176, 196, 222],
"lightyellow": [255, 255, 224],
"lime": [0, 255, 0],
"limegreen": [50, 205, 50],
"linen": [250, 240, 230],
"magenta": [255, 0, 255],
"maroon": [128, 0, 0],
"mediumaquamarine": [102, 205, 170],
"mediumblue": [0, 0, 205],
"mediumorchid": [186, 85, 211],
"mediumpurple": [147, 112, 219],
"mediumseagreen": [60, 179, 113],
"mediumslateblue": [123, 104, 238],
"mediumspringgreen": [0, 250, 154],
"mediumturquoise": [72, 209, 204],
"mediumvioletred": [199, 21, 133],
"midnightblue": [25, 25, 112],
"mintcream": [245, 255, 250],
"mistyrose": [255, 228, 225],
"moccasin": [255, 228, 181],
"navajowhite": [255, 222, 173],
"navy": [0, 0, 128],
"oldlace": [253, 245, 230],
"olive": [128, 128, 0],
"olivedrab": [107, 142, 35],
"orange": [255, 165, 0],
"orangered": [255, 69, 0],
"orchid": [218, 112, 214],
"palegoldenrod": [238, 232, 170],
"palegreen": [152, 251, 152],
"paleturquoise": [175, 238, 238],
"palevioletred": [219, 112, 147],
"papayawhip": [255, 239, 213],
"peachpuff": [255, 218, 185],
"peru": [205, 133, 63],
"pink": [255, 192, 203],
"plum": [221, 160, 221],
"powderblue": [176, 224, 230],
"purple": [128, 0, 128],
"rebeccapurple": [102, 51, 153],
"red": [255, 0, 0],
"rosybrown": [188, 143, 143],
"royalblue": [65, 105, 225],
"saddlebrown": [139, 69, 19],
"salmon": [250, 128, 114],
"sandybrown": [244, 164, 96],
"seagreen": [46, 139, 87],
"seashell": [255, 245, 238],
"sienna": [160, 82, 45],
"silver": [192, 192, 192],
"skyblue": [135, 206, 235],
"slateblue": [106, 90, 205],
"slategray": [112, 128, 144],
"slategrey": [112, 128, 144],
"snow": [255, 250, 250],
"springgreen": [0, 255, 127],
"steelblue": [70, 130, 180],
"tan": [210, 180, 140],
"teal": [0, 128, 128],
"thistle": [216, 191, 216],
"tomato": [255, 99, 71],
"turquoise": [64, 224, 208],
"violet": [238, 130, 238],
"wheat": [245, 222, 179],
"white": [255, 255, 255],
"whitesmoke": [245, 245, 245],
"yellow": [255, 255, 0],
"yellowgreen": [154, 205, 50]
};
}, {}], 7: [function (require, module, exports) {
/**
* @namespace Chart
*/
var Chart = require(28)();
require(26)(Chart);
require(22)(Chart);
require(25)(Chart);
require(21)(Chart);
require(23)(Chart);
require(24)(Chart);
require(29)(Chart);
require(33)(Chart);
require(31)(Chart);
require(34)(Chart);
require(32)(Chart);
require(35)(Chart);
require(30)(Chart);
require(27)(Chart);
require(36)(Chart);
require(37)(Chart);
require(38)(Chart);
require(39)(Chart);
require(40)(Chart);
require(43)(Chart);
require(41)(Chart);
require(42)(Chart);
require(44)(Chart);
require(45)(Chart);
require(46)(Chart);
// Controllers must be loaded after elements
// See Chart.core.datasetController.dataElementType
require(15)(Chart);
require(16)(Chart);
require(17)(Chart);
require(18)(Chart);
require(19)(Chart);
require(20)(Chart);
require(8)(Chart);
require(9)(Chart);
require(10)(Chart);
require(11)(Chart);
require(12)(Chart);
require(13)(Chart);
require(14)(Chart);
window.Chart = module.exports = Chart;
}, {
"10": 10,
"11": 11,
"12": 12,
"13": 13,
"14": 14,
"15": 15,
"16": 16,
"17": 17,
"18": 18,
"19": 19,
"20": 20,
"21": 21,
"22": 22,
"23": 23,
"24": 24,
"25": 25,
"26": 26,
"27": 27,
"28": 28,
"29": 29,
"30": 30,
"31": 31,
"32": 32,
"33": 33,
"34": 34,
"35": 35,
"36": 36,
"37": 37,
"38": 38,
"39": 39,
"40": 40,
"41": 41,
"42": 42,
"43": 43,
"44": 44,
"45": 45,
"46": 46,
"8": 8,
"9": 9
}], 8: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
Chart.Bar = function (context, config) {
config.type = 'bar';
return new Chart(context, config);
};
};
}, {}], 9: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
Chart.Bubble = function (context, config) {
config.type = 'bubble';
return new Chart(context, config);
};
};
}, {}], 10: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
Chart.Doughnut = function (context, config) {
config.type = 'doughnut';
return new Chart(context, config);
};
};
}, {}], 11: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
Chart.Line = function (context, config) {
config.type = 'line';
return new Chart(context, config);
};
};
}, {}], 12: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
Chart.PolarArea = function (context, config) {
config.type = 'polarArea';
return new Chart(context, config);
};
};
}, {}], 13: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
Chart.Radar = function (context, config) {
config.type = 'radar';
return new Chart(context, config);
};
};
}, {}], 14: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var defaultConfig = {
hover: {
mode: 'single'
},
scales: {
xAxes: [{
type: 'linear', // scatter should not use a category axis
position: 'bottom',
id: 'x-axis-1' // need an ID so datasets can reference the scale
}],
yAxes: [{
type: 'linear',
position: 'left',
id: 'y-axis-1'
}]
},
tooltips: {
callbacks: {
title: function () {
// Title doesn't make sense for scatter since we format the data as a point
return '';
},
label: function (tooltipItem) {
return '(' + tooltipItem.xLabel + ', ' + tooltipItem.yLabel + ')';
}
}
}
};
// Register the default config for this type
Chart.defaults.scatter = defaultConfig;
// Scatter charts use line controllers
Chart.controllers.scatter = Chart.controllers.line;
Chart.Scatter = function (context, config) {
config.type = 'scatter';
return new Chart(context, config);
};
};
}, {}], 15: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.bar = {
hover: {
mode: 'label'
},
scales: {
xAxes: [{
type: 'category',
// Specific to Bar Controller
categoryPercentage: 0.8,
barPercentage: 0.9,
// grid line settings
gridLines: {
offsetGridLines: true
}
}],
yAxes: [{
type: 'linear'
}]
}
};
Chart.controllers.bar = Chart.DatasetController.extend({
dataElementType: Chart.elements.Rectangle,
initialize: function (chart, datasetIndex) {
Chart.DatasetController.prototype.initialize.call(this, chart, datasetIndex);
// Use this to indicate that this is a bar dataset.
this.getMeta().bar = true;
},
// Get the number of datasets that display bars. We use this to correctly calculate the bar width
getBarCount: function () {
var me = this;
var barCount = 0;
helpers.each(me.chart.data.datasets, function (dataset, datasetIndex) {
var meta = me.chart.getDatasetMeta(datasetIndex);
if (meta.bar && me.chart.isDatasetVisible(datasetIndex)) {
++barCount;
}
}, me);
return barCount;
},
update: function (reset) {
var me = this;
helpers.each(me.getMeta().data, function (rectangle, index) {
me.updateElement(rectangle, index, reset);
}, me);
},
updateElement: function (rectangle, index, reset) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var yScale = me.getScaleForId(meta.yAxisID);
var scaleBase = yScale.getBasePixel();
var rectangleElementOptions = me.chart.options.elements.rectangle;
var custom = rectangle.custom || {};
var dataset = me.getDataset();
rectangle._xScale = xScale;
rectangle._yScale = yScale;
rectangle._datasetIndex = me.index;
rectangle._index = index;
var ruler = me.getRuler(index);
rectangle._model = {
x: me.calculateBarX(index, me.index, ruler),
y: reset ? scaleBase : me.calculateBarY(index, me.index),
// Tooltip
label: me.chart.data.labels[index],
datasetLabel: dataset.label,
// Appearance
base: reset ? scaleBase : me.calculateBarBase(me.index, index),
width: me.calculateBarWidth(ruler),
backgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.backgroundColor, index, rectangleElementOptions.backgroundColor),
borderSkipped: custom.borderSkipped ? custom.borderSkipped : rectangleElementOptions.borderSkipped,
borderColor: custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.borderColor, index, rectangleElementOptions.borderColor),
borderWidth: custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.borderWidth, index, rectangleElementOptions.borderWidth)
};
rectangle.pivot();
},
calculateBarBase: function (datasetIndex, index) {
var me = this;
var meta = me.getMeta();
var yScale = me.getScaleForId(meta.yAxisID);
var base = 0;
if (yScale.options.stacked) {
var chart = me.chart;
var datasets = chart.data.datasets;
var value = Number(datasets[datasetIndex].data[index]);
for (var i = 0; i < datasetIndex; i++) {
var currentDs = datasets[i];
var currentDsMeta = chart.getDatasetMeta(i);
if (currentDsMeta.bar && currentDsMeta.yAxisID === yScale.id && chart.isDatasetVisible(i)) {
var currentVal = Number(currentDs.data[index]);
base += value < 0 ? Math.min(currentVal, 0) : Math.max(currentVal, 0);
}
}
return yScale.getPixelForValue(base);
}
return yScale.getBasePixel();
},
getRuler: function (index) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var datasetCount = me.getBarCount();
var tickWidth;
if (xScale.options.type === 'category') {
tickWidth = xScale.getPixelForTick(index + 1) - xScale.getPixelForTick(index);
} else {
// Average width
tickWidth = xScale.width / xScale.ticks.length;
}
var categoryWidth = tickWidth * xScale.options.categoryPercentage;
var categorySpacing = (tickWidth - (tickWidth * xScale.options.categoryPercentage)) / 2;
var fullBarWidth = categoryWidth / datasetCount;
if (xScale.ticks.length !== me.chart.data.labels.length) {
var perc = xScale.ticks.length / me.chart.data.labels.length;
fullBarWidth = fullBarWidth * perc;
}
var barWidth = fullBarWidth * xScale.options.barPercentage;
var barSpacing = fullBarWidth - (fullBarWidth * xScale.options.barPercentage);
return {
datasetCount: datasetCount,
tickWidth: tickWidth,
categoryWidth: categoryWidth,
categorySpacing: categorySpacing,
fullBarWidth: fullBarWidth,
barWidth: barWidth,
barSpacing: barSpacing
};
},
calculateBarWidth: function (ruler) {
var xScale = this.getScaleForId(this.getMeta().xAxisID);
if (xScale.options.barThickness) {
return xScale.options.barThickness;
}
return xScale.options.stacked ? ruler.categoryWidth : ruler.barWidth;
},
// Get bar index from the given dataset index accounting for the fact that not all bars are visible
getBarIndex: function (datasetIndex) {
var barIndex = 0;
var meta, j;
for (j = 0; j < datasetIndex; ++j) {
meta = this.chart.getDatasetMeta(j);
if (meta.bar && this.chart.isDatasetVisible(j)) {
++barIndex;
}
}
return barIndex;
},
calculateBarX: function (index, datasetIndex, ruler) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var barIndex = me.getBarIndex(datasetIndex);
var leftTick = xScale.getPixelForValue(null, index, datasetIndex, me.chart.isCombo);
leftTick -= me.chart.isCombo ? (ruler.tickWidth / 2) : 0;
if (xScale.options.stacked) {
return leftTick + (ruler.categoryWidth / 2) + ruler.categorySpacing;
}
return leftTick +
(ruler.barWidth / 2) +
ruler.categorySpacing +
(ruler.barWidth * barIndex) +
(ruler.barSpacing / 2) +
(ruler.barSpacing * barIndex);
},
calculateBarY: function (index, datasetIndex) {
var me = this;
var meta = me.getMeta();
var yScale = me.getScaleForId(meta.yAxisID);
var value = Number(me.getDataset().data[index]);
if (yScale.options.stacked) {
var sumPos = 0,
sumNeg = 0;
for (var i = 0; i < datasetIndex; i++) {
var ds = me.chart.data.datasets[i];
var dsMeta = me.chart.getDatasetMeta(i);
if (dsMeta.bar && dsMeta.yAxisID === yScale.id && me.chart.isDatasetVisible(i)) {
var stackedVal = Number(ds.data[index]);
if (stackedVal < 0) {
sumNeg += stackedVal || 0;
} else {
sumPos += stackedVal || 0;
}
}
}
if (value < 0) {
return yScale.getPixelForValue(sumNeg + value);
}
return yScale.getPixelForValue(sumPos + value);
}
return yScale.getPixelForValue(value);
},
draw: function (ease) {
var me = this;
var easingDecimal = ease || 1;
var metaData = me.getMeta().data;
var dataset = me.getDataset();
var i, len;
for (i = 0, len = metaData.length; i < len; ++i) {
var d = dataset.data[i];
if (d !== null && d !== undefined && !isNaN(d)) {
metaData[i].transition(easingDecimal).draw();
}
}
},
setHoverStyle: function (rectangle) {
var dataset = this.chart.data.datasets[rectangle._datasetIndex];
var index = rectangle._index;
var custom = rectangle.custom || {};
var model = rectangle._model;
model.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : helpers.getValueAtIndexOrDefault(dataset.hoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));
model.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : helpers.getValueAtIndexOrDefault(dataset.hoverBorderColor, index, helpers.getHoverColor(model.borderColor));
model.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : helpers.getValueAtIndexOrDefault(dataset.hoverBorderWidth, index, model.borderWidth);
},
removeHoverStyle: function (rectangle) {
var dataset = this.chart.data.datasets[rectangle._datasetIndex];
var index = rectangle._index;
var custom = rectangle.custom || {};
var model = rectangle._model;
var rectangleElementOptions = this.chart.options.elements.rectangle;
model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.backgroundColor, index, rectangleElementOptions.backgroundColor);
model.borderColor = custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.borderColor, index, rectangleElementOptions.borderColor);
model.borderWidth = custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.borderWidth, index, rectangleElementOptions.borderWidth);
}
});
// including horizontalBar in the bar file, instead of a file of its own
// it extends bar (like pie extends doughnut)
Chart.defaults.horizontalBar = {
hover: {
mode: 'label'
},
scales: {
xAxes: [{
type: 'linear',
position: 'bottom'
}],
yAxes: [{
position: 'left',
type: 'category',
// Specific to Horizontal Bar Controller
categoryPercentage: 0.8,
barPercentage: 0.9,
// grid line settings
gridLines: {
offsetGridLines: true
}
}]
},
elements: {
rectangle: {
borderSkipped: 'left'
}
},
tooltips: {
callbacks: {
title: function (tooltipItems, data) {
// Pick first xLabel for now
var title = '';
if (tooltipItems.length > 0) {
if (tooltipItems[0].yLabel) {
title = tooltipItems[0].yLabel;
} else if (data.labels.length > 0 && tooltipItems[0].index < data.labels.length) {
title = data.labels[tooltipItems[0].index];
}
}
return title;
},
label: function (tooltipItem, data) {
var datasetLabel = data.datasets[tooltipItem.datasetIndex].label || '';
return datasetLabel + ': ' + tooltipItem.xLabel;
}
}
}
};
Chart.controllers.horizontalBar = Chart.controllers.bar.extend({
updateElement: function (rectangle, index, reset) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var yScale = me.getScaleForId(meta.yAxisID);
var scaleBase = xScale.getBasePixel();
var custom = rectangle.custom || {};
var dataset = me.getDataset();
var rectangleElementOptions = me.chart.options.elements.rectangle;
rectangle._xScale = xScale;
rectangle._yScale = yScale;
rectangle._datasetIndex = me.index;
rectangle._index = index;
var ruler = me.getRuler(index);
rectangle._model = {
x: reset ? scaleBase : me.calculateBarX(index, me.index),
y: me.calculateBarY(index, me.index, ruler),
// Tooltip
label: me.chart.data.labels[index],
datasetLabel: dataset.label,
// Appearance
base: reset ? scaleBase : me.calculateBarBase(me.index, index),
height: me.calculateBarHeight(ruler),
backgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.backgroundColor, index, rectangleElementOptions.backgroundColor),
borderSkipped: custom.borderSkipped ? custom.borderSkipped : rectangleElementOptions.borderSkipped,
borderColor: custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.borderColor, index, rectangleElementOptions.borderColor),
borderWidth: custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.borderWidth, index, rectangleElementOptions.borderWidth)
};
rectangle.draw = function () {
var ctx = this._chart.ctx;
var vm = this._view;
var halfHeight = vm.height / 2,
topY = vm.y - halfHeight,
bottomY = vm.y + halfHeight,
right = vm.base - (vm.base - vm.x),
halfStroke = vm.borderWidth / 2;
// Canvas doesn't allow us to stroke inside the width so we can
// adjust the sizes to fit if we're setting a stroke on the line
if (vm.borderWidth) {
topY += halfStroke;
bottomY -= halfStroke;
right += halfStroke;
}
ctx.beginPath();
ctx.fillStyle = vm.backgroundColor;
ctx.strokeStyle = vm.borderColor;
ctx.lineWidth = vm.borderWidth;
// Corner points, from bottom-left to bottom-right clockwise
// | 1 2 |
// | 0 3 |
var corners = [
[vm.base, bottomY],
[vm.base, topY],
[right, topY],
[right, bottomY]
];
// Find first (starting) corner with fallback to 'bottom'
var borders = ['bottom', 'left', 'top', 'right'];
var startCorner = borders.indexOf(vm.borderSkipped, 0);
if (startCorner === -1) {
startCorner = 0;
}
function cornerAt(cornerIndex) {
return corners[(startCorner + cornerIndex) % 4];
}
// Draw rectangle from 'startCorner'
ctx.moveTo.apply(ctx, cornerAt(0));
for (var i = 1; i < 4; i++) {
ctx.lineTo.apply(ctx, cornerAt(i));
}
ctx.fill();
if (vm.borderWidth) {
ctx.stroke();
}
};
rectangle.pivot();
},
calculateBarBase: function (datasetIndex, index) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var base = 0;
if (xScale.options.stacked) {
var chart = me.chart;
var datasets = chart.data.datasets;
var value = Number(datasets[datasetIndex].data[index]);
for (var i = 0; i < datasetIndex; i++) {
var currentDs = datasets[i];
var currentDsMeta = chart.getDatasetMeta(i);
if (currentDsMeta.bar && currentDsMeta.xAxisID === xScale.id && chart.isDatasetVisible(i)) {
var currentVal = Number(currentDs.data[index]);
base += value < 0 ? Math.min(currentVal, 0) : Math.max(currentVal, 0);
}
}
return xScale.getPixelForValue(base);
}
return xScale.getBasePixel();
},
getRuler: function (index) {
var me = this;
var meta = me.getMeta();
var yScale = me.getScaleForId(meta.yAxisID);
var datasetCount = me.getBarCount();
var tickHeight;
if (yScale.options.type === 'category') {
tickHeight = yScale.getPixelForTick(index + 1) - yScale.getPixelForTick(index);
} else {
// Average width
tickHeight = yScale.width / yScale.ticks.length;
}
var categoryHeight = tickHeight * yScale.options.categoryPercentage;
var categorySpacing = (tickHeight - (tickHeight * yScale.options.categoryPercentage)) / 2;
var fullBarHeight = categoryHeight / datasetCount;
if (yScale.ticks.length !== me.chart.data.labels.length) {
var perc = yScale.ticks.length / me.chart.data.labels.length;
fullBarHeight = fullBarHeight * perc;
}
var barHeight = fullBarHeight * yScale.options.barPercentage;
var barSpacing = fullBarHeight - (fullBarHeight * yScale.options.barPercentage);
return {
datasetCount: datasetCount,
tickHeight: tickHeight,
categoryHeight: categoryHeight,
categorySpacing: categorySpacing,
fullBarHeight: fullBarHeight,
barHeight: barHeight,
barSpacing: barSpacing
};
},
calculateBarHeight: function (ruler) {
var me = this;
var yScale = me.getScaleForId(me.getMeta().yAxisID);
if (yScale.options.barThickness) {
return yScale.options.barThickness;
}
return yScale.options.stacked ? ruler.categoryHeight : ruler.barHeight;
},
calculateBarX: function (index, datasetIndex) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var value = Number(me.getDataset().data[index]);
if (xScale.options.stacked) {
var sumPos = 0,
sumNeg = 0;
for (var i = 0; i < datasetIndex; i++) {
var ds = me.chart.data.datasets[i];
var dsMeta = me.chart.getDatasetMeta(i);
if (dsMeta.bar && dsMeta.xAxisID === xScale.id && me.chart.isDatasetVisible(i)) {
var stackedVal = Number(ds.data[index]);
if (stackedVal < 0) {
sumNeg += stackedVal || 0;
} else {
sumPos += stackedVal || 0;
}
}
}
if (value < 0) {
return xScale.getPixelForValue(sumNeg + value);
}
return xScale.getPixelForValue(sumPos + value);
}
return xScale.getPixelForValue(value);
},
calculateBarY: function (index, datasetIndex, ruler) {
var me = this;
var meta = me.getMeta();
var yScale = me.getScaleForId(meta.yAxisID);
var barIndex = me.getBarIndex(datasetIndex);
var topTick = yScale.getPixelForValue(null, index, datasetIndex, me.chart.isCombo);
topTick -= me.chart.isCombo ? (ruler.tickHeight / 2) : 0;
if (yScale.options.stacked) {
return topTick + (ruler.categoryHeight / 2) + ruler.categorySpacing;
}
return topTick +
(ruler.barHeight / 2) +
ruler.categorySpacing +
(ruler.barHeight * barIndex) +
(ruler.barSpacing / 2) +
(ruler.barSpacing * barIndex);
}
});
};
}, {}], 16: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.bubble = {
hover: {
mode: 'single'
},
scales: {
xAxes: [{
type: 'linear', // bubble should probably use a linear scale by default
position: 'bottom',
id: 'x-axis-0' // need an ID so datasets can reference the scale
}],
yAxes: [{
type: 'linear',
position: 'left',
id: 'y-axis-0'
}]
},
tooltips: {
callbacks: {
title: function () {
// Title doesn't make sense for scatter since we format the data as a point
return '';
},
label: function (tooltipItem, data) {
var datasetLabel = data.datasets[tooltipItem.datasetIndex].label || '';
var dataPoint = data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];
return datasetLabel + ': (' + tooltipItem.xLabel + ', ' + tooltipItem.yLabel + ', ' + dataPoint.r + ')';
}
}
}
};
Chart.controllers.bubble = Chart.DatasetController.extend({
dataElementType: Chart.elements.Point,
update: function (reset) {
var me = this;
var meta = me.getMeta();
var points = meta.data;
// Update Points
helpers.each(points, function (point, index) {
me.updateElement(point, index, reset);
});
},
updateElement: function (point, index, reset) {
var me = this;
var meta = me.getMeta();
var xScale = me.getScaleForId(meta.xAxisID);
var yScale = me.getScaleForId(meta.yAxisID);
var custom = point.custom || {};
var dataset = me.getDataset();
var data = dataset.data[index];
var pointElementOptions = me.chart.options.elements.point;
var dsIndex = me.index;
helpers.extend(point, {
// Utility
_xScale: xScale,
_yScale: yScale,
_datasetIndex: dsIndex,
_index: index,
// Desired view properties
_model: {
x: reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex, me.chart.isCombo),
y: reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex),
// Appearance
radius: reset ? 0 : custom.radius ? custom.radius : me.getRadius(data),
// Tooltip
hitRadius: custom.hitRadius ? custom.hitRadius : helpers.getValueAtIndexOrDefault(dataset.hitRadius, index, pointElementOptions.hitRadius)
}
});
// Trick to reset the styles of the point
Chart.DatasetController.prototype.removeHoverStyle.call(me, point, pointElementOptions);
var model = point._model;
model.skip = custom.skip ? custom.skip : (isNaN(model.x) || isNaN(model.y));
point.pivot();
},
getRadius: function (value) {
return value.r || this.chart.options.elements.point.radius;
},
setHoverStyle: function (point) {
var me = this;
Chart.DatasetController.prototype.setHoverStyle.call(me, point);
// Radius
var dataset = me.chart.data.datasets[point._datasetIndex];
var index = point._index;
var custom = point.custom || {};
var model = point._model;
model.radius = custom.hoverRadius ? custom.hoverRadius : (helpers.getValueAtIndexOrDefault(dataset.hoverRadius, index, me.chart.options.elements.point.hoverRadius)) + me.getRadius(dataset.data[index]);
},
removeHoverStyle: function (point) {
var me = this;
Chart.DatasetController.prototype.removeHoverStyle.call(me, point, me.chart.options.elements.point);
var dataVal = me.chart.data.datasets[point._datasetIndex].data[point._index];
var custom = point.custom || {};
var model = point._model;
model.radius = custom.radius ? custom.radius : me.getRadius(dataVal);
}
});
};
}, {}], 17: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers,
defaults = Chart.defaults;
defaults.doughnut = {
animation: {
// Boolean - Whether we animate the rotation of the Doughnut
animateRotate: true,
// Boolean - Whether we animate scaling the Doughnut from the centre
animateScale: false
},
aspectRatio: 1,
hover: {
mode: 'single'
},
legendCallback: function (chart) {
var text = [];
text.push('<ul class="' + chart.id + '-legend">');
var data = chart.data;
var datasets = data.datasets;
var labels = data.labels;
if (datasets.length) {
for (var i = 0; i < datasets[0].data.length; ++i) {
text.push('<li><span style="background-color:' + datasets[0].backgroundColor[i] + '"></span>');
if (labels[i]) {
text.push(labels[i]);
}
text.push('</li>');
}
}
text.push('</ul>');
return text.join('');
},
legend: {
labels: {
generateLabels: function (chart) {
var data = chart.data;
if (data.labels.length && data.datasets.length) {
return data.labels.map(function (label, i) {
var meta = chart.getDatasetMeta(0);
var ds = data.datasets[0];
var arc = meta.data[i];
var custom = arc && arc.custom || {};
var getValueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;
var arcOpts = chart.options.elements.arc;
var fill = custom.backgroundColor ? custom.backgroundColor : getValueAtIndexOrDefault(ds.backgroundColor, i, arcOpts.backgroundColor);
var stroke = custom.borderColor ? custom.borderColor : getValueAtIndexOrDefault(ds.borderColor, i, arcOpts.borderColor);
var bw = custom.borderWidth ? custom.borderWidth : getValueAtIndexOrDefault(ds.borderWidth, i, arcOpts.borderWidth);
return {
text: label,
fillStyle: fill,
strokeStyle: stroke,
lineWidth: bw,
hidden: isNaN(ds.data[i]) || meta.data[i].hidden,
// Extra data used for toggling the correct item
index: i
};
});
}
return [];
}
},
onClick: function (e, legendItem) {
var index = legendItem.index;
var chart = this.chart;
var i, ilen, meta;
for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {
meta = chart.getDatasetMeta(i);
// toggle visibility of index if exists
if (meta.data[index]) {
meta.data[index].hidden = !meta.data[index].hidden;
}
}
chart.update();
}
},
// The percentage of the chart that we cut out of the middle.
cutoutPercentage: 50,
// The rotation of the chart, where the first data arc begins.
rotation: Math.PI * -0.5,
// The total circumference of the chart.
circumference: Math.PI * 2.0,
// Need to override these to give a nice default
tooltips: {
callbacks: {
title: function () {
return '';
},
label: function (tooltipItem, data) {
var dataLabel = data.labels[tooltipItem.index];
var value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];
if (helpers.isArray(dataLabel)) {
// show value on first line of multiline label
// need to clone because we are changing the value
dataLabel = dataLabel.slice();
dataLabel[0] += value;
} else {
dataLabel += value;
}
return dataLabel;
}
}
}
};
defaults.pie = helpers.clone(defaults.doughnut);
helpers.extend(defaults.pie, {
cutoutPercentage: 0
});
Chart.controllers.doughnut = Chart.controllers.pie = Chart.DatasetController.extend({
dataElementType: Chart.elements.Arc,
linkScales: helpers.noop,
// Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly
getRingIndex: function (datasetIndex) {
var ringIndex = 0;
for (var j = 0; j < datasetIndex; ++j) {
if (this.chart.isDatasetVisible(j)) {
++ringIndex;
}
}
return ringIndex;
},
update: function (reset) {
var me = this;
var chart = me.chart,
chartArea = chart.chartArea,
opts = chart.options,
arcOpts = opts.elements.arc,
availableWidth = chartArea.right - chartArea.left - arcOpts.borderWidth,
availableHeight = chartArea.bottom - chartArea.top - arcOpts.borderWidth,
minSize = Math.min(availableWidth, availableHeight),
offset = {
x: 0,
y: 0
},
meta = me.getMeta(),
cutoutPercentage = opts.cutoutPercentage,
circumference = opts.circumference;
// If the chart's circumference isn't a full circle, calculate minSize as a ratio of the width/height of the arc
if (circumference < Math.PI * 2.0) {
var startAngle = opts.rotation % (Math.PI * 2.0);
startAngle += Math.PI * 2.0 * (startAngle >= Math.PI ? -1 : startAngle < -Math.PI ? 1 : 0);
var endAngle = startAngle + circumference;
var start = {x: Math.cos(startAngle), y: Math.sin(startAngle)};
var end = {x: Math.cos(endAngle), y: Math.sin(endAngle)};
var contains0 = (startAngle <= 0 && 0 <= endAngle) || (startAngle <= Math.PI * 2.0 && Math.PI * 2.0 <= endAngle);
var contains90 = (startAngle <= Math.PI * 0.5 && Math.PI * 0.5 <= endAngle) || (startAngle <= Math.PI * 2.5 && Math.PI * 2.5 <= endAngle);
var contains180 = (startAngle <= -Math.PI && -Math.PI <= endAngle) || (startAngle <= Math.PI && Math.PI <= endAngle);
var contains270 = (startAngle <= -Math.PI * 0.5 && -Math.PI * 0.5 <= endAngle) || (startAngle <= Math.PI * 1.5 && Math.PI * 1.5 <= endAngle);
var cutout = cutoutPercentage / 100.0;
var min = {
x: contains180 ? -1 : Math.min(start.x * (start.x < 0 ? 1 : cutout), end.x * (end.x < 0 ? 1 : cutout)),
y: contains270 ? -1 : Math.min(start.y * (start.y < 0 ? 1 : cutout), end.y * (end.y < 0 ? 1 : cutout))
};
var max = {
x: contains0 ? 1 : Math.max(start.x * (start.x > 0 ? 1 : cutout), end.x * (end.x > 0 ? 1 : cutout)),
y: contains90 ? 1 : Math.max(start.y * (start.y > 0 ? 1 : cutout), end.y * (end.y > 0 ? 1 : cutout))
};
var size = {width: (max.x - min.x) * 0.5, height: (max.y - min.y) * 0.5};
minSize = Math.min(availableWidth / size.width, availableHeight / size.height);
offset = {x: (max.x + min.x) * -0.5, y: (max.y + min.y) * -0.5};
}
chart.borderWidth = me.getMaxBorderWidth(meta.data);
chart.outerRadius = Math.max((minSize - chart.borderWidth) / 2, 0);
chart.innerRadius = Math.max(cutoutPercentage ? (chart.outerRadius / 100) * (cutoutPercentage) : 1, 0);
chart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();
chart.offsetX = offset.x * chart.outerRadius;
chart.offsetY = offset.y * chart.outerRadius;
meta.total = me.calculateTotal();
me.outerRadius = chart.outerRadius - (chart.radiusLength * me.getRingIndex(me.index));
me.innerRadius = me.outerRadius - chart.radiusLength;
helpers.each(meta.data, function (arc, index) {
me.updateElement(arc, index, reset);
});
},
updateElement: function (arc, index, reset) {
var me = this;
var chart = me.chart,
chartArea = chart.chartArea,
opts = chart.options,
animationOpts = opts.animation,
centerX = (chartArea.left + chartArea.right) / 2,
centerY = (chartArea.top + chartArea.bottom) / 2,
startAngle = opts.rotation, // non reset case handled later
endAngle = opts.rotation, // non reset case handled later
dataset = me.getDataset(),
circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / (2.0 * Math.PI)),
innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius,
outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius,
valueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;
helpers.extend(arc, {
// Utility
_datasetIndex: me.index,
_index: index,
// Desired view properties
_model: {
x: centerX + chart.offsetX,
y: centerY + chart.offsetY,
startAngle: startAngle,
endAngle: endAngle,
circumference: circumference,
outerRadius: outerRadius,
innerRadius: innerRadius,
label: valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])
}
});
var model = arc._model;
// Resets the visual styles
this.removeHoverStyle(arc);
// Set correct angles if not resetting
if (!reset || !animationOpts.animateRotate) {
if (index === 0) {
model.startAngle = opts.rotation;
} else {
model.startAngle = me.getMeta().data[index - 1]._model.endAngle;
}
model.endAngle = model.startAngle + model.circumference;
}
arc.pivot();
},
removeHoverStyle: function (arc) {
Chart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc);
},
calculateTotal: function () {
var dataset = this.getDataset();
var meta = this.getMeta();
var total = 0;
var value;
helpers.each(meta.data, function (element, index) {
value = dataset.data[index];
if (!isNaN(value) && !element.hidden) {
total += Math.abs(value);
}
});
/* if (total === 0) {
total = NaN;
}*/
return total;
},
calculateCircumference: function (value) {
var total = this.getMeta().total;
if (total > 0 && !isNaN(value)) {
return (Math.PI * 2.0) * (value / total);
}
return 0;
},
// gets the max border or hover width to properly scale pie charts
getMaxBorderWidth: function (elements) {
var max = 0,
index = this.index,
length = elements.length,
borderWidth,
hoverWidth;
for (var i = 0; i < length; i++) {
borderWidth = elements[i]._model ? elements[i]._model.borderWidth : 0;
hoverWidth = elements[i]._chart ? elements[i]._chart.config.data.datasets[index].hoverBorderWidth : 0;
max = borderWidth > max ? borderWidth : max;
max = hoverWidth > max ? hoverWidth : max;
}
return max;
}
});
};
}, {}], 18: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.line = {
showLines: true,
spanGaps: false,
hover: {
mode: 'label'
},
scales: {
xAxes: [{
type: 'category',
id: 'x-axis-0'
}],
yAxes: [{
type: 'linear',
id: 'y-axis-0'
}]
}
};
function lineEnabled(dataset, options) {
return helpers.getValueOrDefault(dataset.showLine, options.showLines);
}
Chart.controllers.line = Chart.DatasetController.extend({
datasetElementType: Chart.elements.Line,
dataElementType: Chart.elements.Point,
update: function (reset) {
var me = this;
var meta = me.getMeta();
var line = meta.dataset;
var points = meta.data || [];
var options = me.chart.options;
var lineElementOptions = options.elements.line;
var scale = me.getScaleForId(meta.yAxisID);
var i, ilen, custom;
var dataset = me.getDataset();
var showLine = lineEnabled(dataset, options);
// Update Line
if (showLine) {
custom = line.custom || {};
// Compatibility: If the properties are defined with only the old name, use those values
if ((dataset.tension !== undefined) && (dataset.lineTension === undefined)) {
dataset.lineTension = dataset.tension;
}
// Utility
line._scale = scale;
line._datasetIndex = me.index;
// Data
line._children = points;
// Model
line._model = {
// Appearance
// The default behavior of lines is to break at null values, according
// to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158
// This option gives lines the ability to span gaps
spanGaps: dataset.spanGaps ? dataset.spanGaps : options.spanGaps,
tension: custom.tension ? custom.tension : helpers.getValueOrDefault(dataset.lineTension, lineElementOptions.tension),
backgroundColor: custom.backgroundColor ? custom.backgroundColor : (dataset.backgroundColor || lineElementOptions.backgroundColor),
borderWidth: custom.borderWidth ? custom.borderWidth : (dataset.borderWidth || lineElementOptions.borderWidth),
borderColor: custom.borderColor ? custom.borderColor : (dataset.borderColor || lineElementOptions.borderColor),
borderCapStyle: custom.borderCapStyle ? custom.borderCapStyle : (dataset.borderCapStyle || lineElementOptions.borderCapStyle),
borderDash: custom.borderDash ? custom.borderDash : (dataset.borderDash || lineElementOptions.borderDash),
borderDashOffset: custom.borderDashOffset ? custom.borderDashOffset : (dataset.borderDashOffset || lineElementOptions.borderDashOffset),
borderJoinStyle: custom.borderJoinStyle ? custom.borderJoinStyle : (dataset.borderJoinStyle || lineElementOptions.borderJoinStyle),
fill: custom.fill ? custom.fill : (dataset.fill !== undefined ? dataset.fill : lineElementOptions.fill),
steppedLine: custom.steppedLine ? custom.steppedLine : helpers.getValueOrDefault(dataset.steppedLine, lineElementOptions.stepped),
cubicInterpolationMode: custom.cubicInterpolationMode ? custom.cubicInterpolationMode : helpers.getValueOrDefault(dataset.cubicInterpolationMode, lineElementOptions.cubicInterpolationMode),
// Scale
scaleTop: scale.top,
scaleBottom: scale.bottom,
scaleZero: scale.getBasePixel()
};
line.pivot();
}
// Update Points
for (i = 0, ilen = points.length; i < ilen; ++i) {
me.updateElement(points[i], i, reset);
}
if (showLine && line._model.tension !== 0) {
me.updateBezierControlPoints();
}
// Now pivot the point for animation
for (i = 0, ilen = points.length; i < ilen; ++i) {
points[i].pivot();
}
},
getPointBackgroundColor: function (point, index) {
var backgroundColor = this.chart.options.elements.point.backgroundColor;
var dataset = this.getDataset();
var custom = point.custom || {};
if (custom.backgroundColor) {
backgroundColor = custom.backgroundColor;
} else if (dataset.pointBackgroundColor) {
backgroundColor = helpers.getValueAtIndexOrDefault(dataset.pointBackgroundColor, index, backgroundColor);
} else if (dataset.backgroundColor) {
backgroundColor = dataset.backgroundColor;
}
return backgroundColor;
},
getPointBorderColor: function (point, index) {
var borderColor = this.chart.options.elements.point.borderColor;
var dataset = this.getDataset();
var custom = point.custom || {};
if (custom.borderColor) {
borderColor = custom.borderColor;
} else if (dataset.pointBorderColor) {
borderColor = helpers.getValueAtIndexOrDefault(dataset.pointBorderColor, index, borderColor);
} else if (dataset.borderColor) {
borderColor = dataset.borderColor;
}
return borderColor;
},
getPointBorderWidth: function (point, index) {
var borderWidth = this.chart.options.elements.point.borderWidth;
var dataset = this.getDataset();
var custom = point.custom || {};
if (custom.borderWidth) {
borderWidth = custom.borderWidth;
} else if (dataset.pointBorderWidth) {
borderWidth = helpers.getValueAtIndexOrDefault(dataset.pointBorderWidth, index, borderWidth);
} else if (dataset.borderWidth) {
borderWidth = dataset.borderWidth;
}
return borderWidth;
},
updateElement: function (point, index, reset) {
var me = this;
var meta = me.getMeta();
var custom = point.custom || {};
var dataset = me.getDataset();
var datasetIndex = me.index;
var value = dataset.data[index];
var yScale = me.getScaleForId(meta.yAxisID);
var xScale = me.getScaleForId(meta.xAxisID);
var pointOptions = me.chart.options.elements.point;
var x, y;
var labels = me.chart.data.labels || [];
var includeOffset = (labels.length === 1 || dataset.data.length === 1) || me.chart.isCombo;
// Compatibility: If the properties are defined with only the old name, use those values
if ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {
dataset.pointRadius = dataset.radius;
}
if ((dataset.hitRadius !== undefined) && (dataset.pointHitRadius === undefined)) {
dataset.pointHitRadius = dataset.hitRadius;
}
x = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex, includeOffset);
y = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex);
// Utility
point._xScale = xScale;
point._yScale = yScale;
point._datasetIndex = datasetIndex;
point._index = index;
// Desired view properties
point._model = {
x: x,
y: y,
skip: custom.skip || isNaN(x) || isNaN(y),
// Appearance
radius: custom.radius || helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, pointOptions.radius),
pointStyle: custom.pointStyle || helpers.getValueAtIndexOrDefault(dataset.pointStyle, index, pointOptions.pointStyle),
backgroundColor: me.getPointBackgroundColor(point, index),
borderColor: me.getPointBorderColor(point, index),
borderWidth: me.getPointBorderWidth(point, index),
tension: meta.dataset._model ? meta.dataset._model.tension : 0,
steppedLine: meta.dataset._model ? meta.dataset._model.steppedLine : false,
// Tooltip
hitRadius: custom.hitRadius || helpers.getValueAtIndexOrDefault(dataset.pointHitRadius, index, pointOptions.hitRadius)
};
},
calculatePointY: function (value, index, datasetIndex) {
var me = this;
var chart = me.chart;
var meta = me.getMeta();
var yScale = me.getScaleForId(meta.yAxisID);
var sumPos = 0;
var sumNeg = 0;
var i, ds, dsMeta;
if (yScale.options.stacked) {
for (i = 0; i < datasetIndex; i++) {
ds = chart.data.datasets[i];
dsMeta = chart.getDatasetMeta(i);
if (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id && chart.isDatasetVisible(i)) {
var stackedRightValue = Number(yScale.getRightValue(ds.data[index]));
if (stackedRightValue < 0) {
sumNeg += stackedRightValue || 0;
} else {
sumPos += stackedRightValue || 0;
}
}
}
var rightValue = Number(yScale.getRightValue(value));
if (rightValue < 0) {
return yScale.getPixelForValue(sumNeg + rightValue);
}
return yScale.getPixelForValue(sumPos + rightValue);
}
return yScale.getPixelForValue(value);
},
updateBezierControlPoints: function () {
var me = this;
var meta = me.getMeta();
var area = me.chart.chartArea;
var points = (meta.data || []);
var i, ilen, point, model, controlPoints;
// Only consider points that are drawn in case the spanGaps option is used
if (meta.dataset._model.spanGaps) {
points = points.filter(function (pt) {
return !pt._model.skip;
});
}
function capControlPoint(pt, min, max) {
return Math.max(Math.min(pt, max), min);
}
if (meta.dataset._model.cubicInterpolationMode === 'monotone') {
helpers.splineCurveMonotone(points);
} else {
for (i = 0, ilen = points.length; i < ilen; ++i) {
point = points[i];
model = point._model;
controlPoints = helpers.splineCurve(
helpers.previousItem(points, i)._model,
model,
helpers.nextItem(points, i)._model,
meta.dataset._model.tension
);
model.controlPointPreviousX = controlPoints.previous.x;
model.controlPointPreviousY = controlPoints.previous.y;
model.controlPointNextX = controlPoints.next.x;
model.controlPointNextY = controlPoints.next.y;
}
}
if (me.chart.options.elements.line.capBezierPoints) {
for (i = 0, ilen = points.length; i < ilen; ++i) {
model = points[i]._model;
model.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);
model.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);
model.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);
model.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);
}
}
},
draw: function (ease) {
var me = this;
var meta = me.getMeta();
var points = meta.data || [];
var easingDecimal = ease || 1;
var i, ilen;
// Transition Point Locations
for (i = 0, ilen = points.length; i < ilen; ++i) {
points[i].transition(easingDecimal);
}
// Transition and Draw the line
if (lineEnabled(me.getDataset(), me.chart.options)) {
meta.dataset.transition(easingDecimal).draw();
}
// Draw the points
for (i = 0, ilen = points.length; i < ilen; ++i) {
points[i].draw();
}
},
setHoverStyle: function (point) {
// Point
var dataset = this.chart.data.datasets[point._datasetIndex];
var index = point._index;
var custom = point.custom || {};
var model = point._model;
model.radius = custom.hoverRadius || helpers.getValueAtIndexOrDefault(dataset.pointHoverRadius, index, this.chart.options.elements.point.hoverRadius);
model.backgroundColor = custom.hoverBackgroundColor || helpers.getValueAtIndexOrDefault(dataset.pointHoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));
model.borderColor = custom.hoverBorderColor || helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderColor, index, helpers.getHoverColor(model.borderColor));
model.borderWidth = custom.hoverBorderWidth || helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderWidth, index, model.borderWidth);
},
removeHoverStyle: function (point) {
var me = this;
var dataset = me.chart.data.datasets[point._datasetIndex];
var index = point._index;
var custom = point.custom || {};
var model = point._model;
// Compatibility: If the properties are defined with only the old name, use those values
if ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {
dataset.pointRadius = dataset.radius;
}
model.radius = custom.radius || helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, me.chart.options.elements.point.radius);
model.backgroundColor = me.getPointBackgroundColor(point, index);
model.borderColor = me.getPointBorderColor(point, index);
model.borderWidth = me.getPointBorderWidth(point, index);
}
});
};
}, {}], 19: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.polarArea = {
scale: {
type: 'radialLinear',
lineArc: true, // so that lines are circular
ticks: {
beginAtZero: true
}
},
// Boolean - Whether to animate the rotation of the chart
animation: {
animateRotate: true,
animateScale: true
},
startAngle: -0.5 * Math.PI,
aspectRatio: 1,
legendCallback: function (chart) {
var text = [];
text.push('<ul class="' + chart.id + '-legend">');
var data = chart.data;
var datasets = data.datasets;
var labels = data.labels;
if (datasets.length) {
for (var i = 0; i < datasets[0].data.length; ++i) {
text.push('<li><span style="background-color:' + datasets[0].backgroundColor[i] + '"></span>');
if (labels[i]) {
text.push(labels[i]);
}
text.push('</li>');
}
}
text.push('</ul>');
return text.join('');
},
legend: {
labels: {
generateLabels: function (chart) {
var data = chart.data;
if (data.labels.length && data.datasets.length) {
return data.labels.map(function (label, i) {
var meta = chart.getDatasetMeta(0);
var ds = data.datasets[0];
var arc = meta.data[i];
var custom = arc.custom || {};
var getValueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;
var arcOpts = chart.options.elements.arc;
var fill = custom.backgroundColor ? custom.backgroundColor : getValueAtIndexOrDefault(ds.backgroundColor, i, arcOpts.backgroundColor);
var stroke = custom.borderColor ? custom.borderColor : getValueAtIndexOrDefault(ds.borderColor, i, arcOpts.borderColor);
var bw = custom.borderWidth ? custom.borderWidth : getValueAtIndexOrDefault(ds.borderWidth, i, arcOpts.borderWidth);
return {
text: label,
fillStyle: fill,
strokeStyle: stroke,
lineWidth: bw,
hidden: isNaN(ds.data[i]) || meta.data[i].hidden,
// Extra data used for toggling the correct item
index: i
};
});
}
return [];
}
},
onClick: function (e, legendItem) {
var index = legendItem.index;
var chart = this.chart;
var i, ilen, meta;
for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {
meta = chart.getDatasetMeta(i);
meta.data[index].hidden = !meta.data[index].hidden;
}
chart.update();
}
},
// Need to override these to give a nice default
tooltips: {
callbacks: {
title: function () {
return '';
},
label: function (tooltipItem, data) {
return data.labels[tooltipItem.index] + ': ' + tooltipItem.yLabel;
}
}
}
};
Chart.controllers.polarArea = Chart.DatasetController.extend({
dataElementType: Chart.elements.Arc,
linkScales: helpers.noop,
update: function (reset) {
var me = this;
var chart = me.chart;
var chartArea = chart.chartArea;
var meta = me.getMeta();
var opts = chart.options;
var arcOpts = opts.elements.arc;
var minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);
chart.outerRadius = Math.max((minSize - arcOpts.borderWidth / 2) / 2, 0);
chart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);
chart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();
me.outerRadius = chart.outerRadius - (chart.radiusLength * me.index);
me.innerRadius = me.outerRadius - chart.radiusLength;
meta.count = me.countVisibleElements();
helpers.each(meta.data, function (arc, index) {
me.updateElement(arc, index, reset);
});
},
updateElement: function (arc, index, reset) {
var me = this;
var chart = me.chart;
var dataset = me.getDataset();
var opts = chart.options;
var animationOpts = opts.animation;
var scale = chart.scale;
var getValueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;
var labels = chart.data.labels;
var circumference = me.calculateCircumference(dataset.data[index]);
var centerX = scale.xCenter;
var centerY = scale.yCenter;
// If there is NaN data before us, we need to calculate the starting angle correctly.
// We could be way more efficient here, but its unlikely that the polar area chart will have a lot of data
var visibleCount = 0;
var meta = me.getMeta();
for (var i = 0; i < index; ++i) {
if (!isNaN(dataset.data[i]) && !meta.data[i].hidden) {
++visibleCount;
}
}
// var negHalfPI = -0.5 * Math.PI;
var datasetStartAngle = opts.startAngle;
var distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);
var startAngle = datasetStartAngle + (circumference * visibleCount);
var endAngle = startAngle + (arc.hidden ? 0 : circumference);
var resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);
helpers.extend(arc, {
// Utility
_datasetIndex: me.index,
_index: index,
_scale: scale,
// Desired view properties
_model: {
x: centerX,
y: centerY,
innerRadius: 0,
outerRadius: reset ? resetRadius : distance,
startAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,
endAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,
label: getValueAtIndexOrDefault(labels, index, labels[index])
}
});
// Apply border and fill style
me.removeHoverStyle(arc);
arc.pivot();
},
removeHoverStyle: function (arc) {
Chart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc);
},
countVisibleElements: function () {
var dataset = this.getDataset();
var meta = this.getMeta();
var count = 0;
helpers.each(meta.data, function (element, index) {
if (!isNaN(dataset.data[index]) && !element.hidden) {
count++;
}
});
return count;
},
calculateCircumference: function (value) {
var count = this.getMeta().count;
if (count > 0 && !isNaN(value)) {
return (2 * Math.PI) / count;
}
return 0;
}
});
};
}, {}], 20: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.radar = {
aspectRatio: 1,
scale: {
type: 'radialLinear'
},
elements: {
line: {
tension: 0 // no bezier in radar
}
}
};
Chart.controllers.radar = Chart.DatasetController.extend({
datasetElementType: Chart.elements.Line,
dataElementType: Chart.elements.Point,
linkScales: helpers.noop,
update: function (reset) {
var me = this;
var meta = me.getMeta();
var line = meta.dataset;
var points = meta.data;
var custom = line.custom || {};
var dataset = me.getDataset();
var lineElementOptions = me.chart.options.elements.line;
var scale = me.chart.scale;
// Compatibility: If the properties are defined with only the old name, use those values
if ((dataset.tension !== undefined) && (dataset.lineTension === undefined)) {
dataset.lineTension = dataset.tension;
}
helpers.extend(meta.dataset, {
// Utility
_datasetIndex: me.index,
// Data
_children: points,
_loop: true,
// Model
_model: {
// Appearance
tension: custom.tension ? custom.tension : helpers.getValueOrDefault(dataset.lineTension, lineElementOptions.tension),
backgroundColor: custom.backgroundColor ? custom.backgroundColor : (dataset.backgroundColor || lineElementOptions.backgroundColor),
borderWidth: custom.borderWidth ? custom.borderWidth : (dataset.borderWidth || lineElementOptions.borderWidth),
borderColor: custom.borderColor ? custom.borderColor : (dataset.borderColor || lineElementOptions.borderColor),
fill: custom.fill ? custom.fill : (dataset.fill !== undefined ? dataset.fill : lineElementOptions.fill),
borderCapStyle: custom.borderCapStyle ? custom.borderCapStyle : (dataset.borderCapStyle || lineElementOptions.borderCapStyle),
borderDash: custom.borderDash ? custom.borderDash : (dataset.borderDash || lineElementOptions.borderDash),
borderDashOffset: custom.borderDashOffset ? custom.borderDashOffset : (dataset.borderDashOffset || lineElementOptions.borderDashOffset),
borderJoinStyle: custom.borderJoinStyle ? custom.borderJoinStyle : (dataset.borderJoinStyle || lineElementOptions.borderJoinStyle),
// Scale
scaleTop: scale.top,
scaleBottom: scale.bottom,
scaleZero: scale.getBasePosition()
}
});
meta.dataset.pivot();
// Update Points
helpers.each(points, function (point, index) {
me.updateElement(point, index, reset);
}, me);
// Update bezier control points
me.updateBezierControlPoints();
},
updateElement: function (point, index, reset) {
var me = this;
var custom = point.custom || {};
var dataset = me.getDataset();
var scale = me.chart.scale;
var pointElementOptions = me.chart.options.elements.point;
var pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);
helpers.extend(point, {
// Utility
_datasetIndex: me.index,
_index: index,
_scale: scale,
// Desired view properties
_model: {
x: reset ? scale.xCenter : pointPosition.x, // value not used in dataset scale, but we want a consistent API between scales
y: reset ? scale.yCenter : pointPosition.y,
// Appearance
tension: custom.tension ? custom.tension : helpers.getValueOrDefault(dataset.tension, me.chart.options.elements.line.tension),
radius: custom.radius ? custom.radius : helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, pointElementOptions.radius),
backgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.pointBackgroundColor, index, pointElementOptions.backgroundColor),
borderColor: custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.pointBorderColor, index, pointElementOptions.borderColor),
borderWidth: custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.pointBorderWidth, index, pointElementOptions.borderWidth),
pointStyle: custom.pointStyle ? custom.pointStyle : helpers.getValueAtIndexOrDefault(dataset.pointStyle, index, pointElementOptions.pointStyle),
// Tooltip
hitRadius: custom.hitRadius ? custom.hitRadius : helpers.getValueAtIndexOrDefault(dataset.hitRadius, index, pointElementOptions.hitRadius)
}
});
point._model.skip = custom.skip ? custom.skip : (isNaN(point._model.x) || isNaN(point._model.y));
},
updateBezierControlPoints: function () {
var chartArea = this.chart.chartArea;
var meta = this.getMeta();
helpers.each(meta.data, function (point, index) {
var model = point._model;
var controlPoints = helpers.splineCurve(
helpers.previousItem(meta.data, index, true)._model,
model,
helpers.nextItem(meta.data, index, true)._model,
model.tension
);
// Prevent the bezier going outside of the bounds of the graph
model.controlPointPreviousX = Math.max(Math.min(controlPoints.previous.x, chartArea.right), chartArea.left);
model.controlPointPreviousY = Math.max(Math.min(controlPoints.previous.y, chartArea.bottom), chartArea.top);
model.controlPointNextX = Math.max(Math.min(controlPoints.next.x, chartArea.right), chartArea.left);
model.controlPointNextY = Math.max(Math.min(controlPoints.next.y, chartArea.bottom), chartArea.top);
// Now pivot the point for animation
point.pivot();
});
},
draw: function (ease) {
var meta = this.getMeta();
var easingDecimal = ease || 1;
// Transition Point Locations
helpers.each(meta.data, function (point) {
point.transition(easingDecimal);
});
// Transition and Draw the line
meta.dataset.transition(easingDecimal).draw();
// Draw the points
helpers.each(meta.data, function (point) {
point.draw();
});
},
setHoverStyle: function (point) {
// Point
var dataset = this.chart.data.datasets[point._datasetIndex];
var custom = point.custom || {};
var index = point._index;
var model = point._model;
model.radius = custom.hoverRadius ? custom.hoverRadius : helpers.getValueAtIndexOrDefault(dataset.pointHoverRadius, index, this.chart.options.elements.point.hoverRadius);
model.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : helpers.getValueAtIndexOrDefault(dataset.pointHoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));
model.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderColor, index, helpers.getHoverColor(model.borderColor));
model.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderWidth, index, model.borderWidth);
},
removeHoverStyle: function (point) {
var dataset = this.chart.data.datasets[point._datasetIndex];
var custom = point.custom || {};
var index = point._index;
var model = point._model;
var pointElementOptions = this.chart.options.elements.point;
model.radius = custom.radius ? custom.radius : helpers.getValueAtIndexOrDefault(dataset.radius, index, pointElementOptions.radius);
model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.pointBackgroundColor, index, pointElementOptions.backgroundColor);
model.borderColor = custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.pointBorderColor, index, pointElementOptions.borderColor);
model.borderWidth = custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.pointBorderWidth, index, pointElementOptions.borderWidth);
}
});
};
}, {}], 21: [function (require, module, exports) {
/* global window: false */
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.global.animation = {
duration: 1000,
easing: 'easeOutQuart',
onProgress: helpers.noop,
onComplete: helpers.noop
};
Chart.Animation = Chart.Element.extend({
currentStep: null, // the current animation step
numSteps: 60, // default number of steps
easing: '', // the easing to use for this animation
render: null, // render function used by the animation service
onAnimationProgress: null, // user specified callback to fire on each step of the animation
onAnimationComplete: null // user specified callback to fire when the animation finishes
});
Chart.animationService = {
frameDuration: 17,
animations: [],
dropFrames: 0,
request: null,
/**
* @function Chart.animationService.addAnimation
* @param chartInstance {ChartController} the chart to animate
* @param animationObject {IAnimation} the animation that we will animate
* @param duration {Number} length of animation in ms
* @param lazy {Boolean} if true, the chart is not marked as animating to enable more responsive interactions
*/
addAnimation: function (chartInstance, animationObject, duration, lazy) {
var me = this;
if (!lazy) {
chartInstance.animating = true;
}
for (var index = 0; index < me.animations.length; ++index) {
if (me.animations[index].chartInstance === chartInstance) {
// replacing an in progress animation
me.animations[index].animationObject = animationObject;
return;
}
}
me.animations.push({
chartInstance: chartInstance,
animationObject: animationObject
});
// If there are no animations queued, manually kickstart a digest, for lack of a better word
if (me.animations.length === 1) {
me.requestAnimationFrame();
}
},
// Cancel the animation for a given chart instance
cancelAnimation: function (chartInstance) {
var index = helpers.findIndex(this.animations, function (animationWrapper) {
return animationWrapper.chartInstance === chartInstance;
});
if (index !== -1) {
this.animations.splice(index, 1);
chartInstance.animating = false;
}
},
requestAnimationFrame: function () {
var me = this;
if (me.request === null) {
// Skip animation frame requests until the active one is executed.
// This can happen when processing mouse events, e.g. 'mousemove'
// and 'mouseout' events will trigger multiple renders.
me.request = helpers.requestAnimFrame.call(window, function () {
me.request = null;
me.startDigest();
});
}
},
startDigest: function () {
var me = this;
var startTime = Date.now();
var framesToDrop = 0;
if (me.dropFrames > 1) {
framesToDrop = Math.floor(me.dropFrames);
me.dropFrames = me.dropFrames % 1;
}
var i = 0;
while (i < me.animations.length) {
if (me.animations[i].animationObject.currentStep === null) {
me.animations[i].animationObject.currentStep = 0;
}
me.animations[i].animationObject.currentStep += 1 + framesToDrop;
if (me.animations[i].animationObject.currentStep > me.animations[i].animationObject.numSteps) {
me.animations[i].animationObject.currentStep = me.animations[i].animationObject.numSteps;
}
me.animations[i].animationObject.render(me.animations[i].chartInstance, me.animations[i].animationObject);
if (me.animations[i].animationObject.onAnimationProgress && me.animations[i].animationObject.onAnimationProgress.call) {
me.animations[i].animationObject.onAnimationProgress.call(me.animations[i].chartInstance, me.animations[i]);
}
if (me.animations[i].animationObject.currentStep === me.animations[i].animationObject.numSteps) {
if (me.animations[i].animationObject.onAnimationComplete && me.animations[i].animationObject.onAnimationComplete.call) {
me.animations[i].animationObject.onAnimationComplete.call(me.animations[i].chartInstance, me.animations[i]);
}
// executed the last frame. Remove the animation.
me.animations[i].chartInstance.animating = false;
me.animations.splice(i, 1);
} else {
++i;
}
}
var endTime = Date.now();
var dropFrames = (endTime - startTime) / me.frameDuration;
me.dropFrames += dropFrames;
// Do we have more stuff to animate?
if (me.animations.length > 0) {
me.requestAnimationFrame();
}
}
};
};
}, {}], 22: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
// Global Chart canvas helpers object for drawing items to canvas
var helpers = Chart.canvasHelpers = {};
helpers.drawPoint = function (ctx, pointStyle, radius, x, y) {
var type, edgeLength, xOffset, yOffset, height, size;
if (typeof pointStyle === 'object') {
type = pointStyle.toString();
if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {
ctx.drawImage(pointStyle, x - pointStyle.width / 2, y - pointStyle.height / 2);
return;
}
}
if (isNaN(radius) || radius <= 0) {
return;
}
switch (pointStyle) {
// Default includes circle
default:
ctx.beginPath();
ctx.arc(x, y, radius, 0, Math.PI * 2);
ctx.closePath();
ctx.fill();
break;
case 'triangle':
ctx.beginPath();
edgeLength = 3 * radius / Math.sqrt(3);
height = edgeLength * Math.sqrt(3) / 2;
ctx.moveTo(x - edgeLength / 2, y + height / 3);
ctx.lineTo(x + edgeLength / 2, y + height / 3);
ctx.lineTo(x, y - 2 * height / 3);
ctx.closePath();
ctx.fill();
break;
case 'rect':
size = 1 / Math.SQRT2 * radius;
ctx.beginPath();
ctx.fillRect(x - size, y - size, 2 * size, 2 * size);
ctx.strokeRect(x - size, y - size, 2 * size, 2 * size);
break;
case 'rectRot':
size = 1 / Math.SQRT2 * radius;
ctx.beginPath();
ctx.moveTo(x - size, y);
ctx.lineTo(x, y + size);
ctx.lineTo(x + size, y);
ctx.lineTo(x, y - size);
ctx.closePath();
ctx.fill();
break;
case 'cross':
ctx.beginPath();
ctx.moveTo(x, y + radius);
ctx.lineTo(x, y - radius);
ctx.moveTo(x - radius, y);
ctx.lineTo(x + radius, y);
ctx.closePath();
break;
case 'crossRot':
ctx.beginPath();
xOffset = Math.cos(Math.PI / 4) * radius;
yOffset = Math.sin(Math.PI / 4) * radius;
ctx.moveTo(x - xOffset, y - yOffset);
ctx.lineTo(x + xOffset, y + yOffset);
ctx.moveTo(x - xOffset, y + yOffset);
ctx.lineTo(x + xOffset, y - yOffset);
ctx.closePath();
break;
case 'star':
ctx.beginPath();
ctx.moveTo(x, y + radius);
ctx.lineTo(x, y - radius);
ctx.moveTo(x - radius, y);
ctx.lineTo(x + radius, y);
xOffset = Math.cos(Math.PI / 4) * radius;
yOffset = Math.sin(Math.PI / 4) * radius;
ctx.moveTo(x - xOffset, y - yOffset);
ctx.lineTo(x + xOffset, y + yOffset);
ctx.moveTo(x - xOffset, y + yOffset);
ctx.lineTo(x + xOffset, y - yOffset);
ctx.closePath();
break;
case 'line':
ctx.beginPath();
ctx.moveTo(x - radius, y);
ctx.lineTo(x + radius, y);
ctx.closePath();
break;
case 'dash':
ctx.beginPath();
ctx.moveTo(x, y);
ctx.lineTo(x + radius, y);
ctx.closePath();
break;
}
ctx.stroke();
};
};
}, {}], 23: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
// Create a dictionary of chart types, to allow for extension of existing types
Chart.types = {};
// Store a reference to each instance - allowing us to globally resize chart instances on window resize.
// Destroy method on the chart will remove the instance of the chart from this reference.
Chart.instances = {};
// Controllers available for dataset visualization eg. bar, line, slice, etc.
Chart.controllers = {};
/**
* The "used" size is the final value of a dimension property after all calculations have
* been performed. This method uses the computed style of `element` but returns undefined
* if the computed style is not expressed in pixels. That can happen in some cases where
* `element` has a size relative to its parent and this last one is not yet displayed,
* for example because of `display: none` on a parent node.
* TODO(SB) Move this method in the upcoming core.platform class.
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value
* @returns {Number} Size in pixels or undefined if unknown.
*/
function readUsedSize(element, property) {
var value = helpers.getStyle(element, property);
var matches = value && value.match(/(\d+)px/);
return matches ? Number(matches[1]) : undefined;
}
/**
* Initializes the canvas style and render size without modifying the canvas display size,
* since responsiveness is handled by the controller.resize() method. The config is used
* to determine the aspect ratio to apply in case no explicit height has been specified.
* TODO(SB) Move this method in the upcoming core.platform class.
*/
function initCanvas(canvas, config) {
var style = canvas.style;
// NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it
// returns null or '' if no explicit value has been set to the canvas attribute.
var renderHeight = canvas.getAttribute('height');
var renderWidth = canvas.getAttribute('width');
// Chart.js modifies some canvas values that we want to restore on destroy
canvas._chartjs = {
initial: {
height: renderHeight,
width: renderWidth,
style: {
display: style.display,
height: style.height,
width: style.width
}
}
};
// Force canvas to display as block to avoid extra space caused by inline
// elements, which would interfere with the responsive resize process.
// https://github.com/chartjs/Chart.js/issues/2538
style.display = style.display || 'block';
if (renderWidth === null || renderWidth === '') {
var displayWidth = readUsedSize(canvas, 'width');
if (displayWidth !== undefined) {
canvas.width = displayWidth;
}
}
if (renderHeight === null || renderHeight === '') {
if (canvas.style.height === '') {
// If no explicit render height and style height, let's apply the aspect ratio,
// which one can be specified by the user but also by charts as default option
// (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.
canvas.height = canvas.width / (config.options.aspectRatio || 2);
} else {
var displayHeight = readUsedSize(canvas, 'height');
if (displayWidth !== undefined) {
canvas.height = displayHeight;
}
}
}
return canvas;
}
/**
* Restores the canvas initial state, such as render/display sizes and style.
* TODO(SB) Move this method in the upcoming core.platform class.
*/
function releaseCanvas(canvas) {
if (!canvas._chartjs) {
return;
}
var initial = canvas._chartjs.initial;
['height', 'width'].forEach(function (prop) {
var value = initial[prop];
if (value === undefined || value === null) {
canvas.removeAttribute(prop);
} else {
canvas.setAttribute(prop, value);
}
});
helpers.each(initial.style || {}, function (value, key) {
canvas.style[key] = value;
});
// The canvas render size might have been changed (and thus the state stack discarded),
// we can't use save() and restore() to restore the initial state. So make sure that at
// least the canvas context is reset to the default state by setting the canvas width.
// https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html
canvas.width = canvas.width;
delete canvas._chartjs;
}
/**
* TODO(SB) Move this method in the upcoming core.platform class.
*/
function acquireContext(item, config) {
if (typeof item === 'string') {
item = document.getElementById(item);
} else if (item.length) {
// Support for array based queries (such as jQuery)
item = item[0];
}
if (item && item.canvas) {
// Support for any object associated to a canvas (including a context2d)
item = item.canvas;
}
if (item instanceof HTMLCanvasElement) {
// To prevent canvas fingerprinting, some add-ons undefine the getContext
// method, for example: https://github.com/kkapsner/CanvasBlocker
// https://github.com/chartjs/Chart.js/issues/2807
var context = item.getContext && item.getContext('2d');
if (context instanceof CanvasRenderingContext2D) {
initCanvas(item, config);
return context;
}
}
return null;
}
/**
* Initializes the given config with global and chart default values.
*/
function initConfig(config) {
config = config || {};
// Do NOT use configMerge() for the data object because this method merges arrays
// and so would change references to labels and datasets, preventing data updates.
var data = config.data = config.data || {};
data.datasets = data.datasets || [];
data.labels = data.labels || [];
config.options = helpers.configMerge(
Chart.defaults.global,
Chart.defaults[config.type],
config.options || {});
return config;
}
/**
* @class Chart.Controller
* The main controller of a chart.
*/
Chart.Controller = function (item, config, instance) {
var me = this;
config = initConfig(config);
var context = acquireContext(item, config);
var canvas = context && context.canvas;
var height = canvas && canvas.height;
var width = canvas && canvas.width;
instance.ctx = context;
instance.canvas = canvas;
instance.config = config;
instance.width = width;
instance.height = height;
instance.aspectRatio = height ? width / height : null;
me.id = helpers.uid();
me.chart = instance;
me.config = config;
me.options = config.options;
me._bufferedRender = false;
// Add the chart instance to the global namespace
Chart.instances[me.id] = me;
Object.defineProperty(me, 'data', {
get: function () {
return me.config.data;
}
});
if (!context || !canvas) {
// The given item is not a compatible context2d element, let's return before finalizing
// the chart initialization but after setting basic chart / controller properties that
// can help to figure out that the chart is not valid (e.g chart.canvas !== null);
// https://github.com/chartjs/Chart.js/issues/2807
console.error("Failed to create chart: can't acquire context from the given item");
return me;
}
helpers.retinaScale(instance);
// Responsiveness is currently based on the use of an iframe, however this method causes
// performance issues and could be troublesome when used with ad blockers. So make sure
// that the user is still able to create a chart without iframe when responsive is false.
// See https://github.com/chartjs/Chart.js/issues/2210
if (me.options.responsive) {
helpers.addResizeListener(canvas.parentNode, function () {
me.resize();
});
// Initial resize before chart draws (must be silent to preserve initial animations).
me.resize(true);
}
me.initialize();
return me;
};
helpers.extend(Chart.Controller.prototype, /** @lends Chart.Controller */ {
initialize: function () {
var me = this;
// Before init plugin notification
Chart.plugins.notify('beforeInit', [me]);
me.bindEvents();
// Make sure controllers are built first so that each dataset is bound to an axis before the scales
// are built
me.ensureScalesHaveIDs();
me.buildOrUpdateControllers();
me.buildScales();
me.updateLayout();
me.resetElements();
me.initToolTip();
me.update();
// After init plugin notification
Chart.plugins.notify('afterInit', [me]);
return me;
},
clear: function () {
helpers.clear(this.chart);
return this;
},
stop: function () {
// Stops any current animation loop occurring
Chart.animationService.cancelAnimation(this);
return this;
},
resize: function (silent) {
var me = this;
var chart = me.chart;
var options = me.options;
var canvas = chart.canvas;
var aspectRatio = (options.maintainAspectRatio && chart.aspectRatio) || null;
// the canvas render width and height will be casted to integers so make sure that
// the canvas display style uses the same integer values to avoid blurring effect.
var newWidth = Math.floor(helpers.getMaximumWidth(canvas));
var newHeight = Math.floor(aspectRatio ? newWidth / aspectRatio : helpers.getMaximumHeight(canvas));
if (chart.width === newWidth && chart.height === newHeight) {
return;
}
canvas.width = chart.width = newWidth;
canvas.height = chart.height = newHeight;
canvas.style.width = newWidth + 'px';
canvas.style.height = newHeight + 'px';
helpers.retinaScale(chart);
// Notify any plugins about the resize
var newSize = {width: newWidth, height: newHeight};
Chart.plugins.notify('resize', [me, newSize]);
// Notify of resize
if (me.options.onResize) {
me.options.onResize(me, newSize);
}
if (!silent) {
me.stop();
me.update(me.options.responsiveAnimationDuration);
}
},
ensureScalesHaveIDs: function () {
var options = this.options;
var scalesOptions = options.scales || {};
var scaleOptions = options.scale;
helpers.each(scalesOptions.xAxes, function (xAxisOptions, index) {
xAxisOptions.id = xAxisOptions.id || ('x-axis-' + index);
});
helpers.each(scalesOptions.yAxes, function (yAxisOptions, index) {
yAxisOptions.id = yAxisOptions.id || ('y-axis-' + index);
});
if (scaleOptions) {
scaleOptions.id = scaleOptions.id || 'scale';
}
},
/**
* Builds a map of scale ID to scale object for future lookup.
*/
buildScales: function () {
var me = this;
var options = me.options;
var scales = me.scales = {};
var items = [];
if (options.scales) {
items = items.concat(
(options.scales.xAxes || []).map(function (xAxisOptions) {
return {options: xAxisOptions, dtype: 'category'};
}),
(options.scales.yAxes || []).map(function (yAxisOptions) {
return {options: yAxisOptions, dtype: 'linear'};
})
);
}
if (options.scale) {
items.push({options: options.scale, dtype: 'radialLinear', isDefault: true});
}
helpers.each(items, function (item) {
var scaleOptions = item.options;
var scaleType = helpers.getValueOrDefault(scaleOptions.type, item.dtype);
var scaleClass = Chart.scaleService.getScaleConstructor(scaleType);
if (!scaleClass) {
return;
}
var scale = new scaleClass({
id: scaleOptions.id,
options: scaleOptions,
ctx: me.chart.ctx,
chart: me
});
scales[scale.id] = scale;
// TODO(SB): I think we should be able to remove this custom case (options.scale)
// and consider it as a regular scale part of the "scales"" map only! This would
// make the logic easier and remove some useless? custom code.
if (item.isDefault) {
me.scale = scale;
}
});
Chart.scaleService.addScalesToLayout(this);
},
updateLayout: function () {
Chart.layoutService.update(this, this.chart.width, this.chart.height);
},
buildOrUpdateControllers: function () {
var me = this;
var types = [];
var newControllers = [];
helpers.each(me.data.datasets, function (dataset, datasetIndex) {
var meta = me.getDatasetMeta(datasetIndex);
if (!meta.type) {
meta.type = dataset.type || me.config.type;
}
types.push(meta.type);
if (meta.controller) {
meta.controller.updateIndex(datasetIndex);
} else {
meta.controller = new Chart.controllers[meta.type](me, datasetIndex);
newControllers.push(meta.controller);
}
}, me);
if (types.length > 1) {
for (var i = 1; i < types.length; i++) {
if (types[i] !== types[i - 1]) {
me.isCombo = true;
break;
}
}
}
return newControllers;
},
/**
* Reset the elements of all datasets
* @method resetElements
* @private
*/
resetElements: function () {
var me = this;
helpers.each(me.data.datasets, function (dataset, datasetIndex) {
me.getDatasetMeta(datasetIndex).controller.reset();
}, me);
},
/**
* Resets the chart back to it's state before the initial animation
* @method reset
*/
reset: function () {
this.resetElements();
this.tooltip.initialize();
},
update: function (animationDuration, lazy) {
var me = this;
Chart.plugins.notify('beforeUpdate', [me]);
// In case the entire data object changed
me.tooltip._data = me.data;
// Make sure dataset controllers are updated and new controllers are reset
var newControllers = me.buildOrUpdateControllers();
// Make sure all dataset controllers have correct meta data counts
helpers.each(me.data.datasets, function (dataset, datasetIndex) {
me.getDatasetMeta(datasetIndex).controller.buildOrUpdateElements();
}, me);
Chart.layoutService.update(me, me.chart.width, me.chart.height);
// Apply changes to the datasets that require the scales to have been calculated i.e BorderColor changes
Chart.plugins.notify('afterScaleUpdate', [me]);
// Can only reset the new controllers after the scales have been updated
helpers.each(newControllers, function (controller) {
controller.reset();
});
me.updateDatasets();
// Do this before render so that any plugins that need final scale updates can use it
Chart.plugins.notify('afterUpdate', [me]);
if (me._bufferedRender) {
me._bufferedRequest = {
lazy: lazy,
duration: animationDuration
};
} else {
me.render(animationDuration, lazy);
}
},
/**
* @method beforeDatasetsUpdate
* @description Called before all datasets are updated. If a plugin returns false,
* the datasets update will be cancelled until another chart update is triggered.
* @param {Object} instance the chart instance being updated.
* @returns {Boolean} false to cancel the datasets update.
* @memberof Chart.PluginBase
* @since version 2.1.5
* @instance
*/
/**
* @method afterDatasetsUpdate
* @description Called after all datasets have been updated. Note that this
* extension will not be called if the datasets update has been cancelled.
* @param {Object} instance the chart instance being updated.
* @memberof Chart.PluginBase
* @since version 2.1.5
* @instance
*/
/**
* Updates all datasets unless a plugin returns false to the beforeDatasetsUpdate
* extension, in which case no datasets will be updated and the afterDatasetsUpdate
* notification will be skipped.
* @protected
* @instance
*/
updateDatasets: function () {
var me = this;
var i, ilen;
if (Chart.plugins.notify('beforeDatasetsUpdate', [me])) {
for (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {
me.getDatasetMeta(i).controller.update();
}
Chart.plugins.notify('afterDatasetsUpdate', [me]);
}
},
render: function (duration, lazy) {
var me = this;
Chart.plugins.notify('beforeRender', [me]);
var animationOptions = me.options.animation;
if (animationOptions && ((typeof duration !== 'undefined' && duration !== 0) || (typeof duration === 'undefined' && animationOptions.duration !== 0))) {
var animation = new Chart.Animation();
animation.numSteps = (duration || animationOptions.duration) / 16.66; // 60 fps
animation.easing = animationOptions.easing;
// render function
animation.render = function (chartInstance, animationObject) {
var easingFunction = helpers.easingEffects[animationObject.easing];
var stepDecimal = animationObject.currentStep / animationObject.numSteps;
var easeDecimal = easingFunction(stepDecimal);
chartInstance.draw(easeDecimal, stepDecimal, animationObject.currentStep);
};
// user events
animation.onAnimationProgress = animationOptions.onProgress;
animation.onAnimationComplete = animationOptions.onComplete;
Chart.animationService.addAnimation(me, animation, duration, lazy);
} else {
me.draw();
if (animationOptions && animationOptions.onComplete && animationOptions.onComplete.call) {
animationOptions.onComplete.call(me);
}
}
return me;
},
draw: function (ease) {
var me = this;
var easingDecimal = ease || 1;
me.clear();
Chart.plugins.notify('beforeDraw', [me, easingDecimal]);
// Draw all the scales
helpers.each(me.boxes, function (box) {
box.draw(me.chartArea);
}, me);
if (me.scale) {
me.scale.draw();
}
Chart.plugins.notify('beforeDatasetsDraw', [me, easingDecimal]);
// Draw each dataset via its respective controller (reversed to support proper line stacking)
helpers.each(me.data.datasets, function (dataset, datasetIndex) {
if (me.isDatasetVisible(datasetIndex)) {
me.getDatasetMeta(datasetIndex).controller.draw(ease);
}
}, me, true);
Chart.plugins.notify('afterDatasetsDraw', [me, easingDecimal]);
// Finally draw the tooltip
me.tooltip.transition(easingDecimal).draw();
Chart.plugins.notify('afterDraw', [me, easingDecimal]);
},
// Get the single element that was clicked on
// @return : An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw
getElementAtEvent: function (e) {
return Chart.Interaction.modes.single(this, e);
},
getElementsAtEvent: function (e) {
return Chart.Interaction.modes.label(this, e, {intersect: true});
},
getElementsAtXAxis: function (e) {
return Chart.Interaction.modes['x-axis'](this, e, {intersect: true});
},
getElementsAtEventForMode: function (e, mode, options) {
var method = Chart.Interaction.modes[mode];
if (typeof method === 'function') {
return method(this, e, options);
}
return [];
},
getDatasetAtEvent: function (e) {
return Chart.Interaction.modes.dataset(this, e);
},
getDatasetMeta: function (datasetIndex) {
var me = this;
var dataset = me.data.datasets[datasetIndex];
if (!dataset._meta) {
dataset._meta = {};
}
var meta = dataset._meta[me.id];
if (!meta) {
meta = dataset._meta[me.id] = {
type: null,
data: [],
dataset: null,
controller: null,
hidden: null, // See isDatasetVisible() comment
xAxisID: null,
yAxisID: null
};
}
return meta;
},
getVisibleDatasetCount: function () {
var count = 0;
for (var i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {
if (this.isDatasetVisible(i)) {
count++;
}
}
return count;
},
isDatasetVisible: function (datasetIndex) {
var meta = this.getDatasetMeta(datasetIndex);
// meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,
// the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.
return typeof meta.hidden === 'boolean' ? !meta.hidden : !this.data.datasets[datasetIndex].hidden;
},
generateLegend: function () {
return this.options.legendCallback(this);
},
destroy: function () {
var me = this;
var canvas = me.chart.canvas;
var meta, i, ilen;
me.stop();
// dataset controllers need to cleanup associated data
for (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {
meta = me.getDatasetMeta(i);
if (meta.controller) {
meta.controller.destroy();
meta.controller = null;
}
}
if (canvas) {
helpers.unbindEvents(me, me.events);
helpers.removeResizeListener(canvas.parentNode);
helpers.clear(me.chart);
releaseCanvas(canvas);
me.chart.canvas = null;
me.chart.ctx = null;
}
Chart.plugins.notify('destroy', [me]);
delete Chart.instances[me.id];
},
toBase64Image: function () {
return this.chart.canvas.toDataURL.apply(this.chart.canvas, arguments);
},
initToolTip: function () {
var me = this;
me.tooltip = new Chart.Tooltip({
_chart: me.chart,
_chartInstance: me,
_data: me.data,
_options: me.options.tooltips
}, me);
me.tooltip.initialize();
},
bindEvents: function () {
var me = this;
helpers.bindEvents(me, me.options.events, function (evt) {
me.eventHandler(evt);
});
},
updateHoverStyle: function (elements, mode, enabled) {
var method = enabled ? 'setHoverStyle' : 'removeHoverStyle';
var element, i, ilen;
for (i = 0, ilen = elements.length; i < ilen; ++i) {
element = elements[i];
if (element) {
this.getDatasetMeta(element._datasetIndex).controller[method](element);
}
}
},
eventHandler: function (e) {
var me = this;
var legend = me.legend;
var tooltip = me.tooltip;
var hoverOptions = me.options.hover;
// Buffer any update calls so that renders do not occur
me._bufferedRender = true;
me._bufferedRequest = null;
var changed = me.handleEvent(e);
changed |= legend && legend.handleEvent(e);
changed |= tooltip && tooltip.handleEvent(e);
var bufferedRequest = me._bufferedRequest;
if (bufferedRequest) {
// If we have an update that was triggered, we need to do a normal render
me.render(bufferedRequest.duration, bufferedRequest.lazy);
} else if (changed && !me.animating) {
// If entering, leaving, or changing elements, animate the change via pivot
me.stop();
// We only need to render at this point. Updating will cause scales to be
// recomputed generating flicker & using more memory than necessary.
me.render(hoverOptions.animationDuration, true);
}
me._bufferedRender = false;
me._bufferedRequest = null;
return me;
},
/**
* Handle an event
* @private
* param e {Event} the event to handle
* @return {Boolean} true if the chart needs to re-render
*/
handleEvent: function (e) {
var me = this;
var options = me.options || {};
var hoverOptions = options.hover;
var changed = false;
me.lastActive = me.lastActive || [];
// Find Active Elements for hover and tooltips
if (e.type === 'mouseout') {
me.active = [];
} else {
me.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);
}
// On Hover hook
if (hoverOptions.onHover) {
hoverOptions.onHover.call(me, me.active);
}
if (e.type === 'mouseup' || e.type === 'click') {
if (options.onClick) {
options.onClick.call(me, e, me.active);
}
}
// Remove styling for last active (even if it may still be active)
if (me.lastActive.length) {
me.updateHoverStyle(me.lastActive, hoverOptions.mode, false);
}
// Built in hover styling
if (me.active.length && hoverOptions.mode) {
me.updateHoverStyle(me.active, hoverOptions.mode, true);
}
changed = !helpers.arrayEquals(me.active, me.lastActive);
// Remember Last Actives
me.lastActive = me.active;
return changed;
}
});
};
}, {}], 24: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
var arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];
/**
* Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',
* 'unshift') and notify the listener AFTER the array has been altered. Listeners are
* called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.
*/
function listenArrayEvents(array, listener) {
if (array._chartjs) {
array._chartjs.listeners.push(listener);
return;
}
Object.defineProperty(array, '_chartjs', {
configurable: true,
enumerable: false,
value: {
listeners: [listener]
}
});
arrayEvents.forEach(function (key) {
var method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);
var base = array[key];
Object.defineProperty(array, key, {
configurable: true,
enumerable: false,
value: function () {
var args = Array.prototype.slice.call(arguments);
var res = base.apply(this, args);
helpers.each(array._chartjs.listeners, function (object) {
if (typeof object[method] === 'function') {
object[method].apply(object, args);
}
});
return res;
}
});
});
}
/**
* Removes the given array event listener and cleanup extra attached properties (such as
* the _chartjs stub and overridden methods) if array doesn't have any more listeners.
*/
function unlistenArrayEvents(array, listener) {
var stub = array._chartjs;
if (!stub) {
return;
}
var listeners = stub.listeners;
var index = listeners.indexOf(listener);
if (index !== -1) {
listeners.splice(index, 1);
}
if (listeners.length > 0) {
return;
}
arrayEvents.forEach(function (key) {
delete array[key];
});
delete array._chartjs;
}
// Base class for all dataset controllers (line, bar, etc)
Chart.DatasetController = function (chart, datasetIndex) {
this.initialize(chart, datasetIndex);
};
helpers.extend(Chart.DatasetController.prototype, {
/**
* Element type used to generate a meta dataset (e.g. Chart.element.Line).
* @type {Chart.core.element}
*/
datasetElementType: null,
/**
* Element type used to generate a meta data (e.g. Chart.element.Point).
* @type {Chart.core.element}
*/
dataElementType: null,
initialize: function (chart, datasetIndex) {
var me = this;
me.chart = chart;
me.index = datasetIndex;
me.linkScales();
me.addElements();
},
updateIndex: function (datasetIndex) {
this.index = datasetIndex;
},
linkScales: function () {
var me = this;
var meta = me.getMeta();
var dataset = me.getDataset();
if (meta.xAxisID === null) {
meta.xAxisID = dataset.xAxisID || me.chart.options.scales.xAxes[0].id;
}
if (meta.yAxisID === null) {
meta.yAxisID = dataset.yAxisID || me.chart.options.scales.yAxes[0].id;
}
},
getDataset: function () {
return this.chart.data.datasets[this.index];
},
getMeta: function () {
return this.chart.getDatasetMeta(this.index);
},
getScaleForId: function (scaleID) {
return this.chart.scales[scaleID];
},
reset: function () {
this.update(true);
},
/**
* @private
*/
destroy: function () {
if (this._data) {
unlistenArrayEvents(this._data, this);
}
},
createMetaDataset: function () {
var me = this;
var type = me.datasetElementType;
return type && new type({
_chart: me.chart.chart,
_datasetIndex: me.index
});
},
createMetaData: function (index) {
var me = this;
var type = me.dataElementType;
return type && new type({
_chart: me.chart.chart,
_datasetIndex: me.index,
_index: index
});
},
addElements: function () {
var me = this;
var meta = me.getMeta();
var data = me.getDataset().data || [];
var metaData = meta.data;
var i, ilen;
for (i = 0, ilen = data.length; i < ilen; ++i) {
metaData[i] = metaData[i] || me.createMetaData(i);
}
meta.dataset = meta.dataset || me.createMetaDataset();
},
addElementAndReset: function (index) {
var element = this.createMetaData(index);
this.getMeta().data.splice(index, 0, element);
this.updateElement(element, index, true);
},
buildOrUpdateElements: function () {
var me = this;
var dataset = me.getDataset();
var data = dataset.data || (dataset.data = []);
// In order to correctly handle data addition/deletion animation (an thus simulate
// real-time charts), we need to monitor these data modifications and synchronize
// the internal meta data accordingly.
if (me._data !== data) {
if (me._data) {
// This case happens when the user replaced the data array instance.
unlistenArrayEvents(me._data, me);
}
listenArrayEvents(data, me);
me._data = data;
}
// Re-sync meta data in case the user replaced the data array or if we missed
// any updates and so make sure that we handle number of datapoints changing.
me.resyncElements();
},
update: helpers.noop,
draw: function (ease) {
var easingDecimal = ease || 1;
var i, len;
var metaData = this.getMeta().data;
for (i = 0, len = metaData.length; i < len; ++i) {
metaData[i].transition(easingDecimal).draw();
}
},
removeHoverStyle: function (element, elementOpts) {
var dataset = this.chart.data.datasets[element._datasetIndex],
index = element._index,
custom = element.custom || {},
valueOrDefault = helpers.getValueAtIndexOrDefault,
model = element._model;
model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : valueOrDefault(dataset.backgroundColor, index, elementOpts.backgroundColor);
model.borderColor = custom.borderColor ? custom.borderColor : valueOrDefault(dataset.borderColor, index, elementOpts.borderColor);
model.borderWidth = custom.borderWidth ? custom.borderWidth : valueOrDefault(dataset.borderWidth, index, elementOpts.borderWidth);
},
setHoverStyle: function (element) {
var dataset = this.chart.data.datasets[element._datasetIndex],
index = element._index,
custom = element.custom || {},
valueOrDefault = helpers.getValueAtIndexOrDefault,
getHoverColor = helpers.getHoverColor,
model = element._model;
model.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : valueOrDefault(dataset.hoverBackgroundColor, index, getHoverColor(model.backgroundColor));
model.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : valueOrDefault(dataset.hoverBorderColor, index, getHoverColor(model.borderColor));
model.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : valueOrDefault(dataset.hoverBorderWidth, index, model.borderWidth);
},
/**
* @private
*/
resyncElements: function () {
var me = this;
var meta = me.getMeta();
var data = me.getDataset().data;
var numMeta = meta.data.length;
var numData = data.length;
if (numData < numMeta) {
meta.data.splice(numData, numMeta - numData);
} else if (numData > numMeta) {
me.insertElements(numMeta, numData - numMeta);
}
},
/**
* @private
*/
insertElements: function (start, count) {
for (var i = 0; i < count; ++i) {
this.addElementAndReset(start + i);
}
},
/**
* @private
*/
onDataPush: function () {
this.insertElements(this.getDataset().data.length - 1, arguments.length);
},
/**
* @private
*/
onDataPop: function () {
this.getMeta().data.pop();
},
/**
* @private
*/
onDataShift: function () {
this.getMeta().data.shift();
},
/**
* @private
*/
onDataSplice: function (start, count) {
this.getMeta().data.splice(start, count);
this.insertElements(start, arguments.length - 2);
},
/**
* @private
*/
onDataUnshift: function () {
this.insertElements(0, arguments.length);
}
});
Chart.DatasetController.extend = helpers.inherits;
};
}, {}], 25: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.elements = {};
Chart.Element = function (configuration) {
helpers.extend(this, configuration);
this.initialize.apply(this, arguments);
};
helpers.extend(Chart.Element.prototype, {
initialize: function () {
this.hidden = false;
},
pivot: function () {
var me = this;
if (!me._view) {
me._view = helpers.clone(me._model);
}
me._start = helpers.clone(me._view);
return me;
},
transition: function (ease) {
var me = this;
if (!me._view) {
me._view = helpers.clone(me._model);
}
// No animation -> No Transition
if (ease === 1) {
me._view = me._model;
me._start = null;
return me;
}
if (!me._start) {
me.pivot();
}
helpers.each(me._model, function (value, key) {
if (key[0] === '_') {
// Only non-underscored properties
// Init if doesn't exist
} else if (!me._view.hasOwnProperty(key)) {
if (typeof value === 'number' && !isNaN(me._view[key])) {
me._view[key] = value * ease;
} else {
me._view[key] = value;
}
// No unnecessary computations
} else if (value === me._view[key]) {
// It's the same! Woohoo!
// Color transitions if possible
} else if (typeof value === 'string') {
try {
var color = helpers.color(me._model[key]).mix(helpers.color(me._start[key]), ease);
me._view[key] = color.rgbString();
} catch (err) {
me._view[key] = value;
}
// Number transitions
} else if (typeof value === 'number') {
var startVal = me._start[key] !== undefined && isNaN(me._start[key]) === false ? me._start[key] : 0;
me._view[key] = ((me._model[key] - startVal) * ease) + startVal;
// Everything else
} else {
me._view[key] = value;
}
}, me);
return me;
},
tooltipPosition: function () {
return {
x: this._model.x,
y: this._model.y
};
},
hasValue: function () {
return helpers.isNumber(this._model.x) && helpers.isNumber(this._model.y);
}
});
Chart.Element.extend = helpers.inherits;
};
}, {}], 26: [function (require, module, exports) {
/* global window: false */
/* global document: false */
'use strict';
var color = require(3);
module.exports = function (Chart) {
// Global Chart helpers object for utility methods and classes
var helpers = Chart.helpers = {};
// -- Basic js utility methods
helpers.each = function (loopable, callback, self, reverse) {
// Check to see if null or undefined firstly.
var i, len;
if (helpers.isArray(loopable)) {
len = loopable.length;
if (reverse) {
for (i = len - 1; i >= 0; i--) {
callback.call(self, loopable[i], i);
}
} else {
for (i = 0; i < len; i++) {
callback.call(self, loopable[i], i);
}
}
} else if (typeof loopable === 'object') {
var keys = Object.keys(loopable);
len = keys.length;
for (i = 0; i < len; i++) {
callback.call(self, loopable[keys[i]], keys[i]);
}
}
};
helpers.clone = function (obj) {
var objClone = {};
helpers.each(obj, function (value, key) {
if (helpers.isArray(value)) {
objClone[key] = value.slice(0);
} else if (typeof value === 'object' && value !== null) {
objClone[key] = helpers.clone(value);
} else {
objClone[key] = value;
}
});
return objClone;
};
helpers.extend = function (base) {
var setFn = function (value, key) {
base[key] = value;
};
for (var i = 1, ilen = arguments.length; i < ilen; i++) {
helpers.each(arguments[i], setFn);
}
return base;
};
// Need a special merge function to chart configs since they are now grouped
helpers.configMerge = function (_base) {
var base = helpers.clone(_base);
helpers.each(Array.prototype.slice.call(arguments, 1), function (extension) {
helpers.each(extension, function (value, key) {
var baseHasProperty = base.hasOwnProperty(key);
var baseVal = baseHasProperty ? base[key] : {};
if (key === 'scales') {
// Scale config merging is complex. Add our own function here for that
base[key] = helpers.scaleMerge(baseVal, value);
} else if (key === 'scale') {
// Used in polar area & radar charts since there is only one scale
base[key] = helpers.configMerge(baseVal, Chart.scaleService.getScaleDefaults(value.type), value);
} else if (baseHasProperty
&& typeof baseVal === 'object'
&& !helpers.isArray(baseVal)
&& baseVal !== null
&& typeof value === 'object'
&& !helpers.isArray(value)) {
// If we are overwriting an object with an object, do a merge of the properties.
base[key] = helpers.configMerge(baseVal, value);
} else {
// can just overwrite the value in this case
base[key] = value;
}
});
});
return base;
};
helpers.scaleMerge = function (_base, extension) {
var base = helpers.clone(_base);
helpers.each(extension, function (value, key) {
if (key === 'xAxes' || key === 'yAxes') {
// These properties are arrays of items
if (base.hasOwnProperty(key)) {
helpers.each(value, function (valueObj, index) {
var axisType = helpers.getValueOrDefault(valueObj.type, key === 'xAxes' ? 'category' : 'linear');
var axisDefaults = Chart.scaleService.getScaleDefaults(axisType);
if (index >= base[key].length || !base[key][index].type) {
base[key].push(helpers.configMerge(axisDefaults, valueObj));
} else if (valueObj.type && valueObj.type !== base[key][index].type) {
// Type changed. Bring in the new defaults before we bring in valueObj so that valueObj can override the correct scale defaults
base[key][index] = helpers.configMerge(base[key][index], axisDefaults, valueObj);
} else {
// Type is the same
base[key][index] = helpers.configMerge(base[key][index], valueObj);
}
});
} else {
base[key] = [];
helpers.each(value, function (valueObj) {
var axisType = helpers.getValueOrDefault(valueObj.type, key === 'xAxes' ? 'category' : 'linear');
base[key].push(helpers.configMerge(Chart.scaleService.getScaleDefaults(axisType), valueObj));
});
}
} else if (base.hasOwnProperty(key) && typeof base[key] === 'object' && base[key] !== null && typeof value === 'object') {
// If we are overwriting an object with an object, do a merge of the properties.
base[key] = helpers.configMerge(base[key], value);
} else {
// can just overwrite the value in this case
base[key] = value;
}
});
return base;
};
helpers.getValueAtIndexOrDefault = function (value, index, defaultValue) {
if (value === undefined || value === null) {
return defaultValue;
}
if (helpers.isArray(value)) {
return index < value.length ? value[index] : defaultValue;
}
return value;
};
helpers.getValueOrDefault = function (value, defaultValue) {
return value === undefined ? defaultValue : value;
};
helpers.indexOf = Array.prototype.indexOf ?
function (array, item) {
return array.indexOf(item);
} :
function (array, item) {
for (var i = 0, ilen = array.length; i < ilen; ++i) {
if (array[i] === item) {
return i;
}
}
return -1;
};
helpers.where = function (collection, filterCallback) {
if (helpers.isArray(collection) && Array.prototype.filter) {
return collection.filter(filterCallback);
}
var filtered = [];
helpers.each(collection, function (item) {
if (filterCallback(item)) {
filtered.push(item);
}
});
return filtered;
};
helpers.findIndex = Array.prototype.findIndex ?
function (array, callback, scope) {
return array.findIndex(callback, scope);
} :
function (array, callback, scope) {
scope = scope === undefined ? array : scope;
for (var i = 0, ilen = array.length; i < ilen; ++i) {
if (callback.call(scope, array[i], i, array)) {
return i;
}
}
return -1;
};
helpers.findNextWhere = function (arrayToSearch, filterCallback, startIndex) {
// Default to start of the array
if (startIndex === undefined || startIndex === null) {
startIndex = -1;
}
for (var i = startIndex + 1; i < arrayToSearch.length; i++) {
var currentItem = arrayToSearch[i];
if (filterCallback(currentItem)) {
return currentItem;
}
}
};
helpers.findPreviousWhere = function (arrayToSearch, filterCallback, startIndex) {
// Default to end of the array
if (startIndex === undefined || startIndex === null) {
startIndex = arrayToSearch.length;
}
for (var i = startIndex - 1; i >= 0; i--) {
var currentItem = arrayToSearch[i];
if (filterCallback(currentItem)) {
return currentItem;
}
}
};
helpers.inherits = function (extensions) {
// Basic javascript inheritance based on the model created in Backbone.js
var me = this;
var ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function () {
return me.apply(this, arguments);
};
var Surrogate = function () {
this.constructor = ChartElement;
};
Surrogate.prototype = me.prototype;
ChartElement.prototype = new Surrogate();
ChartElement.extend = helpers.inherits;
if (extensions) {
helpers.extend(ChartElement.prototype, extensions);
}
ChartElement.__super__ = me.prototype;
return ChartElement;
};
helpers.noop = function () {
};
helpers.uid = (function () {
var id = 0;
return function () {
return id++;
};
}());
// -- Math methods
helpers.isNumber = function (n) {
return !isNaN(parseFloat(n)) && isFinite(n);
};
helpers.almostEquals = function (x, y, epsilon) {
return Math.abs(x - y) < epsilon;
};
helpers.max = function (array) {
return array.reduce(function (max, value) {
if (!isNaN(value)) {
return Math.max(max, value);
}
return max;
}, Number.NEGATIVE_INFINITY);
};
helpers.min = function (array) {
return array.reduce(function (min, value) {
if (!isNaN(value)) {
return Math.min(min, value);
}
return min;
}, Number.POSITIVE_INFINITY);
};
helpers.sign = Math.sign ?
function (x) {
return Math.sign(x);
} :
function (x) {
x = +x; // convert to a number
if (x === 0 || isNaN(x)) {
return x;
}
return x > 0 ? 1 : -1;
};
helpers.log10 = Math.log10 ?
function (x) {
return Math.log10(x);
} :
function (x) {
return Math.log(x) / Math.LN10;
};
helpers.toRadians = function (degrees) {
return degrees * (Math.PI / 180);
};
helpers.toDegrees = function (radians) {
return radians * (180 / Math.PI);
};
// Gets the angle from vertical upright to the point about a centre.
helpers.getAngleFromPoint = function (centrePoint, anglePoint) {
var distanceFromXCenter = anglePoint.x - centrePoint.x,
distanceFromYCenter = anglePoint.y - centrePoint.y,
radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);
var angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);
if (angle < (-0.5 * Math.PI)) {
angle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]
}
return {
angle: angle,
distance: radialDistanceFromCenter
};
};
helpers.distanceBetweenPoints = function (pt1, pt2) {
return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));
};
helpers.aliasPixel = function (pixelWidth) {
return (pixelWidth % 2 === 0) ? 0 : 0.5;
};
helpers.splineCurve = function (firstPoint, middlePoint, afterPoint, t) {
// Props to Rob Spencer at scaled innovation for his post on splining between points
// http://scaledinnovation.com/analytics/splines/aboutSplines.html
// This function must also respect "skipped" points
var previous = firstPoint.skip ? middlePoint : firstPoint,
current = middlePoint,
next = afterPoint.skip ? middlePoint : afterPoint;
var d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));
var d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));
var s01 = d01 / (d01 + d12);
var s12 = d12 / (d01 + d12);
// If all points are the same, s01 & s02 will be inf
s01 = isNaN(s01) ? 0 : s01;
s12 = isNaN(s12) ? 0 : s12;
var fa = t * s01; // scaling factor for triangle Ta
var fb = t * s12;
return {
previous: {
x: current.x - fa * (next.x - previous.x),
y: current.y - fa * (next.y - previous.y)
},
next: {
x: current.x + fb * (next.x - previous.x),
y: current.y + fb * (next.y - previous.y)
}
};
};
helpers.EPSILON = Number.EPSILON || 1e-14;
helpers.splineCurveMonotone = function (points) {
// This function calculates Bézier control points in a similar way than |splineCurve|,
// but preserves monotonicity of the provided data and ensures no local extremums are added
// between the dataset discrete points due to the interpolation.
// See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation
var pointsWithTangents = (points || []).map(function (point) {
return {
model: point._model,
deltaK: 0,
mK: 0
};
});
// Calculate slopes (deltaK) and initialize tangents (mK)
var pointsLen = pointsWithTangents.length;
var i, pointBefore, pointCurrent, pointAfter;
for (i = 0; i < pointsLen; ++i) {
pointCurrent = pointsWithTangents[i];
if (pointCurrent.model.skip) {
continue;
}
pointBefore = i > 0 ? pointsWithTangents[i - 1] : null;
pointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;
if (pointAfter && !pointAfter.model.skip) {
pointCurrent.deltaK = (pointAfter.model.y - pointCurrent.model.y) / (pointAfter.model.x - pointCurrent.model.x);
}
if (!pointBefore || pointBefore.model.skip) {
pointCurrent.mK = pointCurrent.deltaK;
} else if (!pointAfter || pointAfter.model.skip) {
pointCurrent.mK = pointBefore.deltaK;
} else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {
pointCurrent.mK = 0;
} else {
pointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;
}
}
// Adjust tangents to ensure monotonic properties
var alphaK, betaK, tauK, squaredMagnitude;
for (i = 0; i < pointsLen - 1; ++i) {
pointCurrent = pointsWithTangents[i];
pointAfter = pointsWithTangents[i + 1];
if (pointCurrent.model.skip || pointAfter.model.skip) {
continue;
}
if (helpers.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {
pointCurrent.mK = pointAfter.mK = 0;
continue;
}
alphaK = pointCurrent.mK / pointCurrent.deltaK;
betaK = pointAfter.mK / pointCurrent.deltaK;
squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);
if (squaredMagnitude <= 9) {
continue;
}
tauK = 3 / Math.sqrt(squaredMagnitude);
pointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;
pointAfter.mK = betaK * tauK * pointCurrent.deltaK;
}
// Compute control points
var deltaX;
for (i = 0; i < pointsLen; ++i) {
pointCurrent = pointsWithTangents[i];
if (pointCurrent.model.skip) {
continue;
}
pointBefore = i > 0 ? pointsWithTangents[i - 1] : null;
pointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;
if (pointBefore && !pointBefore.model.skip) {
deltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;
pointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;
pointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;
}
if (pointAfter && !pointAfter.model.skip) {
deltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;
pointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;
pointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;
}
}
};
helpers.nextItem = function (collection, index, loop) {
if (loop) {
return index >= collection.length - 1 ? collection[0] : collection[index + 1];
}
return index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];
};
helpers.previousItem = function (collection, index, loop) {
if (loop) {
return index <= 0 ? collection[collection.length - 1] : collection[index - 1];
}
return index <= 0 ? collection[0] : collection[index - 1];
};
// Implementation of the nice number algorithm used in determining where axis labels will go
helpers.niceNum = function (range, round) {
var exponent = Math.floor(helpers.log10(range));
var fraction = range / Math.pow(10, exponent);
var niceFraction;
if (round) {
if (fraction < 1.5) {
niceFraction = 1;
} else if (fraction < 3) {
niceFraction = 2;
} else if (fraction < 7) {
niceFraction = 5;
} else {
niceFraction = 10;
}
} else if (fraction <= 1.0) {
niceFraction = 1;
} else if (fraction <= 2) {
niceFraction = 2;
} else if (fraction <= 5) {
niceFraction = 5;
} else {
niceFraction = 10;
}
return niceFraction * Math.pow(10, exponent);
};
// Easing functions adapted from Robert Penner's easing equations
// http://www.robertpenner.com/easing/
var easingEffects = helpers.easingEffects = {
linear: function (t) {
return t;
},
easeInQuad: function (t) {
return t * t;
},
easeOutQuad: function (t) {
return -1 * t * (t - 2);
},
easeInOutQuad: function (t) {
if ((t /= 1 / 2) < 1) {
return 1 / 2 * t * t;
}
return -1 / 2 * ((--t) * (t - 2) - 1);
},
easeInCubic: function (t) {
return t * t * t;
},
easeOutCubic: function (t) {
return 1 * ((t = t / 1 - 1) * t * t + 1);
},
easeInOutCubic: function (t) {
if ((t /= 1 / 2) < 1) {
return 1 / 2 * t * t * t;
}
return 1 / 2 * ((t -= 2) * t * t + 2);
},
easeInQuart: function (t) {
return t * t * t * t;
},
easeOutQuart: function (t) {
return -1 * ((t = t / 1 - 1) * t * t * t - 1);
},
easeInOutQuart: function (t) {
if ((t /= 1 / 2) < 1) {
return 1 / 2 * t * t * t * t;
}
return -1 / 2 * ((t -= 2) * t * t * t - 2);
},
easeInQuint: function (t) {
return 1 * (t /= 1) * t * t * t * t;
},
easeOutQuint: function (t) {
return 1 * ((t = t / 1 - 1) * t * t * t * t + 1);
},
easeInOutQuint: function (t) {
if ((t /= 1 / 2) < 1) {
return 1 / 2 * t * t * t * t * t;
}
return 1 / 2 * ((t -= 2) * t * t * t * t + 2);
},
easeInSine: function (t) {
return -1 * Math.cos(t / 1 * (Math.PI / 2)) + 1;
},
easeOutSine: function (t) {
return 1 * Math.sin(t / 1 * (Math.PI / 2));
},
easeInOutSine: function (t) {
return -1 / 2 * (Math.cos(Math.PI * t / 1) - 1);
},
easeInExpo: function (t) {
return (t === 0) ? 1 : 1 * Math.pow(2, 10 * (t / 1 - 1));
},
easeOutExpo: function (t) {
return (t === 1) ? 1 : 1 * (-Math.pow(2, -10 * t / 1) + 1);
},
easeInOutExpo: function (t) {
if (t === 0) {
return 0;
}
if (t === 1) {
return 1;
}
if ((t /= 1 / 2) < 1) {
return 1 / 2 * Math.pow(2, 10 * (t - 1));
}
return 1 / 2 * (-Math.pow(2, -10 * --t) + 2);
},
easeInCirc: function (t) {
if (t >= 1) {
return t;
}
return -1 * (Math.sqrt(1 - (t /= 1) * t) - 1);
},
easeOutCirc: function (t) {
return 1 * Math.sqrt(1 - (t = t / 1 - 1) * t);
},
easeInOutCirc: function (t) {
if ((t /= 1 / 2) < 1) {
return -1 / 2 * (Math.sqrt(1 - t * t) - 1);
}
return 1 / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1);
},
easeInElastic: function (t) {
var s = 1.70158;
var p = 0;
var a = 1;
if (t === 0) {
return 0;
}
if ((t /= 1) === 1) {
return 1;
}
if (!p) {
p = 1 * 0.3;
}
if (a < Math.abs(1)) {
a = 1;
s = p / 4;
} else {
s = p / (2 * Math.PI) * Math.asin(1 / a);
}
return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p));
},
easeOutElastic: function (t) {
var s = 1.70158;
var p = 0;
var a = 1;
if (t === 0) {
return 0;
}
if ((t /= 1) === 1) {
return 1;
}
if (!p) {
p = 1 * 0.3;
}
if (a < Math.abs(1)) {
a = 1;
s = p / 4;
} else {
s = p / (2 * Math.PI) * Math.asin(1 / a);
}
return a * Math.pow(2, -10 * t) * Math.sin((t * 1 - s) * (2 * Math.PI) / p) + 1;
},
easeInOutElastic: function (t) {
var s = 1.70158;
var p = 0;
var a = 1;
if (t === 0) {
return 0;
}
if ((t /= 1 / 2) === 2) {
return 1;
}
if (!p) {
p = 1 * (0.3 * 1.5);
}
if (a < Math.abs(1)) {
a = 1;
s = p / 4;
} else {
s = p / (2 * Math.PI) * Math.asin(1 / a);
}
if (t < 1) {
return -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p));
}
return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p) * 0.5 + 1;
},
easeInBack: function (t) {
var s = 1.70158;
return 1 * (t /= 1) * t * ((s + 1) * t - s);
},
easeOutBack: function (t) {
var s = 1.70158;
return 1 * ((t = t / 1 - 1) * t * ((s + 1) * t + s) + 1);
},
easeInOutBack: function (t) {
var s = 1.70158;
if ((t /= 1 / 2) < 1) {
return 1 / 2 * (t * t * (((s *= (1.525)) + 1) * t - s));
}
return 1 / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);
},
easeInBounce: function (t) {
return 1 - easingEffects.easeOutBounce(1 - t);
},
easeOutBounce: function (t) {
if ((t /= 1) < (1 / 2.75)) {
return 1 * (7.5625 * t * t);
} else if (t < (2 / 2.75)) {
return 1 * (7.5625 * (t -= (1.5 / 2.75)) * t + 0.75);
} else if (t < (2.5 / 2.75)) {
return 1 * (7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375);
}
return 1 * (7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375);
},
easeInOutBounce: function (t) {
if (t < 1 / 2) {
return easingEffects.easeInBounce(t * 2) * 0.5;
}
return easingEffects.easeOutBounce(t * 2 - 1) * 0.5 + 1 * 0.5;
}
};
// Request animation polyfill - http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
helpers.requestAnimFrame = (function () {
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (callback) {
return window.setTimeout(callback, 1000 / 60);
};
}());
helpers.cancelAnimFrame = (function () {
return window.cancelAnimationFrame ||
window.webkitCancelAnimationFrame ||
window.mozCancelAnimationFrame ||
window.oCancelAnimationFrame ||
window.msCancelAnimationFrame ||
function (callback) {
return window.clearTimeout(callback, 1000 / 60);
};
}());
// -- DOM methods
helpers.getRelativePosition = function (evt, chart) {
var mouseX, mouseY;
var e = evt.originalEvent || evt,
canvas = evt.currentTarget || evt.srcElement,
boundingRect = canvas.getBoundingClientRect();
var touches = e.touches;
if (touches && touches.length > 0) {
mouseX = touches[0].clientX;
mouseY = touches[0].clientY;
} else {
mouseX = e.clientX;
mouseY = e.clientY;
}
// Scale mouse coordinates into canvas coordinates
// by following the pattern laid out by 'jerryj' in the comments of
// http://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/
var paddingLeft = parseFloat(helpers.getStyle(canvas, 'padding-left'));
var paddingTop = parseFloat(helpers.getStyle(canvas, 'padding-top'));
var paddingRight = parseFloat(helpers.getStyle(canvas, 'padding-right'));
var paddingBottom = parseFloat(helpers.getStyle(canvas, 'padding-bottom'));
var width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;
var height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom;
// We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However
// the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here
mouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / (width) * canvas.width / chart.currentDevicePixelRatio);
mouseY = Math.round((mouseY - boundingRect.top - paddingTop) / (height) * canvas.height / chart.currentDevicePixelRatio);
return {
x: mouseX,
y: mouseY
};
};
helpers.addEvent = function (node, eventType, method) {
if (node.addEventListener) {
node.addEventListener(eventType, method);
} else if (node.attachEvent) {
node.attachEvent('on' + eventType, method);
} else {
node['on' + eventType] = method;
}
};
helpers.removeEvent = function (node, eventType, handler) {
if (node.removeEventListener) {
node.removeEventListener(eventType, handler, false);
} else if (node.detachEvent) {
node.detachEvent('on' + eventType, handler);
} else {
node['on' + eventType] = helpers.noop;
}
};
helpers.bindEvents = function (chartInstance, arrayOfEvents, handler) {
// Create the events object if it's not already present
var events = chartInstance.events = chartInstance.events || {};
helpers.each(arrayOfEvents, function (eventName) {
events[eventName] = function () {
handler.apply(chartInstance, arguments);
};
helpers.addEvent(chartInstance.chart.canvas, eventName, events[eventName]);
});
};
helpers.unbindEvents = function (chartInstance, arrayOfEvents) {
var canvas = chartInstance.chart.canvas;
helpers.each(arrayOfEvents, function (handler, eventName) {
helpers.removeEvent(canvas, eventName, handler);
});
};
// Private helper function to convert max-width/max-height values that may be percentages into a number
function parseMaxStyle(styleValue, node, parentProperty) {
var valueInPixels;
if (typeof(styleValue) === 'string') {
valueInPixels = parseInt(styleValue, 10);
if (styleValue.indexOf('%') !== -1) {
// percentage * size in dimension
valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];
}
} else {
valueInPixels = styleValue;
}
return valueInPixels;
}
/**
* Returns if the given value contains an effective constraint.
* @private
*/
function isConstrainedValue(value) {
return value !== undefined && value !== null && value !== 'none';
}
// Private helper to get a constraint dimension
// @param domNode : the node to check the constraint on
// @param maxStyle : the style that defines the maximum for the direction we are using (maxWidth / maxHeight)
// @param percentageProperty : property of parent to use when calculating width as a percentage
// @see http://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser
function getConstraintDimension(domNode, maxStyle, percentageProperty) {
var view = document.defaultView;
var parentNode = domNode.parentNode;
var constrainedNode = view.getComputedStyle(domNode)[maxStyle];
var constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];
var hasCNode = isConstrainedValue(constrainedNode);
var hasCContainer = isConstrainedValue(constrainedContainer);
var infinity = Number.POSITIVE_INFINITY;
if (hasCNode || hasCContainer) {
return Math.min(
hasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,
hasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);
}
return 'none';
}
// returns Number or undefined if no constraint
helpers.getConstraintWidth = function (domNode) {
return getConstraintDimension(domNode, 'max-width', 'clientWidth');
};
// returns Number or undefined if no constraint
helpers.getConstraintHeight = function (domNode) {
return getConstraintDimension(domNode, 'max-height', 'clientHeight');
};
helpers.getMaximumWidth = function (domNode) {
var container = domNode.parentNode;
var paddingLeft = parseInt(helpers.getStyle(container, 'padding-left'), 10);
var paddingRight = parseInt(helpers.getStyle(container, 'padding-right'), 10);
var w = container.clientWidth - paddingLeft - paddingRight;
var cw = helpers.getConstraintWidth(domNode);
return isNaN(cw) ? w : Math.min(w, cw);
};
helpers.getMaximumHeight = function (domNode) {
var container = domNode.parentNode;
var paddingTop = parseInt(helpers.getStyle(container, 'padding-top'), 10);
var paddingBottom = parseInt(helpers.getStyle(container, 'padding-bottom'), 10);
var h = container.clientHeight - paddingTop - paddingBottom;
var ch = helpers.getConstraintHeight(domNode);
return isNaN(ch) ? h : Math.min(h, ch);
};
helpers.getStyle = function (el, property) {
return el.currentStyle ?
el.currentStyle[property] :
document.defaultView.getComputedStyle(el, null).getPropertyValue(property);
};
helpers.retinaScale = function (chart) {
var pixelRatio = chart.currentDevicePixelRatio = window.devicePixelRatio || 1;
if (pixelRatio === 1) {
return;
}
var canvas = chart.canvas;
var height = chart.height;
var width = chart.width;
canvas.height = height * pixelRatio;
canvas.width = width * pixelRatio;
chart.ctx.scale(pixelRatio, pixelRatio);
// If no style has been set on the canvas, the render size is used as display size,
// making the chart visually bigger, so let's enforce it to the "correct" values.
// See https://github.com/chartjs/Chart.js/issues/3575
canvas.style.height = height + 'px';
canvas.style.width = width + 'px';
};
// -- Canvas methods
helpers.clear = function (chart) {
chart.ctx.clearRect(0, 0, chart.width, chart.height);
};
helpers.fontString = function (pixelSize, fontStyle, fontFamily) {
return fontStyle + ' ' + pixelSize + 'px ' + fontFamily;
};
helpers.longestText = function (ctx, font, arrayOfThings, cache) {
cache = cache || {};
var data = cache.data = cache.data || {};
var gc = cache.garbageCollect = cache.garbageCollect || [];
if (cache.font !== font) {
data = cache.data = {};
gc = cache.garbageCollect = [];
cache.font = font;
}
ctx.font = font;
var longest = 0;
helpers.each(arrayOfThings, function (thing) {
// Undefined strings and arrays should not be measured
if (thing !== undefined && thing !== null && helpers.isArray(thing) !== true) {
longest = helpers.measureText(ctx, data, gc, longest, thing);
} else if (helpers.isArray(thing)) {
// if it is an array lets measure each element
// to do maybe simplify this function a bit so we can do this more recursively?
helpers.each(thing, function (nestedThing) {
// Undefined strings and arrays should not be measured
if (nestedThing !== undefined && nestedThing !== null && !helpers.isArray(nestedThing)) {
longest = helpers.measureText(ctx, data, gc, longest, nestedThing);
}
});
}
});
var gcLen = gc.length / 2;
if (gcLen > arrayOfThings.length) {
for (var i = 0; i < gcLen; i++) {
delete data[gc[i]];
}
gc.splice(0, gcLen);
}
return longest;
};
helpers.measureText = function (ctx, data, gc, longest, string) {
var textWidth = data[string];
if (!textWidth) {
textWidth = data[string] = ctx.measureText(string).width;
gc.push(string);
}
if (textWidth > longest) {
longest = textWidth;
}
return longest;
};
helpers.numberOfLabelLines = function (arrayOfThings) {
var numberOfLines = 1;
helpers.each(arrayOfThings, function (thing) {
if (helpers.isArray(thing)) {
if (thing.length > numberOfLines) {
numberOfLines = thing.length;
}
}
});
return numberOfLines;
};
helpers.drawRoundedRectangle = function (ctx, x, y, width, height, radius) {
ctx.beginPath();
ctx.moveTo(x + radius, y);
ctx.lineTo(x + width - radius, y);
ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
ctx.lineTo(x + width, y + height - radius);
ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
ctx.lineTo(x + radius, y + height);
ctx.quadraticCurveTo(x, y + height, x, y + height - radius);
ctx.lineTo(x, y + radius);
ctx.quadraticCurveTo(x, y, x + radius, y);
ctx.closePath();
};
helpers.color = function (c) {
if (!color) {
console.error('Color.js not found!');
return c;
}
/* global CanvasGradient */
if (c instanceof CanvasGradient) {
return color(Chart.defaults.global.defaultColor);
}
return color(c);
};
helpers.addResizeListener = function (node, callback) {
var iframe = document.createElement('iframe');
iframe.className = 'chartjs-hidden-iframe';
iframe.style.cssText =
'display:block;' +
'overflow:hidden;' +
'border:0;' +
'margin:0;' +
'top:0;' +
'left:0;' +
'bottom:0;' +
'right:0;' +
'height:100%;' +
'width:100%;' +
'position:absolute;' +
'pointer-events:none;' +
'z-index:-1;';
// Prevent the iframe to gain focus on tab.
// https://github.com/chartjs/Chart.js/issues/3090
iframe.tabIndex = -1;
// Let's keep track of this added iframe and thus avoid DOM query when removing it.
var stub = node._chartjs = {
resizer: iframe,
ticking: false
};
// Throttle the callback notification until the next animation frame.
var notify = function () {
if (!stub.ticking) {
stub.ticking = true;
helpers.requestAnimFrame.call(window, function () {
if (stub.resizer) {
stub.ticking = false;
return callback();
}
});
}
};
// If the iframe is re-attached to the DOM, the resize listener is removed because the
// content is reloaded, so make sure to install the handler after the iframe is loaded.
// https://github.com/chartjs/Chart.js/issues/3521
helpers.addEvent(iframe, 'load', function () {
helpers.addEvent(iframe.contentWindow || iframe, 'resize', notify);
// The iframe size might have changed while loading, which can also
// happen if the size has been changed while detached from the DOM.
notify();
});
node.insertBefore(iframe, node.firstChild);
};
helpers.removeResizeListener = function (node) {
if (!node || !node._chartjs) {
return;
}
var iframe = node._chartjs.resizer;
if (iframe) {
iframe.parentNode.removeChild(iframe);
node._chartjs.resizer = null;
}
delete node._chartjs;
};
helpers.isArray = Array.isArray ?
function (obj) {
return Array.isArray(obj);
} :
function (obj) {
return Object.prototype.toString.call(obj) === '[object Array]';
};
// ! @see http://stackoverflow.com/a/14853974
helpers.arrayEquals = function (a0, a1) {
var i, ilen, v0, v1;
if (!a0 || !a1 || a0.length !== a1.length) {
return false;
}
for (i = 0, ilen = a0.length; i < ilen; ++i) {
v0 = a0[i];
v1 = a1[i];
if (v0 instanceof Array && v1 instanceof Array) {
if (!helpers.arrayEquals(v0, v1)) {
return false;
}
} else if (v0 !== v1) {
// NOTE: two different object instances will never be equal: {x:20} != {x:20}
return false;
}
}
return true;
};
helpers.callCallback = function (fn, args, _tArg) {
if (fn && typeof fn.call === 'function') {
fn.apply(_tArg, args);
}
};
helpers.getHoverColor = function (colorValue) {
/* global CanvasPattern */
return (colorValue instanceof CanvasPattern) ?
colorValue :
helpers.color(colorValue).saturate(0.5).darken(0.1).rgbString();
};
};
}, {"3": 3}], 27: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
/**
* Helper function to traverse all of the visible elements in the chart
* @param chart {chart} the chart
* @param handler {Function} the callback to execute for each visible item
*/
function parseVisibleItems(chart, handler) {
var datasets = chart.data.datasets;
var meta, i, j, ilen, jlen;
for (i = 0, ilen = datasets.length; i < ilen; ++i) {
if (!chart.isDatasetVisible(i)) {
continue;
}
meta = chart.getDatasetMeta(i);
for (j = 0, jlen = meta.data.length; j < jlen; ++j) {
var element = meta.data[j];
if (!element._view.skip) {
handler(element);
}
}
}
}
/**
* Helper function to get the items that intersect the event position
* @param items {ChartElement[]} elements to filter
* @param position {Point} the point to be nearest to
* @return {ChartElement[]} the nearest items
*/
function getIntersectItems(chart, position) {
var elements = [];
parseVisibleItems(chart, function (element) {
if (element.inRange(position.x, position.y)) {
elements.push(element);
}
});
return elements;
}
/**
* Helper function to get the items nearest to the event position considering all visible items in teh chart
* @param chart {Chart} the chart to look at elements from
* @param position {Point} the point to be nearest to
* @param intersect {Boolean} if true, only consider items that intersect the position
* @param distanceMetric {Function} Optional function to provide the distance between
* @return {ChartElement[]} the nearest items
*/
function getNearestItems(chart, position, intersect, distanceMetric) {
var minDistance = Number.POSITIVE_INFINITY;
var nearestItems = [];
if (!distanceMetric) {
distanceMetric = helpers.distanceBetweenPoints;
}
parseVisibleItems(chart, function (element) {
if (intersect && !element.inRange(position.x, position.y)) {
return;
}
var center = element.getCenterPoint();
var distance = distanceMetric(position, center);
if (distance < minDistance) {
nearestItems = [element];
minDistance = distance;
} else if (distance === minDistance) {
// Can have multiple items at the same distance in which case we sort by size
nearestItems.push(element);
}
});
return nearestItems;
}
function indexMode(chart, e, options) {
var position = helpers.getRelativePosition(e, chart.chart);
var distanceMetric = function (pt1, pt2) {
return Math.abs(pt1.x - pt2.x);
};
var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);
var elements = [];
if (!items.length) {
return [];
}
chart.data.datasets.forEach(function (dataset, datasetIndex) {
if (chart.isDatasetVisible(datasetIndex)) {
var meta = chart.getDatasetMeta(datasetIndex),
element = meta.data[items[0]._index];
// don't count items that are skipped (null data)
if (element && !element._view.skip) {
elements.push(element);
}
}
});
return elements;
}
/**
* @interface IInteractionOptions
*/
/**
* If true, only consider items that intersect the point
* @name IInterfaceOptions#boolean
* @type Boolean
*/
/**
* @namespace Chart.Interaction
* Contains interaction related functions
*/
Chart.Interaction = {
// Helper function for different modes
modes: {
single: function (chart, e) {
var position = helpers.getRelativePosition(e, chart.chart);
var elements = [];
parseVisibleItems(chart, function (element) {
if (element.inRange(position.x, position.y)) {
elements.push(element);
return elements;
}
});
return elements.slice(0, 1);
},
/**
* @function Chart.Interaction.modes.label
* @deprecated since version 2.4.0
*/
label: indexMode,
/**
* Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something
* If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item
* @function Chart.Interaction.modes.index
* @since v2.4.0
* @param chart {chart} the chart we are returning items from
* @param e {Event} the event we are find things at
* @param options {IInteractionOptions} options to use during interaction
* @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
*/
index: indexMode,
/**
* Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something
* If the options.intersect is false, we find the nearest item and return the items in that dataset
* @function Chart.Interaction.modes.dataset
* @param chart {chart} the chart we are returning items from
* @param e {Event} the event we are find things at
* @param options {IInteractionOptions} options to use during interaction
* @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
*/
dataset: function (chart, e, options) {
var position = helpers.getRelativePosition(e, chart.chart);
var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false);
if (items.length > 0) {
items = chart.getDatasetMeta(items[0]._datasetIndex).data;
}
return items;
},
/**
* @function Chart.Interaction.modes.x-axis
* @deprecated since version 2.4.0. Use index mode and intersect == true
*/
'x-axis': function (chart, e) {
return indexMode(chart, e, true);
},
/**
* Point mode returns all elements that hit test based on the event position
* of the event
* @function Chart.Interaction.modes.intersect
* @param chart {chart} the chart we are returning items from
* @param e {Event} the event we are find things at
* @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
*/
point: function (chart, e) {
var position = helpers.getRelativePosition(e, chart.chart);
return getIntersectItems(chart, position);
},
/**
* nearest mode returns the element closest to the point
* @function Chart.Interaction.modes.intersect
* @param chart {chart} the chart we are returning items from
* @param e {Event} the event we are find things at
* @param options {IInteractionOptions} options to use
* @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
*/
nearest: function (chart, e, options) {
var position = helpers.getRelativePosition(e, chart.chart);
var nearestItems = getNearestItems(chart, position, options.intersect);
// We have multiple items at the same distance from the event. Now sort by smallest
if (nearestItems.length > 1) {
nearestItems.sort(function (a, b) {
var sizeA = a.getArea();
var sizeB = b.getArea();
var ret = sizeA - sizeB;
if (ret === 0) {
// if equal sort by dataset index
ret = a._datasetIndex - b._datasetIndex;
}
return ret;
});
}
// Return only 1 item
return nearestItems.slice(0, 1);
},
/**
* x mode returns the elements that hit-test at the current x coordinate
* @function Chart.Interaction.modes.x
* @param chart {chart} the chart we are returning items from
* @param e {Event} the event we are find things at
* @param options {IInteractionOptions} options to use
* @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
*/
x: function (chart, e, options) {
var position = helpers.getRelativePosition(e, chart.chart);
var items = [];
var intersectsItem = false;
parseVisibleItems(chart, function (element) {
if (element.inXRange(position.x)) {
items.push(element);
}
if (element.inRange(position.x, position.y)) {
intersectsItem = true;
}
});
// If we want to trigger on an intersect and we don't have any items
// that intersect the position, return nothing
if (options.intersect && !intersectsItem) {
items = [];
}
return items;
},
/**
* y mode returns the elements that hit-test at the current y coordinate
* @function Chart.Interaction.modes.y
* @param chart {chart} the chart we are returning items from
* @param e {Event} the event we are find things at
* @param options {IInteractionOptions} options to use
* @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
*/
y: function (chart, e, options) {
var position = helpers.getRelativePosition(e, chart.chart);
var items = [];
var intersectsItem = false;
parseVisibleItems(chart, function (element) {
if (element.inYRange(position.y)) {
items.push(element);
}
if (element.inRange(position.x, position.y)) {
intersectsItem = true;
}
});
// If we want to trigger on an intersect and we don't have any items
// that intersect the position, return nothing
if (options.intersect && !intersectsItem) {
items = [];
}
return items;
}
}
};
};
}, {}], 28: [function (require, module, exports) {
'use strict';
module.exports = function () {
// Occupy the global variable of Chart, and create a simple base class
var Chart = function (item, config) {
this.controller = new Chart.Controller(item, config, this);
return this.controller;
};
// Globally expose the defaults to allow for user updating/changing
Chart.defaults = {
global: {
responsive: true,
responsiveAnimationDuration: 0,
maintainAspectRatio: true,
events: ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove'],
hover: {
onHover: null,
mode: 'nearest',
intersect: true,
animationDuration: 400
},
onClick: null,
defaultColor: 'rgba(0,0,0,0.1)',
defaultFontColor: '#666',
defaultFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
defaultFontSize: 12,
defaultFontStyle: 'normal',
showLines: true,
// Element defaults defined in element extensions
elements: {},
// Legend callback string
legendCallback: function (chart) {
var text = [];
text.push('<ul class="' + chart.id + '-legend">');
for (var i = 0; i < chart.data.datasets.length; i++) {
text.push('<li><span style="background-color:' + chart.data.datasets[i].backgroundColor + '"></span>');
if (chart.data.datasets[i].label) {
text.push(chart.data.datasets[i].label);
}
text.push('</li>');
}
text.push('</ul>');
return text.join('');
}
}
};
Chart.Chart = Chart;
return Chart;
};
}, {}], 29: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
// The layout service is very self explanatory. It's responsible for the layout within a chart.
// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need
// It is this service's responsibility of carrying out that layout.
Chart.layoutService = {
defaults: {},
// Register a box to a chartInstance. A box is simply a reference to an object that requires layout. eg. Scales, Legend, Plugins.
addBox: function (chartInstance, box) {
if (!chartInstance.boxes) {
chartInstance.boxes = [];
}
chartInstance.boxes.push(box);
},
removeBox: function (chartInstance, box) {
if (!chartInstance.boxes) {
return;
}
chartInstance.boxes.splice(chartInstance.boxes.indexOf(box), 1);
},
// The most important function
update: function (chartInstance, width, height) {
if (!chartInstance) {
return;
}
var layoutOptions = chartInstance.options.layout;
var padding = layoutOptions ? layoutOptions.padding : null;
var leftPadding = 0;
var rightPadding = 0;
var topPadding = 0;
var bottomPadding = 0;
if (!isNaN(padding)) {
// options.layout.padding is a number. assign to all
leftPadding = padding;
rightPadding = padding;
topPadding = padding;
bottomPadding = padding;
} else {
leftPadding = padding.left || 0;
rightPadding = padding.right || 0;
topPadding = padding.top || 0;
bottomPadding = padding.bottom || 0;
}
var leftBoxes = helpers.where(chartInstance.boxes, function (box) {
return box.options.position === 'left';
});
var rightBoxes = helpers.where(chartInstance.boxes, function (box) {
return box.options.position === 'right';
});
var topBoxes = helpers.where(chartInstance.boxes, function (box) {
return box.options.position === 'top';
});
var bottomBoxes = helpers.where(chartInstance.boxes, function (box) {
return box.options.position === 'bottom';
});
// Boxes that overlay the chartarea such as the radialLinear scale
var chartAreaBoxes = helpers.where(chartInstance.boxes, function (box) {
return box.options.position === 'chartArea';
});
// Ensure that full width boxes are at the very top / bottom
topBoxes.sort(function (a, b) {
return (b.options.fullWidth ? 1 : 0) - (a.options.fullWidth ? 1 : 0);
});
bottomBoxes.sort(function (a, b) {
return (a.options.fullWidth ? 1 : 0) - (b.options.fullWidth ? 1 : 0);
});
// Essentially we now have any number of boxes on each of the 4 sides.
// Our canvas looks like the following.
// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and
// B1 is the bottom axis
// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays
// These locations are single-box locations only, when trying to register a chartArea location that is already taken,
// an error will be thrown.
//
// |----------------------------------------------------|
// | T1 (Full Width) |
// |----------------------------------------------------|
// | | | T2 | |
// | |----|-------------------------------------|----|
// | | | C1 | | C2 | |
// | | |----| |----| |
// | | | | |
// | L1 | L2 | ChartArea (C0) | R1 |
// | | | | |
// | | |----| |----| |
// | | | C3 | | C4 | |
// | |----|-------------------------------------|----|
// | | | B1 | |
// |----------------------------------------------------|
// | B2 (Full Width) |
// |----------------------------------------------------|
//
// What we do to find the best sizing, we do the following
// 1. Determine the minimum size of the chart area.
// 2. Split the remaining width equally between each vertical axis
// 3. Split the remaining height equally between each horizontal axis
// 4. Give each layout the maximum size it can be. The layout will return it's minimum size
// 5. Adjust the sizes of each axis based on it's minimum reported size.
// 6. Refit each axis
// 7. Position each axis in the final location
// 8. Tell the chart the final location of the chart area
// 9. Tell any axes that overlay the chart area the positions of the chart area
// Step 1
var chartWidth = width - leftPadding - rightPadding;
var chartHeight = height - topPadding - bottomPadding;
var chartAreaWidth = chartWidth / 2; // min 50%
var chartAreaHeight = chartHeight / 2; // min 50%
// Step 2
var verticalBoxWidth = (width - chartAreaWidth) / (leftBoxes.length + rightBoxes.length);
// Step 3
var horizontalBoxHeight = (height - chartAreaHeight) / (topBoxes.length + bottomBoxes.length);
// Step 4
var maxChartAreaWidth = chartWidth;
var maxChartAreaHeight = chartHeight;
var minBoxSizes = [];
function getMinimumBoxSize(box) {
var minSize;
var isHorizontal = box.isHorizontal();
if (isHorizontal) {
minSize = box.update(box.options.fullWidth ? chartWidth : maxChartAreaWidth, horizontalBoxHeight);
maxChartAreaHeight -= minSize.height;
} else {
minSize = box.update(verticalBoxWidth, chartAreaHeight);
maxChartAreaWidth -= minSize.width;
}
minBoxSizes.push({
horizontal: isHorizontal,
minSize: minSize,
box: box
});
}
helpers.each(leftBoxes.concat(rightBoxes, topBoxes, bottomBoxes), getMinimumBoxSize);
// At this point, maxChartAreaHeight and maxChartAreaWidth are the size the chart area could
// be if the axes are drawn at their minimum sizes.
// Steps 5 & 6
var totalLeftBoxesWidth = leftPadding;
var totalRightBoxesWidth = rightPadding;
var totalTopBoxesHeight = topPadding;
var totalBottomBoxesHeight = bottomPadding;
// Function to fit a box
function fitBox(box) {
var minBoxSize = helpers.findNextWhere(minBoxSizes, function (minBox) {
return minBox.box === box;
});
if (minBoxSize) {
if (box.isHorizontal()) {
var scaleMargin = {
left: totalLeftBoxesWidth,
right: totalRightBoxesWidth,
top: 0,
bottom: 0
};
// Don't use min size here because of label rotation. When the labels are rotated, their rotation highly depends
// on the margin. Sometimes they need to increase in size slightly
box.update(box.options.fullWidth ? chartWidth : maxChartAreaWidth, chartHeight / 2, scaleMargin);
} else {
box.update(minBoxSize.minSize.width, maxChartAreaHeight);
}
}
}
// Update, and calculate the left and right margins for the horizontal boxes
helpers.each(leftBoxes.concat(rightBoxes), fitBox);
helpers.each(leftBoxes, function (box) {
totalLeftBoxesWidth += box.width;
});
helpers.each(rightBoxes, function (box) {
totalRightBoxesWidth += box.width;
});
// Set the Left and Right margins for the horizontal boxes
helpers.each(topBoxes.concat(bottomBoxes), fitBox);
// Figure out how much margin is on the top and bottom of the vertical boxes
helpers.each(topBoxes, function (box) {
totalTopBoxesHeight += box.height;
});
helpers.each(bottomBoxes, function (box) {
totalBottomBoxesHeight += box.height;
});
function finalFitVerticalBox(box) {
var minBoxSize = helpers.findNextWhere(minBoxSizes, function (minSize) {
return minSize.box === box;
});
var scaleMargin = {
left: 0,
right: 0,
top: totalTopBoxesHeight,
bottom: totalBottomBoxesHeight
};
if (minBoxSize) {
box.update(minBoxSize.minSize.width, maxChartAreaHeight, scaleMargin);
}
}
// Let the left layout know the final margin
helpers.each(leftBoxes.concat(rightBoxes), finalFitVerticalBox);
// Recalculate because the size of each layout might have changed slightly due to the margins (label rotation for instance)
totalLeftBoxesWidth = leftPadding;
totalRightBoxesWidth = rightPadding;
totalTopBoxesHeight = topPadding;
totalBottomBoxesHeight = bottomPadding;
helpers.each(leftBoxes, function (box) {
totalLeftBoxesWidth += box.width;
});
helpers.each(rightBoxes, function (box) {
totalRightBoxesWidth += box.width;
});
helpers.each(topBoxes, function (box) {
totalTopBoxesHeight += box.height;
});
helpers.each(bottomBoxes, function (box) {
totalBottomBoxesHeight += box.height;
});
// Figure out if our chart area changed. This would occur if the dataset layout label rotation
// changed due to the application of the margins in step 6. Since we can only get bigger, this is safe to do
// without calling `fit` again
var newMaxChartAreaHeight = height - totalTopBoxesHeight - totalBottomBoxesHeight;
var newMaxChartAreaWidth = width - totalLeftBoxesWidth - totalRightBoxesWidth;
if (newMaxChartAreaWidth !== maxChartAreaWidth || newMaxChartAreaHeight !== maxChartAreaHeight) {
helpers.each(leftBoxes, function (box) {
box.height = newMaxChartAreaHeight;
});
helpers.each(rightBoxes, function (box) {
box.height = newMaxChartAreaHeight;
});
helpers.each(topBoxes, function (box) {
if (!box.options.fullWidth) {
box.width = newMaxChartAreaWidth;
}
});
helpers.each(bottomBoxes, function (box) {
if (!box.options.fullWidth) {
box.width = newMaxChartAreaWidth;
}
});
maxChartAreaHeight = newMaxChartAreaHeight;
maxChartAreaWidth = newMaxChartAreaWidth;
}
// Step 7 - Position the boxes
var left = leftPadding;
var top = topPadding;
function placeBox(box) {
if (box.isHorizontal()) {
box.left = box.options.fullWidth ? leftPadding : totalLeftBoxesWidth;
box.right = box.options.fullWidth ? width - rightPadding : totalLeftBoxesWidth + maxChartAreaWidth;
box.top = top;
box.bottom = top + box.height;
// Move to next point
top = box.bottom;
} else {
box.left = left;
box.right = left + box.width;
box.top = totalTopBoxesHeight;
box.bottom = totalTopBoxesHeight + maxChartAreaHeight;
// Move to next point
left = box.right;
}
}
helpers.each(leftBoxes.concat(topBoxes), placeBox);
// Account for chart width and height
left += maxChartAreaWidth;
top += maxChartAreaHeight;
helpers.each(rightBoxes, placeBox);
helpers.each(bottomBoxes, placeBox);
// Step 8
chartInstance.chartArea = {
left: totalLeftBoxesWidth,
top: totalTopBoxesHeight,
right: totalLeftBoxesWidth + maxChartAreaWidth,
bottom: totalTopBoxesHeight + maxChartAreaHeight
};
// Step 9
helpers.each(chartAreaBoxes, function (box) {
box.left = chartInstance.chartArea.left;
box.top = chartInstance.chartArea.top;
box.right = chartInstance.chartArea.right;
box.bottom = chartInstance.chartArea.bottom;
box.update(maxChartAreaWidth, maxChartAreaHeight);
});
}
};
};
}, {}], 30: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
var noop = helpers.noop;
Chart.defaults.global.legend = {
display: true,
position: 'top',
fullWidth: true, // marks that this box should take the full width of the canvas (pushing down other boxes)
reverse: false,
// a callback that will handle
onClick: function (e, legendItem) {
var index = legendItem.datasetIndex;
var ci = this.chart;
var meta = ci.getDatasetMeta(index);
// See controller.isDatasetVisible comment
meta.hidden = meta.hidden === null ? !ci.data.datasets[index].hidden : null;
// We hid a dataset ... rerender the chart
ci.update();
},
onHover: null,
labels: {
boxWidth: 40,
padding: 10,
// Generates labels shown in the legend
// Valid properties to return:
// text : text to display
// fillStyle : fill of coloured box
// strokeStyle: stroke of coloured box
// hidden : if this legend item refers to a hidden item
// lineCap : cap style for line
// lineDash
// lineDashOffset :
// lineJoin :
// lineWidth :
generateLabels: function (chart) {
var data = chart.data;
return helpers.isArray(data.datasets) ? data.datasets.map(function (dataset, i) {
return {
text: dataset.label,
fillStyle: (!helpers.isArray(dataset.backgroundColor) ? dataset.backgroundColor : dataset.backgroundColor[0]),
hidden: !chart.isDatasetVisible(i),
lineCap: dataset.borderCapStyle,
lineDash: dataset.borderDash,
lineDashOffset: dataset.borderDashOffset,
lineJoin: dataset.borderJoinStyle,
lineWidth: dataset.borderWidth,
strokeStyle: dataset.borderColor,
pointStyle: dataset.pointStyle,
// Below is extra data used for toggling the datasets
datasetIndex: i
};
}, this) : [];
}
}
};
/**
* Helper function to get the box width based on the usePointStyle option
* @param labelopts {Object} the label options on the legend
* @param fontSize {Number} the label font size
* @return {Number} width of the color box area
*/
function getBoxWidth(labelOpts, fontSize) {
return labelOpts.usePointStyle ?
fontSize * Math.SQRT2 :
labelOpts.boxWidth;
}
Chart.Legend = Chart.Element.extend({
initialize: function (config) {
helpers.extend(this, config);
// Contains hit boxes for each dataset (in dataset order)
this.legendHitBoxes = [];
// Are we in doughnut mode which has a different data type
this.doughnutMode = false;
},
// These methods are ordered by lifecycle. Utilities then follow.
// Any function defined here is inherited by all legend types.
// Any function can be extended by the legend type
beforeUpdate: noop,
update: function (maxWidth, maxHeight, margins) {
var me = this;
// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
me.beforeUpdate();
// Absorb the master measurements
me.maxWidth = maxWidth;
me.maxHeight = maxHeight;
me.margins = margins;
// Dimensions
me.beforeSetDimensions();
me.setDimensions();
me.afterSetDimensions();
// Labels
me.beforeBuildLabels();
me.buildLabels();
me.afterBuildLabels();
// Fit
me.beforeFit();
me.fit();
me.afterFit();
//
me.afterUpdate();
return me.minSize;
},
afterUpdate: noop,
//
beforeSetDimensions: noop,
setDimensions: function () {
var me = this;
// Set the unconstrained dimension before label rotation
if (me.isHorizontal()) {
// Reset position before calculating rotation
me.width = me.maxWidth;
me.left = 0;
me.right = me.width;
} else {
me.height = me.maxHeight;
// Reset position before calculating rotation
me.top = 0;
me.bottom = me.height;
}
// Reset padding
me.paddingLeft = 0;
me.paddingTop = 0;
me.paddingRight = 0;
me.paddingBottom = 0;
// Reset minSize
me.minSize = {
width: 0,
height: 0
};
},
afterSetDimensions: noop,
//
beforeBuildLabels: noop,
buildLabels: function () {
var me = this;
me.legendItems = me.options.labels.generateLabels.call(me, me.chart);
if (me.options.reverse) {
me.legendItems.reverse();
}
},
afterBuildLabels: noop,
//
beforeFit: noop,
fit: function () {
var me = this;
var opts = me.options;
var labelOpts = opts.labels;
var display = opts.display;
var ctx = me.ctx;
var globalDefault = Chart.defaults.global,
itemOrDefault = helpers.getValueOrDefault,
fontSize = itemOrDefault(labelOpts.fontSize, globalDefault.defaultFontSize),
fontStyle = itemOrDefault(labelOpts.fontStyle, globalDefault.defaultFontStyle),
fontFamily = itemOrDefault(labelOpts.fontFamily, globalDefault.defaultFontFamily),
labelFont = helpers.fontString(fontSize, fontStyle, fontFamily);
// Reset hit boxes
var hitboxes = me.legendHitBoxes = [];
var minSize = me.minSize;
var isHorizontal = me.isHorizontal();
if (isHorizontal) {
minSize.width = me.maxWidth; // fill all the width
minSize.height = display ? 10 : 0;
} else {
minSize.width = display ? 10 : 0;
minSize.height = me.maxHeight; // fill all the height
}
// Increase sizes here
if (display) {
ctx.font = labelFont;
if (isHorizontal) {
// Labels
// Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one
var lineWidths = me.lineWidths = [0];
var totalHeight = me.legendItems.length ? fontSize + (labelOpts.padding) : 0;
ctx.textAlign = 'left';
ctx.textBaseline = 'top';
helpers.each(me.legendItems, function (legendItem, i) {
var boxWidth = getBoxWidth(labelOpts, fontSize);
var width = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;
if (lineWidths[lineWidths.length - 1] + width + labelOpts.padding >= me.width) {
totalHeight += fontSize + (labelOpts.padding);
lineWidths[lineWidths.length] = me.left;
}
// Store the hitbox width and height here. Final position will be updated in `draw`
hitboxes[i] = {
left: 0,
top: 0,
width: width,
height: fontSize
};
lineWidths[lineWidths.length - 1] += width + labelOpts.padding;
});
minSize.height += totalHeight;
} else {
var vPadding = labelOpts.padding;
var columnWidths = me.columnWidths = [];
var totalWidth = labelOpts.padding;
var currentColWidth = 0;
var currentColHeight = 0;
var itemHeight = fontSize + vPadding;
helpers.each(me.legendItems, function (legendItem, i) {
var boxWidth = getBoxWidth(labelOpts, fontSize);
var itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;
// If too tall, go to new column
if (currentColHeight + itemHeight > minSize.height) {
totalWidth += currentColWidth + labelOpts.padding;
columnWidths.push(currentColWidth); // previous column width
currentColWidth = 0;
currentColHeight = 0;
}
// Get max width
currentColWidth = Math.max(currentColWidth, itemWidth);
currentColHeight += itemHeight;
// Store the hitbox width and height here. Final position will be updated in `draw`
hitboxes[i] = {
left: 0,
top: 0,
width: itemWidth,
height: fontSize
};
});
totalWidth += currentColWidth;
columnWidths.push(currentColWidth);
minSize.width += totalWidth;
}
}
me.width = minSize.width;
me.height = minSize.height;
},
afterFit: noop,
// Shared Methods
isHorizontal: function () {
return this.options.position === 'top' || this.options.position === 'bottom';
},
// Actually draw the legend on the canvas
draw: function () {
var me = this;
var opts = me.options;
var labelOpts = opts.labels;
var globalDefault = Chart.defaults.global,
lineDefault = globalDefault.elements.line,
legendWidth = me.width,
lineWidths = me.lineWidths;
if (opts.display) {
var ctx = me.ctx,
cursor,
itemOrDefault = helpers.getValueOrDefault,
fontColor = itemOrDefault(labelOpts.fontColor, globalDefault.defaultFontColor),
fontSize = itemOrDefault(labelOpts.fontSize, globalDefault.defaultFontSize),
fontStyle = itemOrDefault(labelOpts.fontStyle, globalDefault.defaultFontStyle),
fontFamily = itemOrDefault(labelOpts.fontFamily, globalDefault.defaultFontFamily),
labelFont = helpers.fontString(fontSize, fontStyle, fontFamily);
// Canvas setup
ctx.textAlign = 'left';
ctx.textBaseline = 'top';
ctx.lineWidth = 0.5;
ctx.strokeStyle = fontColor; // for strikethrough effect
ctx.fillStyle = fontColor; // render in correct colour
ctx.font = labelFont;
var boxWidth = getBoxWidth(labelOpts, fontSize),
hitboxes = me.legendHitBoxes;
// current position
var drawLegendBox = function (x, y, legendItem) {
if (isNaN(boxWidth) || boxWidth <= 0) {
return;
}
// Set the ctx for the box
ctx.save();
ctx.fillStyle = itemOrDefault(legendItem.fillStyle, globalDefault.defaultColor);
ctx.lineCap = itemOrDefault(legendItem.lineCap, lineDefault.borderCapStyle);
ctx.lineDashOffset = itemOrDefault(legendItem.lineDashOffset, lineDefault.borderDashOffset);
ctx.lineJoin = itemOrDefault(legendItem.lineJoin, lineDefault.borderJoinStyle);
ctx.lineWidth = itemOrDefault(legendItem.lineWidth, lineDefault.borderWidth);
ctx.strokeStyle = itemOrDefault(legendItem.strokeStyle, globalDefault.defaultColor);
var isLineWidthZero = (itemOrDefault(legendItem.lineWidth, lineDefault.borderWidth) === 0);
if (ctx.setLineDash) {
// IE 9 and 10 do not support line dash
ctx.setLineDash(itemOrDefault(legendItem.lineDash, lineDefault.borderDash));
}
if (opts.labels && opts.labels.usePointStyle) {
// Recalculate x and y for drawPoint() because its expecting
// x and y to be center of figure (instead of top left)
var radius = fontSize * Math.SQRT2 / 2;
var offSet = radius / Math.SQRT2;
var centerX = x + offSet;
var centerY = y + offSet;
// Draw pointStyle as legend symbol
Chart.canvasHelpers.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY);
} else {
// Draw box as legend symbol
if (!isLineWidthZero) {
ctx.strokeRect(x, y, boxWidth, fontSize);
}
ctx.fillRect(x, y, boxWidth, fontSize);
}
ctx.restore();
};
var fillText = function (x, y, legendItem, textWidth) {
ctx.fillText(legendItem.text, boxWidth + (fontSize / 2) + x, y);
if (legendItem.hidden) {
// Strikethrough the text if hidden
ctx.beginPath();
ctx.lineWidth = 2;
ctx.moveTo(boxWidth + (fontSize / 2) + x, y + (fontSize / 2));
ctx.lineTo(boxWidth + (fontSize / 2) + x + textWidth, y + (fontSize / 2));
ctx.stroke();
}
};
// Horizontal
var isHorizontal = me.isHorizontal();
if (isHorizontal) {
cursor = {
x: me.left + ((legendWidth - lineWidths[0]) / 2),
y: me.top + labelOpts.padding,
line: 0
};
} else {
cursor = {
x: me.left + labelOpts.padding,
y: me.top + labelOpts.padding,
line: 0
};
}
var itemHeight = fontSize + labelOpts.padding;
helpers.each(me.legendItems, function (legendItem, i) {
var textWidth = ctx.measureText(legendItem.text).width,
width = boxWidth + (fontSize / 2) + textWidth,
x = cursor.x,
y = cursor.y;
if (isHorizontal) {
if (x + width >= legendWidth) {
y = cursor.y += itemHeight;
cursor.line++;
x = cursor.x = me.left + ((legendWidth - lineWidths[cursor.line]) / 2);
}
} else if (y + itemHeight > me.bottom) {
x = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;
y = cursor.y = me.top;
cursor.line++;
}
drawLegendBox(x, y, legendItem);
hitboxes[i].left = x;
hitboxes[i].top = y;
// Fill the actual label
fillText(x, y, legendItem, textWidth);
if (isHorizontal) {
cursor.x += width + (labelOpts.padding);
} else {
cursor.y += itemHeight;
}
});
}
},
/**
* Handle an event
* @private
* @param e {Event} the event to handle
* @return {Boolean} true if a change occured
*/
handleEvent: function (e) {
var me = this;
var opts = me.options;
var type = e.type === 'mouseup' ? 'click' : e.type;
var changed = false;
if (type === 'mousemove') {
if (!opts.onHover) {
return;
}
} else if (type === 'click') {
if (!opts.onClick) {
return;
}
} else {
return;
}
var position = helpers.getRelativePosition(e, me.chart.chart),
x = position.x,
y = position.y;
if (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {
// See if we are touching one of the dataset boxes
var lh = me.legendHitBoxes;
for (var i = 0; i < lh.length; ++i) {
var hitBox = lh[i];
if (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {
// Touching an element
if (type === 'click') {
opts.onClick.call(me, e, me.legendItems[i]);
changed = true;
break;
} else if (type === 'mousemove') {
opts.onHover.call(me, e, me.legendItems[i]);
changed = true;
break;
}
}
}
}
return changed;
}
});
// Register the legend plugin
Chart.plugins.register({
beforeInit: function (chartInstance) {
var opts = chartInstance.options;
var legendOpts = opts.legend;
if (legendOpts) {
chartInstance.legend = new Chart.Legend({
ctx: chartInstance.chart.ctx,
options: legendOpts,
chart: chartInstance
});
Chart.layoutService.addBox(chartInstance, chartInstance.legend);
}
}
});
};
}, {}], 31: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var noop = Chart.helpers.noop;
/**
* The plugin service singleton
* @namespace Chart.plugins
* @since 2.1.0
*/
Chart.plugins = {
_plugins: [],
/**
* Registers the given plugin(s) if not already registered.
* @param {Array|Object} plugins plugin instance(s).
*/
register: function (plugins) {
var p = this._plugins;
([]).concat(plugins).forEach(function (plugin) {
if (p.indexOf(plugin) === -1) {
p.push(plugin);
}
});
},
/**
* Unregisters the given plugin(s) only if registered.
* @param {Array|Object} plugins plugin instance(s).
*/
unregister: function (plugins) {
var p = this._plugins;
([]).concat(plugins).forEach(function (plugin) {
var idx = p.indexOf(plugin);
if (idx !== -1) {
p.splice(idx, 1);
}
});
},
/**
* Remove all registered plugins.
* @since 2.1.5
*/
clear: function () {
this._plugins = [];
},
/**
* Returns the number of registered plugins?
* @returns {Number}
* @since 2.1.5
*/
count: function () {
return this._plugins.length;
},
/**
* Returns all registered plugin instances.
* @returns {Array} array of plugin objects.
* @since 2.1.5
*/
getAll: function () {
return this._plugins;
},
/**
* Calls registered plugins on the specified extension, with the given args. This
* method immediately returns as soon as a plugin explicitly returns false. The
* returned value can be used, for instance, to interrupt the current action.
* @param {String} extension the name of the plugin method to call (e.g. 'beforeUpdate').
* @param {Array} [args] extra arguments to apply to the extension call.
* @returns {Boolean} false if any of the plugins return false, else returns true.
*/
notify: function (extension, args) {
var plugins = this._plugins;
var ilen = plugins.length;
var i, plugin;
for (i = 0; i < ilen; ++i) {
plugin = plugins[i];
if (typeof plugin[extension] === 'function') {
if (plugin[extension].apply(plugin, args || []) === false) {
return false;
}
}
}
return true;
}
};
/**
* Plugin extension methods.
* @interface Chart.PluginBase
* @since 2.1.0
*/
Chart.PluginBase = Chart.Element.extend({
// Called at start of chart init
beforeInit: noop,
// Called at end of chart init
afterInit: noop,
// Called at start of update
beforeUpdate: noop,
// Called at end of update
afterUpdate: noop,
// Called at start of draw
beforeDraw: noop,
// Called at end of draw
afterDraw: noop,
// Called during destroy
destroy: noop
});
/**
* Provided for backward compatibility, use Chart.plugins instead
* @namespace Chart.pluginService
* @deprecated since version 2.1.5
* @todo remove me at version 3
*/
Chart.pluginService = Chart.plugins;
};
}, {}], 32: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.scale = {
display: true,
position: 'left',
// grid line settings
gridLines: {
display: true,
color: 'rgba(0, 0, 0, 0.1)',
lineWidth: 1,
drawBorder: true,
drawOnChartArea: true,
drawTicks: true,
tickMarkLength: 10,
zeroLineWidth: 1,
zeroLineColor: 'rgba(0,0,0,0.25)',
offsetGridLines: false,
borderDash: [],
borderDashOffset: 0.0
},
// scale label
scaleLabel: {
// actual label
labelString: '',
// display property
display: false
},
// label settings
ticks: {
beginAtZero: false,
minRotation: 0,
maxRotation: 50,
mirror: false,
padding: 10,
reverse: false,
display: true,
autoSkip: true,
autoSkipPadding: 0,
labelOffset: 0,
// We pass through arrays to be rendered as multiline labels, we convert Others to strings here.
callback: Chart.Ticks.formatters.values
}
};
Chart.Scale = Chart.Element.extend({
// These methods are ordered by lifecycle. Utilities then follow.
// Any function defined here is inherited by all scale types.
// Any function can be extended by the scale type
beforeUpdate: function () {
helpers.callCallback(this.options.beforeUpdate, [this]);
},
update: function (maxWidth, maxHeight, margins) {
var me = this;
// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
me.beforeUpdate();
// Absorb the master measurements
me.maxWidth = maxWidth;
me.maxHeight = maxHeight;
me.margins = helpers.extend({
left: 0,
right: 0,
top: 0,
bottom: 0
}, margins);
// Dimensions
me.beforeSetDimensions();
me.setDimensions();
me.afterSetDimensions();
// Data min/max
me.beforeDataLimits();
me.determineDataLimits();
me.afterDataLimits();
// Ticks
me.beforeBuildTicks();
me.buildTicks();
me.afterBuildTicks();
me.beforeTickToLabelConversion();
me.convertTicksToLabels();
me.afterTickToLabelConversion();
// Tick Rotation
me.beforeCalculateTickRotation();
me.calculateTickRotation();
me.afterCalculateTickRotation();
// Fit
me.beforeFit();
me.fit();
me.afterFit();
//
me.afterUpdate();
return me.minSize;
},
afterUpdate: function () {
helpers.callCallback(this.options.afterUpdate, [this]);
},
//
beforeSetDimensions: function () {
helpers.callCallback(this.options.beforeSetDimensions, [this]);
},
setDimensions: function () {
var me = this;
// Set the unconstrained dimension before label rotation
if (me.isHorizontal()) {
// Reset position before calculating rotation
me.width = me.maxWidth;
me.left = 0;
me.right = me.width;
} else {
me.height = me.maxHeight;
// Reset position before calculating rotation
me.top = 0;
me.bottom = me.height;
}
// Reset padding
me.paddingLeft = 0;
me.paddingTop = 0;
me.paddingRight = 0;
me.paddingBottom = 0;
},
afterSetDimensions: function () {
helpers.callCallback(this.options.afterSetDimensions, [this]);
},
// Data limits
beforeDataLimits: function () {
helpers.callCallback(this.options.beforeDataLimits, [this]);
},
determineDataLimits: helpers.noop,
afterDataLimits: function () {
helpers.callCallback(this.options.afterDataLimits, [this]);
},
//
beforeBuildTicks: function () {
helpers.callCallback(this.options.beforeBuildTicks, [this]);
},
buildTicks: helpers.noop,
afterBuildTicks: function () {
helpers.callCallback(this.options.afterBuildTicks, [this]);
},
beforeTickToLabelConversion: function () {
helpers.callCallback(this.options.beforeTickToLabelConversion, [this]);
},
convertTicksToLabels: function () {
var me = this;
// Convert ticks to strings
var tickOpts = me.options.ticks;
me.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback);
},
afterTickToLabelConversion: function () {
helpers.callCallback(this.options.afterTickToLabelConversion, [this]);
},
//
beforeCalculateTickRotation: function () {
helpers.callCallback(this.options.beforeCalculateTickRotation, [this]);
},
calculateTickRotation: function () {
var me = this;
var context = me.ctx;
var globalDefaults = Chart.defaults.global;
var optionTicks = me.options.ticks;
// Get the width of each grid by calculating the difference
// between x offsets between 0 and 1.
var tickFontSize = helpers.getValueOrDefault(optionTicks.fontSize, globalDefaults.defaultFontSize);
var tickFontStyle = helpers.getValueOrDefault(optionTicks.fontStyle, globalDefaults.defaultFontStyle);
var tickFontFamily = helpers.getValueOrDefault(optionTicks.fontFamily, globalDefaults.defaultFontFamily);
var tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);
context.font = tickLabelFont;
var firstWidth = context.measureText(me.ticks[0]).width;
var lastWidth = context.measureText(me.ticks[me.ticks.length - 1]).width;
var firstRotated;
me.labelRotation = optionTicks.minRotation || 0;
me.paddingRight = 0;
me.paddingLeft = 0;
if (me.options.display) {
if (me.isHorizontal()) {
me.paddingRight = lastWidth / 2 + 3;
me.paddingLeft = firstWidth / 2 + 3;
if (!me.longestTextCache) {
me.longestTextCache = {};
}
var originalLabelWidth = helpers.longestText(context, tickLabelFont, me.ticks, me.longestTextCache);
var labelWidth = originalLabelWidth;
var cosRotation;
var sinRotation;
// Allow 3 pixels x2 padding either side for label readability
// only the index matters for a dataset scale, but we want a consistent interface between scales
var tickWidth = me.getPixelForTick(1) - me.getPixelForTick(0) - 6;
// Max label rotation can be set or default to 90 - also act as a loop counter
while (labelWidth > tickWidth && me.labelRotation < optionTicks.maxRotation) {
cosRotation = Math.cos(helpers.toRadians(me.labelRotation));
sinRotation = Math.sin(helpers.toRadians(me.labelRotation));
firstRotated = cosRotation * firstWidth;
// We're right aligning the text now.
if (firstRotated + tickFontSize / 2 > me.yLabelWidth) {
me.paddingLeft = firstRotated + tickFontSize / 2;
}
me.paddingRight = tickFontSize / 2;
if (sinRotation * originalLabelWidth > me.maxHeight) {
// go back one step
me.labelRotation--;
break;
}
me.labelRotation++;
labelWidth = cosRotation * originalLabelWidth;
}
}
}
if (me.margins) {
me.paddingLeft = Math.max(me.paddingLeft - me.margins.left, 0);
me.paddingRight = Math.max(me.paddingRight - me.margins.right, 0);
}
},
afterCalculateTickRotation: function () {
helpers.callCallback(this.options.afterCalculateTickRotation, [this]);
},
//
beforeFit: function () {
helpers.callCallback(this.options.beforeFit, [this]);
},
fit: function () {
var me = this;
// Reset
var minSize = me.minSize = {
width: 0,
height: 0
};
var opts = me.options;
var globalDefaults = Chart.defaults.global;
var tickOpts = opts.ticks;
var scaleLabelOpts = opts.scaleLabel;
var gridLineOpts = opts.gridLines;
var display = opts.display;
var isHorizontal = me.isHorizontal();
var tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
var tickFontStyle = helpers.getValueOrDefault(tickOpts.fontStyle, globalDefaults.defaultFontStyle);
var tickFontFamily = helpers.getValueOrDefault(tickOpts.fontFamily, globalDefaults.defaultFontFamily);
var tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);
var scaleLabelFontSize = helpers.getValueOrDefault(scaleLabelOpts.fontSize, globalDefaults.defaultFontSize);
var tickMarkLength = opts.gridLines.tickMarkLength;
// Width
if (isHorizontal) {
// subtract the margins to line up with the chartArea if we are a full width scale
minSize.width = me.isFullWidth() ? me.maxWidth - me.margins.left - me.margins.right : me.maxWidth;
} else {
minSize.width = display && gridLineOpts.drawTicks ? tickMarkLength : 0;
}
// height
if (isHorizontal) {
minSize.height = display && gridLineOpts.drawTicks ? tickMarkLength : 0;
} else {
minSize.height = me.maxHeight; // fill all the height
}
// Are we showing a title for the scale?
if (scaleLabelOpts.display && display) {
if (isHorizontal) {
minSize.height += (scaleLabelFontSize * 1.5);
} else {
minSize.width += (scaleLabelFontSize * 1.5);
}
}
if (tickOpts.display && display) {
// Don't bother fitting the ticks if we are not showing them
if (!me.longestTextCache) {
me.longestTextCache = {};
}
var largestTextWidth = helpers.longestText(me.ctx, tickLabelFont, me.ticks, me.longestTextCache);
var tallestLabelHeightInLines = helpers.numberOfLabelLines(me.ticks);
var lineSpace = tickFontSize * 0.5;
if (isHorizontal) {
// A horizontal axis is more constrained by the height.
me.longestLabelWidth = largestTextWidth;
// TODO - improve this calculation
var labelHeight = (Math.sin(helpers.toRadians(me.labelRotation)) * me.longestLabelWidth) + (tickFontSize * tallestLabelHeightInLines) + (lineSpace * tallestLabelHeightInLines);
minSize.height = Math.min(me.maxHeight, minSize.height + labelHeight);
me.ctx.font = tickLabelFont;
var firstLabelWidth = me.ctx.measureText(me.ticks[0]).width;
var lastLabelWidth = me.ctx.measureText(me.ticks[me.ticks.length - 1]).width;
// Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned which means that the right padding is dominated
// by the font height
var cosRotation = Math.cos(helpers.toRadians(me.labelRotation));
var sinRotation = Math.sin(helpers.toRadians(me.labelRotation));
me.paddingLeft = me.labelRotation !== 0 ? (cosRotation * firstLabelWidth) + 3 : firstLabelWidth / 2 + 3; // add 3 px to move away from canvas edges
me.paddingRight = me.labelRotation !== 0 ? (sinRotation * (tickFontSize / 2)) + 3 : lastLabelWidth / 2 + 3; // when rotated
} else {
// A vertical axis is more constrained by the width. Labels are the dominant factor here, so get that length first
var maxLabelWidth = me.maxWidth - minSize.width;
// Account for padding
var mirror = tickOpts.mirror;
if (!mirror) {
largestTextWidth += me.options.ticks.padding;
} else {
// If mirrored text is on the inside so don't expand
largestTextWidth = 0;
}
if (largestTextWidth < maxLabelWidth) {
// We don't need all the room
minSize.width += largestTextWidth;
} else {
// Expand to max size
minSize.width = me.maxWidth;
}
me.paddingTop = tickFontSize / 2;
me.paddingBottom = tickFontSize / 2;
}
}
if (me.margins) {
me.paddingLeft = Math.max(me.paddingLeft - me.margins.left, 0);
me.paddingTop = Math.max(me.paddingTop - me.margins.top, 0);
me.paddingRight = Math.max(me.paddingRight - me.margins.right, 0);
me.paddingBottom = Math.max(me.paddingBottom - me.margins.bottom, 0);
}
me.width = minSize.width;
me.height = minSize.height;
},
afterFit: function () {
helpers.callCallback(this.options.afterFit, [this]);
},
// Shared Methods
isHorizontal: function () {
return this.options.position === 'top' || this.options.position === 'bottom';
},
isFullWidth: function () {
return (this.options.fullWidth);
},
// Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not
getRightValue: function (rawValue) {
// Null and undefined values first
if (rawValue === null || typeof(rawValue) === 'undefined') {
return NaN;
}
// isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values
if (typeof(rawValue) === 'number' && !isFinite(rawValue)) {
return NaN;
}
// If it is in fact an object, dive in one more level
if (typeof(rawValue) === 'object') {
if ((rawValue instanceof Date) || (rawValue.isValid)) {
return rawValue;
}
return this.getRightValue(this.isHorizontal() ? rawValue.x : rawValue.y);
}
// Value is good, return it
return rawValue;
},
// Used to get the value to display in the tooltip for the data at the given index
// function getLabelForIndex(index, datasetIndex)
getLabelForIndex: helpers.noop,
// Used to get data value locations. Value can either be an index or a numerical value
getPixelForValue: helpers.noop,
// Used to get the data value from a given pixel. This is the inverse of getPixelForValue
getValueForPixel: helpers.noop,
// Used for tick location, should
getPixelForTick: function (index, includeOffset) {
var me = this;
if (me.isHorizontal()) {
var innerWidth = me.width - (me.paddingLeft + me.paddingRight);
var tickWidth = innerWidth / Math.max((me.ticks.length - ((me.options.gridLines.offsetGridLines) ? 0 : 1)), 1);
var pixel = (tickWidth * index) + me.paddingLeft;
if (includeOffset) {
pixel += tickWidth / 2;
}
var finalVal = me.left + Math.round(pixel);
finalVal += me.isFullWidth() ? me.margins.left : 0;
return finalVal;
}
var innerHeight = me.height - (me.paddingTop + me.paddingBottom);
return me.top + (index * (innerHeight / (me.ticks.length - 1)));
},
// Utility for getting the pixel location of a percentage of scale
getPixelForDecimal: function (decimal /* , includeOffset*/) {
var me = this;
if (me.isHorizontal()) {
var innerWidth = me.width - (me.paddingLeft + me.paddingRight);
var valueOffset = (innerWidth * decimal) + me.paddingLeft;
var finalVal = me.left + Math.round(valueOffset);
finalVal += me.isFullWidth() ? me.margins.left : 0;
return finalVal;
}
return me.top + (decimal * me.height);
},
getBasePixel: function () {
var me = this;
var min = me.min;
var max = me.max;
return me.getPixelForValue(
me.beginAtZero ? 0 :
min < 0 && max < 0 ? max :
min > 0 && max > 0 ? min :
0);
},
// Actually draw the scale on the canvas
// @param {rectangle} chartArea : the area of the chart to draw full grid lines on
draw: function (chartArea) {
var me = this;
var options = me.options;
if (!options.display) {
return;
}
var context = me.ctx;
var globalDefaults = Chart.defaults.global;
var optionTicks = options.ticks;
var gridLines = options.gridLines;
var scaleLabel = options.scaleLabel;
var isRotated = me.labelRotation !== 0;
var skipRatio;
var useAutoskipper = optionTicks.autoSkip;
var isHorizontal = me.isHorizontal();
// figure out the maximum number of gridlines to show
var maxTicks;
if (optionTicks.maxTicksLimit) {
maxTicks = optionTicks.maxTicksLimit;
}
var tickFontColor = helpers.getValueOrDefault(optionTicks.fontColor, globalDefaults.defaultFontColor);
var tickFontSize = helpers.getValueOrDefault(optionTicks.fontSize, globalDefaults.defaultFontSize);
var tickFontStyle = helpers.getValueOrDefault(optionTicks.fontStyle, globalDefaults.defaultFontStyle);
var tickFontFamily = helpers.getValueOrDefault(optionTicks.fontFamily, globalDefaults.defaultFontFamily);
var tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);
var tl = gridLines.tickMarkLength;
var borderDash = helpers.getValueOrDefault(gridLines.borderDash, globalDefaults.borderDash);
var borderDashOffset = helpers.getValueOrDefault(gridLines.borderDashOffset, globalDefaults.borderDashOffset);
var scaleLabelFontColor = helpers.getValueOrDefault(scaleLabel.fontColor, globalDefaults.defaultFontColor);
var scaleLabelFontSize = helpers.getValueOrDefault(scaleLabel.fontSize, globalDefaults.defaultFontSize);
var scaleLabelFontStyle = helpers.getValueOrDefault(scaleLabel.fontStyle, globalDefaults.defaultFontStyle);
var scaleLabelFontFamily = helpers.getValueOrDefault(scaleLabel.fontFamily, globalDefaults.defaultFontFamily);
var scaleLabelFont = helpers.fontString(scaleLabelFontSize, scaleLabelFontStyle, scaleLabelFontFamily);
var labelRotationRadians = helpers.toRadians(me.labelRotation);
var cosRotation = Math.cos(labelRotationRadians);
var longestRotatedLabel = me.longestLabelWidth * cosRotation;
// Make sure we draw text in the correct color and font
context.fillStyle = tickFontColor;
var itemsToDraw = [];
if (isHorizontal) {
skipRatio = false;
// Only calculate the skip ratio with the half width of longestRotateLabel if we got an actual rotation
// See #2584
if (isRotated) {
longestRotatedLabel /= 2;
}
if ((longestRotatedLabel + optionTicks.autoSkipPadding) * me.ticks.length > (me.width - (me.paddingLeft + me.paddingRight))) {
skipRatio = 1 + Math.floor(((longestRotatedLabel + optionTicks.autoSkipPadding) * me.ticks.length) / (me.width - (me.paddingLeft + me.paddingRight)));
}
// if they defined a max number of optionTicks,
// increase skipRatio until that number is met
if (maxTicks && me.ticks.length > maxTicks) {
while (!skipRatio || me.ticks.length / (skipRatio || 1) > maxTicks) {
if (!skipRatio) {
skipRatio = 1;
}
skipRatio += 1;
}
}
if (!useAutoskipper) {
skipRatio = false;
}
}
var xTickStart = options.position === 'right' ? me.left : me.right - tl;
var xTickEnd = options.position === 'right' ? me.left + tl : me.right;
var yTickStart = options.position === 'bottom' ? me.top : me.bottom - tl;
var yTickEnd = options.position === 'bottom' ? me.top + tl : me.bottom;
helpers.each(me.ticks, function (label, index) {
// If the callback returned a null or undefined value, do not draw this line
if (label === undefined || label === null) {
return;
}
var isLastTick = me.ticks.length === index + 1;
// Since we always show the last tick,we need may need to hide the last shown one before
var shouldSkip = (skipRatio > 1 && index % skipRatio > 0) || (index % skipRatio === 0 && index + skipRatio >= me.ticks.length);
if (shouldSkip && !isLastTick || (label === undefined || label === null)) {
return;
}
var lineWidth, lineColor;
if (index === (typeof me.zeroLineIndex !== 'undefined' ? me.zeroLineIndex : 0)) {
// Draw the first index specially
lineWidth = gridLines.zeroLineWidth;
lineColor = gridLines.zeroLineColor;
} else {
lineWidth = helpers.getValueAtIndexOrDefault(gridLines.lineWidth, index);
lineColor = helpers.getValueAtIndexOrDefault(gridLines.color, index);
}
// Common properties
var tx1, ty1, tx2, ty2, x1, y1, x2, y2, labelX, labelY;
var textAlign = 'middle';
var textBaseline = 'middle';
if (isHorizontal) {
if (!isRotated) {
textBaseline = options.position === 'top' ? 'bottom' : 'top';
}
textAlign = isRotated ? 'right' : 'center';
var xLineValue = me.getPixelForTick(index) + helpers.aliasPixel(lineWidth); // xvalues for grid lines
labelX = me.getPixelForTick(index, gridLines.offsetGridLines) + optionTicks.labelOffset; // x values for optionTicks (need to consider offsetLabel option)
labelY = (isRotated) ? me.top + 12 : options.position === 'top' ? me.bottom - tl : me.top + tl;
tx1 = tx2 = x1 = x2 = xLineValue;
ty1 = yTickStart;
ty2 = yTickEnd;
y1 = chartArea.top;
y2 = chartArea.bottom;
} else {
if (options.position === 'left') {
if (optionTicks.mirror) {
labelX = me.right + optionTicks.padding;
textAlign = 'left';
} else {
labelX = me.right - optionTicks.padding;
textAlign = 'right';
}
// right side
} else if (optionTicks.mirror) {
labelX = me.left - optionTicks.padding;
textAlign = 'right';
} else {
labelX = me.left + optionTicks.padding;
textAlign = 'left';
}
var yLineValue = me.getPixelForTick(index); // xvalues for grid lines
yLineValue += helpers.aliasPixel(lineWidth);
labelY = me.getPixelForTick(index, gridLines.offsetGridLines);
tx1 = xTickStart;
tx2 = xTickEnd;
x1 = chartArea.left;
x2 = chartArea.right;
ty1 = ty2 = y1 = y2 = yLineValue;
}
itemsToDraw.push({
tx1: tx1,
ty1: ty1,
tx2: tx2,
ty2: ty2,
x1: x1,
y1: y1,
x2: x2,
y2: y2,
labelX: labelX,
labelY: labelY,
glWidth: lineWidth,
glColor: lineColor,
glBorderDash: borderDash,
glBorderDashOffset: borderDashOffset,
rotation: -1 * labelRotationRadians,
label: label,
textBaseline: textBaseline,
textAlign: textAlign
});
});
// Draw all of the tick labels, tick marks, and grid lines at the correct places
helpers.each(itemsToDraw, function (itemToDraw) {
if (gridLines.display) {
context.save();
context.lineWidth = itemToDraw.glWidth;
context.strokeStyle = itemToDraw.glColor;
if (context.setLineDash) {
context.setLineDash(itemToDraw.glBorderDash);
context.lineDashOffset = itemToDraw.glBorderDashOffset;
}
context.beginPath();
if (gridLines.drawTicks) {
context.moveTo(itemToDraw.tx1, itemToDraw.ty1);
context.lineTo(itemToDraw.tx2, itemToDraw.ty2);
}
if (gridLines.drawOnChartArea) {
context.moveTo(itemToDraw.x1, itemToDraw.y1);
context.lineTo(itemToDraw.x2, itemToDraw.y2);
}
context.stroke();
context.restore();
}
if (optionTicks.display) {
context.save();
context.translate(itemToDraw.labelX, itemToDraw.labelY);
context.rotate(itemToDraw.rotation);
context.font = tickLabelFont;
context.textBaseline = itemToDraw.textBaseline;
context.textAlign = itemToDraw.textAlign;
var label = itemToDraw.label;
if (helpers.isArray(label)) {
for (var i = 0, y = -(label.length - 1) * tickFontSize * 0.75; i < label.length; ++i) {
// We just make sure the multiline element is a string here..
context.fillText('' + label[i], 0, y);
// apply same lineSpacing as calculated @ L#320
y += (tickFontSize * 1.5);
}
} else {
context.fillText(label, 0, 0);
}
context.restore();
}
});
if (scaleLabel.display) {
// Draw the scale label
var scaleLabelX;
var scaleLabelY;
var rotation = 0;
if (isHorizontal) {
scaleLabelX = me.left + ((me.right - me.left) / 2); // midpoint of the width
scaleLabelY = options.position === 'bottom' ? me.bottom - (scaleLabelFontSize / 2) : me.top + (scaleLabelFontSize / 2);
} else {
var isLeft = options.position === 'left';
scaleLabelX = isLeft ? me.left + (scaleLabelFontSize / 2) : me.right - (scaleLabelFontSize / 2);
scaleLabelY = me.top + ((me.bottom - me.top) / 2);
rotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;
}
context.save();
context.translate(scaleLabelX, scaleLabelY);
context.rotate(rotation);
context.textAlign = 'center';
context.textBaseline = 'middle';
context.fillStyle = scaleLabelFontColor; // render in correct colour
context.font = scaleLabelFont;
context.fillText(scaleLabel.labelString, 0, 0);
context.restore();
}
if (gridLines.drawBorder) {
// Draw the line at the edge of the axis
context.lineWidth = helpers.getValueAtIndexOrDefault(gridLines.lineWidth, 0);
context.strokeStyle = helpers.getValueAtIndexOrDefault(gridLines.color, 0);
var x1 = me.left,
x2 = me.right,
y1 = me.top,
y2 = me.bottom;
var aliasPixel = helpers.aliasPixel(context.lineWidth);
if (isHorizontal) {
y1 = y2 = options.position === 'top' ? me.bottom : me.top;
y1 += aliasPixel;
y2 += aliasPixel;
} else {
x1 = x2 = options.position === 'left' ? me.right : me.left;
x1 += aliasPixel;
x2 += aliasPixel;
}
context.beginPath();
context.moveTo(x1, y1);
context.lineTo(x2, y2);
context.stroke();
}
}
});
};
}, {}], 33: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.scaleService = {
// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then
// use the new chart options to grab the correct scale
constructors: {},
// Use a registration function so that we can move to an ES6 map when we no longer need to support
// old browsers
// Scale config defaults
defaults: {},
registerScaleType: function (type, scaleConstructor, defaults) {
this.constructors[type] = scaleConstructor;
this.defaults[type] = helpers.clone(defaults);
},
getScaleConstructor: function (type) {
return this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;
},
getScaleDefaults: function (type) {
// Return the scale defaults merged with the global settings so that we always use the latest ones
return this.defaults.hasOwnProperty(type) ? helpers.scaleMerge(Chart.defaults.scale, this.defaults[type]) : {};
},
updateScaleDefaults: function (type, additions) {
var defaults = this.defaults;
if (defaults.hasOwnProperty(type)) {
defaults[type] = helpers.extend(defaults[type], additions);
}
},
addScalesToLayout: function (chartInstance) {
// Adds each scale to the chart.boxes array to be sized accordingly
helpers.each(chartInstance.scales, function (scale) {
Chart.layoutService.addBox(chartInstance, scale);
});
}
};
};
}, {}], 34: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
/**
* Namespace to hold static tick generation functions
* @namespace Chart.Ticks
*/
Chart.Ticks = {
/**
* Namespace to hold generators for different types of ticks
* @namespace Chart.Ticks.generators
*/
generators: {
/**
* Interface for the options provided to the numeric tick generator
* @interface INumericTickGenerationOptions
*/
/**
* The maximum number of ticks to display
* @name INumericTickGenerationOptions#maxTicks
* @type Number
*/
/**
* The distance between each tick.
* @name INumericTickGenerationOptions#stepSize
* @type Number
* @optional
*/
/**
* Forced minimum for the ticks. If not specified, the minimum of the data range is used to calculate the tick minimum
* @name INumericTickGenerationOptions#min
* @type Number
* @optional
*/
/**
* The maximum value of the ticks. If not specified, the maximum of the data range is used to calculate the tick maximum
* @name INumericTickGenerationOptions#max
* @type Number
* @optional
*/
/**
* Generate a set of linear ticks
* @method Chart.Ticks.generators.linear
* @param generationOptions {INumericTickGenerationOptions} the options used to generate the ticks
* @param dataRange {IRange} the range of the data
* @returns {Array<Number>} array of tick values
*/
linear: function (generationOptions, dataRange) {
var ticks = [];
// To get a "nice" value for the tick spacing, we will use the appropriately named
// "nice number" algorithm. See http://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks
// for details.
var spacing;
if (generationOptions.stepSize && generationOptions.stepSize > 0) {
spacing = generationOptions.stepSize;
} else {
var niceRange = helpers.niceNum(dataRange.max - dataRange.min, false);
spacing = helpers.niceNum(niceRange / (generationOptions.maxTicks - 1), true);
}
var niceMin = Math.floor(dataRange.min / spacing) * spacing;
var niceMax = Math.ceil(dataRange.max / spacing) * spacing;
// If min, max and stepSize is set and they make an evenly spaced scale use it.
if (generationOptions.min && generationOptions.max && generationOptions.stepSize) {
var minMaxDeltaDivisibleByStepSize = ((generationOptions.max - generationOptions.min) % generationOptions.stepSize) === 0;
if (minMaxDeltaDivisibleByStepSize) {
niceMin = generationOptions.min;
niceMax = generationOptions.max;
}
}
var numSpaces = (niceMax - niceMin) / spacing;
// If very close to our rounded value, use it.
if (helpers.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {
numSpaces = Math.round(numSpaces);
} else {
numSpaces = Math.ceil(numSpaces);
}
// Put the values into the ticks array
ticks.push(generationOptions.min !== undefined ? generationOptions.min : niceMin);
for (var j = 1; j < numSpaces; ++j) {
ticks.push(niceMin + (j * spacing));
}
ticks.push(generationOptions.max !== undefined ? generationOptions.max : niceMax);
return ticks;
},
/**
* Generate a set of logarithmic ticks
* @method Chart.Ticks.generators.logarithmic
* @param generationOptions {INumericTickGenerationOptions} the options used to generate the ticks
* @param dataRange {IRange} the range of the data
* @returns {Array<Number>} array of tick values
*/
logarithmic: function (generationOptions, dataRange) {
var ticks = [];
var getValueOrDefault = helpers.getValueOrDefault;
// Figure out what the max number of ticks we can support it is based on the size of
// the axis area. For now, we say that the minimum tick spacing in pixels must be 50
// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on
// the graph
var tickVal = getValueOrDefault(generationOptions.min, Math.pow(10, Math.floor(helpers.log10(dataRange.min))));
while (tickVal < dataRange.max) {
ticks.push(tickVal);
var exp;
var significand;
if (tickVal === 0) {
exp = Math.floor(helpers.log10(dataRange.minNotZero));
significand = Math.round(dataRange.minNotZero / Math.pow(10, exp));
} else {
exp = Math.floor(helpers.log10(tickVal));
significand = Math.floor(tickVal / Math.pow(10, exp)) + 1;
}
if (significand === 10) {
significand = 1;
++exp;
}
tickVal = significand * Math.pow(10, exp);
}
var lastTick = getValueOrDefault(generationOptions.max, tickVal);
ticks.push(lastTick);
return ticks;
}
},
/**
* Namespace to hold formatters for different types of ticks
* @namespace Chart.Ticks.formatters
*/
formatters: {
/**
* Formatter for value labels
* @method Chart.Ticks.formatters.values
* @param value the value to display
* @return {String|Array} the label to display
*/
values: function (value) {
return helpers.isArray(value) ? value : '' + value;
},
/**
* Formatter for linear numeric ticks
* @method Chart.Ticks.formatters.linear
* @param tickValue {Number} the value to be formatted
* @param index {Number} the position of the tickValue parameter in the ticks array
* @param ticks {Array<Number>} the list of ticks being converted
* @return {String} string representation of the tickValue parameter
*/
linear: function (tickValue, index, ticks) {
// If we have lots of ticks, don't use the ones
var delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0];
// If we have a number like 2.5 as the delta, figure out how many decimal places we need
if (Math.abs(delta) > 1) {
if (tickValue !== Math.floor(tickValue)) {
// not an integer
delta = tickValue - Math.floor(tickValue);
}
}
var logDelta = helpers.log10(Math.abs(delta));
var tickString = '';
if (tickValue !== 0) {
var numDecimal = -1 * Math.floor(logDelta);
numDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places
tickString = tickValue.toFixed(numDecimal);
} else {
tickString = '0'; // never show decimal places for 0
}
return tickString;
},
logarithmic: function (tickValue, index, ticks) {
var remain = tickValue / (Math.pow(10, Math.floor(helpers.log10(tickValue))));
if (tickValue === 0) {
return '0';
} else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {
return tickValue.toExponential();
}
return '';
}
}
};
};
}, {}], 35: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
Chart.defaults.global.title = {
display: false,
position: 'top',
fullWidth: true, // marks that this box should take the full width of the canvas (pushing down other boxes)
fontStyle: 'bold',
padding: 10,
// actual title
text: ''
};
var noop = helpers.noop;
Chart.Title = Chart.Element.extend({
initialize: function (config) {
var me = this;
helpers.extend(me, config);
me.options = helpers.configMerge(Chart.defaults.global.title, config.options);
// Contains hit boxes for each dataset (in dataset order)
me.legendHitBoxes = [];
},
// These methods are ordered by lifecycle. Utilities then follow.
beforeUpdate: function () {
var chartOpts = this.chart.options;
if (chartOpts && chartOpts.title) {
this.options = helpers.configMerge(Chart.defaults.global.title, chartOpts.title);
}
},
update: function (maxWidth, maxHeight, margins) {
var me = this;
// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
me.beforeUpdate();
// Absorb the master measurements
me.maxWidth = maxWidth;
me.maxHeight = maxHeight;
me.margins = margins;
// Dimensions
me.beforeSetDimensions();
me.setDimensions();
me.afterSetDimensions();
// Labels
me.beforeBuildLabels();
me.buildLabels();
me.afterBuildLabels();
// Fit
me.beforeFit();
me.fit();
me.afterFit();
//
me.afterUpdate();
return me.minSize;
},
afterUpdate: noop,
//
beforeSetDimensions: noop,
setDimensions: function () {
var me = this;
// Set the unconstrained dimension before label rotation
if (me.isHorizontal()) {
// Reset position before calculating rotation
me.width = me.maxWidth;
me.left = 0;
me.right = me.width;
} else {
me.height = me.maxHeight;
// Reset position before calculating rotation
me.top = 0;
me.bottom = me.height;
}
// Reset padding
me.paddingLeft = 0;
me.paddingTop = 0;
me.paddingRight = 0;
me.paddingBottom = 0;
// Reset minSize
me.minSize = {
width: 0,
height: 0
};
},
afterSetDimensions: noop,
//
beforeBuildLabels: noop,
buildLabels: noop,
afterBuildLabels: noop,
//
beforeFit: noop,
fit: function () {
var me = this,
valueOrDefault = helpers.getValueOrDefault,
opts = me.options,
globalDefaults = Chart.defaults.global,
display = opts.display,
fontSize = valueOrDefault(opts.fontSize, globalDefaults.defaultFontSize),
minSize = me.minSize;
if (me.isHorizontal()) {
minSize.width = me.maxWidth; // fill all the width
minSize.height = display ? fontSize + (opts.padding * 2) : 0;
} else {
minSize.width = display ? fontSize + (opts.padding * 2) : 0;
minSize.height = me.maxHeight; // fill all the height
}
me.width = minSize.width;
me.height = minSize.height;
},
afterFit: noop,
// Shared Methods
isHorizontal: function () {
var pos = this.options.position;
return pos === 'top' || pos === 'bottom';
},
// Actually draw the title block on the canvas
draw: function () {
var me = this,
ctx = me.ctx,
valueOrDefault = helpers.getValueOrDefault,
opts = me.options,
globalDefaults = Chart.defaults.global;
if (opts.display) {
var fontSize = valueOrDefault(opts.fontSize, globalDefaults.defaultFontSize),
fontStyle = valueOrDefault(opts.fontStyle, globalDefaults.defaultFontStyle),
fontFamily = valueOrDefault(opts.fontFamily, globalDefaults.defaultFontFamily),
titleFont = helpers.fontString(fontSize, fontStyle, fontFamily),
rotation = 0,
titleX,
titleY,
top = me.top,
left = me.left,
bottom = me.bottom,
right = me.right,
maxWidth;
ctx.fillStyle = valueOrDefault(opts.fontColor, globalDefaults.defaultFontColor); // render in correct colour
ctx.font = titleFont;
// Horizontal
if (me.isHorizontal()) {
titleX = left + ((right - left) / 2); // midpoint of the width
titleY = top + ((bottom - top) / 2); // midpoint of the height
maxWidth = right - left;
} else {
titleX = opts.position === 'left' ? left + (fontSize / 2) : right - (fontSize / 2);
titleY = top + ((bottom - top) / 2);
maxWidth = bottom - top;
rotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);
}
ctx.save();
ctx.translate(titleX, titleY);
ctx.rotate(rotation);
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillText(opts.text, 0, 0, maxWidth);
ctx.restore();
}
}
});
// Register the title plugin
Chart.plugins.register({
beforeInit: function (chartInstance) {
var opts = chartInstance.options;
var titleOpts = opts.title;
if (titleOpts) {
chartInstance.titleBlock = new Chart.Title({
ctx: chartInstance.chart.ctx,
options: titleOpts,
chart: chartInstance
});
Chart.layoutService.addBox(chartInstance, chartInstance.titleBlock);
}
}
});
};
}, {}], 36: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
/**
* Helper method to merge the opacity into a color
*/
function mergeOpacity(colorString, opacity) {
var color = helpers.color(colorString);
return color.alpha(opacity * color.alpha()).rgbaString();
}
Chart.defaults.global.tooltips = {
enabled: true,
custom: null,
mode: 'nearest',
position: 'average',
intersect: true,
backgroundColor: 'rgba(0,0,0,0.8)',
titleFontStyle: 'bold',
titleSpacing: 2,
titleMarginBottom: 6,
titleFontColor: '#fff',
titleAlign: 'left',
bodySpacing: 2,
bodyFontColor: '#fff',
bodyAlign: 'left',
footerFontStyle: 'bold',
footerSpacing: 2,
footerMarginTop: 6,
footerFontColor: '#fff',
footerAlign: 'left',
yPadding: 6,
xPadding: 6,
caretSize: 5,
cornerRadius: 6,
multiKeyBackground: '#fff',
displayColors: true,
callbacks: {
// Args are: (tooltipItems, data)
beforeTitle: helpers.noop,
title: function (tooltipItems, data) {
// Pick first xLabel for now
var title = '';
var labels = data.labels;
var labelCount = labels ? labels.length : 0;
if (tooltipItems.length > 0) {
var item = tooltipItems[0];
if (item.xLabel) {
title = item.xLabel;
} else if (labelCount > 0 && item.index < labelCount) {
title = labels[item.index];
}
}
return title;
},
afterTitle: helpers.noop,
// Args are: (tooltipItems, data)
beforeBody: helpers.noop,
// Args are: (tooltipItem, data)
beforeLabel: helpers.noop,
label: function (tooltipItem, data) {
var datasetLabel = data.datasets[tooltipItem.datasetIndex].label || '';
return datasetLabel + ': ' + tooltipItem.yLabel;
},
labelColor: function (tooltipItem, chartInstance) {
var meta = chartInstance.getDatasetMeta(tooltipItem.datasetIndex);
var activeElement = meta.data[tooltipItem.index];
var view = activeElement._view;
return {
borderColor: view.borderColor,
backgroundColor: view.backgroundColor
};
},
afterLabel: helpers.noop,
// Args are: (tooltipItems, data)
afterBody: helpers.noop,
// Args are: (tooltipItems, data)
beforeFooter: helpers.noop,
footer: helpers.noop,
afterFooter: helpers.noop
}
};
// Helper to push or concat based on if the 2nd parameter is an array or not
function pushOrConcat(base, toPush) {
if (toPush) {
if (helpers.isArray(toPush)) {
// base = base.concat(toPush);
Array.prototype.push.apply(base, toPush);
} else {
base.push(toPush);
}
}
return base;
}
// Private helper to create a tooltip item model
// @param element : the chart element (point, arc, bar) to create the tooltip item for
// @return : new tooltip item
function createTooltipItem(element) {
var xScale = element._xScale;
var yScale = element._yScale || element._scale; // handle radar || polarArea charts
var index = element._index,
datasetIndex = element._datasetIndex;
return {
xLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',
yLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',
index: index,
datasetIndex: datasetIndex,
x: element._model.x,
y: element._model.y
};
}
/**
* Helper to get the reset model for the tooltip
* @param tooltipOpts {Object} the tooltip options
*/
function getBaseModel(tooltipOpts) {
var globalDefaults = Chart.defaults.global;
var getValueOrDefault = helpers.getValueOrDefault;
return {
// Positioning
xPadding: tooltipOpts.xPadding,
yPadding: tooltipOpts.yPadding,
xAlign: tooltipOpts.xAlign,
yAlign: tooltipOpts.yAlign,
// Body
bodyFontColor: tooltipOpts.bodyFontColor,
_bodyFontFamily: getValueOrDefault(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),
_bodyFontStyle: getValueOrDefault(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),
_bodyAlign: tooltipOpts.bodyAlign,
bodyFontSize: getValueOrDefault(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),
bodySpacing: tooltipOpts.bodySpacing,
// Title
titleFontColor: tooltipOpts.titleFontColor,
_titleFontFamily: getValueOrDefault(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),
_titleFontStyle: getValueOrDefault(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),
titleFontSize: getValueOrDefault(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),
_titleAlign: tooltipOpts.titleAlign,
titleSpacing: tooltipOpts.titleSpacing,
titleMarginBottom: tooltipOpts.titleMarginBottom,
// Footer
footerFontColor: tooltipOpts.footerFontColor,
_footerFontFamily: getValueOrDefault(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),
_footerFontStyle: getValueOrDefault(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),
footerFontSize: getValueOrDefault(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),
_footerAlign: tooltipOpts.footerAlign,
footerSpacing: tooltipOpts.footerSpacing,
footerMarginTop: tooltipOpts.footerMarginTop,
// Appearance
caretSize: tooltipOpts.caretSize,
cornerRadius: tooltipOpts.cornerRadius,
backgroundColor: tooltipOpts.backgroundColor,
opacity: 0,
legendColorBackground: tooltipOpts.multiKeyBackground,
displayColors: tooltipOpts.displayColors
};
}
/**
* Get the size of the tooltip
*/
function getTooltipSize(tooltip, model) {
var ctx = tooltip._chart.ctx;
var height = model.yPadding * 2; // Tooltip Padding
var width = 0;
// Count of all lines in the body
var body = model.body;
var combinedBodyLength = body.reduce(function (count, bodyItem) {
return count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;
}, 0);
combinedBodyLength += model.beforeBody.length + model.afterBody.length;
var titleLineCount = model.title.length;
var footerLineCount = model.footer.length;
var titleFontSize = model.titleFontSize,
bodyFontSize = model.bodyFontSize,
footerFontSize = model.footerFontSize;
height += titleLineCount * titleFontSize; // Title Lines
height += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing
height += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin
height += combinedBodyLength * bodyFontSize; // Body Lines
height += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing
height += footerLineCount ? model.footerMarginTop : 0; // Footer Margin
height += footerLineCount * (footerFontSize); // Footer Lines
height += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing
// Title width
var widthPadding = 0;
var maxLineWidth = function (line) {
width = Math.max(width, ctx.measureText(line).width + widthPadding);
};
ctx.font = helpers.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);
helpers.each(model.title, maxLineWidth);
// Body width
ctx.font = helpers.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);
helpers.each(model.beforeBody.concat(model.afterBody), maxLineWidth);
// Body lines may include some extra width due to the color box
widthPadding = model.displayColors ? (bodyFontSize + 2) : 0;
helpers.each(body, function (bodyItem) {
helpers.each(bodyItem.before, maxLineWidth);
helpers.each(bodyItem.lines, maxLineWidth);
helpers.each(bodyItem.after, maxLineWidth);
});
// Reset back to 0
widthPadding = 0;
// Footer width
ctx.font = helpers.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);
helpers.each(model.footer, maxLineWidth);
// Add padding
width += 2 * model.xPadding;
return {
width: width,
height: height
};
}
/**
* Helper to get the alignment of a tooltip given the size
*/
function determineAlignment(tooltip, size) {
var model = tooltip._model;
var chart = tooltip._chart;
var chartArea = tooltip._chartInstance.chartArea;
var xAlign = 'center';
var yAlign = 'center';
if (model.y < size.height) {
yAlign = 'top';
} else if (model.y > (chart.height - size.height)) {
yAlign = 'bottom';
}
var lf, rf; // functions to determine left, right alignment
var olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart
var yf; // function to get the y alignment if the tooltip goes outside of the left or right edges
var midX = (chartArea.left + chartArea.right) / 2;
var midY = (chartArea.top + chartArea.bottom) / 2;
if (yAlign === 'center') {
lf = function (x) {
return x <= midX;
};
rf = function (x) {
return x > midX;
};
} else {
lf = function (x) {
return x <= (size.width / 2);
};
rf = function (x) {
return x >= (chart.width - (size.width / 2));
};
}
olf = function (x) {
return x + size.width > chart.width;
};
orf = function (x) {
return x - size.width < 0;
};
yf = function (y) {
return y <= midY ? 'top' : 'bottom';
};
if (lf(model.x)) {
xAlign = 'left';
// Is tooltip too wide and goes over the right side of the chart.?
if (olf(model.x)) {
xAlign = 'center';
yAlign = yf(model.y);
}
} else if (rf(model.x)) {
xAlign = 'right';
// Is tooltip too wide and goes outside left edge of canvas?
if (orf(model.x)) {
xAlign = 'center';
yAlign = yf(model.y);
}
}
var opts = tooltip._options;
return {
xAlign: opts.xAlign ? opts.xAlign : xAlign,
yAlign: opts.yAlign ? opts.yAlign : yAlign
};
}
/**
* @Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment
*/
function getBackgroundPoint(vm, size, alignment) {
// Background Position
var x = vm.x;
var y = vm.y;
var caretSize = vm.caretSize,
caretPadding = vm.caretPadding,
cornerRadius = vm.cornerRadius,
xAlign = alignment.xAlign,
yAlign = alignment.yAlign,
paddingAndSize = caretSize + caretPadding,
radiusAndPadding = cornerRadius + caretPadding;
if (xAlign === 'right') {
x -= size.width;
} else if (xAlign === 'center') {
x -= (size.width / 2);
}
if (yAlign === 'top') {
y += paddingAndSize;
} else if (yAlign === 'bottom') {
y -= size.height + paddingAndSize;
} else {
y -= (size.height / 2);
}
if (yAlign === 'center') {
if (xAlign === 'left') {
x += paddingAndSize;
} else if (xAlign === 'right') {
x -= paddingAndSize;
}
} else if (xAlign === 'left') {
x -= radiusAndPadding;
} else if (xAlign === 'right') {
x += radiusAndPadding;
}
return {
x: x,
y: y
};
}
Chart.Tooltip = Chart.Element.extend({
initialize: function () {
this._model = getBaseModel(this._options);
},
// Get the title
// Args are: (tooltipItem, data)
getTitle: function () {
var me = this;
var opts = me._options;
var callbacks = opts.callbacks;
var beforeTitle = callbacks.beforeTitle.apply(me, arguments),
title = callbacks.title.apply(me, arguments),
afterTitle = callbacks.afterTitle.apply(me, arguments);
var lines = [];
lines = pushOrConcat(lines, beforeTitle);
lines = pushOrConcat(lines, title);
lines = pushOrConcat(lines, afterTitle);
return lines;
},
// Args are: (tooltipItem, data)
getBeforeBody: function () {
var lines = this._options.callbacks.beforeBody.apply(this, arguments);
return helpers.isArray(lines) ? lines : lines !== undefined ? [lines] : [];
},
// Args are: (tooltipItem, data)
getBody: function (tooltipItems, data) {
var me = this;
var callbacks = me._options.callbacks;
var bodyItems = [];
helpers.each(tooltipItems, function (tooltipItem) {
var bodyItem = {
before: [],
lines: [],
after: []
};
pushOrConcat(bodyItem.before, callbacks.beforeLabel.call(me, tooltipItem, data));
pushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));
pushOrConcat(bodyItem.after, callbacks.afterLabel.call(me, tooltipItem, data));
bodyItems.push(bodyItem);
});
return bodyItems;
},
// Args are: (tooltipItem, data)
getAfterBody: function () {
var lines = this._options.callbacks.afterBody.apply(this, arguments);
return helpers.isArray(lines) ? lines : lines !== undefined ? [lines] : [];
},
// Get the footer and beforeFooter and afterFooter lines
// Args are: (tooltipItem, data)
getFooter: function () {
var me = this;
var callbacks = me._options.callbacks;
var beforeFooter = callbacks.beforeFooter.apply(me, arguments);
var footer = callbacks.footer.apply(me, arguments);
var afterFooter = callbacks.afterFooter.apply(me, arguments);
var lines = [];
lines = pushOrConcat(lines, beforeFooter);
lines = pushOrConcat(lines, footer);
lines = pushOrConcat(lines, afterFooter);
return lines;
},
update: function (changed) {
var me = this;
var opts = me._options;
// Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition
// that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time
// which breaks any animations.
var existingModel = me._model;
var model = me._model = getBaseModel(opts);
var active = me._active;
var data = me._data;
var chartInstance = me._chartInstance;
// In the case where active.length === 0 we need to keep these at existing values for good animations
var alignment = {
xAlign: existingModel.xAlign,
yAlign: existingModel.yAlign
};
var backgroundPoint = {
x: existingModel.x,
y: existingModel.y
};
var tooltipSize = {
width: existingModel.width,
height: existingModel.height
};
var tooltipPosition = {
x: existingModel.caretX,
y: existingModel.caretY
};
var i, len;
if (active.length) {
model.opacity = 1;
var labelColors = [];
tooltipPosition = Chart.Tooltip.positioners[opts.position](active, me._eventPosition);
var tooltipItems = [];
for (i = 0, len = active.length; i < len; ++i) {
tooltipItems.push(createTooltipItem(active[i]));
}
// If the user provided a filter function, use it to modify the tooltip items
if (opts.filter) {
tooltipItems = tooltipItems.filter(function (a) {
return opts.filter(a, data);
});
}
// If the user provided a sorting function, use it to modify the tooltip items
if (opts.itemSort) {
tooltipItems = tooltipItems.sort(function (a, b) {
return opts.itemSort(a, b, data);
});
}
// Determine colors for boxes
helpers.each(tooltipItems, function (tooltipItem) {
labelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, chartInstance));
});
// Build the Text Lines
model.title = me.getTitle(tooltipItems, data);
model.beforeBody = me.getBeforeBody(tooltipItems, data);
model.body = me.getBody(tooltipItems, data);
model.afterBody = me.getAfterBody(tooltipItems, data);
model.footer = me.getFooter(tooltipItems, data);
// Initial positioning and colors
model.x = Math.round(tooltipPosition.x);
model.y = Math.round(tooltipPosition.y);
model.caretPadding = helpers.getValueOrDefault(tooltipPosition.padding, 2);
model.labelColors = labelColors;
// data points
model.dataPoints = tooltipItems;
// We need to determine alignment of the tooltip
tooltipSize = getTooltipSize(this, model);
alignment = determineAlignment(this, tooltipSize);
// Final Size and Position
backgroundPoint = getBackgroundPoint(model, tooltipSize, alignment);
} else {
model.opacity = 0;
}
model.xAlign = alignment.xAlign;
model.yAlign = alignment.yAlign;
model.x = backgroundPoint.x;
model.y = backgroundPoint.y;
model.width = tooltipSize.width;
model.height = tooltipSize.height;
// Point where the caret on the tooltip points to
model.caretX = tooltipPosition.x;
model.caretY = tooltipPosition.y;
me._model = model;
if (changed && opts.custom) {
opts.custom.call(me, model);
}
return me;
},
drawCaret: function (tooltipPoint, size, opacity) {
var vm = this._view;
var ctx = this._chart.ctx;
var x1, x2, x3;
var y1, y2, y3;
var caretSize = vm.caretSize;
var cornerRadius = vm.cornerRadius;
var xAlign = vm.xAlign,
yAlign = vm.yAlign;
var ptX = tooltipPoint.x,
ptY = tooltipPoint.y;
var width = size.width,
height = size.height;
if (yAlign === 'center') {
// Left or right side
if (xAlign === 'left') {
x1 = ptX;
x2 = x1 - caretSize;
x3 = x1;
} else {
x1 = ptX + width;
x2 = x1 + caretSize;
x3 = x1;
}
y2 = ptY + (height / 2);
y1 = y2 - caretSize;
y3 = y2 + caretSize;
} else {
if (xAlign === 'left') {
x1 = ptX + cornerRadius;
x2 = x1 + caretSize;
x3 = x2 + caretSize;
} else if (xAlign === 'right') {
x1 = ptX + width - cornerRadius;
x2 = x1 - caretSize;
x3 = x2 - caretSize;
} else {
x2 = ptX + (width / 2);
x1 = x2 - caretSize;
x3 = x2 + caretSize;
}
if (yAlign === 'top') {
y1 = ptY;
y2 = y1 - caretSize;
y3 = y1;
} else {
y1 = ptY + height;
y2 = y1 + caretSize;
y3 = y1;
}
}
ctx.fillStyle = mergeOpacity(vm.backgroundColor, opacity);
ctx.beginPath();
ctx.moveTo(x1, y1);
ctx.lineTo(x2, y2);
ctx.lineTo(x3, y3);
ctx.closePath();
ctx.fill();
},
drawTitle: function (pt, vm, ctx, opacity) {
var title = vm.title;
if (title.length) {
ctx.textAlign = vm._titleAlign;
ctx.textBaseline = 'top';
var titleFontSize = vm.titleFontSize,
titleSpacing = vm.titleSpacing;
ctx.fillStyle = mergeOpacity(vm.titleFontColor, opacity);
ctx.font = helpers.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);
var i, len;
for (i = 0, len = title.length; i < len; ++i) {
ctx.fillText(title[i], pt.x, pt.y);
pt.y += titleFontSize + titleSpacing; // Line Height and spacing
if (i + 1 === title.length) {
pt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing
}
}
}
},
drawBody: function (pt, vm, ctx, opacity) {
var bodyFontSize = vm.bodyFontSize;
var bodySpacing = vm.bodySpacing;
var body = vm.body;
ctx.textAlign = vm._bodyAlign;
ctx.textBaseline = 'top';
var textColor = mergeOpacity(vm.bodyFontColor, opacity);
ctx.fillStyle = textColor;
ctx.font = helpers.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);
// Before Body
var xLinePadding = 0;
var fillLineOfText = function (line) {
ctx.fillText(line, pt.x + xLinePadding, pt.y);
pt.y += bodyFontSize + bodySpacing;
};
// Before body lines
helpers.each(vm.beforeBody, fillLineOfText);
var drawColorBoxes = vm.displayColors;
xLinePadding = drawColorBoxes ? (bodyFontSize + 2) : 0;
// Draw body lines now
helpers.each(body, function (bodyItem, i) {
helpers.each(bodyItem.before, fillLineOfText);
helpers.each(bodyItem.lines, function (line) {
// Draw Legend-like boxes if needed
if (drawColorBoxes) {
// Fill a white rect so that colours merge nicely if the opacity is < 1
ctx.fillStyle = mergeOpacity(vm.legendColorBackground, opacity);
ctx.fillRect(pt.x, pt.y, bodyFontSize, bodyFontSize);
// Border
ctx.strokeStyle = mergeOpacity(vm.labelColors[i].borderColor, opacity);
ctx.strokeRect(pt.x, pt.y, bodyFontSize, bodyFontSize);
// Inner square
ctx.fillStyle = mergeOpacity(vm.labelColors[i].backgroundColor, opacity);
ctx.fillRect(pt.x + 1, pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);
ctx.fillStyle = textColor;
}
fillLineOfText(line);
});
helpers.each(bodyItem.after, fillLineOfText);
});
// Reset back to 0 for after body
xLinePadding = 0;
// After body lines
helpers.each(vm.afterBody, fillLineOfText);
pt.y -= bodySpacing; // Remove last body spacing
},
drawFooter: function (pt, vm, ctx, opacity) {
var footer = vm.footer;
if (footer.length) {
pt.y += vm.footerMarginTop;
ctx.textAlign = vm._footerAlign;
ctx.textBaseline = 'top';
ctx.fillStyle = mergeOpacity(vm.footerFontColor, opacity);
ctx.font = helpers.fontString(vm.footerFontSize, vm._footerFontStyle, vm._footerFontFamily);
helpers.each(footer, function (line) {
ctx.fillText(line, pt.x, pt.y);
pt.y += vm.footerFontSize + vm.footerSpacing;
});
}
},
drawBackground: function (pt, vm, ctx, tooltipSize, opacity) {
ctx.fillStyle = mergeOpacity(vm.backgroundColor, opacity);
helpers.drawRoundedRectangle(ctx, pt.x, pt.y, tooltipSize.width, tooltipSize.height, vm.cornerRadius);
ctx.fill();
},
draw: function () {
var ctx = this._chart.ctx;
var vm = this._view;
if (vm.opacity === 0) {
return;
}
var tooltipSize = {
width: vm.width,
height: vm.height
};
var pt = {
x: vm.x,
y: vm.y
};
// IE11/Edge does not like very small opacities, so snap to 0
var opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity;
if (this._options.enabled) {
// Draw Background
this.drawBackground(pt, vm, ctx, tooltipSize, opacity);
// Draw Caret
this.drawCaret(pt, tooltipSize, opacity);
// Draw Title, Body, and Footer
pt.x += vm.xPadding;
pt.y += vm.yPadding;
// Titles
this.drawTitle(pt, vm, ctx, opacity);
// Body
this.drawBody(pt, vm, ctx, opacity);
// Footer
this.drawFooter(pt, vm, ctx, opacity);
}
},
/**
* Handle an event
* @private
* @param e {Event} the event to handle
* @returns {Boolean} true if the tooltip changed
*/
handleEvent: function (e) {
var me = this;
var options = me._options;
var changed = false;
me._lastActive = me._lastActive || [];
// Find Active Elements for tooltips
if (e.type === 'mouseout') {
me._active = [];
} else {
me._active = me._chartInstance.getElementsAtEventForMode(e, options.mode, options);
}
// Remember Last Actives
changed = !helpers.arrayEquals(me._active, me._lastActive);
me._lastActive = me._active;
if (options.enabled || options.custom) {
me._eventPosition = helpers.getRelativePosition(e, me._chart);
var model = me._model;
me.update(true);
me.pivot();
// See if our tooltip position changed
changed |= (model.x !== me._model.x) || (model.y !== me._model.y);
}
return changed;
}
});
/**
* @namespace Chart.Tooltip.positioners
*/
Chart.Tooltip.positioners = {
/**
* Average mode places the tooltip at the average position of the elements shown
* @function Chart.Tooltip.positioners.average
* @param elements {ChartElement[]} the elements being displayed in the tooltip
* @returns {Point} tooltip position
*/
average: function (elements) {
if (!elements.length) {
return false;
}
var i, len;
var x = 0;
var y = 0;
var count = 0;
for (i = 0, len = elements.length; i < len; ++i) {
var el = elements[i];
if (el && el.hasValue()) {
var pos = el.tooltipPosition();
x += pos.x;
y += pos.y;
++count;
}
}
return {
x: Math.round(x / count),
y: Math.round(y / count)
};
},
/**
* Gets the tooltip position nearest of the item nearest to the event position
* @function Chart.Tooltip.positioners.nearest
* @param elements {Chart.Element[]} the tooltip elements
* @param eventPosition {Point} the position of the event in canvas coordinates
* @returns {Point} the tooltip position
*/
nearest: function (elements, eventPosition) {
var x = eventPosition.x;
var y = eventPosition.y;
var nearestElement;
var minDistance = Number.POSITIVE_INFINITY;
var i, len;
for (i = 0, len = elements.length; i < len; ++i) {
var el = elements[i];
if (el && el.hasValue()) {
var center = el.getCenterPoint();
var d = helpers.distanceBetweenPoints(eventPosition, center);
if (d < minDistance) {
minDistance = d;
nearestElement = el;
}
}
}
if (nearestElement) {
var tp = nearestElement.tooltipPosition();
x = tp.x;
y = tp.y;
}
return {
x: x,
y: y
};
}
};
};
}, {}], 37: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers,
globalOpts = Chart.defaults.global;
globalOpts.elements.arc = {
backgroundColor: globalOpts.defaultColor,
borderColor: '#fff',
borderWidth: 2
};
Chart.elements.Arc = Chart.Element.extend({
inLabelRange: function (mouseX) {
var vm = this._view;
if (vm) {
return (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2));
}
return false;
},
inRange: function (chartX, chartY) {
var vm = this._view;
if (vm) {
var pointRelativePosition = helpers.getAngleFromPoint(vm, {
x: chartX,
y: chartY
}),
angle = pointRelativePosition.angle,
distance = pointRelativePosition.distance;
// Sanitise angle range
var startAngle = vm.startAngle;
var endAngle = vm.endAngle;
while (endAngle < startAngle) {
endAngle += 2.0 * Math.PI;
}
while (angle > endAngle) {
angle -= 2.0 * Math.PI;
}
while (angle < startAngle) {
angle += 2.0 * Math.PI;
}
// Check if within the range of the open/close angle
var betweenAngles = (angle >= startAngle && angle <= endAngle),
withinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius);
return (betweenAngles && withinRadius);
}
return false;
},
getCenterPoint: function () {
var vm = this._view;
var halfAngle = (vm.startAngle + vm.endAngle) / 2;
var halfRadius = (vm.innerRadius + vm.outerRadius) / 2;
return {
x: vm.x + Math.cos(halfAngle) * halfRadius,
y: vm.y + Math.sin(halfAngle) * halfRadius
};
},
getArea: function () {
var vm = this._view;
return Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));
},
tooltipPosition: function () {
var vm = this._view;
var centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2),
rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;
return {
x: vm.x + (Math.cos(centreAngle) * rangeFromCentre),
y: vm.y + (Math.sin(centreAngle) * rangeFromCentre)
};
},
draw: function () {
var ctx = this._chart.ctx,
vm = this._view,
sA = vm.startAngle,
eA = vm.endAngle;
ctx.beginPath();
ctx.arc(vm.x, vm.y, vm.outerRadius, sA, eA);
ctx.arc(vm.x, vm.y, vm.innerRadius, eA, sA, true);
ctx.closePath();
ctx.strokeStyle = vm.borderColor;
ctx.lineWidth = vm.borderWidth;
ctx.fillStyle = vm.backgroundColor;
ctx.fill();
ctx.lineJoin = 'bevel';
if (vm.borderWidth) {
ctx.stroke();
}
}
});
};
}, {}], 38: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
var globalDefaults = Chart.defaults.global;
Chart.defaults.global.elements.line = {
tension: 0.4,
backgroundColor: globalDefaults.defaultColor,
borderWidth: 3,
borderColor: globalDefaults.defaultColor,
borderCapStyle: 'butt',
borderDash: [],
borderDashOffset: 0.0,
borderJoinStyle: 'miter',
capBezierPoints: true,
fill: true, // do we fill in the area between the line and its base axis
};
Chart.elements.Line = Chart.Element.extend({
draw: function () {
var me = this;
var vm = me._view;
var spanGaps = vm.spanGaps;
var fillPoint = vm.scaleZero;
var loop = me._loop;
// Handle different fill modes for cartesian lines
if (!loop) {
if (vm.fill === 'top') {
fillPoint = vm.scaleTop;
} else if (vm.fill === 'bottom') {
fillPoint = vm.scaleBottom;
}
}
var ctx = me._chart.ctx;
ctx.save();
// Helper function to draw a line to a point
function lineToPoint(previousPoint, point) {
var pointVM = point._view;
if (point._view.steppedLine === true) {
ctx.lineTo(pointVM.x, previousPoint._view.y);
ctx.lineTo(pointVM.x, pointVM.y);
} else if (point._view.tension === 0) {
ctx.lineTo(pointVM.x, pointVM.y);
} else {
ctx.bezierCurveTo(
previousPoint._view.controlPointNextX,
previousPoint._view.controlPointNextY,
pointVM.controlPointPreviousX,
pointVM.controlPointPreviousY,
pointVM.x,
pointVM.y
);
}
}
var points = me._children.slice(); // clone array
var lastDrawnIndex = -1;
// If we are looping, adding the first point again
if (loop && points.length) {
points.push(points[0]);
}
var index, current, previous, currentVM;
// Fill Line
if (points.length && vm.fill) {
ctx.beginPath();
for (index = 0; index < points.length; ++index) {
current = points[index];
previous = helpers.previousItem(points, index);
currentVM = current._view;
// First point moves to it's starting position no matter what
if (index === 0) {
if (loop) {
ctx.moveTo(fillPoint.x, fillPoint.y);
} else {
ctx.moveTo(currentVM.x, fillPoint);
}
if (!currentVM.skip) {
lastDrawnIndex = index;
ctx.lineTo(currentVM.x, currentVM.y);
}
} else {
previous = lastDrawnIndex === -1 ? previous : points[lastDrawnIndex];
if (currentVM.skip) {
// Only do this if this is the first point that is skipped
if (!spanGaps && lastDrawnIndex === (index - 1)) {
if (loop) {
ctx.lineTo(fillPoint.x, fillPoint.y);
} else {
ctx.lineTo(previous._view.x, fillPoint);
}
}
} else {
if (lastDrawnIndex !== (index - 1)) {
// There was a gap and this is the first point after the gap. If we've never drawn a point, this is a special case.
// If the first data point is NaN, then there is no real gap to skip
if (spanGaps && lastDrawnIndex !== -1) {
// We are spanning the gap, so simple draw a line to this point
lineToPoint(previous, current);
} else if (loop) {
ctx.lineTo(currentVM.x, currentVM.y);
} else {
ctx.lineTo(currentVM.x, fillPoint);
ctx.lineTo(currentVM.x, currentVM.y);
}
} else {
// Line to next point
lineToPoint(previous, current);
}
lastDrawnIndex = index;
}
}
}
if (!loop && lastDrawnIndex !== -1) {
ctx.lineTo(points[lastDrawnIndex]._view.x, fillPoint);
}
ctx.fillStyle = vm.backgroundColor || globalDefaults.defaultColor;
ctx.closePath();
ctx.fill();
}
// Stroke Line Options
var globalOptionLineElements = globalDefaults.elements.line;
ctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle;
// IE 9 and 10 do not support line dash
if (ctx.setLineDash) {
ctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);
}
ctx.lineDashOffset = vm.borderDashOffset || globalOptionLineElements.borderDashOffset;
ctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;
ctx.lineWidth = vm.borderWidth || globalOptionLineElements.borderWidth;
ctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor;
// Stroke Line
ctx.beginPath();
lastDrawnIndex = -1;
for (index = 0; index < points.length; ++index) {
current = points[index];
previous = helpers.previousItem(points, index);
currentVM = current._view;
// First point moves to it's starting position no matter what
if (index === 0) {
if (!currentVM.skip) {
ctx.moveTo(currentVM.x, currentVM.y);
lastDrawnIndex = index;
}
} else {
previous = lastDrawnIndex === -1 ? previous : points[lastDrawnIndex];
if (!currentVM.skip) {
if ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) {
// There was a gap and this is the first point after the gap
ctx.moveTo(currentVM.x, currentVM.y);
} else {
// Line to next point
lineToPoint(previous, current);
}
lastDrawnIndex = index;
}
}
}
ctx.stroke();
ctx.restore();
}
});
};
}, {}], 39: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers,
globalOpts = Chart.defaults.global,
defaultColor = globalOpts.defaultColor;
globalOpts.elements.point = {
radius: 3,
pointStyle: 'circle',
backgroundColor: defaultColor,
borderWidth: 1,
borderColor: defaultColor,
// Hover
hitRadius: 1,
hoverRadius: 4,
hoverBorderWidth: 1
};
function xRange(mouseX) {
var vm = this._view;
return vm ? (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;
}
function yRange(mouseY) {
var vm = this._view;
return vm ? (Math.pow(mouseY - vm.y, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;
}
Chart.elements.Point = Chart.Element.extend({
inRange: function (mouseX, mouseY) {
var vm = this._view;
return vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;
},
inLabelRange: xRange,
inXRange: xRange,
inYRange: yRange,
getCenterPoint: function () {
var vm = this._view;
return {
x: vm.x,
y: vm.y
};
},
getArea: function () {
return Math.PI * Math.pow(this._view.radius, 2);
},
tooltipPosition: function () {
var vm = this._view;
return {
x: vm.x,
y: vm.y,
padding: vm.radius + vm.borderWidth
};
},
draw: function () {
var vm = this._view;
var ctx = this._chart.ctx;
var pointStyle = vm.pointStyle;
var radius = vm.radius;
var x = vm.x;
var y = vm.y;
if (vm.skip) {
return;
}
ctx.strokeStyle = vm.borderColor || defaultColor;
ctx.lineWidth = helpers.getValueOrDefault(vm.borderWidth, globalOpts.elements.point.borderWidth);
ctx.fillStyle = vm.backgroundColor || defaultColor;
Chart.canvasHelpers.drawPoint(ctx, pointStyle, radius, x, y);
}
});
};
}, {}], 40: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var globalOpts = Chart.defaults.global;
globalOpts.elements.rectangle = {
backgroundColor: globalOpts.defaultColor,
borderWidth: 0,
borderColor: globalOpts.defaultColor,
borderSkipped: 'bottom'
};
function isVertical(bar) {
return bar._view.width !== undefined;
}
/**
* Helper function to get the bounds of the bar regardless of the orientation
* @private
* @param bar {Chart.Element.Rectangle} the bar
* @return {Bounds} bounds of the bar
*/
function getBarBounds(bar) {
var vm = bar._view;
var x1, x2, y1, y2;
if (isVertical(bar)) {
// vertical
var halfWidth = vm.width / 2;
x1 = vm.x - halfWidth;
x2 = vm.x + halfWidth;
y1 = Math.min(vm.y, vm.base);
y2 = Math.max(vm.y, vm.base);
} else {
// horizontal bar
var halfHeight = vm.height / 2;
x1 = Math.min(vm.x, vm.base);
x2 = Math.max(vm.x, vm.base);
y1 = vm.y - halfHeight;
y2 = vm.y + halfHeight;
}
return {
left: x1,
top: y1,
right: x2,
bottom: y2
};
}
Chart.elements.Rectangle = Chart.Element.extend({
draw: function () {
var ctx = this._chart.ctx;
var vm = this._view;
var halfWidth = vm.width / 2,
leftX = vm.x - halfWidth,
rightX = vm.x + halfWidth,
top = vm.base - (vm.base - vm.y),
halfStroke = vm.borderWidth / 2;
// Canvas doesn't allow us to stroke inside the width so we can
// adjust the sizes to fit if we're setting a stroke on the line
if (vm.borderWidth) {
leftX += halfStroke;
rightX -= halfStroke;
top += halfStroke;
}
ctx.beginPath();
ctx.fillStyle = vm.backgroundColor;
ctx.strokeStyle = vm.borderColor;
ctx.lineWidth = vm.borderWidth;
// Corner points, from bottom-left to bottom-right clockwise
// | 1 2 |
// | 0 3 |
var corners = [
[leftX, vm.base],
[leftX, top],
[rightX, top],
[rightX, vm.base]
];
// Find first (starting) corner with fallback to 'bottom'
var borders = ['bottom', 'left', 'top', 'right'];
var startCorner = borders.indexOf(vm.borderSkipped, 0);
if (startCorner === -1) {
startCorner = 0;
}
function cornerAt(index) {
return corners[(startCorner + index) % 4];
}
// Draw rectangle from 'startCorner'
var corner = cornerAt(0);
ctx.moveTo(corner[0], corner[1]);
for (var i = 1; i < 4; i++) {
corner = cornerAt(i);
ctx.lineTo(corner[0], corner[1]);
}
ctx.fill();
if (vm.borderWidth) {
ctx.stroke();
}
},
height: function () {
var vm = this._view;
return vm.base - vm.y;
},
inRange: function (mouseX, mouseY) {
var inRange = false;
if (this._view) {
var bounds = getBarBounds(this);
inRange = mouseX >= bounds.left && mouseX <= bounds.right && mouseY >= bounds.top && mouseY <= bounds.bottom;
}
return inRange;
},
inLabelRange: function (mouseX, mouseY) {
var me = this;
if (!me._view) {
return false;
}
var inRange = false;
var bounds = getBarBounds(me);
if (isVertical(me)) {
inRange = mouseX >= bounds.left && mouseX <= bounds.right;
} else {
inRange = mouseY >= bounds.top && mouseY <= bounds.bottom;
}
return inRange;
},
inXRange: function (mouseX) {
var bounds = getBarBounds(this);
return mouseX >= bounds.left && mouseX <= bounds.right;
},
inYRange: function (mouseY) {
var bounds = getBarBounds(this);
return mouseY >= bounds.top && mouseY <= bounds.bottom;
},
getCenterPoint: function () {
var vm = this._view;
var x, y;
if (isVertical(this)) {
x = vm.x;
y = (vm.y + vm.base) / 2;
} else {
x = (vm.x + vm.base) / 2;
y = vm.y;
}
return {x: x, y: y};
},
getArea: function () {
var vm = this._view;
return vm.width * Math.abs(vm.y - vm.base);
},
tooltipPosition: function () {
var vm = this._view;
return {
x: vm.x,
y: vm.y
};
}
});
};
}, {}], 41: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
// Default config for a category scale
var defaultConfig = {
position: 'bottom'
};
var DatasetScale = Chart.Scale.extend({
/**
* Internal function to get the correct labels. If data.xLabels or data.yLabels are defined, use those
* else fall back to data.labels
* @private
*/
getLabels: function () {
var data = this.chart.data;
return (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;
},
// Implement this so that
determineDataLimits: function () {
var me = this;
var labels = me.getLabels();
me.minIndex = 0;
me.maxIndex = labels.length - 1;
var findIndex;
if (me.options.ticks.min !== undefined) {
// user specified min value
findIndex = helpers.indexOf(labels, me.options.ticks.min);
me.minIndex = findIndex !== -1 ? findIndex : me.minIndex;
}
if (me.options.ticks.max !== undefined) {
// user specified max value
findIndex = helpers.indexOf(labels, me.options.ticks.max);
me.maxIndex = findIndex !== -1 ? findIndex : me.maxIndex;
}
me.min = labels[me.minIndex];
me.max = labels[me.maxIndex];
},
buildTicks: function () {
var me = this;
var labels = me.getLabels();
// If we are viewing some subset of labels, slice the original array
me.ticks = (me.minIndex === 0 && me.maxIndex === labels.length - 1) ? labels : labels.slice(me.minIndex, me.maxIndex + 1);
},
getLabelForIndex: function (index, datasetIndex) {
var me = this;
var data = me.chart.data;
var isHorizontal = me.isHorizontal();
if ((data.xLabels && isHorizontal) || (data.yLabels && !isHorizontal)) {
return me.getRightValue(data.datasets[datasetIndex].data[index]);
}
return me.ticks[index];
},
// Used to get data value locations. Value can either be an index or a numerical value
getPixelForValue: function (value, index, datasetIndex, includeOffset) {
var me = this;
// 1 is added because we need the length but we have the indexes
var offsetAmt = Math.max((me.maxIndex + 1 - me.minIndex - ((me.options.gridLines.offsetGridLines) ? 0 : 1)), 1);
if (value !== undefined && isNaN(index)) {
var labels = me.getLabels();
var idx = labels.indexOf(value);
index = idx !== -1 ? idx : index;
}
if (me.isHorizontal()) {
var innerWidth = me.width - (me.paddingLeft + me.paddingRight);
var valueWidth = innerWidth / offsetAmt;
var widthOffset = (valueWidth * (index - me.minIndex)) + me.paddingLeft;
if (me.options.gridLines.offsetGridLines && includeOffset || me.maxIndex === me.minIndex && includeOffset) {
widthOffset += (valueWidth / 2);
}
return me.left + Math.round(widthOffset);
}
var innerHeight = me.height - (me.paddingTop + me.paddingBottom);
var valueHeight = innerHeight / offsetAmt;
var heightOffset = (valueHeight * (index - me.minIndex)) + me.paddingTop;
if (me.options.gridLines.offsetGridLines && includeOffset) {
heightOffset += (valueHeight / 2);
}
return me.top + Math.round(heightOffset);
},
getPixelForTick: function (index, includeOffset) {
return this.getPixelForValue(this.ticks[index], index + this.minIndex, null, includeOffset);
},
getValueForPixel: function (pixel) {
var me = this;
var value;
var offsetAmt = Math.max((me.ticks.length - ((me.options.gridLines.offsetGridLines) ? 0 : 1)), 1);
var horz = me.isHorizontal();
var innerDimension = horz ? me.width - (me.paddingLeft + me.paddingRight) : me.height - (me.paddingTop + me.paddingBottom);
var valueDimension = innerDimension / offsetAmt;
pixel -= horz ? me.left : me.top;
if (me.options.gridLines.offsetGridLines) {
pixel -= (valueDimension / 2);
}
pixel -= horz ? me.paddingLeft : me.paddingTop;
if (pixel <= 0) {
value = 0;
} else {
value = Math.round(pixel / valueDimension);
}
return value;
},
getBasePixel: function () {
return this.bottom;
}
});
Chart.scaleService.registerScaleType('category', DatasetScale, defaultConfig);
};
}, {}], 42: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
var defaultConfig = {
position: 'left',
ticks: {
callback: Chart.Ticks.formatters.linear
}
};
var LinearScale = Chart.LinearScaleBase.extend({
determineDataLimits: function () {
var me = this;
var opts = me.options;
var chart = me.chart;
var data = chart.data;
var datasets = data.datasets;
var isHorizontal = me.isHorizontal();
function IDMatches(meta) {
return isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;
}
// First Calculate the range
me.min = null;
me.max = null;
if (opts.stacked) {
var valuesPerType = {};
helpers.each(datasets, function (dataset, datasetIndex) {
var meta = chart.getDatasetMeta(datasetIndex);
if (valuesPerType[meta.type] === undefined) {
valuesPerType[meta.type] = {
positiveValues: [],
negativeValues: []
};
}
// Store these per type
var positiveValues = valuesPerType[meta.type].positiveValues;
var negativeValues = valuesPerType[meta.type].negativeValues;
if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
helpers.each(dataset.data, function (rawValue, index) {
var value = +me.getRightValue(rawValue);
if (isNaN(value) || meta.data[index].hidden) {
return;
}
positiveValues[index] = positiveValues[index] || 0;
negativeValues[index] = negativeValues[index] || 0;
if (opts.relativePoints) {
positiveValues[index] = 100;
} else if (value < 0) {
negativeValues[index] += value;
} else {
positiveValues[index] += value;
}
});
}
});
helpers.each(valuesPerType, function (valuesForType) {
var values = valuesForType.positiveValues.concat(valuesForType.negativeValues);
var minVal = helpers.min(values);
var maxVal = helpers.max(values);
me.min = me.min === null ? minVal : Math.min(me.min, minVal);
me.max = me.max === null ? maxVal : Math.max(me.max, maxVal);
});
} else {
helpers.each(datasets, function (dataset, datasetIndex) {
var meta = chart.getDatasetMeta(datasetIndex);
if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
helpers.each(dataset.data, function (rawValue, index) {
var value = +me.getRightValue(rawValue);
if (isNaN(value) || meta.data[index].hidden) {
return;
}
if (me.min === null) {
me.min = value;
} else if (value < me.min) {
me.min = value;
}
if (me.max === null) {
me.max = value;
} else if (value > me.max) {
me.max = value;
}
});
}
});
}
// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero
this.handleTickRangeOptions();
},
getTickLimit: function () {
var maxTicks;
var me = this;
var tickOpts = me.options.ticks;
if (me.isHorizontal()) {
maxTicks = Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(me.width / 50));
} else {
// The factor of 2 used to scale the font size has been experimentally determined.
var tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, Chart.defaults.global.defaultFontSize);
maxTicks = Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(me.height / (2 * tickFontSize)));
}
return maxTicks;
},
// Called after the ticks are built. We need
handleDirectionalChanges: function () {
if (!this.isHorizontal()) {
// We are in a vertical orientation. The top value is the highest. So reverse the array
this.ticks.reverse();
}
},
getLabelForIndex: function (index, datasetIndex) {
return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);
},
// Utils
getPixelForValue: function (value) {
// This must be called after fit has been run so that
// this.left, this.top, this.right, and this.bottom have been defined
var me = this;
var paddingLeft = me.paddingLeft;
var paddingBottom = me.paddingBottom;
var start = me.start;
var rightValue = +me.getRightValue(value);
var pixel;
var innerDimension;
var range = me.end - start;
if (me.isHorizontal()) {
innerDimension = me.width - (paddingLeft + me.paddingRight);
pixel = me.left + (innerDimension / range * (rightValue - start));
return Math.round(pixel + paddingLeft);
}
innerDimension = me.height - (me.paddingTop + paddingBottom);
pixel = (me.bottom - paddingBottom) - (innerDimension / range * (rightValue - start));
return Math.round(pixel);
},
getValueForPixel: function (pixel) {
var me = this;
var isHorizontal = me.isHorizontal();
var paddingLeft = me.paddingLeft;
var paddingBottom = me.paddingBottom;
var innerDimension = isHorizontal ? me.width - (paddingLeft + me.paddingRight) : me.height - (me.paddingTop + paddingBottom);
var offset = (isHorizontal ? pixel - me.left - paddingLeft : me.bottom - paddingBottom - pixel) / innerDimension;
return me.start + ((me.end - me.start) * offset);
},
getPixelForTick: function (index) {
return this.getPixelForValue(this.ticksAsNumbers[index]);
}
});
Chart.scaleService.registerScaleType('linear', LinearScale, defaultConfig);
};
}, {}], 43: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers,
noop = helpers.noop;
Chart.LinearScaleBase = Chart.Scale.extend({
handleTickRangeOptions: function () {
var me = this;
var opts = me.options;
var tickOpts = opts.ticks;
// If we are forcing it to begin at 0, but 0 will already be rendered on the chart,
// do nothing since that would make the chart weird. If the user really wants a weird chart
// axis, they can manually override it
if (tickOpts.beginAtZero) {
var minSign = helpers.sign(me.min);
var maxSign = helpers.sign(me.max);
if (minSign < 0 && maxSign < 0) {
// move the top up to 0
me.max = 0;
} else if (minSign > 0 && maxSign > 0) {
// move the bottom down to 0
me.min = 0;
}
}
if (tickOpts.min !== undefined) {
me.min = tickOpts.min;
} else if (tickOpts.suggestedMin !== undefined) {
me.min = Math.min(me.min, tickOpts.suggestedMin);
}
if (tickOpts.max !== undefined) {
me.max = tickOpts.max;
} else if (tickOpts.suggestedMax !== undefined) {
me.max = Math.max(me.max, tickOpts.suggestedMax);
}
if (me.min === me.max) {
me.max++;
if (!tickOpts.beginAtZero) {
me.min--;
}
}
},
getTickLimit: noop,
handleDirectionalChanges: noop,
buildTicks: function () {
var me = this;
var opts = me.options;
var tickOpts = opts.ticks;
// Figure out what the max number of ticks we can support it is based on the size of
// the axis area. For now, we say that the minimum tick spacing in pixels must be 50
// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on
// the graph. Make sure we always have at least 2 ticks
var maxTicks = me.getTickLimit();
maxTicks = Math.max(2, maxTicks);
var numericGeneratorOptions = {
maxTicks: maxTicks,
min: tickOpts.min,
max: tickOpts.max,
stepSize: helpers.getValueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)
};
var ticks = me.ticks = Chart.Ticks.generators.linear(numericGeneratorOptions, me);
me.handleDirectionalChanges();
// At this point, we need to update our max and min given the tick values since we have expanded the
// range of the scale
me.max = helpers.max(ticks);
me.min = helpers.min(ticks);
if (tickOpts.reverse) {
ticks.reverse();
me.start = me.max;
me.end = me.min;
} else {
me.start = me.min;
me.end = me.max;
}
},
convertTicksToLabels: function () {
var me = this;
me.ticksAsNumbers = me.ticks.slice();
me.zeroLineIndex = me.ticks.indexOf(0);
Chart.Scale.prototype.convertTicksToLabels.call(me);
}
});
};
}, {}], 44: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
var defaultConfig = {
position: 'left',
// label settings
ticks: {
callback: Chart.Ticks.formatters.logarithmic
}
};
var LogarithmicScale = Chart.Scale.extend({
determineDataLimits: function () {
var me = this;
var opts = me.options;
var tickOpts = opts.ticks;
var chart = me.chart;
var data = chart.data;
var datasets = data.datasets;
var getValueOrDefault = helpers.getValueOrDefault;
var isHorizontal = me.isHorizontal();
function IDMatches(meta) {
return isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;
}
// Calculate Range
me.min = null;
me.max = null;
me.minNotZero = null;
if (opts.stacked) {
var valuesPerType = {};
helpers.each(datasets, function (dataset, datasetIndex) {
var meta = chart.getDatasetMeta(datasetIndex);
if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
if (valuesPerType[meta.type] === undefined) {
valuesPerType[meta.type] = [];
}
helpers.each(dataset.data, function (rawValue, index) {
var values = valuesPerType[meta.type];
var value = +me.getRightValue(rawValue);
if (isNaN(value) || meta.data[index].hidden) {
return;
}
values[index] = values[index] || 0;
if (opts.relativePoints) {
values[index] = 100;
} else {
// Don't need to split positive and negative since the log scale can't handle a 0 crossing
values[index] += value;
}
});
}
});
helpers.each(valuesPerType, function (valuesForType) {
var minVal = helpers.min(valuesForType);
var maxVal = helpers.max(valuesForType);
me.min = me.min === null ? minVal : Math.min(me.min, minVal);
me.max = me.max === null ? maxVal : Math.max(me.max, maxVal);
});
} else {
helpers.each(datasets, function (dataset, datasetIndex) {
var meta = chart.getDatasetMeta(datasetIndex);
if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
helpers.each(dataset.data, function (rawValue, index) {
var value = +me.getRightValue(rawValue);
if (isNaN(value) || meta.data[index].hidden) {
return;
}
if (me.min === null) {
me.min = value;
} else if (value < me.min) {
me.min = value;
}
if (me.max === null) {
me.max = value;
} else if (value > me.max) {
me.max = value;
}
if (value !== 0 && (me.minNotZero === null || value < me.minNotZero)) {
me.minNotZero = value;
}
});
}
});
}
me.min = getValueOrDefault(tickOpts.min, me.min);
me.max = getValueOrDefault(tickOpts.max, me.max);
if (me.min === me.max) {
if (me.min !== 0 && me.min !== null) {
me.min = Math.pow(10, Math.floor(helpers.log10(me.min)) - 1);
me.max = Math.pow(10, Math.floor(helpers.log10(me.max)) + 1);
} else {
me.min = 1;
me.max = 10;
}
}
},
buildTicks: function () {
var me = this;
var opts = me.options;
var tickOpts = opts.ticks;
var generationOptions = {
min: tickOpts.min,
max: tickOpts.max
};
var ticks = me.ticks = Chart.Ticks.generators.logarithmic(generationOptions, me);
if (!me.isHorizontal()) {
// We are in a vertical orientation. The top value is the highest. So reverse the array
ticks.reverse();
}
// At this point, we need to update our max and min given the tick values since we have expanded the
// range of the scale
me.max = helpers.max(ticks);
me.min = helpers.min(ticks);
if (tickOpts.reverse) {
ticks.reverse();
me.start = me.max;
me.end = me.min;
} else {
me.start = me.min;
me.end = me.max;
}
},
convertTicksToLabels: function () {
this.tickValues = this.ticks.slice();
Chart.Scale.prototype.convertTicksToLabels.call(this);
},
// Get the correct tooltip label
getLabelForIndex: function (index, datasetIndex) {
return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);
},
getPixelForTick: function (index) {
return this.getPixelForValue(this.tickValues[index]);
},
getPixelForValue: function (value) {
var me = this;
var innerDimension;
var pixel;
var start = me.start;
var newVal = +me.getRightValue(value);
var range;
var paddingTop = me.paddingTop;
var paddingBottom = me.paddingBottom;
var paddingLeft = me.paddingLeft;
var opts = me.options;
var tickOpts = opts.ticks;
if (me.isHorizontal()) {
range = helpers.log10(me.end) - helpers.log10(start); // todo: if start === 0
if (newVal === 0) {
pixel = me.left + paddingLeft;
} else {
innerDimension = me.width - (paddingLeft + me.paddingRight);
pixel = me.left + (innerDimension / range * (helpers.log10(newVal) - helpers.log10(start)));
pixel += paddingLeft;
}
} else {
// Bottom - top since pixels increase downward on a screen
innerDimension = me.height - (paddingTop + paddingBottom);
if (start === 0 && !tickOpts.reverse) {
range = helpers.log10(me.end) - helpers.log10(me.minNotZero);
if (newVal === start) {
pixel = me.bottom - paddingBottom;
} else if (newVal === me.minNotZero) {
pixel = me.bottom - paddingBottom - innerDimension * 0.02;
} else {
pixel = me.bottom - paddingBottom - innerDimension * 0.02 - (innerDimension * 0.98 / range * (helpers.log10(newVal) - helpers.log10(me.minNotZero)));
}
} else if (me.end === 0 && tickOpts.reverse) {
range = helpers.log10(me.start) - helpers.log10(me.minNotZero);
if (newVal === me.end) {
pixel = me.top + paddingTop;
} else if (newVal === me.minNotZero) {
pixel = me.top + paddingTop + innerDimension * 0.02;
} else {
pixel = me.top + paddingTop + innerDimension * 0.02 + (innerDimension * 0.98 / range * (helpers.log10(newVal) - helpers.log10(me.minNotZero)));
}
} else {
range = helpers.log10(me.end) - helpers.log10(start);
innerDimension = me.height - (paddingTop + paddingBottom);
pixel = (me.bottom - paddingBottom) - (innerDimension / range * (helpers.log10(newVal) - helpers.log10(start)));
}
}
return pixel;
},
getValueForPixel: function (pixel) {
var me = this;
var range = helpers.log10(me.end) - helpers.log10(me.start);
var value, innerDimension;
if (me.isHorizontal()) {
innerDimension = me.width - (me.paddingLeft + me.paddingRight);
value = me.start * Math.pow(10, (pixel - me.left - me.paddingLeft) * range / innerDimension);
} else { // todo: if start === 0
innerDimension = me.height - (me.paddingTop + me.paddingBottom);
value = Math.pow(10, (me.bottom - me.paddingBottom - pixel) * range / innerDimension) / me.start;
}
return value;
}
});
Chart.scaleService.registerScaleType('logarithmic', LogarithmicScale, defaultConfig);
};
}, {}], 45: [function (require, module, exports) {
'use strict';
module.exports = function (Chart) {
var helpers = Chart.helpers;
var globalDefaults = Chart.defaults.global;
var defaultConfig = {
display: true,
// Boolean - Whether to animate scaling the chart from the centre
animate: true,
lineArc: false,
position: 'chartArea',
angleLines: {
display: true,
color: 'rgba(0, 0, 0, 0.1)',
lineWidth: 1
},
// label settings
ticks: {
// Boolean - Show a backdrop to the scale label
showLabelBackdrop: true,
// String - The colour of the label backdrop
backdropColor: 'rgba(255,255,255,0.75)',
// Number - The backdrop padding above & below the label in pixels
backdropPaddingY: 2,
// Number - The backdrop padding to the side of the label in pixels
backdropPaddingX: 2,
callback: Chart.Ticks.formatters.linear
},
pointLabels: {
// Number - Point label font size in pixels
fontSize: 10,
// Function - Used to convert point labels
callback: function (label) {
return label;
}
}
};
var LinearRadialScale = Chart.LinearScaleBase.extend({
getValueCount: function () {
return this.chart.data.labels.length;
},
setDimensions: function () {
var me = this;
var opts = me.options;
var tickOpts = opts.ticks;
// Set the unconstrained dimension before label rotation
me.width = me.maxWidth;
me.height = me.maxHeight;
me.xCenter = Math.round(me.width / 2);
me.yCenter = Math.round(me.height / 2);
var minSize = helpers.min([me.height, me.width]);
var tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
me.drawingArea = opts.display ? (minSize / 2) - (tickFontSize / 2 + tickOpts.backdropPaddingY) : (minSize / 2);
},
determineDataLimits: function () {
var me = this;
var chart = me.chart;
me.min = null;
me.max = null;
helpers.each(chart.data.datasets, function (dataset, datasetIndex) {
if (chart.isDatasetVisible(datasetIndex)) {
var meta = chart.getDatasetMeta(datasetIndex);
helpers.each(dataset.data, function (rawValue, index) {
var value = +me.getRightValue(rawValue);
if (isNaN(value) || meta.data[index].hidden) {
return;
}
if (me.min === null) {
me.min = value;
} else if (value < me.min) {
me.min = value;
}
if (me.max === null) {
me.max = value;
} else if (value > me.max) {
me.max = value;
}
});
}
});
// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero
me.handleTickRangeOptions();
},
getTickLimit: function () {
var tickOpts = this.options.ticks;
var tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
return Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(this.drawingArea / (1.5 * tickFontSize)));
},
convertTicksToLabels: function () {
var me = this;
Chart.LinearScaleBase.prototype.convertTicksToLabels.call(me);
// Point labels
me.pointLabels = me.chart.data.labels.map(me.options.pointLabels.callback, me);
},
getLabelForIndex: function (index, datasetIndex) {
return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);
},
fit: function () {
/*
* Right, this is really confusing and there is a lot of maths going on here
* The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9
*
* Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif
*
* Solution:
*
* We assume the radius of the polygon is half the size of the canvas at first
* at each index we check if the text overlaps.
*
* Where it does, we store that angle and that index.
*
* After finding the largest index and angle we calculate how much we need to remove
* from the shape radius to move the point inwards by that x.
*
* We average the left and right distances to get the maximum shape radius that can fit in the box
* along with labels.
*
* Once we have that, we can find the centre point for the chart, by taking the x text protrusion
* on each side, removing that from the size, halving it and adding the left x protrusion width.
*
* This will mean we have a shape fitted to the canvas, as large as it can be with the labels
* and position it in the most space efficient manner
*
* https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif
*/
var pointLabels = this.options.pointLabels;
var pointLabelFontSize = helpers.getValueOrDefault(pointLabels.fontSize, globalDefaults.defaultFontSize);
var pointLabeFontStyle = helpers.getValueOrDefault(pointLabels.fontStyle, globalDefaults.defaultFontStyle);
var pointLabeFontFamily = helpers.getValueOrDefault(pointLabels.fontFamily, globalDefaults.defaultFontFamily);
var pointLabeFont = helpers.fontString(pointLabelFontSize, pointLabeFontStyle, pointLabeFontFamily);
// Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.
// Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points
var largestPossibleRadius = helpers.min([(this.height / 2 - pointLabelFontSize - 5), this.width / 2]),
pointPosition,
i,
textWidth,
halfTextWidth,
furthestRight = this.width,
furthestRightIndex,
furthestRightAngle,
furthestLeft = 0,
furthestLeftIndex,
furthestLeftAngle,
xProtrusionLeft,
xProtrusionRight,
radiusReductionRight,
radiusReductionLeft;
this.ctx.font = pointLabeFont;
for (i = 0; i < this.getValueCount(); i++) {
// 5px to space the text slightly out - similar to what we do in the draw function.
pointPosition = this.getPointPosition(i, largestPossibleRadius);
textWidth = this.ctx.measureText(this.pointLabels[i] ? this.pointLabels[i] : '').width + 5;
// Add quarter circle to make degree 0 mean top of circle
var angleRadians = this.getIndexAngle(i) + (Math.PI / 2);
var angle = (angleRadians * 360 / (2 * Math.PI)) % 360;
if (angle === 0 || angle === 180) {
// At angle 0 and 180, we're at exactly the top/bottom
// of the radar chart, so text will be aligned centrally, so we'll half it and compare
// w/left and right text sizes
halfTextWidth = textWidth / 2;
if (pointPosition.x + halfTextWidth > furthestRight) {
furthestRight = pointPosition.x + halfTextWidth;
furthestRightIndex = i;
}
if (pointPosition.x - halfTextWidth < furthestLeft) {
furthestLeft = pointPosition.x - halfTextWidth;
furthestLeftIndex = i;
}
} else if (angle < 180) {
// Less than half the values means we'll left align the text
if (pointPosition.x + textWidth > furthestRight) {
furthestRight = pointPosition.x + textWidth;
furthestRightIndex = i;
}
// More than half the values means we'll right align the text
} else if (pointPosition.x - textWidth < furthestLeft) {
furthestLeft = pointPosition.x - textWidth;
furthestLeftIndex = i;
}
}
xProtrusionLeft = furthestLeft;
xProtrusionRight = Math.ceil(furthestRight - this.width);
furthestRightAngle = this.getIndexAngle(furthestRightIndex);
furthestLeftAngle = this.getIndexAngle(furthestLeftIndex);
radiusReductionRight = xProtrusionRight / Math.sin(furthestRightAngle + Math.PI / 2);
radiusReductionLeft = xProtrusionLeft / Math.sin(furthestLeftAngle + Math.PI / 2);
// Ensure we actually need to reduce the size of the chart
radiusReductionRight = (helpers.isNumber(radiusReductionRight)) ? radiusReductionRight : 0;
radiusReductionLeft = (helpers.isNumber(radiusReductionLeft)) ? radiusReductionLeft : 0;
this.drawingArea = Math.round(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2);
this.setCenterPoint(radiusReductionLeft, radiusReductionRight);
},
setCenterPoint: function (leftMovement, rightMovement) {
var me = this;
var maxRight = me.width - rightMovement - me.drawingArea,
maxLeft = leftMovement + me.drawingArea;
me.xCenter = Math.round(((maxLeft + maxRight) / 2) + me.left);
// Always vertically in the centre as the text height doesn't change
me.yCenter = Math.round((me.height / 2) + me.top);
},
getIndexAngle: function (index) {
var angleMultiplier = (Math.PI * 2) / this.getValueCount();
var startAngle = this.chart.options && this.chart.options.startAngle ?
this.chart.options.startAngle :
0;
var startAngleRadians = startAngle * Math.PI * 2 / 360;
// Start from the top instead of right, so remove a quarter of the circle
return index * angleMultiplier - (Math.PI / 2) + startAngleRadians;
},
getDistanceFromCenterForValue: function (value) {
var me = this;
if (value === null) {
return 0; // null always in center
}
// Take into account half font size + the yPadding of the top value
var scalingFactor = me.drawingArea / (me.max - me.min);
if (me.options.reverse) {
return (me.max - value) * scalingFactor;
}
return (value - me.min) * scalingFactor;
},
getPointPosition: function (index, distanceFromCenter) {
var me = this;
var thisAngle = me.getIndexAngle(index);
return {
x: Math.round(Math.cos(thisAngle) * distanceFromCenter) + me.xCenter,
y: Math.round(Math.sin(thisAngle) * distanceFromCenter) + me.yCenter
};
},
getPointPositionForValue: function (index, value) {
return this.getPointPosition(index, this.getDistanceFromCenterForValue(value));
},
getBasePosition: function () {
var me = this;
var min = me.min;
var max = me.max;
return me.getPointPositionForValue(0,
me.beginAtZero ? 0 :
min < 0 && max < 0 ? max :
min > 0 && max > 0 ? min :
0);
},
draw: function () {
var me = this;
var opts = me.options;
var gridLineOpts = opts.gridLines;
var tickOpts = opts.ticks;
var angleLineOpts = opts.angleLines;
var pointLabelOpts = opts.pointLabels;
var getValueOrDefault = helpers.getValueOrDefault;
if (opts.display) {
var ctx = me.ctx;
// Tick Font
var tickFontSize = getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
var tickFontStyle = getValueOrDefault(tickOpts.fontStyle, globalDefaults.defaultFontStyle);
var tickFontFamily = getValueOrDefault(tickOpts.fontFamily, globalDefaults.defaultFontFamily);
var tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);
helpers.each(me.ticks, function (label, index) {
// Don't draw a centre value (if it is minimum)
if (index > 0 || opts.reverse) {
var yCenterOffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);
var yHeight = me.yCenter - yCenterOffset;
// Draw circular lines around the scale
if (gridLineOpts.display && index !== 0) {
ctx.strokeStyle = helpers.getValueAtIndexOrDefault(gridLineOpts.color, index - 1);
ctx.lineWidth = helpers.getValueAtIndexOrDefault(gridLineOpts.lineWidth, index - 1);
if (opts.lineArc) {
// Draw circular arcs between the points
ctx.beginPath();
ctx.arc(me.xCenter, me.yCenter, yCenterOffset, 0, Math.PI * 2);
ctx.closePath();
ctx.stroke();
} else {
// Draw straight lines connecting each index
ctx.beginPath();
for (var i = 0; i < me.getValueCount(); i++) {
var pointPosition = me.getPointPosition(i, yCenterOffset);
if (i === 0) {
ctx.moveTo(pointPosition.x, pointPosition.y);
} else {
ctx.lineTo(pointPosition.x, pointPosition.y);
}
}
ctx.closePath();
ctx.stroke();
}
}
if (tickOpts.display) {
var tickFontColor = getValueOrDefault(tickOpts.fontColor, globalDefaults.defaultFontColor);
ctx.font = tickLabelFont;
if (tickOpts.showLabelBackdrop) {
var labelWidth = ctx.measureText(label).width;
ctx.fillStyle = tickOpts.backdropColor;
ctx.fillRect(
me.xCenter - labelWidth / 2 - tickOpts.backdropPaddingX,
yHeight - tickFontSize / 2 - tickOpts.backdropPaddingY,
labelWidth + tickOpts.backdropPaddingX * 2,
tickFontSize + tickOpts.backdropPaddingY * 2
);
}
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillStyle = tickFontColor;
ctx.fillText(label, me.xCenter, yHeight);
}
}
});
if (!opts.lineArc) {
ctx.lineWidth = angleLineOpts.lineWidth;
ctx.strokeStyle = angleLineOpts.color;
var outerDistance = me.getDistanceFromCenterForValue(opts.reverse ? me.min : me.max);
// Point Label Font
var pointLabelFontSize = getValueOrDefault(pointLabelOpts.fontSize, globalDefaults.defaultFontSize);
var pointLabeFontStyle = getValueOrDefault(pointLabelOpts.fontStyle, globalDefaults.defaultFontStyle);
var pointLabeFontFamily = getValueOrDefault(pointLabelOpts.fontFamily, globalDefaults.defaultFontFamily);
var pointLabeFont = helpers.fontString(pointLabelFontSize, pointLabeFontStyle, pointLabeFontFamily);
for (var i = me.getValueCount() - 1; i >= 0; i--) {
if (angleLineOpts.display) {
var outerPosition = me.getPointPosition(i, outerDistance);
ctx.beginPath();
ctx.moveTo(me.xCenter, me.yCenter);
ctx.lineTo(outerPosition.x, outerPosition.y);
ctx.stroke();
ctx.closePath();
}
// Extra 3px out for some label spacing
var pointLabelPosition = me.getPointPosition(i, outerDistance + 5);
// Keep this in loop since we may support array properties here
var pointLabelFontColor = getValueOrDefault(pointLabelOpts.fontColor, globalDefaults.defaultFontColor);
ctx.font = pointLabeFont;
ctx.fillStyle = pointLabelFontColor;
var pointLabels = me.pointLabels;
// Add quarter circle to make degree 0 mean top of circle
var angleRadians = this.getIndexAngle(i) + (Math.PI / 2);
var angle = (angleRadians * 360 / (2 * Math.PI)) % 360;
if (angle === 0 || angle === 180) {
ctx.textAlign = 'center';
} else if (angle < 180) {
ctx.textAlign = 'left';
} else {
ctx.textAlign = 'right';
}
// Set the correct text baseline based on outer positioning
if (angle === 90 || angle === 270) {
ctx.textBaseline = 'middle';
} else if (angle > 270 || angle < 90) {
ctx.textBaseline = 'bottom';
} else {
ctx.textBaseline = 'top';
}
ctx.fillText(pointLabels[i] ? pointLabels[i] : '', pointLabelPosition.x, pointLabelPosition.y);
}
}
}
}
});
Chart.scaleService.registerScaleType('radialLinear', LinearRadialScale, defaultConfig);
};
}, {}], 46: [function (require, module, exports) {
/* global window: false */
'use strict';
var moment = require(1);
moment = typeof(moment) === 'function' ? moment : window.moment;
module.exports = function (Chart) {
var helpers = Chart.helpers;
var time = {
units: [{
name: 'millisecond',
steps: [1, 2, 5, 10, 20, 50, 100, 250, 500]
}, {
name: 'second',
steps: [1, 2, 5, 10, 30]
}, {
name: 'minute',
steps: [1, 2, 5, 10, 30]
}, {
name: 'hour',
steps: [1, 2, 3, 6, 12]
}, {
name: 'day',
steps: [1, 2, 5]
}, {
name: 'week',
maxStep: 4
}, {
name: 'month',
maxStep: 3
}, {
name: 'quarter',
maxStep: 4
}, {
name: 'year',
maxStep: false
}]
};
var defaultConfig = {
position: 'bottom',
time: {
parser: false, // false == a pattern string from http://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment
format: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from http://momentjs.com/docs/#/parsing/string-format/
unit: false, // false == automatic or override with week, month, year, etc.
round: false, // none, or override with week, month, year, etc.
displayFormat: false, // DEPRECATED
isoWeekday: false, // override week start day - see http://momentjs.com/docs/#/get-set/iso-weekday/
minUnit: 'millisecond',
// defaults to unit's corresponding unitFormat below or override using pattern string from http://momentjs.com/docs/#/displaying/format/
displayFormats: {
millisecond: 'h:mm:ss.SSS a', // 11:20:01.123 AM,
second: 'h:mm:ss a', // 11:20:01 AM
minute: 'h:mm:ss a', // 11:20:01 AM
hour: 'MMM D, hA', // Sept 4, 5PM
day: 'll', // Sep 4 2015
week: 'll', // Week 46, or maybe "[W]WW - YYYY" ?
month: 'MMM YYYY', // Sept 2015
quarter: '[Q]Q - YYYY', // Q3
year: 'YYYY' // 2015
}
},
ticks: {
autoSkip: false
}
};
var TimeScale = Chart.Scale.extend({
initialize: function () {
if (!moment) {
throw new Error('Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com');
}
Chart.Scale.prototype.initialize.call(this);
},
getLabelMoment: function (datasetIndex, index) {
if (datasetIndex === null || index === null) {
return null;
}
if (typeof this.labelMoments[datasetIndex] !== 'undefined') {
return this.labelMoments[datasetIndex][index];
}
return null;
},
getLabelDiff: function (datasetIndex, index) {
var me = this;
if (datasetIndex === null || index === null) {
return null;
}
if (me.labelDiffs === undefined) {
me.buildLabelDiffs();
}
if (typeof me.labelDiffs[datasetIndex] !== 'undefined') {
return me.labelDiffs[datasetIndex][index];
}
return null;
},
getMomentStartOf: function (tick) {
var me = this;
if (me.options.time.unit === 'week' && me.options.time.isoWeekday !== false) {
return tick.clone().startOf('isoWeek').isoWeekday(me.options.time.isoWeekday);
}
return tick.clone().startOf(me.tickUnit);
},
determineDataLimits: function () {
var me = this;
me.labelMoments = [];
// Only parse these once. If the dataset does not have data as x,y pairs, we will use
// these
var scaleLabelMoments = [];
if (me.chart.data.labels && me.chart.data.labels.length > 0) {
helpers.each(me.chart.data.labels, function (label) {
var labelMoment = me.parseTime(label);
if (labelMoment.isValid()) {
if (me.options.time.round) {
labelMoment.startOf(me.options.time.round);
}
scaleLabelMoments.push(labelMoment);
}
}, me);
me.firstTick = moment.min.call(me, scaleLabelMoments);
me.lastTick = moment.max.call(me, scaleLabelMoments);
} else {
me.firstTick = null;
me.lastTick = null;
}
helpers.each(me.chart.data.datasets, function (dataset, datasetIndex) {
var momentsForDataset = [];
var datasetVisible = me.chart.isDatasetVisible(datasetIndex);
if (typeof dataset.data[0] === 'object' && dataset.data[0] !== null) {
helpers.each(dataset.data, function (value) {
var labelMoment = me.parseTime(me.getRightValue(value));
if (labelMoment.isValid()) {
if (me.options.time.round) {
labelMoment.startOf(me.options.time.round);
}
momentsForDataset.push(labelMoment);
if (datasetVisible) {
// May have gone outside the scale ranges, make sure we keep the first and last ticks updated
me.firstTick = me.firstTick !== null ? moment.min(me.firstTick, labelMoment) : labelMoment;
me.lastTick = me.lastTick !== null ? moment.max(me.lastTick, labelMoment) : labelMoment;
}
}
}, me);
} else {
// We have no labels. Use the ones from the scale
momentsForDataset = scaleLabelMoments;
}
me.labelMoments.push(momentsForDataset);
}, me);
// Set these after we've done all the data
if (me.options.time.min) {
me.firstTick = me.parseTime(me.options.time.min);
}
if (me.options.time.max) {
me.lastTick = me.parseTime(me.options.time.max);
}
// We will modify these, so clone for later
me.firstTick = (me.firstTick || moment()).clone();
me.lastTick = (me.lastTick || moment()).clone();
},
buildLabelDiffs: function () {
var me = this;
me.labelDiffs = [];
var scaleLabelDiffs = [];
// Parse common labels once
if (me.chart.data.labels && me.chart.data.labels.length > 0) {
helpers.each(me.chart.data.labels, function (label) {
var labelMoment = me.parseTime(label);
if (labelMoment.isValid()) {
if (me.options.time.round) {
labelMoment.startOf(me.options.time.round);
}
scaleLabelDiffs.push(labelMoment.diff(me.firstTick, me.tickUnit, true));
}
}, me);
}
helpers.each(me.chart.data.datasets, function (dataset) {
var diffsForDataset = [];
if (typeof dataset.data[0] === 'object' && dataset.data[0] !== null) {
helpers.each(dataset.data, function (value) {
var labelMoment = me.parseTime(me.getRightValue(value));
if (labelMoment.isValid()) {
if (me.options.time.round) {
labelMoment.startOf(me.options.time.round);
}
diffsForDataset.push(labelMoment.diff(me.firstTick, me.tickUnit, true));
}
}, me);
} else {
// We have no labels. Use common ones
diffsForDataset = scaleLabelDiffs;
}
me.labelDiffs.push(diffsForDataset);
}, me);
},
buildTicks: function () {
var me = this;
me.ctx.save();
var tickFontSize = helpers.getValueOrDefault(me.options.ticks.fontSize, Chart.defaults.global.defaultFontSize);
var tickFontStyle = helpers.getValueOrDefault(me.options.ticks.fontStyle, Chart.defaults.global.defaultFontStyle);
var tickFontFamily = helpers.getValueOrDefault(me.options.ticks.fontFamily, Chart.defaults.global.defaultFontFamily);
var tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);
me.ctx.font = tickLabelFont;
me.ticks = [];
me.unitScale = 1; // How much we scale the unit by, ie 2 means 2x unit per step
me.scaleSizeInUnits = 0; // How large the scale is in the base unit (seconds, minutes, etc)
// Set unit override if applicable
if (me.options.time.unit) {
me.tickUnit = me.options.time.unit || 'day';
me.displayFormat = me.options.time.displayFormats[me.tickUnit];
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
me.unitScale = helpers.getValueOrDefault(me.options.time.unitStepSize, 1);
} else {
// Determine the smallest needed unit of the time
var innerWidth = me.isHorizontal() ? me.width - (me.paddingLeft + me.paddingRight) : me.height - (me.paddingTop + me.paddingBottom);
// Crude approximation of what the label length might be
var tempFirstLabel = me.tickFormatFunction(me.firstTick, 0, []);
var tickLabelWidth = me.ctx.measureText(tempFirstLabel).width;
var cosRotation = Math.cos(helpers.toRadians(me.options.ticks.maxRotation));
var sinRotation = Math.sin(helpers.toRadians(me.options.ticks.maxRotation));
tickLabelWidth = (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation);
var labelCapacity = innerWidth / (tickLabelWidth);
// Start as small as possible
me.tickUnit = me.options.time.minUnit;
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
me.displayFormat = me.options.time.displayFormats[me.tickUnit];
var unitDefinitionIndex = 0;
var unitDefinition = time.units[unitDefinitionIndex];
// While we aren't ideal and we don't have units left
while (unitDefinitionIndex < time.units.length) {
// Can we scale this unit. If `false` we can scale infinitely
me.unitScale = 1;
if (helpers.isArray(unitDefinition.steps) && Math.ceil(me.scaleSizeInUnits / labelCapacity) < helpers.max(unitDefinition.steps)) {
// Use one of the predefined steps
for (var idx = 0; idx < unitDefinition.steps.length; ++idx) {
if (unitDefinition.steps[idx] >= Math.ceil(me.scaleSizeInUnits / labelCapacity)) {
me.unitScale = helpers.getValueOrDefault(me.options.time.unitStepSize, unitDefinition.steps[idx]);
break;
}
}
break;
} else if ((unitDefinition.maxStep === false) || (Math.ceil(me.scaleSizeInUnits / labelCapacity) < unitDefinition.maxStep)) {
// We have a max step. Scale this unit
me.unitScale = helpers.getValueOrDefault(me.options.time.unitStepSize, Math.ceil(me.scaleSizeInUnits / labelCapacity));
break;
} else {
// Move to the next unit up
++unitDefinitionIndex;
unitDefinition = time.units[unitDefinitionIndex];
me.tickUnit = unitDefinition.name;
var leadingUnitBuffer = me.firstTick.diff(me.getMomentStartOf(me.firstTick), me.tickUnit, true);
var trailingUnitBuffer = me.getMomentStartOf(me.lastTick.clone().add(1, me.tickUnit)).diff(me.lastTick, me.tickUnit, true);
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true) + leadingUnitBuffer + trailingUnitBuffer;
me.displayFormat = me.options.time.displayFormats[unitDefinition.name];
}
}
}
var roundedStart;
// Only round the first tick if we have no hard minimum
if (!me.options.time.min) {
me.firstTick = me.getMomentStartOf(me.firstTick);
roundedStart = me.firstTick;
} else {
roundedStart = me.getMomentStartOf(me.firstTick);
}
// Only round the last tick if we have no hard maximum
if (!me.options.time.max) {
var roundedEnd = me.getMomentStartOf(me.lastTick);
var delta = roundedEnd.diff(me.lastTick, me.tickUnit, true);
if (delta < 0) {
// Do not use end of because we need me to be in the next time unit
me.lastTick = me.getMomentStartOf(me.lastTick.add(1, me.tickUnit));
} else if (delta >= 0) {
me.lastTick = roundedEnd;
}
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
}
// Tick displayFormat override
if (me.options.time.displayFormat) {
me.displayFormat = me.options.time.displayFormat;
}
// first tick. will have been rounded correctly if options.time.min is not specified
me.ticks.push(me.firstTick.clone());
// For every unit in between the first and last moment, create a moment and add it to the ticks tick
for (var i = 1; i <= me.scaleSizeInUnits; ++i) {
var newTick = roundedStart.clone().add(i, me.tickUnit);
// Are we greater than the max time
if (me.options.time.max && newTick.diff(me.lastTick, me.tickUnit, true) >= 0) {
break;
}
if (i % me.unitScale === 0) {
me.ticks.push(newTick);
}
}
// Always show the right tick
var diff = me.ticks[me.ticks.length - 1].diff(me.lastTick, me.tickUnit);
if (diff !== 0 || me.scaleSizeInUnits === 0) {
// this is a weird case. If the <max> option is the same as the end option, we can't just diff the times because the tick was created from the roundedStart
// but the last tick was not rounded.
if (me.options.time.max) {
me.ticks.push(me.lastTick.clone());
me.scaleSizeInUnits = me.lastTick.diff(me.ticks[0], me.tickUnit, true);
} else {
me.ticks.push(me.lastTick.clone());
me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
}
}
me.ctx.restore();
// Invalidate label diffs cache
me.labelDiffs = undefined;
},
// Get tooltip label
getLabelForIndex: function (index, datasetIndex) {
var me = this;
var label = me.chart.data.labels && index < me.chart.data.labels.length ? me.chart.data.labels[index] : '';
if (typeof me.chart.data.datasets[datasetIndex].data[0] === 'object') {
label = me.getRightValue(me.chart.data.datasets[datasetIndex].data[index]);
}
// Format nicely
if (me.options.time.tooltipFormat) {
label = me.parseTime(label).format(me.options.time.tooltipFormat);
}
return label;
},
// Function to format an individual tick mark
tickFormatFunction: function (tick, index, ticks) {
var formattedTick = tick.format(this.displayFormat);
var tickOpts = this.options.ticks;
var callback = helpers.getValueOrDefault(tickOpts.callback, tickOpts.userCallback);
if (callback) {
return callback(formattedTick, index, ticks);
}
return formattedTick;
},
convertTicksToLabels: function () {
var me = this;
me.tickMoments = me.ticks;
me.ticks = me.ticks.map(me.tickFormatFunction, me);
},
getPixelForValue: function (value, index, datasetIndex) {
var me = this;
var offset = null;
if (index !== undefined && datasetIndex !== undefined) {
offset = me.getLabelDiff(datasetIndex, index);
}
if (offset === null) {
if (!value || !value.isValid) {
// not already a moment object
value = me.parseTime(me.getRightValue(value));
}
if (value && value.isValid && value.isValid()) {
offset = value.diff(me.firstTick, me.tickUnit, true);
}
}
if (offset !== null) {
var decimal = offset !== 0 ? offset / me.scaleSizeInUnits : offset;
if (me.isHorizontal()) {
var innerWidth = me.width - (me.paddingLeft + me.paddingRight);
var valueOffset = (innerWidth * decimal) + me.paddingLeft;
return me.left + Math.round(valueOffset);
}
var innerHeight = me.height - (me.paddingTop + me.paddingBottom);
var heightOffset = (innerHeight * decimal) + me.paddingTop;
return me.top + Math.round(heightOffset);
}
},
getPixelForTick: function (index) {
return this.getPixelForValue(this.tickMoments[index], null, null);
},
getValueForPixel: function (pixel) {
var me = this;
var innerDimension = me.isHorizontal() ? me.width - (me.paddingLeft + me.paddingRight) : me.height - (me.paddingTop + me.paddingBottom);
var offset = (pixel - (me.isHorizontal() ? me.left + me.paddingLeft : me.top + me.paddingTop)) / innerDimension;
offset *= me.scaleSizeInUnits;
return me.firstTick.clone().add(moment.duration(offset, me.tickUnit).asSeconds(), 'seconds');
},
parseTime: function (label) {
var me = this;
if (typeof me.options.time.parser === 'string') {
return moment(label, me.options.time.parser);
}
if (typeof me.options.time.parser === 'function') {
return me.options.time.parser(label);
}
// Date objects
if (typeof label.getMonth === 'function' || typeof label === 'number') {
return moment(label);
}
// Moment support
if (label.isValid && label.isValid()) {
return label;
}
// Custom parsing (return an instance of moment)
if (typeof me.options.time.format !== 'string' && me.options.time.format.call) {
console.warn('options.time.format is deprecated and replaced by options.time.parser. See http://nnnick.github.io/Chart.js/docs-v2/#scales-time-scale');
return me.options.time.format(label);
}
// Moment format parsing
return moment(label, me.options.time.format);
}
});
Chart.scaleService.registerScaleType('time', TimeScale, defaultConfig);
};
}, {"1": 1}]
}, {}, [7])(7)
});
|
var {FiniteAutomaton} = require('../machines');
class DFA extends FiniteAutomaton {
nextState(from, on) {
let next = null;
// console.log("from:", from, "on:", on.codePointAt(0));
for (let {to, transition} of this.transitionsFrom(from)) {
// console.log(" - to:", to, "on:", transition);
if (transition.matches(on)) {
next = to;
// determinism affords short-circuit
break;
}
}
return next;
}
*process(input) {
var cur = this.start;
yield cur;
for (var i = 0; i < input.length; i++) {
var character = input[i];
cur = this.nextState(cur, character);
yield cur;
if (!cur) {
break;
}
}
}
matches(input) {
var gen = this.process(input);
let result = [];
for (let step of gen) {
result = step;
}
return Boolean(result) && this.stateDescription(result).accepts;
}
}
module.exports = {
DFA
}
|
/**
* Storage and control for undo information within a CodeMirror
* editor. 'Why on earth is such a complicated mess required for
* that?', I hear you ask. The goal, in implementing this, was to make
* the complexity of storing and reverting undo information depend
* only on the size of the edited or restored content, not on the size
* of the whole document. This makes it necessary to use a kind of
* 'diff' system, which, when applied to a DOM tree, causes some
* complexity and hackery.
*
* In short, the editor 'touches' BR elements as it parses them, and
* the History stores these. When nothing is touched in commitDelay
* milliseconds, the changes are committed: It goes over all touched
* nodes, throws out the ones that did not change since last commit or
* are no longer in the document, and assembles the rest into zero or
* more 'chains' -- arrays of adjacent lines. Links back to these
* chains are added to the BR nodes, while the chain that previously
* spanned these nodes is added to the undo history. Undoing a change
* means taking such a chain off the undo history, restoring its
* content (text is saved per line) and linking it back into the
* document.
*/
// A history object needs to know about the DOM container holding the
// document, the maximum amount of undo levels it should store, the
// delay (of no input) after which it commits a set of changes, and,
// unfortunately, the 'parent' window -- a window that is not in
// designMode, and on which setTimeout works in every browser.
function History(container, maxDepth, commitDelay, editor, onChange) {
this.container = container;
this.maxDepth = maxDepth; this.commitDelay = commitDelay;
this.editor = editor; this.parent = editor.parent;
this.onChange = onChange;
// This line object represents the initial, empty editor.
var initial = {text: "", from: null, to: null};
// As the borders between lines are represented by BR elements, the
// start of the first line and the end of the last one are
// represented by null. Since you can not store any properties
// (links to line objects) in null, these properties are used in
// those cases.
this.first = initial; this.last = initial;
// Similarly, a 'historyTouched' property is added to the BR in
// front of lines that have already been touched, and 'firstTouched'
// is used for the first line.
this.firstTouched = false;
// History is the set of committed changes, touched is the set of
// nodes touched since the last commit.
this.history = []; this.redoHistory = []; this.touched = [];
}
History.prototype = {
// Schedule a commit (if no other touches come in for commitDelay
// milliseconds).
scheduleCommit: function() {
var self = this;
this.parent.clearTimeout(this.commitTimeout);
this.commitTimeout = this.parent.setTimeout(function(){self.tryCommit();}, this.commitDelay);
},
// Mark a node as touched. Null is a valid argument.
touch: function(node) {
this.setTouched(node);
this.scheduleCommit();
},
// Undo the last change.
undo: function() {
// Make sure pending changes have been committed.
this.commit();
if (this.history.length) {
// Take the top diff from the history, apply it, and store its
// shadow in the redo history.
var item = this.history.pop();
this.redoHistory.push(this.updateTo(item, "applyChain"));
if (this.onChange) this.onChange();
return this.chainNode(item);
}
},
// Redo the last undone change.
redo: function() {
this.commit();
if (this.redoHistory.length) {
// The inverse of undo, basically.
var item = this.redoHistory.pop();
this.addUndoLevel(this.updateTo(item, "applyChain"));
if (this.onChange) this.onChange();
return this.chainNode(item);
}
},
clear: function() {
this.history = [];
this.redoHistory = [];
},
// Ask for the size of the un/redo histories.
historySize: function() {
return {undo: this.history.length, redo: this.redoHistory.length};
},
// Push a changeset into the document.
push: function(from, to, lines) {
var chain = [];
for (var i = 0; i < lines.length; i++) {
var end = (i == lines.length - 1) ? to : this.container.ownerDocument.createElement("BR");
chain.push({from: from, to: end, text: cleanText(lines[i])});
from = end;
}
this.pushChains([chain], from == null && to == null);
if (this.onChange) this.onChange();
},
pushChains: function(chains, doNotHighlight) {
this.commit(doNotHighlight);
this.addUndoLevel(this.updateTo(chains, "applyChain"));
this.redoHistory = [];
},
// Retrieve a DOM node from a chain (for scrolling to it after undo/redo).
chainNode: function(chains) {
for (var i = 0; i < chains.length; i++) {
var start = chains[i][0], node = start && (start.from || start.to);
if (node) return node;
}
},
// Clear the undo history, make the current document the start
// position.
reset: function() {
this.history = []; this.redoHistory = [];
},
textAfter: function(br) {
return this.after(br).text;
},
nodeAfter: function(br) {
return this.after(br).to;
},
nodeBefore: function(br) {
return this.before(br).from;
},
// Commit unless there are pending dirty nodes.
tryCommit: function() {
if (!window.History) return; // Stop when frame has been unloaded
if (this.editor.highlightDirty()) this.commit(true);
else this.scheduleCommit();
},
// Check whether the touched nodes hold any changes, if so, commit
// them.
commit: function(doNotHighlight) {
this.parent.clearTimeout(this.commitTimeout);
// Make sure there are no pending dirty nodes.
if (!doNotHighlight) this.editor.highlightDirty(true);
// Build set of chains.
var chains = this.touchedChains(), self = this;
if (chains.length) {
this.addUndoLevel(this.updateTo(chains, "linkChain"));
this.redoHistory = [];
if (this.onChange) this.onChange();
}
},
// [ end of public interface ]
// Update the document with a given set of chains, return its
// shadow. updateFunc should be "applyChain" or "linkChain". In the
// second case, the chains are taken to correspond the the current
// document, and only the state of the line data is updated. In the
// first case, the content of the chains is also pushed iinto the
// document.
updateTo: function(chains, updateFunc) {
var shadows = [], dirty = [];
for (var i = 0; i < chains.length; i++) {
shadows.push(this.shadowChain(chains[i]));
dirty.push(this[updateFunc](chains[i]));
}
if (updateFunc == "applyChain")
this.notifyDirty(dirty);
return shadows;
},
// Notify the editor that some nodes have changed.
notifyDirty: function(nodes) {
forEach(nodes, method(this.editor, "addDirtyNode"))
this.editor.scheduleHighlight();
},
// Link a chain into the DOM nodes (or the first/last links for null
// nodes).
linkChain: function(chain) {
for (var i = 0; i < chain.length; i++) {
var line = chain[i];
if (line.from) line.from.historyAfter = line;
else this.first = line;
if (line.to) line.to.historyBefore = line;
else this.last = line;
}
},
// Get the line object after/before a given node.
after: function(node) {
return node ? node.historyAfter : this.first;
},
before: function(node) {
return node ? node.historyBefore : this.last;
},
// Mark a node as touched if it has not already been marked.
setTouched: function(node) {
if (node) {
if (!node.historyTouched) {
this.touched.push(node);
node.historyTouched = true;
}
}
else {
this.firstTouched = true;
}
},
// Store a new set of undo info, throw away info if there is more of
// it than allowed.
addUndoLevel: function(diffs) {
this.history.push(diffs);
if (this.history.length > this.maxDepth)
this.history.shift();
},
// Build chains from a set of touched nodes.
touchedChains: function() {
var self = this;
// The temp system is a crummy hack to speed up determining
// whether a (currently touched) node has a line object associated
// with it. nullTemp is used to store the object for the first
// line, other nodes get it stored in their historyTemp property.
var nullTemp = null;
function temp(node) {return node ? node.historyTemp : nullTemp;}
function setTemp(node, line) {
if (node) node.historyTemp = line;
else nullTemp = line;
}
function buildLine(node) {
var text = [];
for (var cur = node ? node.nextSibling : self.container.firstChild;
cur && !isBR(cur); cur = cur.nextSibling)
if (cur.currentText) text.push(cur.currentText);
return {from: node, to: cur, text: cleanText(text.join(""))};
}
// Filter out unchanged lines and nodes that are no longer in the
// document. Build up line objects for remaining nodes.
var lines = [];
if (self.firstTouched) self.touched.push(null);
forEach(self.touched, function(node) {
if (node && node.parentNode != self.container) return;
if (node) node.historyTouched = false;
else self.firstTouched = false;
var line = buildLine(node), shadow = self.after(node);
if (!shadow || shadow.text != line.text || shadow.to != line.to) {
lines.push(line);
setTemp(node, line);
}
});
// Get the BR element after/before the given node.
function nextBR(node, dir) {
var link = dir + "Sibling", search = node[link];
while (search && !isBR(search))
search = search[link];
return search;
}
// Assemble line objects into chains by scanning the DOM tree
// around them.
var chains = []; self.touched = [];
forEach(lines, function(line) {
// Note that this makes the loop skip line objects that have
// been pulled into chains by lines before them.
if (!temp(line.from)) return;
var chain = [], curNode = line.from, safe = true;
// Put any line objects (referred to by temp info) before this
// one on the front of the array.
while (true) {
var curLine = temp(curNode);
if (!curLine) {
if (safe) break;
else curLine = buildLine(curNode);
}
chain.unshift(curLine);
setTemp(curNode, null);
if (!curNode) break;
safe = self.after(curNode);
curNode = nextBR(curNode, "previous");
}
curNode = line.to; safe = self.before(line.from);
// Add lines after this one at end of array.
while (true) {
if (!curNode) break;
var curLine = temp(curNode);
if (!curLine) {
if (safe) break;
else curLine = buildLine(curNode);
}
chain.push(curLine);
setTemp(curNode, null);
safe = self.before(curNode);
curNode = nextBR(curNode, "next");
}
chains.push(chain);
});
return chains;
},
// Find the 'shadow' of a given chain by following the links in the
// DOM nodes at its start and end.
shadowChain: function(chain) {
var shadows = [], next = this.after(chain[0].from), end = chain[chain.length - 1].to;
while (true) {
shadows.push(next);
var nextNode = next.to;
if (!nextNode || nextNode == end)
break;
else
next = nextNode.historyAfter || this.before(end);
// (The this.before(end) is a hack -- FF sometimes removes
// properties from BR nodes, in which case the best we can hope
// for is to not break.)
}
return shadows;
},
// Update the DOM tree to contain the lines specified in a given
// chain, link this chain into the DOM nodes.
applyChain: function(chain) {
// Some attempt is made to prevent the cursor from jumping
// randomly when an undo or redo happens. It still behaves a bit
// strange sometimes.
var cursor = select.cursorPos(this.container, false), self = this;
// Remove all nodes in the DOM tree between from and to (null for
// start/end of container).
function removeRange(from, to) {
var pos = from ? from.nextSibling : self.container.firstChild;
while (pos != to) {
var temp = pos.nextSibling;
removeElement(pos);
pos = temp;
}
}
var start = chain[0].from, end = chain[chain.length - 1].to;
// Clear the space where this change has to be made.
removeRange(start, end);
// Insert the content specified by the chain into the DOM tree.
for (var i = 0; i < chain.length; i++) {
var line = chain[i];
// The start and end of the space are already correct, but BR
// tags inside it have to be put back.
if (i > 0)
self.container.insertBefore(line.from, end);
// Add the text.
var node = makePartSpan(fixSpaces(line.text), this.container.ownerDocument);
self.container.insertBefore(node, end);
// See if the cursor was on this line. Put it back, adjusting
// for changed line length, if it was.
if (cursor && cursor.node == line.from) {
var cursordiff = 0;
var prev = this.after(line.from);
if (prev && i == chain.length - 1) {
// Only adjust if the cursor is after the unchanged part of
// the line.
for (var match = 0; match < cursor.offset &&
line.text.charAt(match) == prev.text.charAt(match); match++);
if (cursor.offset > match)
cursordiff = line.text.length - prev.text.length;
}
select.setCursorPos(this.container, {node: line.from, offset: Math.max(0, cursor.offset + cursordiff)});
}
// Cursor was in removed line, this is last new line.
else if (cursor && (i == chain.length - 1) && cursor.node && cursor.node.parentNode != this.container) {
select.setCursorPos(this.container, {node: line.from, offset: line.text.length});
}
}
// Anchor the chain in the DOM tree.
this.linkChain(chain);
return start;
}
};
|
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Class = require('../../utils/Class');
var Vector2 = require('../../math/Vector2');
function GetLength (x1, y1, x2, y2)
{
var x = x1 - x2;
var y = y1 - y2;
var magnitude = (x * x) + (y * y);
return Math.sqrt(magnitude);
}
/**
* @classdesc
* A Face Object.
*
* This class consists of 3 Vertex instances, for the 3 corners of the face.
*
* @class Face
* @memberof Phaser.Geom.Mesh
* @constructor
* @since 3.50.0
*
* @param {Phaser.Geom.Mesh.Vertex} vertex1 - The first vertex of the Face.
* @param {Phaser.Geom.Mesh.Vertex} vertex2 - The second vertex of the Face.
* @param {Phaser.Geom.Mesh.Vertex} vertex3 - The third vertex of the Face.
*/
var Face = new Class({
initialize:
function Face (vertex1, vertex2, vertex3)
{
/**
* The first vertex in this Face.
*
* @name Phaser.Geom.Mesh.Face#vertex1
* @type {Phaser.Geom.Mesh.Vertex}
* @since 3.50.0
*/
this.vertex1 = vertex1;
/**
* The second vertex in this Face.
*
* @name Phaser.Geom.Mesh.Face#vertex2
* @type {Phaser.Geom.Mesh.Vertex}
* @since 3.50.0
*/
this.vertex2 = vertex2;
/**
* The third vertex in this Face.
*
* @name Phaser.Geom.Mesh.Face#vertex3
* @type {Phaser.Geom.Mesh.Vertex}
* @since 3.50.0
*/
this.vertex3 = vertex3;
/**
* The face inCenter. Do not access directly, instead use the `getInCenter` method.
*
* @name Phaser.Geom.Mesh.Face#_inCenter
* @type {Phaser.Math.Vector2}
* @private
* @since 3.50.0
*/
this._inCenter = new Vector2();
},
/**
* Gets the In Center of this Face.
*
* @method Phaser.Geom.Mesh.Face#getInCenter
* @since 3.0.0
*
* @return {Phaser.Math.Vector2} A Vector2 instance with the In Center set in it.
*/
getInCenter: function ()
{
var v1 = this.vertex1;
var v2 = this.vertex2;
var v3 = this.vertex3;
var d1 = GetLength(v3.x, v3.y, v2.x, v2.y);
var d2 = GetLength(v1.x, v1.y, v3.x, v3.y);
var d3 = GetLength(v2.x, v2.y, v1.x, v1.y);
var p = d1 + d2 + d3;
return this._inCenter.set(
(v1.x * d1 + v2.x * d2 + v3.x * d3) / p,
(v1.y * d1 + v2.y * d2 + v3.y * d3) / p
);
},
/**
* Translate this Face using the given values.
*
* @method Phaser.Geom.Mesh.Face#translate
* @since 3.50.0
*
* @param {number} x - The x component.
* @param {number} y - The y component.
*
* @return {Phaser.Geom.Mesh.Face} This Face instance.
*/
translate: function (x, y)
{
if (y === undefined) { y = 0; }
var v1 = this.vertex1;
var v2 = this.vertex2;
var v3 = this.vertex3;
v1.translate(x, y);
v2.translate(x, y);
v3.translate(x, y);
return this;
},
/**
* Rotates the vertices in this Face around an optional center point.
*
* @method Phaser.Geom.Mesh.Face#rotate
* @since 3.50.0
*
* @param {number} angle - The angle of ratation, in radians.
* @param {number} [cx] - Optional center x coordinate to rotate around.
* @param {number} [cy] - Optional center y coordinate to rotate around.
*
* @return {Phaser.Geom.Mesh.Face} This Face instance.
*/
rotate: function (angle, cx, cy)
{
var x;
var y;
// No point of rotation? Use the inCenter instead, then.
if (cx === undefined && cy === undefined)
{
var inCenter = this.getInCenter();
x = inCenter.x;
y = inCenter.y;
}
var c = Math.cos(angle);
var s = Math.sin(angle);
var v1 = this.vertex1;
var v2 = this.vertex2;
var v3 = this.vertex3;
var tx = v1.x - x;
var ty = v1.y - y;
v1.setPosition(tx * c - ty * s + x, tx * s + ty * c + y);
tx = v2.x - x;
ty = v2.y - y;
v2.setPosition(tx * c - ty * s + x, tx * s + ty * c + y);
tx = v3.x - x;
ty = v3.y - y;
v3.setPosition(tx * c - ty * s + x, tx * s + ty * c + y);
return this;
},
/**
* Return `true` if this Face intersects with the given coordinates.
*
* @method Phaser.Geom.Mesh.Face#contains
* @since 3.50.0
*
* @param {number} x - The x position to check against.
* @param {number} y - The y position to check against.
* @param {Phaser.Math.Matrix4} [calcMatrix] - Optional transform matrix to apply the vertices through.
*
* @return {boolean} `true` if the position intersects with this Face, otherwise `false`.
*/
contains: function (x, y, calcMatrix)
{
var v1x = this.vertex1.x;
var v1y = this.vertex1.y;
var v2x = this.vertex2.x;
var v2y = this.vertex2.y;
var v3x = this.vertex3.x;
var v3y = this.vertex3.y;
if (calcMatrix)
{
var a = calcMatrix.a;
var b = calcMatrix.b;
var c = calcMatrix.c;
var d = calcMatrix.d;
var e = calcMatrix.e;
var f = calcMatrix.f;
v1x = this.vertex1.x * a + this.vertex1.y * c + e;
v1y = this.vertex1.x * b + this.vertex1.y * d + f;
v2x = this.vertex2.x * a + this.vertex2.y * c + e;
v2y = this.vertex2.x * b + this.vertex2.y * d + f;
v3x = this.vertex3.x * a + this.vertex3.y * c + e;
v3y = this.vertex3.x * b + this.vertex3.y * d + f;
}
var t0x = v3x - v1x;
var t0y = v3y - v1y;
var t1x = v2x - v1x;
var t1y = v2y - v1y;
var t2x = x - v1x;
var t2y = y - v1y;
var dot00 = (t0x * t0x) + (t0y * t0y);
var dot01 = (t0x * t1x) + (t0y * t1y);
var dot02 = (t0x * t2x) + (t0y * t2y);
var dot11 = (t1x * t1x) + (t1y * t1y);
var dot12 = (t1x * t2x) + (t1y * t2y);
// Compute barycentric coordinates
var bc = ((dot00 * dot11) - (dot01 * dot01));
var inv = (bc === 0) ? 0 : (1 / bc);
var u = ((dot11 * dot02) - (dot01 * dot12)) * inv;
var v = ((dot00 * dot12) - (dot01 * dot02)) * inv;
return (u >= 0 && v >= 0 && (u + v < 1));
},
/**
* Return `true` if the vertices of this Face wind counter-clockwise.
*
* @method Phaser.Geom.Mesh.Face#isCounterClockwise
* @since 3.50.0
*
* @return {boolean} `true` if the vertices of this Face wind counter-clockwise , otherwise `false`.
*/
isCounterClockwise: function ()
{
var v1 = this.vertex1;
var v2 = this.vertex2;
var v3 = this.vertex3;
return (v2.x - v1.x) * (v3.y - v1.y) - (v2.y - v1.y) * (v3.x - v1.x) >= 0;
},
/**
* Returns the horizontal in center of this Face. If set, translates the Face by the given amount.
*
* @name Phaser.Geom.Mesh.Face#x
* @type {number}
* @since 3.50.0
*/
x: {
get: function ()
{
return this.getInCenter().x;
},
set: function (value)
{
var current = this.getInCenter();
this.translate(value - current.x, 0);
}
},
/**
* Returns the vertical in center of this Face. If set, translates the Face by the given amount.
*
* @name Phaser.Geom.Mesh.Face#y
* @type {number}
* @since 3.50.0
*/
y: {
get: function ()
{
return this.getInCenter().y;
},
set: function (value)
{
var current = this.getInCenter();
this.translate(0, value - current.y);
}
},
/**
* The averaged depth of this Face.
*
* @name Phaser.Geom.Mesh.Face#depth
* @type {number}
* @readonly
* @since 3.50.0
*/
depth: {
get: function ()
{
var v1 = this.vertex1;
var v2 = this.vertex2;
var v3 = this.vertex3;
return (v1.z + v2.z + v3.z) / 3;
}
},
/**
* Destroys this Face and its references.
*
* @method Phaser.Geom.Mesh.Face#destroy
* @since 3.50.0
*/
destroy: function ()
{
this.vertex1 = null;
this.vertex2 = null;
this.vertex3 = null;
}
});
module.exports = Face;
|
/* global window: false */
'use strict';
var defaults = require('./core.defaults');
var Element = require('./core.element');
var helpers = require('../helpers/index');
defaults._set('global', {
animation: {
duration: 0,
easing: 'easeOutQuart',
onProgress: helpers.noop,
onComplete: helpers.noop
}
});
module.exports = function(Chart) {
Chart.Animation = Element.extend({
chart: null, // the animation associated chart instance
currentStep: 0, // the current animation step
numSteps: 60, // default number of steps
easing: '', // the easing to use for this animation
render: null, // render function used by the animation service
onAnimationProgress: null, // user specified callback to fire on each step of the animation
onAnimationComplete: null, // user specified callback to fire when the animation finishes
});
Chart.animationService = {
frameDuration: 17,
animations: [],
dropFrames: 0,
request: null,
/**
* @param {Chart} chart - The chart to animate.
* @param {Chart.Animation} animation - The animation that we will animate.
* @param {Number} duration - The animation duration in ms.
* @param {Boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions
*/
addAnimation: function(chart, animation, duration, lazy) {
var animations = this.animations;
var i, ilen;
animation.chart = chart;
if (!lazy) {
chart.animating = true;
}
for (i = 0, ilen = animations.length; i < ilen; ++i) {
if (animations[i].chart === chart) {
animations[i] = animation;
return;
}
}
animations.push(animation);
// If there are no animations queued, manually kickstart a digest, for lack of a better word
if (animations.length === 1) {
this.requestAnimationFrame();
}
},
cancelAnimation: function(chart) {
var index = helpers.findIndex(this.animations, function(animation) {
return animation.chart === chart;
});
if (index !== -1) {
this.animations.splice(index, 1);
chart.animating = false;
}
},
requestAnimationFrame: function() {
var me = this;
if (me.request === null) {
// Skip animation frame requests until the active one is executed.
// This can happen when processing mouse events, e.g. 'mousemove'
// and 'mouseout' events will trigger multiple renders.
me.request = helpers.requestAnimFrame.call(window, function() {
me.request = null;
me.startDigest();
});
}
},
/**
* @private
*/
startDigest: function() {
var me = this;
var startTime = Date.now();
var framesToDrop = 0;
if (me.dropFrames > 1) {
framesToDrop = Math.floor(me.dropFrames);
me.dropFrames = me.dropFrames % 1;
}
me.advance(1 + framesToDrop);
var endTime = Date.now();
me.dropFrames += (endTime - startTime) / me.frameDuration;
// Do we have more stuff to animate?
if (me.animations.length > 0) {
me.requestAnimationFrame();
}
},
/**
* @private
*/
advance: function(count) {
var animations = this.animations;
var animation, chart;
var i = 0;
while (i < animations.length) {
animation = animations[i];
chart = animation.chart;
animation.currentStep = (animation.currentStep || 0) + count;
animation.currentStep = Math.min(animation.currentStep, animation.numSteps);
helpers.callback(animation.render, [chart, animation], chart);
helpers.callback(animation.onAnimationProgress, [animation], chart);
if (animation.currentStep >= animation.numSteps) {
helpers.callback(animation.onAnimationComplete, [animation], chart);
chart.animating = false;
animations.splice(i, 1);
} else {
++i;
}
}
}
};
/**
* Provided for backward compatibility, use Chart.Animation instead
* @prop Chart.Animation#animationObject
* @deprecated since version 2.6.0
* @todo remove at version 3
*/
Object.defineProperty(Chart.Animation.prototype, 'animationObject', {
get: function() {
return this;
}
});
/**
* Provided for backward compatibility, use Chart.Animation#chart instead
* @prop Chart.Animation#chartInstance
* @deprecated since version 2.6.0
* @todo remove at version 3
*/
Object.defineProperty(Chart.Animation.prototype, 'chartInstance', {
get: function() {
return this.chart;
},
set: function(value) {
this.chart = value;
}
});
};
|
module.exports = {
verbose: false,
testEnvironment: 'node',
moduleFileExtensions: [
'js',
'json',
'node',
],
testRegex: '(/__tests__/.*|\\.test)\\.js$',
testPathIgnorePatterns: [
'node_modules',
'dist',
],
coverageDirectory: 'coverage',
collectCoverageFrom: [
'src/**/*.js',
],
coveragePathIgnorePatterns: [
'/node_modules/',
'/src/helpers/pdfkit/',
],
};
|
import styled from 'styled-components';
export const Main = styled.div`
width: 100%;
background: var(--green);
`;
export const Container = styled.nav`
width: 100%;
max-width: 1200px;
display: flex;
flex-wrap: wrap;
margin: 0 auto;
padding: 1rem;
div {
padding: 1rem;
width: 50%;
}
p {
padding: 3rem 1rem 1rem 0;
color: var(--white);
font-size: 0.625rem;
}
@media only screen and (max-width: 650px) {
flex-direction: column;
flex-wrap: initial;
div {
width: 100%;
}
}
`;
export const ContainerContatos = styled.footer`
width: 100%;
h2 {
font-size: 1.5rem;
border-bottom: 1px solid #ddd;
padding-bottom: 0.5rem;
margin: 0 0 1.5rem;
color: var(--white);
}
a + a {
margin-left: 2rem;
}
a {
svg {
transition: all 0.3s;
}
}
a:hover {
svg {
filter: brightness(0.8);
transform: translateY(-2px);
}
}
`;
|
import template from './sw-settings-tax-list.html.twig';
const { Component, Mixin } = Shopware;
const { Criteria } = Shopware.Data;
Component.register('sw-settings-tax-list', {
template,
inject: ['repositoryFactory'],
mixins: [
Mixin.getByName('listing')
],
data() {
return {
tax: null,
sortBy: 'name',
isLoading: false,
sortDirection: 'ASC',
naturalSorting: true,
showDeleteModal: false
};
},
computed: {
taxRepository() {
return this.repositoryFactory.create('tax');
}
},
metaInfo() {
return {
title: this.$createTitle()
};
},
methods: {
getList() {
const criteria = new Criteria(this.page, this.limit);
this.isLoading = true;
this.naturalSorting = this.sortBy === 'tax.name';
criteria.setTerm(this.term);
criteria.addSorting(Criteria.sort(this.sortBy, this.sortDirection, this.naturalSorting));
this.taxRepository.search(criteria, Shopware.Context.api).then((items) => {
this.total = items.total;
this.tax = items;
this.isLoading = false;
return items;
}).catch(() => {
this.isLoading = false;
});
},
onInlineEditSave(promise, tax) {
promise.then(() => {
this.createNotificationSuccess({
title: this.$tc('sw-settings-tax.detail.titleSaveSuccess'),
message: this.$tc('sw-settings-tax.detail.messageSaveSuccess', 0, { name: tax.name })
});
}).catch(() => {
this.getList();
this.createNotificationError({
title: this.$tc('sw-settings-tax.detail.titleSaveError'),
message: this.$tc('sw-settings-tax.detail.messageSaveError')
});
});
},
onDelete(id) {
this.showDeleteModal = id;
},
onCloseDeleteModal() {
this.showDeleteModal = false;
},
onConfirmDelete(id) {
this.showDeleteModal = false;
return this.taxRepository.delete(id, Shopware.Context.api).then(() => {
this.getList();
});
},
getTaxColumns() {
return [{
property: 'name',
dataIndex: 'name',
inlineEdit: 'string',
label: this.$tc('sw-settings-tax.list.columnName'),
routerLink: 'sw.settings.tax.detail',
width: '250px',
primary: true
}, {
property: 'defaultTaxRate',
inlineEdit: 'number',
label: this.$tc('sw-settings-tax.list.columnDefaultTaxRate')
}];
}
}
});
|
// This file contains methods that convert the path node into another node or some other type of data.
import * as t from "@babel/types";
import nameFunction from "@babel/helper-function-name";
export function toComputedKey(): Object {
const node = this.node;
let key;
if (this.isMemberExpression()) {
key = node.property;
} else if (this.isProperty() || this.isMethod()) {
key = node.key;
} else {
throw new ReferenceError("todo");
}
if (!node.computed) {
if (t.isIdentifier(key)) key = t.stringLiteral(key.name);
}
return key;
}
export function ensureBlock() {
const body = this.get("body");
const bodyNode = body.node;
if (Array.isArray(body)) {
throw new Error("Can't convert array path to a block statement");
}
if (!bodyNode) {
throw new Error("Can't convert node without a body");
}
if (body.isBlockStatement()) {
return bodyNode;
}
const statements = [];
let stringPath = "body";
let key;
let listKey;
if (body.isStatement()) {
listKey = "body";
key = 0;
statements.push(body.node);
} else {
stringPath += ".body.0";
if (this.isFunction()) {
key = "argument";
statements.push(t.returnStatement(body.node));
} else {
key = "expression";
statements.push(t.expressionStatement(body.node));
}
}
this.node.body = t.blockStatement(statements);
const parentPath = this.get(stringPath);
body.setup(
parentPath,
listKey ? parentPath.node[listKey] : parentPath.node,
listKey,
key,
);
return this.node;
}
/**
* Keeping this for backward-compatibility. You should use arrowFunctionToExpression() for >=7.x.
*/
export function arrowFunctionToShadowed() {
if (!this.isArrowFunctionExpression()) return;
this.arrowFunctionToExpression();
}
/**
* Given an arbitrary function, process its content as if it were an arrow function, moving references
* to "this", "arguments", "super", and such into the function's parent scope. This method is useful if
* you have wrapped some set of items in an IIFE or other function, but want "this", "arguments", and super"
* to continue behaving as expected.
*/
export function unwrapFunctionEnvironment() {
if (
!this.isArrowFunctionExpression() &&
!this.isFunctionExpression() &&
!this.isFunctionDeclaration()
) {
throw this.buildCodeFrameError(
"Can only unwrap the environment of a function.",
);
}
hoistFunctionEnvironment(this);
}
/**
* Convert a given arrow function into a normal ES5 function expression.
*/
export function arrowFunctionToExpression({
allowInsertArrow = true,
specCompliant = false,
} = {}) {
if (!this.isArrowFunctionExpression()) {
throw this.buildCodeFrameError(
"Cannot convert non-arrow function to a function expression.",
);
}
const thisBinding = hoistFunctionEnvironment(
this,
specCompliant,
allowInsertArrow,
);
this.ensureBlock();
this.node.type = "FunctionExpression";
if (specCompliant) {
const checkBinding = thisBinding
? null
: this.parentPath.scope.generateUidIdentifier("arrowCheckId");
if (checkBinding) {
this.parentPath.scope.push({
id: checkBinding,
init: t.objectExpression([]),
});
}
this.get("body").unshiftContainer(
"body",
t.expressionStatement(
t.callExpression(this.hub.file.addHelper("newArrowCheck"), [
t.thisExpression(),
checkBinding
? t.identifier(checkBinding.name)
: t.identifier(thisBinding),
]),
),
);
this.replaceWith(
t.callExpression(
t.memberExpression(
nameFunction(this, true) || this.node,
t.identifier("bind"),
),
[checkBinding ? t.identifier(checkBinding.name) : t.thisExpression()],
),
);
}
}
/**
* Given a function, traverse its contents, and if there are references to "this", "arguments", "super",
* or "new.target", ensure that these references reference the parent environment around this function.
*/
function hoistFunctionEnvironment(
fnPath,
specCompliant = false,
allowInsertArrow = true,
) {
const thisEnvFn = fnPath.findParent(
p =>
(p.isFunction() && !p.isArrowFunctionExpression()) ||
p.isProgram() ||
p.isClassProperty({ static: false }),
);
const inConstructor = thisEnvFn && thisEnvFn.node.kind === "constructor";
if (thisEnvFn.isClassProperty()) {
throw fnPath.buildCodeFrameError(
"Unable to transform arrow inside class property",
);
}
const {
thisPaths,
argumentsPaths,
newTargetPaths,
superProps,
superCalls,
} = getScopeInformation(fnPath);
// Convert all super() calls in the constructor, if super is used in an arrow.
if (inConstructor && superCalls.length > 0) {
if (!allowInsertArrow) {
throw superCalls[0].buildCodeFrameError(
"Unable to handle nested super() usage in arrow",
);
}
const allSuperCalls = [];
thisEnvFn.traverse({
Function(child) {
if (child.isArrowFunctionExpression()) return;
child.skip();
},
ClassProperty(child) {
if (child.node.static) return;
child.skip();
},
CallExpression(child) {
if (!child.get("callee").isSuper()) return;
allSuperCalls.push(child);
},
});
const superBinding = getSuperBinding(thisEnvFn);
allSuperCalls.forEach(superCall =>
superCall.get("callee").replaceWith(t.identifier(superBinding)),
);
}
// Convert all "this" references in the arrow to point at the alias.
let thisBinding;
if (thisPaths.length > 0 || specCompliant) {
thisBinding = getThisBinding(thisEnvFn, inConstructor);
if (
!specCompliant ||
// In subclass constructors, still need to rewrite because "this" can't be bound in spec mode
// because it might not have been initialized yet.
(inConstructor && hasSuperClass(thisEnvFn))
) {
thisPaths.forEach(thisChild => {
thisChild.replaceWith(
thisChild.isJSX()
? t.jsxIdentifier(thisBinding)
: t.identifier(thisBinding),
);
});
if (specCompliant) thisBinding = null;
}
}
// Convert all "arguments" references in the arrow to point at the alias.
if (argumentsPaths.length > 0) {
const argumentsBinding = getBinding(thisEnvFn, "arguments", () =>
t.identifier("arguments"),
);
argumentsPaths.forEach(argumentsChild => {
argumentsChild.replaceWith(t.identifier(argumentsBinding));
});
}
// Convert all "new.target" references in the arrow to point at the alias.
if (newTargetPaths.length > 0) {
const newTargetBinding = getBinding(thisEnvFn, "newtarget", () =>
t.metaProperty(t.identifier("new"), t.identifier("target")),
);
newTargetPaths.forEach(argumentsChild => {
argumentsChild.replaceWith(t.identifier(newTargetBinding));
});
}
// Convert all "super.prop" references to point at aliases.
if (superProps.length > 0) {
if (!allowInsertArrow) {
throw superProps[0].buildCodeFrameError(
"Unable to handle nested super.prop usage",
);
}
const flatSuperProps = superProps.reduce(
(acc, superProp) => acc.concat(standardizeSuperProperty(superProp)),
[],
);
flatSuperProps.forEach(superProp => {
const key = superProp.node.computed
? ""
: superProp.get("property").node.name;
if (superProp.parentPath.isCallExpression({ callee: superProp.node })) {
const superBinding = getSuperPropCallBinding(thisEnvFn, key);
if (superProp.node.computed) {
const prop = superProp.get("property").node;
superProp.replaceWith(t.identifier(superBinding));
superProp.parentPath.node.arguments.unshift(prop);
} else {
superProp.replaceWith(t.identifier(superBinding));
}
} else {
const isAssignment = superProp.parentPath.isAssignmentExpression({
left: superProp.node,
});
const superBinding = getSuperPropBinding(thisEnvFn, isAssignment, key);
const args = [];
if (superProp.node.computed) {
args.push(superProp.get("property").node);
}
if (isAssignment) {
const value = superProp.parentPath.node.right;
args.push(value);
superProp.parentPath.replaceWith(
t.callExpression(t.identifier(superBinding), args),
);
} else {
superProp.replaceWith(
t.callExpression(t.identifier(superBinding), args),
);
}
}
});
}
return thisBinding;
}
function standardizeSuperProperty(superProp) {
if (
superProp.parentPath.isAssignmentExpression() &&
superProp.parentPath.node.operator !== "="
) {
const assignmentPath = superProp.parentPath;
const op = assignmentPath.node.operator.slice(0, -1);
const value = assignmentPath.node.right;
assignmentPath.node.operator = "=";
if (superProp.node.computed) {
const tmp = superProp.scope.generateDeclaredUidIdentifier("tmp");
assignmentPath
.get("left")
.replaceWith(
t.memberExpression(
superProp.node.object,
t.assignmentExpression("=", tmp, superProp.node.property),
true /* computed */,
),
);
assignmentPath
.get("right")
.replaceWith(
t.binaryExpression(
op,
t.memberExpression(
superProp.node.object,
t.identifier(tmp.name),
true /* computed */,
),
value,
),
);
} else {
assignmentPath
.get("left")
.replaceWith(
t.memberExpression(superProp.node.object, superProp.node.property),
);
assignmentPath
.get("right")
.replaceWith(
t.binaryExpression(
op,
t.memberExpression(
superProp.node.object,
t.identifier(superProp.node.property.name),
),
value,
),
);
}
return [
assignmentPath.get("left"),
assignmentPath.get("right").get("left"),
];
} else if (superProp.parentPath.isUpdateExpression()) {
const updateExpr = superProp.parentPath;
const tmp = superProp.scope.generateDeclaredUidIdentifier("tmp");
const computedKey = superProp.node.computed
? superProp.scope.generateDeclaredUidIdentifier("prop")
: null;
const parts = [
t.assignmentExpression(
"=",
tmp,
t.memberExpression(
superProp.node.object,
computedKey
? t.assignmentExpression("=", computedKey, superProp.node.property)
: superProp.node.property,
superProp.node.computed,
),
),
t.assignmentExpression(
"=",
t.memberExpression(
superProp.node.object,
computedKey
? t.identifier(computedKey.name)
: superProp.node.property,
superProp.node.computed,
),
t.binaryExpression("+", t.identifier(tmp.name), t.numericLiteral(1)),
),
];
if (!superProp.parentPath.node.prefix) {
parts.push(t.identifier(tmp.name));
}
updateExpr.replaceWith(t.sequenceExpression(parts));
const left = updateExpr.get("expressions.0.right");
const right = updateExpr.get("expressions.1.left");
return [left, right];
}
return [superProp];
}
function hasSuperClass(thisEnvFn) {
return (
thisEnvFn.isClassMethod() &&
!!thisEnvFn.parentPath.parentPath.node.superClass
);
}
// Create a binding that evaluates to the "this" of the given function.
function getThisBinding(thisEnvFn, inConstructor) {
return getBinding(thisEnvFn, "this", thisBinding => {
if (!inConstructor || !hasSuperClass(thisEnvFn)) return t.thisExpression();
const supers = new WeakSet();
thisEnvFn.traverse({
Function(child) {
if (child.isArrowFunctionExpression()) return;
child.skip();
},
ClassProperty(child) {
if (child.node.static) return;
child.skip();
},
CallExpression(child) {
if (!child.get("callee").isSuper()) return;
if (supers.has(child.node)) return;
supers.add(child.node);
child.replaceWith(
t.assignmentExpression("=", t.identifier(thisBinding), child.node),
);
},
});
});
}
// Create a binding for a function that will call "super()" with arguments passed through.
function getSuperBinding(thisEnvFn) {
return getBinding(thisEnvFn, "supercall", () => {
const argsBinding = thisEnvFn.scope.generateUidIdentifier("args");
return t.arrowFunctionExpression(
[t.restElement(argsBinding)],
t.callExpression(t.super(), [
t.spreadElement(t.identifier(argsBinding.name)),
]),
);
});
}
// Create a binding for a function that will call "super.foo()" or "super[foo]()".
function getSuperPropCallBinding(thisEnvFn, propName) {
return getBinding(thisEnvFn, `superprop_call:${propName || ""}`, () => {
const argsBinding = thisEnvFn.scope.generateUidIdentifier("args");
const argsList = [t.restElement(argsBinding)];
let fnBody;
if (propName) {
// (...args) => super.foo(...args)
fnBody = t.callExpression(
t.memberExpression(t.super(), t.identifier(propName)),
[t.spreadElement(t.identifier(argsBinding.name))],
);
} else {
const method = thisEnvFn.scope.generateUidIdentifier("prop");
// (method, ...args) => super[method](...args)
argsList.unshift(method);
fnBody = t.callExpression(
t.memberExpression(
t.super(),
t.identifier(method.name),
true /* computed */,
),
[t.spreadElement(t.identifier(argsBinding.name))],
);
}
return t.arrowFunctionExpression(argsList, fnBody);
});
}
// Create a binding for a function that will call "super.foo" or "super[foo]".
function getSuperPropBinding(thisEnvFn, isAssignment, propName) {
const op = isAssignment ? "set" : "get";
return getBinding(thisEnvFn, `superprop_${op}:${propName || ""}`, () => {
const argsList = [];
let fnBody;
if (propName) {
// () => super.foo
fnBody = t.memberExpression(t.super(), t.identifier(propName));
} else {
const method = thisEnvFn.scope.generateUidIdentifier("prop");
// (method) => super[method]
argsList.unshift(method);
fnBody = t.memberExpression(
t.super(),
t.identifier(method.name),
true /* computed */,
);
}
if (isAssignment) {
const valueIdent = thisEnvFn.scope.generateUidIdentifier("value");
argsList.push(valueIdent);
fnBody = t.assignmentExpression(
"=",
fnBody,
t.identifier(valueIdent.name),
);
}
return t.arrowFunctionExpression(argsList, fnBody);
});
}
function getBinding(thisEnvFn, key, init) {
const cacheKey = "binding:" + key;
let data = thisEnvFn.getData(cacheKey);
if (!data) {
const id = thisEnvFn.scope.generateUidIdentifier(key);
data = id.name;
thisEnvFn.setData(cacheKey, data);
thisEnvFn.scope.push({
id: id,
init: init(data),
});
}
return data;
}
function getScopeInformation(fnPath) {
const thisPaths = [];
const argumentsPaths = [];
const newTargetPaths = [];
const superProps = [];
const superCalls = [];
fnPath.traverse({
ClassProperty(child) {
if (child.node.static) return;
child.skip();
},
Function(child) {
if (child.isArrowFunctionExpression()) return;
child.skip();
},
ThisExpression(child) {
thisPaths.push(child);
},
JSXIdentifier(child) {
if (child.node.name !== "this") return;
if (
!child.parentPath.isJSXMemberExpression({ object: child.node }) &&
!child.parentPath.isJSXOpeningElement({ name: child.node })
) {
return;
}
thisPaths.push(child);
},
CallExpression(child) {
if (child.get("callee").isSuper()) superCalls.push(child);
},
MemberExpression(child) {
if (child.get("object").isSuper()) superProps.push(child);
},
ReferencedIdentifier(child) {
if (child.node.name !== "arguments") return;
argumentsPaths.push(child);
},
MetaProperty(child) {
if (!child.get("meta").isIdentifier({ name: "new" })) return;
if (!child.get("property").isIdentifier({ name: "target" })) return;
newTargetPaths.push(child);
},
});
return {
thisPaths,
argumentsPaths,
newTargetPaths,
superProps,
superCalls,
};
}
|
//防抖函数debounce()
export function debounce(func, delay) {
let timer = null
return function (...args) {
if (timer) clearTimeout(timer)
timer = setTimeout(() => {
func.apply(this, args)
},delay)
}
}
export function formatDate(date, fmt) {
if (/(y+)/.test(fmt)) {
fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));
}
let o = {
'M+': date.getMonth() + 1,
'd+': date.getDate(),
'h+': date.getHours(),
'm+': date.getMinutes(),
's+': date.getSeconds()
};
for (let k in o) {
if (new RegExp(`(${k})`).test(fmt)) {
let str = o[k] + '';
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));
}
}
return fmt;
};
function padLeftZero (str) {
return ('00' + str).substr(str.length);
};
|
import React from 'react';
import ReactDOM from 'react-dom';
import App from 'Components/app';
ReactDOM.render(<App />, document.getElementById('root'));
|
/**-----------------------------------------------------------------------------------------
* Copyright © 2020 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/* tslint:disable:max-line-length */
import { Directive, TemplateRef } from '@angular/core';
/**
* Renders the fixed group header content. To define the fixed group template, nest an `<ng-template>` tag
* with the `kendo<ComponentName>FixedGroupTemplate` directive inside the component tag. The template context is
* set to the current component. To get a reference to the current data item, use the `let-groupName` directive.
*
* - [Using `FixedGroupTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-fixed-group-template)
* - [Using `FixedGroupTemplate` with the ComboBox]({% slug templates_combobox %}#toc-fixed-group-template)
* - [Using `FixedGroupTemplate` with the DropDownList]({% slug templates_ddl %}#toc-fixed-group-template)
* - [Using `FixedGroupTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-fixed-group-template)
*
* @example
* ```ts
* import { groupBy } from '@progress/kendo-data-query';
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-combobox [data]="groupedData" [textField]="'name'" [valueField]="'name'">
* <ng-template kendoComboBoxFixedGroupTemplate let-groupName>
* <span>Food type: {{groupName}} option</span>
* </ng-template>
* </kendo-combobox>
* `
* })
* class AppComponent {
* public data = [
* { name: "Pork", category: "Food", subcategory: "Meat" },
* { name: "Pepper", category: "Food", subcategory: "Vegetables" },
* { name: "Beef", category: "Food", subcategory: "Meat" }
* ];
* public groupedData = groupBy(this.data, [{field: "subcategory"}]);
* }
* ```
*/
export class FixedGroupTemplateDirective {
constructor(templateRef) {
this.templateRef = templateRef;
}
}
FixedGroupTemplateDirective.decorators = [
{ type: Directive, args: [{
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
},] },
];
/** @nocollapse */
FixedGroupTemplateDirective.ctorParameters = () => [
{ type: TemplateRef }
];
|
const Book = require('../models/Book');
const Order = require('../models/Order');
const errors = require('restify-errors');
const strings = require('../strings');
exports.decrementBooksByOrderId = async (req,res,next,id) => {
try{
let confirmed = false, error = false, erorrMessage = strings.NO_COUNT_OF_BOOKS, decremented = false;
const order = await Order.findOne({
_id: id
});
console.log('received order',order.orderedBooks)
let orderBooks = order.orderedBooks;
if(orderBooks.length){
for (let i = 0; i < orderBooks.length; i++) {
const book = await Book.findById(orderBooks[i].bookId);
const countInLibrary = book.count;
const countInOrder = orderBooks[i].count;
if(countInOrder>countInLibrary){
error= true;
erorrMessage+=` [Name]: ${book.name} [Author]: ${book.author} [Count in library] ${book.count} ,`;
}
}
if(!error){
confirmed = true;
for (let i = 0; i < orderBooks.length; i++) {
const book = await Book.findById(orderBooks[i].bookId);
const countInLibrary = book.count;
const countInOrder = orderBooks[i].count;
const updated = await Book.findOneAndUpdate({_id:book._id},{
count: countInLibrary - countInOrder
});
}
decremented = true;
}
}
return { confirmed, erorrMessage, decremented };
}catch(e){console.error(e);}
};
|
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
* @file Parses a string argument and returns an integer of the specified radix.
* @version 2.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module parse-int-x
*/
"use strict";var nativeParseInt=parseInt,NAN=_dereq_("nan-x"),toStr=_dereq_("to-string-x"),trimLeft2016=_dereq_("trim-left-x").trimLeft2016,trimLeft2018=_dereq_("trim-left-x").trimLeft2018,chachedCtrs=_dereq_("cached-constructors-x"),castNumber=chachedCtrs.Number,charAt=chachedCtrs.String.prototype.charAt,hexRegex=/^[-+]?0[xX]/,test=hexRegex.test,$parseInt2018=function parseInt2018(string,radix){var str=trimLeft2018(toStr(string));return"\u180e"===charAt.call(str,0)?NAN:nativeParseInt(str,castNumber(radix)||(test.call(hexRegex,str)?16:10))};module.exports={parseInt:$parseInt2018,parseInt2016:function parseInt2016(string,radix){var str=trimLeft2016(toStr(string));return nativeParseInt(str,castNumber(radix)||(test.call(hexRegex,str)?16:10))},parseInt2018:$parseInt2018}},{"cached-constructors-x":2,"nan-x":6,"to-string-x":9,"trim-left-x":10}],2:[function(_dereq_,module,exports){/**
* @file Constructors cached from literals.
* @version 1.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module cached-constructors-x
*/
"use strict";module.exports={Array:[].constructor,Boolean:(!0).constructor,Number:(0).constructor,Object:{}.constructor,RegExp:/(?:)/.constructor,String:"".constructor}},{}],3:[function(_dereq_,module,exports){/**
* @file Checks if `value` is `null` or `undefined`.
* @version 1.4.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module is-nil-x
*/
"use strict";var isUndefined=_dereq_("validate.io-undefined"),isNull=_dereq_("lodash.isnull");module.exports=function isNil(value){return isNull(value)||isUndefined(value)}},{"lodash.isnull":5,"validate.io-undefined":11}],4:[function(_dereq_,module,exports){"use strict";var toStr=Object.prototype.toString;if("function"==typeof Symbol&&"symbol"==typeof Symbol()){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function isSymbolObject(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))};module.exports=function isSymbol(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr.call(value))return!1;try{return isSymbolObject(value)}catch(e){return!1}}}else module.exports=function isSymbol(value){return!1}},{}],5:[function(_dereq_,module,exports){module.exports=function isNull(value){return null===value}},{}],6:[function(_dereq_,module,exports){/**
* @file The constant NaN derived mathematically by 0 / 0.
* @version 1.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module nan-x
*/
"use strict";module.exports=NaN},{}],7:[function(_dereq_,module,exports){/**
* @file Requires an argument is corecible then converts using ToString.
* @version 1.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module require-coercible-to-string-x
*/
"use strict";var requireObjectCoercible=_dereq_("require-object-coercible-x"),toStr=_dereq_("to-string-x");module.exports=function requireCoercibleToString(value){return toStr(requireObjectCoercible(value))}},{"require-object-coercible-x":8,"to-string-x":9}],8:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for RequireObjectCoercible.
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-requireobjectcoercible|7.2.1 RequireObjectCoercible ( argument )}
* @version 1.4.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module require-object-coercible-x
*/
"use strict";var isNil=_dereq_("is-nil-x");module.exports=function RequireObjectCoercible(value){if(isNil(value))throw new TypeError("Cannot call method on "+value);return value}},{"is-nil-x":3}],9:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for ToString.
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tostring|7.1.12 ToString ( argument )}
* @version 1.4.2
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module to-string-x
*/
"use strict";var castString="".constructor,isSymbol=_dereq_("is-symbol");module.exports=function ToString(value){if(isSymbol(value))throw new TypeError("Cannot convert a Symbol value to a string");return castString(value)}},{"is-symbol":4}],10:[function(_dereq_,module,exports){/**
* @file This method removes whitespace from the left end of a string.
* @version 3.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module trim-left-x
*/
"use strict";var requireCoercibleToString=_dereq_("require-coercible-to-string-x"),Rx=_dereq_("cached-constructors-x").RegExp,reLeft2016=new Rx("^["+_dereq_("white-space-x").string2016+"]+"),reLeft2018=new Rx("^["+_dereq_("white-space-x").string2018+"]+"),replace="".replace,$trimLeft2018=function trimLeft2018(string){return replace.call(requireCoercibleToString(string),reLeft2018,"")};module.exports={trimLeft:$trimLeft2018,trimLeft2016:function trimLeft2016(string){return replace.call(requireCoercibleToString(string),reLeft2016,"")},trimLeft2018:$trimLeft2018}},{"cached-constructors-x":2,"require-coercible-to-string-x":7,"white-space-x":12}],11:[function(_dereq_,module,exports){"use strict";module.exports=function isUndefined(value){return void 0===value}},{}],12:[function(_dereq_,module,exports){/**
* @file List of ECMAScript white space characters.
* @version 3.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module white-space-x
*/
"use strict";for(var list=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\x0B"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\xa0"},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u1680"},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:"\u180e"},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2000"},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2001"},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2002"},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2003"},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2004"},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2005"},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2006"},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2007"},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2008"},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2009"},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u200a"},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u202f"},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u205f"},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u3000"},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],stringES2016="",stringES2018="",length=list.length,i=0;i<length;i+=1)list[i].es2016&&(stringES2016+=list[i].string),list[i].es2018&&(stringES2018+=list[i].string);module.exports={list:list,string:stringES2018,string5:stringES2016,string2015:stringES2016,string2016:stringES2016,string2017:stringES2018,string2018:stringES2018}},{}]},{},[1])(1)});
|
define(["require", "exports"], function(require, exports) {
var t2;
});
|
import Vue from 'vue'
import App from '@/App'
import router from '@/router'
import store from '@/store'
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
|
"use strict";
/**
* @author Piotr Witek <piotrek.witek@gmail.com> (http://piotrwitek.github.io)
* @copyright Copyright (c) 2016 Piotr Witek
* @license MIT
*/
Object.defineProperty(exports, "__esModule", { value: true });
// deprecated
var functional_helpers_1 = require("./functional-helpers");
exports.getReturnOfExpression = functional_helpers_1.getReturnOfExpression;
//# sourceMappingURL=index.js.map
|
/*
* @Description: 全局Js
* @Date: 2020-09-12 17:42:34
*/
// 确保在文档完全加载后,运行Js函数
function addLoadEvent(func) {
let oldonload = window.onload;
if (typeof window.onload != "function")
window.onload = func;
else {
window.onload = () => {
oldonload();
func();
}
}
}
// 与insertBefore对应,在目标元素的前面添加元素
function insertAfter(newElement, targetElement) {
let parent = targetElement.parentNode;
if (parent.lastChild == targetElement)
parent.appendChild(newElement);
else {
parent.insertBefore(newElement, targetElement.nextSibling);
}
}
// 给元素额外添加一个Class名
function addClass(element, value) {
if (!element.className)
element.className = value;
else
element.className = element.className + " " + value;
}
// 高亮导航页选项块。高亮的选项块为了显示当前所处的网页/
// 如:当前在主页,则home块会高亮。
// 同时,利用这个函数,给特定页面的body添加id属性,然后使不通的网页,可以显示不同的背景图。
// 如:当前在主页,则body id="home",背景图是主页特定的。
function highlightPage() {
if (!document.getElementsByTagName) return false;
if (!document.getElementById) return false;
let headers = document.getElementsByTagName('header');
if (headers.hength === 0) return false;
let navs = headers[0].getElementsByTagName('nav');
if (navs.length === 0) return false;
let links = navs[0].getElementsByTagName('a');
let linkUrl;
let pageUrl = window.location.href;
for (let i = 0; i < links.length; i++) {
linkUrl = links[i].getAttribute('href');
if (pageUrl.indexOf(linkUrl) != -1) {
links[i].className = "here";
let linktext = links[i].lastChild.nodeValue.toLowerCase();
document.body.setAttribute("id", linktext);
}
}
}
// 为主页提供一个banner轮播图
function moveElement(elementID, final_x, final_y, interval) {
if (!document.getElementById) return false;
if (!document.getElementById(elementID)) return false;
let elem = ducument.getElementById(elementID);
if (elem.movement) {
clearTimeout(elem.movement);
}
if (!elem.style.left) {
elem.style.left = "0px";
}
if (!elem.style.top) {
elem.style.top = "0px";
}
let xpos = parseInt(elem.style.left);
let ypos = parseInt(elem.style.top);
if (xpos < final_x) {
let dist = Math.ceil((final_x - xpos) / 10);
xpos = xpos + dist;
}
if (xpos > final_y) {
let dist = Math.ceil((xpos - final_x) / 10);
xpos = xpos - dist;
}
if (ypos < final_y) {
let dist = Math.ceil((final_y - ypos) / 10);
ypos = ypos + dist;
}
if (ypos > final_y) {
let dist = Math.ceil((ypos - final_y) / 10);
ypos = ypos - dist;
}
elem.style.left = xpos + "px";
elem.style.top = ypos + "px";
let repeat = "moveElement('" + elementID + "'," + final_x + "," + final_y + "," + interval + ")";
elem.movement = setTimeout(repeat, interval);
}
// 幻灯片的展示,位置放在intro段落的后面。
function prepareSlideshow() {
if (!document.getElementsByTagName) return false;
if (!document.getElementById) return false;
if (!document.getElementById("intro")) return false;
let intro = document.getElementById("intro");
let slideshow = document.createElement("div");
slideshow.setAttribute("id", "slideshow");
let frame = document.createElement("img");
frame.setAttribute("src", "images/frame.gif");
frame.setAttribute("alt", "");
frame.setAttribute("id", "frame");
slideshow.appendChild(frame);
let preview = document.createElement("img");
preview.setAttribute("src", "images/slideshow.gif");
preview.setAttribute("alt", "a glimpse of what awaits you");
preview.setAttribute("id", "preview");
slideshow.appendChild(preview);
insertAfter(slideshow, intro);
let links = document.getElementsByTagName("a");
for (let i = 0; i < links.length; i++) {
links[i].onmouseover = function () {
let destination = this.getAttribute("href");
if (destination.indexOf("index.html") != -1) {
moveElement("preview", 0, 0, 5);
}
if (destination.indexOf("about.html") != -1) {
moveElement("preview", -150, 0, 5);
}
if (destination.indexOf("photos.html") != -1) {
moveElement("preview", -300, 0, 5);
}
if (destination.indexOf("live.html") != -1) {
moveElement("preview", -450, 0, 5);
}
if (destination.indexOf("contact.html") != -1) {
moveElement("preview", -600, 0, 5);
}
}
}
}
// 9月23日,添加About函数
function showSection(id) {
let sections = document.getElementsByTagName("section");
for (let i = 0; i < sections.length; i++) {
if (sections[i].getAttribute("id") != id) {
sections[i].style.display = "none";
} else {
sections[i].style.display = "block";
}
}
}
function prepareInternalnav() {
if (!document.getElementsByTagName) return false;
if (!document.getElementById) return false;
le t articles = document.getElementsByTagName("article");
if (articles.length == 0) return false;
let navs = articles[0].getElementsByTagName("nav");
if (navs.length == 0) return false;
let nav = navs[0];
let links = nav.getElementsByTagName("a");
for (let i = 0; i < links.length; i++) {
let sectionId = links[i].getAttribute("href").split("#")[1];
if (!document.getElementById(sectionId)) continue;
document.getElementById(sectionId).style.display = "none";
links[i].destination = sectionId;
links[i].onclick = function () {
showSection(this.destination);
return false;
}
}
}
// 执行区域
addLoadEvent(highlightPage);
addLoadEvent(prepareSlideshow);
|
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
var todoList = function todoList() {
var addBtn = document.getElementById('addBtn');
var inputTodo = document.getElementById('inputTodo');
var clearBtn = document.getElementById('clearBtn');
var ulTodo = document.getElementById('todoList');
var listBox = document.getElementById('app');
addBtn.addEventListener('click', function (e) {
return clickAddBtn(e);
});
clearBtn.addEventListener('click', function () {
return clearTodoList();
});
ulTodo.addEventListener('click', function (e) {
return clickTodoBtn(e);
}); // 로컬스토리지 불러오기 & 저장하기
var getLocalStorage = function getLocalStorage() {
return JSON.parse(localStorage.getItem('todo')) || [];
};
var setLocalStorage = function setLocalStorage(list) {
return localStorage.setItem('todo', JSON.stringify(list));
}; // 클릭 이벤트 : 리스트 추가 실행
var clickAddBtn = function clickAddBtn(e) {
e.preventDefault();
if (inputTodo.value !== '') addTodo();
}; // 리스트 추가
var addTodo = function addTodo() {
var newTodo = {
text: inputTodo.value,
checked: false
};
var newArr = [].concat(_toConsumableArray(getLocalStorage()), [newTodo]);
inputTodo.value = '';
showTodoList(newArr);
}; // 리스트 렌더링 & 로컬스토리지 저장 실행
var showTodoList = function showTodoList(list) {
setLocalStorage(list);
renderTodoList(list);
sectionInactive(list);
}; // 리스트 렌더링
var renderTodoList = function renderTodoList(list) {
ulTodo.innerHTML = list.map(function (todo, i) {
return "<li class=\"todo ".concat(todo.checked === true ? 'checked' : '', "\" data-num=\"").concat(i, "\">\n <button id=\"checkBtn\"><i class=\"fa-solid fa-check\"></i></button>\n <span>").concat(todo.text, "</span>\n <button id=\"deleteBtn\"><i class=\"fa-solid fa-xmark\"></i></button\n </li>");
}).join('');
}; // 리스트가 없는 경우 secton에 display : none 처리
var sectionInactive = function sectionInactive(list) {
return list.length === 0 ? listBox.classList.add('inactive') : listBox.classList.remove('inactive');
}; // 초기 화면 로딩
var init = function init() {
return showTodoList(getLocalStorage());
};
init(); // 클릭 이벤트 : 해당 투두 체크 또는 삭제
var clickTodoBtn = function clickTodoBtn(e) {
if (e.target.id === 'checkBtn') checkTodo(e);
if (e.target.id === 'deleteBtn') deleteTodo(e);
}; // 해당 투두 삭제
var deleteTodo = function deleteTodo(e) {
var deleteNum = e.target.closest('li').dataset.num;
var newArr = getLocalStorage().filter(function (todo, i) {
return i !== Number(deleteNum);
});
showTodoList(newArr);
}; // 해당 투두 체크 표시
var checkTodo = function checkTodo(e) {
var checkNum = e.target.closest('li').dataset.num;
var savedArr = getLocalStorage();
var newArr = _toConsumableArray(savedArr);
newArr[checkNum].checked = !savedArr[checkNum].checked;
showTodoList(newArr);
}; // 클릭이벤트 : 투두리스트 전체 삭제 실행
var clearTodoList = function clearTodoList() {
return showTodoList([]);
};
};
window.addEventListener('DOMContentLoaded', function () {
return todoList();
});
/******/ })()
;
|
import * as React from "react";
import {
Text,
Button,
Icon,
Left,
Body,
Right,
Card,
CardItem
} from "native-base";
import {WorkItemTypes} from "../../../models";
const capitalize = require("underscore.string/capitalize");
import styles from "./WorkItemCountCard.styles";
import workItemStyles from "../../../theme/workItemStyles";
export interface Props {
navigation: any;
count: number;
workItemType: WorkItemTypes;
icon: string;
}
export interface State {}
class WorkItemCountCard extends React.Component<Props, State> {
render() {
return (
<Card>
<CardItem>
<Left style={styles.wideLeft}>
<Icon name={this.props.icon} style={[workItemStyles[this.props.workItemType], styles.countCardIcon]} />
<Body>
<Text>{capitalize(this.props.workItemType)}</Text>
<Text note>{`You have ${this.props.count} ${this.props.workItemType}s`}</Text>
</Body>
</Left>
<Right>
<Button iconRight transparent primary>
<Icon name="arrow-forward" style={{fontSize: 40}}
onPress={() =>
this.props.navigation.navigate("WorkItemList", {
workItemType: this.props.workItemType,
totalRecords: this.props.count
})} />
</Button>
</Right>
</CardItem>
</Card>
);
}
}
export default WorkItemCountCard;
|
if(!this.JSON){this.JSON={};}
(function(){function f(n){return n<10?'0'+n:n;}
if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+'-'+
f(this.getUTCMonth()+1)+'-'+
f(this.getUTCDate())+'T'+
f(this.getUTCHours())+':'+
f(this.getUTCMinutes())+':'+
f(this.getUTCSeconds())+'Z':null;};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}
var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==='string'?c:'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+string+'"';}
function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(key);}
if(typeof rep==='function'){value=rep.call(holder,key,value);}
switch(typeof value){case'string':return quote(value);case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';}
gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==='[object Array]'){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||'null';}
v=partial.length===0?'[]':gap?'[\n'+gap+
partial.join(',\n'+gap)+'\n'+
mind+']':'['+partial.join(',')+']';gap=mind;return v;}
if(rep&&typeof rep==='object'){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==='string'){v=str(k,value);if(v){partial.push(quote(k)+(gap?': ':':')+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?': ':':')+v);}}}}
v=partial.length===0?'{}':gap?'{\n'+gap+partial.join(',\n'+gap)+'\n'+
mind+'}':'{'+partial.join(',')+'}';gap=mind;return v;}}
if(typeof JSON.stringify!=='function'){JSON.stringify=function(value,replacer,space){var i;gap='';indent='';if(typeof space==='number'){for(i=0;i<space;i+=1){indent+=' ';}}else if(typeof space==='string'){indent=space;}
rep=replacer;if(replacer&&typeof replacer!=='function'&&(typeof replacer!=='object'||typeof replacer.length!=='number')){throw new Error('JSON.stringify');}
return str('',{'':value});};}
if(typeof JSON.parse!=='function'){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==='object'){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}
return reviver.call(holder,key,value);}
cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return'\\u'+
('0000'+a.charCodeAt(0).toString(16)).slice(-4);});}
if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,''))){j=eval('('+text+')');return typeof reviver==='function'?walk({'':j},''):j;}
throw new SyntaxError('JSON.parse');};}}());
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict';
var GaiaApps = {
normalizeName: function(name) {
return name.replace(/[- ]+/g, '').toLowerCase();
},
getInstalledApps: function() {
let req = navigator.mozApps.mgmt.getAll();
req.onsuccess = function() {
marionetteScriptFinished(req.result);
}
},
getRunningApps: function() {
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
// Return a simplified version of the runningApps object which can be
// JSON-serialized.
let apps = {};
for (let app in runningApps) {
let anApp = {};
for (let key in runningApps[app]) {
if (['name', 'origin', 'manifest'].indexOf(key) > -1) {
anApp[key] = runningApps[app][key];
}
}
apps[app] = anApp;
}
return apps;
},
getRunningAppOrigin: function(name) {
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
let origin;
for (let property in runningApps) {
if (runningApps[property].name == name) {
origin = property;
}
}
return origin;
},
getPermission: function(appName, permissionName) {
GaiaApps.locateWithName(appName, function(app) {
console.log("Getting permission '" + permissionName + "' for " + appName);
var mozPerms = navigator.mozPermissionSettings;
var result = mozPerms.get(
permissionName, app.manifestURL, app.origin, false
);
marionetteScriptFinished(result);
});
},
setPermission: function(appName, permissionName, value) {
GaiaApps.locateWithName(appName, function(app) {
console.log("Setting permission '" + permissionName + "' for " +
appName + "to '" + value + "'");
var mozPerms = navigator.mozPermissionSettings;
mozPerms.set(
permissionName, value, app.manifestURL, app.origin, false
);
marionetteScriptFinished();
});
},
sendLocateResponse: function(aCallback, app, appName, entryPoint) {
var callback = aCallback || marionetteScriptFinished;
if (callback === marionetteScriptFinished) {
var result = false;
if (typeof(app) === 'object') {
result = {
name: app.manifest.name,
origin: app.origin,
entryPoint: entryPoint || null,
normalizedName: appName
};
}
callback(result);
} else {
callback(app, appName, entryPoint);
}
},
locateWithName: function(name, aCallback) {
var callback = aCallback || marionetteScriptFinished;
let apps = window.wrappedJSObject.Applications.installedApps;
let normalizedSearchName = GaiaApps.normalizeName(name);
for (let manifestURL in apps) {
let app = apps[manifestURL];
let origin = null;
let entryPoints = app.manifest.entry_points;
if (entryPoints) {
for (let ep in entryPoints) {
let currentEntryPoint = entryPoints[ep];
let appName = currentEntryPoint.name;
if (normalizedSearchName === GaiaApps.normalizeName(appName)) {
return GaiaApps.sendLocateResponse(callback, app, appName, ep);
}
}
} else {
let appName = app.manifest.name;
if (normalizedSearchName === GaiaApps.normalizeName(appName)) {
return GaiaApps.sendLocateResponse(callback, app, appName);
}
}
}
callback(false);
},
locateWithManifestURL: function(manifestURL, entryPoint, aCallback) {
var callback = aCallback || marionetteScriptFinished;
var app = window.wrappedJSObject.Applications.getByManifestURL(manifestURL);
var appName;
if (entryPoint) {
if (app.manifest.entry_points[entryPoint]) {
appName = app.manifest.entry_points[entryPoint].name;
} else {
app = null;
}
} else {
appName = app.manifest.name;
}
GaiaApps.sendLocateResponse(callback, app, appName, entryPoint);
},
// Returns the number of running apps.
numRunningApps: function() {
let count = 0;
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
for (let origin in runningApps) {
count++;
}
return count;
},
// Kills the specified app.
kill: function(aOrigin, aCallback) {
var callback = aCallback || marionetteScriptFinished;
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
if (!runningApps.hasOwnProperty(aOrigin)) {
callback(false);
}
else {
window.addEventListener('appterminated', function gt_onAppTerminated() {
window.removeEventListener('appterminated', gt_onAppTerminated);
waitFor(
function() {
console.log("app with origin '" + aOrigin + "' has terminated");
callback(true);
},
function() {
let runningApps = manager.getRunningApps();
return !runningApps.hasOwnProperty(aOrigin);
}
);
});
console.log("terminating app with origin '" + aOrigin + "'");
manager.kill(aOrigin);
}
},
// Kills all running apps, except the homescreen.
killAll: function() {
let originsToClose = [];
let that = this;
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
for (let origin in runningApps) {
if (origin.indexOf('homescreen') == -1) {
originsToClose.push(origin);
}
}
if (!originsToClose.length) {
marionetteScriptFinished(true);
return;
}
originsToClose.slice(0).forEach(function(origin) {
GaiaApps.kill(origin, function() {});
});
// Even after the 'appterminated' event has been fired for an app,
// it can still exist in the apps list, so wait until 1 or fewer
// apps are running (since we don't close the homescreen app).
waitFor(
function() { marionetteScriptFinished(true); },
function() { return that.numRunningApps() <= 1; }
);
},
launch: function(app, appName, entryPoint) {
if (app) {
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
let origin = GaiaApps.getRunningAppOrigin(appName);
let sendResponse = function() {
let app = runningApps[origin];
let result = {
frame: (app.browser) ? app.browser.element : app.frame.firstChild,
src: (app.browser) ? app.browser.element.src : app.iframe.src,
name: app.name,
origin: origin};
marionetteScriptFinished(result);
};
if (manager.getDisplayedApp() == origin) {
console.log("app with origin '" + origin + "' is already running");
sendResponse();
} else {
window.addEventListener('appopen', function appOpen() {
window.removeEventListener('appopen', appOpen);
waitFor(
function() {
console.log("app with origin '" + origin + "' has launched");
sendResponse();
},
function() {
origin = GaiaApps.getRunningAppOrigin(appName);
return manager.getDisplayedApp() == origin;
}
);
});
console.log("launching app with name '" + appName + "'");
app.launch(entryPoint || null);
}
} else {
marionetteScriptFinished(false);
}
},
// Launches app with the specified name (e.g., 'Calculator'); returns the
// an object with the app frame if successful, false if the app can't be
// found, or times out if the app frame can't be found after launching the
// app.
launchWithName: function(name) {
GaiaApps.locateWithName(name, this.launch);
},
// Launches app with the specified manifestURL. returns the
// an object with the app frame if successful, false if the app can't be
// found, or times out if the app frame can't be found after launching the
// app.
//
// This is prefered over launchWithName because localized builds have
// different names
launchWithManifestURL: function(manifestURL, entryPoint) {
GaiaApps.locateWithManifestURL(manifestURL, entryPoint, this.launch);
},
close: function(app, appName, entryPoint) {
if (app) {
let origin = GaiaApps.getRunningAppOrigin(appName);
GaiaApps.kill(origin);
} else {
marionetteScriptFinished(false);
}
},
// Closes app with the specified name (e.g., 'Calculator'); returns nothing
closeWithName: function(name) {
GaiaApps.locateWithName(name, this.close);
},
closeWithManifestURL: function(manifestURL, entryPoint) {
GaiaApps.locateWithManifestURL(manifestURL, entryPoint, this.close);
},
/**
* Returns the currently displayed app.
*/
displayedApp: function() {
let manager = window.wrappedJSObject.AppWindowManager || window.wrappedJSObject.WindowManager;
let runningApps = manager.getRunningApps();
let origin = manager.getDisplayedApp();
console.log("app with origin '" + origin + "' is displayed");
let app = runningApps[origin];
let result = {
frame: (app.browser) ? app.browser.element : app.frame.firstChild,
src: (app.browser) ? app.browser.element.src : app.iframe.src,
name: app.name,
origin: origin};
marionetteScriptFinished(result);
},
/**
* Uninstalls the app with the specified name.
*/
uninstallWithName: function(name) {
GaiaApps.locateWithName(name, function uninstall(app) {
navigator.mozApps.mgmt.uninstall(app);
marionetteScriptFinished(false);
});
}
};
|
import React from "react";
import s from "./Loader.module.scss";
const Loader = () => {
return (
<div className={s.modalLoader}>
<div className={s.loader}></div>
</div>
);
};
export default Loader;
|
function showFiles(input, filenames, filesizes) {
var input = document.getElementById(input)
var filenames = document.getElementById(filenames)
var filesizes = document.getElementById(filesizes)
filenames.innerHTML = ''
filesizes.innerHTML = ''
for (var x = 0; x < input.files.length; x++) {
var filename_div = document.createElement('div')
filename_div.classList.add('text-truncate')
filename_div.innerHTML = input.files[x].name
filenames.append(filename_div)
var filesize_div = document.createElement('li')
filesize_div.classList.add('text-truncate')
filesize_div.innerHTML = formatBytes(input.files[x].size)
filesizes.append(filesize_div)
}
}
function formatBytes(bytes) {
if (bytes <= 1024) {
return (bytes / 1024).toFixed(2) + ' KB'
}
else {
var i = Math.floor(Math.log(bytes) / Math.log(1024)),
sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
return (bytes / Math.pow(1024, i)).toFixed(2) + ' ' + sizes[i]
}
}
|
const Discord = require('discord.js');
const backup = require('discord-backup');
exports.run = async (client, message, args) => {
// If the member doesn't have enough permissions
if(!message.member.hasPermission('MANAGE_MESSAGES')){
return message.channel.send(':x: You need to have the manage messages permissions to create a backup in this server.');
}
const backupID = args.join(' ');
if (!backupID)
return message.channel.send(':x: Please specify a valid backup ID!');
backup.fetch(backupID).then((backup) => {
const date = new Date(backup.data.createdTimestamp);
const yyyy = date.getFullYear().toString(), mm = (date.getMonth()+1).toString(), dd = date.getDate().toString();
const formattedDate = `${yyyy}/${(mm[1]?mm:"0"+mm[0])}/${(dd[1]?dd:"0"+dd[0])}`;
const embed = new Discord.MessageEmbed()
.setAuthor('ℹ️ Backup', backup.data.iconURL)
.addField('Server name', backup.data.name)
.addField('Size', backup.size + ' kb')
.addField('Created at', formattedDate)
.setFooter('Backup ID: '+backup.id);
return message.channel.send(embed);
}).catch((err) => {
if (err === 'No backup found')
return message.channel.send(':x: No backup found for ID '+backupID+'!');
else
return message.channel.send(':x: An error occurred: '+(typeof err === 'string') ? err : JSON.stringify(err));
});
};
|
"use strict";
/*
This file is part of web3x.
web3x is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
web3x is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3x. If not, see <http://www.gnu.org/licenses/>.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = require("util");
const utils_1 = require("../utils");
/**
* Formats the input of a whisper post and converts all values to HEX
*
* @method inputPostFormatter
* @param {Object} transaction object
* @returns {Object}
*/
function inputPostFormatter(post) {
// post.payload = utils.toHex(post.payload);
if (post.ttl) {
post.ttl = utils_1.numberToHex(post.ttl);
}
if (post.workToProve) {
post.workToProve = utils_1.numberToHex(post.workToProve);
}
if (post.priority) {
post.priority = utils_1.numberToHex(post.priority);
}
// fallback
if (!util_1.isArray(post.topics)) {
post.topics = post.topics ? [post.topics] : [];
}
// format the following options
post.topics = post.topics.map(topic => {
// convert only if not hex
return topic.indexOf('0x') === 0 ? topic : utils_1.utf8ToHex(topic);
});
return post;
}
exports.inputPostFormatter = inputPostFormatter;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcG9zdC1mb3JtYXR0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZm9ybWF0dGVycy9pbnB1dC1wb3N0LWZvcm1hdHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7Ozs7Ozs7Ozs7OztFQWVFOztBQUVGLCtCQUErQjtBQUMvQixvQ0FBa0Q7QUFFbEQ7Ozs7OztHQU1HO0FBQ0gsU0FBZ0Isa0JBQWtCLENBQUMsSUFBSTtJQUNyQyw0Q0FBNEM7SUFFNUMsSUFBSSxJQUFJLENBQUMsR0FBRyxFQUFFO1FBQ1osSUFBSSxDQUFDLEdBQUcsR0FBRyxtQkFBVyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztLQUNsQztJQUNELElBQUksSUFBSSxDQUFDLFdBQVcsRUFBRTtRQUNwQixJQUFJLENBQUMsV0FBVyxHQUFHLG1CQUFXLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxDQUFDO0tBQ2xEO0lBQ0QsSUFBSSxJQUFJLENBQUMsUUFBUSxFQUFFO1FBQ2pCLElBQUksQ0FBQyxRQUFRLEdBQUcsbUJBQVcsQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLENBQUM7S0FDNUM7SUFFRCxXQUFXO0lBQ1gsSUFBSSxDQUFDLGNBQU8sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEVBQUU7UUFDekIsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDO0tBQ2hEO0lBRUQsK0JBQStCO0lBQy9CLElBQUksQ0FBQyxNQUFNLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLEVBQUU7UUFDcEMsMEJBQTBCO1FBQzFCLE9BQU8sS0FBSyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsaUJBQVMsQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUM5RCxDQUFDLENBQUMsQ0FBQztJQUVILE9BQU8sSUFBSSxDQUFDO0FBQ2QsQ0FBQztBQXpCRCxnREF5QkMifQ==
|
// Copyright 2014 The Oppia Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS-IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
describe('EndExplorationValidationService', function() {
var WARNING_TYPES, validatorService;
var currentState;
var badOutcome, goodAnswerGroups;
var validator, customizationArguments;
beforeEach(function() {
module('oppia');
});
beforeEach(inject(function($rootScope, $controller, $injector) {
validatorService = $injector.get('EndExplorationValidationService');
WARNING_TYPES = $injector.get('WARNING_TYPES');
currentState = 'First State';
badOutcome = {
dest: currentState,
feedback: {
html: '',
audio_translations: {}
},
labelled_as_correct: false,
param_changes: [],
refresher_exploration_id: null
};
customizationArguments = {
recommendedExplorationIds: {
value: ['ExpID0', 'ExpID1', 'ExpID2']
}
};
goodAnswerGroups = [{
rules: [],
outcome: {
dest: 'Second State',
feedback: {
html: '',
audio_translations: {}
},
labelled_as_correct: false,
param_changes: [],
refresher_exploration_id: null
}
}];
}));
it('should not have warnings for no answer groups or no default outcome',
function() {
var warnings = validatorService.getAllWarnings(
currentState, customizationArguments, [], null);
expect(warnings).toEqual([]);
});
it('should have warnings for any answer groups or default outcome',
function() {
var warnings = validatorService.getAllWarnings(
currentState, customizationArguments, goodAnswerGroups, badOutcome);
expect(warnings).toEqual([{
type: WARNING_TYPES.ERROR,
message: (
'Please make sure end exploration interactions do not ' +
'have any answer groups.')
}, {
type: WARNING_TYPES.ERROR,
message: (
'Please make sure end exploration interactions do not ' +
'have a default outcome.')
}]);
});
it('should throw for missing recommendations argument', function() {
expect(function() {
validatorService.getAllWarnings(currentState, {}, [], null);
}).toThrow(
'Expected customization arguments to have property: ' +
'recommendedExplorationIds');
});
it('should not have warnings for 0 or 8 recommendations', function() {
customizationArguments.recommendedExplorationIds.value = [];
var warnings = validatorService.getAllWarnings(
currentState, customizationArguments, [], null);
expect(warnings).toEqual([]);
customizationArguments.recommendedExplorationIds.value = [
'ExpID0', 'ExpID1', 'ExpID2', 'ExpID3',
'ExpID4', 'ExpID5', 'ExpID6', 'ExpID7'
];
warnings = validatorService.getAllWarnings(
currentState, customizationArguments, [], null);
expect(warnings).toEqual([]);
});
});
|
ApplicationKernel.namespace('Vaultier.dal.mixin');
var decryptedField = Vaultier.dal.mixin.EncryptedModel.decryptedField;
/**
* @module vaultier-dal-mixin
* @class Vaultier.dal.mixin.NodeNoteMixin
*/
Vaultier.dal.mixin.NodeNoteMixin = Ember.Mixin.create({
note: decryptedField('data', 'note')
});
|
import axios from 'axios';
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import rootReducer from './../reducers/main.js';
var store = {};
function initializeStore(id, callback) {
return axios
.get(`/catwalk/${id}`)
.then((response) => {
var data = response.data;
var defaultState = {
primaryProduct: data.primaryProduct,
currentStyles: data.primaryProductStyles.results,
currentStyle: data.primaryProductStyles.results[0],
currentImages: data.primaryProductStyles.results[0].photos,
currentImage: data.primaryProductStyles.results[0].photos[0],
productQuestions: data.primaryProductQuestions.results,
sortingMethod: 'relevance',
reviews: data.primaryProductReviews.results,
primaryProductMetadata: data.primaryProductReviewsNumbers,
};
store = createStore(rootReducer, defaultState, applyMiddleware(thunk));
})
.then(() => {
callback();
})
.catch((err) => {
console.log('error creating the store', err);
});
}
export { store, initializeStore };
|
import React from 'react';
import { Card } from 'react-bootstrap';
import './style.css'
function HugLifeCard({ huglifeEp, loading }) {
if (loading) return <h3>Loading...</h3>;
return (
<div>
{huglifeEp.map((result, index) => (
<Card className="mt-2 p-2 episodeCard">
<div>
<h5 className="card-title">{result.title}</h5>
<p>Published on {result.isoDate}</p>
<div>
<audio controls="controls">
<source src={result.enclosure.url} />
</audio>
</div>
<p className="card-text">{result.contentSnippet}</p>
</div>
</Card>
))
}
</div>
)
}
export default HugLifeCard;
|
// Modified from angular-quickstart-lib
// https://github.com/filipesilva/angular-quickstart-lib/blob/master/build.js
'use strict';
const fs = require('fs');
const path = require('path');
const glob = require('glob');
const camelCase = require('camelcase');
const ngc = require('@angular/compiler-cli/src/main').main;
const rollup = require('rollup');
const uglify = require('rollup-plugin-uglify');
const sourcemaps = require('rollup-plugin-sourcemaps');
// const nodeResolve = require('rollup-plugin-node-resolve');
const nodeResolve = require('rollup-plugin-node-resolve-angular');
const commonjs = require('rollup-plugin-commonjs');
const inlineResources = require('./inline-resources');
const libName = require('./package.json').name;
const rootFolder = path.join(__dirname);
const compilationFolder = path.join(rootFolder, 'out-ngc');
const srcFolder = path.join(rootFolder, 'src/lib');
const distFolder = path.join(rootFolder, 'dist');
const tempLibFolder = path.join(compilationFolder, 'lib');
const es5OutputFolder = path.join(compilationFolder, 'lib-es5');
const es2015OutputFolder = path.join(compilationFolder, 'lib-es2015');
return Promise.resolve()
// Copy library to temporary folder and inline html/css.
.then(() => _relativeCopy(`**/*`, srcFolder, tempLibFolder)
.then(() => inlineResources(tempLibFolder))
.then(() => console.log('Inlining succeeded.'))
)
// Compile to ES2015.
.then(() => ngc(['--project', `${tempLibFolder}/tsconfig.json`]))
.then(exitCode => exitCode === 0 ? Promise.resolve() : Promise.reject())
.then(() => console.log('ES2015 compilation succeeded.'))
// Compile to ES5.
.then(() => ngc(['--project', `${tempLibFolder}/tsconfig.es5.json`]))
.then(exitCode => exitCode === 0 ? Promise.resolve() : Promise.reject())
.then(() => console.log('ES5 compilation succeeded.'))
// Copy typings and metadata to `dist/` folder.
.then(() => Promise.resolve()
.then(() => _relativeCopy('**/*.d.ts', es2015OutputFolder, distFolder))
.then(() => _relativeCopy('**/*.metadata.json', es2015OutputFolder, distFolder))
.then(() => console.log('Typings and metadata copy succeeded.'))
)
// Bundle lib.
.then(() => {
// Base configuration
const es5Entry = path.join(es5OutputFolder, `${libName}.js`);
const es2015Entry = path.join(es2015OutputFolder, `${libName}.js`);
const rollupBaseConfig = {
external: [
// List of dependencies
// https://github.com/rollup/rollup/wiki/JavaScript-API#external
'@angular/common',
'@angular/core',
'@angular/forms',
'@angular/platform-browser',
'ajv',
'hammerjs',
'lodash',
'rxjs'
],
plugins: [
sourcemaps(),
nodeResolve(),
commonjs({ namedExports: {
// list of lodash functions used by your library
'node_modules/lodash/index.js': [
'cloneDeep', 'cloneDeepWith', 'filter', 'isEqual', 'map', 'uniqueId'
]
} })
],
onwarn: function (warning) {
if (warning.code === 'THIS_IS_UNDEFINED') return;
console.warn( warning.message );
},
output: {
name: camelCase(libName),
// ATTENTION:
// Add all dependencies and peer dependencies of your library to
// `globals` and `external`. This is required for UMD bundle users.
globals: {
// key = The library name
// value = The global variable name on the window object
// https://github.com/rollup/rollup/wiki/JavaScript-API#globals
'@angular/common': 'ng.common',
'@angular/core': 'ng.core',
'@angular/forms': 'ng.forms',
'@angular/platform-browser': 'ng.platformBrowser',
'ajv': 'Ajv',
'lodash': '_'
}
}
};
// UMD bundle
const umdConfig = Object.assign({}, rollupBaseConfig, {
input: es5Entry,
output: Object.assign({}, rollupBaseConfig.output, {
file: path.join(distFolder, `bundles`, `${libName}.umd.js`),
format: 'umd'
})
});
// Minified UMD bundle
const minifiedUmdConfig = Object.assign({}, rollupBaseConfig, {
input: es5Entry,
output: Object.assign({}, rollupBaseConfig.output, {
file: path.join(distFolder, `bundles`, `${libName}.umd.min.js`),
format: 'umd'
}),
plugins: rollupBaseConfig.plugins.concat([uglify({})])
});
// ESM+ES5 flat module bundle
const fesm5config = Object.assign({}, rollupBaseConfig, {
input: es5Entry,
output: Object.assign({}, rollupBaseConfig.output, {
file: path.join(distFolder, `${libName}.es5.js`),
format: 'es',
intro: `import * as Ajv from 'ajv';\nimport * as _ from 'lodash';`
})
});
// ESM+ES2015 flat module bundle
const fesm2015config = Object.assign({}, rollupBaseConfig, {
input: es2015Entry,
output: Object.assign({}, rollupBaseConfig.output, {
file: path.join(distFolder, `${libName}.js`),
format: 'es',
intro: `import * as Ajv from 'ajv';`
})
});
const allBundles = [umdConfig, minifiedUmdConfig, fesm5config, fesm2015config]
.map(cfg => rollup.rollup(cfg).then(bundle => bundle.write(cfg.output)));
return Promise.all(allBundles)
.then(() => console.log('All bundles generated successfully.'))
})
// Copy package files
.then(() => Promise.resolve()
.then(() => _relativeCopy('LICENSE', rootFolder, distFolder))
.then(() => console.log('LICENSE file copied.'))
.then(() => _relativeCopy('README.md', rootFolder, distFolder))
.then(() => console.log('README.md file copied.'))
.then(() => _copyPackageJson(rootFolder, distFolder))
.then(() => console.log('package.json file copied and updated.'))
)
.catch(e => {
console.error('Build failed. See below for errors.\n');
console.error(e);
process.exit(1);
});
// Copy files, maintaining relative paths.
function _relativeCopy(fileGlob, from, to) {
return new Promise((resolve, reject) => {
glob(fileGlob, { cwd: from, nodir: true }, (err, files) => {
if (err) reject(err);
files.forEach(file => {
const origin = path.join(from, file);
const destination = path.join(to, file);
const data = fs.readFileSync(origin, 'utf-8');
_recursiveMkDir(path.dirname(destination));
fs.writeFileSync(destination, data);
resolve();
})
})
});
}
// Recursively create a dir.
function _recursiveMkDir(dir) {
if (!fs.existsSync(dir)) {
_recursiveMkDir(path.dirname(dir));
fs.mkdirSync(dir);
}
}
// Copy and update package.json file.
function _copyPackageJson(from, to) {
return new Promise((resolve, reject) => {
const origin = path.join(from, 'package.json');
const destination = path.join(to, 'package.json');
let data = JSON.parse(fs.readFileSync(origin, 'utf-8'));
delete data.engines;
delete data.scripts;
delete data.devDependencies;
fs.writeFileSync(destination, JSON.stringify(data, null, 2));
resolve();
});
}
|
/**
* GA Event tracking
*/
/**
* Helpers
*/
/**
* isLink helper
* @param {DOMNode} node
* @return {Boolean}
*/
const isLink = (node) => node.nodeName === "A";
/**
* isInternalLink helper
*
* Does this anchor link to a URL inside the current page's domain?
*
* @param {DOMNode} node
* @return {Boolean}
*/
const isInternalLink = (node) => node.hostname === document.location.hostname;
/**
* isExternalLink helper
*
* Does this anchor link to a URL outside the current page's domain?
*
* @param {DOMNode} node
* @return {Boolean}
*/
const isExternalLink = (node) => !isInternalLink(node);
/**
* isInPageLink helper
*
* Does this anchor link to an anchor inside the current page?
*
* @param {DOMNode} node
* @return {Boolean}
*/
const isInPageLink = (node) =>
isLink(node) &&
isInternalLink(node) &&
node.pathname === document.location.pathname &&
node.hash.length;
/**
* isDownloadLink helper
*
* Does this anchor link to download?
*
* @param {DOMNode} node
* @return {Boolean}
*/
const isDownloadLink = (node) => node.hasAttribute("download");
/**
* Track an event
* @param {Object} opts Params for ga.track
*/
const track = ({ category, action = "click", label = null, value = null }) => {
if (window.ga) {
window.ga("send", "event", category, action, label, value);
} else {
console.log("[ga-debug] send", "event", category, action, label, value);
}
};
/**
* Track external link clicks
*/
const handleExternalClick = (e) => {
const node = e.target;
if (isLink(node) && isExternalLink(node)) {
track({
category: "External link",
label: node.href,
});
}
};
/**
* Track download link clicks
*/
const handleDownloadClick = (e) => {
const node = e.target;
if (isLink(node) && isDownloadLink(node)) {
track({
category: "Download",
label: node.href,
});
}
};
/**
* Track TOC link clicks
*/
const handleTocClick = (e) => {
const node = e.target;
if (isInPageLink(node)) {
track({
category: "TOC link",
label: `${document.location.pathname}${node.hash}`,
});
}
};
/**
* Bind to DOM
*/
export default function() {
document.addEventListener("click", (e) => handleExternalClick(e));
document.addEventListener("click", (e) => handleDownloadClick(e));
const toc = document.querySelector("#toc");
if (toc) {
toc.addEventListener("click", (e) => handleTocClick(e));
}
}
|
import React from "react"
import ArrowRight from "../../assets/images/arrow-right.inline.svg"
import { classNames } from "../../util/functions"
import "./button.scss"
import { PulseLoader } from "react-spinners"
import Link from "gatsby-link"
const getElevationClass = ({ hasWhiteBackground, isDisabled }) => {
if (isDisabled) {
return "border-blue-800 "
}
if (hasWhiteBackground) {
return "border-white"
}
return "border-blue-400 group-hover:border-white"
}
const Button = ({
children,
className,
elevated,
hasWhiteBackground,
onClick,
largeButton = true,
loading,
disabled,
isLink,
to,
type
}) => {
const colorsClasses = {
button: hasWhiteBackground ? "text-blue-400 bg-white white-button" : "text-blue-100 bg-blue-400",
arrow: hasWhiteBackground ? "text-blue-400" : "text-white",
elevation: getElevationClass({ hasWhiteBackground, isDisabled: disabled })
}
const renderContent = () => {
if (loading) {
return (
<PulseLoader size={10} color="#02BBDC" />
)
}
return (
<span className="text-wrapper">
<span className={
classNames(
largeButton ? "text-description" : "text-base md-max:text-sm leading-5 h-5",
"text"
)
}>
{children}
<ArrowRight className={classNames("md-max:w-4 md-max:h-4 icon", colorsClasses.arrow)} />
</span>
</span>
)
}
const derivedClassName = classNames(
"px-4 cursor-pointer font-plex-hebrew flex items-center justify-center md-max:text-sm max-w-100% action-button no-underline relative",
"disabled:bg-blue-800 disabled:cursor-not-allowed",
elevated && "focus:transform focus:translate-x-1 focus:translate-y-1 z-10 relative duration-150",
loading && "transform translate-x-1 translate-y-1 z-10 relative duration-150",
largeButton ? "py-4.75" : "py-3.5 md-max:py-3",
colorsClasses.button,
className
)
if (isLink) {
return (
<div className="relative group">
<Link
to={to}
className={derivedClassName}
>
{renderContent()}
</Link>
{
elevated && (
<span
className={classNames("absolute w-100% h-100% duration-300 left-0 top-0 transform translate-x-1 translate-y-1 border", colorsClasses.elevation)} />
)
}
</div>
)
}
return (
<div className="relative group">
<button
className={
classNames(
"px-4 cursor-pointer font-plex-hebrew flex items-center justify-center md-max:text-sm max-w-100% action-button",
"disabled:bg-blue-800 disabled:cursor-not-allowed",
elevated && "focus:transform focus:translate-x-1 focus:translate-y-1 z-10 relative duration-150",
loading && "transform translate-x-1 translate-y-1 z-10 relative duration-150",
largeButton ? "py-4.75" : "py-3.5 md-max:py-3",
colorsClasses.button,
className
)
}
disabled={loading || disabled}
onClick={onClick}
type="button"
>
{renderContent()}
</button>
{
elevated && (
<span
className={classNames("absolute w-100% h-100% duration-300 left-0 top-0 transform translate-x-1 translate-y-1 border", colorsClasses.elevation)} />
)
}
</div>
)
}
export default Button
|
const fs = require('fs')
const useRoutes = function() {
fs.readdirSync(__dirname).forEach(file => {
if(file === 'index.js') return
const router = require(`./${file}`)
this.use(router.routes())
this.use(router.allowedMethods())
})
}
module.exports = useRoutes
|
import React from 'react';
import axios from "axios";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import { withRouter } from "react-router";
import { NavLink } from "react-router-dom";
const NavigationComponent = (props) => {
const dynamicLink = (route, linkText) => {
return (
<div className='nav-link-wrapper'>
<NavLink to={route} activeClassName="nav-link-active">
{linkText}
</NavLink>
</div>
)
}
const handleSignOut = () => {
axios.delete("https://api.devcamp.space/logout", { withCredentials: true}).then(response => {
if (response.status === 200) {
props.history.push("/");
props.handleSuccessfulLogout();
}
return response.data;
}).catch(error => {
console.log("error singing out", error);
})
};
return (
<div className="nav-wrapper">
<div className="left-side">
<div className='nav-link-wrapper'>
<NavLink exact to="/" activeClassName="nav-link-active">
Home
</NavLink>
</div>
<div className='nav-link-wrapper'>
<NavLink to="/about-me" activeClassName="nav-link-active">
Resume
</NavLink>
</div>
<div className='nav-link-wrapper'>
<NavLink to="/contact" activeClassName="nav-link-active">
Contact
</NavLink>
</div>
<div className='nav-link-wrapper'>
<NavLink to="/blog" activeClassName="nav-link-active">
Blog
</NavLink>
</div>
{props.loggedInStatus === "LOGGED_IN" ? (dynamicLink("/portfolio-manager", "Portfolio Manager")) : null }
</div>
<div className="right-side">
Christopher Zach
{props.loggedInStatus === "LOGGED_IN" ? <a onClick={handleSignOut}>
<FontAwesomeIcon icon= "sign-out-alt" />
</a> : null }
</div>
</div>
)
}
export default withRouter(NavigationComponent);
//https://bottega.devcamp.com/full-stack-development-javascript-python/guide/2357
|
class ALink extends HTMLElement {
constructor() {
super();
this.attachShadow({mode: "open"});
this.shadowRoot.innerHTML = `
<style>
div{ color: blue; }
</style>
<slot></slot>
`;
this._slot = this.shadowRoot.children[1];
this.addEventListener("click", e => e.setDefault(this._onClick.bind(this)));
}
_onClick() {
const link = this.getAttribute("href");
if (!link)
return;
//here it should have dispatched a "navigate" event, so that it would be possible to distinguish from the rest of the click actions.
location.href = link;//todo new URL(link, document.baseURI).href instead??
}
}
customElements.define("a-link", ALink);
|
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../../Icon-63ed8f4f.js';
import '@carbon/icon-helpers';
import 'prop-types';
import React from 'react';
var _ref2 =
/*#__PURE__*/
/*#__PURE__*/
React.createElement("path", {
d: "M25 23H19a3 3 0 00-3 3v2h2V26a1 1 0 011-1h6a1 1 0 011 1v2h2V26A3 3 0 0025 23zM18 18a4 4 0 104-4A4 4 0 0018 18zm6 0a2 2 0 11-2-2A2 2 0 0124 18zM15 15.415L13.586 14 11 16.587 8.414 14 7 15.415 9.586 18 7 20.586 8.414 22 11 19.414 13.586 22 15 20.586 12.414 18 15 15.415z"
});
var _ref3 =
/*#__PURE__*/
/*#__PURE__*/
React.createElement("path", {
d: "M14,26H4V6h7.1716l3.4141,3.4143L15.1716,10H28v8h2V10a2,2,0,0,0-2-2H16L12.5859,4.5858A2,2,0,0,0,11.1716,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H14Z"
});
var WatsonHealthDenominate32 = /*#__PURE__*/React.forwardRef(function WatsonHealthDenominate32(_ref, ref) {
var children = _ref.children,
rest = _objectWithoutProperties(_ref, ["children"]);
return /*#__PURE__*/React.createElement(Icon, _extends({
width: 32,
height: 32,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref: ref
}, rest), _ref2, _ref3, children);
});
export default WatsonHealthDenominate32;
|
import { withErrorMiddleware } from "../middleware";
/**
* Get trip duration (accounting for traffic) for helping to calculate basePrice
*/
const getTripDuration = async (req, res) => {
const mapBoxUrl = `${process.env.MAPBOX_DIRECTIONS_API_URL}/${req.body.pickupCoordinates};${req.body.dropoffCoordinates}.json?access_token=${process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN}`;
const response = await fetch(mapBoxUrl);
const data = await response.json();
res.status(200).send({
message: "success",
data: data.routes[0].duration,
});
};
export default withErrorMiddleware(getTripDuration);
|
import { NotImplementedError } from '../extensions/index.js';
/**
* Given a string, return its encoding version.
*
* @param {String} str
* @return {String}
*
* @example
* For aabbbc should return 2a3bc
*
*/
export default function encodeLine(str) {
//throw new NotImplementedError('Not implemented');
let arr = [];
str.split('').forEach(e => {
(arr.length === 0 || arr[arr.length-1][0] !== e) ? arr.push([e,1]) : arr[arr.length-1][1] += 1;
});
let encodeLine = '';
for (let i=0; i < arr.length; i++) {
encodeLine += (arr[i][1] > 1 ? arr[i][1] : '') + arr[i][0];
}
return encodeLine;
}
|
describe('Specialized Defenses', function() {
integration(function() {
describe('Specialized Defenses\'s ability', function() {
beforeEach(function() {
this.setupTest({
phase: 'conflict',
player1: {
inPlay: ['matsu-berserker'],
hand: ['charge'],
dynastyDiscard: ['isawa-kaede']
},
player2: {
provinces: ['kuroi-mori', 'toshi-ranbo'],
hand: ['specialized-defenses']
}
});
this.isawaKaede = this.player1.placeCardInProvince('isawa-kaede');
this.kuroiMori = this.player2.findCardByName('kuroi-mori');
this.toshiRanbo = this.player2.findCardByName('toshi-ranbo');
this.specializedDefenses = this.player2.findCardByName('specialized-defenses');
});
it('should not be playable outside of a conflict', function () {
this.player1.pass();
this.player2.clickCard('specialized-defenses');
expect(this.player2).toHavePrompt('Initiate an action');
});
describe('during a conflict', function () {
beforeEach(function () {
this.noMoreActions();
this.initiateConflict({
province: this.kuroiMori,
attackers: ['matsu-berserker'],
defenders: []
});
});
it('should not be playable when the element and the contested ring do not match', function () {
expect(this.player2).toHavePrompt('Conflict Action Window');
this.player2.clickCard('specialized-defenses');
expect(this.player2).toHavePrompt('Conflict Action Window');
});
it('should be playable when the contested ring matches the province element', function () {
this.player2.clickCard(this.kuroiMori);
this.player2.clickPrompt('Switch the contested ring');
this.player2.clickRing('void');
expect(this.game.currentConflict.ring.element).toBe('void');
expect(this.player1).toHavePrompt('Conflict Action Window');
this.player1.pass();
this.player2.clickCard('specialized-defenses');
expect(this.player1).toHavePrompt('Conflict Action Window');
expect(this.kuroiMori.strength).toBe(8);
});
it('should be playable if the player has claimed the matching ring', function () {
this.player2.claimRing('void');
this.player2.clickCard('specialized-defenses');
expect(this.player1).toHavePrompt('Conflict Action Window');
expect(this.kuroiMori.strength).toBe(8);
});
it('should be playable if the contested ring has an additional element which matches', function () {
this.player2.pass();
this.player1.clickCard('charge');
this.player1.clickCard(this.isawaKaede);
expect(this.isawaKaede.inConflict).toBe(true);
this.player2.clickCard('specialized-defenses');
expect(this.player1).toHavePrompt('Conflict Action Window');
expect(this.kuroiMori.strength).toBe(8);
});
});
it('should interact correctly with Toshi Ranbo', function() {
this.noMoreActions();
this.initiateConflict({
province: this.toshiRanbo,
attackers: ['matsu-berserker'],
defenders: []
});
this.player2.clickCard(this.specializedDefenses);
expect(this.player1).toHavePrompt('Conflict Action Window');
expect(this.toshiRanbo.strength).toBe(6);
});
});
});
});
|
import React from 'react';
import './styles.css';
export default function Account() {
return (
<div className='account-page'>
<h1>Account</h1>
</div>
);
}
|
var c4 = require('./c4Api/c4Api.js');
var nitro = require('bbcparse/nitroSdk.js');
var xml2j = require('jgexml/xml2json.js');
var query = nitro.newQuery();
query.add(c4.commonPlatformC4,'',false);
var options = {};
options.headers = {
Accept: 'application/xml'
};
options.api_key_name = 'apikey';
var cat = process.argv.length > 2 ? process.argv[2] : 'comedy';
nitro.make_request(c4.host,c4.getCategories4od(cat),'',query,options,function(obj){
var json = xml2j.xml2json(obj);
console.log(JSON.stringify(json,null,2));
});
|
// Webpack config for creating the production bundle.
var path = require('path');
var webpack = require('webpack');
var writeStats = require('./utils/writeStats');
var CleanPlugin = require('clean-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var strip = require('strip-loader');
var relativeAssetsPath = '../static/dist';
var assetsPath = path.join(__dirname, relativeAssetsPath);
module.exports = {
devtool: 'source-map',
context: path.resolve(__dirname, '..'),
entry: {
'main': './src/client.js'
},
output: {
path: assetsPath,
filename: '[name]-[chunkhash].js',
chunkFilename: '[name]-[chunkhash].js',
publicPath: '/dist/'
},
module: {
loaders: [
{ test: /\.(jpe?g|png|gif|svg)$/, loader: 'url', query: {limit: 10240} },
{ test: /\.js$/, exclude: /node_modules/, loaders: [strip.loader('debug'), 'babel?stage=0&optional=runtime&plugins=typecheck']},
{ test: /\.json$/, loader: 'json-loader' },
{ test: /\.scss$/, loader: ExtractTextPlugin.extract('style', 'css?modules&importLoaders=2!autoprefixer?browsers=last 2 version!sass?outputStyle=expanded&sourceMap=true&sourceMapContents=true') }
]
},
progress: true,
resolve: {
modulesDirectories: [
'src',
'node_modules'
],
extensions: ['', '.json', '.js']
},
plugins: [
new CleanPlugin([relativeAssetsPath]),
// css files from the extract-text-plugin loader
new ExtractTextPlugin('[name]-[chunkhash].css', {allChunks: true}),
new webpack.DefinePlugin({
__CLIENT__: true,
__SERVER__: false,
__DEVELOPMENT__: false,
__DEVTOOLS__: false
}),
// ignore dev config
new webpack.IgnorePlugin(/\.\/dev/, /\/config$/),
// set global vars
new webpack.DefinePlugin({
'process.env': {
// Useful to reduce the size of client-side libraries, e.g. react
NODE_ENV: JSON.stringify('production')
}
}),
// optimizations
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
}
}),
// stats
function () {
this.plugin('done', function(stats) {
writeStats.call(this, stats, 'prod');
});
}
]
};
|
import React from 'react'
import { PageContent } from '../components/layout'
import { Title, Heading, Paragraph } from '../components/typography'
import { SEO } from '../components/seo'
import { TitleCard, Card, CardHeader, CardBody } from '../components/card'
import { BulletedList, ListItem } from '../components/list'
import { ExternalLink } from '../components/link'
import { useBlog } from '../hooks'
const IndexPage = () => {
const articles = useBlog()
return (
<PageContent>
<SEO
title="Home"
description=""
keywords=""
/>
<TitleCard title="RENCI's COVID-19 Response">
<Paragraph>
Working closely with partner research institutions and the private sector, <ExternalLink to="https://www.renci.org/">RENCI</ExternalLink> is
adapting and extending its existing capabilities to accelerate COVID-19 response and research efforts.
RENCI researchers are leaders in data science and in data-driven discoveries, and we want to use those talents
to assist the larger international effort to slow the spread of the virus and search for treatments.
</Paragraph>
<Paragraph>
At a high level, our work in the area of COVID-19 research aims to:
</Paragraph>
<BulletedList>
<ListItem primary="Apply linked open data, including biomedical ontologies, to build in silico knowledge models of drugs, processes, and systems involved in the coronavirus disease and related diseases." />
<ListItem primary="Present aggregated clinical statistical models and an open, privacy-preserving framework to expose, share, and analyze data on clinical correlates of disease and outcomes, environmental exposures, socio-economic indicators, and genotype data." />
<ListItem primary="Provision notebook-based analytical environments with big data, machine learning, and artificial intelligence capabilities to support access to the growing body of COVID-19 related datasets, as well as tools to analyze and explore the data." />
</BulletedList>
</TitleCard>
<Card>
<CardHeader>Our Blog</CardHeader>
<CardBody>
<Paragraph>
Keep up with the latest on our blog.
</Paragraph>
{
articles.map(({ date, title, url }) => (
<article key={ title }>
<Heading>
<strong>{ date }</strong><br/>
<ExternalLink to={ url }>{ title }</ExternalLink>
</Heading>
</article>
))
}
</CardBody>
</Card>
<Paragraph>
</Paragraph>
</PageContent>
)
}
export default IndexPage
|
import { h } from 'omi';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(h("path", {
d: "M22 8l-4-4v3H3v2h15v3l4-4zM2 16l4 4v-3h15v-2H6v-3l-4 4z"
}), 'SyncAltOutlined');
|
const CACHE_NAME = "my-site-cache-v1";
const DATA_CACHE_NAME = "data-cache-v1";
const urlsToCache = [
"/",
"/db.js",
"/index.js",
"/manifest.json",
"/styles.css",
"/icons/icon-192x192.png",
"/icons/icon-512x512.png"
];
self.addEventListener("install", function(event) {
event.waitUntil(
caches.open(CACHE_NAME).then(function(cache) {
console.log("Opened cache");
return cache.addAll(urlsToCache);
})
);
});
self.addEventListener("fetch", function(event) {
if (event.request.url.includes("/api/")) {
event.respondWith(
caches.open(DATA_CACHE_NAME).then(cache => {
return fetch(event.request)
.then(response => {
if (response.status === 200) {
cache.put(event.request.url, response.clone());
}
return response;
})
.catch(err => {
return cache.match(event.request);
});
}).catch(err => console.log(err))
);
return;
}
event.respondWith(
fetch(event.request).catch(function() {
return caches.match(event.request).then(function(response) {
if (response) {
return response;
} else if (event.request.headers.get("accept").includes("text/html")) {
return caches.match("/");
}
});
})
);
});
|
'use strict';
var View = require('views/base/view');
var context = require('models/context');
module.exports = View.extend({
el: '#wait-container',
template: 'wait',
initialize: function (options) {
//first and last render
this.render();
//listen for state change
this.listenTo(context, 'change:state', this.spin);
},
//manage spin display
spin: function () {
var spinner = this.$('.wait');
if (context.get('state') === 'wait') {
spinner.show();
} else {
spinner.hide();
}
}
});
|
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
function Square(props){ // Doesn't have state. So we can re-write this class as a function.
return (
<button
className="square"
onClick={props.onClick}
>
{props.value}
</button>
);
}
class Board extends React.Component {
// handleClick(i) {
// const squares = this.state.squares.slice();
// if (calculateWinner(squares) || squares[i]) {
// return;
// }
// squares[i] = this.state.xIsNext ? 'X' : 'O';
// this.setState({
// squares: squares,
// xIsNext: !this.state.xIsNext
// });
// }
renderSquare(i) {
return (
<Square
value={this.props.squares[i]}
onClick={() => this.props.onClick(i)}
/>
);
}
render() {
return (
<div>
<div className="board-row">
{this.renderSquare(0)}
{this.renderSquare(1)}
{this.renderSquare(2)}
</div>
<div className="board-row">
{this.renderSquare(3)}
{this.renderSquare(4)}
{this.renderSquare(5)}
</div>
<div className="board-row">
{this.renderSquare(6)}
{this.renderSquare(7)}
{this.renderSquare(8)}
</div>
</div>
);
}
}
class Game extends React.Component {
constructor(props) {
super(props);
this.state = {
history: [{
squares: Array(9).fill(null),
}],
stepNumber: 0,
xIsNext: true,
};
}
handleClick(i) {
const history = this.state.history.slice(0, this.state.stepNumber + 1);
const current = history[history.length-1];
const squares = current.squares.slice();
if (calculateWinner(squares) || squares[i]) {
return;
}
squares[i] = this.state.xIsNext ? 'X' : 'O';
this.setState({
history:history.concat([{
squares:squares,
}]),
stepNumber: history.length,
xIsNext: !this.state.xIsNext
});
}
jumpTo(step) {
this.setState({
stepNumber: step,
xIsNext: (step%2) === 0
});
}
render() {
const history = this.state.history;
const current = history[this.state.stepNumber];
const winner = calculateWinner(current.squares);
const moves = history.map((step, move) => {
const desc = move ? 'Go to move #' + move : 'Go to game start';
return (
<li key={move}>
<button onClick={() => this.jumpTo(move)}>{desc}</button>
</li>
);
});
let status;
if (winner) {
status = 'Winner: ' + winner;
} else {
status = 'Next player: ' + (this.state.xIsNext ? 'X' : 'O');
}
return (
<div className="game">
<div className="game-board">
<Board
squares={current.squares}
onClick={(i) => this.handleClick(i)}
/>
</div>
<div className="game-info">
<div>{status}</div>
<ol>{ moves }</ol>
</div>
</div>
);
}
}
// ========================================
ReactDOM.render(
<Game />,
document.getElementById('root')
);
function calculateWinner(squares) {
const lines = [
[0, 1, 2],
[3, 4, 5],
[6, 7, 8],
[0, 3, 6],
[1, 4, 7],
[2, 5, 8],
[0, 4, 8],
[2, 4, 6],
];
for (let i = 0; i < lines.length; i++) {
const [a, b, c] = lines[i];
if (squares[a] && squares[a] === squares[b] && squares[a] === squares[c]) {
return squares[a];
}
}
return null;
}
|
// npm version <newver>
module.exports = version
var exec = require("child_process").execFile
, semver = require("semver")
, path = require("path")
, fs = require("graceful-fs")
, chain = require("slide").chain
, log = require("npmlog")
, which = require("which")
, npm = require("./npm.js")
version.usage = "npm version [<newversion> | major | minor | patch | prerelease | preminor | premajor ]\n"
+ "\n(run in package dir)\n"
+ "'npm -v' or 'npm --version' to print npm version "
+ "("+npm.version+")\n"
+ "'npm view <pkg> version' to view a package's "
+ "published version\n"
+ "'npm ls' to inspect current package/dependency versions"
function version (args, silent, cb_) {
if (typeof cb_ !== "function") cb_ = silent, silent = false
if (args.length > 1) return cb_(version.usage)
fs.readFile(path.join(process.cwd(), "package.json"), function (er, data) {
if (!args.length) {
var v = {}
Object.keys(process.versions).forEach(function (k) {
v[k] = process.versions[k]
})
v.npm = npm.version
try {
data = JSON.parse(data.toString())
} catch (er) {
data = null
}
if (data && data.name && data.version) {
v[data.name] = data.version
}
console.log(v)
return cb_()
}
if (er) {
log.error("version", "No package.json found")
return cb_(er)
}
try {
data = JSON.parse(data)
} catch (er) {
log.error("version", "Bad package.json data")
return cb_(er)
}
var newVer = semver.valid(args[0])
if (!newVer) newVer = semver.inc(data.version, args[0])
if (!newVer) return cb_(version.usage)
if (data.version === newVer) return cb_(new Error("Version not changed"))
data.version = newVer
fs.stat(path.join(process.cwd(), ".git"), function (er, s) {
function cb (er) {
if (!er && !silent) console.log("v" + newVer)
cb_(er)
}
var tags = npm.config.get('git-tag-version')
var doGit = !er && s.isDirectory() && tags
if (!doGit) return write(data, cb)
else checkGit(data, cb)
})
})
}
function checkGit (data, cb) {
var args = [ "status", "--porcelain" ]
var options = {env: process.env}
// check for git
git.whichAndExec(args, options, function (er, stdout) {
var lines = stdout.trim().split("\n").filter(function (line) {
return line.trim() && !line.match(/^\?\? /)
}).map(function (line) {
return line.trim()
})
if (lines.length) return cb(new Error(
"Git working directory not clean.\n"+lines.join("\n")))
write(data, function (er) {
if (er) return cb(er)
var message = npm.config.get("message").replace(/%s/g, data.version)
, sign = npm.config.get("sign-git-tag")
, flag = sign ? "-sm" : "-am"
chain
( [ git.chainableExec([ "add", "package.json" ], {env: process.env})
, git.chainableExec([ "commit", "-m", message ], {env: process.env})
, sign && function (cb) {
npm.spinner.stop()
cb()
}
, git.chainableExec([ "tag", "v" + data.version, flag, message ]
, {env: process.env}) ]
, cb )
})
})
}
function write (data, cb) {
fs.writeFile( path.join(process.cwd(), "package.json")
, new Buffer(JSON.stringify(data, null, 2) + "\n")
, cb )
}
|
window.onload = function () {
var headTwo = (function () {
headTwo = document.querySelectorAll("h2");
var headTwo_array = [].slice.call(headTwo);
headTwo_array.forEach(function(element, index){
element.setAttribute("id", "heading" + index)
});
return headTwo_array;
})();
var navList = (function () {
var listel = document.createElement("ul");
headTwo.forEach(function (element, index) {
var listItem = document.createElement("li");
listel.appendChild(listItem);
listItem.style.listStyle = "none";
var link = document.createElement("a");
listItem.appendChild(link);
link.textContent = element.textContent;
link.setAttribute("href", "#heading" + index);
});
var navel = document.createElement("nav");
navel.appendChild(listel);
navel.style.paddingTop = "1px";
return navel;
})();
var target = document.querySelector("header");
var parent = document.querySelector("header").parentNode;
parent.insertBefore(navList, target);
};
/*
var headTwo = (function () {
headTwo = document.querySelector("h1");
var headTwo_array = [].slice.call(headTwo);
return headTwo_array;
})();
var dynamicStyleSheet = (function () {
var styleElement = document.createElement("style");
styleElement.type = "text/css";
document.head.appendChild(styleElement);
return styleElement.sheet;
})();
var makeDiv = (function () {
var new_div = document.createElement("div");
})();
*/
|
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'mk', {
title: 'Палета со бои',
options: 'Color Options', // MISSING
highlight: 'Highlight', // MISSING
selected: 'Selected Color', // MISSING
predefined: 'Предефинирани множества на бои',
config: 'Залепи го овој текст во config.js датотеката'
} );
|
module.exports = (app) => {
const routes = app.get('routes');
const auth = app.get('auth');
const { mongoose, User, Story } = app.get('dbInterface');
app.route(routes.API_READERS)
.all(auth)
.post((req, res) => {
const { storyId } = req.params;
const user_id = req.decoded.data._id;
const search = { storyId, user_id };
query = Story.findOne(search)
.then(story => {
const readerId = story.readers.length + 1;
req.body.readerId = readerId;
story.readers.push(req.body);
story.save()
.then(() => {
res.status(200).json({ success: true });
});
})
.catch(error => {
res.status(500).json({ success: false, error })
});
})
.get((req, res) => {
const { storyId } = req.params;
const user_id = req.decoded.data._id;
const query = Story.findOne({ storyId, user_id })
.then(story => {
res.status(200).json({ success: true, items: story.readers })
})
.catch(error => {
res.status(500).json({ success: false, error });
});
})
.put((req, res) => {
const { storyId } = req.params;
const user_id = req.decoded.data._id;
const readers = req.body.readers.map((reader, index) => {
reader.readerId = index + 1;
return reader;
});
const search = { storyId, user_id };
const query = Story.findOne(search)
.then(story => {
story.readers = readers;
story.save()
.then(() => {
res.status(200).json({ success: true });
});
})
.catch(error => {
res.status(500).json({ success: false, error });
});
})
.delete((req, res) => {
const { storyId } = req.params;
const user_id = req.decoded.data._id;
const search = { storyId, user_id };
const query = Story.findOne(search)
.then(story => {
story.readers = [];
story.save()
.then(() => {
res.status(200).json({ success: true });
});
})
.catch(error => {
res.status(500).json({ success: false, error })
});
});
app.route(routes.API_READER)
.all(auth)
.put((req, res) => {
const { storyId, readerId } = req.params;
const user_id = req.decoded.data._id;
const search = { storyId, user_id };
const query = Story.findOne(search)
.then(story => {
const reader = story.readers.find(reader => reader.readerId === +readerId);
const keys = Object.keys(req.body);
keys.forEach(key => {
reader[key] = req.body[key];
});
story.save()
.then(() => {
res.status(200).json({ success: true });
});
});
})
.get((req, res) => {
const { storyId, readerId } = req.params;
const user_id = req.decoded.data._id;
const search = { storyId, user_id };
query = Story.findOne(search)
.then(story => {
const reader = story.readers.find(reader => reader.readerId === +readerId);
res.status(200).json({ success: true, items: reader });
})
.catch(error => {
res.status(500).json({ success: false, error });
});
})
.delete((req, res) => {
const { storyId, readerId } = req.params;
const user_id = req.decoded.data._id;
const search = { storyId, user_id };
query = Story.findOne(search)
.then(story => {
const index = story.readers.findIndex(reader => reader.readerId === +readerId);
story.readers.splice(index, 1);
story.readers.forEach(reader => {
if (reader.readerId > readerId) {
reader.readerId--;
}
});
story.save()
.then(() => {
res.status(200).json({ success: true });
});
})
.catch(error => {
res.status(500).json({ success: false, error });
});
});
};
|
define('bitbucket/internal/util/region-scroll-forwarder', ['module', 'exports', 'baconjs', 'jquery', 'lodash', 'bitbucket/internal/util/bacon', 'bitbucket/internal/util/function'], function (module, exports, _baconjs, _jquery, _lodash, _bacon, _function) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _baconjs2 = babelHelpers.interopRequireDefault(_baconjs);
var _jquery2 = babelHelpers.interopRequireDefault(_jquery);
var _lodash2 = babelHelpers.interopRequireDefault(_lodash);
var _bacon2 = babelHelpers.interopRequireDefault(_bacon);
var _function2 = babelHelpers.interopRequireDefault(_function);
/**
* Given a scroll property to listen to, determines the region that we're in and forwards scroll events.
* When leaving a region, that region will be scrolled to the 'near' edge.
* Allows for 'grouped' regions and will only scroll the 'nearest' region in each group to the edge.
* This is useful when disjoint regions are actually forwarding to the same underlying object. E.g.
*
* ------------------- top
* |
* | region A - scroll the window while we're in this region
* |
* |-----
* |
* | region B - scroll an internal div while we're in this region
* |
* |-----
* |
* | region C - scroll the window while we're in this region
* |
* ------------------- bottom
*
* When a scroll event jumps from region A to C (e.g. user pressed PgDn), there is no need to scroll
* A to the edge, because C will be affecting the window more accurately. But region B affects a different
* element, so must be scrolled to the edge.
*
* @param {Bacon.Property} scrollProperty - Bacon Property that emits { top : number }
* @param {Array<{setScrollTop : function(number), getHeight : function() : number, groupId : * }>} regions
*/
function RegionScrollForwarder(scrollProperty, regions) {
var destroyed = new _baconjs2.default.Bus();
regions = regions.map(function (region) {
var cachedHeight = null;
return _jquery2.default.extend({}, region, {
getCachedHeight: function getCachedHeight() {
if (cachedHeight == null) {
cachedHeight = region.getHeight();
}
return cachedHeight;
},
invalidateCache: function invalidateCache() {
cachedHeight = null;
}
});
});
var latestForwardingInfo;
// Subscribe to the scrollProperty so we can set the initial scrollTop for regions
scrollProperty.subscribe(function (e) {
// Only operate on the initial event.
if (!e.isInitial()) {
return;
}
var initialScroll = e.value().top;
var offset = 0;
var currentRegion;
// set the scrollTop for all regions
_lodash2.default.forEach(regions, function (region) {
var height = region.getCachedHeight();
var isBelow = offset + height >= initialScroll;
if (!currentRegion && isBelow) {
currentRegion = region;
region.setScrollTop(initialScroll - offset);
} else {
region.setScrollTop(isBelow ? 0 : height);
}
offset += height;
});
})(); // invoke to unsub straight away
var forwardingInfo = scrollProperty.takeUntil(destroyed).slidingWindow(2, 2).map(_function2.default.spread(function (previousScrollInfo, scrollInfo) {
var offset = 0;
var prevRegion;
var diff = scrollInfo.top - previousScrollInfo.top;
var region;
var offsetSoFar = 0;
_lodash2.default.some(regions, function (currentRegion) {
var height = currentRegion.getCachedHeight();
if (!region && offsetSoFar + height >= scrollInfo.top) {
region = currentRegion;
offset = offsetSoFar;
}
if (!prevRegion && offsetSoFar + height >= previousScrollInfo.top) {
prevRegion = currentRegion;
}
offsetSoFar += height;
return region && prevRegion;
});
if (!region) {
throw new Error('No forwardee handles ' + scrollInfo.top);
}
var info = {
scrollInfo: scrollInfo,
localTop: scrollInfo.top - offset,
diff: diff,
forwardTo: region,
previousRegion: prevRegion
};
return info;
}));
function scrollRegionsToEdge(regions, getEdge) {
_lodash2.default.chain(regions).filter(function (region, i, regions) {
// unique by groupId, ensuring first region is chosen
return !_lodash2.default.some(regions.slice(0, i), function (otherInfo) {
return region.groupId && region.groupId === otherInfo.groupId;
});
}).forEach(function (region) {
region.setScrollTop(getEdge(region) === 'bottom' ? region.getCachedHeight() : 0);
}).value();
}
var stopForwarding = forwardingInfo.onValue(function (forwardingInfo) {
latestForwardingInfo = forwardingInfo;
var forwardToRegion = forwardingInfo.previousRegion;
// scroll all the regions between now and last time to their closest edge
if (forwardToRegion !== forwardingInfo.forwardTo) {
var betweens = _bacon2.default.toArray(_bacon2.default.takeBetween(_baconjs2.default.fromArray(regions), {
start: forwardToRegion,
end: forwardingInfo.forwardTo,
startInclusive: true,
endInclusive: false
}));
var scrollingDown = forwardingInfo.diff > 0;
scrollRegionsToEdge(scrollingDown ? betweens.reverse() : betweens, _function2.default.constant(scrollingDown ? 'bottom' : 'top'));
}
forwardingInfo.forwardTo.setScrollTop(forwardingInfo.localTop);
});
// Force all regions back to the right place - should have no affect unless offsets have changed.
// Regions above the currently focused one are scrolled to the bottom.
// Regions below the currently focused one are scrolled to the top.
function resetPositions() {
_lodash2.default.invokeMap(regions, 'invalidateCache');
if (latestForwardingInfo) {
var regionIndex = _lodash2.default.indexOf(regions, latestForwardingInfo.forwardTo);
scrollRegionsToEdge(_lodash2.default.reject(regions, function (region) {
return region === latestForwardingInfo.forwardTo || region.groupId && region.groupId === latestForwardingInfo.forwardTo.groupId;
}), function (region) {
return _lodash2.default.indexOf(regions, region) < regionIndex ? 'bottom' : 'top';
});
latestForwardingInfo.forwardTo.setScrollTop(Math.min(latestForwardingInfo.localTop, latestForwardingInfo.forwardTo.getCachedHeight()));
}
}
return {
regionChanges: forwardingInfo.map('.forwardTo').skipDuplicates(),
forwardingInfo: forwardingInfo,
heightsChanged: resetPositions,
destroy: function destroy() {
stopForwarding();
destroyed.push(true);
destroyed.end();
}
};
} /**
* Forward scroll events from a source to one or many targets
*/
exports.default = RegionScrollForwarder;
module.exports = exports['default'];
});
|
/* */
"format cjs";
import baseSortedIndex from './_baseSortedIndex';
import eq from './eq';
/**
* This method is like `_.indexOf` except that it performs a binary
* search on a sorted `array`.
*
* @static
* @memberOf _
* @category Array
* @param {Array} array The array to search.
* @param {*} value The value to search for.
* @returns {number} Returns the index of the matched value, else `-1`.
* @example
*
* _.sortedIndexOf([1, 1, 2, 2], 2);
* // => 2
*/
function sortedIndexOf(array, value) {
var length = array ? array.length : 0;
if (length) {
var index = baseSortedIndex(array, value);
if (index < length && eq(array[index], value)) {
return index;
}
}
return -1;
}
export default sortedIndexOf;
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BezierCurve = exports.BezierCurvepPoints = void 0;
const Point_1 = require("./Point");
const Polygon_1 = require("./Polygon");
var BezierCurvepPoints;
(function (BezierCurvepPoints) {
BezierCurvepPoints[BezierCurvepPoints["SOURCE"] = 0] = "SOURCE";
BezierCurvepPoints[BezierCurvepPoints["SOURCE_CONTROL"] = 1] = "SOURCE_CONTROL";
BezierCurvepPoints[BezierCurvepPoints["TARGET_CONTROL"] = 2] = "TARGET_CONTROL";
BezierCurvepPoints[BezierCurvepPoints["TARGET"] = 3] = "TARGET";
})(BezierCurvepPoints = exports.BezierCurvepPoints || (exports.BezierCurvepPoints = {}));
class BezierCurve extends Polygon_1.Polygon {
constructor() {
super([new Point_1.Point(0, 0), new Point_1.Point(0, 0), new Point_1.Point(0, 0), new Point_1.Point(0, 0)]);
}
getSVGCurve() {
return `M${this.getSource().toSVG()} C${this.getSourceControl().toSVG()}, ${this.getTargetControl().toSVG()}, ${this.getTarget().toSVG()}`;
}
setPoints(points) {
if (points.length !== 4) {
throw new Error('BezierCurve must have extactly 4 points');
}
super.setPoints(points);
}
getSource() {
return this.points[BezierCurvepPoints.SOURCE];
}
getSourceControl() {
return this.points[BezierCurvepPoints.SOURCE_CONTROL];
}
getTargetControl() {
return this.points[BezierCurvepPoints.TARGET_CONTROL];
}
getTarget() {
return this.points[BezierCurvepPoints.TARGET];
}
setSource(point) {
this.points[BezierCurvepPoints.SOURCE] = point;
}
setSourceControl(point) {
this.points[BezierCurvepPoints.SOURCE_CONTROL] = point;
}
setTargetControl(point) {
this.points[BezierCurvepPoints.TARGET_CONTROL] = point;
}
setTarget(point) {
this.points[BezierCurvepPoints.TARGET] = point;
}
}
exports.BezierCurve = BezierCurve;
//# sourceMappingURL=BezierCurve.js.map
|
/** @jsx jsx */
import {jsx, css} from '@emotion/core'
const QuizMap = () => (
<p>
<img
src="/static/images/quiz/map-a.png"
css={css`
height: 180px;
`}
/>
</p>
)
export default QuizMap
|
// GLOBAL VARIABLES
// ==============================================================
var wordBank = [
'alpha',
'bravo',
'charlie',
'delta',
'echo',
'foxtrot',
'golf',
'hotel',
'india',
'juliett',
'kilo',
'lima',
'mike',
'november',
'oscar',
'papa',
'quebec',
'romeo',
'sierra',
'tango',
'uniform',
'victor',
'whiskey',
'x-ray',
'yankee',
'zulu'
];
var targetWord = "";
var wrongLetters = [];
var lettersInWord = [];
var blanksAndLetters = [];
var frequency = [];
// Game Counters
var numBlanks = 0;
var guessesLeft = 9;
var winCount = 0;
var lossCount = 0;
// FUNCTIONS
// ==============================================================
function startGame()
{
targetWord = randomWord();
lettersInWord = targetWord.split("");
numBlanks = lettersInWord.length;
// Reset
guessesLeft = 9;
blanksAndLetters = [];
wrongLetters = [];
// Populate Blanks and Successes with right number of blanks
for(var i = 0; i<numBlanks; i++)
{
blanksAndLetters.push("_");
}
// Special Case for X
if(targetWord == 'x-ray')
{
blanksAndLetters[1] = '-';
}
// Change HTML to reflect game state
document.getElementById('targetWord').innerHTML = blanksAndLetters.join(" ");
document.getElementById('wrongLetters').innerHTML = wrongLetters.join(" ");
document.getElementById('numGuesses').innerHTML = guessesLeft;
document.getElementById('winCounter').innerHTML = winCount;
document.getElementById('lossCounter').innerHTML = lossCount;
}
function checkLetter(letter)
{
var regEx = /[a-z]/; // Chapter 9 Eloquent Javascript
if(regEx.test(letter))//Tests if letter is a through z
{
var isLetterInWord = false;
// Check if letter exists in word
for(var i = 0; i<targetWord.length; i++)
{
if(letter == targetWord[i])
{
isLetterInWord = true;
}
}
if(isLetterInWord)
{
for(var j = 0; j<numBlanks; j++)
{
if(letter == targetWord[j])
{
blanksAndLetters[j] = letter;
//console.log(blanksAndLetters);
}
}
}
else {
// Checks to see if this letter is already in
// WrongLetters array
// If not found, add it
if(wrongLetters.indexOf(letter) == -1)
{
wrongLetters.push(letter);
guessesLeft--;
}
// If not found do nothing
}
}
}
function completedRound()
{
// Determine win/loss condition
if(blanksAndLetters.toString() == lettersInWord.toString())
{
playAudio();
winCount++;
setTimeout(startGame, 1500);
}
else if(guessesLeft == 0)
{
playAudio();
blanksAndLetters = targetWord.split("");
lossCount++;
setTimeout(startGame, 1500);
}
//Update Board to reflect changes
document.getElementById('numGuesses').innerHTML = guessesLeft;
document.getElementById('targetWord').innerHTML = blanksAndLetters.join(" ").toUpperCase();
document.getElementById('wrongLetters').innerHTML = wrongLetters.join(" ");
}
function playAudio()
{
var filePath = './assets/sounds/' + targetWord + '.mp3';
var audio = new Audio(filePath);
audio.play();
}
function randomWord()
{
var word = wordBank[Math.floor(Math.random() * wordBank.length)];
if(frequency.indexOf(word) != -1){
word = randomWord();
}
else{
frequency.push(word);
}
if(frequency.length > 4){
frequency.shift();
}
return word;
}
// MAIN PROCESS
// ==============================================================
startGame();
// Register Key Clicks
document.onkeyup = function(event)
{
var letterGuessed = String.fromCharCode(event.keyCode).toLowerCase();
checkLetter(letterGuessed);
completedRound();
}
// TESTING/DEBUGGING
// ==============================================================
/*
console.log(targetWord);
console.log(lettersInWord);
console.log(numBlanks);
console.log(blanksAndLetters);
*/
|
import io from 'socket.io-client';
import { config } from './config'
const socket = io(config.apiRoot + '/cam');
export { socket }
|
(function(angular) {
"use strict";
controller.$inject = ["widgets", "$state"];
function controller(widgets, $state) {
var vm = this;
vm.$onInit = function() {
widgets.getAll().then(function(results) {
vm.widgets = results.data;
});
};
vm.editWidget = function(widgetId) {
$state.go("edit", { widgetId: widgetId });
};
vm.viewWidget = function(widgetId) {
$state.go("view", { widgetId: widgetId });
}
vm.createWidget = function() {
$state.go("create");
}
}
angular.module("WidgetApp.Controllers")
.controller("homeCtrl", controller);
})(angular);
|
import React, { Component } from 'react'
import Box from '@material-ui/core/Box'
import Container from '@material-ui/core/Container'
import Input from '../Components/Input'
import TimerDisplay from '../Components/TimerDisplay'
export default class CountdownTimer extends Component {
state = {
minute: 0,
msec: 0,
moreThanHalfwayThere: false,
runAtOneXSpeed: true,
runAtOnePointFiveXSpeed: false,
runAtTwoXSpeed: false,
start: false,
time: 0,
totalSec: 0
}
setTime = (value) => {
this.setState({
minute: Number(value),
time: Number(value),
totalSec: Number(value) * 60
})
}
startTimer = () => {
this.setState({
minute: this.state.minute,
pause: false,
seconds: 59,
start: true,
totalSec: this.state.totalSec - 1
})
}
render() {
const { minute, moreThanHalfwayThere, start, time } = this.state
console.log('CountdownTimer Rendered')
return (
<Box style={{marginTop: '15rem'}} >
<Container >
<Input setTime={this.setTime} time={time} startTimer={this.startTimer} />
<TimerDisplay minute={minute} moreThanHalfwayThere={moreThanHalfwayThere} start={start} />
</Container>
</Box>
)
}
}
|
'use strict';
// package references
import * as axios from 'axios';
// db options
const baseApiUrl = 'http://localhost:1710';
// add author
const addAuthor = (firstName, lastName, country) => {
return new Promise((resolve, reject) => {
axios
.post(`${baseApiUrl}/persons`, {
'firstName': firstName,
'lastName': lastName,
'country': country })
.then((result) => {
resolve(result.data);
})
.catch(error => {
console.log(error);
reject(error.message);
});
});
};
// find authors
const findAuthor = (id) => {
return new Promise((resolve, reject) => {
axios
.get(`${baseApiUrl}/persons/${id}`)
.then(response => {
resolve(response.data);
return;
})
.catch(error => {
reject(error.message);
return;
});
});
};
const findAuthorsByFirstName = (firstName) => {
return new Promise((resolve, reject) => {
axios
.get(`${baseApiUrl}/persons?firstName=${firstName}`)
.then(response => {
resolve(response.data);
return;
})
.catch(error => {
reject(error.message);
return;
});
});
};
const listAuthors = () => {
return new Promise((resolve, reject) => {
axios
.get(`${baseApiUrl}/persons`)
.then(response => {
resolve(response.data);
return;
})
.catch(error => {
reject(error.message);
return;
});
});
};
// remove author
const removeAuthor = (id) => {
return new Promise((resolve, reject) => {
axios
.delete(`${baseApiUrl}/persons/${id}`)
.then(() => {
resolve();
return;
})
.catch(error => {
reject(error.message);
return;
});
});
};
// update author
const updateAuthor = (author) => {
return new Promise((resolve, reject) => {
axios
.put(`${baseApiUrl}/persons/${author.id}`, author)
.then(() => {
resolve();
return;
})
.catch(error => {
reject(error.message);
return;
});
});
};
// exports
module.exports = {
'addAuthor': addAuthor,
'findAuthor': findAuthor,
'findAuthorsByFirstName': findAuthorsByFirstName,
'listAuthors': listAuthors,
'removeAuthor': removeAuthor,
'updateAuthor': updateAuthor
};
|
import React from 'react'
import ScaleLoader from "react-spinners/ScaleLoader";
function Spinner (){
return(
<div style={{textAlign: "center", marginTop: "20px"}}>
<ScaleLoader
height={35}
width={4}
radius={2}
margin={2}
color={"#ff3333"}
loading={true}
/>
</div>
);
};
export default Spinner;
|
var path = require('path'),
fs = require('fs'),
url = require('url'),
http = require('http'),
https = require('https'),
express = require('express'),
open = require('open'),
Mustache = require('mustache'),
glob = require('glob'),
md = require('../node_modules/reveal.js/plugin/markdown/markdown'),
exec = require('child_process').exec;
var app = express();
var staticDir = express.static;
var serverBasePath = path.resolve(__dirname + '/../');
var opts = {
printMode: false,
host: 'localhost',
port: 1948,
userBasePath: process.cwd(),
revealBasePath: serverBasePath + '/node_modules/reveal.js/',
template: fs.readFileSync(serverBasePath + '/template/reveal.html').toString(),
templateListing: fs.readFileSync(serverBasePath + '/template/listing.html').toString(),
theme: 'black',
highlightTheme: 'zenburn',
separator: '^(\r\n?|\n)---(\r\n?|\n)$',
verticalSeparator: '^(\r\n?|\n)----(\r\n?|\n)$',
revealOptions: {}
};
var printPluginPath = serverBasePath + '/node_modules/reveal.js/plugin/print-pdf/print-pdf.js';
['css', 'js', 'images', 'plugin', 'lib'].forEach(function(dir) {
app.use('/' + dir, staticDir(opts.revealBasePath + dir));
});
var startMarkdownServer = function(options) {
var initialMarkdownPath = options.initialMarkdownPath;
var printFile = options.printFile;
var sourceFile;
opts.userBasePath = options.basePath;
opts.host = options.host || opts.host;
opts.port = options.port || opts.port;
opts.theme = options.theme || opts.theme;
opts.highlightTheme = options.highlightTheme || opts.highlightTheme;
opts.separator = options.separator || opts.separator;
opts.verticalSeparator = options.verticalSeparator || opts.verticalSeparator;
opts.printMode = typeof printFile !== 'undefined' && printFile || opts.printMode;
opts.revealOptions = options.revealOptions || {};
generateMarkdownListing();
app.use('/lib/css/' + opts.highlightTheme + '.css',
staticDir(serverBasePath + '/node_modules/highlight.js/styles/' + opts.highlightTheme + '.css'));
app.get(/(\w+\.md)$/, renderMarkdownAsSlides);
app.get('/', renderMarkdownFileListing);
app.get('/*', staticDir(opts.userBasePath));
var server = app.listen(opts.port || null);
var initialFilePath = 'http://' + opts.host + ':' + opts.port + (initialMarkdownPath ? '/' + initialMarkdownPath : '');
if (!!opts.printMode) {
sourceFile = initialMarkdownPath;
// If print parameter was left empty, printFile should equal `true`
// Give it a better filename, default to the initialMarkdownPath
if (printFile === true) {
// Strip .md file extension from output/print filename
printFile = sourceFile.replace(/\.md$/,'');
}
console.log('Attempting to print "' + sourceFile + '" to filename "' + printFile + '" as PDF');
exec('phantomjs ' + printPluginPath + ' ' + initialFilePath + '?print-pdf' + ' ' + printFile, function( err, stdout, stderr ) {
if (err) {
console.log(("[Error with path '" + printFile + "']\n" + stderr + "\n" + err.toString()).red);
} else {
console.log(stdout);
}
// close the server after we're done, print mode we won't keep the server open
// this could be configurable if we wanted to, but my thought was that
// when you're deciding to print, you just want the output pdf file
server.close();
});
} else {
console.log('Reveal-server started, opening at http://' + opts.host + ':' + opts.port);
open(initialFilePath);
}
};
var renderMarkdownAsSlides = function(req, res) {
var markdown = '',
markdownPath,
fsPath;
// Look for print-pdf option
if (~req.url.indexOf('?print-pdf')) {
req.url = req.url.replace('?print-pdf','');
}
markdownPath = path.resolve(opts.userBasePath + req.url);
fsPath = markdownPath.replace(/(\?.*)$/, '');
if(fs.existsSync(fsPath)) {
markdown = fs.readFileSync(fsPath).toString();
render(res, markdown);
} else {
var parsedUrl = url.parse(req.url.replace(/^\//, ''));
if(parsedUrl) {
(parsedUrl.protocol === 'https:' ? https : http).get(parsedUrl.href, function(response) {
response.on('data', function(chunk) {
markdown += chunk;
});
response.on('end', function() {
render(res, markdown);
});
}).on('error', function(e) {
console.log('Problem with path/url: ' + e.message);
render(res, e.message);
});
}
}
};
var render = function(res, markdown) {
var slides = md.slidify(markdown, opts);
res.send(Mustache.to_html(opts.template, {
theme: opts.theme,
highlightTheme: opts.highlightTheme,
slides: slides,
options: JSON.stringify(opts.revealOptions, null, 2)
}));
};
var generateMarkdownListing = function(userBasePath) {
var list = [];
glob.sync("**/*.md", {
cwd: userBasePath || opts.userBasePath
}).forEach(function(file) {
list.push('<a href="' + file + '">' + file + '</a>');
});
return Mustache.to_html(opts.templateListing, {
theme: opts.theme,
listing: list.join('<br>')
});
};
var renderMarkdownFileListing = function(req, res) {
res.send(generateMarkdownListing());
};
module.exports = {
start: startMarkdownServer
};
|
var renderers = (function () {
var drawSnake = function (ctx, snake) {
for (var i = 0; i < snake.parts.length; i++) {
drawSnakePart(ctx, snake.parts[i]);
}
};
var drawSnakePart = function (ctx, part) {
ctx.fillStyle = 'orange';
var position = part.getPosition();
ctx.fillRect(position.x, position.y, part.size, part.size);
};
var drawFood = function (ctx, food) {
ctx.fillStyle = 'yellowgreen';
var position = food.getPosition();
ctx.fillRect(position.x, position.y, food.size, food.size);
};
var drawWall = function (ctx, wall) {
ctx.fillStyle = 'black';
var position = wall.getPosition();
ctx.fillRect(position.x, position.y, wall.size, wall.size);
};
function CanvasRenderer(selector) {
if(selector instanceof HTMLCanvasElement){
this.canvas = selector;
this.context = this.canvas.getContext('2d');
} else if(typeof selector === 'String' || typeof selector === 'string'){
this.canvas = document.querySelector(selector);
this.context = this.canvas.getContext('2d');
}
}
CanvasRenderer.prototype = {
draw: function (obj) {
if(obj instanceof snakes.SnakeType){
drawSnake(this.context, obj);
}
else if(obj instanceof snakes.SnakePartType) {
drawSnakePart(this.context, obj);
}
else if(obj instanceof snakes.FoodType) {
drawFood(this.context, obj);
}
else if(obj instanceof snakes.WallType) {
drawWall(this.context, obj);
}
},
clear: function () {
var ctx = this.canvas.getContext('2d');
var w = this.canvas.width;
var h = this.canvas.height;
ctx.clearRect(0, 0, w, h);
}
};
return {
getCanvas: function (selector) {
return new CanvasRenderer(selector);
}
}
}());
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.