planner maps build 1.1

This commit is contained in:
Sendou 2019-07-25 16:26:53 +03:00
parent 59022f5155
commit dbab8493a7
59 changed files with 142 additions and 98 deletions

View File

@ -1,61 +1,62 @@
{
"files": {
"main.js": "/static/js/main.192b03b6.chunk.js",
"main.js.map": "/static/js/main.192b03b6.chunk.js.map",
"main.js": "/static/js/main.df8995ab.chunk.js",
"main.js.map": "/static/js/main.df8995ab.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.a8a9905a.js",
"runtime~main.js.map": "/static/js/runtime~main.a8a9905a.js.map",
"static/js/2.7a85428d.chunk.js": "/static/js/2.7a85428d.chunk.js",
"static/js/2.7a85428d.chunk.js.map": "/static/js/2.7a85428d.chunk.js.map",
"static/js/2.42f6cc1f.chunk.js": "/static/js/2.42f6cc1f.chunk.js",
"static/js/2.42f6cc1f.chunk.js.map": "/static/js/2.42f6cc1f.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.7efce9120a84347a6129e5f10f1151eb.js": "/precache-manifest.7efce9120a84347a6129e5f10f1151eb.js",
"precache-manifest.6888341309774d9ceb58689973f32497.js": "/precache-manifest.6888341309774d9ceb58689973f32497.js",
"service-worker.js": "/service-worker.js",
"static/media/academy-sz-map.png": "/static/media/academy-sz-map.750d725a.png",
"static/media/academy-sz.png": "/static/media/academy-sz.d3862485.png",
"static/media/ancho-v_games.png": "/static/media/ancho-v_games.07d5d0f6.png",
"static/media/arena-sz-map.png": "/static/media/arena-sz-map.ab6337eb.png",
"static/media/arena-sz.png": "/static/media/arena-sz.87122beb.png",
"static/media/arowana_mall.png": "/static/media/arowana_mall.26cf0823.png",
"static/media/blackbelly_skatepark.png": "/static/media/blackbelly_skatepark.a90313b1.png",
"static/media/bridge.png": "/static/media/bridge.fba72008.png",
"static/media/camp-sz-map.png": "/static/media/camp-sz-map.fd12d440.png",
"static/media/camp-sz.png": "/static/media/camp-sz.6143667f.png",
"static/media/camp_triggerfish.png": "/static/media/camp_triggerfish.c698e702.png",
"static/media/canal-sz-map.png": "/static/media/canal-sz-map.2574bf0f.png",
"static/media/canal-sz.png": "/static/media/canal-sz.eb76cfff.png",
"static/media/depot.png": "/static/media/depot.c5459318.png",
"static/media/dome-sz-OLD.png": "/static/media/dome-sz-OLD.ae19b298.png",
"static/media/fitness-sz-map.png": "/static/media/fitness-sz-map.cb897cd4.png",
"static/media/games-sz-map.png": "/static/media/games-sz-map.a24791ba.png",
"static/media/dome-sz.png": "/static/media/dome-sz.b7b1bffd.png",
"static/media/fitness-sz.png": "/static/media/fitness-sz.bdafe738.png",
"static/media/games-sz.png": "/static/media/games-sz.778c3044.png",
"static/media/goby_arena.png": "/static/media/goby_arena.567a4ee9.png",
"static/media/heights.png": "/static/media/heights.7e33477e.png",
"static/media/hotel-sz-map.png": "/static/media/hotel-sz-map.565c49e2.png",
"static/media/hotel-sz.png": "/static/media/hotel-sz.20f89d17.png",
"static/media/humpback_pump_track.png": "/static/media/humpback_pump_track.fac19229.png",
"static/media/inkblot_art_academy.png": "/static/media/inkblot_art_academy.fdae0280.png",
"static/media/institute-sz-map.png": "/static/media/institute-sz-map.660356be.png",
"static/media/institute-sz.png": "/static/media/institute-sz.8d8688d5.png",
"static/media/kelp_dome.png": "/static/media/kelp_dome.6610593e.png",
"static/media/koshienBanner.png": "/static/media/koshienBanner.34fca5d9.png",
"static/media/league.png": "/static/media/league.7aa42d81.png",
"static/media/mahi.png": "/static/media/mahi.0e9369da.png",
"static/media/mainstage-rm-new.png": "/static/media/mainstage-rm-new.50d64707.png",
"static/media/mainstage-sz.png": "/static/media/mainstage-sz.4ba6ac86.png",
"static/media/makomart.png": "/static/media/makomart.8a4f661e.png",
"static/media/mall-sz-map.png": "/static/media/mall-sz-map.18d7f3f2.png",
"static/media/manta-sz-map.png": "/static/media/manta-sz-map.358a54c1.png",
"static/media/mall-sz.png": "/static/media/mall-sz.c34a1b1e.png",
"static/media/manta-sz.png": "/static/media/manta-sz.870da0fb.png",
"static/media/manta_maria.png": "/static/media/manta_maria.38baf9f6.png",
"static/media/mart-sz-map.png": "/static/media/mart-sz-map.735d07fd.png",
"static/media/mart-sz.png": "/static/media/mart-sz.0f0566f2.png",
"static/media/moray_towers.png": "/static/media/moray_towers.4f71cd0b.png",
"static/media/museum.png": "/static/media/museum.176394c2.png",
"static/media/musselforge_fitness.png": "/static/media/musselforge_fitness.a66323de.png",
"static/media/new_albacore_hotel.png": "/static/media/new_albacore_hotel.0c283c87.png",
"static/media/pavilion-sz-map.png": "/static/media/pavilion-sz-map.b72018a6.png",
"static/media/pavilion-sz.png": "/static/media/pavilion-sz.61cf30c5.png",
"static/media/piranha_pit.png": "/static/media/piranha_pit.48621b6f.png",
"static/media/pit-sz-map.png": "/static/media/pit-sz-map.6bbb94c0.png",
"static/media/port-sz-map.png": "/static/media/port-sz-map.78ee3c80.png",
"static/media/pit-rm.png": "/static/media/pit-rm.19f5e757.png",
"static/media/pit-sz.png": "/static/media/pit-sz.61ce26ae.png",
"static/media/port-sz.png": "/static/media/port-sz.a9ebe0b2.png",
"static/media/port_mackerel.png": "/static/media/port_mackerel.d73c53e5.png",
"static/media/pumptrack-sz-map.png": "/static/media/pumptrack-sz-map.250f2d33.png",
"static/media/pumptrack-sz.png": "/static/media/pumptrack-sz.2609303c.png",
"static/media/ranked.png": "/static/media/ranked.415f6ad8.png",
"static/media/reef-sz-new.png": "/static/media/reef-sz-new.f4e0aafd.png",
"static/media/reef-sz.png": "/static/media/reef-sz.ff3eacf5.png",
"static/media/regular.png": "/static/media/regular.4848edcb.png",
"static/media/rig.png": "/static/media/rig.87b5e71c.png",
"static/media/rm.png": "/static/media/rm.ee623ae2.png",
"static/media/shellendorf_institute.png": "/static/media/shellendorf_institute.d6669767.png",
"static/media/shipyard-sz-map.png": "/static/media/shipyard-sz-map.f595739b.png",
"static/media/skatepark-sz-new.png": "/static/media/skatepark-sz-new.4554b1e4.png",
"static/media/shipyard-sz.png": "/static/media/shipyard-sz.12ca03cb.png",
"static/media/skatepark-sz.png": "/static/media/skatepark-sz.1bf144fe.png",
"static/media/skipper_pavilion.png": "/static/media/skipper_pavilion.1b3dbb2a.png",
"static/media/snapper_canal.png": "/static/media/snapper_canal.870cef8e.png",
"static/media/starfish_mainstage.png": "/static/media/starfish_mainstage.10fbda60.png",
@ -63,10 +64,10 @@
"static/media/sz.png": "/static/media/sz.563a7566.png",
"static/media/tc.png": "/static/media/tc.bd2d39a4.png",
"static/media/the_reef.png": "/static/media/the_reef.5b7355e7.png",
"static/media/towers-sz-new-map.png": "/static/media/towers-sz-new-map.f317c025.png",
"static/media/towers-sz.png": "/static/media/towers-sz.e28d053d.png",
"static/media/underpass.png": "/static/media/underpass.c55c527a.png",
"static/media/wahoo_world.png": "/static/media/wahoo_world.27b4f7eb.png",
"static/media/warehouse-sz-map.png": "/static/media/warehouse-sz-map.5255a949.png",
"static/media/world-sz-map.png": "/static/media/world-sz-map.20437c49.png"
"static/media/warehouse-sz.png": "/static/media/warehouse-sz.22172526.png",
"static/media/world-sz.png": "/static/media/world-sz.4932b2c4.png"
}
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="stylesheet" href="//cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>sendou.ink</title></head><body style="background-color:#f2f7fd"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.7a85428d.chunk.js"></script><script src="/static/js/main.192b03b6.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="stylesheet" href="//cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>sendou.ink</title></head><body style="background-color:#f2f7fd"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.42f6cc1f.chunk.js"></script><script src="/static/js/main.df8995ab.chunk.js"></script></body></html>

View File

@ -1,31 +1,31 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "409f5ff80fea3642cec0e58712881ecf",
"revision": "54cd558bfc8f3641d31b17cd0082108a",
"url": "/index.html"
},
{
"revision": "ae2c56d4f915d5b1b1ad",
"url": "/static/js/2.7a85428d.chunk.js"
"revision": "19f9bfc566373c285736",
"url": "/static/js/2.42f6cc1f.chunk.js"
},
{
"revision": "4c37bd3c5224af791a05",
"url": "/static/js/main.192b03b6.chunk.js"
"revision": "18c04211b278cbf2f4d9",
"url": "/static/js/main.df8995ab.chunk.js"
},
{
"revision": "42ac5946195a7306e2a5",
"url": "/static/js/runtime~main.a8a9905a.js"
},
{
"revision": "750d725a5163f7f1c1b8ae8173b9f466",
"url": "/static/media/academy-sz-map.750d725a.png"
"revision": "d38624858e6d0d075e4d6427103af321",
"url": "/static/media/academy-sz.d3862485.png"
},
{
"revision": "07d5d0f61430f1817edfe2dbb733da66",
"url": "/static/media/ancho-v_games.07d5d0f6.png"
},
{
"revision": "ab6337eb0bfd6867ca78df3085780448",
"url": "/static/media/arena-sz-map.ab6337eb.png"
"revision": "87122beb068916c8cfbd4e0ff7b48024",
"url": "/static/media/arena-sz.87122beb.png"
},
{
"revision": "26cf082351f37127260252c125762568",
@ -40,32 +40,32 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/bridge.fba72008.png"
},
{
"revision": "fd12d44054ce8ff12e1f73fd26ccc9b0",
"url": "/static/media/camp-sz-map.fd12d440.png"
"revision": "6143667f5182404a691afa440b4dfa9d",
"url": "/static/media/camp-sz.6143667f.png"
},
{
"revision": "c698e7024cbc51d209ca714ddf966b78",
"url": "/static/media/camp_triggerfish.c698e702.png"
},
{
"revision": "2574bf0f4ac3e35602f44ca3ea48d060",
"url": "/static/media/canal-sz-map.2574bf0f.png"
"revision": "eb76cfff44aa1091b857d0bdeb3ea9ca",
"url": "/static/media/canal-sz.eb76cfff.png"
},
{
"revision": "c5459318010bbec7ac0f9b4ed0625967",
"url": "/static/media/depot.c5459318.png"
},
{
"revision": "ae19b2983e852dd43792cfa5f8242da1",
"url": "/static/media/dome-sz-OLD.ae19b298.png"
"revision": "b7b1bffd70cd8bf7e92c2c252060081d",
"url": "/static/media/dome-sz.b7b1bffd.png"
},
{
"revision": "cb897cd4b157c863276825fcbc063683",
"url": "/static/media/fitness-sz-map.cb897cd4.png"
"revision": "bdafe738904dcac1546e4aebaf7a5fb9",
"url": "/static/media/fitness-sz.bdafe738.png"
},
{
"revision": "a24791baca5dc6cd38a1f625926256d0",
"url": "/static/media/games-sz-map.a24791ba.png"
"revision": "778c3044cfa6392f90f558693fd4543a",
"url": "/static/media/games-sz.778c3044.png"
},
{
"revision": "567a4ee9b0c771d28f94896429a2a92d",
@ -76,8 +76,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/heights.7e33477e.png"
},
{
"revision": "565c49e24b61a992826242dcfb06957c",
"url": "/static/media/hotel-sz-map.565c49e2.png"
"revision": "20f89d17f3cd499e244d8fd54e92b267",
"url": "/static/media/hotel-sz.20f89d17.png"
},
{
"revision": "fac19229b892def33b3a7623e3395626",
@ -88,8 +88,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/inkblot_art_academy.fdae0280.png"
},
{
"revision": "660356bea57824b945d4bb9c337e40e7",
"url": "/static/media/institute-sz-map.660356be.png"
"revision": "8d8688d579384a1828990d37bd162cfc",
"url": "/static/media/institute-sz.8d8688d5.png"
},
{
"revision": "6610593ec2d587f95a48f82f3f31ab2c",
@ -108,28 +108,28 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/mahi.0e9369da.png"
},
{
"revision": "50d647072e6e133f5c31bcf24d66368d",
"url": "/static/media/mainstage-rm-new.50d64707.png"
"revision": "4ba6ac866ecf8c4cb63f9c9ad3e897dd",
"url": "/static/media/mainstage-sz.4ba6ac86.png"
},
{
"revision": "8a4f661e7ea2c4b7d40398ad02639f07",
"url": "/static/media/makomart.8a4f661e.png"
},
{
"revision": "18d7f3f216670bc43dbf16c1dc49f6f5",
"url": "/static/media/mall-sz-map.18d7f3f2.png"
"revision": "c34a1b1e56179d33f7647037baf446a8",
"url": "/static/media/mall-sz.c34a1b1e.png"
},
{
"revision": "358a54c1f816ec32fe11364d4740b325",
"url": "/static/media/manta-sz-map.358a54c1.png"
"revision": "870da0fb8d1c83b2dee1927b5e355e8f",
"url": "/static/media/manta-sz.870da0fb.png"
},
{
"revision": "38baf9f610b7ad757d64a65e4e7459ba",
"url": "/static/media/manta_maria.38baf9f6.png"
},
{
"revision": "735d07fd1bba33dab83aa88922d42cab",
"url": "/static/media/mart-sz-map.735d07fd.png"
"revision": "0f0566f245aa61575c7f38481a70a1a7",
"url": "/static/media/mart-sz.0f0566f2.png"
},
{
"revision": "4f71cd0b781714eab42fdffc7eaeba8d",
@ -148,36 +148,40 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/new_albacore_hotel.0c283c87.png"
},
{
"revision": "b72018a6b5ad3ea4c69abdb485f0329e",
"url": "/static/media/pavilion-sz-map.b72018a6.png"
"revision": "61cf30c52741512e56540947e75c3b11",
"url": "/static/media/pavilion-sz.61cf30c5.png"
},
{
"revision": "48621b6fe27e7cface671a7302437888",
"url": "/static/media/piranha_pit.48621b6f.png"
},
{
"revision": "6bbb94c000db87a3a92f39ad5dc4fdbe",
"url": "/static/media/pit-sz-map.6bbb94c0.png"
"revision": "19f5e757a20a8b72e07ca4287e635c5e",
"url": "/static/media/pit-rm.19f5e757.png"
},
{
"revision": "78ee3c8019acef4896cfa950989216b3",
"url": "/static/media/port-sz-map.78ee3c80.png"
"revision": "61ce26ae94b3ca4970474203543d147b",
"url": "/static/media/pit-sz.61ce26ae.png"
},
{
"revision": "a9ebe0b2ed2f7df7aa62ed5911ad5ccc",
"url": "/static/media/port-sz.a9ebe0b2.png"
},
{
"revision": "d73c53e5b66491368591b9beb0933daa",
"url": "/static/media/port_mackerel.d73c53e5.png"
},
{
"revision": "250f2d33031d216d5bc838b4e88c9d48",
"url": "/static/media/pumptrack-sz-map.250f2d33.png"
"revision": "2609303c83a31605d13c5996d66aeb5c",
"url": "/static/media/pumptrack-sz.2609303c.png"
},
{
"revision": "415f6ad807ea2b730558b437f1929043",
"url": "/static/media/ranked.415f6ad8.png"
},
{
"revision": "f4e0aafddd4797e6bd97bd62f45b1a21",
"url": "/static/media/reef-sz-new.f4e0aafd.png"
"revision": "ff3eacf5fb5074c4b7845cae146aeb90",
"url": "/static/media/reef-sz.ff3eacf5.png"
},
{
"revision": "4848edcb5eba727112fc12301e9bf5cd",
@ -196,12 +200,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/shellendorf_institute.d6669767.png"
},
{
"revision": "f595739bcab46dd285b0a52416e4a1fc",
"url": "/static/media/shipyard-sz-map.f595739b.png"
"revision": "12ca03cbbeda860608747406d76f7ae2",
"url": "/static/media/shipyard-sz.12ca03cb.png"
},
{
"revision": "4554b1e48f21da820b59c5241b7a3e49",
"url": "/static/media/skatepark-sz-new.4554b1e4.png"
"revision": "1bf144fe5b6d1b7b81d7b387f2f9d13e",
"url": "/static/media/skatepark-sz.1bf144fe.png"
},
{
"revision": "1b3dbb2a194816f6fd1c3c52237da7db",
@ -232,8 +236,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/the_reef.5b7355e7.png"
},
{
"revision": "f317c0252ad71f0755db7e1e43e02720",
"url": "/static/media/towers-sz-new-map.f317c025.png"
"revision": "e28d053d64c0e30791c8e3657c38204a",
"url": "/static/media/towers-sz.e28d053d.png"
},
{
"revision": "c55c527ab9b1f079f606848b880b5f4c",
@ -244,11 +248,11 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/media/wahoo_world.27b4f7eb.png"
},
{
"revision": "5255a949abfd90290e227c67a9252ce1",
"url": "/static/media/warehouse-sz-map.5255a949.png"
"revision": "221725268fdcb642e87dffcf2bc11534",
"url": "/static/media/warehouse-sz.22172526.png"
},
{
"revision": "20437c49b39cc1ccc8ef495ff33778ec",
"url": "/static/media/world-sz-map.20437c49.png"
"revision": "4932b2c4791f5e8065cd726e61dc4fc2",
"url": "/static/media/world-sz.4932b2c4.png"
}
]);

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.0/workbox-sw.js");
importScripts(
"/precache-manifest.7efce9120a84347a6129e5f10f1151eb.js"
"/precache-manifest.6888341309774d9ceb58689973f32497.js"
);
self.addEventListener('message', (event) => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 707 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 807 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 717 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 626 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 760 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 734 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 732 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 690 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 KiB

View File

@ -6,7 +6,7 @@ const Footer = () => {
<div style={{"fontSize": "small", "paddingTop": "25px"}} >
<hr />
Website by <a href="https://twitter.com/sendouc">Sendou</a>. Data for the X Rank Leaderboards provided by <a href="https://twitter.com/LeanYoshi">Lean</a>.
Data for the rotations provided by <a href="https://splatoon2.ink/">splatoon2.ink</a>. Map pictures for the planner provided by <a href="https://twitter.com/im_flc">flc</a>.<br />
Data for the rotations provided by <a href="https://splatoon2.ink/">splatoon2.ink</a>. Map pictures for the planner provided by <a href="https://twitter.com/zorg_z0rg_z0r8">zorg</a>.<br />
<Icon name='github' /> Source code for this site is available on <a href="https://github.com/Sendouc/sendou-ink">GitHub</a>
</div>
)

View File

@ -34,6 +34,31 @@ import world from '../img/plannerMaps/world-sz.png'
const MapPlanner = ({ setMenuSelection }) => {
let sketch = null
const isMobile = window.innerWidth <= 1000
const defaultValue = {
shadowWidth: 0,
shadowOffset: 0,
enableRemoveSelected: false,
fillWithColor: false,
fillWithBackgroundColor: false,
drawings: [],
canUndo: false,
canRedo: false,
controlledSize: false,
sketchWidth: 600,
sketchHeight: 600,
stretched: true,
stretchedX: false,
stretchedY: false,
originX: 'left',
originY: 'top',
expandTools: false,
expandControls: false,
expandColors: false,
expandBack: false,
expandImages: false,
expandControlled: false,
enableCopyPaste: false,
}
const fileInput = useRef(null)
const [tool, setTool] = useState(Tools.Pencil)
const [color, setColor] = useState('#f44336')
@ -43,6 +68,7 @@ const MapPlanner = ({ setMenuSelection }) => {
const [text, setText] = useState('')
const [bg, setBg] = useState(reef)
const [uploadError, setUploadError] = useState(null)
const [controlledValue, setControlledValue] = useState(defaultValue)
const tools = [
{ key: 1, text: 'Pencil', value: Tools.Pencil, icon: 'pencil' },
@ -119,29 +145,42 @@ const MapPlanner = ({ setMenuSelection }) => {
}
}
const getDateFormatted = () => {
const today = new Date()
const date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate()
const time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds()
return date+' '+time
}
const download = (dataUrl, extension) => {
console.log('dataUrl', dataUrl)
let a = document.createElement("a")
document.body.appendChild(a)
a.style = "display: none"
a.href = dataUrl
a.download = `${bg.replace('/static/media/', '').split('-')[0]} plans.${extension}`
a.download = `${bg.replace('/static/media/', '').split('-')[0]} plans ${getDateFormatted()}.${extension}`
a.click()
window.URL.revokeObjectURL(dataUrl)
}
const handleUpload = () => {
console.log('fp', fileInput)
if (fileInput.current.files.length === 0) {
console.log('if')
setUploadError('Please upload a file')
setUploadError('Upload file')
setTimeout(() => setUploadError(null), 5000)
}
return
}
const fileObj = fileInput.current.files[0]
const reader = new FileReader()
reader.onload = function(event) {
const jsonObj = JSON.parse(event.target.result)
setControlledValue(jsonObj)
}
reader.readAsText(fileObj)
}
const onBgChange = (value) => {
setBg(value)
sketch.clear()
setBg(value)
setCanUndo(false)
sketch.setBackgroundFromDataUrl(value)
}
@ -152,7 +191,7 @@ const MapPlanner = ({ setMenuSelection }) => {
document.title = 'Planner - sendou.ink'
sketch.setBackgroundFromDataUrl(reef)
}, [sketch, setMenuSelection])
console.log(uploadError)
return (
<div>
<h1>Make your plans!</h1>
@ -173,7 +212,7 @@ const MapPlanner = ({ setMenuSelection }) => {
this.state.controlledSize ? this.state.sketchHeight : null
}*/
/*defaultValue={dataJson}*/
/*value={controlledValue}*/
value={controlledValue}
/*forceValue*/
onChange={onSketchChange}
tool={tool}
@ -187,7 +226,7 @@ const MapPlanner = ({ setMenuSelection }) => {
<Button secondary icon onClick={() => download("data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(sketch.toJSON())), 'json')}><Icon name='cloud download' /> Download as .json</Button>
<Button secondary icon onClick={() => handleUpload()}><Icon name='cloud upload' /> Load from .json</Button>
<input type="file" accept=".json" ref={fileInput}/>
{uploadError && <Label pointing="left" color='red'>{uploadError}</Label>}
{uploadError && <span style={{'color': 'red'}}>{uploadError}</span>}
</div>
<div style={{"paddingTop": "10px"}}>
<Grid columns={3}>