PageSourceSearch

https://tinder.com/static/build/chunks/async-incentives-feature-04ed5de9b0141cdda423.js

js tinder.com collected 2026-10-01 08:49:43 UTC 9,379 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"7.36.2"};var i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="f3dde213-cf53-4b47-8fe2-434d652de8c3",e._sentryDebugIdIdentifier="sentry-dbid-f3dde213-cf53-4b47-8fe2-434d652de8c3")}catch(e){}}(),(globalThis.webpackChunktinderweb=globalThis.webpackChunktinderweb||[]).push([[13517],{985079(e,i,r){r.d(i,{k:()=>o});const t=(0,r(343545).A)(),o=()=>t.get("clickref")},353517(e,i,r){r.r(i),r.d(i,{getGiftCardEligibilitySaga:()=>H,getIncentiveEligibilitySaga:()=>U,getIncentiveIntroPriceProductSaga:()=>V,parseGiftCardError:()=>z,redeemGiftCardSaga:()=>K,redeemIncentiveIntroPriceSaga:()=>j,redeemIncentiveIntroPriceV2Saga:()=>B,redeemIncentiveSaga:()=>w});var t=r(380834),o=r.n(t),n=r(976705),d=r(816575),c=r(911561),a=r(985079),l=r(872383),y=r(455643),s=r(283908),p=r(549915),I=r(139366),u=r(345333),E=r(229655),g=r(256379),_=r(227126),m=r(267267),C=r(596492),T=r(18041),b=r(864187),f=r(398396),J=r(548054),S=r(562873),N=r(483633),R=r(319308),v=r(655705),h=r(430144),L=r(33132),P=r(244216),A=r(85402),D=r(283274),G=r(668919),k=r(330022);function M(e={}){switch(e.code){case 40001:return v.J1;case 40002:return v.Ql;case 40003:return v.EH;case 40004:return v.Az;case 40005:return v.D;case 40009:return v.Kn;case 40010:return v.VK;case 40011:return v.C7;case 40012:return v.Jh;case 40013:return v.yK;case 40042:return v.cv;case 50001:return v.JU;default:return v._J}}const U=(0,y.Uj)((function*(e){yield(0,n.yJ)((0,C.i5)());const i=e.payload?.promoCode;i||(0,c.A)(!1);const r=(yield(0,n.T1)(yield(0,n.T1)(p.s,I.II,"getIncentiveEligibility"),i)).data;yield(0,n.yJ)((0,C.Gn)(r)),yield(0,n.yJ)((0,E.a$)({attributionId:i??"",attributionSource:r?.campaignName})),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"success",isEligibility:!0}));const t=yield(0,n.Lt)(L.rV),o=yield(0,n.Lt)(T.dl);if(t){(yield(0,n.Lt)(T.X8))?yield(0,n.T1)(V):o||(yield(0,n.T1)(w))}}),{name:"getIncentiveEligibilitySaga",*errorHandler(e){const i=M(e.error);yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"error",promoError:i,isEligibility:!0})),yield(0,n.yJ)((0,C.RR)({error:i,errorCode:e.error?.code}))}}),w=(0,y.Uj)((function*(){yield(0,n.yJ)((0,C.i5)());const e=yield(0,n.Lt)(L.Yi);e||(0,c.A)(!1);const i=(0,a.k)(),r=yield(0,n.Lt)(_.YJ),t=(yield(0,n.Lt)(b.Bb))?k.INCENTIVES_USER_TYPE_NEW:k.INCENTIVES_USER_TYPE_EXISTING,o=(0,d.A)(),l=i?{clickref:i,country:r??"",userType:t}:void 0,y=yield(0,n.T1)(p.s,I.II,"redeemIncentive");yield(0,n.T1)(y,e,o,l),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"success",isEligibility:!1})),yield(0,n.yJ)((0,C.DJ)()),yield(0,n.yJ)((0,S.eO)())}),{name:"redeemIncentiveSaga",*errorHandler(e){const i=M(e.error);yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"error",promoError:i,isEligibility:!1})),yield(0,n.yJ)((0,C.gj)({error:i,errorCode:e.error?.code}))}}),V=(0,y.Uj)((function*(){const e=yield(0,n.Lt)(L.Yi);e||(0,c.A)(!1);const i=yield(0,n.T1)(yield(0,n.T1)(p.s,I.II,"getIncentiveIntroPriceProduct"),e),r=yield(0,l.p0)(i,v.oh);yield(0,n.yJ)((0,C.jC)(r));const t=yield(0,n.Lt)(T.OX);if(t){const{productId:e}=t,i=[t];yield(0,n.yJ)((0,N.y3)({productId:e,products:i,featuresList:[],from:0}))}else yield(0,n.yJ)((0,C.RR)({error:v._J})),yield(0,n.yJ)((0,f.q)(J.cl,{props:{handleCloseModal:(0,C.PI)()}}))}),{name:"getIncentiveIntroPriceProductSaga",*errorHandler(e){const i=M(e.error);yield(0,n.yJ)((0,C.RR)({error:i,errorCode:e.error?.code})),yield(0,n.yJ)((0,f.q)(J.cl,{props:{handleCloseModal:(0,C.PI)()}}))}});function*Y(e){const i=(0,a.k)(),r=yield(0,n.Lt)(_.YJ),t=(yield(0,n.Lt)(b.Bb))?k.INCENTIVES_USER_TYPE_NEW:k.INCENTIVES_USER_TYPE_EXISTING;return e||(i?{clickref:i,country:r??"",userType:t}:void 0)}function*F(e,i,r){const t=yield(0,n.Lt)(h.oo);yield(0,n.T1)(R.getPurchasePaymentMethods),yield(0,n.yJ)((0,C.Cm)(e)),yield(0,n.yJ)((0,S.eO)({inputFields:[u.S]})),yield(0,n.yJ)((0,N.qq)()),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"success",isEligibility:!1}));const o=yield(0,n.Lt)(h.wN),d=yield(0,n.Lt)(h.eB);yield(0,n.yJ)((0,P.s)(D.WG,{action:A.OC,campaignId:i,isIntroPricing:!0,paymentMethod:d,pageType:
1o})),m.KE.includes(r)&&!t&&(yield(0,n.yJ)((0,S.cp)({plus_control:{discoverable_party:"everyone"}})))}const O={*errorHandler(e){const i=e?.error?.error_type;let r="";const t=yield(0,n.Lt)(h.eB);r="incentives"===i?{errorType:M(e.error)}:(0,R.parseError)(e.error,t),yield(0,n.yJ)((0,N.$U)(r)),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"error",promoError:r,isEligibility:!1}));const o=yield(0,n.Lt)(h.wN),d=yield(0,n.Lt)(L.Yi);yield(0,n.yJ)((0,P.s)(D.WG,{action:A.OC,campaignId:d,errorMessage:r,paymentMethod:t,pageType:o,isIntroPricing:!0}))}},j=(0,y.Uj)((function*(e){const i=yield(0,n.Lt)(L.Yi),{productType:r,postData:t,metadata:d}=e.payload;i||(0,c.A)(!1),t||(0,c.A)(!1),o()(t,["code"],i);const a=yield(0,n.T1)(Y,d),l=yield(0,n.T1)(yield(0,n.T1)(p.s,I.II,"redeemIncentiveIntroPrice"),t,a);yield(0,n.T1)(F,l,i,r)}),{name:"redeemIncentiveIntroPriceSaga",...O}),B=(0,y.Uj)((function*(e){const i=yield(0,n.Lt)(L.Yi),r=(0,s.A)(),{productType:t,postData:o,metadata:d}=e.payload;i||(0,c.A)(!1),o||(0,c.A)(!1);const a=yield(0,n.T1)(Y,d),l={code:i,product_id:o.productId,price:o.price,original_price:o.originalPrice,currency:o.currency,email:o.email,return_url:window.location.origin};o.zip&&(l.zip=o.zip),o.encryptedCard?(l.payment_method={type:"scheme",encrypted_card:o.encryptedCard,holder_name:o.cardholderName},l.payment_method_type=o.cardType,l.save_payment_method=o.saveCard):o.storedPaymentMethodId?l.payment_method={type:"scheme",stored_payment_method_id:o.storedPaymentMethodId}:o.cardType&&(l.payment_method={type:"scheme"},l.payment_method_type=o.cardType),o.deviceFingerprint&&(l.device_fingerprint=o.deviceFingerprint),o.brazilCpf&&(l.brazil_cpf=o.brazilCpf);const y=yield(0,n.T1)(yield(0,n.T1)(p.s,I.II,"redeemIncentiveIntroPriceV2"),l,a,r);if(y?.action&&y.tinder_purchase_id&&(y.action?.type===G.I8.REDIRECT||y.action?.type===G.I8.THREE_DS2)){const e={challenge:{tinder_purchase_id:y.tinder_purchase_id}};if(yield(0,n.yJ)((0,N.t0)(e)),yield(0,n.yJ)((0,N.uo)(y.action)),o.productId){const e=yield(0,n.Lt)(T.OX);yield(0,n.yJ)((0,g.e)({pid:y.tinder_purchase_id,cartProductId:o.productId,promoCode:i,incentiveIntroPriceProduct:e}))}return y}yield(0,n.T1)(F,y,i,t)}),{name:"redeemIncentiveIntroPriceV2Saga",...O});function z(e={}){if(e)switch(e.code){case 40002:return v.zc;case 40003:return v.Kn;default:return v._J}}const H=(0,y.Uj)((function*(e){yield(0,n.yJ)((0,C.i5)());const i=e.payload?.cardNumber,r=e.payload?.cardPin;yield(0,n.T1)(yield(0,n.T1)(p.s,I.II,"getGiftCardEligibility"),i,r),yield(0,n.yJ)((0,C.xu)()),yield(0,n.yJ)((0,N.h9)({upsellType:"webDiscountLoginBanner",stopShowingUpsell:!0})),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"success",isEligibility:!0,campaignName:k.GIFT_CARD_CAMPAIGN_NAME})),yield(0,n.yJ)((0,E.a$)({attributionId:i,attributionPin:r,attributionSource:k.GIFT_CARD_CAMPAIGN_NAME}))}),{name:"getGiftCardEligibilitySaga",*errorHandler(e){const i=z(e.error);yield(0,n.yJ)((0,C.i5)()),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"error",promoError:i,isEligibility:!0,campaignName:k.GIFT_CARD_CAMPAIGN_NAME})),yield(0,n.yJ)((0,C.RR)({error:i,errorCode:e.error?.code}))}}),K=(0,y.Uj)((function*(){yield(0,n.yJ)((0,C.i5)());const e=yield(0,n.Lt)(L.K$),i=yield(0,n.Lt)(L.Ak),r=yield(0,n.T1)(yield(0,n.T1)(p.s,I.II,"redeemGiftCard"),e,i);yield(0,n.yJ)((0,C.yQ)(r)),yield(0,n.yJ)((0,C.ON)()),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"success",isEligibility:!1,campaignName:k.GIFT_CARD_CAMPAIGN_NAME}))}),{name:"redeemGiftCardSaga",*errorHandler(e){const i=z(e.error);yield(0,n.yJ)((0,C.i5)()),yield(0,n.yJ)((0,P.s)(D.oe,{promoResponse:"error",promoError:i,isEligibility:!1,campaignName:k.GIFT_CARD_CAMPAIGN_NAME})),yield(0,n.yJ)((0,C.gj)({error:i,errorCode:e.error?.code})),yield(0,n.yJ)((0,C.ON)())}})},326379(e,i,r){r.r(i),r.d(i,{reducer:()=>c});
1var t=r(455753),o=r(199136),n=r(330022),d=r(686806);const c=(0,t.jM)(((e,i)=>{switch(i.type){case n.GIFT_CARD_REDEEM_SUCCESS:e.giftCardDetails=i.payload,e.giftCardSuccess=!0,e.incentiveIsLoading=!1;break;case n.GIFT_CARD_ELIGIBILITY_SUCCESS:e.eligibilityCheckComplete=!0,e.incentiveIsLoading=!1;break;case n.INCENTIVE_ELIGIBILITY_FAILURE:e.incentiveDetails=null,e.eligibilityCheckComplete=!0,e.incentiveError=i.payload,e.incentiveIsLoading=!1,e.isEligibilityFailure=!0;break;case n.CLEAR_ELIGIBILITY:e.incentiveDetails=null,e.eligibilityCheckComplete=!1,e.incentiveError=null,e.incentiveSuccess=!1,e.incentiveIntroPriceProduct=null,e.isEligibilityFailure=!1,e.isRedemptionFailure=!1,e.giftCardDetails=null,e.giftCardSuccess=!1;break;case n.INCENTIVE_REDEEM_ERROR:e.incentiveError=i.payload,e.incentiveIsLoading=!1,e.isRedemptionFailure=!0,e.giftCardDetails=null;break;case n.SET_INCENTIVE_PROMO_SOURCE:e.promoSource=i.payload;break;case n.INCENTIVE_REDEEM_SUCCESS:e.incentiveSuccess=!0,e.incentiveIsLoading=!1;break;case n.INCENTIVE_IS_LOADING:e.incentiveIsLoading=!0;break;case n.INCENTIVE_INTRO_PRICE_PRODUCT_SUCCESS:{const r=i.payload.result??{};e.incentiveIntroPriceProduct=r;break}case n.INCENTIVE_ELIGIBILITY_SUCCESS:e.incentiveDetails=i.payload,e.eligibilityCheckComplete=!0,e.incentiveIsLoading=!1;break;case(0,o.$g)(i.type):return d.default;default:return e}}),d.default)}}]);

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.