MediaWiki:Centralnotice-template-dsk p1 lg right12

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

<style> .action-edit #centralNotice, .ve-activated #centralNotice {

   display: none !important;

}

/* Border-Box */

.frb *, .frb *:before, .frb *:after {

   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;

}

/* Banner wide settings */

.frb input, .frb button {

   font-size: inherit;
   font-family: inherit;

}

.frb button {

   cursor: pointer;
   outline: 0;
   text-align: center;

}


/* --- Main banner wrapper --- */

.frb {

   display: none;
   z-index: 110;
   position: absolute;
   top: 0;
   background-color: #fff;
   border-left: 1px solid #a2a9b1;
   color: #222;
   font-size: 16px;
   line-height: 1.2;
   font-family: "Helvetica Neue", "Helvetica", "Nimbus Sans L", "Arial", "Liberation Sans", sans-serif;
   font-weight: 500;

} .frb.fixed {

   position: fixed;

} .frb.visible {

   display: block !important;

} @media all and (min-width: 920px) {

   .frb {
       background-color: #f8f9fa;
       top: 0;
       right: 0;
       height: 100vh;
       width: 30%;
   }

}

@media all and (min-height: 700px) {

   .frb {

position: fixed;

   }

}

@media all and (min-width: 1800px) {

   .frb {
       width: 25%;
   }

}

/* --- Window Styles --- */

.frb-container {

   position: relative;
   width: 100%;
   height: 100%;
   padding: 20px 20px 10px;

}

.frb-positioner {

   position: relative;
   width: 100%;

}

@media all and (max-width: 1240px) {

   .frb-container {
       padding: 15px 15px 10px;
   }

}

@media all and (max-height: 600px) and (max-width: 1240px) {

   .frb-container {
       padding: 10px;
   }
   .frb-positioner {
       overflow-y: scroll;
   }

}

.frb-main {

   position: relative;
   display: table;
   width: 100%;

} @media all and (min-width: 920px) and (min-height: 700px) {

   .frb-positioner{
       top: 50%;
       transform: translateY(-50%);
   }

}



/* Close button


*/

.frb-close {

   width: 1.5em;
   height: 1.5em;
   cursor: pointer;
   z-index: 999;
   color: #999999;
   position: absolute;
   right: 4px;
   top: 4px;
   opacity: .5;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition:    all .25s ease-in-out;
   transition:         all .25s ease-in-out;

}

@media all and (max-height: 600px) {

   .frb-close {
        right: 2px;
        top: 0px;
   }

}

.frb-close:hover {

   opacity: .8;

}


.frb-close:after, .frb-close:before {

   background: rgba(0,0,0,1);      
   width: 1.1em;
   height: 3px;
   position: absolute;
   right: .2em;
   top: .6em;
   content: ;

}

.frb-close:after {

   -moz-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   -webkit-transform: rotate(45deg);
   transform: rotate(45deg);

}

.frb-close:before {

   -moz-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   -webkit-transform: rotate(-45deg);
   transform: rotate(-45deg);

}

.frb-close-txt {

   display: none;

}


/* -------------- Message -------------- */

.frb-message {

   background-color: #f8f9fa;
   position: relative;
   width: auto;
   border: 5px solid #990000;
   border-radius: 12px;
   padding: 12px 16px 12px 26px;
   color: #000;
   font-family: "Linux Libertine", Georgia, Times, serif;
   font-size: 16px;
   line-height: 1.3; 
   transition: background-color 0.5s ease;

} @media all and (max-width: 919px) {

   .frb-message {
       background-color: white;
       display: table-cell;
       width: 75%;
   }
   .frb-message .frb-message-hide,
   .frb-message .frb-message-tall-hide {
       display: inline;
   }
   .frb-form {
       display: table-cell;
       width: 25%;
       min-width: 300px;
       height: 100%;
       vertical-align: middle;
       padding: 0 8px 0 10px;
   }

}

@media all and (max-height: 700px) {

   .frb-message {
       font-size: 14px;
       padding: 10px 10px 10px 20px;
   }

}

@media all and (min-width: 1240px) and (min-height: 700px) {

   .frb-message {
       font-size: 17px;
   }

}

@media all and (min-width: 1300px) and (min-height: 900px) {

   .frb-message {
       font-size: 18px;
   }

}

@media all and (min-width: 1500px) and (min-height: 800px) {

   .frb-message {
       font-size: 19px;
   }

}

.frb-message-icon {

 float: left;
 margin-top: 0.07368421053em; /*1.4px @19px*/
 margin-left: calc(-1em + -0.05263157895em); /*-19px + -1px @19px*/
 height: 1em;
 width: 1em;

}

body.rtl .frb-message-icon {

 float: right;
 margin-right: calc(-1em + -0.2105263158em); /*-19px + -4px @19px*/

}


.frb-message p {

   margin: 0;

}

.frb-highlight {

   border-bottom: 2px solid #990000;

}

.frb-message-hide, .frb-message-tall-hide {

   display: none;

} @media all and (min-width: 1040px) and (min-height: 700px) {

   .frb-message-hide {
       display: inline;
   }

}

@media all and (min-width: 1300px) and (min-height: 1000px) {

   .frb-message-tall-hide {
       display: inline;
   }

}

@media all and (min-width: 1600px) and (min-height: 900px) {

   .frb-message-tall-hide {
       display: inline;
   }

}


/* -------------- Form -------------- */

.frb-form {

   position: relative;
   width: 100%;
   vertical-align: middle;
   padding: 8px 12px 0 10px;

}

@media all and (max-width: 1240px) {

   .frb-form  {
      padding: 8px 0 0 10px;
   }

} .frb-form:before {

   position: absolute;
   left: 0;
   top: 50%;
   content: " ";
   margin-top: -10px;
   border: 10px solid transparent;
   border-left-color: #990000;

}

body.rtl .frb-form:before {
   left: auto;
   right: 0;
   border-left-color: transparent;
   border-right-color: #990000;

}

@media all and (min-width: 920px) {

   .frb-form:before {
       left: 50%;
       top: 0;
       bottom: auto;
       margin: 0 0 0 -10px;
       border-top-color: #990000;
       border-left-color: transparent;
   }
   body.rtl .frb-form:before {
       left: auto;
       right: 0;
       border-left-color: transparent;
   }

}

.frb-form fieldset {

   width: 100%;
   border: 0;
   margin: 0 auto;
   padding: 0 0 8px 0;

}

.frb-form fieldset + fieldset legend {

   border-top: 1px solid #CCC;

}

.frb-form legend {

   position: relative;
   top: 0;
   width: calc(100% - 7px);
   margin: 0;
   padding: 14px 0 4px 0;
   font-weight: normal;
   line-height: 1.2; /*18px @15px*/
   text-align: center;
   font-size: 15px;
   color: #696969;

}

.frb-rml-form legend {

 font-size: 14px;
 font-weight: 500;
 color: #222;
 line-height: 1.3571428571; /*10px @14px*/
 padding: 0 0 8px 0;

}

@media all and (max-width: 1400px) {

   fieldset.frb-frequency legend {
       padding: 14px 15px 4px;
   }

}

.frb-form fieldset:first-of-type legend {

   padding-top: 0;

}

.frb-form fieldset + fieldset legend:after, .frb-form fieldset + fieldset legend:before {

   top: -1px;
   left: 50%;
   border: solid transparent;
   content: " ";
   height: 0;
   width: 0;
   position: absolute;

}

.frb-form fieldset + fieldset legend:after {

   border-color: rgba(255, 255, 255, 0);
   border-top-color: #FFFFFF;
   border-width: 9px;
   margin-left: -9px;

} @media all and (min-width: 920px) {

   .frb-form fieldset + fieldset legend:after {
       border-top-color: #f8f9fa;
   }

}

.frb-form fieldset + fieldset legend:before {

   border-color: rgba(204, 204, 204, 0);
   border-top-color: #ccc;
   border-width: 10px;
   margin-left: -10px;

}

.frb-methods legend img {

   width: 12px;
   height: 12px;
   display: inline-block;

}

.frb-form ul {

   display: table;
   table-layout: fixed;
   width: 100%;
   margin: 0;
   padding: 0;
   list-style: none;

}

.frb-form li {

   display: table-cell;
   padding: 4px;
   vertical-align: top;

}

  1. frb-form {
   margin-top: 12px;

}

.frb-amounts ul.frb-amounts-short {

   display: none;

} .frb-amounts ul.frb-amounts-long {

   display: table;

}

@media all and (min-width: 920px) {

   .frb-amounts ul.frb-amounts-short {
       display: table;
   }
   .frb-amounts ul.frb-amounts-long {
       display: none;
   }

} /* --- Common Button Styles --- */

.frb-form .frb-methods input[type="radio"], .frb-amt-other input[type="radio"] {

   position: absolute;
   overflow: hidden;
   height: 1px;
   width: 1px;
   clip: rect(0, 0, 0, 0);
   border: 0;
   margin: -1px;
   padding: 0;

}

.frb-btn {

   width: 100%;
   height: 48px;
   display: block;
   background-color: #f8f9fa;
   color: #222222;
   font-size: 16px;
   line-height: 1.25; /*20px @16px*/
   padding: 13px 4px 15px 4px;
   border: 1px solid #9aa0a7;
   border-radius: 2px;
   outline: 0;
   text-align: center;
   cursor: pointer;
   font-family: inherit;
   font-weight: 500;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition:    all .25s ease-in-out;
   transition:         all .25s ease-in-out;

} .frb-btn:hover {

   background-color: #fff;
   color: #444;
   border-color: #a2a9b1;

} .frb-btn:active {

   background-color: #d9d9d9;
   color: #000;
   border-color: #7d8389;

} .frb-form input[type=radio]:checked + .frb-btn {

   background-color: #2a4b8d;
   color: #fff;
   border-color: #7d8389;

}

.frb-radio, .frb-radio-label {

   font-size: 16px;
   line-height: 1.375; /*22px @16px*/

}

.frb-radio {

   float: left;
   margin: 8px 6px;

}

@media all and (min-width: 920px) {

  .frb-amounts .frb-radio {
     margin: 8px 2px;
  }

} @media all and (min-width: 1050px) {

  .frb-amounts .frb-radio {
     margin: 8px 6px;
  }

}

.frb-radio-label {

   cursor: pointer;
   display: block;
   white-space: nowrap;
   font-weight: bold;
   padding: 6px 2px;

}

.frb-frequency .frb-radio-label {

   font-size: 16px;
   line-height: 1.375; /*22px @16px*/

}

/* Focus styles */

.frb-form input[type=radio]:focus {

   outline: 0;
}

.frb a:focus, .frb button:focus, .frb-radio:focus + .frb-radio-label, .frb-btn:focus, .frb-close:focus, .frb-btn-submit:focus, .frb-form input[type=radio]:focus + .frb-btn, .frb-form input[type=radio]:focus + #frb-amt-other-label,

  1. frb-amt-other-input:focus {
   outline: 0;
   border-color: #36c !important;
   box-shadow: inset 0 0 0 1px #36c;

}

.frb-form input[type=radio]:focus + .frb-btn, .frb-form input[type=radio]:focus + #frb-amt-other-label, .frb-form input[type=radio]:checked + .frb-btn:focus, .frb-form input[type=radio]:checked + #frb-amt-other-label:focus, .frb-form .frb-btn-submit:focus {

   box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff;

}

.frb-btn img {

   padding: 0 4px;
   max-width: 100%;
   max-height: 20px; /*must equal font line height of frb-btn*/

}

.frb-methods .frb-btn {

   height: 54px;
   line-height: 1.125; /*18px @16px*/

} @media all and (min-width: 920px) {

   .frb-methods .frb-btn {
       background-color: #fff;
   }

}

.frb-methods svg {

   max-width: 100%;

}

.frb-methods .frb-pm-cc .frb-btn {

   padding: 7px 4px

}

.frb-methods .frb-pm-cc svg {

   max-width: 30%;

}

.frb-country-GB .frb-methods .frb-pm-cc svg, .frb-country-IE .frb-methods .frb-pm-cc svg {

   max-width: 30%;
   max-height: 24px;

}

.frb-country-US .frb-methods .frb-pm-cc svg, .frb-country-AU .frb-methods .frb-pm-cc svg {

   max-width: 30%;
   max-height: 23px;

}

@media all and (min-width: 1800px) {

   .frb-country-US .frb-methods .frb-pm-cc svg,
   .frb-country-AU .frb-methods .frb-pm-cc svg {
       max-width: 30%;
   }

}

.frb-country-US .frb-logo-jcb, .frb-country-CA .frb-logo-jcb, .frb-country-NZ .frb-logo-jcb, .frb-country-AU .frb-logo-discover, .frb-country-CA .frb-logo-discover, .frb-country-GB .frb-logo-discover, .frb-country-IE .frb-logo-discover, .frb-country-NZ .frb-logo-discover { display: none; }

/* Blue text buttons */ .frb-btn.frb-btn-btxt {

   color: #3366cc;

} .frb-btn.frb-btn-btxt:active {

   color: #2a4b8d;

}

/* Blue text buttons */ .frb-btn.frb-btn-btxt {

   color: #3366cc;

} .frb-btn.frb-btn-btxt:active {

   color: #2a4b8d;

}

/* Submit/Continue buttons (blue background) */ .frb-btn-submit {

   width: 100%;
   display: block;
   margin-top: 8px;
   padding: 8px;
   color: #fff;
   background-color: #3366cc;
   border-color: #3366cc;
   cursor: pointer;
   border: 0;
   border-radius: 2px;
   font-size: 16px;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition:    all .25s ease-in-out;
   transition:         all .25s ease-in-out;

} .frb-btn-submit:hover {

   background-color: #447ff5;
   border-color: #447ff5;

} .frb-btn-submit:active {

   background-color: #2a4b8d;
   border-color: #2a4b8d;
   box-shadow: none;

}

/* --- RML Button Simplified --- */ @media all and (min-width: 920px) {

   .frb-rml-link.frb-btn {
       border: none;
       margin: auto;
       display: inline-block;
       font-weight: bold;
       text-transform: uppercase;
       padding: 4px;
       font-size: 12px;
       height: auto;
   }
   .frb-rml-link.frb-btn:hover,
   .frb-rml-link.frb-btn:active {
       background: transparent;
       text-decoration: underline;
   }

}

/* --- Other Amount --- */

.frb-amt-other-label {

   display: none;

}

.frb-amt-other .frb-btn {

   display: inline-block;
   width: 100%;
   padding: 2px 0 3px 0;

}

.frb-amt-other span {

   display: block;
   height: auto;
   margin-bottom: 1px;
   font-size: 10px;
   line-height: 1; /*10px @16px*/
   cursor: pointer;

}

