PageSourceSearch

https://motionrc.com/_nuxt/DWlwb5Xz.js

js motionrc.com collected 2026-09-24 11:52:45 UTC 1,174 bytes, 1 lines download raw bytes

1import{b1 as l,bl as d,cV as v,bm as f,bK as b,b0 as y,b$ as I,b3 as S,b4 as _}from"./CKrlm23X.js";import{u as g}from"./IAZfvrcO.js";import"./Dd17k5is.js";const h={id:"div-message"},U=l({__name:"PaymentElementStripe",props:{amountTotal:{type:Number,required:!0}},setup(p){const n=p,{locale:e}=d(),r=y();let t=null;const{getProviderInfo:m,providerInfo:s}=g(),{onLoaded:c}=v(),a=f(()=>({amount:n.amountTotal,paymentMethodTypes:e.value==="us"?["affirm"]:["klarna"],currency:e.value==="us"?"USD":"EUR",countryCode:e.value==="us"?"US":"PT"}));return b(()=>[n.amountTotal,e.value],()=>{t==null||t.update(a.value)}),c(async({Stripe:i})=>{var u;const o=e.value==="us"?r.public.stripeIdUs:r.public.stripeIdEu;if(!o)throw new Error("Stripe ID provider from ENVS not found.");if(await m({providerId:Number(o)}),t=i(s.value.stripeProviderInfo.publishable_key,{apiVersion:(u=s.value.stripeProviderInfo)==null?void 0:u.api_version}).elements().create("paymentMethodMessaging",a.value),await I(),!document.querySelector("#div-message")){console.error("[Stripe] Mount element #div-message not found in DOM");return}t.mount("#div-message")}),(i,o)=>(_(),S("div",h))}});export{U as default};

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.