{"version":"2","html":"<style data-emotion=\"css 1b6cd97\">.css-1b6cd97{margin-top:1rem;margin-bottom:2rem;container-type:inline-size;}</style><div class=\"css-1b6cd97\"><style data-emotion=\"css s2u4oi\">.css-s2u4oi{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;max-width:100%;gap:1.5rem;}@container (max-width: 47rem){.css-s2u4oi{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}}</style><div id=\"paypal-form-fields-container-G8RFSSST9B3U8\" class=\"css-s2u4oi\"><style>\n  #paypal-form-fields-container-G8RFSSST9B3U8 #desc-label {\n    margin-top: 0;\n    margin-bottom: 0.75rem;\n    overflow-wrap: anywhere;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .amount-container {\n    position: relative;\n\n    /* Chrome, Safari, Edge, Opera */\n    input::-webkit-outer-spin-button,\n    input::-webkit-inner-spin-button {\n      -webkit-appearance: none;\n      margin: 0;\n    }\n    /* Firefox */\n    input[type=number] {\n      -moz-appearance: textfield;\n    }\n\n    input {\n      padding: 0.5rem 3rem 0.5rem var(--currency-padding, 5ch);\n    }\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .currency-symbol {\n    position: absolute;\n    top: 0;\n    left: 0;\n    padding: 0.75rem;\n    font-size: 1rem;\n    line-height: 1.5rem;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .currency-label {\n    position: absolute;\n    top: 0;\n    right: 0;\n    padding: 0.75rem;\n    font-size: 1rem;\n    line-height: 1.5rem;\n  }\n  \n  #paypal-form-fields-container-G8RFSSST9B3U8 input {\n    width: 100%;\n    min-height: 3rem;\n    padding: 0.5rem 0.75rem;\n    font-size: 1rem;\n    line-height: 1.5rem;\n    border: solid 0.0625rem #929496;\n    border-radius: 0.25rem;\n    margin-bottom: 0.75rem;\n    box-sizing: border-box;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 textarea {\n    width: 100%;\n    min-height: 7.5rem;\n    padding: 0.5rem 0.75rem;\n    font-size: 1rem;\n    line-height: 1.5rem;\n    border: solid 0.0625rem #929496;\n    border-radius: 0.25rem;\n    margin-bottom: 0.75rem;\n    box-sizing: border-box;\n    resize: none;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .item-description {\n    white-space: pre-line;\n    overflow-wrap: anywhere;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .input-label {\n    display: block;\n    font-size: 0.875rem;\n    margin-bottom: 0.25rem;\n    overflow-wrap: anywhere;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .error-label {\n    color: red;\n    font-size: 0.875rem;\n    line-height: 1.25rem;\n    margin-top: -0.5rem;\n    margin-bottom: 0.75rem;\n    display: none;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .visible {\n    display: block;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 #generic-error,\n  #paypal-form-fields-container-G8RFSSST9B3U8 #browser-error,\n  #paypal-form-fields-container-G8RFSSST9B3U8 #inventory-error\n  {\n    display: none !important;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 #generic-error.visible,\n  #paypal-form-fields-container-G8RFSSST9B3U8 #browser-error.visible,\n  #paypal-form-fields-container-G8RFSSST9B3U8 #inventory-error.visible\n  {\n    display: block !important;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .fullWidth {\n    width: 100%;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .inline {\n    display: inline;\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .no-vertical-margin {\n    margin-top: 0;\n    margin-bottom: 0;\n  }\n\n  \n  #paypal-form-fields-container-G8RFSSST9B3U8 .selectContainer {\n    position: relative;\n\n    select {\n      width: 100%;\n      min-height: 3rem;\n      padding: 0.5rem 1.85rem 0.5rem 0.75rem;\n      font-size: 1rem;\n      line-height: 1.5rem;\n      border: solid 0.0625rem #929496;\n      border-radius: 0.25rem;\n      margin-bottom: 0.75rem;\n      box-sizing: border-box;\n      -webkit-box-sizing: border-box;\n      -moz-box-sizing: border-box;\n      -webkit-appearance: none;\n      -moz-appearance: none;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n    }\n\n    select.error {\n      border-color:  #D50102;\n      outline-color:  #D50102;\n    }\n\n  }\n  #paypal-form-fields-container-G8RFSSST9B3U8 .selectContainer::after {\n    content: close-quote;\n    position: absolute;\n    top: 1rem;\n    right: 1rem;\n    bottom: 0;\n    width: 0.5rem;\n    height: 0.5rem;\n    border-style: solid;\n    border-width: 2px;\n    border-color: transparent transparent #545D68 #545D68;\n    transform: rotate(-45deg);\n    pointer-events: none;\n  }\n\n</style><style data-emotion=\"css 178qcrb\">.css-178qcrb{width:100%;max-width:24.9375rem;}.css-178qcrb.small{max-width:19.75rem;}.css-178qcrb.large{max-width:31.1875rem;}.css-178qcrb:has(.horizontal){max-width:30.625rem;}.css-178qcrb:has(.horizontal).small{max-width:25rem;}.css-178qcrb:has(.horizontal).large{max-width:33.75rem;}</style><div id=\"form-container-G8RFSSST9B3U8\" class=\"medium css-178qcrb\"><div style=\"display:flex;font-size:1rem;margin-bottom:1rem\" id=\"generic-error\" data-testid=\"form-fields-error\"><div style=\"display:flex;align-items:start\"><span role=\"img\" style=\"margin-right:0.25rem;color:#D50102\" class=\"xabmjf7 xabmjf4\" data-ppui-info=\"icons_9.12.1__8.16.2\" aria-label=\"critical sm icon\" data-ppui=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\" width=\"1em\" height=\"1em\" data-ppui=\"true\"><path fill-rule=\"evenodd\" d=\"M8.314 7.723v2.53a.686.686 0 0 0 1.372 0v-2.53a.686.686 0 0 0-1.372 0zm1.466 5.331a.94.94 0 1 0-1.56-1.044.94.94 0 0 0 1.562 1.044z\" clip-rule=\"evenodd\" data-ppui=\"true\"></path><path fill-rule=\"evenodd\" d=\"M1.732 13.794c0-.295.078-.585.227-.84l5.534-9.61v-.002a1.747 1.747 0 0 1 3.013 0v.002l5.535 9.61a1.667 1.667 0 0 1-.002 1.681 1.721 1.721 0 0 1-1.506.861H3.467a1.721 1.721 0 0 1-1.508-.86 1.668 1.668 0 0 1-.227-.842zm13.12.152v.001a.357.357 0 0 1-.315.177H3.463a.358.358 0 0 1-.315-.178.3.3 0 0 1 0-.305l5.534-9.61a.374.374 0 0 1 .639 0l5.533 9.608v.001a.3.3 0 0 1-.001.306z\" clip-rule=\"evenodd\" data-ppui=\"true\"></path></svg></span><div>Something went wrong. Contact the merchant for help.</div></div></div><div style=\"display:flex;font-size:1rem;margin-bottom:1rem\" id=\"browser-error\" data-testid=\"browser-error\"><div style=\"display:flex;align-items:start\"><span role=\"img\" style=\"margin-right:0.25rem;color:#D50102\" class=\"xabmjf7 xabmjf4\" data-ppui-info=\"icons_9.12.1__8.16.2\" aria-label=\"critical sm icon\" data-ppui=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\" width=\"1em\" height=\"1em\" data-ppui=\"true\"><path fill-rule=\"evenodd\" d=\"M8.314 7.723v2.53a.686.686 0 0 0 1.372 0v-2.53a.686.686 0 0 0-1.372 0zm1.466 5.331a.94.94 0 1 0-1.56-1.044.94.94 0 0 0 1.562 1.044z\" clip-rule=\"evenodd\" data-ppui=\"true\"></path><path fill-rule=\"evenodd\" d=\"M1.732 13.794c0-.295.078-.585.227-.84l5.534-9.61v-.002a1.747 1.747 0 0 1 3.013 0v.002l5.535 9.61a1.667 1.667 0 0 1-.002 1.681 1.721 1.721 0 0 1-1.506.861H3.467a1.721 1.721 0 0 1-1.508-.86 1.668 1.668 0 0 1-.227-.842zm13.12.152v.001a.357.357 0 0 1-.315.177H3.463a.358.358 0 0 1-.315-.178.3.3 0 0 1 0-.305l5.534-9.61a.374.374 0 0 1 .639 0l5.533 9.608v.001a.3.3 0 0 1-.001.306z\" clip-rule=\"evenodd\" data-ppui=\"true\"></path></svg></span><div>This browser isn’t supported. Open a different browser and try again.</div></div></div><div style=\"display:flex;font-size:1rem;margin-bottom:1rem\" id=\"inventory-error\" data-testid=\"inventory-error\"><div style=\"display:flex;align-items:start\"><span role=\"img\" style=\"margin-right:0.25rem;color:#D50102\" class=\"xabmjf7 xabmjf4\" data-ppui-info=\"icons_9.12.1__8.16.2\" aria-label=\"critical sm icon\" data-ppui=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\" width=\"1em\" height=\"1em\" data-ppui=\"true\"><path fill-rule=\"evenodd\" d=\"M8.314 7.723v2.53a.686.686 0 0 0 1.372 0v-2.53a.686.686 0 0 0-1.372 0zm1.466 5.331a.94.94 0 1 0-1.56-1.044.94.94 0 0 0 1.562 1.044z\" clip-rule=\"evenodd\" data-ppui=\"true\"></path><path fill-rule=\"evenodd\" d=\"M1.732 13.794c0-.295.078-.585.227-.84l5.534-9.61v-.002a1.747 1.747 0 0 1 3.013 0v.002l5.535 9.61a1.667 1.667 0 0 1-.002 1.681 1.721 1.721 0 0 1-1.506.861H3.467a1.721 1.721 0 0 1-1.508-.86 1.668 1.668 0 0 1-.227-.842zm13.12.152v.001a.357.357 0 0 1-.315.177H3.463a.358.358 0 0 1-.315-.178.3.3 0 0 1 0-.305l5.534-9.61a.374.374 0 0 1 .639 0l5.533 9.608v.001a.3.3 0 0 1-.001.306z\" clip-rule=\"evenodd\" data-ppui=\"true\"></path></svg></span><div>There isn&#x27;t enough of this item for your order.</div></div></div><h3 id=\"desc-label\">Make A Contribution Today</h3><p class=\"item-description\">The unique work of the Mystagogy Resource Center continues to exist because of the financial gifts sent by people who find some benefit from it. If you enjoy what is offered and want to see it continue, please help with a contribution. This ministry does not exist without your help. Thank you!</p><form target=\"_top\" accept-charset=\"utf-8\" action=\"https://www.paypal.com/ncp/payment/G8RFSSST9B3U8\" method=\"POST\" novalidate=\"\"><label class=\"input-label\" for=\"amount\">Fill in the amount you would like to gift.</label><div class=\"amount-container\"><span class=\"currency-symbol\">$</span><input type=\"number\" id=\"amount\" name=\"300cc6e155471732dcedbafbe34ccda0\" style=\"--currency-padding:3ch\"/><span class=\"currency-label\">USD</span></div><span id=\"amount-err\" class=\"error-label\">Fill in how much you want to pay.</span><span id=\"amount-min-err\" class=\"error-label\">Enter a price of at least 1.</span><span id=\"amount-max-err\" class=\"error-label\">Enter a maximum price of 100000 or less.</span><span id=\"amount-decimal-err\" class=\"error-label\">Adjust the amount to only 2 decimal places and try again.</span><span id=\"amount-decimalplaces-err\" class=\"error-label\">This currency doesn&#x27;t use decimals. Update the amount and try again.</span><input type=\"hidden\" name=\"007d94de706623aa196b00f27ce97850\" value=\"stacked\"/><input type=\"hidden\" name=\"uuid\" value=\"c0fb0a87-ed97-4944-a44c-30bacb1f3420\"/><style data-emotion=\"css 134chkc\">.css-134chkc{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:1rem;margin-top:2rem;}.css-134chkc.horizontal:has(.js-sdk-container > :only-child){display:grid;grid-template-columns:1fr 1fr;}.css-134chkc .js-sdk-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:1rem;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><div class=\"vertical css-134chkc\"><div id=\"js-sdk-container-G8RFSSST9B3U8\" class=\"js-sdk-container\"></div><style data-emotion=\"css b3wyzm\">.css-b3wyzm{cursor:pointer;border-radius:0.25rem;border:0;padding:0 2rem;overflow-wrap:anywhere;font-family:Helvetica,Arial,'Liberation Sans',sans-serif;font-size:1rem;font-weight:700;line-height:1.15;height:42px;color:white!important;background:#001435!important;}.css-b3wyzm.pill{border-radius:1000rem;}.css-b3wyzm.small{font-size:0.75rem;font-weight:700;height:32px;}.css-b3wyzm.large{font-size:1.125rem;font-weight:700;height:50px;}.css-b3wyzm.black{color:white!important;background:#2c2e2f!important;}.css-b3wyzm.black:hover{-webkit-filter:brightness(1.2);filter:brightness(1.2);}.css-b3wyzm.white{color:#2c2e2f!important;background:white!important;border:0.0625rem solid #555;}.css-b3wyzm.white:hover{-webkit-filter:brightness(0.95);filter:brightness(0.95);}.css-b3wyzm:hover{-webkit-filter:brightness(1.5);filter:brightness(1.5);}.css-b3wyzm:focus{outline-offset:-0.3rem;outline:solid 0.3rem #009cde;}</style><button type=\"submit\" id=\"checkout-button\" class=\"rect medium gold css-b3wyzm\">Checkout</button></div><style data-emotion=\"css au42bs\">.css-au42bs{margin-top:1rem;margin-left:auto;margin-right:auto;display:block;height:1.5rem;width:10.875rem;}</style><img src=\"https://www.paypalobjects.com/images/Debit_Credit_APM.svg\" alt=\"card icons\" class=\"css-au42bs\"/></form></div></div></div>","html_script":"<script>\n(function(){\n  const amountMin = 1;\n  const amountMax = 100000;\n\n  const getDecimalCount = function(value) {\n    if ((value % 1) != 0)\n      return value.toString().split('.')[1].length;\n    return 0;\n  };\n\n  const replaceNewLines = function(value) {\n  if (!value) {\n    return value;\n  }\n  return value.replace(/(\\r\\n)|[\\n\\r]/g, '\\\\n');\n};\n\n  const getElements = function() {\n    const container = document.getElementById('paypal-form-fields-container-G8RFSSST9B3U8');\n    const [\n      amountEl,\n      memoEl,\n      memo2El,\n      memoLabelEl,\n      memo2LabelEl,\n      invoiceEl,\n      amountErrEl,\n      amountMinErrEl,\n      amountMaxErrEl,\n      decimalErrEl,\n      decimalPlacesErrEl,\n      memoErrEl,\n      memoTooLongErrEl,\n      memo2ErrEl,\n      memo2TooLongErrEl,\n      genericErrEl,\n      browserErrEl,\n      checkoutButtonEl,\n      invoiceErrEl\n    ] = [\n      '#amount',\n      '#memo',\n      '#memo2',\n      '#memo-label',\n      '#memo2-label',\n      '#invoice',\n      '#amount-err',\n      '#amount-min-err',\n      '#amount-max-err',\n      '#amount-decimal-err',\n      '#amount-decimalplaces-err',\n      '#memo-err',\n      '#memo-too-long-error',\n      '#memo2-err',\n      '#memo2-too-long-error',\n      '#generic-error',\n      '#browser-error',\n      '#checkout-button',\n      '#invoice-err'\n    ].map(function(item) { return container.querySelector(item) });\n    \nconst [\n  selectorEl,\n  selector2El,\n  selector3El,\n  selector4El,\n  selector5El\n] = [\n  '#selector-variant-0',\n  '#selector-variant-1',\n  '#selector-variant-2',\n  '#selector-variant-3',\n  '#selector-variant-4',\n].map(function(item) { return container.querySelector(item); });\n\n    return { \n      \nselector: { el: selectorEl, errEl: null },\nselector2: { el: selector2El, errEl: null },\nselector3: { el: selector3El, errEl: null },\nselector4: { el: selector4El, errEl: null },\nselector5: { el: selector5El, errEl: null },\n\n      amount: { el: amountEl, errEl: amountErrEl, minErrEl: amountMinErrEl, maxErrEl: amountMaxErrEl, decimalErrEl: decimalErrEl, decimalPlacesErrEl: decimalPlacesErrEl },\n      memo: { el: memoEl, errEl: memoErrEl, memoTooLongErrEl: memoTooLongErrEl, labelEl: memoLabelEl },\n      memo2: { el: memo2El, errEl: memo2ErrEl, memoTooLongErrEl: memo2TooLongErrEl, labelEl: memo2LabelEl },\n      invoice: { el: invoiceEl, errEl: invoiceErrEl },\n      genericErr: { el: genericErrEl },\n      browserErr: { el: browserErrEl },\n      checkoutButton: { el: checkoutButtonEl }\n    }\n  }\n\n  let currentImageUrl = '';\n\n  const isBrowserSupported = function() {\n    if (!false) {\n      return true;\n    }\n    return !!(window.crypto && window.crypto.subtle && window.crypto.subtle.generateKey);\n  }\n\n  const getIsValid = function() {\n    if (!isBrowserSupported()) return false;\n    const { amount, memo, memo2, invoice } = getElements();\n    if (!amount.el.value.length) return false;\n    const amountValue = parseFloat(amount.el.value);\n    if (isNaN(amountValue) || amountValue < amountMin || (amountMax !== undefined && amountValue > amountMax)) return false;\n    if (getDecimalCount(amount.el.value) > 2) return false;\n    if (false && invoice.el && !invoice.el.value.length) return false;\n    if (true && memo.el && !memo.el.value.length) return false;\n    if (memo.el && replaceNewLines(memo.el.value).length > 200) { \n      return false;\n    }\n    if (true && memo2.el && !memo2.el.value.length) {\n      return false;\n    }\n    if (memo2.el && replaceNewLines(memo2.el.value).length > 200) { \n      return false;\n    }\n    return true;\n  }\n\n  const getFptiTrackingParams = function() {\n    return {\"merchant_id\":\"KBVYUTBWLL834\",\"tracking_id\":\"c0fb0a87-ed97-4944-a44c-30bacb1f3420\",\"space_key\":\"SKS09G\"}\n  }\n\n  const renderErrors = function() {\n    const { amount, memo, memo2, invoice } = getElements();\n    const decimalSupported = 2 > 0;\n    const amountValue = parseFloat(amount.el.value);\n    if (!amount.el.value.length) {\n      amount.el.focus();\n      amount.errEl.classList.add('visible');\n      amount.decimalErrEl.classList.remove('visible');\n      amount.minErrEl.classList.remove('visible');\n      amount.maxErrEl.classList.remove('visible');\n      amount.decimalPlacesErrEl.classList.remove('visible');\n    } else if (isNaN(amountValue) || amountValue < amountMin) {\n      amount.el.focus();\n      amount.minErrEl.classList.add('visible');\n      amount.decimalErrEl.classList.remove('visible');\n      amount.errEl.classList.remove('visible');\n      amount.maxErrEl.classList.remove('visible');\n      amount.decimalPlacesErrEl.classList.remove('visible');\n    } else if (amountMax !== undefined && amountValue > amountMax) {\n      amount.el.focus();\n      amount.maxErrEl.classList.add('visible');\n      amount.decimalErrEl.classList.remove('visible');\n      amount.errEl.classList.remove('visible');\n      amount.minErrEl.classList.remove('visible');\n      amount.decimalPlacesErrEl.classList.remove('visible');\n    } else if (decimalSupported && getDecimalCount(amount.el.value) > 2) {\n      amount.el.focus();\n      amount.decimalErrEl.classList.add('visible');\n      amount.errEl.classList.remove('visible');\n      amount.minErrEl.classList.remove('visible');\n      amount.maxErrEl.classList.remove('visible');\n      amount.decimalPlacesErrEl.classList.remove('visible');\n    } else if (!decimalSupported && getDecimalCount(amount.el.value) > 0) {\n      amount.el.focus();\n      amount.decimalPlacesErrEl.classList.add('visible');\n      amount.errEl.classList.remove('visible');\n      amount.minErrEl.classList.remove('visible');\n      amount.maxErrEl.classList.remove('visible');\n      amount.decimalErrEl.classList.remove('visible');\n    } else {\n      amount.errEl.classList.remove('visible');\n      amount.decimalErrEl.classList.remove('visible');\n      amount.minErrEl.classList.remove('visible');\n      amount.maxErrEl.classList.remove('visible');\n      amount.decimalPlacesErrEl.classList.remove('visible');\n    }\n\n    if (true && memo.el && !memo.el.value.length) {\n      memo.el.focus();\n      memo.errEl.classList.add('visible')\n    } else if (memo.errEl) {\n      memo.errEl.classList.remove('visible')\n    } \n    if (memo.el && replaceNewLines(memo.el.value).length > 200) {\n      memo.el.focus();\n      memo.memoTooLongErrEl.classList.add('visible');\n    } else if (memo.memoTooLongErrEl) {\n      memo.memoTooLongErrEl.classList.remove('visible')\n    }\n\n    if (true && memo2.el && !memo2.el.value.length) {\n      memo2.el.focus();\n      memo2.errEl.classList.add('visible')\n    } else if (memo2.errEl) {\n      memo2.errEl.classList.remove('visible')\n    }\n    if (memo2.el && replaceNewLines(memo2.el.value).length > 200) {\n      memo2.el.focus();\n      memo2.memoTooLongErrEl.classList.add('visible');\n    } else if (memo2.memoTooLongErrEl) {\n      memo2.memoTooLongErrEl.classList.remove('visible')\n    }\n\n    if (false && invoice.el && !invoice.el.value.length) {\n      invoice.el.focus();\n      invoice.errEl.classList.add('visible')\n    } else if (invoice.errEl) {\n      invoice.errEl.classList.remove('visible')\n    }\n  }\n\n  const toggleActions = function(actions) {\n    if (getIsValid()) {\n      actions.enable();\n    } else {\n      actions.disable();\n    }\n  }\n\n  \n  const { memo, memo2 } = getElements();\n  \n  const addPasteListener = (memoEl) => {\n    if (memoEl?.el) {\n      memoEl.el.addEventListener('paste', function (event) {\n        event.preventDefault();\n        const prevValue = memoEl.el.value;\n        const data = event.clipboardData.getData('text/plain');\n        const selectionStart = memoEl.el.selectionStart;\n        const selectionEnd = memoEl.el.selectionEnd;\n        const newValue =\n          prevValue.slice(0, selectionStart) + data + prevValue.slice(selectionEnd);\n        memoEl.el.value = newValue;\n      });\n    }\n  };\n  \n  addPasteListener(memo);\n  addPasteListener(memo2);\n;\n\n  const onInit = function(data, actions) {\n    const { amount, memo, memo2, invoice, browserErr } = getElements();\n    if (!isBrowserSupported()) {\n      browserErr.el.classList.add('visible');\n      \nfetch('https://www.paypal.com/ncp/api/log', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application/json'\n  },\n  body: JSON.stringify({\n    events: [\n      {\n        level: 'info',\n        event: 'ncps::merchant_hosted::unsupported_browser',\n        payload: {\n          user_agent: window.navigator.userAgent,\n        }\n      }\n    ],\n    tracking: [\n      {\"product\":\"quantum_leap\",\"component\":\"nocodenodeweb\",\"pgrp\":\"main:business:web:hostedcheckout\",\"space_key\":\"SKS09G\",\"page\":\"main:business:web:hostedcheckout:merchant_website\",\"event_name\":\"unsupported_browser\",\"e\":\"im\",\"event_type\":\"im\",\"evnt_type\":\"im\"}\n    ]\n  })\n});\n\n    }\n\n    toggleActions(actions);\n\n    const elements = [amount];\n    elements.forEach(function (item) {\n      item.el.addEventListener('keyup', function (event) {\n        toggleActions(actions);\n      });\n    });\n  }\n\n  \nconst getOptionSelection = function (selectorElement) {\n  return {\n    name: selectorElement.dataset.fieldName,\n    select: selectorElement.options[selectorElement.selectedIndex].value\n  }\n}\n\nconst getOptionSelections = function () {\n  const { selector, selector2, selector3, selector4, selector5 } = getElements();\n\n  if (!selector.el && !selector2.el && !selector3.el && !selector4.el && !selector5.el) {\n    return '';\n  }\n\n  const optionSelections = [];\n\n  [selector.el, selector2.el, selector3.el, selector4.el, selector5.el].forEach(function (selectorElement) {\n    if (selectorElement) {\n      optionSelections.push(getOptionSelection(selectorElement));\n    }\n  });\n  \n  return optionSelections;\n}\n\n  \nconst getAttributionCode = function() {\n  if (false) {\n    return undefined;\n  }\n\n  const codeEl = document.querySelector('script[data-paypal-partner-attribution-id]');\n\n  if (!codeEl) {\n    return undefined;\n  }\n\n  const code = codeEl.getAttribute('data-paypal-partner-attribution-id');\n\n  if (!code.match(/^\\w+$/)) {\n    return undefined;\n  }\n\n  return code;\n}\n\n  \nconst getMemos = function() {\n  const { memo, memo2 } = getElements();\n  const memos = [memo, memo2].map(memo => {\n    if (!memo.labelEl || !memo.labelEl.dataset.text || !memo.el || !memo.el.value) {\n      return null;\n    }\n    return {\n      label: memo.labelEl.dataset.text,\n      value: replaceNewLines(memo.el.value)\n    };\n  }).filter(Boolean);\n  \n  return memos.length > 0 ? memos : undefined;\n}\n\n\n\n  const getUserInputs = function() {\n    const { amount, memo, memo2, invoice, genericErr } = getElements();\n    genericErr.el.classList.remove('visible');\n    let inputs = {\n      amount: amount.el.value,\n      \n    };\n\n    inputs.option_selections = getOptionSelections();\n    inputs.bn_code = getAttributionCode();\n\n    inputs = Object.fromEntries(Object.entries(inputs).filter(([k, v]) => v !== ''));\n\n    if (currentImageUrl) {\n      inputs.image_url = currentImageUrl;\n    }\n\n    inputs.memos = getMemos();\n    \n    return inputs;\n  }\n\n  const onClick = function() { renderErrors(); }\n\n  const onError = function() {\n    const { genericErr } = getElements();\n    genericErr.el.classList.add('visible');\n  }\n\n  \nconst { checkoutButton } = getElements();\nif (checkoutButton.el) {\n  checkoutButton.el.addEventListener('click', function (event) {\n    onClick();\n    if(!getIsValid()) {\n      event.preventDefault();\n    }\n  });\n}\n\n  \n  \nconst container = document.getElementById('paypal-form-fields-container-G8RFSSST9B3U8');\n\nif (container) {\n  const formEl = container.querySelector('form');\n  const attributionCode = getAttributionCode();\n\n  if(formEl && self != top) {\n    formEl.setAttribute('target', '_blank');\n  }\n\n  if (attributionCode) {\n    const action = formEl.getAttribute('action');\n\n    try {\n      const url = new URL(action);\n      url.searchParams.append('at_code', attributionCode);\n      formEl.setAttribute('action', url.toString());\n    } catch (e) {}\n  }\n}\n\n  \nwindow['__pp_form_fields_G8RFSSST9B3U8'] = {\n  onInit: onInit,\n  onClick: onClick,\n  getUserInputs: getUserInputs,\n  onError: onError,\n  getFptiTrackingParams: getFptiTrackingParams\n}\n\n})()</script>","button_details":{"link_variables":[{"name":"button_type","value":"VARIABLE_PRICE"},{"name":"tagline","value":"false"},{"name":"button_text","value":"paypal"},{"name":"enable_dpop","value":"false"},{"name":"layout","value":"vertical"},{"name":"shape","value":"rect"},{"name":"color","value":"gold"},{"name":"height","value":"42px"}],"preferences":{"button_preferences":["paypal","venmo"],"eligible_funding_methods":["paypal","venmo","paylater"]},"js_sdk_container_id":"js-sdk-container-G8RFSSST9B3U8"},"popup_fallback":"See your <strong><a href=\"#\" target=\"_blank\">payment status</a></strong>. Your browser blocked the automatic pop-up message.","sys":{"links":{"jsBaseUrl":"https://www.paypalobjects.com/web/res/c9e/daa54cd5a7f3283a97bdbf47cc12c/js","cssBaseUrl":"https://www.paypalobjects.com/web/res/c9e/daa54cd5a7f3283a97bdbf47cc12c/css","templateBaseUrl":"https://www.paypalobjects.com/web/res/c9e/daa54cd5a7f3283a97bdbf47cc12c/templates","resourceBaseUrl":"https://www.paypalobjects.com/web/res/c9e/daa54cd5a7f3283a97bdbf47cc12c"},"pageInfo":{"date":"Apr 26, 2026 17:48:41 -07:00","hostName":"rZJvnqaaQhLn/nmWT8cSUm+72VQ7inHLj5oA4kyCTks5WoFt/IhWag","rlogId":"rZJvnqaaQhLn%2FnmWT8cSUrdRogW0PQkUBbvworZG2ZOmMy3rxbLFjt6Fy3cfSAmjZv1LJKsi%2BJ0_19dcc68ee0a","script":"node","debug":null},"locality":{"timezone":{"determiner":"viaPrimary","value":"America/New_York"},"country":"US","locale":"en_US","language":"en","directionality":"ltr"},"tracking":{"fpti":{"dataString":"pgrp=nocodenodeweb%2F.dust&page=nocodenodeweb%2F.dust&qual=&pgtf=Nodejs&s=ci&env=live&comp=nocodenodeweb&tsrce=nocodenodeweb&cu=0&ef_policy=ccpa&c_prefs=&pxpguid=cc68edcb19d647e0210da6a3fc849416&pgst=1777250921994&calc=f76354313ad0e&csci=049169c81230412798e2f46de9cac50a&nsid=aGjJGKn8cZ-wZcZtEkBZ5vwUno9vVc2U&rsta=en_US&ccpg=US","varName":"pta","name":"pta","jsURL":"https://www.paypalobjects.com","serverURL":"https://t.paypal.com/ts"}}}}