1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8329],{22831:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[tickets]",function(){return a(82525)}])},82525:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return ea},default:function(){return en}});var n=a(85893),s=a(9008),l=a.n(s),i=a(4298),r=a.n(i),o=a(67294),c=a(11163),d=a(70832);let m=e=>!!e&&"object"==typeof e&&!Array.isArray(e);a(41664);var u=a(25675),h=a.n(u),p=a(52738),x=a(10401),y=a(75083),f=a(39742);let g="#tn-maps";var v=a(8057);function b(e){let{event:t}=e,{badgeHtml:a,logosHtml:s}=function(){let[e,t]=(0,o.useState)(""),[a,n]=(0,o.useState)(""),s=(0,o.useRef)(null),l=(0,o.useRef)(null),i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=()=>{s.current&&(s.current.disconnect(),s.current=null),l.current&&(clearTimeout(l.current),l.current=null),i.current&&(clearTimeout(i.current),i.current=null)},a=()=>{let e=document.querySelector(g);if(!e)return!1;let a=e.querySelector(".mlb-badge-wrapper"),s=e.querySelector(".mlb-team-logos-ctn.double-logo");return!!a&&!!s&&(t(a.outerHTML),n(s.outerHTML),!0)};return(()=>{if(a()){l.current=setTimeout(e,1e3);return}let t=document.querySelector(g);t&&(s.current=new MutationObserver(()=>{a()&&(l.current=setTimeout(e,1e3))}),s.current.observe(t,{childList:!0,subtree:!0}))})(),i.current=setTimeout(()=>{e()},8e3),()=>{e()}},[]),{badgeHtml:e,logosHtml:a}}();return(0,n.jsxs)("header",{id:"maps-header",className:"bg-black",children:[(0,n.jsx)(f.Z,{}),(0,n.jsxs)("nav",{"aria-label":"Top",className:"px-2 mx-auto sm:px-6 lg:px-8",children:[(a||s)&&(0,n.jsxs)("div",{className:"lg:block flex flex-col items-center",children:[a&&(0,n.jsx)("div",{className:"maps-mlb-mirror-badge lg:pt-4 pt-2 lg:pl-[208px]",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})}),s&&(0,n.jsx)("div",{className:"lg:hidden maps-mlb-mirror-logos py-2 pl-8",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})})]}),(0,n.jsx)("div",{className:"border-b border-gray-200",children:(0,n.jsxs)("div",{className:"flex items-center min-h-20",children:[(0,n.jsx)("div",{className:"hidden lg:flex",children:(0,n.jsx)("a",{href:"/",children:(0,n.jsx)("div",{className:"relative h-8 overflow-hidden w-44",children:(0,n.jsx)(h(),{fill:!0,src:"/logo_nav.webp",alt:"ScoreBig"})})})}),s&&(0,n.jsx)("div",{className:"hidden lg:block maps-mlb-mirror-logos py-2 pl-8",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})}),(0,n.jsx)("div",{className:"flex lg:hidden",children:(0,n.jsx)("a",{href:"/",children:(0,n.jsx)("div",{className:"relative w-12 h-12 overflow-hidden",children:(0,n.jsx)(h(),{fill:!0,src:"/mobile-logo.png",alt:"ScoreBig"})})})}),(0,n.jsxs)("div",{className:"flex flex-col items-center flex-1 mx-2 lg:items-start sm:mx-0 lg:ml-4",children:[t.detail.performers.length>0?(0,n.jsx)("h1",{className:"text-sm font-semibold text-center sm:text-base lg:text-left",children:(0,n.jsx)("a",{className:"mb-1 text-center lg:text-left line-clamp-2 text-white",title:"All ".concat(t.detail.performers[0].performer_name," Events"),href:"/performers/".concat((0,d.kU)(t.detail.performers[0].performer_id,t.detail.performers[0].performer_name)),children:"".concat(t.name)})}):(0,n.jsx)("h1",{className:"mb-1 text-sm font-semibold text-center sm:text-base lg:text-left line-clamp-2 text-white",children:"".concat(t.name)}),(0,n.jsxs)("span",{className:"flex items-center text-xs",children:[(0,n.jsx)(p.Z,{className:"w-4 h-4 sm:w-3 sm:h-3 mr-1 text-primary"}),(0,n.jsx)("span",{className:"line-clamp-1 text-white",children:"".concat(t.address)})]}),(0,n.jsxs)("span",{className:"flex items-center text-xs text-white",children:[(0,n.jsx)(x.Z,{className:"w-3 h-3 mr-1 text-primary"}),"".concat(t.day,", ").concat(t.date," ").concat(t.year," @ ").concat(t.time)]})]}),(0,n.jsx)(v.Z,{CustomUI:y.Z})]})})]})]})}var j=a(70461),w=a(39332),N=a(34558),P=a.n(N),C=a(91594),_=a(95804),S=a(48875),k=a(93665),T=a(81516),A=a(68163),E=a(13342),I=a(58057),F=a(77050);function O(e){let{time:t}=e,[a,s]=(0,o.useState)(Math.floor(t/1e3/60%60)),[l,i]=(0,o.useState)(Math.floor(t/1e3%60)),[r,c]=(0,o.useState)(!0),d=(e,t)=>{let a=e-t;s(Math.floor(a/1e3/60%60)),i(Math.floor(a/1e3%60))};return(0,o.useEffect)(()=>{let e=0,a=setInterval(()=>{d(t,e),t-e==0&&(clearInterval(a),c(!1)),e+=1e3},1e3);return()=>clearInterval(a)},[]),(0,n.jsx)(n.Fragment,{children:r&&(0,n.jsxs)("div",{className:"flex flex-col justify-center text-base text-red-600 font-semibold",children:[(0,n.jsx)("p",{children:"Hurry!"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("p",{children:0==a?"00":a<10?"0"+a:a}),(0,n.jsx)("p",{children:":"}),(0,n.jsx)("p",{children:0==l?"00":l<10?"0"+l:l})]})]})})}var R=a(3680),B=a(14898),D=a(38354),M=a(42792),L=a.n(M),U=a(77979),Z=a(5506);function G(e){let{isEmailModalOpen:t,setIsEmailModalOpen:a,overridenEmail:s,setOverridenEmail:l}=e,[i,r]=(0,o.useState)(s),[c,m]=(0,o.useState)(null),[u,h]=(0,o.useState)(!1);function p(){a(!1)}function x(e){return/\S+@\S+\.\S+/.test(e)}return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(_.u,{appear:!0,show:t,as:o.Fragment,children:(0,n.jsxs)(S.V,{as:"div",className:"relative",style:{zIndex:100001},onClose:p,children:[(0,n.jsx)(_.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,n.jsx)("div",{className:"flex min-h-full items-center justify-center text-center",children:(0,n.jsx)(_.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,n.jsxs)(S.V.Panel,{className:"fixed bottom-0 right-0 w-full max-w-md h-80 max-h-96 transform overflow-hidden rounded-t-lg bg-white p-6 text-left align-middle shadow-xl transition-all",children:[(0,n.jsx)("div",{className:"flex justify-end items-center mb-6",children:(0,n.jsxs)("button",{type:"button",className:"rounded-md text-gray-900 focus:outline-none",onClick:()=>{a(!1)},children:[(0,n.jsx)("span",{className:"sr-only",children:"Close panel"}),(0,n.jsx)(Z.Z,{className:"h-6 w-6 text-white bg-gray-300 rounded-full p-1","aria-hidden":"true"})]})}),(0,n.jsx)(S.V.Title,{as:"div",className:"text-lg font-semibold leading-6 text-black",children:"Electronic Transfer"}),(0,n.jsx)("div",{className:"mt-2",children:(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Detailed instructions on how to claim your tickets will be sent to the email address below."})}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"relative flex items-center w-full mt-4",children:[(0,n.jsx)("input",{className:"border border-gray-400 rounded-md w-full h-10 pl-4",onInput:e=>{r(e.target.value),x(e.target.value)&&h(!0)},type:"email",name:"email",placeholder:"[email protected]",autoComplete:"email",autoFocus:!0,value:i}),i&&(0,n.jsx)(Z.Z,{onClick:()=>{l(""),r(""),p()},className:"absolute w-3 h-3 text-gray-800 right-3","aria-hidden":"true"})]}),c&&(0,n.jsx)("span",{className:"text-xs text-red-600",children:c}),(0,n.jsx)("div",{className:"w-full mt-8",children:(0,n.jsx)("button",{type:"button",className:(0,d.AK)(u?"":"bg-opacity-10 cursor-default","inline-flex justify-center w-full rounded-md border border-transparent bg-[#0077FF] px-4 py-2 text-sm font-medium text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"),onClick:function(){x(i)?(l(i),m(""),p()):m("Must input valid email address (e.g. [email protected])")},disabled:!u,children:"Continue"})})]})]})})})})]})})})}let z={GOOGLE:"GooglePay",APPLE:"ApplePay",PAYPAL:"PayPal"};class q{get paymentClient(){return this._paymentClient}set paymentClient(e){this._paymentClient=e}async createBraintreeClient(){return new Promise((e,t)=>
1{L().client.create({authorization:this.clientAuthorization},(a,n)=>{a&&(U.P.error("Error creating braintree client","initializeBraintree",{clientErr:a}),t(a)),e(n)})})}async createPaymentClient(e){throw Error("createPaymentClient method not implemented.")}async isReadyToPay(){throw Error("isReadyToPay method not implemented.")}async createButton(){throw Error("createButton method not implemented.")}async completePurchase(e){throw Error("completePurchase method not implemented.")}async process(){try{let e=await this.createBraintreeClient();this.paymentClient=await this.createPaymentClient(e),await this.isReadyToPay()&&await this.createButton()}catch(e){U.P.error("Error in the payment process","process",{error:e})}}constructor(e){this.clientAuthorization=e}}class V extends q{async createPaymentClient(e){return{googlePayClient:new google.payments.api.PaymentsClient({environment:"PRODUCTION"}),googlePaymentInstance:await new Promise((t,a)=>{L().googlePayment.create({client:e,googlePayVersion:2,googleMerchantId:"BCR2DN4TZTL6JNRQ"},function(e,n){e?(U.P.error("Error creating google payment instance","googlePaymentInstance",{error:e}),a(e)):t(n)})})}}async isReadyToPay(){let{googlePayClient:e,googlePaymentInstance:t}=this.paymentClient;return(await e.isReadyToPay({apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:t.createPaymentDataRequest().allowedPaymentMethods,existingPaymentMethodRequired:!0})).result}createGooglePayButton(e){let{googlePayClient:t}=this.paymentClient;return t.createButton({buttonType:"long",buttonSizeMode:"fill",onClick:e})}async createButton(){let e=this.createGooglePayButton(()=>this.completePurchase(this.paymentClient));this._setIsGooglePayBtnShowing(!0),this.isButtonContainerEmpty()&&this._googlePayBtn.current.appendChild(e)}isButtonContainerEmpty(){var e,t;return(null===(t=this._googlePayBtn)||void 0===t?void 0:null===(e=t.current)||void 0===e?void 0:e.childElementCount)===0}async completePurchase(e){let{googlePayClient:t,googlePaymentInstance:a}=e;try{(0,d.X2)("google-pay-button-clicked"),(0,d.ZQ)(this._billingData,z.GOOGLE,this._event,this._promo);let e=a.createPaymentDataRequest({transactionInfo:{currencyCode:"USD",totalPriceStatus:"FINAL",totalPrice:"".concat(this._billingData.totalPrice.value)},allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["AMEX","DISCOVER","INTERAC","JCB","MASTERCARD","VISA"],billingAddressRequired:!0,billingAddressParameters:{format:"FULL",phoneNumberRequired:!0}}}],emailRequired:!0}),n=await t.loadPaymentData(e),s=await a.parseResponse(n);this._handleCaptureCall(z.GOOGLE,n,s)}catch(e){U.P.error("Error handling Google Pay payment","onGooglePayBtnClicked",{error:e})}}constructor(e,t,a,n,s,l,i){super(e),this._billingData=t,this._setIsGooglePayBtnShowing=a,this._googlePayBtn=n,this._event=s,this._promo=l,this._handleCaptureCall=i}}class Q extends q{async createPaymentClient(e){if(!window.ApplePaySession){U.P.error("This device does not support Apple Pay","createButton"),(0,d.WZ)("apple","ApplePaySession");return}if(!window.ApplePaySession.canMakePayments()){U.P.error("This device is not suitable for making Apple Pay payments","createButton"),(0,d.WZ)("apple","canMakePayments");return}return new Promise((t,a)=>{L().applePay.create({client:e},(e,n)=>{e&&(U.P.error("Error creating applePayInstance","createPaymentClient",{applePayErr:e}),(0,d.WZ)("apple","applePay-create"),a(e)),t(n)})})}async isReadyToPay(){return(0,d.RC)()}async createButton(){this._applePayBtn.current.addEventListener("click",()=>this.completePurchase(this.paymentClient))}async completePurchase(e){(0,d.X2)("apple-pay-button-clicked");let t=e.createPaymentRequest({total:{label:"SCOREBIG, LLC",amount:this._billingData.totalPrice.value},requiredBillingContactFields:["postalAddress"],requiredShippingContactFields:["phone","email"],merchantIdentifier:this._billingData.applepayMerchantIdentifier,countryCode:"US",currencyCode:"USD"}),a=new window.ApplePaySession(3,t);a.onvalidatemerchant=t=>this._handleValidateMerchant(t,e,a),a.onpaymentauthorized=t=>this._handlePaymentAuthorized(t,e,a),a.begin()}_handleValidateMerchant(e,t,a){t.performValidation({validationURL:e.validationURL,displayName:"SCOREBIG, LLC"},(e,t)=>{if(e){(0,d.WZ)("apple","onvalidatemerchant"),U.P.error("Apple Pay failed to validate merchant","completePurchase",{error:e});return}a.completeMerchantValidation(t)})}_handlePaymentAuthorized(e,t,a){t.tokenize({token:e.payment.token},(t,n)=>{if(t){U.P.error("Error tokenizing Apple Pay","completePurchase",{tokenizeErr:t}),a.completePayment(window.ApplePaySession.STATUS_FAILURE),(0,d.WZ)("apple","onpaymentauthorized");return}a.completePayment(window.ApplePaySession.STATUS_SUCCESS),this._handleCaptureCall(z.APPLE,n,e)})}constructor(e,t,a,n){super(e),this._billingData=t,this._applePayBtn=a,this._handleCaptureCall=n}}class W extends q{async createPaymentClient(e){return new Promise((t,a)=>{L().paypalCheckout.create({client:e},(e,n)=>{e&&(U.P.error("Error creating PayPal Checkout","createPaymentClient",{paypalCheckoutErr:e}),(0,d.WZ)("paypal","onCheckoutCreate"),a(e)),t(n)})})}async isReadyToPay(){return!!this.paymentClient}async createButton(){let e=this.paymentClient;e.loadPayPalSDK({vault:!0},t=>{if(t){U.P.error("Error loading PayPal SDK","createButton",{loadSDKErr:t}),(0,d.WZ)("paypal","onLoadSDK");return}window.paypal.Buttons({fundingSource:window.paypal.FUNDING.PAYPAL,createBillingAgreement:()=>e.createPayment({flow:"vault",amount:this._billingData.totalPrice.value,currency:"USD",intent:"capture",displayName:"SCOREBIG, LLC",locale:"en_US",enableShippingAddress:!0,shippingAddressEditable:!0}),onApprove:t=>e.tokenizePayment(t,(e,a)=>{if(e)U.P.error("Error tokenizing PayPal payment","createButton",{error:e});else{let e=t.payerID;this._handleCaptureCall(z.PAYPAL,a,e)}}),onCancel:e=>{U.P.info("PayPal payment cancelled","createButton",{errorData:JSON.stringify(e,0,2)})},onError:e=>{(0,d.WZ)("paypal","onError"),U.P.error("PayPal error","createButton",{error:e})}}).render(this._btnId).then(()=>{this._setIsPaypalBtnShowing(!0)})})}async completePurchase(){throw Error("PayPalCheckoutStrategy does not implement the completePurchase method.")}constructor(e,t,a,n,s){super(e),this._billingData=t,this._btnId=a,this._setIsPaypalBtnShowing=n,this._handleCaptureCall=s}}function H(e){let{billingData:t,setIsSecuringTickets:a,setOrderDetail
1:s,setOrderComplete:l,event:i,promo:c}=e,{userAgent:m}=(0,o.useContext)(R.Y),[u,h]=(0,o.useState)(!1),[p,x]=(0,o.useState)(!1),y=(0,o.useRef)(),f=(0,o.useRef)(),g=(0,o.useRef)(!1),[v,b]=(0,o.useState)(""),[j,w]=(0,o.useState)(!1),[N,P]=(0,o.useState)(""),_=(0,o.useRef)(""),S=localStorage.getItem("guestToken");function k(e,n,i){let r={nonce:n.nonce,guid:t.guid,total:t.totalPrice.value,quantity:t.quantitySelected,type:e};e===z.PAYPAL?(r.billingAddress={address1:n.details.billingAddress.line1,phoneNumber:n.details.phone,postalCode:n.details.billingAddress.postalCode,countryCode:n.details.billingAddress.countryCode,city:n.details.billingAddress.city,name:n.details.firstName+" "+n.details.lastName,state:n.details.billingAddress.state,address2:""},r.email=n.details.email,r.paymentDescription=n.nonce,r.paymentOptionType=n.type,r.paypalPayerId=i):e===z.APPLE?(r.billingAddress={address1:i.payment.billingContact.addressLines[0],phoneNumber:i.payment.shippingContact.phoneNumber,postalCode:i.payment.billingContact.postalCode,countryCode:i.payment.billingContact.countryCode,city:i.payment.billingContact.locality,name:i.payment.billingContact.givenName+" "+i.payment.billingContact.familyName,state:i.payment.billingContact.administrativeArea,address2:""},r.email=i.payment.shippingContact.emailAddress,r.paymentDescription=n.nonce,r.paymentOptionType=n.details.cardType):e===z.GOOGLE&&(r.nonce=i.nonce,r.billingAddress={address1:n.paymentMethodData.info.billingAddress.address1,phoneNumber:n.paymentMethodData.info.billingAddress.phoneNumber,postalCode:n.paymentMethodData.info.billingAddress.postalCode,countryCode:n.paymentMethodData.info.billingAddress.countryCode,city:n.paymentMethodData.info.billingAddress.locality,name:n.paymentMethodData.info.billingAddress.name,state:n.paymentMethodData.info.billingAddress.administrativeArea,address2:""},r.email=n.email,r.paymentDescription="".concat(i.details.cardType," \xb7\xb7\xb7\xb7 ").concat(i.details.lastFour),r.paymentOptionType=i.details.cardType),function(e){let{nonce:t,guid:n,total:i,quantity:r,type:o,billingAddress:c,email:m,paymentDescription:u,paymentOptionType:h,paypalPayerId:p}=e;a(!0);let x=_.current?_.current:m;C.U.post("".concat(d.sn.honolulu,"/Orders/capture-checkout-order"),{nonce:t,guid:n,total:i,quantity:r,type:o,billingAddress:c,email:x,paymentOptionType:h,paymentDescription:u,paypalPayerId:p}).then(e=>{s(e.data),l(!0),(0,d.Qc)(i,r,o,c,x,e.data),a(!1)}).catch(e=>{var n,s,l;(0,d.X2)("checkout_receipt_failed"),a(!1),(null==e?void 0:null===(l=e.response)||void 0===l?void 0:null===(s=l.data)||void 0===s?void 0:null===(n=s.error)||void 0===n?void 0:n.message)?(U.P.error("Something went wrong","captureCheckout",{error:e,userEmail:m,type:o,nonce:t,paymentDescription:u}),setTimeout(()=>window.alert(e.response.data.error.message),100)):(U.P.error("Something went wrong","captureCheckout",{error:e,userEmail:m,type:o,nonce:t,paymentDescription:u}),setTimeout(()=>window.alert("Something went wrong. Please try again."),100))})}(r)}return(0,C.u)(S),(0,o.useEffect)(()=>{if(!g.current){g.current=!0,m.isAppleOS||m.isSafari?P("Apple Pay or PayPal"):P("Google Pay or PayPal");try{new W(t.clientToken,t,"#paypal-button",x,k).process()}catch(e){console.error("Something went wrong trying to process PayPal at initial load","useEffect",{error:e}),U.P.error("Something went wrong trying to process PayPal at initial load","useEffect",{error:e})}try{d.RC&&m.isSafari&&new Q(t.clientToken,t,f,k).process()}catch(e){U.P.error("Something went wrong trying to process Apple Pay at initial load","useEffect",{error:e})}}},[]),(0,o.useEffect)(()=>{_.current=v},[v]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center flex-wrap w-full mb-4",children:[(0,n.jsx)("span",{className:"font-semibold text-sm w-[75%]",children:"Electronic Transfer"}),(0,n.jsx)("span",{className:"text-gray-600 text-xs",children:"Tickets will be sent to the email linked to your ".concat(N," account unless specified.")}),v?(0,n.jsxs)("span",{className:"flex justify-start items-center w-full text-xs mt-2",children:[(0,n.jsx)("span",{className:"mr-1",children:"Will be delivered to"}),(0,n.jsxs)("div",{className:"flex justify-start items-center",onClick:()=>w(!0),children:[(0,n.jsx)("span",{className:"font-bold cursor-pointer mr-1",children:v}),(0,n.jsx)(B.Z,{className:"w-4 h-4"})]}),(0,n.jsx)(D.Z,{onClick:()=>b(null),className:"w-4 h-4 text-red-500 ml-auto cursor-pointer"})]}):(0,n.jsx)("button",{onClick:()=>{w(!0),(0,d.iJ)()},className:"text-blue-500 font-bold underline text-xs mt-1",children:"Set Email Address"})]}),m.isNonAppleOS&&!m.isSafari&&(0,n.jsx)(r(),{src:"https://pay.google.com/gp/p/js/pay.js",onReady:()=>{!function(){h(!0);try{new V(t.clientToken,t,h,y,i,c,k).process()}catch(e){U.P.error("Something went wrong trying to process GooglePay at initial load","initializeGooglePayClient",{error:e})}}()}}),!p&&!u&&(0,n.jsx)("div",{className:"w-full text-center py-2 mb-2 h-[40px] rounded-md font-semibold border border-black text-black",children:"Loading Express Checkout..."}),(0,n.jsx)("div",{id:"paypal-button",className:"mb-2"}),d.RC&&m.isSafari&&(0,n.jsxs)("button",{ref:f,className:"w-full mb-2 py-5 cursor-pointer apple-pay-button-with-text apple-pay-button-black-with-text",children:[(0,n.jsx)("span",{className:"text",children:"Buy with"}),(0,n.jsx)("span",{className:"logo"})]}),u&&(0,n.jsx)("button",{ref:y,className:"w-full mb-2"}),(0,n.jsx)("div",{className:"relative border border-gray-600 w-full my-4",children:(0,n.jsx)("div",{className:"absolute bg-white px-2 top-0 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm font-semibold text-center uppercase",children:"or"})})]}),w&&(0,n.jsx)(G,{isEmailModalOpen:j,setIsEmailModalOpen:w,overridenEmail:v,setOverridenEmail:b})]})}var J=a(83216),K=a(12450),Y=a(10822);function $(e){let{order:t,setIsCheckoutOpen:a,isSecuringTickets:s,setSelectedQuantity:l}=e,[i,r]=(0,o.useState)(t),[c,d]=(0,o.useState)(!0);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(_.u.Root,{show:c,as:o.Fragment,children:(0,n.jsxs)(S.V,{style:{zIndex:100001},as:"div",className:"relative",onClose:()=>{d(!1),s||a(!1),l(0)},children:[(0,n.jsx)(_.u.Child,{as:o.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,n.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,n.jsx)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex max-w-full h-screen",children:(0,n.jsx)(_.u.Child,{as:o.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:(0,n.jsx)(S.V.Panel,{className:"pointer-events-auto relative w-screen max-w-md",children:(0,n.jsx)("div",{className:"relative flex h-full flex-col overflow-y-scroll bg-white pt-6 shadow-xl",children:(0,n.jsx)("div",{style:{WebkitOverflowScrolling:"touch"},className:"flex flex-col justify-between h-full",children:(0,n.jsx)("div",{className:"h-full flex-1 mb-4",children:(0,n.jsxs)("div",{className:"px-4 sm:px-6",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsxs)("button",{type:"button",className:"rounded-md text-gray-900 focus:outline-none",onClick:()=>{s||a(!1),d(!1),l(0)},children:[(0,n.jsx)("span",{className:"sr-only",children:"Close panel"}),(0,n.jsx)(Z.Z,{className:"h-6 w-6","aria-hidden":"true"})]}),(0,n.jsx)("div",{className:"flex justify-center items-center w-full pr-6",children:(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)("span",{className:"font-semibold text-xl",children:"Order Received! \uD83C\uDF89"})})})]}),i.length<=0&&(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center mt-10",children:[(0,n.jsx)("div",{className:"relative w-64 h-64 overflow-hidden",children:(0,n.jsx)(h(),{fill:!0,src:"/images/illustrations/order-detail.svg",alt:""})}),(0,n.jsx)("span",{className:"block text-lg text-gray-800 font-semibold",children:"Yayy!"}),(0,n.jsx)("span",{className:"block text-sm text-gray-600",children:"Thank y
1ou for choosing ScoreBig"})]}),(0,n.jsx)("div",{className:"mt-6 mb-4",children:i.length>0&&i.map((e,t)=>(0,n.jsxs)("div",{children:["date"==e.entityType&&(0,n.jsxs)("div",{className:"mb-2 pb-2",children:[(0,n.jsx)("div",{className:"text-sm text-gray-900 font-semibold",children:e.data.name}),(0,n.jsx)("div",{className:"text-xs font-normal text-gray-700",children:(0,n.jsxs)("span",{className:"flex items-center",children:[(0,n.jsx)(K.Z,{className:"w-3 h-3 mr-1"}),"".concat(e.data.month," ").concat(e.data.day," @ ").concat(e.data.time)]})})]}),"header"==e.entityType&&(0,n.jsx)("div",{className:"mb-1",children:(0,n.jsx)("div",{className:"text-base text-gray-900 font-semibold underline",children:e.data.title})}),"row"==e.entityType&&(0,n.jsxs)("div",{className:"flex justify-between items-center mb-1 ml-2",children:[(0,n.jsx)("div",{className:"text-sm text-gray-900 font-semibold",children:e.data.title}),(0,n.jsx)("div",{className:"text-sm text-gray-700",children:e.data.value})]}),"rowSubtitle"==e.entityType&&(0,n.jsx)(n.Fragment,{children:e.data.isArrow?(0,n.jsx)(J.p,{as:"div",defaultOpen:"true",className:"mb-2",children:t=>{let{open:a}=t;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(J.p.Button,{className:"flex justify-between w-full text-sm font-semibold bg-transparent shadow-0 border-b border-rose-800 text-white mb-1",children:[(0,n.jsx)("span",{className:"text-rose-800",children:e.data.title}),(0,n.jsx)(Y.Z,{className:"".concat(a?"rotate-180 transform":""," h-6 w-6 text-rose-800")})]}),(0,n.jsx)(J.p.Panel,{className:"text-gray-500",children:"".concat(e.data.info)})]})}}):(0,n.jsx)(n.Fragment,{children:""!=e.data.info?(0,n.jsxs)("div",{className:"mb-2 pb-2 ml-3",children:[(0,n.jsx)("div",{className:"text-sm text-gray-700",children:e.data.title}),(0,n.jsx)("div",{className:"text-xs text-gray-700",children:(0,n.jsx)("span",{className:"flex items-center",children:e.data.info})})]}):(0,n.jsxs)("div",{className:"flex justify-between items-center mb-2 pb-2 ml-2",children:[(0,n.jsx)("div",{className:"text-sm text-gray-700",children:e.data.title}),(0,n.jsx)("div",{className:"text-xs text-gray-700",children:(0,n.jsx)("span",{className:"flex items-center",children:e.data.subtitle})})]})})})]},t))})]})})})})})})})})})]})})})}var X=a(21876).Buffer;function ee(e){var t,a,s;let{isOpen:l,setIsCheckoutOpen:i,ticket:r,event:c,svg:m,selectedQuantityFilter:u,unitPrice:p,promo:x,renderSvgMap:y}=e,f=(0,o.useRef)(),g=(0,w.useSearchParams)(),[v,b]=(0,o.useState)(null),[N,R]=(0,o.useState)(!0),[B,D]=(0,o.useState)((null==r?void 0:r.availableTicketQuantities.length)===1?r.availableTicketQuantities[0]:u||(null==r?void 0:r.availableTicketQuantities[0])),[M,L]=(0,o.useState)(),[Z,G]=(0,o.useState)(),[z,q]=(0,o.useState)(!1),[V,Q]=(0,o.useState)(!1),[W,J]=(0,o.useState)(!1),[K,Y]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(!1),[ea,en]=(0,j.Z)(["click_through_promo","tn_PromoCode","tn_Utm_Campaign","tn_Utm_Content","tn_Utm_Medium","tn_Utm_Source","tn_Utm_Term"]),es=localStorage.getItem("guestToken");(0,C.u)(es),x||(x=ea.tn_PromoCode?ea.tn_PromoCode:ea.click_through_promo?ea.click_through_promo:"");let el=(0,o.useRef)(!1);function ei(){let e=0;return x&&x in d.LT&&(e=(1-d.LT[x])*p),(e*B).toFixed(2)}async function er(e){if(R(!0),v)try{v.cancel("Operation canceled by duplicate call")}catch(e){U.P.error("Error cancelling token","fetchTicketPrice")}let t=null;try{t=P().CancelToken.source(),b(t)}catch(e){U.P.error("Error creating cancel token","fetchTicketPrice")}C.U.post("".concat(d.sn.honolulu,"/Orders/create-checkout-order"),{productId:r.id,quantity:e,promo:x,utm_source:ea.tn_Utm_Source?ea.tn_Utm_Source:"",utm_medium:ea.tn_Utm_Medium?ea.tn_Utm_Medium:"",utm_campaign:ea.tn_Utm_Campaign?ea.tn_Utm_Campaign:"",utm_term:ea.tn_Utm_Term?ea.tn_Utm_Term:"",utm_content:"one_click",unitPrice:p},{cancelToken:null==t?void 0:t.token}).then(e=>{e.data.lineItems.push({type:"price",value:"".concat(e.data.quantitySelected," ($").concat(e.data.unitPrice.value," each)"),key:"Quantity"}),e.data.totalPrice.key="Total",e.data.subTotal={key:"Estimated Subtotal",value:0},e.data.note=(null==r?void 0:r.sellerNote)||[""];try{let t=e.data.lineItems.find(e=>"Note"===e.key);(null==r?void 0:r.sellerNote)||e.data.note.push(t.value)}catch(t){U.P.warn("Something went wrong while finding Note from lineItems","fetchTicketPrice",{error:t,lineItems:e.data.lineItems})}try{e.data.subTotal={key:"Estimated Subtotal",value:e.data.totalPrice.value+e.data.promoSelected.totalAmount.value}}catch(e){U.P.warn("Something went wrong defining subTotal manually if promoSelected exists","fetchTicketPrice",{error:e,ticketId:r.id})}R(!1),G(e.data)}).catch(e=>{P().isCancel(e)?console.log("Request canceled",e.message):(U.P.error("Something went wrong defining subTotal manually if promoSelected exists","fetchTicketPrice",{error:e,ticketId:r.id}),R(!1))})}return(0,o.useEffect)(()=>{el.current||(el.current=!0,(async()=>{await er(B)})())},[]),(0,o.useEffect)(()=>{let e={lineItems:[{type:"normal",key:"Delivery",value:"Mobile Ticket"},{type:"price",value:"".concat(B," ($").concat((0,d.n0)(p.toFixed(2))," each)"),key:"Quantity"}],subTotal:{key:"Estimated Subtotal",value:0},totalPrice:{key:"Subtotal",value:B*p-ei()},unitPrice:{value:p,currencyCode:"USD"},promoSelected:null,quantitySelected:B,note:(null==r?void 0:r.sellerNote)||[""]};x&&x in d.LT&&(e.promoSelected={code:x,totalAmount:{value:ei(),currencyCode:"USD"},description:"-$".concat(ei()," 15% discount (excludes shipping)")}
1,e.totalPrice.key="Subtotal",e.subTotal.value=B*p),L(e)},[B]),(0,o.useEffect)(()=>{var e,t,a,n,s;e="https://cdn.ywxi.net/js/1.js",t=function(){},n=!1,document.getElementById("trusted-site-script")||((a=document.createElement("script")).type="text/javascript",a.src=e,a.id="trusted-site-script",a.onload=a.onreadystatechange=function(){n||this.readyState&&"complete"!=this.readyState||(n=!0,t())},(s=document.getElementsByTagName("script")[0]).parentNode.insertBefore(a,s))},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.u.Root,{show:l,as:o.Fragment,children:(0,n.jsxs)(S.V,{as:"div",className:"relative z-[100000]",onClose:()=>{z||i(!1),D(0)},children:[(0,n.jsx)(_.u.Child,{as:o.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,n.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,n.jsx)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex max-w-full h-[100%]",children:(0,n.jsx)(_.u.Child,{as:o.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:(0,n.jsx)(S.V.Panel,{className:"pointer-events-auto relative w-screen max-w-md",children:(0,n.jsx)("div",{className:"relative flex h-full flex-col overflow-y-scroll bg-white pt-6 shadow-xl",children:(0,n.jsx)("div",{style:{WebkitOverflowScrolling:"touch"},className:"flex flex-col justify-between h-full",children:z?(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center h-full z-[100000]",children:[(0,n.jsx)(T.Z,{className:"w-16 h-16 animate-bounce"}),(0,n.jsx)("div",{className:"text-xl font-semibold",children:"Securing your tickets..."}),(0,n.jsx)("div",{className:"text-sm font-semibold text-gray-500",children:"(Please do not close)"})]}):(0,n.jsxs)("div",{className:"h-full flex-1 mb-4",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center px-4 sm:px-6",children:[(0,n.jsxs)("button",{type:"button",className:"rounded-md text-gray-900 focus:outline-none",onClick:()=>void(z||i(!1),D(0)),children:[(0,n.jsx)("span",{className:"sr-only",children:"Close panel"}),(0,n.jsx)(A.Z,{className:"w-6 h-6","aria-hidden":"true"})]}),(0,n.jsx)(O,{time:6e5})]}),(null==r?void 0:r.svgId)&&y&&(0,n.jsx)("div",{className:"relative w-full h-44 rounded overflow-hidden mb-6",children:(0,n.jsx)(h(),{fill:!0,loading:"lazy",src:"data:image/svg+xml;base64,".concat(function(e){let t=m.indexOf(e),a=t+e.length+7;return -1!=t?X((0,d.R_)(a,a+7+1,m,"#007ac1")).toString("base64"):""}(null==r?void 0:r.svgId)),alt:"Seating View"})}),(0,n.jsxs)("div",{className:"px-4 sm:px-6",children:[(0,n.jsx)("div",{className:"flex items-start justify-start mb-2",children:(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("span",{className:"text-lg font-semibold line-clamp-2 mb-1",children:"".concat(c.name)}),(0,n.jsxs)("div",{className:"block text-xs text-gray-600",children:[(0,n.jsx)("span",{className:"flex items-center",children:"".concat(c.day,", ").concat(c.date," ").concat(c.year," @ ").concat(c.time)}),(0,n.jsx)("span",{className:"flex items-center",children:"".concat(c.address)})]})]})}),(0,n.jsx)("div",{className:"flex flex-wrap mb-2",children:(0,n.jsxs)("div",{className:"text-sm tracking-wide leading-8",children:["Section: ",(0,n.jsx)("span",{className:"text-base text-gray-900 font-bold",children:null==r?void 0:r.name})," | ","Row: ",(0,n.jsx)("span",{className:"text-base text-gray-900 font-bold",children:null==r?void 0:r.row})]})}),(0,n.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)(k.v,{as:"div",className:"relative inline-block text-left mr-2",children:[(0,n.jsx)("div",{children:(0,n.jsxs)(k.v.Button,{className:"inline-flex w-full justify-center items-center gap-x-1.5 rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:[B?"".concat(B," Tickets"):"Select Quantity",(0,n.jsx)(E.Z,{className:"-mr-1 h-4 w-4 text-gray-400","aria-hidden":"true"})]})}),(0,n.jsx)(_.u,{as:o.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(k.v.Items,{className:(0,d.AK)((null==r?void 0:r.availableTicketQuantities.length)>3?"h-[12.75rem]":"h-fit","absolute left-0 z-10 w-44 mb-14 max-h-56 overflow-y-scroll roun
1ded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"),children:(0,n.jsx)("div",{className:"py-1 divide-y divide-gray-300",children:null==r?void 0:r.availableTicketQuantities.map((e,t)=>(0,n.jsx)(k.v.Item,{as:"div",children:(0,n.jsxs)("div",{onClick:()=>{D(e),er(e),J(!1)},className:(0,d.AK)(B==e?"bg-black text-white":"text-gray-700","flex justify-between items-center p-4 z-20"),children:[(0,n.jsxs)("span",{className:"block text-base",children:[e," Tickets"]}),B==e&&(0,n.jsx)(I.Z,{className:"h-5 w-5","aria-hidden":"true"})]})},t))})})})]}),M&&(0,n.jsxs)("span",{children:["$",(0,d.n0)(M.unitPrice.value.toFixed(2))," ","each"]})]}),M&&(0,n.jsx)("div",{children:(0,n.jsxs)("span",{className:"font-semibold",children:["$",(0,d.n0)((M.unitPrice.value*M.quantitySelected).toFixed(2))]})})]}),M&&(0,n.jsxs)("div",{className:"mb-4",children:[M.promoSelected&&(0,n.jsxs)("div",{className:"flex justify-between items-center flex-wrap mb-2",children:[(0,n.jsxs)("span",{className:"font-semibold text-sm w-[75%]",children:["Promo Code (",null===(t=M.promoSelected)||void 0===t?void 0:t.code,")"]}),(0,n.jsx)("span",{className:"text-green-600 font-bold text-xs",children:M.promoSelected.description})]}),(null==M?void 0:null===(a=M.lineItems)||void 0===a?void 0:a.length)>0&&M.lineItems.map((e,t)=>(0,n.jsx)(o.Fragment,{children:((null==e?void 0:e.type)==="normal"||(null==e?void 0:e.type)==="price")&&(null==e?void 0:e.key)!=="Note"&&(null==e?void 0:e.key)!=="Total"&&(0,n.jsxs)("div",{className:"flex justify-between items-center flex-wrap mb-2",children:[(0,n.jsx)("span",{className:"font-semibold text-sm w-[40%]",children:null==e?void 0:e.key}),(0,n.jsx)("span",{className:"text-gray-600\n font-bold text-xs",children:null==e?void 0:e.value})]},t)},t)),M.subTotal.value>0&&(0,n.jsxs)("div",{className:"flex justify-between items-center flex-wrap w-full mb-2",children:[(0,n.jsx)("span",{className:"font-semibold text-sm w-[75%]",children:W?"Subtotal":"Estimated Subtotal"}),(0,n.jsx)("span",{className:(0,d.AK)(M.promoSelected?"text-red-600 line-through":"text-gray-600","font-bold text-xs"),children:"$".concat((0,d.n0)(M.subTotal.value.toFixed(2)))})]}),(0,n.jsxs)("div",{className:"flex justify-between items-center flex-wrap w-full mb-2",children:[(0,n.jsxs)("span",{className:"font-semibold text-sm w-[75%]",children:[M.totalPrice.key,M.promoSelected?" with ".concat(null==M?void 0:null===(s=M.promoSelected)||void 0===s?void 0:s.code):""]}),(0,n.jsxs)("span",{className:(0,d.AK)(M.promoSelected?"text-green-600":"text-gray-600","font-bold text-xs"),children:["$",(0,d.n0)(M.totalPrice.value.toFixed(2))]})]})]}),!W&&(0,n.jsx)("button",{onClick:()=>void(Z&&L(Z),R(!1),J(!0)),className:"w-full bg-[#e93639] text-white text-sm text-center capitalize rounded-md px-3 py-2 font-black",disabled:N,children:N?"loading...":"checkout"}),W&&!N&&(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{children:[M&&(null==M?void 0:M.clientToken)&&(0,n.jsx)(H,{billingData:M,setIsSecuringTickets:q,setOrderDetail:Y,setOrderComplete:et,event:c,promo:x}),V?(0,n.jsxs)("button",{className:"flex items-center justify-center flex-1 w-full bg-[#abdfdc] text-white rounded-md px-3 py-2",disabled:!0,children:[(0,n.jsxs)("svg",{"aria-hidden":"true",className:"w-5 h-5 mr-2 text-gray-300 animate-spin dark:text-gray-600 fill-white",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
11071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,n.jsx)("span",{className:"sr-only",children:"Loading..."}),(0,n.jsx)("span",{children:"Loading..."})]}):(0,n.jsx)("button",{onClick:()=>(function(){try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"select-payment-method-button-clicked"})}catch(e){U.P.error("Something went wrong refirecting to C3 Checkout","redirectCheckout",{error:e,ticketId:r.id})}Q(!0),f.current.submit()})(),className:"bg-[#eb3333] w-full text-white text-sm text-center rounded-md px-3 py-2 font-black",disabled:V,children:"Pay with Credit Card or Affirm"})]})}),(0,n.jsxs)("div",{className:"my-4",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start mb-4 border-t border-gray-300 pt-4",children:[(0,n.jsx)(F.Z,{className:"w-8 h-8 mr-4"}),(0,n.jsx)("div",{className:"flex flex-col",children:(0,n.jsx)("span",{className:"sm:text-base text-sm font-semibold",id:"testing",children:(0,n.jsx)("a",{className:"line-clamp-2",children:"100% Worry-Free Guarantee"})})})]}),M&&M.note.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"font-semibold text-sm mb-1",children:"Additional Notes:"}),M.note.map((e,t)=>(0,n.jsx)("div",{className:"mb-2 pl-1",children:(0,n.jsx)("div",{className:"text-gray-600 font-bold text-xs",children:e})},t))]})]})]})]})})})})})})})})]})}),ee&&K&&(0,n.jsx)($,{order:K,setIsCheckoutOpen:i,isSecuringTickets:z,setSelectedQuantity:D}),(0,n.jsxs)("form",{ref:f,action:"https://checkout.scorebig.com/Checkout/Order?utm_source=".concat(ea.tn_Utm_Source?ea.tn_Utm_Source:"","&utm_campaign=").concat(ea.tn_Utm_Campaign?ea.tn_Utm_Campaign:"","&utm_content=").concat("bing"===ea.tn_Utm_Source?"":ea.tn_Utm_Content?ea.tn_Utm_Content:"","&utm_medium=").concat(ea.tn_Utm_Medium?ea.tn_Utm_Medium:"","&utm_term=").concat(ea.tn_Utm_Term?ea.tn_Utm_Term:""),method:"POST",children:[(0,n.jsx)("input",{type:"hidden",name:"WebsiteConfigId",value:d.HW}),(0,n.jsx)("input",{type:"hidden",name:"Cart.LineItems[0].Quantity",value:B||(null==r?void 0:r.availableTicketQuantities[0])}),(0,n.jsx)("input",{type:"hidden",name:"Cart.LineItems[0].TicketGroupId",value:null==r?void 0:r.id}),(0,n.jsx)("input",{type:"hidden",name:"Cart.LineItems[0].UnitPrice",value:null==r?void 0:r.price}),(0,n.jsx)("input",{type:"hidden",name:"Cart.LineItems[0].CurrencyCode",value:"USD"}),(0,n.jsx)("input",{type:"hidden",name:"PromoCode",value:g.promo?g.promo:ea.tn_PromoCode?ea.tn_PromoCode:ea.click_through_promo?ea.click_through_promo:""})]})]})}function et(){return(0,n.jsx)("footer",{className:"mapsFooter",id:"footer",children:(0,n.jsx)("div",{className:"footerWrapper",children:(0,n.jsx)("nav",{className:"footerNav",children:(0,n.jsxs)("ul",{className:"footerList",children:[(0,n.jsx)("li",{className:"footer-link-order pipe-delimiter",children:(0,n.jsx)("a",{href:"https://www.scorebig.com/policies",target:"_blank",rel:"noopener noreferrer",title:"Terms and Conditions",children:"Terms & Conditions"})}),(0,n.jsx)("li",{className:"footer-link-order pipe-delimiter",children:(0,n.jsx)("a",{href:"https://www.scorebig.com/policies?policy=privacy",target:"_blank",rel:"noopener noreferrer",title:"Privacy Policy",children:"Privacy Policy"})}),(0,n.jsx)("li",{className:"footer-link-order pipe-delimiter",children:(0,n.jsx)("a",{href:"https://www.scorebig.com/policies?policy=consumer-privacy-rights",target:"_blank",rel:"noopener noreferrer",title:"Consumer Privacy Rights",children:"Consumer Privacy Rights"})}),(0,n.jsx)("li",{className:"footer-link-order pipe-delimiter",children:(0,n.jsx)("a",{href:"javascript:void(0);",onClick:()=>{window.OneTrust&&window.OneTrust.ToggleInfoDisplay()},title:"Privacy Preferences",children:"Privacy Preferences"})}),(0,n.jsx)("li",{className:"footer-link-order pipe-delimiter",children:(0,n.jsx)("a",{href:"javascript:void(0);",onClick:()=>{var e;return null===(e=window.OneTrust)||void 0===e||e.ToggleInfoDisplay(),!1},title:"Do Not Sell My Information",children:"Do Not Sell My Information"})})]})})})})}a(20370);var ea=!0,en=function(e){let{event:t,meta:a}=e,s=(0,c.useRouter)(),i="";i=s.query.hasOwnProperty("promo")?s.query.promo:"";let[u,h]=(0,o.useState)(!1),[p,x]=(0,o.useState)(),[y,f]=(0,o.useState)();!function(e){let t=JSON.stringify(e);(0,o.useEffect)(()=>{let e=JSON.parse(t);if(!m(e))return;let a=Object.entries(e);if(0===a.length)return;let n=document.documentElement,s=new Set,l=new ResizeObserver(t=>{for(let a of t){let t=e[a.target.id];t&&n.style.setProperty(t,"".concat(a.target.getBoundingClientRect().height,"px"))}}),i=(e,t)=>{if(s.has(e))return;let a=document.getElementById(e);a&&(s.add(e),n.style.setProperty(t,"".concat(a.getBoundingClientRect().height,"px")),l.observe(a))};for(let[e,t]of a)i(e,t);let r=null;return s.size<a.length&&(r=new MutationObserver(()=>{for(let[e,t]of a)i(e,t);s.size===a.length&&(r.disconnect(),r=null)})).observe(document.body,{childList:!0,subtree:!0}),()=>{for(let[,e]of(l.disconnect(),null==r||r.disconnect(),a))n.style.removeProperty(e)}},[t])}({"maps-header":"--maps-header-height",footer:"--maps-footer-height","sea-header-disclosure":"--maps-disclosure-height"});let[g,v]=(0,j.Z)(["click_through_promo","tn_PromoCode"]);i||(i=g.tn_PromoCode?g.tn_PromoCode:g.click_through_promo?g.click_through_promo:""),(0,o.useEffect)(()=>{window.updateMapState=e=>{x(e.selectedTicket),h(!0)}},[]);let w=null;try{let e="",a="";try{a=(e=new Date(1e3*t.detail.event_local_timestamp).toISOString().split(".")[0]).split("T")[0]}catch(e){}t.detail.total_inventory_value,t.detail.tickets_available,w={"@context":"https://schema.org","@type":"".concat("Event"),startDate:e,endDate:a,name:"".concat(t.name),description:"Buy No Fees ".concat(t.name," tickets at ").concat(t.address," on ").concat(t.day," ").concat(t.time," at ScoreBig"),eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",url:"".concat(d.Gh,"/events/").concat((0,d.kU)(t.id,t.name,t.address,t.day,t.date)),location:{address:{"@type":"PostalAddress",streetAddress:"".concat(t.detail.venue_street_address1),postalCode:"".concat(t.detail.venue_zip_code),addressLocality:"".concat(t.detail.venue_city),addressRegion:"".concat(t.detail.venue_state_province_short),addressCountry:"US"===t.detail.venue_country_short?"US":"Canada"},geo:{"@type":"GeoCoordinates",latitude:"".concat(t.detail.location[0]),longitude:"".concat(t.detail.location[1])},"@context":"https://schema.org","@type":"EventVenue",name:"".concat(t.detail.venue_name)}}}catch(e){console.log(e)}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:a.title}),(0,n.jsx)("meta",{name:"description",content:a.description}),(0,n.jsx)("meta",{property:"og:title",content:a.title}),(0,n.jsx)("meta",{property:"og:description",content:a.description}),(0,n.jsx)("meta",{property:"og:url",content:"".concat(d.Gh,"/events/").concat((0,d.kU)(t.id,t.name,t.address,t.day,t.date))}),(0,n.jsx)("link",{rel:"canonical",href:"".concat(d.Gh,"/events/").concat((0,d.kU)(t.id,t.name,t.address,t.day,t.date))}),w&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(w)}})]}),(0,n.jsx)(r(),{strategy:"beforeInteractive",type:"text/javascript",src:"https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"}),u&&(0,n.jsx)(ee,{isOpen:u,setIsCheckoutOpen:h,ticket:p,event:t,svg:"",selectedQuantityFilter:y,unitPrice:p.price,promo:i}),(0,n.jsxs)("div",{children:[(0,n.jsx)(b,{event:t}),(0,n.jsx)("div",{id:"tn-maps",role:"main",className:"seatics sea-feedback-enabled ticket-wrapper"})]}),(0,n.jsx)(et,{}),(0,n.jsx)(r(),{src:"https://mapwidget3.seatics.com/js?eventId=".concat(t.id,"&websiteConfigId=").concat(d.HW,"&mobileOptimized=true&includeJQuery=false")}),(0,n.jsx)(r(),{strategy:"beforeInteractive",src:"/scripts/font-awesome/all-mod.js"}),(0,n.jsx)(r(),{src:"/maps.min.js"})]})}},20370:function(){}},function(e){e.O(0,[9424,6467,2888,9774,179],function(){return e(e.s=22831)}),_N_E=e.O()}]);
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.