1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[302],{30866:function(e,t,n){Promise.resolve().then(n.bind(n,27143)),Promise.resolve().then(n.bind(n,61301)),Promise.resolve().then(n.bind(n,11228)),Promise.resolve().then(n.bind(n,74088)),Promise.resolve().then(n.t.bind(n,77724,23)),Promise.resolve().then(n.t.bind(n,77928,23)),Promise.resolve().then(n.bind(n,21958)),Promise.resolve().then(n.bind(n,52034))},27143:function(e,t,n){"use strict";n.d(t,{Footer:function(){return a}});var r=n(99941),o=n(52034),i=n(81801);const a=r.ZP.footer.withConfig({componentId:"sc-80b2e1cb-0"})(["padding:20px 0;max-width:",";margin:32px auto 20px auto;position:relative;width:96%;color:",";&:before{content:'';display:block;width:100%;height:1px;background:",";position:absolute;top:0;left:0;width:100%;","{width:calc(100% - 2rem);transform:translateX(1rem);max-width:100%;}}","{padding:2.5rem 1rem 1.25rem 1rem;width:100%;}"],i.RZ,(e=>{let{theme:t}=e;return t.main.textColor.transparentize(.3)}),(e=>{let{theme:t}=e;return t.main.textColor.transparentize(.8)}),(0,o.mediaBreakPointDown)("md"),(0,o.mediaBreakPointDown)("md"))},11228:function(e,t,n){"use strict";n.d(t,{UserMenuTopBar:function(){return l}});var r=n(38400),o=n(7040),i=n(21198),a=n(52034),s=n(49211),d=n(61301);const l=()=>{var e;const{user:t,isLoaded:n}=(0,s.W)(),l=(0,o.usePathname)(),c=e=>l===e;if(!n)return null;if(!t)return(0,r.jsx)(a.Link,{href:"/tickets",children:"Gerenciar Ingressos"});const u=(0,r.jsxs)(d.Je,{children:[(0,r.jsx)("div",{children:(0,r.jsx)(a.Heading,{level:6,style:{display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.name})}),(0,r.jsx)("div",{style:{width:"100%"},children:(0,r.jsx)(a.Avatar,{src:null===(e=t.avatar)||void 0===e?void 0:e.url})})]});return(0,r.jsx)(a.DropdownMenu,{trigger:u,side:"bottom",align:"end",styles:{marginBottom:"40px",width:"200px"},children:(0,r.jsx)(d.Ie,{children:(0,r.jsxs)(i.F,{children:[(0,r.jsx)(a.Link,{href:"/tickets",children:(0,r.jsx)(a.MenuItem,{selected:c("/tickets"),children:"Meus Ingressos"})}),(0,r.jsx)(a.Link,{href:"/orders",children:(0,r.jsx)(a.MenuItem,{selected:c("/orders"),children:"Meus Pedidos"})}),(0,r.jsx)(a.Link,{href:"/courtesies",children:(0,r.jsx)(a.MenuItem,{selected:c("/courtesies"),children:"Minhas Cortesias"})}),(0,r.jsx)(a.Link,{href:"/api/auth/logout",prefetch:!1,children:(0,r.jsx)(a.MenuItem,{children:"Sair"})})]})})})}},61301:function(e,t,n){"use strict";n.d(t,{Ie:function(){return l},Je:function(){return c},TabBarContainer:function(){return s},TopBarContent:function(){return d}});var r=n(99941),o=n(52034),i=n(944),a=n(81801);const s=r.ZP.div.withConfig({componentId:"sc-2d68e711-0"})(["background:",";color:",";"],(e=>{let{theme:t}=e;return t.main.menu.bgColor}),(e=>{let{theme:t}=e;return t.main.menu.textColor})),d=r.ZP.header.withConfig({componentId:"sc-2d68e711-1"})(["position:relative;width:100%;max-width:",";min-width:320px;height:60px;margin:0 auto;z-index:10;padding:2rem;top:0;left:0;display:flex;justify-content:space-between;align-items:center;","{padding:1rem;}.logo{max-height:40px;object-fit:contain;filter:",";","{max-height:30px;}}"],a.RZ,(0,o.mediaBreakPointDown)("md"),(e=>{let{theme:{main:t}}=e;return(0,o.getLogoColor)(t.menu.logoColor)}),(0,o.mediaBreakPointDown)("md")),l=(r.ZP.div.withConfig({componentId:"sc-2d68e711-2"})(["display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:20px;position:relative;z-index:1;width:100%;height:100%;padding:20px;"]),(0,r.ZP)(o.Menu).withConfig({componentId:"sc-2d68e711-3"})(["a{","{border-radius:0px;border-bottom:1px solid ",";.menu-item-icon{width:30px;}}}","{border-radius:10px;height:50px;justify-content:start;flex-direction:row;padding:0 16px;margin-top:0;font-size:16px;}.usermenu-logout{display:flex;align-items:center;justify-content:center;width:100%;color:",";padding:16px 0;svg{fill:",";path{fill:",";}}p{width:auto;}&:hover{background:",";color:",";*{color:",";fill:",";}}}"],i.C,(e=>{let{theme:{main:t}}=e;return t.menu.textColor.transparentize(.5)}),i.C,(e=>{let{theme:{main:t}}=e;return t.menu.textColor}),(e=>{let{theme:{main:t}}=e;return t.menu.textColor}),(e=>{let{theme:{main:t}}=e;return t.menu.textColor}),(e=>{let{theme:{main:t}}=e;return t.menu.bgColor}),(e=>{let{theme:{main:t}}=e;return t.menu.textColor}),(e=>{let{theme:{main:t}}=e;return t.menu.textColor}),(e=>{let{theme:{main:t}}=e;return t.menu.textColor}))),c=r.ZP.div.withConfig({componentId:"sc-2d68e711-4"})(["display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;& > div:first-child{h6{max-width:100%;}","{max-width:100px;}}"],(0,o.mediaBreakPointDown)("md"))},81801:function(e,t,n){"use strict";n.d(t,{$0:function(){return s},RZ:function(){return i},W2:function(){return d},n_:function(){return a}});var r=n(99941),o=n(52034);const i="1860px",a=10,s=r.ZP.section.withConfig({componentId:"sc-3dd310f4-0"})(["display:flex;justify-content:center;width:100%;min-width:320px;"]),d=r.ZP.div.withConfig({componentId:"sc-3dd310f4-1"})(["display:flex;flex-direction:column;width:100%;padding:0 2rem;max-width:CONTAINER_WIDTH;margin:0 auto;","{padding:0 1rem;.form-wrapper{margin-bottom:10px;}}"],(0,o.mediaBreakPointDown)("md"))},74088:function(e,t,n){"use strict";n.d(t,{Content:function(){return i},Wrapper:function(){return o}});var r=n(99941);const o=r.ZP.div.withConfig({componentId:"sc-7d1e9221-0"})([""," display:flex;height:100vh;height:100dvh;background:",";"],(e=>{let{theme:{main:t}}=e;const n=t.box.main,o=t.box.highlight;return(0,r.iv)(["--mainBg:",";--mainBg40:",";--mainButtonText:",";--mainButtonBg:",";--mainButtonBg10:",";--mainButtonBg15:",";--mainButtonBg60:",";--mainText15:",";--mainText70:",";--boxMainText10:",";--boxMainText15:",";--boxMainText40:",";--boxMainText70:",";--boxMainButtonBg10:",";--boxMainButtonBg15:",";--boxMainButtonBg60:",";--boxHighlightText10:",";--boxHighlightText15:",";--boxHighlightText40:",";--boxHighlightText70:",";--boxHighlightButtonBg10:",";--boxHighlightButtonBg15:",";--boxHighlightButtonBg60:",";"],t.bgColor,t.bgColor.transparentize(.6),t.button.primary.textColor,t.button.primary.bgColor,t.button.primary.bgColor.transparentize(.9),t.button.primary.bgColor.transparentize(.85),t.button.primary.bgColor.transparentize(.4),t.textColor.transparentize(.85),t.textColor.transparentize(.3),n.textColor.transparentize(.9),n.textColor.transparentize(.85),n.textColor.transparentize(.6),n.textColor.transparentize(.3),n.button.bgColor.transparentize(.9),n.button.bgColor.transparentize(.85),n.button.bgColor.transparentize(.4),o.textColor.transparentize(.9),o.textColor.transparentize(.85),o.textColor.transparentize(.6),o.textColor.transparentize(.3),o.button.bgColor.transparentize(.9),o.button.bgColor.transparentize(.85),o.button.bgColor.transparentize(.4))}),(e=>{let{theme:{main:t}}=e;return t.bgColor})),i=r.ZP.div.withConfig({componentId:"sc-7d1e9221-1"})(["flex:auto;overflow-y:auto;overflow-x:hidden;max-width:100%;position:relative;display:flex;flex-direction:column;"])},49211:function(e,t,n){"use strict";n.d(t,{W:function(){return h}});var r=n(30298),o=n(52034);function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidCharacterError";var a="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new i("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,a=0,s="";r=t.charAt(a++);~r&&(n=o%4?64*n+r:r,o++%4)?s+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=".indexOf(r);return s};function s(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(a(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return a(t)}}function d(e){this.message=e}d.prototype=new Error,d.prototype.name="InvalidTokenError";var l=function(e,t){if("string"!=typeof e)throw new d("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(s(e.split(".")[n]))}catch(e){throw new d("Invalid token specified: "+e.message)}},c=n(57663);const u=e=>{try{return l(e||(0,c.Gg)())}catch(t){}return{}},h=((0,o.createStore)({isLoaded:!1}),()=>{const[e,t]=(0,r.useState)({isLoaded:!1}),n=(0,r.useCallback)((()=>{t({...u(),isLoaded:!0})}),[t]),o=(0,r.useCallback)((e=>{const n=u(e);t({...n,isLoaded:!0})}),[t]);return(0,r.useEffect)((()=>{n()}),[n]),{...e,updateToken:o,refreshToken:n}})},18893:function(e,t,n){"use strict";n.d(t,{Ag:function(){return r},Gi:function(){return s},ID:function(){return o},M9:function(){return a},zQ:function(){return i}});const r="td-checkout-token",o="td-checkout-track-login",i="td-checkout-lang",a="/tickets",s="pagarme"},57663:function(e,t,n){"use strict";n.d(t,{Gg:function(){return s},KY:function(){return a}});var r=n(83977),o=n(56015),i=n(18893);const a=(e,t)=>{const n={maxAge:604800,sameSite:"none",secure:true,...t};(0,r.setCookie)(i.Ag,e,n),(0,r.setCookie)(o.k,e,n)},s=e=>{const t={...e},n=(0,r.getCookie)(i.Ag,t);return(0,r.hasCookie)(o.k,t)||(0,r.setCookie)(o.k,n,t),n}}},function(e){e.O(0,[7856,2854,7360,3960,5119,7791,6363,8453,7062,1489,1422,3991,2662,5102,2202,1744],(function(){return t=30866,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.