.frb-amt-other #frb-amt-other-input {

   width: 100%;
   border: 1px solid #ccc;
   color: #555;
   font-size: 16px;
   padding: 7px 2px;
   border-radius: 0;
   direction: ltr;
   text-align: center;
   font-family: inherit;

} @media all and (min-width: 920px) {

   .frb-amt-other #frb-amt-other-input {
       font-size: 13px;
  }

} @media all and (min-width: 1050px) {

   .frb-amt-other #frb-amt-other-input {
       font-size: 16px;
  }

} /* --- Transaction fees options --- */

.frb-ptf {

   padding: 8px 5px 0;

}

.frb-checkbox {

   float: left;
   width: 16px;
   padding: 0;
   margin: 2px 4px 0 0;
   display: inline-block;

}

.frb-ptf label {

   display: inline-block;
   font-size: 14px;
   float: right;
   width: calc(100% - 22px);

}

.frb-ptf-total {

   font-weight: bold;

}

.frb-methods legend {

   color: #222;

}

/* --- Payment method Buttons --- */

/* Hide methods which aren't monthly capable when monthly option is selected */ .form-monthly .no-monthly {

   display: none !important;

}

.frb-form .frb-methods {

   padding-bottom: 0;

}

/* Only where there are 4 methods, display 2x2 */ .frb-methods ul li:first-child:nth-last-child(4), .frb-methods ul li:first-child:nth-last-child(4) ~ li {

   float: left;
   width: 50%;

} .frb-methods ul li:first-child:nth-last-child(4) .frb-btn, .frb-methods ul li:first-child:nth-last-child(4) ~ li .frb-btn {

   height: 48px;
   padding: 13px 4px 15px 4px;

}

/* --- Secure Transaction Legend --- */ .frb-secure-transaction {

   display: block;
   padding: 5px 12px;
   margin: 0 auto;
   color: #000;
   font-size: 12px;
   text-transform: uppercase;
   text-align: center;
   opacity: .7;

} .frb-secure-transaction img {

   width: 14px;
   height: 14px;
   display: inline-block;

}

/* --- Footer / Small Print --- */ .frb-footer {

   padding: 10px 24px 6px;
   font-size: 12px;
   color: #555;
   text-align: center;
   display: none;
   font-weight: normal;

}

.frb:hover .frb-footer {

   display: block;

}

@media all and (min-width: 920px) {

   .frb-footer {
       padding: 10px 0;
       font-size: 10px;
       display: block;
   }

} @media all and (max-height: 600px) {

   .frb-footer {
        font-size: 9px;
        padding: 5px 0;
   }

}


/* --- Show and Hiding (Minimize and Maximize) --- */ .frb-btn-toggle-size {

   display: none; /*shows when minimized*/
   width: 100%;
   font-size: 16px;
   background-color: #2a4b8d;
   color: #fff;
   border-color: #2a4b8c;
   transition: color 0.5s ease;
   text-transform: uppercase;
   font-weight: bold;
   letter-spacing: 0.0375em; /*0.6px @16px*/

}

.frb-btn-toggle-size:hover, .frb-btn-toggle-size:focus {

   background-color: #2a4b8d;
   border-color: #2a4b8c;
   color: #eaf3ff;

}

/*Minimized styles*/ .frb--minimized .frb-btn-toggle-size {

   display: block;
   margin: 0 auto;
   width: 97%;

}

.frb--minimized:hover .frb-btn-toggle-size {

   color: #eaf3ff;

}

/* Messages */ .frb-message__minimized {

   display: none;

} .frb-message__maximized {

   display: block;

} .frb-greeting {

   display: block;
   margin-bottom: 4px;

}

/* Minimized styles */ .frb--minimized .frb-message__minimized {

   display: block;

} .frb--minimized .frb-message__maximized, .frb--minimized #frb-form, .frb--minimized .frb-rml {

   display: none;

}

/* --- Maybe later --- */

.frb-rml {

   position: relative;
   width: auto;
   padding: 0;
   margin-top: 4px;

}

.frb-rml-form {

   display: none;
   position: absolute;
   width: 100%;
   padding: 16px;
   margin-top: 6px;
   text-align: center;
   background: white;
   border: 1px solid #888888;
   border-radius: 2px;
   box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15);
   z-index: 10;

} .frb-rml-form:after, .frb-rml-form:before {

   bottom: 100%;
   left: 50%;
   border: solid transparent;
   content: " ";
   height: 0;
   width: 0;
   position: absolute;

}

.frb-rml-form:after {

   border-bottom-color: #fff;
   border-width: 10px;
   margin-left: -10px;

}

.frb-rml-form:before {

   border-bottom-color: #888;
   border-width: 11px;
   margin-left: -11px;

}

@media all and (min-width: 920px) {

   .frb-rml-form {
       bottom: 120%;
   }
   .frb-rml-form:after,
   .frb-rml-form:before {
       bottom: auto;
       top: 100%;
   }
   .frb-rml-form:after {
       border-bottom-color: transparent;
       border-top-color: #fff;
   }
   .frb-rml-form:before {
       border-bottom-color: transparent;
       border-top-color: #888;
   }

}

.frb-rml-form input {

   width: 100%;
   padding: 8px;
   margin: 0;
   border: 1px solid #9aa0a7;
   border-radius: 2px;
   color: #000;
   direction: ltr;

}

.frb-rml-form input.error {

   border-color: #ff0000;
   box-shadow: inset 0 0 0 2px #ff0000;

}

.frb-rml-form .frb-rml-error {

   color: #ff0000;
   padding-top: 4px;

}

.frb-rml-ty {

   padding: 0 16px;
   text-align: center;
   cursor: default;

}

/* --- Wiki Table Hack --- */ .wikitable {

   table-layout: fixed;
   width: 100%;

} .wikitable img {

   max-width: 100%;
   height: auto;

} </style>

   
       Close
   

