{"version":3,"sources":["webpack:///./app/assets/javascripts/helpers/sentry_monitor.es6","webpack:///./engines/ecs/app/webpacker/javascripts/ecs/shared/components/patchedPhoneInput.jsx","webpack:///./engines/ecs/app/webpacker/javascripts/ecs/phoneField/index.js","webpack:///./app/webpacker/react/common/utils/index.js","webpack:///./app/assets/javascripts/helpers/helpers.es6"],"names":["SentryMonitor","settings","this","sentryReachable","config","dsn","errorFilterOptions","install","setUserContext","userContext","listenToAjaxErrors","ignoreErrors","ignoreUrls","$","document","ajaxError","event","jqXHR","ajaxSettings","thrownError","sendErrorsToSentryAutomatically","status","statusText","message","sendError","extra","type","url","data","response","responseText","substring","options","captureMessage","console","error","JSON","stringify","initialize","window","sentrySettings","PatchedPhoneInput","props","state","onlyCountries","preferredCountries","hiddenAreaCodes","ipsPatchKzData","ipsClearGuessSelectedCountryMemoization","countryGuess","inputNumber","value","replace","disableInitialCountryGuess","length","guessSelectedCountry","country","find","o","iso2","formattedNumber","dialCode","startsWith","formatNumber","disableCountryCode","name","undefined","highlightCountryIndex","findIndex","showDropdown","selectedCountry","queryString","freezeSelection","debouncedQueryStingSearcher","debounce","searchCountry","searchValue","forEach","ipsAttemptChangeCode","ipsRemoveKzAreas","countryCode","format","areas","remove","a","cache","clear","PhoneInput","patchedPhoneInputLocalizations","ru","initComponent","node","nodeData","transformKeysToCamelCase","parse","dataset","componentData","localization","render","isTestEnv","process","isDevelopmentEnv","querySelector","triggerAxiosCompleted","Event","dispatchEvent","addDefaultInterceptorsToAxios","axiosInstance","pendingAxiosRequestCount","interceptors","use","Promise","reject","request","axios","defaults","headers","common","content","UNPROCESSABLE_ENTITY","ESCAPE_KEY","ARROW_DOWN_KEY","ARROW_UP_KEY","ARROW_RIGHT_KEY","ARROW_LEFT_KEY","ENTER_KEY","readPressedKey","e","resolveKeyPressKey","key","resolveKeyPressKeyCode","keyCode","Helpers","keys","escape","downArrow","upArrow","rightArrow","leftArrow","enter","isCursorAtEnd","input","selectionStart","isCursorAtStart","removeNonNumerics","allowMinus","allowPlus","acceptDot","acceptMinus","acceptPlus","digitFound","result","char","push","join","buildT","prefix","args","others","I18n","t","buildHumanAttributeName","modelKeys","allKeys","attribute","attr","decamelize","idFallbackOpts","endsWith","chompedAttr","buildTranslateOptions","defaultValue","innerFallbackOpts","slice","camelizeKeys","cloneDeep","transformKeysToSnakeCase","decamelizeKeys","transformingAxios","create","transformRequest","transformResponse","apiGet","cancellable","source","CancelToken","cancelToken","token","promise","resolve","get","then","cancelAxiosRequest","cancel","useOnUnloadCancelPromise","promises","useRef","isUnloaded","useEffect","current","p","cancelPromise","isCanceled","cPromise","val","promiseStoppingFurtherThenExecution","_resolve","_reject","columnValue","record","column","configJson","trace","params","pageUp","pageDown","end","home","q","Q","text","html","results","RegExp","exec","location","search","decodeURIComponent","decimalPlaces","power","Math","pow","round","func","setTimeout","number","minPrecision","precision","numberAsString","toString","indexOf","split","max","toFixed","$el","trigger","$elInTab","callback","$tab","closest","elementId","prop","elementClass","tabId","$tabLink","one","tabClass","$element","addClass","removeClass","navigator","maxTouchPoints","body","id","notify","fadeOut","enabled","delay","notificationId","onClose","ajax","method","show","$select","items","addBlank","preserveSelected","selected","append","item","title","object","propertyName","hasOwnProperty","call"],"mappings":"4FAAA,oEAEe,MAAMA,EACnB,kBAAkBC,GAChBC,KAAKC,kBAAoBF,EACrBC,KAAKC,kBACP,IAAMC,OAAOH,EAASI,IAAKH,KAAKI,sBAAsBC,UACtD,IAAMC,eAAeP,EAASQ,cAEhCP,KAAKQ,qBAIP,4BACE,MAAO,CAILC,aAAc,CAEZ,cAEA,6BACA,yBACA,4BACA,yBACA,kCACA,wBACA,6BACA,mCACA,kBAEA,iBAIA,oBACA,4BAEA,cAGA,4BACA,uBACA,wCACA,yJAGA,qCACA,kDAEFC,WAAY,CAEV,wBAEA,0CAEA,qCACA,uCAEA,gBACA,gBAEA,gCACA,qCACA,iDAGA,0BAKN,4BACEC,EAAEC,UAAUC,WAAU,CAACC,EAAOC,EAAOC,EAAc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