PageSourceSearch

https://qudwahindonesia.id/_next/static/chunks/pages/payment/success-257b8cad519b9e91.js

js qudwahindonesia.id collected 2026-10-07 13:07:40 UTC 4,775 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5594],{52293:(e,n,r)=>{"use strict";r.r(n),r.d(n,{__N_SSP:()=>f,default:()=>_});var t=r(37876),a=r(89099),o=r(57894),l=r(13494),i=r(68900),s=r(13010),c=r(14232),u=r(76988),d=r(57186),m=r(98113),h=r(37151);let p=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#ffffff",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#333333",t=(e=>{if(!e||"string"!=typeof e)return null;let n=e.trim().replace(/^#/,"");return/^[0-9a-fA-F]+$/.test(n)?(3===n.length&&(n=n.split("").map(e=>e+e).join("")),8===n.length&&(n=n.slice(0,6)),6!==n.length)?null:{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16)}:null})(e);return t&&((e,n,r)=>{let t=e=>{let n=e/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)};return .2126*t(e)+.7152*t(n)+.0722*t(r)})(t.r,t.g,t.b)>.5?r:n};var v=r(65364),f=!0;let _=e=>{var n,r;let{donationDetailResult:f,programName:_,totalAmount:g,orderId:b}=e,y=(0,a.useRouter)(),{isLoggedIn:x,companyData:k}=(0,l.n)(),{platformDonationSettingData:N}=(0,h.y)(),A=(0,c.useRef)(new Set),j=p(null==N?void 0:N.secondary_color);return(0,c.useEffect)(()=>{let e=Array.isArray(null==f?void 0:f.data)?f.data:[];if(e.length>0){let r=0;for(let t of e){var n;r+=Number(null!=(n=null==t?void 0:t.amount)?n:0)}if(!r||r<=0)return;let t=e[0],a=(null==t?void 0:t.invoice_code)||(0,d.A)(),o="Purchase_".concat(a);if(A.current.has(o))return;A.current.add(o),(0,u.sendGTMEvent)({event:"purchase",value:r,currencyCode:"IDR",transaction_id:null==t?void 0:t.id,invoice_code:null==t?void 0:t.invoice_code,invoice_code_parent:null==t?void 0:t.invoice_code_parent,customer_name:null==t?void 0:t.customer_name,customer_phone:null==t?void 0:t.customer_phone,customer_email:null==t?void 0:t.customer_email,program_name:null==t?void 0:t.program_name,program_id:null==t?void 0:t.program_id});let l=(null==t?void 0:t.customer_email)||"",i=(null==t?void 0:t.customer_phone)||"";window.fbq&&window.fbq("track","Purchase",{value:r,currency:"IDR"},{eventID:o}),(0,m.D)("Purchase",o,{value:r,currency:"IDR"},{email:l,phoneNumber:i},"1604056749972472")}},[f,k]),(0,t.jsxs)("main",{className:"my-0 mx-auto min-h-full max-w-screen-sm overflow-hidden",children:[(0,t.jsx)(i.A,{title:"Pembayaran"}),(0,t.jsx)("main",{className:"center-content-v2",children:(0,t.jsxs)("div",{className:"flex flex-col items-center p-10",children:[(0,t.jsx)("img",{src:s.A.src,width:200,height:200,style:{width:200,height:200,objectFit:"contain"},alt:"Payment Success"}),(0,t.jsx)("span",{className:"mt-5 text-universa-font-color",style:{fontSize:17,fontWeight:700},children:"Pembayaran Berhasil"}),(0,t.jsxs)("span",{className:"mt-5 text-universa-font-color",style:{fontSize:13,fontWeight:400,textAlign:"center"},children:["Pembayaran Anda untuk produk ",(0,t.jsx)("b",{children:_})," dan sebesar"," ",(0,t.jsx)("b",{children:"".concat((0,o.L2)(null!=g?g:0)," ")}
1),"telah berhasil dilakukan."]}),(0,t.jsx)("span",{className:"mt-5 text-universa-font-color",style:{fontSize:13,fontWeight:400,textAlign:"center"},children:"E-Kwitansi akan dikirim melalui Email atau WA"}),(0,t.jsx)("span",{className:"mt-5 text-universa-font-color",style:{fontSize:13,fontWeight:400,textAlign:"center"},children:"Bantu kami untuk jadi lebih baik yuk! dengan klik tombol dibawah ini."}),(0,t.jsx)("span",{className:"bg-secondary-color hover:bg-orange-500 font-semibold py-2 px-4 border-2 border-universa-orange hover:border-transparent rounded mt-5 cursor-pointer",style:{color:j},onClick:e=>{e.preventDefault(),y.push("/feedback?order_id=".concat(b,"&result=true"))},children:"Klik Disini"}),(0,t.jsx)("span",{className:"mt-5 text-universa-font-color",style:{fontSize:13,fontWeight:400,textAlign:"center"},children:"\n              Cek dan ikuti perkembangan produk yang telah Anda ikuti pada menu ".concat(null!=(n=v.env.NEXT_PUBLIC_DONASI_LABEL)?n:"Donasi Saya",".\n            ")}),x?(0,t.jsx)("span",{className:"bg-secondary-color hover:bg-orange-500 font-semibold py-2 px-4 border-2 border-universa-orange hover:border-transparent rounded mt-5 cursor-pointer",style:{color:j},onClick:e=>{e.preventDefault(),"Transaksi"===v.env.NEXT_PUBLIC_DONASI_LABEL?y.push("/transaksi-saya"):y.push("/donasi-saya")},children:null!=(r=v.env.NEXT_PUBLIC_DONASI_LABEL)?r:"Donasi Saya"}):(0,t.jsx)("span",{className:"bg-secondary-color hover:bg-orange-500 font-semibold py-2 px-4 border-2 border-universa-orange hover:border-transparent rounded mt-5 cursor-pointer",style:{color:j},onClick:e=>{e.preventDefault(),y.push("/")},children:"Halaman Utama"})]})})]})}},60292:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment/success",function(){return r(52293)}])}},e=>{e.O(0,[8096,2076,636,8792],()=>e(e.s=60292)),_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.