pixel-react 1.15.11 → 1.15.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -75
 - package/lib/ThirdPartyPackages/JanusGateway.js +5 -2
 - package/lib/ThirdPartyPackages/JanusGateway.js.map +1 -1
 - package/lib/_virtual/index10.js +2 -2
 - package/lib/_virtual/index12.js +2 -2
 - package/lib/_virtual/index9.js +2 -2
 - package/lib/assets/icons/spinner.svg.js +1 -1
 - package/lib/assets/icons/spinner.svg.js.map +1 -1
 - package/lib/components/Editor/Editor.js +69 -26
 - package/lib/components/Editor/Editor.js.map +1 -1
 - package/lib/components/Editor/VariableDropdown.js +2 -2
 - package/lib/components/Editor/calculateDropdownPosition.d.ts +7 -0
 - package/lib/components/Editor/calculateDropdownPosition.js +31 -0
 - package/lib/components/Editor/calculateDropdownPosition.js.map +1 -0
 - package/lib/index.cjs +7312 -4600
 - package/lib/index.cjs.map +1 -1
 - package/lib/index.d.ts +2 -1
 - package/lib/index.js +2 -2
 - package/lib/node_modules/@date-fns/tz/date/index.js +19 -1
 - package/lib/node_modules/@date-fns/tz/date/index.js.map +1 -1
 - package/lib/node_modules/@date-fns/tz/date/mini.js +6 -34
 - package/lib/node_modules/@date-fns/tz/date/mini.js.map +1 -1
 - package/lib/node_modules/@date-fns/tz/tzOffset/index.js +5 -6
 - package/lib/node_modules/@date-fns/tz/tzOffset/index.js.map +1 -1
 - package/lib/node_modules/janus-gateway/npm/dist/janus.es.js +3241 -0
 - package/lib/node_modules/janus-gateway/npm/dist/janus.es.js.map +1 -0
 - package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
 - package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouType.js +82 -115
 - package/lib/node_modules/libphonenumber-js/es6/AsYouType.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +58 -68
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js +23 -36
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +9 -13
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js +187 -226
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js +27 -21
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeParser.js +117 -150
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeParser.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeState.js +38 -57
 - package/lib/node_modules/libphonenumber-js/es6/AsYouTypeState.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/ParseError.js +109 -70
 - package/lib/node_modules/libphonenumber-js/es6/ParseError.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/PhoneNumber.js +57 -72
 - package/lib/node_modules/libphonenumber-js/es6/PhoneNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/constants.js +9 -15
 - package/lib/node_modules/libphonenumber-js/es6/constants.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/format.js +93 -67
 - package/lib/node_modules/libphonenumber-js/es6/format.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
 - package/lib/node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/getCountries.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
 - package/lib/node_modules/libphonenumber-js/es6/helpers/RFC3966.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +10 -49
 - package/lib/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +32 -20
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +4 -5
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +18 -25
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +11 -12
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +11 -13
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +11 -21
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +11 -12
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +12 -15
 - package/lib/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +4 -4
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +35 -59
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +2 -2
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +36 -38
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getNumberType.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +1 -0
 - package/lib/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/isObject.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +10 -14
 - package/lib/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +4 -4
 - package/lib/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +27 -22
 - package/lib/node_modules/libphonenumber-js/es6/helpers/parseDigits.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +6 -6
 - package/lib/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/isPossible.js +7 -6
 - package/lib/node_modules/libphonenumber-js/es6/isPossible.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/isValid.js +5 -6
 - package/lib/node_modules/libphonenumber-js/es6/isValid.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +26 -44
 - package/lib/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/metadata.js +69 -120
 - package/lib/node_modules/libphonenumber-js/es6/metadata.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/normalizeArguments.js +68 -87
 - package/lib/node_modules/libphonenumber-js/es6/normalizeArguments.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/parse.js +40 -58
 - package/lib/node_modules/libphonenumber-js/es6/parse.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +36 -32
 - package/lib/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/parsePhoneNumber.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +26 -44
 - package/lib/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +28 -46
 - package/lib/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/es6/tools/semver-compare.js.map +1 -1
 - package/lib/node_modules/libphonenumber-js/metadata.min.json.js +18 -18
 - package/lib/node_modules/libphonenumber-js/metadata.min.json.js.map +1 -1
 - package/lib/node_modules/prop-types/index.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js +64 -88
 - package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/UI.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js +6 -71
 - package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Button.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js +14 -18
 - package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Day.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Month.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Months.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Option.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Root.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Select.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Week.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +2 -3
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/formatters/index.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js +4 -4
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +2 -2
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +11 -9
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/index.js +2 -2
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +2 -3
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useFocus.js +0 -6
 - package/lib/node_modules/react-day-picker/dist/esm/useFocus.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/useSelection.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js +1 -6
 - package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +1 -1
 - package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +1 -1
 - package/lib/node_modules/react-hook-form/dist/index.esm.js +44 -67
 - package/lib/node_modules/react-hook-form/dist/index.esm.js.map +1 -1
 - package/lib/node_modules/react-virtuoso/dist/index.js +1200 -1246
 - package/lib/node_modules/react-virtuoso/dist/index.js.map +1 -1
 - package/lib/node_modules/ua-parser-js/src/ua-parser.js +71 -85
 - package/lib/node_modules/ua-parser-js/src/ua-parser.js.map +1 -1
 - package/lib/styles.css +1 -1
 - package/lib/styles.css.map +1 -1
 - package/lib/tsconfig.tsbuildinfo +1 -1
 - package/lib/validations/regex.js +6 -1
 - package/lib/validations/regex.js.map +1 -1
 - package/package.json +106 -106
 - package/lib/node_modules/@date-fns/tz/tzName/index.js +0 -40
 - package/lib/node_modules/@date-fns/tz/tzName/index.js.map +0 -1
 - package/lib/node_modules/react-day-picker/node_modules/date-fns/eachYearOfInterval.js +0 -64
 - package/lib/node_modules/react-day-picker/node_modules/date-fns/eachYearOfInterval.js.map +0 -1
 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __exports as beautifier } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireOptions } from './options.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireOutput } from '../core/output.js';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { __require as requireInputscanner } from '../core/inputscanner.js';
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __module as css } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __module as css } from '../../../../../_virtual/index10.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireBeautifier } from './beautifier.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireOptions } from './options.js';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __exports as beautifier } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireOptions } from './options.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireOutput } from '../core/output.js';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { __require as requireTokenizer } from './tokenizer.js';
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __module as html } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __module as html } from '../../../../../_virtual/index12.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireBeautifier } from './beautifier.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireOptions } from './options.js';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __exports as tokenizer } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __exports as tokenizer } from '../../../../../_virtual/tokenizer2.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireTokenizer$1 } from '../core/tokenizer.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireDirectives } from '../core/directives.js';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { __require as requireTemplatablepattern } from '../core/templatablepattern.js';
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __exports as beautifier } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __exports as beautifier } from '../../../../../_virtual/beautifier.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireOutput } from '../core/output.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireToken } from '../core/token.js';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { __require as requireAcorn } from './acorn.js';
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { __exports as tokenizer } from '../../../../../_virtual/ 
     | 
