Version Description
Download this release
Release Info
Developer | dlocc |
Plugin | Give – Donation Plugin and Fundraising Platform |
Version | 2.7.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.7.2
- assets/dist/css/give-sequoia-template.css +1 -1
- assets/dist/css/give-sequoia-template.rtl.css +1 -1
- assets/dist/js/give-sequoia-template.js +1 -1
- assets/dist/js/gutenberg.js +1 -1
- blocks/donor-wall/class-give-donor-wall.php +5 -0
- blocks/donor-wall/data/attributes.js +8 -4
- blocks/donor-wall/edit/inspector.js +11 -6
- give.php +2 -3
- includes/admin/upgrades/class-give-updates.php +43 -43
- includes/class-give-donor-wall-widget.php +0 -162
- includes/donors/class-give-donor-wall.php +55 -34
- languages/give.pot +18 -26
- readme.txt +16 -8
- src/Views/Form/Templates/Sequoia/Sequoia.php +6 -0
- src/Views/Form/Templates/Sequoia/assets/css/feerecovery.scss +8 -0
- src/Views/Form/Templates/Sequoia/assets/css/form.scss +92 -17
- src/Views/Form/Templates/Sequoia/assets/js/form.js +42 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
assets/dist/css/give-sequoia-template.css
CHANGED
@@ -10,4 +10,4 @@
|
|
10 |
*/@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
|
11 |
* Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
|
12 |
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
13 |
-
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-left:0;margin-right:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-right:auto;margin-left:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-left:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-left:0}.receipt .social-sharing .social-btn:last-of-type{margin-right:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-right:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:right;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-left:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-left:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 20px 14px 22px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 20px 0 0!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right 4px top 50%,0 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 20px 14px 22px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 20px 20px 22px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-left:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);left:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-right:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-left:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 10px 0 28px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);left:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);left:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-left:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 20px 14px 22px!important}}.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-left:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-left:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 0 0 5px;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;left:0;right:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:6px 0 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-right:auto;margin-left:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-right:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-left:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(180deg,#28c77b,#28c77b),linear-gradient(180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-right:20px;margin-left:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 20px 17px 22px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;left:27px}.payment #give_terms_agreement #give_show_terms{order:3}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;overflow-y:scroll}.payment #give_terms_agreement label{margin:0;padding:0 0 0 40px;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-right:auto!important;margin-left:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-left:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-left:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-left:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-right:20px;margin-left:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-left:20px!important;padding-right:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:left;padding-left:23px;padding-right:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);left:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);left:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset{display:flex;flex-direction:column}.payment #donate-fieldset .give-submit-button-wrap{display:flex;flex-direction:column;align-items:center;position:relative;order:3}.payment #donate-fieldset .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment #donate-fieldset .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);left:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;left:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 82px);margin-left:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right .7em top 50%,0 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-right:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}
|
10 |
*/@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
|
11 |
* Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
|
12 |
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
13 |
+
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-left:0;margin-right:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-right:auto;margin-left:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-left:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-left:0}.receipt .social-sharing .social-btn:last-of-type{margin-right:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-right:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:right;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-left:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-left:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 20px 14px 22px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 20px 0 0!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right 4px top 50%,0 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}#give_purchase_form_wrap .fee-break-down-message,#give_purchase_form_wrap .give-fee-recovery-donors-choice.give-fee-message,#give_purchase_form_wrap .give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 0 0!important}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 20px 14px 22px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 20px 20px 22px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-left:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);left:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-right:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-left:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 10px 0 28px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);left:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);left:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-left:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 20px 14px 22px!important}}.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-left:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-left:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 0 0 5px;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;left:0;right:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:6px 0 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-right:auto;margin-left:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-right:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-left:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(180deg,#28c77b,#28c77b),linear-gradient(180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-right:20px;margin-left:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give-anonymous-donation-wrap .give-label{display:block!important;font-weight:400;font-size:14px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 40px);margin-left:0;color:#696969;display:inline-block}.payment #give-anonymous-donation-wrap .give-label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-anonymous-donation-wrap .give-label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment #give-anonymous-donation-wrap .give-label.active:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 20px 17px 22px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;left:27px}.payment #give_terms_agreement #give_show_terms{order:3}@media screen and (max-width:500px){.payment #give_terms_agreement #give_show_terms{bottom:20px;left:60px;position:absolute;z-index:99}}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;padding:0 10px 0 0;overflow-y:scroll!important}.payment #give_terms_agreement #give_terms>p:first-of-type{margin-top:0}.payment #give_terms_agreement label{margin:0;padding:0 0 0 40px;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}@media screen and (max-width:500px){.payment #give_terms_agreement label{width:calc(100% - 30px);padding:0 0 30px 40px}}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-right:auto!important;margin-left:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-left:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-left:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-left:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-right:20px;margin-left:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-left:20px!important;padding-right:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:left;padding-left:23px;padding-right:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);left:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);left:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_form_wrap.give-single-gateway-wrap{background:none;padding:0;margin:0 20px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset,.payment .give-submit-button-wrap{display:flex;flex-direction:column}.payment .give-submit-button-wrap{align-items:center;position:relative;order:3}.payment .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);left:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;left:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 82px);margin-left:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right .7em top 50%,0 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-right:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}
|
assets/dist/css/give-sequoia-template.rtl.css
CHANGED
@@ -10,4 +10,4 @@
|
|
10 |
*/@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
|
11 |
* Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
|
12 |
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
13 |
-
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-right:0;margin-left:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-left:auto;margin-right:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-right:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-right:0}.receipt .social-sharing .social-btn:last-of-type{margin-left:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-left:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:left;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-right:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-right:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 22px 14px 20px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 0 0 20px!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left 4px top 50%,100% 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 22px 14px 20px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 22px 20px 20px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-right:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);right:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-left:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-right:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 28px 0 10px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);right:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);right:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-right:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 22px 14px 20px!important}}.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-right:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-right:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 5px 0 0;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;right:0;left:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:0 6px 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-left:auto;margin-right:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-left:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-right:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(-180deg,#28c77b,#28c77b),linear-gradient(-180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-left:20px;margin-right:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 22px 17px 20px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;right:27px}.payment #give_terms_agreement #give_show_terms{order:3}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;overflow-y:scroll}.payment #give_terms_agreement label{margin:0;padding:0 40px 0 0;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-left:auto!important;margin-right:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-right:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-right:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-right:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-left:20px;margin-right:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-right:20px!important;padding-left:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:right;padding-right:23px;padding-left:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);right:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);right:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset{display:flex;flex-direction:column}.payment #donate-fieldset .give-submit-button-wrap{display:flex;flex-direction:column;align-items:center;position:relative;order:3}.payment #donate-fieldset .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment #donate-fieldset .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);right:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;right:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 82px);margin-right:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left .7em top 50%,100% 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:-4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(-180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-left:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}
|
10 |
*/@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
|
11 |
* Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
|
12 |
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
13 |
+
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-right:0;margin-left:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-left:auto;margin-right:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-right:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-right:0}.receipt .social-sharing .social-btn:last-of-type{margin-left:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-left:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:left;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-right:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-right:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 22px 14px 20px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 0 0 20px!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left 4px top 50%,100% 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}#give_purchase_form_wrap .fee-break-down-message,#give_purchase_form_wrap .give-fee-recovery-donors-choice.give-fee-message,#give_purchase_form_wrap .give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 0 0!important}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 22px 14px 20px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 22px 20px 20px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-right:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);right:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-left:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-right:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 28px 0 10px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);right:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);right:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-right:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 22px 14px 20px!important}}.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-right:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-right:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 5px 0 0;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;right:0;left:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:0 6px 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-left:auto;margin-right:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-left:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-right:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(-180deg,#28c77b,#28c77b),linear-gradient(-180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-left:20px;margin-right:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give-anonymous-donation-wrap .give-label{display:block!important;font-weight:400;font-size:14px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 40px);margin-right:0;color:#696969;display:inline-block}.payment #give-anonymous-donation-wrap .give-label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-anonymous-donation-wrap .give-label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment #give-anonymous-donation-wrap .give-label.active:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 22px 17px 20px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;right:27px}.payment #give_terms_agreement #give_show_terms{order:3}@media screen and (max-width:500px){.payment #give_terms_agreement #give_show_terms{bottom:20px;right:60px;position:absolute;z-index:99}}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;padding:0 0 0 10px;overflow-y:scroll!important}.payment #give_terms_agreement #give_terms>p:first-of-type{margin-top:0}.payment #give_terms_agreement label{margin:0;padding:0 40px 0 0;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}@media screen and (max-width:500px){.payment #give_terms_agreement label{width:calc(100% - 30px);padding:0 40px 30px 0}}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-left:auto!important;margin-right:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-right:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-right:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-right:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-left:20px;margin-right:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-right:20px!important;padding-left:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:right;padding-right:23px;padding-left:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);right:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);right:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_form_wrap.give-single-gateway-wrap{background:none;padding:0;margin:0 20px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset,.payment .give-submit-button-wrap{display:flex;flex-direction:column}.payment .give-submit-button-wrap{align-items:center;position:relative;order:3}.payment .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);right:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;right:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 82px);margin-right:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left .7em top 50%,100% 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:-4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(-180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-left:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}
|
assets/dist/js/give-sequoia-template.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=710)}({14:function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=i=function(e){return typeof e}:e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}e.exports=i},710:function(e,t,i){i(711),e.exports=i(712)},711:function(e,t,i){},712:function(e,t,i){"use strict";i.r(t);var n=i(14),a=i.n(n);!function(e){var t=window.sequoiaTemplateOptions,i=e(".give-embed-form"),n=e(".advance-btn",i),o=e(".back-btn"),r=e(".give-form-navigator .title"),c=e("#give-payment-mode-select"),s=!1,l={currentStep:"enabled"===t.introduction.enabled?0:1,animating:!1,goToStep:function(n){var a=d[n].title?e(d[n].selector).height()+50:e(d[n].selector).height(),o=d[l.currentStep].title?e(d[l.currentStep].selector).height()+50:e(d[l.currentStep].selector).height();a>o?e(".give-form-templates").css("min-height","".concat(a+123,"px")):setTimeout((function(){e(".give-form-templates").css("min-height","".concat(a+123,"px"))}),200),e(".step-tracker").removeClass("current"),e('.step-tracker[data-step="'+n+'"]').addClass("current"),"disabled"===t.introduction.enabled?(3===e(".step-tracker").length&&e(".step-tracker").remove(),1===(n=n>0?n:1)?e(".back-btn",i).hide():e(".back-btn",i).show(),e(".give-form-navigator",i).addClass("nav-visible"),e(d[n].selector).css("padding-top","50px")):0===n?(e(".give-form-navigator",i).removeClass("nav-visible"),e(d[n].selector).css("padding-top","")):(e(".give-form-navigator",i).addClass("nav-visible"),e(d[n].selector).css("padding-top","50px")),d[n].title&&r.text(d[n].title);var c=d.map((function(e,t){return t===n||t===l.currentStep?null:e.selector})).filter(Boolean).join(", ");if(e(c).hide(),l.currentStep!==n){var s="slide-in-right slide-in-left slide-out-right slide-out-left",p=l.currentStep<n?"left":"right",u=l.currentStep<n?"right":"left";e(d[l.currentStep].selector).removeClass(s).addClass("slide-out-".concat(p)),e(d[n].selector).show().removeClass(s).addClass("slide-in-".concat(u))}l.currentStep=n,g(),setTimeout((function(){d[l.currentStep].firstFocus&&e(d[l.currentStep].firstFocus).focus()}),200)},init:function(){var t,i;d.forEach((function(t){void 0!==t.setup&&t.setup(),e(t.selector).css("position","absolute")})),n.on("click",(function(e){e.preventDefault(),l.forward()})),o.on("click",(function(e){e.preventDefault(),l.back()})),e(".step-tracker").on("click",(function(t){t.preventDefault(),l.goToStep(parseInt(e(t.target).attr("data-step")))})),t=function(t){!1===s?e(".form-footer").css("transition","margin-top 0.2s ease"):e(".form-footer").css("transition",""),e(".form-footer").css("margin-top","".concat(t,"px"))},i=0,window.requestAnimationFrame((function n(){var a=e(d[l.currentStep].selector);i!==e(a).outerHeight()&&(t(e(a).outerHeight()),i=e(a).outerHeight()),window.requestAnimationFrame(n)})),l.goToStep(Give.fn.getParameterByName("showDonationProcessingError")||Give.fn.getParameterByName("showFailedDonationError")?2:0)},back:function(){var e=0!==l.currentStep?l.currentStep-1:0;l.goToStep(e),l.currentStep=e},forward:function(){var e=null!==l.currentStep?l.currentStep+1:1;l.goToStep(e),l.currentStep=e}},d=[{id:"introduction",title:null,selector:".give-section.introduction",label:t.introduction.donate_label,showErrors:!1,tabOrder:[".introduction .advance-btn",".step-tracker"]},{id:"choose-amount",title:t.payment_amount.header_label,selector:".give-section.choose-amount",label:t.payment_amount.next_label,showErrors:!1,tabOrder:["input.give-amount-top",".give-donation-levels-wrap button",".give-recurring-period",".give-recurring-donors-choice-period",".give_fee_mode_checkbox",".choose-amount .advance-btn",".step-tracker",".back-btn"],firstFocus:".give-default-level",setup:function(){var t=e(".give-donation-level-btn").length;1===t?e(".give-donation-levels-wrap").attr("style","display: none!important;"):t%2==0&&t<6&&e(".give-donation-levels-wrap").css("grid-template-columns","repeat(2, minmax(0, 1fr))"),e("#give-amount").on("blur",(function(){Give.form.fn.isValidDonationAmount(e("form"))?e(".advance-btn").attr("disabled",!1):e(".advance-btn").attr("disabled",!0)})),e(".give-donation-level-btn").each((function(){if(!e(this).attr("has-tooltip")){var t=e(this).attr("value"),i=e(this).text(),n=window.give_global_vars.currency_sign,a=window.give_global_vars.currency_pos;if("custom"!==t){var o="before"===a?'<div class="currency currency--before">'.concat(n,"</div>").concat(t):"".concat(t,'<div class="currency currency--after">').concat(n,"</div>");e(this).html(o)}if("custom"!==t&&i!==("before"===a?n+t:t+n)){var r='<span class="give-tooltip hint--top hint--bounce '.concat(i.length<50?"narrow":"",'" style="width: 100%" aria-label="').concat(i.length<50?i:i.substr(0,50)+"...",'" rel="tooltip"></span>');e(this).wrap(r),e(this).attr("has-tooltip",!0)}}}))}},{id:"payment",title:t.payment_information.header_label,label:t.payment_information.checkout_label,selector:".give-section.payment",showErrors:!0,tabOrder:[".payment input, .payment a, .payment button, .payment select, .payment multiselect, .payment textarea, .payment .button",".give-submit",".step-tracker",".back-btn"],firstFocus:"#give-first",setup:function(){e(".give-section.payment").on("click",".give-cancel-login, .give-checkout-register-cancel",h),e(".give-section.payment").on("click touchend",'input[name="give_login_submit"]',(function(){e('input[name="give_login_submit"] + .give-loading-animation').removeClass("give-loading-animation").addClass("sequoia-loader spinning")})),window.give_global_vars.purchase_loading="",e(".give_error").each((function(){p(e(this))})),v({container:".give-recurring-donors-choice",label:".give-recurring-donors-choice label",input:'input[name="give-recurring-period"]'}),v({container:".give-fee-recovery-donors-choice",label:".give-fee-message-label-text",input:'input[name="give_fee_mode_checkbox"]'}),v({container:".give-mailchimp-fieldset",label:".give-mc-message-text",input:'input[name="give_mailchimp_signup"]'}),v({container:".give-constant-contact-fieldset",label:".give-constant-contact-fieldset span",input:'input[name="give_constant_contact_signup"]'}),v({container:"#give_terms_agreement",label:"#give_terms_agreement label",input:'input[name="give_agree_to_terms"]'}),e("body.give-form-templates").on("click touchend",'form.give-form input[name="give-purchase"].give-submit',(function(){e("#give-purchase-button + .give-loading-animation").removeClass("give-loading-animation").addClass("sequoia-loader"),e("form").get(0).checkValidity()&&e(".sequoia-loader").addClass("spinning")})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_maximum",(function(){l.goToStep(1)})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_amount",(function(){l.goToStep(1)})),e("#give-gateway-radio-list li").each((function(){var t;switch(e("input",this).val()){case"manual":t="fas fa-tools";break;case"offline":t="fas fa-wallet";break;case"paypal":t="fab fa-paypal";break;case"stripe":case"stripe_checkout":t="far fa-credit-card";break;case"stripe_sepa":case"stripe_ach":case"stripe_ideal":case"stripe_becs":t="fas fa-university";break;case"paypalpro_payflow":t="far fa-credit-card";break;case"stripe_google_pay":t="fab fa-google";break;case"stripe_apple_pay":t="fab fa-apple";break;default:t="fas fa-hand-holding-heart"}e(this).append('<i class="'.concat(t,'"></i>'))})),new window.MutationObserver((function(t){t.forEach((function(t){if(t.addedNodes)for(var i=0;i<t.addedNodes.length;i++){var n=t.addedNodes[i];if(e(n).children().hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&e(n).children(".give_errors").each((function(){p(e(this))})),e(n).hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&(p(e(n)),e(".sequoia-loader").removeClass("spinning")),"give_tributes_address_state"===e(n).attr("id")){var a=e(n).attr("placeholder");e(n).prepend("<option selected disabled>".concat(a,"</option>"))}if("give_tributes_address_state"===e(n).attr("name")&&e(n).attr("class").includes("give-input")&&e(n).attr("placeholder",e(n).siblings("label").text().trim()),e(n).attr("id")&&e(n).attr("id").includes("give-checkout-login-register")&&e('[id*="give-register-account-fields"]').on("click",m),e(n).prop("tagName")&&"select"===e(n).prop("tagName").toLowerCase()){var o=e(n).attr("placeholder");e(n).prepend('<option value="" disabled selected>'.concat(o,"</option>"))}}}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}}];function p(t){0===e(".donation-errors").length&&e(".payment").prepend('<div class="donation-errors"></div>'),void 0===a()(e(".donation-errors").html())||e(".donation-errors").html().includes(e(t).html())?e(t).remove():e(t).appendTo(".donation-errors")}function u(){0===e("#donate-fieldset").length&&e("#give-payment-mode-select").after('<fieldset id="donate-fieldset"></fieldset>');if([".give-constant-contact-fieldset",".give-mailchimp-fieldset","#give_terms_agreement",".give-donation-submit"].forEach((function(t){0===e("#donate-fieldset ".concat(t)).length?e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t))):e("#donate-fieldset ".concat(t)).html()!==e("#give_purchase_form_wrap ".concat(t)).html()?(e("#donate-fieldset ".concat(t)).remove(),e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t)))):e("#give_purchase_form_wrap ".concat(t)).remove()})),0!==e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]').length){var t=!1;0!==e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').length&&(t=e('input[name="give_fee_mode_checkbox"]').prop("checked"),e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').remove()),e(".choose-amount").append(e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]')),e('input[name="give_fee_mode_checkbox"]').prop("checked",t)}e("li.give-gateway-option-selected").after(e("#give_purchase_form_wrap"));var i="gateway-"+e(".give-gateway-option-selected input").attr("value").replace("_","-");e("#give_purchase_form_wrap").attr("class",i),e("#give-ffm-section").off("click",m),e('[id*="give-register-account-fields"]').off("click",m),e("#give-ffm-section").on("click",m),e('[id*="give-register-account-fields"]').on("click",m),e("#give-ffm-section input").each((function(){switch(e(this).prop("type")){case"checkbox":e(this).prop("checked")?e(this).parent().addClass("checked"):e(this).parent().removeClass("checked");break;case"radio":e(this).prop("checked")?e(this).parent().addClass("selected"):e(this).parent().removeClass("selected")}})),f("#give-first-name-wrap","user"),f("#give-email-wrap","envelope"),f("#give-company-wrap","building"),f("#date_field-wrap","calendar-alt"),f("#url_field-wrap","globe"),f("#phone_field-wrap","phone"),f("#give-phone-wrap","phone"),f("#email_field-wrap","envelope")}function f(t,i){e(t).each((function(){""!==e(this).html()&&!1===e(this).html().includes('<i class="fas fa-'.concat(i,'"></i>'))&&(e(this).prepend('<i class="fas fa-'.concat(i,'"></i>')),e(this).children("input, selector").each((function(){e(this).attr("style","padding-left: 33px!important;")})))}))}function g(){e("select, button, input, textarea, multiselect, a").attr("tabindex",-1),d[l.currentStep].tabOrder.forEach((function(t,i){e(t).attr("tabindex",i+1)}))}function v(t){var i=t.container,n=t.label,a=t.input;!0===e(a).prop("checked")&&e(i).addClass("active"),e(n).on("click touchend",(function(){e(i).toggleClass("active")}))}function m(t){if(e(t.target).is("input"))switch(e(t.target).prop("type")){case"checkbox":e(t.target).parent().toggleClass("checked");break;case"radio":e(t.target).parent().addClass("selected"),e(t.target).parent().siblings().removeClass("selected")}}function h(){e("#give_error_must_log_in").remove()}l.init(),c.length&&"none"!==c.css("display")&&(u(),e(document).on("give_gateway_loaded",(function(){g(),u(),e("#give_purchase_form_wrap").slideDown(200,(function(){s=!1}))})),e(document).on("Give:onPreGatewayLoad",(function(){s=!0,e("#give_purchase_form_wrap").slideUp(200)})),e(document).on("Give:onPreGatewayLoad",(function(){var t=["give_error_test_mode"];e(".give_errors, .give_notices, .give_error").each((function(){t.includes(e(this).attr("id"))||e(this).slideUp(200,(function(){e(this).remove()}))}))})),e(document).on("give_gateway_loaded",(function(t,i,n){2===l.currentStep&&e(".give-form-templates").css("min-height","");var a=e("#".concat(n));if(a.parent().hasClass("give-embed-form")){var o={action:"give_cancel_login",form_id:a.find('[name="give-form-id"]').val()};e.post(Give.fn.getGlobalVar("ajaxurl"),o,(function(t){a.find("[id^=give-checkout-login-register]").replaceWith(e.parseJSON(t.fields)),a.find("[id^=give-checkout-login-register]").css({display:"block"}),a.find(".give-submit-button-wrap").show()})).done((function(){window.give_fl_trigger()}))}})))}(jQuery)}});
|
1 |
+
!function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=710)}({14:function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=i=function(e){return typeof e}:e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}e.exports=i},710:function(e,t,i){i(711),e.exports=i(712)},711:function(e,t,i){},712:function(e,t,i){"use strict";i.r(t);var n=i(14),a=i.n(n);!function(e){var t=window.sequoiaTemplateOptions,i=e(".give-embed-form"),n=e(".advance-btn",i),o=e(".back-btn"),r=e(".give-form-navigator .title"),c=e("#give-payment-mode-select"),s=!1,l={currentStep:"enabled"===t.introduction.enabled?0:1,animating:!1,goToStep:function(n){var a=d[n].title?e(d[n].selector).height()+50:e(d[n].selector).height(),o=d[l.currentStep].title?e(d[l.currentStep].selector).height()+50:e(d[l.currentStep].selector).height();a>o?e(".give-form-templates").css("min-height","".concat(a+123,"px")):setTimeout((function(){e(".give-form-templates").css("min-height","".concat(a+123,"px"))}),200),e(".step-tracker").removeClass("current"),e('.step-tracker[data-step="'+n+'"]').addClass("current"),"disabled"===t.introduction.enabled?(3===e(".step-tracker").length&&e(".step-tracker").remove(),1===(n=n>0?n:1)?e(".back-btn",i).hide():e(".back-btn",i).show(),e(".give-form-navigator",i).addClass("nav-visible"),e(d[n].selector).css("padding-top","50px")):0===n?(e(".give-form-navigator",i).removeClass("nav-visible"),e(d[n].selector).css("padding-top","")):(e(".give-form-navigator",i).addClass("nav-visible"),e(d[n].selector).css("padding-top","50px")),d[n].title&&r.text(d[n].title);var c=d.map((function(e,t){return t===n||t===l.currentStep?null:e.selector})).filter(Boolean).join(", ");if(e(c).hide(),l.currentStep!==n){var s="slide-in-right slide-in-left slide-out-right slide-out-left",p=l.currentStep<n?"left":"right",u=l.currentStep<n?"right":"left";e(d[l.currentStep].selector).removeClass(s).addClass("slide-out-".concat(p)),e(d[n].selector).show().removeClass(s).addClass("slide-in-".concat(u))}l.currentStep=n,f(),setTimeout((function(){d[l.currentStep].firstFocus&&e(d[l.currentStep].firstFocus).focus()}),200)},init:function(){var t,i;d.forEach((function(t){void 0!==t.setup&&t.setup(),e(t.selector).css("position","absolute")})),n.on("click",(function(e){e.preventDefault(),l.forward()})),o.on("click",(function(e){e.preventDefault(),l.back()})),e(".step-tracker").on("click",(function(t){t.preventDefault(),l.goToStep(parseInt(e(t.target).attr("data-step")))})),t=function(t){!1===s?e(".form-footer").css("transition","margin-top 0.2s ease"):e(".form-footer").css("transition",""),e(".form-footer").css("margin-top","".concat(t,"px"))},i=0,window.requestAnimationFrame((function n(){var a=e(d[l.currentStep].selector);i!==e(a).outerHeight()&&(t(e(a).outerHeight()),i=e(a).outerHeight()),window.requestAnimationFrame(n)})),l.goToStep(Give.fn.getParameterByName("showDonationProcessingError")||Give.fn.getParameterByName("showFailedDonationError")?2:0)},back:function(){var e=0!==l.currentStep?l.currentStep-1:0;l.goToStep(e),l.currentStep=e},forward:function(){var e=null!==l.currentStep?l.currentStep+1:1;l.goToStep(e),l.currentStep=e}},d=[{id:"introduction",title:null,selector:".give-section.introduction",label:t.introduction.donate_label,showErrors:!1,tabOrder:[".introduction .advance-btn",".step-tracker"]},{id:"choose-amount",title:t.payment_amount.header_label,selector:".give-section.choose-amount",label:t.payment_amount.next_label,showErrors:!1,tabOrder:["input.give-amount-top",".give-donation-levels-wrap button",".give-recurring-period",".give-recurring-donors-choice-period",".give_fee_mode_checkbox",".choose-amount .advance-btn",".step-tracker",".back-btn"],firstFocus:".give-default-level",setup:function(){var t=e(".give-donation-level-btn").length;1===t?e(".give-donation-levels-wrap").attr("style","display: none!important;"):t%2==0&&t<6&&e(".give-donation-levels-wrap").css("grid-template-columns","repeat(2, minmax(0, 1fr))"),e("#give-amount").on("blur",(function(){Give.form.fn.isValidDonationAmount(e("form"))?e(".advance-btn").attr("disabled",!1):e(".advance-btn").attr("disabled",!0)})),e(".give-donation-level-btn").each((function(){if(!e(this).attr("has-tooltip")){var t=e(this).attr("value"),i=e(this).text(),n=window.give_global_vars.currency_sign,a=window.give_global_vars.currency_pos;if("custom"!==t){var o="before"===a?'<div class="currency currency--before">'.concat(n,"</div>").concat(t):"".concat(t,'<div class="currency currency--after">').concat(n,"</div>");e(this).html(o)}if("custom"!==t&&i!==("before"===a?n+t:t+n)){var r='<span class="give-tooltip hint--top hint--bounce '.concat(i.length<50?"narrow":"",'" style="width: 100%" aria-label="').concat(i.length<50?i:i.substr(0,50)+"...",'" rel="tooltip"></span>');e(this).wrap(r),e(this).attr("has-tooltip",!0)}}}))}},{id:"payment",title:t.payment_information.header_label,label:t.payment_information.checkout_label,selector:".give-section.payment",showErrors:!0,tabOrder:[".payment input, .payment a, .payment button, .payment select, .payment multiselect, .payment textarea, .payment .button",".give-submit",".step-tracker",".back-btn"],firstFocus:"#give-first",setup:function(){e(".give-section.payment").on("click",".give-cancel-login, .give-checkout-register-cancel",h),e(".give-section.payment").on("click touchend",'input[name="give_login_submit"]',(function(){e('input[name="give_login_submit"] + .give-loading-animation').removeClass("give-loading-animation").addClass("sequoia-loader spinning")})),window.give_global_vars.purchase_loading="",e(".give_error").each((function(){p(e(this))})),v({container:"#give-anonymous-donation-wrap label",label:"#give-anonymous-donation-wrap label",input:"#give-anonymous-donation"}),v({container:".give-recurring-donors-choice",label:".give-recurring-donors-choice label",input:'input[name="give-recurring-period"]'}),v({container:".give-fee-recovery-donors-choice",label:".give-fee-message-label-text",input:'input[name="give_fee_mode_checkbox"]'}),v({container:".give-mailchimp-fieldset",label:".give-mc-message-text",input:'input[name="give_mailchimp_signup"]'}),v({container:".give-constant-contact-fieldset",label:".give-constant-contact-fieldset span",input:'input[name="give_constant_contact_signup"]'}),v({container:"#give_terms_agreement",label:"#give_terms_agreement label",input:'input[name="give_agree_to_terms"]'}),e("body.give-form-templates").on("click touchend",'form.give-form input[name="give-purchase"].give-submit',(function(){e("#give-purchase-button + .give-loading-animation").removeClass("give-loading-animation").addClass("sequoia-loader"),e("form").get(0).checkValidity()&&e(".sequoia-loader").addClass("spinning")})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_maximum",(function(){l.goToStep(1)})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_amount",(function(){l.goToStep(1)})),e("#give-gateway-radio-list li").each((function(){var t;switch(e("input",this).val()){case"manual":t="fas fa-tools";break;case"offline":t="fas fa-wallet";break;case"paypal":t="fab fa-paypal";break;case"stripe":case"stripe_checkout":t="far fa-credit-card";break;case"stripe_sepa":case"stripe_ach":case"stripe_ideal":case"stripe_becs":t="fas fa-university";break;case"paypalpro_payflow":t="far fa-credit-card";break;case"stripe_google_pay":t="fab fa-google";break;case"stripe_apple_pay":t="fab fa-apple";break;default:t="fas fa-hand-holding-heart"}e(this).append('<i class="'.concat(t,'"></i>'))})),new window.MutationObserver((function(t){t.forEach((function(t){if(t.addedNodes)for(var i=0;i<t.addedNodes.length;i++){var n=t.addedNodes[i];if(e(n).find(".give_error").length>0&&p(e(n).find(".give_error")),e(n).children().hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&e(n).children(".give_errors").each((function(){p(e(this))})),e(n).hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&(p(e(n)),e(".sequoia-loader").removeClass("spinning")),"give_tributes_address_state"===e(n).attr("id")){var a=e(n).attr("placeholder");e(n).prepend("<option selected disabled>".concat(a,"</option>"))}if("give_tributes_address_state"===e(n).attr("name")&&e(n).attr("class").includes("give-input")&&e(n).attr("placeholder",e(n).siblings("label").text().trim()),e(n).attr("id")&&e(n).attr("id").includes("give-checkout-login-register")&&e('[id*="give-register-account-fields"]').on("click",m),e(n).prop("tagName")&&"select"===e(n).prop("tagName").toLowerCase()){var o=e(n).attr("placeholder");e(n).prepend('<option value="" disabled selected>'.concat(o,"</option>"))}}}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}}];function p(t){e(t).parent().hasClass("give-stripe-payment-request-button")||(0===e(".donation-errors").length&&e(".payment").prepend('<div class="donation-errors"></div>'),void 0===a()(e(".donation-errors").html())||e(".donation-errors").html().includes(e(t).html())?e(t).remove():e(t).appendTo(".donation-errors"))}function u(){0===e("#donate-fieldset").length&&e("#give-payment-mode-select").after('<fieldset id="donate-fieldset"></fieldset>');if([".give-constant-contact-fieldset",".give-mailchimp-fieldset","#give_terms_agreement",".give-donation-submit"].forEach((function(t){0===e("#donate-fieldset ".concat(t)).length?e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t))):e("#donate-fieldset ".concat(t)).html()!==e("#give_purchase_form_wrap ".concat(t)).html()?(e("#donate-fieldset ".concat(t)).remove(),e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t)))):e("#give_purchase_form_wrap ".concat(t)).remove()})),0!==e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]').length){var t=!1;0!==e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').length&&(t=e('input[name="give_fee_mode_checkbox"]').prop("checked"),e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').remove()),e(".choose-amount").append(e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]')),e('input[name="give_fee_mode_checkbox"]').prop("checked",t)}e("li.give-gateway-option-selected").after(e("#give_purchase_form_wrap"));var i="gateway-"+e(".give-gateway-option-selected input").attr("value").replace("_","-");e("#give_purchase_form_wrap").attr("class",i),e("#give-ffm-section").off("click",m),e('[id*="give-register-account-fields"]').off("click",m),e("#give-ffm-section").on("click",m),e('[id*="give-register-account-fields"]').on("click",m),e("#give-ffm-section input").each((function(){switch(e(this).prop("type")){case"checkbox":e(this).prop("checked")?e(this).parent().addClass("checked"):e(this).parent().removeClass("checked");break;case"radio":e(this).prop("checked")?e(this).parent().addClass("selected"):e(this).parent().removeClass("selected")}})),g("#give-first-name-wrap","user"),g("#give-email-wrap","envelope"),g("#give-company-wrap","building"),g("#date_field-wrap","calendar-alt"),g("#url_field-wrap","globe"),g("#phone_field-wrap","phone"),g("#give-phone-wrap","phone"),g("#email_field-wrap","envelope")}function g(t,i){e(t).each((function(){""!==e(this).html()&&!1===e(this).html().includes('<i class="fas fa-'.concat(i,'"></i>'))&&(e(this).prepend('<i class="fas fa-'.concat(i,'"></i>')),e(this).children("input, selector").each((function(){e(this).attr("style","padding-left: 33px!important;")})))}))}function f(){e("select, button, input, textarea, multiselect, a").attr("tabindex",-1),d[l.currentStep].tabOrder.forEach((function(t,i){e(t).attr("tabindex",i+1)}))}function v(t){var i=t.container,n=t.label,a=t.input;!0===e(a).prop("checked")&&e(i).addClass("active"),e(n).on("click touchend",(function(t){i===n&&(t.stopPropagation(),t.preventDefault()),e(i).toggleClass("active")}))}function m(t){if(e(t.target).is("input"))switch(e(t.target).prop("type")){case"checkbox":e(t.target).parent().toggleClass("checked");break;case"radio":e(t.target).parent().addClass("selected"),e(t.target).parent().siblings().removeClass("selected")}}function h(){e("#give_error_must_log_in").remove()}function b(){e('select option[selected="selected"][value=""]').length>0&&e('select option[selected="selected"][value=""]').each((function(){e(this).parent().siblings("label").length&&(e(this).text(e(this).parent().siblings("label").text().replace("*","").trim()),e(this).attr("disabled",!0))}))}l.init(),c.length&&"none"!==c.css("display")?(u(),e(document).on("give_gateway_loaded",(function(){f(),u(),b(),e("#give_purchase_form_wrap").slideDown(200,(function(){s=!1}))})),e(document).on("Give:onPreGatewayLoad",(function(){s=!0,e("#give_purchase_form_wrap").slideUp(200)})),e(document).on("Give:onPreGatewayLoad",(function(){var t=["give_error_test_mode"];e(".give_errors, .give_notices, .give_error").each((function(){t.includes(e(this).attr("id"))||e(this).slideUp(200,(function(){e(this).remove()}))}))})),e(document).on("give_gateway_loaded",(function(t,i,n){2===l.currentStep&&e(".give-form-templates").css("min-height","");var a=e("#".concat(n));if(a.parent().hasClass("give-embed-form")){var o={action:"give_cancel_login",form_id:a.find('[name="give-form-id"]').val()};e.post(Give.fn.getGlobalVar("ajaxurl"),o,(function(t){a.find("[id^=give-checkout-login-register]").replaceWith(e.parseJSON(t.fields)),a.find("[id^=give-checkout-login-register]").css({display:"block"}),a.find(".give-submit-button-wrap").show()})).done((function(){window.give_fl_trigger()}))}}))):(e("#give_purchase_form_wrap").addClass("give-single-gateway-wrap"),b())}(jQuery)}});
|
assets/dist/js/gutenberg.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!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=844)}({105:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},14:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},19:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},22:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},24:function(e,t,n){var r=n(105);e.exports=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}}),t&&r(e,t)}},30:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},46:function(e,t,n){var r=n(14),o=n(19);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},6:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},697:function(e,t,n){},698:function(e,t,n){},699:function(e,t){e.exports=lodash},700:function(e,t,n){},701:function(e,t,n){},844:function(e,t,n){"use strict";n.r(t);n(697);var r=function(e){var t,n=e.size,r=void 0===n?"24px":n,o=e.color,a=e.className;switch(o){case"white":t="#FFFFFF";break;case"grey":t="#555d66";break;default:t="#66BB6A"}return wp.element.createElement("svg",{id:"Layer_1",width:r,height:r,className:a,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"100 0 404 400"},wp.element.createElement("g",{id:"Layer_2"},wp.element.createElement("circle",{fill:t,cx:"300",cy:"200",r:"200"}),wp.element.createElement("defs",null,wp.element.createElement("circle",{id:"SVGID_1_",cx:"300",cy:"200",r:"200"})),wp.element.createElement("clippath",{id:"SVGID_2_"},wp.element.createElement("use",{xlinkHref:"#SVGID_1_",overflow:"visible"})),wp.element.createElement("path",{clipPath:"url(#SVGID_2_)",fill:"#FFF",d:"M328.5,214.2c0.8,1.8,2.5,3.3,2.5,3.3c35.4,4.3,85.5-0.5,123.7-5.6 c-21.9,47.1-61.1,78.4-96.9,78.4c-67.4,0-119.3-81.7-119.3-81.7c20.9-18.3,55.2-78.4,104.8-78.4s71.2,27.2,71.2,27.2l5.6-8.9 c0,0-23.2-81.2-88.8-81.2S195.9,175.1,155.2,199.7c0,0,56,132.8,178.6,132.8c102.8,0,128.8-98.2,133.6-122.6 c13.7-2,25.2-4.1,32.6-5.3c2.5-5.6,5.3-15.5,3.3-28.8c-41,15.8-103.1,33.6-175.8,33.6C327.2,209.4,327.5,212,328.5,214.2z"})))},o={id:{type:"number",default:0},prevId:{type:"number"},displayStyle:{type:"string",default:"onpage"},continueButtonTitle:{type:"string",default:""},showTitle:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},contentDisplay:{type:"boolean",default:!0},showContent:{type:"string",default:"above"}},a=n(6),l=n.n(a),i=(n(698),n(699),n(700),wp.i18n.__),c=function(){return wp.element.createElement("p",{className:"give-blank-slate__help"},"Need help? Get started with ",wp.element.createElement("a",{href:"http://docs.givewp.com/give101/",target:"_blank",rel:"noopener noreferrer"},i("GiveWP 101")))},s=(n(701),function(){return wp.element.createElement("div",{className:"placeholder-animation"},wp.element.createElement("div",{className:"timeline-wrapper"},wp.element.createElement("div",{className:"timeline-item"},wp.element.createElement("div",{className:"animated-background"},wp.element.createElement("div",{className:"layer label layer-4"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap small"}),wp.element.createElement("div",{className:"layer h2 layer-5"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap medium"}),wp.element.createElement("div",{className:"layer label layer-6"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap small"}),wp.element.createElement("div",{className:"layer h2 layer-7"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap medium"}),wp.element.createElement("div",{className:"layer-gap medium"}),wp.element.createElement("div",{className:"layer h1 layer-8"},wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"}))))))}),u=(wp.i18n.__,function(e){var t=e.noIcon,n=e.isLoader,o=e.title,a=e.description,l=e.children,i=e.helpLink,u=wp.element.createElement(s,null),m=wp.element.createElement("div",{className:"block-loaded"},!!o&&wp.element.createElement("h3",{className:"give-blank-slate__heading"},o),!!a&&wp.element.createElement("p",{className:"give-blank-slate__message"},a),l,!!i&&wp.element.createElement(c,null));return wp.element.createElement("div",{className:"give-blank-slate"},!t&&wp.element.createElement(r,{size:"80",className:"give-blank-slate__image"}),n?u:m)}),m=wp.i18n.__;function p(e){var t=[];return e&&(t=e.map((function(e){var t=e.id,n=e.title.rendered;return{value:t,label:""===n?"".concat(t," : ").concat(m("No form title")):n}}))),t.unshift({value:"0",label:m("-- Select Form --")}),t}var d=wp.i18n.__,f=wp.components.Button,w=function(){return wp.element.createElement(u,{title:d("No donation forms found."),description:d("The first step towards accepting online donations is to create a form."),helpLink:!0},wp.element.createElement(f,{isPrimary:!0,isLarge:!0,className:"give-blank-slate__cta",href:"".concat(wpApiSettings.root.replace("/wp-json/",""),"/wp-admin/post-new.php?post_type=give_forms")},d("Create Donation Form")))},y=n(9),h=n.n(y),v=n(22),g=n.n(v),b=n(19),E=n.n(b),C=n(24),_=n.n(C),S=n(46),O=n.n(S),D=n(30),k=n.n(D);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}var T=wp.element.Component,N=wp.components.BaseControl,j=function(e){_()(n,e);var t=P(n);function n(e){var r;return h()(this,n),(r=t.call(this,e)).saveSetting=r.saveSetting.bind(E()(r)),r.saveState=r.saveState.bind(E()(r)),r}return g()(n,[{key:"saveSetting",value:function(e,t){this.props.setAttributes(l()({},e,t))}},{key:"saveState",value:function(e,t){this.setState(l()({},e,t))}},{key:"componentDidMount",value:function(){var e=this.props.value;this.$el=jQuery(this.el),this.$el.val(e),this.$input=this.$el.chosen({width:"100%"}).data("chosen"),this.handleChange=this.handleChange.bind(this),this.$el.on("change",this.handleChange)}},{key:"componentWillUnmount",value:function(){this.$el.off("change",this.handleChange),this.$el.chosen("destroy")}},{key:"handleChange",value:function(e){this.props.onChange(e.target.value)}},{key:"componentDidUpdate",value:function(){var e=jQuery(".chosen-base-control").closest(".chosen-container").find(".chosen-search-input");this.$input.search_field.autocomplete({source:function(t,n){var r={action:"give_block_donation_form_search_results",search:t.term};jQuery.post(ajaxurl,r,(function(r){jQuery(".give-block-chosen-select").empty(),(r=JSON.parse(r)).length>0&&(n(jQuery.map(r,(function(e){jQuery(".give-block-chosen-select").append('<option value="'+e.id+'">'+e.name+"</option>")}))),jQuery(".give-block-chosen-select").trigger("chosen:updated"),e.val(t.term))}))}})}},{key:"render",value:function(){var e=this;return wp.element.createElement(N,{className:"give-chosen-base-control"},wp.element.createElement("select",{className:"give-select give-select-chosen give-block-chosen-select",ref:function(t){return e.el=t}},this.props.options.map((function(e,t){return wp.element.createElement("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}}]),n}(T),x=wp.i18n.__,F=wp.data.withSelect,B=wp.components,I=B.Placeholder,A=B.Spinner,G=F((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))((function(e){var t=e.forms,n=e.setAttributes;return t?t&&0===t.length?wp.element.createElement(w,null):wp.element.createElement(u,{title:x("Donation Form")},wp.element.createElement(j,{className:"give-blank-slate__select",options:p(t),onChange:function(e){n({id:Number(e)})},value:0})):wp.element.createElement(I,null,wp.element.createElement(A,null))})),R=wp.i18n.__,M={};M.displayStyles=[{value:"onpage",label:R("Full Form")},{value:"modal",label:R("Modal")},{value:"reveal",label:R("Reveal")},{value:"button",label:R("One Button Launch")}],M.contentPosition=[{value:"above",label:R("Above")},{value:"below",label:R("Below")}];var L=M;function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}var W=wp.i18n.__,$=wp.blockEditor.InspectorControls,z=wp.components,Q=z.Dashicon,V=z.Button,U=z.PanelBody,H=z.SelectControl,J=z.ToggleControl,X=z.TextControl,K=wp.element.Component,Y=wp.data.withSelect,Z=function(e){_()(n,e);var t=q(n);function n(e){var r;return h()(this,n),(r=t.call(this,e)).state={continueButtonTitle:r.props.attributes.continueButtonTitle},r.saveSetting=r.saveSetting.bind(E()(r)),r.saveState=r.saveState.bind(E()(r)),r}return g()(n,[{key:"saveSetting",value:function(e,t){this.props.setAttributes(l()({},e,t))}},{key:"saveState",value:function(e,t){this.setState(l()({},e,t))}},{key:"render",value:function(){var e=this,t=this.props.forms,n=this.props.attributes,r=n.id,o=n.displayStyle,a=n.showTitle,l=n.showGoal,i=n.showContent,c=n.contentDisplay;return wp.element.createElement($,{key:"inspector"},wp.element.createElement(U,{title:W("Donation Form Settings")},wp.element.createElement(V,{isDefault:!0,onClick:function(){return e.saveSetting("id",0)},className:"give-change-donation-form-btn"},wp.element.createElement(Q,{icon:"edit"})," ",W("Change Donation Form"))),function(e,t){if(e){var n=e.find((function(e){return parseInt(e.id)===parseInt(t)}));return n&&(!n.formTemplate||"legacy"===n.formTemplate)}return!1}(t,r)&&wp.element.createElement("div",null,wp.element.createElement(U,{title:W("Display")},wp.element.createElement(H,{label:W("Form Format"),name:"displayStyle",value:o,options:L.displayStyles,onChange:function(t){return e.saveSetting("displayStyle",t)}}),"reveal"===o&&wp.element.createElement(X,{name:"continueButtonTitle",label:W("Continue Button Title"),value:this.state.continueButtonTitle,onChange:function(t){return e.saveState("continueButtonTitle",t)},onBlur:function(t){return e.saveSetting("continueButtonTitle",t.target.value)}})),wp.element.createElement(U,{title:W("Settings")},wp.element.createElement(J,{label:W("Title"),name:"showTitle",checked:!!a,onChange:function(t){return e.saveSetting("showTitle",t)}}),wp.element.createElement(J,{label:W("Goal"),name:"showGoal",checked:!!l,onChange:function(t){return e.saveSetting("showGoal",t)}}),wp.element.createElement(J,{label:W("Content"),name:"contentDisplay",checked:!!c,onChange:function(t){return e.saveSetting("contentDisplay",t)}}),c&&wp.element.createElement(H,{label:W("Content Position"),name:"showContent",value:i,options:L.contentPosition,onChange:function(t){return e.saveSetting("showContent",t)}}))))}}]),n}(K),ee=Y((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))(Z);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=wp.serverSideRender,oe=function(e){var t=e.attributes,n=e.isSelected,r=e.className;return t.id?wp.element.createElement("div",{className:n?"".concat(r," isSelected"):r},wp.element.createElement(ee,ne({},e)),wp.element.createElement(re,{block:"give/donation-form",attributes:t})):wp.element.createElement(G,ne({},e))},ae=wp.i18n.__,le=((0,wp.blocks.registerBlockType)("give/donation-form",{title:ae("Donation Form"),description:ae("The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form's presentation can be customized below."),category:"give",icon:wp.element.createElement(r,{color:"grey"}),keywords:[ae("donation")],supports:{html:!1},attributes:o,edit:oe,save:function(){return null}}),{formsPerPage:{type:"string",default:"12"},formIDs:{type:"string",default:""},excludedFormIDs:{type:"string",default:""},orderBy:{type:"string",default:"date"},order:{type:"string",default:"DESC"},categories:{type:"string",default:""},tags:{type:"string",default:""},columns:{type:"string",default:"best-fit"},showTitle:{type:"boolean",default:!0},showExcerpt:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},showFeaturedImage:{type:"boolean",default:!0},displayType:{type:"string",default:"redirect"}}),ie=wp.i18n.__,ce={};ce.orderBy=[{value:"date",label:ie("Date Created")},{value:"title",label:ie("Form Name")},{value:"amount_donated",label:ie("Amount Donated")},{value:"number_donations",label:ie("Number of Donations")},{value:"menu_order",label:ie("Menu Order")},{value:"post__in",label:ie("Provided Form IDs")},{value:"closest_to_goal",label:ie("Closest To Goal")}],ce.order=[{value:"DESC",label:ie("Descending")},{value:"ASC",label:ie("Ascending")}],ce.columns=[{value:"best-fit",label:ie("Best Fit")},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"}],ce.displayType=[{value:"redirect",label:ie("Redirect")},{value:"modal_reveal",label:ie("Modal")}];var se=ce,ue=wp.i18n.__,me=wp.blockEditor.InspectorControls,pe=wp.components,de=pe.PanelBody,fe=pe.SelectControl,we=pe.ToggleControl,ye=pe.TextControl,he=function(e){var t=e.attributes,n=e.setAttributes,r=t.formsPerPage,o=t.formIDs,a=t.excludedFormIDs,i=t.orderBy,c=t.order,s=t.categories,u=t.tags,m=t.columns,p=t.showTitle,d=t.showExcerpt,f=t.showGoal,w=t.showFeaturedImage,y=t.displayType,h=function(e,t){n(l()({},e,t))};return wp.element.createElement(me,{key:"inspector"},wp.element.createElement(de,{title:ue("Form Grid Settings")},wp.element.createElement(ye,{name:"formsPerPage",label:ue("Forms Per Page"),value:r,onChange:function(e){return h("formsPerPage",e)}}),wp.element.createElement(ye,{name:"formIDs",label:ue("Form IDs"),value:o,onChange:function(e){return h("formIDs",e)}}),wp.element.createElement(ye,{name:"excludedFormIDs",label:ue("Excluded Form IDs"),value:a,onChange:function(e){return h("excludedFormIDs",e)}}),wp.element.createElement(fe,{label:ue("Order By"),name:"orderBy",value:i,options:se.orderBy,onChange:function(e){return h("orderBy",e)}}),wp.element.createElement(fe,{label:ue("Order"),name:"order",value:c,options:se.order,onChange:function(e){return h("order",e)}}),wp.element.createElement(ye,{name:"categories",label:ue("Categories"),value:s,onChange:function(e){return h("categories",e)}}),wp.element.createElement(ye,{name:"tags",label:ue("Tags"),value:u,onChange:function(e){return h("tags",e)}}),wp.element.createElement(fe,{label:ue("Columns"),name:"columns",value:m,options:se.columns,onChange:function(e){return h("columns",e)}}),wp.element.createElement(we,{name:"showTitle",label:ue("Show Title"),checked:!!p,onChange:function(e){return h("showTitle",e)}}),wp.element.createElement(we,{name:"showExcerpt",label:ue("Show Excerpt"),checked:!!d,onChange:function(e){return h("showExcerpt",e)}}),wp.element.createElement(we,{name:"showGoal",label:ue("Show Goal"),checked:!!f,onChange:function(e){return h("showGoal",e)}}),wp.element.createElement(we,{name:"showFeaturedImage",label:ue("Show Featured Image"),checked:!!w,onChange:function(e){return h("showFeaturedImage",e)}}),wp.element.createElement(fe,{label:ue("Display Type"),name:"displayType",value:y,options:se.displayType,onChange:function(e){return h("displayType",e)}})))};function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ge=wp.element.Fragment,be=wp.serverSideRender,Ee=(0,wp.data.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms")}}))((function(e){var t=e.attributes;return wp.element.createElement(ge,null,wp.element.createElement(he,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),wp.element.createElement(be,{block:"give/donation-form-grid",attributes:t}))})),Ce=wp.i18n.__,_e=((0,wp.blocks.registerBlockType)("give/donation-form-grid",{title:Ce("Donation Form Grid"),description:Ce("The GiveWP Donation Form Grid block insert an existing donation form into the page. Each form's presentation can be customized below."),category:"give",icon:wp.element.createElement(r,{color:"grey"}),keywords:[Ce("donation"),Ce("grid")],supports:{html:!1},attributes:le,edit:Ee,save:function(){return null}}),wp.i18n.__),Se={donorsPerPage:{type:"string",default:"12"},formID:{type:"string",default:"0"},orderBy:{type:"string",default:"post_date"},order:{type:"string",default:"DESC"},paged:{type:"string",default:"1"},columns:{type:"string",default:"best-fit"},showAvatar:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showTotal:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0},showAnonymous:{type:"boolean",default:!0},onlyComments:{type:"boolean",default:!1},commentLength:{type:"string",default:"140"},readMoreText:{type:"string",default:_e("Read more")},loadMoreText:{type:"string",default:_e("Load more")},avatarSize:{type:"string",default:"60"}},Oe=wp.i18n.__,De={};De.columns=[{value:"best-fit",label:Oe("Best Fit")},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"}],De.order=[{value:"DESC",label:Oe("Descending")},{value:"ASC",label:Oe("Ascending")}],De.orderBy=[{value:"donation_amount",label:Oe("Donation Amount")},{value:"post_date",label:Oe("Date Created")}];var ke=De,Pe=wp.i18n.__,Te=wp.blockEditor.InspectorControls,Ne=wp.components,je=Ne.PanelBody,xe=Ne.SelectControl,Fe=Ne.ToggleControl,Be=Ne.TextControl,Ie=function(e){var t=e.attributes,n=e.setAttributes,r=t.donorsPerPage,o=t.formID,a=t.orderBy,i=t.order,c=t.columns,s=t.showAvatar,u=t.showName,m=t.showTotal,p=t.showDate,d=t.showComments,f=t.showAnonymous,w=t.onlyComments,y=t.commentLength,h=t.readMoreText,v=t.loadMoreText,g=function(e,t){n(l()({},e,t))};return wp.element.createElement(Te,{key:"inspector"},wp.element.createElement(je,{title:Pe("Donor Wall Settings")},wp.element.createElement(Be,{name:"donorsPerPage",label:Pe("Donors Per Page"),value:r,onChange:function(e){return g("donorsPerPage",e)}}),wp.element.createElement(Be,{name:"formID",label:Pe("Form ID"),value:o,onChange:function(e){return g("formID",e)}}),wp.element.createElement(xe,{label:Pe("Order By"),name:"orderBy",value:a,options:ke.orderBy,onChange:function(e){return g("orderBy",e)}}),wp.element.createElement(xe,{label:Pe("Order"),name:"order",value:i,options:ke.order,onChange:function(e){return g("order",e)}}),wp.element.createElement(xe,{label:Pe("Columns"),name:"columns",value:c,options:ke.columns,onChange:function(e){return g("columns",e)}}),wp.element.createElement(Fe,{name:"showAvatar",label:Pe("Show Avatar"),checked:!!s,onChange:function(e){return g("showAvatar",e)}}),wp.element.createElement(Fe,{name:"showName",label:Pe("Show Name"),checked:!!u,onChange:function(e){return g("showName",e)}}),wp.element.createElement(Fe,{name:"showTotal",label:Pe("Show Total"),checked:!!m,onChange:function(e){return g("showTotal",e)}}),wp.element.createElement(Fe,{name:"showDate",label:Pe("Show Time"),checked:!!p,onChange:function(e){return g("showDate",e)}}),wp.element.createElement(Fe,{name:"showComments",label:Pe("Show Comments"),checked:!!d,onChange:function(e){return g("showComments",e)}}),wp.element.createElement(Fe,{name:"showAnonymous",label:Pe("Show Anonymous"),checked:!!f,onChange:function(e){return g("showAnonymous",e)}}),wp.element.createElement(Fe,{name:"onlyComments",label:Pe("Only Donors with Comments"),checked:!!w,onChange:function(e){return g("onlyComments",e)}}),wp.element.createElement(Be,{name:"commentLength",label:Pe("Comment Length"),value:y,onChange:function(e){return g("commentLength",e)}}),wp.element.createElement(Be,{name:"readMoreText",label:Pe("Read More Text"),value:h,onChange:function(e){return g("readMoreText",e)}}),wp.element.createElement(Be,{name:"loadMoreText",label:Pe("Load More Text"),value:v,onChange:function(e){return g("loadMoreText",e)}})))};function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ge=wp.element.Fragment,Re=wp.serverSideRender,Me=function(e){var t=e.attributes;return wp.element.createElement(Ge,null,wp.element.createElement(Ie,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),wp.element.createElement(Re,{block:"give/donor-wall",attributes:t}))},Le=wp.i18n.__;(0,wp.blocks.registerBlockType)("give/donor-wall",{title:Le("Donor Wall"),description:Le("The GiveWP Donor Wall block inserts an existing donation form into the page. Each form's presentation can be customized below."),category:"give",icon:wp.element.createElement(r,{color:"grey"}),keywords:[Le("donation"),Le("wall")],supports:{html:!1},attributes:Se,edit:Me,save:function(){return null}})},9:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}});
|
1 |
+
!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=844)}({105:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},14:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},19:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},22:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},24:function(e,t,n){var r=n(105);e.exports=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}}),t&&r(e,t)}},30:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},46:function(e,t,n){var r=n(14),o=n(19);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},6:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},697:function(e,t,n){},698:function(e,t,n){},699:function(e,t){e.exports=lodash},700:function(e,t,n){},701:function(e,t,n){},844:function(e,t,n){"use strict";n.r(t);n(697);var r=function(e){var t,n=e.size,r=void 0===n?"24px":n,o=e.color,a=e.className;switch(o){case"white":t="#FFFFFF";break;case"grey":t="#555d66";break;default:t="#66BB6A"}return wp.element.createElement("svg",{id:"Layer_1",width:r,height:r,className:a,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"100 0 404 400"},wp.element.createElement("g",{id:"Layer_2"},wp.element.createElement("circle",{fill:t,cx:"300",cy:"200",r:"200"}),wp.element.createElement("defs",null,wp.element.createElement("circle",{id:"SVGID_1_",cx:"300",cy:"200",r:"200"})),wp.element.createElement("clippath",{id:"SVGID_2_"},wp.element.createElement("use",{xlinkHref:"#SVGID_1_",overflow:"visible"})),wp.element.createElement("path",{clipPath:"url(#SVGID_2_)",fill:"#FFF",d:"M328.5,214.2c0.8,1.8,2.5,3.3,2.5,3.3c35.4,4.3,85.5-0.5,123.7-5.6 c-21.9,47.1-61.1,78.4-96.9,78.4c-67.4,0-119.3-81.7-119.3-81.7c20.9-18.3,55.2-78.4,104.8-78.4s71.2,27.2,71.2,27.2l5.6-8.9 c0,0-23.2-81.2-88.8-81.2S195.9,175.1,155.2,199.7c0,0,56,132.8,178.6,132.8c102.8,0,128.8-98.2,133.6-122.6 c13.7-2,25.2-4.1,32.6-5.3c2.5-5.6,5.3-15.5,3.3-28.8c-41,15.8-103.1,33.6-175.8,33.6C327.2,209.4,327.5,212,328.5,214.2z"})))},o={id:{type:"number",default:0},prevId:{type:"number"},displayStyle:{type:"string",default:"onpage"},continueButtonTitle:{type:"string",default:""},showTitle:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},contentDisplay:{type:"boolean",default:!0},showContent:{type:"string",default:"above"}},a=n(6),l=n.n(a),i=(n(698),n(699),n(700),wp.i18n.__),c=function(){return wp.element.createElement("p",{className:"give-blank-slate__help"},"Need help? Get started with ",wp.element.createElement("a",{href:"http://docs.givewp.com/give101/",target:"_blank",rel:"noopener noreferrer"},i("GiveWP 101")))},s=(n(701),function(){return wp.element.createElement("div",{className:"placeholder-animation"},wp.element.createElement("div",{className:"timeline-wrapper"},wp.element.createElement("div",{className:"timeline-item"},wp.element.createElement("div",{className:"animated-background"},wp.element.createElement("div",{className:"layer label layer-4"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap small"}),wp.element.createElement("div",{className:"layer h2 layer-5"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap medium"}),wp.element.createElement("div",{className:"layer label layer-6"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap small"}),wp.element.createElement("div",{className:"layer h2 layer-7"},wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"})),wp.element.createElement("div",{className:"layer-gap medium"}),wp.element.createElement("div",{className:"layer-gap medium"}),wp.element.createElement("div",{className:"layer h1 layer-8"},wp.element.createElement("div",{className:"layer-item opaque"}),wp.element.createElement("div",{className:"layer-item"}),wp.element.createElement("div",{className:"layer-item opaque"}))))))}),u=(wp.i18n.__,function(e){var t=e.noIcon,n=e.isLoader,o=e.title,a=e.description,l=e.children,i=e.helpLink,u=wp.element.createElement(s,null),m=wp.element.createElement("div",{className:"block-loaded"},!!o&&wp.element.createElement("h3",{className:"give-blank-slate__heading"},o),!!a&&wp.element.createElement("p",{className:"give-blank-slate__message"},a),l,!!i&&wp.element.createElement(c,null));return wp.element.createElement("div",{className:"give-blank-slate"},!t&&wp.element.createElement(r,{size:"80",className:"give-blank-slate__image"}),n?u:m)}),m=wp.i18n.__;function p(e){var t=[];return e&&(t=e.map((function(e){var t=e.id,n=e.title.rendered;return{value:t,label:""===n?"".concat(t," : ").concat(m("No form title")):n}}))),t.unshift({value:"0",label:m("-- Select Form --")}),t}var d=wp.i18n.__,f=wp.components.Button,w=function(){return wp.element.createElement(u,{title:d("No donation forms found."),description:d("The first step towards accepting online donations is to create a form."),helpLink:!0},wp.element.createElement(f,{isPrimary:!0,isLarge:!0,className:"give-blank-slate__cta",href:"".concat(wpApiSettings.root.replace("/wp-json/",""),"/wp-admin/post-new.php?post_type=give_forms")},d("Create Donation Form")))},y=n(9),h=n.n(y),v=n(22),g=n.n(v),b=n(19),E=n.n(b),C=n(24),_=n.n(C),S=n(46),O=n.n(S),D=n(30),k=n.n(D);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}var T=wp.element.Component,N=wp.components.BaseControl,j=function(e){_()(n,e);var t=P(n);function n(e){var r;return h()(this,n),(r=t.call(this,e)).saveSetting=r.saveSetting.bind(E()(r)),r.saveState=r.saveState.bind(E()(r)),r}return g()(n,[{key:"saveSetting",value:function(e,t){this.props.setAttributes(l()({},e,t))}},{key:"saveState",value:function(e,t){this.setState(l()({},e,t))}},{key:"componentDidMount",value:function(){var e=this.props.value;this.$el=jQuery(this.el),this.$el.val(e),this.$input=this.$el.chosen({width:"100%"}).data("chosen"),this.handleChange=this.handleChange.bind(this),this.$el.on("change",this.handleChange)}},{key:"componentWillUnmount",value:function(){this.$el.off("change",this.handleChange),this.$el.chosen("destroy")}},{key:"handleChange",value:function(e){this.props.onChange(e.target.value)}},{key:"componentDidUpdate",value:function(){var e=jQuery(".chosen-base-control").closest(".chosen-container").find(".chosen-search-input");this.$input.search_field.autocomplete({source:function(t,n){var r={action:"give_block_donation_form_search_results",search:t.term};jQuery.post(ajaxurl,r,(function(r){jQuery(".give-block-chosen-select").empty(),(r=JSON.parse(r)).length>0&&(n(jQuery.map(r,(function(e){jQuery(".give-block-chosen-select").append('<option value="'+e.id+'">'+e.name+"</option>")}))),jQuery(".give-block-chosen-select").trigger("chosen:updated"),e.val(t.term))}))}})}},{key:"render",value:function(){var e=this;return wp.element.createElement(N,{className:"give-chosen-base-control"},wp.element.createElement("select",{className:"give-select give-select-chosen give-block-chosen-select",ref:function(t){return e.el=t}},this.props.options.map((function(e,t){return wp.element.createElement("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}}]),n}(T),x=wp.i18n.__,F=wp.data.withSelect,B=wp.components,I=B.Placeholder,A=B.Spinner,G=F((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))((function(e){var t=e.forms,n=e.setAttributes;return t?t&&0===t.length?wp.element.createElement(w,null):wp.element.createElement(u,{title:x("Donation Form")},wp.element.createElement(j,{className:"give-blank-slate__select",options:p(t),onChange:function(e){n({id:Number(e)})},value:0})):wp.element.createElement(I,null,wp.element.createElement(A,null))})),R=wp.i18n.__,M={};M.displayStyles=[{value:"onpage",label:R("Full Form")},{value:"modal",label:R("Modal")},{value:"reveal",label:R("Reveal")},{value:"button",label:R("One Button Launch")}],M.contentPosition=[{value:"above",label:R("Above")},{value:"below",label:R("Below")}];var L=M;function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k()(e);if(t){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}var W=wp.i18n.__,$=wp.blockEditor.InspectorControls,z=wp.components,Q=z.Dashicon,V=z.Button,U=z.PanelBody,H=z.SelectControl,J=z.ToggleControl,X=z.TextControl,K=wp.element.Component,Y=wp.data.withSelect,Z=function(e){_()(n,e);var t=q(n);function n(e){var r;return h()(this,n),(r=t.call(this,e)).state={continueButtonTitle:r.props.attributes.continueButtonTitle},r.saveSetting=r.saveSetting.bind(E()(r)),r.saveState=r.saveState.bind(E()(r)),r}return g()(n,[{key:"saveSetting",value:function(e,t){this.props.setAttributes(l()({},e,t))}},{key:"saveState",value:function(e,t){this.setState(l()({},e,t))}},{key:"render",value:function(){var e=this,t=this.props.forms,n=this.props.attributes,r=n.id,o=n.displayStyle,a=n.showTitle,l=n.showGoal,i=n.showContent,c=n.contentDisplay;return wp.element.createElement($,{key:"inspector"},wp.element.createElement(U,{title:W("Donation Form Settings")},wp.element.createElement(V,{isDefault:!0,onClick:function(){return e.saveSetting("id",0)},className:"give-change-donation-form-btn"},wp.element.createElement(Q,{icon:"edit"})," ",W("Change Donation Form"))),function(e,t){if(e){var n=e.find((function(e){return parseInt(e.id)===parseInt(t)}));return n&&(!n.formTemplate||"legacy"===n.formTemplate)}return!1}(t,r)&&wp.element.createElement("div",null,wp.element.createElement(U,{title:W("Display")},wp.element.createElement(H,{label:W("Form Format"),name:"displayStyle",value:o,options:L.displayStyles,onChange:function(t){return e.saveSetting("displayStyle",t)}}),"reveal"===o&&wp.element.createElement(X,{name:"continueButtonTitle",label:W("Continue Button Title"),value:this.state.continueButtonTitle,onChange:function(t){return e.saveState("continueButtonTitle",t)},onBlur:function(t){return e.saveSetting("continueButtonTitle",t.target.value)}})),wp.element.createElement(U,{title:W("Settings")},wp.element.createElement(J,{label:W("Title"),name:"showTitle",checked:!!a,onChange:function(t){return e.saveSetting("showTitle",t)}}),wp.element.createElement(J,{label:W("Goal"),name:"showGoal",checked:!!l,onChange:function(t){return e.saveSetting("showGoal",t)}}),wp.element.createElement(J,{label:W("Content"),name:"contentDisplay",checked:!!c,onChange:function(t){return e.saveSetting("contentDisplay",t)}}),c&&wp.element.createElement(H,{label:W("Content Position"),name:"showContent",value:i,options:L.contentPosition,onChange:function(t){return e.saveSetting("showContent",t)}}))))}}]),n}(K),ee=Y((function(e){return{forms:e("core").getEntityRecords("postType","give_forms",{per_page:30})}}))(Z);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=wp.serverSideRender,oe=function(e){var t=e.attributes,n=e.isSelected,r=e.className;return t.id?wp.element.createElement("div",{className:n?"".concat(r," isSelected"):r},wp.element.createElement(ee,ne({},e)),wp.element.createElement(re,{block:"give/donation-form",attributes:t})):wp.element.createElement(G,ne({},e))},ae=wp.i18n.__,le=((0,wp.blocks.registerBlockType)("give/donation-form",{title:ae("Donation Form"),description:ae("The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form's presentation can be customized below."),category:"give",icon:wp.element.createElement(r,{color:"grey"}),keywords:[ae("donation")],supports:{html:!1},attributes:o,edit:oe,save:function(){return null}}),{formsPerPage:{type:"string",default:"12"},formIDs:{type:"string",default:""},excludedFormIDs:{type:"string",default:""},orderBy:{type:"string",default:"date"},order:{type:"string",default:"DESC"},categories:{type:"string",default:""},tags:{type:"string",default:""},columns:{type:"string",default:"best-fit"},showTitle:{type:"boolean",default:!0},showExcerpt:{type:"boolean",default:!0},showGoal:{type:"boolean",default:!0},showFeaturedImage:{type:"boolean",default:!0},displayType:{type:"string",default:"redirect"}}),ie=wp.i18n.__,ce={};ce.orderBy=[{value:"date",label:ie("Date Created")},{value:"title",label:ie("Form Name")},{value:"amount_donated",label:ie("Amount Donated")},{value:"number_donations",label:ie("Number of Donations")},{value:"menu_order",label:ie("Menu Order")},{value:"post__in",label:ie("Provided Form IDs")},{value:"closest_to_goal",label:ie("Closest To Goal")}],ce.order=[{value:"DESC",label:ie("Descending")},{value:"ASC",label:ie("Ascending")}],ce.columns=[{value:"best-fit",label:ie("Best Fit")},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"}],ce.displayType=[{value:"redirect",label:ie("Redirect")},{value:"modal_reveal",label:ie("Modal")}];var se=ce,ue=wp.i18n.__,me=wp.blockEditor.InspectorControls,pe=wp.components,de=pe.PanelBody,fe=pe.SelectControl,we=pe.ToggleControl,ye=pe.TextControl,he=function(e){var t=e.attributes,n=e.setAttributes,r=t.formsPerPage,o=t.formIDs,a=t.excludedFormIDs,i=t.orderBy,c=t.order,s=t.categories,u=t.tags,m=t.columns,p=t.showTitle,d=t.showExcerpt,f=t.showGoal,w=t.showFeaturedImage,y=t.displayType,h=function(e,t){n(l()({},e,t))};return wp.element.createElement(me,{key:"inspector"},wp.element.createElement(de,{title:ue("Form Grid Settings")},wp.element.createElement(ye,{name:"formsPerPage",label:ue("Forms Per Page"),value:r,onChange:function(e){return h("formsPerPage",e)}}),wp.element.createElement(ye,{name:"formIDs",label:ue("Form IDs"),value:o,onChange:function(e){return h("formIDs",e)}}),wp.element.createElement(ye,{name:"excludedFormIDs",label:ue("Excluded Form IDs"),value:a,onChange:function(e){return h("excludedFormIDs",e)}}),wp.element.createElement(fe,{label:ue("Order By"),name:"orderBy",value:i,options:se.orderBy,onChange:function(e){return h("orderBy",e)}}),wp.element.createElement(fe,{label:ue("Order"),name:"order",value:c,options:se.order,onChange:function(e){return h("order",e)}}),wp.element.createElement(ye,{name:"categories",label:ue("Categories"),value:s,onChange:function(e){return h("categories",e)}}),wp.element.createElement(ye,{name:"tags",label:ue("Tags"),value:u,onChange:function(e){return h("tags",e)}}),wp.element.createElement(fe,{label:ue("Columns"),name:"columns",value:m,options:se.columns,onChange:function(e){return h("columns",e)}}),wp.element.createElement(we,{name:"showTitle",label:ue("Show Title"),checked:!!p,onChange:function(e){return h("showTitle",e)}}),wp.element.createElement(we,{name:"showExcerpt",label:ue("Show Excerpt"),checked:!!d,onChange:function(e){return h("showExcerpt",e)}}),wp.element.createElement(we,{name:"showGoal",label:ue("Show Goal"),checked:!!f,onChange:function(e){return h("showGoal",e)}}),wp.element.createElement(we,{name:"showFeaturedImage",label:ue("Show Featured Image"),checked:!!w,onChange:function(e){return h("showFeaturedImage",e)}}),wp.element.createElement(fe,{label:ue("Display Type"),name:"displayType",value:y,options:se.displayType,onChange:function(e){return h("displayType",e)}})))};function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ge=wp.element.Fragment,be=wp.serverSideRender,Ee=(0,wp.data.withSelect)((function(e){return{forms:e("core").getEntityRecords("postType","give_forms")}}))((function(e){var t=e.attributes;return wp.element.createElement(ge,null,wp.element.createElement(he,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),wp.element.createElement(be,{block:"give/donation-form-grid",attributes:t}))})),Ce=wp.i18n.__,_e=((0,wp.blocks.registerBlockType)("give/donation-form-grid",{title:Ce("Donation Form Grid"),description:Ce("The GiveWP Donation Form Grid block insert an existing donation form into the page. Each form's presentation can be customized below."),category:"give",icon:wp.element.createElement(r,{color:"grey"}),keywords:[Ce("donation"),Ce("grid")],supports:{html:!1},attributes:le,edit:Ee,save:function(){return null}}),wp.i18n.__),Se={donorsPerPage:{type:"string",default:"12"},formID:{type:"string",default:"0"},ids:{type:"string",default:""},orderBy:{type:"string",default:"post_date"},order:{type:"string",default:"DESC"},paged:{type:"string",default:"1"},columns:{type:"string",default:"best-fit"},showAvatar:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showTotal:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0},showAnonymous:{type:"boolean",default:!0},onlyComments:{type:"boolean",default:!1},commentLength:{type:"string",default:"140"},readMoreText:{type:"string",default:_e("Read more")},loadMoreText:{type:"string",default:_e("Load more")},avatarSize:{type:"string",default:"60"}},Oe=wp.i18n.__,De={};De.columns=[{value:"best-fit",label:Oe("Best Fit")},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"}],De.order=[{value:"DESC",label:Oe("Descending")},{value:"ASC",label:Oe("Ascending")}],De.orderBy=[{value:"donation_amount",label:Oe("Donation Amount")},{value:"post_date",label:Oe("Date Created")}];var ke=De,Pe=wp.i18n.__,Te=wp.blockEditor.InspectorControls,Ne=wp.components,je=Ne.PanelBody,xe=Ne.SelectControl,Fe=Ne.ToggleControl,Be=Ne.TextControl,Ie=function(e){var t=e.attributes,n=e.setAttributes,r=t.donorsPerPage,o=t.ids,a=t.formID,i=t.orderBy,c=t.order,s=t.columns,u=t.showAvatar,m=t.showName,p=t.showTotal,d=t.showDate,f=t.showComments,w=t.showAnonymous,y=t.onlyComments,h=t.commentLength,v=t.readMoreText,g=t.loadMoreText,b=function(e,t){n(l()({},e,t))};return wp.element.createElement(Te,{key:"inspector"},wp.element.createElement(je,{title:Pe("Donor Wall Settings")},wp.element.createElement(Be,{name:"donorsPerPage",label:Pe("Donors Per Page"),value:r,onChange:function(e){return b("donorsPerPage",e)}}),wp.element.createElement(Be,{name:"ids",label:Pe("Donor IDs"),value:o,onChange:function(e){return b("ids",e)}}),wp.element.createElement(Be,{name:"formID",label:Pe("Form ID"),value:a,onChange:function(e){return b("formID",e)}}),wp.element.createElement(xe,{label:Pe("Order By"),name:"orderBy",value:i,options:ke.orderBy,onChange:function(e){return b("orderBy",e)}}),wp.element.createElement(xe,{label:Pe("Order"),name:"order",value:c,options:ke.order,onChange:function(e){return b("order",e)}}),wp.element.createElement(xe,{label:Pe("Columns"),name:"columns",value:s,options:ke.columns,onChange:function(e){return b("columns",e)}}),wp.element.createElement(Fe,{name:"showAvatar",label:Pe("Show Avatar"),checked:!!u,onChange:function(e){return b("showAvatar",e)}}),wp.element.createElement(Fe,{name:"showName",label:Pe("Show Name"),checked:!!m,onChange:function(e){return b("showName",e)}}),wp.element.createElement(Fe,{name:"showTotal",label:Pe("Show Total"),checked:!!p,onChange:function(e){return b("showTotal",e)}}),wp.element.createElement(Fe,{name:"showDate",label:Pe("Show Time"),checked:!!d,onChange:function(e){return b("showDate",e)}}),wp.element.createElement(Fe,{name:"showComments",label:Pe("Show Comments"),checked:!!f,onChange:function(e){return b("showComments",e)}}),wp.element.createElement(Fe,{name:"showAnonymous",label:Pe("Show Anonymous"),checked:!!w,onChange:function(e){return b("showAnonymous",e)}}),wp.element.createElement(Fe,{name:"onlyComments",label:Pe("Only Donors with Comments"),checked:!!y,onChange:function(e){return b("onlyComments",e)}}),wp.element.createElement(Be,{name:"commentLength",label:Pe("Comment Length"),value:h,onChange:function(e){return b("commentLength",e)}}),wp.element.createElement(Be,{name:"readMoreText",label:Pe("Read More Text"),value:v,onChange:function(e){return b("readMoreText",e)}}),wp.element.createElement(Be,{name:"loadMoreText",label:Pe("Load More Text"),value:g,onChange:function(e){return b("loadMoreText",e)}})))};function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ge=wp.element.Fragment,Re=wp.serverSideRender,Me=function(e){var t=e.attributes;return wp.element.createElement(Ge,null,wp.element.createElement(Ie,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)),wp.element.createElement(Re,{block:"give/donor-wall",attributes:t}))},Le=wp.i18n.__;(0,wp.blocks.registerBlockType)("give/donor-wall",{title:Le("Donor Wall"),description:Le("The GiveWP Donor Wall block inserts an existing donation form into the page. Each form's presentation can be customized below."),category:"give",icon:wp.element.createElement(r,{color:"grey"}),keywords:[Le("donation"),Le("wall")],supports:{html:!1},attributes:Se,edit:Me,save:function(){return null}})},9:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}});
|
blocks/donor-wall/class-give-donor-wall.php
CHANGED
@@ -95,6 +95,10 @@ class Give_Donor_Wall_Block {
|
|
95 |
'type' => 'string',
|
96 |
'default' => '0',
|
97 |
],
|
|
|
|
|
|
|
|
|
98 |
'orderBy' => [
|
99 |
'type' => 'string',
|
100 |
'default' => 'post_date',
|
@@ -172,6 +176,7 @@ class Give_Donor_Wall_Block {
|
|
172 |
$parameters = [
|
173 |
'donors_per_page' => absint( $attributes['donorsPerPage'] ),
|
174 |
'form_id' => absint( $attributes['formID'] ),
|
|
|
175 |
'orderby' => $attributes['orderBy'],
|
176 |
'order' => $attributes['order'],
|
177 |
'pages' => absint( $attributes['paged'] ),
|
95 |
'type' => 'string',
|
96 |
'default' => '0',
|
97 |
],
|
98 |
+
'ids' => [
|
99 |
+
'type' => 'string',
|
100 |
+
'default' => '',
|
101 |
+
],
|
102 |
'orderBy' => [
|
103 |
'type' => 'string',
|
104 |
'default' => 'post_date',
|
176 |
$parameters = [
|
177 |
'donors_per_page' => absint( $attributes['donorsPerPage'] ),
|
178 |
'form_id' => absint( $attributes['formID'] ),
|
179 |
+
'ids' => $attributes['ids'],
|
180 |
'orderby' => $attributes['orderBy'],
|
181 |
'order' => $attributes['order'],
|
182 |
'pages' => absint( $attributes['paged'] ),
|
blocks/donor-wall/data/attributes.js
CHANGED
@@ -12,19 +12,23 @@ const blockAttributes = {
|
|
12 |
type: 'string',
|
13 |
default: '12',
|
14 |
},
|
15 |
-
formID:{
|
16 |
type: 'string',
|
17 |
default: '0',
|
18 |
},
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
type: 'string',
|
21 |
default: 'post_date',
|
22 |
},
|
23 |
-
order:{
|
24 |
type: 'string',
|
25 |
default: 'DESC',
|
26 |
},
|
27 |
-
paged:{
|
28 |
type: 'string',
|
29 |
default: '1',
|
30 |
},
|
12 |
type: 'string',
|
13 |
default: '12',
|
14 |
},
|
15 |
+
formID: {
|
16 |
type: 'string',
|
17 |
default: '0',
|
18 |
},
|
19 |
+
ids: {
|
20 |
+
type: 'string',
|
21 |
+
default: '',
|
22 |
+
},
|
23 |
+
orderBy: {
|
24 |
type: 'string',
|
25 |
default: 'post_date',
|
26 |
},
|
27 |
+
order: {
|
28 |
type: 'string',
|
29 |
default: 'DESC',
|
30 |
},
|
31 |
+
paged: {
|
32 |
type: 'string',
|
33 |
default: '1',
|
34 |
},
|
blocks/donor-wall/edit/inspector.js
CHANGED
@@ -15,7 +15,7 @@ import giveDonorWallOptions from '../data/options';
|
|
15 |
*/
|
16 |
|
17 |
const Inspector = ( { attributes, setAttributes } ) => {
|
18 |
-
const { donorsPerPage, formID, orderBy, order, columns, showAvatar, showName, showTotal, showDate, showComments, showAnonymous, onlyComments, commentLength, readMoreText, loadMoreText } = attributes;
|
19 |
const saveSetting = ( name, value ) => {
|
20 |
setAttributes( {
|
21 |
[ name ]: value,
|
@@ -29,12 +29,17 @@ const Inspector = ( { attributes, setAttributes } ) => {
|
|
29 |
name="donorsPerPage"
|
30 |
label={ __( 'Donors Per Page' ) }
|
31 |
value={ donorsPerPage }
|
32 |
-
onChange={ ( value ) => saveSetting( 'donorsPerPage', value ) }/>
|
|
|
|
|
|
|
|
|
|
|
33 |
<TextControl
|
34 |
name="formID"
|
35 |
label={ __( 'Form ID' ) }
|
36 |
value={ formID }
|
37 |
-
onChange={ ( value ) => saveSetting( 'formID', value ) }/>
|
38 |
<SelectControl
|
39 |
label={ __( 'Order By' ) }
|
40 |
name="orderBy"
|
@@ -92,17 +97,17 @@ const Inspector = ( { attributes, setAttributes } ) => {
|
|
92 |
name="commentLength"
|
93 |
label={ __( 'Comment Length' ) }
|
94 |
value={ commentLength }
|
95 |
-
onChange={ ( value ) => saveSetting( 'commentLength', value ) }/>
|
96 |
<TextControl
|
97 |
name="readMoreText"
|
98 |
label={ __( 'Read More Text' ) }
|
99 |
value={ readMoreText }
|
100 |
-
onChange={ ( value ) => saveSetting( 'readMoreText', value ) }/>
|
101 |
<TextControl
|
102 |
name="loadMoreText"
|
103 |
label={ __( 'Load More Text' ) }
|
104 |
value={ loadMoreText }
|
105 |
-
onChange={ ( value ) => saveSetting( 'loadMoreText', value ) }/>
|
106 |
</PanelBody>
|
107 |
</InspectorControls>
|
108 |
);
|
15 |
*/
|
16 |
|
17 |
const Inspector = ( { attributes, setAttributes } ) => {
|
18 |
+
const { donorsPerPage, ids, formID, orderBy, order, columns, showAvatar, showName, showTotal, showDate, showComments, showAnonymous, onlyComments, commentLength, readMoreText, loadMoreText } = attributes;
|
19 |
const saveSetting = ( name, value ) => {
|
20 |
setAttributes( {
|
21 |
[ name ]: value,
|
29 |
name="donorsPerPage"
|
30 |
label={ __( 'Donors Per Page' ) }
|
31 |
value={ donorsPerPage }
|
32 |
+
onChange={ ( value ) => saveSetting( 'donorsPerPage', value ) } />
|
33 |
+
<TextControl
|
34 |
+
name="ids"
|
35 |
+
label={ __( 'Donor IDs' ) }
|
36 |
+
value={ ids }
|
37 |
+
onChange={ ( value ) => saveSetting( 'ids', value ) } />
|
38 |
<TextControl
|
39 |
name="formID"
|
40 |
label={ __( 'Form ID' ) }
|
41 |
value={ formID }
|
42 |
+
onChange={ ( value ) => saveSetting( 'formID', value ) } />
|
43 |
<SelectControl
|
44 |
label={ __( 'Order By' ) }
|
45 |
name="orderBy"
|
97 |
name="commentLength"
|
98 |
label={ __( 'Comment Length' ) }
|
99 |
value={ commentLength }
|
100 |
+
onChange={ ( value ) => saveSetting( 'commentLength', value ) } />
|
101 |
<TextControl
|
102 |
name="readMoreText"
|
103 |
label={ __( 'Read More Text' ) }
|
104 |
value={ readMoreText }
|
105 |
+
onChange={ ( value ) => saveSetting( 'readMoreText', value ) } />
|
106 |
<TextControl
|
107 |
name="loadMoreText"
|
108 |
label={ __( 'Load More Text' ) }
|
109 |
value={ loadMoreText }
|
110 |
+
onChange={ ( value ) => saveSetting( 'loadMoreText', value ) } />
|
111 |
</PanelBody>
|
112 |
</InspectorControls>
|
113 |
);
|
give.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
-
* Version: 2.7.
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
@@ -461,7 +461,7 @@ if ( ! class_exists( 'Give' ) ) :
|
|
461 |
|
462 |
// Plugin version.
|
463 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
464 |
-
define( 'GIVE_VERSION', '2.7.
|
465 |
}
|
466 |
|
467 |
// Plugin Root File.
|
@@ -569,7 +569,6 @@ if ( ! class_exists( 'Give' ) ) :
|
|
569 |
require_once GIVE_PLUGIN_DIR . 'includes/class-give-logging.php';
|
570 |
require_once GIVE_PLUGIN_DIR . 'includes/class-give-comment.php';
|
571 |
|
572 |
-
require_once GIVE_PLUGIN_DIR . 'includes/class-give-donor-wall-widget.php';
|
573 |
require_once GIVE_PLUGIN_DIR . 'includes/forms/widget.php';
|
574 |
require_once GIVE_PLUGIN_DIR . 'includes/forms/class-give-forms-query.php';
|
575 |
require_once GIVE_PLUGIN_DIR . 'includes/forms/template.php';
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
+
* Version: 2.7.2
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
461 |
|
462 |
// Plugin version.
|
463 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
464 |
+
define( 'GIVE_VERSION', '2.7.2' );
|
465 |
}
|
466 |
|
467 |
// Plugin Root File.
|
569 |
require_once GIVE_PLUGIN_DIR . 'includes/class-give-logging.php';
|
570 |
require_once GIVE_PLUGIN_DIR . 'includes/class-give-comment.php';
|
571 |
|
|
|
572 |
require_once GIVE_PLUGIN_DIR . 'includes/forms/widget.php';
|
573 |
require_once GIVE_PLUGIN_DIR . 'includes/forms/class-give-forms-query.php';
|
574 |
require_once GIVE_PLUGIN_DIR . 'includes/forms/template.php';
|
includes/admin/upgrades/class-give-updates.php
CHANGED
@@ -32,7 +32,7 @@ class Give_Updates {
|
|
32 |
* @access private
|
33 |
* @var array
|
34 |
*/
|
35 |
-
private $updates =
|
36 |
|
37 |
/**
|
38 |
* Current update percentage number
|
@@ -81,11 +81,11 @@ class Give_Updates {
|
|
81 |
* @param array $args
|
82 |
*/
|
83 |
public function register( $args ) {
|
84 |
-
$args_default =
|
85 |
'id' => '',
|
86 |
'version' => '',
|
87 |
'callback' => '',
|
88 |
-
|
89 |
|
90 |
$args = wp_parse_args( $args, $args_default );
|
91 |
|
@@ -104,7 +104,7 @@ class Give_Updates {
|
|
104 |
|
105 |
// Change depend param to array.
|
106 |
if ( isset( $args['depend'] ) && is_string( $args['depend'] ) ) {
|
107 |
-
$args['depend'] =
|
108 |
}
|
109 |
|
110 |
$this->updates[ $args['type'] ][] = $args;
|
@@ -144,19 +144,19 @@ class Give_Updates {
|
|
144 |
/**
|
145 |
* Setup hooks.
|
146 |
*/
|
147 |
-
add_action( 'init',
|
148 |
-
add_action( 'give_set_upgrade_completed',
|
149 |
-
add_action( 'wp_ajax_give_db_updates_info',
|
150 |
-
add_action( 'wp_ajax_give_run_db_updates',
|
151 |
-
add_action( 'admin_init',
|
152 |
-
add_action( 'admin_init',
|
153 |
-
add_action( 'admin_init',
|
154 |
-
add_action( 'admin_notices',
|
155 |
-
add_action( 'give_restart_db_upgrade',
|
156 |
|
157 |
if ( is_admin() ) {
|
158 |
-
add_action( 'admin_init',
|
159 |
-
add_action( 'admin_menu',
|
160 |
}
|
161 |
}
|
162 |
|
@@ -167,7 +167,7 @@ class Give_Updates {
|
|
167 |
* @access public
|
168 |
*/
|
169 |
public function __register_plugin_addon_updates() {
|
170 |
-
$addons = give_get_plugins(
|
171 |
$plugin_updates = get_plugin_updates();
|
172 |
|
173 |
foreach ( $addons as $key => $info ) {
|
@@ -254,7 +254,7 @@ class Give_Updates {
|
|
254 |
__( 'Updates', 'give' ),
|
255 |
'manage_give_settings',
|
256 |
'give-updates',
|
257 |
-
|
258 |
);
|
259 |
}
|
260 |
|
@@ -278,7 +278,7 @@ class Give_Updates {
|
|
278 |
),
|
279 |
'manage_give_settings',
|
280 |
'give-updates',
|
281 |
-
|
282 |
);
|
283 |
}
|
284 |
|
@@ -294,7 +294,7 @@ class Give_Updates {
|
|
294 |
if (
|
295 |
! wp_doing_ajax() &&
|
296 |
current_user_can( 'manage_give_settings' ) &&
|
297 |
-
|
298 |
! isset( $_GET['give-db-update-completed'] )
|
299 |
) {
|
300 |
delete_option( 'give_show_db_upgrade_complete_notice' );
|
@@ -429,10 +429,10 @@ class Give_Updates {
|
|
429 |
|
430 |
/* @var stdClass $batch */
|
431 |
$batch = self::$background_updater->get_all_batch();
|
432 |
-
$old_batch_update_ids = is_array( $batch->data ) ? wp_list_pluck( $batch->data, 'id' ) :
|
433 |
$all_updates = $give_updates->get_updates( 'database', 'all' );
|
434 |
$all_update_ids = wp_list_pluck( $all_updates, 'id' );
|
435 |
-
$all_batch_update_ids = ! empty( $batch->data ) ? wp_list_pluck( $batch->data, 'id' ) :
|
436 |
$log_data = '';
|
437 |
$doing_upgrade_args = get_option( 'give_doing_upgrade' );
|
438 |
|
@@ -478,7 +478,7 @@ class Give_Updates {
|
|
478 |
* Add new upgrade to batch
|
479 |
*/
|
480 |
if ( $new_updates = $this->get_updates( 'database', 'new' ) ) {
|
481 |
-
$all_batch_update_ids = ! empty( $batch->data ) ? wp_list_pluck( $batch->data, 'id' ) :
|
482 |
|
483 |
foreach ( $new_updates as $index => $new_update ) {
|
484 |
if ( give_has_upgrade_completed( $new_update['id'] ) || in_array( $new_update['id'], $all_batch_update_ids ) ) {
|
@@ -583,11 +583,11 @@ class Give_Updates {
|
|
583 |
*/
|
584 |
public function __show_notice() {
|
585 |
$current_screen = get_current_screen();
|
586 |
-
$hide_on_pages =
|
587 |
'give_forms_page_give-updates',
|
588 |
'update-core',
|
589 |
'give_forms_page_give-addons',
|
590 |
-
|
591 |
|
592 |
// Bailout.
|
593 |
if ( ! current_user_can( 'manage_give_settings' ) ) {
|
@@ -614,7 +614,7 @@ class Give_Updates {
|
|
614 |
– <?php _e( 'GiveWP needs to update your database to the latest version. The following process will make updates to your site\'s database. Please create a backup before proceeding.', 'give' ); ?>
|
615 |
<br>
|
616 |
<br>
|
617 |
-
<a href="<?php echo esc_url( add_query_arg(
|
618 |
<?php _e( 'Restart the updater', 'give' ); ?>
|
619 |
</a>
|
620 |
<?php else : ?>
|
@@ -626,12 +626,12 @@ class Give_Updates {
|
|
626 |
$desc_html = ob_get_clean();
|
627 |
|
628 |
Give()->notices->register_notice(
|
629 |
-
|
630 |
'id' => 'give_upgrade_db',
|
631 |
'type' => 'error',
|
632 |
'dismissible' => false,
|
633 |
'description' => $desc_html,
|
634 |
-
|
635 |
);
|
636 |
}
|
637 |
|
@@ -643,12 +643,12 @@ class Give_Updates {
|
|
643 |
// Show db upgrade completed notice.
|
644 |
if ( ! empty( $_GET['give-db-update-completed'] ) ) {
|
645 |
Give()->notices->register_notice(
|
646 |
-
|
647 |
'id' => 'give_db_upgrade_completed',
|
648 |
'type' => 'updated',
|
649 |
'description' => __( 'GiveWP database updates completed successfully. Thank you for updating to the latest version!', 'give' ),
|
650 |
'show' => true,
|
651 |
-
|
652 |
);
|
653 |
|
654 |
// Start update.
|
@@ -664,7 +664,7 @@ class Give_Updates {
|
|
664 |
– <?php _e( 'GiveWP needs to update your database to the latest version. The following process will make updates to your site\'s database. Please create a complete backup before proceeding.', 'give' ); ?>
|
665 |
</p>
|
666 |
<p class="submit">
|
667 |
-
<a href="<?php echo esc_url( add_query_arg(
|
668 |
<?php _e( 'Run the updater', 'give' ); ?>
|
669 |
</a>
|
670 |
</p>
|
@@ -672,12 +672,12 @@ class Give_Updates {
|
|
672 |
$desc_html = ob_get_clean();
|
673 |
|
674 |
Give()->notices->register_notice(
|
675 |
-
|
676 |
'id' => 'give_upgrade_db',
|
677 |
'type' => 'updated',
|
678 |
'dismissible' => false,
|
679 |
'description' => $desc_html,
|
680 |
-
|
681 |
);
|
682 |
}
|
683 |
}
|
@@ -724,14 +724,14 @@ class Give_Updates {
|
|
724 |
|
725 |
add_option(
|
726 |
'give_doing_upgrade',
|
727 |
-
|
728 |
'update_info' => $updates[0],
|
729 |
'step' => 1,
|
730 |
'update' => 1,
|
731 |
'heading' => sprintf( 'Update %s of %s', 1, count( $updates ) ),
|
732 |
'percentage' => 0,
|
733 |
'total_percentage' => 0,
|
734 |
-
|
735 |
'',
|
736 |
false
|
737 |
);
|
@@ -805,11 +805,11 @@ class Give_Updates {
|
|
805 |
$response_type = '';
|
806 |
|
807 |
if ( self::$background_updater->is_paused_process() ) {
|
808 |
-
$update_info =
|
809 |
'message' => __( 'The updates have been paused.', 'give' ),
|
810 |
'heading' => '',
|
811 |
'percentage' => 0,
|
812 |
-
|
813 |
|
814 |
if ( get_option( 'give_upgrade_error' ) ) {
|
815 |
$update_info['message'] = __( 'An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.', 'give' );
|
@@ -818,11 +818,11 @@ class Give_Updates {
|
|
818 |
$response_type = 'error';
|
819 |
|
820 |
} elseif ( empty( $update_info ) || ! $this->get_total_new_db_update_count( true ) ) {
|
821 |
-
$update_info =
|
822 |
'message' => __( 'GiveWP database updates completed successfully. Thank you for updating to the latest version!', 'give' ),
|
823 |
'heading' => __( 'Updates Completed.', 'give' ),
|
824 |
'percentage' => 0,
|
825 |
-
|
826 |
$response_type = 'success';
|
827 |
|
828 |
delete_option( 'give_show_db_upgrade_complete_notice' );
|
@@ -841,13 +841,13 @@ class Give_Updates {
|
|
841 |
* @param string $type
|
842 |
*/
|
843 |
public function send_ajax_response( $data, $type = '' ) {
|
844 |
-
$default =
|
845 |
'message' => '',
|
846 |
'heading' => '',
|
847 |
'percentage' => 0,
|
848 |
'step' => 0,
|
849 |
'update' => 0,
|
850 |
-
|
851 |
|
852 |
// Set data.
|
853 |
$data = wp_parse_args( $data, $default );
|
@@ -866,9 +866,9 @@ class Give_Updates {
|
|
866 |
|
867 |
default:
|
868 |
wp_send_json(
|
869 |
-
|
870 |
'data' => $data,
|
871 |
-
|
872 |
);
|
873 |
break;
|
874 |
}
|
@@ -980,7 +980,7 @@ class Give_Updates {
|
|
980 |
}
|
981 |
|
982 |
// Get specific update.
|
983 |
-
$updates = ! empty( $this->updates[ $update_type ] ) ? $this->updates[ $update_type ] :
|
984 |
|
985 |
// Bailout.
|
986 |
if ( empty( $updates ) ) {
|
32 |
* @access private
|
33 |
* @var array
|
34 |
*/
|
35 |
+
private $updates = [];
|
36 |
|
37 |
/**
|
38 |
* Current update percentage number
|
81 |
* @param array $args
|
82 |
*/
|
83 |
public function register( $args ) {
|
84 |
+
$args_default = [
|
85 |
'id' => '',
|
86 |
'version' => '',
|
87 |
'callback' => '',
|
88 |
+
];
|
89 |
|
90 |
$args = wp_parse_args( $args, $args_default );
|
91 |
|
104 |
|
105 |
// Change depend param to array.
|
106 |
if ( isset( $args['depend'] ) && is_string( $args['depend'] ) ) {
|
107 |
+
$args['depend'] = [ $args['depend'] ];
|
108 |
}
|
109 |
|
110 |
$this->updates[ $args['type'] ][] = $args;
|
144 |
/**
|
145 |
* Setup hooks.
|
146 |
*/
|
147 |
+
add_action( 'init', [ $this, '__register_upgrade' ], 9999 );
|
148 |
+
add_action( 'give_set_upgrade_completed', [ $this, '__flush_resume_updates' ], 9999 );
|
149 |
+
add_action( 'wp_ajax_give_db_updates_info', [ $this, '__give_db_updates_info' ] );
|
150 |
+
add_action( 'wp_ajax_give_run_db_updates', [ $this, '__give_start_updating' ] );
|
151 |
+
add_action( 'admin_init', [ $this, '__redirect_admin' ] );
|
152 |
+
add_action( 'admin_init', [ $this, '__pause_db_update' ], - 1 );
|
153 |
+
add_action( 'admin_init', [ $this, '__restart_db_update' ], - 1 );
|
154 |
+
add_action( 'admin_notices', [ $this, '__show_notice' ] );
|
155 |
+
add_action( 'give_restart_db_upgrade', [ $this, '__health_background_update' ] );
|
156 |
|
157 |
if ( is_admin() ) {
|
158 |
+
add_action( 'admin_init', [ $this, '__change_donations_label' ], 9999 );
|
159 |
+
add_action( 'admin_menu', [ $this, '__register_menu' ], 9999 );
|
160 |
}
|
161 |
}
|
162 |
|
167 |
* @access public
|
168 |
*/
|
169 |
public function __register_plugin_addon_updates() {
|
170 |
+
$addons = give_get_plugins( [ 'only_premium_add_ons' => true ] );
|
171 |
$plugin_updates = get_plugin_updates();
|
172 |
|
173 |
foreach ( $addons as $key => $info ) {
|
254 |
__( 'Updates', 'give' ),
|
255 |
'manage_give_settings',
|
256 |
'give-updates',
|
257 |
+
[ $this, 'render_complete_page' ]
|
258 |
);
|
259 |
}
|
260 |
|
278 |
),
|
279 |
'manage_give_settings',
|
280 |
'give-updates',
|
281 |
+
[ $this, 'render_page' ]
|
282 |
);
|
283 |
}
|
284 |
|
294 |
if (
|
295 |
! wp_doing_ajax() &&
|
296 |
current_user_can( 'manage_give_settings' ) &&
|
297 |
+
get_option( 'give_show_db_upgrade_complete_notice' ) &&
|
298 |
! isset( $_GET['give-db-update-completed'] )
|
299 |
) {
|
300 |
delete_option( 'give_show_db_upgrade_complete_notice' );
|
429 |
|
430 |
/* @var stdClass $batch */
|
431 |
$batch = self::$background_updater->get_all_batch();
|
432 |
+
$old_batch_update_ids = is_array( $batch->data ) ? wp_list_pluck( $batch->data, 'id' ) : [];
|
433 |
$all_updates = $give_updates->get_updates( 'database', 'all' );
|
434 |
$all_update_ids = wp_list_pluck( $all_updates, 'id' );
|
435 |
+
$all_batch_update_ids = ! empty( $batch->data ) ? wp_list_pluck( $batch->data, 'id' ) : [];
|
436 |
$log_data = '';
|
437 |
$doing_upgrade_args = get_option( 'give_doing_upgrade' );
|
438 |
|
478 |
* Add new upgrade to batch
|
479 |
*/
|
480 |
if ( $new_updates = $this->get_updates( 'database', 'new' ) ) {
|
481 |
+
$all_batch_update_ids = ! empty( $batch->data ) ? wp_list_pluck( $batch->data, 'id' ) : [];
|
482 |
|
483 |
foreach ( $new_updates as $index => $new_update ) {
|
484 |
if ( give_has_upgrade_completed( $new_update['id'] ) || in_array( $new_update['id'], $all_batch_update_ids ) ) {
|
583 |
*/
|
584 |
public function __show_notice() {
|
585 |
$current_screen = get_current_screen();
|
586 |
+
$hide_on_pages = [
|
587 |
'give_forms_page_give-updates',
|
588 |
'update-core',
|
589 |
'give_forms_page_give-addons',
|
590 |
+
];
|
591 |
|
592 |
// Bailout.
|
593 |
if ( ! current_user_can( 'manage_give_settings' ) ) {
|
614 |
– <?php _e( 'GiveWP needs to update your database to the latest version. The following process will make updates to your site\'s database. Please create a backup before proceeding.', 'give' ); ?>
|
615 |
<br>
|
616 |
<br>
|
617 |
+
<a href="<?php echo esc_url( add_query_arg( [ 'give-restart-db-upgrades' => 1 ], admin_url( 'edit.php?post_type=give_forms&page=give-updates' ) ) ); ?>" class="button button-primary give-restart-updater-btn">
|
618 |
<?php _e( 'Restart the updater', 'give' ); ?>
|
619 |
</a>
|
620 |
<?php else : ?>
|
626 |
$desc_html = ob_get_clean();
|
627 |
|
628 |
Give()->notices->register_notice(
|
629 |
+
[
|
630 |
'id' => 'give_upgrade_db',
|
631 |
'type' => 'error',
|
632 |
'dismissible' => false,
|
633 |
'description' => $desc_html,
|
634 |
+
]
|
635 |
);
|
636 |
}
|
637 |
|
643 |
// Show db upgrade completed notice.
|
644 |
if ( ! empty( $_GET['give-db-update-completed'] ) ) {
|
645 |
Give()->notices->register_notice(
|
646 |
+
[
|
647 |
'id' => 'give_db_upgrade_completed',
|
648 |
'type' => 'updated',
|
649 |
'description' => __( 'GiveWP database updates completed successfully. Thank you for updating to the latest version!', 'give' ),
|
650 |
'show' => true,
|
651 |
+
]
|
652 |
);
|
653 |
|
654 |
// Start update.
|
664 |
– <?php _e( 'GiveWP needs to update your database to the latest version. The following process will make updates to your site\'s database. Please create a complete backup before proceeding.', 'give' ); ?>
|
665 |
</p>
|
666 |
<p class="submit">
|
667 |
+
<a href="<?php echo esc_url( add_query_arg( [ 'give-run-db-update' => 1 ], admin_url( 'edit.php?post_type=give_forms&page=give-updates' ) ) ); ?>" class="button button-primary give-run-update-now">
|
668 |
<?php _e( 'Run the updater', 'give' ); ?>
|
669 |
</a>
|
670 |
</p>
|
672 |
$desc_html = ob_get_clean();
|
673 |
|
674 |
Give()->notices->register_notice(
|
675 |
+
[
|
676 |
'id' => 'give_upgrade_db',
|
677 |
'type' => 'updated',
|
678 |
'dismissible' => false,
|
679 |
'description' => $desc_html,
|
680 |
+
]
|
681 |
);
|
682 |
}
|
683 |
}
|
724 |
|
725 |
add_option(
|
726 |
'give_doing_upgrade',
|
727 |
+
[
|
728 |
'update_info' => $updates[0],
|
729 |
'step' => 1,
|
730 |
'update' => 1,
|
731 |
'heading' => sprintf( 'Update %s of %s', 1, count( $updates ) ),
|
732 |
'percentage' => 0,
|
733 |
'total_percentage' => 0,
|
734 |
+
],
|
735 |
'',
|
736 |
false
|
737 |
);
|
805 |
$response_type = '';
|
806 |
|
807 |
if ( self::$background_updater->is_paused_process() ) {
|
808 |
+
$update_info = [
|
809 |
'message' => __( 'The updates have been paused.', 'give' ),
|
810 |
'heading' => '',
|
811 |
'percentage' => 0,
|
812 |
+
];
|
813 |
|
814 |
if ( get_option( 'give_upgrade_error' ) ) {
|
815 |
$update_info['message'] = __( 'An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.', 'give' );
|
818 |
$response_type = 'error';
|
819 |
|
820 |
} elseif ( empty( $update_info ) || ! $this->get_total_new_db_update_count( true ) ) {
|
821 |
+
$update_info = [
|
822 |
'message' => __( 'GiveWP database updates completed successfully. Thank you for updating to the latest version!', 'give' ),
|
823 |
'heading' => __( 'Updates Completed.', 'give' ),
|
824 |
'percentage' => 0,
|
825 |
+
];
|
826 |
$response_type = 'success';
|
827 |
|
828 |
delete_option( 'give_show_db_upgrade_complete_notice' );
|
841 |
* @param string $type
|
842 |
*/
|
843 |
public function send_ajax_response( $data, $type = '' ) {
|
844 |
+
$default = [
|
845 |
'message' => '',
|
846 |
'heading' => '',
|
847 |
'percentage' => 0,
|
848 |
'step' => 0,
|
849 |
'update' => 0,
|
850 |
+
];
|
851 |
|
852 |
// Set data.
|
853 |
$data = wp_parse_args( $data, $default );
|
866 |
|
867 |
default:
|
868 |
wp_send_json(
|
869 |
+
[
|
870 |
'data' => $data,
|
871 |
+
]
|
872 |
);
|
873 |
break;
|
874 |
}
|
980 |
}
|
981 |
|
982 |
// Get specific update.
|
983 |
+
$updates = ! empty( $this->updates[ $update_type ] ) ? $this->updates[ $update_type ] : [];
|
984 |
|
985 |
// Bailout.
|
986 |
if ( empty( $updates ) ) {
|
includes/class-give-donor-wall-widget.php
DELETED
@@ -1,162 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Donors Gravatars
|
4 |
-
*
|
5 |
-
* @package Give
|
6 |
-
* @subpackage Classes/Give_Donors_Gravatars
|
7 |
-
* @copyright Copyright (c) 2016, GiveWP
|
8 |
-
* @license https://opensource.org/licenses/gpl-license GNU Public License
|
9 |
-
* @since 1.0
|
10 |
-
*/
|
11 |
-
|
12 |
-
// Exit if accessed directly.
|
13 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
-
exit;
|
15 |
-
}
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Give_Donor_Wall_Widget Class
|
19 |
-
*
|
20 |
-
* This class handles donors gravatars
|
21 |
-
*
|
22 |
-
* @since 1.0
|
23 |
-
*/
|
24 |
-
class Give_Donor_Wall_Widget extends WP_Widget {
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Widget constructor
|
28 |
-
*
|
29 |
-
* @since 1.0
|
30 |
-
* @access public
|
31 |
-
*/
|
32 |
-
public function __construct() {
|
33 |
-
|
34 |
-
// widget settings
|
35 |
-
$widget_ops = array(
|
36 |
-
'classname' => 'give-donors-gravatars',
|
37 |
-
'description' => esc_html__( 'Displays gravatars of people who have donated using your your form. Will only show on the single form page.', 'give' ),
|
38 |
-
);
|
39 |
-
|
40 |
-
// widget control settings
|
41 |
-
$control_ops = array(
|
42 |
-
'width' => 250,
|
43 |
-
'height' => 350,
|
44 |
-
'id_base' => 'give_gravatars_widget',
|
45 |
-
);
|
46 |
-
|
47 |
-
// Create the widget
|
48 |
-
parent::__construct(
|
49 |
-
'give_donors_gravatars_widget',
|
50 |
-
esc_html__( 'GiveWP Donor Gravatars', 'give' ),
|
51 |
-
$widget_ops,
|
52 |
-
$control_ops
|
53 |
-
);
|
54 |
-
|
55 |
-
}
|
56 |
-
|
57 |
-
/**
|
58 |
-
* Donors gravatars widget content
|
59 |
-
*
|
60 |
-
* Outputs the content of the widget
|
61 |
-
*
|
62 |
-
* @since 1.0
|
63 |
-
* @access public
|
64 |
-
*
|
65 |
-
* @param array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'.
|
66 |
-
* @param array $instance Settings for the current Links widget instance.
|
67 |
-
*
|
68 |
-
* @return void
|
69 |
-
*/
|
70 |
-
public function widget( $args, $instance ) {
|
71 |
-
|
72 |
-
// @TODO: Don't extract it!!!
|
73 |
-
extract( $args );
|
74 |
-
|
75 |
-
if ( ! is_singular( 'give_forms' ) ) {
|
76 |
-
return;
|
77 |
-
}
|
78 |
-
|
79 |
-
// Variables from widget settings
|
80 |
-
$title = apply_filters( 'widget_title', $instance['title'] );
|
81 |
-
|
82 |
-
// Used by themes. Opens the widget
|
83 |
-
echo $before_widget;
|
84 |
-
|
85 |
-
// Display the widget title
|
86 |
-
if ( $title ) {
|
87 |
-
echo $before_title . $title . $after_title;
|
88 |
-
}
|
89 |
-
|
90 |
-
echo Give_Donor_Wall::get_instance()->gravatars( get_the_ID(), null ); // remove title
|
91 |
-
|
92 |
-
// Used by themes. Closes the widget
|
93 |
-
echo $after_widget;
|
94 |
-
|
95 |
-
}
|
96 |
-
|
97 |
-
/**
|
98 |
-
* Update donors gravatars
|
99 |
-
*
|
100 |
-
* Processes widget options to be saved.
|
101 |
-
*
|
102 |
-
* @since 1.0
|
103 |
-
* @access public
|
104 |
-
*
|
105 |
-
* @param array $new_instance New settings for this instance as input by the user via WP_Widget::form().
|
106 |
-
* @param array $old_instance Old settings for this instance.
|
107 |
-
*
|
108 |
-
* @return array Updated settings to save.
|
109 |
-
*/
|
110 |
-
public function update( $new_instance, $old_instance ) {
|
111 |
-
|
112 |
-
$instance = $old_instance;
|
113 |
-
|
114 |
-
$instance['title'] = strip_tags( $new_instance['title'] );
|
115 |
-
|
116 |
-
return $instance;
|
117 |
-
|
118 |
-
}
|
119 |
-
|
120 |
-
/**
|
121 |
-
* Output donors
|
122 |
-
*
|
123 |
-
* Displays the actual form on the widget page.
|
124 |
-
*
|
125 |
-
* @since 1.0
|
126 |
-
* @access public
|
127 |
-
*
|
128 |
-
* @param array $instance Current settings.
|
129 |
-
*
|
130 |
-
* @return void
|
131 |
-
*/
|
132 |
-
public function form( $instance ) {
|
133 |
-
|
134 |
-
// Set up some default widget settings.
|
135 |
-
$defaults = array(
|
136 |
-
'title' => '',
|
137 |
-
);
|
138 |
-
|
139 |
-
$instance = wp_parse_args( (array) $instance, $defaults ); ?>
|
140 |
-
|
141 |
-
<!-- Title -->
|
142 |
-
<p>
|
143 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php esc_html_e( 'Title:', 'give' ); ?></label>
|
144 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" />
|
145 |
-
</p>
|
146 |
-
|
147 |
-
<?php
|
148 |
-
}
|
149 |
-
|
150 |
-
/**
|
151 |
-
* Register the widget
|
152 |
-
*
|
153 |
-
* @return void
|
154 |
-
*/
|
155 |
-
function widget_init() {
|
156 |
-
register_widget( $this->self );
|
157 |
-
}
|
158 |
-
|
159 |
-
}
|
160 |
-
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/donors/class-give-donor-wall.php
CHANGED
@@ -69,10 +69,10 @@ class Give_Donor_Wall {
|
|
69 |
*/
|
70 |
public function setup_actions() {
|
71 |
|
72 |
-
add_shortcode( 'give_donor_wall',
|
73 |
|
74 |
-
add_action( 'wp_ajax_give_get_donor_comments',
|
75 |
-
add_action( 'wp_ajax_nopriv_give_get_donor_comments',
|
76 |
|
77 |
}
|
78 |
|
@@ -123,7 +123,7 @@ class Give_Donor_Wall {
|
|
123 |
|
124 |
foreach ( $donations as $donation ) {
|
125 |
// Give/templates/shortcode-donor-wall.php.
|
126 |
-
give_get_template( 'shortcode-donor-wall',
|
127 |
}
|
128 |
|
129 |
$html = ob_get_clean();
|
@@ -177,7 +177,7 @@ class Give_Donor_Wall {
|
|
177 |
*/
|
178 |
public function parse_atts( $atts ) {
|
179 |
$atts = shortcode_atts(
|
180 |
-
|
181 |
'donors_per_page' => 12,
|
182 |
'form_id' => 0,
|
183 |
'paged' => 1,
|
@@ -198,12 +198,12 @@ class Give_Donor_Wall {
|
|
198 |
'order' => 'DESC',
|
199 |
'hide_empty' => true, // Deprecated in 2.3.0
|
200 |
'only_donor_html' => false, // Only for internal use.
|
201 |
-
|
202 |
$atts
|
203 |
);
|
204 |
|
205 |
// Validate boolean attributes.
|
206 |
-
$boolean_attributes =
|
207 |
'anonymous',
|
208 |
'show_avatar',
|
209 |
'show_name',
|
@@ -214,7 +214,7 @@ class Give_Donor_Wall {
|
|
214 |
'hide_empty',
|
215 |
'only_comments',
|
216 |
'only_donor_html',
|
217 |
-
|
218 |
|
219 |
foreach ( $boolean_attributes as $att ) {
|
220 |
// Convert numeric to boolean.
|
@@ -227,19 +227,36 @@ class Give_Donor_Wall {
|
|
227 |
}
|
228 |
|
229 |
// Validate numeric attributes.
|
230 |
-
$numeric_attributes =
|
231 |
'donors_per_page',
|
232 |
'form_id',
|
233 |
'paged',
|
234 |
'comment_length',
|
235 |
'avatar_size',
|
236 |
-
|
237 |
|
238 |
foreach ( $numeric_attributes as $att ) {
|
239 |
// It will prevent condition check against numeric value.
|
240 |
$atts[ $att ] = absint( $atts[ $att ] );
|
241 |
}
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
return $atts;
|
244 |
}
|
245 |
|
@@ -255,9 +272,8 @@ class Give_Donor_Wall {
|
|
255 |
*/
|
256 |
public function get_donors( $donor_query ) {
|
257 |
$donor_query = new Give_Donors_Query( $donor_query );
|
258 |
-
$donors = $donor_query->get_donors();
|
259 |
|
260 |
-
return $
|
261 |
}
|
262 |
|
263 |
|
@@ -268,7 +284,7 @@ class Give_Donor_Wall {
|
|
268 |
* @access public
|
269 |
*/
|
270 |
public function ajax_handler() {
|
271 |
-
$shortcode_atts =
|
272 |
|
273 |
// Get next page donor comments.
|
274 |
$shortcode_atts['paged'] = $shortcode_atts['paged'] + 1;
|
@@ -285,11 +301,11 @@ class Give_Donor_Wall {
|
|
285 |
unset( $shortcode_atts['only_donor_html'] );
|
286 |
|
287 |
wp_send_json(
|
288 |
-
|
289 |
'shortcode' => rawurlencode( http_build_query( $shortcode_atts ) ),
|
290 |
'html' => $donors_comment_html,
|
291 |
'remaining' => $has_donors,
|
292 |
-
|
293 |
);
|
294 |
}
|
295 |
|
@@ -302,17 +318,18 @@ class Give_Donor_Wall {
|
|
302 |
*
|
303 |
* @return array
|
304 |
*/
|
305 |
-
private function get_query_param( $atts =
|
306 |
-
$valid_order =
|
307 |
-
$valid_orderby =
|
308 |
|
309 |
-
$query_atts =
|
310 |
|
311 |
$query_atts['order'] = in_array( $atts['order'], $valid_order ) ? $atts['order'] : 'DESC';
|
312 |
$query_atts['orderby'] = in_array( $atts['orderby'], $valid_orderby ) ? $atts['orderby'] : 'post_date';
|
313 |
$query_atts['limit'] = $atts['donors_per_page'];
|
314 |
$query_atts['offset'] = $atts['donors_per_page'] * ( $atts['paged'] - 1 );
|
315 |
$query_atts['form_id'] = $atts['form_id'];
|
|
|
316 |
$query_atts['only_comments'] = ( true === $atts['only_comments'] );
|
317 |
$query_atts['anonymous'] = ( true === $atts['anonymous'] );
|
318 |
|
@@ -328,12 +345,12 @@ class Give_Donor_Wall {
|
|
328 |
*
|
329 |
* @return array
|
330 |
*/
|
331 |
-
private function get_donation_data( $atts =
|
332 |
global $wpdb;
|
333 |
|
334 |
// Bailout if donation does not exist.
|
335 |
if ( ! ( $donation_ids = $this->get_donations( $atts ) ) ) {
|
336 |
-
return
|
337 |
}
|
338 |
|
339 |
$donation_ids = ! empty( $donation_ids )
|
@@ -352,7 +369,7 @@ class Give_Donor_Wall {
|
|
352 |
$results = (array) $wpdb->get_results( $sql );
|
353 |
|
354 |
if ( ! empty( $results ) ) {
|
355 |
-
$temp =
|
356 |
|
357 |
/* @var stdClass $result */
|
358 |
foreach ( $results as $result ) {
|
@@ -371,17 +388,17 @@ class Give_Donor_Wall {
|
|
371 |
$temp[ $donation_id ]['donation_id'] = $donation_id;
|
372 |
|
373 |
$temp[ $donation_id ]['name_initial'] = give_get_name_initial(
|
374 |
-
|
375 |
'firstname' => $donation_data['_give_donor_billing_first_name'],
|
376 |
'lastname' => $donation_data['_give_donor_billing_last_name'],
|
377 |
-
|
378 |
);
|
379 |
|
380 |
$temp[ $donation_id ]['donor_comment'] = ! empty( $comments[ $donation_id ] ) ? $comments[ $donation_id ] : '';
|
381 |
}
|
382 |
}
|
383 |
|
384 |
-
$results = ! empty( $temp ) ? $temp :
|
385 |
}
|
386 |
|
387 |
return $results;
|
@@ -396,7 +413,7 @@ class Give_Donor_Wall {
|
|
396 |
*
|
397 |
* @return array
|
398 |
*/
|
399 |
-
private function get_donations( $atts =
|
400 |
global $wpdb;
|
401 |
|
402 |
// Backward compatibility
|
@@ -416,6 +433,12 @@ class Give_Donor_Wall {
|
|
416 |
$where .= " AND m2.meta_key='_give_payment_form_id' AND m2.meta_value={$query_params['form_id']}";
|
417 |
}
|
418 |
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
// exclude donations which does not has donor comment.
|
420 |
if ( $query_params['only_comments'] ) {
|
421 |
$sql .= " INNER JOIN {$wpdb->give_comments} as gc1 ON (p1.ID = gc1.comment_parent)";
|
@@ -440,11 +463,9 @@ class Give_Donor_Wall {
|
|
440 |
$limit = " LIMIT {$query_params['limit']}";
|
441 |
$offset = " OFFSET {$query_params['offset']}";
|
442 |
|
443 |
-
$sql
|
444 |
-
|
445 |
-
$donation_ids = $wpdb->get_col( $sql );
|
446 |
|
447 |
-
return $
|
448 |
}
|
449 |
|
450 |
/**
|
@@ -456,9 +477,9 @@ class Give_Donor_Wall {
|
|
456 |
*
|
457 |
* @return array
|
458 |
*/
|
459 |
-
private function get_donor_comments( $donations_data =
|
460 |
global $wpdb;
|
461 |
-
$comments =
|
462 |
|
463 |
// Bailout.
|
464 |
if ( empty( $donations_data ) ) {
|
@@ -480,7 +501,7 @@ class Give_Donor_Wall {
|
|
480 |
|
481 |
$sql = "SELECT c1.comment_parent as donation_id, c1.comment_content as comment FROM {$wpdb->give_comments} as c1";
|
482 |
$sql .= " INNER JOIN {$wpdb->give_commentmeta} as cm1 ON (c1.comment_ID=cm1.give_comment_id)";
|
483 |
-
$where =
|
484 |
|
485 |
foreach ( $donations_data as $id => $data ) {
|
486 |
// Do not fetch comment for anonymous donation.
|
@@ -517,7 +538,7 @@ class Give_Donor_Wall {
|
|
517 |
*
|
518 |
* @return bool
|
519 |
*/
|
520 |
-
private function has_donations( $atts =
|
521 |
return (bool) $this->get_donations( $atts );
|
522 |
}
|
523 |
}
|
69 |
*/
|
70 |
public function setup_actions() {
|
71 |
|
72 |
+
add_shortcode( 'give_donor_wall', [ $this, 'render_shortcode' ] );
|
73 |
|
74 |
+
add_action( 'wp_ajax_give_get_donor_comments', [ $this, 'ajax_handler' ] );
|
75 |
+
add_action( 'wp_ajax_nopriv_give_get_donor_comments', [ $this, 'ajax_handler' ] );
|
76 |
|
77 |
}
|
78 |
|
123 |
|
124 |
foreach ( $donations as $donation ) {
|
125 |
// Give/templates/shortcode-donor-wall.php.
|
126 |
+
give_get_template( 'shortcode-donor-wall', [ $donation, $give_settings, $atts ] );
|
127 |
}
|
128 |
|
129 |
$html = ob_get_clean();
|
177 |
*/
|
178 |
public function parse_atts( $atts ) {
|
179 |
$atts = shortcode_atts(
|
180 |
+
[
|
181 |
'donors_per_page' => 12,
|
182 |
'form_id' => 0,
|
183 |
'paged' => 1,
|
198 |
'order' => 'DESC',
|
199 |
'hide_empty' => true, // Deprecated in 2.3.0
|
200 |
'only_donor_html' => false, // Only for internal use.
|
201 |
+
],
|
202 |
$atts
|
203 |
);
|
204 |
|
205 |
// Validate boolean attributes.
|
206 |
+
$boolean_attributes = [
|
207 |
'anonymous',
|
208 |
'show_avatar',
|
209 |
'show_name',
|
214 |
'hide_empty',
|
215 |
'only_comments',
|
216 |
'only_donor_html',
|
217 |
+
];
|
218 |
|
219 |
foreach ( $boolean_attributes as $att ) {
|
220 |
// Convert numeric to boolean.
|
227 |
}
|
228 |
|
229 |
// Validate numeric attributes.
|
230 |
+
$numeric_attributes = [
|
231 |
'donors_per_page',
|
232 |
'form_id',
|
233 |
'paged',
|
234 |
'comment_length',
|
235 |
'avatar_size',
|
236 |
+
];
|
237 |
|
238 |
foreach ( $numeric_attributes as $att ) {
|
239 |
// It will prevent condition check against numeric value.
|
240 |
$atts[ $att ] = absint( $atts[ $att ] );
|
241 |
}
|
242 |
|
243 |
+
// Validate comma separated numeric attributes and keep original data format ( comma separated string).
|
244 |
+
if ( ! empty( $atts['ids'] ) ) {
|
245 |
+
if ( false === strpos( $atts['ids'], ',' ) ) {
|
246 |
+
$tmp = [ absint( $atts['ids'] ) ];
|
247 |
+
} else {
|
248 |
+
$tmp = array_filter(
|
249 |
+
array_map(
|
250 |
+
static function( $id ) {
|
251 |
+
return absint( trim( $id ) ); },
|
252 |
+
explode( ',', $atts['ids'] )
|
253 |
+
)
|
254 |
+
);
|
255 |
+
}
|
256 |
+
|
257 |
+
$atts['ids'] = implode( ',', $tmp );
|
258 |
+
}
|
259 |
+
|
260 |
return $atts;
|
261 |
}
|
262 |
|
272 |
*/
|
273 |
public function get_donors( $donor_query ) {
|
274 |
$donor_query = new Give_Donors_Query( $donor_query );
|
|
|
275 |
|
276 |
+
return $donor_query->get_donors();
|
277 |
}
|
278 |
|
279 |
|
284 |
* @access public
|
285 |
*/
|
286 |
public function ajax_handler() {
|
287 |
+
$shortcode_atts = array_map( 'give_clean', wp_parse_args( rawurldecode( $_POST['data'] ) ) ); // @codingStandardsIgnoreLine
|
288 |
|
289 |
// Get next page donor comments.
|
290 |
$shortcode_atts['paged'] = $shortcode_atts['paged'] + 1;
|
301 |
unset( $shortcode_atts['only_donor_html'] );
|
302 |
|
303 |
wp_send_json(
|
304 |
+
[
|
305 |
'shortcode' => rawurlencode( http_build_query( $shortcode_atts ) ),
|
306 |
'html' => $donors_comment_html,
|
307 |
'remaining' => $has_donors,
|
308 |
+
]
|
309 |
);
|
310 |
}
|
311 |
|
318 |
*
|
319 |
* @return array
|
320 |
*/
|
321 |
+
private function get_query_param( $atts = [] ) {
|
322 |
+
$valid_order = [ 'ASC', 'DESC' ];
|
323 |
+
$valid_orderby = [ 'post_date', 'donation_amount' ];
|
324 |
|
325 |
+
$query_atts = [];
|
326 |
|
327 |
$query_atts['order'] = in_array( $atts['order'], $valid_order ) ? $atts['order'] : 'DESC';
|
328 |
$query_atts['orderby'] = in_array( $atts['orderby'], $valid_orderby ) ? $atts['orderby'] : 'post_date';
|
329 |
$query_atts['limit'] = $atts['donors_per_page'];
|
330 |
$query_atts['offset'] = $atts['donors_per_page'] * ( $atts['paged'] - 1 );
|
331 |
$query_atts['form_id'] = $atts['form_id'];
|
332 |
+
$query_atts['ids'] = implode( '\',\'', explode( ',', $atts['ids'] ) );
|
333 |
$query_atts['only_comments'] = ( true === $atts['only_comments'] );
|
334 |
$query_atts['anonymous'] = ( true === $atts['anonymous'] );
|
335 |
|
345 |
*
|
346 |
* @return array
|
347 |
*/
|
348 |
+
private function get_donation_data( $atts = [] ) {
|
349 |
global $wpdb;
|
350 |
|
351 |
// Bailout if donation does not exist.
|
352 |
if ( ! ( $donation_ids = $this->get_donations( $atts ) ) ) {
|
353 |
+
return [];
|
354 |
}
|
355 |
|
356 |
$donation_ids = ! empty( $donation_ids )
|
369 |
$results = (array) $wpdb->get_results( $sql );
|
370 |
|
371 |
if ( ! empty( $results ) ) {
|
372 |
+
$temp = [];
|
373 |
|
374 |
/* @var stdClass $result */
|
375 |
foreach ( $results as $result ) {
|
388 |
$temp[ $donation_id ]['donation_id'] = $donation_id;
|
389 |
|
390 |
$temp[ $donation_id ]['name_initial'] = give_get_name_initial(
|
391 |
+
[
|
392 |
'firstname' => $donation_data['_give_donor_billing_first_name'],
|
393 |
'lastname' => $donation_data['_give_donor_billing_last_name'],
|
394 |
+
]
|
395 |
);
|
396 |
|
397 |
$temp[ $donation_id ]['donor_comment'] = ! empty( $comments[ $donation_id ] ) ? $comments[ $donation_id ] : '';
|
398 |
}
|
399 |
}
|
400 |
|
401 |
+
$results = ! empty( $temp ) ? $temp : [];
|
402 |
}
|
403 |
|
404 |
return $results;
|
413 |
*
|
414 |
* @return array
|
415 |
*/
|
416 |
+
private function get_donations( $atts = [] ) {
|
417 |
global $wpdb;
|
418 |
|
419 |
// Backward compatibility
|
433 |
$where .= " AND m2.meta_key='_give_payment_form_id' AND m2.meta_value={$query_params['form_id']}";
|
434 |
}
|
435 |
|
436 |
+
// Get donations only from specific donors.
|
437 |
+
if ( $query_params['ids'] ) {
|
438 |
+
$sql .= " INNER JOIN {$wpdb->donationmeta} as m3 ON (p1.ID = m3.{$donation_id_col})";
|
439 |
+
$where .= " AND m3.meta_key='_give_payment_donor_id' AND m3.meta_value IN ('{$query_params['ids']}')";
|
440 |
+
}
|
441 |
+
|
442 |
// exclude donations which does not has donor comment.
|
443 |
if ( $query_params['only_comments'] ) {
|
444 |
$sql .= " INNER JOIN {$wpdb->give_comments} as gc1 ON (p1.ID = gc1.comment_parent)";
|
463 |
$limit = " LIMIT {$query_params['limit']}";
|
464 |
$offset = " OFFSET {$query_params['offset']}";
|
465 |
|
466 |
+
$sql .= $where . $order . $limit . $offset;
|
|
|
|
|
467 |
|
468 |
+
return $wpdb->get_col( $sql );
|
469 |
}
|
470 |
|
471 |
/**
|
477 |
*
|
478 |
* @return array
|
479 |
*/
|
480 |
+
private function get_donor_comments( $donations_data = [] ) {
|
481 |
global $wpdb;
|
482 |
+
$comments = [];
|
483 |
|
484 |
// Bailout.
|
485 |
if ( empty( $donations_data ) ) {
|
501 |
|
502 |
$sql = "SELECT c1.comment_parent as donation_id, c1.comment_content as comment FROM {$wpdb->give_comments} as c1";
|
503 |
$sql .= " INNER JOIN {$wpdb->give_commentmeta} as cm1 ON (c1.comment_ID=cm1.give_comment_id)";
|
504 |
+
$where = [];
|
505 |
|
506 |
foreach ( $donations_data as $id => $data ) {
|
507 |
// Do not fetch comment for anonymous donation.
|
538 |
*
|
539 |
* @return bool
|
540 |
*/
|
541 |
+
private function has_donations( $atts = [] ) {
|
542 |
return (bool) $this->get_donations( $atts );
|
543 |
}
|
544 |
}
|
languages/give.pot
CHANGED
@@ -41,25 +41,25 @@ msgstr ""
|
|
41 |
msgid "Need help? Get started with %1$sGive 101%2$s."
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: blocks/donor-wall/class-give-donor-wall.php:
|
45 |
msgid "Read more"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: blocks/donor-wall/class-give-donor-wall.php:
|
49 |
msgid "Load more"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: blocks/donor-wall/class-give-donor-wall.php:
|
53 |
msgid "GiveWP Icon"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: blocks/donor-wall/class-give-donor-wall.php:
|
57 |
msgid "No donors found."
|
58 |
msgstr ""
|
59 |
|
60 |
#. translators: 1: Opening anchor tag. 2: Closing anchor tag.
|
61 |
#. translators: 1: Opening anchor tag. 2: Closing anchor tag.
|
62 |
-
#: blocks/donor-wall/class-give-donor-wall.php:
|
63 |
msgid "Need help? Learn more about %1$sDonors%2$s."
|
64 |
msgstr ""
|
65 |
|
@@ -67,35 +67,35 @@ msgstr ""
|
|
67 |
msgid "Cheatin’ huh?"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: give.php:
|
71 |
msgid "Your site could be faster and more secure with a newer PHP version."
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: give.php:
|
75 |
msgid "Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: give.php:
|
79 |
msgid "Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site."
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: give.php:
|
83 |
msgid "To which version should I update?"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: give.php:
|
87 |
msgid "You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: give.php:
|
91 |
msgid "Can't update? Ask your host!"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: give.php:
|
95 |
msgid "If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s."
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: give.php:
|
99 |
msgid "<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href=\"%1$s\" target=\"_blank\">logging into your account</a> and visiting <a href=\"%1$s\" target=\"_blank\">your downloads</a> page on the GiveWP website."
|
100 |
msgstr ""
|
101 |
|
@@ -355,18 +355,6 @@ msgstr ""
|
|
355 |
msgid "New Donation Form"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: includes/class-give-donor-wall-widget.php:37
|
359 |
-
msgid "Displays gravatars of people who have donated using your your form. Will only show on the single form page."
|
360 |
-
msgstr ""
|
361 |
-
|
362 |
-
#: includes/class-give-donor-wall-widget.php:50
|
363 |
-
msgid "GiveWP Donor Gravatars"
|
364 |
-
msgstr ""
|
365 |
-
|
366 |
-
#: includes/class-give-donor-wall-widget.php:143, includes/forms/widget.php:191
|
367 |
-
msgid "Title:"
|
368 |
-
msgstr ""
|
369 |
-
|
370 |
#: includes/class-give-email-access.php:300
|
371 |
msgid "Your access token has expired. Please request a new one."
|
372 |
msgstr ""
|
@@ -7842,6 +7830,10 @@ msgstr ""
|
|
7842 |
msgid "Help our organization by donating today! All donations go directly to making a difference for our cause."
|
7843 |
msgstr ""
|
7844 |
|
|
|
|
|
|
|
|
|
7845 |
#: includes/forms/widget.php:193
|
7846 |
msgid "Leave blank to hide the widget title."
|
7847 |
msgstr ""
|
@@ -14108,7 +14100,7 @@ msgstr ""
|
|
14108 |
msgid "Process Donation"
|
14109 |
msgstr ""
|
14110 |
|
14111 |
-
#: src/Views/Form/Templates/Sequoia/Sequoia.php:
|
14112 |
msgid "Multi-Step Donation Form"
|
14113 |
msgstr ""
|
14114 |
|
41 |
msgid "Need help? Get started with %1$sGive 101%2$s."
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: blocks/donor-wall/class-give-donor-wall.php:152, includes/donors/class-give-donor-wall.php:194, includes/admin/shortcodes/shortcode-give-donor-wall.php:99
|
45 |
msgid "Read more"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: blocks/donor-wall/class-give-donor-wall.php:156, includes/donors/class-give-donor-wall.php:195, includes/admin/shortcodes/shortcode-give-donor-wall.php:106
|
49 |
msgid "Load more"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: blocks/donor-wall/class-give-donor-wall.php:219, includes/admin/class-blank-slate.php:259
|
53 |
msgid "GiveWP Icon"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: blocks/donor-wall/class-give-donor-wall.php:220, includes/class-give-cli-commands.php:470, includes/admin/class-blank-slate.php:295, includes/admin/class-give-html-elements.php:274, includes/api/class-give-api.php:1002
|
57 |
msgid "No donors found."
|
58 |
msgstr ""
|
59 |
|
60 |
#. translators: 1: Opening anchor tag. 2: Closing anchor tag.
|
61 |
#. translators: 1: Opening anchor tag. 2: Closing anchor tag.
|
62 |
+
#: blocks/donor-wall/class-give-donor-wall.php:223, includes/admin/class-blank-slate.php:301
|
63 |
msgid "Need help? Learn more about %1$sDonors%2$s."
|
64 |
msgstr ""
|
65 |
|
67 |
msgid "Cheatin’ huh?"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: give.php:686
|
71 |
msgid "Your site could be faster and more secure with a newer PHP version."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: give.php:687
|
75 |
msgid "Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: give.php:688
|
79 |
msgid "Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: give.php:689
|
83 |
msgid "To which version should I update?"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: give.php:690
|
87 |
msgid "You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run."
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: give.php:691
|
91 |
msgid "Can't update? Ask your host!"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: give.php:692
|
95 |
msgid "If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s."
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: give.php:718
|
99 |
msgid "<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href=\"%1$s\" target=\"_blank\">logging into your account</a> and visiting <a href=\"%1$s\" target=\"_blank\">your downloads</a> page on the GiveWP website."
|
100 |
msgstr ""
|
101 |
|
355 |
msgid "New Donation Form"
|
356 |
msgstr ""
|
357 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
#: includes/class-give-email-access.php:300
|
359 |
msgid "Your access token has expired. Please request a new one."
|
360 |
msgstr ""
|
7830 |
msgid "Help our organization by donating today! All donations go directly to making a difference for our cause."
|
7831 |
msgstr ""
|
7832 |
|
7833 |
+
#: includes/forms/widget.php:191
|
7834 |
+
msgid "Title:"
|
7835 |
+
msgstr ""
|
7836 |
+
|
7837 |
#: includes/forms/widget.php:193
|
7838 |
msgid "Leave blank to hide the widget title."
|
7839 |
msgstr ""
|
14100 |
msgid "Process Donation"
|
14101 |
msgstr ""
|
14102 |
|
14103 |
+
#: src/Views/Form/Templates/Sequoia/Sequoia.php:279
|
14104 |
msgid "Multi-Step Donation Form"
|
14105 |
msgstr ""
|
14106 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, g
|
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.7.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -223,21 +223,29 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
= 2.7.1: June 30th, 2020 =
|
227 |
* Fix: Resolved an issue with the 2.7.0 releasing causing the Form Grid shortcode to not render due to a PHP fatal error. [#4877](https://github.com/impress-org/givewp/issues/4877)
|
228 |
-
* Fix: Updated a JavaScript version to the latest to prevent browser caching from causing the Reports widgets to not function until a hard browser refresh. [#4876](https://github.com/impress-org/givewp/pull/4876)
|
229 |
|
230 |
= 2.7.0: June 29th, 2020 =
|
231 |
* New: We're excited to announce a new way to create your donation forms called "Form Templates". The first template is allows you to create a highly customizable multi-step donation form where you control all the text, colors, and images in place. Be sure to update to the latest version of your add-ons for full compatibility. [Read more about Form Templates](https://go.givewp.com/wpgivewp27)
|
232 |
* New: Multiple Stripe Account is here! Now you can connect to multiple Stripe accounts and set them per donation form. That means organizations, like charities with chapters or schools with clubs that need to raise money online, can create different forms to accept donations through separate Stripe accounts. [Read more about Stripe Multi-Accounts](http://docs.givewp.com/stripe-free)
|
233 |
* New: Our Gutenberg blocks' UI was improved so they are have a better user experience.
|
234 |
-
* Tweak: Previous to this release we were packaging two TCPDF packages for backwards compatibility reason. We removed one of the packages and now are relying on the composer package. This means that you'll need to be running the PDF Receipts version add-on at 2.3.4 or higher for compatibility. [#4656](https://github.com/impress-org/givewp/pull/4656)
|
235 |
* Fix: If you install GiveWP and didn't configure anything there would be a JavaScript error on the frontend if Stripe is not connected but enabled, which it is by default for new installs. [#4709](https://github.com/impress-org/givewp/pull/4709)
|
236 |
* Fix: Improved how reports are rounding percentages so that the trend comparisons are more accurate. [#4766](https://github.com/impress-org/givewp/issues/4766)
|
237 |
-
* Fix: Monaco doesn't have states so don't display or require a state field when that country is selected. [#4773](https://github.com/impress-org/givewp/pull/4773)
|
238 |
* Fix: Properly internationalized a tooltip in Stripe so translations properly display. [#4677](https://github.com/impress-org/givewp/pull/4677)
|
239 |
* Fix: The "Add-ons" like on the plugin activation welcome screen was broken. [#4843](https://github.com/impress-org/givewp/pull/4843)
|
240 |
-
* Fix: Resolved a caching conflict with WP Rocket that was preventing donation forms from being cached properly. [#4546](https://github.com/impress-org/givewp/pull/4546)
|
241 |
* Fix: Prevented a fatal error that could occur on the Donor profile screen in WP-Admin when the Stripe add-on is active but no Stripe payment gateways are enabled. [#4787](https://github.com/impress-org/givewp/pull/4787)
|
242 |
|
243 |
= 2.6.3: May 19th, 2020 =
|
@@ -272,8 +280,8 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
|
|
272 |
* New: The Akismet SPAM feature has been improved with logs for admins to better understand why an email has been flagged as SPAM as well as a new Whitelist setting for them to allow email addresses to bypass the check. [#4110](https://github.com/impress-org/givewp/issues/4110)
|
273 |
* Fix: Resolved an issue with the "Recalculate Income Amount and Donation Counts for a Form" not accurately recalculating when using Currency Switcher add-on. [#4447](https://github.com/impress-org/givewp/issues/4447)
|
274 |
* Fix: Resolved an issue with large databases with more than 13,000 donors receiving a fatal error when viewing the donor's list screen. [#4444](https://github.com/impress-org/givewp/issues/4444)
|
275 |
-
* Tweak: You can now activate any plugin within the GiveWP Licenses tab. This resolves an issue with "this plugin does not have a valid header" error admins were receiving. [#4443](https://github.com/impress-org/givewp/issues/4443)
|
276 |
-
* Tweak: Updated the `[give_login]` shortcode text output to "Username or Email Address" to match WP's login. Note: you have been able to always log in using email but now the text accurately reflects that. [#4434](https://github.com/impress-org/givewp/issues/4434)
|
277 |
|
278 |
= 2.5.13: January 15th, 2020 =
|
279 |
* Fix: Resolved an issue when using button mode of multiple donation buttons appearing incorrectly within shortcodes, blocks, and widgets. [#4379](https://github.com/impress-org/givewp/issues/4379)
|
@@ -769,7 +777,7 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
|
|
769 |
== Upgrade Notice ==
|
770 |
|
771 |
= 2.7.0 =
|
772 |
-
This version contains a database upgrade for donation forms and Stripe. Please ensure you have a backup in place prior to updating and be sure to update GiveWP Core and then your GiveWP Add-ons to the latest versions for maximum compatibility.
|
773 |
|
774 |
= 2.1.3 =
|
775 |
This version contains a database cleanup routine to delete donation payment meta that is not attached to any payment. For instance, if you deleted a payment the metadata associated with it still remained prior to this version. With this upgrade the orphaned data will be removed.
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.7.2
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
223 |
|
224 |
== Changelog ==
|
225 |
|
226 |
+
= 2.7.2: July 6th, 2020 =
|
227 |
+
* Fix: The 2.7.0 upgrade routine could cause WP-Admin to be incorrectly redirected to the update success screen for certain hosting environments after completion. [#4900](https://github.com/impress-org/givewp/issues/4900)
|
228 |
+
* Fix: The Donor Wall shortcode now allows you to properly only display certain donors by their donor IDs. [#4864](https://github.com/impress-org/givewp/issues/4864)
|
229 |
+
* Fix: Improved the Multi-Step Form Template styles when only one gateway is active. Previously the "Donate Now" button wouldn't be properly centered aligned and checkboxes could be a smaller width than the container. [#4882](https://github.com/impress-org/givewp/issues/4882)
|
230 |
+
* Fix: Provided support for the "Anonymous Donations" checkbox within the new Multi-step Form Template. [#4888](https://github.com/impress-org/givewp/issues/4888)
|
231 |
+
* Fix: The "Terms and Conditions" checkbox can now be properly scrolled on mobile devices. [#4899](https://github.com/impress-org/givewp/issues/4899)
|
232 |
+
* Fix: When Google Pay was the default gateway a notice would incorrectly display in the new donation form template. [#4879](https://github.com/impress-org/givewp/issues/4879)
|
233 |
+
|
234 |
= 2.7.1: June 30th, 2020 =
|
235 |
* Fix: Resolved an issue with the 2.7.0 releasing causing the Form Grid shortcode to not render due to a PHP fatal error. [#4877](https://github.com/impress-org/givewp/issues/4877)
|
236 |
+
* Fix: Updated a JavaScript version to the latest to prevent browser caching from causing the Reports widgets to not function until a hard browser refresh. [#4876](https://github.com/impress-org/givewp/pull/4876)
|
237 |
|
238 |
= 2.7.0: June 29th, 2020 =
|
239 |
* New: We're excited to announce a new way to create your donation forms called "Form Templates". The first template is allows you to create a highly customizable multi-step donation form where you control all the text, colors, and images in place. Be sure to update to the latest version of your add-ons for full compatibility. [Read more about Form Templates](https://go.givewp.com/wpgivewp27)
|
240 |
* New: Multiple Stripe Account is here! Now you can connect to multiple Stripe accounts and set them per donation form. That means organizations, like charities with chapters or schools with clubs that need to raise money online, can create different forms to accept donations through separate Stripe accounts. [Read more about Stripe Multi-Accounts](http://docs.givewp.com/stripe-free)
|
241 |
* New: Our Gutenberg blocks' UI was improved so they are have a better user experience.
|
242 |
+
* Tweak: Previous to this release we were packaging two TCPDF packages for backwards compatibility reason. We removed one of the packages and now are relying on the composer package. This means that you'll need to be running the PDF Receipts version add-on at 2.3.4 or higher for compatibility. [#4656](https://github.com/impress-org/givewp/pull/4656)
|
243 |
* Fix: If you install GiveWP and didn't configure anything there would be a JavaScript error on the frontend if Stripe is not connected but enabled, which it is by default for new installs. [#4709](https://github.com/impress-org/givewp/pull/4709)
|
244 |
* Fix: Improved how reports are rounding percentages so that the trend comparisons are more accurate. [#4766](https://github.com/impress-org/givewp/issues/4766)
|
245 |
+
* Fix: Monaco doesn't have states so don't display or require a state field when that country is selected. [#4773](https://github.com/impress-org/givewp/pull/4773)
|
246 |
* Fix: Properly internationalized a tooltip in Stripe so translations properly display. [#4677](https://github.com/impress-org/givewp/pull/4677)
|
247 |
* Fix: The "Add-ons" like on the plugin activation welcome screen was broken. [#4843](https://github.com/impress-org/givewp/pull/4843)
|
248 |
+
* Fix: Resolved a caching conflict with WP Rocket that was preventing donation forms from being cached properly. [#4546](https://github.com/impress-org/givewp/pull/4546)
|
249 |
* Fix: Prevented a fatal error that could occur on the Donor profile screen in WP-Admin when the Stripe add-on is active but no Stripe payment gateways are enabled. [#4787](https://github.com/impress-org/givewp/pull/4787)
|
250 |
|
251 |
= 2.6.3: May 19th, 2020 =
|
280 |
* New: The Akismet SPAM feature has been improved with logs for admins to better understand why an email has been flagged as SPAM as well as a new Whitelist setting for them to allow email addresses to bypass the check. [#4110](https://github.com/impress-org/givewp/issues/4110)
|
281 |
* Fix: Resolved an issue with the "Recalculate Income Amount and Donation Counts for a Form" not accurately recalculating when using Currency Switcher add-on. [#4447](https://github.com/impress-org/givewp/issues/4447)
|
282 |
* Fix: Resolved an issue with large databases with more than 13,000 donors receiving a fatal error when viewing the donor's list screen. [#4444](https://github.com/impress-org/givewp/issues/4444)
|
283 |
+
* Tweak: You can now activate any plugin within the GiveWP Licenses tab. This resolves an issue with "this plugin does not have a valid header" error admins were receiving. [#4443](https://github.com/impress-org/givewp/issues/4443)
|
284 |
+
* Tweak: Updated the `[give_login]` shortcode text output to "Username or Email Address" to match WP's login. Note: you have been able to always log in using email but now the text accurately reflects that. [#4434](https://github.com/impress-org/givewp/issues/4434)
|
285 |
|
286 |
= 2.5.13: January 15th, 2020 =
|
287 |
* Fix: Resolved an issue when using button mode of multiple donation buttons appearing incorrectly within shortcodes, blocks, and widgets. [#4379](https://github.com/impress-org/givewp/issues/4379)
|
777 |
== Upgrade Notice ==
|
778 |
|
779 |
= 2.7.0 =
|
780 |
+
This version contains a database upgrade for donation forms and Stripe. Please ensure you have a backup in place prior to updating and be sure to update GiveWP Core and then your GiveWP Add-ons to the latest versions for maximum compatibility.
|
781 |
|
782 |
= 2.1.3 =
|
783 |
This version contains a database cleanup routine to delete donation payment meta that is not attached to any payment. For instance, if you deleted a payment the metadata associated with it still remained prior to this version. With this upgrade the orphaned data will be removed.
|
src/Views/Form/Templates/Sequoia/Sequoia.php
CHANGED
@@ -170,6 +170,12 @@ class Sequoia extends Template implements Hookable, Scriptable {
|
|
170 |
#give_terms_agreement input[type='checkbox'] + label::after {
|
171 |
background-image: url(\"data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%23{$rawColor}'/%3E%3C/svg%3E%0A\") !important;
|
172 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
";
|
174 |
|
175 |
if ( Utils::isPluginActive( 'give-recurring/give-recurring.php' ) ) {
|
170 |
#give_terms_agreement input[type='checkbox'] + label::after {
|
171 |
background-image: url(\"data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%23{$rawColor}'/%3E%3C/svg%3E%0A\") !important;
|
172 |
}
|
173 |
+
#give-anonymous-donation-wrap label::after {
|
174 |
+
background-image: url(\"data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%23{$rawColor}'/%3E%3C/svg%3E%0A\") !important;
|
175 |
+
}
|
176 |
+
#give-anonymous-donation-wrap label:focus-within::before {
|
177 |
+
border-color: {$primaryColor} !important;
|
178 |
+
}
|
179 |
";
|
180 |
|
181 |
if ( Utils::isPluginActive( 'give-recurring/give-recurring.php' ) ) {
|
src/Views/Form/Templates/Sequoia/assets/css/feerecovery.scss
CHANGED
@@ -19,6 +19,14 @@
|
|
19 |
}
|
20 |
}
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
.give-fee-total-wrap.fee-coverage-required.give-fee-message,
|
23 |
.give-fee-recovery-donors-choice.give-fee-message {
|
24 |
.give-fee-message-label-text {
|
19 |
}
|
20 |
}
|
21 |
|
22 |
+
#give_purchase_form_wrap {
|
23 |
+
.give-fee-total-wrap.fee-coverage-required.give-fee-message,
|
24 |
+
.give-fee-recovery-donors-choice.give-fee-message,
|
25 |
+
.fee-break-down-message {
|
26 |
+
margin: 20px 0 0 0 !important;
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
.give-fee-total-wrap.fee-coverage-required.give-fee-message,
|
31 |
.give-fee-recovery-donors-choice.give-fee-message {
|
32 |
.give-fee-message-label-text {
|
src/Views/Form/Templates/Sequoia/assets/css/form.scss
CHANGED
@@ -600,6 +600,56 @@ p {
|
|
600 |
width: 100%;
|
601 |
}
|
602 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
603 |
#give_terms_agreement {
|
604 |
order: 3;
|
605 |
background: #fff;
|
@@ -624,12 +674,25 @@ p {
|
|
624 |
|
625 |
#give_show_terms {
|
626 |
order: 3;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
}
|
628 |
|
629 |
#give_terms {
|
630 |
margin-bottom: 17px;
|
631 |
max-height: 300px;
|
632 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
}
|
634 |
|
635 |
label {
|
@@ -642,6 +705,11 @@ p {
|
|
642 |
line-height: 1.4;
|
643 |
position: relative;
|
644 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
645 |
}
|
646 |
|
647 |
&:hover {
|
@@ -972,7 +1040,14 @@ p {
|
|
972 |
.no-fields {
|
973 |
margin-bottom: 8px;
|
974 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
975 |
}
|
|
|
976 |
#give_purchase_submit {
|
977 |
display: flex;
|
978 |
flex-direction: column;
|
@@ -1002,25 +1077,25 @@ p {
|
|
1002 |
#donate-fieldset {
|
1003 |
display: flex;
|
1004 |
flex-direction: column;
|
|
|
1005 |
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
|
1021 |
-
|
1022 |
-
|
1023 |
-
}
|
1024 |
}
|
1025 |
}
|
1026 |
}
|
600 |
width: 100%;
|
601 |
}
|
602 |
|
603 |
+
#give-anonymous-donation-wrap {
|
604 |
+
.give-label {
|
605 |
+
display: block !important;
|
606 |
+
font-weight: 400;
|
607 |
+
font-size: 14px;
|
608 |
+
line-height: 1.4;
|
609 |
+
padding: 0 0 0 32px;
|
610 |
+
width: calc(100% - 40px);
|
611 |
+
margin-left: 0;
|
612 |
+
color: #696969;
|
613 |
+
display: inline-block;
|
614 |
+
|
615 |
+
&::before {
|
616 |
+
content: ' ';
|
617 |
+
position: absolute;
|
618 |
+
top: calc(50% - 12px);
|
619 |
+
left: 0;
|
620 |
+
width: 20px;
|
621 |
+
height: 20px;
|
622 |
+
border: 1px solid #b4b9be;
|
623 |
+
background-color: #fff;
|
624 |
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
|
625 |
+
}
|
626 |
+
|
627 |
+
&::after {
|
628 |
+
transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease;
|
629 |
+
border-radius: 11px;
|
630 |
+
width: 20px;
|
631 |
+
height: 20px;
|
632 |
+
position: absolute;
|
633 |
+
top: calc(50% - 12px);
|
634 |
+
left: 0;
|
635 |
+
content: ' ';
|
636 |
+
display: block;
|
637 |
+
background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%231E8CBE'/%3E%3C/svg%3E%0A");
|
638 |
+
background-repeat: no-repeat;
|
639 |
+
background-position: center;
|
640 |
+
clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%);
|
641 |
+
-webkit-clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%);
|
642 |
+
}
|
643 |
+
|
644 |
+
&.active {
|
645 |
+
&::after {
|
646 |
+
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
647 |
+
-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
648 |
+
}
|
649 |
+
}
|
650 |
+
}
|
651 |
+
}
|
652 |
+
|
653 |
#give_terms_agreement {
|
654 |
order: 3;
|
655 |
background: #fff;
|
674 |
|
675 |
#give_show_terms {
|
676 |
order: 3;
|
677 |
+
|
678 |
+
@media screen and (max-width: $break-phone) {
|
679 |
+
bottom: 20px;
|
680 |
+
left: 60px;
|
681 |
+
position: absolute;
|
682 |
+
z-index: 99;
|
683 |
+
}
|
684 |
}
|
685 |
|
686 |
#give_terms {
|
687 |
margin-bottom: 17px;
|
688 |
max-height: 300px;
|
689 |
+
padding: 0 10px 0 0;
|
690 |
+
overflow-y: scroll !important;
|
691 |
+
|
692 |
+
> p:first-of-type {
|
693 |
+
margin-top: 0;
|
694 |
+
}
|
695 |
+
|
696 |
}
|
697 |
|
698 |
label {
|
705 |
line-height: 1.4;
|
706 |
position: relative;
|
707 |
cursor: pointer;
|
708 |
+
|
709 |
+
@media screen and (max-width: $break-phone) {
|
710 |
+
width: calc(100% - 30px);
|
711 |
+
padding: 0 0 30px 40px;
|
712 |
+
}
|
713 |
}
|
714 |
|
715 |
&:hover {
|
1040 |
.no-fields {
|
1041 |
margin-bottom: 8px;
|
1042 |
}
|
1043 |
+
|
1044 |
+
&.give-single-gateway-wrap {
|
1045 |
+
background: none;
|
1046 |
+
padding: 0;
|
1047 |
+
margin: 0 20px;
|
1048 |
+
}
|
1049 |
}
|
1050 |
+
|
1051 |
#give_purchase_submit {
|
1052 |
display: flex;
|
1053 |
flex-direction: column;
|
1077 |
#donate-fieldset {
|
1078 |
display: flex;
|
1079 |
flex-direction: column;
|
1080 |
+
}
|
1081 |
|
1082 |
+
.give-submit-button-wrap {
|
1083 |
+
display: flex;
|
1084 |
+
flex-direction: column;
|
1085 |
+
align-items: center;
|
1086 |
+
position: relative;
|
1087 |
+
order: 3;
|
1088 |
|
1089 |
+
.sequoia-loader {
|
1090 |
+
height: 30px;
|
1091 |
+
width: 30px;
|
1092 |
+
bottom: 32px;
|
1093 |
+
position: absolute;
|
1094 |
+
font-size: 4px;
|
1095 |
+
}
|
1096 |
|
1097 |
+
.give-submit:not(:disabled) + .sequoia-loader {
|
1098 |
+
display: none;
|
|
|
1099 |
}
|
1100 |
}
|
1101 |
}
|
src/Views/Form/Templates/Sequoia/assets/js/form.js
CHANGED
@@ -220,10 +220,18 @@
|
|
220 |
// Remove purchase_loading text
|
221 |
window.give_global_vars.purchase_loading = '';
|
222 |
|
|
|
223 |
$( '.give_error' ).each( function() {
|
224 |
moveErrorNotice( $( this ) );
|
225 |
} );
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
// Setup recurring donations opt-in event listeners
|
228 |
setupCheckbox( {
|
229 |
container: '.give-recurring-donors-choice',
|
@@ -295,6 +303,10 @@
|
|
295 |
// do things to your newly added nodes here
|
296 |
const node = mutation.addedNodes[ i ];
|
297 |
|
|
|
|
|
|
|
|
|
298 |
if ( $( node ).children().hasClass( 'give_errors' ) && ! $( node ).parent().hasClass( 'donation-errors' ) ) {
|
299 |
$( node ).children( '.give_errors' ).each( function() {
|
300 |
const notice = $( this );
|
@@ -349,6 +361,7 @@
|
|
349 |
$( document ).on( 'give_gateway_loaded', function() {
|
350 |
setupTabOrder();
|
351 |
moveFieldsUnderPaymentGateway( true );
|
|
|
352 |
$( '#give_purchase_form_wrap' ).slideDown( 200, function() {
|
353 |
gatewayAnimating = false;
|
354 |
} );
|
@@ -375,6 +388,9 @@
|
|
375 |
|
376 |
// Refresh payment information section.
|
377 |
$( document ).on( 'give_gateway_loaded', refreshPaymentInformationSection );
|
|
|
|
|
|
|
378 |
}
|
379 |
|
380 |
/**
|
@@ -383,6 +399,11 @@
|
|
383 |
* @param {node} node The error notice node to be moved
|
384 |
*/
|
385 |
function moveErrorNotice( node ) {
|
|
|
|
|
|
|
|
|
|
|
386 |
// First check if specific donation notice container has been set up
|
387 |
if ( $( '.donation-errors' ).length === 0 ) {
|
388 |
$( '.payment' ).prepend( '<div class="donation-errors"></div>' );
|
@@ -623,7 +644,11 @@
|
|
623 |
}
|
624 |
|
625 |
// Persist checkbox input border when selected
|
626 |
-
$( label ).on( 'click touchend', function() {
|
|
|
|
|
|
|
|
|
627 |
$( container ).toggleClass( 'active' );
|
628 |
} );
|
629 |
}
|
@@ -677,4 +702,20 @@
|
|
677 |
function clearLoginNotices() {
|
678 |
$( '#give_error_must_log_in' ).remove();
|
679 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
}( jQuery ) );
|
220 |
// Remove purchase_loading text
|
221 |
window.give_global_vars.purchase_loading = '';
|
222 |
|
223 |
+
// Move errors
|
224 |
$( '.give_error' ).each( function() {
|
225 |
moveErrorNotice( $( this ) );
|
226 |
} );
|
227 |
|
228 |
+
// Setup anonymouse donations opt-in event listeners
|
229 |
+
setupCheckbox( {
|
230 |
+
container: '#give-anonymous-donation-wrap label',
|
231 |
+
label: '#give-anonymous-donation-wrap label',
|
232 |
+
input: '#give-anonymous-donation',
|
233 |
+
} );
|
234 |
+
|
235 |
// Setup recurring donations opt-in event listeners
|
236 |
setupCheckbox( {
|
237 |
container: '.give-recurring-donors-choice',
|
303 |
// do things to your newly added nodes here
|
304 |
const node = mutation.addedNodes[ i ];
|
305 |
|
306 |
+
if ( $( node ).find( '.give_error' ).length > 0 ) {
|
307 |
+
moveErrorNotice( $( node ).find( '.give_error' ) );
|
308 |
+
}
|
309 |
+
|
310 |
if ( $( node ).children().hasClass( 'give_errors' ) && ! $( node ).parent().hasClass( 'donation-errors' ) ) {
|
311 |
$( node ).children( '.give_errors' ).each( function() {
|
312 |
const notice = $( this );
|
361 |
$( document ).on( 'give_gateway_loaded', function() {
|
362 |
setupTabOrder();
|
363 |
moveFieldsUnderPaymentGateway( true );
|
364 |
+
setupSelectInputs();
|
365 |
$( '#give_purchase_form_wrap' ).slideDown( 200, function() {
|
366 |
gatewayAnimating = false;
|
367 |
} );
|
388 |
|
389 |
// Refresh payment information section.
|
390 |
$( document ).on( 'give_gateway_loaded', refreshPaymentInformationSection );
|
391 |
+
} else {
|
392 |
+
$( '#give_purchase_form_wrap' ).addClass( 'give-single-gateway-wrap' );
|
393 |
+
setupSelectInputs();
|
394 |
}
|
395 |
|
396 |
/**
|
399 |
* @param {node} node The error notice node to be moved
|
400 |
*/
|
401 |
function moveErrorNotice( node ) {
|
402 |
+
//If the error is inside stripe payment button, do nothing
|
403 |
+
if ( $( node ).parent().hasClass( 'give-stripe-payment-request-button' ) ) {
|
404 |
+
return;
|
405 |
+
}
|
406 |
+
|
407 |
// First check if specific donation notice container has been set up
|
408 |
if ( $( '.donation-errors' ).length === 0 ) {
|
409 |
$( '.payment' ).prepend( '<div class="donation-errors"></div>' );
|
644 |
}
|
645 |
|
646 |
// Persist checkbox input border when selected
|
647 |
+
$( label ).on( 'click touchend', function( evt ) {
|
648 |
+
if ( container === label ) {
|
649 |
+
evt.stopPropagation();
|
650 |
+
evt.preventDefault();
|
651 |
+
}
|
652 |
$( container ).toggleClass( 'active' );
|
653 |
} );
|
654 |
}
|
702 |
function clearLoginNotices() {
|
703 |
$( '#give_error_must_log_in' ).remove();
|
704 |
}
|
705 |
+
|
706 |
+
/**
|
707 |
+
* Setup select inputs
|
708 |
+
*
|
709 |
+
* @since 2.7.0
|
710 |
+
*/
|
711 |
+
function setupSelectInputs() {
|
712 |
+
if ( $( 'select option[selected="selected"][value=""]' ).length > 0 ) {
|
713 |
+
$( 'select option[selected="selected"][value=""]' ).each( function() {
|
714 |
+
if ( $( this ).parent().siblings( 'label' ).length ) {
|
715 |
+
$( this ).text( $( this ).parent().siblings( 'label' ).text().replace( '*', '' ).trim() );
|
716 |
+
$( this ).attr( 'disabled', true );
|
717 |
+
}
|
718 |
+
} );
|
719 |
+
}
|
720 |
+
}
|
721 |
}( jQuery ) );
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb6ef30741f08775a5145fd41e810bd3c
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
@@ -64,9 +64,9 @@ class ComposerStaticInitb6ef30741f08775a5145fd41e810bd3c
|
|
64 |
public static function getInitializer(ClassLoader $loader)
|
65 |
{
|
66 |
return \Closure::bind(function () use ($loader) {
|
67 |
-
$loader->prefixLengthsPsr4 =
|
68 |
-
$loader->prefixDirsPsr4 =
|
69 |
-
$loader->classMap =
|
70 |
|
71 |
}, null, ClassLoader::class);
|
72 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
64 |
public static function getInitializer(ClassLoader $loader)
|
65 |
{
|
66 |
return \Closure::bind(function () use ($loader) {
|
67 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::$prefixLengthsPsr4;
|
68 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::$prefixDirsPsr4;
|
69 |
+
$loader->classMap = ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::$classMap;
|
70 |
|
71 |
}, null, ClassLoader::class);
|
72 |
}
|