1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[290],{40290:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var i=n(8004),r=n(23367),c=n(13714),a=n(66840),l=n(98310),o=n(77040),s=n(70306),u=n(68601),d=n(25068),h=n(2793),b=s.Ry().shape({code:s.Z_().min(1).required("")}),f=function(e){var t=e.onSubmit,n=(0,c.Z)().t,l=(0,a.useState)(!0),s=l[0],f=l[1];return(0,h.tZ)(o.J9,{initialValues:{code:""},validationSchema:b,onSubmit:function(e,n){var i=n.resetForm;(0,d.mj)(e.code),t(),i()},children:function(e){var t=e.isSubmitting;return(0,h.tZ)(o.l0,{children:(0,h.BX)(i.Kq,{maxWidth:"420px",margin:"0 auto",align:"center",children:[(0,h.tZ)(u.jc,{variant:"white",sx:{color:"light.white_60",borderColor:"light.white_60"},name:"code",placeholder:n("giftcard.checkbalance.inputplaceholder"),onInput:function(e){return f(!e.target.value)}}),(0,h.tZ)(r.zx,{disabled:s,type:"submit",variant:"solidWhite",size:"lg",isLoading:t,children:n("giftcard.checkbalance.verifybuttonlabel")})]})})}})},p=function(e){var t=e.isOpen,n=e.onClose,o=(0,a.useState)(!1),s=o[0],u=o[1],d=(0,c.Z)().t;return(0,h.tZ)(l.u,{isOpen:t,onClose:n,blockScrollOnMount:!0,children:(0,h.BX)(i.xu,{backgroundColor:"brand.blue",px:{base:"space-4",sm:"space-8",md:"space-16"},py:{base:"14",md:"space-64"},children:[(0,h.tZ)(i.X6,{as:"h3",fontSize:"1.375rem",size:"h6 aa",mb:"8",textTransform:"uppercase",color:"light.white_100",textAlign:"center",children:d("giftcard.checkbalance.title")}),!s&&(0,h.tZ)(f,{onSubmit:function(){return u(!0)}}),s&&(0,h.BX)(i.xu,{children:[(0,h.tZ)(i.xv,{color:"light.white_100",textAlign:"center",mb:"6",textTransform:"lowercase",children:d("giftcard.checkbalance.codesenddescription")}),(0,h.BX)(i.kC,{flexWrap:"wrap",align:"center",gap:{base:6,md:10},justifyContent:"center",children:[(0,h.tZ)(r.zx,{as:"a",variant:"solidWhite",size:"lg",href:"/tickets",children:d("label.tickets.buyTickets")}),(0,h.tZ)(r.zx,{onClick:function(){return u(!1)},variant:"underlineWhite",size:"lg",children:d("giftcard.checkbalance.checkanother")})]})]})]})})}}}]);
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.