1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[312],{64192:function(e,a,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/streaming-code-paypal-confirmation",function(){return r(75829)}])},53649:function(e,a,r){"use strict";r.d(a,{Z:function(){return u}});var s=r(10253),t=r(85893),n=r(86010),i=r(67111),l=r(278),o=r(45793),c=r.n(o),d=r(18092),m=r(68451);function u(e){var a=e.children,r=(0,s.Z)((0,l.Z)(),1)[0];return(0,t.jsxs)("div",{className:(0,n.Z)(c().drawer),children:[(0,t.jsx)("input",{id:i.Dfy,type:"checkbox",className:(0,n.Z)("drawer-toggle",c()["drawer-toggle"]),"data-testid":"layout-drawer-toggle"}),(0,t.jsxs)("div",{id:"TopElement",className:(0,n.Z)("drawer-content relative",c()["drawer-content"]),children:[(0,t.jsx)("div",{className:"w-full h-0"}),(0,t.jsx)(m.Z,{drawId:i.Dfy,excludes:["cart","search"]}),(0,t.jsx)("main",{className:"d",children:a})]}),(0,t.jsx)(d.Z,{locale:r})]})}},75829:function(e,a,r){"use strict";r.r(a),r.d(a,{__N_SSG:function(){return u},default:function(){return p}});var s=r(47568),t=r(10253),n=r(97582),i=r(85893),l=r(11163),o=r(67294),c=r(53649),d=r(36377),m=r(278),u=!0;function p(){var e=(0,t.Z)((0,m.Z)(),3),a=(e[0],e[2]),c=(0,l.useRouter)(),u=(0,o.useState)(null),p=u[0],h=u[1],x=(0,o.useState)(!0),f=x[0],g=x[1];return(0,o.useEffect)((function(){var e=function(){var e=(0,s.Z)((function(){var e,a,s,t,i,l,o;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:if(!(e=c.query.data)||Array.isArray(e))return c.replace("/"),[2];n.label=1;case 1:return n.trys.push([1,5,6,7]),[4,r.e(1991).then(r.bind(r,1991))];case 2:return[4,(a=n.sent()).importSPKI(d.QD,"ES256")];case 3:return s=n.sent(),t=decodeURIComponent(e),[4,a.compactVerify(t,s)];case 4:return i=n.sent().payload,l=JSON.parse((new TextDecoder).decode(i)),h(l),[3,7];case 5:return o=n.sent(),console.error("Error verifying JWS or parsing order details:",o),c.replace("/"),[3,7];case 6:return g(!1),[7];case 7:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();c.isReady&&e()}),[c]),f?(0,i.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#FCFAF6]",children:"Loading\u2026"}):p?(0,i.jsx)("div",{className:"min-h-[90vh] flex items-start pt-[10vh] justify-center bg-[#FCFAF6] px-4 text-gray-900",children:(0,i.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl w-full max-w-md p-6",children:[(0,i.jsxs)("div",{className:"flex flex-col items-center mb-6",children:[(0,i.jsx)("div",{className:"p-2 mb-3",children:(0,i.jsx)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M24 4C12.96 4 4 12.96 4 24C4 35.04 12.96 44 24 44C35.04 44 44 35.04 44 24C44 12.96 35.04 4 24 4ZM24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM33.18 15.16L20 28.34L14.82 23.18L12 26L20 34L36 18L33.18 15.16Z",fill:"#007F00"})})}),(0,i.jsx)("h2",{className:"text-2xl font-bold mb-2",children:a(d.GH.streamingCode.paypalConfirmation.thankYou)}),(0,i.jsx)("p",{className:"text-center text-base",children:a(d.GH.streamingCode.paypalConfirmation.paymentSuccess)})]}),(0,i.jsx)("hr",{className:"border-gray-200 mb-5"}),(0,i.jsxs)("div",{className:"mb-6 text-sm",children:[(0,i.jsx)("div",{className:"font-bold mb-2",children:a(d.GH.streamingCode.paypalConfirmation.orderSummary)}),(0,i.jsxs)("div",{className:"grid grid-cols-1 gap-y-1 mb-3 b375:grid-cols-[auto,1fr] b375:items-baseline",children:[(0,i.jsx)("span",{className:"font-bold whitespace-nowrap",children:a(d.GH.streamingCode.paypalConfirmation.item)}),(0,i.jsx)("span",{className:"b375:text-right",children:a(d.GH.streamingCode.paypalConfirmation.streamingCard)})]}),(0,i.jsxs)("div",{className:"grid grid-cols-1 gap-y-1 mb-2 b375:grid-cols-[auto,1fr] b375:items-baseline",children:[(0,i.jsx)("span",{className:"font-bold whitespace-nowrap",children:a(d.GH.streamingCode.paypalConfirmation.total)}),(0,i.jsxs)("span",{className:"b375:text-right",children:["$",Number(p.total).toFixed(2)]})]}),(0,i.jsxs)("div",{className:"grid grid-cols-1 gap-y-1 mb-2 b375:grid-cols-[auto,1fr] b375:items-baseline",children:[(0,i.jsx)("span",{className:"font-bold whitespace-nowrap",children:a(d.GH.streamingCode.paypalConfirmation.orderNumber)}),(0,i.jsx)("span",{className:"break-words b375:text-right",children:p.order_id})]})]}),(0,i.jsx)("hr",{className:"border-gray-200 mb-5"}),(0,i.jsx)("button",{onClick:function(){return c.push("/streaming-code")},className:"w-full bg-[#6D53F7] hover:bg-[#5136ce] text-white text-[clamp(14px,3.6vw,18px)] font-medium rounded-full py-2 mb-4 transition",children:a(d.GH.streamingCode.paypalConfirmation.activateButton)}),(0,i.jsxs)("div",{className:"text-sm text-center",children:[a(d.GH.streamingCode.paypalConfirmation.helpText)," ",(0,i.jsx)("a",{className:"text-[#1691fa] underline",href:"mailto:".concat(a(d.GH.streamingCode.paypalConfirmation.supportEmail)),children:a(d.GH.streamingCode.paypalConfirmation.supportEmail)})]})]})}):null}p.layout=c.Z}},function(e){e.O(0,[5675,3806,1033,1891,4262,9774,2888,179],(function(){return a=64192,e(e.s=a);var a}));var a=e.O();_N_E=a}]);
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.