PageSourceSearch

https://bookings.birminghamhippodrome.com/_nuxt/f5758d8.js

js birminghamhippodrome.com collected 2026-10-02 07:15:56 UTC 322,534 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[304],[,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"i",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"e",(function(){return x})),n.d(t,"g",(function(){return I})),n.d(t,"f",(function(){return S})),n.d(t,"c",(function(){return C})),n.d(t,"h",(function(){return O})),n.d(t,"d",(function(){return P})),n.d(t,"a",(function(){return A})),n.d(t,"l",(function(){return T})),n.d(t,"j",(function(){return _})),n.d(t,"k",(function(){return R}));n(14),n(20),n(19);var o=n(1),r=n(7),c=(n(6),n(80),n(13),n(10),n(9),n(18),n(26),n(150),n(40),n(41),n(25),n(17),n(32),n(15),n(12),n(29),n(22),n(2));function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var m=n(39),f=function(input){return input.url.match(/addresses.*/)?"/account-service/undefined/addresses":input.url.match(/print-at-home-document.*/)?"/account-service/print-at-home-document":!input.url.match(/orders.*/)||input.url.includes("print-at-home")||input.url.includes("detail")?input.url.match(/payment-cards.*/)?"/account-service/undefined/payment-cards":input.url.includes("seatmap")?"/scheduling-service/seatmap":input.url.match(/menu.*/)?"/food-and-drink-service/undefined/menu":input.url.match(/item.*/)?"/supplementary-items-service/undefined/item":input.url.match(/orders.*/)?"/account-service/undefined/orders":input.url:"/account-service/undefined/orders"},h=function(input){return input.url.match(/orders.*/)&&input.url.includes("detail")?"/customer/orders?$expand=tickets/seat,tickets/band,tickets/event,tickets/instance,tickets/ticketType,delivery":input.url.includes("/status/detail")&&input.originalUse&&"seatmap"===input.originalUse?"/seatmap":input.url.match(/forgot-password.*/)?"/customer/forgot-password":input.url.match(/validate-password-link.*/)?"/customer/validate-password":input.url.includes("price-list")&&input.originalUse&&"food-and-drink-service-menu"===input.originalUse?"/price-list-menu":input.url.includes("price-list")&&input.originalUse&&"supplementary-items-item"===input.originalUse?"/price-list-item":input.url.includes("potentialdiscount")?"/basket/potentialdiscount":input.url},v=function(data){var e,t={},n=d(new URLSearchParams(data).entries());try{for(n.s();!(e=n.n()).done;){var o=Object(r.a)(e.value,2),c=o[0],l=o[1];t[c]=l}}catch(e){n.e(e)}finally{n.f()}return t},y=function(e,t){for(var n={},o=t.split("."),i=0;i<e.length;i++){var r=o.reduce((function(e,t){return e&&e[t]}),e[i]);n[r]||(n[r]=[]),n[r].push(e[i])}return Object.values(n)},k=function(e){return!!(e.year&&e.month&&e.day&&e.year>=1900&&e.year<=(new Date).getFullYear()&&e.month>=1&&e.month<=12&&e.day>=1&&e.day<=31)},w=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.$cookies.get("lang")||"en",n.$axios.setBaseURL("".concat("https://viadukt-api.birminghamhippodrome.com","/").concat(o)),e.next=4,n.$axios.get("/scheduling-service/events/".concat(t));case 4:return r=e.sent,e.abrupt("return",r.data);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),e.next=3,n.$axios.get("/instances/".concat(t,"/plan"));case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),I=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),e.next=3,n.$axios.get("/instances/".concat(t,"/status?includeLockInformation=true&includeChildPlans=true"));case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),e.next=3,n.$axios.get("/bands");case 3:return o=e.sent,e.next=6,n.$axios.get("/instances/".concat(t,"/status/detail?includeLockInformation=true&includeChildPlans=true"));case 6:return r=e.sent,e.abrupt("return",c.a.prototype.$formatStatusDetail(r.data,o.data,n.$co
1okies.get("lang")));case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),C=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),e.next=3,t.$axios.get("/basket?$expand=tickets/seat,tickets/band,tickets/event,tickets/instance,tickets/ticketType,tickets/customItems,donations/fund,membershipSubscriptions/membership,ticketDeliveryOptions,merchandiseDeliveryOptions,charges,ticketDelivery,offers,tickets/event/relatedEvents,customer/orders/payments,customer/orders/giftVouchers,multibuyoffers/offer,multibuyoffers/potentialEvents");case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.$cookies.get("lang")||"en",n.$axios.setBaseURL("".concat("https://viadukt-api.birminghamhippodrome.com","/").concat(o)),e.next=4,n.$axios.get("/checkout-service/spektrix/basket",{params:{basketId:t}});case 4:return r=e.sent,e.abrupt("return",null==r?void 0:r.data);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),O=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o,r){var c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),e.next=3,r.$axios.get("/instances?startFrom=".concat(t,"&startTo=").concat(n,"&eventName=").concat(o,"&$expand=pricelist"));case 3:return c=e.sent,e.abrupt("return",c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n,o,r){return e.apply(this,arguments)}}(),P=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$cookies.get("lang")||"en",t.$axios.setBaseURL("".concat("https://viadukt-api.birminghamhippodrome.com","/").concat(n)),e.next=4,t.$axios.get("/contribution-service/s
1pektrix/memberships");case 4:return o=e.sent,e.abrupt("return",o.data);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(address,t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),e.next=3,t.$axios.post("/customer/addresses",address);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),T=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.$axios.setBaseURL({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL),o=d(t),e.prev=2,o.s();case 4:if((r=o.n()).done){e.next=10;break}return c=r.value,e.next=8,n.$axios.delete("/customer/tags/".concat(c.id));case 8:e.next=4;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),o.e(e.t0);case 15:return e.prev=15,o.f(),e.finish(15);case 18:return e.abrupt("return","OK");case 19:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})));return function(t,n){return e.apply(this,arguments)}}(),$=function(e,t){var n=new Intl.NumberFormat(e.format,{style:"currency",currency:e.type,minimumFractionDigits:t%1!=0?2:0}).format(t).replace(/\s/g," "),o=e.output.position,r=e.output.currencySymbol,c=n.replace("".concat(r),""),d="end"===o?"".concat(c," ").concat(r):"".concat(r).concat(c);return e.output.lessThanOne&&e.output.lessThanOne.active&&t<1&&t>0&&(d="end"===e.output.lessThanOne.position?"".concat(t.toString().split(".")[1]).concat(e.output.lessThanOne.currencySymbol):"".concat(e.output.lessThanOne.currencySymbol).concat(t.toString().split(".")[1]," ")),d},D=function(e,t){return m(t).tz(e.timezone).format(e.formatting.date)},L=function(e,t,n){var o=e.prefix[n],time=m(t).tz(e.timezone).format(e.formatting.time);return e.formatting.timeShort&&time.includes(".00")&&(time=m(t).tz(e.timezone).format(e.formatting.timeShort)),"".concat(o).concat(time)},M=function(e,t){if(e){var n=e.replace("-"," ");if("standard"===t)return n.toLowerCase().charAt(0).toUpperCase()+e.toLowerCase().slice(1);if("title"===t){var o,r;if(null!==(o={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==o&&null!==(r=o.instances)&&void 0!==r&&r.eventNamesAsWritten)return e;var c=n.replace(/(^\w|\s\w)(\S*)/g,(function(e,t,n){return t.toUpperCase()+n.toLowerCase()}));return c=c.replace("Mbe","MBE")}return"camelCase"===t?n.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,(function(e,t){return t.toUpperCase()})):n}return""},_=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r,c,l,m,f,h,v,y,k,w,x,I;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=[],e.next=3,n.$axios({url:"/instances/".concat(t,"/plan"),baseURL:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL});case 3:if((c=e.sent)&&c.data&&(c.data.areas.length>0?r=c.data.areas:r.push(c.data)),null===(o=n.store.state.event)||void 0===o||!o.instances){e.next=28;break}if(m=n.store.state.event.instances.find((function(e){return e.id===t})),f=m.venue.settings.views,!(null===(l=[{ids:["3","4","26"],venueName:"MainAuditorium",viewBox:"0 0 1287.92 1334.62",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0},{ids:["38","37"],venueName:"PatrickStudio",viewBox:"0 0 900 500",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0}].find((function(e){return e.ids.includes(m.venue.id)})))||void 0===l?void 0:l.venueGroupingEnabled)){e.next=28;break}h=[],v=d(f),e.prev=12,k=regeneratorRuntime.mark((function e(){var view,t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:view=y.value,t=view.screens,(n=r.filter((function(area){return t.includes(area.id)}))).length>0&&h.push({type:"Group",name:view.name,venue:n[0].venue,backgroundImageUrl:n[0].backgroundImageUrl,x:0,y:0,capacity:0,id:view.id,areas:n});case 4:case"end":return e.stop()}}),e)})),v.s();case 15:if((y=v.n()).done){e.next=19;break}return e.delegateYield(k(),"t0",17);case 17:e.next=15;break;case 19:e.next=24;break;case 21:e.prev=21,e.t1=e.catch(12),v.e(e.t1);case 24:return e.prev=24,v.f(),e.finish(24);case 27:h.length>0&&(r=h);case 28:return e.next=30,n.$axios({url:"/instances/".concat(t,"/price-list?includeTicketCommission=true&$expand=prices/customItems"),baseURL:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL});case 30:return w=e.sent,x=w?w.data.prices:[],e.next=34,n.$axios({url:"/bands",baseURL:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL});case 34:return I=e.sent,e.abrupt("return",{planAreas:r,prices:x,pricesBands:I});case 36:case"end":return e.stop()}}),e,null,[[12,21,24,27]])})));return function(t,n){return e.apply(this,arguments)}}(),R=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n,o,r){var c,l,m,f,h,v,k,x,I,S,C,O,P,A,T,_,R,j,N,E,U,F,Y,V,H,G,W,z,Q,J,Z,X,K,ee,te,ne,ie,ae,oe,re,se,ce,ue,de,le,pe,me,fe,he,ge,ve,be,ye,ke,we,xe,Ie,Se,Ce,Be,Oe,Pe,Ae,Te,$e,De,Le,Me,_e,Re,je,Ne,Ee,Ue,qe,Fe,Ye,Ve,He,Ge,We,ze,Qe,Je,Ze,Xe,Ke,et,tt,nt,it,at,ot,st,ct,ut,lt,pt;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(f=r.$cookies.get("lang")||"en",h=new Date,v={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.productTypes,k=null,"order"===o&&(k={id:null===(x=n.customer)||void 0===x?void 0:x.id}),I=[],k){S=Object.keys(k).filter((function(e){return e.includes("attribute_")})),C=d(S||[]);try{for(C.s();!(O=C.n()).done;)P=O.value,I.push({id:0,name:P,category:null,value:k[P]})}catch(e){C.e(e)}finally{C.f()}}if(A=[],T=n.tickets,_=n.membershipSubscriptions,R=n.donations,j=n.giftVouchers,N=n.ticketSubscriptions,E=[],U=[],F=[],Y=[],V=[],H=[],G=null,!("basket"===o&&T.length>0)){t.next=24;break}return t.next=23,B(n.id,r);case 23:G=t.sent;case 24:W=y(T,"instance.id"),z=d(W||[]),t.prev=26,J=regeneratorRuntime.mark((function e(){var t,n,o,r,c,l,m,h,y,k,w,x,I,S,C,B,O,P,A;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Q.value,o=n[0],v.foodAndDrink.length>0&&v.foodAndDrink.some((function(e){return o.ticketType.name.toLowerCase().includes(e)}))){r=[],c=d(n);try{for(c.s();!(l=c.n()).done;)m=l.value,r.push({id:m.id,priceType:{id:m.ticketType.id,name:M(m.ticketType.name,"title")},zoneId:m.band.id,price:m.price,priceFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],m.price)})}catch(e){c.e(e)}finally{c.f()}E.push({category:"food-and-drink",instanceId:o.instance.id,eventId:o.event.id,name:M(o.event.name,"title"),date:o.instance.start,formattedDateTime:{date:D({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start),time:L({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start,f)},timeStamp:new Date(o.instance.start).getTime(),tickets:r,lineId:o.id,totalValue:r.reduce((function(a,b){return a+b.price}),0),totalCount:r.length})}if(v.supplementaryItems.length>0&&v.supplementaryItems.some((function(e){return o.ticketType.name.toLowerCase().includes(e)}))||v.supplementaryItems.some((function(e){return o.event.name.toLowerCase().includes(e)}))){h=[],y=d(n);try{for(y.s();!(k=y.n()).done;)w=k.value,h.push({id:w.id,priceType:{id:w.ticketType.id,name:M(w.ticketType.name,"title")},zoneId:w.band.id,price:w.price,priceFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],w.price)})}catch(e){y.e(e)}finally{y.f()}F.push({category:"supplementary-items",instanceId:o.instance.id,eventId:o.event.id,name:M(o.event.name,"title"),date:o.instance.start,formattedDateTime:{date:D({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start),time:L({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start,f)},timeStamp:new Date(o.instance.start).getTime(),tickets:h,lineId:o.id,totalValue:h.reduce((function(a,b){return a+b.price}),0),totalCount:h.length})}if((null==v||null===(t=v.merchandise)||void 0===t?void 0:t.length)>0&&v.merchandise.some((function(e){return o.band.name.toLowerCase().includes(e)}))&&!v.supplementaryItems.some((function(e){return o.event.name.toLowerCase().includes(e)}))){x=[],I=d(n);try{for(I.s();!(S=I.n()).done;)C=S.value,x.push({id:C.id,priceType:{id:C.ticketType.id,name:M(C.ticketType.name,"title")},zoneId:C.band.id,price:C.price,priceFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],C.price)})}catch(e){I.e(e)}finally{I.f()}U.push({category:"merchandise",instanceId:o.instance.id,eventId:o.event.id,name:M(o.event.name,"title"),date:o.instance.start,formattedDateTime:{date:D({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start),time:L({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start,f)},timeStamp:new Dat
1e(o.instance.start).getTime(),tickets:x,lineId:o.id,totalValue:x.reduce((function(a,b){return a+b.price}),0),totalCount:x.length})}if(o.event.name==={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.secureMyBookingEventName){B=[],O=d(n);try{for(O.s();!(P=O.n()).done;)A=P.value,B.push({id:A.id,priceType:{id:A.ticketType.id,name:M(A.ticketType.name,"title")},zoneId:A.band.id,price:A.price,priceFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],A.price)})}catch(e){O.e(e)}finally{O.f()}H.push({category:"secure-my-booking",instanceId:o.instance.id,eventId:o.event.id,name:M(o.event.name,"title").replace("Securemybooking",""),date:o.instance.start,formattedDateTime:{date:D({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start),time:L({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},o.instance.start,f)},timeStamp:new Date(o.instance.start).getTime(),tickets:B,lineId:o.id,totalValue:B.reduce((function(a,b){return a+b.price}),0),totalCount:B.length})}case 6:case"end":return e.stop()}}),e)})),z.s();case 29:if((Q=z.n()).done){t.next=33;break}return t.delegateYield(J(),"t0",31);case 31:t.next=29;break;case 33:t.next=38;break;case 35:t.prev=35,t.t1=t.catch(26),z.e(t.t1);case 38:return t.prev=38,z.f(),t.finish(38);case 41:Z=d(W||[]),t.prev=42,K=regeneratorRuntime.mark((function e(){var t,n,c,l,m,h,y,k,x,I,S,C,B,O,P,T,_,R,j,N,V,H,W,z,Q,J,Z;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=X.value,c=n[0],l=!0,v.foodAndDrink.length>0&&(l=!v.foodAndDrink.some((function(e){return c.ticketType.name.toLowerCase().includes(e)}))),m=!0,v.supplementaryItems.length>0&&(m=!v.supplementaryItems.some((function(e){return c.ticketType.name.toLowerCase().includes(e)}))),h=!0,(null==v||null===(t=v.merchandise)||void 0===t?void 0:t.length)>0&&(h=!v.merchandise.some((function(e){return c.band.name.toLowerCase().includes(e)}))),!(c.event.name!=={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.secureMyBookingEventName&&l&&m&&h)){e.next=28;break}I=[],S=d(n);try{for(S.s();!(C=S.n()).done;
1)P=C.value,I.push({id:P.id,priceType:{id:P.ticketType.id,name:M(P.ticketType.name,"title")},priceBand:{id:P.band.id,name:P.band.name},seat:{id:P.seat?P.seat.id:"",section:M(P.planName,"title"),row:P.seat?P.seat.row:"",number:P.seat?P.seat.number:"",isUnnumbered:!P.seat,isInGAView:!1,attributes:{door:null==P||null===(B=P.seat)||void 0===B?void 0:B.attribute_Door,elevator:null==P||null===(O=P.seat)||void 0===O?void 0:O.attribute_Elevator}},customItems:null==P?void 0:P.customItems,voucherRedemption:null==P?void 0:P.voucherRedemptionInfo,zoneId:P.band.id,price:P.price,priceFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],P.price)}),"order"===o&&A.push({ticketLineId:P.id,qrCode:P.barcode})}catch(e){S.e(e)}finally{S.f()}return e.next=14,w(c.event.id,r);case 14:T=e.sent,_=T.instances.find((function(e){return e.id===c.instance.id})),R=null===(y=G)||void 0===y?void 0:y.upsellConfig.find((function(e){return e.instanceId===c.instance.id})),j=d((null==R?void 0:R.options)||[]);try{for(j.s();!(N=j.n()).done;)N.value.parentInstanceId=c.instance.id}catch(e){j.e(e)}finally{j.f()}V=[],R&&(H=R.options.map((function(option){return option.id})),V=E.length>0?E.filter((function(e){return H.includes(e.instanceId)})):[]),W=[],R&&(z=R.options.map((function(option){return option.id})),W=F.length>0?F.filter((function(e){return z.includes(e.instanceId)})):[]),Q=[],R&&(J=R.options.map((function(option){return option.id})),Q=U.length>0?U.filter((function(e){return J.includes(e.instanceId)})):[]),Z=[],c.event.relatedEvents&&(Z=c.event.relatedEvents.map((function(e){return{eventId:e.id,name:e.name,lastInstanceDateTime:null==e?void 0:e.lastInstanceDateTime}}))),Y.push({category:"performance",instanceId:c.instance.id,eventId:c.event.id,name:M(c.event.name,"title"),venue:{id:_?null==_||null===(k=_.venue)||void 0===k?void 0:k.id:c.planId,name:_?null==_||null===(x=_.venue)||void 0===x?void 0:x.name:c.planName},date:c.instance.start,formattedDateTime:{date:D({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},c.instance.start),time:L({defaultLocale:"en",locales:["en"],timezone:"Europe/London",formatting:{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}},c.instance.start,f)},timeStamp:new Date(c.instance.start).getTime(),tickets:I,upsellOptions:R?R.options:[],relatedFoodAndDrink:V,relatedMerchandise:Q,relatedSupplementaryItems:W,relatedEvents:Z,isLiveStream:!!_&&{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}}.liveStreamVenues.includes(_.venue.id),hasBubbleSeating:!1,attributes:(null==_?void 0:_.attributes)||[],lineId:c.id,totalValue:I.reduce((function(a,b){return a+b.price}),0),totalCount:I.length});case 28:case"end":return e.stop()}}),e)})),Z.s();case 45:if((X=Z.n()).done){t.next=49;break}return t.delegateYield(K(),"t2",47);case 47:t.next=45;break;case 49:t.next=54;break;case 51:t.prev=51,t.t3=t.catch(42),Z.e(t.t3);case 54:return t.prev=54,Z.f(),t.finish(54);case 57:ee=[],te={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.membershipFundMatch,ne=_.map((function(e){return{category:"membership",id:e.id,name:e.membership.name,fund:{id:e.membership.id,name:e.membership.name},organisation:{id:0,name:""},customData:e.customItems,totalValue:te?e.membership.price:e.price,totalValueFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],te?e.membership.price:e.price)}})),ie=R,ae=[],oe=d(_);try{for(oe.s();!(re=oe.n()).done;)(se=re.value).relatedDonationId&&ae.push(se.relatedDonationId)}catch(e){oe.e(e)}finally{oe.f()}ae.length>0&&(ie=R.filter((function(e){return!ae.includes(e.id)}
1))),ce=ie.map((function(e){return{category:"donation",id:e.id,name:"Donation",fund:{id:e.fund.id,name:M(e.fund.name,"standard")},recognitionName:e.recognitionName,isAnonymous:e.isAnonymous,tributeName:e.tributeName,tributeTypeId:e.tributeTypeId,totalValue:parseFloat(e.amount),totalValueFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],parseFloat(e.amount))}})),ue=j.map((function(e){return{category:"gift-certificate",id:e.id,name:"Gift certificate",voucherNumber:"",details:{to:e.toName,from:e.fromName,message:e.message,sendDate:e.sendDate,deliveryEmail:null==e?void 0:e.deliveryEmailAddress},totalValue:parseFloat(e.amount.toString().replace("-","")),totalValueFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],parseFloat(e.amount.toString().replace("-","")))}})),de=N.map((function(e){return{category:"ticket-subscription",id:e.id,name:e.ticketSubscriptionStructureName,totalValue:parseFloat(e.price.toString().replace("-","")),totalValueFormatted:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],parseFloat(e.price.toString().replace("-","")))}})),le=[],pe=d(n.ticketDeliveryOptions||[]),t.prev=70,fe=regeneratorRuntime.mark((function e(){var option,t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:option=me.value,t=[{id:"basket",name:{en:"Basket"},components:{header:"BasketHeaderSummary",content:"Basket",alternativeContent:"EmptyBasket"},needsUserToBeLoggedIn:!1,conditional:!1,active:!0,upsells:[{id:"round-up-donation",autoSelect:!0,minRoundUp:10,roundUpFormula:20,values:[],contributionId:1,fundId:115,displayOther:!0,name:{en:"Round up donation"},subline:{en:"<p><strong>Donate now</strong> to secure the future of Birmingham Hippodrome for generations to come - thank you!</p>"},description:{en:"Thank you for sharing our belief in the value of the arts and culture for all communities in Birmingham and the city-region. Your donation will help us bring our charitable ambitions to life because Arts Matter!"},cta:{en:"Round up my order"},dataAction:"basket-donation",component:"RoundUpDonation",conditionals:{contents:{includes:[],excludes:["donations"]}}}]},{id:"account",name:{en:"Account"},components:{header:"AccountHeaderSummary",content:"AccountTwoStepLogin",alternativeContent:"AccountDetails"},needsUserToBeLoggedIn:!1,conditional:!1,active:!0},{id:"delivery",name:{en:"Delivery"},components:{header:"DeliveryHeaderSummary",content:"Delivery"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0,defaultDeliveryOption:{giftCertificates:!0},hiddenOptionsUnlessSelected:[9]},{id:"add-ons",name:{en:"Plan your experience"},components:{header:"AddOnsHeaderSummary",content:"AddOns"},needsUserToBeLoggedIn:!0,conditional:!0,active:!0,relatedInstances:{displayDate:!0,displayTime:!0},categories:{"the-circle-lounge":"foodAndDrink","proscenium-lounge":"foodAndDrink","the-proscenium-lounge":"foodAndDrink","mr---plan-your-experience":"foodAndDrink","plan-your-experience---mrtm":"foodAndDrink","beam-food---lunchbag-thursday":"foodAndDrink","beam-food---lunchbag-friday":"foodAndDrink",merchandise:"merchandise",memberships:"memberships"},categoryGroups:[{id:"the-proscenium-lounge",group:["the-proscenium-lounge","proscenium-lounge"]}],additionalConfiguration:{"the-circle-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id",wrapAroundTextHeader:!0},"proscenium-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id"},"the-proscenium-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id"},"mr---plan-your-experience":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"moulin-rouge",orderBy:"id"},"plan-your-experience---mrtm":{type:"Simple",editable:!0,showPrices:!0,dietary
1Information:!1,subCategory:"moulin-rouge",orderBy:"id"},"beam-food---lunchbag-thursday":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"beam",orderBy:"id"},"beam-food---lunchbag-friday":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"beam",orderBy:"id"}},membershipConditional:!1},{id:"contact-preferences",name:{en:"Contact preferences"},components:{header:"ContactPreferencesHeaderSummary",content:"ContactPreferences"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0},{id:"memberships",name:{en:"Become a member"},components:{header:"MembershipsHeaderSummary",content:"Memberships"},needsUserToBeLoggedIn:!0,conditional:!0,membershipsToInclude:["8"],active:!0},{id:"gift-aid",name:{en:"Gift Aid"},components:{header:"GiftAidHeaderSummary",content:"GiftAid"},needsUserToBeLoggedIn:!0,conditional:!0,active:!0},{id:"upsells",name:{en:"Upsells"},components:{header:"UpsellsHeaderSummary",content:"Upsells"},needsUserToBeLoggedIn:!0,conditional:!0,active:!1},{id:"review",name:{en:"Review my booking"},components:{header:"ReviewHeaderSummary",content:"Review"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0},{id:"payment",name:{en:"Payment"},components:{header:"PaymentHeaderSummary",content:"Payment"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0}].find((function(e){return"delivery"===e.id})),(n=t.options.find((function(e){return e.crmId===option.type})))&&le.push({id:n.id,name:n.name[f],description:n.description[f],basketHeaderDescription:n.name[f],isDefault:n.isDefault,isPrintAtHome:n.isPrintAtHome,isRestricted:n.isRestricted,requiresAddress:n.requiresAddress});case 4:case"end":return e.stop()}}),e)})),pe.s();case 73:if((me=pe.n()).done){t.next=77;break}return t.delegateYield(fe(),"t4",75);case 75:t.next=73;break;case 77:t.next=82;break;case 79:t.prev=79,t.t5=t.catch(70),pe.e(t.t5);case 82:return t.prev=82,pe.f(),t.finish(82);case 85:if(he=[],Y.length>0&&(he=Y.map((function(e){return e.upsellOptions})).flat(1)),ge=[],ve={},"basket"===o&&(ve={modeOfSaleId:0,sourceId:0,salesChannelId:0,notes:"",initatorId:0,addressId:0,phoneId:0,emailId:0,deliveryMethodId:null==n||null===(be=n.ticketDelivery)||void 0===be?void 0:be.type,orderDate:(new Date).getTime()}),ye={instanceProducts:Y.reduce((function(a,b){return a+b.totalCount}),0),packageProducts:0,foodAndDrinkProducts:E.reduce((function(a,b){return a+b.totalCount}),0),merchandiseProducts:U.reduce((function(a,b){return a+b.totalCount}),0),supplementaryItemProducts:F.reduce((function(a,b){return a+b.totalCount}),0),membershipProducts:ne.length,donationProducts:ce.length,giftCertificateProducts:ue.length,ticketSubscriptionProducts:de.length,bookingProtectProducts:V.length,secureMyBookingProducts:H.length},ke={productCount:Object.values(ye).reduce((function(a,b){return a+b}),0),instances:{productCount:ye.instanceProducts,value:Y.reduce((function(a,b){return a+b.totalValue}),0)},packages:{productCount:ye.packageProducts,value:0},education:{productCount:0,value:0},foodAndDrink:{productCount:ye.foodAndDrinkProducts,value:E.reduce((function(a,b){return a+b.totalValue}),0)},merchandise:{productCount:ye.merchandiseProducts,value:U.reduce((function(a,b){return a+b.totalValue}),0)},supplementaryItems:{productCount:ye.supplementaryItemProducts,value:F.reduce((function(a,b){return a+b.totalValue}),0)},memberships:{productCount:ye.membershipProducts,value:ne.reduce((function(a,b){return a+b.totalValue}),0)},donations:{productCount:ye.donationProducts,value:ce.reduce((function(a,b){return a+b.totalValue}),0)},giftCertificates:{productCount:ye.giftCertificateProducts,value:ue.reduce((function(a,b){return a+b.totalValue}),0)},ticketingSubscriptions:{productCount:ye.ticketSubscriptionProducts,value:de.reduce((function(a,b){return a+b.totalValue}),0)},bookingProtect:{productCount:ye.bookingProtectProducts,value:V.reduce((function(a,b){return a+b.totalValue}),0)},secureMyBooking:{productCount:ye.secureMyBookingProducts,value:H.reduce((function(a,b){return a+b.totalValue}),0)}},Oe=null==n||null===(c=n.charges)||void 0===c?void 0:c.filter((function(e){return e.name.toLowerCase().includes("delivery")}))[0],Pe=Oe?Oe.amount:0,Ae=(null==n||null===(l=n.transactionCommission)||void 0===l?void 0:l.amount)||0,"basket"===o){if(Y.length>0){Me=d(Y);try{for(Me.s();!(_e=Me.n()).done;){Re=_e.value,je=d(Re.tickets);try{for(je.s();!(Ne=je.n()).done;)Ee=Ne.value,Ae+=Ee.customItems.reduce((function(a,b){return a+b.amount}),0)}catch(e){je.e(e)}finally{je.f()}}}catch(e){Me.e(e)}finally{Me.f()}}0===n.total&&(n.total=ke.instances.value+ke.packages.value+ke.foodAndDrink.value+ke.merchandise.value+ke.supplementaryItems.value+ke.memberships.value+ke.donations.value+ke.giftCertificates.value+ke.ticketingSubscriptions.value+ke.bookingProtect.value+ke.secureMyBooking.value+Ae),Ue=null!=n&&null!==(Te=n.transactionCommission)&&void 0!==Te&&Te.waived?0:null==n||null===($e=n.transactionCommission)||void 0===$e?void 0:$e.amount,we=n.total-(Ue||0)-Pe,xe=n.total,Ie=Ue||0,Se=Pe,Ce=0,Be=n.total,(null!==(De=location)&&void 0!==De&&De.href.includes("checkout/payment")||null!==(Le=location)&&void 0!==Le&&Le.href.includes("order/confirmed"))&&(Fe=null!=n&&null!==(qe=n.transactionCommission)&&void 0!==qe&&qe.amount&&n.transactionCommission.amount>0?n.transactionCommission.amount:Ae,we=n.total-Fe-Pe,Ie=Fe)}if("order"===o){if(Y.length>0){Ye=d(Y);try{for(Ye.s();!(Ve=Ye.n()).done;){He=Ve.value,Ge=d(He.tickets);try{for(Ge.s();!(We=Ge.n()).done;)ze=We.value,Ae+=ze.customItems.reduce((function(a,b){return a+b.amount}),0)}
1catch(e){Ge.e(e)}finally{Ge.f()}}}catch(e){Ye.e(e)}finally{Ye.f()}}we=n.total-(null==n?void 0:n.totalTransactionCharges)-Pe-Ae,xe=n.total,Ie=((null==n?void 0:n.totalTransactionCharges)||0)+Ae,Se=Pe,Ce=0,Be=0}for(pt in Qe=(null===(m=r.store.state)||void 0===m?void 0:m.spektrixCredit)||0,ke.subtotal=parseFloat(we).toFixed(2),ke.total=parseFloat(xe).toFixed(2),ke.fees=parseFloat(Ie).toFixed(2),ke.delivery=parseFloat(Se).toFixed(2),ke.paidSoFar=parseFloat(Ce).toFixed(2),ke.remaining=parseFloat(Be).toFixed(2),ke.credit=Qe,ke.payments=[],ke.formatted={subtotal:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],ke.subtotal),total:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],ke.total),fees:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],ke.fees),delivery:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],ke.delivery),credit:$({en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[f],ke.credit),payments:[]},!1,!1,Je=he.length>0,Ze=he.length>0,Xe={isReservedOrder:!1,canDisplayTickets:!1,canShareTickets:!1,QRcodes:{reference:"",tickets:A,memberships:[]},conditionals:{"add-ons":Ze,upsells:Je,memberships:false,"gift-aid":false},variables:[]},"order"===o&&(parseFloat(ke.remaining)>0&&(Xe.isReservedOrder=!0),Xe.isReservedOrder||(Xe.canDisplayTickets=!0,k&&(Xe.canShareTickets=!0)),0===ke.instances.productCount&&0===ke.packages.productCount&&(Xe.canDisplayTickets=!1,Xe.canShareTickets=!1),0,Ke="".concat(n.id,"|").concat(0,"|").concat(k.id).toString(),Xe.QRcodes.reference=encodeURIComponent((mt=Ke,e.from(mt,"utf-8").toString("base64")))),et={id:k?k.id:0,name:k?k.name:""},tt=[],n.offers&&(it={},null!==(nt={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.checkout)&&void 0!==nt&&nt.offerAdditionalText&&(it={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.checkout.offerAdditionalText),tt=n.offers.map((function(e){var t;return{id:e.id,text:"<h2>".concat(e.name,"</h2><p>").concat(e.htmlDescription,"</p>").concat(null!==(t=it)&&void 0!==t&&t[e.name]?it[e.name]:"")}}))),at=!1,ot=!1,st=!1,ct=!1,ut=!1,0===Y.length&&0===ee.length&&0===E.length&&0===U.length&&0===ne.length&&0===ue.length&&0===V.length&&0===H.length&&ce.length>0&&(at=!0),0===Y.length&&0===ee.length&&0===E.length&&0===U.length&&0===ne.length&&0===ce.length&&0===V.length&&0===H.length&&ue.length>0&&(ot=!0),0===Y.length&&0===ee.length&&0===E.length&&0===U.length&&0===ce.length&&0===ue.length&&0===V.length&&0===H.length&&ne.length>0&&(st=!0),0===Y.length&&0===ee.length&&0===U.length&&0===ce.length&&0===ue.length&&0===V.length&&0===H.length&&0===ne.length&&E.length>0&&(ct=!0),0===Y.length&&0===ee.length&&0===E.length&&0===ne.length&&0===ce.length&&0===ue.length&&0===V.length&&0===H.length&&U.length>0&&(ut=!0),lt=[],n)0===pt.indexOf("attribute")&&lt.push({name:pt.toLowerCase(),value:n[pt]});return Xe.orderAttributes=lt,t.abrupt("return",{customer:et,orderId:n.id.toString(),orderDate:"",formattedOrderDateTime:{date:"",time:""},expiry:h.setMinutes(h.getMinutes()+20),currentDate:h.getTime(),contents:{instances:Y,packages:ee,education:[],foodAndDrink:E,merchandise:U,supplementaryItems:F,memberships:ne,donations:ce,giftCertificates:ue,ticketSubscriptions:de,bookingProtect:V,secureMyBooking:H},identifiers:{onlyDonations:at,onlyGiftCertificates:ot,onlyMemberships:st,onlyFoodAndDrink:ct,onlyMerchandise:ut},multibuyOffers:n.multibuyOffers,upsellOptions:he,deliveryOptions:le,contactPreferences:ge,properties:ve,messaging:tt,valid:!0,invalidPerformances:[],totals:ke,settings:Xe});case 131:case"end":return t.stop()}var mt}),t,null,[[26,35,38,41],[42,51,54,57],[70,79,82,85]])})));return function(e,n,o){return t.apply(this,arguments)}}()}).call(this,n(128).Buffer)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o={props:{error:{type:Object,required:!0}},data:function(){return{crm:"tessitura",crmConfig:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1},language:this.$cookies.get("lang"),errorMessages:{error404:{heading:{en:"Something went wrong. We're sorry."},description:{en:'<p>Unfortunately we could not find the page you were looking for. Perhaps this is what you searched for?</p>\n        <p>Upcoming events: <a href="https://birminghamhippodrome.com/whats-on">https://birminghamhippodrome.com/whats-on</a></br> \n        Home page: <a href="https://birminghamhippodrome.com">https://birminghamhippodrome.com</a></p>'}},priority:{title:{en:"Oops! This event is currently waiting in the wings.."},description:{en:"<p>Tickets can't be booked online for this event at the moment, this could be due to the event no longer being available, not being on general sale yet or only being available to our members at present.</p><p>
1If you are trying to book for a Relaxed Performance, <a href='https://www.birminghamhippodrome.com/plan-your-visit/access/access-registration/'>please make sure you are registered on our Access Registration scheme</a>. If you are already registered, <a href='https://bookings.birminghamhippodrome.com/login'>please log into your online account</a> and the event should then become available to book.</p><p><a href='https://bookings.birminghamhippodrome.com/login'>If you are a Friend or Patron please check you are logged in to your online account,</a>so that all members events appear and can be booked.</p>"},link:{url:{en:"https://www.birminghamhippodrome.com/faq/why-cant-i-book-an-event-online-at-the-moment/"},text:{en:"Please click here for further information."}}}}}},layout:"error",methods:{siteUrl:function(){return"".concat({en:"https://birminghamhippodrome.com/"}[this.language])}}},r=n(4),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-main__wrap"},[t("section",{staticClass:"c-main__content c-main__content--contained"},[t("section",{staticClass:"c-panel-section c-panel-section--active"},[t("header",{staticClass:"c-panel-header"},[404===e.error.statusCode?t("h2",{staticClass:"c-panel-header__title"},[e._v("\n          "+e._s(e.errorMessages["error".concat(e.error.statusCode)].heading[e.language])+"\n        ")]):t("h2",[e._v("\n          "+e._s(e.$t("error.general-error"))+"\n        ")])]),e._v(" "),t("section",{staticClass:"c-panel-content"},[t("section",{staticClass:"c-panel-row"},[t("div",{staticClass:"o-body-text o-body-text--large"},[404===e.error.statusCode?t("span",{domProps:{innerHTML:e._s(e.errorMessages["error".concat(e.error.statusCode)].description[e.language])}}):t("p",[e._v("\n              "+e._s(e.$t("error.general-error-info"))+"\n            ")])])])])])])])}),[],!1,null,null,null);t.a=component.exports;installComponents(component,{Header:n(62).default})},,,,,,,function(e,t,n){"use strict";var o=n(4),component=Object(o.a)({},(function(){return(0,this._self._c)("Nuxt")}),[],!1,null,null,null);t.a=component.exports},,function(e,t,n){"use strict";n.r(t);n(109),n(29),n(14),n(15),n(36),n(37);var o=n(1),r=n(11),c=(n(6),n(13),n(10),n(32),n(110),n(24)),d=n(56),l=n(201);n(17),n(9),n(12),n(20),n(19),n(18);var m=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o,r){var c,d,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=22;break;case 6:if((d=c.n()).done){e.next=12;break}return l=d.value,e.next=10,f(t,o,l);case 10:e.next=6;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(4),c.e(e.t0);case 17:return e.prev=17,c.f(),e.finish(17);case 20:return e.next=22,h(t,o,r);case 22:case"end":return e.stop()}}),e,null,[[4,14,17,20]])})));return function(t,n,o,r){return e.apply(this,arguments)}}(),f=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={productType:"payment-account-credit",removalType:"payment-account-credit",item:{paymentId:o.id}},e.next=3,t.post("/checkout-service/".concat(n,"/remove-from-basket"),r).then((function(){})).catch((function(e){console.log("error",e)}));case 3:case"end":return e.stop()}}),e)})));return function(t,n,o){return e.apply(this,arguments)}}(),h=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.post("/payment-service/".concat(n,"/account-credit"),null).then((function(){o.$emit("refreshBasket",!0)})).catch((function(e){console.log("error",e)}));case 2:case"end":return e.stop()}}),e)})));return function(t,n,o){return e.apply(this,arguments)}}();function v(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function y(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?v(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var k={components:{Fragment:d.a,PromoCodeModal:l.default},data:function(){return{clientName:"birmingham-hippodrome",crm:"tessitura",sessionExpiry:1200,basketTimer:null,language:this.$cookies.get("lang"),visualWarning:!1,accessAlert:20,languages:[{code:"en",label:"In English",default:!0}],logo:{src:"".concat("https://bookings.birminghamhippodrome.com/styling","/images/").concat("birmingham-hippodrome","/").concat("birmingham-hippodrome-logo.svg"),alt:"".concat("Birmingham Hippodrome"," ").concat(this.$t("site.logo"))},homeURL:{en:"https://birminghamhippodrome.com/"}[this.$cookies.get("lang")],features:{headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0},displayPromoCodeModal:!1,eventsPage:this.$route.path.includes("/events/"),isCheckoutPage:this.$route.path.includes("/checkout"),promoCodeMessage:"",prefersReduceMotion:!0===window.matchMedia("(prefers-reduced-motion: reduce)")||!0===window.matchMedia("(prefers-reduced-motion: reduce)").matches,performancePackageId:this.$route.params.package||null,eventId:this.$route.params.event||null,instanceId:this.$route.params.instance||null}},computed:y(y(y({},Object(c.d)(["event","basket","session"])),Object(c.c)("promocode",["getPromoCode"])),{},{promoCodeLabel:function(){var e=this.getPromoCode,t=this.$customTextOutput("checkout.basket.promo-discount");return e||t},loggedInMessage:function(){return this.session.isLoggedIn?" - ".concat(this.$t("account.info.logged-in")):""},clientHeaderIconComponent:function(){return function(){return n.e(735).then(n.bind(null,1473))}},formattedBasketTimer:function(){if(this.basketTimer){var e=new Date(this.basketTimer).toISOString().substr(14,2),t=new Date(this.basketTimer).toISOString().substr(17,2);return"".concat(e,":").concat(t)}return""},formattedBasketSeconds:function(){if(this.basketTimer){var e=new Date(this.basketTimer).toISOString().substr(14,2),t=new Date(this.basketTimer).toISOString().substr(17,2);return parseInt(60*e,10)+parseInt(t,10)}return""},formattedBasketExpiryTime:function(){return this.basketTimer?this.$dayjs().add(this.basketTimer,"milliseconds").format("h:mma"):""},timerSpeed:function(){return 1},instance:function(){var e=this;return this.performancePackageId?this.performancePackage:this.event?this.event.instances.find((function(t){return t.id===e.$route.params.instance})):null},displayBackButton:function(){var e;if(null===(e=this.instance)||void 0===e||!e.hasSeatmap)return!1;var t={enabled:!1};return(!this.instance.alternateBookingMode||!t.enabled)&&(!this.features.syosSkipOverview&&!!(this.$route.path.includes("syos")||this.$route.path.includes("price-selection")||this.$route.path.includes("register")))}}),mounted:function(){var e=this;if(this.$nuxt.$on("updateAccountCredit",(function(){m(e.$axios,e.basket,e.$cookies.get("viaduktid"),e.$nuxt)})),this.$nuxt.$on("basketUpdate",(function(t,n){var o;if(e.$cookies.set("basket",t,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(o={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==o&&o.domainBasketCookie?"birminghamhippodrome.com":null}),e.$cookies.set("loggedInStatus",e.session.isLoggedIn,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"}),n&&"tessitura"===e.crm){var r=e.$cookies.get("viaduktid");e.$cookies.set("viaduktid",r,{path:"/",maxAge:(n-(new Date).getTime())/1e3,secure:!0,sameSite:"Lax"});var c=e.$encodeBase64("".concat(r,"||").concat(new Date));e.$cookies.set("viaduktshared",c,{path:"/",maxAge:(n-(new Date).getTime())/1e3,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"})}setTimeout(e.countdownTimer,1)})),this.$nuxt.$on("languageUpdatedUrl",(function(t){e.languageSet(t),document.querySelectorAll(".lang").forEach((function(e){e.classList.remove("state--active")})),document.getElementById("lang_".concat(t)).classList.add("state--active")})),document.getElementById("c-timer-container")&&(document.getElementById("c-timer-container").classList.remove("c-header__timer--warning"),this.basket.totals.productC
1ount>0&&setTimeout(this.countdownTimer,1)),this.prefersReduceMotion&&this.basket.totals.productCount>0){var t=this.$t("checkout.timer.prefersReduceMotion",{heldUntilTime:this.formattedBasketExpiryTime});this.$nuxt.$emit("updateAriaLive",t)}},methods:y(y({},Object(c.b)("promocode",["removePromoCode"])),{},{languageClass:function(e){return this.$i18n.locale===e?"lang state--active":"lang"},ariaCurrent:function(e){return this.$i18n.locale===e?"aria":"lang"},languageSet:function(e){(document.querySelectorAll(".lang").forEach((function(e){e.classList.remove("state--active")})),this.languages.length>1)&&document.getElementById("lang_".concat(e)).classList.add("state--active")},setLanguage:function(e){this.$nuxt.$emit("languageChange",e),this.languageSet(e),setTimeout((function(){location.reload()}),500)},accountLink:function(){if(this.session.isLoggedIn)return"/account/".concat("your-details");var e=new RegExp(["login","reset-password","auth","checkout","maintenance"].join("|")).test(this.$route.path)?"":"?returnurl=".concat(encodeURIComponent(this.$route.fullPath));return"/login".concat(e)},countdownTimer:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n,o,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.$route.path.includes("order/confirmed")){t.next=16;break}if(!((n=e.basket.expiry-(new Date).getTime())>0)){t.next=10;break}o=new Date(n).toISOString().substr(14,2),parseInt(o,10)<5&&!e.visualWarning&&(document.getElementById("c-timer-container").classList.add("c-header__timer--warning"),e.visualWarning=!0),[15,10,5].includes(parseInt(o,10))&&e.accessAlert!==o&&(r=document.getElementById("session-alert"))&&(r.innerHTML="".concat(o," ").concat(e.$t("checkout.timer.remaining")),e.accessAlert=o),e.basketTimer=n,setTimeout(e.countdownTimer,e.timerSpeed),t.next=16;break;case 10:if(!(e.basket.totals.productCount>0)){t.next=15;break}if("tessitura"!==e.crm){t.next=15;break}return t.next=14,e.$nuxt.$emit("resetSession",!0);case 14:e.$nuxt.$emit("basketTimedOut",!0);case 15:e.basketTimer=null;case 16:case"end":return t.stop()}}),t)})))()},buttonClass:function(){var e,t;return{"c-btn":!0,"c-btn--secondary":!(null!==(e=this.features)&&void 0!==e&&e.promoCodeHeaderPrimary),"c-btn--add":!this.getPromoCode,"c-promo-code--desktop":!0,"c-btn--close":this.getPromoCode,"c-btn--primary":null===(t=this.features)||void 0===t?void 0:t.promoCodeHeaderPrimary}},buttonClassMobile:function(){return{"c-btn":!0,"c-promo-code--mobile":!0,"c-btn--close":this.getPromoCode,"c-btn--primary":!1}},resetPromocodeData:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.removePromoCode({promoCode:e.getPromoCode,viaduktId:e.$cookies.get("viaduktid")});case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.error("Error removing promocode:",t.t0.response?t.t0.response.data:t.t0.message);case 8:if("tessitura"!==e.crm){t.next=12;break}return e.$cookies.remove("viaduktid"),t.next=12,e.$axios.get("/session-service/".concat(e.$cookies.get("viaduktid"),"/session-details"),{params:{accountcredit:!0,attributes:!0,constituencies:!0}}).then((function(t){e.$store.commit("updateSession",{isLoggedIn:!1,isGuest:!1,modeOfSaleId:t.data.modeOfSaleId,customer:0}),e.$nuxt.$emit("removePromocode"),e.$nuxt.$emit("fetchPricesAvailability",!0)})).catch((function(e){console.log(e)}));case 12:"spektrix"===e.crm&&(e.eventsPage&&null!==(n=document.getElementById("SpektrixIFrame"))&&void 0!==n&&n.src&&(document.getElementById("SpektrixIFrame").src=document.getElementById("SpektrixIFrame").src),e.$nuxt.$emit("removePromocode"),window.location.href.includes("/order/confirmed")||(e.$nuxt.$emit("refreshSeatmap",!0),e.$nuxt.$emit("refreshBasket",!0)),e.eventsPage&&setTimeout((function(){location.reload()}),1500));case 13:case"end":return t.stop()}}),t,null,[[0,5]])})))()},showPromoModal:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=e.getPromoCode)){t.next=16;break}return e.promoCodeMessage="Removing promocode ".concat(n,"... Please wait."),e.displayPromoCodeModal=!0,t.prev=4,t.next=7,e.resetPromocodeData();case 7:e.promoCodeMessage="Promocode ".concat(n," is removed. Please add a new promocode, or click close to continue"),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(4),console.error("Error removing promocode:",t.t0.response?t.t0.response.data:t.t0.message),e.promoCodeMessage="Failed to remove promocode ".concat(n,". Please try again");case 14:t.next=18;break;case 16:e.promoCodeMessage="",e.displayPromoCodeModal=!0;case 18:case"end":return t.stop()}}),t,null,[[4,10]])})))()},closePromoModal:function(){this.$nuxt.$emit("removeBodyClass","state--modal-open"),this.displayPromoCodeModal=!1},backButton:function(){this.instance.hasSeatmap||window.history.back();var e=this.performancePackageId?"/packages/".concat(this.performancePackageId):"/events/".concat(this.$route.params.event,"/").concat(this.$route.params.instance);this.$router.push(e)},fetchBasket:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.basket.expiry){t.next=3;break}return t.next=3,e.$axios.get("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/basket")).then((function(t){var n;e.$store.commit("updateBasket",{orderId:t.data.orderId,expiry:t.data.expiry,totals:t.data.totals,fees
1Breakdown:t.data.feesBreakdown,contents:t.data.contents,deliveryOptions:t.data.deliveryOptions,contactPreferences:t.data.contactPreferences,messaging:t.data.messaging,properties:t.data.properties,identifiers:t.data.identifiers,settings:t.data.settings,valid:t.data.valid,invalidPerformances:t.data.invalidPerformances,upsellOptions:t.data.upsellOptions,multibuyOffers:(null===(n=t.data)||void 0===n?void 0:n.multibuyOffers)||[]}),e.$nuxt.$emit("basketUpdate",t.data.totals.productCount,t.data.expiry)})).catch((function(e){console.error(e)}));case 3:case"end":return t.stop()}}),t)})))()},fetchSessionDetails:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.$route.path.includes("authentication")||e.$route.path.includes("/update-password")){t.next=4;break}if(e.session.isLoggedIn){t.next=4;break}return t.next=4,e.$axios.get("/session-service/".concat(e.$cookies.get("viaduktid"),"/session-details"),{params:{accountcredit:!0,attributes:!0,constituencies:!0}}).then((function(t){var n;e.$store.commit("updateSession",t.data),null!==(n=t.data)&&void 0!==n&&n.isLoggedIn&&e.$nuxt.$emit("loggedIn",!0)})).catch((function(t){e.$store.commit("updateSession",{isLoggedIn:!1,isGuest:!1,modeOfSaleId:0,customer:0}),console.error(t)}));case 4:case"end":return t.stop()}}),t)})))()}})},w=(n(264),n(4)),component=Object(w.a)(k,(function(){var e,t,n=this,o=n._self._c;return o("Fragment",[o("header",{staticClass:"c-header"},[o("a",{staticClass:"c-header__jump",attrs:{"aria-label":n.$t("controls.skip-to-content"),href:"#content-top"}},[n._v("\n      "+n._s(n.$t("controls.skip-to-content"))+"\n    ")]),n._v(" "),o("a",{staticClass:"c-header__jump c-header__jump--syos",attrs:{"aria-label":n.$t("controls.skip-to-seat-map"),href:"#syos-access"}},[n._v("\n      "+n._s(n.$t("controls.skip-to-seat-map"))+"\n    ")]),n._v(" "),o("div",{staticClass:"c-header__wrap o-wrapper"},[n.features.headerLogoIcon?o(n.clientHeaderIconComponent,{tag:"component"}):n._e(),n._v(" "),o("a",{staticClass:"c-header__logo",attrs:{href:n.homeURL,"data-action":"header-logo"}},[o("img",{attrs:{src:n.logo.src,alt:n.logo.alt,role:"img"}}),n._v(" "),o("span",{staticClass:"u-hidden-visually"},[n._v(n._s(n.$t("checkout.basket.back-to-listings")))])]),n._v(" "),o("div",{staticClass:"c-header__meta u-hidden-print"},[n.features.promoCodeInHeader?o("button",{class:n.buttonClass(),attrs:{id:"add-promo-code","data-action":"promo-code-modal"},on:{click:function(e){return e.preventDefault(),n.showPromoModal()}}},[n._v("\n        "+n._s(n.promoCodeLabel)+"\n        ")]):n._e(),n._v(" "),n.displayPromoCodeModal?o("PromoCodeModal",{attrs:{message:n.promoCodeMessage},on:{close:function(e){return n.closePromoModal()}}}):n._e(),n._v(" "),o("router-link",{staticClass:"c-header__account",attrs:{"data-action":"header-account",to:n.accountLink(),title:"".concat(n.$t("account.title.account")).concat(n.loggedInMessage)}},[n.session.isLoggedIn&&!n.session.isGuest?o("div",{staticClass:"c-header__logged-in-indicator"}):n._e(),n._v(" "),o("i",{staticClass:"fas fa-user",attrs:{"aria-hidden":"true"}}),n._v(" "),o("span",{staticClass:"u-hidden-visually"},[n._v("\n            "+n._s(n.$t("account.title.account"))+n._s(n.loggedInMessage)+"\n          ")])]),n._v(" "),o("router-link",{staticClass:"c-header__basket",attrs:{id:"c-timer-container","data-action":"header-basket",to:"/checkout/basket"}},[o("i",{staticClass:"fas fa-shopping-cart",attrs:{"aria-hidden":"true"}}),n._v(" "),o("span",{staticClass:"u-hidden-visually"},[n._v(n._s(n.$t("checkout.titles.basket")))]),n._v(" "),o("span",{staticClass:"basket-amount"},[n._v(n._s(n.basket.totals.productCount))]),n._v(" "),o("span",{staticClass:"u-hidden-visually"},[n._v(n._s(n.$t("site.items")))]),n._v(" "),n.basketTimer&&n.basket.totals.productCount>0&&!n.prefersReduceMotion?o("section",{staticClass:"c-header__timer",attrs:{id:"c-timer-container"}},[o("i",{staticClass:"fas fa-stopwatch",attrs:{"aria-hidden":"true"}}),n._v(" "),o("span",{staticClass:"u-hidden-visually"},[n._v(n._s(n.$t("checkout.timer.session")))]),n._v(" "),o("span",{staticClass:"timer-remaining",attrs:{id:"session-timer",role:"timer","aria-label":n.formattedBasketTimer,"data-seconds":n.formattedBasketSeconds}},[n._v("\n              "+n._s(n.formattedBasketTimer)+"\n            ")]),n._v(" "),o("div",{staticClass:"u-hidden-visually",attrs:{id:"session-alert",role:"alert","aria-live":"assertive"}})]):n._e()]),n._v(" "),n.languages.length>1&&n.languages.length<=2?o("ul",{staticClass:"c-header__language"},n._l(n.languages,(function(e){return o("li",{key:e.code,class:n.languageClass(e.code),attrs:{id:"lang_".concat(e.code)}},[o("a",{attrs:{"data-action":"header-".concat(e.code),"aria-label":e.label,href:"#","aria-current":n.language===e.code},on:{click:function(t){return t.preventDefault(),n.setLanguage(e.code)}}},[n._v("\n              "+n._s(e.displayCode)+"\n            ")])])})),0):n._e(),n._v(" "),n.languages.length>=3?o("select",{staticClass:"c-header__language-select o-select",on:{change:function(e){return e.preventDefault(),n.setLanguage(e.target.value)}}},n._l(n.languages,(function(e){return o("option",{key:e.code,attrs:{id:"lang_".concat(e.code),"data-action":"header-".concat(e.code),"aria-label":e.label},domProps:{value:e.code,selected:e.code===n.language}},[n._v("\n            "+n._s(e.displayCode)+"\n          ")])})),0):n._e(),n._v(" "),null!==(e=n.features)&&void 0!==e&&null!==(t=e.header)&&void 0!==t&&t.link?o("a",{class:n.features.header.link.class,attrs:{href:n.features.header.link.url,target:"new"}},[n._v("\n          "+n._s(n.features.header.link.text[n.language])+"\n          "),o("span",{staticClass:"u-hidden-visually"},[n._v(n._s(n.$t("link.new-window")))])]):n._e()],1)],1)]),n._v(" "),o("section",{staticClass:"c-mobile-toolbar"},[n.displayBackButton?o("button",{staticClass:"c-btn c-btn--tertiary c-btn--back",attrs:{"data-action":"back-to-overview"},on:{click:function(e){return e.preventDefault(),n.backButton()}}},[n._v("\n      "+n._s(n.$t("links.back"))+"\n    ")]):n._e(),n._v(" "),n.features.promoCodeInHeader?o("button",{class:n.buttonClassMobile(),attrs:{id:"add-promo-code-mobile","data-action":"promo-code-modal"},on:{click:function(e){return e.preventDefault(),n.showPromoModal()}}}
1,[n._v("\n      "+n._s(n.promoCodeLabel)+"\n    ")]):n._e()]),n._v(" "),n.prefersReduceMotion&&n.basketTimer&&n.basket.totals.productCount>0?o("div",{staticClass:"timer-reduced-motion",attrs:{"aria-live":"polite"}},[n._v(n._s(n.$t("checkout.timer.prefersReduceMotion",{heldUntilTime:n.formattedBasketExpiryTime}))+"\n  ")]):n._e()])}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{Header:n(62).default})},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o,r=n(81),c={props:{modalData:{type:Object,required:!1,default:function(){return{}}}},data:function(){return{error:!1,loading:!0}},computed:{hasInfoSlot:function(){return!!this.$slots.info},hasFooterSlot:function(){return!!this.$slots.footer}},watch:{modalData:{handler:function(){this.loading=!1},deep:!0,immediate:!0}},mounted:function(){(o=Object(r.a)("info-modal",!0)).activate(),this.isScrollableContent()},beforeDestroy:function(){o.deactivate()},methods:{isScrollableContent:function(){var e=document.getElementById("modalDescription"),t=e.querySelector(".c-modal-row");t&&t.clientHeight>window.innerHeight&&(e.tabIndex=0);var n=document.querySelector(".c-modal__footer");if(n){var o=n.querySelector(".c-modal__actions");o&&o.clientHeight>window.innerHeight&&(o.tabIndex=0)}},close:function(){this.$emit("close",this.modalData)}}},d=n(4),component=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"c-modal-backdrop",on:{click:function(t){return t.target!==t.currentTarget?null:e.close.apply(null,arguments)}}},[t("div",{staticClass:"c-modal c-modal--small",attrs:{id:"info-modal",role:"dialog","aria-labelledby":"modalTitle","aria-describedby":"modalDescription","aria-modal":"true",tabindex:"0"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),e.close.apply(null,arguments))}}},[t("header",{staticClass:"c-modal__header",attrs:{id:"modalTitle"}},[t("div",{staticClass:"c-modal__title"},[e._t("header")],2)]),e._v(" "),t("section",{staticClass:"c-modal__body",attrs:{id:"modalDescription"}},[e.hasInfoSlot?t("div",{staticClass:"c-modal__info"},[e._t("info")],2):e._e(),e._v(" "),t("section",{staticClass:"c-modal-row",attrs:{tabindex:"0"}},[e._t("body")],2)]),e._v(" "),e.hasFooterSlot?t("section",{staticClass:"c-modal__footer"},[e._t("footer")],2):e._e()])])])}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{Header:n(62).default})},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(207),r=function(e,t){var n=document.getElementById(e),r='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',c=n.querySelectorAll(r)[0],d=n.querySelectorAll(r),l=d[d.length-1];return n.addEventListener("keydown",(function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===c&&(l.focus(),e.preventDefault()):document.activeElement===l&&(c.focus(),e.preventDefault()))})),Object(o.a)("#".concat(e),{returnFocusOnDeactivate:!0,allowOutsideClick:t,escapeDeactivates:!1,onActivate:function(){n.classList.add("trap"),n.classList.add("is-active")},onDeactivate:function(){n.classList.remove("trap"),n.classList.remove("is-active"),n.removeEventListener("keydown",event)}})}},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o={props:{notification:{type:Object,required:!0}},data:function(){return{promptClass:"o-prompt o-prompt--".concat(this.notification.class," ").concat(this.notification.additionalClasses?this.notification.additionalClasses:""),notificationMessage:!1}},mounted:function(){var e=this;setTimeout((function(){e.notificationMessage=!0}),10)}},r=(n(259),n(260),n(4)),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("section",{class:e.promptClass,attrs:{"aria-live":"polite"}},[e.notificationMessage?t("div",[e.notification.html?t("div",{domProps:{innerHTML:e._s(e.notification.html)}}):e._e(),e._v(" "),e.notification.message?t("p",[e._v("\n      "+e._s(e.notification.message)+"\n    ")]):e._e()]):e._e()])}),[],!1,null,"04914f06",null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);n(109);var o=n(1),r=(n(6),{props:{notification:{type:Object,required:!0},notificationData:{type:Array,required:!0}},data:function(){return{loading:!1,promptClass:"o-prompt o-prompt--".concat(this.notification.class)}},methods:{removeGiftVouchers:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var data,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,(data={}
1).vouchers=JSON.stringify(e.notificationData),n=e.$encodeDataString(data),t.next=6,e.$axios.post("/checkout-service/vouchers-remove",n,{crossDomain:!0,withCredentials:!0}).catch((function(){e.loading=!1}));case 6:t.sent&&e.$nuxt.$emit("updateBasket",!0,!1);case 8:case"end":return t.stop()}}),t)})))()}}}),c=n(4),component=Object(c.a)(r,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-panel-row"},[t("section",{class:e.promptClass},[t("div",{domProps:{innerHTML:e._s(e.notification.html)}}),e._v(" "),t("button",{staticClass:"c-btn c-btn--secondary",attrs:{disabled:e.loading},on:{click:function(t){return t.preventDefault(),e.removeGiftVouchers()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.removeGiftVouchers()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.removeGiftVouchers()}]}},[e._v("\n      "+e._s(e.notification.link)+"\n    ")])])])}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o=n(1),r=(n(6),n(63),{props:{notification:{type:Object,required:!0},notificationData:{type:Number,required:!1,default:0}},data:function(){return{language:this.$cookies.get("lang"),loading:!1,promptClass:"o-prompt o-prompt--".concat(this.notification.class)}},methods:{emptyBasket:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={productType:"empty-basket",removalType:null,item:[]},t.next=3,e.$axios.post("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/remove-from-basket"),n).then(Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.$nuxt.$emit("updateAccountCredit"),e.$nuxt.$emit("refreshBasket",!0),t.next=4,e.fetchSessionDetails();case 4:case"end":return t.stop()}}),t)}))));case 3:case"end":return t.stop()}}),t)})))()},fetchSessionDetails:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get("/session-service/".concat(e.$cookies.get("viaduktid"),"/session-details"),{params:{accountcredit:!0,attributes:!0,constituencies:!0}}).then(function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.updateModeOfSale(n.data.modeOfSaleId);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},updateModeOfSale:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.$axios.put("/checkout-service/".concat(t.$cookies.get("viaduktid"),"/basket-properties"),{modeOfSaleId:e});case 2:case"end":return n.stop()}}),n)})))()}}}),c=r,d=n(4),component=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-panel-row"},[t("section",{class:e.promptClass},[t("h3",[e._v(e._s(e.notification.title[e.language]))]),e._v(" "),t("div",{domProps:{innerHTML:e._s(e.notification.description[e.language])}}),e._v(" "),t("button",{staticClass:"c-btn c-btn--secondary",attrs:{disabled:e.loading},on:{click:function(t){return t.preventDefault(),e.emptyBasket()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emptyBasket()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.emptyBasket()}]}},[e._v("\n      "+e._s(e.notification.button[e.language])+"\n    ")])])])}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);n(109);var o=n(1),r=(n(6),n(63),{props:{notification:{type:Object,required:!0},notificationData:{type:Number,required:!0}},data:function(){return{loading:!1,promptClass:"o-prompt o-prompt--".concat(this.notification.class)}},methods:{emptyBasket:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.$nuxt.$emit("saveReservation",!0),t.next=3,e.$nuxt.$emit("resetSession",!0);case 3:setTimeout((function(){location.reload()}),50);case 4:case"end":return t.stop()}}),t)})))()}}}),c=n(4),component=Object(c.a)(r,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-panel-row"},[t("section",{class:e.promptClass},[t("div",{domProps:{innerHTML:e._s(e.notification.html)}}),e._v(" "),t("button",{staticClass:"c-btn c-btn--secondary",attrs:{disabled:e.loading},on:{click:function(t){return t.preventDefault(),e.emptyBasket()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emptyBasket()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.emptyBasket()}]}},[e._v("\n      "+e._s(e.notification.link)+"\n    ")])])])}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o={props:{notification:{type:Object,required:!0}},data:function(){return{promptClass:"o-prompt o-prompt--".concat(this.notification.class," ").concat(this.notification.additionalClasses?this.notification.additionalClasses:""),notificationMessage:!1}},mounted:function(){var e=this;setTimeout((function(){e.notificationMessage=!0}),10)}},r=(n(261),n(4)),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("section",{class:e.promptClass,attrs:{id:"spektrix-error-message","aria-live":"polite"}},[e.notificationMessage?t("div",[e.notification.data.description?t("p",[e._v("\n      "+e._s(e.notification.data.description)+"\n    ")]):e._e(
1),e._v(" "),t("ul",e._l(e.notification.data.nodeListItems,(function(n,o){return t("li",{key:o},[e._v("\n        "+e._s(n)+"\n      ")])})),0)]):e._e()])}),[],!1,null,"7d758f2b",null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o={props:{notification:{type:Object,required:!0},notificationData:{type:String,required:!0}},data:function(){return{language:this.$cookies.get("lang"),loading:!1,promptClass:"o-prompt o-prompt--".concat(this.notification.class)}},methods:{}},r=n(4),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-panel-row"},[t("section",{class:e.promptClass},[t("h3",[e._v(e._s(e.notification.title[e.language]))]),e._v(" "),t("div",[t("p",[e._v(e._s(e.notification.description[e.language]))])]),e._v(" "),t("a",{staticClass:"c-btn c-btn--secondary",attrs:{href:e.notification.buttonLink}},[e._v("\n      "+e._s(e.notification.button[e.language])+"\n    ")])])])}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o=n(1),r=(n(6),n(12),n(63),n(24)),c={props:{notification:{type:Object,required:!0}},computed:Object(r.d)(["session"]),data:function(){return{promptClass:"o-prompt o-prompt--".concat(this.notification.class," ").concat(this.notification.additionalClasses?this.notification.additionalClasses:""),notificationMessage:!1,membershipData:{id:this.notification.data.membership.id,fundId:this.notification.data.membership.fundId,name:this.notification.data.membership.name,price:this.notification.data.membership.price,isUpgrade:!1,isRenewal:!1,requiredFields:[],optionalFields:[]}}},mounted:function(){var e=this;setTimeout((function(){e.notificationMessage=!0}),10)},methods:{addToBasket:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(n=document.getElementById("add-membership-potential-discounts")).disabled=!0,n.classList.add("c-btn--loading"),o={productType:"membership",purchaseType:null,items:[e.membershipData]},t.next=6,e.$axios.post("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/add-to-basket"),o).then((function(t){e.$nuxt.$emit("basketUpdate",t.data.basketTotalCount,t.data.updatedExpiry),e.$store.commit("updateBasket",{expiry:t.data.updatedExpiry,totals:{productCount:t.data.basketTotalCount,value:t.data.basketTotalValue}}),e.$nuxt.$emit("updateAccountCredit"),e.dataLayerAddProducts(),e.$nuxt.$emit("refreshBasket",!0)})).catch((function(t){e.membershipErrorNotification("",t),e.disableSelect=!1,n.disabled=!1,n.classList.remove("c-btn--loading")}));case 6:case"end":return t.stop()}}),t)})))()},dataLayerAddProducts:function(){window.dataLayer.push({event:"add_to_cart",ecommerce:{currency:"GBP",value:Number(parseFloat(this.membershipData.price).toFixed(2)),products:[{item_name:this.membershipData.name,item_id:this.membershipData.id,price:Number(parseFloat(this.membershipData.price).toFixed(2)),item_variant:"membership",item_category:"membership",index:1}]}})}}},d=(n(262),n(263),n(4)),component=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("section",{class:e.promptClass,attrs:{"aria-live":"polite"}},[e.notification.data.title?t("div",{domProps:{innerHTML:e._s(e.notification.data.title)}}):e._e(),e._v(" "),e.notification.data.description?t("span",{domProps:{innerHTML:e._s(e.notification.data.description)}}):e._e(),e._v(" "),t("button",{staticClass:"c-btn c-btn--primary",attrs:{id:"add-membership-potential-discounts","data-action":"membership-add-potential-discounts"},on:{click:function(t){return t.preventDefault(),e.addToBasket()}}},[t("span",{staticClass:"content"},[e._v("\n      "+e._s(e.$customTextOutput("checkout.basket.potential-discount-cta"))+"\n    ")]),e._v(" "),e._m(0)]),e._v(" "),e.notification.data.options?t("span",{domProps:{innerHTML:e._s(e.notification.data.options)}}):e._e(),e._v(" "),e.notification.data.login&&!e.session.isLoggedIn?t("span",{domProps:{innerHTML:e._s(e.notification.data.login)}}):e._e()])}),[function(){var e=this._self._c;return e("span",{staticClass:"loading"},[e("i",{staticClass:"fas fa-circle-notch fa-spin"})])}],!1,null,"f97690a4",null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o=n(1),r=(n(6),{props:{notification:{type:Object,required:!0}},data:function(){return{language:this.$cookies.get("lang"),loading:!1,promptClass:"o-prompt o-prompt--".concat(this.notification.class)}},methods:{emptyBasket:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={productType:"empty-basket",removalType:null,item:[]},t.next=3,e.$axios.post("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/remove-from-basket"),n).then(Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.$nuxt.$emit("updateAccountCredit"),e.$nuxt.$emit("refreshBasket",!0),t.next=4,e.fetchSessionDetail
1s();case 4:case"end":return t.stop()}}),t)}))));case 3:case"end":return t.stop()}}),t)})))()},fetchSessionDetails:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get("/session-service/".concat(e.$cookies.get("viaduktid"),"/session-details"),{params:{accountcredit:!0,attributes:!0,constituencies:!0}}).then(function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.updateModeOfSale(n.data.modeOfSaleId);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},updateModeOfSale:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.$axios.put("/checkout-service/".concat(t.$cookies.get("viaduktid"),"/basket-properties"),{modeOfSaleId:e});case 2:case"end":return n.stop()}}),n)})))()}}}),c=r,d=n(4),component=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("section",{class:e.promptClass,attrs:{"aria-live":"polite"}},[t("div",[e.notification.html?t("div",{domProps:{innerHTML:e._s(e.notification.html)}}):e._e(),e._v(" "),e.notification.message?t("p",[e._v("\n      "+e._s(e.notification.message)+"\n    ")]):e._e()]),e._v(" "),t("button",{staticClass:"c-btn c-btn--secondary",attrs:{disabled:e.loading},on:{click:function(t){return t.preventDefault(),e.emptyBasket()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emptyBasket()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.emptyBasket()}]}},[e._v("\n    "+e._s(e.notification.button)+"\n  ")])])}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";var o={props:{notification:{type:Object,required:!0},notificationData:{type:String,required:!0}},data:function(){return{language:this.$cookies.get("lang"),loading:!1,promptClass:"o-prompt o-prompt--".concat(this.notification.class)}},methods:{emptyBasket:function(){this.$nuxt.$emit("loadingState",!0),this.$nuxt.$emit("emptyBasketFixedSeries",!0),this.$store.commit("emptyBasketAdditionalData",null),this.$nuxt.$emit("basketUpdate",0),this.$cookies.remove("exp",{path:"/"}),this.$nuxt.$emit("loadingState",!0)}}},r=n(4),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-panel-row"},[t("section",{class:e.promptClass},[t("h3",[e._v(e._s(e.notification.title[e.language]))]),e._v(" "),t("div",[t("p",[e._v(e._s(e.notification.description[e.language]))])]),e._v(" "),t("button",{staticClass:"c-btn c-btn--secondary",on:{click:function(t){return t.preventDefault(),e.emptyBasket()}}},[e._v("\n      "+e._s(e.notification.button[e.language])+"\n    ")])])])}),[],!1,null,null,null);t.a=component.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(1),r=(n(6),n(12),{submitPromoCode:function(e,t){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,d,l,m,f,h,v,y;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return c=t.promoCode,d=t.viaduktId,l=null,null!=(m=null===(r={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})||void 0===r?void 0:r.promoCodeAttributes)&&m[c.toLowerCase()]&&(f=m[c.toLowerCase()],l=[{name:f.name,value:f.value}]),o.prev=4,o.next=7,n.$axios.post("/promotion-service/".concat(d,"/add-promocode"),{promocode:c,attributes:l});case 7:return h=o.sent,v=h.data,e.commit("setPromoCodeResponse",v),e.commit("setPromoCode",c),o.abrupt("return",h.data);case 14:return o.prev=14,o.t0=o.catch(4),console.error(o.t0),o.abrupt("return",null===o.t0||void 0===o.t0||null===(y=o.t0.response)||void 0===y?void 0:y.status);case 18:case"end":return o.stop()}}),o,null,[[4,14]])})))()},removePromoCode:function(e,t){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,d,l,m,f;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return c=t.promoCode,d=t.viaduktId,l=null,null!=(m=null===(r={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})||void 0===r?void 0:r.promoCodeAttributes)&&m[c.toLowerCase()]&&(f=m[c.toLowerCase()],l=[{name:f.name,value:f.value}]),o.prev=4,o.next=7,n.$axios.post("/promotion-service/".concat(d,"/remove-promocode"),{promocode:c,attributes:l});case 7:e.commit("resetPromoCode"),o.next=13;break;case 10:o.prev=10,o.t0=o.catch(4),console.error("Error removing promocode:",o.t0.response?o.t0.response.data:o.t0.message);case 13:case"end":return o.stop()}}),o,null,[[4,10]])})))()}});t.default={state:function(){return{modeOfSaleId:"",sourceId:"",promoCode:""}},mutations:{setPromoCodeResponse:function(e,t){e.modeOfSaleId=t.modeOfSaleId,e.sourceId=t.sourceId},setPromoCode:function(e,t){e.promoCode=t},resetPromoCode:function(e){e.promoCode="",e.modeOfSaleId="",e.sourceId=""}},actions:r,getters:{getModeOfSaleId:function(e){return e.modeOfSaleId},getSourceId:function(e){return e.sourceId},getPromoCode:function(e){return e.promoCode}}}},function(e,t,n){"use strict";n.r(t);var o={data:function(){return{language:this.$cookies.get("lang"),ariaLiveInput:null}},mounted:function(){var e=this;this.$nuxt.$on("updateAriaLive",(function(input){e.ariaLiveInput="",setTimeout((function(){e.ariaLiveInput=input}),5)}))}},r=n(4),component=Object(r.a)(o,(function(){var e=this;return(0,e._self._c)("section",{staticClass:"u-hidden-visually",attrs:{"aria-live":"assertive"}},[e._v(e._s(e.ariaLiveInput))])}),[],!1,null,null,null);t.default=component.exports},,,,function(e,t,n){"use strict";t.a=function(e){var t=e.$cookies;t.get("lang")||t.set("lang","en",{path:"/",maxAge:604800,secure:!0,sameSite:"Lax"}),t.remove("i18n_redirected")}},function(e,t,n){"use strict";(function(e,o){var r=n(8),c=n(11),d=(n(111),n(19),n(9),n(18),n(14),n(20),n(26),n(150),n(22),n(29),n(40),n(41),n(80),n(17),n(25),n(15),n(13),n(10),n(32),n(12),n(36),n(37),n(2));function l(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?l(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}d.a.prototype.$groupArrayOfObjectsByProp=function(e,t){var map=new Map(Array.from(e,(function(e){return[e[t],[]]})));e.forEach((function(e){return map.get(e[t]).push(e)}));var n=Array.from(map.values()),o=[];return n.forEach((function(element){o.push(element)})),o},d.a.prototype.$groupArrayOfObjectsByNestedProp=function(e,t){for(var n={},o=t.split("."),i=0;i<e.length;i++){var r=o.reduce((function(e,t){return e&&e[t]}),e[i]);n[r]||(n[r]=[]),n[r].push(e[i])}return Object.values(n)},d.a.prototype.$groupByMultipleProps=function(e,t){var n={};return e.forEach((function(e){var o=JSON.stringify(t(e));n[o]=n[o]||[],n[o].push(e)})),Object.keys(n).map((function(e){return n[e]}))},d.a.prototype.$encodeDataString=function(data){return Object.keys(data).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(data[e])})).join("&")},d.a.prototype.$encodeBase64=function(t){return e.from(t,"utf-8").toString("base64")},d.a.prototype.$decodeBase64=function(t){return e.from(t,"base64").toString("utf-8")},d.a.prototype.$patternMatch=function(input,template){try{for(var e=0,t=0;e<template.length;){if(t>input.length-1){template=template.substring(0,e);break}template[e]!==input[e]?("x"===template[e]&&(template=template.substring(0,e)+input[t]+template.substring(e+1),input[t],t++),e++):(e++,t++)}return template}catch(e){return""}},d.a.prototype.$validationPhoneNumber=function(e){var t,n=null===(t={nuxt:{ignore:{pages:["pages/listings/education.vue","pages/account/account-credit.vue"],components:[]}},text:{hints:{phone:""},override:{}},primaryAccountPage:"your-details",accountNavigation:["your-details","addresses","contact-preferences","your-orders","memberships","giving-history","access","update-password"],accountProfileComponents:["AccountYourDetailsForm"],membershipAccountSettings:{hideInactiveMemberships:!1,hideByMembershipId:[],noRenewalMembershipId:[],displayExpiry:!0,displayRenewal:!0,amountFirstMemberships:!0,renewalTypes:["renewal"],displayMembershipStatus:!1,membershipCustomNames:{},statusDescription:{}},memberships:[{id:3,constituencyTypeId:14,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:6,constituencyTypeId:16,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:8,constituencyTypeId:15,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:11,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:12,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:13,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:14,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}}],aux:[{id:"the-circle-lounge",api:"food-and-drink"},{id:"proscenium-lounge",altId:"the-proscenium-lounge",api:"food-and-drink"},{id:"the-proscenium-lounge",altId:"proscenium-lounge",api:"food-and-drink"},{id:"merchandise",api:"merchandise"},{id:"beam2025",group:{name:{en:"Beam Lunchbags"}},api:"food-and-drink"},{id:"moulin-rouge",altId:"plan-your-experience---moulin-rouge!-the-musical",group:{name:{en:"Moulin Rouge! The Mu
1sical Programmes & Treats"},description:{en:"<p>Pre-purchase a programme or one of our exclusive bundles to make a saving in advance of your visit. Our bundles are an ideal way to treat yourself or give as a gift alongside tickets!</p><br><p>A voucher will be attached to your order which can be exchanged on the day of your visit at any Hippodrome Bar.</p><br><p><strong>Please make sure you choose the correct date and time if you have already booked tickets for a certain performance.</strong></p>"}},api:"food-and-drink"}],accessScheme:{enabled:!0,vendor:"nimbus",components:{accountAccess:"Nimbus"},priceSelection:{notification:"If you would like to choose access seating please use the seatmap or call our access line on 0121 689 1060."},signup:{description:{en:"We offer concessions for people with access requirements. These vary from show to show. It is always best to book through our Access phone line 0121 689 1060 when booking accessible performances."},url:"https://app.accesscard.org.uk/apply/birmingham-hippodrome"},attributeName:"Access Card Membership Number",allocations:[{id:248,name:"Audio described"},{id:249,name:"BSL"},{id:250,name:"Captioned"},{id:251,name:"Level access"},{id:253,name:"Access companion"}],mappingBy:"constituencies",mappingId:"Access",mappedIds:[{typeId:144,name:"Assistance dog",description:"Customer needs assistance dog.",image:"dog.jpg",allocations:[248],aisle:!0},{typeId:145,name:"Hearing assistance",description:"Customer has difficulty with audible information.",image:"hearing.jpg",allocations:[249,250],aisle:!1},{typeId:146,name:"Hearing assistance",description:"Customer has difficulty with audible information.",image:"hearing.jpg",allocations:[249,250],aisle:!1},{typeId:147,name:"Visual assistance",description:"Customer has difficulty with visual information.",image:"visual.jpg",allocations:[248],aisle:!1},{typeId:148,name:"Plus one",description:"Customer needs assistance.",image:"plus-one.jpg",allocations:[],aisle:!1},{typeId:149,name:"Toilet",description:"Customer may need urgent access to toilet. May have hidden impairment.",image:"toilet.jpg",allocations:[],aisle:!0},{typeId:150,name:"Distances",description:"Customer has difficulty with distances; perhaps wheelchair user unable to self-propel distances or people with limited mobility.",image:"distances.jpg",allocations:[],aisle:!0},{typeId:151,name:"Wheelchair",description:"Customer needs wheelchair accessible facilities.",image:"wheelchair.jpg",allocations:[251],aisle:!0},{typeId:152,name:"Standing or queuing",description:"Customer has difficulty with queuing or standing.",image:"queue.jpg",allocations:[],aisle:!0},{typeId:153,name:"Other",description:"Customer may have other relevant needs.",image:"other.jpg",allocations:[],aisle:!1}]},registerFormFields:{prefix:{display:!1,required:!1},middleName:{display:!1,required:!1},phone:{display:!0,required:!0},address:{display:!0,required:!0}},accountFormFields:{},addressFormFields:{countyState:{display:!0,required:!1}},priceBands:{top:"A+",bottom:"E",copy:{en:"<p>For most of our shows, the seats and rows in the auditorium are divided up into areas called 'price bands' which are usually called A+, A, B, C, D and E.</p><p>Seats in <strong>Price Band A+ are usually the highest price and closest to the stage</strong>, whereas seats in <strong>Price Band E are the lowest price and furthest from the stage.</strong></p>"},gaText:null},seatTypesExplained:{"transfer seat":{en:"This seat type allows easy transfer from a wheelchair (or similar) where guests would prefer to sit in a standard seat."}},seatTypesAdditionalDescription:[{id:901,description:"companion",text:{en:"Add two seats at this price and the companion discount will be applied at checkout."}},{id:822,description:"audio description user/compani",text:{en:"Add two seats at this price and the companion discount will be applied at checkout."}},{id:662,description:"wno multi-buy",text:{en:"Select for WNO Multi-Buy package, discount will apply (if eligible) in the basket."}},{id:912,description:"babe in arms",text:{en:"Babes in arms 18 months and under free of charge. Discount will be applied at checkout with a valid adult ticket in the basket."}},{id:77,description:"half price child",text:{en:"Please make sure a Standard price ticket is in your basket for this discount to be applied."}}],definitionsToUse:[{component:"Standard",description:{en:"Standard"}},{component:"Unavailable",description:{en:"Unavailable"}},{component:"Wheelchair",description:{en:"Wheelchair"}},{component:"Misc",description:{en:"Accessible seating recommended for you"}},{component:"RestrictedView",description:{en:"Potentially restricted view"}},{component:"Information",description:{en:"Information"}},{component:"Selected",description:{en:"Selected"}}],giftVouchers:{title:{en:"Terms and conditions"},body:{en:"<ul class='u-list-padding'><li>Birmingham Hippodrome gift vouchers can be used as full or part-payment towards tickets and/or prepaid packages in The Circle Lounge or The Proscenium Lounge.</li><li>If the value of the voucher exceeds the value of the purchase, change will be left as a balance on the existing voucher to use towards your next purchase.</li><li>If the value of your purchase exceeds the value of your gift vouchers, the customer must pay the difference.</li><li>Vouchers expire after two years from the date of purchase.</li><li>Vouchers are redeemable online, over the phone or at the counter in line with current opening times.</li><li>Vouchers may not be exchanged for tickets, goods or services already supplied or exch
1anged for a monetary refund.</li><li>Vouchers cannot be replaced if lost or stolen or damaged.</li><li>All purchases are subject to availability and standard Conditions of Sale.</li><li>Please be aware we do not accept SOLT Theatre Tokens.</li></ul>"},amounts:[10,25,50,100,250],voucherRegex:"^([a-zA-Z0-9]{4}[-]{1}[a-zA-Z0-9]{6,7}$)",voucherFormat:"xxxx-xxxxxxx"},phoneNumberFormatting:{regex:"^[0-9]+$"},loginPriceMessaging:{enabled:!0,message:{en:"If you are a member or access card holder, please log in to access your additional prices or seat allocations."}},wheelchairPriceTypeIds:["350","908"],wheelchairPriceTypes:["Wheelchair/Comp","Wheelchair User"],companionPriceTypes:["Access/Companion","Wheelchair User/Companion"],extensions:[{id:"phone",component:"ExtensionsPhoneNumber",active:!0,displayOn:["register"],helperText:{en:"Sometimes, we may need to contact you by phone due to cancellations or last minute, important changes to your booking. We prefer mobile numbers (if possible) so we can quickly inform you of things like this by text."}},{id:"address",component:"ExtensionsAddress",active:!0,displayOn:["register"]},{id:"secure-my-booking",component:"ExtensionsSecureMyBooking",active:!0,displayOn:["checkout-review"],exceptions:{packages:[222]},defaultValue:1.95},{id:"giftAid",component:"ExtensionsGiftAid",active:!0,displayOn:["your-details"]},{id:"contactPreferences",component:"ExtensionsContactPreferencesContactPermissions",active:!0,displayOn:["register"],displayCategories:["Ticket Offers & Events","Support Us"]},{id:"contactPreferencesLegitInterest",component:"ExtensionsContactPreferencesContactPermissionsLegitInterest",active:!0,displayOn:["checkout-contact-preferences"],legitInterestText:{en:"<p>Birmingham Hippodrome is committed to protecting your personal data. We process your data for certain legitimate business purposes, in order to provide you with the best experiences and most relevant information about our activities as an Arts Charity. Learn more in our <a href='https://www.birminghamhippodrome.com/privacy-policy-2/'>Privacy Policy</a>.</p><p>We would love to keep you updated on the latest news, events, hospitality and ways in which to engage with and support Birmingham Hippodrome.  You will need to repeat this step each time you book to remain opted in or you can unsubscribe at any time.</p><p>Please untick the box(es) below to indicate by which method(s) you do NOT want to hear from us. <a href='https://www.birminghamhippodrome.com/privacy-policy-2/'>See here for our Privacy Policy</a>.</p>"},permissionTypeIds:[{id:"2",text:{en:"Email"}},{id:"4",text:{en:"Phone"}}]},{id:"accessNotes",component:"ExtensionsAccessNotes",active:!0,displayOn:["checkout-basket"]}],loginPage:"two-step-login",checkout:[{id:"basket",name:{en:"Basket"},components:{header:"BasketHeaderSummary",content:"Basket",alternativeContent:"EmptyBasket"},needsUserToBeLoggedIn:!1,conditional:!1,active:!0,upsells:[{id:"round-up-donation",autoSelect:!0,minRoundUp:10,roundUpFormula:20,values:[],contributionId:1,fundId:115,displayOther:!0,name:{en:"Round up donation"},subline:{en:"<p><strong>Donate now</strong> to secure the future of Birmingham Hippodrome for generations to come - thank you!</p>"},description:{en:"Thank you for sharing our belief in the value of the arts and culture for all communities in Birmingham and the city-region. Your donation will help us bring our charitable ambitions to life because Arts Matter!"},cta:{en:"Round up my order"},dataAction:"basket-donation",component:"RoundUpDonation",conditionals:{contents:{includes:[],excludes:["donations"]}}}]},{id:"account",name:{en:"Account"},components:{header:"AccountHeaderSummary",content:"AccountTwoStepLogin",alternativeContent:"AccountDetails"},needsUserToBeLoggedIn:!1,conditional:!1,active:!0},{id:"delivery",name:{en:"Delivery"},components:{header:"DeliveryHeaderSummary",content:"Delivery"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0,defaultDeliveryOption:{giftCertificates:!0},hiddenOptionsUnlessSelected:[9]},{id:"add-ons",name:{en:"Plan your experience"},components:{header:"AddOnsHeaderSummary",content:"AddOns"}
1,needsUserToBeLoggedIn:!0,conditional:!0,active:!0,relatedInstances:{displayDate:!0,displayTime:!0},categories:{"the-circle-lounge":"foodAndDrink","proscenium-lounge":"foodAndDrink","the-proscenium-lounge":"foodAndDrink","mr---plan-your-experience":"foodAndDrink","plan-your-experience---mrtm":"foodAndDrink","beam-food---lunchbag-thursday":"foodAndDrink","beam-food---lunchbag-friday":"foodAndDrink",merchandise:"merchandise",memberships:"memberships"},categoryGroups:[{id:"the-proscenium-lounge",group:["the-proscenium-lounge","proscenium-lounge"]}],additionalConfiguration:{"the-circle-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id",wrapAroundTextHeader:!0},"proscenium-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id"},"the-proscenium-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id"},"mr---plan-your-experience":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"moulin-rouge",orderBy:"id"},"plan-your-experience---mrtm":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"moulin-rouge",orderBy:"id"},"beam-food---lunchbag-thursday":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"beam",orderBy:"id"},"beam-food---lunchbag-friday":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"beam",orderBy:"id"}},membershipConditional:!1},{id:"contact-preferences",name:{en:"Contact preferences"},components:{header:"ContactPreferencesHeaderSummary",content:"ContactPreferences"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0},{id:"memberships",name:{en:"Become a member"},components:{header:"MembershipsHeaderSummary",content:"Memberships"},needsUserToBeLoggedIn:!0,conditional:!0,membershipsToInclude:["8"],active:!0},{id:"gift-aid",name:{en:"Gift Aid"},components:{header:"GiftAidHeaderSummary",content:"GiftAid"},needsUserToBeLoggedIn:!0,conditional:!0,active:!0},{id:"upsells",name:{en:"Upsells"},components:{header:"UpsellsHeaderSummary",content:"Upsells"},needsUserToBeLoggedIn:!0,conditional:!0,active:!1},{id:"review",name:{en:"Review my booking"},components:{header:"ReviewHeaderSummary",content:"Review"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0},{id:"payment",name:{en:"Payment"},components:{header:"PaymentHeaderSummary",content:"Payment"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0}]})||void 0===t?void 0:t.phoneNumberFormatting;if(e&&n){var o,r;if(null!=n&&n.regex&&!e.match(n.regex))return!1;if(null!=n&&null!==(o=n.length)&&void 0!==o&&o.min&&null!=n&&null!==(r=n.length)&&void 0!==r&&r.max&&(e.length<n.length.min||e.length>n.length.max))return!1}return!0},d.a.prototype.$capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},d.a.prototype.$capitalizeFirstLetterEachWord=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.replace(/(^\w{1})|(\s+\w{1})/g,(function(e){return e.toUpperCase()}));return t?n.replace("Ii","II").replace("Iii","III").replace("Iv","IV").replace("Vi","VI").replace("Ix","IX"):n},d.a.prototype.$activeCheckoutStages=function(e,t){var n,o=[],r=f(e);try{var c=function(){var e=n.value;if(e.active){var r,c,d,l,m,h,v,y;if((!e.conditional||e.conditional&&null!=t&&null!==(r=t.settings)&&void 0!==r&&r.conditionals[e.id])&&o.push(e),null!=t&&null!==(c=t.settings)&&void 0!==c&&null!==(d=c.conditionals)&&void 0!==d&&d.alternateBookingMode&&null!=e&&e.hideInAlternateBookingMode&&(o=o.filter((function(t){return t.id!==e.id}))),"add-ons"===e.id&&null!=e&&e.membershipConditional)if(null!=t&&null!==(h=t.settings)&&void 0!==h&&h.conditionals["add-ons"]&&null!=t&&null!==(v=t.settings)&&void 0!==v&&v.conditionals.memberships&&(null==t||null===(y=t.settings)||void 0===y||!y.conditionals.upsells)){var k,w,x=(null==t||null===(k=t.customer)||void 0===k?void 0:k.constituencies)||[];if(x.length>0)if(null!==(w={nuxt:{ignore:{pages:["pages/listings/education.vue","pages/account/account-credit.vue"],components:[]}},text:{hints:{phone:""},override:{}},primaryAccountPage:"your-details",accountNavigation:["your-details","addresses","contact-preferences","your-orders","memberships","giving-history","access","update-password"],accountProfileComponents:["AccountYourDetailsForm"],membershipAccountSettings:{hideInactiveMemberships:!1,hideByMembershipId:[],noRenewalMembershipId:[],displayExpiry:!0,displayRenewal:!0,amountFirstMemberships:!0,renewalTypes:["renewal"],displayMembershipStatus:!1,membershipCustomNames:{},statusDescription:{}},memberships:[{id:3,constituencyTypeId:14,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:6,constituencyTypeId:16,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:8,constituencyTypeId:15,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:11,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:12,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:13,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:14,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}}],aux:[{id:"the-circle-lounge",api:"food-and-drink"},{id:"proscenium-lounge",altId:"the-proscenium-lounge",api:"food-and-drink"},{id:"the-proscenium-lounge",altId:"proscenium-lounge",api:"food-and-drink"},{id:"merchandise",api:"merchandise"},{id:"beam2025",group:{name:{en:"Beam Lunchbags"}},api:"food-and-drink"},{id:"moulin-rouge",altId:"plan-your-experience---moulin-rouge!-the-musical",group:{name:{en:"Moulin Rouge! The Mu
1sical Programmes & Treats"},description:{en:"<p>Pre-purchase a programme or one of our exclusive bundles to make a saving in advance of your visit. Our bundles are an ideal way to treat yourself or give as a gift alongside tickets!</p><br><p>A voucher will be attached to your order which can be exchanged on the day of your visit at any Hippodrome Bar.</p><br><p><strong>Please make sure you choose the correct date and time if you have already booked tickets for a certain performance.</strong></p>"}},api:"food-and-drink"}],accessScheme:{enabled:!0,vendor:"nimbus",components:{accountAccess:"Nimbus"},priceSelection:{notification:"If you would like to choose access seating please use the seatmap or call our access line on 0121 689 1060."},signup:{description:{en:"We offer concessions for people with access requirements. These vary from show to show. It is always best to book through our Access phone line 0121 689 1060 when booking accessible performances."},url:"https://app.accesscard.org.uk/apply/birmingham-hippodrome"},attributeName:"Access Card Membership Number",allocations:[{id:248,name:"Audio described"},{id:249,name:"BSL"},{id:250,name:"Captioned"},{id:251,name:"Level access"},{id:253,name:"Access companion"}],mappingBy:"constituencies",mappingId:"Access",mappedIds:[{typeId:144,name:"Assistance dog",description:"Customer needs assistance dog.",image:"dog.jpg",allocations:[248],aisle:!0},{typeId:145,name:"Hearing assistance",description:"Customer has difficulty with audible information.",image:"hearing.jpg",allocations:[249,250],aisle:!1},{typeId:146,name:"Hearing assistance",description:"Customer has difficulty with audible information.",image:"hearing.jpg",allocations:[249,250],aisle:!1},{typeId:147,name:"Visual assistance",description:"Customer has difficulty with visual information.",image:"visual.jpg",allocations:[248],aisle:!1},{typeId:148,name:"Plus one",description:"Customer needs assistance.",image:"plus-one.jpg",allocations:[],aisle:!1},{typeId:149,name:"Toilet",description:"Customer may need urgent access to toilet. May have hidden impairment.",image:"toilet.jpg",allocations:[],aisle:!0},{typeId:150,name:"Distances",description:"Customer has difficulty with distances; perhaps wheelchair user unable to self-propel distances or people with limited mobility.",image:"distances.jpg",allocations:[],aisle:!0},{typeId:151,name:"Wheelchair",description:"Customer needs wheelchair accessible facilities.",image:"wheelchair.jpg",allocations:[251],aisle:!0},{typeId:152,name:"Standing or queuing",description:"Customer has difficulty with queuing or standing.",image:"queue.jpg",allocations:[],aisle:!0},{typeId:153,name:"Other",description:"Customer may have other relevant needs.",image:"other.jpg",allocations:[],aisle:!1}]},registerFormFields:{prefix:{display:!1,required:!1},middleName:{display:!1,required:!1},phone:{display:!0,required:!0},address:{display:!0,required:!0}},accountFormFields:{},addressFormFields:{countyState:{display:!0,required:!1}},priceBands:{top:"A+",bottom:"E",copy:{en:"<p>For most of our shows, the seats and rows in the auditorium are divided up into areas called 'price bands' which are usually called A+, A, B, C, D and E.</p><p>Seats in <strong>Price Band A+ are usually the highest price and closest to the stage</strong>, whereas seats in <strong>Price Band E are the lowest price and furthest from the stage.</strong></p>"},gaText:null},seatTypesExplained:{"transfer seat":{en:"This seat type allows easy transfer from a wheelchair (or similar) where guests would prefer to sit in a standard seat."}},seatTypesAdditionalDescription:[{id:901,description:"companion",text:{en:"Add two seats at this price and the companion discount will be applied at checkout."}},{id:822,description:"audio description user/compani",text:{en:"Add two seats at this price and the companion discount will be applied at checkout."}},{id:662,description:"wno multi-buy",text:{en:"Select for WNO Multi-Buy package, discount will apply (if eligible) in the basket."}},{id:912,description:"babe in arms",text:{en:"Babes in arms 18 months and under free of charge. Discount will be applied at checkout with a valid adult ticket in the basket."}},{id:77,description:"half price child",text:{en:"Please make sure a Standard price ticket is in your basket for this discount to be applied."}}],definitionsToUse:[{component:"Standard",description:{en:"Standard"}},{component:"Unavailable",description:{en:"Unavailable"}},{component:"Wheelchair",description:{en:"Wheelchair"}},{component:"Misc",description:{en:"Accessible seating recommended for you"}},{component:"RestrictedView",description:{en:"Potentially restricted view"}},{component:"Information",description:{en:"Information"}},{component:"Selected",description:{en:"Selected"}}],giftVouchers:{title:{en:"Terms and conditions"},body:{en:"<ul class='u-list-padding'><li>Birmingham Hippodrome gift vouchers can be used as full or part-payment towards tickets and/or prepaid packages in The Circle Lounge or The Proscenium Lounge.</li><li>If the value of the voucher exceeds the value of the purchase, change will be left as a balance on the existing voucher to use towards your next purchase.</li><li>If the value of your purchase exceeds the value of your gift vouchers, the customer must pay the difference.</li><li>Vouchers expire after two years from the date of purchase.</li><li>Vouchers are redeemable online, over the phone or at the counter in line with current opening times.</li><li>Vouchers may not be exchanged for tickets, goods or services already supplied or exch
1anged for a monetary refund.</li><li>Vouchers cannot be replaced if lost or stolen or damaged.</li><li>All purchases are subject to availability and standard Conditions of Sale.</li><li>Please be aware we do not accept SOLT Theatre Tokens.</li></ul>"},amounts:[10,25,50,100,250],voucherRegex:"^([a-zA-Z0-9]{4}[-]{1}[a-zA-Z0-9]{6,7}$)",voucherFormat:"xxxx-xxxxxxx"},phoneNumberFormatting:{regex:"^[0-9]+$"},loginPriceMessaging:{enabled:!0,message:{en:"If you are a member or access card holder, please log in to access your additional prices or seat allocations."}},wheelchairPriceTypeIds:["350","908"],wheelchairPriceTypes:["Wheelchair/Comp","Wheelchair User"],companionPriceTypes:["Access/Companion","Wheelchair User/Companion"],extensions:[{id:"phone",component:"ExtensionsPhoneNumber",active:!0,displayOn:["register"],helperText:{en:"Sometimes, we may need to contact you by phone due to cancellations or last minute, important changes to your booking. We prefer mobile numbers (if possible) so we can quickly inform you of things like this by text."}},{id:"address",component:"ExtensionsAddress",active:!0,displayOn:["register"]},{id:"secure-my-booking",component:"ExtensionsSecureMyBooking",active:!0,displayOn:["checkout-review"],exceptions:{packages:[222]},defaultValue:1.95},{id:"giftAid",component:"ExtensionsGiftAid",active:!0,displayOn:["your-details"]},{id:"contactPreferences",component:"ExtensionsContactPreferencesContactPermissions",active:!0,displayOn:["register"],displayCategories:["Ticket Offers & Events","Support Us"]},{id:"contactPreferencesLegitInterest",component:"ExtensionsContactPreferencesContactPermissionsLegitInterest",active:!0,displayOn:["checkout-contact-preferences"],legitInterestText:{en:"<p>Birmingham Hippodrome is committed to protecting your personal data. We process your data for certain legitimate business purposes, in order to provide you with the best experiences and most relevant information about our activities as an Arts Charity. Learn more in our <a href='https://www.birminghamhippodrome.com/privacy-policy-2/'>Privacy Policy</a>.</p><p>We would love to keep you updated on the latest news, events, hospitality and ways in which to engage with and support Birmingham Hippodrome.  You will need to repeat this step each time you book to remain opted in or you can unsubscribe at any time.</p><p>Please untick the box(es) below to indicate by which method(s) you do NOT want to hear from us. <a href='https://www.birminghamhippodrome.com/privacy-policy-2/'>See here for our Privacy Policy</a>.</p>"},permissionTypeIds:[{id:"2",text:{en:"Email"}},{id:"4",text:{en:"Phone"}}]},{id:"accessNotes",component:"ExtensionsAccessNotes",active:!0,displayOn:["checkout-basket"]}],loginPage:"two-step-login",checkout:[{id:"basket",name:{en:"Basket"},components:{header:"BasketHeaderSummary",content:"Basket",alternativeContent:"EmptyBasket"},needsUserToBeLoggedIn:!1,conditional:!1,active:!0,upsells:[{id:"round-up-donation",autoSelect:!0,minRoundUp:10,roundUpFormula:20,values:[],contributionId:1,fundId:115,displayOther:!0,name:{en:"Round up donation"},subline:{en:"<p><strong>Donate now</strong> to secure the future of Birmingham Hippodrome for generations to come - thank you!</p>"},description:{en:"Thank you for sharing our belief in the value of the arts and culture for all communities in Birmingham and the city-region. Your donation will help us bring our charitable ambitions to life because Arts Matter!"},cta:{en:"Round up my order"},dataAction:"basket-donation",component:"RoundUpDonation",conditionals:{contents:{includes:[],excludes:["donations"]}}}]},{id:"account",name:{en:"Account"},components:{header:"AccountHeaderSummary",content:"AccountTwoStepLogin",alternativeContent:"AccountDetails"},needsUserToBeLoggedIn:!1,conditional:!1,active:!0},{id:"delivery",name:{en:"Delivery"},components:{header:"DeliveryHeaderSummary",content:"Delivery"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0,defaultDeliveryOption:{giftCertificates:!0},hiddenOptionsUnlessSelected:[9]},{id:"add-ons",name:{en:"Plan your experience"},components:{header:"AddOnsHeaderSummary",content:"AddOns"}
1,needsUserToBeLoggedIn:!0,conditional:!0,active:!0,relatedInstances:{displayDate:!0,displayTime:!0},categories:{"the-circle-lounge":"foodAndDrink","proscenium-lounge":"foodAndDrink","the-proscenium-lounge":"foodAndDrink","mr---plan-your-experience":"foodAndDrink","plan-your-experience---mrtm":"foodAndDrink","beam-food---lunchbag-thursday":"foodAndDrink","beam-food---lunchbag-friday":"foodAndDrink",merchandise:"merchandise",memberships:"memberships"},categoryGroups:[{id:"the-proscenium-lounge",group:["the-proscenium-lounge","proscenium-lounge"]}],additionalConfiguration:{"the-circle-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id",wrapAroundTextHeader:!0},"proscenium-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id"},"the-proscenium-lounge":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!0,subCategory:"lounge",orderBy:"id"},"mr---plan-your-experience":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"moulin-rouge",orderBy:"id"},"plan-your-experience---mrtm":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"moulin-rouge",orderBy:"id"},"beam-food---lunchbag-thursday":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"beam",orderBy:"id"},"beam-food---lunchbag-friday":{type:"Simple",editable:!0,showPrices:!0,dietaryInformation:!1,subCategory:"beam",orderBy:"id"}},membershipConditional:!1},{id:"contact-preferences",name:{en:"Contact preferences"},components:{header:"ContactPreferencesHeaderSummary",content:"ContactPreferences"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0},{id:"memberships",name:{en:"Become a member"},components:{header:"MembershipsHeaderSummary",content:"Memberships"},needsUserToBeLoggedIn:!0,conditional:!0,membershipsToInclude:["8"],active:!0},{id:"gift-aid",name:{en:"Gift Aid"},components:{header:"GiftAidHeaderSummary",content:"GiftAid"},needsUserToBeLoggedIn:!0,conditional:!0,active:!0},{id:"upsells",name:{en:"Upsells"},components:{header:"UpsellsHeaderSummary",content:"Upsells"},needsUserToBeLoggedIn:!0,conditional:!0,active:!1},{id:"review",name:{en:"Review my booking"},components:{header:"ReviewHeaderSummary",content:"Review"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0},{id:"payment",name:{en:"Payment"},components:{header:"PaymentHeaderSummary",content:"Payment"},needsUserToBeLoggedIn:!0,conditional:!1,active:!0}]})&&void 0!==w&&w.memberships){var I=[{id:3,constituencyTypeId:14,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:6,constituencyTypeId:16,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:8,constituencyTypeId:15,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships/friends"}},{id:11,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:12,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:13,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}},{id:14,constituencyTypeId:2,link:{en:"https://www.birminghamhippodrome.com/giveandjoin-2/memberships"}}].map((function(e){return null==e?void 0:e.constituencyTypeId}));x.filter((function(e){return I.includes(e.typeId)})).length>0&&(o=o.filter((function(e){return"add-ons"!==e.id})))}}var S,C,B,O=o.find((function(e){return"donation"===e.id}));if(O)if(null!=O&&null!==(S=O.askRules)&&void 0!==S&&S.instanceNameContains&&(null==t||null===(C=t.contents)||void 0===C||null===(B=C.instances)||void 0===B?void 0:B.length)>0){var P,A=!0,T=f(t.contents.instances);try{var $=function(){var e=P.value;O.askRules.instanceNameContains.some((function(t){return e.name.includes(t)}))&&(A=!1)};for(T.s();!(P=T.n()).done;)$()}catch(e){T.e(e)}finally{T.f()}A||(o=o.filter((function(e){return"donation"!==e.id})))}null!=t&&null!==(l=t.identifiers)&&void 0!==l&&l.onlyEducation&&(o=o.filter((function(e){return"household"!==e.id}))),null==e||!e.abtest||null!==(m=window)&&void 0!==m&&m[e.abtest]||(o=o.filter((function(t){return t.id!==e.id})))}};for(r.s();!(n=r.n()).done;)c()}catch(e){r.e(e)}finally{r.f()}return o},d.a.prototype.$isCamp=function(title){var e=o.env.camps;
1if(e&&e.enabled){var t,n=!1,r=f(e.identifiers);try{for(r.s();!(t=r.n()).done;){var c=t.value;title&&title.toLowerCase().includes(c)&&(n=!0)}}catch(e){r.e(e)}finally{r.f()}return n}return!1},d.a.prototype.$instanceFee=function(e){var t=[];if(t&&t.length>1){var n=t.find((function(e){return"standard"===e.type}));if(e){var o=t.find((function(e){return"subscription"===e.type}));return o||null}return n}return null},d.a.prototype.$priceWithFee=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"standard",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,d=arguments.length>8&&void 0!==arguments[8]&&arguments[8];if("0"===(null==e?void 0:e.toString()))return e;if(d)return e;if(c){var l=c.reduce((function(a,b){return a+b.amount}),0);return"subtotal"===o&&(l*=r),parseFloat(e,10)+l}return parseFloat(e,10)},d.a.prototype.$formatStatusDetail=function(e,t,n){var o,r={},c=e.toString().split("\r\n").map((function(e){return e.split(/(\w{1,2}):(.*):([0-9,]+)/m)})),d=[],l=[],h=f(c);try{var v=function(){var e=o.value.filter((function(e){return""!==e}));if(e[0]){var n=!1,r=null,c=null,m=null,h=[];if("A"!==e[0]&&"W"!==e[0]||(e[1].includes("+")||(c=e[1],h=t.filter((function(e){return e.id===c}))),h.length>0&&(m=h[0].name.toLowerCase().replace("band ","").replace(" ","-"))),"X"===e[0]||"A"===e[0]){var v=e[1].split(":");if(v[1]){var y=v[0]?v[0]:"",k=v[2]?v[2].replace("}",""):"";c=y,h=t.filter((function(e){return e.id===c})),m=h[0].name.toLowerCase().replace("band ","").replace(" ","-"),n=!0,r=k}}"W"===e[0]&&(n=!0,r=JSON.stringify("Wheelchair"));var w,x=f(e[2].split(","));try{for(x.s();!(w=x.n()).done;){var I=w.value;if("I"===e[0]){var S={id:I,information:e[1].includes("+")?decodeURIComponent(e[1]).split("+").join(" "):"Standard seat"};d.push(S)}else{var C={id:I,available:"A"===e[0]||"X"===e[0]||"W"===e[0],priceBandId:c,priceBand:m,isSpecialPrice:n,specialPriceTypeName:r};l.push(C)}}}catch(e){x.e(e)}finally{x.f()}}};for(h.s();!(o=h.n()).done;)v()}catch(e){h.e(e)}finally{h.f()}var y,k=f(l.map((function(e){return m(m({},e),d.find((function(t){return t.id===e.id})))})));try{var w=function(){var e=y.value,t="standard";if(e.information){if(["restricted view","pillar","parts of the stage are not visible","listening only","restriction due to"].some((function(t){return e.information.toLowerCase().includes(t)})))t="restricted-view";else if(["companion seat","partner"].some((function(t){return e.information.toLowerCase().includes(t)})))t="misc";else if(e.information.toLowerCase().includes("asl"))t="misc";else if(e.information.toLowerCase().includes("bsl"))t="misc";else if(e.information.toLowerCase().includes("open caption"))t="misc";else if(e.information.toLowerCase().includes("wheelchair")){var o;t=null!==(o={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==o&&o.wheelchairDescriptionAsMisc?"misc":"wheelchair"}else t="information"}var c=e.information,d=e.specialPriceTypeName;if(e.specialPriceTypeName||c){var l=(null==e?void 0:e.specialPriceTypeName)||c,m=[{component:"Standard",description:{en:"Standard"}},{component:"Unavailable",description:{en:"Unavailable"}},{component:"Wheelchair",description:{en:"Wheelchair"}},{component:"Misc",description:{en:"Accessible seating recommended for you"}},{component:"RestrictedView",description:{en:"Potentially restricted view"}},{component:"Information",description:{en:"Information"}},{component:"Selected",description:{en:"Selected"}}];if(t="misc",l.toLowerCase().includes("wheelchair")&&!l.toLowerCase().includes("companion")){var f,h,v,k=m.find((function(e){return"Wheelchair"===e.component}));t="wheelchair",d=(null==k||null===(f=k.description)||void 0===f?void 0:f[n])||"Wheelchair",null!==(h={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==h&&null!==(v=h.instances)&&void 0!==v&&v.useViaduktSeatLabels&&(c="Wheelchair position")}var w,x;if(["companion","partner"].some((function(e){return l.toLowerCase().includes(e)}
1)))t="companion",d="Companion",null!==(w={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==w&&null!==(x=w.instances)&&void 0!==x&&x.useViaduktSeatLabels&&(c=l.replaceAll('"',""));if(l.toLowerCase().includes("audio descri")){var I,S,C,B=m.find((function(e){return"AudioDescribed"===e.component}));t="audio-described",d=(null==B||null===(I=B.description)||void 0===I?void 0:I[n])||"Audio described",null!==(S={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==S&&null!==(C=S.instances)&&void 0!==C&&C.useViaduktSeatLabels&&(c="Audio described")}if(l.toLowerCase().includes("caption")){var O,P,A,T=m.find((function(e){return"Captioned"===e.component}));t="captioned",d=(null==T||null===(O=T.description)||void 0===O?void 0:O[n])||"Captioned",null!==(P={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==P&&null!==(A=P.instances)&&void 0!==A&&A.useViaduktSeatLabels&&(c="Captioned")}if(l.toLowerCase().includes("bsl")){var $,D,L,M=m.find((function(e){return"BSL"===e.component}));t="BSL",d=(null==M||null===($=M.description)||void 0===$?void 0:$[n])||"BSL",null!==(D={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==D&&null!==(L=D.instances)&&void 0!==L&&L.useViaduktSeatLabels&&(c="BSL")}if(l.toLowerCase().includes("asl")){var _,R,j,N=m.find((function(e){return"ASL"===e.component}));t="ASL",d=(null==N||null===(_=N.description)||void 0===_?void 0:_[n])||"ASL",
1null!==(R={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==R&&null!==(j=R.instances)&&void 0!==j&&j.useViaduktSeatLabels&&(c="ASL")}"misc"===t&&c&&!d&&(t="information")}t.toLowerCase().includes("restricted-view")&&(d="Restricted view (".concat(c.trim(),")")),c||(c=""),r[e.id]={available:e.available,type:t,information:c,priceBandId:e.priceBandId||"",priceBand:e.priceBand||"",additionalInformation:{isSpecial:e.isSpecialPrice,specialPriceTypeName:d}}};for(k.s();!(y=k.n()).done;)w()}catch(e){k.e(e)}finally{k.f()}return r},d.a.prototype.$InputFormatter=function(e,t){if("checkbox"===t||"radio"===t){var input=e.children[0].firstChild;return{id:input.id,label:e.innerText.replace(/(\r\n|\n|\r|\t)/gm,""),attributes:Object.fromEntries(Object(r.a)(input.attributes).map((function(e){return[[e.name],e.value]})))}}if("select"===t)return{label:e.innerText.replace(/(\r\n|\n|\r|\t)/gm,""),attributes:Object.fromEntries(Object(r.a)(e.attributes).map((function(e){return[[e.name],e.value]})))}},d.a.prototype.$seatSectionFormatter=function(e){return d.a.filter("textFormat")(e.section)},t.a=function(e,t){e.app;t("metaCollection",[{name:"queue",dynamicMeta:null,meta:{title:"Queue",description:null,url:null}},{name:"listings",dynamicMeta:null,meta:{title:"Listings",description:null,url:null}},{name:"education-listings",dynamicMeta:null,meta:{title:"Education Listings",description:null,url:null}},{name:"package-listings",dynamicMeta:null,meta:{title:"Package Listings",description:null,url:null}},{name:"events-event",dynamicMeta:{title:["event.name"],description:null,url:null},meta:{title:"Event Listings",description:null,url:null}},{name:"events-event-instance",dynamicMeta:{title:["Select Area","instance.dateTime","event.name"],description:null,url:null},meta:{title:"Select Area",description:null,url:null}},{name:"events-event-instance-syos-view",dynamicMeta:{title:["Select Your Seat(s)","instance.dateTime","event.name"],description:null,url:null},meta:{title:"Select Your Seat(s)",description:null,url:null}},{name:"events-event-instance-price-selection",dynamicMeta:{title:["Choose By Price","instance.dateTime","event.name"],description:null,url:null},meta:{title:"Choose By Price",description:null,url:null}},{name:"packages-package",dynamicMeta:{title:["performancePackage.name"],description:null,url:null},meta:{title:"Select Area",description:null,url:null}},{name:"packages-package-syos-view",dynamicMeta:{title:["seatmap.description","instance.dateTime","performancePackage.name"],description:null,url:null},meta:{title:"Select Your Seat(s)",description:null,url:null}},{name:"packages-package-price-selection",dynamicMeta:{title:["Choose By Price","instance.dateTime","performancePackage.name"],description:null,url:null},meta:{title:"Choose By Price",description:null,url:null}},{name:"subscriptions-fixed-series-seriesId",dynamicMeta:null,meta:{title:"Fixed Series",description:null,url:null}},{name:"subscriptions-flex",dynamicMeta:null,meta:{title:"Flex Subscription",description:null,url:null}},{name:"education-event",dynamicMeta:{title:["educationEvent.name"],description:null,url:null},meta:{title:"Education Listings",description:null,url:null}},{name:"education-event-instance",dynamicMeta:{title:["Education Booking","instance.dateTime","educationEvent.name"],description:null,url:null},meta:{title:"Education Booking",description:null,url:null}},{name:"checkout-basket",dynamicMeta:null,meta:{title:"Basket",description:null,url:null}},{name:"checkout-account",dynamicMeta:null,meta:{title:"Account",description:null,url:null}},{name:"checkout-delivery",dynamicMeta:null,meta:{title:"Delivery",description:null,url:null}},{name:"checkout-contact-preferences",dynamicMeta:null,meta:{title:"Contact Preferences",description:null,url:null}},{name:"checkout-become-a-member",dynamicMeta:null,meta:{title:"Become a member",description:null,url:null}},{name:"checkout-gift-aid",dynamicMeta:null,meta:{title:"Gift Aid",description:null,url:null}},{name:"checkout-review",dynamicMeta:null,meta:{title:"Review",description:null,url:null}},{name:"checkout-summary",dynamicMeta:null,meta:{title:"Summary",description:null,url:null}},{name:"checkout-billing",dynamicMeta:null,meta:{title:"Billing",description:null,url:null}},{name:"checkout-payment",dynamicMeta:null,meta:{title:"Payment",description:null,url:null}},{name:"order-confirmed",dynamicMeta:null,meta:{title:"Order Confirmed",description:null,url:null}},{name:"account-your-details",dynamicMeta:null,meta:{title:"Your Details",description:null,url:null}},{name:"account-addresses",dynamicMeta:null,meta:{title:"Addresses",description:null,url:null}},{name:"account-contact-preferences",dynamicMeta:null,meta:{title:"Contact Preferences",description:null,url:null}},{name:"account-your-orders",dynamicMeta:null,meta:{title:"Your Orders",description:null,url:null}},{name:"account-memberships",dynamicMeta:null,meta:{title:"Memberships",description:null,url:null}},{name:"account-giving-history",dynamicMeta:null,meta:{title:"Giving History",description:null,url:null}},{name:"account-payment-cards",dynamicMeta:null,meta:{title:"Payment Cards",de
1scription:null,url:null}},{name:"account-account-credit",dynamicMeta:null,meta:{title:"Account Credit",description:null,url:null}},{name:"account-access",dynamicMeta:null,meta:{title:"Access Preferences",description:null,url:null}},{name:"account-custom-screen",dynamicMeta:{title:["custom.view","custom.tab"],description:null,url:null},meta:{title:"Account",description:null,url:null}},{name:"account-update-password",dynamicMeta:null,meta:{title:"Update Password",description:null,url:null}},{name:"your-tickets",dynamicMeta:null,meta:{title:"Your Tickets",description:null,url:null}},{name:"access-login",dynamicMeta:null,meta:{title:"Login",description:null,url:null}},{name:"login",dynamicMeta:null,meta:{title:"Login",description:null,url:null}},{name:"access-register",dynamicMeta:null,meta:{title:"Register",description:null,url:null}},{name:"access-reset-password",dynamicMeta:null,meta:{title:"Reset Password",description:null,url:null}},{name:"access-authentication",dynamicMeta:null,meta:{title:"Authentication",description:null,url:null}},{name:"gift-vouchers",dynamicMeta:null,meta:{title:"Gift Vouchers",description:null,url:null}},{name:"redeem-gift-voucher",dynamicMeta:null,meta:{title:"Redeem Gift Voucher",description:null,url:null}},{name:"contributions-donations",dynamicMeta:null,meta:{title:"Donations",description:null,url:null}},{name:"contributions-memberships",dynamicMeta:null,meta:{title:"Memberships",description:null,url:null}},{name:"contributions-memberships-membership",dynamicMeta:null,meta:{title:"Membership",description:null,url:null}},{name:"aux-type",dynamicMeta:null,meta:{title:"Auxiliary Listings",description:null,url:null}}])}}).call(this,n(128).Buffer,n(78))},function(e,t,n){"use strict";n(14),n(20);var o=n(8),r=n(7);n(64),n(15),n(13),n(10),n(149),n(19),n(9),n(18),n(26),n(32),n(12),n(17),n(22);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}t.a=function(e,t){var n=e.app,d=e.$metaCollection;t("metaData",(function(e,t){var l,m=d.find((function(t){return t.name===e.name}));if(!m&&null!=e&&null!==(l=e.name)&&void 0!==l&&l.includes("account-custom-screen--")&&(m=d.find((function(e){return"account-custom-screen"===e.name}))),m){if(!m.dynamicMeta||m.dynamicMeta&&t){m.dynamicMeta&&t&&(m.meta=function(e,t){for(var n={},d=[],l=function(){var l=Object(r.a)(f[m],2),h=l[0],v=l[1];if(v)if(Array.isArray(v)){var y,k=c(v);try{for(k.s();!(y=k.n()).done;){var w=y.value;w.includes(".")?d.push(w.split(".").reduce((function(p,e){return(null==p?void 0:p[e])||t.meta[h]}),e)):d.push(w)}}catch(e){k.e(e)}finally{k.f()}var x=d.filter((function(e){return!e.includes("|")}));n[h]=Object(o.a)(new Set(x)).join(" | ")}else n[h]=v.split(".").reduce((function(p,e){return(null==p?void 0:p[e])||t.meta[h]}),e)},m=0,f=Object.entries(t.dynamicMeta);m<f.length;m++)l();return n}(t,m));var f="".concat(m.meta.title," | ").concat("Birmingham Hippodrome");
1f=f.split(" | "),m.meta.title=Object(o.a)(new Set(f)).join(" | "),m.meta.url="".concat("https://birminghamhippodrome.com/".slice(0,-1)).concat(m.meta.url||e.path);for(var h=function(){var e=Object(r.a)(y[v],2),t=e[0],o=e[1],c=n.head.meta.filter((function(meta){var e;return null===(e=meta.hid)||void 0===e?void 0:e.includes(t)}));c.map((function(e){e.content=o}))},v=0,y=Object.entries(m.meta);v<y.length;v++)h();n.head.title=m.meta.title,document.title=m.meta.title;var k,w=c(n.head.meta);try{for(w.s();!(k=w.n()).done;){var meta=k.value;meta.name&&document.querySelector('meta[name="'.concat(meta.name,'"]')).setAttribute("content",meta.content)}}catch(e){w.e(e)}finally{w.f()}}}else document.title="Birmingham Hippodrome"}))}},function(e,t,n){"use strict";n(15),n(25),n(26);n(2).a.filter("currencyformat",(function(e,t){var n={en:{displaySymbol:"£",type:"GBP",format:"en-GB",output:{position:"start",currencySymbol:"",lessThanOne:{active:!0,position:"end",currencySymbol:"p"}}}}[t],o=new Intl.NumberFormat(n.format,{style:"currency",currency:n.type,minimumFractionDigits:e%1!=0?2:0}).format(e).replace(/\s/g,""),r=n.output.position,c=n.output.currencySymbol,d=o.replace("".concat(c),""),l="end"===r?"".concat(d," ").concat(c):"".concat(c).concat(d);return n.output.lessThanOne&&n.output.lessThanOne.active&&e<1&&e>0&&(e=parseFloat(e).toFixed(2),l="end"===n.output.lessThanOne.position?"".concat(e.split(".")[1]).concat(n.output.lessThanOne.currencySymbol):"".concat(n.output.lessThanOne.currencySymbol).concat(e.split(".")[1]," ")),l}))},function(e,t,n){"use strict";n(15),n(13),n(10);var o=n(2),r=n(58),c=n.n(r),d=n(59),l=n.n(d),m=n(196),f=n.n(m),h=n(39);h.extend(c.a),h.extend(l.a),h.extend(f.a),o.a.filter("dateFormat",(function(e,t){return h.locale(t),null!=e&&e.includes("+")||null!=e&&e.includes("-")?h(e).tz("Europe/London").format({en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].date):h(e).format({en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].date)}))},function(e,t,n){"use strict";n(15),n(13),n(10),n(25);var o=n(2),r=n(58),c=n.n(r),d=n(59),l=n.n(d),m=n(39);m.extend(c.a),m.extend(l.a),o.a.filter("timeFormat",(function(e,t){var n,o={en:""}[t],time=m(e).format({en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].time);if((null!=e&&e.includes("+")||null!=e&&e.includes("-"))&&(time=m(e).tz("Europe/London").format({en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].time)),{en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].timeShort&&(time.includes(":00")||time.includes(".00"))&&(time=m(e).format({en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].timeShort),(null!=e&&e.includes("+")||null!=e&&e.includes("-"))&&(time=m(e).tz("Europe/London").format({en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].timeShort))),null!==(n={en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t])&&void 0!==n&&n.suffixFormatting){var r,c,d=null===(r={en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].suffixFormatting)||void 0===r?void 0:r.am;d&&(time=time.replace("am",d));var l=null===(c={en:{dateTime:"MMMM D YYYY, h.mma",date:"dddd D MMMM YYYY",time:"h.mma",timeShort:"ha"}}[t].suffixFormatting)||void 0===c?void 0:c.pm;l&&(time=time.replace("pm",l))}return"".concat(o).concat(time)}))},function(e,t,n){"use strict";(function(e){n(15),n(9),n(40),n(41),n(17),n(25),n(12),n(14),n(20),n(19),n(18);var t=n(2);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,d=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return d=e.done,e},e:function(e){l=!0,c=e},f:function(){try{d||null==n.return||n.return()}finally{if(l)throw c}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}t.a.filter("textFormat",(function(t){var n=t.toString(),r=e.env.formattingExceptions;if(r&&r.length>0){var c,d=o(r);try{for(d.s();!(c=d.n()).done;){var l=c.value;if(n.toLowerCase()===l.lowerCaseString)return l.result}}catch(e){d.e(e)}finally{d.f()}}return(n.toLowerCase().charAt(0).toUpperCase()+n.toLowerCase().slice(1)).replace("-"," ")})),t.a.filter("allUpperCase",(function(t){var n,r=e.env.formattingExceptions;if(r&&r.length>0){var c,d=o(r);try{for(d.s();!(c=d.n()).done;){var l=c.value;if(t.toLowerCase()===l.lowerCaseString)return l.result}}catch(e){d.e(e)}finally{d.f()}}return null==t||null===(n=t.toLowerCase())||void 0===n?void 0:n.replace(/(^\w{1})|(\s+\w{1})/g,(function(e){return e.toUpperCase()}))}))}).call(this,n(78))},function(e,t,n){"use strict";
1var o=n(7),r=(n(64),n(13),n(10),n(26),n(25),n(2));t.a=function(e){var t=e.app;r.a.prototype.$customTextOutput=function(e,data,n){var r={"checkout.basket.menu-disclaimer-text":{en:"<a href='https://www.birminghamhippodrome.com/faq/why-do-i-have-to-pre-pay-or-pay-a-deposit-in-the-circle-lounge/' target='_blank'>Read more info and terms on pre-payments and deposits for our Lounges here.</a>"},"live-stream.unnumbered":{en:"Unallocated"},"access.info.reset-password-more":{en:"<p>If you don't receive the e-mail please contact us on 0121 689 1090</p><span class='o-body-text o-body-text--small'>(Our lines are open Monday - Friday, 10am - 6pm) or you can <a href='https://www.birminghamhippodrome.com/help-centre-faqs/'>contact us</a></span>"},"event.error.event-sold-out":{en:"There are no tickets left for this performance, however, please call 0121 689 1090 as there may be some last minute availability. If you are part of our Access Registration Scheme, please make sure you are logged in to view your available seats. Alternatively please select another date."},"event.error.instance-sold-out":{en:"There are no tickets left for this performance, however, please call 0121 689 1090 as there may be some last minute availability. If you are part of our Access Registration Scheme, please make sure you are logged in to view your available seats. Alternatively please select another date."},"event.messaging.max-tickets":{en:"<p>You can book a maximum of {max} tickets online. Need more? Call the box office on 0121 689 3010</p>"},"event.messaging.limited-availability":{en:"<p>There is only {max} ticket remaining. Please select fewer tickets , if you need more assistance, please call Ticket Sales on 0121 689 1090</p> | <p>There are only {max} tickets remaining. Please select fewer tickets, if you need more assistance, please call Ticket Sales on 0121 689 1090</p>"},"event.messaging.not-on-sale":{en:"Currently not on sale"},"food-and-drink.wrapAroundText.pre":{en:"Dining before the"},"food-and-drink.wrapAroundText.post":{en:"performance"},"checkout.basket.remove-food-and-drink":{en:"Remove reservation"},"checkout.basket.remove-lounge":{en:"Remove reservation"},"checkout.basket.remove-moulin-rouge":{en:"Remove extra"},"checkout.basket.remove-beam":{en:"Remove extra"},"checkout.add-ons.title":{en:""},"checkout.add-ons.description":{en:""},"checkout.add-ons.categories.food-and-drink.wrapAroundText.pre":{en:"dining before the"},"checkout.add-ons.categories.lounge.title":{en:"Book a space in our Lounges"},"checkout.add-ons.categories.lounge.description":{en:""},"checkout.add-ons.categories.moulin-rouge.title":{en:"Moulin Rouge Extras"},"checkout.add-ons.categories.moulin-rouge.description":{en:""},"checkout.add-ons.categories.beam.title":{en:"Pre-order your lunch bag"},"checkout.add-ons.categories.beam.description":{en:""},"checkout.add-ons.categories.merchandise.title":{en:"Pre-order your merchandise"},"checkout.add-ons.categories.memberships.title":{en:"Become a member and save!"},"checkout.add-ons.the-circle-lounge.pre":{en:"Book a table for"},"checkout.add-ons.mr---plan-your-experience.pre":{en:"Select your package for"},"checkout.add-ons.plan-your-experience---mrtm.pre":{en:"Select your package for"},"checkout.add-ons.beam-food---lunchbag-thursday.pre":{en:"Pre-order your lunch bag by choosing from one of the options below."},"checkout.add-ons.beam-food---lunchbag-friday.pre":{en:"Pre-order your lunch bag by choosing from one of the options below."},"checkout.add-ons.the-proscenium-lounge.pre":{en:"Book a space in our Proscenium Lounge before"},"single-seats":{en:"<p>This seat combination would leave single seats. <a href='https://www.birminghamhippodrome.com/faq/why-cant-i-leave-a-single-seat-when-booking-tickets-for-a-performance/' target='new'>Find detailed information about seating arrangements.</a>.</p>"},"checkout.add-ons.categories.food-and-drink":{en:"Book a space in one of our Lounges"},"checkout.basket.add-allergy-info":{en:"Add any dietary / allergy or special information"},"checkout.basket.update-allergy-infoo":{en:"Update any dietary / allergy or special information"},"checkout.basket.allergy-info":{en:"<p>Anything we should know? (Allergies, access needs, special celebrations etc.)</p>"},"secure-my-booking.description":{en:"<h4>Protect your tickets from the unexpected for {fee}</h4><p>Ticket refund protection allows you to recover 100% of the paid ticket price (including all fees) in the event of:</p><p><ul><li>Accident, injury, or illness including COVID-19</li><li>
1Severe weather preventing travel to the venue</li><li>Travel delays due to breakdown or public transit failures</li><li>Plus much more!</li></ul></p>"},"account.access-scheme.nimbus.notifications.invalid-code":{en:"Sorry, we couldn't verify that registration code to the name on your account. Please check your confirmation email from Nimbus to check the registration code is correct and the name on that email matches your Birmingham Hippodrome account exactly. If you are still having issues please contact Nimbus on [email protected] and they will clarify your details."},"incorrect-price-type":{en:"You have reached the maximum number of tickets allowed per customer for the price category. Please adjust your selection to continue your purchase."},"checkout.basket.access-notes":{en:"Access requirements"},"checkout.basket.access-notes-label":{en:"<p>Please add some notes here, should you require any assistance or support for your visit (no medical information please). This will be passed on to our Visitor Experience team.</p><p>If you are registered with Nimbus Disability and you've linked your account with us, we are already aware of those requirements. However, do feel free to include any information that would be useful for us to be aware of, for your upcoming visit.</p>"},"checkout.basket.access-notes-placeholder":{en:"E.g. I will need assistance transferring into my seat from my wheelchair, I need someone to look after my assistance animal during the show etc"},"account.your-orders.filters.description":{en:"<p>You can view all your upcoming and past tickets here.</p><p>To search through your orders, simply choose <strong>Performance name view</strong>, or <strong>Order number view</strong> using the buttons below.</p>"}};if(r&&r[e]){var c=r[e][t.$cookies.get("lang")];if(data)for(var d=0,l=Object.entries(data);d<l.length;d++){var m=Object(o.a)(l[d],2),f=m[0],h=m[1];if(n&&c.includes("|")){var v=c.split("|")[1===n?0:1];c=v.replace("{".concat(f,"}"),h)}else c=c.replace("{".concat(f,"}"),h)}return c}return n>0?t.i18n.tc(e,n,data):t.i18n.t(e,data)}}},function(e,t,n){"use strict";var o=n(1),r=(n(6),n(13),n(10),n(9),n(25),n(5));n(12),n(14),n(20),n(19),n(18),n(15),n(17),n(22),n(26);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var l=function(e){var t=e.data;return e.url="/customer/authenticate",e.data={email:t.email,password:t.password},e},m=function(e){return e.url="/customer/deauthenticate",e},f=function(e){e.originalRequestUrl="/register";var t=e.data.registerDetails,n=e.data.extensions;if(e.countryField=n.countryId&&"null"!==n.countryId?n.countryId:"",e.data={email:t.email,title:t.title&&"null"!==t.title?t.title:"",firstName:t.firstName,lastName:t.lastName},t.password&&(e.data.password=t.password),n.address){var o,c="0"!==(null==n||null===(o=n.address)||void 0===o?void 0:o.countyStateId)?"US-".concat(n.address.countyStateId):null,d=n.address.countryData.filter((function(e){return e.Id===parseInt(n.address.countryId,10)}))[0];c?e.registerAddress={isBilling:!0,isDelivery:!0,name:"".concat(t.firstName," ").concat(t.lastName),line1:n.address.street1||"",line2:n.address.street2||"",town:n.address.city||"",country:null==d?void 0:d.IsoAlpha3Code.slice(0,2),postcode:n.address.postalCode||"",administrativeDivision:c}:e.data.addresses=[{isBilling:!0,isDelivery:!0,name:"".concat(t.firstName," ").concat(t.lastName),line1:n.address.street1||"",line2:n.address.street2||"",town:n.address.city||"",country:null==d?void 0:d.IsoAlpha3Code.slice(0,2),postcode:n.address.postalCode||"",administrativeDivision:""}]}(t.phoneNumber&&"null"!==t.phoneNumber&&(e.data.phone=t.phoneNumber),n.phoneNumber&&"null"!==n.phoneNumber&&(e.data.phone=n.phoneNumber),n)&&(n.dateOfBirth&&r.o(n.dateOfBirth)&&(e.data.birthDate="".concat(n.dateOfBirth.year,"-").concat(n.dateOfBirth.month,"-").concat(n.dateOfBirth.day,"T00:00:00")));return e.url="/customer",e},h=function(e){e.originalRequestUrl="/newsletter-sign-up";var t=e.data.signUpDetails,n=e.data.extensions;(e.countryField=n.countryId&&"null"!==n.countryId?n.countryId:"",e.data={email:t.email,title:t.title&&"null"!==t.title?t.title:"",firstName:t.firstName,lastName:t.lastName},t.password&&(e.data.password=t.password),n.phoneNumber&&"null"!==n.phoneNumber&&(e.data.phone=n.phoneNumber),n)&&(n.dateOfBirth&&r.o(n.dateOfBirth)&&(e.data.birthDate="".concat(n.dateOfBirth.year,"-").concat(n.dateOfBirth.month,"-").concat(n.dateOfBirth.day,"T00:00:00")));return e.url="/customer",e},v=function(e){var data=r.b(e.data);return e.data=JSON.stringify(data),e.url="/customer/forgot-password?emailAddress=".concat(encodeURIComponent(data.email),"&domain=").concat("bookings.birminghamhippodrome.com"),e},y=function(e){var t=e.data;return e.originalRequestUrl="/authentication",e.token=t.clientToken,e.url="/customer/validate-password-link?token=".concat(t.clientToken),e},k=function(e){var t=e.data;if(t.token){var n={token:t.token,newPassword:t.newPassword};e.data=JSON.stringify(n),e.method="post",e.url="/customer/set-password"}else{var o={oldPassword:t.currentPassword,newPassword:t.newPassword};e.data=JSON.stringify(o),e.method="post",e.url="/customer/change-password"}return e},w=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,d,l,m,f,h,v,y,k,w,x,I,S;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=t.params,t.url.includes("account-credit")&&(t.originalRequestUrl="/account-credit"),null===(o=t.data)||void 0===o||!o.snapshot){e.next=10;break}m=t.data.snapshot,t.data={},f=c(m);try{for(f.s();!(h=f.n()).done;)v=h.value,t.data[v.id]=v.value}catch(e){f.e(e)}finally{f.f()}return t.method="patch",t.url="/customer",e.abrupt("return",t);case 10:if(!(null!=l&&l.tagsId||null!==(d=t.data)&&void 0!==d&&d.tagsId)){e.next=26;break}if("put"!==t.method){e.next=23;break}if(t.url="/customer/tags",!((y=t.data.tags.flat(1).filter((function(e){return e.answer}))).length>0)){e.next=18;break}t.data=y.map((function(e){return{id:e.id}})),e.next=23;break;case 18:return k=t.data.tags.flat(1).filter((function(e){return!e.answer})),e.next=21,r.l(k,n);case 21:t.url="/customer/tags/".concat(k[0].id),t.method="get";case 23:"get"===t.method&&(t.url="/tag-groups",t.originalTagId=null==l?void 0:l.tagsId),e.next=29;break;case 26:t.url="/customer",t.params="","put"===t.method&&(I=null===(w=t.data)||void 0===w?void 0:w.yourDetails,S=null===(x=t.data)||void 0===x?void 0:x.extensions,I&&(t.data={firstName:I.firstName,lastName:I.lastName,phone:I.phoneNumber&&"null"!==I.phoneNumber?I.phoneNumber:""}),S&&null!=S&&S.dateOfBirth&&r.o(S.dateOfBirth)&&(t.data.birthDate="".concat(S.dateOfBirth.year,"-").concat(S.dateOfBirth.month,"-").concat(S.dateOfBirth.day,"T00:00:00")),t.method="patch");case 29:return e.abrupt("return",t);case 30:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(e){var t=e.url.split("/");if(e.url="/customer/addresses","post"===e.method){var n=e.data,o=e.data.countryData.filter((function(t){return t.Id===parseInt(e.data.countryId,10)}))[0];e.data={isBilling:n.isBilling,isDelivery:n.isDelivery,name:"".concat(n.customer.firstName," ").concat(n.customer.lastName),line1:n.street1,line2:n.street2&&"null"!==n.street2?n.street2:"",town:n.city,administrativeDivision:"",country:null==o?void 0:o.IsoAlpha3Code.slice(0,2),postcode:n.postcode}}if("put"===e.method){var r=e.data,c=e.data.countryData.filter((function(t){return t.Id===parseInt(e.data.countryId,10)}))[0];e.method="patch",e.url="/customer/addresses/".concat(e.data.id),e.data={isBilling:r.isBilling,isDelivery:r.isDelivery,name:"".concat(r.customer.firstName," ").concat(r.customer.lastName),line1:r.street1,line2:r.street2&&"null"!==r.street2?r.street2:"",town:r.city,country:null==c?void 0:c.IsoAlpha3Code.slice(0,2),postcode:r.postcode}}return"delete"===e.method&&(e.url="/customer/addresses/".concat(t[4])),e},I=function(e,t){var n;if(null!=e&&null!==(n=e.params)&&void 0!==n&&n.customer)e.url="/customer/agreed-statements";else if(e.url="/statements","put"===e.method){e.url="/customer/agreed-statements";var o=e.data.contactPermissions.flat(1).filter((function(e){return e.answer}));if(o.length>0)e.data=o.map((function(e){return{id:e.type.id}}));else{var r=e.data.contactPermissions.flat(1).filter((function(e){return!e.answer}));e.url="/customer/agreed-statements/".concat(r[0].id),e.method="DELETE"}}return e},S=function(e){return e.url="/customer/tags",e},C=function(e){return e.url="/customer/print-at-home-documents?$expand=instance,instance/event",e},B=function(e){return e.originalRequestUrl=e.url,e.url="/customer/orders?$expand=tickets/seat,tickets/band,tickets/event,tickets/instance,tickets/ticketType,tickets/customItems,donations/fund,membershipSubscriptions/membership,ticketDeliveryOptions,merchandiseDeliveryOptions,charges,ticketDelivery",e},O=function(e){return e.originalRequestUrl="/memberships",e.url="/customer?$expand=subscriptions/membership",e},P=function(e){var t=e.url.split("/");return e.url="/customer/stored-cards?$expand=address","put"===e.method&&(e.method="patch",e.url="/customer",e.data={storedCards:[{Id:t[3],IsDefault:!0}]}),"delete"===e.method&&(e.url="/customer/stored-cards/".concat(t[3])),e};n(32);function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var $=function(e){var t=e.data;return e.data={isLoggedIn:!0,isGuest:!1,modeOfSaleId:0,customer:{id:t.id,email:t.email,hasPrimaryAddress:!0,attributes:[],constituencies:[],accountCredit:{}}},e},D=function(e){if(!0===e.data){var t=e.config.token;return e.data={customer:t},e}return null},L=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.data,c=[],t.data&&t.data.birthDate&&(c=t.data.birthDate.split("T")[0].split("-")),t.data={customerId:t.data.id,prefix:{id:t.data.title,value:t.data.title},firstName:t.data.firstName,lastName:t.data.lastName,phoneNumber:t.data.phone,customerEmail:t.data.email,tags:t.data.attributes,memberships:"",credit:t.data.creditBalance,extensionsData:{billingAddress:t.data.billingAddress,dateOfBirth:{day:3===c.length?c[2]:"Day",month:3===c.length?c[1]:"Month",year:3===c.length?c[0]:"Year"}}},"/authenticate-session"===t.config.originalRequestUrl&&(t.data=!0),"/authentication"===t.config.originalRequestUrl&&(t.data.key=t.data.id),["/register","/session-details"].includes(t.config.originalRequestUrl)&&(t.data={isLoggedIn:!0,isGuest:!1,modeOfSaleId:0,sessionExpiration:new Date((new Date).getTime()+12e5).getTime(),sourceId:0,basketStatus:null,customer:{id:o.id,email:o.email,mobile:o.phone,hasPrimaryAddress:!0,attributes:o.tags,constituencies:[],memberships:o.subscriptions,accountCredit:o.creditBalance},accountCredit:{total:o.creditBalance},seats:{expired:!1,locked:!1}}),"/account-credit"===t.config.originalRequestUrl&&(t.data={total:o.creditBalance}),!t.config.registerAddress){e.next=11;break}return e.next=11,r.a(t.config.registerAddress,n);case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),M=function(e){Array.isArray(e.data)||(e.data=[e.data]);var t,n=[],o=A(e.data);try{for(o.s();!(t=o.n()).done;){var r,address=t.value,c={id:address.id,type:{id:null,name:null},location:{street1:address.line1,street2:address.line2,city:address.town,country:{id:address.country.isoCode,name:address.country.name},countyStateId:0,countyStateName:null===(r=address.administrativeDivision)||void 0===r?void 0:r.name,postcode:address.postcode},isEditable:!0,isBilling:address.isBilling,isDelivery:address.isDelivery};n.push(c)}}catch(e){o.e(e)}finally{o.f()}var d=n.sort((function(a,b){return a.id-b.id}));return e.data=d,e},_=function(e){var t,n={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.contactPreferenceSort,o=[],c=A(e.data);try{var d=function(){var e=t.value,r=n.find((function(t){return t.groupedByName.includes(e.text.toLowerCase())})),c={type:{id:e.id,name:e.text},answer:e.agreed,permissionType:"contact-permission",lastAsked:null,category:{id:r?r.id:0,name:r?r.categoryName:""}};o.push(c)};for(c.s();!(t=c.n()).done;)d()}catch(e){c.e(e)}finally{c.f()}return e.data=r.i(o,"category.name"),e},R=function(e){var t,n=[],o=A(e.data);try{for(o.s();!(t=o.n()).done;){var r=t.value,c={id:r.id,agreed:r.agreed};n.push(c)}}catch(e){o.e(e)}finally{o.f()}return e.data=n,e},j=function(e,t){var n,o=e.data,r=A(o);try{for(r.s();!(n=r.n()).done;){var c=n.value;c.date=c.instance.start,c.time=c.instance.start,c.eventTitle=c.instance.event.name,c.document="",c.downloadLink="".concat({sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.iframeURL,"/secure/download.aspx?id=").concat(parseInt(c.id,10))}}catch(e){r.e(e)}finally{r.f()}return e.data=o.slice(0,5),e},N=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c,d,l,m,f,h,v,y,k,w,x,I,S,C,B,O,P,T,$,D,L,M,_,R,j,N,F;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.config.params||!t.config.params.reference){e.next=5;break}return e.next=3,E(t,n);case 3:return t.data=e.sent,e.abrupt("return",t);case 5:if(null===(o=t.config)||void 0===o||null===(c=o.params)||void 0===c||!c.ticketSubscriptions){e.next=9;break}return e.next=8,U(t,n);case 8:return e.abrupt("return",e.sent);case 9:f=t.data,null!==(d={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==d&&null!==(l=d.account)&&void 0!==l&&null!==(m=l.orders)&&void 0!==m&&m.ticketsOnl
1y&&(f=t.data.filter((function(data){return data.tickets.length>0}))),(h={}).data=[],v=A(f);try{for(v.s();!(y=v.n()).done;)if((null==(w=y.value)||null===(k=w.tickets)||void 0===k?void 0:k.length)>0){x=r.i(w.tickets,"instance.id"),I=A(x);try{for(I.s();!(S=I.n()).done;)$=S.value,(D={id:null==w?void 0:w.id,instanceId:null===(C=$[0])||void 0===C||null===(B=C.instance)||void 0===B?void 0:B.id,date:w.lastTransactionDate,modeOfSaleId:0,customerId:0,isMyOrder:!0,totals:{due:0,paid:$.reduce((function(a,b){return a+b.total}),0),refunds:w.refunds,payments:w.payments},isRollover:!1,canDisplayTickets:!0,type:"upcoming",active:!1}).firstPerformance={date:null===(O=$[0].instance)||void 0===O?void 0:O.start,timestamp:new Date(null===(P=$[0].instance)||void 0===P?void 0:P.start).getTime(),name:null===(T=$[0].event)||void 0===T?void 0:T.name},h.data.push(D)}catch(e){I.e(e)}finally{I.f()}h.data.sort((function(a,b){return b.firstPerformance.timestamp-a.firstPerformance.timestamp}))}}catch(e){v.e(e)}finally{v.f()}if(t.config.originalRequestUrl.includes("giving-history")){h.data=[],f=t.data.filter((function(data){return data.donations.length>0})),L=A(f);try{for(L.s();!(M=L.n()).done;){_=M.value,R=A(_.donations);try{for(R.s();!(j=R.n()).done;)N=j.value,F={id:_.id,date:_.lastTransactionDate,type:"G",amounts:{received:N.amount,full:N.amount,balance:0},campaign:{id:N.fund.id,name:N.fund.name},appeal:{id:N.fund.code,name:""},fund:{id:N.fund.id,name:N.fund.name}},h.data.push(F)}catch(e){R.e(e)}finally{R.f()}}}catch(e){L.e(e)}finally{L.f()}}return e.abrupt("return",h);case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),E=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c,d,l,m,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.data){e.next=8;break}return d=t.config.originalRequestUrl.split("/"),l=d[4],m=t.data.find((function(e){return e.id===l})),null!==(o=t.config)&&void 0!==o&&null!==(c=o.params)&&void 0!==c&&c.instanceId&&(f=m.tickets.filter((function(e){var n,o;return e.instance.id===(null===(n=t.config)||void 0===n||null===(o=n.params)||void 0===o?void 0:o.instanceId)})),m.tickets=f,m.total=f.reduce((function(a,b){return a+b.total}),0)),e.next=7,r.k(m,"order",n);case 7:return e.abrupt("return",e.sent);case 8:return e.abrupt("return",{});case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),U=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r,c,d,l,m,f,h,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.data.filter((function(data){return data.ticketSubscriptions.length>0})),(r={}).data=[],c=A(o);try{for(c.s();!(d=c.n()).done;){l=d.value,m=A(null==l?void 0:l.ticketSubscriptions);try{for(m.s();!(f=m.n()).done;)h=f.value,v={id:null==l?void 0:l.id,name:h.ticketSubscriptionStructureName,pricingStructure:h.pricingSetName,price:h.price,date:l.lastTransactionDate,type:"ticket-subscriptions"},r.data.push(v)}catch(e){m.e(e)}finally{m.f()}}}catch(e){c.e(e)}finally{c.f()}return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),F=function(e){var t=e.data.subscriptions;return e.data=t.map((function(e){return{autoRenew:e.autoRenew,canRenew:e.canRenew,name:e.membership.htmlDescription.replace(/<[^>]*>?/gm,""),status:{description:""},level:{id:e.membership.id},dates:{startDate:e.startDate,expiryDate:e.expiryDate,renewalDate:e.expiryDate}}})),e},Y=function(e,t){var n,o=[],r=A(e.data);try{for(r.s();!(n=r.n()).done;){var c=n.value,d={id:c.address.id,type:{id:null,name:null},street1:c.address.line1,street2:c.address.line2,city:c.address.town,country:{id:c.address.country.isoCode,name:c.address.country.name},postcode:c.address.postcode};c.address=d,c.expiryDate=t.$dayjs(c.expiryDate).format("MM/YY"),o.push(c)}}catch(e){r.e(e)}finally{r.f()}return e.data=o,e},V=function(e){return e.data=e.data.filter((function(t){return t.id===e.config.originalTagId}))[0],e},H=function(e,t){var n=e.url.split("/");return e.originalParams=e.params,e.originalRequestUrl=e.url,e.params.eventId=n[3],e.params.instanceId=n[5],e.originalUse="seatmap",e.url="/instances/".concat(e.params.instanceId,"/status/detail?includeLockInformation=true&includeChildPlans=true"),e},G=n(7),W=(n(40),n(41),n(111),n(2));function z(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var J=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.config.originalParams.instanceId,r=t.config.originalParams.fixedSeriesId,e.next=4,Z(t,o,r,t.config.params,n);case 4:return t.data=e.sent,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Z=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o,c,d){var l,m,f,h,v,y,k,w,x,I,S,C,B,O;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.j(n,d);case 2:l=e.sent,m=l.pricesBands.data,l.formatSeatStatus=W.a.prototype.$formatStatusDetail(t.data,m,d.$cookies.get("lang")),f=l.planAreas,h=[],v=[],y=null,n&&(S=null===(k=d.store.state.event)||void 0===k||null===(w=k.instances)||void 0===w?void 0:w.find((function(e){return e.id===n})),y=null==S||null===(x=S.venue)||void 0===x||null===(I=x.settings)||void 0===I?void 0:I.views),C=z(f.entries()),e.prev=11,O=regeneratorRuntime.mark((function e(){var t,n,o,area,m,f,k,w,x,I,S,C,O,P,A,T,$,D,L,M,_,R,j,N,E,U,F,Y,V,H,W,Q,J,Z,K,ee,te,ne,ie,ae,oe,re,se,ce,ue,de,le,pe,me,fe,he,ge,ve,be,ye,ke,we,xe,Ie,Se,Ce,Be,Oe,Pe,Ae;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Object(G.a)(B.value,2),o=n[0],(area=n[1]).seatGroups=[],m=!1,f=null===(t=y)||void 0===t?void 0:t.find((function(view){return view.id===parseInt(c.viewId,10)})),(k=null==f?void 0:f.screens)&&(m=k.includes(area.id)),w=parseInt(c.viewId,10)-1===o,!m&&!w){e.next=44;break}if(S=area.seats){C=z(S);try{for(C.s();!(O=C.n()).done;)O.value.subAreaName=area.name}catch(e){C.e(e)}finally{C.f()}}if(!S){P=area.areas,S=[],A=z(P);try{for(A.s();!(T=A.n()).done;)if(($=T.value).seats){D=z($.seats);try{for(D.s();!(L=D.n()).done;)L.value.subAreaName=$.name}catch(e){D.e(e)}finally{D.f()}S=S.concat($.seats)}else{M=z($.areas);try{for(M.s();!(_=M.n()).done;){R=_.value,j=z(R.seats);try{for(j.s();!(N=j.n()).done;)N.value.subAreaName=R.name}catch(e){j.e(e)}finally{j.f()}S=S.concat(R.seats)}}catch(e){M.e(e)}finally{M.f()}}}catch(e){A.e(e)}finally{A.f()}}if(E=Math.min.apply(Math,S.map((function(e){return 1.2*e.x}))),U=Math.min.apply(Math,S.map((function(e){return 1.2*e.y}))),F=null,null===(x={type:"viadukt",enabled:!0,altText:!0,approxText:!1})||void 0===x||!x.enabled){e.next=17;break}return e.next=17,d.$axios({url:"/".concat(c.venueId,".json"),baseURL:"https://bookings.birminghamhippodrome.com/seatmaps"}).then((function(e){F=e})).catch((function(e){console.log("s3 fetch error",e)}));case 17:Y=z(S),e.prev=18,H=regeneratorRuntime.mark((function e(){var t,n,o,r,m,f,v,y,k,w,x,I,S,C,B,O,P,A,T,$,D,L,M,_,R,j,N,Y,H,G,W,Q,J,Z,X,K,ee,te,ne,ie,ae;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=V.value,n=l.formatSeatStatus[t.id],o=null,n&&n.priceBandId&&(r=l.prices.filter((function(e){return e.priceBand.id===n.priceBandId})))){m=[],f=z(r);try{for(f.s();!(v=f.n()).done;)if((null==(k=v.value)||null===(y=k.customItems)||void 0===y?void 0:y.length)>0){w=z(k.customItems);try{for(w.s();!(x=w.n()).done;)"IncludedInPriceButDisplayed"===(I=x.value).displayMode&&(I.ticketType=k.ticketType,m.push(I))}catch(e){w.e(e)}finally{w.f()}}}catch(e){f.e(e)}finally{f.f()}o={priceType:r[0].ticketType.id,price:r[0].amount,fees:m}}if(n){if(O="",F&&($="view-".concat(c.viewId),D="screen-".concat(area.id),L="seat-".concat(t.row.toString().toUpperCase()).concat(t.number),(M=null===(P=F.data)||void 0===P||null===(A=P[$])||void 0===A||null===(T=A[D])||void 0===T?void 0:T[L])&&(O=M.vfs.length>0?"".concat("https://bookings.birminghamhippodrome.com/vfs","/").concat(c.venueId,"/").concat(M.vfs):"")),_=1.2*t.x-E,R=1.2*t.y-U,j=[{ids:["3","4","26"],venueName:"MainAuditorium",viewBox:"0 0 1287.92 1334.62",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0},{ids:["38","37"],venueName:"PatrickStudio",viewBox:"0 0 900 500",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0}].find((function(e){return e.ids.includes(c.venueId)})),(N=null==j?void 0:j.seatAmends)&&(Y=N.find((function(e){return e.viewId===parseInt(c.viewId,10)&&e.row===t.row&&e.number===t.number})),_=(null==Y?void 0:Y.x)||_,R=(null==Y?void 0:Y.y)||R),H=[],null!==(S={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})&&void 0!==S&&null!==(C=S.instances)&&void 0!==C&&null!==(B=C.prices)&&void 0!==B&&B.inlineFees){if((null===(G=o)||void 0===G||null===(W=G.fees)||void 0===W?void 0:W.length)>0){Q=z(o.fees);try{for(Q.s();!(J=Q.n()).done;)Z=J.value,H.push({id:"standard",name:"fee",amount:Z.amount,ticketType:Z.ticketType})}catch(e){Q.e(e)}finally{Q.f()}}(X=[])&&X.length>0&&(K=X.find((function(e){return"standard"===e.type&&"transaction"!==(null==e?void 0:e.level)})),K&&(ne=[],null!=K&&K.waivedByMembershipMinAmount&&null!==(ee=d.$session)&&void 0!==ee&&null!==(te=ee.customer)&&void 0!==te&&te.memberships&&(ne=d.$session.customer.memberships.filter((function(e){return e.membership.price>=K.waivedByMembershipMinAmount}))),0===ne.length&&H.push({id:K.type,name:K.name[d.$cookies.get("lang")],amount:K.amount})))}ie=[],null!=area&&area.areas&&(ie=area.areas.map((function(area){return area.id}))),ae={screenId:area.id,screenIds:ie,id:t.id,areaName:null==t?void 0:t.subAreaName,row:t.row,number:t.number,available:n.available,inBasket:!1,allocationId:0,zoneId:n.priceBandId,price:o?o.price:0,priceBand:n.priceBand,priceType:o?o.priceType:"",type:n.type,typeDescription:n.information,originalType:n.type,originalTypeDescription:n.information,holdId:0,additionalInformation:n.additionalInformation,x:_,y:R,aisle:"N",stairs:!1,vfs:O,priceUnformatted:o?o.price:null,visible:!0,group:null,firstInRow:!1,lastInRow:!1,positionInRow:1,fees:H},h.push(ae)}case 5:case"end":return e.stop()}}),e)})),Y.s();case 21:if((V=Y.n()).done){e.next=25;break}return e.delegateYield(H(),"t0",23);case 23:e.next=21;break;case 25:e.next=30;break;case 27:e.prev=27,e.t1=e.catch(18),Y.e(e.t1);case 30:return e.prev=30,Y.f(),e.finish(30);case 33:if(W=null,W=S?h.sort((function(a,b){return"".concat(a.areaName).concat(a.row).concat(a.id).localeCompare("".concat(b.areaName).concat(b.row).concat(b.id))}
1)):h.sort((function(a,b){return"".concat(a.areaName).concat(a.row).concat(a.id).localeCompare("".concat(b.areaName).concat(b.row).concat(b.id))})).filter((function(e){return e.screenId===area.id&&((null==k?void 0:k.includes(area.id))||(null==k?void 0:k.some((function(view){return e.screenIds.includes(view)}))))})),Q=X(W,"row"),(J={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.singleSeatsConfig).enabled&&(ee=null===(Z=J.seatBlocks)||void 0===Z||null===(K=Z[c.venueId])||void 0===K?void 0:K[area.name])){te=z(Q);try{for(te.s();!(ne=te.n()).done;){ie=ne.value,ae=ee[ie.rowName],oe=1,re=z(ie.seats.entries());try{for(re.s();!(se=re.n()).done;){if(ce=Object(G.a)(se.value,2),ue=ce[0],de=ce[1],le=ie.seats[ue-1],pe=ie.seats[ue+1],ae){me=z(ae);try{for(me.s();!(fe=me.n()).done;)he=fe.value,ge=de.number>=he.firstSeat&&de.number<=he.lastSeat,ve=le&&le.available&&de.available&&le.number>=he.firstSeat,J.useSeatId&&(ge=de.id>=he.firstSeat&&de.id<=he.lastSeat,ve=le&&le.available&&de.available&&le.id>=he.firstSeat),ge&&(ve?de.group=le.group:de.available?(de.group="".concat(area.name,"-").concat(ie.rowName,"-").concat(oe),oe++):de.group=null)}catch(e){me.e(e)}finally{me.f()}}de.firstInRow=!le,de.lastInRow=!pe,de.positionInRow=ue+1}}catch(e){re.e(e)}finally{re.f()}be=r.i(ie.seats,"group"),ye=[],ke=z(be);try{for(ke.s();!(we=ke.n()).done;)(xe=we.value)[0].group&&(Ie={id:xe[0].group,seats:xe,viewId:area.id,viewName:area.name,total:xe.length},ye.push(Ie))}catch(e){ke.e(e)}finally{ke.f()}area.seatGroups.push(ye)}}catch(e){te.e(e)}finally{te.f()}}Se=area.name,(Ce=null===(I={mapsFolder:"BirminghamHippodrome",venues:[{ids:["3","4","26"],venueName:"MainAuditorium",viewBox:"0 0 1287.92 1334.62",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0},{ids:["38","37"],venueName:"PatrickStudio",viewBox:"0 0 900 500",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0}]})||void 0===I?void 0:I.venues)&&(Be=Ce.find((function(e){return e.ids.includes(c.venueId)})))&&(Oe=null==Be?void 0:Be.aliasAreas)&&(Pe=Oe.find((function(e){return e.id===area.id})),Se=null==Pe?void 0:Pe.alias[d.$cookies.get("lang")]),Ae={id:area.id,description:Se,viewName:area.name,seatGroups:area.seatGroups.reduce((function(a,b){return a.concat(b)}),[]),screenPosition:{},seatTypesInScreen:[],totalCount:0,mapWidth:600,mapHeight:1200,seatmap:Q},v.push(Ae);case 44:case"end":return e.stop()}}),e,null,[[18,27,30,33]])})),C.s();case 14:if((B=C.n()).done){e.next=18;break}return e.delegateYield(O(),"t0",16);case 16:e.next=14;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(11),C.e(e.t1);case 23:return e.prev=23,C.f(),e.finish(23);case 26:return e.abrupt("return",v);case 28:case"end":return e.stop()}}),e,null,[[11,20,23,26]])})));return function(t,n,o,r,c){return e.apply(this,arguments)}}(),X=function(e,t){var map=new Map(Array.from(e,(function(e){return[e[t],[]]})));e.forEach((function(e){return map.get(e[t]).push(e)}));var n=Array.from(map.values()),o=[];return n.forEach((function(e){var t=e.filter((function(e){return!0===e.available})).length,n=Math.min.apply(Math,e.map((function(e){return e.y}))),r={rowName:e[0].row,rowPosition:n,availability:t,rowsFromFront:0,seats:e};o.push(r)})),o},menu=function(e,t){var n=e.url.split("/");return e.originalParams=e.params,e.originalRequestUrl=e.url,e.params.instanceId=n[4],e.originalUse="food-and-drink-service-menu",e.url="/instances/".concat(e.params.instanceId,"/price-list"),e},K=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.config.originalRequestUrl||!t.config.originalRequestUrl.includes("menu")){e.next=6;break}return e.next=3,r.g(t.config.params.instanceId,n);case 3:o=e.sent,c={instanceId:t.config.params.instanceId,totalAvailability:o.available,pricing:t.data.prices.map((function(e){return{id:e.ticketType.id,name:e.ticketType.name,bands:[{price:e.amount,totalAvailability:o.available,zones:[{id:e.priceBand.id,priceBand:e.priceBand.name}]}]}})).sort((function(a,b){return b.bands[0].price-a.bands[0].price}))},t.data=c;case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ee=function(e,t){var n=e.url.split("/");return e.originalParams=e.params,e.originalRequestUrl=e.url,e.params.instanceId=n[4],e.originalUse="supplementary-items-item",e.url="/instances/".concat(e.params.instanceId,"/price-list"),e},te=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.config.originalRequestUrl||!t.config.originalRequestUrl.includes("item")){e.next=6;break}return e.next=3,r.g(t.config.params.instanceId,n);case 3:o=e.sent,c={instanceId:t.config.params.instanceId,totalAvailability:o.available,pricing:t.data.prices.map((function(e){return{id:e.ticketType.id,name:e.ticketType.name,bands:[{price:e.amount,totalAvailability:o.available,zones:[{id:e.priceBand.id,priceBand:e.priceBand.name}]}]}})).sort((function(a,b){return b.bands[0].price-a.bands[0].price}))},t.data=c;case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();n(64);function ne(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ie(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var ae=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c,d,l,m,f,h,v,y,k,w,x,I,S,C,B,O,P,A,T,$,D,L,M,_,R,j,N,E,U,F,Y,V,H,W,z,Q,J;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.data,c=o.items,"instance"!==o.productType){e.next=54;break}return t.url="/basket/tickets",t.data=[],m=0,0,0,e.next=10,r.c(n);case 10:if(f=e.sent,h=(null==f||null===(d=f.contents)||void 0===d?void 0:d.instances)||[],v=null===(l=[{ids:["3","4","26"],venueName:"MainAuditorium",viewBox:"0 0 1287.92 1334.62",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0},{ids:["38","37"],venueName:"PatrickStudio",viewBox:"0 0 900 500",viewsOrdering:[],venueGroupingEnabled:!1,displayPriceBandsExplained:!0}].find((function(e){return e.ids.includes(o.venue.id)})))||void 0===l?void 0:l.hasBestAvailableOverlay,"best-available"!==o.purchaseType){e.next=46;break}if(!(v||!o.hasSeatmap||null!=o&&o.viewId)){e.next=31;break}return e.next=17,r.e(o.instanceId,n);case 17:if(k=e.sent,w=k.id,x={},I=null===(y=c[0])||void 0===y?void 0:y.tickets,h&&(null==h?void 0:h.length)>0&&(x=h.find((function(e){return e.instanceId===o.instanceId})),I=parseInt((null===(S=x)||void 0===S||null===(C=S.tickets)||void 0===C?void 0:C.length)||0,10)+parseInt((null===(B=c[0])||void 0===B?void 0:B.tickets)||0,10)),!(I&&I>parseInt(c[0].maxTickets,10))){e.next=25;break}return t.data=[],e.abrupt("return",t);case 25:if(c.forEach((function(e){var n,r,c,d;h&&(null==h?void 0:h.length)>0&&(x&&parseInt((null===(n=x)||void 0===n||null===(r=n.tickets)||void 0===r?void 0:r.length)||0,10)>=parseInt(e.maxTickets,10)&&(parseInt(e.maxTickets,10),parseInt((null===(c=x)||void 0===c||null===(d=c.tickets)||void 0===d?void 0:d.length)||0,10),m++));if(e.tickets<=parseInt(e.maxTickets,10)&&0===m){k.areas.length>0&&(w=k.areas[0].id);var l=null;if(null!=o&&o.viewId){var f,y,I=o.venue.settings.views.find((function(view){return view.id===parseInt(o.viewId,10)}));if(null!=I&&I.isGA)if(l=null==e||null===(f=e.priceBandA)||void 0===f||null===(y=f.zones[0])||void 0===y?void 0:y.id,k.areas.length>0){var S,C=k.areas.find((function(e){return e.id===I.screens[0]}));w=(null==C?void 0:C.id)||(null===(S=k.areas[parseInt(o.viewId,10)-1])||void 0===S?void 0:S.id)}}for(var i=0;i<e.tickets;i++){var B={instance:o.instanceId,type:l||e.priceType,ticketType:l||e.priceType,seatingPlan:w};t.data.push(B)}if(v){t.url="/basket/tickets/best-available";var O={instance:o.instanceId,priceBands:[e.zoneId],quantity:e.tickets};t.data=[O]}}else m++})),!(m>0)){e.next=29;break}return t.data=[],e.abrupt("return",t);case 29:e.next=46;break;case 31:if(P={},A=(null===(O=c[0])||void 0===O?void 0:O.tickets)||0,h.length>0&&(P=h.find((function(e){return e.instanceId===o.instanceId})),A=parseInt((null===(T=P)||void 0===T||null===($=T.tickets)||void 0===$?void 0:$.length)||0,10)+parseInt((null===(D=c[0])||void 0===D?void 0:D.tickets)||0,10)),!(A&&A>parseInt(c[0].maxTickets,10))){e.next=37;break}return t.data=[],e.abrupt("return",t);case 37:return L=[],e.next=40,r.f(o.instanceId,n);case 40:for(M=e.sent,_=0,R=Object.entries(M);_<R.length;_++)j=Object(G.a)(R[_],2),N=j[0],(E=j[1]).available&&["standard","information"].includes(E.type)&&(E.id=N,L.push(E));if(c.forEach((function(e){var n,r;if(h.length>0){var c,d,l=h.find((function(e){return e.instanceId===o.instanceId}));if(l&&parseInt((null==l||null===(c=l.tickets)||void 0===c?void 0:c.length)||0,10)>=parseInt(e.maxTickets,10))m++,parseInt(e.maxTickets,10),parseInt((null==l||null===(d=l.tickets)||void 0===d?void 0:d.length)||0,10)}var f=L.filter((function(t){return t.priceBandId===e.zoneId}));if(f=f.sort((function(a,b){return parseInt(a.id,10)-parseInt(b.id,10)})),null!=o&&null!==(n=o.venue)&&void 0!==n&&null!==(r=n.settings)&&void 0!==r&&r.views){var v=o.venue.settings.views.map((function(view){return view.sortOrder})),y=v.every((function(e,i){return i===v.length-1||e<v[i+1]}));y||(f=f.sort((function(a,b){return parseInt(b.id,10)-parseInt(a.id,10)})))}if(e.tickets<=parseInt(e.maxTickets,10)&&0===m)for(var i=0;i<e.tickets;i++){var k={instance:o.instanceId,type:e.priceType};f[i]&&(k.seat=f[i].id),t.data.push(k)}else m++})),!(m>
10)){e.next=46;break}return t.data=[],e.abrupt("return",t);case 46:if("syos"!==o.purchaseType){e.next=54;break}if(U={},F=c.length,h.length>0&&(U=h.find((function(e){return e.instanceId===o.instanceId})),F=parseInt((null===(Y=U)||void 0===Y||null===(V=Y.tickets)||void 0===V?void 0:V.length)||0,10)+parseInt((null==c?void 0:c.length)||0,10)),!(F&&F>parseInt(c[0].maxTickets,10))){e.next=53;break}return t.data=[],e.abrupt("return",t);case 53:c.forEach((function(e){var n,r,c,d;h.length>0&&(U&&parseInt((null===(n=U)||void 0===n||null===(r=n.tickets)||void 0===r?void 0:r.length)||0,10)>=parseInt(e.maxTickets,10)&&(parseInt(e.maxTickets,10),parseInt((null===(c=U)||void 0===c||null===(d=c.tickets)||void 0===d?void 0:d.length)||0,10),F++,m++));if(m>0)return t.data=[],t;var l={instance:o.instanceId,type:e.price.typeId,seat:e.fullContext.seatId};t.data.push(l)}));case 54:if(!["food-and-drink","supplementary-items"].includes(o.productType)){e.next=61;break}return t.url="/basket/tickets",t.data=[],e.next=59,r.e(o.instanceId,n);case 59:H=e.sent,c.forEach((function(e){var n={instance:o.instanceId,type:e.id,SeatingPlan:H.id};t.data.push(n)}));case 61:if("merchandise"!==o.productType){e.next=68;break}return t.url="/basket/tickets",t.data=[],e.next=66,r.e(o.instanceId,n);case 66:W=e.sent,c.forEach((function(e){var n={instance:o.instanceId,type:e.priceTypeId,SeatingPlan:W.id};t.data.push(n)}));case 68:if("donation"===o.productType&&(t.url="/basket/donations",t.data=[],c.forEach((function(e){var n={amount:e.selectValue,fundId:e.fundId};e.recognitionName&&(n.recognitionName=e.recognitionName),e.isAnonymous&&(n.isAnonymous=e.isAnonymous),t.data.push(n)}))),"membership"===o.productType&&(t.url="/basket/membership-subscriptions",t.data=[],c.forEach((function(e){var n=e.optionalFields.filter((function(e){return e["auto_renew|autorenew"]}))[0],o={membership:e.id,autoRenew:!!n&&n["auto_renew|autorenew"]};t.data.push(o)}))),"secure-my-booking"!==o.productType){e.next=89;break}t.url="/basket/tickets",t.data=[],z=ne(o.items),e.prev=74,J=regeneratorRuntime.mark((function e(){var o,c,d,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=Q.value,e.next=3,r.h(o.date,o.date,{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.secureMyBookingEventName,n);case 3:if(!(c=e.sent)){e.next=10;break}return d=c[0],e.next=8,r.e(d.id,n);case 8:l=e.sent,o.tickets.forEach((function(e){var n=d.priceList.prices.filter((function(t){return t.priceBand.name===e.priceBand.name}))[0],o={instance:d.id,type:n.ticketType.id,seatingPlan:l.id};e.price>0&&t.data.push(o)}));case 10:case"end":return e.stop()}}),e)})),z.s();case 77:if((Q=z.n()).done){e.next=81;break}return e.delegateYield(J(),"t0",79);case 79:e.next=77;break;case 81:e.next=86;break;case 83:e.prev=83,e.t1=e.catch(74),z.e(e.t1);case 86:return e.prev=86,z.f(),e.finish(86);case 89:return e.abrupt("return",t);case 90:case"end":return e.stop()}}),e,null,[[74,83,86,89]])})));return function(t,n){return e.apply(this,arguments)}}(),oe=function(e){var t=e.data,n=t.item;if("instance"===t.productType&&("ticket"===t.removalType&&(e.url="/basket/tickets?ticketIds=".concat(n.ticket.id),e.method="delete"),"instance"===t.removalType)){var o=n.tickets.map((function(e){return e.id})).join(",");e.url="/basket/tickets?ticketIds=".concat(o),e.method="delete"}if("donation"===t.productType&&(e.url="/basket/donations/".concat(n.donationId),e.method="delete"),"gift-certificate"===t.productType&&(e.url="/basket/gift-vouchers/".concat(n.voucherNumber),e.method="delete"),"ticket-subscription"===t.productType&&(e.url="/basket/ticket-subscriptions/".concat(n.ticketSubscriptionId),e.method="delete"),"membership"===t.productType&&(e.url="/basket/membership-subscriptions/".concat(n.membershipId),e.method="delete"),"secure-my-booking"===t.productType&&"secure-my-booking"===t.removalType){var r=n.tickets.map((function(e){return e.id})).join(",");e.url="/basket/tickets?ticketIds=".concat(r),e.method="delete"}return"empty-basket"===t.productType&&(e.url="/basket/clear",e.method="post"),e},re=function(e){return e.url="/basket?$expand=tickets/seat,tickets/band,tickets/event,tickets/instance,tickets/ticketType,tickets/customItems,donations/fund,membershipSubscriptions/membership,ticketDeliveryOptions,merchandiseDeliveryOptions,charges,ticketDelivery,offers,tickets/event/relatedEvents,customer/orders/payments,customer/orders/giftVouchers,multibuyoffers/offer,multibuyoffers/potentialEvents",e},se=function(e){var t=e.data;return e.data={type:t.newPriceTypeId},e.method="patch",e.url="/basket/tickets/".concat(t.ticketId),e},ce=function(e){return e.method="post",e.url="/basket/clear",e},ue=function(e){if(e.url="/basket","put"===e.method){var t=e.data;t.deliveryMethodId?(e.method="patch",e.data=[{ticketDelivery:{type:t.deliveryMethodId}}]):e.method="get"}return e},de=function(e){return e.url="/basket/potentialdiscount",e.method="get",e},le=n(8);n(149);function pe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return me(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var fe=function(e,t){var n,o,r,c,d=(null==t||null===(n=t.store)||void 0===n||null===(o=n.state)||void 0===o||null===(r=o.basket)||void 0===r||null===(c=r.totals)||void 0===c?void 0:c.productCount)||0,l=e.data.length-d;return e.data={tickets:l},e},he=function(e,t){var n=t.$cookies.get("basket"),o=e.data.length-n;return e.data={tickets:o},e},ge=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c,d,l,m,f,h,v,y,k,w,x,I,S,C,B;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.data,!t.config.originalRequestUrl||!t.config.originalRequestUrl.includes("add-promocode")){e.next=3;break}return e.abrupt("return",t);case 3:if(!t.config.originalRequestUrl||!t.config.originalRequestUrl.includes("remove-promocode")){e.next=5;break}return e.abrupt("return",t);case 5:return e.next=7,n.$axios({url:"/bands",baseURL:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL});case 7:c=e.sent,d=[],l=pe(o.tickets);try{for(l.s();!(m=l.n()).done;)f=m.value,d.push(f.instance.id)}catch(e){l.e(e)}finally{l.f()}d=Object(le.a)(new Set(d)),h={},v=pe(d),e.prev=14,v.s();case 16:if((y=v.n()).done){e.next=24;break}return k=y.value,e.next=20,n.$axios({url:"/instances/".concat(k,"/status/detail?includeLockInformation=true&includeChildPlans=true"),baseURL:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL});case 20:w=e.sent,h[k]=w.data;case 22:e.next=16;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(14),v.e(e.t0);case 29:return e.prev=29,v.f(),e.finish(29);case 32:x=n.store.state.basket.additionalData,I=[],S=pe(o.tickets),e.prev=35,B=regeneratorRuntime.mark((function e(){var t,o,r,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(t=C.value).seat&&(o=W.a.prototype.$formatStatusDetail(h[t.instance.id],c.data,n.$co
1okies.get("lang")),r=o[parseInt(t.seat.id,10)],d=x?x.find((function(e){return null!=e&&e.seatId?e.seatId.toString()===t.seat.id.toString():null})):null,t.information=r.information,t.additionalInformation={isSpecial:d&&null!==d.description,specialPriceTypeName:d&&d.description}),I.push(t);case 3:case"end":return e.stop()}}),e)})),S.s();case 38:if((C=S.n()).done){e.next=42;break}return e.delegateYield(B(),"t1",40);case 40:e.next=38;break;case 42:e.next=47;break;case 44:e.prev=44,e.t2=e.catch(35),S.e(e.t2);case 47:return e.prev=47,S.f(),e.finish(47);case 50:return e.next=52,r.k(o,"basket",n);case 52:return t.data=e.sent,e.abrupt("return",t);case 54:case"end":return e.stop()}}),e,null,[[14,26,29,32],[35,44,47,50]])})));return function(t,n){return e.apply(this,arguments)}}(),ve=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.data,t.data={total:r.basketTotal,discount:r.totalDiscount,isFeeWaived:null==r||null===(o=r.transactionCommission)||void 0===o?void 0:o.waived},e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),be=function(e,t){e.params;return e.url="/basket/initiate-customer-payment",e},ye=function(e){e.data;return e};function ke(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var xe=function(e){return e.originalRequestUrl="/authenticate-session",e.url="/customer",e.params="",e},Ie=function(e){return e.originalRequestUrl="/session-details",e.url="/customer?$expand=subscriptions/membership,tags",e.params="",e},Se=function(e){var t=e.data;if(e.originalRequestUrl=e.url,e.url="/basket",e.method="patch",e.data={promoCode:t.promocode},null!=t&&t.attributes){var n,o=ke(t.attributes);try{for(o.s();!(n=o.n()).done;){var r=n.value;e.data[r.name]=r.value}}catch(e){o.e(e)}finally{o.f()}}return e},Ce=function(e){var t=e.data;if(e.originalRequestUrl=e.url,e.url="/basket",e.method="patch",e.data={promoCode:""},null!=t&&t.attributes){var n,o=ke(t.attributes);try{for(o.s();!(n=o.n()).done;){var r=n.value;e.data[r.name]=""}}catch(e){o.e(e)}finally{o.f()}}return e},Be=function(e){var t=e.data;e.originalRequestUrl=e.url;var n,o={},r=ke(t.items);try{for(r.s();!(n=r.n()).done;){var c=n.value;o[c.name]=c.value}}catch(e){r.e(e)}finally{r.f()}return e.url="/basket",e.method="patch",e.data=o,e},Oe=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.d(n);case 2:return o=e.sent,t.data=o,e.abrupt("return",t);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Pe=function(e,t){return e},Ae=function(e,t){return e},Te={requests:["/account-service/","/scheduling-service/","/food-and-drink-service/","/supplementary-items-service/","/checkout-service/","/session-service/","/promotion-service/","/payment-service/"],requestExceptions:["/account-service/undefined/addresses"],responses:["/statements","/customer","/addresses","/basket","/plans","/instance","/memberships","/tag-groups","/
1payment-service/"]},$e=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=r.m(t),e.next="/account-service/undefined/login"===e.t0?3:"/account-service/undefined/logout"===e.t0?5:"/account-service/undefined/newsletter-sign-up"===e.t0?7:"/account-service/undefined/register"===e.t0?9:"/account-service/undefined/reset-password"===e.t0?11:"/account-service/crm-auth"===e.t0?13:"/account-service/undefined/your-details"===e.t0?15:"/account-service/undefined/addresses"===e.t0?19:"/account-service/undefined/contact-permissions"===e.t0?21:"/account-service/tags"===e.t0?23:"/account-service/print-at-home-orders"===e.t0?25:"/account-service/undefined/orders"===e.t0?27:"/account-service/undefined/giving-history"===e.t0?29:"/account-service/undefined/memberships"===e.t0?31:"/account-service/undefined/update-password"===e.t0?33:"/account-service/undefined/payment-cards"===e.t0?35:"/account-service/undefined/account-credit"===e.t0?37:"/scheduling-service/seatmap"===e.t0?41:"/food-and-drink-service/undefined/menu"===e.t0?45:"/supplementary-items-service/undefined/item"===e.t0?47:"/checkout-service/undefined/add-to-basket"===e.t0?49:"/checkout-service/undefined/remove-from-basket"===e.t0?53:"/checkout-service/clear-basket"===e.t0?55:"/checkout-service/undefined/basket"===e.t0?57:"/checkout-service/undefined/basket-properties"===e.t0?61:"/checkout-service/undefined/update-ticket"===e.t0?63:"/checkout-service/undefined/potential-discounts"===e.t0?65:"/session-service/undefined/authenticate-session"===e.t0?67:"/session-service/undefined/session-details"===e.t0?69:"/session-service/undefined/add-session-variables"===e.t0?73:"/promotion-service/undefined/add-promocode"===e.t0?77:"/promotion-service/undefined/remove-promocode"===e.t0?79:"/payment-service/undefined/spektrix-payments/initiate-customer-payment"===e.t0?81:85;break;case 3:return t=l(t),e.abrupt("break",86);case 5:return t=m(t),e.abrupt("break",86);case 7:return t=h(t),e.abrupt("break",86);case 9:return t=f(t),e.abrupt("break",86);case 11:return t=v(t),e.abrupt("break",86);case 13:return t=y(t),e.abrupt("break",86);case 15:return e.next=17,w(t,n);case 17:case 39:case 43:case 51:case 59:case 71:case 75:case 83:return t=e.sent,e.abrupt("break",86);case 19:return t=x(t),e.abrupt("break",86);case 21:return t=I(t),e.abrupt("break",86);case 23:return t=S(t),e.abrupt("break",86);case 25:return t=C(t),e.abrupt("break",86);case 27:case 29:return t=B(t),e.abrupt("break",86);case 31:return t=O(t),e.abrupt("break",86);case 33:return t=k(t),e.abrupt("break",86);case 35:return t=P(t),e.abrupt("break",86);case 37:return e.next=39,w(t);case 41:return e.next=43,H(t);case 45:return t=menu(t),e.abrupt("break",86);case 47:return t=ee(t),e.abrupt("break",86);case 49:return e.next=51,ae(t,n);case 53:return t=oe(t),e.abrupt("break",86);case 55:return t=ce(t),e.abrupt("break",86);case 57:return e.next=59,re(t);case 61:return t=ue(t),e.abrupt("break",86);case 63:return t=se(t),e.abrupt("break",86);case 65:return t=de(t),e.abrupt("break",86);case 67:return t=xe(t),e.abrupt("break",86);case 69:return e.next=71,Ie(t);case 73:return e.next=75,Be(t);case 77:return t=Se(t),e.abrupt("break",86);case 79:return t=Ce(t),e.abrupt("break",86);case 81:return e.next=83,be(t);case 85:return e.abrupt("return",t);case 86:return t.baseURL={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.interceptorURL,t.headers?t.headers["Content-Type"]="application/json":t.headers={"Content-Type":"application/json"},t.withCredentials=!0,t.crossDomain=!0,e.abrupt("return",t);case 91:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),De=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=r.n(t.config),e.next="/customer/authenticate"===e.t0?3:"/customer/forgot-password"===e.t0?5:"/customer/validate-password"===e.t0?7:"/customer/set-password"===e.t0?9:"/customer/update-password"===e.t0?11:"/customer"===e.t0?13:"/customer?$expand=subscriptions/membership,tags"===e.t0?17:"/customer/addresses"===e.t0?21:"/customer/agreed-statements"===e.t0?23:"/customer/print-at-home-documents?$expand=instance,instance/event"===e.t0?25:"/customer/orders?$expand=tickets/seat,tickets/band,tickets/event,tickets/instance,tickets/ticketType,tickets/customItems,donations/fund,membershipSubscriptions/membership,ticketDeliveryOptions,merchandiseDeliveryOptions,charges,ticketDelivery"===e.t0?27:"/customer?$expand=subscriptions/membership"===e.t0?29:"/customer/stored-cards?$expand=address"===e.t0?31:"/basket/tickets"===e.t0?33:"/basket/tickets/best-available"===e.t0?35:"/basket/membership-subscriptions"===e.t0?37:"/basket/donations"===e.t0?39:"/basket?$expand=tickets/seat,tickets/band,tickets/event,tickets/instance,tickets/ticketType,tickets/customItems,donations/fund,membershipSubscriptions/membership,ticketDeliveryOptions,merchandiseDeliveryOptions,charges,ticketDelivery,offers,tickets/event/relatedEvents,customer/orders/payments,customer/orders/giftVouchers,multibuyoffers/offer,multibuyoffers/potentialEvents"===e.t0?41:"/basket"===e.t0?45:"/basket/clear"===e.t0?47:"/basket/potentialdiscount"===e.t0?49:"/seatmap"===e.t0?51:"/price-list-menu"===e.t0?55:"/price-list-item"===e.t0?59:"/memberships"===e.t0?63:"/statements"===e.t0?67:"/tag-groups"===e.t0?69:"/payment-service/initiate-customer-payment"===e.t0?71:75;break;case 3:return t=$(t),e.abrupt("break",75);case 5:case 9:case 11:case 45:case 47:return e.abrupt("break",75);case 7:return t=D(t),e.abrupt("break",75);case 13:return e.next=15,L(t,n);
1case 15:case 19:case 43:case 53:case 57:case 61:case 65:return t=e.sent,e.abrupt("break",75);case 17:return e.next=19,L(t,n);case 21:return t=M(t),e.abrupt("break",75);case 23:return t=R(t),e.abrupt("break",75);case 25:return t=j(t),e.abrupt("break",75);case 27:return t=N(t,n),e.abrupt("break",75);case 29:return t=F(t),e.abrupt("break",75);case 31:return t=Y(t,n),e.abrupt("break",75);case 33:return t=fe(t,n),e.abrupt("break",75);case 35:return t=he(t,n),e.abrupt("break",75);case 37:return t=Pe(t),e.abrupt("break",75);case 39:return t=Ae(t),e.abrupt("break",75);case 41:return e.next=43,ge(t,n);case 49:return t=ve(t,n),e.abrupt("break",75);case 51:return e.next=53,J(t,n);case 55:return e.next=57,K(t,n);case 59:return e.next=61,te(t,n);case 63:return e.next=65,Oe(t,n);case 67:return t=_(t),e.abrupt("break",75);case 69:return t=V(t),e.abrupt("break",75);case 71:return e.next=73,ye(config);case 73:return config=e.sent,e.abrupt("break",75);case 75:return e.abrupt("return",t);case 76:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Le=["/session-service/undefined/session-details","/account-service/undefined/customer-search","/account-service/undefined/login","/account-service/undefined/register","/account-service/undefined/reset-password","/account-service/undefined/update-password","/account-service/undefined/authenticate","/account-service/undefined/orders","/account-service/undefined/contact-permissions","/contribution-service/undefined/memberships","/contribution-service/undefined/donations","/contribution-service/undefined/direct-debits","/checkout-service/undefined/add-to-basket","/checkout-service/undefined/basket","/checkout-service/undefined/order/","/checkout-service/undefined/check-voucher-balance/","/payment-service/undefined/windcave/verify-order","/promotion-service/undefined/add-promocode","/food-and-drink-service/undefined/menu/","/food-and-drink-service/undefined/listings","/merchandise-service/undefined/listings","/supplementary-items-service/undefined/listings","/supplementary-items-service/undefined/item/","/digital-wallet-service/undefined/generate-passes"],Me=["prices-availability","seatmap"],_e=void 0,Re=function(time){return new Promise((function(e){return setTimeout(e,time)}))},je=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=n,e.next="tessitura"===e.t0?3:"spektrix"===e.t0?9:15;break;case 3:if(r.$cookies.get("viaduktid")||"/session-service/create-session"===t.url||!Le.some((function(e){return t.url.includes(e)}))&&!Me.some((function(e){return t.url.includes(e)}))){e.next=8;break}if(r.$cookies.get("viaduktid")){e.next=8;break}return console.log("waiting for session key..."),e.next=8,Re(2e3).then(Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.$cookies.get("viaduktid")){e.next=5;break}return console.log("still waiting for session key..."),r.$axios.post("/session-service/create-session").then((function(e){r.$cookies.set("viaduktid",e.data.key,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax"});var t=_e.$encodeBase64("".concat(e.data.key,"||").concat(new Date));r.$cookies.set("viaduktshared",t,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"})})).catch((function(){console.log("no session created")})),e.next=5,Re(2e3).then((function(){r.$cookies.get("viaduktid")||console.log("no session created")}));case 5:Le.some((function(e){return t.url.includes(e)}))&&(t.url=t.url.replace("undefined",r.$cookies.get("viaduktid"))),Me.some((function(e){return t.url.includes(e)}))&&(t.params.sessionId=r.$cookies.get("viaduktid"));case 7:case"end":return e.stop()}}),e)}))));case 8:return e.abrupt("break",15);case 9:if(t.url.includes("-service")&&(t.baseURL="".concat("https://viadukt-api.birminghamhippodrome.com","/").concat(r.$cookies.get("lang"))),!Te.requests.some((function(e){return t.url.includes(e)}))||Te.requestExceptions.some((function(e){return t.url.includes(e)}))){e.next=14;break}return e.next=13,$e(t,r);case 13:t=e.sent;case 14:return e.abrupt("break",15);case 15:return e.abrupt("return",t);case 17:case"end":return e.stop()}}),e)})));return function(t,n,o){return e.apply(this,arguments)}}(),Ne=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=n,e.next="tessitura"===e.t0?3:"spektrix"===e.t0?4:9;break;case 3:return e.abrupt("break",9);case 4:if(!Te.responses.some((function(e){return t.config.url.includes(e)}))){e.next=8;break}return e.next=7,De(t,o);case 7:t=e.sent;case 8:return e.abrupt("break",9);case 9:return e.abrupt("return",t);case 10:case"end":return e.stop()}}),e)})));return function(t,n,o){return e.apply(this,arguments)}}();t.a=function(e){var t=e.app,n=e.$axios,r=e.$cookies,c=e.redirect,d=e.route,l="tessitura",m=r.get("lang");n.setBaseURL("".concat("https://viadukt-api.birminghamhippodrome.com","/").concat(m)),n.interceptors.request.use(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,je(n,l,t);case 2:return n=e.sent,["https://api.addressy.com"].some((function(e){return!n.url.includes(e)}))&&(n.withCredentials=!0,n.crossDomain=!0),e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){return Promise.reject(e)})),n.interceptors.response.use(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ne(n,l,t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}
1(),(function(e){401===parseInt(e.response&&e.response.status)&&window.location.href.includes("/account/")&&c("/login?returnurl=".concat(d.path));var t=function(e,t,n){switch(t){case"tessitura":case"spektrix":e=Promise.reject(e)}return e}(e,l);if(t)return t}))}},function(e,t,n){"use strict";n(63);var o=n(56),r=n(98),c=n(99),d=n(100),l=n(101),m=n(102),f=n(103),h=n(106),v=n(104),y=n(105),k={components:{Fragment:o.a,Prompt:r.default,GiftVoucher:c.default,Reservations:d.default,EmptyBasket:l.default,SpektrixIframe:m.default,Camp:f.default,FixedSeries:h.a,PotentialDiscounts:v.default,ProgrammeGroups:y.default},props:{notifications:{type:Array,required:!0},notificationData:{type:[Array,String,Boolean,Number],required:!1,default:null}}},w=n(4),component=Object(w.a)(k,(function(){var e=this,t=e._self._c;return t("Fragment",e._l(e.notifications,(function(n){return t(n.type,{key:n.id,tag:"component",attrs:{notification:n,"notification-data":e.notificationData}})})),1)}),[],!1,null,null,null);t.a=component.exports},function(e,t,n){"use strict";n.r(t);var o,r=n(81),c={props:{modalData:{type:Object,required:!1,default:function(){return{}}}},data:function(){return{error:!1,loading:!0}},computed:{hasInfoSlot:function(){return!!this.$slots.info}},watch:{modalData:{handler:function(){this.loading=!1},deep:!0,immediate:!0}},mounted:function(){(o=Object(r.a)("standard-modal",!0)).activate(),this.isScrollableContent()},beforeDestroy:function(){o.deactivate()},methods:{isScrollableContent:function(){var e=document.getElementById("modalDescription"),t=e.querySelector(".c-modal-row");t&&t.clientHeight>window.innerHeight&&(e.tabIndex=0);var n=document.querySelector(".c-modal__footer");if(n){var o=n.querySelector(".c-modal__actions");o&&o.clientHeight>window.innerHeight&&(o.tabIndex=0)}},close:function(){this.$emit("close",this.modalData)}}},d=n(4),component=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"c-modal-backdrop",on:{click:function(t){return t.target!==t.currentTarget?null:e.close.apply(null,arguments)}}},[t("div",{staticClass:"c-modal",attrs:{id:"standard-modal",role:"dialog","aria-labelledby":"modalTitle","aria-describedby":"modalDescription","aria-modal":"true",tabindex:"0"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),e.close.apply(null,arguments))}}},[t("header",{staticClass:"c-modal__header",attrs:{id:"modalTitle"}},[t("div",{staticClass:"c-modal__title"},[e._t("header")],2),e._v(" "),t("button",{staticClass:"c-modal__close c-btn c-btn--tertiary c-btn--close",attrs:{type:"button","aria-label":e.$t("modals.close-modal"),"data-action":"close-modal"},on:{click:e.close}},[e._v("\n          "+e._s(e.$t("links.close"))+"\n        ")])]),e._v(" "),t("section",{staticClass:"c-modal__body",attrs:{id:"modalDescription"}},[e.hasInfoSlot?t("div",{staticClass:"c-modal__info"},[e._t("info")],2):e._e(),e._v(" "),e._t("body"),e._v(" "),e._t("footer")],2)])])])}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{Header:n(62).default})},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(13),n(10);var o=void 0,r={props:{loadState:{type:Boolean,required:!1,default:!1},viewState:{type:String,required:!1,default:"full-screen"}},data:function(){return{loading:this.loadState,logo:{src:"".concat("https://bookings.birminghamhippodrome.com/styling","/images/").concat("birmingham-hippodrome","/").concat("birmingham-hippodrome-logo.svg"),alt:{logos:{header:"birmingham-hippodrome-logo.svg",loading:"birmingham-hippodrome-logo.svg"}}.logoAlt}}},watch:{loadState:function(e,t){o.loading=e}},methods:{start:function(){var e=this;["account","checkout/account","checkout/delivery","checkout/review","checkout/payment"].some((function(t){return e.$route.path.includes(t)}))||(this.loading=!0,document.body.classList.add("loader"),document.body.classList.add("state--modal-open"),this.$nuxt.$emit("updateAriaLive",this.$t("site.loading")))},finish:function(){this.loading=!1,document.body.classList.remove("loader"),document.body.classList.remove("state--modal-open"),this.$nuxt.$emit("updateAriaLive",null)}},transition:{name:"full-screen-loading-transition",mode:"out-in"}},c=n(4),component=Object(c.a)(r,(function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"full-screen-loading-transition"}},[e.loading?t("section",{class:"o-loading o-loading--full view-state__".concat(e.viewState),attrs:{role:"status"}},[t("figure",{staticClass:"o-loading__logo",attrs:{"aria-hidden":"true"}},[t("img",{attrs:{src:e.logo.src,alt:e.logo.alt}})]),e._v(" "),t("p",[e._v("\n      "+e._s(e.$t("site.loading"))+"\n      "),t("span",{staticClass:"o-ellipsis",attrs:{"aria-hidden":"true"}},[t("span",[e._v(".")]),e._v(" "),t("span",[e._v(".")]),e._v(" "),t("span",[e._v(".")])])])]):e._e(
1)])}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n(29),n(14),n(36),n(37),n(20),n(19);var o,r,c=n(8),d=n(1),l=n(11),m=(n(6),n(9),n(18),n(13),n(10),n(22),n(15),n(25),n(26),n(12),n(40),n(41),n(17),n(209),n(24)),f=n(134),h=n(202),v=n(203),y=n(204),k=n(205),w=n(60);function x(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw r}}}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function S(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}var C=new DOMParser,B={components:{AccessibilityAriaLive:f.default,PackageBuilderStatusBar:h.default,BasketTimeOutModal:v.default,BasketErrorModal:y.default,MainApplication:w.a,CookiesBanner:k.default},data:function(){var e,t;return{crm:"tessitura",stages:null===(e={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1})||void 0===e||null===(t=e.checkout)||void 0===t?void 0:t.stepSeries,modal:{visible:!1,component:null},hideStatusBar:!1,basketTimedOut:!1,basketError:!1,reservedBasket:!1,keyId:this.$cookies.get("lang"),cookiesBannerDisplay:!1,cookiesB
1annerConfig:{external:{provider:"oneTrust",id:"018dd112-4aa8-7dc7-98af-1b066c4ba2bf"},agreement:{},options:{cookie:"cookie-agreed-categories",values:[]}},cookieOptions:[],local:window.location.hostname.includes("localhost"),languages:[{code:"en",label:"In English"}],oneTrustCookie:null,cookieBotVisible:!1,spektrixCurrentPage:null}},computed:function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?S(Object(source),!0).forEach((function(t){Object(l.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):S(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({clientFooterComponent:function(){return function(){return n.e(734).then(n.bind(null,1613))}}},Object(m.d)(["eventListener","packageBuilder","basket","session"])),watch:{$route:{handler:function(e){var t,n;if(this.hideStatusBar=e.path.includes("/syos/"),this.$metaData(this.$route,this.$store.state),"oneTrust"===(null===(t={external:{provider:"oneTrust",id:"018dd112-4aa8-7dc7-98af-1b066c4ba2bf"},agreement:{},options:{cookie:"cookie-agreed-categories",values:[]}})||void 0===t||null===(n=t.external)||void 0===n?void 0:n.provider)&&!this.local){var o=this.$cookies.get("OptanonConsent");if(o){var r=new URLSearchParams(o).get("groups");this.oneTrustCookie!==r&&(this.oneTrustCookie&&(r.includes("C0002:0")||r.includes("C0004:0")||r.includes("C0003:0"))&&this.$router.go(0),this.oneTrustCookie=r)}}},deep:!0,immediate:!0},session:{handler:function(e){e.isLoggedIn&&this.addBodyClass("state--logged-in")},deep:!0,immediate:!0}},beforeCreate:function(){this.$store.commit("initialiseStore")},created:function(){var e=this;this.$nuxt.$on("languageChange",(function(t){e.$nuxt.$loading.start(),e.setLanguage(t)})),this.$nuxt.$on("resetSession",Object(d.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:console.log("resetting session..."),e.$store.commit("updateSession",{isLoggedIn:!1,isGuest:!1,modeOfSaleId:null,customer:{id:null,email:null,mobile:null,hasPrimaryAddress:!1,attributes:[],constituencies:[],accountCredit:[]},eventsPage:e.$route.path.includes("/events/"),packagePage:e.$route.path.includes("/packages/")}),e.$cookies.set("loggedInStatus",!1,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"}),e.$store.commit("resetBasket"),e.$cookies.remove("viaduktid",{path:"/"}),e.$cookies.remove("viaduktshared");case 6:case"end":return t.stop()}}),t)})))),this.$nuxt.$on("updateSession",(function(e){})),this.$nuxt.$on("transferSession",(function(){var t;e.$cookies.set("basket",0,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(t={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==t&&t.domainBasketCookie?"birminghamhippodrome.com":null}),e.$axios.post("/session-service/".concat(e.$cookies.get("viaduktid"),"/transfer-session")).then((function(t){e.$cookies.set("viaduktid",t.data.key,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax"});var n=e.$encodeBase64("".concat(t.data.key,"||").concat(new Date));e.$cookies.set("viaduktshared",n,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"})})).catch((function(){e.$cookies.remove("viaduktid",{path:"/"}),e.$cookies.remove("viaduktshared")})),e.$store.commit("updateBasket",{expiry:null,contents:null,deliveryOptions:null,additionalData:[],valid:!0,invalidPerformance:null}),e.$nuxt.$loading.finish()})),this.$nuxt.$on("saveReservation",(function(){var t;e.$cookies.set("basket",0,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(t={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==t&&t.domainBasketCookie?"birminghamhippodrome.com":null}),e.$axios.get("/session-service/transfer").then((function(t){o=new Date(t.data.expiry),r=new Date,e.$cookies.set("sid",t.data.key,{path:"/",maxAge:(o.getTime()-r.getTime())/1e3,secure:!0,sameSite:"Lax"}),store.commit("updateBasket",{expiry:null,contents:null,deliveryOptions:null,additionalData:[],valid:!0,invalidPerformance:null}),e.$nuxt.$loading.finish()}))})),this.$nuxt.$on("updatePackageBuilder",(function(t){if(e.packageBuilder&&!0===e.packageBuilder.active)if("flex"===e.packageBuilder.type){var n=t.groupedPerformances.map((function(e){return parseInt(e.groupId,10)})),o=e.packageBuilder.packageInstances,r=n.filter((function(e){return o.includes(e)})),c={active:e.packageBuilder.active,type:"flex",currentId:e.packageBuilder.currentId,instances:r,minInstances:e.packageBuilder.minInstances,packageInstances:e.packageBuilder.packageInstances,priceType:e.packageBuilder.priceType,tickets:e.packageBuilder.tickets};e.$store.commit("updatePackageBuilder",c)}else if("super"===e.packageBuilder.type){var d=t.packages.map((function(e){return parseInt(e.packageId,10)})),l=e.packageBuilder.subPackages,m=d.filter((function(e){return l.includes(e)})),f={active:e.packageBuilder.active,type:"super",currentId:e.packageBuilder.currentId,subPackages:m,minSubPackages:e.packageBuilder.minSubPackages,packageSubPackages:e.packageBuilder.packageSubPackages,tickets:e.packageBuilder.tickets};e.$store.commit("updatePackageBuilder",f)}})),this.$nuxt.$on("basketTimedOut",(function(){if("spektrix"===e.crm)console.log("basket timed out");else{e.basketTimedOut=!0,e.reservedBasket="reservation"===e.basket.notes,e.$nuxt.$emit("addBodyClass","state--modal-open")}})),this.$nuxt.$on("basketError",Object(d.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.basketError=!0,e.reservedBasket="reservation"===e.basket.notes,t.next=4,e.$nuxt.$emit("resetSession",!0);case 4:"spektrix"===e.crm&&e.emptyBasket(),e.$nuxt.$emit("addBodyClass","state--modal-open");case 6:case"end":return t.stop()}}),t)})))),this.$nuxt.$on("addBodyClass",(function(t){e.addBodyClass(t),"state--modal-open"===t&&e.modalOffsetSet()})),this.$nuxt.$on("removeBodyClass",(function(t){e.removeBodyClass(t),"state--modal-open"===t&&e.modalOffsetRelease()})),this.$nuxt.$on("spektrixListen",(function(){e.spektrixEventListener()}
1)),this.$nuxt.$on("scrollControl",(function(t){e.scrollControl(t)}))},mounted:function(){this.detectLanguage(),this.cookiesBanner(),"spektrix"===this.crm&&this.spektrixRedirects()},beforeDestroy:function(){window.removeEventListener("resize",this.onResize),this.$nuxt.$off("spektrixListen")},methods:{addBodyClass:function(e){document.body.classList.add(e)},removeBodyClass:function(e){document.body.classList.remove(e)},closeModal:function(){this.basketTimedOut=!1,this.$nuxt.$emit("removeBodyClass","state--modal-open")},detectLanguage:function(){var e=this;this.$cookies.get("lang")&&0===this.languages.filter((function(t){return t.code===e.$cookies.get("lang")})).length&&(this.$cookies.set("lang","en",{path:"/",maxAge:604800,secure:!0,sameSite:"Lax"}),location.reload()),this.$route.query&&this.$route.query.lang&&1===this.languages.filter((function(t){return t.code===e.$route.query.lang})).length&&(this.setLanguage(this.$route.query.lang),this.$nuxt.$emit("languageUpdatedUrl",this.$route.query.lang),this.$router.replace(this.$route.path)),1===[{code:"en",label:"In English"}].length&&this.setLanguage("en")},setLanguage:function(e){var t=this.$cookies.get("lang"),n=e||"en";this.$i18n.locale=n,this.$cookies.set("lang",n,{path:"/",maxAge:604800,secure:!0,sameSite:"Lax"}),this.$axios.setBaseURL("".concat("https://viadukt-api.birminghamhippodrome.com","/").concat(n)),n!==t&&(this.$store.commit("updateBasket",{contents:null}),this.$store.commit("updatePricesAvailability",null))},spektrixRedirects:function(){this.$route.query&&this.$route.query.screen&&"paymentCards"===this.$route.query.screen&&this.$router.replace("/account/payment-cards")},modalOffsetSet:function(){var body=document.body,e=window.pageYOffset|body.scrollTop;body.style.position="fixed",body.style.top="-".concat(e,"px")},modalOffsetRelease:function(){var body=document.body,e=body.style.top;body.style.position="",body.style.top="",window.scrollTo(0,-1*parseInt(e||"0"))},cookiesBanner:function(){var e,t,n,o;"oneTrust"===(null===(e={external:{provider:"oneTrust",id:"018dd112-4aa8-7dc7-98af-1b066c4ba2bf"},agreement:{},options:{cookie:"cookie-agreed-categories",values:[]}})||void 0===e||null===(t=e.external)||void 0===t?void 0:t.provider)&&setTimeout((function(){document.querySelector(".c-footer"),document.getElementById("ot-sdk-btn-floating")}),1),"cookieBot"===(null===(n={external:{provider:"oneTrust",id:"018dd112-4aa8-7dc7-98af-1b066c4ba2bf"},agreement:{},options:{cookie:"cookie-agreed-categories",values:[]}})||void 0===n||null===(o=n.external)||void 0===o?void 0:o.provider)&&(document.onkeydown=function(e){if(27==(e=e||window.event).keyCode){var t=document.querySelector(".CookiebotWidget-close");t&&t.click()}})}
1,closeCookiesBanner:function(){this.cookiesBannerDisplay=!1},emptyBasket:function(){var e=this;return Object(d.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={productType:"empty-basket",removalType:null,item:[]},t.next=3,e.$axios.post("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/remove-from-basket"),n);case 3:case"end":return t.stop()}}),t)})))()},spektrixEventListener:function(){var e=this;if("spektrix"===this.crm){var t=null,n=[],o=[],r={sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1}.checkout.nextSteps;window.addEventListener("message",(function(d){var l;if("sync_view_port"!==(null===(l=d.data)||void 0===l?void 0:l.type)){var m=d.data||null;if(e.$route.path.includes("flex")){var f,h,v,y,k,w,I,S=C.parseFromString(m.html,"text/html"),B=null===(f=S.querySelector("#CustomHeaderText"))||void 0===f||null===(h=f.children)||void 0===h?void 0:h[0],O=null===(v=S.querySelector(".spx-main-container"))||void 0===v||null===(y=v.querySelector("form"))||void 0===y||null===(k=y.children)||void 0===k||null===(w=k[0])||void 0===w||null===(I=w.children)||void 0===I?void 0:I[0];if(B){var P,A=null==B||null===(P=B.innerHTML)||void 0===P?void 0:P.trim(),T=document.querySelector("h2");T&&(T.innerHTML=A)}if(O){var $,D=null==O||null===($=O.innerHTML)||void 0===$?void 0:$.trim(),L=document.querySelector("h2");L&&(D.includes("CYO")?L.innerHTML="".concat(D.split("CYO")[0]," CYO Subscriptions"):L.innerHTML=D)}}if(e.$route.path.includes("fixed-series")&&m.html){var M=1,_="FixedSeriesSetup",R="fs-setup",j=C.parseFromString(m.html,"text/html"),N=null,E=Object(c.a)(j.querySelectorAll(".Exclamation"));if(E.length>0){var U,F=Object(c.a)(E[0].childNodes),Y=F[0].data.replace(/(\r\n|\n|\r|\t)/gm,""),V=[],H=x(F);try{for(H.s();!(U=H.n()).done;){var G=U.value,W=Object(c.a)(G.childNodes);if(W.length>0){var z,Q=x(W);try{for(Q.s();!(z=Q.n()).done;){var J=z.value;V.push(J.innerText.replace(/(\r\n|\n|\r|\t)/gm,""))}}catch(e){Q.e(e)}finally{Q.f()}}}}catch(e){H.e(e)}finally{H.f()}N={description:Y,nodeListItems:V}}var Z=null,X=j.querySelector("#ctl00_ContentPlaceHolder_EventsAndPricingControl_WikiTextControl");X&&(Z=X.innerText.replace(/(\r\n|\n|\r|\t)/gm,""));var K=[],ee=Object(c.a)(j.querySelectorAll(".FixedSeriesEventsList"));if(ee.length>0)for(var te=ee[0].children[0].children,ne=0,ie=Object(c.a)(te);ne<ie.length;ne++){var ae=ie[ne];K.push(e.$InputFormatter(ae,"checkbox"))}var oe=K.map((function(e){return"checked"===e.attributes.checked?1:0})).reduce((function(e,t){return e+t}),0),re=[],se=Object(c.a)(j.querySelectorAll(".ChoosePricingButtons"));if(se.length>0)for(var ce=se[0].children[0].children,ue=0,de=Object(c.a)(ce);ue<de.length;ue++){var le=de[ue];re.push(e.$InputFormatter(le,"radio"))}var pe=[],me=null,fe=null,he=null,ge=null,ve=Object(c.a)(j.querySelectorAll(".ChooseSeatBand"));if(ve.length>0){me=ve[0].getElementsByTagName("select")[0].id,fe=ve[0].getElementsByTagName("span")[0].innerText.replace(/(\r\n|\n|\r|\t)/gm,""),he=Object(c.a)(ve[0].getElementsByTagName("select")[0]);for(var be=0,ye=Object(c.a)(he);be<ye.length;be++){var ke=ye[be];pe.push(e.$InputFormatter(ke,"select"))}ge=ve[0].getElementsByTagName("select")[0].value}var we={id:me,title:fe,options:pe,currentValue:ge},xe=[],Ie=Object(c.a)(j.querySelectorAll(".FixedSeriesAvailableDates"));if(Ie.length>0)for(var Se=Ie[0].children,Ce=0,Be=Object(c.a)(Se);Ce<Be.length;Ce++){var Oe=Be[Ce],Pe=Object(c.a)(Oe.children),Ae=Pe[0].firstElementChild.id,Te=Pe[0].lastElementChild.innerText,$e=Pe[0].firstElementChild.checked;
1Pe.shift();for(var De=[],Le=[],Me=0,_e=Object(c.a)(Pe);Me<_e.length;Me++){var Re=_e[Me];Le.push(Re.children[0].innerText.replace(/(\r\n|\n|\r|\t)/gm,"").trim()),De.push(Re.innerText.replace(/(\r\n|\n|\r|\t)/gm,"").trim())}xe.push({id:Ae,description:Te,selected:$e,dates:De,names:Le})}xe.length>0&&(M=2,_="FixedSeriesChooseDates",R="fs-choose-dates");var je=0,Ne=null,Ee=j.querySelector("#ctl00_ContentPlaceHolder_ChooseSeatsControl_SeatingAreaControl_UnderlayDiv");if(Ee){var Ue=Object(c.a)(Ee.children);Ne=(Ue=Ue.filter((function(e){return!e.className.includes("SeatingAreaBackground")}))).map((function(e){return{id:e.title,rowSeat:e.title.split("-")[0].replace(/(\r\n|\n|\r|\t)/gm,"").trim(),available:e.className.includes("SeatSelectable")}}));var qe=Object(c.a)(j.querySelectorAll(".NumberOfSeatsToSelect"))[0];if(qe){var Fe=qe.innerText.split(":");je=parseInt(Fe[1].trim(),10)}}Ne&&(M=3,_="FixedSeriesSYOS",R="fs-syos");var Ye=[],Ve=Object(c.a)(j.querySelectorAll(".FixedSeriesOptions"));if(Ve.length>0){var He=Ve[0].querySelectorAll("ul")[0];if(He){var Ge,We=Object(c.a)(He.children),ze=We[0].querySelectorAll("select")[0],Qe=x(We);try{for(Qe.s();!(Ge=Qe.n()).done;){var Je=Ge.value,Ze=Object(c.a)(Je.children[0].lastChild.children[0]).map((function(option){return{input:option.innerText.replace(/(\r\n|\n|\r|\t)/gm,"").trim(),value:option.value}}));Ze.sort((function(a,b){return parseInt(b.input.split("$")[1],10)-parseInt(a.input.split("$")[1],10)})),Ye.push({id:ze.name,name:Je.children[0].firstChild.innerText.replace(/(\r\n|\n|\r|\t)/gm,"").trim(),options:Ze})}}catch(e){Qe.e(e)}finally{Qe.f()}}}Ye.length>0&&(M=4,_="FixedSeriesChoosePrices",R="fs-choose-prices");var Xe={stepId:M,component:_,key:R,errors:N,description:Z};1===M&&(Xe.eventsList=K,Xe.eventsListSelectedCount=oe,Xe.pricesList=re,Xe.priceLevel=we),2===M&&(Xe.dates=xe),3===M&&(Xe.seatLimit=je,Xe.availabilityMap=Ne),4===M&&(Xe.seats=Ye),e.$nuxt.$emit("fixedSeriesTrigger",Xe)}if(e.$route.path.includes("events")&&(n.push(m.toString()),o.push(m)),e.$route.path.includes("queue")&&m.toString().includes("basketContents")&&e.$nuxt.$emit("updateQueue",m),e.$route.path.includes("gift-vouchers")&&m&&m.url&&m.class.includes("AddToBasketButton")){var Ke,et=e.$cookies.get("basket"),tt=parseInt(et,10)+1;e.$cookies.set("basket",tt,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(Ke={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==Ke&&Ke.domainBasketCookie?"birminghamhippodrome.com":null}),e.$nuxt.$emit("basketUpdate",tt),e.$store.commit("updateBasket",{contents:null}),e.$nuxt.$emit("updateSession",300)}if(e.$route.path.includes("redeem-gift-voucher")&&(m&&m.toString().includes("basketContents")&&(t=JSON.parse(m.replace("basketContents:",""))),m&&m.url&&m.class.includes("RedeemGiftButton")&&t&&t.membershipSubscriptions.length>0)){var nt,it=e.$cookies.get("basket"),at=parseInt(it,10)+1;e.$cookies.set("basket",at,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(nt={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==nt&&nt.domainBasketCookie?"birminghamhippodrome.com":null}),e.$nuxt.$emit("basketUpdate",at),e.$store.commit("updateBasket",{contents:null}),e.$nuxt.$emit("updateSession",300),setTimeout((function(){e.$router.push("/checkout/basket")}),50)}if(e.$route.path.includes("addresses")&&setTimeout((function(){m.currentPage.includes("secure/myaccount.aspx")&&e.$nuxt.$emit("closeAddressModal",!0)}),5),e.$route.path.includes("your-ticket-subscriptions")){var ot,st=C.parseFromString(m.html,"text/html"),ct=st.querySelector(".MyTicketSubscriptionMessage");
1if(ct&&document.querySelector("#ticket-subscription-message"))document.querySelector("#ticket-subscription-message").innerHTML=null==ct||null===(ot=ct.innerHTML)||void 0===ot?void 0:ot.trim();var ut=st.querySelectorAll(".TicketSubscription");if(ut){for(var lt=[],pt=0,mt=Object(c.a)(ut);pt<mt.length;pt++){for(var ft=mt[pt],ht={},gt=0,vt=Object(c.a)(ft.children);gt<vt.length;gt++){var bt,yt=vt[gt];ht[yt.className.toLowerCase().replace("ticketsubscription","")]=null===(bt=yt.innerHTML)||void 0===bt?void 0:bt.trim()}lt.push(ht)}e.$nuxt.$emit("importTicketSubscriptions",lt)}}if(e.$route.path.includes("checkout")){var kt="checkout-".concat(e.stages[e.stageIndex()]),wt=document.getElementById("SpektrixIFrame");if(m.currentPage&&m.currentPage.includes("website/secure/checkout/v2/ordersummary")){var xt=C.parseFromString(d.data.html,"text/html").querySelectorAll(".spx-list-item__checkout--final-summary"),It=e.basket;if(It){var St=It.totals.total,Ct=0;if(xt.length>=3){var Bt=xt[xt.length-2];if(Bt)Ct=Bt.children[Bt.children.length-1].innerHTML.trim().replace(/[^0-9.]/g,"")}parseFloat(It.totals.total).toFixed(2);var Ot=parseFloat(Ct).toFixed(2);parseFloat(St-Ot).toFixed(2)}}if(m.currentPage&&m.currentPage.includes("website/secure/checkout/v2/orderconfirmation"))wt.style.opacity=0,e.$nuxt.$emit("spektrixIframeUpdate",!0),e.$router.push({path:"/order/confirmed?orderId=".concat(e.basket.orderId),query:{payment:"success"}});else if(m&&m.url){var Pt,At,Tt=null===(Pt=e.basket)||void 0===Pt||null===(At=Pt.totals)||void 0===At?void 0:At.total;if(m.class.includes("spx-input-checkbox__checkout--credit")&&(e.$store.commit("setSpektrixBasketTotalBeforeCredit",Tt),e.$nuxt.$emit("spektrixCreditApplying",!0)),m.class.includes("spx-intent-continue")){if(window.location.pathname.includes("summary"))document.getElementById("c-summary-viadukt").style.display="none",wt.style.opacity=0;wt.style.opacity=0,e.$nuxt.$emit("spektrixIframeUpdate",!0),m.url!==e.spektrixCurrentPage&&(e.spektrixCurrentPage=m.url,Tt&&Tt>=1&&e.$nuxt.$emit("validateCustomer",!0)),e.scrollControl(kt)}var $t=r.filter((function(e){return m.url.includes(e.id)}
1));if(Tt&&Tt<1&&($t=[]),$t.length>0){if(m.class.includes("spx-intent-continue")){var Dt="billing"===$t[0].page?"Billing Details":$t[0].page.charAt(0).toUpperCase()+$t[0].page.slice(1);document.title="".concat(Dt," | ").concat("Birmingham Hippodrome"),e.spektrixIFrameHandler($t[0].page),setTimeout((function(){e.$nuxt.$emit("spektrixIframeUpdate",!1),wt.style.opacity=1}),2e3)}}else["contactpreferences","donations","giftaid","additionaldetails"].some((function(e){return m.url.includes(e)}))&&setTimeout((function(){e.$nuxt.$emit("spektrixIframeUpdate",!1),wt.style.opacity=1}),2e3)}}if(e.$route.path.includes("events")){C.parseFromString(d.data.html,"text/html").querySelectorAll(".ChooseSeats");setTimeout((function(){e.$nuxt.$emit("triggerQueue",n,o)}),500)}}}))}},spektrixIFrameHandler:function(e){if(e===this.stages[this.stageIndex()])return null;var t=document.getElementById("checkout-delivery"),n=document.getElementById("checkout-".concat(this.stages[this.stageIndex()]));if(n){var o=n.querySelector(".c-panel-header");n.classList.add("c-panel-section--complete"),n.classList.remove("c-panel-section--active");var r='<div class="c-panel-header__edit spektrix-edit"><a href="/checkout/'.concat(this.stages[this.stageIndex()],'" class="c-btn c-btn--tertiary c-btn--edit" data-action="checkout-edit-').concat(this.stages[this.stageIndex()],'">Edit <span class="u-hidden-visually">').concat(this.stages[this.stageIndex()],"</span></a></div>");o.insertAdjacentHTML("beforeend",r),t.append(o)}var c=null,d=document.getElementById("checkout-".concat(this.stages[this.stageIndex()+1]));d&&(c=d.querySelector(".c-panel-header"),d.id="",d.style.border="0px"),n&&c&&(n.classList.add("c-panel-section--active","c-panel-section--".concat(this.stages[this.stageIndex()+1])),n.classList.remove("c-panel-section--complete","checkout-".concat(this.stages[this.stageIndex()])),n.id="checkout-".concat(this.stages[this.stageIndex()+1]),n.prepend(c)),history.pushState({},null,"/checkout/".concat(this.stages[this.stageIndex()+1]));var l=document.getElementById("SpektrixIFrame");window.location.pathname.includes("billing")?l.style.height="".concat(parseInt(l.style.height,10)+100,"px"):window.location.pathname.includes("payment")&&(l.style.height="".concat(parseInt(l.style.height,10)+15,"px"))},scrollControl:function(e){var t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},stageIndex:function(){return this.stages.findIndex((function(e){return"checkout-".concat(e)==="checkout-".concat(window.location.pathname.split("/")[2])}))}},head:function(){return{htmlAttrs:{lang:this.$i18n&&this.$i18n.locale?this.$i18n.locale:"en"}}}},O=B,P=n(4),component=Object(P.a)(O,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"c-page-wrap"},[t("AccessibilityAriaLive"),e._v(" "),t("Header"),e._v(" "),t("main",{staticClass:"c-main",attrs:{id:"content-top"}},[e.packageBuilder&&!0===e.packageBuilder.active&&!e.hideStatusBar?t("PackageBuilderStatusBar",{attrs:{"package-builder":e.packageBuilder}}):e._e(),e._v(" "),e.basketTimedOut?t("BasketTimeOutModal",{attrs:{"reserved-basket":e.reservedBasket},on:{close:function(t){return e.closeModal()}}}):e._e(),e._v(" "),e.basketError?t("BasketErrorModal",{attrs:{"reserved-basket":e.reservedBasket},on:{close:function(t){return e.closeModal()}}}):e._e(),e._v(" "),t("MainApplication",{key:e.keyId})],1)],1),e._v(" "),t("footer",{staticClass:"c-footer u-hidden-print"},[t("div",{staticClass:"c-footer__wrap o-wrapper"},[t(e.clientFooterComponent,{tag:"component"})],1)]),e._v(" "),e.cookiesBannerDisplay&&!e.local?t("CookiesBanner",{on:{consent:function(t){return e.closeCookiesBanner()}}}):e._e()],1)}),[],!1,null,null,null);t.a=component.exports;installComponents(component,{AccessibilityAriaLive:n(134).default,Header:n(62).default})},function(e,t,n){"use strict";var o={components:{mainApplication:n(60).a},head:function(){return{htmlAttrs:{lang:this.$i18n&&this.$i18n.locale?this.$i18n.locale:"en"}}}},r=n(4),component=Object(r.a)(o,(function(){var e=this._self._c;return e("div",[e("div",[e("main",{staticClass:"flex items-center justify-center",staticStyle:{background:"#edf2f7","min-height":"100vh"}},[e("mainApplication")],1)])])}),[],!1,null,null,null);t.a=component.exports},function(e,t,n){"use strict";n.r(t);var o=n(1),r=n(11),c=(n(6),n(13),n(10),n(29),n(14),n(15),n(36),n(37),n(24)),d=n(148),l=n(147);function m(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function f(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?m(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var h={components:{ModalStandardTemplate:d.default,Notifications:l.a},props:{message:{type:String,default:""}},data:function(){return{crm:"tessitura",crmConfig:{sharedSession:!0,listings:{hideByTypeIds:[]},instances:{restrictedForceLogin:!1,accessAttributeId:33,prices:{bandsDisabled:[],displayBandNamesInLegend:!0},suppressedVenues:[],plansAsVenues:!1,eventNamesAsWritten:!1,alternateBooking:{enabled:!1}},contributions:{memberships:{displayMembershipImage:!0}},fees:[],upsells:[],seatPlans:[{id:"3",boxes:[{id:"4",name:"Right box",image:"hippodrome-main-auditorium-boxes-right.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}},{id:"3",name:"Left box",image:"hippodrome-main-auditorium-boxes-left.jpg",description:{en:"<p>Our beautiful boxes do come with restricted views, depending on the production. If you would like to find out further information please contact us on 0121 689 3000 and we will be happy to help with any queries.</p>"}}]}],vat:!1},loading:!1,notifications:[],promoCode:null,eventsPage:this.$route.path.includes("/events/"),packagePage:this.$route.path.includes("/packages/")}},computed:f(f({},Object(c.d)(["basket","event"])),Object(c.c)("promocode",["getModeOfSaleId","getSourceId"])),watch:{message:function(e){this.updateNotification(e)}},mounted:function(){this.message&&this.updateNotification(this.message)},methods:f(f({},Object(c.b)("promocode",["submitPromoCode"])),{},{updateNotification:function(e){this.notifications=[],this.notifications.push({class:"info",type:"Prompt",message:e})},addPromoCode:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n,o,r,c,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.notifications=[],e.loading=!0,(n=document.getElementById("submit-promo-code")).classList.add("c-btn--loading"),e.fetchBasketProperties(),t.prev=5,t.next=8,e.$cookies.get("viaduktid");case 8:return o=t.sent,t.next=11,e.submitPromoCode({promoCode:e.promoCode,viaduktId:o});case 11:r=t.sent,c=e.getModeOfSaleId,d=e.getSourceId,"tessitura"===e.crm&&(c&&d?(e.notifications.push({class:"info",type:"Prompt",message:e.$t("checkout.basket.messages.promo-code-applied")}),e.updateBasketSource({modeOfSaleId:c,sourceId:d})):(e.loading=!1,document.getElementById("submit-promo-code").classList.remove("c-btn--loading"),e.notifications.push({class:"warning",type:"Prompt",message:e.$t("modals.promo-code.errors.promo-code-not-valid")})),e.dataLayerAddPromoCode(d)),"spektrix"===e.crm&&(e.loading=!1,document.getElementById("submit-promo-code").classList.remove("c-btn--loading"),404===r?e.notifications.push({class:"warning",type:"Prompt",message:e.$t("modals.promo-code.errors.promo-code-not-valid")}):(e.notifications.push({class:"info",type:"Prompt",message:e.$t("checkout.basket.messages.promo-code-applied")}
1),e.eventsPage&&setTimeout((function(){e.closeModal(),"spektrix"===e.crm&&location.reload(),"tessitura"===e.crm&&(e.$nuxt.$emit("changeDate",!0),e.$nuxt.$emit("refreshSeatmap",!0))}),1500),e.$nuxt.$emit("refreshBasket",!0))),t.next=23;break;case 18:t.prev=18,t.t0=t.catch(5),e.notifications.push({class:"warning",type:"Prompt",message:e.$t("modals.promo-code.errors.promo-code-not-valid")}),e.loading=!1,n.classList.remove("c-btn--loading");case 23:case"end":return t.stop()}}),t,null,[[5,18]])})))()},fetchBasketProperties:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/basket-properties"),null).then((function(t){e.$store.commit("updateBasket",{properties:t.data}),e.fetchSessionDetails()})).catch((function(e){console.error(e.response)}));case 2:case"end":return t.stop()}}),t)})))()},fetchSessionDetails:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get("/session-service/".concat(e.$cookies.get("viaduktid"),"/session-details"),{params:{accountcredit:!0,attributes:!0,constituencies:!0}}).then((function(t){e.$store.commit("updateSession",t.data)})).catch((function(e){console.error(e)}));case 2:case"end":return t.stop()}}),t)})))()},updateBasketSource:function(data){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.put("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/basket-properties"),data).then(Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.$store.commit("updateBasket",{properties:data}),t.next=3,e.fetchSessionDetails();case 3:e.eventsPage?e.$store.commit("updatePricesAvailability",null):e.$nuxt.$emit("refreshBasket",!0),n=e.$encodeBase64("".concat(e.$cookies.get("viaduktid"),"||").concat(new Date)),e.$cookies.set("viaduktshared",n,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"}),setTimeout((function(){e.closeModal(),location.reload()}),1500);case 6:case"end":return t.stop()}}),t)})))).catch((function(e){console.error(e.response)}));case 2:case"end":return t.stop()}}),t)})))()},dataLayerAddPromoCode:function(e){var t,n;null===(t=window)||void 0===t||null===(n=t.dataLayer)||void 0===n||n.push({event:"addPromoCode",ecommerce:{currencyCode:"GBP",add:{promoCode:[{id:e}]}}})},closeModal:function(){this.$emit("close")}})},v=n(4),component=Object(v.a)(h,(function(){var e=this,t=e._self._c;return t("ModalStandardTemplate",{on:{close:function(t){return e.closeModal()}},scopedSlots:e._u([{key:"header",fn:function(){return[t("h2",[e._v("\n      "+e._s(e.$customTextOutput("checkout.basket.promo-code-button"))+"\n    ")])]},proxy:!0},{key:"body",fn:function(){return[t("section",{staticClass:"c-modal-row"},[e.notifications.length>0?t("Notifications",{attrs:{notifications:e.notifications}}):e._e(),e._v(" "),t("form",{staticClass:"c-form",attrs:{method:"POST"},on:{submit:function(t){return t.preventDefault(),e.addPromoCode()}}},[t("div",{staticClass:"c-form-group"},[t("label",{attrs:{for:"promo-code"}},[e._v("\n            "+e._s(e.$t("modals.promo-code.form-fields.promo-code"))+"\n          ")]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.promoCode,expression:"promoCode"}],attrs:{id:"promo-code",type:"text",required:"true"},domProps:{value:e.promoCode},on:{input:function(t){t.target.composing||(e.promoCode=t.target.value)}}})]),e._v(" "),t("button",{staticClass:"c-btn c-btn--primary c-btn--large c-btn--continue",attrs:{id:"submit-promo-code",disabled:!e.promoCode||e.loading,type:"submit"}},[t("span",{staticClass:"content"},[t("span",{staticClass:"label"},[e._v(e._s(e.$t("modals.promo-code.cta")))])]),e._v(" "),t("span",{staticClass:"loading"},[t("i",{staticClass:"fas fa-circle-notch fa-spin"}
1)])])])],1)]},proxy:!0}])})}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{Notifications:n(208).default})},function(e,t,n){"use strict";n.r(t);n(13),n(10);var o=n(1),r=(n(6),{props:{packageBuilder:{type:Object,required:!0}},data:function(){return{remainingEvents:0}},watch:{packageBuilder:{handler:function(e){this.packageBuilder&&"flex"===this.packageBuilder.type?this.remainingEvents=parseInt(this.packageBuilder.minInstances,10)-parseInt(this.packageBuilder.instances.length,10):this.packageBuilder&&"super"===this.packageBuilder.type&&(this.remainingEvents=parseInt(this.packageBuilder.minSubPackages,10)-parseInt(this.packageBuilder.subPackages.length,10))},deep:!0,immediate:!0}},methods:{viewPackageURL:function(){"flex"===this.packageBuilder.type?this.$router.push("/flex-package-builder/".concat(this.packageBuilder.currentId)):"super"===this.packageBuilder.type&&this.$router.push("/super-package-builder/".concat(this.packageBuilder.currentId))},clearPackageBuilder:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return document.getElementById("clearPackageBuilder").classList.add("c-btn--loading"),n={productType:"empty-basket",removalType:null,item:[]},t.next=5,e.$axios.post("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/remove-from-basket"),n).then(Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.fetchBasket();case 2:case"end":return t.stop()}}),t)}))));case 5:case"end":return t.stop()}}),t)})))()},fetchBasket:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get("/checkout-service/".concat(e.$cookies.get("viaduktid"),"/basket")).then((function(t){var n;e.$store.commit("updateBasket",{orderId:t.data.orderId,expiry:t.data.expiry,totals:t.data.totals,feesBreakdown:t.data.feesBreakdown,customer:t.data.customer,contents:t.data.contents,deliveryOptions:t.data.deliveryOptions,contactPreferences:t.data.contactPreferences,messaging:t.data.messaging,properties:t.data.properties,identifiers:t.data.identifiers,settings:t.data.settings,valid:t.data.valid,invalidPerformances:t.data.invalidPerformances,upsellOptions:t.data.upsellOptions,multibuyOffers:(null===(n=t.data)||void 0===n?void 0:n.multibuyOffers)||[]}),e.$nuxt.$emit("basketUpdate",t.data.totals.productCount,t.data.expiry),0===t.data.totals.productCount&&e.emptyBasket()})).catch((function(e){console.error(e)}));case 2:case"end":return t.stop()}}),t)})))()},emptyBasket:function(){this.$nuxt.$emit("basketUpdate",0,0),this.$store.commit("resetBasket"),this.$store.commit("updatePackageBuilder",null)},goToCheckout:function(){this.$store.commit("updatePackageBuilder",null),this.$router.push("/checkout/basket")}}}),c=n(4),component=Object(c.a)(r,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"c-status"},[t("div",{staticClass:"o-wrapper c-status__wrap"},[t("section",{staticClass:"c-status__content"},[e.remainingEvents>0?t("p",{staticClass:"c-status__title"},[e._v("\n        "+e._s(e.$tc("packages.".concat(e.packageBuilder.type,"-counter-text"),e.remainingEvents))+"\n      ")]):e._e()]),e._v(" "),t("section",{staticClass:"c-status__actions"},[t("button",{staticClass:"c-btn c-btn--tertiary",attrs:{disabled:this.$route.path.includes("-package-builder/".concat(e.packageBuilder.currentId))},on:{click:function(t){return t.preventDefault(),e.viewPackageURL()}}},[e._v("\n        "+e._s(e.$t("packages.view-package"))+"\n      ")]),e._v(" "),t("button",{staticClass:"c-btn c-btn--negative",attrs:{id:"clearPackageBuilder"},on:{click:function(t){return t.preventDefault(),e.clearPackageBuilder()}}},[t("span",{staticClass:"content"},[t("span",{staticClass:"label"},[e._v("\n            "+e._s(e.$t("packages.exit-builder"))+"\n          ")])]),e._v(" "),e._m(0)]),e._v(" "),e.remainingEvents<=0?t("button",{staticClass:"c-btn c-btn--primary c-btn--continue",on:{click:function(t){return t.preventDefault(),e.goToCheckout()}}},[e._v("\n        "+e._s(e.$t("event.instructions.buy-now"))+"\n      ")]):e._e(
1)])])])}),[function(){var e=this._self._c;return e("span",{staticClass:"loading"},[e("i",{staticClass:"fas fa-circle-notch fa-spin"})])}],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o={components:{ModalInfoTemplate:n(79).default},props:{reservedBasket:{type:Boolean,required:!0}},data:function(){return{language:this.$cookies.get("lang"),expiryMinutes:Math.floor(20)}},mounted:function(){this.$nuxt.$emit("addBodyClass","state--modal-open")},destroyed:function(){this.$nuxt.$emit("removeBodyClass","state--modal-open")},methods:{continueShopping:function(){return this.reservedBasket?"/account/your-orders":"".concat({en:"https://birminghamhippodrome.com/whats-on/"}[this.language])}}},r=n(4),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("ModalInfoTemplate",{on:{close:function(t){return e.closeModal()}},scopedSlots:e._u([{key:"header",fn:function(){return[e._v("\n    "+e._s(e.$t("modals.basket-expiry.title"))+"\n  ")]},proxy:!0},{key:"body",fn:function(){return[t("div",{staticClass:"o-prompt o-prompt--alert"},[t("p",[e._v("\n        "+e._s(e.$customTextOutput("modals.basket-expiry.timed-out-1",{expiryMinutes:e.expiryMinutes}))+"\n      ")])])]},proxy:!0},{key:"footer",fn:function(){return[t("section",{staticClass:"c-modal__actions"},[t("a",{staticClass:"c-btn c-btn--primary c-btn--back",attrs:{"data-action":"continue-shopping",href:e.continueShopping()}},[e._v("\n        "+e._s(e.reservedBasket?e.$t("modals.basket-expiry.timed-out-reserved"):e.$t("modals.basket-expiry.timed-out-2"))+"\n      ")])])]},proxy:!0}])})}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);var o={components:{ModalInfoTemplate:n(79).default},props:{reservedBasket:{type:Boolean,required:!0}},data:function(){return{language:this.$cookies.get("lang")}},mounted:function(){this.$nuxt.$emit("addBodyClass","state--modal-open")},destroyed:function(){this.$nuxt.$emit("removeBodyClass","state--modal-open")},methods:{continueShopping:function(){return this.reservedBasket?"/account/your-orders":"".concat({en:"https://birminghamhippodrome.com/whats-on/"}[this.language])}}},r=n(4),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("ModalInfoTemplate",{on:{close:function(t){return e.closeModal()}},scopedSlots:e._u([{key:"header",fn:function(){return[e._v("\n    "+e._s(e.$t("checkout.titles.basket"))+"\n  ")]},proxy:!0},{key:"body",fn:function(){return[t("div",{staticClass:"o-prompt o-prompt--alert"},[t("p",[e._v("\n        "+e._s(e.$t("modals.basket-error.error-1"))+"\n      ")])])]},proxy:!0},{key:"footer",fn:function(){return[t("section",{staticClass:"c-modal__actions"},[t("a",{staticClass:"c-btn c-btn--primary c-btn--back",attrs:{"data-action":"continue-shopping",href:e.continueShopping()}},[e._v("\n        "+e._s(e.reservedBasket?e.$t("modals.basket-error.error-reserved"):e.$t("modals.basket-error.error-2"))+"\n      ")])])]},proxy:!0}])})}),[],!1,null,null,null);t.default=component.exports},function(e,t,n){"use strict";n.r(t);n(17),n(12),n(9),n(18);var o={data:function(){return{language:this.$cookies.get("lang"),cookiesBanner:{external:{provider:"oneTrust",id:"018dd112-4aa8-7dc7-98af-1b066c4ba2bf"},agreement:{},options:{cookie:"cookie-agreed-categories",values:[]}},cookieOptions:[],viaduktDomain:"bookings.birminghamhippodrome.com",cmsDomain:"birminghamhippodrome.com"}},methods:{optionClass:function(e){return"o-input-group__item".concat(e?" o-input-group__item--essential":"")},optionLabel:function(e){return"option-".concat(e)},cookiePolicyLink:function(){return{en:"https://birminghamhippodrome.com/privacy-policy-2/"}[this.language]},updateCookies:function(){var e=!1,t=[];this.cookieOptions.length>0?this.cookieOptions.forEach((function(option){option.value&&("marketing"===option.id&&(e=!0),t.push(option.id))})):(t.push("basic"),t.push("marketing"),e=!0);var n=this.cmsDomain;
1this.$cookies.set(this.cookiesBanner.agreement.cookie,2,{path:"/",domain:n,maxAge:31536e4}),this.$cookies.set(this.cookiesBanner.options.cookie,t,{path:"/",domain:n,maxAge:31536e4}),e&&window.location.reload(),this.$emit("consent",!0)}}},r=(n(265),n(4)),component=Object(r.a)(o,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"c-cookies-banner",attrs:{autofocus:"",role:"dialog","aria-modal":"false","aria-describedby":"consent-form-description",tabindex:"0"}},[t("form",{staticClass:"c-form"},[t("div",{staticClass:"c-form-group"},[t("h3",{staticClass:"c-cookies-banner__title",attrs:{id:"consent-form-title"}},[e._v("\n        "+e._s(e.$t("legal.cookies.title"))+"\n      ")]),e._v(" "),t("div",{staticClass:"o-body-text",attrs:{id:"consent-form-description"}},[t("p",[e._v("\n          "+e._s(e.$t("legal.cookies.description"))+"\n        ")]),e._v(" "),t("p",{staticClass:"u-flush-bottom"},[t("a",{attrs:{href:e.cookiePolicyLink(),target:"_blank"}},[e._v("\n            "+e._s(e.$t("legal.cookies.policy"))+"\n          ")]),e._v(" "+e._s(e.$t("link.new-window"))+"\n        ")])])]),e._v(" "),t("div",{staticClass:"c-form-group"},[t("fieldset",{attrs:{"aria-describedby":"consent-form-title"}},[t("div",{staticClass:"o-input-group o-input-group--checkbox o-input-group--2-col"},e._l(e.cookieOptions,(function(option){return t("div",{key:option.id,class:e.optionClass(option.essential)},[t("input",{directives:[{name:"model",rawName:"v-model",value:option.value,expression:"option.value"}],attrs:{id:e.optionLabel(option.id),type:"checkbox",disabled:option.essential},domProps:{checked:Array.isArray(option.value)?e._i(option.value,null)>-1:option.value},on:{change:function(t){var n=option.value,o=t.target,r=!!o.checked;if(Array.isArray(n)){var c=e._i(n,null);o.checked?c<0&&e.$set(option,"value",n.concat([null])):c>-1&&e.$set(option,"value",n.slice(0,c).concat(n.slice(c+1)))}else e.$set(option,"value",r)}}}),e._v(" "),t("label",{attrs:{for:e.optionLabel(option.id)}},[t("span",{staticClass:"o-input-group__input o-input-group__input--checkbox"}),e._v(" "),t("div",{staticClass:"o-input-group__value"},[e._v("\n                "+e._s(option.name[e.language])+"\n              ")])])])})),0)])]),e._v(" "),t("button",{staticClass:"c-btn c-btn--primary c-btn--large c-btn--full-width c-btn--continue",on:{click:function(t){return t.preventDefault(),e.updateCookies()}}},[e._v("\n      "+e._s(e.$t("legal.cookies.approve"))+"\n    ")])])])}),[],!1,null,null,null);t.default=component.exports},,,function(e,t,n){"use strict";n.r(t);n(63);var o=n(56),r=n(98),c=n(99),d=n(100),l=n(101),m=n(102),f=n(103),h=n(106),v=n(104),y=n(105),k={components:{Fragment:o.a,Prompt:r.default,GiftVoucher:c.default,Reservations:d.default,EmptyBasket:l.default,SpektrixIframe:m.default,Camp:f.default,FixedSeries:h.a,PotentialDiscounts:v.default,ProgrammeGroups:y.default},props:{notifications:{type:Array,required:!0},notificationData:{type:[Array,String,Boolean,Number],required:!1,default:null}}},w=n(4),component=Object(w.a)(k,(function(){var e=this,t=e._self._c;return t("Fragment",e._l(e.notifications,(function(n){return t(n.type,{key:n.id,tag:"component",attrs:{notification:n,"notification-data":e.notificationData}})})),1)}),[],!1,null,null,null);t.default=component.exports},,,,,,,,function(e,t,n){n(217),e.exports=n(218)},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(1);n(6),n(13),n(10);t.default=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){var n,o,r,c,d,l,m,f,h,v,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.$cookies,r=t.store,c=t.route,d=t.redirect,l=t.$axios,f=!1,"tessitura"!==(m="tessitura")||!o.get("viaduktid")){e.next=6;break}return e.next=6,l.get("/session-service/".concat(o.get("viaduktid"),"/authenticate-session")).then((function(e){f=e.data}
1)).catch((function(){f=!1}));case 6:if("spektrix"!==m){e.next=13;break}if(c.fullPath.includes("update-password")){e.next=12;break}return e.next=10,l.get("/session-service/".concat(o.get("viaduktid"),"/authenticate-session")).then((function(e){f=e.data})).catch((function(){f=!1}));case 10:e.next=13;break;case 12:f=!0;case 13:if(null!==(n={upcoming:!0,reserved:!1,past:!0,returned:!1})&&void 0!==n&&n.streaming&&c.fullPath.includes("account/live-stream/player?testvideo=true")&&(f=!0),h={},localStorage.getItem("store")&&(v=JSON.parse(localStorage.getItem("store")),h=v.session),h.isLoggedIn=f,r.commit("updateSession",h),r.state.session.isLoggedIn&&f){e.next=22;break}return y="/login?returnurl=".concat(c.fullPath),c.path.includes("checkout")&&(y="/checkout/account",0===o.get("basket")&&(y="/checkout/basket")),e.abrupt("return",d(y));case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";n.r(t),t.default=function(e){var t,n=e.$cookies;e.store;n.get("basket")&&null!==n.get("basket")||n.set("basket",0,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(t={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==t&&t.domainBasketCookie?"birminghamhippodrome.com":null})}},function(e,t,n){"use strict";n.r(t),function(e){n(9),n(40),n(41);t.default=function(t){t.app;var n=t.$axios,o=t.$cookies,r=t.store;t.route;if(!o.get("maintenance")||o.get("maintenance")&&!0===o.get("maintenance-bypass")){var c;o.get("viaduktid")||(o.set("basket",0,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:null!==(c={headerLogoIcon:!1,promoCodeInHeader:!0,cookieBanner:!1,cookieConsentRootDomain:!0,alreadySelectedSeatsInSYOS:!1,useUnformattedSectionNames:!1,doubleSectionNames:!1,syosSkipOverview:!1,syosShowInvisibleSeats:!1,syosHoverLabel:!1,chooseByPriceAllPrimaryPrices:!0,paymentsOnConfirmation:!1,basketContinueShoppingAdditionalCTA:!1,chooseByPriceHidePriceBandDesignation:!1,eventOverviewDisableChooseByPrice:!1,instanceUnavailableMessage:!1,loginToViewOrderConfirmed:!1,chooseByPriceAccessOptions:!1,schedulingHidePerformancesNotInModeOfSale:!1,validateSessionVariables:!1,ticketsNoQRCodes:!1,priceLayers:!1,donationLayerInformation:!1,addOns:!0,disableMicrozoning:!0,microzoneBandsCBP:!0,displayPriceBandSectionName:!0,addOrderNumberToTicket:!1,checkoutDisplayVATBeforeConfirmation:!1,payWithAccountCredit:!1,cancelOrders:!1,purchasePostSaleAddOns:!1,auxDisplayRelatedEvent:!1,termsAttributeBasketProperties:!1,displayMembershipRenew:!0,hideFoodAndDrinkModalTitle:!0})&&void 0!==c&&c.domainBasketCookie?"birminghamhippodrome.com":null}),r.commit("updateBasket",{contents:null}),r.commit("updatePackageBuilder",null),n.post("/session-service/create-session").then((function(t){o.set("viaduktid",t.data.key,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax"});var n=e.from("".concat(t.data.key,"||").concat(new Date),"utf-8").toString("base64");o.set("viaduktshared",n,{path:"/",maxAge:1200,secure:!0,sameSite:"Lax",domain:"birminghamhippodrome.com"})})).catch((function(){console.log("no session created")})))}}}.call(this,n(128).Buffer)},,,,,function(e,t,n){"use strict";n.r(t);n(17),n(9),n(12),n(14),n(20),n(19),n(18);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,d=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return d=e.done,e},e:function(e){l=!0,c=e},f:function(){try{d||null==n.return||n.return()}finally{if(l)throw c}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var c=n(39);t.default=function(e){var t=e.$cookies,n=e.route,r=e.redirect,d="Europe/London",l=c().tz(d).format(),m=new Date(l).getTime(),f=!1,h=[{start:"2025-04-22 01:00",end:"2025-04-22 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-04-29 01:00",end:"2025-04-29 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-04-29 23:00",end:"2025-04-30 05:00",description:"API Maintenance in the European PROD Cloud Hosting Environment"},{start:"2025-05-27 01:00",end:"2025-05-27 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-06-24 01:00",end:"2025-06-24 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-07-22 01:00",end:"2025-07-22 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-08-26 01:00",end:"2025-08-26 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-09-23 01:00",end:"2025-09-23 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"},{start:"2025-10-28 01:00",end:"2025-10-28 05:00",description:"SQL Server Updates in the European PROD Cloud Hosting Environment"}];if(h){var v,y=o(h);try{for(y.s();!(v=y.n()).done;){var k=v.value,w=new Date(c.tz(k.start,d)).getTime(),x=new Date(c.tz(k.end,d)).getTime();m>=w&&m<x&&(console.log("Current maintenance: ".concat(k.description)),f=!0)}}catch(e){y.e(e)}finally{y.f()}}if(t.get("no-session")&&(f=!0,console.log("Current maintenance: Cannot create session")),f){if(t.set("maintenance",!0,{path:"/",maxAge:3600,secure:!0,sameSite:"Lax"}),"/maintenance-bypass"!==n.path&&"/maintenance"!==n.path&&(!t.get("maintenance-bypass")||!0!==t.get("maintenance-bypass")))return r("/maintenance")}else t.remove("maintenance")}},function(e,t,n){"use strict";n.r(t),t.default=function(e){e.store;var t=e.redirect,n=localStorage.length>0?JSON.parse(localStorage.getItem("store")).packageBuilder:null;if(n&&!0===n.active)return t("/checkout/basket")}},function(e,t,n){"use strict";n.r(t);n(13),n(10),n(12);t.default=function(e){e.route,e.redirect}},function(e,t,n){"use strict";n.r(t);n(152),n(25);t.default=function(e){var t=e.route,n=e.redirect;if("/"!==t.path&&t.path.endsWith("/")){var path=t.path,o=t.query,r=t.hash;n({path:path.replace(/\/+$/,"")||"/",query:o,hash:r})}}},,function(e,t,n){"use strict";n.r(t),t.default=function(e){var t,n,o=e.store,r=e.redirect;if(0===(null===(t=o.basket)||void 0===t||null===(n=t.contents)||void 0===n?void 0:n.length))return r({path:"/checkout/basket",query:{validation:"failed"}})}},function(e,t,n){"use strict";n.r(t),t.default=function(e){e.store.subscribe((function(e,t){localStorage.setItem("store",JSON.stringify(t))}))}},,,,,,,,,,,function(e,t,n){"use strict";n(173)},function(e,t,n){"use strict";n(174)},function(e,t,n){"use strict";n(175)},function(e,t,n){"use strict";n(176)},function(e,t,n){"use strict";n(177)},function(e,t,n){"use strict";n(178)},function(e,t,n){"use strict";n(179)},function(e,t,n){"use strict";n.r(t),n.d(t,"modules",(function(){return d})),n.d(t,"state",(function(){return l})),n.d(t,"mutations",(function(){return m}));var o=n(11);n(15),n(22),n(17),n(9),n(12),n(14),n(20),n(19),n(18);function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,d=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return d=e.done,e},e:function(e){l=!0,r=e},f:function(){try{d||null==n.return||n.return()}finally{if(l)throw r}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var d={promocode:n(133).default},l=function(){return{meta:null,session:{isLoggedIn:!1,isGuest:!1,modeOfSaleId:null,customer:{id:null,email:null,mobile:null,hasPrimaryAddress:!1,attributes:[],constituencies:[],memberships:[],accountCredit:[]}},basket:{orderId:null,expiry:null,totals:{productCount:0,subtotal:0,total:0,fees:0,delivery:0,paidSoFar:0,remaining:0,credit:0,discount:0,payments:null,paymentPlans:0,paymentPlansDeferred:0,instances:{productCount:0,value:0},packages:{productCount:0,value:0},foodAndDrink:{productCount:0,value:0},merchandise:{productCount:0,value:0},donations:{productCount:0,value:0},supplementaryItems:{productCount:0,value:0},education:{productCount:0,value:0},paymentPlanProducts:{productCount:0,value:0}},feesBreakdown:[],customer:{},contents:{},deliveryOptions:[],contactPreferences:[],messaging:[],properties:null,identifiers:null,
1settings:null,additionalData:[],valid:!0,invalidPerformances:[],bookingProtect:!1,upsellOptions:[],multibuyOffers:[]},upsells:{foodAndDrink:null,merchandise:null,supplementaryItems:null,memberships:null,donation:null,giftVoucher:null,option:null,selection:[]},addOns:null,order:null,tickets:{concatSeats:null,seatmap:null,allSeats:null,seatSelection:[],zoneSelection:[],allocationId:null,bubbleSeating:{groupTotalMet:!1},buyNow:!1},eventRegister:{firstChoice:{zoneId:null,price:null,priceType:null,tickets:0},alternativeChoices:{dates:[],sections:[]},dressRehearsal:{zoneId:null,price:null,priceType:null,tickets:0}},event:null,performancePackage:null,programme:null,educationEvent:null,pricesAvailability:null,packageBuilder:null,fixedSeries:{firstInstanceName:null,firstInstanceDate:null,eventId:null,instanceId:null,numberOfSeats:0},currency:null,spektrixBasketTotalBeforeCredit:null,spektrixCredit:0}},m={initialiseStore:function(e){localStorage.getItem("store")&&this.replaceState(Object.assign(e,JSON.parse(localStorage.getItem("store"))))},updateMeta:function(e,data){e.meta=data},updateSession:function(e,t){e.session={isLoggedIn:t.isLoggedIn,isGuest:t.isGuest,modeOfSaleId:t.modeOfSaleId,customer:t.customer}},updateCustomer:function(e,t){e.session={isLoggedIn:t.isLoggedIn||e.session.isLoggedIn,isGuest:t.isGuest||e.session.isGuest,modeOfSaleId:t.modeOfSaleId||e.session.modeOfSaleId,customer:t.customer}},updateOrderNote:function(e,t){e.basket.properties&&(e.basket.properties.notes=t)},updateBasket:function(e,t){var n,o,r,c,d,l,m,f,h,v,y,k,w,x,I,S,C,B,O,P,A,T,$,D,L,M,_,R,j,N,E,U,F,Y,V,H,G,W,z,Q,J,Z,X,K,ee,te,ne,ie,ae,oe,re,se,ce,ue;e.basket={orderId:(null==t?void 0:t.orderId)||e.basket.orderId,expiry:(null==t?void 0:t.expiry)||e.basket.expiry,totals:{productCount:(null==t||null===(n=t.totals)||void 0===n?void 0:n.productCount)||e.basket.totals.productCount,subtotal:(null==t||null===(o=t.totals)||void 0===o?void 0:o.subtotal)||e.basket.totals.subtotal,total:(null==t||null===(r=t.totals)||void 0===r?void 0:r.total)||e.basket.totals.total,fees:(null==t||null===(c=t.totals)||void 0===c?void 0:c.fees)||e.basket.totals.fees,delivery:(null==t||null===(d=t.totals)||void 0===d?void 0:d.delivery)||e.basket.totals.delivery,paidSoFar:(null==t||null===(l=t.totals)||void 0===l?void 0:l.paidSoFar)||e.basket.totals.paidSoFar,remaining:(null==t||null===(m=t.totals)||void 0===m?void 0:m.remaining)||e.basket.totals.remaining,credit:(null==t||null===(f=t.totals)||void 0===f?void 0:f.credit)||0,discount:(null==t||null===(h=t.totals)||void 0===h?void 0:h.discount)||0,payments:(null==t||null===(v=t.totals)||void 0===v?void 0:v.payments)||e.basket.totals.payments,paymentPlans:(null==t||null===(y=t.totals)||void 0===y?void 0:y.paymentPlans)||e.basket.totals.paymentPlans,paymentPlansDeferred:(null==t||null===(k=t.totals)||void 0===k?void 0:k.paymentPlansDeferred)||e.basket.totals.paymentPlansDeferred,instances:{productCount:(null==t||null===(w=t.totals)||void 0===w||null===(x=w.instances)||void 0===x?void 0:x.productCount)||e.basket.totals.instances.productCount,value:(null==t||null===(I=t.totals)||void 0===I||null===(S=I.instances)||void 0===S?void 0:S.value)||e.basket.totals.instances.value},packages:{productCount:(null==t||null===(C=t.totals)||void 0===C||null===(B=C.packages)||void 0===B?void 0:B.productCount)||e.basket.totals.packages.productCount,value:(null==t||null===(O=t.totals)||void 0===O||null===(P=O.packages)||void 0===P?void 0:P.value)||e.basket.totals.packages.value},foodAndDrink:{productCount:(null==t||null===(A=t.totals)||void 0===A||null===(T=A.foodAndDrink)||void 0===T?void 0:T.productCount)||e.basket.totals.foodAndDrink.productCount,value:(null==t||null===($=t.totals)||void 0===$||null===(D=$.foodAndDrink)||void 0===D?void 0:D.value)||e.basket.totals.foodAndDrink.value},merchandise:{productCount:(null==t||null===(L=t.totals)||void 0===L||null===(M=L.merchandise)||void 0===M?void 0:M.productCount)||e.basket.totals.merchandise.productCount,value:(null==t||null===(_=t.totals)||void 0===_||null===(R=_.merchandise)||void 0===R?void 0:R.value)||e.basket.totals.merchandise.value}
1,donations:{productCount:(null==t||null===(j=t.totals)||void 0===j||null===(N=j.donations)||void 0===N?void 0:N.productCount)||0,value:(null==t||null===(E=t.totals)||void 0===E||null===(U=E.donations)||void 0===U?void 0:U.value)||0},supplementaryItems:{productCount:(null==t||null===(F=t.totals)||void 0===F||null===(Y=F.supplementaryItems)||void 0===Y?void 0:Y.productCount)||e.basket.totals.supplementaryItems.productCount,value:(null==t||null===(V=t.totals)||void 0===V||null===(H=V.supplementaryItems)||void 0===H?void 0:H.value)||e.basket.totals.supplementaryItems.value},education:{productCount:(null==t||null===(G=t.totals)||void 0===G||null===(W=G.education)||void 0===W?void 0:W.productCount)||(null===(z=e.basket.totals)||void 0===z||null===(Q=z.education)||void 0===Q?void 0:Q.productCount),value:(null==t||null===(J=t.totals)||void 0===J||null===(Z=J.education)||void 0===Z?void 0:Z.value)||(null===(X=e.basket.totals)||void 0===X||null===(K=X.education)||void 0===K?void 0:K.value)},paymentPlanProducts:{productCount:(null==t||null===(ee=t.totals)||void 0===ee||null===(te=ee.paymentPlanProducts)||void 0===te?void 0:te.productCount)||(null===(ne=e.basket.totals)||void 0===ne||null===(ie=ne.paymentPlanProducts)||void 0===ie?void 0:ie.productCount),value:(null==t||null===(ae=t.totals)||void 0===ae||null===(oe=ae.paymentPlanProducts)||void 0===oe?void 0:oe.value)+(null==t||null===(re=t.totals)||void 0===re||null===(se=re.paymentPlanProducts)||void 0===se?void 0:se.fees)||(null===(ce=e.basket.totals)||void 0===ce||null===(ue=ce.paymentPlanProducts)||void 0===ue?void 0:ue.value)}},feesBreakdown:null==t?void 0:t.feesBreakdown,customer:(null==t?void 0:t.customer)||e.basket.customer,contents:(null==t?void 0:t.contents)||e.basket.contents,deliveryOptions:(null==t?void 0:t.deliveryOptions)||e.basket.deliveryOptions,contactPreferences:(null==t?void 0:t.contactPreferences)||e.basket.contactPreferences,messaging:(null==t?void 0:t.messaging)||e.basket.messaging,properties:(null==t?void 0:t.properties)||e.basket.properties,settings:(null==t?void 0:t.settings)||e.basket.settings,identifiers:(null==t?void 0:t.identifiers)||e.basket.identifiers,additionalData:t.additionalData?t.additionalData:e.basket.additionalData,valid:(null==t?void 0:t.valid)||e.basket.valid,invalidPerformances:(null==t?void 0:t.invalidPerformances)||e.basket.invalidPerformances,bookingProtect:(null==t?void 0:t.bookingProtect)||e.basket.bookingProtect,upsellOptions:(null==t?void 0:t.upsellOptions)||e.basket.upsellOptions,multibuyOffers:(null==t?void 0:t.multibuyOffers)||e.basket.multibuyOffers}},resetBasket:function(e,t){e.basket={orderId:null,expiry:null,totals:{productCount:0,subtotal:0,total:0,fees:0,delivery:0,paidSoFar:0,remaining:0,credit:0,discount:0,payments:null,paymentPlans:0,paymentPlansDeferred:0,instances:{productCount:0,value:0},packages:{productCount:0,value:0},foodAndDrink:{productCount:0,value:0},merchandise:{productCount:0,value:0},donations:{productCount:0,value:0},supplementaryItems:{productCount:0,value:0},education:{productCount:0,value:0},paymentPlanProducts:{productCount:0,value:0}},feesBreakdown:[],customer:{},contents:{},deliveryOptions:[],contactPreferences:[],messaging:(null==t?void 0:t.messaging)||null,properties:null,identifiers:null,
1settings:null,additionalData:[],valid:!0,invalidPerformances:[],bookingProtect:!1,upsellOptions:[],multibuyOffers:[]}},updateOrder:function(e,t){var n,r,c,d,l,m,f,h,v,y,k,w,x,I,S,C,B,O,P,A,T,$,D,L,M,_,R,j,N,E,U,F,Y,V,H,G,W,z,Q,J,Z,X,K,ee,te,ne,ie,ae,oe,re,se,ce,ue,de,le,pe,me,fe,he,ge;e.order=(ge={orderId:t.orderId,customer:(null==t?void 0:t.customer)||(null===(n=e.order)||void 0===n?void 0:n.customer),totals:{productCount:(null==t||null===(r=t.totals)||void 0===r?void 0:r.productCount)||e.basket.totals.productCount,subtotal:(null==t||null===(c=t.totals)||void 0===c?void 0:c.subtotal)||e.basket.totals.subtotal,total:(null==t||null===(d=t.totals)||void 0===d?void 0:d.total)||e.basket.totals.total,fees:(null==t||null===(l=t.totals)||void 0===l?void 0:l.fees)||e.basket.totals.fees,delivery:(null==t||null===(m=t.totals)||void 0===m?void 0:m.delivery)||e.basket.totals.delivery,paidSoFar:(null==t||null===(f=t.totals)||void 0===f?void 0:f.paidSoFar)||e.basket.totals.paidSoFar,paymentPlans:(null==t||null===(h=t.totals)||void 0===h?void 0:h.paymentPlans)||e.basket.totals.paymentPlans,paymentPlansDeferred:(null==t||null===(v=t.totals)||void 0===v?void 0:v.paymentPlansDeferred)||e.basket.totals.paymentPlansDeferred,remaining:(null==t||null===(y=t.totals)||void 0===y?void 0:y.remaining)||e.basket.totals.remaining,credit:(null==t||null===(k=t.totals)||void 0===k?void 0:k.credit)||e.basket.totals.credit,discount:(null==t||null===(w=t.totals)||void 0===w?void 0:w.discount)||e.basket.totals.discount,instances:{productCount:(null==t||null===(x=t.totals)||void 0===x||null===(I=x.instances)||void 0===I?void 0:I.productCount)||e.basket.totals.instances.productCount,value:(null==t||null===(S=t.totals)||void 0===S||null===(C=S.instances)||void 0===C?void 0:C.value)||e.basket.totals.instances.value},packages:{productCount:(null==t||null===(B=t.totals)||void 0===B||null===(O=B.packages)||void 0===O?void 0:O.productCount)||e.basket.totals.packages.productCount,value:(null==t||null===(P=t.totals)||void 0===P||null===(A=P.packages)||void 0===A?void 0:A.value)||e.basket.totals.packages.value},foodAndDrink:{productCount:(null==t||null===(T=t.totals)||void 0===T||null===($=T.foodAndDrink)||void 0===$?void 0:$.productCount)||e.basket.totals.foodAndDrink.productCount,value:(null==t||null===(D=t.totals)||void 0===D||null===(L=D.foodAndDrink)||void 0===L?void 0:L.value)||e.basket.totals.foodAndDrink.value},merchandise:{productCount:(null==t||null===(M=t.totals)||void 0===M||null===(_=M.merchandise)||void 0===_?void 0:_.productCount)||e.basket.totals.merchandise.productCount,value:(null==t||null===(R=t.totals)||void 0===R||null===(j=R.merchandise)||void 0===j?void 0:j.value)||e.basket.totals.merchandise.value},supplementaryItems:{productCount:(null==t||null===(N=t.totals)||void 0===N||null===(E=N.supplementaryItems)||void 0===E?void 0:E.productCount)||(null==e||null===(U=e.basket)||void 0===U||null===(F=U.totals)||void 0===F||null===(Y=F.supplementaryItems)||void 0===Y?void 0:Y.productCount),value:(null==t||null===(V=t.totals)||void 0===V||null===(H=V.supplementaryItems)||void 0===H?void 0:H.value)||(null==e||null===(G=e.basket)||void 0===G||null===(W=G.totals)||void 0===W||null===(z=W.supplementaryItems)||void 0===z?void 0:z.value)},education:{productCount:(null==t||null===(Q=t.totals)||void 0===Q||null===(J=Q.education)||void 0===J?void 0:J.productCount)||(null==e||null===(Z=e.basket)||void 0===Z||null===(X=Z.totals)||void 0===X||null===(K=X.education)||void 0===K?void 0:K.productCount),value:(null==t||null===(ee=t.totals)||void 0===ee||null===(te=ee.education)||void 0===te?void 0:te.value)||(null==e||null===(ne=e.basket)||void 0===ne||null===(ie=ne.totals)||void 0===ie||null===(ae=ie.education)||void 0===ae?void 0:ae.value)},paymentPlanProducts:{productCount:(null==t||null===(oe=t.totals)||void 0===oe||null===(re=oe.paymentPlanProducts)||void 0===re?void 0:re.productCount)||(null===(se=e.basket.totals)||void 0===se||null===(ce=se.paymentPlanProducts)||void 0===ce?void 0:ce.productCount),value:(null==t||null===(ue=t.totals)||void 0===ue||null===(de=ue.paymentPlanProducts)||void 0===de?void 0:de.value)+(null==t||null===(le=t.totals)||void 0===le||null===(pe=le.paymentPlanProducts)||void 0===pe?void 0:pe.fees)||(null===(me=e.basket.totals)||void 0===me||null===(fe=me.paymentPlanProducts)||void 0===fe?void 0:fe.value)},payments:null==t||null===(he=t.totals)||void 0===he?void 0:he.payments},feesBreakdown:null==t?void 0:t.feesBreakdown,date:null==t?void 0:t.orderDate,notes:null==t?void 0:t.notes,identifiers:null==t?void 0:t.identifiers,settings:null==t?void 0:t.settings,sharedBy:null==t?void 0:t.sharedBy},Object(o.a)(ge,"customer",null==t?void 0:t.customer),Object(o.a)(ge,"contents",(null==t?void 0:t.contents)||e.basket.contents),Object(o.a)(ge,"messaging",null==t?void 0:t.messaging),Object(o.a)(ge,"upsellOptions",(null==t?void 0:t.upsellOptions)||e.basket.upsellOptions),Object(o.a)(ge,"multibuyOffers",(null==t?void 0:t.multibuyOffers)||e.basket.multibuyOffers),ge)},resetOrder:function(e){e.order=null}
1,setSpektrixBasketTotalBeforeCredit:function(e,t){e.spektrixBasketTotalBeforeCredit=t},setSpektrixCredit:function(e,t){e.spektrixCredit=t},resetEventRegister:function(e){e.eventRegister={firstChoice:{zoneId:null,price:null,priceType:null,tickets:0},alternativeChoices:{dates:[],sections:[]},dressRehearsal:{zoneId:null,price:null,priceType:null,tickets:0}}},updateEventRegisterFirstChoice:function(e,t){t?(e.eventRegister.firstChoice.zoneId=(null==t?void 0:t.zoneId)||e.eventRegister.firstChoice.zoneId,e.eventRegister.firstChoice.price=(null==t?void 0:t.price)||e.eventRegister.firstChoice.price,e.eventRegister.firstChoice.priceType=(null==t?void 0:t.priceType)||e.eventRegister.firstChoice.priceType,e.eventRegister.firstChoice.tickets=(null==t?void 0:t.tickets)||e.eventRegister.firstChoice.tickets):e.eventRegister.firstChoice={zoneId:null,price:null,priceType:null,tickets:0}},updateEventRegisterAlternativeChoices:function(e,t){t?(e.eventRegister.alternativeChoices.dates=(null==t?void 0:t.dates)||e.eventRegister.alternativeChoices.dates,e.eventRegister.alternativeChoices.sections=(null==t?void 0:t.sections)||e.eventRegister.alternativeChoices.sections):e.eventRegister.alternativeChoices={dates:[],sections:[]}},updateEventRegisterDressRehearsal:function(e,t){t?(e.eventRegister.dressRehearsal.zoneId=(null==t?void 0:t.zoneId)||e.eventRegister.dressRehearsal.zoneId,e.eventRegister.dressRehearsal.price=(null==t?void 0:t.price)||e.eventRegister.dressRehearsal.price,e.eventRegister.dressRehearsal.priceType=(null==t?void 0:t.priceType)||e.eventRegister.dressRehearsal.priceType,e.eventRegister.dressRehearsal.tickets=(null==t?void 0:t.tickets)||e.eventRegister.dressRehearsal.tickets):e.eventRegister.dressRehearsal={zoneId:null,price:null,priceType:null,tickets:0}},updateTicketsZoneSelection:function(e,t){t?(e.tickets.zoneSelection.filter((function(e){return e.priceType===t.priceType})).length>0&&(e.tickets.zoneSelection=e.tickets.zoneSelection.filter((function(e){return e.priceType!==t.priceType}))),t.tickets>0&&e.tickets.zoneSelection.push(t)):e.tickets.zoneSelection=[]},updateSeatSelection:function(e,t){e.tickets.seatSelection.filter((function(e){return e.seatId===t.seatId&&e.price.typeId===t.price.typeId})).length>0?m.removeFromSeatSelection(e,t):e.tickets.seatSelection.filter((function(e){return e.seatId===t.seatId&&e.price.typeId!==t.price.typeId})).length>0?e.tickets.seatSelection=e.tickets.seatSelection.map((function(e){return e.seatId!==t.seatId?e:t})):e.tickets.seatSelection.push(t)},removeFromSeatSelection:function(e,t){e.tickets.seatSelection=e.tickets.seatSelection.filter((function(e){return e.seatId!==t.seatId}))},clearSelection:function(e){e.tickets.seatSelection=[],e.tickets.zoneSelection=[]},updateEvent:function(e,data){e.event=data},updatePerformancePackage:function(e,data){e.performancePackage=data},updateProgramme:function(e,data){e.programme=data},updateEducationEvent:function(e,data){e.educationEvent=data},updatePricesAvailability:function(e,data){e.pricesAvailability=data},updatePackageBuilder:function(e,data){e.packageBuilder=data},setSeatmap:function(e,t){e.tickets.seatmap=t},setAllSeats:function(e,t){e.tickets.allSeats=t},setAllocationId:function(e,t){e.tickets.allocationId=t},setTicketsBubbleSeatingGroupTotalMet:function(e,t){e.tickets.bubbleSeating.groupTotalMet=t},setTicketsBuyNow:function(e,t){e.tickets.buyNow=t},setConcatSeats:function(e,t){e.tickets.concatSeats=t},updateBasketAdditionalData:function(e,t){e.basket.additionalData&&e.basket.additionalData.filter((function(e){return e.seatId===t.seatId&&e.instanceId===t.instanceId})).length>0?m.removeFromBasketAdditionalData(e,t):(e.basket.additionalData||(e.basket.additionalData=[]),e.basket.additionalData.push(t))},removeFromBasketAdditionalData:function(e,t){e.basket.additionalData=e.basket.additionalData?e.basket.additionalData.filter((function(e){return e.seatId!==t.seatId})):null},emptyBasketAdditionalData:function(e){e.basket.additionalData=[]},setUpsellOption:function(e,option){e.upsells.option=option},setUpsellSelection:function(e,t){e.upsells.selection=t},setUpsellFoodAndDrink:function(e,t){e.upsells.foodAndDrink=t},setUpsellFoodAndDrinkHeader:function(e,t){e.upsells.foodAndDrink=t},setUpsellMerchandise:function(e,t){e.upsells.merchandise=t},setUpsellSupplementaryItems:function(e,t){e.upsells.supplementaryItems=t},setUpsellDonation:function(e,t){e.upsells.donation=t},setUpsellGiftVoucher:function(e,t){e.upsells.giftVoucher=t},setUpsellCovers:function(e,t){e.upsells.covers=t},setUpsellCollectionPoint:function(e,t){e.upsells.collectionPoint=t},resetUpsellFoodAndDrink:function(e){e.upsells={foodAndDrink:null,merchandise:e.upsells.merchandise,supplementaryItems:e.upsells.supplementaryItems,memberships:e.upsells.memberships,donation:e.upsells.donation,option:null,selection:[]}},setAddOns:function(e,t){e.addOns=t},setDeliveryOptions:function(e,t){e.basket.deliveryOptions=t},basketValidation:function(e,t){e.basket.valid=t.status,e.basket.invalidPerformance=t.performance},switchCurrency:function(e,t){e.currency=t},updateFixedSeriesBasketAdditionalData:function(e,t){e.basket.additionalData=[t]},updateFixedSeries:function(e,t){e.fixedSeries.firstInstanceName=(null==t?void 0:t.firstInstanceName)||e.fixedSeries.firstInstanceName,e.fixedSeries.firstInstanceDate=(null==t?void 0:t.firstInstanceDate)||e.fixedSeries.firstInstanceDate,e.fixedSeries.eventId=(null==t?void 0:t.eventId)||e.fixedSeries.eventId,e.fixedSeries.instanceId=(null==t?void 0:t.instanceId)||e.fixedSeries.instanceId,e.fixedSeries.numberOfSeats=(null==t?void 0:t.seats)||e.fixedSeries.numberOfSeats},updateSeatmapLayout:function(e,t){var n,o=t.currentSeatmap,c=t.newSeatmap,d=t.viewId,l=r(o);try{for(l.s();!(n=l.n()).done;){var m,f=n.value,h=r(f.seatmap);try{for(h.s();!(m=h.n()).done;){var v,y=m.value,k=r(y.seats);try{for(k.s();!(v=k.n()).done;){var w=v.value,x=c["view-".concat(d)]["screen-".concat(f.id)]["seat-".concat(y.rowName).concat(w.number)];w.x=x.x,w.y=x.y}}catch(e){k.e(e)}finally{k.f()}}}catch(e){h.e(e)}finally{h.f()}}}catch(e){l.e(e)}finally{l.f()}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"actions",(function(){return r})),n.d(t,"getters",(function(){return c}));var o=n(1),r=(n(6),{redeemGiftVoucher:function(e,t){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,d;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r=e.commit,c=t.viaduktid,d=t.redeemV
1oucherNumber,o.prev=2,o.next=5,n.$axios.post("/checkout-service/".concat(c,"/apply-voucher"),{voucherCode:d});case 5:o.sent,r("setVoucherDetails",d),o.next=13;break;case 9:throw o.prev=9,o.t0=o.catch(2),console.error(o.t0),o.t0;case 13:case"end":return o.stop()}}),o,null,[[2,9]])})))()}}),c={voucherNumber:function(e){return e.redeemVoucherNumber}};t.default={state:function(){return{redeemVoucherNumber:""}},mutations:{setVoucherDetails:function(e,t){e.redeemVoucherNumber=t}},actions:r,getters:c}},,,,,,,,,,,,,,,,,,,function(e,t,n){var map={"./de-DE":[211,195],"./de-DE.json":[211,195],"./en-US":[212,196],"./en-US.json":[212,196],"./es-ES":[213,197],"./es-ES.json":[213,197],"./ht-HT":[214,198],"./ht-HT.json":[214,198],"./sv-SE":[215,199],"./sv-SE.json":[215,199]};function o(e){if(!n.o(map,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=map[e],o=t[0];return n.e(t[1]).then((function(){return n.t(o,3)}))}o.keys=function(){return Object.keys(map)},o.id=286,e.exports=o}],[[216,726,305,727]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.