<svg class="frb-message-icon" role="img" aria-labelledby="frb-message-icon-title" width="25" height="25" viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg"><title id="frb-message-icon-title">Information icon</title><g fill-rule="nonzero" fill="none"><circle fill="#991B1E" cx="10.492" cy="14.492" r="10.492"/><path d="M12.681 11.754l-2.267 7.864c-.125.45-.188.745-.188.885 0 .08.033.156.1.226.066.07.136.105.21.105.125 0 .25-.055.376-.165.332-.273.73-.767 1.194-1.482l.376.22c-1.113 1.94-2.296 2.91-3.55 2.91-.48 0-.86-.135-1.144-.404a1.349 1.349 0 0 1-.426-1.023c0-.273.062-.62.188-1.04l1.537-5.286c.147-.51.221-.892.221-1.15a.566.566 0 0 0-.21-.432c-.14-.125-.332-.188-.575-.188-.11 0-.243.004-.398.011l.144-.442 3.749-.609h.663zm-.685-5.087c.457 0 .842.159 1.156.475.313.318.47.701.47 1.15 0 .45-.16.834-.476 1.15-.317.318-.7.476-1.15.476-.443 0-.822-.158-1.14-.475a1.566 1.566 0 0 1-.475-1.15c0-.45.157-.833.47-1.15a1.549 1.549 0 0 1 1.145-.476z" fill="#FFF"/></g></svg> To all our readers in COUNTRY, We will get straight to the point: Today we ask you to help Wikipedia. To maintain our independence, we will never run ads. We depend on donations averaging about %AVERAGE%. Only a tiny portion of our readers give. If everyone reading this gave %MINIMUM%, we could keep Wikipedia thriving for years to come. The price of a coffee is all we need. When we made Wikipedia a non-profit, people warned us we’d regret it. Over a decade later, it’s the only top ten site run by a non-profit and a community of volunteers. Has it crossed our minds how much we could have made if it had ads? Sure. But it wouldn’t be the same. We wouldn’t be able to trust it. Most people ignore our messages. But we hope you’ll think about how useful it is to have unlimited access to reliable, neutral information. Please help keep Wikipedia online and ad-free. Thank you.

           <button class="frb-btn frb-btn-toggle-size">Donate now</button>
           <form id="frb-form">
               <fieldset class="frb-frequency">
                   <legend>How often would you like to donate?</legend>
  • <input class="frb-radio" type="radio" name="frequency" id="frb-frequency-onetime" onclick="frb.toggleMonthly(false);" value="onetime" checked> <label class="frb-radio-label" for="frb-frequency-onetime">Just Once</label>
  • <input class="frb-radio" type="radio" name="frequency" id="frb-frequency-monthly" onclick="frb.toggleMonthly(true);" value="monthly"> <label class="frb-radio-label" for="frb-frequency-monthly">Give Monthly</label>
               </fieldset>
               <fieldset class="frb-amounts">
                   <legend>
                       Select an amount ()
                   </legend>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps1" value="3"> <label for="frb-amt-ps1" class="frb-radio-label">$3</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps2" value="5"> <label for="frb-amt-ps2" class="frb-radio-label">$5</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps3" value="10"> <label for="frb-amt-ps3" class="frb-radio-label">$10</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps4" value="20"> <label for="frb-amt-ps4" class="frb-radio-label">$20</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps5" value="30"> <label for="frb-amt-ps5" class="frb-radio-label">$30</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps6" value="50"> <label for="frb-amt-ps6" class="frb-radio-label">$50</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps7" value="100"> <label for="frb-amt-ps7" class="frb-radio-label">$100</label>
  • <input name="amount" type="radio" id="input_amount_other" value="Other"/> <input name="otherAmount" type="text" id="frb-amt-other-input" size="3" autocomplete="off" value="" placeholder="Other" tabindex="-1" /> <label for="frb-amt-other-input" class="frb-amt-other-label">Other</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps1-2" value="3"> <label for="frb-amt-ps1-2" class="frb-radio-label">$3</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps2-2" value="5"> <label for="frb-amt-ps2-2" class="frb-radio-label">$5</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps4-2" value="20"> <label for="frb-amt-ps4-2" class="frb-radio-label">$20</label>
  • <input class="frb-radio" name="amount" type="radio" id="frb-amt-ps6-2" value="50"> <label for="frb-amt-ps6-2" class="frb-radio-label">$50</label>
  • <input name="amount" type="radio" id="input_amount_other-2" value="Other"/> <input name="otherAmount" type="text" id="frb-amt-other-input" size="3" autocomplete="off" value="" placeholder="Other" tabindex="-1" /> <label for="frb-amt-other-input-2" class="frb-amt-other-label">Other</label>
               </fieldset>
               <fieldset class="frb-methods">
                   <legend>Donate  with:</legend>

  • <button class="frb-btn frb-btn-btxt" onclick="frb.submitForm({ method:'cc'}); return false;"> <svg class="frb-logo-visa" xmlns="http://www.w3.org/2000/svg" aria-labelledby="frb-logo-visa-title" viewBox="0 0 200 120"><title>Visa</title><path fill="#FFFFFF" d="M7.7 0h184.6c4.2 0 7.7 3.3 7.7 7.5v105c0 4.1-3.4 7.5-7.7 7.5H7.7c-4.2 0-7.7-3.3-7.7-7.5V7.5C0 3.3 3.4 0 7.7 0z"/><path fill="#F7B600" d="M0 98v14.3c0 4.2 3.4 7.7 7.7 7.7h184.6c4.2 0 7.7-3.4 7.7-7.7V98H0z"/><path fill="#1A1F71" d="M200 22V7.7c0-4.2-3.4-7.7-7.7-7.7H7.7C3.4 0 0 3.4 0 7.7V22h200zM81.9 36.9L62.3 83.4H49.4l-9.6-37.2c-.6-2.3-1.1-3.1-2.8-4.1-3.8-1.8-7.8-3.1-12-3.9l.2-1.4h20.6c2.8 0 5.1 2 5.6 4.8l5.1 26.9 12.6-31.7h12.8zm50.3 31.3c0-12.3-17-13-16.9-18.4 0-1.7 1.6-3.4 5.2-3.9 4.1-.4 8.2.3 12 2.1l2.1-9.8c-3.6-1.4-7.5-2.1-11.4-2.1-12 0-20.4 6.4-20.5 15.3-.1 6.8 6 10.4 10.6 12.6s6.3 3.8 6.3 5.8c0 3.1-3.8 4.5-7.3 4.5-4.3.1-8.6-.9-12.5-2.9l-2.2 10.2c4.3 1.7 8.9 2.5 13.5 2.5 12.7 0 20.9-6.2 21.1-15.9m31.6 15.2H175l-9.8-46.5h-10.4c-2.3 0-4.3 1.3-5.2 3.4l-18.3 43.1H144l2.5-7h15.6l1.7 7zm-13.6-16.5l6.4-17.4 3.7 17.4h-10.1zm-51-30l-10 46.5H77.1l10-46.5h12.1z"/></svg> <svg class="frb-logo-jcb" xmlns="http://www.w3.org/2000/svg" aria-labelledby="frb-logo-jcb-title" viewBox="0 0 200 120"><title>JCB</title><path fill="#FFFFFF" d="M193.1 0H7.7C3.4 0 0 3.3 0 7.5v105c0 3.9 3.1 7.1 6.9 7.5h185.4c4.3 0 7.7-3.4 7.7-7.5V7.5c0-3.9-3.1-7.1-6.9-7.5z"/><linearGradient id="path6338_1_" gradientUnits="userSpaceOnUse" x1="-227.894" y1="959.936" x2="-209.808" y2="959.936" gradientTransform="matrix(2.0492 0 0 -2.0492 590.04 2032.794)"><stop offset="0" stop-color="#007940"/><stop offset=".229" stop-color="#00873F"/><stop offset=".743" stop-color="#40A737"/><stop offset="1" stop-color="#5CB531"/></linearGradient><path id="path6338" fill="url(#path6338_1_)" d="M130.4 69.6h8.7c.2 0 .8-.1 1.1-.1 1.6-.3 3.1-1.8 3.1-3.9 0-2-1.4-3.5-3.1-3.9-.2-.1-.7-.1-1.1-.1h-8.7v8z"/><linearGradient id="path6349_1_" gradientUnits="userSpaceOnUse" x1="-227.894" y1="962.732" x2="-209.823" y2="962.732" gradientTransform="matrix(2.0492 0 0 -2.0492 590.04 2032.794)"><stop offset="0" stop-color="#007940"/><stop offset=".229" stop-color="#00873F"/><stop offset=".743" stop-color="#40A737"/><stop offset="1" stop-color="#5CB531"/></linearGradient><path id="path6349" fill="url(#path6349_1_)" d="M138.1 15c-8.2 0-15 6.7-15 15v15.6h21.2c.5 0 1.1 0 1.5.1 4.8.2 8.3 2.7 8.3 7 0 3.4-2.4 6.3-6.8 6.8v.2c4.9.3 8.6 3 8.6 7.3 0 4.5-4.1 7.5-9.6 7.5H123V105h22c8.2 0 15-6.7 15-15V15h-21.9z"/><linearGradient id="path6360_1_" gradientUnits="userSpaceOnUse" x1="-227.894" y1="965.808" x2="-209.807" y2="965.808" gradientTransform="matrix(2.0492 0 0 -2.0492 590.04 2032.794)"><stop offset="0" stop-color="#007940"/><stop offset=".229" stop-color="#00873F"/><stop offset=".743" stop-color="#40A737"/><stop offset="1" stop-color="#5CB531"/></linearGradient><path id="path6360" fill="url(#path6360_1_)" d="M142.1 53.7c0-2-1.4-3.3-3.1-3.5-.2 0-.6-.1-.8-.1h-7.8v7.3h7.8c.2 0 .7 0 .8-.1 1.7-.3 3.1-1.7 3.1-3.6z"/><linearGradient id="path6371_1_" gradientUnits="userSpaceOnUse" x1="-268.384" y1="962.752" x2="-250.018" y2="962.752" gradientTransform="matrix(2.0492 0 0 -2.0492 590.04 2032.794)"><stop offset="0" stop-color="#1F286F"/><stop offset=".475" stop-color="#004E94"/><stop offset=".826" stop-color="#0066B1"/><stop offset="1" stop-color="#006FBC"/></linearGradient><path id="path6371" fill="url(#path6371_1_)" d="M55.1 15c-8.2 0-15 6.7-15 15v37c4.2 2.1 8.6 3.4 12.9 3.4 5.2 0 8-3.1 8-7.4V45.5h12.9v17.4c0 6.8-4.2 12.3-18.5 12.3-8.7 0-15.4-1.9-15.4-1.9v31.6h22c8.2 0 15-6.7 15-15V15H55.1z"/><linearGradient id="path6384_1_" gradientUnits="userSpaceOnUse" x1="-248.235" y1="962.712" x2="-230.398" y2="962.712" gradientTransform="matrix(2.0492 0 0 -2.0492 590.04 2032.794)"><stop offset="0" stop-color="#6C2C2F"/><stop offset=".173" stop-color="#882730"/><stop offset=".573" stop-color="#BE1833"/><stop offset=".859" stop-color="#DC0436"/><stop offset="1" stop-color="#E60039"/></linearGradient><path id="path6384" fill="url(#path6384_1_)" d="M96.6 15c-8.2 0-15 6.7-15 15v19.6c3.8-3.2 10.4-5.3 21-4.8 5.7.2 11.8 1.8 11.8 1.8V53c-3.1-1.6-6.7-3-11.4-3.3-8.1-.6-12.9 3.4-12.9 10.3 0 7 4.9 11 12.9 10.3 4.7-.3 8.3-1.8 11.4-3.3v6.3s-6 1.6-11.8 1.8c-10.6.5-17.2-1.6-21-4.8V105h22c8.2 0 15-6.7 15-15V15h-22z"/></svg> <svg class="frb-logo-mastercard" xmlns="http://www.w3.org/2000/svg" aria-labelledby="frb-logo-mastercard-title" viewBox="0 0 200 120"><path d="M192.3 120H7.7c-4.2 0-7.7-3.4-7.7-7.5V7.5C0 3.4 3.5 0 7.7 0h184.6c4.2 0 7.7 3.4 7.7 7.5v105c0 4.1-3.5 7.5-7.7 7.5z"/><g id="Layer_1-2"><path id="_Compound_Path_" fill="#FFFFFF" d="M61.9 106.5v-6.2c.2-2-1.3-3.7-3.3-3.9h-.5c-1.4-.1-2.7.6-3.5 1.8-.7-1.1-1.9-1.8-3.3-1.8-1.2-.1-2.3.5-3 1.5v-1.2h-2v9.9h2v-5.7c-.1-1.3.8-2.5 2.1-2.6h.4c1.4 0 2.2.9 2.2 2.6v5.7h2v-5.7c-.1-1.3.8-2.5 2.1-2.6h.4c1.5 0 2.2.9 2.2 2.6v5.7l2.2-.1zm32.1-10h-3.6v-3h-2v3h-2.1v1.8h2.1v4.7c0 2.3.8 3.7 3.3 3.7.9 0 1.9-.3 2.7-.8l-.6-1.8c-.6.3-1.2.5-1.9.6-1 0-1.5-.7-1.5-1.7v-4.8H94v-1.7zm18.3-.2c-1.1 0-2.1.5-2.7 1.5v-1.2h-2v9.9h2v-5.6c0-1.6.8-2.7 2.2-2.7.5 0 .9.1 1.3.2l.7-1.9c-.5-.1-1-.2-1.5-.2zm-27.7 1c-1.2-.7-2.6-1.1-4-1-2.5 0-4 1.2-4 3.1 0 1.6 1.1 2.6 3.3 2.9l1 .1c1.2.2 1.8.6 1.8 1.1 0 .8-.9 1.3-2.3 1.3-1.2 0-2.3-.3-3.3-1l-1 1.6c1.3.9 2.7 1.3 4.3 1.3 2.8 0 4.4-1.3 4.4-3.2 0-1.9-1.2-2.6-3.3-2.9l-1-.1c-.9-.1-1.8-.4-1.8-1s.8-1.2 2-1.2c1.1 0 2.1.3 3.1.9l.8-1.9zm29.9 4.2c-.1 2.7 2 5.1 4.7 5.2h.5c1.3.1 2.6-.4 3.5-1.2l-1-1.6c-.7.6-1.6.9-2.6.9-1.8-.2-3.2-1.8-3-3.7.2-1.6 1.4-2.9 3-3 .9 0 1.8.3 2.6.9l1-1.6c-1-.8-2.3-1.2-3.5-1.2-2.7-.1-5 2-5.2 4.7v.6zm-13.9-5.2c-2.9 0-4.9 2.1-4.9 5.2-.2 2.7 1.9 5 4.5 5.2h.5c1.5.1 2.9-.4 4-1.4l-1-1.5c-.8.7-1.8 1-2.9 1-1.5.1-2.8-1-3-2.5h7.4v-.8c.1-3.1-1.8-5.2-4.6-5.2zm0 1.8c1.4 0 2.5 1 2.6 2.4v.1h-5.3c.1-1.4 1.3-2.5 2.7-2.5zm-26.7 3.4v-4.9h-2v1.2c-.8-1-2-1.5-3.2-1.5-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2 1.2.1 2.4-.5 3.2-1.5v1.2h2v-4.9zm-7.9 0c-.1-1.7 1.1-3.2 2.8-3.4h.3c1.8.2 3.2 1.8 3 3.7-.2 1.6-1.4 2.9-3 3-1.7 0-3.1-1.4-3.1-3.1-.1 0-.1-.1 0-.2zm76.1-5.2c-1.1 0-2.1.5-2.7 1.5v-1.2h-2v9.9h2v-5.6c0-1.6.8-2.7 2.2-2.7.5 0 .9.1 1.3.2l.7-1.9c-.5-.1-1-.2-1.5-.2zm15.8 8.7c.1 0 .3 0 .4.1.1 0 .2.1.3.2.1.1.2.2.2.3.1.2.1.5 0 .8-.1.1-.1.2-.2.3-.1.1-.2.2-.3.2-.1.1-.3.1-.4.1-.4 0-.8-.2-.9-.6-.1-.2-.1-.5 0-.8.1-.1.1-.2.2-.3.1-.1.2-.2.3-.2.2 0 .3-.1.4-.1zm0 1.8c.1 0 .2 0 .3-.1.1 0 .2-.1.2-.2.3-.3.3-.7 0-1l-.2-.2c-.1 0-.2-.1-.3-.1-.1 0-.2 0-.3.1-.1 0-.2.1-.2.2-.3.3-.3.7 0 1 .1.1.2.1.2.2.1.1.2.1.3.1zm.1-1.2c.1 0 .2 0 .3.1.1.1.1.1.1.2s0 .1-.1.2-.1.1-.2.1l.3.3h-.2l-.3-.3h-.1v.3h-.2v-.9h.4zm-.2.1v.2h.3v-.2h-.3zm-23.3-4.2v-5h-2v1.2c-.8-1-2-1.5-3.2-1.5-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2 1.2.1 2.4-.5 3.2-1.5v1.2h2v-4.8zm-8 0c-.1-1.7 1.1-3.2 2.8-3.4h.3c1.8.2 3.2 1.8 3 3.7-.2 1.6-1.4 2.9-3 3-1.7 0-3.1-1.4-3.1-3.1v-.2zm27.9 0v-9h-2v5.2c-.8-1-2-1.5-3.2-1.5-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2 1.2.1 2.4-.5 3.2-1.5v1.2h2v-4.8zm-8 0c-.1-1.7 1.1-3.2 2.8-3.4h.3c1.8.3 3.1 2 2.8 3.9-.2 1.5-1.4 2.6-2.8 2.8-1.7 0-3.1-1.4-3.1-3.1-.1 0-.1-.1 0-.2z"/><g id="_Group_"><path fill="#FF5F00" d="M83.9 21h32.4v58.7H83.9z"/><path id="_Path_2" fill="#EB001B" d="M86 50.3C86 38.8 91.2 28 100.2 21c-16.1-12.7-39.4-9.9-52.1 6.3S38.2 67 54.3 79.7c13.4 10.6 32.4 10.6 45.8 0C91.2 72.6 86 61.8 86 50.3z"/><path fill="#F79E1B" d="M156.6 73.5v-1.2h.5V72h-1.2v.2h.5v1.2h.2zm2.4 0V72h-.4l-.4 1-.4-1h-.4v1.5h.3v-1.1l.4.9h.3l.4-.9v1.1h.2zm1.2-23.2c0 20.6-16.6 37.3-37.1 37.3-8.3 0-16.4-2.8-22.9-8 16.1-12.7 18.9-36.2 6.2-52.4-1.8-2.3-3.9-4.4-6.2-6.3 16.1-12.7 39.4-9.9 52.1 6.3 5.1 6.6 7.9 14.8 7.9 23.1z"/></g></g></svg> <svg class="frb-logo-amex" xmlns="http://www.w3.org/2000/svg" aria-labelledby="frb-logo-amex-title" viewBox="0 0 200 120"><title>Amex</title><linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="187.342" y1="3564.816" x2="13.247" y2="3503.596" gradientTransform="translate(0 -3474.102)"><stop offset="0" stop-color="#51BCEA"/><stop offset="1" stop-color="#3078BC"/></linearGradient><path fill="url(#SVGID_1_)" d="M192.3 120H7.7c-4.2 0-7.7-3.5-7.7-7.7V7.7C0 3.5 3.5 0 7.7 0h184.6c4.2 0 7.7 3.5 7.7 7.7v104.7c0 4.1-3.5 7.6-7.7 7.6z"/><path fill="#FFFFFF" d="M162.8 60.1L179 42.5h-11L157.4 54l-10.2-11.5h-33.4v35h32.9l10.6-11.6 10.2 11.6h10.8l-15.5-17.4zm-20.3 10.1H122v-7h18.2V56H122v-6.4h20.8l9.1 10.2-9.4 10.4zm-95-7.7l-5.6-13.9-5.6 13.9m74.4 15h-8.5V50.1L90.1 77.5h-7.3L70.7 50.1v27.4h-17l-3.2-7.8H33.2L30 77.5h-9l14.9-35h12.3l14.1 33.1V42.5H76l10.9 23.7 10-23.7h13.8v35z"/></svg> <svg class="frb-logo-discover" style="display: none;" xmlns="http://www.w3.org/2000/svg" aria-labelledby="frb-logo-discover-title" viewBox="0 0 200 120"><title>Discover</title><path fill="#FFFFFF" d="M192.3 120H7.7c-4.2 0-7.7-3.5-7.7-7.7V7.7C0 3.5 3.5 0 7.7 0h184.6c4.2 0 7.7 3.5 7.7 7.7v104.7c0 4.1-3.5 7.6-7.7 7.6z"/><path fill="#E77730" d="M47.5 120h144.8c4.2 0 7.7-3.5 7.7-7.7V64.6s-21.5 15.4-61.9 31C104 108.9 57 118.2 47.5 120z"/><path fill="#211E1E" d="M26.6 54.2c-1.8 1.6-4 2.3-7.6 2.3h-1.5V37.8H19c3.6 0 5.8.6 7.6 2.3 1.9 1.7 3.1 4.4 3.1 7 0 2.7-1.2 5.4-3.1 7.1m-6.5-21.3h-8.2v28.2H20c4.3 0 7.4-1 10.2-3.3 3.3-2.7 5.2-6.7 5.2-10.8 0-8.2-6.3-14.1-15.3-14.1M38 61.3h5.6V32.9H38v28.4zm19.1-17.5c-3.3-1.2-4.3-2-4.3-3.6 0-1.8 1.8-3.2 4.1-3.2 1.7 0 3 .7 4.5 2.3l2.9-3.8c-2.4-2.1-5.3-3.2-8.4-3.2-5.1 0-8.9 3.5-8.9 8.1 0 3.9 1.8 5.9 7 7.7 2.2.8 3.3 1.3 3.8 1.6 1.1.7 1.7 1.8 1.7 2.9 0 2.3-1.9 4-4.3 4-2.7 0-4.8-1.3-6.1-3.8l-3.6 3.5c2.6 3.8 5.6 5.3 9.9 5.3 5.8 0 9.8-3.8 9.8-9.2.2-4.3-1.7-6.3-8.1-8.6m10 3.3c0 8.3 6.6 14.8 15.1 14.8 2.4 0 4.5-.5 7-1.7v-6.5c-2.2 2.2-4.2 3.1-6.7 3.1-5.6 0-9.6-4.1-9.6-9.7 0-5.4 4.1-9.7 9.3-9.7 2.7 0 4.7 1 7 3.2V34c-2.4-1.2-4.5-1.8-6.9-1.8-8.4.1-15.2 6.7-15.2 14.9m66.2 4.9l-7.6-19h-6.1l12.1 29h3l12.4-29h-6l-7.8 19m16.3 9.3h15.8v-4.8h-10.2v-7.7h9.8V44h-9.8v-6.2h10.2v-4.9h-15.8M176.3 46h-1.6v-8.5h1.7c3.5 0 5.4 1.4 5.4 4.2-.1 2.7-2 4.3-5.5 4.3m11.1-4.6c0-5.2-3.7-8.3-10.1-8.3H169v28.2h5.6V49.9h.7l7.7 11.4h6.9l-9-11.9c4.2-.9 6.5-3.8 6.5-8"/><path fill="#E77731" d="M121.2 47.1c0 8.2-6.8 15-15.1 15S91 55.3 91 47.1s6.8-15 15.1-15c8.4 0 15.1 6.8 15.1 15"/><path fill="none" d="M106.3 32c-.6 0-1.2 0-1.8.1.2 0 .4 0 .6-.1.5.1.9.1 1.2 0h.8-.8M91.4 43.6c-.1.5-.2 1.1-.3 1.6 0 .2 0 .4-.1.5.1-.5.1-1 .2-1.5.1-.1.1-.3.2-.6"/></svg> </button>
  • <button class="frb-btn frb-btn-btxt" onclick="frb.submitForm({ method:'paypal' }); return false;"> <svg class="frb-logo-paypal" role="img" aria-labelledby="frb-logo-paypal-title" width="80" height="24" viewBox="0 0 80 24" xmlns="http://www.w3.org/2000/svg"><title id="frb-logo-paypal-title">PayPal</title><g fill-rule="nonzero" fill="none"><path d="M12.444 5.085H6.97a.763.763 0 0 0-.752.648L4.006 19.891c-.044.279.17.53.451.53H7.07a.762.762 0 0 0 .751-.647l.597-3.819a.762.762 0 0 1 .75-.648h1.733c3.606 0 5.686-1.76 6.23-5.248.245-1.526.01-2.724-.698-3.564-.778-.922-2.158-1.41-3.99-1.41zm.631 5.171c-.3 1.981-1.8 1.981-3.25 1.981h-.826l.579-3.7a.457.457 0 0 1 .45-.388h.379c.988 0 1.92 0 2.402.569.288.339.376.842.266 1.538zM28.803 10.193h-2.62a.458.458 0 0 0-.451.388l-.116.74-.184-.269c-.567-.83-1.832-1.108-3.095-1.108-2.896 0-5.37 2.213-5.851 5.317-.25 1.548.105 3.029.976 4.061.799.95 1.941 1.345 3.301 1.345 2.334 0 3.628-1.513 3.628-1.513l-.117.734c-.044.281.17.533.45.533h2.36a.763.763 0 0 0 .752-.648l1.416-9.05a.457.457 0 0 0-.449-.53zm-3.653 5.145c-.253 1.51-1.441 2.525-2.957 2.525-.76 0-1.37-.246-1.76-.713-.387-.464-.534-1.123-.411-1.858.236-1.497 1.444-2.544 2.937-2.544.744 0 1.35.25 1.748.72.399.475.557 1.139.443 1.87zM42.761 10.193h-2.634a.761.761 0 0 0-.63.336l-3.632 5.398-1.54-5.187a.764.764 0 0 0-.73-.547h-2.587a.46.46 0 0 0-.433.608l2.9 8.588-2.726 3.884a.46.46 0 0 0 .372.727h2.63c.25 0 .483-.123.625-.33l8.76-12.755a.46.46 0 0 0-.375-.722" fill="#283B82"/><path d="M51.48 5.085h-5.473a.762.762 0 0 0-.75.648l-2.214 14.158c-.044.279.17.53.45.53H46.3c.261 0 .485-.191.525-.453l.628-4.013a.762.762 0 0 1 .751-.648h1.732c3.606 0 5.686-1.76 6.23-5.248.246-1.526.01-2.724-.699-3.564-.777-.922-2.156-1.41-3.987-1.41zm.632 5.171c-.299 1.981-1.799 1.981-3.25 1.981h-.826l.58-3.7a.456.456 0 0 1 .45-.388h.379c.987 0 1.92 0 2.402.569.287.339.375.842.265 1.538zM67.84 10.193h-2.62a.455.455 0 0 0-.45.388l-.116.74-.184-.269c-.567-.83-1.832-1.108-3.094-1.108-2.897 0-5.37 2.213-5.851 5.317-.25 1.548.105 3.029.976 4.061.8.95 1.94 1.345 3.3 1.345 2.334 0 3.628-1.513 3.628-1.513l-.117.734c-.044.281.17.533.452.533h2.36a.762.762 0 0 0 .75-.648l1.417-9.05a.46.46 0 0 0-.452-.53zm-3.654 5.145c-.251 1.51-1.441 2.525-2.957 2.525-.76 0-1.37-.246-1.76-.713-.387-.464-.533-1.123-.41-1.858.237-1.497 1.444-2.544 2.936-2.544.744 0 1.35.25 1.748.72.4.475.56 1.139.443 1.87zM70.929 5.474L68.683 19.89c-.044.279.17.53.45.53h2.258a.761.761 0 0 0 .751-.647l2.215-14.157a.459.459 0 0 0-.45-.532H71.38a.458.458 0 0 0-.45.389" fill="#469BDB"/></g></svg> </button>
  • <button class="frb-btn frb-btn-link" onclick="frb.submitForm({ method:'amazon' }); return false;"> <svg class="frb-logo-amazon-pay" role="img" aria-labelledby="frb-logo-amazon-pay-title" width="80" height="24" viewBox="0 0 80 24" xmlns="http://www.w3.org/2000/svg"><title id="frb-logo-amazon-pay-title">Amazon</title><g fill-rule="nonzero" fill="none"><path d="M17.33 9.035c.278.07.56.125.82.26.655.349 1.01.895 1.097 1.63.03.27.038.542.038.814 0 1.896-.004 3.793-.007 5.689 0 .31-.097.407-.404.407H17.5c-.275 0-.38-.104-.38-.38v-5.08c0-.167-.003-.334-.027-.504-.094-.675-.675-1.01-1.305-.738-.46.195-.63.585-.686 1.051a7.11 7.11 0 0 0-.038.818v4.42c0 .32-.094.417-.41.417h-1.358c-.289 0-.386-.101-.386-.387 0-1.61 0-3.225.003-4.837 0-.31-.013-.612-.104-.911-.122-.4-.376-.623-.745-.65-.497-.036-.814.128-1.002.521-.16.33-.198.689-.202 1.05-.007 1.591-.007 3.178-.007 4.768 0 .359-.083.446-.435.446h-1.34c-.274 0-.379-.105-.379-.376V9.599c0-.293.094-.39.38-.39H10.4c.244 0 .348.108.352.348 0 .316 0 .633.024.957.062-.133.122-.268.195-.394.323-.58.804-.946 1.468-1.047.025-.003.045-.007.052-.035h.696c.007.007.014.025.021.025.752.097 1.222.556 1.552 1.2.038.077.08.157.132.254a5.77 5.77 0 0 1 .074-.163c.295-.627.775-1.04 1.444-1.229.097-.028.205-.02.292-.083.209-.007.417-.007.626-.007zM4.28 9.035c.209.08.435.08.65.139.384.104.746.25 1.066.487.584.435.824 1.044.86 1.744.051 1.113.01 2.223.02 3.337 0 .114 0 .233.004.348.01.344.11.657.302.946.06.087.119.17.181.254.268.366.261.418-.083.71-.317.271-.63.546-.947.818-.223.195-.355.195-.574.003a3.175 3.175 0 0 1-.672-.79c-.076-.128-.121-.153-.243-.031-.425.431-.901.786-1.503.919-.56.125-1.128.153-1.688 0-.93-.254-1.42-.902-1.583-1.827-.007-.038.014-.084-.039-.105v-.835c.049-.02.032-.07.039-.104.1-.574.344-1.075.769-1.483.55-.525 1.238-.748 1.966-.883a17.19 17.19 0 0 1 1.687-.21c.126-.01.185-.04.174-.184-.014-.191 0-.382-.01-.574-.024-.508-.254-.828-.686-.96a1.376 1.376 0 0 0-1.06.104c-.314.16-.495.421-.582.762-.056.226-.15.317-.317.303a51.272 51.272 0 0 1-1.45-.153c-.213-.024-.297-.16-.255-.372.045-.234.115-.46.216-.676.39-.824 1.075-1.273 1.924-1.52.258-.077.533-.077.787-.174.351.007.7.007 1.047.007zm.386 5.317c0-.223-.003-.372 0-.526.004-.08-.02-.11-.107-.107a4.925 4.925 0 0 0-.933.09c-.919.202-1.364.766-1.288 1.646.032.386.167.73.554.898.393.17.758.08 1.092-.17.178-.136.307-.314.414-.509.237-.435.275-.908.268-1.322zM24.88 9.035c.223.049.45.087.668.142.453.115.874.303 1.229.62.532.48.696 1.11.706 1.788.014 1.062.021 2.123.004 3.184-.01.585.139 1.097.511 1.545.049.056.09.122.126.188.07.14.059.265-.07.373-.376.32-.745.643-1.12.967-.206.174-.342.167-.55-.01a3.517 3.517 0 0 1-.703-.835c-.063-.101-.101-.105-.188-.021-.435.438-.912.81-1.531.946-.651.14-1.302.17-1.935-.076-.793-.31-1.214-.923-1.333-1.744-.153-1.047.084-1.97.926-2.676.466-.39 1.023-.577 1.607-.7.613-.128 1.236-.19 1.859-.243.15-.014.219-.052.202-.215-.018-.185-.01-.37-.018-.557-.042-.87-.717-1.076-1.294-.989-.536.08-.895.376-1.034.92-.066.253-.15.305-.414.281-.445-.045-.887-.09-1.33-.143-.232-.027-.32-.17-.27-.407.257-1.169 1.019-1.844 2.136-2.157.275-.077.56-.119.839-.178.327-.003.654-.003.977-.003zm.404 5.296c0-.157-.003-.313 0-.47.004-.097-.017-.146-.132-.142-.296.01-.588.027-.88.083-.958.188-1.41.783-1.312 1.723.08.772.803 1.148 1.478.762.254-.147.435-.362.575-.613.23-.417.268-.877.271-1.343zM48.89 9.035c.178.059.37.073.547.142.766.3 1.159.884 1.302 1.667.07.383.1.77.1 1.159.004 1.827.004 3.654.004 5.48 0 .24-.108.349-.351.352-.488.004-.975.004-1.462 0-.233 0-.344-.118-.344-.358V12.57c0-.278-.021-.557-.094-.824-.101-.376-.31-.648-.717-.707-.418-.062-.738.105-.968.446-.24.354-.327.769-.34 1.186-.05 1.496-.011 2.993-.022 4.49 0 .114.004.232 0 .347-.007.212-.114.327-.323.33-.505.008-1.01.008-1.514 0-.216-.003-.313-.121-.313-.368v-2.906c0-1.646 0-3.292-.004-4.941 0-.327.084-.41.408-.41h1.27c.26 0 .358.097.358.354v1.086c.077-.021.077-.09.098-.136.118-.264.257-.518.438-.748a1.859 1.859 0 0 1 1.187-.692c.03-.007.073.007.087-.035.212-.007.435-.007.654-.007zM40.017 9.035c.126.062.265.055.397.087 1.086.254 1.84.932 2.269 1.928.706 1.635.748 3.302-.004 4.934-.494 1.068-1.322 1.768-2.515 1.976a3.242 3.242 0 0 1-3.428-1.652c-.49-.895-.665-1.855-.661-2.86.007-.94.17-1.845.63-2.677.536-.967 1.336-1.566 2.45-1.705.024-.003.045-.007.055-.031h.807zm-1.597 4.363c0 .314-.017.627.004.94.034.49.1.981.33 1.427.174.337.432.56.825.574.4.01.703-.164.915-.501.122-.192.198-.404.25-.627.182-.8.157-1.61.119-2.422-.024-.48-.08-.956-.247-1.416-.16-.442-.473-.671-.943-.689-.432-.017-.741.181-.95.553a1.894 1.894 0 0 0-.174.435c-.153.564-.15 1.145-.129 1.726z" fill="#343F48"/><path d="M19.626 24.346c-.188-.07-.386-.045-.578-.06a19.687 19.687 0 0 1-9.18-3.058 20.499 20.499 0 0 1-2.543-1.935.514.514 0 0 1-.094-.1c-.066-.091-.09-.189-.02-.29.069-.1.177-.114.281-.08.087.028.167.077.247.122a26.22 26.22 0 0 0 6.994 2.732c1.632.383 3.289.616 4.966.692 3.918.181 7.676-.515 11.299-2 .1-.042.202-.091.313-.095.184-.006.351.084.414.23.066.15.031.324-.129.449-.23.177-.466.345-.71.501-1.304.846-2.714 1.469-4.196 1.935a20.6 20.6 0 0 1-5.008.922c-.038.003-.083-.017-.107.035h-1.95z" fill="#FE9901"/><path d="M56.72 10.176c.192-.136.37-.282.564-.403 1.05-.662 2.175-.884 3.368-.484.989.33 1.605 1.061 1.939 2.022.49 1.423.49 2.86-.032 4.273-.435 1.18-1.245 1.994-2.516 2.23-1.127.21-2.164-.038-3.065-.772-.045-.035-.087-.07-.16-.126v3.742c0 .368-.077.441-.453.445-.268 0-.532.003-.8 0-.282-.004-.38-.098-.38-.376V9.713c0-.271.098-.365.37-.365.233 0 .462-.004.696 0 .212.003.32.094.361.3.021.09.025.184.05.274.027.084.006.174.058.254zm.105 3.296v2.174c0 .07-.007.13.066.181.633.453 1.322.738 2.109.738 1.023 0 1.712-.445 2.025-1.399a5.297 5.297 0 0 0-.01-3.379c-.303-.908-.947-1.336-1.904-1.36-.8-.021-1.514.226-2.168.668-.087.059-.122.118-.118.223.003.716 0 1.433 0 2.154zM32.397 10.917h-2.614c-.292 0-.379-.09-.379-.386V9.54c0-.25.101-.358.345-.358 1.687-.004 3.375-.004 5.063 0 .247 0 .348.1.351.348.004.289 0 .581.004.87.003.23-.126.407-.247.581-.519.748-1.044 1.49-1.566 2.234-.411.588-.825 1.176-1.26 1.796h.296c.898.007 1.76.17 2.568.58.26.133.372.328.365.613-.007.348 0 .696-.003 1.044-.004.317-.185.432-.467.3-1.764-.832-3.528-.836-5.292.006-.265.126-.45.021-.453-.275-.007-.424 0-.845.004-1.27.003-.282.1-.529.264-.758.968-1.382 1.932-2.767 2.895-4.148.039-.049.073-.105.126-.185zM69.4 16.847a4.976 4.976 0 0 1-.876.591c-.905.46-1.852.64-2.84.331-.905-.285-1.416-.926-1.552-1.862-.094-.643-.02-1.263.341-1.82.453-.696 1.128-1.044 1.921-1.186.919-.167 1.823-.042 2.721.153.223.049.223.052.223-.174-.004-.376.01-.755-.014-1.131-.06-.853-.46-1.253-1.308-1.322-1.003-.084-1.973.083-2.93.372-.33.101-.428.035-.432-.306 0-.14.004-.279 0-.418-.007-.226.098-.365.303-.452.466-.198.953-.32 1.451-.4.793-.129 1.59-.178 2.387-.042.741.125 1.392.404 1.775 1.107.209.382.306.803.306 1.235.01 1.949.007 3.897.007 5.842 0 .24-.097.338-.338.341-.226.004-.452.004-.678 0-.237-.003-.338-.087-.38-.316-.03-.17-.052-.338-.086-.543zm-.062-1.844c0-.244-.004-.488 0-.731 0-.084-.024-.118-.111-.14-.717-.149-1.438-.246-2.172-.156-.925.111-1.381.654-1.322 1.576.038.571.372.968.926 1.086.174.038.354.049.535.035.742-.052 1.403-.32 2.008-.741.094-.066.143-.133.136-.254-.007-.223 0-.45 0-.675zM76.05 16.175c.547-1.566 1.083-3.107 1.619-4.645.198-.574.396-1.149.598-1.72.146-.417.216-.462.658-.462.271 0 .546-.004.817 0 .202.003.272.087.23.289-.042.205-.136.393-.212.588a4131.2 4131.2 0 0 1-3.588 9.12 4.17 4.17 0 0 1-.706 1.208c-.407.47-.93.696-1.538.73-.39.021-.776.008-1.155-.1-.265-.073-.352-.181-.359-.456a8.131 8.131 0 0 1 0-.505c.007-.215.094-.296.31-.268.271.035.54.063.814.046.466-.032.828-.23 1.068-.64.282-.477.425-1.013.63-1.521.032-.073-.01-.136-.038-.199-1.037-2.56-2.078-5.122-3.114-7.683a2.001 2.001 0 0 1-.115-.345c-.035-.167.038-.26.205-.264.372-.007.741-.004 1.114 0 .236 0 .344.157.417.355.22.602.439 1.207.658 1.81.54 1.489 1.075 2.982 1.61 4.47.018.057.043.109.077.192z" fill="#343F48"/><path d="M31.36 19.328c-.661 0-1.32.083-1.973.153-.108.01-.237.045-.29-.083-.055-.14.05-.23.15-.303a4.104 4.104 0 0 1 1.504-.647c.94-.213 1.879-.247 2.822-.021.045.01.087.028.132.038.292.07.418.261.425.553a4.896 4.896 0 0 1-.213 1.49c-.247.866-.626 1.666-1.245 2.338a2.283 2.283 0 0 1-.373.338c-.083.059-.184.1-.275.03-.097-.072-.059-.177-.024-.27.25-.64.505-1.281.689-1.946.097-.358.191-.717.164-1.092-.018-.268-.108-.383-.362-.467-.366-.121-.749-.111-1.131-.111z" fill="#FE9901"/></g></svg> </button>
               </fieldset>
                   <img src="//upload.wikimedia.org/wikipedia/donate/5/50/Oojs-ui-lock-ltr.svg">
                   Secure transaction
           </form>
               <form method="post" action="https://www.pages04.net/wikimedia/remind/Form?sp_source={{{banner}}}" class="frb-rml-form" id="frb-rml-form" style="display: none;">
                   <legend>Send me an email reminder</legend>
                   <input type="hidden" name="formSourceName" value="StandardForm" />
                   <input type="hidden" name="sp_exp" value="yes" />
                   <input type="hidden" name="rml_source" value="{{{banner}}}" />
                   <input type="hidden" name="rml_group" value="dsk_lg" />
                   <input type="hidden" name="rml_country" value="" />
                   <input type="hidden" name="rml_language" value="" />
                   <input type="hidden" name="rml_submitDate" value="" />
                   <input type="hidden" name="rml_segment" value="" />
                   <input type="email" name="Email" id="frb-rml-email" label="Email address" placeholder="Email address" />
                   <button class="frb-btn-submit" id="frb-rml-submit" type="submit" tabindex="0">Submit</button>
               </form>


