CINXE.COM
European Multiple Sclerosis Platform : EUR Donation Page
<!DOCTYPE html> <!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]--> <!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]--> <!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <title>European Multiple Sclerosis Platform : EUR Donation Page</title> <!-- Funraisin.co v4.1 //--> <meta charset="utf-8"> <meta http-equiv="cleartype" content="on"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"594502910",accountID:"757897",trustKey:"757897",xpid:"UwMAWV9UGwYDXFJVBQQBVQ==",licenseKey:"dda4cd03b6",applicationID:"538372563"};;/*! For license information please see nr-loader-spa-1.274.0.min.js.LICENSE.txt */ (()=>{var e,t,r={8122:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(944);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(let a in o)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):"object"==typeof e[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},2555:(e,t,r)=>{"use strict";r.d(t,{Vp:()=>c,fn:()=>s,x1:()=>u});var n=r(384),i=r(8122);const o={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0},a={};function s(e){try{const t=c(e);return!!t.licenseKey&&!!t.errorBeacon&&!!t.applicationID}catch(e){return!1}}function c(e){if(!e)throw new Error("All info objects require an agent identifier!");if(!a[e])throw new Error("Info for ".concat(e," was never set"));return a[e]}function u(e,t){if(!e)throw new Error("All info objects require an agent identifier!");a[e]=(0,i.a)(t,o);const r=(0,n.nY)(e);r&&(r.info=a[e])}},9417:(e,t,r)=>{"use strict";r.d(t,{D0:()=>h,gD:()=>g,xN:()=>p});var n=r(993);const i=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var o=r(2614),a=r(944),s=r(384),c=r(8122);const u="[data-nr-mask]",d=()=>{const e={mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,harvestTimeSeconds:10,autoStart:!0},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},feature_flags:[],generic_events:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},harvest:{tooManyRequestsDelay:60},jserrors:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},logging:{enabled:!0,harvestTimeSeconds:10,autoStart:!0,level:n.p_.INFO},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:o.wk,inactiveMs:o.BB},session_replay:{autoStart:!0,enabled:!1,harvestTimeSeconds:60,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){i(t)?e.mask_selector="".concat(t,",").concat(u):""===t||null===t?e.mask_selector=u:(0,a.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){i(t)?e.block_selector+=",".concat(t):""!==t&&(0,a.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,a.R)(7,t)}},session_trace:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},soft_navigations:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},spa:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},ssl:void 0,user_actions:{enabled:!0}}},l={},f="All configuration objects require an agent identifier!";function h(e){if(!e)throw new Error(f);if(!l[e])throw new Error("Configuration for ".concat(e," was never set"));return l[e]}function p(e,t){if(!e)throw new Error(f);l[e]=(0,c.a)(t,d());const r=(0,s.nY)(e);r&&(r.init=l[e])}function g(e,t){if(!e)throw new Error(f);var r=h(e);if(r){for(var n=t.split("."),i=0;i<n.length-1;i++)if("object"!=typeof(r=r[n[i]]))return;r=r[n[n.length-1]]}return r}},5603:(e,t,r)=>{"use strict";r.d(t,{a:()=>c,o:()=>s});var n=r(384),i=r(8122);const o={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},a={};function s(e){if(!e)throw new Error("All loader-config objects require an agent identifier!");if(!a[e])throw new Error("LoaderConfig for ".concat(e," was never set"));return a[e]}function c(e,t){if(!e)throw new Error("All loader-config objects require an agent identifier!");a[e]=(0,i.a)(t,o);const r=(0,n.nY)(e);r&&(r.loader_config=a[e])}},3371:(e,t,r)=>{"use strict";r.d(t,{V:()=>f,f:()=>l});var n=r(8122),i=r(384),o=r(6154),a=r(9324);let s=0;const c={buildEnv:a.F3,distMethod:a.Xs,version:a.xv,originTime:o.WN},u={customTransaction:void 0,disabled:!1,isolatedBacklog:!1,loaderType:void 0,maxBytes:3e4,onerror:void 0,ptid:void 0,releaseIds:{},appMetadata:{},session:void 0,denyList:void 0,timeKeeper:void 0,obfuscator:void 0},d={};function l(e){if(!e)throw new Error("All runtime objects require an agent identifier!");if(!d[e])throw new Error("Runtime for ".concat(e," was never set"));return d[e]}function f(e,t){if(!e)throw new Error("All runtime objects require an agent identifier!");d[e]={...(0,n.a)(t,u),...c},Object.hasOwnProperty.call(d[e],"harvestCount")||Object.defineProperty(d[e],"harvestCount",{get:()=>++s});const r=(0,i.nY)(e);r&&(r.runtime=d[e])}},9324:(e,t,r)=>{"use strict";r.d(t,{F3:()=>i,Xs:()=>o,Yq:()=>a,xv:()=>n});const n="1.274.0",i="PROD",o="CDN",a="^2.0.0-alpha.17"},6154:(e,t,r)=>{"use strict";r.d(t,{A4:()=>s,OF:()=>d,RI:()=>i,WN:()=>h,bv:()=>o,gm:()=>a,lR:()=>f,m:()=>u,mw:()=>c,sb:()=>l});var n=r(1863);const i="undefined"!=typeof window&&!!window.document,o="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),s="complete"===a?.document?.readyState,c=Boolean("hidden"===a?.document?.visibilityState),u=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),l=d&&"undefined"==typeof SharedWorker,f=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),h=Date.now()-(0,n.t)()},7295:(e,t,r)=>{"use strict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>o});var n=[];function i(e){if(!e||o(e))return!1;if(0===n.length)return!0;for(var t=0;t<n.length;t++){var r=n[t];if("*"===r.hostname)return!1;if(s(r.hostname,e.hostname)&&c(r.pathname,e.pathname))return!1}return!0}function o(e){return void 0===e.hostname}function a(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const i=r.indexOf("/");let o,a;i>0?(o=r.substring(0,i),a=r.substring(i)):(o=r,a="");let[s]=o.split(":");n.push({hostname:s,pathname:a})}}function s(e,t){return!(e.length>t.length)&&t.indexOf(e)===t.length-e.length}function c(e,t){return 0===e.indexOf("/")&&(e=e.substring(1)),0===t.indexOf("/")&&(t=t.substring(1)),""===e||e===t}},1687:(e,t,r)=>{"use strict";r.d(t,{Ak:()=>c,Ze:()=>l,x3:()=>u});var n=r(7836),i=r(3606),o=r(860),a=r(2646);const s={};function c(e,t){const r={staged:!1,priority:o.P3[t]||0};d(e),s[e].get(t)||s[e].set(t,r)}function u(e,t){e&&s[e]&&(s[e].get(t)&&s[e].delete(t),h(e,t,!1),s[e].size&&f(e))}function d(e){if(!e)throw new Error("agentIdentifier required");s[e]||(s[e]=new Map)}function l(e="",t="feature",r=!1){if(d(e),!e||!s[e].get(t)||r)return h(e,t);s[e].get(t).staged=!0,f(e)}function f(e){const t=Array.from(s[e]);t.every((([e,t])=>t.staged))&&(t.sort(((e,t)=>e[1].priority-t[1].priority)),t.forEach((([t])=>{s[e].delete(t),h(e,t)})))}function h(e,t,r=!0){const o=e?n.ee.get(e):n.ee,s=i.i.handlers;if(!o.aborted&&o.backlog&&s){if(r){const e=o.backlog[t],r=s[t];if(r){for(let t=0;e&&t<e.length;++t)p(e[t],r);Object.entries(r).forEach((([e,t])=>{Object.values(t||{}).forEach((t=>{t[0]?.on&&t[0]?.context()instanceof a.y&&t[0].on(e,t[1])}))}))}}o.isolatedBacklog||delete s[t],o.backlog[t]=null,o.emit("drain-"+t,[])}}function p(e,t){var r=e[1];Object.values(t[r]||{}).forEach((t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],o=e[2];n.apply(i,o)}}))}},7836:(e,t,r)=>{"use strict";r.d(t,{P:()=>c,ee:()=>u});var n=r(384),i=r(8990),o=r(3371),a=r(2646),s=r(5607);const c="nr@context:".concat(s.W),u=function e(t,r){var n={},s={},d={},l=!1;try{l=16===r.length&&(0,o.f)(r).isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,o){!1!==o&&(o=!0);if(u.aborted&&!i)return;t&&o&&t.emit(e,r,n);for(var a=h(n),c=g(e),d=c.length,l=0;l<d;l++)c[l].apply(a,r);var p=v()[s[e]];p&&p.push([f,e,r,a]);return a},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach((([e,n])=>{s[n]=t,t in r||(r[t]=[])}))},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach((e=>{delete f.backlog[e]}))},isBuffering:function(e){return!!v()[s[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof a.y?e:e?(0,i.I)(e,c,(()=>new a.y(c))):new a.y(c)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return d[t]=d[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=u)},2646:(e,t,r)=>{"use strict";r.d(t,{y:()=>n});class n{constructor(e){this.contextId=e}}},9908:(e,t,r)=>{"use strict";r.d(t,{d:()=>n,p:()=>i});var n=r(7836).ee.get("handle");function i(e,t,r,i,o){o?(o.buffer([e],i),o.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(9908);o.on=a;var i=o.handlers={};function o(e,t,r,o){a(o||n.d,i,e,t,r)}function a(e,t,r,i,o){o||(o="feature"),e||(e=n.d);var a=t[o]=t[o]||{};(a[r]=a[r]||[]).push([e,i])}},3878:(e,t,r)=>{"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}function o(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>o,jT:()=>n,sp:()=>i})},5607:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});const n=(0,r(9566).bz)()},9566:(e,t,r)=>{"use strict";r.d(t,{LA:()=>s,ZF:()=>c,bz:()=>a,el:()=>u});var n=r(6154);const i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function o(e,t){return e?15&e[t]:16*Math.random()|0}function a(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),i.split("").map((e=>"x"===e?o(t,r++).toString(16):"y"===e?(3&o()|8).toString(16):e)).join("")}function s(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,i=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var s=0;s<e;s++)a.push(o(r,i++).toString(16));return a.join("")}function c(){return s(16)}function u(){return s(32)}},2614:(e,t,r)=>{"use strict";r.d(t,{BB:()=>a,H3:()=>n,g:()=>u,iL:()=>c,tS:()=>s,uh:()=>i,wk:()=>o});const n="NRBA",i="SESSION",o=144e5,a=18e5,s={STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},c={SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},u={OFF:0,FULL:1,ERROR:2}},1863:(e,t,r)=>{"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:()=>n})},7485:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(6154);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},944:(e,t,r)=>{"use strict";function n(e,t){"function"==typeof console.debug&&console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t)}r.d(t,{R:()=>n})},5284:(e,t,r)=>{"use strict";r.d(t,{t:()=>c,B:()=>s});var n=r(7836),i=r(6154);const o="newrelic";const a=new Set,s={};function c(e,t){const r=n.ee.get(t);s[t]??={},e&&"object"==typeof e&&(a.has(t)||(r.emit("rumresp",[e]),s[t]=e,a.add(t),function(e={}){try{i.gm.dispatchEvent(new CustomEvent(o,{detail:e}))}catch(e){}}({loaded:!0})))}},8990:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},6389:(e,t,r)=>{"use strict";function n(e,t=500,r={}){const n=r?.leading||!1;let i;return(...r)=>{n&&void 0===i&&(e.apply(this,r),i=setTimeout((()=>{i=clearTimeout(i)}),t)),n||(clearTimeout(i),i=setTimeout((()=>{e.apply(this,r)}),t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},3304:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7836);const i=()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}};function o(e){try{return JSON.stringify(e,i())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},5289:(e,t,r)=>{"use strict";r.d(t,{GG:()=>o,sB:()=>a});var n=r(3878);function i(){return"undefined"==typeof document||"complete"===document.readyState}function o(e,t){if(i())return e();(0,n.sp)("load",e,t)}function a(e){if(i())return e();(0,n.DD)("DOMContentLoaded",e)}},384:(e,t,r)=>{"use strict";r.d(t,{NT:()=>o,US:()=>d,Zm:()=>a,bQ:()=>c,dV:()=>s,nY:()=>u,pV:()=>l});var n=r(6154),i=r(1863);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function a(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function s(){let e=a();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket}),e}function c(e,t){let r=a();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t}function u(e){let t=a();return t.initializedAgents?.[e]}function d(e,t){a()[e]=t}function l(){return function(){let e=a();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=a();const t=e.init||{};e.init={...t}}(),s(),function(){let e=a();const t=e.loader_config||{};e.loader_config={...t}}(),a()}},2843:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(3878);function i(e,t=!1,r,i){(0,n.DD)("visibilitychange",(function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)}),r,i)}},8139:(e,t,r)=>{"use strict";r.d(t,{u:()=>f});var n=r(7836),i=r(3434),o=r(8990),a=r(6154);const s={},c=a.gm.XMLHttpRequest,u="addEventListener",d="removeEventListener",l="nr@wrapped:".concat(n.P);function f(e){var t=function(e){return(e||n.ee).get("events")}(e);if(s[t.debugId]++)return t;s[t.debugId]=1;var r=(0,i.YM)(t,!0);function f(e){r.inPlace(e,[u,d],"-",p)}function p(e,t){return e[1]}return"getPrototypeOf"in Object&&(a.RI&&h(document,f),h(a.gm,f),h(c.prototype,f)),t.on(u+"-start",(function(e,t){var n=e[1];if(null!==n&&("function"==typeof n||"object"==typeof n)){var i=(0,o.I)(n,l,(function(){var e={object:function(){if("function"!=typeof n.handleEvent)return;return n.handleEvent.apply(n,arguments)},function:n}[typeof n];return e?r(e,"fn-",null,e.name||"anonymous"):n}));this.wrapped=e[1]=i}})),t.on(d+"-start",(function(e){e[1]=this.wrapped||e[1]})),t}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,u);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434:(e,t,r)=>{"use strict";r.d(t,{Jt:()=>o,YM:()=>c});var n=r(7836),i=r(5607);const o="nr@original:".concat(i.W);var a=Object.prototype.hasOwnProperty,s=!1;function c(e,t){return e||(e=n.ee),r.inPlace=function(e,t,n,i,o){n||(n="");const a="-"===n.charAt(0);for(let s=0;s<t.length;s++){const c=t[s],u=e[c];d(u)||(e[c]=r(u,a?c+n:n,i,c,o))}},r.flag=o,r;function r(t,r,n,s,c){return d(t)?t:(r||(r=""),nrWrapper[o]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach((function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})})),t}catch(e){u([e],r)}for(var n in e)a.call(e,n)&&(t[n]=e[n])}(t,nrWrapper,e),nrWrapper);function nrWrapper(){var o,a,d,l;try{a=this,o=[...arguments],d="function"==typeof n?n(o,a):n||{}}catch(t){u([t,"",[o,a,s],d],e)}i(r+"start",[o,a,s],d,c);try{return l=t.apply(a,o)}catch(e){throw i(r+"err",[o,a,e],d,c),e}finally{i(r+"end",[o,a,l],d,c)}}}function i(r,n,i,o){if(!s||t){var a=s;s=!0;try{e.emit(r,n,i,t,o)}catch(t){u([t,r,n,i],e)}s=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function d(e){return!(e&&"function"==typeof e&&e.apply&&!e[o])}},9300:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.ajax},3333:(e,t,r)=>{"use strict";r.d(t,{TZ:()=>n,Zp:()=>i,mq:()=>s,nf:()=>a,qN:()=>o});const n=r(860).K7.genericEvents,i=["auxclick","click","copy","keydown","paste","scrollend"],o=["focus","blur"],a=4,s=1e3},6774:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.jserrors},993:(e,t,r)=>{"use strict";r.d(t,{ET:()=>o,TZ:()=>a,p_:()=>i});var n=r(860);const i={ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"},o="log",a=n.K7.logging},3785:(e,t,r)=>{"use strict";r.d(t,{R:()=>c,b:()=>u});var n=r(9908),i=r(1863),o=r(860),a=r(3969),s=r(993);function c(e,t,r={},c=s.p_.INFO){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void 0,o.K7.metrics,e),(0,n.p)(s.ET,[(0,i.t)(),t,r,c],void 0,o.K7.logging,e)}function u(e){return"string"==typeof e&&Object.values(s.p_).some((t=>t===e.toUpperCase().trim()))}},3969:(e,t,r)=>{"use strict";r.d(t,{TZ:()=>n,XG:()=>s,rs:()=>i,xV:()=>a,z_:()=>o});const n=r(860).K7.metrics,i="sm",o="cm",a="storeSupportabilityMetrics",s="storeEventMetrics"},6630:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.pageViewEvent},782:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.pageViewTiming},6344:(e,t,r)=>{"use strict";r.d(t,{BB:()=>d,G4:()=>o,Qb:()=>l,TZ:()=>i,Ug:()=>a,_s:()=>s,bc:()=>u,yP:()=>c});var n=r(2614);const i=r(860).K7.sessionReplay,o={RECORD:"recordReplay",PAUSE:"pauseReplay",REPLAY_RUNNING:"replayRunning",ERROR_DURING_REPLAY:"errorDuringReplay"},a=.12,s={DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},c={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0},u={RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},d=5e3,l={API:"api"}},5270:(e,t,r)=>{"use strict";r.d(t,{Aw:()=>c,CT:()=>u,SR:()=>s});var n=r(384),i=r(9417),o=r(7767),a=r(6154);function s(e){return!!(0,n.dV)().o.MO&&(0,o.V)(e)&&!0===(0,i.gD)(e,"session_trace.enabled")}function c(e){return!0===(0,i.gD)(e,"session_replay.preload")&&s(e)}function u(e,t){const r=t.correctAbsoluteTimestamp(e);return{originalTimestamp:e,correctedTimestamp:r,timestampDiff:e-r,originTime:a.WN,correctedOriginTime:t.correctedOriginTime,originTimeDiff:Math.floor(a.WN-t.correctedOriginTime)}}},3738:(e,t,r)=>{"use strict";r.d(t,{He:()=>i,Kp:()=>s,Lc:()=>u,Rz:()=>d,TZ:()=>n,bD:()=>o,d3:()=>a,jx:()=>l,uP:()=>c});const n=r(860).K7.sessionTrace,i="bstResource",o="resource",a="-start",s="-end",c="fn"+a,u="fn"+s,d="pushState",l=1e3},3962:(e,t,r)=>{"use strict";r.d(t,{AM:()=>o,O2:()=>s,Qu:()=>c,TZ:()=>a,ih:()=>u,tC:()=>i});var n=r(860);const i=["click","keydown","submit"],o="api",a=n.K7.softNav,s={INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},c={INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},u={IP:"in progress",FIN:"finished",CAN:"cancelled"}},7378:(e,t,r)=>{"use strict";r.d(t,{$p:()=>x,BR:()=>b,Kp:()=>R,L3:()=>y,Lc:()=>c,NC:()=>o,SG:()=>d,TZ:()=>i,U6:()=>p,UT:()=>m,d3:()=>w,dT:()=>f,e5:()=>A,gx:()=>v,l9:()=>l,oW:()=>h,op:()=>g,rw:()=>u,tH:()=>E,uP:()=>s,wW:()=>T,xq:()=>a});var n=r(384);const i=r(860).K7.spa,o=["click","submit","keypress","keydown","keyup","change"],a=999,s="fn-start",c="fn-end",u="cb-start",d="api-ixn-",l="remaining",f="interaction",h="spaNode",p="jsonpNode",g="fetch-start",m="fetch-done",v="fetch-body-",b="jsonp-end",y=(0,n.dV)().o.ST,w="-start",R="-end",x="-body",T="cb"+R,A="jsTime",E="fetch"},4234:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(7836),i=r(1687);class o{constructor(e,t){this.agentIdentifier=e,this.ee=n.ee.get(e),this.featureName=t,this.blocked=!1}deregisterDrain(){(0,i.x3)(this.agentIdentifier,this.featureName)}}},7767:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(9417),i=r(6154);const o=e=>i.RI&&!0===(0,n.gD)(e,"privacy.cookies_enabled")},425:(e,t,r)=>{"use strict";r.d(t,{j:()=>j});var n=r(860),i=r(2555),o=r(3371),a=r(9908),s=r(7836),c=r(1687),u=r(5289),d=r(6154),l=r(944),f=r(3969),h=r(384),p=r(6344);const g=["setErrorHandler","finished","addToTrace","addRelease","addPageAction","setCurrentRouteName","setPageViewName","setCustomAttribute","interaction","noticeError","setUserId","setApplicationVersion","start",p.G4.RECORD,p.G4.PAUSE,"log","wrapLogger"],m=["setErrorHandler","finished","addToTrace","addRelease"];var v=r(1863),b=r(2614),y=r(993),w=r(3785),R=r(2646),x=r(3434);function T(e,t,r,n){if("object"!=typeof t||!t||"string"!=typeof r||!r||"function"!=typeof t[r])return(0,l.R)(29);const i=function(e){return(e||s.ee).get("logger")}(e),o=(0,x.YM)(i),a=new R.y(s.P);return a.level=n.level,a.customAttributes=n.customAttributes,o.inPlace(t,[r],"wrap-logger-",a),i}function A(){const e=(0,h.pV)();g.forEach((t=>{e[t]=(...r)=>function(t,...r){let n=[];return Object.values(e.initializedAgents).forEach((e=>{e&&e.api?e.exposed&&e.api[t]&&n.push(e.api[t](...r)):(0,l.R)(38,t)})),n.length>1?n:n[0]}(t,...r)}))}const E={};var S=r(9417),N=r(5603),O=r(5284);const _=e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e};let I=!1;function j(e,t={},g,R){let{init:x,info:j,loader_config:P,runtime:C={},exposed:k=!0}=t;C.loaderType=g;const L=(0,h.pV)();j||(x=L.init,j=L.info,P=L.loader_config),(0,S.xN)(e.agentIdentifier,x||{}),(0,N.a)(e.agentIdentifier,P||{}),j.jsAttributes??={},d.bv&&(j.jsAttributes.isWorker=!0),(0,i.x1)(e.agentIdentifier,j);const H=(0,S.D0)(e.agentIdentifier),D=[j.beacon,j.errorBeacon];I||(H.proxy.assets&&(_(H.proxy.assets),D.push(H.proxy.assets)),H.proxy.beacon&&D.push(H.proxy.beacon),A(),(0,h.US)("activatedFeatures",O.B),e.runSoftNavOverSpa&&=!0===H.soft_navigations.enabled&&H.feature_flags.includes("soft_nav")),C.denyList=[...H.ajax.deny_list||[],...H.ajax.block_internal?D:[]],C.ptid=e.agentIdentifier,(0,o.V)(e.agentIdentifier,C),e.ee=s.ee.get(e.agentIdentifier),void 0===e.api&&(e.api=function(e,t,h=!1){t||(0,c.Ak)(e,"api");const g={};var R=s.ee.get(e),x=R.get("tracer");E[e]=b.g.OFF,R.on(p.G4.REPLAY_RUNNING,(t=>{E[e]=t}));var A="api-",S=A+"ixn-";function N(t,r,n,o){const a=(0,i.Vp)(e);return null===r?delete a.jsAttributes[t]:(0,i.x1)(e,{...a,jsAttributes:{...a.jsAttributes,[t]:r}}),I(A,n,!0,o||null===r?"session":void 0)(t,r)}function O(){}g.log=function(e,{customAttributes:t={},level:r=y.p_.INFO}={}){(0,a.p)(f.xV,["API/log/called"],void 0,n.K7.metrics,R),(0,w.R)(R,e,t,r)},g.wrapLogger=(e,t,{customAttributes:r={},level:i=y.p_.INFO}={})=>{(0,a.p)(f.xV,["API/wrapLogger/called"],void 0,n.K7.metrics,R),T(R,e,t,{customAttributes:r,level:i})},m.forEach((e=>{g[e]=I(A,e,!0,"api")})),g.addPageAction=I(A,"addPageAction",!0,n.K7.genericEvents),g.setPageViewName=function(t,r){if("string"==typeof t)return"/"!==t.charAt(0)&&(t="/"+t),(0,o.f)(e).customTransaction=(r||"http://custom.transaction")+t,I(A,"setPageViewName",!0)()},g.setCustomAttribute=function(e,t,r=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof t)||null===t)return N(e,t,"setCustomAttribute",r);(0,l.R)(40,typeof t)}else(0,l.R)(39,typeof e)},g.setUserId=function(e){if("string"==typeof e||null===e)return N("enduser.id",e,"setUserId",!0);(0,l.R)(41,typeof e)},g.setApplicationVersion=function(e){if("string"==typeof e||null===e)return N("application.version",e,"setApplicationVersion",!1);(0,l.R)(42,typeof e)},g.start=()=>{try{(0,a.p)(f.xV,["API/start/called"],void 0,n.K7.metrics,R),R.emit("manual-start-all")}catch(e){(0,l.R)(23,e)}},g[p.G4.RECORD]=function(){(0,a.p)(f.xV,["API/recordReplay/called"],void 0,n.K7.metrics,R),(0,a.p)(p.G4.RECORD,[],void 0,n.K7.sessionReplay,R)},g[p.G4.PAUSE]=function(){(0,a.p)(f.xV,["API/pauseReplay/called"],void 0,n.K7.metrics,R),(0,a.p)(p.G4.PAUSE,[],void 0,n.K7.sessionReplay,R)},g.interaction=function(e){return(new O).get("object"==typeof e?e:{})};const _=O.prototype={createTracer:function(e,t){var r={},i=this,o="function"==typeof t;return(0,a.p)(f.xV,["API/createTracer/called"],void 0,n.K7.metrics,R),h||(0,a.p)(S+"tracer",[(0,v.t)(),e,r],i,n.K7.spa,R),function(){if(x.emit((o?"":"no-")+"fn-start",[(0,v.t)(),i,o],r),o)try{return t.apply(this,arguments)}catch(e){const t="string"==typeof e?new Error(e):e;throw x.emit("fn-err",[arguments,this,t],r),t}finally{x.emit("fn-end",[(0,v.t)()],r)}}}};function I(e,t,r,i){return function(){return(0,a.p)(f.xV,["API/"+t+"/called"],void 0,n.K7.metrics,R),i&&(0,a.p)(e+t,[(0,v.t)(),...arguments],r?null:this,i,R),r?void 0:this}}function j(){r.e(478).then(r.bind(r,8778)).then((({setAPI:t})=>{t(e),(0,c.Ze)(e,"api")})).catch((e=>{(0,l.R)(27,e),R.abort()}))}return["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach((e=>{_[e]=I(S,e,void 0,h?n.K7.softNav:n.K7.spa)})),g.setCurrentRouteName=h?I(S,"routeName",void 0,n.K7.softNav):I(A,"routeName",!0,n.K7.spa),g.noticeError=function(t,r){"string"==typeof t&&(t=new Error(t)),(0,a.p)(f.xV,["API/noticeError/called"],void 0,n.K7.metrics,R),(0,a.p)("err",[t,(0,v.t)(),!1,r,!!E[e]],void 0,n.K7.jserrors,R)},d.RI?(0,u.GG)((()=>j()),!0):j(),g}(e.agentIdentifier,R,e.runSoftNavOverSpa)),void 0===e.exposed&&(e.exposed=k),I=!0}},8374:(e,t,r)=>{r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},860:(e,t,r)=>{"use strict";r.d(t,{$J:()=>o,K7:()=>n,P3:()=>i});const n={ajax:"ajax",genericEvents:"generic_events",jserrors:"jserrors",logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations",spa:"spa"},i={[n.pageViewEvent]:1,[n.pageViewTiming]:2,[n.metrics]:3,[n.jserrors]:4,[n.spa]:5,[n.ajax]:6,[n.sessionTrace]:7,[n.softNav]:8,[n.sessionReplay]:9,[n.logging]:10,[n.genericEvents]:11},o={[n.pageViewTiming]:"events",[n.ajax]:"events",[n.spa]:"events",[n.softNav]:"events",[n.metrics]:"jserrors",[n.jserrors]:"jserrors",[n.sessionTrace]:"browser/blobs",[n.sessionReplay]:"browser/blobs",[n.logging]:"browser/logs",[n.genericEvents]:"ins"}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>({212:"nr-spa-compressor",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.274.0.min.js"),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="NRBA-1.274.0.PROD:",i.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var l=u[d];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==t+o){s=l;break}}if(!s){c=!0;var f={478:"sha512-1vUqEfJPB8Pihje9mv5CfYgkitO1FWcS+UQb84DbXqP8oYctRv4/lzl/MzNLPlRhcY1WVDBGL20I8vm6s2VV7g==",249:"sha512-Y/BeZAh6VSTmUtUNmS5XdyKxL92s30Fyyj8xVW76HSPxcKItL4+x2+kGMZc8pMJnUpZDz1L4eftZQAJh3D8NnA==",212:"sha512-Gn2tQ3qog5Yhrx/gRutkSTYPp+7nkKFt4/mIXg99LxcNpMDAYJZDBYmAACdoHNM86+iq1F3cBcQotFNzjIX8bw=="};(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+o),s.src=r,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous"),f[a]&&(s.integrity=f[a])}e[r]=[n];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="https://js-agent.newrelic.com/",(()=>{var e={38:0,788:0};i.f.j=(t,r)=>{var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[a,s,c]=r,u=0;if(a.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(c)c(i)}for(t&&t(r);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self["webpackChunk:NRBA-1.274.0.PROD"]=self["webpackChunk:NRBA-1.274.0.PROD"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";i(8374);var e=i(944),t=i(6344),r=i(9566);class n{agentIdentifier;constructor(e=(0,r.LA)(16)){this.agentIdentifier=e}#e(t,...r){if("function"==typeof this.api?.[t])return this.api[t](...r);(0,e.R)(35,t)}addPageAction(e,t){return this.#e("addPageAction",e,t)}setPageViewName(e,t){return this.#e("setPageViewName",e,t)}setCustomAttribute(e,t,r){return this.#e("setCustomAttribute",e,t,r)}noticeError(e,t){return this.#e("noticeError",e,t)}setUserId(e){return this.#e("setUserId",e)}setApplicationVersion(e){return this.#e("setApplicationVersion",e)}setErrorHandler(e){return this.#e("setErrorHandler",e)}addRelease(e,t){return this.#e("addRelease",e,t)}log(e,t){return this.#e("log",e,t)}}class o extends n{#e(t,...r){if("function"==typeof this.api?.[t])return this.api[t](...r);(0,e.R)(35,t)}start(){return this.#e("start")}finished(e){return this.#e("finished",e)}recordReplay(){return this.#e(t.G4.RECORD)}pauseReplay(){return this.#e(t.G4.PAUSE)}addToTrace(e){return this.#e("addToTrace",e)}setCurrentRouteName(e){return this.#e("setCurrentRouteName",e)}interaction(){return this.#e("interaction")}wrapLogger(e,t,r){return this.#e("wrapLogger",e,t,r)}}var a=i(860),s=i(9417);const c=Object.values(a.K7);function u(e){const t={};return c.forEach((r=>{t[r]=function(e,t){return!0===(0,s.gD)(t,"".concat(e,".enabled"))}(r,e)})),t}var d=i(425);var l=i(1687),f=i(4234),h=i(5289),p=i(6154),g=i(5270),m=i(7767),v=i(6389);class b extends f.W{constructor(e,t,r=!0){super(e.agentIdentifier,t),this.auto=r,this.abortHandler=void 0,this.featAggregate=void 0,this.onAggregateImported=void 0,!1===e.init[this.featureName].autoStart&&(this.auto=!1),this.auto?(0,l.Ak)(e.agentIdentifier,t):this.ee.on("manual-start-all",(0,v.J)((()=>{(0,l.Ak)(e.agentIdentifier,this.featureName),this.auto=!0,this.importAggregator(e)})))}importAggregator(t,r={}){if(this.featAggregate||!this.auto)return;let n;this.onAggregateImported=new Promise((e=>{n=e}));const o=async()=>{let o;try{if((0,m.V)(this.agentIdentifier)){const{setupAgentSession:e}=await i.e(478).then(i.bind(i,6526));o=e(t)}}catch(t){(0,e.R)(20,t),this.ee.emit("internal-error",[t]),this.featureName===a.K7.sessionReplay&&this.abortHandler?.()}try{if(t.sharedAggregator)await t.sharedAggregator;else{t.sharedAggregator=i.e(478).then(i.bind(i,9337));const{EventAggregator:e}=await t.sharedAggregator;t.sharedAggregator=new e}if(!this.#t(this.featureName,o))return(0,l.Ze)(this.agentIdentifier,this.featureName),void n(!1);const{lazyFeatureLoader:e}=await i.e(478).then(i.bind(i,6103)),{Aggregate:a}=await e(this.featureName,"aggregate");this.featAggregate=new a(t,r),n(!0)}catch(t){(0,e.R)(34,t),this.abortHandler?.(),(0,l.Ze)(this.agentIdentifier,this.featureName,!0),n(!1),this.ee&&this.ee.abort()}};p.RI?(0,h.GG)((()=>o()),!0):o()}#t(e,t){switch(e){case a.K7.sessionReplay:return(0,g.SR)(this.agentIdentifier)&&!!t;case a.K7.sessionTrace:return!!t;default:return!0}}}var y=i(6630);class w extends b{static featureName=y.T;constructor(e,t=!0){super(e,y.T,t),this.importAggregator(e)}}var R=i(384);var x=i(9908),T=i(2843),A=i(3878),E=i(782),S=i(1863);class N extends b{static featureName=E.T;constructor(e,t=!0){super(e,E.T,t),p.RI&&((0,T.u)((()=>(0,x.p)("docHidden",[(0,S.t)()],void 0,E.T,this.ee)),!0),(0,A.sp)("pagehide",(()=>(0,x.p)("winPagehide",[(0,S.t)()],void 0,E.T,this.ee))),this.importAggregator(e))}}var O=i(3969);class _ extends b{static featureName=O.TZ;constructor(e,t=!0){super(e,O.TZ,t),this.importAggregator(e)}}var I=i(6774),j=i(3304);class P{constructor(e,t,r,n,i){this.name="UncaughtError",this.message="string"==typeof e?e:(0,j.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}function C(e){return H(e)?e:new P(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic)}function k(e){const t="Unhandled Promise Rejection";if(!e?.reason)return;if(H(e.reason))try{return e.reason.message=t+": "+e.reason.message,C(e.reason)}catch(t){return C(e.reason)}const r=C(e.reason);return r.message=t+": "+r?.message,r}function L(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new P(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic);return t.name=SyntaxError.name,t}return H(e.error)?e.error:C(e)}function H(e){return e instanceof Error&&!!e.stack}class D extends b{static featureName=I.T;#r=!1;constructor(e,r=!0){super(e,I.T,r);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",(e=>{this.abortHandler&&(0,x.p)("ierr",[C(e),(0,S.t)(),!0,{},this.#r],void 0,this.featureName,this.ee)})),this.ee.on(t.G4.REPLAY_RUNNING,(e=>{this.#r=e})),p.gm.addEventListener("unhandledrejection",(e=>{this.abortHandler&&(0,x.p)("err",[k(e),(0,S.t)(),!1,{unhandledPromiseRejection:1},this.#r],void 0,this.featureName,this.ee)}),(0,A.jT)(!1,this.removeOnAbort?.signal)),p.gm.addEventListener("error",(e=>{this.abortHandler&&(0,x.p)("err",[L(e),(0,S.t)(),!1,{},this.#r],void 0,this.featureName,this.ee)}),(0,A.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e)}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var M=i(8990);let K=1;const U="nr@id";function V(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===p.gm?0:(0,M.I)(e,U,(function(){return K++}))}function G(e){if("string"==typeof e&&e.length)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,j.A)(e).length}catch(e){return}}}var F=i(8139),B=i(7836),W=i(3434);const z={},q=["open","send"];function Z(t){var r=t||B.ee;const n=function(e){return(e||B.ee).get("xhr")}(r);if(z[n.debugId]++)return n;z[n.debugId]=1,(0,F.u)(r);var i=(0,W.YM)(n),o=p.gm.XMLHttpRequest,a=p.gm.MutationObserver,s=p.gm.Promise,c=p.gm.setInterval,u="readystatechange",d=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],l=[],f=p.gm.XMLHttpRequest=function(t){const r=new o(t),a=n.context(r);try{n.emit("new-xhr",[r],a),r.addEventListener(u,(s=a,function(){var e=this;e.readyState>3&&!s.resolved&&(s.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,d,"fn-",y)}),(0,A.jT)(!1))}catch(t){(0,e.R)(15,t);try{n.emit("internal-error",[t])}catch(e){}}var s;return r};function h(e,t){i.inPlace(t,["onreadystatechange"],"fn-",y)}if(function(e,t){for(var r in e)t[r]=e[r]}(o,f),f.prototype=o.prototype,i.inPlace(f.prototype,q,"-xhr-",y),n.on("send-xhr-start",(function(e,t){h(e,t),function(e){l.push(e),a&&(g?g.then(b):c?c(b):(m=-m,v.data=m))}(t)})),n.on("open-xhr-start",h),a){var g=s&&s.resolve();if(!c&&!s){var m=1,v=document.createTextNode(m);new a(b).observe(v,{characterData:!0})}}else r.on("fn-end",(function(e){e[0]&&e[0].type===u||b()}));function b(){for(var e=0;e<l.length;e++)h(0,l[e]);l.length&&(l=[])}function y(e,t){return t}return n}var Y="fetch-",X=Y+"body-",J=["arrayBuffer","blob","json","text","formData"],Q=p.gm.Request,ee=p.gm.Response,te="prototype";const re={};function ne(e){const t=function(e){return(e||B.ee).get("fetch")}(e);if(!(Q&&ee&&p.gm.fetch))return t;if(re[t.debugId]++)return t;function r(e,r,n){var i=e[r];"function"==typeof i&&(e[r]=function(){var e,r=[...arguments],o={};t.emit(n+"before-start",[r],o),o[B.P]&&o[B.P].dt&&(e=o[B.P].dt);var a=i.apply(this,r);return t.emit(n+"start",[r,e],a),a.then((function(e){return t.emit(n+"end",[null,e],a),e}),(function(e){throw t.emit(n+"end",[e],a),e}))})}return re[t.debugId]=1,J.forEach((e=>{r(Q[te],e,X),r(ee[te],e,X)})),r(p.gm,"fetch",Y),t.on(Y+"end",(function(e,r){var n=this;if(r){var i=r.headers.get("content-length");null!==i&&(n.rxSize=i),t.emit(Y+"done",[null,r],n)}else t.emit(Y+"done",[e],n)})),t}var ie=i(7485),oe=i(5603);class ae{constructor(e){this.agentIdentifier=e}generateTracePayload(e){if(!this.shouldGenerateTrace(e))return null;var t=(0,oe.o)(this.agentIdentifier);if(!t)return null;var n=(t.accountID||"").toString()||null,i=(t.agentID||"").toString()||null,o=(t.trustKey||"").toString()||null;if(!n||!i)return null;var a=(0,r.ZF)(),s=(0,r.el)(),c=Date.now(),u={spanId:a,traceId:s,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(u.traceContextParentHeader=this.generateTraceContextParentHeader(a,s),u.traceContextStateHeader=this.generateTraceContextStateHeader(a,c,n,i,o)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(u.newrelicHeader=this.generateTraceHeader(a,s,c,n,i,o)),u}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,o){if(!("function"==typeof p.gm?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return o&&n!==o&&(a.d.tk=o),btoa((0,j.A)(a))}shouldGenerateTrace(e){return this.isDtEnabled()&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1,r={};if((0,s.gD)(this.agentIdentifier,"distributed_tracing")&&(r=(0,s.D0)(this.agentIdentifier).distributed_tracing),e.sameOrigin)t=!0;else if(r.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,ie.D)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}isDtEnabled(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.enabled}excludeNewrelicHeader(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.cors_use_tracecontext_headers}}var se=i(9300),ce=i(7295),ue=["load","error","abort","timeout"],de=ue.length,le=(0,R.dV)().o.REQ,fe=(0,R.dV)().o.XHR;class he extends b{static featureName=se.T;constructor(e,t=!0){super(e,se.T,t),this.dt=new ae(e.agentIdentifier),this.handler=(e,t,r,n)=>(0,x.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};p.gm?.performance?.getEntriesByType("resource").forEach((t=>{if(t.initiatorType in e&&0!==t.responseStatus){const r={status:t.responseStatus},n={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};pe(r,t.name),this.handler("xhr",[r,n,t.startTime,t.responseEnd,e[t.initiatorType]],void 0,a.K7.ajax)}}))}catch(e){}ne(this.ee),Z(this.ee),function(e,t,r,n){function i(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=R,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},e.addEventListener("load",(function(r){T(t,e)}),(0,A.jT)(!1)),p.lR||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,A.jT)(!1))}function o(e){this.params={method:e[0]},pe(this,e[1]),this.metrics={}}function s(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var i=n.generateTracePayload(this.parsedOrigin);if(i){var o=!1;i.newrelicHeader&&(r.setRequestHeader("newrelic",i.newrelicHeader),o=!0),i.traceContextParentHeader&&(r.setRequestHeader("traceparent",i.traceContextParentHeader),i.traceContextStateHeader&&r.setRequestHeader("tracestate",i.traceContextStateHeader),o=!0),o&&(this.dt=i)}}function c(e,r){var n=this.metrics,i=e[0],o=this;if(n&&i){var a=G(i);a&&(n.txSize=a)}this.startTime=(0,S.t)(),this.body=i,this.listener=function(e){try{"abort"!==e.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==e.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof r.onload)&&"function"==typeof o.end)&&o.end(r)}catch(e){try{t.emit("internal-error",[e])}catch(e){}}};for(var s=0;s<de;s++)r.addEventListener(ue[s],this.listener,(0,A.jT)(!1))}function u(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function d(e,t){var r=""+V(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function l(e,t){var r=""+V(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function f(){this.endTime=(0,S.t)()}function h(e,r){r instanceof fe&&"load"===e[0]&&t.emit("xhr-load-added",[e[1],e[2]],r)}function g(e,r){r instanceof fe&&"load"===e[0]&&t.emit("xhr-load-removed",[e[1],e[2]],r)}function m(e,t,r){t instanceof fe&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,S.t)()))}function v(e,r){this.xhrCbStart&&t.emit("xhr-cb-time",[(0,S.t)()-this.xhrCbStart,this.onload,r],r)}function b(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&p.RI&&(t=""+p.gm.location.href):e[0]&&e[0].url?t=e[0].url:p.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,ie.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var i=n.generateTracePayload(this.parsedOrigin);if(i&&(i.newrelicHeader||i.traceContextParentHeader))if(e[0]&&e[0].headers)s(e[0].headers,i)&&(this.dt=i);else{var o={};for(var a in r)o[a]=r[a];o.headers=new Headers(r.headers||{}),s(o.headers,i)&&(this.dt=i),e.length>1?e[1]=o:e.push(o)}}function s(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function y(e,t){this.params={},this.metrics={},this.startTime=(0,S.t)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var r,n=this.opts||{},i=this.target;"string"==typeof i?r=i:"object"==typeof i&&i instanceof le?r=i.url:p.gm?.URL&&"object"==typeof i&&i instanceof URL&&(r=i.href),pe(this,r);var o=(""+(i&&i instanceof le&&i.method||n.method||"GET")).toUpperCase();this.params.method=o,this.body=n.body,this.txSize=G(n.body)||0}function w(e,t){if(this.endTime=(0,S.t)(),this.params||(this.params={}),(0,ce.iW)(this.params))return;let n;this.params.status=t?t.status:0,"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);const i={txSize:this.txSize,rxSize:n,duration:(0,S.t)()-this.startTime};r("xhr",[this.params,i,this.startTime,this.endTime,"fetch"],this,a.K7.ajax)}function R(e){const t=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(let t=0;t<de;t++)e.removeEventListener(ue[t],this.listener,!1);t.aborted||(0,ce.iW)(t)||(n.duration=(0,S.t)()-this.startTime,this.loadCazptureCalled||4!==e.readyState?null==t.status&&(t.status=0):T(this,e),n.cbTime=this.cbTime,r("xhr",[t,n,this.startTime,this.endTime,"xhr"],this,a.K7.ajax))}}function T(e,r){e.params.status=r.status;var n=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?G(e.response):"text"===r||""===r||void 0===r?G(e.responseText):void 0}(r,e.lastSize);if(n&&(e.metrics.rxSize=n),e.sameOrigin){var i=r.getResponseHeader("X-NewRelic-App-Data");i&&((0,x.p)(O.rs,["Ajax/CrossApplicationTracing/Header/Seen"],void 0,a.K7.metrics,t),e.params.cat=i.split(", ").pop())}e.loadCaptureCalled=!0}t.on("new-xhr",i),t.on("open-xhr-start",o),t.on("open-xhr-end",s),t.on("send-xhr-start",c),t.on("xhr-cb-time",u),t.on("xhr-load-added",d),t.on("xhr-load-removed",l),t.on("xhr-resolved",f),t.on("addEventListener-end",h),t.on("removeEventListener-end",g),t.on("fn-end",v),t.on("fetch-before-start",b),t.on("fetch-start",y),t.on("fn-start",m),t.on("fetch-done",w)}(e,this.ee,this.handler,this.dt),this.importAggregator(e)}}function pe(e,t){var r=(0,ie.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}const ge={},me=["pushState","replaceState"];function ve(e){const t=function(e){return(e||B.ee).get("history")}(e);return!p.RI||ge[t.debugId]++||(ge[t.debugId]=1,(0,W.YM)(t).inPlace(window.history,me,"-")),t}var be=i(3738);const{He:ye,bD:we,d3:Re,Kp:xe,TZ:Te,Lc:Ae,uP:Ee,Rz:Se}=be;class Ne extends b{static featureName=Te;constructor(e,t=!0){super(e,Te,t);if(!(0,m.V)(this.agentIdentifier))return void this.deregisterDrain();const r=this.ee;let n;ve(r),this.eventsEE=(0,F.u)(r),this.eventsEE.on(Ee,(function(e,t){this.bstStart=(0,S.t)()})),this.eventsEE.on(Ae,(function(e,t){(0,x.p)("bst",[e[0],t,this.bstStart,(0,S.t)()],void 0,a.K7.sessionTrace,r)})),r.on(Se+Re,(function(e){this.time=(0,S.t)(),this.startPath=location.pathname+location.hash})),r.on(Se+xe,(function(e){(0,x.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,a.K7.sessionTrace,r)}));try{n=new PerformanceObserver((e=>{const t=e.getEntries();(0,x.p)(ye,[t],void 0,a.K7.sessionTrace,r)})),n.observe({type:we,buffered:!0})}catch(e){}this.importAggregator(e,{resourceObserver:n})}}var Oe=i(2614);class _e extends b{static featureName=t.TZ;#i;#o;constructor(e,r=!0){let n;super(e,t.TZ,r),this.replayRunning=!1,this.#o=e;try{n=JSON.parse(localStorage.getItem("".concat(Oe.H3,"_").concat(Oe.uh)))}catch(e){}(0,g.SR)(e.agentIdentifier)&&this.ee.on(t.G4.RECORD,(()=>this.#a())),this.#s(n)?(this.#i=n?.sessionReplayMode,this.#c()):this.importAggregator(e),this.ee.on("err",(e=>{this.replayRunning&&(this.errorNoticed=!0,(0,x.p)(t.G4.ERROR_DURING_REPLAY,[e],void 0,this.featureName,this.ee))})),this.ee.on(t.G4.REPLAY_RUNNING,(e=>{this.replayRunning=e}))}#s(e){return e&&(e.sessionReplayMode===Oe.g.FULL||e.sessionReplayMode===Oe.g.ERROR)||(0,g.Aw)(this.agentIdentifier)}#u=!1;async#c(e){if(!this.#u){this.#u=!0;try{const{Recorder:t}=await Promise.all([i.e(478),i.e(249)]).then(i.bind(i,8589));this.recorder??=new t({mode:this.#i,agentIdentifier:this.agentIdentifier,trigger:e,ee:this.ee}),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording}catch(e){}this.importAggregator(this.#o,{recorder:this.recorder,errorNoticed:this.errorNoticed})}}#a(){this.featAggregate?this.featAggregate.mode!==Oe.g.FULL&&this.featAggregate.initializeRecording(Oe.g.FULL,!0):(this.#i=Oe.g.FULL,this.#c(t.Qb.API),this.recorder&&this.recorder.parent.mode!==Oe.g.FULL&&(this.recorder.parent.mode=Oe.g.FULL,this.recorder.stopRecording(),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording))}}var Ie=i(3962);class je extends b{static featureName=Ie.TZ;constructor(e,t=!0){if(super(e,Ie.TZ,t),!p.RI||!(0,R.dV)().o.MO)return;const r=ve(this.ee);Ie.tC.forEach((e=>{(0,A.sp)(e,(e=>{a(e)}),!0)}));const n=()=>(0,x.p)("newURL",[(0,S.t)(),""+window.location],void 0,this.featureName,this.ee);r.on("pushState-end",n),r.on("replaceState-end",n);try{this.removeOnAbort=new AbortController}catch(e){}(0,A.sp)("popstate",(e=>(0,x.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)),!0,this.removeOnAbort?.signal);let i=!1;const o=new((0,R.dV)().o.MO)(((e,t)=>{i||(i=!0,requestAnimationFrame((()=>{(0,x.p)("newDom",[(0,S.t)()],void 0,this.featureName,this.ee),i=!1})))})),a=(0,v.s)((e=>{(0,x.p)("newUIEvent",[e],void 0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}),100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void 0},this.importAggregator(e,{domObserver:o})}}var Pe=i(7378);const Ce={},ke=["appendChild","insertBefore","replaceChild"];function Le(e){const t=function(e){return(e||B.ee).get("jsonp")}(e);if(!p.RI||Ce[t.debugId])return t;Ce[t.debugId]=!0;var r=(0,W.YM)(t),n=/[?&](?:callback|cb)=([^&#]+)/,i=/(.*)\.([^.]+)/,o=/^(\w+)(\.|$)(.*)$/;function a(e,t){if(!e)return t;const r=e.match(o),n=r[1];return a(r[3],t[n])}return r.inPlace(Node.prototype,ke,"dom-"),t.on("dom-start",(function(e){!function(e){if(!e||"string"!=typeof e.nodeName||"script"!==e.nodeName.toLowerCase())return;if("function"!=typeof e.addEventListener)return;var o=(s=e.src,c=s.match(n),c?c[1]:null);var s,c;if(!o)return;var u=function(e){var t=e.match(i);if(t&&t.length>=3)return{key:t[2],parent:a(t[1],window)};return{key:e,parent:window}}(o);if("function"!=typeof u.parent[u.key])return;var d={};function l(){t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,A.jT)(!1)),e.removeEventListener("error",f,(0,A.jT)(!1))}function f(){t.emit("jsonp-error",[],d),t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,A.jT)(!1)),e.removeEventListener("error",f,(0,A.jT)(!1))}r.inPlace(u.parent,[u.key],"cb-",d),e.addEventListener("load",l,(0,A.jT)(!1)),e.addEventListener("error",f,(0,A.jT)(!1)),t.emit("new-jsonp",[e.src],d)}(e[0])})),t}const He={};function De(e){const t=function(e){return(e||B.ee).get("promise")}(e);if(He[t.debugId])return t;He[t.debugId]=!0;var r=t.context,n=(0,W.YM)(t),i=p.gm.Promise;return i&&function(){function e(r){var o=t.context(),a=n(r,"executor-",o,null,!1);const s=Reflect.construct(i,[a],e);return t.context(s).getCtx=function(){return o},s}p.gm.Promise=e,Object.defineProperty(e,"name",{value:"Promise"}),e.toString=function(){return i.toString()},Object.setPrototypeOf(e,i),["all","race"].forEach((function(r){const n=i[r];e[r]=function(e){let i=!1;[...e||[]].forEach((e=>{this.resolve(e).then(a("all"===r),a(!1))}));const o=n.apply(this,arguments);return o;function a(e){return function(){t.emit("propagate",[null,!i],o,!1,!1),i=i||!e}}}})),["resolve","reject"].forEach((function(r){const n=i[r];e[r]=function(e){const r=n.apply(this,arguments);return e!==r&&t.emit("propagate",[e,!0],r,!1,!1),r}})),e.prototype=i.prototype;const o=i.prototype.then;i.prototype.then=function(...e){var i=this,a=r(i);a.promise=i,e[0]=n(e[0],"cb-",a,null,!1),e[1]=n(e[1],"cb-",a,null,!1);const s=o.apply(this,e);return a.nextPromise=s,t.emit("propagate",[i,!0],s,!1,!1),s},i.prototype.then[W.Jt]=o,t.on("executor-start",(function(e){e[0]=n(e[0],"resolve-",this,null,!1),e[1]=n(e[1],"resolve-",this,null,!1)})),t.on("executor-err",(function(e,t,r){e[1](r)})),t.on("cb-end",(function(e,r,n){t.emit("propagate",[n,!0],this.nextPromise,!1,!1)})),t.on("propagate",(function(e,r,n){this.getCtx&&!r||(this.getCtx=function(){if(e instanceof Promise)var r=t.context(e);return r&&r.getCtx?r.getCtx():this})}))}(),t}const Me={},Ke="setTimeout",Ue="setInterval",Ve="clearTimeout",Ge="-start",Fe=[Ke,"setImmediate",Ue,Ve,"clearImmediate"];function Be(e){const t=function(e){return(e||B.ee).get("timer")}(e);if(Me[t.debugId]++)return t;Me[t.debugId]=1;var r=(0,W.YM)(t);return r.inPlace(p.gm,Fe.slice(0,2),Ke+"-"),r.inPlace(p.gm,Fe.slice(2,3),Ue+"-"),r.inPlace(p.gm,Fe.slice(3),Ve+"-"),t.on(Ue+Ge,(function(e,t,n){e[0]=r(e[0],"fn-",null,n)})),t.on(Ke+Ge,(function(e,t,n){this.method=n,this.timerDuration=isNaN(e[1])?0:+e[1],e[0]=r(e[0],"fn-",this,n)})),t}const We={};function ze(e){const t=function(e){return(e||B.ee).get("mutation")}(e);if(!p.RI||We[t.debugId])return t;We[t.debugId]=!0;var r=(0,W.YM)(t),n=p.gm.MutationObserver;return n&&(window.MutationObserver=function(e){return this instanceof n?new n(r(e,"fn-")):n.apply(this,arguments)},MutationObserver.prototype=n.prototype),t}const{TZ:qe,d3:Ze,Kp:Ye,$p:Xe,wW:Je,e5:Qe,tH:$e,uP:et,rw:tt,Lc:rt}=Pe;class nt extends b{static featureName=qe;constructor(e,t=!0){if(super(e,qe,t),!p.RI)return;try{this.removeOnAbort=new AbortController}catch(e){}let r,n=0;const i=this.ee.get("tracer"),o=Le(this.ee),a=De(this.ee),s=Be(this.ee),c=Z(this.ee),u=this.ee.get("events"),d=ne(this.ee),l=ve(this.ee),f=ze(this.ee);function h(e,t){l.emit("newURL",[""+window.location,t])}function g(){n++,r=window.location.hash,this[et]=(0,S.t)()}function m(){n--,window.location.hash!==r&&h(0,!0);var e=(0,S.t)();this[Qe]=~~this[Qe]+e-this[et],this[rt]=e}function v(e,t){e.on(t,(function(){this[t]=(0,S.t)()}))}this.ee.on(et,g),a.on(tt,g),o.on(tt,g),this.ee.on(rt,m),a.on(Je,m),o.on(Je,m),this.ee.on("fn-err",((...t)=>{t[2]?.__newrelic?.[e.agentIdentifier]||(0,x.p)("function-err",[...t],void 0,this.featureName,this.ee)})),this.ee.buffer([et,rt,"xhr-resolved"],this.featureName),u.buffer([et],this.featureName),s.buffer(["setTimeout"+Ye,"clearTimeout"+Ze,et],this.featureName),c.buffer([et,"new-xhr","send-xhr"+Ze],this.featureName),d.buffer([$e+Ze,$e+"-done",$e+Xe+Ze,$e+Xe+Ye],this.featureName),l.buffer(["newURL"],this.featureName),f.buffer([et],this.featureName),a.buffer(["propagate",tt,Je,"executor-err","resolve"+Ze],this.featureName),i.buffer([et,"no-"+et],this.featureName),o.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"],this.featureName),v(d,$e+Ze),v(d,$e+"-done"),v(o,"new-jsonp"),v(o,"jsonp-end"),v(o,"cb-start"),l.on("pushState-end",h),l.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,A.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("load",h,(0,A.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("popstate",(function(){h(0,n>1)}),(0,A.jT)(!0,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e)}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var it=i(3333);class ot extends b{static featureName=it.TZ;constructor(e,t=!0){super(e,it.TZ,t);const r=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.user_actions.enabled];p.RI&&e.init.user_actions.enabled&&(it.Zp.forEach((e=>(0,A.sp)(e,(e=>(0,x.p)("ua",[e],void 0,this.featureName,this.ee)),!0))),it.qN.forEach((e=>(0,A.sp)(e,(e=>(0,x.p)("ua",[e],void 0,this.featureName,this.ee)))))),r.some((e=>e))?this.importAggregator(e):this.deregisterDrain()}}var at=i(993),st=i(3785);class ct extends b{static featureName=at.TZ;constructor(e,t=!0){super(e,at.TZ,t);const r=this.ee;this.ee.on("wrap-logger-end",(function([e]){const{level:t,customAttributes:n}=this;(0,st.R)(r,e,n,t)})),this.importAggregator(e)}}new class extends o{constructor(t,r){super(r),p.gm?(this.features={},(0,R.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(t.features||[]),this.desiredFeatures.add(w),this.runSoftNavOverSpa=[...this.desiredFeatures].some((e=>e.featureName===a.K7.softNav)),(0,d.j)(this,t,t.loaderType||"agent"),this.run()):(0,e.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}run(){try{const t=u(this.agentIdentifier),r=[...this.desiredFeatures];r.sort(((e,t)=>a.P3[e.featureName]-a.P3[t.featureName])),r.forEach((r=>{if(!t[r.featureName]&&r.featureName!==a.K7.pageViewEvent)return;if(this.runSoftNavOverSpa&&r.featureName===a.K7.spa)return;if(!this.runSoftNavOverSpa&&r.featureName===a.K7.softNav)return;const n=function(e){switch(e){case a.K7.ajax:return[a.K7.jserrors];case a.K7.sessionTrace:return[a.K7.ajax,a.K7.pageViewEvent];case a.K7.sessionReplay:return[a.K7.sessionTrace];case a.K7.pageViewTiming:return[a.K7.pageViewEvent];default:return[]}}(r.featureName).filter((e=>!(e in this.features)));n.length>0&&(0,e.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=new r(this)}))}catch(t){(0,e.R)(22,t);for(const e in this.features)this.features[e].abortHandler?.();const r=(0,R.Zm)();delete r.initializedAgents[this.agentIdentifier]?.api,delete r.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return r.ee.get(this.agentIdentifier).abort(),!1}}}({features:[he,w,N,Ne,_e,_,D,ot,ct,je,nt],loaderType:"spa"})})()})();</script> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="shortcut icon" type="image/png" href="https://dzuj8waaindrw.cloudfront.net/4cna5ixot2qsg.png"> <!-- jquery --> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery-3.5.1.min.js"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery-migrate-3.3.1.min.js"></script> <!-- <style> body {visibility:hidden;} </style> --> <link rel="stylesheet" href="/funraisin/fonts?ver=388"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/fontawesome/6.0/v4-shims.min.css"> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/fontawesome/6.0/v5-font-face.min.css"> <!-- BootStrap --> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/bootstrap/3.4.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/bootstrap/3.3.6/css/bootstrap-select.css"> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/slimmenu.min.css" type="text/css"> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/slimmenu.min.css" type="text/css"> <link rel="stylesheet" type="text/css" href="https://dvtuw1sdeyetv.cloudfront.net/OwlCarousel2/2.1.6/owl.carousel.min.css"> <link rel="stylesheet" type="text/css" href="https://dvtuw1sdeyetv.cloudfront.net/owl.carousel/assets/owl.transitions.css"> <link rel="stylesheet" type="text/css" href="https://dvtuw1sdeyetv.cloudfront.net/slick/slick.css"/> <link rel="stylesheet" type="text/css" href="https://dvtuw1sdeyetv.cloudfront.net/slick/slick-theme.css"/> <link rel="stylesheet" href="/funraisin.4.1/css/funraisin.4.1.helpers.css?ver=8.4"> <link rel="stylesheet" href="/funraisin.4.1/css/funraisin.4.1.css?ver=8.8"> <link rel="stylesheet" href="/funraisin/css?ver=388"> <link rel="stylesheet" href="/assets/css/site.css?ver=136" type="text/css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet"> <!-- jquery UI --> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/jquery.ui/1.12.1/jquery-ui.min.css"> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.ui/1.13.2/jquery-ui.min.js" type="text/javascript"></script> <!-- BootStrap --> <script src="https://dvtuw1sdeyetv.cloudfront.net/bootstrap/3.4.1/js/bootstrap.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/bootstrap/3.3.6/js/bootstrap-select.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.validation/1.19.5/jquery.validate.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.validation/1.19.5/additional-methods.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery-validate.bootstrap-tooltip.min.js" type="text/javascript"></script> <!-- Slimmenu --> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.slimmenu.min.js" type="text/javascript"></script> <!-- owl.carousel --> <script src="https://dvtuw1sdeyetv.cloudfront.net/OwlCarousel2/2.1.6/owl.carousel.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/slick-carousel/1.9.0/slick.min.js" type="text/javascript"></script> <!-- other --> <script src="https://dvtuw1sdeyetv.cloudfront.net/wow/1.1.2/wow.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.maskedinput.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.fine-uploader/jquery.fine-uploader-5.6.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/parallax.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery-circle-progress-master/dist/circle-progress.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.vide.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/isotope.js" type="text/javascript"></script> <!-- Funraisin.4.1 --> <script src="/funraisin.4.1/js/funraisin.4.1.js?ver=3.72" type="text/javascript"></script> <!-- google maps --> <script type="text/javascript" src="//maps.googleapis.com/maps/api/js?key=AIzaSyD3EHXV7Q3JwlOPS5QPqcbFFbuNs0cMLsg&libraries=places&callback=Function.prototype" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.geocomplete.min.js" type="text/javascript"></script> <!-- Developer --> <script src="/assets/js/site.js?ver=47" type="text/javascript"></script> <script> if (top.location != self.location) { top.location = self.location.href; } </script> <!--[if lt IE 9]> <script> document.createElement('header'); document.createElement('nav'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('main'); document.createElement('video'); </script> <![endif]--> <!-- Global CSS --> <style> #Footer > .container{ display:block; } </style> <!-- Global Tag Manager Code --> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5TV5SPS');</script> <!-- End Google Tag Manager --> <!-- Global Facebook Pixel Code --> <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '422701598268658'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=422701598268658&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code --> <!-- Specific Page Tracking Code --> <script> $(document).ready(function() { $("#Donation").insertAfter("#donation-page-content"); }); </script> <!-- specific page CSS --> <style> #donate-header-btn { width:175px; background: linear-gradient(75deg, rgb(45, 181, 179) 0%, rgb(46, 73, 153) 100%, rgb(45, 181, 179) 100%); padding:15px 30px; transition:1.5s; scroll-behavior:smooth; } #content-main .height-40 { display:none; } #Donation { padding-top:50px; } blockquote { border-color:#26306b!important; } #donatepage-icons img{ width:80px; height:auto; } .donate-btn-header{ transition:1.5s; } </style> <meta property="og:title" content="One Million Steps Challenge"/> <meta property="og:type" content="website"/> <meta property="og:url" content="https://donate.emsp.org/eur-donation"/> <meta property="og:image" content=""/> <meta property="og:site_name" content="European Multiple Sclerosis Platform"/> <meta property="og:description" content="Run, walk or complete miles to support the more than 1 million people living with Multiple Sclerosis in Europe." /> <meta property="fb:admins" content="651073063" /> <meta property="fb:app_id" content="413416570044885" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="European Multiple Sclerosis Platform" /> <meta name="twitter:title" content="One Million Steps Challenge" /> <meta name="twitter:description" content="Run, walk or complete miles to support the more than 1 million people living with Multiple Sclerosis in Europe." /> <meta name="twitter:image" content="" /> <meta name="twitter:url" content="https://donate.emsp.org/eur-donation" /> <link rel="canonical" href="https://donate.emsp.org/eur-donation" /> <script src="https://www.google.com/recaptcha/api.js?render=6LcVutIgAAAAAJzCYdAdbWjyvxLNRHWZriCWo5qK"></script> </head> <body class="template-donation"> <!-- Global Tag Manager Code --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5TV5SPS" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <script> window.fbAsyncInit = function() { FB.init({ appId : '413416570044885', autoLogAppEvents : false, xfbml : true, version : 'v12.0' }); $(document).trigger('fbload'); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="funraisin-page-left funraisin-header-nav" off-canvas="funraisin-page-left left push"> <div class="inner"> <nav class="funraisin-primary-nav"> <ul class="nav navbar-nav" role="navigation"> <li><a class="text" href="/"><i class="fa fa-home"></i> Home</a></li> <li class="clear spacer20"></li> <li><a href="/event/ms-awareness-run-2024/" target="" rel="no-opener" class="text ">Home</a></li> <li><a href="/register/ms-awareness-run-2024/" target="" rel="no-opener" class="text ">Fundraise</a></li> <li><a aria-label="Login" href="/login" class="lightbox btn-login "><i class='fa fa-user color-primary'></i> Login</a></li> </ul> </nav> </div> </div> <div class="funraisin-page-right" off-canvas="funraisin-page-right right push"> <div class="inner"> <div class="clear height-20"></div> <div class="line"></div> <div> <div class="col-sm-12 form-group"> <a class="btn btn-primary btn-block lightbox" href="/login">Login</a> </div> </div> </div> </div> <div class="funraisin-header-wrapper"> <div class="funraisin-desktop-nav"> <div class="funraisin-header-nav navigation-layout-right"> <div class="primary-nav-container"> <div class="container vertical-align"> <div class="col-sm-3"> <a href="/event/ms-awareness-run-2024/" class="site-logo"><img src="https://dzuj8waaindrw.cloudfront.net/pgbiyw8n26so04.svg" alt="European Multiple Sclerosis Platform" /></a> </div> <div class="col-sm-9"> <div class="row justify-content-end"> <nav class="col-auto funraisin-primary-nav pull-right" role="navigation"> <ul class="nav navbar-nav"> <li class="pl5 pr5 pt5 pb5"><a href="https://donate.emsp.org/eur-donation" target="" rel="no-opener" class="btn btn-primary ">Donate</a></li> <li class="pl5 pr5 pt5 pb5"><a href="https://donate.emsp.org/event/ms-awareness-run-2024/" target="" rel="no-opener" class="btn btn-secondary ">Fundraise</a></li> <li><a aria-label="Login" href="/login" class="lightbox btn-login "><i class='fa fa-user color-primary'></i> Login</a></li> </ul> </nav> </div> </div> </div><!-- container //--> </div><!-- primary-nav-container --> </div><!-- header-navigation //--> <style> .site-logo img {width:260px;} </style> </div> <div class="funraisin-mobile-nav"> <div class="funraisin-header-nav row vertical-align"> <div class="col-xs-3"> <button aria-expanded="false" class="c-hamburger c-hamburger--htx slide-left" aria-label="Main Menu"> <span></span> </button> </div> <div class="col-xs-6 text-center"> <a href="/event/ms-awareness-run-2024/" class="site-logo"><img src="https://dzuj8waaindrw.cloudfront.net/1oyek2rkicmj5.svg" alt="European Multiple Sclerosis Platform" /></a> </div> <div class="col-xs-3 text-right"> <a href="#" class="color-primary slide-right m5" aria-label="Open Login Menu"><span style="text-decoration:underline;">Login</span></a> <!-- <a href="#" class="color-primary slide-right m5"><i class="fa fa-search fa-2x" aria-hidden="true"></i></a> --> <button class="right-close slide-right right" aria-label="Close"> <span></span> </button> </div> </div> </div> <div class="vertical-align-container"> <div class="funraisin-header header-hero hero-text-right vertical-align width-full"> <div class="container height-full"> <div class="vertical-align height-full"> <div class="vertical-align-middle width-full"> <div class="col-md-12 pull-right header-text"> <h1 style="line-height: 100%;"><strong><span style="background-color: #ffffff; color: #2db5b3;"> The voice of people </span></strong></h1> <h1 style="line-height: 100%;"><strong><span style="background-color: #ffffff; color: #26306b;"> with Multiple Sclerosis </span></strong></h1> <h1 style="line-height: 100%;"><strong><span style="background-color: #ffffff; color: #26306b;"> in Europe </span></strong></h1> <p style="padding-top: 50px;"><a href="#Donation" class="btn btn-primary btn-xl donate-btn-header" data-style="btn btn-primary" id="donate-header-btn" data-size="btn-xl" data-identifier="donate-btn-header">Donate</a></p> </div> </div> </div> </div> </div> </div> <style> .funraisin-header { background-color: #f2f2f2;} .funraisin-header { min-height: 600px;} .funraisin-header { background-image: url('https://dzuj8waaindrw.cloudfront.net/x82y8ipwdvkw88w.png');background-size:cover;background-repeat:no-repeat;background-position:center center;} .funraisin-header:before {content: '';left: 0;width: 100%;height: 100%;display: block;background-color:#000000;opacity:0.15;position: absolute;top: 0;} .funraisin-header:before {content: '';left: 0;width: 100%;height: 100%;display: block;background-color:#000000;opacity:0.15;position: absolute;top: 0;} </style> <script> $(document).ready(function(){ }); </script> </div><!-- funraising header wrapper --> <main id="content-main"> <!-- breadcrumb --> <!-- breadcrumb --> <div class="height-40"></div> <!-- content --> <div class="content" id="Donation"> <form action="https://donate.emsp.org/processdonation" method="post" id="DonationForm" class="form-cards form-slick form-horizontal " > <input type="hidden" name="page_id" id="page_id" value="686" /> <input type="hidden" name="event_id" id="event_id" value="" /> <input type="hidden" name="mandatory" id="mandatory" value="d_fname,d_lname,d_email{email},d_amount{amount},d_receipt" /> <input type="hidden" name="d_amount" id="d_amount" value="" /> <input type="hidden" name="d_amount_sel" id="d_amount_sel" value="" /> <input type="hidden" name="d_fee" id="d_fee" value=""/> <input type="hidden" name="initial_amount" id="initial_amount" value=""/> <input type="hidden" name="fbuser_id" id="fbuser_id" value="" /> <input type="hidden" name="fbuser_pic" id="fbuser_pic" value="" /> <input type="hidden" name="donation_frequency" id="donation_frequency" value="" /> <input type="hidden" name="CSRFToken" value="a2ca3185d4a74d603ac19fb02ae86bf6" /> <input type="hidden" name="stripe_key" id="stripe_key" value="pk_live_aZRSMoGlGFdUpdP8zXLpP8cz" /> <input type="hidden" name="token" id="token" value="" /> <input type="hidden" name="payment_intent_id" id="payment_intent_id" /> <input type="hidden" name="card_brand" id="card_brand" /> <input type="hidden" name="card_country" id="card_country" /> <input type="hidden" name="elements_payment_method" id="elements_payment_method" value="card" /> <input type="hidden" name="elements_donation_type" id="elements_donation_type" value="donation" /> <input type="hidden" name="elements_refresh" id="elements_refresh" value="" /> <input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response" /> <p id="error" class='text-center error' style='display:none'> <b></b> </p> <div class="height-40"></div> <script> $('#donation_frequency_toggle a').click(function(){ $('#donation_frequency_toggle li').removeClass('active'); $(this).parent().addClass('active'); $('#donation_frequency').val($(this).data('rel')); $('#donatingfrequency').html($(this).data('rel')); if($('#payment_method').val()=='paypal' || $('#payment_method').val()=='eft') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').show(); $('#elements_paypal').hide(); $('.btn-pay-eft').hide(); }); </script> <div class="height-40"></div> <section> <div class="container"> <div class="steps-nav text-center"> <ul> <li class="color-primary border-primary" id="amountdetailstab">€</li> <li id="personaldetailstab"><i class="fa fa-user"></i></li> <li id="paymentdetailstab"><i class="fa fa-credit-card"></i></li> </ul> </div> </div> </section> <div class="height-20"></div> <div class="donation-steps pb40"> <div id="amountdetails" class="section"> <div class="container"> <h3 class="text-center">Please select a donation amount</h3> <div class="height-20"></div> <div class="donationHandlers oneoffdonationHandlers cards"> <div class="row vertical-align justify-center"> <div class="col-sm-3 col-xs-6 col-6 radio-panel"> <div class="radio " data-amount="15" role="button" aria-pressed="false" tabindex="0" aria-label="Donate €15" onKeyDown="handleBtnKeyDown(event)"> <div class="radio-border"> <div class="radio-amount btn btn-primary no-image"> <span>€15</span> </div> </div> </div> </div> <div class="col-sm-3 col-xs-6 col-6 radio-panel"> <div class="radio " data-amount="30" role="button" aria-pressed="false" tabindex="0" aria-label="Donate €30" onKeyDown="handleBtnKeyDown(event)"> <div class="radio-border"> <div class="radio-amount btn btn-primary no-image"> <span>€30</span> </div> </div> </div> </div> <div class="col-sm-3 col-xs-6 col-6 radio-panel"> <div class="radio " data-amount="60" role="button" aria-pressed="false" tabindex="0" aria-label="Donate €60" onKeyDown="handleBtnKeyDown(event)"> <div class="radio-border"> <div class="radio-amount btn btn-primary no-image"> <span>€60</span> </div> </div> </div> </div> <div class="col-sm-3 col-xs-6 col-6 radio-panel"> <div class="radio " data-amount="120" role="button" aria-pressed="false" tabindex="0" aria-label="Donate €120" onKeyDown="handleBtnKeyDown(event)"> <div class="radio-border"> <div class="radio-amount btn btn-primary no-image"> <span>€120</span> </div> </div> </div> </div> </div><!--row --> </div><!-- donationHandlers --> <div class="height-20"></div> <div class="row pb20"> <div class="col-sm-4"></div> <div class="col-sm-4 error-absolute"> <div class="input-group col-sm-12 float-center"> <span class="input-group-addon transparent border-radius-left color-primary size-125"> € </span> <input type="text" class="form-control bl-none size-1em pt10 pb5 pl0 pr0 height-auto" name="d_amount_free" id="d_amount_free" value="" onkeypress="$('#d_amount,#initial_amount').val(0);$('#d_amount_sel').val('');$('.radio').removeClass('selected').removeClass('notselected');$(this).parent().find('.input-group-addon').addClass('border-primary bg-primary').removeClass('color-primary transparent');$(this).addClass('bg-primary');this.placeholder = ''" onkeyup="RemoveJunk(this,'nofloat','EUR');" onblur="freeAmountBlur()" autocomplete="card_expiry_month" placeholder=" or enter your amount" aria-label=" or enter your amount"/> <script> function freeAmountBlur(){ if($('#d_amount_free').val()>0) { doFreeAmount(); calculateDonation(); } $('#d_amount_free').parent().find('.input-group-addon').removeClass('border-primary bg-primary').addClass('color-primary transparent'); $('#d_amount_free').removeClass('bg-primary'); this.placeholder = ' or enter your amount'; } </script> </div> </div> </div> <section id="frequencydetails"> <div class="container"> <div> <div class="height-10"></div> I’d like to make this donation: <ul id="donation_frequency_toggle" class="text-center list-inline row toggle-switch"> <li class="col-xs-3 bg-primary border-primary toggle-btn"><label data-rel="">Once</label></li> <li class="col-xs-3 toggle-btn"><label data-rel="weekly">Weekly</label></li> <li class="col-xs-3 toggle-btn"><label data-rel="monthly">Monthly</label></li> <li class="col-xs-3 toggle-btn"><label data-rel="yearly">Yearly</label></li> </ul> </div> <script> $('#donation_frequency_toggle label').click(function(){ if(typeof $(this).data('rel') !== 'undefined') { $('#donation_frequency_toggle li').removeClass('bg-primary border-primary'); $(this).closest(".toggle-btn").addClass('bg-primary border-primary'); $('#donation_frequency').val($(this).data('rel')); $('#donatingfrequency').html($(this).data('rel')); $('#FrequencyLabel').html('Choose Frequency <i class="fa-solid fa-chevron-down"></i>'); if($(this).data('rel')!='') { if($('#payment_method').val()=='paypal' || $('#payment_method').val()=='eft') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').show(); $('#elements_paypal').hide(); $('.btn-pay-eft').hide(); } else { if($('#payment_method').val()=='directdebit') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').hide(); $('#elements_paypal,.btn-pay-eft').show(); } $('#d_amount').trigger('change'); } }); $('#donation_frequency_toggle .dropdown-frequency').click(function(){ if($(this).data('rel')) { $('#donation_frequency_toggle li').removeClass('bg-primary border-primary'); $(this).closest(".toggle-btn").addClass('bg-primary border-primary'); $('#donation_frequency').val($(this).data('rel')); $('#donatingfrequency').html($(this).data('rel')); if($('#payment_method').val()=='paypal' || $('#payment_method').val()=='eft') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').show(); $('#elements_paypal').hide(); $('.btn-pay-eft').hide(); $('#FrequencyLabel').html($(this).text() + ' <i class="fa-solid fa-chevron-down"></i>'); if($(this).data('rel')!='') { if($('#payment_method').val()=='paypal' || $('#payment_method').val()=='eft') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').show(); $('#elements_paypal').hide(); $('.btn-pay-eft').hide(); } else { if($('#payment_method').val()=='directdebit') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').hide(); $('#elements_paypal,.btn-pay-eft').show(); } } }); </script> <div class="row"> <div class="col-xs-12 col-12"> <div class="text-center"> <button type="button" class="btn btn-primary btn-block btn-xl btn-next" rel="amountdetails"><span>Donate<span class="donate_amount"></span></span></button> <div class="height-20"></div> </div> </div> </div> </div> </section> </div> </div> <section class="section" id="personaldetails"> <div class="container"> <script> function receiptKeydown(event) { // Check to see if space or enter were pressed if (event.key === " " || event.key === "Enter" || event.key === "Spacebar") { // "Spacebar" for IE11 support // Prevent the default action to stop scrolling when space is pressed event.preventDefault(); $(event.target).trigger('click'); $('#d_receipt_container .toggle-btn').attr('aria-pressed','false'); event.target.setAttribute( "aria-pressed", "true" ); } } </script> <div class="col-sm-12 pb10" id="d_receipt_container"> <div class="text-center toggle-switch"> <label class="bg-primary border-primary col-xs-6 col-6 toggle-btn" onclick="$('#OrganisationInfo').slideUp(300);$('#mandatory').val($('#mandatory').val().replace(',d_organisation',''));$(this).parent().parent().find('label').removeClass('bg-primary border-primary');$(this).addClass('bg-primary border-primary');$('#gift_aid').parent().parent().visibleIn();" role="button" aria-pressed="true" tabindex="0" onKeyDown="receiptKeydown(event)"> <input type="radio" name="d_receipt" value="personal" checked="checked" /> Donate as individual </label> <label class="col-xs-6 col-6 toggle-btn" onclick="$('#OrganisationInfo').slideDown(300);$('#mandatory').val($('#mandatory').val() +',d_organisation');$(this).parent().parent().find('label').removeClass('bg-primary border-primary');$(this).addClass('bg-primary border-primary');$('#gift_aid').attr('checked',false);$('#gift_aid').parent().parent().visibleOut();" tabindex="0" role="button" aria-pressed="false" tabindex="0" onKeyDown="handleBtnKeyDown(event)"> <input type="radio" name="d_receipt" value="business" /> Donate as organisation </label> </div> </div> <div class="clearfix"></div> <div class="col-sm-6"> <div class="form-group" id="OrganisationInfo" style="display:none;"> <label class="col-sm-12 pt10 pb5" for="d_organisation">Organisation Name *</label> <div class="col-sm-12"> <input type="text" class="form-control" name="d_organisation" id="d_organisation" value="" /> </div> </div> </div> <div class="clearfix"></div> <div class="col-sm-6 Mandatory"> <div class="form-group"> <label class="col-sm-12 pt10 pb5" for="d_fname">First Name *</label> <div class="col-sm-12"> <input type="text" class="form-control" name="d_fname" id="d_fname" value="" autocomplete="given-name" /> </div> </div> </div> <div class="col-sm-6 Mandatory"> <div class="form-group"> <label class="col-sm-12 pt10 pb5" for="d_lname">Last Name *</label> <div class="col-sm-12"> <input type="text" class="form-control" name="d_lname" id="d_lname" value="" autocomplete="family-name" /> </div> </div> </div> <div class="col-sm-6 Mandatory"> <div class="form-group"> <label class="col-sm-12 pt10 pb5" for="d_email">Email Address *</label> <div class="col-sm-12"> <input type="text" class="form-control" name="d_email" id="d_email" value="" autocomplete="email" /> </div> </div> </div> <div class="col-sm-6 Mandatory"> <div class="form-group"> <label class="col-sm-12 pt10 pb5">Mobile </label> <div class="col-sm-12"> <div class="row"> <div class="left col-xs-4 col-4 pl0 pr0"> <select class="form-control" name="d_phone_mobile_suffix" id="d_phone_mobile_suffix"> <option value="+65">+65</option> <option value="+0">+0</option> <option value="+1">+1</option> <option value="+1242">+1242</option> <option value="+1246">+1246</option> <option value="+1264">+1264</option> <option value="+1268">+1268</option> <option value="+1345">+1345</option> <option value="+1441">+1441</option> <option value="+1473">+1473</option> <option value="+1649">+1649</option> <option value="+1664">+1664</option> <option value="+1670">+1670</option> <option value="+1671">+1671</option> <option value="+1684">+1684</option> <option value="+1758">+1758</option> <option value="+1767">+1767</option> <option value="+1784">+1784</option> <option value="+1787">+1787</option> <option value="+1809">+1809</option> <option value="+1868">+1868</option> <option value="+1869">+1869</option> <option value="+1876">+1876</option> <option value="+20">+20</option> <option value="+212">+212</option> <option value="+213">+213</option> <option value="+216">+216</option> <option value="+220">+220</option> <option value="+221">+221</option> <option value="+222">+222</option> <option value="+223">+223</option> <option value="+224">+224</option> <option value="+225">+225</option> <option value="+226">+226</option> <option value="+227">+227</option> <option value="+228">+228</option> <option value="+229">+229</option> <option value="+230">+230</option> <option value="+231">+231</option> <option value="+232">+232</option> <option value="+233">+233</option> <option value="+234">+234</option> <option value="+235">+235</option> <option value="+236">+236</option> <option value="+237">+237</option> <option value="+238">+238</option> <option value="+239">+239</option> <option value="+240">+240</option> <option value="+241">+241</option> <option value="+242">+242</option> <option value="+244">+244</option> <option value="+245">+245</option> <option value="+246">+246</option> <option value="+248">+248</option> <option value="+249">+249</option> <option value="+250">+250</option> <option value="+251">+251</option> <option value="+252">+252</option> <option value="+253">+253</option> <option value="+254">+254</option> <option value="+256">+256</option> <option value="+257">+257</option> <option value="+258">+258</option> <option value="+260">+260</option> <option value="+261">+261</option> <option value="+262">+262</option> <option value="+263">+263</option> <option value="+264">+264</option> <option value="+265">+265</option> <option value="+266">+266</option> <option value="+267">+267</option> <option value="+268">+268</option> <option value="+269">+269</option> <option value="+27">+27</option> <option value="+290">+290</option> <option value="+291">+291</option> <option value="+297">+297</option> <option value="+298">+298</option> <option value="+299">+299</option> <option value="+30">+30</option> <option value="+31">+31</option> <option value="+32">+32</option> <option value="+33">+33</option> <option value="+34">+34</option> <option value="+350">+350</option> <option value="+351">+351</option> <option value="+352">+352</option> <option value="+353">+353</option> <option value="+354">+354</option> <option value="+355">+355</option> <option value="+356">+356</option> <option value="+357">+357</option> <option value="+358">+358</option> <option value="+359">+359</option> <option value="+36">+36</option> <option value="+370">+370</option> <option value="+371">+371</option> <option value="+372">+372</option> <option value="+374">+374</option> <option value="+375">+375</option> <option value="+376">+376</option> <option value="+377">+377</option> <option value="+378">+378</option> <option value="+380">+380</option> <option value="+385">+385</option> <option value="+386">+386</option> <option value="+387">+387</option> <option value="+39">+39</option> <option value="+40">+40</option> <option value="+41">+41</option> <option value="+420">+420</option> <option value="+421">+421</option> <option value="+423">+423</option> <option value="+43">+43</option> <option value="+44">+44</option> <option value="+45">+45</option> <option value="+46">+46</option> <option value="+47">+47</option> <option value="+48">+48</option> <option value="+49">+49</option> <option value="+501">+501</option> <option value="+502">+502</option> <option value="+503">+503</option> <option value="+504">+504</option> <option value="+505">+505</option> <option value="+506">+506</option> <option value="+507">+507</option> <option value="+509">+509</option> <option value="+51">+51</option> <option value="+52">+52</option> <option value="+53">+53</option> <option value="+54">+54</option> <option value="+55">+55</option> <option value="+56">+56</option> <option value="+57">+57</option> <option value="+58">+58</option> <option value="+590">+590</option> <option value="+591">+591</option> <option value="+592">+592</option> <option value="+593">+593</option> <option value="+594">+594</option> <option value="+595">+595</option> <option value="+596">+596</option> <option value="+597">+597</option> <option value="+598">+598</option> <option value="+60">+60</option> <option value="+61">+61</option> <option value="+62">+62</option> <option value="+63">+63</option> <option value="+64">+64</option> <option value="+65" selected="selected">+65</option> <option value="+66">+66</option> <option value="+670">+670</option> <option value="+672">+672</option> <option value="+673">+673</option> <option value="+674">+674</option> <option value="+675">+675</option> <option value="+676">+676</option> <option value="+677">+677</option> <option value="+678">+678</option> <option value="+679">+679</option> <option value="+680">+680</option> <option value="+682">+682</option> <option value="+683">+683</option> <option value="+684">+684</option> <option value="+686">+686</option> <option value="+687">+687</option> <option value="+688">+688</option> <option value="+689">+689</option> <option value="+690">+690</option> <option value="+691">+691</option> <option value="+692">+692</option> <option value="+7">+7</option> <option value="+70">+70</option> <option value="+7370">+7370</option> <option value="+81">+81</option> <option value="+82">+82</option> <option value="+84">+84</option> <option value="+852">+852</option> <option value="+855">+855</option> <option value="+856">+856</option> <option value="+86">+86</option> <option value="+880">+880</option> <option value="+886">+886</option> <option value="+90">+90</option> <option value="+91">+91</option> <option value="+92">+92</option> <option value="+93">+93</option> <option value="+94">+94</option> <option value="+95">+95</option> <option value="+960">+960</option> <option value="+961">+961</option> <option value="+962">+962</option> <option value="+964">+964</option> <option value="+965">+965</option> <option value="+966">+966</option> <option value="+967">+967</option> <option value="+968">+968</option> <option value="+971">+971</option> <option value="+972">+972</option> <option value="+973">+973</option> <option value="+974">+974</option> <option value="+975">+975</option> <option value="+976">+976</option> <option value="+977">+977</option> <option value="+992">+992</option> <option value="+994">+994</option> <option value="+995">+995</option> <option value="+996">+996</option> <option value="+998">+998</option> </select> </div> <div class="col-sm-8 col-xs-8 col-8 pr0"> <input type="text" class="form-control phone-group" name="d_phone_mobile" id="d_phone_mobile" value="" /> </div> </div> </div> </div> </div> <div class="clearfix"></div> <input type="hidden" name="d_optin_text" value="I would like to receive emails with fundraising tips, news and inspiration." /> <div class="height-10"></div> <div class="col-sm-12"> <div class="form-group"> <div class="col-xs-12 col-12"> <div class="col-xs-4 col-4 right pr0 text-center toggle-switch"> <label class="toggle-btn grid-6 form-control d_optin" data-rel="Y"> <input type="radio" name="d_optin" value="Y" /> Yes </label> <label class="toggle-btn grid-6 form-control d_optin" data-rel="N" > <input type="radio" name="d_optin" value="N" /> No </label> </div> I would like to receive emails with fundraising tips, news and inspiration. <div class="clear"></div> </div> </div> </div> <div class="clear"></div> <div class="height-10"></div> <div class="height-20"></div> <div class="row"> <div class="col-xs-12 col-12"> <div class="text-center"> <button type="button" class="btn btn-primary btn-block btn-xl btn-next" rel="personaldetails"><span>Payment Options</span></button> <a class="btn-back"><span>Back</span></a> <div class="height-10"></div> </div> </div> </div> </div> </section> <section class="section" id="paymentdetails"> <div class="container"> <p id="error" class='text-center error' style='display:none'> <b></b> </p> <a href="javascript:void(0);" data-rel="" class="btn btn-payment-element btn-pay-creditcard" id="elements_credit_card"><img src="https://d1p2vuwzdwq826.cloudfront.net/cacd2a43ec8cb767ea934456b7916b4f.svg" alt="Credit Card" />Credit Card</a> <input type="hidden" name="payment_method" id="payment_method" value="credit card" /> <script> $('.btn-payment-element').on('click',function(){ $('#payment_method').val($(this).data('rel')); $('.btn-payment-element').addClass('fadeout'); $(this).removeClass('fadeout'); if($(this).data('rel')=='paypal') { $('#payment-element').addClass('hidden'); $('.payment-element-wrapper').hide(); $('.creditcard,.eft,.ideal').addClass('hidden'); $('.paypal').removeClass('hidden'); } else if($(this).data('rel')=='eft') { $('#payment-element').addClass('hidden'); $('.payment-element-wrapper').hide(); $('.creditcard,.paypal').addClass('hidden'); $('.eft').removeClass('hidden'); } else if($(this).data('rel')=='ideal') { $('.creditcard,.paypal,.eft').addClass('hidden'); $('.ideal').removeClass('hidden'); } else { $('#payment-element').removeClass('hidden'); $('.payment-element-wrapper').show(); $('.creditcard').removeClass('hidden'); $('.paypal,.eft,.ideal').addClass('hidden'); } }); </script> <div class="col-sm-12 ideal hidden"> <div class="form-group"> <div class="col-sm-12 pt20 pb20"> </div> </div> </div> <div class="height-20"></div> <div class="payment-element-wrapper"> <div id="payment-element" class="col-xs-12 col-12 col-12" style="height:auto;"> </div> <div class="col-xs-12 col-12 col-12" id="payment-element-loader" style="display:none;height:100%;"> <div class="vertical-align justify-center" style="height:100%;"> <div class="circle-loader" style="width:100px;height:100px;"></div> </div> </div> </div> <div class="col-sm-6 donation-amount-display"> <div class="form-group"> <label class="col-sm-12 pt10">Donation Amount</label> <div class="col-sm-4"> €<span id="amountdonating">0.00</span> <span id="donatingfrequency"></span> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <input type="checkbox" name="d_optin_fees" id="d_optin_fees" value="Y" checked="checked" /> I'd like to add a little extra to help cover fees. <span id="amountfees"></span> </div> </div> <div class="height-20"></div> <div class="text-center row"> <div class="col-xs-12 col-12"> <button type="submit" class="btn btn-primary btn-xl btn-block btn-donate-display"><span>Donate Now</span></button> <a class="btn-back"><span>Back</span></a> <div class="height-10"></div> </div> </div> </div> </section> </div> <script> $(document).ready(function () { $('.radio-text').matchHeight(); $('.radio').matchHeight(); }); function toggleBtn(ele) { $('.radio').attr('aria-pressed','false'); ele.setAttribute( "aria-pressed", "true" ); $(ele).trigger('click'); } function handleBtnKeyDown(event) { // Check to see if space or enter were pressed if (event.key === " " || event.key === "Enter" || event.key === "Spacebar") { // "Spacebar" for IE11 support // Prevent the default action to stop scrolling when space is pressed event.preventDefault(); toggleBtn(event.target); } } $(document).on('focus', '.radio',function(){ $('.radio').addClass('nothover'); $(this).removeClass('nothover'); $(this).addClass('hover'); return false; }); $('.radio').hover(function(){ $('.radio').addClass('nothover'); $(this).removeClass('nothover'); $(this).addClass('hover'); return false; }, function() { $('.radio').removeClass('nothover'); $(this).removeClass('hover'); }); $('.radio').click(function(){ $('#d_amount_free').val(''); $('#d_amount,#initial_amount').val($(this).attr('data-amount')); $('#d_amount_sel').val($(this).attr('data-amount')); $('.radio').addClass('notselected'); $('.radio').removeClass('selected'); $(this).removeClass('notselected'); $(this).addClass('selected'); $('#amountdonating').html($(this).attr('data-amount')); $('.previewamount').html($(this).attr('data-amount')); calculateDonation(); setTimeout(function(){ $('html, body').animate({scrollTop: parseInt($('#frequencydetails').offset().top) - 150}, 1000); },200); //$('.donate_amount').html(' €' + $(this).attr('data-amount')); $('button[rel="amountdetails"]').addClass('btn-pulse'); setTimeout(function(){$('button[rel="amountdetails"]').removeClass('btn-pulse')},1000); return false; }); </script> <script> $('#d_lname').on('blur',function(){ if($('#d_display_name').val()=='') { if(document.getElementById("d_lname_prefix") && $('#d_lname_prefix').val()!='') { $('#d_display_name').val($('#d_fname').val() + ' ' + $('#d_lname_prefix').val() + ' ' + $('#d_lname').val()).trigger('change'); } else { $('#d_display_name').val($('#d_fname').val() + ' ' + $('#d_lname').val()).trigger('change'); } } }); $('#d_display_name').on('change',function(){ $('.display-name').text($(this).val()); }); $('#d_comments').on('change',function(){ $('.comments-block').text($(this).val()); }); $(document).ready(function(){ }); function donationDetailsTooltip() { if($("#d_fname").val()=='') { $("#d_fname").valid(); } if($("#d_lname").val()=='') { $("#d_lname").valid(); } if($("#d_email").val()=='' || !validEmail($("#d_email").val())) { $("#d_email").valid(); } if($("#d_organisation").val()=='' && $('input[name=d_receipt]:checked').val()=='business') { $("#d_organisation").valid(); } } function donationDetails(missingFields) { $('#d_fname,#d_lname,#d_email,#d_phone_mobile,#d_phone,#d_gender').parent().parent().removeClass('invalid'); if($("#d_fname").val()=='') { missingFields.isMissing=true; } if($("#d_lname").val()=='') { missingFields.isMissing=true; } if($("#d_email").val()=='' || !validEmail($("#d_email").val())) { missingFields.isMissing=true; } if($("#d_organisation").val()=='' && $('input[name=d_receipt]:checked').val()=='business') { missingFields.isMissing=true; } } function inMemoryDetailsToolTip() { if($("#in_memory_fname").val()=='') { $("#in_memory_fname").valid(); } if($("#in_memory_lname").val()=='') { $("#in_memory_lname").valid(); } if($("input[name='in_memory_card']").is(':checked')) { if($("#in_memory_address1").val()=='') { $("#in_memory_address1").valid(); } } } function inMemoryDetails(missingFields) { $('#in_memory_fname,#in_memory_lname,#in_memory_address1').parent().parent().removeClass('invalid'); if($("#in_memory_fname").val()=='') { missingFields.isMissing=true; } if($("#in_memory_lname").val()=='') { missingFields.isMissing=true; } if($("input[name='in_memory_card']").is(':checked')) { if($("#in_memory_address1").val()=='') { missingFields.isMissing=true; } } } $(document).ready(function(){ $('.donation-steps').slick({ arrows: false, dots: false, infinite: false, swipe: false, cssEase: 'ease-out', rows: 0, }); }); $('#DonationForm').on('keyup keypress', function(e) { var keyCode = e.keyCode || e.which; if (keyCode === 13) { console.log(keyCode); e.preventDefault(); var missingFields= {isMissing:false}; var currentSlide = $(".donation-steps").slick("slickCurrentSlide"); var $slides = $(".donation-steps").slick("getSlick").$slides; var currentpanel = $slides.eq(currentSlide).get(0).id; if(currentpanel=='') { currentpanel = $('.slick-slide[data-slick-index='+currentSlide+']').find('.section').attr('id'); } if (currentpanel == 'amountdetails') { if(($('#d_amount').val() == "" || $('#d_amount').val() == 0)&&($('#d_amount_free').val() == "" || $('#d_amount_free').val() == 0)) { //$('#dialogue').html('<p>Please choose or enter a donation amount</p>').dialog(); BootstrapDialog.show({ title: 'Oops!', message: 'Please choose or enter a donation amount', }); missingFields.isMissing = true; } } else if (currentpanel == 'personaldetails') { donationDetails(missingFields); if (missingFields.isMissing) { donationDetailsTooltip(); } } else if (currentpanel == 'inmemorydetails') { inMemoryDetails(missingFields); if (missingFields.isMissing) { inMemoryDetailsToolTip(); } } if(!missingFields.isMissing) { $(".donation-steps").slick('slickNext'); } else { if($(".form-control.invalid").length>0) { $('html, body').animate({ scrollTop: $(".form-control.invalid").first().offset().top-80 }, 500); } } return false; } }); $('.btn-next').on('click',function(){ var missingFields= {isMissing:false}; var currentSlide = $(".donation-steps").slick("slickCurrentSlide"); var $slides = $(".donation-steps").slick("getSlick").$slides; var currentpanel = $slides.eq(currentSlide).get(0).id; if(currentpanel=='') { currentpanel = $('.slick-slide[data-slick-index='+currentSlide+']').find('.section').attr('id'); } if (currentpanel == 'amountdetails') { if($('#d_amount').val() == "" || $('#d_amount').val() == 0) { //$('#dialogue').html('<p>Please choose or enter a donation amount</p>').dialog(); BootstrapDialog.show({ title: 'Oops!', message: 'Please choose or enter a donation amount', }); missingFields.isMissing = true; } } else if (currentpanel == 'personaldetails') { donationDetails(missingFields); if (missingFields.isMissing) { donationDetailsTooltip(); } } else if (currentpanel == 'inmemorydetails') { inMemoryDetails(missingFields); if (missingFields.isMissing) { inMemoryDetailsToolTip(); } } if(!missingFields.isMissing) { $(".donation-steps").slick('slickNext'); } else { if($(".form-control.invalid").length>0) { $('html, body').animate({ scrollTop: $(".form-control.invalid").first().offset().top-80 }, 500); } } }); $('.btn-back').on('click',function(){ $(".donation-steps").slick('slickPrev'); }); $(".donation-steps").on('afterChange', function(event, slick, currentSlide, nextSlide){ enableElements = true; LoadElementsDiv(); var $slides = $('.donation-steps').slick("getSlick").$slides; var id = $slides.eq(currentSlide).get(0).id; if(id=='') { id = $('.slick-slide[data-slick-index='+currentSlide+']').find('.section').attr('id'); } $('.steps-nav ul li').removeClass('color-primary border-primary'); if (id == 'amountdetails') { $('#amountdetailstab').addClass('color-primary border-primary'); } else if (id == 'personaldetails') { $('#personaldetailstab').addClass('color-primary border-primary'); } else if (id == 'paymentdetails') { $('#paymentdetailstab').addClass('color-primary border-primary'); } else if (id == 'inmemorydetails') { $('#memorydetailstab').addClass('color-primary border-primary'); } else if (id == 'formdetails') { $('#formdetailstab').addClass('color-primary border-primary'); } setTimeout(function(){ $('html, body').animate({scrollTop: parseInt($('.donation-steps').offset().top) - 200}, 500); },200); }); $('#amountdetailstab').on('click',function(){ $('.donation-steps').slick('slickGoTo',$('.donation-steps').find('#amountdetails').data('slick-index')); }); $('#personaldetailstab').on('click',function(){ var missingFields= {isMissing:false}; if($('#d_amount').val() == "") { //$('#dialogue').html('<p>Please choose a donation amount</p>').dialog(); BootstrapDialog.show({ title: 'Oops!', message: 'Please choose or enter a donation amount', }); missingFields.isMissing = true; } if (!missingFields.isMissing) { $('.donation-steps').slick('slickGoTo',$('.donation-steps').find('#personaldetails').data('slick-index')); } }); $('#paymentdetailstab').on('click',function(){ var missingFields= {isMissing:false}; if($('#d_amount').val() == "") { //$('#dialogue').html('<p>Please choose a donation amount</p>').dialog(); BootstrapDialog.show({ title: 'Oops!', message: 'Please choose or enter a donation amount', }); missingFields.isMissing = true; } if (!missingFields.isMissing) { donationDetails(missingFields); if (!missingFields.isMissing) { $('.donation-steps').slick('slickGoTo',$('.donation-steps').find('#paymentdetails').data('slick-index')); } else { $('.donation-steps').slick('slickGoTo',$('.donation-steps').find('#personaldetails').data('slick-index')); } } }); </script> <div class="height-30"></div> </form> </div><!-- content --> <div class="content lumps-wrapper"> <!-- row --> <div class="lump-row row row-all row-row " id="Row1264" > <!-- container --> <div class="container"> <!-- Vertical Alignment --> <div class="vertical-align-top responsive-padding "> <div data-lump="2491" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2491" data-wow-offset="50" data-type="1col" data-columns="12" > <div class="lump-1col"> <p style="line-height: 150%; text-align: right;"><span style="font-size: 18px;">Credit: Lurdes R. Basolí | <a href="http://www.underpressureproject.eu/web/" target="_blank" class="" rel="noopener noreferrer"><span style="color: #ffffff;">Under</span> <span style="color: #ffffff;">Pressure</span></a></span></p></div> <div class="column-spacer"></div> <style> #Lump2491 {color:#ffffff;} </style> <style> #Lump2491 {padding:20px 15px 20px 15px;} </style> <style> #Lump2491 {margin:-100px auto auto auto;} </style> </div><!-- lump --> </div> </div><!-- container grid --> <style> #Row1264 .container {padding:0 15px 0 15px;} </style> <style> #Row1264 .container,#Row1264 .funraisin-admin-editrow {margin: ;} </style> </div><!-- row --> <!-- row --> <div class="lump-row row row-all row-row " id="donation-page-content" > <!-- container --> <div class="container"> <!-- Vertical Alignment --> <div class="vertical-align-middle responsive-padding "> <div data-lump="2492" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2492" data-wow-offset="50" data-type="1col" data-columns="12" > <div class="lump-1col"> <p style="line-height: 175%;"><span style="font-size: 18px;">In 2011, Armelle won the Gold Medal for disabled archery for the city of Paris. She did not let MS undermine her strength and balance. Yet, she still faces constant challenges to access treatment, care, employment or social support, besides dealing with her symptoms.</span></p> <p style="line-height: 175%;"><span style="font-size: 18px;">There are more than 1 million people living with Multiple Sclerosis in Europe fighting the same battle every day.</span></p> <blockquote> <p style="line-height: 175%;"><span style="font-size: 18px;"><strong>With your generous support, EMSP continues to fight to end MS while improving the quality of life of people affected by the disease. Your gift drives EMSP projects to influence decision-makers, to keep people with MS in work, and to empower them to become advocates for change.</strong></span></p> </blockquote></div> <div class="column-spacer"></div> <style> #Lump2492 {padding:20px 15px 20px 15px;} </style> <style> #Lump2492 {margin: ;} </style> </div><!-- lump --> </div> </div><!-- container grid --> <style> #donation-page-content {background:#f3f3f3;} </style> <style> #donation-page-content .container {padding:40px 15px 40px 15px;} </style> <style> #donation-page-content .container,#donation-page-content .funraisin-admin-editrow {margin: ;} </style> </div><!-- row --> <!-- row --> <div class="lump-row row row-all row-row " id="Row1173" > <!-- container --> <div class="container"> <!-- Vertical Alignment --> <div class="vertical-align-top responsive-padding "> <div data-lump="2103" class=" lump col-md-12 col-sm-12 col-xs-12 float-center row-all " id="Lump2103" data-wow-offset="50" data-type="1col" data-columns="12" > <div class="lump-1col"> <h2 style="text-align: center;">We use your gift wisely</h2></div> <div class="column-spacer"></div> <style> #Lump2103 {padding:20px 15px 20px 15px;} </style> <style> #Lump2103 {margin: ;} </style> </div><!-- lump --> <div data-lump="2105" class="vertical-align-top lump-column lump col-md-4 col-sm-4 col-xs-12 float-left row-all " id="Lump2105" data-wow-offset="50" data-type="column" data-columns="4" > <div data-lump="2108" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="donatepage-icons" data-wow-offset="50" data-type="textimage" > <div class="lump-textimage"> <div class="row"> <div class="col-sm-12"> <img src="https://dzuj8waaindrw.cloudfront.net/dww4qfytunwc8w.svg" title="" alt="" class="img-responsive center-block" /> </div> <div class="col-sm-12"> <h4 style="line-height: 175%; text-align: center;">EMSP projects</h4> <p style="line-height: 175%; text-align: left;">To develop European projects fighting for access to high-quality equitable treatment, care and employment. Enhance patient involvement in research and data collection and influence European policies with evidence to meet the needs of people affected by MS in Europe.</p> <p></p> </div> </div> </div> <style> #donatepage-icons {margin: ;} </style> <style> #donatepage-icons {padding:20px 15px 20px 15px;} </style> </div> <div class="column-spacer"></div> <style> #Lump2105 {padding:0 0 0 0;} </style> <style> #Lump2105 {margin: ;} </style> </div><!-- lump --> <div data-lump="2106" class="vertical-align-top lump-column lump col-md-4 col-sm-4 col-xs-12 float-left row-all " id="Lump2106" data-wow-offset="50" data-type="column" data-columns="4" > <div data-lump="2109" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="donatepage-icons" data-wow-offset="50" data-type="textimage" > <div class="lump-textimage"> <div class="row"> <div class="col-sm-12"> <img src="https://dzuj8waaindrw.cloudfront.net/e16igefg3r.svg" title="" alt="" class="img-responsive center-block" /> </div> <div class="col-sm-12"> <h4 style="line-height: 175%; text-align: center;">Keep people with MS in work</h4> <p style="line-height: 175%;">To raise awareness for providing better access to employment and social care to people with MS, highlighting the value of work to people with chronic illnesses. We provide resources for people with MS, employers, healthcare professionals and decision-makers to overcome the challenges in the workplace.</p> <p></p> </div> </div> </div> <style> #donatepage-icons {margin: ;} </style> <style> #donatepage-icons {padding:20px 15px 20px 15px;} </style> </div> <div class="column-spacer"></div> <style> #Lump2106 {padding:0 0 0 0;} </style> <style> #Lump2106 {margin: ;} </style> </div><!-- lump --> <div data-lump="2107" class="vertical-align-top lump-column lump col-md-4 col-sm-4 col-xs-12 float-left row-all " id="Lump2107" data-wow-offset="50" data-type="column" data-columns="4" > <div data-lump="2110" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="donatepage-icons" data-wow-offset="50" data-type="textimage" > <div class="lump-textimage"> <div class="row"> <div class="col-sm-12"> <img src="https://dzuj8waaindrw.cloudfront.net/ia19zuxykhkws4.svg" title="" alt="" class="img-responsive center-block" /> </div> <div class="col-sm-12"> <h4 style="line-height: 175%; text-align: center;">Empowerment</h4> <p style="line-height: 175%; text-align: left;">To empower member organisations and young people living with MS in Europe, so that they can bring together the MS community, advocate and raise awareness of the disease at the national level.</p> </div> </div> </div> <style> #donatepage-icons {margin: ;} </style> <style> #donatepage-icons {padding:20px 15px 20px 15px;} </style> </div> <div class="column-spacer"></div> <style> #Lump2107 {padding:0 0 0 0;} </style> <style> #Lump2107 {margin: ;} </style> </div><!-- lump --> </div> </div><!-- container grid --> <style> #Row1173 {background:#f3f3f3;} </style> <style> #Row1173 .container {padding:40px 15px 40px 15px;} </style> <style> #Row1173 .container,#Row1173 .funraisin-admin-editrow {margin: ;} </style> </div><!-- row --> <!-- row --> <div class="lump-row row row-all row-row " id="Row1170" > <!-- container --> <div class="container"> <!-- Vertical Alignment --> <div class="vertical-align-top responsive-padding "> <div data-lump="2096" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2096" data-wow-offset="50" data-type="1col" data-columns="12" > <div class="lump-1col"> <h2 style="text-align: center;">FAQ</h2></div> <div class="column-spacer"></div> <style> #Lump2096 {padding:20px 15px 20px 15px;} </style> <style> #Lump2096 {margin: ;} </style> </div><!-- lump --> <div data-lump="2116" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2116" data-wow-offset="50" data-type="faq" data-columns="12" > <style> #Lump2116 .section-wrapper { border: 0px solid #000; overflow: hidden; border-radius: 0px; } #Lump2116 .section-question { background: ; padding: 10px 15px; } #Lump2116 .section-answer { background: ; padding: 10px 15px; } @media(min-width: 768px) { #Lump2116 .section-question { background: ; padding: 10px 30px; } #Lump2116 .section-answer { background: ; padding: 10px 30px; } } #Lump2116 .section-question * { color: #000; } #Lump2116 .section-answer * { color: #000; } #Lump2116 .no-border { border-top: 0; border-left: 0; border-right: 0; } #Lump2116 .section-question .button .plus, #Lump2116 .section-question .button .minus { width: 30px; height: 30px; top: auto; left: auto; line-height: 30px; color: ; font-size: 30px; transition: opacity 0.2s ease-in-out; transform: none; } #Lump2116 .section-question .plus:before, #Lump2116 .section-question .minus:before { color: inherit; } #Lump2116 .section-question .button { border-color: ; } #Lump2116 .border-none { border: none; } #Lump2116 .flex { display: flex; gap: 30px; align-items: center; justify-items: center; } #Lump2116 .flex .lump_faq_question { flex: 1; } #Lump2116 .flex .after_question, #Lump2116 .flex .before_question { flex: 0 0 30px; } </style> <div class="lump-faq"> <div class="section-wrapper"> <div class="section-question" id="question2116"> <div class="flex"> <div class="before_question hidden"> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="button border-none circle plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button circle border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> <div class="lump_faq_question"> <h4>What is MS?</h4> </div> <div class="after_question "> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="border-none button plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> </div> </div> <div class="clear"></div> <div class="section-answer"> <div class="lump_faq_answer"> <p>Multiple sclerosis (MS) is a complex neurological condition – one of the most common long-term conditions affecting the nerves in the brain and spinal cord – for which there is currently no cure.</p> <p>There are currently over 1 million people affected with MS in Europe who need your help.</p> <p><a href="http://www.emsp.org/about-ms/" target="_blank" class="btn btn-primary " data-style="btn btn-primary" rel="noopener noreferrer">Read more</a></p> </div> <div class="clear"></div> </div> </div> </div> <script> $(function() { $('#question2116').on('click', function() { if ($(this).parent().find('.section-answer').is(':visible')) { $(this).parent().find('.section-answer').slideUp(); $(this).removeClass('active'); } else { $(this).parent().find('.section-answer').slideDown(); $(this).addClass('active'); } }); $('.funraisin-body-admin #Lump2116 .funraisin-admin-lumpborder').click(function() { $('#Lump2116 .section-answer').css('display', 'flex').addClass('active'); }); $('.funraisin-body-admin .admin-lump-options').click(function() { $('#Lump2116 .section-answer').css('display', 'none').addClass('active'); }); }); </script> <div class="column-spacer"></div> <style> #Lump2116 {padding:20px 15px 20px 15px;} </style> <style> #Lump2116 {margin: ;} </style> </div><!-- lump --> <div data-lump="2095" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2095" data-wow-offset="50" data-type="faq" data-columns="12" > <style> #Lump2095 .section-wrapper { border: 0px solid #000; overflow: hidden; border-radius: 0px; } #Lump2095 .section-question { background: ; padding: 10px 15px; } #Lump2095 .section-answer { background: ; padding: 10px 15px; } @media(min-width: 768px) { #Lump2095 .section-question { background: ; padding: 10px 30px; } #Lump2095 .section-answer { background: ; padding: 10px 30px; } } #Lump2095 .section-question * { color: #000; } #Lump2095 .section-answer * { color: #000; } #Lump2095 .no-border { border-top: 0; border-left: 0; border-right: 0; } #Lump2095 .section-question .button .plus, #Lump2095 .section-question .button .minus { width: 30px; height: 30px; top: auto; left: auto; line-height: 30px; color: ; font-size: 30px; transition: opacity 0.2s ease-in-out; transform: none; } #Lump2095 .section-question .plus:before, #Lump2095 .section-question .minus:before { color: inherit; } #Lump2095 .section-question .button { border-color: ; } #Lump2095 .border-none { border: none; } #Lump2095 .flex { display: flex; gap: 30px; align-items: center; justify-items: center; } #Lump2095 .flex .lump_faq_question { flex: 1; } #Lump2095 .flex .after_question, #Lump2095 .flex .before_question { flex: 0 0 30px; } </style> <div class="lump-faq"> <div class="section-wrapper"> <div class="section-question" id="question2095"> <div class="flex"> <div class="before_question hidden"> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="button border-none circle plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button circle border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> <div class="lump_faq_question"> <h4>What does EMSP do?</h4> </div> <div class="after_question "> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="border-none button plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> </div> </div> <div class="clear"></div> <div class="section-answer"> <div class="lump_faq_answer"> <p>The European Multiple Sclerosis Platform (EMSP) is a Pan-European NGO working together with 43 member organisations from 37 European countries, to ensure that the more than 1 million people living affected by MS in Europe have a real voice in determining their own priorities. Their needs are the main focus of our advocacy and awareness-raising campaigns to influence European decision-makers and EU policy-makers.</p> <p><a href="http://annualreport.emsp.org/" target="_blank" class="btn btn-primary " data-style="btn btn-primary" rel="noopener noreferrer">Read more</a></p> </div> <div class="clear"></div> </div> </div> </div> <script> $(function() { $('#question2095').on('click', function() { if ($(this).parent().find('.section-answer').is(':visible')) { $(this).parent().find('.section-answer').slideUp(); $(this).removeClass('active'); } else { $(this).parent().find('.section-answer').slideDown(); $(this).addClass('active'); } }); $('.funraisin-body-admin #Lump2095 .funraisin-admin-lumpborder').click(function() { $('#Lump2095 .section-answer').css('display', 'flex').addClass('active'); }); $('.funraisin-body-admin .admin-lump-options').click(function() { $('#Lump2095 .section-answer').css('display', 'none').addClass('active'); }); }); </script> <div class="column-spacer"></div> <style> #Lump2095 {padding:20px 15px 20px 15px;} </style> <style> #Lump2095 {margin: ;} </style> </div><!-- lump --> <div data-lump="2093" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2093" data-wow-offset="50" data-type="faq" data-columns="12" > <style> #Lump2093 .section-wrapper { border: 0px solid #000; overflow: hidden; border-radius: 0px; } #Lump2093 .section-question { background: ; padding: 10px 15px; } #Lump2093 .section-answer { background: ; padding: 10px 15px; } @media(min-width: 768px) { #Lump2093 .section-question { background: ; padding: 10px 30px; } #Lump2093 .section-answer { background: ; padding: 10px 30px; } } #Lump2093 .section-question * { color: #000; } #Lump2093 .section-answer * { color: #000; } #Lump2093 .no-border { border-top: 0; border-left: 0; border-right: 0; } #Lump2093 .section-question .button .plus, #Lump2093 .section-question .button .minus { width: 30px; height: 30px; top: auto; left: auto; line-height: 30px; color: ; font-size: 30px; transition: opacity 0.2s ease-in-out; transform: none; } #Lump2093 .section-question .plus:before, #Lump2093 .section-question .minus:before { color: inherit; } #Lump2093 .section-question .button { border-color: ; } #Lump2093 .border-none { border: none; } #Lump2093 .flex { display: flex; gap: 30px; align-items: center; justify-items: center; } #Lump2093 .flex .lump_faq_question { flex: 1; } #Lump2093 .flex .after_question, #Lump2093 .flex .before_question { flex: 0 0 30px; } </style> <div class="lump-faq"> <div class="section-wrapper"> <div class="section-question" id="question2093"> <div class="flex"> <div class="before_question hidden"> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="button border-none circle plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button circle border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> <div class="lump_faq_question"> <h4 style="text-align: left;">How do I send money?</h4> </div> <div class="after_question "> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="border-none button plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> </div> </div> <div class="clear"></div> <div class="section-answer"> <div class="lump_faq_answer"> <p style="text-align: left;">Donations made via the donation form will be automatically sent to EMSP.</p> </div> <div class="clear"></div> </div> </div> </div> <script> $(function() { $('#question2093').on('click', function() { if ($(this).parent().find('.section-answer').is(':visible')) { $(this).parent().find('.section-answer').slideUp(); $(this).removeClass('active'); } else { $(this).parent().find('.section-answer').slideDown(); $(this).addClass('active'); } }); $('.funraisin-body-admin #Lump2093 .funraisin-admin-lumpborder').click(function() { $('#Lump2093 .section-answer').css('display', 'flex').addClass('active'); }); $('.funraisin-body-admin .admin-lump-options').click(function() { $('#Lump2093 .section-answer').css('display', 'none').addClass('active'); }); }); </script> <div class="column-spacer"></div> <style> #Lump2093 {padding:20px 15px 20px 15px;} </style> <style> #Lump2093 {margin: ;} </style> </div><!-- lump --> <div data-lump="2094" class=" lump col-md-12 col-sm-12 col-xs-12 float-left row-all " id="Lump2094" data-wow-offset="50" data-type="faq" data-columns="12" > <style> #Lump2094 .section-wrapper { border: 0px solid #000; overflow: hidden; border-radius: 0px; } #Lump2094 .section-question { background: ; padding: 10px 15px; } #Lump2094 .section-answer { background: ; padding: 10px 15px; } @media(min-width: 768px) { #Lump2094 .section-question { background: ; padding: 10px 30px; } #Lump2094 .section-answer { background: ; padding: 10px 30px; } } #Lump2094 .section-question * { color: #000; } #Lump2094 .section-answer * { color: #000; } #Lump2094 .no-border { border-top: 0; border-left: 0; border-right: 0; } #Lump2094 .section-question .button .plus, #Lump2094 .section-question .button .minus { width: 30px; height: 30px; top: auto; left: auto; line-height: 30px; color: ; font-size: 30px; transition: opacity 0.2s ease-in-out; transform: none; } #Lump2094 .section-question .plus:before, #Lump2094 .section-question .minus:before { color: inherit; } #Lump2094 .section-question .button { border-color: ; } #Lump2094 .border-none { border: none; } #Lump2094 .flex { display: flex; gap: 30px; align-items: center; justify-items: center; } #Lump2094 .flex .lump_faq_question { flex: 1; } #Lump2094 .flex .after_question, #Lump2094 .flex .before_question { flex: 0 0 30px; } </style> <div class="lump-faq"> <div class="section-wrapper"> <div class="section-question" id="question2094"> <div class="flex"> <div class="before_question hidden"> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="button border-none circle plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button circle border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> <div class="lump_faq_question"> <h4>Do I get a receipt for my donation?</h4> </div> <div class="after_question "> <div class="button border-none solid_circle_plus hidden"> <span class="plus material-icons"> add_circle </span> <span class="minus material-icons"> remove_circle </span> </div> <div class="button border-none solid_arrow hidden"> <span class="plus material-icons"> expand_circle_down </span> <span class="minus material-icons" style="rotate:180deg;"> expand_circle_down </span> </div> <div class="button border-none plus_and_minus "> <span class="plus material-icons"> add </span> <span class="minus material-icons"> remove </span> </div> <div class="border-none button plus_and_minus_with_circle hidden"> <span class="plus material-icons-outlined"> add_circle_outline </span> <span class="minus material-icons-outlined"> remove_circle_outline </span> </div> <div class="button border-none arrows hidden"> <span class="plus material-icons"> expand_more </span> <span class="minus material-icons"> expand_less </span> </div> </div> </div> </div> <div class="clear"></div> <div class="section-answer"> <div class="lump_faq_answer"> <p>Yes, you should be emailed a receipt for your donation. If you haven’t received any, please email us straight away at <a href="mailto:donation@emsp.org" target="_blank" rel="noopener noreferrer"><span lang="HU">donation@emsp.org</span></a><span lang="HU"> </span> and we will resend it to you asap!</p> </div> <div class="clear"></div> </div> </div> </div> <script> $(function() { $('#question2094').on('click', function() { if ($(this).parent().find('.section-answer').is(':visible')) { $(this).parent().find('.section-answer').slideUp(); $(this).removeClass('active'); } else { $(this).parent().find('.section-answer').slideDown(); $(this).addClass('active'); } }); $('.funraisin-body-admin #Lump2094 .funraisin-admin-lumpborder').click(function() { $('#Lump2094 .section-answer').css('display', 'flex').addClass('active'); }); $('.funraisin-body-admin .admin-lump-options').click(function() { $('#Lump2094 .section-answer').css('display', 'none').addClass('active'); }); }); </script> <div class="column-spacer"></div> <style> #Lump2094 {padding:20px 15px 20px 15px;} </style> <style> #Lump2094 {margin: ;} </style> </div><!-- lump --> </div> </div><!-- container grid --> <style> #Row1170 {background:#fafafa;} </style> <style> #Row1170 > .container, #Row1170 > .container-fluid {width:600px;} </style> <style> #Row1170 .container {padding:40px 15px 80px 15px;} </style> <style> #Row1170 .container,#Row1170 .funraisin-admin-editrow {margin: ;} </style> </div><!-- row --> <div class="clear"></div> </div> <script type="text/javascript" src="https://js.stripe.com/v3/"></script> <script type="text/javascript"> var enableElements = false; function updateStripeAccount(donation_type='',stripe_id = '',public_key='') { $('#elements_donation_type').val(donation_type); if(donation_type == 'fundraiser') { console.log(stripe_id); console.log(public_key); if(stripe_id != '' && stripe_id != 'undefined') { StripeAccountOption={stripeAccount:stripe_id}; } else { StripeAccountOption={stripeAccount:"acct_1HjjVkGx5Wyq9S8f"}; } stripe = Stripe(public_key,StripeAccountOption); } else { StripeAccountOption={stripeAccount:"acct_1HjjVkGx5Wyq9S8f"}; stripe = Stripe('pk_live_aZRSMoGlGFdUpdP8zXLpP8cz',StripeAccountOption); } LoadElementsDiv('Y'); } var StripeAccountOption={stripeAccount:"acct_1HjjVkGx5Wyq9S8f"}; var stripe = Stripe('pk_live_aZRSMoGlGFdUpdP8zXLpP8cz',StripeAccountOption); var elements; var intentId = ''; var paymentRequest; var payment_method; var LoadElementsDiv = function(refresh='N'){ if($('#donation_frequency').val()!='') { if($('#payment_method').val()=='paypal' || $('#payment_method').val()=='eft') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').show(); $('#elements_paypal').hide(); $('.btn-pay-eft').hide(); } else { if($('#payment_method').val()=='directdebit') { $('#elements_credit_card').trigger('click'); } $('#elements_direct_debit').hide(); $('#elements_paypal,.btn-pay-eft').show(); } if(refresh=='Y') { $('#elements_refresh').val('Y'); } else { $('#elements_refresh').val('N'); } if(enableElements && $('#d_amount').val() != "" && $('#d_amount').val() > 0) { var donation_url = ''; if($('#elements_donation_type').val()=='fundraiser') { donation_url = '/sponsor/createpaymentintentelements?method=' + $('#elements_payment_method').val(); } else { donation_url = '/processdonation/createpaymentintentelements?method=' + $('#elements_payment_method').val(); } if(typeof paymentRequest !== 'undefined' && $('#elements_payment_method').val()==payment_method && refresh=='N') { $.post(donation_url, $('#DonationForm').serialize(),function(response){ console.log(response); const obj = JSON.parse(response); paymentRequest.update({ total: { label: 'Donation', amount: Math.round(parseFloat($('#d_amount').val()).toFixed(2) * 100), }, }); if(obj.hasOwnProperty('payment_method_types')){ payment_method = obj.payment_method_types[0]; } }); } else { $('#payment-element').hide(); $('#payment-element-loader').show(); $.post(donation_url, $('#DonationForm').serialize(),function(response){ const obj = JSON.parse(response); console.log(obj); intentId = obj.id; if(obj.hasOwnProperty('payment_method_types')){ payment_method = obj.payment_method_types[0]; } console.log(obj.client_secret); elements = stripe.elements({clientSecret: obj.client_secret}); //const paymentElement = elements.create('payment'); const paymentElement = elements.create('payment', { wallets: { applePay: 'never', googlePay: 'never', }, terms: { card: 'never' } }); paymentElement.mount('#payment-element'); elementCreated = true; $('#payment-element-loader').hide(); $('#payment-element').show(); // Payment Request Button paymentRequest = stripe.paymentRequest({ country: 'BE', currency: 'eur', total: { label: 'Donation', amount: Math.round(parseFloat($('#d_amount').val()).toFixed(2) * 100), }, requestPayerName: true, requestPayerEmail: true, }); // const paymentRequestButtonElement = elements.create('paymentRequestButton', { // paymentRequest: paymentRequest, // }); const button = $('#payment-request-button'); paymentRequest.canMakePayment().then(function(result) { button.hide(); if (result) { if (result.googlePay) { button.css('display','inline-block'); button.off('click').on('click', function(){ paymentRequest.show(); }); } if (result.applePay) { button.attr('class','btn btn-pay-applepay'); button.css('background-colour','#000').css('display','inline-block'); button.find('.default').hide(); button.find('.applepay').show(); } } }); // paymentRequest.canMakePayment().then(function(result) { // if (result) { // paymentRequestButtonElement.mount('#payment-request-button'); // } else { // document.getElementById('payment-request-button').style.display = 'none'; // } // }); paymentRequest.on('paymentmethod', function(ev) { stripe.confirmCardPayment(obj.client_secret, {payment_method: ev.paymentMethod.id},{handleActions: false}) .then(function(confirmResult) { console.log(confirmResult); if (confirmResult.error) { ev.complete('fail'); } else { ev.complete('success'); if (confirmResult.paymentIntent.status === "requires_action" || confirmResult.paymentIntent.status === "requires_source_action") { stripe.confirmCardPayment(obj.client_secret).then(function(result) { if (result.error) { ev.complete('fail'); } else { finaliseOrder(confirmResult.paymentIntent.id); } }); } else { finaliseOrder(confirmResult.paymentIntent.id); } } }); }); }); } } }; // Wallets function finaliseOrder(id) { if($('#elements_donation_type').val()=='fundraiser') { $.post('/sponsor/elementsdata',$('#DonationForm').serialize(),function(response) { var obj = JSON.parse(response); if(obj.tmpkey != "") { window.location.href = 'https://donate.emsp.org/sponsor/processpayment/' + obj.tmpkey + '?payment_intent=' + id; } }); } else { $.post('/processdonation/elementsdata',$('#DonationForm').serialize(),function(response) { var obj = JSON.parse(response); if(obj.tmpkey != "") { window.location.href = 'https://donate.emsp.org/processdonation/processpayment/' + obj.tmpkey + '?payment_intent=' + id; } }); } } $(document).ready(function(){ $('#d_amount').on('change', function() { grecaptcha.ready(function() { grecaptcha.execute('6LcVutIgAAAAAJzCYdAdbWjyvxLNRHWZriCWo5qK', {action: 'register'}).then(function(gatoken) { $('#g-recaptcha-response').val(gatoken); LoadElementsDiv(); }); }); }); $('#elements_credit_card').on('click', function() { $('#elements_payment_method').val('card'); $('#d_amount').trigger('change'); }); $('#elements_ideal').on('click', function() { $('#elements_payment_method').val('ideal'); $('#DonationForm #d_amount').trigger('change'); }); $('#elements_direct_debit').on('click', function() { $('#elements_payment_method').val('sepa_debit'); $('#d_amount').trigger('change'); }); $('#DonationForm').on('submit', function(e) { if($('#DonationForm #d_amount').val() == "" || $('#DonationForm #d_amount').val() < 1) { BootstrapDialog.show({ title: 'Oops!', message: 'Please choose or enter a donation amount greater than €1', }); $(".donation-steps").slick('slickGoTo',0); setTimeout(function(){ $('#DonationForm button[type=submit]').html('<span>Donate Now</span>').attr('disabled', false); },300); return; } if(($('input[name=payment_method]').val() =='paypal' || $('input[name=payment_method]:checked').val() =='paypal' || $('select[name=payment_method]').val()=='paypal') || ($('input[name=payment_method]').val() =='eft' || $('input[name=payment_method]:checked').val() =='eft' || $('select[name=payment_method]').val()=='eft') || ($('input[name=payment_method]').val() =='apple pay' || $('input[name=payment_method]:checked').val() =='apple pay' || $('select[name=payment_method]').val()=='apple pay')) { $(this).submit(); } else { e.preventDefault(); console.log(paymentRequest); if($('#elements_donation_type').val()=='fundraiser') { $.post('/sponsor/elementsdata',$('#DonationForm').serialize(),function(response) { var obj = JSON.parse(response); stripe.confirmPayment({ elements, confirmParams: { return_url: 'https://donate.emsp.org/sponsor/processpayment/' + obj.tmpkey, }, }) .then(function(result) { if (result.error) { // Handle error console.log(result.error.message); translateStripeErrors(result.error.code); $('#DonationForm button[type=submit]').html('<span>Donate Now</span>').attr('disabled', false); } }); }); } else { $.post('/processdonation/elementsdata',$('#DonationForm').serialize(),function(response) { var obj = JSON.parse(response); stripe.confirmPayment({ elements, confirmParams: { return_url: 'https://donate.emsp.org/processdonation/processpayment/' + obj.tmpkey, }, }) .then(function(result) { if (result.error) { // Handle error console.log(result.error.message); $('.error').html(result.error.message).show(); $('#DonationForm button[type=submit]').html('<span>Donate Now</span>').attr('disabled', false); } }); }); } } }); }); </script> <script> $('#d_optin_fees').change(function() { if($(this).is(":checked")) { calculateDonation(); } else { var value = $('#initial_amount').val(); $('#d_amount').val(value); $('#d_fee').val('0'); $('#amountfees').html(''); // $('#amountdonating').html(value); grecaptcha.ready(function() { grecaptcha.execute('6LcVutIgAAAAAJzCYdAdbWjyvxLNRHWZriCWo5qK', {action: 'register'}).then(function(gatoken) { $('#g-recaptcha-response').val(gatoken); LoadElementsDiv(); }); }); } }); var calculateDonation = function() { var donation = parseFloat($('#d_amount').val()); var total = parseFloat($('#d_amount').val()); var initamount = parseFloat($('#initial_amount').val()); var fee = 0; if($('#d_optin_fees').is(":checked")) { var fee = parseFloat($('#d_amount').val() * 0.06); if(fee > 15) { var fee = parseFloat(15); } $('#amountfees').html('This will add €' + parseFloat(fee).toFixed(2).replace('.',',') + ' to your donation.'); } var total = parseFloat(donation + fee).toFixed(2); $('#d_amount').val(total); $('#d_fee').val(fee); $('#amountdonating').html(initamount); $('#amountdonating').html($('#amountdonating').html().replace('.',',')); grecaptcha.ready(function() { grecaptcha.execute('6LcVutIgAAAAAJzCYdAdbWjyvxLNRHWZriCWo5qK', {action: 'register'}).then(function(gatoken) { $('#g-recaptcha-response').val(gatoken); LoadElementsDiv(); }); }); }; function doFreeAmount() { $('#d_amount_free').val($('#d_amount_free').val().replace(',','.')); if(parseFloat($('#d_amount_free').val())>0) { $('#d_amount,#initial_amount').val($('#d_amount_free').val()); } $('#amountdonating').html($('#d_amount_free').val()); $('.previewamount').html($('#d_amount_free').val()); $('.radio').removeClass('selected').addClass('notselected'); } $(document).ready(function(){ $("#d_address,#kw_postcode").blur(function() { if($('#d_address,#kw_postcode').val()!='') { postcodesearching = setTimeout(function(){ if($('#d_address_street').val()=='' || $('#d_address_suburb').val()=='') { $('.addressdetails').removeClass('hidden'); } },3000); } }); $("#kw_number").blur(function() { postcodesearching = setTimeout(function(){ if($('#d_address_street').val()=='' || $('#d_address_suburb').val()=='') { $('.addressdetails').removeClass('hidden'); } },2000); }); $("#kw_number").focus(function() { clearTimeout(postcodesearching); }); $('.expand-address').click(function(){ if($('.address-expand').hasClass('hidden')) { $('.address-expand').removeClass('hidden'); $('#kw_postcode_results').html('').addClass('hidden'); } else { $('.address-expand').addClass('hidden'); } }); //$('#d_address_state').autocomplete({ // source: "/funraisin/getstatesjson/", // minLength: 2, // select: function( event, ui ) { // setTimeout(function(){ // $("#d_address_state").val(ui.item.state_code); // },700); // } //}); }); function submitdonationform(form) { if(($('input[name=payment_method]').val() =='paypal' || $('input[name=payment_method]:checked').val() =='paypal' || $('select[name=payment_method]').val()=='paypal') || ($('input[name=payment_method]').val() =='ideal' || $('input[name=payment_method]:checked').val() =='ideal' || $('select[name=payment_method]').val()=='ideal') || ($('input[name=payment_method]').val() =='eft' || $('input[name=payment_method]:checked').val() =='eft' || $('select[name=payment_method]').val()=='eft') || ($('input[name=payment_method]').val() =='apple pay' || $('input[name=payment_method]:checked').val() =='apple pay' || $('select[name=payment_method]').val()=='apple pay')) { form.submit(); } else { var $form = $('#DonationForm'); Stripe.setPublishableKey($('#stripe_key').val()); Stripe.card.createToken($form, stripeResponseHandler); } } $(document).ready(function(){ $("#DonationForm").validate({ invalidHandler: function(e, validator) { var errors = validator.numberOfInvalids(); if (errors) { $('html, body').animate({ scrollTop: $(validator.errorList[0].element).offset().top - 50 }, 500); } else { //$("p.error").hide(); } this.onsubmit = null; }, errorClass: "invalid", errorElement: "em", submitHandler: function(form) { $('#DonationForm button[type=submit]').html('<span><i class="fa fa-spinner"></i> Processing...</span>').attr('disabled',true); /* var cropped needs to be set somewhere in case this isn't enabled in the template if(cropped) { var imageData = $('#UserImage').cropit('export',{ type: 'image/jpeg', quality: 0.9, originalSize: false, }); $('#d_photo').val(imageData); }*/ console.log(paymentRequest); }, rules: { d_organisation: "required", d_fname: "required", d_lname: "required", d_email: { required: true, email: true }, d_receipt: "required", d_amount_free: { required: function(element){ return $('#d_amount_sel').val()==''; }, min: 1 }, card_name: { required: function(element){ return ($('input[name=payment_method]').val() =='credit card' || $('input[name=payment_method]:checked').val() =='credit card' || $('select[name=payment_method]').val()=='credit card'); } }, card_number: { required: function(element){ return ($('input[name=payment_method]').val() =='credit card' || $('input[name=payment_method]:checked').val() =='credit card' || $('select[name=payment_method]').val()=='credit card'); }, minlength: 15, maxlength: 24 }, card_expiry_month:{ required: function(element){ return ($('input[name=payment_method]').val() =='credit card' || $('input[name=payment_method]:checked').val() =='credit card' || $('select[name=payment_method]').val()=='credit card'); }, }, card_expiry_year: { required: function(element){ return ($('input[name=payment_method]').val() =='credit card' || $('input[name=payment_method]:checked').val() =='credit card' || $('select[name=payment_method]').val()=='credit card'); }, }, card_cvv: { required: function(element){ return ($('input[name=payment_method]').val() =='credit card' || $('input[name=payment_method]:checked').val() =='credit card' || $('select[name=payment_method]').val()=='credit card'); }, minlength:3, maxlength:4, }, d_email: { required: true, email: true }, }, messages: { d_fname: "This is a required field", d_lname: "This is a required field", d_email: "This is a required field", d_phone: "This is a required field", d_address: "This is a required field", d_receipt: "This is a required field", d_amount_free: "This is a required field", d_address_state: "This is a required field", d_address_pcode: "This is a required field", d_phone_mobile: "This is a required field", d_gender: "This is a required field", card_name: "This is a required field", card_number: "This is a required field", card_expiry_month: "This is a required field", card_expiry_year: "This is a required field", card_cvv: "This is a required field", }, errorPlacement: function(error,element) { if (element.hasClass( 'selectpicker' )) { error.appendTo(element.parent().parent().parent().find('label')); } else if(element.parent().parent().find('label .fa-arrow-left').length>0){ } else{ error.appendTo(element.parent().parent().find('label')); } }, }); }); </script> </main> <!-- <div class="height-50"></div> --> <div id="Footer" class="funraisin-footer"> <div class="container"> <div class="footer-content-right col-md-4 footer-links"> <ul> <h4>Contact us:</h4> <li>European Multiple Sclerosis Platform (EMSP aisbl)<br> rue Auguste Lambiotte 144/8<br> B-1030 Brussels, Belgium</li><br><br> <a href="mailto:donation@emsp.org"><li id="contact-a-footer">donation@emsp.org</li></a><br><br> <a href="tel:+3223045015"><li id="contact-a-footer">+32 2 304 5015</li></a> </ul> </div> <div class="footer-content-left col-md-3 footer-social"> <ul class="footer-social-icons"> <h4>Follow us:</h4> <li><a href="https://www.facebook.com/eumsplatform" target="_blank"><i class="fa fa-facebook"></i></a></li> <li><a href="https://twitter.com/eumsplatform" target="_blank"><i class="fa fa-twitter"></i></a></li> <li><a href="https://www.instagram.com/eumsplatform/" target="_blank"><i class="fa fa-instagram"></i></a></li> <li><a href="https://www.linkedin.com/company/european-multiple-sclerosis-platform" target="_blank"><i class="fa fa-linkedin"></i></a></li> <li><a href="https://www.youtube.com/user/emspvideos" target="_blank"><i class="fa fa-youtube"></i></a></li> </ul> </div> <div class="footer-content-left col-md-5 footer-social"> <ul> <h4>Newsletter Sign-up:</h4> <form class="LumpForm form-horizontal" id="Form2" action="http://emsp.funraisin.com.au/" method="post"> <input type="hidden" name="form_key" value="18KY3W" /> <input type="hidden" name="CSRFToken" value="a2ca3185d4a74d603ac19fb02ae86bf6" /> <div class="col-md-6 "> <div class="form-group"> <div class="col-sm-12 pl0"> <input data-html="true" class="form-control" name="option[4]" type="text" placeholder="Name" id="input4" value="" aria-label="Name"/> </div> </div> </div> <div class="col-md-6 "> <div class="form-group"> <div class="col-sm-12 "> <input data-html="true" class="form-control" name="option[3]" type="text" placeholder="Email address" id="input3" value="" aria-label="Email address"/> </div> </div> </div> <div class="clear"></div> <div class="text-left pl0" style="left: 0; position: absolute;"> <button type="submit" class="btn btn-primary ml10">Submit</button> </div> </form> <script> $("#Form2").validate({ invalidHandler: function(e, validator) { var errors = validator.numberOfInvalids(); if (errors) { $("p.error").show(); } else { $("p.error").hide(); } }, errorClass: "invalid", errorElement: "em", submitHandler: function(form) { $('#Form2 button[type=submit]').html('<span><i class="fa fa-spinner"></i> Processing...</span>').attr('disabled',true).addClass('button-light-grey').removeClass('button-orange'); $.post($('#Form2').attr('action'),$('#Form2').serialize(),function(response){ console.log('post initiated.'); $('#Form2').replaceWith(response); }); }, rules: { 'option[3]': { required:true,email: true }, 'option[4]': { required:true }, }, messages: { 'option[3]': " <em><i class='fa fa-arrow-left'></i></em>", 'option[4]': " <em><i class='fa fa-arrow-left'></i></em>", }, errorPlacement: function(error,element) { if(element.parent().find('.fa').length > 0) { } else { error.appendTo(element.parent()); } } }); </script> </ul> </div> <div class="footer-content-left col-md-10"> <div class="footer-links"> <div class="clear"></div> </div> </div> <div class="footer-content-right col-md-2 col-sm-12 pull-right text-right"> <a href="http://annualreport.emsp.org/" target="_blank"> <img src="https://dzuj8waaindrw.cloudfront.net/a770b67d5927119db35571003a1b3c28.png" class="site-logo img-responsive center-block"> </a> </div> </div><!-- cotainer --> <div class="funraisin-footer-legals"> <div class="container"> <div class="col-md-10"> <p>Charity Number: 0474.073.840 </p> </div> <div class="col-md-2 pull-right text-right"> <a href="http://www.funraisin.co?utm_medium=customer&utm_source=European+Multiple+Sclerosis+Platform" target="_blank"><img src="https://dzuj8waaindrw.cloudfront.net/59ny02fd1rur.png" alt="Funraisin - Modern nonprofit fundraising software to manage your brand site and run your peer to peer online fundraising" class="img-responsive center-block" /></a> </div> </div><!-- container --> </div> </div> <div id="popup"></div> <div id="LightboxPanel"></div> <div class="trigger"></div> <svg version="1.1" id="tick" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 37 37" style="enable-background:new 0 0 37 37;" xml:space="preserve"> <path class="circ path" style="fill:none;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:10;" d=" M30.5,6.5L30.5,6.5c6.6,6.6,6.6,17.4,0,24l0,0c-6.6,6.6-17.4,6.6-24,0l0,0c-6.6-6.6-6.6-17.4,0-24l0,0C13.1-0.2,23.9-0.2,30.5,6.5z" /> <polyline class="tick path" style="fill:none;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:10;" points=" 11.6,20 15.9,24.2 26.4,13.8 "/> </svg> <div id="dialogue" title="Error!"></div> <!-- fancy box //--> <link href="https://dvtuw1sdeyetv.cloudfront.net/fancybox/jquery.fancybox.css?v=2.1.5" rel="stylesheet" /> <script src="https://dvtuw1sdeyetv.cloudfront.net/fancybox/jquery.fancybox.pack.js?v=2.1.5" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/fancybox/helpers/jquery.fancybox-media.js?v=1.0.6" type="text/javascript"></script> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet"> <!-- wookmark --> <script src="https://dvtuw1sdeyetv.cloudfront.net/imagesloaded.pkgd.min.js"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.wookmark.min.js" type="text/javascript"></script> <!-- credit card --> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.creditCardValidator.min.js"></script> <!-- cropper --> <link href="https://dvtuw1sdeyetv.cloudfront.net/plugins/cropper/cropper.min.css" rel="stylesheet"> <script src="https://dvtuw1sdeyetv.cloudfront.net/plugins/cropper/cropper.min.js" type="text/javascript"></script> <!-- bootstrap switch --> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/plugins/bootstrap-switch/bootstrap-switch.min.css"> <script src="https://dvtuw1sdeyetv.cloudfront.net/plugins/bootstrap-switch/bootstrap-switch.min.js" type="text/javascript"></script> <!-- cropit --> <script src="https://dvtuw1sdeyetv.cloudfront.net/exif.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/cropit/jquery.cropit.js" type="text/javascript"></script> <!-- tooltips --> <script src="https://dvtuw1sdeyetv.cloudfront.net/Tooltip/Tooltip.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/party.min.js"></script> <!-- dialogue --> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/bootstrap3-dialog/1.34.7/bootstrap-dialog.min.css" /> <script src="https://dvtuw1sdeyetv.cloudfront.net/bootstrap3-dialog/1.34.7/bootstrap-dialog.min.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/html2canvas.min.js"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.matchHeight.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/jquery.simplePagination.js" type="text/javascript"></script> <script src="https://dvtuw1sdeyetv.cloudfront.net/css-element-queries/ResizeSensor.min.js"></script> <link rel="stylesheet" href="https://dvtuw1sdeyetv.cloudfront.net/animate.css/3.5.2/animate.min.css"> <script> function translateStripeErrors(error_code='') { var errorMessages = { incorrect_number: "The card number is incorrect.", invalid_number: "The card number is not a valid credit card number.", invalid_expiry_month: "The card's expiration month is invalid.", invalid_expiry_year: "The card's expiration year is invalid.", invalid_cvc: "The card's security code is invalid.", expired_card: "The card has expired.", incorrect_cvc: "The card's security code is incorrect.", incorrect_zip: "The card's zip code failed validation.", card_declined: "The card was declined.", missing: "There is no card on a customer that is being charged.", processing_error: "An error occurred while processing the card.", rate_limit: "An error occurred due to requests hitting the API too quickly. Please let us know if you're consistently running into this error." }; $('.error').html(errorMessages[error_code]).show(); } </script> <script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"dda4cd03b6","applicationID":"538372563","transactionName":"Y1RaYBQFXksHAhAKXFoebUYPS1lWAgQcTUNcQQ==","queueTime":0,"applicationTime":78,"atts":"TxNZFlwfTUU=","errorBeacon":"bam.nr-data.net","agent":""}</script></body> </html>