{"version":3,"sources":["webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue?f982","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue?0582","webpack:///./infrastructure/presentation/views/EditProfile.vue?ebee","webpack:///./infrastructure/presentation/views/EditProfile.vue?8ddd","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue?b54a","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue?34eb","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue?64b9","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue?0008","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue?533c","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue?375f","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue","webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue?0c4f","webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue?225a","webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue","webpack:///./infrastructure/presentation/views/EditProfile.vue?c8d2","webpack:///./infrastructure/presentation/views/EditProfile.vue","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue?a194","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue?7a8b"],"names":["n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","key","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","render","_ctx","_cache","$props","$setup","$data","$options","_component_CropperImageInput","_component_GrayInput","_component_MaskInput","_component_NumberInput","_component_CardSelect","isInputImageOpened","user","image","onCroppedImageUrl","$event","getCroppedImageUrl","onClick","saveChanges","discardChanges","openInputImage","id","src","alt","name","onError","loadFallbackImage","onSubmit","modelValue","type","placeholder","hasCounter","maxLength","disable","isImported","isCirculoTemplate","label","mask","minLength","document","disabled","userDocument","email","userEmail","birthDate","address","zipCode","onInput","requestCepAPI","onBlur","addEmptyValue","target","readonly","length","options","stateID","states","selectedID","city","district","addressNumber","street","height","resize","biography","interests","userInterest","userIndex","title","removeInterest","interest","index","addInterest","ref","flex","required","for","onChange","$emit","value","option","selected","labelAttribute","isPasswordVisible","maxlength","step","max","min","minlength","handleInput","onPaste","onMousedown","showPassword","onMouseup","hidePassword","onTouchstart","onTouchend","style","eye","visibleEye","invisibleEye","checked","props","String","Number","Boolean","Object","default","Array","setup","emit","handleMaskLifeCicle","interval","baseInput","isEyeVisible","callerCounter","inputMasked","event","inputMask","input","Error","formatedValue","applyMask","clearInterval","e","setInterval","generated","clearInput","removeEventListener","addEventListener","pattern","lastIndex","lastCharacter","test","substring","offset","i","expectedChar","currentChar","match","__exports__","maskInput","hasCharacterCounter","isSelect","remove","isRemove","maxWidth","_props","undefined","methods","components","NumberInput","CardSelect","MaskInput","CropperImageInput","GrayInput","store","router","getters","loadUser","listUserInterest","loadInterests","loadStates","removeInterestEquals","console","error","dispatch","http","get","response","data","removeMask","map","push","params","cep","federalUnit","addressNumberInput","getElementById","focus","message","replace","splice","forEach","img","url"],"mappings":"kHAAA,W,kFCAA,W,kFCAA,W,kHCEM,EAAe,SAAAA,GAAC,OAAK,eAAa,mBAAmBA,EAAEA,IAAI,iBAAcA,GACzEC,EAAa,CACjBC,MAAO,OACP,YAAa,IAETC,EAAa,CAAED,MAAO,gBACtBE,EAAa,CAAEF,MAAO,wBACtBG,EAA2B,GAAa,kBAAmB,eAAoB,MAAO,CAAEH,MAAO,yBAA2B,CACjH,eAAoB,KAAM,CAAEA,MAAO,uBAAyB,oBAC5D,eAAoB,QAC/B,MACEI,EAAa,CAAEJ,MAAO,yBACtBK,EAAa,CAAEL,MAAO,sBACtBM,EAAa,CAAC,MAAO,OACrBC,EAA2B,GAAa,kBAA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AzB,cACAC,iBACA6B,gBACAE,gBACAsB,cACAH,iBACA3C,oBACAN,iBACAJ,wB,UC5LN,MAAM,GAA2B,IAAgB,GAAQ,CAAC,CAAC,SAASjB,GAAQ,CAAC,YAAY,qBAE1E,iB,kCCTf,W,kCCAA","file":"js/chunk-124e257c.7044c523.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./NumberInput.vue?vue&type=style&index=0&id=04b2543a&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CardSelect.vue?vue&type=style&index=0&id=0219fb7e&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./EditProfile.vue?vue&type=style&index=0&id=6ae2c77e&scoped=true&lang=css\"","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6ae2c77e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"view\",\n \"data-view\": \"\"\n}\nconst _hoisted_2 = { class: \"edit-profile\" }\nconst _hoisted_3 = { class: \"edit-profile__header\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"b-edit-profile__title\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"edit-profile__title\" }, \"Edição de perfil\"),\n /*#__PURE__*/_createElementVNode(\"hr\")\n], -1))\nconst _hoisted_5 = { class: \"edit-profile__options\" }\nconst _hoisted_6 = { class: \"edit-profile__form\" }\nconst _hoisted_7 = [\"src\", \"alt\"]\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"form__description\" }, \" Informações pessoais \", -1))\nconst _hoisted_9 = { class: \"contain-inputs\" }\nconst _hoisted_10 = { class: \"contain-inputs__sub\" }\nconst _hoisted_11 = { class: \"contain-inputs__sub\" }\nconst _hoisted_12 = { class: \"contain-inputs__sub\" }\nconst _hoisted_13 = { class: \"contain-inputs__sub\" }\nconst _hoisted_14 = { class: \"contain-input\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Interesses\", -1))\nconst _hoisted_16 = {\n key: 0,\n class: \"contain-inputs__interest\"\n}\nconst _hoisted_17 = { key: 1 }\nconst _hoisted_18 = { class: \"contain-input\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Adicionar novos interesses\", -1))\nconst _hoisted_20 = {\n key: 0,\n class: \"contain-inputs__interest\"\n}\nconst _hoisted_21 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CropperImageInput = _resolveComponent(\"CropperImageInput\")!\n const _component_GrayInput = _resolveComponent(\"GrayInput\")!\n const _component_MaskInput = _resolveComponent(\"MaskInput\")!\n const _component_NumberInput = _resolveComponent(\"NumberInput\")!\n const _component_CardSelect = _resolveComponent(\"CardSelect\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n ($setup.isInputImageOpened)\n ? (_openBlock(), _createBlock(_component_CropperImageInput, {\n key: 0,\n \"image-url\": $setup.user.image,\n onCroppedImageUrl: _cache[0] || (_cache[0] = ($event: any) => ($setup.getCroppedImageUrl($event)))\n }, null, 8, [\"image-url\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"button\", {\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => ($setup.saveChanges && $setup.saveChanges(...args))),\n class: \"save-changes-button\"\n }, \" Salvar \"),\n _createElementVNode(\"button\", {\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => ($setup.discardChanges && $setup.discardChanges(...args))),\n class: \"discard-changes-button\"\n }, \" Cancelar \")\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"button\", {\n class: \"container-pic\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => ($setup.openInputImage()))\n }, [\n _createElementVNode(\"img\", {\n id: \"profile_pic\",\n class: \"container-pic__image\",\n src: $setup.user.image,\n alt: $setup.user.name,\n onError: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => ($setup.loadFallbackImage && $setup.loadFallbackImage(...args))),\n \"data-profile-image\": \"\"\n }, null, 40, _hoisted_7)\n ]),\n _createElementVNode(\"form\", {\n onSubmit: _cache[18] || (_cache[18] = _withModifiers(() => {}, [\"prevent\"])),\n class: \"form\"\n }, [\n _hoisted_8,\n _createElementVNode(\"fieldset\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_GrayInput, {\n id: \"name\",\n modelValue: $setup.user.name,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (($setup.user.name) = $event)),\n type: \"text\",\n placeholder: \"Seu nome aqui\",\n hasCounter: \"\",\n maxLength: \"60\",\n disable: $setup.user.isImported && !$options.isCirculoTemplate(),\n label: \"Nome completo\"\n }, null, 8, [\"modelValue\", \"disable\"]),\n _createVNode(_component_MaskInput, {\n id: \"cpf\",\n label: \"CPF\",\n mask: \"###.###.###-##\",\n placeholder: \"000.000.000-00\",\n minLength: 14,\n maxLength: 14,\n modelValue: $setup.user.document,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (($setup.user.document) = $event)),\n disabled: !!$setup.userDocument\n }, null, 8, [\"modelValue\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_GrayInput, {\n id: \"email\",\n type: \"email\",\n placeholder: \"exemplo@gmail.com\",\n modelValue: $setup.user.email,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (($setup.user.email) = $event)),\n hasCounter: \"\",\n maxLength: \"100\",\n disable: !!$setup.userEmail && !$options.isCirculoTemplate(),\n label: \"Email\"\n }, null, 8, [\"modelValue\", \"disable\"]),\n _createVNode(_component_GrayInput, {\n id: \"birth-date\",\n type: \"date\",\n modelValue: $setup.user.birthDate,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (($setup.user.birthDate) = $event)),\n label: \"Data de nascimento\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_MaskInput, {\n id: \"zipCode\",\n label: \"CEP\",\n mask: \"#####-###\",\n placeholder: \"00000-000\",\n minLength: 9,\n maxLength: 9,\n modelValue: $setup.user.address.zipCode,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (($setup.user.address.zipCode) = $event)),\n onInput: _cache[10] || (_cache[10] = ($event: any) => ($setup.requestCepAPI($setup.user.address.zipCode))),\n onBlur: _cache[11] || (_cache[11] = ($event: any) => ($setup.addEmptyValue($event.target)))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_GrayInput, {\n id: \"federalUnit\",\n readonly: $setup.user.address.zipCode?.length > 8,\n type: \"select\",\n options: [\r\n { stateID: null, id: null, label: 'Selecionar' },\r\n ...$setup.states\r\n ],\n selectedID: $setup.user.address.stateID,\n modelValue: $setup.user.address.stateID,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (($setup.user.address.stateID) = $event)),\n label: \"UF (Estado)\"\n }, null, 8, [\"readonly\", \"options\", \"selectedID\", \"modelValue\"]),\n _createVNode(_component_GrayInput, {\n id: \"city\",\n class: \"city\",\n readonly: $setup.user.address.zipCode?.length > 8,\n type: \"text\",\n placeholder: \"Ex: Joinville, Curitiba, etc\",\n modelValue: $setup.user.address.city,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (($setup.user.address.city) = $event)),\n label: \"Cidade\"\n }, null, 8, [\"readonly\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_GrayInput, {\n id: \"district\",\n readonly: $setup.user.address.zipCode?.length > 8,\n type: \"text\",\n placeholder: \"Ex: Sete de Setembro\",\n maxLength: \"100\",\n hasCounter: \"\",\n modelValue: $setup.user.address.district,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => (($setup.user.address.district) = $event)),\n label: \"Bairro\"\n }, null, 8, [\"readonly\", \"modelValue\"]),\n _createVNode(_component_NumberInput, {\n id: \"addressNumber\",\n type: \"number\",\n placeholder: \"0\",\n minLength: \"0\",\n modelValue: $setup.user.address.addressNumber,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => (($setup.user.address.addressNumber) = $event)),\n label: \"Número\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_GrayInput, {\n id: \"street\",\n readonly: $setup.user.address.zipCode?.length > 8,\n type: \"text\",\n placeholder: \"Ex: Rua José da Cunha\",\n modelValue: $setup.user.address.street,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => (($setup.user.address.street) = $event)),\n label: \"Rua\"\n }, null, 8, [\"readonly\", \"modelValue\"]),\n _createVNode(_component_GrayInput, {\n id: \"biography\",\n type: \"textarea\",\n maxLength: \"200\",\n height: 120,\n resize: 'none',\n hasCounter: \"\",\n modelValue: $setup.user.biography,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => (($setup.user.biography) = $event)),\n label: \"Biografia\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n ($setup.user.interests?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.user.interests, (userInterest, userIndex) => {\n return (_openBlock(), _createBlock(_component_CardSelect, {\n key: userIndex,\n label: userInterest.title,\n \"is-remove\": \"\",\n onClick: ($event: any) => ($setup.removeInterest(userInterest, userIndex))\n }, null, 8, [\"label\", \"onClick\"]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_17, \" Você ainda não possui interesses.\"))\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n ($setup.interests.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.interests, (interest, index) => {\n return (_openBlock(), _createBlock(_component_CardSelect, {\n key: index,\n disable: $setup.user.interests?.length >= 5,\n label: interest.title,\n \"is-select\": \"\",\n onClick: ($event: any) => ($setup.addInterest(interest, index))\n }, null, 8, [\"disable\", \"label\", \"onClick\"]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_21, \"Não há mais interesses disponíveis para serem adicionados.\"))\n ])\n ])\n ], 32)\n ])\n ])\n ])\n ], 64))\n}","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9076d238\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = [\"disabled\", \"id\", \"readonly\"]\nconst _hoisted_3 = [\"value\", \"selected\"]\nconst _hoisted_4 = [\"type\", \"id\", \"disabled\", \"readonly\", \"required\", \"maxlength\", \"max\", \"min\", \"minlength\", \"value\", \"placeholder\"]\nconst _hoisted_5 = [\"disabled\", \"type\"]\nconst _hoisted_6 = [\"type\", \"disabled\", \"id\", \"required\", \"readonly\", \"checked\"]\nconst _hoisted_7 = [\"id\", \"disabled\", \"required\", \"readonly\", \"maxlength\", \"minlength\", \"value\", \"placeholder\"]\nconst _hoisted_8 = {\n key: 5,\n class: \"input-count-span\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n ref: \"baseInput\",\n class: _normalizeClass(['_field', { flex: $props.type == 'checkbox' }])\n }, [\n _createElementVNode(\"label\", {\n class: _normalizeClass(['label', { required: $props.required }]),\n for: $props.id\n }, _toDisplayString($props.label), 11, _hoisted_1),\n ($props.type === 'select')\n ? (_openBlock(), _createElementBlock(\"select\", {\n key: 0,\n disabled: $props.readonly,\n id: $props.id,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('update:modelValue', $event.target.value))),\n class: \"input\",\n readonly: $props.readonly\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($props.options, (option, index) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: index,\n value: option.id,\n selected: option.id === $props.selectedID\n }, _toDisplayString(option.label || option[$props.labelAttribute]), 9, _hoisted_3))\n }), 128))\n ], 40, _hoisted_2))\n : _createCommentVNode(\"\", true),\n (\r\n $props.type === 'text' ||\r\n $props.type === 'email' ||\r\n $props.type === 'password' ||\r\n $props.type === 'date' ||\r\n $props.type === 'datetime-local' ||\r\n $props.type === 'number'\r\n )\n ? (_openBlock(), _createElementBlock(\"input\", {\n key: 1,\n \"data-text\": \"\",\n type: $props.type == 'password' && $setup.isPasswordVisible ? 'text' : $props.type,\n id: $props.id,\n disabled: $props.disable,\n readonly: $props.readonly,\n required: $props.required,\n maxlength: $props.maxLength,\n step: \"1\",\n max: $props.max,\n min: $props.min,\n minlength: $props.minLength,\n class: _normalizeClass([\"input\", { 'input--password': $props.type === 'password' }]),\n value: $props.modelValue,\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('blur', $event))),\n onInput: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => ($setup.handleInput && $setup.handleInput(...args))),\n onChange: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => ($setup.handleInput && $setup.handleInput(...args))),\n onPaste: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => ($setup.handleInput && $setup.handleInput(...args))),\n placeholder: $props.placeholder\n }, null, 42, _hoisted_4))\n : _createCommentVNode(\"\", true),\n ($props.type === 'password')\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 2,\n disabled: $props.disable,\n class: \"input__button\",\n type: $setup.isPasswordVisible ? 'text' : 'password',\n onMousedown: _cache[5] || (_cache[5] = ($event: any) => ($setup.showPassword())),\n onMouseup: _cache[6] || (_cache[6] = ($event: any) => ($setup.hidePassword())),\n onTouchstart: _cache[7] || (_cache[7] = ($event: any) => ($setup.showPassword())),\n onTouchend: _cache[8] || (_cache[8] = ($event: any) => ($setup.hidePassword())),\n style: _normalizeStyle(`background: url(${$setup.eye ? $setup.visibleEye : $setup.invisibleEye})`)\n }, null, 44, _hoisted_5))\n : _createCommentVNode(\"\", true),\n ($props.type == 'checkbox')\n ? (_openBlock(), _createElementBlock(\"input\", {\n key: 3,\n type: $props.type,\n disabled: $props.disable,\n id: $props.id,\n required: $props.required,\n readonly: $props.readonly,\n checked: $props.checked,\n onChange: _cache[9] || (_cache[9] = ($event: any) => (_ctx.$emit('update:modelValue', $event.target.checked)))\n }, null, 40, _hoisted_6))\n : _createCommentVNode(\"\", true),\n ($props.type == 'textarea')\n ? (_openBlock(), _createElementBlock(\"textarea\", {\n key: 4,\n id: $props.id,\n disabled: $props.disable,\n required: $props.required,\n readonly: $props.readonly,\n maxlength: $props.maxLength,\n minlength: $props.minLength,\n style: _normalizeStyle(`resize: ${$props.resize}; height: ${$props.height}px;`),\n class: \"input input--text-area\",\n value: $props.disable ? '' : $props.modelValue,\n onInput: _cache[10] || (_cache[10] = ($event: any) => (_ctx.$emit('update:modelValue', $event.target.value))),\n placeholder: $props.placeholder\n }, null, 44, _hoisted_7))\n : _createCommentVNode(\"\", true),\n ($props.hasCounter)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString($props.modelValue ? $props.modelValue.length : 0) + \" / \" + _toDisplayString($props.maxLength), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n}","\r\nimport {computed, ref} from \"@vue/reactivity\";\r\nimport {onMounted} from \"@vue/runtime-core\";\r\n\r\nexport default {\r\n props: {\r\n modelValue: {\r\n type: [String, Number, Boolean, Object],\r\n default: \"\",\r\n },\r\n\r\n type: {\r\n type: String,\r\n required: true,\r\n },\r\n\r\n id: {\r\n type: String,\r\n required: true,\r\n },\r\n\r\n label: {\r\n type: String,\r\n required: false,\r\n },\r\n\r\n checked: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n\r\n placeholder: {\r\n type: String,\r\n required: false,\r\n },\r\n\r\n hasCounter: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n\r\n maxLength: {\r\n type: [Number, String],\r\n required: false,\r\n },\r\n\r\n max: {\r\n required: false,\r\n type: [Number, String],\r\n },\r\n\r\n min: {\r\n required: false,\r\n type: [Number, String],\r\n },\r\n\r\n minLength: {\r\n required: false,\r\n type: [Number, String],\r\n },\r\n\r\n resize: {\r\n required: false,\r\n type: String,\r\n },\r\n\r\n height: {\r\n required: false,\r\n type: [Number, String],\r\n },\r\n\r\n options: {\r\n type: Array,\r\n required: false,\r\n },\r\n\r\n selectedID: {\r\n type: [Boolean, Number, String],\r\n required: false,\r\n },\r\n\r\n labelAttribute: {\r\n type: String,\r\n required: false,\r\n },\r\n\r\n disable: {\r\n type: Boolean,\r\n required: false,\r\n default: () => false,\r\n },\r\n\r\n readonly: {\r\n type: Boolean,\r\n required: false,\r\n default: () => false,\r\n },\r\n\r\n mask: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n\r\n required: {\r\n type: Boolean,\r\n required: false,\r\n default: () => false,\r\n },\r\n },\r\n\r\n setup(props, { emit }) {\r\n onMounted(() => {\r\n handleMaskLifeCicle();\r\n });\r\n\r\n const baseInput = ref(null);\r\n const isEyeVisible = ref(false);\r\n\r\n let interval;\r\n let callerCounter = 0;\r\n\r\n let inputMasked = \"\";\r\n // let interval = false;\r\n\r\n const visibleEye =\r\n \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABdklEQVRIie3UQUuUURQG4GcihKRAIxdZEbpwIVEo2arWMQtpUz+iJFD/giAE7bW0SGhTi/oDLQZs2TLDXciUuFAkFQLF0cU9wnj9xplq0WZeOPBx3nPfc++573dp43+j1ELNWYxgAD04wDqW8QX7f9t8CG+wFaJF8QuvcfNPhC9iIQS2MYeH6ENnRD8eYR47qOEVupuJ30AVu5hGV4sbeoY9rGCwUeEQNvETtzOuhHuYjLjr5P3dwSo2cCsX74nuK7iecVfw2cn5LwZXjz5pAt9xqZ54i98YzhZ04pt0mY9xOeJJ5JZwLlszEloL9YkapvJjSeOooVzAlYObKOCmJfsOw0vJiucLCj/ha0H+CEtRk+OC5MDZMxjFR8luObrx45QGVclFObbxAQ9Ifr7aQOA91tBRwHUE967B2muhfSrKkmOeO27LUuQOcL+ZSDO8CKEKxiMqkZv5V3HSbp9Kd3H0D1QxpoXHspXXtL62N75Xo1EbbXAIbPZZzvz28ukAAAAASUVORK5CYII=\";\r\n\r\n const invisibleEye =\r\n \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABmUlEQVRIie3VTUtVURTG8d8NMRKhAsOBojSpSRRddJiTRk7EBje/QSMV+wwNtDdt0MSg6AUCP0GDBio0KxyZNKmBhjYpSAzBK9Vg7wOn3Tn3XgtnLjgcWGs9/7PW3mvvw5H9bXfw4bDgc/iFu5mj0oKoDQM4jzNR8xXvsYJ6Dj6FB7jZSjVVPMN2rCp96riWVD7XCrgLz6NgB49Rw1l04Dj6cTGBr+NUM/glfI7V3cbpJvkZfAn7+IjLZckD+I5NDCaxCq5gMnaRh2fLMhSL+4YLKbwbG0Kb/UmsB29iV7UE/ijJPYet+KGufOAldoWNzVsH1mJnowl8T5ikE4mmGot5kjkG8RO30raEcavjagKfxUjUTRXopmOsCvPCKHYWJL7C9QJ4Zu/wukB3Ej/wkLBmTwuSCBtfBs8KWCnRvhAGRg29JUmN4O34goUSXR/GGnD/gL/FsZy/gvsxNtwM0gy+Gt+LuCFs6nL0zf8vfDZWOy6ckewe2sCE1i7LhvC8VYRD1/OvYJhxgFvxoHbvMOHwSe5PdGSZ/Qano3B/LgdoUgAAAABJRU5ErkJggg==\";\r\n\r\n function handleInput(event: Event) {\r\n if (props.mask?.length) {\r\n inputMask(event, props.mask);\r\n return;\r\n }\r\n const input = event.target as HTMLInputElement;\r\n emit(\"update:modelValue\", input.value);\r\n }\r\n\r\n function handleMaskLifeCicle() {\r\n try {\r\n if (!props.modelValue)\r\n throw Error(`value is empty: ${props.modelValue}`);\r\n if (typeof props.modelValue == \"string\" && props.mask) {\r\n const formatedValue = applyMask(props.modelValue, props.mask, \"\");\r\n emit(\"update:modelValue\", formatedValue);\r\n }\r\n clearInterval(interval);\r\n } catch (e) {\r\n if (!interval) {\r\n interval = setInterval(handleMaskLifeCicle, 300);\r\n }\r\n if (callerCounter > 1) {\r\n clearInterval(interval);\r\n return;\r\n }\r\n callerCounter++;\r\n }\r\n }\r\n\r\n const isPasswordVisible = ref(false);\r\n\r\n function showPassword() {\r\n isPasswordVisible.value = true;\r\n isEyeVisible.value = true;\r\n }\r\n\r\n function hidePassword() {\r\n isPasswordVisible.value = false;\r\n isEyeVisible.value = false;\r\n }\r\n\r\n /**\r\n * Apply the mask to the value recived from input\r\n * @param event event emited after some interaction with the input, is used to block pastes like Ctrl + V and get the value;\r\n * @param mask referes to the formate that input's value must be. Exemple: ###.###.###-## (this mask referes to the CPF formate)\r\n */\r\n function inputMask(event: Event, mask: string) {\r\n const input = event?.target as HTMLInputElement;\r\n const value = input.value;\r\n\r\n /* Will recive the input + formatation */\r\n let generated = \"\";\r\n\r\n const clearInput = () => {\r\n input.value = \"\";\r\n document.removeEventListener(\"input\", clearInput);\r\n };\r\n\r\n if (event.type == \"paste\") {\r\n document.addEventListener(\"input\", clearInput);\r\n return generated;\r\n }\r\n\r\n /* Represents the last index in value */\r\n const pattern = /([a-zA-Z])|([^\\w\\s])/g;\r\n\r\n const lastIndex = value.length - 1;\r\n const lastCharacter = value[lastIndex];\r\n\r\n /* if the input is not a number, cancel */\r\n\r\n if (pattern.test(lastCharacter)) {\r\n generated = value.substring(0, lastIndex);\r\n input.value = generated;\r\n return generated;\r\n }\r\n\r\n applyMask(value, mask, generated);\r\n }\r\n\r\n function applyMask(value: string, mask: string, generated: string) {\r\n /* Used to calibrate the counting across the mask */\r\n let offset = 0;\r\n\r\n /**\r\n * Iterates across each currentChar's position and mask\r\n */\r\n for (let i = 0; i < mask!.length && i < value.length; i++) {\r\n /**\r\n * Defines variables to be compared\r\n */\r\n let expectedChar = mask![offset + i];\r\n let currentChar = value[i];\r\n\r\n /* verifies if the currentChar match with the expected char and apply the logist */\r\n if (expectedChar == \"#\") {\r\n if (currentChar.match(\"[0-9]\")) {\r\n generated += currentChar;\r\n } else {\r\n generated += \"\";\r\n }\r\n } else if (currentChar == expectedChar) {\r\n generated += currentChar;\r\n } else {\r\n offset++;\r\n generated += expectedChar;\r\n generated += currentChar;\r\n }\r\n }\r\n\r\n /* users will see the input with the mask */\r\n inputMasked = generated;\r\n\r\n emit(\"update:modelValue\", inputMasked);\r\n return inputMasked;\r\n }\r\n\r\n const eye = computed(() => {\r\n return isEyeVisible.value;\r\n });\r\n\r\n return {\r\n baseInput,\r\n visibleEye,\r\n invisibleEye,\r\n eye,\r\n showPassword,\r\n hidePassword,\r\n isPasswordVisible,\r\n inputMask,\r\n handleInput,\r\n inputMasked,\r\n };\r\n },\r\n};\r\n","import { render } from \"./GrayInput.vue?vue&type=template&id=9076d238&scoped=true&ts=true\"\nimport script from \"./GrayInput.vue?vue&type=script&lang=ts\"\nexport * from \"./GrayInput.vue?vue&type=script&lang=ts\"\n\nimport \"./GrayInput.vue?vue&type=style&index=0&id=9076d238&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\dev\\\\purple__bee\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9076d238\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-62801541\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"field\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\", \"disabled\", \"readonly\", \"maxlength\", \"minlength\", \"value\", \"placeholder\", \"title\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"character-count\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: _normalizeClass(['label', _ctx.disabled ? 'disabled' : '', _ctx.required ? 'required' : '']),\n for: _ctx.id\n }, _toDisplayString(_ctx.label), 11, _hoisted_2),\n _createElementVNode(\"input\", {\n type: \"text\",\n id: _ctx.id,\n disabled: _ctx.disabled,\n readonly: _ctx.readonly,\n maxlength: _ctx.maxLength,\n minlength: _ctx.minLength,\n value: _ctx.modelValue,\n placeholder: _ctx.placeholder,\n title: _ctx.title,\n class: \"input\",\n onInput: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.maskInput && _ctx.maskInput(...args)))\n }, null, 40, _hoisted_3),\n (_ctx.hasCharacterCounter)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0) + \" \" + _toDisplayString(_ctx.maxLength ? \" /\" + _ctx.maxLength : \"\"), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\nimport {defineComponent} from \"vue\";\r\nimport {maskCEP, maskCNPJ, maskCPF} from \"../../mixins\";\r\n\r\nexport default defineComponent({\r\n props: {\r\n modelValue: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n label: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n id: {\r\n type: String,\r\n required: true,\r\n },\r\n disabled: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n required: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n readonly: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n maxLength: {\r\n type: Number,\r\n required: false,\r\n },\r\n minLength: {\r\n type: Number,\r\n required: false,\r\n },\r\n placeholder: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n title: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n hasCharacterCounter: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n mask: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n },\r\n setup(props, { emit }) {\r\n const maskInput = (event: Event) => {\r\n const input = event.target as HTMLInputElement;\r\n\r\n if (!input.value || input.value === \"\") {\r\n emit(\"update:modelValue\", input.value);\r\n return;\r\n }\r\n\r\n if (props.mask?.length) {\r\n if (props.mask.match(\"##.###.###/####-##\")) {\r\n input.value = maskCNPJ(input.value);\r\n }\r\n if (props.mask.match(\"###.###.###-##\")) {\r\n input.value = maskCPF(input.value);\r\n }\r\n if (props.mask.match(\"#####-###\")) {\r\n input.value = maskCEP(input.value);\r\n }\r\n emit(\"update:modelValue\", input.value);\r\n return;\r\n }\r\n };\r\n\r\n return { maskInput };\r\n },\r\n});\r\n","import { render } from \"./MaskInput.vue?vue&type=template&id=62801541&scoped=true&ts=true\"\nimport script from \"./MaskInput.vue?vue&type=script&lang=ts\"\nexport * from \"./MaskInput.vue?vue&type=script&lang=ts\"\n\nimport \"./MaskInput.vue?vue&type=style&index=0&id=62801541&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\dev\\\\purple__bee\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-62801541\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\r\n 'interest',\r\n { selected: _ctx.isSelect },\r\n { remove: _ctx.isRemove },\r\n { disable: _ctx.disable }\r\n ])\n }, _toDisplayString(_ctx.label), 3))\n}","\r\nimport { defineComponent } from \"vue\";\r\n\r\nexport default defineComponent({\r\n name: \"CardSelect\",\r\n props: {\r\n isSelect: {\r\n type: Boolean\r\n },\r\n isRemove: {\r\n type: Boolean\r\n },\r\n disable: {\r\n type: Boolean\r\n },\r\n label: {\r\n type: String,\r\n default: \"Text\",\r\n required: true\r\n }\r\n },\r\n setup() {}\r\n});\r\n","import { render } from \"./CardSelect.vue?vue&type=template&id=0219fb7e&scoped=true&ts=true\"\nimport script from \"./CardSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./CardSelect.vue?vue&type=script&lang=ts\"\n\nimport \"./CardSelect.vue?vue&type=style&index=0&id=0219fb7e&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\dev\\\\purple__bee\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0219fb7e\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-04b2543a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"field\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\", \"disabled\", \"readonly\", \"max\", \"min\", \"value\", \"placeholder\", \"title\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: _normalizeClass(['label', _ctx.disabled ? 'disabled' : '', _ctx.required ? 'required' : '']),\n for: _ctx.id\n }, _toDisplayString(_ctx.label), 11, _hoisted_2),\n _createElementVNode(\"input\", {\n type: \"number\",\n id: _ctx.id,\n disabled: _ctx.disabled,\n readonly: _ctx.readonly,\n max: _ctx.max,\n min: _ctx.min,\n value: _ctx.disabled ? '' : _ctx.modelValue,\n placeholder: _ctx.placeholder,\n title: _ctx.title,\n class: \"input\",\n onInput: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.onInput && _ctx.onInput(...args)))\n }, null, 40, _hoisted_3)\n ]))\n}","\r\nimport {defineComponent} from \"vue\";\r\n\r\nexport default defineComponent({\r\n props: {\r\n modelValue: {\r\n type: [Number, String],\r\n required: false,\r\n },\r\n label: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n id: {\r\n type: String,\r\n required: true,\r\n },\r\n disabled: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n required: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n readonly: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n },\r\n max: {\r\n type: [Number, String],\r\n required: false,\r\n },\r\n min: {\r\n type: [Number, String],\r\n required: false,\r\n },\r\n placeholder: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n title: {\r\n type: String,\r\n required: false,\r\n default: \"\",\r\n },\r\n maxWidth: {\r\n type: String,\r\n required: false,\r\n default: \"initial\",\r\n },\r\n },\r\n setup(_props, { emit }) {\r\n const onInput = async (event: Event) => {\r\n const input = event.target as HTMLInputElement;\r\n\r\n if (!input.value || input.value === \"\") {\r\n emit(\"update:modelValue\", undefined);\r\n return;\r\n }\r\n\r\n emit(\"update:modelValue\", Number(input.value));\r\n };\r\n\r\n return { onInput };\r\n },\r\n});\r\n","import { render } from \"./NumberInput.vue?vue&type=template&id=04b2543a&scoped=true&ts=true\"\nimport script from \"./NumberInput.vue?vue&type=script&lang=ts\"\nexport * from \"./NumberInput.vue?vue&type=script&lang=ts\"\n\nimport \"./NumberInput.vue?vue&type=style&index=0&id=04b2543a&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\dev\\\\purple__bee\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-04b2543a\"]])\n\nexport default __exports__","\r\nimport { useStore } from \"vuex\";\r\nimport { computed, ComputedRef, onBeforeMount, Ref, ref } from \"vue\";\r\nimport { Interest, User } from \"../../../domain/entities/entities\";\r\nimport { useRouter } from \"vue-router\";\r\nimport {\r\n dispatchErrorBox,\r\n isCirculoTemplate,\r\n maskCEP,\r\n maskCPF\r\n} from \"../components/mixins\";\r\nimport { wrapLoading } from \"../utils/wrap_loading\";\r\nimport GrayInput from \"../components/application/forms/GrayInput.vue\";\r\nimport { dispatchError } from \"../utils/error_handling\";\r\nimport http from \"../../repository/http\";\r\nimport { States } from \"../../../domain/entities/states\";\r\nimport CropperImageInput from \"../components/application/CropperImageInput.vue\";\r\nimport MaskInput from \"../components/application/inputs/MaskInput.vue\";\r\nimport CardSelect from \"../components/application/buttons/CardSelect.vue\";\r\nimport NumberInput from \"../components/application/inputs/NumberInput.vue\";\r\n\r\nexport default {\r\n methods: { isCirculoTemplate },\r\n components: {\r\n NumberInput,\r\n CardSelect,\r\n MaskInput,\r\n CropperImageInput,\r\n GrayInput\r\n },\r\n setup() {\r\n const store = useStore();\r\n const router = useRouter();\r\n const interests: Ref = ref([]);\r\n const user: Ref = ref(new User());\r\n const states: Ref = ref([]);\r\n const isInputImageOpened: ComputedRef = computed(\r\n () => store.getters[\"utils_module/isVisible\"]\r\n );\r\n\r\n const userEmail: Ref = ref(\"\");\r\n const userDocument: Ref = ref(\"\");\r\n onBeforeMount(async () => {\r\n try {\r\n await wrapLoading(async () => {\r\n user.value = await loadUser();\r\n userEmail.value = user.value.email;\r\n userDocument.value = user.value.document;\r\n user.value.interests = await listUserInterest();\r\n if (user.value.document) {\r\n user.value.document = maskCPF(user.value.document);\r\n }\r\n\r\n if (user.value.address.zipCode) {\r\n user.value.address.zipCode = maskCEP(user.value.address.zipCode);\r\n }\r\n interests.value = await loadInterests();\r\n states.value = await loadStates();\r\n removeInterestEquals();\r\n });\r\n } catch (e) {\r\n console.error(e);\r\n await dispatchError(e);\r\n }\r\n });\r\n\r\n /** Loads the user information such as usage statistics and courses completion/progress. */\r\n const loadUser = async (): Promise => {\r\n await store.dispatch(\"userProfile_module/loadUser\");\r\n return store.getters[\"userProfile_module/user\"];\r\n };\r\n\r\n const loadInterests = async (): Promise => {\r\n await store.dispatch(\"interest_module/loadInterests\");\r\n return store.getters[\"interest_module/interests\"];\r\n };\r\n\r\n const loadStates = async (): Promise => {\r\n const response = await http.get(\"api/decola/states\");\r\n return response.data.states;\r\n };\r\n\r\n /** Updates user personal data with the information provided through the form. */\r\n async function saveChanges(): Promise {\r\n try {\r\n await wrapLoading(async () => {\r\n if (user.value.document) {\r\n user.value.document = removeMask(user.value.document);\r\n }\r\n if (user.value.address.zipCode) {\r\n user.value.address.zipCode = removeMask(user.value.address.zipCode);\r\n }\r\n await store.dispatch(\"userProfile_module/editUser\", user.value);\r\n\r\n await store.dispatch(\r\n \"userProfile_module/editUserInterests\",\r\n user.value.interests.map((interest: Interest) => interest.id)\r\n );\r\n\r\n await router.push({ name: \"profile\", params: { option: \"courses\" } });\r\n });\r\n } catch (e) {\r\n console.error(e);\r\n await dispatchError(e);\r\n }\r\n }\r\n\r\n async function discardChanges(): Promise {\r\n await router.push({ name: \"profile\", params: { option: \"courses\" } });\r\n }\r\n\r\n async function listUserInterest(): Promise {\r\n await store.dispatch(\"interest_module/listUserInterest\");\r\n return store.getters[\"interest_module/interests\"];\r\n }\r\n\r\n async function requestCepAPI(cep: string) {\r\n if (cep.length < 9) {\r\n user.value.address.zipCode = cep;\r\n return;\r\n }\r\n try {\r\n const response = await http.get(`/api/decola/cep/${cep}`);\r\n user.value.address.federalUnit = response.data.federalUnit;\r\n user.value.address.city = response.data.city;\r\n user.value.address.district = response.data.district;\r\n user.value.address.street = response.data.street;\r\n user.value.address.stateID = response.data.stateID;\r\n const addressNumberInput = document.getElementById(\r\n \"addressNumber\"\r\n ) as HTMLInputElement;\r\n addressNumberInput.focus();\r\n } catch (e) {\r\n await dispatchErrorBox(e?.response?.data?.message || e?.message);\r\n user.value.address.zipCode = \"\";\r\n }\r\n }\r\n\r\n function addEmptyValue(input: HTMLInputElement) {\r\n user.value.address.zipCode = input.value;\r\n }\r\n\r\n const removeMask = (value: string): string => {\r\n return value.replace(/\\D+/g, \"\");\r\n };\r\n\r\n const addInterest = (interest: Interest, index: number): void => {\r\n if (user.value.interests?.length < 5) {\r\n user.value.interests.push(interest);\r\n interests.value.splice(index, 1);\r\n }\r\n };\r\n const removeInterest = (interest: Interest, index: number): void => {\r\n interests.value.push(interest);\r\n user.value.interests.splice(index, 1);\r\n };\r\n const removeInterestEquals = (): void => {\r\n user.value.interests.forEach((userInterest: Interest) => {\r\n interests.value.forEach((interest: Interest, index: number) => {\r\n if (interest.id == userInterest.id) {\r\n interests.value.splice(index, 1);\r\n }\r\n });\r\n });\r\n };\r\n\r\n /** Loads a fallback image when an image rendering error occurs. */\r\n const loadFallbackImage = (event: Event) => {\r\n const img = event.target as HTMLImageElement;\r\n img.src = require(\"../assets/static/onerror-user.png\");\r\n };\r\n\r\n const openInputImage = async (): Promise => {\r\n await store.dispatch(\"utils_module/setVisibility\", true);\r\n };\r\n\r\n const getCroppedImageUrl = (url: string) => {\r\n user.value.image = url;\r\n };\r\n\r\n return {\r\n user,\r\n interests,\r\n states,\r\n isInputImageOpened,\r\n userDocument,\r\n userEmail,\r\n saveChanges,\r\n discardChanges,\r\n requestCepAPI,\r\n addEmptyValue,\r\n addInterest,\r\n removeInterest,\r\n loadFallbackImage,\r\n openInputImage,\r\n getCroppedImageUrl\r\n };\r\n }\r\n};\r\n","import { render } from \"./EditProfile.vue?vue&type=template&id=6ae2c77e&scoped=true&ts=true\"\nimport script from \"./EditProfile.vue?vue&type=script&lang=ts\"\nexport * from \"./EditProfile.vue?vue&type=script&lang=ts\"\n\nimport \"./EditProfile.vue?vue&type=style&index=0&id=6ae2c77e&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\dev\\\\purple__bee\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6ae2c77e\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./GrayInput.vue?vue&type=style&index=0&id=9076d238&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./MaskInput.vue?vue&type=style&index=0&id=62801541&scoped=true&lang=css\""],"sourceRoot":""}