| 
      
 1 
     | 
    
         
            +
            import { __exports as tokenizer } from '../../../../../_virtual/tokenizer.js';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { __require as requireInputscanner } from '../core/inputscanner.js';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { __require as requireTokenizer$1 } from '../core/tokenizer.js';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { __require as requireDirectives } from '../core/directives.js';
         
     | 
| 
         @@ -8,87 +8,74 @@ import getCountryByNationalNumber from './helpers/getCountryByNationalNumber.js' 
     | 
|
| 
       8 
8 
     | 
    
         
             
            import isObject from './helpers/isObject.js';
         
     | 
| 
       9 
9 
     | 
    
         
             
            import { DIGIT_PLACEHOLDER } from './AsYouTypeFormatter.util.js';
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            function  
     | 
| 
       12 
     | 
    
         
            -
               
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
              return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
         
     | 
| 
       15 
     | 
    
         
            -
                return typeof o;
         
     | 
| 
       16 
     | 
    
         
            -
              } : function (o) {
         
     | 
| 
       17 
     | 
    
         
            -
                return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
         
     | 
| 
       18 
     | 
    
         
            -
              }, _typeof(o);
         
     | 
| 
       19 
     | 
    
         
            -
            }
         
     | 
| 
       20 
     | 
    
         
            -
            function _slicedToArray(r, e) {
         
     | 
| 
       21 
     | 
    
         
            -
              return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
         
     | 
| 
      
 11 
     | 
    
         
            +
            function _slicedToArray(arr, i) {
         
     | 
| 
      
 12 
     | 
    
         
            +
              return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
         
     | 
| 
       22 
13 
     | 
    
         
             
            }
         
     | 
| 
       23 
14 
     | 
    
         
             
            function _nonIterableRest() {
         
     | 
| 
       24 
15 
     | 
    
         
             
              throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
         
     | 
| 
       25 
16 
     | 
    
         
             
            }
         
     | 
| 
       26 
     | 
    
         
            -
            function _unsupportedIterableToArray( 
     | 
| 
       27 
     | 
    
         
            -
              if ( 
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
               
     | 
| 
      
 17 
     | 
    
         
            +
            function _unsupportedIterableToArray(o, minLen) {
         
     | 
| 
      
 18 
     | 
    
         
            +
              if (!o) return;
         
     | 
| 
      
 19 
     | 
    
         
            +
              if (typeof o === "string") return _arrayLikeToArray(o, minLen);
         
     | 
| 
      
 20 
     | 
    
         
            +
              var n = Object.prototype.toString.call(o).slice(8, -1);
         
     | 
| 
      
 21 
     | 
    
         
            +
              if (n === "Object" && o.constructor) n = o.constructor.name;
         
     | 
| 
      
 22 
     | 
    
         
            +
              if (n === "Map" || n === "Set") return Array.from(o);
         
     | 
| 
      
 23 
     | 
    
         
            +
              if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
         
     | 
| 
       32 
24 
     | 
    
         
             
            }
         
     | 
| 
       33 
     | 
    
         
            -
            function _arrayLikeToArray( 
     | 
| 
       34 
     | 
    
         
            -
              ( 
     | 
| 
       35 
     | 
    
         
            -
              for (var  
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
      
 25 
     | 
    
         
            +
            function _arrayLikeToArray(arr, len) {
         
     | 
| 
      
 26 
     | 
    
         
            +
              if (len == null || len > arr.length) len = arr.length;
         
     | 
| 
      
 27 
     | 
    
         
            +
              for (var i = 0, arr2 = new Array(len); i < len; i++) {
         
     | 
| 
      
 28 
     | 
    
         
            +
                arr2[i] = arr[i];
         
     | 
| 
      
 29 
     | 
    
         
            +
              }
         
     | 
| 
      
 30 
     | 
    
         
            +
              return arr2;
         
     | 
| 
       37 
31 
     | 
    
         
             
            }
         
     | 
| 
       38 
     | 
    
         
            -
            function _iterableToArrayLimit( 
     | 
| 
       39 
     | 
    
         
            -
              var  
     | 
| 
       40 
     | 
    
         
            -
              if ( 
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
                   
     | 
| 
      
 32 
     | 
    
         
            +
            function _iterableToArrayLimit(arr, i) {
         
     | 
| 
      
 33 
     | 
    
         
            +
              var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
         
     | 
| 
      
 34 
     | 
    
         
            +
              if (_i == null) return;
         
     | 
| 
      
 35 
     | 
    
         
            +
              var _arr = [];
         
     | 
| 
      
 36 
     | 
    
         
            +
              var _n = true;
         
     | 
| 
      
 37 
     | 
    
         
            +
              var _d = false;
         
     | 
| 
      
 38 
     | 
    
         
            +
              var _s, _e;
         
     | 
| 
      
 39 
     | 
    
         
            +
              try {
         
     | 
| 
      
 40 
     | 
    
         
            +
                for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
         
     | 
| 
      
 41 
     | 
    
         
            +
                  _arr.push(_s.value);
         
     | 
| 
      
 42 
     | 
    
         
            +
                  if (i && _arr.length === i) break;
         
     | 
| 
      
 43 
     | 
    
         
            +
                }
         
     | 
| 
      
 44 
     | 
    
         
            +
              } catch (err) {
         
     | 
| 
      
 45 
     | 
    
         
            +
                _d = true;
         
     | 
| 
      
 46 
     | 
    
         
            +
                _e = err;
         
     | 
| 
      
 47 
     | 
    
         
            +
              } finally {
         
     | 
| 
       48 
48 
     | 
    
         
             
                try {
         
     | 
| 
       49 
     | 
    
         
            -
                  if ( 
     | 
| 
       50 
     | 
    
         
            -
                } catch (r) {
         
     | 
| 
       51 
     | 
    
         
            -
                  o = true, n = r;
         
     | 
| 
      
 49 
     | 
    
         
            +
                  if (!_n && _i["return"] != null) _i["return"]();
         
     | 
| 
       52 
50 
     | 
    
         
             
                } finally {
         
     | 
| 
       53 
     | 
    
         
            -
                   
     | 
| 
       54 
     | 
    
         
            -
                    if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
         
     | 
| 
       55 
     | 
    
         
            -
                  } finally {
         
     | 
| 
       56 
     | 
    
         
            -
                    if (o) throw n;
         
     | 
| 
       57 
     | 
    
         
            -
                  }
         
     | 
| 
      
 51 
     | 
    
         
            +
                  if (_d) throw _e;
         
     | 
| 
       58 
52 
     | 
    
         
             
                }
         
     | 
| 
       59 
     | 
    
         
            -
                return a;
         
     | 
| 
       60 
53 
     | 
    
         
             
              }
         
     | 
| 
      
 54 
     | 
    
         
            +
              return _arr;
         
     | 
| 
       61 
55 
     | 
    
         
             
            }
         
     | 
| 
       62 
     | 
    
         
            -
            function _arrayWithHoles( 
     | 
| 
       63 
     | 
    
         
            -
              if (Array.isArray( 
     | 
| 
      
 56 
     | 
    
         
            +
            function _arrayWithHoles(arr) {
         
     | 
| 
      
 57 
     | 
    
         
            +
              if (Array.isArray(arr)) return arr;
         
     | 
| 
       64 
58 
     | 
    
         
             
            }
         
     | 
| 
       65 
     | 
    
         
            -
            function _classCallCheck( 
     | 
| 
       66 
     | 
    
         
            -
              if (!( 
     | 
| 
      
 59 
     | 
    
         
            +
            function _classCallCheck(instance, Constructor) {
         
     | 
| 
      
 60 
     | 
    
         
            +
              if (!(instance instanceof Constructor)) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                throw new TypeError("Cannot call a class as a function");
         
     | 
| 
      
 62 
     | 
    
         
            +
              }
         
     | 
| 
       67 
63 
     | 
    
         
             
            }
         
     | 
| 
       68 
     | 
    
         
            -
            function _defineProperties( 
     | 
| 
       69 
     | 
    
         
            -
              for (var  
     | 
| 
       70 
     | 
    
         
            -
                var  
     | 
| 
       71 
     | 
    
         
            -
                 
     | 
| 
      
 64 
     | 
    
         
            +
            function _defineProperties(target, props) {
         
     | 
| 
      
 65 
     | 
    
         
            +
              for (var i = 0; i < props.length; i++) {
         
     | 
| 
      
 66 
     | 
    
         
            +
                var descriptor = props[i];
         
     | 
| 
      
 67 
     | 
    
         
            +
                descriptor.enumerable = descriptor.enumerable || false;
         
     | 
| 
      
 68 
     | 
    
         
            +
                descriptor.configurable = true;
         
     | 
| 
      
 69 
     | 
    
         
            +
                if ("value" in descriptor) descriptor.writable = true;
         
     | 
| 
      
 70 
     | 
    
         
            +
                Object.defineProperty(target, descriptor.key, descriptor);
         
     | 
| 
       72 
71 
     | 
    
         
             
              }
         
     | 
| 
       73 
72 
     | 
    
         
             
            }
         
     | 
| 
       74 
     | 
    
         
            -
            function _createClass( 
     | 
| 
       75 
     | 
    
         
            -
               
     | 
| 
      
 73 
     | 
    
         
            +
            function _createClass(Constructor, protoProps, staticProps) {
         
     | 
| 
      
 74 
     | 
    
         
            +
              if (protoProps) _defineProperties(Constructor.prototype, protoProps);
         
     | 
| 
      
 75 
     | 
    
         
            +
              Object.defineProperty(Constructor, "prototype", {
         
     | 
| 
       76 
76 
     | 
    
         
             
                writable: false
         
     | 
| 
       77 
     | 
    
         
            -
              }) 
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
            function _toPropertyKey(t) {
         
     | 
| 
       80 
     | 
    
         
            -
              var i = _toPrimitive(t, "string");
         
     | 
| 
       81 
     | 
    
         
            -
              return "symbol" == _typeof(i) ? i : i + "";
         
     | 
| 
       82 
     | 
    
         
            -
            }
         
     | 
| 
       83 
     | 
    
         
            -
            function _toPrimitive(t, r) {
         
     | 
| 
       84 
     | 
    
         
            -
              if ("object" != _typeof(t) || !t) return t;
         
     | 
| 
       85 
     | 
    
         
            -
              var e = t[Symbol.toPrimitive];
         
     | 
| 
       86 
     | 
    
         
            -
              if (void 0 !== e) {
         
     | 
| 
       87 
     | 
    
         
            -
                var i = e.call(t, r);
         
     | 
| 
       88 
     | 
    
         
            -
                if ("object" != _typeof(i)) return i;
         
     | 
| 
       89 
     | 
    
         
            -
                throw new TypeError("@@toPrimitive must return a primitive value.");
         
     | 
| 
       90 
     | 
    
         
            -
              }
         
     | 
| 
       91 
     | 
    
         
            -
              return (String )(t);
         
     | 
| 
      
 77 
     | 
    
         
            +
              });
         
     | 
| 
      
 78 
     | 
    
         
            +
              return Constructor;
         
     | 
| 
       92 
79 
     | 
    
         
             
            }
         
     | 
| 
       93 
80 
     | 
    
         
             
            var AsYouType = /*#__PURE__*/function () {
         
     | 
| 
       94 
81 
     | 
    
         
             
              /**
         
     | 
| 
         @@ -101,21 +88,21 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       101 
88 
     | 
    
         
             
                var _this$getCountryAndCa = this.getCountryAndCallingCode(optionsOrDefaultCountry),
         
     | 
| 
       102 
89 
     | 
    
         
             
                  _this$getCountryAndCa2 = _slicedToArray(_this$getCountryAndCa, 2),
         
     | 
| 
       103 
90 
     | 
    
         
             
                  defaultCountry = _this$getCountryAndCa2[0],
         
     | 
| 
       104 
     | 
    
         
            -
                  defaultCallingCode = _this$getCountryAndCa2[1];
         
     | 
| 
       105 
     | 
    
         
            -
                // `this.defaultCountry` and `this.defaultCallingCode` aren't required to be in sync.
         
     | 
| 
      
 91 
     | 
    
         
            +
                  defaultCallingCode = _this$getCountryAndCa2[1]; // `this.defaultCountry` and `this.defaultCallingCode` aren't required to be in sync.
         
     | 
| 
       106 
92 
     | 
    
         
             
                // For example, `this.defaultCountry` could be `"AR"` and `this.defaultCallingCode` could be `undefined`.
         
     | 
| 
       107 
93 
     | 
    
         
             
                // So `this.defaultCountry` and `this.defaultCallingCode` are totally independent.
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
       108 
95 
     | 
    
         
             
                this.defaultCountry = defaultCountry;
         
     | 
| 
       109 
96 
     | 
    
         
             
                this.defaultCallingCode = defaultCallingCode;
         
     | 
| 
       110 
97 
     | 
    
         
             
                this.reset();
         
     | 
| 
       111 
98 
     | 
    
         
             
              }
         
     | 
| 
       112 
     | 
    
         
            -
               
     | 
| 
      
 99 
     | 
    
         
            +
              _createClass(AsYouType, [{
         
     | 
| 
       113 
100 
     | 
    
         
             
                key: "getCountryAndCallingCode",
         
     | 
| 
       114 
101 
     | 
    
         
             
                value: function getCountryAndCallingCode(optionsOrDefaultCountry) {
         
     | 
| 
       115 
102 
     | 
    
         
             
                  // Set `defaultCountry` and `defaultCallingCode` options.
         
     | 
| 
       116 
103 
     | 
    
         
             
                  var defaultCountry;
         
     | 
| 
       117 
     | 
    
         
            -
                  var defaultCallingCode;
         
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
      
 104 
     | 
    
         
            +
                  var defaultCallingCode; // Turns out `null` also has type "object". Weird.
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
       119 
106 
     | 
    
         
             
                  if (optionsOrDefaultCountry) {
         
     | 
| 
       120 
107 
     | 
    
         
             
                    if (isObject(optionsOrDefaultCountry)) {
         
     | 
| 
       121 
108 
     | 
    
         
             
                      defaultCountry = optionsOrDefaultCountry.defaultCountry;
         
     | 
| 
         @@ -129,7 +116,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       129 
116 
     | 
    
         
             
                  }
         
     | 
| 
       130 
117 
     | 
    
         
             
                  return [defaultCountry, defaultCallingCode];
         
     | 
| 
       131 
118 
     | 
    
         
             
                }
         
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
119 
     | 
    
         
             
                /**
         
     | 
| 
       134 
120 
     | 
    
         
             
                 * Inputs "next" phone number characters.
         
     | 
| 
       135 
121 
     | 
    
         
             
                 * @param  {string} text
         
     | 
| 
         @@ -144,8 +130,8 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       144 
130 
     | 
    
         
             
                  if (justLeadingPlus) {
         
     | 
| 
       145 
131 
     | 
    
         
             
                    this.formattedOutput = '+';
         
     | 
| 
       146 
132 
     | 
    
         
             
                  } else if (digits) {
         
     | 
| 
       147 
     | 
    
         
            -
                    this.determineTheCountryIfNeeded();
         
     | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
      
 133 
     | 
    
         
            +
                    this.determineTheCountryIfNeeded(); // Match the available formats by the currently available leading digits.
         
     | 
| 
      
 134 
     | 
    
         
            +
             
     | 
| 
       149 
135 
     | 
    
         
             
                    if (this.state.nationalSignificantNumber) {
         
     | 
| 
       150 
136 
     | 
    
         
             
                      this.formatter.narrowDownMatchingFormats(this.state);
         
     | 
| 
       151 
137 
     | 
    
         
             
                    }
         
     | 
| 
         @@ -156,8 +142,8 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       156 
142 
     | 
    
         
             
                    if (formattedNationalNumber === undefined) {
         
     | 
| 
       157 
143 
     | 
    
         
             
                      // See if another national (significant) number could be re-extracted.
         
     | 
| 
       158 
144 
     | 
    
         
             
                      if (this.parser.reExtractNationalSignificantNumber(this.state)) {
         
     | 
| 
       159 
     | 
    
         
            -
                        this.determineTheCountryIfNeeded();
         
     | 
| 
       160 
     | 
    
         
            -
             
     | 
| 
      
 145 
     | 
    
         
            +
                        this.determineTheCountryIfNeeded(); // If it could, then re-try formatting the new national (significant) number.
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
       161 
147 
     | 
    
         
             
                        var nationalDigits = this.state.getNationalDigits();
         
     | 
| 
       162 
148 
     | 
    
         
             
                        if (nationalDigits) {
         
     | 
| 
       163 
149 
     | 
    
         
             
                          formattedNationalNumber = this.formatter.format(nationalDigits, this.state);
         
     | 
| 
         @@ -175,7 +161,7 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       175 
161 
     | 
    
         
             
                  this.state = new AsYouTypeState({
         
     | 
| 
       176 
162 
     | 
    
         
             
                    onCountryChange: function onCountryChange(country) {
         
     | 
| 
       177 
163 
     | 
    
         
             
                      // Before version `1.6.0`, the official `AsYouType` formatter API
         
     | 
| 
       178 
     | 
    
         
            -
                      // included  
     | 
| 
      
 164 
     | 
    
         
            +
                      // included the `.country` property of an `AsYouType` instance.
         
     | 
| 
       179 
165 
     | 
    
         
             
                      // Since that property (along with the others) have been moved to
         
     | 
| 
       180 
166 
     | 
    
         
             
                      // `this.state`, `this.country` property is emulated for compatibility
         
     | 
| 
       181 
167 
     | 
    
         
             
                      // with the old versions.
         
     | 
| 
         @@ -208,7 +194,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       208 
194 
     | 
    
         
             
                  this.formattedOutput = '';
         
     | 
| 
       209 
195 
     | 
    
         
             
                  return this;
         
     | 
| 
       210 
196 
     | 
    
         
             
                }
         
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
197 
     | 
    
         
             
                /**
         
     | 
| 
       213 
198 
     | 
    
         
             
                 * Returns `true` if the phone number is being input in international format.
         
     | 
| 
       214 
199 
     | 
    
         
             
                 * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
         
     | 
| 
         @@ -219,7 +204,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       219 
204 
     | 
    
         
             
                value: function isInternational() {
         
     | 
| 
       220 
205 
     | 
    
         
             
                  return this.state.international;
         
     | 
| 
       221 
206 
     | 
    
         
             
                }
         
     | 
| 
       222 
     | 
    
         
            -
             
     | 
| 
       223 
207 
     | 
    
         
             
                /**
         
     | 
| 
       224 
208 
     | 
    
         
             
                 * Returns the "calling code" part of the phone number when it's being input
         
     | 
| 
       225 
209 
     | 
    
         
             
                 * in an international format.
         
     | 
| 
         @@ -240,15 +224,12 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       240 
224 
     | 
    
         
             
                  if (this.isInternational()) {
         
     | 
| 
       241 
225 
     | 
    
         
             
                    return this.state.callingCode;
         
     | 
| 
       242 
226 
     | 
    
         
             
                  }
         
     | 
| 
       243 
     | 
    
         
            -
                }
         
     | 
| 
       244 
     | 
    
         
            -
             
     | 
| 
       245 
     | 
    
         
            -
                // A legacy alias.
         
     | 
| 
      
 227 
     | 
    
         
            +
                } // A legacy alias.
         
     | 
| 
       246 
228 
     | 
    
         
             
              }, {
         
     | 
| 
       247 
229 
     | 
    
         
             
                key: "getCountryCallingCode",
         
     | 
| 
       248 
230 
     | 
    
         
             
                value: function getCountryCallingCode() {
         
     | 
| 
       249 
231 
     | 
    
         
             
                  return this.getCallingCode();
         
     | 
| 
       250 
232 
     | 
    
         
             
                }
         
     | 
| 
       251 
     | 
    
         
            -
             
     | 
| 
       252 
233 
     | 
    
         
             
                /**
         
     | 
| 
       253 
234 
     | 
    
         
             
                 * Returns a two-letter country code of the phone number.
         
     | 
| 
       254 
235 
     | 
    
         
             
                 * Returns `undefined` for "non-geographic" phone numbering plans.
         
     | 
| 
         @@ -258,13 +239,12 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       258 
239 
     | 
    
         
             
              }, {
         
     | 
| 
       259 
240 
     | 
    
         
             
                key: "getCountry",
         
     | 
| 
       260 
241 
     | 
    
         
             
                value: function getCountry() {
         
     | 
| 
       261 
     | 
    
         
            -
                  var digits = this.state.digits;
         
     | 
| 
       262 
     | 
    
         
            -
             
     | 
| 
      
 242 
     | 
    
         
            +
                  var digits = this.state.digits; // Return `undefined` if no digits have been input yet.
         
     | 
| 
      
 243 
     | 
    
         
            +
             
     | 
| 
       263 
244 
     | 
    
         
             
                  if (digits) {
         
     | 
| 
       264 
245 
     | 
    
         
             
                    return this._getCountry();
         
     | 
| 
       265 
246 
     | 
    
         
             
                  }
         
     | 
| 
       266 
247 
     | 
    
         
             
                }
         
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
       268 
248 
     | 
    
         
             
                /**
         
     | 
| 
       269 
249 
     | 
    
         
             
                 * Returns a two-letter country code of the phone number.
         
     | 
| 
       270 
250 
     | 
    
         
             
                 * Returns `undefined` for "non-geographic" phone numbering plans.
         
     | 
| 
         @@ -298,9 +278,7 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       298 
278 
     | 
    
         
             
                  if (!this.state.country || this.isCountryCallingCodeAmbiguous()) {
         
     | 
| 
       299 
279 
     | 
    
         
             
                    this.determineTheCountry();
         
     | 
| 
       300 
280 
     | 
    
         
             
                  }
         
     | 
| 
       301 
     | 
    
         
            -
                }
         
     | 
| 
       302 
     | 
    
         
            -
             
     | 
| 
       303 
     | 
    
         
            -
                // Prepends `+CountryCode ` in case of an international phone number
         
     | 
| 
      
 281 
     | 
    
         
            +
                } // Prepends `+CountryCode ` in case of an international phone number
         
     | 
| 
       304 
282 
     | 
    
         
             
              }, {
         
     | 
| 
       305 
283 
     | 
    
         
             
                key: "getFullNumber",
         
     | 
| 
       306 
284 
     | 
    
         
             
                value: function getFullNumber(formattedNationalNumber) {
         
     | 
| 
         @@ -327,10 +305,10 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       327 
305 
     | 
    
         
             
                value: function getNonFormattedNationalNumberWithPrefix() {
         
     | 
| 
       328 
306 
     | 
    
         
             
                  var _this$state = this.state,
         
     | 
| 
       329 
307 
     | 
    
         
             
                    nationalSignificantNumber = _this$state.nationalSignificantNumber,
         
     | 
| 
       330 
     | 
    
         
            -
                     
     | 
| 
      
 308 
     | 
    
         
            +
                    complexPrefixBeforeNationalSignificantNumber = _this$state.complexPrefixBeforeNationalSignificantNumber,
         
     | 
| 
       331 
309 
     | 
    
         
             
                    nationalPrefix = _this$state.nationalPrefix;
         
     | 
| 
       332 
310 
     | 
    
         
             
                  var number = nationalSignificantNumber;
         
     | 
| 
       333 
     | 
    
         
            -
                  var prefix =  
     | 
| 
      
 311 
     | 
    
         
            +
                  var prefix = complexPrefixBeforeNationalSignificantNumber || nationalPrefix;
         
     | 
| 
       334 
312 
     | 
    
         
             
                  if (prefix) {
         
     | 
| 
       335 
313 
     | 
    
         
             
                    number = prefix + number;
         
     | 
| 
       336 
314 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -339,8 +317,8 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       339 
317 
     | 
    
         
             
              }, {
         
     | 
| 
       340 
318 
     | 
    
         
             
                key: "getNonFormattedNumber",
         
     | 
| 
       341 
319 
     | 
    
         
             
                value: function getNonFormattedNumber() {
         
     | 
| 
       342 
     | 
    
         
            -
                  var  
     | 
| 
       343 
     | 
    
         
            -
                  return this.getFullNumber( 
     | 
| 
      
 320 
     | 
    
         
            +
                  var nationalSignificantNumberMatchesInput = this.state.nationalSignificantNumberMatchesInput;
         
     | 
| 
      
 321 
     | 
    
         
            +
                  return this.getFullNumber(nationalSignificantNumberMatchesInput ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
         
     | 
| 
       344 
322 
     | 
    
         
             
                }
         
     | 
| 
       345 
323 
     | 
    
         
             
              }, {
         
     | 
| 
       346 
324 
     | 
    
         
             
                key: "getNonFormattedTemplate",
         
     | 
| 
         @@ -356,9 +334,7 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       356 
334 
     | 
    
         
             
                  var callingCode = this.state.callingCode;
         
     | 
| 
       357 
335 
     | 
    
         
             
                  var countryCodes = this.metadata.getCountryCodesForCallingCode(callingCode);
         
     | 
| 
       358 
336 
     | 
    
         
             
                  return countryCodes && countryCodes.length > 1;
         
     | 
| 
       359 
     | 
    
         
            -
                }
         
     | 
| 
       360 
     | 
    
         
            -
             
     | 
| 
       361 
     | 
    
         
            -
                // Determines the exact country of the phone number
         
     | 
| 
      
 337 
     | 
    
         
            +
                } // Determines the country of the phone number
         
     | 
| 
       362 
338 
     | 
    
         
             
                // entered so far based on the country phone code
         
     | 
| 
       363 
339 
     | 
    
         
             
                // and the national phone number.
         
     | 
| 
       364 
340 
     | 
    
         
             
              }, {
         
     | 
| 
         @@ -366,10 +342,10 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       366 
342 
     | 
    
         
             
                value: function determineTheCountry() {
         
     | 
| 
       367 
343 
     | 
    
         
             
                  this.state.setCountry(getCountryByCallingCode(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
         
     | 
| 
       368 
344 
     | 
    
         
             
                    nationalNumber: this.state.nationalSignificantNumber,
         
     | 
| 
      
 345 
     | 
    
         
            +
                    defaultCountry: this.defaultCountry,
         
     | 
| 
       369 
346 
     | 
    
         
             
                    metadata: this.metadata
         
     | 
| 
       370 
347 
     | 
    
         
             
                  }));
         
     | 
| 
       371 
348 
     | 
    
         
             
                }
         
     | 
| 
       372 
     | 
    
         
            -
             
     | 
| 
       373 
349 
     | 
    
         
             
                /**
         
     | 
| 
       374 
350 
     | 
    
         
             
                 * Returns a E.164 phone number value for the user's input.
         
     | 
| 
       375 
351 
     | 
    
         
             
                 *
         
     | 
| 
         @@ -395,9 +371,8 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       395 
371 
     | 
    
         
             
                    digits = _this$state2.digits,
         
     | 
| 
       396 
372 
     | 
    
         
             
                    callingCode = _this$state2.callingCode,
         
     | 
| 
       397 
373 
     | 
    
         
             
                    country = _this$state2.country,
         
     | 
| 
       398 
     | 
    
         
            -
                    nationalSignificantNumber = _this$state2.nationalSignificantNumber;
         
     | 
| 
      
 374 
     | 
    
         
            +
                    nationalSignificantNumber = _this$state2.nationalSignificantNumber; // Will return `undefined` if no digits have been input.
         
     | 
| 
       399 
375 
     | 
    
         | 
| 
       400 
     | 
    
         
            -
                  // Will return `undefined` if no digits have been input.
         
     | 
| 
       401 
376 
     | 
    
         
             
                  if (!digits) {
         
     | 
| 
       402 
377 
     | 
    
         
             
                    return;
         
     | 
| 
       403 
378 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -414,7 +389,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       414 
389 
     | 
    
         
             
                    }
         
     | 
| 
       415 
390 
     | 
    
         
             
                  }
         
     | 
| 
       416 
391 
     | 
    
         
             
                }
         
     | 
| 
       417 
     | 
    
         
            -
             
     | 
| 
       418 
392 
     | 
    
         
             
                /**
         
     | 
| 
       419 
393 
     | 
    
         
             
                 * Returns an instance of `PhoneNumber` class.
         
     | 
| 
       420 
394 
     | 
    
         
             
                 * Will return `undefined` if no national (significant) number
         
     | 
| 
         @@ -427,25 +401,20 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       427 
401 
     | 
    
         
             
                  var _this$state3 = this.state,
         
     | 
| 
       428 
402 
     | 
    
         
             
                    nationalSignificantNumber = _this$state3.nationalSignificantNumber,
         
     | 
| 
       429 
403 
     | 
    
         
             
                    carrierCode = _this$state3.carrierCode,
         
     | 
| 
       430 
     | 
    
         
            -
                    callingCode = _this$state3.callingCode;
         
     | 
| 
       431 
     | 
    
         
            -
             
     | 
| 
       432 
     | 
    
         
            -
                  // `this._getCountry()` is basically same as `this.state.country`
         
     | 
| 
      
 404 
     | 
    
         
            +
                    callingCode = _this$state3.callingCode; // `this._getCountry()` is basically same as `this.state.country`
         
     | 
| 
       433 
405 
     | 
    
         
             
                  // with the only change that it return `undefined` in case of a
         
     | 
| 
       434 
406 
     | 
    
         
             
                  // "non-geographic" numbering plan instead of `"001"` "internal use" value.
         
     | 
| 
      
 407 
     | 
    
         
            +
             
     | 
| 
       435 
408 
     | 
    
         
             
                  var country = this._getCountry();
         
     | 
| 
       436 
409 
     | 
    
         
             
                  if (!nationalSignificantNumber) {
         
     | 
| 
       437 
410 
     | 
    
         
             
                    return;
         
     | 
| 
       438 
     | 
    
         
            -
                  }
         
     | 
| 
       439 
     | 
    
         
            -
             
     | 
| 
       440 
     | 
    
         
            -
                  // `state.country` and `state.callingCode` aren't required to be in sync.
         
     | 
| 
      
 411 
     | 
    
         
            +
                  } // `state.country` and `state.callingCode` aren't required to be in sync.
         
     | 
| 
       441 
412 
     | 
    
         
             
                  // For example, `country` could be `"AR"` and `callingCode` could be `undefined`.
         
     | 
| 
       442 
413 
     | 
    
         
             
                  // So `country` and `callingCode` are totally independent.
         
     | 
| 
       443 
414 
     | 
    
         | 
| 
       444 
415 
     | 
    
         
             
                  if (!country && !callingCode) {
         
     | 
| 
       445 
416 
     | 
    
         
             
                    return;
         
     | 
| 
       446 
     | 
    
         
            -
                  }
         
     | 
| 
       447 
     | 
    
         
            -
             
     | 
| 
       448 
     | 
    
         
            -
                  // By default, if `defaultCountry` parameter was passed when
         
     | 
| 
      
 417 
     | 
    
         
            +
                  } // By default, if `defaultCountry` parameter was passed when
         
     | 
| 
       449 
418 
     | 
    
         
             
                  // creating `AsYouType` instance, `state.country` is gonna be
         
     | 
| 
       450 
419 
     | 
    
         
             
                  // that `defaultCountry`, which doesn't entirely conform with
         
     | 
| 
       451 
420 
     | 
    
         
             
                  // `parsePhoneNumber()`'s behavior where it attempts to determine
         
     | 
| 
         @@ -458,6 +427,7 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       458 
427 
     | 
    
         
             
                  // then it should also behave accordingly in cases of `country` ambiguity.
         
     | 
| 
       459 
428 
     | 
    
         
             
                  // That's how users of this library would expect it to behave anyway.
         
     | 
| 
       460 
429 
     | 
    
         
             
                  //
         
     | 
| 
      
 430 
     | 
    
         
            +
             
     | 
| 
       461 
431 
     | 
    
         
             
                  if (country) {
         
     | 
| 
       462 
432 
     | 
    
         
             
                    if (country === this.defaultCountry) {
         
     | 
| 
       463 
433 
     | 
    
         
             
                      // `state.country` and `state.callingCode` aren't required to be in sync.
         
     | 
| 
         @@ -470,6 +440,7 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       470 
440 
     | 
    
         
             
                      if (ambiguousCountries.length > 1) {
         
     | 
| 
       471 
441 
     | 
    
         
             
                        var exactCountry = getCountryByNationalNumber(nationalSignificantNumber, {
         
     | 
| 
       472 
442 
     | 
    
         
             
                          countries: ambiguousCountries,
         
     | 
| 
      
 443 
     | 
    
         
            +
                          defaultCountry: this.defaultCountry,
         
     | 
| 
       473 
444 
     | 
    
         
             
                          metadata: this.metadata.metadata
         
     | 
| 
       474 
445 
     | 
    
         
             
                        });
         
     | 
| 
       475 
446 
     | 
    
         
             
                        if (exactCountry) {
         
     | 
| 
         @@ -481,11 +452,10 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       481 
452 
     | 
    
         
             
                  var phoneNumber = new PhoneNumber(country || callingCode, nationalSignificantNumber, this.metadata.metadata);
         
     | 
| 
       482 
453 
     | 
    
         
             
                  if (carrierCode) {
         
     | 
| 
       483 
454 
     | 
    
         
             
                    phoneNumber.carrierCode = carrierCode;
         
     | 
| 
       484 
     | 
    
         
            -
                  }
         
     | 
| 
       485 
     | 
    
         
            -
             
     | 
| 
      
 455 
     | 
    
         
            +
                  } // Phone number extensions are not supported by "As You Type" formatter.
         
     | 
| 
      
 456 
     | 
    
         
            +
             
     | 
| 
       486 
457 
     | 
    
         
             
                  return phoneNumber;
         
     | 
| 
       487 
458 
     | 
    
         
             
                }
         
     | 
| 
       488 
     | 
    
         
            -
             
     | 
| 
       489 
459 
     | 
    
         
             
                /**
         
     | 
| 
       490 
460 
     | 
    
         
             
                 * Returns `true` if the phone number is "possible".
         
     | 
| 
       491 
461 
     | 
    
         
             
                 * Is just a shortcut for `PhoneNumber.isPossible()`.
         
     | 
| 
         @@ -500,7 +470,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       500 
470 
     | 
    
         
             
                  }
         
     | 
| 
       501 
471 
     | 
    
         
             
                  return phoneNumber.isPossible();
         
     | 
| 
       502 
472 
     | 
    
         
             
                }
         
     | 
| 
       503 
     | 
    
         
            -
             
     | 
| 
       504 
473 
     | 
    
         
             
                /**
         
     | 
| 
       505 
474 
     | 
    
         
             
                 * Returns `true` if the phone number is "valid".
         
     | 
| 
       506 
475 
     | 
    
         
             
                 * Is just a shortcut for `PhoneNumber.isValid()`.
         
     | 
| 
         @@ -515,7 +484,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       515 
484 
     | 
    
         
             
                  }
         
     | 
| 
       516 
485 
     | 
    
         
             
                  return phoneNumber.isValid();
         
     | 
| 
       517 
486 
     | 
    
         
             
                }
         
     | 
| 
       518 
     | 
    
         
            -
             
     | 
| 
       519 
487 
     | 
    
         
             
                /**
         
     | 
| 
       520 
488 
     | 
    
         
             
                 * @deprecated
         
     | 
| 
       521 
489 
     | 
    
         
             
                 * This method is used in `react-phone-number-input/source/input-control.js`
         
     | 
| 
         @@ -526,7 +494,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       526 
494 
     | 
    
         
             
                value: function getNationalNumber() {
         
     | 
| 
       527 
495 
     | 
    
         
             
                  return this.state.nationalSignificantNumber;
         
     | 
| 
       528 
496 
     | 
    
         
             
                }
         
     | 
| 
       529 
     | 
    
         
            -
             
     | 
| 
       530 
497 
     | 
    
         
             
                /**
         
     | 
| 
       531 
498 
     | 
    
         
             
                 * Returns the phone number characters entered by the user.
         
     | 
| 
       532 
499 
     | 
    
         
             
                 * @return {string}
         
     | 
| 
         @@ -536,7 +503,6 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       536 
503 
     | 
    
         
             
                value: function getChars() {
         
     | 
| 
       537 
504 
     | 
    
         
             
                  return (this.state.international ? '+' : '') + this.state.digits;
         
     | 
| 
       538 
505 
     | 
    
         
             
                }
         
     | 
| 
       539 
     | 
    
         
            -
             
     | 
| 
       540 
506 
     | 
    
         
             
                /**
         
     | 
| 
       541 
507 
     | 
    
         
             
                 * Returns the template for the formatted phone number.
         
     | 
| 
       542 
508 
     | 
    
         
             
                 * @return {string}
         
     | 
| 
         @@ -547,6 +513,7 @@ var AsYouType = /*#__PURE__*/function () { 
     | 
|
| 
       547 
513 
     | 
    
         
             
                  return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || '';
         
     | 
| 
       548 
514 
     | 
    
         
             
                }
         
     | 
| 
       549 
515 
     | 
    
         
             
              }]);
         
     | 
| 
      
 516 
     | 
    
         
            +
              return AsYouType;
         
     | 
| 
       550 
517 
     | 
    
         
             
            }();
         
     | 
| 
       551 
518 
     | 
    
         | 
| 
       552 
519 
     | 
    
         
             
            export { AsYouType as default };
         
     |