PageSourceSearch

https://espacodocliente.smartfit.com.br/_next/static/chunks/pages/…/confirmation-16e0a2158797f574.js

js smartfit.com.br collected 2026-10-01 12:03:44 UTC 38,224 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5176],{82701:function(n,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(15109);let o=(0,a.Z)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},13742:function(n,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(15109);let o=(0,a.Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},8971:function(n,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(15109);let o=(0,a.Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},85594:function(n,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(15109);let o=(0,a.Z)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},56989:function(n,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(15109);let o=(0,a.Z)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},30713:function(n,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(15109);let o=(0,a.Z)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},45021:function(n,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/addons/daily_pass/confirmation",function(){return i(70463)}])},18139:function(n,t,i){"use strict";i.d(t,{Zb:function(){return o.Zb},aV:function(){return a.aV},gb:function(){return a.gb}});var a=i(46857),o=i(14134);i(35786)},11600:function(n,t,i){"use strict";i.d(t,{Dr:function(){return getDailyPassPlan},EY:function(){return h},MC:function(){return getCities},Pz:function(){return getStates},UF:function(){return p},eq:function(){return getFilteredLocations},kk:function(){return c.k},l7:function(){return m}});var a,o,s,u=i(11010),l=i(97582),c=i(94807),d=i(11672),f=i(898),getStates=function(n){return Array.from(new Set(n.map(function(n){return n.uf}))).sort().map(function(n){return{label:n,value:n}})},getCities=function(n,t){return Array.from(new Set(t.filter(function(t){return t.uf===n}).map(function(n){return n.city_name}))).sort().map(function(n){return{label:n,value:n}})},getFilteredLocations=function(n,t){return t.filter(function(t){return t.uf===n.state&&t.city_name===n.city}).map(function(n){return{label:n.name,value:String(n.id)}})},p=(a=(0,u._)(function(n){var t,i;return(0,l.Jh)(this,function(a){switch(a.label){case 0:return[4,(0,d.z)({id:n})];case 1:return[2,null!==(i=null==(t=a.sent())?void 0:t.data)&&void 0!==i?i:null]}})}),function(n){return a.apply(this,arguments)}),getDailyPassPlan=function(n){var t;return null!==(t=null==n?void 0:n.passe_diario_membership)&&void 0!==t?t:null},h=(o=(0,u._)(function(n){var t,i,a,o,s;return(0,l.Jh)(this,function(u){switch(u.label){case 0:if(!n)return[2,null];return[4,(0,f.x)(n)];case 1:if(!(null==(i=u.sent())?void 0:i.success))return[2,null];return[2,{allowPixIssue:!!(o=null!==(a=null==i?void 0:null===(t=i.data)||void 0===t?void 0:t.attributes)&&void 0!==a?a:{})["allow-pix-issue"],hasFacialTurnstile:!!o["turnstile-access-face"],operationalStatus:String(null!==(s=o["operational-status"])&&void 0!==s?s:"")}]}})}),function(n){return o.apply(this,arguments)}),m=(s=(0,u._)(function(n){var t;return(0,l.Jh)(this,function(i){switch(i.label){case 0:return[4,h(n)];case 1:return[2,(t=i.sent())?t.hasFacialTurnstile:null]}})}),function(n){return s.apply(this,arguments)})},54258:function(n,t,i){"use strict";i.d(t,{g:function(){return isEligibleForDailyPass}});var a=/black/i,isBlackPlan=function(n){if(!n)return!1;if(null===(i=n.purchase)||void 0===i?void 0:null===(t=i.plan)||void 0===t?void 0:t.black_benefits)return!0;var t,i,o,s,u,l,c,d=null!==(c=null!==(l=null===(o=n.plan)||void 0===o?void 0:o.name)&&void 0!==l?l:null===(u=n.purchase)||void 0===u?void 0:null===(s=u.plan)||void 0===s?void 0:s.name)&&void 0!==c?c:"";return a.test(d)},isEligibleForDailyPass=function(n,t){return!isBlackPlan(n)&&(null==t?void 0:t.dailyPassIsAllowed)!==!1}},70463:function(n,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return X},default:function(){return confirmation}});var a=i(85893),o=i(67294),s=i(91546),u=i(14376),l=i(9008),c=i.n(l),d=i(85594),f=i(82701),p=i(56989),h=i(18139),m=i(65078),g=i(11010),v=i(91309),_=i(97582),b=i(11163),x=i(60369),y=i(36795),k=i(54258),w=i(11600),buildUnitInfoUrl=function(n,t){var i,a=t?t.toString().toLowerCase().trim().normalize("NFD").replace(/[̀-ͯ]/g,"").replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-"):"";if(!n||!a)return"";var o=(0,y.Z)(n),s=null!==(i=null==o?void 0:o.smartSiteUrl)&&void 0!==i?i:"";if(!s)return"";var u=(null==o?void 0:o.countryName)==="brazil"?"academias":"gimnasios";return"".concat(s.replace(/\/$/,""),"/").concat(u,"/").concat(a)},formatAccessPassword=function(n){var t=String(null!=n?n:"").trim();if(!t)return"";var i=t.match(/^(\d{4})-(\d{2})-(\d{2})/);if(i)return"".concat(i[3]).concat(i[2]).concat(i[1].slice(-2));var a=t.replace(/\D/g,"");return 8===a.length?"".concat(a.slice(0,4)).concat(a.slice(-2)):6===a.length?a:""},usePurchaseConfirmation=function(){var n,t,i,a,s,u,l,c,d,f=(0,b.useRouter)(),p=(0,x.mM)(),h=null==p?void 0:null===(n=p.state)||void 0===n?void 0:n.translate,m=null==p?void 0:null===(t=p.state)||void 0===t?void 0:t.user,y=null==p?void 0:null===(i=p.state)||void 0===i?void 0:i.currentLocale,C=null==p?void 0:p.countryConfig,j=null==p?void 0:p.gaMetrics,O=null==p?void 0:null===(s=p.state)||void 0===s?void 0:null===(a=s.session)||void 0===a?void 0:a.userSessionId,S=null==m?void 0:null===(u=m.personal)||void 0===u?void 0:u.country_locale,P=(0,k.g)(m,C),trackClick=function(n){var t,i;return null==j?void 0:null===(i=j.clickEvents)||void 0===i?void 0:null===(t=i.v2)||void 0===t?void 0:t.TriggerAction({action:"passe-diario-confirmacao-compra",label:n})},I=String(null!==(d=f.query.location)&&void 0!==d?d:""),F=formatAccessPassword(null==m?void 0:null===(c=m.personal)||void 0===c?void 0:null===(l=c.personal_group)||void 0===l?void 0:l.birthdate),D=(0,v._)((0,o.useState)(!0),2),M=D[0],L=D[1],E=(0,v._)((0,o.useState)({name:"",address:""}),2),A=E[0],V=E[1],z=(0,v._)((0,o.useState)(null),2),Z=z[0],N=z[1],T=(0,o.useRef)(!1);(0,o.useEffect)(function(){var n,t;!T.current&&y&&(T.current=!0,null==j||null===(t=j.clickEvents)||void 0===t||null===(n=t.v2)||void 0===n||n.ReloadPage({url:"/addons/daily_pass/confirmation",locale:y,userSessionId:O}))},[y,O]),(0,o.useEffect)(function(){!P&&y&&f.replace("/".concat(y,"/addons"))},[y,P,f]),(0,o.useEffect)(function(){if(!I||!S){L(!1);return}var n,t=!0;return(n=(0,g._)(function(){var n,i,a,o;return(0,_.Jh)(this,function(s){switch(s.label){case 0:L(!0),s.label=1;case 1:return s.trys.push([1,4,5,6]),[4,(0,w.kk)({locale:S})];case 2:if(n=s.sent(),!t)return[2];return V({name:null!==(a=null==(i=(Array.isArray(n)?n:[]).find(function(n){return String(n.id)===I}))?void 0:i.name)&&void 0!==a?a:"",address:i?[i.address,i.region,i.city_name,i.uf||i.state_uf].filter(
1Boolean).join(" - "):""}),[4,(0,w.l7)(null==i?void 0:i.acronym)];case 3:return o=s.sent(),t&&N(o),[3,6];case 4:return console.error(s.sent()),[3,6];case 5:return t&&L(!1),[7];case 6:return[2]}})}),function(){return n.apply(this,arguments)})(),function(){t=!1}},[I,S]);var R=buildUnitInfoUrl(y,A.name);return{t:h,isLoading:M,unit:A,unitInfoUrl:R,accessPassword:F,hasFacialTurnstile:null!=Z&&Z,handleFinish:function(){trackClick("voltar-para-o-inicio"),f.push("/".concat(y,"/"))},trackViewDetails:function(){return trackClick("ver-detalhes-da-compra")}}},C=i(82729),j=i(85444);function _templateObject(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ","px;\n  width: 100%;\n  max-width: 480px;\n  margin: 0 auto;\n  padding: ","px 0\n    ","px;\n"]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,C._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  padding: ","px 0;\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ","px;\n\n  svg {\n    flex-shrink: 0;\n    /* Cor definida no design (#2dc87e); n\xe3o h\xe1 token equivalente no ui-app. */\n    color: #2dc87e;\n  }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ","px;\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){var n=(0,C._)(["\n  margin: 0;\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){var n=(0,C._)(["\n  margin: 0;\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ","px;\n  padding: ","px;\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){var n=(0,C._)(["\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){var n=(0,C._)(["\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  letter-spacing: 2px;\n  color: ",";\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ","px;\n  margin: 0;\n  padding: 0;\n  list-style: none;\n"]);return _templateObject9=function(){return n},n}function _templateObject10(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  gap: ","px;\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){var n=(0,C._)(["\n  display: flex;\n  flex-shrink: 0;\n  align-items: center;\n  justify-content: center;\n  width: 24px;\n  height: 24px;\n  border-radius: ","px;\n  background: ",";\n  font-family: ",";\n  font-size: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){var n=(0,C._)(["\n  display: flex;\n  flex: 1;\n  min-width: 0;\n  flex-direction: column;\n  gap: ","px;\n  margin-top: ","px;\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){var n=(0,C._)(["\n  margin: 0;\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject13=function(){return n},n}function _templateObject14(){var n=(0,C._)(["\n  margin: 0;\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject14=function(){return n},n}function _templateObject15(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ","px;\n  margin-top: ","px;\n  padding: ","px;\n  border-radius: ","px;\n  background: ",";\n  text-decoration: none;\n  cursor: pointer;\n  transition: background 0.2s ease;\n\n  &:hover,\n  &:focus-visible {\n    background: ",";\n  }\n"]);
1return _templateObject15=function(){return n},n}function _templateObject16(){var n=(0,C._)(["\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n"]);return _templateObject16=function(){return n},n}function _templateObject17(){var n=(0,C._)(["\n  display: inline-flex;\n  align-items: center;\n  gap: ","px;\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: ",";\n\n  svg {\n    flex-shrink: 0;\n  }\n"]);return _templateObject17=function(){return n},n}function _templateObject18(){var n=(0,C._)(["\n  width: 100%;\n  height: 1px;\n  margin: 0;\n  border: none;\n  background: ",";\n"]);return _templateObject18=function(){return n},n}function _templateObject19(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  gap: ","px;\n  color: ",";\n  margin: ","px 0;\n  margin-bottom: ","px;\n\n  svg {\n    flex-shrink: 0;\n    color: ",";\n  }\n"]);return _templateObject19=function(){return n},n}function _templateObject20(){var n=(0,C._)(["\n  margin: 0;\n  font-family: ",";\n  font-size: ","px;\n  line-height: ","px;\n  font-weight: ",";\n  color: inherit;\n"]);return _templateObject20=function(){return n},n}function _templateObject21(){var n=(0,C._)(["\n  display: flex;\n  flex-direction: column;\n  margin-top: ","px;\n\n  button {\n    width: 100%;\n  }\n"]);return _templateObject21=function(){return n},n}var O=j.ZP.section.withConfig({displayName:"styles__Container",componentId:"sc-2de25184-0"})(_templateObject(),function(n){return n.theme.ds.spacing["600"]},function(n){return n.theme.ds.spacing["600"]},function(n){return n.theme.ds.spacing["1000"]}),S=j.ZP.div.withConfig({displayName:"styles__LoadingWrap",componentId:"sc-2de25184-1"})(_templateObject1(),function(n){return n.theme.ds.spacing["1200"]}),P=j.ZP.header.withConfig({displayName:"styles__Header",componentId:"sc-2de25184-2"})(_templateObject2(),function(n){return n.theme.ds.spacing["600"]}),I=j.ZP.div.withConfig({displayName:"styles__TitleGroup",componentId:"sc-2de25184-3"})(_templateObject3(),function(n){return n.theme.ds.spacing["400"]}),F=j.ZP.h1.withConfig({displayName:"styles__Title",componentId:"sc-2de25184-4"})(_templateObject4(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.ds.fontSize.xl},function(n){return n.theme.ds.lineHeight.xl},function(n){return n.theme.ds.fontWeight.bold},function(n){return n.theme.ds.text.primary}),D=j.ZP.p.withConfig({displayName:"styles__Description",componentId:"sc-2de25184-5"})(_templateObject5(),function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.md},function(n){return n.theme.ds.lineHeight.md},function(n){return n.theme.ds.fontWeight.regular},function(n){return n.theme.ds.text.secondary}),M=j.ZP.div.withConfig({displayName:"styles__PasswordCardContent",componentId:"sc-2de25184-6"})(_templateObject6(),function(n){return n.theme.ds.spacing["400"]},function(n){return n.theme.ds.spacing["200"]}),L=j.ZP.span.withConfig({displayName:"styles__PasswordLabel",componentId:"sc-2de25184-7"})(_templateObject7(),function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.md},function(n){return n.theme.ds.lineHeight.md},function(n){return n.theme.ds.fontWeight.semibold},function(n){return n.theme.ds.text.primary}),E=j.ZP.strong.withConfig({displayName:"styles__PasswordValue",componentId:"sc-2de25184-8"})(_templateObject8(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.ds.fontSize["2xl"]},function(n){return n.theme.ds.lineHeight["2xl"]},function(n){return n.theme.ds.fontWeight.bold},function(n){return n.theme.ds.text.primary}),A=j.ZP.ol.withConfig({displayName:"styles__StepsList",componentId:"sc-2de25184-9"})(_templateObject9(),function(n){return n.theme.ds.spacing["500"]}),V=j.ZP.li.withConfig({displayName:"styles__Step",componentId:"sc-2de25184-10"})(_templateObject10(),function(n){return n.theme.ds.spacing["400"]}),z=j.ZP.span.withConfig({displayName:"styles__StepBadge",componentId:"sc-2de25184-11"})(_templateObject11(),function(n){return n.theme.ds.radii.pill},function(n){return n.theme.ds.bg.brand},function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.sm},function(n){return n.theme.ds.fontWeight.bold},function(n){return n.theme.ds.text.onBrand}),Z=j.ZP.div.withConfig({displayName:"styles__StepContent",componentId:"sc-2de25184-12"}
1)(_templateObject12(),function(n){return n.theme.ds.spacing["200"]},function(n){return n.theme.ds.spacing["400"]}),N=j.ZP.h2.withConfig({displayName:"styles__StepTitle",componentId:"sc-2de25184-13"})(_templateObject13(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.ds.fontSize.md},function(n){return n.theme.ds.lineHeight.md},function(n){return n.theme.ds.fontWeight.bold},function(n){return n.theme.ds.text.primary}),T=j.ZP.p.withConfig({displayName:"styles__StepDescription",componentId:"sc-2de25184-14"})(_templateObject14(),function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.sm},function(n){return n.theme.ds.lineHeight.sm},function(n){return n.theme.ds.fontWeight.regular},function(n){return n.theme.ds.text.secondary}),R=j.ZP.a.withConfig({displayName:"styles__UnitBox",componentId:"sc-2de25184-15"})(_templateObject15(),function(n){return n.theme.ds.spacing["100"]},function(n){return n.theme.ds.spacing["100"]},function(n){return n.theme.ds.spacing["400"]},function(n){return n.theme.ds.radii["200"]},function(n){return n.theme.ds.bg.secondary},function(n){return n.theme.ds.bg.floating}),B=j.ZP.span.withConfig({displayName:"styles__UnitName",componentId:"sc-2de25184-16"})(_templateObject16(),function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.sm},function(n){return n.theme.ds.lineHeight.sm},function(n){return n.theme.ds.fontWeight.medium},function(n){return n.theme.ds.text.primary}),U=j.ZP.span.withConfig({displayName:"styles__MoreInfoLink",componentId:"sc-2de25184-17"})(_templateObject17(),function(n){return n.theme.ds.spacing["100"]},function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.sm},function(n){return n.theme.ds.lineHeight.sm},function(n){return n.theme.ds.fontWeight.semibold},function(n){return n.theme.ds.text.brand}),W=j.ZP.hr.withConfig({displayName:"styles__Divider",componentId:"sc-2de25184-18"})(_templateObject18(),function(n){return n.theme.ds.stroke.tertiary}),q=j.ZP.div.withConfig({displayName:"styles__Notice",componentId:"sc-2de25184-19"})(_templateObject19(),function(n){return n.theme.ds.spacing["400"]},function(n){return n.theme.ds.text.secondary},function(n){return n.theme.ds.spacing["600"]},function(n){return n.theme.ds.spacing["400"]},function(n){return n.theme.ds.text.secondary}),H=j.ZP.p.withConfig({displayName:"styles__NoticeText",componentId:"sc-2de25184-20"})(_templateObject20(),function(n){return n.theme.fonts.default},function(n){return n.theme.ds.fontSize.sm},function(n){return n.theme.ds.lineHeight.sm},function(n){return n.theme.ds.fontWeight.regular}),J=j.ZP.div.withConfig({displayName:"styles__Actions",componentId:"sc-2de25184-21"})(_templateObject21(),function(n){return n.theme.ds.spacing["1000"]}),DailyPass_PurchaseConfirmation=function(){var n=usePurchaseConfirmation(),t=n.t,i=n.isLoading,o=n.unit,s=n.unitInfoUrl,u=n.accessPassword,l=n.hasFacialTurnstile,g=n.handleFinish,v=n.trackViewDetails,_=l?t["Quando chegar na academia, v\xe1 at\xe9 a catraca e utilize o reconhecimento facial para acessar a academia."]:t["Quando chegar na academia, v\xe1 at\xe9 a catraca e insira seu cpf e a senha, que \xe9 sua data de nascimento no formato DD MM AA."];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c(),{children:(0,a.jsxs)("title",{children:[t["Smart Fit"]," - ",t["Espa\xe7o do Cliente"]," -"," ",t["Compra feita com sucesso"]]})}),(0,a.jsx)(O,{children:i?(0,a.jsx)(S,{children:(0,a.jsx)(h.gb,{})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(P,{children:[(0,a.jsx)(d.Z,{size:48,strokeWidth:1.5,"aria-hidden":!0}),(0,a.jsxs)(I,{children:[(0,a.jsx)(F,{children:t["Compra feita com sucesso"]}),(0,a.jsx)(D,{children:t["O comprovante de pagamento ser\xe1 enviado para o seu e-mail"]})]})]}),!l&&u&&(0,a.jsx)(h.Zb,{size:"lg",background:"transparent",border:"solid",children:(0,a.jsxs)(M,{children:[(0,a.jsx)(L,{children:t["Confira abaixo a senha de acesso:"]}),(0,a.jsx)(E,{children:u})]})}),(0,a.jsxs)(A,{children:[(0,a.jsxs)(V,{children:[(0,a.jsx)(z,{"aria-hidden":!0,children:"1"}),(0,a.jsxs)(Z,{children:[(0,a.jsx)(N,{children:t["Aten\xe7\xe3o aos hor\xe1rios"]}),(0,a.jsx)(T,{children:t["Seu passe di\xe1rio \xe9 v\xe1lido at\xe9 23:59h ou at\xe9 o hor\xe1rio de fechamento da unidade que voc\xea escolheu."]}),o.name&&s&&(0,a.jsxs)(R,{href:s,target:"_blank",rel:"noopener noreferrer",onClick:v,children:[(0,a.jsx)(B,{children:o.address?"".concat(o.name," - ").concat(o.address):o.name}),(0,a.jsxs)(U,{children:[t["Mais informa\xe7\xf5es"],(0,a.jsx)(f.Z,{size:16,strokeWidth:2,"aria-hidden":!0})]})]})]})]}),(0,a.jsx)(W,{}
1),(0,a.jsxs)(V,{children:[(0,a.jsx)(z,{"aria-hidden":!0,children:"2"}),(0,a.jsxs)(Z,{children:[(0,a.jsx)(N,{children:t["Acesso na catraca"]}),(0,a.jsx)(T,{children:_})]})]}),(0,a.jsx)(W,{})]}),(0,a.jsxs)(q,{children:[(0,a.jsx)(p.Z,{size:32,strokeWidth:2,"aria-hidden":!0}),(0,a.jsx)(H,{children:t["Seu acesso ser\xe1 liberado para uma vez. Caso necessite entrar e sair mais de uma vez na di\xe1ria, dirija-se ao totem da unidade e cadastre sua digital"]})]}),(0,a.jsx)(J,{children:(0,a.jsx)(m.z,{type:"button",variant:"primary",size:"lg",onClick:g,children:t.Finalizar})})]})})]})},X=!0,confirmation=function(){var n=(0,o.useRef)(null);return(0,a.jsx)(s.Z,{footerRef:n,children:(0,a.jsx)(u.default,{children:(0,a.jsx)(DailyPass_PurchaseConfirmation,{})})})}},898:function(n,t,i){"use strict";i.d(t,{x:function(){return getLocationStatus}});var a=i(11010),o=i(97582),s=i(48303);function getLocationStatus(n){return _getLocationStatus.apply(this,arguments)}function _getLocationStatus(){return(_getLocationStatus=(0,a._)(function(n){return(0,o.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,s.U2)("/api/v1/locations/".concat(n),{}).then(function(n){return null==n?void 0:n.data}).catch(function(n){var t;return null===(t=n.response)||void 0===t?void 0:t.data})];case 1:return[2,t.sent()];case 2:return console.error("An unexpected error happened:",t.sent()),[2];case 3:return[2]}})})).apply(this,arguments)}},11672:function(n,t,i){"use strict";i.d(t,{o:function(){return getCheckoutLocationPlans},z:function(){return getLocationPrices}});var a=i(11010),o=i(97582),s=i(48303);function getLocationPrices(n){return _getLocationPrices.apply(this,arguments)}function _getLocationPrices(){return(_getLocationPrices=(0,a._)(function(n){var t;return(0,o.Jh)(this,function(i){switch(i.label){case 0:t=n.id,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,s.U2)("/api/v1/location-prices/".concat(t),{})];case 2:return[2,i.sent()];case 3:return console.error("An unexpected error happened:",i.sent()),[2];case 4:return[2]}})})).apply(this,arguments)}function getCheckoutLocationPlans(n){return _getCheckoutLocationPlans.apply(this,arguments)}function _getCheckoutLocationPlans(){return(_getCheckoutLocationPlans=(0,a._)(function(n){var t,i;return(0,o.Jh)(this,function(a){switch(a.label){case 0:t=n.id,i=n.code,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,s.U2)("/api/v1/checkout-location-prices/".concat(t),{params:{code:i}}).then(function(n){return null==n?void 0:n.data}).catch(function(n){var t;return null==n?void 0:null===(t=n.response)||void 0===t?void 0:t.data})];case 2:return[2,a.sent()];case 3:return console.error("An unexpected error happened:",a.sent()),[2];case 4:return[2]}})})).apply(this,arguments)}},94807:function(n,t,i){"use strict";i.d(t,{k:function(){return getAvailableLocations}});var a=i(11010),o=i(97582),s=i(48303),u=i(11647);function getAvailableLocations(n){return _getAvailableLocations.apply(this,arguments)}function _getAvailableLocations(){return(_getAvailableLocations=(0,a._)(function(n){var t,i,a,l;return(0,o.Jh)(this,function(o){switch(o.label){case 0:i=void 0===(t=n.locale)?"pt-BR":t,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,(0,s.U2)("/api/v2/locations/available",{params:{locale:i}})];case 2:if(null==(l=null==(a=o.sent())?void 0:a.data)?void 0:l.success)return[2,(0,u.Z)(l)];return[2,l];case 3:return console.error("An unexpected error happened:",o.sent()),[2];case 4:return[2]}})})).apply(this,arguments)}},11647:function(n,t){"use strict";var i=/[-]/g,getAttributes=function(n,t){if(t&&"[object Object]"===Object.prototype.toString.call(t))return Object.keys(t).forEach(function(a){var o=t[a];i.test(a)&&(a=a.replaceAll(i,"_")),n[a]=o}),n},getAttributesFallback=function(n,t){if(t&&"[object Object]"===Object.prototype.toString.call(t))return Object.keys(t).forEach(function(a){var o=t[a],s=a;try{i.test(a)&&(s=a.replace(i,"_"))}catch(n){}n[s]=o}),n};t.Z=function(n){var t=null==n?void 0:n.data;if(t&&Array.isArray(t))return t.map(function(n){var t={id:n.id,type:n.type};try{return getAttributes(t,n.attributes)}catch(i){return getAttributesFallback(t,n.attributes)}})}},9008:function(n,t,i){n.exports=i(79201)},76627:function(n,t,i){n.exports=i(53462)},53462:function(n,t,i){"use strict";var a,o=(a=i(67294))&&"object"==typeof a&&"default"in a?a.default:a,s=i(73935);function _extends(){return(_extends=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n}).apply(this,arguments)}function _assertThisInitialized(n){if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}var invariant_1=function(n,t,i,a,o,s,u,l){if(!n){var c;if(void 0===t)c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[i,a,o,s,u,l],f=0;(c=Error(t.replace(/%s/g,function(){return d[f++]}
vendor: 5,704 bytes, line 1
1))).name="Invariant Violation"}throw c.framesToPop=1,c}};function setInputSelection(n,t,i){if("selectionStart"in n&&"selectionEnd"in n)n.selectionStart=t,n.selectionEnd=i;else{var a=n.createTextRange();a.collapse(!0),a.moveStart("character",t),a.moveEnd("character",i-t),a.select()}}var u={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};function parseMask(n,t,i){var a="",o="",s=null,l=[];if(void 0===t&&(t="_"),null==i&&(i=u),!n||"string"!=typeof n)return{maskChar:t,formatChars:i,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var c=!1;return n.split("").forEach(function(n){c=!c&&"\\"===n||(c||!i[n]?(l.push(a.length),a.length===l.length-1&&(o+=n)):s=a.length+1,a+=n,!1)}),{maskChar:t,formatChars:i,prefix:o,mask:a,lastEditablePosition:s,permanents:l}}function isPermanentCharacter(n,t){return -1!==n.permanents.indexOf(t)}function isAllowedCharacter(n,t,i){var a=n.mask,o=n.formatChars;if(!i)return!1;if(isPermanentCharacter(n,t))return a[t]===i;var s=o[a[t]];return new RegExp(s).test(i)}function isEmpty(n,t){return t.split("").every(function(t,i){return isPermanentCharacter(n,i)||!isAllowedCharacter(n,i,t)})}function getFilledLength(n,t){var i=n.maskChar,a=n.prefix;if(!i){for(;t.length>a.length&&isPermanentCharacter(n,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var o=a.length,s=t.length;s>=a.length;s--){var u=t[s];if(!isPermanentCharacter(n,s)&&isAllowedCharacter(n,s,u)){o=s+1;break}}return o}function isFilled(n,t){return getFilledLength(n,t)===n.mask.length}function formatValue(n,t){var i=n.maskChar,a=n.mask,o=n.prefix;if(!i){for((t=insertString(n,"",t,0)).length<o.length&&(t=o);t.length<a.length&&isPermanentCharacter(n,t.length);)t+=a[t.length];return t}if(t)return insertString(n,formatValue(n,""),t,0);for(var s=0;s<a.length;s++)isPermanentCharacter(n,s)?t+=a[s]:t+=i;return t}function insertString(n,t,i,a){var o=n.mask,s=n.maskChar,u=n.prefix,l=i.split(""),c=isFilled(n,t);return!s&&a>t.length&&(t+=o.slice(t.length,a)),l.every(function(i){for(var l,d;isPermanentCharacter(n,d=a)&&i!==o[d];){if(a>=t.length&&(t+=o[a]),l=a,s&&isPermanentCharacter(n,l)&&i===s)return!0;if(++a>=o.length)return!1}return!isAllowedCharacter(n,a,i)&&i!==s||(a<t.length?t=s||c||a<u.length?t.slice(0,a)+i+t.slice(a+1):formatValue(n,t=t.slice(0,a)+i+t.slice(a)):s||(t+=i),++a<o.length)}),t}function getRightEditablePosition(n,t){for(var i=n.mask,a=t;a<i.length;++a)if(!isPermanentCharacter(n,a))return a;return null}function getStringValue(n){return n||0===n?n+"":""}function isFunction(n){return"function"==typeof n}function getCancelAnimationFrame(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function defer(n){return(getCancelAnimationFrame()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(n,1e3/60)})(n)}function cancelDefer(n){(getCancelAnimationFrame()||clearTimeout)(n)}var l=function(n){function e(t){var i=n.call(this,t)||this;i.focused=!1,i.mounted=!1,i.previousSelection=null,i.selectionDeferId=null,i.saveSelectionLoopDeferId=null,i.saveSelectionLoop=function(){i.previousSelection=i.getSelection(),i.saveSelectionLoopDeferId=defer(i.saveSelectionLoop)},i.runSaveSelectionLoop=function(){null===i.saveSelectionLoopDeferId&&i.saveSelectionLoop()},i.stopSaveSelectionLoop=function(){null!==i.saveSelectionLoopDeferId&&(cancelDefer(i.saveSelectionLoopDeferId),i.saveSelectionLoopDeferId=null,i.previousSelection=null)},i.getInputDOMNode=function(){if(!i.mounted)return null;var n=s.findDOMNode(_assertThisInitialized(_assertThisInitialized(i))),t="undefined"!=typeof window&&n instanceof window.Element;if(n&&!t)return null;if("INPUT"!==n.nodeName&&(n=n.querySelector("input")),!n)throw Error("react-input-mask: inputComponent doesn't contain input node");return n},i.getInputValue=function(){var n=i.getInputDOMNode();return n?n.value:null},i.setInputValue=function(n){var t=i.getInputDOMNode();t&&(i.value=n,t.value=n)},i.setCursorToEnd=function(){var n=getFilledLength(i.maskOptions,i.value),t=getRightEditablePosition(i.maskOptions,n);null!==t&&i.setCursorPosition(t)},i.setSelection=function(n,t,a){void 0===a&&(a={});var o=i.getInputDOMNode(),s=i.isFocused();o&&s&&(a.deferred||setInputSelection(o,n,t),null!==i.selectionDeferId&&cancelDefer(i.selectionDeferId),i.selectionDeferId=defer(function(){i.selectionDeferId=null,setInputSelection(o,n,t)}),i.previousSelection={start:n,end:t,length:Math.abs(t-n)})},i.getSelection=function(){return function(n){var t=0,i=0;if("selectionStart"in n&&"selectionEnd"in n)t=n.selectionStart,i=n.selectionEnd;else{var a=document.selection.createRange();a.parentElement()===n&&(t=-a.moveStart("character",-n.value.length),i=-a.moveEnd("character",-n.value.length))}return{start:t,end:i,length:i-t}}(i.getInputDOMNode())},i.getCursorPosition=function(){return i.getSelection().start},i.setCursorPosition=function(n){i.setSelection(n,n)},i.isFocused=function(){return i.focused},i.getBeforeMaskedValueChangeConfig=function(){var n=i.maskOptions,t=n.mask,a=n.maskChar,o=n.permanents,s=n.formatChars;return{mask:t,maskChar:a,permanents:o,alwaysShowMask:!!i.props.alwaysShowMask,formatChars:s}},i.isInputAutofilled=function(n,t,a,o){var s=i.getInputDOMNode();try{if(s.matches(":-webkit-autofill"))return!0}catch(n){}return!i.focused||o.end<a.length&&t.end===n.length},i.onChange=function(n){var t,a,o,s,u,l,c,d,f,p,h,m,g,v,_,b,x,y,k,w=_assertThisInitialized(_assertThisInitialized(i)).beforePasteState,C=_assertThisInitialized(_assertThisInitialized(i)).previousSelection,j=i.props.beforeMaskedValueChange,O=i.getInputValue(),S=i.value,P=i.getSelection();
1i.isInputAutofilled(O,P,S,C)&&(S=formatValue(i.maskOptions,""),C={start:0,end:0,length:0}),w&&(C=w.selection,S=w.value,P={start:C.start+O.length,end:C.start+O.length,length:0},O=S.slice(0,C.start)+O+S.slice(C.end),i.beforePasteState=null);var I=(t=i.maskOptions,a=O,o=P,s=S,u=C,m=t.mask,g=t.prefix,v=t.lastEditablePosition,_=a,b="",x=0,y=0,k=Math.min(u.start,o.start),o.end>u.start?(l=b=_.slice(u.start,o.end),c=k,d=t.mask,f=t.maskChar,p=l.split(""),h=c,p.every(function(n){for(var i;isPermanentCharacter(t,i=c)&&n!==d[i];)if(++c>=d.length)return!1;return(isAllowedCharacter(t,c,n)||n===f)&&c++,c<d.length}),y=(x=c-h)?u.length:0):_.length<s.length&&(y=s.length-_.length),_=s,y&&(1!==y||u.length||(k=u.start===o.start?getRightEditablePosition(t,o.start):function(n,t){for(var i=t;0<=i;--i)if(!isPermanentCharacter(n,i))return i;return null}(t,o.start)),_=function(n,t,i,a){var o=i+a,s=n.maskChar,u=n.mask,l=n.prefix,c=t.split("");if(s)return c.map(function(t,a){return a<i||o<=a?t:isPermanentCharacter(n,a)?u[a]:s}).join("");for(var d=o;d<c.length;d++)isPermanentCharacter(n,d)&&(c[d]="");return i=Math.max(l.length,i),c.splice(i,o-i),formatValue(n,t=c.join(""))}(t,_,k,y)),_=insertString(t,_,b,k),(k+=x)>=m.length?k=m.length:k<g.length&&!x?k=g.length:k>=g.length&&k<v&&x&&(k=getRightEditablePosition(t,k)),b||(b=null),{value:_=formatValue(t,_),enteredString:b,selection:{start:k,end:k}}),F=I.enteredString,D=I.selection,M=I.value;if(isFunction(j)){var L=j({value:M,selection:D},{value:S,selection:C},F,i.getBeforeMaskedValueChangeConfig());M=L.value,D=L.selection}i.setInputValue(M),isFunction(i.props.onChange)&&i.props.onChange(n),i.isWindowsPhoneBrowser?i.setSelection(D.start,D.end,{deferred:!0}):i.setSelection(D.start,D.end)},i.onFocus=function(n){var t=i.props.beforeMaskedValueChange,a=i.maskOptions,o=a.mask,s=a.prefix;if(i.focused=!0,i.mounted=!0,o){if(i.value)getFilledLength(i.maskOptions,i.value)<i.maskOptions.mask.length&&i.setCursorToEnd();else{var u=formatValue(i.maskOptions,s),l=formatValue(i.maskOptions,u),c=getFilledLength(i.maskOptions,l),d=getRightEditablePosition(i.maskOptions,c),f={start:d,end:d};if(isFunction(t)){var p=t({value:l,selection:f},{value:i.value,selection:null},null,i.getBeforeMaskedValueChangeConfig());l=p.value,f=p.selection}var h=l!==i.getInputValue();h&&i.setInputValue(l),h&&isFunction(i.props.onChange)&&i.props.onChange(n),i.setSelection(f.start,f.end)}i.runSaveSelectionLoop()}isFunction(i.props.onFocus)&&i.props.onFocus(n)},i.onBlur=function(n){var t=i.props.beforeMaskedValueChange,a=i.maskOptions.mask;if(i.stopSaveSelectionLoop(),i.focused=!1,a&&!i.props.alwaysShowMask&&isEmpty(i.maskOptions,i.value)){var o="";isFunction(t)&&(o=t({value:o,selection:null},{value:i.value,selection:i.previousSelection},null,i.getBeforeMaskedValueChangeConfig()).value);var s=o!==i.getInputValue();s&&i.setInputValue(o),s&&isFunction(i.props.onChange)&&i.props.onChange(n)}isFunction(i.props.onBlur)&&i.props.onBlur(n)},i.onMouseDown=function(n){!i.focused&&document.addEventListener&&(i.mouseDownX=n.clientX,i.mouseDownY=n.clientY,i.mouseDownTime=(new Date).getTime(),document.addEventListener("mouseup",function r(n){if(document.removeEventListener("mouseup",r),i.focused){var t=Math.max(Math.abs(n.clientX-i.mouseDownX),Math.abs(n.clientY-i.mouseDownY)),a=(new Date).getTime()-i.mouseDownTime;(t<=10&&a<=200||t<=5&&a<=300)&&i.setCursorToEnd()}})),isFunction(i.props.onMouseDown)&&i.props.onMouseDown(n)},i.onPaste=function(n){isFunction(i.props.onPaste)&&i.props.onPaste(n),n.defaultPrevented||(i.beforePasteState={value:i.getInputValue(),selection:i.getSelection()},i.setInputValue(""))},i.handleRef=function(n){null==i.props.children&&isFunction(i.props.inputRef)&&i.props.inputRef(n)};var a=t.mask,o=t.maskChar,u=t.formatChars,l=t.alwaysShowMask,c=t.beforeMaskedValueChange,d=t.defaultValue,f=t.value;i.maskOptions=parseMask(a,o,u),null==d&&(d=""),null==f&&(f=d);var p=getStringValue(f);if(i.maskOptions.mask&&(l||p)&&(p=formatValue(i.maskOptions,p),isFunction(c))){var h=t.value;null==t.value&&(h=d),p=c({value:p,selection:null},{value:h=getStringValue(h),selection:null},null,i.getBeforeMaskedValueChangeConfig()).value}return i.value=p,i}e.prototype=Object.create(n.prototype),function(n,t){for(var i=Object.getOwnPropertyNames(t),a=0;a<i.length;a++){var o=i[a],s=Object.getOwnPropertyDescriptor(t,o);s&&s.configurable&&void 0===n[o]&&Object.defineProperty(n,o,s)}}(e.prototype.constructor=e,n);var t=e.prototype;return t.componentDidMount=function(){var n;this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=(n=navigator.userAgent,/windows/i.test(n)&&/phone/i.test(n)),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},t.componentDidUpdate=function(){var n=this.previousSelection,t=this.props,i=t.beforeMaskedValueChange,a=t.alwaysShowMask,o=t.mask,s=t.maskChar,u=t.formatChars,l=this.maskOptions,c=a||this.isFocused(),d=null!=this.props.value,f=d?getStringValue(this.props.value):this.value,p=n?
1n.start:null;if(this.maskOptions=parseMask(o,s,u),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var h=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||d||(f=this.getInputValue()),(h||this.maskOptions.mask&&(f||c))&&(f=formatValue(this.maskOptions,f)),h){var m=getFilledLength(this.maskOptions,f);(null===p||m<p)&&(p=isFilled(this.maskOptions,f)?m:getRightEditablePosition(this.maskOptions,m))}!this.maskOptions.mask||!isEmpty(this.maskOptions,f)||c||d&&this.props.value||(f="");var g={start:p,end:p};if(isFunction(i)){var v=i({value:f,selection:g},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());f=v.value,g=v.selection}this.value=f;var _=this.getInputValue()!==this.value;_?(this.setInputValue(this.value),this.forceUpdate()):h&&this.forceUpdate();var b=!1;null!=g.start&&null!=g.end&&(b=!n||n.start!==g.start||n.end!==g.end),(b||_)&&this.setSelection(g.start,g.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},t.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&cancelDefer(this.selectionDeferId),this.stopSaveSelectionLoop()},t.render=function(){var n,t=this.props,i=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),a=function(n,t){if(null==n)return{};var i,a,o={},s=Object.keys(n);for(a=0;a<s.length;a++)0<=t.indexOf(i=s[a])||(o[i]=n[i]);return o}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(i){isFunction(i)||invariant_1(!1);var s=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],u=_extends({},a);s.forEach(function(n){return delete u[n]}),n=i(u),s.filter(function(t){return null!=n.props[t]&&n.props[t]!==a[t]}).length&&invariant_1(!1)}else n=o.createElement("input",_extends({ref:this.handleRef},a));var l={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(a.disabled||a.readOnly||(l.onChange=this.onChange,l.onPaste=this.onPaste,l.onMouseDown=this.onMouseDown),null!=a.value&&(l.value=this.value)),n=o.cloneElement(n,l)},e}(o.Component);n.exports=l}},function(n){n.O(0,[5445,9402,1546,3926,4376,4964,5786,1881,4134,9774,2888,179],function(){return n(n.s=45021)}),_N_E=n.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.