<script> var frb = frb || {};

frb.addSpace = function() {

   if ( $('.frb').is(':visible') ) {
       $('.frb').addClass('frb-country-' + Geo.country);
       //console.log($("body").width());
       /* Add space for the banner, and extra px if given below. called on load and window resize */
       // Width of 903 == 920px of CSS media query in this case (for a reason unknown)
       if($("html").width() >= 903){

frb.resetMwTop();

           var extra = 0;
           var bannerWidth = $('.frb').width();
           var pageWidth = $(window).width() - $('.frb').width(); 
           $('#mw-panel').css('right', bannerWidth +extra);
           $('#mw-head').css('width', pageWidth);
           $('#mw-head').css('right', bannerWidth);
           $('.mediawiki').css('width', pageWidth);
           $('.suggestions').css('margin-right', bannerWidth);
       } else {

frb.resetMwSide();

           var extra = 32;

var bannerHeight = $('.frb-main').height(); $('#mw-panel').css('top', bannerHeight+extra); $('#mw-head').css('top', bannerHeight+extra); $('#mw-page-base').css('margin-top', bannerHeight+extra);

       }
   } else {
       frb.resetMwTop();

frb.resetMwSide();

   }

};

frb.show = function() {

   $('body').prepend($('#centralNotice'));
   //$('.frb').addClass('fixed');
   $('.frb').addClass('visible');
   frb.addSpace();
   $(window).resize(function() {
       frb.addSpace();
   });

};

