!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.name,n=e.hours,r=e.address,o='
'+t+"

Operating Hours

"+n+"

Address

"+r+"";return o}var i=n(2),a=r(i),l=n(12),u=r(l),s=n(26),c=r(s);mapboxgl.accessToken="pk.eyJ1IjoicHJha2hhciIsImEiOiJjaWZlbzQ1M2I3Nmt2cnhrbnlxcTQyN3VkIn0.uOaUAUqN2VS7dC7XKS0KkQ";var f=new mapboxgl.Map({container:"map",style:"mapbox://styles/prakhar/cij2cpsn1004p8ykqqir34jm8",center:[-122.44,37.77],zoom:12});u.default.render(a.default.createElement(c.default,{map:f}),document.getElementById("sidebar")),f.on("click",function(e){f.featuresAt(e.point,{layer:"trucks",radius:10,includeGeometry:!0},function(e,t){if(!e&&t.length){var n=t[0];(new mapboxgl.Popup).setLngLat(n.geometry.coordinates).setHTML(o(n.properties)).addTo(f)}})}),f.on("click",function(e){f.featuresAt(e.point,{layer:"trucks-highlight",radius:10,includeGeometry:!0},function(e,t){if(!e&&t.length){var n=t[0];(new mapboxgl.Popup).setLngLat(n.geometry.coordinates).setHTML(o(n.properties)).addTo(f)}})})},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&p&&(m=!1,p.length?h=p.concat(h):y=-1,h.length&&l())}function l(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(p=h,h=[];++y1)for(var n=1;nt?1:0}function i(e,t,n){var r,o=a(e,"",[],void 0)||e;for(r=0===c.length?JSON.stringify(o,t,n):JSON.stringify(o,l(t),n);0!==s.length;){var i=s.pop();4===i.length?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}return r}function a(e,t,n,r){var i;if("object"===("undefined"==typeof e?"undefined":u(e))&&null!==e){for(i=0;i0)for(var r=0;r1?t-1:0),r=1;r1?t-1:0),r=1;r0&&"string"==typeof n[n.length-1]&&0===n[n.length-1].indexOf("\n in");if(!r){var o=gd.ReactDebugCurrentFrame,i=o.getStackAddendum();""!==i&&(t+="%s",n=n.concat([i]))}var a=n.map(function(e){return""+e});a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a);try{var l=0,u="Warning: "+t.replace(/%s/g,function(){return n[l++]});throw new Error(u)}catch(e){}}function a(e,t,n,r,o,i,a,l,u){Ed=!1,Sd=null,Td.apply(Pd,arguments)}function l(e,t,n,r,o,i,l,u,s){if(a.apply(this,arguments),Ed){var f=c();_d||(_d=!0,Cd=f)}}function u(){if(_d){var e=Cd;throw _d=!1,Cd=null,e}}function s(){return Ed}function c(){if(Ed){var e=Sd;return Ed=!1,Sd=null,e}throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function f(e,t,n){Rd=e,Nd=t,Od=n,Od&&Nd||o("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}function d(e,t,n){var r=e.type||"unknown-event";e.currentTarget=Od(n),l(r,t,void 0,e),e.currentTarget=null}function p(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(xd(e),Array.isArray(t))for(var r=0;r-1))throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `"+e+"`.");if(!rp[n]){if(!t.extractEvents)throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `"+e+"` does not.");rp[n]=t;var r=t.eventTypes;for(var o in r)if(!m(r[o],t,o))throw Error("EventPluginRegistry: Failed to publish event `"+o+"` for plugin `"+e+"`.")}}}function m(e,t,n){if(op.hasOwnProperty(n))throw Error("EventPluginRegistry: More than one plugin attempted to publish the same event name, `"+n+"`.");op[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];y(i,t,n)}return!0}return!!e.registrationName&&(y(e.registrationName,t,n),!0)}function y(e,t,n){if(ip[e])throw Error("EventPluginRegistry: More than one plugin attempted to publish the same registration name, `"+e+"`.");ip[e]=t,ap[e]=t.eventTypes[n].dependencies;var r=e.toLowerCase();lp[r]=e,"onDoubleClick"===e&&(lp.ondblclick=e)}function v(e){if(tp)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");tp=Array.prototype.slice.call(e),h()}function g(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(!np.hasOwnProperty(n)||np[n]!==r){if(np[n])throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `"+n+"`.");np[n]=r,t=!0}}t&&h()}function b(e){var t=Nd(e);if(t){if("function"!=typeof dp)throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=Rd(n);dp(t.stateNode,t.type,r)}}}function w(e){dp=e}function k(e){pp?hp?hp.push(e):hp=[e]:pp=e}function x(){return null!==pp||null!==hp}function T(){if(pp){var e=pp,t=hp;if(pp=null,hp=null,b(e),t)for(var n=0;n2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function I(e,t,n,o){if(null!==n&&n.type===Pp)return!1;switch("undefined"==typeof t?"undefined":r(t)){case"function":case"symbol":return!0;case"boolean":if(o)return!1;if(null!==n)return!n.acceptsBooleans;var i=e.toLowerCase().slice(0,5);return"data-"!==i&&"aria-"!==i;default:return!1}}function D(e,t,n,r){if(null===t||"undefined"==typeof t)return!0;if(I(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case Op:return!t;case Ip:return t===!1;case Dp:return isNaN(t);case Mp:return isNaN(t)||t<1}return!1}function M(e){return Vp.hasOwnProperty(e)?Vp[e]:null}function z(e,t,n,r,o,i){this.acceptsBooleans=t===Np||t===Op||t===Ip,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}function L(e){!Kp&&Yp.test(e)&&(Kp=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function A(e,t,n,r){if(r.mustUseProperty){var o=r.propertyName;return e[o]}r.sanitizeURL&&L(""+n);var i=r.attributeName,a=null;if(r.type===Ip){if(e.hasAttribute(i)){var l=e.getAttribute(i);return""===l||(D(t,n,r,!1)?l:l===""+n?n:l)}}else if(e.hasAttribute(i)){if(D(t,n,r,!1))return e.getAttribute(i);if(r.type===Op)return n;a=e.getAttribute(i)}return D(t,n,r,!1)?null===a?n:a:a===""+n?n:a}function F(e,t,n){if(N(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var r=e.getAttribute(t);return r===""+n?n:r}}function U(e,t,n,r){var o=M(t);if(!O(t,o,r))if(D(t,n,o,r)&&(n=null),r||null===o){if(N(t)){var i=t;null===n?e.removeAttribute(i):e.setAttribute(i,""+n)}}else{var a=o.mustUseProperty;if(a){var l=o.propertyName;if(null===n){var u=o.type;e[l]=u!==Op&&""}else e[l]=n}else{var s=o.attributeName,c=o.attributeNamespace;if(null===n)e.removeAttribute(s);else{var f,d=o.type;d===Op||d===Ip&&n===!0?f="":(f=""+n,o.sanitizeURL&&L(f.toString())),c?e.setAttributeNS(c,s,f):e.setAttribute(s,f)}}}}function j(e,t,n){var r="";if(t){var o=t.fileName,i=o.replace(Xp,"");if(/^index\./.test(i)){var a=o.match(Xp);if(a){var l=a[1];if(l){var u=l.replace(Xp,"");i=u+"/"+i}}}r=" (at "+i+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}function W(e){if(null===e||"object"!==("undefined"==typeof e?"undefined":r(e)))return null;var t=dh&&e[dh]||e[ph];return"function"==typeof t?t:null}function V(e){return e._status===yh?e._result:null}function H(e){if(e._status===hh){e._status=mh;var t=e._ctor,n=t();e._result=n,n.then(function(t){if(e._status===mh){var n=t.default;void 0===n&&o("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),e._status=yh,e._result=n}},function(t){e._status===mh&&(e._status=vh,e._result=t)})}}function B(e,t,n){var r=t.displayName||t.name||"";return e.displayName||(""!==r?n+"("+r+")":n)}function $(e){if(null==e)return null;if("number"==typeof e.tag&&o("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case eh:return"Fragment";case Zp:return"Portal";case nh:return"Profiler";case th:return"StrictMode";case lh:return"Suspense";case uh:return"SuspenseList"}if("object"===("undefined"==typeof e?"undefined":r(e)))switch(e.$$typeof){case oh:return"Context.Consumer";case rh:return"Context.Provider";case ah:return B(e,e.render,"ForwardRef");case sh:return $(e.type);case fh:return $(e.render);case ch:var t=e,n=V(t);if(n)return $(n)}return null}function q(e){switch(e.tag){case zd:case Ld:case Fd:case Ud:case Vd:case Wd:return"";default:var t=e._debugOwner,n=e._debugSource,r=$(e.type),o=null;return t&&(o=$(t.type)),j(r,n,o)}}function Q(e){var t="",n=e;do t+=q(n),n=n.return;while(n);return t}function Y(){if(null===bh)return null;var e=bh._debugOwner;return null!==e&&"undefined"!=typeof e?$(e.type):null}function K(){return null===bh?"":Q(bh)}function X(){gh.getCurrentStack=null,bh=null,wh=!1}function G(e){gh.getCurrentStack=K,bh=e,wh=!1}function J(e){wh=e}function Z(e){return""+e}function ee(e){switch("undefined"==typeof e?"undefined":r(e)){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function te(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){return e._valueTracker}function re(e){e._valueTracker=null}function oe(e){var t="";return e?t=te(e)?e.checked?"true":"false":e.value:t}function ie(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!=typeof n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var a={getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){re(e),delete e[t]}};return a}}function ae(e){ne(e)||(e._valueTracker=ie(e))}function le(e){if(!e)return!1;var t=ne(e);if(!t)return!0;var n=t.getValue(),r=oe(e);return r!==n&&(t.setValue(r),!0)}function ue(e){var t="checkbox"===e.type||"radio"===e.type;return t?null!=e.checked:null!=e.value}function se(e,t){var n=e,r=t.checked,o=hd({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked});return o}function ce(e,t){xh.checkPropTypes("input",t),void 0===t.checked||void 0===t.defaultChecked||Ch||(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",Y()||"A component",t.type),Ch=!0),void 0===t.value||void 0===t.defaultValue||_h||(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",Y()||"A component",t.type),_h=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:ee(null!=t.value?t.value:r),controlled:ue(t)}}function fe(e,t){var n=e,r=t.checked;null!=r&&U(n,"checked",r,!1)}function de(e,t){var n=e,r=ue(t);n._wrapperState.controlled||!r||Rh||(o("A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),Rh=!0),!n._wrapperState.controlled||r||Ph||(o("A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),Ph=!0),fe(e,t);var i=ee(t.value),a=t.type;if(null!=i)"number"===a?(0===i&&""===n.value||n.value!=i)&&(n.value=Z(i)):n.value!==Z(i)&&(n.value=Z(i));else if("submit"===a||"reset"===a)return void n.removeAttribute("value");t.hasOwnProperty("value")?ye(n,t.type,i):t.hasOwnProperty("defaultValue")&&ye(n,t.type,ee(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function pe(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type,i="submit"===o||"reset"===o;if(i&&(void 0===t.value||null===t.value))return;var a=Z(r._wrapperState.initialValue);n||a!==r.value&&(r.value=a),r.defaultValue=a}var l=r.name;""!==l&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==l&&(r.name=l)}function he(e,t){var n=e;de(n,t),me(n,t)}function me(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i children.")))}),null==t.selected||Nh||(o("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",n,ke())}}}function Te(e,t,n,r){var o=e.options;if(t){for(var i=n,a={},l=0;l.");var r=hd({},t,{value:void 0,defaultValue:void 0,children:Z(n._wrapperState.initialValue)});return r}function Ne(e,t){var n=e;xh.checkPropTypes("textarea",t),void 0===t.value||void 0===t.defaultValue||Mh||(o("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",Y()||"A component"),Mh=!0);var r=t.value;if(null==r){var i=t.children,a=t.defaultValue;if(null!=i){if(o("Use the `defaultValue` or `value` props instead of setting children on