{"version":3,"sources":["webpack:///./src/assets/images/checkmark-icon.svg","webpack:///./src/store/pinia/blinking-system.ts","webpack:///./src/views/pages/page-register-prepaid-number.vue","webpack:///./src/views/components/blinking/register-prepaid-data-form.vue","webpack:///./src/views/components/common/honeypot-field.vue","webpack:///./src/views/components/common/honeypot-field.vue?4687","webpack:///./src/views/components/common/honeypot-field.vue?1ed6","webpack:///./src/views/components/common/honeypot-field.vue?2e2d","webpack:///./src/views/components/blinking/register-prepaid-data-form.vue?a4d0","webpack:///./src/views/components/blinking/register-prepaid-data-form.vue?0382","webpack:///./src/views/components/blinking/register-prepaid-data-form.vue?f4fc","webpack:///./src/views/pages/page-register-prepaid-number.vue?1d8a","webpack:///./src/views/pages/page-register-prepaid-number.vue?9154","webpack:///./src/views/pages/page-register-prepaid-number.vue?6bc1","webpack:///./src/views/components/common/honeypot-field.vue?a1b4","webpack:///./src/views/components/common/validated-square-checkbox.vue","webpack:///src/views/components/common/validated-square-checkbox.vue","webpack:///./src/views/components/common/validated-square-checkbox.vue?39f7","webpack:///./src/views/components/common/validated-square-checkbox.vue?c1f0"],"names":["module","exports","useBlinkingSystem","defineStore","state","consentTemplate","showRegisterConfirmModal","actions","isAuthorizedRegisteredUser","error","_error$response$data$","userStore","useUser","isAuthorized","response","data","errors","type","setConsent","payload","this","setShowRegisterConfirmModal","getOtpCode","language","arguments","length","undefined","messagesStore","useMessages","httpService","post","apiUrls","blinking","requestOtp","url","msisdn","otpRequestType","platform","platformType","then","Vue","prototype","$toast","success","window","$i18n","t","concat","catch","showErrorMessage","getConsents","_this","get","getBlinkingConsent","console","checkPrepaidNumber","_this2","checkClosingTime","urlWithParams","getBlinkingUrlForPrepaid","authorizedRegisteredUser","_objectSpread","location","replace","getBlinkingUrl","customerId","isHolyDay","warningMessage","holyDayMessage","isOpen","outOfWorkingTimeMessage","timeout","NOTIFICATION_TIMEOUT","checkNumberAndSendOtp","_this3","checkCustomerID","customerID","render","_vm","_c","_self","_setupProxy","attrs","honeypotEnabled","isEnglish","staticRenderFns","_setup","staticClass","languageFlag","languageRedirectionUrl","_v","_s","$t","ValidationObserver","ref","scopedSlots","_u","key","fn","_ref","formIsInvalid","invalid","HoneypotField","on","$event","isBotDetected","_e","ValidationProvider","required","regex","min","max","_ref2","class","directives","name","rawName","value","userNumber","expression","domProps","target","composing","Tooltip","isOTPSent","validateAndSendOtp","require","timer","numeric","_ref3","otpCode","modifiers","trim","$forceUpdate","ValidatedSquareCheckbox","requiredCheckbox","model","consent","callback","$$v","linkPath","toUserManualsLink","description","preventDefault","submitForm","apply","closeModal","sendOtpCode","fieldId","inputType","hiddenField","fieldName","Array","isArray","_i","detectBot","$$a","$$el","$$c","checked","$$i","slice","_q","_defineComponent","__name","emits","setup","__props","emit","observer","initializationComplete","generateFieldAttributes","generateRandomString","Math","random","toString","substring","event","suspiciousEvents","isSuspiciousEvent","includes","handleBotDetection","onMounted","setTimeout","inputField","document","querySelector","MutationObserver","mutations","_step","_iterator","_createForOfIteratorHelper","s","n","done","mutation","err","e","f","observe","attributes","onBeforeUnmount","disconnect","__sfc","component","props","Boolean","computed","userManualsTabTwo","blinkingSystem","_storeToRefs","storeToRefs","_storeToRefs2","SITE_URL","prepaidRegistration","prepaidRegistrationEng","countdown","msisdnField","validate","result","valid","startTimer","status","oneSecondInMilliseconds","timerTimeout","clearInterval","startTime","Date","now","setInterval","elapsedTime","floor","stopTimer","watch","newVal","extend","components","RegisterPrepaidDataForm","validator","$attrs","honeypot","customMessages","rules","_b","currentValue","_t","label","inheritAttrs","default","String","Object","set","val","$emit"],"mappings":"8HAAAA,EAAOC,QAAU,IAA0B,mC,4MCS9BC,EAAoBC,eAAY,iBAAkB,CAC9DC,MAAO,iBAAO,CACbC,gBAAiB,GACjBC,0BAA0B,IAE3BC,QAAS,CACRC,2BAA0B,SAACC,GAAU,IAAAC,EAC9BC,EAAYC,iBAClB,OAAOD,EAAUE,cAA2D,0BAAtC,OAALJ,QAAK,IAALA,GAA2B,QAAtBC,EAALD,E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,IAAIlF,EAAIsK,aAAaxF,EAAI7G,OAAO,CAAC4F,KAAYqB,GAAK,IAAIlF,EAAIsK,aAAaxF,EAAIK,MAAM,EAAED,GAAKjH,OAAO6G,EAAIK,MAAMD,EAAI,UAAWlF,EAAIsK,aAAatF,KAAQ,QAAQhF,EAAIiK,QAAO,IAAQhK,EAAG,OAAO,CAACQ,YAAY,yBAAyBR,EAAG,OAAO,CAACQ,YAAY,wBAAwB,CAACT,EAAIuK,GAAG,WAAU,WAAW,MAAO,CAACvK,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIwK,OAAO,UAAS,GAAGvK,EAAG,aAAa,CAACG,MAAM,CAAC,KAAO,SAAS,CAAElE,EAAOS,OAAQsD,EAAG,OAAO,CAACQ,YAAY,iBAAiB,CAACT,EAAIY,GAAGZ,EAAIa,GAAG3E,EAAO,OAAO8D,EAAI4B,QAAQ,OAAO,MAAK,MAE/yCrB,EAAkB,G,wBCiCtB7C,eAAAmM,OAAA,CACAxH,KAAA,0BACAyH,WAAA,CACAjI,2BAEA4I,cAAA,EACA1C,MAAA,CACAxF,MAAA,CACApG,KAAA6L,QACA0C,SAAA,GAEAF,MAAA,CACArO,KAAAwO,OACAD,QAAA,IAEAN,MAAA,CACAjO,KAAA,CAAAwO,OAAAC,QACAF,QAAA,MAEAP,eAAA,CACAhO,KAAAyO,OACA9I,UAAA,EACA4I,QAAA,OAGAzC,SAAA,CACAqC,aAAA,CACAhM,IAAA,WACA,YAAAiE,OAEAsI,IAAA,SAAAC,GACA,KAAAC,MAAA,QAAAD,QClEgY,I,YCO5XhD,EAAY,eACd,EACA/H,EACAQ,GACA,EACA,KACA,KACA,MAIa,OAAAuH,E","file":"js/chunk-368009f3.3863a1f2b283734773df.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/checkmark-icon.274ca22a.svg\";","import { defineStore } from 'pinia';\r\nimport httpService from '@services/http-service';\r\nimport apiUrls from '@services/api-urls';\r\nimport { urlWithParams } from '@services/utils';\r\nimport Vue from 'vue';\r\nimport { NOTIFICATION_TIMEOUT, otpRequestType, platformType } from '@services/constants';\r\nimport { useMessages } from '@store/messages';\r\nimport { useUser } from '@store/user';\r\n\r\nexport const useBlinkingSystem = defineStore('blinkingSystem', {\r\n\tstate: () => ({\r\n\t\tconsentTemplate: '',\r\n\t\tshowRegisterConfirmModal: false,\r\n\t}),\r\n\tactions: {\r\n\t\tisAuthorizedRegisteredUser(error: any) {\r\n\t\t\tconst userStore = useUser();\r\n\t\t\treturn userStore.isAuthorized && error?.response.data.errors?.[0]?.type === 'MtsMsisdnExistsError';\r\n\t\t},\r\n\t\tsetConsent(payload) {\r\n\t\t\tthis.consentTemplate = payload;\r\n\t\t},\r\n\t\tsetShowRegisterConfirmModal(payload) {\r\n\t\t\tthis.showRegisterConfirmModal = payload;\r\n\t\t},\r\n\t\tgetOtpCode(payload, language = '') {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\treturn httpService.post(apiUrls.blinking.requestOtp.url, {\r\n\t\t\t\tmsisdn: payload,\r\n\t\t\t\ttype: otpRequestType,\r\n\t\t\t\tplatform: platformType,\r\n\t\t\t}).then((response) => {\r\n\t\t\t\tVue.prototype.$toast.success(window.$i18n.t(`message.personalDataForm.registerPrepaidNumber${language}.codeSuccessfullySent`));\r\n\t\t\t\treturn response;\r\n\t\t\t}).catch((error) => {\r\n\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetConsents() {\r\n\t\t\treturn httpService.get(apiUrls.blinking.getBlinkingConsent.url)\r\n\t\t\t\t.then((response) => {\r\n\t\t\t\t\tthis.setConsent(response.data);\r\n\t\t\t\t}).catch((error) => {\r\n\t\t\t\t\tconsole.error(error);\r\n\t\t\t\t});\r\n\t\t},\r\n\t\tcheckPrepaidNumber(payload) {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\treturn this.checkClosingTime().then(() => {\r\n\t\t\t\treturn httpService.post(urlWithParams(apiUrls.blinking.checkPrepaidNumber.url, {\r\n\t\t\t\t\tmsisdn: payload.msisdn,\r\n\t\t\t\t})).then(() => {\r\n\t\t\t\t\tthis.getBlinkingUrlForPrepaid(payload);\r\n\t\t\t\t}).catch((error) => {\r\n\t\t\t\t\tconst authorizedRegisteredUser = this.isAuthorizedRegisteredUser(error);\r\n\t\t\t\t\tif (authorizedRegisteredUser)\r\n\t\t\t\t\t\tthis.getBlinkingUrlForPrepaid(payload);\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetBlinkingUrlForPrepaid(payload) {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\thttpService.post(apiUrls.blinking.getBlinkingUrlForPrepaid.url, {\r\n\t\t\t\t...payload,\r\n\t\t\t\ttype: 'COMMERCE_UNREGISTERED_PREPAID',\r\n\t\t\t}).then((response) => {\r\n\t\t\t\twindow.location.replace(response.data.url);\r\n\t\t\t}).catch((error) => {\r\n\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetBlinkingUrl(payload) {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\treturn this.checkClosingTime().then(() => {\r\n\t\t\t\treturn httpService.get(urlWithParams(apiUrls.blinking.getBlinkingUrl.url, { customerId: payload }))\r\n\t\t\t\t\t.then((response) => {\r\n\t\t\t\t\t\twindow.location.replace(response.data.url);\r\n\t\t\t\t\t}).catch((error) => {\r\n\t\t\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\tcheckClosingTime() {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\treturn httpService.get(apiUrls.blinking.checkClosingTime.url).then((response) => {\r\n\t\t\t\tif (response.data.isHolyDay)\r\n\t\t\t\t\tthrow { warningMessage: response.data.holyDayMessage };\r\n\t\t\t\telse if (!response.data.isOpen)\r\n\t\t\t\t\tthrow { warningMessage: response.data.outOfWorkingTimeMessage };\r\n\t\t\t}).catch((error) => {\r\n\t\t\t\tif (error?.warningMessage) {\r\n\t\t\t\t\tVue.prototype.$toast.error(error.warningMessage, { timeout: NOTIFICATION_TIMEOUT });\r\n\t\t\t\t\tthrow error;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t});\r\n\t\t},\r\n\t\tcheckNumberAndSendOtp(payload) {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\treturn httpService.post(urlWithParams(apiUrls.blinking.checkPrepaidNumber.url, { msisdn: payload })).then(() => {\r\n\t\t\t\treturn this.getOtpCode(payload);\r\n\t\t\t}).catch((error) => {\r\n\t\t\t\tconst authorizedRegisteredUser = this.isAuthorizedRegisteredUser(error);\r\n\t\t\t\tif (authorizedRegisteredUser)\r\n\t\t\t\t\tthis.setShowRegisterConfirmModal(true);\r\n\t\t\t\telse\r\n\t\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t});\r\n\t\t},\r\n\t\tcheckCustomerID(payload) {\r\n\t\t\tconst messagesStore = useMessages();\r\n\t\t\treturn httpService.get(urlWithParams(apiUrls.blinking.checkCustomerID.url, {\r\n\t\t\t\tcustomerID: payload,\r\n\t\t\t})).catch((error) => {\r\n\t\t\t\tmessagesStore?.showErrorMessage(error);\r\n\t\t\t\tthrow error;\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n});\r\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('RegisterPrepaidDataForm',{attrs:{\"honeypot-enabled\":_vm.honeypotEnabled,\"is-english\":_vm.isEnglish}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"ecb2c__register-prepaid-data b2c-ecommerce-component ecb2c\"},[_c('div',{staticClass:\"container change-personal-data-container\"},[_c('div',{staticClass:\"change-language-wrapper\"},[_c('img',{attrs:{\"src\":_setup.languageFlag,\"alt\":\"Language flag\"}}),_c('a',{staticClass:\"link\",attrs:{\"href\":_setup.languageRedirectionUrl}},[_vm._v(\" \"+_vm._s(_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.switchLanguage`))+\" \")])]),_c('h1',{staticClass:\"change-personal-data-title\"},[_vm._v(\" \"+_vm._s(_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.title`))+\" \")]),_c('div',{staticClass:\"register-prepaid-number\"},[_c(_setup.ValidationObserver,{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function({ invalid: formIsInvalid }){return [_c('form',{staticClass:\"ecb2c__form no-grid send-otp-form\",attrs:{\"id\":\"checkout-check-msisdn\"}},[(_vm.honeypotEnabled)?_c(_setup.HoneypotField,{on:{\"bot-detected\":function($event){_setup.isBotDetected = true}}}):_vm._e(),_c(_setup.ValidationProvider,{ref:\"msisdnField\",staticClass:\"input-wrap\",attrs:{\"vid\":\"userNumber\",\"rules\":\"required|regex:^\\\\+?\\\\d+$|min:9|max:14\",\"custom-messages\":{\n\t\t\t\t\t\t\trequired: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.requiredError`),\n\t\t\t\t\t\t\tregex: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.numericError`),\n\t\t\t\t\t\t\tmin: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.minError`),\n\t\t\t\t\t\t\tmax: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.maxError`)\n\t\t\t\t\t\t},\"slim\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"form-group with-tooltip\",class:{'error': errors.length}},[_c('label',{attrs:{\"for\":\"userNumber\"}},[_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.formFieldLabel`))+\" \"),_c('span',{staticClass:\"required\"})])]),_c('div',{staticClass:\"input-button-wrap\"},[_c('div',{staticClass:\"otp-input-with-tooltip\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_setup.userNumber),expression:\"userNumber\"}],staticClass:\"default-input\",attrs:{\"id\":\"userNumber\",\"type\":\"text\",\"name\":\"userNumber\",\"placeholder\":_vm.$t('message.topUp.form.phonePlaceholder')},domProps:{\"value\":(_setup.userNumber)},on:{\"input\":function($event){if($event.target.composing)return;_setup.userNumber=$event.target.value}}}),_c(_setup.Tooltip,{attrs:{\"tooltip-text\":_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.tooltip`)}})],1),_c('button',{staticClass:\"btn send-otp-btn red-border-btn\",class:{ 'otp-sent-btn': _setup.isOTPSent },attrs:{\"disabled\":_setup.isOTPSent,\"type\":\"button\"},on:{\"click\":function($event){!_setup.isOTPSent && _setup.validateAndSendOtp()}}},[(_setup.isOTPSent)?[_c('img',{staticClass:\"icon\",attrs:{\"alt\":\"Checkmark\",\"src\":require(\"@/assets/images/checkmark-icon.svg\")}}),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.sent`))+\" (\"+_vm._s(_setup.timer)+\"s)\")])]:[_vm._v(\" \"+_vm._s(_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.sendOtp`))+\" \")]],2)]),_c('span',{staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,true)}),_c(_setup.ValidationProvider,{ref:\"otp\",staticClass:\"input-wrap\",attrs:{\"vid\":\"user-number\",\"rules\":\"required|numeric|length:6\",\"custom-messages\":{\n\t\t\t\t\t\t\trequired: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.requiredError`),\n\t\t\t\t\t\t\tnumeric: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.numericError`),\n\t\t\t\t\t\t\tlength: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.lengthSixError`)\n\t\t\t\t\t\t},\"slim\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"form-group\",class:{'error': errors.length}},[_c('label',{attrs:{\"for\":\"otp\"}},[_c('span',{staticClass:\"text\"},[_vm._v(\" \"+_vm._s(_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.otpFieldLabel`))+\" \"),_c('span',{staticClass:\"required\"})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_setup.otpCode),expression:\"otpCode\",modifiers:{\"trim\":true}}],staticClass:\"default-input\",attrs:{\"id\":\"otp\",\"type\":\"text\",\"inputmode\":\"numeric\",\"placeholder\":_vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.enterCodePlaceholder`),\"name\":\"msisdn\"},domProps:{\"value\":(_setup.otpCode)},on:{\"input\":[function($event){if($event.target.composing)return;_setup.otpCode=$event.target.value.trim()},function($event){_setup.otpCode = _setup.otpCode.replace(/[^0-9]/g, '')}],\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('span',{staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,true)}),_c('div',{staticClass:\"co-consent-wrap\"},[_c(_setup.ValidatedSquareCheckbox,{staticClass:\"change-personal-data-consent\",attrs:{\"rules\":{requiredCheckbox: true},\"custom-messages\":{\n\t\t\t\t\t\t\t\trequiredCheckbox: _vm.$t(`message.personalDataForm.registerPrepaidNumber${_setup.language}.consentError`),\n\t\t\t\t\t\t\t},\"name\":\"consent\"},model:{value:(_setup.consent),callback:function ($$v) {_setup.consent=$$v},expression:\"consent\"}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.isEnglish ?\n\t\t\t\t\t\t\t\t\t_vm.$t('message.personalDataForm.termsEng', { linkPath: _setup.toUserManualsLink })\n\t\t\t\t\t\t\t\t\t: _setup.consentTemplate.description)}})])],1),_c('div',{staticClass:\"button-container\"},[_c('button',{staticClass:\"btn full-btn\",attrs:{\"disabled\":formIsInvalid},on:{\"click\":function($event){$event.preventDefault();return _setup.submitForm.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.$t(`message.common.actions.confirm${_setup.language}`))+\" \")])])],1)]}}])})],1)]),_c('b-modal',{attrs:{\"hide-header\":\"\",\"hide-footer\":\"\",\"no-close-on-backdrop\":\"\",\"modal-class\":\"limit-overstepped-modal guest-modal\"},model:{value:(_setup.showRegisterConfirmModal),callback:function ($$v) {_setup.showRegisterConfirmModal=$$v},expression:\"showRegisterConfirmModal\"}},[_c('button',{staticClass:\"close-modal\",attrs:{\"type\":\"button\",\"aria-label\":\"Close\"},on:{\"click\":_setup.closeModal}},[_c('span',{staticClass:\"icon-b2c-close\"})]),_c('h3',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t('message.personalDataForm.registerConfirmModalTitle'))+\" \")]),_c('div',{staticClass:\"button-wrap\"},[_c('button',{staticClass:\"btn full-btn\",on:{\"click\":_setup.sendOtpCode}},[_vm._v(\" \"+_vm._s(_vm.$t('message.common.actions.continue'))+\" \")]),_c('button',{staticClass:\"btn border-button\",on:{\"click\":_setup.closeModal}},[_vm._v(\" \"+_vm._s(_vm.$t('message.common.actions.quit'))+\" \")])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"field-container\",attrs:{\"aria-hidden\":\"true\",\"hidden\":\"\"}},[_c('label',{attrs:{\"for\":_setup.fieldId,\"aria-hidden\":\"true\",\"hidden\":\"\"}},[_vm._v(\"Required field: Enter something\")]),((_setup.inputType)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_setup.hiddenField),expression:\"hiddenField\"}],staticClass:\"field-input\",attrs:{\"id\":_setup.fieldId,\"name\":_setup.fieldName,\"autocomplete\":\"off\",\"tabindex\":\"-1\",\"maxlength\":\"0\",\"readonly\":\"\",\"spellcheck\":\"false\",\"aria-hidden\":\"true\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_setup.hiddenField)?_vm._i(_setup.hiddenField,null)>-1:(_setup.hiddenField)},on:{\"focus\":_setup.detectBot,\"input\":_setup.detectBot,\"change\":[function($event){var $$a=_setup.hiddenField,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_setup.hiddenField=$$a.concat([$$v]))}else{$$i>-1&&(_setup.hiddenField=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_setup.hiddenField=$$c}},_setup.detectBot],\"paste\":_setup.detectBot}}):((_setup.inputType)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_setup.hiddenField),expression:\"hiddenField\"}],staticClass:\"field-input\",attrs:{\"id\":_setup.fieldId,\"name\":_setup.fieldName,\"autocomplete\":\"off\",\"tabindex\":\"-1\",\"maxlength\":\"0\",\"readonly\":\"\",\"spellcheck\":\"false\",\"aria-hidden\":\"true\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_setup.hiddenField,null)},on:{\"focus\":_setup.detectBot,\"input\":_setup.detectBot,\"change\":[function($event){_setup.hiddenField=null},_setup.detectBot],\"paste\":_setup.detectBot}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_setup.hiddenField),expression:\"hiddenField\"}],staticClass:\"field-input\",attrs:{\"id\":_setup.fieldId,\"name\":_setup.fieldName,\"autocomplete\":\"off\",\"tabindex\":\"-1\",\"maxlength\":\"0\",\"readonly\":\"\",\"spellcheck\":\"false\",\"aria-hidden\":\"true\",\"type\":_setup.inputType},domProps:{\"value\":(_setup.hiddenField)},on:{\"focus\":_setup.detectBot,\"input\":[function($event){if($event.target.composing)return;_setup.hiddenField=$event.target.value},_setup.detectBot],\"change\":_setup.detectBot,\"paste\":_setup.detectBot}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { defineComponent as _defineComponent } from 'vue'\nimport { onBeforeUnmount, onMounted, ref } from 'vue';\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n  __name: 'honeypot-field',\n  emits: ['bot-detected'],\n  setup(__props, { emit }) {\n\r\nconst hiddenField = ref(''); // Input value storage\r\nconst fieldName = ref(''); // Randomized `name`\r\nconst fieldId = ref(''); // Randomized `id`\r\nconst inputType = ref<'text' | 'search'>('text'); // `text` or `search` for obfuscation\r\nconst observer = ref<MutationObserver | null>(null); // Mutation observer\r\nconst isBotDetected = ref(false); // Bot activity flag\r\nconst initializationComplete = ref(false); // Ignore initial changes\r\n\r\n// Emit event for bot detection\r\n\r\n\r\n// Generates random field attributes to make honeypot detection harder.\r\nconst generateFieldAttributes = () => {\r\n\tconst generateRandomString = () => Math.random().toString(36).substring(2, 15);\r\n\tfieldName.value = `field-${generateRandomString()}`;\r\n\tfieldId.value = `field-id-${generateRandomString()}`;\r\n\tinputType.value = Math.random() > 0.5 ? 'text' : 'search';\r\n\thiddenField.value = '';\r\n};\r\n\r\n// Detects bot activity based on honeypot field interactions.\r\nconst detectBot = (event: Event) => {\r\n\tconst suspiciousEvents = ['focus', 'input', 'change', 'paste'];\r\n\tconst isSuspiciousEvent = event && suspiciousEvents.includes(event.type);\r\n\r\n\tif (hiddenField.value || isSuspiciousEvent) {\r\n\t\tisBotDetected.value = true;\r\n\t\thandleBotDetection();\r\n\t\thiddenField.value = ''; // Clear the field to prevent duplicate detections\r\n\t\treturn true;\r\n\t}\r\n\treturn false;\r\n};\r\n\r\n// Handles bot detection by emitting an event\r\nconst handleBotDetection = () => {\r\n\temit('bot-detected');\r\n};\r\n\r\n// Lifecycle hook to initialize honeypot field attributes and observer\r\nonMounted(() => {\r\n\tgenerateFieldAttributes();\r\n\r\n\tsetTimeout(() => {\r\n\t\tconst inputField = document.querySelector('.field-input');\r\n\t\tif (inputField) {\r\n\t\t\t// Setting up `MutationObserver` to monitor input field attribute changes\r\n\t\t\tobserver.value = new MutationObserver((mutations) => {\r\n\t\t\t\t// Ignore initial mutations before the component is fully loaded\r\n\t\t\t\tif (!initializationComplete.value) return;\r\n\r\n\t\t\t\tfor (const mutation of mutations) {\r\n\t\t\t\t\tif (mutation.type === 'attributes')\r\n\t\t\t\t\t\thandleBotDetection();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t// Observing attribute changes on the honeypot input field\r\n\t\t\tobserver.value.observe(inputField, { attributes: true });\r\n\r\n\t\t\t// After initialization, allow mutation detection\r\n\t\t\tinitializationComplete.value = true;\r\n\t\t}\r\n\t}, 100); // Short delay to avoid false positives on initial rendering\r\n});\r\n\r\n// Ensure we disconnect the observer to prevent memory leaks\r\nonBeforeUnmount(() => {\r\n\tif (observer.value) {\r\n\t\tobserver.value.disconnect();\r\n\t\tobserver.value = null;\r\n\t}\r\n});\r\n\nreturn { __sfc: true,hiddenField, fieldName, fieldId, inputType, observer, isBotDetected, initializationComplete, emit, generateFieldAttributes, detectBot, handleBotDetection }\n}\n\n})","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./honeypot-field.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./honeypot-field.vue?vue&type=script&setup=true&lang=ts\"","import { render, staticRenderFns } from \"./honeypot-field.vue?vue&type=template&id=9e699ea8&scoped=true\"\nimport script from \"./honeypot-field.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./honeypot-field.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./honeypot-field.vue?vue&type=style&index=0&id=9e699ea8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"9e699ea8\",\n  null\n  \n)\n\nexport default component.exports","import { defineComponent as _defineComponent } from 'vue'\nimport HoneypotField from '@components/common/honeypot-field.vue';\r\nimport Tooltip from '@components/common/tooltip.vue';\r\nimport ValidatedSquareCheckbox from '@components/common/validated-square-checkbox.vue';\r\nimport { SITE_URL, termsForRemoteUserIDPDFDownloadLinkEng, userManualsTabTwo } from '@services/constants';\r\nimport { useBlinkingSystem } from '@store/blinking-system';\r\nimport { useMessages } from '@store/messages';\r\nimport { useUser } from '@store/user';\r\nimport { storeToRefs } from 'pinia';\r\nimport { ValidationObserver, ValidationProvider } from 'vee-validate';\r\nimport { computed, ref, watch } from 'vue';\r\n\r\nimport honeyPot from '../../services/mixins/honeypot';\r\n\nexport default /*#__PURE__*/_defineComponent({\n  __name: 'register-prepaid-data-form',\n  props: {\r\n\tisEnglish: Boolean,\r\n\thoneypotEnabled: Boolean\r\n},\n  setup(__props) {\n\nconst props = __props;\n\r\nconst messagesStore = useMessages();\r\n\r\n\r\n\r\nconst userNumber = ref('');\r\nconst otpCode = ref('');\r\nconst isOTPSent = ref(false);\r\nconst consent = ref(false);\r\n\r\nconst language = computed(() => (props.isEnglish ? 'Eng' : ''));\r\nconst toUserManualsLink = computed(() => userManualsTabTwo);\r\n\r\nconst blinkingSystem = useBlinkingSystem();\r\nconst { consentTemplate, showRegisterConfirmModal } = storeToRefs(blinkingSystem);\r\nconst { getConsents, getOtpCode, checkNumberAndSendOtp, setShowRegisterConfirmModal, checkPrepaidNumber } = blinkingSystem;\r\n\r\nconst userStore = useUser();\r\nconst { isAuthorized } = storeToRefs(userStore);\r\n\r\nconst languageFlag = computed(() => `/assets/images/${props.isEnglish ? 'flag-rs.png' : 'flag-us.png'}`);\r\nconst languageRedirectionUrl = computed(() => (props.isEnglish ? SITE_URL.prepaidRegistration : SITE_URL.prepaidRegistrationEng));\r\n\r\nconst submitForm = () => {\r\n\tcheckPrepaidNumber({\r\n\t\tmsisdn: userNumber.value,\r\n\t\totpCode: otpCode.value\r\n\t});\r\n};\r\n\r\nconst sendOtpCode = () => {\r\n\tgetOtpCode(userNumber.value, language.value).then(() => {\r\n\t\tcloseModal();\r\n\t});\r\n};\r\n\r\nconst isBotDetected = ref(false);\r\nconst timer = ref(0);\r\nlet countdown = null;\r\n\r\nconst msisdnField = ref();\r\nconst validateAndSendOtp = () => {\r\n\tif (isBotDetected.value) return;\r\n\tmsisdnField.value.validate().then((result) => {\r\n\t\tif (result.valid) {\r\n\t\t\tstartTimer();\r\n\t\t\tcheckNumberAndSendOtp(userNumber.value).then((response: any) => {\r\n\t\t\t\tif (response?.status === 200)\r\n\t\t\t\t\tisOTPSent.value = true;\r\n\t\t\t\telse if (timer.value)\r\n\t\t\t\t\tisOTPSent.value = false;\r\n\t\t\t});\r\n\t\t}\r\n\t});\r\n};\r\n\r\nconst startTimer = () => {\r\n\tconst oneSecondInMilliseconds = 1000;\r\n\tconst timerTimeout = 60;\r\n\tif (countdown !== null)\r\n\t\tclearInterval(countdown);\r\n\r\n\tisOTPSent.value = true;\r\n\ttimer.value = timerTimeout;\r\n\r\n\tconst startTime = Date.now();\r\n\tcountdown = setInterval(() => {\r\n\t\tconst elapsedTime = Math.floor((Date.now() - startTime) / oneSecondInMilliseconds);\r\n\t\ttimer.value = timerTimeout - elapsedTime;\r\n\r\n\t\tif (timer.value <= 0) {\r\n\t\t\tclearInterval(countdown);\r\n\t\t\tcountdown = null;\r\n\t\t\tisOTPSent.value = false;\r\n\t\t}\r\n\t}, oneSecondInMilliseconds);\r\n};\r\n\r\nconst stopTimer = () => {\r\n\tif (countdown !== null) {\r\n\t\tclearInterval(countdown);\r\n\t\tcountdown = null;\r\n\t\tisOTPSent.value = false;\r\n\t}\r\n};\r\n\r\nwatch(isOTPSent, (newVal) => {\r\n\tif (!newVal)\r\n\t\tstopTimer();\r\n});\r\n\r\nconst closeModal = () => {\r\n\tsetShowRegisterConfirmModal(false);\r\n};\r\n\r\ngetConsents();\r\n\nreturn { __sfc: true,messagesStore, props, userNumber, otpCode, isOTPSent, consent, language, toUserManualsLink, blinkingSystem, consentTemplate, showRegisterConfirmModal, getConsents, getOtpCode, checkNumberAndSendOtp, setShowRegisterConfirmModal, checkPrepaidNumber, userStore, isAuthorized, languageFlag, languageRedirectionUrl, submitForm, sendOtpCode, isBotDetected, timer, countdown, msisdnField, validateAndSendOtp, startTimer, stopTimer, closeModal, HoneypotField, Tooltip, ValidatedSquareCheckbox, ValidationObserver, ValidationProvider }\n}\n\n})","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./register-prepaid-data-form.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./register-prepaid-data-form.vue?vue&type=script&setup=true&lang=ts\"","import { render, staticRenderFns } from \"./register-prepaid-data-form.vue?vue&type=template&id=a6316654\"\nimport script from \"./register-prepaid-data-form.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./register-prepaid-data-form.vue?vue&type=script&setup=true&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","\r\nimport RegisterPrepaidDataForm from '@components/blinking/register-prepaid-data-form.vue';\r\nimport Vue from 'vue';\r\n\r\nexport default Vue.extend({\r\n\tname: 'PageRegisterPrepaidNumber',\r\n\tcomponents: {\r\n\t\tRegisterPrepaidDataForm,\r\n\t},\r\n\tprops: {\r\n\t\tlanguage: {\r\n\t\t\tvalidator: (value: string) => ['eng', ''].includes(value),\r\n\t\t\trequired: false\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tisEnglish(): boolean {\r\n\t\t\treturn this.language === 'eng';\r\n\t\t},\r\n\t\thoneypotEnabled(): boolean {\r\n\t\t\treturn this.$attrs.honeypot === 'true';\r\n\t\t}\r\n\t},\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./page-register-prepaid-number.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./page-register-prepaid-number.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./page-register-prepaid-number.vue?vue&type=template&id=75d953ba\"\nimport script from \"./page-register-prepaid-number.vue?vue&type=script&lang=ts\"\nexport * from \"./page-register-prepaid-number.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./honeypot-field.vue?vue&type=style&index=0&id=9e699ea8&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('ValidationProvider',{attrs:{\"slim\":\"\",\"vid\":_vm.$attrs.name,\"custom-messages\":_vm.customMessages,\"rules\":_vm.rules},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('label',{staticClass:\"square-checkbox\",class:{'error': errors.length},attrs:{\"data-assist-permission\":\"permission_X\"}},[_c('input',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentValue),expression:\"currentValue\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.currentValue)?_vm._i(_vm.currentValue,null)>-1:(_vm.currentValue)},on:{\"change\":function($event){var $$a=_vm.currentValue,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.currentValue=$$a.concat([$$v]))}else{$$i>-1&&(_vm.currentValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.currentValue=$$c}}}},'input',_vm.$attrs,false)),_c('span',{staticClass:\"square-checkbox-sign\"}),_c('span',{staticClass:\"square-checkbox-text\"},[_vm._t(\"default\",function(){return [_vm._v(\" \"+_vm._s(_vm.label)+\" \")]})],2),_c('transition',{attrs:{\"name\":\"fade\"}},[(errors.length)?_c('span',{staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()])],1)]}}],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<ValidationProvider\r\n\t\tv-slot=\"{ errors }\"\r\n\t\tslim\r\n\t\t:vid=\"$attrs.name\"\r\n\t\t:custom-messages=\"customMessages\"\r\n\t\t:rules=\"rules\">\r\n\t\t<label\r\n\t\t\tclass=\"square-checkbox\"\r\n\t\t\t:class=\"{'error': errors.length}\"\r\n\t\t\tdata-assist-permission=\"permission_X\">\r\n\t\t\t<input\r\n\t\t\t\tv-model=\"currentValue\"\r\n\t\t\t\tv-bind=\"$attrs\"\r\n\t\t\t\ttype=\"checkbox\">\r\n\t\t\t<span class=\"square-checkbox-sign\" />\r\n\t\t\t<span\r\n\t\t\t\tclass=\"square-checkbox-text\">\r\n\t\t\t\t<slot>\r\n\t\t\t\t\t{{ label }}\r\n\t\t\t\t</slot>\r\n\t\t\t</span>\r\n\t\t\t<transition name=\"fade\">\r\n\t\t\t\t<span\r\n\t\t\t\t\tv-if=\"errors.length\"\r\n\t\t\t\t\tclass=\"error-message\">{{ errors[0] }}</span>\r\n\t\t\t</transition>\r\n\t\t</label>\r\n\t</ValidationProvider>\r\n</template>\r\n\r\n<script>\r\nimport {ValidationProvider} from 'vee-validate';\r\nimport Vue from 'vue';\r\n\r\nexport default Vue.extend({\r\n\tname: 'ValidatedSquareCheckbox',\r\n\tcomponents: {\r\n\t\tValidationProvider\r\n\t},\r\n\tinheritAttrs: false,\r\n\tprops: {\r\n\t\tvalue: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\tlabel: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\trules: {\r\n\t\t\ttype: [String, Object],\r\n\t\t\tdefault: null\r\n\t\t},\r\n\t\tcustomMessages: {\r\n\t\t\ttype: Object,\r\n\t\t\trequired: false,\r\n\t\t\tdefault: null\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tcurrentValue: {\r\n\t\t\tget() {\r\n\t\t\t\treturn this.value;\r\n\t\t\t},\r\n\t\t\tset(val) {\r\n\t\t\t\tthis.$emit('input', val);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./validated-square-checkbox.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./validated-square-checkbox.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./validated-square-checkbox.vue?vue&type=template&id=05064079\"\nimport script from \"./validated-square-checkbox.vue?vue&type=script&lang=js\"\nexport * from \"./validated-square-checkbox.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}