frb.resetMwTop = function() { $('#mw-panel').css('top', '0px');

   $('#mw-head').css('top', '0px');
   $('#mw-page-base').css('margin-top', '0');

}

frb.resetMwSide = function() {

   $('#mw-panel').css('right', '0px');
   $('#mw-head').css('right', '0px');
   $('#mw-head').attr('style', 'width: 100% !important');
   $('#mw-page-base').css('margin-right', '0');
   $('.mediawiki').attr('style', 'width: 100% !important');
   $('.suggestions').css('margin-right', 'auto');       

}


frb.hide = function() {

   /* Hide the banner, and remove the extra space which was added for it */
   /* Don't set a cookie: this is a large banner and only shown on first view anyway */
   $('.frb').hide();
   frb.resetMwTop();

frb.resetMwSide(); };

frb.toggleMonthly = function( monthly ) {

   if( monthly.type === 'checkbox' ){
       monthly = monthly.checked;
   }
   if ( monthly ) {
       $('#frb-form').addClass('form-monthly');
   } else {
       $('#frb-form').removeClass('form-monthly');
   }

};

// TODO: Purge currencies that are no longer needed frb.amounts = frb.amounts || {};

// Hard minimum amounts that can be given frb.amounts.minimums = {

   /* From https://github.com/wikimedia/wikimedia-fundraising-SmashPig/blob/master/PaymentData/ReferenceData/CurrencyRates.php */
   'ADF' : 6.01,
   'ADP' : 152,
   'AED' : 3.67,
   'AFA' : 68,
   'AFN' : 68,
   'ALL' : 122,
   'AMD' : 468,
   'ANG' : 1.77,
   'AOA' : 165,
   'AON' : 165,
   'ATS' : 13,
   'AUD' : 1.33,
   'AWG' : 1.79,
   'AZM' : 8510,
   'AZN' : 1.7,
   'BAM' : 1.79,
   'BBD' : 2,
   'BDT' : 81,
   'BEF' : 37,
   'BGL' : 1.79,
   'BGN' : 1.79,
   'BHD' : 0.37445,
   'BIF' : 1681,
   'BMD' : 1,
   'BND' : 1.39,
   'BOB' : 6.8,
   'BRL' : 3.17,
   'BSD' : 1,
   'BTN' : 64,
   'BWP' : 10,
   'BYR' : 20020,
   'BZD' : 1.97,
   'CAD' : 1.37,
   'CDF' : 1369,
   'CHF' : 1,
   'CNY' : 6.89,
   'CRC' : 547,
   'CUC' : 1,
   'CUP' : 25,
   'CVE' : 101,
   'CYP' : 0.54,
   'CZK' : 25,
   'DEM' : 1.79,
   'DJF' : 178,
   'DKK' : 6.81,
   'DOP' : 47,
   'DZD' : 109,
   'ECS' : 25589,
   'EEK' : 14,
   'EGP' : 18,
   'ESP' : 152,
   'ETB' : 23,
   'EUR' : 0.92,
   'FIM' : 5.45,
   'FJD' : 2.08,
   'FKP' : 0.78,
   'FRF' : 6.01,
   'GBP' : 0.78,
   'GEL' : 2.43,
   'GHC' : 41911,
   'GHS' : 4.19,
   'GIP' : 0.78,
   'GMD' : 44,
   'GNF' : 9172,
   'GRD' : 312,
   'GTQ' : 7.17,
   'GYD' : 198,
   'HKD' : 7.78,
   'HNL' : 23,
   'HRK' : 6.83,
   'HTG' : 68,
   'HUF' : 286,
   'IDR' : 13316,
   'IEP' : 0.73,
   'ILS' : 3.61,
   'INR' : 64,
   'IQD' : 1149,
   'IRR' : 32438,
   'ISK' : 106,
   'ITL' : 1774,
   'JMD' : 128,
   'JOD' : 0.71,
   'JPY' : 112,
   'KES' : 101,
   'KGS' : 68,
   'KHR' : 3972,
   'KMF' : 451,
   'KPW' : 135,
   'KRW' : 1129,
   'KWD' : 0.30384,
   'KYD' : 0.81632,
   'KZT' : 314,
   'LAK' : 8068,
   'LBP' : 1491,
   'LKR' : 151,
   'LRD' : 91,
   'LSL' : 13,
   'LTL' : 3.16,
   'LUF' : 37,
   'LVL' : 0.65,
   'LYD' : 1.39,
   'MAD' : 9.85,
   'MDL' : 19,
   'MGA' : 3160,
   'MGF' : 9149,
   'MKD' : 56,
   'MMK' : 1339,
   'MNT' : 2410,
   'MOP' : 7.84,
   'MRO' : 356,
   'MTL' : 0.40,
   'MUR' : 33,
   'MVR' : 15,
   'MWK' : 721,
   'MYR' : 4.33,
   'MZM' : 70440,
   'MZN' : 70,
   'NAD' : 13,
   'NGN' : 312,
   'NIO' : 29,
   'NLG' : 2.02,
   'NOK' : 8.59,
   'NPR' : 101,
   'NZD' : 1.44,
   'OMR' : 0.38365,
   'PAB' : 1,
   'PEN' : 3.21,
   'PGK' : 3.13,
   'PHP' : 50,
   'PKR' : 104,
   'PLN' : 3.86,
   'PTE' : 184,
   'PYG' : 5467,
   'QAR' : 3.64,
   'ROL' : 41607,
   'RON' : 4.16,
   'RSD' : 112,
   'RUB' : 57,
   'RWF' : 822,
   'SAR' : 3.75,
   'SBD' : 7.69,
   'SCR' : 13,
   'SDD' : 665,
   'SDG' : 6.65,
   'SDP' : 2272,
   'SEK' : 8.83,
   'SGD' : 1.39,
   'SHP' : 0.78,
   'SIT' : 220,
   'SKK' : 28,
   'SLL' : 7451,
   'SOS' : 545,
   'SRD' : 7.48,
   'SRG' : 7480,
   'STD' : 22420,
   'SVC' : 8.54,
   'SYP' : 215,
   'SZL' : 13,
   'THB' : 34,
   'TJS' : 8.5,
   'TMM' : 17022,
   'TMT' : 3.4,
   'TND' : 2.41,
   'TOP' : 2.31,
   'TRL' : 3540300,
   'TRY' : 3.54,
   'TTD' : 6.65,
   'TWD' : 30,
   'TZS' : 2213,
   'UAH' : 26,
   'UGX' : 3612,
   'USD' : 1,
   'UZS' : 3728,
   'VEB' : 10022,
   'VEF' : 10,
   'VND' : 22484,
   'VUV' : 107,
   'WST' : 2.59,
   'XAF' : 601,
   'XCD' : 2.69,
   'XOF' : 600,
   'XPF' : 109,
   'YER' : 250,
   'YUN' : 112,
   'ZAR' : 13,
   'ZMK' : 5328,
   'ZWD' : 376,
   /* Astropay currencies have higher minimums - 1.50 USD */
   'ARS' : 22.5,
   'CLP' : 993,
   'COP' : 4380,
   'MXN' : 28.5,
   'UYU' : 42

};

frb.amounts.options7 = {

   'USD' : [3, 5, 10, 20, 30, 50, 100],
   'EUR' : {
       'default' : [2, 5, 10, 20, 30, 50, 100]
   },
   'GBP' : [2, 5, 10, 20, 30, 50, 100],
   'CAD' : [3, 5, 10, 20, 30, 50, 100],
   'AUD' : [3, 5, 10, 20, 30, 50, 100],
   'NZD' : [3, 5, 10, 20, 30, 50, 100],
   'ANG' : [5, 10, 20, 35, 50, 100, 200],
   'ARS' : [30, 50, 100, 200, 500, 750, 1000],
   'BAM' : [3, 5, 10, 25, 40, 70, 140],
   'BBD' : [5, 10, 20, 40, 60, 100, 200],
   'BDT' : [200, 400, 800, 1500, 2000, 4000, 7500],
   'BGN' : [10, 25, 50, 75, 100, 150, 200],
   'BHD' : [1, 2, 4, 8, 10, 20, 40],
   'BMD' : [3, 5, 10, 20, 30, 50, 100],
   'BOB' : [20, 30, 60, 140, 200, 300, 600],
   'BRL' : [10, 20, 30, 50, 100, 250, 500],
   'BZD' : [5, 10, 20, 40, 60, 100, 200],
   'CLP' : [1500, 2500, 5000, 10000, 15000, 25000, 50000],
   'CNY' : [50, 75, 100, 300, 500, 1000, 1500],
   'COP' : [7000, 10000, 20000, 50000, 100000, 150000, 200000],
   'CRC' : [2500, 5000, 10000, 20000, 50000, 75000, 100000],
   'CZK' : [50, 100, 200, 400, 600, 1000, 2000],
   'DKK' : [20, 100, 150, 200, 300, 500, 1000],
   'DOP' : [200, 500, 1000, 2000, 5000, 7500, 10000],
   'DZD' : [200, 400, 750, 1500, 2000, 4000, 7500],
   'FJD' : [5, 10, 20, 40, 50, 100, 200],
   'GTQ' : [20, 40, 80, 150, 200, 350, 750],
   'HKD' : [20, 50, 100, 150, 200, 500, 1000],
   'HNL' : [50, 100, 200, 400, 600, 1000, 1800],
   'HRK' : [35, 50, 100, 250, 500, 1000, 1500],
   'HUF' : [500, 1000, 2000, 4000, 5000, 7000, 10000],
   'ISK' : [300, 500, 1000, 2000, 3000, 5000, 10000],
   'ILS' : [10, 50, 100, 200, 300, 500, 1000],
   'INR' : [100, 200, 300, 500, 1000, 2000, 3000],
   'JMD' : [300, 500, 1000, 2000, 3000, 5000, 10000],
   'JPY' : [300, 1000, 1500, 2000, 3000, 5000, 10000],
   'KRW' : [5000, 10000, 20000, 30000, 50000, 75000, 100000],
   'KWD' : [2, 5, 10,15, 25, 30, 75],
   'KZT' : [750, 1500, 3000, 7500, 12000, 15000, 35000],
   'MKD' : [100, 200, 400, 800, 1200, 2000, 4000],
   'MVR' : [40, 75, 150, 300, 450, 750, 1500],
   'MXN' : [35, 50, 100, 200, 500, 750, 1000],
   'MYR' : [10, 30, 50, 100, 200, 300, 500],
   'NIO' : [100, 250, 500, 1000, 1500, 2500, 5500],
   'NOK' : [20, 100, 150, 200, 500, 750, 1000],
   'OMR' : [1, 2, 4, 8, 10, 20, 40],
   'PAB' : [3, 5, 10, 20, 30, 50, 100],
   'PEN' : [10, 30, 50, 150, 200, 275, 700],
   'PHP' : [200, 500, 750, 1000, 2000, 3000, 5000],
   'PLN' : [10, 20, 50, 100, 200, 300, 500],
   'PYG' : [10000, 20000, 40000, 80000, 120000, 200000, 400000],
   'QAR' : [20, 50, 75, 185, 250, 350, 1000],
   'RON' : [10, 50, 75, 100, 200, 300, 500],
   'SEK' : [30, 50, 100, 200, 300, 500, 1000],
   'SGD' : [3, 5, 10, 20, 30, 50, 100],
   'THB' : [50, 100, 250, 500, 750, 1000, 2000],
   'TND' : [5, 10, 15, 30, 50, 75, 150],
   'TTD' : [20, 30, 60, 120, 200, 300, 600],
   'TWD' : [150, 300, 500, 1000, 1500, 2000, 5000],
   'UAH' : [50, 75, 150, 300, 500, 750, 1000],
   'UYU' : [70, 100, 200, 400, 1000, 1500, 2000],
   'VEF' : [20, 30, 50, 100, 200, 300, 600],
   'VND' : [60000, 100000, 200000, 400000, 600000, 1000000, 2000000],
   'XCD' : [5, 10, 20, 50, 80, 120, 250],
   'XOF' : [1000, 2000, 5000, 10000, 150000, 200000, 400000],
   'XPF' : [250, 400, 800, 1600, 2500, 4000, 8000],
   'ZAR' : [30, 50, 100, 200, 300, 500, 1000],
   'CHF' : [3, 5, 10, 20, 30, 50, 100]

};

