{"version":3,"sources":["printer-detailed-view/printer-detailed-loader.js","components/map/tooltip-desktop/tooltip-desktop.js","components/map/markers.js","components/map/map.js","common/images/PrinterIcon.svg","common/images/Selected_Icon.svg","common/images/PrinterIcon-Gray.svg","common/images/up.svg","common/images/help-img-1.png","common/images/help-img-2.jpg","common/images/help-img-3.png","components/map/map-config.js","history/history.js","common/helper.js","common/images/details-back.svg","serviceWorker.js","components/search-input/mobile/mobile-search-input.js","home/filter/quick-filters.js","home/searchbar-section/searchbar-section-mobile.js","components/search-input/desktop/desktop-search-input.js","home/searchbar-section/searchbar-section-desktop.js","components/dropdown/dropdown.js","home/swipe-section-mobile/online-filter.js","home/swipe-section-mobile/swipe-section-mobile.js","home/printers-list/single-building/single-building.js","home/printers-list/list-item.js","home/printers-list/list-component.js","components/map/tooltip-mobile/tooltip-mobile.js","home/printers-list/printers-list.js","home/home-loader.js","home/printer-regions-config.js","components/help-section/carousel/carousel.js","home/home.js","printer-detailed-view/printer-detailed-view-loader.js","material-ui-theme.js","routes.js","index.js","common/images/oval.svg","common/images/color.svg","config/config.js","common/images/current-location.png","common/images/filter-purple.png","common/images/close-purple.png","common/images/filter.png","common/images/Printer-Icon.png","common/breakpoints.js","components/help-section/help.js"],"names":["PrinterDetailedViewLoader","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","className","react_loading_skeleton__WEBPACK_IMPORTED_MODULE_6___default","count","height","Component","TooltipDesktop","props","goToDetails","printerType","text","site_id","react_default","role","tabIndex","onKeyUp","e","keyCode","onClick","style","backgroundImage","concat","oval","colorNotSupported","colorPrinter","colorSupported","markerStyleSelected","icon","backgroundRepeat","width","backgroundSize","cursor","markerStyle","position","Markers","myLocation","activePrinter","setActivePrinter","name","preventDefault","stopPropagation","history","push","center","lat","lng","myLocationIcon","onlineStatus","printerIcon","offlinePrinterIcon","selectedIcon","Fragment","breakpoints","onMouseEnter","onMouseLeave","tooltip_desktop","Map","buildings","zoom","locationPermissionGranted","userLocation","detailsView","updateCenterFromMaps","isOnline","printers","i","length","IsInService","lib_default","onChange","_ref","bootstrapURLKeys","key","mapConfig","initialCenter","defaultZoom","options","styles","featureType","stylers","visibility","elementType","map","building","index","activePrinterisSet","helper","getPrintersByType","id","markers","site","module","exports","__webpack_require__","p","config_config_js__WEBPACK_IMPORTED_MODULE_0__","__webpack_exports__","config","mapsKey","history__WEBPACK_IMPORTED_MODULE_0__","createBrowserHistory","helpers","filter","printer","IsColorSupported","Boolean","window","location","hostname","match","withTheme","withStyles","root","padding","display","alignItems","borderRadius","boxShadow","backgroundColor","palette","white","main","input","marginLeft","flex","iconButton","back","divider","classes","toggleSearching","searching","onChangeHandlerSearch","searchText","Paper_default","elevation","aria-label","Search_default","IconButton_default","LeftIcon","InputBase_default","value","placeholder","inputProps","onFocus","typography","tune","verticalAlign","close","float","headerSection","color","primary","title","fontWeight","fontSize","display3","filters","border","paddingLeft","paddingRight","marginRight","marginBottom","display2","filterSelected","background","filtersSection","marginTop","button","checkboxLabel","toggleFilterDrawer","setFilterPrintersOnlineStatus","inputRef","useRef","initialFilters","searchName","selected","forEach","propFilters","_React$useState","React","useState","_React$useState2","Object","slicedToArray","setFilters","_React$useState3","sortNearestIsActive","_React$useState4","formSortByDistance","setFormSortByDistance","applyFilter","localFilter","slice","submitFilters","setSortNearestIsActive","applyFilters","useEffect","active","current","focus","ref","FilterImage","aria-controls","CloseImg","aria-checked","aria-labelledby","FormControlLabel_default","control","Checkbox_default","checked","label","availablePrinters","filterPrintersOnlineStatus","modal","borderTopLeftRadius","borderTopRightRadius","currentRegion","isFilterDrawerOpen","mobile_search_input","Drawer_default","open","anchor","paperAnchorBottom","onClose","quick_filters","iconFilter","&:focus","outline","-webkit-border-radius","margin","black","textInput","numberOfFilters","inputClass","autoFocus","aria-expanded","Badge_default","badgeContent","ActiveFilterImage","htmlFor","target","SearchbarSection","desktop_search_input","filterIconDown","left","top","transition","filterIconUp","transform","selectButton","minWidth","textTransform","borderBottom","dropDownOpen","menuRoot","menu","paddingTop","paddingBottom","selectedMenuItem","_useState","_useState2","anchorEl","setAnchorEl","titleFontSize","menuListprops","listWidth","handleChange","handleClose","Button_default","aria-haspopup","event","currentTarget","activeName","ArrowDropDown_default","Menu_default","getContentAnchorEl","PaperProps","MenuListProps","anchorOrigin","vertical","horizontal","transformOrigin","list","MenuItem_default","activeId","menuItem","dropdown","isPrinterListCollapsed","handleClick","showFilter","onTouchStart","onTouchEnd","UpImage","online_filter","SingleBuilding","printerImg","showPrinterImage","FormattedAddress","distance","toFixed","ListItem","goToPrinterDetailedView","listOnClickHandler","listOnKeyUpHandler","onBlur","children","List","swipe_section_mobile","aria-live","data","placeholderImg","ImageUrl","list_item","single_building_single_building","bottom","zIndex","content","actionsWrap","textAlign","justifyContent","-webkit-flex-flow","lineHeight","display1","directions","printViaEmail","closeButton","right","showDirections","url","addEventListener","reload","currentActiveBuilding","getCurrentActiveBuildingDetails","searchbar_section_mobile","searchbar_section_desktop_SearchbarSection","list_component","tooltip_mobile","HomeLoader","bundle_default","regions","shortTitle","contactUsContent","CarouselComponent","_this","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","state","currentSlide","_this2","settings","dots","infinite","speed","slidesToShow","slidesToScroll","prevArrow","carousel_SlideArrowComponent","classArrow","nextArrow","afterChange","setState","helpDetails","img","SeePrintStatusImg","PrintAnywhereImg","DirectionsImg","help","SlideArrowComponent","to","type","Home","getRegion","find","region","getPrinters","regionNameFromUrl","params","URLSearchParams","append","resultsSortBy","toString","fetch","then","resp","json","payload","catch","error","console","log","showPosition","coords","latitude","longitude","MapConfig","centerToUserLocation","openPrinterList","openHelpSection","isHelpSectionOpen","closeHelpSection","items","split","item","every","el","toLowerCase","indexOf","filtersApplied","finalFiltersApplied","keys","status","findOnline","locationPermissionReturned","vh","innerHeight","document","documentElement","setProperty","watchForLocation","body","overflow","newProps","psUserCurrentLocation","setTimeout","_this3","unfilteredBuilding","home_loader_HomeLoader","filteredBuildings","searchedBuildingbuildings","printers_list_printers_list","Modal_default","aria-describedby","help_section_help","carousel_carousel","Slide_default","in","direction","mountOnEnter","unmountOnExit","LoadableComponent","Loadable","loader","Promise","all","bind","loading","Loading","App","theme","createMuiTheme","useNextVariants","fontFamily","join","secondary","grey","shadows","Array","fill","Routes","Router","Route","exact","path","component","PrinterDetailedView","generateClassName","createGenerateClassName","dangerouslyUseGlobalCSS","productionPrefix","jss","create","objectSpread","jssPreset","insertionPoint","ReactDOM","render","JssProvider_default","routes","getElementById","navigator","serviceWorker","ready","registration","unregister","require","process","d","Desktop","Touch","react_responsive__WEBPACK_IMPORTED_MODULE_0__","useMediaQuery","_ref2","maxWidth","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","common_images_details_back_svg__WEBPACK_IMPORTED_MODULE_2__","common_images_details_back_svg__WEBPACK_IMPORTED_MODULE_2___default","HelpComponent","customTitle","extraDialogCSS","extraHeaderCSS","extraContentCSS","aria-modal"],"mappings":"uMAGqBA,mLAEnB,OACCC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mCACdH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,6CACdH,EAAAC,EAAAC,cAACE,EAAAH,EAAD,CAAUI,MAAO,EAAGC,OAAQ,MAC5BN,EAAAC,EAAAC,cAACE,EAAAH,EAAD,CAAUI,MAAO,EAAGC,OAAQ,eANsBC,uNCiDxCC,MA/Cf,SAAwBC,GAAO,IACtBC,EAA4CD,EAA5CC,YAAaC,EAA+BF,EAA/BE,YAAaC,EAAkBH,EAAlBG,KAAMC,EAAYJ,EAAZI,QACxC,OACCC,EAAAb,EAAAC,cAAA,OACCC,UAAU,WACVY,KAAK,SACLC,SAAU,EACVC,QAAS,SAAAC,GACU,KAAdA,EAAEC,SACLT,EAAYG,EAASK,IAGvBE,QAAS,SAAAF,GAAC,OAAIR,EAAYG,EAASK,KAEnCJ,EAAAb,EAAAC,cAAA,OAAKC,UAAU,QAAQS,GACvBE,EAAAb,EAAAC,cAAA,OAAKC,UAAU,2B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AKC,UAAW,kBAAoBuf,GAAkB,KACrDP,EAAAlf,EAAAC,cAAA,OACCC,UAAU,iBACVkB,MAAO,CAAEC,gBAAe,OAAAC,OAASqH,IAAT,MACxB5H,SAAU,EACVC,QAAS,SAAAC,GACU,KAAdA,EAAEC,SACLiY,EAAiBlY,IAGnBE,QAASgY,IAEV+F,EAAAlf,EAAAC,cAAA,OAAKC,UAAU,gBAAiBqf,GAAe,SAEhDL,EAAAlf,EAAAC,cAAA,OACCC,UAAU,iBACVa,SAAU,EACVC,QAAS,SAAAC,GACU,KAAdA,EAAEC,SACLiY,EAAiBlY,IAGnBE,QAASgY,IAEV+F,EAAAlf,EAAAC,cAAA,OAAKC,UAAWwf,GAAmB,IACjClf,EAAM0S","file":"static/js/main.5671f36d.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\n\nexport default class PrinterDetailedViewLoader extends Component {\n\trender() {\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport oval from \"common/images/oval.svg\";\nimport colorPrinter from \"common/images/color.svg\";\n\nfunction TooltipDesktop(props) {\n\tconst { goToDetails, printerType, text, site_id } = props;\n\treturn (\n\t\t {\n\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\tgoToDetails(site_id, e);\n\t\t\t\t}\n\t\t\t}}\n\t\t\tonClick={e => goToDetails(site_id, e)}\n\t\t>\n\t\t\t
{text}
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{printerType.colorNotSupported}\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
{printerType.colorSupported}
\n\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n\nTooltipDesktop.propTypes = {\n\tprinterType: PropTypes.shape({\n\t\tcolorNotSupported: PropTypes.string.isRequired,\n\t\tcolorSupported: PropTypes.string.isRequired\n\t}),\n\tgoToDetails: PropTypes.func.isRequired,\n\ttext: PropTypes.string.isRequired,\n\tsite_id: PropTypes.string.isRequired\n};\n\nexport default TooltipDesktop;\n","import React from \"react\";\nimport printerIcon from \"common/images/PrinterIcon.svg\";\nimport selectedIcon from \"common/images/Selected_Icon.svg\";\nimport offlinePrinterIcon from \"common/images/PrinterIcon-Gray.svg\";\nimport myLocationIcon from \"common/images/current-location.png\";\nimport history from \"history/history\";\nimport PropTypes from \"prop-types\";\nimport TooltipDesktop from \"./tooltip-desktop/tooltip-desktop\";\nimport { Desktop, Touch } from \"common/breakpoints\";\n\nconst markerStyleSelected = icon => {\n\treturn {\n\t\tbackgroundImage: `url(${icon})`,\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\twidth: \"30px\",\n\t\theight: \"30px\",\n\t\tbackgroundSize: \"contain\",\n\t\tcursor: \"pointer\"\n\t};\n};\n\nconst markerStyle = icon => {\n\treturn {\n\t\tbackgroundImage: `url(${icon})`,\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\twidth: \"40px\",\n\t\theight: \"40px\",\n\t\tbackgroundSize: \"contain\",\n\t\tcursor: \"pointer\",\n\t\tposition: \"relative\"\n\t};\n};\n\nconst Markers = props => {\n\tconst {\n\t\tmyLocation,\n\t\tactivePrinter,\n\t\tsetActivePrinter,\n\t\ttext,\n\t\tsite_id,\n\t\tprinterType\n\t} = props;\n\tconst goToDetails = (name, e) => {\n\t\te.preventDefault();\n\t\te.stopPropagation();\n\t\thistory.push(\"/printer/\" + name);\n\t};\n\tconst center = {\n\t\tlat: props.lat,\n\t\tlng: props.lng\n\t};\n\tif (myLocation) {\n\t\treturn (\n\t\t\t
\n\t\t);\n\t}\n\tlet icon = props.onlineStatus ? printerIcon : offlinePrinterIcon;\n\tif (activePrinter) {\n\t\ticon = selectedIcon;\n\t}\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t setActivePrinter(site_id)}\n\t\t\t\t\tonMouseLeave={() => setActivePrinter(null)}\n\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\tgoToDetails(site_id, e);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{activePrinter && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t \n\t\t\t\n\t\t\t\t {\n\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\tsetActivePrinter(site_id, center);\n\t\t\t\t\t}}\n\t\t\t\t>
\n\t\t\t \n\t\t \n\t);\n};\n\nMarkers.propTypes = {\n\tmyLocation: PropTypes.bool,\n\tactivePrinter: PropTypes.bool,\n\tsetActivePrinter: PropTypes.func,\n\tsite_id: PropTypes.string,\n\ttext: PropTypes.string,\n\tprinterType: PropTypes.shape({\n\t\tcolorNotSupported: PropTypes.string.isRequired,\n\t\tcolorSupported: PropTypes.string.isRequired\n\t}),\n\tlat: PropTypes.number.isRequired,\n\tlng: PropTypes.number.isRequired,\n\tonlineStatus: PropTypes.bool\n};\nexport default Markers;\n","import React from \"react\";\nimport GoogleMapReact from \"google-map-react\";\nimport mapConfig from \"./map-config.js\";\nimport \"./map.scss\";\nimport Markers from \"./markers\";\nimport helper from \"common/helper.js\";\nimport PropTypes from \"prop-types\";\n\nconst Map = props => {\n\tconst {\n\t\tbuildings,\n\t\tcenter,\n\t\tzoom,\n\t\tlocationPermissionGranted,\n\t\tuserLocation,\n\t\tactivePrinter,\n\t\tsetActivePrinter,\n\t\tdetailsView,\n\t\tupdateCenterFromMaps\n\t} = props;\n\tconst _onChange = ({ center, zoom }) => {\n\t\tupdateCenterFromMaps(center, zoom);\n\t};\n\tconst mapOptions = () => {\n\t\treturn {\n\t\t\tstyles: [\n\t\t\t\t{\n\t\t\t\t\tfeatureType: \"poi\",\n\t\t\t\t\tstylers: [{ visibility: \"off\" }]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfeatureType: \"transit\",\n\t\t\t\t\telementType: \"labels.icon\",\n\t\t\t\t\tstylers: [{ visibility: \"off\" }]\n\t\t\t\t}\n\t\t\t]\n\t\t};\n\t};\n\tconst onMapClick = e => {\n\t\t//close the tool tip (i.e., active printer) when clicked or touched on the map\n\t\tsetActivePrinter(null);\n\t};\n\tconst isOnline = printers => {\n\t\tfor (let i = 0; i < printers.length; i++) {\n\t\t\tif (printers[i].IsInService) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t};\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{buildings &&\n\t\t\t\t\tbuildings.length > 0 &&\n\t\t\t\t\tbuildings.map((building, index) => {\n\t\t\t\t\t\tlet activePrinterisSet = false;\n\t\t\t\t\t\tlet printerType = helper.getPrintersByType(building.printers);\n\t\t\t\t\t\tif (activePrinter && activePrinter.id === building.site_id)\n\t\t\t\t\t\t\tactivePrinterisSet = true;\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t{locationPermissionGranted && (\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t \n\t\t
\n\t);\n};\n\nMap.propTypes = {\n\tbuildings: PropTypes.array.isRequired,\n\tcenter: PropTypes.object.isRequired,\n\tzoom: PropTypes.number,\n\tlocationPermissionGranted: PropTypes.bool.isRequired,\n\tuserLocation: PropTypes.object,\n\tactivePrinter: PropTypes.object,\n\tsetActivePrinter: PropTypes.func.isRequired,\n\tdetailsView: PropTypes.bool,\n\tupdateCenterFromMaps: PropTypes.func\n};\n\nexport default Map;\n","module.exports = __webpack_public_path__ + \"static/media/PrinterIcon.95ec2d5d.svg\";","module.exports = __webpack_public_path__ + \"static/media/Selected_Icon.262f554e.svg\";","module.exports = __webpack_public_path__ + \"static/media/PrinterIcon-Gray.0639c7e8.svg\";","module.exports = __webpack_public_path__ + \"static/media/up.adc76596.svg\";","module.exports = __webpack_public_path__ + \"static/media/help-img-1.201f36fd.png\";","module.exports = __webpack_public_path__ + \"static/media/help-img-2.e66cf7e7.jpg\";","module.exports = __webpack_public_path__ + \"static/media/help-img-3.af313ed6.png\";","import config from \"config/config.js\";\n\nexport default {\n\tzoom: 14,\n\tcenter: {\n\t\tlat: 40.7366686,\n\t\tlng: -73.98797569999999\n\t},\n\tkey: config.mapsKey\n};\n","import { createBrowserHistory } from 'history'\n\nexport default createBrowserHistory()\n\n//import this file navigate the user to a different route","const helpers = {\n\tgetPrintersByType: printers => {\n\t\tconst colorNotSupported = printers.filter(\n\t\t\tprinter => !printer.IsColorSupported\n\t\t).length;\n\t\tconst colorSupported = printers.length - colorNotSupported;\n\t\tlet colorSupportedText, colorNotSupportedText;\n\t\tif (colorSupported === 1) colorSupportedText = colorSupported + \" printer\";\n\t\telse colorSupportedText = colorSupported + \" printers\";\n\n\t\tif (colorNotSupported === 1)\n\t\t\tcolorNotSupportedText = colorNotSupported + \" printer\";\n\t\telse colorNotSupportedText = colorNotSupported + \" printers\";\n\n\t\tconst printer = {\n\t\t\tcolorNotSupported: colorNotSupportedText,\n\t\t\tcolorSupported: colorSupportedText\n\t\t};\n\t\treturn printer;\n\t}\n};\n\nexport default helpers;\n","module.exports = __webpack_public_path__ + \"static/media/details-back.ab83e07f.svg\";","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read http://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit http://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See http://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withTheme, withStyles } from \"@material-ui/core/styles\";\nimport Paper from \"@material-ui/core/Paper\";\nimport InputBase from \"@material-ui/core/InputBase\";\nimport SearchIcon from \"@material-ui/icons/Search\";\nimport LeftIcon from \"common/images/details-back.svg\";\nimport IconButton from \"@material-ui/core/IconButton\";\n\nconst styles = ({ palette }) => ({\n\troot: {\n\t\tpadding: \"2px 4px\",\n\t\tdisplay: \"flex\",\n\t\talignItems: \"center\",\n\t\twidth: \"100%\",\n\t\theight: \"50px\",\n\t\tborderRadius: \"5px\",\n\t\tboxShadow: \"none\",\n\t\tbackgroundColor: palette.white.main\n\t},\n\tinput: {\n\t\tmarginLeft: 8,\n\t\tflex: 1\n\t},\n\ticonButton: {\n\t\tpadding: 10\n\t},\n\tback: {\n\t\twidth: \"30px\",\n\t\theight: \"30px\",\n\t\tbackgroundSize: \"contain\",\n\t\tbackgroundRepeat: \"no-repeat\"\n\t},\n\tdivider: {\n\t\theight: \"100%\",\n\t\twidth: \"1px\"\n\t}\n});\n\nfunction SearchInput(props) {\n\tconst {\n\t\tclasses,\n\t\ttoggleSearching,\n\t\tsearching,\n\t\tonChangeHandlerSearch,\n\t\tsearchText,\n\t} = props;\n\n\tconst focusHandler = e => {\n\t\ttoggleSearching(true);\n\t};\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{!searching && }\n\t\t\t\t{searching && (\n\t\t\t\t\t toggleSearching(false)}\n\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t \n\t\t\t \n\t\t \n\t);\n}\n\nSearchInput.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\ttoggleSearching: PropTypes.func.isRequired,\n\tsearching: PropTypes.bool.isRequired,\n\tonChangeHandlerSearch: PropTypes.func.isRequired,\n\tsearchText: PropTypes.string.isRequired,\n};\n\nexport default withTheme()(withStyles(styles)(SearchInput));\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withTheme, withStyles } from \"@material-ui/core/styles\";\nimport FilterImage from \"common/images/filter-purple.png\";\nimport FormControlLabel from \"@material-ui/core/FormControlLabel\";\nimport Checkbox from \"@material-ui/core/Checkbox\";\nimport CloseImg from \"common/images/close-purple.png\";\nimport { Desktop, Touch } from \"common/breakpoints\";\n\nconst styles = ({ typography, palette }) => ({\n\troot: {\n\t\tpadding: \"30px 25px\"\n\t},\n\ttune: {\n\t\twidth: \"26px\",\n\t\theight: \"26px\",\n\t\tbackgroundSize: \"contain\",\n\t\tdisplay: \"inline-block\",\n\t\tverticalAlign: \"middle\"\n\t},\n\tclose: {\n\t\twidth: \"26px\",\n\t\theight: \"26px\",\n\t\tbackgroundSize: \"contain\"\n\t},\n\ticonButton: {\n\t\tfloat: \"right\",\n\t\tverticalAlign: \"middle\",\n\t\tpadding: 0\n\t},\n\theaderSection: {\n\t\tcolor: palette.primary.main\n\t},\n\ttitle: {\n\t\tdisplay: \"inline-block\",\n\t\tverticalAlign: \"middle\",\n\t\tmarginLeft: \"20px\",\n\t\tfontWeight: \"bold\",\n\t\tfontSize: typography.display3.fontSize\n\t},\n\tfilters: {\n\t\tdisplay: \"inline-block\",\n\t\tverticalAlign: \"middle\",\n\t\tborder: `2px solid ${palette.primary.main}`,\n\t\tpadding: \"5px\",\n\t\tpaddingLeft: \"12px\",\n\t\tpaddingRight: \"12px\",\n\t\tmarginRight: \"10px\",\n\t\tmarginBottom: \"17px\",\n\t\tcolor: palette.primary.main,\n\t\tcursor: \"pointer\",\n\t\tfontSize: typography.display2.fontSize,\n\t\tborderRadius: \"2px\"\n\t},\n\tfilterSelected: {\n\t\tdisplay: \"inline-block\",\n\t\tverticalAlign: \"middle\",\n\t\tborder: `2px solid ${palette.primary.main}`,\n\t\tpadding: \"5px\",\n\t\tpaddingLeft: \"12px\",\n\t\tpaddingRight: \"12px\",\n\t\tmarginRight: \"10px\",\n\t\tmarginBottom: \"17px\",\n\t\tcolor: palette.white.main,\n\t\tbackground: palette.primary.main,\n\t\tfontSize: typography.display2.fontSize,\n\t\tcursor: \"pointer\",\n\t\tborderRadius: \"2px\"\n\t},\n\tfiltersSection: {\n\t\tmarginTop: \"30px\"\n\t},\n\tbutton: {\n\t\tfloat: \"right\",\n\t\tcolor: palette.primary.main,\n\t\tfontWeight: \"bold\",\n\t\tfontSize: typography.display3.fontSize,\n\t\tcursor: \"pointer\"\n\t},\n\tcheckboxLabel: {\n\t\tcolor: palette.primary.main\n\t}\n});\nfunction Filter(props) {\n\tconst { classes, toggleFilterDrawer, setFilterPrintersOnlineStatus } = props;\n\tconst inputRef = useRef(null);\n\tlet initialFilters = [\n\t\t{ name: \"Brooklyn\", searchName: \"brooklyn\", selected: false },\n\t\t{ name: \"Manhattan\", searchName: \"new york\", selected: false }\n\t];\n\tprops.filters.forEach(propFilters => {\n\t\tinitialFilters.forEach(filters => {\n\t\t\tif (filters.name === propFilters) filters.selected = true;\n\t\t});\n\t});\n\tconst [filters, setFilters] = React.useState(initialFilters);\n\n\tconst [formSortByDistance, setFormSortByDistance] = React.useState(props.sortNearestIsActive);\n\n\tconst applyFilter = name => {\n\t\tlet localFilter = filters.slice();\n\t\tlocalFilter = localFilter.map(filter => {\n\t\t\tif (filter.name === name) filter.selected = !filter.selected;\n\t\t\treturn filter;\n\t\t});\n\t\tsetFilters(localFilter);\n\t};\n\tconst submitFilters = () => {\n\t\tprops.setSortNearestIsActive(formSortByDistance);\n\n\t\tconst localFilter = filters.slice();\n\t\tlet applyFilters = [];\n\t\tlocalFilter.forEach(filter => {\n\t\t\tif (filter.selected) {\n\t\t\t\tapplyFilters.push(filter.searchName);\n\t\t\t}\n\t\t});\n\t\tprops.setFilters(applyFilters);\n\t\ttoggleFilterDrawer();\n\t};\n\n\tuseEffect(() => {\n\t\tif (props.active) inputRef.current.focus();\n\t}, [props.active]);\n\n\tif (!props.active) return null;\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
Filters \n\t\t\t\t\t
Filters
\n\t\t\t\t\t
{\n\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\ttoggleFilterDrawer();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonClick={() => toggleFilterDrawer()}\n\t\t\t\t\t\ttabIndex={props.active ? 0 : -1}\n\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{filters.map((filter, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t applyFilter(filter.name)}\n\t\t\t\t\t\t\t\tonKeyUp={e => {\n\t\t\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\t\t\tapplyFilter(filter.name);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{filter.name}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t \n\t\t\t\t{props.locationPermissionGranted ? (\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t setFormSortByDistance(!formSortByDistance);\n\t\t\t\t\t\t\t\t }}\n\t\t\t\t\t\t\t\t onKeyUp={e => {\n\t\t\t\t\t\t\t\t\t setFormSortByDistance(!formSortByDistance);\n\t\t\t\t\t\t\t\t }}\n\t\t\t\t\t\t\t\t checked={formSortByDistance}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclassName={classes.checkboxLabel}\n\t\t\t\t\t\tlabel={\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tShow printers nearest to me first\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t ) : []}\n\n\t\t\t \n\t\t\t
\n\t\t\t\t {\n\t\t\t\t\t\t\t\tsetFilterPrintersOnlineStatus(\n\t\t\t\t\t\t\t\t\t!props.filterPrintersOnlineStatus\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonKeyUp={e => {\n\t\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\t\tsetFilterPrintersOnlineStatus(\n\t\t\t\t\t\t\t\t\t\t!props.filterPrintersOnlineStatus\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\tclassName={classes.checkboxLabel}\n\t\t\t\t\tlabel={\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tAvailable Printers Only\n\t\t\t\t\t\t \n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t \n\n\t\t\t
submitFilters()}\n\t\t\t\tonKeyUp={e => {\n\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\tsubmitFilters();\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t\taria-label=\"apply filters\"\n\t\t\t\trole=\"button\"\n\t\t\t\taria-controls=\"filter-contents\"\n\t\t\t>\n\t\t\t\tApply\n\t\t\t
\n\t\t
\n\t);\n}\n\nFilter.propTypes = {\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\tfilters: PropTypes.array.isRequired,\n\tactive: PropTypes.bool.isRequired,\n\tsetFilters: PropTypes.func.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool,\n\tsetFilterPrintersOnlineStatus: PropTypes.func,\n\tsortNearestIsActive: PropTypes.bool,\n\tlocationPermissionGranted: PropTypes.bool,\n\tsetSortNearestIsActive: PropTypes.func\n};\n\nexport default withTheme()(withStyles(styles)(Filter));\n","import React from \"react\";\nimport Drawer from \"@material-ui/core/Drawer\";\nimport MobileSearchInput from \"components/search-input/mobile/mobile-search-input\";\nimport Filter from \"../filter/quick-filters\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@material-ui/core/styles\";\n\nconst styles = {\n\tmodal: {\n\t\tborderTopLeftRadius: \"5px\",\n\t\tborderTopRightRadius: \"5px\"\n\t}\n};\nfunction SearchbarSection(props) {\n\tconst {\n\t\tsearching,\n\t\ttoggleSearching,\n\t\tcurrentRegion,\n\t\tsearchText,\n\t\tonChangeHandlerSearch,\n\t\tisFilterDrawerOpen,\n\t\ttoggleFilterDrawer,\n\t\tsetFilters,\n\t\tfilters,\n\t\tclasses,\n\t\tsetSortNearestIsActive,\n\t\tsortNearestIsActive,\n\t\tlocationPermissionGranted\n\t} = props;\n\treturn (\n\t\t\n\t\t\t \n\t\t\t toggleFilterDrawer()}\n\t\t\t>\n\t\t\t\t \n\t\t\t \n\t\t
\n\t);\n}\n\nSearchbarSection.propTypes = {\n\tsearching: PropTypes.bool.isRequired,\n\ttoggleSearching: PropTypes.func.isRequired,\n\tcurrentRegion: PropTypes.object.isRequired,\n\tsearchText: PropTypes.string.isRequired,\n\tonChangeHandlerSearch: PropTypes.func.isRequired,\n\tisFilterDrawerOpen: PropTypes.bool.isRequired,\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\tsetFilters: PropTypes.func.isRequired,\n\tfilters: PropTypes.array.isRequired,\n\tclasses: PropTypes.object\n};\n\nexport default withStyles(styles)(SearchbarSection);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withTheme, withStyles } from \"@material-ui/core/styles\";\nimport Paper from \"@material-ui/core/Paper\";\nimport FilterImage from \"common/images/filter.png\";\nimport Badge from \"@material-ui/core/Badge\";\nimport ActiveFilterImage from \"common/images/filter-purple.png\";\nimport Filter from \"home/filter/quick-filters\";\nimport InputBase from \"@material-ui/core/InputBase\";\nimport SearchIcon from \"@material-ui/icons/Search\";\n\nconst styles = ({ palette }) => ({\n\troot: {\n\t\tpadding: \"2px 4px\",\n\t\tdisplay: \"block\",\n\t\talignItems: \"center\",\n\t\theight: \"50px\",\n\t\tborderRadius: \"5px\",\n\t\tboxShadow: \"none\",\n\t\tbackgroundColor: palette.white.main,\n\t\tflex: \"40px\",\n\t},\n\tinput: {\n\t\tmarginLeft: 8,\n\t\tflex: 1\n\t},\n\ticonFilter: {\n\t\tfloat: \"right\",\n\t\tmarginLeft: \"20px\",\n\t\tcursor: \"pointer\",\n\t\tpadding: \"8px\",\n\t\t\"&:focus\": {\n\t\t\tbackgroundColor: \"#D3D3D3\",\n\t\t\toutline: \"none\",\n\t\t\t\"-webkit-border-radius\": \"50%\"\n\t\t}\n\t},\n\tdivider: {\n\t\twidth: 1,\n\t\theight: 28,\n\t\tmargin: 4\n\t},\n\ttune: {\n\t\tcolor: palette.black.main,\n\t\twidth: \"26px\",\n\t\theight: \"26px\",\n\t\tbackgroundSize: \"contain\"\n\t},\n});\n\nfunction SearchInput(props) {\n\tconst textInput = React.useRef(null);\n\tconst {\n\t\tclasses,\n\t\tnumberOfFilters,\n\t\tisFilterDrawerOpen,\n\t\tfilters,\n\t\tsetFilters,\n\t\ttoggleFilterDrawer,\n\t\tfilterPrintersOnlineStatus,\n\t\tsetFilterPrintersOnlineStatus,\n\t\tonChangeHandlerSearch,\n\t\tlocationPermissionGranted,\n\t\tsetSortNearestIsActive,\n\t\tinputClass\n\t} = props;\n\tconst _toggleFilterDrawer = () => {\n\t\ttoggleFilterDrawer();\n\t\ttextInput.current.focus();\n\t};\n\n\tconst updateSorting = (e) => {\n\t\tsetSortNearestIsActive(e.target.value == 'distance');\n\t}\n\n\tlet showFilter = true;\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{(\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{showFilter && (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\t\ttoggleFilterDrawer();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\taria-controls=\"filter-contents\"\n\t\t\t\t\t\t\taria-expanded={isFilterDrawerOpen}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t
\n\t\t\t\n\t\t\t\t {}}\n\t\t\t\t\tlocationPermissionGranted={locationPermissionGranted}\n\t\t\t\t/>\n\t\t\t
\n\t\t {locationPermissionGranted ?\n\t\t\t\t\n\t\t\t\t\tSort by \n\t\t\t\t\t\n\t\t\t\t\t\tRelevance \n\t\t\t\t\t\tDistance \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t\t: []}\n\n\t\t \n\t);\n}\n\nSearchInput.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tnumberOfFilters: PropTypes.number.isRequired,\n\tisFilterDrawerOpen: PropTypes.bool.isRequired,\n\tfilters: PropTypes.array.isRequired,\n\tsetFilters: PropTypes.func.isRequired,\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool.isRequired,\n\tsetFilterPrintersOnlineStatus: PropTypes.func.isRequired,\n\tonChangeHandlerSearch: PropTypes.func.isRequired,\n\tinputClass: PropTypes.string.isRequired\n};\n\nexport default withTheme()(withStyles(styles)(SearchInput));\n","import React from \"react\";\nimport DesktopSearchInput from \"components/search-input/desktop/desktop-search-input\";\nimport PropTypes from \"prop-types\";\n\nexport default function SearchbarSection(props) {\n\tconst {\n\t\tcurrentRegion,\n\t\tisFilterDrawerOpen,\n\t\ttoggleFilterDrawer,\n\t\tfilters,\n\t\tsetFilters,\n\t\tfilterPrintersOnlineStatus,\n\t\tsetFilterPrintersOnlineStatus,\n\t\tonChangeHandlerSearch,\n\t\tsetSortNearestIsActive,\n\t\tlocationPermissionGranted,\n\t\tinputClass\n\t} = props;\n\treturn (\n\t\t\n\t\t\t\n\t\t \n\t);\n}\n\nSearchbarSection.propTypes = {\n\tcurrentRegion: PropTypes.object.isRequired,\n\tisFilterDrawerOpen: PropTypes.bool.isRequired,\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\tfilters: PropTypes.array.isRequired,\n\tsetFilters: PropTypes.func.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool.isRequired,\n\tsetFilterPrintersOnlineStatus: PropTypes.func.isRequired,\n\tonChangeHandlerSearch: PropTypes.func.isRequired,\n\tinputClass: PropTypes.string.isRequired\n};\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withTheme, withStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\nimport Menu from \"@material-ui/core/Menu\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport ArrowDropDownIcon from \"@material-ui/icons/ArrowDropDown\";\n\nconst styles = ({ palette }) => ({\n\tfilterIconDown: {\n\t\tposition: \"relative\",\n\t\twidth: \"25px\",\n\t\theight: \"30px\",\n\t\tbackgroundSize: \"contain\",\n\t\tleft: \"8px\",\n\t\ttop: \"0px\",\n\t\tcolor: \"black\",\n\t\ttransition: \"all 200ms ease\"\n\t},\n\tfilterIconUp: {\n\t\ttransform: \"rotate(180deg)\",\n\t\tcolor: palette.primary.main\n\t},\n\tselectButton: {\n\t\tfontSize: \"22px\",\n\t\tminWidth: \"165px\",\n\t\tfontWeight: \"bold\",\n\t\tbackgroundColor: \"white\",\n\t\tboxShadow: \"none\",\n\t\ttextTransform: \"Capitalize\",\n\t\tborderBottom: \"1px solid #333333\",\n\t\tborderRadius: \"0\"\n\t},\n\tdropDownOpen: {\n\t\tborderBottom: `2px solid ${palette.primary.main}`\n\t},\n\tmenuRoot: {\n\t\ttop: \"2px\"\n\t},\n\tmenu: {\n\t\tpaddingTop: \"0\",\n\t\tpaddingBottom: \"0\"\n\t},\n\tselectedMenuItem: {\n\t\tcolor: palette.primary.main\n\t},\n\ticonButton: {\n\t\tfloat: \"right\",\n\t\tverticalAlign: \"middle\",\n\t\tpadding: 0\n\t},\n\tclose: {\n\t\twidth: \"26px\",\n\t\theight: \"26px\",\n\t\tbackgroundSize: \"contain\"\n\t}\n});\n\nfunction Dropdown(props) {\n\tconst { classes } = props;\n\tconst [anchorEl, setAnchorEl] = useState(null);\n\tconst titleFontSize = {\n\t\tfontSize: props.fontSize.title\n\t};\n\tconst menuListprops = {\n\t\tpaddingTop: 0,\n\t\tpaddingBottom: 0,\n\t\tminWidth: props.listWidth.minWidth || \"165px\",\n\t\tborderRadius: 0\n\t};\n\n\tconst paperProps = {\n\t\tborderRadius: 0\n\t};\n\tconst handleChange = e => {\n\t\te.stopPropagation();\n\t\thandleClose();\n\t\tprops.handleChange(e.target.value);\n\t};\n\tconst handleClick = event => {\n\t\tevent.stopPropagation();\n\t\tsetAnchorEl(event.currentTarget);\n\t};\n\n\tconst handleClose = () => {\n\t\tsetAnchorEl(null);\n\t};\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{props.activeName}\n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t{props.list.map(current => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{current.title}\n\t\t\t\t\t\t \n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t \n\t\t \n\t);\n}\n\nDropdown.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tfontSize: PropTypes.object,\n\tlistWidth: PropTypes.object,\n\thandleChange: PropTypes.func.isRequired,\n\tid: PropTypes.string.isRequired,\n\tactiveName: PropTypes.string.isRequired,\n\tlist: PropTypes.array.isRequired,\n\tactiveId: PropTypes.number.isRequired\n};\n\nexport default withTheme()(withStyles(styles)(Dropdown));\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@material-ui/core/styles\";\nimport DropdownComponent from \"components/dropdown/dropdown\";\n\nconst onlineStatus = [\n\t{ title: \"Available Only\", id: 0 },\n\t{ title: \"All Printers\", id: 1 }\n];\n\nconst styles = () => ({\n\troot: {\n\t\tposition: \"absolute\",\n\t\tdisplay: \"inline-block\",\n\t\tleft: \"0px\",\n\t\ttop: \"35px\"\n\t}\n});\n\nfunction OnlineFilter(props) {\n\tconst {\n\t\tfilterPrintersOnlineStatus,\n\t\tsetFilterPrintersOnlineStatus,\n\t\tclasses\n\t} = props;\n\tconst id = filterPrintersOnlineStatus ? 0 : 1;\n\tconst name = id === 0 ? \"Available Only\" : \"All Printers\";\n\tconst handleChange = value => {\n\t\tsetFilterPrintersOnlineStatus(value === 0 ? true : false);\n\t};\n\treturn (\n\t\t\n\t\t\t \n\t\t
\n\t);\n}\n\nOnlineFilter.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool.isRequired,\n\tsetFilterPrintersOnlineStatus: PropTypes.func.isRequired\n};\n\nexport default withStyles(styles)(OnlineFilter);\n","import React from \"react\";\nimport UpImage from \"common/images/up.svg\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport FilterImage from \"common/images/filter.png\";\nimport { withStyles } from \"@material-ui/core/styles\";\nimport OnlineFilter from \"./online-filter\";\nimport Badge from \"@material-ui/core/Badge\";\nimport PropTypes from \"prop-types\";\n\nconst styles = {\n\ticonButton: {\n\t\tfloat: \"right\",\n\t\tmarginTop: \"33px\"\n\t},\n\ttune: {\n\t\twidth: \"25px\",\n\t\theight: \"25px\",\n\t\tbackgroundSize: \"contain\"\n\t}\n};\n\nfunction SwipeFilter(props) {\n\tconst {\n\t\tclasses,\n\t\tcurrentRegion,\n\t\tnumberOfFilters,\n\t\tsearching,\n\t\tisPrinterListCollapsed,\n\t\tsetFilterPrintersOnlineStatus,\n\t\tfilterPrintersOnlineStatus,\n\t\ttoggleFilterDrawer,\n\t\thandleClick\n\t} = props;\n\tlet showFilter = false;\n\tif (currentRegion && currentRegion.title === \"New York\") showFilter = true;\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t{!searching && (\n\t\t\t\t\t
{\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\thandleClick(e);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonTouchEnd={e => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\thandleClick(e);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonKeyUp={e => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\tprops.handleClick(e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t{showFilter && (\n\t\t\t\t\t
{\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\ttoggleFilterDrawer();\n\t\t\t\t\t\t}}\n\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t
\n\t\t
\n\t);\n}\n\nSwipeFilter.propTypes = {\n\tisPrinterListCollapsed: PropTypes.bool.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tcurrentRegion: PropTypes.object.isRequired,\n\tnumberOfFilters: PropTypes.number.isRequired,\n\tsearching: PropTypes.bool.isRequired,\n\tsetFilterPrintersOnlineStatus: PropTypes.func.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool.isRequired,\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\thandleClick: PropTypes.func.isRequired\n};\n\nexport default withStyles(styles)(SwipeFilter);\n","import React from \"react\";\nimport colorPrinter from \"common/images/color.svg\";\nimport oval from \"common/images/oval.svg\";\nimport \"./single-building.scss\";\nimport PropTypes from \"prop-types\";\n\nfunction SingleBuilding(props) {\n\tconst {\n\t\tbuilding,\n\t\tprinterType,\n\t\tprinterImg,\n\t\tlocationPermissionGranted,\n\t\tsortNearestIsActive,\n\t\tshowPrinterImage\n\t} = props;\n\treturn (\n\t\t\n\t\t\t{showPrinterImage && (\n\t\t\t\t
\n\t\t\t)}\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{building.site} \n\t\t\t\t \n\t\t\t\t
\n\t\t\t\t\t{building.FormattedAddress}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{printerType.colorNotSupported}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
{printerType.colorSupported}
\n\n\t\t\t\t\t{locationPermissionGranted && sortNearestIsActive && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{(building.distance || 100 / 1609.344).toFixed(2) + \" mi\"}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t
\n\t\t \n\t);\n}\n\nSingleBuilding.propTypes = {\n\tbuilding: PropTypes.shape({\n\t\tFormattedAddress: PropTypes.string.isRequired,\n\t\tImageUrl: PropTypes.string.isRequired,\n\t\tRegion: PropTypes.string.isRequired,\n\t\tbuilding: PropTypes.string.isRequired,\n\t\tdistance: PropTypes.number.isRequired,\n\t\tlat: PropTypes.number.isRequired,\n\t\tlng: PropTypes.number.isRequired,\n\t\tplace_id: PropTypes.string.isRequired,\n\t\tprinters: PropTypes.array.isRequired,\n\t\tsite: PropTypes.string.isRequired,\n\t\tsite_id: PropTypes.string.isRequired\n\t}),\n\tprinterType: PropTypes.shape({\n\t\tcolorNotSupported: PropTypes.string.isRequired,\n\t\tcolorSupported: PropTypes.string.isRequired\n\t}),\n\tprinterImg: PropTypes.string.isRequired,\n\tlocationPermissionGranted: PropTypes.bool.isRequired,\n\tshowPrinterImage: PropTypes.bool.isRequired\n};\n\nexport default SingleBuilding;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Desktop, Touch } from \"common/breakpoints\";\n\nfunction ListItem(props) {\n\tconst { building, center, goToPrinterDetailedView, setActivePrinter } = props;\n\tconst listOnClickHandler = e => {\n\t\te.preventDefault();\n\t\te.stopPropagation();\n\t\tgoToPrinterDetailedView(building.site_id);\n\t};\n\tconst listOnKeyUpHandler = e => {\n\t\te.preventDefault();\n\t\te.stopPropagation();\n\t\tif (e.keyCode === 13) {\n\t\t\tgoToPrinterDetailedView(building.site_id);\n\t\t}\n\t};\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\tsetActivePrinter(building.site_id, center);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonFocus={e => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\tsetActivePrinter(building.site_id, center);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonBlur={e => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\tsetActivePrinter(null);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonMouseLeave={e => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\tsetActivePrinter(null);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonClick={listOnClickHandler}\n\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t\tonKeyUp={listOnKeyUpHandler}\n\t\t\t\t\t>\n\t\t\t\t\t\t{props.children}\n\t\t\t\t\t
\n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{props.children}\n\t\t\t\t\t
\n\t\t\t\t \n\t\t\t \n\t\t \n\t);\n}\n\nListItem.propTypes = {\n\tbuilding: PropTypes.shape({\n\t\tsite_id: PropTypes.string.isRequired\n\t}),\n\tcenter: PropTypes.shape({\n\t\tlat: PropTypes.number.isRequired,\n\t\tlng: PropTypes.number.isRequired\n\t}),\n\tgoToPrinterDetailedView: PropTypes.func.isRequired,\n\tsetActivePrinter: PropTypes.func.isRequired,\n\tchildren: PropTypes.any\n};\n\nexport default ListItem;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport placeholderImg from \"common/images/Printer-Icon.png\";\nimport SwipeSection from \"../swipe-section-mobile/swipe-section-mobile\";\nimport helper from \"common/helper.js\";\nimport SingleBuilding from \"./single-building/single-building\";\nimport ListItem from \"./list-item\";\nimport { Touch } from \"common/breakpoints\";\n\nfunction List(props) {\n\tconst {\n\t\tprinters,\n\t\tisPrinterListCollapsed,\n\t\tsearching,\n\t\tcurrentRegion,\n\t\ttoggleFilterDrawer,\n\t\thandleClick,\n\t\tfilters,\n\t\tsetActivePrinter,\n\t\tfilterPrintersOnlineStatus,\n\t\tsetFilterPrintersOnlineStatus,\n\t\tgoToPrinterDetailedView,\n\t\tlocationPermissionGranted,\n\t\tsortNearestIsActive\n\t} = props;\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t \n\t\t\t\t)}\n\t\t\t \n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{printers.length > 0 &&\n\t\t\t\t\t\tprinters.map((data, index) => {\n\t\t\t\t\t\t\tlet building = data;\n\t\t\t\t\t\t\tlet printerImg = placeholderImg;\n\t\t\t\t\t\t\tlet printerType = helper.getPrintersByType(building.printers);\n\t\t\t\t\t\t\tconst center = {\n\t\t\t\t\t\t\t\tlat: building.lat,\n\t\t\t\t\t\t\t\tlng: building.lng\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (building.ImageUrl && building.ImageUrl !== \"\")\n\t\t\t\t\t\t\t\tprinterImg = building.ImageUrl;\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t{printers.length === 0 && (\n\t\t\t\t\t\tNo printers found.
\n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t \n\t\t
\n\t);\n}\n\nList.propTypes = {\n\tprinters: PropTypes.arrayOf(\n\t\tPropTypes.shape({\n\t\t\tFormattedAddress: PropTypes.string.isRequired,\n\t\t\tImageUrl: PropTypes.string.isRequired,\n\t\t\tRegion: PropTypes.string.isRequired,\n\t\t\tbuilding: PropTypes.string.isRequired,\n\t\t\tdistance: PropTypes.number.isRequired,\n\t\t\tlat: PropTypes.number.isRequired,\n\t\t\tlng: PropTypes.number.isRequired,\n\t\t\tplace_id: PropTypes.string.isRequired,\n\t\t\tprinters: PropTypes.array.isRequired,\n\t\t\tsite: PropTypes.string.isRequired,\n\t\t\tsite_id: PropTypes.string.isRequired\n\t\t})\n\t),\n\tisPrinterListCollapsed: PropTypes.bool.isRequired,\n\tsearching: PropTypes.bool.isRequired,\n\tcurrentRegion: PropTypes.shape({\n\t\tid: PropTypes.number.isRequired,\n\t\ttitle: PropTypes.string.isRequired,\n\t\tshortTitle: PropTypes.string.isRequired,\n\t\turl: PropTypes.string.isRequired,\n\t\tlat: PropTypes.number.isRequired,\n\t\tlng: PropTypes.number.isRequired\n\t}),\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\thandleClick: PropTypes.func.isRequired,\n\tfilters: PropTypes.array.isRequired,\n\tsetActivePrinter: PropTypes.func.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool.isRequired,\n\tsetFilterPrintersOnlineStatus: PropTypes.func.isRequired,\n\tgoToPrinterDetailedView: PropTypes.func.isRequired,\n\tlocationPermissionGranted: PropTypes.bool.isRequired\n};\n\nexport default List;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@material-ui/core/styles\";\nimport placeholderImg from \"common/images/Printer-Icon.png\";\nimport helper from \"common/helper.js\";\nimport SingleBuilding from \"home/printers-list/single-building/single-building\";\nimport CloseImg from \"common/images/close-purple.png\";\nimport history from \"history/history\";\n\nconst styles = ({ typography, palette }) => ({\n\troot: {\n\t\tposition: \"absolute\",\n\t\tbottom: \"10px\",\n\t\twidth: \"100%\",\n\t\theight: \"197px\",\n\t\tzIndex: \"10\",\n\t\tpadding: \"0px 10px 0px 10px\"\n\t},\n\tcontent: {\n\t\tbackground: \"white\",\n\t\theight: \"100%\",\n\t\twidth: \"100%\",\n\t\tborderRadius: \"5px\",\n\t\tpadding: \"23px 20px\"\n\t},\n\tactionsWrap: {\n\t\twidth: \"100%\",\n\t\tpadding: \"15px 0 15px 0\",\n\t\ttextAlign: \"center\",\n\t\tzIndex: \"10\",\n\t\tdisplay: \"flex\",\n\t\tjustifyContent: \"space-between\",\n\t\t\"-webkit-flex-flow\": \"row wrap\"\n\t},\n\tbutton: {\n\t\theight: \"25px\",\n\t\twidth: \"146px\",\n\t\tdisplay: \"inline-block\",\n\t\tlineHeight: \"25px\",\n\t\ttextAlign: \"center\",\n\t\tfontSize: typography.display1.fontSize,\n\t\tcursor: \"pointer\",\n\t\tborderRadius: \"2px\",\n\t\tfontWeight: typography.display1.fontWeight\n\t},\n\tdirections: {\n\t\tbackgroundColor: \"white\",\n\t\tcolor: palette.primary.main,\n\t\tborder: `2px solid ${palette.primary.main}`,\n\t\tfontWeight: 400\n\t},\n\tprintViaEmail: {\n\t\tbackgroundColor: palette.primary.main,\n\t\tcolor: \"white\",\n\t\tfontWeight: 600\n\t},\n\tcloseButton: {\n\t\twidth: \"25px\",\n\t\theight: \"25px\",\n\t\tbackgroundSize: \"contain\",\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\tposition: \"absolute\",\n\t\tright: \"15px\",\n\t\ttop: \"10px\"\n\t}\n});\n\nconst TooltipMobile = props => {\n\tconst {\n\t\tclasses,\n\t\tbuilding,\n\t\tsetActivePrinter,\n\t\tlocationPermissionGranted\n\t} = props;\n\tlet printerImg = placeholderImg;\n\tlet printerType = helper.getPrintersByType(building.printers);\n\tif (building.ImageUrl && building.ImageUrl !== \"\")\n\t\tprinterImg = building.ImageUrl;\n\n\tconst showDirections = () => {\n\t\tconst url =\n\t\t\t\"https://www.google.com/maps/dir/?api=1&destination=\" +\n\t\t\tbuilding.lat +\n\t\t\t\",\" +\n\t\t\tbuilding.lng;\n\t\twindow.open(url, \"_blank\");\n\t};\n\tconst closeTooltip = e => {\n\t\te.stopPropagation();\n\t\te.preventDefault();\n\t\tsetActivePrinter();\n\t};\n\n\tconst goToDetails = e => {\n\t\te.stopPropagation();\n\t\te.preventDefault();\n\t\thistory.push(\"/printer/\" + building.site_id);\n\t};\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
{\n\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\tshowDirections();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\tDirections\n\t\t\t\t\t
\n\t\t\t\t\t
goToDetails(e)}\n\t\t\t\t\t\tonKeyUp={e => {\n\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\tgoToDetails(e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\tSee Details\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nTooltipMobile.propTypes = {\n\tbuilding: PropTypes.shape({\n\t\tFormattedAddress: PropTypes.string.isRequired,\n\t\tImageUrl: PropTypes.string.isRequired,\n\t\tRegion: PropTypes.string.isRequired,\n\t\tbuilding: PropTypes.string.isRequired,\n\t\tdistance: PropTypes.number.isRequired,\n\t\tlat: PropTypes.number.isRequired,\n\t\tlng: PropTypes.number.isRequired,\n\t\tplace_id: PropTypes.string.isRequired,\n\t\tprinters: PropTypes.array.isRequired,\n\t\tsite: PropTypes.string.isRequired,\n\t\tsite_id: PropTypes.string.isRequired\n\t}),\n\tsetActivePrinter: PropTypes.func.isRequired,\n\tclasses: PropTypes.object,\n\tlocationPermissionGranted: PropTypes.bool.isRequired\n};\n\nexport default withStyles(styles)(TooltipMobile);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport \"./printers-list.scss\";\nimport history from \"history/history\";\nimport { withStyles } from \"@material-ui/core/styles\";\nimport SearchbarSectionMobile from \"../searchbar-section/searchbar-section-mobile\";\nimport SearchbarSectionDesktop from \"../searchbar-section/searchbar-section-desktop\";\nimport List from \"./list-component\";\nimport TooltipMobile from \"components/map/tooltip-mobile/tooltip-mobile\";\nimport { Desktop, Touch } from \"common/breakpoints\";\n\nconst styles = {\n\tinput: {\n\t\tdisplay: \"inline-block\",\n\t\twidth: \"100%\",\n\t\tborderBottom: \"1px solid #cccccc\",\n\t\tfontSize: \"18px\"\n\t}\n};\n\nconst PrintersList = props => {\n\tconst { isFilterDrawerOpen } = props;\n\tconst { classes, printers } = props;\n\n\tconst goToPrinterDetailedView = site_id => {\n\t\thistory.push(\"/printer/\" + site_id);\n\t};\n\tconst getCurrentActiveBuildingDetails = () => {\n\t\tif (!props.activePrinter.id) return null;\n\t\tfor (let i = 0; i < printers.length; i++) {\n\t\t\tif (printers[i].site_id === props.activePrinter.id) {\n\t\t\t\treturn printers[i];\n\t\t\t}\n\t\t}\n\t};\n\twindow.addEventListener(\"resize\", () => {\n\t\twindow.location.reload();\n\t});\n\tconst currentActiveBuilding = getCurrentActiveBuildingDetails();\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{!currentActiveBuilding && (\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t\t{currentActiveBuilding && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t \n\t\t\t \n\t\t \n\t);\n};\n\nPrintersList.propTypes = {\n\tisPrinterListCollapsed: PropTypes.bool.isRequired,\n\tsearching: PropTypes.bool.isRequired,\n\ttoggleSearching: PropTypes.func.isRequired,\n\tsearchText: PropTypes.string.isRequired,\n\tprinters: PropTypes.array.isRequired,\n\thandleClick: PropTypes.func.isRequired,\n\topenPrinterList: PropTypes.func.isRequired,\n\tlocationPermissionGranted: PropTypes.bool.isRequired,\n\tsetActivePrinter: PropTypes.func.isRequired,\n\tactivePrinter: PropTypes.object,\n\tcurrentRegion: PropTypes.object.isRequired,\n\tfilterPrintersOnlineStatus: PropTypes.bool.isRequired,\n\tsetFilterPrintersOnlineStatus: PropTypes.func.isRequired,\n\tfilters: PropTypes.array.isRequired,\n\tsetFilters: PropTypes.func.isRequired,\n\tonChangeHandlerSearch: PropTypes.func.isRequired,\n\tisFilterDrawerOpen: PropTypes.bool.isRequired,\n\tsortNearestIsActive: PropTypes.bool.isRequired,\n\ttoggleFilterDrawer: PropTypes.func.isRequired,\n\tsetSortNearestIsActive: PropTypes.func.isRequired,\n\tlocationPermissionGranted: PropTypes.bool.isRequired,\n\tclasses: PropTypes.shape({\n\t\tinput: PropTypes.string.isRequired\n\t})\n};\n\nexport default withStyles(styles)(PrintersList);\n","import React, { Component } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { Desktop } from \"common/breakpoints\";\n\nexport default class HomeLoader extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n","const regions = [\n\t{\n\t\tid: 1,\n\t\ttitle: \"New York\",\n\t\tshortTitle: \"NY\",\n\t\turl: \"new-york\",\n\t\tlat: 40.7366686,\n\t\tlng: -73.98797569999999\n\t},\n];\n\nexport default regions;\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Slider from \"react-slick\";\nimport \"./carousel.scss\";\nimport SeePrintStatusImg from \"common/images/help-img-1.png\";\nimport PrintAnywhereImg from \"common/images/help-img-2.jpg\";\nimport DirectionsImg from \"common/images/help-img-3.png\";\nimport LeftIcon from \"common/images/details-back.svg\";\nimport { Desktop, Touch } from \"common/breakpoints\";\n\nconst contactUsContent = (\n\t\n\t\tHave any problems? Email us\n\t\tprintstatus.tickets@nyu.edu \n\t
\n);\n\nclass CarouselComponent extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tcurrentSlide: 0\n\t\t};\n\t}\n\trender() {\n\t\tconst settings = {\n\t\t\tdots: false,\n\t\t\tinfinite: false,\n\t\t\tspeed: 500,\n\t\t\tslidesToShow: 1,\n\t\t\tslidesToScroll: 1,\n\t\t\tprevArrow: (\n\t\t\t\t \n\t\t\t),\n\t\t\tnextArrow: (\n\t\t\t\t \n\t\t\t),\n\t\t\tafterChange: currentSlide => {\n\t\t\t\tthis.setState({\n\t\t\t\t\tcurrentSlide: currentSlide\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t\tconst helpDetails = [\n\t\t\t{\n\t\t\t\ttitle: \"See Printer Status\",\n\t\t\t\tcontent:\n\t\t\t\t\t\"See real time availability of printers in NYU buildings across campus, including paper and toner status. Buildings in purple have up and running printers.\",\n\t\t\t\timg: SeePrintStatusImg\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Find Nearby Printer\",\n\t\t\t\tcontent:\n\t\t\t\t\t\"Sorted by distance, find the closest available printer in seconds. Click on the buildings for details and individual printers’ statuses.\",\n\t\t\t\timg: PrintAnywhereImg\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"MobilePrint\",\n\t\t\t\tcontent:\n\t\t\t\t\t\"With MobilePrint, students are able to print directly from your computer or phone through email, no NYU wifi required.\",\n\t\t\t\timg: DirectionsImg\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Contact Us\",\n\t\t\t\tcontent: contactUsContent,\n\t\t\t\timg: null\n\t\t\t}\n\t\t];\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{helpDetails.map((help, index) => {\n\t\t\t\t\t\tlet tabIndex = -1;\n\t\t\t\t\t\tif (settings.prevArrow.props.currentSlide === index) tabIndex = 0;\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{/* Do not show any image for contact us slide - index = 3 */}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{help.title}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{help.content}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t \n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{this.state.currentSlide + 1}/4\n\t\t\t\t\t
\n\t\t\t\t \n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{this.state.currentSlide + 1}/4\n\t\t\t\t\t
\n\t\t\t\t \n\t\t\t
\n\t\t);\n\t}\n}\n\nconst SlideArrowComponent = ({\n\tto,\n\tclassArrow,\n\tonClick,\n\ttext,\n\tcurrentSlide\n}) => {\n\tif (text === \"Next\" && currentSlide === 3) {\n\t\treturn
;\n\t}\n\tif (text === \"Previous\" && currentSlide === 0) {\n\t\treturn
;\n\t}\n\treturn (\n\t\t\n\t\t\t
\n\t\t \n\t);\n};\n\nSlideArrowComponent.propTypes = {\n\tclassArrow: PropTypes.string,\n\tto: PropTypes.string,\n\tonClick: PropTypes.func,\n\ttext: PropTypes.string,\n\tcurrentSlide: PropTypes.number\n};\n\nexport default CarouselComponent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport \"./home.scss\";\nimport Maps from \"../components/map/map\";\nimport PrintersList from \"./printers-list/printers-list\";\nimport HomeLoader from \"./home-loader\";\nimport MapConfig from \"components/map/map-config\";\nimport config from \"config/config.js\";\nimport regions from \"./printer-regions-config\";\nimport HelpComponent from \"components/help-section/help\";\nimport Modal from \"@material-ui/core/Modal\";\nimport mapConfig from \"../components/map/map-config\";\nimport history from \"history/history\";\nimport myLocationIcon from \"common/images/current-location.png\";\nimport Slide from \"@material-ui/core/Slide\";\nimport { Touch, Desktop } from \"common/breakpoints\";\nimport CarouselComponent from \"components/help-section/carousel/carousel\";\n\nclass Home extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tisPrinterListCollapsed: true, // mobile only\n\t\t\tcenter: {},\n\t\t\tuserLocation: null,\n\t\t\tlocationPermissionReturned: false,\n\t\t\tlocationPermissionGranted: false,\n\t\t\tisHelpSectionOpen: false,\n\t\t\tbuildings: null,\n\t\t\tactivePrinter: { id: null },\n\t\t\tfilters: [],\n\t\t\tsearchText: \"\",\n\t\t\tfilterPrintersOnlineStatus: true,\n\t\t\tsearching: false, // mobile only\n\t\t\tisFilterDrawerOpen: false,\n\t\t\tresultsSortBy: \"relevance\",\n\t\t};\n\t}\n\tcomponentDidMount() {\n\t\t//safari and chrome in mobile UI fix --vh used in home.scss\n\t\tlet vh = window.innerHeight * 0.01;\n\t\tdocument.documentElement.style.setProperty(\"--vh\", `${vh}px`);\n\n\t\tthis.watchForLocation();\n\n\t\tdocument.body.style.overflow = \"hidden\";\n\n\t\t// if there is no region in the URL, navigate him to New York region by default\n\t\tif (\n\t\t\t!this.props.match.params.region ||\n\t\t\t!this.getRegion(this.props.match.params.region)\n\t\t)\n\t\t\thistory.push(\"/\" + regions[0].url);\n\n\t\tthis.getPrinters(this.props);\n\t}\n\tUNSAFE_componentWillReceiveProps(newProps) {\n\t\tthis.getPrinters(newProps);\n\t}\n\twatchForLocation() {\n\t\tif (this.locationPermissionReturned) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (typeof window.psUserCurrentLocation === 'undefined') {\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.watchForLocation();\n\t\t\t}, 1000)\n\t\t} else {\n\t\t\tif (window.psUserCurrentLocation) {\n\t\t\t\tconst userLocation = {\n\t\t\t\t\tlat: window.psUserCurrentLocation.coords.latitude,\n\t\t\t\t\tlng: window.psUserCurrentLocation.coords.longitude\n\t\t\t\t};\n\n\t\t\t\tthis.setState({\n\t\t\t\t\tlocationPermissionReturned: true,\n\t\t\t\t\tuserLocation,\n\t\t\t\t\tlocationPermissionGranted: true,\n\t\t\t\t\tzoom: MapConfig.zoom,\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis.setState({\n\t\t\t\t\tlocationPermissionReturned: true,\n\t\t\t\t\tuserLocation: null,\n\t\t\t\t\tlocationPermissionGranted: false,\n\t\t\t\t\tzoom: MapConfig.zoom,\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\tcomponentWillUnmount() {\n\t\tdocument.body.style.overflow = \"scroll\";\n\t}\n\tgetRegion = url => {\n\t\tconst regionFromUrl = regions.find(region => region.url === url);\n\t\treturn regionFromUrl;\n\t};\n\tgetPrinters = (props) => {\n\t\tconst regionNameFromUrl = this.getRegion(props.match.params.region);\n\n\t\tlet params = new URLSearchParams();\n\t\tif (regionNameFromUrl) {\n\t\t\tparams.append(\"region\", regionNameFromUrl.title);\n\t\t}\n\n\t\tif (this.state.resultsSortBy === \"distance\" && this.state.userLocation) {\n\t\t\tparams.append(\"lat\", this.state.userLocation.lat);\n\t\t\tparams.append(\"lon\", this.state.userLocation.lng);\n\t\t}\n\n\t\t// let region = regionNameFromUrl ? \"?region=\" + regionNameFromUrl.title : \"\";\n\t\tconst url = config.url + \"?\" + params.toString();\n\t\tfetch(url)\n\t\t\t.then(resp => resp.json())\n\t\t\t.then(data => {\n\t\t\t\tlet center = {\n\t\t\t\t\tlat: regionNameFromUrl ? regionNameFromUrl.lat : mapConfig.center.lat,\n\t\t\t\t\tlng: regionNameFromUrl ? regionNameFromUrl.lng : mapConfig.center.lng\n\t\t\t\t};\n\t\t\t\tthis.setState({\n\t\t\t\t\tbuildings: data.payload,\n\t\t\t\t\tcenter,\n\t\t\t\t\tfilters: [],\n\t\t\t\t\tisFilterDrawerOpen: false,\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\tconsole.log(error);\n\t\t\t});\n\t};\n\tsetActivePrinter = (id, center) => {\n\t\tconst activePrinter = {\n\t\t\tid\n\t\t};\n\t\tif (center) {\n\t\t\tthis.setState({\n\t\t\t\tactivePrinter,\n\t\t\t\tcenter,\n\t\t\t\tzoom: 15\n\t\t\t});\n\t\t} else {\n\t\t\tthis.setState({\n\t\t\t\tactivePrinter\n\t\t\t});\n\t\t}\n\t};\n\tshowPosition = position => {\n\t\t//show position only when user clicks on the button\n\t\tconst userLocation = {\n\t\t\tlat: position.coords.latitude,\n\t\t\tlng: position.coords.longitude\n\t\t};\n\t\tthis.setState({\n\t\t\tuserLocation,\n\t\t\tzoom: MapConfig.zoom,\n\t\t\tlocationPermissionGranted: true\n\t\t});\n\t\tthis.getPrinters(this.props);\n\t};\n\tcenterToUserLocation = () => {\n\t\tthis.setState({\n\t\t\tcenter: this.state.userLocation\n\t\t});\n\t};\n\tupdateCenterFromMaps = (center, zoom) => {\n\t\tthis.setState({\n\t\t\tcenter,\n\t\t\tzoom\n\t\t});\n\t};\n\topenPrinterList = () => {\n\t\tif (!this.state.isPrinterListCollapsed) {\n\t\t\tthis.setState({\n\t\t\t\tisPrinterListCollapsed: true\n\t\t\t});\n\t\t}\n\t};\n\thandleClick = e => {\n\t\tif (e) {\n\t\t\te.preventDefault();\n\t\t\te.stopPropagation();\n\t\t}\n\t\tthis.setState({\n\t\t\tisPrinterListCollapsed: !this.state.isPrinterListCollapsed\n\t\t});\n\t};\n\topenHelpSection = e => {\n\t\te.preventDefault();\n\t\tthis.setState({\n\t\t\tisHelpSectionOpen: true\n\t\t});\n\t};\n\tcloseHelpSection = e => {\n\t\te.preventDefault();\n\t\tthis.setState({\n\t\t\tisHelpSectionOpen: false\n\t\t});\n\t};\n\tfind = (items, text) => {\n\t\ttext = text.split(\" \");\n\t\treturn items.filter(function(item) {\n\t\t\treturn text.every(function(el) {\n\t\t\t\treturn (\n\t\t\t\t\t(item.site && item.site.toLowerCase().indexOf(el.toLowerCase()) > -1) ||\n\t\t\t\t\t(item.building && item.building.toLowerCase().indexOf(el.toLowerCase()) > -1)\n\t\t\t\t);\n\t\t\t});\n\t\t});\n\t};\n\tsetFilters = filters => {\n\t\tthis.setState({\n\t\t\tfilters\n\t\t});\n\t};\n\tapplyFilter = (items, filters) => {\n\t\tlet filtersApplied = {},\n\t\t\tfinalFiltersApplied = [];\n\t\tif (filters && filters.length > 0) {\n\t\t\tfilters.forEach(filter => {\n\t\t\t\tlet text = filter.split(\" \");\n\t\t\t\tlet temp = items.filter(function(item) {\n\t\t\t\t\treturn text.every(function(el) {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\titem.FormattedAddress &&\n\t\t\t\t\t\t\titem.FormattedAddress.toLowerCase().indexOf(el) > -1\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\ttemp.forEach(item => {\n\t\t\t\t\tfiltersApplied[item.site_id] = item;\n\t\t\t\t});\n\t\t\t});\n\t\t\tObject.keys(filtersApplied).forEach(key => {\n\t\t\t\tfinalFiltersApplied.push(filtersApplied[key]);\n\t\t\t});\n\t\t\treturn finalFiltersApplied;\n\t\t}\n\t\treturn items;\n\t};\n\n\tsetFilterPrintersOnlineStatus = status => {\n\t\tthis.setState({\n\t\t\tfilterPrintersOnlineStatus: status\n\t\t});\n\t};\n\tfindOnline = (items, status) => {\n\t\tif (status) {\n\t\t\treturn items.filter(item => {\n\t\t\t\treturn this.isOnline(item.printers);\n\t\t\t});\n\t\t} else {\n\t\t\treturn items;\n\t\t}\n\t};\n\tisOnline = printers => {\n\t\tfor (let i = 0; i < printers.length; i++) {\n\t\t\tif (printers[i].IsInService) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t};\n\tonChangeHandlerSearch = e => {\n\t\te.preventDefault();\n\t\tthis.setState({\n\t\t\tsearchText: e.target.value\n\t\t});\n\t\tif (e.target.value) {\n\t\t\tthis.openPrinterList();\n\t\t}\n\t};\n\ttoggleSearching = searching => {\n\t\tif (searching) {\n\t\t\tthis.setState({\n\t\t\t\tsearching\n\t\t\t});\n\t\t\tthis.setActivePrinter(null);\n\t\t} else {\n\t\t\tthis.setState({\n\t\t\t\tsearching,\n\t\t\t\tsearchText: \"\",\n\t\t\t\tisPrinterListCollapsed: false\n\t\t\t});\n\t\t}\n\t};\n\ttoggleFilterDrawer = () => {\n\t\tthis.setState({\n\t\t\tisFilterDrawerOpen: !this.state.isFilterDrawerOpen,\n\t\t});\n\t};\n\tsetSortNearestIsActive = (value) => {\n\t\tthis.setState({resultsSortBy: value ? 'distance' : 'relevance'},\n\t\t\t () => { this.getPrinters(this.props); });\n\t};\n\trender() {\n\t\t//TODO: handle loadings\n\t\tconst { buildings: unfilteredBuilding } = this.state;\n\t\tif (!unfilteredBuilding) {\n\t\t\t// show loader when user is yet to grant location permissions\n\t\t\treturn ;\n\t\t}\n\t\tconst filteredBuildings = this.applyFilter(\n\t\t\tunfilteredBuilding,\n\t\t\tthis.state.filters\n\t\t);\n\t\tconst searchedBuildingbuildings = this.find(\n\t\t\tfilteredBuildings,\n\t\t\tthis.state.searchText\n\t\t);\n\t\tconst buildings = this.findOnline(\n\t\t\tsearchedBuildingbuildings,\n\t\t\tthis.state.filterPrintersOnlineStatus\n\t\t);\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t
{\n\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\tthis.openHelpSection(e);\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t\ttabIndex={0}\n\t\t\t\t\trole=\"button\"\n\t\t\t\t\taria-label=\"help\"\n\t\t\t\t>\n\t\t\t\t\t?\n\t\t\t\t
\n\t\t\t {\n\t\t\t\t\t(this.state.userLocation ?\n\t\t\t\t\t\t(\n\t\t\t\t\t\t
{\n\t\t\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\t\t\tthis.centerToUserLocation();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tYour location\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t) : [])\n\t\t\t\t}\n\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nHome.propTypes = {\n\tmatch: PropTypes.shape({\n\t\tparams: PropTypes.shape({ region: PropTypes.string })\n\t})\n};\n\nexport default Home;\n","import React from \"react\";\nimport Loadable from \"react-loadable\";\nimport Loading from \"./printer-detailed-loader\";\n\nconst LoadableComponent = Loadable({\n\tloader: () => import(\"./printer-detailed-view\"),\n\tloading: Loading\n});\n\nexport default class App extends React.Component {\n\trender() {\n\t\treturn ;\n\t}\n}\n","import { createMuiTheme } from \"@material-ui/core/styles\";\n\nconst theme = createMuiTheme({\n\ttypography: {\n\t\tuseNextVariants: true,\n\t\tfontFamily: [\"Montserrat\"].join(\",\"),\n\t\tdisplay1: {\n\t\t\tfontSize: \"11px\",\n\t\t\tfontWeight: 600\n\t\t},\n\t\tdisplay2: {\n\t\t\tfontSize: \"14px\",\n\t\t\tfontWeight: 500\n\t\t},\n\t\tdisplay3: {\n\t\t\tfontSize: \"18px\",\n\t\t\tfontWeight: 500\n\t\t}\n\t},\n\tpalette: {\n\t\tprimary: { main: \"#6B32FA\" },\n\t\tsecondary: { main: \"#6f14fd\" },\n\t\tblack: { main: \"#000000\" },\n\t\twhite: { main: \"#ffffff\" },\n\t\tgrey: { main: \"#707070\" }\n\t},\n\tshadows: [\"0 4px 16px rgba(0, 0, 0, 0.1)\"].concat(Array(24).fill(\"none\"))\n});\n\nexport default theme;\n","import React from \"react\";\nimport { Router, Route } from \"react-router-dom\";\nimport Home from \"home/home\";\nimport PrinterDetailedView from \"printer-detailed-view/printer-detailed-view-loader\";\nimport history from \"history/history\";\nimport { MuiThemeProvider } from \"@material-ui/core/styles\";\nimport theme from \"./material-ui-theme\";\n\nconst Routes = () => (\n\t\n\t\t\n\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t
\n\t\t \n\t \n);\n//all the routes of the project goes here\n\nexport default Routes;\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport * as serviceWorker from \"./serviceWorker\";\nimport Routes from \"./routes.js\";\nimport \"./index.css\";\nimport { createGenerateClassName, jssPreset } from \"@material-ui/core/styles\";\nimport JssProvider from \"react-jss/lib/JssProvider\";\nimport { create } from \"jss\";\n\nconst generateClassName = createGenerateClassName({\n\tdangerouslyUseGlobalCSS: true,\n\tproductionPrefix: \"c\"\n});\nconst jss = create({\n\t...jssPreset(),\n\tinsertionPoint: \"jss-insertion-point\"\n});\nif (process.env.NODE_ENV !== \"production\") {\n\tReactDOM.render( , document.getElementById(\"root\"));\n} else {\n\tReactDOM.render(\n\t\t\n\t\t\t \n\t\t ,\n\t\tdocument.getElementById(\"root\")\n\t);\n}\n\nserviceWorker.unregister();\n","module.exports = __webpack_public_path__ + \"static/media/oval.a87117d7.svg\";","module.exports = __webpack_public_path__ + \"static/media/color.647ab0a6.svg\";","require(\"dotenv\").config({ path: \"../../\" });\n\nconst config = {\n\turl: process.env.REACT_APP_API_URL,\n\tmapsKey: process.env.REACT_APP_GOOGLE_MAP_KEY\n};\nexport default config;\n","module.exports = __webpack_public_path__ + \"static/media/current-location.3b790ff4.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAADh0lEQVR4nO3cPWsUURQG4PdOZoJG/AAj+NFYWKRRSIK12IqopbKNVYRk8SdICitbTdSAKPoDjJr4J3Qj2thFMH6BaaIIkpmdY2GEJeLEy565Z87NeerZuzfz7p2PzMsAxhhjjDHGmO3GSU+gV3v0x2Fygy2H8hTBnQCwHwABWCHQOwe3mBTFk5tvhj4IT5VNIwKYPEkHXTe/AeAigGyLzQsH3Afl07de7foUYHq1Eg+gPfrzHLnkIYC9nh/9Tihbs0s7ntUxr1ASyS9vj61PkEsew3/nA8Buh2R+cmy9zT2vkMRWwNRYcRYo5wEM9DlUSSgvaF0JIgFMjNNwRvlbAMNMQ37LXTYy13GfmcYLRuQQlFF+H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Nho2hMhEbDJsICAw3GDaGykRsMGwiIDDc+A9+DITmSfPkzgAAAABJRU5ErkJggg==\"","import { useMediaQuery } from 'react-responsive'\n\nexport const Desktop = ({ children }) => {\n const isDesktop = useMediaQuery({ minWidth: 991 })\n return isDesktop ? children : null\n}\n\nexport const Touch = ({ children }) => {\n const isTouch = useMediaQuery({ maxWidth: 990 })\n return isTouch ? children : null\n}\n\nexport const Mobile = ({ children }) => {\n const isMobile = useMediaQuery({ maxWidth: 576 })\n return isMobile ? children : null\n}","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport \"./help.scss\";\nimport LeftIcon from \"common/images/details-back.svg\";\n\nconst HelpComponent = props => {\n\tconst { closeHelpSection, customTitle, extraDialogCSS, extraHeaderCSS, extraContentCSS } = props;\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
{\n\t\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\t\tcloseHelpSection(e);\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t\tonClick={closeHelpSection}\n\t\t\t\t/>\n\t\t\t\t
{ customTitle || 'Help' }
\n\t\t\t
\n\t\t\t
{\n\t\t\t\t\tif (e.keyCode === 13) {\n\t\t\t\t\t\tcloseHelpSection(e);\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t\tonClick={closeHelpSection}\n\t\t\t/>\n\t\t\t
\n\t\t\t\t{props.children}\n\t\t\t
\n\t\t
\n\t);\n};\n\nHelpComponent.propTypes = {\n\tcloseHelpSection: PropTypes.func.isRequired,\n\tcustomTitle: PropTypes.string,\n\textraDialogCSS: PropTypes.string,\n\textraHeaderCSS: PropTypes.string,\n\textraContentCSS: PropTypes.string\n};\n\nexport default HelpComponent;\n"],"sourceRoot":""}