Compare commits

..

No commits in common. "ce164c6af686d774162bbe1a5aa861883e2dd9c6" and "194e8e949c47fd13241ec39e00e8fef8e5e6011f" have entirely different histories.

6 changed files with 4 additions and 384 deletions

View file

@ -2,8 +2,6 @@ import VectorLayer from 'ol/layer/Vector';
import {Vector as VectorSource} from 'ol/source.js'; import {Vector as VectorSource} from 'ol/source.js';
import GeoJSON from 'ol/format/GeoJSON.js'; import GeoJSON from 'ol/format/GeoJSON.js';
import { toLonLat } from 'ol/proj';
import {Style} from 'ol/style.js'; import {Style} from 'ol/style.js';
import Icon from 'ol/style/Icon.js'; import Icon from 'ol/style/Icon.js';
@ -23,23 +21,4 @@ const vectorLayer = new VectorLayer({
}), }),
}); });
vectorLayer.customPopupCallback = async function(feature) {
const fotd_parent = document.createElement('div');
fotd_parent.innerHTML = "Flavor of the Day: ";
document.querySelector('#popup-content').append(fotd_parent);
const fotd_child = document.createElement('span');
fotd_child.innerHTML = "Loading…";
const fotd_image = document.createElement('img')
fotd_parent.append(fotd_child, fotd_image);
const [long, lat] = toLonLat(feature.getGeometry().getCoordinates());
const res = await fetch(`https://corsproxy.io/?${encodeURIComponent(`https://www.culvers.com/api/restaurants/getLocations?lat=${lat}&long=${long}&limit=1`)}`)
const res_data = await res.json();
fotd_child.innerHTML = res_data.data.geofences[0].metadata.flavorOfDayName;
fotd_image.src = `https://cdn.culvers.com/menu-item-detail/${res_data.data.geofences[0].metadata.flavorOfDaySlug}`;
fotd_image.style.width = "min(300px, 60vh)";
}
export default vectorLayer; export default vectorLayer;

View file

@ -5,7 +5,6 @@ import kwikTripLayer from './kwik-trip/layer.js';
import menardsLayer from './menards/layer.js'; import menardsLayer from './menards/layer.js';
import milwaukeeBurgerCompanyLayer from './milwaukee-burger-company/layer.js'; import milwaukeeBurgerCompanyLayer from './milwaukee-burger-company/layer.js';
import punchPizzaLayer from './punch-pizza/layer.js'; import punchPizzaLayer from './punch-pizza/layer.js';
import raisingCanesLayer from './raising-canes/layer.js';
import waffleHouseLayer from './waffle-house/layer.js'; import waffleHouseLayer from './waffle-house/layer.js';
import whataburgerLayer from './whataburger/layer.js'; import whataburgerLayer from './whataburger/layer.js';
@ -40,10 +39,6 @@ const chains = {
name: "Punch Pizza", name: "Punch Pizza",
layer: punchPizzaLayer, layer: punchPizzaLayer,
}, },
{
name: "Raising Cane's",
layer: raisingCanesLayer,
},
{ {
name: "Waffle House", name: "Waffle House",
layer: waffleHouseLayer, layer: waffleHouseLayer,

View file

@ -1,46 +0,0 @@
#!/usr/bin/env python3
import requests
import json
print("Searching for Raising Cane's locations")
response = requests.get('https://raisingcanes.com/page-data/sq/d/3976656178.json').json()
stores = []
for s in response['data']['allPrismicStoreLocation']['nodes']:
if s['uid'] == 'ara2': # Not sure what's up with this one: https://raisingcanes.com/locations/ara2/
continue
elif s['uid'] == 'c524': # Null island? https://raisingcanes.com/locations/c524/
s['data']['coordinates'] = {
"longitude": -111.9811399,
"latitude": 40.5447361,
}
stores.append({
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [float(s['data']['coordinates']['longitude']), float(s['data']['coordinates']['latitude'])], # yes, [lon, lat] since it's [x, y]
},
"properties": {
'name': s['data']['external_location_data']['displayName'],
'nickname': s['data']['external_location_data']['nickname'],
'address': s['data']['external_location_data']['address1'],
'city': s['data']['external_location_data']['city'],
'state': s['data']['external_location_data']['state'],
'zip': s['data']['external_location_data']['postal_code'],
'website': f"https://raisingcanes.com/locations/{s['uid']}",
'opened': s['data']['external_location_data']['birthdate'],
'hours': s['data']['external_location_data']['hours'],
},
})
print(f"""{len(stores)} locations found""")
geojson = {
"type": "FeatureCollection",
"features": stores,
}
with open("data.geojson", "w") as f:
f.write(json.dumps(geojson))

View file

@ -1,24 +0,0 @@
import VectorLayer from 'ol/layer/Vector';
import {Vector as VectorSource} from 'ol/source.js';
import GeoJSON from 'ol/format/GeoJSON.js';
import {Style} from 'ol/style.js';
import Icon from 'ol/style/Icon.js';
import url from './data.geojson?url'; // TODO: remove `?url`?
import pin from './pin.svg?url'; // TODO: remove `?url`?
const vectorLayer = new VectorLayer({
source: new VectorSource({
url: url,
format: new GeoJSON,
}),
style: new Style({
image: new Icon({
anchor: [0.5, 1],
src: pin,
}),
}),
});
export default vectorLayer;

View file

@ -1,278 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 384 512"
width="40px"
height="30px"
version="1.1"
id="svg873"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path
d="m 384,192 c 0,87.4 -117,243 -168.3,307.2 -12.3,15.3 -35.1,15.3 -47.4,0 C 116.1,435 0,279.4 0,192 0,85.96 85.96,0 192,0 245.96029,0 294.73775,22.275796 329.62577,58.136607 363.27205,92.721042 384,139.94065 384,192 Z"
id="path871"
style="fill:#E71A2A;fill-opacity:1" />
<!-- from https://upload.wikimedia.org/wikipedia/commons/9/98/Raising_Cane%27s_Chicken_Fingers_logo.svg -->
<g transform="translate(5,100) scale(1.5)">
<path fill="#020000" d="M124.83,120.17c-33.24,0-64.51-6.16-88.03-17.36C13.1,91.54,0.05,76.48,0.05,60.42S13.1,29.3,36.8,18.03
C60.33,6.83,91.59,0.67,124.83,0.67c33.24,0,64.51,6.16,88.04,17.36c23.7,11.28,36.75,26.33,36.75,42.39s-13.05,31.12-36.75,42.39
C189.34,114.01,158.08,120.17,124.83,120.17"/>
<path fill="#E71A2A" d="M124.83,2.11C56.82,2.11,1.49,28.27,1.49,60.42s55.33,58.31,123.34,58.31
c68.01,0,123.34-26.16,123.34-58.31S192.84,2.11,124.83,2.11z"/>
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="155.9289" y1="113.8372" x2="155.9289" y2="89.4726">
<stop offset="0" style="stop-color:#FCED0D"/>
<stop offset="1" style="stop-color:#FCBD13"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M239.94,101.79c0-6.66-37.61-12.05-84.01-12.05c-46.39,0-84.01,5.4-84.01,12.05
c0,6.65,37.61,12.04,84.01,12.04C202.32,113.84,239.94,108.44,239.94,101.79z"/>
<path fill="#FEBD11" d="M240.46,101.72c-3.66,7.7-37.53,12.72-80.4,12.72c-22.54,0-42.93-1.59-57.57-4.15
c12.36,1,26.71,1.58,42.03,1.58c46.34,0,83.91-5.26,83.91-11.74c0-2.07-3.85-4.02-10.59-5.71
C227.43,94.69,238.54,99.43,240.46,101.72"/>
<path fill="#9C5614" d="M241.34,101.68h-0.04c-0.57,0-1.45,0.11-2.34,0.11c-4.6,7.03-36.79,11.83-79.66,11.83
c-21.61,0-41.36-0.73-55.86-3.05c-0.14-0.01-0.29-0.02-0.43-0.03c14.64,2.56,35.02,4.15,57.57,4.15
C203.45,114.69,237.67,109.38,241.34,101.68z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="225.8625" y1="101.8454" x2="225.8625" y2="93.2201">
<stop offset="0.3463" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#FFE247"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M241.32,101.73L241.32,101.73l-0.31-0.22c-2.75-3.71-19.9-8.29-29.42-8.29
c-0.41,0-0.8,0.01-1.18,0.03c9.54,0.77,23.59,4.85,28.52,8.6h0.03C239.84,101.82,240.63,101.63,241.32,101.73z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="162.3685" y1="113.1394" x2="162.3685" y2="93.5528">
<stop offset="0" style="stop-color:#FDF9D1"/>
<stop offset="0.3758" style="stop-color:#FFFFFF"/>
<stop offset="0.5825" style="stop-color:#FFCB5C"/>
<stop offset="0.7378" style="stop-color:#9D5825"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M231.17,100.36c0.29-3.78-12.74-6.54-22.34-6.81c6.75,1.69,10.66,3.2,10.66,5.28
c0,6.48-37.57,11.73-83.9,11.73c-15.31,0-29.67-0.57-42.02-1.58c14.64,2.56,35.02,4.15,57.57,4.15c27.92,0,53.77-2.51,68.28-6.23
C226.89,105,231,102.52,231.17,100.36z"/>
<path fill="#FEBD11" d="M71.05,101.7c3.66-7.71,37.52-12.73,80.4-12.73c22.54,0,42.93,1.59,57.57,4.15
c-12.36-1-26.71-1.57-42.02-1.57c-46.34,0-83.91,5.25-83.91,11.74c0,2.07,3.84,4.02,10.58,5.71
C84.07,108.73,72.96,103.98,71.05,101.7"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="70.1679" y1="95.2337" x2="208.5011" y2="95.2337">
<stop offset="0" style="stop-color:#FFF9CD"/>
<stop offset="0.0457" style="stop-color:#FFFBDD"/>
<stop offset="0.1206" style="stop-color:#FFFDF0"/>
<stop offset="0.1974" style="stop-color:#FFFFFB"/>
<stop offset="0.278" style="stop-color:#FFFFFF"/>
<stop offset="0.6945" style="stop-color:#FFF9CD"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M70.17,101.74c0.57,0,1.47-0.11,2.38-0.11c4.59-7.03,36.79-11.83,79.66-11.83
c21.61,0,41.37,0.74,55.86,3.05c0.14,0.01,0.29,0.02,0.43,0.03c-14.64-2.56-35.02-4.15-57.57-4.15
C108.05,88.73,73.83,94.04,70.17,101.74z"/>
<path fill="#9C5614" d="M70.19,101.69c0.69,0.11,1.49-0.09,2.38-0.11c1.22,2.64,18.99,7.83,28.53,8.6
c-9.21,0.42-27.73-4.39-30.6-8.26L70.19,101.69z"/>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="148.0342" y1="114.5973" x2="150.0669" y2="85.5274">
<stop offset="0" style="stop-color:#FFFFFF"/>
<stop offset="0.2225" style="stop-color:#FFC43F"/>
<stop offset="0.4433" style="stop-color:#9C5725"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M92.1,96.51c-7.49,1.91-11.59,4.39-11.76,6.55c-0.3,3.78,12.74,6.54,22.34,6.81
c-6.75-1.69-10.66-3.2-10.66-5.28c0-6.48,37.57-11.74,83.91-11.74c15.31,0,29.66,0.58,42.02,1.58
c-14.64-2.56-35.03-4.16-57.57-4.16C132.47,90.27,106.61,92.79,92.1,96.51z"/>
</g>
<path fill="#FFFFFF" d="M155.22,100.47v-2.52l-1.01-1.3h-3.92v3.66l-1.41-2.58h-0.43l-0.59-1.08h-3.93v2.73h0.69v5.16h-0.61
l-0.88-1.21v-0.08h-1.05v-1.53h-0.91v-0.05h2.71v-3.69l-0.91-1.33h-8.18v1l-0.72-0.97l-0.01,0.01v-0.04h-3.3l-0.64,1.3v-0.02
l-0.94-1.29h-4.28v1.16l-0.87-1.16h-4.51c-0.83,0-1.86,0-2.56,0.8c-0.15,0.18-0.25,0.36-0.33,0.53v-0.04l-0.92-1.3h-4.98v0.91
l-0.65-0.91l-0.03,0.01v-0.01h-4.27v1.16l-0.85-1.16h-4v-0.72l-0.97-1.27h-5.35c-0.98,0-2.2,0-3.02,0.94
c-0.62,0.72-0.62,1.55-0.62,2.28v6.34c0,0.67,0.01,2,1.22,2.65c0.24,0.57,0.76,1.1,1.69,1.33c0.54,0.12,1.07,0.12,1.62,0.12h5.58
v-1.05h0.2l0.49,1.09h4.12v-1.09h0.29l0.72,1.09h4.12v-1.09h0.28l0.47,1.08h4.86V106c0.16,0.36,0.4,0.72,0.92,0.98
c0.2,0.53,0.61,1.03,1.49,1.25c0.46,0.11,0.91,0.11,1.36,0.11h4.71v-1.06h0.22l0.65,1.07h4.14v-1.07h0.22l-0.03,0.13l0.9,0.94h4.11
v-1.07h0.19v1.11h8.55v-1.11h0.24l0.82,1.09h3.8l-0.04-3.62l1.34,2.39l0.06,0.1l1.09,1.13h3.86v-2.73h-0.69v-5.16H155.22z
M101.38,104.55h-0.31v-1.06l-0.97-1.27h-3.75v1.92h-0.28v-5.27h0.28v0.32h0.97v1.06h3.61v-0.85h0.46V104.55z M111.43,104.55h-1.12
v-4.07h0.7v-1.09h0.42V104.55z M115.92,105.62v-5.16h0.51v4.21c0,0.24,0,0.59,0.08,0.94H115.92z M125.59,104.55h-0.48v-0.11
l-0.91-1.49h-3.26v-2.42h0.93v1.05h3.12v-2.2h0.61V104.55z M135.48,104.55h-0.7v1.07h-0.25v-3.57h-0.94v-1.06l0.31-0.53h1.1v-1.07
h0.48V104.55z M140.79,100.62h-0.88v-0.05h0.88V100.62z M203.63,103.39v-0.13h-1.08v-1.56h-0.88v-0.05h2.68v-3.69l-0.88-1.3h-8.17
v1.03l-0.78-1.04l0,0h-4.92c-0.91,0-1.97,0-2.59,0.91l-0.78-0.9h-3.92v3.55l-1.43-2.61h-0.48l-0.51-0.94h-3.94v0.8l-0.57-0.8h-4.4
v-0.78l-0.95-1.21h-9.97v3.14h0.85v6.33h-0.85v3.14h0.11l1.04,1h5.64v-3.15h-0.81v-1.9h2.62v-2.82h-0.95v-0.29h3.27v-0.73h0.12
v5.16h-0.7v2.51l-0.12,0.19l1.19,1.01h4.77v-0.98h0.34l0.51,0.94h3.84l-0.05-3.51l1.44,2.57h0.16l0.89,0.94h3.87v-1.63
c0.14,0.14,0.31,0.26,0.49,0.36c0.13,0.35,0.37,0.68,0.79,0.94c0.65,0.4,1.33,0.4,1.92,0.4h5.13v-1.02h0.18l0.56,1.07h8.21v-3.8
L203.63,103.39z M167.27,99.4h-1.24v-0.6h0.29v0.31h0.95V99.4z M176.63,104.55h-0.69v0.98h-0.42v-5.16h0.71v-0.98h0.4V104.55z
M186.52,105.49v-5.16h0.1v4.26c0,0.28,0.01,0.65,0.05,0.89H186.52z M195.28,101.53l-0.58,0.33l0.58-0.68V101.53z M201.26,100.62
h-0.88v-0.16h0v0.11h0.88V100.62z M222.73,102.05c-0.05-0.03-0.11-0.06-0.16-0.09c-0.07-0.22-0.17-0.42-0.34-0.62h1.11v-3.37
l-0.96-1.31h-5.03c-0.58,0-1.46,0-2.13,0.64c-0.58,0.55-0.6,1.18-0.61,1.76v1.66c0.01,0.56,0.03,1.25,0.67,1.85
c0.15,0.14,0.29,0.24,0.45,0.33c0.07,0.22,0.22,0.46,0.42,0.67h-1.39v2.08h-0.4v-0.75c-0.02-0.53-0.07-1.06-0.49-1.55
c-0.13-0.15-0.28-0.26-0.42-0.35c0.95-0.61,0.95-1.55,0.95-2.61c0-0.68,0-1.45-0.68-2.04c-0.16-0.14-0.31-0.23-0.49-0.32
c-0.1-0.28-0.27-0.56-0.55-0.8c-0.65-0.55-1.48-0.57-2.14-0.58l-5.95,0v2.73h0.68v5.16h-0.68v2.73h0.19l1.03,1.11h4.08v-1.97
c0.14,0.5,0.46,0.74,0.98,0.81c0.1,1.14,0.96,1.15,1.86,1.16h2.33v-1.11h0.14l0.66,1.09h4.96c0.54,0,1.11,0,1.67-0.29
c1.13-0.56,1.15-1.61,1.16-2.35v-1.6C223.65,103.52,223.65,102.61,222.73,102.05z M219.13,104.49l-0.15,0.06h-0.83v-0.26
c0.03,0,0.06,0,0.08,0h0.89V104.49z M220.09,100.56c-0.08,0-0.16,0-0.23-0.01l-0.75,0v-0.08h0.98V100.56z"/>
<path fill="#020000" d="M99.63,94.99v3.86h-2.96v-1.37h-1.9v6.98h1.9v-1.92h3.1v4.41h-5.26c-0.53,0-1.03,0-1.54-0.12
c-1.67-0.43-1.69-1.78-1.69-2.61v-6.34c0-0.71,0-1.44,0.54-2.07c0.71-0.81,1.78-0.83,2.78-0.83H99.63z M101.02,99.06h0.7v5.82h-0.7
v2.07h3.58v-4.01h1.51v4.01h3.61v-2.07h-0.7v-5.82h0.7v-2.07h-3.61v3.87h-1.51v-3.87h-3.58V99.06z M111.06,99.06h0.7v5.82h-0.7
v2.07h4.32v-2.07h-0.71v-5.82h0.71v-2.07h-4.32V99.06z M119.51,96.98c-0.83,0-1.72,0.01-2.31,0.69c-0.45,0.52-0.45,1.13-0.45,1.72
v5.28c0,0.69,0.02,1.82,1.4,2.17c0.43,0.1,0.84,0.1,1.28,0.1h4.38v-3.67h-2.58v1.6h-1.59v-5.82h1.59v1.15h2.46v-3.22H119.51z
M130.96,96.98l-2.11,4.32v-4.32h-3.62v2.07h0.69v5.82h-0.69v2.07h3.62v-3.81h1.56v3.81h3.64v-2.07h-0.79v-3.57h-1.83l1.35-2.25
h0.95v-2.07H130.96z M135.11,99.06h0.69v5.82h-0.69v2.07h7.69v-3.36h-2.6v1.29h-1.54v-2.09h2.17v-1.83h-2.17v-1.89h1.54v1.19h2.43
v-3.26h-7.52V99.06z M150.61,96.98v3.99c0,0.78,0,0.99,0.09,1.84c-0.21-0.61-0.27-0.78-0.65-1.46l-2.39-4.38h-3.41v2.07h0.69v5.82
h-0.69v2.07h3.31l-0.06-4.85c-0.01-0.38-0.01-0.54-0.06-0.93c0.22,0.66,0.3,0.86,0.85,1.91l2.18,3.88h3.4v-2.07h-0.69v-5.82h0.69
v-2.07H150.61z M160.37,97.48h0.85v6.98h-0.85v2.49h5.18v-2.49h-0.81v-2.56h2.63v-2.17h-2.63v-2.25h1.9v1.31h3.05v-3.79h-9.32
V97.48z M170.72,99.06h0.69v5.82h-0.69v2.07h4.32v-2.07h-0.71v-5.82h0.71v-2.07h-4.32V99.06z M182.62,96.98v3.99
c0,0.78,0,0.99,0.09,1.84c-0.21-0.61-0.27-0.78-0.65-1.46l-2.39-4.38h-3.41v2.07h0.7v5.82h-0.7v2.07h3.31l-0.06-4.85
c-0.01-0.38-0.01-0.54-0.06-0.93c0.23,0.66,0.3,0.86,0.86,1.91l2.17,3.88h3.4v-2.07h-0.7v-5.82h0.7v-2.07H182.62z M189.59,96.97
c-0.86,0-1.77,0-2.29,0.73c-0.35,0.49-0.35,1.16-0.35,1.72v5.17c0,0.84,0.05,1.54,0.8,2c0.57,0.35,1.18,0.35,1.75,0.35h4.8v-6.03
h-3.63V103h0.87v1.88h-1.66v-5.83h1.66v0.83h2.63v-2.91H189.59z M195.61,99.06h0.33v5.82h-0.33v2.07h7.69v-3.36h-2.6v1.29h-1.54
v-2.09h2.18v-1.83h-2.18v-1.89h1.54v1.19h2.43v-3.26h-7.52V99.06z M204.9,99.06v-2.07h5.56c0.65,0.01,1.42,0.01,2,0.51
c0.57,0.49,0.57,1.14,0.57,1.79c0,1.31-0.01,2.19-1.53,2.65c0.38,0.09,0.76,0.17,1.08,0.52c0.36,0.42,0.39,0.89,0.41,1.34v1.07
h0.71v2.07h-2.01c-1.1-0.01-1.52-0.09-1.54-1.03v-3.02h-1.63v4.05h-3.61v-2.07h0.68v-5.82H204.9 M210.14,99.06h-1.63v1.98h1.63
V99.06z M217.35,96.98c-0.61,0-1.34,0.01-1.91,0.55c-0.49,0.46-0.5,0.99-0.51,1.52v1.65c0.01,0.56,0.04,1.13,0.57,1.62
c0.54,0.52,1.21,0.52,1.83,0.54h2.13v2.01h-1.63v-0.98h-2.75v3.05h4.77c0.53,0,1.03,0,1.52-0.25c0.97-0.48,0.97-1.38,0.98-2.06
v-1.6c0-0.58,0-1.34-0.77-1.81c-0.54-0.34-1.23-0.34-1.81-0.35h-1.95v-1.82h1.63v0.86h2.59v-2.93H217.35z"/>
<path fill="#B4271B" d="M150,10.07c-0.09-0.31-0.18-0.76-0.13-1.4c0.08-0.86,0.48-1.17,1.19-1.17c0.94,0,1.81,0.39,1.63,1.09
c-0.21,0.95-0.23,1.65-0.24,2.32c-0.01,0.56-0.47,0.59-1.08,0.39C150.66,11.07,150.15,10.57,150,10.07z M178.01,14.89
c-0.01,0.59-0.44,1.14-1,1.48c-0.26,0.14-0.33,0.25-0.23,0.31c0.16,0.14,0.09,0.53,0.01,0.81c-0.64,2.96-1.48,5.92-1.95,7.09
c-0.51,1.28-1.28,2.38-2.87,3.41c-1.38,0.92-3.54,1.49-4.38,1.49c-0.46,0-1.04-0.03-1.4-0.11c-0.32-0.09-0.55-0.14-1.07-0.14
c-0.75,0-2.2-0.51-2.19-1.26c0.01-0.67,1.3-1.45,1.98-1.45c0.49,0,1.06,0.31,1.48,0.62c0.45,0.31,0.96,0.62,1.55,0.62
c0.94,0,2.29-0.47,3.74-2.29c0.43-0.54,0.8-1.49,1-2.26c0.32-1.25,0.49-2.01,0.56-2.4c0.03-0.22-0.09-0.2-0.29-0.06
c-0.4,0.28-1.35,0.98-2.47,1.56c-0.69,0.36-2.1,0.98-3.01,0.97c-0.78,0-1.41-0.92-1.4-1.71c-1.77,1.55-3.37,2.06-4.48,2.06
c-1.62,0-2.7-1.46-1.97-4.17c0.28-1.06,0.52-1.79,0.73-2.26c0.13-0.31,0.21-0.5,0.14-0.59c-0.09-0.11-0.26,0-0.75,0.39
c-1.91,1.59-3.57,3.38-5.07,5.27c-0.37,0.47-0.69,0.56-0.89,0.55c-0.42,0-0.71-0.22-0.96-0.53c-0.23-0.22-0.25-0.84-0.07-1.4
c0.07-0.25,0.13-0.49,0.2-0.73c-1.4,1.25-3.08,2.41-4.29,2.82c-0.82,0.28-1.43,0.39-1.99,0.39c-0.49,0-1.13-0.25-1.57-1.12
c-0.28-0.5-0.27-1.01-0.03-1.68c0.21-0.67,0.79-2.21,1.06-2.71c0.17-0.39,2.37-4.67,3.32-4.67c0.19,0,0.67-0.02,0.83,0.09
c0.42,0.28,0.73,0.9,0.4,1.43c-1.04,1.51-1.88,3.07-2.7,5.22c-0.35,0.86-0.29,1.26,0.33,1.26c0.91,0,3.56-1.95,5.44-3.62
c0.58-1.7,1.14-3.02,1.5-3.63c0.57-1.03,1.32-1.31,1.91-1.31c0.91,0,1.08,0.62,1.06,1.2c0,0.2-0.52,0.92-0.82,1.37
c-0.43,0.61-0.74,1.62-0.95,2.09c-0.14,0.31,0.09,0.42,0.39,0.08c0.6-0.56,2.66-2.06,3.63-2.79c0.94-0.72,1.24-0.95,1.81-1.34
c0.27-0.18,0.59-0.44,0.91-0.44c0.39,0,0.75,0.11,1.01,0.31c0.58,0.51,0.5,0.9,0.26,1.43c-0.13,0.25-0.47,0.73-0.77,1.28
c-0.54,0.98-1.19,2.49-1.53,3.6c-0.52,1.68-0.01,2.24,0.51,2.24c0.91,0,2.81-1.52,4.56-3.14c0.3-0.45,0.68-0.94,1.1-1.4
c1.52-1.67,3.33-2.68,4.45-3.23c0.92-0.45,2.26-0.78,2.97-0.78C177.53,13.13,178.02,14.28,178.01,14.89z M176.02,15.84
c0-0.19-0.42-0.53-1.1-0.53c-1.33,0-2.81,0.7-4,1.98c-0.7,0.75-1.6,2.2-1.62,2.93c-0.01,0.25,0.12,0.45,0.35,0.45
c0.78,0,2.43-1.4,2.89-1.81c1.12-0.92,1.56-1.56,1.76-1.81c0.36-0.45,0.76-0.67,1.12-0.76c0.13-0.03,0.29-0.06,0.43-0.14
C175.91,16.09,176.02,15.95,176.02,15.84z M133.12,10.04c-0.09-0.31-0.18-0.76-0.13-1.4c0.08-0.87,0.48-1.17,1.19-1.17
c0.94,0,1.81,0.4,1.64,1.09c-0.22,0.95-0.23,1.65-0.24,2.32c-0.01,0.56-0.46,0.58-1.08,0.39
C133.79,11.05,133.28,10.54,133.12,10.04z M145.6,14.36c-0.01,0.53-0.5,0.75-1.05,0.75c-2.01,0-4.27,0.72-4.29,1.59
c0,0.53,0.4,1.14,0.95,1.79c0.73,0.81,1.2,1.62,1.19,2.35c-0.01,0.42-0.44,1.12-0.84,1.42c-0.43,0.33-1.68,0.92-2.39,1.17
c-0.49,0.16-0.88,0.25-1.24,0.25c-0.88,0-2.1-0.42-2.22-1.04c0-0.19,0.04-0.42,0.27-0.59c0.47-0.45,0.89-0.67,1.19-0.78
c0.3-0.14,0.52-0.14,0.81,0.06c0.33,0.11,0.52,0.17,0.98,0.17c0.42,0,0.69-0.22,0.69-0.39c0.01-0.28-0.28-0.78-0.72-1.31
c-0.31-0.35-0.78-1.07-1.01-1.5c-1.38,1.74-4.27,4.06-6.09,4.68c-0.82,0.28-1.43,0.39-1.99,0.39c-0.49,0-1.13-0.25-1.57-1.12
c-0.28-0.48-0.27-0.93-0.07-1.57c-1.53,1.48-3.39,2.6-4.71,2.6c-1.2,0-2.06-0.9-2.17-2.04c-0.06-0.42-0.05-0.67-0.04-0.98
c-0.03-0.25-0.09-0.25-0.29-0.09c-0.4,0.39-2.14,1.73-3.06,2.29c-0.89,0.56-1.57,0.81-2.26,0.81c-0.39,0-1.65-0.59-1.62-1.65
c0.01-0.56,0.22-1.45,1.29-3.16c0.87-1.48,2.26-2.85,3.65-3.9c1.81-1.34,3.21-1.45,3.57-1.45c0.46,0,0.81,0.36,1,0.59
c0.06,0.17,0.22,0.17,0.42,0.06c0.26-0.19,0.49-0.25,0.78-0.08c0.9,0.45,0.73,0.78,0.63,1.04c-0.88,1.65-1.49,3.38-1.53,5.05
c-0.02,0.98,0.3,1.37,0.79,1.37c0.69,0,2.67-1.46,4.61-3.6c0.56-0.77,2.57-4.44,3.46-4.44c0.19,0,0.57,0.09,0.73,0.2
c0.41,0.28,0.73,0.9,0.4,1.43c-1.04,1.51-1.88,3.07-2.7,5.22c-0.34,0.86-0.29,1.26,0.33,1.26c1.02,0,4.25-2.47,6.11-4.23
c0.09-0.99,1.08-2.02,2-2.64c1.02-0.75,2.72-1.22,3.79-1.22c0.81,0,1.3,0.14,1.71,0.4C145.49,13.75,145.61,14.03,145.6,14.36z
M122.05,15.78c-0.09-0.25-0.35-0.59-0.77-0.59c-0.29,0-0.82,0.34-1.78,1.28c-1.13,1.12-2.06,2.68-2.28,3.43
c-0.1,0.36-0.05,0.75,0.21,0.75c0.26,0,0.75-0.28,1.25-0.64c0.56-0.39,1.02-0.92,2.02-1.9c0.46-0.45,0.99-1.23,1.13-1.42
C122.04,16.42,122.15,16.06,122.05,15.78z M114.81,24.11c-1.82-2.04-2.81-3.42-4.52-5.55l-0.22-0.28c0.23-0.12,0.46-0.22,0.71-0.29
l0.63-0.2c0.46-0.15,0.98-0.32,1.33-0.47c2.29-1.02,5.52-2.82,5.56-4.99c0.01-0.59-0.03-1.16-0.42-1.79
c-0.86-1.28-3.08-2.47-6.08-2.51c-0.4,0-4.29,0.09-5.69,0.29c-1,0.14-1.62,0.16-2.13,0.23c-0.48,0.06-0.86,0.16-1.44,0.47
c-0.18,0.09-0.65,0.79-1.05,1.57c-0.19,0.37-0.33,0.71-0.41,0.98c1.58-0.18,2.74-0.33,3.99-0.49l0.51-0.06l-0.18,0.46
c-1.17,2.82-6.25,14.63-6.78,16.02c0.02,0.03,0.08,0.08,0.22,0.13c0.27,0.1,0.68,0.17,1.16,0.18c0.46,0.02,0.95-0.01,1.34-0.07
c0.18-0.03,0.34-0.06,0.47-0.1c0.06-0.02,0.1-0.04,0.18-0.11c0.51-0.41,3.37-7.12,3.98-8.61l0.22-0.52l0.32,0.47
c2.07,3.05,4.74,5.98,7.98,8.99c0.57,0.52,2.71-0.8,2.99-0.97C116.41,25.89,115.92,25.36,114.81,24.11z M106.84,16.72l0.14-0.38
c0.63-1.67,1.37-3.18,2.18-5.41l0.06-0.17l0.19-0.02c0.5-0.04,1.46-0.06,1.92-0.06c0.8,0,1.72,0.04,2.43,0.26
c0.72,0.22,1.34,0.65,1.33,1.49c-0.02,0.87-2.28,2.37-4.33,3.24c-1.42,0.61-3.13,1.05-3.5,1.05H106.84z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFF101" d="M148.79,8.91c-0.09-0.31-0.18-0.76-0.13-1.4
c0.08-0.86,0.48-1.17,1.19-1.17c0.94,0,1.81,0.39,1.63,1.09c-0.21,0.95-0.23,1.65-0.24,2.32c-0.01,0.56-0.47,0.59-1.08,0.39
C149.45,9.92,148.94,9.42,148.79,8.91z M176.81,13.74c-0.01,0.59-0.44,1.14-1,1.48c-0.26,0.14-0.33,0.25-0.23,0.31
c0.16,0.14,0.09,0.53,0.01,0.81c-0.64,2.96-1.48,5.92-1.95,7.09c-0.51,1.28-1.28,2.38-2.87,3.41c-1.38,0.92-3.54,1.49-4.38,1.49
c-0.46,0-1.04-0.03-1.4-0.11c-0.32-0.09-0.55-0.14-1.07-0.14c-0.75,0-2.2-0.51-2.19-1.26c0.01-0.67,1.3-1.45,1.98-1.45
c0.49,0,1.06,0.31,1.48,0.62c0.45,0.31,0.96,0.62,1.55,0.62c0.94,0,2.29-0.47,3.74-2.29c0.43-0.54,0.8-1.49,1-2.26
c0.32-1.25,0.49-2.01,0.56-2.4c0.03-0.22-0.09-0.2-0.29-0.06c-0.4,0.28-1.35,0.98-2.47,1.56c-0.69,0.36-2.1,0.98-3.01,0.97
c-0.78,0-1.41-0.92-1.4-1.71c-1.77,1.55-3.37,2.06-4.48,2.06c-1.62,0-2.7-1.46-1.97-4.17c0.28-1.06,0.52-1.79,0.73-2.26
c0.13-0.31,0.21-0.5,0.14-0.59c-0.09-0.11-0.26,0-0.75,0.39c-1.91,1.59-3.57,3.38-5.07,5.27c-0.37,0.47-0.69,0.56-0.89,0.55
c-0.42,0-0.71-0.22-0.96-0.53c-0.23-0.22-0.25-0.84-0.07-1.4c0.07-0.25,0.13-0.49,0.2-0.73c-1.4,1.25-3.08,2.41-4.29,2.82
c-0.82,0.28-1.43,0.39-1.99,0.39c-0.49,0-1.13-0.25-1.57-1.12c-0.28-0.5-0.27-1.01-0.03-1.68c0.21-0.67,0.79-2.21,1.06-2.71
c0.17-0.39,2.37-4.67,3.32-4.67c0.19,0,0.67-0.02,0.83,0.09c0.42,0.28,0.73,0.9,0.4,1.43c-1.04,1.51-1.88,3.07-2.7,5.22
c-0.35,0.86-0.29,1.26,0.33,1.26c0.91,0,3.56-1.95,5.44-3.62c0.58-1.7,1.14-3.02,1.5-3.63c0.57-1.03,1.32-1.31,1.91-1.31
c0.91,0,1.08,0.62,1.06,1.2c0,0.2-0.52,0.92-0.82,1.37c-0.43,0.61-0.74,1.62-0.95,2.09c-0.14,0.31,0.09,0.42,0.39,0.08
c0.6-0.56,2.66-2.06,3.63-2.79c0.94-0.72,1.24-0.95,1.81-1.34c0.27-0.18,0.59-0.44,0.91-0.44c0.39,0,0.75,0.11,1.01,0.31
c0.58,0.51,0.5,0.9,0.26,1.43c-0.13,0.25-0.47,0.73-0.77,1.28c-0.54,0.98-1.19,2.49-1.53,3.6c-0.52,1.68-0.01,2.24,0.51,2.24
c0.91,0,2.81-1.52,4.56-3.14c0.3-0.45,0.68-0.94,1.1-1.4c1.52-1.67,3.33-2.68,4.45-3.23c0.92-0.45,2.26-0.78,2.97-0.78
C176.32,11.98,176.82,13.13,176.81,13.74z M174.81,14.69c0-0.19-0.42-0.53-1.1-0.53c-1.33,0-2.81,0.7-4,1.98
c-0.7,0.75-1.6,2.2-1.62,2.93c-0.01,0.25,0.12,0.45,0.35,0.45c0.78,0,2.43-1.4,2.89-1.81c1.12-0.92,1.56-1.56,1.76-1.81
c0.36-0.45,0.76-0.67,1.12-0.76c0.13-0.03,0.29-0.06,0.43-0.14C174.71,14.94,174.81,14.8,174.81,14.69z M131.92,8.89
c-0.09-0.31-0.18-0.76-0.13-1.4c0.08-0.87,0.48-1.17,1.19-1.17c0.94,0,1.81,0.4,1.64,1.09c-0.22,0.95-0.23,1.65-0.24,2.32
c-0.01,0.56-0.46,0.58-1.08,0.39C132.58,9.89,132.07,9.39,131.92,8.89z M144.4,13.21c-0.01,0.53-0.5,0.75-1.05,0.75
c-2.01,0-4.27,0.72-4.29,1.59c0,0.53,0.4,1.14,0.95,1.79c0.73,0.81,1.2,1.62,1.19,2.35c-0.01,0.42-0.44,1.12-0.84,1.42
c-0.43,0.33-1.68,0.92-2.39,1.17c-0.49,0.16-0.88,0.25-1.24,0.25c-0.88,0-2.1-0.42-2.22-1.04c0-0.19,0.04-0.42,0.27-0.59
c0.47-0.45,0.89-0.67,1.19-0.78c0.3-0.14,0.52-0.14,0.81,0.06c0.33,0.11,0.52,0.17,0.98,0.17c0.42,0,0.69-0.22,0.69-0.39
c0.01-0.28-0.28-0.78-0.72-1.31c-0.31-0.35-0.78-1.07-1.01-1.5c-1.38,1.74-4.27,4.06-6.09,4.68c-0.82,0.28-1.43,0.39-1.99,0.39
c-0.49,0-1.13-0.25-1.57-1.12c-0.28-0.48-0.27-0.93-0.07-1.57c-1.53,1.48-3.39,2.6-4.71,2.6c-1.2,0-2.06-0.9-2.17-2.04
c-0.06-0.42-0.05-0.67-0.04-0.98c-0.03-0.25-0.09-0.25-0.29-0.09c-0.4,0.39-2.14,1.73-3.06,2.29c-0.89,0.56-1.57,0.81-2.26,0.81
c-0.39,0-1.65-0.59-1.62-1.65c0.01-0.56,0.22-1.45,1.29-3.16c0.87-1.48,2.26-2.85,3.65-3.9c1.81-1.34,3.21-1.45,3.57-1.45
c0.46,0,0.81,0.36,1,0.59c0.06,0.17,0.22,0.17,0.42,0.06c0.26-0.19,0.49-0.25,0.78-0.08c0.9,0.45,0.73,0.78,0.63,1.04
c-0.88,1.65-1.49,3.38-1.53,5.05c-0.02,0.98,0.3,1.37,0.79,1.37c0.69,0,2.67-1.46,4.61-3.6c0.56-0.77,2.57-4.44,3.46-4.44
c0.19,0,0.57,0.09,0.73,0.2c0.41,0.28,0.73,0.9,0.4,1.43c-1.04,1.51-1.88,3.07-2.7,5.22c-0.34,0.86-0.29,1.26,0.33,1.26
c1.02,0,4.25-2.47,6.11-4.23c0.09-0.99,1.08-2.02,2-2.64c1.02-0.75,2.72-1.22,3.79-1.22c0.81,0,1.3,0.14,1.71,0.4
C144.28,12.6,144.4,12.88,144.4,13.21z M120.85,14.62c-0.09-0.25-0.35-0.59-0.77-0.59c-0.29,0-0.82,0.34-1.78,1.28
c-1.13,1.12-2.06,2.68-2.28,3.43c-0.1,0.36-0.05,0.75,0.21,0.75c0.26,0,0.75-0.28,1.25-0.64c0.56-0.39,1.02-0.92,2.02-1.9
c0.46-0.45,0.99-1.23,1.13-1.42C120.83,15.27,120.94,14.9,120.85,14.62z M112.4,22.96c-1.82-2.04-2.81-3.41-4.52-5.55l-0.22-0.27
c0.36-0.19,0.7-0.3,1.33-0.49c0.46-0.15,0.98-0.32,1.33-0.47c2.29-1.02,5.52-2.82,5.56-4.98c0.01-0.59-0.03-1.17-0.42-1.79
c-0.86-1.28-3.08-2.47-6.08-2.51c-0.4,0-4.29,0.09-5.69,0.29c-1,0.14-1.62,0.16-2.14,0.23c-0.48,0.06-0.86,0.16-1.43,0.46
c-0.18,0.1-0.66,0.79-1.05,1.57c-0.19,0.37-0.33,0.71-0.41,0.98c1.58-0.19,2.74-0.34,3.99-0.49l0.51-0.06l-0.19,0.46
c-1.17,2.82-6.25,14.64-6.77,16.02c0.02,0.03,0.08,0.08,0.22,0.13c0.27,0.1,0.68,0.16,1.16,0.18c0.46,0.02,0.95-0.01,1.34-0.07
c0.18-0.03,0.34-0.06,0.46-0.1c0.06-0.02,0.11-0.04,0.19-0.11c0.51-0.41,3.36-7.13,3.98-8.61l0.22-0.52l0.32,0.47
c2.07,3.05,4.74,5.98,7.98,8.99c0.57,0.52,2.71-0.79,2.98-0.97C113.99,24.74,113.51,24.21,112.4,22.96z M104.43,15.57l0.15-0.38
c0.63-1.67,1.37-3.18,2.17-5.4l0.06-0.18l0.19-0.02c0.5-0.05,1.46-0.06,1.91-0.06c0.81,0,1.72,0.04,2.44,0.26
c0.72,0.22,1.34,0.66,1.33,1.5c-0.02,0.87-2.28,2.37-4.33,3.23c-1.42,0.61-3.13,1.05-3.5,1.05H104.43z"/>
<path fill="#020000" d="M248.91,40.84l0.02-0.03l-1.92-0.28c-4.9-0.72-10.4,2.84-14.04,5.98c-0.22-0.58-0.45-1.14-0.71-1.75
c-0.06-0.58-0.15-1.21-0.27-1.85c-0.48-2.68-2.39-6.69-4.07-10.22c-0.11-0.24-0.24-0.5-0.35-0.74c0.49-1.56,1.92-2.84,3.41-3.84
c0.44-0.27,0.88-0.48,1.36-0.69c0.24-0.1,0.4-0.21,0.53-0.37c0.74-0.92-1-6.04-2.23-9.25c-0.16-0.51-0.46-1.25-0.75-1.91
c-1.01-2.28-2.56-5.02-4.15-5.11c-0.63-0.03-1.08,0.12-1.47,0.29c-0.83,0.35-1.74,1.08-2.3,1.65c-1,0.99-1.93,2.1-2.87,3.39
c0.71-1.67,0.97-3.24,1.1-4.64c0.17-1.88-0.36-3.65-1.51-4.91l-4.08-3.33l-1.77,1.53c-6.18,0.82-8.86,7.47-7.21,11.44
c0.32,0.76,0.57,1.4,1.75,2.18c0.45,0.3,1,0.54,1.79,0.93c-0.41,1.27-8.17,2.19-6.98,3.83c1.42,1.95,2.89,3.29,6.33,2.05
c0.76-0.18,3.38-1.56,4.72-2.46c1.35-0.91,2.38-1.8,3.24-2.71c-1.77,2.87-3.44,5.98-5.12,9.11c-2.09,3.89-4.04,7.53-6.02,10.45
c0.38-3.18-0.23-6.43-1.82-8.63c-0.04-2.84-0.81-5.51-2.27-7.45c-2.73-3.62-8.87-6.2-15.91-3.34c-5.39,2.19-10.43,6.89-14.89,13.77
c-1.38-3.33-4.61-6.28-9.13-7.52c-0.67-0.18-1.29-0.15-1.94,0.06c-3.72-0.58-7.7,0.77-10.98,2.92c-0.03-0.37-0.17-0.65-0.28-0.82
c-0.64-0.97-1.99-0.97-2.43-0.97c-3.43,0-9.71,1.51-12.21,2.24c-1.74,0.51-2.35,1.96-2.75,2.93c-0.06,0.14-0.12,0.28-0.18,0.42
c-0.06,0.12-0.25,0.57-0.56,1.24c0.12-2.7-4.77-3.57-6.71-3.54c-0.31,0.01-0.63,0.11-0.91,0.28c-0.18-0.01-0.32,0-0.44,0
c-3.4,0.06-6.95,1.07-9.33,1.83c-0.22,0.07-0.43,0.13-0.63,0.2c-1.64,0.51-3.06,0.94-3.96,2.57c-0.02,0.04-0.04,0.07-0.06,0.11
c-1.44-2.27-3.79-3.84-6.75-4.46c-2.46-0.52-4.92-0.33-7.5,0.51c1.57-5.03,0.92-9.88-1.14-13.85c-0.26-2.9-1.18-5.76-2.75-8.36
c-3.55-5.86-9.87-9.57-16.5-9.66c-4.01-0.06-7.79,0.53-11.53,1.81c-9.15,3.13-18.14,9.62-26,18.77
c-7.16,8.32-12.58,16.7-16.58,25.6c-4.86,10.82-7.56,21.41-8.23,32.4c-0.58,9.36,1.72,16.97,6.82,22.61
c0.24,0.26,0.53,0.58,0.77,0.83c0.9,1.71,2.02,3.35,3.4,4.88c5.31,5.86,11.8,9.19,22.42,7.98c15.36-1.75,25.27-12.62,30.3-20.17
c1.42-2.13,2.07-3.43,2.29-3.94c0.46,0.37,0.96,0.7,1.51,0.99c7.72,4.11,15.63-5.07,17.7-7.74c-0.4,2.25,2.07,6.32,6.88,5.71
c4.3-0.55,7.03-2.63,10.64-6.13c0.16,0.34,0.35,0.69,0.5,0.97c0.33,0.64,0.55,0.97,1.34,1.04c2.39,0.2,9.85-1.29,12.14-1.65
c0.85-0.13,1.31-0.82,1.65-1.47c1.01-1.93,10.97-24.05,13.05-28.84c0.61-1.4,1.52-2.84,2.44-3.93c-2.01,4.74-4.44,10.74-5.64,14.85
c-0.75,2.54-0.81,4.95-0.18,6.9c-0.06,0.8,0.06,1.56,0.45,2.23c0.91,1.55,3.85,7.01,8.97,8.41c8.02,2.19,14.27-5.38,16.85-8.51
l0.3-0.61c0.84,3.28,3.39,5.1,6.14,6.42c7.48,3.58,14.71-1.2,18.32-3.94c4.57-3.47,8.3-7.22,11.43-10.86
c0.31,0.67,2.7,3.67,3.17,4.4c1.89,2.91,6.03,5.48,12.76,4.74c6.06-0.67,10.83-5.55,13.12-8.69c2.52-3.47,8.11-8.54,12.22-9.08
c1.26-0.16,2.2-0.08,2.86,0.06c1.43-2.56,2.75-4.88,4.44-7.68L248.91,40.84z M70.19,39.29c0.58,2.76,3.86,5.88,6.96,7.61
c-1.03,1.61-2.03,3.32-3,5.15c-4.34,8.19-5.36,14.66-5.75,19.38c-0.18,2.11-0.21,6.03,1.36,9.55c-0.51,0.73-1.04,1.46-1.58,2.01
c-0.1,0.1-0.22,0.23-0.36,0.37c-6.39,6.54-12.78,9.9-19.01,9.98c-1.83,0.02-8.09-0.22-11.7-4.39c-0.82-0.95-1.48-1.99-2.02-3.07
c-0.1-0.76-0.17-1.49-0.21-2.18c-0.51-10.09,4.45-22.91,10.75-35.62c4.27-8.63,8.93-15.04,13.25-19.37
c7.39-7.41,13.97-10.14,16.07-10.66c0.98-0.24,1.92-0.42,2.77-0.49c-0.28,0.38-0.6,0.78-0.98,1.22c-3.5,3.97-5.05,5.56-7.01,7.57
c-0.61,0.63-1.27,1.3-2.02,2.08c-0.11,0.12-0.23,0.23-0.35,0.35c-0.78,0.76-1.95,1.9-1.74,3.72C65.9,34.87,67.88,37.37,70.19,39.29
z M92.14,80.45c0.02-0.03,0.05-0.05,0.08-0.08c0.01,0.02,0.02,0.03,0.03,0.05C92.21,80.43,92.17,80.44,92.14,80.45z M93.59,68.56
l-0.1,0.25c-0.99,2.39-4.14,5.14-6.29,5.04c0.18-0.77,0.41-1.6,0.65-2.41c0.73-2.43,2.27-6.06,3.34-8.11
c2.71-5.22,4.21-7.6,7.57-11.31c0.64-0.71,1.58-1.3,2.55-1.68C98.88,55.82,95.96,62.85,93.59,68.56z M217.35,52.23
c-1.29,4.33-4.34,6.69-8.62,6.62c-0.92-0.01-1.73-0.16-2.38-0.35c1.23-1.65,2.35-3.25,3.37-4.68c1.99-2.8,4.97-7.26,7.64-11.45
C217.84,45.85,218.1,49.72,217.35,52.23z"/>
<path fill="#020000" d="M204.9,23.02c-3.45,1.25-3.42-0.89-1.93-2.26c1.48-1.37,2.8-2.64,3.21-3.9c-0.79-0.39-1.34-0.63-1.8-0.93
c-1.19-0.78-1.43-1.42-1.75-2.18c-1.65-3.97,1.03-10.62,7.21-11.44c5.01-0.67,7.71,2.79,7.35,6.7c-0.29,3.13-1.62,7.39-6.95,11.26
C208.93,21.24,205.65,22.84,204.9,23.02"/>
<path fill="#FFFFFF" d="M176.76,51.8c7.2-3.4,14.82-10.37,15.82-17.89c0.4-3.08-1.73-3.31-3.78-1.86
C182.04,36.86,177.26,49.03,176.76,51.8 M102.93,49.84c1.07-2.4,0.6-5.22-1.34-6.28c-1.46-0.79-4.55,0.22-6.06,1.88
c-3.35,3.71-4.85,6.09-7.56,11.31c-1.07,2.06-2.6,5.68-3.34,8.11c-1.3,4.3-1.67,9.4,1.95,10.2c3.01,0.66,6.94-2.96,8.11-5.76
C97.25,63.09,100.4,55.52,102.93,49.84 M111.81,77.63c0.28-0.79,0.85-1.6,1.29-2.68c-3.61,3.5-8.94,7.69-13.24,8.24
c-4.81,0.61-7.28-3.47-6.88-5.71c-2.07,2.66-9.98,11.84-17.7,7.74c-0.55-0.29-1.05-0.63-1.51-1c-0.23,0.51-0.87,1.82-2.29,3.94
c-5.03,7.55-14.94,18.42-30.3,20.17c-10.62,1.21-17.11-2.12-22.41-7.98c-5.6-6.18-6.95-14.18-6.49-21.66
c0.74-11.97,3.86-22.46,8.12-31.96c4.22-9.39,9.87-17.72,16.38-25.29c7.64-8.89,16.4-15.3,25.44-18.39
c3.51-1.2,7.12-1.8,11.09-1.74C85.64,1.5,96.02,14.96,89.18,28.52c-3.07,6.08-6.89,9.83-10.49,12.26c-0.94,0.64-1.62,0.81-2.2,0.65
c-3.59-1-9.16-5.41-9.6-9.1c-0.17-1.4,0.95-2.21,1.74-3.03c3.15-3.28,4.44-4.44,9.07-9.69c1.83-2.08,3.06-4.29,2.39-5.87
c-1.3-3.06-4.34-3.29-8.37-2.28c-2.11,0.52-8.68,3.25-16.08,10.66c-4.33,4.33-8.98,10.74-13.25,19.37
c-6.29,12.71-11.26,25.54-10.75,35.62c0.2,3.85,1.27,8.96,4.48,12.67c3.19,3.69,8.52,4.89,12.69,4.83
c10.51-0.14,18.5-8.96,20.27-10.73c0.78-0.78,1.5-1.86,2.16-2.8c-1.58-3.02-1.8-6.73-1.56-9.56c0.33-3.98,1.17-10.53,5.6-18.88
c6.48-12.21,16-22.02,25.65-19.99c4.07,0.85,6.27,3.59,7,6.38c0.47-1.16,0.73-1.81,1.2-2.66c0.73-1.33,1.94-1.55,3.85-2.16
c2.54-0.81,5.82-1.71,8.96-1.77c2.07-0.03,2.31,0.75,1.25,3.33c-0.59,1.42-13.38,29.04-14.47,31.2c-3,5.94-0.12,5.34,1.4,4.62
c2.22-1.04,4.89-3.15,7.33-6.23c5.65-12.44,13.83-30.73,14.25-31.66c0.43-0.95,0.76-2.25,2.11-2.65c2.76-0.81,8.71-2.19,11.85-2.19
c0.89,0,1.68,0.21,1.36,0.96c-0.5,1.16-1.55,2.7-2.19,4.36c3.21-3.85,9.44-7.48,14.76-6.38c5.3,1.1,7.16,7.18,4.91,12.58
c-2.25,5.39-8.87,20.44-9.61,22.3c-1.15,2.85,0.29,4.08,2.21,3.15c1.78-0.86,3.98-3.69,5.47-5.9c-0.02-4.4,0.95-9.1,2.5-12.84
c3.03-7.32,9.76-21.29,20.74-25.76c6.62-2.69,12.09-0.13,14.4,2.93c2.42,3.2,2.68,8.83,0.64,13.23c-2.32,4.99-4.91,8.32-8.57,11.53
c-4.06,3.55-9.24,6.27-16.72,8.37c-0.21,4.27,0,5.76,1.79,7.07c1.4,1.03,4.94,0.64,7.86-1.26c3.11-2.02,6.8-5.06,10.6-9.2
c3.29-3.6,6.55-7.9,10.26-13.21c5.36-7.68,10.77-21.19,16.81-27.17c0.57-0.57,1.34-1.14,1.89-1.37c0.32-0.14,0.56-0.21,0.89-0.19
c1.36,0.08,4.82,7.37,3.97,8.41c-0.13,0.16-0.28,0.27-0.53,0.37c-0.49,0.21-0.92,0.42-1.37,0.69c-2.07,1.4-4.03,3.33-3.51,5.81
c0.55,2.65,5.69,11.42,6.47,15.79c0.49,2.77,0.48,4.91-0.09,7.46c3.06-3.54,10.39-9.65,16.19-8.8c-1.69,2.8-3.01,5.12-4.44,7.68
c-0.67-0.14-1.6-0.22-2.86-0.06c-4.12,0.53-9.7,5.61-12.22,9.08c-2.28,3.14-7.06,8.02-13.12,8.69c-6.72,0.74-10.86-1.83-12.76-4.74
c-0.47-0.73-0.87-1.56-1.13-2.22l2.1-2.53c0.31,0.36,0.71,0.76,1.1,0.98c0.81,0.45,2.58,1.42,5.2,1.46
c4.47,0.07,8.33-2.34,9.88-7.54c1.65-5.55-1.15-16.63-1.26-18.22c-0.11-1.61-0.13-2.49,0.02-3.75c-3.07,5.15-8,12.6-10.85,16.62
c-4.27,6.03-10.19,14.47-19.66,21.67c-3.61,2.74-10.83,7.53-18.31,3.94c-2.76-1.32-4.43-3.99-5.27-7.28
c-0.07,0.09-0.14,0.18-0.22,0.28c-2.58,3.13-9.79,11.88-17.81,9.69c-5.13-1.4-6.17-5.9-4.78-10.61c1.72-5.84,5.9-15.52,8.1-20.47
c0.53-1.2,1.61-4.82-0.47-5.1c-2.83-0.38-6.98,3.34-8.88,7.72c-2.09,4.79-12.05,26.91-13.06,28.84c-0.34,0.65-0.8,1.34-1.65,1.47
c-2.29,0.36-9.76,1.86-12.14,1.65C111.55,78.99,111.52,78.43,111.81,77.63 M204.91,21.72c1.83-1.77,4.06-3.91,2.82-5.98
c-0.28-0.46-1.79-1.07-2.26-1.3c-1.65-0.82-2.37-2.76-1.8-5.24c0.85-3.76,3.86-5.75,6.53-6c4.38-0.41,7.06,3.43,4.57,9.49
C213.05,16.88,208.5,20.53,204.91,21.72"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 30 KiB

14
main.js
View file

@ -119,14 +119,8 @@ for (let category of layerCategories) {
document.querySelector("aside").appendChild(catDiv); document.querySelector("aside").appendChild(catDiv);
} }
const urlParams = new URLSearchParams(window.location.search);
const urlLayers = urlParams.getAll('layer');
for (let category of layerCategories) { for (let category of layerCategories) {
for (let layer of category.layers) { for (let layer of category.layers) {
if (urlLayers.includes(layer.name)) {
layer.enabled = true;
}
if (layer.enabled) { if (layer.enabled) {
map.addLayer(layer.layer); map.addLayer(layer.layer);
} }
@ -140,7 +134,7 @@ function objectToTable(o) {
if (typeof value === "object") { if (typeof value === "object") {
value = objectToTable(value); value = objectToTable(value);
} }
if (typeof value === "string" && /^https?:\/\//.test(value)) { if (typeof value === "string" && value.startsWith('https://')) {
value = `<a href="${value}">${value}</a>` value = `<a href="${value}">${value}</a>`
} }
table += `<tr><td style="border: 1px solid;">${key}</td><td style="border: 1px solid;">${value}</td></tr>`; table += `<tr><td style="border: 1px solid;">${key}</td><td style="border: 1px solid;">${value}</td></tr>`;
@ -161,15 +155,15 @@ map.on('click', function (evt) {
} }
if (layer.hasOwnProperty('customPopup')) { if (layer.hasOwnProperty('customPopup')) {
content.innerHTML = layer.customPopup(feature); content.innerHTML = layer.customPopup(feature);
if (layer.hasOwnProperty('customPopupCallback')) {
layer.customPopupCallback(feature);
}
} else { } else {
// exclude geometry -- https://stackoverflow.com/a/208106 // exclude geometry -- https://stackoverflow.com/a/208106
const {geometry: _, ...featureData} = feature.getProperties(); const {geometry: _, ...featureData} = feature.getProperties();
content.innerHTML = objectToTable(featureData); content.innerHTML = objectToTable(featureData);
} }
if (layer.hasOwnProperty('customPopupCallback')) {
layer.customPopupCallback(feature);
}
popupOverlay.setPosition(evt.coordinate); popupOverlay.setPosition(evt.coordinate);