{"version":3,"sources":["webpack:///./src/mixins/radius.mixin.js","webpack:///./src/mixins/infiniteScroll.mixin.js","webpack:///./src/mixins/refresh.mixin.js","webpack:///./node_modules/@capacitor/geolocation/dist/esm/index.js","webpack:///./src/mixins/setUserPosition.mixin.js","webpack:///./src/mixins/AutoRefreshTimer.mixin.js","webpack:///./src/mixins/HumanDiff.mixin.js","webpack:///./src/mixins/getLocation.js","webpack:///./src/components/Popover.vue","webpack:///src/components/Popover.vue","webpack:///./src/components/Popover.vue?abf7","webpack:///./src/components/Popover.vue?e354","webpack:///./src/views/facilities/tabs/payouts/PayoutDetails.vue","webpack:///src/views/facilities/tabs/payouts/PayoutDetails.vue","webpack:///./src/views/facilities/tabs/payouts/PayoutDetails.vue?c830","webpack:///./src/views/facilities/tabs/payouts/PayoutDetails.vue?a49f","webpack:///./src/mixins/PopOver.js"],"names":["RadiusMixin","data","radius","radiusSliderOpened","methods","initialRadius","key","_this","_asyncToGenerator","_regeneratorRuntime","mark","_callee","newRadius","wrap","_context","prev","next","Preferences","get","sent","value","JSON","parse","stop","changeRadius","event","_this2","_callee2","_context2","target","set","stringify","infiniteScrollMixin","page","loadingMore","resetInfiniteScroll","this","loadMore","modelName","previousVariables","paginatorInfo","hasMorePages","complete","abrupt","$apollo","queries","previousVariablesJson","fetchMore","variables","_objectSpread","updateQuery","previousResult","_ref","fetchMoreResult","_defineProperty","__typename","concat","_toConsumableArray","refreshMixin","doRefresh","model","refetch","Geolocation","web","then","m","GeolocationWeb","setUserPositionMixin","latitude","longitude","setUserPosition","_position$coords","position","getCurrentPosition","enableHighAccuracy","coords","t0","code","displayGeolocationWarning","captureException","REMINDER_DELAY","now","storageValue","remindAfterTime","Date","GEOLOCATION_REMIND_AFTER","parseInt","toString","$ionic","toastController","create","color","message","$t","showCloseButton","toast","present","AutoRefreshTimer","autoRefreshTimer","autoRefreshInterval","autoRefreshState","autoRefreshFunction","mounted","setInterval","onAutoRefresh","beforeDestroy","clearInterval","HumanDiff","humanDiff","suffix","arguments","length","undefined","tz","APP_DEFAULTS","DEFAULT_TIMEZONE","realSeconds","moment","String","diff","humanize","ss","getLocation","location","name","getLocationValueOrError","city","street","state","country","number","zip_code","object","Error","render","_vm","_c","_self","_v","_s","title","_l","items","item","id","on","$event","clickItem","system_name","selected","attrs","slot","_e","staticRenderFns","props","Type","default","type","Array","dismiss","Function","required","selectItem","component","staticClass","loading","getPayoutSummary","paidCount","_f","paidAmount","refundCount","refundAmount","transactionCount","totalTransactionAmount","totalAmount","getPayoutDetails","loadingMoreStripe","loadMoreStripe","transaction","amount","currency","available_on","payoutTypeMapping","label","payment","payment_refund","adjustment","components","GoBackHeader","computed","_this$getPayoutSummar","_this$getPayoutSummar2","_this$getPayoutSummar3","_this$getPayoutSummar4","_this$getPayoutSummar5","_this$getPayoutSummar6","_this$getPayoutSummar7","_this$getPayoutSummar8","_this$getPayoutSummar9","mixins","apollo","query","GET_PAYOUT_DETAILS","facility_id","payout_id","payoutId","cursor","GET_PAYOUT_SUMMARY","_this$getPayoutDetail","_this$getPayoutDetail2","_this$getPayoutDetail3","_this$getPayoutDetail4","_this$getPayoutDetail5","_this$getPayoutDetail6","has_more","console","error","stripeType","reduce","acc","current","net","currentPopover","popOver","dismissPopover","popoverController","Popover","componentProps","parent","propsData","translucent","p"],"mappings":"gZAEaA,EAAe,CAC1BC,KAAI,WACF,MAAO,CACLC,OAAQ,IACRC,oBAAoB,IAGxBC,QAAS,CACDC,cAAa,SAACC,GAAK,IAAAC,EAAA,YAAAC,eAAAC,iBAAAC,MAAA,SAAAC,IAAA,IAAAT,EAAAU,EAAA,OAAAH,iBAAAI,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EACFC,OAAYC,IAAI,CAAEZ,IAAKA,IAAM,OAA5CJ,EAAMY,EAAAK,KAENP,EAAYV,EAAOkB,MACtBR,IACDL,EAAKL,OAASmB,KAAKC,MAAMV,IAC1B,wBAAAE,EAAAS,U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AAF,UAAA,GAAAA,UAAA,GAAG,GAGrB,OAFA4C,EAAMK,QAAU3H,KAAK4L,eAEd5L,KAAKoD,OAAOyI,kBAAkBvI,OAAO,CAC1CyE,UAAW+D,OACXC,eAAgB,CACdC,OAAQhM,KACRiM,UAAW3E,GAEb4E,aAAa,EACb7M,UAECuC,MACC,SAAAuK,GACEA,EAAEvI,UACFzF,EAAKuN,eAAiBS,MAI9BP,eAAc,WAAG,IAAAtM,EAAA,KACZU,KAAK0L,gBACN1L,KAAK0L,eAAe/D,UAAU/F,MAAK,WACjCtC,EAAKoM,eAAiB","file":"js/chunk-74ee5a7e.4163bce2.js","sourcesContent":["import { Preferences } from '@capacitor/preferences';\n\nexport const RadiusMixin = {\n data() {\n return {\n radius: 200,\n radiusSliderOpened: false,\n }\n },\n methods: {\n async initialRadius(key) {\n const radius = await Preferences.get({ key: key });\n\n const newRadius = radius.value;\n if(newRadius) {\n this.radius = JSON.parse(newRadius);\n }\n },\n async changeRadius(event, key) {\n this.radius = event.target.value\n\n await Preferences.set({ key: key, value: JSON.stringify(this.radius) });\n }\n },\n}","export const infiniteScrollMixin = {\n data() {\n return {\n page: 1,\n loadingMore: true,\n }\n },\n methods: {\n resetInfiniteScroll() {\n this.page = 1;\n this.loadingMore = true;\n },\n async loadMore(event, modelName) {\n if(!this[modelName].paginatorInfo.hasMorePages) {\n event.target.complete();\n this.loadingMore = false;\n return;\n }\n this.page++;\n\n let previousVariables = JSON.parse(this.$apollo.queries[modelName].previousVariablesJson);\n await this.$apollo.queries[modelName].fetchMore({\n variables: {\n ...previousVariables,\n page: this.page\n },\n updateQuery: (previousResult, { fetchMoreResult }) => {\n return {\n [modelName]: {\n __typename: previousResult[modelName].__typename,\n data: [...previousResult[modelName].data, ...fetchMoreResult[modelName].data],\n paginatorInfo: fetchMoreResult[modelName].paginatorInfo\n }\n }\n },\n\n });\n\n event.target.complete();\n },\n }\n}\n","export const refreshMixin = {\n methods: {\n async doRefresh(event, model) {\n await this.$apollo.queries[model].refetch();\n event.target.complete()\n },\n }\n}","import { registerPlugin } from '@capacitor/core';\nconst Geolocation = registerPlugin('Geolocation', {\n web: () => import('./web').then(m => new m.GeolocationWeb()),\n});\nexport * from './definitions';\nexport { Geolocation };\n//# sourceMappingURL=index.js.map","import { captureException } from \"@/utils/captureException\";\nimport { Preferences } from '@capacitor/preferences';\nimport { Geolocation } from '@capacitor/geolocation';\nimport { GEOLOCATION_REMIND_AFTER } from \"@/configs\";\n\nexport const setUserPositionMixin = {\n\n data() {\n return {\n latitude: null,\n longitude: null,\n }\n },\n methods: {\n async setUserPosition() {\n try {\n const position = await Geolocation.getCurrentPosition({ enableHighAccuracy: true });\n\n if(position?.coords?.latitude) {\n this.latitude = position.coords.latitude;\n this.longitude = position.coords.longitude;\n }\n } catch(error) {\n if(error?.code === 1) {\n\n await this.displayGeolocationWarning();\n\n }\n captureException(error);\n }\n },\n async displayGeolocationWarning() {\n const REMINDER_DELAY = 30 * 24 * 3600 * 1000; // Snooze for 30 days\n const now = Date.now();\n\n const storageValue = await Preferences.get({key: GEOLOCATION_REMIND_AFTER});\n const remindAfterTime = parseInt( storageValue?.value || '0' );\n\n if (remindAfterTime > now) {\n return;\n }\n\n await Preferences.set({key: GEOLOCATION_REMIND_AFTER, value: (now + REMINDER_DELAY).toString()});\n\n this.$ionic.toastController.create({\n color: 'danger',\n message: this.$t('youhavedisabledgeolocation'),\n showCloseButton: true,\n }).then( toast => toast.present() );\n }\n }\n}\n","/**\n * This creates an auto-refresh timer with a given interval (defaults to 2 seconds)\n *\n * Use the `autoRefreshState` inside your computed property to refresh that property automatically.\n */\nexport const AutoRefreshTimer = {\n data() {\n return {\n autoRefreshTimer: null,\n autoRefreshInterval: 1000,\n autoRefreshState: false, // RefreshTicker will flip between true and false, and will be used to refresh our UI\n autoRefreshFunction: null,\n }\n },\n\n mounted() {\n this.autoRefreshTimer = setInterval(this.onAutoRefresh, this.autoRefreshInterval);\n },\n\n beforeDestroy() {\n clearInterval(this.autoRefreshTimer);\n },\n\n methods: {\n onAutoRefresh() {\n this.autoRefreshState = !this.autoRefreshState;\n }\n }\n}\n","import * as moment from \"moment-timezone\";\nimport { APP_DEFAULTS } from \"@/configs\";\n\nexport const HumanDiff = {\n methods: {\n humanDiff(value, suffix = false, tz = APP_DEFAULTS.DEFAULT_TIMEZONE) {\n if (!value) {\n return null;\n }\n\n const realSeconds = moment.tz(String(value), tz).diff(moment(), 'seconds');\n\n return moment.duration(realSeconds, 'seconds').humanize(suffix, {ss: -1});\n }\n }\n}\n","export default {\n methods: {\n getLocation(location) {\n return {\n name: this.getLocationValueOrError(location, 'name'),\n latitude: this.getLocationValueOrError(location, 'latitude'),\n longitude: this.getLocationValueOrError(location, 'longitude'),\n city: this.getLocationValueOrError(location, 'city'),\n street: this.getLocationValueOrError(location, 'street'),\n state: this.getLocationValueOrError(location, 'state'),\n country: this.getLocationValueOrError(location, 'country'),\n number: this.getLocationValueOrError(location, 'number'),\n zip_code: this.getLocationValueOrError(location, 'zipcode'),\n }\n },\n getLocationValueOrError(object, name) {\n if(object[name] !== undefined) {\n return object[name];\n } else {\n throw Error(`Location ${name} is not defined.`);\n }\n }\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-list',[_c('ion-list-header',[_c('ion-label',[_vm._v(_vm._s(_vm.title))])],1),_vm._l((_vm.items),function(item){return _c('ion-item',{key:item.id,on:{\"click\":function($event){return _vm.clickItem(item)}}},[_vm._v(\" \"+_vm._s(item.title)+\" \"),(item.system_name == _vm.selected)?_c('ion-icon',{attrs:{\"slot\":\"end\",\"name\":\"checkmark\"},slot:\"end\"}):_vm._e()],1)})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/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!./Popover.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/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!./Popover.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Popover.vue?vue&type=template&id=572ce75c&\"\nimport script from \"./Popover.vue?vue&type=script&lang=js&\"\nexport * from \"./Popover.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\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-page',{staticClass:\"ion-page\"},[_c('go-back-header',{attrs:{\"defaultHref\":`/facilities/${_vm.id}`}}),_c('ion-content',[_c('List',{attrs:{\"header\":'Summary',\"loading\":_vm.$apollo.loading && !_vm.getPayoutSummary,\"not-found-message\":`No summary available`}},[_c('ion-item',[_c('ion-grid',{staticClass:\"ion-no-padding\"},[_c('ion-row',[_c('ion-col',{staticClass:\"ion-no-padding\"}),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"moto\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('count')))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"moto\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('amount')))])])],1)],1)],1)],1),_c('ion-item',[_c('ion-grid',{staticClass:\"ion-no-padding\"},[_c('ion-row',[_c('ion-col',{staticClass:\"ion-no-padding\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('payments')))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm.paidCount))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm._f(\"stripeAmount\")(_vm.paidAmount,'eur')))])])],1)],1)],1)],1),_c('ion-item',[_c('ion-grid',{staticClass:\"ion-no-padding\"},[_c('ion-row',[_c('ion-col',{staticClass:\"ion-no-padding\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('refunds')))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm.refundCount))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm._f(\"stripeAmount\")(_vm.refundAmount,'eur')))])])],1)],1)],1)],1),_c('ion-item',[_c('ion-grid',{staticClass:\"ion-no-padding\"},[_c('ion-row',[_c('ion-col',{staticClass:\"ion-no-padding\"},[_c('ion-label',{attrs:{\"color\":\"white\",\"text-wrap\":\"\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('transactionfee')))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm.transactionCount))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm._f(\"stripeAmount\")(_vm.totalTransactionAmount,'eur')))])])],1)],1)],1)],1),_c('ion-item',[_c('ion-grid',{staticClass:\"ion-no-padding\"},[_c('ion-row',[_c('ion-col',{staticClass:\"ion-no-padding\"},[_c('ion-label',{attrs:{\"color\":\"moto\",\"text-wrap\":\"\"}},[_c('p',[_vm._v(_vm._s(_vm.$t('total')))])])],1),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"}),_c('ion-col',{staticClass:\"ion-no-padding ion-text-right\"},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm._f(\"stripeAmount\")(_vm.totalAmount,'eur')))])])],1)],1)],1)],1)],1),_c('List',{attrs:{\"header\":'Transactions',\"loading\":_vm.$apollo.loading && !_vm.getPayoutDetails,\"loading-more\":_vm.loadingMoreStripe,\"not-found-message\":`No transactions yet`},on:{\"loadMore\":_vm.loadMoreStripe}},[(_vm.getPayoutDetails)?_vm._l((_vm.getPayoutDetails.data),function(transaction){return _c('ion-item',{key:transaction.id},[_c('ion-label',{attrs:{\"color\":\"white\"}},[_c('p',[_vm._v(_vm._s(_vm._f(\"stripeAmount\")(transaction.amount,transaction.currency)))]),_c('p',[_vm._v(_vm._s(_vm._f(\"moment\")(transaction.available_on,'D MMM YYYY')))])]),_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":_vm.payoutTypeMapping[transaction.type].color},slot:\"end\"},[_c('p',[_vm._v(_vm._s(_vm.payoutTypeMapping[transaction.type].label))])])],1)}):_vm._e()],2)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/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!./PayoutDetails.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/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!./PayoutDetails.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PayoutDetails.vue?vue&type=template&id=39d18dde&\"\nimport script from \"./PayoutDetails.vue?vue&type=script&lang=js&\"\nexport * from \"./PayoutDetails.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\nexport default component.exports","import Popover from '@/components/Popover'\n\nexport default {\n methods: {\n data() {\n return {\n currentPopover: null\n }\n },\n popOver(event, props = {}) {\n props.dismiss = this.dismissPopover;\n\n return this.$ionic.popoverController.create({\n component: Popover,\n componentProps: {\n parent: this,\n propsData: props\n },\n translucent: false,\n event\n })\n .then(\n p => {\n p.present()\n this.currentPopover = p\n }\n )\n },\n dismissPopover() {\n if(this.currentPopover) {\n this.currentPopover.dismiss().then(() => {\n this.currentPopover = null;\n })\n }\n }\n }\n}\n"],"sourceRoot":""}