(function(){var __webpack_modules__={77162:function(e,t,n){e.exports=n(25047)},57647:function(e){
/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return k}});var r=n(279),i=n.n(r),a=n(370),o=n.n(a),s=n(817),u=n.n(s);function l(e){try{return document.execCommand(e)}catch(e){return!1}}var f=function(e){var t=u()(e);return l("cut"),t},c=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=u()(n);return l("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=c(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=c(e.value,t):(n=u()(e),l("copy")),n};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,a=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==h(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return a?d(a,{container:r}):i?"cut"===n?f(i):d(i,{container:r}):void 0};function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e,t){for(var n=0;n p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),y-=h)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==y){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),F=0;F0&&(f=!1),f){var c=createTag("style");c.setAttribute("f-forigin",r[n].fOrigin),c.setAttribute("f-origin",r[n].origin),c.setAttribute("f-family",r[n].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(c)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(u=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;l Copy previousd){if(l.y=h[h.length-1].t-this.offsetTime)r=h[h.length-1].s?h[h.length-1].s[0]:h[h.length-2].e[0],a=!0;else{for(var p,m,g,_=d,F=h.length-1,b=!0;b&&(p=h[_],!((m=h[_+1]).t-this.offsetTime>e));)_=0;i-=1)"tr"===t[i].ty?(a=n[i].transform,this.renderShapeTransform(e,a)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],n[i]):"fl"===t[i].ty?this.renderFill(t[i],n[i],a):"st"===t[i].ty?this.renderStroke(t[i],n[i],a):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],n[i],a):"gr"===t[i].ty?this.renderShape(a,t[i].it,n[i].it):t[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,i,a=e.trNodes,o=t.paths,s=o._length;a.length=0;var u=e.transforms.finalTransform;for(i=0;i=1?c=.99:c<=-1&&(c=-.99);var d=l*c,h=Math.cos(f+t.a.v)*d+s[0],p=Math.sin(f+t.a.v)*d+s[1];r=o.createRadialGradient(h,p,0,s[0],s[1],l)}var m=e.g.p,g=t.g.c,_=1;for(a=0;an&&"meet"===a||r
Undo
',g=le(),(_=oe("button")).innerHTML=' \nRedo
',F=le(),(b=oe("button")).innerHTML=' \nClear
',y=le(),(v=oe("button")).innerHTML='Done
',k=le(),E=oe("canvas"),D=le(),C=oe("div"),T=oe("div");for(var x=0;xDrawing
',G=le(),(V=oe("button")).innerHTML='GIF
Over 20 DAFs supported including...
\nSelect a payment method
',n=le(),wt(r.$$.fragment),he(t,"class","w-full mt-8")},m:function(e,a){re(e,t,a),re(e,n,a),kt(r,e,a),i=!0},p:function(e,t){var n={};1&t&&(n.campaign=e[0]),4096&t&&(n.paymentCallback=e[12]),2048&t&&(n.stripeDigitalWalletCallback=e[11]),r.$set(n)},i:function(e){i||(dt(r.$$.fragment,e),i=!0)},o:function(e){ht(r.$$.fragment,e),i=!1},d:function(i){i&&ie(t),i&&ie(n),e[23](null),Et(r,i)}}}function ew(e){var t,n,r=e[1]&&Wv(e);return{c:function(){t=oe("div"),r&&r.c()},m:function(e,i){re(e,t,i),r&&r.m(t,null),n=!0},p:function(e,n){var i=Hv(n,1)[0];e[1]?r?(r.p(e,i),2&i&&dt(r,1)):((r=Wv(e)).c(),dt(r,1),r.m(t,null)):r&&(ft(),ht(r,1,1,(function(){r=null})),ct())},i:function(e){n||(dt(r),n=!0)},o:function(e){ht(r),n=!1},d:function(e){e&&ie(t),r&&r.d()}}}function tw(e,t,n){var r,i,a,o,s;O(e,$t,(function(e){return n(26,o=e)})),O(e,Nt,(function(e){return n(13,s=e)}));var u,l,f,c,d,h,p,m,g=__webpack_require__(18085).DateTime,_=t.campaign,F=0,b=0,y=0,v=!1,w=_.configurations.pricing.fees_enabled;function k(){if(u){n(6,f=i?o.tip:0),n(7,F=0),a&&o.cover_fees&&(n(7,F=u.donation.fee),c&&"ach"==c&&u.donation.fee_ach&&n(7,F=u.donation.fee_ach)),y=parseFloat(u.donation.total).toFixed(2),b=(parseFloat(u.donation.total)+parseFloat(F)+parseFloat(f)).toFixed(2);var e=w&&u.donation.fee_ach_save?u.donation.fee_ach_save:0;Nt.update((function(t){return zv(zv({},t),{},{subtotal:y,total:b,save_ach:e})}))}}return $t.subscribe((function(e){k()})),Nt.subscribe((function(e){e.method!=c&&(n(2,c=e.method),k())})),e.$$set=function(e){"campaign"in e&&n(0,_=e.campaign)},e.$$.update=function(){2&e.$$.dirty&&n(20,r=u&&u.donation.frontend.tips),1048580&e.$$.dirty&&n(4,i=r&&!(c&&("check"==c||"cash"==c||"donor_advised_fund"==c))),4&e.$$.dirty&&n(3,a=w&&!(c&&("check"==c||"cash"==c||"donor_advised_fund"==c))),24&e.$$.dirty&&(!a&&!i&&a&&i||k())},[_,u,c,a,i,l,f,F,d,v,h,p,m,s,g,function(e){n(1,u=e),k(),l&&u.donation.frontend.tips&&l.resetTip(u.donation.frontend.tips),Nt.update((function(e){return zv(zv({},e),{},{frequency:u.donation.frequency||"once"})}))},function(){return("paypal"===c||"donor_advised_fund"===c||"venmo"===c||"ach"===c)&&h.popMethod(c)},function(e){n(8,d=e)},function(e){n(11,p=e)},function(e){n(12,m=e)},r,function(e){Ue[e?"unshift":"push"]((function(){n(5,l=e)}))},function(e){n(9,v=e)},function(e){Ue[e?"unshift":"push"]((function(){n(10,h=e)}))}]}var nw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mv(e,t)}(a,e);var t,n,r,i=Rv(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Dt(Lv(t=i.call(this)),e,tw,ew,C,{campaign:0,setCheckoutData:15,shouldAutoPop:16,setIPQData:17,setStripeDigitalWalletFormCallback:18,setPaymentCallback:19}),t}return t=a,(n=[{key:"setCheckoutData",get:function(){return this.$$.ctx[15]}},{key:"shouldAutoPop",get:function(){return this.$$.ctx[16]}},{key:"setIPQData",get:function(){return this.$$.ctx[17]}},{key:"setStripeDigitalWalletFormCallback",get:function(){return this.$$.ctx[18]}},{key:"setPaymentCallback",get:function(){return this.$$.ctx[19]}}])&&Iv(t.prototype,n),r&&Iv(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(Ct),rw=nw,iw=__webpack_require__(12039),aw=__webpack_require__.n(iw),ow=__webpack_require__(57647),sw=__webpack_require__.n(ow);function uw(e){return uw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uw(e)}function lw(e,t){for(var n=0;nBy creating an account, you agree to the\n Terms of Service \n and Privacy Policy.
',he(t,"slot","after-button")},m:function(e,n){re(e,t,n)},p:b,d:function(e){e&&ie(t)}}}function LE(e){var t,n,r;return n=new $k({props:{method:"POST",action:"/register",buttonText:"Sign up",onSuccess:e[6],$$slots:{"after-button":[qE],default:[RE]},$$scope:{ctx:e}}}),{c:function(){t=oe("div"),wt(n.$$.fragment),he(t,"class","w-full text-left")},m:function(e,i){re(e,t,i),kt(n,t,null),r=!0},p:function(e,t){var r=OE(t,1)[0],i={};8255&r&&(i.$$scope={dirty:r,ctx:e}),n.$set(i)},i:function(e){r||(dt(n.$$.fragment,e),r=!0)},o:function(e){ht(n.$$.fragment,e),r=!1},d:function(e){e&&ie(t),Et(n)}}}function $E(e,t,n){var r,i,a=Ne(),o=t.hideProfilePicture,s=void 0!==o&&o,u=t.hidePhone,l=void 0!==u&&u,f=t.hideNewsletter,c=void 0!==f&&f,d=t.warnOnName,h=!1;return e.$$set=function(e){"hideProfilePicture"in e&&n(0,s=e.hideProfilePicture),"hidePhone"in e&&n(1,l=e.hidePhone),"hideNewsletter"in e&&n(2,c=e.hideNewsletter),"warnOnName"in e&&n(9,d=e.warnOnName)},[s,l,c,r,i,h,function(e){a("signedup",{user:e.user})},function(){n(5,h=!1)},function(){n(5,h=!1),d&&r&&i&&d.toLowerCase().includes(r.toLowerCase())&&d.toLowerCase().includes(i.toLowerCase())&&n(5,h=!0)},d,function(e){n(3,r=e)},function(e){n(4,i=e)}]}var NE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DE(e,t)}(a,e);var t,n,r,i=CE(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Dt(TE(t=i.call(this)),e,$E,LE,C,{hideProfilePicture:0,hidePhone:1,hideNewsletter:2,warnOnName:9}),t}return t=a,n&&xE(t.prototype,n),r&&xE(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(Ct),zE=NE;function GE(e){return GE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GE(e)}function VE(e,t){for(var n=0;nWill you convert your one-time donation into a monthly gift?
',u=le(),l=oe("input"),f=le(),c=oe("input"),d=le(),h=oe("div"),p=oe("button"),m=ue("Donate "),g=ue(C),_=ue("/month"),F=le(),y=oe("button"),v=ue("Keep my "),w=ue(T),k=ue(" one-time gift"),he(r,"alt","Gift Box"),S(r.src,"https://givebuttercdn.com/assets/graphics/upsell-arrows.svg")||he(r,"src","https://givebuttercdn.com/assets/graphics/upsell-arrows.svg"),he(r,"class","absolute m-auto left-0 right-0"),he(a,"class","m-auto absolute m-auto mt-12 left-0 right-0"),we(a,"width","140px"),we(a,"height","140px"),he(n,"class","bg w-full h-[200px] bg-cover bg-no-repeat"),we(n,"background-image","url('https://givebuttercdn.com/assets/graphics/upsell-gradient.png')"),he(s,"class","m-auto max-w-[320px] mt-2"),he(l,"type","hidden"),he(l,"name","upsell_accepted"),l.value=e[0],he(c,"type","hidden"),he(c,"name","upsell_name"),c.value=CC,he(p,"class","bg-gbtheme-500 hover:bg-gbtheme-550 transition rounded-lg px-4 py-4 text-white font-semibold text-center w-full shadow-lg"),he(y,"class","border border-gray-400 rounded-lg px-4 py-2 font-medium text-center transition mt-4 w-full bg-white hover:bg-gray-100"),he(h,"class","mt-6")},m:function(b,x){re(b,t,x),Q(t,n),Q(n,r),Q(n,i),Q(n,a),e[7](a),Q(t,o),Q(t,s),Q(t,u),Q(t,l),Q(t,f),Q(t,c),Q(t,d),Q(t,h),Q(h,p),Q(p,m),Q(p,g),Q(p,_),Q(h,F),Q(h,y),Q(y,v),Q(y,w),Q(y,k),E||(D=[ce(p,"click",e[4]),ce(y,"click",e[5])],E=!0)},p:function(e,t){var n=EC(t,1)[0];1&n&&(l.value=e[0]),2&n&&C!==(C=gC(e[1])+"")&&ye(g,C),8&n&&T!==(T=gC(e[3])+"")&&ye(w,T)},i:b,o:b,d:function(n){n&&ie(t),e[7](null),E=!1,x(D)}}}var CC="convert_to_plan";function SC(e,t,n){var r,i,a,o=t.session,s=0;return qe((function(){aw().loadAnimation({container:a,renderer:"svg",loop:!0,autoplay:!0,path:"/assets/animations/giftbox.json"})})),e.$$set=function(e){"session"in e&&n(6,o=e.session)},e.$$.update=function(){var t,a,s,u,l,f,c,d,h,p,m,g,_,F,b;64&e.$$.dirty&&n(1,i=null===(t=o)||void 0===t||null===(a=t.data)||void 0===a||null===(s=a.upsells)||void 0===s||null===(u=s.convert_to_plan)||void 0===u?void 0:u.amount);64&e.$$.dirty&&n(3,(l=o.data,b=0,b=(null===(f=l.upsells)||void 0===f||null===(c=f.convert_to_plan)||void 0===c?void 0:c.original_amount)||(null===(d=l.donation)||void 0===d?void 0:d.donation),null!==(h=l.upsells)&&void 0!==h&&null!==(p=h.convert_to_plan)&&void 0!==p&&p.original_amount&&(null===(m=l.upsells)||void 0===m||null===(g=m.convert_to_plan)||void 0===g?void 0:g.amount)!=(null===(_=l.donation)||void 0===_?void 0:_.donation)&&(b=null===(F=l.donation)||void 0===F?void 0:F.donation),r=b=b||0))},[s,i,a,r,function(){n(0,s=1)},function(){n(0,s=0)},o,function(e){Ue[e?"unshift":"push"]((function(){n(2,a=e)}))}]}var TC=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bC(e,t)}(a,e);var t,n,r,i=yC(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Dt(wC(t=i.call(this)),e,SC,DC,C,{session:6}),t}return t=a,n&&FC(t.prototype,n),r&&FC(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(Ct),PC=TC;function OC(e){return OC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OC(e)}function AC(e,t){for(var n=0;n