// 5 amount options. Used e.g. on mobile // Usual formula: take 1st, 3rd, 4th, 6th and 7th from asks7 */ frb.amounts.options5 = {

   'USD' : [3, 15, 20, 50, 100],
   'CAD' : [3, 15, 20, 50, 100],
   'AUD' : [3, 15, 20, 50, 100],
   'NZD' : [3, 15, 20, 50, 100],
   'GBP' : [2, 10, 20, 50, 100],
   'EUR' : [2, 10, 20, 50, 100],
   'ARS' : [30, 100, 200, 750, 1000],
   'BRL' : [10, 30, 50, 100, 250],
   'CHF' : [3, 15, 20, 50, 100],
   'CLP' : [1500, 5000, 10000, 25000, 50000],
   'CNY' : [50, 100, 300, 500, 1000],
   'COP' : [7000, 20000, 50000, 150000, 200000],
   'DKK' : [20, 100, 200, 500, 1000],
   'HKD' : [20, 100, 150, 500, 1000],
   'HUF' : [500, 2500, 4000, 7000, 10000],
   'ILS' : [10, 50, 200, 600, 1000],
   'INR' : [100, 300, 500, 2000, 3000],
   'JPY' : [300, 1500, 2000, 5000, 10000],
   'MXN' : [35, 100, 200, 750, 1000],
   'MYR' : [10, 50, 100, 300, 500],
   'NOK' : [20, 100, 200, 500, 1000],
   'PEN' : [10, 50, 150, 300, 700],
   'PLN' : [10, 50, 100, 300, 500],
   'RON' : [10, 50, 100, 200, 1000],
   'SEK' : [30, 100, 200, 500, 1000],
   'UAH' : [50, 150, 300, 750, 1000],
   'UYU' : [70, 200, 400, 1500, 2000],
   'ZAR' : [30, 100, 200, 500, 1000]

};

/* "Average" donation */ frb.amounts.averages = {

   'USD' : 15,
   'EUR' : 10,
   'GBP' : 10,
   'CAD' : 15,
   'AUD' : 15,
   'NZD' : 15,
   'ALL' : 1500,
   'AMD' : 5000,
   'ANG' : 25,
   'ARS' : 100,
   'AZN' : 10,
   'BAM' : 20,
   'BBD' : 30,
   'BDT' : 1000,
   'BGN' : 20,
   'BHD' : 6,
   'BMD' : 15,
   'BND' : 20,
   'BOB' : 100,
   'BRL' : 25,
   'BSD' : 15,
   'BZD' : 30,
   'CHF' : 15,
   'CLP' : 8000,
   'CNY' : 100,
   'COP' : 30000,
   'CRC' : 7500,
   'CZK' : 250,
   'DKK' : 100,
   'DOP' : 600,
   'DZD' : 1000,
   'EGP' : 100,
   'ETB' : 250,
   'FJD' : 25,
   'GEL' : 25,
   'GNF' : 100000,
   'GTQ' : 100,
   'HKD' : 100,
   'HNL' : 250,
   'HRK' : 80,
   'HUF' : 2500,
   'ILS' : 50,
   'INR' : 750,
   'ISK' : 1500,
   'JMD' : 1500,
   'JOD' : 10,
   'JPY' : 1500,
   'KES' : 1000,
   'KRW' : 15000,
   'KWD' : 5,
   'KZT' : 2000,
   'LKR' : 2000,
   'MAD' : 120,
   'MKD' : 600,
   'MOP' : 100,
   'MUR' : 500,
   'MVR' : 200,
   'MXN' : 150,
   'MYR' : 50,
   'MZN' : 50,
   'NGN' : 2500,
   'NIO' : 350,
   'NOK' : 100,
   'OMR' : 5,
   'PAB' : 15,
   'PEN' : 40,
   'PHP' : 600,
   'PKR' : 1500,
   'PLN' : 50,
   'PYG' : 60000,
   'QAR' : 50,
   'RON' : 50,
   'RSD' : 1200,
   'SBD' : 100,
   'SEK' : 100,
   'SGD' : 20,
   'THB' : 500,
   'TND' : 25,
   'TTD' : 100,
   'TWD' : 500,
   'UAH' : 150,
   'UYU' : 300,
   'VEF' : 100,
   'VND' : 300000,
   'XCD' : 40,
   'XOF' : 7000,
   'XPF' : 1000,
   'ZAR' : 150,

};

// 'If everyone gave X'. Mostly the same as first asks option. frb.amounts.ifEveryone = {

   'USD' : 3,
   'EUR' : {
       'default' : 2
   },
   'GBP' : 2,
   'CAD' : 3,
   'AUD' : 3,
   'NZD' : 3,
   'ANG' : 5,
   'ARS' : 30,
   'BAM' : 3,
   'BBD' : 5,
   'BDT' : 200,
   'BGN' : 10,
   'BHD' : 1,
   'BMD' : 3,
   'BOB' : 20,
   'BRL' : 10,
   'BZD' : 5,
   'CHF' : 3,
   'CLP' : 1500,
   'CNY' : 50,
   'COP' : 7000,
   'CRC' : 2500,
   'CZK' : 50,
   'DKK' : 20,
   'DOP' : 200,
   'DZD' : 200,
   'FJD' : 5,
   'GTQ' : 20,
   'HKD' : 20,
   'HNL' : 50,
   'HRK' : 35,
   'HUF' : 500,
   'ILS' : 10,
   'INR' : 100,
   'ISK' : 300,
   'JMD' : 300,
   'JPY' : 300,
   'KRW' : 5000,
   'KWD' : 2,
   'KZT' : 750,
   'MKD' : 100,
   'MVR' : 40,
   'MXN' : 35,
   'MYR' : 10,
   'NIO' : 100,
   'NOK' : 20,
   'OMR' : 1,
   'PAB' : 3,
   'PEN' : 10,
   'PHP' : 200,
   'PLN' : 10,
   'PYG' : 10000,
   'QAR' : 20,
   'RON' : 10,
   'SEK' : 30,
   'SGD' : 3,
   'THB' : 50,
   'TND' : 5,
   'TTD' : 20,
   'TWD' : 150,
   'UAH' : 50,
   'UYU' : 70,
   'VEF' : 20,
   'VND' : 60000,
   'XCD' : 5,
   'XOF' : 1000,
   'XPF' : 250,
   'ZAR' : 30

};

// TODO: purge unneeded currencies frb.currencyFormats = {

   'USD' : '$\t',
   'EUR' : {
       'en' : '€\t',
       'cy' : '€\t',
       'ga' : '€\t',
       'mt' : '€\t',
       'nl' : '€ \t',
       'lv' : '€ \t',
       'tr' : '€ \t',
       'default' : '\t €'
   },
   'ANG' : 'ƒ\t',
   'ARS' : '$\t',
   'AUD' : '$\t',
   'BAM' : '\t KM',
   'BBD' : 'Bcs$\t',
   'BDT' : '৳\t',
   'BGN' : 'лв\t',
   'BHD' : 'د.ب\t',
   'BMD' : 'BD$\t',
   'BOB' : '$b\t',
   'BRL' : 'R$\t',
   'BZD' : 'BZ$\t',
   'CAD' : {
       'fr' : '$\t',
       'default' : '$\t'
   },
   'CHF' : 'Fr. \t',
   'CLP' : '$\t',
   'CNY' : '\t ¥',
   'COP' : '$\t',
   'CRC' : '\t ₡',
   'CZK' : '\t Kč',
   'DKK' : '\t kr.',
   'DOP' : 'RD$\t',
   'DZD' : 'د.ج\t',
   'EGP' : {
       'en' : 'E£\t',
       'default' : '\t جنيه'
   },
   'FJD' : 'FJ$\t',
   'GBP' : '£\t',
   'GTQ' : 'Q\t',
   'HKD' : 'HK$\t',
   'HNL' : 'L\t',
   'HRK' : '\t kn',
   'HUF' : '\t Ft',
   'ILS' : {
       'he' : '\t ₪',
       'yi' : '\t ₪',
       'ar' : '\t ₪',
       'default' : '₪ \t'
   },
   'INR' : '₹ \t',
   'ISK' : '\t kr',
   'JMD' : 'J$ \t',
   'JOD' : 'دينار\t',
   'JPY' : '¥\t',
   'KES' : '\t KSh',
   'KRW' : '₩\t',
   'KWD' : 'د.ك \t',
   'KZT' : '〒 \t', // TODO: don't use the JP postal code symbol once KZT works in unicode
   'LKR' : '\t Rs.',
   'MAD' : 'د.م.\t',
   'MKD' : '\t ден',
   'MOP' : 'MOP$\t',
   'MUR' : '\t Rs',
   'MXN' : '$\t',
   'MVR' : 'Rf. \t',
   'MYR' : 'RM\t',
   'NIO' : 'C$\t',
   'NOK' : '\t kr',
   'NZD' : '$\t',
   'OMR' : 'ر.ع\t',
   'PAB' : '\t B/.',
   'PEN' : 'S/. \t',
   'PHP' : '₱\t',
   'PKR' : 'Rs \t',
   'PLN' : '\t zł',
   'PYG' : '\t ₲',
   'QAR' : 'ر.ق\t',
   'RON' : '\t lei',
   'SCR' : 'SR \t',
   'SEK' : '\t kr',
   'SGD' : 'S$ \t',
   'SVC' : '\t ₡',
   'THB' : {
       'th' : '\t บาท',
       'default' : '\t ฿'
   },
   'TND' : '\t د.ت',
   'TTD' : 'TT$\t',
   'TWD' : 'NT$\t',
   'TZS' : '\t/=',
   'UAH' : '₴\t',
   'UYU' : '$U \t',
   'UZS' : '\t сўм',
   'VEF' : 'Bs.F. \t',
   'VND' : '\t₫',
   'VUV' : 'VT\t',
   'XAF' : 'FCFA\t',
   'XCD' : 'EC$\t',
   'XOF' : 'CFA \t',
   'XPF' : '\t F',
   'ZAR' : 'R \t'

};

// Check in user language first, then fall back to English frb.countryNames = {

   'en' : {
       'US' : 'the U.S.',
       'CA' : 'Canada',
       'GB' : 'the UK',
       'IE' : 'Ireland',
       'AU' : 'Australia',
       'NZ' : 'New Zealand',
       'AR' : 'Argentina',
       'AT' : 'Austria',
       'BE' : 'Belgium',
       'BR' : 'Brazil',
       'CL' : 'Chile',
       'CO' : 'Colombia',
       'DK' : 'Denmark',
       'ES' : 'Spain',
       'FR' : 'France',
       'HK' : 'Hong Kong',
       'HU' : 'Hungary',
       'IL' : 'Israel',
       'IN' : 'India',
       'IT' : 'Italy',
       'JP' : 'Japan',
       'LU' : 'Luxembourg',
       'LV' : 'Latvia',
       'MX' : 'Mexico',
       'MY' : 'Malaysia',
       'NL' : 'the Netherlands',
       'NO' : 'Norway',
       'PE' : 'Peru',
       'PL' : 'Poland',
       'PT' : 'Portugal',
       'RO' : 'Romania',
       'SE' : 'Sweden',
       'SK' : 'Slovakia',
       'UA' : 'Ukraine',
       'UY' : 'Uruguay',
       'ZA' : 'South Africa'
   },
   'es' : {
       'MX' : 'México',
       'PE' : 'Perú'
   }

};

// Just in English for now, but we may want to add other languages later frb.dayNames = {

   'en' : [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ]

};

frb.iPadTranslations = {

   'en' : 'iPad'

}; /* MediaWiki:FundraisingBanners/CoreJS-2017.js

* Core code for banner forms
*/

var frb = frb || {};

/**

* Main function to submit to paymentswiki
*
* @param  {Object} options
* - method (required)
* - submethod (optional)
* - gateway (optional)
* - ffname (optional)
* - skipValidation (optional boolean, for pp-usd. Not yet implemented.)
*/

