{"version":3,"file":"vue_main-DLNGS0hc.js","sources":["../../../app/frontend/entrypoints/vue_main.js"],"sourcesContent":["import Vue from 'vue';\nimport JobsSearchMixin from './vue/jobs_search_mixin';\nimport EntryMemberFormForJobDetailsHorizonSlideMixin from './vue/entry_member_form_for_job_details_horizon_slide_mixin';\nimport HorizontalStep from './vue/entry_members/horizontal-step';\nimport ClientMessageMixin from './vue/client_message_mixin';\nimport entryPanelMixin from './vue/entry_panel_mixin';\nimport AutocompleteMixin from './vue/autocomplete_mixin';\nimport ResumeMixin from './vue/resume_mixin';\n\ndocument.addEventListener('DOMContentLoaded', () => {\n const vueParams = {\n el: '#body_wrapper',\n mixins: [],\n data: { searchFormState: null },\n };\n const path = window.location.pathname;\n\n if (path === '/') {\n vueParams.mixins.push(JobsSearchMixin);\n vueParams.mixins.push(AutocompleteMixin);\n }\n if (path === '/entry_member') {\n vueParams.mixins.push(HorizontalStep);\n } else if (path.search(/\\/jobs\\/\\d+/) !== -1 || path === '/service') {\n vueParams.mixins.push(EntryMemberFormForJobDetailsHorizonSlideMixin);\n }\n if (path === '/clients/messages') {\n vueParams.mixins.push(ClientMessageMixin);\n }\n\n if ($('#entry-panel').length > 0) {\n vueParams.mixins.push(entryPanelMixin);\n }\n\n if ($('#resume').length > 0) {\n vueParams.mixins.push(ResumeMixin);\n }\n\n new Vue(vueParams);\n});\n"],"names":["vueParams","path","JobsSearchMixin","AutocompleteMixin","HorizontalStep","EntryMemberFormForJobDetailsHorizonSlideMixin","ClientMessageMixin","$","entryPanelMixin","ResumeMixin","Vue"],"mappings":"2yBASA,SAAS,iBAAiB,mBAAoB,IAAM,CAClD,MAAMA,EAAY,CAChB,GAAI,gBACJ,OAAQ,CAAE,EACV,KAAM,CAAE,gBAAiB,IAAM,CACnC,EACQC,EAAO,OAAO,SAAS,SAEzBA,IAAS,MACXD,EAAU,OAAO,KAAKE,CAAe,EACrCF,EAAU,OAAO,KAAKG,CAAiB,GAErCF,IAAS,gBACXD,EAAU,OAAO,KAAKI,CAAc,GAC3BH,EAAK,OAAO,aAAa,IAAM,IAAMA,IAAS,aACvDD,EAAU,OAAO,KAAKK,CAA6C,EAEjEJ,IAAS,qBACXD,EAAU,OAAO,KAAKM,CAAkB,EAGtCC,EAAE,cAAc,EAAE,OAAS,GAC7BP,EAAU,OAAO,KAAKQ,CAAe,EAGnCD,EAAE,SAAS,EAAE,OAAS,GACxBP,EAAU,OAAO,KAAKS,CAAW,EAGnC,IAAIC,EAAIV,CAAS,CACnB,CAAC"}