{"id":129539,"date":"2026-06-26T13:59:53","date_gmt":"2026-06-26T11:59:53","guid":{"rendered":"https:\/\/stage-giving.unhcr.org\/donate\/general-donate-page\/"},"modified":"2026-10-14T20:02:39","modified_gmt":"2026-10-14T18:02:39","slug":"general-donate-page","status":"publish","type":"page","link":"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/","title":{"rendered":"General Donate Page"},"content":{"rendered":"\n<div class=\"wp-block-group alignfull general-donate-page has-global-padding is-layout-constrained wp-container-core-group-is-layout-d9f89e9c wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">\r\n<div class=\"advanced-slider-wrapper advanced-slider-zhtDaSz2\"\r\n\tdata-swiper-config=\"{&quot;slidesPerView&quot;:1,&quot;spaceBetween&quot;:10,&quot;speed&quot;:800,&quot;autoplay&quot;:{&quot;delay&quot;:5000,&quot;disableOnInteraction&quot;:false},&quot;loop&quot;:true,&quot;navigation&quot;:false,&quot;pagination&quot;:false,&quot;effect&quot;:&quot;fade&quot;,&quot;fadeEffect&quot;:{&quot;crossFade&quot;:false},&quot;breakpoints&quot;:{&quot;240&quot;:{&quot;slidesPerView&quot;:1,&quot;spaceBetween&quot;:10},&quot;768&quot;:{&quot;slidesPerView&quot;:1,&quot;spaceBetween&quot;:10},&quot;1024&quot;:{&quot;slidesPerView&quot;:1,&quot;spaceBetween&quot;:10}},&quot;parallax&quot;:false,&quot;keyboard&quot;:{&quot;enabled&quot;:true,&quot;onlyInViewport&quot;:true},&quot;mousewheel&quot;:false,&quot;grabCursor&quot;:true,&quot;centeredSlides&quot;:false,&quot;watchSlidesProgress&quot;:true,&quot;lazy&quot;:{&quot;loadPrevNext&quot;:true,&quot;loadPrevNextAmount&quot;:2},&quot;preloadImages&quot;:false,&quot;on&quot;:{&quot;slideChange&quot;:&quot;window.advancedSliderHandleSlideChange&quot;,&quot;init&quot;:&quot;window.advancedSliderHandleInit&quot;,&quot;progress&quot;:&quot;window.advancedSliderHandleProgress&quot;}}\"\r\n\tdata-autoplay-videos=\"true\"\r\n\tdata-mute-videos=\"true\"\r\n\tstyle=\"--advanced-overlay-opacity: 0.8; --advanced-transition-speed: 800ms; --advanced-space-between: 0px; padding-right:var(--wp--preset--spacing--spacing-80);padding-left:var(--wp--preset--spacing--spacing-80);margin-top:0;margin-bottom:0;\">\r\n\r\n\t\t\t\t<div class=\"campaign-hero-top custom-container\">\r\n\t\t\t<a class=\"campaign-hero-back\" href=\"https:\/\/giving.unhcr.org\/donate\/en\/appeals\/\" aria-label=\"Back to Appeals\" data-appeals-urls=\"[&quot;https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/appeals\\\/&quot;]\" hidden>\r\n\t\t\t\t<svg class=\"campaign-hero-back__icon\" width=\"6\" height=\"11\" viewBox=\"0 0 6 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\">\r\n\t\t\t\t\t<path d=\"M5 1L1 5.5L5 10\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\r\n\t\t\t\t<\/svg>\r\n\t\t\t\t<span class=\"campaign-hero-back__label\">Back to Appeals<\/span>\r\n\t\t\t<\/a>\r\n\t\t<\/div>\r\n\t\r\n\t<div class=\"advanced-slider swiper\" id=\"advanced-slider-zhtDaSz2\">\r\n\t\t<div class=\"swiper-wrapper\">\r\n\t\t\t\t\t\t\t<div class=\"swiper-slide advanced-slide\" data-slide-index=\"0\"\r\n\t\t\t\t\tdata-media-type=\"image\"\r\n\t\t\t\t\tdata-slide-id=\"1770326472102\" style=\"--slide-mobile-height: 57vh\">\r\n\t\t\t\t\t<div class=\"slide-background-container\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<img decoding=\"async\" class=\"slide-image slide-image--desktop\" src=\"https:\/\/giving.unhcr.org\/donate\/wp-content\/uploads\/2026\/07\/1111Rectangle-1271.jpg\"\r\n\t\t\talt=\"1111Rectangle-1271\" loading=\"lazy\" \/>\r\n\t\t<img decoding=\"async\" class=\"slide-image slide-image--mobile\" src=\"https:\/\/giving.unhcr.org\/donate\/wp-content\/uploads\/2026\/07\/Rectangle-126-1.png\"\r\n\t\t\talt=\"Rectangle 126 (1)\" loading=\"lazy\" \/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\r\n\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass=\"info-holder info-holder--bottom info-holder--mobile-align-left\">\r\n\t\t\t\t\t\t<div class=\"custom-container\">\r\n\t\t\t\t\t\t\t<div class=\"info-content\" style=\"--slide-title-size-desktop: 65px; --slide-title-size-mobile: 40px; --slide-description-size-desktop: 18px; --slide-description-size-mobile: 14px\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"info-details\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"info-bottom-holder\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t<!-- Pagination Dots for Simple Swiper -->\r\n\t\t\t\t<!-- Navigation arrows -->\r\n\t\t\r\n\t\t<!-- Pagination Dots -->\r\n\t\t\t<\/div>\r\n\r\n\r\n\t<!-- Preload critical videos for performance -->\r\n\t\t\t<script type=\"application\/json\" class=\"video-preload-data\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[]\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/script>\r\n\t\r\n\t<\/div>\n\n\n<div class=\"wp-block-group alignfull has-global-padding is-layout-constrained wp-container-core-group-is-layout-0a2b3e36 wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group alignfull has-global-padding is-layout-constrained wp-container-core-group-is-layout-84282a1e wp-block-group-is-layout-constrained\" style=\"padding-bottom:var(--wp--preset--spacing--spacing-120)\">\r\n<div style=\"--giving-payment-active-bg:#caeaff;--giving-payment-active-text:#0072bc\" class=\"giving-block-wrapper general-donate-form wp-block-bi-blocks-giving\">\r\n\t<!-- Success Message Container (hidden by default, shown when ?status=success) -->\r\n\t<div class=\"giving-success-message\" style=\"display: none;\">\r\n\t\t<div class=\"giving-success-content\">\r\n\t\t\t<div class=\"giving-success-icon\">\r\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/giving.unhcr.org\/donate\/wp-content\/plugins\/core-blocks-BI\/src\/giving\/assets\/success.svg\" alt=\"Success\" \/>\r\n\t\t\t<\/div>\r\n\t\t\t<h2 class=\"giving-success-title\">Thank you for your generous donation!<\/h2>\r\n\t\t\t<p class=\"giving-success-description\">Your support makes a difference and helps us continue our mission.<\/p>\r\n\t\t\t<div class=\"giving-success-buttons\">\r\n\t\t\t\t\t\t\t\t\t<a href=\"\" \r\n\t\t\t\t\t   class=\"giving-success-button giving-success-button--outline\">\r\n\t\t\t\t\t\tGive Zakat\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"\" \r\n\t\t\t\t\t   class=\"giving-success-button giving-success-button--filled\">\r\n\t\t\t\t\t\tSupport Another Cause\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<!-- Main Form Container (hidden when success message is shown) -->\r\n\t\t<div class=\"giving-form-container\">\r\n\t<script type=\"text\/javascript\">\r\n\t\tvar dataLayer = window.dataLayer = window.dataLayer || [];\r\n\t\tdataLayer.push({\r\n\t\t\t'pageLocation': \"en\",\r\n\t\t\t'pageCategory': 'Donation',\r\n\t\t\t'pageSubCategory': \"\"\r\n\t\t});\r\n\t\tvar description = '';\r\n\t\tvar campaignId = '129539';\r\n\t\tvar postID = '129539';\r\n\t\tvar campaignLang = 'en';\r\n\tvar campaignLink = '';\r\n\tvar postName = 'General Donate Page';\r\n\t\r\n\t\/\/ WordPress AJAX configuration for donation form\r\n\t\/\/\r\n\t\/\/ Merged (not a plain overwrite) onto any existing window.givingBlockData:\r\n\t\/\/ the block's own wp_localize_script() call further down this file (see\r\n\t\/\/ 'sourcePageSlug' below) prints its <script> tag wherever WordPress emits\r\n\t\/\/ the 'core-bi-blocks-giving-view-script' handle's dependencies - which can\r\n\t\/\/ land in <head>, i.e. BEFORE this inline script runs. A plain `=` here\r\n\t\/\/ would silently wipe out sourcePageSlug (and anything else localize sets)\r\n\t\/\/ the moment this script runs, breaking checkout.js's \"refresh the\r\n\t\/\/ giving_source_page cookie right before leaving for the gateway\" step,\r\n\t\/\/ which then falls back to guessing the slug from the URL path instead of\r\n\t\/\/ using the real one - the same class of bug enqueue_giving_scripts() in\r\n\t\/\/ ajax-handler.php already guards against for its own inline script.\r\n\twindow.givingBlockData = Object.assign({}, window.givingBlockData || {}, {\r\n\t\t\tajax_url: 'https:\/\/giving.unhcr.org\/donate\/wp-admin\/admin-ajax.php',\r\n\t\t\tnonce: 'a7a1e1dd09',\r\n\t\t\thomeUrl: 'https:\/\/giving.unhcr.org\/donate\/en',\r\n\t\t\tpluginUrl: 'https:\/\/giving.unhcr.org\/donate\/wp-content\/plugins\/core-blocks-BI\/build',\r\n\t\t\tintlTelUtilsPath: 'https:\/\/giving.unhcr.org\/donate\/wp-content\/plugins\/core-blocks-BI\/build\/giving\/intlTelInput\/js\/utils.js',\r\n\t\t\tpluginRootUrl: 'https:\/\/giving.unhcr.org\/donate\/wp-content\/plugins',\r\n\t\t\trecaptchaSiteKey: '6LfaKoUlAAAAAEOh7KY9m_Z2R0XvOJV37tzvDDyK',\r\n\t\t\tcampaignId: '129539',\r\n\t\t\tcurrentLang: 'en',\r\n\t\t\tpaymentIntegration: 'worldpay',\r\n\t\t\tenableQuickDonate: false,\r\n\t\t\tactiveUtmSeg: null,\r\n\t\t\thasSegmentAmounts: false,\r\n\t\t\tprefill: null,\r\n\t\t\tmessages: {\r\n\t\t\t\terror: 'Error',\r\n\t\t\t\ttryAgain: 'Please try again',\r\n\t\t\t\tconnectionFailed: 'Connection failed'\r\n\t\t\t}\r\n\t\t});\r\n\t<\/script>\r\n\r\n\t<div class=\"container-giving-block \"\r\n\t\tid=\"container-style_1\">\r\n\r\n\t\t<!--  -->\r\n\r\n\t\t\t\r\n\t\t\t\t\t\t<div class=\"donation-form-hero-cta\">\r\n\t\t\t\t<h2 class=\"donation-form-main-title\">Donate For a Good Cause<\/h2>\r\n\t\t\t\t\r\n\t\t\t<\/div>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t<div class=\"donation-form-holder \">\r\n\t\t\t\t\r\n\t\t\t\t<a href=\"#givingTab\" class=\"donation-form-title-link\">\r\n\t\t\t\t<h2 class=\"donation-form-title text-center\" style=\"background-color:#0072bc;color:#FFF;\">\r\n\t\t\t\t\tDonate Now\t\t\t\t<\/h2>\r\n\t\t\t\t<\/a>\r\n\r\n\t\t\t\t<!-- Multi-Step Indicator -->\r\n\t\t\t\t<div class=\"form-step-indicator\">\r\n\t\t\t\t\t<div class=\"step-tabs\">\r\n\t\t\t\t\t\t<div class=\"step-tab step-tab--active\" data-step=\"1\">\r\n\t\t\t\t\t\t\t<!-- <div class=\"step-number\">1<\/div> -->\r\n\t\t\t\t\t\t\t<div class=\"step-label\">Donation Amount<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"step-tab step-tab--hidden\" data-step=\"2\" style=\"display: none;\">\r\n\t\t\t\t\t\t\t<!-- <div class=\"step-number\">2<\/div> -->\r\n\t\t\t\t\t\t\t<div class=\"step-label\">Tribute<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"step-tab\" data-step=\"3\">\r\n\t\t\t\t\t\t\t<!-- <div class=\"step-number\">3<\/div> -->\r\n\t\t\t\t\t\t\t<div class=\"step-label\">Personal Info<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t<input type=\"hidden\" class=\"giving-block-attributes-data\"\r\n\t\t\t\tvalue=\"{&quot;noteImage&quot;:27,&quot;oneTimeText&quot;:&quot;Give One-Time&quot;,&quot;monthlyText&quot;:&quot;Give Monthly&quot;,&quot;buttonText&quot;:&quot;Proceed&quot;,&quot;progressBarStartDate&quot;:&quot;2025-01-01&quot;,&quot;progressBarTrackingIds&quot;:&quot;GUEN06CJ00 Zakat LBN App&quot;,&quot;progressBarGoal&quot;:4000,&quot;progressBarAmountPerFamily&quot;:15,&quot;donationFormTitleBackgroundColor&quot;:&quot;#0072bc&quot;,&quot;donationFormTitleTextColor&quot;:&quot;#FFF&quot;,&quot;paymentTypeActiveBackgroundColor&quot;:&quot;#caeaff&quot;,&quot;paymentTypeActiveTextColor&quot;:&quot;#0072bc&quot;,&quot;appealDropdownCampaigns&quot;:[129469,129477,129476,129475],&quot;appealsSectionTitle&quot;:&quot;Looking to support a specific cause? &quot;,&quot;appealsSectionButtonText&quot;:&quot;Explore our appeals&quot;,&quot;appealsSectionButtonLink&quot;:&quot;\\\/appeals&quot;,&quot;className&quot;:&quot;general-donate-form&quot;,&quot;defaultGtmTrackingCode&quot;:&quot;&quot;,&quot;paymentIntegration&quot;:&quot;worldpay&quot;,&quot;maximumDonation&quot;:20000,&quot;noteContent&quot;:&quot;&quot;,&quot;weeklyText&quot;:&quot;Weekly&quot;,&quot;yearlyText&quot;:&quot;Yearly&quot;,&quot;dailyText&quot;:&quot;Daily&quot;,&quot;makeOnetimeDonationButtonText&quot;:&quot;Make Donation&quot;,&quot;makeMonthlyDonationButtonText&quot;:&quot;Give Monthly&quot;,&quot;makeWeeklyDonationButtonText&quot;:&quot;Give Weekly&quot;,&quot;makeYearlyDonationButtonText&quot;:&quot;Give Yearly&quot;,&quot;makeDailyDonationButtonText&quot;:&quot;Give Daily&quot;,&quot;secureMessageText&quot;:&quot;Your donation is 100% secure&quot;,&quot;secureMessageDescription&quot;:&quot;When you click on Make Donation, you will be directed to a secure server hosted by WorldPay, which processes online donations on our behalf.&quot;,&quot;successTitle&quot;:&quot;Thank you for your generous donation!&quot;,&quot;successDescription&quot;:&quot;Your support makes a difference and helps us continue our mission.&quot;,&quot;successButton1Text&quot;:&quot;Give Zakat&quot;,&quot;successButton1Link&quot;:&quot;&quot;,&quot;successButton1Style&quot;:&quot;outline&quot;,&quot;successButton1Visible&quot;:true,&quot;successButton2Text&quot;:&quot;Support Another Cause&quot;,&quot;successButton2Link&quot;:&quot;&quot;,&quot;successButton2Style&quot;:&quot;filled&quot;,&quot;successButton2Visible&quot;:true,&quot;worldCountriesList&quot;:[{&quot;db&quot;:&quot;AF&quot;,&quot;code&quot;:&quot;AF&quot;,&quot;en&quot;:&quot;Afghanistan&quot;,&quot;ar&quot;:&quot;\\u0623\\u0641\\u063a\\u0627\\u0646\\u0633\\u062a\\u0627\\u0646&quot;},{&quot;db&quot;:&quot;AL&quot;,&quot;code&quot;:&quot;AL&quot;,&quot;en&quot;:&quot;Albania&quot;,&quot;ar&quot;:&quot;\\u0623\\u0644\\u0628\\u0627\\u0646\\u064a\\u0627&quot;},{&quot;db&quot;:&quot;DZ&quot;,&quot;code&quot;:&quot;DZ&quot;,&quot;en&quot;:&quot;Algeria&quot;,&quot;ar&quot;:&quot;\\u0627\\u0644\\u062c\\u0632\\u0627\\u0626\\u0631&quot;},{&quot;db&quot;:&quot;US&quot;,&quot;code&quot;:&quot;US&quot;,&quot;en&quot;:&quot;United States&quot;,&quot;ar&quot;:&quot;\\u0627\\u0644\\u0648\\u0644\\u0627\\u064a\\u0627\\u062a \\u0627\\u0644\\u0645\\u062a\\u062d\\u062f\\u0629&quot;},{&quot;db&quot;:&quot;GB&quot;,&quot;code&quot;:&quot;GB&quot;,&quot;en&quot;:&quot;United Kingdom&quot;,&quot;ar&quot;:&quot;\\u0627\\u0644\\u0645\\u0645\\u0644\\u0643\\u0629 \\u0627\\u0644\\u0645\\u062a\\u062d\\u062f\\u0629&quot;}],&quot;bankTransferLink&quot;:&quot;\\\/bank-transfer-donation\\\/&quot;,&quot;donationFormMainTitle&quot;:&quot;Donate For a Good Cause&quot;,&quot;donationFormTitle&quot;:&quot;Donate Now&quot;,&quot;stepLabelDonationAmount&quot;:&quot;Donation Amount&quot;,&quot;stepLabelTribute&quot;:&quot;Tribute&quot;,&quot;stepLabelPersonalInfo&quot;:&quot;Personal Info&quot;,&quot;otherAmountText&quot;:&quot; Other Amount  &quot;,&quot;otherAmountPlaceholder&quot;:&quot;Enter your amount &quot;,&quot;bankTransferText&quot;:&quot;For bank transfer donations please&quot;,&quot;bankTransferLinkText&quot;:&quot;click here.&quot;,&quot;proceedButtonText&quot;:&quot;Proceed&quot;,&quot;enableQuickDonate&quot;:false,&quot;overlapHero&quot;:false,&quot;quickDonateButtonText&quot;:&quot;Quick Donate&quot;,&quot;mandatoryFieldsText&quot;:&quot;Fields indicated by (*) are mandatory&quot;,&quot;notifyHonoredPersonText&quot;:&quot;Notify the Honored Person&quot;,&quot;notifyPersonThroughText&quot;:&quot;Notify the Person through&quot;,&quot;personalInformationText&quot;:&quot;Enter Your Personal Information &quot;,&quot;newsletterCheckboxText&quot;:&quot;Yes, I would like to receive news and updates about refugees and the work of UNHCR&quot;,&quot;enableAppealDropdown&quot;:true,&quot;appealDropdownDefaultCampaign&quot;:0,&quot;enableTributeForm&quot;:false,&quot;tributeSectionTitle&quot;:&quot;Who do you want to give the tribute to ?&quot;,&quot;tributeSectionDescription&quot;:&quot;&quot;,&quot;tributeItems&quot;:[]}\" \/>\r\n\r\n\t\t\t\t\t\t\t    <div class=\"appeal-dropdown-wrapper\">\n        <div class=\"appeal-dropdown\">\n            <label class=\"appeal-dropdown__label\" for=\"appeal-dropdown-1\">\n                Appeal            <\/label>\n            <div class=\"appeal-dropdown__control\">\n                <select class=\"appeal-dropdown__select\"\n                    name=\"appeal_campaign\" id=\"appeal-dropdown-1\"\n                    data-render-nonce=\"9be0d8be7f\">\n                    <option value=\"\" disabled hidden>Where the need is greatest<\/option>\n                                                                        <option value=\"130094\" >\n                                Yemen\u2019s Humanitarian Crisis                            <\/option>\n                                                            <\/select>\n                <!-- <span class=\"appeal-dropdown__chevron\" aria-hidden=\"true\">\n                    <svg width=\"15\" height=\"10\" viewBox=\"0 0 15 10\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                        <path d=\"M1 1L7.5 8L14 1\" stroke=\"#0072BC\" stroke-width=\"2\" stroke-linecap=\"round\"\n                            stroke-linejoin=\"round\" \/>\n                    <\/svg>\n                <\/span> -->\n            <\/div>\n                    <\/div>\n    <\/div>\n    \t\t\t\r\n\t\t\t    <div class=\"donation-form-content\" data-campaign-id=\"129469\"\n        data-single-earmarking-code=\"\">\n        <!-- STEP 1: Amount Selection -->\n        <div class=\"form-step form-step-1 form-step--active\">\n            <!-- Donation Type Tabs -->\n            <ul class=\"nav nav-tabs nav-tabs-payment tabs-style_1\" id=\"givingTab\" role=\"tablist\">\n                                    <li id=\"payment-type-monthly\"\n                        class=\"nav-item nav-item-payment-type flex-fill active\"\n                        data-list=\"monthly-tab\" data-toggle=\"tab\">\n                        <a class=\"nav-link\" role=\"tab\">\n                            Give Monthly                        <\/a>\n                    <\/li>\n                                    <li id=\"payment-type-one_time\"\n                        class=\"nav-item nav-item-payment-type flex-fill\"\n                        data-list=\"one_time-tab\" data-toggle=\"tab\">\n                        <a class=\"nav-link\" role=\"tab\">\n                            Give One-Time                        <\/a>\n                    <\/li>\n                            <\/ul>\n\n            <div class=\"tab-content\" id=\"givingTabContent\">\n                <!-- Currency Switcher -->\n                <div class=\"d-flex flex-column flex-md-row align-items-center justify-content-center\">\n                                            <div class=\"wrapper_giving-block-currency col-md-6 col-md-12 col-xs-12\">\n                                <div class=\"wrapper_giving-block-currency\">\n        <select class=\"select-currency\" name=\"currency\" id=\"giving-block-currency\">\n                            <option value=\"AED\"\n                    data-symbol=\"AED\" >\n                    AED                <\/option>\n                            <option value=\"AUD\"\n                    data-symbol=\"AUD\" >\n                    AUD                <\/option>\n                            <option value=\"BHD\"\n                    data-symbol=\"BHD\" >\n                    BHD                <\/option>\n                            <option value=\"CAD\"\n                    data-symbol=\"CAD\" >\n                    CAD                <\/option>\n                            <option value=\"CHF\"\n                    data-symbol=\"CHF\" >\n                    CHF                <\/option>\n                            <option value=\"DZD\"\n                    data-symbol=\"DZD\" >\n                    DZD                <\/option>\n                            <option value=\"EGP\"\n                    data-symbol=\"EGP\" >\n                    EGP                <\/option>\n                            <option value=\"EUR\"\n                    data-symbol=\"\u20ac\" >\n                    EUR                <\/option>\n                            <option value=\"GBP\"\n                    data-symbol=\"GBP\" >\n                    GBP                <\/option>\n                            <option value=\"INR\"\n                    data-symbol=\"INR\" >\n                    INR                <\/option>\n                            <option value=\"IQD\"\n                    data-symbol=\"IQD\" >\n                    IQD                <\/option>\n                            <option value=\"JOD\"\n                    data-symbol=\"JOD\" >\n                    JOD                <\/option>\n                            <option value=\"KWD\"\n                    data-symbol=\"KWD\" >\n                    KWD                <\/option>\n                            <option value=\"LBP\"\n                    data-symbol=\"LBP\" >\n                    LBP                <\/option>\n                            <option value=\"MAD\"\n                    data-symbol=\"MAD\" >\n                    MAD                <\/option>\n                            <option value=\"OMR\"\n                    data-symbol=\"OMR\" >\n                    OMR                <\/option>\n                            <option value=\"QAR\"\n                    data-symbol=\"QAR\" >\n                    QAR                <\/option>\n                            <option value=\"SAR\"\n                    data-symbol=\"SAR\" >\n                    SAR                <\/option>\n                            <option value=\"TND\"\n                    data-symbol=\"TND\" >\n                    TND                <\/option>\n                            <option value=\"TRY\"\n                    data-symbol=\"TRY\" >\n                    TRY                <\/option>\n                            <option value=\"USD\"\n                    data-symbol=\"USD\"  selected='selected'>\n                    USD                <\/option>\n                            <option value=\"ZAR\"\n                    data-symbol=\"ZAR\" >\n                    ZAR                <\/option>\n                    <\/select>\n    <\/div>\n                            <\/div>\n                                    <\/div>\n\n                                    <div class=\"tab-pane wrap-shoppinglist_template1 monthly-tab active in fade\" id=\"monthlyDonation\" role=\"tabpanel\">\n                        <div class=\"\">\n                            <div class=\"wrap-col-payment\">\n                                <div class=\"wrapper-payment\">\n\n                                                                            <!-- Card-based Amount List -->\n                                        <div class=\"donation-cards-list \">\n                                                                                                <div class=\"donation-card  \"\n                                                    data-amount=\"100\"                                                     >\n\n                                                    <div class=\"donation-card__content\">\n                                                        <div class=\"donation-card__amount\">\n                                                                                                                            <span class=\"currency-symbol\">USD<\/span>\n                                                                                                                        <span\n                                                                class=\"amount-value\">100<\/span>\n                                                                                                                    <\/div>\n                                                                                                            <\/div>\n\n                                                                                                    <\/div>\n                                                                                                    <div class=\"donation-card donation-card--selected \"\n                                                    data-amount=\"50\"                                                     >\n\n                                                    <div class=\"donation-card__content\">\n                                                        <div class=\"donation-card__amount\">\n                                                                                                                            <span class=\"currency-symbol\">USD<\/span>\n                                                                                                                        <span\n                                                                class=\"amount-value\">50<\/span>\n                                                                                                                            <div\n                                                                    class=\"most-selected-badge\"><span>Most Selected<\/span><\/div>\n                                                                                                                    <\/div>\n                                                                                                            <\/div>\n\n                                                                                                    <\/div>\n                                                                                                    <div class=\"donation-card  \"\n                                                    data-amount=\"25\"                                                     >\n\n                                                    <div class=\"donation-card__content\">\n                                                        <div class=\"donation-card__amount\">\n                                                                                                                            <span class=\"currency-symbol\">USD<\/span>\n                                                                                                                        <span\n                                                                class=\"amount-value\">25<\/span>\n                                                                                                                    <\/div>\n                                                                                                            <\/div>\n\n                                                                                                    <\/div>\n                                                                                        <\/div>\n                                    \n                                    <div class=\"wrapper-input\">\n                                        <div class=\"wrapper-input\">\n                                            <span class=\"position-currency-holder\"> Other Amount  (<span\n                                                    class=\"currency-symbol\">USD<\/span>)<\/span>\n                                            <input type=\"number\" min=\"5\" max=\"20000\"\n                                                id=\"payment__other--monthly\"\n                                                name=\"customAmountm\"\n                                                class=\"payment__other\"\n                                                placeholder=\"Enter your amount \"\n                                                required>\n                                            <div>\n                                                <h4 class=\"validation-msg required\">\n                                                    Please make sure the amount is between                                                     <span class=\"min-value\">5<\/span>\n                                                    and                                                     <span\n                                                        class=\"max-value\">20,000<\/span>\n                                                    <span\n                                                        class=\"currency-symbol\">USD<\/span> Custom Amount                                                 <\/h4>\n                                            <\/div>\n                                        <\/div>\n                                                                            <\/div>\n\n                                    <!-- Tribute Checkbox -->\n                                    \n                                    <!-- Note Section -->\n                                    \n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                                    <div class=\"tab-pane wrap-shoppinglist_template1 one_time-tab  fade\" id=\"one_timeDonation\" role=\"tabpanel\">\n                        <div class=\"\">\n                            <div class=\"wrap-col-payment\">\n                                <div class=\"wrapper-payment\">\n\n                                                                            <!-- Card-based Amount List -->\n                                        <div class=\"donation-cards-list \">\n                                                                                                <div class=\"donation-card  \"\n                                                    data-amount=\"1050\"                                                     >\n\n                                                    <div class=\"donation-card__content\">\n                                                        <div class=\"donation-card__amount\">\n                                                                                                                            <span class=\"currency-symbol\">USD<\/span>\n                                                                                                                        <span\n                                                                class=\"amount-value\">1,050<\/span>\n                                                                                                                    <\/div>\n                                                                                                            <\/div>\n\n                                                                                                    <\/div>\n                                                                                                    <div class=\"donation-card donation-card--selected \"\n                                                    data-amount=\"300\"                                                     >\n\n                                                    <div class=\"donation-card__content\">\n                                                        <div class=\"donation-card__amount\">\n                                                                                                                            <span class=\"currency-symbol\">USD<\/span>\n                                                                                                                        <span\n                                                                class=\"amount-value\">300<\/span>\n                                                                                                                            <div\n                                                                    class=\"most-selected-badge\"><span>Most Selected<\/span><\/div>\n                                                                                                                    <\/div>\n                                                                                                            <\/div>\n\n                                                                                                    <\/div>\n                                                                                                    <div class=\"donation-card  \"\n                                                    data-amount=\"105\"                                                     >\n\n                                                    <div class=\"donation-card__content\">\n                                                        <div class=\"donation-card__amount\">\n                                                                                                                            <span class=\"currency-symbol\">USD<\/span>\n                                                                                                                        <span\n                                                                class=\"amount-value\">105<\/span>\n                                                                                                                    <\/div>\n                                                                                                            <\/div>\n\n                                                                                                    <\/div>\n                                                                                        <\/div>\n                                    \n                                    <div class=\"wrapper-input\">\n                                        <div class=\"wrapper-input\">\n                                            <span class=\"position-currency-holder\"> Other Amount  (<span\n                                                    class=\"currency-symbol\">USD<\/span>)<\/span>\n                                            <input type=\"number\" min=\"5\" max=\"20000\"\n                                                id=\"payment__other--one_time\"\n                                                name=\"customAmount\"\n                                                class=\"payment__other\"\n                                                placeholder=\"Enter your amount \"\n                                                required>\n                                            <div>\n                                                <h4 class=\"validation-msg required\">\n                                                    Please make sure the amount is between                                                     <span class=\"min-value\">5<\/span>\n                                                    and                                                     <span\n                                                        class=\"max-value\">20,000<\/span>\n                                                    <span\n                                                        class=\"currency-symbol\">USD<\/span> Custom Amount                                                 <\/h4>\n                                            <\/div>\n                                        <\/div>\n                                                                            <\/div>\n\n                                    <!-- Tribute Checkbox -->\n                                    \n                                    <!-- Note Section -->\n                                    \n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                \n                <div class=\"text-center slide-down scroll-btn\">\n                    <div class=\"animated bounce\"><i class=\"fa fa-angle-double-down\"><\/i><\/div>\n                <\/div>\n            <\/div>\n\n            <!-- Step 1 Navigation -->\n            <div class=\"form-step-navigation text-center\">\n                <button type=\"button\" class=\"btn-proceed\" id=\"step1-proceed\">\n                    Proceed                <\/button>\n            <\/div>\n\n                            <div class=\"giving-appeals-section\">\n                    <p class=\"giving-appeals-section__title\">\n                        Looking to support a specific cause?                    <\/p>\n                    <a href=\"https:\/\/giving.unhcr.org\/donate\/en\/appeals\"\n                       class=\"giving-appeals-section__link\">\n                        Explore our appeals                    <\/a>\n                <\/div>\n            \n            <!-- Bank Transfer Link -->\n                <div class=\"wrap-bank-transfer\" id=\"wrap-bank-transfer\">\n        <h6>\n            For bank transfer donations please            <a href=\"https:\/\/giving.unhcr.org\/donate\/en\/bank-transfer-donation\/\"\n                data-bank-transfer-base=\"https:\/\/giving.unhcr.org\/donate\/en\/bank-transfer-donation\/\">\n                click here.            <\/a>\n        <\/h6>\n    <\/div>\n            <\/div>\n        <!-- END STEP 1 -->\n\n        <!-- STEP 2: Tribute (will be populated by JavaScript when needed) -->\n        <div class=\"form-step form-step-2\" style=\"display: none;\">\n            <div class=\"btn-back\" id=\"step2-back\">\n                Back            <\/div>\n\n            <p class=\"donation-summary\">\n                You've selected a                <strong class=\"donation-type-text\"><\/strong>\n                donation of                <strong class=\"donation-amount-text\"><\/strong>\n            <\/p>\n\n            <div id=\"step2-tribute-content\"><\/div>\n\n            <!-- Step 2 Navigation -->\n            <div class=\"form-step-navigation text-center\">\n                <button type=\"button\" class=\"btn-proceed\" id=\"step2-proceed\">\n                    Proceed                <\/button>\n            <\/div>\n        <\/div>\n        <!-- END STEP 2 -->\n\n        <!-- STEP 3: Payment Form -->\n        <div class=\"form-step form-step-3\">\n            <div class=\"btn-back\" id=\"step3-back\">\n                Back            <\/div>\n\n                        <p class=\"donation-summary\">\n                You've selected a                <strong class=\"donation-type-text\"><\/strong>\n                donation of                <strong class=\"donation-amount-text\"><\/strong>\n            <\/p>\n\n            <!-- Payment Form Container -->\n            <div class=\"w-100\">\n                <div id=\"wrapper-payment-container\" class=\"scroll-to\">\n                    \t<script src=\"https:\/\/giving.unhcr.org\/donate\/wp-content\/plugins\/core-blocks-BI\/src\/giving\/intlTelInput\/js\/intlTelInput.js\"><\/script>\r\n\r\n\t<div id=\"netcommerceSingle\">\r\n\t\t<div id=\"edd_checkout_form_wrap\" class=\"edd_clearfix\">\r\n\t\t\t<form name=\"edd_purchase_form1\" id=\"edd_purchase_form1\" class=\"edd_form\"\r\n\t\t\t\taction=\"https:\/\/secure.worldpay.com\/wcc\/purchase\" method=\"post\">\r\n\t\t\t\t\t<div class=\"form-bg-gray\">\r\n\t\t<div class=\"wrap-titles\">\r\n\t\t\t<!-- <h4 class=\"form-title-blue\">I have chosen to donate <span\r\n\t\t\t\tclass=\"amount-donated\"><\/span><span class=\"currency-holder\">USD<\/span> -->\r\n\t\t\t<!-- One Time<\/h4> -->\r\n\t\t\t<h3 class=\"form-title\">\r\n\t\t\t\tEnter Your Personal Information \t\t\t<\/h3>\r\n\t\t<\/div>\r\n\t\t<input type=\"hidden\" name=\"donationDestination\" id=\"donationDestination\"\r\n\t\t\tvalue=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"testMode\" value=\"0\" \/>\r\n\t\t<input type=\"hidden\" name=\"instId\" id=\"singleInstId\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"cartId\" id=\"singleSubscription\" \/>\r\n\t\t<input type=\"hidden\" name=\"currency\" value=\"USD\" \/>\r\n\t\t<input type=\"hidden\" name=\"amount\" id=\"txtAmount\" value=\"\" required=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"hideCurrency\" value=\"true\" \/>\r\n\t\t<input type=\"hidden\" name=\"noLanguageMenu\" value=\"true\" \/>\r\n\t\t<input type=\"hidden\" name=\"MC_callback\"\r\n\t\t\tvalue=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"name\" id=\"singleName\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"campaign\" id=\"campaign\" value=\"129539\" \/>\r\n\t\t<input type=\"hidden\" name=\"appeal_campaigns\" class=\"appeal-campaigns-input\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"located_country\" id=\"located_country\" class=\"located_country\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"located_country_code\" id=\"located_country_code\" class=\"located_country_code\"\r\n\t\t\tvalue=\"\" \/>\r\n\t\t<input type=\"hidden\" name=\"pagetype\" id=\"pagetype\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" id=\"pageLangFooter\" value=\"\" \/>\r\n\t\t<input type=\"hidden\" id=\"googleRecaptchaKey\"\r\n\t\t\tvalue=\"6LfaKoUlAAAAAEOh7KY9m_Z2R0XvOJV37tzvDDyK\" \/>\r\n\t\t<input type=\"hidden\" id=\"donation-nonce\"\r\n\t\t\tvalue=\"a7a1e1dd09\" \/>\r\n\t<\/div>\r\n\t<input type=\"hidden\" name=\"desc\" id=\"singleDesc\" value=\"\" \/>\r\n\t<input type=\"hidden\" name=\"lang\" id=\"singleLang\" value=\"\" \/>\r\n\t<input type=\"hidden\" name=\"M_payment_id\" id=\"M_payment_id_single\" value=\"\" \/>\r\n\t<input type=\"hidden\" name=\"accId1\" value=\"UNHCRALLECOM\" \/>\r\n\t<div class=\"formContainer container personal-details-wrapper\">\r\n\t\t<!-- <div class=\"personal-details\">Enter Your Personal Information <\/div> -->\r\n\t\t<div class=\"\">\r\n\t\t\t<div class=\"wrapper-input-info\">\r\n\t\t\t\t<label>First Name*<\/label>\r\n\t\t\t\t<input class=\"edd-input required\" type=\"text\" name=\"firstName\" id=\"firstName\" value=\"\"\r\n\t\t\t\t\tplaceholder=\"\" required=\"\" \/>\r\n\t\t\t<\/div>\r\n\t\t\t<div class=\"wrapper-input-info\">\r\n\t\t\t\t<label>Last Name*<\/label>\r\n\t\t\t\t<input class=\"edd-input required\" type=\"text\" name=\"lastName\" id=\"lastName\" value=\"\"\r\n\t\t\t\t\tplaceholder=\"\" required=\"\" \/>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t<div class=\"\">\r\n\t\t\t<div class=\"wrapper-input-info\">\r\n\t\t\t\t<label>Email Address<\/label>\r\n\t\t\t\t<input class=\"edd-input required mail-check\" type=\"email\" name=\"email\" id=\"singleEmail\" value=\"\"\r\n\t\t\t\t\tplaceholder=\"\" required=\"\">\r\n\t\t\t<\/div>\r\n\t\t\t<div class=\"1 wrapper-input-info\">\r\n\t\t\t\t<label>Phone Number*<\/label>\r\n\t\t\t\t<input class=\"validationPhone edd-input required\" type=\"tel\" min=\"0\"\r\n\t\t\t\t\tonkeypress=\"return (event.charCode == 8 || event.charCode == 0 || event.charCode == 13) ? null : event.charCode >= 48 && event.charCode <= 57\"\r\n\t\t\t\t\tname=\"tel\" id=\"singlePhone\" value=\"\" placeholder=\"\" required=\"\">\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t<div class=\"wrapper-newsletter-checkbox\">\r\n\t\t\t\t<label class=\"formCheckboxDiv\">\r\n\t\t\t\t\t<input name=\"newsletter_subscribe\" checked type=\"checkbox\" value=\"1\" id=\"singleCheck\">\r\n\t\t\t\t\t<span class=\"checkmark\"><\/span>\r\n\t\t\t\t<\/label>\r\n\t\t\t\t<div class=\"formCheckboxTextContainerHolder\">\r\n\t\t\t\t\t<label class=\"formCheckboxTextContainer\" for=\"singleCheck\">\r\n\t\t\t\t\t\t<div class=\"checkbox-text\">\r\n\t\t\t\t\t\t\tYes, I would like to receive news and updates about refugees and the work of UNHCR\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/label>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t<div class=\"clearFloat\"><\/div>\r\n\t<div class=\"validationMsg text-center\">\r\n\t\tPlease check the&nbsp;\r\n\t\t<span class=\"placeholder-name\"><\/span>\r\n\t<\/div>\r\n\t<div class=\"makeDonationContainer\">\r\n\t\t<input type=\"submit\" value=\"Make Donation\"\r\n\t\t\tclass=\"makeDonationButton  btn-proceed paymIcons vc_general vc_btn3 vc_btn3-size-md vc_btn3-style-classic vc_btn3-color-primary\" \/><br>\r\n\t<\/div>\r\n\t<\/form>\r\n\t\t<div class=\"unhcr-secure\">\r\n\t\t<div>\r\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\">\r\n\t\t\t\t<path d=\"M4.75 8.75V6.75C4.75 3.44 5.75 0.75 10.75 0.75C15.75 0.75 16.75 3.44 16.75 6.75V8.75\"\r\n\t\t\t\t\tstroke=\"#00A850\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M10.75 17.25C12.1307 17.25 13.25 16.1307 13.25 14.75C13.25 13.3693 12.1307 12.25 10.75 12.25C9.36929 12.25 8.25 13.3693 8.25 14.75C8.25 16.1307 9.36929 17.25 10.75 17.25Z\"\r\n\t\t\t\t\tstroke=\"#00A850\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M15.75 20.75H5.75C1.75 20.75 0.75 19.75 0.75 15.75V13.75C0.75 9.75 1.75 8.75 5.75 8.75H15.75C19.75 8.75 20.75 9.75 20.75 13.75V15.75C20.75 19.75 19.75 20.75 15.75 20.75Z\"\r\n\t\t\t\t\tstroke=\"#00A850\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\r\n\t\t\t<\/svg>\r\n\r\n\t\t\t<span>Your donation is 100% secure<\/span>\r\n\t\t<\/div>\r\n\t\t<div class=\"unhcr-secure-text\">\r\n\t\t\tWhen you click on Make Donation, you will be directed to a secure server hosted by WorldPay, which processes online donations on our behalf.\t\t<\/div>\r\n\t<\/div>\r\n\t<div class=\"text-center\">\r\n\t\t<button class=\"btn-next btn-gp-tribute gift-priority-step2\">\r\n\t\t\tNext\t\t<\/button>\r\n\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div id=\"monthlyNetcommerce\" style=\"display:none\">\r\n\t\t<div id=\"edd_checkout_form_wrap\" class=\"edd_clearfix\">\r\n\t\t\t<form name=\"edd_purchase_form2\" id=\"edd_purchase_form2\" class=\"edd_form\"\r\n\t\t\t\taction=\"https:\/\/secure.worldpay.com\/wcc\/purchase\" method=\"post\">\r\n\t\t\t\t\t\t\t\t<div class=\"form-bg-gray\">\r\n\t\t\t\t\t<!-- <div class=\"wrap-titles\">\r\n\t\t\t\t\t\t<h4 class=\"form-title-blue\">I have chosen to donate <span\r\n\t\t\t\t\t\t\tclass=\"amount-donated\"><\/span><span class=\"currency-holder\">USD<\/span><span\r\n\t\t\t\t\t\t\tclass=\"label-monthly\"> Monthly<\/span><\/h4>\r\n\t\t\t\t\t\t<h3 class=\"form-title\">\r\n\t\t\t\t\t\t\tPlease fill in your personal information. \t\t\t\t\t\t<\/h3>\r\n\t\t\t\t\t<\/div> -->\r\n\t\t\t\t\t<input type=\"hidden\" name=\"donationDestination\" id=\"donationDestinationM\"\r\n\t\t\t\t\t\tvalue=\"\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"testMode\" value=\"0\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"instId\" id=\"monthInstId\" value=\"\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"cartId\" id=\"monthSubscription\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"currency\" value=\"USD\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"hideCurrency\" value=\"true\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"noLanguageMenu\" value=\"true\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" id=\"futurePayType\" name=\"futurePayType\" value=\"regular\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" id=\"option\" name=\"option\" value=\"1\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" id=\"intervalMult\" name=\"intervalMult\" value=\"1\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" id=\"intervalUnit\" name=\"intervalUnit\" value=\"3\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"normalAmount\" id=\"txtAmountMonthly\" value=\"\" \/>\r\n\t\t\t\t\t<!-- Updated to \"weekly\" by checkout.js when the Weekly donation type tab is active -->\r\n\t\t\t\t\t<input type=\"hidden\" name=\"periodicType\" id=\"txtPeriodicType\" value=\"monthly\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"periodicType\" id=\"txtPeriodic\" value=\"false\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"startDate\" id=\"datepickerWorld\"\r\n\t\t\t\t\t\tvalue=\"2026-10-17\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"name\" id=\"monthName\" value=\"\">\r\n\t\t\t\t\t<input type=\"hidden\" name=\"desc\" id=\"monthDesc\" value=\"\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"lang\" id=\"monthLang\" value=\"\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"M_payment_id\" id=\"M_payment_id_monthly\" value=\"\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"accId1\" value=\"UNHCRALLREC\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"campaign\" value=\"129539\" \/>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"appeal_campaigns\" class=\"appeal-campaigns-input\" value=\"\" \/>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t<div class=\"formContainer container personal-details-wrapper\">\r\n\t\t\t\t\t<div class=\"personal-details\">Enter Your Personal Information <\/div>\r\n\r\n\t\t\t\t\t<div class=\"wrapper-input-info\">\r\n\t\t\t\t\t\t<label>First Name*<\/label>\r\n\t\t\t\t\t\t<input class=\"edd-input required\" type=\"text\" name=\"monthFname\" id=\"monthFname\" value=\"\"\r\n\t\t\t\t\t\t\tplaceholder=\"\" required=\"\" \/>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"wrapper-input-info\">\r\n\t\t\t\t\t\t<label>Last Name*<\/label>\r\n\t\t\t\t\t\t<input class=\"edd-input required\" type=\"text\" name=\"monthLname\" id=\"monthLname\" value=\"\"\r\n\t\t\t\t\t\t\tplaceholder=\"\" required=\"\" \/>\r\n\t\t\t\t\t<\/div>\r\n\r\n\r\n\t\t\t\t\t<div class=\"wrapper-input-info\">\r\n\t\t\t\t\t\t<label>Email Address*<\/label>\r\n\t\t\t\t\t\t<input class=\"edd-input required mail-check\" type=\"email\" name=\"email\" id=\"monthEmail\" value=\"\"\r\n\t\t\t\t\t\t\tplaceholder=\"\" required=\"\">\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"2 wrapper-input-info\">\r\n\t\t\t\t\t\t<label>Phone Number*<\/label>\r\n\t\t\t\t\t\t<input class=\"validationPhone edd-input required\" type=\"tel\" min=\"0\"\r\n\t\t\t\t\t\t\tonkeypress=\"return (event.charCode == 8 || event.charCode == 0 || event.charCode == 13) ? null : event.charCode >= 48 && event.charCode <= 57\"\r\n\t\t\t\t\t\t\tname=\"tel\" id=\"monthPhone\" value=\"\" placeholder=\"\" required=\"\">\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"mandatory-text\">\r\n\t\t\t\t\t\tFields indicated by (*) are mandatory\r\n\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<input type=\"hidden\" name=\"located_country\" id=\"month_located_country\" class=\"located_country\"\r\n\t\t\t\t\t\tvalue=\"N\/A\">\r\n\t\t\t\t\t<input type=\"hidden\" name=\"located_country_code\" id=\"month_located_country_code\"\r\n\t\t\t\t\t\tclass=\"located_country_code\" value=\"\">\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"wrapper-newsletter-checkbox\">\r\n\t\t\t\t\t\t\t<label class=\"formCheckboxDiv\">\r\n\t\t\t\t\t\t\t\t<input name=\"newsletter_subscribe\" checked type=\"checkbox\" value=\"1\" id=\"monthCheck\">\r\n\t\t\t\t\t\t\t\t<span class=\"checkmark\"><\/span>\r\n\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t<div class=\"formCheckboxTextContainerHolder\">\r\n\t\t\t\t\t\t\t\t<label class=\"formCheckboxTextContainer\" for=\"monthCheck\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"checkbox-text\">\r\n\t\t\t\t\t\t\t\t\t\tYes, I would like to receive news and updates about refugees and the work of UNHCR\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t<div class=\"clearFloat\"><\/div>\r\n\t\t\t\t<div class=\"validationMsg text-center\">\r\n\t\t\t\t\tPlease check the&nbsp;\r\n\t\t\t\t\t<span class=\"placeholder-name\"><\/span>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t<div class=\"makeDonationContainer\">\r\n\t\t\t\t\t<input type=\"submit\" value=\"Give Monthly\"\r\n\t\t\t\t\t\tdata-monthly-text=\"Give Monthly\"\r\n\t\t\t\t\t\tdata-weekly-text=\"Give Weekly\"\r\n\t\t\t\t\t\tdata-yearly-text=\"Give Yearly\"\r\n\t\t\t\t\t\tdata-daily-text=\"Give Daily\"\r\n\t\t\t\t\t\tclass=\"makeDonationButton paymIcons btn-proceed\" \/><br>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/form>\r\n\t\t\t\t<div class=\"unhcr-secure\">\r\n\t\t<div>\r\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\">\r\n\t\t\t\t<path d=\"M4.75 8.75V6.75C4.75 3.44 5.75 0.75 10.75 0.75C15.75 0.75 16.75 3.44 16.75 6.75V8.75\"\r\n\t\t\t\t\tstroke=\"#00A850\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M10.75 17.25C12.1307 17.25 13.25 16.1307 13.25 14.75C13.25 13.3693 12.1307 12.25 10.75 12.25C9.36929 12.25 8.25 13.3693 8.25 14.75C8.25 16.1307 9.36929 17.25 10.75 17.25Z\"\r\n\t\t\t\t\tstroke=\"#00A850\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M15.75 20.75H5.75C1.75 20.75 0.75 19.75 0.75 15.75V13.75C0.75 9.75 1.75 8.75 5.75 8.75H15.75C19.75 8.75 20.75 9.75 20.75 13.75V15.75C20.75 19.75 19.75 20.75 15.75 20.75Z\"\r\n\t\t\t\t\tstroke=\"#00A850\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\r\n\t\t\t<\/svg>\r\n\r\n\t\t\t<span>Your donation is 100% secure<\/span>\r\n\t\t<\/div>\r\n\t\t<div class=\"unhcr-secure-text\">\r\n\t\t\tWhen you click on Make Donation, you will be directed to a secure server hosted by WorldPay, which processes online donations on our behalf.\t\t<\/div>\r\n\t<\/div>\r\n\t<div class=\"text-center\">\r\n\t\t<button class=\"btn-next btn-gp-tribute gift-priority-step2\">\r\n\t\t\tNext\t\t<\/button>\r\n\t<\/div>\r\n\t\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<script>\r\n\t\t\/\/ Global variables for intl-tel-input instances\r\n\t\tvar itiSinglePhoneInput;\r\n\t\tvar itiMonthPhoneInput;\r\n\r\n\t\t\/\/ Show a validation error inline next to a field instead of a blocking alert() popup.\r\n\t\tfunction showInlineFieldError(field, message) {\r\n\t\t\tif (!field) return;\r\n\t\t\tfield.classList.add('requiredclass');\r\n\t\t\tvar existingError = field.parentNode && field.parentNode.querySelector('.validation-error-message');\r\n\t\t\tif (existingError) {\r\n\t\t\t\texistingError.textContent = message;\r\n\t\t\t} else if (field.parentNode) {\r\n\t\t\t\tvar errorEl = document.createElement('div');\r\n\t\t\t\terrorEl.className = 'validation-error-message';\r\n\t\t\t\terrorEl.style.color = 'red';\r\n\t\t\t\terrorEl.style.fontSize = '12px';\r\n\t\t\t\terrorEl.style.marginTop = '5px';\r\n\t\t\t\terrorEl.textContent = message;\r\n\t\t\t\tfield.parentNode.insertBefore(errorEl, field.nextSibling);\r\n\t\t\t}\r\n\t\t\tfield.focus();\r\n\t\t}\r\n\r\n\t\tdocument.addEventListener('DOMContentLoaded', function () {\r\n\t\t\t\/\/ Handle donation card clicks (same as Finhub logic)\r\n\t\t\tdocument.addEventListener('click', function (e) {\r\n\t\t\t\tconst donationCard = e.target.closest('.donation-card');\r\n\t\t\t\tif (!donationCard) return;\r\n\t\t\t\tconst amountValueSpan = donationCard.querySelector('.amount-value');\r\n\t\t\t\tif (!amountValueSpan) return;\r\n\t\t\t\tconst amount = amountValueSpan.textContent.replace(\/,\/g, '');\r\n\r\n\t\t\t\t\/\/ Fill both txtAmount and txtAmountMonthly fields\r\n\t\t\t\tconst txtAmount = document.getElementById('txtAmount');\r\n\t\t\t\tconst txtAmountMonthly = document.getElementById('txtAmountMonthly');\r\n\t\t\t\tif (txtAmount) {\r\n\t\t\t\t\ttxtAmount.value = amount;\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (txtAmountMonthly) {\r\n\t\t\t\t\ttxtAmountMonthly.value = amount;\r\n\r\n\t\t\t\t}\r\n\t\t\t\t\/\/ Update display amounts\r\n\t\t\t\tdocument.querySelectorAll('.amount-donated').forEach(display => {\r\n\t\t\t\t\tdisplay.textContent = parseInt(amount).toLocaleString('en', { useGrouping: true });\r\n\t\t\t\t});\r\n\t\t\t\t\/\/ Visual feedback - add active class\r\n\t\t\t\tdocument.querySelectorAll('.donation-card').forEach(card => {\r\n\t\t\t\t\tcard.classList.remove('donation-card--active');\r\n\t\t\t\t});\r\n\t\t\t\tdonationCard.classList.add('donation-card--active');\r\n\t\t\t});\r\n\r\n\t\t\t\/\/ Add form submission validation and phone number formatting\r\n\t\t\tdocument.getElementById('edd_purchase_form1').addEventListener('submit', function (e) {\r\n\t\t\t\tconst amount = document.getElementById('txtAmount').value;\r\n\t\t\t\tif (!amount || amount < 5 || amount > 20000) {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tshowInlineFieldError(document.getElementById('txtAmount'), 'Please select a donation amount between $5 and $20,000.');\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Note: nationality is validated by validateSinglePayment() in checkout.js\r\n\t\t\t\t\/\/ (via validateNationalityField), which already shows an inline error - no\r\n\t\t\t\t\/\/ need to duplicate that check here. Occasion is never required.\r\n\r\n\t\t\t\t\/\/ Validate tribute fields if tribute is checked\r\n\t\t\t\tconst tributeChecked = document.querySelector('.show_tribute_check:checked');\r\n\t\t\t\tif (tributeChecked) {\r\n\t\t\t\t\tconst tributeFirstName = document.getElementById('tribute_firstname');\r\n\t\t\t\t\tconst tributeLastName = document.getElementById('tribute_lastname');\r\n\t\t\t\t\tconst tributeEmail = document.getElementById('tribute_email');\r\n\t\t\t\t\tconst tributeCountry = document.getElementById('tribute_country');\r\n\r\n\t\t\t\t\tif (!tributeFirstName.value.trim()) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tshowInlineFieldError(tributeFirstName, 'Please enter tribute first name');\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!tributeLastName.value.trim()) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tshowInlineFieldError(tributeLastName, 'Please enter tribute last name');\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\/\/ Validate notify fields if notify is checked\r\n\t\t\t\t\tconst notifyChecked = document.querySelector('.tribute_show_notify:checked');\r\n\t\t\t\t\tif (notifyChecked) {\r\n\t\t\t\t\t\tconst emailChecked = document.getElementById('notifyByEmail').checked;\r\n\t\t\t\t\t\tconst whatsappChecked = document.getElementById('notifyByWhatsApp').checked;\r\n\r\n\t\t\t\t\t\tif (emailChecked && !tributeEmail.value.trim()) {\r\n\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\tshowInlineFieldError(tributeEmail, 'Please enter tribute email');\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (whatsappChecked) {\r\n\t\t\t\t\t\t\tconst tributePhone = document.getElementById('notifyPhone');\r\n\t\t\t\t\t\t\tif (!tributePhone.value.trim()) {\r\n\t\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\t\tshowInlineFieldError(tributePhone, 'Please enter tribute phone number');\r\n\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (!tributeCountry.value) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tshowInlineFieldError(tributeCountry, 'Please select tribute country');\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\/\/ Validate that donor phone is different from tribute phone\r\n\t\t\t\t\tconst anyPhoneOptionChecked = document.querySelectorAll('.notify_phone_option:checked').length > 0;\r\n\t\t\t\t\tif (notifyChecked && anyPhoneOptionChecked) {\r\n\t\t\t\t\t\tif (window.itiSingleTributePhone && typeof window.itiSingleTributePhone.getNumber === 'function') {\r\n\t\t\t\t\t\t\tconst tributePhone = window.itiSingleTributePhone.getNumber().replace(\/[^\\d]\/g, '');\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif (tributePhone && itiSinglePhoneInput && typeof itiSinglePhoneInput.getNumber === 'function') {\r\n\t\t\t\t\t\t\t\tconst donorPhone = itiSinglePhoneInput.getNumber().replace(\/[^\\d]\/g, '');\r\n\t\t\t\t\t\t\t\tif (donorPhone && donorPhone === tributePhone) {\r\n\t\t\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\t\t\tshowInlineFieldError(document.getElementById('singlePhone'), 'Donor phone number cannot be the same as tribute recipient phone number');\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Extract and format tribute phone number if intl-tel-input is initialized\r\n\t\t\t\tif (window.itiSingleTributePhone && typeof window.itiSingleTributePhone.getNumber === 'function') {\r\n\t\t\t\t\tconst tributePhoneInput = document.getElementById('notifyPhone');\r\n\t\t\t\t\tconst fullNumber = window.itiSingleTributePhone.getNumber();\r\n\t\t\t\t\tif (fullNumber) {\r\n\t\t\t\t\t\ttributePhoneInput.value = fullNumber.replace(\"+\", \"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Extract and format phone number with country code (format: 96170111000)\r\n\t\t\t\tif (itiSinglePhoneInput && typeof itiSinglePhoneInput.getNumber === 'function') {\r\n\t\t\t\t\tconst phoneInput = document.getElementById('singlePhone');\r\n\t\t\t\t\tconst fullNumber = itiSinglePhoneInput.getNumber();\r\n\t\t\t\t\tif (fullNumber) {\r\n\t\t\t\t\t\t\/\/ Remove + prefix to get format like 96170111000\r\n\t\t\t\t\t\tphoneInput.value = fullNumber.replace(\"+\", \"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tdocument.getElementById('edd_purchase_form2').addEventListener('submit', function (e) {\r\n\t\t\t\tconst amount = document.getElementById('txtAmountMonthly').value;\r\n\t\t\t\tif (!amount || amount < 5 || amount > 20000) {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tshowInlineFieldError(document.getElementById('txtAmountMonthly'), 'Please select a donation amount between $5 and $20,000.');\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Note: nationality is validated by validateRecurringPayment() in checkout.js\r\n\t\t\t\t\/\/ (via validateNationalityField), which already shows an inline error - no\r\n\t\t\t\t\/\/ need to duplicate that check here. Occasion is never required.\r\n\r\n\t\t\t\t\/\/ Validate tribute fields if tribute is checked\r\n\t\t\t\tconst tributeChecked = document.querySelector('.month_show_tribute_check:checked');\r\n\t\t\t\tif (tributeChecked) {\r\n\t\t\t\t\tconst tributeFirstName = document.getElementById('month_tribute_firstname');\r\n\t\t\t\t\tconst tributeLastName = document.getElementById('month_tribute_lastname');\r\n\t\t\t\t\tconst tributeEmail = document.getElementById('month_tribute_email');\r\n\t\t\t\t\tconst tributeCountry = document.getElementById('month_tribute_country');\r\n\r\n\t\t\t\t\tif (!tributeFirstName.value.trim()) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tshowInlineFieldError(tributeFirstName, 'Please enter tribute first name');\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!tributeLastName.value.trim()) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tshowInlineFieldError(tributeLastName, 'Please enter tribute last name');\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\/\/ Validate notify fields if notify is checked\r\n\t\t\t\t\tconst notifyChecked = document.querySelector('.month_tribute_show_notify:checked');\r\n\t\t\t\t\tif (notifyChecked) {\r\n\t\t\t\t\t\tconst emailChecked = document.getElementById('month_notifyByEmail').checked;\r\n\t\t\t\t\t\tconst whatsappChecked = document.getElementById('month_notifyByWhatsApp').checked;\r\n\r\n\t\t\t\t\t\tif (emailChecked && !tributeEmail.value.trim()) {\r\n\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\tshowInlineFieldError(tributeEmail, 'Please enter tribute email');\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (whatsappChecked) {\r\n\t\t\t\t\t\t\tconst tributePhone = document.getElementById('month_notifyPhone');\r\n\t\t\t\t\t\t\tif (!tributePhone.value.trim()) {\r\n\t\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\t\tshowInlineFieldError(tributePhone, 'Please enter tribute phone number');\r\n\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (!tributeCountry.value) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tshowInlineFieldError(tributeCountry, 'Please select tribute country');\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\/\/ Validate that donor phone is different from tribute phone\r\n\t\t\t\t\tconst anyPhoneOptionChecked = document.querySelectorAll('.month_notify_phone_option:checked').length > 0;\r\n\t\t\t\t\tif (notifyChecked && anyPhoneOptionChecked) {\r\n\t\t\t\t\t\tif (window.itiMonthTributePhone && typeof window.itiMonthTributePhone.getNumber === 'function') {\r\n\t\t\t\t\t\t\tconst tributePhone = window.itiMonthTributePhone.getNumber().replace(\/[^\\d]\/g, '');\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif (tributePhone && itiMonthPhoneInput && typeof itiMonthPhoneInput.getNumber === 'function') {\r\n\t\t\t\t\t\t\t\tconst donorPhone = itiMonthPhoneInput.getNumber().replace(\/[^\\d]\/g, '');\r\n\t\t\t\t\t\t\t\tif (donorPhone && donorPhone === tributePhone) {\r\n\t\t\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\t\t\tshowInlineFieldError(document.getElementById('monthPhone'), 'Donor phone number cannot be the same as tribute recipient phone number');\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Extract and format tribute phone number if intl-tel-input is initialized\r\n\t\t\t\tif (window.itiMonthTributePhone && typeof window.itiMonthTributePhone.getNumber === 'function') {\r\n\t\t\t\t\tconst tributePhoneInput = document.getElementById('month_notifyPhone');\r\n\t\t\t\t\tconst fullNumber = window.itiMonthTributePhone.getNumber();\r\n\t\t\t\t\tif (fullNumber) {\r\n\t\t\t\t\t\ttributePhoneInput.value = fullNumber.replace(\"+\", \"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Extract and format phone number with country code (format: 96170111000)\r\n\t\t\t\tif (itiMonthPhoneInput && typeof itiMonthPhoneInput.getNumber === 'function') {\r\n\t\t\t\t\tconst phoneInput = document.getElementById('monthPhone');\r\n\t\t\t\t\tconst fullNumber = itiMonthPhoneInput.getNumber();\r\n\t\t\t\t\tif (fullNumber) {\r\n\t\t\t\t\t\t\/\/ Remove + prefix to get format like 96170111000\r\n\t\t\t\t\t\tphoneInput.value = fullNumber.replace(\"+\", \"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t\/\/ Tribute checkbox functionality - show\/hide tribute forms\r\n\t\t\tdocument.addEventListener('change', function (e) {\r\n\t\t\t\tif (e.target.classList.contains('show_tribute_check') || e.target.classList.contains('showTributeSingle')) {\r\n\t\t\t\t\tconst tributeContainer = document.querySelector('#netcommerceSingle .notifyContainer');\r\n\t\t\t\t\tif (tributeContainer) {\r\n\t\t\t\t\t\tif (e.target.checked) {\r\n\t\t\t\t\t\t\ttributeContainer.style.display = 'block';\r\n\t\t\t\t\t\t\ttributeContainer.classList.add('show');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttributeContainer.style.display = 'none';\r\n\t\t\t\t\t\t\ttributeContainer.classList.remove('show');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (e.target.classList.contains('month_show_tribute_check') || e.target.classList.contains('showTributeMonth')) {\r\n\t\t\t\t\tconst tributeContainer = document.querySelector('#monthlyNetcommerce .notifyContainer');\r\n\t\t\t\t\tif (tributeContainer) {\r\n\t\t\t\t\t\tif (e.target.checked) {\r\n\t\t\t\t\t\t\ttributeContainer.style.display = 'block';\r\n\t\t\t\t\t\t\ttributeContainer.classList.add('show');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttributeContainer.style.display = 'none';\r\n\t\t\t\t\t\t\ttributeContainer.classList.remove('show');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Handle tribute reason dropdown - hide notification options for \"In memory of\"\r\n\t\t\t\tif (e.target.classList.contains('tribute_reason')) {\r\n\t\t\t\t\tconst tributeNotifyDivs = document.querySelectorAll('.tributeNotifyDiv');\r\n\t\t\t\t\tconst showNotifyCheck = document.getElementById('showNotify');\r\n\r\n\r\n\t\t\t\t\tif (tributeNotifyDivs.length > 0) {\r\n\t\t\t\t\t\tif (e.target.value === 'In memory of') {\r\n\t\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\t\tdiv.style.display = 'none';\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\tif (showNotifyCheck) {\r\n\t\t\t\t\t\t\t\tshowNotifyCheck.checked = false;\r\n\t\t\t\t\t\t\t\t\/\/ Trigger change event to hide dependent fields\r\n\t\t\t\t\t\t\t\tshowNotifyCheck.dispatchEvent(new Event('change'));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\t\tdiv.style.display = 'block';\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ Handle monthly tribute reason dropdown\r\n\t\t\t\tif (e.target.classList.contains('month_tribute_reason')) {\r\n\r\n\t\t\t\t\tconst tributeNotifyDivs = document.querySelectorAll('.tributeNotifyDiv');\r\n\t\t\t\t\tconst showNotifyCheck = document.getElementById('month_showNotify');\r\n\r\n\r\n\r\n\t\t\t\t\tif (tributeNotifyDivs.length > 0) {\r\n\t\t\t\t\t\tif (e.target.value === 'In memory of') {\r\n\r\n\t\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\t\tdiv.style.display = 'none';\r\n\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tif (showNotifyCheck) {\r\n\t\t\t\t\t\t\t\tshowNotifyCheck.checked = false;\r\n\t\t\t\t\t\t\t\t\/\/ Trigger change event to hide dependent fields\r\n\t\t\t\t\t\t\t\tshowNotifyCheck.dispatchEvent(new Event('change'));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\t\tdiv.style.display = 'block';\r\n\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\/\/ Force country to Lebanon\r\n\t\t\t\t\t\t\t\/\/ const tributeCountryField = document.getElementById('month_tribute_country');\r\n\t\t\t\t\t\t\t\/\/ if (tributeCountryField) {\r\n\t\t\t\t\t\t\t\/\/ tributeCountryField.value = 'Lebanon';\r\n\t\t\t\t\t\t\t\/\/ }\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t\/\/ Initialize tribute forms as hidden by default\r\n\t\t\tconst singleTributeContainer = document.querySelector('#netcommerceSingle .notifyContainer');\r\n\t\t\tconst monthlyTributeContainer = document.querySelector('#monthlyNetcommerce .notifyContainer');\r\n\r\n\t\t\tif (singleTributeContainer) {\r\n\t\t\t\tsingleTributeContainer.style.display = 'none';\r\n\t\t\t}\r\n\t\t\tif (monthlyTributeContainer) {\r\n\t\t\t\tmonthlyTributeContainer.style.display = 'none';\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Initialize notification fields as hidden\r\n\t\t\tconst notifyInputsSingle = document.querySelector('.notifyInputsSingle');\r\n\t\t\tconst notifyEmail = document.querySelector('.notify_email');\r\n\t\t\tconst notifyPhoneWrapper = document.querySelector('.notify_phone_wrapper');\r\n\r\n\t\t\tif (notifyInputsSingle) {\r\n\t\t\t\tnotifyInputsSingle.style.display = 'none';\r\n\t\t\t}\r\n\t\t\tif (notifyEmail) {\r\n\t\t\t\tnotifyEmail.style.display = 'none';\r\n\t\t\t}\r\n\t\t\tif (notifyPhoneWrapper) {\r\n\t\t\t\tnotifyPhoneWrapper.style.display = 'none';\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Direct event listeners for tribute reason dropdowns\r\n\t\t\tconst tributeReasonSingle = document.getElementById('tribute_reason');\r\n\t\t\tconst tributeReasonMonthly = document.getElementById('month_tribute_reason');\r\n\r\n\r\n\t\t\tif (tributeReasonSingle) {\r\n\t\t\t\ttributeReasonSingle.addEventListener('change', function () {\r\n\t\t\t\t\tconst tributeNotifyDivs = document.querySelectorAll('#netcommerceSingle .tributeNotifyDiv');\r\n\t\t\t\t\tconst showNotifyCheck = document.getElementById('showNotify');\r\n\r\n\t\t\t\t\tif (this.value === 'In memory of') {\r\n\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\tdiv.style.display = 'none';\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tif (showNotifyCheck) {\r\n\t\t\t\t\t\t\tshowNotifyCheck.checked = false;\r\n\t\t\t\t\t\t\tshowNotifyCheck.dispatchEvent(new Event('change'));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\tdiv.style.display = 'block';\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tconsole.warn('tribute_reason element not found!');\r\n\t\t\t}\r\n\r\n\t\t\tif (tributeReasonMonthly) {\r\n\r\n\t\t\t\ttributeReasonMonthly.addEventListener('change', function () {\r\n\r\n\t\t\t\t\tconst tributeNotifyDivs = document.querySelectorAll('#monthlyNetcommerce .tributeNotifyDiv');\r\n\t\t\t\t\tconst showNotifyCheck = document.getElementById('month_showNotify');\r\n\r\n\r\n\r\n\t\t\t\t\tif (this.value === 'In memory of') {\r\n\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\tdiv.style.display = 'none';\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tif (showNotifyCheck) {\r\n\t\t\t\t\t\t\tshowNotifyCheck.checked = false;\r\n\t\t\t\t\t\t\tshowNotifyCheck.dispatchEvent(new Event('change'));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttributeNotifyDivs.forEach(div => {\r\n\t\t\t\t\t\t\tdiv.style.display = 'block';\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tconsole.warn('month_tribute_reason element not found!');\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Handle notify checkboxes - show\/hide email and phone fields\r\n\t\t\t\/\/ Single form - Show\/hide notify options when \"Notify the Honored Person\" is checked\r\n\t\t\tconst showNotifyCheck = document.getElementById('showNotify');\r\n\t\t\tif (showNotifyCheck) {\r\n\t\t\t\tshowNotifyCheck.addEventListener('change', function () {\r\n\t\t\t\t\tconst notifyInputs = document.querySelector('.notifyInputsSingle');\r\n\t\t\t\t\tif (notifyInputs) {\r\n\t\t\t\t\t\tif (this.checked) {\r\n\t\t\t\t\t\t\tnotifyInputs.style.display = 'flex';\r\n\t\t\t\t\t\t\tnotifyInputs.style.visibility = 'visible';\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tnotifyInputs.style.display = 'none';\r\n\t\t\t\t\t\t\tnotifyInputs.style.visibility = 'hidden';\r\n\t\t\t\t\t\t\t\/\/ Reset all checkboxes and fields when hidden\r\n\t\t\t\t\t\t\tdocument.querySelectorAll('.notifyInputsSingle input[type=\"checkbox\"]').forEach(cb => cb.checked = false);\r\n\t\t\t\t\t\t\tconst emailField = document.querySelector('.notify_email');\r\n\t\t\t\t\t\t\tconst phoneField = document.querySelector('.notify_phone_wrapper');\r\n\t\t\t\t\t\t\tif (emailField) emailField.style.display = 'none';\r\n\t\t\t\t\t\t\tif (phoneField) phoneField.style.display = 'none';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Single form - Email checkbox\r\n\t\t\tconst singleNotifyEmailCheck = document.getElementById('notifyByEmail');\r\n\t\t\tif (singleNotifyEmailCheck) {\r\n\t\t\t\tsingleNotifyEmailCheck.addEventListener('change', function () {\r\n\t\t\t\t\tconst emailField = document.querySelector('.notify_email');\r\n\t\t\t\t\tif (emailField) {\r\n\t\t\t\t\t\tif (this.checked) {\r\n\t\t\t\t\t\t\temailField.style.display = 'block';\r\n\t\t\t\t\t\t\temailField.style.visibility = 'visible';\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\temailField.style.display = 'none';\r\n\t\t\t\t\t\t\temailField.style.visibility = 'hidden';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Single form - Phone-based options (WhatsApp, SMS, Phone Call)\r\n\t\t\tdocument.querySelectorAll('.notify_phone_option').forEach(function (checkbox) {\r\n\t\t\t\tcheckbox.addEventListener('change', function () {\r\n\t\t\t\t\tconst phoneWrapper = document.querySelector('.notify_phone_wrapper');\r\n\t\t\t\t\t\/\/ Show phone field if ANY phone option is checked\r\n\t\t\t\t\tconst anyPhoneChecked = document.querySelectorAll('.notify_phone_option:checked').length > 0;\r\n\t\t\t\t\tif (phoneWrapper) {\r\n\t\t\t\t\t\tif (anyPhoneChecked) {\r\n\t\t\t\t\t\t\tphoneWrapper.style.display = 'block';\r\n\t\t\t\t\t\t\tphoneWrapper.style.visibility = 'visible';\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tphoneWrapper.style.display = 'none';\r\n\t\t\t\t\t\t\tphoneWrapper.style.visibility = 'hidden';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t})\r\n\r\n\t\t\t\/\/ Monthly form - Email checkbox\r\n\t\t\tconst monthNotifyEmailCheck = document.getElementById('month_notifyByEmail');\r\n\t\t\tif (monthNotifyEmailCheck) {\r\n\t\t\t\tmonthNotifyEmailCheck.addEventListener('change', function () {\r\n\t\t\t\t\tconst emailField = document.querySelector('.month_notify_email');\r\n\t\t\t\t\tif (emailField) {\r\n\t\t\t\t\t\temailField.style.display = this.checked ? 'block' : 'none';\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Monthly form - Phone-based options (WhatsApp, SMS, Phone Call)\r\n\t\t\tdocument.querySelectorAll('.month_notify_phone_option').forEach(function (checkbox) {\r\n\t\t\t\tcheckbox.addEventListener('change', function () {\r\n\t\t\t\t\tconst phoneWrapper = document.querySelector('.month_notify_phone_wrapper');\r\n\t\t\t\t\t\/\/ Show phone field if ANY phone option is checked\r\n\t\t\t\t\tconst anyPhoneChecked = document.querySelectorAll('.month_notify_phone_option:checked').length > 0;\r\n\t\t\t\t\tif (phoneWrapper) {\r\n\t\t\t\t\t\tphoneWrapper.style.display = anyPhoneChecked ? 'block' : 'none';\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\r\n\t\t\t\/\/ Initialize intl-tel-input for tribute phone fields\r\n\t\t\tif (typeof intlTelInput !== 'undefined') {\r\n\t\t\t\tconst singleNotifyPhone = document.getElementById('notifyPhone');\r\n\t\t\t\tconst monthNotifyPhone = document.getElementById('month_notifyPhone');\r\n\r\n\t\t\t\tconst itiOptions = {\r\n\t\t\t\t\tutilsScript: \"https:\/\/giving.unhcr.org\/donate\/wp-content\/plugins\/core-blocks-BI\/src\/giving\/integrations\/..\/intlTelInput\/js\/utils.js\",\r\n\t\t\t\t\tautoPlaceholder: \"polite\",\r\n\t\t\t\t\tseparateDialCode: false,\r\n\t\t\t\t\tpreferredCountries: ['lb', 'jo', 'sa', 'ae', 'us'],\r\n\t\t\t\t\tinitialCountry: 'auto',\r\n\t\t\t\t\tgeoIpLookup: function (success, failure) {\r\n\t\t\t\t\t\tfetch('https:\/\/ipapi.co\/json\/')\r\n\t\t\t\t\t\t\t.then(res => res.json())\r\n\t\t\t\t\t\t\t.then(data => success(data.country_code.toLowerCase()))\r\n\t\t\t\t\t\t\t.catch(() => success('lb'));\r\n\t\t\t\t\t},\r\n\t\t\t\t\tuseFullscreenPopup: false\r\n\t\t\t\t};\r\n\r\n\t\t\t\tif (singleNotifyPhone) {\r\n\t\t\t\t\twindow.itiSingleTributePhone = intlTelInput(singleNotifyPhone, itiOptions);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (monthNotifyPhone) {\r\n\t\t\t\t\twindow.itiMonthTributePhone = intlTelInput(monthNotifyPhone, itiOptions);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ Match Finhub logic: keep cents fields in sync with amount fields\r\n\t\t\tconst { get, set } = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value');\r\n\t\t\t\/\/ One-time donation\r\n\t\t\tconst txtAmount = document.querySelector('#txtAmount');\r\n\t\t\tlet centsInput = document.querySelector('#txtAmountCents');\r\n\t\t\tif (!centsInput) {\r\n\t\t\t\t\/\/ If not present, create it (hidden)\r\n\t\t\t\tcentsInput = document.createElement('input');\r\n\t\t\t\tcentsInput.type = 'hidden';\r\n\t\t\t\tcentsInput.name = 'amountCents';\r\n\t\t\t\tcentsInput.id = 'txtAmountCents';\r\n\t\t\t\ttxtAmount && txtAmount.parentNode.insertBefore(centsInput, txtAmount.nextSibling);\r\n\t\t\t}\r\n\t\t\tif (txtAmount) {\r\n\t\t\t\tObject.defineProperty(txtAmount, 'value', {\r\n\t\t\t\t\tget() { return get.call(this); },\r\n\t\t\t\t\tset(newVal) {\r\n\t\t\t\t\t\tif (centsInput) centsInput.value = newVal * 100;\r\n\t\t\t\t\t\treturn set.call(this, newVal);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\t\/\/ Monthly donation\r\n\t\t\tconst txtAmountMonthly = document.querySelector('#txtAmountMonthly');\r\n\t\t\tlet centsInputMonthly = document.querySelector('#txtAmountCentsMonthly');\r\n\t\t\tif (!centsInputMonthly) {\r\n\t\t\t\tcentsInputMonthly = document.createElement('input');\r\n\t\t\t\tcentsInputMonthly.type = 'hidden';\r\n\t\t\t\tcentsInputMonthly.name = 'amountCentsMonthly';\r\n\t\t\t\tcentsInputMonthly.id = 'txtAmountCentsMonthly';\r\n\t\t\t\ttxtAmountMonthly && txtAmountMonthly.parentNode.insertBefore(centsInputMonthly, txtAmountMonthly.nextSibling);\r\n\t\t\t}\r\n\t\t\tif (txtAmountMonthly) {\r\n\t\t\t\tObject.defineProperty(txtAmountMonthly, 'value', {\r\n\t\t\t\t\tget() { return get.call(this); },\r\n\t\t\t\t\tset(newVal) {\r\n\t\t\t\t\t\tif (centsInputMonthly) centsInputMonthly.value = newVal * 100;\r\n\t\t\t\t\t\treturn set.call(this, newVal);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t\/\/ Initialize global variables for checkout.js\r\n\t\twindow.campaignId = 129539;\r\n\t\twindow.postID = 129539;\r\n\t\twindow.campaignLang = \"en\";\r\n\r\n\t\t\/** \r\n\t\t\t* Update phone input country when geolocation is detected\r\n\t\t\t*\/\r\n\t\tdocument.addEventListener('countryDetected', function (e) {\r\n\t\t\tif (e.detail && e.detail.countryCode) {\r\n\t\t\t\tvar countryCode = e.detail.countryCode.toLowerCase();\r\n\r\n\t\t\t\tif (itiSinglePhoneInput && typeof itiSinglePhoneInput.setCountry === 'function') {\r\n\t\t\t\t\titiSinglePhoneInput.setCountry(countryCode);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (itiMonthPhoneInput && typeof itiMonthPhoneInput.setCountry === 'function') {\r\n\t\t\t\t\titiMonthPhoneInput.setCountry(countryCode);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t\/**\r\n\t\t\t* Handle payment__other input field to update amount fields for API submission\r\n\t\t\t* This follows the same pattern as the giving blocks plugin\r\n\t\t\t* Using jQuery and event delegation to handle dynamically added elements\r\n\t\t\t*\/\r\n\r\n\t\t\/\/ Pure JavaScript: update #txtAmount as user types in .payment__other\r\n\t\tdocument.addEventListener('input', function (e) {\r\n\t\t\tif (e.target && e.target.classList && e.target.classList.contains('payment__other')) {\r\n\t\t\t\tvar value = e.target.value;\r\n\t\t\t\tvar txtAmount = document.getElementById('txtAmount');\r\n\t\t\t\tif (txtAmount) {\r\n\t\t\t\t\ttxtAmount.value = value;\r\n\t\t\t\t\t\/\/ Optionally, update cents if needed\r\n\t\t\t\t\tvar centsInput = document.getElementById('txtAmountCents');\r\n\t\t\t\t\tif (centsInput) {\r\n\t\t\t\t\t\tcentsInput.value = value * 100;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t<\/script>\r\n\t                <\/div>\n                <input type=\"text\" id=\"min-value\" class=\"min-value\" value=\"5\" style=\"display:none\" \/>\n                <input type=\"text\" id=\"max-value\" class=\"max-value\"\n                    value=\"20000\" style=\"display:none\" \/>\n                <input type=\"checkbox\" value=\"monthly_donation\" id=\"monthly\" name=\"monthly_donation\"\n                    style=\"display:none\" \/>\n            <\/div>\n        <\/div>\n        <!-- END STEP 3 -->\n    <\/div>\n    \r\n\t\t\t\r\n\t\t\t<div class=\"d-none validation-duplicated-email\">\r\n\t\t\t\temail of the person you'd like to receive this tribute, if applicable\t\t\t<\/div>\r\n\t\t\t<div class=\"d-none validation-duplicated-phone\">\r\n\t\t\t\tphone number of the person you'd like to receive this tribute, if applicable\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t\t<\/div><!-- .giving-form-container -->\r\n\t\t<script>\r\n\t(function() {\r\n\t\t\/\/ OpenAI Pixel - every page hosting this block is a landing page\r\n\t\t\/\/ (no-op unless the pixel is enabled, see class-openai-pixel.php)\r\n\t\tif (typeof window.givingOaiqTrack === 'function') {\r\n\t\t\twindow.givingOaiqTrack('page_viewed');\r\n\t\t}\r\n\r\n\t\t\/\/ Check for success status in URL\r\n\t\tconst urlParams = new URLSearchParams(window.location.search);\r\n\t\tconst status = urlParams.get('status');\r\n\r\n\t\tif (status === 'success') {\r\n\t\t\t\/\/ Hide form, show success message with fade-in animation\r\n\t\t\tconst formContainer = document.querySelector('.giving-form-container');\r\n\t\t\tconst successMessage = document.querySelector('.giving-success-message');\r\n\r\n\t\t\tif (formContainer && successMessage) {\r\n\t\t\t\tformContainer.style.display = 'none';\r\n\t\t\t\tsuccessMessage.style.display = 'block';\r\n\t\t\t\tsuccessMessage.style.opacity = '0';\r\n\r\n\t\t\t\t\/\/ Smooth fade-in animation\r\n\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\tsuccessMessage.style.transition = 'opacity 0.5s ease-in-out';\r\n\t\t\t\t\tsuccessMessage.style.opacity = '1';\r\n\t\t\t\t}, 50);\r\n\r\n\t\t\t\twindow.dispatchEvent(new CustomEvent('givingSuccessShown'));\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ OpenAI Pixel - thankyou_page event (no-op unless enabled)\r\n\t\t\tif (typeof window.givingOaiqTrack === 'function') {\r\n\t\t\t\twindow.givingOaiqTrack('thankyou_page');\r\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\tvar phpTrackAmount = 0;\r\n\t\t\tif (!phpTrackAmount && window.location.href.indexOf('#038;') !== -1) {\r\n\t\t\t\tvar fixedUrl = window.location.href.replace(\/#038;\/g, '&').replace(\/&amp;\/g, '&');\r\n\t\t\t\tvar parsed = new URL(fixedUrl);\r\n\t\t\t\tvar p = parsed.searchParams;\r\n\t\t\t\tvar amount = parseFloat(p.get('amount')) || 0;\r\n\t\t\t\tvar currency = p.get('currency') || 'USD';\r\n\t\t\t\tvar transId = p.get('transId') || '';\r\n\t\t\t\tvar paymentType = p.get('payment_type') || '';\r\n\t\t\t\tvar campaignDesc = p.get('campaign_desc') || '';\r\n\t\t\t\tvar giftName = paymentType === 'Commitment' ? 'monthlygift' : 'singlegift';\r\n\t\t\t\tvar frequency = paymentType === 'Commitment' ? 'Monthly' : 'One-time';\r\n\t\t\t\tvar lang = 'en';\r\n\r\n\t\t\t\tif (amount > 0) {\r\n\t\t\t\t\tvar dataLayer = window.dataLayer = window.dataLayer || [];\r\n\t\t\t\t\tdataLayer.push({\r\n\t\t\t\t\t\t'event': 'trackDonation',\r\n\t\t\t\t\t\t'transactionId': transId,\r\n\t\t\t\t\t\t'transactionTotal': amount,\r\n\t\t\t\t\t\t'transactionProducts': [{\r\n\t\t\t\t\t\t\t'sku': campaignDesc,\r\n\t\t\t\t\t\t\t'name': giftName,\r\n\t\t\t\t\t\t\t'category': campaignDesc,\r\n\t\t\t\t\t\t\t'price': amount,\r\n\t\t\t\t\t\t\t'quantity': 1\r\n\t\t\t\t\t\t}],\r\n\t\t\t\t\t\t'transactionCurrency': currency,\r\n\t\t\t\t\t\t'language': lang,\r\n\t\t\t\t\t\t'donationFrequency': frequency\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tif (typeof snaptr !== 'undefined') {\r\n\t\t\t\t\t\tsnaptr('track', 'PURCHASE', {\r\n\t\t\t\t\t\t\t'success': 1,\r\n\t\t\t\t\t\t\t'currency': currency,\r\n\t\t\t\t\t\t\t'price': amount,\r\n\t\t\t\t\t\t\t'transaction_id': transId\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\t\t}\r\n\t})();\r\n\t<\/script>\r\n<\/div><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"pages-with-white-header","meta":{"_acf_changed":false,"_page_options_show_footer_top":false,"footnotes":""},"class_list":["post-129539","page","type-page","status-publish","hentry"],"acf":{"show_in_homepage":false,"show_in_appeals":false,"is_emergency":false,"image_to_appear_in_slider":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>General Donate Page - UNHCR - Giving<\/title>\n<meta name=\"robots\" content=\"noindex, nofollow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"General Donate Page - UNHCR - Giving\" \/>\n<meta property=\"og:url\" content=\"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/\" \/>\n<meta property=\"og:site_name\" content=\"UNHCR - Giving\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-14T18:02:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/general-donate-page\\\/\",\"url\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/general-donate-page\\\/\",\"name\":\"General Donate Page - UNHCR - Giving\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/#website\"},\"datePublished\":\"2026-06-26T11:59:53+00:00\",\"dateModified\":\"2026-10-14T18:02:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/general-donate-page\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/general-donate-page\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/general-donate-page\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General Donate Page\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/#website\",\"url\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/\",\"name\":\"UNHCR - Giving\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/giving.unhcr.org\\\/donate\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"General Donate Page - UNHCR - Giving","robots":{"index":"noindex","follow":"nofollow"},"og_locale":"en_US","og_type":"article","og_title":"General Donate Page - UNHCR - Giving","og_url":"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/","og_site_name":"UNHCR - Giving","article_modified_time":"2026-10-14T18:02:39+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/","url":"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/","name":"General Donate Page - UNHCR - Giving","isPartOf":{"@id":"https:\/\/giving.unhcr.org\/donate\/#website"},"datePublished":"2026-06-26T11:59:53+00:00","dateModified":"2026-10-14T18:02:39+00:00","breadcrumb":{"@id":"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/giving.unhcr.org\/donate\/en\/general-donate-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/giving.unhcr.org\/donate\/en\/"},{"@type":"ListItem","position":2,"name":"General Donate Page"}]},{"@type":"WebSite","@id":"https:\/\/giving.unhcr.org\/donate\/#website","url":"https:\/\/giving.unhcr.org\/donate\/","name":"UNHCR - Giving","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/giving.unhcr.org\/donate\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/pages\/129539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/comments?post=129539"}],"version-history":[{"count":10,"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/pages\/129539\/revisions"}],"predecessor-version":[{"id":129863,"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/pages\/129539\/revisions\/129863"}],"wp:attachment":[{"href":"https:\/\/giving.unhcr.org\/donate\/en\/wp-json\/wp\/v2\/media?parent=129539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}