{"version":3,"sources":["webpack:///./src/views/profile.vue?ab24","webpack:///./src/views/profile.vue?8b80","webpack:///src/views/profile.vue","webpack:///./src/views/profile.vue?a45f","webpack:///./src/views/profile.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","user","data","staticClass","_v","directives","name","rawName","value","firestore","expression","attrs","domProps","on","$event","target","composing","$set","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","val","_value","multiple","_l","language","key","id","_s","userWordCount","_m","item","date","wordCount","currency","rate","word","save","_e","staticRenderFns","isFetchingWordCount","methods","mounted","fetchWordCount","computed","rates","component"],"mappings":"yIAAA,yBAAoiB,EAAG,G,yCCAviB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAIM,KAAKC,KAAc,UAAEH,EAAG,MAAM,CAACI,YAAY,2BAA2B,CAACJ,EAAG,KAAK,CAACJ,EAAIS,GAAG,cAAcL,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,WAAW,CAACJ,EAAG,KAAK,CAACI,YAAY,WAAW,CAACR,EAAIS,GAAG,eAAeL,EAAG,MAAM,CAACI,YAAY,mBAAmB,CAACJ,EAAG,QAAQ,CAACM,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOb,EAAIM,KAAKC,KAAKO,UAAc,KAAEC,WAAW,6BAA6BP,YAAY,QAAQQ,MAAM,CAAC,GAAK,OAAO,KAAO,OAAO,YAAc,4BAA4BC,SAAS,CAAC,MAASjB,EAAIM,KAAKC,KAAKO,UAAc,MAAGI,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOC,OAAOC,WAAqBrB,EAAIsB,KAAKtB,EAAIM,KAAKC,KAAKO,UAAW,OAAQK,EAAOC,OAAOP,eAAeT,EAAG,MAAM,CAACI,YAAY,WAAW,CAACJ,EAAG,KAAK,CAACI,YAAY,WAAW,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,QAAS,WACPpD,KAAKqD,kBAEPC,SAAU,OAAZ,OAAY,CAAZ,GACA,wCADA,CAEIV,SAFJ,WAGM,OAAO5C,KAAKK,KAAKC,KAAKO,UAAU0C,MAAMX,UAExCE,KALJ,WAMM,OAAO9C,KAAKK,KAAKC,KAAKO,UAAU0C,MAAMT,SC5GqS,I,wBCQ7UU,EAAY,eACd,EACA1D,EACAmD,GACA,EACA,KACA,WACA,MAIa,aAAAO,E","file":"js/chunk-67ce68d1.a14c4aa7.js","sourcesContent":["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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./profile.vue?vue&type=style&index=0&id=927edb38&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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./profile.vue?vue&type=style&index=0&id=927edb38&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.user.data.firestore)?_c('div',{staticClass:\"profile content-wrapper\"},[_c('h1',[_vm._v(\"Settings\")]),_c('div',{staticClass:\"profile-grid\"},[_c('div',{staticClass:\"section\"},[_c('h2',{staticClass:\"heading\"},[_vm._v(\"Full Name\")]),_c('div',{staticClass:\"input-container\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.data.firestore.name),expression:\"user.data.firestore.name\"}],staticClass:\"input\",attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":\"Please provide full name\"},domProps:{\"value\":(_vm.user.data.firestore.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user.data.firestore, \"name\", $event.target.value)}}})])]),_c('div',{staticClass:\"section\"},[_c('h2',{staticClass:\"heading\"},[_vm._v(\"Languages\")]),_c('span',{staticClass:\"description\"},[_vm._v(\"Select your native language\")]),_c('div',{staticClass:\"select-container select-container--no-label\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.data.firestore.languages),expression:\"user.data.firestore.languages\"}],attrs:{\"id\":\"language\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.user.data.firestore, \"languages\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"None\")]),_vm._l((_vm.languageList),function(language){return _c('option',{key:language.id,domProps:{\"value\":language.id}},[_vm._v(_vm._s(language.name))])})],2),_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"16\",\"height\":\"16\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\",\"fill\":\"#999\"}})])])]),_c('div',{staticClass:\"select-container select-container--no-label\"},[_c('h2',{staticClass:\"heading\"},[_vm._v(\"Word count and earnings\")]),(_vm.isFetchingWordCount)?_c('div',[_vm._v(\"Fetching word count and earnings, please wait..\")]):_c('div',[(_vm.userWordCount === null)?_c('div',[_vm._v(\"No data found..\")]):_c('div',[_c('table',{staticClass:\"inline-table\"},[_vm._m(0),_vm._l((_vm.userWordCount),function(item){return _c('tr',{key:item.date},[_c('td',[_vm._v(_vm._s(item.date))]),_c('td',[_vm._v(_vm._s(item.wordCount))]),_c('td',[_vm._v(_vm._s(_vm.currency)+\" \"+_vm._s(item.rate))])])})],2),_c('span',{staticClass:\"details\"},[_vm._v(\"Your fee is calculated based on a rate/word of \"+_vm._s(_vm.currency)+_vm._s(_vm.word)+\".\")])])])])]),_c('button',{staticClass:\"button\",on:{\"click\":_vm.save}},[_vm._v(\"Save\")])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',[_vm._v(\"Month\")]),_c('th',[_vm._v(\"Words\")]),_c('th',[_vm._v(\"Fee\")])])}]\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/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./profile.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/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./profile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./profile.vue?vue&type=template&id=927edb38&scoped=true&\"\nimport script from \"./profile.vue?vue&type=script&lang=js&\"\nexport * from \"./profile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./profile.vue?vue&type=style&index=0&id=927edb38&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 \"927edb38\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}