frb.submitForm = function(options) {

   var form = document.getElementById('frb-form');
   var uri = new mw.Uri('https://payments.wikimedia.org/index.php/Special:GatewayFormChooser');
   var params = {};
   /* Form selection data */
   params.payment_method = options.method;
   if ( options.submethod ) {
       params.payment_submethod = options.submethod;
   }
   if ( options.gateway ) {
       params.gateway = options.gateway;
   }
   if ( options.ffname ) {
       params.ffname = options.ffname;
   }
   if ( options.variant ) {
       params.variant = options.variant;
   }
   params.recurring = frb.getRecurring(form);
   params.currency_code = frb.getCurrency(mw.centralNotice.data.country) || 'USD';
   params.uselang = mw.centralNotice.data.uselang || 'en';
   params.country = mw.centralNotice.data.country || 'XX';
   /* Express Checkout overrides for Japan and Big English. Remove once it's default. */
   if ( params.payment_method === 'paypal' &&
        $.inArray(params.country, ['JP']) !== -1
   ) {
       params.gateway = 'paypal_ec';
   }
   if (params.uselang === 'pt' && params.country === 'BR') {
       params.uselang = 'pt-br';
   }
   /* Amount */
   var amount = frb.getAmount(form);
   // See if "Pay the fee" is checked
   if ( $('#frb-ptf-checkbox').prop('checked') ) {
       amount = amount + frb.calculateFee(amount);
   }
   if ( !frb.validateAmount(amount) ) {
       return false; // Amount problem, bail out of submitting
   }
   params.amount = amount;
   /* Tracking info */
   params.utm_medium   = 'sitenotice';
   params.utm_campaign = mw.centralNotice.data.campaign || 'test';
   params.utm_source   = frb.buildUtmSource(params);
   params.utm_key      = mw.centralNotice.bannerData.cookieCount || 0;
   /* Link to Banner History if enabled */
   var mixins = mw.centralNotice.getDataProperty( 'mixins' );
   if ( mixins && mixins.bannerHistoryLogger ) {
       params.bannerhistlog = mw.centralNotice.bannerHistoryLogger.id;
   }
   uri.extend(params);
   if ( mixins && mixins.bannerHistoryLogger ) {
       mw.centralNotice.bannerHistoryLogger.ensureLogSent().always(function() {
           window.location.href = uri.toString();
       });
   } else {
       window.location.href = uri.toString();
   }

};

/**

* Build the utm_source for analytics.
*
* Own function so it can be overriden for weird tests
*
* @param  {Object} params
* @return {string} utm_source
*/

frb.buildUtmSource = function(params) {

   var utm_source;
   var fullDottedPaymentMethod = params.payment_method;
   if ( params.recurring ) {
       fullDottedPaymentMethod = 'r' + fullDottedPaymentMethod;
   }
   if ( params.payment_submethod ) {
       fullDottedPaymentMethod = fullDottedPaymentMethod + '.' + params.payment_submethod;
   }
   utm_source = mw.centralNotice.data.banner;
   // For popups test - only on Big English desktop. Remove this once testing completed.
   if ( utm_source.indexOf( 'en6C_dsk' ) !== -1 ) {
       if ( mw.popups ) {
           utm_source += '_' + ( mw.popups.isEnabled() ? 'popupsEnabled' : 'popupsDisabled' );
       } else {
           utm_source += '_' + 'popupsUnknown';
       }
   }
   utm_source += '.no-LP.' + fullDottedPaymentMethod;
   return utm_source;

};

/* Is recurring method selected?

*
* Own function so can be overriden for different forms
*/

frb.getRecurring = function(form) {

   return form.frequency.value === 'monthly';

};

/**

* Return amount selected
*/

frb.getAmount = function(form) {

   var amount = null;
   // If there are some amount radio buttons, then look for the checked one
   if (form.amount) {
       for (var i = 0; i < form.amount.length; i++) {
           if (form.amount[i].checked) {
               amount = form.amount[i].value;
           }
       }
   }
   // Check the "other" amount box
   if (form.otherAmount.value !== ) {
       var otherAmount = form.otherAmount.value;
       otherAmount = otherAmount.replace(/[,.](\d)$/, ':$10');
       otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, ':$1$2');
       otherAmount = otherAmount.replace(/[$£€¥,.]/g, );
       otherAmount = otherAmount.replace(/:/, '.');
       amount = otherAmount;
   }
   amount = parseFloat(amount);
   if ( isNaN(amount) ) {
       return 0;
   } else {
       return amount;
   }

};

/**

* Check if given amount is valid i.e. a positive number and at least minimum.
* If not, show an error and return false.
*
* @param  {number}  amount [description]
* @return {boolean}        [description]
*/

frb.validateAmount = function(amount) {

   var currency  = frb.getCurrency(mw.centralNotice.data.country);
   var minAmount = Math.ceil( frb.amounts.minimums[currency] ); // NOTE: Round up actual min to nearest whole number
   if ( amount === null || isNaN(amount) || amount <= 0 || amount < minAmount ) {
       alert('Please select an amount (minimum $1)'.replace('$1', minAmount + ' ' + currency));
       return false;
   } else {
       return true;
   }

};

/**

* Shared code for amount input handling
*/

frb.initAmountOptions = function() {

   // Reset "Other" input if user clicks a preset amount
   $('#frb-form [id^=frb-amt-ps]').click(function() {
       $('#frb-amt-other-input').val();
   });
   // Block typing non-numerics in input field, otherwise Safari allows them and then chokes
   // https://phabricator.wikimedia.org/T118741, https://phabricator.wikimedia.org/T173431
   document.getElementById('frb-amt-other-input').onkeypress = function(e) {
       // Allow special keys in Firefox
       if ((e.code == 'ArrowLeft') || (e.code == 'ArrowRight') ||
           (e.code == 'ArrowUp') || (e.code == 'ArrowDown') ||
           (e.code == 'Delete') || (e.code == 'Backspace')) {
           return;
       }
       var chr = String.fromCharCode(e.which);
       if ("0123456789., ".indexOf(chr) === -1) {
           return false;
       }
   };

};

( function () {

   // For popups test - only on Big English desktop. Remove this once testing completed.
   if ( mw.centralNotice.data.banner.indexOf('en6C_dsk') !== -1 ) {
       var deferred = $.Deferred();
       mw.loader.using( 'ext.popups' ).done( function () {
           mw.requestIdleCallback( function () {
               deferred.resolve();
           } );
       } );
       mw.centralNotice.requestRecordImpressionDelay( deferred.promise() ).done( function () {
           if ( mw.popups ) {
               mw.centralNotice.registerTest( ( mw.popups.isEnabled() ? 'popupsEnabled' : 'popupsDisabled' ) );
           } else {
               mw.centralNotice.registerTest( 'popupsUnknown' );
           }
       } );
   }

})(); /* End of MediaWiki:FundraisingBanners/CoreJS-2017.js */ /* == MediaWiki:FundraisingBanners/LocalizeJS-2017.js == */

/**

* Get the currency for a given country
*
* NOTE: The following currency mapping is WMF-specific based on payment
* provider availability, NOT necessarily the official currency of the country
* 
* @param  {string} country code
* @return {string} currency code
*/

frb.getCurrency = function(country) {

   switch(country) {
       // Big 5 at the top for speed
       case 'US': return 'USD';
       case 'CA': return 'CAD';
       case 'GB': return 'GBP';
       case 'AU': return 'AUD';
       case 'NZ': return 'NZD';
       // Euro countries
       case 'AD':
       case 'AL':
       case 'AM':
       case 'AT':
       case 'AW':
       case 'AZ':
       case 'BE':
       case 'BY':
       case 'CI':
       case 'CY':
       case 'DE':
       case 'EE':
       case 'ES':
       case 'FI':
       case 'FR':
       case 'GF':
       case 'GR':
       case 'IE':
       case 'IT':
       case 'LT':
       case 'LU':
       case 'LV':
       case 'LY':
       case 'MC':
       case 'ME':
       case 'MG':
       case 'MT':
       case 'NL':
       case 'PT':
       case 'RE':
       case 'RS':
       case 'SI':
       case 'SK':
       case 'SM':
       case 'SR':
       case 'VA':
           return 'EUR';
       // The rest
       case 'AE': return 'AED';
       case 'AR': return 'ARS';
       case 'BA': return 'BAM';
       case 'BB': return 'BBD';
       case 'BD': return 'BDT';
       case 'BG': return 'BGN';
       case 'BH': return 'BHD';
       case 'BM': return 'BMD';
       case 'BO': return 'BOB';
       case 'BR': return 'BRL';
       case 'BZ': return 'BZD';
       case 'CH': return 'CHF';
       case 'CK': return 'NZD';
       case 'CL': return 'CLP';
       case 'CN': return 'CNY';
       case 'CO': return 'COP';
       case 'CR': return 'CRC';
       case 'CZ': return 'CZK';
       case 'DK': return 'DKK';
       case 'DO': return 'DOP';
       case 'DZ': return 'DZD';
       case 'EG': return 'EGP';
       case 'FJ': return 'FJD';
       case 'FO': return 'DKK';
       case 'GL': return 'DKK';
       case 'GT': return 'GTQ';
       case 'HK': return 'HKD';
       case 'HN': return 'HNL';
       case 'HR': return 'HRK';
       case 'HU': return 'HUF';
       case 'ID': return 'IDR';
       case 'IL': return 'ILS';
       case 'IN': return 'INR';
       case 'IS': return 'ISK';
       case 'JM': return 'JMD';
       case 'JO': return 'JOD';
       case 'JP': return 'JPY';
       case 'KE': return 'KES';
       case 'KI': return 'AUD';
       case 'KR': return 'KRW';
       case 'KZ': return 'KZT';
       case 'LB': return 'LBP';
       case 'LI': return 'CHF';
       case 'LK': return 'LKR';
       case 'MA': return 'MAD';
       case 'MK': return 'MKD';
       case 'MV': return 'MVR';
       case 'MW': return 'GBP';
       case 'MX': return 'MXN';
       case 'MY': return 'MYR';
       case 'NI': return 'NIO';
       case 'NO': return 'NOK';
       case 'NP': return 'INR';
       case 'NR': return 'AUD';
       case 'OM': return 'OMR';
       case 'PA': return 'PAB';
       case 'PE': return 'PEN';
       case 'PG': return 'AUD';
       case 'PH': return 'PHP';
       case 'PK': return 'PKR';
       case 'PL': return 'PLN';
       case 'PY': return 'PYG';
       case 'QA': return 'QAR';
       case 'RO': return 'RON';
       case 'RU': return 'RUB';
       case 'SA': return 'SAR';
       case 'SD': return 'GBP';
       case 'SE': return 'SEK';
       case 'SG': return 'SGD';
       case 'TH': return 'THB';
       case 'TM': return 'RUB';
       case 'TN': return 'TND';
       case 'TR': return 'TRY';
       case 'TT': return 'TTD';
       case 'TW': return 'TWD';
       case 'UA': return 'UAH';
       case 'UY': return 'UYU';
       case 'UZ': return 'RUB';
       case 'VE': return 'VEF';
       case 'VN': return 'VND';
       case 'VU': return 'AUD';
       case 'ZA': return 'ZAR';
       // small multi-country currencies
       case 'CW':
       case 'SX':
           return 'ANG';
       case 'AG':
       case 'DM':
       case 'GD':
       case 'KN':
       case 'LC':
           return 'XCD';
       case 'BJ':
       case 'BF':
       case 'CI':
       case 'GW':
       case 'ML':
       case 'NE':
       case 'SN':
       case 'TG':
           return 'XOF';
       case 'PF':
       case 'NC':
       case 'WF':
           return 'XPF';
       // fall back to USD
       default:
           return 'USD';
   }

};

/**

* Format a currency value
* 
* @param  {string} currency code. Leave undefined to get without symbol.
* @param  {number} amount
* @param  {string} language code
* @return {string} formatted string e.g. '$3', '£5', '10 €'
*/

frb.formatCurrency = function(currency, amount, language) {

   var locale, formatterOptions, formatter, fmAmount;
   if (isNaN(amount) || amount === ) {
       // Not a number, it's probably the 'other' string or box
       // TODO: better way of doing this?
       fmAmount = amount;
   } else {
       if (window.Intl && typeof window.Intl === 'object') {
           // Use this for fancy number formatting - thousands separators etc
           locale = language + '-' + Geo.country;
           if ( amount % 1 !== 0 ) { // Not a whole number
               formatterOptions = { minimumFractionDigits: 2 }
           } else {
               formatterOptions = {};
           }
           formatter = new Intl.NumberFormat(locale, formatterOptions);
       } else {
           // Bad browser. Just do the basics: 2 decimal places if needed, or none
           formatter = {};
           formatter.format = function(number) {
               if ( amount % 1 !== 0 ) { // Not a whole number
                   return number.toFixed(2);
               } else {
                   return number.toString();
               }
           };
       }
       fmAmount = formatter.format(amount);
   }
   // No symbol needed
   if ( currency === undefined ) {
       return fmAmount;
   }
   // Better dive into the formatting object
   if ( frb.currencyFormats[currency] === undefined ) {
       return currency + ' ' + fmAmount;
   }
   if ( frb.currencyFormats[currency] instanceof Object ) { // not a string
       if ( frb.currencyFormats[currency][language] !== undefined ) {
           return frb.currencyFormats[currency][language].replace('\t', fmAmount);
       }
       return frb.currencyFormats[currency]['default'].replace('\t', fmAmount);
   }
   return frb.currencyFormats[currency].replace('\t', fmAmount);

};


/*

* Select the correct amount or array of amounts from object in "source"
*
* @param {Object} source   - the amounts data object e.g. frb.amounts.options7, frb.amounts.averages
* @param {string} currency - ISO code of currency
* @param {string} country  - ISO code of country (optional)
* @return {array/number}   - depending on source
*/

frb.pickAmounts = function(source, currency, country) {

   if ( source[currency]['default'] ) { // we need to go deeper
       if ( source[currency][country] !== undefined ) {
           return source[currency][country];
       } else {
           return source[currency]['default'];
       }
   } else {
       return source[currency];
   }

};


/**

* Display the correct payment methods for current country
*
* Methods should be labeled with class 'frb-pm-xxxx'
* TODO: clean this function up more
*
* @param  {string} country
*/

