react-map-gl/component---src-home-js-d9cb8e2a1f1b43e76cef.js

1 line
23 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"7yFj":function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"d",(function(){return a})),t.d(n,"e",(function(){return c})),t.d(n,"f",(function(){return l})),t.d(n,"g",(function(){return m})),t.d(n,"h",(function(){return u})),t.d(n,"i",(function(){return p})),t.d(n,"j",(function(){return s})),t.d(n,"p",(function(){return d})),t.d(n,"m",(function(){return h})),t.d(n,"n",(function(){return f})),t.d(n,"o",(function(){return g})),t.d(n,"l",(function(){return y})),t.d(n,"c",(function(){return b})),t.d(n,"q",(function(){return w})),t.d(n,"k",(function(){return k})),t.d(n,"b",(function(){return x})),t.d(n,"r",(function(){return v})),t.d(n,"t",(function(){return _})),t.d(n,"s",(function(){return C}));var o=t("vOnD"),r=t("Wbzz"),i=o.c.a.withConfig({displayName:"typography__A",componentId:"sc-1pmaksm-0"})(["text-decoration:none;color:",";&:visited{color:",";}&:active{color:",";}&:hover{color:",";}"],(function(e){return e.theme.colors.linkText}),(function(e){return e.theme.colors.linkVisited}),(function(e){return e.theme.colors.linkHover}),(function(e){return e.theme.colors.linkHover})),a=Object(o.c)(r.a).withConfig({displayName:"typography__GatsbyA",componentId:"sc-1pmaksm-1"})(["text-decoration:none;color:",";&:visited{color:",";}&:active{color:",";}&:hover{color:",";}"],(function(e){return e.theme.colors.linkText}),(function(e){return e.theme.colors.linkVisited}),(function(e){return e.theme.colors.linkHover}),(function(e){return e.theme.colors.linkHover})),c=o.c.h1.withConfig({displayName:"typography__H1",componentId:"sc-1pmaksm-2"})(["font:",";letter-spacing:0.02em;margin:4px 0 24px;"],(function(e){return e.theme.typography.font800})),l=o.c.h2.withConfig({displayName:"typography__H2",componentId:"sc-1pmaksm-3"})(["font:",";margin:24px 0 16px;"],(function(e){return e.theme.typography.font700})),m=o.c.h3.withConfig({displayName:"typography__H3",componentId:"sc-1pmaksm-4"})(["font:",";"],(function(e){return e.theme.typography.font600})),u=o.c.h4.withConfig({displayName:"typography__H4",componentId:"sc-1pmaksm-5"})(["font:",";"],(function(e){return e.theme.typography.font500})),p=o.c.h5.withConfig({displayName:"typography__H5",componentId:"sc-1pmaksm-6"})(["font:",";"],(function(e){return e.theme.typography.font450})),s=o.c.h6.withConfig({displayName:"typography__H6",componentId:"sc-1pmaksm-7"})(["font:",";"],(function(e){return e.theme.typography.font350})),d=o.c.p.withConfig({displayName:"typography__P",componentId:"sc-1pmaksm-8"})(["margin:'0 0 16px'"]),h=o.c.ul.withConfig({displayName:"typography__List",componentId:"sc-1pmaksm-9"})(["margin:0 0 12px;"]),f=o.c.li.withConfig({displayName:"typography__ListItem",componentId:"sc-1pmaksm-10"})(["margin-bottom:4px;"]),g=o.c.div.withConfig({displayName:"typography__MarkdownBody",componentId:"sc-1pmaksm-11"})(["font:",";padding:36px;max-width:692px;"],(function(e){return e.theme.typography.font300})),y=o.c.code.withConfig({displayName:"typography__InlineCode",componentId:"sc-1pmaksm-12"})(["background-color:",";border-radius:",";padding:0 5px;font-family:Consolas,Menlo,Monaco,'Andale Mono WT','Andale Mono','Lucida Console','Lucida Sans Typewriter','DejaVu Sans Mono','Bitstream Vera Sans Mono','Liberation Mono','Nimbus Mono L','Courier New',Courier,monospace;font-size:0.9em;margin:1px 0;line-height:calc(1.5em / 0.9 - 2px);display:inline-block;vertical-align:top;"],(function(e){return e.theme.colors.mono200}),(function(e){return e.theme.sizing.scale100})),b=o.c.code.withConfig({displayName:"typography__CodeBlock",componentId:"sc-1pmaksm-13"})(["font-family:Consolas,Menlo,Monaco,'Andale Mono WT','Andale Mono','Lucida Console','Lucida Sans Typewriter','DejaVu Sans Mono','Bitstream Vera Sans Mono','Liberation Mono','Nimbus Mono L','Courier New',Courier,monospace;font-size:0.9em;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;tab-size:4;hyphens:none;background-color:",";"],(function(e){return e.theme.colors.mono200})),w=o.c.pre.withConfig({displayName:"typography__Pre",componentId:"sc-1pmaksm-14"})(["font-size:14px;background-color:",";padding:",";overflow-x:auto;.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.token.namespace{opacity:.7;}.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#905;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#690;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#9a6e3a;background:hsla(0,0%,100%,.5);}.token.atrule,.token.attr-value,.token.keyword{color:#07a;}.token.function,.token.class-name{color:#DD4A68;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}"],(function(e){return e.theme.colors.mono200}),(function(e){return e.theme.sizing.scale200})),k=o.c.img.withConfig({displayName:"typography__Img",componentId:"sc-1pmaksm-15"})(["max-width:100%;"]),x=o.c.blockquote.withConfig({displayName:"typography__BlockQuote",componentId:"sc-1pmaksm-16"})(["background-color:",";margin-inline-start:0;margin-inline-end:0;padding:"," ",";"],(function(e){return e.theme.colors.warning100}),(function(e){return e.theme.sizing.scale400}),(function(e){return e.theme.sizing.scale600})),v=o.c.table.withConfig({displayName:"typography__Table",componentId:"sc-1pmaksm-17"})(["border-collapse:collapse;border-spacing:1px;width:100%;"]),_=o.c.th.withConfig({displayName:"typography__TableHeaderCell",componentId:"sc-1pmaksm-18"})(["padding:4px;text-align:left;background:",";font-weight:bold;border:1px solid ",";"],(function(e){return e.theme.colors.mono200}),(function(e){return e.theme.colors.mono400})),C=o.c.td.withConfig({displayName:"typography__TableBodyCell",componentId:"sc-1pmaksm-19"})(["padding:4px;text-align:left;border:1px solid ",";"],(function(e){return e.theme.colors.mono400}))},"8mkv":function(e,n,t){"use strict";var o=t("zLVn"),r=t("q1tI"),i=t.n(r),a=t("A2+M"),c=t("7ljp"),l=t("7yFj"),m=t("vOJQ"),u=function(e,n,t){return function(r){var a=r.href,c=Object(o.a)(r,["href"]),u=Object(m.parseLinks)(a,e,n,t);return u?i.a.createElement(l.d,Object.assign({to:u},c)):i.a.createElement(l.a,Object.assign({href:a},c))}},p=function(e){var n=e.children,t=Object(o.a)(e,["children"]);return i.a.createElement(l.q,t,i.a.Children.map(n,(function(e){return"code"===e.type||"Styled(code)"===e.type.displayName?i.a.createElement(l.c,e.props):i.a.cloneElement(e)})))},s=/^code-classlanguage-text(.*?)code/,d=/code-classlanguage-text(.*?)code/g;n.a=function(e){var n=e.relativeLinks,t=e.path,m=e.config,h={},f=function(e){return function(n){var t=n.id,a=Object(o.a)(n,["id"]);return function(e,n,t,o){if(!n)return i.a.createElement(e,t);if(o[n=s.test(n)?n.match(s)[1]:n.replace(d,(function(e,n){return n}))]){for(var a=1;o[n+"-"+a];)a++;n=n+"-"+a}o[n]=!0;var c=t.children.slice(),l=c[0];return l.props&&l.props.href&&(c[0]=Object(r.cloneElement)(l,{key:"anchor",href:"#"+n})),i.a.createElement(e,Object.assign({},t,{id:n}),c)}(e,t,a,h)}},g={h1:l.e,h2:f(l.f),h3:f(l.g),h4:f(l.h),h5:f(l.i),h6:f(l.j),p:l.p,ul:l.m,li:l.n,pre:p,img:l.k,code:l.l,table:l.r,th:l.t,td:l.s,blockquote:l.b,a:n?u(t,n,m):l.a};return i.a.createElement(c.MDXProvider,{components:g},i.a.createElement(a.MDXRenderer,null,e.body))}},"A2+M":function(e,n,t){var o=t("X8hv");e.exports={MDXRenderer:o}},Bnag:function(e,n){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},EbDI:function(e,n){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},Ijbi:function(e,n,t){var o=t("WkPL");e.exports=function(e){if(Array.isArray(e))return o(e)}},NKOs:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"e",(function(){return c})),t.d(n,"d",(function(){return l})),t.d(n,"a",(function(){return m})),t.d(n,"c",(function(){return u})),t.d(n,"f",(function(){return p})),t.d(n,"h",(function(){return s})),t.d(n,"i",(function(){return d})),t.d(n,"g",(function(){return h})),t.d(n,"j",(function(){return f}));var o=t("vOnD"),r=t("Wbzz"),i=t("k3Yn"),a=(o.c.main.withConfig({displayName:"example__MainExample",componentId:"h9izwc-0"})(["width:100%;height:100%;position:relative;"]),o.c.div.withConfig({displayName:"example__ExampleHeader",componentId:"h9izwc-1"})(["font:",";color:",";margin:0 ",";border-bottom:1px solid ",";display:inline-block;padding:"," "," "," 0;"],(function(e){return e.theme.typography.font500}),(function(e){return e.theme.colors.mono800}),(function(e){return e.theme.sizing.scale700}),(function(e){return e.theme.colors.mono500}),(function(e){return e.theme.sizing.scale700}),(function(e){return e.theme.sizing.scale700}),(function(e){return e.theme.sizing.scale100}))),c=o.c.main.withConfig({displayName:"example__MainExamples",componentId:"h9izwc-2"})(["padding:"," 0;"],(function(e){return e.theme.sizing.scale600})),l=o.c.main.withConfig({displayName:"example__ExamplesGroup",componentId:"h9izwc-3"})(["display:flex;flex-wrap:wrap;padding:",";"],(function(e){return e.theme.sizing.scale600})),m=Object(o.c)(r.a).withConfig({displayName:"example__ExampleCard",componentId:"h9izwc-4"})(["cursor:pointer;text-decoration:none;width:50%;max-width:240px;line-height:0;outline:none;padding:",";position:relative;img{transition-property:filter;transition-duration:",";transition-timing-function:",";}&:hover{box-shadow:",";}&:hover img{filter:contrast(0.2);}","{width:33%;min-width:200px;}@media screen and (max-width:632px){width:50%;}"],(function(e){return e.theme.sizing.scale100}),(function(e){return e.theme.animation.timing400}),(function(e){return e.theme.animation.easeInOutCurve}),(function(e){return e.theme.lighting.shadow600}),i.d),u=o.c.div.withConfig({displayName:"example__ExampleTitle",componentId:"h9izwc-5"})(["position:absolute;display:flex;justify-content:center;flex-direction:column;color:",";font:",";font-size:1.5em;text-align:center;width:90%;height:90%;top:5%;left:5%;border:solid 1px ",";opacity:0;transition-property:opacity;transition-duration:",";transition-timing-function:",";&:hover{opacity:1}"],(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.typography.font300}),(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.animation.timing400}),(function(e){return e.theme.animation.easeInOutCurve})),p=o.c.div.withConfig({displayName:"example__PanelContainer",componentId:"h9izwc-6"})(["font:",";position:absolute;top:0;right:0;width:344px;background:",";box-shadow:",";margin:",";padding:"," ",";max-height:96%;overflow-x:hidden;overflow-y:auto;overflow-y:overlay;outline:none;z-index:1;","{width:auto;left:0;}"],(function(e){return e.theme.typography.font300}),(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.lighting.shadow400}),(function(e){return e.theme.sizing.scale800}),(function(e){return e.theme.sizing.scale400}),(function(e){return e.theme.sizing.scale800}),i.d),s=o.c.div.withConfig({displayName:"example__PanelExpander",componentId:"h9izwc-7"})(["display:none;width:",";height:",";font-family:serif;font-size:0.8em;text-align:center;line-height:",";border-radius:50%;background:",";color:",";","{display:block;}"],(function(e){return e.theme.sizing.scale600}),(function(e){return e.theme.sizing.scale600}),(function(e){return e.theme.sizing.scale600}),(function(e){return e.$expanded?"none":e.theme.colors.mono900}),(function(e){return e.$expanded?e.theme.colors.mono1000:e.theme.colors.mono100}),i.d),d=o.c.div.withConfig({displayName:"example__PanelTitle",componentId:"h9izwc-8"})(["display:flex;align-items:center;justify-content:space-between;font:",";margin:"," 0;","{cursor:pointer;}"],(function(e){return e.theme.typography.font450}),(function(e){return e.theme.sizing.scale300}),i.d),h=o.c.div.withConfig({displayName:"example__PanelContent",componentId:"h9izwc-9"})(["div >*{vertical-align:middle;white-space:nowrap;}div >label{display:inline-block;width:40%;margin-right:10%;color:",";margin-top:2px;margin-bottom:2px;}div >input,div >a,div >button,div >select{background:",";font:",";line-height:",";text-transform:none;text-overflow:ellipsis;overflow:hidden;display:inline-block;padding:0 ",";width:50%;height:",";text-align:left;}div >button{color:initial;}div >button:disabled{color:",";cursor:default;background:",";}div >input{border:",";&:disabled{background:",';}&[type="checkbox"]{height:auto;}}p{margin-bottom:',";white-space:initial;}","{display:",";}"],(function(e){return e.theme.colors.momo800}),(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.typography.font100}),(function(e){return e.theme.sizing.scale700}),(function(e){return e.theme.sizing.scale100}),(function(e){return e.theme.sizing.scale700}),(function(e){return e.theme.colors.mono300}),(function(e){return e.theme.colors.mono300}),(function(e){return e.theme.borders.border300}),(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.sizing.scale600}),i.d,(function(e){return e.$expanded?"block":"none"})),f=o.c.a.withConfig({displayName:"example__SourceLink",componentId:"h9izwc-10"})(["display:block;text-align:right;margin-top:",";font:",";color:",";","{display:",";}"],(function(e){return e.theme.sizing.scale300}),(function(e){return e.theme.typography.font250}),(function(e){return e.theme.colors.mono800}),i.d,(function(e){return e.$expanded?"block":"none"}))},RIqP:function(e,n,t){var o=t("Ijbi"),r=t("EbDI"),i=t("ZhPi"),a=t("Bnag");e.exports=function(e){return o(e)||r(e)||i(e)||a()}},WkPL:function(e,n){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}},X8hv:function(e,n,t){var o=t("sXyB"),r=t("RIqP"),i=t("lSNA"),a=t("8OQS");function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){i(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var m=t("q1tI"),u=t("7ljp").mdx,p=t("BfwJ").useMDXScope;e.exports=function(e){var n=e.scope,t=e.children,i=a(e,["scope","children"]),c=p(n),s=m.useMemo((function(){if(!t)return null;var e=l({React:m,mdx:u},c),n=Object.keys(e),i=n.map((function(n){return e[n]}));return o(Function,["_fn"].concat(r(n),[""+t])).apply(void 0,[{}].concat(r(i)))}),[t,n]);return m.createElement(s,l({},i))}},ZhPi:function(e,n,t){var o=t("WkPL");e.exports=function(e,n){if(e){if("string"==typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,n):void 0}}},b48C:function(e,n){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},e0Gm:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return A}));var o=t("dI71"),r=t("q1tI"),i=t.n(r),a=t("B5uF"),c=(t("6Ooe"),t("Ljh3"),t("kaKw"),t("NKOs")),l=(r.PureComponent,t("7yFj"),t("8mkv")),m=t("vOnD"),u=null,p=m.c.div.withConfig({displayName:"github-contributors__ContribContainer",componentId:"sc-12w0yk9-0"})(["display:flex;flex-wrap:wrap;justify-content:center;"]),s=m.c.a.withConfig({displayName:"github-contributors__ContribLink",componentId:"sc-12w0yk9-1"})(["margin:10px;display:inline-block;width:6rem;height:8rem;text-decoration:none;text-align:center;color:",";&:hover img{border:4px solid #fff;box-shadow:0 0 20px hsla(0,0%,0%,0.3);opacity:1;}"],(function(e){return e.theme.colors.mono900})),d=m.c.img.withConfig({displayName:"github-contributors__ContribImage",componentId:"sc-12w0yk9-2"})(["border-radius:50%;border:4px solid transparent;box-shadow:0 0 0 hsla(0,0%,0%,0.3);transition:border 0.5s,box-shadow 0.5s;opacity:0.9;"]),h=function(e){function n(n){var t;return(t=e.call(this,n)||this).state={response:u},t}Object(o.a)(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=this;if(!u){var n=this.props.project;fetch("https://api.github.com/repos/"+n+"/contributors").then((function(e){return e.json()})).then((function(n){u=n,e.setState({response:n})}))}},t.render=function(){var e=this.state.response,n=Array.isArray(e)?e:[];return i.a.createElement("div",null,i.a.createElement("h2",{style:{textAlign:"center"}},"Contributors"),i.a.createElement(p,null,n.map((function(e){return e&&i.a.createElement(s,{target:"_blank",rel:"noopener noreferrer",href:e.html_url,key:e.id},i.a.createElement(d,{src:e.avatar_url,width:"100%",alt:e.login}),i.a.createElement("div",null,e.login))}))))},n}(r.Component),f=t("Wbzz"),g=t("k3Yn"),y=m.c.section.withConfig({displayName:"home__Banner",componentId:"f9hbqs-0"})(["position:relative;height:30rem;background:",";color:",";z-index:0;","{height:80vh;}"],(function(e){return e.theme.colors["dark"===e.colortheme?"mono900":"mono400"]}),(function(e){return e.theme.colors["dark"===e.colortheme?"mono100":"mono900"]}),g.d),b=m.c.div.withConfig({displayName:"home__Container",componentId:"f9hbqs-1"})(["position:relative;padding:2rem;max-width:80rem;width:100%;height:100%;margin:0;"]),w=Object(m.c)(b).withConfig({displayName:"home__BannerContainer",componentId:"f9hbqs-2"})(["position:absolute;bottom:0;height:auto;padding-left:4rem;z-index:0;pointer-events:none;"]),k=m.c.div.withConfig({displayName:"home__HeroExampleContainer",componentId:"f9hbqs-3"})(["position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;"]),x=m.c.section.withConfig({displayName:"home__Section",componentId:"f9hbqs-4"})(["&:nth-child(2n+1){background:#E8E8E8;}"]),v=m.c.h1.withConfig({displayName:"home__ProjectName",componentId:"f9hbqs-5"})(["font-size:5em;line-height:1;text-transform:uppercase;letter-spacing:4px;font-weight:700;margin:0;margin-bottom:16px;"]),_=Object(m.c)(f.a).withConfig({displayName:"home__GetStartedLink",componentId:"f9hbqs-6"})(["pointer-events:all;font-size:12px;line-height:44px;letter-spacing:2px;font-weight:bold;margin:24px 0;padding:0 4rem;pointer-events:all;display:inline-block;text-decoration:none;transition:background-color 250ms ease-in,color 250ms ease-in;border:solid 2px ",";color:",";border-image:linear-gradient(to right,"," 0%,"," 100%);border-image-slice:2;&:visited{color:",";}&:active{color:",";}&:hover{color:",";background-color:",";}"],(function(e){return e.theme.colors.primary400}),(function(e){return e.theme.colors["dark"===e.colortheme?"mono100":"mono900"]}),(function(e){return e.theme.colors["dark"===e.colortheme?"primary400":"primary700"]}),(function(e){return e.theme.colors["dark"===e.colortheme?"primary100":"primary400"]}),(function(e){return e.theme.colors["dark"===e.colortheme?"mono100":"mono900"]}),(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.colors.mono100}),(function(e){return e.theme.colors.primary400})),C=m.c.footer.withConfig({displayName:"home__Footer",componentId:"f9hbqs-7"})(["position:absolute;bottom:-$footer-height;width:100%;z-index:2;background-image:url(data:image/gif;base64,R0lGODlhIAAgAKIAABUjMRYkMhclM0xXYU1YYgAAAAAAAAAAACwAAAAAIAAgAAADKjgjEP4wyklWmzg/IbTPwPWNZGmeaKqubOu+cCzPdG3feK7vfO//wKAwAQA7);background-size:32px;background-repeat:repeat;background-position:16px -8px;color:",";"],(function(e){return e.theme.colors.mono100})),E=m.c.div.withConfig({displayName:"home__FooterText",componentId:"f9hbqs-8"})(["font-size:12px;line-height:20px;font-weight:400;letter-spacing:2px;opacity:0.4;margin-bottom:1rem;margin-right:1rem;"]),I=m.c.img.withConfig({displayName:"home__FooterLogo",componentId:"f9hbqs-9"})(["max-height:64px;max-width:64px;display:inline-block;"]);var O=function(e){function n(){return e.apply(this,arguments)||this}return Object(o.a)(n,e),n.prototype.render=function(){var e=this.props,n=e.HeroExample,t=e.theme,o=e.pageContext,r=e.children;return i.a.createElement("main",null,i.a.createElement(a.b,null,(function(e){return function(e){var n=e.config,t=e.theme,o=void 0===t?"dark":t,r=e.HeroExample,a=e.content,c=e.children;return i.a.createElement(i.a.Fragment,null,i.a.createElement(y,{colortheme:o},i.a.createElement(k,null,r&&i.a.createElement(r,null)),i.a.createElement(w,null,i.a.createElement(v,null,n.PROJECT_NAME),i.a.createElement("p",null,n.PROJECT_DESC),i.a.createElement(_,{to:n.LINK_TO_GET_STARTED,colortheme:o},"GET STARTED"))),a&&i.a.createElement(x,null,i.a.createElement(b,null,i.a.createElement(l.a,{body:a.body}))),c,"github"===n.PROJECT_TYPE&&i.a.createElement(x,null,i.a.createElement(b,null,i.a.createElement(h,{project:n.PROJECT_ORG+"/"+n.PROJECT_NAME}))),i.a.createElement(C,null,i.a.createElement(b,null,n.PROJECT_ORG_LOGO&&i.a.createElement(i.a.Fragment,null,i.a.createElement(E,null,"Made by"),i.a.createElement(I,{src:""+n.PROJECT_ORG_LOGO,alt:"logo"})))))}({config:e.config,HeroExample:n,theme:t,content:o&&o.content,children:r})})))},n}(r.Component);"undefined"!=typeof window&&(window.website=!0);var z=m.c.img.withConfig({displayName:"home__Icon",componentId:"sc-1jcekwk-0"})(["vertical-align:middle;width:36px;margin-right:8px;"]),N=m.c.div.withConfig({displayName:"home__HeroExample",componentId:"sc-1jcekwk-1"})(["background-image:url(images/hero.jpg);background-size:cover;background-position:center;height:100%;"]),j=m.c.div.withConfig({displayName:"home__ContentContainer",componentId:"sc-1jcekwk-2"})(["padding:64px;@media screen and (max-width:768px){padding:48px;}"]),A=function(e){function n(){return e.apply(this,arguments)||this}return Object(o.a)(n,e),n.prototype.render=function(){return r.createElement(O,{HeroExample:N},r.createElement(j,null,r.createElement("h2",null,"react-map-gl makes using Mapbox GL JS in React applications easy."),r.createElement("h3",null,r.createElement(z,{src:"images/icon-react.svg"}),"React Integration"),r.createElement("p",null,"Integration on browser and Node.js, exposing the full power of mapbox-gl."),r.createElement("h3",null,r.createElement(z,{src:"images/icon-layers.svg"}),"Component Library"),r.createElement("p",null,"react-map-gl comes with additional React components that synchronize with the map camera system. Use one of the supported overlays to visualize data, or build your own."),r.createElement("h3",null,r.createElement(z,{src:"images/icon-high-precision.svg"}),"Part of vis.gl's Framework Suite"),r.createElement("p",null,"Use together with e.g. ",r.createElement("a",{href:"https://deck.gl/",target:"_blank",rel:"noopener noreferrer"},"deck.gl")," to render performant and compelling 2D and 3D WebGL visualizations on top of your Mapbox GL JS based maps.")))},n}(r.Component)},sXyB:function(e,n,t){var o=t("SksO"),r=t("b48C");function i(n,t,a){return r()?e.exports=i=Reflect.construct:e.exports=i=function(e,n,t){var r=[null];r.push.apply(r,n);var i=new(Function.bind.apply(e,r));return t&&o(i,t.prototype),i},i.apply(null,arguments)}e.exports=i},zLVn:function(e,n,t){"use strict";function o(e,n){if(null==e)return{};var t,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}t.d(n,"a",(function(){return o}))}}]);