\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Navbar.vue?vue&type=template&id=26514d18&scoped=true\"\nimport script from \"./Navbar.vue?vue&type=script&lang=js\"\nexport * from \"./Navbar.vue?vue&type=script&lang=js\"\nimport style0 from \"./Navbar.vue?vue&type=style&index=0&id=26514d18&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26514d18\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('button',_vm._g(_vm._b({},'button',_vm.$attrs,false),_vm.$listeners),[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./SmartButton.vue?vue&type=template&id=b66e786c\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/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 config from \"../../public/config.json\";\r\n\r\nvar CookieCivic = {\r\n\tapiKey: \"8595816423d6dcc9e2c24b63ee5a52b7ace4364c\",\r\n\tproduct: \"PRO_MULTISITE\",\r\n\tmode: \"gdpr\",\r\n\tsubDomains: true,\r\n\tinitialState: \"notify\",\r\n\tposition: \"left\",\r\n\tcloseStyle: \"button\",\r\n\tsettingsStyle: \"link\",\r\n\trejectButton: true,\r\n\tconsentCookieExpiry: 90,\r\n\tlogConsent: true,\r\n\ttheme: \"dark\",\r\n\tbranding: {\r\n\t\tfontFamily: \"Inter\",\r\n\t\tfontSizeTitle: \"20px\",\r\n\t\tfontSizeHeaders: \"15px\",\r\n\t\tfontSize: \"15px\",\r\n\t\tfontSizeIntro: \"15px\",\r\n\t\tbackgroundColor: \"#0091EA\",\r\n\t\ttoggleText: \"#fff\",\r\n\t\ttoggleColor: \"#0091EA\",\r\n\t\ttoggleBackground: \"#3c3c3b\",\r\n\t\tremoveIcon: true,\r\n\t\tremoveAbout: true\r\n\t},\r\n\ttext: {\r\n\t\ttitle: \"This site uses cookies in order to work.\",\r\n\t\tintro: \"Some of these cookies are essential, while others help us to improve your experience by providing insights into how the site is being used. We won\\\"t set optional cookies unless you enable them. Using this tool will set a cookie on your device to remember your preferences.\",\r\n\t\taccept: \"I Agree\",\r\n\t\tacceptSettings: \"Accept Recommended Settings\",\r\n\t\treject: \"I Do Not Agree\",\r\n\t\trejectSettings: \"I Do Not Agree\",\r\n\t\tsettings: \"Settings\",\r\n\t\tcloseLabel: \"Save and close\",\r\n\t\tnecessaryTitle: \"Strictly necessary cookies\",\r\n\t\tnecessaryDescription: \"Necessary cookies enable core functionality such as security, network management and accessibility. You may disable these by changing your browser settings, but this may affect your ability to use the WPA website.\",\r\n\t\tnotifyTitle: \"Your choice regarding cookies on this site\",\r\n\t\tnotifyDescription: \"We use cookies to give you the best online experience. Please let us know if you agree to all of these cookies.\",\r\n\t\tthirdPartyTitle: \"Warning: Some cookies require your attention\",\r\n thirdPartyDescription: \"Consent for some third party cookies can not be automatically revoked. Please follow the link below if you want to opt out of them.\"\r\n\t},\r\n\tstatement: {\r\n\t\tdescription: \"For more detailed information about the cookies we use, please see our\",\r\n\t\tname: \"Privacy Policy\",\r\n\t\turl: \"https://www.wpa.org.uk/privacy-statement\",\r\n\t\tupdated: \"06/12/2019\"\r\n\t},\r\n\tnecessaryCookies: [\"CookieControl\", \"ClientVars\", \"ASP.NET_SessionId\", \"LoginCookie\", \"WPA.Session\", \"WPA.AntiForgeryToken\", \"WPA.AntiForgeryToken.CashBenefit\", \"WPA.Session.CashBenefit\", \"WPA.ClaimEntryPoint\", \"BNES_*\", \"BNI_persistence\", \"WPA.Auth\", \".AspNetCore.Antiforgery.hPKzgbBiGDA\"],\r\n optionalCookies: [\r\n\t\t{\r\n\t\t\tname: \"analytics\",\r\n\t\t\tlabel: \"Analytics cookies\",\r\n\t\t\tdescription: \"Analytical cookies, including Google Analytics, help us to improve our website by collecting and reporting information on how you use it. The cookies collect information in a way that does not directly identify an individual. For more information on how these cookies work, please see our Privacy Policy.\",\r\n\t\t\tcookies: [\"_ga\", \"_ga*\", \"ai_session\", \"ai_user\"],\r\n\t recommendedState: true,\r\n\t\t\tonAccept : function() {\r\n\t\t\t\t// ENABLE APPLICATION INSIGHTS\r\n !(function (cfg){function e(){cfg.onInit&&cfg.onInit(n)}var x,w,D,t,E,n,C=window,O=document,b=C.location,q=\"script\",I=\"ingestionendpoint\",L=\"disableExceptionTracking\",j=\"ai.device.\";\"instrumentationKey\"[x=\"toLowerCase\"](),w=\"crossOrigin\",D=\"POST\",t=\"appInsightsSDK\",E=cfg.name||\"appInsights\",(cfg.name||C[t])&&(C[t]=E),n=C[E]||function(g){var f=!1,m=!1,h={initialize:!0,queue:[],sv:\"8\",version:2,config:g};function v(e,t){var n={},i=\"Browser\";function a(e){e=\"\"+e;return 1===e.length?\"0\"+e:e}return n[j+\"id\"]=i[x](),n[j+\"type\"]=i,n[\"ai.operation.name\"]=b&&b.pathname||\"_unknown_\",n[\"ai.internal.sdkVersion\"]=\"javascript:snippet_\"+(h.sv||h.version),{time:(i=new Date).getUTCFullYear()+\"-\"+a(1+i.getUTCMonth())+\"-\"+a(i.getUTCDate())+\"T\"+a(i.getUTCHours())+\":\"+a(i.getUTCMinutes())+\":\"+a(i.getUTCSeconds())+\".\"+(i.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+\"Z\",iKey:e,name:\"Microsoft.ApplicationInsights.\"+e.replace(/-/g,\"\")+\".\"+t,sampleRate:100,tags:n,data:{baseData:{ver:2}},ver:undefined,seq:\"1\",aiDataContract:undefined}}var n,i,t,a,y=-1,T=0,S=[\"js.monitor.azure.com\",\"js.cdn.applicationinsights.io\",\"js.cdn.monitor.azure.com\",\"js0.cdn.applicationinsights.io\",\"js0.cdn.monitor.azure.com\",\"js2.cdn.applicationinsights.io\",\"js2.cdn.monitor.azure.com\",\"az416426.vo.msecnd.net\"],o=g.url||cfg.src,r=function(){return s(o,null)};function s(d,t){if((n=navigator)&&(~(n=(n.userAgent||\"\").toLowerCase()).indexOf(\"msie\")||~n.indexOf(\"trident/\"))&&~d.indexOf(\"ai.3\")&&(d=d.replace(/(\\/)(ai\\.3\\.)([^\\d]*)$/,function(e,t,n){return t+\"ai.2\"+n})),!1!==cfg.cr)for(var e=0;e {\r\n envelope.tags[\"ai.cloud.role\"] = config.applicationInsights.role\r\n }\r\n sdk.addTelemetryInitializer(telemetryInitializer)\r\n },\r\n crossOrigin: \"anonymous\",\r\n cfg: {\r\n connectionString: config.applicationInsights.connectionString,\r\n enableAutoRouteTracking: true,\r\n enableAjaxErrorStatusText: true,\r\n enableUnhandledPromiseRejectionTracking: true,\r\n cookieDomain: \".wpa.org.uk\",\r\n disableCookiesUsage: false,\r\n disableTelemetry: false,\r\n autoTrackPageVisitTime: true,\r\n loggingLevelTelemetry: 2,\r\n disablePageUnloadEvents: [ \"unload\" ]\r\n }\r\n });\r\n\t\t\t\t// END APPLICATION INSIGHTS\r\n\t\t\t},\r\n onRevoke: function() {\r\n\t\t\t\t// DISABLE APPLICATION INSIGHTS\r\n !(function (cfg){function e(){cfg.onInit&&cfg.onInit(n)}var x,w,D,t,E,n,C=window,O=document,b=C.location,q=\"script\",I=\"ingestionendpoint\",L=\"disableExceptionTracking\",j=\"ai.device.\";\"instrumentationKey\"[x=\"toLowerCase\"](),w=\"crossOrigin\",D=\"POST\",t=\"appInsightsSDK\",E=cfg.name||\"appInsights\",(cfg.name||C[t])&&(C[t]=E),n=C[E]||function(g){var f=!1,m=!1,h={initialize:!0,queue:[],sv:\"8\",version:2,config:g};function v(e,t){var n={},i=\"Browser\";function a(e){e=\"\"+e;return 1===e.length?\"0\"+e:e}return n[j+\"id\"]=i[x](),n[j+\"type\"]=i,n[\"ai.operation.name\"]=b&&b.pathname||\"_unknown_\",n[\"ai.internal.sdkVersion\"]=\"javascript:snippet_\"+(h.sv||h.version),{time:(i=new Date).getUTCFullYear()+\"-\"+a(1+i.getUTCMonth())+\"-\"+a(i.getUTCDate())+\"T\"+a(i.getUTCHours())+\":\"+a(i.getUTCMinutes())+\":\"+a(i.getUTCSeconds())+\".\"+(i.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+\"Z\",iKey:e,name:\"Microsoft.ApplicationInsights.\"+e.replace(/-/g,\"\")+\".\"+t,sampleRate:100,tags:n,data:{baseData:{ver:2}},ver:undefined,seq:\"1\",aiDataContract:undefined}}var n,i,t,a,y=-1,T=0,S=[\"js.monitor.azure.com\",\"js.cdn.applicationinsights.io\",\"js.cdn.monitor.azure.com\",\"js0.cdn.applicationinsights.io\",\"js0.cdn.monitor.azure.com\",\"js2.cdn.applicationinsights.io\",\"js2.cdn.monitor.azure.com\",\"az416426.vo.msecnd.net\"],o=g.url||cfg.src,r=function(){return s(o,null)};function s(d,t){if((n=navigator)&&(~(n=(n.userAgent||\"\").toLowerCase()).indexOf(\"msie\")||~n.indexOf(\"trident/\"))&&~d.indexOf(\"ai.3\")&&(d=d.replace(/(\\/)(ai\\.3\\.)([^\\d]*)$/,function(e,t,n){return t+\"ai.2\"+n})),!1!==cfg.cr)for(var e=0;e\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
You have been inactive for 10 minutes and will be logged off in {{ timeLeft }} seconds. Please press OK if you wish to continue.
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3bc4591e\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=3bc4591e&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/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 'bootstrap'\r\n\r\nimport App from './App.vue'\r\nimport Vue from 'vue'\r\nimport router from './router'\r\nimport store from './store'\r\n\r\nVue.config.productionTip = false\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n beforeCreate() {\r\n\t\tthis.$store.commit('initialiseStore');\r\n\t},\r\n render: h => h(App)\r\n}).$mount('#app')\r\n","import router from '../router'\r\n\r\nconst refreshTokenExpirationOffsetMinutes = 25;\r\nexport function logout(redirectUrl, redirect = true) {\r\n clearRefreshToken();\r\n clearRefreshTokenExpirationDate();\r\n clearAccessToken();\r\n if (redirect) {\r\n document.location.href = redirectUrl\r\n }\r\n}\r\n\r\nexport function getRefreshToken() {\r\n return localStorage.getItem('REFRESH_TOKEN');\r\n}\r\n\r\nexport function getRefreshTokenExpirationDate() {\r\n var date = localStorage.getItem('REFRESH_TOKEN_EXPIRATION')\r\n return date ? new Date(parseInt(date)) : null;\r\n}\r\n\r\nfunction clearRefreshToken() {\r\n localStorage.removeItem('REFRESH_TOKEN');\r\n}\r\n\r\nfunction clearRefreshTokenExpirationDate() {\r\n localStorage.removeItem('REFRESH_TOKEN_EXPIRATION');\r\n}\r\n\r\nfunction clearAccessToken() {\r\n localStorage.removeItem('ACCESS_TOKEN');\r\n}\r\n\r\nexport function getReturnUrlParameter(name) {\r\n return decodeURIComponent((new RegExp('[?|&|#]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [null, ''])[1].replace(/\\+/g, '%20')) || null;\r\n}\r\n\r\nexport function getTokenParameter(name) {\r\n return decodeURIComponent((new RegExp('[?|&|#]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.hash) || [null, ''])[1].replace(/\\+/g, '%20')) || null;\r\n }\r\n\r\nexport function setRefreshToken(refreshToken) {\r\n localStorage.setItem('REFRESH_TOKEN', refreshToken);\r\n localStorage.setItem('REFRESH_TOKEN_EXPIRATION', getNewRefreshTokenExpirationDate().getTime().toString());\r\n}\r\n\r\nfunction getNewRefreshTokenExpirationDate() {\r\n const date = new Date();\r\n date.setMinutes(date.getMinutes() + refreshTokenExpirationOffsetMinutes);\r\n return date;\r\n}\r\n\r\nfunction getTokenExpirationDate(encodedToken) {\r\n const token = encodedToken;\r\n if (!token.exp) {\r\n return null;\r\n }\r\n const date = new Date(0);\r\n date.setUTCSeconds(token.exp - 60); // 1 minute before token get expired\r\n return date;\r\n}\r\n\r\nexport function isTokenExpired(token) {\r\n const expirationDate = getTokenExpirationDate(token);\r\n\r\n var now = new Date();\r\n var utc_timestamp = Date.UTC(now.getUTCFullYear(),now.getUTCMonth(), now.getUTCDate(), \r\n now.getUTCHours(), now.getUTCMinutes(), now.getUTCSeconds(), now.getUTCMilliseconds())\r\n\r\n return expirationDate < utc_timestamp;\r\n}\r\n\r\nexport function parseJwt(token) {\r\n var base64Url = token.split('.')[1];\r\n var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');\r\n var jsonPayload = decodeURIComponent(atob(base64).split('').map(function(c) {\r\n return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);\r\n }).join(''));\r\n\r\n return JSON.parse(jsonPayload);\r\n};","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('button',{staticClass:\"ui__button\",class:_vm.type,attrs:{\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.$emit('click')}}},[_vm._v(\" \"+_vm._s(_vm.text)+\" \"),(_vm.icon)?_c('img',{staticClass:\"ui__button-icon\",attrs:{\"src\":_vm.icon}}):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../Web.MQL/node_modules/thread-loader/dist/cjs.js!../../Web.MQL/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../Web.MQL/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UIButton.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../Web.MQL/node_modules/thread-loader/dist/cjs.js!../../Web.MQL/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../Web.MQL/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UIButton.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UIButton.vue?vue&type=template&id=4b30371a\"\nimport script from \"./UIButton.vue?vue&type=script&lang=js\"\nexport * from \"./UIButton.vue?vue&type=script&lang=js\"\nimport style0 from \"./UIButton.vue?vue&type=style&index=0&id=4b30371a&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../Web.MQL/node_modules/@vue/vue-loader-v15/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('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showLoader),expression:\"showLoader\"}],staticClass:\"main-loader\"},[_c('div',{staticClass:\"dot-loader\"}),_c('div',{staticClass:\"dot-loader\"}),_c('div',{staticClass:\"dot-loader\"})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n