{"version":3,"sources":["webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue?608b","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue?b8fd","webpack:///./infrastructure/presentation/views/EditProfile.vue?bddb","webpack:///./infrastructure/presentation/views/EditProfile.vue?a2d8","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue?0f7b","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue?842d","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue?6cc3","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue?9d02","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue?f3c2","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue?c22b","webpack:///./infrastructure/presentation/components/application/buttons/CardSelect.vue","webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue?21ae","webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue?9b66","webpack:///./infrastructure/presentation/components/application/inputs/NumberInput.vue","webpack:///./infrastructure/presentation/views/EditProfile.vue?a75d","webpack:///./infrastructure/presentation/views/EditProfile.vue","webpack:///./infrastructure/presentation/components/application/forms/GrayInput.vue?fd5a","webpack:///./infrastructure/presentation/components/application/inputs/MaskInput.vue?8113"],"names":["_withScopeId","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","args","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","emit","handleMaskLifeCicle","baseInput","isEyeVisible","interval","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","async","undefined","methods","components","NumberInput","CardSelect","MaskInput","CropperImageInput","GrayInput","store","router","getters","loadUser","listUserInterest","loadInterests","loadStates","removeInterestEquals","console","error","dispatch","response","http","get","data","removeMask","map","push","params","cep","federalUnit","addressNumberInput","getElementById","focus","message","replace","splice","forEach","img","url"],"mappings":"kHAAA,W,kFCAA,W,kFCAA,W,gFCEA,MAAMA,EAAeC,IAAM,eAAa,mBAAmBA,EAAEA,IAAI,iBAAcA,GACzEC,EAAa,CACjBC,MAAO,OACP,YAAa,IAETC,EAAa,CAAED,MAAO,gBACtBE,EAAa,CAAEF,MAAO,wBACtBG,EAA2BN,EAAa,IAAmB,eAAoB,MAAO,CAAEG,MAAO,yBAA2B,CACjH,eAAoB,KAAM,CAAEA,MAAO,uBAAyB,oBAC5D,eAAoB,QAC/B,IACEI,EAAa,CAAEJ,MAAO,yBACtBK,EAAa,CAAEL,MAAO,sBACtBM,EAAa,CAAC,MAAO,OACrBC,EAA2B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KvG,GAC1BL,EAAUc,MAAMuG,OAAO/G,EAAO,KAG5BF,EAAiB,CAACC,EAAoBC,KAC1CN,EAAUc,MAAM8F,KAAKvG,GACrB3D,EAAKoE,MAAMd,UAAUqH,OAAO/G,EAAO,IAE/B4F,EAAuB,KAC3BxJ,EAAKoE,MAAMd,UAAUsH,QAASrH,IAC5BD,EAAUc,MAAMwG,QAAQ,CAACjH,EAAoBC,KACvCD,EAASjD,IAAM6C,EAAa7C,IAC9B4C,EAAUc,MAAMuG,OAAO/G,EAAO,QAOhC7C,EAAqB0F,IACzB,MAAMoE,EAAMpE,EAAMjE,OAClBqI,EAAIlK,IAAM,EAAQ,SAGdF,EAAiB+H,gBACfS,EAAMU,SAAS,8BAA8B,IAG/CvJ,EAAsB0K,IAC1B9K,EAAKoE,MAAMnE,MAAQ6K,GAGrB,MAAO,CACL9K,OACAsD,YACAT,SACA9C,qBACA+B,eACAE,YACAzB,cACAC,iBACA6B,gBACAE,gBACAsB,cACAH,iBACA3C,oBACAN,iBACAL,wB,UC5LN,MAAM,GAA2B,IAAgB,GAAQ,CAAC,CAAC,SAASjB,GAAQ,CAAC,YAAY,qBAE1E,iB,kCCTf,W,kCCAA","file":"js/chunk-124e257c.d5d85e36.js","sourcesContent":["export * from \"-!../../../../../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-v16/dist/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-v16/dist/index.js??ref--1-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--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-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--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-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:\\\\Users\\\\guilherme.brisida\\\\AppData\\\\Local\\\\Temp\\\\decolabuild\\\\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:\\\\Users\\\\guilherme.brisida\\\\AppData\\\\Local\\\\Temp\\\\decolabuild\\\\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:\\\\Users\\\\guilherme.brisida\\\\AppData\\\\Local\\\\Temp\\\\decolabuild\\\\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:\\\\Users\\\\guilherme.brisida\\\\AppData\\\\Local\\\\Temp\\\\decolabuild\\\\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:\\\\Users\\\\guilherme.brisida\\\\AppData\\\\Local\\\\Temp\\\\decolabuild\\\\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--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-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--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./MaskInput.vue?vue&type=style&index=0&id=62801541&scoped=true&lang=css\""],"sourceRoot":""}