frb.localizeMethods = function(country) {

   // Countries with no credit card option (currently none)
   var noCC = [];
   if ($.inArray(country, noCC) !== -1) {
       $('.frb-pm-cc').remove();
   }
   // Can't do monthly credit card in Brazil
   if (country === 'BR') {
       $('.frb-pm-cc').addClass('no-monthly');
   }
   // Remove any leftover WorldPay
   $('.frb-pm-cc-wp').remove();
   // Countries using Adyen for credit card
   if (country === 'FR' || country === 'IL' || country === 'UA') {
       $('.frb-pm-cc').remove();
       $('.frb-pm-cc-adyen').show();
   } else {
       $('.frb-pm-cc-adyen').remove();
   }
   // Countries with no PayPal option
   var noPP = ['IN', 'RU', 'SG', 'AE', 'QA', 'OM', 'BD', 'BO', 'PA',
               'PY', 'GT', 'JM', 'TT', 'DZ', 'PE'];
   if ($.inArray(country, noPP) !== -1) {
       $('.frb-pm-pp').remove();
       $('.frb-pm-pp-usd').remove();
   }
   // Countries with no PayPal for mobile only
   var noPPmobile = ['PH', 'ID', 'TH', 'KR', 'MY', 'VN'];
   var mobileRegex = /(_mob_|_ipd_)/
   if ($.inArray(country, noPPmobile) !== -1) {
       if (mw.centralNotice.data.banner.search(mobileRegex) !== -1) {
           $('.frb-pm-pp').remove();
           $('.frb-pm-pp-usd').remove();
       }
   }
   // Countries where PayPal must be in USD
   var ppUSD = ['BG', 'HR', 'LT', 'MK', 'RO', 'UA', 'SA', 'CN', 'ID', 'KR',
                'KZ', 'MY', 'VN', 'AR', 'CL', 'DO', 'CO', 'NI', 'UY', 'ZA',
                'BH', 'LB', 'VE', 'TR', 'IS', 'BA', 'MV', 'BB', 'BM', 'BZ',
                'CR', 'CW', 'SX', 'HN', 'KN', 'DM', 'AG', 'LC', 'GD', 'FJ',
                'TN', 'BJ', 'BF', 'CI', 'GW', 'ML', 'NE', 'SN', 'TG', 'BR'];
   if ($.inArray(country, ppUSD) !== -1) {
       $('.frb-pm-pp').remove();
       $('.frb-pm-pp-usd').show();
   } else {
       $('.frb-pm-pp').show();
       $('.frb-pm-pp-usd').remove();
   }
   // Show any extra local payment methods, or remove them if not needed
   var extrapaymentmethods = {
       'amazon'   : ['US'],
       'bpay'     : [],
       'ideal'    : ['NL'],
       'bt'       : ['AR', 'BR', 'CL', 'CO'],      // Bank Transfer (Astropay)
       'cash'     : ['AR', 'BR', 'CO', 'MX', 'UY'] // 'Cash' methods (Astropay)
   };
   // Methods with different labels per country
   if (country === 'AR') {
       $('.frb-pm-bt button, button.frb-pm-bt').html('Santander');
   }
   if (country === 'CO') {
       $('.frb-pm-bt button, button.frb-pm-bt').html('PSE Pagos');
   }
   if (country === 'UY') {
       $('.frb-pm-cash button, button.frb-pm-cash').html('RedPagos');
   }
   if (country === 'CL' && mw.config.get('wgUserLanguage') == 'es') {
       $('.frb-pm-bt button, button.frb-pm-bt').html('Trans. bancaria');
   }
   for (var method in extrapaymentmethods) {
       var $methodbutton = $('.frb-pm-' + method);
       if ( $.inArray(country, extrapaymentmethods[method]) !== -1 ) { // country is in the list
           $methodbutton.show();
       } else {
           $methodbutton.remove();
       }
   }

};

/**

* Check scheduled payment method outages and hide buttons if needed
*
* Data at https://meta.wikimedia.org/wiki/MediaWiki:FR2013/Resources/PaymentOutages.js
* Methods should be labeled with class 'frb-pm-xxxx'
*
* @param  {string} country code
*/

frb.checkMethodOutages = function(country) {

   // TODO - can we load this a better way?
   /* This file can be used to schedule hiding of individual payment methods from
* banners and donatewiki e.g. if they have scheduled downtime.
* Valid methods are:
* ideal, yandex, cc, dd, sofort, pp, amazon, bpay, webmoney, boletos, enets, pp-usd
* (most of the time it's 'ideal'...)
* Can also limit outage to a specific country with country: "XX" (where XX is an ISO code)
*
* Note that in JavaScript dates the months (and only the months) start at 0.
* Jan=0, Feb=1, Mar=2, Apr=3 etc. How hateful
*/

var outages = [

   {
       start:      new Date(Date.UTC(2016, 8, 18, 1)),
       end:        new Date(Date.UTC(2016, 8, 18, 7)),
       method:     "ideal"
   }

];

   var now = new Date();
   for (var i = outages.length - 1; i >= 0; i--) {
       if ( now > outages[i].start && now < outages[i].end ) {
           if (outages[i].country === undefined || outages[i].country == country) {
               $('.frb-pm-' + outages[i].method).hide();
           }
       }
   }

};

/**

* Adjust the amount options and their labels
*
* Inputs should have id frb-amt-psX where X is the index number (starting from 1)
*
* @param  {Object}  source     - object with amounts e.g. frb.amounts.options7
* @param  {string}  currency   - currency code e.g. 'USD'
* @param  {string}  country    - country code  e.g. 'FR' Some currencies can have different options per country.
* @param  {string}  language   - language code e.g. 'en' For symbol formatting
* @param  {boolean} useSymbols - use currency symbols on labels or not? (3 vs $3)
*/

frb.localizeAmountOptions = function(source, currency, country, language, useSymbols) {

   var amountOptions = frb.pickAmounts(source, currency, country);
   $('#frb-form input[name="amount"]').each(function(index) {
       var $input = $(this);
       var $label = $input.siblings('label');
       var i = $input.attr('id').replace('frb-amt-ps', );
       var amount = amountOptions[i-1]; // because IDs start from 1
       if ( amount ) {
           $input.val( amount );
           if ( useSymbols ) {
               $label.html( frb.formatCurrency( currency, amount, language) );
           } else {
               $label.html( frb.formatCurrency( undefined, amount, language) );
           }
       }
   });

};

frb.noRecurringCountries = ['AR', 'CL', 'CO', 'MX', 'PE', 'UY', 'BR'];

/* These countries use potentially ambiguous $ sign. Use ISO code instead in text (but still $ for buttons) */ frb.textAmountIsoCountries = ['AR', 'CL', 'CO', 'MX'];

$(function() {

   var language = mw.centralNotice.data.uselang;
   var country  = mw.centralNotice.data.country;
   var currency = frb.getCurrency(country);
   // Payment methods
   frb.localizeMethods(country);
   frb.checkMethodOutages(country);
   // Hide recurring for some countries
   if ( frb.noRecurringCountries.indexOf(country) !== -1 ) { // country is in the list
       $('.frb-frequency, .recurring-details').hide();
   }
   // Basic replacements
   $('.frb-replace-currencysymbol').html( frb.formatCurrency( currency, , language ).replace(' ', ) );
   $('.frb-replace-currencycode').html( currency );
   // Country name
   var countryName;
   if ( frb.countryNames[language] ) {
       countryName = frb.countryNames[language][country] || frb.countryNames.en[country];
   } else {
       countryName = frb.countryNames.en[country];
   }
   $('.frb-replace-countryname').html( countryName );
   // Day of week
   var dayName;
   var now = new Date();
   var dayNumber = now.getDay();
   if ( frb.dayNames[language] ) {
       dayName = frb.dayNames[language][dayNumber] || frb.dayNames.en[dayNumber];
   } else {
       dayName = frb.dayNames.en[dayNumber];
   }
   $('.frb-replace-dayofweek').html( dayName );
   // Replace device with iPad if needed
   var ua = navigator.userAgent;
   if ( ua.match( /ipad/i ) ) {
       $('.frb-replace-device').html( frb.iPadTranslations[language] || frb.iPadTranslations.en );
   }
   // Replace %AVERAGE% with formatted "average" amount
   var average = frb.pickAmounts(frb.amounts.averages, currency, country);
   if ( frb.textAmountIsoCountries.indexOf(country) !== -1 ) {
       var avgString = average + ' ' + currency;
   } else {
       var avgString = frb.formatCurrency(currency, average, language).replace(/\.$/, ); // strip any period from end for use in running text
   }
   $('.frb').each(function(index){
       var newHtml = $(this).html().replace(/%AVERAGE%/g, '' + avgString + '');
       $(this).html(newHtml);
   });
   // Replace %MINIMUM% with formatted "if everyone" amount
   var ifEveryone = frb.pickAmounts(frb.amounts.ifEveryone, currency, country);
   if ( frb.textAmountIsoCountries.indexOf(country) !== -1 ) {
       var ifString = ifEveryone + ' ' + currency;
   } else {
       var ifString = frb.formatCurrency(currency, ifEveryone, language).replace(/\.$/, ); // strip any period from end for use in running text
   }
   $('.frb').each(function(index){
       var newHtml = $(this).html().replace(/%MINIMUM%/g, '' + ifString + '');
       $(this).html(newHtml);
   });
   /* Links (in smallprint) */
   $('.frb-localize-links a').each(function() {
       // Add parameters for LandingCheck
       var uri = new mw.Uri( $(this).attr('href') );
       uri.extend({
           country:      country,
           language:     language,
           uselang:      language,
           utm_medium:   'sitenotice',
           utm_campaign: mw.centralNotice.data.campaign || 'test',
           utm_source:   mw.centralNotice.data.banner
       });
       $(this).attr('href', uri.toString());
       $(this).attr('target', '_blank'); // Make links open in new tab
   });
   // Legal text variants
   if (country === 'US') {
       $('.frb-legal-US').show();
       $('.frb-legal-nonUS, .frb-legal-NL').hide();
   } else if (country === 'NL') {
       $('.frb-legal-NL').show();
       $('.frb-legal-US, .frb-legal-nonUS').hide();
   } else {
       $('.frb-legal-nonUS').show();
       $('.frb-legal-US, .frb-legal-NL').hide();
   }

});

/* == end of MediaWiki:FundraisingBanners/LocalizeJS-2017.js == */ frb.rml = {

   post: function() {
       /* Create the iframe for the form and use it as the form's target */
       var frameName = 'remindFrame';
       var $form = $('#frb-rml-form');
       if ( $("iframe[name=" + frameName + "]").length === 0 ) {
           var $iframe = $('<iframe style="display: none;" name="' + frameName + '"></iframe>');
           $form.attr("target", $iframe.attr("name"));
           $form.after($iframe);
       }
       $form[0].submit();
   },
   getCurrentDate: function() {
       /* Get current date in correct format for Silverpop */
       var today = new Date();
       var dd = today.getDate();
       var mm = today.getMonth()+1; // January is 0!
       var yyyy = today.getFullYear();
       if( dd < 10 ) {
           dd = '0' + dd;
       }
       if( mm < 10 ) {
           mm = '0' + mm;
       }
       return mm+'/'+dd+'/'+yyyy;
   },
   init: function() {
       /* Prep the reminder form */
       var form = document.getElementById('frb-rml-form');
       form.rml_country.value    = mw.centralNotice.data.country;
       form.rml_language.value   = mw.centralNotice.data.uselang;
       form.rml_submitDate.value = frb.rml.getCurrentDate();
       form.rml_segment.value    = Math.floor((Math.random() * 100) + 1);
       $('.frb-rml-link').click(function() {
           $('.frb-rml-form').toggle();
           $('#frb-rml-email').focus();
       });
       $('#frb-rml-submit').click(function() {
           if ( mw.util.validateEmail( form.Email.value ) ) {
               frb.rml.post();
               $('.frb-rml-form, .frb-rml-link').hide();
               $('.frb-rml-ty').show();
               mw.centralNotice.internal.hide.setHideWithCloseButtonCookies(); // Hide future banners for 7 days
               return false;
           } else {
               $('#frb-rml-email').addClass('error').focus();
               $('.frb-rml-error').show();
               return false;
           }
       });
   }

};

$(function() {

   mw.loader.using(['mediawiki.util']).then(function() {
       frb.rml.init();
   });

});

/** Provides alterImpressionData hook for CentralNotice

*  This info will be sent back with Special:RecordImpression
*/

mediaWiki.centralNotice.bannerData.alterImpressionData = function( impressionData ) {

   // Returning true from this function indicates the banner was shown
   if (mediaWiki.centralNotice.bannerData.hideReason) {
       impressionData.reason = mediaWiki.centralNotice.bannerData.hideReason;
   }
   if (mediaWiki.centralNotice.bannerData.cookieCount) {
       impressionData.banner_count = mediaWiki.centralNotice.bannerData.cookieCount;
   }
   
   return !mediaWiki.centralNotice.bannerData.hideResult;

};

$(function() {

   var language = mw.centralNotice.data.uselang;
   var country  = mw.centralNotice.data.country;
   var currency = frb.getCurrency(country);
   frb.initAmountOptions();
   frb.localizeAmountOptions(frb.amounts.options7, currency, country, language, true);
   // Hide Banner when on click and enter when focused
   $('.frb-close').on('click keypress', function(e){
       if (e.which === 13 || e.type === 'click') {
           frb.hide();
           $('.frb').removeClass('visible');
           e.stopPropagation();
       }
   });
   // Show RML form on Enter
   $('.frb-rml-link').keyup(function(event){
       if (event.keyCode == 13) {
           $('.frb-rml-form').toggle();
           $('#frb-rml-email').focus();
       }
   });
   /**
    * Calculate approximate transaction fee on given amount
    * @param  {number} amount
    * @return {number}        Rounded to 2 decimal places
    */
   frb.calculateFee = function(amount) {
       var feeMultiplier = 0.04;
       var feeMinimum = 1;
       var feeAmount = amount * feeMultiplier;
       if ( feeAmount < feeMinimum ) {
           feeAmount = feeMinimum;
       }
       return parseFloat(feeAmount.toFixed(2));
   };
   frb.updateFeeDisplay = function() {
       var form = document.getElementById('frb-form');
       var amount, feeAmount, totalAmount;
       amount = frb.getAmount(form);
       feeAmount = frb.calculateFee(amount);
       if ( $('#frb-ptf-checkbox').prop('checked') ) {
           totalAmount = amount + feeAmount;
       } else {
           totalAmount = amount;
       }
       var feeAmountFormatted = frb.formatCurrency(currency, feeAmount, language);
       $('.frb-ptf-fee').text(feeAmountFormatted);
       var totalAmountFormatted = frb.formatCurrency(currency, totalAmount, language);
       $('.frb-ptf-total').text(totalAmountFormatted);
       $('.frb-ptf').slideDown();
   };
   $('#frb-form [id^=frb-amt-ps]').click( frb.updateFeeDisplay );
   $('#frb-amt-other-input').on( 'input', frb.updateFeeDisplay );
   $('.frb-amt-other').click(function() {
       document.getElementById('frb-amt-other').checked = true;
       $('#frb-amt-other-input').focus();
   });
   // Activate #input_amount_other radio when tabbing into #frb-amt-other-input
   $('#frb-amt-other-input').focus(function() {
       document.getElementById('frb-amt-other').checked = true;
   });


   /* Hide banner outside of main namespace (and Main Page, for sites where that isn't in main namespace) */
   if ( mw.config.get('wgNamespaceNumber') > 0 && !mw.config.get('wgIsMainPage') ) {
       mw.centralNotice.bannerData.hideResult = true;
       mw.centralNotice.bannerData.hideReason = 'namespace';
   }
   if (!mw.centralNotice.bannerData.hideResult) {
       frb.show();
   }

}); </script>