if(!window.hmt_widgets)
window.hmt_widgets = []
if(window.hmt_widgets.length == 0)
document.write('');
document.write('');
window.hmt_widgets.push({
widget: 'cart',
id: 'hmt_679f194ade250',
opts: {"apikey":"f82b3c3dae69451a97660c375a495fd5","btn_class":"dark","rand_hash":"679f194ade250"}});
window.onload = function(){
// window.emmiter = riot.observable()
for(var i = 0;i < window.hmt_widgets.length; i++){
var theStore = new (function(){this.event = new eventStore(this),this.cart = new cartStore(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();
}