if(!window.hmt_widgets)
window.hmt_widgets = []
if(window.hmt_widgets.length == 0)
document.write('');
document.write('');
window.hmt_widgets.push({
widget: 'checkout',
id: 'hmt_679b0b7342407',
opts: {"apikey":"8df41a99b57f00051d755ecf8c45003d","rand_hash":"679b0b7342407"}});
window.onload = function(){
// window.emmiter = riot.observable()
for(var i = 0;i < window.hmt_widgets.length; i++){
var theStore = new (function(){this.cart = new cartStore(this),this.event = new eventStore(this),this.opts = new optsStore(this),this.router = new routerStore(this)})
theStore.opts.trigger('load', window.hmt_widgets[i].opts, function(){
riot.mount('#' + window.hmt_widgets[i].id, { store: theStore });
})
}
var head = document.head
link = document.createElement('link');
link.type = 'text/css';
link.rel = 'stylesheet';
link.href = 'https://cdn.widgets.holdmyticket.com/dist/bundle.css?v=v150';
head.appendChild(link);
}
function isSafari(){
return !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/) || /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
}
/**
* Check if the link for tickets should open in a new tab
*
* @param {Object} opts
* @returns {Boolean}
*/
function openTicketsLinkExternal(opts){
return (opts.store.opts.settings.open_external || false) == 'true' || isSafari();
}