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,EAAYlE,IAGhD,GAAGmE,EAAS,IAAI97D,EAAS87D,EAAQxE,EAClC,CAEA,IADGsE,GAA4BA,EAA2BzuE,GACrDqS,EAAI24D,EAASpwE,OAAQyX,IACzB+5D,EAAUpB,EAAS34D,GAChB83D,EAAoBC,EAAE8D,EAAiB9B,IAAY8B,EAAgB9B,IACrE8B,EAAgB9B,GAAS,KAE1B8B,EAAgB9B,GAAW,EAE5B,OAAOjC,EAAoBY,EAAEl4D,EAC9B,EAEI+7D,EAAqB7U,KAAK,qCAAuCA,KAAK,sCAAwC,GAClH6U,EAAmB/3D,QAAQ23D,EAAqBb,KAAK,KAAM,IAC3DiB,EAAmB3vE,KAAOuvE,EAAqBb,KAAK,KAAMiB,EAAmB3vE,KAAK0uE,KAAKiB,G,ICpFvF,IAAIC,EAAsB1E,EAAoBY,OAAErzE,EAAW,CAAC,MAAM,WAAa,OAAOyyE,EAAoB,KAAO,IACjH0E,EAAsB1E,EAAoBY,EAAE8D,E","sources":["webpack://abrafarma-web-project/./src/Layout/AppLayout.vue?c355","webpack://abrafarma-web-project/./src/Layout/DefaultLayout.vue","webpack://abrafarma-web-project/./src/Layout/DefaultLayout.vue?c302","webpack://abrafarma-web-project/./src/store/mutation-types.ts","webpack://abrafarma-web-project/./src/store/index.ts","webpack://abrafarma-web-project/./src/helpers/SpinnerHandler.ts","webpack://abrafarma-web-project/./src/components/Atoms/Spinner.vue?17d2","webpack://abrafarma-web-project/./src/components/Atoms/Spinner.vue","webpack://abrafarma-web-project/./src/components/icons/IcMenu.vue","webpack://abrafarma-web-project/./src/components/icons/IcMenu.vue?9d70","webpack://abrafarma-web-project/./src/store/event.store.ts","webpack://abrafarma-web-project/./src/helpers/OptionsFetch.ts","webpack://abrafarma-web-project/./src/helpers/abrafarmaApi.ts","webpack://abrafarma-web-project/./src/helpers/ValidateCPF.ts","webpack://abrafarma-web-project/./src/helpers/jwtDecode.ts","webpack://abrafarma-web-project/./src/middleware/auth.ts","webpack://abrafarma-web-project/./src/middleware/authAdmin.ts","webpack://abrafarma-web-project/./src/components/Atoms/BaseButton.vue?66db","webpack://abrafarma-web-project/./src/components/Atoms/BaseButton.vue?b495","webpack://abrafarma-web-project/./src/components/Atoms/BaseButton.vue","webpack://abrafarma-web-project/./src/components/Atoms/BaseInput.vue?8363","webpack://abrafarma-web-project/./src/components/Atoms/BaseInput.vue?0ad5","webpack://abrafarma-web-project/./src/components/Atoms/BaseInput.vue","webpack://abrafarma-web-project/./src/components/Organism/ConfirmModal.vue?fcde","webpack://abrafarma-web-project/./src/components/Organism/ConfirmModal.vue?1721","webpack://abrafarma-web-project/./src/components/Organism/ConfirmModal.vue","webpack://abrafarma-web-project/./src/components/Organism/Table/table.vue?99e1","webpack://abrafarma-web-project/./src/components/Organism/Table/menu.vue?c7d6","webpack://abrafarma-web-project/./src/components/icons/IcEdit.vue","webpack://abrafarma-web-project/./src/components/icons/IcEdit.vue?08fd","webpack://abrafarma-web-project/./src/components/icons/IcSearch.vue","webpack://abrafarma-web-project/./src/components/icons/IcSearch.vue?57ea","webpack://abrafarma-web-project/./src/components/icons/IcTrash.vue","webpack://abrafarma-web-project/./src/components/icons/IcTrash.vue?097e","webpack://abrafarma-web-project/./src/components/icons/IcVerticalDots.vue","webpack://abrafarma-web-project/./src/components/icons/IcVerticalDots.vue?d9f5","webpack://abrafarma-web-project/./src/components/Organism/Table/menu.vue?c027","webpack://abrafarma-web-project/./src/components/Organism/Table/menu.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowDownSort.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowDownSort.vue?655a","webpack://abrafarma-web-project/./src/components/icons/IcArrowUpSort.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowUpSort.vue?ab5a","webpack://abrafarma-web-project/./src/components/Organism/Table/table.vue?d187","webpack://abrafarma-web-project/./src/components/Organism/Table/table.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowLeft.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowLeft.vue?8a7b","webpack://abrafarma-web-project/./src/components/icons/IcDownload.vue","webpack://abrafarma-web-project/./src/components/icons/IcDownload.vue?2c78","webpack://abrafarma-web-project/./src/components/icons/IcUpload.vue","webpack://abrafarma-web-project/./src/components/icons/IcUpload.vue?b45a","webpack://abrafarma-web-project/./src/helpers/isUrlExists.ts","webpack://abrafarma-web-project/./src/helpers/formatCurrency.ts","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/store.ts","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/service.ts","webpack://abrafarma-web-project/./src/components/Atoms/BaseSelect.vue?15c1","webpack://abrafarma-web-project/./src/components/Atoms/BaseSelect.vue?dd27","webpack://abrafarma-web-project/./src/components/Atoms/BaseSelect.vue","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Register/Revenue/index.vue?6bf7","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Register/Revenue/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcPencil.vue","webpack://abrafarma-web-project/./src/components/icons/IcPencil.vue?7dbc","webpack://abrafarma-web-project/./src/components/icons/IcTrashNew.vue","webpack://abrafarma-web-project/./src/components/icons/IcTrashNew.vue?afa4","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Register/revenue-details/index.vue?756d","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Register/revenue-details/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcCurrent.vue","webpack://abrafarma-web-project/./src/components/icons/IcCurrent.vue?b407","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/Form/index.vue?a2ad","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Dashboard/FinancialChart.vue?3670","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Dashboard/FinancialChart.vue","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Dashboard/index.vue?ba46","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Dashboard/index.vue","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Register/index.vue?443f","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/Register/index.vue","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/index.vue?d1ea","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/AccountingYearEdit/index.vue","webpack://abrafarma-web-project/./src/helpers/debounce.ts","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/List/index.vue?8beb","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/index.vue?113b","webpack://abrafarma-web-project/./src/views/Admin/AccountingYear/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Atividade-premium/index.vue?f9e8","webpack://abrafarma-web-project/./src/views/Admin/Atividade-premium/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Checklist/index.vue?0869","webpack://abrafarma-web-project/./src/views/Admin/Checklist/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcDoubleUser.vue","webpack://abrafarma-web-project/./src/components/icons/IcDoubleUser.vue?ac83","webpack://abrafarma-web-project/./src/views/Admin/Classification/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Classification/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/Tabs/CompanyType.vue?1d42","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/Tabs/CompanyType.vue","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/Tabs/PositionType.vue?b8ff","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/Tabs/PositionType.vue","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/Tabs/SponsorshipType.vue?d1aa","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/Tabs/SponsorshipType.vue","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/index.vue?207a","webpack://abrafarma-web-project/./src/views/Admin/Classification/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Classification/List/index.vue?4de7","webpack://abrafarma-web-project/./src/views/Admin/Classification/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Classification/index.vue?e535","webpack://abrafarma-web-project/./src/views/Admin/Classification/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Company-events/index.vue?096b","webpack://abrafarma-web-project/./src/views/Admin/Company-events/index.vue","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/ContractDetails/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcReturn.vue","webpack://abrafarma-web-project/./src/components/icons/IcReturn.vue?a311","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/interface.ts","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/store.ts","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/service.ts","webpack://abrafarma-web-project/./src/components/icons/IcInfo.vue","webpack://abrafarma-web-project/./src/components/icons/IcInfo.vue?0989","webpack://abrafarma-web-project/./src/components/icons/IcCheck.vue","webpack://abrafarma-web-project/./src/components/icons/IcCheck.vue?e0d5","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/ContractDetails/index.vue?f414","webpack://abrafarma-web-project/./src/components/icons/IcFilePlus.vue","webpack://abrafarma-web-project/./src/components/icons/IcFilePlus.vue?85a1","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/Form/index.vue?caee","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/List/index.vue?4259","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/List/index.vue?4d7f","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/index.vue?4d86","webpack://abrafarma-web-project/./src/views/Admin/ContractBenefits/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Convidado/index.vue?26bf","webpack://abrafarma-web-project/./src/views/Admin/Convidado/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Costs/index.vue?a340","webpack://abrafarma-web-project/./src/views/Admin/Costs/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Coupon/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Coupon/store.ts","webpack://abrafarma-web-project/./src/components/icons/IcCopy.vue","webpack://abrafarma-web-project/./src/components/icons/IcCopy.vue?0392","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Details/index.vue?9891","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Details/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcX.vue","webpack://abrafarma-web-project/./src/components/icons/IcX.vue?e17d","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Discount/ModalAddDiscount.vue?9880","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Discount/ModalAddDiscount.vue","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Discount/index.vue?c49c","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Discount/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Form/ModalAddCoupon.vue?9fdc","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Form/ModalAddCoupon.vue","webpack://abrafarma-web-project/./src/components/icons/IcClock.vue","webpack://abrafarma-web-project/./src/components/icons/IcClock.vue?6e57","webpack://abrafarma-web-project/./src/components/icons/IcCoupon.vue","webpack://abrafarma-web-project/./src/components/icons/IcCoupon.vue?b265","webpack://abrafarma-web-project/./src/components/icons/IcDashboard.vue","webpack://abrafarma-web-project/./src/components/icons/IcDashboard.vue?20f1","webpack://abrafarma-web-project/./src/components/icons/IcFail.vue","webpack://abrafarma-web-project/./src/components/icons/IcFail.vue?ba78","webpack://abrafarma-web-project/./src/components/icons/IcPreRegister.vue","webpack://abrafarma-web-project/./src/components/icons/IcPreRegister.vue?ac99","webpack://abrafarma-web-project/./src/components/icons/IcUserThree.vue","webpack://abrafarma-web-project/./src/components/icons/IcUserThree.vue?0a75","webpack://abrafarma-web-project/./src/views/Admin/Coupon/List/index.vue?a0e6","webpack://abrafarma-web-project/./src/views/Admin/Coupon/List/index.vue","webpack://abrafarma-web-project/./src/helpers/ValidateEmail.ts","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Sales/ModalAddNewRegistration.vue?4ab4","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Sales/ModalAddNewRegistration.vue","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Sales/ModalCourtesy.vue?0d3f","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Sales/ModalCourtesy.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowCounter.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowCounter.vue?301e","webpack://abrafarma-web-project/./src/components/icons/IcEmail.vue","webpack://abrafarma-web-project/./src/components/icons/IcEmail.vue?29e2","webpack://abrafarma-web-project/./src/components/icons/IcEye.vue","webpack://abrafarma-web-project/./src/components/icons/IcEye.vue?dbbc","webpack://abrafarma-web-project/./src/components/icons/IcEyeSlash.vue","webpack://abrafarma-web-project/./src/components/icons/IcEyeSlash.vue?5bed","webpack://abrafarma-web-project/./src/components/icons/IcPlusUser.vue","webpack://abrafarma-web-project/./src/components/icons/IcPlusUser.vue?e1ad","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Sales/index.vue?8e56","webpack://abrafarma-web-project/./src/views/Admin/Coupon/Sales/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Coupon/index.vue?5571","webpack://abrafarma-web-project/./src/views/Admin/Coupon/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Credenciais/index.vue?febe","webpack://abrafarma-web-project/./src/views/Admin/Credenciais/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/access/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/access/index.vue?4d26","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/pre-event/index.vue?e36f","webpack://abrafarma-web-project/./src/components/Atoms/BaseMultipleSelect.vue?a4b5","webpack://abrafarma-web-project/./src/components/Atoms/BaseMultipleSelect.vue?d5d7","webpack://abrafarma-web-project/./src/components/Atoms/BaseMultipleSelect.vue","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/pre-event/chart.component.ts","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/pre-event/index.vue?d7d4","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/pre-event/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/search-satisfaction/BarChart.vue?90eb","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/search-satisfaction/BarChart.vue","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/search-satisfaction/index.vue?d58a","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/search-satisfaction/index.vue","webpack://abrafarma-web-project/./src/store/sessionStorage.ts","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/index.vue?eeb6","webpack://abrafarma-web-project/./src/views/Admin/Dashboard/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Email-marketing/index.vue?8ae2","webpack://abrafarma-web-project/./src/views/Admin/Email-marketing/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event-company-action/index.vue?6795","webpack://abrafarma-web-project/./src/views/Admin/Event-company-action/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcEvent.vue","webpack://abrafarma-web-project/./src/components/icons/IcEvent.vue?ad0b","webpack://abrafarma-web-project/./src/components/icons/IcCalendarCheck.vue","webpack://abrafarma-web-project/./src/components/icons/IcCalendarCheck.vue?b270","webpack://abrafarma-web-project/./src/components/icons/IcCalendarClock.vue","webpack://abrafarma-web-project/./src/components/icons/IcCalendarClock.vue?f01e","webpack://abrafarma-web-project/./src/components/icons/IcCalendarRemove.vue","webpack://abrafarma-web-project/./src/components/icons/IcCalendarRemove.vue?655a","webpack://abrafarma-web-project/./src/components/icons/IcList.vue","webpack://abrafarma-web-project/./src/components/icons/IcList.vue?d4bf","webpack://abrafarma-web-project/./src/components/icons/IcReceiptX.vue","webpack://abrafarma-web-project/./src/components/icons/IcReceiptX.vue?ebd0","webpack://abrafarma-web-project/./src/views/Admin/Event/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Event/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Event/Import-Access/index.vue?e12d","webpack://abrafarma-web-project/./src/views/Admin/Event/Import-Access/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/List/index.vue?87b5","webpack://abrafarma-web-project/./src/views/Admin/Event/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/companys/store.ts","webpack://abrafarma-web-project/./src/views/Admin/companys/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/Form-event/index.vue?1bdc","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/Form-event/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/Organizers/index.vue?4d61","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/Organizers/index.vue?1674","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/Organizers/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/badge/index.vue?852c","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/badge/index.vue","webpack://abrafarma-web-project/./src/components/icons/icPlusMinus.vue","webpack://abrafarma-web-project/./src/components/icons/icPlusMinus.vue?8b51","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/montadora/index.vue?8363","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/montadora/index.vue","webpack://abrafarma-web-project/./src/components/Atoms/BaseTextArea.vue?db50","webpack://abrafarma-web-project/./src/components/Atoms/BaseTextArea.vue?8a00","webpack://abrafarma-web-project/./src/components/Atoms/BaseTextArea.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/termo/index.vue?3033","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/termo/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/index.vue?634c","webpack://abrafarma-web-project/./src/views/Admin/Event/Tabs/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/import-intranet/index.vue?2633","webpack://abrafarma-web-project/./src/views/Admin/Event/import-intranet/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Event/index.vue?8e65","webpack://abrafarma-web-project/./src/views/Admin/Event/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Files/index.vue?662c","webpack://abrafarma-web-project/./src/views/Admin/Files/index.vue","webpack://abrafarma-web-project/./src/views/Admin/FindRetailer/index.vue?75f1","webpack://abrafarma-web-project/./src/views/Admin/FindRetailer/index.vue","webpack://abrafarma-web-project/./src/views/Admin/FindRetailerSession/index.vue?53b5","webpack://abrafarma-web-project/./src/views/Admin/FindRetailerSession/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Hospedagem/index.vue?127b","webpack://abrafarma-web-project/./src/views/Admin/Hospedagem/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Hotel/index.vue?4e1a","webpack://abrafarma-web-project/./src/views/Admin/Hotel/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Login/authStore.ts","webpack://abrafarma-web-project/./src/components/icons/IcLoading.vue","webpack://abrafarma-web-project/./src/components/icons/IcLoading.vue?c7c6","webpack://abrafarma-web-project/./src/views/Admin/Login/forgotPassword.vue?a7c9","webpack://abrafarma-web-project/./src/views/Admin/Login/forgotPassword.vue","webpack://abrafarma-web-project/./src/views/Admin/Login/signIn.vue?7c3e","webpack://abrafarma-web-project/./src/views/Admin/Login/signIn.vue","webpack://abrafarma-web-project/./src/views/Admin/Login/signInProvider.vue?42dd","webpack://abrafarma-web-project/./src/views/Admin/Login/signInProvider.vue","webpack://abrafarma-web-project/./src/views/Admin/Login/index.vue?9e4e","webpack://abrafarma-web-project/./src/views/Admin/Login/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Mesas/index.vue?6641","webpack://abrafarma-web-project/./src/views/Admin/Mesas/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcConfirm.vue","webpack://abrafarma-web-project/./src/components/icons/IcConfirm.vue?a0b6","webpack://abrafarma-web-project/./src/components/icons/IcMessage.vue","webpack://abrafarma-web-project/./src/components/icons/IcMessage.vue?0cf7","webpack://abrafarma-web-project/./src/components/icons/IcStar.vue","webpack://abrafarma-web-project/./src/components/icons/IcStar.vue?f7e1","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/import-participants/import.ts","webpack://abrafarma-web-project/./src/views/Admin/Participant/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Participant/service.ts","webpack://abrafarma-web-project/./src/components/icons/IcArrowUturn.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowUturn.vue?6268","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/Form/index.vue?2d99","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/common/ModalConfirmationError.vue?8929","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/common/ModalConfirmationError.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowPageLeft.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowPageLeft.vue?6023","webpack://abrafarma-web-project/./src/components/icons/IcArrowPageRight.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowPageRight.vue?e9b4","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/common/index.vue?31de","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/common/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/export-participants/index.vue?c7cc","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/export-participants/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/import-participants/index.vue?3401","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/import-participants/index.vue?5685","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/import-participants/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/speaker/index.vue?f746","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/speaker/index.vue?1952","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/speaker/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/staff/index.vue?5655","webpack://abrafarma-web-project/./src/views/Admin/Participant/components/staff/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Participant/index.vue?890d","webpack://abrafarma-web-project/./src/views/Admin/Passagens-aereas/index.vue?5860","webpack://abrafarma-web-project/./src/views/Admin/Passagens-aereas/index.vue","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/service.ts","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/store.ts","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/Form/index.vue?9839","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/List/ModalAddCoupon.vue?a472","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/List/ModalAddCoupon.vue","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/List/ModalManualPayment.vue?d35a","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/List/ModalManualPayment.vue","webpack://abrafarma-web-project/./src/components/icons/IcGift.vue","webpack://abrafarma-web-project/./src/components/icons/IcGift.vue?4755","webpack://abrafarma-web-project/./src/components/icons/IcHandUp.vue","webpack://abrafarma-web-project/./src/components/icons/IcHandUp.vue?cef9","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/List/index.vue?43a6","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/index.vue?c8c8","webpack://abrafarma-web-project/./src/views/Admin/PreRegistration/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Prestadores/index.vue?aa52","webpack://abrafarma-web-project/./src/views/Admin/Prestadores/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/ModalAddSection.vue?94da","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/ModalAddSection.vue","webpack://abrafarma-web-project/./src/views/Participant/components/BaseSelect.vue?93da","webpack://abrafarma-web-project/./src/views/Participant/components/BaseSelect.vue","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/ModalAddQuestion.vue?f77e","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/ModalAddQuestion.vue","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/Questions.vue?4ffb","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/Questions.vue","webpack://abrafarma-web-project/./src/components/icons/IcCheckNotPublished.vue","webpack://abrafarma-web-project/./src/components/icons/IcCheckNotPublished.vue?9625","webpack://abrafarma-web-project/./src/components/icons/IcCheckPublished.vue","webpack://abrafarma-web-project/./src/components/icons/IcCheckPublished.vue?3d17","webpack://abrafarma-web-project/./src/components/icons/IcPlus.vue","webpack://abrafarma-web-project/./src/components/icons/IcPlus.vue?49f9","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/ModalViewAnswer.vue?8a99","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/ModalViewAnswer.vue","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/Answer.vue?cde1","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/Tabs/Answer.vue","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/index.vue?e4e5","webpack://abrafarma-web-project/./src/views/Admin/Questionnaire/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/store-old.ts","webpack://abrafarma-web-project/./src/helpers/mask.ts","webpack://abrafarma-web-project/./src/views/Admin/Schedule/PopUpSendDigitalTicket.vue?cc59","webpack://abrafarma-web-project/./src/views/Admin/Schedule/PopUpSendDigitalTicket.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/Activity.vue?8bda","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/Activity.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/Filter.vue?f127","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/Filter.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/Form.vue?a506","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/Form.vue","webpack://abrafarma-web-project/./src/components/Organism/Table.vue","webpack://abrafarma-web-project/./src/components/Organism/Table.vue?b45d","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/index.vue?6ed4","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/ListRestricted/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/Speaker/index.vue?3602","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/Speaker/index.vue","webpack://abrafarma-web-project/./src/components/Atoms/BaseAutocomplete.vue?8a47","webpack://abrafarma-web-project/./src/components/Atoms/BaseAutocomplete.vue","webpack://abrafarma-web-project/./src/components/Organism/BaseModal.vue?326b","webpack://abrafarma-web-project/./src/components/Organism/BaseModal.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/SpeakerModal.vue?d025","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/SpeakerModal.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/importTable.ts","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/index.vue?5e01","webpack://abrafarma-web-project/./src/views/Admin/Schedule/UpdateActivity/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Schedule/index.vue?0297","webpack://abrafarma-web-project/./src/views/Admin/Schedule/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Settings/index.vue?a662","webpack://abrafarma-web-project/./src/views/Admin/Settings/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Speakers/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Speakers/Form/index.vue?ee8d","webpack://abrafarma-web-project/./src/views/Admin/Speakers/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Speakers/List/index.vue?d8ee","webpack://abrafarma-web-project/./src/views/Admin/Speakers/service.ts","webpack://abrafarma-web-project/./src/views/Admin/Speakers/List/index.vue?6646","webpack://abrafarma-web-project/./src/views/Admin/Speakers/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Speakers/index.vue?0fbe","webpack://abrafarma-web-project/./src/views/Admin/Speakers/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Taxas/index.vue?5bde","webpack://abrafarma-web-project/./src/views/Admin/Taxas/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcUser.vue","webpack://abrafarma-web-project/./src/components/icons/IcUser.vue?fff2","webpack://abrafarma-web-project/./src/views/Admin/Users/store.ts","webpack://abrafarma-web-project/./src/views/Admin/Users/Form/index.vue?c105","webpack://abrafarma-web-project/./src/views/Admin/Users/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Users/List/index.vue?664c","webpack://abrafarma-web-project/./src/views/Admin/Users/List/index.vue?24fe","webpack://abrafarma-web-project/./src/views/Admin/Users/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/Users/index.vue?c1c3","webpack://abrafarma-web-project/./src/views/Admin/Users/index.vue","webpack://abrafarma-web-project/./src/constants/company-type.ts","webpack://abrafarma-web-project/./src/constants/states.ts","webpack://abrafarma-web-project/./src/views/Admin/companys/Form/index.vue?0b8f","webpack://abrafarma-web-project/./src/views/Admin/companys/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/Form/index.vue?efb5","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/Form/index.vue","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/exist-gestor/index.vue?8e5d","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/exist-gestor/index.vue?dc86","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/exist-gestor/index.vue","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/form-executives/index.vue?0150","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/form-executives/index.vue","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/index.vue?d95f","webpack://abrafarma-web-project/./src/views/Admin/companys/CompanyEdit/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcCompany.vue","webpack://abrafarma-web-project/./src/components/icons/IcCompany.vue?7e4d","webpack://abrafarma-web-project/./src/views/Admin/companys/List/index.vue?130e","webpack://abrafarma-web-project/./src/views/Admin/companys/List/index.vue?914d","webpack://abrafarma-web-project/./src/views/Admin/companys/List/index.vue","webpack://abrafarma-web-project/./src/views/Admin/companys/index.vue?fc00","webpack://abrafarma-web-project/./src/views/Admin/companys/index.vue","webpack://abrafarma-web-project/./src/views/Admin/findRetailerBussinesClub/service.ts","webpack://abrafarma-web-project/./src/views/Admin/findRetailerBussinesClub/store.ts","webpack://abrafarma-web-project/./src/views/Admin/findRetailerBussinesClub/NewVersion/ModalAddParticipantInActivity.vue?a637","webpack://abrafarma-web-project/./src/views/Admin/findRetailerBussinesClub/NewVersion/ModalAddParticipantInActivity.vue","webpack://abrafarma-web-project/./src/views/Admin/findRetailerBussinesClub/NewVersion/index.vue?fbe1","webpack://abrafarma-web-project/./src/views/Admin/findRetailerBussinesClub/NewVersion/index.vue","webpack://abrafarma-web-project/./src/views/Admin/findRetailerNotBussinesClub/index.vue?6921","webpack://abrafarma-web-project/./src/views/Admin/findRetailerNotBussinesClub/index.vue","webpack://abrafarma-web-project/./src/views/Certificate/components/radioInput.vue?7ce9","webpack://abrafarma-web-project/./src/views/Certificate/components/radioInput.vue?7cf7","webpack://abrafarma-web-project/./src/views/Certificate/components/radioInput.vue","webpack://abrafarma-web-project/./src/helpers/StorageHandler.ts","webpack://abrafarma-web-project/./src/views/Certificate/index.vue?d819","webpack://abrafarma-web-project/./src/views/Certificate/index.vue","webpack://abrafarma-web-project/./src/components/Organism/BoxEvent.vue?9458","webpack://abrafarma-web-project/./src/components/Organism/BoxEvent.vue","webpack://abrafarma-web-project/./src/views/Credential/index.vue?325f","webpack://abrafarma-web-project/./src/views/Credential/index.vue","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityBox.vue","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityBox.vue?7bdf","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityCard.vue?a18d","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityCard.vue","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityContainerCards.vue?3488","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityContainerCards.vue","webpack://abrafarma-web-project/./src/components/icons/IcPlace.vue","webpack://abrafarma-web-project/./src/components/icons/IcPlace.vue?7530","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityHours.vue?a138","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityHours.vue","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityLogo.vue?4209","webpack://abrafarma-web-project/./src/components/Organism/ActivitiesLines/ActivityLogo.vue","webpack://abrafarma-web-project/./src/views/FindRetailer/index.vue?8b75","webpack://abrafarma-web-project/./src/views/FindRetailer/index.vue","webpack://abrafarma-web-project/./src/views/Form/Guest.vue?41f9","webpack://abrafarma-web-project/./src/views/Form/Guest.vue","webpack://abrafarma-web-project/./src/views/Form/ModalLGPD.vue?c636","webpack://abrafarma-web-project/./src/views/Form/ModalLGPD.vue","webpack://abrafarma-web-project/./src/views/Form/ModalOnlineTerm.vue?5573","webpack://abrafarma-web-project/./src/views/Form/ModalOnlineTerm.vue","webpack://abrafarma-web-project/./src/components/icons/IcWhatsApp.vue","webpack://abrafarma-web-project/./src/components/icons/IcWhatsApp.vue?8aff","webpack://abrafarma-web-project/./src/views/Form/Rules/FutureTrendsRules.vue?e307","webpack://abrafarma-web-project/./src/views/Form/Rules/FutureTrendsRules.vue","webpack://abrafarma-web-project/./src/views/Form/service.ts","webpack://abrafarma-web-project/./src/views/Form/store.ts","webpack://abrafarma-web-project/./src/views/Form/IndividualBatchForm/index.vue?428f","webpack://abrafarma-web-project/./src/views/Form/IndividualBatchForm/index.vue","webpack://abrafarma-web-project/./src/views/Form/Participant.vue?38fe","webpack://abrafarma-web-project/./src/views/Form/Participant.vue","webpack://abrafarma-web-project/./src/views/Form/ModalAddNewCompany.vue?348d","webpack://abrafarma-web-project/./src/views/Form/ModalAddNewCompany.vue","webpack://abrafarma-web-project/./src/views/Form/ModalCompanyTip.vue?fd99","webpack://abrafarma-web-project/./src/views/Form/ModalCompanyTip.vue","webpack://abrafarma-web-project/./src/components/Atoms/ToggleSwitch.vue?4533","webpack://abrafarma-web-project/./src/components/Atoms/ToggleSwitch.vue?7bc6","webpack://abrafarma-web-project/./src/components/Atoms/ToggleSwitch.vue","webpack://abrafarma-web-project/./src/components/icons/IcQuestion.vue","webpack://abrafarma-web-project/./src/components/icons/IcQuestion.vue?652b","webpack://abrafarma-web-project/./src/views/Form/index.vue?f8c9","webpack://abrafarma-web-project/./src/views/Form/index.vue","webpack://abrafarma-web-project/./src/components/store.ts","webpack://abrafarma-web-project/./src/components/CountA.vue?0f5b","webpack://abrafarma-web-project/./src/components/CountA.vue","webpack://abrafarma-web-project/./src/components/CountB.vue?a6a8","webpack://abrafarma-web-project/./src/components/CountB.vue","webpack://abrafarma-web-project/./src/views/Home/index.vue?b0e9","webpack://abrafarma-web-project/./src/views/Home/index.vue","webpack://abrafarma-web-project/./src/composable/changeEvent.ts","webpack://abrafarma-web-project/./src/composable/getEventData.ts","webpack://abrafarma-web-project/./src/views/Login/index.vue?92da","webpack://abrafarma-web-project/./src/views/Login/index.vue","webpack://abrafarma-web-project/./src/components/Atoms/FormInputGroup.vue","webpack://abrafarma-web-project/./src/components/Atoms/FormInputGroup.vue?bd30","webpack://abrafarma-web-project/./src/components/Atoms/ImageInput.vue?424c","webpack://abrafarma-web-project/./src/components/Atoms/ImageInput.vue","webpack://abrafarma-web-project/./src/views/Participant/components/FirstInputGroup.vue?5953","webpack://abrafarma-web-project/./src/views/Participant/components/FirstInputGroup.vue","webpack://abrafarma-web-project/./src/views/Participant/components/SecondInputGroup.vue?ca89","webpack://abrafarma-web-project/./src/views/Participant/components/SecondInputGroup.vue","webpack://abrafarma-web-project/./src/views/Participant/components/ThirdInputGroup.vue?5c64","webpack://abrafarma-web-project/./src/views/Participant/components/ThirdInputGroup.vue","webpack://abrafarma-web-project/./src/helpers/FormatDate.ts","webpack://abrafarma-web-project/./src/views/Participant/mapper/participantMapper.ts","webpack://abrafarma-web-project/./src/views/Participant/mapper/participantMapperUpdate.ts","webpack://abrafarma-web-project/./src/components/Atoms/FormContainer.vue","webpack://abrafarma-web-project/./src/components/Atoms/FormContainer.vue?15ec","webpack://abrafarma-web-project/./src/components/Organism/Box.vue","webpack://abrafarma-web-project/./src/components/Organism/Box.vue?8a7e","webpack://abrafarma-web-project/./src/views/Participant/index.vue?f223","webpack://abrafarma-web-project/./src/views/Participant/index.vue","webpack://abrafarma-web-project/./src/views/Provider/index.vue?8568","webpack://abrafarma-web-project/./src/views/Provider/index.vue","webpack://abrafarma-web-project/./src/views/Schedule/constants/index.ts","webpack://abrafarma-web-project/./src/views/Schedule/mapper/mapperScheduleActivities.ts","webpack://abrafarma-web-project/./src/views/Schedule/store.ts","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleContainerDays.vue?2863","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleContainerDays.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleLines/index.vue?6e6b","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleLines/index.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/store.ts","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/components/CheckboxTerm.vue?cf14","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/components/CheckboxTerm.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/components/GroupButtonConfirm.vue?e078","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/components/GroupButtonConfirm.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/components/GroupButtonSendInvented.vue?d20d","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/components/GroupButtonSendInvented.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/index.vue?99be","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleSubscription/index.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleTabs.vue?a6c6","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleTabs.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleTitle.vue","webpack://abrafarma-web-project/./src/views/Schedule/components/ScheduleTitle.vue?2917","webpack://abrafarma-web-project/./src/views/Schedule/index.vue?17d6","webpack://abrafarma-web-project/./src/views/Schedule/index.vue","webpack://abrafarma-web-project/./src/views/Voucher/service.ts","webpack://abrafarma-web-project/./src/views/Voucher/index.vue?de44","webpack://abrafarma-web-project/./src/views/Voucher/index.vue","webpack://abrafarma-web-project/./src/router/index.ts","webpack://abrafarma-web-project/./src/helpers/HttpAdapterCostumer.ts","webpack://abrafarma-web-project/./src/helpers/HttpAdapter.ts","webpack://abrafarma-web-project/./src/components/Organism/Header.vue?ef59","webpack://abrafarma-web-project/./src/components/Organism/Header.vue","webpack://abrafarma-web-project/./src/components/icons/IcCertificate.vue","webpack://abrafarma-web-project/./src/components/icons/IcCertificate.vue?3a6d","webpack://abrafarma-web-project/./src/components/icons/IcIdentification.vue","webpack://abrafarma-web-project/./src/components/icons/IcIdentification.vue?03e9","webpack://abrafarma-web-project/./src/components/icons/IcLogout.vue","webpack://abrafarma-web-project/./src/components/icons/IcLogout.vue?94bf","webpack://abrafarma-web-project/./src/components/icons/IcSchedule.vue","webpack://abrafarma-web-project/./src/components/icons/IcSchedule.vue?ba43","webpack://abrafarma-web-project/./src/components/icons/IcTicket.vue","webpack://abrafarma-web-project/./src/components/icons/IcTicket.vue?3643","webpack://abrafarma-web-project/./src/components/icons/IcArrowDown.vue","webpack://abrafarma-web-project/./src/components/icons/IcArrowDown.vue?c84d","webpack://abrafarma-web-project/./src/components/icons/IcData.vue","webpack://abrafarma-web-project/./src/components/icons/IcData.vue?2020","webpack://abrafarma-web-project/./src/components/Organism/ChangeEventOptions.vue?e7e1","webpack://abrafarma-web-project/./src/components/Organism/ChangeEventOptions.vue","webpack://abrafarma-web-project/./src/views/Voucher/store.ts","webpack://abrafarma-web-project/./src/components/Organism/SideBar.vue?a855","webpack://abrafarma-web-project/./src/components/Organism/SideBar.vue","webpack://abrafarma-web-project/./src/Layout/LayoutFull.vue?72cc","webpack://abrafarma-web-project/./src/Layout/LayoutFull.vue","webpack://abrafarma-web-project/./src/Layout/LayoutAdmin/store.ts","webpack://abrafarma-web-project/./src/components/Organism/store-menu.ts","webpack://abrafarma-web-project/./src/components/Organism/HeaderAdmin.vue?607e","webpack://abrafarma-web-project/./src/components/Organism/HeaderAdmin.vue","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/store.ts","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/FilterModal.vue?bb90","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/FilterModal.vue","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/TableModal.vue?ce74","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/TableModal.vue","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/index.vue?9208","webpack://abrafarma-web-project/./src/components/Organism/ModalChangeEvent/index.vue","webpack://abrafarma-web-project/./src/components/icons/IcAcommodation.vue","webpack://abrafarma-web-project/./src/components/icons/IcAcommodation.vue?7910","webpack://abrafarma-web-project/./src/components/icons/IcAirPlane.vue","webpack://abrafarma-web-project/./src/components/icons/IcAirPlane.vue?2b6f","webpack://abrafarma-web-project/./src/components/icons/IcChecklist.vue","webpack://abrafarma-web-project/./src/components/icons/IcChecklist.vue?fd85","webpack://abrafarma-web-project/./src/components/icons/IcClassification.vue","webpack://abrafarma-web-project/./src/components/icons/IcClassification.vue?ac5e","webpack://abrafarma-web-project/./src/components/icons/IcConfiguration.vue","webpack://abrafarma-web-project/./src/components/icons/IcConfiguration.vue?fc45","webpack://abrafarma-web-project/./src/components/icons/IcCost.vue","webpack://abrafarma-web-project/./src/components/icons/IcCost.vue?9c23","webpack://abrafarma-web-project/./src/components/icons/IcCredencial.vue","webpack://abrafarma-web-project/./src/components/icons/IcCredencial.vue?14b2","webpack://abrafarma-web-project/./src/components/icons/IcFile.vue","webpack://abrafarma-web-project/./src/components/icons/IcFile.vue?6b1b","webpack://abrafarma-web-project/./src/components/icons/IcFindRetailer.vue","webpack://abrafarma-web-project/./src/components/icons/IcFindRetailer.vue?6d61","webpack://abrafarma-web-project/./src/components/icons/IcHotel.vue","webpack://abrafarma-web-project/./src/components/icons/IcHotel.vue?889b","webpack://abrafarma-web-project/./src/components/icons/IcOfficialService.vue","webpack://abrafarma-web-project/./src/components/icons/IcOfficialService.vue?8135","webpack://abrafarma-web-project/./src/components/icons/IcParticipant.vue","webpack://abrafarma-web-project/./src/components/icons/IcParticipant.vue?0830","webpack://abrafarma-web-project/./src/components/icons/IcPhone.vue","webpack://abrafarma-web-project/./src/components/icons/IcPhone.vue?4b71","webpack://abrafarma-web-project/./src/components/icons/IcProviders.vue","webpack://abrafarma-web-project/./src/components/icons/IcProviders.vue?6ec8","webpack://abrafarma-web-project/./src/components/icons/IcQuestions.vue","webpack://abrafarma-web-project/./src/components/icons/IcQuestions.vue?d6eb","webpack://abrafarma-web-project/./src/components/icons/IcStarBorder.vue","webpack://abrafarma-web-project/./src/components/icons/IcStarBorder.vue?aab7","webpack://abrafarma-web-project/./src/components/icons/IcTaxas.vue","webpack://abrafarma-web-project/./src/components/icons/IcTaxas.vue?b058","webpack://abrafarma-web-project/./src/constants/menu-items.ts","webpack://abrafarma-web-project/./src/components/icons/IcSettings.vue","webpack://abrafarma-web-project/./src/components/icons/IcSettings.vue?6300","webpack://abrafarma-web-project/./src/components/Organism/SideBarAdmin.vue?d6ec","webpack://abrafarma-web-project/./src/components/Organism/SideBarAdmin.vue","webpack://abrafarma-web-project/./src/Layout/LayoutOld.vue?9f4f","webpack://abrafarma-web-project/./src/Layout/LayoutOld.vue","webpack://abrafarma-web-project/./src/Layout/AppLayout.vue?5f95","webpack://abrafarma-web-project/./src/Layout/AppLayout.vue","webpack://abrafarma-web-project/./src/App.vue?cb76","webpack://abrafarma-web-project/./src/App.vue","webpack://abrafarma-web-project/./src/Layout/LayoutAdmin/index.vue?65c0","webpack://abrafarma-web-project/./src/Layout/LayoutAdmin/index.vue","webpack://abrafarma-web-project/./src/main.ts","webpack://abrafarma-web-project/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://abrafarma-web-project/webpack/bootstrap","webpack://abrafarma-web-project/webpack/runtime/chunk loaded","webpack://abrafarma-web-project/webpack/runtime/compat get default export","webpack://abrafarma-web-project/webpack/runtime/create fake namespace object","webpack://abrafarma-web-project/webpack/runtime/define property getters","webpack://abrafarma-web-project/webpack/runtime/ensure chunk","webpack://abrafarma-web-project/webpack/runtime/get javascript chunk filename","webpack://abrafarma-web-project/webpack/runtime/get mini-css chunk filename","webpack://abrafarma-web-project/webpack/runtime/global","webpack://abrafarma-web-project/webpack/runtime/hasOwnProperty shorthand","webpack://abrafarma-web-project/webpack/runtime/load script","webpack://abrafarma-web-project/webpack/runtime/make namespace object","webpack://abrafarma-web-project/webpack/runtime/node module decorator","webpack://abrafarma-web-project/webpack/runtime/publicPath","webpack://abrafarma-web-project/webpack/runtime/jsonp chunk loading","webpack://abrafarma-web-project/webpack/startup"],"sourcesContent":["import { renderSlot as _renderSlot, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock(_resolveDynamicComponent($options.layout), null, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }))\n}","\n\n\n","import { render } from \"./DefaultLayout.vue?vue&type=template&id=14cf31f2\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","const PARTICIPANT_MUTATION = 'PARTICIPANT_MUTATION';\nconst SET_STATE_PARTICIPANT = 'SET_STATE_PARTICIPANT';\nconst TOGGLE_MUTATION = 'TOGGLE_MUTATION';\nconst SET_ASSETS = 'SET_ASSETS';\nconst SET_SPINNER = 'SET_SPINNER';\nconst SET_EVENT_INFO = 'SET_EVENT_INFO';\nconst SET_EVENT_STATE = 'SET_EVENT_STATE';\nconst SET_USER = 'SET_USER';\n\nexport { PARTICIPANT_MUTATION, TOGGLE_MUTATION, SET_STATE_PARTICIPANT, SET_ASSETS, SET_SPINNER, SET_EVENT_INFO, SET_EVENT_STATE, SET_USER };\n","import { createStore } from 'vuex';\n\nimport * as packageJson from '../../package.json';\nimport { PARTICIPANT_MUTATION, SET_EVENT_STATE, SET_SPINNER, SET_STATE_PARTICIPANT, SET_USER, TOGGLE_MUTATION } from './mutation-types';\nimport { IParticipantState } from '@/views/Participant/dto/IParticipantState';\n\ninterface EventStore {\n\tuserId: string;\n\teventId: string;\n\teventTerm: string;\n\tbanner: string;\n\tfooter: string;\n}\n\nconst eventStorage = getEventConfigSessionStorage();\n\nconst store = createStore({\n\tstate() {\n\t\treturn {\n\t\t\tspinner: true,\n\t\t\tversion: `v${packageJson.version}`,\n\t\t\ttoogle: false,\n\t\t\tevent: {\n\t\t\t\teventId: eventStorage?.eventId,\n\t\t\t\tuserId: eventStorage?.userId,\n\t\t\t\tbanner: eventStorage?.banner,\n\t\t\t\tfooter: eventStorage?.footer,\n\t\t\t\teventTerm: eventStorage?.eventTerm,\n\t\t\t},\n\t\t\tuser: {\n\t\t\t\tname: '',\n\t\t\t},\n\t\t\t// remover isso depois e colocar numa store ou mixin de participante\n\t\t\tparticipant: {\n\t\t\t\tgene: '',\n\t\t\t\tcpf: '',\n\t\t\t\tname: '',\n\t\t\t\tcredential: '',\n\t\t\t\tbirthday: '',\n\t\t\t\temailBusinesses: '',\n\t\t\t\temailPersonal: '',\n\t\t\t\timage: 'not-found',\n\t\t\t\tfile: undefined,\n\t\t\t\ttypePosition: '',\n\t\t\t\tdescriptionPosition: '',\n\t\t\t\tregister: '',\n\t\t\t\tnameCompany: '',\n\t\t\t\tphone: '',\n\t\t\t\tresidencePhone: '',\n\t\t\t\tenterprisePhone: '',\n\t\t\t\tcompany: '',\n\t\t\t\tguestCompany: '',\n\t\t\t\taddress: '',\n\t\t\t} as IParticipantState,\n\t\t};\n\t},\n\tmutations: {\n\t\t[PARTICIPANT_MUTATION](state: any, payload: any): void {\n\t\t\tstate.participant[payload.property] = payload.value;\n\t\t},\n\t\t[TOGGLE_MUTATION](state: any, payload = 'open'): void {\n\t\t\tstate.toogle = payload === 'open';\n\t\t},\n\t\t[SET_STATE_PARTICIPANT](state: any, payload: IParticipantState): void {\n\t\t\tstate.participant = payload;\n\t\t},\n\t\t[SET_SPINNER](state: any, payload: boolean): void {\n\t\t\tstate.spinner = payload;\n\t\t},\n\t\t[SET_EVENT_STATE](state: any, payload: EventStore) {\n\t\t\tstate.event.banner = payload.banner;\n\t\t\tstate.footer = payload.footer;\n\t\t\tstate.event.Term = payload.eventTerm;\n\t\t\tstate.event.eventId = payload.eventId;\n\t\t\tstate.event.userId = payload.userId;\n\t\t\tsetEventConfigSessionStorage(payload);\n\t\t},\n\t\t[SET_USER](state: any, payload: any) {\n\t\t\tstate.user = payload;\n\t\t},\n\t},\n});\n\nfunction setEventConfigSessionStorage(payload: EventStore): void {\n\tsessionStorage.setItem('event', JSON.stringify(payload));\n}\n\nfunction getEventConfigSessionStorage(): EventStore | undefined {\n\tconst event = sessionStorage.getItem('event');\n\tif (!event) return;\n\treturn JSON.parse(event);\n}\n\nexport { store };\n","import { store } from '@/store';\nimport { SET_SPINNER } from '@/store/mutation-types';\n\nexport const stopSpinner = (time = 1000): void => {\n\tsetTimeout(() => {\n\t\tstore.commit(SET_SPINNER, false);\n\t}, time);\n};\n\nexport const starSpinner = (): void => {\n\tstore.commit(SET_SPINNER, true);\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-171731c8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"spinner-screen flex justify-center items-center\" }\nconst _hoisted_2 = { class: \"box-spinner\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"spinner\" }, null, -1))\n\nimport { stopSpinner } from \"../../helpers/SpinnerHandler\";\nimport { onMounted, onUnmounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Spinner',\n props: {\n\tmessage: {\n\t\ttype: String,\n\t\tdefault: \"Carregando\",\n\t},\n},\n setup(__props) {\n\nconst etc = ref(\"\");\n\nlet interval: number;\nonMounted(() => {\n\tinterval = setInterval(() => {\n\t\tif (etc.value.length < 4) etc.value = \".\" + etc.value;\n\t\telse etc.value = \" \";\n\t}, 400);\n\n\tsetTimeout(() => {\n\t\tstopSpinner(0);\n\t}, 3000);\n});\n\nonUnmounted(() => clearInterval(interval));\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", null, _toDisplayString(__props.message) + \" \" + _toDisplayString(etc.value), 1)\n ])\n ]))\n}\n}\n\n})","import script from \"./Spinner.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Spinner.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Spinner.vue?vue&type=style&index=0&id=171731c8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-171731c8\"]])\n\nexport default __exports__","\n","import { render } from \"./IcMenu.vue?vue&type=template&id=e03497e6\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import jwtDecode from 'jwt-decode';\nimport { ref } from 'vue';\n\nimport { SET_USER } from './mutation-types';\nimport { store as storeGlobal } from '@/store/index';\n\nexport enum TOKEN_TYPE {\n\tNEW_TOKEN = 'token',\n\tOLD_TOKEN = 'oldToken',\n\tADMIN_TOKEN = 'adminToken',\n}\n\nconst store = {\n\ttoken: ref(''),\n\toldToken: ref(''),\n\tadminToken: ref(''),\n};\n\nconst getters = {\n\tgetStoreToken(type: TOKEN_TYPE): string {\n\t\tif (!store[type].value) return getTokenSessionStorage(type);\n\t\treturn store[type].value;\n\t},\n};\n\nconst actions = {\n\tsetStoreToken(token: string, type: TOKEN_TYPE): void {\n\t\tstore[type].value = token;\n\t\tsetTokenSessionStorage(token, type);\n\t\tsetUserData(token);\n\t},\n\tclearStore() {\n\t\tsessionStorage.clear();\n\t},\n};\n\nfunction setUserData(token: string): void {\n\tconst user: any = jwtDecode(token);\n\tstoreGlobal.commit(SET_USER, user);\n}\n\nexport function getTokenSessionStorage(type: TOKEN_TYPE): string {\n\tconst token = sessionStorage.getItem(type);\n\tif (!token) return '';\n\treturn token.replace('Bearer ', '');\n}\n\nfunction setTokenSessionStorage(token: string, type: TOKEN_TYPE): void {\n\tsessionStorage.setItem(type, 'Bearer ' + token);\n}\n\nexport const eventStore = { ...store, ...getters, ...actions };\n","import { urlNewApi, urlOldApi } from './HttpAdapterCostumer';\nimport { TOKEN_TYPE, eventStore } from '@/store/event.store';\n\nconst CONTENT_TYPE = 'Content-Type';\n\nexport type IHandlerOptionsFetch = {\n\turl: string;\n\told_url?: boolean;\n\tmethod: string;\n\tbody?: any;\n\ttimeout?:number,\n\theaders_config?: {\n\t\t[CONTENT_TYPE]?: 'none' | 'json' | 'multipart';\n\t\tAuthorization?: 'none' | 'token' | 'old_token' | 'admin_token';\n\t\t\n\t};\n};\n\ntype OptionsFetch = {\n\turl: string;\n\turlApi: string;\n\tmethod: string;\n\tbody?: any;\n\theaders?: {\n\t\t[CONTENT_TYPE]?: string;\n\t\tAuthorization?: string;\n\t};\n};\n\nexport const handlerOptionsFetch = ({ url, old_url, headers_config, method, body }: IHandlerOptionsFetch): OptionsFetch => {\n\tconst urlApi = old_url ? urlOldApi : urlNewApi;\n\tconst headers: any = {};\n\tif (headers_config?.[CONTENT_TYPE] !== 'none') headers[CONTENT_TYPE] = 'application/json';\n\tif(headers_config?.[CONTENT_TYPE] === 'multipart') headers[CONTENT_TYPE] = 'multipart/form-data';\n\tif (headers_config?.Authorization && headers_config?.Authorization !== 'none') {\n\t\tif (headers_config?.Authorization === 'token') headers['Authorization'] = `Bearer ${eventStore.getStoreToken(TOKEN_TYPE['NEW_TOKEN'])}`;\n\t\tif (headers_config?.Authorization === 'old_token') headers['Authorization'] = `Bearer ${eventStore.getStoreToken(TOKEN_TYPE['OLD_TOKEN'])}`;\n\t\tif (headers_config?.Authorization === 'admin_token') headers['Authorization'] = `Bearer ${eventStore.getStoreToken(TOKEN_TYPE['ADMIN_TOKEN'])}`;\n\t}\n\treturn { url, urlApi, method, headers: headers || undefined, body: body };\n};\n","export function getContentUrl() {\n\treturn `${process.env.VUE_APP_ABRAFARMA_API_V1}/content`;\n}\n\nexport function getGeneralUrl() {\n\treturn `${process.env.VUE_APP_ABRAFARMA_API_V1}/api`;\n}\n\nexport function getGeneralUrlV2() {\n\treturn `${process.env.VUE_APP_ABRAFARMA_API_V2}`;\n}\n","const CPF_VALID_LENGTH = 11;\nconst FACTOR_FIRST_VERIFIER_DIGIT = 10;\nconst FACTOR_SECOND_VERIFIER_DIGIT = 11;\n\nfunction cleanCpf(cpf: string) {\n\treturn cpf.replace(/\\D/g, '');\n}\n\nfunction areAllDigitsEqual(cpf: string) {\n\tconst [firstDigit] = cpf;\n\treturn [...cpf].every((c) => c === firstDigit);\n}\n\nfunction calculateDigit(cpf: string, factor: number) {\n\tlet total = 0;\n\tfor (const digit of cpf) {\n\t\tif (factor > 1) total += parseInt(digit) * factor--;\n\t}\n\tconst rest = total % 11;\n\treturn rest < 2 ? 0 : 11 - rest;\n}\n\nfunction extractVerifierDigit(cpf: string) {\n\treturn cpf.slice(9);\n}\n\nexport function validateCPF(rawCpf: string) {\n\tif (!rawCpf) return false;\n\tconst cpf = cleanCpf(rawCpf);\n\tif (cpf.length !== CPF_VALID_LENGTH) return false;\n\tif (areAllDigitsEqual(cpf)) return false;\n\tconst firstVerifierDigit = calculateDigit(cpf, FACTOR_FIRST_VERIFIER_DIGIT);\n\tconst secondVerifierDigit = calculateDigit(cpf, FACTOR_SECOND_VERIFIER_DIGIT);\n\tconst verifierDigit = extractVerifierDigit(cpf);\n\tconst calculatedVerifiedDigit = `${firstVerifierDigit}${secondVerifierDigit}`;\n\treturn verifierDigit === calculatedVerifiedDigit;\n}\n","import jwt_decode from 'jwt-decode';\n\nexport function jwtDecode(token: string): T {\n\treturn jwt_decode(token);\n}\n","import { TOKEN_TYPE, eventStore } from '@/store/event.store';\n\nconst { getStoreToken } = eventStore;\n\nexport default function auth({ next, router }: any) {\n\tconst token = getStoreToken(TOKEN_TYPE.NEW_TOKEN);\n\tif (!token) return router.push('/participante');\n\treturn next();\n}\n","import { TOKEN_TYPE, eventStore } from '@/store/event.store';\n\nconst { getStoreToken } = eventStore;\n\nexport default function authAdmin({ next, router }: any) {\n\tconst token = getStoreToken(TOKEN_TYPE.ADMIN_TOKEN);\n\tif (!token) return router.push('/');\n\treturn next();\n}\n","import { renderSlot as _renderSlot, mergeProps as _mergeProps, 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\", _mergeProps({ class: \"base-button\" }, _ctx.$attrs, {\n class: _ctx.context[_ctx.variant],\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('click')))\n }), [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ], 16))\n}","\n// eslint-disable-next-line import/named\nimport { PropType, defineComponent } from \"vue\";\n\nexport default defineComponent({\n\tname: \"BaseButton\",\n\n\tprops: {\n\t\ttag: {\n\t\t\ttype: String,\n\t\t\tdefault: \"button\",\n\t\t\trequired: false,\n\t\t},\n\t\thref: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t\trequired: false,\n\t\t},\n\t\tvariant: {\n\t\t\ttype: String as PropType<\n\t\t\t\t\"primary\" | \"secondary\" | \"gray\" | \"new-secondary\"\n\t\t\t>,\n\t\t\tdefault: \"primary\",\n\t\t\trequired: false,\n\t\t},\n\t},\n\n\temits: [\"click\"],\n\n\tdata() {\n\t\treturn {\n\t\t\tcontext: {\n\t\t\t\tprimary: \"primary\",\n\t\t\t\tsecondary: \"secondary\",\n\t\t\t\tgray: \"gray\",\n\t\t\t\t\"new-secondary\": \"new-secondary\",\n\t\t\t},\n\t\t};\n\t},\n});\n","import { render } from \"./BaseButton.vue?vue&type=template&id=e34a6aba&scoped=true&ts=true\"\nimport script from \"./BaseButton.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseButton.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseButton.vue?vue&type=style&index=0&id=e34a6aba&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e34a6aba\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-78fa540f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"max-length-count\" }\nconst _hoisted_2 = [\"type\", \"value\", \"checked\", \"list\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"error error-text\"\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(\"div\", {\n class: _normalizeClass([\"input-group-box\", _ctx.sizeDefault ? 'input-group' : ''])\n }, [\n _createElementVNode(\"label\", {\n class: _normalizeClass([\"label\", _ctx.error?.status ? 'error' : ''])\n }, _toDisplayString(_ctx.label), 3),\n _createElementVNode(\"input\", _mergeProps(_ctx.$attrs, {\n class: [\"input\", [\n\t\t\t\t\t_ctx.error?.status ? 'error error-assets' : '',\n\t\t\t\t\t_ctx.sizeDefault ? 'input-default' : '',\n\t\t\t\t]],\n type: _ctx.type,\n value: _ctx.value,\n checked: _ctx.checked,\n style: _ctx.styleInput,\n list: _ctx.list,\n onChange: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.onChange && _ctx.onChange(...args)))\n }), null, 16, _hoisted_2),\n (_ctx.error?.status)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.error.message), 1))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.maxLength), 1)\n ]))\n}","\n// eslint-disable-next-line import/named\nimport { PropType, defineComponent } from \"vue\";\n\nexport default defineComponent({\n\tname: \"BaseInput\",\n\tprops: {\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: \"Nome\",\n\t\t},\n\t\tmaxLength: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\",\n\t\t},\n\t\tstyleInput: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\",\n\t\t},\n\t\terror: {\n\t\t\ttype: Object as PropType<{\n\t\t\t\tmessage: string;\n\t\t\t\tstatus: boolean;\n\t\t\t}>,\n\t\t\t// eslint-disable-next-line vue/require-valid-default-prop\n\t\t\tdefault: { message: \"\", status: false },\n\t\t},\n\t\tsizeDefault: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t\tlist: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\",\n\t\t},\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: \"text\",\n\t\t},\n\t\tvalue: {\n\t\t\ttype: undefined,\n\t\t\tdefault: \"\",\n\t\t},\n\t\tchecked: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tmethods: {\n\t\tonChange(event: any) {\n\t\t\tthis.$emit(\"onchange\", event.target.value);\n\t\t\tthis.$emit(\"onchangeCheck\", event.target.checked);\n\t\t\tthis.$emit(\"onInputChange\", event);\n\t\t},\n\t},\n});\n","import { render } from \"./BaseInput.vue?vue&type=template&id=78fa540f&scoped=true&ts=true\"\nimport script from \"./BaseInput.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseInput.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseInput.vue?vue&type=style&index=0&id=78fa540f&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-78fa540f\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-78879001\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"background\" }, null, -1))\nconst _hoisted_2 = { class: \"modal\" }\nconst _hoisted_3 = { class: \"row\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseButton = _resolveComponent(\"BaseButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_BaseButton, {\n style: {\"width\":\"140px\",\"height\":\"40px\"},\n variant: 'new-secondary',\n onClick: _ctx.cancel\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_BaseButton, {\n style: {\"width\":\"140px\",\"height\":\"40px\"},\n onClick: _ctx.confirm\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Confirmar\")\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]))\n}","\nimport BaseButton from \"../Atoms/BaseButton.vue\";\nimport Vue, {\n\tComponent,\n\tdefineComponent,\n\tonMounted,\n\treactive,\n\tref,\n\twatch,\n} from \"vue\";\n\nexport default defineComponent({\n\tname: \"ConfirmModal\",\n\tprops: {\n\t\ttext: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tcomponents: {\n\t\tBaseButton,\n\t},\n\tmethods: {\n\t\tconfirm() {\n\t\t\tthis.$emit(\"confirm\");\n\t\t},\n\t\tcancel() {\n\t\t\tthis.$emit(\"cancel\");\n\t\t},\n\t},\n\tsetup(props: any) {\n\t\tconst title = props.text;\n\t\treturn {\n\t\t\tBaseButton,\n\t\t\ttitle,\n\t\t};\n\t},\n});\n","import { render } from \"./ConfirmModal.vue?vue&type=template&id=78879001&scoped=true&ts=true\"\nimport script from \"./ConfirmModal.vue?vue&type=script&lang=ts\"\nexport * from \"./ConfirmModal.vue?vue&type=script&lang=ts\"\n\nimport \"./ConfirmModal.vue?vue&type=style&index=0&id=78879001&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-78879001\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ec403eca\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: `width:auto;overflow:${'auto'}` }\nconst _hoisted_2 = { class: \"table\" }\nconst _hoisted_3 = { style: {\"width\":\"100%\",\"display\":\"flex\"} }\nconst _hoisted_4 = { class: \"tr\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { style: {\"margin-left\":\"10px\"} }\nconst _hoisted_7 = {\n key: 1,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"center\",\"align-items\":\"center\"}\n}\nconst _hoisted_8 = {\n key: 0,\n style: {\"width\":\"100%\",\"border-bottom\":\"1px solid #ccc\",\"height\":\"auto\"}\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"td-span\",\n style: {\"max-width\":\"100%\",\"word-wrap\":\"break-word\"}\n}\nconst _hoisted_10 = {\n key: 2,\n style: {\"margin-bottom\":\"2vh\"}\n}\nconst _hoisted_11 = [\"onClick\"]\nconst _hoisted_12 = [\"onClick\"]\nconst _hoisted_13 = { key: 5 }\nconst _hoisted_14 = { key: 6 }\nconst _hoisted_15 = { style: {\"font-weight\":\"bold\",\"font-size\":\"12px\"} }\nconst _hoisted_16 = { style: {\"font-size\":\"12px\"} }\nconst _hoisted_17 = {\n key: 0,\n style: {\"width\":\"90%\",\"height\":\"auto\",\"border-bottom\":\"1px solid #ccc\",\"display\":\"flex\",\"justify-content\":\"flex-end\",\"padding-right\":\"5%\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_IcArrowUpSort = _resolveComponent(\"IcArrowUpSort\")!\n const _component_IcArrowDownSort = _resolveComponent(\"IcArrowDownSort\")!\n const _component_MenuTable = _resolveComponent(\"MenuTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"table\", _hoisted_2, [\n _createElementVNode(\"thead\", _hoisted_3, [\n _createElementVNode(\"tr\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.columns, (column) => {\n return (_openBlock(), _createElementBlock(\"th\", {\n class: \"th\",\n key: column.id,\n style: _normalizeStyle(`min-width:${\n\t\t\t\t\t\t\t!!column.width ? column.width : '100px'\n\t\t\t\t\t\t};max-width:${!!column.width ? column.width : '100px'}`)\n }, [\n (column.check)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_BaseInput, {\n label: \"\",\n type: \"checkbox\",\n onOnchangeCheck: ($event: any) => (column.checked($event ? 'all' : 'clear'))\n }, null, 8, [\"onOnchangeCheck\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(column.title), 1),\n (column.sort)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_IcArrowUpSort, {\n onClick: () => _ctx.onSort(column.value, 'desc'),\n class: \"icon-sort\",\n style: _normalizeStyle(`fill:${\n\t\t\t\t\t\t\t\t\t_ctx.type === 'desc' && _ctx.columnSelected === column.value\n\t\t\t\t\t\t\t\t\t\t? '#073566'\n\t\t\t\t\t\t\t\t\t\t: '#ddd'\n\t\t\t\t\t\t\t\t};`)\n }, null, 8, [\"onClick\", \"style\"]),\n _createVNode(_component_IcArrowDownSort, {\n onClick: () => _ctx.onSort(column.value, 'asc'),\n class: \"icon-sort\",\n style: _normalizeStyle(`fill:${\n\t\t\t\t\t\t\t\t\t_ctx.type === 'asc' && _ctx.columnSelected === column.value\n\t\t\t\t\t\t\t\t\t\t? '#073566'\n\t\t\t\t\t\t\t\t\t\t: '#ddd'\n\t\t\t\t\t\t\t\t};`)\n }, null, 8, [\"onClick\", \"style\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 4))\n }), 128)),\n (!!_ctx.tableActions)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_8))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.props.rows, (row) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: row.id,\n style: {\"border\":\"none\",\"height\":\"auto\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"position\":\"relative\",\"margin-left\":\"12px\"}\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.columns, (column) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n key: column.id,\n class: \"td\",\n style: _normalizeStyle(`\n min-width:${!!column.width ? column.width : '100px'};\n max-width:${!!column.width ? column.width : '100px'}`)\n }, [\n (\n\t\t\t\t\t\t\t\t!column.doubleText &&\n\t\t\t\t\t\t\t\t!column.check &&\n\t\t\t\t\t\t\t\t!column.icon &&\n\t\t\t\t\t\t\t\t!column.list &&\n\t\t\t\t\t\t\t\t!column.iconList &&\n\t\t\t\t\t\t\t\t!column.button\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(row[column.value]), 1))\n : _createCommentVNode(\"\", true),\n (!!column.icon)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(row[column.value] ? column.icon.success : column.icon.fail), { key: 1 }))\n : _createCommentVNode(\"\", true),\n (!!column.list)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(row[column.value], (list) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: \"td-span\",\n key: list\n }, [\n _createElementVNode(\"b\", null, _toDisplayString(list.title), 1),\n _createTextVNode(\" \" + _toDisplayString(list.value), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (!!column.iconList && column.iconList[row[column.value]])\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 3,\n onClick: column.iconList[row[column.value]].onClick,\n class: \"icon-list\"\n }, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(column.iconList[row[column.value]].icon))),\n _createElementVNode(\"span\", null, _toDisplayString(column.iconList[row[column.value]].description), 1)\n ], 8, _hoisted_11))\n : _createCommentVNode(\"\", true),\n (!!column.button)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 4,\n onClick: ($event: any) => (column.button.onClick(row)),\n style: _normalizeStyle(`color:${\n\t\t\t\t\t\t\t\tcolumn.button.colors[row[column.value]]?.color\n\t\t\t\t\t\t\t};background:${\n\t\t\t\t\t\t\t\tcolumn.button.colors[row[column.value]]?.background\n\t\t\t\t\t\t\t};padding:10px;border-radius:8px;cursor:pointer`)\n }, _toDisplayString(column.button.title[row[column.value]]), 13, _hoisted_12))\n : _createCommentVNode(\"\", true),\n (!!column.check && column.checkValue && column.checked)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createVNode(_component_BaseInput, {\n label: \"\",\n checked: row[column.checkValue],\n type: \"checkbox\",\n onOnchangeCheck: \n\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\tcolumn.checked(row[column.value], event);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n }, null, 8, [\"checked\", \"onOnchangeCheck\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!!column.doubleText)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(row[column.doubleText.bold]), 1),\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(row[column.doubleText.text]), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 4))\n }), 128)),\n (!!_ctx.tableActions)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_17, [\n _createVNode(_component_MenuTable, {\n handleActions: _ctx.tableActions,\n user: row\n }, null, 8, [\"handleActions\", \"user\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ])\n ]))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6e600c84\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"height\":\"100%\",\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\",\"padding\":\"0\",\"position\":\"relative\"} }\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = { class: \"button-options\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseButton = _resolveComponent(\"BaseButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (!!_ctx.modalOptions)\n ? (_openBlock(), _createBlock(_component_BaseButton, {\n key: 0,\n class: \"modal-background\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.setOptionDot('')))\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BaseButton, {\n id: `button-dots${_ctx.user ? _ctx.user.id : ''}`,\n class: \"button-dots\",\n onClick: _cache[1] || (_cache[1] = \n\t\t\t\t\t() => {\n\t\t\t\t\t\t_ctx.getPosition(_ctx.user ? _ctx.user.id : '');\n\t\t\t\t\t\t_ctx.setOptionDot(_ctx.user ? _ctx.user.id : '');\n\t\t\t\t\t}\n\t\t\t\t)\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.IcVerticalDots)))\n ]),\n _: 1\n }, 8, [\"id\"]),\n (_ctx.modalOptions === _ctx.user?.id || _ctx.modalOptions === 'true')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n style: _normalizeStyle(`position:fixed;left:${_ctx.positionModal.left - 150}px;top:${\n\t\t\t\t\t_ctx.positionModal.top\n\t\t\t\t}px`),\n class: \"modal-options\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.handleActions, (action) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: action.title,\n class: \"button-line\",\n onClick: ($event: any) => (action.onClick(_ctx.user), (_ctx.modalOptions = 'false'))\n }, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(action.icon))),\n _createElementVNode(\"button\", _hoisted_3, _toDisplayString(action.title), 1)\n ], 8, _hoisted_2))\n }), 128))\n ], 4))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\n\n\n","import { render } from \"./IcEdit.vue?vue&type=template&id=275f00e3\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./IcSearch.vue?vue&type=template&id=c1c1c4b8&scoped=true\"\nconst script = {}\n\nimport \"./IcSearch.vue?vue&type=style&index=0&id=c1c1c4b8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c1c1c4b8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IcTrash.vue?vue&type=template&id=960bba50&scoped=true\"\nconst script = {}\n\nimport \"./IcTrash.vue?vue&type=style&index=0&id=960bba50&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-960bba50\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcVerticalDots.vue?vue&type=template&id=d25e3718\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../components/Atoms/BaseInput.vue\";\nimport IcEdit from \"../../../components/icons/IcEdit.vue\";\nimport IcSearch from \"../../../components/icons/IcSearch.vue\";\nimport IcTrash from \"../../../components/icons/IcTrash.vue\";\nimport IcVerticalDots from \"../../../components/icons/IcVerticalDots.vue\";\nimport { debounce } from \"../../../helpers/debounce\";\nimport { IUsers } from \"../../../views/Admin/Users/interface\";\nimport Vue, { defineComponent, onMounted, reactive, ref, watch } from \"vue\";\n\nexport default defineComponent({\n\tname: \"MenuTable\",\n\tprops: {\n\t\thandleActions: {\n\t\t\ttype: Array as Vue.PropType,\n\t\t\trequired: true,\n\t\t},\n\t\tuser: {\n\t\t\ttype: Object as Vue.PropType,\n\t\t\trequired: false,\n\t\t},\n\t},\n\tcomponents: {\n\t\tBaseInput,\n\t\tIcTrash,\n\t\tIcSearch,\n\t\tIcEdit,\n\t\tBaseButton,\n\t},\n\tsetup(props) {\n\t\tconst modalOptions = ref(\"\");\n\n\t\tconst setOptionDot = (id: string) => {\n\t\t\tif (id === undefined) {\n\t\t\t\treturn (modalOptions.value = \"true\");\n\t\t\t}\n\t\t\tif (id === modalOptions.value) {\n\t\t\t\treturn (modalOptions.value = \"\");\n\t\t\t} else {\n\t\t\t\treturn (modalOptions.value = id);\n\t\t\t}\n\t\t};\n\t\tconst user = props.user;\n\t\tconst handleActions = props.handleActions;\n\t\tconst positionModal = ref({ top: 0, left: 0 });\n\t\tconst getPosition = (event: any) => {\n\t\t\tconst rect = document\n\t\t\t\t.getElementById(`button-dots${event}`)\n\t\t\t\t?.getBoundingClientRect();\n\t\t\tpositionModal.value = { top: rect?.top, left: rect?.left };\n\t\t};\n\n\t\treturn {\n\t\t\tIcSearch,\n\t\t\tIcTrash,\n\t\t\tIcEdit,\n\t\t\tBaseButton,\n\t\t\tmodalOptions,\n\t\t\tsetOptionDot,\n\t\t\tIcVerticalDots,\n\t\t\tuser,\n\t\t\thandleActions,\n\t\t\tconsole,\n\t\t\tgetPosition,\n\t\t\tpositionModal,\n\t\t};\n\t},\n});\n","import { render } from \"./menu.vue?vue&type=template&id=6e600c84&scoped=true&ts=true\"\nimport script from \"./menu.vue?vue&type=script&lang=ts\"\nexport * from \"./menu.vue?vue&type=script&lang=ts\"\n\nimport \"./menu.vue?vue&type=style&index=0&id=6e600c84&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6e600c84\"]])\n\nexport default __exports__","\n\n","import { render } from \"./IcArrowDownSort.vue?vue&type=template&id=a22032b2\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./IcArrowUpSort.vue?vue&type=template&id=6f4b0bdd\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport BaseInput from \"../../../components/Atoms/BaseInput.vue\";\nimport MenuTable from \"../../../components/Organism/Table/menu.vue\";\nimport IcArrowDownSort from \"../../../components/icons/IcArrowDownSort.vue\";\nimport IcArrowUpSort from \"../../../components/icons/IcArrowUpSort.vue\";\nimport IcSearch from \"../../../components/icons/IcSearch.vue\";\nimport { debounce } from \"../../../helpers/debounce\";\nimport { IUsers } from \"../../../views/Admin/Users/interface\";\nimport { useStoreQuestions } from \"@/views/Admin/Questionnaire/store\";\nimport Vue, {\n\tComponent,\n\tdefineComponent,\n\tonMounted,\n\treactive,\n\tref,\n\twatch,\n} from \"vue\";\n\ninterface TableColumns {\n\ttitle: string;\n\tvalue: string;\n\tid?: number;\n\ticon?: { success: Component; fail: Component };\n\tsort?: boolean;\n\tlist?: string[];\n\ticonList?: any;\n\tcheck?: boolean;\n\tbutton?: any;\n\twidth?: string;\n\tcheckValue?: string;\n\tchecked?: any;\n\tdoubleText?: { bold: string; text: string };\n}\n\ninterface TableActions {\n\tonClick: (row: any) => void;\n\ticon: any;\n\ttitle: string;\n}\nexport default defineComponent({\n\tname: \"Table\",\n\tprops: {\n\t\ttableActions: {\n\t\t\ttype: Array as Vue.PropType,\n\t\t\trequired: false,\n\t\t},\n\t\trows: {\n\t\t\ttype: Array as Vue.PropType,\n\t\t\trequired: true,\n\t\t},\n\t\tcolumns: {\n\t\t\ttype: Object as Vue.PropType,\n\t\t},\n\t\toverflowX: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"auto\",\n\t\t},\n\t},\n\tcomponents: {\n\t\tMenuTable,\n\t\tIcArrowDownSort,\n\t\tIcArrowUpSort,\n\t\tBaseInput,\n\t},\n\tsetup(props) {\n\t\tconst columns = props.columns;\n\t\tconst handleActions = props.tableActions;\n\t\tlet type = \"asc\";\n\t\tlet columnSelected = \"name\";\n\n\t\treturn {\n\t\t\tcolumns,\n\t\t\thandleActions,\n\t\t\tMenuTable,\n\t\t\tconsole,\n\t\t\tprops,\n\t\t\tIcArrowDownSort,\n\t\t\tIcArrowUpSort,\n\t\t\ttype,\n\t\t\tcolumnSelected,\n\t\t};\n\t},\n\tmethods: {\n\t\tonClick(click: any, row: any) {\n\t\t\tclick(row);\n\t\t},\n\t\tonSort(column: any, direction: any) {\n\t\t\tthis.$emit(\"onsort\", column, direction);\n\t\t\tthis.type = direction;\n\t\t\tthis.columnSelected = column;\n\t\t},\n\t},\n});\n","import { render } from \"./table.vue?vue&type=template&id=ec403eca&scoped=true&ts=true\"\nimport script from \"./table.vue?vue&type=script&lang=ts\"\nexport * from \"./table.vue?vue&type=script&lang=ts\"\n\nimport \"./table.vue?vue&type=style&index=0&id=ec403eca&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ec403eca\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcArrowLeft.vue?vue&type=template&id=6bbfd301\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IcDownload.vue?vue&type=template&id=71a0c434\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IcUpload.vue?vue&type=template&id=7515e71d\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { urlOldApi } from './HttpAdapterCostumer';\nexport async function isUrlExists(url: string): Promise {\n\tconst resp = await fetch(url);\n\treturn resp.ok;\n}\n\nexport function existThisFile(fileName?: string): string {\n\tif (!fileName) return '';\n\t// const urlProd = 'https://eventosabrafarma.com.br/content/';\n\tconst urlDev = urlOldApi.replace('/api','') + '/content/';\n\n\tif(fileName.includes('https')){\n\t\treturn fileName;\n\t} else {\n\t\treturn urlDev + fileName;\n\n\t}\n}\n","const formatCurrency = (current: number): string => {\n const newValue = parseFloat(String(current));\n return newValue.toLocaleString(\"pt-br\", {\n style: \"currency\",\n currency: \"BRL\"\n });\n};\n\nexport default formatCurrency;\n","import { existThisFile, HttpAdapterCustomer } from \"@/helpers\";\nimport formatCurrency from \"@/helpers/formatCurrency\";\nimport { IAccountingYear } from \"@/interface/accountingYear\";\nimport { defineStore } from \"pinia\";\nimport Toast, { useToast } from \"vue-toastification\";\nimport { set_cptable } from \"xlsx\";\n\nexport const type = {\n\t\"not informed\": \"Não informado\",\n\t\"commercial partner\": \"Parceiro comercial\",\n\tassociated: \"Associado\",\n\tgovernment: \"Governamental\",\n\tentity: \"Entidade\",\n\tmidia: \"Mídia\",\n\tinvited: \"Convidado\",\n\torganizer: \"Organização\",\n\tstand_builder: \"Montadora Oficial\",\n\t\"ticket sale\": \"Inscrição\",\n};\n\nconst initialData: IAccountingYear = {\n\tdescription: \"\",\n\teffectiveRevenues: [],\n\tyear: \"\",\n};\n\ninterface IGestor {\n\tname: String;\n\temail: String;\n\trole: String;\n\tpassword: String;\n\tid?: number;\n}\nconst initialDataGestor: IGestor = {\n\tname: \"\",\n\temail: \"\",\n\trole: \"accountingYear_manager\",\n\tpassword: \"\",\n};\n\nconst initialDataEffective = {\n\tid: \"\",\n\tcompany_id: \"\",\n\tfinancial_mail: \"\",\n\tcontract_value: \"\",\n\tsituation: \"pending\",\n\tform_of_payment: \"\",\n\tdescription: null,\n\trevenue: \"\",\n\taccounting_year_id: \"\",\n\tfilename: null,\n\tcreated_at: \"\",\n\tupdated_at: \"\",\n\tbank_id: \"13e5c01f-c432-48c8-9a6d-4686d2b52c8e\",\n\tbase64: \"\",\n\tagency: \"9337\",\n\taccount: \"07306-9\",\n\tcredit_card_number: null,\n\taddress: \"\",\n\tyear: {\n\t\tid: \"\",\n\t\tdescription: \"\",\n\t\tyear: \"\",\n\t},\n\tparcels: [\n\t\t{\n\t\t\tid: \"\",\n\t\t\teffective_revenues_id: \"\",\n\t\t\tparcel_number: 1,\n\t\t\tvalue: \"\",\n\t\t\tdue_day: \"\",\n\t\t\tpay_day: null,\n\t\t\tcreated_at: \"\",\n\t\t\tupdated_at: \"\",\n\t\t\tlast_receipt_number: \"\",\n\t\t},\n\t],\n\tcompany: {\n\t\tid: \"\",\n\t\tname: \"\",\n\t\tslug: \"\",\n\t\tcnpj: \"\",\n\t\tsocial_name: \"\",\n\t\tdate_of_association: \"\",\n\t\ttype: \"\",\n\t\tdeleted: false,\n\t\tstatus: \"\",\n\t\tdomains: \"\",\n\t\taddress: \"\",\n\t\tcity: \"\",\n\t\tcep: \"\",\n\t\tuf: \"\",\n\t\tcountry: \"\",\n\t\temail: \"\",\n\t\tcontact: null,\n\t\tphone: \"\",\n\t\tsponsorship_type_id: \"\",\n\t\ttype_id: \"\",\n\t},\n\tbank: {\n\t\tid: \"\",\n\t\tcode: \"\",\n\t\tname: \"\",\n\t},\n};\nexport const usestoreAccountingYears = defineStore(\"AccountingYears\", {\n\tstate: () => ({\n\t\taccountingYears: [] as IAccountingYear[],\n\t\ttab: \"List\" as\n\t\t\t| \"List\"\n\t\t\t| \"Form\"\n\t\t\t| \"register\"\n\t\t\t| \"register-form\"\n\t\t\t| \"dashboard\"\n\t\t\t| \"revenue-register\",\n\t\ttabEdit: \"gestor\" as \"gestor\" | \"executive\",\n\t\ttabAdd: false,\n\t\tidPay: \"\",\n\t\taccountingYearToUpdate: initialData,\n\t\texecutiveToUpdate: initialDataEffective,\n\t\tsearch: \"\",\n\t\tsponsors: [],\n\t\tspinner: false,\n\t\tgestores: [],\n\t\texecutives: [],\n\t\tusersManagers: [],\n\t\tbanks: [],\n\t\tcompanys: [],\n\t\tconfirm: \"\" as string,\n\t\tgestorToUpdate: initialDataGestor,\n\t\thasSearchCpf: false,\n\t\teffectiveRevenues: [],\n\t\tsetEffectiveRevenues: [],\n\t\trevenuesCosts: [],\n\t\tdomains: {\n\t\t\taccountingYears: [],\n\t\t\tpositions: [],\n\t\t\tpositionsType: [],\n\t\t\tclassifications: [],\n\t\t\tstatus: [],\n\t\t},\n\t\tdefaultBankData: {} as any,\n\t\tselectedYear: 2023,\n\t}),\n\tactions: {\n\t\tsetDomains(\n\t\t\ttype:\n\t\t\t\t| \"accountingYears\"\n\t\t\t\t| \"positions\"\n\t\t\t\t| \"positionsType\"\n\t\t\t\t| \"classifications\"\n\t\t\t\t| \"status\",\n\t\t\tdomain: any\n\t\t) {\n\t\t\tthis.domains[type] = domain;\n\t\t},\n\t\tsetTabAdd(tab: any) {\n\t\t\tthis.tabAdd = tab;\n\t\t},\n\t\tsetTabConfirm(tab: any) {\n\t\t\tthis.confirm = tab;\n\t\t},\n\t\tsetSelectedYear(year: number) {\n\t\t\tthis.selectedYear = year;\n\t\t},\n\t\tsetCompanys(companys: any) {\n\t\t\tthis.companys = companys;\n\t\t},\n\t\tsetDefaultBank(bankData: any) {\n\t\t\tthis.defaultBankData = bankData;\n\t\t},\n\t\tsetBanks(banks: any) {\n\t\t\tthis.banks = banks;\n\t\t},\n\t\tsetIdPay(id: string) {\n\t\t\tthis.idPay = id;\n\t\t},\n\t\tsetAccountingYears(AccountingYears: IAccountingYear[]) {\n\t\t\tthis.accountingYears = AccountingYears.map((el: any) => {\n\t\t\t\tel.value = formatCurrency(el.totalContractsValue?.total);\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetUsersManagers(AccountingYears: any) {\n\t\t\tthis.usersManagers = AccountingYears.map((el: any) => {\n\t\t\t\tel.roleName =\n\t\t\t\t\tel.role && ROLES.filter((role) => role.id === el.role)[0].role;\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetEffectives(AccountingYears: any) {\n\t\t\tthis.executives = AccountingYears.map((el: any) => {\n\t\t\t\tel.roleName =\n\t\t\t\t\tel.role && ROLES.filter((role) => role.id === el.role)[0].role;\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\taddAccountingYear(AccountingYear: IAccountingYear) {\n\t\t\tthis.accountingYears.push(AccountingYear);\n\t\t},\n\t\tupdateAccountingYear(AccountingYear: IAccountingYear) {\n\t\t\tconst index = this.accountingYears.findIndex(\n\t\t\t\t(u: any) => u.id === AccountingYear.id\n\t\t\t);\n\t\t\tthis.accountingYears[index] = AccountingYear;\n\t\t},\n\t\tsetAccountingYearToUpdate(AccountingYear?: IAccountingYear) {\n\t\t\tthis.accountingYearToUpdate = AccountingYear\n\t\t\t\t? AccountingYear\n\t\t\t\t: initialData;\n\t\t},\n\t\tsetGestorToUpdate(AccountingYear: any, type: any) {\n\t\t\tthis.gestorToUpdate = AccountingYear ? AccountingYear : initialDataGestor;\n\t\t\tif (type === \"edit\") this.setTab(\"FormEdit\");\n\t\t},\n\t\tsetEffectiveToUpdate(AccountingYear: any) {\n\t\t\tthis.executiveToUpdate = AccountingYear\n\t\t\t\t? AccountingYear\n\t\t\t\t: initialDataEffective;\n\t\t},\n\t\tsetValueInAccountingYearToUpdate(key: string, value: any) {\n\t\t\tif (!this.accountingYearToUpdate) this.accountingYearToUpdate = {} as any;\n\t\t\t(this.accountingYearToUpdate as any)[key] = value;\n\t\t},\n\t\tsetValueInGestorToUpdate(key: string, value: any) {\n\t\t\tif (!this.gestorToUpdate) this.gestorToUpdate = {} as any;\n\t\t\t(this.gestorToUpdate as any)[key] = value;\n\t\t},\n\t\tsetValueInEffectiveToUpdate(key: string, value: any) {\n\t\t\tif (!this.executiveToUpdate) this.executiveToUpdate = {} as any;\n\t\t\t(this.executiveToUpdate as any)[key] = value;\n\t\t},\n\t\tsetTab(tab: any) {\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetTabEdit(tab: any) {\n\t\t\tthis.tabEdit = tab;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tsetHasSearch(val: boolean) {\n\t\t\tthis.hasSearchCpf = val;\n\t\t},\n\t\tdeleteAccountingYear(id: string) {\n\t\t\tdeleteAccountingYearApi(id);\n\t\t},\n\t\tsetRevenuesCosts(data: any) {\n\t\t\tthis.revenuesCosts = data\n\t\t},\n\t\tsetEffectiveRevenues(data: any) {\n\t\t\tthis.effectiveRevenues = data.map((el: any) => {\n\t\t\t\tconst enumSituation: any = {\n\t\t\t\t\tpaid: \"Pago\",\n\t\t\t\t\tpending: \"Pendente\",\n\t\t\t\t};\n\t\t\t\tel.companyName = el.company ? el.company.name : \"\";\n\t\t\t\tel.situationLabel = enumSituation[el.situation];\n\t\t\t\tel.fileName = el.file ? 'Comprovante' : \"Sem Anexo\";\n\t\t\t\tel.valueFormat = formatCurrency(el.contract_value);\n\t\t\t\tel.formPayment =\n\t\t\t\t\tel.form_of_payment === \"credit_in_account\"\n\t\t\t\t\t\t? \"Crédito na conta\"\n\t\t\t\t\t\t: \"Cartão de crédito\";\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t},\n});\n\nexport const ROLES = [\n\t{ id: \"admin\", role: \"Administrador\" },\n\t{ id: \"AccountingYear\", role: \"Usuário\" },\n\t{ id: \"accountingYear_manager\", role: \"Gestor\" },\n\t{ id: \"organizer\", role: \"Organizador\" },\n\t{ id: \"stand_builder\", role: \"Montadora Oficial\" },\n\t{ id: \"coordinator\", role: \"Coordenador\" },\n];\n\nexport const deleteAccountingYearApi = async (id: string) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/accounting-year/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\tconst storeAccountingYears = usestoreAccountingYears();\n\tif (!response.ok) return toast.error(data.message || \"Erro ao excluir ano\");\n\ttoast.success(\"Ano excluido com sucesso\");\n\tgetAccountingYear(\n\t\tstoreAccountingYears.setAccountingYears,\n\t\tstoreAccountingYears.search,\n\t\t() => {\n\t\t\tstoreAccountingYears.setSpinner(false);\n\t\t}\n\t);\n};\n\n// export const deleteEffectiveApi = async (id: number,accountingYearId:string) => {\n// \tconst { data, response } = await HttpAdapterCustomer.delete({\n// \t\turl: `admin/participant/remove-accountingYear/${id}/${accountingYearId}`,\n// \t\told_url: true,\n// \t\theaders_config: {\n// \t\t\tAuthorization: 'admin_token',\n// \t\t}\n// \t});\n// \tconst toast = useToast()\n// \tconst storeAccountingYears = usestoreAccountingYears()\n// \tif (!response.ok) return toast.error(data.message || 'Erro ao excluir executivo');\n// \ttoast.success('Executivo Excluido com sucesso');\n// \tgetEffectives(accountingYearId,storeAccountingYears.setEffectives, storeAccountingYears.search, () => {\n// \t\tstoreAccountingYears.setSpinner(false);\n// \t});\n// }\n\n// export const deleteGestorApi = async (id: any, eventId: any) => {\n// \tconst { data, response } = await HttpAdapterCustomer.delete({\n// \t\turl: `admin/user/remove-accountingYear/${id}/${eventId}`,\n// \t\told_url: true,\n// \t\theaders_config: {\n// \t\t\tAuthorization: 'admin_token',\n// \t\t}\n// \t});\n// \tconst toast = useToast()\n\n// \tconst storeAccountingYears = usestoreAccountingYears()\n// \tif (!response.ok) return toast.error(data.message || 'Erro ao excluir gestor');\n// \ttoast.success('Gestor excluido com sucesso');\n// \tgetGestores(eventId, storeAccountingYears.setGestores, storeAccountingYears.search, () => {\n// \t\tstoreAccountingYears.setSpinner(false);\n// \t});\n// }\nexport const getAccountingYear = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/accounting-year${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n","import { usestoreAccountingYears } from \"./store\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport formatCurrency from \"@/helpers/formatCurrency\";\nimport moment from \"moment\";\nimport { useToast } from \"vue-toastification\";\n\nexport const getAccountingYear = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/accounting-year${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tsetValue(data);\n\tcallback();\n};\n\nexport const getBanks = async (\n\tsetValue: (p: any) => void,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/banks`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getCompanys = async (\n\tsetValue: (p: any) => void,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getDefaultBank = async (\n\tsetValue: (p: any) => void,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/banks/default-bank`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getEffectiveRevenues = async (\n\tid: any,\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/effective-revenues/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const revenuesCosts = async (\n\tsetValue: (p: any) => void,\n\tyear: number,\n\tgroup: boolean,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/accounting-year/revenues-costs`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify({ grouped: group, years: [year] })\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getEffectiveRevenuesById = async (\n\tid: any,\n\tsetValue: (p: any) => void,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/effective-revenues/details/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tdata.parcels = data.parcels\n\t\t.map((el: any) => {\n\t\t\tel.dueDayFormat = el.due_day\n\t\t\t\t? moment(el.due_day).format(\"DD/MM/YYYY\")\n\t\t\t\t: \"\";\n\t\t\tel.payDayFormat = el.pay_day\n\t\t\t\t? moment(el.pay_day).format(\"DD/MM/YYYY\")\n\t\t\t\t: \"\";\n\t\t\tel.valorFormat = formatCurrency(Number(el.value));\n\t\t\tel.situation = !!el.pay_day ? \"Pago\" : \"Pendente\";\n\t\t\treturn el;\n\t\t})\n\t\t.sort((a: any, b: any) => {\n\t\t\treturn a.parcel_number - b.parcel_number;\n\t\t});\n\tsetValue(data);\n};\n\nexport const sendReceptEmail = async (id: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/effective-revenues/receipt/receipt-email/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n};\n\nexport const getAccountingYearById = async (\n\tid: any,\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/accounting-year/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\nexport const deleteEffectiveRevenues = async (id: any, eventId: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/effective-revenues/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\n\tconst store = usestoreAccountingYears();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao excluir receita\");\n\ttoast.success(\"Receita excluida com sucesso\");\n\t// getEffectiveRevenues(eventId, store.setEffectiveRevenues, store.search, () => {\n\t// \tstore.setSpinner(false);\n\t// });\n};\n\nexport const effectiveRevenuesPay = async (\n\tbody: any,\n\tsetValue: any,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/effective-revenues/pay`,\n\t\told_url: true,\n\t\tbody: body,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\n\tcallback();\n\tsetValue(data);\n};\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c152c59\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"label-select\" }\nconst _hoisted_2 = [\"disabled\"]\nconst _hoisted_3 = [\"selected\"]\nconst _hoisted_4 = [\"value\", \"selected\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"input-group-box\", _ctx.sizeDefault ? 'input-group' : ''])\n }, [\n _createElementVNode(\"label\", _hoisted_1, _toDisplayString(_ctx.label), 1),\n _createElementVNode(\"select\", {\n class: _normalizeClass([\"select\", [_ctx.sizeDefault ? 'select-default' : '']]),\n onChange: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.onChange && _ctx.onChange(...args))),\n disabled: _ctx.disabled,\n style: _normalizeStyle(_ctx.styleSelect)\n }, [\n _createElementVNode(\"option\", {\n value: 0,\n disabled: \"\",\n selected: !_ctx.value\n }, \"Selecione\", 8, _hoisted_3),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", _mergeProps({\n value: option[_ctx.keys.keyValue],\n key: option[_ctx.keys.keyValue],\n selected: option[_ctx.keys.keyValue] === _ctx.value\n }, _ctx.$attrs), _toDisplayString(option[_ctx.keys.keyLabel]), 17, _hoisted_4))\n }), 128))\n ], 46, _hoisted_2)\n ], 2))\n}","\nimport Vue, { defineComponent } from \"vue\";\n\nexport default defineComponent({\n\tname: \"BaseSelect\",\n\tprops: {\n\t\toptions: {\n\t\t\ttype: Array as Vue.PropType,\n\t\t\trequired: true,\n\t\t},\n\t\tkeys: {\n\t\t\ttype: Object as Vue.PropType<{ keyValue: string; keyLabel: string }>,\n\t\t\trequired: true,\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t},\n\t\tvalue: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t\tdefault: \"\",\n\t\t},\n\t\tstyleSelect: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"\",\n\t\t},\n\t\tsizeDefault: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n\tmethods: {\n\t\tonChange(event: any) {\n\t\t\tthis.$emit(\"onChangeOption\", event.target.value);\n\t\t},\n\t},\n});\n","import { render } from \"./BaseSelect.vue?vue&type=template&id=5c152c59&scoped=true&ts=true\"\nimport script from \"./BaseSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseSelect.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseSelect.vue?vue&type=style&index=0&id=5c152c59&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c152c59\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withModifiers as _withModifiers, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2aef892a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\"} }\nconst _hoisted_2 = { style: {\"width\":\"100%\",\"margin-right\":\"2vw\"} }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_6 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_8 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_9 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"align-items\":\"flex-end\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_10 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_11 = {\n key: 0,\n style: {\"width\":\"100%\"}\n}\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"thead\", { style: {\"width\":\"100%\"} }, [\n /*#__PURE__*/_createElementVNode(\"tr\", { style: {\"width\":\"100%\"} }, [\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"20%\"} }, \"N Parcela\"),\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"30%\"} }, \"Valor\"),\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"25%\"} }, \"Data de Vencimento\"),\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"25%\"} }, \"Data de Pagamento\")\n ])\n], -1))\nconst _hoisted_13 = { style: {\"position\":\"relative\"} }\nconst _hoisted_14 = { style: {\"min-height\":\"60px\",\"display\":\"flex\",\"align-items\":\"center\",\"position\":\"absolute\",\"top\":\"40%\",\"left\":\"30%\"} }\nconst _hoisted_15 = { class: \"row\" }\n\nimport BaseButton from \"../../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../../components/Atoms/BaseSelect.vue\";\nimport IcTrash from \"../../../../../../components/icons/IcTrash.vue\";\nimport IcUpload from \"../../../../../../components/icons/IcUpload.vue\";\nimport { states } from \"../../../../../../constants/states\";\nimport { HttpAdapterCustomer, urlOldApi } from \"../../../../../../helpers\";\nimport {\n\tgetBanks,\n\tgetCompanys,\n\tgetDefaultBank,\n\tgetEffectiveRevenues,\n\tgetEffectiveRevenuesById,\n} from \"../../../service\";\nimport {\n\tgetAccountingYear,\n\tROLES,\n\tusestoreAccountingYears,\n} from \"../../../store\";\nimport BaseInputMoney from \"@/components/Atoms/BaseInputMoney.vue\";\nimport { store } from \"@/store\";\nimport { QuillEditor } from \"@vueup/vue-quill\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport moment from \"moment\";\nimport { defineComponent, onBeforeMount, onMounted, reactive, ref } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeAccountingYears = usestoreAccountingYears();\nconst toast = useToast();\nconst route = useRoute();\nconst dataAqui = reactive({});\nconst submit = async () => {\n\tstoreAccountingYears.setEffectiveToUpdate(\n\t\tstoreAccountingYears.executiveToUpdate\n\t);\n\tconst body = storeAccountingYears.executiveToUpdate;\n\tconst id =\n\t\troute && route.params ? String(route.params.id) : body.accounting_year_id;\n\tbody.accounting_year_id = id;\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/effective-revenues\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(body),\n\t});\n\tif (!response.ok)\n\t\treturn toast.error(data.message || `Erro ao cadastrar receita,${data}`);\n\ttoast.success(\"Receita atualizada com sucesso\");\n\tstoreAccountingYears.setTab(\"List\");\n\tgetEffectiveRevenues(\n\t\tid,\n\t\tstoreAccountingYears.setEffectiveRevenues,\n\t\tstoreAccountingYears.search,\n\t\t() => {\n\t\t\tstoreAccountingYears.setSpinner(false);\n\t\t\tgetEffectiveRevenuesById(\n\t\t\t\tbody.id,\n\t\t\t\tstoreAccountingYears.setEffectiveToUpdate,\n\t\t\t\t() => {}\n\t\t\t);\n\t\t}\n\t);\n};\n\nasync function defaultBank() {\n\tawait getDefaultBank(storeAccountingYears.setDefaultBank as any, () => {});\n\tstoreAccountingYears.executiveToUpdate.account =\n\t\tstoreAccountingYears.defaultBankData.account;\n\tstoreAccountingYears.executiveToUpdate.address =\n\t\tstoreAccountingYears.defaultBankData.address;\n\tstoreAccountingYears.executiveToUpdate.agency =\n\t\tstoreAccountingYears.defaultBankData.agency;\n\tstoreAccountingYears.executiveToUpdate.bank_id =\n\t\tstoreAccountingYears.defaultBankData.id;\n}\n\nconst changeParcel = (event: any) => {\n\tlet parcels = [];\n\tfor (let i = 0; i < Number(event.target.value); i++) {\n\t\tparcels.push({\n\t\t\tparcel_number: i + 1,\n\t\t\tvalue: 0,\n\t\t\tdue_day: \"\",\n\t\t\tpay_day: \"\",\n\t\t});\n\t}\n\tstoreAccountingYears.setValueInEffectiveToUpdate(\"parcels\", parcels);\n};\n\nconst upload = (event: any) => {\n\tconst selectedFile = event.target.files[0];\n\tif (selectedFile) {\n\t\tconst reader = new FileReader();\n\n\t\treader.onload = function (event) {\n\t\t\tconst base64Data = event?.target?.result;\n\t\t\tstoreAccountingYears.setValueInEffectiveToUpdate(\"base64\", base64Data);\n\t\t};\n\n\t\treader.readAsDataURL(selectedFile);\n\t}\n\tstoreAccountingYears.setSpinner(true);\n\tstoreAccountingYears.setValueInEffectiveToUpdate(\n\t\t\"filename\",\n\t\tselectedFile.name\n\t);\n\n\tconst reader = new FileReader();\n\treader.onload = (e) => {};\n\treader.readAsDataURL(selectedFile);\n};\n\nconst onClick = () => {\n\tdocument.getElementById(\"file-input\")?.click();\n};\n\nfunction formatDateForInput(date: any) {\n\treturn moment.utc(date).format(\"YYYY-MM-DD\");\n}\n\nconst changeDueDay = (event: any, index: any) => {\n\tconst parcels: any = storeAccountingYears.executiveToUpdate.parcels;\n\tparcels[index].due_day = new Date(event);\n\tstoreAccountingYears.setValueInEffectiveToUpdate(\"parcels\", parcels);\n};\n\nconst changePayDay = (event: any, index: any) => {\n\tconst parcels: any = storeAccountingYears.executiveToUpdate.parcels;\n\tparcels[index].pay_day = new Date(event);\n\tstoreAccountingYears.setValueInEffectiveToUpdate(\"parcels\", parcels);\n};\n\nconst changeValue = (event: any, index: any) => {\n\tconst parcels = storeAccountingYears.executiveToUpdate.parcels;\n\n\tparcels[index].value = event.target.value;\n\tstoreAccountingYears.setValueInEffectiveToUpdate(\"parcels\", parcels);\n};\n\nonMounted(() => {\n\tgetBanks(storeAccountingYears.setBanks, () => {});\n\tgetCompanys(storeAccountingYears.setCompanys, () => {});\n\tstoreAccountingYears.executiveToUpdate.situation = \"pending\";\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Form = _resolveComponent(\"Form\")!\n\n return (_openBlock(), _createBlock(_component_Form, {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: _normalizeClass(\n\t\t\t_unref(storeAccountingYears).executiveToUpdate.id\n\t\t\t\t? 'form-layout form-style'\n\t\t\t\t: 'form-container'\n\t\t)\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseSelect, {\n label: \"Empresa *\",\n options: \n _unref(storeAccountingYears).companys?.map((el) => {\n return {\n id: el.id,\n title: el.name,\n };\n })\n ,\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeAccountingYears).executiveToUpdate?.company_id,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'company_id',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"financial_mail\",\n label: \"Email Financeiro *\",\n placeholder: \"Email Financeiro\",\n value: _unref(storeAccountingYears).executiveToUpdate?.financial_mail,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'financial_mail',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: \"contract_value\",\n label: \"Valor do Contrato *\",\n placeholder: \"Valor do Contrato\",\n value: _unref(storeAccountingYears).executiveToUpdate?.contract_value,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'contract_value',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Forma de pagamento\",\n options: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'credit_in_account',\n\t\t\t\t\t\t\t\ttitle: 'Crédito em conta',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'credit_card',\n\t\t\t\t\t\t\t\ttitle: 'Cartão de crédito',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeAccountingYears).executiveToUpdate?.form_of_payment,\n onChange: _cache[3] || (_cache[3] = ($event: any) => {\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'form_of_payment',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tdefaultBank();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseSelect, {\n key: 0,\n label: \"Banco *\",\n options: \n _unref(storeAccountingYears).banks?.map((el) => {\n return {\n id: el.id,\n title: el.name,\n };\n })\n ,\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeAccountingYears).executiveToUpdate?.bank_id,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'bank_id',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"agency\",\n label: \"Agência\",\n placeholder: \"Agência\",\n value: _unref(storeAccountingYears).executiveToUpdate?.agency,\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'agency',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 2,\n name: \"account\",\n label: \"Conta\",\n placeholder: \"Conta\",\n value: _unref(storeAccountingYears).executiveToUpdate?.account,\n onChange: _cache[6] || (_cache[6] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'account',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment !==\n\t\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 3,\n name: \"credit_card_number\",\n label: \"Número do cartão de crédito\",\n placeholder: \"Cartão de crédito\",\n value: _unref(storeAccountingYears).executiveToUpdate?.credit_card_number,\n onChange: _cache[7] || (_cache[7] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'credit_card_number',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseInput, {\n name: \"address\",\n label: \"Endereço\",\n placeholder: \"Endereço\",\n value: _unref(storeAccountingYears).executiveToUpdate?.address,\n onChange: _cache[8] || (_cache[8] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseSelect, {\n label: \"Situação *\",\n options: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'paid',\n\t\t\t\t\t\t\t\ttitle: 'Pago',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'pending',\n\t\t\t\t\t\t\t\ttitle: 'Pendente',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeAccountingYears).executiveToUpdate?.situation,\n onChange: _cache[9] || (_cache[9] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'situation',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Tipos de Receita\",\n options: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Avulso',\n\t\t\t\t\t\t\t\ttitle: 'Avulso',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Black',\n\t\t\t\t\t\t\t\ttitle: 'Black',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Platinum',\n\t\t\t\t\t\t\t\ttitle: 'Platinum',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Gold',\n\t\t\t\t\t\t\t\ttitle: 'Gold',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Blue',\n\t\t\t\t\t\t\t\ttitle: 'Blue',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Green',\n\t\t\t\t\t\t\t\ttitle: 'Green',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'Avulso',\n\t\t\t\t\t\t\t\ttitle: 'Avulso',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeAccountingYears).executiveToUpdate?.revenue,\n onChange: _cache[10] || (_cache[10] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'revenue',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseInput, {\n name: \"description\",\n label: \"Descrição\",\n placeholder: \"Descrição\",\n value: _unref(storeAccountingYears).executiveToUpdate?.description,\n onChange: _cache[11] || (_cache[11] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t'description',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"NumberParcelas\",\n label: \"Nº Parcelas *\",\n placeholder: \"N Parcelas\",\n value: \n\t\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate?.parcels?.parcel_number\n\t\t\t\t\t\t,\n onChange: _cache[12] || (_cache[12] = \n\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\tchangeParcel(event);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"visibility\":\"hidden\",\"position\":\"absolute\"},\n id: \"file-input\",\n onChange: upload\n }, null, 32),\n _createVNode(BaseInput, {\n name: \"filename\",\n label: \"Arquivo\",\n placeholder: \"Arquivo\",\n value: _unref(storeAccountingYears).executiveToUpdate?.filename,\n onChange: _cache[13] || (_cache[13] = \n\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInEffectiveToUpdate(\n\t\t\t\t\t\t\t\t\t'filename',\n\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n }, null, 8, [\"value\"]),\n (!_unref(storeAccountingYears).executiveToUpdate?.filename)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"width\":\"30%\"},\n type: \"button\",\n onClick: _cache[14] || (_cache[14] = () => onClick())\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Adicionar Arquivo\")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears).executiveToUpdate?.filename)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n type: \"button\",\n style: {\"width\":\"30%\"},\n onClick: _cache[15] || (_cache[15] = () => onClick())\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Trocar Arquivo\")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n (_unref(storeAccountingYears).executiveToUpdate?.parcels)\n ? (_openBlock(), _createElementBlock(\"table\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(storeAccountingYears).executiveToUpdate\n\t\t\t\t\t\t\t\t\t?.parcels, (item, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: item.id\n }, [\n _createElementVNode(\"td\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", null, _toDisplayString(item.parcel_number), 1)\n ])\n ]),\n _createElementVNode(\"td\", null, [\n _createVNode(BaseInput, {\n name: \"value\",\n label: \"\",\n placeholder: \"Valor\",\n value: item.value,\n onChange: \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\tchangeValue(event, index);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n }, null, 8, [\"value\", \"onChange\"])\n ]),\n _createElementVNode(\"td\", null, [\n _createVNode(BaseInput, {\n name: \"Data de vencimento\",\n label: \"\",\n type: \"date\",\n value: formatDateForInput(item.due_day),\n onOnchange: \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\tchangeDueDay(event, index);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n }, null, 8, [\"value\", \"onOnchange\"])\n ]),\n _createElementVNode(\"td\", null, [\n _createVNode(BaseInput, {\n name: \"Data de Pagamento\",\n label: \"\",\n type: \"date\",\n value: formatDateForInput(item.pay_day),\n onOnchange: \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\tchangePayDay(event, index);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n }, null, 8, [\"value\", \"onOnchange\"])\n ])\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[16] || (_cache[16] = ($event: any) => (_unref(storeAccountingYears).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"onSubmit\", \"class\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=2aef892a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2aef892a\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcPencil.vue?vue&type=template&id=61e78dbc\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcTrashNew.vue?vue&type=template&id=475c22d4\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createVNode as _createVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ff1c2102\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 2,\n class: \"card\",\n style: {\"position\":\"absolute\",\"top\":\"50%\",\"left\":\"50%\",\"background\":\"#fff\",\"width\":\"30%\",\"transform\":\"translate(-50%, -50%)\",\"height\":\"auto\",\"z-index\":\"2\",\"padding\":\"3%\"}\n}\nconst _hoisted_2 = {\n key: 3,\n style: {\"display\":\"flex\",\"gap\":\"2vw\",\"width\":\"100%\",\"justify-content\":\"space-between\"}\n}\nconst _hoisted_3 = { class: \"back\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"gap\":\"1rem\"} }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Editar\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Excluir\", -1))\nconst _hoisted_8 = {\n key: 4,\n class: \"card\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"infos\"\n}\nconst _hoisted_10 = { class: \"info-item\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Empresa\", -1))\nconst _hoisted_12 = { class: \"info-item\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Email Financeiro\", -1))\nconst _hoisted_14 = { class: \"info-item\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Valor do Contrato\", -1))\nconst _hoisted_16 = { class: \"info-item\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Tipo Receita\", -1))\nconst _hoisted_18 = { class: \"info-item\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Forma de Pagamento\", -1))\nconst _hoisted_20 = {\n key: 0,\n class: \"info-item\"\n}\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Banco\", -1))\nconst _hoisted_22 = {\n key: 1,\n class: \"info-item\"\n}\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Agência\", -1))\nconst _hoisted_24 = {\n key: 2,\n class: \"info-item\"\n}\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Conta\", -1))\nconst _hoisted_26 = { class: \"info-item\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Endereço\", -1))\nconst _hoisted_28 = { class: \"info-item\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Descrição\", -1))\nconst _hoisted_30 = {\n key: 5,\n class: \"card\"\n}\n\nimport BaseButton from \"../../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../../components/Atoms/BaseInput.vue\";\nimport ConfirmModal from \"../../../../../../components/Organism/ConfirmModal.vue\";\nimport MenuTable from \"../../../../../../components/Organism/Table/menu.vue\";\nimport Table from \"../../../../../../components/Organism/Table/table.vue\";\nimport IcArrowLeft from \"../../../../../../components/icons/IcArrowLeft.vue\";\nimport IcDownloadVue from \"../../../../../../components/icons/IcDownload.vue\";\nimport IcEditVue from \"../../../../../../components/icons/IcEdit.vue\";\nimport IcTrashVue from \"../../../../../../components/icons/IcTrash.vue\";\nimport IcUploadVue from \"../../../../../../components/icons/IcUpload.vue\";\nimport { urlOldApi } from \"../../../../../../helpers\";\nimport { formatDate } from \"../../../../../../helpers/FormatDate\";\nimport formatCurrency from \"../../../../../../helpers/formatCurrency\";\nimport { eventStore, TOKEN_TYPE } from \"../../../../../../store/event.store\";\nimport {\n\tdeleteEffectiveRevenues,\n\teffectiveRevenuesPay,\n\tgetEffectiveRevenuesById,\n\tsendReceptEmail,\n} from \"../../../service\";\nimport { usestoreAccountingYears } from \"../../../store\";\nimport Form from \"../Revenue/index.vue\";\nimport IcPencil from \"@/components/icons/IcPencil.vue\";\nimport IcTrashNew from \"@/components/icons/IcTrashNew.vue\";\nimport { onMounted } from \"vue-demi\";\nimport { useRoute, useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeAccountingYears = usestoreAccountingYears();\nconst routes = useRoute();\nconst routerUse = useRouter();\nonMounted(() => {\n\tgetEffectiveRevenuesById(\n\t\troutes.params.idDetail,\n\t\tstoreAccountingYears.setEffectiveToUpdate,\n\t\t() => {}\n\t);\n});\nconst columns = [\n\t{\n\t\ttitle: \"Nº Parcela\",\n\t\tvalue: \"parcel_number\",\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Data de vencimento\",\n\t\tvalue: \"dueDayFormat\",\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Data de Pagamento\",\n\t\tvalue: \"payDayFormat\",\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Valor\",\n\t\tvalue: \"valorFormat\",\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Situação\",\n\t\tvalue: \"situation\",\n\t\twidth: \"10%\",\n\t\tbutton: {\n\t\t\ttitle: {\n\t\t\t\tPago: \"Pago\",\n\t\t\t\tPendente: \"Pagar\",\n\t\t\t},\n\t\t\tonClick: (row: any) => {\n\t\t\t\tstoreAccountingYears.setTabConfirm(\"pay\");\n\t\t\t\tstoreAccountingYears.setIdPay(row.id);\n\t\t\t},\n\t\t\tcolors: {\n\t\t\t\tPendente: {\n\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\tbackground: \"#00386C\",\n\t\t\t\t},\n\t\t\t\tPago: {\n\t\t\t\t\tcolor: \"#000\",\n\t\t\t\t\tbackground: \"#fff\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n];\nconst tableActions = [\n\t{\n\t\ttitle: \"Enviar Recibo\",\n\t\ticon: IcUploadVue,\n\t\tonClick: (row: any) => {\n\t\t\tsendReceptEmail(row.id, () => {});\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Download\",\n\t\ticon: IcDownloadVue,\n\t\tonClick: (row: any) => {\n\t\t\tconst token: any = eventStore.getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"]);\n\t\t\tconst urlToOpen =\n\t\t\t\turlOldApi + `/admin/effective-revenues/receipt/${row.id}`;\n\n\t\t\tvar form = document.createElement(\"form\");\n\t\t\tvar element1 = document.createElement(\"input\");\n\n\t\t\tform.method = \"POST\";\n\t\t\tform.action = urlToOpen;\n\t\t\tform.target = \"_blank\";\n\n\t\t\telement1.value = token;\n\t\t\telement1.name = \"authToken\";\n\t\t\tform.appendChild(element1);\n\n\t\t\tdocument.body.appendChild(form);\n\n\t\t\tform.submit();\n\t\t\tdocument.body.removeChild(form);\n\t\t},\n\t},\n];\n\nconst tableActionsHeader = [\n\t{\n\t\ttitle: \"Excluir\",\n\t\tvalue: IcTrashVue,\n\t\tonClick: (row: any) => {\n\t\t\tstoreAccountingYears.setTabConfirm(\"effectiveRevenues\");\n\t\t},\n\t},\n];\n\nconst router = useRouter();\nconst route = useRoute();\nconst onConfirmDeleteExecutive = () => {\n\tdeleteEffectiveRevenues(routes.params.idDetail, () => {\n\t\tstoreAccountingYears.setTab(\"register\");\n\t\tstoreAccountingYears.setTabConfirm(\"\");\n\t\trouter.push(`/revenues/${route.params.id}`);\n\t});\n};\n\nfunction deleteAccountingYear() {\n\tstoreAccountingYears.setTabConfirm(\"effectiveRevenues\");\n}\n\nconst changePayDate = (event: any) => {\n\tconst data = event.target.value + \"T19:28:05.858Z\";\n\n\teffectiveRevenuesPay(\n\t\tJSON.stringify({\n\t\t\tdate: data,\n\t\t\tparcel_id: storeAccountingYears.idPay,\n\t\t}),\n\t\t() => {},\n\t\t() => {\n\t\t\tsetTimeout(() => {\n\t\t\t\tstoreAccountingYears.setTabConfirm(\"\");\n\t\t\t\tgetEffectiveRevenuesById(\n\t\t\t\t\troutes.params.idDetail,\n\t\t\t\t\tstoreAccountingYears.setEffectiveToUpdate,\n\t\t\t\t\t() => {}\n\t\t\t\t);\n\t\t\t}, 3000);\n\t\t}\n\t);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeAccountingYears).confirm === 'effectiveRevenues')\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir essa receita?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t\t() => {\n\t\t\t\t\tonConfirmDeleteExecutive();\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeAccountingYears).setTabConfirm('');\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears).confirm === 'pay')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(storeAccountingYears).setTabConfirm(''))),\n style: {\"position\":\"fixed\",\"background\":\"#000\",\"opacity\":\"0.3\",\"width\":\"100%\",\"height\":\"100vh\",\"z-index\":\"1\",\"top\":\"0%\",\"left\":\"0%\"}\n }))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears).confirm === 'pay')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createTextVNode(\" Selecione a data de pagamento: \"),\n _createVNode(BaseInput, {\n name: \"Data Pagamento\",\n label: \"\",\n type: \"date\",\n onChange: _cache[3] || (_cache[3] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\tchangePayDate(event);\n\t\t\t\t\t}\n\t\t\t\t)\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears).tab !== 'register-form')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_unref(routerUse).push(`/revenues/${_unref(routes).params.id}`))),\n style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\",\"cursor\":\"pointer\"}\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(IcArrowLeft)\n ]),\n _hoisted_4\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\",\"gap\":\"0.5rem\"},\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_unref(storeAccountingYears).tab = 'register-form'))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createVNode(IcPencil)\n ]),\n _hoisted_6\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\",\"gap\":\"0.5rem\"},\n variant: 'new-secondary',\n class: \"button-actions\",\n onClick: deleteAccountingYear\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createVNode(IcTrashNew)\n ]),\n _hoisted_7\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears).tab !== 'register-form')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n (_unref(storeAccountingYears).executiveToUpdate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.company?.social_name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.financial_mail), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(formatCurrency)(\n\t\t\t\t\t\t\t+_unref(storeAccountingYears).executiveToUpdate.contract_value\n\t\t\t\t\t\t)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.revenue), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t\"credit_in_account\"\n\t\t\t\t\t\t\t? \"Crédito na Conta\"\n\t\t\t\t\t\t\t: \"Cartão de Crédito\"), 1)\n ]),\n (\n\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.bank?.name), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _hoisted_23,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.agency), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t_unref(storeAccountingYears).executiveToUpdate.form_of_payment ===\n\t\t\t\t\t\t'credit_in_account'\n\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.account), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.address), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeAccountingYears).executiveToUpdate.description), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears).tab !== 'register-form')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_30, [\n (\n\t\t\t\t\t_unref(storeAccountingYears) && _unref(storeAccountingYears).executiveToUpdate.parcels\n\t\t\t\t)\n ? (_openBlock(), _createBlock(Table, {\n key: 0,\n columns: columns,\n rows: _unref(storeAccountingYears).executiveToUpdate.parcels,\n tableActions: tableActions,\n style: {\"max-height\":\"30vh\"}\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n (_unref(storeAccountingYears).tab === 'register-form')\n ? (_openBlock(), _createBlock(Form, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=ff1c2102&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-ff1c2102\"]])\n\nexport default __exports__","\n\n","import { render } from \"./IcCurrent.vue?vue&type=template&id=7c189c34\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-915ddc9a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\"} }\nconst _hoisted_2 = { style: {\"width\":\"100%\",\"margin-right\":\"2vw\"} }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_5 = { class: \"row\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../components/Atoms/BaseSelect.vue\";\nimport IcTrash from \"../../../../components/icons/IcTrash.vue\";\nimport IcUpload from \"../../../../components/icons/IcUpload.vue\";\nimport { states } from \"../../../../constants/states\";\nimport { HttpAdapterCustomer, urlOldApi } from \"../../../../helpers\";\nimport { getAccountingYear, ROLES, usestoreAccountingYears } from \"../store\";\nimport { QuillEditor } from \"@vueup/vue-quill\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport { defineComponent, onBeforeMount, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeAccountingYears = usestoreAccountingYears();\nconst toast = useToast();\n\nconst submit = async () => {\n\tstoreAccountingYears.setSpinner(true);\n\tstoreAccountingYears.updateAccountingYear(\n\t\tstoreAccountingYears.accountingYearToUpdate as any\n\t);\n\tconst body = storeAccountingYears.accountingYearToUpdate;\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/accounting-year\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify({\n\t\t\tyear: body.year,\n\t\t\tdescription: body.description,\n\t\t\tid: body.id,\n\t\t}),\n\t});\n\tif (!response.ok) return toast.error(data.message || \"Erro ao cadastrar ano\");\n\tstoreAccountingYears.setTab(\"List\");\n\tgetAccountingYear(\n\t\tstoreAccountingYears.setAccountingYears,\n\t\tstoreAccountingYears.search,\n\t\t() => {\n\t\t\tstoreAccountingYears.setSpinner(false);\n\t\t\ttoast.success(\"Ano Atualizado com sucesso\");\n\t\t}\n\t);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Form = _resolveComponent(\"Form\")!\n\n return (_openBlock(), _createBlock(_component_Form, {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: \"form-layout\",\n style: {\"display\":\"flex\",\"width\":\"95%\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseInput, {\n name: \"year\",\n label: \"Ano *\",\n placeholder: \"Ano\",\n value: _unref(storeAccountingYears).accountingYearToUpdate?.year,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInAccountingYearToUpdate(\n\t\t\t\t\t\t\t\t'year',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: \"description\",\n label: \"Descrição\",\n placeholder: \"Descrição\",\n value: _unref(storeAccountingYears).accountingYearToUpdate?.description,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setValueInAccountingYearToUpdate(\n\t\t\t\t\t\t\t\t'description',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n type: \"button\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(storeAccountingYears).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"onSubmit\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=915ddc9a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-915ddc9a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport Chart from \"chart.js/auto\";\nimport { ref, onMounted } from \"vue\";\n\ninterface Props {\n\tdata: any;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FinancialChart',\n props: {\n data: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tdata: any;\n}\n\n\n\nconst months = [\n\t{ month: 0, title: \"Janeiro\" },\n\t{ month: 1, title: \"Fevereiro\" },\n\t{ month: 2, title: \"Março\" },\n\t{ month: 3, title: \"Abril\" },\n\t{ month: 4, title: \"Maio\" },\n\t{ month: 5, title: \"Junho\" },\n\t{ month: 6, title: \"Julho\" },\n\t{ month: 7, title: \"Agosto\" },\n\t{ month: 8, title: \"Setembro\" },\n\t{ month: 9, title: \"Outubro\" },\n\t{ month: 10, title: \"Novembro\" },\n\t{ month: 11, title: \"Dezembro\" },\n];\n\nconst myChart = ref(null);\n\nconst createChart = () => {\n\tconst ctx = myChart.value?.getContext(\"2d\");\n\n\tconst aggregatedData: any = [];\n\tprops.data.forEach((dataItem: any) => {\n\t\tconst existingItem = aggregatedData.find(\n\t\t\t(item: any) => item.title === dataItem.title\n\t\t);\n\t\tif (existingItem) {\n\t\t\texistingItem.value +=\n\t\t\t\tdataItem.type === \"cost\" ? -dataItem.value : dataItem.value;\n\t\t} else {\n\t\t\taggregatedData.push({\n\t\t\t\ttitle: dataItem.title,\n\t\t\t\tvalue: dataItem.value,\n\t\t\t\ttype: dataItem.type,\n\t\t\t\tmonth: dataItem.month,\n\t\t\t});\n\t\t}\n\t});\n\n\tconst monthToTotal: any = {};\n\n\tprops.data.forEach((item: any) => {\n\t\tif (!monthToTotal[item.month]) {\n\t\t\tmonthToTotal[item.month] = 0;\n\t\t}\n\t\tmonthToTotal[item.month] += item.value;\n\t});\n\n\tlet maxMonth = null;\n\tlet maxValue = -Infinity;\n\n\tfor (const month in monthToTotal) {\n\t\tif (monthToTotal[month] > maxValue) {\n\t\t\tmaxValue = monthToTotal[month];\n\t\t\tmaxMonth = month;\n\t\t}\n\t}\n\n\tif (ctx) {\n\t\tmyChart.value = new Chart(ctx, {\n\t\t\ttype: \"bar\",\n\t\t\tdata: {\n\t\t\t\tlabels: months.map((el: any) => el.title),\n\t\t\t\tdatasets: aggregatedData.map((dataItem: any) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tlabel: dataItem.title,\n\t\t\t\t\t\tdata: months.map((el: any) => {\n\t\t\t\t\t\t\tconst matchingData = props.data.find(\n\t\t\t\t\t\t\t\t(item: { title: any; month: any }) =>\n\t\t\t\t\t\t\t\t\titem.title === dataItem.title && item.month === el.month\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tconst value = matchingData ? matchingData.value : 0;\n\t\t\t\t\t\t\tconst valueInTable =\n\t\t\t\t\t\t\t\tdataItem.type === \"revenue\" ? value : value * -1;\n\t\t\t\t\t\t\treturn valueInTable;\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\"#\" + Math.floor(Math.random() * 16777215).toString(16),\n\t\t\t\t\t\tborderWidth: 1,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\tresponsive: true,\n\t\t\t\tinteraction: {\n\t\t\t\t\tintersect: true,\n\t\t\t\t},\n\t\t\t\tscales: {\n\t\t\t\t\tx: {\n\t\t\t\t\t\tbeginAtZero: true,\n\t\t\t\t\t\tstacked: true,\n\t\t\t\t\t},\n\t\t\t\t\ty: {\n\t\t\t\t\t\tmin: -maxValue - 20000,\n\t\t\t\t\t\tmax: maxValue + 20000,\n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tstepSize: 50000,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tstacked: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tplugins: {\n\t\t\t\t\ttooltip: {\n\t\t\t\t\t\tcallbacks: {\n\t\t\t\t\t\t\tlabel: (context: any) => {\n\t\t\t\t\t\t\t\treturn `${context.dataset.label} - ${\n\t\t\t\t\t\t\t\t\tcontext.formattedValue.startsWith(\"-\") ? \"Custo\" : \"Receita\"\n\t\t\t\t\t\t\t\t}: ${context.formattedValue}`;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n};\n\nonMounted(createChart);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"canvas\", {\n ref_key: \"myChart\",\n ref: myChart\n }, null, 512)\n ]))\n}\n}\n\n})","import script from \"./FinancialChart.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FinancialChart.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h2\", { style: {\"display\":\"flex\",\"justify-content\":\"start\",\"color\":\"var(--color-admin-primary)\"} }, \" Receitas e despesas \", -1)\nconst _hoisted_2 = { style: {\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\"} }\n\nimport { revenuesCosts } from \"../../service\";\nimport { usestoreAccountingYears } from \"../../store\";\nimport FinancialChart from \"./FinancialChart.vue\";\nimport { onUnmounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = usestoreAccountingYears();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FinancialChart, {\n data: _unref(store).revenuesCosts,\n style: {\"width\":\"80%\"}\n }, null, 8, [\"data\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-42db228b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = { class: \"total-field\" }\n\nimport Spinner from \"../../../../../components/Atoms/Spinner.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport IcDownload from \"../../../../../components/icons/IcDownload.vue\";\nimport IcEdit from \"../../../../../components/icons/IcEdit.vue\";\nimport IcTrash from \"../../../../../components/icons/IcTrash.vue\";\nimport formatCurrency from \"../../../../../helpers/formatCurrency\";\nimport { IAccountingYear } from \"../../../../../interface/accountingYear\";\nimport {\n\tdeleteEffectiveRevenues,\n\tgetAccountingYear,\n\tgetEffectiveRevenues,\n\trevenuesCosts,\n} from \"../../service\";\nimport { usestoreAccountingYears } from \"../../store\";\nimport { getContentUrl } from \"@/helpers/abrafarmaApi\";\nimport { ref, onUnmounted, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeAccountingYears = usestoreAccountingYears();\n\nconst miniSpinner = ref(false);\nconst router = useRouter();\nconst route = useRoute();\nconst toast = useToast();\n\nconst updateAccountingYear = (accountingYear: IAccountingYear) => {\n\tstoreAccountingYears.setAccountingYearToUpdate(accountingYear);\n\tstoreAccountingYears.setTab(\"Form\");\n};\n\nfunction downloadReceipt(fileId: string) {\n\tconst downloadReceipt = `${getContentUrl()}/${fileId}`;\n\twindow.open(downloadReceipt);\n}\n\nconst search = (value: string) => {\n\tstoreAccountingYears.setSearch(value);\n\tminiSpinner.value = true;\n\n\tstoreAccountingYears.setSpinner(true);\n\tminiSpinner.value = false;\n\n\tgetEffectiveRevenues(\n\t\trouter.currentRoute.value.params.id,\n\t\tstoreAccountingYears.setEffectiveRevenues,\n\t\tstoreAccountingYears.search,\n\t\t() => {\n\t\t\tstoreAccountingYears.setSpinner(false);\n\t\t}\n\t);\n};\n\nconst tableActions = [\n\t{\n\t\ttitle: \"Detalhes\",\n\t\ticon: IcEdit,\n\t\tonClick: (accountingYear: any) => {\n\t\t\tstoreAccountingYears.setEffectiveToUpdate(accountingYear);\n\t\t\trouter.push(`/revenues/${route.params.id}/${accountingYear.id}`);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Download Arquivo\",\n\t\ticon: IcDownload,\n\t\tonClick: (companyData: any) => {\n\t\t\tif (!companyData.file) {\n\t\t\t\ttoast.error(\"Sem anexo disponível para download\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tdownloadReceipt(companyData.file);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Excluir\",\n\t\ticon: IcTrash,\n\t\tonClick: (accountingYear: any) => {\n\t\t\tdeleteEffectiveRevenues(\n\t\t\t\taccountingYear.id,\n\t\t\t\trouter.currentRoute.value.params.id\n\t\t\t);\n\t\t},\n\t},\n];\n\nconst columns = [\n\t{\n\t\ttitle: \"Empresa\",\n\t\tvalue: \"companyName\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Forma de Pagamento\",\n\t\tvalue: \"formPayment\",\n\t\tid: 3,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Tipo Receita\",\n\t\tvalue: \"revenue\",\n\t\tid: 5,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Situação\",\n\t\tvalue: \"situationLabel\",\n\t\tid: 6,\n\t\tsort: true,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Arquivo\",\n\t\tvalue: \"fileName\",\n\t\tid: 7,\n\t\tsort: false,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Valor Contrato\",\n\t\tvalue: \"valueFormat\",\n\t\tid: 8,\n\t\tsort: true,\n\t\twidth: \"10%\",\n\t},\n];\n\nconst getSomaTotal = (value: any[]) => {\n\tlet sum = 0;\n\n\tvalue.forEach((el: any) => {\n\t\tsum += Number(el.contract_value);\n\t});\n\n\treturn formatCurrency(sum);\n};\n\nonUnmounted(() => {\n\tsearch(\"\");\n});\n\nonMounted(() => {\n\tsearch(\"\");\n\trevenuesCosts(\n\t\tstoreAccountingYears.setRevenuesCosts,\n\t\tstoreAccountingYears.selectedYear,\n\t\tfalse,\n\t\t() => {}\n\t);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(storeAccountingYears).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(storeAccountingYears) && _unref(storeAccountingYears).effectiveRevenues)\n ? (_openBlock(), _createBlock(Table, {\n key: 1,\n style: {\"max-height\":\"60vh\"},\n columns: columns,\n rows: _unref(storeAccountingYears).effectiveRevenues,\n tableActions: tableActions,\n onOnsort: _cache[0] || (_cache[0] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_unref(storeAccountingYears).setEffectiveRevenues(\n\t\t\t\t\t\t_unref(storeAccountingYears).effectiveRevenues.sort((a, b) => {\n\t\t\t\t\t\t\tif (direction === 'asc') {\n\t\t\t\t\t\t\t\tif (a[column] > b[column]) return 1;\n\t\t\t\t\t\t\t\tif (a[column] < b[column]) return -1;\n\t\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (a[column] < b[column]) return 1;\n\t\t\t\t\t\t\t\tif (a[column] > b[column]) return -1;\n\t\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_2, \" Total: \" + _toDisplayString(getSomaTotal(\n\t\t\t\t\t_unref(storeAccountingYears) && _unref(storeAccountingYears).effectiveRevenues\n\t\t\t\t)), 1)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=42db228b&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-42db228b\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-454d168d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"gap\":\"2vw\",\"width\":\"100%\",\"justify-content\":\"space-between\",\"margin-bottom\":\"1rem\"} }\nconst _hoisted_2 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"} }\nconst _hoisted_3 = { class: \"back\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"gap\":\"20px\"} }\nconst _hoisted_6 = {\n class: \"form-layout\",\n style: {\"width\":\"96%\",\"max-height\":\"75vh\"}\n}\nconst _hoisted_7 = {\n key: 0,\n class: \"tabs\"\n}\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport MenuTable from \"../../../../components/Organism/Table/menu.vue\";\nimport IcArrowLeft from \"../../../../components/icons/IcArrowLeft.vue\";\nimport IcCurrent from \"../../../../components/icons/IcCurrent.vue\";\nimport IcEditVue from \"../../../../components/icons/IcEdit.vue\";\nimport IcTrashVue from \"../../../../components/icons/IcTrash.vue\";\nimport Form from \"../Form/index.vue\";\nimport { getAccountingYearById, getRevenuesCosts } from \"../service\";\nimport { deleteAccountingYearApi, usestoreAccountingYears } from \"../store\";\nimport Dashboard from \"./Dashboard/index.vue\";\nimport Revenue from \"./Register/Revenue/index.vue\";\nimport Register from \"./Register/index.vue\";\nimport { onMounted, ref } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = usestoreAccountingYears();\nconst route = useRoute();\nconst router = useRouter();\nconst params: any = route.params.id;\nconst tableActions = [\n\t{\n\t\ticon: IcEditVue,\n\t\ttitle: \"Editar\",\n\t\tonClick: () => {\n\t\t\tstore.setTab(\"register-form\");\n\t\t\tgetAccountingYearById(params, store.setAccountingYearToUpdate, \"\", () => {\n\t\t\t\tstore.setSpinner(false);\n\t\t\t});\n\t\t},\n\t},\n\t{\n\t\ticon: IcTrashVue,\n\t\ttitle: \"Excluir\",\n\t\tonClick: () => {\n\t\t\trouter.push(\"/revenues\");\n\t\t\tstore.setTab(\"List\");\n\t\t\tstore.deleteAccountingYear(params);\n\t\t},\n\t},\n];\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\",\"cursor\":\"pointer\"},\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\n\t\t\t\t\t_unref(store).setTab('List');\n\t\t\t\t\t_unref(router).push(`/revenues`);\n\t\t\t\t})\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(IcArrowLeft)\n ]),\n _hoisted_4\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => {\n\t\t\t\t\t_unref(store).tab = 'revenue-register';\n\t\t\t\t\t_unref(store).setEffectiveToUpdate({});\n\t\t\t\t})\n }, {\n default: _withCtx(() => [\n _createVNode(IcCurrent),\n _createTextVNode(\" Cadastrar Receita \")\n ]),\n _: 1\n }),\n _createVNode(MenuTable, {\n handleActions: tableActions,\n user: {}\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_unref(store).tab !== 'register-form' && _unref(store).tab !== 'revenue-register')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", \n\t\t\t\t\t_unref(store).tab === 'register' || _unref(store).tab === 'List' ? 'tab-selected' : ''\n\t\t\t\t]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(store).tab = 'register'))\n }, \" CADASTRO \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", _unref(store).tab === 'dashboard' ? 'tab-selected' : '']),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_unref(store).tab = 'dashboard'))\n }, \" DASHBOARD FINANCEIRO \", 2)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'register' || _unref(store).tab === 'List')\n ? (_openBlock(), _createBlock(Register, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'register-form')\n ? (_openBlock(), _createBlock(Form, { key: 2 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'revenue-register')\n ? (_openBlock(), _createBlock(Revenue, { key: 3 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'dashboard')\n ? (_openBlock(), _createBlock(Dashboard, { key: 4 }))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=454d168d&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-454d168d\"]])\n\nexport default __exports__","let interval: number;\n\nexport const debounce = (callBack: any, time = 1000) => {\n\treturn ((...args: any[]) => {\n\t\tclearInterval(interval);\n\t\tinterval = setTimeout(() => {\n\t\t\tcallBack(...args);\n\t\t}, time);\n\t})();\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1b24c30b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport Spinner from \"../../../../components/Atoms/Spinner.vue\";\nimport Table from \"../../../../components/Organism/Table/table.vue\";\nimport IcEdit from \"../../../../components/icons/IcEdit.vue\";\nimport IcSearch from \"../../../../components/icons/IcSearch.vue\";\nimport IcTrash from \"../../../../components/icons/IcTrash.vue\";\nimport IcVerticalDots from \"../../../../components/icons/IcVerticalDots.vue\";\nimport { debounce } from \"../../../../helpers/debounce\";\nimport { IAccountingYear } from \"../../../../interface/accountingYear\";\nimport { getAccountingYear } from \"../service\";\nimport { ROLES, usestoreAccountingYears } from \"../store\";\nimport { defineComponent, onUnmounted, ref, watch } from \"vue\";\nimport { useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeAccountingYears = usestoreAccountingYears();\n\nconst miniSpinner = ref(false);\n\nconst updateAccountingYear = (accountingYear: IAccountingYear) => {\n\tstoreAccountingYears.setAccountingYearToUpdate(accountingYear);\n\tstoreAccountingYears.setTab(\"Form\");\n};\n\nconst search = (value: string) => {\n\tstoreAccountingYears.setSearch(value);\n\tminiSpinner.value = true;\n\tconst TRHEE_SECONDS = 1 * 1000;\n\tdebounce(() => {\n\t\tstoreAccountingYears.setSpinner(true);\n\t\tminiSpinner.value = false;\n\n\t\tgetAccountingYear(\n\t\t\tstoreAccountingYears.setAccountingYears,\n\t\t\tstoreAccountingYears.search,\n\t\t\t() => {\n\t\t\t\tstoreAccountingYears.setSpinner(false);\n\t\t\t}\n\t\t);\n\t}, TRHEE_SECONDS);\n};\n\nconst router = useRouter();\nconst tableActions = [\n\t{\n\t\ttitle: \"Editar\",\n\t\ticon: IcEdit,\n\t\tonClick: (accountingYear: any) => {\n\t\t\tstoreAccountingYears.setSelectedYear(accountingYear.year);\n\t\t\tstoreAccountingYears.setTab(\"register\");\n\t\t\trouter.push(`/revenues/${accountingYear.id}`);\n\t\t},\n\t},\n];\n\nconst columns = [\n\t{\n\t\ttitle: \"Ano\",\n\t\tvalue: \"year\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Descrição\",\n\t\tvalue: \"description\",\n\t\tid: 3,\n\t\tsort: true,\n\t\twidth: \"40%\",\n\t},\n\t{\n\t\ttitle: \"Valor total dos contratos\",\n\t\tvalue: \"value\",\n\t\tid: 3,\n\t\tsort: false,\n\t\twidth: \"25%\",\n\t},\n];\n\nonUnmounted(() => {\n\tstoreAccountingYears.setSearch(\"\");\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(storeAccountingYears).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _unref(storeAccountingYears).search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (search($event.target.value)))\n }, null, 8, [\"value\"]),\n (miniSpinner.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createBlock(IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_unref(storeAccountingYears) && _unref(storeAccountingYears).accountingYears)\n ? (_openBlock(), _createBlock(Table, {\n key: 1,\n columns: columns,\n overflowX: \"auto\",\n rows: _unref(storeAccountingYears).accountingYears,\n tableActions: tableActions,\n onOnsort: _cache[1] || (_cache[1] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_unref(getAccountingYear)(\n\t\t\t\t\t\t_unref(storeAccountingYears).setAccountingYears,\n\t\t\t\t\t\t_unref(storeAccountingYears).search,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t_unref(storeAccountingYears).setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{ order: column, direction: direction }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=1b24c30b&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1b24c30b\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b95a530a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 20px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport IcCurrent from \"../../../components/icons/IcCurrent.vue\";\nimport IcDoubleUser from \"../../../components/icons/IcDoubleUser.vue\";\nimport Form from \"./Form/index.vue\";\nimport List from \"./List/index.vue\";\nimport { getAccountingYear } from \"./service\";\nimport { ROLES, usestoreAccountingYears } from \"./store\";\nimport { onBeforeMount, onUnmounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeAccountingYears = usestoreAccountingYears();\n\nonBeforeMount(() => {\n\tgetAccountingYear(\n\t\tstoreAccountingYears.setAccountingYears,\n\t\tstoreAccountingYears.search,\n\t\t() => {\n\t\t\tstoreAccountingYears.setSpinner(false);\n\t\t}\n\t);\n});\n\nonUnmounted(() => {});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeAccountingYears).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(storeAccountingYears).tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeAccountingYears).setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeAccountingYears).tab === 'List')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(storeAccountingYears).setTab('Form')))\n }, {\n default: _withCtx(() => [\n _createVNode(IcCurrent),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_unref(storeAccountingYears).tab === 'List' ? List : Form)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=b95a530a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-b95a530a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f8e0455e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/atividade-premium?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f8e0455e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f8e0455e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d7cfdeb2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/checklist?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=d7cfdeb2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-d7cfdeb2\"]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./IcDoubleUser.vue?vue&type=template&id=b89e6d1e\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { HttpAdapterCustomer, urlOldApi } from \"@/helpers\";\n\nexport const getClassification = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/classification${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const postClassification = async (\n\tsetValue: (p: any) => void,\n\tcallback: () => void\n): Promise => {\n\tconst data = await HttpAdapterCustomer.post({\n\t\turl: `admin/classification`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\t// setValue(data);\n};\n\nexport const loadPositionsType = async (\n\tsetValue: any,\n\tcallback: () => void\n) => {\n\tawait fetch(`${urlOldApi}/admin/positionType`)\n\t\t.then((response) => {\n\t\t\tcallback();\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => setValue(data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => callback());\n};\n\nexport const loadCompaniesType = async (\n\tsetValue: any,\n\tcallback: () => void\n) => {\n\tawait fetch(`${urlOldApi}/admin/companyType`)\n\t\t.then((response) => {\n\t\t\tcallback()\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => setValue(data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => callback());\n};\n\nexport const loadSponsorshipsType = async (\n\tsetValue: any,\n\tcallback: () => void\n) => {\n\tawait fetch(`${urlOldApi}/admin/sponsorshipType`)\n\t\t.then((response) => {\n\t\t\tcallback();\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => setValue(data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => {\n\t\t\tcallback();\n\t\t});\n};\n","import { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { IClassification } from \"@/interface/classification\";\nimport { ICompanyType } from \"@/interface/companyType\";\nimport { IPositionType } from \"@/interface/positionType\";\nimport { ISponsorshipType } from \"@/interface/sponsorshipType\";\nimport { defineStore } from \"pinia\";\nimport { useToast } from \"vue-toastification\";\n\nconst initialData: any = {\n\tcompany_types: [],\n\tname: \"\",\n\tposition_types: [],\n\tsponsorship_types: [],\n};\n\nexport const useClassificationStore = defineStore(\"useClassificationStore\", {\n\tstate: () => ({\n\t\tclassification: [] as IClassification[],\n\t\ttab: \"List\" as \"List\" | \"Form\",\n\t\ttabForm: \"position-type\" as\n\t\t\t| \"position-type\"\n\t\t\t| \"company-type\"\n\t\t\t| \"sponsorship-type\",\n\t\tclassificationToUpdate: initialData,\n\t\tsearch: \"\",\n\t\tspinner: false,\n\t\tpositionType: [] as IPositionType[],\n\t\tcompanyType: [] as ICompanyType[],\n\t\tsponsorshipType: [] as ISponsorshipType[],\n\t\tconfirmDeleteOne: false,\n\t\tconfirmDeleteOneId: \"\",\n\t}),\n\n\tactions: {\n\t\tsetClassification(classification: IClassification[]) {\n\t\t\tthis.classification = classification.map((item) => {\n\t\t\t\titem.position =\n\t\t\t\t\titem.position_types\n\t\t\t\t\t\t?.map((item) => item.name)\n\t\t\t\t\t\t.join(\",\")\n\t\t\t\t\t\t.substring(0, 80) + \"...\";\n\t\t\t\titem.company = item.company_types?.map((item) => item.name).join(\",\");\n\t\t\t\titem.sponsorship = item.sponsorship_types\n\t\t\t\t\t?.map((item) => item.name)\n\t\t\t\t\t.join(\",\");\n\t\t\t\treturn item;\n\t\t\t});\n\t\t},\n\t\tsetValueInClassificationToUpdate(key: string, value: any) {\n\t\t\tif (!this.classificationToUpdate) this.classificationToUpdate = {} as any;\n\t\t\t(this.classificationToUpdate as any)[key] = value;\n\t\t},\n\t\tsetClassificationToUpdate(classification: IClassification | undefined) {\n\t\t\tthis.classificationToUpdate = classification\n\t\t\t\t? classification\n\t\t\t\t: initialData;\n\t\t},\n\t\tupdateClassification(classification: IClassification) {\n\t\t\tconst index = this.classification.findIndex(\n\t\t\t\t(u) => u.id === classification.id\n\t\t\t);\n\t\t\tthis.classification[index] = classification;\n\t\t},\n\t\tsetTab(tab: \"List\" | \"Form\") {\n\t\t\tif (tab === \"List\") this.setClassificationToUpdate(undefined);\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetTabForm(tabForm: \"position-type\" | \"company-type\" | \"sponsorship-type\") {\n\t\t\tif (tabForm === \"position-type\") {\n\t\t\t\tthis.tabForm = \"position-type\";\n\t\t\t}\n\t\t\tif (tabForm === \"company-type\") {\n\t\t\t\tthis.tabForm = \"company-type\";\n\t\t\t}\n\t\t\tif (tabForm === \"sponsorship-type\") {\n\t\t\t\tthis.tabForm = \"sponsorship-type\";\n\t\t\t}\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tsetPositionType(positionType: any) {\n\t\t\tthis.positionType = positionType.filter((el: any) => el.name);\n\t\t},\n\t\tsetCompanyType(companyType: any) {\n\t\t\tthis.companyType = companyType.filter((el: any) => el.name);\n\t\t},\n\t\tsetSponsorshipType(sponsorshipType: any) {\n\t\t\tthis.sponsorshipType = sponsorshipType.filter((el: any) => el.name);\n\t\t},\n\t\tchangeInput(\n\t\t\tevent: any,\n\t\t\titem: any,\n\t\t\ttype: \"position_types\" | \"company_types\" | \"sponsorship_types\"\n\t\t) {\n\t\t\tconst selected = this.classificationToUpdate[type];\n\n\t\t\tif (event) {\n\t\t\t\tif (!selected.map((el: any) => el.id).includes(item.id)) {\n\t\t\t\t\tselected.push(item);\n\t\t\t\t\tthis.setValueInClassificationToUpdate(type, selected);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (selected.map((el: any) => el.id).includes(item.id)) {\n\t\t\t\t\tconst index = selected.map((el: any) => el.id).indexOf(item.id);\n\t\t\t\t\tselected.splice(index, 1);\n\t\t\t\t\tthis.setValueInClassificationToUpdate(type, selected);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tshowConfirmDeleteOne(id: string, confirm: boolean) {\n\t\t\tthis.confirmDeleteOneId = id;\n\t\t\tthis.confirmDeleteOne = confirm;\n\t\t},\n\t\tonConfirmDeleteOne() {\n\t\t\tthis.setSpinner(true);\n\t\t\tdeleteClassificationApi(this.confirmDeleteOneId, () => {\n\t\t\t\tthis.setSpinner(false);\n\t\t\t\tgetClassification(this.setClassification, this.search, () => {});\n\t\t\t\tthis.showConfirmDeleteOne(\"\", false);\n\t\t\t});\n\t\t},\n\t},\n});\n\nexport const getClassification = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/classification${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tsetValue(data);\n\tcallback();\n};\n\nexport const deleteClassificationApi = async (\n\tid: string,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/classification/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\tconst storeClassification = useClassificationStore();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao excluir uma classificação\");\n\ttoast.success(\"Classificação excluída com sucesso!\");\n\tgetClassification(\n\t\tstoreClassification.setClassification,\n\t\tstoreClassification.search,\n\t\t() => {\n\t\t\tstoreClassification.setSpinner(false);\n\t\t}\n\t);\n\tcallback();\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-20d38a1e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = {\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\",\"flex-wrap\":\"wrap\"},\n class: \"checkbox-list\"\n}\nconst _hoisted_3 = { class: \"row-checkbox\" }\nconst _hoisted_4 = { class: \"checkbox\" }\n\nimport { useClassificationStore } from \"../../store\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyType',\n setup(__props) {\n\nconst store = useClassificationStore();\nconst companyType = useClassificationStore().companyType;\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(companyType), (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.id,\n style: {\"display\":\"flex\",\"width\":\"30%\"}\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: item.name,\n type: \"checkbox\",\n label: \"\",\n class: \"input-checkbox\",\n checked: _unref(store).classificationToUpdate.company_types.map((el) => el.id).includes(item.id),\n onChange: \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(store).changeInput(event, item, 'company_types');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n }, null, 8, [\"name\", \"checked\", \"onChange\"]),\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1)\n ])\n ])\n ]))\n }), 128))\n ])\n ]))\n}\n}\n\n})","import script from \"./CompanyType.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyType.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CompanyType.vue?vue&type=style&index=0&id=20d38a1e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-20d38a1e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7c623967\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n style: {\"width\":\"100%\"}\n}\nconst _hoisted_2 = {\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\",\"flex-wrap\":\"wrap\"},\n class: \"checkbox-list\"\n}\nconst _hoisted_3 = { class: \"row-checkbox\" }\nconst _hoisted_4 = { class: \"checkbox\" }\n\nimport { loadPositionsType } from \"../../service\";\nimport { useClassificationStore } from \"../../store\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport { onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PositionType',\n setup(__props) {\n\nconst store = useClassificationStore();\nconst positionType = useClassificationStore().positionType;\n\nonMounted(() => {\n\tstore.setSpinner(true);\n\tloadPositionsType(store.setPositionType, () => {});\n\tstore.setSpinner(false);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (!_unref(store).spinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: \"Nome da Classificação*\",\n placeholder: \"Nome da Classificação\",\n name: \"name\",\n value: _unref(store).classificationToUpdate.name,\n onOnchange: _cache[0] || (_cache[0] = \n\t\t\t\t(event) => {\n\t\t\t\t\t_unref(store).setValueInClassificationToUpdate('name', event);\n\t\t\t\t}\n\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(store).positionType, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.id,\n style: {\"display\":\"flex\",\"width\":\"30%\"}\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: item.name,\n type: \"checkbox\",\n label: \"\",\n class: \"input-checkbox\",\n checked: _unref(store).classificationToUpdate.position_types.map((el) => el.id).includes(item.id),\n onChange: \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(store).changeInput(event, item, 'position_types');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n }, null, 8, [\"name\", \"checked\", \"onChange\"]),\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1)\n ])\n ])\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./PositionType.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PositionType.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PositionType.vue?vue&type=style&index=0&id=7c623967&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7c623967\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5116857e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = {\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\",\"flex-wrap\":\"wrap\"},\n class: \"checkbox-list\"\n}\nconst _hoisted_3 = { class: \"row-checkbox\" }\nconst _hoisted_4 = { class: \"checkbox\" }\n\nimport { useClassificationStore } from \"../../store\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SponsorshipType',\n setup(__props) {\n\nconst store = useClassificationStore();\nconst sponsorshipType = useClassificationStore().sponsorshipType;\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(sponsorshipType), (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.id,\n style: {\"display\":\"flex\",\"width\":\"30%\"}\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: item.name,\n type: \"checkbox\",\n label: \"\",\n class: \"input-checkbox\",\n checked: _unref(store).classificationToUpdate.sponsorship_types.map((el) => el.id).includes(item.id),\n onChange: \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(store).changeInput(event, item, 'sponsorship_types');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n }, null, 8, [\"name\", \"checked\", \"onChange\"]),\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1)\n ])\n ])\n ]))\n }), 128))\n ])\n ]))\n}\n}\n\n})","import script from \"./SponsorshipType.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SponsorshipType.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SponsorshipType.vue?vue&type=style&index=0&id=5116857e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5116857e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5030f2aa\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form-layout\" }\nconst _hoisted_2 = [\"onSubmit\"]\nconst _hoisted_3 = { class: \"tabs\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"mini_spinner\"\n}\nconst _hoisted_5 = { class: \"content\" }\nconst _hoisted_6 = { class: \"row\" }\n\nimport {\n\tgetClassification,\n\tloadCompaniesType,\n\tloadPositionsType,\n\tloadSponsorshipsType,\n} from \"../service\";\nimport { useClassificationStore } from \"../store\";\nimport CompanyType from \"./Tabs/CompanyType.vue\";\nimport PositionType from \"./Tabs/PositionType.vue\";\nimport SponsorshipType from \"./Tabs/SponsorshipType.vue\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { onMounted, reactive, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useClassificationStore();\nconst toast = useToast();\nconst state = reactive({\n\ttab: \"position-type\",\n\tstoreClassification: useClassificationStore(),\n});\n\nconst handleSubmit = async () => {\n\tstore.setSpinner(true);\n\n\tdelete store.classificationToUpdate.company;\n\tdelete store.classificationToUpdate.position;\n\tdelete store.classificationToUpdate.sponsorship;\n\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/classification\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(store.classificationToUpdate),\n\t});\n\tstore.setSpinner(false);\n\tif (!response.ok) {\n\t\treturn toast.error(data.message || \"Erro ao cadastrar uma classificação\");\n\t}\n\ttoast.success(\"Classificação atualizada com sucesso\");\n\tstore.setTab(\"List\");\n\tgetClassification(store.setClassification, store.search, () => {\n\t\tstore.setSpinner(false);\n\t});\n};\n\nonMounted(() => {\n\tstore.setSpinner(true);\n\tloadPositionsType(store.setPositionType, () => {\n\t\tloadCompaniesType(store.setCompanyType, () => {\n\t\t\tloadSponsorshipsType(store.setSponsorshipType, () => {\n\t\t\t\tstore.setSpinner(false);\n\t\t\t});\n\t\t});\n\t});\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(store).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : (_openBlock(), _createElementBlock(\"form\", {\n key: 1,\n onSubmit: _withModifiers(handleSubmit, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", state.tab === 'position-type' ? 'tab-selected' : '']),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (state.tab = 'position-type'))\n }, \" TIPOS DE CARGO \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", state.tab === 'type-company' ? 'tab-selected' : '']),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (state.tab = 'type-company'))\n }, \" TIPOS DE EMPRESAS \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", state.tab === 'type-sponsorship' ? 'tab-selected' : '']),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (state.tab = 'type-sponsorship'))\n }, \" TIPOS DE PATROCÍNIO \", 2)\n ]),\n (_unref(store).spinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n (state.tab === 'position-type')\n ? (_openBlock(), _createBlock(PositionType, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (state.tab === 'type-company')\n ? (_openBlock(), _createBlock(CompanyType, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (state.tab === 'type-sponsorship')\n ? (_openBlock(), _createBlock(SponsorshipType, { key: 2 }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[3] || (_cache[3] = ($event: any) => (state.storeClassification.setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_2))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5030f2aa&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5030f2aa\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3130eb16\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nimport { getClassification, useClassificationStore } from \"../store\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcEdit from \"@/components/icons/IcEdit.vue\";\nimport IcSearch from \"@/components/icons/IcSearch.vue\";\nimport IcTrash from \"@/components/icons/IcTrash.vue\";\nimport { onMounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeClassification = useClassificationStore();\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Tipos de cargo\",\n\t\tvalue: \"position\",\n\t\tid: 3,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Tipos de empresa\",\n\t\tvalue: \"company\",\n\t\tid: 4,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Tipos de patrocínio\",\n\t\tvalue: \"sponsorship\",\n\t\tid: 5,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n];\nconst tableActions = [\n\t{\n\t\ttitle: \"Editar\",\n\t\ticon: IcEdit,\n\t\tonClick: (row: any) => {\n\t\t\tstoreClassification.setTab(\"Form\"),\n\t\t\t\tstoreClassification.setClassificationToUpdate(row);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Excluir\",\n\t\ticon: IcTrash,\n\t\tonClick: (row: any) => {\n\t\t\tstoreClassification.showConfirmDeleteOne(row.id, true);\n\t\t},\n\t},\n];\n\nconst miniSpinner = ref(false);\n\nonMounted(() => {\n\tstoreClassification.setSpinner(true);\n\tgetClassification(\n\t\tstoreClassification.setClassification,\n\t\tstoreClassification.search,\n\t\t() => {\n\t\t\tstoreClassification.setSpinner(false);\n\t\t}\n\t);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(storeClassification).confirmDeleteOne)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja\\n\\t\\texcluir essa classificação?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeClassification).onConfirmDeleteOne();\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeClassification).showConfirmDeleteOne('', false);\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (miniSpinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 1 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\"\n }),\n (miniSpinner.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createBlock(IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n _createVNode(Table, {\n columns: columns,\n overflowX: \"hidden\",\n rows: _unref(storeClassification).classification,\n tableActions: tableActions\n }, null, 8, [\"rows\"])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3130eb16&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3130eb16\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f10d5e14\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 20px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport IcDoubleUser from \"../../../components/icons/IcDoubleUser.vue\";\nimport IcSearch from \"../../../components/icons/IcSearch.vue\";\nimport Form from \"./Form/index.vue\";\nimport List from \"./List/index.vue\";\nimport { useClassificationStore } from \"./store\";\nimport { onUnmounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeClassification = useClassificationStore();\n\nfunction carregarInfo() {\n\tstoreClassification.setClassificationToUpdate(undefined);\n}\n\nonUnmounted(() => {\n\tstoreClassification.setTab(\"List\");\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeClassification).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(storeClassification).tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeClassification).setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeClassification).tab === 'List')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(storeClassification).setTab('Form'), carregarInfo()))\n }, {\n default: _withCtx(() => [\n _createVNode(IcDoubleUser, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_unref(storeClassification).tab === 'List' ? List : Form)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f10d5e14&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f10d5e14\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9c6269c8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/event-company?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=9c6269c8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9c6269c8\"]])\n\nexport default __exports__","\n\n\n","\n\n","import { render } from \"./IcReturn.vue?vue&type=template&id=f2455fa0\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export interface IContractBenefits {\n\tid:number,\n\tname: string\n}\n\nexport interface IContractDetails {\n\taction: string;\n\tcategory: string;\n\tclassification: string;\n\tdescription: string;\n\tid: string;\n\titem_description: string\n\titem_value: string\n\tmodel_id: string\n\tgreen?: boolean\n\tgold?:boolean\n\tplatinum?: boolean\n\tblue?: boolean\n\tblack?:boolean\n}\n\n\nexport enum enTypeContract {\n green = 1,\n blue = 2,\n gold = 4,\n platinum = 8,\n black = 16\n}","import Toast, { useToast } from 'vue-toastification';\nimport { defineStore } from 'pinia';\n\nimport { IContractBenefits, IContractDetails } from './interface';\nimport { HttpAdapterCustomer } from '@/helpers';\nimport { deleteContractBenefitApi, deleteContractDetailApi } from './service';\n\nexport const useStoreContractBenefits = defineStore('contractBenefits', {\n\tstate: () => ({\n\t\tcontractBenefits: [] as IContractBenefits[],\n\t\ttab: 'List' as 'List' | 'Form',\n\t\ttabDetails:'List' as 'List' | 'Form',\n\t\tcontractBenefitToUpdate: undefined as IContractBenefits | undefined,\n\t\tsearch: '',\n\t\tspinner: false,\n\t\tcontractDetails: [] as IContractDetails[],\n\t\tcontractDetailsToUpdate: undefined as IContractDetails | undefined\n\t}),\n\tactions: {\n\t\tsetContractDetails(contractDetails:IContractDetails[]){\n\t\t\tthis.contractDetails = contractDetails.map((el) => {\n\t\t\t\tel.green = setCategory('Green',Number(el.category))\n\t\t\t\tel.blue = setCategory('Blue',Number(el.category))\n\t\t\t\tel.gold = setCategory('Gold',Number(el.category))\n\t\t\t\tel.platinum = setCategory('Platinum',Number(el.category))\n\t\t\t\tel.black = setCategory('Black',Number(el.category))\n\n\t\t\t\treturn el\n\t\t\t})\n\t\t},\n\t\tupdateContractDetails(contractBenefit: IContractDetails) {\n\t\t\tconst index = this.contractDetails.findIndex((u) => u.id === contractBenefit.id);\n\t\t\tthis.contractDetails[index] = contractBenefit;\n\t\t},\n\t\tsetContractDetailsToUpdate(contractDetails: IContractDetails | undefined) {\n\t\t\tthis.contractDetailsToUpdate = contractDetails;\n\t\t},\n\t\tsetContractBenefits(contractBenefits: IContractBenefits[]) {\n\t\t\tthis.contractBenefits = contractBenefits.map((el) => {\n\t\t\t\treturn el\n\t\t\t});\n\t\t},\n\t\taddContractBenefit(contractBenefit: IContractBenefits) {\n\t\t\tthis.contractBenefits.push(contractBenefit);\n\t\t},\n\t\tupdateContractBenefit(contractBenefit: IContractBenefits) {\n\t\t\tconst index = this.contractBenefits.findIndex((u) => u.id === contractBenefit.id);\n\t\t\tthis.contractBenefits[index] = contractBenefit;\n\t\t},\n\t\tsetContractBenefitToUpdate(contractBenefit: IContractBenefits | undefined) {\n\t\t\tthis.contractBenefitToUpdate = contractBenefit;\n\t\t},\n\t\tsetValueInContractBenefitToUpdate(key: string, value: string) {\n\t\t\tif (!this.contractBenefitToUpdate) this.contractBenefitToUpdate = {} as any;\n\t\t\t(this.contractBenefitToUpdate as any)[key] = value;\n\t\t},\n\t\tsetTab(tab: 'List' | 'Form') {\n\t\t\tif (tab === 'List') this.setContractBenefitToUpdate(undefined);\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetTabDetails(tab: 'List' | 'Form') {\n\t\t\tif (tab === 'List') this.setContractDetailsToUpdate(undefined);\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tdeleteContractBenefit(id:number){\n\t\t\tdeleteContractBenefitApi(id)\n\t\t},\n\t\tdeleteContractDetail(id:number,idModel:string){\n\t\t\tdeleteContractDetailApi(id,idModel)\n\t\t}\n\t},\n});\n\n\nconst setCategory = (category:'Green' | 'Blue' | 'Gold' | 'Platinum' | 'Black',value:number) => {\n\n\tconst categoryOptions = {\n\t\tGreen: [1,3,5,7,9,15,17,31],\n\t\tBlue: [2,3,6,7,10,15,18,31],\n\t\tGold:[4,5,6,7,12,15,20,31],\n\t\tPlatinum: [8,9,10,11,12,15,24,31],\n\t\tBlack: [16,17,18,19,20,23,24,28,30,31]\n\t}\n\n\treturn categoryOptions[category].includes(value)\n\t\n\t\n}\nexport const ROLES = [\n\t{ id: 'admin', role: 'Administrador' },\n\t{ id: 'contractBenefit', role: 'Usuário' },\n\t{ id: 'company_manager', role: 'Gestor' },\n\t{ id: 'organizer', role: 'Organizador' },\n\t{ id: 'stand_builder', role: 'Montadora Oficial' },\n\t{ id: 'coordinator', role: 'Coordenador' },\n];\n\n\n","import { HttpAdapterCustomer } from \"@/helpers\";\nimport { useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\nimport { useStoreContractBenefits } from \"./store\";\n\nconst router = useRouter()\nconst api_url = `admin/contract-model`\nconst api_url_detail = `admin/contract-model`\nconst toast = useToast()\n\nexport const deleteContractBenefitApi = async (id:number) => {\n\tconst {data,response } = await HttpAdapterCustomer.delete({\n\t\turl:`${api_url}/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t}\n\t});\n\n\tconst storeContractBenefits = useStoreContractBenefits()\n\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar usuário');\n\ttoast.success('Usuário Excluido com sucesso');\n\tgetContractBenefit(storeContractBenefits.setContractBenefits, storeContractBenefits.search, () => {\n\t\t\tstoreContractBenefits.setSpinner(false);\n\t\t});\n}\n\nexport const deleteContractDetailApi = async (id:number,idModel:string) => {\n\tconst {data,response } = await HttpAdapterCustomer.delete({\n\t\turl:`${api_url_detail}/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t}\n\t});\n\n\tconst storeContractBenefits = useStoreContractBenefits()\n\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar usuário');\n\ttoast.success('Usuário Excluido com sucesso');\n\tgetContractDetails(idModel,storeContractBenefits.setContractDetails, storeContractBenefits.search, () => {\n\t\t\tstoreContractBenefits.setSpinner(false);\n\t\t});\n}\nexport const getContractBenefit = async (setValue: (p: any) => void, search: string, callback: () => void,\n\t\t\tsort?:{order:string,direction:'asc' | 'desc'}): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : '';\n\tconst direction = sort?.direction? sort.direction:'asc';\n\tconst order = sort?.order? sort.order: 'name'\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `${api_url}${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getContractDetails = async (id:string,setValue: (p: any) => void, search: string, callback: () => void,\n\tsort?:{order:string,direction:'asc' | 'desc'}): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : '';\n\tconst direction = sort?.direction? sort.direction:'asc';\n\tconst order = sort?.order? sort.order: 'name'\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `${api_url_detail}/${id}${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data.benefits);\n};\n\nexport const updateContractDetail= async () => {\n\tconst storeContractBenefits = useStoreContractBenefits()\n\t\t\n\t\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\t\turl: api_url_detail,\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'admin_token',\n\t\t\t},\n\t\t\tbody: JSON.stringify(storeContractBenefits.contractDetailsToUpdate),\n\t\t});\n\t\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar modelo');\n\t\ttoast.success('Modelo Atualizado com sucesso');\n\t\t\tstoreContractBenefits.setTabDetails('List');\n\t\t\tgetContractBenefit(storeContractBenefits.setContractDetails, storeContractBenefits.search, () => {\n\t\t\tstoreContractBenefits.setSpinner(false);\n\t\t});\n}\nexport const updateContractModel = async () => {\n\tconst storeContractBenefits = useStoreContractBenefits()\n\t\t\n\t\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\t\turl: api_url,\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'admin_token',\n\t\t\t},\n\t\t\tbody: JSON.stringify(storeContractBenefits.contractBenefitToUpdate),\n\t\t});\n\t\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar modelo');\n\t\ttoast.success('Modelo Atualizado com sucesso');\n\t\t\tstoreContractBenefits.setTab('List');\n\t\t\tgetContractBenefit(storeContractBenefits.setContractBenefits, storeContractBenefits.search, () => {\n\t\t\tstoreContractBenefits.setSpinner(false);\n\t\t});\n}\n","\n","import { render } from \"./IcInfo.vue?vue&type=template&id=2863cd1e\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcCheck.vue?vue&type=template&id=1ef19ff3\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./index.vue?vue&type=template&id=29aa9bfa&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport \"./index.vue?vue&type=style&index=0&id=29aa9bfa&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-29aa9bfa\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IcFilePlus.vue?vue&type=template&id=efc09a64\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a7bf4024\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../components/Atoms/BaseSelect.vue\";\nimport { HttpAdapterCustomer } from \"../../../../helpers\";\nimport { getContractBenefit, updateContractModel } from \"../service\";\nimport { ROLES, useStoreContractBenefits } from \"../store\";\nimport { onBeforeMount } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeContractBenefits = useStoreContractBenefits();\nconst toast = useToast();\n\nconst submit = async () => {\n\tupdateContractModel();\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Form = _resolveComponent(\"Form\")!\n\n return (_openBlock(), _createBlock(_component_Form, {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: \"form-layout\"\n }, {\n default: _withCtx(() => [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome\",\n maxLength: \n\t\t\t\t(_unref(storeContractBenefits).contractBenefitToUpdate?.name?.length || '0') +\n\t\t\t\t'/100'\n\t\t\t,\n placeholder: \"Nome\",\n value: _unref(storeContractBenefits).contractBenefitToUpdate?.name,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t_unref(storeContractBenefits).setValueInContractBenefitToUpdate(\n\t\t\t\t\t'name',\n\t\t\t\t\t$event.target.value\n\t\t\t\t)\n\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(storeContractBenefits).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"onSubmit\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=a7bf4024&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a7bf4024\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7c3ba62a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_IcSearch = _resolveComponent(\"IcSearch\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.storeContractBenefits.spinner)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _ctx.storeContractBenefits.search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (_ctx.search($event.target.value)))\n }, null, 8, [\"value\"]),\n (_ctx.miniSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createBlock(_component_IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_ctx.storeContractBenefits && _ctx.storeContractBenefits.contractBenefits)\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 1,\n columns: _ctx.columns,\n rows: _ctx.storeContractBenefits.contractBenefits,\n tableActions: _ctx.tableActions,\n onOnsort: _cache[1] || (_cache[1] = (column,direction) => {\n _ctx.getContractBenefit(_ctx.storeContractBenefits.setContractBenefits, _ctx.storeContractBenefits.search, () => {\n _ctx.storeContractBenefits.setSpinner(false);\n },{order:column === 'roleName'?'role':column,direction:direction});\n \n\t\t\t\t})\n }, null, 8, [\"columns\", \"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\n\timport { defineComponent, ref, watch } from 'vue';\n\n\timport { IContractBenefits } from '../interface';\n\timport { ROLES, useStoreContractBenefits } from '../store';\n\timport {getContractBenefit} from '../service'\n\timport BaseButton from '../../../../components/Atoms/BaseButton.vue';\n\timport BaseInput from '../../../../components/Atoms/BaseInput.vue';\n\timport Spinner from '../../../../components/Atoms/Spinner.vue';\n\timport IcSearch from '../../../../components/icons/IcSearch.vue';\n\timport IcTrash from '../../../../components/icons/IcTrash.vue';\n\timport IcEdit from '../../../../components/icons/IcEdit.vue';\n\timport IcInfo from '../../../../components/icons/IcInfo.vue';\n\t\n\n\timport IcVerticalDots from '../../../../components/icons/IcVerticalDots.vue';\n\timport { debounce } from '../../../../helpers/debounce';\n\timport Table from '../../../../components/Organism/Table/table.vue'\n\timport { useRouter } from 'vue-router';\n\n\n export default defineComponent({\n\t\tname: 'MenuTable',\n\t\tcomponents: {\n\t\t\tBaseInput,\n\t\t\tIcTrash,\n IcSearch,\n IcEdit,\n BaseButton,\n\t\t\tTable,\n\t\t\tSpinner\n\t\t},\n\t\tsetup(props) {\n\tconst storeContractBenefits = useStoreContractBenefits();\n\n\tconst miniSpinner = ref(false);\n\n\tconst updateContractBenefit = (contractBenefit: IContractBenefits) => {\n\t\tstoreContractBenefits.setContractBenefitToUpdate(contractBenefit);\n\t\tstoreContractBenefits.setTab('Form');\n\t};\n\n\t\n\n\tconst search = (value: string) => {\n\t\tstoreContractBenefits.setSearch(value);\n\t\tminiSpinner.value = true;\n\t\tconst TRHEE_SECONDS = 1 * 1000;\n\t\tdebounce(() => {\n\t\t\tstoreContractBenefits.setSpinner(true);\n\t\t\tminiSpinner.value = false;\n\t\t\t\n\t\t\tgetContractBenefit(storeContractBenefits.setContractBenefits, storeContractBenefits.search, () => {\n\t\t\t\tstoreContractBenefits.setSpinner(false);\n\t\t\t});\n\t\t}, TRHEE_SECONDS);\n\t};\n\n\tconst router = useRouter()\n\tconst tableActions = [{\n\t\ttitle:'Detalhes',\n\t\ticon: IcInfo,\n\t\tonClick: (contractBenefit:any) => router.push(`/contract/${contractBenefit.id}?name=${contractBenefit.name}`)\n\t},{\n\t\ttitle:'Editar',\n\t\ticon: IcEdit,\n\t\tonClick: (contractBenefit:any) => updateContractBenefit(contractBenefit)\n\t},{\n\t\ttitle:'Excluir',\n\t\ticon:IcTrash,\n\t\tonClick: (contractBenefit:any) => storeContractBenefits.deleteContractBenefit(contractBenefit.id)\n\t}]\n\n\tconst columns = [{\n\t\ttitle:'Nome',\n\t\tvalue:'name',\n\t\tid:1,\n\t\tsort: true,\n\t\twidth:'90%'\n\t}]\n\n return {\n columns,\n\t\t tableActions,\n\t\t storeContractBenefits,\n\t\t miniSpinner,\n\t\t Table,\n\t\t Spinner,\n\t\t search,\n\t\t getContractBenefit\n }\n } \n })\n","import { render } from \"./index.vue?vue&type=template&id=7c3ba62a&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=7c3ba62a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c3ba62a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6c8ff044\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 20px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport IcFilePlus from \"../../../components/icons/IcFilePlus.vue\";\nimport Form from \"./Form/index.vue\";\nimport List from \"./List/index.vue\";\nimport { getContractBenefit } from \"./service\";\nimport { ROLES, useStoreContractBenefits } from \"./store\";\nimport { onBeforeMount, onUnmounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeContractBenefits = useStoreContractBenefits();\nonBeforeMount(() => {\n\tgetContractBenefit(\n\t\tstoreContractBenefits.setContractBenefits,\n\t\tstoreContractBenefits.search,\n\t\t() => {\n\t\t\tstoreContractBenefits.setSpinner(false);\n\t\t}\n\t);\n});\n\nonUnmounted(() => {\n\tstoreContractBenefits.setTab(\"List\");\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeContractBenefits).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, \n\t\t\t\t\t_unref(storeContractBenefits).tab === 'List' ? 'visibility: hidden' : ''\n\t\t\t\t])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeContractBenefits).setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeContractBenefits).tab === 'List')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(storeContractBenefits).setTab('Form')))\n }, {\n default: _withCtx(() => [\n _createVNode(IcFilePlus, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_unref(storeContractBenefits).tab === 'List' ? List : Form)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6c8ff044&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6c8ff044\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ca7455d2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/guests?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=ca7455d2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-ca7455d2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f3b67632\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/costs?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f3b67632&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f3b67632\"]])\n\nexport default __exports__","import { HttpAdapter, HttpAdapterCustomer } from \"@/helpers\";\nimport axios from \"axios\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast();\n\ntype ErrorTypes = {\n\t[key: string]: string;\n};\n\nconst ERROR_DISCOUNT: ErrorTypes = {\n\t\"The discount range already exists. Specify a new unique range\":\n\t\t\"A faixa de desconto já existe. Especifique um novo intervalo exclusivo\",\n};\n\nexport const getCompanies = async (setValue: any, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/event/companies\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const getCoupons = async (\n\tsetValue: any,\n\tevent_company_id: string,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/coupon?event_company_id=${event_company_id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const getCourtesy = async (\n\teventCompanyId: string,\n\tsetValue: any,\n\tcallback: () => void\n): Promise => {\n\tconst resume = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/ticket-batch/list-courtesies?event_company_id=${eventCompanyId}`\n\t);\n\tif (resume.status === 500) return;\n\tcallback();\n\tsetValue(resume.data);\n};\n\nexport const createNewPreRegistrationInBatch = async (\n\tdata: {\n\t\tname: string;\n\t\tenterprise_mail: string;\n\t\tcompany_id: string;\n\t\tevent_id: string;\n\t\tticket_batch_id: string;\n\t},\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst createRegister = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/add-one-registration`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\t\treturn createRegister;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao criar um novo participante no lote\");\n\t}\n};\nexport const updateCourtesyValue = async (\n\teventCompanyId: string,\n\tcourtesy_amount: number,\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst updateCourtesy = await axios.patch(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/update-courtesy/${eventCompanyId}`,\n\t\t\t{ courtesy_amount }\n\t\t);\n\t\tif (callback) callback();\n\t\treturn updateCourtesy;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao atualizar o valor de cortesia para essa empresa\");\n\t}\n};\n\nexport const getTicketBatchByCompany = async (\n\tsetValue: any,\n\teventId: string,\n\tcompanyId: string,\n\tcallback: () => void\n): Promise => {\n\tconst resume = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/ticket-batch/${eventId}/${companyId}`\n\t);\n\tif (resume.status === 500) return;\n\tcallback();\n\tsetValue(resume.data);\n};\n\nexport const sendLinkPaymentBatch = async (\n\tdata: {\n\t\tticketBatchId: string;\n\t\teventId: string;\n\t},\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst sendLink = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/generate-payment-link`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\t\treturn sendLink;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao enviar link de pagamento para este lote\");\n\t}\n};\n\nexport const deletePreRegistrationInBatch = async (\n\tid: string,\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst deleteRegister = await axios.delete(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/${id}`\n\t\t);\n\t\tif (callback) callback();\n\t\treturn deleteRegister;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao excluir um participante no lote\");\n\t}\n};\n\nexport const updateStatusBatch = async (data: any, callback?: () => void) => {\n\ttry {\n\t\tconst statusData = await axios.patch(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/update-status`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\n\t\treturn statusData;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao atualizar status do lote\");\n\t}\n};\n\nexport const createCoupons = async (body: any, callback: () => void) => {\n\tconst { response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/coupon\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(body),\n\t});\n\tif (!response.ok) {\n\t\ttoast.error(\"Erro ao criar cupom!\");\n\t\treturn;\n\t}\n\tcallback();\n};\n\nexport const updateStatusCoupon = async (\n\tid: string,\n\tstatusCoupon: boolean,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.patch({\n\t\turl: `admin/coupon/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify({ is_active: statusCoupon }),\n\t});\n\tif (!response.ok) return;\n\tcallback();\n};\n\nexport const deleteCoupon = async (id: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/coupon/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Não é possível excluir esse cupom!\");\n\tcallback();\n};\n\nexport const getDiscountByCompany = async (\n\tsetValue: any,\n\teventCompanyId: string,\n\tcallback: () => void\n): Promise => {\n\tconst resume = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/ticket-discount/${eventCompanyId}`\n\t);\n\tif (resume.status === 500) return;\n\tcallback();\n\tsetValue(resume.data);\n};\n\nexport const createNewDiscount = async (\n\tdata: {\n\t\tmin_registrations: number;\n\t\tmax_registrations: number;\n\t\tregistration_value: number;\n\t\tevent_company_id: string;\n\t},\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst createDiscount = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-discount/create`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\t\treturn createDiscount;\n\t} catch (error: any) {\n\t\tif (error.response && error.response.data) {\n\t\t\tconsole.error(error.response.data);\n\t\t\ttoast.error(ERROR_DISCOUNT[error.response.data]);\n\t\t} else {\n\t\t\tconsole.error(error);\n\t\t\ttoast.error(\"Erro ao criar um novo desconto progressivo\");\n\t\t}\n\t}\n};\n\nexport const deleteDiscountById = async (id: string, callback?: () => void) => {\n\ttry {\n\t\tconst deleteRegister = await axios.delete(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-discount/${id}`\n\t\t);\n\t\tif (callback) callback();\n\t\treturn deleteRegister;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao excluir um desconto\");\n\t}\n};\n\nexport async function resendEmailTicketBatch(data: any, callback: () => void) {\n\ttry {\n\t\tconst res = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/resend-email`,\n\t\t\tdata\n\t\t);\n\t\tcallback();\n\t\treturn res;\n\t} catch (error: any) {\n\t\ttoast.error(error.response.data);\n\t}\n}\n","import { IBatchList, ISubmitCoupon, ISubmitDiscount } from \"./interface\";\nimport {\n\tdeleteCoupon,\n\tdeleteDiscountById,\n\tgetCoupons,\n\tgetDiscountByCompany,\n\tupdateStatusCoupon,\n} from \"./service\";\nimport { store } from \"@/store\";\nimport { defineStore } from \"pinia\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast();\nconst initialFormCoupon: ISubmitCoupon = {\n\tcode: \"\",\n\tend_date: \"\",\n\tamount_payment: 0,\n\tstart_date: \"\",\n\tavailable_uses: 1,\n\tevent_company_id: \"\",\n};\n\nconst initialFormDiscount: ISubmitDiscount = {\n\tmin_registrations: 0,\n\tmax_registrations: 0,\n\tregistration_value: 0,\n\tevent_company_id: \"\",\n};\n\nconst initialTicketBatch = {\n\tid: \"\",\n\thash: \"\",\n\tcompany_id: \"\",\n\tevent_id: \"\",\n\tfullprice: \"\",\n\talias: \"\",\n\tfinancial_manager_id: \"\",\n\tcomputed_value: \"\",\n};\n\nconst initialFinancialManager = {\n\tid: \"\",\n\tname: \"\",\n\temail: \"\",\n\tphone: \"\",\n\tcpf: \"\",\n\tcompany_id: \"\",\n\tposition_id: \"\",\n\tforeign_document: false,\n};\n\nconst initialValueBatchList: IBatchList[] = [\n\t{\n\t\tticket_batch: initialTicketBatch,\n\t\tfinancial_manager: initialFinancialManager,\n\t\tpre_registration: [],\n\t},\n];\n\nexport const useStoreCoupon = defineStore(\"useStoreCoupon\", {\n\tstate: () => ({\n\t\tspinner: false,\n\t\tsection: \"List\" as \"List\" | \"Details\" | \"Sales\" | \"Discount\",\n\t\topenModal: false,\n\t\topenDiscountModal: false,\n\t\topenCourtesyModal: false,\n\t\tcompaniesNameList: [],\n\t\tcompaniesList: [],\n\t\tcouponList: [],\n\t\tdiscountList: [],\n\t\tbatchList: initialValueBatchList as IBatchList[],\n\t\tcompanyDetails: {\n\t\t\tcompanyName: \"\",\n\t\t\tcompany_id: \"\",\n\t\t\teventCompanyId: \"\",\n\t\t\tevent_id: \"\",\n\t\t},\n\t\tcouponSubmit: { ...initialFormCoupon },\n\t\teventCompanyId: \"\",\n\t\tconfirmDeleteOneCoupon: \"\",\n\t\tconfirmDeleteOne: false,\n\t\tconfirmDeleteOneDiscount: \"\",\n\t\tconfirmDelete: false,\n\t\tnewRegistration: {\n\t\t\tname: \"\",\n\t\t\tcpf: \"\",\n\t\t\tenterprise_mail: \"\",\n\t\t\tcompany_id: \"\",\n\t\t\tevent_id: \"\",\n\t\t\tticket_batch_id: \"\",\n\t\t\tposition: \"\",\n\t\t},\n\t\tnewDiscount: {\n\t\t\t...initialFormDiscount,\n\t\t} as ISubmitDiscount,\n\t\topenModalNewRegistration: false,\n\t\tdeleteMode: false,\n\t\tcourtesyList: {\n\t\t\tcourtesy_tickets_available: 0,\n\t\t\tcourtesy_tickets_used: 0,\n\t\t\tevent_company_id: \"\",\n\t\t},\n\t\tupdateCourtesy: 0,\n\t}),\n\n\tactions: {\n\t\tsetSection(sections: \"List\" | \"Details\" | \"Sales\" | \"Discount\") {\n\t\t\tthis.section = sections;\n\t\t\tif (this.section === \"List\") {\n\t\t\t\tthis.couponList = [];\n\t\t\t\tthis.companyDetails = {\n\t\t\t\t\tcompanyName: \"\",\n\t\t\t\t\tcompany_id: \"\",\n\t\t\t\t\teventCompanyId: \"\",\n\t\t\t\t\tevent_id: \"\",\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\tsetSpinner(spinnerStatus: boolean) {\n\t\t\tthis.spinner = spinnerStatus;\n\t\t},\n\t\tsetOpenModal(open: boolean) {\n\t\t\tthis.openModal = open;\n\t\t},\n\t\tsetOpenDiscountModal(open: boolean) {\n\t\t\tthis.openDiscountModal = open;\n\t\t},\n\t\tsetOpenCourtesyModal(open: boolean) {\n\t\t\tthis.openCourtesyModal = open;\n\t\t},\n\t\tsetOpenModalNewRegistration(open: boolean) {\n\t\t\tthis.openModalNewRegistration = open;\n\t\t},\n\t\tsetDeleteMode(mode: boolean) {\n\t\t\tthis.deleteMode = mode;\n\t\t},\n\t\tsetCompanies(company: any) {\n\t\t\tthis.companiesList = company;\n\t\t\tthis.companiesNameList = company.map((data: any) => {\n\t\t\t\tdata.eventCompanyId = data?.id;\n\t\t\t\tdata.companyName = data?.company?.name;\n\t\t\t\tdata.batchPending = data?.batch_pending;\n\t\t\t\tdata.batchCount = data?.batch_count;\n\t\t\t\treturn data;\n\t\t\t});\n\t\t},\n\t\tsetCompanyDetails(details: any) {\n\t\t\tthis.companyDetails = details;\n\t\t},\n\t\tsetCoupons(coupon: any) {\n\t\t\tthis.couponList = coupon.map((data: any) => {\n\t\t\t\treturn data;\n\t\t\t});\n\t\t},\n\t\tsetDiscounts(discount: any) {\n\t\t\tthis.discountList = discount.map((data: any) => {\n\t\t\t\treturn data;\n\t\t\t});\n\t\t},\n\t\tsetCourtesy(courtesy: any) {\n\t\t\tthis.courtesyList = courtesy;\n\t\t},\n\t\tsetTicketsBatch(batch: any) {\n\t\t\tthis.batchList = batch.map((data: any) => {\n\t\t\t\treturn data;\n\t\t\t});\n\t\t},\n\t\tsetValueInCreateCoupon(key?: any, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.couponSubmit = initialFormCoupon as ISubmitCoupon;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t(this.couponSubmit as any)[key] = value;\n\t\t},\n\t\tsetValueInCreateDiscount(key?: any, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.newDiscount = initialFormDiscount as ISubmitDiscount;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t(this.newDiscount as any)[key] = value;\n\t\t},\n\t\tshowConfirmDeleteOne(id: string, confirm: boolean) {\n\t\t\tthis.confirmDeleteOneCoupon = id;\n\t\t\tthis.confirmDeleteOne = confirm;\n\t\t},\n\n\t\tshowConfirmDeleteOneDiscount(id: string, confirm: boolean) {\n\t\t\tthis.confirmDeleteOneDiscount = id;\n\t\t\tthis.confirmDelete = confirm;\n\t\t},\n\n\t\tsetNewRegistration(key?: string, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.newRegistration = this.newRegistration as any;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t(this.newRegistration as any)[key] = value;\n\t\t},\n\n\t\tsetUpdateValueCourtesy(key?: string, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.updateCourtesy = this.updateCourtesy as any;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t(this.updateCourtesy as any) = value;\n\t\t},\n\n\t\tonConfirmDeleteOne() {\n\t\t\tdeleteCoupon(this.confirmDeleteOneCoupon, async () => {\n\t\t\t\tthis.showConfirmDeleteOne(\"\", false);\n\t\t\t\ttoast.success(\"Cupom excluído!\");\n\t\t\t\tawait getCoupons(\n\t\t\t\t\tthis.setCoupons,\n\t\t\t\t\tthis.companyDetails.eventCompanyId,\n\t\t\t\t\t() => {}\n\t\t\t\t);\n\t\t\t});\n\t\t},\n\n\t\tonConfirmDeleteOneDiscount() {\n\t\t\tdeleteDiscountById(this.confirmDeleteOneDiscount, async () => {\n\t\t\t\tawait getDiscountByCompany(\n\t\t\t\t\tthis.setDiscounts,\n\t\t\t\t\tthis.companyDetails.eventCompanyId,\n\t\t\t\t\t() => {}\n\t\t\t\t);\n\t\t\t\tthis.showConfirmDeleteOneDiscount(\"\", false);\n\t\t\t\ttoast.success(\"Desconto excluído!\");\n\t\t\t});\n\t\t},\n\t},\n});\n","\n","import { render } from \"./IcCopy.vue?vue&type=template&id=046e30fc\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-498a4d32\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = { style: {\"margin-bottom\":\"30px\",\"text-align\":\"left\"} }\nconst _hoisted_3 = { style: {\"width\":\"100%\",\"margin-top\":\"50px\",\"text-align\":\"left\"} }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Cupons disponíveis\", -1))\n\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcEdit from \"@/components/icons/IcEdit.vue\";\nimport IcTrash from \"@/components/icons/IcTrash.vue\";\nimport { store } from \"@/store\";\nimport { useStoreCoupon } from \"../store\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport { onMounted, ref, computed } from \"vue\";\nimport IcCopy from \"@/components/icons/IcCopy.vue\";\nimport { useToast } from \"vue-toastification\";\nimport { getCoupons, updateStatusCoupon } from \"../service\";\nimport { DateTime } from 'luxon';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreCoupon();\nconst deleteCoupon = ref(false);\nconst toast = useToast();\nconst used = ref(0)\n\nconst couponListDTO = computed(() => {\n\treturn store.couponList.map((item: any) => {\n\t\treturn {\n\t\t\tid: item.id,\n\t\t\tcode: item.code,\n\t\t\ttimes_used: item.times_used,\n\t\t\tavailable_uses: item.available_uses,\n\t\t\tstart_date: DateTime.fromISO(item.start_date).toFormat('dd/MM/yyyy'),\n\t\t\tend_date: DateTime.fromISO(item.end_date).toFormat('dd/MM/yyyy'),\n\t\t\tis_active: item.is_active ? 'Ativo' : 'Inativo',\n\t\t\tamount_payment: Number(item?.amount_payment).toLocaleString('pt-BR', {style: 'currency', currency: 'BRL'}),\n\t\t}\n\t})\n})\n\nconst columns = [\n\t{\n\t\ttitle: \"Código\",\n\t\tvalue: \"code\",\n\t\tid: 1,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Total Usado\",\n\t\tvalue: \"times_used\",\n\t\tid: 2,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Total Criado\",\n\t\tvalue: \"available_uses\",\n\t\tid: 3,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Data inicio\",\n\t\tvalue: \"start_date\",\n\t\tid: 4,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Data limite\",\n\t\tvalue: \"end_date\",\n\t\tid: 5,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Valor do cupom\",\n\t\tvalue: \"amount_payment\",\n\t\tid: 5,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Status\",\n\t\tvalue: \"is_active\",\n\t\tid: 6,\n\t\twidth: \"10%\",\n\t},\n\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcCopy,\n\t\ttitle: \"Copiar código\",\n\t\tonClick: (row: any) => {\n\t\t\tnavigator.clipboard.writeText(row.code);\n\t\t\ttoast.success(\"Cupom copiado!\");\n\t\t},\n\t},\n\t{\n\t\ticon: IcEdit,\n\t\ttitle: \"Alternar status do cupom\",\n\t\tonClick: (row: any) => {\n\t\t\tupdateStatusCoupon(row.id, row.is_active === 'Ativo' ? false : true, async () => {\n\t\t\t\tawait getCoupons(\n\t\t\t\t\tstore.setCoupons,\n\t\t\t\t\tstore.companyDetails.eventCompanyId,\n\t\t\t\t\t() => {}\n\t\t\t\t);\n\t\t\t\ttoast.success(\"Status do cupom atualizado!\")\n\t\t\t});\n\t\t},\n\t},\n\t{\n\t\ticon: IcTrash,\n\t\ttitle: \"Excluir\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.showConfirmDeleteOne(row.id, row.id);\n\t\t},\n\t},\n];\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).confirmDeleteOne)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir esse cupom?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t() => {\n\t\t\t\t_unref(store).onConfirmDeleteOne();\n\t\t\t}\n\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t() => {\n\t\t\t\t_unref(store).showConfirmDeleteOne('', false);\n\t\t\t}\n\t\t)\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h2\", _hoisted_2, \" Central de Cupons: \" + _toDisplayString(_unref(store).companyDetails.companyName), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(Table, {\n style: {\"max-height\":\"450px\"},\n rows: _unref(couponListDTO),\n columns: columns,\n tableActions: tableActions\n }, null, 8, [\"rows\"])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=498a4d32&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-498a4d32\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcX.vue?vue&type=template&id=b70e2868\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2eb07265\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"bg-primaryAdmin h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Adicionar novo desconto progressivo\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport { createNewDiscount, getDiscountByCompany } from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddDiscount',\n setup(__props) {\n\nconst store = useStoreCoupon();\nconst toast = useToast();\nconst spinner = ref(false);\n\nasync function handleCreateDiscount() {\n\tstore.newDiscount.event_company_id = store.companyDetails.eventCompanyId;\n\tif (\n\t\tstore.newDiscount.max_registrations <= store.newDiscount.min_registrations\n\t) {\n\t\treturn toast.error(\"Valor máximo é menor ou igual ao do mínimo\");\n\t}\n\tstore.setSpinner(true);\n\tawait createNewDiscount(store.newDiscount, () => {\n\t\tcloseModal();\n\t\ttoast.success(\"Novo desconto progressivo criado com sucesso!\");\n\t});\n\tawait getDiscountByCompany(\n\t\tstore.setDiscounts,\n\t\tstore.companyDetails.eventCompanyId,\n\t\t() => {}\n\t);\n\tstore.setSpinner(false);\n}\n\nfunction closeModal() {\n\tstore.newDiscount = {\n\t\tmin_registrations: 0,\n\t\tmax_registrations: 0,\n\t\tregistration_value: 0,\n\t\tevent_company_id: \"\",\n\t};\n\tstore.setOpenDiscountModal(false);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n onClick: closeModal,\n class: \"cursor-pointer\"\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleCreateDiscount, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseInput, {\n name: \"min_registrations\",\n label: \"Quantidade mínima inicio do desconto* (A partir de quantas inscrições começa o desconto?)\",\n placeholder: \"Quantidade mínima\",\n value: _unref(store).newDiscount.min_registrations,\n onOnchange: _cache[0] || (_cache[0] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateDiscount('min_registrations', event);\n\t\t\t\t\t}\n\t\t\t\t),\n min: \"1\",\n maxlength: 5,\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"max_registrations\",\n label: \"Quantidade máxima inicio do desconto* (Qual limite o desconto é aplicado?)\",\n placeholder: \"Quantidade máxima\",\n value: _unref(store).newDiscount.max_registrations,\n onOnchange: _cache[1] || (_cache[1] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateDiscount('max_registrations', event);\n\t\t\t\t\t}\n\t\t\t\t),\n maxlength: 5,\n min: \"1\",\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"registration_value\",\n type: \"number\",\n label: \"Valor do Desconto* (Valor a ser pago no evento)\",\n placeholder: \"Valor do Cupom\",\n step: \"0.01\",\n value: _unref(store).newDiscount.registration_value,\n onOnchange: _cache[2] || (_cache[2] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateDiscount('registration_value', event);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddDiscount.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddDiscount.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddDiscount.vue?vue&type=style&index=0&id=2eb07265&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2eb07265\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-39d1c2b6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = { style: {\"margin-bottom\":\"30px\",\"text-align\":\"left\"} }\nconst _hoisted_3 = { style: {\"width\":\"100%\",\"margin-top\":\"50px\",\"text-align\":\"left\"} }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Descontos Progressivos disponíveis\", -1))\n\nimport { getCoupons, updateStatusCoupon } from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcTrash from \"@/components/icons/IcTrash.vue\";\nimport { DateTime } from \"luxon\";\nimport { onMounted, ref, computed } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreCoupon();\nconst toast = useToast();\nconst used = ref(0);\n\nconst couponListDTO = computed(() => {\n\treturn store.couponList.map((item: any) => {\n\t\treturn {\n\t\t\tid: item?.id,\n\t\t\tcode: item?.code,\n\t\t\ttimes_used: item?.times_used,\n\t\t\tavailable_uses: item?.available_uses,\n\t\t\tstart_date: DateTime.fromISO(item?.start_date).toFormat(\"dd/MM/yyyy\"),\n\t\t\tend_date: DateTime.fromISO(item?.end_date).toFormat(\"dd/MM/yyyy\"),\n\t\t\tis_active: item?.is_active ? \"Ativo\" : \"Inativo\",\n\t\t\tamount_payment: Number(item?.amount_payment).toLocaleString(\"pt-BR\", {\n\t\t\t\tstyle: \"currency\",\n\t\t\t\tcurrency: \"BRL\",\n\t\t\t}),\n\t\t};\n\t});\n});\n\nconst columns = [\n\t{\n\t\ttitle: \"Min. Inscrições\",\n\t\tvalue: \"min_registrations\",\n\t\tid: 1,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Máx. Inscrições\",\n\t\tvalue: \"max_registrations\",\n\t\tid: 2,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Valor do desconto\",\n\t\tvalue: \"registration_value\",\n\t\tid: 3,\n\t\twidth: \"30%\",\n\t},\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcTrash,\n\t\ttitle: \"Excluir desconto\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.showConfirmDeleteOneDiscount(row.id, true);\n\t\t},\n\t},\n];\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).confirmDelete)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir esse cupom?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t() => {\n\t\t\t\t_unref(store).onConfirmDeleteOneDiscount();\n\t\t\t}\n\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t() => {\n\t\t\t\t_unref(store).showConfirmDeleteOneDiscount('', false);\n\t\t\t}\n\t\t)\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h2\", _hoisted_2, \" Central de Descontos: \" + _toDisplayString(_unref(store)?.companyDetails?.companyName), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(Table, {\n style: {\"max-height\":\"450px\"},\n rows: _unref(store).discountList,\n columns: columns,\n tableActions: tableActions\n }, null, 8, [\"rows\"])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=39d1c2b6&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-39d1c2b6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f48fa090\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"bg-primaryAdmin h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Adicionar nova cupom\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport { ISubmitCoupon } from \"../interface\";\nimport { createCoupons, getCoupons } from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { DateTime } from \"luxon\";\nimport { onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddCoupon',\n setup(__props) {\n\nconst store = useStoreCoupon();\nconst toast = useToast();\nconst spinner = ref(false);\n\nasync function handleCreateCoupon() {\n\tstore.couponSubmit.event_company_id = store.companyDetails.eventCompanyId;\n\tconst currentDate = DateTime.now().toISODate();\n\tif (\n\t\tstore.couponSubmit.end_date <= currentDate ||\n\t\tstore.couponSubmit.end_date <= store.couponSubmit.start_date\n\t) {\n\t\ttoast.error(\"Data limite incorreto!\");\n\t\treturn;\n\t}\n\tstore.setSpinner(true);\n\tawait createCoupons(store.couponSubmit, () => {\n\t\tcloseModal();\n\t\ttoast.success(\"Novo cupom criado com sucesso!\");\n\t});\n\tawait getCoupons(\n\t\tstore.setCoupons,\n\t\tstore.companyDetails.eventCompanyId,\n\t\t() => {}\n\t);\n\tstore.setSpinner(false);\n}\n\nfunction closeModal() {\n\tstore.couponSubmit = {\n\t\tcode: \"\",\n\t\tend_date: \"\",\n\t\tamount_payment: 0,\n\t\tstart_date: \"\",\n\t\tavailable_uses: 0,\n\t\tevent_company_id: \"\",\n\t};\n\tstore.setOpenModal(false);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleCreateCoupon, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseInput, {\n name: \"code\",\n label: \"Código do Cupom* (Apenas letras maiúsculas e números)\",\n placeholder: \"Código do Cupom\",\n pattern: \"[A-Z0-9]+\",\n value: _unref(store).couponSubmit.code,\n onOnchange: _cache[0] || (_cache[0] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateCoupon(\n\t\t\t\t\t\t\t'code',\n\t\t\t\t\t\t\tevent.toUpperCase().replace(/\\s+/g, '')\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"start_date\",\n type: \"date\",\n label: \"Data Inicio* (Data inicial para utilização do cupom)\",\n placeholder: \"\",\n value: _unref(store).couponSubmit.start_date,\n onOnchange: _cache[1] || (_cache[1] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateCoupon('start_date', event);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"end_date\",\n type: \"date\",\n label: \"Data Limite* (Data limite para utilização do cupom)\",\n placeholder: \"\",\n value: _unref(store).couponSubmit.end_date,\n onOnchange: _cache[2] || (_cache[2] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateCoupon('end_date', event);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"available_uses\",\n type: \"number\",\n label: \"Quantidade disponível* (Limite de cupons a ser utilizados)\",\n placeholder: \"Quantidade disponível\",\n value: _unref(store).couponSubmit.available_uses,\n onOnchange: _cache[3] || (_cache[3] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateCoupon('available_uses', event);\n\t\t\t\t\t}\n\t\t\t\t),\n min: \"1\",\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"amount_payment\",\n type: \"number\",\n label: \"Valor do Cupom* (Valor a ser pago no evento)\",\n placeholder: \"Valor do Cupom\",\n step: \"0.01\",\n value: _unref(store).couponSubmit.amount_payment,\n onOnchange: _cache[4] || (_cache[4] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInCreateCoupon('amount_payment', event);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddCoupon.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddCoupon.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddCoupon.vue?vue&type=style&index=0&id=f48fa090&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f48fa090\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcClock.vue?vue&type=template&id=47e35370\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcCoupon.vue?vue&type=template&id=cd14c19a\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcDashboard.vue?vue&type=template&id=069fa04e\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcFail.vue?vue&type=template&id=0b99310a\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcPreRegister.vue?vue&type=template&id=2e194369\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcUserThree.vue?vue&type=template&id=52e357ec\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = { style: {\"display\":\"flex\",\"justify-content\":\"center\"} }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", null, \" Baixar Relatório de Cortesias \", -1)\n\nimport {\n\tgetCoupons,\n\tgetDiscountByCompany,\n\tgetTicketBatchByCompany,\n} from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcCheck from \"@/components/icons/IcCheck.vue\";\nimport IcClock from \"@/components/icons/IcClock.vue\";\nimport IcCoupon from \"@/components/icons/IcCoupon.vue\";\nimport IcDashboard from \"@/components/icons/IcDashboard.vue\";\nimport IcFail from \"@/components/icons/IcFail.vue\";\nimport IcPreRegister from \"@/components/icons/IcPreRegister.vue\";\nimport IcUserThree from \"@/components/icons/IcUserThree.vue\";\nimport { computed } from \"vue\";\nimport { getGeneralUrlV2 } from '@/helpers/abrafarmaApi';\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreCoupon();\n\nconst columns = [\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"batchCount\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"6%\",\n\t\ticon: {\n\t\t\tsuccess: IcUserThree,\n\t\t\tfail: IcFail,\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Nome da Empresa\",\n\t\tvalue: \"companyName\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"70%\",\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"batchPending\",\n\t\tid: 2,\n\t\tsort: false,\n\t\twidth: \"10%\",\n\t\ticonList: {\n\t\t\tfalse: {\n\t\t\t\ticon: IcCheck,\n\t\t\t\tdescription: \"Sem pendencias\",\n\t\t\t},\n\t\t\ttrue: {\n\t\t\t\ticon: IcClock,\n\t\t\t\tdescription: \"Pendente\",\n\t\t\t},\n\t\t},\n\t},\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcCoupon,\n\t\ttitle: \"Gerenciar Cupons\",\n\t\tonClick: async (row: any) => {\n\t\t\tawait getCoupons(store.setCoupons, row.eventCompanyId, () => {});\n\t\t\tstore.setCompanyDetails(row);\n\t\t\tstore.setSection(\"Details\");\n\t\t},\n\t},\n\t{\n\t\ticon: IcPreRegister,\n\t\ttitle: \"Gestão de Inscrições\",\n\t\tonClick: async (row: any) => {\n\t\t\tawait getTicketBatchByCompany(\n\t\t\t\tstore.setTicketsBatch,\n\t\t\t\trow.event_id,\n\t\t\t\trow.company_id,\n\t\t\t\t() => {}\n\t\t\t);\n\t\t\tstore.setCompanyDetails(row);\n\t\t\tstore.setSection(\"Sales\");\n\t\t},\n\t},\n\t{\n\t\ticon: IcDashboard,\n\t\ttitle: \"Desconto progressivo\",\n\t\tonClick: async (row: any) => {\n\t\t\tawait getDiscountByCompany(\n\t\t\t\tstore.setDiscounts,\n\t\t\t\trow.eventCompanyId,\n\t\t\t\t() => {}\n\t\t\t);\n\t\t\tstore.setCompanyDetails(row);\n\t\t\tstore.setSection(\"Discount\");\n\t\t},\n\t},\n];\n\nconst companiesListDTO = computed(() => {\n\treturn store?.companiesList?.map((item: any) => {\n\t\treturn {\n\t\t\tcompanyName: item?.company.name,\n\t\t\tbatchPending: item?.batch_pending,\n\t\t\tbatchCount: item?.batch_count,\n\t\t\tevent_id: item?.event_id,\n\t\t\tcompany_id: item?.company_id,\n\t\t\teventCompanyId: item?.eventCompanyId,\n\t\t\titem,\n\t\t};\n\t});\n});\nconst event = JSON.parse(sessionStorage.getItem('event'))\nconst courtesyDownloadURL = getGeneralUrlV2() + '/ticket-batch/courtesy-download?event_id='+event.id\nconst downloadCourtesies = () => {\n const a = document.createElement('a');\n a.href = courtesyDownloadURL\n a.click()\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseButton, {\n variant: 'primary',\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"margin-bottom\":\"20px\"},\n onClick: downloadCourtesies\n }, {\n default: _withCtx(() => [\n _createVNode(IcDownload),\n _hoisted_3\n ]),\n _: 1\n })\n ]),\n _createVNode(Table, {\n columns: columns,\n rows: _unref(store)?.companiesNameList,\n \"table-actions\": tableActions\n }, null, 8, [\"rows\"])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export function validateEmail(email: string): boolean {\n\tconst emailRegex =\n\t\t// eslint-disable-next-line\n\t\t/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\treturn emailRegex.test(String(email));\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-63478ace\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = {\n class: \"h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\",\n style: {\"background-color\":\"var(--color-admin-primary)\"}\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Cadastrar novo participante\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"flex w-full gap-2\" }\nconst _hoisted_6 = {\n class: \"flex w-full gap-2\",\n style: {\"margin-top\":\"20px\"}\n}\nconst _hoisted_7 = {\n class: \"flex w-full gap-2\",\n style: {\"margin-top\":\"20px\"}\n}\nconst _hoisted_8 = { class: \"button-modal\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport Spinner from \"../../../../components/Atoms/Spinner.vue\";\nimport IcX from \"../../../../components/icons/IcX.vue\";\nimport {\n\tcreateNewPreRegistrationInBatch,\n\tgetTicketBatchByCompany,\n} from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport { validateEmail } from \"@/helpers/ValidateEmail\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\nimport { ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddNewRegistration',\n setup(__props) {\n\nconst toast = useToast();\nconst store = useStoreCoupon();\nconst spinner = ref(false);\n\nfunction closeModal() {\n\tstore.setOpenModalNewRegistration(false);\n}\n\nasync function handleCreateNewRegistration() {\n\tconst emailIsValid = validateEmail(store.newRegistration.enterprise_mail);\n\tif (!emailIsValid) {\n\t\treturn toast.error(\"E-mail inválido\");\n\t}\n\tif(!store.newRegistration.foreign_document && store.newRegistration.cpf && !validateCPF(store.newRegistration.cpf)){\n\t\treturn toast.error(\"CPF inválido\");\n\t}\n\tconst data = {\n\t\t...store.newRegistration,\n\t\tname: store.newRegistration.name,\n\t\tcpf: store.newRegistration.cpf,\n\t\tforeign_document: store.newRegistration.foreign_document || false,\n\t\tenterprise_mail: store.newRegistration.enterprise_mail,\n\t\tposition: store.newRegistration.position,\n\t};\n\tawait createNewPreRegistrationInBatch(data);\n\tawait getTicketBatchByCompany(\n\t\tstore.setTicketsBatch,\n\t\tstore.companyDetails.event_id,\n\t\tstore.companyDetails.company_id,\n\t\t() => {\n\t\t\tstore.newRegistration.name = \"\";\n\t\t\tstore.newRegistration.enterprise_mail = \"\";\n\t\t\tstore.newRegistration.cpf = \"\";\n\t\t\tstore.newRegistration.foreign_document = false;\n\t\t\tstore.newRegistration.ticket_batch_id = \"\";\n\t\t\tstore.newRegistration.company_id = \"\";\n\t\t\tstore.newRegistration.event_id = \"\";\n\t\t\tstore.newRegistration.position = \"\";\n\t\t}\n\t);\n\ttoast.success(\"Nova inscrição adicionada ao lote!\");\n\tcloseModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n onClick: closeModal,\n class: \"overlay-modal\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n class: \"cursor-pointer\",\n onClick: closeModal\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleCreateNewRegistration, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: 'Nome Completo* ',\n value: _unref(store).newRegistration.name,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).setNewRegistration('name', $event.target.value))),\n placeholder: \"Digite seu nome completo\",\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n value: _unref(store).newRegistration.enterprise_mail,\n onInput: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t_unref(store).setNewRegistration('enterprise_mail', $event.target.value)\n\t\t\t\t\t)),\n label: 'E-mail* ',\n placeholder: \"Digite seu e-mail\",\n type: \"email\",\n name: \"email\",\n required: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", null, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(store).newRegistration.foreign_document) = $event))\n }, null, 512), [\n [_vModelCheckbox, _unref(store).newRegistration.foreign_document]\n ]),\n _createTextVNode(\" Documento estrangeiro? \")\n ]),\n _createVNode(BaseInput, {\n name: \"cpf\",\n label: _unref(store).newRegistration.foreign_document ? 'Documento*' : 'CPF*',\n value: _unref(store).newRegistration.cpf,\n onInput: _cache[3] || (_cache[3] = ($event: any) => (_unref(store).setNewRegistration('cpf', $event.target.value))),\n placeholder: \"Digite o CPF\",\n required: \"\"\n }, null, 8, [\"label\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseInput, {\n name: \"position\",\n label: \"Cargo (exibido no crachá)\",\n value: _unref(store).newRegistration.position,\n onInput: _cache[4] || (_cache[4] = ($event: any) => (_unref(store).setNewRegistration('position', $event.target.value))),\n placeholder: \"Cargo (exibido no crachá)\",\n required: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n type: \"button\",\n onClick: _cache[5] || (_cache[5] = () => closeModal())\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddNewRegistration.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddNewRegistration.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddNewRegistration.vue?vue&type=style&index=0&id=63478ace&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-63478ace\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0fb1ff1f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = {\n class: \"h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\",\n style: {\"background-color\":\"var(--color-admin-primary)\"}\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Atualizar quantidade de cortesia\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"flex w-full gap-2\" }\nconst _hoisted_6 = { class: \"button-modal\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport Spinner from \"../../../../components/Atoms/Spinner.vue\";\nimport IcX from \"../../../../components/icons/IcX.vue\";\nimport {\n\tcreateNewPreRegistrationInBatch,\n\tgetCourtesy,\n\tgetTicketBatchByCompany,\n\tupdateCourtesyValue,\n} from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport { validateEmail } from \"@/helpers/ValidateEmail\";\nimport { ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalCourtesy',\n setup(__props) {\n\nconst toast = useToast();\nconst store = useStoreCoupon();\nconst spinner = ref(false);\n\nfunction closeModal() {\n\tstore.setOpenCourtesyModal(false);\n}\n\nasync function handleUpdateCourtesyValue() {\n\tawait updateCourtesyValue(store.companyDetails.eventCompanyId, store.updateCourtesy, () => {\n\t\tstore.updateCourtesy = 0;\n\t});\n\tawait getCourtesy(\n\t\tstore.companyDetails.eventCompanyId,\n\t\tstore.setCourtesy,\n\t\t() => {}\n\t);\n\ttoast.success(\"Quantidade de cortesias atualizadas!\");\n\tcloseModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n onClick: closeModal,\n class: \"overlay-modal\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n class: \"cursor-pointer\",\n onClick: closeModal\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleUpdateCourtesyValue, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"courtesy\",\n label: 'Quantidade total de cortesia para empresa* ',\n value: _unref(store).updateCourtesy,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t_unref(store).setUpdateValueCourtesy('courtesy_amount', $event.target.value)\n\t\t\t\t\t)),\n placeholder: \"Digite a quantidade de cortesia\",\n required: \"\",\n maxlength: \"5\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = () => closeModal())\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalCourtesy.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalCourtesy.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalCourtesy.vue?vue&type=style&index=0&id=0fb1ff1f&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0fb1ff1f\"]])\n\nexport default __exports__","\n","import { render } from \"./IcArrowCounter.vue?vue&type=template&id=1d4098bd\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcEmail.vue?vue&type=template&id=6c18293f\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IcEye.vue?vue&type=template&id=21f438b3\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IcEyeSlash.vue?vue&type=template&id=13b4bc12\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcPlusUser.vue?vue&type=template&id=3053d439\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-477ea1c7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = { class: \"flex justify-between\" }\nconst _hoisted_3 = { style: {\"margin-bottom\":\"30px\",\"text-align\":\"left\"} }\nconst _hoisted_4 = { class: \"flex gap-2 justify-center\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-bold\" }, \"Cortesias disponíveis:\", -1))\nconst _hoisted_6 = { style: {\"width\":\"100%\",\"margin-top\":\"50px\",\"text-align\":\"left\"} }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Lotes Comprados\", -1))\nconst _hoisted_8 = { class: \"w-full\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"thead\", null, [\n /*#__PURE__*/_createElementVNode(\"th\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Nº do Lote\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Data\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Responsável Financeiro\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"CPF\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"E-mail\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Valor do lote\"),\n /*#__PURE__*/_createElementVNode(\"th\"),\n /*#__PURE__*/_createElementVNode(\"th\"),\n /*#__PURE__*/_createElementVNode(\"th\")\n], -1))\nconst _hoisted_10 = { class: \"flex border-none\" }\nconst _hoisted_11 = [\"onClick\"]\nconst _hoisted_12 = {\n key: 0,\n class: \"cursor-pointer\",\n title: \"Esconder detalhes do lote\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"cursor-pointer\",\n title: \"Exibir detalhes do lote\"\n}\nconst _hoisted_14 = { class: \"bg-slate-100\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, null, -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, null, -1))\n\nimport MenuTable from \"../../../../components/Organism/Table/menu.vue\";\nimport { IBatchList } from \"../interface\";\nimport {\n\tdeletePreRegistrationInBatch,\n\tupdateStatusBatch,\n\tsendLinkPaymentBatch,\n\tgetTicketBatchByCompany,\n\tgetCourtesy,\n\tresendEmailTicketBatch,\n} from \"../service\";\nimport { useStoreCoupon } from \"../store\";\nimport ModalAddNewRegistration from \"./ModalAddNewRegistration.vue\";\nimport ModalCourtesy from \"./ModalCourtesy.vue\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Button from \"@/components/Button.vue\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcArrowCounter from \"@/components/icons/IcArrowCounter.vue\";\nimport IcCheck from \"@/components/icons/IcCheck.vue\";\nimport IcEmail from \"@/components/icons/IcEmail.vue\";\nimport IcEye from \"@/components/icons/IcEye.vue\";\nimport IcEyeSlash from \"@/components/icons/IcEyeSlash.vue\";\nimport IcPencil from \"@/components/icons/IcPencil.vue\";\nimport IcPlusUser from \"@/components/icons/IcPlusUser.vue\";\nimport IcTrashNew from \"@/components/icons/IcTrashNew.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { DateTime } from \"luxon\";\nimport { onMounted, ref, watch } from \"vue\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreCoupon();\nconst eventStore = useStore();\nconst toast = useToast();\nconst openFinancialRows = ref([]);\nconst deleteId = ref(\"\");\n\nconst STATUS: any = {\n\tpending: \"Pendente\",\n\tapproved: \"Aprovado\",\n\trejected: \"Recusado\",\n\texempt: \"Isento\",\n};\n\nconst tableActions = [\n\t{\n\t\ticon: IcPlusUser,\n\t\ttitle: \"Adicionar no participante\",\n\t\tonClick: (row: IBatchList) => {\n\t\t\thandleCreateNewPreRegistration(\n\t\t\t\trow.ticket_batch.id,\n\t\t\t\trow.ticket_batch.event_id,\n\t\t\t\trow.ticket_batch.company_id\n\t\t\t);\n\t\t},\n\t},\n\t{\n\t\ticon: IcCheck,\n\t\ttitle: \"Aprovar todas inscrições do lote\",\n\t\tonClick: async (row: IBatchList) => {\n\t\t\thandleChangeStatusAllInRow(\n\t\t\t\trow?.pre_registration.map((item) => item.id),\n\t\t\t\t\"approved\"\n\t\t\t);\n\t\t},\n\t},\n\t{\n\t\ticon: IcX,\n\t\ttitle: \"Reprovar todas inscrições do lote\",\n\t\tonClick: (row: IBatchList) => {\n\t\t\thandleChangeStatusAllInRow(\n\t\t\t\trow?.pre_registration.map((item) => item.id),\n\t\t\t\t\"rejected\"\n\t\t\t);\n\t\t},\n\t},\n\t{\n\t\ticon: IcEmail,\n\t\ttitle: \"Enviar link de pagamento\",\n\t\tonClick: async (row: IBatchList) => {\n\t\t\tconst verifyStatusPreRegistration = row.pre_registration.map(\n\t\t\t\t(participant) => participant.status\n\t\t\t);\n\t\t\tconst data = {\n\t\t\t\tticketBatchId: row.ticket_batch.id,\n\t\t\t\teventId: row.ticket_batch.event_id,\n\t\t\t};\n\t\t\tawait sendLinkPaymentBatch(data, () => {\n\t\t\t\ttoast.success(\n\t\t\t\t\t\"Link de pagamento enviado para o e-mail do responsável pela compra\"\n\t\t\t\t);\n\t\t\t});\n\t\t},\n\t},\n\t{\n\t\ticon: IcArrowCounter,\n\t\ttitle: \"Reenviar e-mail para inscrição\",\n\t\tonClick: async (row: IBatchList) => {\n\t\t\tif (\n\t\t\t\trow.pre_registration.find(\n\t\t\t\t\t(item) => item.status !== \"approved\" || item.payment_status !== \"paid\"\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\treturn toast.error(\n\t\t\t\t\t\"O status da pré-registro não está aprovado ou o pagamento não foi realizado.\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst verifyStatusPreRegistration = row.pre_registration.map(\n\t\t\t\t(participant) => participant.status\n\t\t\t);\n\t\t\tif (verifyStatusPreRegistration.find((status) => status === \"pending\")) {\n\t\t\t\treturn toast.error(\n\t\t\t\t\t\"Envio do link só após aprovar ou reprovar as inscrições\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst data = {\n\t\t\t\tticketBatchId: row.ticket_batch.id,\n\t\t\t\teventId: row.ticket_batch.event_id,\n\t\t\t};\n\t\t\tawait resendEmailTicketBatch(data, () => {\n\t\t\t\ttoast.success(\"Reenvio do e-mail feito com sucesso\");\n\t\t\t});\n\t\t},\n\t},\n];\n\nconst tableParticipantsActions = [\n\t{\n\t\ticon: IcCheck,\n\t\ttitle: \"Aprovar inscrição\",\n\t\tonClick: (row: any) => {\n\t\t\thandleChangeStatusApprovedPreRegistration(row?.id);\n\t\t},\n\t},\n\t{\n\t\ticon: IcX,\n\t\ttitle: \"Reprovar inscrição\",\n\t\tonClick: (row: any) => {\n\t\t\thandleChangeStatusReprovedPreRegistration(row?.id);\n\t\t},\n\t},\n\t{\n\t\ticon: IcTrashNew,\n\t\ttitle: \"Excluir inscrição\",\n\t\tonClick: async (row: any) => {\n\t\t\tif (row.status === \"approved\")\n\t\t\t\treturn toast.error(\n\t\t\t\t\t\"Só é possível excluir inscrições ainda não aprovadas ou reprovadas\"\n\t\t\t\t);\n\t\t\tstore.setDeleteMode(true);\n\t\t\tdeleteId.value = row?.id;\n\t\t},\n\t},\n];\n\nfunction handleOpenInfoRow(rowId: string) {\n\tconst index = openFinancialRows.value.indexOf(rowId);\n\tif (index === -1) {\n\t\topenFinancialRows.value.push(rowId);\n\t} else {\n\t\topenFinancialRows.value.splice(index, 1);\n\t}\n}\n\nfunction isRowOpen(rowId: string) {\n\treturn openFinancialRows.value.includes(rowId);\n}\n\nfunction handleChangeStatusAllInRow(\n\tpreRegistrationIds: string[],\n\tstatus: string\n) {\n\tconst data = {\n\t\tids: preRegistrationIds,\n\t\tstatus,\n\t\tevent_company_id: store.companyDetails.eventCompanyId,\n\t};\n\tupdateStatusBatch(data, async () => {\n\t\tawait getTicketBatchByCompany(\n\t\t\tstore.setTicketsBatch,\n\t\t\tstore.companyDetails.event_id,\n\t\t\tstore.companyDetails.company_id,\n\t\t\t() => {}\n\t\t);\n\t\ttoast.success(\"Status atualizado com sucesso!\");\n\t});\n}\n\nfunction handleChangeStatusApprovedPreRegistration(preRegistration: string) {\n\tconst data = {\n\t\tids: [preRegistration],\n\t\tstatus: \"approved\",\n\t\tevent_company_id: store.companyDetails.eventCompanyId,\n\t};\n\tupdateStatusBatch(data, async () => {\n\t\tawait getTicketBatchByCompany(\n\t\t\tstore.setTicketsBatch,\n\t\t\tstore.companyDetails.event_id,\n\t\t\tstore.companyDetails.company_id,\n\t\t\t() => {}\n\t\t);\n\t\ttoast.success(\"Status atualizado com sucesso!\");\n\t});\n}\n\nfunction handleChangeStatusReprovedPreRegistration(preRegistration: string) {\n\tconst data = {\n\t\tids: [preRegistration],\n\t\tstatus: \"rejected\",\n\t\tevent_company_id: store.companyDetails.eventCompanyId,\n\t};\n\tupdateStatusBatch(data, async () => {\n\t\tawait getTicketBatchByCompany(\n\t\t\tstore.setTicketsBatch,\n\t\t\tstore.companyDetails.event_id,\n\t\t\tstore.companyDetails.company_id,\n\t\t\t() => {}\n\t\t);\n\t\ttoast.success(\"Status atualizado com sucesso!\");\n\t});\n}\n\nfunction handleCreateNewPreRegistration(\n\tticketBatchId: string,\n\teventId: string,\n\tcompanyId: string\n) {\n\tstore.newRegistration.ticket_batch_id = ticketBatchId;\n\tstore.newRegistration.event_id = eventId;\n\tstore.newRegistration.company_id = companyId;\n\tstore.setOpenModalNewRegistration(true);\n}\n\nfunction deleteRegistrationInBatch(id: string) {\n\tdeletePreRegistrationInBatch(id, async () => {\n\t\tawait getTicketBatchByCompany(\n\t\t\tstore.setTicketsBatch,\n\t\t\tstore.companyDetails.event_id,\n\t\t\tstore.companyDetails.company_id,\n\t\t\t() => {}\n\t\t);\n\t\ttoast.success(\"Inscrição excluída com sucesso!\");\n\t\tstore.setDeleteMode(false);\n\t});\n}\n\nonMounted(async () => {\n\tawait getCourtesy(\n\t\tstore.companyDetails.eventCompanyId,\n\t\tstore.setCourtesy,\n\t\t() => {}\n\t);\n});\n\nconst formatCPF = (cpf) => {\n\tif(!cpf) return ''\n\tlet result = cpf.replace(/\\D/g, \"\")?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\")\n\tif(result.length === 14) return result\n\treturn cpf\n}\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).deleteMode)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir essa inscrição?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t() => {\n\t\t\t\tdeleteRegistrationInBatch(deleteId.value);\n\t\t\t}\n\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t() => {\n\t\t\t\t_unref(store).setDeleteMode(false);\n\t\t\t}\n\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(store).openModalNewRegistration)\n ? (_openBlock(), _createBlock(ModalAddNewRegistration, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).openCourtesyModal)\n ? (_openBlock(), _createBlock(ModalCourtesy, { key: 2 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", _hoisted_3, \" Gerenciar as inscrições: \" + _toDisplayString(_unref(store).companyDetails.companyName), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).courtesyList.courtesy_tickets_used), 1),\n _createTextVNode(\" / \"),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).courtesyList.courtesy_tickets_available), 1),\n _createVNode(IcPencil, {\n class: \"cursor-pointer\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(store).setOpenCourtesyModal(true)))\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"table\", _hoisted_8, [\n _hoisted_9,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(store)?.batchList.sort((a, b) =>\n\t\t\t\t\t\ta?.ticket_batch.alias?.localeCompare(b?.ticket_batch?.alias)\n\t\t\t\t\t), (info) => {\n return (_openBlock(), _createElementBlock(\"tbody\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_10, [\n _createElementVNode(\"span\", {\n class: _normalizeClass(\n\t\t\t\t\t\t\t\t\tinfo?.pre_registration?.find(\n\t\t\t\t\t\t\t\t\t\t(item) => item.status === 'pending'\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t? 'rounded-full bg-amber-400 w-4 h-4'\n\t\t\t\t\t\t\t\t\t\t: 'rounded-full bg-green-300 w-4 h-4'\n\t\t\t\t\t\t\t\t)\n }, null, 2),\n _createTextVNode(\" \" + _toDisplayString(), 1)\n ]),\n _createElementVNode(\"td\", null, _toDisplayString(info?.ticket_batch?.alias), 1),\n _createElementVNode(\"td\", null, _toDisplayString(info.ticket_batch?.created_at\n\t\t\t\t\t\t\t\t\t? _unref(DateTime).fromISO(\n\t\t\t\t\t\t\t\t\t\t\tinfo?.ticket_batch?.created_at as string\n\t\t\t\t\t\t\t\t\t ).toFormat(\"dd/MM/yyyy\")\n\t\t\t\t\t\t\t\t\t: _unref(DateTime).fromISO(\n\t\t\t\t\t\t\t\t\t\t\tinfo?.pre_registration[0]?.created_at as string\n\t\t\t\t\t\t\t\t\t ).toFormat(\"dd/MM/yyyy\")), 1),\n _createElementVNode(\"td\", null, _toDisplayString(info?.financial_manager?.name), 1),\n _createElementVNode(\"td\", null, _toDisplayString(formatCPF(info?.financial_manager?.cpf)), 1),\n _createElementVNode(\"td\", null, _toDisplayString(info?.financial_manager?.email), 1),\n _createElementVNode(\"td\", null, _toDisplayString(info?.ticket_batch?.computed_value !== null\n\t\t\t\t\t\t\t\t\t? Number(info?.ticket_batch?.computed_value)?.toLocaleString(\n\t\t\t\t\t\t\t\t\t\t\t\"pt-BR\",\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: Number(info?.ticket_batch?.fullprice)?.toLocaleString(\n\t\t\t\t\t\t\t\t\t\t\t\"pt-BR\",\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t )), 1),\n _createTextVNode(\" \" + _toDisplayString(info?.payment?.status ? (info?.payment?.status === 'paid' ? 'Pago' : 'Não pago' ) : 'Link não gerado') + \" \", 1),\n _createElementVNode(\"td\", null, [\n _createVNode(MenuTable, {\n handleActions: tableActions,\n user: info\n }, null, 8, [\"user\"])\n ]),\n _createElementVNode(\"td\", {\n onClick: () => handleOpenInfoRow(info?.financial_manager?.id),\n class: \"cursor-pointer text-black\"\n }, [\n (isRowOpen(info?.financial_manager?.id))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, [\n _createVNode(IcEyeSlash)\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_13, [\n _createVNode(IcEye)\n ]))\n ], 8, _hoisted_11)\n ]),\n (isRowOpen(info.financial_manager.id))\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(info.pre_registration.sort((a, b) =>\n\t\t\t\t\t\t\ta.name.localeCompare(b.name)\n\t\t\t\t\t\t), (participant) => {\n return (_openBlock(), _createElementBlock(\"tr\", _hoisted_14, [\n _hoisted_15,\n _hoisted_16,\n _hoisted_17,\n _createElementVNode(\"td\", null, _toDisplayString(participant.name), 1),\n _createElementVNode(\"td\", null, _toDisplayString(participant.enterprise_mail), 1),\n _createElementVNode(\"td\", null, _toDisplayString(STATUS[participant.status]), 1),\n _createElementVNode(\"td\", null, _toDisplayString(formatCPF(participant.cpf)), 1),\n _createElementVNode(\"td\", null, [\n _createVNode(MenuTable, {\n handleActions: tableParticipantsActions,\n user: participant\n }, null, 8, [\"user\"])\n ])\n ]))\n }), 256))\n : _createCommentVNode(\"\", true)\n ]))\n }), 256))\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=477ea1c7&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-477ea1c7\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1bce311a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"actions\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Cadastrar Cupom\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Cadastrar Desconto\", -1))\nconst _hoisted_5 = { class: \"container\" }\n\nimport Details from \"./Details/index.vue\";\nimport DiscountModal from \"./Discount/ModalAddDiscount.vue\";\nimport Discount from \"./Discount/index.vue\";\nimport Form from \"./Form/ModalAddCoupon.vue\";\nimport List from \"./List/index.vue\";\nimport Sales from \"./Sales/index.vue\";\nimport { getCompanies, getCoupons } from \"./service\";\nimport { useStoreCoupon } from \"./store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"@/components/icons/IcArrowLeft.vue\";\nimport IcCoupon from \"@/components/icons/IcCoupon.vue\";\nimport IcDashboard from \"@/components/icons/IcDashboard.vue\";\nimport { onMounted, watch } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreCoupon();\n\nonMounted(() => {\n\tstore.setSpinner(true);\n\tgetCompaniesOnMounted();\n});\n\nconst getCompaniesOnMounted = async () => {\n\tawait getCompanies(store.setCompanies, () => {});\n\tstore.setSpinner(false);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(store).section === 'List' ? 'visibility: hidden' : ''])\n }, [\n (\n\t\t\t\t\t_unref(store).section === 'Details' ||\n\t\t\t\t\t_unref(store).section === 'Sales' ||\n\t\t\t\t\t_unref(store).section === 'Discount'\n\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).setSection('List'))),\n class: \"back-button\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(store).setSection('Details'))),\n class: \"back-button\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n })),\n _hoisted_2\n ], 4),\n (_unref(store).section === 'Details')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\"},\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(store).setOpenModal(true))),\n type: \"button\",\n class: \"register-button\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcCoupon),\n _hoisted_3\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'Discount')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\"},\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_unref(store).setOpenDiscountModal(true))),\n type: \"button\",\n class: \"register-button\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcDashboard),\n _hoisted_4\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_unref(store).section === 'List' && !_unref(store).spinner)\n ? (_openBlock(), _createBlock(List, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'Details')\n ? (_openBlock(), _createBlock(Details, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'Sales')\n ? (_openBlock(), _createBlock(Sales, { key: 2 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'Discount')\n ? (_openBlock(), _createBlock(Discount, { key: 3 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).openModal === true)\n ? (_openBlock(), _createBlock(Form, { key: 4 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).openDiscountModal === true)\n ? (_openBlock(), _createBlock(DiscountModal, { key: 5 }))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=1bce311a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1bce311a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3cbcc917\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/credenciais?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3cbcc917&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3cbcc917\"]])\n\nexport default __exports__","\n\n\n","import { HttpAdapterCustomer } from \"@/helpers\";\n\n\nexport const getCompanysEvent = async (setValue:any,callback:any) =>{\n \n\n const { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `/admin/event/companies`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n}\nexport const getCompanysEventParticipant = async (setValue:any,callback:any) =>{\n \n\n const { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `/admin/participant/participants-dependents`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n}\n\nexport const getQuestions = async (setValue:any,callback:() => void) => {\n\tconst {data,response} = await HttpAdapterCustomer.get({\n\t\turl:`admin/event/questions/answers`,\n\t\told_url:true,\n\t\theaders_config: {\n\t\t\tAuthorization:'admin_token'\n\t\t}\n\t})\n\n\tcallback()\n\tif(!response.ok) return;\n\tsetValue(data)\n}\n\nexport const getEventAccess = async (setValue:any,callback:() => void) => {\n\tconst {data,response} = await HttpAdapterCustomer.get({\n\t\turl:`admin/event-access`,\n\t\told_url:true,\n\t\theaders_config: {\n\t\t\tAuthorization:'admin_token'\n\t\t}\n\t})\n\n\tcallback()\n\tif(!response.ok) return;\n\tsetValue(data)\n\n}\nexport const getCurrentEvent = async (setValue:any,callback:() => void) => {\n\tconst {data,response} = await HttpAdapterCustomer.get({\n\t\turl:`admin/event/current`,\n\t\told_url:true,\n\t\theaders_config: {\n\t\t\tAuthorization:'admin_token'\n\t\t}\n\t})\n\n\tcallback()\n\tif(!response.ok) return;\n\tsetValue(data)\n\n}","import { companyType } from \"./../../../constants/company-type\";\nimport { getCompanysEvent, getCompanysEventParticipant } from \"./service\";\nimport moment from \"moment\";\nimport { defineStore } from \"pinia\";\n\nconst initialData: any = {};\n\nconst TYPES: any = {\n\t\"not informed\": \"Nenhum\",\n\t\"commercial partner\": \"Parceiro Comercial\",\n\tassociated: \"Associado\",\n\tinvited: \"Convidado\",\n\tgovernment: \"Governo\",\n\tmidia: \"Imprensa\",\n\tentity: \"Entidade\",\n\torganizer: \"Organizadora\",\n\tstand_builder: \"Montadora Oficial\",\n\t\"ticket sale\": \"Inscrição\",\n};\n\nexport const useStoreDashboard = defineStore(\"dashboard\", {\n\tstate: () => ({\n\t\ttab: \"pre-event\",\n\t\tisLoading: false,\n\t\teventToUpdate: initialData,\n\t\tspinner: false,\n\t\tvalueSearchCompany: [],\n\t\ttabPreEvent: \"subscribers\",\n\t\tcompanys: [],\n\t\tcompanysFilter: [],\n\t\tparticipants: [],\n\t\tparticipantsFilter: [],\n\t\tkeys: [\n\t\t\t{\n\t\t\t\tid: 1,\n\t\t\t\ttype: \"registered\",\n\t\t\t\tdisplay: \"Inscritos\",\n\t\t\t\tfilter: (p: any) => p,\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 2,\n\t\t\t\ttype: \"confirmed\",\n\t\t\t\tdisplay: \"Confirmados\",\n\t\t\t\tfilter: (p: any) => p.status === \"accepted\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 3,\n\t\t\t\ttype: \"notConfirmed\",\n\t\t\t\tdisplay: \"Não confirmados\",\n\t\t\t\tfilter: (p: any) =>\n\t\t\t\t\tp.status === \"invited\" || p.status === \"not invited\",\n\t\t\t},\n\t\t] as any,\n\t\ttotalP: {} as any,\n\t\tcompanyTypesSelected: Object.keys(TYPES),\n\t\tcompanyType: Object.keys(TYPES).map((el) => {\n\t\t\treturn {\n\t\t\t\tvalue: el,\n\t\t\t\ttext: TYPES[el],\n\t\t\t};\n\t\t}),\n\t\tquestions: [] as any,\n\t\ttotalSatisfaction: 0,\n\t\ttotalPointsGeneral: 0,\n\t\ttotalAnswered: 0,\n\t\ttotalPoints: 0,\n\t\tsections: [\n\t\t\t\"event\",\n\t\t\t\"premium\",\n\t\t\t\"marketing_activity\",\n\t\t\t\"main\",\n\t\t\t\"additional\",\n\t\t] as any,\n\t\teventDates: [] as any,\n\t\ttotal: {} as any,\n\t\taccess: {} as any,\n\t\tcurrentDate: \"\",\n\t}),\n\tactions: {\n\t\tsetIsLoading(loading: boolean) {\n\t\t\tthis.isLoading = loading;\n\t\t},\n\t\treset() {\n\t\t\tthis.access = {};\n\t\t\tthis.total = {};\n\t\t},\n\t\tsetTab(tab: string) {\n\t\t\tthis.tab = tab;\n\n\t\t\tif (tab === \"pre-event\") {\n\t\t\t\tthis.keys = [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 1,\n\t\t\t\t\t\ttype: \"registered\",\n\t\t\t\t\t\tdisplay: \"Inscritos\",\n\t\t\t\t\t\tfilter: (p: any) => p,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 2,\n\t\t\t\t\t\ttype: \"confirmed\",\n\t\t\t\t\t\tdisplay: \"Confirmados\",\n\t\t\t\t\t\tfilter: (p: any) => p.status === \"accepted\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 3,\n\t\t\t\t\t\ttype: \"notConfirmed\",\n\t\t\t\t\t\tdisplay: \"Não confirmados\",\n\t\t\t\t\t\tfilter: (p: any) =>\n\t\t\t\t\t\t\tp.status === \"invited\" || p.status === \"not invited\",\n\t\t\t\t\t},\n\t\t\t\t];\n\t\t\t\tgetCompanysEventParticipant(this.setParticipants, () => {\n\t\t\t\t\tthis.setIsLoading(false);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (tab === \"pos-event\") {\n\t\t\t\t\tthis.keys = [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 1,\n\t\t\t\t\t\t\ttype: \"registered\",\n\t\t\t\t\t\t\tdisplay: \"Inscritos\",\n\t\t\t\t\t\t\tfilter: (p: any) => p,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 2,\n\t\t\t\t\t\t\ttype: \"notPresent\",\n\t\t\t\t\t\t\tdisplay: \"Ausentes\",\n\t\t\t\t\t\t\tfilter: (p: any) => p.status === \"not present\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 3,\n\t\t\t\t\t\t\ttype: \"present\",\n\t\t\t\t\t\t\tdisplay: \"Presentes\",\n\t\t\t\t\t\t\tfilter: (p: any) => p.status === \"present\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 4,\n\t\t\t\t\t\t\ttype: \"present at time\",\n\t\t\t\t\t\t\tdisplay: \"Presentes na hora\",\n\t\t\t\t\t\t\tfilter: (p: any) => p.status === \"present at time\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 5,\n\t\t\t\t\t\t\ttype: \"Total presentes\",\n\t\t\t\t\t\t\tdisplay: \"Total presentes\",\n\t\t\t\t\t\t\tfilter: (p: any) =>\n\t\t\t\t\t\t\t\tp.status === \"present at time\" || p.status === \"present\",\n\t\t\t\t\t\t},\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t}\n\t\t\tgetCompanysEventParticipant(this.setParticipants, () => {\n\t\t\t\tthis.setIsLoading(false);\n\t\t\t});\n\t\t},\n\t\tsetTabPreEvent(tab: string) {\n\t\t\tthis.tabPreEvent = tab;\n\t\t},\n\t\tsetCompanyTypeSelected(value: any) {\n\t\t\tthis.companyTypesSelected = value;\n\t\t},\n\t\tsetValueCompanySearch(value: any) {\n\t\t\tthis.valueSearchCompany = value;\n\t\t},\n\t\tsetCompanys(companys: any) {\n\t\t\tthis.companys = companys;\n\t\t},\n\t\tsetParticipantsFilter(companys: any) {\n\t\t\tthis.participantsFilter = companys\n\t\t},\n\t\tsetParticipants(participants: any) {\n\t\t\tthis.participants = this.calculate(this.formatData(participants)).concat(\n\t\t\t\tthis.formatData(participants)\n\t\t\t);\n\t\t\tthis.participantsFilter = this.calculate(\n\t\t\t\tthis.formatData(participants)\n\t\t\t).concat(this.formatData(participants));\n\t\t},\n\t\tformatData(participants: any) {\n\t\t\treturn participants\n\t\t\t\t.filter((p: any) => p.company)\n\t\t\t\t.reduce((acc: any, p: any) => {\n\t\t\t\t\tlet company = acc.find((c: any) => c.id === p.company.id);\n\t\t\t\t\tif (!company) {\n\t\t\t\t\t\tcompany = p.company;\n\t\t\t\t\t\tcompany.participants = [];\n\t\t\t\t\t\tacc.push(company);\n\t\t\t\t\t}\n\t\t\t\t\tcompany.participants.push(p);\n\t\t\t\t\treturn acc;\n\t\t\t\t}, [])\n\t\t\t\t.map((company: any) => {\n\t\t\t\t\tconst data: any = { name: company.name, type: company.type };\n\t\t\t\t\tthis.keys.forEach((key: any) => {\n\t\t\t\t\t\tdata[key.type] = company.participants.filter(key.filter).length;\n\t\t\t\t\t});\n\t\t\t\t\treturn data;\n\t\t\t\t});\n\t\t},\n\t\tcalculate(participants: any) {\n\t\t\tthis.keys.forEach((key: any) => {\n\t\t\t\tthis.totalP[key.type] = participants.reduce(\n\t\t\t\t\t(prev: any, t: any) => prev + t[key.type],\n\t\t\t\t\t0\n\t\t\t\t);\n\t\t\t});\n\n\t\t\treturn [{ ...this.totalP, name: \"TOTAL GERAL\" }] as any;\n\t\t},\n\t\tsetAnswers(participants: any[]) {\n\t\t\tconst questions = participants\n\t\t\t\t.reduce((questions, participant) => {\n\t\t\t\t\tparticipant.answers.forEach((answer: any) => {\n\t\t\t\t\t\tlet question = questions.filter(\n\t\t\t\t\t\t\t(a: any) => a.id === answer.question.id\n\t\t\t\t\t\t)[0];\n\n\t\t\t\t\t\tif (!question) {\n\t\t\t\t\t\t\tquestion = answer.question;\n\t\t\t\t\t\t\tquestion.answers = [];\n\t\t\t\t\t\t\tquestions.push(question);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdelete answer.question;\n\t\t\t\t\t\tif (question.answers) {\n\t\t\t\t\t\t\tquestion.answers.push(answer);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\treturn questions;\n\t\t\t\t}, [])\n\t\t\t\t.filter((q: any) => q.type === \"multiple-choice\");\n\t\t\tlet counter = 0\n\t\t\tquestions.forEach((question: any) => {\n\t\t\t\tcounter++;\n\t\t\t\tconst subTotalPoints = question.answers.reduce(\n\t\t\t\t\t(acc: any, a: any) => acc + Number(a.answer),\n\t\t\t\t\t0\n\t\t\t\t);\n\t\t\t\tconst totalAnswers = question.answers.reduce((acc: any) => acc + 10, 0);\n\t\t\t\tconst standardDeviation = this.calculateStandard(\n\t\t\t\t\tquestion.answers.map((a: any) => Number(a.answer))\n\t\t\t\t);\n\t\t\t\tconst satisfaction = Number(\n\t\t\t\t\t((subTotalPoints * 100) / totalAnswers).toFixed(1)\n\t\t\t\t);\n\t\t\t\tthis.questions.push({\n\t\t\t\t\torder: counter,\n\t\t\t\t\taverage: Number(\n\t\t\t\t\t\t(subTotalPoints / question.answers.length).toFixed(2)\n\t\t\t\t\t),\n\t\t\t\t\tsatisfaction: satisfaction,\n\t\t\t\t\tdescription: question.description,\n\t\t\t\t\tstandardDeviation: Number(standardDeviation.toFixed(2)),\n\t\t\t\t\tpoints: subTotalPoints,\n\t\t\t\t\tsubTotalAnswers: question.answers.length * 10,\n\t\t\t\t});\n\n\t\t\t\tthis.totalSatisfaction += satisfaction;\n\t\t\t});\n\t\t\tthis.totalSatisfaction = Number(\n\t\t\t\t(this.totalSatisfaction / questions.length).toFixed(1)\n\t\t\t);\n\n\t\t\tthis.totalPoints = this.questions.reduce(\n\t\t\t\t(acc: any, question: any) => acc + question.points,\n\t\t\t\t0\n\t\t\t);\n\t\t\tthis.totalPointsGeneral = this.questions.reduce(\n\t\t\t\t(acc: any, question: any) => acc + question.subTotalAnswers,\n\t\t\t\t0\n\t\t\t);\n\t\t\tthis.totalAnswered = participants.length;\n\t\t},\n\t\tcalculateStandard(arr: any) {\n\t\t\tlet mean =\n\t\t\t\tarr.reduce((acc: any, curr: any) => {\n\t\t\t\t\treturn acc + curr;\n\t\t\t\t}, 0) / arr.length;\n\n\t\t\tarr = arr.map((k: any) => {\n\t\t\t\treturn (k - mean) ** 2;\n\t\t\t});\n\n\t\t\tlet sum = arr.reduce((acc: any, curr: any) => acc + curr, 0);\n\n\t\t\tlet variance = sum / arr.length;\n\n\t\t\treturn Math.sqrt(sum / arr.length);\n\t\t},\n\t\tsetAccess(accesses: any) {\n\t\t\taccesses.forEach((access: any) => {\n\t\t\t\taccess.participant =\n\t\t\t\t\t(access.present || 0) + (access.presentAtTime || 0);\n\t\t\t\taccess.geral =\n\t\t\t\t\t(access.participant || 0) +\n\t\t\t\t\t(access.staff || 0) +\n\t\t\t\t\t(access.speaker || 0);\n\n\t\t\t\tthis.generateTotal(access);\n\t\t\t\t// this.access.push(access)\n\t\t\t\tthis.generateAccessList(access).push(access);\n\t\t\t});\n\t\t\treturn this.total;\n\t\t},\n\t\tgenerateAccessList(data: any) {\n\t\t\tconst { date, type } = data;\n\t\t\tconst current = (this.access[date] = this.access[date] || {});\n\t\t\treturn (current[type] = current[type] || []);\n\t\t},\n\t\tgenerateTotal(access: any) {\n\t\t\tconst {\n\t\t\t\tdate,\n\t\t\t\ttype,\n\t\t\t\tpresent = 0,\n\t\t\t\tpresentAtTime = 0,\n\t\t\t\tstaff = 0,\n\t\t\t\tspeaker = 0,\n\t\t\t} = access;\n\t\t\tconst totalDate = (this.total[date] = this.total[date] || {});\n\n\t\t\tconst current = (totalDate[type] = totalDate[type] || {\n\t\t\t\tstaff: 0,\n\t\t\t\tspeaker: 0,\n\t\t\t\tpresent: 0,\n\t\t\t\tpresentAtTime: 0,\n\t\t\t\tget participant() {\n\t\t\t\t\treturn (current.present || 0) + (current.presentAtTime || 0);\n\t\t\t\t},\n\t\t\t\tget geral() {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tcurrent.participant + (current.staff || 0) + (current.speaker || 0)\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t});\n\t\t\tcurrent.staff += staff;\n\t\t\tcurrent.speaker += speaker;\n\t\t\tcurrent.present += present;\n\t\t\tcurrent.presentAtTime += presentAtTime;\n\n\t\t\treturn current;\n\t\t},\n\t\tchangeDate(date: any) {\n\t\t\tthis.currentDate = date;\n\t\t},\n\t\tgetTotal(section: any) {\n\t\t\treturn (\n\t\t\t\tthis.total &&\n\t\t\t\tthis.total[this.currentDate] &&\n\t\t\t\tthis.total[this.currentDate][section]\n\t\t\t);\n\t\t},\n\t\tgetAccess(section: any) {\n\t\t\treturn (\n\t\t\t\tthis.access &&\n\t\t\t\tthis.access[this.currentDate] &&\n\t\t\t\tthis.access[this.currentDate][section]\n\t\t\t);\n\t\t},\n\t\tsetCurrentEvent(dates: any) {\n\t\t\tconst days = this.getEventDays(dates);\n\t\t\tconst mapDays = days.map((day) => moment(day).format(\"DD/MM\"));\n\t\t\tthis.currentDate = mapDays[0];\n\t\t\tthis.eventDates = mapDays;\n\t\t},\n\t\tgetEventDays(event: any) {\n\t\t\tlet eventDays = [];\n\t\t\tlet currentDate = moment(event.start_date);\n\t\t\tlet endDate = moment(event.end_date);\n\t\t\teventDays.push(currentDate);\n\t\t\teventDays.push(endDate);\n\n\t\t\teventDays = eventDays.map((d) => {\n\t\t\t\treturn d.toDate();\n\t\t\t});\n\n\t\t\treturn eventDays;\n\t\t},\n\t},\n});\n","import { render } from \"./index.vue?vue&type=template&id=8685e2b4\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = { class: \"tabs\" }\nconst _hoisted_3 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseMultipleSelect = _resolveComponent(\"BaseMultipleSelect\")!\n const _component_PieChart = _resolveComponent(\"PieChart\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_BaseMultipleSelect, {\n label: \"Tipo de empresa *\",\n value: _ctx.store.companyTypesSelected,\n onChange: _cache[0] || (_cache[0] = \n (event) => {\n _ctx.store.setCompanyTypeSelected(event);\n _ctx.store.setParticipantsFilter(\n _ctx.store.participants.filter((el) => event.includes(el.type))\n );\n }\n ),\n options: \n _ctx.store.companyType.map((el) => {\n return {\n value: el.value,\n label: el.text,\n };\n })\n \n }, null, 8, [\"value\", \"options\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.store.keys, (tab) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"tab\", _ctx.store.tabPreEvent === tab.type ? 'tab-selected' : '']),\n ref_for: true,\n ref: \"tab\",\n onClick: ($event: any) => {\n _ctx.store.setTabPreEvent(tab.type);\n // store.setParticipantsFilter(store.participants.\n // filter(t => store.companyTypesSelected.indexOf(t.type) > -1));\n },\n key: tab.id\n }, _toDisplayString(tab.display), 11, _hoisted_3))\n }), 128))\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.store.keys, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.id,\n style: {\"margin\":\"20px\"}\n }, [\n (_ctx.store.participantsFilter && _ctx.store.tabPreEvent === item.type)\n ? (_openBlock(), _createBlock(_component_PieChart, {\n key: 0,\n width: 600,\n height: 600,\n labels: _ctx.store.participantsFilter.map((el) => el.name).filter(el => el !== 'Total Geral'),\n data: _ctx.getPercentage(_ctx.store.participantsFilter.filter((el) => el.name !== 'Total Geral'), _ctx.store)\n }, null, 8, [\"labels\", \"data\"]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128)),\n (_ctx.store.tab === 'pre-event')\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 0,\n columns: [{\n title: 'Empresa',\n value: 'name',\n width: '33%',\n sort: true\n },\n {\n title: 'Inscritos',\n value: 'registered',\n width: '20%',\n },\n {\n title: 'Confirmados',\n value: 'confirmed',\n width: '20%',\n },\n {\n title: 'Não confirmados',\n value: 'notConfirmed',\n width: '20%',\n },\n ],\n overflowX: \"hidden\",\n onOnsort: _cache[1] || (_cache[1] = (column,direction) => {\n _ctx.orderByColumn(column,direction)\n\t\t\t}),\n rows: _ctx.store.participantsFilter\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.store.tab === 'pos-event')\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 1,\n columns: [{\n title: 'Empresa',\n value: 'name',\n width: '30%',\n sort: true\n },\n {\n title: 'Inscritos',\n value: 'registered',\n width: '10%',\n },\n {\n title: 'Ausentes',\n value: 'notPresent',\n width: '10%',\n },\n {\n title: 'Presentes',\n value: 'present',\n width: '10%',\n },\n {\n title: 'Presentes na hora',\n value: 'present at time',\n width: '10%',\n },\n {\n title: 'Total Presentes',\n value: 'Total presentes',\n width: '10%',\n }],\n overflowX: \"hidden\",\n onOnsort: _cache[2] || (_cache[2] = (column,direction) => {\n _ctx.orderByColumn(column,direction)\n\t\t\t}),\n rows: _ctx.store.participantsFilter\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-91dca208\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"label-select\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Multiselect = _resolveComponent(\"Multiselect\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"input-group-box\", _ctx.sizeDefault ? 'input-group' : ''])\n }, [\n _createElementVNode(\"label\", _hoisted_1, _toDisplayString(_ctx.label), 1),\n _createVNode(_component_Multiselect, {\n value: _ctx.value,\n options: _ctx.options,\n mode: \"tags\",\n onChange: _ctx.onChange,\n \"close-on-select\": false,\n searchable: true,\n \"create-option\": true\n }, null, 8, [\"value\", \"options\", \"onChange\"])\n ], 2))\n}","\n\timport Vue, { defineComponent } from 'vue';\n import Multiselect from '@vueform/multiselect'\n\n\texport default defineComponent({\n\t\tname: 'BaseMultipleSelect',\n components:{\n Multiselect\n },data(){\n return {\n \n }\n },\n\t\tprops: {\n\t\t\toptions: {\n\t\t\t\ttype: Array as Vue.PropType,\n\t\t\t\trequired: true,\n\t\t\t},\n\t\t\tlabel: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\ttype: Boolean,\n\t\t\t\trequired: false,\n\t\t\t},\n\t\t\tvalue: {\n\t\t\t\ttype: Array,\n\t\t\t\trequired: true,\n\t\t\t\tdefault: [],\n\t\t\t},\n\t\t\tstyleSelect: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false,\n\t\t\t\tdefault: '',\n\t\t\t},\n\t\t\tsizeDefault: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t},\n\t\tmethods: {\n\t\t\tonChange(event: any) {\n\t\t\t\tthis.$emit('change', event);\n\t\t\t},\n\t\t},\n\t});\n","import { render } from \"./BaseMultipleSelect.vue?vue&type=template&id=91dca208&scoped=true&ts=true\"\nimport script from \"./BaseMultipleSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseMultipleSelect.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseMultipleSelect.vue?vue&type=style&index=0&id=91dca208&scoped=true&lang=css\"\nimport \"@vueform/multiselect/themes/default.css?vue&type=style&index=1&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-91dca208\"]])\n\nexport default __exports__","import { useStoreDashboard } from './../store';\nimport { defineComponent, h, PropType } from 'vue'\n\nimport { Pie } from 'vue-chartjs'\nimport {\n Chart as ChartJS,\n Title,\n Tooltip,\n Legend,\n ArcElement,\n CategoryScale,\n Plugin\n} from 'chart.js'\n\nChartJS.register(Title, Tooltip, Legend, ArcElement, CategoryScale)\n\nexport default defineComponent({\n name: 'PieChart',\n components: {\n Pie\n },\n\n props: {\n labels:{\n type:Array as PropType,\n default:[]\n },\n data:{\n type:Array as PropType,\n default:[]\n },\n colors:{\n type:Array as PropType,\n default:[]\n },\n chartId: {\n type: String,\n default: ''\n },\n width: {\n type: Number,\n default: 400\n },\n height: {\n type: Number,\n default: 400\n }\n },\n setup(props) {\n const chartData = {\n labels:props.labels,\n datasets: [\n {\n backgroundColor:props.data.map((el) =>'#' + Math.floor(Math.random()*16777215).toString(16)),\n data: props.data\n }\n ]\n }\n\n const chartOptions = {\n responsive: true,\n maintainAspectRatio: false,\n legend: {\n position: \"right\",\n align: \"right\",\n labels: {\n usePointStyle: true,\n boxWidth: 100\n }\n \n }\n }\n\n return () =>\n h(Pie, {\n chartData,\n chartOptions,\n chartId: props.chartId,\n width: props.width,\n height: props.height,\n })\n }\n})\n","\nimport Vue, { defineComponent, onBeforeMount, onMounted } from \"vue\";\nimport BaseMultipleSelect from \"../../../../components/Atoms/BaseMultipleSelect.vue\";\nimport { getCompanysEvent } from \"../service\";\nimport { useStoreDashboard } from \"../store\";\nimport PieChart from \"./chart.component\";\nimport Table from \"../../../../components/Organism/Table/table.vue\";\n\nexport default defineComponent({\n name: \"PreEvent\",\n components: {\n BaseMultipleSelect,\n PieChart,\n Table,\n },\n methods: {\n getPercentage(companys:any, store:any) {\n return companys.map((el:any) => {\n return el[store.tabPreEvent]\n });\n },\n },\n setup() {\n const store = useStoreDashboard();\n\n\t\tfunction orderByColumn(column: any, direction: any) {\n\t\t\tconst totalParticipants = store.participantsFilter.find((p: any) => p.name === 'TOTAL GERAL')\n\t\t\tconst participantsList = store.participantsFilter.sort((a,b) => {\n\t\t\t\t\t\t\n if(direction === 'asc'){\n if(a[column] > b[column])return 1;\n if(a[column] < b[column])return -1;\n return 0\n } else {\n if(a[column] < b[column])return 1;\n if(a[column] > b[column])return -1;\n return 0\n }\n }).filter((p: any) => p.name !== \"TOTAL GERAL\")\n\t\t\t\tconst toSet = !!totalParticipants ? [totalParticipants, ...participantsList] : participantsList\n\t\t\tstore.setParticipantsFilter(\n\t\t\t\ttoSet\n )\n\t\t}\n \n return {\n store,\n console,\n PieChart,\n BaseMultipleSelect,\n Table,\n\t\t\torderByColumn,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=34021570&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport Chart from \"chart.js/auto\";\nimport { ref, onMounted, watch, PropType } from \"vue\";\n\ninterface Props {\n\tlabels: string[];\n\tdata: number[];\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BarChart',\n props: {\n labels: null,\n data: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tlabels: string[];\n\tdata: number[];\n}\n\nconst myChart = ref(null);\nlet chartInstance = null;\n\n\n\nconst createChart = () => {\n\tconst ctx = myChart.value?.getContext(\"2d\");\n\n\tif (chartInstance) {\n\t\tchartInstance.destroy(); // Destrua o gráfico anterior se existir\n\t}\n\n\tconst labels = Array.from({ length: props.data.length }, (_, index) =>\n\t\t(index + 1).toString()\n\t);\n\n\tchartInstance = new Chart(ctx, {\n\t\ttype: \"bar\",\n\t\tdata: {\n\t\t\tlabels: labels,\n\t\t\tdatasets: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"Média\",\n\t\t\t\t\tdata: props.data,\n\t\t\t\t\tbackgroundColor: \"rgba(75, 192, 192, 0.2)\",\n\t\t\t\t\tborderColor: \"rgba(75, 192, 192, 1)\",\n\t\t\t\t\tborderWidth: 1,\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t\toptions: {\n\t\t\tresponsive: true,\n\t\t\tmaintainAspectRatio: false,\n\n\t\t\tscales: {\n\t\t\t\tx: {\n\t\t\t\t\tbeginAtZero: true,\n\t\t\t\t\tticks: {\n\t\t\t\t\t\tfont: {\n\t\t\t\t\t\t\tsize: 12,\n\t\t\t\t\t\t\tfamily: \"Arial\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ty: {\n\t\t\t\t\tbeginAtZero: true,\n\t\t\t\t\tticks: {\n\t\t\t\t\t\tfont: {\n\t\t\t\t\t\t\tsize: 12,\n\t\t\t\t\t\t\tweight: \"bold\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tplugins: {\n\t\t\t\tlegend: {\n\t\t\t\t\tdisplay: true,\n\t\t\t\t\tlabels: {\n\t\t\t\t\t\tfont: {\n\t\t\t\t\t\t\tsize: 14,\n\t\t\t\t\t\t\tfamily: \"Verdana\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttooltip: {\n\t\t\t\t\tbackgroundColor: \"rgba(0, 0, 0, 0.8)\",\n\t\t\t\t\ttitleFont: {\n\t\t\t\t\t\tsize: 16,\n\t\t\t\t\t\tfamily: \"Arial\",\n\t\t\t\t\t},\n\t\t\t\t\tbodyFont: {\n\t\t\t\t\t\tsize: 14,\n\t\t\t\t\t\tfamily: \"Arial\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t});\n};\n\nonMounted(() => {\n\tcreateChart();\n});\n\nwatch(\n\t() => [props.labels, props.data],\n\t() => {\n\t\t// Quando as props \"labels\" ou \"data\" mudarem, recrie o gráfico\n\t\tcreateChart();\n\t}\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"canvas\", {\n ref_key: \"myChart\",\n ref: myChart,\n style: {\"height\":\"400px\"}\n }, null, 512)\n ]))\n}\n}\n\n})","import script from \"./BarChart.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BarChart.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-24c2afaa\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"container-print\" }\nconst _hoisted_2 = {\n class: \"container\",\n id: \"tableDiv\"\n}\n\nimport Table from \"../../../../components/Organism/Table/table.vue\";\nimport { useStoreDashboard } from \"../store\";\nimport BarChart from \"./BarChart.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreDashboard();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BarChart, {\n style: {\"width\":\"75%\"},\n id: \"canvasDiv\",\n labels: _unref(store).questions.map((item) => item.description),\n data: _unref(store).questions.map((item) => item.average)\n }, null, 8, [\"labels\", \"data\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Table, {\n style: {\"max-height\":\"15vh\",\"overflow\":\"hidden\"},\n columns: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Total Satisfação',\n\t\t\t\t\t\tvalue: 'totalSatisfaction',\n\t\t\t\t\t\twidth: '32%',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Total Pontuação',\n\t\t\t\t\t\tvalue: 'totalPoints',\n\t\t\t\t\t\twidth: '32%',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Total Pessoas',\n\t\t\t\t\t\tvalue: 'totalAnswered',\n\t\t\t\t\t\twidth: '32%',\n\t\t\t\t\t},\n\t\t\t\t],\n rows: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttotalSatisfaction: _unref(store).totalSatisfaction,\n\t\t\t\t\t\ttotalPoints: `${_unref(store).totalPoints} / ${_unref(store).totalPointsGeneral}`,\n\t\t\t\t\t\ttotalAnswered: _unref(store).totalAnswered,\n\t\t\t\t\t},\n\t\t\t\t]\n }, null, 8, [\"rows\"]),\n _createVNode(Table, {\n columns: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Nº',\n\t\t\t\t\t\tvalue: 'order',\n\t\t\t\t\t\twidth: '3%',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Perguntas',\n\t\t\t\t\t\tvalue: 'description',\n\t\t\t\t\t\twidth: '65%',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Média',\n\t\t\t\t\t\tvalue: 'average',\n\t\t\t\t\t\twidth: '8%',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Satisfação',\n\t\t\t\t\t\tvalue: 'satisfaction',\n\t\t\t\t\t\twidth: '10%',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Desvio Padrão',\n\t\t\t\t\t\tvalue: 'standardDeviation',\n\t\t\t\t\t\twidth: '8%',\n\t\t\t\t\t},\n\t\t\t\t],\n rows: _unref(store).questions\n }, null, 8, [\"rows\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=24c2afaa&scoped=true&lang=css\"\nimport \"./index.vue?vue&type=style&index=1&id=24c2afaa&lang=scss\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-24c2afaa\"]])\n\nexport default __exports__","export class SessionStorage {\n\tstatic set(key: string, value: any) {\n\t\tsessionStorage.setItem(key, JSON.stringify(value));\n\t}\n\n\tstatic get(key: string) {\n\t\tconst data = sessionStorage.getItem(key);\n\t\tif (!data) return;\n\t\treturn JSON.parse(data);\n\t}\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-37911e4f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 10px 0\",\"gap\":\"1rem\"} }\nconst _hoisted_2 = { class: \"tabs\" }\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport Access from \"./access/index.vue\";\nimport PreEvent from \"./pre-event/index.vue\";\nimport SearchSatisfaction from \"./search-satisfaction/index.vue\";\nimport {\n\tgetCompanysEvent,\n\tgetCompanysEventParticipant,\n\tgetQuestions,\n} from \"./service\";\nimport { useStoreDashboard } from \"./store\";\nimport { urlOldApi } from \"@/helpers/HttpAdapterCostumer\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport {\n\tdefineComponent,\n\tonBeforeMount,\n\tonMounted,\n\tonUnmounted,\n\tref,\n} from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { getStoreToken } = eventStore;\nconst event = SessionStorage.get(\"event\");\nconst store = useStoreDashboard();\n\nconst handleExportSatisfactionSurveyAnswer = async () => {\n\tstore.isLoading = true;\n\tconst endpoint = `/admin/event/questions/export-satisfaction-survey-answers?eventId=${event.id}`;\n\ttry {\n\t\tconst response = await fetch(urlOldApi + endpoint, {\n\t\t\tmethod: \"GET\",\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\tAuthorization: `Bearer ${getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])}`,\n\t\t\t},\n\t\t});\n\t\tlet blob = undefined;\n\n\t\tif (response.ok) {\n\t\t\tstore.isLoading = false;\n\t\t\tblob = await response.blob();\n\t\t} else {\n\t\t\tstore.isLoading = false;\n\t\t\tthrow new Error(\"Falha ao exportar os dados.\");\n\t\t}\n\n\t\tconst url = URL.createObjectURL(blob);\n\n\t\tconst link = document.createElement(\"a\");\n\t\tlink.href = url;\n\t\tlink.download = \"relatorio-respostas.xlsx\";\n\n\t\tdocument.body.appendChild(link);\n\n\t\tlink.click();\n\n\t\tdocument.body.removeChild(link);\n\t} catch {\n\t\tconsole.error(\"Falha ao exportar os dados\");\n\t}\n};\n\nconst print = () => {\n\twindow.print();\n};\n\nonMounted(() => {\n\tstore.setIsLoading(true);\n\tgetQuestions(store.setAnswers, () => {});\n\tgetCompanysEvent(store.setCompanys, () => {\n\t\tgetCompanysEventParticipant(store.setParticipants, () => {\n\t\t\tstore.setIsLoading(false);\n\t\t\tstore.setTab(\"pre-event\");\n\t\t\tstore.setTabPreEvent(\"registered\");\n\t\t});\n\t});\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(store).isLoading)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n (_unref(store).tab === 'search')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[0] || (_cache[0] = ($event: any) => (handleExportSatisfactionSurveyAnswer()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" GERAR RELATÓRIO DE RESPOSTAS \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseButton, {\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = \n\t\t\t\t\t() => {\n\t\t\t\t\t\tprint();\n\t\t\t\t\t}\n\t\t\t\t)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" IMPRIMIR \")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", _unref(store).tab === 'pre-event' ? 'tab-selected' : '']),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(store).setTab('pre-event'), _unref(store).setTabPreEvent('registered')))\n }, \" PRÉ EVENTO \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", _unref(store).tab === 'pos-event' ? 'tab-selected' : '']),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_unref(store).setTab('pos-event'), _unref(store).setTabPreEvent('registered')))\n }, \" PÓS EVENTO \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", _unref(store).tab === 'search' ? 'tab-selected' : '']),\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_unref(store).setTab('search')))\n }, \" PESQUISA DE SATISFAÇÃO \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", _unref(store).tab === 'access' ? 'tab-selected' : '']),\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_unref(store).setTab('access')))\n }, \" ACESSOS \", 2)\n ]),\n (_unref(store).tab === 'pre-event' || _unref(store).tab === 'pos-event')\n ? (_openBlock(), _createBlock(PreEvent, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'search')\n ? (_openBlock(), _createBlock(SearchSatisfaction, { key: 2 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'access')\n ? (_openBlock(), _createBlock(Access, { key: 3 }))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=37911e4f&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-37911e4f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-bf9b51ee\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/email-marketing?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=bf9b51ee&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-bf9b51ee\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-351f0c8e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/event-company-action?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=351f0c8e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-351f0c8e\"]])\n\nexport default __exports__","\n\n","import { render } from \"./IcEvent.vue?vue&type=template&id=3194b7c0\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./IcCalendarCheck.vue?vue&type=template&id=17be10c7\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcCalendarClock.vue?vue&type=template&id=5fac11ef\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcCalendarRemove.vue?vue&type=template&id=3787087e\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcList.vue?vue&type=template&id=387f4f6a\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcReceiptX.vue?vue&type=template&id=d09d2c2e\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { IStandBuilder } from \"./../../../interface/standBuilder\";\nimport { getOrganizers, getOrganizersIds } from \"./service\";\nimport { existThisFile, HttpAdapterCustomer } from \"@/helpers\";\nimport { IEvents } from \"@/interface/event\";\nimport { DateTime } from \"luxon\";\nimport moment from \"moment\";\nimport { defineStore } from \"pinia\";\nimport { useToast } from \"vue-toastification\";\nimport { ImportIntranetProps } from \"./interface\";\n\nconst initialData: any = {\n\torganizersId: [],\n\tassets: [],\n\tcredentialColors: [],\n};\n\ntype StatusTypes = {\n\t[key: string]: string;\n};\n\nconst STATUS: StatusTypes = {\n\twaiting: \"Em espera\",\n\tpending: \"Pendente\",\n\tprocessing: \"Processando\",\n\tfinished: \"Finalizado\",\n};\n\nexport const useStoreEvents = defineStore(\"events\", {\n\tstate: () => ({\n\t\tevents: [] as IEvents[],\n\t\tisOnline: false,\n\t\ttab: \"List\" as \"List\" | \"Form\" | \"import\",\n\t\tsession: 'event-register' as 'event-register' | 'montadora' | 'organizer' | 'badge' | 'acceptance-term',\n\t\teventToUpdate: initialData,\n\t\tsearch: \"\",\n\t\tspinner: false,\n\t\torganizers: [],\n\t\tstand_builders: [] as any[],\n\t\thistoryIntranet: [] as ImportIntranetProps[],\n\t\tstandBuilderFile: {} as any,\n\t\tmodalIsOpen: false,\n\t\tmodalData: {} as any,\n\t\tdateToImport: '',\n\t\tbodyToImport: [],\n\t}),\n\tactions: {\n\t\tsetStandBuilderFile(file: any) {\n\t\t\tthis.standBuilderFile = file;\n\t\t},\n\t\taddFilename() {\n\t\t\tif (!this.standBuilderFile?.file || !this.standBuilderFile?.extensions) {\n\t\t\t\tuseToast().error(\"É necessário inserir o nome do arquivo e a extensão\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.eventToUpdate.stand_builder.stand_builder_files =\n\t\t\t\tthis.eventToUpdate.stand_builder.stand_builder_files || [];\n\t\t\tthis.eventToUpdate.stand_builder.stand_builder_files.push({\n\t\t\t\tfile: this.standBuilderFile.file,\n\t\t\t\textensions: this.standBuilderFile.extensions\n\t\t\t\t\t.split(\",\")\n\t\t\t\t\t.map((e: any) => e.replace(/\\./g, \"\").toLowerCase().trim())\n\t\t\t\t\t.filter((e: any) => e),\n\t\t\t});\n\n\t\t\tthis.standBuilderFile = {};\n\t\t},\n\n\t\tsetOpenModal(open: boolean, data: any) {\n\t\t\tthis.modalIsOpen = open;\n\t\t\tthis.modalData = data;\n\t\t},\n\n\t\tsetDataToImport(body: any) {\n\t\t\tthis.bodyToImport = body;\n\t\t},\n\n\t\tremoveFilename(filename: any) {\n\t\t\tthis.eventToUpdate.stand_builder.stand_builder_files =\n\t\t\t\tthis.eventToUpdate.stand_builder.stand_builder_files.filter(\n\t\t\t\t\t(file: any) => file.file !== filename\n\t\t\t\t);\n\t\t},\n\t\tsetstandBuilders(builders: IStandBuilder[]) {\n\t\t\tthis.stand_builders = builders.filter((s) => s.type === \"stand_builder\");\n\t\t\tif (this.eventToUpdate.stand_builder) {\n\t\t\t\tthis.loadCompanies();\n\t\t\t}\n\t\t},\n\t\tloadCompanies() {\n\t\t\tthis.stand_builders.forEach((s) => {\n\t\t\t\tif (s.id === this.eventToUpdate.stand_builder.company_id) {\n\t\t\t\t\tthis.eventToUpdate.stand_builder.email = s.email;\n\t\t\t\t\tthis.eventToUpdate.stand_builder.contact = s.contact;\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\tgetStandBuilderType() {\n\t\t\tconst types = [\n\t\t\t\t{ id: \"standBuilder\", title: \"Montadora\" },\n\t\t\t\t{ id: \"agency\", title: \"Agência\" },\n\t\t\t\t{ id: \"maintenance\", title: \"Manutenção\" },\n\t\t\t];\n\t\t\treturn types;\n\t\t},\n\n\t\tsetHistoryIntranet(data: ImportIntranetProps[]) {\n\t\t\tthis.historyIntranet = data.map((item: ImportIntranetProps) => {\n\t\t\t\titem.filename = item.filename,\n\t\t\t\t\titem.progress = String(item.progress + ' %'),\n\t\t\t\t\titem.status = STATUS[item.status]\n\t\t\t\treturn item\n\t\t\t}).sort((a, b) => b.created_at.localeCompare(a.created_at));\n\t\t},\n\n\t\tsetOrganizersIds(ids: any) {\n\t\t\tconst event = this.eventToUpdate;\n\n\t\t\tif (event) {\n\t\t\t\tevent.organizersId = ids.map((el: any) => el.company_id);\n\t\t\t}\n\n\t\t\tthis.eventToUpdate = event;\n\t\t},\n\t\tsetOrganizers(organizers: any) {\n\t\t\tthis.organizers = organizers.filter((el: any) => {\n\t\t\t\treturn el.type === \"organizer\";\n\t\t\t});\n\t\t},\n\t\tsetEvents(events: IEvents[]) {\n\t\t\tthis.events = events.map((el: any) => {\n\t\t\t\tconst startDateFormat = DateTime.fromISO(el.start_date).toFormat(\n\t\t\t\t\t\"dd/MM/yyyy\"\n\t\t\t\t);\n\t\t\t\tconst endDateFormat = DateTime.fromISO(el.end_date).toFormat(\n\t\t\t\t\t\"dd/MM/yyyy\"\n\t\t\t\t);\n\t\t\t\tconst limitDateFormat = DateTime.fromISO(el.limit_date).toFormat(\n\t\t\t\t\t\"dd/MM/yyyy\"\n\t\t\t\t);\n\t\t\t\tel.start_date = DateTime.fromISO(el.start_date).toFormat(\"yyyy-MM-dd\");\n\t\t\t\tel.end_date = DateTime.fromISO(el.end_date).toFormat(\"yyyy-MM-dd\");\n\t\t\t\tel.limit_date = DateTime.fromISO(el.limit_date).toFormat(\"yyyy-MM-dd\");\n\t\t\t\tel.dataList = [\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Inicio: \",\n\t\t\t\t\t\tvalue: startDateFormat,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Fim: \",\n\t\t\t\t\t\tvalue: endDateFormat,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Limite: \",\n\t\t\t\t\t\tvalue: limitDateFormat,\n\t\t\t\t\t},\n\t\t\t\t];\n\n\t\t\t\tel.spotList = [\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Confirmados: \",\n\t\t\t\t\t\tvalue: el.spots_used,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Reservados: \",\n\t\t\t\t\t\tvalue: el.spots_allocated - el.spots_used,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Disponíveis: \",\n\t\t\t\t\t\tvalue: el.spots - el.spots_allocated,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: \"Total\",\n\t\t\t\t\t\tvalue: el.spots,\n\t\t\t\t\t},\n\t\t\t\t];\n\t\t\t\tthis.isOnline = el.online\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\taddEvent(event: IEvents) {\n\t\t\tthis.events.push(event);\n\t\t},\n\t\tupdateEvent(event: IEvents) {\n\t\t\tconst index = this.events.findIndex((u) => u.id === event.id);\n\t\t\tthis.events[index] = event;\n\t\t},\n\t\tsetEventToUpdate(event?: IEvents | undefined) {\n\t\t\tevent?.stand_builder?.stand_builder_files?.map((el: any) => {\n\t\t\t\tel.extensions = el.extensions;\n\t\t\t\treturn el;\n\t\t\t});\n\t\t\tthis.eventToUpdate = event ? event : initialData;\n\n\t\t\tgetOrganizers(event?.id, this.setOrganizers, () => { });\n\t\t\tgetOrganizersIds(event?.id, this.setOrganizersIds, () => { });\n\t\t},\n\t\tsetValueInEventToUpdate(key: string, value: any) {\n\t\t\tif (!this.eventToUpdate) this.eventToUpdate = {} as any;\n\t\t\t(this.eventToUpdate as any)[key] = value;\n\t\t},\n\t\tsetTab(tab: \"List\" | \"Form\" | \"import\") {\n\t\t\tif (tab === \"List\") this.setEventToUpdate(undefined);\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetSession(session: 'event-register' | 'montadora' | 'organizer' | 'badge' | 'acceptance-term') {\n\t\t\tif (session === \"event-register\") this.setEventToUpdate(undefined);\n\t\t\tthis.session = session;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tdeleteEvent(id: number) {\n\t\t\tdeleteEventApi(id);\n\t\t},\n\t\tsetDateToImport(date: string) {\n\t\t\tthis.dateToImport = date;\n\t\t},\n\t},\n});\n\nexport const ROLES = [\n\t{ id: \"admin\", role: \"Administrador\" },\n\t{ id: \"event\", role: \"Usuário\" },\n\t{ id: \"company_manager\", role: \"Gestor\" },\n\t{ id: \"organizer\", role: \"Organizador\" },\n\t{ id: \"stand_builder\", role: \"Montadora Oficial\" },\n\t{ id: \"coordinator\", role: \"Coordenador\" },\n];\n\nexport const deleteEventApi = async (id: number) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/event/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\n\tconst storeEvents = useStoreEvents();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar usuário\");\n\ttoast.success(\"Usuário Excluido com sucesso\");\n\tgetEvent(storeEvents.setEvents, storeEvents.search, () => {\n\t\tstoreEvents.setSpinner(false);\n\t});\n};\nexport const getEvent = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/event${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n","import { useStoreEvents } from \"./store\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast();\nexport const uploadIntranet = async (file: any, callback: any) => {\n\tconst formData = new FormData();\n\tformData.append(\"file\", file);\n\tformData.append(\"resumableChunkNumber\", \"1\");\n\tformData.append(\"resumableChunkSize\", \"1048576\");\n\tformData.append(\"resumableCurrentChunkSize\", \"1896448\");\n\tformData.append(\"resumableTotalSize\", \"1896448\");\n\tformData.append(\"resumableType\", file.type);\n\tformData.append(\n\t\t\"resumableIdentifier\",\n\t\tDate.now() + \"-\" + file.name.replaceAll(\" \", \"_\").replaceAll(\".\", \"\")\n\t);\n\tformData.append(\"resumableFilename\", file.name);\n\tformData.append(\"resumableRelativePath\", file.name);\n\tformData.append(\"resumableTotalChunk\", \"\");\n\n\tconst unique =\n\t\tDate.now() + \"-\" + file.name.replaceAll(\" \", \"_\").replaceAll(\".\", \"\");\n\tawait HttpAdapterCustomer.post({\n\t\turl: `admin/event/upload?\n\t\tresumableChunkNumber=1&resumableChunkSize=1048576\n\t\t&resumableCurrentChunkSize=1896448\n\t\t&resumableTotalSize=1896448\n\t\t&resumableType=${file.type}\n\t\t&resumableIdentifier=${unique}\n\t\t&resumableFilename=${file.name}\n\t\t&resumableRelativePath=${file.name}\n\t\t&resumableTotalChunks=1`,\n\t\told_url: true,\n\t\tbody: formData,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t\t\"Content-Type\": \"none\",\n\t\t},\n\t}).then(() => {\n\t\tsetUploadProgress(\n\t\t\t{\n\t\t\t\tfileName: file.name,\n\t\t\t\tuniqueIdentifier: unique,\n\t\t\t},\n\t\t\tcallback\n\t\t);\n\t});\n};\n\nconst setUploadProgress = async (body: any, callback: any) => {\n\tawait HttpAdapterCustomer.post({\n\t\turl: \"admin/event/upload-completed\",\n\t\told_url: true,\n\t\tbody: JSON.stringify(body),\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t}).then(() => {\n\t\ttoast.success(\"Importação feita com sucesso!\");\n\t\tcallback;\n\t});\n};\n\nexport const getRunJob = async () => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/job/commands/run\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return toast.error(\"Erro ao executar o processo\");\n\n};\nexport const getHistoryIntranet = async (setValue: any, callback: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/event/historic-import`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\nexport const getOrganizers = async (\n\teventId: any,\n\tsetValue: any,\n\tcallback: any\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getOrganizersIds = async (\n\teventId: any,\n\tsetValue: any,\n\tcallback: any\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/event/organizers/${eventId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\nexport const deleteEventApi = async (id: number) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/event/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\n\tconst storeEvents = useStoreEvents();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar usuário\");\n\ttoast.success(\"Palestrante Excluido com sucesso\");\n\tgetEvent(storeEvents.setEvents, storeEvents.search, () => {\n\t\tstoreEvents.setSpinner(false);\n\t});\n};\nexport const getEvent = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"desc\";\n\tconst order = sort?.order ? sort.order : \"start_date\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=25${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/event${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const importListTransmissionOnline = async (dateEvent: any, eventId: any, body: any, callback: any) => {\n\tawait HttpAdapterCustomer.post({\n\t\turl: `admin/event/${dateEvent}/${eventId}/importTransmissionPlatform`,\n\t\told_url: true,\n\t\tbody: JSON.stringify({ data: body }),\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t}).then((result) => {\n\t\tif (!result.response.ok) return toast.error('Erro ao importar participantes')\n\t\tcallback();\n\t});\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-16eb9f46\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"bg-primaryAdmin h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { class: \"button-modal\" }\n\nimport { importListTransmissionOnline } from \"../service\";\nimport { useStoreEvents } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { DateTime } from \"luxon\";\nimport { onMounted, ref, watch } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreEvents();\nconst toast = useToast();\nconst spinner = ref(false);\n\nconst eventDays = ref([]);\n\nconst formatDate = (date: any) => {\n\tconst [year, month, day] = date.split(\"-\");\n\treturn `${day}/${month}/${year}`;\n};\n\nconst getEventDays = (event: any) => {\n\tconst eventDays = [];\n\tlet currentDate = new Date(store?.modalData?.start_date + \" GMT-3\");\n\tconst endDate = new Date(store?.modalData?.end_date + \" GMT-3\");\n\n\twhile (currentDate.getTime() <= endDate.getTime()) {\n\t\teventDays.push(currentDate.toISOString().split(\"T\")[0]);\n\t\tcurrentDate.setDate(currentDate.getDate() + 1);\n\t}\n\n\treturn eventDays.map(formatDate);\n};\n\nonMounted(() => {\n\teventDays.value = getEventDays(event);\n});\n\nwatch(event, (newValue: any) => {\n\teventDays.value = getEventDays(newValue);\n});\n\nfunction closeModal() {\n\tstore.setOpenModal(false, {});\n}\n\nfunction handleCreateCoupon() {\n\tconst data = DateTime.fromFormat(store.dateToImport, \"dd/MM/yyyy\").toFormat(\n\t\t\"yyyy/MM/dd\"\n\t);\n\tconst dataFormatada = DateTime.fromFormat(data, \"yyyy/MM/dd\").toFormat(\n\t\t\"EEE MMM dd yyyy HH:mm:ss 'GMT'ZZZ '(Horário Padrão de Brasília)'\"\n\t);\n\tconst dateToEncode = dataFormatada;\n\tconst enconded = encodeURIComponent(dateToEncode as any);\n\n\timportListTransmissionOnline(\n\t\tenconded,\n\t\tstore.modalData.id,\n\t\tstore.bodyToImport,\n\t\t() => {\n\t\t\ttoast.success(\"Importação feita com sucesso!\");\n\t\t\tcloseModal();\n\t\t}\n\t);\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", null, \"Importar Acessos - \" + _toDisplayString(_unref(store)?.modalData?.title), 1),\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleCreateCoupon, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseSelect, {\n keys: { keyLabel: 'value', keyValue: 'value' },\n options: eventDays.value.map((date) => ({ value: date })),\n value: _unref(store).dateToImport,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).setDateToImport($event.target.value))),\n label: \"Selecione a data para importação\"\n }, null, 8, [\"options\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_3)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=16eb9f46&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-16eb9f46\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5a7c9346\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"10px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport Spinner from \"../../../../components/Atoms/Spinner.vue\";\nimport Table from \"../../../../components/Organism/Table/table.vue\";\nimport IcCalendarCheckVue from \"../../../../components/icons/IcCalendarCheck.vue\";\nimport IcCalendarClockVue from \"../../../../components/icons/IcCalendarClock.vue\";\nimport IcCalendarRemoveVue from \"../../../../components/icons/IcCalendarRemove.vue\";\nimport IcDoubleUser from \"../../../../components/icons/IcDoubleUser.vue\";\nimport IcDownloadVue from \"../../../../components/icons/IcDownload.vue\";\nimport IcEdit from \"../../../../components/icons/IcEdit.vue\";\nimport IcList from \"../../../../components/icons/IcList.vue\";\nimport IcReceiptX from \"../../../../components/icons/IcReceiptX.vue\";\nimport IcSearch from \"../../../../components/icons/IcSearch.vue\";\nimport IcTrash from \"../../../../components/icons/IcTrash.vue\";\nimport { urlOldApi } from \"../../../../helpers\";\nimport { debounce } from \"../../../../helpers/debounce\";\nimport { TOKEN_TYPE, eventStore } from \"../../../../store/event.store\";\nimport ImportAccess from \"../Import-Access/index.vue\";\nimport { IEvents } from \"../interface\";\nimport { getEvent } from \"../service\";\nimport { ROLES, useStoreEvents } from \"../store\";\nimport { urlNewApi } from \"@/helpers/HttpAdapterCostumer\";\nimport axios from \"axios\";\nimport { defineComponent, onMounted, ref, watch } from \"vue\";\nimport { useToast } from \"vue-toastification\";\nimport * as XLSX from \"xlsx\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeEvents = useStoreEvents();\n\nconst miniSpinner = ref(false);\nconst toast = useToast();\nconst isLoading = ref(false);\nconst { getStoreToken } = eventStore;\n\nconst updateEvent = (event: IEvents) => {\n\tstoreEvents.setEventToUpdate(event);\n\tstoreEvents.setTab(\"Form\");\n};\n\nconst search = (value: string) => {\n\tstoreEvents.setSearch(value);\n\tminiSpinner.value = true;\n\tconst TRHEE_SECONDS = 1 * 1000;\n\tdebounce(() => {\n\t\tstoreEvents.setSpinner(true);\n\t\tminiSpinner.value = false;\n\n\t\tgetEvent(storeEvents.setEvents, storeEvents.search, () => {\n\t\t\tstoreEvents.setSpinner(false);\n\t\t});\n\t}, TRHEE_SECONDS);\n};\n\nconst tableActions = [\n\t{\n\t\ttitle: \"Editar\",\n\t\ticon: IcEdit,\n\t\tonClick: (event: any) => updateEvent(event),\n\t},\n\t{\n\t\ttitle: \"Excluir\",\n\t\ticon: IcTrash,\n\t\tonClick: (event: any) => storeEvents.deleteEvent(event.id),\n\t},\n\t{\n\t\ttitle: \"Download Desktop\",\n\t\ticon: IcDownloadVue,\n\t\tonClick: (event: any) =>\n\t\t\twindow.open(\n\t\t\t\t`${urlOldApi}/desktop/download/${\n\t\t\t\t\tevent.id\n\t\t\t\t}/all?t=${eventStore.getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])}`\n\t\t\t),\n\t},\n\t{\n\t\ttitle: \"Lista presença\",\n\t\ticon: IcDoubleUser,\n\t\tonClick: async (event: any) => {\n\t\t\tconst token: any = eventStore.getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"]);\n\t\t\tconst urlToOpen =\n\t\t\t\turlOldApi + `/admin/event/${event.id}/exportParticipants`;\n\n\t\t\t// const template = `\n\t\t\t//
\n\t\t\t// \n\t\t\t//
\n\t\t\t// `;\n\t\t\tvar form = document.createElement(\"form\");\n\t\t\tvar element1 = document.createElement(\"input\");\n\n\t\t\tform.method = \"POST\";\n\t\t\tform.action = urlToOpen;\n\n\t\t\telement1.value = token;\n\t\t\telement1.name = \"authToken\";\n\t\t\tform.appendChild(element1);\n\n\t\t\tdocument.body.appendChild(form);\n\n\t\t\tform.submit();\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Pagamentos pendentes\",\n\t\ticon: IcReceiptX,\n\t\tonClick: async (event: any) => {\n\t\t\tif (event.is_paid) {\n\t\t\t\tdownloadCsv(event.id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttoast.error(\"Função apenas para eventos pagos!\");\n\t\t\treturn;\n\t\t},\n\t},\n\t// {\n\t// \ttitle: \"Exportar Acessos\",\n\t// \ticon: IcDoubleUser,\n\t// \tonClick: async (event: any) => {\n\t// \t\tif (!event.online) {\n\t// \t\t\ttoast.error('Apenas para eventos online')\n\t// \t\t}\n\t// \t\tconsole.log('Exportar')\n\t// \t},\n\t// },\n\t{\n\t\ttitle: \"Importar Acessos\",\n\t\ticon: IcDoubleUser,\n\t\tonClick: async (event: any) => {\n\t\t\tif (!event.online) {\n\t\t\t\ttoast.error(\"Função apenas para eventos online\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tuploadFile(true, event);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Gerar lista restrita\",\n\t\ticon: IcList,\n\t\tonClick: async (event: any) => {\n\t\t\tif (!event.marketing_activity) {\n\t\t\t\treturn toast.error(\n\t\t\t\t\t'Evento não habilitado para \"Atividade de Marketing\"'\n\t\t\t\t);\n\t\t\t}\n\t\t\thandleReportRestrictedList(event.id);\n\t\t\ttoast.success(\"Relatório da lista restrita gerada com sucesso!\");\n\t\t},\n\t},\n];\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome do Evento\",\n\t\tvalue: \"title\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"30%\",\n\t},\n\t{\n\t\ttitle: \"Data\",\n\t\tvalue: \"dataList\",\n\t\tid: 3,\n\t\tlist: true,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Vagas\",\n\t\tvalue: \"spotList\",\n\t\tid: 3,\n\t\tlist: true,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Status\",\n\t\tvalue: \"status\",\n\t\tid: 4,\n\t\tsort: false,\n\t\ticonList: {\n\t\t\topen: { icon: IcCalendarClockVue, description: \"Aberto\" },\n\t\t\tclosed: { icon: IcCalendarCheckVue, description: \"Fechado\" },\n\t\t\tcanceled: { icon: IcCalendarRemoveVue, description: \"Cancelado\" },\n\t\t},\n\t\twidth: \"10%\",\n\t},\n];\n\nasync function downloadCsv(eventId: any) {\n\tstoreEvents.setSpinner(true);\n\tconst url = urlNewApi;\n\tconst endpoint = `/pre-registration/pending/ws-pro/download?event_id=${eventId}`;\n\tconst response = await fetch(url + endpoint, {\n\t\tmethod: \"GET\",\n\t\theaders: {\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t},\n\t});\n\tif (response.status === 404) {\n\t\ttoast.error(\n\t\t\t\"Nenhum pré-registro com pagamento perto a expirar encontrado.\"\n\t\t);\n\t\tstoreEvents.setSpinner(false);\n\t}\n\tif (response.ok) {\n\t\tconst csvData = await response.text();\n\n\t\tconst processedCsvData = csvData\n\t\t\t.replace(/,/g, \";\")\n\t\t\t.replace(/(\\d+),(\\d+)/g, '\"$1$2\"');\n\n\t\tconst csvContent = \"data:text/csv;charset=utf-8,\" + processedCsvData;\n\t\tconst encodedUri = encodeURI(csvContent);\n\n\t\tconst link = document.createElement(\"a\");\n\t\tlink.href = encodedUri;\n\t\tlink.download = \"pagamentos_pendentes.csv\";\n\t\tlink.click();\n\t\tstoreEvents.setSpinner(false);\n\t} else {\n\t\tstoreEvents.setSpinner(false);\n\t\tthrow new Error(\"Falha ao baixar o arquivo CSV.\");\n\t}\n}\n\nfunction uploadFile(open: boolean, event: any) {\n\tconst fileInput: any = document.createElement(\"input\");\n\tfileInput.type = \"file\";\n\tfileInput.accept = \".xls, .xlsx\";\n\n\tfileInput.click();\n\n\tfileInput.addEventListener(\"change\", () => {\n\t\tconst file = fileInput?.files[0];\n\n\t\tif (!file) {\n\t\t\talert(\"Por favor, selecione um arquivo.\");\n\t\t\treturn;\n\t\t}\n\n\t\tconst allowedTypes = [\n\t\t\t\"application/vnd.ms-excel\",\n\t\t\t\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n\t\t];\n\t\tif (!allowedTypes.includes(file.type)) {\n\t\t\ttoast.error(\n\t\t\t\t\"Por favor, selecione um arquivo de planilha válido (Excel).\"\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tif (file) {\n\t\t\tconst reader = new FileReader();\n\n\t\t\treader.onload = (e) => {\n\t\t\t\tconst bstr = e?.target?.result;\n\t\t\t\tconst wb = XLSX.read(bstr, { type: \"binary\" });\n\n\t\t\t\tconst wsname = wb.SheetNames[0];\n\t\t\t\tconst ws = wb.Sheets[wsname];\n\n\t\t\t\tconst list: any[] = XLSX.utils.sheet_to_json(ws, { header: 1 });\n\t\t\t\tconst [header, ...data] = list;\n\t\t\t\tconst newList: any = data.map(\n\t\t\t\t\t([nomeSala, dataAcesso, nome, empresa, _, __, token]) => ({\n\t\t\t\t\t\tnomeSala,\n\t\t\t\t\t\tdataAcesso,\n\t\t\t\t\t\tnome,\n\t\t\t\t\t\tempresa,\n\t\t\t\t\t\ttoken,\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t\tstoreEvents.bodyToImport = newList.filter((item: any) => {\n\t\t\t\t\tconst keys = Object.keys(item);\n\t\t\t\t\treturn keys.some((key) => item[key] !== undefined);\n\t\t\t\t});\n\t\t\t\tstoreEvents.setOpenModal(true, event);\n\t\t\t};\n\n\t\t\treader.readAsBinaryString(file);\n\t\t}\n\t});\n}\n\nconst handleReportRestrictedList = async (eventId: string) => {\n\tisLoading.value = true;\n\tconst endpoint = `/admin/restricted-list/report?eventId=${eventId}`;\n\ttry {\n\t\tconst response = await fetch(urlOldApi + endpoint, {\n\t\t\tmethod: \"GET\",\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\tAuthorization: `Bearer ${getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])}`,\n\t\t\t},\n\t\t});\n\t\tlet blob = undefined;\n\n\t\tif (response.ok) {\n\t\t\tisLoading.value = false;\n\t\t\tblob = await response.blob();\n\t\t} else {\n\t\t\tisLoading.value = false;\n\t\t\tthrow new Error(\"Falha ao exportar os dados.\");\n\t\t}\n\n\t\tconst url = URL.createObjectURL(blob);\n\n\t\tconst link = document.createElement(\"a\");\n\t\tlink.href = url;\n\t\tlink.download = \"relatorio-lista-restrita.xlsx\";\n\n\t\tdocument.body.appendChild(link);\n\n\t\tlink.click();\n\n\t\tdocument.body.removeChild(link);\n\t} catch {\n\t\tconsole.error(\"Falha ao exportar os dados\");\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_unref(storeEvents).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: \"\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _unref(storeEvents).search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (search($event.target.value)))\n }, null, 8, [\"value\"]),\n (miniSpinner.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createBlock(IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_unref(storeEvents) && _unref(storeEvents).events)\n ? (_openBlock(), _createBlock(Table, {\n key: 1,\n columns: columns,\n overflowX: \"auto\",\n rows: _unref(storeEvents).events,\n tableActions: tableActions,\n onOnsort: _cache[1] || (_cache[1] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_unref(storeEvents).setSpinner(true);\n\t\t\t\t\t_unref(getEvent)(\n\t\t\t\t\t\t_unref(storeEvents).setEvents,\n\t\t\t\t\t\t_unref(storeEvents).search,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t_unref(storeEvents).setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column === 'dataList' ? 'start_date' : column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(storeEvents).modalIsOpen)\n ? (_openBlock(), _createBlock(ImportAccess, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5a7c9346&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5a7c9346\"]])\n\nexport default __exports__","import {\n\tgetGestores,\n\tsearchCpfExecutive,\n\tgetExecutives,\n\tgetSponsors,\n\tloadSponsors,\n\tdeleteCompanyApi,\n} from \"./service\";\nimport { existThisFile, HttpAdapterCustomer } from \"@/helpers\";\nimport { ICompany, IExecutive } from \"@/interface/company\";\nimport { defineStore } from \"pinia\";\nimport Toast, { useToast } from \"vue-toastification\";\n\nexport const type = {\n\t\"not informed\": \"Não informado\",\n\t\"commercial partner\": \"Parceiro comercial\",\n\tassociated: \"Associado\",\n\tgovernment: \"Governamental\",\n\tentity: \"Entidade\",\n\tmidia: \"Mídia\",\n\tinvited: \"Convidado\",\n\torganizer: \"Organização\",\n\tstand_builder: \"Montadora Oficial\",\n\t\"ticket sale\": \"Inscrição\",\n};\n\nconst initialData: ICompany = {\n\tid: \"\",\n\tname: \"\",\n\tdomains: \"\",\n\tdate_of_association: \"\",\n\tsocial_name: \"\",\n\tcnpj: \"\",\n\tstatus: \"\",\n\taddress: \"\",\n\ttype: \"not informed\",\n\temail: \"\",\n\tsponsorship_type_id: \"\",\n};\n\ninterface IGestor {\n\tname: String;\n\temail: String;\n\trole: String;\n\tpassword: String;\n\tid?: number;\n}\nconst initialDataGestor: IGestor = {\n\tname: \"\",\n\temail: \"\",\n\trole: \"company_manager\",\n\tpassword: \"\",\n};\n\nconst initialDataExecutive: IExecutive = {\n\tstatus: \"not invited\",\n\tgender: \"not informed\",\n\ttype: \"\",\n\tcpf: \"\",\n\tguest_company: \"\",\n\tname: \"\",\n\tcredential_name: \"\",\n\tclassification_id: \"\",\n\tposition_type_id: \"\",\n\tposition: \"\",\n\tcompany_id: \"\",\n\tallows_meeting: true,\n\tenterprise_mail: \"\",\n\tpersonal_mail: \"\",\n\tenterprise_phone: \"\",\n\thome_phone: \"\",\n\tpersonal_phone: \"\",\n\tbirth_date: null,\n\tregister: \"\",\n\taddress: \"\",\n\tcredential_color: \"#000000\",\n\tobservation: \"\",\n\tvip: false,\n};\nexport const useStoreCompanys = defineStore(\"Companys\", {\n\tstate: () => ({\n\t\tCompanys: [] as ICompany[],\n\t\ttab: \"List\" as\n\t\t\t| \"List\"\n\t\t\t| \"Form\"\n\t\t\t| \"FormEdit\"\n\t\t\t| \"ExistManager\"\n\t\t\t| \"FormExecutive\",\n\t\ttabEdit: \"gestor\" as \"gestor\" | \"executive\",\n\t\ttabAdd: false,\n\t\tcompanyToUpdate: initialData,\n\t\texecutiveToUpdate: initialDataExecutive,\n\t\tsearch: \"\",\n\t\tsponsors: [],\n\t\tspinner: false,\n\t\tgestores: [],\n\t\texecutives: [],\n\t\tusersManagers: [],\n\t\tconfirm: \"\" as string,\n\t\tgestorToUpdate: initialDataGestor,\n\t\thasSearchCpf: false,\n\t\tdomains: {\n\t\t\tcompanys: [],\n\t\t\tpositions: [],\n\t\t\tpositionsType: [],\n\t\t\tclassifications: [],\n\t\t\tstatus: [],\n\t\t},\n\t\tcompany_id: \"\",\n\t}),\n\tactions: {\n\t\tsetDomains(\n\t\t\ttype:\n\t\t\t\t| \"companys\"\n\t\t\t\t| \"positions\"\n\t\t\t\t| \"positionsType\"\n\t\t\t\t| \"classifications\"\n\t\t\t\t| \"status\",\n\t\t\tdomain: any\n\t\t) {\n\t\t\tthis.domains[type] = domain;\n\t\t},\n\t\tsetTabAdd(tab: any) {\n\t\t\tthis.tabAdd = tab;\n\t\t},\n\t\tsetTabConfirm(tab: any) {\n\t\t\tthis.confirm = tab;\n\t\t},\n\t\tsetExistGestor() {\n\t\t\tthis.tab = \"ExistManager\";\n\t\t},\n\t\tsetGestores(gestores: any) {\n\t\t\tthis.gestores = gestores;\n\t\t\tthis.gestores = gestores.map((el: any) => {\n\t\t\t\tel.cpfFormat = el.cpf\n\t\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\");\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetSponsors(sponsors: any) {\n\t\t\tthis.sponsors = sponsors;\n\t\t},\n\t\tsetCompanys(Companys: ICompany[]) {\n\t\t\tthis.Companys = Companys.map((el) => {\n\t\t\t\tel.typeName = el.type && type[el.type];\n\t\t\t\tel.statusName = el.status === \"active\" ? \"Ativa\" : \"inativa\";\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetCompanyId(companyId: string) {\n\t\t\tthis.company_id = companyId;\n\t\t},\n\t\tsetUsersManagers(Companys: any) {\n\t\t\tthis.usersManagers = Companys.map((el: any) => {\n\t\t\t\tel.roleName =\n\t\t\t\t\tel.role && ROLES.filter((role) => role.id === el.role)[0].role;\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetExecutives(Companys: any) {\n\t\t\tthis.executives = Companys.map((el: any) => {\n\t\t\t\tel.roleName =\n\t\t\t\t\tel.role && ROLES.filter((role) => role.id === el.role)[0].role;\n\t\t\t\tel.cpfFormat = el.cpf\n\t\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\");\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\taddCompany(Company: ICompany) {\n\t\t\tthis.Companys.push(Company);\n\t\t},\n\t\tupdateCompany(Company: ICompany) {\n\t\t\tconst index = this.Companys.findIndex((u: any) => u.id === Company.id);\n\t\t\tthis.Companys[index] = Company;\n\t\t},\n\t\tsetCompanyToUpdate(Company?: ICompany) {\n\t\t\tthis.companyToUpdate = Company ? Company : initialData;\n\t\t},\n\t\tsetGestorToUpdate(Company: any, type: any) {\n\t\t\tthis.gestorToUpdate = Company ? Company : initialDataGestor;\n\t\t\tif (type === \"edit\") this.setTab(\"Form\");\n\t\t},\n\t\tsetExecutiveToUpdate(executive: any, type: any) {\n\t\t\tif (!this.executiveToUpdate) executive as any;\n\t\t\tthis.executiveToUpdate = {\n\t\t\t\t...initialDataExecutive,\n\t\t\t\t...executive,\n\t\t\t};\n\t\t},\n\t\tsetValueInCompanyToUpdate(key: string, value: any) {\n\t\t\tif (!this.companyToUpdate) this.companyToUpdate = {} as any;\n\t\t\t(this.companyToUpdate as any)[key] = value;\n\t\t},\n\t\tsetValueInGestorToUpdate(key: string, value: any) {\n\t\t\tif (!this.gestorToUpdate) this.gestorToUpdate = {} as any;\n\t\t\t(this.gestorToUpdate as any)[key] = value;\n\t\t},\n\t\tsetValueInExecutiveToUpdate(key: string, value: any) {\n\t\t\tif (!this.executiveToUpdate)\n\t\t\t\tthis.executiveToUpdate = initialDataExecutive as IExecutive;\n\t\t\t(this.executiveToUpdate as any)[key] = value;\n\t\t},\n\t\tsetTab(tab: \"List\" | \"Form\" | \"FormEdit\" | \"FormExecutive\") {\n\t\t\tif (tab === \"List\") {\n\t\t\t\tthis.setGestorToUpdate(initialData, \"close\");\n\t\t\t}\n\t\t\tif (tab === \"Form\" || tab === \"FormEdit\") {\n\t\t\t\tloadSponsors(this.setSponsors, () => {\n\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetTabEdit(tab: any) {\n\t\t\tthis.tabEdit = tab;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tsetHasSearch(val: boolean) {\n\t\t\tthis.hasSearchCpf = val;\n\t\t},\n\t\tdeleteCompany(id: any) {\n\t\t\tdeleteCompanyApi(id);\n\t\t},\n\t\tdeleteGestor(id: any, companyId: any) {\n\t\t\tdeleteGestorApi(id, companyId);\n\t\t},\n\t\tdeleteExecutive(id: any, companyId: any) {\n\t\t\tdeleteExecutiveApi(id, companyId);\n\t\t},\n\t\tasync searchCpf(cpf: any) {\n\t\t\tthis.setSpinner(true);\n\t\t\tawait searchCpfExecutive(cpf, this.setExecutiveToUpdate, () => {\n\t\t\t\tthis.setHasSearch(true);\n\t\t\t});\n\t\t\tthis.setSpinner(false);\n\t\t},\n\t},\n});\n\nexport const ROLES = [\n\t{ id: \"admin\", role: \"Administrador\" },\n\t{ id: \"Company\", role: \"Usuário\" },\n\t{ id: \"company_manager\", role: \"Gestor\" },\n\t{ id: \"organizer\", role: \"Organizador\" },\n\t{ id: \"stand_builder\", role: \"Montadora Oficial\" },\n\t{ id: \"coordinator\", role: \"Coordenador\" },\n\t{ id: \"sender\", role: \"Remetente\" },\n];\n\nexport const deleteExecutiveApi = async (id: number, companyId: string) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/participant/remove-company/${id}/${companyId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\tconst storeCompanys = useStoreCompanys();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao excluir executivo\");\n\ttoast.success(\"Executivo Excluido com sucesso\");\n\tgetExecutives(\n\t\tcompanyId,\n\t\tstoreCompanys.setExecutives,\n\t\tstoreCompanys.search,\n\t\t() => {\n\t\t\tstoreCompanys.setSpinner(false);\n\t\t}\n\t);\n};\n\nexport const deleteGestorApi = async (id: any, eventId: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/user/remove-company/${id}/${eventId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\n\tconst storeCompanys = useStoreCompanys();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao excluir gestor\");\n\ttoast.success(\"Gestor excluido com sucesso\");\n\tgetGestores(eventId, storeCompanys.setGestores, storeCompanys.search, () => {\n\t\tstoreCompanys.setSpinner(false);\n\t});\n};\nexport const getCompany = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/Company${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n","import { useStoreCompanys } from \"./store\";\nimport { HttpAdapterCustomer, urlOldApi } from \"@/helpers\";\nimport { useToast } from \"vue-toastification\";\n\nexport const getSponsors = async (setValue: any, callback: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/sponsorshipType`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const loadSponsors = async (setValue: any, callback: () => void) => {\n\tawait fetch(`${urlOldApi}/admin/sponsorshipType`)\n\t\t.then((response) => {\n\t\t\tcallback();\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => setValue(data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => callback());\n};\n\nexport const deleteCompanyApi = async (id: string) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/company/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst toast = useToast();\n\n\tconst storeCompanys = useStoreCompanys();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar usuário\");\n\ttoast.success(\"Empresa Excluida com sucesso\");\n\tgetCompany(storeCompanys.setCompanys, storeCompanys.search, () => {\n\t\tstoreCompanys.setSpinner(false);\n\t});\n};\nexport const getCompany = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getCompanyById = async (\n\tcompanyId: any,\n\tsetValue: (p: any) => void,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company/${companyId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getGestores = async (\n\tcompanyId: any,\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `&direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/user?companyId=${companyId}${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getUsersManagers = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?role=company_manager&direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/user${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const getExecutives = async (\n\tid: any,\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `&direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/participant/listForCompany/?companyId=${id}${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const searchCpfExecutive = async (\n\tcpf: any,\n\tsetValue: (p: any, type: any) => void,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/participant/find-by-cpf/${cpf}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) {\n\t\tcallback();\n\t\treturn;\n\t}\n\tsetValue(data, \"edit\");\n\tcallback();\n};\n\nexport const loadDomains = () => {\n\tconst store = useStoreCompanys();\n\n\tloadCompanys();\n\tloadPositions();\n\tloadPositionsType();\n\tloadClassification();\n\n\tconst type = Object.keys(typeStatus).map((key: any) => {\n\t\treturn {\n\t\t\tid: key,\n\t\t\ttitle: typeStatus[key],\n\t\t};\n\t});\n\tstore.setDomains(\"status\", type);\n};\n\nexport const typeStatus: any = {\n\t\"not invited\": \"Convite não Enviado\",\n\tinvited: \"Convite Enviado\",\n\taccepted: \"Convite Aceito\",\n\tunauthorized: \"Não Autorizado\",\n\tpresent: \"Presente\",\n\t\"present at time\": \"Presente na hora\",\n\t\"not present\": \"Ausente\",\n\tconfirmed: \"Confirmado\",\n\t\"subscription at time\": \"Inscrição na Hora\",\n};\n\nconst loadCompanys = async () => {\n\tconst store = useStoreCompanys();\n\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tstore.setDomains(\"companys\", data);\n};\n\nconst loadPositions = async () => {\n\tconst store = useStoreCompanys();\n\n\tawait fetch(`${urlOldApi}/admin/position`)\n\t\t.then((response) => {\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => store.setDomains(\"positions\", data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => console.error(err));\n};\n\nconst loadPositionsType = async () => {\n\tconst store = useStoreCompanys();\n\n\tawait fetch(`${urlOldApi}/admin/positionType`)\n\t\t.then((response) => {\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => store.setDomains(\"positionsType\", data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => console.error(err));\n};\n\nconst loadClassification = async () => {\n\tconst store = useStoreCompanys();\n\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/classification`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tstore.setDomains(\"classifications\", data);\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createBlock as _createBlock, withCtx as _withCtx, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6def87e4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"form-layout\",\n style: {\"overflow\":\"auto\"}\n}\nconst _hoisted_2 = { style: {\"display\":\"flex\"} }\nconst _hoisted_3 = { style: {\"width\":\"90%\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_6 = {\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"},\n class: \"checkbox-list\"\n}\nconst _hoisted_7 = { class: \"row-checkbox\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"checkbox\"\n}\nconst _hoisted_9 = { style: {\"display\":\"flex\",\"align-items\":\"flex-end\",\"width\":\"100%\",\"gap\":\"1rem\"} }\nconst _hoisted_10 = { style: {\"margin-top\":\"1vh\",\"width\":\"90%\",\"text-align\":\"start\"} }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"var(--color-gray)\"} }, \"*Link gerado após salvar os dados pela primeira vez\", -1))\nconst _hoisted_12 = {\n class: \"row-checkbox\",\n style: {\"width\":\"100%\",\"margin-top\":\"3vh\"}\n}\nconst _hoisted_13 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"gap\":\"1vw\",\"align-items\":\"center\"} }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"margin-top\":\"6px\"} }, \"Atividade Premium\", -1))\nconst _hoisted_15 = {\n class: \"row-checkbox\",\n style: {\"width\":\"100%\",\"margin-top\":\"2vh\"}\n}\nconst _hoisted_16 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"gap\":\"1vw\",\"align-items\":\"center\"} }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"margin-top\":\"6px\"} }, \" Layout de Mesas\", -1))\nconst _hoisted_18 = {\n class: \"row-checkbox\",\n style: {\"width\":\"100%\",\"margin-top\":\"2vh\"}\n}\nconst _hoisted_19 = { class: \"w-full flex gap-3 items-center mb-2\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"mt-4\" }, \"Evento pago\", -1))\nconst _hoisted_21 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"gap\":\"1vw\",\"align-items\":\"center\"} }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Imagens\", -1))\nconst _hoisted_23 = { class: \"images\" }\nconst _hoisted_24 = {\n style: {\"display\":\"flex\"},\n class: \"card-image\"\n}\nconst _hoisted_25 = { class: \"title\" }\nconst _hoisted_26 = { class: \"buttons-image\" }\nconst _hoisted_27 = {\n type: \"button\",\n style: {\"padding\":\"4px\",\"width\":\"max-content\",\"height\":\"max-content\",\"cursor\":\"pointer\"}\n}\nconst _hoisted_28 = [\"onInput\"]\nconst _hoisted_29 = { class: \"text-center\" }\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../components/Atoms/BaseSelect.vue\";\nimport IcCopy from \"../../../../../components/icons/IcCopy.vue\";\nimport IcTrash from \"../../../../../components/icons/IcTrash.vue\";\nimport IcUpload from \"../../../../../components/icons/IcUpload.vue\";\nimport { urlOldApi } from \"../../../../../helpers\";\nimport { useStoreEvents } from \"../../store\";\nimport { getCompany } from \"@/views/Admin/companys/service\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport moment from \"moment\";\nimport { onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeEvents = useStoreEvents();\nconst toast = useToast();\n\nconst avatar = ref(\"\");\n\nconst filesTypes: any = [\n\t{ type: \"logo\", name: \"Logo\", size: \"300 x 300\" },\n\t{ type: \"banner\", name: \"Banner\", size: \"1366 x 250\" },\n\t{ type: \"footer\", name: \"Rodapé\", size: \"2480 x 591\" },\n\t{ type: \"invitation\", name: \"Convite\", size: \"600 x 900\" },\n\t{ type: \"confirmation\", name: \"Confirmação\", size: \"600 x 900\" },\n\t{ type: \"certificate\", name: \"Certificado\", size: \"3500 x 2480\" },\n];\n\nconst removeFilename = (filename: any) => {\n\tstoreEvents.eventToUpdate.stand_builder.stand_builder_files =\n\t\tstoreEvents.eventToUpdate.stand_builder.stand_builder_files.filter(\n\t\t\t(file: any) => file.file !== filename\n\t\t);\n};\n\nconst hasFile = (type: any) => {\n\treturn storeEvents.eventToUpdate.assets.some((a: any) => a.type === type);\n};\n\nconst upload = (event: any, type: any) => {\n\tremoveUpload(type);\n\n\tconst file = event.target.files[0];\n\tconst reader = new FileReader();\n\treader.onload = (e: any) => {\n\t\tavatar.value = e.target.result;\n\t\tstoreEvents.eventToUpdate.assets.push({\n\t\t\tbase64: e.target.result,\n\t\t\tfilename: file.name,\n\t\t\ttype,\n\t\t});\n\t};\n\treader.readAsDataURL(file);\n};\n\nconst removeUpload = (type: any) => {\n\tstoreEvents.setValueInEventToUpdate(\n\t\t\"assets\",\n\t\tstoreEvents.eventToUpdate.assets.filter((f: any) => f.type !== type)\n\t);\n};\n\nconst getFileUrl = (type: any) => {\n\tconst file = storeEvents.eventToUpdate.assets.filter(\n\t\t(a: any) => a.type === type\n\t)[0];\n\tif (!file) return \"https://via.placeholder.com/450\";\n\tconst urlFormated = urlOldApi.replace(\"/api\", \"/content\");\n\treturn file.base64 || `${urlFormated}/${file.path}`;\n};\n\nconst checkboxList: any = [\n\t{\n\t\tname: \"activity_confirmation\",\n\t\tlabel: \"Controle por atividade\",\n\t\tdisabled: false,\n\t\tinput: {\n\t\t\tname: \"minimum_activities\",\n\t\t\tlabel: \"Nº mínimo de atividades\",\n\t\t},\n\t\tcounter: \"activity_admin_confirmation\",\n\t},\n\t{\n\t\tname: \"allow_relatives\",\n\t\tlabel: \"Acompanhantes\",\n\t\tdisabled: \"online\",\n\t\tinput: {\n\t\t\tname: \"relatives_min_age\",\n\t\t\tlabel: \"Idade Mínima\",\n\t\t},\n\t},\n\t{\n\t\tname: \"marketing_activity\",\n\t\tlabel: \"Atividade de marketing\",\n\t\tdisabled: false,\n\t\tinput: {\n\t\t\tname: \"marketing_activity_name\",\n\t\t\tlabel: \"Nome da Atividade\",\n\t\t},\n\t},\n\t{\n\t\tname: \"activity_admin_confirmation\",\n\t\tlabel: \"Controle por atividade (ADMIN)\",\n\t\tdisabled: false,\n\t\tcounter: \"activity_confirmation\",\n\t},\n\t{\n\t\tname: \"spots_by_company\",\n\t\tdisabled: false,\n\t\tlabel: \"Controle de vagas por empresa\",\n\t},\n\t{\n\t\tname: \"lodging\",\n\t\tlabel: \"Hospedagem\",\n\t},\n\t{\n\t\tname: \"air_travel\",\n\t\tlabel: \"Passagens Aéreas\",\n\t\tdisabled: false,\n\t},\n\t{\n\t\tname: \"public_invite\",\n\t\tlabel: \"Convite em área pública\",\n\t\tdisabled: false,\n\t},\n\t{\n\t\tname: \"invitation_closed\",\n\t\tlabel: \"Convites Encerrados\",\n\t\tdisabled: false,\n\t},\n\t{\n\t\tname: \"has_stand_builder\",\n\t\tlabel: \"Montadora\",\n\t\tdisabled: \"online\",\n\t},\n\t{\n\t\tname: \"validate_corporate_mail\",\n\t\tlabel: \"Validar Email Corporativo\",\n\t\tdisabled: false,\n\t},\n\t{\n\t\tname: \"enable_mobile\",\n\t\tlabel: \"Mostrar em Aplicativo\",\n\t\tdisabled: false,\n\t},\n\t{\n\t\tname: \"fee_payment\",\n\t\tlabel: \"Pagamento de Taxas \",\n\t\tdisabled: \"online\",\n\t},\n\t{\n\t\tname: \"online\",\n\t\tlabel: \"Evento Online\",\n\t\tdisabled: false,\n\t\tinput: {\n\t\t\tname: \"previous_release_hours\",\n\t\t\tlabel: \"Quantidade horas(s) liberação prévia\",\n\t\t},\n\t},\n\t{\n\t\tshow: \"marketing_activity\",\n\t\tname: \"show_marketing_activity\",\n\t\tdisabled: false,\n\t\tlabel: \"Exibir Menu da Atividade de Marketing\",\n\t},\n\t{\n\t\tname: \"token_control\",\n\t\tdisabled: false,\n\t\tlabel: \"Controlado por Token\",\n\t},\n\t{\n\t\tname: \"generate_link\",\n\t\tdisabled: false,\n\t\tlabel: \"Gera Link de Auto-cadastro\",\n\t},\n\t{\n\t\tname: \"new_tab\",\n\t\tdisabled: false,\n\t\tlabel: \"Nova aba\",\n\t\tshow: \"online\",\n\t},\n];\n\nfunction copyLink() {\n\tnavigator.clipboard.writeText(storeEvents.eventToUpdate?.event_link);\n\ttoast.success(\"Link do evento copiado!\");\n}\n\n// function printEnv() {\n// \tconsole.log(process.env);\n// }\n\nonMounted(() => {\n\tstoreEvents.setSpinner(true);\n\t// printEnv();\n\tif (!storeEvents.eventToUpdate.id) {\n\t\tstoreEvents.eventToUpdate.status = \"open\";\n\t}\n\tgetCompany(\n\t\tstoreEvents.setstandBuilders,\n\t\t\"\",\n\t\t() => {\n\t\t\tstoreEvents.setSpinner(false);\n\t\t},\n\t\t{ order: \"name\", direction: \"asc\" }\n\t);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: \"title\",\n label: \"Nome do Evento*\",\n placeholder: \"Nome do Evento\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeEvents).eventToUpdate?.title?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeEvents).eventToUpdate?.title,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('title', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"spots\",\n type: \"number\",\n label: \"Quantidade de Vagas *\",\n placeholder: \"Quantidade de Vagas\",\n value: _unref(storeEvents).eventToUpdate?.spots,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t'spots',\n\t\t\t\t\t\t\t\tNumber($event.target.value)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Status *\",\n options: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'open',\n\t\t\t\t\t\t\t\ttitle: 'Aberto',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'closed',\n\t\t\t\t\t\t\t\ttitle: 'Encerrado',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'canceled',\n\t\t\t\t\t\t\t\ttitle: 'Cancelado',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeEvents).eventToUpdate?.status,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('status', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"start_date\",\n label: \"Data Início *\",\n placeholder: \"Data Início\",\n type: \"date\",\n value: _unref(storeEvents).eventToUpdate?.start_date,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t'start_date',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"end_date\",\n label: \"Data Fim *\",\n placeholder: \"Data Fim\",\n type: \"date\",\n value: _unref(storeEvents).eventToUpdate?.end_date,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t'end_date',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"limit_date\",\n label: \"Limite para inscrições *\",\n placeholder: \"Limite\",\n type: \"date\",\n value: _unref(storeEvents).eventToUpdate?.limit_date,\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t'limit_date',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(checkboxList, (item) => {\n return _createElementVNode(\"div\", {\n key: item.id,\n style: {\"display\":\"flex\",\"width\":\"31%\"}\n }, [\n _createElementVNode(\"div\", _hoisted_7, [\n (_unref(storeEvents).eventToUpdate[item.show] || !item.show)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(BaseInput, {\n name: item.name,\n type: \"checkbox\",\n label: \"\",\n disabled: _unref(storeEvents).eventToUpdate[item.disabled],\n class: \"input-checkbox\",\n checked: \n\t\t\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate[item.name]\n\t\t\t\t\t\t\t\t\t,\n onChange: \n\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t\titem.name,\n\t\t\t\t\t\t\t\t\t\t\t\tevent.target.checked\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tif (item.counter) {\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t\t\titem.counter,\n\t\t\t\t\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n }, null, 8, [\"name\", \"disabled\", \"checked\", \"onChange\"]),\n _createElementVNode(\"span\", null, _toDisplayString(item.label), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (item.input && _unref(storeEvents).eventToUpdate[item.name])\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: item.input.name,\n label: item.input.label,\n placeholder: item.input.label,\n value: _unref(storeEvents).eventToUpdate[item.input.name],\n onChange: \n\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t\titem.input.name,\n\t\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n }, null, 8, [\"name\", \"label\", \"placeholder\", \"value\", \"onChange\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n }), 64))\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(BaseInput, {\n style: {\"margin-top\":\"1vh\"},\n name: \"event_link\",\n label: \"Link do Evento\",\n placeholder: \"Link do Evento\",\n disabled: _unref(storeEvents).eventToUpdate?.generate_link,\n value: _unref(storeEvents).eventToUpdate?.event_link,\n onChange: _cache[6] || (_cache[6] = (event) => {\n\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t'event_link',\n\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t)\n\n\n\t\t\t\t\t\t\t})\n }, null, 8, [\"disabled\", \"value\"]),\n _hoisted_11\n ]),\n _createVNode(BaseButton, {\n style: {\"margin-bottom\":\"18px\"},\n type: \"button\",\n onClick: copyLink\n }, {\n default: _withCtx(() => [\n _createVNode(IcCopy)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(BaseInput, {\n name: \"activity_premium\",\n type: \"checkbox\",\n label: \"\",\n class: \"input-checkbox\",\n checked: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.activity_premium\n\t\t\t\t\t\t\t,\n onChange: _cache[7] || (_cache[7] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'activity_premium',\n\t\t\t\t\t\t\t\t\t\tevent.target.checked\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"checked\"]),\n _hoisted_14,\n (\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.activity_premium\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"name_activity_premium\",\n style: {\"width\":\"20vw\"},\n label: \"Nome da Atividade Premium\",\n value: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.name_activity_premium\n\t\t\t\t\t\t\t,\n onChange: _cache[8] || (_cache[8] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'name_activity_premium',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.activity_premium\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"limit_date_activity_premium\",\n type: \"date\",\n style: {\"width\":\"20vw\"},\n label: \"Limite para inscrições\",\n value: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(moment)(\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.limit_date_activity_premium\n\t\t\t\t\t\t\t\t).format('YYYY-MM-DD')\n\t\t\t\t\t\t\t,\n onChange: _cache[9] || (_cache[9] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'limit_date_activity_premium',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(BaseInput, {\n name: \"has_event_table_reservation\",\n type: \"checkbox\",\n label: \"\",\n disabled: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate && _unref(storeEvents).eventToUpdate?.online\n\t\t\t\t\t\t\t,\n class: \"input-checkbox\",\n checked: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.has_event_table_reservation\n\t\t\t\t\t\t\t,\n onChange: _cache[10] || (_cache[10] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'has_event_table_reservation',\n\t\t\t\t\t\t\t\t\t\tevent.target.checked\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"disabled\", \"checked\"]),\n _hoisted_17,\n (\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.has_event_table_reservation\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n disabled: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate && _unref(storeEvents).eventToUpdate?.online\n\t\t\t\t\t\t\t,\n name: \"payment_amount\",\n style: {\"width\":\"20vw\"},\n label: \"Nome do Layout de Mesas\",\n value: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate &&\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.event_table_reservation_description\n\t\t\t\t\t\t\t,\n onChange: _cache[11] || (_cache[11] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'event_table_reservation_description',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"disabled\", \"value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(BaseInput, {\n name: \"is_paid\",\n type: \"checkbox\",\n label: \"\",\n class: \"input-checkbox\",\n checked: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate && _unref(storeEvents).eventToUpdate?.is_paid\n\t\t\t\t\t\t\t,\n onChange: _cache[12] || (_cache[12] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'is_paid',\n\t\t\t\t\t\t\t\t\t\tevent.target.checked\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"checked\"]),\n _hoisted_20,\n (\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate && _unref(storeEvents).eventToUpdate?.is_paid\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"payment_amount\",\n type: \"number\",\n style: {\"width\":\"22vw\"},\n label: \"Valor da inscrição (R$)\",\n placeholder: \"Valor da inscrição (R$)\",\n step: \"0.01\",\n value: _unref(storeEvents).eventToUpdate?.payment_amount,\n onChange: _cache[13] || (_cache[13] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'payment_amount',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate && _unref(storeEvents).eventToUpdate?.is_paid\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"commercial_partner_payment_amount\",\n type: \"number\",\n style: {\"width\":\"22vw\"},\n label: \"Valor da inscrição Parceiro Comercial (R$)\",\n placeholder: \"Valor da inscrição Parceiro Comercial (R$)\",\n step: \"0.01\",\n value: \n\t\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.commercial_partner_payment_amount\n\t\t\t\t\t\t\t,\n onChange: _cache[14] || (_cache[14] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'commercial_partner_payment_amount',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(BaseInput, {\n name: \"place\",\n label: \"Local *\",\n placeholder: \"Local\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeEvents).eventToUpdate?.place?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeEvents).eventToUpdate?.place,\n onChange: _cache[15] || (_cache[15] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('place', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"address\",\n label: \"Endereço\",\n placeholder: \"Endereço\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeEvents).eventToUpdate?.address?.length || '0') + '/250'\n\t\t\t\t\t\t,\n value: _unref(storeEvents).eventToUpdate?.address,\n onChange: _cache[16] || (_cache[16] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ]),\n _hoisted_22,\n _createElementVNode(\"div\", _hoisted_23, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(filesTypes, (fileType) => {\n return _createElementVNode(\"div\", {\n style: {\"display\":\"'flex'\",\"flex-direction\":\"column\"},\n key: fileType\n }, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", {\n class: \"image-item\",\n style: _normalizeStyle(`background-image: url(${getFileUrl(fileType.type)})`)\n }, [\n _createElementVNode(\"div\", _hoisted_25, _toDisplayString(fileType.name), 1),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"label\", _hoisted_27, [\n _createVNode(IcUpload),\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"display\":\"none\"},\n onInput: (event) => upload(event, fileType.type),\n extensions: \"png, jpg, jpeg, gif\"\n }, null, 40, _hoisted_28)\n ]),\n (hasFile(fileType.type))\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n type: \"button\",\n style: {\"padding\":\"0 4px\",\"width\":\"max-content\",\"height\":\"max-content\",\"background-color\":\"inherit\",\"box-shadow\":\"none\"},\n onClick: () => removeUpload(fileType.type)\n }, {\n default: _withCtx(() => [\n _createVNode(IcTrash, { class: \"ic-trash\" })\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 4)\n ]),\n _createElementVNode(\"div\", _hoisted_29, \"Tamanho sugerido: \" + _toDisplayString(fileType.size), 1)\n ])\n }), 64))\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6def87e4&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6def87e4\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-05e494ab\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = {\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\",\"flex-wrap\":\"wrap\"},\n class: \"checkbox-list\"\n}\nconst _hoisted_3 = { class: \"row-checkbox\" }\nconst _hoisted_4 = { class: \"checkbox\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.organizers, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.id,\n style: {\"display\":\"flex\",\"width\":\"30%\"}\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_BaseInput, {\n name: item.name,\n type: \"checkbox\",\n label: \"\",\n class: \"input-checkbox\",\n checked: \n\t\t\t\t\t\t\t\t_ctx.storeEvents.eventToUpdate &&\n\t\t\t\t\t\t\t\t_ctx.storeEvents.eventToUpdate.organizersId.includes(item.id)\n\t\t\t\t\t\t\t,\n onChange: \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tevent.target.checked &&\n\t\t\t\t\t\t\t\t\t\t!_ctx.storeEvents.eventToUpdate.organizersId.includes(item.id)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t_ctx.storeEvents.eventToUpdate.organizersId.push(item.id);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (!event.target.checked) {\n\t\t\t\t\t\t\t\t\t\t\tconst findInd =\n\t\t\t\t\t\t\t\t\t\t\t\t_ctx.storeEvents.eventToUpdate.organizersId.indexOf(item.id);\n\t\t\t\t\t\t\t\t\t\t\tif (_ctx.findId !== -1) {\n\t\t\t\t\t\t\t\t\t\t\t\t_ctx.storeEvents.eventToUpdate.organizersId.splice(\n\t\t\t\t\t\t\t\t\t\t\t\t\tfindInd,\n\t\t\t\t\t\t\t\t\t\t\t\t\t1\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t_ctx.storeEvents.setValueInEventToUpdate(\n\t\t\t\t\t\t\t\t\t\t'organizersId',\n\t\t\t\t\t\t\t\t\t\t_ctx.storeEvents.eventToUpdate.organizersId\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n }, null, 8, [\"name\", \"checked\", \"onChange\"]),\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1)\n ])\n ])\n ]))\n }), 128))\n ])\n ]))\n}","\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport { useStoreEvents } from \"../../store\";\nimport { defineComponent, ref, watch, readonly } from \"vue\";\n\nexport default {\n\tdata: () => ({\n\t\ttab: \"event-register\",\n\t\torganizers: useStoreEvents().organizers,\n\t\tstoreEvents: useStoreEvents(),\n\t\tconsole: console,\n\t}),\n\tcomponents: {\n\t\tBaseInput,\n\t},\n};\n","import { render } from \"./index.vue?vue&type=template&id=05e494ab&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=05e494ab&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-05e494ab\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3b89010a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"flex-wrap\":\"wrap\"} }\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"gap\":\"1vw\",\"align-items\":\"flex-end\",\"justify-content\":\"space-between\"} }\nconst _hoisted_4 = [\"value\", \"onChange\"]\nconst _hoisted_5 = {\n style: {\"display\":\"flex\"},\n class: \"card-image\"\n}\nconst _hoisted_6 = { class: \"title\" }\nconst _hoisted_7 = { class: \"buttons-image\" }\nconst _hoisted_8 = {\n type: \"button\",\n style: {\"padding\":\"4px\",\"width\":\"max-content\",\"height\":\"max-content\",\"cursor\":\"pointer\"}\n}\nconst _hoisted_9 = [\"onInput\"]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-center\" }, \"Tamanho sugerido: A4\", -1))\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport IcTrash from \"../../../../../components/icons/IcTrash.vue\";\nimport IcUpload from \"../../../../../components/icons/IcUpload.vue\";\nimport { urlOldApi } from \"../../../../../helpers\";\nimport { useStoreEvents } from \"../../store\";\nimport { onBeforeMount } from \"vue\";\n\ntype TypeTypes = {\n\t[key: string]: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { eventToUpdate, setValueInEventToUpdate } = useStoreEvents();\n\nconst getFileUrl = (type) => {\n\tif (!!eventToUpdate) {\n\t\tconst file = eventToUpdate.assets.filter((a) => a.type === type)[0];\n\t\tif (!file) return \"../../../../../assets/sem-imagem.jpg\";\n\t\tconst urlFormated = urlOldApi.replace(\"/api\", \"/content\");\n\t\treturn file.base64 || `${urlFormated}/${file.path}`;\n\t} else {\n\t\treturn \"../../../../../assets/sem-imagem.jpg\";\n\t}\n};\n\nconst TYPE: TypeTypes = {\n\t\"not informed\": \"Não informado\",\n\t\"commercial partner\": \"Parceiro comercial\",\n\tassociated: \"Associado\",\n\tinvited: \"Convidado\",\n\tgovernment: \"Governo\",\n\tmidia: \"Imprensa\",\n\tentity: \"Entidade\",\n\torganizer: \"Organizadora\",\n\tprovider: \"Prestador\",\n\tspeaker: \"Palestrante\",\n\tstand_builder: \"Montadora\",\n\t\"ticket sale\": \"Inscrição\",\n};\n\nonBeforeMount(() => {\n\tconst colors = {\n\t\t\"not informed\": \"#001dff\",\n\t\t\"commercial partner\": \"#00ff2e\",\n\t\tassociated: \"#ff0000\",\n\t\tinvited: \"#ff8800\",\n\t\tgovernment: \"#ff8800\",\n\t\tmidia: \"#ff8800\",\n\t\tentity: \"#ff8800\",\n\t\torganizer: \"#001dff\",\n\t\tprovider: \"#ff8800\",\n\t\tspeaker: \"#ff8800\",\n\t\tstand_builder: \"#ff8800\",\n\t\t\"ticket sale\": \"#ff8800\",\n\t};\n\n\tif (eventToUpdate.credentialColors.length === 0) {\n\t\teventToUpdate.credentialColors = Object.keys(colors).map((el) => {\n\t\t\treturn { type: el, color: colors[el] };\n\t\t});\n\t}\n});\n\nconst upload = (event: any, type: any) => {\n\tremoveUpload(type);\n\n\tconst file = event.target.files[0];\n\tconst reader = new FileReader();\n\treader.onload = (e: any) => {\n\t\teventToUpdate.assets.push({\n\t\t\tbase64: e.target.result,\n\t\t\tfilename: file.name,\n\t\t\ttype,\n\t\t});\n\t};\n\treader.readAsDataURL(file);\n};\n\nconst hasFile = (type: any) => {\n\treturn eventToUpdate.assets.some((a) => a.type === type);\n};\n\nconst removeUpload = (type: any) => {\n\tsetValueInEventToUpdate(\n\t\t\"assets\",\n\t\teventToUpdate.assets.filter((f) => f.type !== type)\n\t);\n};\n\nconst changeColor = (event: any, index: any) => {\n\teventToUpdate.credentialColors[index].color = event.target.value;\n};\n\nconst removeColor = (index: any) => {\n\teventToUpdate.credentialColors[index].color = \"\";\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(eventToUpdate).credentialColors, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"width\":\"25%\",\"position\":\"relative\",\"margin\":\"1vw\"},\n key: item.id\n }, [\n _createElementVNode(\"div\", {\n style: {\"position\":\"absolute\",\"right\":\"0\",\"top\":\"0\"},\n onClick: () => removeColor(index)\n }, \" X \", 8, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"input\", {\n id: \"color-input\",\n type: \"color\",\n label: \"\",\n value: item.color,\n onChange: (event) => changeColor(event, index),\n style: {\"`border-radius\":\"100%!important\",\"width\":\"30px\",\"height\":\"30px\",\"background\":\"${item.color}\",\"margin-left\":\"2vw`\"}\n }, null, 40, _hoisted_4),\n _createVNode(BaseInput, {\n type: \"text\",\n value: item.color,\n label: \"Escolha uma cor\",\n style: {\"width\":\"86%\"}\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", {\n class: \"image-item\",\n style: _normalizeStyle(`background-image: url(${getFileUrl(item.type)})`)\n }, [\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(TYPE[item.type]), 1),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"label\", _hoisted_8, [\n _createVNode(IcUpload),\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"display\":\"none\"},\n onInput: (event) => upload(event, item.type),\n extensions: \"png, jpg, jpeg, gif\"\n }, null, 40, _hoisted_9)\n ]),\n (hasFile(item.type))\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n type: \"button\",\n style: {\"padding\":\"0 4px\",\"width\":\"max-content\",\"height\":\"max-content\",\"background-color\":\"inherit\",\"box-shadow\":\"none\"},\n onClick: () => removeUpload(item.type)\n }, {\n default: _withCtx(() => [\n _createVNode(IcTrash, { class: \"ic-trash\" })\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 4)\n ]),\n _hoisted_10\n ]))\n }), 128))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3b89010a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3b89010a\"]])\n\nexport default __exports__","","import { render } from \"./icPlusMinus.vue?vue&type=template&id=683d4329\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, withCtx as _withCtx, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n class: \"form-layout\",\n style: {\"overflow\":\"auto\"}\n}\nconst _hoisted_2 = { style: {\"display\":\"flex\"} }\nconst _hoisted_3 = { style: {\"width\":\"90%\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }, [\n /*#__PURE__*/_createElementVNode(\"h3\", null, \"Nome dos Arquivos Obrigatórios\")\n], -1)\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_8 = { style: {\"display\":\"flex\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_9 = { key: 1 }\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../components/Atoms/BaseSelect.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport IcPlusMinusVue from \"../../../../../components/icons/icPlusMinus.vue\";\nimport { useStoreEvents } from \"../../store\";\nimport IcTrashVue from \"@/components/icons/IcTrash.vue\";\nimport { getCompany } from \"@/views/Admin/companys/service\";\nimport { defineComponent, onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeEvents = useStoreEvents();\n\nonMounted(() => {\n\tstoreEvents.setSpinner(true);\n\tgetCompany(\n\t\tstoreEvents.setstandBuilders,\n\t\t\"\",\n\t\t() => {\n\t\t\tstoreEvents.setSpinner(false);\n\t\t},\n\t\t{ order: \"name\", direction: \"asc\" }\n\t);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseSelect, {\n label: \"Montadora *\",\n options: _unref(storeEvents).stand_builders.map((el) => {\n return {\n id:el.id,\n title:el.name\n }\n }),\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeEvents).eventToUpdate?.stand_builder?.company_id,\n onChange: _cache[0] || (_cache[0] = ($event: any) => {\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('stand_builder', {\n\t\t\t\t\t\t\t\t..._unref(storeEvents).eventToUpdate?.stand_builder,\n\t\t\t\t\t\t\t\tcompany_id: $event.target.value,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('stand_builder', {\n\t\t\t\t\t\t\t\t..._unref(storeEvents).eventToUpdate?.stand_builder,\n\t\t\t\t\t\t\t\temail: _unref(storeEvents).stand_builders.filter(\n\t\t\t\t\t\t\t\t\t(el) => el.id === $event.target.value\n\t\t\t\t\t\t\t\t)[0].email,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t})\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseSelect, {\n label: \"Tipo *\",\n options: _unref(storeEvents).getStandBuilderType(),\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeEvents).eventToUpdate?.stand_builder?.type,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('stand_builder', {\n\t\t\t\t\t\t\t\t..._unref(storeEvents).eventToUpdate?.stand_builder,\n\t\t\t\t\t\t\t\ttype: $event.target.value,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"email\",\n label: \"Email *\",\n placeholder: \"Email\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeEvents).eventToUpdate?.stand_builder?.email?.length || '0') +\n\t\t\t\t\t\t\t'/30'\n\t\t\t\t\t\t,\n value: _unref(storeEvents).eventToUpdate?.stand_builder?.email,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('stand_builder', {\n\t\t\t\t\t\t\t\t..._unref(storeEvents).eventToUpdate?.stand_builder,\n\t\t\t\t\t\t\t\temail: $event.target.value,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"telefone\",\n label: \"Telefone *\",\n placeholder: \"Telefone\",\n value: _unref(storeEvents).eventToUpdate?.stand_builder?.contact,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setValueInEventToUpdate('stand_builder', {\n\t\t\t\t\t\t\t\t..._unref(storeEvents).eventToUpdate?.stand_builder,\n\t\t\t\t\t\t\t\tcontact: $event.target.value,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseInput, {\n name: \"file\",\n label: \"Arquivo *\",\n placeholder: \"Arquivo\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeEvents).standBuilderFile?.file?.length || '0') + '/30'\n\t\t\t\t\t\t,\n value: _unref(storeEvents).standBuilderFile?.file,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setStandBuilderFile({\n\t\t\t\t\t\t\t\t..._unref(storeEvents).standBuilderFile,\n\t\t\t\t\t\t\t\tfile: $event.target.value,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"extensions\",\n label: \"Extensão (Separar por vírgula) *\",\n placeholder: \"Extensão (Separar por vírgula)\",\n value: _unref(storeEvents).standBuilderFile?.extensions,\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeEvents).setStandBuilderFile({\n\t\t\t\t\t\t\t\t..._unref(storeEvents).standBuilderFile,\n\t\t\t\t\t\t\t\textensions: $event.target.value,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseButton, {\n type: \"button\",\n class: \"icon\",\n style: {\"margin-top\":\"2.5vh\"},\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_unref(storeEvents).addFilename()))\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(IcPlusMinusVue), { alt: \"icon\" }))\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (_unref(storeEvents).eventToUpdate?.stand_builder?.stand_builder_files)\n ? (_openBlock(), _createBlock(Table, {\n key: 0,\n rows: \n\t\t\t\t\t\t\t_unref(storeEvents).eventToUpdate?.stand_builder?.stand_builder_files\n\t\t\t\t\t\t,\n style: {\"width\":\"100%\"},\n tableActions: [{\n icon:IcTrashVue,\n title:'Excluir',\n onClick:(event) => {\n _unref(storeEvents).removeFilename(event.file)\n }\n }],\n columns: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttitle: 'Arquivo',\n\t\t\t\t\t\t\t\tvalue: 'file',\n\t\t\t\t\t\t\t\tid: 3,\n\t\t\t\t\t\t\t\tsort: false,\n\t\t\t\t\t\t\t\twidth: '40%',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttitle: 'Extensão',\n\t\t\t\t\t\t\t\tvalue: 'extensions',\n\t\t\t\t\t\t\t\tid: 3,\n\t\t\t\t\t\t\t\tsort: false,\n\t\t\t\t\t\t\t\twidth: '40%',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t]\n }, null, 8, [\"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t!_unref(storeEvents).eventToUpdate?.stand_builder?.stand_builder_files\n\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_9, \" Não existem arquivos cadastrados \"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-046ffd96\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"label\"\n}\nconst _hoisted_2 = [\"value\", \"maxLength\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_ctx.label)\n ? (_openBlock(), _createElementBlock(\"label\", _hoisted_1, _toDisplayString(_ctx.label), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"textarea\", _mergeProps({ class: \"textarea\" }, _ctx.$attrs, {\n value: _ctx.value,\n maxLength: _ctx.maxLenght,\n onChange: _cache[0] || (_cache[0] = (event) => {\n\t\t\t\t_ctx.onchange(event)\n\t\t\t})\n }), null, 16, _hoisted_2),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.maxLengthText), 1)\n ]))\n}","\n\timport { defineComponent, defineProps } from 'vue';\n\t\n\n\texport default defineComponent({\n\t\tname: 'BaseTextArea',\n\t\tprops: {\n\t\t\tlabel: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'Nome',\n\t\t\t},\n\t\t\tvalue: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '',\n\t\t\t},\n\t\t\tmaxLenght: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'maxLenght',\n\t\t\t},\n\t\t\tmaxLengthText: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'maxLenghtText',\n\t\t\t},\n\t\t},methods: {\n\t\t\tonchange(event: any) {\n\t\t\t\tthis.$emit('onchange', event);\n\t\t\t}\n\t\t},\n\t});\n","import { render } from \"./BaseTextArea.vue?vue&type=template&id=046ffd96&scoped=true&ts=true\"\nimport script from \"./BaseTextArea.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseTextArea.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseTextArea.vue?vue&type=style&index=0&id=046ffd96&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-046ffd96\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"gap\":\"1rem\",\"font-weight\":\"bold\",\"color\":\"var(--color-admin-primary)\"}\n}\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Termo de aceite para o evento presencial\", -1)\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"align-items\":\"flex-end\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"justify-content\":\"flex-start\",\"flex-direction\":\"column\",\"align-items\":\"flex-start\",\"width\":\"65%\",\"margin-right\":\"8px\"} }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"label\", null, \"Termos e Condições do Evento\", -1)\nconst _hoisted_6 = {\n for: \"file-input\",\n type: \"button\",\n style: {\"cursor\":\"pointer\"}\n}\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"align-items\":\"flex-end\",\"gap\":\"0.5rem\"} }\nconst _hoisted_8 = { style: {\"display\":\"flex\",\"justify-content\":\"flex-start\",\"flex-direction\":\"column\",\"align-items\":\"flex-start\",\"width\":\"65%\"} }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"label\", null, \"Política de Privacidade\", -1)\nconst _hoisted_10 = {\n for: \"file-input-lgpd\",\n type: \"button\",\n style: {\"cursor\":\"pointer\"}\n}\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Incluir lista de termos de aceite para o evento digital\", -1)\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseTextArea from \"../../../../../components/Atoms/BaseTextArea.vue\";\nimport { useStoreEvents } from \"../../store\";\nimport { defineComponent, ref, watch, readonly, onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { eventToUpdate, setValueInEventToUpdate } = useStoreEvents();\n\nconst hasFile = (type: any) => {\n\treturn eventToUpdate.assets.some((a: any) => a.type === type);\n};\n\nconst removeUpload = (type: any) => {\n\tsetValueInEventToUpdate(\n\t\t\"assets\",\n\t\teventToUpdate.assets.filter((f: any) => f.type !== type)\n\t);\n};\n\nlet titleEventTerm = ref(\"\");\nlet titlePrivacyPolicyTerm = ref(\"\");\n\nconst upload = (event: any, type: string) => {\n\tremoveUpload(type);\n\n\tconst file = event.target.files[0];\n\tconst reader = new FileReader();\n\treader.onload = (e) => {\n\t\ttitleEventTerm.value = file.name;\n\t\teventToUpdate.assets.push({\n\t\t\tbase64: e.target?.result,\n\t\t\tfilename: file.name,\n\t\t\ttype,\n\t\t});\n\t};\n\treader.readAsDataURL(file);\n};\n\n\nconst uploadLgpd = (event: any, type: string) => {\n\tremoveUpload(type);\n\n\tconst file = event.target.files[0];\n\tconst reader = new FileReader();\n\treader.onload = (e) => {\n\t\ttitlePrivacyPolicyTerm.value = file.name;\n\t\teventToUpdate.assets.push({\n\t\t\tbase64: e.target?.result,\n\t\t\tfilename: file.name,\n\t\t\ttype,\n\t\t});\n\t};\n\treader.readAsDataURL(file);\n};\n\nonMounted(() => {\n\tsetTimeout(() => {\n\t\tconst { eventToUpdate, setValueInEventToUpdate } = useStoreEvents();\n\n\t\ttitleEventTerm.value =\n\t\t\teventToUpdate.assets &&\n\t\t\t\teventToUpdate.assets.filter((el: any) => el.type === \"event_term\").length > 0\n\t\t\t\t? eventToUpdate.assets.filter((el: any) => el.type === \"event_term\")[0]\n\t\t\t\t\t.filename\n\t\t\t\t: \"\";\n\n\t\ttitlePrivacyPolicyTerm.value =\n\t\t\teventToUpdate.assets &&\n\t\t\t\teventToUpdate.assets.filter((el: any) => el.type === \"privacy_policy_term\").length > 0\n\t\t\t\t? eventToUpdate.assets.filter((el: any) => el.type === \"privacy_policy_term\")[0]\n\t\t\t\t\t.filename\n\t\t\t\t: \"\";\n\t}, 1000);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (!_unref(useStoreEvents)().eventToUpdate.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(BaseInput, {\n type: \"text\",\n value: _unref(titleEventTerm),\n label: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createVNode(BaseButton, {\n style: {\"width\":\"auto\",\"display\":\"flex\",\"align-items\":\"center\",\"justify-content\":\"center\",\"cursor\":\"default\"},\n type: \"button\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_6, [\n _createTextVNode(\" Selecionar Arquivo \"),\n _createElementVNode(\"input\", {\n id: \"file-input\",\n type: \"file\",\n style: {\"visibility\":\"hidden\",\"position\":\"absolute\"},\n onChange: _cache[0] || (_cache[0] = (event) => upload(event, 'event_term'))\n }, null, 32)\n ])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(BaseInput, {\n type: \"text\",\n value: _unref(titlePrivacyPolicyTerm),\n label: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createVNode(BaseButton, {\n style: {\"width\":\"auto\",\"display\":\"flex\",\"align-items\":\"center\",\"justify-content\":\"center\",\"cursor\":\"default\"},\n type: \"button\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_10, [\n _createTextVNode(\" Selecionar Arquivo \"),\n _createElementVNode(\"input\", {\n id: \"file-input-lgpd\",\n type: \"file\",\n style: {\"visibility\":\"hidden\",\"position\":\"absolute\"},\n onChange: _cache[1] || (_cache[1] = (event) => uploadLgpd(event, 'privacy_policy_term'))\n }, null, 32)\n ])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(useStoreEvents)().eventToUpdate.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(BaseTextArea, {\n label: \"Observação\",\n name: \"observation\",\n style: {\"width\":\"99%\"},\n maxLenght: '1000',\n maxLengthText: `${_unref(useStoreEvents)().eventToUpdate?.event_term?.description?.length || '0'\n\t\t\t\t}/1000`,\n value: _unref(useStoreEvents)().eventToUpdate?.event_term?.description,\n onOnchange: _cache[2] || (_cache[2] = (event) => {\n\t\t_unref(useStoreEvents)().setValueInEventToUpdate('event_term', {\n\t\t\t..._unref(useStoreEvents)().eventToUpdate?.event_term,\n\t\t\tdescription: event.target.value,\n\t\t});\n\t}\n\t\t)\n }, null, 8, [\"maxLengthText\", \"value\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0a5ea949\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form-layout\" }\nconst _hoisted_2 = { class: \"tabs\" }\nconst _hoisted_3 = { class: \"row\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport { HttpAdapterCustomer, urlOldApi } from \"../../../../helpers\";\nimport { getEvent } from \"../service\";\nimport { useStoreEvents } from \"../store\";\nimport FormEvent from \"./Form-event/index.vue\";\nimport Organizers from \"./Organizers/index.vue\";\nimport Badge from \"./badge/index.vue\";\nimport Montadora from \"./montadora/index.vue\";\nimport Termo from \"./termo/index.vue\";\nimport { DateTime } from \"luxon\";\nimport { defineComponent, ref, watch, readonly } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreEvents();\nconst toast = useToast();\nconst submit = async () => {\n\tconst storeEvents = useStoreEvents();\n\tstoreEvents.setSpinner(true);\n\tif (!storeEvents.eventToUpdate.activity_confirmation) {\n\t\tstoreEvents.eventToUpdate.activity_confirmation = false;\n\t}\n\tstoreEvents.updateEvent(storeEvents.eventToUpdate);\n\n\tdelete storeEvents.eventToUpdate.role;\n\tstoreEvents.eventToUpdate.start_date = DateTime.fromISO(\n\t\tstoreEvents.eventToUpdate.start_date\n\t)\n\t\t.set({ hour: 12 })\n\t\t.setZone(\"UTC-3\")\n\t\t.toFormat(\"yyyy-MM-dd HH:mm:ss\");\n\tstoreEvents.eventToUpdate.end_date = DateTime.fromISO(\n\t\tstoreEvents.eventToUpdate.end_date\n\t)\n\t\t.set({ hour: 12 })\n\t\t.setZone(\"UTC-3\")\n\t\t.toFormat(\"yyyy-MM-dd HH:mm:ss\");\n\tstoreEvents.eventToUpdate.limit_date = DateTime.fromISO(\n\t\tstoreEvents.eventToUpdate.limit_date\n\t)\n\t\t.set({ hour: 12 })\n\t\t.setZone(\"UTC-3\")\n\t\t.toFormat(\"yyyy-MM-dd HH:mm:ss\");\n\tconst limitDateActivityPremiumFormat = DateTime.fromISO(\n\t\tstoreEvents.eventToUpdate.limit_date_activity_premium\n\t)\n\t\t.set({ hour: 12 })\n\t\t.setZone(\"UTC-3\")\n\t\t.toFormat(\"yyyy-MM-dd HH:mm:ss\");\n\n\tstoreEvents.eventToUpdate.limit_date_activity_premium = DateTime.fromFormat(\n\t\tlimitDateActivityPremiumFormat,\n\t\t\"yyyy-MM-dd HH:mm:ss\",\n\t\t{ zone: \"UTC-3\" }\n\t)\n\t\t.set({ hour: 3, minute: 0, second: 0, millisecond: 0 })\n\t\t.setZone(\"UTC\")\n\t\t.toFormat(\"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'\");\n\n\tconst eventsToUpdate = {\n\t\t...storeEvents.eventToUpdate,\n\t\tstand_builder: storeEvents.eventToUpdate.has_stand_builder\n\t\t\t? storeEvents.eventToUpdate.stand_builder\n\t\t\t: undefined,\n\t};\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/event\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(eventsToUpdate),\n\t});\n\tif (!response.ok) {\n\t\ttoast.error(data.message || \"Erro ao cadastrar evento\");\n\t\tstoreEvents.setSpinner(false);\n\t\treturn;\n\t}\n\tstoreEvents.setSession(\"event-register\");\n\tawait getEvent(storeEvents.setEvents, storeEvents.search, () => {});\n\ttoast.success(\"Evento Atualizado com sucesso\");\n\tstoreEvents.setSpinner(false);\n\tstoreEvents.setTab(\"List\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", _unref(store).session === 'event-register' ? 'tab-selected' : '']),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).session = 'event-register'))\n }, \" CADASTRO DO EVENTO \", 2),\n (_unref(store).eventToUpdate?.has_stand_builder)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n ref: \"tab\",\n class: _normalizeClass([\"tab\", _unref(store).session === 'montadora' ? 'tab-selected' : '']),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(store).session = 'montadora'))\n }, \" CADASTRO DA MONTADORA \", 2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", _unref(store).session === 'organizer' ? 'tab-selected' : '']),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(store).session = 'organizer'))\n }, \" ORGANIZADORAS \", 2),\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", _unref(store).session === 'badge' ? 'tab-selected' : '']),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_unref(store).session = 'badge'))\n }, \" CRACHÁS \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", _unref(store).session === 'acceptance-term' ? 'tab-selected' : '']),\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_unref(store).session = 'acceptance-term'))\n }, \" TERMO DE ACEITE \", 2)\n ]),\n (_unref(store).session === 'event-register')\n ? (_openBlock(), _createBlock(FormEvent, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t_unref(store).session === 'montadora' && _unref(store).eventToUpdate?.has_stand_builder\n\t\t\t)\n ? (_openBlock(), _createBlock(Montadora, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).session === 'organizer')\n ? (_openBlock(), _createBlock(Organizers, { key: 2 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).session === 'badge')\n ? (_openBlock(), _createBlock(Badge, { key: 3 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).session === 'acceptance-term')\n ? (_openBlock(), _createBlock(Termo, { key: 4 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_unref(store).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { onClick: submit }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=0a5ea949&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0a5ea949\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f1234714\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport { useToast } from \"vue-toastification\";\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport { getHistoryIntranet, uploadIntranet, getRunJob } from \"../service\";\nimport { useStoreEvents } from \"../store\";\nimport Table from \"@/components/Organism/Table/table.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeEvents = useStoreEvents();\nconst toast = useToast();\n\n\nconst columns = [\n\t{\n\t\ttitle: \"Arquivo\",\n\t\tvalue: \"filename\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"50%\",\n\t},\n\t{\n\t\ttitle: \"Progresso\",\n\t\tvalue: \"progress\",\n\t\tid: 3,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Status\",\n\t\tvalue: \"status\",\n\t\tid: 3,\n\t\twidth: \"25%\",\n\t},\n];\n\nconst upload = async (event: any) => {\n\tconst file = event.target.files[0];\n\tstoreEvents.setSpinner(true);\n\tawait uploadIntranet(\n\t\tfile, () => {\n\t\t\tstoreEvents.setSpinner(true),\n\n\t\t\t\tgetHistoryIntranet(storeEvents.setHistoryIntranet, () => {\n\t\t\t\t\tstoreEvents.setSpinner(false);\n\t\t\t\t})\n\t\t}\n\t);\n\n\tconst reader = new FileReader();\n\treader.onload = (e) => { };\n\treader.readAsDataURL(file);\n\tawait getRunJob();\n\tupdateHistoryToProgress();\n\tstopProcess();\n};\n\nconst onClick = () => {\n\tdocument.getElementById(\"file-input\")?.click();\n};\n\nconst handleRunJob = async () => {\n\tstoreEvents.setSpinner(true);\n\tawait getRunJob();\n\tawait getHistoryIntranet(storeEvents.setHistoryIntranet, () => {\n\t\tstoreEvents.setSpinner(false);\n\t});\n\tstoreEvents.setSpinner(false);\n\ttoast.success(\"Processo executado!\");\n};\n\nconst updateHistoryToProgress = async () => {\n\tawait getHistoryIntranet(storeEvents.setHistoryIntranet, () => {\n\t\tstoreEvents.setSpinner(false);\n\t})\n}\n\nfunction stopProcess() {\n\tconst intervalUpdateHistory = setInterval(updateHistoryToProgress, 5000);\n\tsetTimeout(function () {\n\t\tclearInterval(intervalUpdateHistory);\n\t}, 1.5 * 60000);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(storeEvents) && _unref(storeEvents).historyIntranet)\n ? (_openBlock(), _createBlock(Table, {\n key: 0,\n columns: columns,\n rows: _unref(storeEvents).historyIntranet,\n style: {\"width\":\"100%\"}\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeEvents).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"visibility\":\"hidden\"},\n id: \"file-input\",\n onChange: upload\n }, null, 32),\n _createVNode(BaseButton, { onClick: onClick }, {\n default: _withCtx(() => [\n _createTextVNode(\"Selecionar arquivo\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n type: \"button\",\n onClick: handleRunJob\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Executar processo\")\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f1234714&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f1234714\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-81448260\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"0px 0 10px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\nconst _hoisted_3 = {\n key: 1,\n style: {\"display\":\"flex\",\"gap\":\"2vw\"}\n}\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport MenuTable from \"../../../components/Organism/Table/menu.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport IcDownloadVue from \"../../../components/icons/IcDownload.vue\";\nimport IcEvent from \"../../../components/icons/IcEvent.vue\";\nimport List from \"./List/index.vue\";\nimport Tabs from \"./Tabs/index.vue\";\nimport ImportIntranet from \"./import-intranet/index.vue\";\nimport { getEvent, getHistoryIntranet } from \"./service\";\nimport { ROLES, useStoreEvents } from \"./store\";\nimport { onBeforeMount, onUnmounted, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeEvents = useStoreEvents();\n\nonBeforeMount(() => {\n\tstoreEvents.setSpinner(true);\n\tgetEvent(storeEvents.setEvents, storeEvents.search, () => {\n\t\tstoreEvents.setSpinner(false);\n\t});\n});\n\nonUnmounted(() => {\n\tstoreEvents.setTab(\"List\");\n\tstoreEvents.setSession(\"event-register\");\n\tstoreEvents.setSearch(\"\");\n});\n\nconst tableActions = [\n\t{\n\t\ticon: IcDownloadVue,\n\t\ttitle: \"Importar Intranet\",\n\t\tonClick: () => {\n\t\t\tstoreEvents.setTab(\"import\");\n\t\t\tgetHistoryIntranet(storeEvents.setHistoryIntranet, () => {\n\t\t\t\tstoreEvents.setSpinner(false);\n\t\t\t});\n\t\t},\n\t},\n];\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_unref(storeEvents).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(storeEvents).tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_unref(storeEvents).setTab('List');\n\t\t\t\t\t\t\t_unref(storeEvents).setSession('event-register');\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeEvents).tab === 'List')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(BaseButton, {\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => {\n\t\t\t\t\t\t_unref(storeEvents).setTab('Form');\n\t\t\t\t\t\t_unref(storeEvents).setEventToUpdate();\n\t\t\t\t\t})\n }, {\n default: _withCtx(() => [\n _createVNode(IcEvent, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }),\n _createVNode(MenuTable, {\n handleActions: tableActions,\n user: {}\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(\n\t\t\t\t_unref(storeEvents).tab === 'List'\n\t\t\t\t\t? List\n\t\t\t\t\t: _unref(storeEvents).tab === 'import'\n\t\t\t\t\t? ImportIntranet\n\t\t\t\t\t: Tabs\n\t\t\t)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=81448260&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-81448260\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-618cfe08\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/upload-manuais?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=618cfe08&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-618cfe08\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f407088e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/findRetailer?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f407088e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f407088e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0d498459\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/findRetailerSession?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=0d498459&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0d498459\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-086e4f6c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/accommodation?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=086e4f6c&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-086e4f6c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1146840b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/hotel?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=1146840b&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1146840b\"]])\n\nexport default __exports__","import { ref } from 'vue';\n\nconst store = {\n\tstep: ref<'signIn' | 'forgotPassword'>('signIn'),\n};\n\nexport function useStoreAuth() {\n\tconst actions = {\n\t\tsetStep: (value: 'signIn' | 'forgotPassword') => {\n\t\t\tstore.step.value = value;\n\t\t},\n\t};\n\n\treturn { ...store, ...actions };\n}\n","\n\n","import { render } from \"./IcLoading.vue?vue&type=template&id=156bfa5e&scoped=true\"\nconst script = {}\n\nimport \"./IcLoading.vue?vue&type=style&index=0&id=156bfa5e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-156bfa5e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, unref as _unref, withModifiers as _withModifiers, createElementBlock as _createElementBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-03fbddb7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"flex flex-col items-start\",\n style: {\"text-align\":\"left\"}\n}, [\n /*#__PURE__*/_createElementVNode(\"strong\", { style: {\"font-size\":\"18px\",\"padding\":\"0 0 10px 0\"} }, \"Lembrar senha\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Iremos lhe enviar um email para recuperar seu acesso\")\n], -1))\nconst _hoisted_3 = { style: {\"text-align\":\"initial\",\"min-width\":\"15px\"} }\nconst _hoisted_4 = {\n key: 1,\n class: \"c-login_form\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"flex flex-col items-start\",\n style: {\"text-align\":\"left\"}\n}, [\n /*#__PURE__*/_createElementVNode(\"strong\", { style: {\"font-size\":\"18px\",\"padding\":\"0 0 10px 0\"} }, \"Sucesso\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Foi enviado um link para seu email para podermos recuperar seu acesso.\")\n], -1))\n\nimport { ref } from 'vue';\n\timport { useToast } from 'vue-toastification';\n\n\timport { useStoreAuth } from './authStore';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport BaseInput from '@/components/Atoms/BaseInput.vue';\n\timport IcLoading from '@/components/icons/IcLoading.vue';\n\timport { HttpAdapterCustomer } from '@/helpers';\n\timport { validateEmail } from '@/helpers/ValidateEmail';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'forgotPassword',\n setup(__props) {\n\n\tconst { setStep } = useStoreAuth();\n\tconst toast = useToast();\n\tconst email = ref('');\n\tconst error = ref('');\n\tconst etc = ref('');\n\tconst sended = ref(false);\n\tconst isLoadingConfirmRequest = ref(false);\n\n\tconst submitLogin = async () => {\n\t\tisLoadingConfirmRequest.value = true;\n\t\tconst emailIsValid = validateEmail(email.value);\n\t\tif (!emailIsValid) {\n\t\t\tisLoadingConfirmRequest.value = false;\n\t\t\treturn (error.value = 'E-mail inválido');\n\t\t}\n\t\terror.value = '';\n\t\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\t\turl: 'admin/recover',\n\t\t\told_url: true,\n\t\t\tbody: JSON.stringify({\n\t\t\t\temail: email.value,\n\t\t\t}),\n\t\t\theaders_config: {\n\t\t\t\t'Content-Type': 'json',\n\t\t\t},\n\t\t});\n\t\tisLoadingConfirmRequest.value = false;\n\t\tif (!response.ok) return toast.error(data.message || 'Erro ao enviar o e-mail');\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (!sended.value)\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n class: \"c-login_form\",\n onSubmit: _withModifiers(submitLogin, [\"prevent\"])\n }, [\n _hoisted_2,\n _createVNode(BaseInput, {\n label: \"Email\",\n name: \"email\",\n placeholder: \"Digite seu Email\",\n value: email.value,\n onChange: _cache[0] || (_cache[0] = (e) => (email.value = e.target.value)),\n error: { message: error.value, status: !!error.value }\n }, null, 8, [\"value\", \"error\"]),\n (!isLoadingConfirmRequest.value)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"button-signup\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Enviar \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"button-signup button-signup_loading\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcLoading),\n _createTextVNode(\" Enviando \"),\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(etc.value), 1)\n ]),\n _: 1\n })),\n _createElementVNode(\"p\", {\n class: \"back-login\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(setStep)('signIn')))\n }, \" Voltar para login \")\n ], 40, _hoisted_1))\n : _createCommentVNode(\"\", true),\n (sended.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"p\", {\n class: \"back-login\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(setStep)('signIn')))\n }, \" Voltar para login \")\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./forgotPassword.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./forgotPassword.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./forgotPassword.vue?vue&type=style&index=0&id=03fbddb7&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-03fbddb7\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, unref as _unref, withModifiers as _withModifiers, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4174485c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Mostrar senha\", -1))\nconst _hoisted_3 = { style: {\"text-align\":\"initial\",\"min-width\":\"15px\"} }\n\nimport { useStoreAuth } from \"./authStore\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport IcLoading from \"@/components/icons/IcLoading.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { UseStorage } from \"@/helpers/StorageHandler\";\nimport { validateEmail } from \"@/helpers/ValidateEmail\";\nimport jwtDecode from \"jwt-decode\";\nimport { onMounted, onUnmounted, reactive, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'signIn',\n setup(__props) {\n\nconst { setStep } = useStoreAuth();\nconst toast = useToast();\nconst route = useRouter();\nconst logo = ref(\"\");\n\nconst login = reactive({\n\temail: \"\",\n\tpassword: \"\",\n});\nconst error = reactive({\n\temail: \"\",\n\tpassword: \"\",\n});\nconst isLoadingConfirmRequest = ref(false);\nconst etc = ref(\"\");\nconst isShowingPassword = ref(false);\n\nlet interval: number;\nonMounted(() => {\n\tinterval = setInterval(() => {\n\t\tif (etc.value.length < 4) etc.value = \".\" + etc.value;\n\t\telse etc.value = \" \";\n\t}, 400);\n});\n\nonUnmounted(() => clearInterval(interval));\n\nconst submitLogin = async () => {\n\tisLoadingConfirmRequest.value = true;\n\tconst emailIsValid = validateEmail(login.email);\n\tif (!emailIsValid) {\n\t\terror.email = \"E-mail inválido\";\n\t\tisLoadingConfirmRequest.value = false;\n\t\treturn;\n\t} else error.email = \"\";\n\tif (!login.password || login.password.length <= 3) {\n\t\terror.password = \"Senha inválida\";\n\t\tisLoadingConfirmRequest.value = false;\n\t\treturn;\n\t} else error.password = \"\";\n\n\tconst body = {\n\t\temail: login.email,\n\t\tpassword: login.password,\n\t};\n\tconst { data, response } = await HttpAdapterCustomer.authOldApiAdmin(body);\n\tisLoadingConfirmRequest.value = false;\n\tif (!response.ok) return toast.error(data.message || \"Erro ao fazer login\");\n\tHttpAdapterCustomer.refreshTokenAdmin(body);\n\tconst adminTokenData = jwtDecode(data.token);\n\tif (adminTokenData.role === \"admin\") {\n\t\troute.push(\"/event\");\n\t\treturn;\n\t}\n\troute.push(\"company\");\n\t// if (UseStorage.getTokenData()?.role === 'company_manager') {\n\t// route.push(\"/company\");\n\t// return;\n\t// }\n\n\t// if (authService.getTokenData().role === 'organizer') {\n\t// route.push(\"/event\");\n\t// return;\n\t// }\n\n\t// if (AuthService.getTokenData().role === 'stand_builder') {\n\t// route.push(\"/event-company\");\n\t// return;\n\t// }\n};\n\nfunction showPassword() {\n\tisShowingPassword.value = !isShowingPassword.value;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"c-login_form\",\n onSubmit: _withModifiers(submitLogin, [\"prevent\"])\n }, [\n _createVNode(BaseInput, {\n label: \"Email\",\n name: \"email\",\n placeholder: \"Digite seu Email\",\n value: login.email,\n onChange: _cache[0] || (_cache[0] = (e) => (login.email = e.target.value)),\n error: { message: error.email, status: !!error.email },\n autofocus: \"\"\n }, null, 8, [\"value\", \"error\"]),\n _createVNode(BaseInput, {\n label: \"Senha\",\n name: \"password\",\n placeholder: \"Digite sua senha\",\n type: isShowingPassword.value ? 'text' : 'password',\n value: login.password,\n onChange: _cache[1] || (_cache[1] = (e) => (login.password = e.target.value)),\n error: { message: error.password, status: !!error.password }\n }, null, 8, [\"type\", \"value\", \"error\"]),\n _createElementVNode(\"label\", {\n for: \"showPassword\\n\\t\\t\\t\",\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"align-items\":\"center\"}\n }, [\n _createElementVNode(\"input\", {\n name: \"showPassword\",\n type: \"checkbox\",\n onClick: showPassword\n }),\n _hoisted_2\n ]),\n (!isLoadingConfirmRequest.value)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"button-login\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Entrar \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"button-login button-login_loading\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcLoading),\n _createTextVNode(\" Entrando \"),\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(etc.value), 1)\n ]),\n _: 1\n })),\n _createElementVNode(\"p\", {\n class: \"lost-password\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(setStep)('forgotPassword')))\n }, \" Esqueci minha senha \")\n ], 40, _hoisted_1))\n}\n}\n\n})","import script from \"./signIn.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./signIn.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./signIn.vue?vue&type=style&index=0&id=4174485c&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4174485c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, unref as _unref, withModifiers as _withModifiers, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-fea4c5b8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex flex-col items-start\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", null, [\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Entrar\")\n ])\n], -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Mostrar senha\", -1))\nconst _hoisted_4 = { style: {\"text-align\":\"initial\",\"min-width\":\"15px\"} }\n\nimport { useStoreAuth } from \"./authStore\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport IcLoading from \"@/components/icons/IcLoading.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { UseStorage } from \"@/helpers/StorageHandler\";\nimport { validateEmail } from \"@/helpers/ValidateEmail\";\nimport { onMounted, onUnmounted, reactive, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'signInProvider',\n setup(__props) {\n\nconst { setStep } = useStoreAuth();\nconst toast = useToast();\nconst route = useRouter();\nconst logo = ref(\"\");\nconst isShowingPassword = ref(false)\n\nconst login = reactive({\n\tuser: \"\",\n\tpassword: \"\",\n});\nconst error = reactive({\n\tuser: \"\",\n\tpassword: \"\",\n});\nconst isLoadingConfirmRequest = ref(false);\nconst etc = ref(\"\");\n\nlet interval: number;\nonMounted(() => {\n\tinterval = setInterval(() => {\n\t\tif (etc.value.length < 4) etc.value = \".\" + etc.value;\n\t\telse etc.value = \" \";\n\t}, 400);\n});\n\nonUnmounted(() => clearInterval(interval));\n\nconst submitLogin = async () => {\n\tisLoadingConfirmRequest.value = true;\n\tif (!login.password || login.password.length <= 3) {\n\t\terror.password = \"Senha inválida\";\n\t\tisLoadingConfirmRequest.value = false;\n\t\treturn;\n\t} else error.password = \"\";\n\n\tconst body = {\n\t\tusername: login.user,\n\t\tpassword: login.password,\n\t};\n\tconst { data, response } = await HttpAdapterCustomer.authOldApiProvider(body);\n\tisLoadingConfirmRequest.value = false;\n\tif (!response.ok) return toast.error(data.message || \"Erro ao fazer login\");\n\tHttpAdapterCustomer.refreshTokenProvider(body);\n\troute.push(\"/prestadores\");\n\t// if (UseStorage.getTokenData()?.role === 'company_manager') {\n\t// route.push(\"/company\");\n\t// return;\n\t// }\n\n\t// if (authService.getTokenData().role === 'organizer') {\n\t// route.push(\"/event\");\n\t// return;\n\t// }\n\n\t// if (AuthService.getTokenData().role === 'stand_builder') {\n\t// route.push(\"/event-company\");\n\t// return;\n\t// }\n};\n\nfunction showPassword() {\n\tisShowingPassword.value = !isShowingPassword.value\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"c-login_form\",\n onSubmit: _withModifiers(submitLogin, [\"prevent\"])\n }, [\n _hoisted_2,\n _createVNode(BaseInput, {\n label: \"Usuário\",\n name: \"username\",\n placeholder: \"Digite seu nome de usuário\",\n value: login.user,\n onChange: _cache[0] || (_cache[0] = (e) => (login.user = e.target.value)),\n error: { message: error.user, status: !!error.user },\n autofocus: \"\"\n }, null, 8, [\"value\", \"error\"]),\n _createVNode(BaseInput, {\n label: \"Senha\",\n name: \"password\",\n placeholder: \"Digite sua senha\",\n type: isShowingPassword.value ? 'text' : 'password',\n value: login.password,\n onChange: _cache[1] || (_cache[1] = (e) => (login.password = e.target.value)),\n error: { message: error.password, status: !!error.password }\n }, null, 8, [\"type\", \"value\", \"error\"]),\n _createElementVNode(\"label\", {\n for: \"showPassword\\n\\t\\t\\t\",\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"align-items\":\"center\"}\n }, [\n _createElementVNode(\"input\", {\n name: \"showPassword\",\n type: \"checkbox\",\n onClick: showPassword\n }),\n _hoisted_3\n ]),\n (!isLoadingConfirmRequest.value)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"button-login\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Entrar \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"button-login button-login_loading\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcLoading),\n _createTextVNode(\" Entrando \"),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(etc.value), 1)\n ]),\n _: 1\n })),\n _createElementVNode(\"p\", {\n class: \"lost-password\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(setStep)('forgotPassword')))\n }, \" Esqueci minha senha \")\n ], 40, _hoisted_1))\n}\n}\n\n})","import script from \"./signInProvider.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./signInProvider.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./signInProvider.vue?vue&type=style&index=0&id=fea4c5b8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-fea4c5b8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/logo_box.png'\nimport _imports_1 from '@/assets/logo_abrafarma.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5b16b201\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/_createStaticVNode(\"

Bem-vindo a plataforma de eventos da ABRAFARMA!

\", 1)\nconst _hoisted_2 = { class: \"flex flex-col justify-center items-center w-1/3\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex justify-center\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"p-10\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 })\n ])\n], -1))\n\nimport { useStoreAuth } from \"./authStore\";\nimport ForgotPassword from \"./forgotPassword.vue\";\nimport SignIn from \"./signIn.vue\";\nimport SignInProvider from \"./signInProvider.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { computed, onMounted, ref } from \"vue\";\nimport { useRoute } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { step } = useStoreAuth();\nconst route = useRoute();\nconst isAdmin = ref(true);\n// const logo = ref(\"\");\n\n// async function getLogo() {\n// \tconst { data, response } = await HttpAdapterCustomer.get({\n// \t\turl: \"public/config\",\n// \t\told_url: true,\n// \t\theaders_config: {\n// \t\t\tAuthorization: \"admin_token\",\n// \t\t},\n// \t});\n// \tif (!response.ok) {\n// \t\treturn;\n// \t}\n// \tlogo.value = data.logo;\n// }\n\n// onMounted(() => {\n// \tgetLogo();\n// });\n\nfunction isAdminRoute() {\n\tisAdmin.value = route.path === \"/\";\n\treturn isAdmin.value;\n}\n\nonMounted(() => {\n\tisAdminRoute();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n (_unref(step) === 'signIn' && isAdmin.value)\n ? (_openBlock(), _createBlock(SignIn, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(step) === 'signIn' && !isAdmin.value)\n ? (_openBlock(), _createBlock(SignInProvider, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_unref(step) === 'forgotPassword')\n ? (_openBlock(), _createBlock(ForgotPassword, { key: 2 }))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5b16b201&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5b16b201\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6ecb3c4e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/table-reservation?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6ecb3c4e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6ecb3c4e\"]])\n\nexport default __exports__","\n","import { render } from \"./IcConfirm.vue?vue&type=template&id=2e0d7679\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcMessage.vue?vue&type=template&id=147eebf5\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcStar.vue?vue&type=template&id=30a31fe2\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import * as XLSX from 'xlsx'\n// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/ban-types\nexport const importParticipant = async (event: any, callBack: Function) => {\n\tconst file = event?.target?.files;\n\tif (!file?.length) return;\n\tconst fileToRead = file[0];\n\tconst reader = new FileReader();\n\n\tconst header = [\n\t\t'company',\n\t\t'name',\n\t\t'credentialName',\n\t\t'cpf',\n\t\t'register',\n\t\t'uf',\n\t\t'email',\n\t\t'position',\n\t\t'enterprise_phone',\n\t\t'home_phone',\n\t\t'personal_phone',\n\t\t'birth_date',\n\t\t'guest_company',\n\t\t'position_type',\n\t\t'classification',\n\t]\n\treader.onload = (e: any) => {\n\t\tconst data = e?.target?.result;\n\t\tconst workBook = XLSX.read(data, { type: 'binary' });\n\t\tconst firstSheetName = workBook.SheetNames[0];\n\t\tconst workSheet = workBook.Sheets[firstSheetName];\n\t\tconst dataFromFile = XLSX.utils.sheet_to_json(workSheet, {\n\t\t\theader: header,\n\t\t\traw: true,\n\t\t});\n\n\t\tcallBack(formatDataFile(dataFromFile as any[]));\n\t};\n\treader.readAsBinaryString(fileToRead);\n};\n\nconst formatDataFile = (dataFromFile: any[]): any[] => {\n\treturn dataFromFile\n};\n","import { searchCpfExecutive } from \"../companys/service\";\nimport {\n\tIParticipant,\n\tparticipantType,\n} from \"./../../../interface/participant\";\nimport { getCurrentEvent } from \"./../Dashboard/service\";\nimport { importParticipant } from \"./components/import-participants/import\";\nimport { ConfirmationError, ParticipantProps, StaffProps } from \"./interface\";\nimport {\n\tsendInvites,\n\tsendConfirm,\n\tsendVips,\n\tdeleteParticipants,\n\tdeleteParticipant,\n\timportList,\n\tnewGetParticipant,\n\tupdateParticipant,\n} from \"./service\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport jwtDecode from \"jwt-decode\";\nimport moment from \"moment\";\nimport { defineStore } from \"pinia\";\nimport { useToast } from \"vue-toastification\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\n\nexport type typeParticipantStatus =\n\t| \"not invited\"\n\t| \"invited\"\n\t| \"accepted\"\n\t| \"unauthorized\"\n\t| \"present\"\n\t| \"present at time\"\n\t| \"not present\"\n\t| \"confirmed\";\n\nconst initialData: any = {\n\tstatus: \"not invited\",\n\tgender: \"not informed\",\n\ttype: \"common\" as \"common\" | \"staff\",\n\tcpf: \"\",\n\tguest_company: undefined,\n\tname: \"\",\n\tcredential_name: \"\",\n\tclassification_id: undefined,\n\tposition_type_id: undefined,\n\tposition: undefined,\n\tcompany_id: undefined,\n\tallows_meeting: true,\n\tenterprise_mail: \"\",\n\tbirth_date: null,\n\tobservation: \"\",\n\tcredential_color: \"#000000\",\n\tforeign_document: false\n};\n\nconst rowsToExportList = [\n\t{ key: \"name\", label: \"Nome\", required: true },\n\t{ key: \"credential_name\", label: \"Nome na Credencial\" },\n\t{ key: \"birth_date\", label: \"Data de Nascimento\" },\n\t{ key: \"cpf\", label: \"CPF\" },\n\t{ key: \"position\", label: \"Cargo\" },\n\t{ key: \"company_id\", label: \"Empresa\" },\n\t{ key: \"table\", label: \"Mesa\" },\n\t{ key: \"position_type_id\", label: \"Tipo de cargo\" },\n\t{ key: \"guest_company\", label: \"Empresa Convidada\" },\n\t{ key: \"status\", label: \"Situação do Convite\" },\n\t{ key: \"enterprise_phone\", label: \"Telefone Comercial\" },\n\t{ key: \"home_phone\", label: \"Telefone Residencial\" },\n\t{ key: \"personal_phone\", label: \"Telefone Celular\" },\n\t{ key: \"personal_mail\", label: \"Email Pessoal\" },\n\t{ key: \"enterprise_mail\", label: \"Email Comercial\" },\n\t{ key: \"register\", label: \"Matrícula\" },\n\t{ key: \"gender\", label: \"Gênero\" },\n\t{ key: \"observation\", label: \"Observação\" },\n\t{ key: \"credential_color\", label: \"Crachá\" },\n\t{ key: \"classification_id\", label: \"Classificação\" },\n\t{ key: \"pre_registration_status\", label: \"Status da pré-inscrição\" },\n\t{\n\t\tkey: \"pre_registration_payment_status\",\n\t\tlabel: \"Status do pagamento da pré-inscrição\",\n\t},\n\t{ key: \"pre_registration_amount\", label: \"Valor da pré-inscrição\" },\n\t{ key: \"foreign_document\", label: \"Documento Estrangeiro\" },\n\t{ key: \"decline_event_terms_date\", label: \"Recusa dos Termos do Evento\" },\n];\n\nconst { getStoreToken } = eventStore;\n\nconst formatCPF = (cpf:string|undefined) => {\n\tlet result = cpf\n\t\t?.replace(/\\D/g, \"\")\n\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\");\n\tif((result?.length || 0) != 14){\n\t\tresult = cpf; // leave unformatted (probably a foreign document)\n\t}\n\treturn result;\n};\n\nexport const useStoreParticipantAdmin = defineStore(\"participant\", {\n\tstate: () => ({\n\t\toldListCommon: {} as any,\n\t\tcommon: {} as ParticipantProps,\n\t\tcommonToExport: [] as any,\n\t\tparticipantCommon: true || false,\n\t\ttab: \"common\" as\n\t\t\t| \"common\"\n\t\t\t| \"staff\"\n\t\t\t| \"speaker\"\n\t\t\t| \"form\"\n\t\t\t| \"import\"\n\t\t\t| \"export\",\n\t\tparticipantToUpdate: initialData,\n\t\tsearch: \"\",\n\t\tstatus: \"\",\n\t\tspinner: false,\n\t\tstaff: [] as any,\n\t\tspeaker: [] as any,\n\t\tvips: [] as any,\n\t\thasSearchCpf: false,\n\t\tconfirmVip: false,\n\t\tconfirmVipStatus: false,\n\t\tconfirmDelete: false,\n\t\tconfirmDeleteOne: false,\n\t\tconfirmDeleteOneId: \"\",\n\t\tselectExportParticipant: [] as any,\n\t\trowsExport: rowsToExportList,\n\t\tparticipants: [] as any,\n\t\tparticipantType: [] as any,\n\t\tsuccessCount: 0,\n\t\terror: false,\n\t\tdomains: {\n\t\t\tcompanys: [],\n\t\t\tpositions: [],\n\t\t\tpositionsType: [],\n\t\t\tclassifications: [],\n\t\t\tstatus: [],\n\t\t},\n\t\tparticipantPages: {\n\t\t\tpage: 0,\n\t\t\tsize: \"10\" as \"10\" | \"25\" | \"50\" | \"100\",\n\t\t},\n\t\tstaffPages: {\n\t\t\tpage: 0,\n\t\t\tsize: \"10\" as \"10\" | \"25\" | \"50\" | \"100\",\n\t\t},\n\t\ttotalParticipantPageCalc: 0,\n\t\ttotalStaffPageCalc: 0,\n\t\torder: \"name\",\n\t\tdirection: \"asc\" as \"asc\" | \"desc\",\n\t\tconfirmModal: false,\n\t\tconfirmationErrorList: [] as ConfirmationError[],\n\t\tconfirmationErrorModal: false,\n\t\tlistError: {},\n\t}),\n\tactions: {\n\t\tsetOldListCommon(value: any) {\n\t\t\tthis.oldListCommon = value;\n\t\t},\n\t\tsetOrder(value: any) {\n\t\t\tthis.order = value;\n\t\t},\n\t\tsetDirection(value: \"asc\" | \"desc\") {\n\t\t\tthis.direction = value;\n\t\t},\n\t\tsetConfirmModal(value: boolean) {\n\t\t\tthis.confirmModal = value;\n\t\t},\n\t\tsetCampo(checked: any, value: any) {\n\t\t\tif (checked === \"all\") {\n\t\t\t\tthis.selectExportParticipant = [];\n\t\t\t\tthis.rowsExport = this.rowsExport.map((el: any) => {\n\t\t\t\t\tel.checked = true;\n\t\t\t\t\tthis.rowsExport.map((el: any) => el.key);\n\t\t\t\t\tthis.selectExportParticipant.push(el.key);\n\t\t\t\t\treturn el;\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (checked === \"clear\") {\n\t\t\t\t\tthis.selectExportParticipant = [];\n\t\t\t\t\tthis.rowsExport = this.rowsExport.map((el: any) => {\n\t\t\t\t\t\tel.checked = false;\n\t\t\t\t\t\treturn el;\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (!value) {\n\t\t\t\t\t\tif (this.selectExportParticipant.includes(checked)) {\n\t\t\t\t\t\t\tconst index = this.selectExportParticipant.indexOf(checked);\n\t\t\t\t\t\t\tthis.selectExportParticipant.splice(index, 1);\n\t\t\t\t\t\t\tthis.rowsExport = this.rowsExport.map((el: any) => {\n\t\t\t\t\t\t\t\tif (el.key === checked) {\n\t\t\t\t\t\t\t\t\tel.checked = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn el;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!this.selectExportParticipant.includes(checked)) {\n\t\t\t\t\t\t\tthis.rowsExport = this.rowsExport.map((el: any) => {\n\t\t\t\t\t\t\t\tif (el.key === event) {\n\t\t\t\t\t\t\t\t\tel.checked = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn el;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tthis.selectExportParticipant.push(checked);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tshowConfirmDeleteOne(id: string, confirm: boolean) {\n\t\t\tthis.confirmDeleteOne = confirm;\n\t\t\tthis.confirmDeleteOneId = id;\n\t\t},\n\t\tsetTotalPages() {\n\t\t\tthis.totalParticipantPageCalc = Math.ceil(\n\t\t\t\tthis.common.total / Number(this.participantPages.size)\n\t\t\t);\n\t\t\tthis.totalStaffPageCalc = Math.ceil(\n\t\t\t\tthis.common.total / Number(this.participantPages.size)\n\t\t\t);\n\t\t},\n\t\tonConfirmDeleteOne() {\n\t\t\tthis.setSpinner(true);\n\t\t\tdeleteParticipant(this.confirmDeleteOneId, () => {\n\t\t\t\tthis.setSpinner(false);\n\t\t\t\tnewGetParticipant(\n\t\t\t\t\tthis.setCommons,\n\t\t\t\t\tthis.search,\n\t\t\t\t\tthis.status,\n\t\t\t\t\t() => {\n\t\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\t},\n\t\t\t\t\tthis.participantPages.page,\n\t\t\t\t\tthis.participantPages.size,\n\t\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t\t);\n\t\t\t\tthis.setTab(\"common\");\n\t\t\t\tthis.showConfirmDeleteOne(\"\", false);\n\t\t\t});\n\t\t},\n\t\tshowConfirmDelete(confirm: boolean) {\n\t\t\tthis.confirmDelete = confirm;\n\t\t},\n\t\tonConfirmDelete() {\n\t\t\tif (this.vips.length > 0) {\n\t\t\t\tthis.setSpinner(true);\n\t\t\t\tdeleteParticipants(this.vips, () => {\n\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\tthis.showConfirmDelete(false);\n\t\t\t\t\tthis.setVips(\"clear\", false);\n\t\t\t\t\tnewGetParticipant(\n\t\t\t\t\t\tthis.setCommons,\n\t\t\t\t\t\tthis.search,\n\t\t\t\t\t\tthis.status,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tthis.participantPages.page,\n\t\t\t\t\t\tthis.participantPages.size,\n\t\t\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tuseToast().error(\"Selecione ao menos um participante!\");\n\t\t\t\tthis.showConfirmVip(false, false);\n\t\t\t}\n\t\t},\n\t\tshowConfirmVip(confirm: boolean, vip: boolean) {\n\t\t\tthis.confirmVip = confirm;\n\t\t\tthis.confirmVipStatus = vip;\n\t\t},\n\t\tonConfirmVips() {\n\t\t\tif (this.vips.length > 0) {\n\t\t\t\tthis.setSpinner(true);\n\t\t\t\tsendVips(this.vips, this.confirmVipStatus, () => {\n\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\tthis.showConfirmVip(false, false);\n\t\t\t\t\tthis.setVips(\"clear\", false);\n\t\t\t\t\tnewGetParticipant(\n\t\t\t\t\t\tthis.setCommons,\n\t\t\t\t\t\tthis.search,\n\t\t\t\t\t\tthis.status,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tthis.participantPages.page,\n\t\t\t\t\t\tthis.participantPages.size,\n\t\t\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tuseToast().error(\"Selecione ao menos um participante!\");\n\t\t\t\tthis.showConfirmVip(false, false);\n\t\t\t}\n\t\t},\n\t\tsetDomains(\n\t\t\ttype:\n\t\t\t\t| \"companys\"\n\t\t\t\t| \"positions\"\n\t\t\t\t| \"positionsType\"\n\t\t\t\t| \"classifications\"\n\t\t\t\t| \"status\",\n\t\t\tdomain: any\n\t\t) {\n\t\t\tthis.domains[type] = domain;\n\t\t},\n\t\tsetVips(checked: any, value: boolean) {\n\t\t\tif (checked === \"all\") {\n\t\t\t\tthis.vips = [];\n\t\t\t\tthis.common.data = this.common.data.map((el: any) => {\n\t\t\t\t\tel.checked = true;\n\t\t\t\t\tthis.vips.push(el.id);\n\t\t\t\t\treturn el;\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (checked === \"clear\") {\n\t\t\t\t\tthis.vips = [];\n\t\t\t\t\tthis.common.data = this.common.data.map((el: any) => {\n\t\t\t\t\t\tel.checked = false;\n\t\t\t\t\t\treturn el;\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (!value) {\n\t\t\t\t\t\tif (this.vips.includes(checked)) {\n\t\t\t\t\t\t\tconst index = this.vips.indexOf(checked);\n\n\t\t\t\t\t\t\tthis.vips.splice(index, 1);\n\t\t\t\t\t\t\tthis.common.data = this.common.data.map((el: any) => {\n\t\t\t\t\t\t\t\tif (el.id === checked) {\n\t\t\t\t\t\t\t\t\tel.checked = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn el;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (value) {\n\t\t\t\t\t\t\tthis.vips.push(checked);\n\t\t\t\t\t\t\tthis.common.data = this.common.data.map((el: any) => {\n\t\t\t\t\t\t\t\tif (el.id === checked) {\n\t\t\t\t\t\t\t\t\tel.checked = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn el;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tsetParticipantCommon(type: boolean) {\n\t\t\tthis.participantCommon = type;\n\t\t\tif (!this.participantCommon) {\n\t\t\t\tthis.participantToUpdate.type = \"staff\";\n\t\t\t} else this.participantToUpdate.type = \"common\";\n\t\t},\n\t\tsetTab(tab: \"common\" | \"staff\" | \"speaker\" | \"form\" | \"import\" | \"export\") {\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetCommons(list: ParticipantProps) {\n\t\t\tthis.common = list;\n\t\t\tthis.common.total = list.total;\n\t\t\tthis.common.data = list.data.map((el) => {\n\t\t\t\tel.cpfFormat = formatCPF(el.cpf)\n\t\t\t\treturn el;\n\t\t\t});\n\t\t\tthis.totalParticipantPageCalc = Math.ceil(\n\t\t\t\tthis.common.total / Number(this.participantPages.size)\n\t\t\t);\n\t\t},\n\t\tsetCommonToExport(list: any) {\n\t\t\tthis.commonToExport = list;\n\t\t\tthis.commonToExport = list?.map((el: any) => {\n\t\t\t\tel.cpfFormat = formatCPF(el.cpf)\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetStaff(list: StaffProps) {\n\t\t\tthis.staff = list;\n\t\t\tthis.staff.total = list.total;\n\t\t\tthis.staff.data = list.data.map((el: any) => {\n\t\t\t\tel.cpfFormat = formatCPF(el.cpf)\n\t\t\t\tel.companyName = el.company?.name;\n\t\t\t\treturn el;\n\t\t\t});\n\t\t\tthis.totalStaffPageCalc = Math.ceil(\n\t\t\t\tthis.staff.total / Number(this.staffPages.size)\n\t\t\t);\n\t\t},\n\t\tsetSpeaker(common: any[]) {\n\t\t\tthis.speaker = common.map((el) => {\n\t\t\t\tel.companyName = el.company?.name;\n\t\t\t\tel.cpfFormat = formatCPF(el.cpf)\n\t\t\t\treturn el;\n\t\t\t});\n\t\t},\n\t\tsetParticipantToUpdate(participant: IParticipant | undefined) {\n\t\t\tif (typeof participant?.status !== \"number\") {\n\t\t\t\tthis.participantToUpdate = participant ? participant : initialData;\n\t\t\t}\n\t\t},\n\n\t\tsetParticipantToUpdateDetails(participantId: string | undefined) {\n\t\t\tupdateParticipant(participantId, this.setParticipantToUpdate, () => {});\n\t\t},\n\n\t\tsetHasSearch(search: boolean) {\n\t\t\tthis.hasSearchCpf = search;\n\t\t},\n\n\t\tsetValueInParticipantToUpdate(key: string, value: any) {\n\t\t\tif (!this.participantToUpdate) this.participantToUpdate = {} as any;\n\t\t\t(this.participantToUpdate as any)[key] = value;\n\t\t},\n\n\t\tsearchCpf(cpf: any) {\n\t\t\tthis.setSpinner(true);\n\t\t\tsearchCpfExecutive(cpf, this.setParticipantToUpdate, () => {\n\t\t\t\tthis.setSpinner(false);\n\t\t\t\tthis.setHasSearch(true);\n\t\t\t\t// Removed id to trigger create instead of update and removed id pre-registration\n\t\t\t\tdelete this.participantToUpdate.id;\n\t\t\t\tdelete this.participantToUpdate.pre_registration_id;\n\t\t\t\tif (!this.participantToUpdate.id)\n\t\t\t\t\tthis.participantToUpdate.status = \"not invited\";\n\t\t\t});\n\t\t},\n\t\tsendInvite(participant: any) {\n\t\t\tlet toInvite =\n\t\t\t\tthis.vips.length === 0\n\t\t\t\t\t? this.common.data.map((p: any) => p.id)\n\t\t\t\t\t: this.vips;\n\n\t\t\tif (participant) {\n\t\t\t\tif (participant.status === \"accepted\") {\n\t\t\t\t\tuseToast().error(`Participante já confirmado`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\ttoInvite = [participant.id];\n\t\t\t}\n\t\t\tthis.setSpinner(true);\n\t\t\tsendInvites(toInvite, () => {\n\t\t\t\tnewGetParticipant(\n\t\t\t\t\tthis.setCommons,\n\t\t\t\t\tthis.search,\n\t\t\t\t\tthis.status,\n\t\t\t\t\t() => {\n\t\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\t},\n\t\t\t\t\tthis.participantPages.page,\n\t\t\t\t\tthis.participantPages.size,\n\t\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t\t);\n\t\t\t});\n\t\t},\n\t\tsetConfirmationError(value: any) {\n\t\t\tthis.confirmationErrorList = value;\n\t\t\tif (this.confirmationErrorList?.length) {\n\t\t\t\treturn (this.confirmationErrorModal = true);\n\t\t\t}\n\t\t},\n\t\tconfirmAll() {\n\t\t\tconst participants = (\n\t\t\t\tthis.vips.length === 0\n\t\t\t\t\t? this.common.data\n\t\t\t\t\t: this.common.data.filter((el: any) => this.vips.includes(el.id))\n\t\t\t)\n\t\t\t\t.filter((p: any) => {\n\t\t\t\t\treturn p.status !== \"accepted\" && p.status !== \"unauthorized\";\n\t\t\t\t})\n\t\t\t\t.map((p: any) => p.id);\n\t\t\tif (!participants?.length) {\n\t\t\t\tuseToast().success(\"Participantes Confirmados com sucesso\");\n\t\t\t\treturn;\n\t\t\t} else {\n\t\t\t\tthis.setSpinner(true);\n\t\t\t\tsendConfirm(\n\t\t\t\t\tparticipants,\n\t\t\t\t\t() => {\n\t\t\t\t\t\tnewGetParticipant(\n\t\t\t\t\t\t\tthis.setCommons,\n\t\t\t\t\t\t\tthis.search,\n\t\t\t\t\t\t\tthis.status,\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tthis.setSpinner(false);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tthis.participantPages.page,\n\t\t\t\t\t\t\tthis.participantPages.size,\n\t\t\t\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\tthis.confirmationErrorList\n\t\t\t\t);\n\t\t\t\tthis.setSpinner(false);\n\t\t\t}\n\t\t},\n\t\tnormalizeNames(data: any) {\n\t\t\tconst result: any = {};\n\t\t\tObject.keys(data).forEach((key) => {\n\t\t\t\tresult[key] = (data[key] || \"\")\n\t\t\t\t\t?.toLowerCase()\n\t\t\t\t\t?.trim()\n\t\t\t\t\t?.normalize(\"NFD\")\n\t\t\t\t\t?.replace(/[\\u0300-\\u036f]/g, \"\");\n\t\t\t});\n\t\t\treturn result;\n\t\t},\n\t\tisValid(participants: any) {\n\t\t\tconst participantNormalize = this?.normalizeNames(participants[0]);\n\n\t\t\tconst isValidated =\n\t\t\t\tparticipantNormalize.company === \"rede\" &&\n\t\t\t\tparticipantNormalize.name === \"nome\" &&\n\t\t\t\tparticipantNormalize.credentialName === \"nome da credencial\" &&\n\t\t\t\tparticipantNormalize.cpf === \"cpf\" &&\n\t\t\t\tparticipantNormalize.register === \"matricula\" &&\n\t\t\t\tparticipantNormalize.uf === \"uf\" &&\n\t\t\t\tparticipantNormalize.email === \"email\" &&\n\t\t\t\tparticipantNormalize.position === \"cargo\" &&\n\t\t\t\tparticipantNormalize.enterprise_phone === \"telefone comercial\" &&\n\t\t\t\tparticipantNormalize.home_phone === \"telefone residencial\" &&\n\t\t\t\tparticipantNormalize.personal_phone === \"telefone celular\" &&\n\t\t\t\tparticipantNormalize.birth_date === \"data de nascimento\" &&\n\t\t\t\tparticipantNormalize.guest_company === \"empresa convidada\" &&\n\t\t\t\tparticipantNormalize.position_type === \"tipo de cargo\" &&\n\t\t\t\tparticipantNormalize.classification === \"classificacao\";\n\t\t\treturn isValidated;\n\t\t},\n\t\timportList(participantType: any, participants: any) {\n\t\t\tthis.participantType = participantType;\n\t\t\tthis.participants = participants.map((p: any) => {\n\t\t\t\tObject.keys(p).forEach((key) => {\n\t\t\t\t\tif (typeof p[key] !== \"string\") return;\n\t\t\t\t\tp[key] = (p[key] || \"\").toString().trim();\n\t\t\t\t});\n\n\n\t\t\t\tp.type = participantType;\n\t\t\t\tlet cpf = (p.cpf || \"\").toString().replace(/\\D/g, \"\");\n\t\t\t\tcpf = cpf.padStart(11, \"0\");\n\t\t\t\tif(validateCPF(cpf)){\n\t\t\t\t\tp.cpf = cpf;\n\t\t\t\t} else {\n\t\t\t\t\t// p.cpf is probably a \"foreign document\"\n\t\t\t\t\tp.foreign_document = true;\n\t\t\t\t}\n\t\t\t\tconsole.log(p.cpf)\n\t\t\t\tconsole.log(p.foreign_document)\n\n\t\t\t\tif (typeof p.birth_date === \"string\") {\n\t\t\t\t\tlet [day, month, year] = p.birth_date.toString().split(\"/\");\n\t\t\t\t\tyear = year.length === 2 ? `19${year}` : year;\n\n\t\t\t\t\tp.birth_date = new Date(year, Number(month) - 1, day);\n\t\t\t\t}\n\n\t\t\t\treturn p;\n\t\t\t});\n\n\t\t\tlet event = SessionStorage.get(\"event\");\n\n\t\t\tif (moment() > moment(event.limit_date) && !event.online) {\n\t\t\t\treturn useToast().error(\n\t\t\t\t\t\"A data para o cadastro de novos participantes expirou \"\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthis.setSpinner(true);\n\n\t\t\timportList(this.participants, (result: any) => {\n\t\t\t\tthis.setSpinner(false);\n\t\t\t\tif (result.errors.length === 0) {\n\t\t\t\t\tthis.setTab(\"common\");\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.error = true;\n\t\t\t\tthis.successCount = this.participants.length - result.errors.length;\n\t\t\t\tthis.participants = result.errors.map((data: any) => {\n\t\t\t\t\tdata.participant.error = errorType[data.error];\n\t\t\t\t\treturn data.participant;\n\t\t\t\t});\n\t\t\t});\n\t\t},\n\t\tformImportList(event: any, participantType: any) {\n\t\t\timportParticipant(event, (participants: any) => {\n\t\t\t\tif (this.isValid(participants)) {\n\t\t\t\t\tthis.setTab(\"import\");\n\t\t\t\t\tthis.participants = participants.splice(1, participants.length);\n\t\t\t\t\tthis.participantType = participantType;\n\t\t\t\t} else {\n\t\t\t\t\tuseToast()\n\t\t\t\t\t\t.error(`A PRIMEIRA linha do arquivo deve conter o cabeçalho com a sequência:\n rede, nome, nome da credencial, cpf, matricula, uf, email, cargo, telefone comercial, telefone \n residencial, telefone celular, data de nascimento, empresa convidada, tipo de cargo e classificação`);\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t},\n});\n\nconst errorType: any = {\n\t\"no-name\": \"Informe o nome\",\n\t\"no-company\": \"Informe uma empresa\",\n\t\"no-position-type\": \"Informe um tipo de cargo\",\n\t\"no-position\": \"Informe um cargo\",\n\t\"invalid-company-type\": \"Informe uma empresa Organizadora\",\n\t\"invalid-cpf\": \"CPF inválido\",\n\t\"invalid-position-type\": \" Tipo de cargo inválido\",\n\t\"invalid-classification\": \"Classificação inválida\",\n\t\"cpf-registered\": \"CPF Registrado\",\n\t\"email-required\": \"Email Obrigatório\",\n\t\"email-invalid\": \"Email Inválido\",\n};\n\nconst rowsExport = [\n\t{ key: \"name\", label: \"Nome\", required: true },\n\t{ key: \"credential_name\", label: \"Nome na Credencial\" },\n\t{ key: \"birth_date\", label: \"Data de Nascimento\" },\n\t{ key: \"cpf\", label: \"CPF\" },\n\t{ key: \"position\", label: \"Cargo\" },\n\t{ key: \"company_id\", label: \"Empresa\" },\n\t{ key: \"table\", label: \"Mesa\" },\n\t{ key: \"position_type_id\", label: \"Tipo de cargo\" },\n\t{ key: \"guest_company\", label: \"Empresa Convidada\" },\n\t{ key: \"status\", label: \"Situação do Convite\" },\n\t{ key: \"enterprise_phone\", label: \"Telefone Comercial\" },\n\t{ key: \"home_phone\", label: \"Telefone Residencial\" },\n\t{ key: \"personal_phone\", label: \"Telefone Celular\" },\n\t{ key: \"personal_mail\", label: \"Email Pessoal\" },\n\t{ key: \"enterprise_mail\", label: \"Email Comercial\" },\n\t{ key: \"register\", label: \"Matrícula\" },\n\t{ key: \"gender\", label: \"Gênero\" },\n\t{ key: \"observation\", label: \"Observação\" },\n\t{ key: \"credential_color\", label: \"Crachá\" },\n\t{ key: \"classification_id\", label: \"Classificação\" },\n];\n","import { urlOldApi } from \"./../../../helpers/HttpAdapterCostumer\";\nimport { useStoreParticipantAdmin } from \"./store\";\nimport { HttpAdapter, HttpAdapterCustomer } from \"@/helpers\";\nimport axios from \"axios\";\nimport { useToast } from \"vue-toastification\";\n\nexport const importList = async (\n\timportData: any,\n\tcallback: (result: any) => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/participant/import`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(importData),\n\t});\n\tcallback(data);\n\tif (!response.ok) return;\n\n\tuseToast().success(\"Participantes importados com sucesso\");\n};\nexport const deleteParticipant = async (id: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/participant/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\n\tif (response.status !== 200) {\n\t\treturn useToast().error(data.message);\n\t} else {\n\t\treturn useToast().success(\"Participante excluido com sucesso!\");\n\t}\n};\nexport const deleteParticipants = async (\n\tids: string[],\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/participant/deleteSelectedParticipants`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(ids),\n\t});\n\tcallback();\n\n\tif (response.status !== 200) {\n\t\treturn useToast().error(data.message);\n\t} else {\n\t\treturn useToast().success(\"Participantes excluidos com sucesso!\");\n\t}\n};\nexport const sendVips = async (\n\tids: string[],\n\tvip: boolean,\n\tcallback: () => void\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/participant/vip/${vip}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(ids),\n\t});\n\tcallback();\n\n\tif (response.status !== 200) {\n\t\treturn useToast().error(data.message);\n\t}\n};\n\nexport const getCommon = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tstatus: any,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst hasStatus = status ? `&status=${status}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}${hasSearch}${hasStatus}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/participant/${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tloadCompanys();\n\tsetValue(data);\n};\n\nexport const newGetParticipant = async (\n\tsetValue: any,\n\tsearch: any,\n\tstatus: any,\n\tcallback: () => void,\n\tpage: any,\n\tsize: any,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/v2/participant/?direction=${sort?.direction}&orderBy=${sort?.order}&like=${search}&status=${status}&page=${page}&size=${size}&type=common`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const updateParticipant = async (\n\tid: string | undefined,\n\tsetValue: (p: any, type: any) => void,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/v2/participant/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) {\n\t\tcallback();\n\t\treturn;\n\t}\n\tsetValue(data, \"edit\");\n\tcallback();\n};\n\nexport const newGetStaff = async (\n\tsetValue: any,\n\tsearch: any,\n\tcallback: () => void,\n\tpage: any,\n\tsize: any,\n\tsort?: { order?: string; direction?: \"asc\" | \"desc\" }\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/v2/participant/?direction=${sort?.direction}&orderBy=${sort?.order}&like=${search}&status=${status}&page=${page}&size=${size}&type=staff`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const getStaff = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/participant/staff/${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const newGetSpeaker = async (\n\tsetValue: any,\n\tsearch: any,\n\tcallback: () => void,\n\tpage: any,\n\tsize: any,\n\tsort?: { order?: string; direction?: \"asc\" | \"desc\" }\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/v2/participant/?direction=${sort?.direction}&orderBy=${sort?.order}&like=${search}&status=${status}&page=${page}&size=${size}&type=speaker`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const getSpeaker = async (\n\tsetValue: (p: any) => void,\n\tsearch: string,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : \"\";\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst order = sort?.order ? sort.order : \"name\";\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/participant/speaker/${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n\nexport const sendConfirm = async (\n\tids: string[],\n\tcallback: () => void,\n\tinvalidParticipants: any\n) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/participant/confirmAll\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(ids),\n\t});\n\tif (data.invalidParticipants.length) {\n\t\tinvalidParticipants(data.invalidParticipants);\n\t}\n\tcallback();\n\tif (response.status !== 200) {\n\t\treturn useToast().error(\"Erro ao confirmar participante(s)\");\n\t}\n\tif (!data.invalidParticipant) {\n\t\tuseToast().success(\n\t\t\t`${\n\t\t\t\tids.length > 1 ? \"Convite confirmado\" : \"Convites confirmados\"\n\t\t\t} com sucesso`\n\t\t);\n\t}\n};\n\nexport const sendInvites = async (ids: string[], callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/participant/invite\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(ids),\n\t});\n\tcallback();\n\n\tif (response.status !== 200) {\n\t\tif (data.message === \"no-invitation-image\") {\n\t\t\treturn useToast().error(\n\t\t\t\t`Convites não enviados: Faça o upload do convite no evento`\n\t\t\t);\n\t\t} else {\n\t\t\treturn useToast().error(data.message);\n\t\t}\n\t}\n\tuseToast().success(\n\t\t`${ids.length > 1 ? \"Convite enviado\" : \"Convites enviados\"} com sucesso`\n\t);\n};\n\nexport const typeStatus: any = {\n\t\"not invited\": \"Convite não Enviado\",\n\tinvited: \"Convite Enviado\",\n\taccepted: \"Convite Aceito\",\n\tunauthorized: \"Não Autorizado\",\n\tpresent: \"Presente\",\n\t\"present at time\": \"Presente na hora\",\n\t\"not present\": \"Ausente\",\n\tconfirmed: \"Confirmado\",\n\t\"subscription at time\": \"Inscrição na Hora\",\n};\nexport const loadDomains = () => {\n\tconst store = useStoreParticipantAdmin();\n\n\tloadCompanys();\n\tloadPositions();\n\tloadPositionsType();\n\tloadClassification();\n\n\tconst type = Object.keys(typeStatus).map((el: any) => {\n\t\treturn {\n\t\t\tid: el,\n\t\t\ttitle: typeStatus[el],\n\t\t};\n\t});\n\tstore.setDomains(\"status\", type);\n};\n\nconst loadCompanys = async () => {\n\tconst store = useStoreParticipantAdmin();\n\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tstore.setDomains(\"companys\", data);\n};\n\nconst loadPositions = async () => {\n\tconst store = useStoreParticipantAdmin();\n\n\tawait fetch(`${urlOldApi}/admin/position`)\n\t\t.then((response) => {\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => store.setDomains(\"positions\", data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => console.error(err));\n};\n\nconst loadPositionsType = async () => {\n\tconst store = useStoreParticipantAdmin();\n\n\tawait fetch(`${urlOldApi}/admin/positionType`)\n\t\t.then((response) => {\n\t\t\tif (response.ok) {\n\t\t\t\tresponse.json().then((data) => store.setDomains(\"positionsType\", data));\n\t\t\t}\n\t\t})\n\t\t.catch((err) => console.error(err));\n};\n\nconst loadClassification = async () => {\n\tconst store = useStoreParticipantAdmin();\n\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/classification`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tstore.setDomains(\"classifications\", data);\n};\n","\n","import { render } from \"./IcArrowUturn.vue?vue&type=template&id=647c60fe\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, createVNode as _createVNode, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-39a863b0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { style: {\"display\":\"flex\"} }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { class: \"title\" }\nconst _hoisted_5 = {\n key: 0,\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"}\n}\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_8 = { class: \"limit-input\" }\nconst _hoisted_9 = { class: \"limit-input\" }\nconst _hoisted_10 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_11 = { style: {\"width\":\"100%\",\"text-align\":\"left\"} }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"min-width\":\"30%\",\"margin-top\":\"4vh\"} }, \"Sem sugestão de Classificação\", -1))\nconst _hoisted_13 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_14 = { style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"width\":\"100%\"} }\nconst _hoisted_15 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_16 = { class: \"limit-input\" }\nconst _hoisted_17 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_18 = { class: \"limit-input\" }\nconst _hoisted_19 = { class: \"limit-input\" }\nconst _hoisted_20 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_21 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_22 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_23 = {\n key: 0,\n class: \"checkbox\"\n}\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Enviar Convite\", -1))\nconst _hoisted_25 = { class: \"checkbox\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"VIP\", -1))\nconst _hoisted_27 = { class: \"limit-input\" }\nconst _hoisted_28 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_29 = { class: \"select-color\" }\nconst _hoisted_30 = [\"value\"]\nconst _hoisted_31 = { class: \"limit-input\" }\nconst _hoisted_32 = { class: \"row\" }\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../components/Atoms/BaseSelect.vue\";\nimport BaseTextArea from \"../../../../../components/Atoms/BaseTextArea.vue\";\nimport Spinner from \"../../../../../components/Atoms/Spinner.vue\";\nimport { HttpAdapterCustomer } from \"../../../../../helpers\";\nimport { newGetParticipant } from \"../../service\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport IcArrowUturn from \"@/components/icons/IcArrowUturn.vue\";\nimport IcPencil from \"@/components/icons/IcPencil.vue\";\nimport { removeMask } from \"@/helpers/mask\";\nimport { ref } from \"vue\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst store = useStoreParticipantAdmin();\nconst toast = useToast();\nconst editPosition = ref(false);\n\nconst submit = async () => {\n\tconst store: any = useStoreParticipantAdmin();\n\tstore.setSpinner(true);\n\tif (store.participantToUpdate?.cpf) {\n\t\tstore.participantToUpdate.cpf = store.participantToUpdate.cpf\n\t\t\t.replaceAll(\".\", \"\")\n\t\t\t.replaceAll(\"-\", \"\");\n\t}\n\tif (!store.hasSearchCpf) {\n\t\tstore.searchCpf(store.participantToUpdate.cpf);\n\t} else {\n\t\tconst body = {\n\t\t\tforCompany: null,\n\t\t\tparticipant: store.participantToUpdate,\n\t\t};\n\n\t\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\t\turl: \"admin/participant\",\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: \"admin_token\",\n\t\t\t},\n\t\t\tbody: JSON.stringify(body),\n\t\t});\n\t\tif (!response.ok)\n\t\t\treturn toast.error(data.message || \"Erro ao cadastrar participante\");\n\t\tif (store.participantToUpdate.type === \"common\") {\n\t\t\tstore.setTab(\"common\");\n\t\t} else store.setTab(\"staff\");\n\t\tif (!body.participant.id) {\n\t\t\ttoast.success(\"Participante cadastrado com sucesso!\");\n\t\t\tstore.setHasSearch(false);\n\t\t\tnewGetParticipant(\n\t\t\t\tstore.setCommons,\n\t\t\t\tstore.search,\n\t\t\t\tstore.status,\n\t\t\t\t() => {\n\t\t\t\t\tstore.setSpinner(false);\n\t\t\t\t},\n\t\t\t\tstore.pages.page,\n\t\t\t\tstore.pages.size,\n\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t);\n\t\t\treturn;\n\t\t} else {\n\t\t\ttoast.success(\"Participante atualizado com sucesso\");\n\t\t\tstore.setHasSearch(false);\n\t\t\tnewGetParticipant(\n\t\t\t\tstore.setCommons,\n\t\t\t\tstore.search,\n\t\t\t\tstore.status,\n\t\t\t\t() => {\n\t\t\t\t\tstore.setSpinner(false);\n\t\t\t\t},\n\t\t\t\tstore.pages.page,\n\t\t\t\tstore.pages.size,\n\t\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\t\tstore.setParticipantToUpdate(undefined); // <-- reset\n\t}\n};\n\nfunction writePosition() {\n\teditPosition.value = !editPosition.value;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(store).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"form\", {\n style: {\"width\":\"100%\",\"margin-right\":\"2vw\"},\n onSubmit: _withModifiers(submit, [\"prevent\"])\n }, [\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(!_unref(store).participantToUpdate?.id\n\t\t\t\t\t\t\t? \"Cadastrar Participante\"\n\t\t\t\t\t\t\t: \"Editar Participante\"), 1),\n (!_unref(store).hasSearchCpf)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", null, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(store).participantToUpdate.foreign_document) = $event))\n }, null, 512), [\n [_vModelCheckbox, _unref(store).participantToUpdate.foreign_document]\n ]),\n _createTextVNode(\" Documento Estrangeiro? \")\n ]),\n (!_unref(store).participantToUpdate?.foreign_document)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"cpfParticipant\",\n label: \"Digite o CPF do participante\",\n placeholder: \"CPF\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate('cpf', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 512)), [\n [vMask, '###.###.###-##']\n ])\n : (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"cpf\",\n label: \"Documento *\",\n required: \"\",\n placeholder: \"Documento\",\n value: _unref(store).participantToUpdate?.cpf,\n onChange: _cache[2] || (_cache[2] = \n\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n ]))\n : _createCommentVNode(\"\", true),\n (!!_unref(store).hasSearchCpf)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome *\",\n placeholder: \"Nome\",\n value: _unref(store).participantToUpdate?.name,\n maxlength: 100,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'name',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate.name.length || 0) + \"/100\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(BaseInput, {\n name: \"credential_name\",\n label: \"Nome da Credencial * \",\n value: _unref(store).participantToUpdate?.credential_name,\n placeholder: \"Nome da Credencial\",\n maxlength: 20,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'credential_name',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate?.credential_name?.length || 0) + \"/20\", 1)\n ]),\n _createElementVNode(\"label\", null, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(store).participantToUpdate.foreign_document) = $event))\n }, null, 512), [\n [_vModelCheckbox, _unref(store).participantToUpdate.foreign_document]\n ]),\n _createTextVNode(\" Documento Estrangeiro? \")\n ]),\n (!_unref(store).participantToUpdate?.foreign_document)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"cpf\",\n label: \"CPF *\",\n required: \"\",\n placeholder: \"CPF\",\n value: _unref(store).participantToUpdate?.cpf,\n onChange: _cache[6] || (_cache[6] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t// if(event.target.value.replace(/[^\\d]/g, '').length < 12){\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t\t\t.replace(/[^\\d]/g, '')\n\t\t\t\t\t\t\t\t\t\t\t.replace(/(\\d{3})(\\d{3})(\\d{3})(\\d{2})/, '$1.$2.$3-$4')\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t// } else {\n\t\t\t\t\t\t\t\t\t// store.setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t// 'cpf',\n\t\t\t\t\t\t\t\t\t// event.target.value = event.target.value.replace(/[^\\d]/g, '').substr(0,11).replace(/(\\d{3})(\\d{3})(\\d{3})(\\d{2})/, '$1.$2.$3-$4')\n\t\t\t\t\t\t\t\t\t// )\n\t\t\t\t\t\t\t\t\t// }\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"])), [\n [vMask, '###.###.###-##']\n ])\n : (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"cpf\",\n label: \"Documento *\",\n required: \"\",\n placeholder: \"Documento\",\n value: _unref(store).participantToUpdate?.cpf,\n onChange: _cache[7] || (_cache[7] = \n\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(BaseSelect, {\n name: \"type\",\n label: \"Tipo do participante *\",\n required: \"\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'common',\n\t\t\t\t\t\t\t\t\ttitle: 'Comum',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'staff',\n\t\t\t\t\t\t\t\t\ttitle: 'Staff',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n value: _unref(store).participantToUpdate?.type,\n onChange: _cache[8] || (_cache[8] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate('type', $event.target.value)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(BaseSelect, {\n name: \"classification_id\",\n label: \"Classificação\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(store).domains.classifications.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t,\n value: _unref(store).participantToUpdate?.classification_id,\n onChange: _cache[9] || (_cache[9] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'classification_id',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"]),\n _hoisted_12\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(BaseSelect, {\n name: \"position_type_id\",\n label: \"Tipo de cargo *\",\n required: \"\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n _unref(store).domains.positionsType.map((el) => {\n return {\n id: el.id,\n title: el.name,\n };\n })\n ,\n value: _unref(store).participantToUpdate?.position_type_id,\n onChange: _cache[10] || (_cache[10] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'position_type_id',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_14, [\n (editPosition.value)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"position\",\n label: \"Cargo *\",\n placeholder: \"Cargo\",\n required: \"\",\n value: _unref(store).participantToUpdate?.position,\n onChange: _cache[11] || (_cache[11] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'position',\n\t\t\t\t\t\t\t\t\t\t$event.target.value.toUpperCase()\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]))\n : (_openBlock(), _createBlock(BaseSelect, {\n key: 1,\n name: \"position\",\n label: \"Cargo *\",\n required: \"\",\n keys: { keyValue: 'title', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(store).domains.positions.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t}).sort((a, b) => a.title.trim().localeCompare(b.title.trim()))\n\t\t\t\t\t\t\t,\n value: _unref(store).participantToUpdate?.position,\n onChange: _cache[12] || (_cache[12] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'position',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"])),\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n type: \"button\",\n style: {\"margin-top\":\"20px\"},\n onClick: writePosition\n }, {\n default: _withCtx(() => [\n (editPosition.value)\n ? (_openBlock(), _createBlock(IcArrowUturn, { key: 0 }))\n : (_openBlock(), _createBlock(IcPencil, { key: 1 }))\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(BaseSelect, {\n name: \"company_id\",\n label: \"Empresa *\",\n required: \"\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n _unref(store).domains.companys.map((el) => {\n return {\n id: el.id,\n title: el.name,\n };\n })\n ,\n value: _unref(store).participantToUpdate?.company_id,\n onChange: _cache[13] || (_cache[13] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'company_id',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(BaseInput, {\n name: \"guest_company\",\n label: \"Empresa convidada\",\n disabled: \n\t\t\t\t\t\t\t\t\t_unref(store).participantToUpdate.company_id ===\n\t\t\t\t\t\t\t\t\t'a717d0ac-fef5-47ce-9a33-c3539bc7ef65'\n\t\t\t\t\t\t\t\t\t\t? false\n\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t,\n placeholder: \"Empresa convidada\",\n value: \n\t\t\t\t\t\t\t\t\t_unref(store).participantToUpdate.company_id ===\n\t\t\t\t\t\t\t\t\t'296a1832-3caa-4576-a377-fc0e412f53ae'\n\t\t\t\t\t\t\t\t\t\t? 'ABRAFARMA'\n\t\t\t\t\t\t\t\t\t\t: _unref(store).participantToUpdate?.guest_company\n\t\t\t\t\t\t\t\t,\n maxlength: 100,\n onChange: _cache[14] || (_cache[14] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'guest_company',\n\t\t\t\t\t\t\t\t\t\t_unref(store).participantToUpdate.company_id ===\n\t\t\t\t\t\t\t\t\t\t\t'296a1832-3caa-4576-a377-fc0e412f53ae'\n\t\t\t\t\t\t\t\t\t\t\t? 'ABRAFARMA'\n\t\t\t\t\t\t\t\t\t\t\t: $event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"disabled\", \"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate?.guest_company?.length || \"0\") + \"/100\", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(BaseSelect, {\n name: \"status\",\n label: \"Situação do convite\",\n disabled: _unref(store).participantToUpdate?.role === 'company_manager',\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: _unref(store).domains.status,\n value: _unref(store).participantToUpdate?.status,\n onChange: _cache[15] || (_cache[15] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'status',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"disabled\", \"options\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(BaseInput, {\n name: \"enterprise_mail\",\n label: \"Email Comercial *\",\n required: \"\",\n type: \"email\",\n placeholder: \"Email\",\n value: _unref(store).participantToUpdate?.enterprise_mail,\n maxlength: 100,\n onChange: _cache[16] || (_cache[16] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'enterprise_mail',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate?.enterprise_mail?.length || \"0\") + \"/100\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(BaseInput, {\n name: \"personal_mail\",\n label: \"Email Pessoal\",\n type: \"email\",\n placeholder: \"Email\",\n value: _unref(store).participantToUpdate?.personal_mail,\n maxlength: 100,\n onChange: _cache[17] || (_cache[17] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'personal_mail',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate?.personal_mail?.length || \"0\") + \"/100\", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _withDirectives(_createVNode(BaseInput, {\n name: \"enterprise_phone\",\n label: \"Telefone Comercial\",\n placeholder: \"Telefone\",\n value: _unref(store).participantToUpdate?.enterprise_phone,\n onChange: _cache[18] || (_cache[18] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'enterprise_phone',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ]),\n _withDirectives(_createVNode(BaseInput, {\n name: \"home_phone\",\n label: \"Telefone Residencial\",\n placeholder: \"Telefone\",\n value: _unref(store).participantToUpdate?.home_phone,\n onChange: _cache[19] || (_cache[19] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'home_phone',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, '(##) ####-####']\n ]),\n _withDirectives(_createVNode(BaseInput, {\n name: \"personal_phone\",\n label: \"Telefone Celular\",\n placeholder: \"Telefone\",\n value: _unref(store).participantToUpdate?.personal_phone,\n onChange: _cache[20] || (_cache[20] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'personal_phone',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(BaseInput, {\n name: \"birth_date\",\n label: \"Data de nascimento\",\n placeholder: \"Data\",\n type: \"date\",\n value: _unref(store).participantToUpdate?.birth_date,\n onChange: _cache[21] || (_cache[21] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'birth_date',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n name: \"gender\",\n label: \"Gênero\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'female',\n\t\t\t\t\t\t\t\t\ttitle: 'Feminino',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'male',\n\t\t\t\t\t\t\t\t\ttitle: 'Masculino',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'other',\n\t\t\t\t\t\t\t\t\ttitle: 'Outro',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'not informed',\n\t\t\t\t\t\t\t\t\ttitle: 'Não informado',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n value: _unref(store).participantToUpdate?.gender,\n onChange: _cache[22] || (_cache[22] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'gender',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"register\",\n label: \"Matricula\",\n placeholder: \"Matricula\",\n type: \"date\",\n value: _unref(store).participantToUpdate?.register,\n onChange: _cache[23] || (_cache[23] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'register',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n (_unref(store).participantToUpdate.id)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createVNode(BaseInput, {\n name: \"send_email\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n value: _unref(store).participantToUpdate?.send_mail,\n checked: _unref(store).participantToUpdate?.send_email,\n onChange: _cache[24] || (_cache[24] = \n\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t'send_email',\n\t\t\t\t\t\t\t\t\t\t\tevent.target.checked\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\", \"checked\"]),\n _hoisted_24\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(BaseInput, {\n name: \"vip\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n value: _unref(store).participantToUpdate?.vip,\n checked: _unref(store).participantToUpdate?.vip,\n onChange: _cache[25] || (_cache[25] = \n\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t'vip',\n\t\t\t\t\t\t\t\t\t\t\tevent.target.checked\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\", \"checked\"]),\n _hoisted_26\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(BaseInput, {\n name: \"address\",\n label: \"Endereço Completo\",\n placeholder: \"Endereço\",\n value: _unref(store).participantToUpdate?.address,\n maxlength: 100,\n onChange: _cache[26] || (_cache[26] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate?.address?.length || \"0\") + \"/100\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"input\", {\n id: \"color-input\",\n type: \"color\",\n label: \"Crachá\",\n name: \"credential_color\",\n value: _unref(store).participantToUpdate?.credential_color,\n onChange: _cache[27] || (_cache[27] = (event) => _unref(store).setValueInParticipantToUpdate(\n 'credential_color',\n event.target.value\n )),\n style: {\"`border-radius\":\"100%!important\",\"width\":\"30px\",\"height\":\"30px\",\"background\":\"${item.color}\",\"margin-bottom\":\"8px\"}\n }, null, 40, _hoisted_30),\n _createVNode(BaseInput, {\n onInput: _cache[28] || (_cache[28] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t\t'credential_color',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n type: \"text\",\n value: _unref(store).participantToUpdate?.credential_color,\n label: \"Escolha uma cor\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(BaseTextArea, {\n label: \"Observação\",\n name: \"observation\",\n placeholder: \"Observação\",\n style: {\"width\":\"100%\"},\n maxlength: 100,\n \"max-length-text\": '',\n value: _unref(store).participantToUpdate?.observation,\n onOnchange: _cache[29] || (_cache[29] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(store).setValueInParticipantToUpdate(\n\t\t\t\t\t\t\t\t\t'observation',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantToUpdate?.observation?.length || \"0\") + \"/100\", 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_32, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[30] || (_cache[30] = ($event: any) => {\n\t\t\t\t\t\t\t_unref(store).setTab('common');\n\t\t\t\t\t\t\t_unref(store).setHasSearch(false);\n\t\t\t\t\t\t})\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_3)\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=39a863b0&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-39a863b0\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-80d1d4f2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = {\n class: \"h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\",\n style: {\"background-color\":\"var(--color-admin-primary)\"}\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Lista de confirmações não sucedidas\", -1))\nconst _hoisted_4 = { class: \"body-modal\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"alert-modal\" }, \" * Verifique os e-mail dos participantes acima e confirmar se estão preenchidos corretamente. \", -1))\nconst _hoisted_6 = { class: \"button-modal\" }\n\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalConfirmationError',\n setup(__props) {\n\nconst store = useStoreParticipantAdmin();\nconst spinner = ref(false);\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"50%\",\n\t\tdoubleText: {\n\t\t\tbold: \"name\",\n\t\t\ttext: \"cpf\",\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Email Comercial\",\n\t\tvalue: \"email\",\n\t\tid: 2,\n\t\tsort: false,\n\t\twidth: \"45%\",\n\t},\n];\n\nfunction closeModal() {\n\tstore.confirmationErrorModal = false;\n}\n\nconst errorDTO = store.confirmationErrorList?.map((item: any) => {\n\treturn {\n\t\tname: item.name,\n\t\tcpf: item.cpf\n\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\"),\n\t\temail: item.email,\n\t};\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n onClick: closeModal,\n class: \"cursor-pointer\"\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _createVNode(Table, {\n columns: columns,\n rows: _unref(errorDTO)\n }, null, 8, [\"rows\"])\n ]),\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseButton, {\n onClick: closeModal,\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Entendi\")\n ]),\n _: 1\n })\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalConfirmationError.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalConfirmationError.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalConfirmationError.vue?vue&type=style&index=0&id=80d1d4f2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-80d1d4f2\"]])\n\nexport default __exports__","\n","import { render } from \"./IcArrowPageLeft.vue?vue&type=template&id=8ecca8f2\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcArrowPageRight.vue?vue&type=template&id=5d8d39ee\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c6a4f12\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"100%\",\"padding-left\":\"10px\",\"padding-top\":\"0px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = { class: \"nav-pagination\" }\nconst _hoisted_4 = { class: \"qtd-row\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Quantidade de linha:\", -1))\nconst _hoisted_6 = { class: \"skip-button\" }\n\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../components/Atoms/BaseSelect.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport IcCheckVue from \"../../../../../components/icons/IcCheck.vue\";\nimport IcEditVue from \"../../../../../components/icons/IcEdit.vue\";\nimport IcMessageVue from \"../../../../../components/icons/IcMessage.vue\";\nimport IcPreRegister from \"../../../../../components/icons/IcPreRegister.vue\";\nimport IcSearch from \"../../../../../components/icons/IcSearch.vue\";\nimport IcTrashVue from \"../../../../../components/icons/IcTrash.vue\";\nimport { debounce } from \"../../../../../helpers/debounce\";\nimport { getCommon, newGetParticipant } from \"../../service\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport ModalConfirmationError from \"./ModalConfirmationError.vue\";\nimport IcArrowPageLeft from \"@/components/icons/IcArrowPageLeft.vue\";\nimport IcArrowPageRight from \"@/components/icons/IcArrowPageRight.vue\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\nimport IcFail from \"@/components/icons/IcFail.vue\";\nimport { urlOldApi } from \"@/helpers\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { defineComponent, onMounted, onUnmounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { getStoreToken } = eventStore;\n\nconst miniSpinner = ref(false);\nconst store = useStoreParticipantAdmin();\nconst toast = useToast();\nconst errorPrev = ref(false);\nconst errorNext = ref(false);\n\nconst search = (value: string) => {\n\tstore.setSearch(value);\n\tconst TRHEE_SECONDS = 1 * 1000;\n\tminiSpinner.value = true;\n\tdebounce(() => {\n\t\tstore.setSpinner(true);\n\t\tminiSpinner.value = false;\n\n\t\tnewGetParticipant(\n\t\t\tstore.setCommons,\n\t\t\tstore.search,\n\t\t\tstore.status,\n\t\t\t() => {\n\t\t\t\tstore.setSpinner(false);\n\t\t\t},\n\t\t\tstore.participantPages.page,\n\t\t\tstore.participantPages.size,\n\t\t\t{ order: store.order, direction: store.direction }\n\t\t);\n\t}, TRHEE_SECONDS);\n};\n\nconst columns = [\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"id\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"3%\",\n\t\tcheck: true,\n\t\tcheckValue: \"checked\",\n\t\tchecked: (event: any, checked: boolean) => {\n\t\t\tstore.setVips(event, checked);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"pre_registration_id\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"4%\",\n\t\ticon: {\n\t\t\tsuccess: IcPreRegister,\n\t\t\tfail: IcFail,\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 2,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t\tdoubleText: {\n\t\t\tbold: \"name\",\n\t\t\ttext: \"cpfFormat\",\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Empresa\",\n\t\tvalue: \"company_name\",\n\t\tid: 3,\n\t\tsort: true,\n\t\twidth: \"10%\",\n\t},\n\t{\n\t\ttitle: \"Empresa Convidada\",\n\t\tvalue: \"guest_company\",\n\t\tid: 14,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Email Comercial\",\n\t\tvalue: \"enterprise_mail\",\n\t\tid: 5,\n\t\tsort: true,\n\t\twidth: \"25%\",\n\t},\n\t{\n\t\ttitle: \"Status\",\n\t\tvalue: \"status\",\n\t\tid: 6,\n\t\tsort: false,\n\t\twidth: \"10%\",\n\t\ticonList: {\n\t\t\tpresent: {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Presente\",\n\t\t\t},\n\t\t\t\"present at time\": {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Presente na hora\",\n\t\t\t},\n\t\t\t\"not present\": {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Ausente no evento\",\n\t\t\t},\n\t\t\tconfirmed: {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Confirmado\",\n\t\t\t},\n\t\t\t\"not invited\": {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Não enviado\",\n\t\t\t},\n\t\t\tunauthorized: {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Não Autorizado\",\n\t\t\t},\n\t\t\tinvited: {\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\tdescription: \"Convite enviado\",\n\t\t\t},\n\t\t\taccepted: {\n\t\t\t\ticon: IcCheckVue,\n\t\t\t\tdescription: \"Convite Aceito\",\n\t\t\t},\n\t\t},\n\t},\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcEditVue,\n\t\ttitle: \"Editar\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setHasSearch(true);\n\t\t\tstore.setTab(\"form\");\n\t\t\tstore.setParticipantToUpdateDetails(row.id);\n\t\t},\n\t},\n\t{\n\t\ticon: IcMessageVue,\n\t\ttitle: \"Enviar Convite\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.sendInvite(row);\n\t\t},\n\t},\n\t{\n\t\ticon: IcTrashVue,\n\t\ttitle: \"Excluir\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.showConfirmDeleteOne(row.id, true);\n\t\t},\n\t},\n\t{\n\t\ticon: IcDownload,\n\t\ttitle: \"Download Voucher\",\n\t\tonClick: (row: any) => {\n\t\t\tif (!row.has_voucher) {\n\t\t\t\ttoast.error(\"Participante ainda não tem voucher disponível\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tdownloadVoucherAdmin(row.id);\n\t\t\ttoast.success(\"Download do Voucher feito com sucesso!\");\n\t\t},\n\t},\n];\n\nconst downloadVoucherAdmin = async (participantId: string) => {\n\tconst url = `/admin/participant/voucher/${participantId}`;\n\tlet responseFetch: any = undefined;\n\tawait fetch(urlOldApi + url, {\n\t\tmethod: \"POST\",\n\t\theaders: {\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\tAuthorization: `Bearer ${getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])}`,\n\t\t},\n\t})\n\t\t.then((response) => {\n\t\t\tresponseFetch = response;\n\t\t\treturn response.blob();\n\t\t})\n\t\t.then((blob) => URL.createObjectURL(blob))\n\t\t.then((url) => {\n\t\t\twindow.open(url, \"_blank\");\n\t\t\tURL.revokeObjectURL(url);\n\t\t});\n\tif (!responseFetch?.ok) toast.error(\"Erro ao abrir o voucher\");\n};\n\nfunction prevPage() {\n\tif (store.participantPages.page < 1) {\n\t\terrorPrev.value = true;\n\t\treturn;\n\t}\n\tif (store.vips.length) {\n\t\ttoast.error(\"Há participante selecionado, faça uma ação antes\");\n\t\treturn;\n\t}\n\terrorPrev.value = false;\n\tstore.participantPages.page -= 1;\n\n\tnewGetParticipant(\n\t\tstore.setCommons,\n\t\tstore.search,\n\t\tstore.status,\n\t\t() => {},\n\t\tstore.participantPages.page,\n\t\tstore.participantPages.size,\n\t\t{ order: store.order, direction: store.direction }\n\t);\n}\n\nfunction nextPage() {\n\tif (store.participantPages.page + 1 >= store.totalParticipantPageCalc) {\n\t\terrorNext.value = true;\n\t\treturn;\n\t}\n\tif (store.vips.length) {\n\t\ttoast.error(\"Há participante selecionado, faça uma ação antes\");\n\t\treturn;\n\t}\n\terrorNext.value = false;\n\tstore.participantPages.page += 1;\n\tnewGetParticipant(\n\t\tstore.setCommons,\n\t\tstore.search,\n\t\tstore.status,\n\t\t() => {},\n\t\tstore.participantPages.page,\n\t\tstore.participantPages.size,\n\t\t{ order: store.order, direction: store.direction }\n\t);\n}\n\nonMounted(() => {\n\tgetCommon(store.setOldListCommon, \"\", \"\", () => {}, {\n\t\torder: \"name\",\n\t\tdirection: \"asc\",\n\t});\n\tstore.participantPages.page = 0;\n\tstore.setSpinner(true);\n\tnewGetParticipant(\n\t\tstore.setCommons,\n\t\tstore.search,\n\t\tstore.status,\n\t\t() => {\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t\tstore.participantPages.page,\n\t\tstore.participantPages.size,\n\t\t{ order: \"name\", direction: \"asc\" }\n\t);\n});\n\nonUnmounted(() => {\n\tstore.participantPages.page = 0;\n\tstore.participantPages.size = \"10\";\n\tstore.status = \"\";\n\tstore.search = \"\";\n\tnewGetParticipant(\n\t\tstore.setCommons,\n\t\tstore.search,\n\t\tstore.status,\n\t\t() => {},\n\t\tstore.participantPages.page,\n\t\tstore.participantPages.size,\n\t\t{ order: store.order, direction: store.direction }\n\t);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).confirmationErrorModal)\n ? (_openBlock(), _createBlock(ModalConfirmationError, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _unref(store).search,\n style: {\"width\":\"70%\"},\n onInput: _cache[0] || (_cache[0] = ($event: any) => (search($event.target.value)))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Status\",\n style: {\"width\":\"50%\"},\n options: [\n\t\t\t\t\t{ id: '', title: 'Todos' },\n\t\t\t\t\t{ id: 'present', title: 'Presente' },\n\t\t\t\t\t{ id: 'present at time', title: 'Presente na hora' },\n\t\t\t\t\t{ id: 'not present', title: 'Ausente' },\n\t\t\t\t\t{ id: 'not invited', title: 'Não enviado' },\n\t\t\t\t\t{ id: 'confirmed', title: 'Confirmado' },\n\t\t\t\t\t{ id: 'unauthorizeed', title: 'Não Autorizado' },\n\t\t\t\t\t{ id: 'invited', title: 'Convite enviado' },\n\t\t\t\t\t{ id: 'accepted', title: 'Convite Aceito' },\n\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(store).status,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t_unref(newGetParticipant)(\n\t\t\t\t\t\t_unref(store).setCommons,\n\t\t\t\t\t\t_unref(store).search,\n\t\t\t\t\t\t(_unref(store).status = $event.target.value),\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t_unref(store).participantPages.page,\n\t\t\t\t\t\t_unref(store).participantPages.size,\n\t\t\t\t\t\t{ order: _unref(store).order, direction: _unref(store).direction }\n\t\t\t\t\t)\n\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n (_unref(store) && _unref(store).common)\n ? (_openBlock(), _createBlock(Table, {\n key: 0,\n style: {\"overflow-x\":\"hidden\",\"max-height\":\"50vh\",\"min-height\":\"50vh\"},\n columns: columns,\n overflowX: \"hidden\",\n rows: _unref(store).common.data,\n tableActions: tableActions,\n onOnsort: _cache[2] || (_cache[2] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_unref(store).setOrder(column === 'company_name' ? 'company.name' : column);\n\t\t\t\t\t_unref(store).setDirection(direction);\n\t\t\t\t\t_unref(newGetParticipant)(\n\t\t\t\t\t\t_unref(store).setCommons,\n\t\t\t\t\t\t_unref(store).search,\n\t\t\t\t\t\t_unref(store).status,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t_unref(store).participantPages.page,\n\t\t\t\t\t\t_unref(store).participantPages.size,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column === 'company_name' ? 'company.name' : column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(BaseSelect, {\n style: {\"width\":\"25%\"},\n label: \"\",\n options: [\n\t\t\t\t\t\t{ id: 10, title: '10' },\n\t\t\t\t\t\t{ id: 50, title: '50' },\n\t\t\t\t\t\t{ id: 100, title: '100' },\n\t\t\t\t\t\t{ id: 150, title: '150' },\n\t\t\t\t\t],\n keys: {\n\t\t\t\t\t\tkeyValue: 'id',\n\t\t\t\t\t\tkeyLabel: 'title',\n\t\t\t\t\t},\n value: _unref(store).participantPages.size,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t_unref(newGetParticipant)(\n\t\t\t\t\t\t\t_unref(store).setCommons,\n\t\t\t\t\t\t\t_unref(store).search,\n\t\t\t\t\t\t\t_unref(store).status,\n\t\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t\t_unref(store).participantPages.page,\n\t\t\t\t\t\t\t(_unref(store).participantPages.size = $event.target.value),\n\t\t\t\t\t\t\t{ order: _unref(store).order, direction: _unref(store).direction }\n\t\t\t\t\t\t)\n\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(IcArrowPageLeft, {\n onClick: prevPage,\n class: _normalizeClass(errorPrev.value ? 'error' : 'success')\n }, null, 8, [\"class\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).participantPages.page + 1) + \" de \" + _toDisplayString(_unref(store).totalParticipantPageCalc), 1),\n _createVNode(IcArrowPageRight, {\n onClick: nextPage,\n class: _normalizeClass(errorNext.value ? 'error' : 'success')\n }, null, 8, [\"class\"])\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=4c6a4f12&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4c6a4f12\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f6f394d2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h3\", { style: {\"color\":\"var(--color-admin-primary)\"} }, \" Selecione os campos que deseja na planilha \")\n], -1))\nconst _hoisted_3 = { class: \"row\" }\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport { getCommon } from \"../../service\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport { HttpAdapterCustomer, urlOldApi } from \"@/helpers\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport * as Excel from \"exceljs\";\nimport { saveAs } from \"file-saver\";\nimport moment from \"moment\";\nimport { onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\ntype GenderTypes = {\n\t[key: string]: string;\n};\ntype StatusTypes = {\n\t[key: string]: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst miniSpinner = ref(false);\nconst store = useStoreParticipantAdmin();\nconst toast = useToast();\nconst { getStoreToken } = eventStore;\nconst isLoading = ref(false);\n\nconst generateExcel = () => {\n\tconst listExport = store.commonToExport?.map((item: any) => {\n\t\treturn {\n\t\t\tname: item?.name,\n\t\t\tcredential_name: item?.credential_name,\n\t\t\tbirth_date: item?.birth_date\n\t\t\t\t? moment(item?.birth_date).format(\"DD/MM/YYYY\")\n\t\t\t\t: \"-\",\n\t\t\tcpf: item?.cpf\n\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\"),\n\t\t\tposition: item?.position ? item.position : \"-\",\n\t\t\tcompany: item?.company.name ? item.company.name : \"-\",\n\t\t\ttable: item?.table ? item.table : \"-\",\n\t\t\tposition_type_id: item?.position_type_id ? item.position_type_id : \"-\",\n\t\t\tguest_company: item?.guest_company ? item.guest_company : \"-\",\n\t\t\tstatus: STATUS[item?.status],\n\t\t\tenterprise_phone: item?.enterprise_phone\n\t\t\t\t? item.enterprise_phone\n\t\t\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t\t\t?.replace(/^(\\d{2})(\\d{5})?(\\d{4})?/, \"($1) $2-$3\")\n\t\t\t\t: \"-\",\n\t\t\thome_phone: item?.home_phone\n\t\t\t\t? item.home_phone\n\t\t\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t\t\t?.replace(/^(\\d{2})(\\d{5})?(\\d{4})?/, \"($1) $2-$3\")\n\t\t\t\t: \"-\",\n\t\t\tpersonal_phone: item?.personal_phone\n\t\t\t\t? item.personal_phone\n\t\t\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t\t\t?.replace(/^(\\d{2})(\\d{5})?(\\d{4})?/, \"($1) $2-$3\")\n\t\t\t\t: \"-\",\n\t\t\tpersonal_mail: item?.personal_mail ? item.personal_mail : \"-\",\n\t\t\tenterprise_mail: item?.enterprise_mail ? item.enterprise_mail : \"-\",\n\t\t\tregister: item?.register ? item.register : \"-\",\n\t\t\tgender: GENDER[item?.gender],\n\t\t\tobservation: item?.observation ? item.observation : \"-\",\n\t\t\tcredential_color: item?.credential_color ? item.credential_color : \"-\",\n\t\t\tclassification_id: item?.classification_id ? item.classification_id : \"-\",\n\t\t\tpre_registration_status: item?.pre_registration_status\n\t\t\t\t? item?.pre_registration_status\n\t\t\t\t: \"-\",\n\t\t\tpre_registration_payment_status: item?.pre_registration_payment_status\n\t\t\t\t? item?.pre_registration_payment_status\n\t\t\t\t: \"-\",\n\t\t\tpre_registration_amount: item?.pre_registration_amount\n\t\t\t\t? item?.pre_registration_amount\n\t\t\t\t: \"-\",\n\t\t};\n\t});\n\tlet headers: string[] = store.selectExportParticipant;\n\theaders.length === 0 && Object.keys(listExport[0]);\n\n\tvar workbook = new Excel.Workbook();\n\tvar worksheet = workbook.addWorksheet(\"Relatório Contrato\");\n\n\tlet columns: any = [];\n\n\theaders.forEach((col) => {\n\t\tcolumns.push({\n\t\t\theader: col,\n\t\t\tkey: col,\n\t\t\twidth: 25,\n\t\t\theight: 40,\n\t\t\tincludeEmpty: false,\n\t\t});\n\t});\n\tworksheet.columns = columns;\n\tworksheet.addRows(listExport);\n\n\tworksheet.getRow(1).fill = {\n\t\ttype: \"pattern\",\n\t\tpattern: \"solid\",\n\t\tfgColor: { argb: \"FF023366\" },\n\t\tbgColor: { argb: \"FFF\" },\n\t};\n\tworksheet.getRow(1).font = {\n\t\tname: \"Arial Black\",\n\t\tcolor: { argb: \"FFFFFFFF\" },\n\t\tfamily: 2,\n\t\tsize: 10,\n\t\titalic: true,\n\t};\n\n\tworksheet.getRow(1).alignment = { vertical: \"middle\", horizontal: \"center\" };\n\tlistExport.forEach((dados: any, index: any) => {\n\t\tworksheet.getRow(index + 2).height = 25;\n\t\tworksheet.getRow(Number(index + 2)).alignment = {\n\t\t\tvertical: \"middle\",\n\t\t\thorizontal: \"center\",\n\t\t};\n\t\tworksheet.getRow(index + 2).border = {\n\t\t\ttop: { style: \"thin\", color: { argb: \"00000000\" } },\n\t\t\tleft: { style: \"thin\", color: { argb: \"00000000\" } },\n\t\t\tbottom: { style: \"thin\", color: { argb: \"00000000\" } },\n\t\t\tright: { style: \"thin\", color: { argb: \"00000000\" } },\n\t\t};\n\t});\n\n\tworksheet.getRow(1).border = {\n\t\ttop: { style: \"double\", color: { argb: \"00000000\" } },\n\t\tleft: { style: \"double\", color: { argb: \"00000000\" } },\n\t\tbottom: { style: \"double\", color: { argb: \"00000000\" } },\n\t\tright: { style: \"double\", color: { argb: \"00000000\" } },\n\t};\n\tlet fname = \"Relatório-Contrato\";\n\tworkbook.xlsx.writeBuffer().then((data) => {\n\t\tlet blob = new Blob([data], {\n\t\t\ttype: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n\t\t});\n\t\tsaveAs(blob, fname + \"-\" + new Date().valueOf() + \".xlsx\");\n\t});\n};\n\nconst columns = [\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"key\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"2%\",\n\t\tcheck: true,\n\t\tcheckValue: \"checked\",\n\t\tchecked: (event: any, checked: boolean) => {\n\t\t\tstore.setCampo(event, checked);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Campo\",\n\t\tvalue: \"label\",\n\t\tsort: false,\n\t\tid: 2,\n\t\twidth: \"100%\",\n\t},\n];\n\nconst GENDER: GenderTypes = {\n\t\"not informed\": \"Não informado\",\n\tmale: \"Masculino\",\n\tfemale: \"Feminino\",\n};\nconst STATUS: StatusTypes = {\n\tinvited: \"Convite enviado\",\n\t\"not invited\": \"Convite não enviado\",\n\t\"present at time\": \"Presente na hora\",\n};\n\nasync function handleExport() {\n\tstore.setSpinner(true);\n\tif (!store.selectExportParticipant.length) {\n\t\tstore.setSpinner(false);\n\t\ttoast.error(\"Selecione pelo menos um campo\");\n\t\treturn;\n\t}\n\tawait getCommon(store.setCommonToExport, store.search, store.status, () => {\n\t\tgenerateExcel();\n\t\tstore.setTab(\"common\");\n\t\tstore.selectExportParticipant = [];\n\t\tstore.setCampo(\"clear\", \"\");\n\t\tstore.setSpinner(false);\n\t});\n}\n\nfunction cancelExport() {\n\tstore.setTab(\"common\");\n\tstore.setHasSearch(false);\n\tstore.selectExportParticipant = [];\n}\n\nconst handleExportApi = async () => {\n\tisLoading.value = true;\n\tconst endpoint = \"/admin/participant/export\";\n\tconst body = JSON.stringify({\n\t\tfields: store.selectExportParticipant.map((item: any) => item).join(\",\"),\n\t\tparticipants: store.oldListCommon.map((item: any) => item.id).join(\",\"),\n\t});\n\tif (!store.selectExportParticipant.length)\n\t\treturn toast.error(\"Selecione pelo menos 1 campo para exportar\");\n\ttry {\n\t\tconst response = await fetch(urlOldApi + endpoint, {\n\t\t\tmethod: \"POST\",\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\tAuthorization: `Bearer ${getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])}`,\n\t\t\t},\n\t\t\tbody,\n\t\t});\n\t\tlet blob = undefined;\n\n\t\tif (response.ok) {\n\t\t\tisLoading.value = false;\n\t\t\tblob = await response.blob();\n\t\t} else {\n\t\t\tisLoading.value = false;\n\t\t\tthrow new Error(\"Falha ao exportar os dados.\");\n\t\t}\n\n\t\tconst url = URL.createObjectURL(blob);\n\n\t\tconst link = document.createElement(\"a\");\n\t\tlink.href = url;\n\t\tlink.download = \"arquivo.xlsx\";\n\n\t\tdocument.body.appendChild(link);\n\n\t\tlink.click();\n\n\t\tdocument.body.removeChild(link);\n\t} catch {\n\t\tconsole.error(\"Falha ao exportar os dados\");\n\t}\n};\n\nonMounted(() => {\n\tstore.setSpinner(true);\n\tgetCommon(store.setCommonToExport, store.search, store.status, () => {\n\t\tstore.setSpinner(false);\n\t});\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (isLoading.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(Table, {\n columns: columns,\n overflowX: \"hidden\",\n rows: _unref(store).rowsExport,\n style: {\"overflow-x\":\"hidden\",\"max-height\":\"65vh\"}\n }, null, 8, [\"rows\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: cancelExport\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { onClick: handleExportApi }, {\n default: _withCtx(() => [\n _createTextVNode(\"Exportar\")\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f6f394d2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f6f394d2\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-538c9051\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n style: {\"width\":\"100%\"},\n class: \"\"\n}\nconst _hoisted_2 = { style: {\"font-weight\":\"bold\",\"color\":\"var(--color-admin-primary)\",\"font-size\":\"1rem\"} }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { class: \"row\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Table = _resolveComponent(\"Table\")!\n const _component_BaseButton = _resolveComponent(\"BaseButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (!_ctx.store.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"Participantes a serem importados\"))\n : _createCommentVNode(\"\", true),\n (_ctx.store.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, \"Participantes não importados\"))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.store.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createTextVNode(\" Foram importados \"),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.store.successCount), 1),\n _createTextVNode(\" participantes com sucesso, mas não foi possível importar os seguintes participantes: \")\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Table, {\n columns: _ctx.columns,\n overflowX: \"auto\",\n rows: _ctx.store.participants,\n style: {\"max-height\":\"70vh\"}\n }, null, 8, [\"columns\", \"rows\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n (!_ctx.store.error)\n ? (_openBlock(), _createBlock(_component_BaseButton, {\n key: 0,\n variant: 'new-secondary',\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\n\t\t\t\t\t_ctx.store.setTab('common');\n\t\t\t\t\t_ctx.store.setHasSearch(false);\n\t\t\t\t})\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_BaseButton, {\n key: 1,\n variant: 'new-secondary',\n onClick: _cache[1] || (_cache[1] = ($event: any) => {\n\t\t\t\t\t_ctx.store.setTab('common');\n\t\t\t\t\t_ctx.store.setHasSearch(false);\n\t\t\t\t})\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"OK\")\n ]),\n _: 1\n })),\n _createVNode(_component_BaseButton, {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.store.importList('common', _ctx.store.participants)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Importar\")\n ]),\n _: 1\n })\n ])\n ]))\n}","\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport * as Excel from \"exceljs\";\nimport { saveAs } from \"file-saver\";\nimport { defineComponent, onMounted, ref } from \"vue\";\n\nexport default defineComponent({\n\tname: \"ExportParticipant\",\n\tcomponents: {\n\t\tTable,\n\t\tBaseButton,\n\t},\n\tsetup() {\n\t\tconst miniSpinner = ref(false);\n\t\tconst store = useStoreParticipantAdmin();\n\n\t\tonMounted(() => {});\n\n\t\tconst columns = [\n\t\t\t{\n\t\t\t\ttitle: \"Rede\",\n\t\t\t\tvalue: \"company\",\n\t\t\t\tid: 1,\n\t\t\t\tsort: false,\n\t\t\t\twidth: \"8%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Nome\",\n\t\t\t\tvalue: \"name\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"10%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Nome da Credencial\",\n\t\t\t\tvalue: \"credentialName\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 3,\n\t\t\t\twidth: \"10%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Tipo\",\n\t\t\t\tvalue: \"type\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"5%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"CPF\",\n\t\t\t\tvalue: \"cpf\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"10%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Matrícula\",\n\t\t\t\tvalue: \"register\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"10%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Email\",\n\t\t\t\tvalue: \"email\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"10%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Cargo\",\n\t\t\t\tvalue: \"position\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"7%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Empresa Convidada\",\n\t\t\t\tvalue: \"guest_company\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"7%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Tipo de cargo\",\n\t\t\t\tvalue: \"position_type\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"10%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Classificação\",\n\t\t\t\tvalue: \"classification\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"5%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Motivo\",\n\t\t\t\tvalue: \"error\",\n\t\t\t\tsort: false,\n\t\t\t\tid: 2,\n\t\t\t\twidth: \"5%\",\n\t\t\t},\n\t\t];\n\t\treturn {\n\t\t\tstore,\n\t\t\tTable,\n\t\t\tcolumns,\n\t\t\tminiSpinner,\n\t\t};\n\t},\n});\n","import { render } from \"./index.vue?vue&type=template&id=538c9051&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=538c9051&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-538c9051\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"0px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_2 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_IcSearch = _resolveComponent(\"IcSearch\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _ctx.store.search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (_ctx.search($event.target.value)))\n }, null, 8, [\"value\"]),\n (_ctx.miniSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2))\n : (_openBlock(), _createBlock(_component_IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_ctx.store && _ctx.store.speaker)\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 0,\n columns: _ctx.columns,\n overflowX: \"hidden\",\n rows: _ctx.store.speaker,\n tableActions: _ctx.tableActions,\n onOnsort: _cache[1] || (_cache[1] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_ctx.getSpeaker(\n\t\t\t\t\t\t_ctx.store.setSpeaker,\n\t\t\t\t\t\t_ctx.store.search,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t_ctx.store.setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column === 'companyName' ? 'company' : column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"columns\", \"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport IcCheckVue from \"../../../../../components/icons/IcCheck.vue\";\nimport IcEditVue from \"../../../../../components/icons/IcEdit.vue\";\nimport IcMessageVue from \"../../../../../components/icons/IcMessage.vue\";\nimport IcSearch from \"../../../../../components/icons/IcSearch.vue\";\nimport IcTrashVue from \"../../../../../components/icons/IcTrash.vue\";\nimport { debounce } from \"../../../../../helpers/debounce\";\nimport { getSpeaker } from \"../../service\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\nimport { urlOldApi } from \"@/helpers\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { defineComponent, onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\nexport default defineComponent({\n\tname: \"Speaker\",\n\tcomponents: {\n\t\tTable,\n\t\tBaseInput,\n\t\tIcSearch,\n\t\tIcCheckVue,\n\t},\n\tsetup() {\n\t\tconst miniSpinner = ref(false);\n\t\tconst store = useStoreParticipantAdmin();\n\t\tconst toast = useToast();\n\t\tconst { getStoreToken } = eventStore;\n\t\tconst search = (value: string) => {\n\t\t\tstore.setSearch(value);\n\t\t\tconst TRHEE_SECONDS = 1 * 1000;\n\t\t\tminiSpinner.value = true;\n\t\t\tdebounce(() => {\n\t\t\t\tstore.setSpinner(true);\n\t\t\t\tminiSpinner.value = false;\n\n\t\t\t\tgetSpeaker(store.setSpeaker, store.search, () => {\n\t\t\t\t\tstore.setSpinner(false);\n\t\t\t\t});\n\t\t\t}, TRHEE_SECONDS);\n\t\t};\n\n\t\tconst columns = [\n\t\t\t{\n\t\t\t\ttitle: \"Nome\",\n\t\t\t\tvalue: \"name\",\n\t\t\t\tid: 1,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"20%\",\n\t\t\t\tdoubleText: {\n\t\t\t\t\tbold: \"name\",\n\t\t\t\t\ttext: \"cpfFormat\",\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Nome Credencial\",\n\t\t\t\tvalue: \"credential_name\",\n\t\t\t\tid: 1,\n\t\t\t\tsort: false,\n\t\t\t\twidth: \"20%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Empresa\",\n\t\t\t\tvalue: \"companyName\",\n\t\t\t\tid: 1,\n\t\t\t\tsort: false,\n\t\t\t\twidth: \"20%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Email Comercial\",\n\t\t\t\tvalue: \"enterprise_mail\",\n\t\t\t\tid: 5,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"20%\",\n\t\t\t},\n\t\t];\n\n\t\tconst tableActions = [\n\t\t\t{\n\t\t\t\ticon: IcEditVue,\n\t\t\t\ttitle: \"Editar\",\n\t\t\t\tonClick: (row: any) => {\n\t\t\t\t\tstore.setHasSearch(true);\n\t\t\t\t\tstore.setTab(\"form\");\n\t\t\t\t\tstore.setParticipantToUpdate(row);\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: IcMessageVue,\n\t\t\t\ttitle: \"Enviar Convite\",\n\t\t\t\tonClick: (row: any) => {\n\t\t\t\t\tstore.sendInvite(row);\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: IcTrashVue,\n\t\t\t\ttitle: \"Excluir\",\n\t\t\t\tonClick: (row: any) => {\n\t\t\t\t\tstore.showConfirmDeleteOne(row.id, true);\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: IcDownload,\n\t\t\t\ttitle: \"Download Voucher\",\n\t\t\t\tonClick: (row: any) => {\n\t\t\t\t\tif (!row.airTravel || !row.room) {\n\t\t\t\t\t\ttoast.error(\"Palestrante ainda não tem voucher disponível\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tdownloadVoucherSpeaker(row.id);\n\t\t\t\t\ttoast.success(\"Download do Voucher feito com sucesso!\");\n\t\t\t\t},\n\t\t\t},\n\t\t];\n\n\t\tconst downloadVoucherSpeaker = async (speakerId: string) => {\n\t\t\tconst url = `/admin/participant/voucher/${speakerId}`;\n\t\t\tlet responseFetch: any = undefined;\n\t\t\tawait fetch(urlOldApi + url, {\n\t\t\t\tmethod: \"POST\",\n\t\t\t\theaders: {\n\t\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\t\tAuthorization: `Bearer ${getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t\t.then((response) => {\n\t\t\t\t\tresponseFetch = response;\n\t\t\t\t\treturn response.blob();\n\t\t\t\t})\n\t\t\t\t.then((blob) => URL.createObjectURL(blob))\n\t\t\t\t.then((url) => {\n\t\t\t\t\twindow.open(url, \"_blank\");\n\t\t\t\t\tURL.revokeObjectURL(url);\n\t\t\t\t});\n\t\t\tif (!responseFetch?.ok) toast.error(\"Erro ao abrir o voucher\");\n\t\t};\n\t\tonMounted(() => {\n\t\t\tstore.setSpinner(true);\n\t\t\tgetSpeaker(store.setSpeaker, store.search, () => {\n\t\t\t\tstore.setSpinner(false);\n\t\t\t});\n\t\t});\n\t\treturn {\n\t\t\tstore,\n\t\t\tsearch,\n\t\t\tIcSearch,\n\t\t\tTable,\n\t\t\tBaseInput,\n\t\t\tcolumns,\n\t\t\tminiSpinner,\n\t\t\tgetSpeaker,\n\t\t\ttableActions,\n\t\t};\n\t},\n});\n","import { render } from \"./index.vue?vue&type=template&id=4980759f&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7a037c16\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"0px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_2 = {\n key: 0,\n class: \"mini_spinner\"\n}\nconst _hoisted_3 = { class: \"nav-pagination\" }\nconst _hoisted_4 = { class: \"qtd-row\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Quantidade de linha:\", -1))\nconst _hoisted_6 = { class: \"skip-button\" }\n\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport Table from \"../../../../../components/Organism/Table/table.vue\";\nimport IcEditVue from \"../../../../../components/icons/IcEdit.vue\";\nimport IcMessageVue from \"../../../../../components/icons/IcMessage.vue\";\nimport IcSearch from \"../../../../../components/icons/IcSearch.vue\";\nimport IcTrashVue from \"../../../../../components/icons/IcTrash.vue\";\nimport { debounce } from \"../../../../../helpers/debounce\";\nimport { newGetParticipant, newGetStaff } from \"../../service\";\nimport { useStoreParticipantAdmin } from \"../../store\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport IcArrowPageLeft from \"@/components/icons/IcArrowPageLeft.vue\";\nimport IcArrowPageRight from \"@/components/icons/IcArrowPageRight.vue\";\nimport { defineComponent, onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst miniSpinner = ref(false);\nconst store = useStoreParticipantAdmin();\nconst toast = useToast();\n\nonMounted(() => {\n\tstore.setSpinner(true);\n\tnewGetStaff(\n\t\tstore.setStaff,\n\t\tstore.search,\n\t\t() => {\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t\tstore.staffPages.page,\n\t\tstore.staffPages.size,\n\t\t{ order: \"name\", direction: \"asc\" }\n\t);\n});\nconst search = (value: string) => {\n\tstore.setSearch(value);\n\tconst TRHEE_SECONDS = 1 * 1000;\n\tminiSpinner.value = true;\n\tdebounce(() => {\n\t\tstore.setSpinner(true);\n\t\tminiSpinner.value = false;\n\n\t\tnewGetStaff(\n\t\t\tstore.setStaff,\n\t\t\tstore.search,\n\t\t\t() => {\n\t\t\t\tstore.setSpinner(false);\n\t\t\t},\n\t\t\tstore.staffPages.page,\n\t\t\tstore.staffPages.size,\n\t\t\t{ order: \"name\", direction: \"asc\" }\n\t\t);\n\t}, TRHEE_SECONDS);\n};\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t\tdoubleText: {\n\t\t\tbold: \"name\",\n\t\t\ttext: \"cpfFormat\",\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Empresa\",\n\t\tvalue: \"company_name\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Email Comercial\",\n\t\tvalue: \"enterprise_mail\",\n\t\tid: 5,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t},\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcEditVue,\n\t\ttitle: \"Editar\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setHasSearch(true);\n\t\t\tstore.setTab(\"form\");\n\t\t\tstore.setParticipantToUpdateDetails(row.id);\n\t\t},\n\t},\n\t{\n\t\ticon: IcMessageVue,\n\t\ttitle: \"Enviar Convite\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.sendInvite(row);\n\t\t},\n\t},\n\t{\n\t\ticon: IcTrashVue,\n\t\ttitle: \"Excluir\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.showConfirmDeleteOne(row.id, true);\n\t\t},\n\t},\n];\n\nconst errorPrev = ref(false);\nconst errorNext = ref(false);\n\nfunction prevPage() {\n\tif (store.staffPages.page < 1) {\n\t\terrorPrev.value = true;\n\t\treturn;\n\t}\n\terrorPrev.value = false;\n\tstore.staffPages.page -= 1;\n\tnewGetStaff(\n\t\tstore.setStaff,\n\t\tstore.search,\n\t\t() => {\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t\tstore.staffPages.page,\n\t\tstore.staffPages.size,\n\t\t{ order: store.order, direction: store.direction }\n\t);\n}\n\nfunction nextPage() {\n\tif (store.staffPages.page + 1 >= store.totalStaffPageCalc) {\n\t\terrorNext.value = true;\n\t\treturn;\n\t}\n\terrorNext.value = false;\n\tstore.staffPages.page += 1;\n\tnewGetStaff(\n\t\tstore.setStaff,\n\t\tstore.search,\n\t\t() => {\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t\tstore.staffPages.page,\n\t\tstore.staffPages.size,\n\t\t{ order: store.order, direction: store.direction }\n\t);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _unref(store).search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (search($event.target.value)))\n }, null, 8, [\"value\"]),\n (miniSpinner.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(store) && _unref(store).staff)\n ? (_openBlock(), _createBlock(Table, {\n key: 0,\n style: {\"overflow-x\":\"hidden\",\"max-height\":\"50vh\",\"min-height\":\"50vh\"},\n columns: columns,\n overflowX: \"hidden\",\n rows: _unref(store).staff.data,\n tableActions: tableActions,\n onOnsort: _cache[1] || (_cache[1] = (column, direction) => {\n\t\t\t\t\t_unref(store).setOrder(column === 'company_name' ? 'company.name' : column);\n\t\t\t\t\t_unref(store).setDirection(direction);\n\t\t\t\t\t_unref(newGetStaff)(\n\t\t\t\t\t\t_unref(store).setStaff,\n\t\t\t\t\t\t_unref(store).search,\n\t\t\t\t\t\t() => { },\n\t\t\t\t\t\t_unref(store).staffPages.page,\n\t\t\t\t\t\t_unref(store).staffPages.size,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column === 'company_name' ? 'company.name' : column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(BaseSelect, {\n style: {\"width\":\"25%\"},\n label: \"\",\n options: [\n\t\t\t\t\t{ id: 10, title: '10' },\n\t\t\t\t\t{ id: 50, title: '50' },\n\t\t\t\t\t{ id: 100, title: '100' },\n\t\t\t\t\t{ id: 150, title: '150' },\n\t\t\t\t],\n keys: {\n\tkeyValue: 'id',\n\tkeyLabel: 'title',\n},\n value: _unref(store).staffPages.size,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t_unref(newGetParticipant)(\n\t\t_unref(store).setCommons,\n\t\t_unref(store).search,\n\t\t_unref(store).status,\n\t\t() => { },\n\t\t_unref(store).staffPages.page,\n\t\t(_unref(store).staffPages.size = $event.target.value),\n\t\t{ order: 'name', direction: 'asc' }\n\t)\n\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(IcArrowPageLeft, {\n onClick: prevPage,\n class: _normalizeClass(errorPrev.value ? 'error' : 'success')\n }, null, 8, [\"class\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).staffPages.page + 1) + \" de \" + _toDisplayString(_unref(store).totalStaffPageCalc), 1),\n _createVNode(IcArrowPageRight, {\n onClick: nextPage,\n class: _normalizeClass(errorNext.value ? 'error' : 'success')\n }, null, 8, [\"class\"])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=7a037c16&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7a037c16\"]])\n\nexport default __exports__","\n\n\n\n\n","import script from \"./index.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3601d7b6&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3601d7b6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-211ed70e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/passagens-aereas?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=211ed70e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-211ed70e\"]])\n\nexport default __exports__","import { HttpAdapter } from \"@/helpers\";\nimport axios from \"axios\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast();\n\nexport const getPreRegistration = async (\n\tsetValue: any,\n\tcallback: () => void,\n\tid: string,\n\tsize: any,\n\tpage: any,\n\tsearchQuery: any,\n\tstatusQuery: any,\n\tsort?: { order: string; direction: \"ASC\" | \"DESC\" }\n): Promise => {\n\tconst list = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/pre-registration/event/${id}?size=${size}&page=${page}&search=${searchQuery}&status=${statusQuery}&order_by=${\n\t\t\tsort?.order\n\t\t}&order_type=${sort?.direction}`\n\t);\n\tif (list.status === 500) return;\n\tcallback();\n\tsetValue(list.data);\n};\n\nexport const getResumePreRegistration = async (\n\tsetValue: any,\n\tid: string,\n\tcallback: () => void\n): Promise => {\n\tconst resume = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/pre-registration/event/${id}/resume`\n\t);\n\tif (resume.status === 500) return;\n\tcallback();\n\tsetValue(resume.data);\n};\n\nexport const getCompany = async (setValue: any) => {\n\tconst companyName = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/company/names-and-ids`\n\t);\n\tsetValue(companyName.data);\n};\n\nexport const getPosition = async (setValue: any) => {\n\tconst positionName = await axios.get(`${HttpAdapter.getUrl()}/position-type`);\n\tsetValue(positionName.data);\n};\n\nexport const updatePreRegistration = async (data: any) => {\n\ttry {\n\t\tconst update = await axios.put(\n\t\t\t`${HttpAdapter.getUrl()}/pre-registration/${data.id}`,\n\t\t\tdata\n\t\t);\n\t\ttoast.success(\"Inscrição atualizada com sucesso!\");\n\t\treturn update.data;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao atualizar os dados\");\n\t}\n};\n\nexport const deletePreRegistration = async (id: any, callback: () => void) => {\n\ttry {\n\t\tconst deleteRegister = await axios.delete(\n\t\t\t`${HttpAdapter.getUrl()}/pre-registration/${id}`\n\t\t);\n\t\ttoast.success(\"Inscrição excluída com sucesso!\");\n\t\treturn deleteRegister;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao excluir essa inscrição\");\n\t}\n\tcallback();\n};\n\nexport const updateStatusPreRegistration = async (\n\tdata: any,\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst statusData = await axios.patch(\n\t\t\t`${HttpAdapter.getUrl()}/pre-registration/status`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\n\t\treturn statusData;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao atualizar status da pré-inscrição\");\n\t}\n};\n\nexport const resendLinkPreRegistration = async (\n\tdata: any,\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst resendData = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/pre-registration/payment-link`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\t\treturn resendData;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao enviar novo link\");\n\t}\n};\n\nexport const manualPaymentPreRegistration = async (\n\tbody: { pre_registration_id: string; method: string; amount: number },\n\tcallback?: () => void\n) => {\n\ttry {\n\t\tconst manualPayment = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/admin/confirm-payment`,\n\t\t\tbody\n\t\t);\n\t\tif (callback) callback();\n\t\treturn manualPayment;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao executar a baixa manual do pagamento\");\n\t}\n};\n\nexport const updateCoupon = async (data: any, callback?: () => void) => {\n\ttry {\n\t\tconst statusData = await axios.patch(\n\t\t\t`${HttpAdapter.getUrl()}/pre-registration/coupon`,\n\t\t\tdata\n\t\t);\n\t\tif (callback) callback();\n\n\t\treturn statusData;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao atualizar status do lote\");\n\t}\n};\n","import { PreRegistrationData, PreRegistrationProps } from \"./interface\";\nimport { deletePreRegistration, getPreRegistration } from \"./service\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { defineStore } from \"pinia\";\n\nconst eventId = SessionStorage.get(\"event\");\n\n// const event = SessionStorage.get(\"event\");\nexport const useStorePreRegistrationAdmin = defineStore(\n\t\"useStorePreRegistrationAdmin\",\n\t{\n\t\tstate: () => ({\n\t\t\tregistration: {} as PreRegistrationProps,\n\t\t\tresume: {\n\t\t\t\tpaid_total: \"\",\n\t\t\t},\n\t\t\tsection: \"List\" as \"List\" | \"Form\",\n\t\t\tformData: {\n\t\t\t\tid: \"\",\n\t\t\t\tcpf: \"\",\n\t\t\t\tname: \"\",\n\t\t\t\tcompany: \"\",\n\t\t\t\ttype_role: \"\",\n\t\t\t\tname_credential: \"\",\n\t\t\t\tdescription_role: \"\",\n\t\t\t\temail: \"\",\n\t\t\t\tphone: \"\",\n\t\t\t\tstatus: \"\",\n\t\t\t\tpayment_status: \"\",\n\t\t\t\tcoupon_id: \"\",\n\t\t\t\tforeign_document: false,\n\t\t\t},\n\t\t\tmanualPaymentData: {\n\t\t\t\tpre_registration_id: \"\",\n\t\t\t\tmethod: \"\",\n\t\t\t\tamount: 0,\n\t\t\t},\n\t\t\tcompanyOptions: { id: \"\", name: \"\" } as any,\n\t\t\tpositionOptions: {} as any,\n\t\t\tfilter: {\n\t\t\t\tsearch: \"\",\n\t\t\t\tstatus: \"\",\n\t\t\t},\n\t\t\tspinner: false,\n\t\t\tpages: {\n\t\t\t\tsize: \"10\" as \"10\" | \"15\" | \"25\",\n\t\t\t\tpage: 0,\n\t\t\t\ttotalItens: 0,\n\t\t\t},\n\t\t\tconfirmDeleteOneId: \"\",\n\t\t\tconfirmDeleteOne: false,\n\t\t\tactions: [] as any,\n\t\t\trenderList: true,\n\t\t\ttotalPageCalc: 0,\n\t\t\topenModal: false,\n\t\t\topenModalCoupon: false,\n\t\t\tpreRegistrationId: \"\",\n\t\t}),\n\n\t\tactions: {\n\t\t\tsetRegistration(list: PreRegistrationProps) {\n\t\t\t\tthis.registration = list;\n\t\t\t\tthis.registration.total = +list.total;\n\t\t\t\tthis.registration.data = list.data.map((item: any) => {\n\t\t\t\t\tif (this.actions.includes(item.id)) {\n\t\t\t\t\t\titem.checked = true;\n\t\t\t\t\t}\n\t\t\t\t\treturn item;\n\t\t\t\t});\n\t\t\t\tthis.totalPageCalc = Math.ceil(\n\t\t\t\t\tthis.registration.total / Number(this.pages.size)\n\t\t\t\t);\n\t\t\t},\n\t\t\tsetResume(info: any) {\n\t\t\t\tthis.resume = info;\n\t\t\t},\n\t\t\tsetPreRegistrationId(info: string) {\n\t\t\t\tthis.preRegistrationId = info;\n\t\t\t},\n\t\t\tsetMethod(method: \"credit card\" | \"pix\" | \"boleto\") {\n\t\t\t\tthis.manualPaymentData.method = method;\n\t\t\t},\n\t\t\tsetOpenModal(open: boolean) {\n\t\t\t\tthis.openModal = open;\n\t\t\t},\n\t\t\tsetOpenModalCoupon(open: boolean) {\n\t\t\t\tthis.openModalCoupon = open;\n\t\t\t},\n\t\t\tsetSection(section: \"List\" | \"Form\") {\n\t\t\t\tthis.section = section;\n\t\t\t},\n\t\t\tsetValueInPreRegistration(key?: string, value?: any) {\n\t\t\t\tif (!key) {\n\t\t\t\t\tthis.formData = this.formData as any;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t(this.formData as any)[key] = value;\n\t\t\t},\n\t\t\tsetPreRegistrationToUpdate(update: any | undefined) {\n\t\t\t\tthis.formData = update;\n\t\t\t},\n\t\t\tsetCompanyOptions(updateOptions: any) {\n\t\t\t\tthis.companyOptions = updateOptions;\n\t\t\t},\n\t\t\tsetValueInCompanyOptions(value: any) {\n\t\t\t\t(this.formData.company as any) = value;\n\t\t\t},\n\t\t\tsetPositionOptions(updateOptions: any) {\n\t\t\t\tthis.positionOptions = updateOptions;\n\t\t\t},\n\t\t\tsetValueInPositionOptions(value: any) {\n\t\t\t\t(this.formData.type_role as any) = value;\n\t\t\t},\n\t\t\tsetSearch(value: any) {\n\t\t\t\tthis.filter.search = value;\n\t\t\t},\n\t\t\tsetSpinner(spinner: boolean) {\n\t\t\t\tthis.spinner = spinner;\n\t\t\t},\n\t\t\tshowConfirmDeleteOne(id: string, confirm: boolean) {\n\t\t\t\tthis.confirmDeleteOneId = id;\n\t\t\t\tthis.confirmDeleteOne = confirm;\n\t\t\t},\n\t\t\tonConfirmDeleteOne() {\n\t\t\t\tdeletePreRegistration(this.confirmDeleteOneId, async () => {\n\t\t\t\t\tthis.showConfirmDeleteOne(\"\", false);\n\t\t\t\t\tawait getPreRegistration(\n\t\t\t\t\t\tthis.setRegistration,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\teventId.id,\n\t\t\t\t\t\tthis.pages.size,\n\t\t\t\t\t\tthis.pages.page,\n\t\t\t\t\t\tthis.filter.search,\n\t\t\t\t\t\tthis.filter.status,\n\t\t\t\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t},\n\t\t\tsetSelectFilter(value: any) {\n\t\t\t\tthis.filter.status = value;\n\t\t\t},\n\t\t\tsetActions(checked: any, value: boolean) {\n\t\t\t\tif (checked === \"all\") {\n\t\t\t\t\tthis.actions = [];\n\t\t\t\t\tvalue = true;\n\t\t\t\t\tthis.registration.data = this.registration.data.map((item: any) => {\n\t\t\t\t\t\titem.checked = true;\n\t\t\t\t\t\tthis.actions.push(item.id);\n\t\t\t\t\t\treturn item;\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (checked === \"clear\") {\n\t\t\t\t\t\tthis.actions = [];\n\t\t\t\t\t\tvalue = false;\n\t\t\t\t\t\tthis.registration.data = this.registration.data.map((item: any) => {\n\t\t\t\t\t\t\titem.checked = false;\n\t\t\t\t\t\t\treturn item;\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!value) {\n\t\t\t\t\t\t\tif (this.actions.includes(checked)) {\n\t\t\t\t\t\t\t\tconst index = this.actions.indexOf(checked);\n\t\t\t\t\t\t\t\tthis.actions.splice(index, 1);\n\t\t\t\t\t\t\t\tthis.registration.data = this.registration.data.map(\n\t\t\t\t\t\t\t\t\t(item: any) => {\n\t\t\t\t\t\t\t\t\t\tif (item.id === checked) {\n\t\t\t\t\t\t\t\t\t\t\titem.checked = false;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn item;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (value) {\n\t\t\t\t\t\t\t\tthis.actions.push(checked);\n\t\t\t\t\t\t\t\tthis.registration.data = this.registration.data.map(\n\t\t\t\t\t\t\t\t\t(item: any) => {\n\t\t\t\t\t\t\t\t\t\tif (item.id === checked) {\n\t\t\t\t\t\t\t\t\t\t\titem.checked = true;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn item;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t}\n);\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0af9fff8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { style: {\"width\":\"100%\"} }\nconst _hoisted_3 = { class: \"title\" }\nconst _hoisted_4 = { class: \"form-data\" }\nconst _hoisted_5 = { class: \"form-data-personal\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", { class: \"subtitle\" }, \"Dados pessoais\", -1))\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"width\":\"100%\"} }\nconst _hoisted_8 = { class: \"form-data-complement\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", { class: \"subtitle\" }, \"Dados complementares\", -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"w-full flex flex-col text-left\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { style: {\"margin-top\":\"2rem\",\"color\":\"var(--color-admin-primary)\",\"font-weight\":\"bold\"} }, \" Tem um cupom promocional? Aplique aqui! \", -1))\nconst _hoisted_12 = { style: {\"display\":\"flex\",\"align-items\":\"end\",\"justify-content\":\"space-between\",\"gap\":\"0.5rem\",\"text-align\":\"left\"} }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"text-align\":\"left\",\"font-weight\":\"bold\",\"color\":\"var(--color-gray)\",\"font-size\":\"12px\"} }, \"* Cupom não acumulativo\", -1))\nconst _hoisted_14 = { class: \"button-area\" }\n\nimport {\n\tgetPreRegistration,\n\tupdatePreRegistration,\n\tupdateStatusPreRegistration,\n} from \"../service\";\nimport { useStorePreRegistrationAdmin } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport axios from \"axios\";\nimport { reactive } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\n\ntype StatusTypes = {\n\t[key: string]: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\nconst store = useStorePreRegistrationAdmin();\nconst eventId = SessionStorage.get(\"event\");\nconst toast = useToast();\nconst couponData = reactive({\n\tcouponCode: \"\",\n\tamount_payment: \"0\",\n});\n\nasync function handleSubmit() {\n\tconst body = store.formData;\n\tconst cpfFromLogin = store.formData.cpf\n\t\t.replaceAll(\"-\", \"\")\n\t\t.replaceAll(\".\", \"\");\n\tif(!store.formData.foreign_document){\n\t\tconst cpfIsValid = validateCPF(cpfFromLogin);\n\t\tif (!cpfIsValid)\n\t\t\treturn toast.error(\"CPF inválido, favor verificar os dígitos informados\");\n\t}\n\tbody.cpf = cpfFromLogin;\n\tbody.phone = store.formData.phone\n\t\t.replaceAll(\"-\", \"\")\n\t\t.replaceAll(\"(\", \"\")\n\t\t.replaceAll(\")\", \"\")\n\t\t.replaceAll(\" \", \"\");\n\tconst event_id = eventId.id;\n\tconst dataForm = { ...body, event_id };\n\n\tconst res = await axios.post(`${HttpAdapter.getUrl()}/participant`, dataForm);\n\tif (res.status !== 200) return toast.error(\"Erro ao cadastrar inscrição\");\n\tgetPreRegistration(\n\t\tstore.setRegistration,\n\t\t() => {},\n\t\teventId.id,\n\t\tstore.pages.size,\n\t\tstore.pages.page,\n\t\t\"\",\n\t\t\"\",\n\t\t{\n\t\t\torder: \"name\",\n\t\t\tdirection: \"ASC\",\n\t\t}\n\t);\n\n\tstore.setSection(\"List\");\n}\n\nasync function handleUpdateSubmit() {\n\tconst body = store.formData;\n\tconst cpfFromLogin = store.formData.cpf\n\t\t.replaceAll(\"-\", \"\")\n\t\t.replaceAll(\".\", \"\");\n\tif(!store.formData.foreign_document){\n\t\tconst cpfIsValid = validateCPF(cpfFromLogin);\n\t\tif (!cpfIsValid)\n\t\t\treturn toast.error(\"CPF inválido, favor verificar os dígitos informados\");\n\n\t}\n\tbody.cpf = cpfFromLogin;\n\n\tbody.phone = store.formData.phone\n\t\t.replaceAll(\"-\", \"\")\n\t\t.replaceAll(\"(\", \"\")\n\t\t.replaceAll(\")\", \"\")\n\t\t.replaceAll(\" \", \"\");\n\tawait updateStatusPreRegistration(\n\t\t{ ids: [store.formData.id], status: store.formData.status },\n\t\t() => {\n\t\t\tstore.setSpinner(false);\n\t\t}\n\t);\n\tawait updatePreRegistration(store.formData);\n\tgetPreRegistration(\n\t\tstore.setRegistration,\n\t\t() => {},\n\t\teventId.id,\n\t\tstore.pages.size,\n\t\tstore.pages.page,\n\t\t\"\",\n\t\t\"\",\n\t\t{\n\t\t\torder: \"name\",\n\t\t\tdirection: \"ASC\",\n\t\t}\n\t);\n\n\tstore.setSection(\"List\");\n}\n\nasync function handleApplyCoupon() {\n\tlet url = `public/coupon/${couponData.couponCode}/redeem`;\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl,\n\t\told_url: true,\n\t});\n\tif (!response.ok) {\n\t\ttoast.error(data.message);\n\t\treturn;\n\t}\n\tcouponData.amount_payment = data.amount_payment;\n\tstore.formData.coupon_id = data.id;\n\ttoast.success(\"Cupom vinculado com sucesso!\");\n}\n\nconst STATUS: StatusTypes = {\n\texempt: \"ISENTO\",\n\tpending: \"PENDENTE\",\n\trejected: \"REJEITADO\",\n\tapproved: \"APROVADO\",\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", _hoisted_3, _toDisplayString(_unref(store).formData.id ? \"Editar dados\" : \"Cadastrar dados\"), 1)\n ]),\n _createElementVNode(\"form\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"label\", _hoisted_7, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(store).formData.foreign_document) = $event)),\n style: {\"margin-right\":\"10px\"}\n }, null, 512), [\n [_vModelCheckbox, _unref(store).formData.foreign_document]\n ]),\n _createTextVNode(\" Documento estrangeiro? \")\n ]),\n (!_unref(store).formData.foreign_document)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"cpf\",\n placeholder: \"Digite seu CPF\",\n label: \"CPF*:\",\n required: \"\",\n value: _unref(store).formData.cpf,\n onOnchange: _cache[1] || (_cache[1] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('cpf', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"])), [\n [vMask, ['###.###.###-##']]\n ])\n : (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"cpf\",\n placeholder: \"Digite o Documento\",\n label: \"Documento*:\",\n required: \"\",\n value: _unref(store).formData.cpf,\n onOnchange: _cache[2] || (_cache[2] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('cpf', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"])),\n _createVNode(BaseInput, {\n name: \"name\",\n placeholder: \"Digite seu nome\",\n label: \"Nome*:\",\n required: \"\",\n value: _unref(store).formData.name,\n onOnchange: _cache[3] || (_cache[3] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('name', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"credentialName\",\n placeholder: \"Nome da credencial\",\n label: \"Nome da Credencial*:\",\n required: \"\",\n minlength: 3,\n maxlength: 20,\n value: _unref(store).formData.name_credential,\n onOnchange: _cache[4] || (_cache[4] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('name_credential', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n title: \"Ex: email@exemplo\",\n name: \"email\",\n placeholder: \"Digite seu e-mail\",\n label: \"E-mail*:\",\n required: \"\",\n type: \"email\",\n value: _unref(store).formData.email,\n onOnchange: _cache[5] || (_cache[5] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('email', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"]),\n _withDirectives(_createVNode(BaseInput, {\n title: \"Ex: (DD) 9999-9999\",\n name: \"phone\",\n label: \"Digite seu telefone/celular*:\",\n placeholder: \"DDD + Número\",\n required: \"\",\n value: _unref(store).formData.phone,\n onOnchange: _cache[6] || (_cache[6] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('phone', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(BaseSelect, {\n label: \"Empresa*:\",\n options: _unref(store).companyOptions,\n keys: { keyLabel: 'name', keyValue: 'id' },\n required: true,\n name: \"company\",\n value: _unref(store).formData.company,\n onChange: _cache[7] || (_cache[7] = ($event: any) => (_unref(store).setValueInCompanyOptions($event.target.value)))\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseSelect, {\n label: \"Tipo de Cargo*: \",\n options: _unref(store).positionOptions.map((item) => {\n\t\t\t\t\t\treturn { \n\t\t\t\t\t\t\tid: item.id,\n\t\t\t\t\t\t\ttitle: item.name\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n keys: { keyValue: 'id', keyLabel: 'title' },\n required: \"\",\n name: \"type_role\",\n value: _unref(store).formData.type_role,\n onChange: _cache[8] || (_cache[8] = ($event: any) => (_unref(store).setValueInPositionOptions($event.target.value)))\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"description_role\",\n placeholder: \"Descreva seu cargo\",\n label: \"Descrição do Cargo*:\",\n required: \"\",\n value: _unref(store).formData.description_role,\n onOnchange: _cache[9] || (_cache[9] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('description_role', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"]),\n (_unref(store).formData.id)\n ? (_openBlock(), _createBlock(BaseSelect, {\n key: 0,\n label: \"Status da Inscrição\",\n name: \"status\",\n style: {\"width\":\"100%\"},\n options: [\n\t\t\t\t\t\t{ id: 'pending', title: 'Pendente' },\n\t\t\t\t\t\t{ id: 'approved', title: 'Aprovado' },\n\t\t\t\t\t\t{ id: 'rejected', title: 'Recusado' },\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 'exempt',\n\t\t\t\t\t\t\ttitle: 'Isento',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(store).formData.status,\n onChange: _cache[10] || (_cache[10] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInPreRegistration('status', event.target.value);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (!_unref(store).formData.id)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", null, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(BaseInput, {\n style: {\"max-width\":\"500px\"},\n label: \"Cupom\",\n placeholder: \"Digite o cupom\",\n value: couponData.couponCode,\n onChange: _cache[11] || (_cache[11] = (event) => {\n\t\tcouponData.couponCode = event.target.value;\n\t}\n\t\t)\n }, null, 8, [\"value\"]),\n _createVNode(BaseButton, {\n onClick: handleApplyCoupon,\n type: \"button\",\n variant: 'primary',\n disabled: !couponData.couponCode.length\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Aplicar\")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _hoisted_13\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(BaseButton, {\n type: \"button\",\n variant: 'new-secondary',\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_unref(store).setSection('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n (_unref(store).formData.id)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n type: \"submit\",\n variant: 'primary',\n onClick: handleUpdateSubmit\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Atualizar\")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n type: \"submit\",\n variant: 'primary',\n onClick: handleSubmit\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cadastrar\")\n ]),\n _: 1\n }))\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=0af9fff8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0af9fff8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1284dfbc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"h-20 rounded-t-lg bg-primaryAdmin flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Aplicar Cupom\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport {\n\tgetPreRegistration,\n\tmanualPaymentPreRegistration,\n\tupdateCoupon,\n} from \"../service\";\nimport { useStorePreRegistrationAdmin } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { reactive, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddCoupon',\n setup(__props) {\n\nconst eventId = SessionStorage.get(\"event\");\nconst store = useStorePreRegistrationAdmin();\nconst toast = useToast();\nconst spinner = ref(false);\nconst couponData = reactive({\n\tcouponCode: \"\",\n\tamount_payment: \"0\",\n});\nconst couponApplied = ref(false);\nconst applyCouponInRegister = reactive({\n\tcoupon_id: \"\",\n\tcoupon_value: 0,\n\tpre_registration_id: \"\",\n});\n\nfunction closeModal() {\n\tstore.setOpenModalCoupon(false);\n}\n\nasync function handleApplyCoupon() {\n\tlet url = `public/coupon/${couponData.couponCode}/redeem`;\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl,\n\t\told_url: true,\n\t});\n\tif (!response.ok) {\n\t\ttoast.error(data.message);\n\t\treturn;\n\t}\n\tcouponApplied.value = true;\n\tapplyCouponInRegister.pre_registration_id = store.preRegistrationId;\n\tapplyCouponInRegister.coupon_value = Number(data.amount_payment);\n\tapplyCouponInRegister.coupon_id = data.id;\n\ttoast.success(\"Cupom vinculado com sucesso!\");\n}\n\nasync function handleAddCoupon() {\n\tif (!couponData.couponCode.length) {\n\t\treturn toast.error(\"Adicione um cupom e aplique\");\n\t}\n\tawait updateCoupon(applyCouponInRegister, () => {\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t\ttoast.success(\"Cupom aplicado com sucesso!\");\n\t\tcloseModal();\n\t});\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n onClick: closeModal,\n class: \"cursor-pointer\"\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleAddCoupon, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseInput, {\n label: \"Cupom\",\n placeholder: \"Digite o cupom\",\n value: couponData.couponCode,\n onChange: _cache[0] || (_cache[0] = (event) => {\n\t\tcouponData.couponCode = event.target.value;\n\t}\n\t\t)\n }, null, 8, [\"value\"]),\n _createVNode(BaseButton, {\n onClick: handleApplyCoupon,\n type: \"button\",\n variant: 'primary',\n disabled: !couponData.couponCode.length\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Aplicar\")\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n disabled: !couponApplied.value,\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddCoupon.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddCoupon.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddCoupon.vue?vue&type=style&index=0&id=1284dfbc&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1284dfbc\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-485da2e2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"h-20 rounded-t-lg bg-primaryAdmin flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Baixa manual do pagamento\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport { getPreRegistration, manualPaymentPreRegistration } from \"../service\";\nimport { useStorePreRegistrationAdmin } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalManualPayment',\n setup(__props) {\n\nconst eventId = SessionStorage.get(\"event\");\nconst store = useStorePreRegistrationAdmin();\nconst toast = useToast();\nconst spinner = ref(false);\n\nconst methodList = [\n\t{ value: \"credit card\", label: \"Cartão de Crédito\" },\n\t{ value: \"pix\", label: \"Pix\" },\n\t{ value: \"boleto\", label: \"Boleto\" },\n];\n\nfunction closeModal() {\n\tstore.manualPaymentData = {\n\t\tpre_registration_id: \"\",\n\t\tmethod: \"\",\n\t\tamount: 0,\n\t};\n\tstore.setOpenModal(false);\n}\n\nfunction handleManualPayment() {\n\tif (!store.manualPaymentData.method.length) {\n\t\treturn toast.error(\"Selecione primeiro o método de pagamento\");\n\t}\n\tconst bodyManualPayment = {\n\t\t...store.manualPaymentData,\n\t\tamount: Number(store.manualPaymentData.amount) * 100,\n\t};\n\tmanualPaymentPreRegistration(bodyManualPayment, () => {\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t\ttoast.success(\"Baixa manual do pagamento feita com sucesso!\");\n\t});\n\tcloseModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n onClick: closeModal,\n class: \"cursor-pointer\"\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleManualPayment, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseSelect, {\n keys: { keyLabel: 'label', keyValue: 'value' },\n options: methodList,\n value: _unref(store).manualPaymentData.method,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).setMethod($event.target.value))),\n label: \"Selecione o método de pagamento utilizado\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n disabled: !_unref(store).manualPaymentData.method,\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalManualPayment.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalManualPayment.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalManualPayment.vue?vue&type=style&index=0&id=485da2e2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-485da2e2\"]])\n\nexport default __exports__","\n","import { render } from \"./IcGift.vue?vue&type=template&id=4941acc3\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcHandUp.vue?vue&type=template&id=50684445\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4497d4ab\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"width\":\"100%\"} }\nconst _hoisted_2 = { class: \"paid-total\" }\nconst _hoisted_3 = { class: \"paid-total-value\" }\nconst _hoisted_4 = { class: \"nav-pagination\" }\nconst _hoisted_5 = { class: \"qtd-row\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Quantidade de linha:\", -1))\nconst _hoisted_7 = { class: \"skip-button\" }\n\nimport {\n\tgetPreRegistration,\n\tresendLinkPreRegistration,\n\tupdateStatusPreRegistration,\n} from \"../service\";\nimport { useStorePreRegistrationAdmin } from \"../store\";\nimport ModalAddCoupon from \"./ModalAddCoupon.vue\";\nimport ModalManualPayment from \"./ModalManualPayment.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcArrowPageLeft from \"@/components/icons/IcArrowPageLeft.vue\";\nimport IcArrowPageRight from \"@/components/icons/IcArrowPageRight.vue\";\nimport IcCheck from \"@/components/icons/IcCheck.vue\";\nimport IcClock from \"@/components/icons/IcClock.vue\";\nimport IcCoupon from \"@/components/icons/IcCoupon.vue\";\nimport IcCurrent from \"@/components/icons/IcCurrent.vue\";\nimport IcEdit from \"@/components/icons/IcEdit.vue\";\nimport IcFail from \"@/components/icons/IcFail.vue\";\nimport IcGift from \"@/components/icons/IcGift.vue\";\nimport IcHandUp from \"@/components/icons/IcHandUp.vue\";\nimport IcMessage from \"@/components/icons/IcMessage.vue\";\nimport IcTrash from \"@/components/icons/IcTrash.vue\";\nimport IcUserThree from \"@/components/icons/IcUserThree.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { computed, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStorePreRegistrationAdmin();\nconst eventId = SessionStorage.get(\"event\");\nconst toast = useToast();\n\nconst columns = [\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"id\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"3%\",\n\t\tcheck: true,\n\t\tcheckValue: \"checked\",\n\t\tchecked: (event: any, checked: boolean) => {\n\t\t\tstore.setActions(event, checked);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Lote\",\n\t\tvalue: \"ticket_batch_id\",\n\t\tid: 12,\n\t\tsort: false,\n\t\twidth: \"5%\",\n\t\ticon: {\n\t\t\tsuccess: IcUserThree,\n\t\t\tfail: IcFail,\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 2,\n\t\tsort: true,\n\t\twidth: \"17%\",\n\t\tdoubleText: {\n\t\t\tbold: \"name\",\n\t\t\ttext: \"cpfFormat\",\n\t\t},\n\t},\n\t{\n\t\ttitle: \"E-mail\",\n\t\tvalue: \"email\",\n\t\tid: 3,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Empresa e Cargo\",\n\t\tvalue: \"company_name\",\n\t\tid: 4,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t\tdoubleText: {\n\t\t\tbold: \"company_name\",\n\t\t\ttext: \"description_role\",\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Inscrição\",\n\t\tvalue: \"status\",\n\t\tid: 6,\n\t\tsort: false,\n\t\twidth: \"10%\",\n\t\ticonList: {\n\t\t\tapproved: {\n\t\t\t\ticon: IcCheck,\n\t\t\t\tdescription: \"Aprovado\",\n\t\t\t},\n\t\t\tpending: {\n\t\t\t\ticon: IcClock,\n\t\t\t\tdescription: \"Pendente\",\n\t\t\t},\n\t\t\trejected: {\n\t\t\t\ticon: IcX,\n\t\t\t\tdescription: \"Rejeitado\",\n\t\t\t},\n\t\t\texempt: {\n\t\t\t\ticon: IcHandUp,\n\t\t\t\tdescription: \"Isento\",\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Pagamento\",\n\t\tvalue: \"payment_status\",\n\t\tid: 7,\n\t\tsort: false,\n\t\twidth: \"10%\",\n\t\ticonList: {\n\t\t\tapproved: {\n\t\t\t\ticon: IcCheck,\n\t\t\t\tdescription: \"Aprovado\",\n\t\t\t},\n\t\t\tpending: {\n\t\t\t\ticon: IcClock,\n\t\t\t\tdescription: \"Pendente\",\n\t\t\t},\n\t\t\tpaid: {\n\t\t\t\ticon: IcCurrent,\n\t\t\t\tdescription: \"Pago\",\n\t\t\t},\n\t\t\tcourtesy: {\n\t\t\t\ticon: IcGift,\n\t\t\t\tdescription: \"Cortesia\",\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Valor da Inscrição\",\n\t\tvalue: \"computed_value\",\n\t\tid: 8,\n\t\tsort: false,\n\t\twidth: \"15%\",\n\t},\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcEdit,\n\t\ttitle: \"Editar\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setSection(\"Form\");\n\t\t\tstore.setPreRegistrationToUpdate(row);\n\t\t},\n\t},\n\t{\n\t\ticon: IcCurrent,\n\t\ttitle: \"Baixa manual do pagamento\",\n\t\tonClick: (row: any) => {\n\t\t\tif (row.payment_status !== \"pending\") {\n\t\t\t\treturn toast.error(\n\t\t\t\t\t\"Baixa manual apenas para inscrições com pagamento pendente\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (row.status !== \"approved\") {\n\t\t\t\treturn toast.error(\"Baixa manual apenas para inscrições aprovadas\");\n\t\t\t}\n\t\t\tstore.manualPaymentData.pre_registration_id = row.id;\n\t\t\tstore.manualPaymentData.amount = Number(\n\t\t\t\trow.computed_value?.replace(/[^\\d,]/g, \"\")?.replace(\",\", \".\")\n\t\t\t)?.toFixed(2) as any;\n\t\t\tstore.setOpenModal(true);\n\t\t},\n\t},\n\t{\n\t\ticon: IcCoupon,\n\t\ttitle: \"Adicionar Cupom\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setSpinner(true);\n\t\t\tstore.setPreRegistrationId(row.id);\n\t\t\tstore.setOpenModalCoupon(true);\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t},\n\t{\n\t\ticon: IcMessage,\n\t\ttitle: \"Reenviar link\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setSpinner(true);\n\t\t\tresendLinkPreRegistration({ ids: [row.id] }, async () => {\n\t\t\t\ttoast.success(\"Link reenviado!\");\n\t\t\t\tawait getPreRegistration(\n\t\t\t\t\tstore.setRegistration,\n\t\t\t\t\t() => {},\n\t\t\t\t\teventId.id,\n\t\t\t\t\tstore.pages.size,\n\t\t\t\t\tstore.pages.page,\n\t\t\t\t\tstore.filter.search,\n\t\t\t\t\tstore.filter.status,\n\t\t\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t\t\t);\n\t\t\t});\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t},\n\t{\n\t\ticon: IcCheck,\n\t\ttitle: \"Aprovar inscrição\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setSpinner(true);\n\t\t\tupdateStatusPreRegistration(\n\t\t\t\t{ ids: [row.id], status: \"approved\" },\n\t\t\t\tasync () => {\n\t\t\t\t\ttoast.success(\"Inscrição aprovada com sucesso!\");\n\t\t\t\t\tawait getPreRegistration(\n\t\t\t\t\t\tstore.setRegistration,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\teventId.id,\n\t\t\t\t\t\tstore.pages.size,\n\t\t\t\t\t\tstore.pages.page,\n\t\t\t\t\t\tstore.filter.search,\n\t\t\t\t\t\tstore.filter.status,\n\t\t\t\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t},\n\t{\n\t\ticon: IcX,\n\t\ttitle: \"Reprovar inscrição\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setSpinner(true);\n\t\t\tupdateStatusPreRegistration(\n\t\t\t\t{ ids: [row.id], status: \"rejected\" },\n\t\t\t\tasync () => {\n\t\t\t\t\ttoast.success(\"Inscrição rejeitada com sucesso!\");\n\t\t\t\t\tawait getPreRegistration(\n\t\t\t\t\t\tstore.setRegistration,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\teventId.id,\n\t\t\t\t\t\tstore.pages.size,\n\t\t\t\t\t\tstore.pages.page,\n\t\t\t\t\t\tstore.filter.search,\n\t\t\t\t\t\tstore.filter.status,\n\t\t\t\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t},\n\t{\n\t\ticon: IcHandUp,\n\t\ttitle: \"Isentar inscrição\",\n\t\tonClick: (row: any) => {\n\t\t\tstore.setSpinner(true);\n\t\t\tupdateStatusPreRegistration(\n\t\t\t\t{ ids: [row.id], status: \"exempt\" },\n\t\t\t\tasync () => {\n\t\t\t\t\ttoast.success(\"Inscrição isentada com sucesso!\");\n\t\t\t\t\tawait getPreRegistration(\n\t\t\t\t\t\tstore.setRegistration,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\teventId.id,\n\t\t\t\t\t\tstore.pages.size,\n\t\t\t\t\t\tstore.pages.page,\n\t\t\t\t\t\tstore.filter.search,\n\t\t\t\t\t\tstore.filter.status,\n\t\t\t\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t\tstore.setSpinner(false);\n\t\t},\n\t},\n\t{\n\t\ticon: IcTrash,\n\t\ttitle: \"Excluir\",\n\t\tonClick: (row: any) => {\n\t\t\tif (row.payment_status === \"paid\" || row.payment_status === \"courtesy\")\n\t\t\t\treturn toast.error(\"Não é possível excluir uma inscrição já paga!\");\n\t\t\tstore.showConfirmDeleteOne(row.id, row.id);\n\t\t},\n\t},\n];\n\nconst errorPrev = ref(false);\nconst errorNext = ref(false);\n\nfunction prevPage() {\n\tif (store.pages.page < 1 || store.actions.length) {\n\t\terrorPrev.value = true;\n\t\treturn;\n\t}\n\terrorPrev.value = false;\n\tstore.pages.page -= 1;\n\tgetPreRegistration(\n\t\tstore.setRegistration,\n\t\t() => {},\n\t\teventId.id,\n\t\tstore.pages.size,\n\t\tstore.pages.page,\n\t\tstore.filter.search,\n\t\tstore.filter.status,\n\t\t{ order: \"name\", direction: \"ASC\" }\n\t);\n}\nfunction nextPage() {\n\tif (store.pages.page + 1 >= store.totalPageCalc || store.actions.length) {\n\t\terrorNext.value = true;\n\t\treturn;\n\t}\n\terrorNext.value = false;\n\tstore.pages.page += 1;\n\tgetPreRegistration(\n\t\tstore.setRegistration,\n\t\t() => {},\n\t\teventId.id,\n\t\tstore.pages.size,\n\t\tstore.pages.page,\n\t\tstore.filter.search,\n\t\tstore.filter.status,\n\t\t{ order: \"name\", direction: \"ASC\" }\n\t);\n}\n\nconst preRegistrationListDTO = computed(() => {\n\treturn store?.registration?.data\n\t\t?.filter((item: any) => item?.cpf)\n\t\t?.map((item: any) => {\n\t\t\treturn {\n\t\t\t\tid: item?.id,\n\t\t\t\tticket_batch_id: item?.ticket_batch_id,\n\t\t\t\tcpf: item?.cpf,\n\t\t\t\tname: item?.name,\n\t\t\t\tcpfFormat:\n\t\t\t\t\titem?.cpf?.length > 10\n\t\t\t\t\t\t? item.cpf\n\t\t\t\t\t\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t\t\t\t\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\")\n\t\t\t\t\t\t: item?.cpf,\n\t\t\t\temail: item?.email,\n\t\t\t\tphone: item?.phone,\n\t\t\t\tcompany_name: item?.company_name,\n\t\t\t\tdescription_role: item?.description_role,\n\t\t\t\tstatus: item?.status,\n\t\t\t\tpayment_status: item?.payment_status,\n\t\t\t\tcomputed_value: Number(item?.computed_value).toLocaleString(\"pt-BR\", {\n\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t}),\n\t\t\t\tcompany: item?.company,\n\t\t\t\tname_credential: item?.name_credential,\n\t\t\t\ttype_role: item?.type_role,\n\t\t\t\ttype_role_name: item?.type_role_name,\n\t\t\t\tevent_id: item?.event_id,\n\t\t\t\tforeign_document: item?.foreign_document,\n\t\t\t\tticket_batch_id: item?.ticket_batch_id\n\t\t\t};\n\t\t});\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Table, {\n columns: columns,\n rows: _unref(preRegistrationListDTO),\n tableActions: tableActions,\n style: {\"max-height\":\"55vh\",\"min-height\":\"45vh\"},\n onOnsort: _cache[0] || (_cache[0] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_unref(getPreRegistration)(\n\t\t\t\t\t\t_unref(store).setRegistration,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t_unref(eventId).id,\n\t\t\t\t\t\t_unref(store).pages.size,\n\t\t\t\t\t\t_unref(store).pages.page,\n\t\t\t\t\t\t_unref(store).filter.search,\n\t\t\t\t\t\t_unref(store).filter.status,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"rows\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, \"Total de pré-inscrições pagas: \" + _toDisplayString(_unref(store)?.resume?.paid_total\n\t\t\t\t\t\t? Number(_unref(store)?.resume?.paid_total).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t })\n\t\t\t\t\t\t: 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(BaseSelect, {\n style: {\"width\":\"30%\"},\n label: \"\",\n options: [\n\t\t\t\t\t\t{ id: 10, title: '10' },\n\t\t\t\t\t\t{ id: 50, title: '50' },\n\t\t\t\t\t\t{ id: 100, title: '100' },\n\t\t\t\t\t\t{ id: 150, title: '150' },\n\t\t\t\t\t],\n keys: {\n\t\t\t\t\t\tkeyValue: 'id',\n\t\t\t\t\t\tkeyLabel: 'title',\n\t\t\t\t\t},\n value: _unref(store).pages.size,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t_unref(getPreRegistration)(\n\t\t\t\t\t\t\t_unref(store).setRegistration,\n\t\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t\t_unref(eventId).id,\n\t\t\t\t\t\t\t(_unref(store).pages.size = $event.target.value),\n\t\t\t\t\t\t\t_unref(store).pages.page,\n\t\t\t\t\t\t\t_unref(store).filter.search,\n\t\t\t\t\t\t\t_unref(store).filter.status,\n\t\t\t\t\t\t\t{ order: 'name', direction: 'ASC' }\n\t\t\t\t\t\t)\n\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(IcArrowPageLeft, {\n onClick: prevPage,\n class: _normalizeClass(errorPrev.value ? 'error' : 'success')\n }, null, 8, [\"class\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).pages.page + 1) + \" de \" + _toDisplayString(_unref(store).totalPageCalc), 1),\n _createVNode(IcArrowPageRight, {\n onClick: nextPage,\n class: _normalizeClass(errorNext.value ? 'error' : 'success')\n }, null, 8, [\"class\"])\n ])\n ])\n ]),\n (_unref(store).openModal)\n ? (_openBlock(), _createBlock(ModalManualPayment, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).openModalCoupon)\n ? (_openBlock(), _createBlock(ModalAddCoupon, { key: 1 }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=4497d4ab&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4497d4ab\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4d42476d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"width\":\"100%\",\"justify-content\":\"end\"}\n}\nconst _hoisted_2 = { class: \"container\" }\nconst _hoisted_3 = {\n key: 1,\n class: \"filter-area\"\n}\n\nimport MenuTable from \"../../../components/Organism/Table/menu.vue\";\nimport Form from \"./Form/index.vue\";\nimport List from \"./List/index.vue\";\nimport {\n\tgetCompany,\n\tgetPosition,\n\tgetPreRegistration,\n\tgetResumePreRegistration,\n\tresendLinkPreRegistration,\n\tupdateStatusPreRegistration,\n} from \"./service\";\nimport { useStorePreRegistrationAdmin } from \"./store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport IcCheck from \"@/components/icons/IcCheck.vue\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\nimport IcHandUp from \"@/components/icons/IcHandUp.vue\";\nimport IcMessage from \"@/components/icons/IcMessage.vue\";\nimport IcPreRegister from \"@/components/icons/IcPreRegister.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { urlOldApi } from \"@/helpers\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { onMounted } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { getStoreToken } = eventStore;\n\nconst store = useStorePreRegistrationAdmin();\nconst eventId = SessionStorage.get(\"event\");\nconst toast = useToast();\nconst adminToken = getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"]);\n\nfunction handleSearch(value: any) {\n\tstore.setSearch(value);\n\tsetTimeout(() => {\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t}, 2000);\n}\nconst tableActions = [\n\t{\n\t\ticon: IcDownload,\n\t\ttitle: \"Exportar Relatório\",\n\t\tonClick: () => {\n\t\t\texportReport(eventId.id);\n\t\t},\n\t},\n\t{\n\t\ticon: IcMessage,\n\t\ttitle: \"Reenviar link\",\n\t\tonClick: () => {\n\t\t\thandleResendLink();\n\t\t},\n\t},\n\t{\n\t\ticon: IcX,\n\t\ttitle: \"Reprovar inscrições\",\n\t\tonClick: () => {\n\t\t\thandleReproveRegistration();\n\t\t},\n\t},\n\t{\n\t\ticon: IcHandUp,\n\t\ttitle: \"Isentar inscrições\",\n\t\tonClick: () => {\n\t\t\thandleExemptRegistration();\n\t\t},\n\t},\n];\n\nfunction handleApproveRegistration() {\n\tconst data = {\n\t\tids: store.actions,\n\t\tstatus: \"approved\",\n\t};\n\tupdateStatusPreRegistration(data, () => {\n\t\ttoast.success(\"Status atualizado com sucesso!\");\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t\tstore.setSpinner(false);\n\t});\n}\n\nfunction handleRegisterNew() {\n\tstore.setSection(\"Form\");\n\tstore.setPreRegistrationToUpdate({});\n}\n\nfunction handleReproveRegistration() {\n\tconst data = {\n\t\tids: store.actions,\n\t\tstatus: \"rejected\",\n\t};\n\tupdateStatusPreRegistration(data, () => {\n\t\ttoast.success(\"Status atualizado com sucesso!\");\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t\tstore.setSpinner(false);\n\t});\n}\n\nfunction handleExemptRegistration() {\n\tconst data = {\n\t\tids: store.actions,\n\t\tstatus: \"exempt\",\n\t};\n\tupdateStatusPreRegistration(data, () => {\n\t\ttoast.success(\"Status atualizado com sucesso!\");\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t\tstore.setSpinner(false);\n\t});\n}\n\nfunction handleResendLink() {\n\tconst data = {\n\t\tids: store.actions,\n\t};\n\tresendLinkPreRegistration(data, () => {\n\t\ttoast.success(\"Link reenviado com sucesso!\");\n\t\tgetPreRegistration(\n\t\t\tstore.setRegistration,\n\t\t\t() => {},\n\t\t\teventId.id,\n\t\t\tstore.pages.size,\n\t\t\tstore.pages.page,\n\t\t\tstore.filter.search,\n\t\t\tstore.filter.status,\n\t\t\t{ order: \"name\", direction: \"ASC\" }\n\t\t);\n\t\tstore.setSpinner(false);\n\t});\n}\n\nasync function exportReport(eventId: any) {\n\tstore.setSpinner(true);\n\tconst url = urlOldApi;\n\tconst endpoint = `/admin/pre-registration/report?eventId=${eventId}`;\n\tconst response = await fetch(url + endpoint, {\n\t\tmethod: \"GET\",\n\t\theaders: {\n\t\t\tauthorization: `Bearer ${adminToken}`,\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t},\n\t});\n\n\tif (response.status === 404) {\n\t\ttoast.error(\n\t\t\t\"Nenhum pré-registro com pagamento perto a expirar encontrado.\"\n\t\t);\n\t\tstore.setSpinner(false);\n\t}\n\tif (response.ok) {\n\t\tconst csvData = await response.text();\n\n\t\tif (csvData) {\n\t\t\tconst processedCsvData = csvData\n\t\t\t\t.replace(/,/g, \";\")\n\t\t\t\t.replace(/(\\d+),(\\d+)/g, '\"$1$2\"');\n\n\t\t\tconst csvContent = \"data:text/csv;charset=utf-8,\" + processedCsvData;\n\t\t\tconst encodedUri = encodeURI(csvContent);\n\n\t\t\tconst link = document.createElement(\"a\");\n\t\t\tlink.href = encodedUri;\n\t\t\tlink.download = \"relatorio_pre_inscricoes.csv\";\n\t\t\tlink.click();\n\t\t\tstore.setSpinner(false);\n\t\t} else {\n\t\t\ttoast.error(\"Nenhum dado encontrado no relatório\");\n\t\t}\n\t} else {\n\t\tstore.setSpinner(false);\n\t\tthrow new Error(\"Falha ao baixar o arquivo CSV.\");\n\t}\n}\n\nonMounted(() => {\n\tgetPreRegistration(\n\t\tstore.setRegistration,\n\t\t() => {},\n\t\teventId.id,\n\t\tstore.pages.size,\n\t\tstore.pages.page,\n\t\tstore.filter.search,\n\t\tstore.filter.status,\n\t\t{ order: \"name\", direction: \"ASC\" }\n\t);\n\tgetResumePreRegistration(store.setResume, eventId.id, () => {});\n\tgetCompany(store.setCompanyOptions);\n\tgetPosition(store.setPositionOptions);\n});\n\nconst fetchPreRegistration = (status) => {\n\tif(status === 'pending'){\n\t\tstore.pages.size = 150;\n\t}\n\tgetPreRegistration(\n\t\tstore.setRegistration,\n\t\t() => {},\n\t\teventId.id,\n\t\tstore.pages.size,\n\t\tstore.pages.page,\n\t\tstore.filter.search,\n\t\tstore.filter.status = status,\n\t\t{ order: 'name', direction: 'ASC' }\n\t)\n\n}\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'List')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n class: \"gap-1\",\n onClick: handleRegisterNew\n }, {\n default: _withCtx(() => [\n _createVNode(IcPreRegister),\n _createTextVNode(\" Cadastrar pré-inscrição \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { onClick: handleApproveRegistration }, {\n default: _withCtx(() => [\n _createVNode(IcCheck),\n _createTextVNode(\" Aprovar inscrições \")\n ]),\n _: 1\n }),\n _createVNode(MenuTable, {\n handleActions: tableActions,\n user: {}\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n (_unref(store).confirmDeleteOne)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir essa\\n\\t\\tinscrição?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(store).onConfirmDeleteOne();\n\t\t\t\t\t_unref(getPreRegistration)(\n\t\t\t\t\t\t_unref(store).setRegistration,\n\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t_unref(eventId).id,\n\t\t\t\t\t\t_unref(store).pages.size,\n\t\t\t\t\t\t_unref(store).pages.page,\n\t\t\t\t\t\t_unref(store).filter.search,\n\t\t\t\t\t\t_unref(store).filter.status,\n\t\t\t\t\t\t{ order: 'name', direction: 'ASC' }\n\t\t\t\t\t);\n\t\t\t\t\t_unref(store).showConfirmDeleteOne('', false);\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(store).showConfirmDeleteOne('', false);\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'List')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(BaseInput, {\n name: \"search\",\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n style: {\"width\":\"70%\"},\n value: _unref(store).filter.search,\n onInput: _cache[2] || (_cache[2] = ($event: any) => (handleSearch($event.target.value)))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Status da Inscrição\",\n style: {\"width\":\"50%\"},\n options: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: '',\n\t\t\t\t\t\ttitle: 'Todos',\n\t\t\t\t\t},\n\t\t\t\t\t{ id: 'approved', title: 'Aprovado' },\n\t\t\t\t\t{ id: 'pending', title: 'Pendente' },\n\t\t\t\t\t{ id: 'rejected', title: 'Recusado' },\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 'exempt',\n\t\t\t\t\t\ttitle: 'Isento',\n\t\t\t\t\t},\n\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(store).filter.status,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (fetchPreRegistration($event.target.value)))\n }, null, 8, [\"value\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(store).section === 'List')\n ? (_openBlock(), _createBlock(List, { key: 2 }))\n : (_openBlock(), _createBlock(Form, { key: 3 }))\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=4d42476d&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4d42476d\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0d44cd43\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/prestadores?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=0d44cd43&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0d44cd43\"]])\n\nexport default __exports__","import { HttpAdapterCustomer, urlOldApi } from \"@/helpers\";\n\nexport const getQuestions = async (\n\tsetValue: any,\n\tcallback: () => void\n): Promise => {\n\tsetValue([]);\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/event/questions\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const getAnswers = async (\n\tsetValue: any,\n\tcallback: () => void,\n\tsort?: { order: string; direction: \"asc\" | \"desc\" }\n): Promise => {\n\tconst direction = sort?.direction ? sort.direction : \"asc\";\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/event/questions/answers\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\tcallback();\n\tsetValue(data);\n};\n\nexport const postOrder = async (\n\tvalue: any,\n\tcallback: () => void\n): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/event/questions/section/order\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(value),\n\t});\n\tif (!response.ok) return;\n\tcallback();\n};\n\nexport const postOrderQuestion = async (\n\tvalue: any,\n\tcallback: () => void\n): Promise => {\n\tconst { response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/event/questions/order\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(value),\n\t});\n\tif (!response.ok) return;\n\tcallback();\n};\n\nexport const postPublish = async (\n\tvalue: any,\n\tcallback: () => void\n): Promise => {\n\tconst { response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/event/questions/publish\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(value),\n\t});\n\tif (!response.ok) return;\n\tcallback();\n};\n\nexport const getPreviewToken = async () => {\n\tconst data = await HttpAdapterCustomer.get({\n\t\turl: \"admin/preview-token\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t})\n\tconsole.log('GET', data)\n}\n","import { AnswersProps, INewRow, IRow, NewQuestion, QuestionsProps } from \"./interface\";\nimport { getQuestions } from \"./service\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport moment from \"moment\";\nimport { defineStore } from \"pinia\";\nimport { useToast } from \"vue-toastification\";\n\nconst initialQuestion = {\n\tdescription: \"\",\n\trequired: false,\n\tsection_id: \"\",\n\ttype: \"text\" as \"text\" | \"multiple-choice\",\n\tmax_description: \"\",\n\tmin_description: \"\",\n\tid: \"\",\n};\n\nconst initialValue = {\n\tdescription: \"\",\n\tevent_id: \"\",\n\tid: \"\",\n\torder: 0,\n\tquestions: [] as QuestionsProps[],\n};\n\nconst getNewRows = (rows: IRow[]): INewRow[] => {\n\tconst newRows: INewRow[] = [];\n\n\trows.forEach((row) => {\n\t\tconst { section, ...question } = row.question;\n\t\tconst { id, description, order } = section;\n\n\t\tconst newQuestion: NewQuestion = {\n\t\t\t...question,\n\t\t\tanswer: row.answer,\n\t\t};\n\n\t\tconst newRow = newRows.find((row) => row.id === id);\n\n\t\tif (newRow) {\n\t\t\tnewRow.questions.push(newQuestion);\n\t\t} else {\n\t\t\tnewRows.push({\n\t\t\t\tid,\n\t\t\t\tsection_name: description,\n\t\t\t\torder,\n\t\t\t\tquestions: [newQuestion],\n\t\t\t});\n\t\t}\n\t});\n\n\treturn newRows;\n};\n\nexport const useStoreQuestions = defineStore(\"useStoreQuestions\", {\n\tstate: () => ({\n\t\taddSectionQuestion: \"\",\n\t\tquestions: [] as QuestionsProps[],\n\t\tanswers: [] as any,\n\t\ttab: \"Questions\" as \"Questions\" | \"Answer\",\n\t\ttype: \"text\" as \"text\" | \"multiple-choice\",\n\t\taddQuestion: { ...initialQuestion },\n\t\tsectionToUpdate: initialValue,\n\t\tanswerToView: [],\n\t\tconfirmDeleteOneId: \"\",\n\t\tconfirmDeleteOne: false,\n\t\tconfirmDeleteOneIdSection: \"\",\n\t\tconfirmDeleteOneSection: \"\",\n\t\tspinner: false,\n\t\topenModalSection: false,\n\t\tdirectionSection: \"up\" as \"up\" | \"down\",\n\t\tpublished: false,\n\t\trenderList: true,\n\t\topenModalAnswerList: false,\n\t}),\n\t\n\n\tgetters: {\n\t\tdescription: (state) => state.questions.map((item) => item.description),\n\t},\n\n\tactions: {\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tsetOpenModalSection(openModalSection: boolean) {\n\t\t\tthis.openModalSection = openModalSection;\n\t\t},\n\t\tsetOpenModalAnswerList(openModalAnswerList: boolean) {\n\t\t\tthis.openModalAnswerList = openModalAnswerList;\n\t\t},\n\t\tsetQuestions(questions: QuestionsProps[]) {\n\t\t\tthis.questions = questions.sort((a, b) => {\n\t\t\t\tif (a.order > b.order) return 1;\n\t\t\t\tif (a.order < b.order) return -1;\n\t\t\t\treturn 0;\n\t\t\t});\n\t\t},\n\t\tsetAnswers(answers: AnswersProps[]) {\n\t\t\tthis.answers = answers.map((item: any) => {\n\t\t\t\t\t\titem.cpf = item.cpf\n\t\t\t\t\t\t\t.replace(/\\D/g, \"\")\n\t\t\t\t\t\t\t.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3/$4\");\n\t\t\t\t\t\titem.company = item.company.name;\n\t\t\t\t\t\titem.answers = getNewRows(item.answers);\n\t\t\t\t\t\titem.update_at = moment(item.updated_at).format(\"DD/MM/YY HH:mm\");\n\n\t\t\t\treturn item\n\t\t\t});\n\t\t},\n\t\tsetTab(tab: \"Questions\" | \"Answer\") {\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetDescriptionSection(value: any) {\n\t\t\tthis.sectionToUpdate.description = value;\n\t\t},\n\t\tsetValueInAddQuestion(key?: string, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.addQuestion = initialQuestion as any;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t(this.addQuestion as any)[key] = value;\n\t\t},\n\t\tsetQuestionToUpdate(question: any | undefined) {\n\t\t\tthis.addQuestion = question;\n\t\t},\n\t\tsetSectionToUpdate(section: any | undefined) {\n\t\t\tif (!section) {\n\t\t\t\treturn (this.sectionToUpdate = initialValue);\n\t\t\t}\n\t\t\tconst newSection = {\n\t\t\t\t...initialValue,\n\t\t\t\tid: section,\n\t\t\t};\n\t\t\tthis.sectionToUpdate = newSection;\n\t\t},\n\t\tsetChangeOrder(order: any | undefined) {\n\t\t\tthis.sectionToUpdate.order = order ? order : initialValue;\n\t\t},\n\t\tshowConfirmDeleteOne(id: string, confirm: boolean) {\n\t\t\tthis.confirmDeleteOneId = id;\n\t\t\tthis.confirmDeleteOne = confirm;\n\t\t},\n\n\t\tonConfirmDeleteOne() {\n\t\t\tdeleteQuestion(this.confirmDeleteOneId, () => {\n\t\t\t\tthis.showConfirmDeleteOne(\"\", false);\n\t\t\t\tgetQuestions(this.setQuestions, () => {});\n\t\t\t});\n\t\t},\n\n\t\tshowConfirmDeleteOneSection(id: string, confirm: string) {\n\t\t\tthis.confirmDeleteOneIdSection = id;\n\t\t\tthis.confirmDeleteOneSection = confirm;\n\t\t},\n\n\t\tonConfirmDeleteOneSection() {\n\t\t\tdeleteSection(this.confirmDeleteOneIdSection, () => {\n\t\t\t\tthis.showConfirmDeleteOneSection(\"\", \"\");\n\t\t\t\tgetQuestions(this.setQuestions, () => {});\n\t\t\t});\n\t\t},\n\n\t\tsetRenderList() {\n\t\t\tthis.renderList = false;\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.renderList = true;\n\t\t\t}, 1);\n\t\t},\n\n\t\tsetPublish(publish: boolean) {\n\t\t\tthis.published = publish;\n\t\t},\n\n\t\tsetAnswerToView(answer: any) {\n\t\t\tthis.answerToView = answer;\n\t\t\tthis.answerToView = answer ? answer : [];\n\t\t},\n\t},\n});\n\nexport const deleteSection = async (id: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/event/questions/section/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst store = useStoreQuestions();\n\tconst toast = useToast();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao excluir uma seção\");\n\ttoast.success(\"Seção excluída com sucesso!\");\n\tgetQuestions(store.setQuestions, () => {});\n\tcallback();\n};\n\nexport const deleteQuestion = async (id: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/event/questions/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tconst store = useStoreQuestions();\n\tconst toast = useToast();\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao excluir uma pergunta\");\n\ttoast.success(\"Pergunta excluída com sucesso!\");\n\tgetQuestions(store.setQuestions, () => {});\n\tcallback();\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b3887b4a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"title-modal\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { class: \"button-modal\" }\n\nimport { getQuestions } from \"../service\";\nimport { useStoreQuestions } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { onUnmounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddSection',\n setup(__props) {\n\nconst store = useStoreQuestions();\nconst toast = useToast();\nconst spinner = ref(false);\n\nonUnmounted(() => {\n\tstore.setSectionToUpdate(undefined);\n});\n\nasync function handleAddNewSection() {\n\tstore.setSpinner(true);\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/event/questions/section\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify({\n\t\t\tdescription: store.sectionToUpdate.description,\n\t\t\tid: store.sectionToUpdate.id,\n\t\t}),\n\t});\n\tstore.setSpinner(false);\n\tif (!response.ok) {\n\t\treturn toast.error(data.message || \"Erro ao adicionar uma nova seção\");\n\t}\n\ttoast.success(\"Seção adicionada com sucesso\");\n\tcloseModal();\n\tstore.setTab(\"Questions\");\n\tgetQuestions(store.setQuestions, () => {\n\t\tstore.setSpinner(false);\n\t});\n}\n\nfunction closeModal() {\n\tstore.setSectionToUpdate(undefined);\n\tstore.setOpenModalSection(false);\n\tstore.setDescriptionSection(\"\");\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", null, _toDisplayString(_unref(store).sectionToUpdate.id ? \"Editar seção\" : \"Adicionar nova seção\"), 1),\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleAddNewSection, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseInput, {\n name: \"description\",\n label: \"Descrição\",\n placeholder: \"Adicionar nova seção\",\n value: _unref(store).sectionToUpdate.description,\n onOnchange: _cache[0] || (_cache[0] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setDescriptionSection(event);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseButton, {\n type: \"button\",\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" CANCELAR \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"SALVAR\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_3)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddSection.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddSection.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddSection.vue?vue&type=style&index=0&id=b3887b4a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-b3887b4a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, mergeProps as _mergeProps, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-58b58acb\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"input-group-box\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\"]\nconst _hoisted_4 = [\"selected\"]\nconst _hoisted_5 = [\"value\", \"selected\"]\n\n\n\ninterface IKeys {\n\tkeyValue: string;\n\tkeyLabel: string;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseSelect',\n props: {\n\tkeys: {\n\t\ttype: Object as () => IKeys,\n\t\trequired: true,\n\t},\n\tlabel: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tvalue: {\n\t\ttype: String,\n\t\trequired: true,\n\t\tdefault: \"\",\n\t},\n\toptions: {\n\t\ttype: Array as () => any[],\n\t\trequired: true,\n\t},\n},\n emits: [\"changeOption\"],\n setup(__props, { emit }) {\n\nconst props = __props\n\n\n\n\nconst onChange = (event: any) => {\n\temit(\"changeOption\", event);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (props.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n class: \"label-select\",\n for: props.label\n }, _toDisplayString(props.label), 9, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"select\", _mergeProps(_ctx.$attrs, {\n id: props.label,\n class: \"select\",\n onChange: onChange\n }), [\n _createElementVNode(\"option\", {\n value: -1,\n disabled: \"\",\n selected: props.value === '-1'\n }, \" Selecione \", 8, _hoisted_4),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.options, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: option[props.keys.keyValue],\n key: option[props.keys.keyValue],\n selected: option[props.keys.keyValue] === props.value\n }, _toDisplayString(option[props.keys.keyLabel]), 9, _hoisted_5))\n }), 128))\n ], 16, _hoisted_3)\n ]))\n}\n}\n\n})","import script from \"./BaseSelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BaseSelect.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BaseSelect.vue?vue&type=style&index=0&id=58b58acb&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-58b58acb\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-23ba2a66\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"title-modal\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { class: \"checkbox\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Pergunta obrigatória\", -1))\nconst _hoisted_7 = { class: \"button-modal\" }\n\nimport { getQuestions } from \"../service\";\nimport { useStoreQuestions } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport BaseSelect from \"@/views/Participant/components/BaseSelect.vue\";\nimport { ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\ninterface Props {\n\tcloseModal: () => void;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddQuestion',\n props: {\n closeModal: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tcloseModal: () => void;\n}\n\nconst store = useStoreQuestions();\nconst toast = useToast();\nconst spinner = ref(false);\n\n\nfunction closeModal() {\n\tstore.setValueInAddQuestion();\n\tprops.closeModal();\n}\n\nasync function addNewQuestion() {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/event/questions/\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(store.addQuestion),\n\t});\n\tif (!response.ok) {\n\t\treturn toast.error(data.message || \"Erro ao adicionar uma nova pergunta\");\n\t}\n\tgetQuestions(store.setQuestions, () => {\n\t\tcloseModal();\n\t});\n\ttoast.success(\"Pergunta adicionada com sucesso\");\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", null, _toDisplayString(_unref(store).addQuestion.id ? \"Editar pergunta\" : \"Adicionar nova pergunta\"), 1),\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(addNewQuestion, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(BaseInput, {\n name: \"description\",\n label: \"Descrição*\",\n placeholder: \"Descrição\",\n value: _unref(store).addQuestion.description,\n onOnchange: _cache[0] || (_cache[0] = \n\t\t\t\t\t(event) => {\n\t\t\t\t\t\t_unref(store).setValueInAddQuestion('description', event);\n\t\t\t\t\t}\n\t\t\t\t),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Tipo*\",\n options: [\n\t\t\t\t\t{ id: 'text', title: 'Texto' },\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 'multiple-choice',\n\t\t\t\t\t\ttitle: 'Múltipla escolha',\n\t\t\t\t\t},\n\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(store).addQuestion.type,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (_unref(store).setValueInAddQuestion('type', $event.target.value)))\n }, null, 8, [\"value\"]),\n (_unref(store).addQuestion.type === 'multiple-choice')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n label: \"Mínimo\",\n value: _unref(store).addQuestion.min_description,\n onOnchange: _cache[2] || (_cache[2] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInAddQuestion('min_description', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t),\n required: _unref(store).addQuestion.type === 'multiple-choice'\n }, null, 8, [\"value\", \"required\"]),\n _createVNode(BaseInput, {\n label: \"Máximo\",\n value: _unref(store).addQuestion.max_description,\n onOnchange: _cache[3] || (_cache[3] = \n\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t_unref(store).setValueInAddQuestion('max_description', event);\n\t\t\t\t\t\t}\n\t\t\t\t\t),\n required: _unref(store).addQuestion.type === 'multiple-choice'\n }, null, 8, [\"value\", \"required\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"required\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n label: \"\",\n checked: _unref(store).addQuestion.required,\n onChange: _cache[4] || (_cache[4] = \n\t\t\t\t\t\t(event) =>\n\t\t\t\t\t\t\t_unref(store).setValueInAddQuestion('required', event.target.checked)\n\t\t\t\t\t)\n }, null, 8, [\"checked\"]),\n _hoisted_6\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" CANCELAR \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"SALVAR\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_3)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddQuestion.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddQuestion.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddQuestion.vue?vue&type=style&index=0&id=23ba2a66&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-23ba2a66\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-cf470624\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"section\" }\nconst _hoisted_2 = { class: \"container\" }\nconst _hoisted_3 = { class: \"title-actions\" }\nconst _hoisted_4 = { class: \"arrows\" }\nconst _hoisted_5 = { class: \"row\" }\n\nimport { QuestionsProps } from \"../interface\";\nimport { postOrder, postOrderQuestion } from \"../service\";\nimport { useStoreQuestions } from \"../store\";\nimport ModalAddQuestion from \"./ModalAddQuestion.vue\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcArrowDownSort from \"@/components/icons/IcArrowDownSort.vue\";\nimport IcArrowUpSort from \"@/components/icons/IcArrowUpSort.vue\";\nimport IcEdit from \"@/components/icons/IcEdit.vue\";\nimport IcPencil from \"@/components/icons/IcPencil.vue\";\nimport IcTrash from \"@/components/icons/IcTrash.vue\";\nimport IcTrashNew from \"@/components/icons/IcTrashNew.vue\";\nimport { onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\ninterface Props {\n\tquestion?: QuestionsProps;\n}\n\ntype TypeTypes = {\n\t[key: string]: string;\n};\ntype RequiredTypes = {\n\t[key: string]: string;\n};\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Questions',\n props: {\n question: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tquestion?: QuestionsProps;\n}\n\nconst store = useStoreQuestions();\n\nconst openModalAddQuestion = ref(false);\nconst openModalEditSection = ref(false);\nconst toast = useToast();\nconst columns = [\n\t{\n\t\ttitle: \"#\",\n\t\tvalue: \"order\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"5%\",\n\t},\n\t{\n\t\ttitle: \"Conteúdo\",\n\t\tvalue: \"description\",\n\t\tid: 2,\n\t\tsort: false,\n\t\twidth: \"40%\",\n\t},\n\t{\n\t\ttitle: \"Tipo\",\n\t\tvalue: \"typeFormat\",\n\t\tid: 3,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Obrigatoriedade\",\n\t\tvalue: \"requiredFormat\",\n\t\tid: 4,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n];\nconst tableActions = [\n\t{\n\t\ttitle: \"Subir posição\",\n\t\ticon: IcArrowUpSort,\n\t\tonClick: (row: any) => {\n\t\t\tmoveQuestion(\"up\", row.id);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Editar\",\n\t\ticon: IcEdit,\n\t\tonClick: (row: any) => {\n\t\t\t(openModalAddQuestion.value = true), store.setQuestionToUpdate(row);\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Excluir\",\n\t\ticon: IcTrash,\n\t\tonClick: (row: any) => {\n\t\t\tstore.showConfirmDeleteOne(row.id, row.id);\n\t\t},\n\t},\n\n\t{\n\t\ttitle: \"Descer posição\",\n\t\ticon: IcArrowDownSort,\n\t\tonClick: (row: any) => {\n\t\t\tmoveQuestion(\"down\", row.id);\n\t\t},\n\t},\n];\n\nconst TYPE: TypeTypes = {\n\t\"multiple-choice\": \"Múltipla escolha\",\n\ttext: \"Texto\",\n};\nconst REQUIRED: RequiredTypes = {\n\ttrue: \"Sim\",\n\tfalse: \"Não\",\n};\n\nconst questionDTO = props.question?.questions.map((item: any) => {\n\treturn {\n\t\tid: item.id,\n\t\torder: item.order + 1,\n\t\tdescription: item.description,\n\t\ttype: item.type,\n\t\ttypeFormat: TYPE[item.type],\n\t\trequired: item.required,\n\t\trequiredFormat: REQUIRED[item.required],\n\t\tmax_description: item.max_description,\n\t\tmin_description: item.min_description,\n\t\tsection_id: item.section_id,\n\t};\n});\n\nfunction handleOpenModalEditSection() {\n\tstore.setOpenModalSection(true);\n\tstore.setDescriptionSection(props.question?.description);\n\tconst id = (store.addQuestion.section_id = props.question?.id || \"\");\n\tstore.setSectionToUpdate(id);\n\topenModalEditSection.value = true;\n}\n\nfunction handleOpenModalAddQuestion() {\n\tstore.addQuestion.section_id = props.question?.id || \"\";\n\topenModalAddQuestion.value = true;\n}\n\nasync function handleDeleteSection() {\n\tconst id = (store.addQuestion.section_id = props.question?.id || \"\");\n\tstore.showConfirmDeleteOneSection(id, id);\n}\n\nfunction closeModal() {\n\topenModalAddQuestion.value = false;\n}\n\nfunction moveSection(direction: string, id: any) {\n\tconst amount = direction === \"up\" ? -1 : 1;\n\n\tconst index = store.questions.findIndex((item) => item.id === id);\n\tstore.setSpinner(true);\n\tif (\n\t\t(index === 0 && direction === \"up\") ||\n\t\t(index + 1 === store.questions.length && direction === \"down\")\n\t) {\n\t\ttoast.error(\"Não é possível subir a seção\");\n\t\tstore.setSpinner(false);\n\t\treturn;\n\t}\n\tstore.questions[index].order += amount;\n\tstore.questions[index + amount].order -= amount;\n\n\tstore.questions.sort((a, b) => {\n\t\tif (a.order > b.order) return 1;\n\t\tif (a.order < b.order) return -1;\n\t\treturn 0;\n\t});\n\tstore.setRenderList();\n\tconst data = store.questions.map((item) => ({\n\t\tid: item.id,\n\t\torder: item.order,\n\t}));\n\tpostOrder(data, () => {\n\t\tstore.setSpinner(false);\n\t});\n}\n\nfunction moveQuestion(direction: any, id: any) {\n\tconst amount = direction === \"up\" ? -1 : 1;\n\tif (!props.question?.questions) return;\n\tstore.setSpinner(true);\n\tconst index = props.question?.questions.findIndex((item) => item.id === id);\n\n\tif (\n\t\t(index === 0 && direction === \"up\") ||\n\t\t(index + 1 === props.question.questions.length && direction === \"down\")\n\t) {\n\t\ttoast.error(\"Não é possível subir a pergunta\");\n\t\tstore.setSpinner(false);\n\t\treturn;\n\t}\n\n\tconst currentIndexQuestions = store.questions.findIndex(\n\t\t(item) => item.id === props.question?.id\n\t);\n\n\tconst newOrderSelected = (store.questions[currentIndexQuestions].questions[\n\t\tindex\n\t].order += amount);\n\tstore.questions[currentIndexQuestions].questions[index].order =\n\t\tnewOrderSelected;\n\tstore.questions[currentIndexQuestions].questions[index + amount].order -=\n\t\tamount;\n\n\tstore.questions[currentIndexQuestions].questions.sort((a, b) => {\n\t\tif (a.order > b.order) return 1;\n\t\tif (a.order < b.order) return -1;\n\t\treturn 0;\n\t});\n\n\tstore.setRenderList();\n\n\tconst data = store.questions[currentIndexQuestions].questions.map((item) => ({\n\t\tid: item.id,\n\t\torder: item.order,\n\t}));\n\n\tpostOrderQuestion(data, () => store.setSpinner(false));\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h3\", null, _toDisplayString(__props.question?.description.toLocaleUpperCase()), 1),\n _createElementVNode(\"span\", {\n title: \"Editar seção\",\n class: \"icon-button\",\n onClick: handleOpenModalEditSection\n }, [\n _createVNode(IcPencil)\n ]),\n _createElementVNode(\"span\", {\n title: \"Excluir seção\",\n class: \"icon-button\",\n onClick: handleDeleteSection\n }, [\n _createVNode(IcTrashNew)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(IcArrowUpSort, {\n style: {\"cursor\":\"pointer\"},\n onClick: _cache[0] || (_cache[0] = ($event: any) => (moveSection('up', __props.question?.id)))\n }),\n _createVNode(IcArrowDownSort, {\n style: {\"cursor\":\"pointer\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (moveSection('down', __props.question?.id)))\n })\n ])\n ]),\n _createVNode(Table, {\n columns: columns,\n overflow: \"hidden\",\n rows: _unref(questionDTO),\n tableActions: tableActions,\n style: {\"max-height\":\"47vh\"}\n }, null, 8, [\"rows\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n type: \"submit\",\n onClick: handleOpenModalAddQuestion\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"ADICIONAR PERGUNTA\")\n ]),\n _: 1\n })\n ]),\n (openModalAddQuestion.value)\n ? (_openBlock(), _createBlock(ModalAddQuestion, {\n key: 0,\n closeModal: closeModal\n }))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./Questions.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Questions.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Questions.vue?vue&type=style&index=0&id=cf470624&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-cf470624\"]])\n\nexport default __exports__","\n","import { render } from \"./IcCheckNotPublished.vue?vue&type=template&id=3c046c60\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcCheckPublished.vue?vue&type=template&id=aa13c898\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcPlus.vue?vue&type=template&id=917ec6ce\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6906f966\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"title-modal\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Respostas\", -1))\nconst _hoisted_4 = { class: \"body-modal\" }\nconst _hoisted_5 = { class: \"participant-info\" }\nconst _hoisted_6 = { class: \"divide-row\" }\nconst _hoisted_7 = { class: \"info\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Participante\", -1))\nconst _hoisted_9 = { class: \"info\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"CPF\", -1))\nconst _hoisted_11 = { class: \"divide-row\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Empresa\", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"E-mail\", -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Data da resposta\", -1))\nconst _hoisted_15 = { class: \"content-list\" }\nconst _hoisted_16 = { class: \"answer-list\" }\nconst _hoisted_17 = { class: \"row\" }\nconst _hoisted_18 = { class: \"button-modal\" }\n\nimport { AnswersProps } from \"../interface\";\nimport { useStoreQuestions } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { ref } from \"vue\";\n\ninterface Props {\n\trowSelected?: any;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalViewAnswer',\n props: {\n rowSelected: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\trowSelected?: any;\n}\n\n\nconst store = useStoreQuestions();\nconst spinner = ref(false);\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).setOpenModalAnswerList(false)))\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"span\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(store).setOpenModalAnswerList(false))),\n style: {\"cursor\":\"pointer\"}\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"p\", null, _toDisplayString(props.rowSelected?.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"p\", null, _toDisplayString(props.rowSelected?.cpf), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", null, [\n _hoisted_12,\n _createElementVNode(\"p\", null, _toDisplayString(props.rowSelected?.company), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_13,\n _createElementVNode(\"p\", null, _toDisplayString(props.rowSelected?.enterprise_mail), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_14,\n _createElementVNode(\"p\", null, _toDisplayString(props.rowSelected.update_at), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.rowSelected.answers.sort((a, b) => {\n\t\t\t\t\t\tif (a.order > b.order) return 1;\n\t\t\t\t\t\tif (a.order < b.order) return -1;\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}), (answer) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"h3\", null, _toDisplayString(answer.section_name), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(answer.questions.sort((a, b) => {\n\t\t\t\t\t\tif (a.order > b.order) return 1;\n\t\t\t\t\t\tif (a.order < b.order) return -1;\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}), (item) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"p\", null, _toDisplayString(item.description), 1),\n _createElementVNode(\"p\", null, _toDisplayString(item.answer), 1)\n ]))\n }), 256))\n ]))\n }), 256))\n ])\n ]),\n _createElementVNode(\"footer\", _hoisted_18, [\n _createVNode(BaseButton, {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(store).setOpenModalAnswerList(false))),\n variant: \"primary\",\n type: \"button\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Entendi\")\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalViewAnswer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalViewAnswer.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalViewAnswer.vue?vue&type=style&index=0&id=6906f966&scoped=true&lang=scss\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6906f966\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { AnswersProps, INewRow, IRow, NewQuestion } from \"../interface\";\nimport { getAnswers } from \"../service\";\nimport { useStoreQuestions } from \"../store\";\nimport ModalViewAnswer from \"./ModalViewAnswer.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcEye from \"@/components/icons/IcEye.vue\";\nimport moment from \"moment\";\nimport { computed, onMounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Answer',\n setup(__props) {\n\nconst store = useStoreQuestions();\nconst rowSelected = ref();\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t\tdoubleText: {\n\t\t\tbold: \"name\",\n\t\t\ttext: \"cpf\",\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Empresa\",\n\t\tvalue: \"company\",\n\t\tid: 2,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n\t{\n\t\ttitle: \"Email comercial\",\n\t\tvalue: \"enterprise_mail\",\n\t\tid: 3,\n\t\tsort: false,\n\t\twidth: \"25%\",\n\t},\n\t{\n\t\ttitle: \"Data\",\n\t\tvalue: \"update_at\",\n\t\tid: 4,\n\t\tsort: false,\n\t\twidth: \"20%\",\n\t},\n];\nconst tableActions = [\n\t{\n\t\ttitle: \"Ver respostas\",\n\t\ticon: IcEye,\n\t\tonClick: (row: any) => {\n\t\t\t(rowSelected.value = row), store.setOpenModalAnswerList(true);\n\t\t},\n\t},\n];\n\nfunction orderByColumn(column: any, direction: any) {\n\tstore.setAnswers(store.answers.sort((a: any,b: any) => {\n\t\t\t\t\t\t\tif(direction === 'asc'){\n\t\t\t\t\t\t\t\tif(a[column] > b[column])return 1;\n\t\t\t\t\t\t\t\tif(a[column] < b[column])return -1;\n\t\t\t\t\t\t\t\treturn 0\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif(a[column] < b[column])return 1;\n\t\t\t\t\t\t\t\tif(a[column] > b[column])return -1;\n\t\t\t\t\t\t\t\treturn 0\n\t\t\t\t\t\t\t}}))\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(Table, {\n columns: columns,\n overflow: \"hidden\",\n rows: _unref(store).answers,\n tableActions: tableActions,\n onOnsort: _cache[0] || (_cache[0] = \n\t\t\t(column, direction) => {\n\t\t\t\torderByColumn(column, direction)\n\t\t\t}\n\n\t\t)\n }, null, 8, [\"rows\"]),\n (_unref(store).openModalAnswerList)\n ? (_openBlock(), _createBlock(ModalViewAnswer, {\n key: 0,\n rowSelected: rowSelected.value\n }, null, 8, [\"rowSelected\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./Answer.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Answer.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Answer.vue?vue&type=style&index=0&id=4d3ff1b0&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4d3ff1b0\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6c6b298a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"button-area\" }\nconst _hoisted_2 = { class: \"actions-button\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"margin-top\":\"2px\"} }, \"PUBLICAR\", -1))\nconst _hoisted_4 = { class: \"container\" }\nconst _hoisted_5 = { class: \"tabs\" }\nconst _hoisted_6 = { key: 1 }\n\nimport ModalAddSection from \"./Tabs/ModalAddSection.vue\";\nimport QuestionsList from \"./Tabs/Questions.vue\";\nimport { getAnswers, getPreviewToken, getQuestions, postPublish } from \"./service\";\nimport { useStoreQuestions } from \"./store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport IcCheckNotPublished from \"@/components/icons/IcCheckNotPublished.vue\";\nimport IcCheckPublished from \"@/components/icons/IcCheckPublished.vue\";\nimport IcEye from \"@/components/icons/IcEye.vue\";\nimport IcPlus from \"@/components/icons/IcPlus.vue\";\nimport { TOKEN_TYPE, eventStore, getTokenSessionStorage } from \"@/store/event.store\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport AnswerList from \"@/views/Admin/Questionnaire/Tabs/Answer.vue\";\nimport { onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreQuestions();\nconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\n\nfunction openInput() {\n\tstore.setOpenModalSection(true);\n\tstore.tab = \"Questions\";\n}\n\nfunction handlePublishQuestionnaire() {\n\tstore.setPublish(!store.published);\n\tconst data = { publish: store.published };\n\tpostPublish(data, () => {\n\t\tconst event = SessionStorage.get(\"event\");\n\t\tevent.publish_question = store.published;\n\t\tSessionStorage.set(\"event\", event);\n\t});\n}\n\n// function handlePreviewQuestionnaire() {\n// \t// console.log(\"token\", token)\n// \tconst web = window.open(`#/certificate/`)\n// \tconsole.log('web', web)\n// \tgetPreviewToken().then(() => { web })\n// \t// \n// }\n\nonMounted(async () => {\n\tgetQuestions(store.setQuestions, () => { });\n\tgetAnswers(store.setAnswers, () => { });\n\tconst event = SessionStorage.get(\"event\");\n\tstore.setPublish(event.publish_question);\n\tstore.setSpinner(true);\n\tsetTimeout(() => {\n\t\tif (store.answers.length) {\n\t\t\tstore.setTab(\"Answer\");\n\t\t\tstore.setSpinner(false);\n\t\t} else store.setTab(\"Questions\");\n\t\tstore.setSpinner(false);\n\t}, 3000);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_unref(store).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).openModalSection)\n ? (_openBlock(), _createBlock(ModalAddSection, { key: 1 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseButton, {\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: openInput\n }, {\n default: _withCtx(() => [\n _createVNode(IcPlus, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" ADICIONAR SEÇÃO \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n onClick: handlePublishQuestionnaire,\n class: \"button-publish\"\n }, {\n default: _withCtx(() => [\n (_unref(store).published)\n ? (_openBlock(), _createBlock(IcCheckPublished, { key: 0 }))\n : (_openBlock(), _createBlock(IcCheckNotPublished, { key: 1 })),\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"} }, {\n default: _withCtx(() => [\n _createVNode(IcEye, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" VISUALIZAR \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", {\n ref: _unref(store).tab,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(store).tab = 'Answer')),\n class: _normalizeClass(_unref(store).tab === 'Answer' ? 'tab-selected' : ''),\n style: {\"cursor\":\"pointer\"}\n }, \" RESPOSTAS \", 2),\n _createElementVNode(\"div\", {\n ref: _unref(store).tab,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(store).tab = 'Questions')),\n class: _normalizeClass(_unref(store).tab === 'Questions' ? 'tab-selected' : ''),\n style: {\"cursor\":\"pointer\"}\n }, \" PERGUNTAS \", 2)\n ]),\n (_unref(store).tab === 'Answer')\n ? (_openBlock(), _createBlock(AnswerList, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(store).tab === 'Questions')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n (_unref(store).renderList)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_unref(store).questions, (question) => {\n return (_openBlock(), _createBlock(QuestionsList, { question: question }, null, 8, [\"question\"]))\n }), 256))\n : _createCommentVNode(\"\", true),\n (_unref(store).confirmDeleteOne)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 1,\n text: \"Deseja excluir essa pergunta?\",\n onConfirm: _cache[2] || (_cache[2] = () => {\n\t\t\t\t_unref(store).onConfirmDeleteOne();\n\t\t\t}\n\t\t\t\t),\n onCancel: _cache[3] || (_cache[3] = () => {\n\t\t_unref(store).showConfirmDeleteOne('', false);\n\t}\n\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(store).confirmDeleteOneSection)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 2,\n text: \"Deseja\\n\\t\\t\\texcluir essa seção?\",\n onConfirm: _cache[4] || (_cache[4] = () => {\n\t\t\t\t_unref(store).onConfirmDeleteOneSection();\n\t\t\t}\n\t\t\t\t),\n onCancel: _cache[5] || (_cache[5] = () => {\n\t\t_unref(store).showConfirmDeleteOneSection('', '');\n\t}\n\t\t)\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6c6b298a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6c6b298a\"]])\n\nexport default __exports__","import { reactive, ref } from 'vue';\nimport { useToast } from 'vue-toastification';\n\nimport { IActivity, IRawActivity } from './interface';\nimport { HttpAdapterCustomer } from '@/helpers/HttpAdapterCostumer';\n\nconst toast = useToast();\nconst store = {\n\tactivityToUpdateData: ref({} as IActivity),\n\tactivities: ref([]),\n\tactivitiesToShow: ref([]),\n\tsearch: ref(''),\n\tmodalOptions: ref(false),\n\tmodalSendDigitalTicket: ref(false),\n\tdateSearch: ref(''),\n\tdateToSearch: reactive([\n\t\t{\n\t\t\tvalue: '',\n\t\t\tid: '',\n\t\t},\n\t]),\n\tevent: ref({\n\t\tid: '',\n\t\tname: '',\n\t\tmarketing_activity_name: '',\n\t\tname_activity_premium: '',\n\t}),\n\tcompanies: ref<{ id: string; name: string }[]>([]),\n\t};\nlet timeout: any;\n\nexport function useStoreScheduleAdmin() {\n\tconst actions = {\n\t\tsetActivityToUpdateData: (data: IActivity) => {\n\t\t\tstore.activityToUpdateData.value = data;\n\t\t},\n\t\tsetSearch: (value: string) => {\n\t\t\tstore.search.value = value;\n\t\t\tmyDebounce(value);\n\t\t},\n\t\tsetModalOptions: (value: boolean) => {\n\t\t\tstore.modalOptions.value = value;\n\t\t},\n\t\tsetModalSendDigitalTicket: (value: boolean) => {\n\t\t\tstore.modalSendDigitalTicket.value = value;\n\t\t},\n\t\tsetDateSearch: (value: string) => {\n\t\t\tstore.dateSearch.value = value;\n\t\t},\n\t\tsetDateToSearch: (value: any) => {\n\t\t\tstore.dateToSearch.length = 0;\n\t\t\tstore.dateToSearch.push(...value);\n\t\t},\n\t\tsetEvent: (value: any, key?: any) => {\n\t\t\tif (key) return ((store.event as any)[key] = value);\n\t\t\tstore.event.value = value;\n\t\t},\n\t\tsetActivities: (value: any) => {\n\t\t\tstore.activities.value.length = 0;\n\t\t\tstore.activities.value.push(...value);\n\t\t},\n\n\t\tgetCompany: async () => {\n\t\t\tconst { response, data } = await HttpAdapterCustomer.get({\n\t\t\t\turl: 'admin/company',\n\t\t\t\told_url: true,\n\t\t\t\theaders_config: {\n\t\t\t\t\tAuthorization: 'admin_token',\n\t\t\t\t},\n\t\t\t});\n\t\t\tif (!response.ok) return toast.error(data.message || 'Erro ao buscar as empresas');\n\t\t\tstore.companies.value = data;\n\t\t},\n\t};\n\n\n\tconst getActivities = async (like = '') => {\n\t\tconst url = (() => {\n\t\t\tconst base = '?type=marketing_activity';\n\t\t\tconst search = like ? `&like=${like}` : '';\n\t\t\treturn `admin/activity${base}${search}`;\n\t\t})();\n\t\tconst { response, data } = await HttpAdapterCustomer.get({\n\t\t\turl,\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'admin_token',\n\t\t\t},\n\t\t});\n\t\tif (!response.ok) return;\n\t\tconst dataMapped = data.map((item): IActivity => {\n\t\t\treturn {\n\t\t\t\tid: item.id,\n\t\t\t\ttitle: item.title,\n\t\t\t\tdescription: item.description,\n\t\t\t\tstart_time: item.start_time,\n\t\t\t\tend_time: item.end_time,\n\t\t\t\tplace: item.place,\n\t\t\t\tdate: new Date(item.date).toISOString().split('T')[0],\n\t\t\t\tattendance_list: item.attendance_list,\n\t\t\t\thas_moderator: item.has_moderator,\n\t\t\t\tis_colored: item.is_colored,\n\t\t\t\tis_interval: item.is_interval,\n\t\t\t\ttype: item.type,\n\t\t\t\tlogo: item.logo,\n\t\t\t\tcompany_id: item.company_id,\n\t\t\t\trestricted_list: item.restricted_list,\n\t\t\t\tspeakers: item.speakers,\n\t\t\t};\n\t\t});\n\t\tconst { setActivities } = useStoreScheduleAdmin();\n\t\tsetActivities(dataMapped);\n\t\tactivitiesByDate();\n\t};\n\n\treturn { ...store, ...actions, getActivities, activitiesByDate };\n}\n\nconst activitiesByDate = () => {\n\tconst result = store.activities.value.filter((item) => item.date === store.dateSearch.value);\n\tstore.activitiesToShow.value.length = 0;\n\tstore.activitiesToShow.value = result;\n\treturn result;\n};\n\nconst executeFilter = async (valueToFilter: string) => {\n\tawait useStoreScheduleAdmin().getActivities(valueToFilter);\n};\n\nconst myDebounce = (valueToFilter: string) => {\n\tclearTimeout(timeout);\n\ttimeout = setTimeout(async () => await executeFilter(valueToFilter), 1000);\n};\n","export const removeMask = (text: string, maskChars: string): string => {\n\treturn text.replace(new RegExp(`[${maskChars}]`, \"g\"), \"\");\n};\n\nexport function maskCpf(cpf: string) {\n\tif (!cpf) return \"\";\n\treturn cpf.replace(/(\\d{3})(\\d{3})(\\d{3})(\\d{2})/g, \"$1.$2.$3-$4\");\n}\n\nexport function removeMaskCpf(cpf: string) {\n\tif (!cpf) return \"\";\n\treturn cpf.replace(/[^\\d]+/g, \"\");\n}\n\nexport function maskPhone(cpf: string) {\n\tif (!cpf) return \"\";\n\treturn cpf.replace(/(\\d{2})(\\d{5})(\\d{4})/g, \"($1) $2-$3\");\n}\n\nexport function removeMaskPhone(cpf: string) {\n\tif (!cpf) return \"\";\n\treturn cpf.replace(/[^\\d]+/g, \"\");\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5b1788bc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n class: \"modal\"\n}\nconst _hoisted_2 = { class: \"title-modal\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Confirmação\", -1))\nconst _hoisted_4 = { class: \"row-buttons\" }\n\nimport { onMounted, reactive, ref } from 'vue';\n\timport { mask } from 'vue-the-mask';\n\timport { useToast } from 'vue-toastification';\n\n\timport { useStoreScheduleAdmin } from './store-old';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport BaseInput from '@/components/Atoms/BaseInput.vue';\n\timport IcX from '@/components/icons/IcX.vue';\n\timport { HttpAdapterCustomer } from '@/helpers';\n\timport { removeMaskCpf } from '@/helpers/mask';\n\timport BaseSelect from '@/views/Participant/components/BaseSelect.vue';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PopUpSendDigitalTicket',\n setup(__props) {\n\n\tconst vMask = {\n\t\tbeforeMount: mask,\n\t};\n\n\tconst toast = useToast();\n\tconst { modalSendDigitalTicket, dateToSearch, event } = useStoreScheduleAdmin();\n\tconst { setModalSendDigitalTicket } = useStoreScheduleAdmin();\n\n\tconst sendMail = reactive({\n\t\tdate: '',\n\t\tcpf: '',\n\t});\n\n\tonMounted(() => {\n\t\tsendMail.date = dateToSearch[0].id;\n\t});\n\n\tconst closeModal = () => setModalSendDigitalTicket(false);\n\tconst send = async (action: 'r' | 'e') => {\n\t\tconst dateToFormat = sendMail.date || dateToSearch[0].id;\n\t\tconst date = dateToFormat.split('T')[0];\n\t\tconst bodySend = {\n\t\t\taction,\n\t\t\teventDate: date,\n\t\t\teventId: event.value.id,\n\t\t\t...(!!sendMail.cpf && { cpf: removeMaskCpf(sendMail.cpf) }),\n\t\t};\n\t\tconst { data, response } = await HttpAdapterCustomer.post<{ quantityModify: number }>({\n\t\t\turl: 'admin/activity-send/invite',\n\t\t\tbody: JSON.stringify(bodySend),\n\t\t\theaders_config: {\n\t\t\t\t'Content-Type': 'json',\n\t\t\t},\n\t\t});\n\t\tif (!response.ok) return toast.error(data);\n\t\tif (data.quantityModify) return toast.success(`${data.quantityModify} convites enviados com sucesso!`);\n\t\ttoast.success('Não há convites para enviar!');\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(modalSendDigitalTicket))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"overlay-modal\",\n onClick: closeModal\n }))\n : _createCommentVNode(\"\", true),\n (_unref(modalSendDigitalTicket))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n _createElementVNode(\"form\", {\n onSubmit: _cache[4] || (_cache[4] = _withModifiers(() => {}, [\"prevent\"])),\n class: \"body-modal\"\n }, [\n _createVNode(BaseSelect, {\n label: \"Dias do Evento\",\n value: sendMail.date,\n keys: { keyLabel: 'value', keyValue: 'id' },\n options: _unref(dateToSearch),\n onChangeOption: _cache[0] || (_cache[0] = \n\t\t\t\t\t\t(e) => {\n\t\t\t\t\t\t\tsendMail.date = (e.target.value);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"value\", \"options\"]),\n _withDirectives(_createVNode(BaseInput, {\n label: \"CPF\",\n value: sendMail.cpf,\n onChange: _cache[1] || (_cache[1] = (e) => (sendMail.cpf = e.target.value)),\n placeholder: \"CPF\"\n }, null, 8, [\"value\"]), [\n [vMask, ['###.###.###-##']]\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseButton, {\n variant: \"secondary\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (send('r')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"REENVIAR E-MAIL\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n onClick: _cache[3] || (_cache[3] = ($event: any) => (send('e')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"ENVIAR\")\n ]),\n _: 1\n })\n ])\n ], 32)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./PopUpSendDigitalTicket.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PopUpSendDigitalTicket.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PopUpSendDigitalTicket.vue?vue&type=style&index=0&id=5b1788bc&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5b1788bc\"]])\n\nexport default __exports__","import { ref } from 'vue';\nimport { useToast } from 'vue-toastification';\n\nimport { IActivity } from '../interface';\nimport { useStoreScheduleAdmin } from '../store-old';\nimport { HttpAdapterCustomer } from '@/helpers/HttpAdapterCostumer';\n\nconst toast = useToast();\nconst { setActivityToUpdateData } = useStoreScheduleAdmin();\n\nconst store = {\n\tactivity: ref({\n\t\tdescription: '',\n\t} as IActivity),\n\tloading: ref(''),\n\tspeakerModal: ref(false),\n};\n\nexport const useStoreUpdateActivity = () => {\n\tconst actions = {\n\t\tsetActivity: (activity: IActivity | any, key?: string) => {\n\t\t\tif (key) return ((store.activity.value as any)[key] = activity);\n\t\t\tstore.activity.value = activity;\n\t\t},\n\t\tsetLoading: (loading: string) => {\n\t\t\tstore.loading.value = loading;\n\t\t},\n\t\tsubmit: async () => {\n\t\t\tactions.setLoading('Salvando');\n\t\t\tconst speakerFormatted = formatSpeaker(store.activity.value);\n\t\t\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\t\t\turl: 'admin/activity',\n\t\t\t\told_url: true,\n\t\t\t\theaders_config: {\n\t\t\t\t\tAuthorization: 'admin_token',\n\t\t\t\t},\n\t\t\t\tbody: JSON.stringify(speakerFormatted),\n\t\t\t});\n\t\t\tactions.setLoading('');\n\t\t\tif (!response.ok) {\n\t\t\t\tif (data?.importationResult) return errorHandler(data.importationResult);\n\t\t\t\treturn toast.error(data.message || 'Erro ao atualizar a atividade');\n\t\t\t}\n\t\t\ttoast.success('Atividade atualizada com sucesso');\n\t\t\tlocation.reload();\n\t\t},\n\t\tgoBack: () => {\n\t\t\tsetActivityToUpdateData({} as IActivity);\n\t\t},\n\t\tsetSpeakerModal: (value: boolean) => {\n\t\t\tstore.speakerModal.value = value;\n\t\t},\n\t};\n\treturn {\n\t\t...store,\n\t\t...actions,\n\t};\n};\n\nconst errorHandler = (importationResult: any) => {\n\tconst errors = {\n\t\t'participant-not-found': 'O participante não está inscrito no evento',\n\t\t'participant-associated': 'O participante não é um associado dessa rede',\n\t\t'participant-duplicated': 'O cpf já foi inserido',\n\t\t'Nonexistent-company': 'Essa Empresa não está cadastrada',\n\t};\n\timportationResult?.errors.forEach(({ error }: any) => {\n\t\ttoast.error((errors as any)[error]);\n\t});\n};\n\nconst formatSpeaker = (activity: IActivity) => {\n\tconst { speakers } = activity;\n\tconst speakerToSave = speakers.map((speaker: any) => {\n\t\tif (speaker.speaker_id) return speaker.speaker;\n\t\treturn speaker;\n\t});\n\treturn {\n\t\t...activity,\n\t\tspeakers: speakerToSave,\n\t};\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-19508bd5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form\" }\nconst _hoisted_2 = { class: \"row-with-image\" }\nconst _hoisted_3 = { class: \"rows-inputs\" }\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"row\" }\nconst _hoisted_6 = { class: \"row\" }\nconst _hoisted_7 = { class: \"image-box\" }\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { class: \"buttons-image\" }\nconst _hoisted_10 = {\n type: \"button\",\n style: {\"padding\":\"4px\",\"width\":\"max-content\",\"height\":\"max-content\",\"cursor\":\"pointer\"}\n}\nconst _hoisted_11 = { class: \"row-checkbox\" }\nconst _hoisted_12 = { class: \"checkbox\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Faz parte da Lista de Presença?\", -1))\nconst _hoisted_14 = { class: \"checkbox\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Intervalo/Credenciamento\", -1))\nconst _hoisted_16 = { class: \"row-checkbox\" }\nconst _hoisted_17 = { class: \"checkbox\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Colorir Atividade\", -1))\nconst _hoisted_19 = { class: \"checkbox\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Possui Moderador\", -1))\nconst _hoisted_21 = { class: \"row\" }\nconst _hoisted_22 = { class: \"row\" }\n\nimport { useStoreScheduleAdmin } from \"../store-old\";\nimport { useStoreUpdateActivity } from \"./store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport { IEvent } from \"@/components/Organism/ModalChangeEvent/interface\";\nimport IcTrash from \"@/components/icons/IcTrash.vue\";\nimport IcUpload from \"@/components/icons/IcUpload.vue\";\nimport { urlOldApi } from \"@/helpers\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport BaseSelect from \"@/views/Participant/components/BaseSelect.vue\";\n// eslint-disable-next-line import/order\nimport { QuillEditor } from \"@vueup/vue-quill\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport { onBeforeMount, onMounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Activity',\n setup(__props) {\n\nconst { activityToUpdateData, companies } = useStoreScheduleAdmin();\nconst { activity, setActivity, submit, goBack } = useStoreUpdateActivity();\n\nconst event = ref();\nconst types = ref<{ id: string; type: string }[]>([\n\t{ id: \"main\", type: \"Corporativa\" },\n\t{ id: \"additional\", type: \"Complementar\" },\n]);\nconst logo = ref(\"\");\nconst loading = ref(\"Carrengando\");\n\nonBeforeMount(() => {\n\tsetActivity(activityToUpdateData.value);\n\tif (!activityToUpdateData.value.speakers?.length) setActivity([], \"speakers\");\n\tconst currentEventData = SessionStorage.get(\"event\");\n\tevent.value = currentEventData;\n\tfixImage();\n\tgetTypes();\n\tloading.value = \"\";\n});\n\nconst fixImage = async () => {\n\tconst urlFormated = urlOldApi.replace(\"/api\", \"/content\");\n\tif (activity.value?.logo) {\n\t\tconst imageLogo = urlFormated + \"/\" + activity.value?.logo;\n\t\tconst res = await fetch(imageLogo);\n\t\tif (res.ok) return (logo.value = imageLogo);\n\t}\n\tlogo.value = \"https://via.placeholder.com/150\";\n};\n\nconst getTypes = () => {\n\tif (event.value?.activity_premium)\n\t\ttypes.value?.push({\n\t\t\tid: \"premium\",\n\t\t\ttype: event.value.name_activity_premium,\n\t\t});\n\tif (event.value?.marketing_activity)\n\t\ttypes.value?.push({\n\t\t\tid: \"marketing_activity\",\n\t\t\ttype: event.value.marketing_activity_name,\n\t\t});\n};\n\nconst updateValue = ({ name, value }: { name: string; value: string }) => {\n\tsetActivity(value, name);\n};\n\nconst updateEditorText = (value: any) => {\n\tsetActivity(value, \"description\");\n};\n\nconst updateImage = (event: any) => {\n\tconst file = event.target.files[0];\n\tconst reader = new FileReader();\n\treader.onload = (e: any) => {\n\t\tlogo.value = e.target.result;\n\t\tsetActivity(\n\t\t\t{\n\t\t\t\tbase64: e.target.result,\n\t\t\t\tfilename: file.name,\n\t\t\t},\n\t\t\t\"logo\"\n\t\t);\n\t};\n\treader.readAsDataURL(file);\n};\n\nconst removeImage = () => {\n\tlogo.value = \"https://via.placeholder.com/150\";\n\tsetActivity(undefined, \"logo\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!!loading.value)\n ? (_openBlock(), _createBlock(Spinner, {\n key: 0,\n message: loading.value\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: \"title\",\n label: \"Titulo *\",\n value: _unref(activity)?.title,\n onInput: _cache[0] || (_cache[0] = (e) => updateValue(e.target))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Tipo *\",\n options: types.value,\n keys: { keyValue: 'id', keyLabel: 'type' },\n value: _unref(activity)?.type,\n disabled: \"\"\n }, null, 8, [\"options\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"place\",\n label: \"Local\",\n value: _unref(activity)?.place,\n onInput: _cache[1] || (_cache[1] = (e) => updateValue(e.target))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseInput, {\n name: \"start_time\",\n label: \"Horário de Início\",\n value: _unref(activity)?.start_time,\n type: \"time\",\n onInput: _cache[2] || (_cache[2] = (e) => updateValue(e.target))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"end_time\",\n label: \"Horário de Término\",\n value: _unref(activity)?.end_time,\n type: \"time\",\n onInput: _cache[3] || (_cache[3] = (e) => updateValue(e.target))\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"img\", {\n src: logo.value,\n alt: \"\",\n width: \"150\",\n height: \"150\"\n }, null, 8, _hoisted_8),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", _hoisted_10, [\n _createVNode(IcUpload),\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"display\":\"none\"},\n onInput: updateImage,\n extensions: \"png, jpg, jpeg\"\n }, null, 32)\n ]),\n _createVNode(BaseButton, {\n type: \"button\",\n style: {\"padding\":\"0 4px\",\"width\":\"max-content\",\"height\":\"max-content\",\"background-color\":\"inherit\",\"box-shadow\":\"none\"},\n onClick: removeImage\n }, {\n default: _withCtx(() => [\n _createVNode(IcTrash, { class: \"ic-trash\" })\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(BaseInput, {\n name: \"attendance_list\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n checked: _unref(activity)?.attendance_list,\n onChange: _cache[4] || (_cache[4] = (e) => {\n\t\t\t\t\t\t(_unref(activity) as any).attendance_list = e.target.checked\n\t\t\t\t \t})\n }, null, 8, [\"checked\"]),\n _hoisted_13\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(BaseInput, {\n name: \"interval/credential\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n checked: _unref(activity)?.is_interval,\n onChange: _cache[5] || (_cache[5] = (e) => {\n\t\t\t\t\t\t(_unref(activity) as any).is_interval = e.target.checked\n\t\t\t\t \t})\n }, null, 8, [\"checked\"]),\n _hoisted_15\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(BaseInput, {\n name: \"color\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n checked: _unref(activity)?.is_colored,\n onChange: _cache[6] || (_cache[6] = (e) => {\n\t\t\t\t\t\t(_unref(activity) as any).is_colored = e.target.checked\n\t\t\t\t \t})\n }, null, 8, [\"checked\"]),\n _hoisted_18\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(BaseInput, {\n name: \"has_moderator\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n checked: _unref(activity)?.has_moderator,\n onChange: _cache[7] || (_cache[7] = (e) => {\n\t\t\t\t\t\t(_unref(activity) as any).has_moderator = e.target.checked\n\t\t\t\t \t})\n }, null, 8, [\"checked\"]),\n _hoisted_20\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(BaseSelect, {\n name: \"company\",\n label: \"Empresa *\",\n options: _unref(companies) || [],\n keys: { keyValue: 'id', keyLabel: 'name' },\n value: _unref(activity)?.company_id,\n onChange: _cache[8] || (_cache[8] = (e) => updateValue(e.target))\n }, null, 8, [\"options\", \"value\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(QuillEditor), {\n theme: \"snow\",\n style: {\"height\":\"200px\"},\n toolbar: \"essential\",\n contenteditable: true,\n content: _unref(activity)?.description,\n \"content-type\": \"html\",\n \"onUpdate:content\": updateEditorText\n }, null, 8, [\"content\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _unref(goBack)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(BaseButton, {\n type: \"button\",\n onClick: _unref(submit)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./Activity.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Activity.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Activity.vue?vue&type=style&index=0&id=19508bd5&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-19508bd5\"]])\n\nexport default __exports__","import { ref } from 'vue';\n\nimport { useStoreUpdateActivity } from '../store';\n\nconst { activity } = useStoreUpdateActivity();\nconst store = {\n\tparticipantsInList: ref([]),\n};\n\nexport const useStoreListRestricted = () => {\n\tconst actions = {\n\t\tsetParticipantsInList: (participantsInList: any[]) => {\n\t\t\tstore.participantsInList.value = participantsInList;\n\t\t},\n\t\tgetParticipants: () => {\n\t\t\tactions.setParticipantsInList(\n\t\t\t\tactivity.value?.restricted_list\n\t\t\t\t\t.map((participant) => {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...participant,\n\t\t\t\t\t\t\tname: participant.name,\n\t\t\t\t\t\t\tcpf: participant.cpf,\n\t\t\t\t\t\t\tcompany_id: participant.company.id,\n\t\t\t\t\t\t};\n\t\t\t\t\t})\n\t\t\t\t\t.sort((a, b) => a.name.localeCompare(b.name)) || []\n\t\t\t);\n\t\t},\n\t};\n\treturn {\n\t\t...store,\n\t\t...actions,\n\t};\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-146031c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"row\",\n style: {\"border-top\":\"1px solid var(--color-gray)\",\"padding-top\":\"10px\",\"margin-top\":\"10px\"}\n}\n\nimport { ref } from 'vue';\n\n\timport { useStoreListRestricted } from './store';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport BaseInput from '@/components/Atoms/BaseInput.vue';\n\timport { debounce } from '@/helpers/debounce';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Filter',\n setup(__props) {\n\n\tconst { participantsInList, setParticipantsInList, getParticipants } = useStoreListRestricted();\n\tconst cpfToSearch = ref('');\n\n\tconst searchCpf = (event: any) => {\n\t\tcpfToSearch.value = event.target.value;\n\t\tdebounce(() => {\n\t\t\tsearchParticipant(cpfToSearch.value);\n\t\t}, 2000);\n\t};\n\n\tconst searchParticipant = (cpf: string) => {\n\t\tif (!cpf) return getParticipants();\n\t\tconst newList = participantsInList.value.filter((participant) => participant.cpf.includes(cpf));\n\t\tsetParticipantsInList(newList);\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: \"Buscar por CPF\",\n placeholder: \"Buscar...\",\n name: \"search-cpf\",\n value: cpfToSearch.value,\n onInput: searchCpf\n }, null, 8, [\"value\"]),\n _createVNode(BaseButton, {\n style: {\"margin-top\":\"20px\",\"height\":\"44px\",\"width\":\"140px\"},\n class: \"secondary-button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (searchParticipant(cpfToSearch.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Buscar \")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./Filter.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Filter.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Filter.vue?vue&type=style&index=0&id=146031c4&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-146031c4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-332ebd56\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"new-participant\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"row\" }\n\nimport { ref } from 'vue';\n\timport { useToast } from 'vue-toastification';\n\n\timport { useStoreScheduleAdmin } from '../../store-old';\n\timport { useStoreListRestricted } from './store';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport BaseInput from '@/components/Atoms/BaseInput.vue';\n\timport BaseSelect from '@/components/Atoms/BaseSelect.vue';\n\timport { HttpAdapterCustomer } from '@/helpers/HttpAdapterCostumer';\n\timport { debounce } from '@/helpers/debounce';\n\timport { removeMaskCpf } from '@/helpers/mask';\n\n\ttype IParticipant = {\n\t\tcpf: string;\n\t\tname: string;\n\t\tcompany_name: string;\n\t\tcompany_id: string;\n\t};\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Form',\n setup(__props) {\n\n\tconst toast = useToast();\n\tconst { companies } = useStoreScheduleAdmin();\n\tconst { participantsInList } = useStoreListRestricted();\n\tconst participant = ref({\n\t\tcpf: '',\n\t\tname: '',\n\t\tcompany_id: '-1',\n\t\tcompany_name: '',\n\t});\n\n\tconst updateCpf = (event: any) => {\n\t\tparticipant.value.cpf = event.target.value;\n\t\tdebounce(() => {\n\t\t\tfindParticipant(participant.value.cpf);\n\t\t}, 1000);\n\t};\n\n\tconst findParticipant = async (cpf: string) => {\n\t\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\t\turl: `admin/participant/find-by-cpf/${removeMaskCpf(cpf)}`,\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'admin_token',\n\t\t\t},\n\t\t});\n\t\tif (!response.ok) return toast.error(data.message || 'Erro ao buscar o participante');\n\t\tparticipant.value = {\n\t\t\tname: data.name,\n\t\t\tcompany_name: companies.value.find((company) => company.id === data.company_id)?.name || '',\n\t\t\tcompany_id: data.company_id,\n\t\t\tcpf,\n\t\t};\n\t};\n\n\tconst updateCompany = (id: string) => {\n\t\tparticipant.value.company_id = id;\n\t\tparticipant.value.company_name = companies.value.find((company) => company.id === id)?.name || '';\n\t};\n\n\tconst addParticipantInList = () => {\n\t\tif (isInvalidParticipant()) return;\n\t\tconst participantInList = participantsInList.value.find((participantInList) => participantInList.cpf === participant.value.cpf);\n\t\tif (participantInList) {\n\t\t\tclearParticipant();\n\t\t\treturn toast.error('Participante já adicionado');\n\t\t}\n\t\tconst participantDTO = {\n\t\t\t...participant.value,\n\t\t\tcpf: removeMaskCpf(participant.value.cpf),\n\t\t};\n\t\tconst newList: IParticipant[] = [...participantsInList.value, participantDTO];\n\n\t\tparticipantsInList.value.length = 0;\n\t\tparticipantsInList.value.push(...newList.sort((a, b) => a.name.localeCompare(b.name)));\n\t\tclearParticipant();\n\t};\n\n\tconst isInvalidParticipant = () => {\n\t\tconst { company_id, company_name, cpf, name } = participant.value;\n\t\treturn !!(!company_id || !company_name || !cpf || !name);\n\t};\n\n\tconst clearParticipant = () => {\n\t\tparticipant.value = {\n\t\t\tcpf: '',\n\t\t\tname: '',\n\t\t\tcompany_id: '-1',\n\t\t\tcompany_name: '',\n\t\t};\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: \"CPF\",\n name: \"cpf\",\n value: participant.value.cpf,\n onInput: updateCpf\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n label: \"Nome\",\n name: \"name\",\n value: participant.value.name,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (participant.value.name = $event.target.value))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseSelect, {\n label: \"Empresa\",\n name: \"company_id\",\n options: [..._unref(companies)],\n keys: { keyLabel: 'name', keyValue: 'id' },\n value: participant.value.company_id,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (updateCompany(($event.target as any).value)))\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseButton, {\n style: {\"margin-top\":\"20px\",\"height\":\"44px\",\"width\":\"140px\"},\n type: \"button\",\n onClick: addParticipantInList\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Adicionar \")\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./Form.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Form.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Form.vue?vue&type=style&index=0&id=332ebd56&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-332ebd56\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Table.vue?vue&type=template&id=105b6cab\"\nconst script = {}\n\nimport \"./Table.vue?vue&type=style&index=0&id=105b6cab&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, withCtx as _withCtx, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-338e5bba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"body\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Nome\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"CPF\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Empresa\"),\n /*#__PURE__*/_createElementVNode(\"th\")\n], -1))\nconst _hoisted_3 = { style: {\"text-align\":\"left\"} }\nconst _hoisted_4 = { style: {\"text-align\":\"left\"} }\nconst _hoisted_5 = { style: {\"text-align\":\"left\"} }\nconst _hoisted_6 = { style: {\"text-align\":\"left\"} }\nconst _hoisted_7 = { class: \"row\" }\n\nimport { onBeforeMount } from 'vue';\n\n\timport { useStoreUpdateActivity } from '../store';\n\timport Filter from './Filter.vue';\n\timport Form from './Form.vue';\n\timport { useStoreListRestricted } from './store';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport Table from '@/components/Organism/Table.vue';\n\timport IcTrash from '@/components/icons/IcTrash.vue';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst { participantsInList, setParticipantsInList, getParticipants } = useStoreListRestricted();\n\tconst { goBack, submit, setActivity } = useStoreUpdateActivity();\n\n\tonBeforeMount(() => {\n\t\tgetParticipants();\n\t});\n\n\tconst removeParticipant = (cpf: string) => {\n\t\tif (!cpf) return;\n\t\tconst newList = participantsInList.value.filter((participant) => participant.cpf !== cpf);\n\t\tsetParticipantsInList(newList);\n\t};\n\n\tconst preSubmit = async () => {\n\t\tsetActivity(participantsInList.value, 'restricted_list');\n\t\tawait submit();\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Form),\n _createVNode(Filter),\n _createVNode(Table, { style: {\"overflow-y\":\"auto\",\"max-height\":\"45vh\"} }, {\n thead: _withCtx(() => [\n _hoisted_2\n ]),\n tbody: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(participantsInList), (participantInList) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: participantInList.cpf\n }, [\n _createElementVNode(\"td\", _hoisted_3, _toDisplayString(participantInList.name), 1),\n _createElementVNode(\"td\", _hoisted_4, _toDisplayString(participantInList.cpf), 1),\n _createElementVNode(\"td\", _hoisted_5, _toDisplayString(participantInList.company?.name || participantInList.company_name), 1),\n _createElementVNode(\"td\", _hoisted_6, [\n _createVNode(IcTrash, {\n onClick: ($event: any) => (removeParticipant(participantInList.cpf)),\n style: {\"cursor\":\"pointer\"}\n }, null, 8, [\"onClick\"])\n ])\n ]))\n }), 128))\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseButton, {\n class: \"secondary-button\",\n onClick: _unref(goBack)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(BaseButton, {\n type: \"button\",\n onClick: preSubmit\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Salvar \")\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=338e5bba&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-338e5bba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-144c047d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"body\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Nome do Palestrante\"),\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"text-align\":\"center\"} }, \"Remover\")\n], -1))\nconst _hoisted_3 = { style: {\"text-align\":\"left\"} }\nconst _hoisted_4 = { class: \"row\" }\n\nimport { useStoreUpdateActivity } from '../store';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport Table from '@/components/Organism/Table.vue';\n\timport IcTrash from '@/components/icons/IcTrash.vue';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst { activity, setActivity, goBack, submit } = useStoreUpdateActivity();\n\n\tconst getSpeakerName = (speakerData: any) => {\n\t\tif (speakerData.name) return speakerData.name;\n\t\treturn speakerData.speaker.name;\n\t};\n\n\tconst removeSpeaker = (speaker: any) => {\n\t\tif (!speaker) return;\n\t\tlet speakerId = speaker.speaker_id || speaker.id;\n\t\tconst newList = activity.value.speakers.filter((participant) => {\n\t\t\tconst participantId = (participant as any).speaker_id || participant.id;\n\t\t\treturn participantId !== speakerId;\n\t\t});\n\t\tsetActivity(newList, 'speakers');\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Table, null, {\n thead: _withCtx(() => [\n _hoisted_2\n ]),\n tbody: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(activity).speakers, (speaker) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: speaker.id\n }, [\n _createElementVNode(\"td\", _hoisted_3, _toDisplayString(getSpeakerName(speaker)), 1),\n _createElementVNode(\"td\", null, [\n _createVNode(IcTrash, {\n onClick: ($event: any) => (removeSpeaker(speaker)),\n style: {\"cursor\":\"pointer\"}\n }, null, 8, [\"onClick\"])\n ])\n ]))\n }), 128))\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n onClick: _unref(goBack)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(BaseButton, {\n type: \"button\",\n onClick: _unref(submit)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=144c047d&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-144c047d\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { mergeProps as _mergeProps, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-20c7f3c8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"list-group\"\n}\nconst _hoisted_2 = [\"onClick\"]\n\nimport { onMounted, onUnmounted, ref, watchEffect } from 'vue';\n\n\timport BaseInput from './BaseInput.vue';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseAutocomplete',\n props: ['options'],\n emits: ['onchange', 'clickOption'],\n setup(__props, { emit }) {\n\nconst props = __props\n\n\t\n\t\n\tconst internalValue = ref('');\n\tconst internalOptions = ref([]);\n\tconst showOptions = ref(false);\n\tconst doubleClick = ref(false);\n\n\tonMounted(() => {\n\t\tinternalValue.value = '';\n\t});\n\n\tconst unWatchEffect = watchEffect(() => {\n\t\tif (props.options) internalOptions.value = props.options;\n\t});\n\n\tonUnmounted(() => {\n\t\tunWatchEffect();\n\t});\n\n\tconst updateInternalValue = (event: any) => {\n\t\temit('onchange', event);\n\t\tinternalValue.value = event.target.value;\n\t};\n\n\tconst generareList = () => {\n\t\tif (internalOptions.value) return props.options.filter((option: any) => option.name.toLowerCase().includes(internalValue.value.toLowerCase()));\n\t\treturn props.options;\n\t};\n\n\tconst keyCommand = () => {\n\t\tif (!doubleClick.value) return (doubleClick.value = true);\n\t\tconst firstResult = generareList()[0];\n\t\tif (firstResult) {\n\t\t\tinternalValue.value = firstResult.name;\n\t\t\temit('clickOption', firstResult);\n\t\t\tshowOptions.value = false;\n\t\t}\n\t\tdoubleClick.value = false;\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"position\":\"relative\",\"width\":\"100%\"},\n onMouseleave: _cache[3] || (_cache[3] = ($event: any) => (showOptions.value = false))\n }, [\n _createVNode(BaseInput, _mergeProps(_ctx.$attrs, {\n value: internalValue.value,\n onInput: updateInternalValue,\n onFocus: _cache[0] || (_cache[0] = ($event: any) => (showOptions.value = true)),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (showOptions.value = true)),\n onKeyup: _cache[2] || (_cache[2] = ($event: any) => ($event.key === 'Enter' && keyCommand()))\n }), null, 16, [\"value\"]),\n (showOptions.value)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(generareList(), (option, index) => {\n return (_openBlock(), _createElementBlock(\"ul\", {\n key: option.id,\n style: _normalizeStyle(index !== 0 ? 'border-top: 1px solid var(--color-gray-light)' : ''),\n class: \"option\",\n onClick: ($event: any) => (emit('clickOption', option), (internalValue.value = option.name), (showOptions.value = false))\n }, _toDisplayString(option.name), 13, _hoisted_2))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 32))\n}\n}\n\n})","import script from \"./BaseAutocomplete.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BaseAutocomplete.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BaseAutocomplete.vue?vue&type=style&index=0&id=20c7f3c8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-20c7f3c8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, renderSlot as _renderSlot, createVNode as _createVNode, mergeProps as _mergeProps, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3c1292fc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"title-modal\" }\nconst _hoisted_2 = { class: \"body-modal\" }\nconst _hoisted_3 = { class: \"row-buttons\" }\n\nimport IcX from '../icons/IcX.vue';\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseModal',\n setup(__props) {\n\n\t\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('closeModal')))\n }),\n _createElementVNode(\"div\", _mergeProps({ class: \"modal\" }, _ctx.$attrs), [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h3\", null, [\n _renderSlot(_ctx.$slots, \"title\")\n ]),\n _createElementVNode(\"p\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('closeModal')))\n }, [\n _createVNode(IcX)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"body\")\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"buttons\")\n ]),\n _renderSlot(_ctx.$slots, \"default\")\n ], 16)\n ], 64))\n}\n}\n\n})","import script from \"./BaseModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BaseModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BaseModal.vue?vue&type=style&index=0&id=3c1292fc&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3c1292fc\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"width\":\"auto\",\"padding\":\"5px 20px 20px 20px\",\"justify-content\":\"space-between\"} }\n\nimport { onBeforeMount, ref } from 'vue';\n\timport { useToast } from 'vue-toastification';\n\n\timport { useStoreUpdateActivity } from './store';\n\timport BaseAutocomplete from '@/components/Atoms/BaseAutocomplete.vue';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport BaseModal from '@/components/Organism/BaseModal.vue';\n\timport { HttpAdapterCustomer } from '@/helpers/HttpAdapterCostumer';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SpeakerModal',\n setup(__props) {\n\n\tconst toast = useToast();\n\tconst { setSpeakerModal, activity } = useStoreUpdateActivity();\n\tconst speakers = ref<{ id: string; name: string }[]>([]);\n\tconst speakerSelected = ref();\n\n\tonBeforeMount(() => {\n\t\tgetSpeakers();\n\t});\n\n\tconst getSpeakers = async () => {\n\t\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\t\turl: 'admin/speaker/query?term=',\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'admin_token',\n\t\t\t},\n\t\t});\n\t\tif (!response.ok) return toast.error(data.message || 'Erro ao buscar os palestrantes');\n\t\tspeakers.value = data;\n\t};\n\n\tconst closeModal = () => {\n\t\tclearValues();\n\t\tsetSpeakerModal(false);\n\t};\n\n\tconst addInListNewSpeaker = () => {\n\t\tif (!speakerSelected.value) return toast.error('Selecione um palestrante');\n\t\tconst speakerAlreadyAdded = activity.value.speakers.find((speaker: any) => speaker.id === speakerSelected.value.id);\n\t\tif (speakerAlreadyAdded) return toast.error('Este palestrante já foi adicionado');\n\t\tactivity.value.speakers.push(speakerSelected.value);\n\t\tcloseModal();\n\t};\n\n\tconst clickOption = (option: any) => {\n\t\tconst speaker = speakers.value.find((speaker: any) => speaker.id === option.id);\n\t\tspeakerSelected.value = speaker;\n\t};\n\n\tconst clearValues = () => {\n\t\tspeakerSelected.value = null;\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseModal, { onCloseModal: closeModal }, {\n title: _withCtx(() => [\n _createTextVNode(\" Adicionar Palestrante \")\n ]),\n body: _withCtx(() => [\n _createVNode(BaseAutocomplete, {\n options: speakers.value.sort((a, b) => a.name.localeCompare(b.name)),\n onClickOption: clickOption\n }, null, 8, [\"options\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n type: \"button\",\n onClick: closeModal,\n variant: \"new-secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" CANCELAR \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n type: \"button\",\n onClick: addInListNewSpeaker\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" SALVAR \")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./SpeakerModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SpeakerModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import XLSX from 'xlsx';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/ban-types\nexport const importTable = (event: any, callBack: Function) => {\n\tconst file = event.target.files;\n\tif (!file?.length) return;\n\tconst fileToRead = file[0];\n\tconst reader = new FileReader();\n\treader.onload = (e: any) => {\n\t\tconst data = e.target.result;\n\t\tconst workBook = XLSX.read(data, { type: 'binary' });\n\t\tconst workSheet = workBook.Sheets['Atividades'];\n\t\tconst dataFromFile = XLSX.utils.sheet_to_json(workSheet);\n\t\tcallBack(formatDataFile(dataFromFile as any[]));\n\t};\n\treader.readAsBinaryString(fileToRead);\n};\n\nconst formatDataFile = (dataFromFile: { CPF: string; Nome: string; Empresa: string }[]): IFileActivity[] => {\n\treturn dataFromFile.map((activity: any) => {\n\t\treturn {\n\t\t\tname: activity.Nome,\n\t\t\tcpf: activity.CPF,\n\t\t\tcompany: activity.Empresa,\n\t\t};\n\t});\n};\n\nexport type IFileActivity = { name: string; cpf: string; company: string };\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-bbf97426\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"body\" }\nconst _hoisted_2 = { class: \"header\" }\nconst _hoisted_3 = { class: \"title-screen\" }\nconst _hoisted_4 = { class: \"sub-header\" }\nconst _hoisted_5 = { class: \"tabs\" }\nconst _hoisted_6 = [\"title\"]\nconst _hoisted_7 = {\n key: 0,\n class: \"import-button\"\n}\n\nimport { onBeforeMount, ref } from 'vue';\n\n\timport IcArrowLeft from '../../../../components/icons/IcArrowLeft.vue';\n\timport { useStoreScheduleAdmin } from '../store-old';\n\timport Activity from './Activity.vue';\n\timport ListRestricted from './ListRestricted/index.vue';\n\timport { useStoreListRestricted } from './ListRestricted/store';\n\timport Speaker from './Speaker/index.vue';\n\timport SpeakerModal from './SpeakerModal.vue';\n\timport { IFileActivity, importTable } from './importTable';\n\timport { useStoreUpdateActivity } from './store';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport Spinner from '@/components/Atoms/Spinner.vue';\n\n\tinterface IFileActivityToUpdate extends IFileActivity {\n\t\tcompany_name: string;\n\t\tcompany_id: string;\n\t}\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst { activityToUpdateData, getCompany, companies } = useStoreScheduleAdmin();\n\tconst { goBack, activity, setActivity, speakerModal, setSpeakerModal, loading } = useStoreUpdateActivity();\n\tconst { setParticipantsInList } = useStoreListRestricted();\n\tconst tab = ref<'list-restricted' | 'activity' | 'speakers'>('activity');\n\tonBeforeMount(() => {\n\t\tgetCompany();\n\t});\n\n\tconst importAction = (event: any) => {\n\t\timportTable(event, (fileActivities: IFileActivity[]) => {\n\t\t\tconst result = fileActivities.map((fileActivity) => {\n\t\t\t\tconst companyThisUser = companies.value.find((company) => company.name.toLowerCase() === fileActivity.company.toLowerCase());\n\t\t\t\treturn {\n\t\t\t\t\t...fileActivity,\n\t\t\t\t\tcompany: companyThisUser,\n\t\t\t\t\tcompany_name: companyThisUser?.name || '',\n\t\t\t\t\tcompany_id: companyThisUser?.id || '',\n\t\t\t\t};\n\t\t\t});\n\t\t\tupdateActivities(result as any[]);\n\t\t});\n\t};\n\n\tconst updateActivities = (activities: IFileActivityToUpdate[]) => {\n\t\tconst removeDuplicates = activities.filter((activityToFilter) => {\n\t\t\tif (!activity.value?.restricted_list) return false;\n\t\t\treturn !activity.value?.restricted_list.find((activityHasExist) => activityHasExist.cpf === activityToFilter.cpf);\n\t\t});\n\t\tconst oldList = activity.value?.restricted_list || [];\n\t\tsetActivity([...removeDuplicates, ...oldList], 'restricted_list');\n\t\tsetParticipantsInList([...removeDuplicates, ...oldList]);\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (!!_unref(loading))\n ? (_openBlock(), _createBlock(Spinner, {\n key: 0,\n message: _unref(loading)\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true),\n (_unref(speakerModal))\n ? (_openBlock(), _createBlock(SpeakerModal, { key: 1 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseButton, {\n class: \"back\",\n onClick: _unref(goBack)\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createElementVNode(\"h4\", null, [\n _createTextVNode(\" Editar Atividade - \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(activityToUpdateData).title), 1)\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(BaseButton, {\n class: \"new-speaker\",\n variant: \"secondary\",\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(setSpeakerModal)(true)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Adicionar Palestrante \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", tab.value === 'activity' ? 'tab-selected' : '']),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (tab.value = 'activity'))\n }, \" ATIVIDADE \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", tab.value === 'list-restricted' ? 'tab-selected' : '']),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (tab.value = 'list-restricted'))\n }, \" LISTA RESTRITA \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", tab.value === 'speakers' ? 'tab-selected' : '']),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_unref(activity).speakers?.length && (tab.value = 'speakers'))),\n style: _normalizeStyle(_unref(activity).speakers?.length ? '' : 'cursor: not-allowed; opacity: 0.5;'),\n title: _unref(activity).speakers?.length ? '' : 'Não há palestrantes cadastrados'\n }, \" PALESTRANTES \", 14, _hoisted_6)\n ]),\n (tab.value === 'list-restricted')\n ? (_openBlock(), _createElementBlock(\"label\", _hoisted_7, [\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"display\":\"none\"},\n extensions: \"xlsx\",\n onChange: importAction\n }, null, 32),\n _createTextVNode(\" Importar \")\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (tab.value === 'activity')\n ? (_openBlock(), _createBlock(Activity, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (tab.value === 'list-restricted')\n ? (_openBlock(), _createBlock(ListRestricted, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (tab.value === 'speakers')\n ? (_openBlock(), _createBlock(Speaker, { key: 2 }))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=bbf97426&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-bbf97426\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-04496bf8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"screen _center_\"\n}\n\nimport { onBeforeMount } from 'vue';\n\timport Filter from './Filter.vue';\n\timport Header from './Header.vue';\n\timport PopupSendDigitalTicket from './PopUpSendDigitalTicket.vue';\n\timport Table from './Table.vue';\n\timport Tabs from './Tabs.vue';\n\timport UpdateActivity from './UpdateActivity/index.vue';\n\timport { useStoreScheduleAdmin } from './store-old';\n\timport { HttpAdapterCustomer, jwtDecode, urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, eventStore, getTokenSessionStorage } from '@/store/event.store';\nimport { useStoreMenu } from '@/components/Organism/store-menu';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst { activityToUpdateData } = useStoreScheduleAdmin();\n\tconst { setDateSearch, setDateToSearch, setEvent, getActivities } = useStoreScheduleAdmin();\n\n\tonBeforeMount(() => {\n\t\tgetActivities();\n\t\tgetDaysOfEvent();\n\t setData()\n\t\n\t});\n\n\tconst getDaysOfEvent = async (): Promise<{ value: string; id: string }[]> => {\n\t\tconst tokenAdmin = eventStore.getStoreToken(TOKEN_TYPE['ADMIN_TOKEN']);\n\t\tconst tokenDecoded = jwtDecode(tokenAdmin);\n\t\tconst eventId = tokenDecoded.eventId;\n\t\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\t\turl: `admin/event/${eventId}`,\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'admin_token',\n\t\t\t},\n\t\t});\n\t\tif (!response.ok) {\n\t\t\treturn [];\n\t\t}\n\t\tconst eventToAdd: any = {\n\t\t\tid: data.id,\n\t\t\tname: data.title,\n\t\t};\n\t\tif (data.marketing_activity) eventToAdd.marketing_activity_name = data.marketing_activity_name;\n\t\tif (data.activity_premium) eventToAdd.name_activity_premium = data.name_activity_premium;\n\t\tsetEvent(eventToAdd);\n\t\tconst { start_date, end_date } = data;\n\t\tconst start = new Date(start_date);\n\t\tconst end = new Date(end_date);\n\t\tconst quantityDays = end.getDate() - start.getDate() + 1;\n\t\tconst year = start.getFullYear();\n\t\tconst month = start.getMonth();\n\t\tconst dates = [];\n\t\tfor (let i = 0; i < quantityDays; i++) {\n\t\t\tconst date = new Date(year, month, start.getDate() + i);\n\t\t\tdates.push({\n\t\t\t\tvalue: date.toLocaleDateString(),\n\t\t\t\tid: date.toISOString().split('T')[0],\n\t\t\t});\n\t\t}\n\t\tsetDateToSearch(dates);\n\t\tsetDateSearch(dates[0].id);\n\t\treturn dates;\n\t};\n\n\tconst setData = () => {\n\t\t\t\n\t}\n\n\nconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/activity?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(PopupSendDigitalTicket),\n (!_unref(activityToUpdateData).id)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n : (_openBlock(), _createBlock(UpdateActivity, { key: 1 }))\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=04496bf8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-04496bf8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, withDirectives as _withDirectives, unref as _unref, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/sem-imagem.jpg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-101c48a5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Configurações do Sistema\", -1))\nconst _hoisted_3 = { class: \"image-participant\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"box-upload-image\"\n}\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = {\n key: 1,\n class: \"image-participant-empty\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"upload-image-empty\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_8 = [\n _hoisted_7\n]\nconst _hoisted_9 = { class: \"input-box\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Nome da Empresa\", -1))\nconst _hoisted_11 = { class: \"change-colors\" }\nconst _hoisted_12 = { class: \"color\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Cor Primária\", -1))\nconst _hoisted_14 = { class: \"color\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Cor Secundária\", -1))\nconst _hoisted_16 = { class: \"color\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Detalhes do Menu\", -1))\nconst _hoisted_18 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"justify-content\":\"space-between\",\"align-content\":\"center\",\"margin-top\":\"1.5rem\"} }\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport axios from \"axios\";\nimport { reactive, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst settingsData = reactive({\n\tprimary_color: \"\",\n\tsecondary_color: \"\",\n\tdetails: \"\",\n\tlogo: \"../../assets/abrafarma_logo.svg\",\n\ttenant_name: \"Abrafarma\",\n});\nconst image = ref(\"\");\nconst toast = useToast();\nconst router = useRouter();\n\nasync function submit() {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"public/config\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(settingsData),\n\t});\n\tif (!response.ok) {\n\t\treturn toast.error(data.message || \"Erro ao atualizar a atividade\");\n\t}\n\ttoast.success(\"Sucesso\");\n\tlocalStorage.setItem(\"color-admin-primary\", settingsData.primary_color);\n\tlocalStorage.setItem(\"color-admin-secondary\", settingsData.secondary_color);\n\tlocalStorage.setItem(\"color-admin-details\", settingsData.details);\n\n\tdocument.documentElement.style.setProperty(\n\t\t\"--color-admin-primary\",\n\t\tsettingsData.primary_color || \"#073567\"\n\t);\n\tdocument.documentElement.style.setProperty(\n\t\t\"--color-admin-secondary\",\n\t\tsettingsData.secondary_color || \"#225893\"\n\t);\n\tdocument.documentElement.style.setProperty(\n\t\t\"--color-admin-details\",\n\t\tsettingsData.details || \"#7ec32c\"\n\t);\n\t// if (settingsData.logo) {\n\t// \tconst imageProfile = new File(\n\t// \t\t[settingsData.logo as any],\n\t// \t\t`image_logo.${(settingsData?.logo as any).name.split(\".\")[1]}`\n\t// \t);\n\t// }\n}\n\nconst handleImage = async ({ target }: any) => {\n\tsettingsData.logo = target.files[0];\n\t// const url = URL?.createObjectURL(target.files[0]);\n\tconst toBase64 = (file: any) =>\n\t\tnew Promise((resolve, reject) => {\n\t\t\tconst reader = new FileReader();\n\t\t\treader.readAsDataURL(file);\n\t\t\treader.onload = () => resolve(reader.result);\n\t\t\treader.onerror = (error) => reject(error);\n\t\t});\n\tconst base64 = (await toBase64(target.files[0])) as any;\n\timage.value = base64;\n\tsettingsData.logo = base64;\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_IcTrashNew = _resolveComponent(\"IcTrashNew\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"label\", _hoisted_3, [\n _createElementVNode(\"input\", {\n type: \"file\",\n accept: \"image/*\",\n onChange: _cache[0] || (_cache[0] = ($event: any) => (handleImage($event)))\n }, null, 32),\n (image.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: image.value,\n class: \"upload-image\"\n }, null, 8, _hoisted_5),\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => ((image.value = ''), (settingsData.logo = '')))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_IcTrashNew),\n _createTextVNode(\" Remover logo \")\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, _hoisted_8))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((settingsData.tenant_name) = $event))\n }, null, 512), [\n [_vModelText, settingsData.tenant_name]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((settingsData.primary_color) = $event))\n }, null, 512), [\n [_vModelText, settingsData.primary_color]\n ]),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"color\",\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((settingsData.primary_color) = $event)),\n style: {\"width\":\"100%\"}\n }, null, 512), [\n [_vModelText, settingsData.primary_color]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((settingsData.secondary_color) = $event))\n }, null, 512), [\n [_vModelText, settingsData.secondary_color]\n ]),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"color\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((settingsData.secondary_color) = $event)),\n style: {\"width\":\"100%\"}\n }, null, 512), [\n [_vModelText, settingsData.secondary_color]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((settingsData.details) = $event))\n }, null, 512), [\n [_vModelText, settingsData.details]\n ]),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"color\",\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((settingsData.details) = $event)),\n style: {\"width\":\"100%\"}\n }, null, 512), [\n [_vModelText, settingsData.details]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(BaseButton, {\n type: \"button\",\n variant: 'new-secondary',\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_unref(router).push('/event')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n type: \"button\",\n variant: 'primary',\n onClick: submit\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=101c48a5&scoped=true&lang=scss\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-101c48a5\"]])\n\nexport default __exports__","import Toast, { useToast } from 'vue-toastification';\nimport { defineStore } from 'pinia';\n\nimport { ISpeakers } from './interface';\nimport { existThisFile, HttpAdapterCustomer } from '@/helpers';\n\nexport const useStoreSpeakers = defineStore('speakers', {\n\tstate: () => ({\n\t\tspeakers: [] as ISpeakers[],\n\t\ttab: 'List' as 'List' | 'Form',\n\t\tspeakerToUpdate: undefined as ISpeakers | undefined,\n\t\tsearch: '',\n\t\tspinner: false,\n\t}),\n\tactions: {\n\t\tsetSpeakers(speakers: ISpeakers[]) {\n\t\t\tthis.speakers = speakers.map((el) => {\n\t\t\t\treturn el\n\t\t\t});\n\t\t},\n\t\taddSpeaker(speaker: ISpeakers) {\n\t\t\tthis.speakers.push(speaker);\n\t\t},\n\t\tupdateSpeaker(speaker: ISpeakers) {\n\t\t\tconst index = this.speakers.findIndex((u) => u.id === speaker.id);\n\t\t\tthis.speakers[index] = speaker;\n\t\t},\n\t\tsetSpeakerToUpdate(speaker: ISpeakers | undefined) {\n\t\t\tif(!!speaker?.avatar){\n\t\t\t\tspeaker.avatar = existThisFile(speaker.avatar)\n\t\t\t} else {\n\t\t\t\t\tif(speaker){\n\t\t\t\t\t\tspeaker.avatar = speaker?.asset?.base64;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\tthis.speakerToUpdate = speaker;\n\t\t},\n\t\tsetValueInSpeakerToUpdate(key: string, value: any) {\n\t\t\tif (!this.speakerToUpdate) this.speakerToUpdate = {} as any;\n\t\t\t(this.speakerToUpdate as any)[key] = value;\n\t\t},\n\t\tsetTab(tab: 'List' | 'Form') {\n\t\t\tif (tab === 'List') this.setSpeakerToUpdate(undefined);\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tdeleteSpeaker(id:number){\n\t\t\tdeleteSpeakerApi(id)\n\t\t}\n\t},\n});\n\nexport const ROLES = [\n\t{ id: 'admin', role: 'Administrador' },\n\t{ id: 'speaker', role: 'Usuário' },\n\t{ id: 'company_manager', role: 'Gestor' },\n\t{ id: 'organizer', role: 'Organizador' },\n\t{ id: 'stand_builder', role: 'Montadora Oficial' },\n\t{ id: 'coordinator', role: 'Coordenador' },\n];\n\n\nexport const deleteSpeakerApi = async (id:number) => {\n\tconst {data,response } = await HttpAdapterCustomer.delete({\n\t\turl:`admin/speaker/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t}\n\t});\n\tconst toast = useToast()\n\n\tconst storeSpeakers = useStoreSpeakers()\n\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar usuário');\n\ttoast.success('Usuário Excluido com sucesso');\n\tgetSpeaker(storeSpeakers.setSpeakers, storeSpeakers.search, () => {\n\t\t\tstoreSpeakers.setSpinner(false);\n\t\t});\n}\nexport const getSpeaker = async (setValue: (p: any) => void, search: string, callback: () => void,\n\t\t\tsort?:{order:string,direction:'asc' | 'desc'}): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : '';\n\tconst direction = sort?.direction? sort.direction:'asc';\n\tconst order = sort?.order? sort.order: 'name'\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/speaker${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/sem-imagem.jpg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-46c62702\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { style: {\"display\":\"flex\"} }\nconst _hoisted_3 = { style: {\"width\":\"80%\",\"margin-right\":\"2vw\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_6 = {\n class: \"image-box\",\n style: {\"border\":\"1px solid #cacaca\"}\n}\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = {\n key: 1,\n src: _imports_0,\n alt: \"\",\n width: \"180\",\n height: \"180\"\n}\nconst _hoisted_9 = {\n class: \"buttons-image\",\n style: {\"display\":\"flex\",\"justify-content\":\"space-around\",\"align-items\":\"center\",\"border-top\":\"1px solid #cacaca\",\"padding-top\":\"4px\"}\n}\nconst _hoisted_10 = {\n type: \"button\",\n style: {\"width\":\"max-content\",\"height\":\"max-content\",\"cursor\":\"pointer\",\"color\":\"var(--color-admin-primary)\"}\n}\nconst _hoisted_11 = {\n type: \"button\",\n style: {\"width\":\"max-content\",\"height\":\"max-content\",\"cursor\":\"pointer\",\"color\":\"var(--color-admin-primary)\"}\n}\nconst _hoisted_12 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"justify-content\":\"'flex-end'\",\"flex-direction\":\"column\"} }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", { style: {\"width\":\"100%\",\"text-align\":\"start\",\"color\":\"var(--color-admin-primary)\"} }, \" Mini CV \", -1))\nconst _hoisted_14 = { class: \"row\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport IcTrashNew from \"../../../../components/icons/IcTrashNew.vue\";\nimport IcUpload from \"../../../../components/icons/IcUpload.vue\";\nimport { HttpAdapterCustomer, urlOldApi } from \"../../../../helpers\";\nimport { getSpeaker, ROLES, useStoreSpeakers } from \"../store\";\nimport { QuillEditor } from \"@vueup/vue-quill\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport { onBeforeMount, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeSpeakers = useStoreSpeakers();\nconst toast = useToast();\nconst submit = async () => {\n\tstoreSpeakers.updateSpeaker(storeSpeakers.speakerToUpdate as any);\n\tdelete storeSpeakers.speakerToUpdate?.role;\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/speaker\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(storeSpeakers.speakerToUpdate),\n\t});\n\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar palestrante\");\n\tstoreSpeakers.setValueInSpeakerToUpdate(\"avatar\", data.avatar);\n\ttoast.success(\"Palestrante Atualizado com sucesso\");\n\tstoreSpeakers.setTab(\"List\");\n\tgetSpeaker(storeSpeakers.setSpeakers, storeSpeakers.search, () => {\n\t\tstoreSpeakers.setSpinner(false);\n\t});\n};\nconst avatar = ref(\"\");\n\nconst fixImage = async () => {\n\tconst urlFormated = urlOldApi.replace(\"/api\", \"/content\");\n\tif (storeSpeakers.speakerToUpdate?.avatar) {\n\t\tconst imageLogo = urlFormated + \"/\" + storeSpeakers.speakerToUpdate?.avatar;\n\t\tconst res = await fetch(imageLogo);\n\t\tif (res.ok)\n\t\t\treturn storeSpeakers.setValueInSpeakerToUpdate(\"avatar\", imageLogo);\n\t}\n\tstoreSpeakers.setValueInSpeakerToUpdate(\n\t\t\"avatar\",\n\t\t\"https://via.placeholder.com/150\"\n\t);\n};\n\nconst updateImage = (event: any) => {\n\tconst file = event.target.files[0];\n\tconst reader = new FileReader();\n\treader.onload = (e: any) => {\n\t\tavatar.value = e.target.result;\n\t\tstoreSpeakers.setValueInSpeakerToUpdate(\"asset\", {\n\t\t\tbase64: e.target.result,\n\t\t\tfilename: file.name,\n\t\t});\n\n\t\tstoreSpeakers.setValueInSpeakerToUpdate(\"avatar\", e.target.result);\n\t};\n\treader.readAsDataURL(file);\n};\n\nconst removeImage = () => {\n\tstoreSpeakers.setValueInSpeakerToUpdate(\n\t\t\"avatar\",\n\t\t\"https://via.placeholder.com/150\"\n\t);\n};\n\nconst urlFormated = urlOldApi.replace(\"/api\", \"/content\");\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: \"form-layout\"\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome *\",\n placeholder: \"Nome\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeSpeakers).speakerToUpdate?.name?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeSpeakers).speakerToUpdate?.name,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate(\n\t\t\t\t\t\t\t\t'name',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"credential_name\",\n label: \"Nome da credencial *\",\n placeholder: \"Nome da credencial\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeSpeakers).speakerToUpdate?.credential_name?.length || '0') +\n\t\t\t\t\t\t\t'/20'\n\t\t\t\t\t\t,\n value: _unref(storeSpeakers).speakerToUpdate?.credential_name,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate(\n\t\t\t\t\t\t\t\t'credential_name',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"position\",\n label: \"Cargo *\",\n placeholder: \"Cargo\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeSpeakers).speakerToUpdate?.position?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeSpeakers).speakerToUpdate?.position,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate(\n\t\t\t\t\t\t\t\t'position',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"email\",\n label: \"Email\",\n placeholder: \"Email\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeSpeakers).speakerToUpdate?.email?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeSpeakers).speakerToUpdate?.email,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate(\n\t\t\t\t\t\t\t\t'email',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"document\",\n label: \"Documento *\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeSpeakers).speakerToUpdate?.name?.length || '0') + '/14'\n\t\t\t\t\t\t,\n placeholder: \"Documento\",\n value: _unref(storeSpeakers).speakerToUpdate?.document,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate(\n\t\t\t\t\t\t\t\t'document',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"password\",\n label: \"Senha\",\n type: \"password\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeSpeakers).speakerToUpdate?.password?.length || '0') + '/20'\n\t\t\t\t\t\t,\n placeholder: \"Senha\",\n value: _unref(storeSpeakers).speakerToUpdate?.password,\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate(\n\t\t\t\t\t\t\t\t'password',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", null, [\n (_unref(storeSpeakers).speakerToUpdate?.avatar)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _unref(storeSpeakers).speakerToUpdate?.avatar,\n alt: \"\",\n width: \"180\",\n height: \"180\"\n }, null, 8, _hoisted_7))\n : _createCommentVNode(\"\", true),\n (!_unref(storeSpeakers).speakerToUpdate?.avatar)\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_8))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", _hoisted_10, [\n _createVNode(IcUpload),\n _createElementVNode(\"input\", {\n type: \"file\",\n style: {\"display\":\"none\"},\n onInput: updateImage,\n accept: \".png, .jpg,.jpeg\"\n }, null, 32)\n ]),\n _createElementVNode(\"label\", _hoisted_11, [\n _createVNode(IcTrashNew),\n _createElementVNode(\"input\", {\n style: {\"display\":\"none\"},\n onClick: removeImage\n })\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createVNode(_unref(QuillEditor), {\n theme: \"snow\",\n style: {\"height\":\"200px\"},\n toolbar: \"essential\",\n contenteditable: true,\n content: _unref(storeSpeakers).speakerToUpdate?.note || '',\n \"content-type\": \"html\",\n \"onUpdate:content\": _cache[6] || (_cache[6] = ($event: any) => (\n\t\t\t\t\t_unref(storeSpeakers).setValueInSpeakerToUpdate('note', $event)\n\t\t\t\t))\n }, null, 8, [\"content\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_unref(storeSpeakers).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_1))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=46c62702&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-46c62702\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1c6541ab\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_IcSearch = _resolveComponent(\"IcSearch\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.storeSpeakers.spinner)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _ctx.storeSpeakers.search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (_ctx.search($event.target.value)))\n }, null, 8, [\"value\"]),\n (_ctx.miniSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createBlock(_component_IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_ctx.storeSpeakers && _ctx.storeSpeakers.speakers)\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 1,\n columns: _ctx.columns,\n overflowX: \"hidden\",\n rows: _ctx.storeSpeakers.speakers,\n tableActions: _ctx.tableActions,\n onOnsort: _cache[1] || (_cache[1] = \n\t\t\t\t(column, direction) => {\n\t\t\t\t\t_ctx.getSpeaker(\n\t\t\t\t\t\t_ctx.storeSpeakers.setSpeakers,\n\t\t\t\t\t\t_ctx.storeSpeakers.search,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t_ctx.storeSpeakers.setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column === 'roleName' ? 'role' : column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t)\n }, null, 8, [\"columns\", \"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { HttpAdapterCustomer } from \"@/helpers\";\nimport { useToast } from \"vue-toastification\";\nimport { useStoreSpeakers } from \"./store\";\n\nexport const deleteSpeakerApi = async (id: number) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/speaker/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t}\n\t});\n\tconst toast = useToast()\n\n\tconst storeSpeakers = useStoreSpeakers()\n\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar usuário');\n\ttoast.success('Palestrante Excluido com sucesso');\n\tgetSpeaker(storeSpeakers.setSpeakers, storeSpeakers.search, () => {\n\t\tstoreSpeakers.setSpinner(false);\n\t});\n}\nexport const getSpeaker = async (setValue: (p: any) => void, search: string, callback: () => void,\n\tsort?: { order: string, direction: 'asc' | 'desc' }): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : '';\n\tconst direction = sort?.direction ? sort.direction : 'asc';\n\tconst order = sort?.order ? sort.order : 'name'\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/speaker${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};","\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport Spinner from \"../../../../components/Atoms/Spinner.vue\";\nimport Table from \"../../../../components/Organism/Table/table.vue\";\nimport IcEdit from \"../../../../components/icons/IcEdit.vue\";\nimport IcSearch from \"../../../../components/icons/IcSearch.vue\";\nimport IcTrash from \"../../../../components/icons/IcTrash.vue\";\nimport IcVerticalDots from \"../../../../components/icons/IcVerticalDots.vue\";\nimport { debounce } from \"../../../../helpers/debounce\";\nimport { ISpeakers } from \"../interface\";\nimport { getSpeaker } from \"../service\";\nimport { ROLES, useStoreSpeakers } from \"../store\";\nimport { defineComponent, ref, watch } from \"vue\";\n\nexport default defineComponent({\n\tname: \"MenuTable\",\n\tcomponents: {\n\t\tBaseInput,\n\t\tIcTrash,\n\t\tIcSearch,\n\t\tIcEdit,\n\t\tBaseButton,\n\t\tTable,\n\t\tSpinner,\n\t},\n\tsetup(props) {\n\t\tconst storeSpeakers = useStoreSpeakers();\n\n\t\tconst miniSpinner = ref(false);\n\n\t\tconst updateSpeaker = (speaker: ISpeakers) => {\n\t\t\tstoreSpeakers.setSpeakerToUpdate(speaker);\n\t\t\tstoreSpeakers.setTab(\"Form\");\n\t\t};\n\n\t\tconst search = (value: string) => {\n\t\t\tstoreSpeakers.setSearch(value);\n\t\t\tminiSpinner.value = true;\n\t\t\tconst TRHEE_SECONDS = 1 * 1000;\n\t\t\tdebounce(() => {\n\t\t\t\tstoreSpeakers.setSpinner(true);\n\t\t\t\tminiSpinner.value = false;\n\n\t\t\t\tgetSpeaker(storeSpeakers.setSpeakers, storeSpeakers.search, () => {\n\t\t\t\t\tstoreSpeakers.setSpinner(false);\n\t\t\t\t});\n\t\t\t}, TRHEE_SECONDS);\n\t\t};\n\n\t\tconst tableActions = [\n\t\t\t{\n\t\t\t\ttitle: \"Editar\",\n\t\t\t\ticon: IcEdit,\n\t\t\t\tonClick: (speaker: any) => updateSpeaker(speaker),\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Excluir\",\n\t\t\t\ticon: IcTrash,\n\t\t\t\tonClick: (speaker: any) => storeSpeakers.deleteSpeaker(speaker.id),\n\t\t\t},\n\t\t];\n\n\t\tconst columns = [\n\t\t\t{\n\t\t\t\ttitle: \"Nome\",\n\t\t\t\tvalue: \"name\",\n\t\t\t\tid: 1,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"40%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Email\",\n\t\t\t\tvalue: \"email\",\n\t\t\t\tid: 3,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"40%\",\n\t\t\t},\n\t\t];\n\n\t\treturn {\n\t\t\tcolumns,\n\t\t\ttableActions,\n\t\t\tstoreSpeakers,\n\t\t\tminiSpinner,\n\t\t\tTable,\n\t\t\tSpinner,\n\t\t\tsearch,\n\t\t\tgetSpeaker,\n\t\t};\n\t},\n});\n","import { render } from \"./index.vue?vue&type=template&id=1c6541ab&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=1c6541ab&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1c6541ab\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3afaacbf\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 20px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\n\nimport { onBeforeMount, onUnmounted, ref } from 'vue';\n\n\timport IcDoubleUser from '../../../components/icons/IcDoubleUser.vue';\n\timport Form from './Form/index.vue';\n\timport List from './List/index.vue';\n\timport { ROLES, useStoreSpeakers } from './store';\n\timport {getSpeaker} from './service'\n\timport BaseButton from '../../../components/Atoms/BaseButton.vue';\n\timport Spinner from '../../../components/Atoms/Spinner.vue';\n\timport IcArrowLeft from '../../../components/icons/IcArrowLeft.vue';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst storeSpeakers = useStoreSpeakers();\n\t\n\tonBeforeMount(() => {\n\t\tgetSpeaker(storeSpeakers.setSpeakers, storeSpeakers.search, () => {\n\t\t\tstoreSpeakers.setSpinner(false);\n\t\t});\n\t});\n\n\tonUnmounted(() => {\n\t\tstoreSpeakers.setTab('List');\n\t\tstoreSpeakers.setSearch('')\n\t});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeSpeakers).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(storeSpeakers).tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeSpeakers).setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeSpeakers).tab === 'List')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(storeSpeakers).setTab('Form'), _unref(storeSpeakers).setSpeakerToUpdate({ role: _unref(ROLES)[1].id })))\n }, {\n default: _withCtx(() => [\n _createVNode(IcDoubleUser, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_unref(storeSpeakers).tab === 'List' ? List : Form)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3afaacbf&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3afaacbf\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6c06938e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/taxas?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6c06938e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6c06938e\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcUser.vue?vue&type=template&id=3f359678\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Toast, { useToast } from 'vue-toastification';\nimport { defineStore } from 'pinia';\n\nimport { IUsers } from './interface';\nimport { HttpAdapterCustomer } from '@/helpers';\n\nexport const useStoreUsers = defineStore('users', {\n\tstate: () => ({\n\t\tusers: [] as IUsers[],\n\t\ttab: 'List' as 'List' | 'Form',\n\t\tuserToUpdate: undefined as IUsers | undefined,\n\t\tsearch: '',\n\t\tspinner: false,\n\t}),\n\tactions: {\n\t\tsetUsers(users: IUsers[]) {\n\t\t\tthis.users = users.map((el) => {\n\t\t\t\tel.roleName = ROLES.find((role) => role.id === el.role)?.role || '' \n\t\t\t\treturn el\n\t\t\t});\n\t\t},\n\t\taddUser(user: IUsers) {\n\t\t\tthis.users.push(user);\n\t\t},\n\t\tupdateUser(user: IUsers) {\n\t\t\tconst index = this.users.findIndex((u) => u.id === user.id);\n\t\t\tthis.users[index] = user;\n\t\t},\n\t\tsetUserToUpdate(user: IUsers | undefined) {\n\t\t\tthis.userToUpdate = user;\n\t\t},\n\t\tsetValueInUserToUpdate(key: string, value: string) {\n\t\t\tif (!this.userToUpdate) this.userToUpdate = {} as any;\n\t\t\t(this.userToUpdate as any)[key] = value;\n\t\t},\n\t\tsetTab(tab: 'List' | 'Form') {\n\t\t\tif (tab === 'List') this.setUserToUpdate(undefined);\n\t\t\tthis.tab = tab;\n\t\t},\n\t\tsetSearch(search: string) {\n\t\t\tthis.search = search;\n\t\t},\n\t\tsetSpinner(spinner: boolean) {\n\t\t\tthis.spinner = spinner;\n\t\t},\n\t\tdeleteUser(id:number){\n\t\t\tdeleteUserApi(id)\n\t\t}\n\t},\n});\n\nexport const ROLES = [\n\t{ id: 'admin', role: 'Administrador' },\n\t{ id: 'user', role: 'Usuário' },\n\t{ id: 'company_manager', role: 'Gestor' },\n\t{ id: 'organizer', role: 'Organizador' },\n\t{ id: 'stand_builder', role: 'Montadora Oficial' },\n\t{ id: 'coordinator', role: 'Coordenador' },\n\t{id:'sender',role:'Remetente'}\n];\n\n\nexport const deleteUserApi = async (id:number) => {\n\tconst {data,response } = await HttpAdapterCustomer.delete({\n\t\turl:`admin/user/${id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t}\n\t});\n\tconst toast = useToast()\n\n\tconst storeUsers = useStoreUsers()\n\tif (!response.ok) return toast.error(data.message || 'Erro ao cadastrar usuário');\n\ttoast.success('Usuário Excluido com sucesso');\n\tgetUser(storeUsers.setUsers, storeUsers.search, () => {\n\t\t\tstoreUsers.setSpinner(false);\n\t\t});\n}\nexport const getUser = async (setValue: (p: any) => void, search: string, callback: () => void,\n\t\t\tsort?:{order:string,direction:'asc' | 'desc'}): Promise => {\n\tconst hasSearch = search ? `&like=${search}` : '';\n\tconst direction = sort?.direction? sort.direction:'asc';\n\tconst order = sort?.order? sort.order: 'name'\n\tconst query = `?direction=${direction}&orderBy=${order}&page=1&limit=500${hasSearch}`;\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/user${query}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\tcallback();\n\tif (!response.ok) return;\n\tsetValue(data);\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-01195759\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"1vh\"} }\nconst _hoisted_2 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_3 = { class: \"row\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../components/Atoms/BaseSelect.vue\";\nimport { HttpAdapterCustomer } from \"../../../../helpers\";\nimport { getUser, ROLES, useStoreUsers } from \"../store\";\nimport { onBeforeMount } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeUsers = useStoreUsers();\nconst toast = useToast();\n\nconst submit = async () => {\n\tif (!storeUsers.userToUpdate?.role)\n\t\tstoreUsers.setValueInUserToUpdate(\"role\", ROLES[1].id);\n\tstoreUsers.updateUser(storeUsers.userToUpdate as any);\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/user\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(storeUsers.userToUpdate),\n\t});\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar usuário\");\n\ttoast.success(\"Usuário Atualizado com sucesso\");\n\tstoreUsers.setTab(\"List\");\n\tgetUser(storeUsers.setUsers, storeUsers.search, () => {\n\t\tstoreUsers.setSpinner(false);\n\t});\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Form = _resolveComponent(\"Form\")!\n\n return (_openBlock(), _createBlock(_component_Form, {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: \"form-layout\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome\",\n placeholder: \"Nome\",\n value: _unref(storeUsers).userToUpdate?.name,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeUsers).setValueInUserToUpdate('name', $event.target.value)))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"email\",\n label: \"Email\",\n placeholder: \"Email\",\n value: _unref(storeUsers).userToUpdate?.email,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t_unref(storeUsers).setValueInUserToUpdate('email', $event.target.value)\n\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseSelect, {\n label: \"Tipo *\",\n options: _unref(ROLES),\n keys: { keyValue: 'id', keyLabel: 'role' },\n value: _unref(storeUsers).userToUpdate?.role,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (_unref(storeUsers).setValueInUserToUpdate('role', $event.target.value)))\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"password\",\n label: \"Senha\",\n type: \"password\",\n placeholder: \"Senha\",\n value: _unref(storeUsers).userToUpdate?.password,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t_unref(storeUsers).setValueInUserToUpdate('password', $event.target.value)\n\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_unref(storeUsers).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"onSubmit\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=01195759&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-01195759\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0528c025\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_IcSearch = _resolveComponent(\"IcSearch\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.storeUsers.spinner)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _ctx.storeUsers.search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (_ctx.search($event.target.value)))\n }, null, 8, [\"value\"]),\n (_ctx.miniSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createBlock(_component_IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_ctx.storeUsers && _ctx.storeUsers.users)\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 1,\n columns: _ctx.columns,\n rows: _ctx.storeUsers.users,\n tableActions: _ctx.tableActions,\n onOnsort: _cache[1] || (_cache[1] = (column,direction) => {\n _ctx.getUser(_ctx.storeUsers.setUsers, _ctx.storeUsers.search, () => {\n _ctx.storeUsers.setSpinner(false);\n },{order:column === 'roleName'?'role':column,direction:direction});\n \n\t\t\t\t})\n }, null, 8, [\"columns\", \"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\n\timport { defineComponent, ref, watch } from 'vue';\n\n\timport { IUsers } from '../interface';\n\timport { ROLES, getUser, useStoreUsers } from '../store';\n\timport BaseButton from '../../../../components/Atoms/BaseButton.vue';\n\timport BaseInput from '../../../../components/Atoms/BaseInput.vue';\n\timport Spinner from '../../../../components/Atoms/Spinner.vue';\n\timport IcSearch from '../../../../components/icons/IcSearch.vue';\n\timport IcTrash from '../../../../components/icons/IcTrash.vue';\n\timport IcEdit from '../../../../components/icons/IcEdit.vue';\n\n\timport IcVerticalDots from '../../../../components/icons/IcVerticalDots.vue';\n\timport { debounce } from '../../../../helpers/debounce';\n\timport Table from '../../../../components/Organism/Table/table.vue'\n\n\n export default defineComponent({\n\t\tname: 'MenuTable',\n\t\tcomponents: {\n\t\t\tBaseInput,\n\t\t\tIcTrash,\n IcSearch,\n IcEdit,\n BaseButton,\n\t\t\tTable,\n\t\t\tSpinner\n\t\t},\n\t\tsetup(props) {\n\tconst storeUsers = useStoreUsers();\n\n\tconst miniSpinner = ref(false);\n\n\tconst updateUser = (user: IUsers) => {\n\t\tstoreUsers.setUserToUpdate(user);\n\t\tstoreUsers.setTab('Form');\n\t};\n\n\t\n\n\tconst search = (value: string) => {\n\t\tstoreUsers.setSearch(value);\n\t\tminiSpinner.value = true;\n\t\tconst TRHEE_SECONDS = 1 * 1000;\n\t\tdebounce(() => {\n\t\t\tstoreUsers.setSpinner(true);\n\t\t\tminiSpinner.value = false;\n\t\t\t\n\t\t\tgetUser(storeUsers.setUsers, storeUsers.search, () => {\n\t\t\t\tstoreUsers.setSpinner(false);\n\t\t\t});\n\t\t}, TRHEE_SECONDS);\n\t};\n\n\tconst tableActions = [{\n\t\ttitle:'Editar',\n\t\ticon: IcEdit,\n\t\tonClick: ((user:any) => updateUser(user))\n\t},{\n\t\ttitle:'Excluir',\n\t\ticon:IcTrash,\n\t\tonClick: ((user:any) => storeUsers.deleteUser(user.id))\n\t}]\n\n\tconst columns = [{\n\t\ttitle:'Nome',\n\t\tvalue:'name',\n\t\tid:1,\n\t\tsort: true,\n\t\twidth:'25%'\n\t},{\n\t\ttitle:'Papel',\n\t\tvalue:'roleName',\n\t\tid:2,\n\t\tsort: true,\n\t\twidth:'25%'\n\t},{\n\t\ttitle:'Email',\n\t\tvalue:'email',\n\t\twidth:'25%',\n\t\tid:3,\n\t\tsort: true\n\t}]\n\n return {\n columns,\n\t\t tableActions,\n\t\t storeUsers,\n\t\t miniSpinner,\n\t\t Table,\n\t\t Spinner,\n\t\t search,\n\t\t getUser\n }\n } \n })\n","import { render } from \"./index.vue?vue&type=template&id=0528c025&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=0528c025&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0528c025\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1ae455a4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 20px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport IcUser from \"../../../components/icons/IcUser.vue\";\nimport Form from \"./Form/index.vue\";\nimport List from \"./List/index.vue\";\nimport { ROLES, getUser, useStoreUsers } from \"./store\";\nimport { onBeforeMount, onUnmounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeUsers = useStoreUsers();\nonBeforeMount(() => {\n\tgetUser(storeUsers.setUsers, storeUsers.search, () => {\n\t\tstoreUsers.setSpinner(false);\n\t});\n});\n\nonUnmounted(() => {\n\tstoreUsers.setTab(\"List\");\n\tstoreUsers.setSearch(\"\");\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeUsers).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(storeUsers).tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeUsers).setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeUsers).tab === 'List')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t_unref(storeUsers).setTab('Form'),\n\t\t\t\t\t\t_unref(storeUsers).setUserToUpdate({ role: _unref(ROLES)[1].id })\n\t\t\t\t))\n }, {\n default: _withCtx(() => [\n _createVNode(IcUser, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_unref(storeUsers).tab === 'List' ? List : Form)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=1ae455a4&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1ae455a4\"]])\n\nexport default __exports__","export const companyType = [\n\t{ id: \"not informed\", title: \"Não informado\" },\n\t{ id: \"commercial partner\", title: \"Parceiro comercial\" },\n\t{ id: \"associated\", title: \"Associado\" },\n\t{ id: \"government\", title: \"Governamental\" },\n\t{ id: \"entity\", title: \"Entidade\" },\n\t{ id: \"midia\", title: \"Mídia\" },\n\t{ id: \"invited\", title: \"Convidado\" },\n\t{ id: \"organizer\", title: \"Organização\" },\n\t{ id: \"stand_builder\", title: \"Montadora Oficial\" },\n\t{ id: \"ticket sale\", title: \"Inscrição\" },\n];\n","export const states = [{\n \"ID\": \"1\",\n \"code\": \"AC\",\n \"name\": \"Acre\"\n},\n{\n \"ID\": \"2\",\n \"code\": \"AL\",\n \"name\": \"Alagoas\"\n},\n{\n \"ID\": \"3\",\n \"code\": \"AM\",\n \"name\": \"Amazonas\"\n},\n{\n \"ID\": \"4\",\n \"code\": \"AP\",\n \"name\": \"Amapá\"\n},\n{\n \"ID\": \"5\",\n \"code\": \"BA\",\n \"name\": \"Bahia\"\n},\n{\n \"ID\": \"6\",\n \"code\": \"CE\",\n \"name\": \"Ceará\"\n},\n{\n \"ID\": \"7\",\n \"code\": \"DF\",\n \"name\": \"Distrito Federal\"\n},\n{\n \"ID\": \"8\",\n \"code\": \"ES\",\n \"name\": \"Espírito Santo\"\n},\n{\n \"ID\": \"9\",\n \"code\": \"GO\",\n \"name\": \"Goiás\"\n},\n{\n \"ID\": \"10\",\n \"code\": \"MA\",\n \"name\": \"Maranhão\"\n},\n{\n \"ID\": \"11\",\n \"code\": \"MG\",\n \"name\": \"Minas Gerais\"\n},\n{\n \"ID\": \"12\",\n \"code\": \"MS\",\n \"name\": \"Mato Grosso do Sul\"\n},\n{\n \"ID\": \"13\",\n \"code\": \"MT\",\n \"name\": \"Mato Grosso\"\n},\n{\n \"ID\": \"14\",\n \"code\": \"PA\",\n \"name\": \"Pará\"\n},\n{\n \"ID\": \"15\",\n \"code\": \"PB\",\n \"name\": \"Paraíba\"\n},\n{\n \"ID\": \"16\",\n \"code\": \"PE\",\n \"name\": \"Pernambuco\"\n},\n{\n \"ID\": \"17\",\n \"code\": \"PI\",\n \"name\": \"Piauí\"\n},\n{\n \"ID\": \"18\",\n \"code\": \"PR\",\n \"name\": \"Paraná\"\n},\n{\n \"ID\": \"19\",\n \"code\": \"RJ\",\n \"name\": \"Rio de Janeiro\"\n},\n{\n \"ID\": \"20\",\n \"code\": \"RN\",\n \"name\": \"Rio Grande do Norte\"\n},\n{\n \"ID\": \"21\",\n \"code\": \"RO\",\n \"name\": \"Rondônia\"\n},\n{\n \"ID\": \"22\",\n \"code\": \"RR\",\n \"name\": \"Roraima\"\n},\n{\n \"ID\": \"23\",\n \"code\": \"RS\",\n \"name\": \"Rio Grande do Sul\"\n},\n{\n \"ID\": \"24\",\n \"code\": \"SC\",\n \"name\": \"Santa Catarina\"\n},\n{\n \"ID\": \"25\",\n \"code\": \"SE\",\n \"name\": \"Sergipe\"\n},\n{\n \"ID\": \"26\",\n \"code\": \"SP\",\n \"name\": \"São Paulo\"\n},\n{\n \"ID\": \"27\",\n \"code\": \"TO\",\n \"name\": \"Tocantins\"\n}\n];","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-60bf0957\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\"} }\nconst _hoisted_2 = { style: {\"width\":\"100%\"} }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin\":\"0.5rem 0 1rem 0\"} }\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_6 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_8 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin\":\"0.2rem 0\"} }\nconst _hoisted_9 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin\":\"0.5rem 0\"} }\nconst _hoisted_10 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin\":\"0.5rem 0\"} }\nconst _hoisted_11 = { class: \"row\" }\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../components/Atoms/BaseSelect.vue\";\nimport { companyType } from \"../../../../constants/company-type\";\nimport { states } from \"../../../../constants/states\";\nimport { HttpAdapterCustomer, urlOldApi } from \"../../../../helpers\";\nimport { getCompany, ROLES, useStoreCompanys } from \"../store\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport { onMounted } from \"vue\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst storeCompanys = useStoreCompanys();\nconst toast = useToast();\n\nfunction splitAndClean(input) {\n // Split the string by spaces and commas, and filter out empty values\n return input\n .split(/[\\s,]+/) // Split by spaces and commas\n .filter(value => value.trim() !== ''); // Remove empty values\n}\n\nconst submit = async () => {\n\tstoreCompanys.updateCompany(storeCompanys.companyToUpdate as any);\n\tconst body = storeCompanys.companyToUpdate;\n\n\tbody.domains = typeof storeCompanys.companyToUpdate.domains === 'string' ? splitAndClean(storeCompanys.companyToUpdate.domains) : storeCompanys.companyToUpdate.domains;\n\tbody.cep = storeCompanys.companyToUpdate.cep?.replaceAll(\"-\", \"\");\n\tbody.cnpj = storeCompanys.companyToUpdate.cnpj\n\t\t?.replaceAll(\"-\", \"\")\n\t\t.replaceAll(\".\", \"\")\n\t\t.replaceAll(\"/\", \"\");\n\tbody.phone = storeCompanys.companyToUpdate.phone\n\t\t?.replaceAll(\"-\", \"\")\n\t\t.replaceAll(\"(\", \"\")\n\t\t.replaceAll(\")\", \"\");\n\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/company\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(body),\n\t});\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar empresa\");\n\ttoast.success(\"Empresa Atualizada com sucesso\");\n\tstoreCompanys.setTab(\"List\");\n\tgetCompany(storeCompanys.setCompanys, storeCompanys.search, () => {\n\t\tstoreCompanys.setSpinner(false);\n\t});\n};\n\nonMounted(() => {});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Form = _resolveComponent(\"Form\")!\n\n return (_openBlock(), _createBlock(_component_Form, {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: \"form-layout\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome Fantasia *\",\n placeholder: \"Nome Fantasia\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeCompanys).companyToUpdate?.name?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeCompanys).companyToUpdate?.name,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'name',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"social_name\",\n label: \"Razão Social *\",\n placeholder: \"Razão Social\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeCompanys).companyToUpdate?.social_name?.length || '0') +\n\t\t\t\t\t\t\t'/20'\n\t\t\t\t\t\t,\n value: _unref(storeCompanys).companyToUpdate?.social_name,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'social_name',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _withDirectives(_createVNode(BaseInput, {\n name: \"cnpj\",\n label: \"CNPJ *\",\n placeholder: \"CNPJ *\",\n value: _unref(storeCompanys).companyToUpdate?.cnpj,\n required: \"\",\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'cnpj',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, '##.###.###/####-##']\n ]),\n _createVNode(BaseInput, {\n name: \"date_of_association\",\n label: \"Data de associação *\",\n type: \"date\",\n placeholder: \"Data\",\n value: _unref(storeCompanys).companyToUpdate?.date_of_association,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'date_of_association',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n name: \"address\",\n label: \"Endereço *\",\n placeholder: \"Endereço\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeCompanys).companyToUpdate?.address?.length || '0') + '/250'\n\t\t\t\t\t\t,\n value: _unref(storeCompanys).companyToUpdate?.address,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _withDirectives(_createVNode(BaseInput, {\n name: \"phone\",\n label: \"Telefone *\",\n placeholder: \"Telefone\",\n value: _unref(storeCompanys).companyToUpdate?.phone,\n required: \"\",\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'phone',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _withDirectives(_createVNode(BaseInput, {\n name: \"cep\",\n label: \"CEP *\",\n placeholder: \"CEP\",\n value: _unref(storeCompanys).companyToUpdate?.cep,\n onChange: _cache[6] || (_cache[6] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'cep',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, '#####-###']\n ]),\n _createVNode(BaseInput, {\n name: \"city\",\n label: \"Município *\",\n placeholder: \"Município\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeCompanys).companyToUpdate?.city?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeCompanys).companyToUpdate?.city,\n onChange: _cache[7] || (_cache[7] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'city',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseSelect, {\n label: \"UF *\",\n options: \n\t\t\t\t\t\t\t_unref(states).map((el) => {\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tid: el.code,\n\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t,\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeCompanys).companyToUpdate?.uf,\n onChange: _cache[8] || (_cache[8] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate('uf', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"country\",\n label: \"País *\",\n placeholder: \"País\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeCompanys).companyToUpdate?.country?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeCompanys).companyToUpdate?.country,\n onChange: _cache[9] || (_cache[9] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'country',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"email\",\n label: \"E-mail *\",\n type: \"email\",\n placeholder: \"E-mail\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeCompanys).companyToUpdate?.email?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeCompanys).companyToUpdate?.email,\n required: \"\",\n onChange: _cache[10] || (_cache[10] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'email',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseSelect, {\n label: \"Status *\",\n options: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'active',\n\t\t\t\t\t\t\t\ttitle: 'Ativa',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: 'inactive',\n\t\t\t\t\t\t\t\ttitle: 'Inativa',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeCompanys).companyToUpdate?.status,\n onChange: _cache[11] || (_cache[11] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'status',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Tipo da empresa *\",\n options: \n\t\t\t\t\t\t\t_unref(companyType).map((el) => {\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\ttitle: el.title,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t,\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeCompanys).companyToUpdate?.type,\n onChange: _cache[12] || (_cache[12] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'type',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(BaseInput, {\n name: \"domains\",\n label: \"Domínios (digitar sem o '@')*\",\n placeholder: \"Insira um Domínio\",\n required: \"\",\n value: _unref(storeCompanys).companyToUpdate?.domains,\n onChange: _cache[13] || (_cache[13] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'domains',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(BaseSelect, {\n label: \"Tipo de patrocínio\",\n options: \n\t\t\t\t\t\t\t_unref(storeCompanys).sponsors.map((el) => {\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t,\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _unref(storeCompanys).companyToUpdate?.sponsorship_type_id,\n onChange: _cache[14] || (_cache[14] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanys).setValueInCompanyToUpdate(\n\t\t\t\t\t\t\t\t'sponsorship_type_id',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[15] || (_cache[15] = ($event: any) => (_unref(storeCompanys).setTab('List')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"onSubmit\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=60bf0957&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-60bf0957\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-315f292b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\"} }\nconst _hoisted_2 = { style: {\"width\":\"100%\",\"margin-right\":\"2vw,background:red\"} }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\",\"color\":\"var(--color-admin-primary)\"} }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\"} }\nconst _hoisted_6 = { class: \"row\" }\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../components/Atoms/BaseSelect.vue\";\nimport IcTrash from \"../../../../../components/icons/IcTrash.vue\";\nimport IcUpload from \"../../../../../components/icons/IcUpload.vue\";\nimport { states } from \"../../../../../constants/states\";\nimport { HttpAdapterCustomer, urlOldApi } from \"../../../../../helpers\";\nimport { getGestores } from \"../../service\";\nimport { ROLES, useStoreCompanys } from \"../../store\";\nimport { QuillEditor } from \"@vueup/vue-quill\";\nimport \"@vueup/vue-quill/dist/vue-quill.snow.css\";\nimport { defineComponent, onBeforeMount, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeGestors = useStoreCompanys();\nconst toast = useToast();\n\nconst submit = async () => {\n\tconst gestor: any = storeGestors.gestorToUpdate;\n\tconst storeCompanys = useStoreCompanys();\n\n\tgestor.company_id = storeCompanys.companyToUpdate.id;\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: \"admin/user\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t\tbody: JSON.stringify(storeGestors.gestorToUpdate),\n\t});\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao cadastrar gestor\");\n\ttoast.success(\"Gestor Atualizado com sucesso\");\n\tstoreGestors.setTab(\"List\");\n\tgetGestores(\n\t\tstoreCompanys.companyToUpdate.id,\n\t\tstoreGestors.setGestores,\n\t\tstoreGestors.search,\n\t\t() => {\n\t\t\tstoreGestors.setSpinner(false);\n\t\t}\n\t);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_Form = _resolveComponent(\"Form\")!\n\n return (_openBlock(), _createBlock(_component_Form, {\n onSubmit: _withModifiers(submit, [\"prevent\"]),\n class: \"form-layout\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", _hoisted_3, _toDisplayString(!!_unref(storeGestors).gestorToUpdate?.name\n\t\t\t\t\t\t\t? \"Editar Gestor\"\n\t\t\t\t\t\t\t: \"Cadastrar Gestor\"), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome *\",\n placeholder: \"Nome\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeGestors).gestorToUpdate?.name?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeGestors).gestorToUpdate?.name,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeGestors).setValueInGestorToUpdate('name', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"email\",\n label: \"Email *\",\n placeholder: \"Email\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeGestors).gestorToUpdate?.email?.length || '0') + '/100'\n\t\t\t\t\t\t,\n value: _unref(storeGestors).gestorToUpdate?.email,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeGestors).setValueInGestorToUpdate(\n\t\t\t\t\t\t\t\t'email',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseSelect, {\n name: \"role\",\n label: \"Papel *\",\n placeholder: \"Papel\",\n disabled: true,\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t_unref(ROLES).map((el) => {\n\t\t\t\t\t\t\t\treturn { id: el.id, title: el.role };\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t,\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeGestors).gestorToUpdate?.role?.length || '0') + '/14'\n\t\t\t\t\t\t,\n value: _unref(storeGestors).gestorToUpdate?.role,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeGestors).setValueInGestorToUpdate('role', $event.target.value)\n\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"maxLength\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"password\",\n label: \"Senha\",\n type: \"password\",\n maxLength: \n\t\t\t\t\t\t\t(_unref(storeGestors).gestorToUpdate?.password?.length || '0') + '/20'\n\t\t\t\t\t\t,\n placeholder: \"Senha\",\n value: _unref(storeGestors).gestorToUpdate?.password,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeGestors).setValueInGestorToUpdate(\n\t\t\t\t\t\t\t\t'password',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t))\n }, null, 8, [\"maxLength\", \"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n onClick: _cache[4] || (_cache[4] = ($event: any) => {\n\t\t\t\t\t_unref(storeGestors).setTab('List');\n\t\t\t\t\t_unref(storeGestors).setTabAdd(false);\n\t\t\t\t})\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"onSubmit\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=315f292b&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-315f292b\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-abc0cc46\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\nconst _hoisted_3 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_4 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n const _component_IcArrowLeft = _resolveComponent(\"IcArrowLeft\")!\n const _component_BaseButton = _resolveComponent(\"BaseButton\")!\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_IcSearch = _resolveComponent(\"IcSearch\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.storeCompanys.spinner)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _ctx.storeCompanys.tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(_component_BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.storeCompanys.setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _ctx.storeCompanys.search,\n onInput: _cache[1] || (_cache[1] = ($event: any) => (_ctx.search($event.target.value)))\n }, null, 8, [\"value\"]),\n (_ctx.miniSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4))\n : (_openBlock(), _createBlock(_component_IcSearch, {\n key: 1,\n class: \"search\"\n }))\n ]),\n (_ctx.storeCompanys && _ctx.storeCompanys.usersManagers)\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 1,\n columns: _ctx.columns,\n rows: _ctx.storeCompanys.usersManagers,\n tableActions: _ctx.tableActions,\n onOnsort: _cache[2] || (_cache[2] = (column,direction) => {\n _ctx.getCompany(_ctx.storeCompanys.setUsersManagers, _ctx.storeCompanys.search, () => {\n _ctx.storeCompanys.setSpinner(false);\n },{order:column === 'roleName'?'role':column,direction:direction});\n \n\t\t\t\t})\n }, null, 8, [\"columns\", \"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\n\timport { defineComponent, ref, watch } from 'vue';\n\n\timport { ROLES, useStoreCompanys } from '../../store';\n\timport {getGestores, getUsersManagers} from '../../service'\n\timport BaseButton from '../../../../../components/Atoms/BaseButton.vue';\n\timport BaseInput from '../../../../../components/Atoms/BaseInput.vue';\n\timport Spinner from '../../../../../components/Atoms/Spinner.vue';\n\timport IcSearch from '../../../../../components/icons/IcSearch.vue';\n\timport IcTrash from '../../../../../components/icons/IcTrash.vue';\n\timport IcEdit from '../../../../../components/icons/IcEdit.vue';\n\n\timport IcVerticalDots from '../../../../../components/icons/IcVerticalDots.vue';\n\timport { debounce } from '../../../../../helpers/debounce';\n\timport Table from '../../../../../components/Organism/Table/table.vue'\nimport { useRouter } from 'vue-router';\nimport { HttpAdapterCustomer } from '../../../../../helpers';\nimport { useToast } from 'vue-toastification';\n\n\n export default defineComponent({\n\t\tname: 'MenuTable',\n\t\tcomponents: {\n\t\t\tBaseInput,\n\t\t\tIcTrash,\n IcSearch,\n IcEdit,\n BaseButton,\n\t\t\tTable,\n\t\t\tSpinner\n\t\t},\n\t\tsetup(props) {\n\tconst storeCompanys = useStoreCompanys();\n const toast = useToast()\n\tconst miniSpinner = ref(false);\n\n\tconst search = (value: string) => {\n\t\tstoreCompanys.setSearch(value);\n\t\tminiSpinner.value = true;\n\t\tconst TRHEE_SECONDS = 1 * 1000;\n\t\tdebounce(() => {\n\t\t\tstoreCompanys.setSpinner(true);\n\t\t\tminiSpinner.value = false;\n\t\t\t\n\t\t\tgetUsersManagers(storeCompanys.setUsersManagers, storeCompanys.search, () => {\n\t\t\t\tstoreCompanys.setSpinner(false);\n\t\t\t});\n\t\t}, TRHEE_SECONDS);\n\t};\n\n const selectUserManager = async (gestor:any) => {\n \n const storeCompanys = useStoreCompanys()\n\n gestor.company_id = storeCompanys.companyToUpdate.id\n const { data, response } = await HttpAdapterCustomer.post({\n url: \"admin/user\",\n old_url: true,\n headers_config: {\n Authorization: \"admin_token\",\n },\n body: JSON.stringify(gestor),\n });\n if (!response.ok)\n return toast.error(data.message || \"Erro ao cadastrar gestor\");\n toast.success(\"Gestor Atualizado com sucesso\");\n storeCompanys.setTab(\"List\");\n getGestores(storeCompanys.companyToUpdate.id,storeCompanys.setGestores, storeCompanys.search, () => {\n storeCompanys.setSpinner(false);\n });\n }\n\n\tconst router = useRouter()\n\tconst tableActions = [{\n\t\ttitle:'Selecionar',\n\t\ticon: IcEdit,\n\t\tonClick: ((company:any) => selectUserManager(company))\n\t}]\n\n\tconst columns = [{\n\t\ttitle:'Nome',\n\t\tvalue:'name',\n\t\tid:1,\n\t\tsort: true,\n\t\twidth:'25%'\n\t},{\n\t\ttitle:'Papel',\n\t\tvalue:'roleName',\n\t\tid:3,\n\t\tsort: false,\n\t\twidth:'25%'\n\t},{\n\t\ttitle:'Email',\n\t\tvalue:'email',\n\t\tid:3,\n\t\tsort: true,\n\t\twidth:'25%'\n }]\n\n return {\n columns,\n\t\t tableActions,\n\t\t storeCompanys,\n\t\t miniSpinner,\n\t\t Table,\n\t\t Spinner,\n\t\t search,\n BaseButton\n }\n } \n })\n","import { render } from \"./index.vue?vue&type=template&id=abc0cc46&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=abc0cc46&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-abc0cc46\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, withDirectives as _withDirectives, createElementBlock as _createElementBlock, withCtx as _withCtx, createTextVNode as _createTextVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ff9f13ba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form-layout container\" }\nconst _hoisted_2 = { style: {\"display\":\"flex\"} }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\",\"color\":\"var(--color-admin-primary)\"} }\nconst _hoisted_5 = {\n key: 0,\n style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"}\n}\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_8 = { class: \"limit-input\" }\nconst _hoisted_9 = { class: \"limit-input\" }\nconst _hoisted_10 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_11 = { style: {\"width\":\"100%\",\"text-align\":\"left\"} }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"min-width\":\"30%\",\"margin-top\":\"4vh\"} }, \"Sem sugestão de Classificação\", -1))\nconst _hoisted_13 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_14 = { style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"width\":\"100%\"} }\nconst _hoisted_15 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_16 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_17 = { class: \"limit-input\" }\nconst _hoisted_18 = { class: \"limit-input\" }\nconst _hoisted_19 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_20 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_21 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_22 = {\n key: 0,\n class: \"checkbox\"\n}\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Enviar Convite\", -1))\nconst _hoisted_24 = { class: \"checkbox\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"VIP\", -1))\nconst _hoisted_26 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_27 = { class: \"limit-input\" }\nconst _hoisted_28 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_29 = { class: \"select-color\" }\nconst _hoisted_30 = [\"value\"]\nconst _hoisted_31 = { style: {\"display\":\"flex\",\"width\":\"100%\",\"gap\":\"2vw\",\"margin-bottom\":\"2vh\"} }\nconst _hoisted_32 = { class: \"row\" }\n\nimport BaseButton from \"../../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../../components/Atoms/BaseSelect.vue\";\nimport Spinner from \"../../../../../components/Atoms/Spinner.vue\";\nimport { HttpAdapterCustomer } from \"../../../../../helpers\";\nimport { useStoreCompanys } from \"../../../../../views/Admin/companys/store\";\nimport { getExecutives, searchCpfExecutive } from \"../../service\";\nimport IcArrowUturn from \"@/components/icons/IcArrowUturn.vue\";\nimport IcPencil from \"@/components/icons/IcPencil.vue\";\nimport { removeMask } from \"@/helpers/mask\";\nimport { ref } from \"vue\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst storeCompanies = useStoreCompanys();\nconst toast = useToast();\nconst editPosition = ref(false);\n\nconst submit = async () => {\n\tif (storeCompanies.executiveToUpdate?.cpf) {\n\t\tstoreCompanies.executiveToUpdate.cpf =\n\t\t\tstoreCompanies.executiveToUpdate.cpf.replace(/\\.|\\-/g, \"\");\n\t}\n\tif (!storeCompanies.hasSearchCpf) {\n\t\tawait storeCompanies.searchCpf(storeCompanies.executiveToUpdate.cpf);\n\t} else {\n\t\tstoreCompanies.company_id = storeCompanies.companyToUpdate.id;\n\t\tstoreCompanies.executiveToUpdate.company_id = storeCompanies.company_id;\n\t\tconst body = {\n\t\t\tforCompany: storeCompanies.company_id,\n\t\t\tparticipant: storeCompanies.executiveToUpdate,\n\t\t};\n\n\t\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\t\turl: \"admin/participant\",\n\t\t\told_url: true,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: \"admin_token\",\n\t\t\t},\n\t\t\tbody: JSON.stringify(body),\n\t\t});\n\t\tif (!response.ok)\n\t\t\treturn toast.error(data.message || \"Erro ao cadastrar participante\");\n\t\ttoast.success(\"Participante Atualizado com sucesso\");\n\t\tstoreCompanies.executiveToUpdate = storeCompanies.executiveToUpdate;\n\t\tstoreCompanies.setTab(\"List\");\n\t\tstoreCompanies.setHasSearch(false);\n\t\tgetExecutives(\n\t\t\tstoreCompanies.companyToUpdate.id,\n\t\t\tstoreCompanies.setExecutives,\n\t\t\tstoreCompanies.search,\n\t\t\t() => {\n\t\t\t\tstoreCompanies.executiveToUpdate.cpf = \"\";\n\t\t\t\tstoreCompanies.setSpinner(false);\n\t\t\t}\n\t\t);\n\t}\n};\n\nasync function handleCancel() {\n\tstoreCompanies.setSpinner(true);\n\tawait getExecutives(\n\t\tstoreCompanies.companyToUpdate.id,\n\t\tstoreCompanies.setExecutives,\n\t\tstoreCompanies.search,\n\t\t() => {\n\t\t\tstoreCompanies.executiveToUpdate.cpf = \"\";\n\t\t\tstoreCompanies.setSpinner(false);\n\t\t\tstoreCompanies.setTab(\"List\");\n\t\t\tstoreCompanies.setTabAdd(false);\n\t\t\tstoreCompanies.setHasSearch(false);\n\t\t}\n\t);\n\tawait searchCpfExecutive(\"\", storeCompanies.setExecutiveToUpdate, () => {\n\t\tstoreCompanies.setHasSearch(false);\n\t});\n}\n\nfunction writePosition() {\n\teditPosition.value = !editPosition.value;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(storeCompanies).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"form\", {\n style: {\"width\":\"100%\",\"margin-right\":\"2vw\"},\n onSubmit: _withModifiers(submit, [\"prevent\"])\n }, [\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(!_unref(storeCompanies).executiveToUpdate?.id\n\t\t\t\t\t\t\t? \"Cadastrar Executivo\"\n\t\t\t\t\t\t\t: \"Editar Executivo\"), 1),\n (!_unref(storeCompanies).hasSearchCpf)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _withDirectives(_createVNode(BaseInput, {\n name: \"cpfParticipant\",\n label: \"Digite o CPF do participante\",\n placeholder: \"CPF\",\n onChange: _cache[0] || (_cache[0] = ($event: any) => (\n\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)),\n required: \"\"\n }, null, 512), [\n [vMask, ['###.###.###-##']]\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseInput, {\n name: \"name\",\n label: \"Nome *\",\n placeholder: \"Nome\",\n value: _unref(storeCompanies).executiveToUpdate?.name,\n maxlength: 100,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'name',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanies).executiveToUpdate?.name?.length || 0) + \"/100\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(BaseInput, {\n name: \"credential_name\",\n label: \"Nome da Credencial * \",\n value: _unref(storeCompanies).executiveToUpdate?.credential_name,\n placeholder: \"Nome da Credencial\",\n maxlength: 20,\n onChange: _cache[2] || (_cache[2] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'credential_name',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanies).executiveToUpdate?.credential_name?.length ||\n\t\t\t\t\t\t\t\t\t0) + \"/20\", 1)\n ]),\n _withDirectives(_createVNode(BaseInput, {\n name: \"cpf\",\n label: \"CPF *\",\n placeholder: \"CPF\",\n value: _unref(storeCompanies).executiveToUpdate?.cpf,\n onChange: _cache[3] || (_cache[3] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]), [\n [vMask, ['###.###.###-##']]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(BaseSelect, {\n name: \"type\",\n label: \"Tipo do participante *\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'common',\n\t\t\t\t\t\t\t\t\ttitle: 'Comum',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'staff',\n\t\t\t\t\t\t\t\t\ttitle: 'Staff',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n value: _unref(storeCompanies).executiveToUpdate?.type,\n onChange: _cache[4] || (_cache[4] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'type',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(BaseSelect, {\n name: \"classification_id\",\n label: \"Classificação\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).domains.classifications.map((el) => {\n\t\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t,\n value: _unref(storeCompanies).executiveToUpdate?.classification_id,\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'classification_id',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"options\", \"value\"]),\n _hoisted_12\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(BaseSelect, {\n name: \"position_type_id\",\n label: \"Tipo de cargo *\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(storeCompanies).domains.positionsType.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t,\n value: _unref(storeCompanies).executiveToUpdate?.position_type_id,\n onChange: _cache[6] || (_cache[6] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'position_type_id',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"options\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_14, [\n (editPosition.value)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"position\",\n label: \"Cargo *\",\n placeholder: \"Cargo\",\n required: \"\",\n value: _unref(storeCompanies).executiveToUpdate?.position,\n onChange: _cache[7] || (_cache[7] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'position',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]))\n : (_openBlock(), _createBlock(BaseSelect, {\n key: 1,\n name: \"position\",\n label: \"Cargo *\",\n keys: { keyValue: 'title', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(storeCompanies).domains.positions.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t}).sort((a, b) => a.title.trim().localeCompare(b.title.trim()))\n\t\t\t\t\t\t\t,\n value: _unref(storeCompanies).executiveToUpdate?.position,\n onChange: _cache[8] || (_cache[8] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'position',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"options\", \"value\"])),\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n type: \"button\",\n style: {\"margin-top\":\"20px\"},\n onClick: writePosition\n }, {\n default: _withCtx(() => [\n (editPosition.value)\n ? (_openBlock(), _createBlock(IcArrowUturn, { key: 0 }))\n : (_openBlock(), _createBlock(IcPencil, { key: 1 }))\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(BaseSelect, {\n name: \"company_id\",\n label: \"Empresa *\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(storeCompanies).domains.companys.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t,\n value: _unref(storeCompanies).company_id,\n disabled: _unref(storeCompanies).company_id,\n onChange: _cache[9] || (_cache[9] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'company_id',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"options\", \"value\", \"disabled\"]),\n _createVNode(BaseSelect, {\n name: \"guest_company\",\n label: \"Empresa convidada\",\n disabled: true,\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(storeCompanies).domains.companys.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.name,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t,\n value: _unref(storeCompanies).executiveToUpdate?.guest_company,\n onChange: _cache[10] || (_cache[10] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'guest_company',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"options\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(BaseSelect, {\n name: \"status\",\n label: \"Situação do convite\",\n disabled: \n\t\t\t\t\t\t\t\t_unref(storeCompanies).executiveToUpdate?.role === 'company_manager'\n\t\t\t\t\t\t\t,\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: \n\t\t\t\t\t\t\t\t_unref(storeCompanies).domains.status.map((el) => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\t\t\t\t\ttitle: el.title,\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t,\n value: _unref(storeCompanies).executiveToUpdate?.status,\n onChange: _cache[11] || (_cache[11] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'status',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"disabled\", \"options\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(BaseInput, {\n name: \"enterprise_mail\",\n label: \"Email Comercial *\",\n type: \"email\",\n placeholder: \"Email\",\n value: _unref(storeCompanies).executiveToUpdate?.enterprise_mail,\n maxlength: 100,\n onChange: _cache[12] || (_cache[12] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'enterprise_mail',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanies).executiveToUpdate?.enterprise_mail?.length ||\n\t\t\t\t\t\t\t\t\t\"0\") + \"/100\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(BaseInput, {\n name: \"personal_mail\",\n label: \"Email Pessoal\",\n type: \"email\",\n placeholder: \"Email\",\n value: _unref(storeCompanies).executiveToUpdate?.personal_mail,\n maxlength: 100,\n onChange: _cache[13] || (_cache[13] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'personal_mail',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanies).executiveToUpdate?.personal_mail?.length ||\n\t\t\t\t\t\t\t\t\t\"0\") + \"/100\", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _withDirectives(_createVNode(BaseInput, {\n name: \"enterprise_phone\",\n label: \"Telefone Comercial\",\n placeholder: \"Telefone\",\n value: _unref(storeCompanies).executiveToUpdate?.enterprise_phone,\n onChange: _cache[14] || (_cache[14] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'enterprise_phone',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ]),\n _withDirectives(_createVNode(BaseInput, {\n name: \"home_phone\",\n label: \"Telefone Residencial\",\n placeholder: \"Telefone\",\n value: _unref(storeCompanies).executiveToUpdate?.home_phone,\n onChange: _cache[15] || (_cache[15] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'home_phone',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]), [\n [vMask, '(##) ####-####']\n ]),\n _withDirectives(_createVNode(BaseInput, {\n name: \"personal_phone\",\n label: \"Telefone Pessoal *\",\n placeholder: \"Telefone\",\n value: _unref(storeCompanies).executiveToUpdate?.personal_phone,\n onChange: _cache[16] || (_cache[16] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'personal_phone',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)),\n required: \"\"\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(BaseInput, {\n name: \"birth_date\",\n label: \"Data de nascimento\",\n placeholder: \"Data\",\n type: \"date\",\n value: _unref(storeCompanies).executiveToUpdate?.birth_date || null,\n onChange: _cache[17] || (_cache[17] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'birth_date',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n name: \"gender\",\n label: \"Gênero\",\n keys: { keyValue: 'id', keyLabel: 'title' },\n options: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'female',\n\t\t\t\t\t\t\t\t\ttitle: 'Feminino',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'male',\n\t\t\t\t\t\t\t\t\ttitle: 'Masculino',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'other',\n\t\t\t\t\t\t\t\t\ttitle: 'Outro',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'not informed',\n\t\t\t\t\t\t\t\t\ttitle: 'Não informado',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n value: _unref(storeCompanies).executiveToUpdate?.gender,\n onChange: _cache[18] || (_cache[18] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'gender',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n name: \"register\",\n label: \"Matricula\",\n placeholder: \"Matricula\",\n type: \"date\",\n value: _unref(storeCompanies).executiveToUpdate?.register,\n onChange: _cache[19] || (_cache[19] = ($event: any) => (\n\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t'register',\n\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n (_unref(storeCompanies).executiveToUpdate.id)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _createVNode(BaseInput, {\n name: \"send_email\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n value: _unref(storeCompanies).executiveToUpdate?.send_mail,\n checked: _unref(storeCompanies).executiveToUpdate?.send_email,\n onChange: _cache[20] || (_cache[20] = \n\t\t\t\t\t\t\t\t\t(e) => {\n\t\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t'send_email',\n\t\t\t\t\t\t\t\t\t\t\te.target.checked\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\", \"checked\"]),\n _hoisted_23\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(BaseInput, {\n name: \"vip\",\n label: \"\",\n type: \"checkbox\",\n class: \"input-checkbox\",\n value: _unref(storeCompanies).executiveToUpdate?.vip,\n checked: _unref(storeCompanies).executiveToUpdate?.vip,\n onChange: _cache[21] || (_cache[21] = \n\t\t\t\t\t\t\t\t\t(e) => {\n\t\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t'vip',\n\t\t\t\t\t\t\t\t\t\t\te.target.checked\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\", \"checked\"]),\n _hoisted_25\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(BaseInput, {\n name: \"address\",\n label: \"Endereço Completo\",\n placeholder: \"Endereço\",\n value: _unref(storeCompanies).executiveToUpdate?.address,\n maxlength: 100,\n onChange: _cache[22] || (_cache[22] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanies).executiveToUpdate?.address?.length || \"0\") + \"/100\", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"input\", {\n id: \"color-input\",\n type: \"color\",\n label: \"Crachá\",\n name: \"credential_color\",\n value: _unref(storeCompanies).executiveToUpdate?.credential_color,\n onChange: _cache[23] || (_cache[23] = \n\t\t\t\t\t\t\t\t\t(event) =>\n\t\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t\t'credential_color',\n\t\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n style: {\"`border-radius\":\"100%!important\",\"width\":\"30px\",\"height\":\"30px\",\"background\":\"${item.color}\",\"margin-bottom\":\"8px\"}\n }, null, 40, _hoisted_30),\n _createVNode(BaseInput, {\n onInput: _cache[24] || (_cache[24] = ($event: any) => (\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'credential_color',\n\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)),\n type: \"text\",\n value: _unref(storeCompanies).executiveToUpdate?.credential_color,\n label: \"Escolha uma cor\",\n style: {\"width\":\"99%\"}\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(BaseInput, {\n label: \"Observação\",\n name: \"observation\",\n style: {\"width\":\"100%\"},\n value: _unref(storeCompanies).executiveToUpdate?.observation,\n onChange: _cache[25] || (_cache[25] = \n\t\t\t\t\t\t\t\t(event) =>\n\t\t\t\t\t\t\t\t\t_unref(storeCompanies).setValueInExecutiveToUpdate(\n\t\t\t\t\t\t\t\t\t\t'observation',\n\t\t\t\t\t\t\t\t\t\tevent.target.value\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"])\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_32, [\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n type: \"button\",\n onClick: handleCancel\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancelar\")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, { type: \"submit\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_3)\n ])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=ff9f13ba&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-ff9f13ba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-543a2e26\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 3,\n class: \"actions-menu\"\n}\nconst _hoisted_2 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"} }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"gap\":\"1rem\"} }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Editar\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Excluir\", -1))\nconst _hoisted_7 = {\n key: 4,\n class: \"card\"\n}\nconst _hoisted_8 = {\n key: 0,\n class: \"infos\"\n}\nconst _hoisted_9 = { class: \"info-item\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Nome da empresa\", -1))\nconst _hoisted_11 = { class: \"info-item\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Razão Social\", -1))\nconst _hoisted_13 = { class: \"info-item\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"CNPJ\", -1))\nconst _hoisted_15 = { class: \"info-item\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Data de Associação\", -1))\nconst _hoisted_17 = { class: \"info-item\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Tipo da Empresa\", -1))\nconst _hoisted_19 = { class: \"info-item\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Tipo de Patrocínio\", -1))\nconst _hoisted_21 = { key: 0 }\nconst _hoisted_22 = { class: \"info-item\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Status\", -1))\nconst _hoisted_24 = { class: \"info-item\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Domínios\", -1))\nconst _hoisted_26 = { class: \"info-item\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Endereço\", -1))\nconst _hoisted_28 = { class: \"info-item\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Email\", -1))\nconst _hoisted_30 = { class: \"tabs\" }\nconst _hoisted_31 = { style: {\"width\":\"100%\",\"display\":\"flex\",\"justify-content\":\"space-between\"} }\nconst _hoisted_32 = {\n key: 0,\n style: {\"position\":\"relative\",\"width\":\"100%\",\"display\":\"flex\",\"justify-content\":\"end\"}\n}\nconst _hoisted_33 = {\n key: 0,\n class: \"modal-options\"\n}\nconst _hoisted_34 = { class: \"button-line\" }\nconst _hoisted_35 = { class: \"button-line\" }\nconst _hoisted_36 = {\n key: 1,\n style: {\"position\":\"relative\",\"width\":\"100%\",\"display\":\"flex\",\"justify-content\":\"end\"}\n}\n\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport ConfirmModal from \"../../../../components/Organism/ConfirmModal.vue\";\nimport MenuTable from \"../../../../components/Organism/Table/menu.vue\";\nimport Table from \"../../../../components/Organism/Table/table.vue\";\nimport IcCheck from \"../../../../components/icons/IcCheck.vue\";\nimport IcEdit from \"../../../../components/icons/IcEdit.vue\";\nimport IcEditVue from \"../../../../components/icons/IcEdit.vue\";\nimport IcPlusUser from \"../../../../components/icons/IcPlusUser.vue\";\nimport IcTrashNew from \"../../../../components/icons/IcTrashNew.vue\";\nimport { useStoreCompanys, type } from \"../../../../views/Admin/companys/store\";\nimport FormCompany from \"../Form/index.vue\";\nimport {\n\tgetCompanyById,\n\tgetExecutives,\n\tgetGestores,\n\tgetUsersManagers,\n\tloadDomains,\n} from \"../service\";\nimport Form from \"./Form/index.vue\";\nimport ExistManager from \"./exist-gestor/index.vue\";\nimport FormExecutives from \"./form-executives/index.vue\";\nimport IcArrowLeft from \"@/components/icons/IcArrowLeft.vue\";\nimport IcPencil from \"@/components/icons/IcPencil.vue\";\nimport moment from \"moment\";\nimport { onMounted, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeCompanys = useStoreCompanys();\nconst router = useRouter();\n\nonMounted(() => {\n\tstoreCompanys.setSpinner(true);\n\tstoreCompanys.executiveToUpdate = storeCompanys.executiveToUpdate;\n\tgetCompanyById(\n\t\trouter.currentRoute.value.params.id,\n\t\tstoreCompanys.setCompanyToUpdate,\n\t\t() => {\n\t\t\tstoreCompanys.setSpinner(false);\n\t\t}\n\t);\n\n\tgetGestores(\n\t\trouter.currentRoute.value.params.id,\n\t\tstoreCompanys.setGestores,\n\t\tstoreCompanys.search,\n\t\t() => {\n\t\t\tstoreCompanys.setSpinner(false);\n\t\t}\n\t);\n\n\tgetUsersManagers(storeCompanys.setUsersManagers, storeCompanys.search, () => {\n\t\tstoreCompanys.setSpinner(false);\n\t});\n\n\tgetExecutives(\n\t\trouter.currentRoute.value.params.id,\n\t\tstoreCompanys.setExecutives,\n\t\tstoreCompanys.search,\n\t\t() => {\n\t\t\tstoreCompanys.setSpinner(false);\n\t\t}\n\t);\n\n\tloadDomains();\n});\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"name\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"40%\",\n\t},\n\t{\n\t\ttitle: \"Email\",\n\t\tvalue: \"email\",\n\t\tid: 3,\n\t\tsort: false,\n\t\twidth: \"40%\",\n\t},\n];\nconst tableActions = [\n\t{\n\t\ttitle: \"Editar\",\n\t\ticon: IcEdit,\n\t\tonClick: (company: any) => storeCompanys.setGestorToUpdate(company, \"edit\"),\n\t},\n\t{\n\t\ttitle: \"Remover da empresa\",\n\t\ticon: IcTrashNew,\n\t\tonClick: (company: any) => {\n\t\t\tstoreCompanys.setGestorToUpdate(company, \"delete\");\n\t\t\tstoreCompanys.setTabConfirm(\"gestor\");\n\t\t},\n\t},\n];\n\nconst columnsExecutive = [\n\t{\n\t\ttitle: \"Name\",\n\t\tvalue: \"name\",\n\t\tid: 1,\n\t\tsort: true,\n\t\twidth: \"25%\",\n\t},\n\t{\n\t\ttitle: \"CPF\",\n\t\tvalue: \"cpfFormat\",\n\t\tid: 2,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Cargo\",\n\t\tvalue: \"position\",\n\t\tid: 3,\n\t\tsort: true,\n\t\twidth: \"15%\",\n\t},\n\t{\n\t\ttitle: \"Email\",\n\t\tvalue: \"enterprise_mail\",\n\t\tid: 4,\n\t\tsort: true,\n\t\twidth: \"20%\",\n\t},\n];\n\nconst tableActionsMenu = [\n\t{\n\t\tonClick: (row: any) => {\n\t\t\tstoreCompanys.setTab(\"FormEdit\");\n\t\t},\n\t\ticon: IcEditVue,\n\t\ttitle: \"EDITAR\",\n\t},\n\t{\n\t\ticon: IcTrashNew,\n\t\ttitle: \"EXCLUIR\",\n\t\tonClick: (item: any) => {\n\t\t\tstoreCompanys.setTabConfirm(\"company\");\n\t\t},\n\t},\n];\n\nconst tableActionsExecutives = [\n\t{\n\t\tonClick: (row: any) => {\n\t\t\tstoreCompanys.setTab(\"FormExecutive\");\n\t\t\tstoreCompanys.setExecutiveToUpdate(row, \"edit\");\n\t\t\tstoreCompanys.setHasSearch(true);\n\t\t},\n\t\ticon: IcEditVue,\n\t\ttitle: \"Editar\",\n\t},\n\t{\n\t\ticon: IcTrashNew,\n\t\ttitle: \"Remover da empresa\",\n\t\tonClick: (item: any) => {\n\t\t\tstoreCompanys.setExecutiveToUpdate(item, \"delete\");\n\t\t\tstoreCompanys.setTabConfirm(\"executive\");\n\t\t},\n\t},\n];\n\nconst onConfirmDeleteGestor = () => {\n\tstoreCompanys.deleteGestor(\n\t\tstoreCompanys.gestorToUpdate.id,\n\t\trouter.currentRoute.value.params.id\n\t);\n\tstoreCompanys.setTabConfirm(\"\");\n};\n\nconst onConfirmDeleteExecutive = () => {\n\tconst executive: any = storeCompanys.executiveToUpdate;\n\tstoreCompanys.deleteExecutive(\n\t\texecutive.id,\n\t\trouter.currentRoute.value.params.id\n\t);\n\tstoreCompanys.setTabConfirm(\"\");\n};\n\nfunction deleteCompanySelected() {\n\tconst id = storeCompanys.companyToUpdate.id;\n\tstoreCompanys.setTabConfirm(\"company\", id);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeCompanys).confirm === 'executive')\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir esse executivo?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t\t() => {\n\t\t\t\t\tonConfirmDeleteExecutive();\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeCompanys).setTabConfirm('');\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).confirm === 'gestor')\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 1,\n text: \"Deseja excluir esse gestor?\",\n onConfirm: _cache[2] || (_cache[2] = \n\t\t\t\t() => {\n\t\t\t\t\tonConfirmDeleteGestor();\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[3] || (_cache[3] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeCompanys).setTabConfirm('');\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).confirm === 'company')\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 2,\n text: \"Deseja excluir essa empresa?\",\n onConfirm: _cache[4] || (_cache[4] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeCompanys).deleteCompany(_unref(storeCompanys).companyToUpdate.id);\n\t\t\t\t\t_unref(storeCompanys).setTabConfirm('');\n\t\t\t\t\t_unref(router).push('/company');\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[5] || (_cache[5] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(storeCompanys).setTabConfirm('');\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tab === 'List')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseButton, {\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_unref(router).push('/company'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_3\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseButton, {\n class: \"button-actions\",\n style: {},\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_unref(storeCompanys).setTab('FormEdit')))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createVNode(IcPencil)\n ]),\n _hoisted_5\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: 'new-secondary',\n class: \"button-actions\",\n onClick: deleteCompanySelected\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createVNode(IcTrashNew)\n ]),\n _hoisted_6\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tab === 'List')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n (_unref(storeCompanys).companyToUpdate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.social_name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.cnpj\n\t\t\t\t\t\t\t? _unref(storeCompanys).companyToUpdate.cnpj\n\t\t\t\t\t\t\t\t\t.replace(/\\D/g, \"\")\n\t\t\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t\t\t/^(\\d{2})(\\d{3})?(\\d{3})?(\\d{4})?(\\d{2})?/,\n\t\t\t\t\t\t\t\t\t\t\"$1.$2.$3/$4-$5\"\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t: \"Não informado\"), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(moment)(_unref(storeCompanys).companyToUpdate.date_of_association).format(\n\t\t\t\t\t\t\t\"DD/MM/YYYY\"\n\t\t\t\t\t\t)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(type)[_unref(storeCompanys).companyToUpdate.type]), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n (_unref(storeCompanys).companyToUpdate.sponsorship_type)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, _toDisplayString(_unref(storeCompanys).companyToUpdate.sponsorship_type.name), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.status === \"active\"\n\t\t\t\t\t\t\t? \"Ativa\"\n\t\t\t\t\t\t\t: \"Inativa\"), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.domains), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.address), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"span\", null, _toDisplayString(_unref(storeCompanys).companyToUpdate.email), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", {\n ref: \"tab\",\n class: _normalizeClass([\"tab\", _unref(storeCompanys).tabEdit === 'gestor' ? 'tab-selected' : '']),\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_unref(storeCompanys).setTabEdit('gestor')))\n }, \" GESTOR \", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"tab\", _unref(storeCompanys).tabEdit === 'executive' ? 'tab-selected' : '']),\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_unref(storeCompanys).setTabEdit('executive')))\n }, \" EXECUTIVO \", 2)\n ]),\n _createElementVNode(\"div\", null, [\n (\n\t\t\t\t\t\t_unref(storeCompanys) &&\n\t\t\t\t\t\t_unref(storeCompanys).gestores &&\n\t\t\t\t\t\t_unref(storeCompanys).tabEdit === 'gestor'\n\t\t\t\t\t)\n ? (_openBlock(), _createBlock(Table, {\n key: 0,\n class: \"limit-table\",\n columns: columns,\n rows: _unref(storeCompanys).gestores,\n tableActions: tableActions,\n onOnsort: _cache[10] || (_cache[10] = \n\t\t\t\t\t\t(column, direction) => {\n\t\t\t\t\t\t\t_unref(getGestores)(\n\t\t\t\t\t\t\t\t_unref(router).currentRoute.value.params.id,\n\t\t\t\t\t\t\t\t_unref(storeCompanys).setGestores,\n\t\t\t\t\t\t\t\t_unref(storeCompanys).search,\n\t\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\t\t_unref(storeCompanys).setSpinner(false);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torder: column === 'roleName' ? 'role' : column,\n\t\t\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t_unref(storeCompanys) &&\n\t\t\t\t\t\t_unref(storeCompanys).executives &&\n\t\t\t\t\t\t_unref(storeCompanys).tabEdit === 'executive'\n\t\t\t\t\t)\n ? (_openBlock(), _createBlock(Table, {\n key: 1,\n class: \"limit-table\",\n columns: columnsExecutive,\n rows: _unref(storeCompanys).executives,\n tableActions: tableActionsExecutives,\n onOnsort: _cache[11] || (_cache[11] = \n\t\t\t\t\t\t(column, direction) => {\n\t\t\t\t\t\t\t_unref(getExecutives)(\n\t\t\t\t\t\t\t\t_unref(router).currentRoute.value.params.id,\n\t\t\t\t\t\t\t\t_unref(storeCompanys).setExecutives,\n\t\t\t\t\t\t\t\t_unref(storeCompanys).search,\n\t\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\t\t_unref(storeCompanys).setSpinner(false);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torder: column === 'roleName' ? 'role' : column,\n\t\t\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n }, null, 8, [\"rows\"]))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(storeCompanys).tabAdd)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"modal-background\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_unref(storeCompanys).setTabAdd(false)))\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_31, [\n (_unref(storeCompanys).tabEdit === 'gestor')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n _createVNode(BaseButton, {\n style: {\"margin\":\"2vw\"},\n onClick: _cache[13] || (_cache[13] = () => _unref(storeCompanys).setTabAdd(!_unref(storeCompanys).tabAdd))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Adicionar Gestor \")\n ]),\n _: 1\n }),\n (_unref(storeCompanys).tabAdd)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(IcPlusUser))),\n _createElementVNode(\"button\", {\n class: \"button-options\",\n onClick: _cache[14] || (_cache[14] = ($event: any) => (_unref(storeCompanys).setGestorToUpdate(false, 'edit')))\n }, \" Novo \")\n ]),\n _createElementVNode(\"div\", _hoisted_35, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(IcCheck))),\n _createElementVNode(\"button\", {\n class: \"button-options\",\n onClick: _cache[15] || (_cache[15] = \n//@ts-ignore\n(...args) => (_unref(storeCompanys).setExistGestor && _unref(storeCompanys).setExistGestor(...args)))\n }, \" Existente \")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tabEdit === 'executive')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_36, [\n _createVNode(BaseButton, {\n style: {\"position\":\"relative\",\"right\":\"20\",\"margin\":\"2vw\"},\n onClick: _cache[16] || (_cache[16] = () => _unref(storeCompanys).setTab('FormExecutive'))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Adicionar Executivo \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tab === 'Form')\n ? (_openBlock(), _createBlock(Form, { key: 5 }))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tab === 'FormEdit')\n ? (_openBlock(), _createBlock(FormCompany, { key: 6 }))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tab === 'ExistManager')\n ? (_openBlock(), _createBlock(ExistManager, { key: 7 }))\n : _createCommentVNode(\"\", true),\n (_unref(storeCompanys).tab === 'FormExecutive')\n ? (_openBlock(), _createBlock(FormExecutives, { key: 8 }))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=543a2e26&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-543a2e26\"]])\n\nexport default __exports__","\n","import { render } from \"./IcCompany.vue?vue&type=template&id=7be5468f\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ba908a4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box _center-x_\" }\nconst _hoisted_2 = { style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"flex-start\",\"align-items\":\"center\",\"width\":\"40%\",\"padding-left\":\"10px\",\"padding-top\":\"20px\",\"padding-bottom\":\"10px\"} }\nconst _hoisted_3 = {\n key: 0,\n class: \"mini_spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Spinner = _resolveComponent(\"Spinner\")!\n const _component_BaseInput = _resolveComponent(\"BaseInput\")!\n const _component_BaseSelect = _resolveComponent(\"BaseSelect\")!\n const _component_Table = _resolveComponent(\"Table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.storeCompanys.spinner)\n ? (_openBlock(), _createBlock(_component_Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BaseInput, {\n label: \"Pesquisar\",\n type: \"text\",\n placeholder: \"Buscar\",\n value: _ctx.storeCompanys.search,\n onInput: _cache[0] || (_cache[0] = ($event: any) => (_ctx.search($event.target.value)))\n }, null, 8, [\"value\"]),\n (_ctx.miniSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BaseSelect, {\n style: {\"margin-left\":\"20px\"},\n label: \"Deletadas\",\n options: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 'false',\n\t\t\t\t\t\ttitle: 'Não',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 'true',\n\t\t\t\t\t\ttitle: 'Sim',\n\t\t\t\t\t},\n\t\t\t\t],\n keys: { keyValue: 'id', keyLabel: 'title' },\n value: _ctx.showDeleted,\n onChange: _cache[1] || (_cache[1] = ($event: any) => {_ctx.showDeleted = $event.target.value; _ctx.search('')})\n }, null, 8, [\"value\"])\n ]),\n (_ctx.storeCompanys && _ctx.storeCompanys.Companys)\n ? (_openBlock(), _createBlock(_component_Table, {\n key: 1,\n columns: _ctx.columns,\n overflowX: \"auto\",\n rows: _ctx.storeCompanys.Companys,\n tableActions: _ctx.tableActions,\n onOnsort: _cache[2] || (_cache[2] = (column, direction) => {\n\t\t\t\t\t_ctx.getCompany(\n\t\t\t\t\t\t_ctx.storeCompanys.setCompanys,\n\t\t\t\t\t\t_ctx.storeCompanys.search,\n\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t_ctx.storeCompanys.setSpinner(false);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: column === 'roleName' ? 'role' : column,\n\t\t\t\t\t\t\tdirection: direction,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\t)\n }, null, 8, [\"columns\", \"rows\", \"tableActions\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport BaseButton from \"../../../../components/Atoms/BaseButton.vue\";\nimport BaseInput from \"../../../../components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"../../../../components/Atoms/BaseSelect.vue\";\n\nimport Spinner from \"../../../../components/Atoms/Spinner.vue\";\nimport Table from \"../../../../components/Organism/Table/table.vue\";\nimport IcEdit from \"../../../../components/icons/IcEdit.vue\";\nimport IcSearch from \"../../../../components/icons/IcSearch.vue\";\nimport IcTrash from \"../../../../components/icons/IcTrash.vue\";\nimport IcVerticalDots from \"../../../../components/icons/IcVerticalDots.vue\";\nimport { debounce } from \"../../../../helpers/debounce\";\nimport { ICompany } from \"../../../../interface/company\";\nimport { getCompany } from \"../service\";\nimport { ROLES, useStoreCompanys } from \"../store\";\nimport { defineComponent, onUnmounted, ref, watch } from \"vue\";\nimport { useRouter } from \"vue-router\";\n\nexport default defineComponent({\n\tname: \"MenuTable\",\n\tcomponents: {\n\t\tBaseInput,\n\t\tIcTrash,\n\t\tIcSearch,\n\t\tIcEdit,\n\t\tBaseButton,\n\t\tTable,\n\t\tSpinner,\n\t\tBaseSelect,\n\t},\n\tsetup(props) {\n\t\tconst storeCompanys = useStoreCompanys();\n\n\t\tconst miniSpinner = ref(false);\n\t\tconst showDeleted = ref('false');\n\n\t\tconst updateCompany = (company: ICompany) => {\n\t\t\tstoreCompanys.setCompanyToUpdate(company);\n\t\t\tstoreCompanys.setTab(\"Form\");\n\t\t};\n\n\t\tconst search = (value: string) => {\n\t\t\tstoreCompanys.setSearch(value);\n\t\t\tminiSpinner.value = true;\n\t\t\tconst TRHEE_SECONDS = 1 * 1000;\n\t\t\tdebounce(() => {\n\t\t\t\tstoreCompanys.setSpinner(true);\n\t\t\t\tminiSpinner.value = false;\n\n\t\t\t\tgetCompany(storeCompanys.setCompanys, storeCompanys.search + '&deleted='+showDeleted.value , () => {\n\t\t\t\t\tstoreCompanys.setSpinner(false);\n\t\t\t\t});\n\t\t\t}, TRHEE_SECONDS);\n\t\t};\n\n\t\tconst router = useRouter();\n\t\tconst tableActions = [\n\t\t\t{\n\t\t\t\ttitle: \"Editar\",\n\t\t\t\ticon: IcEdit,\n\t\t\t\tonClick: (company: any) => {\n\t\t\t\t\tstoreCompanys.setCompanyId(company.id);\n\t\t\t\t\trouter.push(`/company/${company.id}`);\n\t\t\t\t\tstoreCompanys.setTab(\"List\");\n\t\t\t\t},\n\t\t\t},\n\t\t];\n\n\t\tonUnmounted(() => {\n\t\t\tstoreCompanys.setSearch(\"\");\n\t\t});\n\n\t\tconst columns = [\n\t\t\t{\n\t\t\t\ttitle: \"Empresa\",\n\t\t\t\tvalue: \"name\",\n\t\t\t\tid: 1,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"25%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"CNPJ\",\n\t\t\t\tvalue: \"cnpj\",\n\t\t\t\tid: 3,\n\t\t\t\tsort: false,\n\t\t\t\twidth: \"25%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Status\",\n\t\t\t\tvalue: \"statusName\",\n\t\t\t\tid: 3,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"15%\",\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: \"Tipo\",\n\t\t\t\tvalue: \"typeName\",\n\t\t\t\tid: 3,\n\t\t\t\tsort: true,\n\t\t\t\twidth: \"20%\",\n\t\t\t},\n\t\t];\n\n\t\t// const listDTO = storeCompanys.Companys.map((item: any) => {\n\t\t// \tconsole.log(\"listagem\", item);\n\t\t// \treturn {\n\t\t// \t\tname: item.name,\n\t\t// \t\tcnpj: item.cnpj\n\t\t// \t\t\t.replace(/\\D/g, \"\")\n\t\t// \t\t\t.replace(\n\t\t// \t\t\t\t/^(\\d{2})(\\d{3})?(\\d{3})?(\\d{4})?(\\d{2})?/,\n\t\t// \t\t\t\t\"$1.$2.$3/$4-$5\"\n\t\t// \t\t\t),\n\t\t// \t\tstatus: item.status,\n\t\t// \t\ttypeName: item.typeName,\n\t\t// \t};\n\t\t// });\n\t\treturn {\n\t\t\tcolumns,\n\t\t\ttableActions,\n\t\t\tstoreCompanys,\n\t\t\tminiSpinner,\n\t\t\tTable,\n\t\t\tSpinner,\n\t\t\tsearch,\n\t\t\tgetCompany,\n\t\t\tshowDeleted,\n\t\t\t// listDTO,\n\t\t};\n\t},\n});\n","import { render } from \"./index.vue?vue&type=template&id=5ba908a4&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5ba908a4&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ba908a4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-04640e0e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"position\":\"relative\",\"width\":\"100%\",\"margin\":\"10px 0 20px 0\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Voltar\", -1))\n\nimport BaseButton from \"../../../components/Atoms/BaseButton.vue\";\nimport Spinner from \"../../../components/Atoms/Spinner.vue\";\nimport IcArrowLeft from \"../../../components/icons/IcArrowLeft.vue\";\nimport IcCompany from \"../../../components/icons/IcCompany.vue\";\nimport Form from \"./Form/index.vue\";\nimport List from \"./List/index.vue\";\nimport { getCompany, getSponsors } from \"./service\";\nimport { ROLES, useStoreCompanys } from \"./store\";\nimport { onBeforeMount, onMounted, onUnmounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst storeCompanys = useStoreCompanys();\n\nonBeforeMount(() => {\n\tgetCompany(storeCompanys.setCompanys, storeCompanys.search, () => {\n\t\tstoreCompanys.setSpinner(false);\n\t});\n});\n\nonUnmounted(() => {\n\tstoreCompanys.setTab(\"List\");\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(storeCompanys).spinner)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"10px\"}, _unref(storeCompanys).tab === 'List' ? 'visibility: hidden' : ''])\n }, [\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(storeCompanys).setTab('List'))),\n class: \"back\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft)\n ]),\n _: 1\n }),\n _hoisted_2\n ], 4),\n (_unref(storeCompanys).tab === 'List')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"display\":\"flex\",\"justify-content\":\"flex-end\",\"align-items\":\"center\"},\n onClick: _cache[1] || (_cache[1] = ($event: any) => (\n\t\t\t\t\t_unref(storeCompanys).setTab('Form'),\n\t\t\t\t\t\t_unref(storeCompanys).setCompanyToUpdate({ role: _unref(ROLES)[1].id })\n\t\t\t\t))\n }, {\n default: _withCtx(() => [\n _createVNode(IcCompany, { style: {\"padding-right\":\"8px\"} }),\n _createTextVNode(\" Cadastrar \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_unref(storeCompanys).tab === 'List' ? List : Form)))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=04640e0e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-04640e0e\"]])\n\nexport default __exports__","import { HttpAdapterCustomer, urlOldApi } from \"@/helpers\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast()\n\nexport const getCompanyManager = async (setValue: any, companySpots: any, callback: (data: any) => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/event/companies\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tsetValue(data[0].company.name)\n\tcompanySpots(data[0].spots_marketing_activity)\n\treturn callback(data);\n}\n\nexport const getParticipantSession = async (setValue: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/v2/participant/session\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return console.error(response);\n\treturn setValue(data)\n};\n\nexport const getActivitySession = async (setValues: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/activity/session\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return console.error(response);\n\tsetValues(data)\n};\n\nexport const getSpotsActivity = async (setValues: any) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"/admin/event/companies/event/bcf146b7-e1e6-42c3-aa6a-a405888c8e7e/company/b9c8af5b-5375-413f-9a1f-abada785629e\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return console.error(response);\n\tsetValues(data)\n};\n\nexport const postParticipantInActivities = async (activitiesId: { activityIds: string[] }, participantId: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `admin/restricted-list/participant/${participantId}/activities`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t\t\"Content-Type\": 'json'\n\t\t},\n\t\tbody: JSON.stringify(activitiesId),\n\t});\n\tif (!response.ok) return console.error(response);\n\tif (data.errors.length > 0) {\n\t\tconst errorMessage = data.errors.join('\\n');\n\t\ttoast.warning('Foram encontrada divergências em algumas atividades: ' + ('\\n') + errorMessage);\n\t\treturn\n\t}\n\tcallback()\n};\n\nexport const deleteParticipantToActivity = async (participantId: string, callback: () => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.delete({\n\t\turl: `admin/restricted-list/${participantId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) console.error(response);\n\tcallback();\n};","import { defineStore } from \"pinia\";\nimport { IParticipantList, ISessionActivities } from \"./interface\";\nimport { deleteParticipantToActivity, getActivitySession, getParticipantSession } from \"./service\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast()\n\nexport const useStoreFindRetailer = defineStore(\"useStoreFindRetailer\", {\n\tstate: () => ({\n\t\tmodalIsOpen: false,\n\t\tparticipantList: [{}] as IParticipantList[],\n\t\tsessionList: [{}] as ISessionActivities[],\n\t\tparticipantSelected: {\n\t\t\tname: '',\n\t\t\tcpf: '',\n\t\t\tid: ''\n\t\t},\n\t\tconfirmDeleteOneCoupon: \"\",\n\t\tconfirmDeleteOne: false,\n\t\tcompanyData: {\n\t\t\tname: '',\n\t\t\tspots: 0,\n\t\t},\n\t\tspots: [],\n\t\tisLoading: false,\n\t}),\n\n\tactions: {\n\t\tsetLoading(value: boolean) {\n\t\t\tthis.isLoading = value;\n\t\t},\n\t\tsetCompanyName(company: any) {\n\t\t\tthis.companyData.name = company;\n\t\t},\n\n\t\tsetCompanySpots(spots: any) {\n\t\t\tthis.companyData.spots = spots;\n\t\t},\n\n\t\tsetSessionsActivities(activity: ISessionActivities[]) {\n\t\t\tthis.sessionList = activity;\n\t\t},\n\n\t\tsetSpotsList(spots: any) {\n\t\t\tthis.spots = spots;\n\t\t},\n\n\t\tsetParticipants(participant: IParticipantList[]) {\n\t\t\tthis.participantList = participant;\n\t\t},\n\n\t\tsetOpenModal(open: boolean) {\n\t\t\tthis.modalIsOpen = open;\n\t\t},\n\n\t\tshowConfirmDeleteOne(id: string, confirm: boolean) {\n\t\t\tthis.confirmDeleteOneCoupon = id;\n\t\t\tthis.confirmDeleteOne = confirm;\n\t\t},\n\n\t\tonConfirmDeleteOne() {\n\t\t\tdeleteParticipantToActivity(this.confirmDeleteOneCoupon, async () => {\n\t\t\t\tawait getParticipantSession(this.setParticipants);\n\t\t\t\tawait getActivitySession(this.setSessionsActivities);\n\t\t\t\tthis.showConfirmDeleteOne(\"\", false);\n\t\t\t\ttoast.success(\"Participante excluído dessa atividade!\");\n\t\t\t});\n\t\t},\n\t},\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5faf97b4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"bg-primaryAdmin h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Selecionar Atividade\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport { ISessionActivities } from \"../interface\";\nimport {\n\tgetActivitySession,\n\tgetParticipantSession,\n\tpostParticipantInActivities,\n} from \"../service\";\nimport { useStoreFindRetailer } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { DateTime } from \"luxon\";\nimport { computed, reactive, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\ninterface IList extends ISessionActivities {\n\tchecked: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddParticipantInActivity',\n setup(__props) {\n\nconst store = useStoreFindRetailer();\nconst toast = useToast();\nconst spinner = ref(false);\nconst list = reactive(store.sessionList as any);\n\nconst columns = [\n\t{\n\t\ttitle: \"\",\n\t\tvalue: \"id\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"5%\",\n\t\tcheck: true,\n\t\tcheckValue: \"checked\",\n\t\tchecked: (event: any, checked: boolean) => {\n\t\t\tif (event === \"all\") {\n\t\t\t\tfor (const item of list) {\n\t\t\t\t\titem.checked = true;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (event === \"clear\") {\n\t\t\t\tfor (const item of list) {\n\t\t\t\t\titem.checked = false;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst participantIndex = list.findIndex((item) => item.id === event);\n\t\t\tlist[participantIndex].checked = checked;\n\t\t},\n\t},\n\t{\n\t\ttitle: \"Título\",\n\t\tvalue: \"title\",\n\t\tid: 2,\n\t\tsort: false,\n\t\twidth: \"30%\",\n\t},\n\t{\n\t\ttitle: \"Dia\",\n\t\tvalue: \"date\",\n\t\tid: 3,\n\t\tsort: false,\n\t\twidth: \"30%\",\n\t},\n\t{\n\t\ttitle: \"Horário\",\n\t\tvalue: \"start_time\",\n\t\tid: 4,\n\t\tsort: false,\n\t\twidth: \"25%\",\n\t},\n];\n\nasync function submitAddInActivity() {\n\tstore.setLoading(true);\n\n\tconst activitiesToAdd = list\n\t\t.filter((item) => item.checked)\n\t\t.map((item) => item.id);\n\n\tconst activitiesExisting = list\n\t\t.filter((item) =>\n\t\t\titem.restricted_list.some(\n\t\t\t\t(participante) => participante.cpf === store.participantSelected.cpf\n\t\t\t)\n\t\t)\n\t\t.map((item) => item.id);\n\n\tconst body = [...activitiesToAdd, ...activitiesExisting];\n\n\tif (!body?.length) {\n\t\ttoast.error(\"Selecione ao menos uma atividade para inserir o participante\");\n\t\treturn;\n\t}\n\n\tawait postParticipantInActivities(\n\t\t{ activityIds: body },\n\t\tstore.participantSelected.id,\n\t\t() => {\n\t\t\tgetParticipantSession(store.setParticipants);\n\t\t\tgetActivitySession(store.setSessionsActivities);\n\t\t\ttoast.success(\"Participante incluído nas atividades selecionadas\");\n\t\t}\n\t);\n\tstore.setLoading(false);\n\tcloseModal();\n}\n\nasync function closeModal() {\n\tstore.setLoading(true);\n\tstore.participantSelected = {\n\t\tname: \"\",\n\t\tcpf: \"\",\n\t\tid: \"\",\n\t};\n\tawait getParticipantSession(store.setParticipants);\n\tawait getActivitySession(store.setSessionsActivities);\n\tstore.setLoading(false);\n\tstore.setOpenModal(false);\n}\n\nconst rowsToRender = computed(() => {\n\treturn list\n\t\t.filter((item) => {\n\t\t\tconst cpfEncontrado = item.restricted_list.find(\n\t\t\t\t(participante) => participante.cpf === store.participantSelected.cpf\n\t\t\t);\n\n\t\t\tif (cpfEncontrado) {\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t})\n\t\t.map((item) => {\n\t\t\treturn {\n\t\t\t\t...item,\n\t\t\t\tdate: DateTime.fromISO(item.date).toFormat(\"dd/MM/yyyy\"),\n\t\t\t\tstart_time: `${item.start_time} - ${item.end_time}`,\n\t\t\t};\n\t\t});\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX, { class: \"cursor-pointer\" })\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitAddInActivity, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _createVNode(Table, {\n columns: columns,\n rows: _unref(rowsToRender)\n }, null, 8, [\"rows\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n type: \"button\",\n variant: \"new-secondary\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddParticipantInActivity.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddParticipantInActivity.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddParticipantInActivity.vue?vue&type=style&index=0&id=5faf97b4&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5faf97b4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, vModelText as _vModelText, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2b0aa722\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"company-data\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Nome da Empresa\", -1))\nconst _hoisted_4 = { class: \"places-management\" }\nconst _hoisted_5 = { class: \"places-card\" }\nconst _hoisted_6 = { class: \"retailer-title\" }\nconst _hoisted_7 = { class: \"date-and-hour\" }\nconst _hoisted_8 = { class: \"participants-list\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {} }, \"Participantes: \", -1))\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { class: \"participant-container\" }\nconst _hoisted_12 = { class: \"participant\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", {\n class: \"label\",\n for: \"participants\"\n}, \"Buscar participante:\", -1))\nconst _hoisted_14 = { id: \"participant-list\" }\nconst _hoisted_15 = [\"value\"]\nconst _hoisted_16 = {\n key: 0,\n style: {\"width\":\"90%\",\"display\":\"flex\",\"justify-content\":\"space-between\",\"align-items\":\"center\",\"padding\":\"0 20px\"}\n}\nconst _hoisted_17 = { key: 0 }\n\nimport { ISessionActivities } from \"../interface\";\nimport {\n\tgetActivitySession,\n\tgetCompanyManager,\n\tgetParticipantSession,\n\tgetSpotsActivity,\n} from \"../service\";\nimport { useStoreFindRetailer } from \"../store\";\nimport ModalAddParticipantInActivity from \"./ModalAddParticipantInActivity.vue\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport ConfirmModal from \"@/components/Organism/ConfirmModal.vue\";\nimport Table from \"@/components/Organism/Table/table.vue\";\nimport IcTrashNew from \"@/components/icons/IcTrashNew.vue\";\nimport { DateTime } from \"luxon\";\nimport { computed, onMounted, onUnmounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStoreFindRetailer();\n\nconst columns = [\n\t{\n\t\ttitle: \"Nome\",\n\t\tvalue: \"cpf\",\n\t\tid: 1,\n\t\tsort: false,\n\t\twidth: \"80%\",\n\t\tdoubleText: {\n\t\t\tbold: \"name\",\n\t\t\ttext: \"cpf\",\n\t\t},\n\t},\n];\n\nconst tableActions = [\n\t{\n\t\ticon: IcTrashNew,\n\t\ttitle: \"Excluir participante\",\n\t\tonClick: async (row: any) => {\n\t\t\tstore.showConfirmDeleteOne(row.id, row.id);\n\t\t},\n\t},\n];\n\nfunction handleOpenModal() {\n\tstore.setOpenModal(true);\n}\n\nconst sessionDTO = computed(() => {\n\treturn store.sessionList.filter((item: ISessionActivities) => {\n\t\treturn !item.title?.toLowerCase()?.includes(\"forum\");\n\t});\n});\n\nonMounted(() => {\n\tgetParticipantSession(store.setParticipants);\n\tgetActivitySession(store.setSessionsActivities);\n\tgetCompanyManager(store.setCompanyName, store.setCompanySpots, () => {});\n\tgetSpotsActivity(store.setSpotsList);\n});\n\nonUnmounted(() => {\n\tstore.participantSelected = {\n\t\tname: \"\",\n\t\tcpf: \"\",\n\t\tid: \"\",\n\t};\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(store).isLoading)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n (_unref(store).confirmDeleteOne)\n ? (_openBlock(), _createBlock(ConfirmModal, {\n key: 0,\n text: \"Deseja excluir esse cupom?\",\n onConfirm: _cache[0] || (_cache[0] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(store).onConfirmDeleteOne();\n\t\t\t\t}\n\t\t\t),\n onCancel: _cache[1] || (_cache[1] = \n\t\t\t\t() => {\n\t\t\t\t\t_unref(store).showConfirmDeleteOne('', false);\n\t\t\t\t}\n\t\t\t)\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"h3\", null, _toDisplayString(_unref(store)?.companyData?.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(sessionDTO), (session) => {\n return (_openBlock(), _createElementBlock(\"details\", null, [\n _createElementVNode(\"summary\", null, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"span\", null, _toDisplayString(session.title), 1),\n _createElementVNode(\"span\", null, \"Vagas disponíveis: \" + _toDisplayString(session?.restricted_list?.length) + \"/\" + _toDisplayString(_unref(store)?.companyData?.spots), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_7, _toDisplayString(_unref(DateTime).fromISO(session.date).toFormat(\"dd/MM/yyyy\")) + \" - \" + _toDisplayString(session.start_time) + \" às \" + _toDisplayString(session.end_time), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n (!session?.restricted_list?.length)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_10, \" Nenhum participante cadastrado na atividade \"))\n : (_openBlock(), _createBlock(Table, {\n key: 1,\n style: {\"width\":\"100%\"},\n columns: columns,\n rows: \n\t\t\t\t\t\t\t\tsession.restricted_list.sort((a, b) =>\n\t\t\t\t\t\t\t\t\ta.name.localeCompare(b.name)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t,\n \"table-actions\": tableActions\n }, null, 8, [\"rows\"]))\n ])\n ]))\n }), 256))\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _withDirectives(_createElementVNode(\"input\", {\n placeholder: \"Inserir participante\",\n class: \"input\",\n type: \"text\",\n id: \"participants\",\n list: \"participant-list\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(store).participantSelected.cpf) = $event)),\n onChange: _cache[3] || (_cache[3] = () => {\n\t\t\t\t\t\t\tif (!_unref(store).participantSelected.cpf) {\n\t\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst participant = _unref(store).participantList.find(p => p.cpf === _unref(store).participantSelected.cpf)\n\t\t\t\t\t\t\tif (!participant) {\n\t\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t_unref(store).participantSelected = {\n\t\t\t\t\t\t\t\tcpf: participant.cpf,\n\t\t\t\t\t\t\t\tname: participant.name as string,\n\t\t\t\t\t\t\t\tid: participant.id,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n }, null, 544), [\n [_vModelText, _unref(store).participantSelected.cpf]\n ]),\n _createElementVNode(\"datalist\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(store).participantList, (item) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: item.cpf\n }, _toDisplayString(item.name), 9, _hoisted_15))\n }), 256))\n ])\n ]),\n (_unref(store).participantSelected.cpf)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n (_unref(store).participantSelected.cpf)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_17, _toDisplayString(_unref(store).participantSelected.name), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, [\n (_unref(store).participantSelected.name)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n style: {\"height\":\"10px\"},\n variant: \"primary\",\n onClick: handleOpenModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"+\")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_unref(store).modalIsOpen)\n ? (_openBlock(), _createBlock(ModalAddParticipantInActivity, { key: 1 }))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=2b0aa722&scoped=true&lang=scss\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2b0aa722\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-56b9b2f2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen _center_\" }\n\nimport { urlOldApi } from '@/helpers';\n\timport { TOKEN_TYPE, getTokenSessionStorage } from '@/store/event.store';\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\tconst token = getTokenSessionStorage(TOKEN_TYPE['ADMIN_TOKEN'])\nconst urlToken = `${urlOldApi.replace('/api','')}/#/findRetailerNotBussinesClub?token=${token}`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlToken\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=56b9b2f2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-56b9b2f2\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b292a552\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"column\" }\nconst _hoisted_3 = {\n for: \"option\",\n class: \"label\"\n}\nconst _hoisted_4 = [\"id\"]\nconst _hoisted_5 = [\"id\", \"value\", \"name\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: (option.value as any)\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", _hoisted_3, _toDisplayString(option.text), 1),\n _createElementVNode(\"fieldset\", {\n id: _ctx.value.id\n }, [\n _createElementVNode(\"input\", {\n required: \"\",\n type: \"radio\",\n class: \"input-radio\",\n id: (option.value as any),\n value: option.value,\n name: _ctx.value.id,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onChange($event, _ctx.value)))\n }, null, 40, _hoisted_5)\n ], 8, _hoisted_4)\n ])\n ]))\n }), 128))\n ]))\n}","\n\t// eslint-disable-next-line import/named\n\timport Vue, { PropType, defineComponent } from 'vue';\n\n\texport default defineComponent({\n\t\tname: 'InputRadio',\n\t\tprops: {\n\t\t\toptions: {\n\t\t\t\ttype: Array as Vue.PropType<{ text: string; value: boolean }[]>,\n\t\t\t\trequired: true,\n\t\t\t},\n\t\t\tvalue: {\n\t\t\t\ttype: Object as PropType,\n\t\t\t},\n\t\t},\n\t\tmethods: {\n\t\t\tonChange(event: any, value: any) {\n\t\t\t\tthis.$emit('change-option', { event: event.target.value, value });\n\t\t\t},\n\t\t},\n\t});\n","import { render } from \"./radioInput.vue?vue&type=template&id=b292a552&scoped=true&ts=true\"\nimport script from \"./radioInput.vue?vue&type=script&lang=ts\"\nexport * from \"./radioInput.vue?vue&type=script&lang=ts\"\n\nimport \"./radioInput.vue?vue&type=style&index=0&id=b292a552&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b292a552\"]])\n\nexport default __exports__","import jwt_decode from 'jwt-decode';\n\nexport enum TOKEN_NAME {\n\tTOKEN = 'token',\n\tOLD_TOKEN = 'oldToken',\n}\n\nexport class UseStorage {\n\tpublic static getToken = (name = TOKEN_NAME['TOKEN']): string => {\n\t\tconst token = sessionStorage.getItem(name);\n\t\tif (!token) return '';\n\t\treturn token.replace('Bearer ', '');\n\t};\n\n\tpublic static setToken = (token: string, name = TOKEN_NAME['TOKEN']): void => {\n\t\tsessionStorage.setItem(name, 'Bearer ' + token);\n\t\tconst tokenData = UseStorage.getTokenData(name);\n\t\tif (!tokenData) return;\n\t\tsessionStorage.setItem('token_data', JSON.stringify(tokenData))\n\t\tif (name === TOKEN_NAME['TOKEN']) this.setEventSelected(tokenData.event_id);\n\t};\n\n\tpublic static removeToken = (name = TOKEN_NAME['TOKEN']): void => {\n\t\tsessionStorage.removeItem(name);\n\t};\n\n\tpublic static getTokenData = (name = TOKEN_NAME['TOKEN']): { id: string; company_id: string; event_id: string } | undefined => {\n\t\tconst token = UseStorage.getToken(name);\n\t\tif (!token) return undefined;\n\t\tconst { user }: any = jwt_decode(token);\n\t\tif (!user) return undefined;\n\t\treturn user as any;\n\t};\n\n\tpublic static setEventSelected = (event_id: string): void => {\n\t\tsessionStorage.setItem('event_id', event_id);\n\t};\n\n\tpublic static removeEventSelected = (): void => {\n\t\tsessionStorage.removeItem('event_id');\n\t};\n\n\tpublic static getEventSelected = (): string | undefined => {\n\t\tconst event_id = sessionStorage.getItem('event_id');\n\t\tif (!event_id) return undefined;\n\t\treturn event_id;\n\t};\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5d1e4b0e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"divDownload\"\n}\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 0,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"center\"}\n}\nconst _hoisted_4 = {\n key: 1,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"center\"}\n}\nconst _hoisted_5 = {\n key: 2,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"center\"}\n}\nconst _hoisted_6 = { class: \"c-certificate\" }\nconst _hoisted_7 = { class: \"states\" }\nconst _hoisted_8 = { class: \"section-header\" }\nconst _hoisted_9 = { class: \"title\" }\nconst _hoisted_10 = { class: \"text-question\" }\nconst _hoisted_11 = { class: \"answer\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"radio\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"text\"\n}\nconst _hoisted_14 = [\"onKeyup\"]\nconst _hoisted_15 = {\n key: 3,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"center\"}\n}\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Agradecemos por sua participação!\", -1))\n\nimport RadioInput from \"./components/radioInput.vue\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\nimport { HttpAdapterCustomer, urlOldApi } from \"@/helpers\";\nimport { UseStorage } from \"@/helpers/StorageHandler\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport axios from \"axios\";\nimport { defineComponent, onMounted, reactive, ref } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\ninterface IStates {\n\tcreated_at: Date;\n\tdescription: string;\n\tevent_id: string;\n\torder: number;\n\tquestions: {\n\t\tcreated_at: Date;\n\t\tdescription: string;\n\t\tmax_description: string;\n\t\tmin_description: string;\n\t\torder: number;\n\t\trequired: boolean;\n\t\tsection_id: string;\n\t\ttype: string;\n\t\tupdate_at: Date;\n\t}[];\n\tupdate_at: Date;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\nconst route = useRoute();\nconst toast = useToast();\nconst states = ref();\nconst event = reactive({\n\ttitle: \"\",\n\tpublish_question: false,\n\tstartDate: \"\",\n});\nconst participant = reactive({\n\tstatus: \"\",\n});\nconst startDate = ref();\nlet showRating = true;\nlet options = [\n\t{ text: \"1\", value: 1 },\n\t{ text: \"2\", value: 2 },\n\t{ text: \"3\", value: 3 },\n\t{ text: \"4\", value: 4 },\n\t{ text: \"5\", value: 5 },\n\t{ text: \"6\", value: 6 },\n\t{ text: \"7\", value: 7 },\n\t{ text: \"8\", value: 8 },\n\t{ text: \"9\", value: 9 },\n\t{ text: \"10\", value: 10 },\n];\nconst questions = ref();\nconst hasAnswered = ref(false);\nlet answerQuestions: any = {};\n\nconst params = route.params.id;\nconst assets = reactive({\n\tbanner: \"\",\n});\nconst eventId = ref(\"\");\n\nonMounted(() => {\n\tgetParticipants();\n\tgetCertificate();\n\tgetBanner();\n\tgetHasAnswered();\n\teventId.value = UseStorage.getTokenData()?.event_id || \"\";\n});\n\nconst returnOption = (event: any) => {\n\tanswerQuestions[event.value.id] = event.event;\n};\nconst getParticipants = async (): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/participant\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\n\tif (!response.ok) return;\n\n\tevent.publish_question = data.event.publish_question;\n\tevent.title = data.event.title;\n\tparticipant.status = data.status;\n\tconst splitDate = data.event.start_date.split(\"T\")[0].split(\"-\");\n\tconst meses = [\n\t\t\"Janeiro\",\n\t\t\"Fevereiro\",\n\t\t\"Março\",\n\t\t\"Abril\",\n\t\t\"Maio\",\n\t\t\"Junho\",\n\t\t\"Julho\",\n\t\t\"Agosto\",\n\t\t\"Setembro\",\n\t\t\"Outubro\",\n\t\t\"Novembro\",\n\t\t\"Dezembro\",\n\t];\n\n\tevent.startDate = `${splitDate[2]} de ${meses[+splitDate[1] - 1]} de ${\n\t\tsplitDate[0]\n\t}`;\n};\n\nconst getCertificate = async (): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/event/questions/v2\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\n\tif (!response.ok) return;\n\tconst activities = data.map((item: any) => {\n\t\tconst questions = item.questions.sort((a: any, b: any) =>\n\t\t\ta.order < b.order ? -1 : 1\n\t\t);\n\t\treturn { ...item, questions };\n\t});\n\n\tstates.value = activities.sort((a: any, b: any) =>\n\t\ta.order < b.order ? -1 : 1\n\t);\n};\n\nconst getHasAnswered = async (): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/event/questions/has-answered\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\thasAnswered.value = data;\n};\n\nconst getBanner = async () => {\n\tassets.banner = store.state.assets.banner;\n};\n\nconst onSave = async (): Promise => {\n\tconst answers = Object.keys(answerQuestions).map((el) => {\n\t\treturn {\n\t\t\tquestion_id: el,\n\t\t\tanswer: answerQuestions[el],\n\t\t};\n\t});\n\n\tconst { response } = await HttpAdapterCustomer.post({\n\t\turl: \"public/event/questions\",\n\t\tbody: JSON.stringify(answers),\n\t\told_url: true,\n\t\theaders_config: { \"Content-Type\": \"json\", Authorization: \"old_token\" },\n\t});\n\n\tif (!response.ok) {\n\t\ttoast.error(\"Falha ao cadastrar avaliação!\");\n\t} else {\n\t\ttoast.success(\"Avaliação cadastrada com sucesso!\");\n\t\thasAnswered.value = true;\n\t\tshowRating = false;\n\t}\n};\n\nconst downloadCertificate = async () => {\n\ttry {\n\t\tconst data = undefined;\n\t\tconst token: any = eventStore.getStoreToken(TOKEN_TYPE[\"OLD_TOKEN\"]);\n\t\tawait axios\n\t\t\t.post(`${urlOldApi}/public/participant/certificate`, data, {\n\t\t\t\theaders: {\n\t\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\t\tAuthorization: `Bearer ${token}`,\n\t\t\t\t},\n\t\t\t\tresponseType: \"blob\",\n\t\t\t})\n\t\t\t.then(function (response) {\n\t\t\t\tvar blob = new Blob([response.data], {\n\t\t\t\t\ttype: \"application/pdf\",\n\t\t\t\t});\n\t\t\t\tvar url = window.URL.createObjectURL(blob);\n\t\t\t\twindow.open(url);\n\t\t\t});\n\t} catch (error: any) {\n\t\tconsole.error(error.response.data.message);\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(showRating))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n class: \"banner-image\",\n src: _unref(store).state.event.banner,\n style: {\"border-radius\":\"8px\"}\n }, null, 8, _hoisted_2),\n (participant.status !== 'present')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, \" A sua presença ainda não foi confirmada no evento \"))\n : _createCommentVNode(\"\", true),\n (participant.status === 'present' && !event.publish_question)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, \" Questionário ainda não está disponível \"))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\tevent.publish_question &&\n\t\t\t\t\tparticipant.status === 'present' &&\n\t\t\t\t\t!hasAnswered.value\n\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"form\", _hoisted_6, [\n _createElementVNode(\"h2\", null, \"Avaliação \" + _toDisplayString(event.title) + \" - \" + _toDisplayString(event.startDate), 1),\n _createElementVNode(\"h4\", null, \" Gostaríamos muito de saber sua opinião! Ajude-nos a melhorar o \" + _toDisplayString(event.title) + \" - abrafarma \", 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(states.value, (state) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: state.order\n }, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(state.description), 1)\n ])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(state.questions, (questions) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"question\",\n key: questions.order\n }, [\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(questions.description), 1),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", null, _toDisplayString(questions.min_description), 1),\n (questions.type === 'multiple-choice')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createVNode(RadioInput, {\n value: questions,\n options: _unref(options),\n onChangeOption: returnOption\n }, null, 8, [\"value\", \"options\"])\n ]))\n : _createCommentVNode(\"\", true),\n (questions.type !== 'multiple-choice')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"textarea\", {\n required: \"\",\n class: \"text-input\",\n type: \"text\",\n placeholder: \"Sua Resposta\",\n onKeyup: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\treturnOption({\n\t\t\t\t\t\t\t\t\t\t\t\tevent: ($event.target as any).value,\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: questions,\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t)\n }, null, 40, _hoisted_14)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", null, _toDisplayString(questions.max_description), 1)\n ])\n ]))\n }), 128))\n ]))\n }), 128)),\n _createElementVNode(\"div\", { class: \"div-btn\" }, [\n _createElementVNode(\"button\", {\n class: \"btn-save\",\n onClick: onSave\n }, \"Enviar\")\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (hasAnswered.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _hoisted_16,\n _createVNode(BaseButton, {\n onClick: downloadCertificate,\n variant: 'primary',\n style: {\"display\":\"flex\",\"align-items\":\"center\",\"margin-top\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(IcDownload, { class: \"icDownload\" }),\n _createTextVNode(\" Baixar Certificado \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5d1e4b0e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5d1e4b0e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"c-event\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"event_image\"\n}\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = {\n key: 1,\n class: \"event_image event_image--footer\"\n}\nconst _hoisted_5 = [\"src\"]\n\n\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BoxEvent',\n props: {\n\tbanner: {\n\t\ttype: Boolean,\n\t\tdefault: true,\n\t},\n\tfooter: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n},\n setup(__props) {\n\nconst props = __props\n\nconst store = useStore();\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (props.banner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: _unref(store).state.event.banner\n }, null, 8, _hoisted_3)\n ]))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\"),\n (props.footer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: _unref(store).state.event.footer\n }, null, 8, _hoisted_5)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./BoxEvent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BoxEvent.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BoxEvent.vue?vue&type=style&index=0&id=4f723060&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, KeepAlive as _KeepAlive, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ec68586\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"box_event_body _center_\",\n style: {\"display\":\"flex\",\"justify-content\":\"space-around\"}\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"_center_\"\n}\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = {\n key: 0,\n class: \"_center_\"\n}\n\nimport LogoAbrafarma from \"@/assets/logo_abrafarma.png\";\nimport Signature from \"@/assets/signature.png\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BoxEvent from \"@/components/Organism/BoxEvent.vue\";\nimport IcCurrent from \"@/components/icons/IcCurrent.vue\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { HttpAdapterCustomer, urlNewApi } from \"@/helpers/HttpAdapterCostumer\";\nimport { stopSpinner } from \"@/helpers/SpinnerHandler\";\nimport { SET_STATE_PARTICIPANT } from \"@/store/mutation-types\";\nimport axios from \"axios\";\nimport jsPDF from \"jspdf\";\nimport { DateTime } from \"luxon\";\nimport { onMounted, reactive, ref } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport { useStore } from \"vuex\";\n\ninterface IResponseCredential {\n\tfileName: string;\n}\n\ninterface IEventData {\n\ttitle: string;\n\tis_paid: boolean;\n\tpayment_amount: string;\n}\n\ninterface IParticipantData {\n\tname: string;\n\tphone: string;\n\tcpf: string;\n\tpayment: {\n\t\tstatus: \"paid\" | \"pending\" | \"refused\" | string;\n\t\tmethod: \"credit card\" | \"debit card\" | \"boleto\" | \"pix\" | string;\n\t\tamount: string;\n\t\tcreated_at: string;\n\t\tapproved_at: string;\n\t\tlink?: string;\n\t};\n}\n\ntype TypeMethods = {\n\t[key: string]: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\n\nconst METHOD: TypeMethods = {\n\t\"credit card\": \"Cartão de Crédito\",\n\t\"debit card\": \"Cartão de Crédito\",\n\tboleto: \"Boleto\",\n\tpix: \"Pix\",\n};\n\nconst credential = ref(\"\");\nconst isCredential = ref(false);\nconst params = store.state.event.eventId;\nconst eventData = reactive({\n\ttitle: \"\",\n\tis_paid: false,\n\tpayment_amount: \"\",\n});\nconst participantData = reactive({\n\tname: \"\",\n\tphone: \"\",\n\tcpf: \"\",\n\tpayment: {\n\t\tstatus: \"\",\n\t\tmethod: \"\",\n\t\tamount: \"\",\n\t\tcreated_at: \"\",\n\t\tapproved_at: \"\",\n\t},\n});\n\nconst getEvent = async () => {\n\tconst eventDataApi = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/event/${params}`\n\t);\n\teventData.title = eventDataApi.data.title;\n\teventData.is_paid = eventDataApi.data.is_paid;\n\teventData.payment_amount = eventDataApi.data.payment_amount;\n};\n\nconst downloadCredential = () => {\n\twindow.open(credential.value, \"_blank\");\n};\n\nasync function getParticipantData() {\n\tconst { response, data } = await HttpAdapterCustomer.get({\n\t\turl: `participant/${store.state.event.userId}`,\n\t});\n\tif (response.ok) {\n\t\tparticipantData.name = data.name;\n\t\tparticipantData.cpf = data.cpf;\n\t\tparticipantData.phone = data.phone;\n\t\tparticipantData.payment = data.payment;\n\t}\n}\n\nfunction generatePdf() {\n\tconst doc = new jsPDF();\n\n\tdoc.setFontSize(12);\n\tdoc.addImage(`${LogoAbrafarma}`, \"JPEG\", 60, 0, 80, 40);\n\n\t// Adiciona uma borda ao redor do texto\n\tdoc.rect(10, 40, 190, 35);\n\n\t// Adiciona o texto dentro da borda\n\tdoc.setFont(\"helvetica\", \"bold\");\n\tdoc.text(`ABRAFARMA - ASS. BRAS. DE REDES DE FARMÁCIAS E DROGARIAS`, 15, 50);\n\tdoc.setFont(\"helvetica\", \"normal\");\n\tdoc.text(\n\t\t`CNPJ: 66865072000100 - I.E.: Isenta - Isenta – I.Municipal: 2.017.008-4`,\n\t\t15,\n\t\t55\n\t);\n\tdoc.text(`ALAMEDA SANTOS, 2300 - CONJ. 71 - 07034904`, 15, 60);\n\tdoc.text(\n\t\t`Tel: (11) 4550-6201 – Fax: (11) 3062-7132 - abrafarma@abrafarma.com.br`,\n\t\t15,\n\t\t65\n\t);\n\tdoc.text(`Município: São Paulo - UF: SP - País: Brasil`, 15, 70);\n\n\tdoc.rect(10, 80, 190, 25);\n\tdoc.setFont(\"helvetica\", \"bold\");\n\tdoc.text(`${participantData.name}`, 15, 90);\n\tdoc.setFont(\"helvetica\", \"normal\");\n\tdoc.text(\n\t\t`CPF: ${participantData.cpf\n\t\t\t?.replace(/\\D/g, \"\")\n\t\t\t?.replace(/^(\\d{3})(\\d{3})?(\\d{3})?(\\d{2})?/, \"$1.$2.$3-$4\")}`,\n\t\t15,\n\t\t95\n\t);\n\tdoc.text(\n\t\t`Telefone: ${\n\t\t\tparticipantData.phone.length\n\t\t\t\t? `${participantData.phone}`\n\t\t\t\t: \"Não informado\"\n\t\t}`,\n\t\t15,\n\t\t100\n\t);\n\n\tdoc.rect(10, 110, 190, 25);\n\tdoc.setFont(\"helvetica\", \"bold\");\n\tdoc.text(\n\t\t`Recebemos o pagamento referente ao evento ${eventData.title}`,\n\t\t15,\n\t\t120\n\t);\n\tdoc.setFont(\"helvetica\", \"normal\");\n\tdoc.text(\n\t\t`Valor pago de R$ ${participantData.payment.amount?.replaceAll(\".\", \",\")}`,\n\t\t15,\n\t\t125\n\t);\n\tdoc.text(\n\t\t`Forma de pagamento: ${METHOD[participantData.payment.method]}`,\n\t\t15,\n\t\t130\n\t);\n\t// doc.text(\n\t// \t`O valor do evento bruto: R$${eventData.payment_amount.replace(\".\", \",\")}`,\n\t// \t15,\n\t// \t130\n\t// );\n\n\t// doc.rect(10, 140, 190, 15);\n\t// doc.setFont(\"helvetica\", \"bold\");\n\t// doc.text(`Recebemos o valor da inscrição de R$500,00`, 15, 150);\n\n\tdoc.rect(10, 140, 190, 25);\n\tdoc.setFont(\"helvetica\", \"bold\");\n\tdoc.text(\"INFORMAÇÕES ADICIONAIS\", 15, 150);\n\tdoc.setFont(\"helvetica\", \"normal\");\n\tdoc.text(\"Pagamento feito pela plataforma da Pagar.me\", 15, 155);\n\tdoc.text(\n\t\t`Pagamento aprovado no dia: ${DateTime.fromISO(\n\t\t\tparticipantData.payment.approved_at\n\t\t).toFormat(\"dd/MM/yyyy\")}`,\n\t\t15,\n\t\t160\n\t);\n\n\tvar pageWidth = doc.internal.pageSize.width;\n\tvar pageHeight = doc.internal.pageSize.height;\n\n\tdoc.setFont(\"helvetica\", \"bold\");\n\tdoc.addImage(`${Signature}`, \"PNG\", 65, 185, 80, 30);\n\tdoc.text(\n\t\t`ABRAFARMA – Associação Brasileira de Redes de Farmácias e Drogarias`,\n\t\tpageWidth / 2,\n\t\t220,\n\t\t{ align: \"center\" }\n\t);\n\tdoc.setFont(\"helvetica\", \"normal\");\n\tdoc.text(`Sandra Lima - Secretária Executiva`, pageWidth / 2, 225, {\n\t\talign: \"center\",\n\t});\n\tdoc.save(`${eventData.title.replaceAll(\" \", \"\")}.pdf`);\n}\n\nasync function getCredentialFile() {\n\tconst url = `participant/credential/${store.state.event.eventId}/${store.state.event.userId}`;\n\tconst { response, data } = await HttpAdapterCustomer.get(\n\t\t{ url }\n\t);\n\tisCredential.value = response.ok;\n\tif (!response.ok) return \"\";\n\treturn urlNewApi + \"/participant/uploads/pdf/\" + data?.fileName;\n}\n\nonMounted(async () => {\n\tgetEvent();\n\tgetParticipantData();\n\tcredential.value = await getCredentialFile();\n\tstopSpinner();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BoxEvent, null, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_KeepAlive, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n variant: 'primary',\n disabled: !isCredential.value,\n onClick: downloadCredential\n }, {\n default: _withCtx(() => [\n (isCredential.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, [\n _createVNode(IcDownload, { class: \"svgIcon\" }),\n _createTextVNode(\" Baixar voucher da inscrição\")\n ]))\n : _createCommentVNode(\"\", true),\n (!isCredential.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \" Voucher indisponível\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n (eventData.is_paid && participantData.payment.status === 'paid')\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n variant: 'primary',\n onClick: generatePdf\n }, {\n default: _withCtx(() => [\n (isCredential.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, [\n _createVNode(IcCurrent, { class: \"svgIcon\" }),\n _createTextVNode(\" Baixar recibo de pagamento\")\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ], 1024))\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5ec68586&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5ec68586\"]])\n\nexport default __exports__","\n\n","import { render } from \"./ActivityBox.vue?vue&type=template&id=6dd724fd\"\nconst script = {}\n\nimport \"./ActivityBox.vue?vue&type=style&index=0&id=6dd724fd&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1413151e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"speaker_profile\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"speaker_name\" }\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ActivityCard',\n props: {\n\tsrc: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tname: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: props.src,\n class: \"speaker_image\"\n }, null, 8, _hoisted_2),\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(props.name), 1)\n ]))\n}\n}\n\n})","import script from \"./ActivityCard.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ActivityCard.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ActivityCard.vue?vue&type=style&index=0&id=1413151e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1413151e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-06e608ce\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"schedule_speaker\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"speaker_box\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"c-schedule_table_cards order_card\",\n style: {\"width\":\"100%\",\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"center\",\"align-items\":\"center\",\"margin-left\":\"-55px\"}\n}\nconst _hoisted_4 = { class: \"title\" }\nconst _hoisted_5 = [\"innerHTML\"]\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ActivityContainerCards',\n props: {\n\ttitle: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tisShowCards: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n\tdescription: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tisShow: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (props.isShow)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.isShowCards)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"h4\", _hoisted_4, _toDisplayString(props.title), 1),\n _createElementVNode(\"div\", {\n innerHTML: props.description,\n style: {\"width\":\"600px\"}\n }, null, 8, _hoisted_5)\n ]))\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./ActivityContainerCards.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ActivityContainerCards.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ActivityContainerCards.vue?vue&type=style&index=0&id=06e608ce&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-06e608ce\"]])\n\nexport default __exports__","\n\n","import { render } from \"./IcPlace.vue?vue&type=template&id=a2d167d2\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2e112001\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"c-hour\" }\nconst _hoisted_2 = { class: \"c-hour_box\" }\nconst _hoisted_3 = { class: \"c-hour_text\" }\nconst _hoisted_4 = { class: \"c-hour_text\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"c-hour_text\"\n}\n\nimport IcPlace from \"@/components/icons/IcPlace.vue\";\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ActivityHours',\n props: {\n\thour: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tplace: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tcompany: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(props.company), 1),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(props.hour), 1),\n (props.place)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, [\n _createVNode(IcPlace),\n _createTextVNode(),\n _createElementVNode(\"strong\", null, _toDisplayString(props.place), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./ActivityHours.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ActivityHours.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ActivityHours.vue?vue&type=style&index=0&id=2e112001&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2e112001\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, 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-53d7bab8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"schedule_company\"\n}\nconst _hoisted_2 = [\"src\"]\n\nimport { existThisFile } from \"@/helpers/isUrlExists\";\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ActivityLogo',\n props: {\n\tsrc: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tisShow: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (props.isShow)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n class: \"company\",\n src: _unref(existThisFile)(props.src),\n alt: \"logo da empresa\"\n }, null, 8, _hoisted_2)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./ActivityLogo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ActivityLogo.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ActivityLogo.vue?vue&type=style&index=0&id=53d7bab8&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-53d7bab8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-91825aba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"DivTagP\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"p\" }, \" Caro participante, durante a semana do evento você receberá um email com o “ Ingresso Digital” para cada dia das sessões listadas abaixo. \", -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"p\" }, \" Caso queira receber seus ingressos agora, cliquei no botão abaixo “Enviar Ingresso Digital”. \", -1))\nconst _hoisted_4 = [\n _hoisted_2,\n _hoisted_3\n]\nconst _hoisted_5 = {\n key: 1,\n class: \"DivTagP\"\n}\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"p\" }, \" Caro participante, segue abaixo as atividades que você foi convidado. \", -1))\nconst _hoisted_7 = [\n _hoisted_6\n]\nconst _hoisted_8 = { class: \"c-schedule_table c-schedule_table--findRetail\" }\nconst _hoisted_9 = { class: \"schedule_table_confirmed\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-center confirmed\" }, \"Confirmado\", -1))\nconst _hoisted_11 = {\n key: 2,\n class: \"DivButton\"\n}\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport { Hours, Logo } from \"@/components/Organism/ActivitiesLines\";\nimport BoxEvent from \"@/components/Organism/BoxEvent.vue\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { stopSpinner } from \"@/helpers/SpinnerHandler\";\nimport { onMounted, reactive, ref } from \"vue\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\n\nconst states: any[] = reactive([]);\nconst isOnline = ref(false);\n\nonMounted(() => {\n\tgetApi();\n\tstopSpinner();\n});\n\nasync function getApi() {\n\tconst event = store.state.event;\n\tconst url = `invite-activity?participant_id=${event.userId}&event_id=${event.eventId}`;\n\tconst data = await HttpAdapter.get(url);\n\tstates.push(...data.activities);\n\tisOnline.value = data.isOnline;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BoxEvent, null, {\n default: _withCtx(() => [\n (isOnline.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _hoisted_4))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _hoisted_7)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(states, (state) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"c-schedule_event\",\n key: state.id\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_unref(Hours), {\n class: \"schedule_table_hour\",\n place: state.place,\n hour: `${state.date} - ${state.hour}`,\n company: state.title\n }, null, 8, [\"place\", \"hour\", \"company\"]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_unref(Logo), {\n class: \"c-table_column order_logo\",\n src: 'https://eventosabrafarma.com.br/content/' + state.logo\n }, null, 8, [\"src\"])\n ])\n ])\n ]))\n }), 128)),\n (isOnline.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(BaseButton, {\n variant: \"secondary\",\n class: \"buttonSendInvite\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Enviar ingresso digital \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=91825aba&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-91825aba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, withCtx as _withCtx, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/logo_abrafarma.png'\nimport _imports_1 from '@/assets/success.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2b4d9c4e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"
\\\"\\\"

Dados enviados com sucesso

Dados enviados com sucesso, aguarde o envio do convite no seu e-mail

Caso não encontre seu e-mail na caixa de entrada verifique o Spam

\", 5)\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" Voltar para o inicio \", -1))\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport IcArrowLeft from \"@/components/icons/IcArrowLeft.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Guest',\n setup(__props) {\n\nfunction goBack() {\n\twindow.history.back();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(BaseButton, {\n variant: 'primary',\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\"},\n onClick: goBack\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft),\n _hoisted_7\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./Guest.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Guest.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Guest.vue?vue&type=style&index=0&id=2b4d9c4e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2b4d9c4e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-dc8e3f0a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"title-modal\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Termos de Aceite Eventos Abrafarma\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-content\" }, [\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Caro(a) Participante:\"),\n /*#__PURE__*/_createElementVNode(\"span\", null, \" Gostaríamos de lembrar que a Abrafarma segue, e solicita que os participantes também sigam, as seguintes políticas em todos os eventos realizados de modo presencial ou remoto: \"),\n /*#__PURE__*/_createElementVNode(\"ul\", { style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"gap\":\"16px\"} }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \" - Respeito incondicional à diversidade e combate às práticas discriminatórias de qualquer espécie, tais como: raça, orientação sexual, classe social, nacionalidade, origem, identidade de gênero, deficiência, obrigação familiar, opinião política, idade e religião, dentre outras; \"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \" - Cumprimento integral do que estabelece a Constituição, as leis e determinações de autoridades administrativa; \"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \" - Respeito aos direitos de propriedade intelectual e direito de imagem e, por isso, é proibida a gravação em áudio e/ou vídeo de qualquer evento; \"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \" - Evento é restrito as redes associadas à Abrafarma e seus convidados. Autorizo a Abrafarma a coletar meus dados pessoais para fins de comunicações eletrônicas de eventos da Entidade(SMS, mensagens instantâneas, telefone, e-mail), conforme a Lei nº 13.709/1 \")\n ])\n], -1))\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { ref } from \"vue\";\n\ninterface Props {\n\tcloseModal: () => void;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalLGPD',\n props: {\n closeModal: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tcloseModal: () => void;\n}\n\nconst spinner = ref(false);\n\n\nfunction closeModal() {\n\tprops.closeModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n onClick: closeModal,\n class: \"overlay-modal\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n onClick: closeModal,\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Li e aceito os termos\")\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalLGPD.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalLGPD.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalLGPD.vue?vue&type=style&index=0&id=dc8e3f0a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-dc8e3f0a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-551a7272\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"title-modal\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Termos de Aceite Eventos Abrafarma - Online\", -1))\nconst _hoisted_4 = { class: \"modal-content\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Caro(a) Participante:\", -1))\nconst _hoisted_6 = { class: \"description-content\" }\nconst _hoisted_7 = { class: \"button-modal\" }\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { ref } from \"vue\";\n\ninterface Props {\n\tcloseModal: () => void;\n\tdescription: string\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalOnlineTerm',\n props: {\n closeModal: null,\n description: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tcloseModal: () => void;\n\tdescription: string\n}\n\nconst spinner = ref(false);\n\n\nfunction closeModal() {\n\tprops.closeModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n onClick: closeModal,\n class: \"overlay-modal\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n style: {\"color\":\"#fff\"},\n onClick: closeModal\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"pre\", _hoisted_6, _toDisplayString(props.description), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseButton, {\n onClick: closeModal,\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Entendi\")\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalOnlineTerm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalOnlineTerm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalOnlineTerm.vue?vue&type=style&index=0&id=551a7272&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-551a7272\"]])\n\nexport default __exports__","\n","import { render } from \"./IcWhatsApp.vue?vue&type=template&id=bc67a7d8\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { style: {\"width\":\"95%\",\"text-align\":\"start\",\"padding\":\"1rem\",\"display\":\"flex\",\"flex-direction\":\"column\",\"gap\":\"0.5rem\",\"border\":\"1px solid #cacaca\",\"margin\":\"0.5rem\"} }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"

O Abrafarma Future Trends é reconhecido pela sua qualidade e porte, sendo considerado o mais importante do varejo farmacêutico das Américas e um dos maiores do mundo. O evento reúne executivos das principais redes associadas à entidade, além dos principais players da indústria farmacêutica, alimentar, de higiene e beleza e distribuição.

Se você faz parte do mercado farma e tem interesse em participar, mas não é um patrocinador do Business Club Abrafarma, terá a oportunidade de adquirir um ingresso.

Saiba como:
  1. 1. Quem pode participar:
    • • Varejo – Exclusivamente redes associadas à Abrafarma
    • • Parceiros comerciais – Fabricantes de medicamentos, produtos para a saúde, higiene, beleza e outros itens comercializados em farmácias
    • • Outros Fornecedores – Empresas de serviços, equipamentos, sistemas e outras atividades de interesse do varejo
    • • Autoridades
    • • Imprensa
    • • Outros convidados de interesse das redes associadas
  2. 2. Se você faz parte de um dos grupos listados acima, o próximo passo é realizar o pré-cadastro para avaliação da entidade. Para garantir a qualidade do evento, as solicitações de compra passarão por uma validação rigorosa e, por isso, nem todas as solicitações serão aceitas.
  3. 3. Realizar o pagamento, O valor da inscrição pode variar de acordo com o momento da compra, já que existem lotes e preços promocionais para inscrições realizadas antecipadamente. O pagamento só será debitado após a validação da sua inscrição pela Abrafarma.
\", 4)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", { style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"0.5rem\"} }, \" Para mais informações entre em contato com a nossa central de atendimento via WhatsApp \", -1)\nconst _hoisted_7 = { class: \"flex gap-2 items-center\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"strong\", null, \"* Atendimento exclusivo via WhatsApp\", -1)\nconst _hoisted_9 = { style: {\"display\":\"flex\",\"gap\":\"0.5rem\",\"justify-content\":\"center\",\"margin-top\":\"2rem\"} }\nconst _hoisted_10 = [\"checked\"]\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"label\", { for: \"acceptRules\" }, \"Li, estou ciente das informações acima e reitero a autenticidade dos dados preenchidos por mim abaixo de acordo com a lei.\", -1)\n\nimport IcWhatsApp from \"@/components/icons/IcWhatsApp.vue\";\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FutureTrendsRules',\n props: {\n acceptRules: { type: Boolean },\n isEventPaid: { type: Boolean }\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tacceptRules: boolean;\n\tisEventPaid: boolean;\n}\n\n\n\nfunction openWhatsApp() {\n\tconst phoneNumber = \"551145506201\";\n\tconst isMobile =\n\t\t/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(\n\t\t\tnavigator.userAgent\n\t\t);\n\n\tconst url = isMobile\n\t\t? \"https://api.whatsapp.com/send?phone=\"\n\t\t: \"https://web.whatsapp.com/send?phone=\";\n\n\twindow.open(url + phoneNumber, \"_blank\");\n}\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", null, [\n _hoisted_6,\n _createElementVNode(\"p\", _hoisted_7, [\n _hoisted_8,\n _createVNode(IcWhatsApp, {\n class: \"text-green-700 cursor-pointer\",\n onClick: openWhatsApp\n })\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n name: \"acceptRules\",\n checked: __props.acceptRules,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('update:acceptRules', $event.target.checked)))\n }, null, 40, _hoisted_10),\n _hoisted_11\n ])\n ])\n ], 512)), [\n [_vShow, __props.isEventPaid]\n ])\n}\n}\n\n})","import script from \"./FutureTrendsRules.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FutureTrendsRules.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { router } from \"@/router\";\nimport axios from \"axios\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast();\n\nconst ERRORS: any = {\n\t\"Event id is missing\": \"Evento não disponível\",\n\t\"Financial manager is missing\": \"Responsável financeiro não informado\",\n\t\"Participant batch is missing\": \"Lote de compra vazio\",\n\t\"Error registring ticket batch\": \"Erro ao registrar o pedido de compra\",\n\t\"Financial manager email domain is not valid\":\n\t\t\"E-mail do responsável pelo pagamento inválido!\",\n};\n\nexport async function getEventPublic(setValue: any, eventId: string) {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `public/event/${eventId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\treturn (setValue = data);\n}\n\nexport async function createManyPreRegistration(\n\tdata: any,\n\tcallback: () => void\n) {\n\ttry {\n\t\tconst res = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-batch/create`,\n\t\t\tdata\n\t\t);\n\t\tif (res.status === 200) {\n\t\t\trouter.push(\"/sucesso-participante\");\n\t\t\treturn;\n\t\t}\n\t\tcallback();\n\t} catch (error: any) {\n\t\ttoast.error(error.response.data);\n\t}\n}\n\nexport const updatePreRegistrationIndividual = async (\n\tpreRegistrationId: string,\n\tdata: any,\n\tcallback: () => void\n) => {\n\ttry {\n\t\tconst update = await axios.put(\n\t\t\t`${HttpAdapter.getUrl()}/pre-registration/${preRegistrationId}`,\n\t\t\tdata\n\t\t);\n\t\ttoast.success(\"Inscrição atualizada com sucesso!\");\n\t\tupdate.data;\n\t\tcallback();\n\t\treturn;\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\ttoast.error(\"Erro ao atualizar os dados\");\n\t}\n};\n\nexport async function verifyDiscount(\n\tdata: {\n\t\tevent_id: string;\n\t\tcompany_id: string;\n\t\tregistrations_count: number;\n\t},\n\tcallback: () => void\n) {\n\ttry {\n\t\tconst res = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/ticket-discount/verify-discount`,\n\t\t\tdata\n\t\t);\n\t\tcallback();\n\t\treturn res;\n\t} catch (error: any) {\n\t\ttoast.error(ERRORS[error.response.data]);\n\t}\n}\n\nexport const getPreRegistrationById = async (\n\tpreRegistrationId: any,\n\tcallback: () => void\n): Promise => {\n\tconst list = await axios.get(\n\t\t`${HttpAdapter.getUrl()}/pre-registration/${preRegistrationId}`\n\t);\n\tif (list.status === 500) return;\n\tcallback();\n\treturn list.data;\n};\n","import { IEventData } from \"./interface\";\nimport { getEventPublic, verifyDiscount } from \"./service\";\nimport { defineStore } from \"pinia\";\nimport { useRoute } from \"vue-router\";\n\nconst route = useRoute();\nconst params = route?.params?.id;\n\ninterface Participant {\n\tcpf: string;\n\tname: string;\n\tenterprise_mail: string;\n\tcompany_id: string;\n}\n\nexport const useStorePreRegistration = defineStore(\"useStorePreRegistration\", {\n\tstate: () => ({\n\t\tisPaid: false,\n\t\teventData: {\n\t\t\taddress: \"\",\n\t\t\tassets: [\n\t\t\t\t{\n\t\t\t\t\tevent_id: \"\",\n\t\t\t\t\tfilename: \"\",\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\ttype: \"banner\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tevent_term: {\n\t\t\t\tevent_id: \"\",\n\t\t\t\tdescription: \"\",\n\t\t\t},\n\t\t\tid: \"\",\n\t\t\tis_paid: false,\n\t\t\tlimit_date: \"\",\n\t\t\tonline: false,\n\t\t\tpayment_amount: \"\",\n\t\t\tcommercial_partner_payment_amount: \"\",\n\t\t\tplace: \"\",\n\t\t\ttitle: \"\",\n\t\t\tlimit_date_format: \"\",\n\t\t\tcoupon: \"\",\n\t\t} as IEventData,\n\t\teventId: params?.toString(),\n\t\tisFutureTrends: false,\n\t\tfinancialRepresentative: {\n\t\t\tname: \"\",\n\t\t\tcpf: \"\",\n\t\t\temail: \"\",\n\t\t\tphone: \"\",\n\t\t\tcompany_id: \"\",\n\t\t\tposition_id: \"\",\n\t\t\tforeign_document: false,\n\t\t},\n\t\tparticipantsBatch: [\n\t\t\t{\n\t\t\t\tname: \"\",\n\t\t\t\tenterprise_mail: \"\",\n\t\t\t\tcompany_id: \"\",\n\t\t\t},\n\t\t] as Participant[],\n\t\tregistration_value: null as string | null,\n\t\tisCommercialPartner: false,\n\t}),\n\n\tactions: {\n\t\tasync setEventData(data: IEventData) {\n\t\t\tthis.eventData = data;\n\t\t},\n\t\tasync setIsCommercialPartner(data: boolean) {\n\t\t\tthis.isCommercialPartner = data;\n\t\t},\n\n\t\tsetVerifyIfEventIsFutureTrends() {\n\t\t\tif (\n\t\t\t\tthis.eventData.title.includes(\"FUTURE TRENDS\") ||\n\t\t\t\tthis.eventData.title.includes(\"Future Trends\")\n\t\t\t) {\n\t\t\t\tthis.isFutureTrends = true;\n\t\t\t\treturn;\n\t\t\t}\n\t\t},\n\n\t\tsetParticipantTickets(key?: string, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.participantsBatch = [] as Participant[];\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst index = this.participantsBatch.findIndex(\n\t\t\t\t(participant: any) => participant.key === key\n\t\t\t);\n\t\t\tif (index !== -1) {\n\t\t\t\tthis.participantsBatch[index] = {\n\t\t\t\t\t...this.participantsBatch[index],\n\t\t\t\t\t[key]: value,\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tthis.participantsBatch.push({ [key]: value } as Participant);\n\t\t\t}\n\t\t},\n\n\t\tsetFinancialRepresentative(key?: string, value?: any) {\n\t\t\tif (!key) {\n\t\t\t\tthis.financialRepresentative = this.financialRepresentative as any;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t(this.financialRepresentative as any)[key] = value;\n\t\t},\n\n\t\tsetValueInCompanyOptions(value: any) {\n\t\t\t(this.participantsBatch[0].company_id as any) = value;\n\t\t},\n\n\t\tasync setValueInCompanyOptionsFinancial(value: any) {\n\t\t\t(this.financialRepresentative.company_id as any) = value;\n\t\t\tconst data = {\n\t\t\t\tevent_id: this.eventData.id,\n\t\t\t\tcompany_id: value,\n\t\t\t\tregistrations_count: this.participantsBatch.length,\n\t\t\t};\n\t\t\tconst res: any = await verifyDiscount(data, () => {});\n\t\t\tthis.setRegistrationValue(res?.data?.registration_value);\n\t\t\tthis.participantsBatch.forEach((participant) => {\n\t\t\t\tparticipant.company_id = value;\n\t\t\t});\n\t\t},\n\n\t\tsetValueInPositionOptionsFinancial(value: any) {\n\t\t\t(this.financialRepresentative.position_id as any) = value;\n\t\t},\n\t\tsetRegistrationValue(value: any) {\n\t\t\t(this.registration_value as any) = value;\n\t\t},\n\n\t\tsetQuantityTicket(value: number) {\n\t\t\tthis.participantsBatch.length = value;\n\t\t},\n\t},\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withDirectives as _withDirectives, createBlock as _createBlock, vModelCheckbox as _vModelCheckbox, withCtx as _withCtx, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6c96d84c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"banner\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"p-7\"\n}\nconst _hoisted_4 = { class: \"text-4xl\" }\nconst _hoisted_5 = { style: {\"font-size\":\"26px\"} }\nconst _hoisted_6 = {\n key: 1,\n class: \"form-area\"\n}\nconst _hoisted_7 = { class: \"form-top\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"box-one\"\n}\nconst _hoisted_9 = { class: \"line-one\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Dados pessoais\", -1))\nconst _hoisted_11 = { class: \"flex items-center gap-2\" }\nconst _hoisted_12 = [\"checked\", \"value\"]\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Participante é estrangeiro?\", -1))\nconst _hoisted_14 = { class: \"line-three\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Dados complementares\", -1))\nconst _hoisted_16 = { class: \"company\" }\nconst _hoisted_17 = {\n key: 2,\n class: \"term-container\"\n}\nconst _hoisted_18 = {\n key: 0,\n class: \"checkbox-align\"\n}\nconst _hoisted_19 = [\"checked\"]\nconst _hoisted_20 = {\n key: 1,\n class: \"checkbox-align\"\n}\nconst _hoisted_21 = [\"checked\"]\nconst _hoisted_22 = {\n key: 2,\n class: \"checkbox-align\"\n}\nconst _hoisted_23 = [\"checked\"]\nconst _hoisted_24 = {\n key: 3,\n class: \"button-area\"\n}\nconst _hoisted_25 = { class: \"container-version\" }\nconst _hoisted_26 = { class: \"footer\" }\nconst _hoisted_27 = [\"src\"]\n\nimport ModalLGPDNew from \"../ModalLGPD.vue\";\nimport ModalOnlineTerm from \"../ModalOnlineTerm.vue\";\nimport FutureTrendsRules from \"../Rules/FutureTrendsRules.vue\";\nimport { IEventAssets, IEventData } from \"../interface\";\nimport {\n\tgetEventPublic,\n\tgetPreRegistrationById,\n\tupdatePreRegistrationIndividual,\n} from \"../service\";\nimport { useStorePreRegistration } from \"../store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\nimport { validateEmail } from \"@/helpers/ValidateEmail\";\nimport { getContentUrl } from \"@/helpers/abrafarmaApi\";\nimport { removeMask } from \"@/helpers/mask\";\nimport {\n\tgetPreRegistration,\n\tupdatePreRegistration,\n} from \"@/views/Admin/PreRegistration/service\";\nimport axios from \"axios\";\nimport { DateTime } from \"luxon\";\nimport { computed, onMounted, reactive, ref, watch } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst storePreRegistration = useStorePreRegistration();\nconst toast = useToast();\nconst route = useRoute();\nconst router = useRouter();\nconst params = route.params.id;\nconst preRegistrationCompanyId = ref(\"\");\nconst formData = reactive({\n\tid: \"\",\n\timg: undefined,\n\tcpf: \"\",\n\tname: \"\",\n\tname_credential: \"\",\n\tinvited_company: \"\",\n\tinvited_by: 0,\n\tdescription_role: \"\",\n\temail: \"\",\n\tphone: \"\",\n\treceipt: undefined,\n\tcoupon_id: \"\",\n\tforeign_document: false,\n\tbatch_registration_completed: true,\n});\nconst image = ref(\"\");\nconst openLgpd = ref(false);\nconst companyTip = ref(false);\nconst onlineTerm = ref(false);\nconst error = ref(\"\");\nconst store = useStore();\nconst assets = reactive({\n\tbanner: \"\",\n\tfooter: \"\",\n});\nconst selectValues = reactive({\n\tcompany: preRegistrationCompanyId.value,\n\tinvited_by: \"\",\n\ttype_role: \"\",\n});\nconst maskValues = reactive({\n\tcpf: \"\",\n\tphone: \"\",\n});\nconst companyOptions = ref<{ id: string; name: string }[]>([]);\nconst positionOptions = ref<{ id: string; name: string }[]>([]);\nconst newCompany = ref(false);\n\nconst limit = ref(false);\nconst currentDate = ref(\"\");\nconst couponData = reactive({\n\tcouponCode: \"\",\n\tamount_payment: \"0\",\n});\nconst isFutureTrends = ref(false);\nconst acceptRules = ref(false);\nconst itsBulkPurchase = ref(false);\nconst isForeigner = ref(false);\n\nconst onChangeParticipantForeigner = (event: any) => {\n\tisForeigner.value = event.target.checked;\n};\n\nwatch(selectValues, () => {\n\tcloseModal();\n});\n\nconst invited = computed(() =>\n\t// eslint-disable-next-line\n\tselectValues.company === \"a717d0ac-fef5-47ce-9a33-c3539bc7ef65\" ||\n\tselectValues.company === \"296a1832-3caa-4576-a377-fc0e412f53ae\"\n\t\t? true\n\t\t: false\n);\n\nasync function getCompanyIndividualParticipant() {\n\tconst preRegistrationId = route.params.pre_registration_id;\n\tconst res = await getPreRegistrationById(preRegistrationId, () => {});\n\tpreRegistrationCompanyId.value = res.company_id;\n}\n\nasync function verifyIfEventIsFutureTrends() {\n\tconst eventDataVerify = undefined;\n\tconst eventId = params.toString();\n\tconst res: IEventData = await getEventPublic(eventDataVerify, eventId);\n\tif (\n\t\tres.title.includes(\"FUTURE TRENDS\") ||\n\t\tres.title.includes(\"Future Trends\")\n\t) {\n\t\tisFutureTrends.value = true;\n\t\treturn;\n\t}\n}\n\nasync function downloadTermEvent() {\n\tconst downloadTermLink = `${getContentUrl()}/${params}/event_term`;\n\twindow.open(downloadTermLink);\n}\n\nasync function downloadPrivacyPolicyTerm() {\n\tconst downloadPrivacyPolicyLink = `${getContentUrl()}/${params}/privacy_policy_term`;\n\twindow.open(downloadPrivacyPolicyLink);\n}\n\nasync function setEventData() {\n\tconst setEventData = undefined;\n\tconst eventId = params.toString();\n\tconst response: IEventData = await getEventPublic(setEventData, eventId);\n\tstorePreRegistration.setEventData(response);\n}\n\nasync function eventValidDate() {\n\tconst dateEvent = undefined;\n\tconst eventId = params.toString();\n\tconst res: IEventData = await getEventPublic(dateEvent, eventId);\n\tconst timestamp = new Date();\n\tconst today = DateTime.fromJSDate(timestamp).toFormat(\"MM/dd/yyyy\");\n\tcurrentDate.value = today;\n\tconst limitDateFormat = DateTime.fromISO(res.limit_date).toFormat(\n\t\t\"MM/dd/yyyy\"\n\t);\n\tlimit.value = currentDate.value < limitDateFormat;\n}\n\nconst getBannerAndFooter = async () => {\n\tconst eventAssets: IEventAssets[] = await HttpAdapter.get(\n\t\t`event-assets/${params}`\n\t);\n\tconst banner = eventAssets.find((asset) => asset.type === \"banner\");\n\tconst footer = eventAssets.find((asset) => asset.type === \"footer\");\n\tconst imageBanner = `${getContentUrl()}/${banner?.path}`;\n\tconst imageFooter = `${getContentUrl()}/${footer?.path}`;\n\tassets.banner = imageBanner;\n\tassets.footer = imageFooter;\n};\n\nconst getCompany = async () => {\n\tconst companyName = await HttpAdapter.get(\"company/names-and-ids\");\n\tconst invited = [\n\t\t\"a717d0ac-fef5-47ce-9a33-c3539bc7ef65\",\n\t\t\"296a1832-3caa-4576-a377-fc0e412f53ae\",\n\t];\n\tconst companies = companyName.filter((item: any) => {\n\t\tif (!storePreRegistration.eventData.is_paid) return true;\n\t\treturn !invited.includes(item.id);\n\t});\n\tcompanyOptions.value = [{ name: \"Selecione\", id: \"\" }, ...companies];\n};\n\nconst getPosition = async () => {\n\tconst positionName = await HttpAdapter.get(\"position-type\");\n\n\tpositionOptions.value = [{ name: \"Selecione\", id: \"\" }, ...positionName];\n};\n\nconst handleImage = ({ target }: any) => {\n\tformData.img = target.files[0];\n\tconst url = URL?.createObjectURL(target.files[0]);\n\timage.value = url;\n};\n\nconst openCompanyTip = () => {\n\tcompanyTip.value = true;\n};\n\nconst openOnlineTerm = () => {\n\tonlineTerm.value = true;\n};\n\nconst updateValues = () => {\n\tformData.cpf = maskValues.cpf;\n\tformData.phone = maskValues.phone;\n\tselectValues.company = preRegistrationCompanyId.value;\n};\n\nfunction handleNewCompany() {\n\tnewCompany.value = !newCompany.value;\n}\n\nasync function handleApplyCoupon() {\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl: `public/coupon/${couponData.couponCode}/redeem`,\n\t\told_url: true,\n\t});\n\tif (!response.ok) {\n\t\ttoast.error(data.message);\n\t\treturn;\n\t}\n\tcouponData.amount_payment = data.amount_payment;\n\tformData.coupon_id = data.id;\n\ttoast.success(\"Cupom vinculado com sucesso!\");\n}\n\nfunction closeModal(id?: string) {\n\tif (id) {\n\t\tselectValues.company = id;\n\t}\n\tnewCompany.value = false;\n\topenLgpd.value = false;\n\tcompanyTip.value = false;\n\tonlineTerm.value = false;\n\tgetCompany();\n}\n\n// eslint-disable-next-line sonarjs/cognitive-complexity\nconst saveForm = async (event: any) => {\n\tevent.preventDefault();\n\tupdateValues();\n\tformData.id = route.params.pre_registration_id.toString();\n\n\tif (!selectValues.company.length || !selectValues.type_role) {\n\t\ttoast.error('Obrigatório a seleção do campo \"Empresa\" e \"Tipo de Cargo\"');\n\t\treturn;\n\t}\n\n\tconst emailIsValid = validateEmail(formData.email);\n\tconst cpfFromLogin = removeMask(formData.cpf, \"^0-9\");\n\tconst phoneFormat = removeMask(formData.phone, \"^0-9\");\n\tconst cpfIsValid = isForeigner?.value\n\t\t? formData?.cpf\n\t\t: validateCPF(cpfFromLogin);\n\tformData.phone = phoneFormat;\n\tformData.foreign_document = isForeigner.value;\n\tif (!cpfIsValid) {\n\t\terror.value = \"CPF inválido\";\n\t\treturn toast.error(error.value);\n\t}\n\tconst formattedCpf = isForeigner?.value\n\t\t? formData?.cpf?.toLocaleUpperCase()\n\t\t: cpfFromLogin;\n\tformData.cpf = formattedCpf;\n\tif (!emailIsValid) {\n\t\terror.value = \"E-mail inválido\";\n\t\treturn toast.error(error.value);\n\t}\n\tconst dataForm = new FormData();\n\tfor (let key in formData) {\n\t\tconst [keyObj, obj]: any = [key, formData];\n\t\tif (keyObj === \"img\") continue;\n\t\tif (obj[keyObj]) dataForm.append(key, obj[keyObj]);\n\t}\n\tfor (let key in selectValues) {\n\t\tconst [keyObj, obj]: any = [key, selectValues];\n\t\tif (obj[keyObj]) dataForm.append(key, obj[keyObj]);\n\t}\n\n\tif (formData.img) {\n\t\tconst imageProfile = new File(\n\t\t\t[formData.img as any],\n\t\t\t`image_profile_${cpfFromLogin}.${\n\t\t\t\t(formData?.img as any).name.split(\".\")[1]\n\t\t\t}`\n\t\t);\n\t\tdataForm.append(\"file\", imageProfile);\n\t}\n\tdataForm.append(\"event_id\", `${params}`);\n\ttry {\n\t\tconst preRegistrationId = route.params.pre_registration_id.toString();\n\t\tawait updatePreRegistrationIndividual(preRegistrationId, dataForm, () => {\n\t\t\trouter.push(\"/sucesso-participante\");\n\t\t});\n\t} catch (error: any) {\n\t\ttoast.error(error.response.data.message);\n\t}\n};\n\nonMounted(async () => {\n\t// getEvent();\n\tawait getCompanyIndividualParticipant();\n\tawait setEventData();\n\tgetPosition();\n\tgetBannerAndFooter();\n\tgetCompany();\n\teventValidDate();\n\tverifyIfEventIsFutureTrends();\n\t// getHealthCertificates();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"form\", {\n class: \"container\",\n onSubmit: saveForm\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n class: \"banner-image\",\n src: assets.banner\n }, null, 8, _hoisted_2)\n ]),\n (!limit.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"h2\", _hoisted_4, \" Inscrições para o evento \" + _toDisplayString(_unref(storePreRegistration).eventData.title) + \" encerrado! \", 1),\n _createElementVNode(\"p\", _hoisted_5, [\n _createTextVNode(\" Mas você ainda pode participar realizando a compra na hora no local do evento: \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(storePreRegistration).eventData.place), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(FutureTrendsRules, {\n acceptRules: acceptRules.value,\n \"onUpdate:acceptRules\": _cache[0] || (_cache[0] = ($event: any) => (acceptRules.value = $event))\n }, null, 8, [\"acceptRules\"]),\n (limit.value && isFutureTrends.value ? acceptRules.value : limit.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n (!itsBulkPurchase.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n (!isForeigner.value)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"cpf\",\n placeholder: \"Digite seu CPF\",\n label: \"CPF*:\",\n required: \"\",\n value: maskValues.cpf,\n modelValue: formData.cpf,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.cpf) = $event)),\n onChange: _cache[2] || (_cache[2] = (e) => (maskValues.cpf = e.target.value))\n }, null, 8, [\"value\", \"modelValue\"])), [\n [vMask, ['###.###.###-##']]\n ])\n : (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"cpf\",\n placeholder: \"Digite seu Documento estrangeiro\",\n label: \"Documento estrangeiro*:\",\n required: \"\",\n value: maskValues.cpf,\n modelValue: formData.cpf,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.cpf) = $event)),\n onChange: _cache[4] || (_cache[4] = (e) => (maskValues.cpf = e.target.value))\n }, null, 8, [\"value\", \"modelValue\"])),\n _createElementVNode(\"div\", _hoisted_11, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n checked: isForeigner.value,\n class: \"checkbox-mobile\",\n name: \"foreigner\",\n value: isForeigner.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((isForeigner).value = $event)),\n onChange: onChangeParticipantForeigner\n }, null, 40, _hoisted_12), [\n [_vModelCheckbox, isForeigner.value]\n ]),\n _hoisted_13\n ]),\n _createVNode(BaseInput, {\n name: \"name\",\n placeholder: \"Digite seu nome completo\",\n label: \"Nome Completo*:\",\n required: \"\",\n value: formData.name,\n onChange: _cache[6] || (_cache[6] = (e) => (formData.name = e.target.value)),\n modelValue: formData.name,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formData.name) = $event))\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n name: \"credentialName\",\n placeholder: \"Nome da credencial\",\n label: \"Nome da Credencial (Nome que será impresso no crachá)*:\",\n required: \"\",\n minlength: 3,\n maxlength: 20,\n value: formData.name_credential,\n onChange: _cache[8] || (_cache[8] = (e) => (formData.name_credential = e.target.value)),\n modelValue: formData.name_credential,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formData.name_credential) = $event))\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n title: \"Ex: email@exemplo\",\n name: \"email\",\n placeholder: \"Digite seu e-mail\",\n label: \"E-mail*:\",\n required: \"\",\n type: \"email\",\n value: formData.email,\n onChange: _cache[10] || (_cache[10] = (e) => (formData.email = e.target.value)),\n modelValue: formData.email,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((formData.email) = $event))\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n maxlength: 15,\n minlength: 15,\n title: \"Ex: (DD) 99999-9999\",\n name: \"phone\",\n label: \"Digite seu telefone celular (Informar DDD + Número e apenas números)*:\",\n placeholder: \"DDD + Número\",\n required: \"\",\n value: \n\t\t\t\t\t\t\t\tmaskValues.phone.replace(\n\t\t\t\t\t\t\t\t\t/^(\\d{2})(\\d{4,5})(\\d{4})$/,\n\t\t\t\t\t\t\t\t\t'($1) $2-$3'\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t,\n modelValue: formData.phone,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((formData.phone) = $event)),\n onChange: _cache[13] || (_cache[13] = (e) => (maskValues.phone = e.target.value))\n }, null, 8, [\"value\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(BaseSelect, {\n label: \"Empresa*:\",\n options: companyOptions.value,\n keys: { keyLabel: 'name', keyValue: 'id' },\n required: \"\",\n value: preRegistrationCompanyId.value,\n onOnChangeOption: _cache[14] || (_cache[14] = (e) => (selectValues.company = e)),\n name: \"company\",\n disabled: preRegistrationCompanyId.value\n }, null, 8, [\"options\", \"value\", \"disabled\"])\n ]),\n (_unref(invited))\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"invited_company\",\n placeholder: \"Nome da sua empresa\",\n label: \"Empresa Convidada:\",\n required: \"\",\n value: formData.invited_company,\n onChange: _cache[15] || (_cache[15] = (e) => (formData.invited_company = e.target.value)),\n modelValue: formData.invited_company,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((formData.invited_company) = $event))\n }, null, 8, [\"value\", \"modelValue\"]))\n : _createCommentVNode(\"\", true),\n (_unref(invited))\n ? (_openBlock(), _createBlock(BaseSelect, {\n key: 1,\n label: \"Convidado(a) por: \",\n placeholder: \"Empresa que convidou\",\n options: companyOptions.value,\n keys: { keyLabel: 'name', keyValue: 'id' },\n required: true,\n value: selectValues.invited_by,\n onOnChangeOption: _cache[17] || (_cache[17] = (e) => (selectValues.invited_by = e)),\n name: \"invited_by\",\n id: \"invited_by\"\n }, null, 8, [\"options\", \"value\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseSelect, {\n label: \"Tipo de Cargo*: \",\n options: positionOptions.value,\n keys: { keyLabel: 'name', keyValue: 'id' },\n required: \"\",\n onOnChangeOption: _cache[18] || (_cache[18] = (e) => (selectValues.type_role = e)),\n value: selectValues.type_role,\n name: \"type_role\",\n id: \"type_role\"\n }, null, 8, [\"options\", \"value\"]),\n _createVNode(BaseInput, {\n name: \"description_role\",\n placeholder: \"Descreva seu cargo\",\n label: \"Descrição do Cargo*:\",\n required: \"\",\n value: formData.description_role,\n onChange: _cache[19] || (_cache[19] = (e) => (formData.description_role = e.target.value)),\n modelValue: formData.description_role,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((formData.description_role) = $event))\n }, null, 8, [\"value\", \"modelValue\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (limit.value && isFutureTrends.value ? acceptRules.value : limit.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", null, [\n (_unref(storePreRegistration).eventData.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n required: true,\n checked: openLgpd.value,\n class: \"checkbox-mobile\"\n }, null, 8, _hoisted_19),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Clique aqui para ler e aceitar \"),\n _createElementVNode(\"a\", {\n target: \"_blank\",\n onClick: openOnlineTerm,\n class: \"link-term\"\n }, \" os Termos de Aceite para participação de Eventos da Abrafarma Online \")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(storePreRegistration).eventData.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n required: true,\n checked: openLgpd.value,\n class: \"checkbox-mobile fix-check-privacy\"\n }, null, 8, _hoisted_21),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Clique aqui para ler e aceitar \"),\n _createElementVNode(\"a\", {\n target: \"_blank\",\n onClick: downloadPrivacyPolicyTerm,\n class: \"link-term\"\n }, \" a Políticas de Tratamento de Dados Abrafarma \")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(storePreRegistration).eventData.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n required: true,\n checked: openLgpd.value,\n class: \"checkbox-mobile fix-check-term\"\n }, null, 8, _hoisted_23),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Clique aqui para ler e aceitar \"),\n _createElementVNode(\"a\", {\n target: \"_blank\",\n onClick: downloadTermEvent,\n class: \"link-term\"\n }, \" os Termos de Aceite para participação de Eventos da Abrafarma \")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (limit.value && isFutureTrends.value ? acceptRules.value : limit.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _createVNode(BaseButton, {\n class: \"save-button\",\n variant: 'primary',\n type: \"submit\",\n title: \"Para habilitar clique para ler os termos de aceite\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Enviar\")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).state.version), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"img\", {\n class: \"footer-image\",\n src: assets.footer\n }, null, 8, _hoisted_27)\n ])\n ], 32),\n (openLgpd.value)\n ? (_openBlock(), _createBlock(ModalLGPDNew, {\n key: 0,\n closeModal: closeModal\n }))\n : _createCommentVNode(\"\", true),\n (onlineTerm.value)\n ? (_openBlock(), _createBlock(ModalOnlineTerm, {\n key: 1,\n closeModal: closeModal,\n description: _unref(storePreRegistration).eventData.event_term.description\n }, null, 8, [\"description\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6c96d84c&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6c96d84c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/logo_abrafarma.png'\nimport _imports_1 from '@/assets/success.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2355b015\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 })\n], -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }, null, -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \"Dados enviados com sucesso\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Cadastro recebido com sucesso, verifique sua caixa de entrada para visualizar o e-mail de confirmação dos dados enviados. \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Caso não encontre o e-mail na caixa de entrada verifique o Spam \", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" Voltar para o inicio \", -1))\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport IcArrowLeft from \"@/components/icons/IcArrowLeft.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Participant',\n setup(__props) {\n\nfunction goBack() {\n\twindow.history.back();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _hoisted_3,\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n _createVNode(BaseButton, {\n variant: 'primary',\n style: {\"display\":\"flex\",\"gap\":\"0.5rem\"},\n onClick: goBack\n }, {\n default: _withCtx(() => [\n _createVNode(IcArrowLeft),\n _hoisted_7\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./Participant.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Participant.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Participant.vue?vue&type=style&index=0&id=2355b015&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2355b015\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-12683136\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"bg-primaryAdmin h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Cadastrar nova empresa\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { removeMask } from \"@/helpers/mask\";\nimport Axios from \"axios\";\nimport { reactive, ref } from \"vue\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\n\ninterface Props {\n\tcloseModal: (id?: string) => void;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalAddNewCompany',\n props: {\n closeModal: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tcloseModal: (id?: string) => void;\n}\n\nconst vMask = {\n\tbeforeMount: mask,\n};\nconst toast = useToast();\nconst spinner = ref(false);\n\nconst dataCompany = reactive({\n\tcnpj: \"\",\n\tsocialName: \"\",\n\tfantasyName: \"\",\n\tdomains: \"\",\n});\n\nfunction closeModal(id?: string) {\n\tprops.closeModal(id);\n}\n\nasync function handleCreateNewCompany() {\n\tconst cnpjFormatted = removeMask(dataCompany.cnpj, \"^0-9\");\n\tdataCompany.cnpj = cnpjFormatted;\n\tdataCompany.domains = dataCompany.domains.split(\",\");\n\n\tconst saveData = { ...dataCompany };\n\tspinner.value = true;\n\ttry {\n\t\tconst res = await Axios.post(`${HttpAdapter.getUrl()}/company`, saveData);\n\t\tspinner.value = false;\n\t\tcloseModal(res.data.id);\n\t\treturn res.data;\n\t} catch (err: any) {\n\t\tconsole.error(err);\n\t\ttoast.error(err.message);\n\t}\n\tspinner.value = false;\n\tcloseModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n onClick: _cache[0] || (_cache[0] = () => closeModal()),\n class: \"overlay-modal\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n class: \"cursor-pointer\",\n onClick: _cache[1] || (_cache[1] = () => closeModal())\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(handleCreateNewCompany, [\"prevent\"]),\n class: \"body-modal\"\n }, [\n _withDirectives(_createVNode(BaseInput, {\n name: \"cnpj\",\n label: \"CNPJ*: \",\n placeholder: \"Digite o CNPJ\",\n required: \"\",\n value: dataCompany.cnpj,\n onChange: _cache[2] || (_cache[2] = (event) => (dataCompany.cnpj = event.target.value)),\n modelValue: dataCompany.cnpj,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((dataCompany.cnpj) = $event))\n }, null, 8, [\"value\", \"modelValue\"]), [\n [vMask, '##.###.###/####-##']\n ]),\n _createVNode(BaseInput, {\n name: \"socialName\",\n label: \"Razão Social*: \",\n placeholder: \"Digite a Razão Social\",\n value: dataCompany.socialName.toUpperCase(),\n onChange: _cache[4] || (_cache[4] = (event) => (dataCompany.socialName = event.target.value)),\n modelValue: dataCompany.socialName,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((dataCompany.socialName) = $event)),\n required: \"\"\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n name: \"fantasyName\",\n label: \"Nome Fantasia*: \",\n placeholder: \"Digite o Nome Fantasia\",\n value: dataCompany.fantasyName.toUpperCase(),\n onChange: _cache[6] || (_cache[6] = (event) => (dataCompany.fantasyName = event.target.value)),\n modelValue: dataCompany.fantasyName,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((dataCompany.fantasyName) = $event)),\n required: \"\"\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n name: \"domains\",\n label: \"Domínio de E-mail (digitar sem o '@')*\",\n placeholder: \"Insira um Domínio\",\n required: \"\",\n value: dataCompany?.domains,\n onChange: _cache[8] || (_cache[8] = (event) => (dataCompany.domains = event.target.value))\n }, null, 8, [\"value\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n variant: \"new-secondary\",\n type: \"button\",\n onClick: _cache[9] || (_cache[9] = () => closeModal())\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancelar \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ], 40, _hoisted_4)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalAddNewCompany.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalAddNewCompany.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalAddNewCompany.vue?vue&type=style&index=0&id=12683136&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-12683136\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3cf122eb\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"bg-primaryAdmin h-20 rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Cadastrar nova empresa\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-content\" }, [\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Caro(a) Participante:\"),\n /*#__PURE__*/_createElementVNode(\"ul\", { style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"gap\":\"1rem\"} }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \" - Verifique se sua empresa já está cadastrada na listagem e selecione-a para realizar o preenchimento do campo. \"),\n /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createTextVNode(\" - Caso sua empresa \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"NÃO\"),\n /*#__PURE__*/_createTextVNode(\" esteja cadastrada, clique no botão \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"CADASTRAR\"),\n /*#__PURE__*/_createTextVNode(\" e efetue o cadastro informando Razão Social, Nome Fantasia e CNPJ. \")\n ]),\n /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createTextVNode(\" - Se eventualmente você estiver participando desse evento por conta própria, selecione a opção \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"SEM VÍNCULO\"),\n /*#__PURE__*/_createTextVNode(\". \")\n ])\n ])\n], -1))\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { ref } from \"vue\";\n\ninterface Props {\n\tcloseModal: () => void;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ModalCompanyTip',\n props: {\n closeModal: null\n },\n setup(__props: any) {\n\nconst props = __props as {\n\tcloseModal: () => void;\n}\n\nconst spinner = ref(false);\n\n\nfunction closeModal() {\n\tprops.closeModal();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n onClick: closeModal,\n class: \"overlay-modal\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", { onClick: closeModal }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n onClick: closeModal,\n variant: \"primary\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Entendi\")\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ModalCompanyTip.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalCompanyTip.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalCompanyTip.vue?vue&type=style&index=0&id=3cf122eb&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3cf122eb\"]])\n\nexport default __exports__","import { vModelCheckbox as _vModelCheckbox, mergeProps as _mergeProps, createElementVNode as _createElementVNode, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-86ed149e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"toggle-switch\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", {\n class: \"toggle-label\",\n for: \"toggle\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _withDirectives(_createElementVNode(\"input\", _mergeProps({\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.checked) = $event))\n }, _ctx.$attrs, {\n class: \"toggle-input\",\n id: \"toggle\",\n type: \"checkbox\",\n onChange: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.onChange && _ctx.onChange(...args)))\n }), null, 16), [\n [_vModelCheckbox, _ctx.checked]\n ]),\n _hoisted_2\n ]))\n}","\nimport { defineComponent } from \"vue\";\n\nexport default defineComponent({\n\tname: \"ToggleSwitch\",\n\tprops: {\n\t\tchecked: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tsetup(props, { emit }) {\n\t\tconst onChange = (event: Event) => {\n\t\t\temit(\"change\", (event.target as HTMLInputElement).checked);\n\t\t};\n\n\t\treturn {\n\t\t\tonChange,\n\t\t};\n\t},\n});\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=86ed149e&scoped=true&ts=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=ts\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=ts\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=86ed149e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-86ed149e\"]])\n\nexport default __exports__","","import { render } from \"./IcQuestion.vue?vue&type=template&id=0783de00\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, createBlock as _createBlock, vModelCheckbox as _vModelCheckbox, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-17d4edf2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"banner\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"p-7\"\n}\nconst _hoisted_4 = { class: \"text-4xl\" }\nconst _hoisted_5 = { style: {\"font-size\":\"26px\"} }\nconst _hoisted_6 = {\n key: 1,\n class: \"form-area\"\n}\nconst _hoisted_7 = { class: \"form-top\" }\nconst _hoisted_8 = { class: \"flex justify-center items-center\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Deseja fazer a compra de mais de 1 ingresso?\", -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"box-one\"\n}\nconst _hoisted_11 = { class: \"line-one\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Dados pessoais\", -1))\nconst _hoisted_13 = { class: \"flex items-center gap-2\" }\nconst _hoisted_14 = [\"checked\", \"value\"]\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Participante é estrangeiro?\", -1))\nconst _hoisted_16 = { class: \"line-three\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Dados complementares\", -1))\nconst _hoisted_18 = { class: \"company\" }\nconst _hoisted_19 = {\n key: 0,\n class: \"register-company\"\n}\nconst _hoisted_20 = {\n key: 1,\n class: \"box-one\"\n}\nconst _hoisted_21 = { class: \"flex flex-col justify-center text-left flex-wrap gap-5 mt-5 w-full text-primaryAdmin\" }\nconst _hoisted_22 = { class: \"font-bold mb-2 flex items-center gap-1\" }\nconst _hoisted_23 = { title: \"Responsável pelo pagamento de todas as inscrições abaixo de 'Dados dos participantes'\" }\nconst _hoisted_24 = {\n class: \"flex items-center gap-2\",\n style: {\"margin-bottom\":\"10px\"}\n}\nconst _hoisted_25 = [\"checked\"]\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"O responsável é estrangeiro?\", -1))\nconst _hoisted_27 = { class: \"flex flex-col gap-2\" }\nconst _hoisted_28 = { class: \"flex flex-col lg:flex-row gap-2\" }\nconst _hoisted_29 = { class: \"flex flex-col gap-2\" }\nconst _hoisted_30 = { class: \"flex flex-col lg:flex-row gap-2\" }\nconst _hoisted_31 = { class: \"company\" }\nconst _hoisted_32 = {\n key: 0,\n class: \"register-company\"\n}\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"bg-grayLight h-[2px]\" }, null, -1))\nconst _hoisted_34 = { class: \"batch-box\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", { class: \"font-bold mb-2\" }, \"Dados dos participantes\", -1))\nconst _hoisted_36 = { class: \"flex flex-col lg:flex-row w-full gap-2\" }\nconst _hoisted_37 = {\n key: 2,\n class: \"flex items-end\"\n}\nconst _hoisted_38 = {\n key: 2,\n class: \"payment-area\"\n}\nconst _hoisted_39 = { class: \"payment-value\" }\nconst _hoisted_40 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"0.5rem\"} }\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Inscrição\", -1))\nconst _hoisted_42 = { class: \"payment-line\" }\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Sub-total\", -1))\nconst _hoisted_44 = { class: \"payment-line\" }\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Cupom\", -1))\nconst _hoisted_46 = { class: \"payment-line mt-2\" }\nconst _hoisted_47 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Total\", -1))\nconst _hoisted_48 = { key: 0 }\nconst _hoisted_49 = { key: 1 }\nconst _hoisted_50 = {\n key: 0,\n class: \"flex justify-start text-green-500 mt-2\"\n}\nconst _hoisted_51 = { class: \"flex flex-col text-left\" }\nconst _hoisted_52 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { style: {\"margin-top\":\"2rem\",\"color\":\"var(--color-admin-primary)\",\"font-weight\":\"bold\"} }, \" Tem um cupom promocional? Aplique aqui! \", -1))\nconst _hoisted_53 = { style: {\"display\":\"flex\",\"align-items\":\"end\",\"justify-content\":\"space-between\",\"gap\":\"0.5rem\",\"text-align\":\"left\"} }\nconst _hoisted_54 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"text-align\":\"left\",\"font-weight\":\"bold\",\"color\":\"var(--color-gray)\",\"font-size\":\"12px\"} }, \"* Cupom não acumulativo\", -1))\nconst _hoisted_55 = {\n key: 3,\n class: \"term-container\"\n}\nconst _hoisted_56 = {\n key: 0,\n class: \"checkbox-align\"\n}\nconst _hoisted_57 = [\"checked\"]\nconst _hoisted_58 = {\n key: 1,\n class: \"checkbox-align\"\n}\nconst _hoisted_59 = [\"checked\"]\nconst _hoisted_60 = {\n key: 2,\n class: \"checkbox-align\"\n}\nconst _hoisted_61 = [\"checked\"]\nconst _hoisted_62 = {\n key: 4,\n class: \"button-area\"\n}\nconst _hoisted_63 = { class: \"container-version\" }\nconst _hoisted_64 = { class: \"footer\" }\nconst _hoisted_65 = [\"src\"]\n\nimport { data } from \"../Admin/Dashboard/search-satisfaction/chart-config\";\nimport ModalAddNewCompany from \"./ModalAddNewCompany.vue\";\nimport ModalCompanyTip from \"./ModalCompanyTip.vue\";\nimport ModalLGPDNew from \"./ModalLGPD.vue\";\nimport ModalOnlineTerm from \"./ModalOnlineTerm.vue\";\nimport FutureTrendsRules from \"./Rules/FutureTrendsRules.vue\";\nimport { IEventAssets, IEventData } from \"./interface\";\nimport {\n\tcreateManyPreRegistration,\n\tgetEventPublic,\n\tverifyDiscount,\n} from \"./service\";\nimport { useStorePreRegistration } from \"./store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport BaseAutocomplete from '@/components/Atoms/BaseAutocomplete.vue';\n\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport ToggleSwitch from \"@/components/Atoms/ToggleSwitch.vue\";\nimport IcPlus from \"@/components/icons/IcPlus.vue\";\nimport IcPreRegister from \"@/components/icons/IcPreRegister.vue\";\nimport IcQuestion from \"@/components/icons/IcQuestion.vue\";\nimport IcTrashNew from \"@/components/icons/IcTrashNew.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\nimport { validateEmail } from \"@/helpers/ValidateEmail\";\nimport { getContentUrl, getGeneralUrl } from \"@/helpers/abrafarmaApi\";\nimport { removeMask } from \"@/helpers/mask\";\nimport axios from \"axios\";\nimport { DateTime } from \"luxon\";\nimport { computed, onMounted, reactive, ref, watch } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\ntype FieldTypes = {\n\t[key: string]: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst FIELD: FieldTypes = {\n\tname: \"Nome\",\n\tphone: \"Telefone\",\n\tcpf: \"CPF\",\n\temail: \"E-mail\",\n};\n\nconst storePreRegistration = useStorePreRegistration();\nconst toast = useToast();\nconst route = useRoute();\nconst router = useRouter();\nconst params = route.params.id;\nconst formData = reactive({\n\timg: undefined,\n\tcpf: \"\",\n\tname: \"\",\n\tname_credential: \"\",\n\tinvited_company: \"\",\n\tinvited_by: 0,\n\tdescription_role: \"\",\n\temail: \"\",\n\tphone: \"\",\n\treceipt: undefined,\n\tcoupon_id: \"\",\n\tforeign_document: false,\n});\n\nconst image = ref(\"\");\nconst openLgpd = ref(false);\nconst companyTip = ref(false);\nconst onlineTerm = ref(false);\nconst error = ref(\"\");\nconst store = useStore();\nconst assets = reactive({\n\tbanner: \"\",\n\tfooter: \"\",\n});\nconst selectValues = reactive({\n\tcompany: \"\",\n\tinvited_by: \"\",\n\ttype_role: \"\",\n});\nconst maskValues = reactive({\n\tcpf: \"\",\n\tphone: \"\",\n});\n\n\n\n\n\n// const uploadFiles: any = reactive({});\nconst companyOptions = ref<{ id: string; name: string; type: string }[]>([]);\nconst positionOptions = ref<{ id: string; name: string }[]>([]);\nconst newCompany = ref(false);\n\nconst limit = ref(false);\nconst currentDate = ref(\"\");\nconst couponData = reactive({\n\tcouponCode: \"\",\n\tamount_payment: \"0\",\n});\nconst isFutureTrends = ref(false);\nlet isEventPaid = ref(false);\nconst acceptRules = ref(false);\nconst itsBulkPurchase = ref(false);\nconst isForeigner = ref(false);\nconst numberOfTickets = ref(1);\nconst participantsTickets = reactive([]);\nconst debug_mode = ref(false)\n\n// Add \"debug\" to the URL to avoid having to type dummy data all the time\nif(location.href.includes('debug')){\n\tdebug_mode.value = true;\n\tisFutureTrends.value = true;\n\tisEventPaid.value = true;\n\tacceptRules.value = true;\n\titsBulkPurchase.value = true;\n\n\twindow.generateCPF = function() {\n\t // Helper function to calculate verification digits\n\t function calculateDigit(cpfArray) {\n\t let sum = 0;\n\t for (let i = 0; i < cpfArray.length; i++) {\n\t sum += cpfArray[i] * ((cpfArray.length + 1) - i);\n\t }\n\t const remainder = sum % 11;\n\t return remainder < 2 ? 0 : 11 - remainder;\n\t }\n\n\t // Generate the first 9 digits\n\t const cpfArray = Array.from({ length: 9 }, () => Math.floor(Math.random() * 10));\n\n\t // Calculate the first verification digit and add it to the CPF array\n\t cpfArray.push(calculateDigit(cpfArray));\n\n\t // Calculate the second verification digit and add it to the CPF array\n\t cpfArray.push(calculateDigit(cpfArray));\n\n\t // Format the CPF as XXX.XXX.XXX-XX\n\t return cpfArray.join('').replace(/(\\d{3})(\\d{3})(\\d{3})(\\d{2})/, '$1.$2.$3-$4');\n\t};\n\n\tfunction generatePhoneNumber() {\n\t const areaCode = Math.floor(Math.random() * 90 + 10); // Generates a random area code between 10 and 99\n\t const firstPart = Math.floor(Math.random() * 90000 + 10000); // Generates a random number between 10000 and 99999\n\t const secondPart = Math.floor(Math.random() * 9000 + 1000); // Generates a random number between 1000 and 9999\n\n\t return `${areaCode} 9${firstPart} ${secondPart}`;\n\t}\n\n\twindow.pasteValue = function(selector, value) {\n\t for(const input of document.querySelectorAll(selector)){\n\t\t input.focus();\n\n\t\t // Clear existing value\n\t\t input.value = '';\n\n\t\t // Simulate typing each character\n\t\t for (const char of value) {\n\t\t const event = new Event('input', { bubbles: true });\n\t\t // Set the current value of the input\n\t\t input.value += char;\n\t\t // Dispatch the input event for each character\n\t\t input.dispatchEvent(event);\n\t\t }\n\n\t\t // Dispatch a final change event to mimic full input interaction\n\t\t const changeEvent = new Event('change', { bubbles: true });\n\t\t input.dispatchEvent(changeEvent);\n\t\t}\n\t};\n\n\twindow.selectOption = function(selector, value) {\n\t\tfor(const select of document.querySelectorAll(selector)){\n\t\t const select = document.querySelector(selector);\n\t\t // Find the option with the specified value\n\t\t const option = Array.from(select.options).find(opt => opt.value === value);\n\n\t\t if (option) {\n\t\t // Set the selected index\n\t\t select.value = value;\n\n\t\t // Dispatch 'input' and 'change' events to simulate user interaction\n\t\t select.dispatchEvent(new Event('input', { bubbles: true }));\n\t\t select.dispatchEvent(new Event('change', { bubbles: true }));\n\t\t } else {\n\t\t console.warn(`Option with value \"${value}\" not found in the select element.`);\n\t\t }\n\n\t\t}\n\t};\n\n\tlet hash = Date.now();\n\tstorePreRegistration.financialRepresentative.name = formData.name = `Participant ${hash}`;\n\tstorePreRegistration.financialRepresentative.credential_name = formData.name_credential = `Participant ${hash}`;\n\tstorePreRegistration.financialRepresentative.email = formData.email = `test${hash}@gmail.com`;\n\tstorePreRegistration.financialRepresentative.description_role = formData.description_role = `Whatever`;\n\tsetTimeout(() => {\n\t\tpasteValue('[name=cpf]',generateCPF());\n\t\tpasteValue('[name=phone]','51 99687 9083');\n\t\tselectOption('[name=company] select','413d85e2-3e57-4035-9a21-f43548b1d3fe');\n\t\tselectOption('#type_role select','6aff82f1-46b3-4032-91f5-5811db0ad4b7');\n\t\tselectOption('[name=role] select','6aff82f1-46b3-4032-91f5-5811db0ad4b7');\n\n\t},1000);\n\n\tif(itsBulkPurchase){\n\t\tsetTimeout(() => {\n\t\t\thash++;\n\t\t\tstorePreRegistration.participantsBatch[0].enterprise_mail = `test${hash}@gmail.com`;\n\t\t\tstorePreRegistration.participantsBatch[0].name = `Participant ${hash}`;\n\t\t\thash++;\n\t\t\taddParticipant();\n\t\t\tsetTimeout(() => {\n\t\t\t\tstorePreRegistration.participantsBatch[1].enterprise_mail = `test${hash}@gmail.com`;\n\t\t\t\tstorePreRegistration.participantsBatch[1].name = `Participant ${hash}`;\n\n\t\t\t},1000)\n\t\t}, 1000)\n\t}\n\n}\n\n\n\n\nfunction verificarCamposPreenchidos(financialRepresentative: any) {\n\treturn Object.values(financialRepresentative).every((value) => {\n\t\treturn value; // Retorna verdadeiro se o valor não for vazio ou nulo\n\t});\n}\n\nfunction validateField(value: any) {\n\treturn value.trim() !== \"\";\n}\n\nfunction validateName(name: string) {\n\t// Expressão regular para verificar se há pelo menos dois conjuntos de letras separados por espaço\n\tvar defaultName = /^[a-zA-Z]+ [a-zA-Z]+$/;\n\n\t// Verificar se o nome corresponde ao padrão\n\tif (defaultName.test(name)) {\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n}\n\nfunction handleBulkPurchase() {\n\tconst fieldsToValidate = [\"name\", \"email\", \"phone\", \"cpf\"];\n\tfor (let field of fieldsToValidate) {\n\t\tif (!validateField(storePreRegistration.financialRepresentative[field])) {\n\t\t\ttoast.error(`Por favor, preencha o campo \"${FIELD[field]}\".`);\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (storePreRegistration.participantsBatch.length <= 1) {\n\t\treturn toast.error(\"Compra em lote deve haver ao menos 2 participantes\");\n\t}\n\tif (\n\t\t!storePreRegistration.financialRepresentative.position_id ||\n\t\t!storePreRegistration.financialRepresentative.company_id\n\t) {\n\t\ttoast.error('Obrigatório a seleção do campo \"Empresa\"');\n\t\treturn;\n\t}\n\tconst emailIsValid = validateEmail(\n\t\tstorePreRegistration.financialRepresentative.email\n\t);\n\tif (!emailIsValid) {\n\t\treturn toast.error(\"E-mail inválido\");\n\t}\n\tconst phoneFormat = removeMask(\n\t\tstorePreRegistration.financialRepresentative.phone,\n\t\t\"^0-9\"\n\t);\n\tconst cpfWithoutMask = storePreRegistration.financialRepresentative.foreign_document\n\t\t? storePreRegistration.financialRepresentative.cpf\n\t\t: removeMask(\n\t\t\tstorePreRegistration.financialRepresentative.cpf,\n\t\t\t\"^0-9\"\n\t\t);\n\tstorePreRegistration.financialRepresentative.cpf = cpfWithoutMask;\n\tstorePreRegistration.financialRepresentative.phone = phoneFormat;\n\tstorePreRegistration.participantsBatch.forEach((participant) => {\n\t\tparticipant.company_id =\n\t\t\tstorePreRegistration.financialRepresentative.company_id;\n\t\tparticipant.foreign_document = storePreRegistration.financialRepresentative.foreign_document;\n\t});\n}\n\nconst addParticipant = async () => {\n\tconst data = {\n\t\tevent_id: storePreRegistration?.eventData.id,\n\t\tcompany_id: storePreRegistration?.financialRepresentative.company_id,\n\t\tregistrations_count: storePreRegistration?.participantsBatch?.length,\n\t};\n\tif (storePreRegistration.financialRepresentative.company_id) {\n\t\tconst res: any = await verifyDiscount(data, () => {});\n\t\tstorePreRegistration.setRegistrationValue(res?.data?.registration_value);\n\t}\n\tstorePreRegistration.participantsBatch.push({\n\t\tname: \"\",\n\t\tenterprise_mail: \"\",\n\t\tcpf: \"\",\n\t\tcompany_id: \"\",\n\t});\n};\n\nconst removeParticipant = async (index: any) => {\n\tconst data = {\n\t\tevent_id: storePreRegistration?.eventData.id,\n\t\tcompany_id: storePreRegistration?.financialRepresentative.company_id,\n\t\tregistrations_count: storePreRegistration?.participantsBatch?.length,\n\t};\n\tif (storePreRegistration.financialRepresentative.company_id) {\n\t\tconst res: any = await verifyDiscount(data, () => {});\n\t\tawait storePreRegistration.setRegistrationValue(\n\t\t\tres?.data?.registration_value\n\t\t);\n\t}\n\tif (storePreRegistration.participantsBatch.length > 1) {\n\t\tstorePreRegistration.participantsBatch.splice(index, 1);\n\t}\n};\n\nconst updateParticipant = (index: any, field: any, value: any) => {\n\tstorePreRegistration.participantsBatch[index][field] = value;\n};\n\nconst onChangeBulkPurchase = (event: any) => {\n\titsBulkPurchase.value = event.target.checked;\n\tif (storePreRegistration.registration_value) {\n\t\tstorePreRegistration.setParticipantTickets(\n\t\t\t\"computed_value\",\n\t\t\tstorePreRegistration.registration_value\n\t\t);\n\t\treturn;\n\t}\n};\n\nconst onChangeParticipantForeigner = (event: any) => {\n\tisForeigner.value = event.target.checked;\n};\n\nwatch(selectValues, () => {\n\tcloseModal();\n});\n\nconst invited = computed(() =>\n\t// eslint-disable-next-line\n\tselectValues.company === \"a717d0ac-fef5-47ce-9a33-c3539bc7ef65\" ||\n\tselectValues.company === \"296a1832-3caa-4576-a377-fc0e412f53ae\"\n\t\t? true\n\t\t: false\n);\n\nasync function verifyIfEventIsFutureTrends() {\n\tconst eventDataVerify = undefined;\n\tconst eventId = params.toString();\n\tconst res: IEventData = await getEventPublic(eventDataVerify, eventId);\n\t// const eventTitle = res.title.toLowerCase();\n\n\tif (\n\t\t// eventTitle.search(\"future trends\")\n\t\tres.title.includes(\"FUTURE TRENDS\") ||\n\t\tres.title.includes(\"Future Trends\")\n\t) {\n\t\tisFutureTrends.value = true;\n\t\treturn;\n\t}\n}\n\nasync function verifyIfEventIsPaid() {\n\tconst eventDataVerify = undefined;\n\tconst eventId = params.toString();\n\tconst res: IEventData = await getEventPublic(eventDataVerify, eventId);\n\n\tif (res.is_paid) {\n\t\tisEventPaid.value = true;\n\t\treturn;\n\t}\n}\n\nasync function downloadTermEvent() {\n\tconst downloadTermLink = `${getContentUrl()}/${params}/event_term`;\n\twindow.open(downloadTermLink);\n}\n\nasync function downloadPrivacyPolicyTerm() {\n\tconst downloadPrivacyPolicyLink = `${getContentUrl()}/${params}/privacy_policy_term`;\n\twindow.open(downloadPrivacyPolicyLink);\n}\n\nasync function setEventData() {\n\tconst setEventData = undefined;\n\tconst eventId = params.toString();\n\tconst response: IEventData = await getEventPublic(setEventData, eventId);\n\tstorePreRegistration.setEventData(response);\n\t// const res: IEventData =\n\t// eventData.id = res.id;\n\t// eventData.is_paid = res.is_paid;\n\t// eventData.limit_date = res.limit_date;\n\t// eventData.payment_amount = res.payment_amount;\n\t// eventData.place = res.place;\n\t// eventData.address = res.address;\n\t// eventData.title = res.title;\n\t// eventData.online = res.online;\n\t// eventData.assets = res.assets;\n\t// eventData.event_term.event_id = res?.event_term?.event_id;\n\t// eventData.event_term.description = res?.event_term?.description;\n}\n\nasync function eventValidDate() {\n\tconst dateEvent = undefined;\n\tconst eventId = params.toString();\n\tconst res: IEventData = await getEventPublic(dateEvent, eventId);\n\tconst timestamp = new Date();\n\tconst today = DateTime.fromJSDate(timestamp).toFormat(\"MM/dd/yyyy\");\n\tcurrentDate.value = today;\n\tconst limitDateFormat = DateTime.fromISO(res.limit_date).toFormat(\n\t\t\"MM/dd/yyyy\"\n\t);\n\tlimit.value = currentDate.value < limitDateFormat;\n}\n\n// const getEvent = async () => {\n// \tconst res = await HttpAdapter.get(`event/${params}`);\n// \teventData.is_paid = res.is_paid;\n// \teventData.limit_date = res.limit_date;\n// \teventData.payment_amount = res.payment_amount;\n// \teventData.place = res.place;\n// \teventData.address = res.address;\n// \teventData.title = res.title;\n// \teventData.online = res.online;\n// \tconst timestamp = new Date().toString();\n// \tconst today = moment(timestamp).format(\"L\");\n// \tcurrentDate.value = today;\n// \tconst limitDateFormat = moment(eventData.limit_date).format(\"L\");\n// \teventData.limit_date_format = limitDateFormat;\n// \tlimit.value = currentDate.value < eventData.limit_date_format;\n// };\n\nconst getBannerAndFooter = async () => {\n\tconst eventAssets: IEventAssets[] = await HttpAdapter.get(\n\t\t`event-assets/${params}`\n\t);\n\tconst banner = eventAssets.find((asset) => asset.type === \"banner\");\n\tconst footer = eventAssets.find((asset) => asset.type === \"footer\");\n\tconst imageBanner = `${getContentUrl()}/${banner?.path}`;\n\tconst imageFooter = `${getContentUrl()}/${footer?.path}`;\n\tassets.banner = imageBanner;\n\tassets.footer = imageFooter;\n};\n\nconst getCompany = async () => {\n\tconst companyName = await HttpAdapter.get(\"company/names-and-ids\");\n\tconst invited = [\n\t\t\"a717d0ac-fef5-47ce-9a33-c3539bc7ef65\",\n\t\t\"296a1832-3caa-4576-a377-fc0e412f53ae\",\n\t];\n\tconst companies = companyName.filter((item: any) => {\n\t\tif (!storePreRegistration.eventData.is_paid) return true;\n\t\treturn !invited.includes(item.id);\n\t});\n\tcompanyOptions.value = [\n\t\t{ name: \"Selecione\", id: \"\", type: \"\" },\n\t\t...companies.map((company: any) => ({\n\t\t\tname: company.name,\n\t\t\ttype: company.type,\n\t\t\tid: company.id,\n\t\t})),\n\t];\n};\n\n/*\n:value=\"\n\tstorePreRegistration.financialRepresentative\n\t\t.company_id\n\"\n@change=\"\n\tstorePreRegistration.setValueInCompanyOptionsFinancial(\n\t\t$event.target.value\n\t)\n\"\n*/\n\nconst onChangeOptionHandlerFinancial = (selected: any) => {\n\tstorePreRegistration.setValueInCompanyOptionsFinancial(selected.id)\n};\n\n\nconst onChangeOptionHandler = (selected: any) => {\n\tconst selectedCompany = companyOptions.value.find(\n\t\t(company) => company.id === selected.id\n\t);\n\tselectValues.company = selected.id;\n\tif (selectedCompany) {\n\t\tif (selectedCompany.type === \"commercial partner\") {\n\t\t\tstorePreRegistration.setIsCommercialPartner(true);\n\t\t} else {\n\t\t\tstorePreRegistration.setIsCommercialPartner(false);\n\t\t}\n\t} else {\n\t\tconsole.error(\"Selected company not found.\");\n\t}\n};\n\nconst getPosition = async () => {\n\tconst positionName = await HttpAdapter.get(\"position-type\");\n\n\tpositionOptions.value = [{ name: \"Selecione\", id: \"\" }, ...positionName];\n};\n\nconst handleImage = ({ target }: any) => {\n\tformData.img = target.files[0];\n\tconst url = URL?.createObjectURL(target.files[0]);\n\timage.value = url;\n};\n\nconst openCompanyTip = () => {\n\tcompanyTip.value = true;\n};\n\nconst openOnlineTerm = () => {\n\tonlineTerm.value = true;\n};\n\nconst updateValues = () => {\n\tformData.cpf = maskValues.cpf;\n\tformData.phone = maskValues.phone;\n};\n\nfunction handleNewCompany() {\n\tnewCompany.value = !newCompany.value;\n}\n\nasync function handleApplyCoupon() {\n\tlet url = `public/coupon/${couponData.couponCode}/redeem`;\n\n\tif (storePreRegistration.participantsBatch.length > 1 && itsBulkPurchase) {\n\t\turl += `?users_per_coupon=${storePreRegistration.participantsBatch.length}`;\n\t}\n\tconst { data, response } = await HttpAdapterCustomer.post({\n\t\turl,\n\t\told_url: true,\n\t});\n\tif (!response.ok) {\n\t\ttoast.error(data.message);\n\t\treturn;\n\t}\n\tcouponData.amount_payment = data.amount_payment;\n\tformData.coupon_id = data.id;\n\ttoast.success(\"Cupom vinculado com sucesso!\");\n}\n\nfunction closeModal(id?: string) {\n\tif (id) {\n\t\tselectValues.company = id;\n\t}\n\tnewCompany.value = false;\n\topenLgpd.value = false;\n\tcompanyTip.value = false;\n\tonlineTerm.value = false;\n\tgetCompany();\n}\n\n// eslint-disable-next-line sonarjs/cognitive-complexity\nconst saveForm = async (event: any) => {\n\tevent.preventDefault();\n\tif (itsBulkPurchase.value) {\n\t\thandleBulkPurchase();\n\n\t\tconst couponValidPrice = formData.coupon_id\n\t\t\t? Number(couponData.amount_payment) <\n\t\t\t Number(storePreRegistration.registration_value)\n\t\t\t: false;\n\n\t\tconst data = {\n\t\t\teventId: params.toString(),\n\t\t\tfinancialManager: storePreRegistration.financialRepresentative,\n\t\t\tparticipantsBatch: storePreRegistration.participantsBatch,\n\t\t\tcomputed_value: couponValidPrice\n\t\t\t\t? Number(couponData.amount_payment)\n\t\t\t\t: Number(storePreRegistration?.registration_value)\n\t\t\t\t? Number(storePreRegistration?.registration_value)\n\t\t\t\t: Number(storePreRegistration?.eventData?.payment_amount),\n\t\t\tcouponId: formData.coupon_id,\n\t\t};\n\n\t\tcreateManyPreRegistration(data, () => {\n\t\t\ttoast.success(\n\t\t\t\t\"Pedido de compra registrado! Aguarde o retorno por e-mail após aprovação\"\n\t\t\t);\n\t\t});\n\t\treturn;\n\t}\n\tif (!selectValues.company.length) {\n\t\ttoast.error('Obrigatório a seleção do campo \"Empresa\"');\n\t\treturn;\n\t}\n\tupdateValues();\n\tconst emailIsValid = validateEmail(formData.email);\n\tconst cpfFromLogin = removeMask(formData.cpf, \"^0-9\");\n\tconst phoneFormat = removeMask(formData.phone, \"^0-9\");\n\tconst cpfIsValid = isForeigner?.value\n\t\t? formData?.cpf\n\t\t: validateCPF(cpfFromLogin);\n\tformData.phone = phoneFormat;\n\tformData.foreign_document = isForeigner.value;\n\tif (!cpfIsValid) {\n\t\terror.value = \"CPF inválido\";\n\t\treturn toast.error(error.value);\n\t}\n\tformData.cpf = isForeigner?.value\n\t\t? formData?.cpf?.toLocaleUpperCase()\n\t\t: cpfFromLogin;\n\tif (!emailIsValid) {\n\t\terror.value = \"E-mail inválido\";\n\t\treturn toast.error(error.value);\n\t}\n\tconst dataForm = new FormData();\n\tfor (let key in formData) {\n\t\tconst [keyObj, obj]: any = [key, formData];\n\t\tif (keyObj === \"img\") continue;\n\t\tif (obj[keyObj]) dataForm.append(key, obj[keyObj]);\n\t}\n\tfor (let key in selectValues) {\n\t\tconst [keyObj, obj]: any = [key, selectValues];\n\t\tif (obj[keyObj]) dataForm.append(key, obj[keyObj]);\n\t}\n\n\tif (formData.img) {\n\t\tconst imageProfile = new File(\n\t\t\t[formData.img as any],\n\t\t\t`image_profile_${cpfFromLogin}.${\n\t\t\t\t(formData?.img as any).name.split(\".\")[1]\n\t\t\t}`\n\t\t);\n\t\tdataForm.append(\"file\", imageProfile);\n\t}\n\tdataForm.append(\"event_id\", `${params}`);\n\ttry {\n\t\tconst res = await axios.post(\n\t\t\t`${HttpAdapter.getUrl()}/participant`,\n\t\t\tdataForm\n\t\t);\n\t\tif (res.status === 200) {\n\t\t\tif (res.data.type === \"guest\") {\n\t\t\t\trouter.push(\"/sucesso-convidado\");\n\t\t\t} else {\n\t\t\t\trouter.push(\"/sucesso-participante\");\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\ttoast.error(res.data.message);\n\t} catch (error: any) {\n\t\ttoast.error(error.response.data.message);\n\t}\n};\n\nonMounted(async () => {\n\t// getEvent();\n\tawait setEventData();\n\tgetPosition();\n\tgetBannerAndFooter();\n\tgetCompany();\n\teventValidDate();\n\tverifyIfEventIsFutureTrends();\n\t// getHealthCertificates();\n\tverifyIfEventIsPaid();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"form\", {\n class: \"container\",\n onSubmit: saveForm\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n class: \"banner-image\",\n src: assets.banner\n }, null, 8, _hoisted_2)\n ]),\n (!limit.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"h2\", _hoisted_4, \" Inscrições para o evento \" + _toDisplayString(_unref(storePreRegistration).eventData.title) + \" encerrado! \", 1),\n _createElementVNode(\"p\", _hoisted_5, [\n _createTextVNode(\" Mas você ainda pode participar realizando a compra na hora no local do evento: \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(storePreRegistration).eventData.place), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(FutureTrendsRules, {\n isEventPaid: _unref(isEventPaid),\n acceptRules: acceptRules.value,\n \"onUpdate:acceptRules\": _cache[0] || (_cache[0] = ($event: any) => (acceptRules.value = $event))\n }, null, 8, [\"isEventPaid\", \"acceptRules\"]),\n (debug_mode.value || (limit.value && isFutureTrends.value ? acceptRules.value : limit.value))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(ToggleSwitch, {\n checked: itsBulkPurchase.value,\n class: \"checkbox-mobile\",\n name: \"individual\",\n value: itsBulkPurchase.value,\n modelValue: itsBulkPurchase.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((itsBulkPurchase).value = $event)),\n onChange: onChangeBulkPurchase\n }, null, 8, [\"checked\", \"value\", \"modelValue\"])\n ], 512), [\n [_vShow, _unref(isEventPaid)]\n ]),\n (!itsBulkPurchase.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n (!isForeigner.value)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"cpf\",\n placeholder: \"Digite seu CPF\",\n label: \"CPF*:\",\n required: \"\",\n value: maskValues.cpf,\n modelValue: formData.cpf,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.cpf) = $event)),\n onChange: _cache[3] || (_cache[3] = (e) => (maskValues.cpf = e.target.value))\n }, null, 8, [\"value\", \"modelValue\"])), [\n [vMask, ['###.###.###-##']]\n ])\n : (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"cpf\",\n placeholder: \"Digite seu Documento estrangeiro\",\n label: \"Documento estrangeiro*:\",\n required: \"\",\n value: maskValues.cpf,\n modelValue: formData.cpf,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formData.cpf) = $event)),\n onChange: _cache[5] || (_cache[5] = (e) => (maskValues.cpf = e.target.value))\n }, null, 8, [\"value\", \"modelValue\"])),\n _createElementVNode(\"div\", _hoisted_13, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n checked: isForeigner.value,\n class: \"checkbox-mobile\",\n name: \"foreigner\",\n value: isForeigner.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((isForeigner).value = $event)),\n onChange: onChangeParticipantForeigner\n }, null, 40, _hoisted_14), [\n [_vModelCheckbox, isForeigner.value]\n ]),\n _hoisted_15\n ]),\n _createVNode(BaseInput, {\n name: \"name\",\n placeholder: \"Digite seu nome completo\",\n label: \"Nome Completo*:\",\n required: \"\",\n value: formData.name,\n onChange: _cache[7] || (_cache[7] = (e) => (formData.name = e.target.value)),\n modelValue: formData.name,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formData.name) = $event))\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n name: \"credentialName\",\n placeholder: \"Nome da credencial\",\n label: \"Nome da Credencial (Nome que será impresso no crachá)*:\",\n required: \"\",\n minlength: 3,\n maxlength: 20,\n value: formData.name_credential,\n onChange: _cache[9] || (_cache[9] = (e) => (formData.name_credential = e.target.value)),\n modelValue: formData.name_credential,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formData.name_credential) = $event))\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n title: \"Ex: email@exemplo\",\n name: \"email\",\n placeholder: \"Digite seu e-mail\",\n label: \"E-mail*:\",\n required: \"\",\n type: \"email\",\n value: formData.email,\n onChange: _cache[11] || (_cache[11] = (e) => (formData.email = e.target.value)),\n modelValue: formData.email,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((formData.email) = $event))\n }, null, 8, [\"value\", \"modelValue\"]),\n _createVNode(BaseInput, {\n maxlength: 15,\n minlength: 15,\n title: \"Ex: (DD) 99999-9999\",\n name: \"phone\",\n label: \"Digite seu telefone celular (Informar DDD + Número e apenas números)*:\",\n placeholder: \"DDD + Número\",\n required: \"\",\n value: \n\t\t\t\t\t\t\t\tmaskValues.phone.replace(\n\t\t\t\t\t\t\t\t\t/^(\\d{2})(\\d{4,5})(\\d{4})$/,\n\t\t\t\t\t\t\t\t\t'($1) $2-$3'\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t,\n modelValue: formData.phone,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((formData.phone) = $event)),\n onChange: _cache[14] || (_cache[14] = (e) => (maskValues.phone = e.target.value))\n }, null, 8, [\"value\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(BaseAutocomplete, {\n style: {\"width\":\"auto\"},\n label: \"Empresa*:\",\n options: companyOptions.value.sort((a, b) => a.name.localeCompare(b.name)),\n onClickOption: onChangeOptionHandler\n }, null, 8, [\"options\"]),\n (_unref(storePreRegistration).eventData.is_paid)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n _createVNode(BaseButton, {\n onClick: handleNewCompany,\n type: \"button\",\n class: \"mt-5 justify-center items-center w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cadastrar empresa\")\n ]),\n _: 1\n }),\n _createVNode(IcQuestion, {\n style: {\"margin-top\":\"20px\",\"width\":\"50px\",\"cursor\":\"pointer\"},\n onClick: openCompanyTip\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(invited))\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n name: \"invited_company\",\n placeholder: \"Nome da sua empresa\",\n label: \"Empresa Convidada:\",\n required: \"\",\n value: formData.invited_company,\n onChange: _cache[15] || (_cache[15] = (e) => (formData.invited_company = e.target.value)),\n modelValue: formData.invited_company,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((formData.invited_company) = $event))\n }, null, 8, [\"value\", \"modelValue\"]))\n : _createCommentVNode(\"\", true),\n (_unref(invited))\n ? (_openBlock(), _createBlock(BaseSelect, {\n key: 1,\n label: \"Convidado(a) por: \",\n placeholder: \"Empresa que convidou\",\n options: companyOptions.value,\n keys: { keyLabel: 'name', keyValue: 'id' },\n required: true,\n value: selectValues.invited_by,\n onOnChangeOption: _cache[17] || (_cache[17] = (e) => (selectValues.invited_by = e)),\n name: \"invited_by\",\n id: \"invited_by\"\n }, null, 8, [\"options\", \"value\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseInput, {\n name: \"description_role\",\n placeholder: \"Descreva seu cargo\",\n label: \"Descrição do Cargo*:\",\n required: \"\",\n value: formData.description_role,\n onChange: _cache[18] || (_cache[18] = (e) => (formData.description_role = e.target.value)),\n modelValue: formData.description_role,\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((formData.description_role) = $event))\n }, null, 8, [\"value\", \"modelValue\"])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h4\", _hoisted_22, [\n _createTextVNode(\" Responsável pelas Inscrições \"),\n _createElementVNode(\"span\", _hoisted_23, [\n _createVNode(IcQuestion)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n checked: \n\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).financialRepresentative\n\t\t\t\t\t\t\t\t\t\t\t.foreign_document\n\t\t\t\t\t\t\t\t\t,\n class: \"checkbox-mobile\",\n name: \"foreigner\",\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((\n\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).financialRepresentative\n\t\t\t\t\t\t\t\t\t\t\t.foreign_document\n\t\t\t\t\t\t\t\t\t) = $event))\n }, null, 8, _hoisted_25), [\n [_vModelCheckbox, \n\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).financialRepresentative\n\t\t\t\t\t\t\t\t\t\t\t.foreign_document\n\t\t\t\t\t\t\t\t\t]\n ]),\n _hoisted_26\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(BaseInput, {\n style: {\"width\":\"auto\"},\n label: 'Nome Completo*',\n name: \"name\",\n value: _unref(storePreRegistration).financialRepresentative.name,\n onOnchange: _cache[21] || (_cache[21] = \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).setFinancialRepresentative(\n\t\t\t\t\t\t\t\t\t\t\t\t\t'name',\n\t\t\t\t\t\t\t\t\t\t\t\t\tevent\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t),\n placeholder: \"Digite seu nome completo\",\n required: \"\"\n }, null, 8, [\"value\"]),\n (\n\t\t\t\t\t\t\t\t\t\t\t!_unref(storePreRegistration).financialRepresentative\n\t\t\t\t\t\t\t\t\t\t\t\t.foreign_document\n\t\t\t\t\t\t\t\t\t\t)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n style: {\"width\":\"auto\"},\n name: \"cpf\",\n placeholder: \"Digite seu CPF\",\n label: \"CPF*:\",\n required: \"\",\n value: _unref(storePreRegistration).financialRepresentative.cpf,\n onOnchange: _cache[22] || (_cache[22] = \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).setFinancialRepresentative(\n\t\t\t\t\t\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t\t\t\t\t\tevent\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"])), [\n [vMask, ['###.###.###-##']]\n ])\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).financialRepresentative\n\t\t\t\t\t\t\t\t\t\t\t\t.foreign_document\n\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n name: \"cpf\",\n placeholder: \"Digite seu Documento estrangeiro\",\n label: \"Documento estrangeiro*:\",\n required: \"\",\n value: _unref(storePreRegistration).financialRepresentative.cpf,\n onOnchange: _cache[23] || (_cache[23] = \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).setFinancialRepresentative(\n\t\t\t\t\t\t\t\t\t\t\t\t\t'cpf',\n\t\t\t\t\t\t\t\t\t\t\t\t\tevent\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseInput, {\n style: {\"width\":\"auto\"},\n label: 'E-mail*',\n name: \"email\",\n value: _unref(storePreRegistration).financialRepresentative.email,\n onOnchange: _cache[24] || (_cache[24] = \n\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).setFinancialRepresentative(\n\t\t\t\t\t\t\t\t\t\t\t\t\t'email',\n\t\t\t\t\t\t\t\t\t\t\t\t\tevent\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t),\n placeholder: \"Digite seu e-mail\",\n required: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _withDirectives(_createVNode(BaseInput, {\n style: {\"width\":\"auto\"},\n title: \"Ex: (DD) 9999-9999\",\n name: \"phone\",\n label: \"Digite seu telefone/celular*:\",\n placeholder: \"DDD + Número\",\n required: \"\",\n value: \n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).financialRepresentative.phone\n\t\t\t\t\t\t\t\t\t\t\t,\n onOnchange: _cache[25] || (_cache[25] = \n\t\t\t\t\t\t\t\t\t\t\t\t(event) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).setFinancialRepresentative(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'phone',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tevent\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t)\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ]),\n _createVNode(BaseAutocomplete, {\n style: {\"width\":\"auto\"},\n label: \"Cargo*:\",\n options: positionOptions.value,\n onClickOption: _cache[26] || (_cache[26] = option => _unref(storePreRegistration).setValueInPositionOptionsFinancial(option.id))\n }, null, 8, [\"options\"]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(BaseAutocomplete, {\n label: \"Empresa*:\",\n options: companyOptions.value.sort((a, b) => a.name.localeCompare(b.name)),\n onClickOption: onChangeOptionHandlerFinancial\n }, null, 8, [\"options\"]),\n (_unref(storePreRegistration).eventData.is_paid)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n _createVNode(BaseButton, {\n onClick: handleNewCompany,\n type: \"button\",\n class: \"mt-5 justify-center items-center w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cadastrar empresa\")\n ]),\n _: 1\n }),\n _createVNode(IcQuestion, {\n style: {\"margin-top\":\"20px\",\"width\":\"50px\",\"cursor\":\"pointer\"},\n onClick: openCompanyTip\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]),\n _hoisted_33,\n _createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(storePreRegistration).participantsBatch, (participant, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"w-full flex flex-col gap-2 mb-2\",\n key: index\n }, [\n _createElementVNode(\"div\", _hoisted_36, [\n _createVNode(BaseInput, {\n style: {\"width\":\"auto\"},\n name: \"name\",\n label: 'Nome Completo* ' + (index + 1),\n value: participant.name,\n onInput: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\tupdateParticipant(index, 'name', $event.target.value)\n\t\t\t\t\t\t\t\t\t\t),\n placeholder: 'Nome participante ' + (index + 1),\n required: \"\"\n }, null, 8, [\"label\", \"value\", \"onInput\", \"placeholder\"]),\n (\n\t\t\t\t\t\t\t\t\t\t\t!_unref(storePreRegistration).financialRepresentative\n\t\t\t\t\t\t\t\t\t\t\t\t.foreign_document\n\t\t\t\t\t\t\t\t\t\t)\n ? _withDirectives((_openBlock(), _createBlock(BaseInput, {\n key: 0,\n style: {\"width\":\"auto\"},\n name: \"cpf\",\n placeholder: \"Digite o CPF\",\n label: 'CPF* ' + (index + 1),\n value: participant.cpf,\n required: \"\",\n onInput: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\tupdateParticipant(index, 'cpf', $event.target.value)\n\t\t\t\t\t\t\t\t\t\t)\n }, null, 8, [\"label\", \"value\", \"onInput\"])), [\n [vMask, ['###.###.###-##']]\n ])\n : (_openBlock(), _createBlock(BaseInput, {\n key: 1,\n style: {\"width\":\"auto\"},\n name: \"cpf\",\n placeholder: \"Digite o Documento\",\n label: 'Documento* ' + (index + 1),\n value: participant.cpf,\n required: \"\",\n onInput: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\tupdateParticipant(index, 'cpf', $event.target.value)\n\t\t\t\t\t\t\t\t\t\t)\n }, null, 8, [\"label\", \"value\", \"onInput\"])),\n _createVNode(BaseInput, {\n style: {\"width\":\"auto\"},\n value: participant.enterprise_mail,\n onInput: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\tupdateParticipant(\n\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t'enterprise_mail',\n\t\t\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t),\n label: 'E-mail* ' + (index + 1),\n placeholder: 'E-mail participante ' + (index + 1),\n type: \"email\",\n name: \"email\",\n required: \"\"\n }, null, 8, [\"value\", \"onInput\", \"label\", \"placeholder\"]),\n _createVNode(BaseInput, {\n value: participant.position,\n onInput: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\tupdateParticipant(\n\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t'position',\n\t\t\t\t\t\t\t\t\t\t\t\t$event.target.value\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t),\n label: 'Cargo* ' + (index + 1) + ' (exibido no crachá) ',\n placeholder: 'Cargo do participante ' + (index + 1),\n maxLength: \n\t\t\t\t\t\t\t\t\t\t\t(participant?.position?.length || '0') +\n\t\t\t\t\t\t\t\t\t\t\t'/100'\n\t\t\t\t\t\t\t\t\t\t,\n name: \"cargo\",\n required: \"\"\n }, null, 8, [\"value\", \"onInput\", \"label\", \"placeholder\", \"maxLength\"]),\n (\n\t\t\t\t\t\t\t\t\t\t\tindex === 0 ||\n\t\t\t\t\t\t\t\t\t\t\tindex ===\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).participantsBatch.length - 1\n\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_37, [\n (\n\t\t\t\t\t\t\t\t\t\t\t\tindex ===\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).participantsBatch.length - 1\n\t\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(IcPlus, {\n key: 0,\n class: \"w-10 h-10 cursor-pointer\",\n onClick: _cache[27] || (_cache[27] = ($event: any) => (addParticipant()))\n }))\n : _createCommentVNode(\"\", true),\n (index !== 0)\n ? (_openBlock(), _createBlock(IcTrashNew, {\n key: 1,\n class: \"w-10 h-10 cursor-pointer\",\n onClick: ($event: any) => (removeParticipant(index))\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128))\n ])\n ])\n ]))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n ( debug_mode.value || (\n\t\t\t\tlimit.value && isFutureTrends.value\n\t\t\t\t\t? acceptRules.value\n\t\t\t\t\t: limit.value && _unref(storePreRegistration).eventData.is_paid )\n\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, [\n _createElementVNode(\"div\", _hoisted_40, [\n _createVNode(IcPreRegister),\n _hoisted_41\n ]),\n _createElementVNode(\"span\", null, _toDisplayString(Number(_unref(storePreRegistration).eventData.payment_amount).toLocaleString(\n\t\t\t\t\t\t\"pt-BR\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t}\n\t\t\t\t\t)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_42, [\n _hoisted_43,\n (_unref(storePreRegistration).isCommercialPartner)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass(formData.coupon_id ? 'cupom-active' : '')\n }, _toDisplayString(Number(\n\t\t\t\t\t\t\t\t_unref(storePreRegistration).eventData.commercial_partner_payment_amount\n\t\t\t\t\t\t\t).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t})), 3))\n : (_openBlock(), _createElementBlock(\"span\", {\n key: 1,\n class: _normalizeClass(formData.coupon_id ? 'cupom-active' : '')\n }, _toDisplayString(itsBulkPurchase.value\n\t\t\t\t\t\t\t? _unref(storePreRegistration).registration_value\n\t\t\t\t\t\t\t\t? Number(\n\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).registration_value\n\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t: Number(\n\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).eventData.payment_amount\n\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t: Number(\n\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).eventData.payment_amount\n\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t })), 3))\n ]),\n _createElementVNode(\"div\", _hoisted_44, [\n _hoisted_45,\n _createElementVNode(\"span\", null, _toDisplayString(couponData.couponCode\n\t\t\t\t\t\t\t? `${Number(couponData.amount_payment).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t })}`\n\t\t\t\t\t\t\t: \"Não aplicado\"), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_46, [\n _hoisted_47,\n (!itsBulkPurchase.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_48, _toDisplayString(_unref(storePreRegistration)?.isCommercialPartner\n\t\t\t\t\t\t\t\t? formData?.coupon_id\n\t\t\t\t\t\t\t\t\t? Number(couponData?.amount_payment) <\n\t\t\t\t\t\t\t\t\t Number(\n\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration)?.eventData\n\t\t\t\t\t\t\t\t\t\t\t\t.commercial_partner_payment_amount\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t? Number(couponData?.amount_payment).toLocaleString(\n\t\t\t\t\t\t\t\t\t\t\t\t\"pt-BR\",\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t: Number(\n\t\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration)?.eventData\n\t\t\t\t\t\t\t\t\t\t\t\t\t?.commercial_partner_payment_amount\n\t\t\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t\t: Number(\n\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration)?.eventData\n\t\t\t\t\t\t\t\t\t\t\t\t?.commercial_partner_payment_amount\n\t\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t: formData.coupon_id\n\t\t\t\t\t\t\t\t? Number(couponData.amount_payment).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t: Number(\n\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).eventData.payment_amount\n\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_49, _toDisplayString(formData.coupon_id\n\t\t\t\t\t\t\t\t? Number(couponData.amount_payment) <\n\t\t\t\t\t\t\t\t Number(_unref(storePreRegistration).registration_value)\n\t\t\t\t\t\t\t\t\t? (\n\t\t\t\t\t\t\t\t\t\t\tNumber(couponData.amount_payment) *\n\t\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).participantsBatch.length)\n\t\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t\t: (\n\t\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).registration_value) *\n\t\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).participantsBatch.length)\n\t\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t: _unref(storePreRegistration).isCommercialPartner\n\t\t\t\t\t\t\t\t? (\n\t\t\t\t\t\t\t\t\t\tNumber(\n\t\t\t\t\t\t\t\t\t\t\t_unref(storePreRegistration).eventData\n\t\t\t\t\t\t\t\t\t\t\t\t.commercial_partner_payment_amount\n\t\t\t\t\t\t\t\t\t\t) * Number(_unref(storePreRegistration).participantsBatch.length)\n\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t: _unref(storePreRegistration).registration_value\n\t\t\t\t\t\t\t\t? (\n\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).registration_value) *\n\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).participantsBatch.length)\n\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t: (\n\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).eventData.payment_amount) *\n\t\t\t\t\t\t\t\t\t\tNumber(_unref(storePreRegistration).participantsBatch.length)\n\t\t\t\t\t\t\t\t ).toLocaleString(\"pt-BR\", {\n\t\t\t\t\t\t\t\t\t\tstyle: \"currency\",\n\t\t\t\t\t\t\t\t\t\tcurrency: \"BRL\",\n\t\t\t\t\t\t\t\t })), 1))\n ]),\n (_unref(storePreRegistration).registration_value && itsBulkPurchase.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_50, \" Sua empresa está habilitada a receber descontos progressivos \"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_51, [\n _hoisted_52,\n _createElementVNode(\"div\", _hoisted_53, [\n _createVNode(BaseInput, {\n style: {\"max-width\":\"500px\"},\n label: \"Cupom\",\n placeholder: \"Digite o cupom\",\n value: couponData.couponCode,\n onChange: _cache[28] || (_cache[28] = (event) => {\n\t\tcouponData.couponCode = event.target.value;\n\t}\n\t\t)\n }, null, 8, [\"value\"]),\n _createVNode(BaseButton, {\n onClick: handleApplyCoupon,\n type: \"button\",\n variant: 'primary',\n disabled: !couponData.couponCode.length\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Aplicar\")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _hoisted_54\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (debug_mode.value || (limit.value && isFutureTrends.value ? acceptRules.value : limit.value))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_55, [\n _createElementVNode(\"div\", null, [\n (_unref(storePreRegistration).eventData.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_56, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n required: true,\n checked: openLgpd.value,\n class: \"checkbox-mobile\"\n }, null, 8, _hoisted_57),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Clique aqui para ler e aceitar \"),\n _createElementVNode(\"a\", {\n target: \"_blank\",\n onClick: openOnlineTerm,\n class: \"link-term\"\n }, \" os Termos de Aceite para participação de Eventos da Abrafarma Online \")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(storePreRegistration).eventData.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_58, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n required: true,\n checked: openLgpd.value,\n class: \"checkbox-mobile fix-check-privacy\"\n }, null, 8, _hoisted_59),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Clique aqui para ler e aceitar \"),\n _createElementVNode(\"a\", {\n target: \"_blank\",\n onClick: downloadPrivacyPolicyTerm,\n class: \"link-term\"\n }, \" a Políticas de Tratamento de Dados Abrafarma \")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(storePreRegistration).eventData.online)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_60, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n required: true,\n checked: openLgpd.value,\n class: \"checkbox-mobile fix-check-term\"\n }, null, 8, _hoisted_61),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Clique aqui para ler e aceitar \"),\n _createElementVNode(\"a\", {\n target: \"_blank\",\n onClick: downloadTermEvent,\n class: \"link-term\"\n }, \" os Termos de Aceite para participação de Eventos da Abrafarma \")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (debug_mode.value || (limit.value && isFutureTrends.value ? acceptRules.value : limit.value))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_62, [\n (!itsBulkPurchase.value)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"save-button\",\n variant: 'primary',\n type: \"submit\",\n title: \"Para habilitar clique para ler os termos de aceite\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Enviar\")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"save-button\",\n variant: 'primary',\n type: \"submit\",\n title: \"Para habilitar clique para ler os termos de aceite\",\n onClick: handleBulkPurchase\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Finalizar\")\n ]),\n _: 1\n }))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_63, [\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).state.version), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_64, [\n _createElementVNode(\"img\", {\n class: \"footer-image\",\n src: assets.footer\n }, null, 8, _hoisted_65)\n ])\n ], 32),\n (newCompany.value)\n ? (_openBlock(), _createBlock(ModalAddNewCompany, {\n key: 0,\n closeModal: closeModal\n }))\n : _createCommentVNode(\"\", true),\n (openLgpd.value)\n ? (_openBlock(), _createBlock(ModalLGPDNew, {\n key: 1,\n closeModal: closeModal\n }))\n : _createCommentVNode(\"\", true),\n (companyTip.value)\n ? (_openBlock(), _createBlock(ModalCompanyTip, {\n key: 2,\n closeModal: closeModal\n }))\n : _createCommentVNode(\"\", true),\n (onlineTerm.value)\n ? (_openBlock(), _createBlock(ModalOnlineTerm, {\n key: 3,\n closeModal: closeModal,\n description: _unref(storePreRegistration).eventData.event_term.description\n }, null, 8, [\"description\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=17d4edf2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-17d4edf2\"]])\n\nexport default __exports__","import { ref } from 'vue';\n\nconst store = {\n\tcount: ref(0),\n};\n\nexport function useStore() {\n\tconst actions = {\n\t\tsetCount() {\n\t\t\tstore.count.value++;\n\t\t},\n\t};\n\n\treturn { store, actions };\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"CountA\", -1)\n\nimport { useStore } from './store';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CountA',\n setup(__props) {\n\n\tconst { store, actions } = useStore();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(actions).setValue('count', 1)))\n }, \"Click Count A: \" + _toDisplayString(_unref(store).count), 1)\n ]))\n}\n}\n\n})","import script from \"./CountA.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CountA.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"CountB\", -1)\n\nimport { useStore } from './store';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CountB',\n setup(__props) {\n\n\tconst { store, actions } = useStore();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(actions).setValue('count', 1)))\n }, \"Click Count B: \" + _toDisplayString(_unref(store).count), 1)\n ]))\n}\n}\n\n})","import script from \"./CountB.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CountB.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex gap-2\" }\n\nimport CountA from '@/components/CountA.vue';\n\timport CountB from '@/components/CountB.vue';\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\n\t\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(CountA),\n _createVNode(CountB)\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ITokenOldAPI } from '../interface/ITokenOldApi';\nimport { HttpAdapterCustomer, jwtDecode } from '@/helpers';\nimport { TOKEN_TYPE, eventStore } from '@/store/event.store';\n\nconst changeEvent = async (eventId: string): Promise<{ token: string; data: ITokenOldAPI }> => {\n\tconst { data } = await HttpAdapterCustomer.post({\n\t\turl: `public/auth/change-event`,\n\t\tbody: JSON.stringify({ eventId }),\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'old_token',\n\t\t},\n\t});\n\treturn { token: data.token, data: jwtDecode(data.token) };\n};\n\nconst changeEventAdmin = async (eventId: string): Promise => {\n\tconst { data } = await HttpAdapterCustomer.post({\n\t\turl: `public/auth/change-event`,\n\t\tbody: JSON.stringify({ eventId }),\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'admin_token',\n\t\t},\n\t});\n\n\teventStore.setStoreToken(data.token, TOKEN_TYPE['ADMIN_TOKEN']);\n\n\treturn jwtDecode(data.token);\n};\n\nexport { changeEvent, changeEventAdmin };\n","import { IEventResponseOldAPI } from \"../interface/IEventResponseOldApi\";\nimport { changeEvent } from \"./changeEvent\";\nimport { HttpAdapterCustomer, existThisFile } from \"@/helpers\";\nimport { SET_EVENT_STATE } from \"@/store/mutation-types\";\n\nconst getInformationEvent = async (store: any) => {\n\t// O gargalo está aqui\n\tconsole.time(\"getInformationEvent\");\n\tconst eventId = await eventIdParticipant();\n\t// const event = await eventIdFUTURETRENDS2022();\n\tconsole.timeEnd(\"getInformationEvent\");\n\tconst { data: eventInfoIds } = await changeEvent(eventId);\n\tconst eventInfo = {\n\t\teventId: eventInfoIds.eventId,\n\t\tbanner: `${existThisFile(eventId)}/banner`,\n\t\tfooter: `${existThisFile(eventId)}/footer`,\n\t\teventTerm: `${existThisFile(eventId)}/event_term`,\n\t\tuserId: eventInfoIds.id,\n\t};\n\tstore.commit(SET_EVENT_STATE, eventInfo);\n};\n\nasync function eventIdParticipant() {\n\tconst { data } = await HttpAdapterCustomer.get({\n\t\turl: \"public/participant\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\treturn data.event_id\n}\n\nasync function eventIdFUTURETRENDS2022(): Promise {\n\tconst { data } = await HttpAdapterCustomer.get({\n\t\turl: \"public/event\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\t// Evento de Teste - ONLINE\n\treturn data[0] as IEventResponseOldAPI;\n}\n\nexport { getInformationEvent };\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createStaticVNode as _createStaticVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/logo_box.png'\nimport _imports_1 from '@/assets/logo_abrafarma.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-de6ae632\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/_createStaticVNode(\"

Bem-vindo a plataforma de eventos da ABRAFARMA!

\", 1)\nconst _hoisted_2 = { class: \"flex justify-center w-1/3\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex justify-center\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 })\n], -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex flex-col items-start gap-2\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", null, [\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Acesso\")\n ]),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Informe seu CPF ou Passaporte\")\n], -1))\nconst _hoisted_5 = { style: {\"text-align\":\"initial\",\"min-width\":\"15px\"} }\n\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport IcLoading from \"@/components/icons/IcLoading.vue\";\nimport { getInformationEvent } from \"@/composable/getEventData\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\nimport { removeMask } from \"@/helpers/mask\";\nimport { onMounted, onUnmounted, ref } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { mask } from \"vue-the-mask\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst toast = useToast();\nconst route = useRouter();\nconst cpf = ref(\"\");\nconst error = ref(\"\");\nconst isLoadingConfirmRequest = ref(false);\nconst etc = ref(\"\");\nconst environment = ref(\"\");\n\nlet interval: number;\nonMounted(() => {\n\tinterval = setInterval(() => {\n\t\tif (etc.value.length < 4) etc.value = \".\" + etc.value;\n\t\telse etc.value = \" \";\n\t}, 400);\n});\n\nonUnmounted(() => clearInterval(interval));\n\nconst submitLogin = async (formEvent: Event) => {\n\tformEvent.preventDefault();\n\tisLoadingConfirmRequest.value = true;\n\tlet cpfFromLogin = removeMask(cpf.value, \"^0-9\");\n\tconst cpfIsValid = validateCPF(cpfFromLogin);\n\tif (!cpfIsValid) {\n\t\tcpfFromLogin = cpf.value\n\t}\n\terror.value = \"\";\n\n\tconst { response: responseOldApi, data } =\n\t\tawait HttpAdapterCustomer.authOldApi(cpfFromLogin);\n\tconst { response: responseNewApi } = await HttpAdapterCustomer.authNewApi(\n\t\tcpfFromLogin\n\t);\n\n\tif (responseNewApi.status === 404) {\n\t\terror.value = \"Aguardando a confirmação do convite\";\n\t\ttoast.error(error.value);\n\t\treturn;\n\t}\n\n\tif (!responseNewApi.ok || !responseOldApi.ok) {\n\t\terror.value = \"Erro ao fazer o login\";\n\t\ttoast.error(error.value);\n\t\treturn;\n\t}\n\n\tif (responseNewApi.ok && responseOldApi.ok) {\n\t\tHttpAdapterCustomer.refreshToken(cpfFromLogin);\n\t\tawait getInformationEvent(store);\n\t\tisLoadingConfirmRequest.value = false;\n\t\troute.push(\"/dados-participante\");\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"form\", {\n class: \"w-9/12 flex flex-col gap-4 justify-center\",\n onSubmit: submitLogin\n }, [\n _hoisted_3,\n _hoisted_4,\n _createVNode(BaseInput, {\n label: \"\",\n name: \"cpf\",\n placeholder: \"CPF ou Passaporte\",\n value: cpf.value,\n onChange: _cache[0] || (_cache[0] = (e) => (cpf.value = e.target.value)),\n error: { message: error.value, status: !!error.value }\n }, null, 8, [\"value\", \"error\"]),\n (!isLoadingConfirmRequest.value)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"button-login\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Entrar \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"button-login button-login_loading\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcLoading),\n _createTextVNode(\" Entrando \"),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(etc.value), 1)\n ]),\n _: 1\n }))\n ], 32)\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=de6ae632&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-de6ae632\"]])\n\nexport default __exports__","\n\n","import { render } from \"./FormInputGroup.vue?vue&type=template&id=02507783&scoped=true\"\nconst script = {}\n\nimport \"./FormInputGroup.vue?vue&type=style&index=0&id=02507783&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-02507783\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { mergeProps as _mergeProps, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/perfil.jpg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-24f640ac\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container_avatar\" }\nconst _hoisted_2 = { class: \"image-participant\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"\"\n}\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n width: \"150\",\n height: \"150\"\n}, null, -1))\nconst _hoisted_7 = [\n _hoisted_6\n]\n\nimport { isUrlExists } from \"@/helpers\";\nimport { onMounted, ref } from \"vue\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImageInput',\n emits: [\"changeUpload\"],\n setup(__props, { emit }) {\n\nconst store = useStore();\nconst isImage = ref(false);\nconst image = ref(\"not-found\");\n\nonMounted(async () => {\n\tsetTimeout(async () => {\n\t\tif (await isUrlExists(store.state.participant.image)) {\n\t\t\timage.value = store.state.participant.image;\n\t\t\tisImage.value = true;\n\t\t}\n\t}, 1500);\n});\n\n\n\nconst handleImage = async (event: any) => {\n\timage.value = URL?.createObjectURL(event.target.files[0]);\n\tisImage.value = await isUrlExists(image.value);\n\temit(\"changeUpload\", event);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", { onChange: handleImage }, [\n _createElementVNode(\"input\", _mergeProps(_ctx.$attrs, {\n type: \"file\",\n accept: \"image/*\",\n onChange: handleImage\n }), null, 16)\n ], 32),\n (isImage.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: image.value,\n width: \"150\",\n height: \"150\"\n }, null, 8, _hoisted_4)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _hoisted_7))\n ])\n ]))\n}\n}\n\n})","import script from \"./ImageInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImageInput.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ImageInput.vue?vue&type=style&index=0&id=24f640ac&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-24f640ac\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withDirectives as _withDirectives, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-160f0127\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"container_group\" }\nconst _hoisted_3 = { class: \"w-1/3\" }\n\nimport FormInputGroup from \"../../../components/Atoms/FormInputGroup.vue\";\nimport ImageInput from \"../../../components/Atoms/ImageInput.vue\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport { PARTICIPANT_MUTATION } from \"@/store/mutation-types\";\nimport { mask } from \"vue-the-mask\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FirstInputGroup',\n setup(__props) {\n\nconst vMask = {\n\tbeforeMount: mask,\n};\n\nconst store = useStore();\n\nconst changeInput = (event: any) => {\n\tconst { name, value } = event.target;\n\tstore.commit(PARTICIPANT_MUTATION, { value, property: name });\n};\n\nfunction upload(event: any) {\n\tconst url = URL?.createObjectURL(event.target.files[0]);\n\tstore.commit(PARTICIPANT_MUTATION, { value: url, property: \"image\" });\n\tstore.commit(PARTICIPANT_MUTATION, {\n\t\tvalue: event.target.files[0],\n\t\tproperty: \"file\",\n\t});\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormInputGroup, null, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(BaseInput, {\n value: _unref(store).state.participant.cpf,\n onOnInputChange: changeInput,\n disabled: \"\",\n class: \"container_input\",\n placeholder: \"Digite o seu cpf\",\n name: \"cpf\",\n label: \"CPF*:\"\n }, null, 8, [\"value\"]), [\n [vMask, ['###.###.###-##']]\n ]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.name,\n onChange: changeInput,\n required: \"\",\n class: \"container_input\",\n placeholder: \"Digite o seu nome\",\n name: \"name\",\n label: \"Nome*:\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }),\n _createVNode(FormInputGroup, null, {\n default: _withCtx(() => [\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.credential,\n onChange: changeInput,\n required: \"\",\n class: \"container_input\",\n placeholder: \"Digite sua credencial\",\n name: \"credential\",\n label: \"Nome Credencial*:\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.birthday,\n onChange: changeInput,\n required: \"\",\n class: \"container_input\",\n name: \"birthday\",\n type: \"date\",\n label: \"Data de nacimento\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(ImageInput, { onChangeUpload: upload })\n ])\n ]))\n}\n}\n\n})","import script from \"./FirstInputGroup.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FirstInputGroup.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FirstInputGroup.vue?vue&type=style&index=0&id=160f0127&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-160f0127\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { onMounted, ref } from 'vue';\n\timport { useStore } from 'vuex';\n\n\timport FormInputGroup from '../../../components/Atoms/FormInputGroup.vue';\n\timport BaseSelect from './BaseSelect.vue';\n\timport BaseInput from '@/components/Atoms/BaseInput.vue';\n\timport { HttpAdapter } from '@/helpers/HttpAdapter';\n\timport { PARTICIPANT_MUTATION } from '@/store/mutation-types';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SecondInputGroup',\n setup(__props) {\n\n\tconst store = useStore();\n\tconst positionOptions = ref([]);\n\n\tconst selectGene = [\n\t\t{ name: 'Prefiro não informar', value: 'not informed' },\n\t\t{ name: 'Feminino', value: 'female' },\n\t\t{ name: 'Masculino', value: 'male' },\n\t];\n\n\tonMounted(() => {\n\t\tgetPosition();\n\t});\n\n\tconst changeInput = (event: any) => {\n\t\tconst { name, value } = event.target;\n\t\tstore.commit(PARTICIPANT_MUTATION, { value, property: name });\n\t};\n\n\tconst getPosition = async () => {\n\t\tconst positionName = await HttpAdapter.get('position-type');\n\t\tpositionOptions.value = positionName;\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(FormInputGroup, null, {\n default: _withCtx(() => [\n _createVNode(BaseSelect, {\n value: _unref(store).state.participant.gene,\n onChangeOption: changeInput,\n label: \"Gênero:\",\n name: \"gene\",\n options: selectGene,\n keys: { keyValue: 'value', keyLabel: 'name' }\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.emailBusinesses,\n onChange: changeInput,\n required: \"\",\n class: \"container_input\",\n placeholder: \"Digite o seu email comercial\",\n name: \"emailBusinesses\",\n type: \"email\",\n label: \"Email comercial*:\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.emailPersonal,\n onChange: changeInput,\n class: \"container_input\",\n placeholder: \"Digite o seu email pessoal\",\n name: \"emailPersonal\",\n type: \"email\",\n label: \"Email Pessoal:\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }),\n _createVNode(FormInputGroup, null, {\n default: _withCtx(() => [\n _createVNode(BaseSelect, {\n value: _unref(store).state.participant.typePosition,\n onChangeOption: changeInput,\n name: \"typePosition\",\n label: \"Tipo de Cargo*:\",\n options: positionOptions.value,\n keys: { keyLabel: 'name', keyValue: 'id' }\n }, null, 8, [\"value\", \"options\"]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.descriptionPosition,\n onChange: changeInput,\n label: \"Descrição do Cargo*:\",\n placeholder: \"Digite uma descrição\",\n required: \"\",\n class: \"container_input\",\n name: \"descriptionPosition\"\n }, null, 8, [\"value\"]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.register,\n onChange: changeInput,\n class: \"container_input\",\n placeholder: \"Digite sua matrícula\",\n name: \"register\",\n label: \"Matrícula:\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n })\n ], 64))\n}\n}\n\n})","import script from \"./SecondInputGroup.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SecondInputGroup.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SecondInputGroup.vue?vue&type=style&index=0&id=7b1c0102&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7b1c0102\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withDirectives as _withDirectives, withCtx as _withCtx, renderSlot as _renderSlot, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { onMounted, ref } from 'vue';\n\timport { mask } from 'vue-the-mask';\n\timport { useStore } from 'vuex';\n\n\timport FormInputGroup from '../../../components/Atoms/FormInputGroup.vue';\n\timport BaseSelect from './BaseSelect.vue';\n\timport BaseInput from '@/components/Atoms/BaseInput.vue';\n\timport { HttpAdapter } from '@/helpers/HttpAdapter';\n\timport { PARTICIPANT_MUTATION } from '@/store/mutation-types';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ThirdInputGroup',\n setup(__props) {\n\n\tconst vMask = {\n\t\tbeforeMount: mask,\n\t};\n\n\tconst store = useStore();\n\tconst companyOptions = ref([] as any[]);\n\n\tonMounted(() => {\n\t\tgetCompany();\n\t});\n\n\tconst getCompany = async () => {\n\t\tconst companyName = await HttpAdapter.get('company/names-and-ids');\n\t\tconst companyData = [{ id: '0', name: 'Convidado' }, ...companyName];\n\t\tcompanyOptions.value = companyData;\n\t};\n\n\tconst changeInput = (event: any) => {\n\t\tconst { name, value } = event.target;\n\t\tstore.commit(PARTICIPANT_MUTATION, { value, property: name });\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(FormInputGroup, null, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(BaseInput, {\n value: _unref(store).state.participant.phone,\n onOnInputChange: changeInput,\n title: \"(DD) 9999-9999\",\n label: \"Telefone Celular*:\",\n placeholder: \"(DDD) + Número\",\n required: \"\",\n class: \"container_input\",\n name: \"phone\"\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ]),\n _withDirectives(_createVNode(BaseInput, {\n value: _unref(store).state.participant.residencePhone,\n onOnInputChange: changeInput,\n title: \"(DD) 9999-9999\",\n label: \"Telefone Residencial:\",\n placeholder: \"(DDD) + Número\",\n class: \"container_input\",\n name: \"residencePhone\"\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ]),\n _withDirectives(_createVNode(BaseInput, {\n value: _unref(store).state.participant.enterprisePhone,\n onOnInputChange: changeInput,\n title: \"(DD) 9999-9999\",\n label: \"Telefone Comercial:\",\n placeholder: \"(DDD) + Número\",\n class: \"container_input\",\n name: \"enterprisePhone\"\n }, null, 8, [\"value\"]), [\n [vMask, ['(##) ####-####', '(##) #####-####']]\n ])\n ]),\n _: 1\n }),\n _createVNode(FormInputGroup, null, {\n default: _withCtx(() => [\n _createVNode(BaseSelect, {\n value: _unref(store).state.participant.company,\n onChangeOption: changeInput,\n label: \"Empresa*:\",\n name: \"typePosition\",\n disabled: \"\",\n options: companyOptions.value,\n keys: { keyLabel: 'name', keyValue: 'id' }\n }, null, 8, [\"value\", \"options\"]),\n _createVNode(BaseInput, {\n value: _unref(store).state.participant.address,\n onChange: changeInput,\n class: \"container_input\",\n name: \"address\",\n label: \"Endereço completo:\",\n placeholder: \"Digite seu endereço completo\"\n }, null, 8, [\"value\"]),\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n })\n ], 64))\n}\n}\n\n})","import script from \"./ThirdInputGroup.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ThirdInputGroup.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ThirdInputGroup.vue?vue&type=style&index=0&id=36e72328&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-36e72328\"]])\n\nexport default __exports__","export function formatDate(value: string) {\n\tlet date = value;\n\tif (isPatterBrazilDate(value)) date = convertDateISO8601(value);\n\n\tconst convertDate = date.split('T')[0].replace(/-/g, '/');\n\treturn new Date(convertDate).toLocaleDateString('en-CA').replace(/\\//g, '-');\n}\n\nfunction isPatterBrazilDate(value: string) {\n\treturn Boolean(value.includes('/'));\n}\n\nfunction convertDateISO8601(value: string) {\n\treturn value.split('/').reverse().join('-');\n}\n","import { IParticipantData } from '../dto/IParticipantData';\nimport { formatDate } from '@/helpers/FormatDate';\nimport { urlNewApi } from '@/helpers/HttpAdapterCostumer';\nimport { maskCpf, maskPhone } from '@/helpers/mask';\nimport { IParticipantState } from '@/views/Participant/dto/IParticipantState';\n\nexport function participantMapper(participantData: IParticipantData): IParticipantState {\n\tconst participant: IParticipantState = {\n\t\tname: participantData.name || '',\n\t\tcredential: participantData.nameCredential || '',\n\t\tcpf: maskCpf(participantData.cpf) || '',\n\t\temailBusinesses: participantData.enterpriseMail || '',\n\t\temailPersonal: participantData.mail || '',\n\t\tenterprisePhone: maskPhone(participantData.enterprisePhone) || '',\n\t\tresidencePhone: maskPhone(participantData?.residence_phone) || '',\n\t\tbirthday: formatDate(participantData.birthDate),\n\t\taddress: participantData.address || '',\n\t\tcompany: participantData.company || '',\n\t\tregister: participantData.register || '',\n\t\tdescriptionPosition: participantData.description_role || '',\n\t\ttypePosition: participantData.type_role || '',\n\t\tgene: participantData.gender,\n\t\tguestCompany: participantData.companyInvited,\n\t\tnameCompany: participantData.invitedBy,\n\t\timage: `${urlNewApi}/participant/uploads/file/${participantData.profile_img}`,\n\t\tphone: maskPhone(participantData.phone) || '',\n\t\tdeclineEventTermsDate: participantData.decline_event_terms_date\n\t};\n\treturn participant;\n}\n","import { IParticipantDataUpdate } from '../dto/IParticipantData';\nimport { formatDate } from '@/helpers/FormatDate';\nimport { removeMaskCpf, removeMaskPhone } from '@/helpers/mask';\nimport { IParticipantState } from '@/views/Participant/dto/IParticipantState';\n\nexport function participantMapperUpdate(participantState: IParticipantState): IParticipantDataUpdate {\n\tconst participant: IParticipantDataUpdate = {\n\t\tname: participantState.name,\n\t\tname_credential: participantState.credential,\n\t\tcpf: removeMaskCpf(participantState.cpf),\n\t\tenterprise_mail: participantState.emailBusinesses,\n\t\temail: participantState.emailPersonal,\n\t\tenterprise_phone: removeMaskPhone(participantState.enterprisePhone),\n\t\tresidence_phone: removeMaskPhone(participantState.residencePhone),\n\t\tphone: removeMaskPhone(participantState.phone),\n\t\tbirth_date: formatDate(participantState.birthday),\n\t\taddress: participantState.address,\n\t\tcompany_invited: participantState.guestCompany,\n\t\tregister: participantState.register,\n\t\tdescription_role: participantState.descriptionPosition,\n\t\ttype_role: participantState.typePosition,\n\t\tgender: participantState.gene,\n\t\tcompany: participantState.company,\n\t\tinvited_by: participantState.nameCompany,\n\t\tprofile_img: participantState.image,\n\t};\n\treturn participant;\n}\n","\n\n\n\n","import { render } from \"./FormContainer.vue?vue&type=template&id=18036f68&scoped=true\"\nconst script = {}\n\nimport \"./FormContainer.vue?vue&type=style&index=0&id=18036f68&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-18036f68\"]])\n\nexport default __exports__","\n\n","import { render } from \"./Box.vue?vue&type=template&id=01f6d720&scoped=true\"\nconst script = {}\n\nimport \"./Box.vue?vue&type=style&index=0&id=01f6d720&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-01f6d720\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4d1696ec\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"c-box\" }\n\nimport FirstInputGroup from \"./components/FirstInputGroup.vue\";\nimport SecondInputGroup from \"./components/SecondInputGroup.vue\";\nimport ThirdInputGroup from \"./components/ThirdInputGroup.vue\";\nimport { IParticipantData } from \"./dto/IParticipantData\";\nimport { participantMapper } from \"./mapper/participantMapper\";\nimport { participantMapperUpdate } from \"./mapper/participantMapperUpdate\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport FormContainer from \"@/components/Atoms/FormContainer.vue\";\nimport Box from \"@/components/Organism/Box.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { stopSpinner } from \"@/helpers/SpinnerHandler\";\nimport { SET_STATE_PARTICIPANT } from \"@/store/mutation-types\";\nimport { onMounted } from \"vue\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\nconst toast = useToast();\n\nonMounted(() => {\n\tgetParticipantApi();\n\tstopSpinner();\n});\n\nasync function getParticipantApi() {\n\tconst { response, data } = await HttpAdapterCustomer.get({\n\t\turl: `participant/${store.state.event.userId}`,\n\t});\n\tif (response.ok) {\n\t\tconst participant = participantMapper(data);\n\t\tstore.commit(SET_STATE_PARTICIPANT, participant);\n\t}\n}\n\nasync function submitForm() {\n\tconst participant = participantMapperUpdate(store.state.participant);\n\tconst formData = new FormData();\n\tconst newImageFile = new File(\n\t\t[store.state.participant.file || \"\"],\n\t\t\"image.jpg\",\n\t\t{ type: \"image/jpeg\" }\n\t);\n\n\tif (isFile()) {\n\t\tformData.append(\"file\", newImageFile);\n\t}\n\n\tfor (let key in participant) {\n\t\tconst property: any = participant;\n\t\tformData.append(key, property[key]);\n\t}\n\n\tconst resPut = await HttpAdapterCustomer.put({\n\t\turl: `participant/put/${store.state.event.eventId}`,\n\t\tbody: formData,\n\t\theaders_config: {\n\t\t\t\"Content-Type\": \"none\",\n\t\t},\n\t});\n\tif (resPut.response.ok)\n\t\treturn toast.success(\"Participante atualizado com sucesso!\");\n\n\treturn toast.error(\"Erro ao atualizar participante!\");\n}\n\nfunction isFile() {\n\treturn Boolean(store.state.participant.file);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Box, { class: \"w-full\" }, {\n default: _withCtx(() => [\n _createVNode(FormContainer, {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, {\n default: _withCtx(() => [\n _createVNode(FirstInputGroup),\n _createVNode(SecondInputGroup),\n _createVNode(ThirdInputGroup, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n class: \"c-box_button\",\n variant: 'primary',\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Salvar\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"onSubmit\"])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=4d1696ec&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4d1696ec\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b8442b2e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"screen\" }\n\nimport { urlOldApi } from '@/helpers';\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst urlProvider = `${urlOldApi.replace('/api', '')}/prestador#/`\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"iframe\", {\n width: \"100%\",\n id: \"iframe\",\n height: \"100%\",\n src: urlProvider\n })\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=b8442b2e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-b8442b2e\"]])\n\nexport default __exports__","export enum StatusEnum {\n\t\"accepted\" = \"accepted\",\n\t\"invited\" = \"invited\",\n\t\"not invited\" = \"not invited\",\n\t\"not present\" = \"not present\",\n\t\"present\" = \"present\",\n\t\"present at time\" = \"present at time\",\n}\n\nexport const StatusExhibition = {\n\taccepted: \"Confirmada\",\n\tinvited: \"Não Confirmada\",\n\t\"not invited\": \"Não confirmou\",\n\t\"not present\": \"Não presente\",\n\tpresent: \"Presente no evento\",\n\t\"present at time\": \"Presente na hora\",\n};\n","import { ActivityResponse, IScheduleActivities, IScheduleActivitiesResponse, SpeakerResponse } from '../dto/IScheduleActivitiesResponse';\nimport { Activity, ActivityDetail, IScheduleActivitiesState, Speaker } from '../dto/IScheduleActivitiesState';\n\nexport function mapperScheduleActivities(scheduleActivities: IScheduleActivitiesResponse): IScheduleActivitiesState[] {\n\treturn scheduleActivities?.data?.map(getScheduleActivities);\n}\n\nfunction getScheduleActivities(scheduleActivity: IScheduleActivities) {\n\treturn {\n\t\tdate: scheduleActivity.date,\n\t\tactivities: scheduleActivity.activities.map(mapperActivities),\n\t};\n}\n\nfunction mapperActivities(activity: ActivityResponse): Activity {\n\treturn {\n\t\tspeakers: activity.speakers.map(mapperSpeaker),\n\t\tactivityDetail: mapperActivityDetail(activity),\n\t};\n}\n\nfunction mapperSpeaker(speaker: SpeakerResponse): Speaker {\n\treturn {\n\t\t...speaker,\n\t\tavatar: `https://eventosabrafarma.com.br/content/${speaker.avatar}`,\n\t};\n}\n\nfunction mapperActivityDetail(activity: ActivityResponse): ActivityDetail {\n\treturn {\n\t\ttitle: activity.activity_data.title,\n\t\thours: `${activity.activity_data.start_time} às ${activity.activity_data.end_time}`,\n\t\tplace: activity.activity_data.place,\n\t\tlogo: activity.activity_data.logo,\n\t\tisInterval: activity.activity_data.is_interval,\n\t\tid: activity.activity_data.id,\n\t\ttype: activity.activity_data.type,\n\t\ttypeLabel: activity.activity_data.type_label,\n\t\tcompanyName: activity.activity_data.company_name,\n\t\tdescription: activity.activity_data.description,\n\t};\n}\n","import { StatusEnum, StatusExhibition } from \"./constants\";\nimport {\n\tActivity,\n\tIScheduleActivitiesResponse,\n\tIScheduleActivitiesState,\n} from \"./dto\";\nimport { mapperScheduleActivities } from \"./mapper/mapperScheduleActivities\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport Vue, { ref } from \"vue\";\n\nexport const storeSchedule = {\n\tstatus: ref(\"\"),\n\tactivityError: ref(\"\"),\n\tisEventOnline: ref(false),\n\tdescriptionEventOnline: ref(\"\"),\n\ttabs: ref([]),\n\ttabSelected: ref(\"Corporativa\"),\n\tscheduleEvents: ref([]),\n\tscheduleActivities: ref([]),\n\tdaysOfActivities: ref([]),\n\tdateSelected: ref(0),\n};\n\nconst actions = {\n\tasync getScheduleActivities(eventId: string, userId: string) {\n\t\tconst queryString = `?eventId=${eventId}&participantId=${userId}`;\n\t\tconst urlAPi = `schedule-activity${queryString}`;\n\t\tconst { data } = await HttpAdapterCustomer.get(\n\t\t\t{ url: urlAPi }\n\t\t);\n\n\t\tstoreSchedule.daysOfActivities.value = data?.data.map((schedule) => schedule.date);\n\t\tstoreSchedule.activityError.value = data?.message || undefined;\n\t\tstoreSchedule.descriptionEventOnline.value = data.description;\n\t\tstoreSchedule.status.value = data?.status;\n\t\tstoreSchedule.isEventOnline.value = data.online;\n\t\tconst scheduleActivitiesMapper = mapperScheduleActivities(data);\n\t\tstoreSchedule.scheduleEvents.value = scheduleActivitiesMapper;\n\t\tconst activitiesTypeLabel = scheduleActivitiesMapper?.map(\n\t\t\tgetActivitiesTypeLabel\n\t\t);\n\n\t\tstoreSchedule.scheduleActivities.value = actions.getActivitiesForDayAndTypeEvent();\t\t\n\t\tstoreSchedule.tabs.value = sanitizedAndOrderTabs(activitiesTypeLabel);\n\n\n\t\treturn {\n\t\t\tdaysOfActivities: storeSchedule.daysOfActivities.value,\n\t\t\tdateSelected: storeSchedule.dateSelected.value,\n\t\t}\n\t},\n\tgetActivitiesForDayAndTypeEvent() {\t\t\n\t\tif (!storeSchedule.scheduleEvents.value?.length) return [];\n\t\t// storeSchedule.daysOfActivities.value = actions.getDateForActivitiesType();\n\t\tactions.getDateForActivitiesType();\n\t\tconst event = storeSchedule.scheduleEvents;\n\t\tconst eventActivitiesFilterForType = event.value?.map(isEventEqualTabSelected);\n\t\tconst eventActivitiesForDay = eventActivitiesFilterForType.find(\n\t\t\tisEventDateEqualDateSelected\n\t\t);\n\t\tif (!eventActivitiesForDay?.activities) return [];\n\t\treturn eventActivitiesForDay?.activities;\n\t},\n\tasync getDateForActivitiesType() {\n\t\tif (!storeSchedule.scheduleEvents.value?.length) return [];\n\t\tconst schedule = storeSchedule.scheduleEvents;\n\t\tconst activitiesForType = schedule.value?.map(isEventEqualTabSelected);\n\t\tconst activitiesFilterForType = activitiesForType.filter((activities) =>\n\t\t\tBoolean(activities.activities.length)\n\t\t);\t\t\n\t\t\n\t\treturn activitiesFilterForType.map((activities) => activities.date);\n\t},\n\tgetStatusMessage() {\n\t\tconst key = storeSchedule.status.value as StatusEnum;\n\t\treturn StatusExhibition[key];\n\t},\n};\n\nfunction sanitizedAndOrderTabs(activitiesTypeLabel: string[][]) {\n\tif (!activitiesTypeLabel) return [];\n\tconst tabs = [...new Set([...activitiesTypeLabel?.flat()])];\n\tconst yes = 1;\n\tconst no = -1;\n\treturn tabs?.sort((tab) => (tab === \"Corporativa\" ? no : yes));\n}\n\nfunction getActivitiesTypeLabel(schedule: IScheduleActivitiesState) {\n\treturn schedule.activities.map(\n\t\t(activity) => activity.activityDetail.typeLabel\n\t);\n}\n\nfunction isEventDateEqualDateSelected(item: IScheduleActivitiesState) {\n\tconst date =\n\tstoreSchedule.daysOfActivities.value[storeSchedule.dateSelected.value];\n\treturn item.date === date;\n}\n\nfunction isEventEqualTabSelected(\n\tschedule: IScheduleActivitiesState\n): IScheduleActivitiesState {\n\treturn {\n\t\tdate: schedule.date,\n\t\tactivities: schedule.activities.filter(isEventTypeEqualTabSelected),\n\t};\n}\n\nfunction isEventTypeEqualTabSelected(activity: Activity): boolean {\n\treturn activity.activityDetail.typeLabel === storeSchedule.tabSelected.value;\n}\n\nexport const scheduleStore = { ...storeSchedule, ...actions };\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-852f5f1c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"c-dates_buttons\" }\nconst _hoisted_2 = [\"onClick\"]\n\nimport { scheduleStore } from \"../store\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ScheduleContainerDays',\n setup(__props) {\n\nconst { daysOfActivities, dateSelected } = scheduleStore\n\n\nconst uniqueArray = daysOfActivities?.value.filter(\n\t(value: string, index: number, self: Array) => {\t\t\t\n\t\treturn self.indexOf(value) === index;\n\t}\n)\n\nconst setDaySelected = (day: number) => {\n\tdateSelected.value = day;\n};\t\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(uniqueArray), (day, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"c-date_button\", _unref(dateSelected) === index ? 'c-schedule_date_button--selected' : '']),\n key: day,\n onClick: ($event: any) => (setDaySelected(index))\n }, \" Dia \" + _toDisplayString(index + 1) + \"º \", 11, _hoisted_2))\n }), 128))\n ]))\n}\n}\n\n})","import script from \"./ScheduleContainerDays.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ScheduleContainerDays.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ScheduleContainerDays.vue?vue&type=style&index=0&id=852f5f1c&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-852f5f1c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, withCtx as _withCtx, Transition as _Transition } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = {\n key: 0,\n class: \"c-schedule_table\",\n style: {\"color\":\"var(--color-admin-primary)\",\"display\":\"flex\",\"justify-content\":\"space-between\"}\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"order_title\"\n}\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"justify-content\":\"center\"} }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { class: \"text-center\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"c-table_column\" }, null, -1)\nconst _hoisted_9 = { key: 1 }\n\nimport { scheduleStore } from \"../../store\";\nimport * as Activities from \"@/components/Organism/ActivitiesLines\";\nimport { computed } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { scheduleActivities } = scheduleStore;\n\nconst sortedActivities = computed(() => {\n\tconst activitiesCopy = [...scheduleActivities.value];\n\n\tactivitiesCopy.forEach((item) => {\n\t\titem.activityDetail.place = item.activityDetail?.place?.toUpperCase();\n\t});\n\n\tactivitiesCopy.sort((a, b) => {\n\t\treturn compareHoursAsString(a.activityDetail.hours, b.activityDetail.hours);\n\t});\n\n\tconst groupedByHour: any = groupByHour(activitiesCopy);\n\n\tfor (const hourGroup of groupedByHour) {\n\t\thourGroup.sort((a: any, b: any) => {\n\t\t\tconst placeA = a.activityDetail.place;\n\t\t\tconst placeB = b.activityDetail.place;\n\t\t\treturn placeA.localeCompare(placeB);\n\t\t});\n\t}\n\n\tconst result = [].concat(...groupedByHour);\n\n\treturn result;\n});\n\nfunction groupByHour(activities: any) {\n\tconst groups = [];\n\tlet currentGroup: any = [];\n\tlet currentHour: any = null;\n\n\tactivities.forEach((activity: any) => {\n\t\tconst hour = activity.activityDetail.hours;\n\t\tif (hour !== currentHour) {\n\t\t\tif (currentGroup.length > 0) {\n\t\t\t\tgroups.push([...currentGroup]);\n\t\t\t\tcurrentGroup = [];\n\t\t\t}\n\t\t\tcurrentHour = hour;\n\t\t}\n\t\tcurrentGroup.push(activity);\n\t});\n\n\tif (currentGroup.length > 0) {\n\t\tgroups.push([...currentGroup]);\n\t}\n\n\treturn groups;\n}\n\nfunction compareHoursAndPlace(activityA: any, activityB: any) {\n\tconst compareHours = compareHoursAsString(\n\t\tactivityA.activityDetail.hours,\n\t\tactivityB.activityDetail.hours\n\t);\n\n\tif (compareHours !== 0) {\n\t\treturn compareHours;\n\t}\n\n\tconst placeA = activityA.activityDetail.place;\n\tconst placeB = activityB.activityDetail.place;\n\treturn placeA.localeCompare(placeB);\n}\n\nfunction compareHoursAsString(timeA: any, timeB: any) {\n\tconst [hoursA, minutesA] = timeA.split(\":\").map(Number);\n\tconst [hoursB, minutesB] = timeB.split(\":\").map(Number);\n\n\tif (hoursA !== hoursB) {\n\t\treturn hoursA - hoursB;\n\t} else {\n\t\treturn minutesA - minutesB;\n\t}\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Transition, { name: \"lines\" }, {\n default: _withCtx(() => [\n (_unref(scheduleActivities).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(sortedActivities), (activity) => {\n return (_openBlock(), _createBlock(Activities.Box, {\n key: activity.activityDetail.id\n }, {\n default: _withCtx(() => [\n (!activity.activityDetail.isInterval)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(Activities.Hours, {\n class: \"c-schedule_table_hour order_hours\",\n place: activity.activityDetail.place,\n hour: activity.activityDetail.hours\n }, null, 8, [\"place\", \"hour\"]),\n (activity.activityDetail.typeLabel !== 'Corporativa')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"h4\", null, _toDisplayString(activity.activityDetail.title), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(Activities.ContainerCards, {\n class: _normalizeClass([\"c-schedule_table_cards order_card\", \n\t\t\t\t\t\t\tactivity.activityDetail.typeLabel === 'Corporativa'\n\t\t\t\t\t\t\t\t? 'corporative-style'\n\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t]),\n \"is-show\": activity.activityDetail.typeLabel === 'Corporativa',\n \"is-show-cards\": Boolean(activity.speakers.length),\n title: activity.activityDetail.title,\n description: activity.activityDetail.description,\n style: {\"width\":\"80%\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h4\", null, _toDisplayString(activity.activityDetail.title), 1),\n _createElementVNode(\"p\", {\n innerHTML: activity.activityDetail.description\n }, null, 8, _hoisted_4),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(activity.speakers, (speaker) => {\n return (_openBlock(), _createBlock(Activities.Card, {\n key: speaker.name,\n src: speaker.avatar,\n name: speaker.name\n }, null, 8, [\"src\", \"name\"]))\n }), 128))\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"is-show\", \"is-show-cards\", \"title\", \"description\", \"class\"]),\n _createVNode(Activities.Logo, {\n \"is-show\": activity.activityDetail.typeLabel !== 'Corporativa',\n class: \"c-table_column order_logo\",\n src: activity.activityDetail.logo\n }, null, 8, [\"is-show\", \"src\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(Activities.Hours, {\n class: \"c-table_column\",\n place: activity.activityDetail.place,\n hour: activity.activityDetail.hours\n }, null, 8, [\"place\", \"hour\"]),\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(activity.activityDetail.title.toUpperCase()), 1),\n _hoisted_8\n ]))\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_9))\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5168f414&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ref } from 'vue';\n\nimport { IHandlerOptionsFetch } from '@/helpers';\n\nconst optionsHttp: IHandlerOptionsFetch = {\n\turl: '',\n\tmethod: 'POST',\n\told_url: true,\n\theaders_config: {\n\t\tAuthorization: 'old_token',\n\t\t'Content-Type': 'json',\n\t},\n\tbody: JSON.stringify([]),\n};\n\nconst store = {\n\tlabelStatus: ref(''),\n\tisLoadingConfirmRequest: ref(false),\n\ttermAccept: ref(false),\n\tpolicyAccept: ref(false),\n};\n\nconst actions = {\n\tteste() {\n\t},\n};\n\nexport const scheduleSubscriptionStore = { ...store, ...actions, optionsHttp };\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, isRef as _isRef, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, Transition as _Transition, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2b3fb1f6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"c-subscription\"\n}\nconst _hoisted_2 = {\n key: 0,\n style: {\"display\":\"flex\",\"flex-direction\":\"column\",\"gap\":\"1rem\"}\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"c-subscription_terms\" }, \"Termos de Participação\", -1))\nconst _hoisted_4 = { class: \"c-terms\" }\nconst _hoisted_5 = { class: \"c-terms\" }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { class: \"terms_event-online\" }\nconst _hoisted_8 = { class: \"c-terms\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"terms_online\" }, \"Li e aceito os termos acima\", -1))\n\nimport { scheduleStore } from \"../../../store\";\nimport { scheduleSubscriptionStore } from \"../store\";\nimport { UseStorage } from \"@/helpers/StorageHandler\";\nimport { getContentUrl } from \"@/helpers/abrafarmaApi\";\nimport { onMounted, ref } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CheckboxTerm',\n setup(__props) {\n\nconst { status, isEventOnline, descriptionEventOnline } = scheduleStore;\nconst { termAccept, policyAccept } = scheduleSubscriptionStore;\nconst store = useStore();\nconst eventId = ref(\"\");\nconst route = useRoute();\nconst eventData = store.state.event;\n\nasync function downloadTermEvent() {\n\tconst downloadTermLink = `${getContentUrl()}/${eventData.eventId}/event_term`;\n\twindow.open(downloadTermLink);\n}\n\nasync function downloadPrivacyPolicyTerm() {\n\tconst downloadPrivacyPolicyLink = `${getContentUrl()}/${\n\t\teventData.eventId\n\t}/privacy_policy_term`;\n\twindow.open(downloadPrivacyPolicyLink);\n}\n\nonMounted(() => {\n\teventId.value = UseStorage.getTokenData()?.event_id || \"\";\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Transition, { name: \"confirm\" }, {\n default: _withCtx(() => [\n (_unref(status) === 'invited')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_unref(isEventOnline))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"input\", {\n name: \"terms\",\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(termAccept) ? (termAccept).value = $event : null))\n }, null, 512), [\n [_vModelCheckbox, _unref(termAccept)]\n ]),\n _createElementVNode(\"label\", { for: \"terms\" }, [\n _createTextVNode(\"Li e aceito os \"),\n _createElementVNode(\"span\", {\n style: {\"cursor\":\"pointer\",\"color\":\"var(--color-admin-secondary)\",\"text-decoration\":\"underline\"},\n onClick: downloadTermEvent\n }, \"Termos de Aceite para participação de Eventos da Abrafarma\")\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _withDirectives(_createElementVNode(\"input\", {\n name: \"terms\",\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(policyAccept) ? (policyAccept).value = $event : null))\n }, null, 512), [\n [_vModelCheckbox, _unref(policyAccept)]\n ]),\n _createElementVNode(\"label\", { for: \"terms\" }, [\n _createTextVNode(\"Li e aceito os \"),\n _createElementVNode(\"span\", {\n style: {\"cursor\":\"pointer\",\"color\":\"var(--color-admin-secondary)\",\"text-decoration\":\"underline\"},\n onClick: downloadPrivacyPolicyTerm\n }, \"Termos de Políticas de Tratamento de Dados Abrafarma\")\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"p\", _hoisted_7, _toDisplayString(_unref(descriptionEventOnline)), 1),\n _createElementVNode(\"div\", _hoisted_8, [\n _withDirectives(_createElementVNode(\"input\", {\n name: \"terms_online\",\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((downloadTermEvent) = $event))\n }, null, 512), [\n [_vModelCheckbox, downloadTermEvent]\n ]),\n _hoisted_9\n ])\n ]))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CheckboxTerm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CheckboxTerm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CheckboxTerm.vue?vue&type=style&index=0&id=2b3fb1f6&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2b3fb1f6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, Transition as _Transition } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"c-confirm\"\n}\n\nimport { useToast } from 'vue-toastification';\nimport { useStore } from 'vuex';\n\nimport { scheduleSubscriptionStore } from '../store';\nimport BaseButton from '@/components/Atoms/BaseButton.vue';\nimport IcCheck from '@/components/icons/IcCheck.vue';\nimport IcLoading from '@/components/icons/IcLoading.vue';\nimport { HttpAdapterCustomer } from '@/helpers';\nimport { StatusEnum } from '@/views/Schedule/constants';\nimport { scheduleStore } from '@/views/Schedule/store';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GroupButtonConfirm',\n setup(__props) {\n\nconst toast = useToast();\nconst store = useStore();\n\nconst { status, getStatusMessage, getScheduleActivities } = scheduleStore;\nconst { termAccept, policyAccept, isLoadingConfirmRequest, labelStatus, optionsHttp } = scheduleSubscriptionStore;\n\nconst apiConfirm = async () => {\n\tisLoadingConfirmRequest.value = true;\n\tconst { response } = await HttpAdapterCustomer.post({ ...optionsHttp, url: 'public/participant/confirm' });\n\n\tif (response.status === 200) {\n\t\tconst event = store.state.event;\n\t\tawait getScheduleActivities(event.eventId, event.userId);\n\t\tstatus.value = StatusEnum['accepted'];\n\t\tisLoadingConfirmRequest.value = false;\n\t\ttermAccept.value = false;\n\t\tpolicyAccept.value = false\n\t\tlabelStatus.value = getStatusMessage();\n\t\ttoast.success('Inscrição confirmada com sucesso!');\n\t} else {\n\t\ttermAccept.value = false;\n\t\tpolicyAccept.value = false;\n\t\tisLoadingConfirmRequest.value = false;\n\t\ttoast.error('Ocorreu um erro ao confirmar sua inscrição');\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Transition, { name: \"confirm\" }, {\n default: _withCtx(() => [\n (_unref(termAccept) && _unref(policyAccept))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_unref(isLoadingConfirmRequest))\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n onClick: apiConfirm\n }, {\n default: _withCtx(() => [\n _createVNode(IcCheck),\n _createTextVNode(\" Confirmar Inscrição \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n class: \"c-confirm_button c-confirm_button_loading\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcLoading),\n _createTextVNode(\" Confirmando Inscrição \")\n ]),\n _: 1\n }))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./GroupButtonConfirm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GroupButtonConfirm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, Transition as _Transition } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"c-confirm\"\n}\n\nimport { useToast } from 'vue-toastification';\n\n\timport { scheduleSubscriptionStore } from '../store';\n\timport BaseButton from '@/components/Atoms/BaseButton.vue';\n\timport IcEmail from '@/components/icons/IcEmail.vue';\n\timport IcLoading from '@/components/icons/IcLoading.vue';\n\timport { HttpAdapterCustomer } from '@/helpers';\n\timport { scheduleStore } from '@/views/Schedule/store';\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GroupButtonSendInvented',\n setup(__props) {\n\n\tconst toast = useToast();\n\tconst { isEventOnline, status } = scheduleStore;\n\n\tconst { isLoadingConfirmRequest, optionsHttp } = scheduleSubscriptionStore;\n\n\tconst apiSendInvite = async () => {\n\t\tisLoadingConfirmRequest.value = true;\n\t\tconst { response } = await HttpAdapterCustomer.post({ ...optionsHttp, url: 'public/participant/sendinvite' });\n\t\tif (response.status === 200) {\n\t\t\tisLoadingConfirmRequest.value = false;\n\t\t\ttoast.success('Acesso enviado com sucesso!');\n\t\t} else {\n\t\t\tisLoadingConfirmRequest.value = false;\n\t\t\ttoast.error('Ocorreu um erro ao enviar o acesso');\n\t\t}\n\t};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Transition, { name: \"confirm\" }, {\n default: _withCtx(() => [\n (_unref(status) === 'accepted' && _unref(isEventOnline))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_unref(isLoadingConfirmRequest))\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n onClick: apiSendInvite,\n class: \"c-confirm_button c-confirm_button_email\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcEmail),\n _createTextVNode(\" Reenviar Acesso á sala \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n onClick: apiSendInvite,\n class: \"c-confirm_button c-confirm_button_email\"\n }, {\n default: _withCtx(() => [\n _createVNode(IcLoading),\n _createTextVNode(\" Enviando Acesso á sala \")\n ]),\n _: 1\n }))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./GroupButtonSendInvented.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GroupButtonSendInvented.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { class: \"c-subscription\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"c-subscription_title\" }, \"Inscrição\", -1)\nconst _hoisted_5 = { class: \"c-subscription_status\" }\n\nimport { scheduleStore, storeSchedule } from \"../../store\";\nimport CheckboxTerm from \"./components/CheckboxTerm.vue\";\nimport GroupButtonConfirm from \"./components/GroupButtonConfirm.vue\";\nimport GroupButtonSendInvented from \"./components/GroupButtonSendInvented.vue\";\nimport { scheduleSubscriptionStore } from \"./store\";\nimport { onMounted, watch } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { getStatusMessage, status, activityError } = scheduleStore;\n\nconst { labelStatus } = scheduleSubscriptionStore;\n\nonMounted(() => {\n\tlabelStatus.value = getStatusMessage();\n});\n\nwatch(status, () => {\n\tlabelStatus.value = getStatusMessage();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_unref(activityError))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _toDisplayString(_unref(activityError)), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(_unref(labelStatus)), 1)\n ]),\n _createVNode(CheckboxTerm),\n _createVNode(GroupButtonConfirm),\n _createVNode(GroupButtonSendInvented)\n ]))\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f3c094b4&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1763c860\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"c-schedule_tabs\" }\nconst _hoisted_2 = [\"onClick\"]\n\nimport { scheduleStore } from \"../store\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ScheduleTabs',\n setup(__props) {\n\nconst { tabSelected, tabs } = scheduleStore;\n\nfunction setTabSelected(tab: string) {\n\ttabSelected.value = tab;\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(tabs), (tab) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: tab,\n onClick: ($event: any) => (setTabSelected(tab)),\n class: _normalizeClass([\"c-schedule_tab\", _unref(tabSelected) == tab ? 'c-schedule_tab__selected' : ''])\n }, _toDisplayString(tab.toUpperCase()), 11, _hoisted_2))\n }), 128))\n ]))\n}\n}\n\n})","import script from \"./ScheduleTabs.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ScheduleTabs.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ScheduleTabs.vue?vue&type=style&index=0&id=1763c860&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1763c860\"]])\n\nexport default __exports__","\n\n","import { render } from \"./ScheduleTitle.vue?vue&type=template&id=fa9df362&scoped=true\"\nconst script = {}\n\nimport \"./ScheduleTitle.vue?vue&type=style&index=0&id=fa9df362&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fa9df362\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-68f760fe\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 2,\n class: \"c-schedule_table_else\"\n}\n\nimport { onBeforeMount, watch } from 'vue';\nimport { useStore } from 'vuex';\n\nimport { Days, Lines, Subscription, Tabs, Title } from './components/index';\nimport { scheduleStore, storeSchedule } from './store';\nimport BoxEvent from '@/components/Organism/BoxEvent.vue';\nimport { starSpinner, stopSpinner } from '@/helpers/SpinnerHandler';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\n\nconst { getScheduleActivities, getActivitiesForDayAndTypeEvent } = scheduleStore;\nconst { tabSelected, scheduleActivities, daysOfActivities, dateSelected } = storeSchedule;\n\nonBeforeMount(async () => {\n starSpinner();\n try {\n const event = store.state.event;\n await getScheduleActivities(event.eventId, event.userId);\n } catch (error) {\n console.error(\"Error fetching schedule activities:\", error);\n } finally {\n stopSpinner();\n }\n});\n\nwatch(tabSelected, () => {\n dateSelected.value = 0;\n animationTransitionSchedule(() => {\n scheduleActivities.value = getActivitiesForDayAndTypeEvent();\n });\n});\n\nwatch(dateSelected, () => {\n animationTransitionSchedule(() => {\n scheduleActivities.value = getActivitiesForDayAndTypeEvent();\n });\n});\n\nfunction animationTransitionSchedule(next: () => void) {\n scheduleActivities.value = [];\n setTimeout(() => {\n next();\n }, 300);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BoxEvent, {\n footer: Boolean(_unref(daysOfActivities).length)\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Subscription)),\n _createVNode(_unref(Tabs)),\n (_unref(daysOfActivities).length)\n ? (_openBlock(), _createBlock(_unref(Days), { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_unref(daysOfActivities).length)\n ? (_openBlock(), _createBlock(_unref(Title), { key: 1 }, {\n default: _withCtx(() => [\n _createTextVNode(\" PROGRAMAÇÃO \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_unref(Lines)),\n (!_unref(daysOfActivities).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, \" Agenda em elaboração \"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"footer\"]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=68f760fe&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-68f760fe\"]])\n\nexport default __exports__","import { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\n\nexport const getParticipants = async (): Promise => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/participant\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\tif (!response.ok) return console.error(response.status)\n\treturn data\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2f7515ae\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"box_event_body _center_\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"_center_\"\n}\nconst _hoisted_3 = { key: 1 }\n\nimport { getParticipants } from \"./service\";\nimport { useStoreVoucher } from \"./store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport BoxEvent from \"@/components/Organism/BoxEvent.vue\";\nimport IcDownload from \"@/components/icons/IcDownload.vue\";\nimport { urlOldApi } from \"@/helpers/HttpAdapterCostumer\";\nimport { stopSpinner } from \"@/helpers/SpinnerHandler\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { onMounted, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { getStoreToken } = eventStore;\n\nconst toast = useToast();\nconst hasVoucher = ref(false);\n\n// RETIRADO CONSTANTE POR NÃO ESTAR SE COMPORTANDO IGUAL AO 1.0\n// const { hasVoucher } = useStoreVoucher();\n\nasync function verifyIfHasVoucher() {\n\tconst participant = await getParticipants();\n\thasVoucher.value = participant.has_voucher;\n}\n\nconst downloadVoucher = async () => {\n\tconst url = \"/public/participant/voucher\";\n\tconst body = JSON.stringify({});\n\tlet responseFetch: any = undefined;\n\tawait fetch(urlOldApi + url, {\n\t\tmethod: \"POST\",\n\t\theaders: {\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\tAuthorization: `Bearer ${getStoreToken(TOKEN_TYPE[\"OLD_TOKEN\"])}`,\n\t\t},\n\t\tbody,\n\t})\n\t\t.then((response) => {\n\t\t\tresponseFetch = response;\n\t\t\treturn response.blob();\n\t\t})\n\t\t.then((blob) => URL.createObjectURL(blob))\n\t\t.then((url) => {\n\t\t\twindow.open(url, \"_blank\");\n\t\t\tURL.revokeObjectURL(url);\n\t\t});\n\tif (!responseFetch?.ok) toast.error(\"Erro ao abrir o voucher\");\n};\n\nonMounted(() => {\n\tstopSpinner();\n\tverifyIfHasVoucher();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BoxEvent, { class: \"voucher_box\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n variant: 'primary',\n class: \"buttonDownload\",\n onClick: downloadVoucher,\n disabled: !hasVoucher.value,\n title: !hasVoucher.value ? 'Voucher indisponível' : ''\n }, {\n default: _withCtx(() => [\n (hasVoucher.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, [\n _createVNode(IcDownload, { class: \"svgIcon\" }),\n _createTextVNode(\" Baixar Voucher \")\n ]))\n : _createCommentVNode(\"\", true),\n (!hasVoucher.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"Voucher indisponível\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"disabled\", \"title\"])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=2f7515ae&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2f7515ae\"]])\n\nexport default __exports__","import auth from \"@/middleware/auth\";\nimport authAdmin from \"@/middleware/authAdmin\";\nimport RevenueDetails from \"@/views/Admin/AccountingYear/AccountingYearEdit/Register/revenue-details/index.vue\";\nimport AccountingYearEdit from \"@/views/Admin/AccountingYear/AccountingYearEdit/index.vue\";\nimport AccountingYear from \"@/views/Admin/AccountingYear/index.vue\";\nimport atividadePremium from \"@/views/Admin/Atividade-premium/index.vue\";\nimport Checklist from \"@/views/Admin/Checklist/index.vue\";\nimport Classification from \"@/views/Admin/Classification/index.vue\";\nimport CompanyEvents from \"@/views/Admin/Company-events/index.vue\";\nimport ContractDetails from \"@/views/Admin/ContractBenefits/ContractDetails/index.vue\";\nimport Contract from \"@/views/Admin/ContractBenefits/index.vue\";\nimport Convidado from \"@/views/Admin/Convidado/index.vue\";\nimport Costs from \"@/views/Admin/Costs/index.vue\";\nimport Coupon from \"@/views/Admin/Coupon/index.vue\";\nimport Credenciais from \"@/views/Admin/Credenciais/index.vue\";\nimport Dashboard from \"@/views/Admin/Dashboard/index.vue\";\nimport Emailmarketing from \"@/views/Admin/Email-marketing/index.vue\";\nimport EventCompanyAction from \"@/views/Admin/Event-company-action/index.vue\";\nimport Event from \"@/views/Admin/Event/index.vue\";\nimport Files from \"@/views/Admin/Files/index.vue\";\nimport FindRetailerAdmin from \"@/views/Admin/FindRetailer/index.vue\";\nimport FindRetailerSession from \"@/views/Admin/FindRetailerSession/index.vue\";\nimport Hospedagem from \"@/views/Admin/Hospedagem/index.vue\";\nimport Hotel from \"@/views/Admin/Hotel/index.vue\";\nimport LoginAdmin from \"@/views/Admin/Login/index.vue\";\nimport OfficialServices from \"@/views/Admin/Mesas/index.vue\";\nimport ParticipantAdmin from \"@/views/Admin/Participant/index.vue\";\nimport PassagensAereas from \"@/views/Admin/Passagens-aereas/index.vue\";\nimport PreRegistration from \"@/views/Admin/PreRegistration/index.vue\";\nimport Prestadores from \"@/views/Admin/Prestadores/index.vue\";\nimport Questionnaire from \"@/views/Admin/Questionnaire/index.vue\";\nimport ScheduleAdmin from \"@/views/Admin/Schedule/index.vue\";\nimport Settings from \"@/views/Admin/Settings/index.vue\";\nimport Speakers from \"@/views/Admin/Speakers/index.vue\";\nimport Taxas from \"@/views/Admin/Taxas/index.vue\";\nimport Users from \"@/views/Admin/Users/index.vue\";\nimport CompanyEdit from \"@/views/Admin/companys/CompanyEdit/index.vue\";\nimport Company from \"@/views/Admin/companys/index.vue\";\nimport newFindRetailerBusinessClub from \"@/views/Admin/findRetailerBussinesClub/NewVersion/index.vue\";\nimport findRetailerNotBussinessClub from \"@/views/Admin/findRetailerNotBussinesClub/index.vue\";\nimport Certificate from \"@/views/Certificate/index.vue\";\nimport Credential from \"@/views/Credential/index.vue\";\nimport FindRetailer from \"@/views/FindRetailer/index.vue\";\nimport Guest from \"@/views/Form/Guest.vue\";\nimport IndividualBatchForm from \"@/views/Form/IndividualBatchForm/index.vue\";\nimport ParticipantSuccess from \"@/views/Form/Participant.vue\";\nimport Form from \"@/views/Form/index.vue\";\nimport Home from \"@/views/Home/index.vue\";\nimport Login from \"@/views/Login/index.vue\";\nimport Participant from \"@/views/Participant/index.vue\";\nimport LoginProvider from \"@/views/Provider/index.vue\";\nimport Schedule from \"@/views/Schedule/index.vue\";\nimport Voucher from \"@/views/Voucher/index.vue\";\nimport { createRouter, createWebHashHistory } from \"vue-router\";\n\nconst layoutFull = { layout: \"LayoutFull\", middleware: auth };\nconst layoutFullAdmin = { layout: \"LayoutAdmin\", middleware: authAdmin };\nconst defaultLayout = { layout: \"DefaultLayout\" };\nconst layoutOld = { layout: \"LayoutOld\", middleware: authAdmin };\n\nconst routes = [\n\t{\n\t\tpath: \"/cadastro/:id?\",\n\t\tname: \"Cadastro\",\n\t\tcomponent: Form,\n\t\tmeta: defaultLayout,\n\t},\n\t{\n\t\tpath: \"/cadastro/:id/:ticket_batch_id/:pre_registration_id\",\n\t\tname: \"Cadastro Lote\",\n\t\tcomponent: IndividualBatchForm,\n\t\tmeta: defaultLayout,\n\t},\n\t{\n\t\tpath: \"/sucesso-convidado\",\n\t\tname: \"Guest\",\n\t\tcomponent: Guest,\n\t\tmeta: defaultLayout,\n\t},\n\t{\n\t\tpath: \"/sucesso-participante\",\n\t\tname: \"Participant\",\n\t\tcomponent: ParticipantSuccess,\n\t\tmeta: defaultLayout,\n\t},\n\t{\n\t\tpath: \"/dados-participante/:id?\",\n\t\tname: \"Dados Participante\",\n\t\tcomponent: Participant,\n\t\tmeta: layoutFull,\n\t},\n\t{\n\t\tpath: \"/participante\",\n\t\tname: \"Participante\",\n\t\tcomponent: Login,\n\t\tmeta: defaultLayout,\n\t},\n\t{\n\t\tpath: \"/montadora\",\n\t\tname: \"Montadora\",\n\t\tcomponent: LoginProvider,\n\t\tmeta: defaultLayout,\n\t},\n\t{\n\t\tpath: \"/confirmacao/:id?\",\n\t\tname: \"Inscrição\",\n\t\tcomponent: Credential,\n\t\tmeta: layoutFull,\n\t},\n\t{\n\t\tpath: \"/voucher/:id?\",\n\t\tname: \"voucher\",\n\t\tcomponent: Voucher,\n\t\tmeta: layoutFull,\n\t},\n\n\t{\n\t\tpath: \"/findRetailer/\",\n\t\tname: \"Encontre o varejista\",\n\t\tcomponent: FindRetailer,\n\t\tmeta: layoutFull,\n\t},\n\t{\n\t\tpath: \"/findRetailerAdmin\",\n\t\tname: \"find\",\n\t\tcomponent: FindRetailerAdmin,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/certificate/:id?\",\n\t\tname: \"Certificado\",\n\t\tcomponent: Certificate,\n\t\tmeta: layoutFull,\n\t},\n\t{\n\t\tpath: \"/agenda\",\n\t\tname: \"Agenda\",\n\t\tcomponent: Schedule,\n\t\tmeta: layoutFull,\n\t},\n\t{\n\t\tpath: \"/\",\n\t\tname: \"LoginAdmin\",\n\t\tcomponent: LoginAdmin,\n\t},\n\t{\n\t\tpath: \"/home\",\n\t\tname: \"Home\",\n\t\tcomponent: Home,\n\t},\n\t{\n\t\tpath: \"/activity\",\n\t\tname: \"\",\n\t\tcomponent: ScheduleAdmin,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/event-company\",\n\t\tname: \"\",\n\t\tcomponent: CompanyEvents,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/hotel\",\n\t\tname: \"\",\n\t\tcomponent: Hotel,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/checklist\",\n\t\tname: \"\",\n\t\tcomponent: Checklist,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/guests\",\n\t\tname: \"\",\n\t\tcomponent: Convidado,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/passagens-aereas\",\n\t\tname: \"\",\n\t\tcomponent: PassagensAereas,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/prestadores\",\n\t\tname: \"\",\n\t\tcomponent: Prestadores,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/servicos-oficiais\",\n\t\tname: \"\",\n\t\tcomponent: OfficialServices,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/table-reservation\",\n\t\tname: \"\",\n\t\tcomponent: OfficialServices,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/hospedagem\",\n\t\tname: \"\",\n\t\tcomponent: Hospedagem,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/costs\",\n\t\tname: \"\",\n\t\tcomponent: Costs,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/upload-manuais\",\n\t\tname: \"\",\n\t\tcomponent: Files,\n\t\tmeta: layoutOld,\n\t},\n\n\t{\n\t\tpath: \"/taxas\",\n\t\tname: \"\",\n\t\tcomponent: Taxas,\n\t\tmeta: layoutOld,\n\t},\n\n\t{\n\t\tpath: \"/credenciais\",\n\t\tname: \"\",\n\t\tcomponent: Credenciais,\n\t\tmeta: layoutOld,\n\t},\n\t{\n\t\tpath: \"/email-marketing\",\n\t\tname: \"\",\n\t\tcomponent: Emailmarketing,\n\t\tmeta: layoutOld,\n\t},\n\n\t{\n\t\tpath: \"/event-company-action\",\n\t\tname: \"\",\n\t\tcomponent: EventCompanyAction,\n\t\tmeta: layoutOld,\n\t},\n\n\t// {\n\t// \tpath: \"/push-notification\",\n\t// \tname: \"\",\n\t// \tcomponent: Notification,\n\t// \tmeta: layoutOld,\n\t// },\n\t{\n\t\tpath: \"/users\",\n\t\tname: \"Usuários\",\n\t\tcomponent: Users,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/settings\",\n\t\tname: \"Configurações\",\n\t\tcomponent: Settings,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/speaker\",\n\t\tname: \"Palestrante\",\n\t\tcomponent: Speakers,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/contract\",\n\t\tname: \"Modelos de contrato\",\n\t\tcomponent: Contract,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/contract/:id\",\n\t\tname: \"Benefícios do Contrato\",\n\t\tcomponent: ContractDetails,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/event\",\n\t\tname: \"Eventos\",\n\t\tcomponent: Event,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/company\",\n\t\tname: \"Empresas\",\n\t\tcomponent: Company,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/company/:id\",\n\t\tname: \"Empresa\",\n\t\tcomponent: CompanyEdit,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/revenues\",\n\t\tname: \"Receitas por vigência\",\n\t\tcomponent: AccountingYear,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/revenues/:id\",\n\t\tname: \"Detalhes da receitas por vigência\",\n\t\tcomponent: AccountingYearEdit,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/revenues/:id/:idDetail\",\n\t\tname: \"Detalhes da receita\",\n\t\tcomponent: RevenueDetails,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/classification\",\n\t\tname: \"Classificação\",\n\t\tcomponent: Classification,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/questionnaire\",\n\t\tname: \"Questionário\",\n\t\tcomponent: Questionnaire,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/dashboard\",\n\t\tname: \"Dashboard\",\n\t\tcomponent: Dashboard,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/participant\",\n\t\tname: \"Participantes\",\n\t\tcomponent: ParticipantAdmin,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/pre-registration\",\n\t\tname: \"Pré-inscrição\",\n\t\tcomponent: PreRegistration,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/coupon\",\n\t\tname: \"Gestão de inscrições\",\n\t\tcomponent: Coupon,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/findRetailerBusinessClub\",\n\t\tname: \"Encontre o Varejista\",\n\t\tcomponent: newFindRetailerBusinessClub,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/findRetailerNotBussinesClub\",\n\t\tname: \"findRetailerNotBussinesClub\",\n\t\tcomponent: findRetailerNotBussinessClub,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/findRetailerSession\",\n\t\tname: \"findRetailerSession\",\n\t\tcomponent: FindRetailerSession,\n\t\tmeta: layoutFullAdmin,\n\t},\n\t{\n\t\tpath: \"/atividade-premium\",\n\t\tname: \"atividade-premium\",\n\t\tcomponent: atividadePremium,\n\t\tmeta: layoutFullAdmin,\n\t},\n];\n\nconst router = createRouter({\n\thistory: createWebHashHistory(),\n\troutes,\n});\n\nfunction nextFactory(context: any, middleware: any, index: any) {\n\tconst subsequentMiddleware = middleware[index];\n\t// If no subsequent Middleware exists,\n\t// the default `next()` callback is returned.\n\tif (!subsequentMiddleware) return context.next;\n\n\treturn (...parameters: any) => {\n\t\t// Run the default Vue Router `next()` callback first.\n\t\tcontext.next(...parameters);\n\t\t// Then run the subsequent Middleware with a new\n\t\t// `nextMiddleware()` callback.\n\t\tconst nextMiddleware = nextFactory(context, middleware, index + 1);\n\t\tsubsequentMiddleware({ ...context, next: nextMiddleware });\n\t};\n}\n\nrouter.beforeEach((to, from, next) => {\n\tif (to.meta.middleware) {\n\t\tconst middleware = Array.isArray(to.meta.middleware)\n\t\t\t? to.meta.middleware\n\t\t\t: [to.meta.middleware];\n\t\tconst context = {\n\t\t\tfrom,\n\t\t\tnext,\n\t\t\trouter,\n\t\t\tto,\n\t\t};\n\t\tconst nextMiddleware = nextFactory(context, middleware, 1);\n\n\t\treturn middleware[0]({ ...context, next: nextMiddleware });\n\t}\n\n\treturn next();\n});\n\nexport { router };\n","import { IHandlerOptionsFetch, handlerOptionsFetch } from \"./OptionsFetch\";\nimport { getGeneralUrl, getGeneralUrlV2 } from \"./abrafarmaApi\";\nimport { validateCPF } from \"@/helpers/ValidateCPF\";\nimport { jwtDecode } from \"./jwtDecode\";\nimport { router } from \"@/router\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\n\nexport const urlNewApi = getGeneralUrlV2();\n// process.env.NODE_ENV === \"production\"\n// \t? \"https://gestao.eventosabrafarma.com.br/api\"\n// \t: \"https://abrafarma-api2-0-dev.tegra.com.br\";\n\nexport const urlOldApi = getGeneralUrl();\n// process.env.NODE_ENV === \"production\"\n// \t? \"https://eventosabrafarma.com.br/api\"\n// \t: \"https://abrafarma-web-admin-dev.tegra.com.br/api\";\n\nexport const url =\n\t\"http://dev.abrafarma.frontend.s3-website-us-east-1.amazonaws.com\";\n\ninterface IResponse {\n\tresponse: Response;\n\tdata: T;\n}\nlet interval: any = null;\nexport class HttpAdapterCustomer {\n\tstatic async get(\n\t\toptionsFetch: Omit\n\t): Promise> {\n\t\treturn await this.fetchResponse({ ...optionsFetch, method: \"GET\" });\n\t}\n\n\tstatic async getById(\n\t\toptionsFetch: Omit\n\t): Promise> {\n\t\treturn await this.fetchResponse({ ...optionsFetch, method: \"GET\" });\n\t}\n\n\tstatic async post(\n\t\toptionsFetch: Omit\n\t): Promise> {\n\t\treturn await this.fetchResponse({ ...optionsFetch, method: \"POST\" });\n\t}\n\n\tstatic async put(\n\t\toptionsFetch: Omit\n\t): Promise> {\n\t\treturn await this.fetchResponse({ ...optionsFetch, method: \"PUT\" });\n\t}\n\n\tstatic async patch(\n\t\toptionsFetch: Omit\n\t): Promise> {\n\t\treturn await this.fetchResponse({ ...optionsFetch, method: \"PATCH\" });\n\t}\n\n\tstatic async delete(\n\t\toptionsFetch: Omit\n\t): Promise> {\n\t\treturn await this.fetchResponse({ ...optionsFetch, method: \"DELETE\" });\n\t}\n\n\tstatic async authOldApi(cpf: string) {\n\t\tconst response = await HttpAdapterCustomer.post<{ token: string }>({\n\t\t\turl: \"public/auth/login\",\n\t\t\tbody: JSON.stringify({ cpf, foreign: !validateCPF(cpf) }),\n\t\t\told_url: true,\n\t\t});\n\t\tconst { data } = response;\n\t\teventStore.setStoreToken(data.token, TOKEN_TYPE[\"OLD_TOKEN\"]);\n\t\treturn response;\n\t}\n\n\tstatic async authOldApiAdmin(body: {\n\t\temail: string;\n\t\tpassword: string;\n\t}): Promise {\n\t\tconst { data, response } = await HttpAdapterCustomer.post<{\n\t\t\ttoken: string;\n\t\t}>({\n\t\t\turl: \"admin/login\",\n\t\t\tbody: JSON.stringify(body),\n\t\t\told_url: true,\n\t\t});\n\t\tif (data.token) {\n\t\t\teventStore.setStoreToken(data.token, TOKEN_TYPE[\"ADMIN_TOKEN\"]);\n\t\t\tconst decodedToken = jwtDecode(data.token);\n\t\t\tconst { data: dataEvent, response } = await HttpAdapterCustomer.get({\n\t\t\t\turl: `admin/event/${decodedToken.eventId}`,\n\t\t\t\told_url: true,\n\t\t\t\theaders_config: {\n\t\t\t\t\tAuthorization: \"admin_token\",\n\t\t\t\t},\n\t\t\t});\n\t\t\tif (response.ok) SessionStorage.set(\"event\", dataEvent);\n\t\t}\n\t\treturn { data, response };\n\t}\n\n\tstatic async authOldApiProvider(body: {\n\t\tusername: string;\n\t\tpassword: string;\n\t}): Promise {\n\t\tconst { data, response } = await HttpAdapterCustomer.post<{\n\t\t\ttoken: string;\n\t\t}>({\n\t\t\turl: \"provider/auth/login\",\n\t\t\tbody: JSON.stringify(body),\n\t\t\told_url: true,\n\t\t});\n\t\teventStore.setStoreToken(data.token, TOKEN_TYPE[\"NEW_TOKEN\"]);\n\t\treturn response;\n\t}\n\n\tstatic async authNewApi(cpf: string) {\n\t\tconst response = await HttpAdapterCustomer.post({\n\t\t\turl: \"login/participant\",\n\t\t\tbody: JSON.stringify({ cpf }),\n\t\t});\n\t\tconst { data } = response;\n\t\teventStore.setStoreToken(data.token, TOKEN_TYPE[\"NEW_TOKEN\"]);\n\t\treturn response;\n\t}\n\n\tstatic refreshToken(cpf: string): void {\n\t\tclearInterval(interval);\n\t\tconst fiveMinutes = 1000 * 60 * 5;\n\t\tinterval = setInterval(() => {\n\t\t\tthis.authOldApi(cpf);\n\t\t}, fiveMinutes);\n\t}\n\n\tstatic refreshTokenAdmin(body: { email: string; password: string }): void {\n\t\tclearInterval(interval);\n\t\tconst fiveMinutes = 1000 * 60 * 5;\n\t\tinterval = setInterval(() => {\n\t\t\tthis.authOldApiAdmin(body);\n\t\t}, fiveMinutes);\n\t}\n\n\tstatic refreshTokenProvider(body: {\n\t\tusername: string;\n\t\tpassword: string;\n\t}): void {\n\t\tclearInterval(interval);\n\t\tconst fiveMinutes = 1000 * 60 * 5;\n\t\tinterval = setInterval(() => {\n\t\t\tthis.authOldApiProvider(body);\n\t\t}, fiveMinutes);\n\t}\n\n\tprivate static async fetchResponse(\n\t\toptions: IHandlerOptionsFetch\n\t): Promise> {\n\t\ttry {\n\t\t\toptions.timeout = 3600000;\n\t\t\tconst { method, url, urlApi, body, headers } =\n\t\t\t\thandlerOptionsFetch(options);\n\n\t\t\tconst response = await fetch(`${urlApi}/${url}`, {\n\t\t\t\tmethod,\n\t\t\t\tbody,\n\t\t\t\theaders,\n\t\t\t});\n\n\t\t\tif (\n\t\t\t\tresponse.status === 401 &&\n\t\t\t\toptions.old_url &&\n\t\t\t\toptions.headers_config?.Authorization === \"admin_token\"\n\t\t\t)\n\t\t\t\tlogout();\n\t\t\tconst dataJson = async () => {\n\t\t\t\ttry {\n\t\t\t\t\treturn await response.json();\n\t\t\t\t} catch {\n\t\t\t\t\treturn Promise.resolve(response);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\treturn {\n\t\t\t\tresponse,\n\t\t\t\tdata: await dataJson(),\n\t\t\t};\n\t\t} catch (error: any) {\n\t\t\tconsole.error(error);\n\t\t\treturn { data: Promise.resolve(false), response: error };\n\t\t}\n\t}\n}\n\nconst logout = () => {\n\teventStore.clearStore();\n\trouter.push(\"/\");\n\tlocation.reload();\n};\n","import { urlNewApi } from './HttpAdapterCostumer';\n\nconst urlApi = urlNewApi;\n\nexport class HttpAdapter {\n\tstatic getUrl(): string {\n\t\treturn urlApi;\n\t}\n\tstatic async get(url: string, urlDefault = true) {\n\t\ttry {\n\t\t\tconst urlFetch = urlDefault ? `${urlApi}/${url}` : url;\n\t\t\tconst response = await fetch(urlFetch, {\n\t\t\t\tmethod: 'GET',\n\t\t\t});\n\t\t\treturn await response.json();\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t\treturn error;\n\t\t}\n\t}\n\n\tstatic async post(url: string, body: any): Promise<{ dataJson: any; dataRaw: Response; ok: boolean }> {\n\t\ttry {\n\t\t\tconst response = await fetch(`${urlApi}/${url}`, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t});\n\t\t\treturn {\n\t\t\t\tdataRaw: response,\n\t\t\t\tok: response.ok,\n\t\t\t\tdataJson: await response.json(),\n\t\t\t};\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t\treturn { ok: false, dataRaw: error as any, dataJson: undefined };\n\t\t}\n\t}\n\n\tstatic async put(url: string, body: any): Promise<{ dataJson: any; dataRaw: any; ok: boolean }> {\n\t\ttry {\n\t\t\tconst response = await fetch(`${urlApi}/${url}`, {\n\t\t\t\tmethod: 'PUT',\n\t\t\t\tbody: body,\n\t\t\t\theaders: {\n\t\t\t\t\t// 'Content-Type': 'multipart/form-data',\n\t\t\t\t\t'Cache-Control': 'no-cache',\n\t\t\t\t},\n\t\t\t});\n\t\t\treturn {\n\t\t\t\tdataJson: await response.json(),\n\t\t\t\tdataRaw: response,\n\t\t\t\tok: response.ok,\n\t\t\t};\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t\treturn { ok: false, dataRaw: error, dataJson: undefined };\n\t\t}\n\t}\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-37c84773\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"c-header\" }\nconst _hoisted_2 = { class: \"c-header_box\" }\nconst _hoisted_3 = { class: \"c-header_title\" }\n\nimport IcMenu from \"../icons/IcMenu.vue\";\nimport { HttpAdapter } from \"@/helpers/HttpAdapter\";\nimport { TOGGLE_MUTATION } from \"@/store/mutation-types\";\nimport { onMounted, reactive, ref, watch } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Header',\n setup(__props) {\n\nconst store = useStore();\nconst route = useRoute();\nconst options: any[] = reactive([]);\nconst eventSelected = reactive({ title: \"\", id: \"\" });\nconst nameScreen = ref(\"\");\n// Pesquisar uma forma de acessa body pelo vue\nconst body = document.querySelector(\"body\");\n\nonMounted(() => {\n\tnameScreen.value = (route.name as string) || \"\";\n\tgetEvent();\n});\nwatch(route, (newVal) => {\n\tnameScreen.value = (newVal.name as string) || \"\";\n});\n\nconst getEvent = async () => {\n\tconst resultGet = await HttpAdapter.post(\"event/graph\", {\n\t\tid: \"\",\n\t\ttitle: \"\",\n\t});\n\tif (!resultGet.ok) return alert(\"Erro ao buscar eventos\");\n\toptions.push(...resultGet.dataJson);\n\tgetEventSelected();\n};\nconst getEventSelected = () => {\n\tconst event = store.state.event;\n\tconst eventStorageSelected = event.eventId;\n\tif (!eventStorageSelected) return;\n\teventSelected.id = eventStorageSelected;\n\teventSelected.title = options.find(\n\t\t(option) => option.id === eventStorageSelected\n\t)?.title;\n};\n\nconst toggleSideBar = () => {\n\tif (store.state.toogle) {\n\t\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\t\tbody?.setAttribute(\"class\", \"overflow-visible\");\n\t} else {\n\t\tbody?.setAttribute(\"class\", \"overflow-hidden\");\n\t\tstore.commit(TOGGLE_MUTATION, \"open\");\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n id: \"menu-toggle\",\n onClick: toggleSideBar,\n class: \"c-header_toggle\"\n }, [\n _createVNode(IcMenu)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", null, _toDisplayString(nameScreen.value), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).state.participant.name), 1)\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./Header.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Header.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=37c84773&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-37c84773\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcCertificate.vue?vue&type=template&id=a5e96214&scoped=true\"\nconst script = {}\n\nimport \"./IcCertificate.vue?vue&type=style&index=0&id=a5e96214&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a5e96214\"]])\n\nexport default __exports__","\n\n","import { render } from \"./IcIdentification.vue?vue&type=template&id=0e1fba8d\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcLogout.vue?vue&type=template&id=4a382cec\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcSchedule.vue?vue&type=template&id=06f7226c\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcTicket.vue?vue&type=template&id=20296dd6\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcArrowDown.vue?vue&type=template&id=dbcc1538\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcData.vue?vue&type=template&id=d0564be0\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, 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-4d65b06a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"max-width\":\"90%\",\"max-height\":\"400px\",\"font-size\":\"15px\",\"font-weight\":\"bold\"} }\nconst _hoisted_2 = {\n key: 0,\n class: \"dropdown-content\"\n}\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = [\"onClick\"]\n\nimport IcArrowDown from \"../icons/IcArrowDown.vue\";\nimport IcData from \"../icons/IcData.vue\";\nimport { changeEvent } from \"@/composable/changeEvent\";\nimport { HttpAdapterCustomer, existThisFile } from \"@/helpers\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SET_EVENT_STATE } from \"@/store/mutation-types\";\nimport { computed, onBeforeMount, ref } from \"vue\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ChangeEventOptions',\n setup(__props) {\n\nconst store = useStore();\n\n\nonBeforeMount(() => {\n\tgetEvent();\n});\n\nconst eventToSelect = ref<{ id: string; title: string; limit_date: string }[]>(\n\t[]\n);\nconst eventToShow = ref<{ id: string; title: string; limit_date: string }[]>(\n\t[]\n);\nconst yearsOfEvents = ref<{ year: string; id: string }[]>([]);\nconst isOpen = ref(false);\nconst showYears = ref(\"\");\nconst eventSelected = ref<{ id: string; title: string }>({ id: \"\", title: \"\" });\n\nconst getYearsToShow = computed(() => {\n\tif (!showYears.value) {\n\t\t// eslint-disable-next-line vue/no-side-effects-in-computed-properties\n\t\treturn yearsOfEvents.value.sort((a, b) => (+a.year > +b.year ? -1 : 1));\n\t}\n\treturn yearsOfEvents.value.filter(({ year }) =>\n\t\tyear.includes(showYears.value)\n\t);\n});\n\nconst dropDown = () => {\n\tisOpen.value = !isOpen.value;\n};\n\nconst getEvent = async () => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/event\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"old_token\",\n\t\t},\n\t});\n\tif (!response.ok) return alert(\"Erro ao buscar eventos\");\n\teventToSelect.value = data;\n\tgetYearOfEvents();\n\tgetEventSelected();\n};\n\nconst getYearOfEvents = () => {\n\tconst limitDateAllEvents = eventToSelect.value.map(\n\t\t(event) => event.limit_date\n\t);\n\tconst years = limitDateAllEvents.map((date) => date.split(\"-\")[0]);\n\tconst uniqueYears = [...new Set(years)];\n\tyearsOfEvents.value = uniqueYears.map((year) => ({ year, id: year }));\n};\n\nconst openDataThisYear = (year: string) => {\n\tif (showYears.value === year) {\n\t\tshowYears.value = \"\";\n\t\treturn (eventToShow.value = []);\n\t}\n\tshowYears.value = year;\n\tconst eventsThisYear = eventToSelect.value.filter(\n\t\t(event) => event.limit_date.split(\"-\")[0] === year\n\t);\n\teventToShow.value = eventsThisYear;\n};\n\nconst getEventSelected = () => {\n\tconst event = store.state.event;\n\tconst eventStorageSelected = event.eventId;\n\tif (!eventStorageSelected) return;\n\teventSelected.value.id = eventStorageSelected;\n\teventSelected.value.title =\n\t\teventToSelect.value.find((option) => option.id === eventStorageSelected)?.title || \"\";\n};\n\nconst handleChangeEvent = async (event_id: string) => {\n\tconst { token, data } = await changeEvent(event_id);\n\teventStore.setStoreToken(token, TOKEN_TYPE[\"OLD_TOKEN\"]);\n\tconst eventInfo = {\n\t\teventId: event_id,\n\t\tbanner: `${existThisFile(event_id)}/banner`,\n\t\tfooter: `${existThisFile(event_id)}/footer`,\n\t\teventTerm: `${existThisFile(event_id)}/event_term`,\n\t\tuserId: data.id,\n\t};\n\tstore.commit(SET_EVENT_STATE, eventInfo);\n\tlocation.reload();\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"button\", {\n onClick: dropDown,\n class: \"button-open-dropdown\"\n }, [\n _createVNode(IcData, { style: {\"min-width\":\"30px\",\"min-height\":\"30px\",\"max-width\":\"50px\",\"max-height\":\"50px\"} }),\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(eventSelected.value.title), 1),\n _createVNode(IcArrowDown, { style: {\"padding-right\":\"15px\"} })\n ]),\n (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(getYearsToShow), (yearData, index) => {\n return (_openBlock(), _createElementBlock(\"ul\", {\n key: yearData.id,\n class: \"list-years\",\n style: _normalizeStyle(index === 0 ? 'margin-top: 10px' : '')\n }, [\n _createElementVNode(\"li\", {\n onClick: ($event: any) => (openDataThisYear(yearData.year))\n }, _toDisplayString(yearData.year), 9, _hoisted_3),\n (showYears.value === yearData.year)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(eventToShow.value, (event) => {\n return (_openBlock(), _createElementBlock(\"ul\", {\n onClick: ($event: any) => (handleChangeEvent(event.id)),\n key: event.id,\n class: \"list-events-by-year\"\n }, [\n _createElementVNode(\"li\", null, _toDisplayString(event.title), 1)\n ], 8, _hoisted_5))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 4))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./ChangeEventOptions.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ChangeEventOptions.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ChangeEventOptions.vue?vue&type=style&index=0&id=4d65b06a&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4d65b06a\"]])\n\nexport default __exports__","import { ref } from 'vue';\n\nimport { HttpAdapterCustomer } from '@/helpers';\n\nconst store = {\n\thasVoucher: ref(false),\n};\n\nexport function useStoreVoucher() {\n\tconst actions = {\n\t\tsetHasVoucher: (value: boolean) => {\n\t\t\tstore.hasVoucher.value = value;\n\t\t},\n\t\tverefyIfHasVoucher,\n\t};\n\n\treturn { ...store, ...actions };\n}\n\nconst verefyIfHasVoucher = async () => {\n\tconst url = 'public/participant/hasVoucher';\n\tconst { response } = await HttpAdapterCustomer.get({\n\t\turl,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: 'old_token',\n\t\t},\n\t});\n\tconst { setHasVoucher } = useStoreVoucher();\n\tsetHasVoucher(response.ok);\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/logo_abrafarma.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8c83c39e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sidebar\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"sidebar_header_img\",\n alt: \"logo abrafarma\"\n}, null, -1))\nconst _hoisted_3 = {\n id: \"body\",\n class: \"sidebar_body\"\n}\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"margin-left\":\"10px\"} }, \"Declinar Termos\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"text-align\":\"left\"} }, \"Pesquisa de satisfação\", -1))\n\nimport IcCertificate from \"../icons/IcCertificate.vue\";\nimport IcConfirm from \"../icons/IcConfirm.vue\";\nimport IcIdentification from \"../icons/IcIdentification.vue\";\nimport IcLogout from \"../icons/IcLogout.vue\";\nimport IcSchedule from \"../icons/IcSchedule.vue\";\nimport IcTicket from \"../icons/IcTicket.vue\";\nimport IcX from \"../icons/IcX.vue\";\n\nimport ChangeEventOptions from \"./ChangeEventOptions.vue\";\nimport { HttpAdapter, HttpAdapterCustomer } from \"@/helpers\";\nimport { stopSpinner } from \"@/helpers/SpinnerHandler\";\nimport { eventStore } from \"@/store/event.store\";\nimport { SET_SPINNER } from \"@/store/mutation-types\";\nimport axios from \"axios\";\nimport { onMounted, ref } from \"vue\";\nimport { useStore } from \"vuex\";\nimport { useStoreVoucher } from \"@/views/Voucher/store\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SideBar',\n setup(__props) {\n\nconst { hasVoucher } = useStoreVoucher();\nconst activeItem = ref(\"confirmation\");\nconst states = ref();\nconst store = useStore();\nconst logo = ref(\"\");\nconst eventIsOnline = ref(false);\n\nconst setActiveItem = (menuItemName: string) => {\n\tstore.commit(SET_SPINNER, true);\n\tstopSpinner(5000);\n\tactiveItem.value = menuItemName;\n};\nconst isActiveItem = (menuItemName: string) => {\n\treturn activeItem.value === menuItemName;\n};\n\nconst declineTerms = async() => {\n\tif(confirm('Deseja realmente remover o termo de aceite/política?')){\n\t\tconst url = `participant/decline-event-terms`;\n\t\tconst eventId = store.state.event.eventId;\n\t\tconst participantId = store.state.event.userId;\n\t\tconst { data } = await HttpAdapterCustomer.post({\n\t\t\turl,\n\t\t\tbody: JSON.stringify({ eventId, participantId }),\n\t\t\told_url: false,\n\t\t\theaders_config: {\n\t\t\t\tAuthorization: 'token',\n\t\t\t},\n\t\t});\n\t\tstore.state.participant.declineEventTermsDate = new Date().toISOString();\n\t\talert('Termos declinados com sucesso!')\n\t}\n};\n\nconst logout = () => {\n\tsetActiveItem(\"exit\");\n\teventStore.clearStore();\n};\n\nasync function getInvites() {\n\tconst event = store.state.event;\n\tconst url = `invite-activity/has?participant_id=${event.userId}&event_id=${event.eventId}`;\n\tconst { data } = await HttpAdapterCustomer.get({ url });\n\tstates.value = data.marketing_activity_name;\n}\n\nasync function getLogo() {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/config\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) {\n\t\treturn;\n\t}\n\tlogo.value = data.logo;\n}\n\nasync function getScheduleActivities() {\n\tconst eventData = store.state.event;\n\tconst eventId = eventData.eventId;\n\tconst { data } = await axios.get(`${HttpAdapter.getUrl()}/event/${eventId}`);\n\teventIsOnline.value = data.online;\n}\n\nonMounted(() => {\n\tgetInvites();\n\tgetLogo();\n\tgetScheduleActivities();\n\t// console.log('THE PARTICIPANT',);\n});\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n id: \"sidebar_header\",\n to: \"/dados-participante\",\n class: \"_center_ sidebar_header\"\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", {\n id: \"dados-participante\",\n class: _normalizeClass({ active: isActiveItem('register') })\n }, [\n _createVNode(_component_router_link, {\n to: \"/dados-participante/\",\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem('register') }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (setActiveItem('register')))\n }, {\n default: _withCtx(() => [\n _createVNode(IcIdentification),\n _createTextVNode(\" Meus dados \")\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 2),\n _createVNode(ChangeEventOptions),\n (!_unref(store).state.participant.declineEventTermsDate)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_4, [\n _createElementVNode(\"a\", { onClick: declineTerms }, [\n _createVNode(IcX),\n _hoisted_5\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"li\", {\n class: _normalizeClass({ active: isActiveItem('schedule') })\n }, [\n _createVNode(_component_router_link, {\n to: \"/agenda/\",\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem('schedule') }]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (setActiveItem('schedule')))\n }, {\n default: _withCtx(() => [\n _createVNode(IcSchedule),\n _createTextVNode(\" Agenda \")\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 2),\n (!eventIsOnline.value)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 1,\n class: _normalizeClass({ active: isActiveItem('credential') })\n }, [\n _createVNode(_component_router_link, {\n to: \"/confirmacao/\",\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem('credential') }]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (setActiveItem('credential')))\n }, {\n default: _withCtx(() => [\n _createVNode(IcConfirm),\n _createTextVNode(\" Inscrição \")\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 2))\n : _createCommentVNode(\"\", true),\n (!eventIsOnline.value)\n ? _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n key: 2,\n class: _normalizeClass({ active: isActiveItem('voucher') })\n }, [\n _createVNode(_component_router_link, {\n to: \"/voucher/\",\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem('voucher') }]),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (setActiveItem('voucher')))\n }, {\n default: _withCtx(() => [\n _createVNode(IcTicket),\n _createTextVNode(\" Voucher \")\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 2)), [\n [_vShow, _unref(hasVoucher)]\n ])\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"li\", {\n class: _normalizeClass({ active: isActiveItem('Certificate') })\n }, [\n _createVNode(_component_router_link, {\n to: \"/certificate/\",\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem('Certificate') }]),\n onClick: _cache[4] || (_cache[4] = ($event: any) => (setActiveItem('Certificate'))),\n style: _normalizeStyle([isActiveItem('Certificate') ? 'font-size: 15px;' : '', {\"margin-left\":\"-7px\"}])\n }, {\n default: _withCtx(() => [\n _createVNode(IcCertificate),\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"class\", \"style\"])\n ], 2),\n _createElementVNode(\"li\", {\n class: _normalizeClass({ active: isActiveItem('exit') })\n }, [\n _createVNode(_component_router_link, {\n to: \"/participante\",\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem('exit') }]),\n onClick: logout\n }, {\n default: _withCtx(() => [\n _createVNode(IcLogout),\n _createTextVNode(\" Sair \")\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 2)\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./SideBar.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SideBar.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SideBar.vue?vue&type=style&index=0&id=8c83c39e&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-8c83c39e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, createBlock as _createBlock, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"w-full flex justify-center\" }\nconst _hoisted_2 = { class: \"w-full\" }\nconst _hoisted_3 = { class: \"body_slot\" }\n\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport Header from \"@/components/Organism/Header.vue\";\nimport SideBar from \"@/components/Organism/SideBar.vue\";\nimport { getInformationEvent } from \"@/composable/getEventData\";\nimport { TOGGLE_MUTATION } from \"@/store/mutation-types\";\nimport { useStoreVoucher } from \"@/views/Voucher/store\";\nimport { onMounted, ref } from \"vue\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LayoutFull',\n setup(__props) {\n\nconst store = useStore();\nconst { verefyIfHasVoucher, hasVoucher } = useStoreVoucher();\nconst isMobile = ref(false);\nconst spinner = ref(true);\n// Pesquisar uma forma de acessa body pelo vue\nconst body = document.querySelector(\"body\");\n\nonMounted(async () => {\n\twindow.addEventListener(\"resize\", setIsShowMenu);\n\tsetIsShowMenu();\n\tverefyIfHasVoucher();\n\tspinner.value = store.state.spinner;\n});\n\nstore.watch(\n\t(state) => state.spinner,\n\t(value) => {\n\t\tspinner.value = value;\n\t}\n);\n\nfunction closeSidebar() {\n\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\tbody?.setAttribute(\"class\", \"overflow-visible\");\n}\n\nfunction setIsShowMenu() {\n\tstore.commit(TOGGLE_MUTATION);\n\tif (window.innerWidth <= 1024) {\n\t\tisMobile.value = true;\n\t\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\t} else {\n\t\tisMobile.value = false;\n\t\tstore.commit(TOGGLE_MUTATION, \"open\");\n\t}\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"c-version\", !_unref(store).state.toogle ? 'text-gray-dark' : 'text-gray-light'])\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_unref(store).state.version), 1)\n ], 2),\n _createVNode(_Transition, { name: \"overlay\" }, {\n default: _withCtx(() => [\n (isMobile.value && _unref(store).state.toogle)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n onClick: closeSidebar,\n class: \"overlay cursor-pointer\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_Transition, { name: \"sidebar\" }, {\n default: _withCtx(() => [\n (_unref(store).state.toogle)\n ? (_openBlock(), _createBlock(SideBar, {\n key: 0,\n id: \"menu-side\",\n class: \"c-sidebar\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Header),\n _createElementVNode(\"div\", _hoisted_3, [\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./LayoutFull.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LayoutFull.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./LayoutFull.vue?vue&type=style&index=0&id=19cb73a9&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ref } from 'vue';\n\nconst store = {\n\tmodalChangeEvent: ref(false),\n};\n\nexport function useStoreLayoutAdmin() {\n\tconst actions = {\n\t\tsetModalChangeEvent: (value: boolean) => {\n\t\t\tstore.modalChangeEvent.value = value;\n\t\t},\n\t};\n\n\treturn { ...store, ...actions };\n}\n","import { defineStore } from 'pinia';\n\nexport const useStoreMenu = defineStore('menu', {\n\tstate: () => ({\n\t\tmenuOpen:true\n\t}),\n\tactions:{\n\t\tsetMenu(menu:boolean){\n sessionStorage.setItem('menuOpen',String(menu))\n\t\t\tthis.menuOpen = menu\n\t\t},\n\t}\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, unref as _unref, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-000965dc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"c-header\" }\nconst _hoisted_2 = { class: \"c-header_box\" }\nconst _hoisted_3 = { class: \"c-header_title\" }\nconst _hoisted_4 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"8px\"} }\nconst _hoisted_5 = { class: \"initial-letters-user\" }\n\nimport BaseButton from \"../Atoms/BaseButton.vue\";\nimport IcArrowDown from \"../icons/IcArrowDown.vue\";\nimport IcLogout from \"../icons/IcLogout.vue\";\nimport IcMenu from \"../icons/IcMenu.vue\";\nimport { useStoreMenu } from \"./store-menu\";\nimport { jwtDecode, urlOldApi } from \"@/helpers\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { TOGGLE_MUTATION } from \"@/store/mutation-types\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { computed, onMounted, ref, watch } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HeaderAdmin',\n setup(__props) {\n\nconst body = document.querySelector(\"body\");\nconst store = useStore();\nconst route = useRoute();\nconst router = useRouter();\nconst nameScreen = ref(\"\");\nconst initialLettersUser = ref(\"\");\nconst modalUser = ref(false);\n\nconst nameUser = computed(() => {\n\treturn getNameUser();\n});\n\nconst toggleSideBar = () => {\n\tif (store.state.toogle) {\n\t\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\t\tuseStoreMenu().setMenu(false);\n\t\tbody?.setAttribute(\"class\", \"overflow-visible\");\n\t} else {\n\t\tbody?.setAttribute(\"class\", \"overflow-hidden\");\n\t\tuseStoreMenu().setMenu(true);\n\t\tstore.commit(TOGGLE_MUTATION, \"open\");\n\t}\n};\n\nconst getInitialLettersUser = () => {\n\tconst name = getNameUser().split(\" \");\n\tinitialLettersUser.value = name[0].charAt(0);\n};\n\nconst getNameUser = () => {\n\tconst user = store.state.user;\n\tif (user.name) return user.name;\n\tconst token = eventStore.getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"]);\n\tconst decodedToken = jwtDecode(token);\n\treturn decodedToken.name;\n};\n\nconst logout = () => {\n\teventStore.clearStore();\n\trouter.push(\"/\");\n};\n\nonMounted(() => {\n\tnameScreen.value = (route.name as string) || \"\";\n\tgetInitialLettersUser();\n});\nwatch(route, (newVal) => {\n\tnameScreen.value = (newVal.name as string) || \"\";\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n id: \"menu-toggle\",\n onClick: toggleSideBar,\n class: \"c-header_toggle\"\n }, [\n _createVNode(IcMenu)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", null, _toDisplayString(nameScreen.value), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(initialLettersUser.value), 1),\n _createVNode(BaseButton, {\n class: \"button-user\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (modalUser.value = !modalUser.value))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_unref(nameUser)), 1),\n _createVNode(IcArrowDown)\n ]),\n _: 1\n }),\n (modalUser.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"modal-user\",\n onMouseleave: _cache[1] || (_cache[1] = ($event: any) => (modalUser.value = false))\n }, [\n _createVNode(BaseButton, {\n class: \"change-password\",\n disabled: \"\",\n title: \"⚠️ em desenvolvimento\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Trocar Senha \")\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n class: \"logout\",\n onClick: logout\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Sair \"),\n _createVNode(IcLogout)\n ]),\n _: 1\n })\n ], 32))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./HeaderAdmin.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./HeaderAdmin.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./HeaderAdmin.vue?vue&type=style&index=0&id=000965dc&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-000965dc\"]])\n\nexport default __exports__","import { IEvent } from \"./interface\";\nimport { HttpAdapterCustomer } from \"@/helpers/HttpAdapterCostumer\";\nimport { eventStore, TOKEN_TYPE } from \"@/store/event.store\";\nimport jwtDecode from \"jwt-decode\";\nimport { reactive, ref } from \"vue\";\nimport { useToast } from \"vue-toastification\";\n\nconst toast = useToast();\n\nconst store = {\n\ttabSelected: ref(0),\n\tevents: reactive([]),\n\teventsToShow: reactive([]),\n\tyears: reactive<{ id: string; value: number }[]>([]),\n\tyearFilter: ref(0),\n\tsearch: ref(\"\"),\n};\n\nconst { clearStore, getStoreToken } = eventStore;\n\nexport function useStoreModalChangeEvent() {\n\tconst actions = {\n\t\tsetTabSelected: (value: number) => {\n\t\t\tstore.tabSelected.value = value;\n\t\t},\n\t\tsetEvents: (value: IEvent[]) => {\n\t\t\tstore.events.length = 0;\n\t\t\tconst adminTokenData = jwtDecode(\n\t\t\t\tgetStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])\n\t\t\t);\n\t\t\tif (adminTokenData.role === \"company_manager\") {\n\t\t\t\tvalue = value.filter((x) => {\n\t\t\t\t\treturn [\n\t\t\t\t\t\t\"Future Trends 2017\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2018\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2019\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2020 - Digital\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2020 - online\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2020 - Edição Online\",\n\t\t\t\t\t\t\"MASTER CLASS 2020 - Edição Online\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2021 - Edição Online\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2022\",\n\t\t\t\t\t\t\"FUTURE TRENDS 2023\",\n\t\t\t\t\t].includes(x.title);\n\t\t\t\t});\n\t\t\t}\n\t\t\tstore.events.push(...value);\n\t\t},\n\t\tsetYears: (value: { id: string; value: number }[]) => {\n\t\t\tstore.years.length = 0;\n\t\t\tstore.years.push(...value);\n\t\t},\n\t\tsetEventsToShow: (value: IEvent[]) => {\n\t\t\tstore.eventsToShow.length = 0;\n\t\t\tstore.eventsToShow.push(...value);\n\t\t},\n\t\tsetYearFilter: (value: number) => {\n\t\t\tstore.yearFilter.value = value;\n\t\t},\n\t\tsetSearch: (value: string) => {\n\t\t\tstore.search.value = value;\n\t\t},\n\t\tgetEvents: async (like?: string) => {\n\t\t\tconst url = (() => {\n\t\t\t\tif (like) return `admin/event?like=${like}`;\n\t\t\t\treturn \"admin/event\";\n\t\t\t})();\n\t\t\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\t\t\turl,\n\t\t\t\told_url: true,\n\t\t\t\theaders_config: {\n\t\t\t\t\tAuthorization: \"admin_token\",\n\t\t\t\t},\n\t\t\t});\n\t\t\tif (!response.ok)\n\t\t\t\treturn toast.error(data.message || \"Erro ao buscar os eventos\");\n\t\t\tactions.setEvents(data);\n\t\t\tactions.getYears();\n\t\t\tactions.getEventByYear(new Date().getFullYear());\n\t\t},\n\t\tgetYears: () => {\n\t\t\tconst years = store.events.map((event) =>\n\t\t\t\tnew Date(event.start_date).getFullYear()\n\t\t\t);\n\t\t\tconst yearsNotDuplicated = [...new Set(years)].sort((a, b) => b - a);\n\t\t\tactions.setYears(\n\t\t\t\tyearsNotDuplicated.map((year: number) => ({\n\t\t\t\t\tid: String(year),\n\t\t\t\t\tvalue: year,\n\t\t\t\t}))\n\t\t\t);\n\t\t},\n\t\tgetEventByYear: (year: number) => {\n\t\t\tconst eventsThisYear = store.events.filter((event) => {\n\t\t\t\tconst yearOfEvent = new Date(event.start_date).getFullYear();\n\t\t\t\treturn yearOfEvent === year;\n\t\t\t});\n\t\t\tconst eventsSorteredMoreOld = eventsThisYear.sort((a, b) => {\n\t\t\t\tconst aDate = new Date(a.start_date);\n\t\t\t\tconst bDate = new Date(b.start_date);\n\t\t\t\treturn aDate > bDate ? -1 : 1;\n\t\t\t});\n\t\t\tactions.setEventsToShow(eventsSorteredMoreOld);\n\t\t\treturn eventsSorteredMoreOld;\n\t\t},\n\t};\n\n\treturn { ...store, ...actions };\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-40550be6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"filter-modal\" }\n\nimport { useStoreModalChangeEvent } from \"./store\";\nimport BaseInput from \"@/components/Atoms/BaseInput.vue\";\nimport BaseSelect from \"@/components/Atoms/BaseSelect.vue\";\nimport { onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FilterModal',\n setup(__props) {\n\nconst { years, yearFilter, search } = useStoreModalChangeEvent();\nconst { setYearFilter, getEvents } = useStoreModalChangeEvent();\n\nlet timeout: any;\n\nonMounted(() => {\n\tconst currentYear = new Date().getFullYear();\n\tsetYearFilter(!currentYear ? currentYear - 1 : currentYear);\n});\n\nconst changeSearch = (e: any) => {\n\tsearch.value = e.target.value;\n\tmyDebounce(e.target.value);\n};\n\nconst myDebounce = (valueToFilter: string) => {\n\tclearTimeout(timeout);\n\ttimeout = setTimeout(async () => await executeFilter(valueToFilter), 1000);\n};\n\nconst executeFilter = async (filter: string) => {\n\tawait getEvents(filter);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: \"Buscar\",\n placeholder: \"Buscar...\",\n onInput: changeSearch,\n value: _unref(search)\n }, null, 8, [\"value\"]),\n _createVNode(BaseSelect, {\n label: \"Selecione o Ano\",\n placeholder: !_unref(years).length ? 'Carregando...' : 'Selecione o Ano',\n options: _unref(years),\n keys: { keyLabel: 'value', keyValue: 'value' },\n value: (!_unref(yearFilter) ? _unref(yearFilter) - 1 : '' as any),\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_unref(setYearFilter)($event.target.value))),\n disabled: !_unref(years).length\n }, null, 8, [\"placeholder\", \"options\", \"value\", \"disabled\"])\n ]))\n}\n}\n\n})","import script from \"./FilterModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FilterModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FilterModal.vue?vue&type=style&index=0&id=40550be6&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-40550be6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3d1b4d7f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"40%\"} }, \"Nome do evento\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Data\"),\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"10%\"} }, [\n /*#__PURE__*/_createTextVNode(\" Participantes \"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"span\", null, \"Atual / Vagas\")\n ]),\n /*#__PURE__*/_createElementVNode(\"th\", { style: {\"width\":\"20%\"} })\n], -1))\nconst _hoisted_2 = { style: {\"text-align\":\"left\"} }\nconst _hoisted_3 = { style: {\"font-weight\":\"500\"} }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Inicio:\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Fim:\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Limite de inscrições:\", -1))\nconst _hoisted_7 = { style: {\"text-align\":\"center\"} }\nconst _hoisted_8 = [\"onClick\"]\n\nimport { IEvent } from \"./interface\";\nimport { useStoreModalChangeEvent } from \"./store\";\nimport Table from \"@/components/Organism/Table.vue\";\nimport IcCheck from \"@/components/icons/IcCheck.vue\";\nimport { HttpAdapterCustomer } from \"@/helpers\";\nimport { store } from \"@/store\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SessionStorage } from \"@/store/sessionStorage\";\nimport { onMounted, watch } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TableModal',\n setup(__props) {\n\nconst { eventsToShow, yearFilter } = useStoreModalChangeEvent();\nconst { getEvents, getEventByYear } = useStoreModalChangeEvent();\n\nwatch(yearFilter, () => {\n\tgetEventByYear(+yearFilter.value);\n});\n\nconst changeEventTo = async (event: IEvent) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/change-event-token/${event.id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) return;\n\n\teventStore.setStoreToken(data.token, TOKEN_TYPE[\"ADMIN_TOKEN\"]);\n\n\tSessionStorage.set(\"event\", event);\n\tlocation.reload();\n};\n\nonMounted(() => {\n\tgetEvents();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Table, { style: {\"max-height\":\"55vh\"} }, {\n thead: _withCtx(() => [\n _hoisted_1\n ]),\n tbody: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(eventsToShow), (event) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: event.id\n }, [\n _createElementVNode(\"td\", _hoisted_2, _toDisplayString(event.title), 1),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", _hoisted_3, [\n _hoisted_4,\n _createTextVNode(\" \" + _toDisplayString(new Date(event.start_date).toLocaleDateString(\"pt-BR\")), 1)\n ]),\n _createElementVNode(\"span\", null, [\n _hoisted_5,\n _createTextVNode(\" \" + _toDisplayString(new Date(event.end_date).toLocaleDateString(\"pt-BR\")), 1)\n ]),\n _createElementVNode(\"span\", null, [\n _hoisted_6,\n _createTextVNode(\" \" + _toDisplayString(new Date(event.limit_date).toLocaleDateString(\"pt-BR\")), 1)\n ])\n ])\n ]),\n _createElementVNode(\"td\", _hoisted_7, _toDisplayString(event.spots_allocated) + \" / \" + _toDisplayString(event.spots), 1),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"button\", {\n onClick: () => changeEventTo(event),\n class: \"button-select-event\"\n }, [\n _createVNode(IcCheck)\n ], 8, _hoisted_8)\n ])\n ]))\n }), 128))\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./TableModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TableModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TableModal.vue?vue&type=style&index=0&id=3d1b4d7f&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3d1b4d7f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8a1973b0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"modal\",\n style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"}\n}\nconst _hoisted_2 = { class: \"h-20 bg-primaryAdmin rounded-t-lg flex justify-between items-center px-5 w-full text-white\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Selecionar Evento\", -1))\nconst _hoisted_4 = { class: \"body-modal\" }\nconst _hoisted_5 = { class: \"button-modal\" }\n\nimport FilterModal from \"./FilterModal.vue\";\nimport TableModal from \"./TableModal.vue\";\nimport { useStoreModalChangeEvent } from \"./store\";\nimport { useStoreLayoutAdmin } from \"@/Layout/LayoutAdmin/store\";\nimport BaseButton from \"@/components/Atoms/BaseButton.vue\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport IcX from \"@/components/icons/IcX.vue\";\nimport { onMounted, ref, watch } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst { setModalChangeEvent, modalChangeEvent } = useStoreLayoutAdmin();\nconst { eventsToShow, events } = useStoreModalChangeEvent();\nconst spinner = ref(true);\n\nwatch(events, () => {\n\tspinner.value = true;\n\tif (events) {\n\t\tspinner.value = false;\n\t}\n});\n\nconst closeModal = () => setModalChangeEvent(!modalChangeEvent);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: \"overlay-modal\",\n onClick: closeModal\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", {\n onClick: closeModal,\n class: \"cursor-pointer\"\n }, [\n _createVNode(IcX)\n ])\n ]),\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(FilterModal),\n _createVNode(TableModal, { style: {\"box-shadow\":\"0px 0px 10px rgba(0, 0, 0, 0.2)\"} }),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n class: \"button-cancel\",\n onClick: closeModal\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" CANCELAR \")\n ]),\n _: 1\n })\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=8a1973b0&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-8a1973b0\"]])\n\nexport default __exports__","","import { render } from \"./IcAcommodation.vue?vue&type=template&id=31a20850\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcAirPlane.vue?vue&type=template&id=a7324856\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcChecklist.vue?vue&type=template&id=1ab65f34\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IcClassification.vue?vue&type=template&id=4dee2540\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcConfiguration.vue?vue&type=template&id=6cb3e186\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcCost.vue?vue&type=template&id=16c626ef\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcCredencial.vue?vue&type=template&id=e91fea62\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcFile.vue?vue&type=template&id=43bcd31a\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"," ","import { render } from \"./IcFindRetailer.vue?vue&type=template&id=e3a91f5c\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcHotel.vue?vue&type=template&id=a2c8de0e\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcOfficialService.vue?vue&type=template&id=3dfd8475\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcParticipant.vue?vue&type=template&id=7ddc7d19\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcPhone.vue?vue&type=template&id=745cc1a7\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./IcProviders.vue?vue&type=template&id=69d3375f\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcQuestions.vue?vue&type=template&id=36e63eba\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcStarBorder.vue?vue&type=template&id=437de1b2\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IcTaxas.vue?vue&type=template&id=2b9a6fef\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import IcAcommodation from \"../components/icons/IcAcommodation.vue\";\nimport IcAirPlane from \"../components/icons/IcAirPlane.vue\";\nimport IcChecklist from \"../components/icons/IcChecklist.vue\";\nimport IcClassification from \"../components/icons/IcClassification.vue\";\nimport IcCompany from \"../components/icons/IcCompany.vue\";\nimport IcConfiguration from \"../components/icons/IcConfiguration.vue\";\nimport IcCost from \"../components/icons/IcCost.vue\";\nimport IcCoupon from \"../components/icons/IcCoupon.vue\";\nimport IcCredencial from \"../components/icons/IcCredencial.vue\";\nimport IcCurrent from \"../components/icons/IcCurrent.vue\";\nimport IcDashboard from \"../components/icons/IcDashboard.vue\";\nimport IcDoubleUser from \"../components/icons/IcDoubleUser.vue\";\nimport IcEvent from \"../components/icons/IcEvent.vue\";\nimport IcEventCompanyAction from \"../components/icons/IcEventCompanyAction.vue\";\nimport IcFile from \"../components/icons/IcFile.vue\";\nimport IcFilePlus from \"../components/icons/IcFilePlus.vue\";\nimport IcFindRetailer from \"../components/icons/IcFindRetailer.vue\";\nimport IcHotel from \"../components/icons/IcHotel.vue\";\nimport IcMarketingMail from \"../components/icons/IcMarketingMail.vue\";\nimport IcOfficialService from \"../components/icons/IcOfficialService.vue\";\nimport IcParticipant from \"../components/icons/IcParticipant.vue\";\nimport IcPhone from \"../components/icons/IcPhone.vue\";\nimport IcPreRegister from \"../components/icons/IcPreRegister.vue\";\nimport IcProviders from \"../components/icons/IcProviders.vue\";\nimport IcQuestions from \"../components/icons/IcQuestions.vue\";\nimport IcSchedule from \"../components/icons/IcSchedule.vue\";\nimport IcStarBorder from \"../components/icons/IcStarBorder.vue\";\nimport IcTaxas from \"../components/icons/IcTaxas.vue\";\nimport IcUser from \"../components/icons/IcUser.vue\";\n\nexport const menuItensUp = [\n\t{\n\t\ttitle: \"Usuários\",\n\t\tpath: \"/users\",\n\t\tname: \"users\",\n\t\ticon: IcUser,\n\t\tpermissions: \"admin\",\n\t},\n\t{\n\t\ttitle: \"Palestrantes\",\n\t\tpath: \"/speaker\",\n\t\tname: \"speaker\",\n\t\ticon: IcDoubleUser,\n\t\tpermissions: \"admin\",\n\t},\n\t{\n\t\ttitle: \"Benefícios do Contrato\",\n\t\tpath: \"/contract\",\n\t\tname: \"contract\",\n\t\ticon: IcFilePlus,\n\t\tpermissions: \"\",\n\t},\n\t{\n\t\ttitle: \"Eventos\",\n\t\tpath: \"/event\",\n\t\tname: \"event\",\n\t\ticon: IcEvent,\n\t\tpermissions: \"admin,user,organizer,coordinator\",\n\t},\n\t{\n\t\ttitle: \"Empresas\",\n\t\tpath: \"/company\",\n\t\tname: \"company\",\n\t\ticon: IcCompany,\n\t\tpermissions: \"admin,user,company_manager,organizer\",\n\t},\n\t{\n\t\ttitle: \"Receitas por Vigência\",\n\t\tpath: \"/revenues\",\n\t\tname: \"revenues\",\n\t\ticon: IcCurrent,\n\t\tpermissions: \"admin\",\n\t},\n\t{\n\t\ttitle: \"Classificação\",\n\t\tpath: \"/classification\",\n\t\tname: \"classification\",\n\t\ticon: IcClassification,\n\t\tpermissions: \"admin\",\n\t},\n\t{\n\t\ttitle: \"Configurações\",\n\t\tpath: \"/settings\",\n\t\tname: \"settings\",\n\t\ticon: IcConfiguration,\n\t\tpermissions: \"\",\n\t},\n];\n\nexport const menuItensDown = [\n\t{\n\t\ttitle: \"Dashboard\",\n\t\tpath: \"/dashboard\",\n\t\tname: \"dashboard\",\n\t\ticon: IcDashboard,\n\t\tpermissions: \"admin,user,coordinator\",\n\t},\n\n\t{\n\t\ttitle: \"Agenda\",\n\t\tpath: \"/activity\",\n\t\tname: \"schedule\",\n\t\ticon: IcSchedule,\n\t\tpermissions: \"admin,user,activity_speaker,organizer,coordinator\",\n\t},\n\t{\n\t\ttitle: \"Pré-inscrição\",\n\t\tpath: \"/pre-registration\",\n\t\tname: \"pre-registration\",\n\t\ticon: IcPreRegister,\n\t\tpermissions: \"admin\",\n\t\tshow: \"is_paid\",\n\t},\n\t{\n\t\ttitle: \"Gestão de inscrições\",\n\t\tpath: \"/coupon\",\n\t\tname: \"coupon\",\n\t\ticon: IcCoupon,\n\t\tpermissions: \"admin\",\n\t\tshow: \"is_paid\",\n\t},\n\t{\n\t\ttitle: \"Participante\",\n\t\tpath: \"/participant\",\n\t\tname: \"participant\",\n\t\ticon: IcParticipant,\n\t\tpermissions: \"admin,user,company_manager,organizer,coordinator\",\n\t},\n\t{\n\t\ttitle: \"Empresas do evento\",\n\t\tpath: \"/event-company\",\n\t\tname: \"event-company\",\n\t\ticon: IcCompany,\n\t\tpermissions: \"admin,user,\",\n\t},\n\t{\n\t\ttitle: \"Hotéis\",\n\t\tpath: \"/hotel\",\n\t\tname: \"hotel\",\n\t\ticon: IcHotel,\n\t\tpermissions: \"admin,user,organize\",\n\t},\n\t{\n\t\ttitle: \"Checklist\",\n\t\tpath: \"/checklist\",\n\t\tname: \"checklist\",\n\t\ticon: IcChecklist,\n\t\tpermissions: \"admin,user,company_manager,organizer,stand_builder\",\n\t},\n\t{\n\t\ttitle: \"Convidado\",\n\t\tpath: \"/guests\",\n\t\tname: \"guests\",\n\t\ticon: IcClassification,\n\t\tpermissions: \"admin\",\n\t},\n\t{\n\t\ttitle: \"Passagens Aéreas\",\n\t\tpath: \"/passagens-aereas\",\n\t\tname: \"airplane\",\n\t\ticon: IcAirPlane,\n\t\tpermissions: \"admin,company_manager\",\n\t\tshow: \"air_travel\",\n\t},\n\t{\n\t\ttitle: \"Prestadores\",\n\t\tpath: \"/prestadores\",\n\t\tname: \"prestadores\",\n\t\ticon: IcProviders,\n\t\tpermissions: \"admin,company_manager,organizer,stand_builder\",\n\t},\n\t{\n\t\ttitle: \"Serviços Oficiais\",\n\t\tpath: \"/servicos-oficiais\",\n\t\tname: \"official\",\n\t\ticon: IcOfficialService,\n\t\tpermissions: \"admin,company_manager\",\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tpath: \"/atividade-premium\",\n\t\tname: \"atividade-premium\",\n\t\ticon: IcStarBorder,\n\t\tpermissions: \"admin,company_manager\",\n\t\tvalue: \"name_activity_premium\",\n\t\tshow: \"activity_premium\",\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tpath: \"/table-reservation\",\n\t\tname: \"hotel\",\n\t\ticon: IcPhone,\n\t\tpermissions: \"admin\",\n\t\tvalue: \"event_table_reservation_description\",\n\t\tshow: \"has_event_table_reservation\",\n\t},\n\t{\n\t\ttitle: \"Hospedagem\",\n\t\tpath: \"/hospedagem\",\n\t\tname: \"acommodation\",\n\t\ticon: IcAcommodation,\n\t\tpermissions: \"admin,user,company_manager\",\n\t\tshow: \"lodging\",\n\t},\n\t{\n\t\ttitle: \"Financeiro\",\n\t\tpath: \"/costs\",\n\t\tname: \"costs\",\n\t\ticon: IcCost,\n\t\tpermissions: \"admin\",\n\t},\n\t{\n\t\ttitle: \"Arquivos\",\n\t\tpath: \"/upload-manuais\",\n\t\tname: \"\",\n\t\ticon: IcFile,\n\t\tpermissions: \"admin,company_manager,organizer,stand_builder\",\n\t},\n\t{\n\t\ttitle: \"Taxas e pedidos\",\n\t\tpath: \"/taxas\",\n\t\tname: \"taxas\",\n\t\ticon: IcTaxas,\n\t\tpermissions: \"admin,organizer,stand_builder\",\n\t},\n\t{\n\t\ttitle: \"Credenciais\",\n\t\tpath: \"/credenciais\",\n\t\tname: \"credenciais\",\n\t\ticon: IcCredencial,\n\t\tpermissions: \"admin,organizer,company_manager\",\n\t},\n\t// {\n\t// \ttitle: \"Email Marketing\",\n\t// \tpath: \"/email-marketing\",\n\t// \tname: \"MKTMAIL\",\n\t// \ticon: IcMarketingMail,\n\t// \tpermissions: \"admin,user\",\n\t// },\n\t// {\n\t// \ttitle: \"Ações Patrocinadores\",\n\t// \tpath: \"/event-company-action\",\n\t// \tname: \"hotela\",\n\t// \ticon: IcEventCompanyAction,\n\t// \tpermissions: \"admin\",\n\t// },\n\t// {\n\t// \ttitle: \"Notificações APP\",\n\t// \tpath: \"/push-notification\",\n\t// \tname: \"hotel\",\n\t// \ticon: IcPhone,\n\t// \tpermissions: \"admin\",\n\t// },\n\t{\n\t\ttitle: \"Questionário\",\n\t\tpath: \"/questionnaire\",\n\t\tname: \"questionnaire\",\n\t\ticon: IcQuestions,\n\t\tpermissions: \"admin,user\",\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tpath: \"/findRetailerAdmin\",\n\t\tname: \"findRetailerAdmin\",\n\t\ticon: IcFindRetailer,\n\t\tpermissions: \"\",\n\t\tvalue: \"marketing_activity_name\",\n\t\tshow: \"show\",\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tpath: \"/findRetailerNotBussinesClub\",\n\t\tname: \"findRetailerNotBussinesClub\",\n\t\ticon: IcFindRetailer,\n\t\tpermissions: \"\",\n\t\tvalue: \"marketing_activity_name\",\n\t\tshow: \"showPartnerNotBussinesClub\",\n\t},\n\t{\n\t\ttitle: \"\",\n\t\tpath: \"/findRetailerBusinessClub\",\n\t\tname: \"findRetailerBusinessClub\",\n\t\ticon: IcFindRetailer,\n\t\tpermissions: \"\",\n\t\tvalue: \"marketing_activity_name\",\n\t\tshow: \"showPartnerBussinesClub\",\n\t},\n\t{\n\t\ttitle: \"Sessões temáticas\",\n\t\tpath: \"/findRetailerSession\",\n\t\tname: \"hotel2\",\n\t\ticon: IcFindRetailer,\n\t\tpermissions: \"company_manager\",\n\t\tshow: \"showPartnerBussinesClub\",\n\t\tonline: true,\n\t},\n];\n","\n\n\n","import { render } from \"./IcSettings.vue?vue&type=template&id=bd5027ee\"\nconst script = {}\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/logo_abrafarma_contrast.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-442456de\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sidebar\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"sidebar_header_img\"\n}, null, -1))\nconst _hoisted_3 = {\n id: \"body\",\n class: \"sidebar_body\"\n}\nconst _hoisted_4 = { class: \"sidebar_version\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { style: {\"display\":\"inline-flex\",\"align-items\":\"center\",\"text-align\":\"left\",\"gap\":\"8px\"} }\nconst _hoisted_7 = { class: \"event-options\" }\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = { key: 0 }\n\nimport { menuItensUp, menuItensDown } from \"../../constants/menu-items\";\nimport BaseButton from \"../Atoms/BaseButton.vue\";\nimport IcLogout from \"../icons/IcLogout.vue\";\nimport IcSchedule from \"../icons/IcSchedule.vue\";\nimport IcSettings from \"../icons/IcSettings.vue\";\nimport IcUser from \"../icons/IcUser.vue\";\nimport { ICredentialColor } from \"./ModalChangeEvent/interface\";\nimport { useStoreLayoutAdmin } from \"@/Layout/LayoutAdmin/store\";\nimport { HttpAdapter, HttpAdapterCustomer, jwtDecode } from \"@/helpers\";\nimport { stopSpinner } from \"@/helpers/SpinnerHandler\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { SET_SPINNER } from \"@/store/mutation-types\";\nimport { getCurrentEvent } from \"@/views/Admin/Dashboard/service\";\nimport { useStoreEvents } from \"@/views/Admin/Event/store\";\nimport axios from \"axios\";\nimport { onMounted, reactive, ref, Component } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useToast } from \"vue-toastification\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SideBarAdmin',\n setup(__props) {\n\nconst { clearStore, getStoreToken } = eventStore;\n\nconst route = useRouter();\nconst store = useStore();\nconst toast = useToast();\nconst { modalChangeEvent, setModalChangeEvent } = useStoreLayoutAdmin();\nconst activeItem = ref(\"confirmation\");\nconst event = reactive({\n\tid: \"\",\n\tname: \"\",\n});\n\nconst config = reactive({\n\tlogo: \"\",\n});\n\nconst adminTokenData = jwtDecode(getStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"]));\nlet eventData: any = reactive({\n\tevent: {},\n});\nlet companyData: any = reactive({\n\tcompany: {},\n});\n\nlet variables = reactive({\n\tshow: false,\n\tairTravelVisible: false,\n\taccommodationVisible: false,\n});\n\nconst formatTodayDate = () => {\n\tconst today = new Date();\n\tconst year = today.getFullYear();\n\tconst month = today.getMonth() + 1;\n\tconst day = (today.getDate() < 10 ? \"0\" : \"\") + today.getDate();\n\n\treturn year + (month < 10 ? \"0\" : \"\") + month + day;\n};\n\nconst getCompany = async (companyId: any, callback: (data: any) => void) => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/company/${companyId}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\treturn callback(data);\n};\n\nasync function getLogo() {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"public/config\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok) {\n\t\treturn;\n\t}\n\tconfig.logo = data.logo;\n}\n\nconst list = async (params: any, callback: (data: any) => void) => {\n\tif (params) {\n\t\tparams.direction = \"asc\";\n\t}\n\n\tif (params && params.orderBy && params.orderBy[0] === \"-\") {\n\t\tparams.orderBy = params.orderBy.replace(\"-\", \"\");\n\t\tparams.direction = \"desc\";\n\t}\n\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: \"admin/event/companies\",\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tcompanyData.company = data[0];\n\treturn callback(data);\n};\n\nconst getEventData = async () => {\n\tconst { data, response } = await HttpAdapterCustomer.get({\n\t\turl: `admin/event/${event.id}`,\n\t\told_url: true,\n\t\theaders_config: {\n\t\t\tAuthorization: \"admin_token\",\n\t\t},\n\t});\n\tif (!response.ok)\n\t\treturn toast.error(data.message || \"Erro ao buscar dados do evento\");\n\tevent.name = data.title;\n\teventData.event = data;\n\tconst associated =\n\t\tadminTokenData.companyTypes.find((p: any) => p === \"associated\") !==\n\t\tundefined;\n\tconst comercialPartner =\n\t\tadminTokenData.companyTypes.find((p) => p === \"commercial partner\") !==\n\t\tundefined;\n\tconst formattedToday = formatTodayDate();\n\tconst endDate = eventData.event.end_date\n\t\t?.substring(0, 10)\n\t\t.split(\"-\")\n\t\t.join(\"\");\n\n\tif (\n\t\teventData.event.show_marketing_activity === true &&\n\t\tendDate >= formattedToday &&\n\t\tassociated\n\t) {\n\t\teventData.event.show = true;\n\t} else {\n\t\teventData.event.show = false;\n\t}\n\n\tgetCompany(adminTokenData.companyIds[0], (company) => {\n\t\tif (!company) {\n\t\t\treturn;\n\t\t}\n\t\tif (\n\t\t\tcompany.sponsorship_type !== null &&\n\t\t\tcompany.sponsorship_type.name !== null\n\t\t) {\n\t\t\teventData.event.notBussinesClub =\n\t\t\t\tcompany.sponsorship_type.name !== \"BUSINESS CLUB\";\n\t\t\teventData.event.bussinesClub =\n\t\t\t\tcompany.sponsorship_type.name === \"BUSINESS CLUB\";\n\t\t} else {\n\t\t\teventData.event.notBussinesClub =\n\t\t\t\tcompany.sponsorship_type === null ||\n\t\t\t\tcompany.sponsorship_type.name !== \"BUSINESS CLUB\";\n\t\t}\n\n\t\tconst formattedToday = formatTodayDate();\n\t\tconst endDate = eventData.event.end_date\n\t\t\t?.substring(0, 10)\n\t\t\t.split(\"-\")\n\t\t\t.join(\"\");\n\t\t// endDate >= formattedToday\n\t\tif (\n\t\t\teventData.event.show_marketing_activity === true &&\n\t\t\tcomercialPartner &&\n\t\t\teventData.event.notBussinesClub\n\t\t) {\n\t\t\teventData.event.showPartnerNotBussinesClub = true;\n\t\t} else {\n\t\t\teventData.event.showPartnerNotBussinesClub = false;\n\t\t}\n\t\t// endDate >= formattedToday &&\n\n\t\tif (\n\t\t\teventData.event.show_marketing_activity === true &&\n\t\t\tcomercialPartner &&\n\t\t\teventData.event.bussinesClub\n\t\t) {\n\t\t\teventData.event.showPartnerBussinesClub = true;\n\t\t} else {\n\t\t\teventData.event.showPartnerBussinesClub = false;\n\t\t}\n\t});\n\n\tlist({}, (eventCompanies) => {\n\t\tconst eventCompaniesData = eventCompanies.filter((e: any) =>\n\t\t\teventData.event.companyIds?.includes(e.company_id)\n\t\t);\n\t\teventData.event.airTravelVisible = eventCompanies.some((e: any) => {\n\t\t\te?.air_travel_spots > 0;\n\t\t});\n\t\teventData.event.accommodationVisible = eventCompanies.some(\n\t\t\t(e: any) => e?.hotel_rooms > 0\n\t\t);\n\t});\n};\n\nconst setActiveItem = (menuItemName: string) => {\n\tstore.commit(SET_SPINNER, true);\n\tstopSpinner(5000);\n\tactiveItem.value = menuItemName;\n};\nconst isActiveItem = (menuItemName: string) => {\n\treturn activeItem.value === menuItemName;\n};\nconst logout = () => {\n\tsetActiveItem(\"exit\");\n\tclearStore();\n};\n\nonMounted(() => {\n\tconst adminTokenData = jwtDecode(\n\t\tgetStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])\n\t);\n\tgetLogo();\n\tevent.id = adminTokenData.eventId;\n\tgetEventData();\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n id: \"sidebar_header\",\n to: \"/event\",\n class: \"flex justify-center items-center sidebar_header\"\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"div\", _hoisted_4, \"Versão: \" + _toDisplayString(_unref(store).state.version), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(menuItensUp), (item) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: item.id,\n class: _normalizeClass({ active: isActiveItem(item.name) }),\n style: _normalizeStyle(`display:${\n\t\t\t\t\t\titem?.permissions?.split(',').includes(_unref(adminTokenData).role)\n\t\t\t\t\t\t\t? 'flex'\n\t\t\t\t\t\t\t: 'none'\n\t\t\t\t\t}`)\n }, [\n (item?.permissions?.split(',').includes(_unref(adminTokenData).role))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_router_link, {\n to: item.path,\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem(item.name) }]),\n onClick: ($event: any) => (setActiveItem(item.name) && _unref(route).push(item.path))\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon))),\n _createTextVNode(\" \" + _toDisplayString(item.title), 1)\n ]),\n _: 2\n }, 1032, [\"to\", \"onClick\", \"class\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 6))\n }), 128)),\n _createElementVNode(\"li\", {\n class: _normalizeClass([{ active: true }, \"event\"]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(setModalChangeEvent)(!_unref(modalChangeEvent))))\n }, [\n _createElementVNode(\"p\", _hoisted_6, [\n _createTextVNode(_toDisplayString(event.name || \"EVENTO\") + \" \", 1),\n _createVNode(IcSettings, { class: \"svg-event\" })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(menuItensDown), (item) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: _normalizeClass({ active: isActiveItem(item.name) }),\n onClick: ($event: any) => (_unref(route).push(item.path)),\n style: _normalizeStyle(`display:${\n\t\t\t\t\t\t\titem?.permissions?.split(',').includes(_unref(adminTokenData).role) &&\n\t\t\t\t\t\t\t(!item?.show ||\n\t\t\t\t\t\t\t\t(item.show &&\n\t\t\t\t\t\t\t\t\t(_unref(eventData).event[item.show] ||\n\t\t\t\t\t\t\t\t\t\t_unref(companyData).company[item.show]) &&\n\t\t\t\t\t\t\t\t\t(item.online ? _unref(eventData).event.online : true)))\n\t\t\t\t\t\t\t\t? 'flex'\n\t\t\t\t\t\t\t\t: 'none'\n\t\t\t\t\t\t}`),\n key: item.id\n }, [\n (\n\t\t\t\t\t\t\t\titem?.permissions?.split(',').includes(_unref(adminTokenData).role) &&\n\t\t\t\t\t\t\t\t(!item.show ||\n\t\t\t\t\t\t\t\t\t(item.show &&\n\t\t\t\t\t\t\t\t\t\t(_unref(eventData).event[item.show] ||\n\t\t\t\t\t\t\t\t\t\t\t_unref(companyData).company[item.show])))\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(_component_router_link, {\n to: item.path,\n class: _normalizeClass([\"flex gap-2\", { active: isActiveItem(item.name) }]),\n onClick: ($event: any) => (setActiveItem(item.name))\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon))),\n _createTextVNode(\" \" + _toDisplayString(item.value ? _unref(eventData).event[item.value] : item.title), 1)\n ]),\n _: 2\n }, 1032, [\"to\", \"onClick\", \"class\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 14, _hoisted_8))\n }), 128))\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./SideBarAdmin.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SideBarAdmin.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SideBarAdmin.vue?vue&type=style&index=0&id=442456de&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-442456de\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"w-full flex justify-center\" }\nconst _hoisted_2 = { style: {\"width\":\"100%\"} }\nconst _hoisted_3 = { class: \"\" }\n\nimport { useStoreLayoutAdmin } from \"./LayoutAdmin/store\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport HeaderAdmin from \"@/components/Organism/HeaderAdmin.vue\";\nimport ModalChangeEvent from \"@/components/Organism/ModalChangeEvent/index.vue\";\nimport SideBarAdmin from \"@/components/Organism/SideBarAdmin.vue\";\nimport { TOGGLE_MUTATION } from \"@/store/mutation-types\";\nimport { useStoreVoucher } from \"@/views/Voucher/store\";\nimport { onMounted, ref } from \"vue\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LayoutOld',\n setup(__props) {\n\nconst store = useStore();\nconst { verefyIfHasVoucher } = useStoreVoucher();\nconst { modalChangeEvent } = useStoreLayoutAdmin();\nconst isMobile = ref(false);\nconst spinner = ref(true);\n// Pesquisar uma forma de acessa body pelo vue\nconst body = document.querySelector(\"body\");\n\nonMounted(async () => {\n\twindow.addEventListener(\"resize\", setIsShowMenu);\n\tsetIsShowMenu();\n\tverefyIfHasVoucher();\n\tspinner.value = store.state.spinner;\n});\n\nstore.watch(\n\t(state) => state.spinner,\n\t(value) => {\n\t\tspinner.value = value;\n\t}\n);\n\nfunction closeSidebar() {\n\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\tbody?.setAttribute(\"class\", \"overflow-visible\");\n}\n\nfunction setIsShowMenu() {\n\tstore.commit(TOGGLE_MUTATION);\n\tif (window.innerWidth <= 1024) {\n\t\tisMobile.value = true;\n\t\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\t} else {\n\t\tisMobile.value = false;\n\t\tstore.commit(TOGGLE_MUTATION, \"open\");\n\t}\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(modalChangeEvent))\n ? (_openBlock(), _createBlock(ModalChangeEvent, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"c-version\", !_unref(store).state.toogle ? 'text-gray-dark' : 'text-gray-light'])\n }, null, 2),\n _createVNode(_Transition, { name: \"overlay\" }, {\n default: _withCtx(() => [\n (isMobile.value && _unref(store).state.toogle)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n onClick: closeSidebar,\n class: \"overlay cursor-pointer\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_Transition, { name: \"sidebar\" }, {\n default: _withCtx(() => [\n (_unref(store).state.toogle)\n ? (_openBlock(), _createBlock(SideBarAdmin, {\n key: 0,\n id: \"menu-side\",\n class: \"c-sidebar\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(HeaderAdmin),\n _createElementVNode(\"div\", _hoisted_3, [\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./LayoutOld.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LayoutOld.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./LayoutOld.vue?vue&type=style&index=0&id=1045a589&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\timport { useRoute } from 'vue-router';\n\n\timport DefaultLayout from './DefaultLayout.vue';\n\timport LayoutFull from './LayoutFull.vue';\n\timport LayoutOld from './LayoutOld.vue'\n\n\tconst defaultLayout = 'DefaultLayout';\n\texport default {\n\t\tname: 'AppLayout',\n\t\tcomponents: {\n\t\t\tDefaultLayout,\n\t\t\tLayoutFull,\n\t\t\tLayoutOld\n\t\t},\n\t\tcomputed: {\n\t\t\tlayout() {\n\t\t\t\tconst route = useRoute();\n\t\t\t\treturn route.meta.layout || defaultLayout;\n\t\t\t},\n\t\t},\n\t};\n","import { render } from \"./AppLayout.vue?vue&type=template&id=39ef7585&ts=true\"\nimport script from \"./AppLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./AppLayout.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport AppLayout from \"@/Layout/AppLayout.vue\";\nimport { onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\nonMounted(() => {\n\t// localStorage.setItem(\"color-admin-primary\", \"#073567\");\n\t// localStorage.setItem(\"color-admin-secondary\", \"#225893\");\n\n\tconst colorAdminPrimary = localStorage.getItem(\"color-admin-primary\");\n\tconst colorAdminSecondary = localStorage.getItem(\"color-admin-secondary\");\n\tconst colorAdminDetails = localStorage.getItem(\"color-admin-details\");\n\n\tdocument.documentElement.style.setProperty(\n\t\t\"--color-admin-primary\",\n\t\tcolorAdminPrimary || \"#073567\"\n\t);\n\tdocument.documentElement.style.setProperty(\n\t\t\"--color-admin-secondary\",\n\t\tcolorAdminSecondary || \"#225893\"\n\t);\n\tdocument.documentElement.style.setProperty(\n\t\t\"--color-admin-details\",\n\t\tcolorAdminDetails || \"#7ec32c\"\n\t);\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createBlock(AppLayout, null, {\n default: _withCtx(() => [\n _createVNode(_component_router_view)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./App.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./App.vue?vue&type=style&index=0&id=9106f06c&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-19e9589c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"w-full flex justify-center\" }\nconst _hoisted_2 = { class: \"w-full\" }\nconst _hoisted_3 = { class: \"body_slot\" }\n\nimport { useStoreLayoutAdmin } from \"./store\";\nimport Spinner from \"@/components/Atoms/Spinner.vue\";\nimport HeaderAdmin from \"@/components/Organism/HeaderAdmin.vue\";\nimport ModalChangeEvent from \"@/components/Organism/ModalChangeEvent/index.vue\";\nimport SideBarAdmin from \"@/components/Organism/SideBarAdmin.vue\";\nimport SideBarProvider from \"@/components/Organism/SideBarProvider.vue\";\nimport { TOKEN_TYPE, eventStore } from \"@/store/event.store\";\nimport { TOGGLE_MUTATION } from \"@/store/mutation-types\";\nimport { useStoreVoucher } from \"@/views/Voucher/store\";\nimport jwtDecode from \"jwt-decode\";\nimport { onMounted, ref } from \"vue\";\nimport { useStore } from \"vuex\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\nconst store = useStore();\nconst { getStoreToken } = eventStore;\nconst { verefyIfHasVoucher } = useStoreVoucher();\nconst { modalChangeEvent } = useStoreLayoutAdmin();\nconst isMobile = ref(false);\nconst spinner = ref(true);\nconst whoLogin = ref(\"\");\n\nconst loginAdmin = ref(\"\");\n// Pesquisar uma forma de acessa body pelo vue\nconst body = document.querySelector(\"body\");\n\nstore.watch(\n\t(state) => state.spinner,\n\t(value) => {\n\t\tspinner.value = value;\n\t}\n);\n\nfunction verifyWhoLogin() {\n\tconst adminTokenData = jwtDecode(\n\t\tgetStoreToken(TOKEN_TYPE[\"ADMIN_TOKEN\"])\n\t);\n\twhoLogin.value = adminTokenData.type;\n}\n\nfunction closeSidebar() {\n\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\tbody?.setAttribute(\"class\", \"overflow-visible\");\n}\n\nfunction setIsShowMenu() {\n\tstore.commit(TOGGLE_MUTATION);\n\tif (window.innerWidth <= 1024) {\n\t\tisMobile.value = true;\n\t\tstore.commit(TOGGLE_MUTATION, \"closed\");\n\t} else {\n\t\tisMobile.value = false;\n\t\tstore.commit(TOGGLE_MUTATION, \"open\");\n\t}\n}\n\nonMounted(async () => {\n\tverifyWhoLogin();\n\twindow.addEventListener(\"resize\", setIsShowMenu);\n\tsetIsShowMenu();\n\tverefyIfHasVoucher();\n\tspinner.value = store.state.spinner;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(modalChangeEvent))\n ? (_openBlock(), _createBlock(ModalChangeEvent, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"c-version\", !_unref(store).state.toogle ? 'text-gray-dark' : 'text-gray-light'])\n }, null, 2),\n _createVNode(_Transition, { name: \"overlay\" }, {\n default: _withCtx(() => [\n (isMobile.value && _unref(store).state.toogle)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n onClick: closeSidebar,\n class: \"overlay cursor-pointer\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_Transition, { name: \"sidebar\" }, {\n default: _withCtx(() => [\n (_unref(store).state.toogle)\n ? (_openBlock(), _createBlock(SideBarAdmin, {\n key: 0,\n id: \"menu-side\",\n class: \"c-sidebar\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(HeaderAdmin),\n _createElementVNode(\"div\", _hoisted_3, [\n (spinner.value)\n ? (_openBlock(), _createBlock(Spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=19e9589c&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/ec2-user/abrafarma2.0-web/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-19e9589c\"]])\n\nexport default __exports__","import App from \"./App.vue\";\nimport DefaultLayout from \"./Layout/DefaultLayout.vue\";\nimport LayoutAdmin from \"./Layout/LayoutAdmin/index.vue\";\nimport LayoutFull from \"./Layout/LayoutFull.vue\";\nimport \"./assets/global/import.css\";\nimport { router } from \"./router\";\nimport { store } from \"./store\";\nimport { getCompany } from \"@/views/Admin/PreRegistration/service\";\nimport { createPinia } from \"pinia\";\nimport { createApp } from \"vue\";\nimport Toast, { PluginOptions } from \"vue-toastification\";\nimport \"vue-toastification/dist/index.css\";\nimport './index.css'\n\nconst options: PluginOptions = {\n\ttimeout: 5000,\n};\n\nconst app = createApp(App)\n\t.component(\"DefaultLayout\", DefaultLayout)\n\t.component(\"LayoutFull\", LayoutFull)\n\t.component(\"LayoutAdmin\", LayoutAdmin);\nconst pinia = createPinia();\n\napp.use(pinia);\napp.use(Toast, options);\napp.use(router);\napp.use(store);\napp.mount(\"#app\");\n","var map = {\n\t\"./af\": 2190,\n\t\"./af.js\": 2190,\n\t\"./ar\": 7218,\n\t\"./ar-dz\": 5785,\n\t\"./ar-dz.js\": 5785,\n\t\"./ar-kw\": 9417,\n\t\"./ar-kw.js\": 9417,\n\t\"./ar-ly\": 6904,\n\t\"./ar-ly.js\": 6904,\n\t\"./ar-ma\": 8617,\n\t\"./ar-ma.js\": 8617,\n\t\"./ar-sa\": 2699,\n\t\"./ar-sa.js\": 2699,\n\t\"./ar-tn\": 6789,\n\t\"./ar-tn.js\": 6789,\n\t\"./ar.js\": 7218,\n\t\"./az\": 3050,\n\t\"./az.js\": 3050,\n\t\"./be\": 8316,\n\t\"./be.js\": 8316,\n\t\"./bg\": 310,\n\t\"./bg.js\": 310,\n\t\"./bm\": 8884,\n\t\"./bm.js\": 8884,\n\t\"./bn\": 3469,\n\t\"./bn-bd\": 6672,\n\t\"./bn-bd.js\": 6672,\n\t\"./bn.js\": 3469,\n\t\"./bo\": 9118,\n\t\"./bo.js\": 9118,\n\t\"./br\": 3113,\n\t\"./br.js\": 3113,\n\t\"./bs\": 3626,\n\t\"./bs.js\": 3626,\n\t\"./ca\": 921,\n\t\"./ca.js\": 921,\n\t\"./cs\": 7799,\n\t\"./cs.js\": 7799,\n\t\"./cv\": 2828,\n\t\"./cv.js\": 2828,\n\t\"./cy\": 3521,\n\t\"./cy.js\": 3521,\n\t\"./da\": 6962,\n\t\"./da.js\": 6962,\n\t\"./de\": 3294,\n\t\"./de-at\": 6158,\n\t\"./de-at.js\": 6158,\n\t\"./de-ch\": 5960,\n\t\"./de-ch.js\": 5960,\n\t\"./de.js\": 3294,\n\t\"./dv\": 7963,\n\t\"./dv.js\": 7963,\n\t\"./el\": 3432,\n\t\"./el.js\": 3432,\n\t\"./en-au\": 998,\n\t\"./en-au.js\": 998,\n\t\"./en-ca\": 5931,\n\t\"./en-ca.js\": 5931,\n\t\"./en-gb\": 5930,\n\t\"./en-gb.js\": 5930,\n\t\"./en-ie\": 8081,\n\t\"./en-ie.js\": 8081,\n\t\"./en-il\": 1594,\n\t\"./en-il.js\": 1594,\n\t\"./en-in\": 3904,\n\t\"./en-in.js\": 3904,\n\t\"./en-nz\": 1507,\n\t\"./en-nz.js\": 1507,\n\t\"./en-sg\": 9409,\n\t\"./en-sg.js\": 9409,\n\t\"./eo\": 2177,\n\t\"./eo.js\": 2177,\n\t\"./es\": 4805,\n\t\"./es-do\": 9155,\n\t\"./es-do.js\": 9155,\n\t\"./es-mx\": 9791,\n\t\"./es-mx.js\": 9791,\n\t\"./es-us\": 6098,\n\t\"./es-us.js\": 6098,\n\t\"./es.js\": 4805,\n\t\"./et\": 6240,\n\t\"./et.js\": 6240,\n\t\"./eu\": 391,\n\t\"./eu.js\": 391,\n\t\"./fa\": 612,\n\t\"./fa.js\": 612,\n\t\"./fi\": 4220,\n\t\"./fi.js\": 4220,\n\t\"./fil\": 5570,\n\t\"./fil.js\": 5570,\n\t\"./fo\": 5466,\n\t\"./fo.js\": 5466,\n\t\"./fr\": 4461,\n\t\"./fr-ca\": 6306,\n\t\"./fr-ca.js\": 6306,\n\t\"./fr-ch\": 7081,\n\t\"./fr-ch.js\": 7081,\n\t\"./fr.js\": 4461,\n\t\"./fy\": 3484,\n\t\"./fy.js\": 3484,\n\t\"./ga\": 6957,\n\t\"./ga.js\": 6957,\n\t\"./gd\": 2978,\n\t\"./gd.js\": 2978,\n\t\"./gl\": 9866,\n\t\"./gl.js\": 9866,\n\t\"./gom-deva\": 5011,\n\t\"./gom-deva.js\": 5011,\n\t\"./gom-latn\": 4724,\n\t\"./gom-latn.js\": 4724,\n\t\"./gu\": 1601,\n\t\"./gu.js\": 1601,\n\t\"./he\": 9802,\n\t\"./he.js\": 9802,\n\t\"./hi\": 9358,\n\t\"./hi.js\": 9358,\n\t\"./hr\": 3907,\n\t\"./hr.js\": 3907,\n\t\"./hu\": 218,\n\t\"./hu.js\": 218,\n\t\"./hy-am\": 533,\n\t\"./hy-am.js\": 533,\n\t\"./id\": 2844,\n\t\"./id.js\": 2844,\n\t\"./is\": 7353,\n\t\"./is.js\": 7353,\n\t\"./it\": 6364,\n\t\"./it-ch\": 774,\n\t\"./it-ch.js\": 774,\n\t\"./it.js\": 6364,\n\t\"./ja\": 6008,\n\t\"./ja.js\": 6008,\n\t\"./jv\": 8221,\n\t\"./jv.js\": 8221,\n\t\"./ka\": 2417,\n\t\"./ka.js\": 2417,\n\t\"./kk\": 4452,\n\t\"./kk.js\": 4452,\n\t\"./km\": 6149,\n\t\"./km.js\": 6149,\n\t\"./kn\": 4572,\n\t\"./kn.js\": 4572,\n\t\"./ko\": 659,\n\t\"./ko.js\": 659,\n\t\"./ku\": 6285,\n\t\"./ku.js\": 6285,\n\t\"./ky\": 1609,\n\t\"./ky.js\": 1609,\n\t\"./lb\": 119,\n\t\"./lb.js\": 119,\n\t\"./lo\": 1748,\n\t\"./lo.js\": 1748,\n\t\"./lt\": 1973,\n\t\"./lt.js\": 1973,\n\t\"./lv\": 1347,\n\t\"./lv.js\": 1347,\n\t\"./me\": 3023,\n\t\"./me.js\": 3023,\n\t\"./mi\": 5747,\n\t\"./mi.js\": 5747,\n\t\"./mk\": 4341,\n\t\"./mk.js\": 4341,\n\t\"./ml\": 3840,\n\t\"./ml.js\": 3840,\n\t\"./mn\": 2058,\n\t\"./mn.js\": 2058,\n\t\"./mr\": 9182,\n\t\"./mr.js\": 9182,\n\t\"./ms\": 5197,\n\t\"./ms-my\": 9136,\n\t\"./ms-my.js\": 9136,\n\t\"./ms.js\": 5197,\n\t\"./mt\": 6408,\n\t\"./mt.js\": 6408,\n\t\"./my\": 1683,\n\t\"./my.js\": 1683,\n\t\"./nb\": 3141,\n\t\"./nb.js\": 3141,\n\t\"./ne\": 9344,\n\t\"./ne.js\": 9344,\n\t\"./nl\": 4703,\n\t\"./nl-be\": 4641,\n\t\"./nl-be.js\": 4641,\n\t\"./nl.js\": 4703,\n\t\"./nn\": 9873,\n\t\"./nn.js\": 9873,\n\t\"./oc-lnc\": 1217,\n\t\"./oc-lnc.js\": 1217,\n\t\"./pa-in\": 4612,\n\t\"./pa-in.js\": 4612,\n\t\"./pl\": 4457,\n\t\"./pl.js\": 4457,\n\t\"./pt\": 1089,\n\t\"./pt-br\": 9146,\n\t\"./pt-br.js\": 9146,\n\t\"./pt.js\": 1089,\n\t\"./ro\": 5950,\n\t\"./ro.js\": 5950,\n\t\"./ru\": 7292,\n\t\"./ru.js\": 7292,\n\t\"./sd\": 6774,\n\t\"./sd.js\": 6774,\n\t\"./se\": 7493,\n\t\"./se.js\": 7493,\n\t\"./si\": 3761,\n\t\"./si.js\": 3761,\n\t\"./sk\": 9711,\n\t\"./sk.js\": 9711,\n\t\"./sl\": 8558,\n\t\"./sl.js\": 8558,\n\t\"./sq\": 8633,\n\t\"./sq.js\": 8633,\n\t\"./sr\": 688,\n\t\"./sr-cyrl\": 7903,\n\t\"./sr-cyrl.js\": 7903,\n\t\"./sr.js\": 688,\n\t\"./ss\": 1991,\n\t\"./ss.js\": 1991,\n\t\"./sv\": 7020,\n\t\"./sv.js\": 7020,\n\t\"./sw\": 5891,\n\t\"./sw.js\": 5891,\n\t\"./ta\": 5714,\n\t\"./ta.js\": 5714,\n\t\"./te\": 206,\n\t\"./te.js\": 206,\n\t\"./tet\": 4768,\n\t\"./tet.js\": 4768,\n\t\"./tg\": 8276,\n\t\"./tg.js\": 8276,\n\t\"./th\": 7977,\n\t\"./th.js\": 7977,\n\t\"./tk\": 6928,\n\t\"./tk.js\": 6928,\n\t\"./tl-ph\": 8046,\n\t\"./tl-ph.js\": 8046,\n\t\"./tlh\": 1361,\n\t\"./tlh.js\": 1361,\n\t\"./tr\": 4367,\n\t\"./tr.js\": 4367,\n\t\"./tzl\": 627,\n\t\"./tzl.js\": 627,\n\t\"./tzm\": 2636,\n\t\"./tzm-latn\": 8148,\n\t\"./tzm-latn.js\": 8148,\n\t\"./tzm.js\": 2636,\n\t\"./ug-cn\": 1204,\n\t\"./ug-cn.js\": 1204,\n\t\"./uk\": 461,\n\t\"./uk.js\": 461,\n\t\"./ur\": 1366,\n\t\"./ur.js\": 1366,\n\t\"./uz\": 3454,\n\t\"./uz-latn\": 8374,\n\t\"./uz-latn.js\": 8374,\n\t\"./uz.js\": 3454,\n\t\"./vi\": 8572,\n\t\"./vi.js\": 8572,\n\t\"./x-pseudo\": 464,\n\t\"./x-pseudo.js\": 464,\n\t\"./yo\": 3709,\n\t\"./yo.js\": 3709,\n\t\"./zh-cn\": 5873,\n\t\"./zh-cn.js\": 5873,\n\t\"./zh-hk\": 7549,\n\t\"./zh-hk.js\": 7549,\n\t\"./zh-mo\": 2240,\n\t\"./zh-mo.js\": 2240,\n\t\"./zh-tw\": 405,\n\t\"./zh-tw.js\": 405\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 5358;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"125\":\"a8ad3d40\",\"179\":\"bbd18a05\",\"234\":\"4938676c\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"abrafarma-web-project:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkabrafarma_web_project\"] = self[\"webpackChunkabrafarma_web_project\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(1870); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createBlock","_resolveDynamicComponent","layout","default","_withCtx","_renderSlot","$slots","_","script","__exports__","PARTICIPANT_MUTATION","SET_STATE_PARTICIPANT","TOGGLE_MUTATION","SET_SPINNER","SET_EVENT_STATE","SET_USER","eventStorage","getEventConfigSessionStorage","store","createStore","state","spinner","version","packageJson","toogle","event","eventId","userId","banner","footer","eventTerm","user","name","participant","gene","cpf","credential","birthday","emailBusinesses","emailPersonal","image","file","undefined","typePosition","descriptionPosition","register","nameCompany","phone","residencePhone","enterprisePhone","company","guestCompany","address","mutations","payload","property","value","Term","setEventConfigSessionStorage","sessionStorage","setItem","JSON","stringify","getItem","parse","stopSpinner","time","setTimeout","commit","starSpinner","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","class","_hoisted_2","_hoisted_3","_createElementVNode","_defineComponent","__name","props","message","type","String","setup","__props","etc","ref","interval","onMounted","setInterval","length","onUnmounted","clearInterval","_createElementBlock","_toDisplayString","xmlns","fill","viewBox","stroke","d","TOKEN_TYPE","token","oldToken","adminToken","getters","getStoreToken","getTokenSessionStorage","actions","setStoreToken","setTokenSessionStorage","setUserData","clearStore","clear","jwtDecode","storeGlobal","replace","eventStore","CONTENT_TYPE","handlerOptionsFetch","url","old_url","headers_config","method","body","urlApi","urlOldApi","urlNewApi","headers","Authorization","getContentUrl","getGeneralUrl","getGeneralUrlV2","CPF_VALID_LENGTH","FACTOR_FIRST_VERIFIER_DIGIT","FACTOR_SECOND_VERIFIER_DIGIT","cleanCpf","areAllDigitsEqual","firstDigit","every","c","calculateDigit","factor","total","digit","parseInt","rest","extractVerifierDigit","slice","validateCPF","rawCpf","firstVerifierDigit","secondVerifierDigit","verifierDigit","calculatedVerifiedDigit","jwt_decode","auth","next","router","NEW_TOKEN","push","authAdmin","ADMIN_TOKEN","_mergeProps","$attrs","context","variant","onClick","$event","$emit","defineComponent","tag","required","href","emits","data","primary","secondary","gray","key","_normalizeClass","sizeDefault","error","status","label","checked","style","styleInput","list","onChange","args","_createCommentVNode","maxLength","Object","Boolean","methods","this","target","_component_BaseButton","_resolveComponent","title","_createVNode","cancel","_createTextVNode","confirm","text","components","BaseButton","_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","_hoisted_17","_component_BaseInput","_component_IcArrowUpSort","_component_IcArrowDownSort","_component_MenuTable","_Fragment","_renderList","columns","column","id","_normalizeStyle","width","check","onOnchangeCheck","sort","onSort","columnSelected","tableActions","rows","row","doubleText","icon","iconList","button","success","fail","description","colors","color","background","checkValue","bold","handleActions","modalOptions","setOptionDot","getPosition","IcVerticalDots","positionModal","left","top","action","x","y","height","strokeLinecap","strokeLinejoin","strokeWidth","Array","BaseInput","IcTrash","IcSearch","IcEdit","rect","document","getElementById","getBoundingClientRect","console","_hoisted_18","overflowX","MenuTable","IcArrowDownSort","IcArrowUpSort","click","direction","maskUnits","mask","async","isUrlExists","resp","fetch","ok","existThisFile","fileName","urlDev","includes","formatCurrency","current","newValue","parseFloat","toLocaleString","currency","initialData","effectiveRevenues","year","initialDataGestor","email","role","password","initialDataEffective","company_id","financial_mail","contract_value","situation","form_of_payment","revenue","accounting_year_id","filename","created_at","updated_at","bank_id","base64","agency","account","credit_card_number","parcels","effective_revenues_id","parcel_number","due_day","pay_day","last_receipt_number","slug","cnpj","social_name","date_of_association","deleted","domains","city","cep","uf","country","contact","sponsorship_type_id","type_id","bank","code","usestoreAccountingYears","defineStore","accountingYears","tab","tabEdit","tabAdd","idPay","accountingYearToUpdate","executiveToUpdate","search","sponsors","gestores","executives","usersManagers","banks","companys","gestorToUpdate","hasSearchCpf","setEffectiveRevenues","revenuesCosts","positions","positionsType","classifications","defaultBankData","selectedYear","setDomains","domain","setTabAdd","setTabConfirm","setSelectedYear","setCompanys","setDefaultBank","bankData","setBanks","setIdPay","setAccountingYears","AccountingYears","map","el","totalContractsValue","setUsersManagers","roleName","ROLES","filter","setEffectives","addAccountingYear","AccountingYear","updateAccountingYear","index","findIndex","u","setAccountingYearToUpdate","setGestorToUpdate","setTab","setEffectiveToUpdate","setValueInAccountingYearToUpdate","setValueInGestorToUpdate","setValueInEffectiveToUpdate","setTabEdit","setSearch","setSpinner","setHasSearch","val","deleteAccountingYear","deleteAccountingYearApi","setRevenuesCosts","enumSituation","paid","pending","companyName","situationLabel","valueFormat","formPayment","response","HttpAdapterCustomer","delete","toast","useToast","storeAccountingYears","getAccountingYear","setValue","callback","hasSearch","order","query","get","getBanks","getCompanys","getDefaultBank","getEffectiveRevenues","group","post","grouped","years","getEffectiveRevenuesById","dueDayFormat","moment","format","payDayFormat","valorFormat","Number","a","b","sendReceptEmail","getAccountingYearById","deleteEffectiveRevenues","effectiveRevenuesPay","disabled","styleSelect","selected","options","option","keys","keyValue","keyLabel","route","useRoute","submit","reactive","params","defaultBank","changeParcel","i","upload","selectedFile","files","reader","FileReader","onload","base64Data","result","readAsDataURL","e","formatDateForInput","date","changeDueDay","Date","changePayDay","changeValue","_component_Form","onSubmit","_withModifiers","_unref","BaseSelect","placeholder","item","onOnchange","fit","preserveAspectRatio","focusable","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","routes","routerUse","useRouter","idDetail","Pago","Pendente","IcUploadVue","IcDownloadVue","urlToOpen","form","createElement","element1","appendChild","removeChild","onConfirmDeleteExecutive","changePayDate","parcel_id","ConfirmModal","onConfirm","onCancel","IcArrowLeft","IcPencil","IcTrashNew","Table","Form","months","month","myChart","createChart","ctx","getContext","aggregatedData","forEach","dataItem","existingItem","find","monthToTotal","maxMonth","maxValue","Infinity","Chart","labels","datasets","matchingData","valueInTable","backgroundColor","Math","floor","random","toString","borderWidth","responsive","interaction","intersect","scales","beginAtZero","stacked","min","max","ticks","stepSize","plugins","tooltip","callbacks","dataset","formattedValue","startsWith","ref_key","FinancialChart","miniSpinner","downloadReceipt","fileId","window","open","currentRoute","accountingYear","IcDownload","companyData","getSomaTotal","sum","Spinner","onOnsort","IcEditVue","IcTrashVue","IcCurrent","Register","Revenue","Dashboard","debounce","callBack","TRHEE_SECONDS","onInput","onBeforeMount","List","urlToken","src","getClassification","loadPositionsType","then","json","catch","err","loadCompaniesType","loadSponsorshipsType","company_types","position_types","sponsorship_types","useClassificationStore","classification","tabForm","classificationToUpdate","positionType","companyType","sponsorshipType","confirmDeleteOne","confirmDeleteOneId","setClassification","position","join","substring","sponsorship","setValueInClassificationToUpdate","setClassificationToUpdate","updateClassification","setTabForm","setPositionType","setCompanyType","setSponsorshipType","changeInput","indexOf","splice","showConfirmDeleteOne","onConfirmDeleteOne","deleteClassificationApi","storeClassification","handleSubmit","PositionType","CompanyType","SponsorshipType","carregarInfo","IcDoubleUser","_component_IcReturn","back","storeContractBenefits","contractDetails","_component_Table","getContractDetails","setContractDetails","enTypeContract","useStoreContractBenefits","contractBenefits","tabDetails","contractBenefitToUpdate","contractDetailsToUpdate","green","setCategory","category","blue","gold","platinum","black","updateContractDetails","contractBenefit","setContractDetailsToUpdate","setContractBenefits","addContractBenefit","updateContractBenefit","setContractBenefitToUpdate","setValueInContractBenefitToUpdate","setTabDetails","deleteContractBenefit","deleteContractBenefitApi","deleteContractDetail","idModel","deleteContractDetailApi","categoryOptions","Green","Blue","Gold","Platinum","Black","api_url","api_url_detail","getContractBenefit","benefits","updateContractModel","IcReturn","IcInfo","IcCheck","_component_Spinner","_component_IcSearch","IcFilePlus","ERROR_DISCOUNT","getCompanies","getCoupons","event_company_id","getCourtesy","eventCompanyId","resume","axios","HttpAdapter","getUrl","createNewPreRegistrationInBatch","createRegister","updateCourtesyValue","courtesy_amount","updateCourtesy","patch","getTicketBatchByCompany","companyId","sendLinkPaymentBatch","sendLink","deletePreRegistrationInBatch","deleteRegister","updateStatusBatch","statusData","createCoupons","updateStatusCoupon","statusCoupon","is_active","deleteCoupon","getDiscountByCompany","createNewDiscount","createDiscount","deleteDiscountById","resendEmailTicketBatch","res","initialFormCoupon","end_date","amount_payment","start_date","available_uses","initialFormDiscount","min_registrations","max_registrations","registration_value","initialTicketBatch","hash","event_id","fullprice","alias","financial_manager_id","computed_value","initialFinancialManager","position_id","foreign_document","initialValueBatchList","ticket_batch","financial_manager","pre_registration","useStoreCoupon","section","openModal","openDiscountModal","openCourtesyModal","companiesNameList","companiesList","couponList","discountList","batchList","companyDetails","couponSubmit","confirmDeleteOneCoupon","confirmDeleteOneDiscount","confirmDelete","newRegistration","enterprise_mail","ticket_batch_id","newDiscount","openModalNewRegistration","deleteMode","courtesyList","courtesy_tickets_available","courtesy_tickets_used","setSection","sections","spinnerStatus","setOpenModal","setOpenDiscountModal","setOpenCourtesyModal","setOpenModalNewRegistration","setDeleteMode","mode","setCompanies","batchPending","batch_pending","batchCount","batch_count","setCompanyDetails","details","setCoupons","coupon","setDiscounts","discount","setCourtesy","courtesy","setTicketsBatch","batch","setValueInCreateCoupon","setValueInCreateDiscount","showConfirmDeleteOneDiscount","setNewRegistration","setUpdateValueCourtesy","onConfirmDeleteOneDiscount","points","couponListDTO","computed","times_used","DateTime","fromISO","toFormat","IcCopy","navigator","clipboard","writeText","handleCreateDiscount","closeModal","IcX","maxlength","step","handleCreateCoupon","currentDate","now","toISODate","pattern","toUpperCase","IcUserThree","IcFail","false","true","IcClock","IcCoupon","IcPreRegister","IcDashboard","courtesyDownloadURL","downloadCourtesies","validateEmail","emailRegex","test","handleCreateNewRegistration","emailIsValid","_withDirectives","_vModelCheckbox","handleUpdateCourtesyValue","useStore","openFinancialRows","deleteId","STATUS","approved","rejected","exempt","IcPlusUser","handleCreateNewPreRegistration","handleChangeStatusAllInRow","IcEmail","ticketBatchId","IcArrowCounter","payment_status","verifyStatusPreRegistration","tableParticipantsActions","handleChangeStatusApprovedPreRegistration","handleChangeStatusReprovedPreRegistration","handleOpenInfoRow","rowId","isRowOpen","preRegistrationIds","ids","preRegistration","deleteRegistrationInBatch","formatCPF","ModalAddNewRegistration","ModalCourtesy","localeCompare","info","payment","IcEyeSlash","IcEye","getCompaniesOnMounted","Details","Sales","Discount","DiscountModal","eventDates","changeDate","getType","getTotal","geral","getAccess","getCompanysEvent","getCompanysEventParticipant","getQuestions","getEventAccess","getCurrentEvent","TYPES","associated","invited","government","midia","entity","organizer","stand_builder","useStoreDashboard","isLoading","eventToUpdate","valueSearchCompany","tabPreEvent","companysFilter","participants","participantsFilter","display","p","totalP","companyTypesSelected","questions","totalSatisfaction","totalPointsGeneral","totalAnswered","totalPoints","access","setIsLoading","loading","reset","setParticipants","setTabPreEvent","setCompanyTypeSelected","setValueCompanySearch","setParticipantsFilter","calculate","formatData","concat","reduce","acc","prev","t","setAnswers","answers","answer","question","q","counter","subTotalPoints","totalAnswers","standardDeviation","calculateStandard","satisfaction","toFixed","average","subTotalAnswers","arr","mean","curr","k","sqrt","setAccess","accesses","present","presentAtTime","staff","speaker","generateTotal","generateAccessList","totalDate","setCurrentEvent","dates","days","getEventDays","mapDays","day","eventDays","endDate","toDate","_component_BaseMultipleSelect","_component_PieChart","ref_for","getPercentage","orderByColumn","_component_Multiselect","searchable","Multiselect","ChartJS","Title","Tooltip","Legend","ArcElement","CategoryScale","Pie","chartId","chartData","chartOptions","maintainAspectRatio","legend","align","usePointStyle","boxWidth","h","BaseMultipleSelect","PieChart","totalParticipants","participantsList","toSet","chartInstance","destroy","from","borderColor","font","size","family","weight","titleFont","bodyFont","watch","BarChart","SessionStorage","set","handleExportSatisfactionSurveyAnswer","endpoint","blob","Error","URL","createObjectURL","link","download","print","PreEvent","SearchSatisfaction","Access","organizersId","assets","credentialColors","waiting","processing","finished","useStoreEvents","events","isOnline","session","organizers","stand_builders","historyIntranet","standBuilderFile","modalIsOpen","modalData","dateToImport","bodyToImport","setStandBuilderFile","addFilename","extensions","stand_builder_files","split","toLowerCase","trim","setDataToImport","removeFilename","setstandBuilders","builders","s","loadCompanies","getStandBuilderType","types","setHistoryIntranet","progress","setOrganizersIds","setOrganizers","setEvents","startDateFormat","endDateFormat","limitDateFormat","limit_date","dataList","spotList","spots_used","spots_allocated","spots","online","addEvent","updateEvent","setEventToUpdate","getOrganizers","getOrganizersIds","setValueInEventToUpdate","setSession","deleteEvent","deleteEventApi","setDateToImport","storeEvents","getEvent","uploadIntranet","formData","FormData","append","replaceAll","unique","setUploadProgress","uniqueIdentifier","getRunJob","getHistoryIntranet","importListTransmissionOnline","dateEvent","formatDate","getTime","toISOString","setDate","getDate","fromFormat","dataFormatada","dateToEncode","enconded","encodeURIComponent","IcReceiptX","is_paid","downloadCsv","uploadFile","IcList","marketing_activity","handleReportRestrictedList","IcCalendarClockVue","closed","IcCalendarCheckVue","canceled","IcCalendarRemoveVue","csvData","processedCsvData","csvContent","encodedUri","encodeURI","fileInput","accept","addEventListener","alert","allowedTypes","bstr","wb","XLSX","wsname","SheetNames","ws","Sheets","sheet_to_json","header","newList","nomeSala","dataAcesso","nome","empresa","__","some","readAsBinaryString","ImportAccess","initialDataExecutive","gender","guest_company","credential_name","classification_id","position_type_id","allows_meeting","personal_mail","enterprise_phone","home_phone","personal_phone","birth_date","credential_color","observation","vip","useStoreCompanys","Companys","companyToUpdate","setExistGestor","setGestores","cpfFormat","setSponsors","typeName","statusName","setCompanyId","setExecutives","addCompany","Company","updateCompany","setCompanyToUpdate","setExecutiveToUpdate","executive","setValueInCompanyToUpdate","setValueInExecutiveToUpdate","loadSponsors","deleteCompany","deleteCompanyApi","deleteGestor","deleteGestorApi","deleteExecutive","deleteExecutiveApi","searchCpf","searchCpfExecutive","storeCompanys","getExecutives","getGestores","getCompany","getCompanyById","getUsersManagers","loadDomains","loadCompanys","loadPositions","loadClassification","typeStatus","accepted","unauthorized","confirmed","avatar","filesTypes","hasFile","removeUpload","f","getFileUrl","urlFormated","path","checkboxList","input","show","copyLink","event_link","generate_link","activity_premium","name_activity_premium","limit_date_activity_premium","has_event_table_reservation","event_table_reservation_description","payment_amount","commercial_partner_payment_amount","place","fileType","IcUpload","findInd","findId","TYPE","provider","changeColor","removeColor","IcPlusMinusVue","alt","maxLenght","onchange","maxLengthText","for","titleEventTerm","titlePrivacyPolicyTerm","uploadLgpd","BaseTextArea","event_term","activity_confirmation","hour","setZone","limitDateActivityPremiumFormat","zone","minute","second","millisecond","eventsToUpdate","has_stand_builder","FormEvent","Montadora","Organizers","Badge","Termo","updateHistoryToProgress","stopProcess","handleRunJob","intervalUpdateHistory","IcEvent","ImportIntranet","Tabs","useStoreAuth","setStep","sended","isLoadingConfirmRequest","submitLogin","IcLoading","login","isShowingPassword","authOldApiAdmin","refreshTokenAdmin","adminTokenData","showPassword","autofocus","username","authOldApiProvider","refreshTokenProvider","_createStaticVNode","_imports_0","_imports_1","isAdmin","isAdminRoute","SignIn","SignInProvider","ForgotPassword","importParticipant","fileToRead","workBook","firstSheetName","workSheet","dataFromFile","raw","formatDataFile","rowsToExportList","useStoreParticipantAdmin","oldListCommon","common","commonToExport","participantCommon","participantToUpdate","vips","confirmVip","confirmVipStatus","selectExportParticipant","rowsExport","participantType","successCount","participantPages","page","staffPages","totalParticipantPageCalc","totalStaffPageCalc","confirmModal","confirmationErrorList","confirmationErrorModal","listError","setOldListCommon","setOrder","setDirection","setConfirmModal","setCampo","setTotalPages","ceil","deleteParticipant","newGetParticipant","setCommons","showConfirmDelete","onConfirmDelete","deleteParticipants","setVips","showConfirmVip","onConfirmVips","sendVips","setParticipantCommon","setCommonToExport","setStaff","setSpeaker","setParticipantToUpdate","setParticipantToUpdateDetails","participantId","updateParticipant","setValueInParticipantToUpdate","pre_registration_id","sendInvite","toInvite","sendInvites","setConfirmationError","confirmAll","sendConfirm","normalizeNames","normalize","isValid","participantNormalize","isValidated","credentialName","position_type","importList","padStart","log","errors","errorType","formImportList","importData","getCommon","hasStatus","newGetStaff","getSpeaker","invalidParticipants","invalidParticipant","_hoisted_31","_hoisted_32","vMask","beforeMount","editPosition","forCompany","pages","writePosition","IcArrowUturn","send_mail","send_email","errorDTO","transform","errorPrev","errorNext","IcMessageVue","IcCheckVue","has_voucher","downloadVoucherAdmin","responseFetch","revokeObjectURL","prevPage","nextPage","ModalConfirmationError","IcArrowPageLeft","IcArrowPageRight","cancelExport","handleExportApi","fields","airTravel","room","downloadVoucherSpeaker","speakerId","userRole","IcConfirmVue","IcStarVue","tableActionStaff","tableActionManager","verifyLogin","userLogin","getPreRegistration","searchQuery","statusQuery","getResumePreRegistration","positionName","updatePreRegistration","update","put","deletePreRegistration","updateStatusPreRegistration","resendLinkPreRegistration","resendData","manualPaymentPreRegistration","manualPayment","updateCoupon","useStorePreRegistrationAdmin","registration","paid_total","type_role","name_credential","description_role","coupon_id","manualPaymentData","amount","companyOptions","positionOptions","totalItens","renderList","totalPageCalc","openModalCoupon","preRegistrationId","setRegistration","setResume","setPreRegistrationId","setMethod","setOpenModalCoupon","setValueInPreRegistration","setPreRegistrationToUpdate","setCompanyOptions","updateOptions","setValueInCompanyOptions","setPositionOptions","setValueInPositionOptions","setSelectFilter","setActions","couponData","couponCode","cpfFromLogin","cpfIsValid","dataForm","handleUpdateSubmit","handleApplyCoupon","minlength","couponApplied","applyCouponInRegister","coupon_value","handleAddCoupon","methodList","handleManualPayment","bodyManualPayment","IcHandUp","IcGift","IcMessage","preRegistrationListDTO","company_name","type_role_name","ModalManualPayment","ModalAddCoupon","handleSearch","exportReport","handleResendLink","handleReproveRegistration","handleExemptRegistration","handleApproveRegistration","handleRegisterNew","authorization","fetchPreRegistration","getAnswers","postOrder","postOrderQuestion","postPublish","initialQuestion","section_id","max_description","min_description","initialValue","getNewRows","newRows","newQuestion","newRow","section_name","useStoreQuestions","addSectionQuestion","addQuestion","sectionToUpdate","answerToView","confirmDeleteOneIdSection","confirmDeleteOneSection","openModalSection","directionSection","published","openModalAnswerList","setOpenModalSection","setOpenModalAnswerList","setQuestions","update_at","setDescriptionSection","setValueInAddQuestion","setQuestionToUpdate","setSectionToUpdate","newSection","setChangeOrder","deleteQuestion","showConfirmDeleteOneSection","onConfirmDeleteOneSection","deleteSection","setRenderList","setPublish","publish","setAnswerToView","handleAddNewSection","emit","addNewQuestion","openModalAddQuestion","openModalEditSection","moveQuestion","REQUIRED","questionDTO","typeFormat","requiredFormat","handleOpenModalEditSection","handleOpenModalAddQuestion","handleDeleteSection","moveSection","currentIndexQuestions","newOrderSelected","toLocaleUpperCase","overflow","ModalAddQuestion","rowSelected","ModalViewAnswer","openInput","handlePublishQuestionnaire","publish_question","ModalAddSection","IcPlus","IcCheckPublished","IcCheckNotPublished","AnswerList","QuestionsList","activityToUpdateData","activities","activitiesToShow","modalSendDigitalTicket","dateSearch","dateToSearch","marketing_activity_name","companies","timeout","useStoreScheduleAdmin","setActivityToUpdateData","myDebounce","setModalOptions","setModalSendDigitalTicket","setDateSearch","setDateToSearch","setEvent","setActivities","getActivities","like","base","dataMapped","start_time","end_time","attendance_list","has_moderator","is_colored","is_interval","logo","restricted_list","speakers","activitiesByDate","executeFilter","valueToFilter","clearTimeout","removeMask","maskChars","RegExp","maskCpf","removeMaskCpf","maskPhone","removeMaskPhone","sendMail","send","dateToFormat","bodySend","eventDate","quantityModify","onChangeOption","activity","speakerModal","useStoreUpdateActivity","setActivity","setLoading","speakerFormatted","formatSpeaker","importationResult","errorHandler","location","reload","goBack","setSpeakerModal","speakerToSave","speaker_id","currentEventData","fixImage","getTypes","imageLogo","updateValue","updateEditorText","updateImage","removeImage","QuillEditor","theme","toolbar","contenteditable","content","participantsInList","useStoreListRestricted","setParticipantsInList","getParticipants","cpfToSearch","searchParticipant","updateCpf","findParticipant","addParticipantInList","isInvalidParticipant","participantInList","clearParticipant","participantDTO","removeParticipant","preSubmit","Filter","thead","tbody","getSpeakerName","speakerData","removeSpeaker","internalValue","internalOptions","showOptions","doubleClick","unWatchEffect","watchEffect","updateInternalValue","generareList","keyCommand","firstResult","onMouseleave","onFocus","onKeyup","speakerSelected","getSpeakers","clearValues","addInListNewSpeaker","speakerAlreadyAdded","clickOption","BaseModal","onCloseModal","BaseAutocomplete","onClickOption","importTable","Nome","CPF","Empresa","importAction","fileActivities","fileActivity","companyThisUser","updateActivities","removeDuplicates","activityToFilter","activityHasExist","oldList","SpeakerModal","Activity","ListRestricted","Speaker","getDaysOfEvent","setData","tokenAdmin","tokenDecoded","eventToAdd","start","end","quantityDays","getFullYear","getMonth","toLocaleDateString","PopupSendDigitalTicket","UpdateActivity","settingsData","primary_color","secondary_color","tenant_name","localStorage","documentElement","setProperty","handleImage","toBase64","Promise","resolve","reject","onerror","_component_IcTrashNew","_vModelText","useStoreSpeakers","speakerToUpdate","setSpeakers","addSpeaker","updateSpeaker","setSpeakerToUpdate","asset","setValueInSpeakerToUpdate","deleteSpeaker","deleteSpeakerApi","storeSpeakers","note","useStoreUsers","users","userToUpdate","setUsers","addUser","updateUser","setUserToUpdate","setValueInUserToUpdate","deleteUser","deleteUserApi","storeUsers","getUser","IcUser","states","splitAndClean","storeGestors","gestor","_component_IcArrowLeft","selectUserManager","storeCompanies","handleCancel","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","columnsExecutive","tableActionsExecutives","onConfirmDeleteGestor","deleteCompanySelected","sponsorship_type","FormCompany","ExistManager","FormExecutives","_component_BaseSelect","showDeleted","IcCompany","getCompanyManager","companySpots","spots_marketing_activity","getParticipantSession","getActivitySession","setValues","getSpotsActivity","postParticipantInActivities","activitiesId","errorMessage","warning","deleteParticipantToActivity","useStoreFindRetailer","participantList","sessionList","participantSelected","setCompanyName","setCompanySpots","setSessionsActivities","setSpotsList","participantIndex","submitAddInActivity","activitiesToAdd","activitiesExisting","participante","activityIds","rowsToRender","cpfEncontrado","handleOpenModal","sessionDTO","ModalAddParticipantInActivity","TOKEN_NAME","UseStorage","_defineProperty","tokenData","getTokenData","setEventSelected","removeItem","getToken","startDate","showRating","hasAnswered","answerQuestions","getCertificate","getBanner","getHasAnswered","returnOption","splitDate","meses","onSave","question_id","downloadCertificate","responseType","Blob","RadioInput","METHOD","boleto","pix","isCredential","eventData","participantData","approved_at","eventDataApi","downloadCredential","getParticipantData","generatePdf","doc","jsPDF","setFontSize","addImage","LogoAbrafarma","setFont","pageWidth","internal","pageSize","Signature","save","getCredentialFile","BoxEvent","_KeepAlive","isShowCards","isShow","innerHTML","IcPlace","getApi","Hours","Logo","history","acceptRules","isEventPaid","openWhatsApp","phoneNumber","isMobile","userAgent","IcWhatsApp","_vShow","ERRORS","getEventPublic","createManyPreRegistration","updatePreRegistrationIndividual","verifyDiscount","getPreRegistrationById","useStorePreRegistration","isPaid","limit_date_format","isFutureTrends","financialRepresentative","participantsBatch","isCommercialPartner","setEventData","setIsCommercialPartner","setVerifyIfEventIsFutureTrends","setParticipantTickets","setFinancialRepresentative","setValueInCompanyOptionsFinancial","registrations_count","setRegistrationValue","setValueInPositionOptionsFinancial","setQuantityTicket","storePreRegistration","preRegistrationCompanyId","img","invited_company","invited_by","receipt","batch_registration_completed","openLgpd","companyTip","onlineTerm","selectValues","maskValues","newCompany","limit","itsBulkPurchase","isForeigner","onChangeParticipantForeigner","getCompanyIndividualParticipant","verifyIfEventIsFutureTrends","eventDataVerify","downloadTermEvent","downloadTermLink","downloadPrivacyPolicyTerm","downloadPrivacyPolicyLink","eventValidDate","timestamp","today","fromJSDate","getBannerAndFooter","eventAssets","imageBanner","imageFooter","openOnlineTerm","updateValues","saveForm","preventDefault","phoneFormat","formattedCpf","keyObj","obj","imageProfile","File","FutureTrendsRules","modelValue","onOnChangeOption","ModalLGPDNew","ModalOnlineTerm","dataCompany","socialName","fantasyName","handleCreateNewCompany","cnpjFormatted","saveData","Axios","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","FIELD","debug_mode","generateCPF","cpfArray","remainder","pasteValue","selector","querySelectorAll","focus","char","Event","bubbles","dispatchEvent","changeEvent","selectOption","select","querySelector","opt","warn","addParticipant","validateField","handleBulkPurchase","fieldsToValidate","field","cpfWithoutMask","onChangeBulkPurchase","verifyIfEventIsPaid","onChangeOptionHandlerFinancial","onChangeOptionHandler","selectedCompany","openCompanyTip","handleNewCompany","couponValidPrice","financialManager","couponId","ToggleSwitch","IcQuestion","ModalAddNewCompany","ModalCompanyTip","count","setCount","CountA","CountB","getInformationEvent","eventIdParticipant","timeEnd","eventInfoIds","eventInfo","formEvent","responseOldApi","authOldApi","responseNewApi","authNewApi","refreshToken","isImage","FormInputGroup","onOnInputChange","ImageInput","onChangeUpload","selectGene","isPatterBrazilDate","convertDateISO8601","convertDate","reverse","participantMapper","nameCredential","enterpriseMail","mail","residence_phone","birthDate","companyInvited","invitedBy","profile_img","declineEventTermsDate","decline_event_terms_date","participantMapperUpdate","participantState","company_invited","getParticipantApi","submitForm","newImageFile","isFile","resPut","Box","FormContainer","FirstInputGroup","SecondInputGroup","ThirdInputGroup","urlProvider","StatusEnum","StatusExhibition","mapperScheduleActivities","scheduleActivities","getScheduleActivities","scheduleActivity","mapperActivities","mapperSpeaker","activityDetail","mapperActivityDetail","activity_data","hours","isInterval","typeLabel","type_label","storeSchedule","activityError","isEventOnline","descriptionEventOnline","tabs","tabSelected","scheduleEvents","daysOfActivities","dateSelected","queryString","urlAPi","schedule","scheduleActivitiesMapper","activitiesTypeLabel","getActivitiesTypeLabel","getActivitiesForDayAndTypeEvent","sanitizedAndOrderTabs","getDateForActivitiesType","eventActivitiesFilterForType","isEventEqualTabSelected","eventActivitiesForDay","isEventDateEqualDateSelected","activitiesForType","activitiesFilterForType","getStatusMessage","Set","flat","yes","no","isEventTypeEqualTabSelected","scheduleStore","uniqueArray","self","setDaySelected","sortedActivities","activitiesCopy","compareHoursAsString","groupedByHour","groupByHour","hourGroup","placeA","placeB","groups","currentGroup","currentHour","timeA","timeB","hoursA","minutesA","hoursB","minutesB","_Transition","Activities","optionsHttp","labelStatus","termAccept","policyAccept","teste","scheduleSubscriptionStore","_isRef","apiConfirm","apiSendInvite","CheckboxTerm","GroupButtonConfirm","GroupButtonSendInvented","setTabSelected","animationTransitionSchedule","Subscription","Days","Lines","hasVoucher","verifyIfHasVoucher","downloadVoucher","layoutFull","middleware","layoutFullAdmin","defaultLayout","layoutOld","component","meta","IndividualBatchForm","Guest","ParticipantSuccess","Participant","Login","LoginProvider","Credential","Voucher","FindRetailer","FindRetailerAdmin","Certificate","Schedule","LoginAdmin","Home","ScheduleAdmin","CompanyEvents","Hotel","Checklist","Convidado","PassagensAereas","Prestadores","OfficialServices","Hospedagem","Costs","Files","Taxas","Credenciais","Emailmarketing","EventCompanyAction","Users","Settings","Speakers","Contract","ContractDetails","CompanyEdit","AccountingYearEdit","RevenueDetails","Classification","Questionnaire","ParticipantAdmin","PreRegistration","Coupon","newFindRetailerBusinessClub","findRetailerNotBussinessClub","FindRetailerSession","atividadePremium","createRouter","createWebHashHistory","nextFactory","subsequentMiddleware","parameters","nextMiddleware","beforeEach","to","isArray","optionsFetch","fetchResponse","getById","foreign","decodedToken","dataEvent","fiveMinutes","logout","dataJson","urlDefault","urlFetch","dataRaw","eventSelected","nameScreen","newVal","resultGet","getEventSelected","eventStorageSelected","toggleSideBar","setAttribute","IcMenu","eventToSelect","eventToShow","yearsOfEvents","isOpen","showYears","getYearsToShow","dropDown","getYearOfEvents","limitDateAllEvents","uniqueYears","openDataThisYear","eventsThisYear","handleChangeEvent","IcData","IcArrowDown","yearData","useStoreVoucher","setHasVoucher","verefyIfHasVoucher","activeItem","eventIsOnline","setActiveItem","menuItemName","isActiveItem","declineTerms","getInvites","getLogo","_component_router_link","active","IcIdentification","ChangeEventOptions","IcSchedule","IcConfirm","IcTicket","IcCertificate","IcLogout","closeSidebar","setIsShowMenu","innerWidth","SideBar","Header","modalChangeEvent","useStoreLayoutAdmin","setModalChangeEvent","useStoreMenu","menuOpen","setMenu","menu","initialLettersUser","modalUser","nameUser","getNameUser","getInitialLettersUser","charAt","eventsToShow","yearFilter","useStoreModalChangeEvent","setYears","setEventsToShow","setYearFilter","getEvents","getYears","getEventByYear","yearsNotDuplicated","yearOfEvent","eventsSorteredMoreOld","aDate","bDate","currentYear","changeSearch","changeEventTo","FilterModal","TableModal","menuItensUp","permissions","IcClassification","IcConfiguration","menuItensDown","IcParticipant","IcHotel","IcChecklist","IcAirPlane","IcProviders","IcOfficialService","IcStarBorder","IcPhone","IcAcommodation","IcCost","IcFile","IcTaxas","IcCredencial","IcQuestions","IcFindRetailer","config","airTravelVisible","accommodationVisible","formatTodayDate","orderBy","getEventData","companyTypes","comercialPartner","formattedToday","show_marketing_activity","companyIds","notBussinesClub","bussinesClub","showPartnerNotBussinesClub","showPartnerBussinesClub","eventCompanies","hotel_rooms","IcSettings","ModalChangeEvent","SideBarAdmin","HeaderAdmin","DefaultLayout","LayoutFull","LayoutOld","colorAdminPrimary","colorAdminSecondary","colorAdminDetails","_component_router_view","AppLayout","whoLogin","verifyWhoLogin","app","createApp","App","LayoutAdmin","pinia","createPinia","use","Toast","mount","webpackContext","req","webpackContextResolve","__webpack_require__","o","module","exports","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","fulfilled","j","r","getter","__esModule","leafPrototypes","getProto","getPrototypeOf","__proto__","ns","create","def","getOwnPropertyNames","definition","defineProperty","enumerable","chunkId","all","promises","miniCssF","g","globalThis","Function","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","needAttach","scripts","getElementsByTagName","getAttribute","charset","nc","onScriptComplete","doneFns","parentNode","bind","head","Symbol","toStringTag","nmd","paths","children","installedChunks","installedChunkData","promise","loadingEnded","realSrc","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}