-
Notifications
You must be signed in to change notification settings - Fork 2
/
Optimized.html
32 lines (29 loc) · 22.4 KB
/
Optimized.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta content="ie=edge" http-equiv="x-ua-compatible"><title>Kepler.gl</title><link href="https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/uber-fonts/4.0.0/superfine.css" rel="stylesheet"><link href="https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css" rel="stylesheet"><script src="https://unpkg.com/[email protected]/umd/react.production.min.js" crossorigin></script><script src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js" crossorigin></script><script src="https://unpkg.com/[email protected]/dist/redux.js" crossorigin></script><script src="https://unpkg.com/[email protected]/dist/react-redux.min.js" crossorigin></script><script src="https://unpkg.com/[email protected]/dist/react-intl.min.js" crossorigin></script><script src="https://unpkg.com/[email protected]/build/react-copy-to-clipboard.min.js" crossorigin></script><script src="https://unpkg.com/[email protected]/dist/styled-components.min.js" crossorigin></script><script src="https://unpkg.com/[email protected]/umd/keplergl.min.js" crossorigin></script><style>font-family: ff-clan-web-pro, 'Helvetica Neue', Helvetica, sans-serif;
font-weight: 400;
font-size: 0.875em;
line-height: 1.71429;
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin: 0; padding: 0;
}</style></head><body><script>window.__keplerglDataConfig = {"config": {}, "data": {"Optimized.html": {"index": [81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0], "columns": ["time", "name", "distance", "longitude", "latitude"], "data": [["2020-07-31 18:52:49", "", 17.835, 67.153885, 54.591877], ["2020-07-31 18:52:53", "", 7.219, 67.154449, 54.591881], ["2020-07-31 18:52:55", "", 35.674, 67.15461, 54.591881], ["2020-07-31 18:52:57", "", 17.842, 67.15715, 54.591915], ["2020-07-31 18:53:02", "", 7.66, 67.158714, 54.591949], ["2020-07-31 18:53:05", "", 21.657, 67.160469, 54.591976], ["2020-07-31 18:53:11", "", 16.136, 67.162148, 54.591984], ["2020-07-31 18:53:22", "", 2.972, 67.162422, 54.591988], ["2020-07-31 18:53:33", "", 4.672, 67.16246, 54.591988], ["2020-07-31 18:53:44", "", 6.941, 67.16275, 54.5923], ["2020-07-31 18:53:55", "", 3.471, 67.16275, 54.5923], ["2020-07-31 18:53:58", "", 4.939, 67.162994, 54.5933], ["2020-07-31 18:54:06", "", 1.482, 67.163322, 54.594738], ["2020-07-31 18:54:17", "", 8.948, 67.163712, 54.596447], ["2020-07-31 18:54:20", "", 2.012, 67.163986, 54.597645], ["2020-07-31 18:54:21", "", 2.497, 67.164307, 54.599037], ["2020-07-31 18:54:23", "", 12.904, 67.164604, 54.600319], ["2020-07-31 18:54:25", "", 19.842, 67.165115, 54.602539], ["2020-07-31 18:54:27", "", 6.452, 67.16539, 54.603764], ["2020-07-31 18:54:32", "", 8.946, 67.16555, 54.604446], ["2020-07-31 18:54:34", "", 42.664, 67.16571, 54.605145], ["2020-07-31 18:54:35", "", 14.763, 67.165703, 54.607159], ["2020-07-31 18:54:37", "", 10.83, 67.165588, 54.609066], ["2020-07-31 18:54:41", "", 15.254, 67.16552, 54.610275], ["2020-07-31 18:54:52", "", 9.355, 67.165405, 54.612072], ["2020-07-31 18:55:03", "", 10.337, 67.165337, 54.613209], ["2020-07-31 18:55:09", "", 24.605, 67.16526, 54.614506], ["2020-07-31 18:55:13", "", 27.062, 67.165161, 54.616135], ["2020-07-31 18:55:29", "", 9.103, 67.164848, 54.61705], ["2020-07-31 18:55:40", "", 9.103, 67.164238, 54.618561], ["2020-07-31 18:55:51", "", 5.557, 67.163651, 54.620029], ["2020-07-31 18:56:02", "", 3.071, 67.163277, 54.620945], ["2020-07-31 18:56:10", "", 15.617, 67.16272, 54.622337], ["2020-07-31 18:56:21", "", 6.6129999999999995, 67.162025, 54.624054], ["2020-07-31 18:56:32", "", 0.485, 67.161331, 54.625793], ["2020-07-31 18:56:43", "", 34.295, 67.160515, 54.627808], ["2020-07-31 18:56:54", "", 2.981, 67.159988, 54.629116], ["2020-07-31 18:57:05", "", 4.506, 67.159958, 54.6292], ["2020-07-31 18:57:16", "", 7.089, 67.159248, 54.630962], ["2020-07-31 18:57:27", "", 0.503, 67.15847, 54.632889], ["2020-07-31 18:57:38", "", 21.168, 67.157806, 54.634537], ["2020-07-31 18:57:49", "", 6.734, 67.156952, 54.636509], ["2020-07-31 18:58:00", "", 41.467, 67.156265, 54.637707], ["2020-07-31 18:58:11", "", 19.734, 67.155228, 54.6395], ["2020-07-31 18:58:22", "", 38.864, 67.154312, 54.641083], ["2020-07-31 18:58:23", "", 13.0, 67.153297, 54.642841], ["2020-07-31 18:58:33", "", 16.065, 67.15239, 54.644421], ["2020-07-31 18:58:44", "", 0.0, 67.16134091442596, 54.625791763025966], ["2020-07-31 18:58:55", "", 26.928, 67.150368, 54.64793], ["2020-07-31 18:59:06", "", 16.063, 67.14933, 54.649719], ["2020-07-31 18:59:17", "", 13.93, 67.148544, 54.651085], ["2020-07-31 18:59:24", "", 27.991, 67.147606, 54.652706], ["2020-07-31 18:59:35", "", 39.319, 67.146744, 54.654209], ["2020-07-31 18:59:46", "", 30.589, 67.146088, 54.655342], ["2020-07-31 18:59:50", "", 15.596, 67.145828, 54.655792], ["2020-07-31 19:00:01", "", 4.737, 67.14563, 54.656143], ["2020-07-31 19:00:12", "", 38.251, 67.145149, 54.656975], ["2020-07-31 19:00:23", "", 12.395, 67.14447, 54.658157], ["2020-07-31 19:00:34", "", 16.059, 67.143845, 54.659248], ["2020-07-31 19:00:45", "", 1.067, 67.14357, 54.659737], ["2020-07-31 19:00:56", "", 0.0, 67.16547742328422, 54.60715451528421], ["2020-07-31 19:01:07", "", 37.316, 67.143623, 54.659637], ["2020-07-31 19:01:18", "", 8.263, 67.14344, 54.659958], ["2020-07-31 19:01:22", "", 42.099, 67.143707, 54.660114], ["2020-07-31 19:01:33", "", 9.359, 67.144783, 54.660385], ["2020-07-31 19:01:44", "", 19.88, 67.144897, 54.660412], ["2020-07-31 19:01:55", "", 26.508, 67.144897, 54.660416], ["2020-07-31 19:02:06", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 2.18, 67.145355, 54.66053], ["2020-07-31 19:02:17", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 10.882, 67.145424, 54.660904], ["2020-07-31 19:02:28", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 4.931, 67.145622, 54.661957], ["2020-07-31 19:02:39", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 3.466, 67.145782, 54.662861], ["2020-07-31 19:02:49", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 13.813, 67.145889, 54.663414], ["2020-07-31 19:02:54", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 3.9530000000000003, 67.146095, 54.664444], ["2020-07-31 19:02:56", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 7.417, 67.146416, 54.665768], ["2020-07-31 19:02:58", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 5.47, 67.146637, 54.66679], ["2020-07-31 19:03:00", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 6.928, 67.146965, 54.668304], ["2020-07-31 19:03:28", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 11.424, 67.147186, 54.66909], ["2020-07-31 19:03:48", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 14.469, 67.147301, 54.669483], ["2020-07-31 19:04:07", "\u0428\u0430\u043a\u0430\u0440\u0438\u043c\u0430 \u041a\u0443\u0434\u0430\u0439\u0431\u0435\u0440\u0434\u044b\u0443\u043b\u044b", 25.406, 67.147469, 54.670044], ["2020-07-31 19:04:27", "", 0.979, 67.147301, 54.669464], ["2020-07-31 19:04:34", "", 12.946, 67.147202, 54.669125], ["2020-07-31 19:05:46", "", 0.425, 67.147781, 54.66972]]}}, "options": {"readOnly": false}};</script><div id="app-content"></div><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-64694404-19', {
'storage': 'none',
'clientId': localStorage.getItem('ga:clientId')
});
ga(function(tracker) {
localStorage.setItem('ga:clientId', tracker.get('clientId'));
});
ga('set', 'checkProtocolTask', null); // Disable file protocol checking.
ga('set', 'checkStorageTask', null); // Disable cookie storage checking.
ga('set', 'historyImportTask', null); // Disable history checking (requires reading from cookies).
ga('set', 'page', 'keplergl-jupyter-html');
ga('send', 'pageview');</script><script>!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("kepler.gl/components"),require("kepler.gl/actions"),require("styled-components"),require("redux"),require("kepler.gl/reducers"),require("kepler.gl/schemas"),require("kepler.gl/processors"),require("kepler.gl/middleware"),require("react-dom"),require("react-redux"),require("react-intl"),require("react-copy-to-clipboard"),require("react-helmet"));else if("function"==typeof define&&define.amd)define([,,,,,,,,,,,,,],t);else{var n="object"==typeof exports?t(require("react"),require("kepler.gl/components"),require("kepler.gl/actions"),require("styled-components"),require("redux"),require("kepler.gl/reducers"),require("kepler.gl/schemas"),require("kepler.gl/processors"),require("kepler.gl/middleware"),require("react-dom"),require("react-redux"),require("react-intl"),require("react-copy-to-clipboard"),require("react-helmet")):t(e.React,e.KeplerGl,e.KeplerGl,e.styled,e.Redux,e.KeplerGl,e.KeplerGl,e.KeplerGl,e.KeplerGl,e.ReactDOM,e.ReactRedux,e.ReactIntl,e.CopyToClipboard,e.Helmet);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e,t,n,r,o,i,a,c,l,u,p,f,s,d){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=19)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,n){(function(t){var r,o=void 0!==t?t:"undefined"!=typeof window?window:{},i=n(18);"undefined"!=typeof document?r=document:(r=o["__GLOBAL_DOCUMENT_CACHE@4"])||(r=o["__GLOBAL_DOCUMENT_CACHE@4"]=i),e.exports=r}).call(this,n(10))},function(e,t){e.exports=a},function(e,t){e.exports=console},function(e,t){e.exports=c},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=l},function(e,t){e.exports=u},function(e,t){e.exports=p},function(e,t){e.exports=f},function(e,t){e.exports=s},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(10))},function(e,t){e.exports=d},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(4),o=n(5),i=n(11);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var c=o.keplerGlReducer.initialState({uiState:{currentModal:null,activeSidePanel:null}}),l=Object(r.combineReducers)({keplerGl:c}),u=function(e){var t=Object(i.enhanceReduxMiddleware)([function(t){return function(n){return function(r){var o=n(r);return"function"==typeof e&&e(r,t),o}}}]),n=[r.applyMiddleware.apply(void 0,a(t))];return Object(r.createStore)(l,{},r.compose.apply(void 0,n))},p=n(0),f=n.n(p),s=n(12),d=n.n(s),y=n(13),m=n(3),b=n.n(m),g=n(1),v=n(2),h=n(14);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var j=function(){var e=Object(g.PanelHeaderFactory)();return Object(g.withState)([],(function(e){return e}),{toggleModal:v.toggleModal})((function(t){return f.a.createElement(h.IntlProvider,{locale:"en",messages:{"tooltip.documentation":"Documentation"}},f.a.createElement(e,w({},t,{actionItems:[{id:"docs",iconComponent:g.Icons.Docs,href:"https://docs.kepler.gl/docs/keplergl-jupyter",blank:!0,tooltip:"tooltip.documentation",onClick:function(){}}]})))}))};function O(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n .side-panel--container {\n transform:scale(0.85);\n transform-origin: top left;\n height: 117.64%;\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n padding-left: 0;\n\n .side-bar {\n height: 100%;\n }\n .side-bar__close {\n right: -30px;\n top: 14px;\n }\n }\n"]);return O=function(){return e},e}var x=b.a.div(O());var E=function(){var e=Object(g.CollapseButtonFactory)(),t=Object(g.SidebarFactory)(e);return function(e){return f.a.createElement(x,null,f.a.createElement(t,e))}},S=n(7),q=n(15);function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function T(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n width: 100%;\n display: flex;\n flex-direction: column;\n height: 100%;\n .copy-button {\n position: absolute;\n margin-top: -45px;\n right: 28px;\n }\n textarea {\n overflow-y: scroll;\n white-space: pre-wrap;\n width: 100%;\n height: 100%;\n resize: none;\n }\n"]);return T=function(){return e},e}var k={true:"True",false:"False",null:"None"},C=b.a.div.attrs({className:"copy-config"})(T());var _=function(e){var t=e.config,n=A(Object(p.useState)(!1),2),r=n[0],o=n[1],i=function(e){return JSON.stringify(e,null,2).replace(/: ([a-z]+)/g,(function(e,t){return": "+k[t]||!1}))}(t);return f.a.createElement(C,null,f.a.createElement(q.CopyToClipboard,{text:i,onCopy:function(){return o(!0)},className:"copy-button"},f.a.createElement(g.Button,{width:"100px"},f.a.createElement(g.Icons.Clipboard,{height:"16px"}),r?"Copied!":"Copy")),f.a.createElement(g.TextArea,{value:i,readOnly:!0,selected:!0}))};var P=function(){var e=function(e){var t=e.activeSidePanel,n=e.visState,r=e.mapState,o=e.mapStyle,i=S.KeplerGlSchema.getConfigToSave({visState:n,mapState:r,mapStyle:o});return"config"===t?f.a.createElement(_,{config:i}):null};e.defaultProps={panels:[{id:"config",label:"Config",iconComponent:g.Icons.CodeAlt}]};var t=Object(g.withState)([o.visStateLens,o.mapStateLens,o.mapStyleLens],(function(e){return e}))(e);return t.defaultProps={panels:[{id:"config",label:"modal.exportMap.json.configTitle",iconComponent:g.Icons.CodeAlt}]},t};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function D(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n width: 100%;\n height: 100%;\n .kepler-gl .ReactModal__Overlay.ReactModal__Overlay--after-open {\n position: absolute !important;\n }\n\n .kepler-gl .side-panel__content > div {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n"]);return D=function(){return e},e}var L=n(17),G=L?L.Helmet:null,N=Object(g.injectComponents)([[g.AddDataButtonFactory,function(){return function(){return f.a.createElement("div",null)}}],[g.SidebarFactory,E],[g.PanelHeaderFactory,j],[g.CustomPanelsFactory,P]]),I=b.a.div(D());var F=function(){var e=Object(p.useRef)(null),t=z(Object(p.useState)({}),2),n=t[0],r=t[1],o=function(){if(e.current){var t=e.current.offsetWidth,o=e.current.offsetHeight,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){R(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t&&t!==n.width?{width:t}:{},{},o&&o!==n.height?{height:o}:{});r(i)}},i=function(){return window.setTimeout(o,500)};return Object(p.useEffect)((function(){return window.addEventListener("resize",i),function(){return window.removeEventListener("resize",i)}}),[]),f.a.createElement(I,{ref:e,className:"keplergl-widget-container"},G?f.a.createElement(G,null,f.a.createElement("meta",{charSet:"utf-8"}),f.a.createElement("title",null,"Kepler.gl Jupyter"),f.a.createElement("link",{rel:"stylesheet",href:"https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/uber-fonts/4.0.0/superfine.css"}),f.a.createElement("link",{rel:"stylesheet",href:"https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css"}),f.a.createElement("style",{type:"text/css"},"font-family: ff-clan-web-pro, 'Helvetica Neue', Helvetica, sans-serif;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.71429;\n\n *,\n *:before,\n *:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n body {\n margin: 0; padding: 0;\n }\n .jupyter-widgets.keplergl-jupyter-widgets {\n overflow: hidden;\n }\n .p-Widget.p-Panel.jp-OutputArea-output.jupyter-widgets {\n overflow: hidden\n }\n "),f.a.createElement("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=UA-64694404-19"}),f.a.createElement("script",null,"window.dataLayer=window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-64694404-19', {page_path: '/keplergl-jupyter-widget'});")):null,f.a.createElement(N,{mapboxApiAccessToken:"pk.eyJ1IjoidWJlcmRhdGEiLCJhIjoiY2pza3FrOXh6MW05dTQzcWd1M3I3c2E0eCJ9.z0MFFrHYNbdK-QVHKrdepw",width:n.width||800,height:n.height||400,appName:"Kepler.gl Jupyter",version:"0.2.0",getMapboxRef:o}))};var K=function(e){e.id;var t=e.store,n=e.ele;d.a.render(f.a.createElement((function(){return f.a.createElement(y.Provider,{store:t},f.a.createElement(F,null))}),null),n)},H=n(6),J=n.n(H),Y=n(16),B=n.n(Y),W=n(9),U=n(8),Q=n.n(U);var V=function(...e){0};function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Z(e){V("handleJuptyerDataFormat");var t=e.data,n=e.id,r=t,o="csv";if("object"===X(t))t.columns&&t.data&&t.index?(V("data is a dataframe"),o="df"):o="json";else if("string"==typeof t)try{r=JSON.parse(t),o="json"}catch(e){}return{data:r,type:o,id:n}}function $(e){var t,n=e.data,r=e.info;V("processReceivedData");try{t="csv"===r.queryType?Object(W.processCsvData)(n):"json"===r.queryType?Object(W.processGeojson)(n):"df"===r.queryType?function(e){var t=e.columns.map((function(e){return{name:e}})),n=e.data;return{fields:t,rows:n}}(n):null}catch(e){Q.a.log("Kepler.gl fails to parse data, detected data\n format is ".concat(r.queryType),e)}return{data:t,info:r}}v.ActionTypes.REGISTER_ENTRY,v.ActionTypes.DELETE_ENTRY,v.ActionTypes.RENAME_ENTRY,v.ActionTypes.LOAD_MAP_STYLES,v.ActionTypes.LAYER_HOVER;function ee(e){var t=e.data,n=e.config,r=e.options,o=e.store,i=t?function(e){return Object.keys(e).map((function(t){return{id:t,data:e[t]}}))}(t):[];V(i);var a=i.map(Z).map((function(e){return{data:e.data,info:{id:e.id,label:e.id,queryType:e.type,queryOption:"jupyter"}}})).map($).filter((function(e){return e&&e.data}));V("addDataConfigToKeplerGl"),V(a),V(n);var c=Boolean(n&&n.config&&n.config.mapState);o.dispatch(Object(v.addDataToMap)({datasets:a,config:n,options:r||{centerMap:!c}}))}var te,ne,re,oe,ie=(te=u(),(ne=J.a.createElement("div")).setAttribute("style","width: 100vw; height: 100vh; position: absolute"),J.a.body.appendChild(ne),{render:function(){K({id:"keplergl-0",store:te,ele:ne})},store:te});ie.render(),re=ie,ee({data:(oe=B.a.__keplerglDataConfig||{}).data,config:oe.config,options:oe.options,store:re.store})}])}));</script></body></html>