{"version":3,"file":"rctMobile-d541f7bab38944bcd712.js","mappings":"0MAKe,MAAMA,UAA2BC,EAAAA,UAE5CC,WAAAA,CAAYC,GACRC,MAAMD,EACV,CAEAE,iBAAAA,GACIC,OAAOC,YAAW,KAEd,IAAIC,EAAOC,KACXC,WAAWC,4BACP,SAAUC,GACN,IAAIC,EAAUD,EAAEE,MACZD,EAAQE,OAAS,IACjBP,EAAKQ,YAAYC,MAAQJ,EAEjC,GAAE,GACP,IACP,CAEAK,MAAAA,GACI,MAAMC,EAAqB,CACvBC,UAAW,qBACXC,YAAaZ,KAAKN,MAAMkB,YACxBC,YAAab,KAAKN,MAAMoB,KAAKC,yBAC7BC,uBAAwB,KACxBC,mBAAoB,KACpBC,MAAOlB,KAAKN,MAAMwB,MAClBC,WAAYnB,KAAKN,MAAMyB,WACvBC,OAAQpB,KAAKN,MAAM0B,QAGvB,OACIC,EAAAA,cAACA,EAAAA,WAAgB,KACbA,EAAAA,cAACC,EAAAA,GAAkBZ,GAG/B,GCtCAa,EAAAA,EAAAA,KACA1B,OAAO2B,uBAAyB3B,OAAO2B,wBAA0BA,C,kFCF9D,SAASD,SACGE,IAAX5B,SAIJA,OAAOwB,MAAQxB,OAAOwB,OAAS,EAC/BxB,OAAO6B,SAAW7B,OAAO6B,UAAY,EACzC,C","sources":["webpack://@whistleout/webui/./Areas/MobilePhones/React/js/components/home/homeLocationSearch.jsx","webpack://@whistleout/webui/./Areas/MobilePhones/React/js/mobilePhones.js","webpack://@whistleout/webui/./Areas/Shared/js/vendor/react.ts"],"sourcesContent":["import React, { Component } from 'react';\n\nimport AddressSearch from '../../../../../Shared/React/js/components/addressSearch/AddressSearch';\n\n// TODO: Consider renaming to MobilePhonesSearchAddress\nexport default class HomeLocationSearch extends Component {\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n window.setTimeout(() => {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n var that = this;\n WhistleOut.getCurrentLocationViaHtml5(\n function (e) {\n var address = e.label;\n if (address.length > 1) {\n that.searchInput.value = address;\n }\n });\n }, 500);\n }\n\n render() {\n const searchAddressProps = {\n className: 'form-group mar-b-0',\n countryCode: this.props.countryCode,\n placeholder: this.props.text.addressSearchPlaceHolder,\n addressNotFoundMessage: null,\n commonErrorMessage: null,\n types: this.props.types,\n queryDelay: this.props.queryDelay,\n apiKey: this.props.apiKey\n };\n\n return (\n \n \n \n );\n }\n}\n","import { initReact } from '../../../Shared/js/vendor/react';\nimport * as MobilePhonesComponents from './components';\n\nfunction initMobilePhonesComponents() {\n initReact();\n window.MobilePhonesComponents = window.MobilePhonesComponents || MobilePhonesComponents;\n}\n\ninitMobilePhonesComponents();\n","import React from 'react';\nimport ReactDOM from 'react-dom';\n\nexport function initReact() {\n if (window === undefined) {\n return;\n }\n\n window.React = window.React || React;\n window.ReactDOM = window.ReactDOM || ReactDOM;\n}\n"],"names":["HomeLocationSearch","Component","constructor","props","super","componentDidMount","window","setTimeout","that","this","WhistleOut","getCurrentLocationViaHtml5","e","address","label","length","searchInput","value","render","searchAddressProps","className","countryCode","placeholder","text","addressSearchPlaceHolder","addressNotFoundMessage","commonErrorMessage","types","queryDelay","apiKey","React","AddressSearch","initReact","MobilePhonesComponents","undefined","ReactDOM"],"sourceRoot":""}