{"version":3,"sources":["webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./node_modules/core-js/modules/es.string.ends-with.js","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./src/views/Subscription/Subscription.vue?016a","webpack:///./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","webpack:///./src/views/Subscription/Subscription.vue","webpack:///./src/views/Subscription/Subscription.vue?e9ee","webpack:///./src/views/Subscription/Subscription.vue?8fdd","webpack:///./src/views/Subscription/Subscription.vue?cde7","webpack:///./src/util/formatDate.ts"],"names":["isRegExp","module","exports","it","TypeError","$","getOwnPropertyDescriptor","f","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","$endsWith","endsWith","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","call","slice","wellKnownSymbol","MATCH","METHOD_NAME","regexp","error1","error2","render","_vm","_h","$createElement","_c","_self","currentUser","subscription","staticClass","attrs","on","back","_v","logoUri","sportLocationName","_e","_s","address","postalCode","city","subscriptionId","_l","article","index","key","description","explanation","Intl","NumberFormat","style","currency","format","pricePerMonth","showExpensiveSubscriptionWarning","isIntake","projectName","projectExpensiveSubscriptionCheckThreshold","subscriptionStartDate","subscriptionEndDate","durationInMonths","registration","subscriptionStatus","declinedReason","cancellationProcessDate","cancellationDate","isAutoRenewal","subscriptionMinimumEndDate","suspendedFrom","covidSuspensionStatusIsProcessed","suspendedComments","subsciptionIsSuspended","isSuspensionExceedsSixMonths","suspendFromDate","suspendToDate","name","$event","preventDefault","$router","push","projectInformation","registrationFlowLoginUri","staticRenderFns","_createForOfIteratorHelper","o","allowArrayLike","Symbol","iterator","Array","isArray","unsupportedIterableToArray","i","F","s","n","done","value","e","err","normalCompletion","didErr","step","next","_e2","Subscription","_Vue","_inherits","_super","_createSuper","_classCallCheck","apply","_createClass","get","_this$subscription","covidSuspensionStatus","CovidSuspensionStatus","Processed","_this$subscription2","SubscriptionStatus","Suspended","_this$subscription3","$store","state","subscriptionDetails","_this$currentUser$pro","_this$currentUser$pro2","expensiveSubscriptionCheckThreshold","_this$currentUser","_this$currentUser$sub","covidSuspensionDate","formatDate","_this$subscription4","date","Date","endDate","toLocaleDateString","day","month","year","_this$subscription5","startDate","_this$subscription6","minimumEndDate","_this$subscription7","_this$subscription8","suspendedTo","_this$subscription9","_this$subscription10","dateTo","dateFrom","temp","getTime","maxEnd","setMonth","getMonth","_this$subscription11","_this$subscription12","_this$subscription13","diff","abs","endDateBeforeLockdown","_this$subscription14","_this$subscription15","_this$currentUser$sub2","Active","_this$currentUser2","hasActiveSubscription","_this$subscription16","_this$subscription17","_this$subscription18","articles","_this$subscription19","_step","_iterator","_article$code","code","Vue","__decorate","Component","components","Content","Toolbar","methods","component","objDate","getFullYear","months","concat","getDate"],"mappings":"qGAAA,IAAIA,EAAW,EAAQ,QAEvBC,EAAOC,QAAU,SAAUC,GACzB,GAAIH,EAASG,GACX,MAAMC,UAAU,iDAChB,OAAOD,I,oCCJX,IAAIE,EAAI,EAAQ,QACZC,EAA2B,EAAQ,QAAmDC,EACtFC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAa,EAAQ,QACrBC,EAAyB,EAAQ,QACjCC,EAAuB,EAAQ,QAC/BC,EAAU,EAAQ,QAGlBC,EAAY,GAAGC,SACfC,EAAMC,KAAKD,IAEXE,EAA0BN,EAAqB,YAE/CO,GAAoBN,IAAYK,KAA6B,WAC/D,IAAIE,EAAad,EAAyBe,OAAOC,UAAW,YAC5D,OAAOF,IAAeA,EAAWG,SAF8B,GAOjElB,EAAE,CAAEmB,OAAQ,SAAUC,OAAO,EAAMC,QAASP,IAAqBD,GAA2B,CAC1FH,SAAU,SAAkBY,GAC1B,IAAIC,EAAOnB,EAASE,EAAuBkB,OAC3CnB,EAAWiB,GACX,IAAIG,EAAcC,UAAUC,OAAS,EAAID,UAAU,QA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PvG,GAAgB,EAIpB,GAAqB,QAArBuG,EAAIpK,KAAKuB,oBAAY,IAAA6I,GAAjBA,EAAmBC,SAAU,KAAAC,EACkBC,EADlBC,EAAA1F,EACQ,QADRwF,EACTtK,KAAKuB,oBAAY,IAAA+I,OAAA,EAAjBA,EAAmBD,UAAQ,IAAjD,IAAAG,EAAAhF,MAAA+E,EAAAC,EAAA/E,KAAAC,MAAmD,KAAA+E,EAAxCnI,EAAOiI,EAAA5E,MACA,QAAhB8E,EAAInI,EAAQoI,YAAI,IAAAD,GAAZA,EAAcvL,SAAS,QACzB2E,GAAgB,IAEnB,MAAAgC,GAAA2E,EAAA5E,EAAAC,GAAA,QAAA2E,EAAA9L,KAGH,OAAOmF,IACR,CAAArB,IAAA,OAAAmD,MAEM,WACL3F,KAAKyE,QAAQC,KAAK,CAAEJ,KAAM,kBAC3B6B,EArK8B,CAASwE,cAArBxE,EAAYyE,eAAA,CAThCC,eAAU,CACTC,WAAY,CACVC,eACAC,gBAEFC,QAAS,CACPpD,sBAGiB1B,WCxNoY,I,wBCQrZ+E,EAAY,eACd,EACAlK,EACA6D,GACA,EACA,KACA,WACA,MAIa,aAAAqG,E,2CCnBf,W,8ECAM,SAAUrD,EAAYE,GAC1B,GAAa,KAATA,EACF,OAAOA,EAGT,IAAMoD,EAAU,IAAInD,KAAKD,GACzB,IAAKoD,EACH,OAAOpD,EAET,GAA8B,IAA1BoD,EAAQC,cACV,MAAO,GAET,IAAMC,EAAS,CACb,UACA,WACA,QACA,QACA,MACA,OACA,OACA,WACA,YACA,UACA,WACA,YAEF,MAAO,GAAPC,OAAUH,EAAQI,UAAS,KAAAD,OAAID,EAAOF,EAAQ9B,YAAW,KAAAiC,OAAIH,EAAQC","file":"js/chunk-6f489650.794e4fad.js","sourcesContent":["var isRegExp = require('../internals/is-regexp');\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar $endsWith = ''.endsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentUser && _vm.subscription)?_c('div',{staticClass:\"view view--toolbar\"},[_c('Toolbar',{attrs:{\"hasCustomCallback\":true},on:{\"back\":_vm.back}},[_c('h2',{},[_vm._v(\"Mijn abonnement\")])]),_c('Content',[_c('h3',[_vm._v(\"Sportlocatie\")]),(_vm.subscription.logoUri)?_c('figure',{staticClass:\"logo\"},[_c('img',{attrs:{\"src\":_vm.subscription.logoUri,\"alt\":_vm.subscription.sportLocationName}})]):_vm._e(),_c('p',{staticClass:\"paragraph\"},[_c('strong',[_vm._v(_vm._s(_vm.subscription.sportLocationName))]),_c('br'),(_vm.subscription.address)?[_vm._v(\" \"+_vm._s(_vm.subscription.address)),_c('br')]:_vm._e(),_vm._v(\" \"+_vm._s(_vm.subscription.postalCode)+\" \"+_vm._s(_vm.subscription.city)+\" \")],2),(_vm.subscription.subscriptionId)?[_c('h3',[_vm._v(\"Abonnementsnummer\")]),_c('p',{staticClass:\"paragraph\"},[_vm._v(\" \"+_vm._s(_vm.subscription.subscriptionId)+\" \")])]:_vm._e(),_c('h3',[_vm._v(\"Abonnement\")]),_vm._l((_vm.subscription.articles),function(article,index){return _c('div',{key:(\"subscription-article-\" + index),staticClass:\"subscription-article\"},[_c('div',[_vm._v(_vm._s(article.description))]),(article.explanation)?_c('AlertInfo',[_vm._v(\" \"+_vm._s(article.explanation)+\" \")]):_vm._e(),(article.pricePerMonth)?_c('div',[_vm._v(\" \"+_vm._s(new Intl.NumberFormat(\"nl-NL\", { style: \"currency\", currency: \"EUR\", }).format(article.pricePerMonth))+\" \"),(article.durationInMonths)?_c('span',[_vm._v(\"per maand\")]):_vm._e()]):_vm._e(),(_vm.subscription.showExpensiveSubscriptionWarning && article.isIntake === false && article.pricePerMonth)?_c('AlertInfo',[_vm._v(\" Let op: Je hebt nu een abonnement van \"+_vm._s(new Intl.NumberFormat(\"nl-NL\", { style: \"currency\", currency: \"EUR\", }).format(article.pricePerMonth))+\". Volgens de voorwaarden van je werkgever \"+_vm._s(_vm.projectName)+\" worden abonnementen boven het bedrag van \"+_vm._s(new Intl.NumberFormat(\"nl-NL\", { style: \"currency\", currency: \"EUR\", }).format(_vm.projectExpensiveSubscriptionCheckThreshold || 0))+\" per maand niet met korting verrekend. Dit bedrag zal dan volledig door je werkgever ingehouden worden op je salaris. \"),_c('br'),_c('br'),_vm._v(\" Wij zullen je informeren in het geval door een prijswijziging van je sportlocatie bij een volgende verlenging het bedrag boven de \"+_vm._s(new Intl.NumberFormat(\"nl-NL\", { style: \"currency\", currency: \"EUR\", }).format(_vm.projectExpensiveSubscriptionCheckThreshold || 0))+\" komt. \")]):_vm._e()],1)}),_c('h3',[_vm._v(\"Actieve periode\")]),_c('div',[_vm._v(_vm._s(_vm.subscriptionStartDate)+\" - \"+_vm._s(_vm.subscriptionEndDate))]),_c('h3',[_vm._v(\"Looptijd\")]),_c('div',{staticClass:\"paragraph\"},[(_vm.subscription.durationInMonths)?_c('div',[_vm._v(\" \"+_vm._s(_vm.subscription.durationInMonths)+\" maanden \")]):_vm._e(),(_vm.registration && _vm.registration.subscriptionStatus === 'Declined')?_c('div',[_c('br'),_vm._v(\" Aanvraag door werkgever afgewezen \"),(_vm.registration.declinedReason)?[_vm._v(\": \"+_vm._s(_vm.registration.declinedReason))]:_vm._e()],2):(_vm.subscription.endDate)?_c('div',[(_vm.subscription.subscriptionStatus === 'Ending')?[_vm._v(\" (loopt af op \"+_vm._s(_vm.subscriptionEndDate)+\") \")]:(_vm.subscription.subscriptionStatus === 'Ended')?[_vm._v(\" (beƫindigd per \"+_vm._s(_vm.subscriptionEndDate)+\") \")]:(_vm.subscription.subscriptionStatus === 'Cancelled')?[_vm._v(\" (opgezegd vanaf \"+_vm._s(_vm.subscriptionEndDate)+\") \")]:(_vm.subscription.subscriptionStatus === 'Expires')?[_vm._v(\" (abonnement verloopt binnenkort) \")]:(_vm.subscription.cancellationDate)?[_vm._v(\" (abonnement wordt op \"+_vm._s(_vm.cancellationProcessDate)+\" definitief opgezegd voor einddatum \"+_vm._s(_vm.cancellationDate)+\") \")]:(_vm.isAutoRenewal() === true)?[_vm._v(\" (abonnement wordt automatisch verlengd op \"+_vm._s(_vm.subscriptionEndDate)+\") \")]:_vm._e()],2):_vm._e(),(_vm.subscription.minimumEndDate)?[_c('br'),_vm._v(\" Contract vast t/m: \"+_vm._s(_vm.subscriptionMinimumEndDate)+\" \")]:_vm._e()],2),(_vm.subscription.suspendedFrom && _vm.covidSuspensionStatusIsProcessed && _vm.subscription.suspendedComments && !_vm.subsciptionIsSuspended)?[_c('h3',[_vm._v(\"Abonnement opgeschort\")]),_c('div',{staticClass:\"paragraph\"},[(_vm.subscription.suspendedComments)?[_vm._v(\"Reden: \"+_vm._s(_vm.subscription.suspendedComments)),_c('br')]:_vm._e()],2)]:(_vm.subscription.suspendedFrom && _vm.subsciptionIsSuspended)?[_c('h3',[_vm._v(\"Abonnement opgeschort\")]),_c('div',{staticClass:\"paragraph\"},[(_vm.subscription.suspendedComments)?[_vm._v(\"Reden: \"+_vm._s(_vm.subscription.suspendedComments)),_c('br')]:_vm._e(),(!_vm.isSuspensionExceedsSixMonths)?_c('span',[_vm._v(\" Periode: Van \"+_vm._s(_vm.suspendFromDate)+\" tot \"+_vm._s(_vm.suspendToDate)+\". \")]):_vm._e(),(_vm.isSuspensionExceedsSixMonths)?_c('span',[_vm._v(\" Het is helaas niet mogelijk om een opschorting van langer dan 6 maanden online aan te vragen, neem contact op met klantenservice via dit \"),_c('router-link',{staticClass:\"link\",attrs:{\"to\":{ name: 'help'}}},[_c('span',[_vm._v(\"contactformulier\")])]),_vm._v(\" zodat wij je verder kunnen helpen. \")],1):_vm._e()],2),(!_vm.isSuspensionExceedsSixMonths)?_c('a',{staticClass:\"link link--button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$router.push({ name: 'updateSubscriptionSuspension' })}}},[_c('font-awesome-icon',{attrs:{\"icon\":['fal', 'pencil']}}),_vm._v(\" Opschorting aanpassen\")],1):_vm._e()]:_vm._e(),_c('div',[(_vm.canEditSubscription)?_c('a',{staticClass:\"link link--button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$router.push({ name: 'subscriptionActions' })}}},[_c('font-awesome-icon',{attrs:{\"icon\":['fal', 'pencil']}}),_vm._v(\" Abonnement aanpassen\")],1):_vm._e(),(_vm.subscriptionExpires)?_c('a',{staticClass:\"link link--button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$router.push({ name: 'subscriptionExpires' })}}},[_c('font-awesome-icon',{attrs:{\"icon\":['fal', 'pencil']}}),_vm._v(\" Abonnement aanpassen\")],1):_vm._e(),(_vm.currentUser.projectInformation.registrationFlowLoginUri && false)?_c('div',[_c('a',{staticClass:\"link link--button\",attrs:{\"href\":_vm.currentUser.projectInformation.registrationFlowLoginUri,\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_c('font-awesome-icon',{attrs:{\"icon\":['fal', 'external-link']}}),_vm._v(\" Abonnement toevoegen \")],1),(_vm.canEditSubscription)?_c('p',{staticClass:\"description\"},[_vm._v(\" Let op: het gaat hierbij om het afsluiten van een geheel nieuw abonnement. Voor het wijzigen of een toevoeging op een bestaand abonnement klik je op 'Abonnement aanpassen'. \")]):_c('p',{staticClass:\"description\"},[_vm._v(\" Let op: het gaat hierbij om het afsluiten van een geheel nieuw abonnement. \")])]):_vm._e()])],2)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport Component from 'vue-class-component'\r\nimport { User } from '@/types'\r\n\r\nimport Content from '@/components/Content.vue'\r\nimport Toolbar from '@/components/Layout/Toolbar.vue'\r\nimport { CovidSuspensionStatus, SubscriptionStatus } from '@/api'\r\nimport { formatDate } from '@/util/formatDate'\r\n\r\n@Component({\r\n components: {\r\n Content,\r\n Toolbar\r\n },\r\n methods: {\r\n formatDate\r\n }\r\n})\r\nexport default class Subscription extends Vue {\r\n get covidSuspensionStatusIsProcessed () {\r\n return this.subscription?.covidSuspensionStatus === CovidSuspensionStatus.Processed\r\n }\r\n\r\n get subsciptionIsSuspended () {\r\n return this.subscription?.subscriptionStatus === SubscriptionStatus.Suspended\r\n }\r\n\r\n get subscriptionExpires () {\r\n return this.subscription?.subscriptionStatus === 'Expires'\r\n }\r\n\r\n get currentUser (): User {\r\n return this.$store.state.currentUser\r\n }\r\n\r\n get subscription () {\r\n return this.currentUser.subscriptionDetails\r\n }\r\n\r\n get registration () {\r\n return this.currentUser.registration\r\n }\r\n\r\n get projectName () {\r\n return this.currentUser.projectInformation?.name\r\n }\r\n\r\n get projectExpensiveSubscriptionCheckThreshold () {\r\n return this.currentUser.projectInformation?.expensiveSubscriptionCheckThreshold\r\n }\r\n\r\n getSuspendedDate () {\r\n if (this.currentUser?.subscriptionDetails?.covidSuspensionDate) {\r\n return formatDate(this.currentUser.subscriptionDetails.covidSuspensionDate)\r\n }\r\n }\r\n\r\n get subscriptionEndDate () {\r\n const date = new Date(this.subscription?.endDate || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get subscriptionStartDate () {\r\n const date = new Date(this.subscription?.startDate || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get subscriptionMinimumEndDate () {\r\n const date = new Date(this.subscription?.minimumEndDate || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get suspendFromDate () {\r\n const date = new Date(this.subscription?.suspendedFrom || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get suspendToDate () {\r\n const date = new Date(this.subscription?.suspendedTo || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get isSuspensionExceedsSixMonths () {\r\n const dateTo = new Date(this.subscription?.suspendedTo || '')\r\n const dateFrom = new Date(this.subscription?.suspendedFrom || '')\r\n\r\n const day = (3600 * 24)\r\n const temp = new Date(dateFrom.getTime() - day)\r\n const maxEnd = new Date(temp.setMonth(temp.getMonth() + 6))\r\n\r\n if (maxEnd.getTime() > dateTo.getTime()) {\r\n return false\r\n }\r\n\r\n return true\r\n }\r\n\r\n get subscriptionEndDateBeforeLockdown () {\r\n const suspendFromDate = new Date(this.subscription?.suspendedFrom || '')\r\n const suspendToDate = new Date(this.subscription?.suspendedTo || '')\r\n const endDate = new Date(this.subscription?.endDate || '')\r\n const diff = Math.abs(suspendFromDate.getTime() - suspendToDate.getTime())\r\n const endDateBeforeLockdown = new Date(endDate.getTime() - diff)\r\n return endDateBeforeLockdown.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get cancellationDate () {\r\n const date = new Date(this.subscription?.cancellationDate || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get cancellationProcessDate () {\r\n const date = new Date(this.subscription?.cancellationProcessDate || '')\r\n return date.toLocaleDateString('nl-NL', {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric'\r\n })\r\n }\r\n\r\n get hasActiveSubscription () {\r\n return (\r\n this.currentUser.subscription?.subscriptionStatus ===\r\n SubscriptionStatus.Active\r\n )\r\n }\r\n\r\n get canEditSubscription () {\r\n return this.currentUser?.subscription && this.hasActiveSubscription\r\n }\r\n\r\n getCovidSuspensionDate () {\r\n if (this.subscription?.covidSuspensionDate) {\r\n return formatDate(this.subscription?.covidSuspensionDate)\r\n }\r\n }\r\n\r\n isAutoRenewal () {\r\n let isAutoRenewal = true\r\n\r\n // Supress auto renewal text for Workit free trial period articles.\r\n // These articles end with a \".Z\" code.\r\n if (this.subscription?.articles) {\r\n for (const article of this.subscription?.articles) {\r\n if (article.code?.endsWith('.Z')) {\r\n isAutoRenewal = false\r\n }\r\n }\r\n }\r\n\r\n return isAutoRenewal\r\n }\r\n\r\n public back () {\r\n this.$router.push({ name: 'dashboard' })\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Subscription.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Subscription.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Subscription.vue?vue&type=template&id=7bf68ce6&scoped=true&\"\nimport script from \"./Subscription.vue?vue&type=script&lang=ts&\"\nexport * from \"./Subscription.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Subscription.vue?vue&type=style&index=0&id=7bf68ce6&prod&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 \"7bf68ce6\",\n null\n \n)\n\nexport default component.exports","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!./Subscription.vue?vue&type=style&index=0&id=7bf68ce6&prod&lang=scss&scoped=true&\"","export function formatDate (date: string) {\r\n if (date === '') {\r\n return date\r\n }\r\n\r\n const objDate = new Date(date)\r\n if (!objDate) {\r\n return date\r\n }\r\n if (objDate.getFullYear() === 1) {\r\n return ''\r\n }\r\n const months = [\r\n 'januari',\r\n 'februari',\r\n 'maart',\r\n 'april',\r\n 'mei',\r\n 'juni',\r\n 'juli',\r\n 'augustus',\r\n 'september',\r\n 'oktober',\r\n 'november',\r\n 'december'\r\n ]\r\n return `${objDate.getDate()} ${months[objDate.getMonth()]} ${objDate.getFullYear()}`\r\n}\r\n"],"sourceRoot":""}