{"version":3,"sources":["webpack:///./node_modules/core-js/internals/same-value.js","webpack:///./src/mixins/radius.mixin.js","webpack:///./src/mixins/infiniteScroll.mixin.js","webpack:///./src/mixins/refresh.mixin.js","webpack:///./node_modules/@capacitor/geolocation/dist/esm/index.js","webpack:///./src/mixins/setUserPosition.mixin.js","webpack:///./src/mixins/AutoRefreshTimer.mixin.js","webpack:///./src/mixins/HumanDiff.mixin.js","webpack:///./src/components/modals/SelectFacilityEventsModal.vue","webpack:///src/components/modals/SelectFacilityEventsModal.vue","webpack:///./src/components/modals/SelectFacilityEventsModal.vue?8a7e","webpack:///./src/components/modals/SelectFacilityEventsModal.vue?70b8","webpack:///./src/mixins/getLocation.js","webpack:///./node_modules/core-js/modules/es.string.search.js","webpack:///./src/components/Popover.vue","webpack:///src/components/Popover.vue","webpack:///./src/components/Popover.vue?abf7","webpack:///./src/components/Popover.vue?e354","webpack:///./src/mixins/PopOver.js","webpack:///./src/components/items/EventItem.vue","webpack:///src/components/items/EventItem.vue","webpack:///./src/components/items/EventItem.vue?ba15","webpack:///./src/components/items/EventItem.vue?87d8"],"names":["module","exports","Object","is","x","y","RadiusMixin","data","radius","radiusSliderOpened","methods","initialRadius","key","_this","_asyncToGenerator","_regeneratorRuntime","mark","_callee","newRadius","wrap","_context","prev","next","Preferences","get","sent","value","JSON","parse","stop","changeRadius","event","_this2","_callee2","_context2","target","set","stringify","infiniteScrollMixin","page","loadingMore","resetInfiniteScroll","this","loadMore","modelName","previousVariables","paginatorInfo","hasMorePages","complete","abrupt","$apollo","queries","previousVariablesJson","fetchMore","variables","_objectSpread","updateQuery","previousResult","_ref","fetchMoreResult","_defineProperty","__typename","concat","_toConsumableArray","refreshMixin","doRefresh","model","refetch","Geolocation","web","then","m","GeolocationWeb","setUserPositionMixin","latitude","longitude","setUserPosition","_position$coords","position","getCurrentPosition","enableHighAccuracy","coords","t0","code","displayGeolocationWarning","captureException","REMINDER_DELAY","now","storageValue","remindAfterTime","Date","GEOLOCATION_REMIND_AFTER","parseInt","toString","$ionic","toastController","create","color","message","$t","showCloseButton","toast","present","AutoRefreshTimer","autoRefreshTimer","autoRefreshInterval","autoRefreshState","autoRefreshFunction","mounted","setInterval","onAutoRefresh","beforeDestroy","clearInterval","HumanDiff","humanDiff","suffix","arguments","length","undefined","tz","APP_DEFAULTS","DEFAULT_TIMEZONE","realSeconds","moment","String","diff","humanize","ss","render","_vm","_c","_self","attrs","title","on","$event","modalController","dismiss","slot","_v","_s","showPopoverFilter","selectedFilter","loading","getAllFacilityEvents","debouncing","filtered","_l","item","id","isDisabled","selectItem","staticStyle","isSelected","_e","selected","count","itemsHidden","staticClass","clearSelection","limitReached","limit","submit","buttonLabel","staticRenderFns","props","type","facility_id","Number","onSubmit","Function","excludedIds","Array","default","components","BaseModal","EventItem","mixins","filterOptions","system_name","computed","events","visibleItemIds","map","filter","includes","apollo","query","GET_ALL_FACILITY_EVENTS","fetchPolicy","debounce","defaultPaginationConfig","filter_by","isExcluded","find","i","splice","idx","findIndex","push","_this3","_callee3","popup","_context3","popoverController","component","Popover","componentProps","parent","propsData","items","translucent","getLocation","location","name","getLocationValueOrError","city","street","state","country","number","zip_code","object","Error","call","fixRegExpWellKnownSymbolLogic","anObject","isNullOrUndefined","requireObjectCoercible","sameValue","getMethod","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","O","searcher","RegExp","string","rx","S","res","done","previousLastIndex","lastIndex","result","index","clickItem","Type","required","currentPopover","popOver","dismissPopover","p","isButton","$apiStorageUrl","image","_f","held_at","organizer","showFacility","host_facility","cancelled_at","eventSoldOut","eventIsOpen","Boolean","_event$event_category","event_category","noTicketsAvailable","noProductsAvailable"],"mappings":"kHAIAA,EAAOC,QAAUC,OAAOC,IAAM,SAAYC,EAAGC,GAE3C,OAAOD,IAAMC,EAAU,IAAND,GAAW,EAAIA,IAAM,EAAIC,EAAID,GAAKA,GAAKC,GAAKA,I,kUCJlDC,EAAe,CAC1BC,KAAI,WACF,MAAO,CACLC,OAAQ,IACR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ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","import { Preferences } from '@capacitor/preferences';\n\nexport const RadiusMixin = {\n data() {\n return {\n radius: 200,\n radiusSliderOpened: false,\n }\n },\n methods: {\n async initialRadius(key) {\n const radius = await Preferences.get({ key: key });\n\n const newRadius = radius.value;\n if(newRadius) {\n this.radius = JSON.parse(newRadius);\n }\n },\n async changeRadius(event, key) {\n this.radius = event.target.value\n\n await Preferences.set({ key: key, value: JSON.stringify(this.radius) });\n }\n },\n}","export const infiniteScrollMixin = {\n data() {\n return {\n page: 1,\n loadingMore: true,\n }\n },\n methods: {\n resetInfiniteScroll() {\n this.page = 1;\n this.loadingMore = true;\n },\n async loadMore(event, modelName) {\n if(!this[modelName].paginatorInfo.hasMorePages) {\n event.target.complete();\n this.loadingMore = false;\n return;\n }\n this.page++;\n\n let previousVariables = JSON.parse(this.$apollo.queries[modelName].previousVariablesJson);\n await this.$apollo.queries[modelName].fetchMore({\n variables: {\n ...previousVariables,\n page: this.page\n },\n updateQuery: (previousResult, { fetchMoreResult }) => {\n return {\n [modelName]: {\n __typename: previousResult[modelName].__typename,\n data: [...previousResult[modelName].data, ...fetchMoreResult[modelName].data],\n paginatorInfo: fetchMoreResult[modelName].paginatorInfo\n }\n }\n },\n\n });\n\n event.target.complete();\n },\n }\n}\n","export const refreshMixin = {\n methods: {\n async doRefresh(event, model) {\n await this.$apollo.queries[model].refetch();\n event.target.complete()\n },\n }\n}","import { registerPlugin } from '@capacitor/core';\nconst Geolocation = registerPlugin('Geolocation', {\n web: () => import('./web').then(m => new m.GeolocationWeb()),\n});\nexport * from './definitions';\nexport { Geolocation };\n//# sourceMappingURL=index.js.map","import { captureException } from \"@/utils/captureException\";\nimport { Preferences } from '@capacitor/preferences';\nimport { Geolocation } from '@capacitor/geolocation';\nimport { GEOLOCATION_REMIND_AFTER } from \"@/configs\";\n\nexport const setUserPositionMixin = {\n\n data() {\n return {\n latitude: null,\n longitude: null,\n }\n },\n methods: {\n async setUserPosition() {\n try {\n const position = await Geolocation.getCurrentPosition({ enableHighAccuracy: true });\n\n if(position?.coords?.latitude) {\n this.latitude = position.coords.latitude;\n this.longitude = position.coords.longitude;\n }\n } catch(error) {\n if(error?.code === 1) {\n\n await this.displayGeolocationWarning();\n\n }\n captureException(error);\n }\n },\n async displayGeolocationWarning() {\n const REMINDER_DELAY = 30 * 24 * 3600 * 1000; // Snooze for 30 days\n const now = Date.now();\n\n const storageValue = await Preferences.get({key: GEOLOCATION_REMIND_AFTER});\n const remindAfterTime = parseInt( storageValue?.value || '0' );\n\n if (remindAfterTime > now) {\n return;\n }\n\n await Preferences.set({key: GEOLOCATION_REMIND_AFTER, value: (now + REMINDER_DELAY).toString()});\n\n this.$ionic.toastController.create({\n color: 'danger',\n message: this.$t('youhavedisabledgeolocation'),\n showCloseButton: true,\n }).then( toast => toast.present() );\n }\n }\n}\n","/**\n * This creates an auto-refresh timer with a given interval (defaults to 2 seconds)\n *\n * Use the `autoRefreshState` inside your computed property to refresh that property automatically.\n */\nexport const AutoRefreshTimer = {\n data() {\n return {\n autoRefreshTimer: null,\n autoRefreshInterval: 1000,\n autoRefreshState: false, // RefreshTicker will flip between true and false, and will be used to refresh our UI\n autoRefreshFunction: null,\n }\n },\n\n mounted() {\n this.autoRefreshTimer = setInterval(this.onAutoRefresh, this.autoRefreshInterval);\n },\n\n beforeDestroy() {\n clearInterval(this.autoRefreshTimer);\n },\n\n methods: {\n onAutoRefresh() {\n this.autoRefreshState = !this.autoRefreshState;\n }\n }\n}\n","import * as moment from \"moment-timezone\";\nimport { APP_DEFAULTS } from \"@/configs\";\n\nexport const HumanDiff = {\n methods: {\n humanDiff(value, suffix = false, tz = APP_DEFAULTS.DEFAULT_TIMEZONE) {\n if (!value) {\n return null;\n }\n\n const realSeconds = moment.tz(String(value), tz).diff(moment(), 'seconds');\n\n return moment.duration(realSeconds, 'seconds').humanize(suffix, {ss: -1});\n }\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('base-modal',{attrs:{\"title\":_vm.title || _vm.$t('selectevents')},on:{\"close\":function($event){return _vm.$ionic.modalController.dismiss()}}},[_c('ion-toolbar',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('ion-item',[_c('ion-label',[_vm._v(_vm._s(_vm.$t('filtereventsby')))]),_c('ion-button',{attrs:{\"slot\":\"end\"},on:{\"click\":_vm.showPopoverFilter},slot:\"end\"},[_vm._v(_vm._s(_vm.selectedFilter.title))])],1)],1),_c('ion-content',[_c('Refresher',{on:{\"refresh\":function($event){return _vm.doRefresh($event)}}}),_c('List',{attrs:{\"header\":_vm.$t('events'),\"not-found-message\":_vm.$t('noeventsfound'),\"loading\":_vm.$apollo.loading && !_vm.getAllFacilityEvents,\"loading-more\":_vm.loadingMore,\"disabled\":_vm.$apollo.loading || _vm.$apollo.debouncing},on:{\"loadMore\":function($event){return _vm.loadMore($event, 'getAllFacilityEvents')}}},[(_vm.filtered && _vm.filtered.length)?_c('ion-radio-group',_vm._l((_vm.filtered),function(item){return _c('ion-item',{key:item.id,attrs:{\"button\":\"\",\"disabled\":_vm.isDisabled(item)},on:{\"click\":function($event){return _vm.selectItem(item, $event)}}},[_c('ion-checkbox',{staticStyle:{\"pointer-events\":\"none\"},attrs:{\"slot\":\"start\",\"checked\":_vm.isSelected(item)},slot:\"start\"}),_c('EventItem',{attrs:{\"event\":item,\"show-facility\":true}})],1)}),1):_vm._e()],1)],1),_c('ion-footer',[(_vm.selected.length)?_c('ion-item',[_c('ion-text',[_c('span',[_vm._v(_vm._s(_vm.$t('selecteditemscount', {count: _vm.selected.length})))]),(_vm.itemsHidden.length)?_c('span',{staticClass:\"ml-2\"},[_c('em',[_vm._v(\"(\"+_vm._s(_vm.$t('hiddencount',{count: _vm.itemsHidden.length}))+\")\")])]):_vm._e()]),_c('ion-button',{attrs:{\"slot\":\"end\"},on:{\"click\":_vm.clearSelection},slot:\"end\"},[_vm._v(_vm._s(_vm.$t('clear')))])],1):_vm._e(),(_vm.limitReached)?_c('ion-text',{staticClass:\"ion-padding\",attrs:{\"color\":\"warning\"}},[_vm._v(\" \"+_vm._s(_vm.$t('selectionlimitreached', {count: this.limit}))+\" \")]):_vm._e(),_c('ion-button',{attrs:{\"disabled\":!_vm.selected.length,\"expand\":\"full\",\"color\":\"moto\"},on:{\"click\":_vm.submit}},[_vm._v(_vm._s(_vm.buttonLabel || _vm.$t('ok')))])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n {{ $t('filtereventsby') }}\n {{ selectedFilter.title }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n {{ $t('selecteditemscount', {count: selected.length}) }}\n ({{ $t('hiddencount',{count: itemsHidden.length}) }})\n \n {{ $t('clear') }}\n \n \n {{ $t('selectionlimitreached', {count: this.limit}) }}\n \n {{ buttonLabel || $t('ok') }}\n \n \n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectFacilityEventsModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectFacilityEventsModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectFacilityEventsModal.vue?vue&type=template&id=1fe40e6a&\"\nimport script from \"./SelectFacilityEventsModal.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectFacilityEventsModal.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","export default {\n methods: {\n getLocation(location) {\n return {\n name: this.getLocationValueOrError(location, 'name'),\n latitude: this.getLocationValueOrError(location, 'latitude'),\n longitude: this.getLocationValueOrError(location, 'longitude'),\n city: this.getLocationValueOrError(location, 'city'),\n street: this.getLocationValueOrError(location, 'street'),\n state: this.getLocationValueOrError(location, 'state'),\n country: this.getLocationValueOrError(location, 'country'),\n number: this.getLocationValueOrError(location, 'number'),\n zip_code: this.getLocationValueOrError(location, 'zipcode'),\n }\n },\n getLocationValueOrError(object, name) {\n if(object[name] !== undefined) {\n return object[name];\n } else {\n throw Error(`Location ${name} is not defined.`);\n }\n }\n }\n}\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-list',[_c('ion-list-header',[_c('ion-label',[_vm._v(_vm._s(_vm.title))])],1),_vm._l((_vm.items),function(item){return _c('ion-item',{key:item.id,on:{\"click\":function($event){return _vm.clickItem(item)}}},[_vm._v(\" \"+_vm._s(item.title)+\" \"),(item.system_name == _vm.selected)?_c('ion-icon',{attrs:{\"slot\":\"end\",\"name\":\"checkmark\"},slot:\"end\"}):_vm._e()],1)})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n {{ title }}\n \n \n {{ item.title }}\n \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Popover.vue?vue&type=template&id=572ce75c&\"\nimport script from \"./Popover.vue?vue&type=script&lang=js&\"\nexport * from \"./Popover.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","import Popover from '@/components/Popover'\n\nexport default {\n methods: {\n data() {\n return {\n currentPopover: null\n }\n },\n popOver(event, props = {}) {\n props.dismiss = this.dismissPopover;\n\n return this.$ionic.popoverController.create({\n component: Popover,\n componentProps: {\n parent: this,\n propsData: props\n },\n translucent: false,\n event\n })\n .then(\n p => {\n p.present()\n this.currentPopover = p\n }\n )\n },\n dismissPopover() {\n if(this.currentPopover) {\n this.currentPopover.dismiss().then(() => {\n this.currentPopover = null;\n })\n }\n }\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-item',{attrs:{\"button\":_vm.isButton}},[_c('ion-thumbnail',{attrs:{\"slot\":\"start\"},slot:\"start\"},[_c('img',{attrs:{\"src\":`${_vm.$apiStorageUrl}/${_vm.event.image}`}})]),_c('ion-label',{attrs:{\"text-wrap\":\"\"}},[_c('h3',[_c('ion-text',{attrs:{\"color\":\"moto\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"formatDateTime\")(_vm.event.held_at))+\" \")])],1),_c('ion-text',[_c('h2',[_vm._v(_vm._s(_vm.event.title))])]),(_vm.event.organizer && _vm.showFacility)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.event.organizer.name)+\" \"),(_vm.event.host_facility)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.$t('hostedby'))+\": \"+_vm._s(_vm.event.host_facility.name)+\")\")]):_vm._e()])]):_vm._e(),(_vm.event.cancelled_at)?_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":\"danger\"},slot:\"end\"},[_c('ion-text',{staticClass:\"text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t('cancelledstatus'))+\" \")])],1):_vm._e(),(!_vm.event.cancelled_at && _vm.eventSoldOut(_vm.event))?_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":\"medium\"},slot:\"end\"},[_c('ion-text',{staticClass:\"text-xs\"},[_vm._v(\" \"+_vm._s(_vm.$t('soldoutstatus'))+\" \")])],1):_vm._e(),(!_vm.event.cancelled_at && !_vm.eventIsOpen(_vm.event))?_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":\"medium\"},slot:\"end\"},[_c('ion-text',{staticClass:\"text-xs\"},[_vm._v(\" \"+_vm._s(_vm.$t('salenotstarted'))+\" \")])],1):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n {{ event.held_at|formatDateTime }}\n \n \n \n {{ event.title }}\n \n\n \n {{ event.organizer.name }} ({{ $t('hostedby') }}: {{ event.host_facility.name }})\n \n\n \n \n {{ $t('cancelledstatus') }}\n \n \n \n \n {{ $t('soldoutstatus') }}\n \n \n \n \n {{ $t('salenotstarted') }}\n \n \n \n \n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EventItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EventItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EventItem.vue?vue&type=template&id=838c6d76&\"\nimport script from \"./EventItem.vue?vue&type=script&lang=js&\"\nexport * from \"./EventItem.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"],"sourceRoot":""}
{{ event.organizer.name }} ({{ $t('hostedby') }}: {{ event.host_facility.name }})