PageSourceSearch

https://webwinkel.tubantia.nl/cdn/shopifycloud/checkout-web/assets…/graphql-PaymentSessionMutation.CK_JkOwG.js

js tubantia.nl collected 2026-09-24 09:02:36 UTC 3,111 bytes, 1 lines download raw bytes

1import{no as l,jZ as f,cg as h}from"./addresses-is-address-empty.-MuOhIyI.js";const p=e=>e,i=e=>e,S={handle:p("e_769189b8"),variants:{control:i("v_11937282"),treatment:i("v_151ee815")}};function v(e,t,n){if(!(e.flag&&!n(e.flag)))for(const a of t){const[r,s]=a.split("=");if(r===e.handle)return s!=null&&Object.values(e.variants).includes(s)?s:void 0}}const I=e=>{const t=e??(typeof window>"u"?void 0:window.location.href);if(!t)return;let n;try{n=typeof t=="string"?new URL(t).pathname:t.pathname}catch{return}const a=n.match(/checkout\/([^/]+)\/([a-z]{2,3})/)?.[1];if(!a)return;const r=parseInt(a,10);if(!isNaN(r))return r};function g({checkout:e,i18n:t},{nextPageLabel:n,shouldOverrideLabel:a,isRedirectMethod:r}){return e.identity.current.value==="shopPay"&&r?t.translate("payment_ux.continue_to_payment"):a?t.translate("general.pay_now_button_label"):n}function _({identity:e},{paymentRequiredMethod:t,managedByMarketsPro:n,isCryptoPayment:a}){return e.current.value!=="shopPay"?!1:h({managedByMarketsPro:n})&&t==="IDEAL"||t!==void 0&&l.has(t)&&!a}function P({identity:e},{isPartnerSdkEnabled:t,isAppLayout:n}){return e.current.value==="shopPay"&&!t&&n}function y({i18n:e},t){return t?e.formatCurrency(t.amount,{currency:t.currencyCode,form:"short"}):null}function b({i18n:e,mobileCheckoutSdk:t,embed:n},{isAppLayout:a,paymentDue:r,buttonLabel:s}){return t.enabled&&t.variant.isStandard()||n?.isCheckoutKit()?null:a&&r&&s===e.translate("general.pay_now_button_label")?y({i18n:e},r):null}function C({checkout:e,mobileCheckoutSdk:t,shopPay:n,embed:a}){return e.identity.current.value!=="shopPay"?"dynamic":t.enabled||a?.isCheckoutKit()||f(n.app.config)?"static":"dynamic"}function $({identity:e},{showPayWithPayPal:t,showApplePay:n,showPayWithGooglePay:a,isEmbeddedCheckout:r,shouldRenderCheckoutProtocolButton:s,isInstallmentsSupported:u,isInstallmentsSelected:c,isInstallmentsUkHoldoutTreatment:d}){const o=e.current.value==="shopPay";return o&&u&&c&&!d?"installments":o&&s?"checkoutProtocol":t&&!o?"payPal":n?"applePay":a&&!o?"googlePay":!o&&r?"embedded":"default"}const A={id:"4e99c51c5187daa6375cfd7696d3f3580e3ab58fd003c6f48fc55555907904f6",type:"mutation",name:"PaymentSession",source:"mutation PaymentSession($addressId:ID,$creditCardId:ID!,$checkoutSessionIdentifier:String!,$shopifyDomain:String!,$installmentsAgreements:InstallmentsAgreementsInput,$unvaultedShippingAddress:AddressInput,$checkoutClientSource:CheckoutClientSourceEnum,$batchCheckouts:[BatchCheckoutsInput!],$batchOnly:Boolean,$publicCvvSessionId:String){paymentSessionGenerate(addressId:$addressId creditCardId:$creditCardId checkoutIdentifier:$checkoutSessionIdentifier shopifyDomain:$shopifyDomain installmentsAgreements:$installmentsAgreements unvaultedShippingAddress:$unvaultedShippingAddress checkoutClientSource:$checkoutClientSource batchCheckouts:$batchCheckouts batchOnly:$batchOnly publicCvvSessionId:$publicCvvSessionId){userErrors{message field __typename}sessionId batchCheckoutSessionIds{sessionId shopId __typename}__typename}}"};export{S as E,A as a,C as b,_ as c,g as d,b as e,y as f,I as g,P as h,v as r,$ as s};

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.