1const r="https://checkout.razorpay.com/v1/checkout.js",o={card:{icon:"razorpay",label:()=>wp.i18n.__("Credit Card","surecart")},upi:{icon:"upi",label:()=>wp.i18n.__("UPI","surecart")}},t=r=>{var a;return r?null===(a=o[r])||void 0===a?void 0:a.label():void 0},e=r=>{var a;return r&&(null===(a=o[r])||void 0===a?void 0:a.icon)||"razorpay"};let n=null,a=null;const c=()=>n?Promise.resolve(n):a||(a=new Promise(((o,e)=>{const c=document.createElement("script");c.src=r,c.async=!0,c.onload=()=>{n=window.Razorpay,o(n)},c.onerror=()=>{a=null,e(new Error(wp.i18n.__("Failed to load Razorpay script.","surecart")))},document.head.appendChild(c)})),a);export{e as a,t as g,c as l};
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.