// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3.0 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=97)}({1:function(e,t,n){"use strict";function r(e){return(r="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})(e)}function o(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function u(e){o(a,r,i,u,s,"next",e)}function s(e){o(a,r,i,u,s,"throw",e)}u(void 0)}))}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return A})),n.d(t,"e",(function(){return k})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return _})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"k",(function(){return i})),n.d(t,"l",(function(){return j})),n.d(t,"m",(function(){return b})),n.d(t,"n",(function(){return w})),n.d(t,"o",(function(){return d}))},11:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return r}));var r,o=n(1),i=function e(t){Object(o.b)(this,e),this.streetAddress=null==t?void 0:t.streetAddress,this.extendedAddress=null==t?void 0:t.extendedAddress,this.locality=null==t?void 0:t.locality,this.region=null==t?void 0:t.region,this.postalCode=null==t?void 0:t.postalCode,this.countryCodeAlpha2=null==t?void 0:t.countryCodeAlpha2},a=function e(t){Object(o.b)(this,e),this.email=null==t?void 0:t.email,this.firstName=null==t?void 0:t.firstName,this.lastName=null==t?void 0:t.lastName},u=function e(t){Object(o.b)(this,e),this.customer=t.customer,this.billing=t.billing};!function(e){e.CreditCard="Credit Card",e.PayPal="PayPal",e.GooglePay="Google Pay",e.Venmo="Venmo",e.ApplePay="Apple Pay"}(r||(r={}));var s,c=function(){function e(t){Object(o.b)(this,e),this.donationType=t.donationType,this.amount=t.amount,this.coverFees=t.coverFees}return Object(o.c)(e,[{key:"feeAmountCovered",get:function(){return this.coverFees?this.fee:0}},{key:"fee",get:function(){return e.calculateFeeAmount(this.amount)}},{key:"total",get:function(){return e.calculateTotal(this.amount,this.coverFees)}}],[{key:"calculateTotal",value:function(e,t){var n=e+(t?this.calculateFeeAmount(e):0);return isNaN(n)?0:this.roundAmount(n)}},{key:"calculateFeeAmount",value:function(e){var t=.022*e+.3;return isNaN(t)?0:this.roundAmount(t)}},{key:"roundAmount",value:function(e){return Math.round(100*e)/100}}]),e}();!function(e){e.OneTime="one-time",e.Monthly="monthly",e.Upsell="up_sell"}(s||(s={}));var l=function e(t){Object(o.b)(this,e),this.logged_in_user=null==t?void 0:t.logged_in_user,this.referrer=null==t?void 0:t.referrer,this.fee_amount_covered=null==t?void 0:t.fee_amount_covered,this.origin=null==t?void 0:t.origin},d=function e(t){Object(o.b)(this,e),this.customFields=new l,this.paymentProvider=t.paymentProvider,this.paymentMethodNonce=t.paymentMethodNonce,this.recaptchaToken=t.recaptchaToken,this.customerId=t.customerId,this.deviceData=t.deviceData,this.upsellOnetimeTransactionId=t.upsellOnetimeTransactionId,this.bin=t.bin,this.binName=t.binName,this.amount=t.amount,this.donationType=t.donationType,this.customer=t.customer,this.billing=t.billing,t.customFields&&(this.customFields=t.customFields)},f=function e(t){Object(o.b)(this,e),this.id=t.id},h=function e(t){Object(o.b)(this,e),this.paymentProvider=t.paymentProvider,this.paymentMethodNonce=t.paymentMethodNonce,this.amount=t.amount,this.donationType=t.donationType,this.transaction_id=t.transaction_id,this.customer_id=t.customer_id,this.customer=new a(t.customer),this.billing=new i(t.billing),t.subscription&&(this.subscription=new f(t.subscription))},p=function e(t){Object(o.b)(this,e),this.code=t.code,this.message=t.message},v=function e(t){Object(o.b)(this,e),this.message=t.message;var n=t.errors,r=void 0===n?[]:n;this.errors=r.map((function(e){return new p(e)}))},m=function e(t){Object(o.b)(this,e),this.success=t.success,this.success?this.value=new h(t.value):this.value=new v(t.value)}},16:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&e.split("&").forEach((function(e){var n=r(e.split("="),2),o=n[0],i=n[1];t[o]=decodeURIComponent(i)})),t}},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="localhost"===location.hostname||"www-"===location.host.substr(0,4)||"cat-"===location.host.substr(0,4)||"review-"===location.host.substr(0,7)||"webdev-"===location.host.substr(0,7)||"ia-petabox-"===location.host.substr(0,11)?console.log.bind(console):function(){}},20:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return g}));var r=n(1),o=n(4); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ function i(e,t){for(var n=e.element.content,r=e.parts,o=document.createTreeWalker(n,133,null,!1),i=u(r),a=r[i],s=-1,c=0,l=[],d=null;o.nextNode();){s++;var f=o.currentNode;for(f.previousSibling===d&&(d=null),t.has(f)&&(l.push(f),null===d&&(d=f)),null!==d&&c++;void 0!==a&&a.index===s;)a.index=null!==d?-1:a.index-c,a=r[i=u(r,i)]}l.forEach((function(e){return e.parentNode.removeChild(e)}))}n.d(t,"d",(function(){return o.h}));var a=function(e){for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,133,null,!1);n.nextNode();)t++;return t},u=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=t+1;n2&&void 0!==arguments[2]?arguments[2]:v,r=this.constructor,o=r._attributeNameForProperty(e,n);if(void 0!==o){var i=r._propertyValueToAttribute(t,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,o),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(e,t){var n=!0;if(void 0!==e){var r=this.constructor,o=r.getPropertyOptions(e);r._valueHasChanged(this[e],t,o.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==o.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,o))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(e,t){return this._requestUpdate(e,t),this.updateComplete}},{key:"_enqueueUpdate",value:(t=Object(r.k)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._updateState=4|this._updateState,e.prev=1,e.next=4,this._updatePromise;case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:if(null==(t=this.performUpdate())){e.next=12;break}return e.next=12,t;case 12:return e.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(){return t.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(e,n){return t._propertyToAttribute(n,t[n],e)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((function(t,n){return e._classProperties.set(n,t)}))}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===Object(r.a)(e)?Symbol():"__".concat(e),o=this.getPropertyDescriptor(e,n,t);void 0!==o&&Object.defineProperty(this.prototype,e,o)}}},{key:"getPropertyDescriptor",value:function(e,t,n){return{get:function(){return this[t]},set:function(n){var r=this[e];this[t]=n,this._requestUpdate(e,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(e){return this._classProperties&&this._classProperties.get(e)||v}},{key:"finalize",value:function(){var e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t,n=this.properties,o=[].concat(Object(r.e)(Object.getOwnPropertyNames(n)),Object(r.e)("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])),i=Object(r.d)(o);try{for(i.s();!(t=i.n()).done;){var a=t.value;this.createProperty(a,n[a])}}catch(e){i.e(e)}finally{i.f()}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;return n(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||h,o="function"==typeof r?r:r.fromAttribute;return o?o(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||h.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach((function(n,r){var o=e._attributeNameForProperty(r,n);void 0!==o&&(e._attributeToPropertyMap.set(o,r),t.push(o))})),t}}]),o}(Object(r.j)(HTMLElement));m.finalized=!0; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ var y=function(e){return function(t){return"function"==typeof t?function(e,t){return window.customElements.define(e,t),t}(e,t):function(e,t){return{kind:t.kind,elements:t.elements,finisher:function(t){window.customElements.define(e,t)}}}(e,t)}};function b(e){return function(t,n){return void 0!==n?function(e,t,n){t.constructor.createProperty(n,e)}(e,t,n):function(e,t){return"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher:function(n){n.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher:function(n){n.createProperty(t.key,e)}}}(e,t)}}function g(e){return function(t,n){var r={get:function(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==n?_(r,t,n):O(r,t)}}var _=function(e,t,n){Object.defineProperty(t,n,e)},O=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}}; /** @license Copyright (c) 2019 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var j="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,w=Symbol(),k=function(){function e(t,n){if(Object(r.b)(this,e),n!==w)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return Object(r.c)(e,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(j?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),e}(),S=function(e){if(e instanceof k)return e.cssText;if("number"==typeof e)return e;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(e,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},C=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,o=e.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),s=u(o),c=0,l=-1;i.nextNode();){l++;var d=i.currentNode;for(d===n&&(c=a(t),n.parentNode.insertBefore(t,n));-1!==s&&o[s].index===l;){if(c>0){for(;-1!==s;)o[s].index+=c,s=u(o,s);return}s=u(o,s)}}else r.appendChild(t)}(n,h,m.firstChild):m.insertBefore(h,m.firstChild),window.ShadyCSS.prepareTemplateStyles(r,e);var y=m.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)t.insertBefore(y.cloneNode(!0),t.firstChild);else if(n){m.insertBefore(h,m.firstChild);var b=new Set;b.add(h),i(n,b)}}else window.ShadyCSS.prepareTemplateStyles(r,e)}(h,y,b.value instanceof o.b?b.value.template:void 0),Object(o.n)(t,t.firstChild),t.appendChild(y),o.l.set(t,b)}!p&&v&&window.ShadyCSS.styleElement(t.host)}},35:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;function r(e,t){return e(t={exports:{}},t.exports),t.exports}}).call(this,n(20))},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,o=n(1),i=n(7),a=n(4),u=n(3),s=n(35),c=n(11),l=function(){function e(){Object(o.b)(this,e)}return Object(o.c)(e,[{key:"keydown",value:function(e){var t,n,r=e.key;if(!e.metaKey){switch(r){case"Tab":case"Delete":case"Backspace":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":return}var o=e.target,i=o.value,a=i.slice(0,null!==(t=o.selectionStart)&&void 0!==t?t:0),u=i.slice(null!==(n=o.selectionEnd)&&void 0!==n?n:0);"".concat(a).concat(r).concat(u).match(/^[0-9]+(\.[0-9]{0,2})?$/g)||e.preventDefault()}}}]),e}(),d=Object(s.a)((function(e,t){e.exports=function(){function e(i,a){if(!(this instanceof e))return new e(i,a);a=Object.assign({},n,a);var u=Math.pow(10,a.precision);this.intValue=i=t(i,a),this.value=i/u,a.increment=a.increment||1/u,a.groups=a.useVedic?o:r,this.s=a,this.p=u}function t(t,n){var r=!(2'," "]);return S=function(){return e},e}function C(){var e=Object(o.l)(['\n
\n
\n
','
\n
\n
\n ','\n
\n \n
\n
\n
\n ']);return C=function(){return e},e}!function(e){e.HideBadge="hidebadge",e.ShowBadge="showbadge"}(r||(r={}));var A,x,T,P=function(e){Object(o.f)(n,u.a);var t=Object(o.g)(n);function n(){var e;return Object(o.b)(this,n),(e=t.apply(this,arguments)).sectionBadge="0",e.badgeMode=r.ShowBadge,e}return Object(o.c)(n,[{key:"render",value:function(){return Object(a.h)(C(),this.sectionBadge,this.badgeMode,this.headline?Object(a.h)(S(),this.headline):"")}}],[{key:"styles",get:function(){var e=Object(u.b)(k()),t=Object(u.b)(w()),n=Object(u.b)(j()),r=Object(u.b)(O()),o=Object(u.b)(_(),r),i=Object(u.b)(g()),a=Object(u.b)(b()),s=Object(u.b)(y()),c=Object(u.b)(m()),l=Object(u.b)(v()),d=Object(u.b)(p()),S=Object(u.b)(h(),r);return Object(u.b)(f(),o,t,o,t,e,d,o,n,s,o,o,r,a,i,S,c,l)}}]),n}();function E(){var e=Object(o.l)(["\n .errors {\n color: red;\n font-size: 1.4rem;\n margin-top: 0.5rem;\n }\n\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n display: grid;\n grid-gap: ",";\n }\n\n li {\n margin: 0;\n padding: 0;\n display: inline-block;\n }\n\n .selection-button {\n height: 3rem;\n }\n\n .selection-button label {\n padding: 0 0.3rem;\n display: flex;\n cursor: pointer;\n text-align: center;\n font-size: ",";\n font-weight: bold;\n border: 1px solid ",";\n border-radius: 5px;\n background-color: #ccc;\n height: 100%;\n justify-content: center;\n align-items: center;\n }\n\n label[for='custom-amount-button'] {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .custom-amount-text {\n white-space: nowrap;\n margin-right: 0.5rem;\n }\n\n input[type='radio'] {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n input[type='radio'] + label {\n background-color: ",";\n }\n\n input[type='radio']:checked + label {\n background-color: ",";\n }\n\n input[type='radio']:focus + label {\n outline: 2px solid ",";\n }\n\n .cover-fees-container {\n margin-top: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .cover-fees-container input {\n width: 2rem;\n }\n\n .cover-fees-container label {\n font-size: ",";\n font-weight: ",";\n flex: 1;\n }\n\n .amount-selector {\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n }\n\n .frequency-selector {\n grid-template-columns: 1fr 1fr;\n }\n\n .custom-amount {\n grid-column-start: 3;\n grid-column-end: 6;\n }\n\n #custom-amount-input {\n width: ",";\n font-size: 1.6rem;\n font-weight: bold;\n color: ",";\n padding: 0.1rem;\n border: ",";\n appearance: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n }\n "]);return E=function(){return e},e}function N(){var e=Object(o.l)(["var(--inputBorder, 1px solid #d9d9d9)"]);return N=function(){return e},e}function D(){var e=Object(o.l)(["var(--inputFieldFontColor, #333)"]);return D=function(){return e},e}function M(){var e=Object(o.l)(["var(--customAmountWidth, 4rem)"]);return M=function(){return e},e}function I(){var e=Object(o.l)(["var(--coverFeesFontWeight, bold)"]);return I=function(){return e},e}function $(){var e=Object(o.l)(["var(--coverFeesFontSize, 1.2rem)"]);return $=function(){return e},e}function R(){var e=Object(o.l)(["var(--paymentButtonColor, #fff)"]);return R=function(){return e},e}function F(){var e=Object(o.l)(["var(--paymentButtonFocusedOutlineColor, #7fb3f9)"]);return F=function(){return e},e}function B(){var e=Object(o.l)(["var(--paymentButtonSelectedColor, #f9bf3b)"]);return B=function(){return e},e}function V(){var e=Object(o.l)(["var(--paymentButtonFontSize, 1.6rem)"]);return V=function(){return e},e}function U(){var e=Object(o.l)(["var(--paymentButtonGridGap, 1rem)"]);return U=function(){return e},e}function z(){var e=Object(o.l)(["var(--paymentButtonBorderColor, #333)"]);return z=function(){return e},e}function q(){var e=Object(o.l)(['\n
\n \n\n
\n \n \n \n "]);return E=function(){return e},e}!function(e){e.ShowGoalAmount="showgoalamount",e.ShowGoalMessage="showgoalmessage"}(d||(d={}));var N=function(e){Object(h.f)(n,m.a);var t=Object(h.g)(n);function n(){var e;return Object(h.b)(this,n),(e=t.apply(this,arguments)).goalMessageMode=d.ShowGoalAmount,e.goalNearMessage="We’ve almost reached our goal!",e.goalReachedMessage="We've reached our goal!",e.goalAmount=75e5,e.currentAmount=0,e}return Object(h.c)(n,[{key:"render",value:function(){return Object(v.h)(E(),this.goalAmount,this.currentAmount,this.currentAmountDisplayValue,this.percentComplete,this.percentComplete,this.currentAmountDisplayValue,this.currentGoalMessage)}},{key:"currencyFormatted",value:function(e){return b(e,{symbol:"$",precision:0}).format()}},{key:"goalMessage",get:function(){return this.currentAmount>=this.goalAmount?this.goalReachedMessage:this.goalNearMessage}},{key:"currentAmountDisplayValue",get:function(){return this.currencyFormatted(this.currentAmount)}},{key:"goalAmountDisplayValue",get:function(){return this.currencyFormatted(this.goalAmount)}},{key:"currentGoalMessage",get:function(){switch(this.goalMessageMode){case d.ShowGoalAmount:return"".concat(this.goalAmountDisplayValue," goal");case d.ShowGoalMessage:return this.goalMessage}}},{key:"percentComplete",get:function(){return Math.min(this.currentAmount/this.goalAmount*100,100)}}],[{key:"styles",get:function(){var e=Object(m.b)(P()),t=Object(m.b)(T()),n=Object(m.b)(x()),r=Object(m.b)(A()),o=Object(m.b)(C()),i=Object(m.b)(S()),a=Object(m.b)(k()),u=Object(m.b)(w(),t),s=Object(m.b)(j()),c=Object(m.b)(O()),l=Object(m.b)(_());return Object(m.b)(g(),e,e,n,o,t,r,o,a,i,u,s,l,c)}}]),n}();function D(e,t){for(var n=0;n