{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/graphql/local/default-value.js","webpack:///./src/graphql/local/mutation-helper.js","webpack:///./src/graphql/local/resolvers.js","webpack:///./src/services/graphql.js","webpack:///./src/graphql/vue-apollo.js","webpack:///./src/consts/industry.js","webpack:///./src/components/nav/header.vue?2488","webpack:///./src/helpers/env.js","webpack:///./src/components/nav/skip-to-content.vue?a223","webpack:///./src/helpers/event-bus.js","webpack:///./src/components/nav/base.vue?95f5","webpack:///./src/services/app.graphql","webpack:///./src/graphql/local/type-defs.graphql","webpack:///./src/helpers/debounce.js","webpack:///./src/services/twilio.graphql","webpack:///./src/graphql/local/twilio.graphql","webpack:///./src/services/app.js","webpack:///./src/routes.js","webpack:///./src/router.js","webpack:///./src/consts/categories.js","webpack:///./src/locales sync [A-Za-z0-9-_,\\s]+\\.json$/","webpack:///./src/consts/enums.js","webpack:///./src/consts/organization-type.js","webpack:///./src/app.vue","webpack:///./src/components/anonymous/nav.vue","webpack:///src/components/anonymous/nav.vue","webpack:///./src/components/anonymous/nav.vue?cb16","webpack:///./src/components/anonymous/nav.vue?5bef","webpack:///./src/components/anonymous/footer-bottom.vue","webpack:///./src/components/anonymous/footer-bottom.vue?8f24","webpack:///./src/components/app-status.vue","webpack:///src/components/app-status.vue","webpack:///./src/components/app-status.vue?2f41","webpack:///./src/components/app-status.vue?2fea","webpack:///./src/components/user-profile/accept-tos.vue","webpack:///src/components/user-profile/accept-tos.vue","webpack:///./src/components/user-profile/accept-tos.vue?7c5b","webpack:///./src/components/user-profile/accept-tos.vue?02df","webpack:///./src/components/notifications/conversation.vue","webpack:///src/components/notifications/conversation.vue","webpack:///./src/components/notifications/conversation.vue?d69e","webpack:///./src/components/notifications/conversation.vue?1a07","webpack:///./src/components/notifications/notification-container.vue","webpack:///./src/components/notifications/notification-alert.vue","webpack:///src/components/notifications/notification-alert.vue","webpack:///./src/components/notifications/notification-alert.vue?f84c","webpack:///./src/components/notifications/notification-alert.vue?f29e","webpack:///src/components/notifications/notification-container.vue","webpack:///./src/components/notifications/notification-container.vue?828c","webpack:///./src/components/notifications/notification-container.vue?698b","webpack:///./src/components/nav/header.vue","webpack:///src/components/nav/header.vue","webpack:///./src/components/nav/header.vue?2b87","webpack:///./src/components/nav/header.vue?d15c","webpack:///./src/components/nav/footer.vue","webpack:///src/components/nav/footer.vue","webpack:///./src/components/nav/footer.vue?b42f","webpack:///./src/components/nav/footer.vue?869e","webpack:///./src/components/nav/skip-to-content.vue","webpack:///src/components/nav/skip-to-content.vue","webpack:///./src/components/nav/skip-to-content.vue?668d","webpack:///./src/components/nav/skip-to-content.vue?8698","webpack:///src/app.vue","webpack:///./src/app.vue?3d32","webpack:///./src/app.vue?e002","webpack:///./src/helpers/vee-validate.js","webpack:///./src/plugins/i18n.js","webpack:///./src/consts/contract-status.js","webpack:///./src/consts/rating-steps.js","webpack:///./src/consts/index.js","webpack:///./src/plugins/consts.js","webpack:///./src/plugins/sluggify.js","webpack:///./src/plugins/format.js","webpack:///./src/plugins/array.js","webpack:///./src/plugins/date.js","webpack:///./src/plugins/terms-feed.js","webpack:///./src/main.js","webpack:///./src/components/app-status.vue?e166","webpack:///./src/components/nav/base.vue?0f5b","webpack:///./src/assets/logos/logo-cibim.svg","webpack:///./src/services/logger.js","webpack:///./src/helpers/global-error-handler.js","webpack:///./src/components/anonymous/nav.vue?04d9","webpack:///./src/consts/langs.js","webpack:///./src/components/nav/base.vue?aff1","webpack:///./src/components/user-profile/accept-tos.vue?ed86","webpack:///./src/assets/logos/logo-mutuali-cibim.svg","webpack:///./src/helpers/i18n.js","webpack:///./src/consts/formats.js","webpack:///./src/components/nav/base.vue","webpack:///src/components/nav/base.vue","webpack:///./src/components/nav/base.vue?27c6","webpack:///./src/components/nav/base.vue?b299","webpack:///./src/components/nav/footer.vue?8420","webpack:///./src/helpers/graphql.js","webpack:///./src/helpers/unique-id.js","webpack:///./src/services/notification.js","webpack:///./src/graphql/local/notification.graphql","webpack:///./src/consts/claims.js","webpack:///./src/consts/twilio.js","webpack:///./src/services/user.js","webpack:///./src/services/user.graphql","webpack:///./src/app.vue?e780","webpack:///./src/graphql/local/user.graphql","webpack:///./src/components/anonymous/footer-bottom.vue?cb30","webpack:///./src/services/conversation.graphql","webpack:///./src/components/nav/header.vue?0a3e","webpack:///./src/app.vue?0add","webpack:///./src/components/notifications/notification-alert.vue?2ba6","webpack:///./src/services/notification.graphql","webpack:///./src/components/notifications/notification-container.vue?baea","webpack:///./src/assets/sound/notification.mp3","webpack:///./src/services/twilio.js","webpack:///./src/components/anonymous/nav.vue?e48b","webpack:///./src/components/notifications/notification-container.vue?342e","webpack:///./src/services/conversation.js","webpack:///./src/components/notifications/conversation.vue?5e6a","webpack:///./src/consts/notifications.js","webpack:///./src/consts/urls.js","webpack:///./src/components/nav/header.vue?52ef","webpack:///./src/components/user-profile/accept-tos.vue?47b1","webpack:///./src/consts/local-storage.js","webpack:///./src/components/anonymous/nav.vue?1e68","webpack:///./src/assets/logos/logo-rtcbq.png","webpack:///./src/graphql/local/app.graphql","webpack:///./src/components/notifications/conversation.vue?42a9","webpack:///./src/app.vue?4b2f","webpack:///./src/services/authentification.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","app","__typename","showMenu","user","isConnected","accessToken","refreshToken","twilio","token","notifications","updateCache","cache","params","update","readQuery","writeQuery","_objectSpread","Mutation","updateShowMenu","_","_ref","_ref2","MutationHelper","query","LocalShowMenu","x","updateLocalUser","_ref3","_ref4","LocalUser","addNotification","_ref5","_ref6","notification","LocalNotifications","removeNotificationById","_ref7","_ref8","id","filter","item","removeNotificationByType","_ref9","_ref10","updateTwilioToken","_ref11","_ref12","TwilioToken","graphQLFetcher","uri","doFetchAndRefreshToken","catch","doFetch","_asyncToGenerator","regeneratorRuntime","mark","_callee","response","r2","wrap","_context","prev","next","status","AuthentificationService","renewToken","sent","logout","abrupt","stop","_x","arguments","_doFetch","_callee2","_context2","getUserToken","headers","authorization","concat","fetch","Vue","use","VueApollo","AUTH_TOKEN","httpEndpoint","VUE_APP_GRAPHQL_HTTP","instance","createProvider","fragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","InMemoryCache","httpLink","createHttpLink","GraphqlService","apolloClient","ApolloClient","link","ApolloLink","from","resolvers","typeDefs","defaultOptions","tokenName","persisting","websocketsOnly","ssr","writeData","defaults","vueApollo","defaultClient","$query","fetchPolicy","errorHandler","component","operationType","gqlOperationType","GlobalErrorHandler","INDUSTRY_FOOD_PROCESSING_AND_DISTRIBUTION","INDUSTRY_CATERING","INDUSTRY_RETAIL","INDUSTRY_EDUCATION_AND_TEACHING","INDUSTRY_HEALTH_AND_SOCIAL_SERVICES","INDUSTRY_TRANSPORT","INDUSTRY_OTHER","overrides","yellowduck_env","VUE_APP_I18N_FALLBACK_LOCALE","VUE_APP_I18N_LOCALE","process","VUE_APP_ROOT_API","VUE_APP_MUTUALI_CONTACT_MAIL","VUE_APP_GOOGLE_PLACES_API_KEY","VUE_APP_ENV","VUE_APP_GA_MEASUREMENT_ID","VUE_APP_SENTRY_DSN","VUE_APP_SENTRY_ORIGINS","EventBus","doc","loc","source","collectFragmentReferences","node","refs","kind","add","selectionSet","selections","forEach","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","element","oneQuery","operationName","newDoc","opRefs","Set","allRefs","newRefs","refName","size","prevRefs","has","childRefs","childRef","op","debounce","func","wait","_len","args","Array","_key","later","_updateShowMenu","Apollo","mutate","mutation","UpdateShowMenu","variables","anonymous","notConnected","urls","path","redirect","isLoggedIn","getUserIsLogged","userType","getUserType","USER_TYPE_USER","USER_TYPE_ADMIN","meta","fullscreen","usertype","scrollBehavior","to","savedPosition","hash","elToScroll","querySelector","y","behavior","yPos","getBoundingClientRect","top","VueRouter","router","base","routes","beforeEach","matched","some","URL_LOGIN","returnPath","fullPath","URL_LIST_AD","_step","_iterator","_createForOfIteratorHelper","done","match","isArray","includes","URL_ROOT","f","AppService","CATEGORY_PROFESSIONAL_KITCHEN","CATEGORY_DELIVERY_TRUCK","CATEGORY_STORAGE_SPACE","CATEGORY_PROFESSIONAL_COOKING_EQUIPMENT","CATEGORY_PREP_EQUIPMENT","CATEGORY_REFRIGERATION_EQUIPMENT","CATEGORY_HEAVY_EQUIPMENT","CATEGORY_SURPLUS","CATEGORY_OTHER","map","webpackContext","req","webpackContextResolve","keys","PORTAL_HEADER","USER_TYPE_ANONYME","ORGANIZATION_TYPE_NON_PROFIT_ORGANIZATIONS","ORGANIZATION_TYPE_PRIVATE_COMPANY","ORGANIZATION_TYPE_PUBLIC_SECTOR","ORGANIZATION_TYPE_SOCIAL_ECONOMY","ORGANIZATION_TYPE_FOOD_PROCESSING","ORGANIZATION_TYPE_AGRICULTURE","ORGANIZATION_TYPE_NON_PROFIT","ORGANIZATION_TYPE_OTHER","render","_vm","this","_c","_self","staticClass","class","showAppHeader","showHeaderPortal","attrs","$consts","enums","_e","staticRenderFns","require","URL_ABOUT","_v","_s","$t","URL_SHARING_EQUIPMENT","URL_LOOKING_FOR_EQUIPMENT","URL_CONTACT","URL_USER_PROFILE_DETAIL","userProfileId","userProfilePublicName","URL_USER_SUBSCRIBE","on","changeLang","computed","me","profile","publicName","apollo","$options","Me","skip","methods","i18nHelpers","Date","getFullYear","domProps","$event","preventDefault","$termsFeed","openPreferencesCenter","isUnavailable","isOutOfDate","refresh","CHECK_STATUS_INTERVAL_MS","CHECK_TOKEN_INTERVAL_MS","version","intervalCheckStatus","intervalCheckToken","ready","setupSentry","Sentry","release","dsn","integrations","Integrations","BrowserTracing","routingInstrumentation","tracingOrigins","_toConsumableArray","split","tracesSampleRate","environment","checkStatus","_checkStatus","json","t0","checkToken","_checkToken","authUserToken","localUserToken","localStorage","getItem","LOCAL_STORAGE_AUTHTOKEN","$router","go","start","_this","setInterval","clearInterval","location","reload","mounted","destroyed","model","acceptTosModalOpen","callback","$$v","expression","acceptLatestTos","hasAcceptedLatest","acceptedTos","UserService","acceptTos","latestVersionAvailable","$apollo","queries","refetch","NotificationService","_logout","audio","Audio","beforeDestroy","$off","TWILIO_EVENT_MESSAGE_ADDED","onMessageAdded","debounceFn","paused","play","currentTime","$on","_l","onNotificationDismiss","displayType","text","dismissible","dismiss","props","required","visibility","duration","NOTIFICATION_TYPE_SUCCESS","NOTIFICATION_TYPE_WARNING","NOTIFICATION_TYPE_ERROR","NOTIFICATION_TYPE_INFO","watch","val","$emit","components","NotificationAlert","isAdmin","URL_LIST_USERS","URL_LIST_CONVERSATION","unreadMessageCount","scopedSlots","_u","fn","proxy","URL_MANAGE_ADS","URL_AD_ALERT_LIST","URL_PROFILE_EDIT","URL_ACCOUNT_SETTINGS","TWILIO_EVENT_MESSAGE_READ","onMessageRead","NavBase","vm","updateUnreadMessagesCount","_updateUnreadMessagesCount","TwilioService","getUnreadMessagesCount","URL_LANDING","contactUsEmail","Wormhole","hasContentFor","AnonymousNav","AnonymousFooter","AppStatus","AcceptTos","NotificationContainer","NavHeader","NavFooter","ConversationNotification","SkipToContent","gqlErrors","UNAUTHORIZED_ACCESS","onChange","acceptedLevels","tracking","bootstrap","extend","digits","email","numeric","image","validate","lengthNumber","parseInt","RegExp","test","replace","trim","latitude","longitude","hasOneChecked","ValidationObserver","ValidationProvider","install","options","values","currentRoute","debugI18n","$tc","tc","CONTRACT_STATUS_PAID","CONTRACT_STATUS_SUBMITTED","CONTRACT_STATUS_PAYOUTDONE","CONTRACT_STATUS_CLOSED","STEP_EQUIPEMENT","STEP_OWNER","STEP_TENANT","claims","formats","langs","categories","contractStatus","organizationType","industry","ratingSteps","consts","$slugiffy","str","slugiffy","$slugiffyAd","ad","translationOrDefault","title","toLowerCase","charAt","$format","shortDate","datetime","i18n","dayjs","format","SHORT_DATE_FORMAT","shortMonthDay","date","DEFAULT_DATE_FORMAT","dateTime","DEFAULT_DATETIME_FORMAT","dateMonthYear","FORMAT_MONTH_YEAR","dateDay","locale","dateShortDay","dateLong","dateShort","dateDiff","startDate","endDate","diff","nl2br","escapeHtml","html","createTextNode","innerHTML","stripHtml","el","innerText","formatMoney","amount","decimalCount","decimal","thousands","Math","abs","isNaN","negativeSign","Number","toFixed","toString","substr","first","last","reverse","flattenDeep","findIndex","method","arr","reduce","acc","isToday","today","now","getDate","getMonth","noticeBannerType","consentType","palette","language","pageLoadConsentLevles","noticeBannerRejectButtonHide","preferencesCenterCloseButtonHide","pageRefreshConfirmationButtons","websiteName","async","body","cookieConsent","cookieconsent","run","hasConsent","onChangeAction","addEventListener","log","userConsent","consentLevel","cookieConsentObject","termsFeedConsentLevel","readCookie","consent","consentString","decodeURIComponent","startIndex","indexOf","consentValueSubstr","substring","nameEQ","ca","cookie","BootstrapVue","PortalVue","IconsPlugin","CustomVueI18n","Sluggify","Consts","Format","TermsFeed","VueCookies","expires","GmapVue","load","libraries","installComponents","VueGtag","config","anonymize_ip","productionTip","loadLocalState","apolloProvider","h","App","$mount","gqlDocs","handler","default","MAX_MSG_QUEUE","LOG_LEVEL_INFORMATION","LOG_LEVEL_WARNING","LOG_LEVEL_ERROR","LOG_LEVEL_CRITICAL","logMessage","sendMsgTimeout","logInformation","msg","logWarning","logError","logCritical","level","resetOrSend","sendMsg","_sendMsg","Accept","JSON","stringify","resetTimeout","startTimeout","handled","showErrors","getErrorMessages","messages","showError","graphQLErrors","gqlError","getGraphQLErrorMessage","getUnknownErrorMessage","extensions","errorCode","findGraphQLErrorMessage","gqlErrorsConfig","getGraphQLErrorsConfigFromViewModel","errorMessage","$parent","Logger","LANG_FR","LANG_EN","CONTENT_LANG_FR","CONTENT_LANG_EN","supportedLocales","initialLocale","Proxy","URLSearchParams","search","searchParams","prop","lang","LOCAL_STORAGE_LOCALE","advancedFormat","VueI18n","instanceI18n","fallbackLocale","loadLocaleMessages","locales","setLang","setItem","getLocalizedDate","getLocalizedMonthYear","getLocalizedDateDiff","isLangValid","SHORT_MONTH_DATE","SHORT_HOUR_MINUTE","SHORT_DAY_MONTH_YEAR","SHORT_MONTH_DAY_YEAR","ariaTitle","_t","String","addMaybeValue","_x2","_x3","_x4","_addMaybeValue","inputSource","inputResult","generate","random","showSuccess","_showSuccess","_args","showInfo","_showInfo","_args2","showWarning","_showWarning","_callee3","_args3","_context3","_showError","_callee4","_args4","_context4","_removeNotificationById","_callee5","_context5","RemoveLocalNotificationById","_x5","_removeNotificationByType","_callee6","_context6","RemoveLocalNotificationByType","_x6","_x7","_x8","_x9","_x10","_addNotification","_callee7","_context7","CreateLocalNotification","CLAIM_UTYPE_USER","CLAIM_UTYPE_ADMIN","TWILIO_EVENT_PARTICIPANT_JOINED","TWILIO_EVENT_MESSAGE_SENT","createUserAccount","_createUserAccount","input","CreateUserAccount","phoneNumber","showPhoneNumber","showEmail","firstName","lastName","organizationName","organizationNEQ","organizationTypeOtherSpecification","industryOtherSpecification","password","contactAuthorizationNews","contactAuthorizationSurveys","registeringInterests","createAdminAccount","_createAdminAccount","CreateAdminAccount","completeAdminRegistration","_completeAdminRegistration","CompleteAdminRegistration","verifyToken","_verifyToken","tokenType","VerifyToken","sendPasswordReset","_sendPasswordReset","SendPasswordReset","resetPassword","_resetPassword","emailAddress","newPassword","ResetPassword","_x11","updateFirstLoginModalClosed","_updateFirstLoginModalClosed","firstLoginModalClosed","UpdateFirstLoginModalClosed","_x12","updateUserProfile","_updateUserProfile","_callee8","mutationInput","_context8","userId","UpdateUserProfile","_x13","saveAccountSettings","_saveAccountSettings","_callee9","_context9","ChangePassword","_x14","_acceptTos","_callee10","tosVersion","_context10","_x15","ONE_HOUR","twilioClient","_loadLocalState","LOCAL_STORAGE_TWILIOTOKEN","setToken","getConversationBySid","_getConversationBySid","sid","conversation","_getUnreadMessagesCount","conversations","unreadMessagesCount","getSubscribedConversations","items","count","getConversationUnreadMessagesCount","_getConversationUnreadMessagesCount","addMessageToConversation","_addMessageToConversation","medias","media","prepareMessage","setBody","addMedia","finish","build","send","getConversationMessages","_getConversationMessages","loadMessage","_loadMessage","messageResult","prevPage","getMessages","hasPrevPage","setAllMessagesReadOnConversation","_setAllMessagesReadOnConversation","dontEmit","setAllMessagesRead","ConversationService","removeConversationNotification","getTwilioToken","_getTwilioToken","needNewToken","tokenToJSON","_result","parse","atob","isTokenExpire","exp","MyTwilioToken","myTwilioToken","beforeMs","_setToken","_callee11","_context11","UpdateTwilioToken","initTwilioClient","_initTwilioClient","_callee12","_context12","race","ConversationsClient","onParticipantJoined","_onMessageAdded","_callee13","_context13","getUserId","state","author","_onParticipantJoined","_callee14","_context14","createConversation","_createConversation","adId","CreateConversation","_removeConversationNotification","RemoveConversationNotification","URL_404","URL_CONFIRM_USER","URL_FORGOT_PASSWORD","URL_RESET_PASSWORD","URL_CREATE_AD","URL_PREPARE_AD","URL_AD_DETAIL","URL_AD_ALERT_ADD","URL_AD_ALERT_EDIT","URL_AD_ALERT_DELETE","URL_CREATE_CONVERSATION","URL_RESEND_CONFIRMATION_EMAIL","URL_AD_EDIT","URL_AD_TRANSFER","URL_CONVERSATION_DETAIL","URL_CREATE_CONTRACT","URL_CONTRACT_DETAIL","URL_CONTRACT_EDIT","URL_CONTRACT_RATING","URL_STRIPE_REFRESH","URL_STRIPE_VALIDATE","URL_ADD_PAYMENT","URL_PAYMENT_SUCCESS","URL_PAYMENT_CANCEL","URL_CREATE_ADMIN","URL_CREATE_USER","URL_CONFIRM_ADMIN","URL_EDIT_PROFILE","URL_AD_ALERT_CONFIRM","LOCAL_STORAGE_DEVICEID","LOCAL_STORAGE_REFRESHTOKEN","LOCAL_STORAGE_RENEWTOKEN_STATUS","LOCAL_STORAGE_MAP_LATLONG","LOCAL_STORAGE_MAP_ZOOMLEVEL","uTypeToGraphqlType","utype","setUser","_setUser","userToken","UpdateLocalUser","waitRefreshToken","_waitRefreshToken","timerId","removeItem","login","_login","username","deviceId","requestData","getTime","success","twoFaRequired","_renewToken","LocalUserIsConnected","LocalUserToken","nameid","resendConfirmationEmail","_resendConfirmationEmail","ResendConfirmationEmail","confirmEmail","_confirmEmail","ConfirmEmail","verifyEmail","_verifyEmail","VerifyEmail"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAA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E,SAAAynB,EAAexqB,EAAOqa,GAAK,OAAAvX,mBAAAK,MAAA,SAAAsnB,GAAA,eAAAA,EAAApnB,KAAAonB,EAAAnnB,MAAA,cAAAmnB,EAAAnnB,KAAA,EACjCqH,OAAO7F,SAASwB,cAAcsE,OAAO,CACzCC,SAAUwtB,kBACVttB,UAAW,CACTghB,MAAO,CACL1R,QACAra,YAGJ,wBAAAyqB,EAAA5mB,UAAA2mB,OACH,SAVD2N,EAAYjP,EAAAyB,GAAA,OAAAyN,EAAA5+B,MAAA,KAAAuK,WAAA,OAAZo0B,EAAc,GAWdG,YAAa,WAAF,IAAAC,EAAA11B,eAAAC,mBAAAC,MAAE,SAAA8nB,EAAexQ,GAAK,OAAAvX,mBAAAK,MAAA,SAAA2nB,GAAA,eAAAA,EAAAznB,KAAAynB,EAAAxnB,MAAA,cAAAwnB,EAAAxnB,KAAA,EACzBqH,OAAO7F,SAASwB,cAAcsE,OAAO,CACzCC,SAAU2tB,iBACVztB,UAAW,CACTghB,MAAO,CACL1R,YAGJ,wBAAAyQ,EAAAjnB,UAAAgnB,OACH,SATDyN,EAAWtN,GAAA,OAAAuN,EAAA/+B,MAAA,KAAAuK,WAAA,OAAXu0B,EAAa","file":"js/app-legacy.1914ff07.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \"-legacy.\" + {\"chunk-00469658\":\"625c7a36\",\"chunk-0ee911e2\":\"509496b1\",\"chunk-12dbd2ea\":\"85e208bf\",\"chunk-26c57992\":\"7632e77d\",\"chunk-2afcc03b\":\"2ee1b37b\",\"chunk-22743741\":\"b988894e\",\"chunk-04b79037\":\"7e3fc413\",\"chunk-1fae04d0\":\"4125acf3\",\"chunk-75ec5e00\":\"62c75857\",\"chunk-5264816c\":\"bcf7672a\",\"chunk-6f11122a\":\"645ee48a\",\"chunk-b199a81a\":\"bb400362\",\"chunk-57ac9ff1\":\"04407c6f\",\"chunk-ad188522\":\"4572ce71\",\"chunk-03082252\":\"99b63a60\",\"chunk-cc1528d2\":\"c6ca9474\",\"chunk-38477859\":\"d56f52ef\",\"chunk-6be740c2\":\"b99415c3\",\"chunk-9e930d3e\":\"0eeaf4e2\",\"chunk-40e0fb58\":\"713da4d2\",\"chunk-d7ea0e82\":\"98f5b39c\",\"chunk-0d11dcea\":\"61038408\",\"chunk-2d0c8f4c\":\"3ea2d67c\",\"chunk-2d230696\":\"b854a7cb\",\"chunk-375c8c91\":\"afcedd21\",\"chunk-3ab7e0ea\":\"ad02f5a9\",\"chunk-45064280\":\"93d58637\",\"chunk-46df1ab0\":\"735a599b\",\"chunk-47864449\":\"437d69d2\",\"chunk-613d30ea\":\"c0ca082a\",\"chunk-61e9a024\":\"eabce9f6\",\"chunk-673e4741\":\"f51895dd\",\"chunk-2d225f9a\":\"47fabc7c\",\"chunk-e38aaa4a\":\"191ac104\",\"chunk-6921d392\":\"ae0c0d55\",\"chunk-aec4ce94\":\"0c118db7\",\"chunk-6826d042\":\"b9a10631\",\"chunk-ece94490\":\"48edfcd7\",\"chunk-b5c1b352\":\"7d6799b6\",\"chunk-18c844b0\":\"8ba61a0d\",\"chunk-27725850\":\"6260bc49\",\"chunk-52e3bdf9\":\"9c471bb0\",\"chunk-c86f7f74\":\"644bc1d5\",\"chunk-cf701004\":\"953c9b0e\",\"chunk-e281ce52\":\"099b67a0\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-00469658\":1,\"chunk-0ee911e2\":1,\"chunk-12dbd2ea\":1,\"chunk-2afcc03b\":1,\"chunk-22743741\":1,\"chunk-5264816c\":1,\"chunk-b199a81a\":1,\"chunk-57ac9ff1\":1,\"chunk-ad188522\":1,\"chunk-03082252\":1,\"chunk-cc1528d2\":1,\"chunk-38477859\":1,\"chunk-6be740c2\":1,\"chunk-9e930d3e\":1,\"chunk-0d11dcea\":1,\"chunk-3ab7e0ea\":1,\"chunk-45064280\":1,\"chunk-46df1ab0\":1,\"chunk-47864449\":1,\"chunk-613d30ea\":1,\"chunk-61e9a024\":1,\"chunk-673e4741\":1,\"chunk-aec4ce94\":1,\"chunk-ece94490\":1,\"chunk-b5c1b352\":1,\"chunk-c86f7f74\":1,\"chunk-e281ce52\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-00469658\":\"ebc02aab\",\"chunk-0ee911e2\":\"2a1c3952\",\"chunk-12dbd2ea\":\"49d95266\",\"chunk-26c57992\":\"31d6cfe0\",\"chunk-2afcc03b\":\"b24a2a5b\",\"chunk-22743741\":\"11882b37\",\"chunk-04b79037\":\"31d6cfe0\",\"chunk-1fae04d0\":\"31d6cfe0\",\"chunk-75ec5e00\":\"31d6cfe0\",\"chunk-5264816c\":\"93742398\",\"chunk-6f11122a\":\"31d6cfe0\",\"chunk-b199a81a\":\"50bea467\",\"chunk-57ac9ff1\":\"09af44d9\",\"chunk-ad188522\":\"854b8f5f\",\"chunk-03082252\":\"76796188\",\"chunk-cc1528d2\":\"dc9da20e\",\"chunk-38477859\":\"1a2db938\",\"chunk-6be740c2\":\"ed0b4a0e\",\"chunk-9e930d3e\":\"c6260966\",\"chunk-40e0fb58\":\"31d6cfe0\",\"chunk-d7ea0e82\":\"31d6cfe0\",\"chunk-0d11dcea\":\"8b237c37\",\"chunk-2d0c8f4c\":\"31d6cfe0\",\"chunk-2d230696\":\"31d6cfe0\",\"chunk-375c8c91\":\"31d6cfe0\",\"chunk-3ab7e0ea\":\"39925ab4\",\"chunk-45064280\":\"ebc02aab\",\"chunk-46df1ab0\":\"ebc02aab\",\"chunk-47864449\":\"ebc02aab\",\"chunk-613d30ea\":\"d8753b7e\",\"chunk-61e9a024\":\"2efeac26\",\"chunk-673e4741\":\"48cc4917\",\"chunk-2d225f9a\":\"31d6cfe0\",\"chunk-e38aaa4a\":\"31d6cfe0\",\"chunk-6921d392\":\"31d6cfe0\",\"chunk-aec4ce94\":\"ac75b867\",\"chunk-6826d042\":\"31d6cfe0\",\"chunk-ece94490\":\"c68b13ed\",\"chunk-b5c1b352\":\"167dc164\",\"chunk-18c844b0\":\"31d6cfe0\",\"chunk-27725850\":\"31d6cfe0\",\"chunk-52e3bdf9\":\"31d6cfe0\",\"chunk-c86f7f74\":\"b44b75fc\",\"chunk-cf701004\":\"31d6cfe0\",\"chunk-e281ce52\":\"399561cf\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\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\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export default {\r\n app: {\r\n __typename: \"LocalApp\",\r\n showMenu: false\r\n },\r\n user: {\r\n __typename: \"LocalUser\",\r\n isConnected: false,\r\n accessToken: \"\",\r\n refreshToken: \"\"\r\n },\r\n twilio: {\r\n __typename: \"Twilio\",\r\n token: \"\"\r\n },\r\n notifications: []\r\n};\r\n","// Helper pour encapsuler la logique d'une mutation :\r\n// On lit l'entrée en cache, on la met à jour, on la ré-écrit dans la cache\r\n// Et on laisse la réactivité faire sa magie\r\n\r\nexport default {\r\n // cache : la cache d'Apollo\r\n // params : la query et ses variables : { query:Object, variables:Object }\r\n // update : delegate de mise à jour de l'entrée en cache : (x) => { ... }\r\n updateCache(cache, params, update) {\r\n const data = cache.readQuery(params);\r\n\r\n update(data);\r\n\r\n cache.writeQuery({ ...params, data });\r\n\r\n return data;\r\n }\r\n};\r\n","import MutationHelper from \"@/graphql/local/mutation-helper\";\r\n\r\nimport { LocalUser } from \"./user.graphql\";\r\nimport { LocalShowMenu } from \"./app.graphql\";\r\nimport { LocalNotifications } from \"./notification.graphql\";\r\nimport { TwilioToken } from \"./twilio.graphql\";\r\n\r\nexport default {\r\n Mutation: {\r\n updateShowMenu(_, { showMenu }, { cache }) {\r\n MutationHelper.updateCache(cache, { query: LocalShowMenu }, (x) => {\r\n x.app.showMenu = showMenu;\r\n });\r\n\r\n return showMenu;\r\n },\r\n updateLocalUser(_, { user }, { cache }) {\r\n const data = MutationHelper.updateCache(cache, { query: LocalUser }, (x) => {\r\n if (user.isConnected !== null && user.isConnected !== undefined) {\r\n x.user.isConnected = user.isConnected;\r\n }\r\n\r\n if (user.accessToken !== null && user.accessToken !== undefined) {\r\n x.user.accessToken = user.accessToken;\r\n }\r\n\r\n if (user.refreshToken !== null && user.refreshToken !== undefined) {\r\n x.user.refreshToken = user.refreshToken;\r\n }\r\n });\r\n\r\n return data.user;\r\n },\r\n addNotification(_, { notification }, { cache }) {\r\n MutationHelper.updateCache(cache, { query: LocalNotifications }, (x) => {\r\n x.notifications.push(notification);\r\n });\r\n\r\n return notification;\r\n },\r\n removeNotificationById(_, { id }, { cache }) {\r\n MutationHelper.updateCache(cache, { query: LocalNotifications }, (x) => {\r\n x.notifications = x.notifications.filter((item) => item.id !== id);\r\n });\r\n\r\n return id;\r\n },\r\n removeNotificationByType(_, { type }, { cache }) {\r\n MutationHelper.updateCache(cache, { query: LocalNotifications }, (x) => {\r\n x.notifications = x.notifications.filter((item) => item.type !== type);\r\n });\r\n\r\n return type;\r\n },\r\n updateTwilioToken(_, { token }, { cache }) {\r\n MutationHelper.updateCache(cache, { query: TwilioToken }, (x) => {\r\n x.twilio.token = token;\r\n });\r\n }\r\n }\r\n};\r\n","import AuthentificationService from \"@/services/authentification\";\r\n\r\nexport default {\r\n graphQLFetcher\r\n};\r\n\r\nfunction graphQLFetcher(uri, params) {\r\n return doFetchAndRefreshToken().catch((error) => {\r\n return doFetchAndRefreshToken();\r\n });\r\n\r\n function doFetchAndRefreshToken() {\r\n return doFetch().then(async function(response) {\r\n if (response.status !== 200) {\r\n await AuthentificationService.renewToken();\r\n\r\n let r2 = await doFetch();\r\n if (r2.status !== 200) {\r\n await AuthentificationService.logout();\r\n throw new Error(\"Unauthorized\");\r\n }\r\n\r\n return r2;\r\n }\r\n\r\n return response;\r\n });\r\n }\r\n\r\n async function doFetch() {\r\n let token = AuthentificationService.getUserToken();\r\n if (token !== \"\") {\r\n params.headers.authorization = `Bearer ${token}`;\r\n }\r\n return fetch(uri, params);\r\n }\r\n}\r\n","import Vue from \"vue\";\r\nimport VueApollo from \"vue-apollo\";\r\nimport { ApolloClient } from \"apollo-client\";\r\nimport { ApolloLink } from \"apollo-link\";\r\nimport { createHttpLink } from \"apollo-link-http\";\r\nimport { InMemoryCache, IntrospectionFragmentMatcher } from \"apollo-cache-inmemory\";\r\n\r\nimport defaults from \"@/graphql/local/default-value\";\r\nimport resolvers from \"@/graphql/local/resolvers\";\r\nimport * as typeDefs from \"@/graphql/local/type-defs.graphql\";\r\n\r\nimport GraphqlService from \"@/services/graphql\";\r\n\r\nimport { VUE_APP_GRAPHQL_HTTP } from \"@/helpers/env\";\r\nimport GlobalErrorHandler from \"@/helpers/global-error-handler\";\r\n\r\nimport introspectionQueryResultData from \"@/fragmentTypes.json\";\r\n\r\nVue.use(VueApollo);\r\n\r\nconst AUTH_TOKEN = \"apollo-token\";\r\nconst httpEndpoint = VUE_APP_GRAPHQL_HTTP || \"http://localhost:4000/graphql\";\r\n\r\nlet instance = createProvider();\r\n\r\nexport default {\r\n instance\r\n};\r\n\r\nfunction createProvider() {\r\n const fragmentMatcher = new IntrospectionFragmentMatcher({\r\n introspectionQueryResultData\r\n });\r\n const cache = new InMemoryCache({ fragmentMatcher });\r\n\r\n const httpLink = createHttpLink({ uri: httpEndpoint, fetch: GraphqlService.graphQLFetcher });\r\n\r\n const apolloClient = new ApolloClient({\r\n link: ApolloLink.from([httpLink]),\r\n cache,\r\n resolvers,\r\n typeDefs,\r\n defaultOptions: {\r\n httpEndpoint,\r\n tokenName: AUTH_TOKEN,\r\n persisting: false,\r\n websocketsOnly: false,\r\n ssr: false\r\n }\r\n });\r\n\r\n cache.writeData({ data: defaults });\r\n\r\n let vueApollo = new VueApollo({\r\n defaultClient: apolloClient,\r\n defaultOptions: {\r\n $query: {\r\n fetchPolicy: \"cache-and-network\"\r\n }\r\n },\r\n errorHandler: (error, component, _, operationType) => {\r\n error.gqlOperationType = operationType;\r\n GlobalErrorHandler(error, component);\r\n throw error;\r\n }\r\n });\r\n\r\n return vueApollo;\r\n}\r\n","export const INDUSTRY_FOOD_PROCESSING_AND_DISTRIBUTION = \"FOOD_PROCESSING_AND_DISTRIBUTION\";\r\nexport const INDUSTRY_CATERING = \"CATERING\";\r\nexport const INDUSTRY_RETAIL = \"RETAIL\";\r\nexport const INDUSTRY_EDUCATION_AND_TEACHING = \"EDUCATION_AND_TEACHING\";\r\nexport const INDUSTRY_HEALTH_AND_SOCIAL_SERVICES = \"HEALTH_AND_SOCIAL_SERVICES\";\r\nexport const INDUSTRY_TRANSPORT = \"TRANSPORT\";\r\nexport const INDUSTRY_OTHER = \"OTHER\";\r\n","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=custom&index=0&blockType=graphql\"","const overrides = window.yellowduck_env || {};\r\n\r\nexport const VUE_APP_I18N_LOCALE = overrides.VUE_APP_I18N_LOCALE || process.env.VUE_APP_I18N_LOCALE;\r\nexport const VUE_APP_I18N_FALLBACK_LOCALE = overrides.VUE_APP_I18N_FALLBACK_LOCALE || process.env.VUE_APP_I18N_FALLBACK_LOCALE;\r\nexport const VUE_APP_ROOT_API = overrides.VUE_APP_ROOT_API || process.env.VUE_APP_ROOT_API;\r\nexport const VUE_APP_GRAPHQL_HTTP = overrides.VUE_APP_GRAPHQL_HTTP || process.env.VUE_APP_GRAPHQL_HTTP;\r\nexport const VUE_APP_MUTUALI_CONTACT_MAIL = overrides.VUE_APP_MUTUALI_CONTACT_MAIL || process.env.VUE_APP_MUTUALI_CONTACT_MAIL;\r\nexport const VUE_APP_GOOGLE_PLACES_API_KEY = overrides.VUE_APP_GOOGLE_PLACES_API_KEY || process.env.VUE_APP_GOOGLE_PLACES_API_KEY;\r\nexport const VUE_APP_ENV = overrides.VUE_APP_ENV || process.env.VUE_APP_ENV;\r\nexport const VUE_APP_GA_MEASUREMENT_ID = overrides.VUE_APP_GA_MEASUREMENT_ID || process.env.VUE_APP_GA_MEASUREMENT_ID || \"\";\r\nexport const VUE_APP_SENTRY_DSN = overrides.VUE_APP_SENTRY_DSN || process.env.VUE_APP_SENTRY_DSN || \"\";\r\nexport const VUE_APP_SENTRY_ORIGINS = overrides.VUE_APP_SENTRY_ORIGINS || process.env.VUE_APP_SENTRY_ORIGINS || \"\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./skip-to-content.vue?vue&type=style&index=0&id=68d946ca&prod&lang=scss&scoped=true\"","import Vue from \"vue\";\r\nconst EventBus = new Vue();\r\nexport default EventBus;\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./base.vue?vue&type=style&index=0&id=1eada937&prod&lang=scss\"","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateShowMenu\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"showMenu\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Boolean\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateShowMenu\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"showMenu\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"showMenu\"}}}],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}]}]}}],\"loc\":{\"start\":0,\"end\":98}};\n doc.loc.source = {\"body\":\"mutation UpdateShowMenu($showMenu: Boolean!) {\\r\\n updateShowMenu(showMenu: $showMenu) @client\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"UpdateShowMenu\"] = oneQuery(doc, \"UpdateShowMenu\");\n \r\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"ObjectTypeDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalApp\"},\"interfaces\":[],\"directives\":[],\"fields\":[{\"kind\":\"FieldDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"showMenu\"},\"arguments\":[],\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Boolean\"}}},\"directives\":[]}]},{\"kind\":\"ObjectTypeDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"interfaces\":[],\"directives\":[],\"fields\":[{\"kind\":\"FieldDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Boolean\"}}},\"directives\":[]},{\"kind\":\"FieldDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"accessToken\"},\"arguments\":[],\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]},{\"kind\":\"FieldDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"refreshToken\"},\"arguments\":[],\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}]},{\"kind\":\"ObjectTypeDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"Twilio\"},\"interfaces\":[],\"directives\":[],\"fields\":[{\"kind\":\"FieldDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"},\"arguments\":[],\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}]},{\"kind\":\"ObjectTypeDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"Mutation\"},\"interfaces\":[],\"directives\":[],\"fields\":[{\"kind\":\"FieldDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"updateLocalUser\"},\"arguments\":[{\"kind\":\"InputValueDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"User\"}}},\"directives\":[]}],\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"User\"}},\"directives\":[]}]}],\"loc\":{\"start\":0,\"end\":237}};\n doc.loc.source = {\"body\":\"type LocalApp {\\r\\n showMenu: Boolean!\\r\\n}\\r\\n\\r\\ntype LocalUser {\\r\\n isConnected: Boolean!\\r\\n accessToken: String!\\r\\n refreshToken: String!\\r\\n}\\r\\n\\r\\ntype Twilio {\\r\\n token: String!\\r\\n}\\r\\n\\r\\ntype Mutation {\\r\\n updateLocalUser(user: User!): User\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n module.exports = doc;\n \r\n","// Originally inspired by David Walsh (https://davidwalsh.name/javascript-debounce-function)\r\n\r\nconst debounce = (func, wait) => {\r\n let timeout;\r\n //eslint-disable-next-line\r\n return function executedFunction(...args) {\r\n const later = () => {\r\n timeout = null;\r\n func(...args);\r\n };\r\n clearTimeout(timeout);\r\n timeout = setTimeout(later, wait);\r\n };\r\n};\r\n\r\nexport default debounce;\r\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyTwilioToken\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"myTwilioToken\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateTwilioToken\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateTwilioToken\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"}}}],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}]}]}}],\"loc\":{\"start\":0,\"end\":139}};\n doc.loc.source = {\"body\":\"query MyTwilioToken {\\r\\n myTwilioToken\\r\\n}\\r\\n\\r\\nmutation UpdateTwilioToken($token: String!) {\\r\\n updateTwilioToken(token: $token) @client\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"MyTwilioToken\"] = oneQuery(doc, \"MyTwilioToken\");\n \n module.exports[\"UpdateTwilioToken\"] = oneQuery(doc, \"UpdateTwilioToken\");\n \r\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"TwilioToken\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"twilio\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":60}};\n doc.loc.source = {\"body\":\"query TwilioToken {\\r\\n twilio @client {\\r\\n token\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"TwilioToken\"] = oneQuery(doc, \"TwilioToken\");\n \r\n","import Apollo from \"@/graphql/vue-apollo\";\r\nimport { UpdateShowMenu } from \"./app.graphql\";\r\n\r\nexport default {\r\n updateShowMenu: async function(showMenu) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateShowMenu,\r\n variables: {\r\n showMenu\r\n }\r\n });\r\n }\r\n};\r\n","import { USER_TYPE_USER, USER_TYPE_ADMIN } from \"@/consts/enums\";\r\nimport * as urls from \"@/consts/urls\";\r\n\r\nimport AuthentificationService from \"@/services/authentification\";\r\n\r\n// simplifies route config\r\nconst anonymous = true;\r\nconst notConnected = true;\r\n\r\n/*\r\nmeta: {\r\n fullscreen: false, // If true, hides main app navigation\r\n anonymous: false, // If true, does not require login\r\n usertype: null, // set to USER_TYPE_USER / USER_TYPE_ADMIN / USER_TYPE_ANONYME to restrict page by user type\r\n notConnected: false // If true, the use need to be not connected to use this page\r\n}\r\n*/\r\n\r\n// NOTE: On pourrait potentiellement splitter la config de routes en sous-groupes logiques et les combiner ici avec [...someRoutes, ...someOtherRoutes]\r\nexport default [\r\n {\r\n name: urls.URL_ROOT,\r\n path: \"/\",\r\n redirect() {\r\n const isLoggedIn = AuthentificationService.getUserIsLogged();\r\n\r\n if (!isLoggedIn) {\r\n return { name: urls.URL_LANDING };\r\n }\r\n\r\n const userType = AuthentificationService.getUserType();\r\n\r\n switch (userType) {\r\n case USER_TYPE_USER:\r\n case USER_TYPE_ADMIN:\r\n return {\r\n name: urls.URL_LIST_AD\r\n };\r\n }\r\n },\r\n meta: {\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_LANDING,\r\n path: \"/accueil\",\r\n component: () => import(\"@/components/pages/anonyme/landing-page.vue\"),\r\n meta: {\r\n anonymous,\r\n fullscreen: true\r\n }\r\n },\r\n {\r\n name: urls.URL_SHARING_EQUIPMENT,\r\n path: \"/equipement-a-partager\",\r\n component: () => import(\"@/components/pages/anonyme/sharing-equipment.vue\"),\r\n meta: {\r\n anonymous,\r\n fullscreen: true\r\n }\r\n },\r\n {\r\n name: urls.URL_LOOKING_FOR_EQUIPMENT,\r\n path: \"/recherche-d-equipement\",\r\n component: () => import(\"@/components/pages/anonyme/looking-for-equipment.vue\"),\r\n meta: {\r\n anonymous,\r\n fullscreen: true\r\n }\r\n },\r\n {\r\n name: urls.URL_ABOUT,\r\n path: \"/a-propos\",\r\n component: () => import(\"@/components/pages/anonyme/about.vue\"),\r\n meta: {\r\n anonymous,\r\n fullscreen: true\r\n }\r\n },\r\n {\r\n name: urls.URL_CONTACT,\r\n path: \"/nous-joindre\",\r\n component: () => import(\"@/components/pages/anonyme/contact.vue\"),\r\n meta: {\r\n anonymous,\r\n fullscreen: true\r\n }\r\n },\r\n {\r\n name: urls.URL_LOGIN,\r\n path: \"/connexion\",\r\n component: () => import(\"@/components/pages/anonyme/login.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_FORGOT_PASSWORD,\r\n path: \"/mot-de-passe-oublie\",\r\n component: () => import(\"@/components/pages/anonyme/forgot-password.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_RESET_PASSWORD,\r\n path: \"/reinitialiser-mot-de-passe\",\r\n component: () => import(\"@/components/pages/anonyme/reset-password.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_RESEND_CONFIRMATION_EMAIL,\r\n path: \"/reenvoyer-courriel\",\r\n component: () => import(\"@/components/pages/anonyme/resend-email.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_USER_SUBSCRIBE,\r\n path: \"/inscription\",\r\n component: () => import(\"@/components/pages/anonyme/subscribe-user.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n {\r\n key: urls.URL_CONFIRM_USER,\r\n path: \"/confirmez-courriel\",\r\n component: () => import(\"@/components/pages/anonyme/confirm-user.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n {\r\n key: urls.URL_CONFIRM_ADMIN,\r\n path: \"/registration/admin\",\r\n component: () => import(\"@/components/pages/anonyme/confirm-admin.vue\"),\r\n meta: {\r\n notConnected,\r\n anonymous\r\n }\r\n },\r\n\r\n {\r\n name: urls.URL_USER_PROFILE_DETAIL,\r\n path: \"/profil/:id\",\r\n component: () => import(\"@/components/pages/user-generic/profile-detail.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_PROFILE_EDIT,\r\n path: \"/modifier-profil\",\r\n component: () => import(\"@/components/pages/user-generic/profile-edit.vue\"),\r\n meta: {\r\n usertype: [USER_TYPE_USER, USER_TYPE_ADMIN]\r\n }\r\n },\r\n {\r\n name: urls.URL_ACCOUNT_SETTINGS,\r\n path: \"/parametres\",\r\n component: () => import(\"@/components/pages/user-generic/account-settings.vue\"),\r\n meta: {\r\n usertype: [USER_TYPE_USER, USER_TYPE_ADMIN]\r\n }\r\n },\r\n {\r\n name: urls.URL_MANAGE_ADS,\r\n path: \"/gerer-annonces\",\r\n component: () => import(\"@/components/pages/ad/manage.vue\"),\r\n meta: {\r\n usertype: [USER_TYPE_USER, USER_TYPE_ADMIN]\r\n }\r\n },\r\n\r\n {\r\n name: urls.URL_LIST_AD,\r\n path: \"/annonces\",\r\n component: () => import(\"@/components/pages/ad/list.vue\"),\r\n meta: {\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_CREATE_AD,\r\n path: \"/annonces/creer\",\r\n component: () => import(\"@/components/pages/ad/create.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_PREPARE_AD,\r\n path: \"/annonces/preparer\",\r\n component: () => import(\"@/components/pages/ad/prepare.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_ADMIN\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_DETAIL,\r\n path: \"/annonces/:id\",\r\n component: () => import(\"@/components/pages/ad/detail.vue\"),\r\n meta: {\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_EDIT,\r\n path: \"/annonces/modifier/:id\",\r\n component: () => import(\"@/components/pages/ad/edit.vue\"),\r\n meta: {\r\n usertype: [USER_TYPE_USER, USER_TYPE_ADMIN]\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_TRANSFER,\r\n path: \"/annonces/transferer/:id\",\r\n component: () => import(\"@/components/pages/ad/transfer.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_ADMIN\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_ALERT_LIST,\r\n path: \"/alertes\",\r\n component: () => import(\"@/components/pages/alert/list.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_ALERT_ADD,\r\n path: \"/alertes/creer\",\r\n component: () => import(\"@/components/pages/alert/add.vue\"),\r\n meta: {\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_ALERT_CONFIRM,\r\n path: \"/alertes/confirmer/:id\",\r\n component: () => import(\"@/components/pages/alert/confirm.vue\"),\r\n meta: {\r\n anonymous\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_ALERT_EDIT,\r\n path: \"/alertes/modifier/:id\",\r\n component: () => import(\"@/components/pages/alert/edit.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_AD_ALERT_DELETE,\r\n path: \"/alertes/supprimer/:id\",\r\n component: () => import(\"@/components/pages/alert/delete.vue\"),\r\n meta: {\r\n anonymous\r\n }\r\n },\r\n\r\n {\r\n name: urls.URL_LIST_CONVERSATION,\r\n path: \"/conversations\",\r\n component: () => import(\"@/components/pages/conversation/list.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_CONVERSATION_DETAIL,\r\n path: \"/conversations/:id\",\r\n component: () => import(\"@/components/pages/conversation/detail.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_CREATE_CONVERSATION,\r\n path: \"/conversations/creer/:adId\",\r\n component: () => import(\"@/components/pages/conversation/create.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n\r\n /* Disable for Pilote version */\r\n /*{\r\n name: urls.URL_ADD_PAYMENT,\r\n path: \"/conversations/:id/paiement/ajouter\",\r\n component: () => import(\"@/components/pages/payment/add.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },*/\r\n\r\n /* Disable for Pilote version */\r\n /*{\r\n name: urls.URL_CREATE_CONTRACT,\r\n path: \"/conversations/:id/contrat/creer\",\r\n component: () => import(\"@/components/pages/contract/create.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_CONTRACT_DETAIL,\r\n path: \"/contrat/:id\",\r\n component: () => import(\"@/components/pages/contract/detail.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_CONTRACT_EDIT,\r\n path: \"/contrat/:id/modifier\",\r\n component: () => import(\"@/components/pages/contract/edit.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_CONTRACT_RATING,\r\n path: \"/contrat/:id/evaluer\",\r\n component: () => import(\"@/components/pages/contract/rate.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },*/\r\n\r\n /* Disable for Pilote version */\r\n /*{\r\n name: urls.URL_STRIPE_REFRESH,\r\n path: \"/stripe-connect-refresh\",\r\n component: () => import(\"@/components/pages/payment/refresh.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_STRIPE_VALIDATE,\r\n path: \"/stripe-connect-validate\",\r\n component: () => import(\"@/components/pages/payment/validate.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_PAYMENT_SUCCESS,\r\n path: \"/payment-success\",\r\n component: () => import(\"@/components/pages/payment/success.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },\r\n {\r\n name: urls.URL_PAYMENT_CANCEL,\r\n path: \"/payment-cancel\",\r\n component: () => import(\"@/components/pages/payment/cancel.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_USER\r\n }\r\n },*/\r\n\r\n {\r\n name: urls.URL_LIST_USERS,\r\n path: \"/gestion-utilisateurs\",\r\n component: () => import(\"@/components/pages/user-admin/manage-users.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_ADMIN\r\n }\r\n },\r\n {\r\n name: urls.URL_CREATE_ADMIN,\r\n path: \"/gestion-utilisateurs/creer-administrateur\",\r\n component: () => import(\"@/components/pages/user-admin/subscribe-admin.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_ADMIN\r\n }\r\n },\r\n {\r\n name: urls.URL_CREATE_USER,\r\n path: \"/gestion-utilisateurs/creer-utilisateur\",\r\n component: () => import(\"@/components/pages/user-admin/subscribe-user.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_ADMIN\r\n }\r\n },\r\n {\r\n name: urls.URL_EDIT_PROFILE,\r\n path: \"/gestion-utilisateurs/modifier-utilisateur/:id\",\r\n component: () => import(\"@/components/pages/user-admin/profile-edit.vue\"),\r\n meta: {\r\n usertype: USER_TYPE_ADMIN\r\n }\r\n },\r\n\r\n {\r\n name: urls.URL_404,\r\n path: \"*\",\r\n component: () => import(\"@/components/pages/content/error-404.vue\"),\r\n meta: {\r\n anonymous\r\n }\r\n }\r\n];\r\n","import Vue from \"vue\";\r\nimport VueRouter from \"vue-router\";\r\n\r\nimport AuthentificationService from \"@/services/authentification\";\r\nimport AppService from \"@/services/app\";\r\n\r\nimport { URL_LOGIN, URL_ROOT, URL_LIST_AD } from \"@/consts/urls\";\r\n\r\nimport routes from \"./routes\";\r\n\r\nVue.use(VueRouter);\r\n\r\nfunction scrollBehavior(to, from, savedPosition) {\r\n // Mimics the behavior of scrolling to an anchor\r\n if (to.hash) {\r\n return new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n const elToScroll = document.querySelector(to.hash);\r\n if (!elToScroll) {\r\n return { x: 0, y: 0, behavior: \"smooth\" };\r\n }\r\n const yPos = elToScroll.getBoundingClientRect().top;\r\n resolve({ x: 0, y: yPos, behavior: \"smooth\" });\r\n }, 500);\r\n });\r\n }\r\n\r\n return savedPosition || { x: 0, y: 0 };\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 scrollBehavior\r\n});\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n const isLoggedIn = AuthentificationService.getUserIsLogged();\r\n const userType = AuthentificationService.getUserType();\r\n\r\n if (to.matched.some((r) => !r.meta.anonymous)) {\r\n if (!isLoggedIn) {\r\n return next({\r\n name: URL_LOGIN,\r\n query: {\r\n returnPath: to.fullPath\r\n }\r\n });\r\n }\r\n } else if (to.matched.some((r) => r.meta.notConnected)) {\r\n {\r\n if (isLoggedIn) {\r\n return next({\r\n name: URL_LIST_AD\r\n });\r\n }\r\n }\r\n }\r\n\r\n for (const match of to.matched) {\r\n if (match.meta.usertype) {\r\n if (Array.isArray(match.meta.usertype)) {\r\n if (!match.meta.usertype.includes(userType)) {\r\n return next({\r\n name: URL_ROOT\r\n });\r\n }\r\n } else if (userType !== match.meta.usertype) {\r\n return next({\r\n name: URL_ROOT\r\n });\r\n }\r\n }\r\n }\r\n\r\n AppService.updateShowMenu(!to.meta.fullscreen);\r\n next();\r\n});\r\n\r\nexport default router;\r\n","export const CATEGORY_PROFESSIONAL_KITCHEN = \"PROFESSIONAL_KITCHEN\";\r\nexport const CATEGORY_DELIVERY_TRUCK = \"DELIVERY_TRUCK\";\r\nexport const CATEGORY_STORAGE_SPACE = \"STORAGE_SPACE\";\r\nexport const CATEGORY_PROFESSIONAL_COOKING_EQUIPMENT = \"PROFESSIONAL_COOKING_EQUIPMENT\";\r\nexport const CATEGORY_PREP_EQUIPMENT = \"PREP_EQUIPMENT\";\r\nexport const CATEGORY_REFRIGERATION_EQUIPMENT = \"REFRIGERATION_EQUIPMENT\";\r\nexport const CATEGORY_HEAVY_EQUIPMENT = \"HEAVY_EQUIPMENT\";\r\nexport const CATEGORY_SURPLUS = \"SURPLUS\";\r\nexport const CATEGORY_OTHER = \"OTHER\";\r\n","var map = {\n\t\"./en.json\": \"edd4\",\n\t\"./fr.json\": \"f693\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"49f8\";","export const PORTAL_HEADER = \"PORTAL_HEADER\";\r\n\r\nexport const USER_TYPE_ANONYME = \"ANONYME\";\r\nexport const USER_TYPE_ADMIN = \"ADMIN\";\r\nexport const USER_TYPE_USER = \"USER\";\r\n","/* Old */\r\nexport const ORGANIZATION_TYPE_NON_PROFIT_ORGANIZATIONS = \"NON_PROFIT_ORGANIZATIONS\";\r\nexport const ORGANIZATION_TYPE_PRIVATE_COMPANY = \"PRIVATE_COMPANY\";\r\nexport const ORGANIZATION_TYPE_PUBLIC_SECTOR = \"PUBLIC_SECTOR\";\r\n\r\n/* New */\r\nexport const ORGANIZATION_TYPE_SOCIAL_ECONOMY = \"SOCIAL_ECONOMY_ORGANIZATIONS\";\r\nexport const ORGANIZATION_TYPE_FOOD_PROCESSING = \"FOOD_PROCESSING_ORGANIZATIONS\";\r\nexport const ORGANIZATION_TYPE_AGRICULTURE = \"AGRICULTURE_ORGANIZATIONS\";\r\nexport const ORGANIZATION_TYPE_NON_PROFIT = \"NON_PROFIT\";\r\nexport const ORGANIZATION_TYPE_OTHER = \"OTHER\";\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"app\"},[_c('conversation-notification'),_c('header',{staticClass:\"app__top\",class:{ 'app__top--app': _vm.showAppHeader }},[_c('app-status'),_c('skip-to-content'),(_vm.showAppHeader)?[(_vm.showHeaderPortal)?_c('portal-target',{attrs:{\"name\":_vm.$consts.enums.PORTAL_HEADER,\"slim\":\"\"}}):_c('nav-header')]:_c('anonymous-nav'),_c('notification-container')],2),_c('main',{staticClass:\"app__middle\",attrs:{\"id\":\"main\"}},[_c('router-view'),_c('accept-tos')],1),_c('footer',{staticClass:\"app__bottom\"},[(_vm.showAppHeader && !_vm.showHeaderPortal)?_c('nav-footer'):(!_vm.showAppHeader)?_c('anonymous-footer'):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"anonymous-nav\"},[_c('div',{staticClass:\"anonymous-nav__content section section--xl border-b\"},[_c('b-navbar',{staticClass:\"px-0 pt-4 pb-3\",attrs:{\"toggleable\":\"lg\",\"type\":\"light\"}},[_c('b-navbar-brand',{staticClass:\"d-flex align-items-center mr-lg-4\",attrs:{\"to\":{ name: _vm.$consts.urls.URL_ROOT }}},[_c('b-img',{staticClass:\"anonymous-nav__logo\",attrs:{\"alt\":\"Mutuali\",\"src\":require('@/assets/logos/logo-mutuali-cibim.svg')}})],1),_c('b-navbar-toggle',{staticClass:\"anonymous-nav__toggle\",attrs:{\"target\":\"nav-collapse\"}}),_c('b-collapse',{attrs:{\"id\":\"nav-collapse\",\"is-nav\":\"\"}},[_c('b-navbar-nav',{staticClass:\"mb-3 mb-lg-0\"},[_c('b-nav-item',{staticClass:\"anonymous-nav__item mr-lg-3\",attrs:{\"to\":{ name: _vm.$consts.urls.URL_ABOUT }}},[_vm._v(_vm._s(_vm.$t(\"nav.about\")))]),_c('b-nav-item-dropdown',{staticClass:\"anonymous-nav__item mr-lg-3\",attrs:{\"text\":_vm.$t('nav.how-it-work')}},[_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_SHARING_EQUIPMENT }}},[_vm._v(_vm._s(_vm.$t(\"nav.how-it-work.post-ad\")))]),_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_LOOKING_FOR_EQUIPMENT }}},[_vm._v(_vm._s(_vm.$t(\"nav.how-it-work.view-ad\")))]),_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_ROOT, hash: '#introVideo' }}},[_vm._v(_vm._s(_vm.$t(\"nav.how-it-work.video\")))]),_c('b-dropdown-item',{attrs:{\"href\":\"https://mutuali.notion.site/mutuali/Foire-aux-questions-0b482ef447694f73926b495675f1685e\",\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.$t(\"nav.how-it-work.faq\")))])],1),_c('b-nav-item',{staticClass:\"anonymous-nav__item\",attrs:{\"to\":{ name: _vm.$consts.urls.URL_CONTACT }}},[_vm._v(_vm._s(_vm.$t(\"nav.contact-us\")))])],1),_c('b-navbar-nav',{staticClass:\"d-flex flex-row ml-auto\"},[(!_vm.isConnected)?[_c('li',{staticClass:\"nav-item mr-2\"},[_c('router-link',{staticClass:\"btn btn-outline-primary\",attrs:{\"to\":{ name: _vm.$consts.urls.URL_LOGIN }}},[_vm._v(\" \"+_vm._s(this.$t(\"btn.landing-connect\"))+\" \")])],1),_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"btn btn-admin\",attrs:{\"to\":{ name: _vm.$consts.urls.URL_USER_SUBSCRIBE }}},[_vm._v(\" \"+_vm._s(this.$t(\"btn.landing-create-account\"))+\" \")])],1)]:[_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"btn btn-primary\",attrs:{\"to\":{\n name: _vm.$consts.urls.URL_USER_PROFILE_DETAIL,\n params: { id: _vm.userProfileId }\n }}},[_c('b-icon-person-circle',{attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.userProfilePublicName)+\" \")],1)],1)],_c('b-nav-item',{staticClass:\"anonymous-nav__item ml-2\",on:{\"click\":_vm.changeLang}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(_vm._s(_vm.$t(\"btn.change-lang-shortcut\")))]),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"btn.change-lang\")))])])],2)],1)],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\nquery LocalUser {\r\n user @client {\r\n isConnected\r\n }\r\n}\r\n\r\nquery Me {\r\n me {\r\n id\r\n profile {\r\n id\r\n ... on UserProfileGraphType {\r\n publicName\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--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./nav.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./nav.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./nav.vue?vue&type=template&id=0859d114\"\nimport script from \"./nav.vue?vue&type=script&lang=js\"\nexport * from \"./nav.vue?vue&type=script&lang=js\"\nimport style0 from \"./nav.vue?vue&type=style&index=0&id=0859d114&prod&lang=scss\"\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\n/* custom blocks */\nimport block0 from \"./nav.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-bottom\"},[_c('div',{staticClass:\"section section--xl\"},[_c('div',{staticClass:\"footer-bottom__items\"},[_c('div',{staticClass:\"footer-bottom__logos\"},[_c('a',{staticClass:\"footer-bottom__link footer-bottom__link--cibim\",attrs:{\"href\":\"https://cibim.org/\",\"target\":\"_blank\"}},[_c('b-img',{staticClass:\"mr-3\",attrs:{\"width\":\"258\",\"alt\":\"Logo Carrefour de l'Industrie Bioalimentaire de l'Île de Montréal (CIBÎM)\",\"src\":require('@/assets/logos/logo-cibim.svg')}})],1),_c('a',{staticClass:\"footer-bottom__link\",attrs:{\"href\":\"https://www.rtcbq.com/\",\"target\":\"_blank\"}},[_c('b-img',{attrs:{\"width\":\"230\",\"alt\":\"Logo Regroupement des tables de concertation bioalimentaire du Québec (RTCBQ)\",\"src\":require('@/assets/logos/logo-rtcbq.png')}})],1)]),_c('div',{staticClass:\"footer-bottom__small\"},[_c('span',{staticClass:\"footer-bottom__item\"},[_vm._v(\" © \"+_vm._s(new Date().getFullYear())+\" \"+_vm._s(_vm.$t(\"text.landing-page-all-right-reserved\"))+\" \")]),_c('span',{staticClass:\"footer-bottom__item\",domProps:{\"innerHTML\":_vm._s(_vm.$t('text.landing-page-terms-of-use'))}}),_c('span',{staticClass:\"footer-bottom__item\",domProps:{\"innerHTML\":_vm._s(_vm.$t('text.landing-page-privacy-policy'))}}),_c('span',{staticClass:\"footer-bottom__item\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$termsFeed.openPreferencesCenter()}}},[_vm._v(_vm._s(_vm.$t(\"text.landing-page-terms-feed\")))])])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./footer-bottom.vue?vue&type=template&id=11817f81&scoped=true\"\nvar script = {}\nimport style0 from \"./footer-bottom.vue?vue&type=style&index=0&id=11817f81&prod&lang=scss&scoped=true\"\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 \"11817f81\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isUnavailable || _vm.isOutOfDate)?_c('p',{staticClass:\"section section--padding-x app-status\",class:{ 'app-status--danger': _vm.isUnavailable }},[(_vm.isUnavailable)?[_c('b-icon-exclamation-circle',{attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"app-status.unavailable\"))+\" \")]:(_vm.isOutOfDate)?_c('span',{staticClass:\"d-flex align-items-center justify-content-between\"},[_c('span',{staticClass:\"d-block mr-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app-status.out-of-date\"))+\" \")]),_c('b-button',{attrs:{\"size\":\"sm\",\"pill\":\"\",\"variant\":\"light\",\"aria-label\":_vm.$t('app-status.refresh')},on:{\"click\":_vm.refresh}},[_c('b-icon-arrow-clockwise',{attrs:{\"aria-hidden\":\"true\"}})],1)],1):_vm._e()],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../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!./app-status.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../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!./app-status.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./app-status.vue?vue&type=template&id=822846c0\"\nimport script from \"./app-status.vue?vue&type=script&lang=js\"\nexport * from \"./app-status.vue?vue&type=script&lang=js\"\nimport style0 from \"./app-status.vue?vue&type=style&index=0&id=822846c0&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('b-modal',{attrs:{\"title\":_vm.$t('accept-tos.title'),\"hide-footer\":\"\",\"hide-header-close\":\"\",\"no-close-on-backdrop\":\"\",\"no-close-on-esc\":\"\",\"centered\":\"\"},model:{value:(_vm.acceptTosModalOpen),callback:function ($$v) {_vm.acceptTosModalOpen=$$v},expression:\"acceptTosModalOpen\"}},[_c('p',[_vm._v(_vm._s(_vm.$t(\"accept-tos.text\")))]),_c('p',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('text.landing-page-terms-of-use'))}}),_c('br'),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('text.landing-page-privacy-policy'))}})]),_c('p',[_vm._v(_vm._s(_vm.$t(\"accept-tos.question\")))]),_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.acceptLatestTos}},[_vm._v(_vm._s(_vm.$t(\"accept-tos.button\")))]),_c('b-button',{attrs:{\"variant\":\"link\"},on:{\"click\":_vm.logout}},[_vm._v(_vm._s(_vm.$t(\"accept-tos.logout\")))])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\nquery LocalUser {\r\n user @client {\r\n isConnected\r\n }\r\n}\r\n\r\nquery Me {\r\n me {\r\n id\r\n type\r\n profile {\r\n id\r\n ... on UserProfileGraphType {\r\n acceptedTos {\r\n id\r\n hasAcceptedLatest\r\n latestVersionAvailable\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--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./accept-tos.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./accept-tos.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./accept-tos.vue?vue&type=template&id=276fd6f2\"\nimport script from \"./accept-tos.vue?vue&type=script&lang=js\"\nexport * from \"./accept-tos.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\n/* custom blocks */\nimport block0 from \"./accept-tos.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span')\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\nquery LocalUser {\r\n user @client {\r\n isConnected\r\n }\r\n}\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./conversation.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./conversation.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./conversation.vue?vue&type=template&id=76fdc878\"\nimport script from \"./conversation.vue?vue&type=script&lang=js\"\nexport * from \"./conversation.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\n/* custom blocks */\nimport block0 from \"./conversation.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.notifications && _vm.notifications.length > 0)?_c('div',_vm._l((_vm.notifications),function(notification){return _c('notification-alert',{key:notification.id,attrs:{\"item\":notification},on:{\"dismiss\":_vm.onNotificationDismiss}})}),1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"notification-alert section section--padding-x\",class:`notification-alert--${_vm.displayType}`},[_c('span',{staticClass:\"d-flex align-items-center justify-content-between\"},[_c('span',{staticClass:\"d-block mr-2\"},[_vm._v(\" \"+_vm._s(_vm.item.text)+\" \")]),(_vm.item.dismissible)?_c('b-button',{attrs:{\"size\":\"sm\",\"pill\":\"\",\"variant\":_vm.displayType,\"aria-label\":_vm.$t('sr.dismiss-alert')},on:{\"click\":_vm.dismiss}},[_c('b-icon-x-circle-fill',{attrs:{\"aria-hidden\":\"true\"}})],1):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./notification-alert.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./notification-alert.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./notification-alert.vue?vue&type=template&id=88bd7070\"\nimport script from \"./notification-alert.vue?vue&type=script&lang=js\"\nexport * from \"./notification-alert.vue?vue&type=script&lang=js\"\nimport style0 from \"./notification-alert.vue?vue&type=style&index=0&id=88bd7070&prod&lang=scss\"\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","\r\n\r\n\r\nquery LocalNotifications {\r\n notifications @client {\r\n id\r\n type\r\n text\r\n duration\r\n dismissible\r\n }\r\n}\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./notification-container.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./notification-container.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./notification-container.vue?vue&type=template&id=02a23d9e\"\nimport script from \"./notification-container.vue?vue&type=script&lang=js\"\nexport * from \"./notification-container.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\n/* custom blocks */\nimport block0 from \"./notification-container.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('nav-base',{attrs:{\"aria-title\":_vm.$t('sr.main-nav')}},[_c('b-navbar-nav',{staticClass:\"nav-header\"},[_c('b-nav-item',{attrs:{\"link-classes\":\"text-dark\",\"to\":{ name: _vm.$consts.urls.URL_LIST_AD }}},[_vm._v(_vm._s(_vm.$t(\"btn.list-ad\")))]),(_vm.isConnected)?[(_vm.isAdmin)?[_c('b-nav-item',{attrs:{\"link-classes\":\"position-relative text-dark\",\"to\":{ name: _vm.$consts.urls.URL_LIST_USERS }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.manage-users\"))+\" \")])]:[_c('b-nav-item',{attrs:{\"link-classes\":\"position-relative text-dark\",\"to\":{ name: _vm.$consts.urls.URL_LIST_CONVERSATION }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.list-conversation\"))+\" \"),(_vm.unreadMessageCount > 0)?_c('span',{staticClass:\"nav-header__notification\"}):_vm._e()])]]:_vm._e()],2),_c('b-navbar-nav',{staticClass:\"nav-header ml-auto mr-n2\"},[(_vm.isConnected)?[_c('b-nav-item-dropdown',{attrs:{\"right\":\"\",\"no-caret\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('span',{staticClass:\"text-dark\"},[_c('span',{staticClass:\"nav-header__profile-icon\",attrs:{\"aria-hidden\":\"true\"}},[_c('b-icon-person-circle')],1),_vm._v(\" \"+_vm._s(_vm.$t(\"nav.profile\"))+\" \")])]},proxy:true}],null,false,147989482)},[(!_vm.isAdmin)?[_c('b-dropdown-item',{attrs:{\"to\":{\n name: _vm.$consts.urls.URL_USER_PROFILE_DETAIL,\n params: { id: _vm.userProfileId }\n }}},[_vm._v(_vm._s(_vm.$t(\"btn.my-profile\")))]),_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_MANAGE_ADS }}},[_vm._v(_vm._s(_vm.$t(\"btn.manage-my-ads\")))]),_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_AD_ALERT_LIST }}},[_vm._v(_vm._s(_vm.$t(\"btn.manage-my-alerts\")))])]:[_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_MANAGE_ADS }}},[_vm._v(_vm._s(_vm.$t(\"btn.manage-admin-ads\")))])],_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_PROFILE_EDIT }}},[_vm._v(_vm._s(_vm.$t(\"btn.edit-my-profile\")))]),_c('b-dropdown-item',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_ACCOUNT_SETTINGS }}},[_vm._v(_vm._s(_vm.$t(\"btn.account-settings\")))]),_c('b-dropdown-item',{on:{\"click\":_vm.logout}},[_vm._v(_vm._s(_vm.$t(\"btn.logout\")))])],2)]:[_c('b-nav-item',{attrs:{\"link-classes\":\"text-dark\",\"to\":{ name: _vm.$consts.urls.URL_LOGIN }}},[_vm._v(_vm._s(_vm.$t(\"btn.login\")))])],_c('b-nav-item',{attrs:{\"link-classes\":\"text-dark\"},on:{\"click\":_vm.changeLang}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"btn.change-lang\")))]),_c('span',{attrs:{\"aria-hidden\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"btn.change-lang-shortcut\")))])])],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\nquery LocalUser {\r\n user @client {\r\n isConnected\r\n }\r\n}\r\n\r\nquery Me {\r\n me {\r\n id\r\n profile {\r\n id\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--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./header.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./header.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./header.vue?vue&type=template&id=4c1c7964\"\nimport script from \"./header.vue?vue&type=script&lang=js\"\nexport * from \"./header.vue?vue&type=script&lang=js\"\nimport style0 from \"./header.vue?vue&type=style&index=0&id=4c1c7964&prod&lang=scss\"\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\n/* custom blocks */\nimport block0 from \"./header.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"gray-lighter bg-light footer-app\"},[_c('b-nav',{attrs:{\"small\":\"\"}},[_c('b-nav-item',{staticClass:\"footer-app__nav-item navbar-nav mx-2\",attrs:{\"to\":{ name: _vm.$consts.urls.URL_LANDING }}},[_c('b-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"question-circle\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"btn.about\"))+\" \")],1),_c('b-nav-item',{staticClass:\"footer-app__nav-item navbar-nav mx-2\",attrs:{\"href\":\"https://mutuali.notion.site/mutuali/Foire-aux-questions-0b482ef447694f73926b495675f1685e\",\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.$t(\"btn.faq\")))]),_c('b-nav-item',{staticClass:\"footer-app__nav-item navbar-nav mx-2\",attrs:{\"href\":`mailto:${_vm.contactUsEmail}`}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.contact-us\"))+\" \")]),_c('b-nav-item',{staticClass:\"footer-app__nav-item navbar-nav ml-auto mr-2\",on:{\"click\":_vm.changeLang}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"btn.change-lang\")))]),_c('span',{attrs:{\"aria-hidden\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"btn.change-lang-shortcut\")))])])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./footer.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./footer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./footer.vue?vue&type=template&id=29c93bc6&scoped=true\"\nimport script from \"./footer.vue?vue&type=script&lang=js\"\nexport * from \"./footer.vue?vue&type=script&lang=js\"\nimport style0 from \"./footer.vue?vue&type=style&index=0&id=29c93bc6&prod&lang=scss&scoped=true\"\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 \"29c93bc6\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"skip-link bg-white rounded text-primary\",attrs:{\"href\":\"#main\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"btn.skip-to-content\"))+\" \")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./skip-to-content.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./skip-to-content.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./skip-to-content.vue?vue&type=template&id=68d946ca&scoped=true\"\nimport script from \"./skip-to-content.vue?vue&type=script&lang=js\"\nexport * from \"./skip-to-content.vue?vue&type=script&lang=js\"\nimport style0 from \"./skip-to-content.vue?vue&type=style&index=0&id=68d946ca&prod&lang=scss&scoped=true\"\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 \"68d946ca\",\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\nquery LocalShowMenu {\r\n app @client {\r\n showMenu\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--13-0!../node_modules/thread-loader/dist/cjs.js!../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!./app.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../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!./app.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./app.vue?vue&type=template&id=963d8ee4\"\nimport script from \"./app.vue?vue&type=script&lang=js\"\nexport * from \"./app.vue?vue&type=script&lang=js\"\nimport style0 from \"./app.vue?vue&type=style&index=0&id=963d8ee4&prod&lang=scss\"\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\n/* custom blocks */\nimport block0 from \"./app.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","import Vue from \"vue\";\r\n\r\nimport i18nHelpers from \"@/helpers/i18n\";\r\nimport { ValidationProvider, ValidationObserver, extend } from \"vee-validate\";\r\nimport { digits, email, numeric, required, image } from \"vee-validate/dist/rules\";\r\n\r\nextend(\"required\", {\r\n ...required,\r\n message: i18nHelpers.instance().t(\"validator.required\")\r\n});\r\n\r\nextend(\"requiredNumeric\", {\r\n ...required,\r\n message: i18nHelpers.instance().t(\"validator.required-numeric\")\r\n});\r\n\r\nextend(\"digits\", {\r\n ...digits,\r\n message: i18nHelpers.instance().t(\"validator.digits\")\r\n});\r\n\r\nextend(\"email\", {\r\n ...email,\r\n message: i18nHelpers.instance().t(\"validator.email\")\r\n});\r\n\r\nextend(\"numeric\", {\r\n ...numeric,\r\n message: i18nHelpers.instance().t(\"validator.numeric\")\r\n});\r\n\r\nextend(\"image\", {\r\n ...image,\r\n message: i18nHelpers.instance().t(\"validator.image\")\r\n});\r\n\r\nextend(\"length\", {\r\n params: [\"length\"],\r\n validate(value, { length }) {\r\n const lengthNumber = parseInt(length, 10);\r\n return value.length === lengthNumber;\r\n },\r\n message: (_, { length }) => i18nHelpers.instance().t(\"validator.length\", { length })\r\n});\r\n\r\nextend(\"password\", {\r\n validate(value) {\r\n return new RegExp(\"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{10,})\").test(value);\r\n },\r\n message: i18nHelpers.instance().t(\"validator.password\")\r\n});\r\n\r\nextend(\"samePassword\", {\r\n params: [\"target\"],\r\n validate(value, { target }) {\r\n return value === target;\r\n },\r\n message: i18nHelpers.instance().t(\"validator.samePassword\")\r\n});\r\n\r\nextend(\"url\", {\r\n validate(value) {\r\n return RegExp(\r\n \"^((http|https)://)(www.)?(?!.*(http|https|www.))[a-zA-Z0-9_-]+((?!.*[/]{2})+.[a-zA-Z-0-9_+/]+)+((/)[w#]+)*(/w+?[a-zA-Z0-9_]+=w+(&[a-zA-Z0-9_]+=w+)*)?$\"\r\n ).test(value);\r\n },\r\n message: i18nHelpers.instance().t(\"validator.url\")\r\n});\r\n\r\nextend(\"postalCode\", {\r\n validate(value) {\r\n return new RegExp(/^[A-Z]\\d[A-Z][ -]?\\d[A-Z]\\d$/i).test(value);\r\n },\r\n message: i18nHelpers.instance().t(\"validator.postal-code\")\r\n});\r\n\r\nextend(\"emptyHtml\", {\r\n validate(value) {\r\n return value.replace(/<[^/>][^>]*><\\/[^>]+>/gi, \"\").trim() !== \"\";\r\n },\r\n message: i18nHelpers.instance().t(\"validator.required\")\r\n});\r\n\r\nextend(\"haveLatLong\", {\r\n validate(value) {\r\n return value.latitude && value.longitude;\r\n },\r\n message: i18nHelpers.instance().t(\"validator.lat-long-required\")\r\n});\r\n\r\nextend(\"dateMin\", {\r\n params: [\"target\"],\r\n validate: (value, { target }) => {\r\n return value >= target;\r\n },\r\n message: i18nHelpers.instance().t(\"validator.date-min\")\r\n});\r\n\r\nextend(\"atLeastOneChecked\", {\r\n params: [\"hasOneChecked\"],\r\n validate(value, { hasOneChecked }) {\r\n return hasOneChecked;\r\n },\r\n message: i18nHelpers.instance().t(\"validator.atLeastOneChecked\")\r\n});\r\n\r\nextend(\"isNEQ\", {\r\n validate(value) {\r\n return new RegExp(\"^[1-7]\\\\d{9}$\").test(value);\r\n },\r\n message: i18nHelpers.instance().t(\"validator.isNEQ\")\r\n});\r\n\r\nextend(\"isValidPhoneNumber\", {\r\n ...required,\r\n message: i18nHelpers.instance().t(\"validator.isValidPhoneNumber\")\r\n});\r\n// Register globally\r\nVue.component(\"ValidationObserver\", ValidationObserver);\r\nVue.component(\"ValidationProvider\", ValidationProvider);\r\n","import i18nHelpers from \"@/helpers/i18n\";\r\n\r\nexport default {\r\n install(Vue, options) {\r\n let router = options.router;\r\n Vue.prototype.$t = (key, values) => {\r\n if (router.currentRoute.query.debugI18n !== undefined) {\r\n return key;\r\n } else {\r\n return i18nHelpers.instance().t(key, values);\r\n }\r\n };\r\n Vue.prototype.$tc = (key, values) => {\r\n if (router.currentRoute.query.debugI18n !== undefined) {\r\n return key;\r\n } else {\r\n return i18nHelpers.instance().tc(key, values);\r\n }\r\n };\r\n }\r\n};\r\n","export const CONTRACT_STATUS_PAID = \"PAID\";\r\nexport const CONTRACT_STATUS_SUBMITTED = \"SUBMITTED\";\r\nexport const CONTRACT_STATUS_PAYOUTDONE = \"PAYOUT_DONE\";\r\nexport const CONTRACT_STATUS_CLOSED = \"CLOSED\";\r\n","export const STEP_EQUIPEMENT = \"step-equipement\";\r\nexport const STEP_OWNER = \"step-owner\";\r\nexport const STEP_TENANT = \"step-tenant\";\r\n","import * as claims from \"./claims\";\r\nimport * as enums from \"./enums\";\r\nimport * as formats from \"./formats\";\r\nimport * as langs from \"./langs\";\r\nimport * as localStorage from \"./local-storage\";\r\nimport * as notifications from \"./notifications\";\r\nimport * as urls from \"./urls\";\r\nimport * as categories from \"./categories\";\r\nimport * as twilio from \"./twilio\";\r\nimport * as contractStatus from \"./contract-status\";\r\nimport * as organizationType from \"./organization-type\";\r\nimport * as industry from \"./industry\";\r\nimport * as ratingSteps from \"./rating-steps\";\r\n\r\nexport default {\r\n claims,\r\n enums,\r\n formats,\r\n langs,\r\n localStorage,\r\n notifications,\r\n urls,\r\n categories,\r\n twilio,\r\n contractStatus,\r\n organizationType,\r\n industry,\r\n ratingSteps\r\n};\r\n","import consts from \"@/consts\";\r\n\r\nexport default {\r\n install(Vue) {\r\n Vue.prototype.$consts = consts;\r\n }\r\n};\r\n","export default {\r\n install(Vue) {\r\n Vue.prototype.$slugiffy = (str) => {\r\n return slugiffy(str);\r\n };\r\n Vue.prototype.$slugiffyAd = (ad) => {\r\n return `${slugiffy(ad.translationOrDefault.title)}-${ad.id}`;\r\n };\r\n }\r\n};\r\n\r\nfunction slugiffy(str) {\r\n str = str.replace(/^\\s+|\\s+$/g, \"\"); // trim\r\n str = str.toLowerCase();\r\n\r\n // remove accents, swap ñ for n, etc\r\n let from = \"àáäâèéëêìíïîòóöôùúüûñç·/_,:;\";\r\n let to = \"aaaaeeeeiiiioooouuuunc------\";\r\n\r\n for (let i = 0, l = from.length; i < l; i++) str = str.replace(new RegExp(from.charAt(i), \"g\"), to.charAt(i));\r\n\r\n str = str\r\n .replace(/&/g, \"-and-\")\r\n .replace(/[^a-z0-9 -]/g, \"\") // remove invalid chars\r\n .replace(/\\s+/g, \"-\") // collapse whitespace and replace by -\r\n .replace(/-+/g, \"-\"); // collapse dashes\r\n\r\n return str;\r\n}\r\n","import i18n from \"@/helpers/i18n\";\r\nimport { DEFAULT_DATE_FORMAT, DEFAULT_DATETIME_FORMAT, FORMAT_MONTH_YEAR, SHORT_DATE_FORMAT } from \"@/consts/formats\";\r\n\r\nexport default {\r\n install(Vue, options) {\r\n Vue.prototype.$format = {\r\n shortDate: (datetime) => {\r\n return i18n.dayjs(datetime).format(SHORT_DATE_FORMAT);\r\n },\r\n shortMonthDay: (datetime) => {\r\n return i18n.dayjs(datetime).format(i18n.t(\"format-shortMonthDay\"));\r\n },\r\n date: (datetime, format) => {\r\n if (!format) {\r\n format = DEFAULT_DATE_FORMAT;\r\n }\r\n return i18n.dayjs(datetime).format(format);\r\n },\r\n dateTime: (datetime, format) => {\r\n if (!format) {\r\n format = DEFAULT_DATETIME_FORMAT;\r\n }\r\n return i18n.dayjs(datetime).format(format);\r\n },\r\n dateMonthYear: (datetime) => {\r\n return i18n.dayjs(datetime).format(FORMAT_MONTH_YEAR);\r\n },\r\n // French version of the day is separated from the date to capitalize the first letter of the day\r\n dateDay(datetime) {\r\n const locale = i18n.locale() === \"fr\" ? \"fr-CA\" : \"en-CA\";\r\n if (locale === \"fr-CA\") {\r\n return i18n.dayjs(datetime).format(\"dddd\");\r\n } else {\r\n return null;\r\n }\r\n },\r\n // French version of the day is separated from the date to capitalize the first letter of the day\r\n dateShortDay(datetime) {\r\n const locale = i18n.locale() === \"fr\" ? \"fr-CA\" : \"en-CA\";\r\n if (locale === \"fr-CA\") {\r\n return i18n.dayjs(datetime).format(\"ddd\");\r\n } else {\r\n return null;\r\n }\r\n },\r\n dateLong(datetime) {\r\n const locale = i18n.locale() === \"fr\" ? \"fr-CA\" : \"en-CA\";\r\n if (locale === \"fr-CA\") {\r\n return i18n.dayjs(datetime).format(\"D MMMM YYYY\");\r\n } else {\r\n return i18n.dayjs(datetime).format(\"dddd, MMMM D, YYYY\");\r\n }\r\n },\r\n dateShort(datetime) {\r\n const locale = i18n.locale() === \"fr\" ? \"fr-CA\" : \"en-CA\";\r\n if (locale === \"fr-CA\") {\r\n return i18n.dayjs(datetime).format(\"D MMM\");\r\n } else {\r\n return i18n.dayjs(datetime).format(\"ddd, MMM D\");\r\n }\r\n },\r\n dateDiff: (startDate, endDate, format) => {\r\n if (!format) {\r\n format = DEFAULT_DATE_FORMAT;\r\n }\r\n return i18n.dayjs(endDate).diff(i18n.dayjs(startDate), format);\r\n },\r\n nl2br(text) {\r\n if (!text) return text;\r\n\r\n return Vue.prototype.$format.escapeHtml(text).replace(/\\n/g, \"
\");\r\n },\r\n escapeHtml(html) {\r\n // https://stackoverflow.com/a/30930653\r\n return document.createElement(\"div\").appendChild(document.createTextNode(html)).parentNode.innerHTML;\r\n },\r\n stripHtml(html) {\r\n const el = document.createElement(\"div\");\r\n el.innerHTML = html;\r\n return el.innerText.trim();\r\n },\r\n formatMoney(amount, decimalCount = 2, decimal = \",\", thousands = \"\") {\r\n try {\r\n decimalCount = Math.abs(decimalCount);\r\n decimalCount = isNaN(decimalCount) ? 2 : decimalCount;\r\n\r\n const negativeSign = amount < 0 ? \"-\" : \"\";\r\n\r\n let i = parseInt((amount = Math.abs(Number(amount) || 0).toFixed(decimalCount))).toString();\r\n let j = i.length > 3 ? i.length % 3 : 0;\r\n\r\n return (\r\n negativeSign +\r\n (j ? i.substr(0, j) + thousands : \"\") +\r\n i.substr(j).replace(/(\\d{3})(?=\\d)/g, \"$1\" + thousands) +\r\n (decimalCount\r\n ? decimal +\r\n Math.abs(amount - i)\r\n .toFixed(decimalCount)\r\n .slice(2)\r\n : \"\") +\r\n \" $ CA\"\r\n );\r\n } catch (e) {\r\n return amount;\r\n }\r\n }\r\n };\r\n }\r\n};\r\n","export default {\r\n install(Vue, options) {\r\n Array.prototype.first = function() {\r\n if (this.length > 0) {\r\n for (let i in this) return this[i];\r\n }\r\n return null;\r\n };\r\n\r\n Array.prototype.last = function() {\r\n if (this.length > 0) {\r\n for (let i in this.reverse()) return this[i];\r\n }\r\n return null;\r\n };\r\n\r\n Array.prototype.flattenDeep = function() {\r\n return flattenDeep(this);\r\n };\r\n\r\n Array.prototype.findIndex = function(method) {\r\n for (let i = 0; i < this.length; i++) {\r\n if (method(this[i])) return i;\r\n }\r\n\r\n return -1;\r\n };\r\n }\r\n};\r\n\r\nfunction flattenDeep(arr) {\r\n return arr.reduce((acc, val) => (Array.isArray(val) ? acc.concat(flattenDeep(val)) : acc.concat(val)), []);\r\n}\r\n","export default {\r\n install(Vue, options) {\r\n Date.prototype.isToday = function() {\r\n let today = new Date(Date.now());\r\n return (\r\n this.getDate() === today.getDate() && this.getFullYear() === today.getFullYear() && this.getMonth() === today.getMonth()\r\n );\r\n };\r\n }\r\n};\r\n","export default {\r\n install(Vue, options) {\r\n var defaultOptions = {\r\n noticeBannerType: \"simple\",\r\n consentType: \"express\",\r\n palette: \"light\",\r\n language: \"en\",\r\n pageLoadConsentLevles: [\"strictly-necessary\", \"functionality\"],\r\n noticeBannerRejectButtonHide: false,\r\n preferencesCenterCloseButtonHide: false,\r\n pageRefreshConfirmationButtons: false,\r\n websiteName: \"\"\r\n };\r\n options = { ...defaultOptions, ...options };\r\n\r\n const script = document.createElement('script');\r\n script.src = '//www.termsfeed.com/public/cookie-consent/4.1.0/cookie-consent.js';\r\n script.async = true;\r\n document.body.appendChild(script);\r\n\r\n var cookieConsent = null;\r\n\r\n script.onload = () => {\r\n cookieConsent = window.cookieconsent.run({ \r\n \"notice_banner_type\": options.noticeBannerType, \r\n \"consent_type\": options.consentType, \r\n \"palette\": options.palette, \r\n \"language\": options.language, \r\n \"page_load_consent_levels\": options.pageLoadConsentLevles, \r\n \"notice_banner_reject_button_hide\": options.noticeBannerRejectButtonHide, \r\n \"preferences_center_close_button_hide\": options.preferencesCenterCloseButtonHide, \r\n \"page_refresh_confirmation_buttons\": options.pageRefreshConfirmationButtons, \r\n \"website_name\": options.websiteName \r\n });\r\n };\r\n\r\n Vue.prototype.$termsFeed = { \r\n cookieConsent, \r\n hasConsent: this.hasConsent,\r\n openPreferencesCenter() {\r\n if (cookieConsent) {\r\n cookieConsent.openPreferencesCenter();\r\n }\r\n },\r\n onChange(onChangeAction) {\r\n if (typeof onChangeAction === \"function\") {\r\n window.addEventListener(\"cc_userConsentSaved\", (function() {\r\n window.console.log(\"User consent saved: \", cookieConsent.userConsent.acceptedLevels);\r\n onChangeAction(cookieConsent.userConsent.acceptedLevels);\r\n }).bind(this));\r\n }\r\n }\r\n };\r\n },\r\n hasConsent(consentLevel) {\r\n if (window.cookieconsent && window.cookieconsent.cookieConsentObject && window.cookieconsent.cookieConsentObject.userConsent && window.cookieconsent.cookieConsentObject.userConsent.acceptedLevels) {\r\n return window.cookieconsent.cookieConsentObject.userConsent.acceptedLevels[consentLevel];\r\n }\r\n else { // else, read the cookie directly\r\n const termsFeedConsentLevel = readCookie(\"cookie_consent_level\");\r\n \r\n let consent = false;\r\n \r\n // Accepted consentLevel param are \"strictly-necessary\", \"functionality\", \"tracking\" and \"targeting\"\r\n if (termsFeedConsentLevel) {\r\n const consentString = decodeURIComponent(termsFeedConsentLevel);\r\n const startIndex = consentString.indexOf(consentLevel) + consentLevel.length + 2;\r\n const consentValueSubstr = consentString.substring(startIndex, startIndex + 5); // should return \"true,\" or \"false\"\r\n consent = consentValueSubstr.includes(\"true\");\r\n }\r\n \r\n return consent;\r\n }\r\n\r\n }\r\n};\r\n\r\nfunction readCookie(name) {\r\n var nameEQ = name + \"=\";\r\n var ca = document.cookie.split(';');\r\n for (var i = 0; i < ca.length; i++) {\r\n var c = ca[i];\r\n while (c.charAt(0) == ' ') c = c.substring(1, c.length);\r\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\r\n }\r\n return null;\r\n} ","import Vue from \"vue\";\r\nimport { BootstrapVue, IconsPlugin } from \"bootstrap-vue\";\r\nimport PortalVue from \"portal-vue\";\r\nimport * as GmapVue from \"gmap-vue\";\r\nimport VueGtag from \"vue-gtag\";\r\n\r\nimport \"@/scss/app.scss\";\r\n\r\nimport App from \"@/app.vue\";\r\nimport router from \"@/router\";\r\nimport i18nHelpers from \"@/helpers/i18n\";\r\nimport GlobalErrorHandler from \"@/helpers/global-error-handler\";\r\nimport \"@/helpers/vee-validate\";\r\n\r\nimport AuthentificationService from \"@/services/authentification\";\r\nimport TwilioService from \"@/services/twilio\";\r\n\r\nimport CustomVueI18n from \"@/plugins/i18n\";\r\nimport Consts from \"@/plugins/consts\";\r\nimport Sluggify from \"@/plugins/sluggify\";\r\nimport Format from \"@/plugins/format\";\r\nimport Array from \"@/plugins/array\";\r\nimport Date from \"@/plugins/date\";\r\nimport TermsFeed from \"@/plugins/terms-feed\";\r\nimport VueCookies from 'vue-cookies'\r\n\r\nimport Apollo from \"@/graphql/vue-apollo\";\r\n\r\nimport { VUE_APP_GOOGLE_PLACES_API_KEY, VUE_APP_GA_MEASUREMENT_ID } from \"@/helpers/env\";\r\n\r\nVue.use(BootstrapVue);\r\nVue.use(PortalVue);\r\nVue.use(IconsPlugin);\r\n\r\nVue.use(CustomVueI18n, { router });\r\nVue.use(Sluggify);\r\nVue.use(Consts);\r\nVue.use(Format);\r\nVue.use(Array);\r\nVue.use(Date);\r\nVue.use(TermsFeed, { language: i18nHelpers.locale(), websiteName: \"Mutuali\" });\r\nVue.use(VueCookies, { expires: '14d' })\r\n\r\nVue.use(GmapVue, {\r\n load: {\r\n key: VUE_APP_GOOGLE_PLACES_API_KEY,\r\n libraries: \"places,geometry\",\r\n language: i18nHelpers.locale() === \"fr\" ? \"fr-CA\" : \"en-ca\"\r\n },\r\n installComponents: true\r\n});\r\n\r\nif (VUE_APP_GA_MEASUREMENT_ID !== \"\") {\r\n Vue.use(\r\n VueGtag,\r\n {\r\n config: {\r\n id: VUE_APP_GA_MEASUREMENT_ID,\r\n params: {\r\n anonymize_ip: true\r\n }\r\n },\r\n bootstrap: TermsFeed.hasConsent(\"tracking\")\r\n },\r\n router\r\n );\r\n}\r\n\r\nVue.config.productionTip = false;\r\nVue.config.errorHandler = GlobalErrorHandler;\r\n\r\nwindow.addEventListener(\"error\", function(e) {\r\n GlobalErrorHandler(e);\r\n});\r\n\r\nTwilioService.loadLocalState().then(() => {\r\n AuthentificationService.loadLocalState().then(() => {\r\n new Vue({\r\n router: router,\r\n i18n: i18nHelpers.instance(),\r\n apolloProvider: Apollo.instance,\r\n render: (h) => h(App)\r\n }).$mount(\"#app\");\r\n });\r\n});\r\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-status.vue?vue&type=style&index=0&id=822846c0&prod&lang=scss\"","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":64}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","module.exports = __webpack_public_path__ + \"img/logo-cibim.97d6b706.svg\";","import { VUE_APP_ROOT_API } from \"@/helpers/env\";\r\n\r\nconst MAX_MSG_QUEUE = 5;\r\n\r\nconst LOG_LEVEL_INFORMATION = \"Information\";\r\nconst LOG_LEVEL_WARNING = \"Warning\";\r\nconst LOG_LEVEL_ERROR = \"Error\";\r\nconst LOG_LEVEL_CRITICAL = \"Critical\";\r\n\r\nlet logMessage = [];\r\nlet sendMsgTimeout = null;\r\n\r\nexport default {\r\n logInformation: (msg) => log(msg, LOG_LEVEL_INFORMATION),\r\n logWarning: (msg) => log(msg, LOG_LEVEL_WARNING),\r\n logError: (msg) => log(msg, LOG_LEVEL_ERROR),\r\n logCritical: (msg) => log(msg, LOG_LEVEL_CRITICAL)\r\n};\r\n\r\nfunction log(message, level) {\r\n if (!message) message = \"\";\r\n else message = message.toString();\r\n\r\n logMessage.push({ message, level });\r\n resetOrSend();\r\n}\r\n\r\nasync function sendMsg() {\r\n try {\r\n await fetch(`${VUE_APP_ROOT_API}/log`, {\r\n method: \"post\",\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify(logMessage)\r\n });\r\n } catch (error) {\r\n //silent error\r\n return;\r\n }\r\n logMessage = [];\r\n}\r\n\r\nfunction resetOrSend() {\r\n if (logMessage.length >= MAX_MSG_QUEUE) {\r\n sendMsg();\r\n clearTimeout(sendMsgTimeout);\r\n } else {\r\n resetTimeout();\r\n }\r\n}\r\n\r\nfunction resetTimeout() {\r\n clearTimeout(sendMsgTimeout);\r\n startTimeout();\r\n}\r\n\r\nfunction startTimeout() {\r\n sendMsgTimeout = setTimeout(sendMsg, 1000);\r\n}\r\n","import i18n from \"@/helpers/i18n\";\r\nimport NotificationService from \"@/services/notification\";\r\nimport Logger from \"@/services/logger\";\r\n\r\nexport default function(err, vm) {\r\n if (err.error) err = err.error;\r\n if (err.handled) return;\r\n err.handled = true;\r\n showErrors(getErrorMessages(err, vm));\r\n}\r\n\r\nfunction showErrors(messages) {\r\n if (!Array.isArray(messages)) {\r\n messages = [messages];\r\n }\r\n\r\n for (const message of messages) {\r\n NotificationService.showError(message);\r\n }\r\n}\r\n\r\nfunction getErrorMessages(err, vm) {\r\n if (vm && err.graphQLErrors) {\r\n return err.graphQLErrors.map((gqlError) => {\r\n gqlError.operationType = err.gqlOperationType;\r\n return getGraphQLErrorMessage(gqlError, vm);\r\n });\r\n } else {\r\n return getUnknownErrorMessage(err);\r\n }\r\n}\r\n\r\nfunction getGraphQLErrorMessage(gqlError, vm) {\r\n if (gqlError.extensions && gqlError.extensions.code) {\r\n const errorCode = gqlError.extensions.code;\r\n return findGraphQLErrorMessage(errorCode, gqlError, vm);\r\n }\r\n}\r\n\r\nfunction findGraphQLErrorMessage(errorCode, gqlError, vm) {\r\n const gqlErrorsConfig = getGraphQLErrorsConfigFromViewModel(vm);\r\n if (gqlErrorsConfig && gqlErrorsConfig[errorCode]) {\r\n let errorMessage = gqlErrorsConfig[errorCode];\r\n if (typeof errorMessage === \"function\") {\r\n errorMessage = errorMessage.bind(vm)(gqlError);\r\n }\r\n return errorMessage;\r\n } else if (vm.$parent) {\r\n return findGraphQLErrorMessage(errorCode, gqlError, vm.$parent);\r\n } else {\r\n return getUnknownErrorMessage(errorCode);\r\n }\r\n}\r\n\r\nfunction getGraphQLErrorsConfigFromViewModel(vm) {\r\n let config = vm.$options.gqlErrors;\r\n if (!config) return null;\r\n\r\n if (typeof config === \"function\") {\r\n config = config.bind(vm)();\r\n }\r\n\r\n return config;\r\n}\r\n\r\nfunction getUnknownErrorMessage(error) {\r\n // On log les erreurs non-gérées pour aider à les identifier\r\n\r\n if (process.env.NODE_ENV !== \"production\") {\r\n // eslint-disable-next-line no-console\r\n console.error(error);\r\n }\r\n\r\n Logger.logError(error);\r\n\r\n // Et on affiche le message générique\r\n return i18n.instance().t(\"error.unexpected\");\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nav.vue?vue&type=style&index=0&id=0859d114&prod&lang=scss\"","export const LANG_FR = \"fr\";\r\nexport const LANG_EN = \"en\";\r\n\r\nexport const CONTENT_LANG_FR = \"FRENCH\";\r\nexport const CONTENT_LANG_EN = \"ENGLISH\";\r\n","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./base.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./base.vue?vue&type=custom&index=0&blockType=graphql\"","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":301}},{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"Me\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"me\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UserProfileGraphType\"}},\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"acceptedTos\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"hasAcceptedLatest\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"latestVersionAvailable\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":301}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","module.exports = __webpack_public_path__ + \"img/logo-mutuali-cibim.7e9f8547.svg\";","import Vue from \"vue\";\r\nimport VueI18n from \"vue-i18n\";\r\n\r\nimport { LANG_FR, LANG_EN } from \"@/consts/langs\";\r\nimport { FORMAT_MONTH_YEAR } from \"@/consts/formats\";\r\nimport { LOCAL_STORAGE_LOCALE } from \"@/consts/local-storage\";\r\n\r\nimport { VUE_APP_I18N_FALLBACK_LOCALE } from \"@/helpers/env\";\r\n\r\nimport advancedFormat from \"dayjs/plugin/advancedFormat\";\r\nimport dayjs from \"dayjs\";\r\nimport \"dayjs/locale/fr\";\r\nimport \"dayjs/locale/en\";\r\n\r\nconst supportedLocales = [LANG_FR, LANG_EN];\r\nlet initialLocale = null;\r\n\r\n// First check in querystring\r\nconst params = new Proxy(new URLSearchParams(window.location.search), {\r\n get: (searchParams, prop) => searchParams.get(prop)\r\n});\r\nif (supportedLocales.includes(params.lang)) {\r\n initialLocale = params.lang;\r\n}\r\n// After check in localstorage\r\nelse {\r\n initialLocale = localStorage.getItem(LOCAL_STORAGE_LOCALE);\r\n // Finally, use the default\r\n if (!supportedLocales.includes(initialLocale)) initialLocale = supportedLocales[0];\r\n}\r\n\r\ndayjs.extend(advancedFormat);\r\ndayjs.locale(initialLocale);\r\n\r\nVue.use(VueI18n);\r\n\r\nconst instanceI18n = new VueI18n({\r\n locale: initialLocale,\r\n fallbackLocale: VUE_APP_I18N_FALLBACK_LOCALE || LANG_FR,\r\n messages: loadLocaleMessages()\r\n});\r\n\r\nfunction loadLocaleMessages() {\r\n const locales = require.context(\"@/locales\", true, /[A-Za-z0-9-_,\\s]+\\.json$/i);\r\n const messages = {};\r\n locales.keys().forEach((key) => {\r\n const matched = key.match(/([A-Za-z0-9-_]+)\\./i);\r\n if (matched && matched.length > 1) {\r\n const locale = matched[1];\r\n messages[locale] = locales(key);\r\n }\r\n });\r\n\r\n return messages;\r\n}\r\n\r\nfunction setLang(lang) {\r\n localStorage.setItem(LOCAL_STORAGE_LOCALE, lang);\r\n location.reload();\r\n}\r\n\r\nconst i18n = {\r\n instance: function () {\r\n return instanceI18n;\r\n },\r\n locale: () => {\r\n return instanceI18n.locale;\r\n },\r\n setLang,\r\n changeLang: () => {\r\n let lang = instanceI18n.locale === LANG_EN ? LANG_FR : LANG_EN;\r\n setLang(lang);\r\n },\r\n getLocalizedDate: (date, format) => {\r\n return dayjs(date).format(format);\r\n },\r\n getLocalizedMonthYear: (date) => {\r\n return i18n.getLocalizedDate(date, FORMAT_MONTH_YEAR);\r\n },\r\n getLocalizedDateDiff: (startDate, endDate, format) => {\r\n return dayjs(endDate).diff(dayjs(startDate), format);\r\n },\r\n isLangValid: (lang) => supportedLocales.includes(lang),\r\n dayjs: dayjs\r\n};\r\n\r\n// Set default locale\r\ndayjs.locale(i18n.locale());\r\n\r\nexport default i18n;\r\n","// https://github.com/iamkun/dayjs/blob/dev/docs/en/Plugin.md#localizedFormat\r\nexport const DEFAULT_DATE_FORMAT = \"LL\";\r\nexport const DEFAULT_DATETIME_FORMAT = \"LLL\";\r\nexport const FORMAT_MONTH_YEAR = \"MMMM YYYY\";\r\nexport const SHORT_DATE_FORMAT = \"L\";\r\nexport const SHORT_MONTH_DATE = \"D MMM\";\r\nexport const SHORT_HOUR_MINUTE = \"kk:mm\";\r\nexport const SHORT_DAY_MONTH_YEAR = \"D MMM YYYY\";\r\nexport const SHORT_MONTH_DAY_YEAR = \"MMM D YYYY\";\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-navbar',{staticClass:\"gray-lighter nav-base\",attrs:{\"variant\":\"light\",\"aria-label\":_vm.ariaTitle || null}},[_c('b-navbar-brand',{attrs:{\"to\":{ name: _vm.$consts.urls.URL_ROOT }}},[_c('span',{staticClass:\"nav-base__logo\"},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"sr.homepage\")))])])]),_vm._t(\"default\",null,{\"sIsConnected\":_vm.isConnected})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\nquery LocalUser {\r\n user @client {\r\n isConnected\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--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./base.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../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!./base.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./base.vue?vue&type=template&id=1eada937\"\nimport script from \"./base.vue?vue&type=script&lang=js\"\nexport * from \"./base.vue?vue&type=script&lang=js\"\nimport style0 from \"./base.vue?vue&type=style&index=0&id=1eada937&prod&lang=scss\"\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\n/* custom blocks */\nimport block0 from \"./base.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./footer.vue?vue&type=style&index=0&id=29c93bc6&prod&lang=scss&scoped=true\"","async function addMaybeValue(inputSource, inputResult, name, handler) {\r\n if (name in inputSource) {\r\n let value = inputSource[name];\r\n\r\n if (handler) {\r\n value = await handler(value);\r\n }\r\n\r\n inputResult[name] = { value };\r\n }\r\n}\r\n\r\nexport { addMaybeValue };\r\n","export default {\r\n generate: () =>\r\n Math.random()\r\n .toString(36)\r\n .substr(2)\r\n};\r\n","import Apollo from \"@/graphql/vue-apollo\";\r\nimport {\r\n NOTIFICATION_TYPE_SUCCESS,\r\n NOTIFICATION_TYPE_INFO,\r\n NOTIFICATION_TYPE_WARNING,\r\n NOTIFICATION_TYPE_ERROR\r\n} from \"@/consts/notifications\";\r\nimport { CreateLocalNotification, RemoveLocalNotificationById, RemoveLocalNotificationByType } from \"./notification.graphql\";\r\nimport id from \"@/helpers/unique-id\";\r\n\r\nexport default {\r\n showSuccess: async (text, duration = 6000, dismissible = true) =>\r\n await addNotification(NOTIFICATION_TYPE_SUCCESS, text, dismissible, duration),\r\n showInfo: async (text, duration = 6000, dismissible = true) =>\r\n await addNotification(NOTIFICATION_TYPE_INFO, text, dismissible, duration),\r\n showWarning: async (text, duration = 8000, dismissible = true) =>\r\n await addNotification(NOTIFICATION_TYPE_WARNING, text, dismissible, duration),\r\n showError: async (text, duration = 8000, dismissible = true) =>\r\n await addNotification(NOTIFICATION_TYPE_ERROR, text, dismissible, duration),\r\n removeNotificationById: async (id) => {\r\n return await Apollo.instance.defaultClient.mutate({\r\n mutation: RemoveLocalNotificationById,\r\n variables: {\r\n id\r\n }\r\n });\r\n },\r\n removeNotificationByType: async (type) => {\r\n return await Apollo.instance.defaultClient.mutate({\r\n mutation: RemoveLocalNotificationByType,\r\n variables: {\r\n type\r\n }\r\n });\r\n }\r\n};\r\n\r\nasync function addNotification(type, text, dismissible, duration) {\r\n let notification = {\r\n __typename: \"Notification\",\r\n id: id.generate(),\r\n type,\r\n text,\r\n duration,\r\n dismissible\r\n };\r\n\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: CreateLocalNotification,\r\n variables: { notification }\r\n });\r\n\r\n return notification.id;\r\n}\r\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalNotifications\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"notifications\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"text\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"duration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"dismissible\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":122}};\n doc.loc.source = {\"body\":\"query LocalNotifications {\\r\\n notifications @client {\\r\\n id\\r\\n type\\r\\n text\\r\\n duration\\r\\n dismissible\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"LocalNotifications\"] = oneQuery(doc, \"LocalNotifications\");\n \r\n","export const CLAIM_UTYPE_USER = \"User\";\r\nexport const CLAIM_UTYPE_ADMIN = \"Admin\";\r\n","export const TWILIO_EVENT_PARTICIPANT_JOINED = \"twilio:onParticipantJoined\";\r\nexport const TWILIO_EVENT_MESSAGE_ADDED = \"twilio:onMessageAdded\";\r\nexport const TWILIO_EVENT_MESSAGE_READ = \"twilio:onMessageRead\";\r\nexport const TWILIO_EVENT_MESSAGE_SENT = \"twilio:onMessageSent\";\r\n","import Apollo from \"@/graphql/vue-apollo\";\r\n\r\nimport { addMaybeValue } from \"@/helpers/graphql\";\r\nimport {\r\n CreateUserAccount,\r\n SendPasswordReset,\r\n ResetPassword,\r\n VerifyToken,\r\n UpdateUserProfile,\r\n ChangePassword,\r\n UpdateFirstLoginModalClosed,\r\n CreateAdminAccount,\r\n CompleteAdminRegistration,\r\n AcceptTos\r\n} from \"./user.graphql\";\r\n\r\nexport default {\r\n createUserAccount: async function(input, returnPath) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: CreateUserAccount,\r\n variables: {\r\n input: {\r\n phoneNumber: input.phoneNumber,\r\n showPhoneNumber: input.showPhoneNumber || false,\r\n showEmail: input.showEmail || false,\r\n email: input.email,\r\n firstName: input.firstName,\r\n lastName: input.lastName,\r\n organizationName: input.organizationName,\r\n organizationNEQ: input.organizationNEQ,\r\n organizationType: input.organizationType,\r\n organizationTypeOtherSpecification: input.organizationTypeOtherSpecification,\r\n industry: input.industry,\r\n industryOtherSpecification: input.industryOtherSpecification,\r\n password: input.password,\r\n contactAuthorizationNews: input.contactAuthorizationNews || false,\r\n contactAuthorizationSurveys: input.contactAuthorizationSurveys || false,\r\n registeringInterests: input.registeringInterests,\r\n returnPath\r\n }\r\n }\r\n });\r\n },\r\n createAdminAccount: async function(input) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: CreateAdminAccount,\r\n variables: {\r\n input: {\r\n email: input.email,\r\n firstName: input.firstName,\r\n lastName: input.lastName\r\n }\r\n }\r\n });\r\n },\r\n completeAdminRegistration: async function(input) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: CompleteAdminRegistration,\r\n variables: {\r\n input\r\n }\r\n });\r\n },\r\n verifyToken: async function(email, token, tokenType) {\r\n let result = await Apollo.instance.defaultClient.query({\r\n query: VerifyToken,\r\n variables: {\r\n email,\r\n token,\r\n type: tokenType\r\n }\r\n });\r\n return result.data.verifyToken;\r\n },\r\n sendPasswordReset: async function(email) {\r\n let input = { email };\r\n\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: SendPasswordReset,\r\n variables: {\r\n input\r\n }\r\n });\r\n },\r\n resetPassword: async function(emailAddress, newPassword, token) {\r\n let input = { emailAddress, newPassword, token };\r\n\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: ResetPassword,\r\n variables: {\r\n input\r\n }\r\n });\r\n },\r\n updateFirstLoginModalClosed: async function(firstLoginModalClosed) {\r\n let input = { firstLoginModalClosed };\r\n\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateFirstLoginModalClosed,\r\n variables: {\r\n input\r\n }\r\n });\r\n },\r\n updateUserProfile: async function(input) {\r\n let mutationInput = {\r\n userId: input.userId\r\n };\r\n addMaybeValue(input, mutationInput, \"firstName\");\r\n addMaybeValue(input, mutationInput, \"lastName\");\r\n addMaybeValue(input, mutationInput, \"organizationName\");\r\n addMaybeValue(input, mutationInput, \"organizationNEQ\");\r\n addMaybeValue(input, mutationInput, \"organizationType\");\r\n addMaybeValue(input, mutationInput, \"organizationTypeOtherSpecification\");\r\n addMaybeValue(input, mutationInput, \"industry\");\r\n addMaybeValue(input, mutationInput, \"industryOtherSpecification\");\r\n addMaybeValue(input, mutationInput, \"phoneNumber\");\r\n addMaybeValue(input, mutationInput, \"showPhoneNumber\");\r\n addMaybeValue(input, mutationInput, \"showEmail\");\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateUserProfile,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n },\r\n saveAccountSettings: async function(input) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: ChangePassword,\r\n variables: {\r\n input\r\n }\r\n });\r\n },\r\n acceptTos: async function(tosVersion) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: AcceptTos,\r\n variables: {\r\n input: {\r\n tosVersion\r\n }\r\n }\r\n });\r\n },\r\n};\r\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUserIsConnected\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUserToken\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"accessToken\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"refreshToken\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"accessToken\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"refreshToken\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"VerifyToken\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"TokenType\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"verifyToken\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"token\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"firstName\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"lastName\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateLocalUser\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"User\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateLocalUser\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"}}}],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateUserAccount\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateUserAccountInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createUserAccount\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateAdminAccount\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateAdminAccountInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createAdminAccount\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ResendConfirmationEmail\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ResendConfirmationEmailInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"resendConfirmationEmail\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ConfirmEmail\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ConfirmEmailInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"confirmEmail\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"VerifyEmail\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"VerifyEmailInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"verifyEmail\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"SendPasswordReset\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"SendPasswordResetInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"sendPasswordReset\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ResetPassword\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ResetPasswordInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"resetPassword\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ChangePassword\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ChangePasswordInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"changePassword\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateFirstLoginModalClosed\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateFirstLoginModalClosedInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateFirstLoginModalClosed\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"firstLoginModalClosed\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateUserProfile\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateUserProfileInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateUserProfile\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CompleteAdminRegistration\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CompleteAdminRegistrationInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"completeAdminRegistration\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"AcceptTos\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"AcceptTosInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"acceptTos\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UserProfileGraphType\"}},\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"acceptedTos\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"hasAcceptedLatest\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":2354}};\n doc.loc.source = {\"body\":\"query LocalUserIsConnected {\\r\\n user @client {\\r\\n isConnected\\r\\n }\\r\\n}\\r\\n\\r\\nquery LocalUserToken {\\r\\n user @client {\\r\\n accessToken\\r\\n refreshToken\\r\\n }\\r\\n}\\r\\n\\r\\nquery LocalUser {\\r\\n user @client {\\r\\n isConnected\\r\\n accessToken\\r\\n refreshToken\\r\\n }\\r\\n}\\r\\n\\r\\nquery VerifyToken($email: String, $token: String, $type: TokenType!) {\\r\\n verifyToken(email: $email, token: $token, type: $type) {\\r\\n status\\r\\n user {\\r\\n id\\r\\n email\\r\\n type\\r\\n profile {\\r\\n id\\r\\n firstName\\r\\n lastName\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation UpdateLocalUser($user: User!) {\\r\\n updateLocalUser(user: $user) @client\\r\\n}\\r\\n\\r\\nmutation CreateUserAccount($input: CreateUserAccountInput!) {\\r\\n createUserAccount(input: $input) {\\r\\n user {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation CreateAdminAccount($input: CreateAdminAccountInput!) {\\r\\n createAdminAccount(input: $input) {\\r\\n user {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation ResendConfirmationEmail($input: ResendConfirmationEmailInput!) {\\r\\n resendConfirmationEmail(input: $input)\\r\\n}\\r\\n\\r\\nmutation ConfirmEmail($input: ConfirmEmailInput!) {\\r\\n confirmEmail(input: $input)\\r\\n}\\r\\n\\r\\nmutation VerifyEmail($input: VerifyEmailInput!) {\\r\\n verifyEmail(input: $input)\\r\\n}\\r\\n\\r\\nmutation SendPasswordReset($input: SendPasswordResetInput!) {\\r\\n sendPasswordReset(input: $input)\\r\\n}\\r\\n\\r\\nmutation ResetPassword($input: ResetPasswordInput!) {\\r\\n resetPassword(input: $input) {\\r\\n user {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation ChangePassword($input: ChangePasswordInput!) {\\r\\n changePassword(input: $input) {\\r\\n user {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation UpdateFirstLoginModalClosed($input: UpdateFirstLoginModalClosedInput!) {\\r\\n updateFirstLoginModalClosed(input: $input) {\\r\\n user {\\r\\n id\\r\\n firstLoginModalClosed\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation UpdateUserProfile($input: UpdateUserProfileInput!) {\\r\\n updateUserProfile(input: $input) {\\r\\n user {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation CompleteAdminRegistration($input: CompleteAdminRegistrationInput!) {\\r\\n completeAdminRegistration(input: $input) {\\r\\n user {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation AcceptTos($input: AcceptTosInput!) {\\r\\n acceptTos(input: $input) {\\r\\n user {\\r\\n profile {\\r\\n id\\r\\n ... on UserProfileGraphType {\\r\\n acceptedTos {\\r\\n id\\r\\n hasAcceptedLatest\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"LocalUserIsConnected\"] = oneQuery(doc, \"LocalUserIsConnected\");\n \n module.exports[\"LocalUserToken\"] = oneQuery(doc, \"LocalUserToken\");\n \n module.exports[\"LocalUser\"] = oneQuery(doc, \"LocalUser\");\n \n module.exports[\"VerifyToken\"] = oneQuery(doc, \"VerifyToken\");\n \n module.exports[\"UpdateLocalUser\"] = oneQuery(doc, \"UpdateLocalUser\");\n \n module.exports[\"CreateUserAccount\"] = oneQuery(doc, \"CreateUserAccount\");\n \n module.exports[\"CreateAdminAccount\"] = oneQuery(doc, \"CreateAdminAccount\");\n \n module.exports[\"ResendConfirmationEmail\"] = oneQuery(doc, \"ResendConfirmationEmail\");\n \n module.exports[\"ConfirmEmail\"] = oneQuery(doc, \"ConfirmEmail\");\n \n module.exports[\"VerifyEmail\"] = oneQuery(doc, \"VerifyEmail\");\n \n module.exports[\"SendPasswordReset\"] = oneQuery(doc, \"SendPasswordReset\");\n \n module.exports[\"ResetPassword\"] = oneQuery(doc, \"ResetPassword\");\n \n module.exports[\"ChangePassword\"] = oneQuery(doc, \"ChangePassword\");\n \n module.exports[\"UpdateFirstLoginModalClosed\"] = oneQuery(doc, \"UpdateFirstLoginModalClosed\");\n \n module.exports[\"UpdateUserProfile\"] = oneQuery(doc, \"UpdateUserProfile\");\n \n module.exports[\"CompleteAdminRegistration\"] = oneQuery(doc, \"CompleteAdminRegistration\");\n \n module.exports[\"AcceptTos\"] = oneQuery(doc, \"AcceptTos\");\n \r\n","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalShowMenu\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"app\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"showMenu\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":64}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"accessToken\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"refreshToken\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":97}};\n doc.loc.source = {\"body\":\"query LocalUser {\\r\\n user @client {\\r\\n isConnected\\r\\n accessToken\\r\\n refreshToken\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"LocalUser\"] = oneQuery(doc, \"LocalUser\");\n \r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./footer-bottom.vue?vue&type=style&index=0&id=11817f81&prod&lang=scss&scoped=true\"","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateConversation\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateConversationInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createConversation\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"conversation\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"sid\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"ad\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"category\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"translationOrDefault\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"EnumValue\",\"value\":\"FRENCH\"}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"participants\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"sid\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"RemoveConversationNotification\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"RemoveConversationNotificationInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"removeConversationNotification\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"count\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":621}};\n doc.loc.source = {\"body\":\"mutation CreateConversation($input: CreateConversationInput!) {\\r\\n createConversation(input: $input) {\\r\\n conversation {\\r\\n id\\r\\n sid\\r\\n ad {\\r\\n id\\r\\n category\\r\\n translationOrDefault(language: FRENCH) {\\r\\n id\\r\\n language\\r\\n title\\r\\n description\\r\\n }\\r\\n }\\r\\n participants {\\r\\n id\\r\\n sid\\r\\n user {\\r\\n id\\r\\n email\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation RemoveConversationNotification($input: RemoveConversationNotificationInput!) {\\r\\n removeConversationNotification(input: $input) {\\r\\n count\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"CreateConversation\"] = oneQuery(doc, \"CreateConversation\");\n \n module.exports[\"RemoveConversationNotification\"] = oneQuery(doc, \"RemoveConversationNotification\");\n \r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=style&index=0&id=4c1c7964&prod&lang=scss\"","import mod from \"-!../node_modules/vue-graphql-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../node_modules/vue-graphql-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=custom&index=0&blockType=graphql\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notification-alert.vue?vue&type=style&index=0&id=88bd7070&prod&lang=scss\"","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateLocalNotification\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"notification\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Notification\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"addNotification\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"notification\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"notification\"}}}],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"RemoveLocalNotificationById\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"removeNotificationById\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}}}],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"RemoveLocalNotificationByType\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"NotificationType\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"removeNotificationByType\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"}}}],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}]}]}}],\"loc\":{\"start\":0,\"end\":345}};\n doc.loc.source = {\"body\":\"mutation CreateLocalNotification($notification: Notification!) {\\r\\n addNotification(notification: $notification) @client\\r\\n}\\r\\n\\r\\nmutation RemoveLocalNotificationById($id: ID!) {\\r\\n removeNotificationById(id: $id) @client\\r\\n}\\r\\n\\r\\nmutation RemoveLocalNotificationByType($type: NotificationType!) {\\r\\n removeNotificationByType(type: $type) @client\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"CreateLocalNotification\"] = oneQuery(doc, \"CreateLocalNotification\");\n \n module.exports[\"RemoveLocalNotificationById\"] = oneQuery(doc, \"RemoveLocalNotificationById\");\n \n module.exports[\"RemoveLocalNotificationByType\"] = oneQuery(doc, \"RemoveLocalNotificationByType\");\n \r\n","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalNotifications\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"notifications\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"text\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"duration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"dismissible\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":124}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","module.exports = __webpack_public_path__ + \"media/notification.2aebb5ce.mp3\";","import Apollo from \"@/graphql/vue-apollo\";\r\n\r\nimport { TwilioToken } from \"@/graphql/local/twilio.graphql\";\r\nimport { MyTwilioToken, UpdateTwilioToken } from \"./twilio.graphql\";\r\n\r\nimport { LOCAL_STORAGE_TWILIOTOKEN } from \"@/consts/local-storage\";\r\nimport {\r\n TWILIO_EVENT_PARTICIPANT_JOINED,\r\n TWILIO_EVENT_MESSAGE_ADDED,\r\n TWILIO_EVENT_MESSAGE_READ,\r\n TWILIO_EVENT_MESSAGE_SENT\r\n} from \"@/consts/twilio\";\r\n\r\nimport { Client as ConversationsClient } from \"@twilio/conversations\";\r\n\r\nimport AuthentificationService from \"@/services/authentification\";\r\nimport ConversationService from \"@/services/conversation\";\r\n\r\nimport EventBus from \"@/helpers/event-bus\";\r\n\r\nconst ONE_HOUR = 60 * 60 * 1000;\r\nlet twilioClient = null;\r\n\r\nasync function loadLocalState() {\r\n let token = localStorage.getItem(LOCAL_STORAGE_TWILIOTOKEN);\r\n\r\n if (token !== null) {\r\n await setToken(token);\r\n }\r\n}\r\n\r\nasync function getConversationBySid(sid) {\r\n let conversation = await twilioClient.getConversationBySid(sid);\r\n return conversation;\r\n}\r\n\r\nasync function getUnreadMessagesCount() {\r\n let conversations = await twilioClient.getSubscribedConversations();\r\n let unreadMessagesCount = 0;\r\n\r\n await Promise.all(\r\n conversations.items.map(async (x) => {\r\n let count = await x.getUnreadMessagesCount();\r\n unreadMessagesCount += count === null ? 1 : count;\r\n })\r\n );\r\n\r\n return unreadMessagesCount;\r\n}\r\n\r\nasync function getConversationUnreadMessagesCount(sid) {\r\n let conversation = await twilioClient.getConversationBySid(sid);\r\n let unreadMessagesCount = await conversation.getUnreadMessagesCount();\r\n\r\n return unreadMessagesCount;\r\n}\r\n\r\nasync function addMessageToConversation({ sid, body, medias }) {\r\n let conversation = await getConversationBySid(sid);\r\n let message = conversation.prepareMessage().setBody(body);\r\n\r\n if (medias) {\r\n if (!Array.isArray(medias)) {\r\n medias = [medias];\r\n }\r\n\r\n for (let media of medias) {\r\n if (!media) continue;\r\n message.addMedia(media);\r\n }\r\n }\r\n\r\n await message.build().send();\r\n}\r\n\r\nasync function getConversationMessages(sid) {\r\n let conversation = await getConversationBySid(sid);\r\n\r\n return loadMessage(conversation);\r\n}\r\n\r\nasync function loadMessage(conversation) {\r\n let messages = [];\r\n let messageResult = null;\r\n\r\n do {\r\n if (messageResult) {\r\n messageResult = await messageResult.prevPage();\r\n } else {\r\n messageResult = await conversation.getMessages();\r\n }\r\n messages = messageResult.items.concat(messages);\r\n } while (messageResult.hasPrevPage);\r\n\r\n return messages;\r\n}\r\n\r\nasync function setAllMessagesReadOnConversation(sid, dontEmit) {\r\n let conversation = await getConversationBySid(sid);\r\n await conversation.setAllMessagesRead();\r\n\r\n await ConversationService.removeConversationNotification(sid);\r\n\r\n if (!dontEmit) {\r\n EventBus.$emit(TWILIO_EVENT_MESSAGE_READ);\r\n }\r\n}\r\n\r\nasync function getTwilioToken() {\r\n let result = await Apollo.instance.defaultClient.query({\r\n query: TwilioToken\r\n });\r\n\r\n let token = result.data.twilio.token;\r\n let needNewToken = false;\r\n\r\n if (token === \"\") {\r\n needNewToken = true;\r\n } else {\r\n let tokenToJSON = JSON.parse(atob(token.split(\".\")[1]));\r\n if (isTokenExpire(tokenToJSON.exp, ONE_HOUR)) {\r\n needNewToken = true;\r\n }\r\n }\r\n\r\n if (needNewToken) {\r\n let result = await Apollo.instance.defaultClient.query({\r\n query: MyTwilioToken,\r\n fetchPolicy: \"network-only\"\r\n });\r\n\r\n await setToken(result.data.myTwilioToken);\r\n\r\n return result.data.myTwilioToken;\r\n }\r\n\r\n return token;\r\n}\r\n\r\nfunction isTokenExpire(exp, beforeMs) {\r\n return exp * 1000 - new Date() < beforeMs;\r\n}\r\n\r\nasync function setToken(token) {\r\n localStorage.setItem(LOCAL_STORAGE_TWILIOTOKEN, token);\r\n\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateTwilioToken,\r\n variables: {\r\n token\r\n }\r\n });\r\n}\r\n\r\nasync function initTwilioClient() {\r\n if (!twilioClient) {\r\n let token = await getTwilioToken();\r\n twilioClient = await Promise.race([\r\n new ConversationsClient(token),\r\n new Promise((resolve) => {\r\n setTimeout(resolve, 2500, null);\r\n })\r\n ]);\r\n if (twilioClient) {\r\n twilioClient.on(\"messageAdded\", onMessageAdded);\r\n twilioClient.on(\"participantJoined\", onParticipantJoined);\r\n }\r\n }\r\n}\r\n\r\nasync function onMessageAdded(event) {\r\n if (AuthentificationService.getUserId() === event.state.author) {\r\n EventBus.$emit(TWILIO_EVENT_MESSAGE_SENT, event);\r\n await setAllMessagesReadOnConversation(event.conversation.sid, true);\r\n } else {\r\n EventBus.$emit(TWILIO_EVENT_MESSAGE_ADDED, event);\r\n }\r\n}\r\n\r\nasync function onParticipantJoined(event) {\r\n EventBus.$emit(TWILIO_EVENT_PARTICIPANT_JOINED);\r\n}\r\n\r\nexport default {\r\n initTwilioClient,\r\n loadLocalState,\r\n getConversationBySid,\r\n getUnreadMessagesCount,\r\n getConversationUnreadMessagesCount,\r\n setAllMessagesReadOnConversation,\r\n addMessageToConversation,\r\n getConversationMessages\r\n};\r\n","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":200}},{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"Me\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"me\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UserProfileGraphType\"}},\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publicName\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":200}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notification-container.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notification-container.vue?vue&type=custom&index=0&blockType=graphql\"","import Apollo from \"@/graphql/vue-apollo\";\r\nimport { CreateConversation, RemoveConversationNotification } from \"./conversation.graphql\";\r\n\r\nexport default {\r\n createConversation: async function(adId) {\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: CreateConversation,\r\n variables: {\r\n input: {\r\n adId\r\n }\r\n }\r\n });\r\n\r\n return result;\r\n },\r\n removeConversationNotification: async function(sid) {\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: RemoveConversationNotification,\r\n variables: {\r\n input: {\r\n sid\r\n }\r\n }\r\n });\r\n\r\n return result;\r\n }\r\n};\r\n","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./conversation.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./conversation.vue?vue&type=custom&index=0&blockType=graphql\"","export const NOTIFICATION_TYPE_INFO = \"info\";\r\nexport const NOTIFICATION_TYPE_WARNING = \"warning \";\r\nexport const NOTIFICATION_TYPE_ERROR = \"error\";\r\nexport const NOTIFICATION_TYPE_SUCCESS = \"success\";\r\n","export const URL_ROOT = \"root-url\";\r\nexport const URL_404 = \"error-404-url\";\r\nexport const URL_LOGIN = \"login-url\";\r\nexport const URL_USER_SUBSCRIBE = \"subsribe-user-url\";\r\nexport const URL_CONFIRM_USER = \"confirm-user-url\";\r\nexport const URL_FORGOT_PASSWORD = \"forgot-password-url\";\r\nexport const URL_RESET_PASSWORD = \"reset-password-url\";\r\nexport const URL_USER_PROFILE_DETAIL = \"detail-profile-url\";\r\nexport const URL_PROFILE_EDIT = \"profile-edit-url\";\r\nexport const URL_ACCOUNT_SETTINGS = \"account-settings-url\";\r\nexport const URL_CREATE_AD = \"create-ad-url\";\r\nexport const URL_PREPARE_AD = \"prepare-ad-url\";\r\nexport const URL_LIST_AD = \"list-ad-url\";\r\nexport const URL_AD_DETAIL = \"detail-ad-url\";\r\nexport const URL_AD_ALERT_LIST = \"list-alert-ad-url\";\r\nexport const URL_AD_ALERT_ADD = \"add-alert-ad-url\";\r\nexport const URL_AD_ALERT_EDIT = \"edit-alert-ad-url\";\r\nexport const URL_AD_ALERT_DELETE = \"delete-alert-ad-url\";\r\nexport const URL_CREATE_CONVERSATION = \"create-conversation-url\";\r\nexport const URL_RESEND_CONFIRMATION_EMAIL = \"resend-confirmation-email-url\";\r\nexport const URL_AD_EDIT = \"edit-ad-url\";\r\nexport const URL_AD_TRANSFER = \"transfer-ad-url\";\r\nexport const URL_LIST_CONVERSATION = \"list-conversation-url\";\r\nexport const URL_CONVERSATION_DETAIL = \"detail-conversation-url\";\r\nexport const URL_CREATE_CONTRACT = \"create-contract-url\";\r\nexport const URL_CONTRACT_DETAIL = \"detail-contract-url\";\r\nexport const URL_CONTRACT_EDIT = \"edit-contract-url\";\r\nexport const URL_CONTRACT_RATING = \"rating-contract-url\";\r\nexport const URL_LANDING = \"landing-page-url\";\r\nexport const URL_SHARING_EQUIPMENT = \"sharing-equipment-url\";\r\nexport const URL_LOOKING_FOR_EQUIPMENT = \"looking-for-equipment-url\";\r\nexport const URL_ABOUT = \"about-url\";\r\nexport const URL_CONTACT = \"contact-url\";\r\nexport const URL_STRIPE_REFRESH = \"stripe-refresh-link-url\";\r\nexport const URL_STRIPE_VALIDATE = \"stripe-validate-url\";\r\nexport const URL_ADD_PAYMENT = \"add-payment-url\";\r\nexport const URL_PAYMENT_SUCCESS = \"payment-success-url\";\r\nexport const URL_PAYMENT_CANCEL = \"payment-cancel-url\";\r\nexport const URL_MANAGE_ADS = \"manage-my-ads-url\";\r\nexport const URL_LIST_USERS = \"manage-users-url\";\r\nexport const URL_CREATE_ADMIN = \"create-admin-url\";\r\nexport const URL_CREATE_USER = \"create-user-url\";\r\nexport const URL_CONFIRM_ADMIN = \"confirm-admin-url\";\r\nexport const URL_EDIT_PROFILE = \"edit-user-profile-url\";\r\nexport const URL_AD_ALERT_CONFIRM = \"confirm-alert-ad-url\";\r\n","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":134}},{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"Me\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"me\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":134}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./accept-tos.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./accept-tos.vue?vue&type=custom&index=0&blockType=graphql\"","export const LOCAL_STORAGE_DEVICEID = \"device-id\";\r\nexport const LOCAL_STORAGE_AUTHTOKEN = \"auth-token\";\r\nexport const LOCAL_STORAGE_REFRESHTOKEN = \"refresh-token\";\r\nexport const LOCAL_STORAGE_RENEWTOKEN_STATUS = \"refresh-token-status\";\r\nexport const LOCAL_STORAGE_LOCALE = \"app-locale\";\r\nexport const LOCAL_STORAGE_TWILIOTOKEN = \"twilio-token\";\r\nexport const LOCAL_STORAGE_MAP_LATLONG = \"map-latlng\";\r\nexport const LOCAL_STORAGE_MAP_ZOOMLEVEL = \"map-zoom\";\r\n","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nav.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nav.vue?vue&type=custom&index=0&blockType=graphql\"","module.exports = __webpack_public_path__ + \"img/logo-rtcbq.8cc69829.png\";","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalShowMenu\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"app\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"showMenu\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":62}};\n doc.loc.source = {\"body\":\"query LocalShowMenu {\\r\\n app @client {\\r\\n showMenu\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"LocalShowMenu\"] = oneQuery(doc, \"LocalShowMenu\");\n \r\n","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":64}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=style&index=0&id=963d8ee4&prod&lang=scss\"","import Apollo from \"@/graphql/vue-apollo\";\r\n\r\nimport NotificationService from \"@/services/notification\";\r\nimport TwilioService from \"@/services/twilio\";\r\n\r\nimport router from \"@/router\";\r\n\r\nimport i18nHelpers from \"@/helpers/i18n\";\r\nimport { VUE_APP_ROOT_API } from \"@/helpers/env\";\r\n\r\nimport { URL_ROOT } from \"@/consts/urls\";\r\nimport { USER_TYPE_USER, USER_TYPE_ADMIN, USER_TYPE_ANONYME } from \"@/consts/enums\";\r\nimport { CLAIM_UTYPE_USER, CLAIM_UTYPE_ADMIN } from \"@/consts/claims\";\r\nimport {\r\n LOCAL_STORAGE_AUTHTOKEN,\r\n LOCAL_STORAGE_DEVICEID,\r\n LOCAL_STORAGE_REFRESHTOKEN,\r\n LOCAL_STORAGE_RENEWTOKEN_STATUS,\r\n LOCAL_STORAGE_TWILIOTOKEN,\r\n LOCAL_STORAGE_MAP_LATLONG,\r\n LOCAL_STORAGE_MAP_ZOOMLEVEL\r\n} from \"@/consts/local-storage\";\r\n\r\nimport {\r\n UpdateLocalUser,\r\n ResendConfirmationEmail,\r\n ConfirmEmail,\r\n LocalUserIsConnected,\r\n LocalUserToken,\r\n LocalUser,\r\n VerifyEmail\r\n} from \"./user.graphql\";\r\n\r\nexport default {\r\n login: async function(username, password) {\r\n let deviceId = localStorage.getItem(LOCAL_STORAGE_DEVICEID);\r\n\r\n if (deviceId === null) {\r\n deviceId = \"mutualiapp-\" + new Date().getTime();\r\n localStorage.setItem(LOCAL_STORAGE_DEVICEID, deviceId);\r\n }\r\n\r\n let requestData = {\r\n username,\r\n password,\r\n deviceId\r\n };\r\n let response = null;\r\n try {\r\n response = await fetch(`${VUE_APP_ROOT_API}/token/login`, {\r\n method: \"post\",\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify(requestData)\r\n });\r\n } catch (error) {\r\n NotificationService.showError(i18nHelpers.instance().t(\"error.unexpected\"));\r\n return { success: false };\r\n }\r\n\r\n let result = await response.json();\r\n if (response.status === 200) {\r\n if (result === \"2FA code sent\") {\r\n return { success: true, twoFaRequired: true };\r\n }\r\n \r\n await setUser(result.token, result.refreshToken);\r\n\r\n let path = router.currentRoute.query.returnPath || { name: URL_ROOT };\r\n router.push(path);\r\n \r\n return { success: true, twoFaRequired: false };\r\n } else if (result === \"Email not confirmed\") {\r\n NotificationService.showError(i18nHelpers.instance().t(\"notification.login-email-not-confirmed\", { email: username }));\r\n } else if (result === \"User is locked out\") {\r\n NotificationService.showError(i18nHelpers.instance().t(\"notification.user-locked-out\"));\r\n } else {\r\n NotificationService.showError(i18nHelpers.instance().t(\"notification.login-error\"));\r\n }\r\n return { success: false };\r\n },\r\n renewToken: async function() {\r\n if (localStorage.getItem(LOCAL_STORAGE_RENEWTOKEN_STATUS)) {\r\n await waitRefreshToken();\r\n return;\r\n }\r\n\r\n localStorage.setItem(LOCAL_STORAGE_RENEWTOKEN_STATUS, \"active\");\r\n\r\n let token = localStorage.getItem(LOCAL_STORAGE_AUTHTOKEN);\r\n let refreshToken = localStorage.getItem(LOCAL_STORAGE_REFRESHTOKEN);\r\n let deviceId = localStorage.getItem(LOCAL_STORAGE_DEVICEID);\r\n\r\n let requestData = {\r\n token,\r\n refreshToken,\r\n deviceId\r\n };\r\n\r\n let response = await fetch(`${VUE_APP_ROOT_API}/token/refresh`, {\r\n method: \"post\",\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify(requestData)\r\n });\r\n\r\n if (response.status === 200) {\r\n let result = await response.json();\r\n await setUser(result.token, result.refreshToken);\r\n } else {\r\n await logout();\r\n }\r\n\r\n localStorage.removeItem(LOCAL_STORAGE_RENEWTOKEN_STATUS);\r\n },\r\n logout: logout,\r\n loadLocalState: async function() {\r\n let token = localStorage.getItem(LOCAL_STORAGE_AUTHTOKEN);\r\n let refreshToken = localStorage.getItem(LOCAL_STORAGE_REFRESHTOKEN);\r\n\r\n localStorage.removeItem(LOCAL_STORAGE_RENEWTOKEN_STATUS);\r\n\r\n if (token !== null && refreshToken !== null) {\r\n await setUser(token, refreshToken);\r\n }\r\n },\r\n getUserIsLogged: function() {\r\n let result = Apollo.instance.defaultClient.readQuery({\r\n query: LocalUserIsConnected\r\n });\r\n\r\n return result.user.isConnected;\r\n },\r\n getUserType: function() {\r\n let result = Apollo.instance.defaultClient.readQuery({\r\n query: LocalUser\r\n });\r\n\r\n if (result.user.isConnected) {\r\n let userToken = JSON.parse(atob(result.user.accessToken.split(\".\")[1]));\r\n return uTypeToGraphqlType(userToken.utype);\r\n }\r\n\r\n return USER_TYPE_ANONYME;\r\n },\r\n getUserToken: function() {\r\n let result = Apollo.instance.defaultClient.readQuery({\r\n query: LocalUserToken\r\n });\r\n\r\n return result.user.accessToken;\r\n },\r\n getUserId: function() {\r\n let result = Apollo.instance.defaultClient.readQuery({\r\n query: LocalUser\r\n });\r\n\r\n if (result.user.isConnected) {\r\n let userToken = JSON.parse(atob(result.user.accessToken.split(\".\")[1]));\r\n return userToken.nameid;\r\n }\r\n\r\n return \"\";\r\n },\r\n resendConfirmationEmail: async function(email) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: ResendConfirmationEmail,\r\n variables: {\r\n input: {\r\n email\r\n }\r\n }\r\n });\r\n },\r\n confirmEmail: async function(token, email) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: ConfirmEmail,\r\n variables: {\r\n input: {\r\n email,\r\n token\r\n }\r\n }\r\n });\r\n },\r\n verifyEmail: async function(email) {\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: VerifyEmail,\r\n variables: {\r\n input: {\r\n email\r\n }\r\n }\r\n });\r\n }\r\n};\r\n\r\nfunction uTypeToGraphqlType(utype) {\r\n let type = USER_TYPE_ANONYME;\r\n switch (utype) {\r\n case CLAIM_UTYPE_ADMIN:\r\n type = USER_TYPE_ADMIN;\r\n break;\r\n case CLAIM_UTYPE_USER:\r\n type = USER_TYPE_USER;\r\n break;\r\n }\r\n return type;\r\n}\r\n\r\nasync function setUser(token, refreshToken) {\r\n localStorage.setItem(LOCAL_STORAGE_AUTHTOKEN, token);\r\n localStorage.setItem(LOCAL_STORAGE_REFRESHTOKEN, refreshToken);\r\n\r\n let userToken = JSON.parse(atob(token.split(\".\")[1]));\r\n let user = {\r\n type: uTypeToGraphqlType(userToken.utype),\r\n accessToken: token,\r\n refreshToken: refreshToken\r\n };\r\n\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateLocalUser,\r\n variables: {\r\n user\r\n }\r\n });\r\n\r\n if (user.type === USER_TYPE_USER) {\r\n await TwilioService.initTwilioClient();\r\n }\r\n\r\n user = {\r\n isConnected: true\r\n };\r\n await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateLocalUser,\r\n variables: {\r\n user\r\n }\r\n });\r\n}\r\n\r\nasync function waitRefreshToken() {\r\n return new Promise((resolve, reject) => {\r\n let timerId = setInterval(function() {\r\n if (!localStorage.getItem(LOCAL_STORAGE_RENEWTOKEN_STATUS)) {\r\n clearInterval(timerId);\r\n resolve();\r\n }\r\n }, 50);\r\n });\r\n}\r\n\r\nasync function logout() {\r\n localStorage.removeItem(LOCAL_STORAGE_AUTHTOKEN);\r\n localStorage.removeItem(LOCAL_STORAGE_REFRESHTOKEN);\r\n localStorage.removeItem(LOCAL_STORAGE_TWILIOTOKEN);\r\n localStorage.removeItem(LOCAL_STORAGE_MAP_LATLONG);\r\n localStorage.removeItem(LOCAL_STORAGE_MAP_ZOOMLEVEL);\r\n localStorage.removeItem(LOCAL_STORAGE_RENEWTOKEN_STATUS);\r\n\r\n window.location.href = \"/\";\r\n}\r\n"],"sourceRoot":""}