{"version":3,"sources":["webpack:///./src/modals/account/views/components/SettingsConnections.vue?09cd","webpack:///src/modals/account/views/components/SettingsConnections.vue","webpack:///./src/modals/account/views/components/SettingsConnections.vue?1fba","webpack:///./src/modals/account/views/components/SettingsConnections.vue","webpack:///./src/modals/account/views/components/SettingsConnections.vue?949b"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","_l","provider","key","id","attrs","style","color","icon","connections","_v","_s","referenceId","_f","lastUpdatedAt","_e","loading","link","on","$event","onUnlink","onLink","$t","model","callback","$$v","withEmail","staticRenderFns","PROVIDERS","PROVIDER_ICONS","discord","twitter","PROVIDER_COLORS","props","user","type","User","required","computed","map","i","reduce","acc","v","methods","unlinkConnection","removeConnection","authUrl","$modal","open","$toast","error","message","component","VBtn","VCheckbox","VSheet"],"mappings":"6JAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,KAAK,CAACG,WAAW,CAAC,CAACC,KAAK,IAAIC,QAAQ,MAAMC,MAAM,0CAA4CC,WAAW,8CAA8CL,YAAY,sDAAsDN,EAAIY,GAAIZ,EAAa,WAAE,SAASa,GAAU,OAAOT,EAAG,UAAU,CAACU,IAAID,EAASE,GAAGT,YAAY,cAAcU,MAAM,CAAC,MAAQ,YAAY,CAACZ,EAAG,MAAM,CAACE,YAAY,mDAAmD,CAACF,EAAG,MAAM,CAACE,YAAY,UAAUW,MAAM,CAAEC,MAAOL,EAASK,OAAQF,MAAM,CAAC,cAAc,GAAG,KAAOH,EAASM,SAAS,GAAGf,EAAG,MAAM,CAACE,YAAY,2CAA2C,CAACF,EAAG,KAAK,CAACG,WAAW,CAAC,CAACC,KAAK,IAAIC,QAAQ,MAAMC,MAAOG,EAAa,KAAEF,WAAW,kBAAkBL,YAAY,qDAAsDN,EAAIoB,YAAYP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oC,EAAY,eACd,EACAjE,EACAuC,GACA,EACA,KACA,WACA,MAIa,aAAA0B,EAAiB,QAOhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,YAAA,KAAUC,SAAA,Q,oCC1B7C,yBAAmrB,EAAG,G","file":"js/account-views-components-SettingsConnections.modal.674e61be.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings-connections\"},[_c('h3',{directives:[{name:\"t\",rawName:\"v-t\",value:('page.account.settings.connections.title'),expression:\"'page.account.settings.connections.title'\"}],staticClass:\"text-h5 text-uppercase font-weight-extrabold mb-4\"}),_vm._l((_vm.PROVIDERS),function(provider){return _c('v-sheet',{key:provider.id,staticClass:\"mb-2 d-flex\",attrs:{\"color\":\"grey800\"}},[_c('div',{staticClass:\"grey600 pa-4 d-flex align-center justify-center\"},[_c('fai',{staticClass:\"text-h5\",style:({color: provider.color}),attrs:{\"fixed-width\":\"\",\"icon\":provider.icon}})],1),_c('div',{staticClass:\"flex-grow-1 align-self-center py-3 px-3\"},[_c('h4',{directives:[{name:\"t\",rawName:\"v-t\",value:(provider.name),expression:\"provider.name\"}],staticClass:\"text-body-1 text-capitalize font-weight-semibold\"}),(_vm.connections[provider.id])?_c('h5',{staticClass:\"text-caption text--secondary\"},[_c('span',[_vm._v(\"#\"+_vm._s(_vm.connections[provider.id].referenceId))]),_c('span',{staticClass:\"ml-1 text--disabled\"},[_vm._v(\" (\"+_vm._s(_vm._f(\"toDateFormat\")(_vm.connections[provider.id].lastUpdatedAt,'YYYY-MM-DD HH:mm'))+\") \")])]):_vm._e()]),_c('div',{staticClass:\"actions d-flex align-center pr-3\"},[(_vm.connections[provider.id])?_c('v-btn',{staticClass:\"text-caption font-weight-semibold\",attrs:{\"color\":\"primary800 primary200--text\",\"ripple\":false,\"tile\":\"\",\"depressed\":\"\",\"loading\":_vm.loading.link},on:{\"click\":function($event){return _vm.onUnlink(provider.id)}}},[_c('fai',{staticClass:\"mr-2\",attrs:{\"icon\":['far', 'times']}}),_c('span',{directives:[{name:\"t\",rawName:\"v-t\",value:('cta.unlink'),expression:\"'cta.unlink'\"}]})],1):_c('v-btn',{staticClass:\"text-caption font-weight-semibold\",attrs:{\"color\":\"blue700 blue200--text\",\"ripple\":false,\"tile\":\"\",\"depressed\":\"\",\"loading\":_vm.loading.link},on:{\"click\":function($event){return _vm.onLink(provider.id)}}},[_c('fai',{staticClass:\"mr-2\",attrs:{\"icon\":['fas', 'plus']}}),_c('span',{directives:[{name:\"t\",rawName:\"v-t\",value:('cta.link_account'),expression:\"'cta.link_account'\"}]})],1)],1)])}),_c('v-checkbox',{staticClass:\"mt-3\",attrs:{\"hide-details\":\"\",\"dense\":\"\",\"color\":\"grey100\",\"label\":_vm.$t('page.account.settings.connections.promo')},model:{value:(_vm.withEmail),callback:function ($$v) {_vm.withEmail=$$v},expression:\"withEmail\"}})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsConnections.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsConnections.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettingsConnections.vue?vue&type=template&id=c26e0270&scoped=true&\"\nimport script from \"./SettingsConnections.vue?vue&type=script&lang=js&\"\nexport * from \"./SettingsConnections.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SettingsConnections.vue?vue&type=style&index=0&id=c26e0270&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 \"c26e0270\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\ninstallComponents(component, {VBtn,VCheckbox,VSheet})\n","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsConnections.vue?vue&type=style&index=0&id=c26e0270&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsConnections.vue?vue&type=style&index=0&id=c26e0270&lang=scss&scoped=true&\""],"sourceRoot":""}