{"version":3,"sources":["webpack:///./src/components/common/field-renderer/field-event-bus.js","webpack:///./src/components/common/field-renderer/mixins/init-validation.js","webpack:///./src/pages/registration/user.vue?b563","webpack:///./src/pages/registration/user.vue","webpack:///./src/components/common/app-registration-user-form.vue","webpack:///src/components/common/app-registration-user-form.vue","webpack:///./src/components/common/app-registration-user-form.vue?4a09","webpack:///./src/components/common/app-registration-user-form.vue?ff75","webpack:///./src/domain/services/user-service.js","webpack:///./src/components/common/field-renderer/fields/checkboxAgreement.vue","webpack:///src/components/common/field-renderer/fields/checkboxAgreement.vue","webpack:///./src/components/common/field-renderer/fields/checkboxAgreement.vue?dfa0","webpack:///./src/components/common/field-renderer/fields/checkboxAgreement.vue?8d9b","webpack:///src/pages/registration/user.vue","webpack:///./src/pages/registration/user.vue?be51","webpack:///./src/pages/registration/user.vue?7f81","webpack:///./src/domain/composables/use-auth.js","webpack:///./src/domain/services/login-service/strategies/auth-auth-strategy.js","webpack:///./src/components/common/field-renderer/mixins/update-value.js","webpack:///./src/components/common/field-renderer/fields/checkboxAgreement.vue?8808","webpack:///./src/domain/services/event-date-service.js","webpack:///./src/components/common/app-registration-user-form.vue?1391","webpack:///./src/domain/services/login-service/strategies/user-login-strategy.js"],"names":["FieldEventBus","Vue","MAX_DAYS_IN_MONTH","MAX_MONTHS","methods","setupValidation","id","type","formLink","required","this","field","requireRule","message","$tr","maxLengthStringRule","validator","rule","value","_callback","length","dateRule","day","month","split","pattern","typeRulesList","rules","$emit","forEach","typeRule","mounted","render","_vm","_c","_self","staticClass","on","$event","indexOf","_k","keyCode","key","handleSubmit","apply","arguments","attrs","localePath","path","_v","_s","agreementIsVisible","agreementField","warningTextIsVisible","model","agreementIsAccept","callback","$$v","expression","userModel","isLoading","handleUserCreate","handleToAgreement","staticRenderFns","ref","validateUserRules","email","$set","password","passwordRepeat","prop","event","props","form","default","eventData","data","cb","isValid","trigger","min","max","watch","immediate","deep","component","UserService","authGroupId","store","getters","payload","toLowerCase","user","useUser","registerUser","disabled","updateValue","_l","values","fieldValue","class","confirmationText","contentName","_e","includes","warningText","mixins","components","AppRegistrationUserForm","DirectionLeftIcon","AppContentItems","CheckboxAgreement","isDataSent","contentItems","paramsLegalAgreement","filter","userId","created","computed","requiredAgreements","notRequiredAgreements","domainId","eventId","console","pages","item","map","contentIds","String","useAuth","async","authenticate","api","getExistingApiInstance","LogicError","isError","e","AuthAuthStrategy","UserLoginStrategy","constructor","super","gtm","GtmPlugin","gtmOptions","isLoginError","userData","Error","translateI18N","trackEvent","authService","AuthService","setAuthData","token","MIN_DATE","DateTime","fromSeconds","MAX_DATE","EventDateService","_event","getData","getMinDate","registrationStartedAt","getMaxDate","registrationEndedAt","EventService","isEventOccasion","eventOccasion","startedAt","endedAt","dateStr","date","fromISO","invalid","locale","start","end","entity","months","divider","formatDateWithDivider","year","startYear","startMonth","startDay","endYear","endMonth","endDay","monthToStr","state","formatDate","status","before","during","after","onGoing","TIME_STATUSES","ENDED","WILL_START","eventDateServise","execute","AbstractMethod","args","translateFn","registrationTimeStatus","IN_PROGRESS","_throwUnavailableRegistrationAlert","startRegistrationTime","endRegistrationTime","getMessageWithOneDate","getAlertMessageWithDivider"],"mappings":"wGAAA,kDACO,MAAMA,EAAgB,IAAIC,c,6DCDjC,gBAGA,MAAMC,EAAoB,GACpBC,EAAa,GAEJ,QACbC,QAAS,CACPC,kBACE,MAAM,GACJC,EAAE,KACFC,EACAC,UAAU,SAAEC,IACVC,KAAKC,MAEHC,EAAc,CAClBH,WACAI,QAASH,KAAKI,IAAI,4BAIdC,EAAsB,CAC1BC,UAAUC,EAAMC,EAAOC,GACrB,OAAKD,GAIEA,EAAME,QAAU,KAEzBP,QAASH,KAAKI,IAAI,wCAGdO,EAAW,CACfL,UAAUC,EAAMC,EAAOC,GACrB,IAAKD,EACH,OAAO,EAGT,MAAOI,EAAKC,GAASL,EAAMM,MAAM,KACjC,OAAQF,GAAOpB,IAAsBqB,GAASpB,GAEhDU,QAASH,KAAKI,IAAI,kCACl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CAACE,YAAY,+BAA+B,CAACH,EAAIgB,GAAG,OAAOhB,EAAIsE,KAAMtE,EAAIoB,uBAAyBpB,EAAIf,MAAMsF,SAASL,EAAW7F,IAAK4B,EAAG,MAAM,CAACE,YAAY,8BAA8B,CAACH,EAAIgB,GAAG,IAAIhB,EAAIiB,GAAGiD,EAAWM,aAAa,OAAOxE,EAAIsE,MAAM,QAAO,IAE77BxC,EAAkB,G,wBCkCP,GACf2C,uBACAlC,OACAtD,OACAX,WACAmE,gBAEA/D,OACAJ,YACAmE,kBAEAqB,UACAxF,aACAmE,YAEArB,sBACA9C,aACAmE,cCrDwY,ICQpY,G,UAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,OAIa,I,gCCqEA,GACfiC,YACAC,0BACAC,yBACAC,uBACAC,qBAEAnC,OACA,OACAjB,WACAO,8BACAE,YACAC,mBAEAT,aACAoD,cACA7D,sBACAI,qBACA0D,gBACA7D,gBACA8C,WAEA7C,wBACA6D,sBACAC,QAAAC,yCAKAC,UACA,yCACA,8CAEA,6BAEA,8BACA,2BACA,uBAIAC,aACA,gBACA3C,4BAEA4C,qBACA,4EAEAC,wBACA,0EAGApH,SACAuC,eACA,wBACA,wBAEA,0BAGA,8BACA,IACA,oDACA8E,EACAC,EACA,mBAEA,8BACA,sDACApH,QACAY,WACAmF,oCACAC,mBACAG,0BACAhG,uBAEA,SACAkH,mBAGA7D,oBACA,yBAGA,2BAFA,yBAKA,oBACA,qCACA,6BACA,eACA8D,SAEA,qBAAA5E,UAEA,yBACA,+BACA,6BACA,yCACA,+CAEA,oCACA6E,mDAGA,wCAEA,YADA,8BAIA,MAEA,YADA,iEAMA,GADA,kBACA,4BAOA,aANA,4BACA,yCACA,qBAAA7E,6BAEA,oBAIA,IACA,6BACA,6BAEA,wBACA,gBACA,gCACA,uBAEA,yBACA,qBAAAA,wBAEA,SACA,+BACA,QACA,oBAGA,iBACA,mBACA,eACA,gBAEA,UACA,YACA,SACA,iCAGA,mBACA,2BACA,qBAC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AC1D,MAAM,IAAIlD,MAAMxI,KAAKyI,cAAc,0BAIrC,GAAIzI,KAAKiE,UAAUgI,yBAA2BR,OAAcE,WAAY,CACtE,MAAMxB,EAAS,CACbG,OAAQtK,KAAKyI,cAAc,6BAC3B8B,OAAQvK,KAAKyI,cAAc,WAEvBtI,EAAUgJ,OAAiBmD,sBAAsBnC,EAAQC,GAC/D,MAAM,IAAI5B,MAAMrI,GAGlB,MAAMgK,EAAS,CACbG,OAAQtK,KAAKyI,cAAc,0BAC3B8B,OAAQvK,KAAKyI,cAAc,UAC3B+B,QAASxK,KAAKyI,cAAc,8BAGxB2C,EAASjC,OAAiBoD,2BAC9BpC,EACAC,EACAC,GAEF,MAAM,IAAI7B,MAAM4C,EAAOjL","file":"js/user.297f0f19.js","sourcesContent":["import Vue from 'vue'\nexport const FieldEventBus = new Vue()\n","import { FieldEventBus } from '../field-event-bus'\n// todo: давно нуждается в переосмыслении и рефакторинге, как и весь field-renderer\n\nconst MAX_DAYS_IN_MONTH = 31\nconst MAX_MONTHS = 12\n\nexport default {\n methods: {\n setupValidation() {\n const {\n id,\n type,\n formLink: { required },\n } = this.field\n\n const requireRule = {\n required,\n message: this.$tr('initValidation.required'),\n // trigger: 'blur'\n }\n\n const maxLengthStringRule = {\n validator(rule, value, _callback) {\n if (!value) {\n return true\n } // обязательность проверяется другим правилом\n\n return value.length <= 255\n },\n message: this.$tr('errors.fields.string.notValidLength'),\n }\n\n const dateRule = {\n validator(rule, value, _callback) {\n if (!value) {\n return true\n } // обязательность проверяется другим правилом\n\n const [day, month] = value.split('-')\n return +day <= MAX_DAYS_IN_MONTH && +month <= MAX_MONTHS\n },\n message: this.$tr('initValidation.wrongDateFormat'),\n pattern: /^\\d{2}-\\d{2}-\\d{4}$/,\n }\n\n /**\n * @type {Array<{ type: string, rules: Array}>}\n */\n const typeRulesList = [\n { type: 'string', rules: [maxLengthStringRule] },\n { type: 'datatime', rules: [dateRule] },\n ]\n\n FieldEventBus.$emit('initValidation', { id, rule: requireRule })\n\n typeRulesList.forEach((typeRule) => {\n if (type === typeRule.type) {\n typeRule.rules.forEach((rule) => {\n FieldEventBus.$emit('initValidation', { id, rule })\n })\n }\n })\n },\n },\n mounted() {\n this.setupValidation()\n },\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--9-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user.vue?vue&type=style&index=0&id=0abae200&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"registration\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSubmit.apply(null, arguments)}}},[_c('div',{staticClass:\"auth__header auth-header\"},[_c('div',{staticClass:\"auth-header__actions\"},[_c('div',{staticClass:\"header-back\"},[_c('router-link',{staticClass:\"header-back__content s-card s-card--no-padding\",attrs:{\"to\":_vm.localePath({ path: '/login' })}},[_c('span',{staticClass:\"header-back__back-icon\"},[_c('DirectionLeftIcon')],1),_c('span',{staticClass:\"header-back__text s-subtitle-secondary\"},[_vm._v(\" \"+_vm._s(_vm.$tr('registration.auth'))+\" \")])])],1)])]),(!_vm.agreementIsVisible)?_c('h1',{staticClass:\"registration__title auth__title\"},[_vm._v(\" \"+_vm._s(_vm.$tr('registration.title'))+\" \")]):_c('h1',{staticClass:\"registration__title auth__title\"},[_vm._v(\"Юридические согласия\")]),(!_vm.agreementIsVisible)?_c('div',{staticClass:\"s-card registration__registration-form registration-form\"},[_c('AppRegistrationUserForm',{model:{value:(_vm.userModel),callback:function ($$v) {_vm.userModel=$$v},expression:\"userModel\"}})],1):_c('div',{staticClass:\"s-card registration__registration-form registration-form\"},[_c('CheckboxAgreement',{attrs:{\"field\":_vm.agreementField,\"warningTextIsVisible\":_vm.warningTextIsVisible},model:{value:(_vm.agreementIsAccept),callback:function ($$v) {_vm.agreementIsAccept=$$v},expression:\"agreementIsAccept\"}})],1),_c('div',{staticClass:\"registration__registration-footer\"},[_c('div',{staticClass:\"row registration-footer\"},[_c('div',{staticClass:\"col-sm-12 col-lg-4 registration-footer__submit-wrapper\"},[(!_vm.agreementIsVisible)?_c('Button',{staticClass:\"registration-footer__submit agreement-button\",attrs:{\"disabled\":_vm.isLoading,\"type\":\"primary\",\"size\":\"large\"},on:{\"click\":_vm.handleToAgreement}},[_vm._v(\" Далее \")]):_c('Button',{staticClass:\"registration-footer__submit\",attrs:{\"disabled\":_vm.isLoading,\"type\":\"primary\",\"size\":\"large\"},on:{\"click\":_vm.handleUserCreate}},[_vm._v(\" \"+_vm._s(_vm.warningTextIsVisible ? 'Продолжить без согласия на рассылку' : _vm.$tr('registration.next'))+\" \")])],1),_c('div',{staticClass:\"col-sm-12 col-lg-8\"},[_c('AppContentItems',{staticClass:\"registration-footer__content-items\"})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"registration-form\"},[_c('Form',{ref:\"userForm\",attrs:{\"model\":_vm.userModel,\"rules\":_vm.validateUserRules}},[_c('div',{staticClass:\"registration-form-group\"},[_c('h3',{staticClass:\"registration-form-group__title\"},[_vm._v(\" \"+_vm._s(_vm.$tr('registration.profileTitle'))+\" \")]),_c('div',{staticClass:\"row\"},[_c('FormItem',{staticClass:\"col-12 col-md-6 col-lg-4\",attrs:{\"label\":_vm.$tr('registration.email'),\"prop\":\"email\"}},[_c('Input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.userModel.email),callback:function ($$v) {_vm.$set(_vm.userModel, \"email\", $$v)},expression:\"userModel.email\"}})],1),_c('FormItem',{staticClass:\"col-12 col-md-6 col-lg-4\",attrs:{\"label\":_vm.$tr('registration.passwordTitle'),\"prop\":\"password\"}},[_c('Input',{attrs:{\"placeholder\":_vm.$tr('registration.passwordPh'),\"type\":\"password\"},model:{value:(_vm.userModel.password),callback:function ($$v) {_vm.$set(_vm.userModel, \"password\", $$v)},expression:\"userModel.password\"}})],1),_c('FormItem',{staticClass:\"col-12 col-md-6 col-lg-4\",attrs:{\"label\":_vm.$tr('registration.repeatPasswordTitle'),\"prop\":\"passwordRepeat\"}},[_c('Input',{attrs:{\"placeholder\":_vm.$tr('registration.passwordPh'),\"type\":\"password\"},model:{value:(_vm.userModel.passwordRepeat),callback:function ($$v) {_vm.$set(_vm.userModel, \"passwordRepeat\", $$v)},expression:\"userModel.passwordRepeat\"}})],1)],1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{ $tr('registration.profileTitle') }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\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!./app-registration-user-form.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!./app-registration-user-form.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./app-registration-user-form.vue?vue&type=template&id=d8ecd396&\"\nimport script from \"./app-registration-user-form.vue?vue&type=script&lang=js&\"\nexport * from \"./app-registration-user-form.vue?vue&type=script&lang=js&\"\nimport style0 from \"./app-registration-user-form.vue?vue&type=style&index=0&id=d8ecd396&prod&lang=scss&\"\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","import useUser from '@/domain/composables/use-user'\nimport store from '@/store'\n\nexport default class UserService {\n static async createUser(email, password) {\n const authGroupId = store.getters['domain/currentAuthGroupId']\n const payload = {\n email: email.toLowerCase(),\n password,\n authGroupId,\n }\n\n const user = await useUser().registerUser(payload)\n\n return user\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('CheckboxGroup',{attrs:{\"value\":_vm.value,\"disabled\":_vm.disabled},on:{\"input\":_vm.updateValue}},_vm._l((_vm.field.values),function(fieldValue){return _c('Checkbox',{key:fieldValue.id,class:{ 'checkbox-required': fieldValue.required },attrs:{\"label\":fieldValue.id}},[_c('div',{staticClass:\"checkbox-agreement-name\"},[_c('p',[_vm._v(_vm._s(fieldValue.confirmationText))]),_c('router-link',{key:fieldValue.id,staticClass:\"content-items__link agreement-link\",attrs:{\"to\":_vm.localePath({ path: `/registration/juridical/${fieldValue.id}` }),\"target\":\"_blank\"}},[_vm._v(\" \"+_vm._s(fieldValue.contentName)+\" \")]),(fieldValue.required)?_c('span',{staticClass:\"checkbox-agreement-required\"},[_vm._v(\"*\")]):_vm._e(),(_vm.warningTextIsVisible && !_vm.value.includes(fieldValue.id))?_c('div',{staticClass:\"checkbox-agreement-warning\"},[_vm._v(\" \"+_vm._s(fieldValue.warningText)+\" \")]):_vm._e()],1)])}),1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n {{ fieldValue.confirmationText }}\n \n {{ fieldValue.contentName }}\n \n *\n \n {{ fieldValue.warningText }}\n \n \n \n \n\n\n\n\n\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!./checkboxAgreement.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!./checkboxAgreement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./checkboxAgreement.vue?vue&type=template&id=4ce8197e&\"\nimport script from \"./checkboxAgreement.vue?vue&type=script&lang=js&\"\nexport * from \"./checkboxAgreement.vue?vue&type=script&lang=js&\"\nimport style0 from \"./checkboxAgreement.vue?vue&type=style&index=0&id=4ce8197e&prod&lang=scss&\"\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","\n \n \n \n \n \n \n \n \n \n {{ $tr('registration.auth') }}\n \n \n \n \n \n \n {{ $tr('registration.title') }}\n \n Юридические согласия\n \n \n \n \n \n \n \n \n\n\n\n\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!./user.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!./user.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./user.vue?vue&type=template&id=0abae200&\"\nimport script from \"./user.vue?vue&type=script&lang=js&\"\nexport * from \"./user.vue?vue&type=script&lang=js&\"\nimport style0 from \"./user.vue?vue&type=style&index=0&id=0abae200&prod&lang=scss&\"\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","import { getExistingApiInstance } from '@/api'\nimport LogicError from '@/domain/errors/logic-error'\n\nexport default function useAuth() {\n /**\n * Аутентификация по логину и паролю\n * @returns {Promise<{data: {roles: Array, token: string, id: number}, isError: boolean}>}\n */\n async function authenticate(email, password, authGroupId) {\n const api = getExistingApiInstance()\n\n if (!authGroupId) {\n throw new LogicError('Не найден id группы авторизации')\n }\n\n const payload = {\n authGroupId,\n email,\n password,\n }\n\n let isError = false\n let data = {}\n try {\n ({ data } = await api.user.authenticate(payload))\n } catch (e) {\n isError = true\n }\n\n return {\n data,\n isError,\n }\n }\n\n return {\n authenticate,\n }\n}\n","import UserLoginStrategy from '@/domain/services/login-service/strategies/user-login-strategy'\nimport useAuth from '@/domain/composables/use-auth'\nimport store from '@/store'\nimport AuthService from '@/domain/services/auth-service'\nimport { GtmPlugin } from '@gtm-support/vue2-gtm'\nimport gtmOptions from '@/plugins/gtm'\n\n/**\n * authenticate then authorize\n */\nexport default class AuthAuthStrategy extends UserLoginStrategy {\n constructor(event, user) {\n super(event, user)\n this.gtm = new GtmPlugin(gtmOptions)\n }\n\n async execute() {\n const { authenticate } = useAuth()\n\n const { data, isError: isLoginError } = await authenticate(\n this.userData.email,\n this.userData.password,\n store.getters['domain/currentAuthGroupId'],\n )\n\n if (isLoginError) {\n throw new Error(this.translateI18N('auth.authError'))\n }\n\n this.gtm.trackEvent({ event: 'event-auth' })\n\n const authService = new AuthService()\n await authService.setAuthData(data.token, data.id)\n }\n}\n","export default {\n methods: {\n updateValue(value) {\n this.$emit('input', value)\n },\n },\n}\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--9-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkboxAgreement.vue?vue&type=style&index=0&id=4ce8197e&prod&lang=scss&\"","import EventService from '@/domain/services/event-service'\nimport { DateTime } from '@/plugins/luxon'\nimport { monthToStr, formatDate, TIME_STATUSES } from '@/utils'\n\nconst MIN_DATE = DateTime.fromSeconds(0)\nconst MAX_DATE = DateTime.fromSeconds(2177280000) // 2038 12 30\n\nexport default class EventDateService {\n static MIN_DATE = MIN_DATE\n static MAX_DATE = MAX_DATE\n constructor(event) {\n this._event = event\n }\n\n getData() {\n return this._event\n }\n\n /**\n * @returns {DateTime}\n */\n get startRegistrationTime() {\n return EventDateService.getMinDate(this._event.registrationStartedAt)\n }\n\n /**\n * @returns {DateTime}\n */\n get endRegistrationTime() {\n return EventDateService.getMaxDate(this._event.registrationEndedAt)\n }\n\n /**\n * @returns {DateTime}\n */\n get startEventTime() {\n if (!EventService.isEventOccasion(this._event)) {\n return EventDateService.MIN_DATE\n }\n return EventDateService.getMinDate(this._event.eventOccasion.startedAt)\n }\n\n /**\n * @returns {DateTime}\n */\n get endEventTime() {\n if (!EventService.isEventOccasion(this._event)) {\n return EventDateService.MAX_DATE\n }\n return EventDateService.getMaxDate(this._event.eventOccasion.endedAt)\n }\n\n static getMinDate(dateStr) {\n const date = DateTime.fromISO(dateStr)\n if (date.invalid) {\n return EventDateService.MIN_DATE\n }\n return date\n }\n\n static getMaxDate(dateStr) {\n const date = DateTime.fromISO(dateStr)\n if (date.invalid) {\n return EventDateService.MAX_DATE\n }\n return date\n }\n\n /**\n * функция возвращает две даты через символ, отправленный в поле \"locale.divider\" - по умолчанию черточка:\n * @param locale\n * @param start\n * @param end\n */\n static getAlertMessageWithDivider(locale, start, end) {\n if ((!start) instanceof DateTime || (!end) instanceof DateTime) {\n throw new Error(\n 'Неверный тип даты, передаваемый в функцию getEntityStatus!',\n )\n }\n\n const { entity = '', months = [], divider = '-' } = locale\n\n const formatDateWithDivider = (start, end) => {\n const { year: startYear, month: startMonth, day: startDay } = start\n const { year: endYear, month: endMonth, day: endDay } = end\n\n // отбрасываем одинаковые года и месяцы\n if (\n endDay === startDay &&\n startMonth === endMonth &&\n startYear === endYear\n ) {\n return `${startDay} ${monthToStr(startMonth, months)} ${startYear}`\n } else if (startMonth === +endMonth && startYear === endYear) {\n return `${startDay} ${divider} ${endDay} ${monthToStr(\n startMonth,\n months,\n )} ${startYear}`\n } else if (startYear === endYear) {\n return `${startDay} ${monthToStr(\n startMonth,\n months,\n )} ${divider} ${endDay} ${monthToStr(endMonth, months)} ${startYear}`\n }\n return `${startDay} ${monthToStr(\n startMonth,\n months,\n )} ${startYear} ${divider} ${endDay} ${monthToStr(\n endMonth,\n months,\n )} ${endYear}`\n }\n\n return {\n message: `${entity} ${formatDateWithDivider(start, end)}`,\n state: 'info',\n }\n }\n\n static getMessageWithOneDate(locale, date) {\n if (!locale.entity) {\n return formatDate(date, locale.months)\n }\n return `${locale.entity} ${formatDate(date, locale.months)}`\n }\n\n static getEntityStatusAlert = (locale, start, end, status) => {\n if ((!start) instanceof DateTime || (!end) instanceof DateTime) {\n throw new Error(\n 'Неверный тип даты, передаваемый в функцию getEntityStatus!',\n )\n }\n\n const {\n entity = '',\n before = '',\n during = '',\n after = '',\n months = [''],\n onGoing = '',\n } = locale\n\n if (status === TIME_STATUSES.ENDED) {\n return {\n message: `${entity} ${after} ${formatDate(end, months)}`,\n state: 'after',\n }\n }\n\n if (status === TIME_STATUSES.WILL_START) {\n return {\n message: `${entity} ${before} ${formatDate(start, months)}`,\n state: 'before',\n }\n }\n\n if (end === EventDateService.MAX_DATE) {\n // \"Регистрация идет\" (без даты)\n return {\n message: `${entity} ${onGoing}`,\n state: 'during',\n }\n }\n\n return {\n message: `${entity} ${during} ${formatDate(end, months)}`,\n state: 'during',\n }\n }\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--9-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-registration-user-form.vue?vue&type=style&index=0&id=d8ecd396&prod&lang=scss&\"","import EventDateService from '@/domain/services/event-date-service'\nimport { AbstractMethod } from '@/utils/oop-helpers'\nimport { translateFn } from '@/plugins/i18n'\nimport { TIME_STATUSES } from '@/utils'\n\nexport default class UserLoginStrategy {\n constructor(event, user) {\n this.userData = user\n this.eventDateServise = new EventDateService(event)\n this.eventData = event\n }\n execute() {\n new AbstractMethod()\n }\n\n translateI18N(key, ...args) {\n return translateFn(key, ...args)\n }\n\n async _registrationUnavailableGuard() {\n if (this.eventData.registrationTimeStatus !== TIME_STATUSES.IN_PROGRESS) {\n this._throwUnavailableRegistrationAlert()\n }\n }\n\n _throwUnavailableRegistrationAlert() {\n const start = this.eventDateServise.startRegistrationTime\n const end = this.eventDateServise.endRegistrationTime\n\n // регистрация может быть недоступна, если дата начала регистрации не указана,\n // а дата окончания уже наступила\n if (this.eventData.registrationTimeStatus === TIME_STATUSES.ENDED) {\n throw new Error(this.translateI18N('alertTime.error.ended'))\n }\n // регистрация может быть недоступна, если дата окончания регистрации не указана,\n // а дата начала еще не наступила\n if (this.eventData.registrationTimeStatus === TIME_STATUSES.WILL_START) {\n const locale = {\n entity: this.translateI18N('alertTime.error.willStart'),\n months: this.translateI18N('months'),\n }\n const message = EventDateService.getMessageWithOneDate(locale, start)\n throw new Error(message)\n }\n\n const locale = {\n entity: this.translateI18N('auth.regDateError.text'),\n months: this.translateI18N('months'),\n divider: this.translateI18N('auth.regDateError.divider'),\n }\n\n const status = EventDateService.getAlertMessageWithDivider(\n locale,\n start,\n end,\n )\n throw new Error(status.message)\n }\n}\n"],"sourceRoot":""}
{{ fieldValue.confirmationText }}