PageSourceSearch

https://www.clickbus.com.br/_next/static/chunks/pages/clube-de-beneficios/sucesso-0a0189e35ad7a1bc.js

js clickbus.com.br collected 2026-10-01 12:10:43 UTC 24,319 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7465],{3982:(e,n,t)=>{"use strict";t.d(n,{E:()=>o});var r=t(7765);t(15977);var i=t(17148);let o=e=>{let{width:n,height:t,color:o,...l}=e,s=o||"currentColor";return(0,r.jsxs)(i.zP,{width:n||i.Ui,height:t||i.Pb,viewBox:"0 0 21 20",fill:s,xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5013 2.91663C6.59547 2.91663 3.41797 6.09413 3.41797 9.99996C3.41797 13.9058 6.59547 17.0833 10.5013 17.0833C14.4071 17.0833 17.5846 13.9058 17.5846 9.99996C17.5846 6.09413 14.4071 2.91663 10.5013 2.91663ZM10.5013 18.3333C5.9063 18.3333 2.16797 14.595 2.16797 9.99996C2.16797 5.40496 5.9063 1.66663 10.5013 1.66663C15.0963 1.66663 18.8346 5.40496 18.8346 9.99996C18.8346 14.595 15.0963 18.3333 10.5013 18.3333Z",fill:s}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6215 12.6164C12.4615 12.6164 12.3015 12.5556 12.1798 12.4331L8.18313 8.4356C7.93896 8.19143 7.93896 7.79643 8.18313 7.55227C8.42813 7.3081 8.82313 7.3081 9.06646 7.55227L13.0631 11.5498C13.3073 11.7939 13.3073 12.1889 13.0631 12.4331C12.9415 12.5556 12.7806 12.6164 12.6215 12.6164Z",fill:s}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.9988 11.9911C7.9988 11.8311 8.05964 11.6711 8.18214 11.5494L12.1796 7.55275C12.4238 7.30859 12.8188 7.30859 13.063 7.55275C13.3071 7.79775 13.3071 8.19275 13.063 8.43609L9.06547 12.4328C8.8213 12.6769 8.4263 12.6769 8.18214 12.4328C8.05964 12.3111 7.9988 12.1503 7.9988 11.9911Z",fill:s})]})}},9184:(e,n,t)=>{"use strict";t.d(n,{X:()=>r});let r={PAGE_LOAD:"benefits_club_page",BUY_COUPONS_POPUP_VIEWED:"buyCouponsPopupViewed",BUY_COUPONS_POPUP_CLICKED:"buyCouponsPopupClicked",BUY_COUPONS_SCREEN:"buyCouponsScreen",BUY_COUPONS_CONTINUE_CLICKED:"buyCouponsContinueClicked",BUY_VIEW_CLUB_SIGNATURE_TYPE:"viewClubSignatureType",BUY_CLUB_CHECKOUT_PAYER:"clubCheckoutPayer",BUY_CLUB_CHECKOUT_PAYMENT:"clubCheckoutPayment",BUY_OPEN_3DS_CHALLENGE_BENEFITS_CLUB:"open3dsChallengBenefitsClub",BUY_CLUB_NEW_PURCHASE_FLUX:{SINGLE:"single_purchase",RECURRENT:"recurrent_purchase"},BUY_COUPONS_CHECKOUT_SCREEN:"buyCouponsCheckoutScreen",BUY_COUPONS_PAYMENT_FAILED:"buyCouponsPaymentFailed",BUY_COUPONS_PAYMENT_TRY_AGAIN:"buyCouponsPaymentTryAgain",BUY_COUPONS_PAYMENT_SUCCESS:"buyCouponsPaymentSuccess",BUY_COUPONS_PAYMENT_SUCCESS_COPY_COUPON:"buyCouponsPaymentSuccessCopyCoupon",BUY_COUPONS_PAYMENT_SUCCESS_SEE_MORE_COUPONS:"buyCouponsPaymentSuccessSeeMoreCoupons",BUY_COUPONS_PAYMENT_SUCCESS_SEARCH_TRIPS:"buyCouponsPaymentSuccessSearchTrips",BUY_COUPONS_TEST_A_B_TRUE:"buyCouponsTrue",BUY_COUPONS_IN_TRIP:"buyCuponsInTrip",BUY_COUPONS_CHECKOUT_SEE_ALL_BENEFITS:"buyCouponsCheckoutSeeAllBenefits",ACTIVATE_CLUB_GIFT_CARD:"activateClubGiftCard",INVALID_CLUB_GIFT_CARD_CODE:"invalidClubGiftCardCode",ERROR_ACTIVATE_CLUB_GIFT_CARD:"errorActivateClubGiftCard"}},10867:(e,n,t)=>{"use strict";t.d(n,{D:()=>r});let r=async e=>{if("clipboard"in navigator)return await navigator.clipboard.writeText(e)}},13034:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/clube-de-beneficios/sucesso",function(){return t(68428)}])},21410:(e,n,t)=>{"use strict";t.d(n,{s:()=>s});var r=t(51588),i=t(13437),o=t(84521),l=t(9184);let s=(e,n,t)=>(0,r.QY)({event:n,pageType:l.X.PAGE_LOAD,store:e,data:{clubVersion:i.uW.get(o.BR)?l.X.BUY_CLUB_NEW_PURCHASE_FLUX.RECURRENT:l.X.BUY_CLUB_NEW_PURCHASE_FLUX.SINGLE,...t}})},39457:(e,n,t)=>{"use strict";t.d(n,{A:()=>l,b:()=>o});var r=t(7765);t(15977);var i=t(17148);let o=e=>{let{width:n,height:t,color:o,...l}=e;return(0,r.jsxs)(i.zP,{width:n||i.Ui,height:t||i.Pb,viewBox:"0 0 24 24",fill:o||"currentColor",xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:o||"currentColor",d:"M18 4.5H11C10.1716 4.5 9.5 5.17157 9.5 6V15C9.5 15.8284 10.1716 16.5 11 16.5H18C18.8284 16.5 19.5 15.8284 19.5 15V6C19.5 5.17157 18.8284 4.5 18 4.5ZM11 3C9.34315 3 8 4.34315 8 6V15C8 16.6569 9.34315 18 11 18H18C19.6569 18 21 16.6569 21 15V6C21 4.34315 19.6569 3 18 3H11Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:o||"currentColor",d:"M8 6C6.34315 6 5 7.34315 5 9V18C5 19.6569 6.34315 21 8 21H15C16.6569 21 18 19.6569 18 18V16.7746C17.5869 17.1443 17.0708 17.4012 16.5 17.497V18C16.5 18.8284 15.8284 19.5 15 19.5H8C7.17157 19.5 6.5 18.8284 6.5 18V9C6.5 8.17157 7.17157 7.5 8 7.5V6Z"})]})},l=o},49788:(e,n,t)=>{"use strict";t.d(n,{y:()=>f,A:()=>C});var r=t(7765),i=t(73282),o=t(3982),l=t(63738),s=t(95910),u=t(26244);let a=(0,u.I4)("div",{width:"100%",minHeight:"$6",display:"flex",alignItems:"stretch",borderRadius:"$sm",border:"1px solid",backgroundColor:"$neutralWhite100",variants:{kind:{info:{borderColor:"$info500"},success:{borderColor:"$success500"},warning:{borderColor:"$warning500"},error:{borderColor:"$error500"},black:{padding:"$16px",gap:"$8px",borderColor:"#000000A6",backgroundColor:"#000000A6"}},floating:{true:{position:"fixed",top:"94px",right:"max(16px, calc((100vw - 1200px) / 2 + 16px))",width:"max-content",maxWidth:"min(90vw, 400px)",backdropFilter:"blur(10px)",zIndex:1e3,"@sm":{top:"130px",right:"auto",left:"50%",transform:"translateX(-50%)"}}}}}),d=(0,u.I4)("div",{width:"$6",minHeight:"42px",display:"flex",alignItems:"center",justifyContent:"flex-start",borderRadius:"6px 0 0 6px",padding:"$10px",variants:{kind:{info:{backgroundColor:"$info500"},success:{backgroundColor:"$success500"},warning:{backgroundColor:"$warning500"},error:{backgroundColor:"$error500"},black:{backgroundColor:"unset",width:"24px",minHeight:"24px",padding:"0",borderRadius:"0"}}}}),c=(0,u.I4)("div",{width:"100%",display:"flex",alignItems:"center",padding:"$10px $12px $10px $16px","& svg":{cursor:"pointer",marginLeft:"$16px"},variants:{isBlack:{true:{padding:"0"}}}}),p=(0,u.I4)("div",{flex:1,variants:{isBlack:{true:{color:"$neutralWhite100",fontSize:"$xxxs",lineHeight:"$18px",whiteSpace:"nowrap"}}}}),x=(0,u.I4)("span",{fontSize:"$xxxs",fontWeight:"600",textDecoration:"underline",lineHeight:"140%",color:"$neutralWhite100",marginLeft:"$16px",cursor:"pointer"}),f=e=>{let{visible:n,setVisible:t,kind:u,text:f,textClose:C,icon:h,floating:_}=e;if(!n)return null;let g={info:s.a,success:i.i,error:o.E,warning:s.a,black:s.a},b=null!=h?h:g[u],m="warning"===u?"rotate(180deg)":"";return(0,r.jsxs)(a,{kind:u,floating:_,"data-testid":"toast-alert",children:[(0,r.jsx)(d,{kind:u,"data-testid":"kind-".concat(u),children:(0,r.jsx)(b,{width:"24px",height:"24px",color:"#FFFFFF",transform:m})}),(0,r.jsxs)(c,{isBlack:"black"===u,children:[(0,r.jsx)(p,{isBlack:"black"===u,children:f}),t&&(C?(0,r.jsx)(x,{onClick:t,children:C}):(0,r.jsx)(l.g,{onClick:()=>t(),"data-testid":"close-icon"}))]})]})},C=f},68428:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>ew,default:()=>eS});
1var r=t(7765),i=t(87880),o=t(15977),l=t(26838),s=t.n(l),u=t(65959),a=t(91729),d=t(49788),c=t(88263),p=t(1594),x=t(59734),f=t(13437),C=t(51509),h=t(9184),_=t(21410),g=t(57886),b=t(86104),m=t(39457),v=t(10867),w=t(12584),S=t(8339);function U(){let e=(0,w._)(["\n  position: relative;\n  width: 100%;\n"]);return U=function(){return e},e}function E(){let e=(0,w._)(["\n  position: absolute;\n  right: 0;\n  top: -",";\n  border-radius: "," ",";\n  padding: "," "," ",";\n  font-size: ",";\n  font-weight: bold;\n  background-color: ",";\n"]);return E=function(){return e},e}function y(){let e=(0,w._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  background-color: ",";\n  border-radius: ",";\n  box-shadow: ",";\n  gap: ",";\n"]);return y=function(){return e},e}function j(){let e=(0,w._)(["\n  width: 100%;\n  display: flex;\n  flex-direction: row;\n  gap: ",";\n  padding: "," "," 0;\n"]);return j=function(){return e},e}function P(){let e=(0,w._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n"]);return P=function(){return e},e}function k(){let e=(0,w._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n"]);return k=function(){return e},e}function I(){let e=(0,w._)(["\n  font-size: ",";\n  font-weight: bold;\n  color: ",";\n"]);return I=function(){return e},e}function z(){let e=(0,w._)(["\n  font-size: ",";\n  color: ",";\n  font-weight: 400;\n"]);return z=function(){return e},e}function O(){let e=(0,w._)(["\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n"]);return O=function(){return e},e}function R(){let e=(0,w._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n  width: 100%;\n  padding: 0px ",";\n  ",";\n  ",";\n"]);return R=function(){return e},e}function T(){let e=(0,w._)(["\n  font-size: ",";\n"]);return T=function(){return e},e}function N(){let e=(0,w._)(["\n  width: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: ",";\n  font-weight: 600;\n  margin-bottom: ",";\n  background-color: ",";\n  color: ",";\n  border: none;\n  padding: "," 0;\n  font-size: ",";\n  border-radius: ",";\n\n  &:active {\n    color: ",";\n    background-color: ",";\n  }\n"]);return N=function(){return e},e}function A(){let e=(0,w._)(["\n  font-size: ",";\n  color: ",";\n  border-top: 1px solid ",";\n  padding: 24px 16px 16px;\n"]);return A=function(){return e},e}let B=S.I4.div(U()),L=S.I4.div(E(),e=>{let{theme:n}=e;return n.sizes["24px"]},e=>{let{theme:n}=e;return n.sizes["8px"]},e=>{let{theme:n}=e;return n.sizes["8px"]},e=>{let{theme:n}=e;return n.sizes["4px"]},e=>{let{theme:n}=e;return n.sizes["8px"]},e=>{let{theme:n}=e;return n.sizes["26px"]},e=>{let{theme:n}=e;return n.sizes["10px"]},e=>{let{theme:n}=e;return n.colors.secondary[500]}),Y=S.I4.div(y(),e=>{let{theme:n}=e;return n.colors.white},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.shadows.md},e=>{let{theme:n}=e;return n.sizes["24px"]}),M=S.I4.div(j(),e=>{let{theme:n}=e;return n.sizes["6px"]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.sizes["16px"]}),$=S.I4.div(P()),D=S.I4.div(k(),e=>{let{theme:n}=e;return n.sizes["4px"]}),H=S.I4.span(I(),e=>{let{theme:n}=e;return n.sizes["12px"]},e=>{let{theme:n}=e;return n.colors.black}),F=S.I4.span(z(),e=>{let{theme:n}=e;return n.sizes["10px"]},e=>{let{theme:n}=e;return n.colors.neutralBlack[300]}),W=S.I4.div(O()),V=S.I4.div(R(),e=>{let{theme:n}=e;return n.sizes["8px"]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.sizes["24px"]},e=>{let{theme:n}=e;return n.sizes["16px"]}),Z=S.I4.span(T(),e=>{let{theme:n}=e;return n.fontSizes.sm}),X=S.I4.button(N(),e=>{let{theme:n}=e;return n.sizes["8px"]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.colors.neutralWhite[300]},e=>{let{theme:n}=e;return n.colors.primary[500]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.sizes["14px"]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.colors.neutralWhite[300]},e=>{let{theme:n}=e;return n.colors.primary[500]}),G=S.I4.p(A(),e=>{let{theme:n}=e;return n.fontSizes.xsm},e=>{let{theme:n}=e;return n.colors.neutralBlack[300]},e=>{let{theme:n}=e;return n.colors.neutralWhite[400]}),K=e=>{let{couponCode:n,expirationDate:t,hasCopied:i,onCopy:o,index:l}=e;if(!n||!t)return null;let s=0===l,{cms:{content:{successPage:u}},pageData:{purchaseVouchers:a},whitelabel:d}=(0,c.S)();if(!u)return null;let p=a.voucherPercentage?u.couponsOffPercentage:u.couponsOff;return(0,r.jsxs)(B,{"data-testid":"coupon-card",children:[s&&(0,r.jsx)(L,{"data-testid":"label-call-to-app",children:u.labelCallToApp}),(0,r.jsxs)(Y,{"data-testid":"my-coupon-card",children:[(0,r.jsxs)(M,{"data-testid":"coupon-card-header",children:[(0,r.jsx)($,{children:(0,r.jsx)(g.A,{height:"24px",width:"24px","data-testid":"icon-benefitsClub"})}),(0,r.jsxs)(D,{children:[(0,r.jsx)(H,{children:(0,x.p)(p,{...a})}),(0,r.jsx)(F,{children:(0,x.p)(u.couponDeadline,{date:t})})]})]}),(0,r.jsxs)(W,{"data-testid":"coupon-card-footer",children:[(0,r.jsxs)(V,{children:[(0,r.jsx)(Z,{children:u.copyPaste}),(0,r.jsx)(X,{onClick:()=>void((0,_.s)(d.name,h.X.BUY_COUPONS_PAYMENT_SUCCESS_COPY_COUPON,{coupon:n}),(0,v.D)(n),null==o||o(n)),"data-testid":"copy-voucher-button",children:i?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{width:"24px",height:"24px"}),u.copiedText]}):(0,r.jsxs)(r.Fragment,{children:[n,(0,r.jsx)(m.A,{width:"24px",height:"24px"})]})})]}),s&&(0,r.jsx)(G,{dangerouslySetInnerHTML:{__html:(0,x.p)(u.alertPurchase,{email:a.email})},"data-testid":"coupon-card-alert"})]})]})]})};function q(){let e=(0,w._)(["\n  z-index: 2;\n  width: 100%;\n  padding: 16px;\n  top: 58px;\n  right: unset;\n  position: fixed;\n\n  @media (min-width: 600px) {\n    width: fit-content;\n    top: 81px;\n    right: 8px;\n  }\n"]);return q=function(){return e},e}function Q(){let e=(0,w._)(["\n  width: 100%;\n  overflow: hidden;\n  background-color: ",";\n  padding: "," 0 0;\n\n  @media (max-width: ",") {\n    padding-top: ",";\n    border-radius: ",";\n  }\n"]);return Q=function(){return e},e}function J(){let e=(0,w._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 100%;\n  background-color: ",";\n  gap: ",";\n  padding-bottom: ",";\n\n  @media (max-width: ",") {\n    padding: ",";\n  }\n"]);return J=function(){return e},e}function ee(){let e=(0,w._)(["\n  margin: 0 auto;\n  max-width: 380px;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  gap: ",";\n\n  @media (max-width: ",") {\n    max-width: 100%;\n    padding: 0 ",";\n  }\n"]);return ee=function(){return e},e}function en(){let e=(0,w._)(["\n  color: ",";\n  font-size: ",";\n  text-align: center;\n  font-weight: bold;\n  width: 100%;\n\n  @media (max-width: ",") {\n    font-size: ",";\n  }\n"]);return en=function(){return e},e}function et(){let e=(0,w._)(["\n  color: ",";\n  font-weight: 400;\n  text-align: center;\n  font-size: ",";\n\n  @media (max-width: ",") {\n    font-size: ",";\n  }\n"]);return et=function(){return e},e}function er(){let e=(0,w._)(["\n  width: 100%;\n  position: relative;\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  box-shadow: ",";\n  margin-top: -20px;\n\n  &::before {\n    content: '';\n    width: 90%;\n    height: 800px;\n    z-index: 0;\n    left: 50%;\n    top: 100px;\n    position: absolute;\n    border-radius: 50%;\n    background-color: ",";\n    transform: translateX(-50%);\n  }\n\n  @media (max-width: ",") {\n    &::before {\n      width: 160%;\n    }\n  }\n"]);return er=function(){return e},e}function ei(){let e=(0,w._)(["\n  width: 340px;\n  height: 340px;\n  margin-bottom: -130px;\n  position: relative;\n  transform: rotate(6deg);\n\n  @media (max-width: ",") {\n    transform: rotate(336deg);\n  }\n"]);return ei=function(){return e},e}function eo(){let e=(0,w._)(["\n  position: relative;\n  color: ",";\n  font-size: ",";\n  text-align: center;\n  z-index: 2;\n"]);return eo=function(){return e},e}function el(){let e=(0,w._)(["\n  max-width: 368px;\n  padding: "," 0 0;\n  align-items: center;\n  justify-content: center;\n  position: relative;\n  margin: 0 auto;\n  flex-direction: column;\n  display: flex;\n  gap: ",";\n\n  @media (max-width: ",") {\n    padding: "," 0 0;\n    max-width: 100%;\n  }\n"]);return el=function(){return e},e}function es(){let e=(0,w._)(["\n  position: relative;\n  max-width: 320px;\n  font-weight: 600;\n  width: 100%;\n  padding: 0 ",";\n\n  > a {\n    display: block;\n    width: 100%;\n    text-align: center;\n  }\n\n  @media (max-width: ",") {\n    width: 100%;\n    max-width: 100%;\n  }\n"]);return es=function(){return e},e}let eu=S.I4.div(q()),ea=S.I4.div(Q(),e=>{let{theme:n}=e;return n.colors.tertiary.regular},e=>{let{theme:n}=e;return n.sizes["32px"]},e=>{let{theme:n}=e;return n.breakpoints[0]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.sizes["24px"]}),ed=S.I4.section(J(),e=>{let{theme:n}=e;return n.colors.neutralWhite[200]},e=>{let{theme:n}=e;return n.sizes["32px"]},e=>{let{theme:n}=e;return n.sizes["32px"]},e=>{let{theme:n}=e;return n.breakpoints[0]},e=>{let{theme:n}=e;return n.sizes["16px"]}),ec=S.I4.div(ee(),e=>{let{theme:n}=e;return n.sizes["12px"]},e=>{let{theme:n}=e;return n.breakpoints[0]},e=>{let{theme:n}=e;return n.sizes["16px"]}),ep=S.I4.h2(en(),e=>{let{theme:n}=e;return n.colors.white},e=>{let{theme:n}=e;return n.sizes["24px"]},e=>{let{theme:n}=e;return n.breakpoints[0]},e=>{let{theme:n}=e;return n.sizes["16px"]}),ex=S.I4.h3(et(),e=>{let{theme:n}=e;return n.colors.white},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.breakpoints[0]},e=>{let{theme:n}=e;return n.sizes["12px"]}),ef=S.I4.div(er(),e=>{let{theme:n}=e;return n.shadows.card},e=>{let{theme:n}=e;return n.colors.primary[200]},e=>{let{theme:n}=e;return n.breakpoints[0]}),eC=S.I4.div(ei(),e=>{let{theme:n}=e;return n.breakpoints[0]}),eh=S.I4.p(eo(),e=>{let{theme:n}=e;return n.colors.neutralBlack[300]},e=>{let{theme:n}=e;return n.sizes["12px"]}),e_=S.I4.div(el(),e=>{let{theme:n}=e;return n.sizes["8px"]},e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.breakpoints[0]},e=>{let{theme:n}=e;return n.sizes["16px"]}),eg=S.I4.div(es(),e=>{let{theme:n}=e;return n.sizes["16px"]},e=>{let{theme:n}=e;return n.breakpoints[0]}),eb=()=>{let{pageData:{purchaseVouchers:e},cms:{content:{successPage:n,labels:t}},whitelabel:i,isMobile:l}=(0,c.S)(),{vouchers:g,email:b}=e||{};if(!g||!n)return null;let[m,v]=(0,o.useState)(null),[w,S]=(0,o.useState)(new Set),U=e=>{v(e),S(new Set([e]))},[E,y]=(0,o.useState)(n.buttonLink);return(0,p.Y)(()=>{let e=f.uW.get("origin"),t=f.uW.get("destination");y(e&&t?"".concat(C.Dnh,"/").concat(e.slug,"/").concat(t.slug):n.buttonLink)},[n.buttonLink]),(0,r.jsxs)(ed,{children:[m&&(0,r.jsx)(eu,{children:(0,r.jsx)(d.A,{visible:!!m,setVisible:()=>v(null),kind:"black",text:n.toastText,textClose:n.toastTextClose})}),(0,r.jsxs)(ea,{"data-testid":"header-my-coupons",children:[(0,r.jsxs)(ec,{children:[(0,r.jsx)(u.default,{height:56,width:56,src:n.iconSuccess,alt:n.altIcon}),(0,r.jsx)(ep,{dangerouslySetInnerHTML:{__html:n.title}}),(0,r.jsx)(ex,{dangerouslySetInnerHTML:{__html:(0,x.p)(n.subtitle,{email:b})}})]}),(0,r.jsxs)(ef,{children:[(0,r.jsx)(eC,{children:(0,r.jsx)(u.default,{src:t.bgElements.coupon.img,alt:t.bgElements.coupon.alt,priority:!0,"data-testid":"purchase-summary-image"})}),(0,r.jsx)(eh,{dangerouslySetInnerHTML:{__html:n.couponsInfo}})]})]}),(0,r.jsx)(e_,{"data-testid":"list-my-coupons",children:g.map((e,n)=>{let{voucherCode:t,expirationDate:i}=e;return t&&i?(0,r.jsx)(K,{index:n,couponCode:t,expirationDate:s()(i).format("DD/MM/YY"),isMobile:l,hasCopied:w.has(t),onCopy:U},t):null})}),(0,r.jsx)(eg,{children:(0,r.jsx)(a.A,{as:"a",size:"lg",href:E,onClick:()=>void(0,_.s)(i.name,h.X.BUY_COUPONS_PAYMENT_SUCCESS_SEARCH_TRIPS),"data-testid":"return-to-search-button",children:n.searchTravels})})]})};
1eb.displayName="MyCoupons";var em=t(89753),ev=t(76873),ew=!0;let eS=e=>{let{cms:n,whitelabel:t,pageData:o,user:l,device:s}=e;return(0,r.jsxs)(ev.A,{cms:n,whitelabel:t,pageData:o,user:l,device:s,enabledOneTap:!1,children:[(0,r.jsx)(i.Y,{}),(0,r.jsx)(eb,{}),(0,r.jsx)(em.h,{})]})}},73282:(e,n,t)=>{"use strict";t.d(n,{A:()=>l,i:()=>o});var r=t(7765);t(15977);var i=t(17148);let o=e=>{let{width:n,height:t,color:o,...l}=e;return(0,r.jsxs)(i.zP,{width:n||i.Ui,height:t||i.Pb,viewBox:"0 0 24 24",fill:o||"currentColor",xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5C7.313 3.5 3.5 7.313 3.5 12C3.5 16.687 7.313 20.5 12 20.5C16.687 20.5 20.5 16.687 20.5 12C20.5 7.313 16.687 3.5 12 3.5ZM12 22C6.486 22 2 17.514 2 12C2 6.486 6.486 2 12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8132 15.1229C10.6222 15.1229 10.4292 15.0499 10.2832 14.9029L7.9092 12.5299C7.6162 12.2369 7.6162 11.7629 7.9092 11.4699C8.2022 11.1769 8.6762 11.1769 8.9692 11.4699L10.8132 13.3119L15.0292 9.09695C15.3222 8.80395 15.7962 8.80395 16.0892 9.09695C16.3822 9.38995 16.3822 9.86395 16.0892 10.1569L11.3432 14.9029C11.1972 15.0499 11.0052 15.1229 10.8132 15.1229Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8132 15.1229C10.6222 15.1229 10.4292 15.0499 10.2832 14.9029L7.9092 12.5299C7.6162 12.2369 7.6162 11.7629 7.9092 11.4699C8.2022 11.1769 8.6762 11.1769 8.9692 11.4699L10.8132 13.3119L15.0292 9.09695C15.3222 8.80395 15.7962 8.80395 16.0892 9.09695C16.3822 9.38995 16.3822 9.86395 16.0892 10.1569L11.3432 14.9029C11.1972 15.0499 11.0052 15.1229 10.8132 15.1229Z"})]})},l=o},84521:(e,n,t)=>{"use strict";t.d(n,{BR:()=>p,Dj:()=>d,E$:()=>i,Ff:()=>o,I0:()=>s,KZ:()=>l,Rr:()=>r,Uz:()=>x,Wq:()=>u,li:()=>c,px:()=>a});let r="https://checkout.tunagateway.com",i="/clube-de-beneficios",o="".concat(i,"/checkout"),l="".concat(o,"/transparente"),s="".concat(i,"/sucesso"),u="".concat(i,"/processando"),a="".concat(o,"/validacao"),d="tunastatus-success",c="benefitsClubPurchaseId",p="benefitsClubNewFlux",x={TUNA_EXPIRED:"tunastatus-expired",TUNA_REFUSED:"tunastatus-refused",TUNA_ERROR:"tunastatus-error",CLICKBUS_ERROR:"clickbus-error"}},86104:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var r=t(7765);t(15977);var i=t(17148);let o=e=>{let{width:n,height:t,color:o,...l}=e;return(0,r.jsx)(i.zP,{width:n||i.Ui,height:t||i.Pb,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:(0,r.jsx)("path",{d:"M4 11L9.33333 16L20 6",stroke:o||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},95910:(e,n,t)=>{"use strict";t.d(n,{A:()=>l,a:()=>o});var r=t(7765);t(15977);var i=t(17148);let o=e=>{let{width:n,height:t,color:o,...l}=e;return(0,r.jsxs)(i.zP,{width:n||i.Ui,height:t||i.Pb,viewBox:"0 0 24 24",fill:o||"currentColor",xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5C7.313 3.5 3.5 7.313 3.5 12C3.5 16.687 7.313 20.5 12 20.5C16.687 20.5 20.5 16.687 20.5 12C20.5 7.313 16.687 3.5 12 3.5ZM12 22C6.486 22 2 17.514 2 12C2 6.486 6.486 2 12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9941 16.75C11.5801 16.75 11.2441 16.414 11.2441 16V12C11.2441 11.586 11.5801 11.25 11.9941 11.25C12.4081 11.25 12.7441 11.586 12.7441 12V16C12.7441 16.414 12.4081 16.75 11.9941 16.75Z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9991 9.2041C11.4461 9.2041 10.9941 8.7571 10.9941 8.2041C10.9941 7.6511 11.4371 7.2041 11.9891 7.2041H11.9991C12.5521 7.2041 12.9991 7.6511 12.9991 8.2041C12.9991 8.7571 12.5521 9.2041 11.9991 9.2041Z"})]})},l=o},96907:(e,n,t)=>{var r=0/0,i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt,a="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,d="object"==typeof self&&self&&self.Object===Object&&self,c=a||d||Function("return this")(),p=Object.prototype.toString,x=Math.max,f=Math.min,C=function(){return c.Date.now()};function h(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function _(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||n&&"object"==typeof n&&"[object Symbol]"==p.call(n))return r;if(h(e)){var n,t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var a=l.test(e);return a||s.test(e)?u(e.slice(2),a?2:8):o.test(e)?r:+e}e.exports=function(e,n,t){var r,i,o,l,s,u,a=0,d=!1,c=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(n){var t=r,o=i;return r=i=void 0,a=n,l=e.apply(o,t)}function b(e){var t=e-u,r=e-a;return void 0===u||t>=n||t<0||c&&r>=o}function m(){var e,t,r,i=C();if(b(i))return v(i);s=setTimeout(m,(e=i-u,t=i-a,r=n-e,c?f(r,o-t):r))}function v(e){return(s=void 0,p&&r)?g(e):(r=i=void 0,l)}function w(){var e,t=C(),o=b(t);
1if(r=arguments,i=this,u=t,o){if(void 0===s)return a=e=u,s=setTimeout(m,n),d?g(e):l;if(c)return s=setTimeout(m,n),g(u)}return void 0===s&&(s=setTimeout(m,n)),l}return n=_(n)||0,h(t)&&(d=!!t.leading,o=(c="maxWait"in t)?x(_(t.maxWait)||0,n):o,p="trailing"in t?!!t.trailing:p),w.cancel=function(){void 0!==s&&clearTimeout(s),a=0,r=u=i=s=void 0},w.flush=function(){return void 0===s?l:v(C())},w}}},e=>{e.O(0,[8,8705,1116,9270,8593,2925,6889,2077,7880,9753,636,6593,8792],()=>e(e.s=13034)),_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.