

'use strict';
{
  const globals = this;
  const django = globals.django || (globals.django = {});

  
  django.pluralidx = function(n) {
    const v = (n != 1);
    if (typeof v === 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  const newcatalog = {
    "about_database_image": "/public/img/home/sponsor-list.png",
    "about_database_message": "GrantForward uses specialized data-crawling technology to constantly update our extensive database of sponsors and funding opportunities, allowing thousands of grant opportunities to be gathered from over 30,000 Sponsors. Every grant opportunity is thoroughly analyzed and then verified by our team of specialists to ensure accuracy.",
    "about_message_customer_say": "What Our Customers Say",
    "about_message_customer_say_header": "What Our <br> Customers Say",
    "about_message_customer_say_redirect": "customer-testimonials",
    "about_message_customer_say_subheader": "GrantForward makes it easy for anyone to start moving their research forward",
    "about_page_html": "<ul class='promo-item'>\n    <li class='clearfix'>\n        <span class='icon icon-accurate'></span>\n        <div class='promo-item-content'>\n            GrantForward\u2019s specialized search algorithm and team of specialists allows us to constantly update new and accurate funding opportunities.\n        </div>\n    </li>\n    <li class='clearfix'>\n        <span class='icon icon-filters'></span>\n        <div class='promo-item-content'>\n            GrantForward\u2019s advanced search capabilities and personalized grant recommendations make it quick and easy to find the perfect grant opportunities to start moving your research forward.\n        </div>\n    </li>\n    <li class='clearfix'>\n        <span class='icon icon-incorporate'></span>\n        <div class='promo-item-content'>\n            GrantForward\u2019s intuitive dissemination tools help administrators save time and efficiently communicate important funding opportunities across their institution.\n        </div>\n    </li>\n</ul>",
    "about_recomendataion_1": "GrantForward allows you to do more than just search for grants. With a researcher profile, you can easily find collaborators who have the same interests to start your project.",
    "about_recomendataion_2": "GrantForward uses your research interests, publications, and other profile information to recommend the best-fitting grant opportunities to you. With GrantForward's recommendation service, you can save tremendous time to keep your grant awareness and understand the funding trend in your field.",
    "about_search_engine_message": "GrantForward seamlessly combines ease-of-use with powerful search features to enable you to easily narrow down thousands of options to the opportunities that provide an exact fit for your research. Our search algorithm and adaptive search filters prevent you from wasting time sifting through grants that aren\u2019t relevant to your research, while our powerful search features help you stay up to date and keep track of new funding opportunities that match your interests.",
    "date_format_place_holder": "MM/DD/YYYY",
    "python_date_formatter": "%m/%d/%Y",
    "query_tag_sponsored": "Sponsored",
    "sponsor_country": "Sponsor's Country",
    "sponsor_item_title": "Sponsor",
    "sponsor_item_title_lowercase": "sponsor",
    "sponsor_subsponsors": "Sub-Sponsors",
    "sponsor_type": "Federal",
    "sponsors_title": "Sponsors",
    "sponsors_title_lowercase": "sponsors"
  };
  for (const key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      const value = django.catalog[msgid];
      if (typeof value === 'undefined') {
        return msgid;
      } else {
        return (typeof value === 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      const value = django.catalog[singular];
      if (typeof value === 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value.constructor === Array ? value[django.pluralidx(count)] : value;
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      let value = django.gettext(context + '\x04' + msgid);
      if (value.includes('\x04')) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      let value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.includes('\x04')) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(fmt, obj, named) {
      if (named) {
        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
      } else {
        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
      }
    };


    /* formatting library */

    django.formats = {
    "DATETIME_FORMAT": "N j, Y, P",
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%m/%d/%Y %H:%M:%S",
      "%m/%d/%Y %H:%M:%S.%f",
      "%m/%d/%Y %H:%M",
      "%m/%d/%y %H:%M:%S",
      "%m/%d/%y %H:%M:%S.%f",
      "%m/%d/%y %H:%M"
    ],
    "DATE_FORMAT": "N j, Y",
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d",
      "%m/%d/%Y",
      "%m/%d/%y",
      "%b %d %Y",
      "%b %d, %Y",
      "%d %b %Y",
      "%d %b, %Y",
      "%B %d %Y",
      "%B %d, %Y",
      "%d %B %Y",
      "%d %B, %Y"
    ],
    "DECIMAL_SEPARATOR": ".",
    "FIRST_DAY_OF_WEEK": 0,
    "MONTH_DAY_FORMAT": "F j",
    "NUMBER_GROUPING": 0,
    "SHORT_DATETIME_FORMAT": "m/d/Y P",
    "SHORT_DATE_FORMAT": "m/d/Y",
    "THOUSAND_SEPARATOR": ",",
    "TIME_FORMAT": "P",
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F Y"
  };

    django.get_format = function(format_type) {
      const value = django.formats[format_type];
      if (typeof value === 'undefined') {
        return format_type;
      } else {
        return value;
      }
    };

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }
};

