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,EAEAF,aAAY,SAACjY,KACT8E,SAASmR,KAAOjW,GACpB,GAGJoY,QAAO,WACHnc,KAAK6b,sBACT,GAGJ,sC","sources":["webpack://hm/./wwwroot/js/components/ga-tracking.js","webpack://hm/./wwwroot/js/components/map/autocomplete.js","webpack://hm/./wwwroot/js/components/map/google-map-models.js","webpack://hm/./wwwroot/js/components/map/map-models.js","webpack://hm/./wwwroot/js/components/mortgage-calculator.js","webpack://hm/./wwwroot/js/shared/emit-events.js","webpack://hm/./wwwroot/js/shared/index.js","webpack://hm/./wwwroot/js/shared/utils.js","webpack://hm/./wwwroot/js/shared/vue/create-app.js","webpack://hm/./wwwroot/js/shared/vue/openPreviewMixin.js"],"sourcesContent":["import {Cookies} from '../shared/cookies-extended';\n\nfunction initGaTrackerComponent(app) {\n const gaEventTracker = {\n props: {\n category: {},\n action: {},\n label: {},\n value: {},\n isNeedToTrack: {},\n isConversion: {},\n },\n watch: {\n isNeedToTrack: {\n handler(newVal, oldVal) {\n if (newVal && newVal !== oldVal) {\n this._trackEvent();\n }\n },\n\n immediate: true,\n },\n },\n methods: {\n _trackEvent() {\n const gaTrack = window.ga;\n const defaultEventValue = 1;\n const value = this.value || defaultEventValue;\n if (gaTrack) {\n gaTrack('send', {\n hitType: 'event',\n eventCategory: this.category,\n eventAction: this.action,\n eventLabel: this.label,\n eventValue: value,\n });\n }\n\n if (this.isConversion) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({\n event: 'Conversion',\n category: this.category,\n action: this.action,\n label: this.label,\n value: value,\n });\n }\n },\n },\n render() {\n return null;\n },\n };\n\n\n app.component('ga-event-track', {extends: gaEventTracker});\n\n app.component('ga-event-track-cookie-state', {\n extends: gaEventTracker,\n props: {\n cookieName: {type: String},\n cookieValue: {type: String},\n },\n watch: {\n cookieValue: {\n handler(val) {\n if (JSON.parse(val) === true) {\n const that = this;\n this._readCookieValue().then((oldValue) => {\n if (val !== oldValue) {\n that._trackEvent();\n that._setCookieValue().then(that._onCookiesSet).catch(that._onCookiesSet);\n }\n });\n }\n },\n immediate: true,\n },\n },\n\n methods: {\n _onCookiesSet() {\n // no actions required\n },\n\n _readCookieValue() {\n return Cookies.getWithBackupCheckAsync(this.cookieName);\n },\n\n _setCookieValue() {\n const extraLongExpiration = 365000;\n return Cookies.setWithBackupAsync(this.cookieName, `${this.cookieValue}`, {expires: extraLongExpiration});\n },\n },\n });\n}\n\nexport default initGaTrackerComponent;\n","import {nextTick} from 'vue';\nimport axios from 'axios';\nimport {globalActions} from '../../store/global-actions';\n\nfunction initAutocompleteComponent(app) {\n app.component('autocomplete', {\n template: '#autocomplete',\n props: {\n modelValue: {\n type: String,\n },\n placeholder: {\n type: String,\n },\n autocompleteUrl: {\n type: String,\n required: true,\n },\n placeDetailsUrl: {\n type: String,\n required: true,\n },\n hasSearchButton: {\n type: Boolean,\n default: false,\n },\n },\n emits: ['update:modelValue'],\n data() {\n return {\n address: this.modelValue,\n addresses: [],\n showAutocompleteResults: false,\n selectedAddressIndex: 0,\n };\n },\n watch: {\n modelValue(val) {\n this.address = val;\n },\n },\n methods: {\n checkClickTarget(event) {\n if (event.target !== this.$refs.input && event.target !== this.$refs.list) {\n this.blurAutocomplete();\n }\n },\n input(event) {\n this.address = event.target.value;\n this.$emit('update:modelValue', this.address);\n this._setAddresses();\n },\n blurAutocomplete() {\n this._changeAutocompleteListIsOpened(false);\n this.selectedAddressIndex = 0;\n },\n focusInput() {\n this._setAddresses();\n this.$refs.input.focus();\n },\n selectAddress(index) {\n if (this.addresses[index]) {\n const url = `${this.placeDetailsUrl}/${this.addresses[index].placeId}`;\n axios.get(url)\n .then((res) => globalActions.autocompleteCallback(res.data))\n .catch(() => globalActions.autocompleteCallback(null));\n\n this.blurAutocomplete();\n } else {\n globalActions.autocompleteCallback(null);\n }\n },\n focusPrevAddress() {\n if (this.selectedAddressIndex > 0) {\n --this.selectedAddressIndex;\n }\n },\n focusNextAddress() {\n if (this.selectedAddressIndex < this.addresses.length - 1) {\n ++this.selectedAddressIndex;\n }\n },\n _setAddresses() {\n if (this.address === '') {\n this.addresses = [];\n this._changeAutocompleteListIsOpened(false);\n }\n if (this.address) {\n this._getAutocompleteResults();\n }\n },\n _getAutocompleteResults() {\n const googleQueryDelay = 100;\n const currentAddress = this.address;\n setTimeout(() => {\n if (currentAddress === this.address) {\n const url = `${this.autocompleteUrl}?input=${this.address}`;\n axios.get(url)\n .then((res) => {\n this.addresses = res.data;\n this._changeAutocompleteListIsOpened(this.addresses.length > 0);\n })\n .catch(() => globalActions.autocompleteCallback(null));\n }\n }, googleQueryDelay);\n },\n _changeAutocompleteListIsOpened(state) {\n this.showAutocompleteResults = state;\n },\n },\n });\n\n\n app.component('autocomplete-list', {\n template: '#autocomplete-list',\n props: {\n addresses: {\n type: Array,\n default() {\n return [];\n },\n },\n isActive: {\n type: Boolean,\n default: false,\n },\n selectedAddressIndex: {\n type: Number,\n required: true,\n },\n },\n computed: {\n formattedAddresses() {\n nextTick(() => {\n this.adjustHeight();\n });\n return this.addresses.map((address) => {\n const formattedAddress = {\n main: address.mainAddressPart,\n secondary: ` ${address.secondaryAddressPart}`,\n };\n address.matchingSubstrings.forEach((matchedSubstring) => {\n formattedAddress.main = this._formatMatchedPart(address.mainAddressPart,\n matchedSubstring.offset, matchedSubstring.length);\n });\n return formattedAddress;\n });\n },\n },\n methods: {\n select(index) {\n this.$emit('select-address', index);\n },\n adjustHeight() {\n const autocompleteItems = this.$refs.addresses;\n if (autocompleteItems && autocompleteItems[0]) {\n const rect = autocompleteItems[0].getBoundingClientRect();\n this.$el.style.maxHeight = `${window.innerHeight - rect.top}px`;\n }\n },\n _formatMatchedPart(address, offset, length) {\n const matchedWrapperStart = '';\n const matchedWrapperEnd = '';\n\n return `${address.substring(0, offset)}${matchedWrapperStart}${address.substring(offset, offset + length)}\\\n${matchedWrapperEnd}${address.substring(offset + length)}`;\n },\n },\n });\n}\n\nexport default initAutocompleteComponent;\n","import {BaseCircle, BaseMap, BaseMarker} from './map-models';\n\nclass GoogleMap extends BaseMap {\n constructor(el, options, headers) {\n super(el, options);\n this.initCommonMapOptions(options);\n if (allowRenderMap(headers)) {\n this._map = new google.maps.Map(el, options);\n } else {\n this._map = new BaseMap();\n }\n }\n\n initCommonMapOptions(options) {\n const noPoiStyle = [{\n featureType: 'poi',\n stylers: [{ visibility: 'off' }],\n }];\n\n Object.assign(options, {\n styles: noPoiStyle,\n clickableIcons: false,\n fullscreenControl: false,\n streetViewControl: false,\n cameraControl: false,\n zoomControl: true,\n scrollWheel: true,\n gestureHandling: 'greedy',\n });\n }\n\n // TODO: should be removed in future, used for marker clusterer\n getInternalMap() {\n return this._map;\n }\n\n clearListeners(eventName) {\n google.maps.event.clearListeners(this._map, eventName);\n }\n\n addListener(eventName, handler) {\n this._map.addListener(eventName, handler);\n }\n\n getCenter() {\n return this._map.getCenter();\n }\n\n setCenter(location) {\n this._map.setCenter(location);\n }\n\n getBounds() {\n return this._map.getBounds();\n }\n\n getBoundsArray() {\n const bounds = this._map.getBounds();\n return bounds ? Object.values(bounds.toJSON()) : null;\n }\n\n fitBounds(viewPort) {\n this._map.fitBounds(viewPort, 0);\n }\n\n getZoom() {\n return this._map.getZoom();\n }\n\n setZoom(zoom) {\n this._map.setZoom(zoom);\n }\n\n createMarker(markerOptions) {\n return new GoogleMarker(this._map, markerOptions);\n }\n\n createCircle(marker, circleOptions) {\n return new GoogleCircle(this._map, marker, circleOptions);\n }\n\n setMapToMarker(marker) {\n marker.setMap(this._map);\n }\n\n getViewPort(boundsArray) {\n if (boundsArray && boundsArray.length === 4) {\n const sw = new google.maps.LatLng(boundsArray[0], boundsArray[1]);\n const ne = new google.maps.LatLng(boundsArray[2], boundsArray[3]);\n return new google.maps.LatLngBounds(sw, ne);\n }\n\n return null;\n }\n}\n\nclass GoogleMarker extends BaseMarker {\n constructor(map, options) {\n super(map, options);\n if (map instanceof BaseMap) {\n this._marker = new BaseMarker();\n } else {\n options = Object.assign({}, options, {map});\n this._marker = new google.maps.Marker(options);\n }\n }\n\n setMap(map) {\n this._marker.setMap(map);\n }\n\n resetMap() {\n this.setMap(null);\n }\n\n getPosition() {\n return this._marker.getPosition();\n }\n\n setPosition(location) {\n this._marker.setPosition(location);\n }\n\n addListener(eventName, handler) {\n this._marker.addListener(eventName, handler);\n }\n\n setAnimation(animation) {\n this._marker.setAnimation(animation);\n }\n}\n\nclass GoogleCircle extends BaseCircle {\n constructor(map, marker, options) {\n super(map, marker, options);\n this._marker = marker;\n if (marker instanceof BaseMarker) {\n this._circle = new BaseCircle();\n } else {\n options = Object.assign({}, options, {map});\n this._circle = new google.maps.Circle(options);\n }\n }\n\n bindTo(center, position) {\n this._circle.bindTo(center, this._marker, position);\n }\n\n setRadius(circleRadius) {\n this._circle.setRadius(circleRadius);\n }\n\n getBounds() {\n return this._circle.getBounds();\n }\n}\n\nconst allowRenderMap = (headers) => {\n return !window.navigator.userAgent.includes('cypress') || (headers != null && headers['Force-Map-Load'] != null);\n};\n\nexport {GoogleMap, GoogleMarker, allowRenderMap};\n","class BaseMap {\n constructor(el, options) { }\n addListener(eventName, handler) { }\n clearListeners(eventName) {}\n getCenter() { }\n setCenter(location) { }\n getBounds() { }\n fitBounds(viewPort) { }\n getZoom() { }\n setZoom(zoom) { }\n createMarker(markerOptions) { }\n createCircle(marker, circleOptions) { }\n getViewPort() { }\n}\n\nclass LatLng {\n constructor(lat, lng) {\n this._lat = lat;\n this._lng = lng;\n }\n}\n\nclass BaseMarker {\n constructor(map, options) { }\n\n setMap(map) { }\n\n getPosition() { }\n\n setPosition(location) { }\n\n addListener(eventName, handler) { }\n\n setAnimation(animation) { }\n\n resetMap() { }\n}\n\nclass BaseCircle {\n constructor(map, marker, options) { }\n\n bindTo(center, position) { }\n\n setRadius(circleRadius) { }\n\n getBounds() { }\n}\n\n\nexport {BaseMap, LatLng, BaseMarker, BaseCircle};\n","import VueMultiselectExtended from './inputs/multiselect';\nimport {Field, defineRule} from 'vee-validate';\nimport {regex} from '@vee-validate/rules';\nimport utils from '../shared/utils';\n\ndefineRule('regex', regex);\n\nfunction initMortgageCalculator(app) {\n import('moment').then(({default: moment}) => {\n app.component('mortgageCalculator',\n {\n template: '#mortgage-calculator',\n props: {\n propertyPrice: {},\n defaultInterestRate: {},\n labels: {},\n currency: {},\n paymentFrequencies: {},\n },\n components: {\n Multiselect: VueMultiselectExtended,\n ValidationField: Field,\n },\n data() {\n return {\n loanTerm: 30,\n deposit: null,\n interestRate: this.defaultInterestRate || 5,\n defaultPaymentFrequency: 30,\n selectedFrequency: null,\n loanValue: null,\n localStorageId: 'mortgage-calculator',\n termsList: [],\n maxTermInYears: 30,\n currencySign: this.currency || '$',\n debounceTime: 500,\n modalOpened: false,\n };\n },\n methods: {\n initCalc() {\n this.termsList = Array.from({length: this.maxTermInYears}, (v, k) => k + 1);\n this.loanValue = Math.round(this.toNumber(this.propertyPrice));\n this.setPaymentFrequency(this.defaultPaymentFrequency);\n },\n\n setPaymentFrequency(frequency) {\n if (!frequency || frequency <= 0) {\n frequency = this.defaultPaymentFrequency;\n }\n\n this.selectedFrequency = this.paymentFrequencies.find((f) => f.term == frequency);\n },\n\n toNumber(value) {\n return value != null ? utils.parseNumber(value) : null;\n },\n\n getYearLabel(year) {\n return moment.duration(year, 'years').humanize();\n },\n\n loadSavedCalculatorSettings() {\n try {\n const itemString = localStorage.getItem(this.localStorageId);\n\n if (itemString) {\n Object.assign(this, JSON.parse(itemString));\n this.setPaymentFrequency(this.savedPaymentFrequency);\n }\n } catch (ex) {\n\n }\n },\n\n saveCalculatorSettings() {\n const settings = {\n loanTerm: this.loanTerm,\n deposit: this.deposit,\n interestRate: this.interestRate,\n savedPaymentFrequency: this.selectedFrequency.term,\n };\n\n localStorage.setItem(this.localStorageId, JSON.stringify(settings));\n },\n\n getTermsCountPerYear() {\n const paymentFrequency = this.selectedFrequency.term;\n\n if (paymentFrequency === this.defaultPaymentFrequency) {\n return 12;\n }\n\n return 365.25 / paymentFrequency;\n },\n containsNumber(str) {\n const globalizedDecimalWithSpaces = new RegExp(/^(\\b\\d+([,\\s.]\\d+)*\\b)$/);\n return globalizedDecimalWithSpaces.test(str);\n },\n },\n computed: {\n validateInputs() {\n const isValidDeposit = this.containsNumber(this.deposit) && this.toNumber(this.deposit) > 0;\n const isValidLoanValue = this.containsNumber(this.loanValue) && this.toNumber(this.loanValue) > 0;\n const isValidDepositLoanValueDependency = (this.deposit == null || this.deposit === '' || this.toNumber(this.loanValue) > this.toNumber(this.deposit) );\n\n return this.interestRate &&\n this.interestRate > 0 &&\n this.selectedFrequency &&\n this.selectedFrequency.term &&\n isValidLoanValue &&\n isValidDeposit &&\n isValidDepositLoanValueDependency;\n },\n\n termPayments() {\n if (this.validateInputs) {\n const termsCountPerYear = this.getTermsCountPerYear();\n const termInterestRate = this.interestRate / (termsCountPerYear * 100);\n const termsCount = this.loanTerm * termsCountPerYear;\n const x = 1 - Math.pow(1 + termInterestRate, -termsCount);\n const sum = utils.parseNumber(this.loanValue) - (utils.parseNumber(this.deposit) || 0);\n\n return sum * termInterestRate / x;\n }\n\n return null;\n },\n totalCost() {\n if (this.validateInputs && this.termPayments) {\n const termsCountPerYear = this.getTermsCountPerYear();\n\n if (termsCountPerYear) {\n this.saveCalculatorSettings();\n return termsCountPerYear * this.loanTerm * this.termPayments;\n }\n }\n\n return null;\n },\n totalInterest() {\n if (this.validateInputs && this.totalCost) {\n const sum = utils.parseNumber(this.loanValue) - (utils.parseNumber(this.deposit) || 0);\n return this.totalCost - sum;\n }\n\n return null;\n },\n },\n mounted() {\n this.initCalc();\n this.loadSavedCalculatorSettings();\n },\n });\n });\n}\n\nexport default initMortgageCalculator;\n","const emitEvents = {\n confirmationCodeComplete: 'confirmationCodeComplete',\n};\n\nexport {emitEvents};\n","import './smart-script-executor';\nimport './globalize/init-globalize';\nimport jQuery from 'jquery';\nimport {initCookies} from '../shared/cookies-extended';\nimport initFeedback from '../components/feedback';\nimport initClientUserLocationGetter from './ask-geolocation';\nimport {initCopyToClipboard, initSocials} from '../components/socials/socials-init';\nimport utils from './utils';\nimport '../components/chat';\nimport {initFAQPage} from '../pages/simple-pages/faq';\nimport '../components/regional-settings/currency-selector';\nimport {setRegionalSettings} from '../store/regional-settings-store';\nimport {setDefaultCurrencyForPriceFormatting} from './vue/filters';\nimport {initVueGlobalComponents} from '../components/global-vue-components';\nimport {initAdvertModals} from '../components/modals/global-advert-modals';\nimport {initFormattedPriceComponent} from '../components/inputs/currency-price';\nimport './validation';\nimport './vue/init-for-tests';\nimport '../components/star-rating';\nimport '../components/cookie-based-timer';\nimport '../pages/preview-advert/preview-imports';\nimport {initValidationLocalization} from './validation-localization/localization';\nimport {initServicesPage, initContactUsPage} from '../pages/simple-pages/services';\nimport {initServicePlansPage} from '../pages/services/service-plans';\nimport openPreviewMixin from './vue/openPreviewMixin';\n\nwindow.jQuery = jQuery;\n\nexport default {\n utils,\n initCookies,\n initFeedback,\n initClientUserLocationGetter,\n initCopyToClipboard,\n initSocials,\n initFAQPage,\n setDefaultCurrencyForPriceFormatting,\n initFormattedPriceComponent,\n setRegionalSettings,\n initVueGlobalComponents,\n initAdvertModals,\n initValidationLocalization,\n initServicesPage,\n initContactUsPage,\n initServicePlansPage,\n openPreviewMixin,\n};\n","import $ from 'jquery';\nimport defaultsDeep from 'lodash/defaultsDeep';\nimport invokeSmartScripts from './smart-script';\nimport Globalize from 'globalize';\n\nconst utils = {\n confirmAction: [],\n\n getFormAsJson: ($form, stringify) => {\n const data = $form.serializeArray().reduce((res, item) => {\n if (!(item.name in res)) {\n res[item.name] = item.value;\n }\n return res;\n },\n {});\n\n const unFlat = (obj) => {\n const nameDelim = '.';\n const multilevel = Object.keys(obj).filter((key) => key.indexOf(nameDelim) >= 0);\n\n const newKeys = [];\n for (let i = 0; i < multilevel.length; i++) {\n const itm = multilevel[i];\n const delimPos = itm.indexOf(nameDelim);\n const name = itm.substr(0, delimPos);\n if (!(name in obj)) {\n obj[name] = {};\n newKeys.push(name);\n }\n obj[name][itm.substr(delimPos + 1, itm.length)] = obj[itm];\n delete obj[itm];\n }\n newKeys.forEach((k) => {\n unFlat(obj[k]);\n makeArrays(obj[k]);\n });\n };\n\n // Convert item[0] to array\n\n\n const makeArrays = (data) => {\n const propertiesToDelete = [];\n const itemsToGroup = [];\n\n $.each(data,\n (key, value) => {\n const regexp = /^([a-zA-Z0-9_]+)\\[(\\d+)\\]/g;\n const matches = regexp.exec(key);\n if (!matches) {\n return;\n }\n itemsToGroup.push({\n arrayName: matches[1],\n arrayIndex: matches[2],\n value,\n });\n propertiesToDelete.push(key);\n });\n\n const arrays = itemsToGroup.reduce(function(rv, x) {\n (rv[x['arrayName']] = rv[x['arrayName']] || []).push(x);\n return rv;\n },\n {});\n $.each(arrays,\n (key, value) => {\n const resultedArray = new Array(Math.max.apply(null, value.map((elt) => elt.arrayIndex)) + 1);\n const radix = 10;\n value.forEach((v) => {\n resultedArray[parseInt(v.arrayIndex, radix)] = v.value;\n });\n data[key] = resultedArray;\n });\n\n propertiesToDelete.forEach((property) => delete data[property]);\n };\n\n unFlat(data);\n makeArrays(data);\n return stringify === true ? JSON.stringify(data) : data;\n },\n\n getHashLocation: () => {\n let hash = window.location.hash;\n\n // fixing facebook callback hash junk\n if (hash === '#_=_') {\n hash = '';\n }\n\n if (hash) {\n hash = hash.substr(1);\n }\n hash = decodeURI(hash);\n return hash;\n },\n\n getHashLocationObject: (templateObj) => { // templateObj is passed to restore null and false properties\n const hashLocation = utils.getHashLocation();\n if (hashLocation) {\n try {\n const obj = JSON.parse(hashLocation);\n return templateObj === null ? obj : defaultsDeep(obj, templateObj);\n } catch (e) {\n return null;\n }\n }\n\n return null;\n },\n\n updateHashLocation(obj) {\n const stringifyReplacer = (key, value) => { // stringifyReplacer removes null and false properties\n if (value !== null && value !== false) {\n return value;\n }\n };\n\n const newLocation = JSON.stringify(obj, stringifyReplacer);\n\n if (utils.getHashLocation() !== newLocation) {\n obj.uid = utils.genUid();\n history.replaceState(window.location.state, document.title, `#${encodeURI(JSON.stringify(obj, stringifyReplacer))}`);\n }\n },\n\n genUid: () => {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,\n function(c) {\n const r = Math.random() * 16 | 0; const v = c == 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n });\n },\n\n random: (min, max) => {\n return Math.floor(Math.random() * (max - min + 1)) + min;\n },\n\n subscribeModalConfirm(actionSelectors, modalSelector) {\n if (!utils.confirmAction) {\n utils.confirmAction = [];\n }\n\n const modalItem = $(modalSelector);\n\n for (const selector of actionSelectors) {\n if (!utils.confirmAction[selector]) {\n utils.confirmAction[selector] = function(actionElement, onActionConfirmed) {\n const confirmHandler = (e) => {\n modalItem.find('.confirm-action').off('click').on('click',\n () => {\n if (onActionConfirmed) {\n onActionConfirmed(e.currentTarget);\n }\n\n modalItem.modal('hide');\n // alert('hide')\n });\n\n modalItem.modal('show');\n e.stopPropagation();\n // alert('show')\n return false;\n };\n\n $(actionElement).click(confirmHandler);\n };\n }\n }\n },\n\n subscribeModalClose(buttonCloseSelector, modalSelector) {\n $(buttonCloseSelector).click(function() {\n $(modalSelector).modal('hide');\n });\n },\n\n parseNumber(value) {\n if (value == null || value == 0) {\n return value;\n }\n\n let parsedValue = Globalize.parseNumber(value.toString(), {maximumFractionDigits: 2});\n\n if (isNaN(parsedValue)) {\n parsedValue = parseFloat(value.toString().replace(/[\\s\\xA0,]/g, ''));\n }\n\n return !isNaN(parsedValue) ? parsedValue : null;\n },\n\n formatNumber(value) {\n const parsedValue = utils.parseNumber(value);\n\n if (parsedValue != null) {\n return Globalize.formatNumber(parsedValue, {maximumFractionDigits: 2});\n }\n\n return null;\n },\n\n formatString(format, ...args) {\n const argArr = Array.from(args);\n return format.replace(/{(\\d+)}/g, function(match, number) {\n return typeof argArr[number] != 'undefined' ?\n argArr[number] :\n match\n ;\n });\n },\n\n // todo: remove after rebrand, this logic should be in components\n formatNumberInput(target) {\n const input = $(target);\n input.val(utils.formatNumber(input.val()));\n\n if (input[0] && input[0].form) {\n input.valid();\n }\n },\n\n addInputRemainingCharactersCounter(inputSelector, labelText) {\n const input = $(inputSelector);\n if (input.length) {\n const maxLength = input.attr('maxLength') || input.data('val-length-max');\n const textRemaining = maxLength - input.val().length;\n\n if (maxLength) {\n const counter = $(`