Your IP : 3.145.155.149


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/main/phonenumber/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/main/phonenumber/phonenumber.map.js

{"version":3,"file":"phonenumber.map.js","names":["BX","PhoneNumber","parserInstance","metadataPromise","metadataLoaded","metadataUrl","ajaxUrl","metadata","codeToCountries","MAX_LENGTH_COUNTRY_CODE","MIN_LENGTH_FOR_NSN","MAX_LENGTH_FOR_NSN","MAX_INPUT_STRING_LENGTH","plusChar","validDigits","dashes","slashes","dot","whitespace","brackets","tildes","extensionSeparators","extensionSymbols","phoneNumberStartPattern","afterPhoneNumberEndPattern","minLengthPhoneNumberPattern","validPunctuation","significantChars","validPhoneNumber","validPhoneNumberPattern","loadMetadata","result","Promise","fulfill","ajax","load","url","type","callback","data","forEach","metadataRecord","this","rawNumber","country","valid","countryCode","nationalNumber","numberType","extension","extensionSeparator","international","nationalPrefix","hasPlusChar","Format","E164","INTERNATIONAL","NATIONAL","getDefaultCountry","message","getUserDefaultCountry","getIncompleteFormatter","defaultCountry","IncompleteFormatter","then","getValidNumberPattern","getValidNumberRegex","RegExp","prototype","format","formatType","PhoneNumberFormatter","formatOriginal","ShortNumberFormatter","isApplicable","getRawNumber","setRawNumber","getCountry","setCountry","isValid","setValid","getCountryCode","setCountryCode","getNationalNumber","setNationalNumber","getNumberType","setNumberType","hasExtension","getExtension","setExtension","getExtensionSeparator","setExtensionSeparator","isInternational","setInternational","getNationalPrefix","setNationalPrefix","hasPlus","setHasPlus","PhoneNumberParser","getInstance","parse","phoneNumber","self","_realParse","formattedPhoneNumber","_extractFormattedPhoneNumber","_isViablePhoneNumber","extensionParseResult","_stripExtension","parseResult","_parsePhoneNumberAndCountryPhoneCode","localNumber","countryMetadata","_getMetadataByCountryCode","_getCountryMetadata","numberWithoutCountryCode","_stripCountryCode","numberWithoutNationalPrefix","_stripNationalPrefix","hadNationalPrefix","_isNumberValid","substr","length","_findCountry","nationalNumberRegex","match","_getNumberType","number","Error","selectFormatForNumber","formattedNationalNumber","formatNationalNumber","selectOriginalFormatForNumber","formatNationalNumberWithOriginalFormat","formattedNumber","normalizedFormattedNumber","_stripLetters","normalizedRawInput","availableFormats","_getAvailableFormats","i","hasOwnProperty","_matchLeadingDigits","formatPatternRegex","hasNationalPrefix","_isNationalPrefixSupported","replaceFormat","patternRegex","nationalPrefixFormattingRule","_getNationalPrefixFormattingRule","replace","_getNationalPrefix","_numberContainsNationalPrefix","getNationalPrefixFormattingRule","getNationalPrefixOptional","isPlainObject","DUMMY_DIGIT","DUMMY_DIGIT_MATCHER","LONGEST_NATIONAL_PHONE_NUMBER_LENGTH","LONGEST_DUMMY_PHONE_NUMBER","_repeat","DIGIT_PLACEHOLDER","DIGIT_PLACEHOLDER_MATCHER","DIGIT_PLACEHOLDER_MATCHER_GLOBAL","CHARACTER_CLASS_PATTERN","STANDALONE_DIGIT_PATTERN","ELIGIBLE_FORMAT_MATCHER","MIN_LEADING_DIGITS_LENGTH","VALID_INCOMPLETE_PHONE_NUMBER","VALID_INCOMPLETE_PHONE_NUMBER_PATTERN","rawInput","incompleteNumber","resetState","extractedNumber","stripResult","extractCountryCode","findSuitableCountry","extractNationalPrefix","tryToStripCountryCode","getFormattedNumber","possibleCountryCode","possibleNationalNumber","indexOf","_isNumberPossible","selectedFormat","formattingTemplate","possibleCountry","_getMainCountryForCode","isCompleteNumber","formatCompleteNumber","selectFormat","formatUsingTemplate","isFormatSuitable","createFormattingTemplate","pattern","possibleTemplate","getFormattingTemplate","numberPattern","numberFormat","_getFormatFormat","modifiedPattern","longestNumberForPattern","template","lastMatchPosition","search","closeLastBracket","partiallyPopulatedTemplate","cutAfter","remainingTemplatePart","openingBracketPosition","closingBracketPosition","_getInternationalFormat","replaceCountry","Input","params","isDomNode","node","nodeName","inputNode","userDefaultCountry","savedCountryCode","forceLeadingPlus","flagNode","flagSize","countryPopupHeight","countryPopupClassName","countryTopList","flagNodeInitialClass","countries","callbacks","initialize","isFunction","onInitialize","DoNothing","change","onChange","countryChange","onCountryChange","formatter","countrySelectPopup","_lastCaretPosition","_digitsToTheLeft","_digitsToTheRight","_digitsCount","_selectedDigitsBeforeAction","_countryBefore","initialized","initializationPromises","init","bindEvents","className","adjust","style","cursor","display","value","Type","isStringFilled","drawCountryFlag","promise","resolve","addEventListener","_onKeyDown","bind","_onInput","_onFlagClick","setValue","newValue","waitForInitialization","toString","getValue","formattedValue","getFormattedValue","push","_stripNonSignificantChars","isNotEmptyString","toLowerCase","props","tryRedrawCountryFlag","e","key","selectedCount","selectionEnd","selectionStart","preventDefault","stopPropagation","ctrlKey","metaKey","digitsPositions","_getDigitPositions","_countMatches","selectedFragment","newCaretPosition","setSelectionRange","caretPosition","digitsBefore","digitsDeleted","digitsAfter","digitsDelta","digitsInserted","inputType","selectCountry","onSelect","_onCountrySelect","userOptions","save","loadCountries","runAction","response","catch","errors","map","error","console","popupContent","create","events","click","delegateEvent","attribute","close","getAttribute","separator","topList","appendChild","countryDescriptor","CODE","_getCountryCode","countryNode","attrs","children","text","NAME","cloneNode","insertBefore","firstChild","removeChild","PopupWindow","autoHide","closeByEsc","bindOptions","position","height","offsetRight","padding","contentPadding","angle","offset","overlay","backgroundColor","opacity","content","onPopupClose","destroy","onPopupDestroy","show","templates","test","startsAt","_isValidCountryCode","separatorPosition","_stripEverythingElse","_getCountriesByCode","possibleCountries","leadingDigitsRegex","possibleType","possibleTypes","nationalPrefixForParsing","nationalPrefixRegex","nationalPrefixMatches","nationalPrefixTransformRule","nationalSignificantNumber","possibleLocalNumber","toUpperCase","isArray","countriesForCode","mainCountry","mainCountryMetadata","stripNonDigits","numberWithoutPrefix","_isNationalPrefixOptional","leadingDigits","re","matches","str","allowedSymbols","needle","haystack","exec","index","times"],"sources":["phonenumber.js"],"mappings":"CAAC,WAEA,GAAIA,GAAGC,YACN,OAED,IAAIC,EAEJ,IAAIC,EAAkB,KACtB,IAAIC,EAAiB,MACrB,IAAIC,EAAc,4CAClB,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