­
S12941 - IMB Photos ");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, R_766555_68_1_3_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1732561117269"]'); el.revertContentOp().remove();})("HEAD")}}, C_766555_68_1_3_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","body"); vwo_debug*/!(el=vwo_$("body")).find('[vwo-op-1732561116039=""]').length&&el.vwoElement({html:'\n
\n
\n \t

Will you help IMB missionaries share the love of Jesus today?

\n \t

\n \nPlease make a gift of any amount through the Lottie Moon Christmas Offering® by December 31 to help missionaries shine the light of the gospel in 2025.\n\n

\n
\n
\n \tYes, I’ll make a gift\n \n
\n
\n \n
',position:"append"});})("body")}}, R_766555_68_1_3_1:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1732561115996"]')).remove();})("body")}}, C_766555_68_1_3_2:{ fn:function(log,nonce=''){return (function(x) {})(".popup,.popup::backdrop,body[dialog-open=\"true\"],.popup h3,.popup .wrapper,.popup .wrapper > div,.flex-y,.flex-x,.popup .flex-x,.popup .btn-cta,.popup .btn-cta.btn-cta-no,.popup > button.btn-dismiss[data-action=\"dismiss\"],.popup > button.btn-dismiss")}}, R_766555_68_1_3_2:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; })(".popup,.popup::backdrop,body[dialog-open=\"true\"],.popup h3,.popup .wrapper,.popup .wrapper > div,.flex-y,.flex-x,.popup .flex-x,.popup .btn-cta,.popup .btn-cta.btn-cta-no,.popup > button.btn-dismiss[data-action=\"dismiss\"],.popup > button.btn-dismiss")}}, C_766555_87_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("content",".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)"); vwo_debug*/el=vwo_$(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)"),vwo_$(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)").each((function(){this.__vwoControlOuterHTML=this.__vwoControlOuterHTML||this.outerHTML,vwo_$(this).nonEmptyContents().eq(0).replaceWith2(document.createTextNode("Your gift goes directly to the mission field, freeing missionaries from fundraising burdens and allowing them to concentrate on building relationships with people who need Jesus. Your gift provides encouragement and strength to missionaries who are steadfast in shining the light of Christ in a lost world."))})),el=vwo_$(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)");})(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)")}}, R_766555_87_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","content",".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)"); vwo_debug*/(el=vwo_$(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)")).revertContentOp(),el=vwo_$(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)");})(".wp-bootstrap-blocks-row > div:nth-of-type(1) > p:nth-of-type(6)")}}, R_766555_88_1_3_0:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1732564619212"]'); el.revertContentOp().remove(); } catch(e) {console.error(e)} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1732564619216"]')).remove(); } catch(e) {console.error(e)} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_766555_88_1_3_0:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1732564619212').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)} try{; /*vwo_debug log("addElement","body"); vwo_debug*/; el=vwo_$("body") ; !el.find('[vwo-op-1732564619217=""]').length && el.vwoElement({"position":"append","html":"
\n \n
\n
\n
\n \n
\n \n

\n Will you help IMB missionaries share the love of Jesus today? Please make a gift of any amount through the Lottie Moon Christmas Offering® by December 31 to help missionaries shine the light of the gospel in 2025.\n

\n
\n
\n
\n
\n
\n
\n

One-time

\n

$25

\n \n
\n
\n
\n
\n

One-time

\n

$75

\n \n
\n
\n
\n
\n

One-time

\n

$250

