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
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
}
|
|
|
|
})
|