PageSourceSearch

https://02rekkari.fi/_next/static/chunks/pages/en/payment-success-cbb2ebaac2e88d44.js

js 02rekkari.fi collected 2026-10-08 10:14:15 UTC 2,275 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5894],{73221:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/en/payment-success",function(){return t(23666)}])},23666:function(e,n,t){"use strict";t.r(n);var r=t(25100);n.default=r.default},25100:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return m}});var r=t(47568),i=t(99534),u=t(828),o=t(10092),c=t(85893),a=t(67294),s=t(53962),l=t(6698),d=t(2804),v=t(39554),f=t(44866),p=t(26369),h=t(7368),y=t(86269),_=t(45078),w=t(78470);function m(){var e,n=(0,u.Z)((0,d.useRecoilState)(h.Ux),1)[0],t=(0,u.Z)((0,d.useRecoilState)(h.Ju),1)[0],m=(0,w.a)().refreshUser,E=(0,v.y)(),k=(0,_.C)().setLayoutWithDefaults,Z=new URLSearchParams(window.location.search),b={},x=!0,N=!1,C=void 0;try{for(var R,S=Z.entries()[Symbol.iterator]();!(x=(R=S.next()).done);x=!0){var U=R.value;b[U[0]]=U[1]}}catch(q){N=!0,C=q}finally{try{x||null==S.return||S.return()}finally{if(N)throw C}}b.type;var P=b.product,j=b.purchase,L=(0,i.Z)(b,["type","product","purchase"]),O=null===n||void 0===n||null===(e=n.bundles)||void 0===e?void 0:e.find((function(e){return e.id===P})),g=function(){var e=(0,r.Z)((function(){var e;return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,p.Z)({endpoint:"/payment/success",params:L})];case 1:return!(null===(e=n.sent())||void 0===e?void 0:e.error)&&j&&((0,y.Kz)(f.Z.analytics.EventName.PURCHASE,{currency:"EUR",value:null===O||void 0===O?void 0:O.price,net_value:(null===O||void 0===O?void 0:O.price)/1.255,product:null===O||void 0===O?void 0:O.id,provider:L["checkout-provider"]||j,items:[{item_id:null===O||void 0===O?void 0:O.id,price:null===O||void 0===O?void 0:O.price,index:1,quantity:1}]}),(0,y.L9)("purchase",(0,y.yq)({bundle:O,paymentMethod:L["checkout-provider"]||j,transactionId:L["checkout-transaction-id"]||(null===t||void 0===t?void 0:t.token)}),{anonymousOnly:!0})),[4,m()];case 2:return n.sent(),E.push("/"),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){k({showFooter:!1}),g()}),[]),(0,c.jsx)(s.Z,{py:4,display:"flex",alignItems:"center",justifyContent:"center",children:(0,c.jsx)(l.Z,{})})}}},function(e){e.O(0,[9774,2888,179],(function(){return n=73221,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.