\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
"});}catch(e) {console.error(e)} try{const SLIDEUP_DELAY_SECONDS = 2; const HREF = "https://www.imb.org/generosity/cye-2024/?utm_campaign=cye"; const HREF_SRC_VALUE = "cyestickybar2"; // ex: src=slideup const TOKEN_NAME = "NA__IMB-Slideup-Nov2024"; const isBeforeDate=(e,n=new Date)=>(e=typeof e!=typeof new Date?new Date(e):e)-(n=typeof n!=typeof new Date?new Date(n):n)>0; const isAfterDate=(...args)=>!isBeforeDate(...args); const isBetweenDates=(date1,date2)=>(isAfterDate(date1)&&isBeforeDate(date2)); const getCurrentDate = (d = new Date()) => d.toISOString().split('T')[0]; const useStorageApi = localStorage; const getToken = (t) => JSON.parse(useStorageApi.getItem(t)) || null; const setToken = (t, v) => useStorageApi.setItem(t, JSON.stringify(v)); const updateTokenProperty = (t, p, v) => { let state = getToken(t) || {}; state[p] = v; setToken(t, state); return (getToken(t) || {})[p] || undefined; }; // const onScrollDepth = (callback, depthPercent = 0.5, once = true) => { // if (depthPercent < 0 || depthPercent > 1) throw new Error("depthPercent must be a percent represented as a decimal from 0 to 1."); // const callbackIf = (e) => { // the provided callback needs to be wrapped in another function that checks the condition // let scrollTop = window.scrollY, // docHeight = document.body.offsetHeight, // winHeight = window.innerHeight, // scrollPercent = scrollTop / (docHeight - winHeight), // scrollPercentRounded = Math.round(scrollPercent * 100); // if (scrollPercent >= depthPercent) { // callback(e); // once && document.removeEventListener('scroll', callbackIf); // } // }; // return document.addEventListener('scroll', callbackIf); // }; function handleSlideupDonateButtonClick (e) { updateTokenProperty(TOKEN_NAME, "status", "converted"); // mark as converted; both links and buttons will do this if (e.target.tagName.toLowerCase() != 'a') { // buttons (not links) will need to generate a URL based on the buttons data attributes that are set const REDIRECT_URL = HREF; const value = parseFloat(e.target.getAttribute("data-value")); const frequency = parseInt(e.target.getAttribute("data-recurring")) === 1 ? "monthly" : "one-time"; const params = { "src": HREF_SRC_VALUE, "amount": value, "frequency": frequency, }; let paramString = Object.entries(params).reduce((str, [key, value]) => str + (str && '&') + [key, value].join('='), ''); let url = REDIRECT_URL + (REDIRECT_URL.includes('?') ? '&' : '?') + paramString; window.location.assign(url); } } function main (slideup) { const backdrop = slideup.previousElementSibling?.classList.contains('slideup-backdrop') ? slideup.previousElementSibling : document.querySelector('.slideup-backdrop'); const gridButtons = Array.from(document.querySelectorAll('[data-action="slideup-donate"]')); const showSlideup = (slideup) => { //if (slideup.classList.contains("hidden")) slideup.classList.remove("hidden"); //if (!slideup.classList.contains("show")) slideup.classList.add("show"); //!backdrop.classList.contains("active") && backdrop.classList.add("active"); updateTokenProperty(TOKEN_NAME, "status", "shown"); }; const hideSlideup = (slideup) => { //if (slideup.classList.contains("show")) slideup.classList.remove("show"); //if (!slideup.classList.contains("hide")) slideup.classList.add("hide"); //backdrop.classList.contains("active") && backdrop.classList.remove("active"); updateTokenProperty(TOKEN_NAME, "status", "dismissed"); updateTokenProperty(TOKEN_NAME, "lastDismissedDate", getCurrentDate()); slideup.dispatchEvent(new Event('resize')); }; const lastDismissedWithin7Days = () => { const state = getToken(TOKEN_NAME) || {}; if (state && state.hasOwnProperty("status") && state.status === "dismissed") { if (state.hasOwnProperty("lastDismissedDate")) { let deltaDays = ((new Date(getCurrentDate())) - (new Date(state.lastDismissedDate))) / (1000 * 60 * 60 * 24); return deltaDays < 7 ? true : false; } else { return false } } else { return false } }; slideup.querySelector('.dismiss-btn')?.addEventListener('click', (e) => hideSlideup(slideup)) backdrop.addEventListener('click', (e) => hideSlideup(slideup)); const otherLink = slideup.querySelector('.other-link'); const links = [ ...gridButtons ]; otherLink && links.push(otherLink); links.forEach((gridButtonOrLink) => { gridButtonOrLink?.addEventListener('click', handleSlideupDonateButtonClick); }); /*const INITIAL_STATE = { lastShownDate: getCurrentDate(), lastDismissedDate: null, status: "shown", }; let state = getToken(TOKEN_NAME) || {}; if ( !state && !state.hasOwnProperty("lastShownDate") ) { // first time; not seen yet console.warn("Not seen yet. Showing slideup."); setToken(TOKEN_NAME, INITIAL_STATE); state = getToken(TOKEN_NAME); } else if (false && state.status == "converted") { // if the user clicked a CTA link then don't show again return console.warn("Already converted. Not showing slideup."), slideup.style.setProperty("display", "none", "important"), null; } else if (false && state.status == "dismissed" && lastDismissedWithin7Days()) { // if already been dismissed AND was dismissed within the last 7 days, then don't show again return console.warn("Dismissed within last 7 days. Not showing slideup."), slideup.style.setProperty("display", "none", "important"), null; } // else if (state.status == "dismissed" && state.lastDismissedDate == getCurrentDate()) { // subsequent times; if already seen AND dismissed then don't show again // return console.warn("Already converted. Not showing slideup."), slideup.style.setProperty("display", "none", "important"), null; // } else { // subsequent times; already seen BUT NOT dismissed or converted (or dimissed date passed 7 days) console.warn("Seen but not dismissed or last dismissed more than 7 days ago. Showing slideup."); updateTokenProperty(TOKEN_NAME, "lastShownDate", getCurrentDate()); state = getToken(TOKEN_NAME); }*/ // setTimeout(() => { showSlideup(slideup); // }, (SLIDEUP_DELAY_SECONDS * 1000) + (SLIDEUP_DELAY_SECONDS * 50)); } (function(){ const asyncWaitForElement=async function(e,r=100,t=1e4){r=Number.isInteger(r)&&r>0&&r<=100?r:parseInt(r);let n="Array";if("NaN"==r)return console.error("Invalid refresh interval:",r);Array.isArray(e)||"string"!=typeof e||(n="string",e=[e]);let l=e=>document.querySelector(e),i=e=>e.every(e=>!!l(e));return new Promise((R,a)=>{let m=(e,r=null)=>(r&&clearInterval(r),R("Array"==n||e.length>1?e.map(e=>l(e)):l(e[0]))),o=n=>{console.error(`${n.name}: ${n.message}`);let l=()=>asyncWaitForElement(e,r=100,t=1e4);return a(n,l)};try{if(i(e))return m(e);let s=setInterval(()=>{if(i(e))return m(e,s)},1e3/r);setTimeout(()=>{try{if(!i(e)){clearInterval(s);let r=Error(`Failed to find matching elements within ${t}ms`);throw r.name="Timed Out",r}}catch(n){return o(n)}},t)}catch(u){return o(u)}})}; asyncWaitForElement([ "#site-header", "#imb-cye-slideup.stickybar" ]).then(([ header, stickybar ]) => { if (isBeforeDate(new Date("2024-12-31T23:59:59"))) { function handleStickybarResize (entries, observer = undefined) { const elementToOffset = document.getElementById("panel-content"); if (Array.isArray(entries)) { for (const entry of entries) { let stickybarHeight = entry.contentRect.height; if (!stickybarHeight || stickybarHeight <= 0 || window.getComputedStyle(stickybar)?.display == "none") { elementToOffset?.style.removeProperty("margin-top"); } else { elementToOffset?.style.setProperty("margin-top", `${stickybarHeight}px`); } } } else if (entries.hasOwnProperty("type") && entries.type == "resize") { const event = entries; const { target } = event; let stickybarHeight = target.getBoundingClientRect().height; if (!stickybarHeight || stickybarHeight <= 0 || window.getComputedStyle(stickybar)?.display == "none") { elementToOffset?.style.removeProperty("margin-top"); } else { elementToOffset?.style.setProperty("margin-top", `${stickybarHeight}px`); } } else { const target = entries; let stickybarHeight = target.getBoundingClientRect().height; if (!stickybarHeight || stickybarHeight <= 0 || window.getComputedStyle(stickybar)?.display == "none") { elementToOffset?.style.removeProperty("margin-top"); } else { elementToOffset?.style.setProperty("margin-top", `${stickybarHeight}px`); } } } const stickybarResizeObserver = new ResizeObserver(handleStickybarResize); stickybarResizeObserver.observe(stickybar); // header.insertAdjacentElement('afterbegin', stickybar); main(stickybar); handleStickybarResize(stickybar); } else { return console.warn("Invalid time. Never showing stickybar."), slideup.style.setProperty("display", "none", "important"), null; } }); // asyncWaitForElement("#imb-cye-slideup").then((slideup) => { // if (isBeforeDate(new Date("2024-12-31T23:59:59"))) { // main(slideup); // } else { // return console.warn("Invalid time. Never showing slideup."), slideup.style.setProperty("display", "none", "important"), null; // } // }); })(); }catch(e) {console.error(e)} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_766555_88_1_2_0:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1732564619206"]'); el.revertContentOp().remove(); } catch(e) {console.error(e)} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1732564619208"]')).remove(); } catch(e) {console.error(e)} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_766555_88_1_2_0:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1732564619206').length && vwo_$('head').append(_vwo_sel);}catch(e) {console.error(e)} try{; /*vwo_debug log("addElement","body"); vwo_debug*/; el=vwo_$("body") ; !el.find('[vwo-op-1732564619209=""]').length && el.vwoElement({"position":"append","html":"
\n
\n
\n
\n
\n

