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K,GACnByO,EAAUzO,EAAK,GAGI4H,EAAI,EAC3B,GAAGL,EAASmH,MAAK,SAAS/L,GAAM,OAA+B,IAAxBoL,EAAgBpL,EAAW,IAAI,CACrE,IAAIiE,KAAY4H,EACZ7H,EAAoB+B,EAAE8F,EAAa5H,KACrCD,EAAoBQ,EAAEP,GAAY4H,EAAY5H,IAGhD,GAAG6H,EAAS,IAAInH,EAASmH,EAAQ9H,EAClC,CAEA,IADG4H,GAA4BA,EAA2BvO,GACrD4H,EAAIL,EAASrB,OAAQ0B,IACzBmB,EAAUxB,EAASK,GAChBjB,EAAoB+B,EAAEqF,EAAiBhF,IAAYgF,EAAgBhF,IACrEgF,EAAgBhF,GAAS,KAE1BgF,EAAgBhF,GAAW,EAE5B,OAAOpC,EAAoBU,EAAEC,EAC9B,EAEIqH,EAAqBC,KAAK,wBAA0BA,KAAK,yBAA2B,GACxFD,EAAmBxI,QAAQmI,EAAqB7C,KAAK,KAAM,IAC3DkD,EAAmBxO,KAAOmO,EAAqB7C,KAAK,KAAMkD,EAAmBxO,KAAKsL,KAAKkD,G,ICpFvF,IAAIE,EAAsBlI,EAAoBU,OAAE9B,EAAW,CAAC,IAAI,KAAK,WAAa,OAAOoB,EAAoB,KAAO,IACpHkI,EAAsBlI,EAAoBU,EAAEwH,E","sources":["webpack://frontend/./src/app/Home.vue","webpack://frontend/./src/components/MenuItem.vue","webpack://frontend/src/components/MenuItem.vue","webpack://frontend/./src/components/MenuItem.vue?88e3","webpack://frontend/./src/components/MenuItem.vue?b4e5","webpack://frontend/src/app/Home.vue","webpack://frontend/./src/app/Home.vue?c5ac","webpack://frontend/./src/app/Home.vue?02d8","webpack://frontend/./src/app/main.js","webpack://frontend/webpack/bootstrap","webpack://frontend/webpack/runtime/chunk loaded","webpack://frontend/webpack/runtime/compat get default export","webpack://frontend/webpack/runtime/define property getters","webpack://frontend/webpack/runtime/ensure chunk","webpack://frontend/webpack/runtime/get javascript chunk filename","webpack://frontend/webpack/runtime/get mini-css chunk filename","webpack://frontend/webpack/runtime/global","webpack://frontend/webpack/runtime/hasOwnProperty shorthand","webpack://frontend/webpack/runtime/load script","webpack://frontend/webpack/runtime/make namespace object","webpack://frontend/webpack/runtime/node module decorator","webpack://frontend/webpack/runtime/runtimeId","webpack://frontend/webpack/runtime/publicPath","webpack://frontend/webpack/runtime/css loading","webpack://frontend/webpack/runtime/jsonp chunk loading","webpack://frontend/webpack/startup"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"inspire\"}},[_c('div',{staticClass:\"home-container\"},[_c('SimpleFlexRow',{attrs:{\"classes\":{ 'base-row': true, 'nowrap': true }}},[_c('SimpleFlexColumn',{attrs:{\"classes\":{ 'drawer-container': true }}},[(!_vm.communityManagerScreen)?_c('div',{staticClass:\"drawer\"},[_c('div',{staticClass:\"pic\"},[_c('router-link',{attrs:{\"to\":\"/profile/edit\"}},[_c('img',{attrs:{\"src\":(_vm.userData.profile && _vm.userData.profile.pic )? _vm.userData.profile.pic : '/static/communities/user-no-pic.png'}})]),_c('div',{staticClass:\"user-title\"},[_c('h2',[_vm._v(_vm._s(_vm.userData.username || \"User\"))]),_c('router-link',{attrs:{\"to\":\"/profile/edit\"}},[_vm._v(\"Edit Profile\")])],1)],1),_c('div',{staticClass:\"menu\"},[_c('MenuItem',{attrs:{\"icon\":\"/static/icons/home.png\",\"label\":\"Dashboard\",\"link\":\"/\"}}),(_vm.demo)?_c('MenuItem',{attrs:{\"icon\":\"/static/icons/face.png\",\"label\":\"People\",\"link\":\"/people\"}}):_vm._e(),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/community.png\",\"label\":\"Community\",\"link\":\"/communities\"}}),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/calendar.png\",\"label\":\"Events\",\"link\":\"/events\"}}),(_vm.demo)?_c('MenuItem',{attrs:{\"icon\":\"/static/icons/book.png\",\"label\":\"Courses\",\"link\":\"/courses\"}}):_vm._e(),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/logout.png\",\"label\":\"Log Out\",\"link\":\"/logout\"}})],1)]):_vm._e(),(_vm.communityManagerScreen)?_c('div',{staticClass:\"drawer\"},[_c('div',{staticClass:\"pic\"},[_c('img',{attrs:{\"src\":_vm.pic? _vm.pic : '/static/communities/user-no-pic.png'}}),_c('div',{staticClass:\"community-title\"},[_c('h2',[_vm._v(_vm._s(_vm.name? _vm.name : \"Community\"))]),_c('a',{attrs:{\"target\":\"_blank\",\"href\":_vm.link}},[_vm._v(\"Open community page\")])])]),_c('div',{staticClass:\"menu\"},[(_vm.demo)?_c('MenuItem',{attrs:{\"icon\":\"/static/icons/home.png\",\"label\":\"Dashboard\",\"link\":'/community-manager/' + _vm.communitySlug + '/dashboard'}}):_vm._e(),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/community.png\",\"label\":\"Manage Community\",\"link\":'/community-manager/' + _vm.communitySlug + '/edit'}}),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/forms.png\",\"label\":\"Customize Forms\",\"link\":'/community-manager/' + _vm.communitySlug + '/forms'}}),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/calendar.png\",\"label\":\"Manage Events\",\"link\":'/community-manager/' + _vm.communitySlug + '/events'}}),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/forms.png\",\"label\":\"AI Transcriber\",\"link\":'/community-manager/' + _vm.communitySlug + '/ai-transcriber'}}),_c('MenuItem',{attrs:{\"icon\":\"/static/icons/logout.png\",\"label\":\"Log Out\",\"link\":\"/logout\"}})],1)]):_vm._e()]),_c('SimpleFlexColumn',{attrs:{\"classes\":{ 'content': true }}},[_c('router-view',{on:{\"set-pic-name\":_vm.setPicName}}),_c('p',{staticClass:\"footer-highlight-row\"},[_c('a',{attrs:{\"href\":\"/policies/\"}},[_vm._v(\"Privacy Policy\")])])],1)],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:{ 'menu-item': true, 'active': _vm.active, ..._vm.classes },on:{\"click\":_vm.select}},[_c('img',{attrs:{\"src\":_vm.icon}}),_c('label',[_vm._v(_vm._s(_vm.label))])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div\n      :class=\"{ 'menu-item': true, 'active': active, ...classes }\"\n      @click=\"select\"\n  >\n    <img :src=\"icon\" /><label>{{label}}</label>\n  </div>\n</template>\n<script>\nexport default {\n  name: 'MenuItem',\n  props: {\n    activeItem: String,\n    icon: String,\n    label: String,\n    link: String,\n    classes: Object\n  },\n  data () {\n    return {\n    }\n  },\n  methods: {\n    select() {\n      if (this.link)\n        this.$router.push(this.link).catch(()=>{})\n      else\n        this.$emit('select', this.label)\n    }\n  },\n  computed: {\n    active () {\n      if (this.link) {\n        return this.$route.path == this.link || this.$route.path.endsWith(this.link)\n      }\n      else\n        return this.label == this.activeItem\n    }\n\n  }\n}\n</script>\n<style>\n.menu-item {\n  opacity: 0.4;\n  margin-bottom: 30px;\n  cursor: pointer;\n}\n.menu-item img {\n  width: 20px;\n  height: 20px;\n  cursor: inherit;\n}\n.menu-item label {\n  cursor: inherit;\n  font-family: \"Roboto\";\n  font-style: normal;\n  font-weight: 500;\n  font-size: 16px;\n  line-height: 22px;\n  vertical-align: middle;\n  padding-left: 10px;\n}\n.menu-item.active {\n  opacity: 1;\n}\n\n\n@media (max-width: 900px) {\n  .menu-item label {\n    display: none;\n  }\n}\n\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MenuItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MenuItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MenuItem.vue?vue&type=template&id=35272021&\"\nimport script from \"./MenuItem.vue?vue&type=script&lang=js&\"\nexport * from \"./MenuItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MenuItem.vue?vue&type=style&index=0&id=35272021&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/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","<template>\n  <v-app id=\"inspire\">\n    <div class=\"home-container\">\n      <SimpleFlexRow :classes=\"{ 'base-row': true, 'nowrap': true }\">\n        <SimpleFlexColumn :classes=\"{ 'drawer-container': true }\">\n          <div class=\"drawer\" v-if=\"!communityManagerScreen\">\n            <div class=\"pic\">\n              <router-link to=\"/profile/edit\"><img :src=\"(userData.profile && userData.profile.pic )? userData.profile.pic : '/static/communities/user-no-pic.png'\" /></router-link>\n              <div class=\"user-title\">\n                <h2>{{ userData.username || \"User\" }}</h2>\n                <router-link to=\"/profile/edit\">Edit Profile</router-link>\n              </div>\n            </div>\n\n            <div class=\"menu\">\n              <MenuItem icon=\"/static/icons/home.png\" label=\"Dashboard\" link=\"/\" />\n              <MenuItem v-if=\"demo\" icon=\"/static/icons/face.png\" label=\"People\"  link=\"/people\" />\n              <MenuItem icon=\"/static/icons/community.png\" label=\"Community\" link=\"/communities\" />\n              <MenuItem icon=\"/static/icons/calendar.png\" label=\"Events\" link=\"/events\" />\n              <MenuItem v-if=\"demo\" icon=\"/static/icons/book.png\" label=\"Courses\" link=\"/courses\" />\n              <MenuItem icon=\"/static/icons/logout.png\" label=\"Log Out\" link=\"/logout\" />\n            </div>\n\n          </div>\n          <div class=\"drawer\" v-if=\"communityManagerScreen\">\n            <div class=\"pic\">\n              <img :src=\"pic? pic : '/static/communities/user-no-pic.png'\" />\n              <div class=\"community-title\">\n                <h2>{{ name? name : \"Community\"}}</h2>\n                <a target=\"_blank\" :href=\"link\">Open community page</a>\n              </div>\n            </div>\n            <div class=\"menu\">\n              <MenuItem v-if=\"demo\" icon=\"/static/icons/home.png\" label=\"Dashboard\" :link=\"'/community-manager/' + communitySlug + '/dashboard'\" />\n              <MenuItem icon=\"/static/icons/community.png\" label=\"Manage Community\" :link=\"'/community-manager/' + communitySlug + '/edit'\" />\n              <MenuItem icon=\"/static/icons/forms.png\" label=\"Customize Forms\" :link=\"'/community-manager/' + communitySlug + '/forms'\" />\n              <MenuItem icon=\"/static/icons/calendar.png\" label=\"Manage Events\" :link=\"'/community-manager/' + communitySlug + '/events'\" />\n              <MenuItem icon=\"/static/icons/forms.png\" label=\"AI Transcriber\" :link=\"'/community-manager/' + communitySlug + '/ai-transcriber'\" />\n              <MenuItem icon=\"/static/icons/logout.png\" label=\"Log Out\" link=\"/logout\" />\n            </div>\n          </div>\n        </SimpleFlexColumn>\n        <SimpleFlexColumn :classes=\"{ 'content': true }\" >\n          <!-- Content -->\n          <router-view\n            @set-pic-name=\"setPicName\"\n          ></router-view>\n          <p class=\"footer-highlight-row\"><a href=\"/policies/\">Privacy Policy</a></p>\n        </SimpleFlexColumn>\n      </SimpleFlexRow>\n    </div>\n  </v-app>\n</template>\n<script>\n// Fetch compatibility\nimport 'whatwg-fetch'\nimport MenuItem from '../components/MenuItem.vue'\nimport SimpleFlexRow from '../components/SimpleFlexRow.vue'\nimport SimpleFlexColumn from '../components/SimpleFlexColumn.vue'\n\n\nexport default {\n  name: 'Home',\n  components: {\n    MenuItem, SimpleFlexRow, SimpleFlexColumn\n  },\n  props: {\n    userData: Object\n  },\n  data () {\n    return {\n      contentTitle: \"\",\n      demo: false,\n      pic: null,\n      name: null,\n      communitySlug: null,\n      user: {\n        profile: {\n          location: \"\",\n          pic: null,\n          description: \"\",\n          community_favs: []\n        },\n        username: null,\n        badges: [],\n        my_communities: [],\n      },\n      communityManagerScreen: false,\n    }\n  },\n  computed: {\n    link() {\n      if (this.$route.path.startsWith('/community-manager/')) {\n        return '/communities/' + this.$route.params.slug\n      }\n      return ''\n    }\n  },\n  methods: {\n    async handleRoute (route) {\n      if (route.path.startsWith('/community-manager/')) {\n        this.communityManagerScreen = true\n        this.communitySlug = route.params.slug\n      }\n      else {\n        this.communityManagerScreen = false\n      }\n    },\n    setPicName (pic, name) {\n      this.pic = pic\n      this.name = name\n    }\n  },\n  watch: {\n    $route (to) {\n      this.handleRoute(to)\n    }\n  },\n  created () {\n    let header = document.getElementById(\"header\")\n    header.classList.add(\"navbar-home\")\n    this.handleRoute(this.$route)\n\n  }\n}\n</script>\n<style>\n.home-container {\n  position: relative;\n}\n.drawer-container {\n  background: #222222;\n  max-width: 280px;\n  padding: 0px 30px;\n  padding-right: 10px;\n}\n.base-row {\n  min-height: 100vh;\n}\n.pic img {\n  width: 55px;\n  height: 55px;\n  object-fit: cover;\n  border-radius: 150px;\n  background: #999;\n  float:left;\n}\n.pic .user-title, .pic .community-title {\n  margin-left: 70px;\n  color: white;\n  font-weight: bold;\n}\n.user-title h2 {\n  font-size: 22px;\n  font-weight: bold;\n}\n.community-title h2 {\n  font-size: 20px;\n  font-weight: bold;\n  padding-top: 10px;\n}\n.user-title a {\n  text-decoration: underline;\n  font-weight: normal;\n}\n.pic {\n  margin-top: 20px;\n  min-height: 62px;\n}\n.menu {\n  margin-top: 40px;\n}\n.menu-item {\n  color: white;\n}\n.home-container .content {\n  margin: 0;\n  padding-left: 20px;\n  max-width: 1400px;\n  min-width: 0;\n}\n.home-container .content .container-fluid {\n  padding: 0px;\n}\n\n@media (max-width: 900px) {\n  .drawer-container {\n    max-width: 40px;\n    padding: 0px 10px;\n  }\n  .pic {\n    display: none;\n  }\n}\n\n@media (max-width: 500px) {\n  .home-container .content {\n    padding: 10px 0px 0px 10px;\n  }\n  .container-fluid {\n    padding-left: 5px;\n  }\n  .main-content .content{\n    padding-left: 7px;\n  }\n}\n\n.v-application a {\n  color: inherit !important;\n}\n\na {\n  color: inherit;\n  text-decoration: inherit;\n  cursor: pointer;\n}\n\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=3507e510&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=3507e510&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/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 Vue from 'vue'\nimport vuetify from '@/plugins/vuetify'\nimport VueRouter from 'vue-router'\nimport Home from './Home.vue'\nimport {getDocumentData, client} from '../client'\nimport { ClientPendingActions } from '../pending_actions'\n\nVue.use(VueRouter);\nimport VueMatomo from 'vue-matomo';  /// suggested from https://webdeasy.de/en/matomo-vue-js-en/\n\n\nfunction parseRecommendations(data) {\n  if (!data) return null\n  return data.scores.map((item) => {\n    let object = data[item.type].find((searchItem) => searchItem.id == item.id )\n    return {\n      'communitySlug': object.slug,\n      'username': object.username,\n      'slug': object.slug || object.username,\n      'type': item.type,\n      'title': (item.type=='community')? object.title: (item.type=='user')? object.first_name: '',\n      'pic': (item.type=='community')? object.cover: (item.type=='user')? object.profile.pic || '/static/communities/user-no-pic.png': null,\n      'recommendation': item,\n      'connectors': (item.type=='community')? data.connectors[object.slug] : null\n    }\n  }).sort((itemA, itemB) => itemB.recommendation.score-itemA.recommendation.score)\n}\n\nif (document.getElementById(\"home-content\")) {\n  (async () => {\n    const homeData = getDocumentData(\"home-data\");\n    var userData = await client.get(\"/api/account/\" + homeData.username + \"/\")\n    var dashboardData = await client.get(\"/api/account/\" + homeData.username + \"/dashboard/\")\n    dashboardData.recommendations = parseRecommendations(dashboardData.recommendations)\n    var ProfileEditor = () => import('./ProfileEditor.vue')\n    var Dashboard = () => import('./Dashboard.vue')\n    var LogOut = () => import('./LogOut.vue')\n    var EventsHome = () => import('./EventsHome.vue')\n    var Community = () => import('./UserCommunities.vue')\n    var Matcher = () => import('./Matcher.vue')\n    var CommunityManager = () => import('../community/CommunityManager.vue')\n\n    var ContentViewer = () => import('../community/ContentViewer.vue')\n    const router = new VueRouter({\n      routes: [\n        { path: '', component: Dashboard, props: { userData: userData, dashboardData: dashboardData } },\n        { path: '/logout', component: LogOut },\n        { path: '/events', component: EventsHome, props: { userData: userData } },\n        { path: '/matches/:type?/:slug?',\n          component: Matcher,\n          props: {\n            userData: userData,\n            matchData: {\n              recommendations: dashboardData.recommendations\n            }\n          },\n          name: 'matcher'\n        },\n        { path: '/matches/:type/:slug/:subset/:username?',\n          component: Matcher,\n          props: {\n            userData: userData,\n            matchData: {\n              recommendations: dashboardData.recommendations\n            }\n          },\n          name: 'matcher-connectors'\n        },\n        { path: '/communities', component: Community, props: { userData: userData } },\n        { path: '/profile/edit', component: ProfileEditor, props: { userDataInput: userData } },\n        { path: '/community-manager/:slug/:page?', component: CommunityManager, props: { userData: userData}, name: 'communityManager' },\n        { path: '/community-manager/:slug/content/:blog_slug', component: CommunityManager, props: { userData: userData}, name: 'communityContentEdit' },\n        { path: '/community-manager/:slug/events', component: CommunityManager, props: { editable: true }, name: 'communityEvents' },\n        { path: '/community-manager/:slug/events/new', component: CommunityManager, props: { editable: true }, name: 'communityEventsNew' },\n        { path: '/community-manager/:slug/events/:evslug', component: CommunityManager, props: { editable: true }, name: 'communityEventDetail' },\n        { path: '/community-manager/:slug/forms', component: CommunityManager, props: { editable: true }, name: 'communityForms' },\n        { path: '/community-manager/:slug/ai-transcriber/', component: CommunityManager, props: {}, name: 'communityAITranscriber' },\n        { path: '/community-manager/:slug/ai-transcriber/new', component: CommunityManager, props: {}, name: 'communityAITranscriberNew' },\n        { path: '/community-manager/:slug/ai-transcriber/:id', component: CommunityManager, props: {}, name: 'communityAITranscriberDetail' },\n\n        { path: '/content/:slug/:content_slug', component: ContentViewer, props: {}, name: 'contentViewer' }\n      ]\n    })\n\n    Vue.use(VueMatomo, {\n      host: \"https://sfa.storyfaith.com/\",\n      siteId: 1,\n      trackerFileName: 'matomo',\n      router: router,\n      enableLinkTracking: true,\n      requireConsent: false,\n      trackInitialView: true,\n      disableCookies: false,\n      enableHeartBeatTimer: true,\n      heartBeatTimerInterval: 15,\n      debug: false,\n      userId: undefined,\n      cookieDomain: undefined,\n      domains: undefined,\n      preInitActions: []\n    });\n\n\n    new Vue({\n      vuetify: vuetify,\n      router: router,\n      render: h => h(Home, {\n        props: {\n          userData: userData\n        }\n      }),\n    }).$mount('#home-content')\n\n    var pendingActions = new ClientPendingActions()\n    if (pendingActions.actions.length) {\n      pendingActions.actions.forEach(async function(item) {\n        pendingActions.handleAction(item)\n      })\n      location.reload()\n    }\n  })()\n}\nelse if (document.location.hash.startsWith(\"#/content/\")) {\n    var parts = document.location.hash.split(\"/\")\n    document.location = `${parts[2]}/blog/${parts[3]}`\n}\n\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \"-\" + {\"1\":\"8c6686642c716e2d\",\"58\":\"340a45a22746b06c\",\"184\":\"1ff2d0397e502086\",\"280\":\"5510adcfc7cbdc06\",\"381\":\"9528003744ccc81b\",\"390\":\"ab1fc77050b1bcc1\",\"494\":\"b84b2a48fb209189\",\"529\":\"46ac6ea53bffd6c7\",\"562\":\"7be921972d0695cc\",\"569\":\"165c31390aeec2bd\",\"632\":\"c900e5f566beaaf3\",\"706\":\"e2a66604e8ff1aaa\",\"756\":\"be29735279686cb5\",\"816\":\"dcd30348a3170efb\",\"831\":\"a414ef937d8e8e55\",\"934\":\"439b8aadad541e5b\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"frontend:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 143;","__webpack_require__.p = \"/static/dist/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"1\":1,\"58\":1,\"184\":1,\"280\":1,\"494\":1,\"529\":1,\"569\":1,\"632\":1,\"706\":1,\"756\":1,\"816\":1,\"831\":1,\"934\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkfrontend\"] = self[\"webpackChunkfrontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998,64], function() { return __webpack_require__(3002); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","staticClass","communityManagerScreen","_e","userData","profile","pic","_v","_s","username","demo","name","link","communitySlug","on","setPicName","staticRenderFns","class","active","classes","select","icon","label","props","activeItem","String","Object","data","methods","$router","push","catch","$emit","computed","$route","path","endsWith","component","components","MenuItem","SimpleFlexRow","SimpleFlexColumn","contentTitle","user","location","description","community_favs","badges","my_communities","startsWith","params","slug","handleRoute","route","watch","to","created","header","document","getElementById","classList","add","parseRecommendations","scores","map","item","object","type","find","searchItem","id","title","first_name","cover","connectors","sort","itemA","itemB","recommendation","score","Vue","use","VueRouter","homeData","getDocumentData","client","get","dashboardData","recommendations","ProfileEditor","Dashboard","LogOut","EventsHome","Community","Matcher","CommunityManager","ContentViewer","router","routes","matchData","userDataInput","editable","VueMatomo","host","siteId","trackerFileName","enableLinkTracking","requireConsent","trackInitialView","disableCookies","enableHeartBeatTimer","heartBeatTimerInterval","debug","userId","undefined","cookieDomain","domains","preInitActions","vuetify","h","Home","$mount","pendingActions","ClientPendingActions","actions","length","forEach","async","handleAction","reload","hash","parts","split","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","children","p","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","rel","onLinkComplete","errorType","realHref","href","err","Error","code","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","error","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}