{"version":3,"sources":["webpack:///./src/components/forms/meeting/presenters/PresenterMeetingField.vue?6c4c","webpack:///src/components/forms/meeting/presenters/PresenterMeetingField.vue","webpack:///./src/components/forms/meeting/presenters/PresenterMeetingField.vue?1f42","webpack:///./src/components/forms/meeting/presenters/PresenterMeetingField.vue","webpack:///./src/components/forms/meeting/NetworkMeetingForm.vue?22c4","webpack:///src/components/forms/meeting/NetworkMeetingForm.vue","webpack:///./src/components/forms/meeting/NetworkMeetingForm.vue?5aef","webpack:///./src/components/forms/meeting/NetworkMeetingForm.vue","webpack:///./src/components/forms/meeting/NetworkMeetingForm.vue?4b24","webpack:///./src/components/forms/meeting/NetworkMeetingForm.vue?bc34","webpack:///./src/views/networks/meetings/Create.vue","webpack:///./src/views/networks/meetings/Create.vue?3a9e","webpack:///src/views/networks/meetings/Create.vue","webpack:///./src/views/networks/meetings/Create.vue?b8fc","webpack:///./node_modules/core-js/modules/es.array.find-index.js"],"names":["components","VueTagsInput","props","existingPresenters","type","Array","String","default","data","selectedPresenterQuery","meetingPresenters","presenterSearchResults","nonExistingPresenters","isEmpty","computed","alreadyExistingPresenters","filter","p","presenter_id","user_id","watch","debounce","query","_this","length","$http","get","then","resp","map","getPresenterObjectFromUserModel","handler","newVal","_this2","temp","isArray","forEach","push","getPresenterObjectFromPresenterModel","newPresenterAddedToMeeting","immediate","methods","updatedPresentersList","_this3","splice","$emit","a","id","name","text","updatePresenterList","updatedData","from","updatedPresenterIndex","findIndex","user","first_name","last_name","email","short_bio","appointment","primary_appointment","is_registered","userModel","presenterModel","presenter","undefined","_vm","this","_c","_self","staticClass","attrs","$t","on","scopedSlots","_u","key","fn","$event","performAdd","item","staticStyle","_v","_s","model","value","callback","$$v","expression","PresenterField","DatePicker","vSelect","existingForm","Object","timezones","forOccurrence","Boolean","update","meeting","_this$$route$params$i","busy","daysOfWeek","fiveHoursIn15MinutesInterval","hours","_","i","am_pm","form","zoom_id","currentMeetingView","selectedMonthlyOption","isExtended","$route","params","isPastOccurrence","recurring","frequency","occurs_on","occursOn","split","occurs_on_array","day","includes","JSON","parse","stringify","start_time","moment","format","occurs_on_week","start_date","utcToLocal","startTime","endDate","add","setTimeout","deep","timezone_id","document","body","classList","put","$swal","fire","icon","title","confirmButtonText","showCancelButton","allowOutsideClick","customClass","confirmButton","result","isConfirmed","remove","$router","network_slug","dt","utc","local","date","arguments","resetWeeklyOccursOn","val","join","validateNonRecurringFields","timezone","presenterUpdate","options","op","validateInputs","isRecurring","content","saveMeeting","_this4","_this$form$auto_exten","replace","start","auto_extend","_e","_m","preventDefault","apply","$set","ref","$refs","datepicker","duration","repeatEvery","_l","directives","rawName","domProps","_defineProperty","_q","style","DefaultLayout","NetworkMeetingForm","slug","network","Date","toJSON","slice","toLocaleTimeString","mounted","refresh","browserTZ","Intl","DateTimeFormat","resolvedOptions","timeZone","find","tz","defaultValue","$store","dispatch","networks","n","sendMeeting","post","catch","sendZoomMeeting","is_recurrent","cancelButton","buttonsStyling","concat","meeting_id","component","getters","$auth","can","$","$findIndex","addToUnscopables","SKIPS_HOLES","target","proto","forced","callbackfn"],"mappings":"iXAA2Y,EC8B5X,CACfA,WAAA,CACAC,a,OAAAA,GAEAC,MAAA,CACAC,mBAAA,CACAC,KAAA,CAAAC,MAAAC,QACAC,QAAA,OAGAC,KAAA,WACA,OACAC,uBAAA,GACAC,kBAAA,GACAC,uBAAA,GACAC,sBAAA,GACAC,SAAA,IAGAC,SAAA,CACAC,0BAAA,WACA,YAAAL,kBAAAM,QAAA,SAAAC,GAAA,OAAAA,EAAAC,cAAAD,EAAAE,aAGAC,MAAA,CACAX,uBAAAY,KAAA,SAAAC,GAAA,IAAAC,EAAA,KACAD,EAAAE,OAAA,GACA,KAAAC,MAAAC,IAAA,mCAAAJ,GAAAK,MAAA,SAAAC,GACAL,EAAAZ,uBAAAiB,EAAApB,KAAAqB,KAAA,SAAAZ,GAAA,OAAAM,EAAAO,gCAAAb,WAEA,KACAd,mBAAA,CACA4B,QAAA,SAAAC,GAA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ACa,YAAY,CAAC,OAAS,SAASV,MAAM,CAAC,SAAW,GAAG,KAAO,GAAG,MAAQ,MAAM,IAAM,wCAAwCH,EAAG,IAAI,CAACG,MAAM,CAAC,GAAK,iBAAiB,CAACL,EAAIgB,GAAGhB,EAAIiB,GAAGjB,EAAIM,GAAG,sCAAsC,GAAGN,EAAIgH,MAAM,GAAGhH,EAAIgH,OAEn1C,IGSpB,EACA,KACA,KACA,MAIa,UAAAgD,E,2CCjBf,IAAII,EAAI,EAAQ,QACZC,EAAa,EAAQ,QAAgClL,UACrDmL,EAAmB,EAAQ,QAG3BC,GAAc,EADD,aAKC,IAAIrO,MAAM,GAAa,WAAE,WAAcqO,GAAc,KAIvEH,EAAE,CAAEI,OAAQ,QAASC,OAAO,EAAMC,OAAQH,GAAe,CACvDpL,UAAW,SAAmBwL,GAC5B,OAAON,EAAWpK,KAAM0K,EAAY7E,UAAUzI,OAAS,EAAIyI,UAAU,QAAK/F,MAK9EuK,EAhBiB,c","file":"assets/js/chunk-ccbc78ae.ff930ab1.js","sourcesContent":["import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PresenterMeetingField.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PresenterMeetingField.vue?vue&type=script&lang=js\"","<template>\n  <div class=\"w-100\">\n    <div>\n      <vue-tags-input\n        v-model=\"selectedPresenterQuery\"\n        :placeholder=\"$t('network.networkForm.addPresenters')\"\n        :add-only-from-autocomplete=\"presenterSearchResults.length > 0\"\n        :autocomplete-filter-duplicates=\"false\"\n        :autocomplete-items=\"presenterSearchResults\"\n        :required=\"isEmpty\"\n        :tags=\"meetingPresenters\"\n        class=\"w-100\"\n        @tags-changed=\"newPresenterAddedToMeeting\"\n      >\n        <div slot=\"autocomplete-item\" slot-scope=\"props\" @click=\"props.performAdd(props.item)\">\n          <ul class=\"list-group\">\n            <li style=\"margin: 5px;\">\n              <span>{{ props.item.text }}</span><br />\n              <small><i class=\"fa fa-envelope small\"></i> {{ props.item.email }}</small>\n            </li>\n          </ul>\n        </div>\n      </vue-tags-input>\n    </div>\n  </div>\n</template>\n<script>\nimport debounce from 'lodash/debounce';\nimport VueTagsInput from '@johmun/vue-tags-input';\n\nexport default {\n  components: {\n    VueTagsInput,\n  },\n  props: {\n    existingPresenters: {\n      type: [Array, String],\n      default: null,\n    },\n  },\n  data() {\n    return {\n      selectedPresenterQuery: '',\n      meetingPresenters: [],\n      presenterSearchResults: [],\n      nonExistingPresenters: [],\n      isEmpty: true,\n    };\n  },\n  computed: {\n    alreadyExistingPresenters() {\n      return this.meetingPresenters.filter(p => p.presenter_id || p.user_id);\n    },\n  },\n  watch: {\n    selectedPresenterQuery: debounce(function (query) {\n      if (query.length > 0)\n        this.$http.get('presenters/users?limit=20&query=' + query).then(resp => {\n          this.presenterSearchResults = resp.data.map(p => this.getPresenterObjectFromUserModel(p));\n        });\n    }, 600),\n    existingPresenters: {\n      handler: function (newVal) {\n        if (newVal && newVal.length > 0) {\n          // Transform presenter to make it usable by tag-input-field and push to meetingPresenters\n          let temp = [];\n          if (Array.isArray(newVal)) {\n            newVal.forEach(p => temp.push(this.getPresenterObjectFromPresenterModel(p)));\n          } else {\n            temp.push(this.getPresenterObjectFromPresenterModel(newVal));\n          }\n          this.newPresenterAddedToMeeting(temp);\n        }\n      },\n      immediate: true,\n    },\n  },\n  methods: {\n    newPresenterAddedToMeeting(updatedPresentersList) {\n      // update all presenter lists\n      if(updatedPresentersList.length > 0){\n        this.isEmpty = false;\n      } else {\n        this.isEmpty = true;\n      }\n      this.meetingPresenters.splice(0);\n      this.nonExistingPresenters.splice(0);\n      updatedPresentersList.forEach(p => {\n        if (!(p.presenter_id || p.user_id)) this.nonExistingPresenters.push(p);\n        this.meetingPresenters.push(p);\n      });\n      this.$emit(\n        'presenter-form-field-update',\n        updatedPresentersList.map(a => ({ presenter_id: a.id, user_id: a.user_id, name: a.text }))\n      );\n    },\n    updatePresenterList(updatedData, id, name) {\n      let temp = Array.from(this.meetingPresenters);\n      let updatedPresenterIndex = temp.findIndex(p => p.presenter_id == id || p.text == name);\n      temp.splice(updatedPresenterIndex, 1, updatedData);\n      this.newPresenterAddedToMeeting(temp);\n    },\n    // Object Transformers\n    getPresenterObjectFromPresenterModel(p) {\n      if (!p.id) return { text: p.name };\n      return {\n        presenter_id: p.id,\n        user_id: p.user.user_id,\n        text: p.user.first_name + ' ' + p.user.last_name,\n        email: p.user.email,\n        short_bio: p.short_bio,\n        appointment: p.primary_appointment || null,\n        is_registered: p.user.is_registered,\n        userModel: p.user,\n        presenterModel: p,\n      };\n    },\n    getPresenterObjectFromUserModel(user) {\n      return {\n        user_id: user.user_id,\n        text: user.first_name + ' ' + user.last_name,\n        is_registered: user.is_registered,\n        email: user.email,\n        presenter_id: user.presenter ? user.presenter.id : undefined,\n        short_bio: user.presenter ? user.presenter.short_bio : undefined,\n        appointment: user.presenter ? user.presenter.primary_appointment || null : undefined,\n        userModel: user,\n        presenterModel: user.presenter,\n      };\n    },\n  },\n};\n</script>","import { render, staticRenderFns } from \"./PresenterMeetingField.vue?vue&type=template&id=4fe456db\"\nimport script from \"./PresenterMeetingField.vue?vue&type=script&lang=js\"\nexport * from \"./PresenterMeetingField.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w-100\"},[_c('div',[_c('vue-tags-input',{staticClass:\"w-100\",attrs:{\"placeholder\":_vm.$t('network.networkForm.addPresenters'),\"add-only-from-autocomplete\":_vm.presenterSearchResults.length > 0,\"autocomplete-filter-duplicates\":false,\"autocomplete-items\":_vm.presenterSearchResults,\"required\":_vm.isEmpty,\"tags\":_vm.meetingPresenters},on:{\"tags-changed\":_vm.newPresenterAddedToMeeting},scopedSlots:_vm._u([{key:\"autocomplete-item\",fn:function(props){return _c('div',{on:{\"click\":function($event){return props.performAdd(props.item)}}},[_c('ul',{staticClass:\"list-group\"},[_c('li',{staticStyle:{\"margin\":\"5px\"}},[_c('span',[_vm._v(_vm._s(props.item.text))]),_c('br'),_c('small',[_c('i',{staticClass:\"fa fa-envelope small\"}),_vm._v(\" \"+_vm._s(props.item.email))])])])])}}]),model:{value:(_vm.selectedPresenterQuery),callback:function ($$v) {_vm.selectedPresenterQuery=$$v},expression:\"selectedPresenterQuery\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkMeetingForm.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkMeetingForm.vue?vue&type=script&lang=js\"","<template>\n<div>\n  <div class=\"row\">\n    <div v-if=\"currentMeetingView == 'internalMeeting'\" class=\"container\">\n      <div v-if=\"!update && !isExtended && !busy\">\n        <h6>{{ $t('network.networkForm.have-a-meeting-link') }}\n          <strong class=\"text-primary\" role=\"button\" @click=\"currentMeetingView = 'externalMeeting'\">{{ $t('network.networkForm.insert-an-existing-meeting') }}</strong>\n        </h6>\n      </div>\n      <div v-if=\"isExtended && !busy\" class=\"mt-n3\">\n        <h6>Fill in the required details to extend occurrences for this meeting. Previous occurrences will be read-only.</h6>\n      </div>\n      <div v-if=\"!busy\" class=\"card shadow-lg\">\n        <div class=\"alert alert-warning alert-dismissible fade show text-black fw-semibold mx-3 mt-3 mb-0\" role=\"alert\">\n          <i class=\"fa-solid fa-triangle-exclamation fs-5 me-1\"></i>\n          <span>\n            Please be advised that once a Zoom meeting has been created, any modifications or updates to the meeting details must be made within Networks.\n            Making changes directly through Zoom will cause the meeting data to become out of sync with our records.\n            We appreciate your cooperation in ensuring data accuracy.\n          </span>\n          <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>\n        </div>\n        <div class=\"card-body\">\n          <form @submit.prevent=\"saveMeeting\">\n            <div class=\"row mt-2\">\n              <div class=\"col-sm-2\">\n                <strong>{{ $t('network.networkForm.topic') }}</strong>\n              </div>\n              <div class=\"col-sm-10\">\n                <b-form-input id=\"title\" v-model=\"form.title\" data-test=\"title\" :placeholder=\"this.$t('network.networkForm.title')\" class=\"mb-2\" required></b-form-input>\n                <b-form-textarea id=\"description\" v-model=\"form.content\" data-test=\"description\" :placeholder=\"this.$t('network.networkForm.description')\" rows=\"3\" max-rows=\"6\"></b-form-textarea>\n              </div>\n            </div>\n\n            <div class=\"row mt-4\">\n              <div class=\"col-sm-2\">\n                <strong>{{ $t('network.meeting.when') }}</strong>\n              </div>\n              <div class=\"col-sm-10 p-0\">\n                <div class=\"row\">\n                  <date-picker\n                    id=\"start-datepicker\"\n                    ref=\"datepicker\"\n                    v-model=\"form.start_date\"\n                    data-test=\"start-datepicker\"\n                    :valueType=\"'format'\"\n                    required\n                    style=\"width: 160px;\"\n                    @change=\"$refs.datepicker.value = form.start_date\"\n                  ></date-picker>\n                  <date-picker\n                    id=\"start_time\"\n                    v-model=\"form.start_time\"\n                    data-test=\"start_time\"\n                    format=\"hh:mm\"\n                    :hour-options=\"hours\"\n                    value-type=\"format\"\n                    type=\"time\"\n                    :placeholder=\"form.start_time\"\n                    locale=\"en\"\n                    required\n                    style=\"width: 135px;\"\n                  ></date-picker>\n                  <b-form-select\n                    id=\"am_pm\"\n                    v-model=\"am_pm\"\n                    data-test=\"am_pm\"\n                    :options=\"['AM', 'PM']\"\n                    required\n                    style=\"width: 77px; height: 32px; border-color: #ccc; text-align: center; margin: 1px 15px;\"\n                  ></b-form-select>\n                </div>\n              </div>\n            </div>\n\n            <div class=\"row mt-4\">\n              <div class=\"col-sm-2\">\n                <strong>{{ $t('network.meeting.duration') }}</strong>\n              </div>\n              <div class=\"col-sm-8 p-0\">\n                <div class=\"row\">\n                  <div class=\"col\">\n                  <b-form-group>\n                    <b-form-select id=\"duration\" v-model=\"form.duration\" data-test=\"duration\" :options=\"fiveHoursIn15MinutesInterval\" required\n                    style=\"width: 90px; height: 30px; border-radius: 1rem; border-color: rgb(192, 192, 192); text-align: center;\"></b-form-select>\n                  </b-form-group>\n                </div>\n              </div>\n            </div>\n          </div>\n\n            <div class=\"row mt-4\">\n              <div class=\"col-sm-2\">\n                <strong>{{ $t('presenter') }}</strong>\n              </div>\n              <div class=\"col-sm-10\">\n                  <b-form-group>\n                    <PresenterField :existingPresenters=\"form.presenter\" @presenter-form-field-update=\"presenterUpdate\" />\n                  </b-form-group>\n                </div>\n            </div>\n\n            <div class=\"row mt-4\">\n              <div class=\"col-sm-2\">\n                <strong>{{ $t('network.meeting.timezone') }}</strong>\n              </div>\n              <div class=\"col-sm-10\">\n                <v-select\n                  id=\"timezones\"\n                  v-model=\"form.timezone\"\n                  data-test=\"timezones\"\n                  :options=\"timezones\"\n                  label=\"name\"\n                  :placeholder=\"$t('network.meeting.selectTimezone')\"\n                  :disabled=\"forOccurrence\"\n                  :clearable=false\n                  style=\"max-width: 480px;\"\n                ></v-select>\n              </div>\n            </div>\n\n            <div v-if=\"!forOccurrence\" class=\"row mt-4\">\n              <div class=\"col-sm-2\"></div>\n              <div class=\"col-sm-10\">\n                <b-form-checkbox id=\"is_recurring\" v-model=\"form.isRecurring\" data-test=\"is_recurring\" :disabled=\"!validateNonRecurringFields()\" class=\"w-25 d-inline-block\">\n                  <strong>&nbsp;&nbsp;{{ $t('network.meeting.recurring') }}</strong>\n                </b-form-checkbox>\n              </div>\n            </div>\n\n            <div v-if=\"form.isRecurring && !forOccurrence\" class=\"row mt-4\">\n              <div class=\"col-sm-2\">\n              </div>\n              <div class=\"col-sm-10\">\n                <div class=\"row\">\n                  <div class=\"col-sm-2\">\n                    <strong>{{ $t('network.meeting.recurrence') }}</strong>\n                  </div>\n                  <div class=\"col-sm-8\">\n                    <b-form-select id=\"recurring_frequency\" v-model=\"form.recurring.frequency\" data-test=\"recurring_frequency\" :options=\"['Daily', 'Weekly', 'Monthly']\"\n                    style=\"width: 95px; height: 30px; border-radius: 1rem; border-color: rgb(192, 192, 192); text-align: center;\"></b-form-select>\n                  </div>\n                </div>\n                <div class=\"row mt-4\">\n                  <div class=\"col-sm-2\">\n                    <strong>{{ $t('network.meeting.repeatEvery') }}</strong>\n                  </div>\n                  <div class=\"col-sm-8\">\n                    <b-form-select\n                      id=\"recurring_repeat_every\"\n                      v-model=\"form.recurring.repeatEvery\"\n                      data-test=\"recurring_repeat_every\"\n                      :options=\"Array.from({ length: form.recurring.frequency === 'Daily' ? 15 : form.recurring.frequency === 'Weekly' ? 12 : 3 }, (_, i) => i + 1)\"\n                      class=\"timeInterval\"\n                    ></b-form-select>\n                    &nbsp;&nbsp;{{ form.recurring.frequency === 'Daily' ? 'Days' : form.recurring.frequency === 'Weekly' ? 'Weeks' : 'Months' }}\n                  </div>\n                </div>\n                <div v-if=\"form.recurring.frequency !== 'Daily'\" class=\"row mt-4\">\n                  <div class=\"col-sm-2\">\n                    <strong>{{ $t('network.meeting.occursOn') }}</strong>\n                  </div>\n                  <div class=\"col-sm-8\">\n                    <div v-if=\"form.recurring.frequency === 'Weekly'\">\n                      <b-form-checkbox-group v-model=\"form.recurring.occurs_on_array\" class=\"ml-2\" @change=\"resetWeeklyOccursOn\">\n                        <b-form-checkbox v-for=\"day in daysOfWeek\" id=\"day\" :key=\"day.id\" data-test=\"day\" :value=\"day\" class=\"w-10 d-inline-block\">&nbsp;{{ day.text }}&nbsp;&nbsp;</b-form-checkbox>\n                      </b-form-checkbox-group>\n                    </div>\n                    <div v-if=\"form.recurring.frequency === 'Monthly'\">\n                      <div class=\"form-check\">\n                        <label class=\"form-check-label fs-6\">\n                          <input\n                            id=\"chosen_monthly_type_one\"\n                            v-model=\"selectedMonthlyOption\"\n                            data-test=\"chosen_monthly_type_one\"\n                            name=\"chosenMonthlyType\"\n                            type=\"radio\"\n                            value=\"type_one\"\n                            class=\"form-check-input\"\n                            style=\"width: 1.5em; height: 1.5em;\"\n                            :checked=\"'type_one'\"\n                          />\n                          <span style=\"vertical-align: sub; margin-left: 10px;\">\n                            {{ $t('network.meeting.day') }}&nbsp;\n                            <b-form-select id=\"recurring_occurs_on_type_one\" v-model=\"form.recurring.occurs_on\" data-test=\"recurring_occurs_on_type_one\"\n                            :options=\"Array.from({ length: 31 }, (_, i) => i + 1)\" class=\"timeInterval\"\n                            :style=\"{'color': selectedMonthlyOption === 'type_two' ? 'white' : 'black'}\"></b-form-select>\n                            &nbsp;{{ $t('network.meeting.ofTheMonth') }}\n                          </span>\n                        </label>\n                      </div><br/>\n                      <div class=\"form-check\">\n                        <label class=\"form-check-label fs-6\">\n                          <input\n                            id=\"chosen_monthly_type_two\"\n                            v-model=\"selectedMonthlyOption\"\n                            data-test=\"chosen_monthly_type_two\"\n                            name=\"chosenMonthlyType\"\n                            type=\"radio\"\n                            value=\"type_two\"\n                            class=\"form-check-input\"\n                            style=\"width: 1.5em ; height: 1.5em;\"\n                            :checked=\"'type_two'\"\n                          />\n                          <span style=\"vertical-align: sub; margin-left: 10px;\">\n                            <b-form-select id=\"recurring_occurs_on_week\" v-model=\"form.recurring.occurs_on_week\" data-test=\"recurring_occurs_on_week\" class=\"timeInterval\"\n                            :style=\"{'color': selectedMonthlyOption === 'type_one' ? 'white' : 'black'}\" style=\"width: 125px;\"\n                            :options=\"[\n                                { text: 'First', value: 1 },\n                                { text: 'Second', value: 2 },\n                                { text: 'Third', value: 3 },\n                                { text: 'Fourth', value: 4 },\n                                { text: 'Last', value: 5 }\n                                ]\">\n                            </b-form-select>\n                            &nbsp;\n                            <b-form-select id=\"recurring_occurs_on_type_two\" v-model=\"form.recurring.occurs_on\" data-test=\"recurring_occurs_on_type_two\" class=\"timeInterval\"\n                            :style=\"{'color': selectedMonthlyOption === 'type_one' ? 'white' : 'black'}\" style=\"width: 125px;\"\n                            :options=\"[\n                                { text: 'Sunday', value: 1 },\n                                { text: 'Monday', value: 2 },\n                                { text: 'Tuesday', value: 3 },\n                                { text: 'Wednesday', value: 4 },\n                                { text: 'Thursday', value: 5 },\n                                { text: 'Friday', value: 6 },\n                                { text: 'Saturday', value: 7 }\n                              ]\">\n                            </b-form-select>\n                            &nbsp;{{ $t('network.meeting.ofTheMonth') }}\n                          </span>\n                        </label>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n                <div class=\"row mt-4\">\n                  <div class=\"col-sm-2\">\n                    <strong>{{ $t('network.meeting.endDate') }}</strong>\n                  </div>\n                  <div class=\"col-sm-8\">\n                    <date-picker\n                      id=\"enddate-picker\"\n                      ref=\"datepicker\"\n                      v-model=\"form.recurring.endDate\"\n                      data-test=\"enddate-picker\"\n                      :valueType=\"'format'\"\n                      required\n                      @change=\"$refs.datepicker.value = form.recurring.endDate\"\n                    ></date-picker>\n                  </div>\n                </div>\n              </div>\n              <div v-if=\"form.isRecurring && !forOccurrence\" class=\"row mt-4\">\n                <div class=\"col-sm-2\"></div>\n                <div class=\"col-sm-10\">\n                  <b-form-checkbox id=\"auto_extend\" v-model=\"form.auto_extend\" data-test=\"auto_extend\" class=\"d-inline-block\">\n                    <strong>&nbsp;&nbsp;Automatically extend after ending</strong>\n                  </b-form-checkbox>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-sm-2\"></div>\n              <div class=\"col-sm-10\">\n                <button id=\"save_meeting\" data-test=\"save_meeting\" type=\"submit\" class=\"btn btn-primary mt-4\">{{ $t('network.meeting.saveMeeting') }}</button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n      <div v-else class=\"text-center\">\n        <lottie-player\n          autoplay\n          loop\n\t        speed=\"2.5\"\n          src=\"/img/animations/custom_loader.json\"\n          class=\"m-6\"\n          style=\"height: 200px;\"\n          >\n        </lottie-player>\n      </div>\n    </div>\n    <div v-else class=\"container\">\n      <div v-if=\"!update\">\n        <h6>{{ $t('network.meeting.dont-have-a-meeting-link') }}\n          <strong role=\"button\" class=\"text-primary\" @click=\"currentMeetingView = 'internalMeeting'\">{{ $t('network.meeting.schedule-meeting-and-add-required-details') }}</strong>\n        </h6>\n      </div>\n      <div class=\"card shadow-lg\">\n        <div class=\"alert alert-warning alert-dismissible fade show text-black fw-semibold mx-3 mt-3 mb-0\" role=\"alert\">\n          <i class=\"fa-solid fa-triangle-exclamation fs-5 me-1\"></i>\n          <span>\n            Please be advised that once a Zoom meeting has been created, any modifications or updates to the meeting details must be made within Networks.\n            Making changes directly through Zoom will cause the meeting data to become out of sync with our records.\n            We appreciate your cooperation in ensuring data accuracy.\n          </span>\n          <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>\n        </div>\n        <div class=\"card-body\">\n          <form @submit.prevent=\"saveMeeting\">\n            <div class=\"row mt-2\">\n              <div class=\"col-sm-1 mt-2 p-0\">\n                <strong>{{ $t('network.meeting.meeting-id') }}</strong>\n              </div>\n              <div class=\"col-sm-11\">\n                  <b-form-input id=\"zoom_id\" v-model=\"zoom_id\" data-test=\"zoom_id\" :placeholder=\"$t('enter-meeting-id-10-or-11-digit-number-e-g-5551112222')\"\n                  style=\"border: 1px solid #ccc; padding: 8px; line-height: 1em; font-size: 14px;\" required></b-form-input>\n                </div>\n            </div>\n            <div class=\"row mt-4\">\n              <div class=\"col-sm-1 mt-2 p-0\">\n                <strong>{{ $t('presenter') }}</strong>\n              </div>\n              <div class=\"col-sm-11\">\n                <b-form-group>\n                  <PresenterField :existingPresenters=\"form.presenter\" @presenter-form-field-update=\"presenterUpdate\" />\n                </b-form-group>\n              </div>\n            </div>\n            <button id=\"save_meeting\" data-test=\"save_meeting\" type=\"submit\" class=\"btn btn-primary mt-4\">{{ $t('network.meeting.saveMeeting') }}</button>\n          </form>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n</template>\n<script>\nimport PresenterField from './presenters/PresenterMeetingField.vue';\nimport DatePicker from 'vue2-datepicker';\nimport 'vue2-datepicker/index.css';\nimport vSelect from 'vue-select';\nimport 'vue-select/dist/vue-select.css';\nimport moment from 'moment-timezone';\nexport default {\n  components: {\n    PresenterField,\n    DatePicker,\n    vSelect,\n  },\n  props: {\n    existingForm: {\n      type: Object,\n      default: null,\n    },\n    timezones: {\n      type: Array,\n      default: null,\n    },\n    forOccurrence: {\n      type: Boolean,\n      default: false,\n    },\n    update: {\n      type: Boolean,\n      default: false,\n    },\n    meeting: {\n      type: Object,\n      default: null,\n    },\n  },\n  data() {\n    return {\n      busy: true,\n      daysOfWeek: [\n        { id: 1, text: 'Sun' },\n        { id: 2, text: 'Mon' },\n        { id: 3, text: 'Tue' },\n        { id: 4, text: 'Wed' },\n        { id: 5, text: 'Thu' },\n        { id: 6, text: 'Fri' },\n        { id: 7, text: 'Sat' },\n      ],\n      fiveHoursIn15MinutesInterval: [\n        { value: '30', text: '30m' },\n        { value: '60', text: '1h' },\n        { value: '90', text: '1h 30m' },\n        { value: '120', text: '2h' },\n        { value: '150', text: '2h 30m' },\n        { value: '180', text: '3h' },\n        { value: '210', text: '3h 30m' },\n        { value: '240', text: '4h' },\n        { value: '270', text: '4h 30m' },\n        { value: '300', text: '5h' },\n      ],\n      hours: Array.from({ length: 12 }).map((_, i) => i + 0),\n      am_pm: 'PM',\n      form: null,\n      zoom_id: '',\n      currentMeetingView: 'internalMeeting',\n      meetingPresenters: [],\n      selectedMonthlyOption: '',\n      isExtended: (this.$route.params.isExtended !== undefined || this.$route.query.isExtended !== undefined) ? true : false,\n      isPastOccurrence: this.$route.params.isPastOccurrence ?? false,\n    };\n  },\n  watch: {\n    existingForm: {\n      handler: function (newVal) {\n        this.busy = true;\n        if (newVal.recurring && newVal.recurring.frequency == 'Weekly' && newVal.recurring.occurs_on) {\n          let occursOn = newVal.recurring.occurs_on.split(',');\n          newVal.recurring.occurs_on_array = this.daysOfWeek.filter(day => occursOn.includes('' + day.id));\n        }\n        this.form = JSON.parse(JSON.stringify(newVal));\n        this.am_pm = this.form.start_time ? moment(this.form.start_time, 'hh:mm A').format('A') : 'PM';\n        this.selectedMonthlyOption = this.form.recurring && this.form.recurring.occurs_on_week != null ? 'type_two' : 'type_one';\n        if (this.isExtended && !this.isPastOccurrence) {\n          // by default start date is date from last occurrence and end date is 1 year from start date\n          this.form.start_date = this.utcToLocal(this.$route.params.startTime).format('YYYY-MM-DD');\n          this.form.start_time = this.utcToLocal(this.$route.params.startTime).format('hh:mm A');\n          this.am_pm = moment(this.form.start_time, 'hh:mm A').format('A');\n          this.form.recurring.endDate =  moment(this.form.start_date).add(1, 'year').format('YYYY-MM-DD');\n        }\n        if (this.isPastOccurrence) {\n          this.form.start_date = null;\n          this.form.start_time = null;\n          this.form.recurring.endDate =  null;\n        }\n        setTimeout(() => {\n          this.busy = false;\n        }, 1000);\n      },\n      immediate: true,\n      deep: true,\n    },\n    'form.timezone': function (newVal) {\n      this.form.timezone_id = newVal.id;\n    },\n    '$route.query.isExtendedInAdvance': {\n      immediate: true,\n      handler(newVal) {\n        if (newVal !== undefined) {\n          document.body.classList.add('blur-background');\n          this.$http.put('/networks/meetings/autoextend/' + this.$route.params.id).then(() => {\n            this.$swal.fire({\n              icon: 'success',\n              title: 'This meeting will be automatically extended after its last occurrence.',\n              confirmButtonText: 'OK',\n              showCancelButton: false,\n              allowOutsideClick: false,\n              customClass: {\n                confirmButton: 'btn btn-primary',\n              },\n            }).then((result) => {\n              if(result.isConfirmed) {\n                document.body.classList.remove('blur-background');\n                this.$router.push('/networks/' + this.$route.query.network_slug + '/meetings');\n              }\n            });\n          });\n        }\n      },\n    },\n  },\n  methods: {\n    utcToLocal: function (dt) {\n      return moment.utc(dt).local();\n    },\n    moment(date = null) {\n      return moment(date);\n    },\n    resetWeeklyOccursOn(newVal) {\n      this.form.recurring.occurs_on = newVal.map(val => val.id).join(',');\n    },\n    validateNonRecurringFields() {\n      return this.form.start_date !== null && this.form.start_time !== null && (this.form.timezone && this.form.timezone.name.length !== 0);\n    },\n    presenterUpdate(options) {\n      if (Array.isArray(options)) {\n        this.meetingPresenters.splice(0);\n        options.forEach(op => this.meetingPresenters.push(op));\n      }\n    },\n    validateInputs() {\n      if (this.currentMeetingView == 'internalMeeting'){\n        if (!this.validateNonRecurringFields() || (this.form.isRecurring && !this.form.recurring.endDate) || this.form.content.length == 0) {\n          this.$swal.fire({\n            icon: 'error',\n            title: 'Oops!',\n            text: this.$t('it-seems-that-some-required-fields-are-missing-please-make-sure-to-fill-in-all-the-necessary-information-before-proceeding'),\n          });\n          return false;\n        }\n        return true;\n      }\n    },\n    saveMeeting() {\n      if (this.currentMeetingView == 'externalMeeting') {\n        if (this.meetingPresenters.length > 0) {\n          this.form = JSON.parse(JSON.stringify(this.form));\n          this.form.presenter.splice(0);\n          this.meetingPresenters.forEach(p => this.form.presenter.push(p));\n        }\n        this.$emit('network-zoom-meeting', (this.zoom_id).split(\" \").join(\"\"), this.form);\n      } else {\n        if (this.validateInputs()) {\n          if (this.meetingPresenters.length > 0) {\n            this.form = JSON.parse(JSON.stringify(this.form));\n            this.form.presenter.splice(0);\n            this.meetingPresenters.forEach(p => this.form.presenter.push(p));\n          }\n          if (this.form.recurring) delete this.form.recurring.occurs_on_array;\n\n          // remove AM/PM from start_time if it exists\n          let startTime = this.form.start_time.replace(/\\s?(AM|PM)/i, '');\n          // define the format string for parsing the input date and time\n          let format = 'YYYY-MM-DD hh:mm A';\n          // create the moment object with the input and the format\n          this.form.start_time = startTime + ' ' + this.am_pm;\n          this.form.start = moment(this.form.start_date + ' ' + startTime + ' ' + this.am_pm, format).format('YYYY-MM-DD hh:mm A');console.log(this.form.start);\n          this.form.isExtended = this.isExtended;\n          this.form.auto_extend = this.form.auto_extend ?? false;\n          this.$emit('network-meeting-form-update', this.form);\n        }\n      }\n    },\n  },\n};\n</script>\n<style scoped>\n.b-time-header {\n  display: none;\n}\n.meetings-page .nav-pills .nav-item .nav-link {\n  border-radius: 10px !important;\n  margin-right: 10px;\n  border: none;\n}\n.meetings-page .nav-pills .nav-item .nav-link.active {\n  background: none;\n  font-weight: bolder;\n  color: #926dde;\n}\n.ti-input {\n  border-radius: 0.75rem;\n}\ndiv.vue-tags-input.w-100 {\n  max-width: unset;\n}\n.mx-datepicker {\n  width: 125px;\n}\n.timeInterval {\n  width: 55px;\n  height: 30px;\n  border-radius: 1rem;\n  border-color: rgb(192, 192, 192);\n  text-align: center;\n}\n.card {\n  float: unset;\n}\nbody.blur-background > [aria-hidden='true'] {\n  transition: 0.1s filter;\n  filter: blur(3px);\n}\n</style>\n<style>\n.mx-table {\n  width: initial !important;\n}\n</style>","import { render, staticRenderFns } from \"./NetworkMeetingForm.vue?vue&type=template&id=09b8bfe5&scoped=true\"\nimport script from \"./NetworkMeetingForm.vue?vue&type=script&lang=js\"\nexport * from \"./NetworkMeetingForm.vue?vue&type=script&lang=js\"\nimport style0 from \"./NetworkMeetingForm.vue?vue&type=style&index=0&id=09b8bfe5&prod&scoped=true&lang=css\"\nimport style1 from \"./NetworkMeetingForm.vue?vue&type=style&index=1&id=09b8bfe5&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"09b8bfe5\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"row\"},[(_vm.currentMeetingView == 'internalMeeting')?_c('div',{staticClass:\"container\"},[(!_vm.update && !_vm.isExtended && !_vm.busy)?_c('div',[_c('h6',[_vm._v(_vm._s(_vm.$t('network.networkForm.have-a-meeting-link'))+\" \"),_c('strong',{staticClass:\"text-primary\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.currentMeetingView = 'externalMeeting'}}},[_vm._v(_vm._s(_vm.$t('network.networkForm.insert-an-existing-meeting')))])])]):_vm._e(),(_vm.isExtended && !_vm.busy)?_c('div',{staticClass:\"mt-n3\"},[_c('h6',[_vm._v(\"Fill in the required details to extend occurrences for this meeting. Previous occurrences will be read-only.\")])]):_vm._e(),(!_vm.busy)?_c('div',{staticClass:\"card shadow-lg\"},[_vm._m(0),_c('div',{staticClass:\"card-body\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.saveMeeting.apply(null, arguments)}}},[_c('div',{staticClass:\"row mt-2\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.networkForm.topic')))])]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-input',{staticClass:\"mb-2\",attrs:{\"id\":\"title\",\"data-test\":\"title\",\"placeholder\":this.$t('network.networkForm.title'),\"required\":\"\"},model:{value:(_vm.form.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}}),_c('b-form-textarea',{attrs:{\"id\":\"description\",\"data-test\":\"description\",\"placeholder\":this.$t('network.networkForm.description'),\"rows\":\"3\",\"max-rows\":\"6\"},model:{value:(_vm.form.content),callback:function ($$v) {_vm.$set(_vm.form, \"content\", $$v)},expression:\"form.content\"}})],1)]),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.when')))])]),_c('div',{staticClass:\"col-sm-10 p-0\"},[_c('div',{staticClass:\"row\"},[_c('date-picker',{ref:\"datepicker\",staticStyle:{\"width\":\"160px\"},attrs:{\"id\":\"start-datepicker\",\"data-test\":\"start-datepicker\",\"valueType\":'format',\"required\":\"\"},on:{\"change\":function($event){_vm.$refs.datepicker.value = _vm.form.start_date}},model:{value:(_vm.form.start_date),callback:function ($$v) {_vm.$set(_vm.form, \"start_date\", $$v)},expression:\"form.start_date\"}}),_c('date-picker',{staticStyle:{\"width\":\"135px\"},attrs:{\"id\":\"start_time\",\"data-test\":\"start_time\",\"format\":\"hh:mm\",\"hour-options\":_vm.hours,\"value-type\":\"format\",\"type\":\"time\",\"placeholder\":_vm.form.start_time,\"locale\":\"en\",\"required\":\"\"},model:{value:(_vm.form.start_time),callback:function ($$v) {_vm.$set(_vm.form, \"start_time\", $$v)},expression:\"form.start_time\"}}),_c('b-form-select',{staticStyle:{\"width\":\"77px\",\"height\":\"32px\",\"border-color\":\"#ccc\",\"text-align\":\"center\",\"margin\":\"1px 15px\"},attrs:{\"id\":\"am_pm\",\"data-test\":\"am_pm\",\"options\":['AM', 'PM'],\"required\":\"\"},model:{value:(_vm.am_pm),callback:function ($$v) {_vm.am_pm=$$v},expression:\"am_pm\"}})],1)])]),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.duration')))])]),_c('div',{staticClass:\"col-sm-8 p-0\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('b-form-group',[_c('b-form-select',{staticStyle:{\"width\":\"90px\",\"height\":\"30px\",\"border-radius\":\"1rem\",\"border-color\":\"rgb(192, 192, 192)\",\"text-align\":\"center\"},attrs:{\"id\":\"duration\",\"data-test\":\"duration\",\"options\":_vm.fiveHoursIn15MinutesInterval,\"required\":\"\"},model:{value:(_vm.form.duration),callback:function ($$v) {_vm.$set(_vm.form, \"duration\", $$v)},expression:\"form.duration\"}})],1)],1)])])]),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('presenter')))])]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-group',[_c('PresenterField',{attrs:{\"existingPresenters\":_vm.form.presenter},on:{\"presenter-form-field-update\":_vm.presenterUpdate}})],1)],1)]),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.timezone')))])]),_c('div',{staticClass:\"col-sm-10\"},[_c('v-select',{staticStyle:{\"max-width\":\"480px\"},attrs:{\"id\":\"timezones\",\"data-test\":\"timezones\",\"options\":_vm.timezones,\"label\":\"name\",\"placeholder\":_vm.$t('network.meeting.selectTimezone'),\"disabled\":_vm.forOccurrence,\"clearable\":false},model:{value:(_vm.form.timezone),callback:function ($$v) {_vm.$set(_vm.form, \"timezone\", $$v)},expression:\"form.timezone\"}})],1)]),(!_vm.forOccurrence)?_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"}),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-checkbox',{staticClass:\"w-25 d-inline-block\",attrs:{\"id\":\"is_recurring\",\"data-test\":\"is_recurring\",\"disabled\":!_vm.validateNonRecurringFields()},model:{value:(_vm.form.isRecurring),callback:function ($$v) {_vm.$set(_vm.form, \"isRecurring\", $$v)},expression:\"form.isRecurring\"}},[_c('strong',[_vm._v(\"  \"+_vm._s(_vm.$t('network.meeting.recurring')))])])],1)]):_vm._e(),(_vm.form.isRecurring && !_vm.forOccurrence)?_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"}),_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.recurrence')))])]),_c('div',{staticClass:\"col-sm-8\"},[_c('b-form-select',{staticStyle:{\"width\":\"95px\",\"height\":\"30px\",\"border-radius\":\"1rem\",\"border-color\":\"rgb(192, 192, 192)\",\"text-align\":\"center\"},attrs:{\"id\":\"recurring_frequency\",\"data-test\":\"recurring_frequency\",\"options\":['Daily', 'Weekly', 'Monthly']},model:{value:(_vm.form.recurring.frequency),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"frequency\", $$v)},expression:\"form.recurring.frequency\"}})],1)]),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.repeatEvery')))])]),_c('div',{staticClass:\"col-sm-8\"},[_c('b-form-select',{staticClass:\"timeInterval\",attrs:{\"id\":\"recurring_repeat_every\",\"data-test\":\"recurring_repeat_every\",\"options\":Array.from({ length: _vm.form.recurring.frequency === 'Daily' ? 15 : _vm.form.recurring.frequency === 'Weekly' ? 12 : 3 }, (_, i) => i + 1)},model:{value:(_vm.form.recurring.repeatEvery),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"repeatEvery\", $$v)},expression:\"form.recurring.repeatEvery\"}}),_vm._v(\"   \"+_vm._s(_vm.form.recurring.frequency === 'Daily' ? 'Days' : _vm.form.recurring.frequency === 'Weekly' ? 'Weeks' : 'Months')+\" \")],1)]),(_vm.form.recurring.frequency !== 'Daily')?_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.occursOn')))])]),_c('div',{staticClass:\"col-sm-8\"},[(_vm.form.recurring.frequency === 'Weekly')?_c('div',[_c('b-form-checkbox-group',{staticClass:\"ml-2\",on:{\"change\":_vm.resetWeeklyOccursOn},model:{value:(_vm.form.recurring.occurs_on_array),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"occurs_on_array\", $$v)},expression:\"form.recurring.occurs_on_array\"}},_vm._l((_vm.daysOfWeek),function(day){return _c('b-form-checkbox',{key:day.id,staticClass:\"w-10 d-inline-block\",attrs:{\"id\":\"day\",\"data-test\":\"day\",\"value\":day}},[_vm._v(\" \"+_vm._s(day.text)+\"  \")])}),1)],1):_vm._e(),(_vm.form.recurring.frequency === 'Monthly')?_c('div',[_c('div',{staticClass:\"form-check\"},[_c('label',{staticClass:\"form-check-label fs-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedMonthlyOption),expression:\"selectedMonthlyOption\"}],staticClass:\"form-check-input\",staticStyle:{\"width\":\"1.5em\",\"height\":\"1.5em\"},attrs:{\"id\":\"chosen_monthly_type_one\",\"data-test\":\"chosen_monthly_type_one\",\"name\":\"chosenMonthlyType\",\"type\":\"radio\",\"value\":\"type_one\"},domProps:{\"checked\":'type_one',\"checked\":_vm._q(_vm.selectedMonthlyOption,\"type_one\")},on:{\"change\":function($event){_vm.selectedMonthlyOption=\"type_one\"}}}),_c('span',{staticStyle:{\"vertical-align\":\"sub\",\"margin-left\":\"10px\"}},[_vm._v(\" \"+_vm._s(_vm.$t('network.meeting.day'))+\"  \"),_c('b-form-select',{staticClass:\"timeInterval\",style:({'color': _vm.selectedMonthlyOption === 'type_two' ? 'white' : 'black'}),attrs:{\"id\":\"recurring_occurs_on_type_one\",\"data-test\":\"recurring_occurs_on_type_one\",\"options\":Array.from({ length: 31 }, (_, i) => i + 1)},model:{value:(_vm.form.recurring.occurs_on),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"occurs_on\", $$v)},expression:\"form.recurring.occurs_on\"}}),_vm._v(\"  \"+_vm._s(_vm.$t('network.meeting.ofTheMonth'))+\" \")],1)])]),_c('br'),_c('div',{staticClass:\"form-check\"},[_c('label',{staticClass:\"form-check-label fs-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedMonthlyOption),expression:\"selectedMonthlyOption\"}],staticClass:\"form-check-input\",staticStyle:{\"width\":\"1.5em\",\"height\":\"1.5em\"},attrs:{\"id\":\"chosen_monthly_type_two\",\"data-test\":\"chosen_monthly_type_two\",\"name\":\"chosenMonthlyType\",\"type\":\"radio\",\"value\":\"type_two\"},domProps:{\"checked\":'type_two',\"checked\":_vm._q(_vm.selectedMonthlyOption,\"type_two\")},on:{\"change\":function($event){_vm.selectedMonthlyOption=\"type_two\"}}}),_c('span',{staticStyle:{\"vertical-align\":\"sub\",\"margin-left\":\"10px\"}},[_c('b-form-select',{staticClass:\"timeInterval\",staticStyle:{\"width\":\"125px\"},style:({'color': _vm.selectedMonthlyOption === 'type_one' ? 'white' : 'black'}),attrs:{\"id\":\"recurring_occurs_on_week\",\"data-test\":\"recurring_occurs_on_week\",\"options\":[\n                                { text: 'First', value: 1 },\n                                { text: 'Second', value: 2 },\n                                { text: 'Third', value: 3 },\n                                { text: 'Fourth', value: 4 },\n                                { text: 'Last', value: 5 }\n                                ]},model:{value:(_vm.form.recurring.occurs_on_week),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"occurs_on_week\", $$v)},expression:\"form.recurring.occurs_on_week\"}}),_vm._v(\"   \"),_c('b-form-select',{staticClass:\"timeInterval\",staticStyle:{\"width\":\"125px\"},style:({'color': _vm.selectedMonthlyOption === 'type_one' ? 'white' : 'black'}),attrs:{\"id\":\"recurring_occurs_on_type_two\",\"data-test\":\"recurring_occurs_on_type_two\",\"options\":[\n                                { text: 'Sunday', value: 1 },\n                                { text: 'Monday', value: 2 },\n                                { text: 'Tuesday', value: 3 },\n                                { text: 'Wednesday', value: 4 },\n                                { text: 'Thursday', value: 5 },\n                                { text: 'Friday', value: 6 },\n                                { text: 'Saturday', value: 7 }\n                              ]},model:{value:(_vm.form.recurring.occurs_on),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"occurs_on\", $$v)},expression:\"form.recurring.occurs_on\"}}),_vm._v(\"  \"+_vm._s(_vm.$t('network.meeting.ofTheMonth'))+\" \")],1)])])]):_vm._e()])]):_vm._e(),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.endDate')))])]),_c('div',{staticClass:\"col-sm-8\"},[_c('date-picker',{ref:\"datepicker\",attrs:{\"id\":\"enddate-picker\",\"data-test\":\"enddate-picker\",\"valueType\":'format',\"required\":\"\"},on:{\"change\":function($event){_vm.$refs.datepicker.value = _vm.form.recurring.endDate}},model:{value:(_vm.form.recurring.endDate),callback:function ($$v) {_vm.$set(_vm.form.recurring, \"endDate\", $$v)},expression:\"form.recurring.endDate\"}})],1)])]),(_vm.form.isRecurring && !_vm.forOccurrence)?_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-2\"}),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-checkbox',{staticClass:\"d-inline-block\",attrs:{\"id\":\"auto_extend\",\"data-test\":\"auto_extend\"},model:{value:(_vm.form.auto_extend),callback:function ($$v) {_vm.$set(_vm.form, \"auto_extend\", $$v)},expression:\"form.auto_extend\"}},[_c('strong',[_vm._v(\"  Automatically extend after ending\")])])],1)]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-2\"}),_c('div',{staticClass:\"col-sm-10\"},[_c('button',{staticClass:\"btn btn-primary mt-4\",attrs:{\"id\":\"save_meeting\",\"data-test\":\"save_meeting\",\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t('network.meeting.saveMeeting')))])])])])])]):_c('div',{staticClass:\"text-center\"},[_c('lottie-player',{staticClass:\"m-6\",staticStyle:{\"height\":\"200px\"},attrs:{\"autoplay\":\"\",\"loop\":\"\",\"speed\":\"2.5\",\"src\":\"/img/animations/custom_loader.json\"}})],1)]):_c('div',{staticClass:\"container\"},[(!_vm.update)?_c('div',[_c('h6',[_vm._v(_vm._s(_vm.$t('network.meeting.dont-have-a-meeting-link'))+\" \"),_c('strong',{staticClass:\"text-primary\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.currentMeetingView = 'internalMeeting'}}},[_vm._v(_vm._s(_vm.$t('network.meeting.schedule-meeting-and-add-required-details')))])])]):_vm._e(),_c('div',{staticClass:\"card shadow-lg\"},[_vm._m(1),_c('div',{staticClass:\"card-body\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.saveMeeting.apply(null, arguments)}}},[_c('div',{staticClass:\"row mt-2\"},[_c('div',{staticClass:\"col-sm-1 mt-2 p-0\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('network.meeting.meeting-id')))])]),_c('div',{staticClass:\"col-sm-11\"},[_c('b-form-input',{staticStyle:{\"border\":\"1px solid #ccc\",\"padding\":\"8px\",\"line-height\":\"1em\",\"font-size\":\"14px\"},attrs:{\"id\":\"zoom_id\",\"data-test\":\"zoom_id\",\"placeholder\":_vm.$t('enter-meeting-id-10-or-11-digit-number-e-g-5551112222'),\"required\":\"\"},model:{value:(_vm.zoom_id),callback:function ($$v) {_vm.zoom_id=$$v},expression:\"zoom_id\"}})],1)]),_c('div',{staticClass:\"row mt-4\"},[_c('div',{staticClass:\"col-sm-1 mt-2 p-0\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('presenter')))])]),_c('div',{staticClass:\"col-sm-11\"},[_c('b-form-group',[_c('PresenterField',{attrs:{\"existingPresenters\":_vm.form.presenter},on:{\"presenter-form-field-update\":_vm.presenterUpdate}})],1)],1)]),_c('button',{staticClass:\"btn btn-primary mt-4\",attrs:{\"id\":\"save_meeting\",\"data-test\":\"save_meeting\",\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t('network.meeting.saveMeeting')))])])])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"alert alert-warning alert-dismissible fade show text-black fw-semibold mx-3 mt-3 mb-0\",attrs:{\"role\":\"alert\"}},[_c('i',{staticClass:\"fa-solid fa-triangle-exclamation fs-5 me-1\"}),_c('span',[_vm._v(\" Please be advised that once a Zoom meeting has been created, any modifications or updates to the meeting details must be made within Networks. Making changes directly through Zoom will cause the meeting data to become out of sync with our records. We appreciate your cooperation in ensuring data accuracy. \")]),_c('button',{staticClass:\"btn-close\",attrs:{\"type\":\"button\",\"data-bs-dismiss\":\"alert\",\"aria-label\":\"Close\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"alert alert-warning alert-dismissible fade show text-black fw-semibold mx-3 mt-3 mb-0\",attrs:{\"role\":\"alert\"}},[_c('i',{staticClass:\"fa-solid fa-triangle-exclamation fs-5 me-1\"}),_c('span',[_vm._v(\" Please be advised that once a Zoom meeting has been created, any modifications or updates to the meeting details must be made within Networks. Making changes directly through Zoom will cause the meeting data to become out of sync with our records. We appreciate your cooperation in ensuring data accuracy. \")]),_c('button',{staticClass:\"btn-close\",attrs:{\"type\":\"button\",\"data-bs-dismiss\":\"alert\",\"aria-label\":\"Close\"}})])\n}]\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkMeetingForm.vue?vue&type=style&index=0&id=09b8bfe5&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkMeetingForm.vue?vue&type=style&index=1&id=09b8bfe5&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.network)?_c('DefaultLayout',{attrs:{\"nav-mode\":\"light\"}},[_c('b-overlay',{attrs:{\"show\":_vm.busy}},[_c('div',{staticClass:\"py-8 container\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(_vm._s(_vm.$t('network.createMeeting')))]),_c('div',{staticClass:\"input-section\"},[(_vm.$store.getters['isUserIntegratedToZoom'])?_c('div',[_c('NetworkMeetingForm',{attrs:{\"timezones\":_vm.timezones,\"existingForm\":_vm.form},on:{\"network-meeting-form-update\":_vm.sendMeeting,\"network-zoom-meeting\":_vm.sendZoomMeeting}})],1):_c('div',{staticClass:\"alert alert-warning text-black fw-semibold\"},[_vm._v(\" \"+_vm._s(_vm.$t('network.meeting.zoomIntegrationRequired'))+\" \"),_c('br'),(this.$auth.can('zoom.link-account'))?_c('router-link',{staticClass:\"btn btn-info mt-3 btn-sm\",attrs:{\"to\":\"/profile\"}},[_vm._v(\" \"+_vm._s(_vm.$t('network.user.visitProfile'))+\" \")]):_c('router-link',{staticClass:\"btn btn-info mt-3 btn-sm\",attrs:{\"to\":\"/unauthorized-zoom\"}},[_vm._v(\" \"+_vm._s(_vm.$t('home.learnMore'))+\" \")])],1)])])]),(_vm.busy)?_c('div',{staticClass:\"text-center fixed-centered\"},[_c('lottie-player',{staticStyle:{\"height\":\"130px\"},attrs:{\"autoplay\":\"\",\"loop\":\"\",\"speed\":\"2.5\",\"src\":\"/img/animations/custom_loader.json\"}}),_c('p',{attrs:{\"id\":\"cancel-label\"}},[_vm._v(_vm._s(_vm.$t('network.meetingSaveInProgress')))])],1):_vm._e()],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Create.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Create.vue?vue&type=script&lang=js\"","<template>\n  <DefaultLayout v-if=\"network\" nav-mode=\"light\">\n    <!-- /.header -->\n\n    <b-overlay :show=\"busy\">\n      <div class=\"py-8 container\">\n        <h4 class=\"mb-4\">{{ $t('network.createMeeting') }}</h4>\n        <div class=\"input-section\">\n          <div v-if=\"$store.getters['isUserIntegratedToZoom']\">\n            <NetworkMeetingForm :timezones=\"timezones\" :existingForm=\"form\" @network-meeting-form-update=\"sendMeeting\" @network-zoom-meeting=\"sendZoomMeeting\" />\n          </div>\n          <div v-else class=\"alert alert-warning text-black fw-semibold\">\n            {{ $t('network.meeting.zoomIntegrationRequired') }}\n            <br />\n            <router-link v-if=\"this.$auth.can('zoom.link-account')\" to=\"/profile\" class=\"btn btn-info mt-3 btn-sm\">\n              {{ $t('network.user.visitProfile') }}\n            </router-link>\n            <router-link v-else to=\"/unauthorized-zoom\" class=\"btn btn-info mt-3 btn-sm\">\n              {{ $t('home.learnMore') }}\n            </router-link>\n          </div>\n        </div>\n      </div>\n    </b-overlay>\n\n    <div v-if=\"busy\" class=\"text-center fixed-centered\">\n      <lottie-player\n        autoplay\n        loop\n\t      speed=\"2.5\"\n        src=\"/img/animations/custom_loader.json\"\n        style=\"height: 130px;\"\n        >\n      </lottie-player>\n      <p id=\"cancel-label\">{{ $t('network.meetingSaveInProgress') }}</p>\n    </div>\n  </DefaultLayout>\n</template>\n<script>\nimport DefaultLayout from '@/views/layouts/default/';\nimport NetworkMeetingForm from '@/components/forms/meeting/NetworkMeetingForm.vue';\n\nexport default {\n  components: {\n    DefaultLayout,\n    NetworkMeetingForm,\n  },\n  props: {\n    slug: {\n      type: String,\n      default: null,\n    },\n  },\n  data() {\n    return {\n      timezones: [],\n      network: null,\n      busy: false,\n      form: {\n        title: '',\n        content: '',\n        timezone: '',\n        timezone_id: '',\n        start_date: new Date().toJSON().slice(0, 10),\n        start_time: new Date().toLocaleTimeString().slice(0, 8),\n        duration: 60,\n        isRecurring: false,\n        recurring: {\n          frequency: this.$t('network.meeting.daily'),\n          repeatEvery: 1,\n          occurs_on: '',\n          occurs_on_week: '',\n          endDate: '',\n        },\n        presenter: [],\n        auto_extend: false,\n      },\n      zoom_id: '',\n    };\n  },\n  mounted() {\n    this.refresh();\n    this.$http.get('timezones').then(resp => {\n      this.timezones = resp.data;\n      let browserTZ = Intl.DateTimeFormat().resolvedOptions().timeZone;\n      this.form.timezone = resp.data.find(tz => tz.name == browserTZ);\n      if (!this.form.timezone) {\n        this.$swal.fire({\n          icon: 'info',\n          title: this.$t('user.timezone.notFound', {\n            defaultValue: 'We were unable to match your timezone ({{timezone}}), please select it from the list.',\n            timezone: browserTZ,\n          }),\n        });\n        this.form.timezone = resp.data.find(tz => tz.name == 'UTC');\n      }\n      this.form.timezone_id = this.form.timezone.id;\n    });\n  },\n  methods: {\n    // check the route parameter and the store, and refresh it if needed\n    refresh() {\n      if (this.network == null || this.network.slug != this.slug) {\n        // refresh it!\n        this.busy = true;\n\n        this.$store.dispatch('loadManagedNetworks').then(networks => {\n          this.networks = networks;\n          this.network = this.networks.find(n => n.slug == this.slug);\n          this.busy = false;\n        });\n      }\n    },\n    sendMeeting(form) {\n      this.busy = true;\n      this.$http\n        .post('networks/' + this.network.slug + '/meetings', form)\n        .then(() => {\n          this.$router.push('/networks/' + this.network.slug + '/meetings');\n        })\n        .catch(() => {\n          this.busy = false;\n        });\n    },\n    sendZoomMeeting(zoom_id, form){\n      this.busy = true;\n      let data = [];\n      data.push({ zoom_id: zoom_id, presenter: form.presenter});\n      this.$http.post('networks/' + this.network.slug + '/meetings/external', data)\n      .then(resp => {\n        if (resp.data.is_recurrent) {\n          this.$swal.fire({\n            icon: 'info',\n            title: 'Do you wish to set this meeting to be automatically extended after it ends? You can edit this later.',\n            showCancelButton: true,\n            confirmButtonText: this.$t('ResearchCreds.yes'),\n            customClass: {\n              confirmButton: 'btn btn-success mx-1',\n              cancelButton: 'btn btn-primary mx-1',\n            },\n            buttonsStyling: false,\n          }).then((result) => {\n            if (result.isConfirmed) {\n              this.$http.put(`networks/meetings/autoextend/${resp.data.meeting_id}`).then(() => {\n                this.$router.push('/networks/' + this.network.slug + '/meetings');\n              });\n            }\n          });\n        } else {\n          this.$router.push('/networks/' + this.network.slug + '/meetings');\n        }\n      })\n      .catch(() => {\n        this.busy = false;\n      });\n    }\n  },\n};\n</script>","import { render, staticRenderFns } from \"./Create.vue?vue&type=template&id=6b280007\"\nimport script from \"./Create.vue?vue&type=script&lang=js\"\nexport * from \"./Create.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-findindex -- testing\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n  findIndex: function findIndex(callbackfn /* , that = undefined */) {\n    return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n"],"sourceRoot":""}