PageSourceSearch

https://kunduz.com/_next/static/chunks/pages/guestCheckoutV2/success/[planId]-5090d1745f75a1c9.js

js kunduz.com collected 2026-09-24 09:23:16 UTC 6,151 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:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="542894fa-584c-4ed2-9426-56b9e3ebcae7",e._sentryDebugIdIdentifier="sentry-dbid-542894fa-584c-4ed2-9426-56b9e3ebcae7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4245],{16608:(e,t,r)=>{"use strict";r.d(t,{i:()=>c});var n=r(37876),i=r(78814);r(14232);var a=r(37378),s=r.n(a),d=r(16264);let c=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.W,{style:{width:"100%",height:60}}),(0,n.jsxs)("div",{className:s().paymentLayout,children:[(0,n.jsx)("div",{className:s().paymentLeftColumn,children:(0,n.jsx)(d.Xr,{children:(0,n.jsx)(d.vU,{children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{paddingBottom:8},children:(0,n.jsxs)(d.tn,{children:[(0,n.jsx)(i.W,{style:{width:32,height:80}}),(0,n.jsx)(i.W,{style:{width:290,height:80}})]})}),(0,n.jsx)("div",{style:{paddingBottom:8},children:(0,n.jsxs)(d.tn,{children:[(0,n.jsx)(i.W,{style:{width:32,height:80}}),(0,n.jsx)(i.W,{style:{width:290,height:80}})]})}),(0,n.jsx)("div",{style:{paddingBottom:8},children:(0,n.jsxs)(d.tn,{children:[(0,n.jsx)(i.W,{style:{width:32,height:80}}),(0,n.jsx)(i.W,{style:{width:290,height:80}})]})})]})})})}),(0,n.jsxs)("div",{className:s().paymentRightColumn,children:[(0,n.jsx)(i.W,{style:{width:"100%",height:400}}),(0,n.jsx)(i.W,{style:{width:"100%",height:500}})]})]})]})},33658:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/guestCheckoutV2/success/[planId]",function(){return r(80840)}])},38557:(e,t,r)=>{"use strict";r.d(t,{rm:()=>h,dv:()=>g});var n=r(37876),i=r(49655),a=r(14232),s=r(11339),d=r(2233),c=r(89099),l=r(74359),o=r(58405);let u=(0,a.createContext)({}),h=e=>{let{student:t,kunduzApiToken:r,kunduzApiTokenInitialized:h}=(0,d.Us)(),g=(0,c.useRouter)(),m=g.asPath.includes("guestCheckoutV2"),{force3ds:p,dontForce3ds:f,paymentPreferenceState:y,setCardAsCredit:v,setCardAsDebit:_,update3ds:x,sync3dsWithManualPreference:j,updateInstallment:w,setSavedCard:b,payWithNewCard:k,payWithSavedCard:N,updateNewCard:E,paymentProcessStarted:I,paymentProcessFinished:P,savePreExistingPromo:C,saveUserSubmittedPromo:L,clearPromoCode:G,updateCity:T,updateDistrict:S,updateTown:Y,updateFirstName:O,updateLastName:W,updatePhoneNumber:B,updateAddress:D,changeScene:H,updateContactInfo:M,resetContext:R,updatePhysicalBookField:q,updateCraftGateInstallments:V,updateCraftGateBinMetadata:A}=(0,s.mA)(),F=(0,i.J)({token:r||void 0,iso:"tr"==e.lang?"TR":"US"}),{promoCodeLoading:U,redeemPromoCode:X}=function(e,t){let[r,n]=(0,a.useState)(!1);return{redeemPromoCode:async function r(r,i,a,s){n(!0);try{return t?await e.redeemGuestPromoCodev2(r,i,a,s):await e.redeemGuestPromoCode(r,i,a)}finally{n(!1)}},promoCodeLoading:r,clearPromoCode:function(){n(!0),n(!1)}}}(F,m),{packagePrice:z,packagePriceLoading:J,packagePriceError:K}=function(e,t,r,n){let i=!!t,a=n?e.getGuestPackageByIdv2:e.getGuestPackageById,{data:s,error:d,isLoading:c,isRefetching:o,refetch:u}=(0,l.I)({queryKey:["guest package",t,r,n],queryFn:()=>a(t,r),enabled:i,retry:0});return{packagePrice:s,packagePriceLoading:c||o,packagePriceError:d}}(F,g.query.planId,{voucher_code:"user_submitted"===y.promoSource?y.promoCode:void 0,installment:y.installment&&"1"!=y.installment?y.installment:void 0,bank_code:y.craftGateBankCode,commercial:y.craftGateCommercial,provider:y.craftGateProvider,is_debit:y.craftGateIsDebit,bin:m?y.craftGateBin:void 0},m);return(0,a.useEffect)(()=>{k()},[]),(0,a.useEffect)(()=>{H(g.query.step||"summary")},[g.query]),(0,a.useEffect)(()=>{z&&(0,o.w)(null==z?void 0:z.package)===o.N.MONTHLY&&(window.location.href="/checkout/plans/".concat(z.id,"/"))},[z]),(0,a.useEffect)(()=>{var e,t,r;z&&(z.receipt.referral?C(z.receipt.voucher_code,null==(e=z.receipt.referral)?void 0:e.referral_discount_amount,"fixed_amount","referral"):z.receipt.campaign&&C(z.receipt.voucher_code,null==(t=z.re
1ceipt.campaign)?void 0:t.price_discount_value,null==(r=z.receipt.campaign)?void 0:r.price_discount_type,"voucher"))},[z]),(0,n.jsx)(u.Provider,{value:{packageData:{packagePrice:z,packagePriceLoading:J,packagePriceError:K},promoCodeData:{promoCodeLoading:U,redeemPromoCode:X},paymentPreferences:{force3ds:p,dontForce3ds:f,paymentPreferenceState:y,setCardAsCredit:v,setCardAsDebit:_,update3ds:x,sync3dsWithManualPreference:j,updateInstallment:w,setSavedCard:b,payWithNewCard:k,payWithSavedCard:N,updateNewCard:E,paymentProcessStarted:I,paymentProcessFinished:P,savePreExistingPromo:C,saveUserSubmittedPromo:L,clearPromoCode:G,updateCity:T,updateDistrict:S,updateTown:Y,updateFirstName:O,updateLastName:W,updatePhoneNumber:B,updateAddress:D,changeScene:H,updateContactInfo:M,resetContext:R,updatePhysicalBookField:q,updateCraftGateInstallments:V,updateCraftGateBinMetadata:A},paymentApiFunctions:F,lang:e.lang,paymentSuccessId:e.paymentSuccessId,student:t.data,studentLoading:t.loading,studentError:t.error,signedIn:!!r,sessionInitialized:h,isGuestv2:m},children:e.children})},g=()=>(0,a.useContext)(u)},58405:(e,t,r)=>{"use strict";r.d(t,{N:()=>n,w:()=>i});var n=function(e){return e.YEARLY="YEARLY",e.MONTHLY="MONTHLY",e.SINGLE_MONTH="SINGLE_MONTH",e}({});function i(e){if(e)return e.academic_year?"YEARLY":e.is_recurring?"MONTHLY":"SINGLE_MONTH"}},80840:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>i,default:()=>a});var n=r(91521),i=!0;let a=n.V},91521:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(37876),i=r(18847),a=r.n(i),s=r(62867),d=r(38557),c=r(16608);let l=a()(()=>Promise.all([r.e(5519),r.e(5403),r.e(8230),r.e(2090),r.e(7556),r.e(109)]).then(r.bind(r,50109)),{loadableGenerated:{webpack:()=>[50109]},ssr:!1,loading:()=>(0,n.jsx)(c.i,{})}),o=()=>{var e,t;let{packageData:r}=(0,d.dv)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.bV,{noindex:!0,title:null==r||null==(t=r.packagePrice)||null==(e=t.package)?void 0:e.name}),(0,n.jsx)(l,{})]})};o.getLayout=function(e){return(0,n.jsx)(d.rm,{lang:e.props.lang,children:e})}}},e=>{e.O(0,[3764,9473,636,6593,8792],()=>e(e.s=33658)),_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.