
/*! For license information please see 70f7994b8250.embed.js.LICENSE.txt */
(()=>{var e,t,n={"../../clickhouse/mapper/index.js":(e,t,n)=>{"use strict";var i=n("../../clickhouse/mapper/clickhouseDictionary.json");e.exports={compressPayload:function(e){var t={};return Object.keys(i).forEach((function(n){var o=n,r=i[n];t[o]=e[r]})),t},expandPayload:function(e){var t={},n=["up"],o=Object.keys(e).filter((function(e){return-1===Object.keys(i).indexOf(e)&&!n.includes(e)}));return o.length&&(t.UNMATCHED={},o.forEach((function(n){t.UNMATCHED[n]=e[n]})),t.invalid=!0),Object.keys(i).forEach((function(o){if(!n.includes(o)){var r=o,s=i[o];e[r]&&(t[s]=e[r])}})),t}}},"../murmur/src/murmur.ts":(e,t,n)=>{"use strict";function i(e){let t,n,i,o,r,s,a,c,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(t=3&e.length,n=e.length-t,i=l,r=3432918353,s=461845907,c=0;c<n;)a=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,a=(65535&a)*r+(((a>>>16)*r&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*s+(((a>>>16)*s&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=27492+(65535&o)+((58964+(o>>>16)&65535)<<16);switch(a=0,t){case 3:a^=(255&e.charCodeAt(c+2))<<16;break;case 2:a^=(255&e.charCodeAt(c+1))<<8;break;case 1:a^=255&e.charCodeAt(c),a=(65535&a)*r+(((a>>>16)*r&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*s+(((a>>>16)*s&65535)<<16)&4294967295,i^=a}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}n.d(t,{A:()=>i})},"../../shared/src/common/debug/Debug.ts":(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var i=n("../../node_modules/js-cookie/dist/js.cookie.mjs"),o=n("../../shared/src/common/funStorage/enums.ts");class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.codes=t,this.expose=void 0!==i.A.get(o.e.DEBUG),this.prefix=e}createInstance(e){return new r(e,this.codes)}stringToColor(e){const t=function(e){let t,n,i,o,r,s,a,c,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(t=3&e.length,n=e.length-t,i=l,r=3432918353,s=461845907,c=0;c<n;)a=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,a=(65535&a)*r+(((a>>>16)*r&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*s+(((a>>>16)*s&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=27492+(65535&o)+((58964+(o>>>16)&65535)<<16);switch(a=0,t){case 3:a^=(255&e.charCodeAt(c+2))<<16;break;case 2:a^=(255&e.charCodeAt(c+1))<<8;break;case 1:a^=255&e.charCodeAt(c),a=(65535&a)*r+(((a>>>16)*r&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*s+(((a>>>16)*s&65535)<<16)&4294967295,i^=a}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}(e);let n="#";for(let e=0;e<3;e++)n+=("00"+(t>>8*e&255).toString(16)).substr(-2);return n}log(e){if(this.expose){e=this.prefix?`${this.prefix}:${e}`:e,console.groupCollapsed("%c"+(new Date).toISOString().slice(11,-1)+" %c"+e,"color:grey;","font-weight:700;color:white;border-radius: 2px;padding:2px 5px;background-color:"+this.stringToColor(e));for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];console.log(...n),console.groupEnd(),this.push(e,...n)}}logCode(e){const t=this.codes?this.codes[e]:String(e);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];const r=i.map((e=>"number"!=typeof e?e:this.codes&&this.codes[e]||e));this.log(t,...r)}isExpose(){return this.expose}push(e){const t=window;if(Array.isArray(t.FUN_DEBUG_LOGS)){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.FUN_DEBUG_LOGS.push({name:e,content:i})}}}},"../../shared/src/common/embed/getSharedContainer.ts":(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var i=n("../../shared/src/common/embed/serviceContainer.ts");function o(){return window.FUN_SERVICE_CONTAINER||(window.FUN_SERVICE_CONTAINER=new i.T),window.FUN_SERVICE_CONTAINER}},"../../shared/src/common/embed/helpers.ts":(e,t,n)=>{"use strict";n.d(t,{Ru:()=>s,UA:()=>r,Ws:()=>d,cH:()=>a,dy:()=>c,fL:()=>h,i:()=>u,tb:()=>l});var i=n("../../shared/src/common/embed/getSharedContainer.ts");const o=/#(.+?)(&|$)/;function r(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return{};const n=/([^=&#?]+)=([^=&#?]+)/gi,i={};for(;;){const o=n.exec(e);if(!o)break;const[,r,s]=o;try{t?i[decodeURIComponent(r)]=decodeURIComponent(s):i[r]=s}catch(e){console.error(e)}}return i}function s(e,t){let n=e;for(;;){if(t(n))return n;if(!n.parentNode)return;n=n.parentNode}}function a(e,t){if(e.getAttribute)return e.getAttribute("data-"+t)||void 0}function c(e){if(!e)return null;if(!o.test(e))return null;const t=/(#.+?)$/.exec(e);if(!t)return null;const n=t[0],i=o.exec(n);if(!i)return null;const s=i[1],a=r(n),c={key:s};return Object.assign(c,a),c}function l(e){const t=(0,i.F)().get(9),n=document.createElement("a"),o=h(t);return n.href=e,!!o&&-1===n.hostname.lastIndexOf(o)}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=[];for(const i in e){const o=e[i];t?n.push(`${encodeURIComponent(i)}=${encodeURIComponent(o)}`):n.push(`${i}=${o}`)}return n.join("&")}function u(e){const t=[];for(const[n,i]of e)t.push(`${encodeURIComponent(n)}=${encodeURIComponent(i)}`);return t.join("&")}function h(e,t,n){t||(t=window.location.hostname);const i=t.split("."),o=e.getField("topLevelDomain");if(o)return o;let r="";if(1===i.length&&(r=i[0]),2===i.length&&(r="."+i.join(".")),3===i.length&&"www"===i[0]&&(r="."+i.slice(-2).join(".")),r)return e.setData({topLevelDomain:r},{domain:r}),r;r=i.splice(-1).join();for(let t=i.length;t>0;t--)if(r=i.splice(-1).join()+"."+r,e.setData({topLevelDomain:"."+r},{domain:"."+r}),!e.available||e.getField("topLevelDomain")||n&&!(null==n?void 0:n.get()))return"."+r}},"../../shared/src/common/embed/serviceContainer.ts":(e,t,n)=>{"use strict";n.d(t,{T:()=>i});class i{constructor(){this.providers=new Map,this.cache=new Map}get(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=this.providers.get(e);if(!n)throw new Error(`${String(e)} is not provided`);if(t&&this.cache.has(e))return this.cache.get(e);const i=n();return t?(this.cache.has(e)||this.cache.set(e,i),i):i}provide(e,t){return this.providers.has(e)?(console.warn(`14 ${String(e)}`),this):(this.providers.set(e,t),this)}}},"../../shared/src/common/embed/splitTesting/constants.ts":(e,t,n)=>{"use strict";n.d(t,{$m:()=>o,AC:()=>i,_Q:()=>s,yX:()=>r});const i="fun_test",o="fun_variant",r="fun_cid",s=2},"../../shared/src/common/funStorage/enums.ts":(e,t,n)=>{"use strict";var i;n.d(t,{e:()=>i}),function(e){e.SESSION="fundraiseup_session",e.FUNC="fundraiseup_func",e.PERFORMANCE="fundraiseup_stat",e.CONSENT="fundraiseup_consent",e.MARKETING="fundraiseup_mark",e.CID="fundraiseup_cid",e.DEBUG="fundraiseup_debug",e.EXPERIMENTS="fundraiseup_experiments",e.FUN_AB_STORAGE="fundraiseup_ab_test"}(i||(i={}))},"../../node_modules/css-loader/dist/cjs.js!../../node_modules/resolve-url-loader/index.js!./src/preloader/backdrop.css":(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n("../../node_modules/css-loader/dist/runtime/sourceMaps.js"),o=n.n(i),r=n("../../node_modules/css-loader/dist/runtime/api.js"),s=n.n(r)()(o());s.push([e.id,".fun-widget-backdrop-holder {\n  left: 0 !important;\n  top: 0 !important;\n  bottom: 0 !important;\n  right: 0 !important;\n  width: 100% !important;\n  height: 100% !important;\n  display: block !important;\n  position: fixed !important;\n  z-index: 2147483646 !important;\n  transition: opacity 0.2s ease-in-out !important;\n  transform: translateZ(99px) !important;\n  animation: fun-widget-backdrop 0.2s ease-in-out !important;\n}\n\n.fun-widget-backdrop {\n  position: absolute !important;\n  left: 50% !important;\n  top: 50% !important;\n  animation: fun-widget-backdrop-rotate 1.5s infinite linear, fun-widget-backdrop-fadein 0.6s ease-in-out !important;\n  padding: 0 !important;\n  margin: -30px 0 0 -30px !important;\n  width: 60px !important;\n  min-width: 60px !important;\n  max-width: 60px !important;\n  height: 60px !important;\n  min-height: 60px !important;\n  max-height: 60px !important;\n  border-radius: 50% !important;\n  border: 4px solid !important;\n  border-color: #e3e3e3 #e3e3e3 #666666 #666666 !important;\n}\n\n@keyframes fun-widget-backdrop {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-fadein {\n  0% {\n    opacity: 0;\n  }\n  33% {\n    opacity: 0;\n  }\n  66% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-rotate {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(359deg);\n  }\n}\n","",{version:3,sources:["webpack://./src/preloader/backdrop.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;EACtB,uBAAuB;EACvB,yBAAyB;EACzB,0BAA0B;EAC1B,8BAA8B;EAC9B,+CAA+C;EAC/C,sCAAsC;EACtC,0DAA0D;AAC5D;;AAEA;EACE,6BAA6B;EAC7B,oBAAoB;EACpB,mBAAmB;EACnB,kHAAkH;EAClH,qBAAqB;EACrB,kCAAkC;EAClC,sBAAsB;EACtB,0BAA0B;EAC1B,0BAA0B;EAC1B,uBAAuB;EACvB,2BAA2B;EAC3B,2BAA2B;EAC3B,6BAA6B;EAC7B,4BAA4B;EAC5B,wDAAwD;AAC1D;;AAEA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;;AAEA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;;AAEA;EACE;IACE,uBAAuB;EACzB;EACA;IACE,yBAAyB;EAC3B;AACF",sourcesContent:[".fun-widget-backdrop-holder {\n  left: 0 !important;\n  top: 0 !important;\n  bottom: 0 !important;\n  right: 0 !important;\n  width: 100% !important;\n  height: 100% !important;\n  display: block !important;\n  position: fixed !important;\n  z-index: 2147483646 !important;\n  transition: opacity 0.2s ease-in-out !important;\n  transform: translateZ(99px) !important;\n  animation: fun-widget-backdrop 0.2s ease-in-out !important;\n}\n\n.fun-widget-backdrop {\n  position: absolute !important;\n  left: 50% !important;\n  top: 50% !important;\n  animation: fun-widget-backdrop-rotate 1.5s infinite linear, fun-widget-backdrop-fadein 0.6s ease-in-out !important;\n  padding: 0 !important;\n  margin: -30px 0 0 -30px !important;\n  width: 60px !important;\n  min-width: 60px !important;\n  max-width: 60px !important;\n  height: 60px !important;\n  min-height: 60px !important;\n  max-height: 60px !important;\n  border-radius: 50% !important;\n  border: 4px solid !important;\n  border-color: #e3e3e3 #e3e3e3 #666666 #666666 !important;\n}\n\n@keyframes fun-widget-backdrop {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-fadein {\n  0% {\n    opacity: 0;\n  }\n  33% {\n    opacity: 0;\n  }\n  66% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-rotate {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(359deg);\n  }\n}\n"],sourceRoot:""}]);const a=s},"../../node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,o,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);i&&s[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},"../../node_modules/css-loader/dist/runtime/sourceMaps.js":e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),r="/*# ".concat(o," */");return[t].concat([r]).join("\n")}return[t].join("\n")}},"./src/preloader/backdrop.css":(e,t,n)=>{var i=n("../../node_modules/css-loader/dist/cjs.js!../../node_modules/resolve-url-loader/index.js!./src/preloader/backdrop.css");i&&i.__esModule&&(i=i.default),e.exports="string"==typeof i?i:i.toString()},"../../node_modules/js-cookie/dist/js.cookie.mjs":(e,t,n)=>{"use strict";function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}n.d(t,{A:()=>o});const o=function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=i({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in r)r[a]&&(s+="; "+a,!0!==r[a]&&(s+="="+r[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},o=0;o<n.length;o++){var r=n[o].split("="),s=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(i[a]=t.read(s,a),e===a)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){o(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},"../../clickhouse/mapper/clickhouseDictionary.json":e=>{"use strict";e.exports=JSON.parse('{"u":"URL","ck":"companyKey","cm":"checkoutCompanyKey","cd":"clientId","ct":"clientTime","cz":"clientTimeZone","lo":"clientLocale","ek":"elementKey","el":"elementLocale","er":"elementReminderKey","ey":"elementType","ep":"elementParams","et":"eventType","te":"customEventType","ev":"customEventData","ed":"elementData","eg":"eventTags","pv":"pageViewId","pl":"pageViewLifetime","r":"referer","rh":"resolutionHeight","rw":"resolutionWidth","t":"title","hl":"uaHistoryLength","wk":"widgetKey","wh":"windowHeight","wx":"windowScrollX","wy":"windowScrollY","ww":"windowWidth","cv":"checkoutViewId","ce":"checkoutError","co":"checkoutOpenTime","cl":"checkoutLifetime","cs":"checkoutScreen","sd":"checkoutScreenData","cc":"checkoutClickElement","cf":"checkoutFrequency","fp":"clickDOMPath","fh":"clickAHref","ft":"clickText","dk":"chargeCampaignKey","dd":"chargeKey","du":"chargeInUSDAmount","di":"chargeInDefaultCurrencyAmount","da":"chargeAmount","dc":"chargeCurrency","df":"chargeFeeCovered","dm":"chargePaymentMethod","dr":"chargeIsRecurring","dn":"chargeHasComment","dh":"chargeHasTribute","dg":"chargeGoal","st":"splitTestName","sv":"splitTestVariant","pm":"paymentMethod","ws":"widgetSession","lm":"livemode","fv":"funSnippetVersion","fe":"funEmbedRelease","vf":"isFundraiseupVisitor","lc":"checkoutLocale","cr":"checkoutIsRecurring","cy":"checkoutCurrency","ca":"checkoutAmount","cu":"checkoutInUSDAmount","yr":"checkoutCurrencyRate","fa":"checkoutDefaultAmount","cp":"checkoutPresets","ps":"pageScripts","ol":"clientOnLine","dt":"clientDoNotTrack","pr":"clientDevicePixelRatio","rm":"clientDeviceMemory","hc":"clientHardwareConcurrency","nt":"clientConnectionType","nd":"clientConnectionDownlink","nr":"clientConnectionRTT","ne":"clientConnectionEffectiveType","bc":"clientBatteryCharging","bt":"clientBatteryChargingTime","bd":"clientBatteryDischargingTime","bl":"clientBatteryLevel","de":"dataLayerEventName","dp":"dataLayerParams","fn":"pixelEventName","fs":"pixelEventData","gk":"fundraisingGroupKey","pk":"fundraisingPageKey","pc":"fundraisingPageCustomerKey","ec":"eventComment","ba":"uaIsInApp","uw":"uaWebdriver","rd":"duration","se":"source","sk":"supporterKey","ak":"agentKey","pu":"pointingDeviceIsUsed","fo":"donationType","cn":"clientCookieConsent","tt":"checkoutType"}')}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return n[e](r,r.exports,o),r.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>e+".041331b60a0b.SplitTesting.js",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@fundraiseup/embed:",o.l=(n,i,r,s)=>{if(e[n])e[n].push(i);else{var a,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+r){a=u;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+r),a.src=n),e[n]=[i];var h=(t,i)=>{a.onerror=a.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(i))),t)return t(i)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),c&&document.head.appendChild(a)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="https://static.fundraiseup.com/",(()=>{if(void 0!==o){var e=o.u,t=o.e,n={},i={};o.u=function(t){return e(t)+(n.hasOwnProperty(t)?"?"+n[t]:"")},o.e=function(r){return t(r).catch((function(t){var s=i.hasOwnProperty(r)?i[r]:3;if(s<1){var a=e(r);throw t.message="Loading chunk "+r+" failed after 3 retries.\n("+a+")",t.request=a,t}return new Promise((function(e){var t=3-s+1;setTimeout((function(){var a="cache-bust=true&retry-attempt="+t;n[r]=a,i[r]=s-1,e(o.e(r))}),0)}))}))}}})(),(()=>{var e={722:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise(((n,o)=>i=e[t]=[n,o]));n.push(i[2]=r);var s=o.p+o.u(t),a=new Error;o.l(s,(n=>{if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",a.name="ChunkLoadError",a.type=r,a.request=s,i[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var i,r,[s,a,c]=n,l=0;if(s.some((t=>0!==e[t]))){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);c&&c(o)}for(t&&t(n);l<s.length;l++)r=s[l],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=self.funEmbed=self.funEmbed||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";var e=o("../../shared/src/common/debug/Debug.ts");class t{constructor(e,t){this.field=e,this.storage=t}get(){return this.storage.get(this.field)}set(e,t){this.storage.set(this.field,e,t)}remove(e){this.storage.remove(this.field,e)}}var n,i=o("../../node_modules/js-cookie/dist/js.cookie.mjs"),r=o("../../shared/src/common/funStorage/enums.ts");function s(){const e=[],t=window.location.hostname.split(".");let n=t.splice(-1).join();for(let i=t.length;i>0;i--)n=t.splice(-1).join()+"."+n,e.push(n);return e}!function(e){e.STRING="string",e.OBJECT="object"}(n||(n={}));const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.A;function o(e,n){t.remove(e,n)}function a(e){return!!window.FUN_DO_NOT_TRACK||!!window.FUN_ONLY_STRICTLY_NECESSARY_COOKIES&&e!==r.e.CID}return window.FUN_DO_NOT_TRACK&&s().forEach((e=>{o(r.e.CID,{domain:e}),o(r.e.SESSION,{domain:e}),o(r.e.FUNC,{domain:e}),o(r.e.PERFORMANCE,{domain:e})})),window.FUN_ONLY_STRICTLY_NECESSARY_COOKIES&&s().forEach((e=>{o(r.e.SESSION,{domain:e}),o(r.e.FUNC,{domain:e}),o(r.e.PERFORMANCE,{domain:e})})),{get:function(i){if(a(i))return null;const o=t.get(i);if(!o)return null;if(e===n.OBJECT){let e=null;return e=JSON.parse(o),e}return o},set:function(i,o,r){a(i)||(e===n.OBJECT&&(o=JSON.stringify(o)),t.set(i,o,r))},remove:o}};function c(e,i){if(!Object.keys(n).find((e=>n[e]===i)))throw new Error(`10 ${i}`);return new t(e,a(i))}var l,d;!function(e){e.REMINDER="reminder",e.DONATE_BUTTON="donateButton",e.STICKY_BUTTON="stickyButton",e.IMAGE_CARD="imageCard",e.TEXT_LINK="textLink",e.DONATION_FORM="donationForm",e.SIMPLE_FORM="simpleForm",e.GOAL_METER="goalMeter",e.STAT_COUNTER="statCounter",e.IMPACT_SLIDER="impactSlider",e.DONATION_LEVELS="donationLevels",e.BUTTON_GROUP="buttonGroup",e.FLOATING_BUTTON="floatingButton",e.MESSAGE_BAR="messageBar",e.TOP_SUPPORTERS="topSupporters",e.TOP_LOCATIONS="topLocations",e.SOCIAL_PROOF="socialProof",e.QR_CODE="qrCode",e.RECENT_DONATIONS="recentDonations",e.P2P_BUTTON="p2pButton",e.P2P_LINK="p2pLink",e.TOP_FUNDRAISERS="topFundraisers",e.DONOR_MAP="donorMap",e.LIGHTBOX="lightbox",e.FUNDRAISING_PAGE_LINK="fundraisingPageLink",e.FUNDRAISING_PAGE_INVITE_LINK="fundraisingPageInviteLink",e.LINK="link",e.DIRECT_LINK="direct",e.DEBUG_PANEL="debugPanel",e.TEST_MODE_PANEL="testModePanel",e.SPLIT_TESTING="splitTesting",e.JS_API="jsApi"}(l||(l={})),function(e){e.AUSTRALIA="AU",e.AUSTRIA="AT",e.BELGIUM="BE",e.BRAZIL="BR",e.BULGARIA="BG",e.CANADA="CA",e.CROATIA="HR",e.CYPRUS="CY",e.CZECH_REPUBLIC="CZ",e.DENMARK="DK",e.ESTONIA="EE",e.FINLAND="FI",e.FRANCE="FR",e.GERMANY="DE",e.GREECE="GR",e.HONG_KONG="HK",e.HUNGARY="HU",e.INDIA="IN",e.INDONESIA="ID",e.IRELAND="IE",e.ITALY="IT",e.JAPAN="JP",e.LATVIA="LV",e.LITHUANIA="LT",e.LUXEMBOURG="LU",e.MALAYSIA="MY",e.MALTA="MT",e.MEXICO="MX",e.NETHERLANDS="NL",e.NEW_ZEALAND="NZ",e.NORWAY="NO",e.POLAND="PL",e.PORTUGAL="PT",e.ROMANIA="RO",e.SINGAPORE="SG",e.SLOVAKIA="SK",e.SLOVENIA="SI",e.SPAIN="ES",e.SWEDEN="SE",e.SWITZERLAND="CH",e.THAILAND="TH",e.UNITED_ARAB_EMIRATES="AE",e.UNITED_KINGDOM="GB",e.UNITED_STATES="US",e.GIBRALTAR="GI",e.LIECHTENSTEIN="LI",e.PHILIPPINES="PH",e.ISRAEL="IL"}(d||(d={}));const u=[d.UNITED_KINGDOM,d.CANADA,d.GERMANY],h=(e,t)=>{const{disabledAccounts:n,enabledAccounts:i}=e;if(null==n?void 0:n.find((e=>e===t)))return!1;const o=null==i?void 0:i.find((e=>e===t));return!((null==i?void 0:i.length)&&!o)};const p={};function m(e){return function(e){const t=p[e];if(t)return t;const n=new Promise((function(t,n){setTimeout((()=>{const i=window.document.createElement("script");i.type="text/javascript",i.async=!0,i.onerror=function(e){n(e)},i.onload=function(){t(!0)},i.src=e,window.document.documentElement.appendChild(i),m._immedeatly&&t(!0)}),0)}));return p[e]=n,n}(e)}m._immedeatly=!1;var g,f,E=o("../../shared/src/common/embed/serviceContainer.ts");function y(){return window.FUN_SERVICE_CONTAINER||(window.FUN_SERVICE_CONTAINER=new E.T),window.FUN_SERVICE_CONTAINER}!function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing"}(g||(g={}));class v{constructor(e){this.isInitialized=!1,this.excluded=!1,this.isActive=!1;const{settings:t,companyKey:n,widgetKey:i,tracker:o,funStorage:r,user:s,parentCompanyKey:a,infrastructureParams:c,sentry:l,distribution:d,allowExperiments:u=!0}=e;this.sentry=l,this.companyKey=n,this.parentCompanyKey=a,this.widgetKey=i,this.tracker=o,this.funStorage=r,this.user=s,this.infrastructureParams=c;const{experimentId:h,name:p,disabledAccounts:m,enabledAccounts:g,enabled:f,enabledWidgets:E}=t;this.name=p,this.experimentId=h,this.disabledAccounts=m,this.enabledAccounts=g,this.enabledWidgets=E,this.disabledWidgets=t.disabledWidgets,this.settings=t,this.enabled=f,this.distribution=d;const y=Array.isArray(window.FUN_DISABLED_EXPERIMENTS)?window.FUN_DISABLED_EXPERIMENTS:[];this.globalDisabled=!u||window.FUN_DISABLE_EXPERIMENTS||-1!==y.indexOf(h)}get isExperimentEnabled(){return((e,t)=>{var n;if(!t)return!1;const{enabled:i,name:o}=t,r=e.get(),s=r&&(null===(n=r[o])||void 0===n?void 0:n.enabled);return i||Boolean(s)})(this.funStorage,this.settings)}getDebugPanelEnabled(){var e;const t=this.funStorage.get();return Boolean(t&&(null===(e=t[this.name])||void 0===e?void 0:e.enabled))}get active(){return this.isActive}get variantName(){return this.distribution.currentVariantName}start(e){if(!this.checkDisabled()&&(this.isInitialized=this.init(),this.isInitialized)){this.activate();const e=this.getTags();this.tracker.setEventTags(e)}}getTags(){const e=[this.experimentId,`${this.experimentId}-${this.variantName}`];return this.excluded&&e.push(`${this.experimentId}-exclusion`),e}isVariant(e){return this.variantName===e}setVariant(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.distribution.setVariant(e),this.excluded=t;const n=[this.experimentId];this.tracker.removeEventTags(n);const i=this.getTags();this.tracker.setEventTags(i)}restoreVariant(){this.distribution.previousVariantName&&this.setVariant(this.distribution.previousVariantName,!1)}exposure(){this.isActive&&this.tracker.customTrack({type:"testGroupExposed",data:{experimentId:this.experimentId,variantName:this.variantName}})}init(){var e,t,n,i;const o=this.getDebugPanelVariant();if(o.variant&&o.enabled)return this.setVariant(o.variant),!0;if(o.enabled&&!o.variant&&(this.excluded=!0),!h(this.settings,this.companyKey))return!1;const r=null===(e=this.enabledWidgets)||void 0===e?void 0:e.find((e=>e===this.widgetKey));if((null===(t=this.enabledWidgets)||void 0===t?void 0:t.length)&&!r)return!1;const s=null===(n=this.disabledWidgets)||void 0===n?void 0:n.find((e=>e===this.widgetKey));return!((null===(i=this.disabledWidgets)||void 0===i?void 0:i.length)&&s||(this.distribution.initCurrentVariantName(),0))}activate(){this.isActive?this.sentry.captureException(`4 ${this.name}`):this.isActive=!0}checkDisabled(){const e=this.getDebugPanelExperimentsSettings();if(e){const t=e[this.name];if(t&&t.enabled)return!1}return!this.enabled||this.globalDisabled}getDebugPanelExperimentsSettings(){const e=this.funStorage.get();return"object"!=typeof e?(this.sentry.captureException("6"),null):e}getDebugPanelVariant(){const e=this.funStorage.get();if(!e)return{enabled:!1};const t=e[this.name];return t&&(null==t?void 0:t.enabled)?{enabled:!0,variant:t.variant}:{enabled:!1}}}!function(e){e.DUMMY_EXPERIMENT="DummyExperiment",e.UPSELL_CURTAIN_EXPERIMENT="UpsellCurtainExperiment",e.CHECKOUT_BUNDLE_EXPERIMENT="CheckoutBundleExperiment",e.UPSELL_SCREEN_V_3_EXPERIMENT="UpsellScreenV3Experiment",e.DONOR_PORTAL_TEST_EXPERIMENT="DonorPortalTestExperiment",e.CAMPAIGN_PAGE_TEST_EXPERIMENT="CampaignPageTestExperiment",e.EMBED_TEST_EXPERIMENT="EmbedTestExperiment",e.UPGRADE_LINKS_IN_INSTALLMENT_EMAILS_AI_V2_EXPERIMENT="UpgradeLinksInInstallmentEmailsAIv2Experiment",e.ML_POST_DONATION_UPSELL_CHECKOUT_EXPERIMENT="MlPostDonationUpsellCheckoutExperiment",e.ML_POST_DONATION_UPSELL_CAMPAIGN_PAGES_EXPERIMENT="MlPostDonationUpsellCampaignPagesExperiment",e.MATCH_DONATION_IN_SOCIAL_PROOF_EXPERIMENT="MatchDonationInSocialProofExperiment",e.CHECKOUT_MODAL_VS_CAMPAIGN_PAGES_EXPERIMENT="CheckoutModalVsCampaignPagesExperiment",e.CHECKOUT_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT="CheckoutWithoutPreDonationUpsellExperiment",e.CAMPAIGN_PAGES_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT="CampaignPagesWithoutPreDonationUpsellExperiment",e.LESS_PAYMENT_OPTIONS_EXPERIMENT="LessPaymentOptionsExperiment",e.SMART_COVERING_FEE_CHECKOUT_V_2_EXPERIMENT="SmartCoveringFeeSuggestionCheckoutExperimentV2",e.SMART_COVERING_FEE_CAMPAIGN_PAGES_V_2_EXPERIMENT="SmartCoveringFeeSuggestionCampaignPagesExperimentV2",e.AA_CHECKOUT_EXPERIMENT="AACheckoutExperiment",e.AMOUNT_PRESETS_CHECKOUT_EXPERIMENT="AmountPresetsCheckoutExperiment",e.AMOUNT_PRESETS_CAMPAIGN_PAGES_EXPERIMENT="AmountPresetsCampaignPagesExperiment",e.SMART_POST_DONATION_UPSELL_CHECKOUT_V_2_EXPERIMENT="SmartPostDonationUpsellCheckoutV2Experiment",e.SMART_POST_DONATION_UPSELL_CAMPAIGN_PAGES_V_2_EXPERIMENT="SmartPostDonationUpsellCampaignPagesV2Experiment",e.EXIT_CHECKOUT_MODAL_EXPERIMENT="ExitCheckoutModalExperiment",e.DAF_PAY_CHECKOUT_EXPERIMENT="DafPayCheckoutExperiment",e.LESS_PAYMENT_OPTIONS_CAMPAIGN_PAGES_EXPERIMENT="LessPaymentOptionsCampaignPagesExperiment",e.SEND_BEACON_VS_FETCH_KEEP_ALIVE_EXPERIMENT="SendBeaconVsFetchKeepAliveExperiment",e.UPSELL_AMOUNTS_DATASET_MODAL_EXPERIMENT="UpsellAmountsDatasetModalExperiment",e.UPSELL_AMOUNTS_DATASET_PAGES_EXPERIMENT="UpsellAmountsDatasetPagesExperiment",e.ML_DONATION_RETRY_V_2_EXPERIMENT="MlDonationRetryV2Experiment",e.UPGRADE_LINKS_PAGE_AI_V_2_EXPERIMENT="UpgradeLinksPageAIv2Experiment",e.ML_PRESETS_IN_DONATION_FORM_RECURRING_EXPERIMENT="MlPresetsInDonationFormRecurringExperiment"}(f||(f={}));const T={[f.DUMMY_EXPERIMENT]:"33802",[f.UPSELL_CURTAIN_EXPERIMENT]:"43030",[f.CHECKOUT_BUNDLE_EXPERIMENT]:"61172",[f.UPSELL_SCREEN_V_3_EXPERIMENT]:"65613",[f.DONOR_PORTAL_TEST_EXPERIMENT]:"68092",[f.CAMPAIGN_PAGE_TEST_EXPERIMENT]:"68383",[f.EMBED_TEST_EXPERIMENT]:"65492",[f.ML_POST_DONATION_UPSELL_CHECKOUT_EXPERIMENT]:"70084",[f.ML_POST_DONATION_UPSELL_CAMPAIGN_PAGES_EXPERIMENT]:"71732",[f.MATCH_DONATION_IN_SOCIAL_PROOF_EXPERIMENT]:"59325",[f.CHECKOUT_MODAL_VS_CAMPAIGN_PAGES_EXPERIMENT]:"58415",[f.CHECKOUT_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT]:"73814",[f.CAMPAIGN_PAGES_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT]:"73816",[f.LESS_PAYMENT_OPTIONS_EXPERIMENT]:"40193",[f.SMART_COVERING_FEE_CHECKOUT_V_2_EXPERIMENT]:"82767-modal",[f.SMART_COVERING_FEE_CAMPAIGN_PAGES_V_2_EXPERIMENT]:"82767-pages",[f.AA_CHECKOUT_EXPERIMENT]:"77715",[f.AMOUNT_PRESETS_CHECKOUT_EXPERIMENT]:"89669",[f.AMOUNT_PRESETS_CAMPAIGN_PAGES_EXPERIMENT]:"82965-pages",[f.SMART_POST_DONATION_UPSELL_CHECKOUT_V_2_EXPERIMENT]:"79870-modal",[f.SMART_POST_DONATION_UPSELL_CAMPAIGN_PAGES_V_2_EXPERIMENT]:"79870-pages",[f.EXIT_CHECKOUT_MODAL_EXPERIMENT]:"70609-modal",[f.DAF_PAY_CHECKOUT_EXPERIMENT]:"78736",[f.LESS_PAYMENT_OPTIONS_CAMPAIGN_PAGES_EXPERIMENT]:"83521",[f.SEND_BEACON_VS_FETCH_KEEP_ALIVE_EXPERIMENT]:"87177",[f.UPSELL_AMOUNTS_DATASET_MODAL_EXPERIMENT]:"87159-modal",[f.UPSELL_AMOUNTS_DATASET_PAGES_EXPERIMENT]:"87159-pages",[f.ML_DONATION_RETRY_V_2_EXPERIMENT]:"86213",[f.UPGRADE_LINKS_IN_INSTALLMENT_EMAILS_AI_V2_EXPERIMENT]:"87202",[f.UPGRADE_LINKS_PAGE_AI_V_2_EXPERIMENT]:"87190",[f.ML_PRESETS_IN_DONATION_FORM_RECURRING_EXPERIMENT]:"89680"};var w,A,S,_,C,N,b,I,O,P,k,L,R,x,D,M,U,F,K,B,G,V,j,H,W,z,X,$,Y,q,J,Z,Q,ee,te,ne;!function(e){e.BILLING="billing",e.EMBED="embed",e.CAMPAIGN_PAGES="campaignPages",e.DONOR_PORTAL="donorPortal",e.EMAILS="emails"}(w||(w={})),function(e){e.CONTROL="control",e.TEST="test"}(A||(A={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(S||(S={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(_||(_={})),function(e){e.CONTROL="control",e.TEST="test"}(C||(C={})),function(e){e.CONTROL="control",e.TEST="test"}(N||(N={})),function(e){e.CONTROL="control",e.TEST="test"}(b||(b={})),function(e){e.CONTROL="control",e.TEST="test"}(I||(I={})),function(e){e.CONTROL="control",e.TEST="test"}(O||(O={})),function(e){e.CONTROL="control",e.TEST="test"}(P||(P={})),function(e){e.CONTROL="control",e.TEST="test"}(k||(k={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(L||(L={})),function(e){e.CONTROL="control",e.TEST="test"}(R||(R={})),function(e){e.CONTROL="control",e.TEST="test"}(x||(x={})),function(e){e.CONTROL="control",e.TEST="test"}(D||(D={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3",e.TEST_4="test-4"}(M||(M={})),function(e){e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(U||(U={})),function(e){e.CONTROL="control",e.TEST="test"}(F||(F={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(K||(K={})),function(e){e.CONTROL="control",e.TEST="test"}(B||(B={})),function(e){e.CONTROL="control",e.TEST="test"}(G||(G={})),function(e){e.CONTROL="control",e.TEST="test"}(V||(V={})),function(e){e.CONTROL="control",e.TEST="test"}(j||(j={})),function(e){e.CONTROL="control",e.TEST="test"}(H||(H={})),function(e){e.CONTROL="control",e.TEST="test"}(W||(W={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(z||(z={})),function(e){e.CONTROL="control",e.TEST="test"}(X||(X={})),function(e){e.CONTROL="control",e.TEST="test"}($||($={})),function(e){e.CONTROL="control",e.TEST="test"}(Y||(Y={})),function(e){e.CONTROL="control",e.TEST="test"}(q||(q={})),function(e){e.CONTROL="control",e.TEST="test"}(J||(J={})),function(e){e.CONTROL="control",e.TEST="test"}(Z||(Z={})),function(e){e.CONTROL="control",e.TEST="test"}(Q||(Q={})),function(e){e.CONTROL="control",e.TEST="test"}(ee||(ee={})),function(e){e.CONTROL="control",e.TEST="test"}(te||(te={}));class ie extends v{tryStart(e){this.isActive||this.canBeStarted(e)&&super.start()}get isTestGroup(){return this.isActive&&this.isVariant(R.TEST)}needRedirectToCampaignPage(e){let{isMobile:t,showAskPage:n}=e;return this.isTestGroup&&t&&n}getSearchParams(e){return e.set("useModalCheckoutConfig","yes"),e}canBeStarted(e){let{isMobile:t,showAskPage:n}=e;return!!t&&!!n}}!function(e){e.IN_HONOR_MEMORY="inHonorMemory",e.DEDICATION="dedication"}(ne||(ne={}));let oe=null;function re(){if(oe)return Promise.resolve(oe);const e=y();return m(e.get(2).elementsApiScriptUrl).then((()=>(oe=e.get(19),oe)))}const se="_lang",ae=e=>"no"!==e.fundraiseupLivemode&&("boolean"!=typeof window.fundraiseup_livemode||window.fundraiseup_livemode);function ce(e,t){let n=t;return e.isWidgetCustomHash(t)&&(n=e.getWidgetKeyByCustomHash(t)||t),n.toUpperCase()}var le,de=o("../../shared/src/common/embed/helpers.ts");!function(e){e.URL="URL",e.WINDOW="WINDOW",e.URL_MATCHING="URL_MATCHING",e.BROWSER="BROWSER"}(le||(le={}));var ue,he;class pe{constructor(e){this.checkoutTypes=e.checkoutTypes,this.donorPortalUrl=e.donorPortalUrl,this.window=e.window,this.campaignKey=e.campaignKey,this.customHash=e.customHash}shouldRedirect(){var e,t;return!!this.donorPortalUrl&&!!(null===(e=this.checkoutTypes)||void 0===e?void 0:e.campaignPage)&&!(null===(t=this.checkoutTypes)||void 0===t?void 0:t.checkoutModal)}getCampaignPageUrl(){return this.donorPortalUrl?function(e,t,n){const i=new URL(`${e}/page/${t}`);return i.toString()}(this.donorPortalUrl,this.customHash||this.campaignKey):""}openCampaignPage(e){return t=this,n=void 0,o=function*(){const{searchParams:t,elementType:n,element:i,checkoutData:o,checkoutIntent:r,elementTitle:s,elementName:a}=e||{},c=this.getCampaignPageUrl();if(!c)return;const l=new URL(c),d=null!=t?t:new URLSearchParams;d.set("clientId",e.clientId),d.set("eventTags",e.tags.join(",")),n&&d.set("elementType",n),s&&d.set("elementTitle",s),a&&d.set("elementName",a),i&&d.set("element",i),(null==o?void 0:o.fundraiser)&&d.set("fundraiser",o.fundraiser),o&&d.set("elementCheckoutData",this.encodeCheckoutData(o)),r&&d.set("checkoutIntent",this.encodeCheckoutData(r)),this.donorPortalUrl===this.window.location.origin&&d.set("fromDonorPortal","1"),e.locale.source&&[le.URL,le.WINDOW].includes(e.locale.source)&&d.set(se,e.locale.code);const u=l.toString(),h=(0,de.i)(d),p=h?`?${h}`:"";(function(){const e=/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);return Boolean(e)})()&&(yield new Promise((e=>setTimeout(e,200)))),this.window.location.href=`${u}${p}`},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o}encodeCheckoutData(e){const t=JSON.stringify(e),n=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((e,t)=>{const n=parseInt(t,16);return String.fromCharCode(n)}));return btoa(n)}}!function(e){e.EN="en",e.ES="es",e.FR="fr",e.NL="nl",e.NO="no",e.DE="de",e.FI="fi",e.AR="ar",e.SV="sv",e.IT="it",e.PT="pt",e.ZH="zh",e.JA="ja",e.KO="ko",e.HU="hu",e.DA="da",e.RU="ru",e.PL="pl"}(ue||(ue={})),function(e){e.EN_US="en-US",e.EN_GB="en-GB",e.EN_CA="en-CA",e.FR_CA="fr-CA",e.FR_FR="fr-FR",e.ES="es",e.NL="nl",e.NO="no",e.DE="de",e.FI_FI="fi-FI",e.AR_001="ar-001",e.SV="sv",e.IT="it",e.PT_PT="pt-PT",e.PT_BR="pt-BR",e.ZH_CN="zh-CN",e.ZH_TW="zh-TW",e.JA="ja",e.KO="ko",e.HU="hu",e.DA="da",e.RU_RU="ru-RU",e.ES_US="es-US",e.PL_PL="pl-PL"}(he||(he={}));const me=[he.AR_001];function ge(e){return e.split("-")[0]}ue.AR,he.AR_001;const fe={"&amp;":"&"};function Ee(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]||!function(e){return me.includes(e)}(e)?"ltr":"rtl"}var ye,ve,Te;!function(e){e.ONLY_CAMPAIGN_PAGES="onlyCampaignPages",e.ONLY_CHECKOUT_MODAL="onlyCheckoutModal",e.BOTH_TYPES="bothTypes"}(ye||(ye={})),function(e){e.WITH_ASK_PAGE="withAskPage",e.NO_ASK_PAGE="noAskPage"}(ve||(ve={})),function(e){e.NOWHERE="nowhere",e.WIDGET="widget",e.URL="url"}(Te||(Te={}));const we="pageView",Ae="pageLeave",Se="customEvent",_e="dataLayer";class Ce{constructor(){this.payload={}}merge(e){const t={};for(const n in e)t[n]=e[n];for(const e in this.payload)t[e]=this.payload[e];this.payload=t,e.eventComment&&this.mergeEventComment(e.eventComment)}validate(){return!(!this.payload.companyKey||8!==this.payload.companyKey.length||!this.payload.clientId||!this.eventType)}toObject(){const e={};for(const t in this.payload)e[t]=this.payload[t];return this.payload.eventComment&&(e.eventComment=JSON.stringify(this.payload.eventComment)),e.eventType=this.eventType,e}mergeEventComment(e){this.payload.eventComment||(this.payload.eventComment={}),Object.assign(this.payload.eventComment,e)}}class Ne extends Ce{constructor(e){if(super(),this.payload={widgetKey:e.widgetKey,elementKey:e.elementKey,elementType:e.elementType,elementLocale:e.elementLocale,elementReminderKey:e.elementReminderKey,splitTestName:e.splitTestName,splitTestVariant:e.splitTestVariant,fundraisingPageKey:e.fundraisingPageKey,fundraisingPageCustomerKey:e.fundraisingPageCustomerKey,eventComment:e.eventComment},e.getElementTrackingData){const t=e.getElementTrackingData();t&&(this.payload.elementData=JSON.stringify(t))}else e.elementData&&(this.payload.elementData=JSON.stringify(e.elementData))}}class be extends Ne{get eventType(){return"elementOpenCheckout"}}class Ie extends Ne{get eventType(){return"elementClick"}}class Oe extends Ce{constructor(e){super(),this.merge({customEventType:e.customEventType,customEventData:JSON.stringify(e.customEventData)})}get eventType(){return Se}}function Pe(e){let{tracker:t,keysKeeper:n,widgetKey:i,splitTestVariant:o,splitTestName:r,elementKey:s,elementType:a}=e;return t.track(new be({widgetKey:n?ce(n,i):i,splitTestName:r,elementKey:s,elementType:a,splitTestVariant:o}))}var ke=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};const Le=(e,t,n,i,o,r,s,a,c,d,p)=>{p.register(f.CHECKOUT_MODAL_VS_CAMPAIGN_PAGES_EXPERIMENT,ie);const E=p.get(f.CHECKOUT_MODAL_VS_CAMPAIGN_PAGES_EXPERIMENT);let v=!1,T=null;const w=()=>y().get(17),A=()=>y().get(32),S=e=>!!(n.inactiveWidgets||[]).find((t=>{let[n,i]=t;return n===e||i===e})),_=t=>ke(void 0,void 0,void 0,(function*(){return e.needResolve(t)?(600,new Promise((e=>{setTimeout(e,600)}))):Promise.resolve()})),C=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return ke(void 0,[e,...i],void 0,(function*(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;var o;if(v)return;const s=ae(n.queryParams||{}),a=ce(r,e),c=Date.now();if(T=c,S(a))return void D(n.currentCompany,a);const l=[a];return(null===(o=t.checkoutData)||void 0===o?void 0:o.fundraiser)&&l.push(t.checkoutData.fundraiser),V(l)?B(a)?(yield I(a,t,i),null):(v=!0,F(a,s),yield Promise.all([b(a,l,s,t,c),_(l)]).catch((e=>{v=!1,K(),console.error(e)})),null):void 0}))},N=(t,n,i)=>ke(void 0,void 0,void 0,(function*(){var o;const r=yield e.resolveKeys(t,n);if(null===(o=null==r?void 0:r.campaign)||void 0===o?void 0:o.key){const e=r.campaign.key;if(B(e)){const t=new URLSearchParams(i.queryParams||{});return void(yield I(e,i,t))}}return r})),b=(e,i,o,l,d)=>ke(void 0,void 0,void 0,(function*(){var u;const h=$(),p=h?P:O,m=h?A:w,[g]=yield Promise.all([N(i,o,l),p()]);a.emit("checkoutBeforeOpen",void 0);const f=yield m()(s,t,r,a,{resolvedConfig:g,embedCompanies:n.data.companies,trackingUrls:n.server.trackingUrls,currencyRates:n.data.currencyRates,env:n.server.env,paymentMethods:n.paymentMethods,livemode:n.livemode,isMobile:n.isMobile,isMobileSafari16:n.deviceData.isMobileSafari16,showcase:!1,externalConfig:l,integrations:n.integrations,localeCode:n.locale.code,userMeta:null===(u=n.meta)||void 0===u?void 0:u.user,infrastructureQueryParams:null==n?void 0:n.queryParams,test:l.test,checkoutOpenTimestamp:d,htmlElementStyleManager:c,embedVersion:n.version,mainDomain:n.server.mainDomain,experimentsConfig:n.experimentsConfig,browserData:n.browserData,isDebugMode:n.isDebugMode,isFundraiseupVisitor:n.isFundraiseupVisitor,isAbTestMode:n.abTestDemoMode});f&&R({checkoutApi:f,key:e,options:l,isLivemode:o})})),I=(e,t,i)=>ke(void 0,void 0,void 0,(function*(){var o,r,a,c;let l=i||new URL(window.location.href).searchParams;const d=new pe({donorPortalUrl:n.staticConfig.donorPortalUrl,window,campaignKey:e});z(e)&&(l=E.getSearchParams(l)),yield d.openCampaignPage({elementType:null===(o=null==t?void 0:t.launcher)||void 0===o?void 0:o.elementType,elementTitle:null===(r=null==t?void 0:t.launcher)||void 0===r?void 0:r.elementTitle,elementName:null===(a=null==t?void 0:t.launcher)||void 0===a?void 0:a.elementName,element:null===(c=null==t?void 0:t.launcher)||void 0===c?void 0:c.elementKey,checkoutIntent:null==t?void 0:t.checkoutIntent,searchParams:l,clientId:s.clientId,tags:s.getTags(),locale:n.locale})})),O=()=>ke(void 0,void 0,void 0,(function*(){const e=n.server.checkoutAssets.scripts.filter((e=>!(e.includes("checkout-rtl-styles")&&"ltr"===L()||e.includes("checkout-styles")&&"rtl"===L())));yield Promise.all(e.map((e=>m(e))))})),P=()=>ke(void 0,void 0,void 0,(function*(){const e=n.server.checkoutSteplessAssets.scripts.filter((e=>!(e.includes("checkout-stepless-rtl-styles")&&"ltr"===L()||e.includes("checkout-stepless-styles")&&"rtl"===L())));yield Promise.all(e.map((e=>m(e))))})),k=()=>function(e,t,n){if(!n||!n.enabled)return!1;const i=h(n,e.key),o=(e=>!u.includes(e.country))(e);return i&&t&&o}(n.currentCompany,n.isMobile,void 0)?()=>Promise.all([O(),P()]).then():O,L=()=>Ee(n.locale.code),R=e=>{const{checkoutApi:t,key:n,options:o,isLivemode:r}=e;t.on("close",(e=>{const{shouldReopen:t,tributeSelected:r}=e,s=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(e,["shouldReopen","tributeSelected"]);v=!1,M("checkoutClose",s),t?window.setTimeout((()=>{C(n,Object.assign(Object.assign({},o),{tributeSelected:r}))}),300):i.remove()})),t.on("checkoutIntent",(e=>{M("checkoutIntent",e)})),t.on("donationComplete",(e=>{M("donationComplete",e),U()}));const s=t.getOpenParams();M("checkoutOpen",s),setTimeout((()=>{K()}),150),x(t,r)},x=(e,t)=>{re().then((n=>{var i;(null===(i=null==e?void 0:e.iframeNode)||void 0===i?void 0:i.contentWindow)&&n.createTestModePanel(e.iframeNode.contentWindow,e.checkoutLocale,t)}))},D=(e,t)=>{const n=e.disabledWidgets.redirectTo;if(n===Te.WIDGET)return S(e.disabledWidgets.widgetKey)?void i.remove(!0):void C(e.disabledWidgets.widgetKey);n===Te.URL&&window.location.assign(e.disabledWidgets.url),i.remove(!0),console.warn(`Campaign is not active | Widget ${t} is archived`)},M=(e,n)=>{t.logCode(7,{event:e,payload:n}),setTimeout((()=>{try{a.emit(e,n)}catch(e){console.error(e)}}),0)},U=()=>{d.setField("lastSuccessDonationAt",Date.now())},F=(e,t)=>{const r="rtl"===Ee(n.locale.code);i.render(!1),o.render({campaignKey:e,isMobile:n.isMobile,isLivemode:t,isRtl:r})},K=()=>{o.hide()},B=e=>!!G(e)||!!W(e),G=e=>r.getCheckoutType(e)===ye.ONLY_CAMPAIGN_PAGES,V=e=>e.some((e=>r.exists("WIDGET",e)||r.exists("FUNDRAISING_PAGE",e))),j=e=>r.getAskPageType(e)===ve.WITH_ASK_PAGE,H=e=>E.needRedirectToCampaignPage({isMobile:n.isMobile,showAskPage:j(e)}),W=e=>(X(e),E.exposure(),H(e)),z=e=>!G(e)&&H(e),X=e=>{E.tryStart({isMobile:n.isMobile,showAskPage:j(e)})},$=()=>n.server.env!==g.PRODUCTION&&"true"===new URL(window.location.href).searchParams.get("stepless");return{getLatestStartOpenCheckoutTimestamp:()=>T,open:C,createShowcase:(e,i,o,l,d)=>(e.config.cryptoCurrencies=i,O().then((()=>{var i;return w()(s,t,r,a,{embedCompanies:n.data.companies,trackingUrls:n.server.trackingUrls,env:n.server.env,resolvedConfig:e,currencyRates:n.data.currencyRates,paymentMethods:n.paymentMethods,integrations:n.integrations,localeCode:n.locale.code,userMeta:null===(i=n.meta)||void 0===i?void 0:i.user,infrastructureQueryParams:null==n?void 0:n.queryParams,showcase:!0,isMobile:!1,isMobileSafari16:!1,livemode:!1,externalConfig:{},checkoutOpenTimestamp:0,node:l,initialScreen:d,htmlElementStyleManager:c,embedVersion:n.version,mainDomain:n.server.mainDomain,experimentsConfig:{experiments:[]},browserData:n.browserData,isDebugMode:n.isDebugMode,isFundraiseupVisitor:n.isFundraiseupVisitor,isAbTestMode:n.abTestDemoMode},o)}))),preloadCheckout:()=>{window.FUN_DISABLE_PRELOADING||k()()},on:(e,t)=>{a.on(e,t)},emit:M,openCheckout:(e,t)=>{var n;const{checkoutData:i,checkoutIntent:o,campaignPageSearchParams:a}=(e=>{if(!e)return{};const t={},n={},i=new URLSearchParams,{donation:o,supporter:r,tribute:s,designations:a,customFields:c,config:l}=e||{},d=e=>"string"==typeof e&&""!==e.trim();if(o){const{recurring:e,amount:t,currency:r}=o;d(e)&&(n.recurring=o.recurring,i.set("recurring",`${o.recurring}`)),void 0!==t&&Number.isFinite(t)&&(n.amount=Math.round(100*t),i.set("amount",`${t}`)),d(r)&&(n.currency=o.currency,i.set("currency",`${n.currency}`))}if(r){const e=Object.entries(r).filter((e=>{let[t,n]=e;return d(n)}));e.length&&(t.supporter=Object.fromEntries(e),i.set("supporter",JSON.stringify(t.supporter)))}if(s&&d(s.honoree)&&(t.tribute={inHonorOf:s.honoree,type:null,labelType:ne.IN_HONOR_MEMORY},i.set("tribute",JSON.stringify(t.tribute))),(null==a?void 0:a.length)&&d(a[0].id)&&(n.designationId=a[0].id,i.set("designationId",n.designationId)),c){n.customFields=Object.entries(c).map((e=>{let[t,n]=e;return{name:t,value:n}}));for(const{name:e,value:t}of n.customFields)i.set(e,t)}if(l){const{modifyAmount:e,modifyDesignation:t}=l;void 0!==e&&(n.modifyAmount=e,i.set("modifyAmount",n.modifyAmount?"yes":"no")),void 0!==t&&(n.modifyDesignation=t,i.set("modifyDesignation",n.modifyDesignation?"yes":"no"))}return{checkoutData:n,checkoutIntent:t,campaignPageSearchParams:i}})(t);Pe({tracker:s,widgetKey:e,keysKeeper:r,elementType:l.JS_API,elementKey:"",splitTestName:"",splitTestVariant:""}),C(e,{checkoutData:i,checkoutIntent:o,launcher:{elementType:l.JS_API,splitTestName:"",splitTestVariant:"",widgetKey:e,customFields:null!==(n=null==i?void 0:i.customFields)&&void 0!==n?n:[]}},a)}}},Re="test";class xe{constructor(e,t){this.locale=e,this.localizationConfig=t,this.next=null}setNext(e){this.next=e}handle(){return this.retrieveLocale()||(this.next?this.next.handle():null)}}class De extends xe{retrieveLocale(){return this.localizationConfig.defaultLocale}handle(){return this.retrieveLocale()}}const Me=[he.EN_US,he.EN_GB,he.EN_CA,he.FR_CA,he.FR_FR,he.ES,he.NL,he.NO,he.DE,he.FI_FI,he.SV,he.IT,he.PT_PT,he.PT_BR,he.AR_001,he.ZH_CN,he.ZH_TW,he.JA,he.KO,he.HU,he.DA,he.ES_US,he.PL_PL,he.RU_RU];class Ue extends xe{retrieveLocale(){return-1!==this.localizationConfig.interfaceLocales.indexOf(this.locale)?(e=this.locale,Me.includes(e)?this.locale:null):null;var e}}class Fe extends xe{retrieveLocale(){var e;return(e=this.locale,this.localizationConfig.interfaceLocales.find((t=>ge(e)===ge(t))))||null}}class Ke extends xe{retrieveLocale(){return this.localizationConfig.interfaceLocales.find((e=>ge(e)===ue.EN))||null}}var Be;!function(e){e.HA="ha",e.IU="iu",e.GD="gd",e.CY="cy",e.BR="br",e.SQ="sq",e.SC="sc",e.NB="nb",e.NN="nn",e.HY="hy",e.AZ="az",e.BE="be",e.CE="ce",e.ET="et",e.KK="kk",e.KY="ky",e.LV="lv",e.LT="lt",e.MN="mn",e.TG="tg",e.UK="uk",e.UZ="uz",e.EU="eu",e.CA="ca",e.GL="gl"}(Be||(Be={}));class Ge extends xe{retrieveLocale(){const e=Ge.fallbackLocales.get(this.locale);return e&&-1!==this.localizationConfig.interfaceLocales.indexOf(e)?e:null}}Ge.fallbackLocales=new Map([[Be.HA,he.AR_001],[Be.IU,he.EN_CA],[Be.GD,he.EN_GB],[Be.CY,he.EN_GB],[Be.BR,he.FR_FR],[Be.SQ,he.IT],[Be.SC,he.IT],[Be.NB,he.NO],[Be.NN,he.NO],[Be.HY,he.RU_RU],[Be.AZ,he.RU_RU],[Be.BE,he.RU_RU],[Be.CE,he.RU_RU],[Be.ET,he.RU_RU],[Be.KK,he.RU_RU],[Be.KY,he.RU_RU],[Be.LV,he.RU_RU],[Be.LT,he.RU_RU],[Be.MN,he.RU_RU],[Be.TG,he.RU_RU],[Be.UK,he.RU_RU],[Be.UZ,he.RU_RU],[Be.EU,he.ES],[Be.CA,he.ES],[Be.GL,he.ES]]);class Ve{constructor(e,t){this.locale=e,this.companyLocalizationConfig=t}getUILocale(){const e=new De(this.locale||"",this.companyLocalizationConfig);if(!this.locale)return e.handle();const t=function(e,t){const n=new Ue(e,t),i=new Fe(e,t),o=new Ge(e,t),r=new Ke(e,t),s=new De(e,t);return n.setNext(i),i.setNext(o),o.setNext(r),r.setNext(s),n}(this.locale,this.companyLocalizationConfig);return t.handle()||e.handle()}}class je{constructor(e,t,n,i,o,r,s){this.translationService=e,this.dateFormatter=t,this.currencyFormatter=n,this.numberFormatter=i,this.company=o,this.donateToPayTokens=r,this._locale=je.DEFAULT_LOCALE,this.availableLocales=s.availableLocales,this.locale=s.locale,this.company=o,this.donateToPayTokens=r,this.dateFormatter.intl=this}static isLocaleCode(e){return void 0!==e&&Me.includes(e)}get locale(){return this._locale}set locale(e){this.isLocaleAvailable(e)?this._locale=e:this._locale=je.DEFAULT_LOCALE}get language(){return this.locale.split("-")[0]}setLocale(e){const t=this.locale;this.locale=e;const n=[this.translationService.changeLocale(this.locale)];return Promise.all(n).then((()=>this.locale)).catch((e=>(this.locale=t,Promise.reject(e)))).finally((()=>{this.dateFormatter.changeLocale(this.locale),this.currencyFormatter.changeLocale(this.locale),this.numberFormatter.changeLocale(this.locale)}))}translate(e,t){const n=function(e){let t=e;for(const o in fe)Object.prototype.hasOwnProperty.call(fe,o)&&e.includes(o)&&(n=o,i=fe[o],t=t.replace(new RegExp(n,"g"),i));var n,i;return t}(this.translationService.translate(e,t));return this.replaceDonateToPay(e,n)}formatDate(e,t){return this.dateFormatter.format(e,t)}formatCurrency(e,t){return this.currencyFormatter.format(e,t)}formatSymbol(e,t){return this.currencyFormatter.formatCurrencySymbol(e,t)}formatNumber(e,t){return this.numberFormatter.format(e,t)}isLocaleAvailable(e){return this.availableLocales.some((t=>t===e))}replaceDonateToPay(e,t){if("AFJCHFEK"===this.company&&this.locale===he.EN_US&&this.donateToPayTokens.includes(e)){const e={donation:"payment",Donation:"Payment",Donate:"Pay",donate:"pay",donating:"paying"};return t.replace(/donation|Donation|Donate|donate|donating/g,(t=>e[t]))}return t}getCurrencyFormat(){return this.currencyFormatter.getFormat()}}let He;function We(e,t){if(e===Re)return ze();const n=je.isLocaleCode(e);return{code:n?e:je.DEFAULT_LOCALE,source:n?t:void 0,isTest:!1}}function ze(){return{code:je.DEFAULT_LOCALE,isTest:(void 0===He&&(He=!1),He)}}function Xe(e,t){return{code:e,source:t,isTest:!1}}var $e;je.DEFAULT_LOCALE=he.EN_US,function(e){e.DONOR="donor",e.EMBED="embed",e.TEST="test"}($e||($e={}));class Ye{static get(e){switch(e){case $e.DONOR:return We;case $e.EMBED:return Xe;case $e.TEST:return ze;default:throw new Error(`13 ${e}`)}}}function qe(e){const t="^"+e.replace(/([[\]{}()+?.^$|\\/])/g,"\\$1").replace(/\*/g,".*")+"$";return new RegExp(t)}class Je{constructor(e){this.companyLocalizationSettings=e.companyLocalizationSettings,this.localeDetector=function(e){const t=e.currentUrl,n=e.queryParams,i=e.companyLocalizationSettings;return{detect:()=>{let o=n[se],r=o?le.URL:void 0;return o||(o=e.window[se],r=o?le.WINDOW:void 0),!o&&i.matchURL&&(o=(()=>{let e;return i.urlRules.forEach((n=>{const i=qe(n.url).test(t);!e&&i&&(e=n.locale)})),e})(),r=o?le.URL_MATCHING:void 0),!o&&i.matchBrowserLocale&&(o=e.window.navigator.language,r=o?le.BROWSER:void 0),{locale:o,source:r}}}}({window:e.window,currentUrl:e.window.location.href,queryParams:e.queryParams,companyLocalizationSettings:e.companyLocalizationSettings})}getConfig(){const{source:e,locale:t}=this.localeDetector.detect();if(t===Re)return Ye.get($e.TEST)();const n=new Ve(t,this.companyLocalizationSettings).getUILocale(),i=n===t?e:void 0;return Ye.get($e.EMBED)(n,i)}}function Ze(){return"loading"!==document.readyState?Promise.resolve():new Promise((e=>{document.addEventListener("DOMContentLoaded",(()=>e()))}))}const Qe=e=>{let t=null,n=[],i=0;const o=t=>{[].forEach.call(t,(t=>{const o=r(t);if(o&&o.length){if(n.push(...o),i)return;i=window.setTimeout((()=>{i=0,e(n),n=[]}),50)}}))},r=e=>{const t=[];return e.addedNodes?([].forEach.call(e.addedNodes,(e=>{if("A"===e.tagName)return void t.push(e);if(e.classList&&e.classList.contains("fun-widget"))return void t.push(e);if(!e.querySelectorAll)return;const n=e.querySelectorAll(".fun-widget, [href]");n&&[].forEach.call(n,(e=>t.push(e)))})),t):t};return{run:()=>{try{t=new MutationObserver(o),t.observe(document.documentElement,{childList:!0,subtree:!0})}catch(e){console.error(e)}}}},et=[l.STICKY_BUTTON,l.MESSAGE_BAR,l.LIGHTBOX];var tt;!function(e){e.ALL="all",e.DESKTOP_ONLY="desktopOnly",e.MOBILE_ONLY="mobileOnly"}(tt||(tt={}));const nt=["/","*"];function it(e){let t=e.replace(/(\?.*)/,"").replace(/(#.*)/,"");const n=t.charAt(t.length-1);return-1===nt.indexOf(n)&&(t+="/"),t}const ot=[l.MESSAGE_BAR,l.LIGHTBOX];const rt=e=>{const t=document.createElement("link");t.rel="preload",t.as="script",t.href=e,document.head.appendChild(t);const n=document.createElement("script");n.src=e,n.async=!0,document.head.appendChild(n),n.onload=()=>{document.head.removeChild(t),document.head.removeChild(n)},n.onerror=()=>{document.head.removeChild(t),document.head.removeChild(n)}},st="XFUNDEBUGPANEL",at=[l.FUNDRAISING_PAGE_LINK,l.FUNDRAISING_PAGE_INVITE_LINK,l.LINK,l.DIRECT_LINK,l.DEBUG_PANEL,l.TEST_MODE_PANEL,l.SPLIT_TESTING,l.JS_API];var ct=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};function lt(e,t,n,i,o,r,s){var a=this;const c=i.server.elementsUrl,d=[],u=new Map,h=new Map;let p=[];const m=()=>{window.addEventListener("popstate",T),window.addEventListener("hashchange",T);const e=history.pushState,t=history.replaceState;history.pushState=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const o=e.apply(this,n);return T(),o},history.replaceState=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];const o=t.apply(this,n);return T(),o}},g=()=>{const n=e.findElements();n.forEach((e=>{const t=u.get(e.key)||[];u.set(e.key,[...t,e]),f(e)}));const i=n.map((e=>{let{key:t}=e;return t}));t.addFundraisersKeys(i),S(n),w(i)},f=e=>{const i=t.exists("WIDGET",e.key||"");if(e.type!==l.LINK||!e.node||!i)return;const o=i=>{var s,a,c,d,u;null===(s=e.node)||void 0===s||s.removeEventListener("click",o);const h=i.target;if(h){const e=h.getAttribute("href");e&&function(e){let{tracker:t,href:n}=e;t.track(new Oe({customEventType:"urlOpenCheckout",customEventData:{href:n}}))}({tracker:r,href:e})}if(!(null===(a=e.node)||void 0===a?void 0:a.__funElement)&&(i.preventDefault(),i.stopPropagation(),e.key)){const i={queryParams:e.queryParams};if(e.node){const{test:t,variant:n}=(null===(c=window.FUN.splitTesting)||void 0===c?void 0:c.inspect(e.node))||{};t&&n&&(i.test={name:t,variant:n})}const o={tracker:r,widgetKey:e.key,keysKeeper:t,elementKey:"",elementType:l.LINK,splitTestVariant:(null===(d=i.test)||void 0===d?void 0:d.variant)||"",splitTestName:(null===(u=i.test)||void 0===u?void 0:u.name)||""};!function(e){let{tracker:t,keysKeeper:n,widgetKey:i,splitTestVariant:o,splitTestName:r,elementKey:s="",elementType:a=l.LINK}=e;t.track(new Ie({widgetKey:n?ce(n,i):i,elementKey:s,elementType:a,splitTestName:r,splitTestVariant:o}))}(o),Pe(o),n.open(e.key,i).catch((e=>console.error(e)))}};e.node.addEventListener("click",o)},E=(e,t)=>re().then((o=>{var r,s;o.addElements({elements:null!==(r=null==t?void 0:t.elements)&&void 0!==r?r:[],nodes:e,globalElements:null!==(s=null==t?void 0:t.globalElements)&&void 0!==s?s:[]}).then((()=>{i.disablePreloading||n.preloadCheckout()}))})),y=e=>ct(this,void 0,void 0,(function*(){const t=s.getUrlParamsForElement(e),n=Object.assign(Object.assign({},e),{externalConfig:t,data:null});(function(e){return!at.includes(e.type)})(e)&&(n.data=i.livemode?e.data.live:e.data.test);const r=[n],a={params:[e.key]};o.logCode(8,{elements:r,info:a});const c=u.get(e.key);return c&&c.length?E(c,{elements:r}).then((()=>{u.delete(e.key),d.forEach((e=>e({elements:r},a)))})):(d.forEach((e=>e({elements:r},a))),Promise.resolve())})),v=e=>{const t=i.deviceData.isMobileOrTablet;p.length||(p=e);const n=e.filter((e=>{const n=function(e,t){if(function(e){return-1!==et.indexOf(e.type)}(e)){if(e.config.deviceRestriction===tt.DESKTOP_ONLY&&t)return!1;if(e.config.deviceRestriction===tt.MOBILE_ONLY&&!t)return!1}return!0}(e,t),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const i=it(e),o=0===t.length||t.some((e=>qe(it(e)).test(i))),r=n.some((e=>qe(it(e)).test(i)));return o&&!r}(window.location.href,e.config.urlAllow,e.config.urlBlock),o=function(e){if(function(e){return-1!==ot.indexOf(e.type)}(e)){const{displayStartDate:t,displayEndDate:n}=e.data.live;if(!t&&!n)return!0;const i=Date.now(),o=t?Date.parse(t):null,r=n?Date.parse(n):null;if(o&&!r)return i>=o;if(!o&&r)return i<=r;if(o&&r)return i>=o&&i<r}return!0}(e),r=n&&i&&o;return r&&h.set(e.key,e),r})),r=n.map((e=>Object.assign(Object.assign({},e),{data:i.livemode?e.data.live:e.data.test})));return d.forEach((e=>e({elements:[],globalElements:r}))),o.logCode(9,{globalElements:r}),E([],{elements:[],globalElements:r})},T=()=>ct(this,void 0,void 0,(function*(){try{if(!p.length)return;const e=p.filter((e=>!h.has(e.key)));if(!e.length)return;return o.logCode(10,{globalElements:e}),v(e)}catch(e){}})),w=e=>{-1!==e.indexOf(st)&&y({key:st,type:l.DEBUG_PANEL,name:"",config:{},data:{live:null,test:null}});const n=e.filter((e=>t.exists("ELEMENT",e)&&e!==st)).map((e=>({key:e,type:t.getElementType(e)})));n.length&&n.forEach((e=>{let{key:t}=e;return A(t)}))},A=e=>{rt(`${c}elements/${e}.js`)},S=e=>{-1!==e.map((e=>{let{key:t}=e;return t})).indexOf(st)&&y({key:st,type:l.DEBUG_PANEL,name:"",config:{},data:{live:null,test:null}}),e.forEach((e=>{let{type:t,key:n}=e;t!==l.LINK&&t!==l.FUNDRAISING_PAGE_LINK&&t!==l.FUNDRAISING_PAGE_INVITE_LINK||y({key:n,type:t,name:"",config:{},data:{live:null,test:null}})}))};return{elementsUrl:c,initialize:()=>(Qe((()=>{var e,t;null===(e=window.FUN.splitTesting)||void 0===e||e.init(),o.logCode(19),g(),null===(t=window.FUN.splitTesting)||void 0===t||t.reset()})).run(),window.FUN_DISABLE_GLOBAL_ELEMENTS||rt(`${c}elements-global/${i.currentCompanyKey}.js`),Ze().then((()=>m())).then((()=>g())).catch((e=>console.error(e)))),createElement:function(e,t,n){for(var i=arguments.length,o=new Array(i>3?i-3:0),r=3;r<i;r++)o[r-3]=arguments[r];return ct(a,[e,t,n,...o],void 0,(function*(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return(yield re()).createElementByType(e,t,i,n)}))},onElementsLoad:e=>{d.push(e)},addElementContent:y,addGlobalElementsContent:v,getElements:w,getElementInstance:e=>re().then((t=>t.getElementInstance(e)))}}const dt=/\/-\/(X[\dA-Z]{7})/,ut=/^X[\dA-Z]{7}/,ht=new RegExp("\\/-\\/(N[\\dA-Z]{7})"),pt=new RegExp(`${ht.source}(?!\\/join)`),mt=new RegExp(`${ht.source}\\/join`),gt=/^N[\dA-Z]{7}/i,ft=/#?(FUN.{8})/i;function Et(e){return new Promise((function(t,n){yt(e,t,n)}))}function yt(e,t,n){const i=new XMLHttpRequest;i.open(e.method||"GET",e.url),i.withCredentials=!("withCredentials"in e)||Boolean(e.withCredentials),i.onload=function(){if(this.status>=200&&this.status<300){const e=i.getResponseHeader("content-type");if(e&&-1!==e.indexOf("application/json"))try{return t(JSON.parse(i.response))}catch(e){n(e)}t(i.response)}else{if(e.validStatuses&&-1!==e.validStatuses.indexOf(this.status))return t();n(new Error(`[Shared]: Server ${e.method} response status ${this.status} for url ${e.url}, ${i.statusText}`))}},i.onerror=function(){n({status:this.status,statusText:i.statusText})};const o=e.headers;o&&Object.keys(o).forEach((function(e){i.setRequestHeader(e,o[e])}));let r=e.params;return r&&"object"==typeof r&&(r=JSON.stringify(r)),i.send(r),{abort(){i.abort()}}}const vt=window.FUN_HOST||"https://api.fundraiseup.com",Tt=(window.FUN_CDN,window.FUN_STATIC),wt=window.FUN_STATIC_S3||"https://static.fundraiseup.com";o.p=Tt||o.p;function At(e){return(0,de.UA)(window.location.search.substring(1))[e]}var St=o("../murmur/src/murmur.ts");function _t(e){let{elementKey:t,elementType:n,widgetKey:i,queryParams:o}=e;return t&&n?Object.assign(Object.assign({},o),{type:n,elementKey:t,key:i}):Object.assign(Object.assign({},o),{type:l.DIRECT_LINK,elementKey:"",key:i})}function Ct(e){const t={elementType:l.DIRECT_LINK,splitTestName:"",splitTestVariant:"",widgetKey:""};return e.elementKey&&e.type?Object.assign(Object.assign(Object.assign({},t),e),{elementType:e.type,widgetKey:e.key}):t}const Nt=/#([\da-z_-]{1,25})(\?|&|$)/i;function bt(e){const t=Nt.exec(e);return t&&t[1]?t[1]:""}class It extends Ce{constructor(e){super(),this.payload={duration:e.duration,eventComment:{widgets:e.widgets}}}get eventType(){return"checkoutResolve"}}class Ot extends Ce{get eventType(){return Ae}}var Pt=o("../../shared/src/common/embed/splitTesting/constants.ts");class kt extends Ce{constructor(e){super();const t=(0,de.UA)(location.href);t[Pt.AC]&&(this.payload.splitTestName=t[Pt.AC]),t[Pt.$m]&&(this.payload.splitTestVariant=t[Pt.AC]),e&&(this.payload.eventComment=Object.assign(Object.assign({},this.payload.eventComment),e))}get eventType(){return we}}class Lt extends Ce{constructor(e,t){super(),this.payload={splitTestName:e,splitTestVariant:t}}get eventType(){return"testVariantSelected"}}const Rt=(e,t,n,i,r,s,a,c,d,u,h,p,m,g)=>{let f,E=!1;const y=r.fromDonorPortal,v=()=>{d.logCode(2,3);const t=[window.location.href];window.FundraiseUp.h&&window.FundraiseUp.h.match(/^https?:\/\/.+\..+\//)&&t.push(window.FundraiseUp.h);for(let i=0;i<t.length;i++){const o=t[i];d.logCode(2,4,o);const r=(0,de.UA)(o),a=r.form,u=bt(o),h={queryParams:r},p=c.exists("WIDGET",a),m=c.exists("WIDGET",u),g=p&&a||m&&u;if(g){const t=_t({elementType:c.getElementType(r.element),elementKey:r.element,widgetKey:g,queryParams:r}),n=Ct(t);Pe({tracker:s,widgetKey:g,keysKeeper:c,elementType:t.type,elementKey:t.elementKey,splitTestName:"",splitTestVariant:""});const i=Object.assign(Object.assign({},h),{launcher:n});return e.open(g,i)}const f=c.getElementType(a);if(f===l.P2P_BUTTON||f===l.P2P_LINK)return d.logCode(2,5),n.open(a);if(gt.test(a))return d.logCode(2,6),n.open(a)}return Promise.resolve()},T=()=>{!function(e,t){if(t.get()||t.set({},{path:e.location.pathname}),e.querySelector(`iframe#${st}`))return;const n="#"+st,i=e.createElement("a");i.setAttribute("href",n),i.style.display="none",e.body.appendChild(i)}(document,u)},w=()=>{return e=void 0,t=void 0,i=function*(){if(!r.abTestMode)return;const{SplitTesting:e}=yield o.e(707).then(o.bind(o,"./src/splitTesting/SplitTesting.ts"));f=new e({keysKeeper:c,clientId:s.clientId,api:window.FundraiseUp,companyKey:r.currentCompanyKey,demoMode:r.abTestDemoMode,onVariantSelect:e=>{let{testName:t,variantName:n}=e;s.track(new Lt(t,n))},onReset:()=>{f.allVariantNodes.forEach((e=>{const t=[].slice.call(e.querySelectorAll('a[href^="#X"],a[href^="#x"]')).some((e=>c.exists("ELEMENT",e.hash.replace("#",""))));if(t)return void d.log("Split Testing: on reset",{hasElement:t});const n=h.getNodeParams(e),i=h.extractNodeParams(e)||n,o=null==i?void 0:i.key;o&&c.exists(["WIDGET","ELEMENT"],o)?d.log("Split Testing: known key",{key:o}):re().then((t=>t.createElementByType(l.SPLIT_TESTING,{elementKey:"",elementType:l.SPLIT_TESTING,elementName:l.SPLIT_TESTING,config:{},elementFoundTimestamp:Date.now()},!1,e).catch((e=>console.error(e)))))}))}}),f.init()},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}));var e,t,n,i},A={get experiments(){return m},get splitTesting(){return f},get livemode(){return r.livemode},get version(){return r.version},get initialized(){return E},init:()=>E?(d.logCode(1),Promise.resolve()):(p.incrementSession(),document.head.insertAdjacentHTML("beforeend",'<link href="https://ucarecdn.com/" rel="dns-prefetch">'),function(e){if(window.FUN_WIDGET_KEYS){e.addWidgetKeys(window.FUN_WIDGET_KEYS);const t=window.FUN_WIDGET_KEYS.push;window.FUN_WIDGET_KEYS.push=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.addWidgetKeys(i),t.apply(window.FUN_WIDGET_KEYS,i)}}}(c),function(e){window.FUN_ELEMENT_KEYS={add(t,n){e.addElementKeys(t,n)}}}(c),(()=>{const e=function(e){return{gaDetectResult:{gtag:Boolean(e.gtag),ga:Boolean(e.ga&&e.ga.create),ga4:Boolean(e.dataLayer)}}}(window),t=function(e){return e.matchMedia&&e.matchMedia("(prefers-color-scheme: dark)").matches}(window);s.track(new kt(Object.assign(Object.assign({},e),{darkMode:t}))),window.addEventListener("beforeunload",(()=>{s.track(new Ot)})),a.onResolve(((e,t)=>{s.track(new It({widgets:[e.campaign.key],fundraisingPages:e.fundraisingPage?[e.fundraisingPage.key]:[],duration:t.duration}))}))})(),function(e,t){const n=(e,n)=>"string"!=typeof e?e[0](t):t[e](...[].slice.call(n));return{init:()=>{e.l.forEach((e=>{n(...e)})),e.l.push=e=>(n(...e),e.length)}}}(window.FundraiseUp,e).init(),Promise.all([w(),t.initialize(),v(),y?Promise.resolve():function(){if("yes"===At("fundraiseupDebug")){const e=prompt("");if(e)return 1648622467===(0,St.A)(e)}return"yes"===At("fundraiseupABTestDebug")}()?Ze().then((()=>T())):Promise.resolve()]).then((()=>{E=!0,window.FUN_STARTUP_HOOK&&window.FUN_STARTUP_HOOK(),null==f||f.reset()}))),checkout:e,elements:t,forms:n,services:i,config:r,tracker:s,debug:function(){const e=new Date;e.setFullYear(e.getFullYear()+5),g.set(!0,{expires:e})}};return y||(A.showDebugPanel=T),A};function xt(e){return null!=e}const Dt=(e,t)=>{const n=new WeakMap,i=i=>{if("fun"===i.getAttribute("data-ignore"))return null;const o=i.getAttribute("href")||"";let r=(0,de.dy)(o);const s=(0,de.UA)(o);if(dt.test(o)){const e=dt.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=l.TEXT_LINK}}if(pt.test(o)){const e=pt.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=l.FUNDRAISING_PAGE_LINK}}if(mt.test(o)){const e=mt.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=l.FUNDRAISING_PAGE_INVITE_LINK}}o==="#"+st&&(r||(r={}),r.key=st,r.type=l.DEBUG_PANEL),s.form&&(r||(r={}),r.key=s.form,Object.assign(r,s));const a={type:l.LINK,key:"",elementFoundTimestamp:0};if(r){const t=r.type||function(e,t,n){if(/^[#?]/.test(n))return!0;const i=e.split("#")[0],o=t.split("#")[0],r=t.split("?")[0];return i===o||i===r||e.split("?")[0]===r}(i.href,window.location.href,o);if(!t)return null;a.key=r.key;const n=r.type||e.getElementType(a.key);a.type=n||l.LINK}else a.key=(0,de.cH)(i,"key")||"";return-1!==[l.LINK,l.FUNDRAISING_PAGE_LINK,l.FUNDRAISING_PAGE_INVITE_LINK,l.TEXT_LINK].indexOf(a.type)&&(a.queryParams=s),a.key&&(a.type!==l.LINK||e.exists("ELEMENT",a.key)||e.exists("WIDGET",a.key))?(a.key=ce(e,a.key),a.node=i,a.elementFoundTimestamp=Date.now(),t.logCode(12,{params:a}),n.set(a.node,a),a):null};return{getNodeParams:e=>n.get(e),findElements:()=>{const e=document.querySelectorAll(".fun-widget, a[href]");return t.logCode(11,{primaryNodes:e}),o=[].slice.call(e),t.logCode(13,{nodes:o}),o.filter((e=>!n.has(e))).filter((e=>(e=>"function"!=typeof document.contains||document.contains(e))(e))).map((e=>i(e))).filter(xt);var o},extractNodeParams:i}};class Mt{constructor(e){var t;this.customHashToKeyIndex=new Map,this.keyToCustomHashIndex=new Map,this.originalKeyIndex=new Map,this.elementsMap=new Map,this.fundraisersMap=new Map,this.campaignGroupMap=new Map,this.campaignSubGroupMap=new Map,this.index=new Map,this.processCampaignsKeys([...(t=e.campaignKeyGroups,Object.values(t).map((e=>Object.values(e))).flatMap((e=>e)).flatMap((e=>e))),...e.inactiveWidgets]),this.processCampaignsKeyGroups(e.campaignKeyGroups),this.processElementKeys(e.elements)}processCampaignsKeys(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((e=>{const[t,n]=e,i=this.normalize(t);if(this.index.set(i,"WIDGET"),this.originalKeyIndex.set(i,t),n){const e=this.normalize(n);this.index.set(e,"WIDGET"),this.customHashToKeyIndex.set(e,t),this.keyToCustomHashIndex.set(i,n),this.originalKeyIndex.set(e,n)}}))}processCampaignsKeyGroups(e){Object.entries(e).forEach((e=>{let[t,n]=e;Object.entries(n).forEach((e=>{let[n,i]=e;i.forEach((e=>{const[i]=e,o=this.normalize(i);this.campaignGroupMap.set(o,t),this.campaignSubGroupMap.set(o,n)}))}))}))}processElementKeys(e){Object.keys(e).forEach((t=>{e[t].forEach((e=>{this.index.set(this.normalize(e),"ELEMENT"),this.elementsMap.set(this.normalize(e),t)}))})),this.index.set(this.normalize(st),"ELEMENT"),this.elementsMap.set(this.normalize(st),l.DEBUG_PANEL)}exists(e,t){return("string"==typeof e?[e]:e).some((e=>this.index.get(this.normalize(t))===e))}itLooksLikeKey(e,t){return"WIDGET"===e?ft.test(this.normalize(t)):"ELEMENT"===e?ut.test(t):gt.test(t)}normalize(e){if(!e)return"";const t=e.slice("#"===e[0]?1:0);return ft.test(t)||ut.test(t)||gt.test(t)?t.toUpperCase():t.toLowerCase()}getElementType(e){return this.elementsMap.get(e)}checkElementType(e,t){return this.getElementType(t)===e}addWidgetKeys(e){e.forEach((e=>{if(this.exists("WIDGET",e))return;const t=this.normalize(e);this.index.set(e,"WIDGET"),this.originalKeyIndex.set(t,t)}))}addFundraisersKeys(e){e.filter((e=>gt.test(e))).forEach((e=>{if(this.exists("FUNDRAISING_PAGE",e))return;const t=this.normalize(e);this.exists("WIDGET",t)||(this.index.set(t,"FUNDRAISING_PAGE"),this.fundraisersMap.set(t,t))}))}getFundraisersKeys(){return[...this.fundraisersMap.keys()]}addElementKeys(e,t){this.index.set(this.normalize(t),"ELEMENT"),this.elementsMap.set(this.normalize(t),e)}getWidgetCustomHash(e){return this.keyToCustomHashIndex.get(this.normalize(e))}isWidgetCustomHash(e){return this.customHashToKeyIndex.has(this.normalize(e))}getOriginalWidgetKey(e){return this.originalKeyIndex.get(this.normalize(e))}getWidgetKeyByCustomHash(e){return this.customHashToKeyIndex.get(this.normalize(e))}getCheckoutType(e){return this.campaignGroupMap.get(this.normalize(e))}getAskPageType(e){return this.campaignSubGroupMap.get(this.normalize(e))}}var Ut=o("./src/preloader/backdrop.css"),Ft=o.n(Ut);function Kt(e,t){if(e.body)return t();setTimeout(Kt.bind(null,e,t),10)}const Bt="fun-widget-backdrop-spinner";class Gt{constructor(e,t){this.targetWindow=e,this.scrollLocker=t,this.container=null,this.targetWindow=e,this.setStyle()}render(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.targetWindow.document.getElementById(Gt.styleId)||this.setStyle(),this.container||(this.container=this.targetWindow.document.createElement("div"),this.container.__funIgnoreInViewportTracker=!0,this.container.classList.add("fun-widget-backdrop-holder"),this.container.style.setProperty("background","rgba(57, 58, 63, 0.85)","important"),e&&this.showSpinner(),this.targetWindow.document.body?(this.targetWindow.document.body.appendChild(this.container),this.scrollLocker.lock()):Kt(this.targetWindow.document,(()=>{this.container&&(this.targetWindow.document.body.appendChild(this.container),this.scrollLocker.lock())}))),this}setStyle(){this.targetWindow.document.head.insertAdjacentHTML("afterbegin",`<style id="${Gt.styleId}">${Ft()}</style>`)}get isExists(){return!!this.container}remove(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.scrollLocker.unlock(),this.container?e?(this.container.remove(),this.container=null,this):(this.container.style.transition="opacity .2s ease",this.container.addEventListener("transitionend",(()=>{this.container&&(this.container.remove(),this.container=null)})),this.container.style.opacity="0",this):this}hideSpinner(){if(!this.container)return console.warn(3),this;const e=this.container.querySelector(`#${Bt}`);return e&&e.remove(),this}showSpinner(){return this.container?(this.container.insertAdjacentHTML("afterbegin",`<div id=${Bt} class="fun-widget-backdrop" />`),this):(console.warn(3),this)}}Gt.styleId="__funBackdropStyles";const Vt=(e,t,n)=>n.indexOf(e)===t,jt=Symbol("CUSTOM_FINGERPRINT");var Ht;Symbol("EXTRA"),Symbol("TAGS"),function(e){e.COMMON="common",e.ADMIN="admin",e.DASHBOARD="dashboard",e.DONOR_PORTAL="donorPortal",e.CAMPAIGN_PAGE="campaign-page",e.INTEGRATION="integration",e.BILLING="billing",e.CHECKOUT="checkout"}(Ht||(Ht={}));var Wt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};const zt=new Map;class Xt{constructor(e){this.options=e,this.abortController=function(){try{return void 0!==window.AbortController}catch(e){return!1}}()?new AbortController:null}abort(){var e;null===(e=this.abortController)||void 0===e||e.abort()}send(){return Wt(this,void 0,void 0,(function*(){var e,t;const n=this.getUrl(),i=this.getHeaders(),o=this.getBody(),r=this.getCredentials();let s;try{s=yield fetch(n,{method:this.options.method,signal:null===(e=this.abortController)||void 0===e?void 0:e.signal,headers:i,credentials:r,body:o})}catch(e){const t=e instanceof Error?e.message:"Network Error";throw new $t(0,t,this.options.method,this.options.url,null==e?void 0:e.name,this.options.setCustomFingerprint)}const a=s.status;let c;const l=s.headers.get("content-type");if(c=(null==l?void 0:l.includes("application/json"))?yield s.json():yield s.text(),a>=500&&this.options.rejectOnInvalid)throw new $t(a,s.statusText,this.options.method,this.options.url,"",this.options.setCustomFingerprint);const d=a>=200&&a<400||(null===(t=this.options.validStatuses)||void 0===t?void 0:t.includes(a));return{data:c,valid:Boolean(d)}}))}getHeaders(){const e=new Headers,t=this.options.headers;return t&&Object.keys(t).forEach((n=>{const i=t[n];void 0!==i&&e.append(n,i)})),e}getBody(){return void 0!==this.options.params&&"GET"!==this.options.method?JSON.stringify(this.options.params):null}getUrl(){let e=this.options.url;if("GET"===this.options.method&&this.options.params){const t=new URLSearchParams;for(const e of Object.keys(this.options.params))void 0!==this.options.params[e]&&t.set(e,String(this.options.params[e]));e+=`?${t.toString()}`}return e}getCredentials(){return"withCredentials"in this.options?this.options.withCredentials?"include":"omit":"include"}}class $t extends Error{constructor(e,t,n,i,o,r){super(`[Checkout Shared]: Server ${n} response status ${e}, ${t} for url ${i}`),this.originalErrorName=o,r&&(this[jt]=[i,t]),this.statusCode=e}}Error;const Yt=(e,t,n,i,o)=>{const r=t.filter((t=>e.exists("WIDGET",t))),s=t.filter((t=>e.itLooksLikeKey("FUNDRAISING_PAGE",t))),a={campaign:r[0],fundraisingPage:s.length?s[0]:void 0,locale:n,pageViewId:i},c=null==o?void 0:o.fundraiser;return c&&gt.test(c)&&a.fundraisingPage!==c.toUpperCase()&&(a.fundraisingPage=c.toUpperCase()),a};var qt,Jt,Zt,Qt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};function en(e,t,n,i,o){const r=[],s=new Map,a=!0===window.FUN_DASHBOARD,c=(c,h)=>Qt(this,void 0,void 0,(function*(){var p;const m=Yt(t,c,e.locale.code,null===(p=i.page)||void 0===p?void 0:p.pageViewId,e.queryParams);if(l(m))return n.logCode(16),Promise.resolve();n.logCode(17,m);const g=u(h),f=Date.now();let E;const y=d(m),v=s.get(y);v&&!a?E=v:(E=yield function(e){return Wt(this,void 0,void 0,(function*(){const t=new Xt(e),n=zt.get(e.url);e.cancelSimilar&&n&&n(),zt.set(e.url,t.abort.bind(t));try{const n=yield t.send();return zt.delete(e.url),n}catch(t){throw"AbortError"!==(null==t?void 0:t.originalErrorName)&&zt.delete(e.url),t}}))}({method:"POST",url:g,headers:{"content-type":"text/plain; charset=utf-8"},params:m}).then((e=>e.data)).catch((e=>{throw o.captureException(e),e})),s.set(y,E));const T={params:c,duration:Date.now()-f};return r.forEach((e=>e(E,T))),n.logCode(18,{data:E,info:T}),E})),l=e=>!e.campaign&&!e.fundraisingPage,d=e=>{const t=[];return e.campaign&&t.push(e.campaign),e.fundraisingPage&&t.push(e.fundraisingPage),t.join("_")},u=t=>{const n=null!=t?t:e.livemode;return`${e.server.resolveUrl}&livemode=${n?"true":"false"}`};return{resolveFundraisingPages:e=>(n.logCode(14,e),c(e)),resolveKeys:(e,i)=>{const o=e.filter(Vt).filter((e=>(e=>t.exists("WIDGET",e)||t.itLooksLikeKey("FUNDRAISING_PAGE",e))(e)));return o.length?(n.logCode(15,{keys:e}),c(o,i)):Promise.resolve()},onResolve:e=>{r.push(e)},needResolve:e=>!s.has(e.join("_"))}}class tn{constructor(){this.events=new Map}on(e,t){const n=this.events.get(e)||[];n.push(t),this.events.set(e,n)}off(e,t){const n=(this.events.get(e)||[]).filter((e=>e!==t));this.events.set(e,n)}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(this.events.get(e)||[]).forEach((e=>e(...n)))}}class nn{constructor(e){this.window=e}saveDocumentOriginalStyles(){const e=()=>{this.saveOriginalStyles(this.window.document.body),this.saveOriginalStyles(this.window.document.documentElement)};if(this.window.document.body)return e();Kt(this.window.document,e)}setStyle(e,t){t.setAttribute("style",e)}appendStyle(e,t){const n=(t.getAttribute("style")||"")+e;t.setAttribute("style",n)}restoreOriginalStyles(e){let t="";this.originalStyles.has(e)&&(t=this.originalStyles.get(e)),e.setAttribute("style",t),this.originalStyles.delete(e)}saveOriginalStyles(e){if(this.originalStyles.has(e))return;const t=e.getAttribute("style")||"";this.originalStyles.set(e,t)}get originalStyles(){return this._originalStyles||(this._originalStyles=new WeakMap),this._originalStyles}}class on{constructor(e,t){this.window=e,this.isMobile=t,this.isLocked=!1}lock(){this.isLocked||(this.saveDefaultStyles(),this.bodyStyle.setProperty(on.overflowStyleProp,"hidden","important"),this.isMobile||(this.bodyStyle.setProperty(on.heightStyleProp,"auto","important"),this.bodyStyle.setProperty(on.minHeightStyleProp,"100%","important")),this.isLocked=!0)}unlock(){this.isLocked&&this.overflow&&(this.restoreDefaultStyles(),this.isLocked=!1)}get bodyStyle(){return this.window.document.body.style}saveDefaultStyles(){this.overflow={value:this.bodyStyle.getPropertyValue(on.overflowStyleProp),priority:this.bodyStyle.getPropertyPriority(on.overflowStyleProp)},this.isMobile||(this.height={value:this.bodyStyle.getPropertyValue(on.heightStyleProp),priority:this.bodyStyle.getPropertyPriority(on.heightStyleProp)},this.minHeight={value:this.bodyStyle.getPropertyValue(on.minHeightStyleProp),priority:this.bodyStyle.getPropertyPriority(on.minHeightStyleProp)})}restoreDefaultStyles(){var e,t,n;(null===(e=this.overflow)||void 0===e?void 0:e.value)?this.bodyStyle.setProperty(on.overflowStyleProp,this.overflow.value,this.overflow.priority):this.bodyStyle.removeProperty(on.overflowStyleProp),this.isMobile||((null===(t=this.height)||void 0===t?void 0:t.value)?this.bodyStyle.setProperty(on.heightStyleProp,this.height.value,this.height.priority):this.bodyStyle.removeProperty(on.heightStyleProp),(null===(n=this.minHeight)||void 0===n?void 0:n.value)?this.bodyStyle.setProperty(on.minHeightStyleProp,this.minHeight.value,this.minHeight.priority):this.bodyStyle.removeProperty(on.minHeightStyleProp))}}on.overflowStyleProp="overflow",on.heightStyleProp="height",on.minHeightStyleProp="min-height",function(e){e.CHROME="Chrome",e.SAFARI="Safari",e.MOBILE_SAFARI="Mobile Safari",e.FIREFOX="Firefox",e.EDGE="Edge"}(qt||(qt={}));class rn extends v{get needUseFetchForTracking(){return this.isActive&&this.isVariant(Y.TEST)}tryStart(e){this.isActive||this.canBeStarted(e)&&super.start()}canBeStarted(e){return e.browserName!==qt.FIREFOX}}class sn{constructor(){this.subscribers={}}publish(e,t){this.subscribers[e]&&this.subscribers[e].forEach((e=>new Promise((()=>e(t)))))}subscribe(e,t){return this.subscribers[e]||(this.subscribers[e]=[]),this.subscribers[e].push(t),!0}}function an(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:19;const t=window.crypto||window.msCrypto;let n="";if(t&&"function"==typeof t.getRandomValues){const i=new Uint8Array(e);t.getRandomValues(i),n=[].slice.call(i).map((e=>e%10)).join("")}else for(let t=0;t<e;t++)n+=Math.floor(10*Math.random()).toString();return"0"!==n[0]?n:an(e)}class cn extends Ce{constructor(e){super(),this.payload={dataLayerEventName:e.event,dataLayerParams:JSON.stringify(e)}}get eventType(){return _e}}class ln extends Ce{get eventType(){return"ping"}}function dn(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):encodeURIComponent(e):e}(Zt=Jt||(Jt={})).CARD="creditCard",Zt.APPLE_PAY="applePay",Zt.GOOGLE_PAY="googlePay",Zt.CLICK_TO_PAY="clickToPay",Zt.ACH="ach",Zt.PLAID="plaid",Zt.PAYPAL="paypal",Zt.VENMO="venmo",Zt.AU_BECS="auBecsDebit",Zt.UK_BACS="ukBacs",Zt.ACSS="acss",Zt.SEPA="sepa",Zt.IDEAL="ideal",Zt.CRYPTO="crypto",Zt.STOCK="stock",Zt.US_BANK_ACCOUNT="usBankAccount";var un=o("../../clickhouse/mapper/index.js");function hn(e){return!!e&&20===e.length&&!/[^\d]/.test(e)}class pn extends Error{constructor(e){super(e),this.name=this.constructor.name}}class mn extends pn{constructor(e){super(`Invalid client ID: ${e}`),this.name="InvalidClientIdError"}}function gn(){const e=function(){if(!function(){try{return void 0!==window.Intl}catch(e){return!1}}())return;const e=window.Intl;if(e&&"object"==typeof e&&"function"==typeof e.DateTimeFormat){const t=new e.DateTimeFormat("en-US");if("object"!=typeof t)return;const n="function"==typeof t.resolvedOptions&&t.resolvedOptions();if("object"!=typeof n)return;const i=n.timeZone;if(!i)return;return i}}();return e||function(){const e=-(new Date).getTimezoneOffset()/60;return e>=0?`UTC+${e}`:`UTC${e}`}()}class fn{constructor(e,t){var n;this.window=e,this.publicApi=t,this._pageScripts=[],this.sideLibrariesLookupTries=1,this.launchedSiteScripts=[],this.clientCookieConsent=[],this.pageViewId=an(),this.pageViewTimeCreate=this.publicApi&&this.publicApi.s||Date.now(),this.resolutionWidth=0,this.resolutionHeight=0,this.window.screen&&(this.resolutionWidth=this.window.screen.width,this.resolutionHeight=this.window.screen.height),this.funSnippetVersion=this.publicApi&&this.publicApi.v||"0",this.pageViewId=`${n=this.pageViewId.slice(0,-1)}${function(e){const t=e.toString().replace(/[^0-9]/g,""),n={0:0,1:2,2:4,3:6,4:8,5:1,6:3,7:5,8:7,9:9};let i=0,o=1;for(let e=t.length-1;e>-1;e-=1)i+=o?n[t[e]]:parseFloat(t[e]),o^=1,i>0xffffffffffff&&(i%=10);return(10-i%10).toString().slice(-1)}(n)}`,this.searchedLibraries={ga:this.getGoogleAnalytics.bind(this),gtm:this.getGoogleTagManager.bind(this),fbpx:this.getFacebookPixel.bind(this),gtag:this.getGlobalSiteTagManager.bind(this),optimizely:this.getOptimizely.bind(this),"adobe.target":this.getAdobeTarget.bind(this),goptimize:this.getGoogleOptimize.bind(this),unbounce:this.getUnbounce.bind(this),hotjar:this.getHotjar.bind(this),nextjs:this.getNextJs.bind(this),wix:this.getWix.bind(this)},this.applyNavigatorVariables(navigator),this.collectPageScripts()}get pageScripts(){return this._pageScripts.length<Object.keys(this.searchedLibraries).length&&this.sideLibrariesLookupTries<=10&&this.collectPageScripts(),this._pageScripts}getSideLibraryByScriptSource(e){return this.launchedSiteScripts.some((t=>{let{src:n}=t;return n&&!!n.match(e)}))}collectFunCookies(){const e=this.window.document.cookie.split(";").filter((e=>-1!==e.indexOf("fundraiseup_")));this.clientCookieConsent=e.map((e=>e.split("=")[0].trim()))}collectPageScripts(){this.sideLibrariesLookupTries+=1;const e=this.window.document.querySelectorAll("script");this.launchedSiteScripts=[].slice.call(e),Object.keys(this.searchedLibraries).forEach((e=>{const t=this.searchedLibraries[e];-1===this._pageScripts.indexOf(e)&&t()&&this._pageScripts.push(e)}))}toObject(){return this.collectFunCookies(),{pageViewId:this.pageViewId,pageViewTimeCreate:this.pageViewTimeCreate,pageViewLifetime:Math.max(Date.now()-this.pageViewTimeCreate,0),clientTimeZone:gn(),clientTime:Date.now(),URL:this.window.location.href,referer:this.window.document.referrer||void 0,title:this.window.document.title,uaHistoryLength:this.window.history.length,uaWebdriver:this.window.navigator.webdriver?1:0,resolutionWidth:Math.max(this.resolutionWidth,0),resolutionHeight:Math.max(this.resolutionHeight,0),windowWidth:Math.max(this.window.innerWidth,0),windowHeight:Math.max(this.window.innerHeight,0),windowScrollY:Math.max(this.window.scrollY||this.window.pageYOffset||0,0),windowScrollX:Math.max(this.window.scrollX||this.window.pageXOffset||0,0),pageScripts:this.pageScripts,clientOnLine:this.clientOnLine,clientDoNotTrack:this.clientDoNotTrack,clientDevicePixelRatio:this.clientDevicePixelRatio,clientDeviceMemory:this.clientDeviceMemory,clientHardwareConcurrency:this.clientHardwareConcurrency,clientConnectionType:this.clientConnectionType,clientConnectionDownlink:this.clientConnectionDownlink,clientConnectionRTT:this.clientConnectionRTT,clientConnectionEffectiveType:this.clientConnectionEffectiveType,clientBatteryCharging:this.clientBatteryCharging,clientBatteryChargingTime:this.clientBatteryChargingTime,clientBatteryDischargingTime:this.clientBatteryDischargingTime,clientBatteryLevel:this.clientBatteryLevel,funSnippetVersion:this.funSnippetVersion,funEmbedRelease:window.FUN?window.FUN.version:"",clientCookieConsent:this.clientCookieConsent}}applyNavigatorVariables(e){var t;const n=e.connection||e.mozConnection||e.webkitConnection;window.Navigator&&window.navigator instanceof window.Navigator&&"function"==typeof e.getBattery&&(null===(t=e.getBattery())||void 0===t||t.then((e=>{this.clientBatteryCharging=e.charging?1:0,this.clientBatteryChargingTime=e.chargingTime,this.clientBatteryDischargingTime=e.dischargingTime,this.clientBatteryLevel=e.level})).catch((e=>{console.warn(e),this.clientBatteryCharging=0,this.clientBatteryChargingTime=0,this.clientBatteryDischargingTime=0,this.clientBatteryLevel=0}))),this.clientOnLine=e.onLine?1:0,this.clientDoNotTrack="1"===e.doNotTrack?1:0,this.clientDevicePixelRatio=window.devicePixelRatio,this.clientDeviceMemory=e.deviceMemory,this.clientHardwareConcurrency="number"!=typeof e.hardwareConcurrency?0:e.hardwareConcurrency,n&&(this.clientConnectionType=n.type,this.clientConnectionDownlink=n.downlink,this.clientConnectionRTT=n.rtt,this.clientConnectionEffectiveType=n.effectiveType)}getGoogleAnalytics(){return"function"==typeof this.window.ga}getGoogleTagManager(){return this.getSideLibraryByScriptSource(/gtm.js[?]id=([^=&]*)/)}getFacebookPixel(){return"function"==typeof this.window.fbq}getGlobalSiteTagManager(){return"function"==typeof this.window.gtag}getOptimizely(){return this.window.optimizely}getAdobeTarget(){return this.window.adobe&&this.window.adobe.target}getGoogleOptimize(){return!!this.window.google_optimize}getUnbounce(){return this.window.ube&&this.window.ube.init}getHotjar(){return this.window.hj&&this.window._hjSettings}getNextJs(){var e;return window.next||window.__next_f||(null===(e=this.window.document)||void 0===e?void 0:e.querySelector('[src*="_next/static/"]'))}getWix(){return window.wixCustomElements||window.wixEmbedsAPI||window.wixTagManager}}const En=[/FBAV|FBAN|FBSV|FBID|FBBV\/([0-9.]+)/,/Instagram\s([0-9.]+)/,/Snapchat\/([0-9.]+)/,/MicroMessenger\/([0-9.]+)/,/Twitter for iPhone[/]?([\d.]+)?/,/TikTok[/ ](\d+\.(?:[.\d]+))?/,/bytedance/i,/musical_ly/i,/LinkedInApp/i];var yn;!function(e){e.DONOR_PORTAL="donorPortal",e.PARTNER_PORTAL="partnerPortal",e.DASHBOARD="dashboard"}(yn||(yn={}));const vn=[/^gtm\..*$/,/^__cmp.*$/,/^optimize\..*$/,/^setPromo$/,/^trackOptanonEvent$/,/^consentDataForTheRecord$/,/^optanonConsentUpdated$/,/^nextroll-consent$/,/^FundraiseUp\./,/^youtube/i],Tn={subscribers:[],publish(e){this.subscribers.forEach((t=>{t.callback(e)}))},subscribe(e,t){this.subscribers.find((e=>e.name===t))||this.subscribers.push({callback:e,name:t})}};class wn{constructor(e){let{window:t,companyKey:n,storage:i,trackerClient:o,source:r,supporterKey:s,agentKey:a,livemode:c,localeCode:l,isFundraiseupVisitor:d,shadowUserKey:u,shadowAdminId:h,isABTestMode:p,fromDonorPortal:m}=e;var g;this.observer=new sn,this.tags=new Set,this.uaIsInApp=!1,this.pointingDeviceIsUsed=!1,this.trackerEventClick=null,this._clientId="",this.eventSent=Date.now(),this.cookiesUnsetable=!1,this.started=!1,this.pingDelay=15e3,this.isTouchDevice=!1,this.window=t,this.trackerClient=o,this.livemode=c,this.companyKey=n,this.CIDStorage=i,this.subscriberStorage=Tn,this.uaIsInApp=(g=t.navigator.userAgent,En.some((e=>e.exec(g)))),this.source=r,this.supporterKey=s,this.agentKey=a,this.clientLocale=l,this.isFundraiseupVisitor=d,this.shadowUserKey=u,this.shadowAdminId=h,this.isABTestMode=p,this.fromDonorPortal=m}get page(){return this._page}get clientId(){if(this._clientId&&!hn(this._clientId))throw new mn(this._clientId);return this._clientId}get isPingAvailable(){return Date.now()-this.eventSent>this.pingDelay}start(){if(this.source!==yn.PARTNER_PORTAL&&!this.companyKey)throw new Error("15");if(this.started)throw new Error("16");this._page=new fn(this.window,this.window.FundraiseUp),this.setupCookies(),this.started=!0,this.isTouchDevice="ontouchstart"in window||!!navigator.maxTouchPoints;const e=this.trackerEventClick;e&&this.window.addEventListener("click",(t=>{t.target&&this.track(new e(t.target))})),this.initializeDataLayerTracking(),this.initializePointerUsageTracking()}setupCookies(){this.cookiesUnsetable||(this.read(),this.refresh())}subscribe(e,t){this.subscriberStorage.subscribe(e,t)}setEventTags(e){e.forEach((e=>this.tags.add(e)))}getTags(){return Array.from(this.tags)}removeEventTags(e){this.tags.forEach((t=>{e.some((e=>t.substring(0,e.length)===e))&&this.tags.delete(t)}))}ping(e,t){if(!this.isPingAvailable)return;const n=e||new ln;this.track(n,t)}customTrack(e){this.track(new Oe({customEventType:e.type,customEventData:e.data}))}track(e,t){if(!this.started)return;const n=this.page&&this.page.toObject()||{},i=Object.assign({},this.trackerPayloadPartial);if(Object.keys(n).forEach((e=>{i[e]=n[e]})),i.livemode=this.livemode?1:0,e.merge(i),this.mergeEventTags(e),!e.validate())return;const o=e.toObject();o.source=this.source,this.observer.publish(e.eventType,o),this.trackerClient.send(o,t),this.eventSent=Date.now(),this.publishData(o)}initializePointerUsageTracking(e){if(this.pointingDeviceIsUsed)return;const t=e||this.window,n=()=>{this.pointingDeviceIsUsed=!0,t.removeEventListener("pointermove",n),t.removeEventListener("pointerdown",n),t.removeEventListener("pointerdown",n)};t.addEventListener("pointermove",n),t.addEventListener("pointerdown",n),t.addEventListener("pointerdown",n)}get trackerPayloadPartial(){const e={clientId:this.clientId,companyKey:this.companyKey,supporterKey:this.supporterKey,clientLocale:this.clientLocale,pointingDeviceIsUsed:this.pointingDeviceIsUsed?1:0,isFundraiseupVisitor:this.isFundraiseupVisitor,uaIsInApp:this.uaIsInApp?1:0};return this.fromDonorPortal&&(e.eventComment={fromDonorPortal:1}),e}refresh(){this._clientId||this.createOrSetClientId(this.CIDStorage.get()),this.write()}createOrSetClientId(e){this._clientId=e&&"undefined"!==e&&20===e.length?e:Date.now().toString()+an(7)}write(){this._clientId&&this.CIDStorage.set(this.clientId,{expires:3650,domain:this.CIDStorage.topLevelDomain,sameSite:"Lax"})}read(){const e=(0,de.UA)(this.window.location.href)[Pt.yX]||"",t=this.CIDStorage.get()||"";hn(e)?this._clientId=e:hn(t)?this._clientId=t:this._clientId=""}initializeDataLayerTracking(){if(this.window.dataLayer||(this.window.dataLayer=[]),!Array.isArray(this.window.dataLayer))return;const e=this.window.dataLayer,t=e=>this.isABTestMode&&"object"==typeof e&&"string"==typeof e.event&&!vn.some((t=>t.test(e.event))),n=e=>{t(e)&&this.track(new cn(e))};e.forEach(n);const i=e.push;e.push=function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return n(o[0]),i.apply(e,o)}}publishData(e){this.subscriberStorage.publish(e)}mergeEventTags(e){let t=[];e.payload.eventTags&&(t=e.payload.eventTags.slice()),this.tags.forEach((e=>{-1===t.indexOf(e)&&t.push(e)})),e.payload.eventTags=t}}class An{constructor(e){this.tags=new Set,this.tracker=e}get companyKey(){return this.tracker.companyKey}get clientId(){return this.tracker.clientId}get livemode(){return this.tracker.livemode}get clientLocale(){return this.tracker.clientLocale}get debug(){return this.tracker.debug}get page(){return this.tracker.page}get isPingAvailable(){return this.tracker.isPingAvailable}getTags(){return Array.from(this.tags)}customTrack(e){return this.tracker.customTrack(e)}track(e,t){return this.tracker.track(e,t)}ping(e,t){const n=e||new ln;this.tracker.ping(n,t)}initializePointerUsageTracking(){this.tracker.initializePointerUsageTracking()}subscribe(e,t){return this.tracker.subscribe(e,t)}setEventTags(e){e.forEach((e=>this.tags.add(e)))}removeEventTags(e){this.tags.forEach((t=>{e.some((e=>t.substring(0,e.length)===e))&&this.tags.delete(t)}))}mergeEventTags(e){let t=[];e.payload.eventTags&&(t=e.payload.eventTags.slice()),this.tags.forEach((e=>{-1===t.indexOf(e)&&t.push(e)})),e.payload.eventTags=t}}class Sn extends An{constructor(e,t){let{funEmbedRelease:n,isFundraiseupVisitor:i}=t;super(e),this.funEmbedRelease=n,this.isFundraiseupVisitor=i}track(e,t){this.addTrackerData(e),this.tracker.track(e,t)}addTrackerData(e){e.merge({funEmbedRelease:this.funEmbedRelease,isFundraiseupVisitor:this.isFundraiseupVisitor}),this.mergeEventTags(e)}customTrack(e){this.track(new Oe({customEventType:e.type,customEventData:e.data}))}}class _n{constructor(e){this.timeoutInstance=0,this.items=[],this.timeout=e.timeout||1e3,this.limit=e.limit||30,this.onFlush=e.onFlush,this.resetTimeout()}push(e,t){this.items.push(e),(t||this.items.length>=this.limit)&&this.flush()}flush(){this.items.length?(this.onFlush(this.items),this.items=[],this.resetTimeout()):this.resetTimeout()}resetTimeout(){this.timeoutInstance&&clearTimeout(this.timeoutInstance),this.timeoutInstance=window.setTimeout((()=>{this.flush()}),this.timeout)}}var Cn;!function(e){e.CHECKOUT="checkout"}(Cn||(Cn={}));const Nn=[Ae,"click",we,"checkoutClose",Se],bn=()=>!1;class In{constructor(e){this.request=Et,this.window=e.window,this.url=e.url,this.trackingTarget=e.trackingTarget,this.env=e.env,this.checkNeedUseFetch=e.checkNeedUseFetch||bn,window.Navigator&&window.navigator instanceof window.Navigator&&"function"==typeof this.window.navigator.sendBeacon&&(this.sendBeacon=this.window.navigator.sendBeacon.bind(this.window.navigator)),this.bulk=new _n({limit:30,onFlush:e=>this.sendRequests(e)})}send(e,t){if((window.FUN_DO_NOT_TRACK||this.isBlockedByDomain())&&(!t||t&&t.trackerType!==Cn.CHECKOUT))return;const n=function(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={encode:!0,strict:!0,arrayFormat:"none"};Object.assign(n,t),!1===n.sort&&(n.sort=function(){});const i=function(e){return function(t,n){return null===n?dn(t,e):[dn(t,e),"=",dn(n,e)].join("")}}(n);return e?Object.keys(e).sort(n.sort).map((function(t){const o=e[t];if(void 0===o)return"";if(null===o)return dn(t,n);if(Array.isArray(o)){const e=[];return o.slice().forEach((function(n){void 0!==n&&e.push(i(t,n,e.length))})),e.join("&")}return dn(t,n)+"="+dn(o,n)})).filter((function(e){return e.length>0})).join("&"):""}((0,un.compressPayload)(e))}(e),i=(null==t?void 0:t.url)||this.url;let o=-1!==Nn.indexOf(e.eventType);e.eventType===_e&&-1!==this.window.location.href.indexOf("alz.org")&&(o=!0),this.bulk.push({url:i+this.trackingTarget,payload:n},o)}isBlockedByDomain(){return this.env===g.PRODUCTION&&(!!window.location.protocol.includes("file")||/127\.0|192\.168|localhost|localtest\.me/.test(window.location.hostname))}sendRequests(e){const t=function(e){const t=new Map;return e.forEach((e=>{let{url:n,payload:i}=e;const o=t.get(n)||[];o.push(i),t.set(n,o)})),t}(e);t.forEach(((e,t)=>{const n=JSON.stringify(e);this.sendRequest(t,n)}))}sendRequest(e,t){let n=!1;try{this.checkNeedUseFetch()?this.sendFetchRequest(e,t):this.sendBeacon&&this.sendBeacon(e,t)}catch(e){n=!0}n&&this.request({method:"POST",url:e,params:t}).catch(console.warn)}sendFetchRequest(e,t){fetch(e,{method:"POST",body:t,keepalive:!0}).catch((e=>{throw console.warn(e),e}))}}const On=["APZMZAGU","AZFMPNQE","ARVHGABZ","AGSTXLKM"];function Pn(e,t){return function(e){return e!==g.TESTING}(e)?{domain:t,sameSite:"None",secure:!0}:{domain:t}}class kn{constructor(e,t,n,i){this.env=e,this.topLevelDomain=t,this.storage=n,this.options=i}setupFuncCookie(){var e,t;if(null===(e=this.options)||void 0===e?void 0:e.disableNewCookies)return;const n=this.getCookie(r.e.FUNC),i=this.getCookie(r.e.SESSION);!n&&i&&(this.setCookie(r.e.FUNC,i),(null===(t=this.options)||void 0===t?void 0:t.removeLegacyCookies)&&this.removeLegacyCookie())}removeLegacyCookie(){this.removeCookie(r.e.SESSION)}get cookieAttributes(){return Pn(this.env,this.topLevelDomain)}getCookie(e){return this.storage.get(e)}setCookie(e,t){this.storage.set(e,t,this.cookieAttributes)}removeCookie(e){this.storage.remove(e,this.cookieAttributes)}}var Ln=o("../../shared/src/common/embed/getSharedContainer.ts");class Rn{constructor(e){this.topLevelDomain=e,this.storage=c(r.e.CID,n.STRING)}get(){return this.storage.get()}set(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.storage.set(e,t)}remove(e){this.storage.remove({domain:e})}}class xn{constructor(e,t,n,i,o){this.funSessionStorage=e,this.funStatStorage=t,this.topLevelDomain=n,this.env=i,this.disableNewCookies=o}initialize(){if(this.disableNewCookies)return;const e=Pn(this.env,this.topLevelDomain);this.isStatStorageInitialized||this.funStatStorage.set(e),this.isFuncStorageInitialized||this.funSessionStorage.initialize(this.topLevelDomain,e)}get isStatStorageInitialized(){return null!==this.funStatStorage.get()}get isFuncStorageInitialized(){return this.funSessionStorage.isFuncStorageInitialized}}class Dn{constructor(e){this.topLevelDomain=e,this.storage=c(r.e.PERFORMANCE,n.STRING)}get(){return this.storage.get()}set(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.storage.set("",e)}}class Mn{constructor(e,t){this.storage=e,this.initAt=t||(new Date).getTime(),this.read()}incrementSession(){this.sessionPage++,this.refresh()}refresh(){this.sessionAt||this.addSession(),this.write()}addSession(){this.sessionAt=this.initAt}write(){this.storage.setField("sessionAt",this.sessionAt.toString(10)),this.storage.setField("sessionPage",this.sessionPage)}read(){this.sessionAt=Number(this.storage.getField("sessionAt"))||0,this.sessionPage=Number(this.storage.getField("sessionPage"))||0}}class Un{constructor(e){this.dictionary=new Map,this.reverseDictionary=new Map;for(const t in e){if(!Object.prototype.hasOwnProperty.call(e,t))continue;const n=e[t];this.dictionary.set(t,n),this.reverseDictionary.set(n,t)}}zip(e){return this.zipKeys(this.toFlatData(e))}unzip(e){return this.fromFlatData(this.unzipKeys(e))}unzipKeys(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=this.dictionary.get(n);i?t[i]=e[n]:console.error(`The key for the "${n}" field was not found`)}return t}zipKeys(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=this.reverseDictionary.get(n);i?t[i]=e[n]:console.error(`The minification key for the "${n}" field was not found`)}return t}toFlatData(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=e[n];if(Fn(i)){t[n]=i;continue}const o=this.toFlatData(i);for(const i in o)Object.prototype.hasOwnProperty.call(e,n)&&(t[n+"."+i]=o[i])}return t}fromFlatData(e){let t={};return Object.keys(e).forEach((n=>{const i=e[n],o=n.split("."),r={};let s;o.forEach(((e,n)=>{if(o.length===n+1)return s?void(s[e]=i):void(r[e]=i);const a=e;if(t[a])s=t[a];else{if(s)return s[e]||(s[e]={}),void(s=s[e]);r[e]={},s=r[e]}})),t=Object.assign({},t,r)})),t}}function Fn(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e||Array.isArray(e)}class Kn{constructor(e,t,n){this.storage=e,this.zipper=t,this.disableNewCookies=n}getData(){const e=this.storage.get(this.key);return e?this.zipper.unzip(e):{}}setData(e,t){const n=this.zipper.zip(e);this.storage.set(this.key,n,t)}removeData(e){this.storage.remove(this.key,e)}}class Bn extends Kn{constructor(){super(...arguments),this.key=r.e.FUNC}get available(){if(this.disableNewCookies)return!1;const e=Boolean(this.storage.get(r.e.CID));return!e||e&&Boolean(this.storage.get(this.key))}}class Gn extends Kn{constructor(){super(...arguments),this.key=r.e.SESSION}get available(){return!!this.disableNewCookies||Boolean(this.storage.get(r.e.CID))&&Boolean(this.storage.get(this.key))}}const Vn={topLevelDomain:"topLevelDomain",t:"topLevelDomain",ida:"intent.donation.amount",idc:"intent.donation.currency",idr:"intent.donation.recurring",idf:"intent.donation.frequency",idh:"intent.donation.selectedHintId",isf:"intent.supporter.firstName",isl:"intent.supporter.lastName",ise:"intent.supporter.email",ici:"intent.campaign.id",iek:"intent.element.key",iet:"intent.element.type",ic:"intent.comment",it:"intent.tribute",itt:"intent.tribute.type",iti:"intent.tribute.inHonorOf",itl:"intent.tribute.labelType",icd:"intent.checkoutSettings.designation",icc:"intent.checkoutSettings.customFields",icma:"intent.checkoutSettings.modifyAmount",icmd:"intent.checkoutSettings.modifyDesignation",ift:"intent.flowType",ifk:"intent.fundraisingPage.key",ifc:"intent.fundraisingPage.customerKey",ife:"intent.feeCovered",mm:"messageBar.manuallyClosed",pi:"popup.interactionAt",sl:"socialProof.lastChargeAt",si:"socialProof.interactionAt",sls:"socialProof.lastShownCharge",nsa:"socialProof.nextShowAt",li:"lightbox.interactionAt",lsda:"lastSuccessDonationAt",s:"sessionAt",sp:"sessionPage",x:"xFactor"};class jn{constructor(e,t){this.funStorageAdapter=e,this.env=t.env,this._allowWrite=t.allowWrite}get available(){return this.funStorageAdapter.available}get isFuncStorageInitialized(){return this.funStorageAdapter.isFuncStorageInitialized}get allowWrite(){return this._allowWrite}set allowWrite(e){this._allowWrite=e}getData(){return this.funStorageAdapter.getData()}setData(e,t){this.allowWrite&&this.funStorageAdapter.setData(e,t)}removeData(e){this.funStorageAdapter.removeData(e)}initialize(e,t){this.funStorageAdapter.initialize({topLevelDomain:e},t)}getField(e){const t=this.getData();return t&&e in t?t[e]:null}setField(e,t){if(!this.allowWrite)return;const n=this.getData()||{};n[e]=t;const i=Pn(this.env,n.topLevelDomain);this.setData(n,i)}removeField(e){const t=this.getData();if(!t)return;delete t[e];const n=Pn(this.env,t.topLevelDomain);this.setData(t,n)}}class Hn{constructor(e,t,n){this.funLegacyStorage=e,this.funFuncStorage=t,this.disableNewCookies=n}get available(){return this.disableNewCookies?this.funLegacyStorage.available:this.funFuncStorage.available}get isFuncStorageInitialized(){const e=this.funFuncStorage.getData();return!!Object.keys(e).length}getData(){return this.funFuncStorage.available&&this.isFuncStorageInitialized?this.funFuncStorage.getData():this.funLegacyStorage.getData()}initialize(e,t){this.funFuncStorage.setData(e,t)}setData(e,t){this.funFuncStorage.available&&this.funFuncStorage.setData(e,t),this.funLegacyStorage.available&&this.funLegacyStorage.setData(e,t)}removeData(e){this.funFuncStorage.available&&this.funFuncStorage.removeData(e),this.funLegacyStorage.available&&this.funLegacyStorage.removeData(e)}}class Wn{constructor(e,t){this.STORAGE_KEY=e,this.storage=t}get(){return null!==this.storage.get(this.STORAGE_KEY)}set(e,t){e?this.storage.set(this.STORAGE_KEY,"",t):this.remove(t)}remove(e){this.storage.remove(this.STORAGE_KEY,e)}}class zn extends Wn{constructor(e){super(r.e.DEBUG,e),this.storage=e}}var Xn,$n;!function(e){e[e.CHECKOUT=9]="CHECKOUT",e[e.PRODUCT=2]="PRODUCT"}(Xn||(Xn={})),function(e){e.EMBED_WORKER="embedWorker",e.EMBED="embed"}($n||($n={}));class Yn{constructor(e,t,n,i,o,r){this.requester=e,this.apiKey=t,this.scope=n,this.release=i,this.environment=o,this.url=`https://sentry.fundraiseup.com/api/${r}/envelope/?sentry_key=${this.apiKey}`}captureException(e,t){this.isIgnoredException(e)||this.requester(this.url,{method:"POST",body:this.getBody(e,t),headers:{"content-type":"text/plain; charset=utf-8"}}),console.error(e)}getEnrichData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{exception:{values:[{type:"Error",value:e.message,stacktrace:{frames:[]}}]},level:"error",platform:"javascript",timestamp:Date.now()/1e3,environment:this.environment,release:this.release,tags:Object.assign(Object.assign({},t),{scope:this.scope})}}getBody(e,t){return JSON.stringify(this.getInfo())+"\n"+JSON.stringify(this.getType())+"\n"+JSON.stringify(this.getEnrichData(e,t))}getInfo(){return{sent_at:(new Date).toISOString()}}getType(){return{type:"event"}}isIgnoredException(e){return 0===e.statusCode}}class qn extends Yn{constructor(e,t,n,i,o,r,s){super(e,t,n,i,o,r),this.embedConfig=s,this.ignoreErrors=[/Failed to fetch$/,/Loading chunk \d{3,5} failed/]}getTagsFromConfig(){var e,t,n,i,o,r;return{userCountry:null===(t=null===(e=this.embedConfig.meta)||void 0===e?void 0:e.user.location)||void 0===t?void 0:t.country,isFundraiseupVisitor:this.embedConfig.isFundraiseupVisitor,isMobile:this.embedConfig.deviceData.isMobile,isMobileOrTablet:this.embedConfig.deviceData.isMobileOrTablet,osName:null===(i=null===(n=this.embedConfig.browserData)||void 0===n?void 0:n.os)||void 0===i?void 0:i.name,osVersion:null===(r=null===(o=this.embedConfig.browserData)||void 0===o?void 0:o.os)||void 0===r?void 0:r.version,companyKey:this.embedConfig.currentCompanyKey,isInAppBrowser:this.embedConfig.browserData.isInAppBrowser}}getBrowserTags(){var e,t;return{server_name:window.location.origin,platform:window.navigator.platform,cookieEnabled:window.navigator.cookieEnabled,language:window.navigator.language,connectionType:null===(e=window.navigator.connection)||void 0===e?void 0:e.effectiveType,downlink:null===(t=window.navigator.connection)||void 0===t?void 0:t.downlink}}getBrowserExtra(){return{userAgent:window.navigator.userAgent,href:window.location.href}}getEnrichData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=super.getEnrichData(e);return Object.assign(Object.assign({},n),{tags:Object.assign(Object.assign(Object.assign(Object.assign({},n.tags),this.getTagsFromConfig()),this.getBrowserTags()),t),extra:Object.assign(Object.assign(Object.assign({},n.extra||{}),this.getBrowserExtra()),{stacktrace:e.stack})})}isIgnoredException(e){const t=!this.embedConfig.browserData.isSupported,n=""===window.navigator.userAgent||0===(null===(i=window.navigator.languages)||void 0===i?void 0:i.length)||window.navigator.webdriver;var i;const o=this.ignoreErrors.some((t=>t.test(e.message))),r=window.location.origin.includes("hubspotpreview");return t||n||o||r||super.isIgnoredException(e)}}class Jn{constructor(e){let{distributionId:t,name:n,variants:i,sentry:o}=e;this.variants=new Map,this.distributionId=t,this.name=n,this.sentry=o,i.forEach((e=>{this.variants.set(e.name,{name:e.name,weight:e.weight})})),this.variantSelectors=this.getDistributedSelectors()}get currentVariantName(){return this._currentVariantName}get previousVariantName(){return this._previousVariantName}initCurrentVariantName(){var e;const t=this.getSelection(),n=[];this.variantSelectors.forEach(((e,t)=>{n.push([t,e])})),this.currentVariantName=null===(e=n.find((e=>{let[,[n,i]]=e;return t>=n&&t<i})))||void 0===e?void 0:e[0]}setVariant(e){this.variants.has(e)?this.currentVariantName=e:this.sentry.captureException(`5 ${this.name}`)}set currentVariantName(e){this._previousVariantName=this._currentVariantName,this._currentVariantName=e}getSelection(){const e=this.getMaxDistributionValue();return Number((0,St.A)(`${this.distributionId}:${this.name}`)%e)}getDistributedSelectors(){let e=0;const t=new Map;return this.assertVariantsWithWeight(this.variants),this.variants.forEach(((n,i)=>{let{weight:o}=n;const r=this.getWeightSum(),s=this.getMaxDistributionValue()/r;t.set(i,[e,e+s*o]),e+=s*o})),t}getWeightSum(){let e=0;return this.assertVariantsWithWeight(this.variants),this.variants.forEach((t=>{let{weight:n}=t;return e+=n})),e}getMaxDistributionValue(){return 100*this.variants.size}assertVariantsWithWeight(e){if(![...e.entries()].every((e=>{let[,{weight:t}]=e;return void 0!==t})))throw new Error("Every variant should have weight")}}class Zn{constructor(e){this.experiments=new Map;const{experimentsSettings:t,tracker:n,funStorage:i,companyKey:o,widgetKey:r,user:s,parentCompanyKey:a,infrastructureParams:c,sentry:l,distributionId:d,isDebugMode:u,isFundraiseupVisitor:h,isAbTestMode:p=!1}=e;if(this.experimentsSettings=t,this.tracker=n,this.funStorage=i,this.companyKey=o,this.parentCompanyKey=a,this.widgetKey=r,this.user=s,this.infrastructureParams=c,this.sentry=l,this.distributionId=d,this.isDebugMode=u,this.isFundraiseupVisitor=h,this.isAbTestMode=p,!this.distributionId)throw new Error("ExperimentController: Distribution ID is required")}get allowExperiments(){return!!this.isDebugMode||!this.isFundraiseupVisitor&&!this.isAbTestMode}register(e,t){if(this.experiments.has(e))return;const n=this.experimentsSettings.find((t=>t.name===e));if(!n)return void this.sentry.captureException(`8 "${e}"`);const i=this.getDistributionExperimentName(n),o=new Jn({distributionId:this.distributionId,name:i,variants:n.variants,sentry:this.sentry}),r=new t({settings:n,companyKey:this.companyKey,parentCompanyKey:this.parentCompanyKey,tracker:this.tracker,funStorage:this.funStorage,user:this.user,widgetKey:this.widgetKey,infrastructureParams:this.infrastructureParams,sentry:this.sentry,distribution:o,allowExperiments:this.allowExperiments});this.experiments.set(e,r)}get(e){if(!this.experiments.has(e)){const t=`9 "${e}"`;throw this.sentry.captureException(t),new Error(t)}return this.experiments.get(e)}has(e){return this.experiments.has(e)}getDistributionExperimentName(e){return e.experimentId===T[f.ML_PRESETS_IN_DONATION_FORM_RECURRING_EXPERIMENT]?f.AMOUNT_PRESETS_CHECKOUT_EXPERIMENT:e.name}}const Qn={experimentId:T[f.CHECKOUT_BUNDLE_EXPERIMENT],name:f.CHECKOUT_BUNDLE_EXPERIMENT,enabled:!1,scope:w.EMBED,variants:[{name:_.CONTROL,weight:33},{name:_.TEST_1,weight:33},{name:_.TEST_2,weight:33},{name:_.TEST_3,weight:1}]},ei={experimentId:T[f.EMBED_TEST_EXPERIMENT],name:f.EMBED_TEST_EXPERIMENT,enabled:!1,scope:w.EMBED,variants:[{name:O.CONTROL,weight:1},{name:O.TEST,weight:1}]},ti={experimentId:T[f.MATCH_DONATION_IN_SOCIAL_PROOF_EXPERIMENT],name:f.MATCH_DONATION_IN_SOCIAL_PROOF_EXPERIMENT,enabled:!1,scope:w.EMBED,variants:[{name:L.CONTROL,weight:1},{name:L.TEST_1,weight:1},{name:L.TEST_2,weight:1}]},ni={experimentId:T[f.CHECKOUT_MODAL_VS_CAMPAIGN_PAGES_EXPERIMENT],name:f.CHECKOUT_MODAL_VS_CAMPAIGN_PAGES_EXPERIMENT,enabled:!1,scope:w.EMBED,variants:[{name:R.CONTROL,weight:1},{name:R.TEST,weight:1}]},ii={experimentId:T[f.SEND_BEACON_VS_FETCH_KEEP_ALIVE_EXPERIMENT],name:f.SEND_BEACON_VS_FETCH_KEEP_ALIVE_EXPERIMENT,enabled:!1,scope:w.EMBED,variants:[{name:Y.CONTROL,weight:80},{name:Y.TEST,weight:20}]},oi={experimentId:T[f.ML_PRESETS_IN_DONATION_FORM_RECURRING_EXPERIMENT],name:f.ML_PRESETS_IN_DONATION_FORM_RECURRING_EXPERIMENT,enabled:!1,scope:w.EMBED,variants:[{name:te.CONTROL,weight:1},{name:te.TEST,weight:1}]};var ri,si;!function(e){e.ONCE="once",e.DAILY="daily",e.WEEKLY="weekly",e.BIWEEKLY="biweekly",e.EVERY_4_WEEKS="every4weeks",e.MONTHLY="monthly",e.BIMONTHLY="bimonthly",e.QUARTERLY="quarterly",e.SEMIANNUAL="semiannual",e.ANNUAL="annual"}(ri||(ri={})),function(e){e.ELEMENT_ID="elementId",e.ELEMENT_KEY="elementKey",e.FORM="form",e.AMOUNT="amount",e.CURRENCY="currency",e.RECURRING="recurring",e.MODIFY_DESIGNATION="modifyDesignation",e.FIRST_NAME="firstName",e.LAST_NAME="lastName",e.EMAIL="email",e.DESIGNATION="designationId",e.TRIBUTE="tributeHonoree"}(si||(si={}));const ai=[l.DONATION_FORM];function ci(t){const o=y(),s=function(e){let{trackingUrls:t,isAbTestMode:n,donorPortalUrl:i,companyKey:o}=e;if(n){const e=On.includes(o)?"https://fundraiseupobjects.com":i;return{checkout:e,global:e}}return t}({trackingUrls:t.trackingUrls,isAbTestMode:t.staticConfig.abTestMode,donorPortalUrl:t.staticConfig.donorPortalUrl,companyKey:t.staticConfig.currentCompanyKey});return o.provide(2,(()=>Object.freeze(t.staticConfig))).provide(7,(()=>Object.freeze(s))).provide(8,(()=>t.companies)).provide(21,(()=>new nn(window))).provide(14,(()=>function(e,t,n,o,s,a,c,l,d){const u=(0,de.UA)(window.FundraiseUp.h||window.location.href),h=ae(u),p=void 0!==i.A.get(r.e.DEBUG),m=t.find((e=>e.key===n.currentCompanyKey));if(!m)throw new Error(`1 ${n.currentCompanyKey}`);const g={version:s,livemode:h,locale:new Je({window,queryParams:u,companyLocalizationSettings:m.localization}).getConfig(),currentCompanyKey:n.currentCompanyKey,currentCompany:m,loadedTimestamp:o,meta:l,queryParams:u,staticConfig:n,inactiveWidgets:d,get isMobile(){return window.FUN_FORCE_MOBILE||g.deviceData.isMobile},get deviceData(){const e=n.deviceData;return{isMobile:e.isMobile,isMobileOrTablet:e.isMobileOrTablet,isMobileSafari16:e.isMobileSafari16}},get fontsAssets(){return n.fontsAssets},get browserData(){return n.browserData},get paymentMethods(){return{stripePublicKey:Object.assign({},n.stripePublicKey),paypalClientId:n.paypalClientId,googlePayInfo:Object.assign({},n.googlePayInfo)}},get integrations(){return{uploadcareKey:n.uploadcareKey,dtdEnabled:n.integrations.dtd,sentryUri:n.sentryUri}},get server(){return{mainDomain:n.mainDomain,env:n.env,elementsApiScriptUrl:n.elementsApiScriptUrl,trackingUrls:Object.assign({},e),resolveUrl:`${a}/checkout/resolve?key=${n.currentCompanyKey}`,checkoutAssets:n.checkoutAssets,checkoutSteplessAssets:n.checkoutSteplessAssets,elementsUrl:`${c}/embed-data/`}},get data(){return{companies:[...t],currencyRates:Object.assign({},n.currencyRates)}},get isDebugMode(){return p},get isFundraiseupVisitor(){return Boolean(n.isFundraiseupVisitor)},get disablePreloading(){return n.disablePreloading},get experimentsConfig(){return{experiments:n.experimentsConfig.experiments||[]}},get abTestMode(){return n.abTestMode},get abTestDemoMode(){return window.FUN_AB_TEST_DEMO_MODE||!1},get fromDonorPortal(){return n.fromDonorPortal}};return g}(o.get(7),o.get(8),o.get(2),t.loadedTimestamp,t.version,vt,wt,t.meta,t.knownKeys.inactiveWidgets))).provide(1,(()=>new Gt(window,new on(window,t.staticConfig.deviceData.isMobile)))).provide(30,(()=>((e,t)=>{let n;const i=e=>e?'<div class="fru-wmb">\n    <div class="fru-sg"></div>\n\n    <div class="fru-ch" data-qa="msh">\n    <div class="fru-sm" style="width: 121px !important; height: 32px !important; margin: 0 auto !important"></div>\n  </div>\n    <div data-qa="msa">\n    <div class="fru-cim"></div>\n    <div class="fru-cbm">\n      <div class="fru-fcm">\n        <div class="fru-sm" style="width: 251px !important; height: 24px !important; margin: 0 auto !important"></div>\n        <div class="fru-sm" style="height: 40px !important; margin-top: 16px !important"></div>\n      </div>\n    </div>\n  </div>\n    <div class="fru-wfm" data-qa="msf">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 187px; height: 28px; margin: 0 auto"></div>\n      <div class="fru-sm" style="height: 44px !important; margin-top: 28px !important"></div>\n      <div class="fru-sm" style="height: 160px !important; margin-top: 16px !important"></div>\n      <div class="fru-sm" style="height: 66px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="height: 20px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="width: 121px !important; height: 20px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 48px !important; margin-top: 24px !important"></div>\n    </div>\n  </div>\n  <div class="fru-wftm">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 212px !important; height: 24px !important"></div>\n      <div class="fru-sm" style="width: 271px !important; height: 76px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 46px !important; margin-top: 12px !important"></div>\n    </div>\n  </div>\n  </div>':'<div class="fru-wmb">\n    <div class="fru-sg"></div>\n\n    <div class="fru-ch" data-qa="msh">\n    <div class="fru-sm" style="width: 121px !important; height: 32px !important; margin: 0 auto !important"></div>\n  </div>\n    <div class="fru-wfm" data-qa="msf">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 187px; height: 28px; margin: 0 auto"></div>\n      <div class="fru-sm" style="height: 44px !important; margin-top: 28px !important"></div>\n      <div class="fru-sm" style="height: 160px !important; margin-top: 16px !important"></div>\n      <div class="fru-sm" style="height: 66px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="height: 20px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="width: 121px !important; height: 20px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 48px !important; margin-top: 24px !important"></div>\n    </div>\n  </div>\n  <div class="fru-wftm">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 212px !important; height: 24px !important"></div>\n      <div class="fru-sm" style="width: 271px !important; height: 76px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 46px !important; margin-top: 12px !important"></div>\n    </div>\n  </div>\n  </div>',o=e=>e?'<div class="fru-wd">\n    <div class="fru-wmd">\n      <div class="fru-wcd" data-qa="dsa">\n    <div class="fru-sg fru-sgc"></div>\n\n    <div class="fru-cid"></div>\n    <div class="fru-cbd">\n      <div class="fru-sd" style="width: 116px !important; height: 50px !important"></div>\n      <div class="fru-sd" style="height: 24px !important; margin-top: 16px !important"></div>\n      <div class="fru-sd" style="height: 120px !important; margin-top: 12px !important"></div>\n      <div class="fru-sd" style="width: 206px !important; height: 16px !important; margin-top: auto !important"></div>\n    </div>\n  </div>\n      <div class="fru-wfd" data-qa="dsf">\n    <div class="fru-sg fru-sgf"></div>\n\n    <div class="fru-fcd">\n      <div class="fru-sd" style="width: 188px !important; height: 32px !important; margin: 0 auto !important"></div>\n      <div class="fru-sd" style="height: 40px !important; margin-top: 22px !important"></div>\n      <div class="fru-sd" style="height: 90px !important; margin-top: 12px !important"></div>\n      <div class="fru-sd" style="height: 52px !important; margin-top: 10px !important"></div>\n      <div class="fru-sd" style="width: 189px !important; height: 18px !important; margin-top: 25px !important"></div>\n      <div class="fru-sd" style="width: 221px !important; height: 18px !important; margin-top: auto !important"></div>\n      <div class="fru-sd" style="width: 89px !important; height: 18px !important; margin-top: 13px !important"></div>\n      <div class="fru-sd" style="height: 48px !important; margin-top: 21px !important"></div>\n    </div>\n  </div>\n    </div>\n  </div>':'<div class="fru-wd">\n    <div class="fru-wmd">\n      <div class="fru-wfd" data-qa="dsf">\n    <div class="fru-sg fru-sgf"></div>\n\n    <div class="fru-fcd">\n      <div class="fru-sd" style="width: 188px !important; height: 32px !important; margin: 0 auto !important"></div>\n      <div class="fru-sd" style="height: 40px !important; margin-top: 22px !important"></div>\n      <div class="fru-sd" style="height: 90px !important; margin-top: 12px !important"></div>\n      <div class="fru-sd" style="height: 52px !important; margin-top: 10px !important"></div>\n      <div class="fru-sd" style="width: 189px !important; height: 18px !important; margin-top: 25px !important"></div>\n      <div class="fru-sd" style="width: 221px !important; height: 18px !important; margin-top: auto !important"></div>\n      <div class="fru-sd" style="width: 89px !important; height: 18px !important; margin-top: 13px !important"></div>\n      <div class="fru-sd" style="height: 48px !important; margin-top: 21px !important"></div>\n    </div>\n  </div>\n    </div>\n  </div>';return{render:r=>{const s=(a=r.campaignKey,t.getAskPageType(a)===ve.WITH_ASK_PAGE);var a;n=e.document.createElement("div"),n.classList.add("fru-m"),s&&n.classList.add("fru-hc"),r.isLivemode||n.classList.add("fru-nlm"),r.isRtl&&n.setAttribute("dir","rtl"),e.document.body?e.document.body.appendChild(n):Kt(e.document,(()=>{e.document.body.appendChild(n)})),n.innerHTML=(e=>{let{isMobile:t,showAskPage:n}=e;return t?i(n):o(n)})({isMobile:r.isMobile,showAskPage:s}),(()=>{if(!n)return;const t=e.document.createElement("style");t.appendChild(e.document.createTextNode("\n  [class^='fru-'] {\n    all: initial;\n    display: block !important;\n    box-sizing: border-box !important;\n  }\n\n  .fru-sd {\n    width: 100% !important;\n    background: #efefef !important;\n    border-radius: 6px !important;\n  }\n\n  .fru-sm {\n    width: 100% !important;\n    background: #efefef !important;\n    border-radius: 4px !important;\n  }\n\n  .fru-sg {\n    position: absolute !important;\n    top: 0 !important;\n    left: 0 !important;\n    right: 0 !important;\n    bottom: 0 !important;\n    z-index: 1 !important;\n\n    background: linear-gradient(90deg, #FFFFFF00 35%, #FFFFFFE6 50%, #FFFFFF00 65%) 0 0 / 300% 100%;\n    animation: fru-ld 1s linear infinite !important;\n  }\n\n  [dir='rtl'] .fru-sg {\n    animation-name: fru-ld-rtl !important;\n  }\n\n  @keyframes fru-ld {\n    0% {\n      background-position: 100% 50%;\n    }\n    30% {\n      background-position: 0 50%;\n    }\n    100% {\n      background-position: 0 50%;\n    }\n  }\n\n  @keyframes fru-ld-rtl {\n    0% {\n      background-position: 0 50%;\n    }\n    30% {\n      background-position: 100% 50%;\n    }\n    100% {\n      background-position: 100% 50%;\n    }\n  }\n\n  .fru-m {\n    position: fixed !important;\n    top: 0 !important;\n    right: 0 !important;\n    bottom: 0 !important;\n    left: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    align-items: flex-start !important;\n    overflow-x: hidden !important;\n    overflow-y: auto !important;\n    z-index: 2147483647 !important;\n    transform: translateZ(100px) !important;\n    overscroll-behavior-y: none !important;\n  }\n\n  .fru-m-a {\n    animation: fru-fade-out 0.15s forwards !important;\n  }\n\n  @keyframes fru-fade-out {\n    to {\n      opacity: 0 !important;\n    }\n  }\n\n  .fru-wd {\n    display: flex !important;\n    flex-direction: column !important;\n    padding: 16px 0 !important;\n    margin: auto !important;\n  }\n\n  .fru-wmb {\n    flex-grow: 1 !important;\n    width: 100% !important;\n    position: relative !important;\n    background: #fff !important;\n  }\n\n  .fru-wmd {\n    min-height: 0 !important;\n    flex-grow: 1 !important;\n    flex-shrink: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    border-radius: 16px !important;\n    box-shadow: 0 8px 16px #393A3F38, 0 0 4px #393A3F0A !important;\n    margin-bottom: 86px !important;\n  }\n\n  .fru-wcd {\n    flex-shrink: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    position: relative !important;\n    width: 360px !important;\n    height: 640px !important;\n    background: #fff !important;\n    border-radius: 16px 16px 0 0 !important;\n    overflow: hidden !important;\n  }\n\n  .fru-ch {\n    padding: 8px 44px !important;\n  }\n\n  .fru-cid {\n    width: 100% !important;\n    height: 202px !important;\n    background: #efefef !important;\n    border-radius: 16px 16px 0 0 !important;\n  }\n\n  .fru-cim {\n    width: 100% !important;\n    height: 59vw !important;\n    background: #efefef !important;\n  }\n\n  .fru-cbd {\n    flex-grow: 1 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    padding: 20px 28px 28px !important;\n  }\n\n  .fru-cbm {\n    padding: 24px 20px !important;\n  }\n\n  .fru-wfd {\n    flex-shrink: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    position: relative !important;\n    width: 360px !important;\n    height: 640px !important;\n    background: #fff !important;\n    padding: 28px 32px !important;\n    border-radius: 16px !important;\n    border-top: 1px solid #c7cdd6 !important;\n    overflow: hidden !important;\n  }\n\n  .fru-hc .fru-wfd {\n    border-radius: 0 0 16px 16px !important;\n  }\n\n  .fru-wfm {\n    padding: 32px 20px 40px !important;\n    border-top: 1px solid #c7cdd6 !important;\n  }\n\n  .fru-wftm {\n    background: #fff !important;\n    padding: 24px 20px 60px !important;\n    border-top: 1px solid #c7cdd6 !important;\n  }\n\n  .fru-fcd {\n    min-height: 0 !important;\n    flex-grow: 1 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    width: 100% !important;\n    max-width: 296px !important;\n    margin: auto !important;\n  }\n\n  .fru-fcm {\n    width: 100% !important;\n    max-width: 390px !important;\n    margin: auto !important;\n  }\n\n  .fru-nlm {\n    margin-bottom: 40px !important;\n  }\n\n  @media (min-width: 536px) {\n    .fru-wcd {\n      width: 516px !important;\n    }\n\n    .fru-cid {\n      height: 289px !important;\n    }\n\n    .fru-hc .fru-wfd {\n      width: 516px !important;\n    }\n  }\n\n  @media (min-width: 916px) {\n    .fru-sgc {\n      animation-delay: 0.1s !important;\n    }\n\n    .fru-sgf {\n      animation-delay: 0.25s !important;\n    }\n\n    .fru-wmd {\n      flex-direction: row !important;\n      border-radius: 0 !important;\n      box-shadow: none !important;\n    }\n\n    .fru-hc .fru-wmd {\n      margin-bottom: 34px !important;\n    }\n\n    .fru-wcd {\n      border-radius: 16px !important;\n      box-shadow: 0 8px 16px #393A3F38, 0 0 4px #393A3F0A !important;\n      margin-inline-end: 20px !important;\n    }\n\n    .fru-wfd {\n      border-top: 0 !important;\n      box-shadow: 0 8px 16px #393A3F38, 0 0 4px #393A3F0A !important;\n    }\n\n    .fru-hc .fru-wfd {\n      width: 360px !important;\n      border-radius: 16px !important;\n    }\n  }\n")),n.prepend(t)})()},hide:()=>{n&&(n.classList.add("fru-m-a"),n.remove())}}})(window,o.get(3)))).provide(28,(()=>{return e=o.get(2),n=o.get(14),i=t.version,new qn(((e,t)=>fetch(e,t)),e.sentryApiKey,$n.EMBED,i,e.env,Xn.CHECKOUT,n);var e,n,i})).provide(6,(()=>new e.y("embed",t.debugLogCodes))).provide(3,(()=>new Mt(t.knownKeys))).provide(9,(()=>new jn(function(){const e=a(n.OBJECT),t=new Un(Vn),i=new Gn(e,t,window.FUN_DISABLE_NEW_COOKIES),o=new Bn(e,t,window.FUN_DISABLE_NEW_COOKIES);return new Hn(i,o,window.FUN_DISABLE_NEW_COOKIES)}(),{env:t.staticConfig.env,allowWrite:!0}))).provide(26,(()=>new Mn(o.get(9)))).provide(25,(()=>function(e,t,n,i){const o=(0,Ln.F)().get(9),r=(0,de.fL)(o);return new xn(e,t,r,n,i)}(o.get(9),o.get(23),t.staticConfig.env,window.FUN_DISABLE_NEW_COOKIES))).provide(23,(()=>function(){const e=(0,Ln.F)().get(9),t=(0,de.fL)(e);return new Dn(t)}())).provide(22,(()=>function(){const e=(0,Ln.F)().get(9),t=(0,de.fL)(e);return new Rn(t)}())).provide(24,(()=>function(e,t){const n=(0,Ln.F)().get(9),o=(0,de.fL)(n);return new kn(e,o,i.A,{disableNewCookies:t})}(t.staticConfig.env,window.FUN_DISABLE_NEW_COOKIES))).provide(15,(()=>function(e){let t;if(e.funTracker)t=e.funTracker;else{const n=new In({window:e.window,url:e.globalURL,trackingTarget:"/tb",env:e.env,checkNeedUseFetch:()=>function(e){const t=y().get(29);t.register(f.SEND_BEACON_VS_FETCH_KEEP_ALIVE_EXPERIMENT,rn);const n=t.get(f.SEND_BEACON_VS_FETCH_KEEP_ALIVE_EXPERIMENT);return n.tryStart({browserName:e}),n.needUseFetchForTracking}(e.embedConfig.browserData.browser.name||"")});e.funCookiesMigrator.setupFuncCookie(),e.funCookiesManager.initialize(),t=new wn({trackerClient:n,window:e.window,companyKey:e.embedConfig.currentCompanyKey,storage:e.funTrackerStorage,localeCode:e.embedConfig.locale.code,livemode:e.embedConfig.livemode,isABTestMode:e.embedConfig.abTestMode,source:e.source}),t.subscribe((t=>e.debug.log(t.eventType||"",t)),"debug"),t.start()}return new Sn(t,{funEmbedRelease:e.funEmbedRelease,isFundraiseupVisitor:e.isFundraiseupVisitor})}({window,funEmbedRelease:t.version,embedConfig:o.get(14),debug:o.get(6).createInstance("Tracking"),globalURL:s.global,funTracker:window.FUN_TRACKER,isFundraiseupVisitor:t.staticConfig.isFundraiseupVisitor?1:0,funTrackerStorage:o.get(22),funCookiesManager:o.get(25),funCookiesMigrator:o.get(24),source:t.staticConfig.fromDonorPortal?yn.DONOR_PORTAL:void 0,env:t.staticConfig.env}))).provide(29,(()=>{return t=o.get(14),n=o.get(15),i=o.get(16),new Zn({companyKey:t.currentCompanyKey,parentCompanyKey:(null===(r=t.currentCompany)||void 0===r?void 0:r.parentKey)||null,tracker:n,experimentsSettings:(e=t.experimentsConfig.experiments,[Qn,ei,ti,ni,ii,oi].map((t=>{const n=e.find((e=>e.experimentId===t.experimentId));return n?{experimentId:n.experimentId,enabledWidgets:n.enabledWidgets,disabledWidgets:n.disabledWidgets,name:n.name,enabled:n.enabled,variants:n.variants,disabledAccounts:n.disabledAccounts,enabledAccounts:n.enabledAccounts}:t}))),funStorage:i,sentry:{captureException:e=>console.error(e),configureScope:()=>{}},isDebugMode:t.isDebugMode,isFundraiseupVisitor:t.isFundraiseupVisitor,isAbTestMode:t.abTestMode,distributionId:n.clientId});var e,t,n,i,r})).provide(4,(()=>Dt(o.get(3),o.get(6).createInstance("Collector")))).provide(5,(()=>en(o.get(14),o.get(3),o.get(6).createInstance("CommonResolver"),o.get(15),o.get(28)))).provide(10,(()=>lt(o.get(4),o.get(3),o.get(11),o.get(14),o.get(6),o.get(15),o.get(31)))).provide(31,(()=>function(e){const t=function(e){const t=e.get(si.ELEMENT_KEY),n=e.get(si.ELEMENT_ID),i=e.get(si.FORM);if(!t&&!n||i)return null;const o=Number(e.get(si.AMOUNT)),r=o?100*o:null,s=(e.get(si.CURRENCY)||"").toUpperCase(),a=e.get(si.RECURRING),c=e.get(si.MODIFY_DESIGNATION),l="yes"===c||"no"===c,d=Object.values(ri);return{elementKey:t||n,amount:r,currency:s,recurring:a&&d.includes(a)?a:null,modifyDesignation:l?"yes"===c:null,firstName:e.get(si.FIRST_NAME),lastName:e.get(si.LAST_NAME),email:e.get(si.EMAIL),designationId:e.get(si.DESIGNATION),tributeHonoree:e.get(si.TRIBUTE)}}(new URLSearchParams(e.location.search)),n=(e,n)=>ai.includes(n)&&e===(null==t?void 0:t.elementKey);return{getUrlParamsForElement:e=>n(e.key,e.type)?t:null,checkAmountInUrlApiForElement:(e,i)=>n(e,i)&&Boolean(null==t?void 0:t.amount)}}(window))).provide(18,(()=>function(e){let t=null;const n=(n,i)=>(i&&t&&t(),new Promise(((i,o)=>{const{abort:r}=yt({method:"POST",url:`${s=vt,"/data",`${s}/elements/data`}?key=${e.currentCompanyKey}&livemode=${e.livemode}`,headers:{"content-type":"text/plain; charset=utf-8"},params:n},(e=>{e&&i(e)}),o);var s;t=r})));return{config:e,getData:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=e.map((e=>({key:e})));return n(i,t)},searchData:function(e,t){return n([{key:e,params:t}],!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}}}(o.get(14)))).provide(11,(()=>Le(o.get(5),o.get(6),o.get(14),o.get(1),o.get(30),o.get(3),o.get(15),o.get(20),o.get(21),o.get(9),o.get(29)))).provide(13,(()=>(e=>{const t=e=>{return t=void 0,n=void 0,o=function*(){return new Promise(((t,n)=>{yt({method:"GET",url:`${vt}/p2p/fundraiser/${e}`,headers:{"content-type":"text/plain; charset=utf-8"}},(e=>{e&&t(e)}),n)}))},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o};return{open:n=>gt.test(n)?(e=>Promise.all([re(),t(e)]).then((t=>{let[n,i]=t;n.formOpener.openForm(e,"p2p",{fundraisingPage:i})})))(n):(t=>re().then((n=>{e.getElements([t]),e.onElementsLoad((e=>{const i=e.elements.find((e=>e.key===t));if(i)return n.addElements({nodes:[],elements:[i],globalElements:e.globalElements}),n.formOpener.openForm(t,"p2p",{fundraisingPage:null})}))})))(n)}})(o.get(10)))).provide(12,(()=>Rt(o.get(11),o.get(10),o.get(13),o,o.get(14),o.get(15),o.get(5),o.get(3),o.get(6).createInstance("InternalApi"),o.get(16),o.get(4),o.get(26),o.get(29),o.get(27)))).provide(16,(()=>c(r.e.EXPERIMENTS,n.OBJECT))).provide(20,(()=>new tn)).provide(27,(()=>function(){const e=a(n.STRING);return new zn(e)}()))}l.DONATION_FORM;function li(e){return t=this,n=void 0,o=function*(){return new Promise((t=>{const n=e.document.createElement("iframe");n.style.display="none",Kt(e.document,(()=>{const i=(()=>{try{e.document.body.appendChild(n);const t=n.contentWindow;if(!t)return!1;const i=t.Date.now,o=t.Array.prototype.push,r=t.Object.keys,s=t.Map.prototype.set,a=t.String.prototype.replace;document.body.removeChild(n);const c=o.toString()===Array.prototype.push.toString(),l=r.toString()===Object.keys.toString(),d=s.toString()===Map.prototype.set.toString(),u=i.toString()===Date.now.toString(),h=a.toString()===String.prototype.replace.toString();return!(c&&l&&d&&u&&h)}catch(e){return!0}})();t(i)}))}))},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o}const di=new e.y("Embed");!function(){var e,t;if(li(window).then((e=>{window.FUN_IS_MALFORMED_ENV=e})),!window.Set||!window.WeakMap)return void(window.console&&window.console.warn&&window.console.warn("init","legacy browser, skip processing"));if(null===(e=window.FUN)||void 0===e?void 0:e.initialized)return void di.log("init","already initialized, skip processing");di.log("init","initialization has started"),function(e,t){const n=function(e){return"function"==typeof e?n.l.push([arguments])&&n:function(){return n.l.push([e,arguments])&&n}};n.h=e.location.href,n.s=Date.now(),n.v="0",n.l=[];const i="call,catch,on,once,set,then,track,openCheckout".split(",");for(let e=0;e<8;e++)n[i[e]]=n(i[e]);e[t]=e[t]||n}(window,"FundraiseUp");const n=ci({loadedTimestamp:Date.now(),trackingUrls:{"global":"https://fndrsp.net","checkout":"https://fndrsp-checkout.net"},staticConfig:{"elementsApiScriptUrl":"https://static.fundraiseup.com/14932ac08bcc.elementsApi.js","checkoutAssets":{"scripts":["https://static.fundraiseup.com/checkout.4718751ebdbcdedf4cd3.js","https://static.fundraiseup.com/checkout-vendors.39268c869f832a863c96.js","https://static.fundraiseup.com/checkout-rtl-styles.f24249684fff57619621.js","https://static.fundraiseup.com/checkout-styles.4e9d0ebf8103ae80605c.js","https://static.fundraiseup.com/checkout-sentry-vendor.47fcbda2ddf8612ec4a9.js","https://static.fundraiseup.com/sentry.3872c110be5ca66818ee.js"]},"checkoutSteplessAssets":{"scripts":["https://static.fundraiseup.com/checkout-stepless.340e87f85b67e53c8b62.js","https://static.fundraiseup.com/checkout-stepless-vendors.4bc4bad4a3169d4dbc29.js","https://static.fundraiseup.com/cs.checkout-stepless-rtl-styles.2730333b1e0e94a70e68.js","https://static.fundraiseup.com/cs.checkout-stepless-styles.829920e78663b458279a.js","https://static.fundraiseup.com/cs.checkout-stepless-sentry-vendor.91c9e72d0a5479530282.js","https://static.fundraiseup.com/sentry.3872c110be5ca66818ee.js"]},"currencyRates":{"USD":1,"AED":3.672968,"AFN":67.00023,"ALL":92.450385,"AMD":386.974854,"ANG":1.802123,"AOA":912.999909,"ARS":1002.8657,"AUD":1.550364,"AWG":1.8025,"AZN":1.692847,"BAM":1.857325,"BBD":2.01886,"BDT":119.48491,"BGN":1.852673,"BHD":0.37685,"BIF":2897.5,"BMD":1,"BND":1.345641,"BOB":6.908832,"BRL":5.790098,"BSD":0.999886,"BTC":0.000011378119,"BTN":84.392794,"BWP":13.725155,"BYN":3.272208,"BYR":19600,"BZD":2.01548,"CAD":1.40643,"CDF":2866.000071,"CHF":0.89027,"CLF":0.035356,"CLP":975.58008,"CNY":7.229901,"CNH":7.252585,"COP":4481.75,"CRC":510.721544,"CUC":1,"CUP":26.5,"CVE":104.904229,"CZK":24.012996,"DJF":177.720473,"DKK":7.081979,"DOP":60.450171,"DZD":133.619866,"EGP":49.591501,"ERN":15,"ETB":121.925001,"EUR":0.949455,"FJD":2.274976,"FKP":0.789317,"GBP":0.78972,"GEL":2.725035,"GGP":0.789317,"GHS":16.050115,"GIP":0.789317,"GMD":71.000373,"GNF":8631.000402,"GTQ":7.721894,"GYD":209.184836,"HKD":7.782955,"HNL":25.079662,"HRK":7.133259,"HTG":131.382772,"HUF":385.898328,"IDR":15951.25,"ILS":3.73968,"IMP":0.789317,"INR":84.473199,"IQD":1310.5,"IRR":42105.000359,"ISK":138.330143,"JEP":0.789317,"JMD":158.287592,"JOD":0.709103,"JPY":156.619504,"KES":129.52774,"KGS":86.376498,"KHR":4050.999878,"KMF":466.498567,"KPW":899.999621,"KRW":1407.255045,"KWD":0.30742,"KYD":0.833207,"KZT":495.71708,"LAK":21944.999797,"LBP":89599.999559,"LKR":292.121707,"LRD":184.102214,"LSL":18.198678,"LTL":2.95274,"LVL":0.60489,"LYD":4.880534,"MAD":9.9725,"MDL":18.112322,"MGA":4659.999422,"MKD":58.237769,"MMK":3247.960992,"MNT":3397.999946,"MOP":8.01546,"MRU":39.965011,"MUR":47.189723,"MVR":15.459699,"MWK":1734.999903,"MXN":20.49225,"MYR":4.488952,"MZN":63.850464,"NAD":18.224696,"NGN":1679.96029,"NIO":36.760069,"NOK":11.143755,"NPR":135.033904,"NZD":1.71099,"OMR":0.385021,"PAB":0.999905,"PEN":3.804504,"PGK":3.94225,"PHP":58.949027,"PKR":278.101978,"PLN":4.105405,"PYG":7808.968491,"QAR":3.64075,"RON":4.724501,"RSD":110.634024,"RUB":99.548657,"RWF":1368,"SAR":3.756031,"SBD":8.383384,"SCR":14.74503,"SDG":601.49567,"SEK":10.9921,"SGD":1.346265,"SHP":0.789317,"SLE":22.699639,"SLL":20969.504736,"SOS":571.500507,"SRD":35.356502,"STD":20697.981008,"SVC":8.749122,"SYP":2512.529858,"SZL":18.212179,"THB":34.980016,"TJS":10.658475,"TMT":3.5,"TND":3.151974,"TOP":2.342097,"TRY":34.412305,"TTD":6.789045,"TWD":32.614501,"TZS":2660.000644,"UAH":41.219825,"UGX":3669.445974,"UYU":42.477826,"UZS":12799.999937,"VEF":3622552.534434,"VES":45.449966,"VND":25400,"VUV":118.722009,"WST":2.791591,"XAF":622.917458,"XAG":0.0329,"XAU":0.00039,"XCD":2.70255,"XDR":0.753255,"XOF":620.496031,"XPF":113.435183,"YER":249.850481,"ZAR":19.30223,"ZMK":9001.196752,"ZMW":27.421652,"ZWL":321.999592},"campaignPageAssets":{"scripts":{"main":"https://static.fundraiseup.com/campaignPages.c96ed76ff86f83956080.js","vendors":"https://static.fundraiseup.com/campaignPagesVendors.6bbe1eb4d5242b9565c4.js","flow":"https://static.fundraiseup.com/campaignPagesFlowFactory.9ba9d0fd0e104e6c1e8b.js","fiatFlow":"https://static.fundraiseup.com/campaign-pages-fiat-flow-factory.34042c1680e67522c90d.js","cryptoFlow":"https://static.fundraiseup.com/campaign-pages-crypto-flow-factory.002e356a13735874994a.js","stockFlow":"https://static.fundraiseup.com/campaign-pages-stock-flow-factory.3d19a98fb41f10ea0990.js"},"css":{"ltr":"https://static.fundraiseup.com/campaignPages.ae2cf658b523a23e4574.css","rtl":"https://static.fundraiseup.com/campaignPages.ae2cf658b523a23e4574.rtl.css"},"fonts":{"ibmPlexSans600":"/app:fonts/ibm-plex-sans/ibmplexsans-v19-600.woff2","ibmPlexSans700":"/app:fonts/ibm-plex-sans/ibmplexsans-v19-700.woff2","ibmPlexSansArabic600":"/app:fonts/ibm-plex-sans-arabic/ibmplexsans-arabic-v12-600.woff2","ibmPlexSansArabic700":"/app:fonts/ibm-plex-sans-arabic/ibmplexsans-arabic-v12-700.woff2"}},"apiUrl":"https://api.fundraiseup.com","staticUrl":"https://static.fundraiseup.com","trackingUrl":"https://fndrsp.net","donorPortalUrl":"https://partnersinhealth.donorsupport.co","stripePublicKey":{"live":"pk_live_9RzCojmneCvL31GhYTknluXp","test":"pk_test_PIcNaumXzkrpufsvKlKULLIZ"},"paypalClientId":"Afbm69ig8nMRLmZKS-QoONq7qIHPqlpYJ1l3vyxE_la-UZPU_eEkKH2HRpHFkl7SNJ8a_eKvDkcT9-My","googlePayInfo":{"stripeAPIVersion":"2023-10-16","allowedCardNetworks":["AMEX","DISCOVER","JCB","MASTERCARD","VISA"],"allowedAuthMethods":["PAN_ONLY","CRYPTOGRAM_3DS"],"merchantId":"BCR2DN6T7OI7T6IH"},"env":"production","sentryUri":"https://e4f08d23cf4e4dd080d8b4853ea3f102@sentry.fundraiseup.com/9","uploadcareKey":"5a1e3737b731e848bee9","mainDomain":"fundraiseup.com","integrations":{"dtd":false},"sentryApiKey":"e4f08d23cf4e4dd080d8b4853ea3f102","isFundraiseupVisitor":false,"disablePreloading":false,"deviceData":{"isMobile":false,"isMobileOrTablet":false,"isMobileSafari16":false},"experimentsConfig":{"experiments":[{"name":"MlPresetsInDonationFormRecurringExperiment","enabled":true,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"89680","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL","AAMRKAJS"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"UpsellAmountsDatasetModalExperiment","enabled":true,"variants":[{"name":"control","weight":0},{"name":"test","weight":1}],"experimentId":"87159-modal","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL","AAMRKAJS"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"SendBeaconVsFetchKeepAliveExperiment","enabled":true,"variants":[{"name":"control","weight":80},{"name":"test","weight":20}],"experimentId":"87177","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL","AAMRKAJS"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"AmountPresetsCheckoutExperiment","enabled":true,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"89669","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL","AAMRKAJS"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"SmartCoveringFeeSuggestionCheckoutExperimentV2","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test-1","weight":1},{"name":"test-2","weight":1}],"experimentId":"82767-modal","enabledAccounts":[],"disabledAccounts":["AVLMPSRU","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL","AAMRKAJS"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"MlPresetsInDonationFormV2Experiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"82987","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"ExitCheckoutModalExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test-1","weight":1},{"name":"test-2","weight":1}],"experimentId":"70609-modal","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL","RWHMSQPD","AAMRKAJS"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"SmartPostDonationUpsellCheckoutV2Experiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"79870-modal","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"MlDefaultFrequencyCheckoutExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"74282-modal","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"LessPaymentOptionsExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test-1","weight":1},{"name":"test-2","weight":1},{"name":"test-3","weight":1},{"name":"test-4","weight":1}],"experimentId":"40193","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"CheckoutWithoutPreDonationUpsellExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"73814","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"CheckoutModalVsCampaignPagesExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"58415","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[]},{"name":"MatchDonationInSocialProofExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test-1","weight":1},{"name":"test-2","weight":1}],"experimentId":"59325","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"MlPostDonationUpsellCheckoutExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"70084","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"FloatingLabelsCheckoutExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test-1","weight":1},{"name":"test-2","weight":1}],"experimentId":"60368-modal","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM","ALCUDRVC","AJGERPHC","AFHQHUFB","AUPRPMUE","AVALTECL"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"UpsellScreenV3Experiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"65613","enabledAccounts":[],"disabledAccounts":["AZFMPNQE","ARVHGABZ","AVLMPSRU","AEJGNVQN","APZMZAGU","AGSTXLKM"],"enabledWidgets":[],"disabledWidgets":[]},{"name":"UpsellCurtainExperiment","enabled":false,"variants":[{"name":"control","weight":33},{"name":"test-1","weight":33},{"name":"test-2","weight":33},{"name":"test-3","weight":1}],"experimentId":"43030","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[]},{"name":"DummyExperiment","enabled":false,"variants":[{"name":"control","weight":1},{"name":"test","weight":1}],"experimentId":"33802","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[]}]},"abTestMode":false,"browserData":{"browser":{"name":"Chrome","version":"42.0.2311.90","major":"42"},"device":{},"engine":{"name":"Blink","version":"42.0.2311.90"},"os":{"name":"Windows","version":"7"},"isSupported":false,"isCommonBrowser":true,"isInAppBrowser":false},"fontsAssets":["https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-400.woff2","https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-500.woff2","https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-600.woff2"],"fromDonorPortal":false,"currentCompanyKey":"AJDEFYWC"},knownKeys:{campaignKeyGroups:{"onlyCampaignPages":{"withAskPage":[],"noAskPage":[]},"onlyCheckoutModal":{"withAskPage":[["FUNQXLFEWRB","donate-now"],["FUNXMCEQRVM","hankandjohn"],["FUNRGTTQUDK","hustle"],["FUNLHSEDYYJ","match-for-sierra-leone"],["FUNPMMQWZRD","heroes"],["FUNMGPNZGLG","2020Giving"],["FUNUHBEMNJT","donate"],["FUNULWDJQJS","covid"],["FUNQLRXKXMT","pauls-partners"],["FUNNXKMZSPN","cope-covid19"],["FUNUMJWQHEH","next-step"],["FUNQPEGETSH","bending-the-arc"],["FUNFXSQQUKM","eoy-heroes"],["FUNCTHTQWMQ"],["FUNHTXSFXNT","protect"],["FUNXPKEDZSW","give-now"],["FUNCFSBDGHH"],["FUNTTYDLMEL"],["FUNRZWBDLQD","nutrition-kits"],["FUNDFQWWMQL","GivingTuesday2020"],["FUNXUFLRBKW","DirectMail"],["FUNYCTCKZEJ","help-stop-COVID"],["FUNGQNLBWZX","masks-are-back"],["FUNECHKZFKP","covid-vaccine"],["FUNGWGVKXTU","operating-room"],["FUNXNVGLCUS","PeoplesVaccine"],["FUNHQBBFRCG","fivexgiving"],["FUNTQMEHCPF","cold-chain"],["FUNYTLNKPPY","Give2020"],["FUNLGVNGNZG","PP"],["FUNBFJKYRVL","P2P"],["FUNLUMVWSCY","haiti-today"],["FUNSSPPYHGD"],["FUNTSHMTFVW","food-vouchers"],["FUNBLKDCBZG","planetaryhealth"],["FUNWNXMNQVZ"],["FUNNRSMVDSY"],["FUNEQQFNDLU"],["FUNCDXLPHZD","leadershipgiving"],["FUNUTXPJQXK","womensalliance"],["FUNQBDEBLWE"],["FUNJEWMPXQR","oxygen"],["FUNUGWZXECX","GiveMonthly"],["FUNGTPPFBCV","GiveAGift"],["FUNRDEKRPQJ","maternalhealth"],["FUNYPBEZCJE","mothers-day-match"],["FUNZFMHWDPN","mothers-day"],["FUNDXGMNTYU","honoramom"],["FUNUMPZEZRQ","maternalhealthmatch"],["FUNNUVVUYPL","healthsystem"],["FUNWMLVTSJE"],["FUNLDXKTNUP"],["FUNWQVLWDDR","24-hours"],["FUNXNEBJRZC"],["FUNKNUETBML"],["FUNNXQQUQEZ"],["FUNDKYBVFDN"],["FUNMTNVUSGE","matching-gift"],["FUNQNKJCGWW"],["FUNUNLLYEPU","contribute"],["FUNPDFQYEUZ","Takeaction"],["FUNUNELUNXM","contribute-now"],["FUNXFVKXYSD","Hope-to-Haiti"],["FUNUXJBKKKC"],["FUNVYRJXZDU","Engage-Fundraiser"],["FUNBZUNLWNZ"],["FUNDZGWGDBQ","Haiti-Earthquake"],["FUNVZMJSZMF","haiti_urgent"],["FUNXBBYYHLN","HLN-Earthquake"],["FUNRHKDBDST","alumni-hteq"],["FUNMSXSPREJ","Earthquake-P2P"],["FUNDWLFKMVP"],["FUNGFNMSTGJ","Earthquake-BHI"],["FUNZMEWCMZF","Earthquake-Patriots"],["FUNGFSPZFRR","WGI-Earthquake"],["FUNLPLRNZVJ","Haiti-Earthquake-ZL"],["FUNSSJRTZWL"],["FUNTBXLVLWK","ACEP"],["FUNCRPPFCVC"],["FUNWMDFKTXR"],["FUNJLNKZUYS","shsh"],["FUNFJKGNZGJ"],["FUNCSCMQQGZ"],["FUNHNCMWNLM","earthquake-match"],["FUNFMNGKPWG"],["FUNZSXEEBXU","earthquake-text-match"],["FUNGXUCYLTX","bta-climate"],["FUNLKLLBFMH","gift2021"],["FUNXVRWYNDV"],["FUNPWUMXGZG"],["FUNTLCSQPTN"],["FUNWKMUGEKC","hassan"],["FUNCJUBLUML","2021EOY3X"],["FUNXMSBQXFY","Give-2021"],["FUNVWKPXMYS"],["FUNRYCCNEYN","CompanyMatch"],["FUNJCWGXUUR","flash-match"],["FUNSCQWKNRW"],["FUNUCEEQWTE","AHP"],["FUNEXVUJFUC","O2-2022"],["FUNNCJCJVPC","haiti"],["FUNZPXJKXJZ"],["FUNMWVJGLVW"],["FUNFUFXAYLT","supply-chain"],["FUNCCQCFUHG","tribute"],["FUNSCTXLPAD"],["FUNBABDAZCP","SupportPeru"],["FUNCZQWTBWN","malawi-flooding"],["FUNWTEKVQJW","flooding-malawi"],["FUNQPJECRHY","PIH-in-Haiti"],["FUNPZCTDBJK","PIH-Malawi"],["FUNAFYTFFKS"],["FUNYAANADML"],["FUNPAWXYDJP"],["FUNQEXXLDGC"],["FUNMTKAAEYE"],["FUNQYRXKJWD","malnutrition"],["FUNYHVBNYUF","mothers-day-2022"],["FUNDLLSEFFE"],["FUNYXUAKXSJ","2022-mothers-day"],["FUNGJWBRGXM","Immokalee"],["FUNVDNTGKUM"],["FUNWKUEYMXK"],["FUNJUWXNVZU","cholera-malawi"],["FUNWWHWHTZE"],["FUNHAPZZYWY"],["FUNLJRFWFCY","donate-monthly"],["FUNSDHKKQTP","oxygen-2022"],["FUNXRFFBDRQ","mental-health-match"],["FUNFHQBMAMX"],["FUNLPCTKJNJ"],["FUNMYNNQWFB"],["FUNDGUQYDXM","Support-Haiti-Now"],["FUNHCBMYAGZ","start"],["FUNGBTTJBBQ","Haiti-Clinical-Ed"],["FUNTQUZSMJL","Health-in-Haiti"],["FUNMDTXUFWV","Infrastructure-in-Haiti"],["FUNUUEUDHXQ"],["FUNKYQMWMBC"],["FUNASZUSKBM"],["FUNGHGALJCF"],["FUNMQZHDMPT","haiti-anniversary"],["FUNWVUSULUS","child-health"],["FUNQYHCMEVV"],["FUNBHVDFVEZ"],["FUNZBWSDJDZ"],["FUNZQWMAZFF"],["FUNQTFGFYZZ"],["FUNCHRNXWDD"],["FUNRTEJZLEE"],["FUNSNAKGVVK","instability-haiti"],["FUNYXGVSDQJ"],["FUNMSKLQLXY"],["FUNLENCSDWW","honorpaul"],["FUNAYVPZECR","instabilityinhaiti"],["FUNHQEJBHZJ","HaitiUR"],["FUNPALDJMSE","honorpaul-thank-you"],["FUNWDAZNDPQ"],["FUNVELXWMPG"],["FUNHHEREBZW","2022EOY3X"],["FUNGPVNTHYZ","maternal-health"],["FUNSAMRLCBR","PandemicResponse"],["FUNUBELSHQS"],["FUNZJVXSGPW","stock"],["FUNETMARFJY","2022EOY3XPM"],["FUNAMVXHLQR"],["FUNKLXSDZJQ","Baxter"],["FUNHXLDGNSG","test1"],["FUNDPCFCGNN","test2"],["FUNKWPMLRQH","test3"],["FUNFJZDSATM","Wednesday"],["FUNBSYQXNNS","LeadershipPin"],["FUNDGBYJFDC","Dec3xImpact"],["FUNXRBKNYUC","Cholera-Match"],["FUNMZMFEDRC","Tribute22"],["FUNWRYUDTSH"],["FUNQFGLBYAM"],["FUNBAXQVMEQ","DMHaitiEmergancy"],["FUNUKMUWBJY"],["FUNHNWBCNQA"],["FUNSBAAQQWV"],["FUNSZPULWWM"],["FUNJYSXUXCM"],["FUNPKCBPQQV"],["FUNWKNLXQQW"],["FUNPAHGMAGN"],["FUNUQCYCBCF"],["FUNTXFQVTVV"],["FUNVEYNGNKX","donation-haiti"],["FUNBRRDQTXC","haiti-crisis"],["FUNLJRRFBJX","crisis-haiti"],["FUNJTLPXNFD","cyclone-freddy"],["FUNCQNPBZAQ"],["FUNASLXBPKE"],["FUNBVTVLQEG"],["FUNFNFRSLJE"],["FUNCWXFEZNF"],["FUNZLRSVARX"],["FUNGTGXQKGD"],["FUNYDFKHNYL"],["FUNVRZYRKQH","mcoe-md-2023"],["FUNTPTHMCBK","md-2023"],["FUNAMLPEDTB","23-md"],["FUNVYGVHDKS","md-23-psps"],["FUNPHKHCXHQ"],["FUNEYTNKHFS","essential-match"],["FUNMDLMGJWN","essential-crowdfund"],["FUNRDRNTRXA"],["FUNFQGAPCVH"],["FUNLQUJAENE","triple-matched"],["FUNWJTNASTF"],["FUNRBGXRTTE"],["FUNSMXQXLRD","engage-mcoe-2023"],["FUNQXPAKBXB"],["FUNSALSSYXP"],["FUNYDBDXKRU","fund-match"],["FUNUWDEFYFD","match-10"],["FUNMKCXQENJ","treat-tb"],["FUNNJPJKCFC","BostonGlobeGG2023"],["FUNYPDKUBVS","pih-gear-2023"],["FUNMJVZVCJK","gift-2023"],["FUNDYSVPFWD","Triple-Match-gt23"],["FUNVVBJFTUE","Triple-Match-gt23-nd"],["FUNEYFWZPQJ","convatec"],["FUNDVBPVJQM","gift23"],["FUNSVVLDXTB","match11"],["FUNPKNKHTHW","match-9"],["FUNAGBPMQFM","electricity2xmatch"],["FUNNVMTKBQV"],["FUNKTWKHAZQ"],["FUNMBWJDYPE","EOYCF23"],["FUNYDZBENQZ","EOYCAL23"],["FUNBSCUWJTN","DMX2310"],["FUNTEWNHSFJ","1223EOYFP"],["FUNKKSYBXTQ","pihfp2023"],["FUNPADJYZLH","fpeoy2023f"],["FUNQQEVVQWU","pihfp2023sms"],["FUNFRKHJRKU"],["FUNEUKSPAYA"],["FUNWYQYZEFQ"],["FUNFGRLPSMV"],["FUNMQJYTJAA","donate-malawi24"],["FUNQQGPKYMZ"],["FUNJUNKXCBD"],["FUNFQYYYQXH"],["FUNJWJADNFM"],["FUNUQWBJLMM"],["FUNQSQGLWVA"],["FUNEJSEBUQC"],["FUNAYGKUCHR","haiti-crisis24"],["FUNVRZDWPFB","celebrate-ophelia-stock"],["FUNJJVGQNVA"],["FUNXNBZSAWL"],["FUNFYQFRHHC"],["FUNLKUVLDDL"],["FUNVTKYSHFG"],["FUNHZTMMPEZ","tb-support-24"],["FUNSTPCGHVD"],["FUNLUYWWLFE","a-celebrate-mothers"],["FUNHPWPHRZK","b-celebrate-mothers"],["FUNUSMSVSGE"],["FUNAJZNQFHV"],["FUNJHNMPVAF"],["FUNYDUVSBKS"],["FUNBMHSMUCS"],["FUNSMPXCPFH"],["FUNZFUYJXXT"],["FUNVEMJAEHG","haiti-match-2024"],["FUNZDJVREKE"],["FUNQTSEVLNT"],["FUNULUHCYBC"],["FUNUPRYLYKJ"],["FUNVYWLWNQP"],["FUNNMALYZKX"],["FUNUQWMTUAQ"],["FUNQSGJVDJV"],["FUNDSTUXGMQ"],["FUNUQXKMTZZ"],["FUNKTZYTBNF"],["FUNLRVUCYBP"],["FUNEAJFXYCQ","tb-2024-engage"],["FUNNNQARWCP"],["FUNGMHBPLNP"],["FUNYZXFMDAB"],["FUNPCJVNEJR"],["FUNKQHVLHJK"],["FUNUYCMNAMV"],["FUNKDUKMKVF"],["FUNHGBCKFTZ"],["FUNLPWZAJEC"],["FUNATVGDWRY"],["FUNERCRSGPY"],["FUNXRXXJBBH"],["FUNJCVLNALE"],["FUNHTPMQDRS","fund-the-match-2024"],["FUNKTWXPELX","hill-day-2025"],["FUNFBCTWLAT"],["FUNKAPFVGNK"],["FUNHJFKCTBW"],["FUNAKTSRHLS"],["FUNSCWABEKJ"],["FUNWTXSMMSL"],["FUNADXGNQUR"],["FUNRVAMYXJU"],["FUNAMTJXKSN"],["FUNKEGRASAC"],["FUNURCMNPDH"],["FUNQMSACZCY"],["FUNGTCUWKJC"],["FUNLTFFYBCR"],["FUNVSJABUST"],["FUNCGCMQQNE"],["FUNLWXUNLET"],["FUNZHRFQRLY"],["FUNDFHQUYPR"],["FUNCRUPWXPG"],["FUNTJCAPQUM"],["FUNWWPHYPDN"],["FUNGJMPXYRF"]],"noAskPage":[]},"bothTypes":{"withAskPage":[["FUNHDJFGBAP"],["FUNNMDRGCLR"],["FUNTFEYQEAE"],["FUNCCDUKLNN","2023-EARLY-3X"],["FUNWLPZVFZL","triplematchoffer"],["FUNZAFAPCTX"],["FUNVEZCJSBE"],["FUNYGDYKXSJ"],["FUNNKFHPQDU"],["FUNVRCNCJFB"],["FUNKQGBYEFS"]],"noAskPage":[]}},elements:{"reminder":["XMSCKWCZ","XGLCZAET","XXGXFKFZ","XYTMHQPY"],"donationForm":["XQVTQUFC","XBVVYSRC","XCEQELUQ","XQHLCBDD","XMXDZPCU","XPUEMZFT","XDSPFMYQ","XZQXEKJW","XHJTSCCV","XJMDFUKG","XSGCSMBB","XHFQJFQG","XDXNBMZD","XNDPNWMZ","XTSLNHTH","XBSJMVCK","XDGYXHHH","XJJBFHZD","XHYWELQU","XTKPXFZF","XGLBXZRJ","XVPJCGML","XXJHUQJB","XKQGHJDE","XVPZPTGV","XUPPNWQC","XJHZRWFN","XLNHSZXX","XDZJFVLX","XFDWVBSX","XSLWRFBZ","XFUTBQDB","XQNHDMCK","XMKTSBJY","XHTGQPFQ","XSKNNWCZ","XCEKJBCH","XXZWQNYF","XRGCZKZJ","XNNZQVVA","XCSHRKAZ","XJJXNMFH","XXMSFTYJ","XXSGKKDC","XHPJCJNU","XHQXEVUX","XUBWLDDB","XSXSQPNU","XLVAZBNR","XFLWGMQM","XDTQZWZB","XDYLVCHB","XMMFDMBU","XHVMPWYL","XWKYRXZC","XSAALNWF","XCRBPKSM","XTKYBJEW","XTUJPNHY","XGZUFHMQ","XRXNAHQW","XNMCRZHB","XYRBNQJC","XQTXGVHG","XZSZSXDD","XLPBZKNG","XZSGVYPM","XXSJEQVA","XMBQXAWE","XHCMMJUD","XVUYXLRC","XMCKXUQR","XCCWFATH","XEVQTWBZ","XVDASTBJ","XDUGZXUR","XLZEEJJQ","XXKBLVXT","XCPRMCQM","XUBZPQWZ","XCYTKPJS","XQRHFLDC","XRFJTCKW","XNDLFZYG","XLYCYXCR","XFPMVCUB","XVWSGFWC","XTEQZJCC","XUGYXJTZ","XBBFGXXL","XNXRUQNR","XVYKWXQE","XVSCENZS","XSGPRNNH","XGMRDJSV","XGBHTFZJ","XBYQTXDM","XXEHJNSX","XFZBABSL","XTWXLRRK","XSKQUPRJ","XXUBSJTM","XKHSWEHA","XEUXNTYF","XGHPHGBE","XKZGXZGW","XYUTZUSK","XLZEEERF","XUVCHGBR","XHZHDBLM","XEBCEXRC","XASDANZT","XCKWAPXG","XFJGPFDV","XTESFTGM","XHHCMVPV","XSTTDGGB","XXCSTJYH","XERLWATU","XTCJUSPG","XGXFFMCZ","XTAKXNVF","XCJEYEHC","XXNBSVBU","XUKYFTVQ","XANEDJXX","XREUGMAT","XGUSBHQL","XZTJNNJX","XDHMBZHD","XDTXNLQH","XTGNVPVR","XUAZLNVF","XYTCEKDU","XSJLMVNJ","XQHBFSDY","XDWKRBUL","XLJEVYWM","XQANGLKC","XCCWPWXX","XEDUKLKE","XKQADMJR","XDRVNVBK","XFAPFMMC","XZHVAXQL","XAQXGCDU","XPJUGXBY","XBZCPCGR","XWGZSUAP","XQFSVCSG","XVUSCJRR","XALSVEES","XLDRZKYZ","XLQXDUFE","XQXBRZCA","XEPRRTVR","XZQUUMEH","XKBHAWTX","XKUVWTXY","XRBJPDML","XZHYNDEQ","XMAXXSLB","XUCWKNRT","XKHNKFMA","XUSLQPCB","XYVZMMRV","XAMDQJHZ","XBQEPDHC","XGHNMNJF","XCQMWXJH","XMCMBHAP","XRQWKYDX","XSEYKBPB","XFBYRBNT","XVBZCMVC","XMHLFMMW","XRZQSARN","XPUYELMZ","XKKMLEGY","XDEJEDQL","XNKKQDBH","XTWWFBSB","XHPZEDJR","XCNSNAKV","XLGNTUFN","XZNDHQXV","XTESLRCK","XFHFDRET","XPZEBQRL","XAYWJRJN","XDGHMEES","XXSTBDFZ","XYPZXEUN","XZSMRTNZ"],"donateButton":["XXNJJCJL","XFJTFEBX","XWREJSFP","XETRXJBS","XTBNFQZH","XUVPRTVZ","XKGSGEXK","XDFPJVHG","XNFRYEFQ","XWCCUGTB","XNWMUKPW","XNJBHGWF","XRBGSQVM","XYFFBLJK","XKBYXEPR","XGQGMGTM","XSFWUMLS","XLFSBHWG","XJVHCUCL","XPJBBSWF","XLDVRJGF","XYJNKZJQ","XZZDDDLS","XBKSHWYJ","XMCCCGRD","XWXVZLJN","XVQWUWXW","XXBEMDSZ","XBZRBYBH","XBBZHJQS","XXXWRRPC","XJYFTPVY","XDSVQYHW","XMRBYPBE","XZGUVTSN","XEYUNGEK","XUFQESZX","XMJGGKQH","XMQUTSCS","XNWGJMBK","XYRPYUYF","XBSDDNVH","XSGHYFSF","XLBVGREN","XTRYFPMN","XNQJQSSQ","XGYJPBDQ","XXHMZKGG","XBYTMNUL","XHKKYLES","XPGHXMZY","XZWQVJRZ","XAPJWCXC","XXUAJQRX","XXNTMHHP","XPWHDQAJ","XGEPDVDB","XTLGNUES","XEMPUECB","XUGVZBCB","XBTKRNUL","XUXUYZAB","XAEDJWAS","XZFJUQDA","XTJQGNAN","XQFEMSVY","XWKMBDNK","XSBRUFHR","XRRGHHCG","XCZRNGYC","XLJEERQM","XJEGYSQX","XDXHVTJT","XJWUXZMV","XCBEVLRS","XXWVDMCL","XRJALDLN","XSMRPZVL","XBFJUYSX","XUMEHQNF","XNJXQJPJ","XVDBDEMQ","XDVMLKFM","XRWUCAXJ","XZTSNWWB","XYCYWHJC","XHLLBCRA","XQPCUSQX","XZYKRCMZ","XWBUVDDD","XHARZZBT","XLZADWQR","XWLWPHAG","XMWYZDXG","XNZUYSZA","XGHSHFDH","XDKNXLBD","XLTHSRES","XHLNZGMQ","XZPPMCPY","XLMTHFZA","XSUCQDYV","XJXXDPHU","XAJDZDWA","XAQGQBNT","XSJEKSJU","XATBDAKY","XKZGVAMD","XLQEWQNE","XYKHPVVM","XHHSXDTQ","XRPHFNUE","XGZVSUAC","XTXCYNXY","XVXRZSZL","XNNFWZZT","XUKQHDCA","XASGEXME","XAHWBRBM","XPPUJJZL","XGKEJURK","XEHXSVUN","XAGCKEAF","XJFTENTX","XMFLJKTY","XXDTGKCA","XNJXJQNB","XXSSKRLU","XXVHBVVN","XSUWMQPB","XJPCHKUN","XLHQKZCQ","XDUALWLM","XEJTAERQ","XCNAWEWZ","XCCKXRVA","XQULGVPW","XYRHMNEB","XQMSZACG","XGVUZSWT","XWLBNQZT","XQRHKZPC","XJVEEYBB","XDXHZBCH","XABAZQNC","XYSASUBN","XSVDKFQZ","XTCLJTCZ","XVEQXYRE","XCDSEAYT","XBJLYZPU","XXDCMRRW","XLYDKYKE","XYBMHSVN","XBXHFGDR","XVFTQGFQ","XENZDJMB","XMKGZYDJ","XXYDFFJA","XKPXECWN","XJVSQNWK","XGHTYCUX","XZPJYDSL","XLKWMXZZ","XJZGJRBB","XCMXHJXT","XPYDKRUZ","XBNUCTXN","XSSWJGKU","XMSMRMJV","XJJQYWVN","XBCPVYRL","XVFHMUYL","XRPCTDTM","XQGQQAYM","XLTYAGKL","XLCSUQFG","XZWGYJWL","XCJVRKGS","XHFXEFNX","XKRGLQQX","XPKVFCNN","XTPTBMHH","XBPGZPVB","XJCGNKHU","XPYEMRGK","XLJQSTTS","XEWEMGSY","XJLTZZMM","XDBPBHRB","XSSMVCCE","XDKEBAUE"],"impactSlider":["XDGWHZSQ","XCHGQRHS","XYBRGQML","XWVRCFDC","XQNVRNFH","XWKXQPFK","XBQPSQTK","XMCTUGXW","XHCRMRHR","XKXJNGRA"],"imageCard":["XHTKCRSN","XWWPHFFV","XZQTLGSC"],"goalMeter":["XXCBMYGU","XCDHBYCL","XQTQXDBD","XSCJYUXH","XJVVBFHL","XYZFGWSC","XEBEQTTB","XSRECLTQ","XNSDFXAN","XKNGPQGB","XAWYXTDB","XQHBSRKJ","XEAZHLGG","XUZABWMJ"],"p2pButton":["XTVKCCXE","XNQFSGCH","XZYEPSVT","XVJHEZNM","XQWCJXXU"],"topFundraisers":["XZLPQKKM","XFFMPPVN"],"p2pLink":["XPDCJCHY","XFENMJFH","XVCFPBTG","XREVTRVU","XWTEQLWC","XSZZBCED","XNGCNHRN","XARHSFMQ","XRHVVAHZ","XKMNDGUX","XCCMFTBC","XKRQZDVE"],"socialProof":["XNHVLSSY","XVWUYDJB","XLFFBEKY"],"textLink":["XFREYYGA","XVQXUPSL","XWPNNUKQ","XVZADCHX","XKNZPGYU","XMUSTXEU"],"qrCode":["XZLMWKHW"],"simpleForm":["XDEFJZPN","XKNWYXMS","XXUHHVVH","XKSALYSE","XFJBHHSY","XZEFYUPH","XNDEAMDZ","XTDWFJEP","XAUMZEEN"],"lightbox":["XDGDBUFM","XCCLNUHV"],"stickyButton":["XBQMURAL","XLNZWEUY","XZJCPXKB","XZSPUGUV","XMWJVMMN"]},inactiveWidgets:[["FUNRPFRPXTU"],["FUNXGYWYQJN","StaffShirt"],["FUNBVKNVDFG"],["FUNLLPCKRYY"],["FUNQUKUCVGX"]]},companies:[{"key":"AJDEFYWC","parentKey":null,"name":"Partners In Health","country":"US","nonProfit":true,"defaultCurrency":"USD","allowCentsForCharges":false,"useParentPaymentAccounts":false,"disabledWidgets":{"redirectTo":"widget","url":"","widgetKey":"FUNUHBEMNJT"},"trackToMarketingPixels":{"trackTestData":true,"googleTagManagerContainers":["GTM-T7CMGH"]},"paypal":{"subscriptionsEnabled":true,"merchantId":"VZPWP5PHLLCK8"},"stripeAccount":"acct_172q71Hr2vwHWiAv","stripeCountry":"US","logoUuid":"06064b1e-ba03-4f36-ae37-b2e89b9861a7","localization":{"defaultLocale":"en-US","interfaceLocales":["en-US"],"matchBrowserLocale":false,"matchURL":false,"urlRules":[]},"cryptoProvider":null,"stockProvider":null},{"key":"AZKYTWXS","parentKey":"AJDEFYWC","name":"Socios En Salud","country":"US","nonProfit":false,"defaultCurrency":"USD","allowCentsForCharges":false,"useParentPaymentAccounts":false,"disabledWidgets":{"redirectTo":"nowhere","url":"","widgetKey":""},"trackToMarketingPixels":{"trackTestData":false,"googleTagManagerContainers":[]},"paypal":{"subscriptionsEnabled":false,"merchantId":"VZPWP5PHLLCK8"},"stripeAccount":"acct_172q71Hr2vwHWiAv","stripeCountry":"US","logoUuid":"969715d8-a749-4f33-9df6-259b354dcbf0","localization":{"defaultLocale":"es","interfaceLocales":["en-US","en-GB","es"],"matchBrowserLocale":false,"matchURL":false,"urlRules":[]},"cryptoProvider":null,"stockProvider":null},{"key":"AFQNLWKH","parentKey":"AJDEFYWC","name":"Partners In Health RoW","country":"US","nonProfit":false,"defaultCurrency":"USD","allowCentsForCharges":false,"useParentPaymentAccounts":false,"disabledWidgets":{"redirectTo":"nowhere","url":"","widgetKey":""},"trackToMarketingPixels":{"trackTestData":false,"googleTagManagerContainers":[]},"paypal":{"subscriptionsEnabled":false,"merchantId":"VZPWP5PHLLCK8"},"stripeAccount":"acct_172q71Hr2vwHWiAv","stripeCountry":"US","logoUuid":"55225f6e-189a-4dcc-9f7c-39055b49fc73","localization":{"defaultLocale":"en-US","interfaceLocales":["en-US"],"matchBrowserLocale":false,"matchURL":false,"urlRules":[]},"cryptoProvider":null,"stockProvider":null},{"key":"AXZVGLBQ","parentKey":"AJDEFYWC","name":"University of Global Health Equity","country":"US","nonProfit":true,"defaultCurrency":"USD","allowCentsForCharges":false,"useParentPaymentAccounts":false,"disabledWidgets":{"redirectTo":"nowhere","url":"","widgetKey":""},"trackToMarketingPixels":{"trackTestData":false,"googleTagManagerContainers":[]},"paypal":{"subscriptionsEnabled":false,"merchantId":"VZPWP5PHLLCK8"},"stripeAccount":"acct_172q71Hr2vwHWiAv","stripeCountry":"US","logoUuid":"05be63ce-461d-4085-84fd-1061b0cd112f","localization":{"defaultLocale":"en-US","interfaceLocales":["en-US"],"matchBrowserLocale":false,"matchURL":false,"urlRules":[]},"cryptoProvider":null,"stockProvider":null},{"key":"AGMKJQLA","parentKey":"AJDEFYWC","name":"Zanmi Lasante","country":"US","nonProfit":true,"defaultCurrency":"USD","allowCentsForCharges":false,"useParentPaymentAccounts":true,"disabledWidgets":{"redirectTo":"nowhere","url":"","widgetKey":""},"trackToMarketingPixels":{"trackTestData":false,"googleTagManagerContainers":[]},"paypal":{"subscriptionsEnabled":true,"merchantId":"VZPWP5PHLLCK8"},"stripeAccount":"acct_172q71Hr2vwHWiAv","stripeCountry":"US","logoUuid":null,"localization":{"defaultLocale":"en-US","interfaceLocales":["en-US"],"matchBrowserLocale":false,"matchURL":false,"urlRules":[]},"cryptoProvider":null,"stockProvider":null},{"key":"AEZWPAND","parentKey":"AJDEFYWC","name":"Community Outreach and Patient Empowerment Program","country":"US","nonProfit":true,"defaultCurrency":"USD","allowCentsForCharges":false,"useParentPaymentAccounts":true,"disabledWidgets":{"redirectTo":"nowhere","url":"","widgetKey":""},"trackToMarketingPixels":{"trackTestData":false,"googleTagManagerContainers":[]},"paypal":{"subscriptionsEnabled":true,"merchantId":"VZPWP5PHLLCK8"},"stripeAccount":"acct_172q71Hr2vwHWiAv","stripeCountry":"US","logoUuid":"2bb7b3dc-912e-495a-a6d7-fbfd97f31082","localization":{"defaultLocale":"en-US","interfaceLocales":["en-US"],"matchBrowserLocale":false,"matchURL":false,"urlRules":[]},"cryptoProvider":null,"stockProvider":null}],version:'241115-0954',meta:null}),i=n.get(14),o=n.get(12);i.fromDonorPortal&&(null===(t=window.FUN)||void 0===t?void 0:t.showDebugPanel)&&(o.showDebugPanel=window.FUN.showDebugPanel),window.FUN=o,window.FUN.init().then((()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"FundraiseUp.optimize.activate"}),di.log("initialized")})).catch((e=>{console.error(e)}))}()})()})();
