{"version":3,"sources":["webpack:///./src/views/Invite.vue","webpack:///./src/invite/InviteEmail.vue","webpack:///./src/invite/InviteEmail.vue?6242","webpack:///./src/invite/InviteEmail.vue?103d","webpack:///./src/invite/InviteEmail.vue?4242","webpack:///./src/invite/InviteLink.vue","webpack:///./src/invite/InviteLink.vue?e5d4","webpack:///./src/invite/InviteLink.vue?d7fd","webpack:///./src/invite/InviteLink.vue?f686","webpack:///./src/invite/InviteFacebook.vue","webpack:///./src/invite/InviteFacebook.vue?3ed3","webpack:///./src/invite/InviteFacebook.vue?fd33","webpack:///./src/invite/InviteFacebook.vue?39fc","webpack:///./src/invite/InviteGmailContainer.vue","webpack:///./src/invite/InviteGmail.vue","webpack:///./src/invite/gmailContactsClient.ts","webpack:///./src/invite/InviteGmail.vue?822a","webpack:///./src/invite/InviteGmail.vue?9cac","webpack:///./src/invite/InviteGmail.vue?d93b","webpack:///./src/invite/InviteGmailContainer.vue?f462","webpack:///./src/invite/InviteGmailContainer.vue?ee34","webpack:///./src/invite/InviteGmailContainer.vue?5e1a","webpack:///./src/views/Invite.vue?32b0","webpack:///./src/views/Invite.vue?52c3","webpack:///./src/views/Invite.vue?e79b","webpack:///./src/serviceClients/invitationWebServices.ts","webpack:///./src/views/Invite.vue?782d"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","showHeader","_v","_s","$t","_e","staticRenderFns","attrs","on","$event","preventDefault","onSubmit","apply","arguments","model","value","email","callback","$$v","expression","isLoading","InviteEmail","Vue","constructor","callInvite","store","getters","module","user","id","then","$toasted","success","duration","finally","catch","error","pushError","response","data","title","Component","components","component","ref","linkClicked","link","copyLink","InviteLink","getBaseUrl","encodeURI","inputEl","$refs","linkInput","select","setSelectionRange","document","execCommand","toString","event","target","inviteFacebook","InviteFacebook","FB","init","appId","getFacebookClientId","autoLogAppEvents","xfbml","version","ui","display","method","href","importFromGoogle","scopedSlots","_u","key","fn","filter","proxy","invite","directives","name","rawName","showSelectAll","selectAll","deselectAll","hide","_l","filteredContacts","contact","isSelected","domProps","Array","isArray","_i","$$a","$$el","$$c","checked","$$i","$set","concat","slice","clientId","apiKey","discoveryDocs","scopes","getEmails","connections","result","otherContacts","c","emailAddresses","map","m","metadata","primary","names","displayName","undefined","etag","initClient","gapi","client","scope","auth2","getAuthInstance","signIn","people","list","async","loadGmailContacts","resolveInitCalled","initCalledPromise","Promise","resolve","reject","initClientResult","load","InviteGmail","contacts","toLowerCase","indexOf","open","show","selectedEmails","InviteGmailContainer","inviteGmail","Invite","mounted","commit","setActiveModuleName","__decorate","Prop","default","url","userId","emails","axios","post","click","inviteId","put"],"mappings":"gIAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAACH,EAAG,UAAU,CAACG,YAAY,oBAAoB,CAAEL,EAAIM,WAAYJ,EAAG,KAAK,CAACG,YAAY,eAAe,CAACL,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,wEAAwET,EAAIU,KAAMV,EAAIM,WAAYJ,EAAG,IAAI,CAACG,YAAY,eAAe,CAACL,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,6GAA6GT,EAAIU,KAAKR,EAAG,0BAA0BA,EAAG,mBAAmBA,EAAG,eAAeA,EAAG,iBAAiB,MAEzmBS,EAAkB,G,wBCFlBZ,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACA,EAAG,KAAK,CAACF,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,gEAAgEP,EAAG,SAAS,CAACG,YAAY,yBAAyBO,MAAM,CAAC,OAAS,IAAIC,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBf,EAAIgB,SAASC,MAAM,KAAMC,cAAc,CAAChB,EAAG,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AAgB,EACrB,IAAI,IAAIM,KAAW/F,KAAKkJ,SACpBnD,EAAQC,YAAa,EAI7BL,cACI3F,KAAKyF,eAAgB,EACrB,IAAI,IAAIM,KAAW/F,KAAKkJ,SACpBnD,EAAQC,YAAa,IA7EZiD,EAAW,gBAD/BpG,eAAU,KACUoG,WCZiX,ICOlY,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,QCTf,IAAqBO,EAArB,cAAkD9H,OAAlDC,c,oBACE,KAAAH,WAAY,EACZ,KAAAJ,MAAQ,GAER0D,mBACK9E,KAAKwD,MAAMiG,YAA4BJ,SALzBG,EAAoB,gBALxC3G,eAAU,CACPC,WAAY,CACRmG,kBAGaO,WCT0X,ICO3Y,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,QCDf,IAAqBE,GAArB,cAAoChI,OAGlCiI,UACE9H,OAAM+H,OAAO7H,OAAO8H,oBAAoB7J,KAAKQ,GAAG,aAH3BsJ,gBAAtBC,eAAK,CAACC,SAAS,KAAO,kCADJN,GAAM,gBAR1B7G,eAAU,CACTC,WAAY,CACVM,aACA3B,cACAyC,iBACAsF,2BAGiBE,cCjB4W,MCQ7X,I,UAAY,eACd,GACA5J,EACAY,GACA,EACA,KACA,KACA,OAIa,gB,6CCnBf,6FAEA,MAAMuJ,EAAM,0DAGN,SAAUrI,EAAWsI,EAAgBC,GACvC,OAAOC,IAAcC,KAAW,GAAGJ,KAAOC,IAAU,CAAEvH,KAAMwH,IAG1D,SAAUG,EAAMC,GAClB,OAAOH,IAAcI,IAAU,GAAGP,KAAOM,a,kCCV7C,W","file":"js/account~home~970f9218.ddda9c9a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"section-invite\"},[_c('section',{staticClass:\"container-custom\"},[(_vm.showHeader)?_c('h3',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.$t('Invite a customer and get 10% out of their continuous purchases!')))]):_vm._e(),(_vm.showHeader)?_c('p',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.$t('You will get 10% out of continuous purchases of each customer, who signs up using your referral code.')))]):_vm._e(),_c('invite-gmail-container'),_c('invite-facebook'),_c('invite-link'),_c('invite-email')],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('h4',[_vm._v(_vm._s(_vm.$t('Invite your friends by sending them an e-mail invitation')))]),_c('b-form',{staticClass:\"form-large invite-form\",attrs:{\"inline\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"Email\")))]),_c('b-input-group',{staticClass:\"input-email\",attrs:{\"prepend\":\"@\"}},[_c('b-input',{attrs:{\"type\":\"email\",\"required\":\"\",\"id\":\"email\",\"placeholder\":_vm.$t('Email address')},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})],1),_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"primary\",\"disabled\":_vm.isLoading || !_vm.email}},[(_vm.isLoading)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.$t(\"Invite\"))+\" \")],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from \"vue-property-decorator\";\nimport store from \"../store/index\";\nimport { callInvite } from \"../serviceClients/invitationWebServices\";\nimport { pushError } from \"@/core\";\n\n@Component({\n components: {\n }\n})\nexport default class InviteEmail extends Vue {\n isLoading = false;\n email = \"\";\n\n onSubmit() {\n this.isLoading = true;\n callInvite(store.getters.module.user!.id, [ this.email ])\n .then(() => {\n this.$toasted.success(this.$t(\"Invitation email sent to\") + \" \" + this.email, {\n duration: 2000,\n });\n this.email = \"\";\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while sending invitation\") });\n });\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteEmail.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteEmail.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteEmail.vue?vue&type=template&id=0786dd24&\"\nimport script from \"./InviteEmail.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteEmail.vue?vue&type=script&lang=ts&\"\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,_setup=_vm._self._setupProxy;return _c('div',[_c('h4',[_vm._v(_vm._s(_vm.$t('Invite people by sharing your individual link on your website, blog or social media profile')))]),_c('b-form',{staticClass:\"form-large invite-form\",attrs:{\"inline\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return (() => {}).apply(null, arguments)}}},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"Invitation link\")))]),_c('b-input-group',[_c('b-input',{ref:\"linkInput\",attrs:{\"type\":\"text\",\"required\":\"\",\"id\":\"link\"},on:{\"click\":_vm.linkClicked,\"keydown\":function($event){$event.preventDefault();return (() => {}).apply(null, arguments)}},model:{value:(_vm.link),callback:function ($$v) {_vm.link=$$v},expression:\"link\"}})],1),_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.copyLink.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Copy\"))+\" \")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport { getBaseUrl } from \"../helpers/settingsHelper\";\nimport store from \"../store/index\";\n\ndeclare const FB: any;\n\n@Component({\n components: {\n }\n})\nexport default class InviteLink extends Vue {\n get link() {\n return `${getBaseUrl()}/register/${encodeURI(store.getters.module.user!.id)}`;\n }\n\n copyLink() {\n var inputEl = this.$refs.linkInput as HTMLInputElement;\n inputEl.select();\n inputEl.setSelectionRange(0, 99999);\n document.execCommand(\"copy\");\n\n this.$toasted.success(this.$t(\"Invitation link copied to clipboard\").toString(), {\n duration: 2000,\n });\n }\n\n linkClicked(event: Event) {\n var inputEl = event.target as HTMLInputElement;\n inputEl.select();\n inputEl.setSelectionRange(0, 99999);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteLink.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteLink.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteLink.vue?vue&type=template&id=4eb4e97c&\"\nimport script from \"./InviteLink.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteLink.vue?vue&type=script&lang=ts&\"\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,_setup=_vm._self._setupProxy;return _c('div',[_c('h4',[_vm._v(\" \"+_vm._s(_vm.$t('Invite your Facebook friends by sharing your personalized invitation link')))]),_c('b-button',{staticClass:\"invite-facebook\",on:{\"click\":_vm.inviteFacebook}},[_c('i'),_vm._v(\" \"+_vm._s(_vm.$t(\"Invite Facebook friends\")))])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport { getBaseUrl, getFacebookClientId } from \"../helpers/settingsHelper\";\nimport store from \"../store/index\";\n\ndeclare const FB: any;\n\n@Component({\n components: {\n }\n})\nexport default class InviteFacebook extends Vue {\n get link() {\n return `${getBaseUrl()}/register/${encodeURI(store.getters.module.user!.id)}`;\n }\n\n inviteFacebook() {\n FB.init({\n appId : getFacebookClientId(),\n autoLogAppEvents : true,\n xfbml : true,\n version : 'v9.0'\n });\n FB.ui({\n display: 'popup',\n method: 'share',\n href: this.link,\n }, (response: any) => {});\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteFacebook.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteFacebook.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteFacebook.vue?vue&type=template&id=94832c7e&\"\nimport script from \"./InviteFacebook.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteFacebook.vue?vue&type=script&lang=ts&\"\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,_setup=_vm._self._setupProxy;return _c('div',[_c('h4',[_vm._v(_vm._s(_vm.$t('Invite your Gmail contacts by sending an e-mail invitation')))]),_c('b-button',{staticClass:\"invite-gmail\",attrs:{\"size\":\"lg\",\"variant\":\"outline-primary\"},on:{\"click\":_vm.importFromGoogle}},[_c('i'),_vm._v(_vm._s(_vm.$t(\"Invite Gmail contacts\")))]),_c('invite-gmail',{ref:\"inviteGmail\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('b-modal',{ref:\"modal\",attrs:{\"data-keyboard\":\"false\",\"size\":\"xl\",\"scrollable\":\"\"},scopedSlots:_vm._u([{key:\"modal-header\",fn:function(){return [_c('b-row',{staticClass:\"w-100\"},[_c('b-col',[_c('b-input',{attrs:{\"placeholder\":_vm.$t('Search')},model:{value:(_vm.filter),callback:function ($$v) {_vm.filter=$$v},expression:\"filter\"}})],1),_c('b-col',[_c('h5',{staticClass:\"text-right\"},[_vm._v(_vm._s(_vm.$t('Invite Gmail contacts')))])])],1)]},proxy:true},{key:\"modal-footer\",fn:function(){return [_c('b-button',{staticClass:\"float-right\",attrs:{\"variant\":\"primary\",\"disabled\":_vm.isLoading},on:{\"click\":_vm.invite}},[(_vm.isLoading)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.$t(\"Invite selected contacts\"))+\" \")],1),_c('b-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showSelectAll),expression:\"showSelectAll\"}],staticClass:\"float-right\",on:{\"click\":_vm.selectAll}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Select all\"))+\" \")]),_c('b-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showSelectAll),expression:\"!showSelectAll\"}],staticClass:\"float-right\",on:{\"click\":_vm.deselectAll}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Deselect all\"))+\" \")]),_c('b-button',{staticClass:\"float-right\",attrs:{\"variant\":\"outline-primary\"},on:{\"click\":function($event){return _vm.hide()}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Cancel\"))+\" \")])]},proxy:true}])},[_c('table',{staticClass:\"table\"},_vm._l((_vm.filteredContacts),function(contact){return _c('tr',{key:contact.id,on:{\"click\":() => { contact.isSelected = !contact.isSelected }}},[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(contact.isSelected),expression:\"contact.isSelected\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(contact.isSelected)?_vm._i(contact.isSelected,null)>-1:(contact.isSelected)},on:{\"change\":function($event){var $$a=contact.isSelected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(contact, \"isSelected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(contact, \"isSelected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(contact, \"isSelected\", $$c)}}}})]),_c('td',[_vm._v(_vm._s(contact.name))]),_c('td',[_vm._v(_vm._s(contact.email))])])}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","declare const gapi: any;\n\nconst clientId = '23742827354-ou530dq74r93baq6s55up9mmt4bnuend.apps.googleusercontent.com';\nconst clientSecret = 'ViXhi_TuVdQlqjBPB1jzxSnA';\nconst apiKey = 'AIzaSyAnmYIN0mDrZQ17cm-a7VQfsiMRcn0HGuc';\n// Array of API discovery doc URLs for APIs used by the quickstart\nconst discoveryDocs = [\"https://www.googleapis.com/discovery/v1/apis/people/v1/rest\"];\n\n// Authorization scopes required by the API; multiple scopes can be\n// included, separated by spaces.\nconst scopes = \"https://www.googleapis.com/auth/contacts.other.readonly\";\n\ninterface GapiEmailAddress {\n value: string;\n metadata: {\n primary: boolean;\n }\n}\n\ninterface GapiName {\n displayName: string;\n metadata: {\n primary: boolean;\n }\n}\n\ninterface GapiConnection {\n emailAddresses: GapiEmailAddress[];\n names: GapiName[];\n etag: string;\n}\n\ninterface GapiResponse {\n result: {\n otherContacts: GapiConnection[]\n }\n}\n\nexport interface GmailContact {\n email: string;\n name: string;\n id: string;\n}\n\nfunction getEmails(response: GapiResponse) : GmailContact[] {\n const connections = response.result.otherContacts;\n if(!connections) {\n return [];\n }\n return connections\n .filter(c => !!c.emailAddresses)\n .map(c => {\n const email = c.emailAddresses\n .filter(m => m.metadata.primary)\n .map(m => m.value)[0];\n const name = c.names ? c.names\n .filter(m => m.metadata.primary)\n .map(m => m.displayName)[0]\n : undefined;\n return {\n email,\n name: name || email,\n id: c.etag + email\n }\n });\n}\n\nfunction initClient() {\n return gapi.client.init({\n apiKey,\n clientId,\n discoveryDocs,\n scope: scopes\n }).then(() => {\n return gapi.auth2.getAuthInstance().signIn()\n .then(() => {\n return gapi.client.people.otherContacts.list({\n 'pageSize': 1000,\n 'readMask': 'names,emailAddresses',\n }).then((response: GapiResponse) => {\n return getEmails(response);\n });\n });\n })\n }\n\nexport async function loadGmailContacts() {\n let resolveInitCalled = () => { /* noop */ };\n const initCalledPromise = new Promise((resolve, reject) => {\n resolveInitCalled = resolve;\n });\n\n let initClientResult: Promise;\n\n gapi.load('client:auth2', () => {\n initClientResult = initClient();\n resolveInitCalled();\n });\n await initCalledPromise;\n\n return await initClientResult!;\n}","\nimport { pushError } from \"@/core\";\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport { callInvite } from \"../serviceClients/invitationWebServices\";\nimport store from \"../store\";\nimport { GmailContact, loadGmailContacts } from \"./gmailContactsClient\";\n\ninterface SelectableContact extends GmailContact {\n isSelected: boolean;\n}\n\n@Component({})\nexport default class InviteGmail extends Vue {\n contacts: SelectableContact[] = [];\n filter: string = \"\";\n isLoading = false;\n email = \"\";\n showSelectAll = false;\n\n get filteredContacts() {\n return this.contacts.filter(c => !this.filter || \n (c.email + c.name).toLowerCase().indexOf(this.filter.toLowerCase()) !== -1)\n }\n\n open() {\n this.showSelectAll = false;\n loadGmailContacts()\n .then((response) => {\n this.contacts = response.map((c: GmailContact) => {\n return {\n isSelected: true,\n name: c.name,\n id: c.id,\n email: c.email\n };\n });\n this.show();\n })\n .catch(error => {\n if (error.error) {\n if(error.error = \"popup_closed_by_user\") {\n pushError(\"Cancelled by user\")\n } else {\n pushError(error.error);\n }\n return;\n }\n pushError(error);\n });\n }\n\n show() {\n (this.$refs['modal'] as any).show();\n }\n\n hide() {\n (this.$refs['modal'] as any).hide();\n }\n\n invite() {\n this.isLoading = true;\n const selectedEmails = this.contacts\n .filter(c => c.isSelected)\n .map(c => c.email);\n callInvite(store.getters.module.user!.id, selectedEmails)\n .then(() => {\n this.$toasted.success(`Invitation email sent`, {\n duration: 2000,\n });\n this.hide();\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while logging in\") })\n });\n }\n\n selectAll() {\n this.showSelectAll = false;\n for(let contact of this.contacts) {\n contact.isSelected = true;\n }\n }\n\n deselectAll() {\n this.showSelectAll = true;\n for(let contact of this.contacts) {\n contact.isSelected = false;\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteGmail.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteGmail.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteGmail.vue?vue&type=template&id=a9b99e60&\"\nimport script from \"./InviteGmail.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteGmail.vue?vue&type=script&lang=ts&\"\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","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport InviteGmail from \"./InviteGmail.vue\";\n\n@Component({\n components: {\n InviteGmail\n }\n})\nexport default class InviteGmailContainer extends Vue {\n isLoading = false;\n email = \"\";\n\n importFromGoogle() {\n (this.$refs.inviteGmail as InviteGmail).open();\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteGmailContainer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteGmailContainer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteGmailContainer.vue?vue&type=template&id=613c65f2&\"\nimport script from \"./InviteGmailContainer.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteGmailContainer.vue?vue&type=script&lang=ts&\"\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","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport InviteEmail from \"@/invite/InviteEmail.vue\";\nimport InviteLink from \"@/invite/InviteLink.vue\";\nimport InviteFacebook from \"@/invite/InviteFacebook.vue\";\nimport InviteGmailContainer from \"@/invite/InviteGmailContainer.vue\";\n\nimport store from \"@/store\";\n\n@Component({\n components: {\n InviteLink,\n InviteEmail,\n InviteFacebook,\n InviteGmailContainer\n }\n})\nexport default class Invite extends Vue {\n @Prop({default: true}) showHeader!: boolean;\n\n mounted() {\n store.commit.module.setActiveModuleName(this.$t(\"Invite\"));\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Invite.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Invite.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Invite.vue?vue&type=template&id=56d8d287&\"\nimport script from \"./Invite.vue?vue&type=script&lang=ts&\"\nexport * from \"./Invite.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Invite.vue?vue&type=style&index=0&id=56d8d287&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","import * as axios from 'axios';\n\nconst url = `${process.env.VUE_APP_API_URL}/invitation`;\n\n\nexport function callInvite(userId: string, emails: string[]) {\n return axios.default.post(`${url}/${userId}`, { data: emails });\n}\n\nexport function click(inviteId: string) {\n return axios.default.put(`${url}/${inviteId}/click`);\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!./Invite.vue?vue&type=style&index=0&id=56d8d287&prod&lang=scss&\""],"sourceRoot":""}