

'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 = {
    "%s MIN LEFT": "%s MIN LEFT",
    "+41 79 123 45 67": "+41 79 123 45 67",
    "Account": "My account",
    "Agenda event Register button label\u0004Register": "Register",
    "All": "All",
    "All Topics": "All Topics",
    "All Types": "All types",
    "Amount": "Number",
    "An error ocurred, please reload.": "An error ocurred, please reload.",
    "App / Profile password change passwords comparision fails message\u0004Passwords do not match": "Passwords do not match",
    "App / Profile password change success message\u0004Password changed successfully": "Password changed successfully",
    "App Profile section title\u0004Profile": "My account",
    "App Profile/Orders section title\u0004Profile": "My account",
    "App Profile/Settings change password link\u0004Change Password": "Change Password",
    "App Profile/Settings change password title\u0004Profile": "My account",
    "App Profile/Settings section title\u0004Profile": "My account",
    "Are you a member or have you ordered before?": "Already have a user account?",
    "Audience": "Audience",
    "Birthday": "Date of birth",
    "Buy Tickets": "Buy Tickets",
    "CHF": "CHF",
    "Cancel": "Cancel",
    "Change Password": "Change Password",
    "Changing email address requires re-login": "Changing email address requires re-login",
    "Check your inbox, an email has been sent to reset your password": "Check your inbox, an email has been sent to reset your password",
    "Checkout Auth": "Checkout Auth",
    "Choose payment method": "Choose a payment method",
    "City": "Town",
    "Clear filters": "Clear filters",
    "Collection confirm screen message plural\u0004Entry tickets to the collection": "Entry tickets to the collection",
    "Collection confirm screen message singular\u0004Entry ticket to the collection": "Entry ticket to the collection",
    "Confirm New Password": "Confirm password",
    "Contact": "My data",
    "Country": "Country *",
    "DETAILS": "DETAILS",
    "Date": "Date",
    "Details": "Details",
    "Do you need help?": "Need help?",
    "Download Tickets": "Download Tickets",
    "E-Mail": "E-Mail",
    "Edit": "Edit",
    "Email": "E-mail",
    "Enter your email, you will receive a reset password link": "Please enter your e-mail address and you will receive a link to reset your password.",
    "Example: 8001": "Example: 8001",
    "Example: Z\u00fcrich": "Example: Z\u00fcrich",
    "Exhibition confirm screen message plural\u0004Entry tickets to the exhibition": "Entry tickets to the exhibition",
    "Exhibition confirm screen message singular\u0004Entry ticket to the exhibition": "Entry ticket to the exhibition",
    "FOR": "FOR",
    "Faster order process": "Place orders quickly and simply",
    "Filter": "Filter",
    "First Name": "First name",
    "For": "For",
    "Forgot Password": "Forgot Password?",
    "Forgot password?": "Password forgotten?",
    "Format": "Format",
    "Free Places:": "Free Places:",
    "Further events of this series:": "Further events of this series:",
    "Group reduction is being applied.": "You will receive a group discount.",
    "Guided Tour or Workshop confirm screen message plural\u0004participants": "Participants",
    "Guided Tour or Workshop confirm screen message singular\u0004participant": "Participant",
    "I have read and agree to the checkout <a href=\"/\" target=\"_blank\">terms and conditions</a> of business": "I accept the <a href=\"/en/agb/\" target=\"_blank\">General Terms and Conditions</a> and <a href=\"/en/datenschutz/\" target=\"_blank\">Privacy Policy</a> of Kunsthaus Z\u00fcrich.",
    "I have read and agree to the terms and conditions of business": "I accept the <a href=\"/en/agb/\" target=\"_blank\">General Terms and Conditions</a> and <a href=\"/en/datenschutz/\" target=\"_blank\">Privacy Policy</a> of Kunsthaus Z\u00fcrich.",
    "Just a few seats left": "Just a few seats left",
    "Last Name": "Last name",
    "Load More": "Load More",
    "Loading details.": "Loading details, please wait\u2026",
    "Loading tickets, please wait.": "Loading tickets, please wait.",
    "Login": "Login",
    "Logout": "Logout",
    "Membership Number": "Membership number",
    "Message to display while waiting for the order to get processed\u0004Your order is being processed, please wait.": "Your order is being processed, please wait.",
    "Mobile Number": "Mobile number",
    "Modal error message on Checkout before Payment Redirect.\u0004Sorry, error on Checkout before Payment Redirect, please reload": "Sorry, error on Checkout before Payment Redirect, please reload",
    "Modal error message when Checkout fails\u0004Sorry, there was a reservation error please try again": "Sorry, there was a reservation error please try again",
    "Modal error message when Checkout fails\u0004Sorry, there was an event session error please try again later": "Purchase has failed, please try again later.",
    "Modal error message when Creating Checkout\u0004Sorry, could not create Checkout, please reload": "Sorry, could not create Checkout, please reload",
    "Modal error message when Creating Checkout\u0004Sorry, could not create the Checkout, please reload": "Sorry, could not create the Checkout, please reload",
    "Modal error message when getting Payment Methods\u0004Sorry, could not get the Payment Methods, please reload": "Sorry, could not get the Payment Methods, please reload",
    "Modal error message when getting checkout.\u0004Sorry, could not get the Checkout, please reload": "Sorry, could not get the Checkout, please reload",
    "Modal error message when shop fields don't load (country, customer titles)\u0004Sorry, there was an error while loading the shop data": "Sorry, there was an error while loading the shop data",
    "Modal error message when update of Associated Persons fail\u0004Sorry, could not update the Associated Persons, please try again": "Sorry, could not update the Associated Persons, please try again",
    "Modal error message when update of Guest Checkout fails.\u0004Sorry, could not update Checkout Customer Title, please reload": "Sorry, could not update Checkout Customer Title, please reload",
    "Modal error message when update of Guest Checkout fails.\u0004Sorry, could not update the Checkout Email, please reload": "Sorry, could not update the Checkout Email, please reload",
    "Modal error message when updating Checkout Billing Address\u0004Sorry, could not update the Billing Address, please reload": "Sorry, could not update the Billing Address, please reload",
    "Modal error message when updating checkout lines.\u0004Sorry, there was an error please try again": "Purchase has failed, please try again later.",
    "Modal error message when updating checkout.\u0004Sorry, could not update the Checkout, please reload": "Sorry, could not update the Checkout, please reload",
    "My Orders": "Orders",
    "My orders": "Orders",
    "Name": "First name",
    "New Password": "New password",
    "No events found": "No events found",
    "Number": "Number",
    "Online-tickets are sold out, more tickets available at the counter": "Online tickets sold out - remaining tickets at the box office",
    "Order Price": "Price",
    "Order as a guest": "Order as a guest",
    "Order as guest": "Order as a guest",
    "Order date": "Order date",
    "Order history": "Overview of all your orders",
    "Order without registration": "Order without registering",
    "Orderer details": "Personal details",
    "Participant": "Participants",
    "Participants": "Participants",
    "Password": "Password",
    "Password Change": "Change password",
    "Payment Methods message text without form.\u0004In order to finalize your ticket purchase, you will be forwarded to our payment service provider.<br>Please click proceed below": "In order to finalize your ticket purchase, you will be forwarded to our payment service provider.<br>Please click proceed below",
    "Payment Methods message title without form.\u0004You are almost there...": "You are almost there\u2026",
    "Phone": "Phone",
    "Place:": "Place:",
    "Please Enter a Valid Birthdate": "Please enter a valid birthdate",
    "Please Enter a Valid Email": "Please enter a valid E-mail",
    "Please Enter a Valid Numeric value": "Please Enter a Valid Numeric value",
    "Please Enter a Valid Phone Number": "Please Enter a Valid Phone Number",
    "Please agree to the terms to continue": "Please agree to the terms and conditions (GTC) to continue.",
    "Please enter a value": "Please enter a value",
    "Please try again later or try to contact directly the staff from Kunsthaus": "Please try again later or try to contact directly the staff from Kunsthaus",
    "Postal Code": "Post Code",
    "Preloading text in My Orders section while waiting orders to be loaded from server\u0004Getting orders, please wait.": "Getting orders, please wait\u2026",
    "Preloading text in Order details section while waiting a single order to be loaded from server\u0004Getting order, please wait.": "Getting order, please wait...",
    "Price": "Prices",
    "Price:": [
      "Price:",
      "Prices:"
    ],
    "Prices:": "Prices:",
    "Proceed": "Proceed",
    "Profile": "Profile",
    "Profile Settings": "Account settings",
    "Profile settings": "Account settings",
    "Purchase has failed, please try again later.": "Purchase has failed, please try again later.",
    "REGISTER": "REGISTER",
    "Redirecting to Checkout, please wait.": "Redirecting to Checkout, please wait.",
    "Register": "Registration",
    "Register Now": "Register now",
    "Registration is worth it.": "It pays to open an account!",
    "Reload page": "Refresh",
    "Reset Password": "Reset password",
    "Reset password": "Reset password",
    "SAVE THE DATE": "SAVE THE DATE",
    "SEITENANFANG": "BACK TO THE TOP",
    "Saferpay powered by": "Saferpay powered by",
    "Salutation": "Title",
    "Save": "Save",
    "Save the date": "Save the date",
    "Save tickets in smartphone (optional)": "Save tickets in smartphone (optional)",
    "Share tickets": "Share tickets",
    "Sign in": "Sign in",
    "Sold out": "Sold out",
    "Sorry, purchase failed": "Sorry, purchase failed",
    "Stay logged in": "Stay logged in",
    "Street / Nr.": "Street, house number",
    "Submit": "SUBMIT",
    "Subtitle in checkout as guest or register forms\u0004Address details": "Address details",
    "Subtotal": "Subtotal",
    "Success message screen paragraph.\u0004your account": "your account",
    "Surname": "Last name",
    "TOTAL": "TOTAL",
    "Thank you. Payment was successful.": "Thank you for your order. Your payment was successful.",
    "The visitor information will provide you with answers to the most important questions. You can reach the reception at the following number.<br><br>Every Tue-Sun 9:00 - 18:00.<br>+41 44 123 456 789": " Hotline: +41 44 253 84 84 (Mon\u2013Fri 8 a.m. to 12 midday and 1.15 p.m. to 5 p.m.)<br>\n E-mail: info@kunsthaus.ch",
    "There are": "There are",
    "There are no more available places.": "There are no more tickets available.",
    "There is 1 available place.": "There is still one\u00a0ticket available.",
    "This event is a block event and includes the following dates:": "This is a block event on the following dates:",
    "This purchase can not proceed due to content has been changed in other window.<br>Reload that page to start a new purchase process.": "This purchase can not proceed due to content has been changed in other window.<br>Reload that page to start a new purchase process.",
    "TicketShop": "Tickets",
    "Tickets": "Tickets",
    "Ticketshop": "Tickets",
    "Title": "Title",
    "Title in Order details section\u0004Order number": "Order number",
    "Topics": "Topics",
    "Total": "Total",
    "Upgrade for art lovers: Choose the combined ticket and profit from admission to the collection and all current exhibitions. Only 10 CHF more compared to the normal ticket price.": "Upgrade for art enthusiasts: \nFor a small extra charge you can purchase a combination ticket giving you access to the entire museum (collection and all exhibitions). ",
    "When ordering again, all data must be re-entered.": "You will have to enter them again for future orders",
    "You are exceeding the number of available places.": "You are exceeding the number of available places.",
    "You can not continue without choosing an event from the TicketShop": "Please select a ticket.",
    "You can save your membership here to connect for further discounts. (optional)": "You can save your membership here to connect for further discounts. ",
    "You have not yet placed any orders online. Why not to attend an event, exhibition or visit the collection. Take a look at our ticketshop!": "You have not yet placed any orders online. Why not to attend an event, exhibition or visit the collection. Take a look at our ticketshop!",
    "You will receive your tickets by e-mail shortly. Additionally, the tickets are stored in %s, if registered.": "You will receive your tickets by e-mail shortly. Additionally, the tickets are stored in %s, if registered.",
    "Your Account": "To the account",
    "Your data is not being stored": "Your data will not be saved",
    "Your last orders": "My last orders",
    "Your membership": "Membership number",
    "Your personal details": "Personal details",
    "Your purchase": "Your purchase",
    "available places.": "available tickets.",
    "entries": "entries",
    "keys": "keys",
    "order number": "order number",
    "total": "total",
    "transaction number": "Transaction number",
    "values": "values",
    "view profile": "To the account"
  };
  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",
      "%Y-%m-%d"
    ],
    "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": 3,
    "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;
  }
};

