\r\n \r\n\r\n\r\n\r\n\r\n\r\n","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!./Fairs.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!./Fairs.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Fairs.vue?vue&type=template&id=1b607a04&scoped=true&\"\nimport script from \"./Fairs.vue?vue&type=script&lang=js&\"\nexport * from \"./Fairs.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Fairs.vue?vue&type=style&index=0&id=1b607a04&scoped=true&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 \"1b607a04\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card\",attrs:{\"bg-variant\":\"dark\",\"text-variant\":\"white\",\"title\":\"Details for a new fair have been saved.\"}},[_c('b-card-text',[_vm._v(\" Use this link to sign up \")]),_c('b-card-group',[_c('div',{staticClass:\"link-button\"},[_c('b-form-input',{ref:\"input\",staticClass:\"readonly-input\",attrs:{\"readonly\":\"\",\"placeholder\":\"Enter your name\"},model:{value:(_vm.url),callback:function ($$v) {_vm.url=$$v},expression:\"url\"}}),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"copy-button\",attrs:{\"title\":\"copy to clipboard\"},on:{\"click\":_vm.copyToClipboard}},[_c('b-icon',{attrs:{\"icon\":\"clipboard\"}})],1)],1)]),_c('b-button',{staticClass:\"home-button\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.redirect}},[_vm._v(\"Home\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\r\n* Created by Linfeng Li on 03/01/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n/**\r\n* page shows when a fair is successfully created\r\n* also providing a sign up link for employer\r\n*/\r\n\r\n\r\n \r\n \r\n Use this link to sign up\r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n
\r\n \r\n Home\r\n \r\n\r\n\r\n\r\n\r\n","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!./Finished.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!./Finished.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Finished.vue?vue&type=template&id=ecc22fb4&scoped=true&\"\nimport script from \"./Finished.vue?vue&type=script&lang=js&\"\nexport * from \"./Finished.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Finished.vue?vue&type=style&index=0&id=ecc22fb4&scoped=true&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 \"ecc22fb4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex-box\"},[(_vm.registrationTimeState === 'right')?_c('b-form',{staticClass:\"form\",on:{\"submit\":_vm.onSubmit}},[_c('b-container',[_c('b-row',[_c('b-col',[_c('b-card',{attrs:{\"bg-variant\":\"dark\",\"text-variant\":\"white\"}},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\" \"+_vm._s(_vm.fairName)+\" \")]),_c('b-card-text',{staticClass:\"card-date-and-time\"},[_c('div',{staticClass:\"card-date\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.startDate))]),_c('div',[_vm._v(\" \"+_vm._s(_vm.endDate))])])])],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{staticClass:\"labels\",staticStyle:{\"margin-top\":\"5px\"},attrs:{\"id\":\"input-group-1\",\"label\":\"Company Name\",\"label-for\":\"input-2\"}},[_c('b-form-input',{attrs:{\"id\":\"input-1\",\"placeholder\":\"name\",\"required\":\"\"},model:{value:(_vm.companyName),callback:function ($$v) {_vm.companyName=$$v},expression:\"companyName\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Org Type\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar ariaDescribedby = ref.ariaDescribedby;\nreturn [_c('b-form-radio-group',{attrs:{\"id\":\"btn-radios-2\",\"options\":_vm.orgList,\"aria-describedby\":ariaDescribedby,\"button-variant\":\"outline-primary\",\"size\":\"lg\",\"name\":\"radio-btn-outline\",\"buttons\":\"\",\"stacked\":\"\",\"required\":\"\"},model:{value:(_vm.selected_org),callback:function ($$v) {_vm.selected_org=$$v},expression:\"selected_org\"}})]}}],null,false,4203103349)}),_vm._v(\" Base Fee: $\"+_vm._s(this.findOrgFee(_vm.selected_org))+\" \")],1),_c('b-col',[_c('b-form-group',{staticClass:\"labels\",attrs:{\"id\":\"input-group-1\",\"label\":\"Full name\",\"label-for\":\"input-2\"}},[_c('b-form-input',{attrs:{\"id\":\"input-1\",\"placeholder\":\"name\",\"required\":\"\"},model:{value:(_vm.contact.name),callback:function ($$v) {_vm.$set(_vm.contact, \"name\", $$v)},expression:\"contact.name\"}})],1),_c('b-form-group',{staticClass:\"labels\",attrs:{\"id\":\"input-group-2\",\"label\":\"Email address\",\"label-for\":\"input-1\"}},[_c('b-form-input',{attrs:{\"id\":\"input-1\",\"type\":\"email\",\"placeholder\":\"email\",\"required\":\"\"},model:{value:(_vm.contact.email),callback:function ($$v) {_vm.$set(_vm.contact, \"email\", $$v)},expression:\"contact.email\"}})],1),_c('b-form-group',{staticClass:\"labels\",attrs:{\"id\":\"input-group-3\",\"label\":\"Phone Number\",\"label-for\":\"input-1\"}},[_c('b-form-input',{attrs:{\"id\":\"input-1\",\"type\":\"text\",\"placeholder\":\"phone number\",\"required\":\"\",\"state\":_vm.validatePhoneNumber},model:{value:(_vm.contact.phone),callback:function ($$v) {_vm.$set(_vm.contact, \"phone\", $$v)},expression:\"contact.phone\"}}),_c('b-form-valid-feedback',{attrs:{\"state\":_vm.validatePhoneNumber}},[_vm._v(\" Looks Good. \")]),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validatePhoneNumber}},[_vm._v(\" Input must be 10 numbers \")])],1)],1)],1),_c('b-table',{ref:\"selectableTable\",attrs:{\"items\":_vm.extras,\"fields\":_vm.fields,\"select-mode\":\"multi\",\"responsive\":\"sm\",\"selectable\":\"\",\"hover\":\"\"},on:{\"row-selected\":_vm.onRowSelected},scopedSlots:_vm._u([{key:\"cell(selected)\",fn:function(ref){\nvar rowSelected = ref.rowSelected;\nreturn [(rowSelected)?[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\" ✓ \")]),_c('span',{staticClass:\"sr-only\"},[_vm._v(\" Selected \")])]:[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_c('b-icon',{attrs:{\"icon\":\"square\"}})],1),_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Not selected\")])]]}},{key:\"cell(description)\",fn:function(data){return [_c('p',{staticClass:\"description-box\"},[_vm._v(\" \"+_vm._s(data.item.Description)+\" \")])]}},{key:\"cell(details)\",fn:function(data){return [_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"variant\":\"primary\",\"title\":\"see detail description\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.detailButton($event)}}},[_c('b-icon',{attrs:{\"icon\":\"info-circle\"}})],1),_c('PopUpViewOnly',{attrs:{\"item\":data.item.Name,\"price\":data.item.Fee,\"description\":data.item.Description}})]}}],null,false,3971511119)})],1),_c('p',[_vm._v(\" Your total is: $\"+_vm._s(_vm.findTotal())+\" \")]),_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"primary\"}},[_vm._v(\"Submit\")])],1):(_vm.registrationTimeState === 'late')?_c('b-card',{staticClass:\"message-card\",attrs:{\"bg-variant\":\"dark\",\"text-variant\":\"white\",\"title\":\"Message\"}},[_c('b-card-text',[_vm._v(\" Sorry \"+_vm._s(this.fairName)+\"'s registration period has passed. \")]),_c('b-card-text',[_vm._v(\" Please contact career fair admin. \")])],1):(_vm.registrationTimeState === 'early')?_c('b-card',{staticClass:\"message-card\",attrs:{\"bg-variant\":\"dark\",\"text-variant\":\"white\",\"title\":\"Message\"}},[_c('b-card-text',[_vm._v(\" Sorry \"+_vm._s(this.fairName)+\"'s registration period hasn't started yet. \")]),_c('b-card-text',[_vm._v(\" Please contact career fair admin. \")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{attrs:{\"id\":\"modal-2\",\"title\":\"Added Item\",\"ok-only\":\"\"},on:{\"ok\":_vm.onSubmit}},[_c('b-form',[_c('b-form-group',{attrs:{\"label\":\"Item Name:\"}},[_c('b-form-input',{attrs:{\"readonly\":\"\"},model:{value:(_vm.item_local),callback:function ($$v) {_vm.item_local=$$v},expression:\"item_local\"}})],1),_c('b-form-group',{attrs:{\"label\":\"Price:\"}},[_c('b-form-input',{attrs:{\"readonly\":\"\",\"type\":\"number\"},model:{value:(_vm.price_local),callback:function ($$v) {_vm.price_local=$$v},expression:\"price_local\"}})],1),_c('b-form-group',{attrs:{\"label\":\"Description:\"}},[_c('b-form-textarea',{attrs:{\"readonly\":\"\"},model:{value:(_vm.description_local),callback:function ($$v) {_vm.description_local=$$v},expression:\"description_local\"}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\r\n* Created by Linfeng Li on 03/03/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n/**\r\n* non-editable popup window for extra items\r\n*/\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n","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!./PopUpViewOnly.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!./PopUpViewOnly.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PopUpViewOnly.vue?vue&type=template&id=c55b4240&scoped=true&\"\nimport script from \"./PopUpViewOnly.vue?vue&type=script&lang=js&\"\nexport * from \"./PopUpViewOnly.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 \"c55b4240\",\n null\n \n)\n\nexport default component.exports","/**\r\n* Created by Linfeng Li on 03/01/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n/**\r\n* page for employer to sign up for a fair\r\n* company name, employer name, email and phone number and org type\r\n* are required\r\n*/\r\n\r\n\r\n
\r\n Submit\r\n \r\n\r\n \r\n \r\n Sorry {{ this.fairName }}'s registration period has passed.\r\n \r\n \r\n Please contact career fair admin.\r\n \r\n \r\n\r\n \r\n \r\n Sorry {{ this.fairName }}'s registration period hasn't started yet.\r\n \r\n \r\n Please contact career fair admin.\r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n","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!./FairSignUp.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!./FairSignUp.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FairSignUp.vue?vue&type=template&id=d6a17d80&scoped=true&\"\nimport script from \"./FairSignUp.vue?vue&type=script&lang=js&\"\nexport * from \"./FairSignUp.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FairSignUp.vue?vue&type=style&index=0&id=d6a17d80&scoped=true&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 \"d6a17d80\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex-box\"},[_c('b-form',{staticClass:\"table\",on:{\"submit\":_vm.onSubmit}},[_c('b-container',{staticClass:\"picker\",attrs:{\"required\":\"\"}},[_c('b-form-group',{staticClass:\"labels\",attrs:{\"id\":\"input-group-4\",\"label\":\"Name\",\"label-for\":\"input-2\"}},[_c('b-form-input',{attrs:{\"id\":\"input-1\",\"placeholder\":\"Enter Fair Name\",\"required\":\"\"},model:{value:(_vm.fairName),callback:function ($$v) {_vm.fairName=$$v},expression:\"fairName\"}})],1),_c('b-row',[_c('b-col',[_vm._v(\" Event start date \"),_c('b-form-datepicker',{staticClass:\"mb-2\",attrs:{\"state\":_vm.validateEventDate,\"required\":\"\",\"id\":\"e-start-datepicker\",\"min\":_vm.minDate},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateEventDate}},[_vm._v(\" required \")])],1),_c('b-col',[_vm._v(\" Event end date \"),_c('b-form-datepicker',{staticClass:\"mb-2\",attrs:{\"state\":_vm.validateEventDate,\"required\":\"\",\"id\":\"e-end-datepicker\",\"min\":_vm.minDate},model:{value:(_vm.endDate),callback:function ($$v) {_vm.endDate=$$v},expression:\"endDate\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateEventDate}},[_vm._v(\" required \")])],1)],1),_c('b-row',[_c('b-col',[_vm._v(\" Registration Start Date \"),_c('b-form-datepicker',{staticClass:\"mb-2\",attrs:{\"required\":\"\",\"id\":\"r-start-datepicker\",\"state\":_vm.validateRegistrationDate,\"min\":_vm.minDate},model:{value:(_vm.RegistrationStartDate),callback:function ($$v) {_vm.RegistrationStartDate=$$v},expression:\"RegistrationStartDate\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateRegistrationDate}},[_vm._v(\" required and start date needs to be before end date \")])],1),_c('b-col',[_vm._v(\" Registration End Date \"),_c('b-form-datepicker',{staticClass:\"mb-2\",attrs:{\"required\":\"\",\"id\":\"r-end-datepicker\",\"state\":_vm.validateRegistrationDate,\"min\":_vm.minDate},model:{value:(_vm.RegistrationEndDate),callback:function ($$v) {_vm.RegistrationEndDate=$$v},expression:\"RegistrationEndDate\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateRegistrationDate}},[_vm._v(\" required and end date needs to be after start date \")])],1)],1)],1),_c('b-container',{staticClass:\"CFOAP\"},[_c('b-row',[_c('b-col',[_vm._v(\" Chart \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"state\":_vm.validateC,\"lazy-formatter\":\"\",\"formatter\":_vm.singleDigitFormatter,\"placeholder\":\"#\"},model:{value:(_vm.CFOAP.chart),callback:function ($$v) {_vm.$set(_vm.CFOAP, \"chart\", $$v)},expression:\"CFOAP.chart\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateC}},[_vm._v(\" required and code needs to be a single non-negative digit. \")])],1),_c('b-col',[_vm._v(\" Fund \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"state\":_vm.validateF,\"lazy-formatter\":\"\",\"formatter\":_vm.sixDigitFormatter,\"placeholder\":\"######\"},model:{value:(_vm.CFOAP.fund),callback:function ($$v) {_vm.$set(_vm.CFOAP, \"fund\", $$v)},expression:\"CFOAP.fund\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateF}},[_vm._v(\" required and code needs to be 6 non-negative digits with no leading zeros. \")])],1),_c('b-col',[_vm._v(\" Org \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"state\":_vm.validateO,\"lazy-formatter\":\"\",\"formatter\":_vm.sixDigitFormatter,\"placeholder\":\"######\"},model:{value:(_vm.CFOAP.org),callback:function ($$v) {_vm.$set(_vm.CFOAP, \"org\", $$v)},expression:\"CFOAP.org\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateO}},[_vm._v(\" required and code needs to be 6 non-negative digits with no leading zeros. \")])],1),_c('b-col',[_vm._v(\" Account \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"state\":_vm.validateA,\"lazy-formatter\":\"\",\"formatter\":_vm.sixDigitFormatter,\"placeholder\":\"######\"},model:{value:(_vm.CFOAP.account),callback:function ($$v) {_vm.$set(_vm.CFOAP, \"account\", $$v)},expression:\"CFOAP.account\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateA}},[_vm._v(\" required and code needs to be 6 non-negative digits with no leading zeros. \")])],1),_c('b-col',[_vm._v(\" Program \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"state\":_vm.validateP,\"lazy-formatter\":\"\",\"formatter\":_vm.sixDigitFormatter,\"placeholder\":\"######\"},model:{value:(_vm.CFOAP.program),callback:function ($$v) {_vm.$set(_vm.CFOAP, \"program\", $$v)},expression:\"CFOAP.program\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validateP}},[_vm._v(\" required and code needs to be 6 non-negative digits with no leading zeros. \")])],1)],1)],1),_c('b-container',[_c('b-row',{staticClass:\"org-item-row\"},[_c('b-col',[_vm._v(\" Organization Fees \"),_c('b-col',[_c('b-row',[_vm._v(\" Non- Profit / Government / School Districts $ \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"required\":\"\",\"step\":\"0.01\",\"lazy-formatter\":\"\",\"formatter\":_vm.formatter},model:{value:(_vm.orgFees.non_profit_Gov_SD),callback:function ($$v) {_vm.$set(_vm.orgFees, \"non_profit_Gov_SD\", $$v)},expression:\"orgFees.non_profit_Gov_SD\"}})],1),_c('b-row',[_vm._v(\" Corporate $ \"),_c('b-form-input',{attrs:{\"type\":\"number\",\"required\":\"\",\"step\":\"0.01\",\"lazy-formatter\":\"\",\"formatter\":_vm.formatter},model:{value:(_vm.orgFees.corporate),callback:function ($$v) {_vm.$set(_vm.orgFees, \"corporate\", $$v)},expression:\"orgFees.corporate\"}})],1)],1)],1),_c('b-col',[_vm._v(\" Extra Items \"),_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$bvModal.show('modal-1')}}},[_c('b-icon',{attrs:{\"icon\":\"plus-circle\"}})],1),_c('PopUp',{on:{\"addItem\":_vm.addToList}}),_c('div',{staticClass:\"list-container\"},[_c('ExtraItems',{attrs:{\"list\":this.extra_list,\"showDeleteButton\":true},on:{\"deleteFromList\":_vm.deleteFromList}})],1)],1)],1),_c('b-button',{staticClass:\"submitButton\",attrs:{\"block\":\"\",\"type\":\"submit\",\"variant\":\"primary\"}},[_vm._v(\" Submit \")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((this.list),function(value,index){return _c('b-list-group',{key:index},[_c('b-card',{staticClass:\"card\",attrs:{\"no-body\":\"\"}},[_c('b-card-header',{staticClass:\"p-1\",attrs:{\"role\":\"tab\"}},[_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('accordion-' + index),expression:\"'accordion-' + index\"}],attrs:{\"block\":\"\",\"variant\":\"outline-primary\"}},[_c('b-container',[_c('b-row',[_c('b-col',[_vm._v(\" \"+_vm._s(value.Name)+\" \")]),_c('b-col',[_vm._v(\" $\"+_vm._s(value.Fee)+\" \")])],1)],1)],1)],1),_c('b-collapse',{attrs:{\"id\":'accordion-' + index,\"accordion\":\"my-accordion\",\"role\":\"tabpanel\"}},[_c('b-card-body',{staticClass:\"card-body\"},[_c('b-card-text',{staticClass:\"card-description\"},[_vm._v(_vm._s(value.Description))]),(_vm.showDeleteButton)?_c('b-button',{staticClass:\"button\",attrs:{\"block\":\"\",\"variant\":\"outline-danger\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.$emit('deleteFromList', index)}}},[_c('b-icon',{attrs:{\"icon\":\"trash\"}})],1):_vm._e()],1)],1)],1)],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\r\n* Created by Linfeng Li on 02/26/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n\r\n/**\r\n- display a list of cards passed in from parent component\r\n- a delete button to delete a certain card from the list by emitting the parent helper function\r\n*/\r\n\r\n
\r\n\r\n\r\n\r\n\r\n","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!./ExtraItems.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!./ExtraItems.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ExtraItems.vue?vue&type=template&id=04d18492&scoped=true&\"\nimport script from \"./ExtraItems.vue?vue&type=script&lang=js&\"\nexport * from \"./ExtraItems.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ExtraItems.vue?vue&type=style&index=0&id=04d18492&scoped=true&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 \"04d18492\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{attrs:{\"id\":\"modal-1\",\"title\":\"Item detail\",\"ok-title\":\"Save\",\"ok-disabled\":_vm.saveButtonState},on:{\"show\":_vm.resetModal,\"hidden\":_vm.resetModal,\"ok\":_vm.onSubmit}},[_c('b-form',{on:{\"submit\":_vm.onSubmit}},[_c('b-form-group',{attrs:{\"label\":\"Item Name:\"}},[_c('b-form-input',{attrs:{\"required\":\"\"},model:{value:(_vm.item_local),callback:function ($$v) {_vm.item_local=$$v},expression:\"item_local\"}})],1),_c('b-form-group',{attrs:{\"label\":\"Price:\"}},[_c('b-form-input',{attrs:{\"type\":\"number\",\"step\":\"0.01\",\"required\":\"\",\"lazy-formatter\":\"\",\"formatter\":_vm.formatter},model:{value:(_vm.price_local),callback:function ($$v) {_vm.price_local=$$v},expression:\"price_local\"}})],1),_c('b-form-group',{attrs:{\"label\":\"Description:\"}},[_c('b-form-textarea',{model:{value:(_vm.description_local),callback:function ($$v) {_vm.description_local=$$v},expression:\"description_local\"}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\r\n* Created by Linfeng Li on 02/26/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n/**\r\n * editable popup window for extra items\r\n*/\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n","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!./PopUp.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!./PopUp.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PopUp.vue?vue&type=template&id=725e3be0&scoped=true&\"\nimport script from \"./PopUp.vue?vue&type=script&lang=js&\"\nexport * from \"./PopUp.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 \"725e3be0\",\n null\n \n)\n\nexport default component.exports","/**\r\n* Created by Linfeng Li on 02/24/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n/**\r\n* interface for admin to create a career fair.\r\n* both name, date, start/end time, registration start/end date\r\n* are required\r\n*/\r\n\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n Event start date\r\n \r\n \r\n \r\n required\r\n \r\n \r\n\r\n \r\n Event end date\r\n \r\n \r\n \r\n required\r\n \r\n \r\n\r\n \r\n \r\n \r\n Registration Start Date\r\n \r\n \r\n \r\n required and start date needs to be before end date\r\n \r\n\r\n\r\n \r\n \r\n Registration End Date\r\n \r\n \r\n \r\n required and end date needs to be after start date\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Chart\r\n \r\n \r\n required and code needs to be a single non-negative digit.\r\n \r\n \r\n \r\n Fund\r\n \r\n \r\n required and code needs to be 6 non-negative digits with no leading zeros.\r\n \r\n \r\n \r\n Org\r\n \r\n \r\n required and code needs to be 6 non-negative digits with no leading zeros.\r\n \r\n \r\n \r\n Account\r\n \r\n \r\n required and code needs to be 6 non-negative digits with no leading zeros.\r\n \r\n \r\n \r\n Program\r\n \r\n \r\n required and code needs to be 6 non-negative digits with no leading zeros.\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Organization Fees\r\n \r\n \r\n Non- Profit / Government / School Districts $\r\n \r\n \r\n \r\n \r\n Corporate $\r\n \r\n \r\n \r\n \r\n \r\n Extra Items\r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n","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!./Edit.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!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=78f74d24&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Edit.vue?vue&type=style&index=0&id=78f74d24&scoped=true&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 \"78f74d24\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const clientId = \"8e89aa77-5b42-47d9-9cb7-8cd2bfffc3a1\";\r\nconst tenantId = \"e202cd47-7a56-4baa-99e3-e3b71a7c77dd\";\r\n\r\n\r\nconst msalConfig = {\r\n auth: {\r\n clientId: clientId,\r\n redirectUri: process.env.VUE_APP_AZ_REDIRECT_URL,\r\n // tenantId: tenantId,\r\n // redirectUri: process.env.CALL_BACK_URL,\r\n // postLogoutRedirectUri: process.env.VUE_APP_AZ_REDIRECT_URL,\r\n authority: \"https://login.microsoftonline.com/\" + tenantId + \"/\"\r\n },\r\n cache: {\r\n cacheLocation: \"sessionStorage\", // This configures where your cache will be stored\r\n storeAuthStateInCookie: false // Set this to \"true\" if you are having issues on IE11 or Edge\r\n }\r\n};\r\n\r\nconst loginRequest = {\r\n scopes: [\"user.read\"],\r\n};\r\n\r\nconst silentRequest = {\r\n scopes: [\"user.read\"],\r\n loginHint: \"\"\r\n};\r\n\r\n\r\nexport default { msalConfig, loginRequest, silentRequest };","\r\n \r\n\r\n\r\n\r\n","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!./Login.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!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=11159b9f&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n","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!./BlankLayout.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!./BlankLayout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BlankLayout.vue?vue&type=template&id=2e3cad7e&scoped=true&\"\nimport script from \"./BlankLayout.vue?vue&type=script&lang=js&\"\nexport * from \"./BlankLayout.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 \"2e3cad7e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.status === 'valid')?_c('b-card',{staticClass:\"card\",attrs:{\"bg-variant\":\"dark\",\"text-variant\":\"white\",\"title\":\"Payment received\"}},[_c('b-card-text',[_vm._v(\" Save this this token for future reference. \"),_c('b-form-input',{ref:\"input\",staticClass:\"readonly-input\",attrs:{\"readonly\":\"\"},model:{value:(_vm.token),callback:function ($$v) {_vm.token=$$v},expression:\"token\"}}),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"copy-button\",attrs:{\"title\":\"copy to clipboard\"},on:{\"click\":_vm.copyToClipboard}},[_c('b-icon',{attrs:{\"icon\":\"clipboard\"}})],1)],1),_c('b-card-text',[_vm._v(\" You may close the tab now. \")])],1):(_vm.status === 'invalid')?_c('b-card',{staticClass:\"card\",attrs:{\"bg-variant\":\"dark\",\"text-variant\":\"white\",\"title\":\"Oops, something went wrong\"}},[_c('b-card-text',[_vm._v(\" Please save this token and contact career fair admin. \"),_c('b-form-input',{ref:\"input\",staticClass:\"readonly-input\",attrs:{\"readonly\":\"\"},model:{value:(_vm.token),callback:function ($$v) {_vm.token=$$v},expression:\"token\"}}),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"copy-button\",attrs:{\"title\":\"copy to clipboard\"},on:{\"click\":_vm.copyToClipboard}},[_c('b-icon',{attrs:{\"icon\":\"clipboard\"}})],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\r\n* Created by Linfeng Li on 04/02/21\r\n* University of Illinois at Chicago\r\n*/\r\n\r\n\r\n
\r\n\r\n \r\n \r\n Save this this token for future reference.\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n You may close the tab now.\r\n \r\n \r\n\r\n \r\n \r\n Please save this token and contact career fair admin.\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n","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!./PayCompleted.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!./PayCompleted.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PayCompleted.vue?vue&type=template&id=f5a4647c&scoped=true&\"\nimport script from \"./PayCompleted.vue?vue&type=script&lang=js&\"\nexport * from \"./PayCompleted.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PayCompleted.vue?vue&type=style&index=0&id=f5a4647c&scoped=true&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 \"f5a4647c\",\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\r\nimport VueRouter from \"vue-router\";\r\nimport Home from \"../views/Home.vue\";\r\nimport Fairs from \"../views/fairs/Fairs\";\r\nimport Finished from \"../views/fairs/Finished\";\r\nimport FairSignUp from \"../views/fairs/FairSignUp\";\r\nimport Create from \"../views/fairs/Create\";\r\nimport Edit from \"../views/fairs/Edit\";\r\nimport UserAuthStore from '../services/user.services';\r\nimport Login from \"../components/Login\";\r\nimport BlankLayout from \"../layouts/BlankLayout\";\r\nimport PayCompleted from \"../views/payment-status-pages/PayCompleted\";\r\n\r\nVue.use(VueRouter);\r\n\r\n\r\nconst routes = [\r\n {\r\n path: \"/\",\r\n redirect: \"login\",\r\n component: Home,\r\n children: [\r\n {\r\n name: \"Login\",\r\n path: \"login\",\r\n component: Login,\r\n },\r\n {\r\n name: \"FairSignUp\",\r\n path: \"fairSignup/:fairId\",\r\n component: FairSignUp,\r\n props: true,\r\n },\r\n {\r\n name: \"PayCompleted\",\r\n path: \"payCompleted\",\r\n component: PayCompleted,\r\n },\r\n {\r\n path: \"/home\",\r\n name: \"Home\",\r\n component: BlankLayout,\r\n children: [\r\n {\r\n name: \"Fairs\",\r\n path: \"fairs\",\r\n component: Fairs,\r\n\r\n },\r\n {\r\n name: \"Create\",\r\n path: \"create\",\r\n component: Create,\r\n },\r\n {\r\n name: \"Finished\",\r\n path: \"finished/:fairId\",\r\n component: Finished,\r\n props: true,\r\n },\r\n {\r\n name: \"Edit\",\r\n path: \"edit/:fairId\",\r\n component: Edit,\r\n props: true,\r\n },\r\n ],\r\n beforeEnter: (to, from, next) => {\r\n if (UserAuthStore.isUserAuthenticated()) {\r\n console.log('%c NAV OCCURED', 'background: #006699; color: #bada55');\r\n console.log(from.path, to.path);\r\n next();\r\n } else {\r\n if (to.path !== null) {\r\n sessionStorage.setItem(\"latestPage\", to.path);\r\n }\r\n next('Login');\r\n }\r\n },\r\n }\r\n ]\r\n },\r\n];\r\n\r\nconst router = new VueRouter({\r\n mode: \"history\",\r\n base: process.env.BASE_URL,\r\n routes\r\n});\r\n\r\nexport default router;\r\n","import * as Msal from \"@azure/msal-browser\";\r\nimport config from \"./config\";\r\nimport ApiService from \"../api/api.services\";\r\nimport router from \"../../router/router\";\r\n\r\nimport userAuthStore from '../user.services'\r\n\r\n\r\n/*\r\n * Browser check variables\r\n * If you support IE, our recommendation is that you sign-in using Redirect APIs\r\n * If you as a developer are testing using Edge InPrivate mode, please add \"isEdge\" to the if check\r\n */\r\nconst ua = window.navigator.userAgent;\r\nconst msie = ua.indexOf(\"MSIE \");\r\nconst msie11 = ua.indexOf(\"Trident/\");\r\nconst msedge = ua.indexOf(\"Edge/\");\r\n\r\n/* eslint-disable no-unused-vars */\r\nconst isIE = msie > 0 || msie11 > 0;\r\nconst isEdge = msedge > 0;\r\n\r\nlet signInType;\r\n\r\n/* eslint-disable no-unused-vars */\r\n\r\nexport default class AuthService {\r\n constructor() {\r\n this.msalInstance;\r\n }\r\n\r\n initAuthService() {\r\n console.info('Initialized new auth service');\r\n\r\n this.msalInstance = new Msal.PublicClientApplication(config.msalConfig);\r\n this.msalInstance.handleRedirectPromise().then(this.authRedirectCallback.bind(this)).catch((error) => {\r\n console.error('Failed to handleRedirectPromise ', error);\r\n });\r\n }\r\n\r\n async authRedirectCallback(resp) {\r\n const isInIframe = window.parent !== window;\r\n if (!isInIframe) {\r\n if (resp !== null) {\r\n if (resp.accessToken != null) {\r\n await ApiService.setHeader(resp.accessToken);\r\n await userAuthStore.setUserAuthenticated(resp.accessToken);\r\n this.goHome();\r\n }\r\n } else {\r\n console.log('Non Callback. Attempting Silent Login. SHhhhhhh!')\r\n let LS_UIC_PC_lhint = \"\";\r\n if (localStorage.getItem(\"LS_UIC_Demowebapp_lhint\")) {\r\n LS_UIC_PC_lhint = localStorage.getItem(\"LS_UIC_Demowebapp_lhint\");\r\n\r\n }\r\n if (LS_UIC_PC_lhint === \"\") {\r\n return;\r\n }\r\n config.silentRequest.loginHint = LS_UIC_PC_lhint;\r\n this.msalInstance.ssoSilent(config.silentRequest)\r\n .then(() => {\r\n const currentAccounts = this.msalInstance.getAllAccounts();\r\n if (currentAccounts.length > 0) {\r\n let AD_accountId = currentAccounts[0].homeAccountId;\r\n let AD_username = currentAccounts[0].username;\r\n this.getTokenRedirect(currentAccounts[0]);\r\n } else {\r\n console.error('SSO Login Action returned 0 accounts. Contact SA TECH SUPPORT')\r\n }\r\n })\r\n .catch(error => {\r\n console.error(\"Silent Error 2: \", error);\r\n if (error.errorCode === \"consent_required\"\r\n || error.errorCode === \"interaction_required\"\r\n || error.errorCode === \"login_required\") {\r\n this.ManualSignIn(null);\r\n }\r\n })\r\n }\r\n } else {\r\n console.error('IFRAME DETECTED')\r\n }\r\n }\r\n\r\n\r\n async getTokenRedirect(account) {\r\n config.loginRequest.account = account;\r\n return await this.msalInstance.acquireTokenSilent(config.loginRequest)\r\n .then(async (tokenResp) => {\r\n console.log('Acquired Token Silently', tokenResp);\r\n if (tokenResp.accessToken != null) {\r\n await ApiService.setHeader(tokenResp.accessToken);\r\n await userAuthStore.setUserAuthenticated(tokenResp.accessToken);\r\n this.goHome();\r\n } else {\r\n console.error(\"User Authenticated but Silent token acquisition fails.\");\r\n }\r\n })\r\n .catch(async (error) => {\r\n console.error(\"Silent token acquisition fails.\", error);\r\n if (error.errorCode === \"interaction_required\") {\r\n // fallback to interaction when silent call fails\r\n console.log(\"acquiring token using redirect\");\r\n await this.msalInstance.acquireTokenRedirect(config.loginRequest);\r\n } else {\r\n console.error(error);\r\n }\r\n });\r\n }\r\n\r\n async ManualSignIn(email) {\r\n if (email != null && email !== \"\") {\r\n config.silentRequest.loginHint = email;\r\n }\r\n else {\r\n let LS_UIC_PC_lhint = \"\";\r\n if (localStorage.getItem(\"LS_UIC_Demowebapp_lhint\")) {\r\n LS_UIC_PC_lhint = localStorage.getItem(\"LS_UIC_Demowebapp_lhint\");\r\n }\r\n if (LS_UIC_PC_lhint === \"\") {\r\n return;\r\n }\r\n config.silentRequest.loginHint = LS_UIC_PC_lhint;\r\n }\r\n return this.msalInstance.loginRedirect(config.silentRequest);\r\n }\r\n\r\n logoutRedirect() {\r\n // clear this or else the logout success will take u back to sts.uic.edu login flow\r\n localStorage.setItem(\"LS_UIC_Demowebapp_lhint\", \"\");\r\n var logoutVal =\r\n `https://login.windows.net/${config.msalConfig.auth.tenantId}/oauth2/logout?post_logout_redirect_uri=` +\r\n process.env.VUE_APP_AZ_REDIRECT_URL;\r\n window.location.href = logoutVal;\r\n }\r\n\r\n goHome() {\r\n if (sessionStorage.getItem(\"latestPage\") !== null) {\r\n router.push(sessionStorage.getItem(\"latestPage\"));\r\n sessionStorage.removeItem(\"latestPage\");\r\n } else {\r\n router.push(\"/home/fairs\");\r\n }\r\n }\r\n}","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from \"./router/router\";\r\nimport {store} from \"./store/store\";\r\n\r\nimport { BootstrapVue, IconsPlugin } from 'bootstrap-vue'\r\n\r\n\r\nimport AuthService from \"./services/auth/msal\"\r\nimport ApiService from \"./services/api/api.services\"\r\n\r\nVue.config.productionTip = false\r\nVue.prototype.$AuthService = new AuthService();\r\n\r\n// TODO MOUNT HTTP INTERCEPTOR HERE\r\nApiService.init();\r\n\r\n\r\n// Install BootstrapVue\r\nVue.use(BootstrapVue)\r\n// Optionally install the BootstrapVue icon components plugin\r\nVue.use(IconsPlugin)\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: h => h(App),\r\n}).$mount('#app')\r\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","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!./PayCompleted.vue?vue&type=style&index=0&id=f5a4647c&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!./Create.vue?vue&type=style&index=0&id=20f279be&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!./Edit.vue?vue&type=style&index=0&id=78f74d24&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!./ExtraItems.vue?vue&type=style&index=0&id=04d18492&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!./Fairs.vue?vue&type=style&index=0&id=1b607a04&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!./Footer.vue?vue&type=style&index=0&id=88aa1990&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!./FairSignUp.vue?vue&type=style&index=0&id=d6a17d80&scoped=true&lang=css&\""],"sourceRoot":""}