2018-11-05 05:06:39 -05:00
|
|
|
|
/* eslint-disable
|
|
|
|
|
camelcase,
|
2018-11-13 08:35:50 -05:00
|
|
|
|
max-len
|
2018-11-05 05:06:39 -05:00
|
|
|
|
*/
|
2020-05-19 05:02:56 -04:00
|
|
|
|
import App from '../base'
|
2021-04-15 10:23:12 -04:00
|
|
|
|
import getMeta from '../utils/meta'
|
2022-11-14 08:17:41 -05:00
|
|
|
|
|
2021-04-14 09:17:21 -04:00
|
|
|
|
App.factory('MultiCurrencyPricing', function () {
|
2022-06-01 08:48:50 -04:00
|
|
|
|
const currencyCode = getMeta('ol-recommendedCurrency')
|
2020-05-19 05:02:56 -04:00
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
currencyCode,
|
|
|
|
|
|
|
|
|
|
plans: {
|
|
|
|
|
USD: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$9',
|
|
|
|
|
annual: '$89',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$14',
|
|
|
|
|
annual: '$129',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$21',
|
|
|
|
|
annual: '$199',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$42',
|
|
|
|
|
annual: '$399',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
EUR: {
|
|
|
|
|
symbol: '€',
|
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
|
monthly: '€8',
|
|
|
|
|
annual: '€79',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '€13',
|
|
|
|
|
annual: '€119',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '€19',
|
|
|
|
|
annual: '€179',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '€39',
|
|
|
|
|
annual: '€369',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
GBP: {
|
|
|
|
|
symbol: '£',
|
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
|
monthly: '£7',
|
|
|
|
|
annual: '£69',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '£11',
|
|
|
|
|
annual: '£104',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '£17',
|
|
|
|
|
annual: '£159',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '£34',
|
|
|
|
|
annual: '£319',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
SEK: {
|
|
|
|
|
symbol: 'kr',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '66 kr',
|
|
|
|
|
annual: '659 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '104 kr',
|
|
|
|
|
annual: '969 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '154 kr',
|
|
|
|
|
annual: '1449 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '299 kr',
|
|
|
|
|
annual: '2869 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
CAD: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$10',
|
|
|
|
|
annual: '$99',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$16',
|
|
|
|
|
annual: '$149',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$25',
|
|
|
|
|
annual: '$229',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$48',
|
|
|
|
|
annual: '$449',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
NOK: {
|
|
|
|
|
symbol: 'kr',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '66 kr',
|
|
|
|
|
annual: '659 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '104 kr',
|
|
|
|
|
annual: '969 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '154 kr',
|
|
|
|
|
annual: '1449 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '299 kr',
|
|
|
|
|
annual: '2869 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
DKK: {
|
|
|
|
|
symbol: 'kr',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '55 kr',
|
|
|
|
|
annual: '549 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '84 kr',
|
|
|
|
|
annual: '799 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '129 kr',
|
|
|
|
|
annual: '1199 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '249 kr',
|
|
|
|
|
annual: '2379 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
AUD: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$11',
|
|
|
|
|
annual: '$109',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$17',
|
|
|
|
|
annual: '$159',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$25',
|
|
|
|
|
annual: '$239',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$49',
|
|
|
|
|
annual: '$459',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
NZD: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$11',
|
|
|
|
|
annual: '$109',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$17',
|
|
|
|
|
annual: '$159',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$25',
|
|
|
|
|
annual: '$239',
|
2018-11-13 08:35:50 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$49',
|
|
|
|
|
annual: '$459',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
CHF: {
|
|
|
|
|
symbol: 'Fr',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: 'Fr 9',
|
|
|
|
|
annual: 'Fr 89',
|
2018-11-13 08:35:50 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: 'Fr 14',
|
|
|
|
|
annual: 'Fr 134',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: 'Fr 21',
|
|
|
|
|
annual: 'Fr 199',
|
2018-11-13 08:35:50 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: 'Fr 42',
|
|
|
|
|
annual: 'Fr 399',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2018-11-13 08:35:50 -05:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
SGD: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$13',
|
|
|
|
|
annual: '$129',
|
2018-11-13 08:35:50 -05:00
|
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
|
personal: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$18',
|
|
|
|
|
annual: '$169',
|
2020-10-13 08:32:57 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
collaborator: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$28',
|
|
|
|
|
annual: '$259',
|
2020-05-19 05:02:56 -04:00
|
|
|
|
},
|
|
|
|
|
professional: {
|
2022-12-15 05:07:59 -05:00
|
|
|
|
monthly: '$55',
|
|
|
|
|
annual: '$519',
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
|
|
|
|
},
|
2023-04-26 11:50:27 -04:00
|
|
|
|
INR: {
|
|
|
|
|
symbol: '₹',
|
|
|
|
|
student: {
|
|
|
|
|
monthly: '₹219',
|
|
|
|
|
annual: '₹2199',
|
|
|
|
|
},
|
|
|
|
|
personal: {
|
|
|
|
|
monthly: '₹339',
|
|
|
|
|
annual: '₹2999',
|
|
|
|
|
},
|
|
|
|
|
collaborator: {
|
|
|
|
|
monthly: '₹499',
|
|
|
|
|
annual: '₹4599',
|
|
|
|
|
},
|
|
|
|
|
professional: {
|
|
|
|
|
monthly: '₹999',
|
|
|
|
|
annual: '₹9599',
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-07-11 04:36:41 -04:00
|
|
|
|
BRL: {
|
|
|
|
|
symbol: 'R$',
|
|
|
|
|
student: {
|
|
|
|
|
monthly: 'R$ 23',
|
|
|
|
|
annual: 'R$ 229',
|
|
|
|
|
},
|
|
|
|
|
personal: {
|
|
|
|
|
monthly: 'R$ 35',
|
|
|
|
|
annual: 'R$ 329',
|
|
|
|
|
},
|
|
|
|
|
collaborator: {
|
|
|
|
|
monthly: 'R$ 55',
|
|
|
|
|
annual: 'R$ 499',
|
|
|
|
|
},
|
|
|
|
|
professional: {
|
|
|
|
|
monthly: 'R$ 109',
|
|
|
|
|
annual: 'R$ 999',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
MXN: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
|
|
|
|
monthly: '$99',
|
|
|
|
|
annual: '$999',
|
|
|
|
|
},
|
|
|
|
|
personal: {
|
|
|
|
|
monthly: '$149',
|
|
|
|
|
annual: '$1,399',
|
|
|
|
|
},
|
|
|
|
|
collaborator: {
|
|
|
|
|
monthly: '$229',
|
|
|
|
|
annual: '$2,199',
|
|
|
|
|
},
|
|
|
|
|
professional: {
|
|
|
|
|
monthly: '$459',
|
|
|
|
|
annual: '$4,399',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
COP: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
|
|
|
|
monthly: '$ 12.900',
|
|
|
|
|
annual: '$ 129.900',
|
|
|
|
|
},
|
|
|
|
|
personal: {
|
|
|
|
|
monthly: '$ 21.900',
|
|
|
|
|
annual: '$ 185.900',
|
|
|
|
|
},
|
|
|
|
|
collaborator: {
|
|
|
|
|
monthly: '$ 29.900',
|
|
|
|
|
annual: '$ 285.900',
|
|
|
|
|
},
|
|
|
|
|
professional: {
|
|
|
|
|
monthly: '$ 59.900',
|
|
|
|
|
annual: '$ 575.900',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
CLP: {
|
|
|
|
|
symbol: '$',
|
|
|
|
|
student: {
|
|
|
|
|
monthly: '$3.990',
|
|
|
|
|
annual: '$38.990',
|
|
|
|
|
},
|
|
|
|
|
personal: {
|
|
|
|
|
monthly: '$6.190',
|
|
|
|
|
annual: '$56.990',
|
|
|
|
|
},
|
|
|
|
|
collaborator: {
|
|
|
|
|
monthly: '$9.190',
|
|
|
|
|
annual: '$87.990',
|
|
|
|
|
},
|
|
|
|
|
professional: {
|
|
|
|
|
monthly: '$18.990',
|
|
|
|
|
annual: '$174.990',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
PEN: {
|
|
|
|
|
symbol: 'S/',
|
|
|
|
|
student: {
|
|
|
|
|
monthly: 'S/ 16',
|
|
|
|
|
annual: 'S/ 159',
|
|
|
|
|
},
|
|
|
|
|
personal: {
|
|
|
|
|
monthly: 'S/ 26',
|
|
|
|
|
annual: 'S/ 239',
|
|
|
|
|
},
|
|
|
|
|
collaborator: {
|
|
|
|
|
monthly: 'S/ 39',
|
|
|
|
|
annual: 'S/ 369',
|
|
|
|
|
},
|
|
|
|
|
professional: {
|
|
|
|
|
monthly: 'S/ 76',
|
|
|
|
|
annual: 'S/ 729',
|
|
|
|
|
},
|
|
|
|
|
},
|
2021-04-27 03:52:58 -04:00
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
}
|
|
|
|
|
})
|