\n Will you help IMB missionaries share the love of Jesus today? Please make a gift of any amount through the Lottie Moon Christmas Offering® by December 31 to help missionaries shine the light of the gospel in 2025.\n

\n
\n
\n \n \n \n
\n
\n
\n
\n
"});}catch(e) {console.error(e)} try{const isBeforeDate=(e,n=new Date)=>(e=typeof e!=typeof new Date?new Date(e):e)-(n=typeof n!=typeof new Date?new Date(n):n)>0; const isAfterDate=(...args)=>!isBeforeDate(...args); const isBetweenDates=(date1,date2)=>(isAfterDate(date1)&&isBeforeDate(date2)); const getCurrentDate = (d = new Date()) => d.toISOString().split('T')[0]; const useStorageApi = localStorage; const getToken = (t) => JSON.parse(useStorageApi.getItem(t)) || null; const setToken = (t, v) => useStorageApi.setItem(t, JSON.stringify(v)); const updateTokenProperty = (t, p, v) => { let state = getToken(t) || {}; state[p] = v; setToken(t, state); return (getToken(t) || {})[p] || undefined; }; function main (stickybar) { } (function(){ const asyncWaitForElement=async function(e,r=100,t=1e4){r=Number.isInteger(r)&&r>0&&r<=100?r:parseInt(r);let n="Array";if("NaN"==r)return console.error("Invalid refresh interval:",r);Array.isArray(e)||"string"!=typeof e||(n="string",e=[e]);let l=e=>document.querySelector(e),i=e=>e.every(e=>!!l(e));return new Promise((R,a)=>{let m=(e,r=null)=>(r&&clearInterval(r),R("Array"==n||e.length>1?e.map(e=>l(e)):l(e[0]))),o=n=>{console.error(`${n.name}: ${n.message}`);let l=()=>asyncWaitForElement(e,r=100,t=1e4);return a(n,l)};try{if(i(e))return m(e);let s=setInterval(()=>{if(i(e))return m(e,s)},1e3/r);setTimeout(()=>{try{if(!i(e)){clearInterval(s);let r=Error(`Failed to find matching elements within ${t}ms`);throw r.name="Timed Out",r}}catch(n){return o(n)}},t)}catch(u){return o(u)}})}; asyncWaitForElement([ "#site-header", ".stickybar" ]).then(([ header, stickybar ]) => { if (isBeforeDate(new Date("2024-12-31T23:59:59"))) { function handleStickybarResize (entries, observer = undefined) { const elementToOffset = document.getElementById("panel-content"); if (Array.isArray(entries)) { for (const entry of entries) { let stickybarHeight = entry.contentRect.height; if (!stickybarHeight || stickybarHeight <= 0 || window.getComputedStyle(stickybar)?.display == "none") { elementToOffset?.style.removeProperty("margin-top"); } else { elementToOffset?.style.setProperty("margin-top", `${stickybarHeight}px`); } } } else if (entries.hasOwnProperty("type") && entries.type == "resize") { const event = entries; const { target } = event; let stickybarHeight = target.getBoundingClientRect().height; if (!stickybarHeight || stickybarHeight <= 0 || window.getComputedStyle(stickybar)?.display == "none") { elementToOffset?.style.removeProperty("margin-top"); } else { elementToOffset?.style.setProperty("margin-top", `${stickybarHeight}px`); } } else { const target = entries; let stickybarHeight = target.getBoundingClientRect().height; if (!stickybarHeight || stickybarHeight <= 0 || window.getComputedStyle(stickybar)?.display == "none") { elementToOffset?.style.removeProperty("margin-top"); } else { elementToOffset?.style.setProperty("margin-top", `${stickybarHeight}px`); } } } const stickybarResizeObserver = new ResizeObserver(handleStickybarResize); stickybarResizeObserver.observe(stickybar); // header.insertAdjacentElement('afterbegin', stickybar); main(stickybar); handleStickybarResize(stickybar); } else { return console.warn("Invalid time. Never showing stickybar."), slideup.style.setProperty("display", "none", "important"), null; } }); })(); }catch(e) {console.error(e)} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_766555_68_1_2_0:{ fn:function(log,nonce=''){return (function(x) {;var _vwo_sel=vwo_$("");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, R_766555_68_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1732561117261"]'); el.revertContentOp().remove();})("HEAD")}}, C_766555_68_1_2_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","body"); vwo_debug*/!(el=vwo_$("body")).find('[vwo-op-1732561116024=""]').length&&el.vwoElement({html:'\n
\n
\n \t

