PageSourceSearch

https://tooba.com/assets/PaymentErrorContent-DjdlbZdP.js

js tooba.com collected 2026-09-24 19:09:56 UTC 2,530 bytes, 1 lines download raw bytes

1import{j as r}from"./jsx-runtime-u17CrQMm.js";import{r as l}from"./formatAmount-Di6kWy0M.js";import{R as m}from"./index-Bi6L2ga8.js";import{S as p}from"./StoreBadgesLinks-DDfY9d7-.js";import{u as n}from"./useTranslation-rKX5Tn8h.js";const c=({size:e=48,className:a})=>r.jsx("svg",{className:a,width:e,height:e,viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24ZM24 12.5C24.8284 12.5 25.5 13.1716 25.5 14V26C25.5 26.8284 24.8284 27.5 24 27.5C23.1716 27.5 22.5 26.8284 22.5 26V14C22.5 13.1716 23.1716 12.5 24 12.5ZM24 34C25.1046 34 26 33.1046 26 32C26 30.8954 25.1046 30 24 30C22.8954 30 22 30.8954 22 32C22 33.1046 22.8954 34 24 34Z",fill:"currentColor"})});function d(e){return`/api/v6/links/qr-code?${new URLSearchParams({[e.kind]:String(e.id),front_color:"#00993a",background_color:"transparent",qr_padding:"false"}).toString()}`}const _=({target:e,className:a})=>{const{t:s,i18n:o}=n(),[t,i]=m.useState(!1);return r.jsxs("div",{className:["app-promo",a].filter(Boolean).join(" "),children:[r.jsxs("div",{className:"app-promo__content",children:[r.jsx("p",{className:"app-promo__text",children:s("campaigns.detail.promo.callToAction")}),r.jsx(p,{language:o.language,className:"app-promo__badges",linkClassName:"app-promo__badge-link",badgeClassName:"app-promo__badge-img"})]}),e!=null&&!t&&r.jsx("div",{className:"app-promo__qr","aria-hidden":"true",children:r.jsx("img",{src:d(e),alt:"",className:"app-promo__qr-img",loading:"lazy",onError:()=>i(!0)})})]})},g=({payment:e,onRetry:a,shareTarget:s})=>{const{t:o}=n();return r.jsxs("div",{className:"payment-error__modal",children:[r.jsxs("div",{className:"payment-error__head",children:[r.jsx("h1",{className:"payment-error__title",children:o("payment.error.title")}),r.jsxs("div",{className:"payment-error__info",children:[r.jsx("div",{className:"payment-error__icon-wrap",children:r.jsx(c,{className:"payment-error__icon"})}),r.jsx("p",{className:"payment-error__message",children:e.error_message||o("payment.error.description")})]})]}),r.jsx("hr",{className:"payment-error__separator"}),r.jsx(_,{target:l(e.campaign?.id,e.charity?.id,s)}),r.jsx("button",{type:"button",className:"payment-error__retry",onClick:a,children:o("payment.error.retry")})]})},C=Object.freeze(Object.defineProperty({__proto__:null,PaymentErrorContent:g},Symbol.toStringTag,{value:"Module"}));export{_ as A,g as P,C as 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.