Will you help IMB missionaries share the love of Jesus today?

\n \t

\n \nPlease make a gift of any amount through the Lottie Moon Christmas Offering® by December 31 to help missionaries shine the light of the gospel in 2025.\n\n

\n
\n \n
\n \n
',position:"append"});})("body")}}},rules:[{"triggers":["2385586"],"tags":[{"metricId":287635,"id":"metric","data":{"type":"m","campaigns":[{"g":2,"c":68}]}},{"metricId":287635,"id":"metric","data":{"type":"m","campaigns":[{"g":2,"c":87}]}},{"metricId":287635,"id":"metric","data":{"type":"m","campaigns":[{"g":4,"c":79}]}},{"metricId":287635,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":88}]}},{"metricId":287635,"id":"metric","data":{"type":"m","campaigns":[{"g":4,"c":86}]}}]},{"triggers":["9544914"],"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.77"}]},{"triggers":["9971053"],"tags":[{"metricId":0,"id":"metric","data":{"type":"g","campaigns":[{"g":5,"c":68}]}}]},{"triggers":["2434492"],"tags":[{"metricId":287638,"id":"metric","data":{"type":"m","campaigns":[{"g":6,"c":68}]}},{"metricId":287638,"id":"metric","data":{"type":"m","campaigns":[{"g":3,"c":87}]}},{"metricId":287638,"id":"metric","data":{"type":"m","campaigns":[{"g":3,"c":79}]}},{"metricId":287638,"id":"metric","data":{"type":"m","campaigns":[{"g":3,"c":88}]}},{"metricId":287638,"id":"metric","data":{"type":"m","campaigns":[{"g":3,"c":86}]}}]},{"triggers":["2434495"],"tags":[{"metricId":287641,"id":"metric","data":{"type":"m","campaigns":[{"g":7,"c":68}]}},{"metricId":287641,"id":"metric","data":{"type":"m","campaigns":[{"g":4,"c":87}]}},{"metricId":287641,"id":"metric","data":{"type":"m","campaigns":[{"g":2,"c":79}]}},{"metricId":287641,"id":"metric","data":{"type":"m","campaigns":[{"g":4,"c":88}]}},{"metricId":287641,"id":"metric","data":{"type":"m","campaigns":[{"g":2,"c":86}]}}]},{"triggers":["9943939"],"tags":[{"priority":0,"id":"runCampaign","data":"campaigns.86"}]},{"triggers":["9545082"],"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.78"}]},{"triggers":["9971050"],"tags":[{"metricId":0,"id":"metric","data":{"type":"g","campaigns":[{"g":4,"c":68}]}}]},{"triggers":["10040257"],"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.88"}]},{"triggers":["2775037"],"tags":[{"metricId":287644,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":79}]}},{"metricId":287644,"id":"metric","data":{"type":"m","campaigns":[{"g":5,"c":86}]}}]},{"triggers":["9546714"],"tags":[{"priority":0,"id":"runCampaign","data":"campaigns.79"}]},{"triggers":["3190046"],"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.68"}]},{"triggers":["10051906"],"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.87"}]},{"triggers":["10040284"],"tags":[{"metricId":0,"id":"metric","data":{"type":"g","campaigns":[{"g":5,"c":88}]}}]},{"triggers":["2385589"],"tags":[{"metricId":287632,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":68}]}},{"metricId":287632,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":87}]}},{"metricId":287632,"id":"metric","data":{"type":"m","campaigns":[{"g":5,"c":79}]}},{"metricId":287632,"id":"metric","data":{"type":"m","campaigns":[{"g":2,"c":88}]}},{"metricId":287632,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":86}]}}]},{"triggers":["8"],"tags":[{"priority":3,"id":"prePostMutation"},{"id":"groupCampaigns","priority":2}]},{"triggers":["9"],"tags":[{"priority":2,"id":"visibilityService"}]},{"triggers":["2"],"tags":[{"id":"runTestCampaign"}]},{"triggers":["75"],"tags":[{"id":"urlChange"}]},{"triggers":["5"],"tags":[{"id":"checkEnvironment"}]}],pages:{"ec":[{"1308877":{"inc":["o",["url","urlReg","(?i).*"]]}},{"1761067":{"inc":["o",["url","urlReg","(?i)^https?\\:\\\/\\\/(w{3}\\.)?imb\\.org.*"],["url","urlReg","(?i)^https?\\:\\\/\\\/(w{3}\\.)?imb\\.org.*"]],"exc":["o",["url","urlReg","(?i)^https?\\:\\\/\\\/(w{3}\\.)?imb\\.org\\\/generosity.*"],["url","urlReg","(?i)^https?\\:\\\/\\\/(w{3}\\.)?imb\\.org\\\/generosity.*"]]}}]},pagesEval:{"ec":[1308877,1761067]}}})(); ;;var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}var pollInterval=100;var timeout=6e4;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();if(result||performance.now()-currentTime>=timeout){clearInterval(_interval)}}),pollInterval)}}; commonWrapper({valuesGetter:function(){return {"ga4s":0}},valuesSetter:function(data){var singleCall=data["ga4s"]||0;if(singleCall){window.sessionStorage.setItem("vwo-ga4-singlecall",true)}var ga4_device_id="";if(typeof window.VWO._.cookies!=="undefined"){ga4_device_id=window.VWO._.cookies.get("_ga")||""}if(ga4_device_id){window.vwo_ga4_uuid=ga4_device_id.split(".").slice(-2).join(".")}},verifyData:function(data){if(typeof window.VWO._.cookies!=="undefined"){return window.VWO._.cookies.get("_ga")||""}else{return false}}})(); var pushBasedCommonWrapper=function(argument){var firedCamp={};if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];var sendDebugLogs=function(expId,variationId,errorType,user_type){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:VWO._&&VWO._.cookies&&VWO._.cookies.get("_vwo_uuid"),user_type:user_type};if(errorType=="initIntegrationCallback"){errorPayload["log_type"]="initIntegrationCallback"}else if(errorType=="timeout"){errorPayload["timeout"]=true}if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:window.location.href,lineno:"",colno:"",source:JSON.stringify(errorPayload)})}}catch(e){var vwo_error=""}};const callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();var integrationName=argument["integrationName"]||"vwo";if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(debug){sendDebugLogs(expId,variationId,"initIntegrationCallback","")}if(singleCall&&repeated==="vS"||firedCamp[expId]){return}window.expList=window.expList||{};var expList=window.expList[integrationName]=window.expList[integrationName]||[];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){firedCamp[expId]=variationId;var pollInterval=100;var currentTime=0;var timeout=6e4;var user_type=_vwo_exp[expId].exec?"vwo-retry":"vwo-new";var interval=setInterval((function(){if(expList.indexOf(expId)!==-1){clearInterval(interval);return}currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId);if(debug&&toClearInterval){sendDebugLogs(expId,variationId,"",user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogs(expId,variationId,"timeout",user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName].push(expId)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}}; var surveyDataCommonWrapper=function(argument){if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){var values=[];for(var i=0;i=timeout;if(toClearInterval||isTimeout){clearInterval(interval)}}),pollInterval)}}window.VWO.push(["onSurveyShown",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyShown")}]);window.VWO.push(["onSurveyCompleted",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyCompleted")}]);window.VWO.push(["onSurveyAnswerSubmitted",function(data){commonSurveyCallback(data,argument.answerSubmitted,"surveySubmitted")}])}}; (function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);pushBasedCommonWrapper({integrationName:"GA4",getExperimentList:function(){return [79,86,68,88,87]},accountSettings:function(){var accountIntegrationSettings={"manualSetup":true,"setupVia":"gtm","dataVariable":"dataLayer"};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"manualSetup":true,"setupVia":"gtm","dataVariable":"dataLayer"};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtag";if(typeof window.gtag!=="undefined"&&ga4Setup=="gtag"){window.gtag("event","VWO",{vwo_campaign_name:window._vwo_exp[expId].name+":"+expId,vwo_variation_name:window._vwo_exp[expId].comb_n[variationId]+":"+variationId});window.gtag("event","experience_impression",{exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();pushBasedCommonWrapper({integrationName:"GA4-GTM",getExperimentList:function(){return [79,86,68,88,87]},accountSettings:function(){var accountIntegrationSettings={"manualSetup":true,"setupVia":"gtm","dataVariable":"dataLayer"};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"manualSetup":true,"setupVia":"gtm","dataVariable":"dataLayer"};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtm";var dataVariable=accountIntegrationSettings["dataVariable"]||"dataLayer";if(typeof window[dataVariable]!=="undefined"&&ga4Setup=="gtm"){window[dataVariable].push({event:"vwo-data-push-ga4",vwo_exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})(); ;})();(function(){window.VWO=window.VWO||[];var pollInterval=100;var _vis_data={};var intervalObj={};var analyticsTimerObj={};var experimentListObj={};window.VWO.push(["onVariationApplied",function(data){if(!data){return}var expId=data[1],variationId=data[2];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(window._vwo_exp[expId].type)>-1){}}])})();; ;var vD=VWO.data||{};VWO.data={content:{"fns":{"list":{"vn":1,"args":{"1":{}}}}},as:"r6.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"noSS":false,"pc":{"t":0,"a":5.86},"ts":1734157305,"url":{},"rp":7}};for(var k in vD){VWO.data[k]=vD[k]};;var gcpfb=function(a,loadFunc,status,err,success){if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); _vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status}); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb;;var d={cookie:document.cookie,URL:document.URL,referrer:document.referrer};var w={VWO:{_:{}},location:{href:window.location.href,search:window.location.search},_vwoCc:window._vwoCc};;window._vwo_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window._VWO=window._VWO||{};window._VWO.fSeg={};window._VWO.dcdnUrl="/dcdn/settings.js";window.VWO.sTs=1734157100;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-402c178caa1fb9ba17c3afcde3ae9f4bbr.js";var loadWorker=function(url){_vwo_code.load(url,{dSC: true, onloadCb: function(xhr,a){window._vwo_wt_l=true;if(xhr.status===200 ||xhr.status===304){var code="var window="+JSON.stringify(w)+",document="+JSON.stringify(d)+";window.document=document;"+xhr.responseText;var blob=new Blob([code||"throw new Error('code not found!');"],{type:"application/javascript"}),url=URL.createObjectURL(blob);window.mainThread={webWorker:new Worker(url)};window.vwoChannelFW=new MessageChannel();window.vwoChannelToW=new MessageChannel();window.mainThread.webWorker.postMessage({vwoChannelToW:vwoChannelToW.port1,vwoChannelFW:vwoChannelFW.port2},[vwoChannelToW.port1, vwoChannelFW.port2]);if(!window._vwo_mt_f)return window._vwo_wt_f=true;_vwo_code.addScript({text:window._vwo_mt_f});delete window._vwo_mt_f}else{if(gcpfb(a,loadWorker,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a)}}, onerrorCb: function(a){if(gcpfb(a,loadWorker)){return;}window._vwo_wt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadWorker("https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker-fbd260c338144b688ce802fceae7a1f6br.js");;var _vis_opt_file;var _vis_opt_lib;if(window.VWO._.allSettings.dataStore.previewExtraSettings!=undefined&&window.VWO._.allSettings.dataStore.previewExtraSettings.isSurveyPreviewMode){var surveyHash=window.VWO._.allSettings.dataStore.plugins.LIBINFO.SURVEY.HASH;var param1="evad.js?va=";var param2="&d=debugger_new";var param3="&sp=1&sh="+surveyHash;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?param1+"vanj"+param2:param1+"va_gq"+param2:param1+"edrv/va_gq-dc9c24d224beeaf54ba031c00989b41cbr.js"+param2;_vis_opt_file=_vis_opt_file+param3;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/"+_vis_opt_file}else if(window.VWO._.allSettings.dataStore.mode!=undefined&&window.VWO._.allSettings.dataStore.mode=="PREVIEW"){var path1="evad.js?va=";var path2="&d=debugger_new&h=-54d49624e6936f15815cbdf1a636d535";_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?path1+"vanj"+path2:path1+"va_gq"+path2:path1+"edrv/va_gq-dc9c24d224beeaf54ba031c00989b41cbr.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/"+_vis_opt_file}else{_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?"edrv/vanj-d56773b3f8eefc3f8ac28f99b0290d5ebr.js":"edrv/va_gq-dc9c24d224beeaf54ba031c00989b41cbr.js":"edrv/va_gq-dc9c24d224beeaf54ba031c00989b41cbr.js"}window._vwo_library_timer=setTimeout((function(){vwoCode.removeLoaderAndOverlay&&vwoCode.removeLoaderAndOverlay();vwoCode.finish()}),vwoCode.library_tolerance&&typeof vwoCode.library_tolerance()!=="undefined"?vwoCode.library_tolerance():2500),_vis_opt_lib=typeof _vis_opt_lib=="undefined"?window._vwo_cdn+_vis_opt_file:_vis_opt_lib;var loadLib=function(url){_vwo_code.load(url, {dSC: true, onloadCb:function(xhr,a){window._vwo_mt_l=true;if(xhr.status===200 || xhr.status===304){if(!window._vwo_wt_f)return window._vwo_mt_f=xhr.responseText;_vwo_code.addScript({text:xhr.responseText});delete window._vwo_wt_f;}else{if(gcpfb(a,loadLib,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a);}}, onerrorCb: function(a){if(gcpfb(a,loadLib)){return;}window._vwo_mt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadLib(_vis_opt_lib);VWO.load_co=function(u,opts){return window._vwo_code.load(u,opts);};;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();

S12941