PageSourceSearch

https://www.myoddballs.com/cdn/shopifycloud/checkout-web/assets/c1/87bfafec.4CtkSIvo.js

js myoddballs.com collected 2026-10-04 00:23:51 UTC 1,363 bytes, 1 lines download raw bytes

1import{al as e,aS as a,S as r,W as t,mi as s,bz as n,m_ as u,bQ as o,m$ as d,hU as l,n0 as C,jw as c,jx as i,bO as m,T as f}from"./4c290a1e.DMQ9xOwP.js";import{t as v}from"./2c1ab0fe.GMbxnz74.js";import{bX as T,dC as D,bD as R}from"./164ad2e3.B4L1MRYB.js";const p=e("ShopCashContext"),E=p.Provider,S=()=>a(p),b=()=>{const{shopPay:e}=r(),a=T(),n=D(),u=t().paymentLines;return v(()=>{const r=u.value,t=e.user.paymentMethods.value,o=e.session.selectedPaymentMethod.value;if(!a.value)return;const d=s(r);return d&&"CREDIT_CARD"!==d?d:n.value?.payment?"CREDIT_CARD"===s(r)?"CREDIT_CARD":y(o,t):s(r)})},y=(e,a)=>{if(e||a.length)return e&&n(e)||u(a)?"APPLE_PAY":e&&o(e)||d(a)?"IDEAL":e&&l(e)||C(a)?"CUSTOM_ONSITE":"CREDIT_CARD"},_=new Set(["giftCard","freeOrder","storeCredit","redeemables"]);function h(e){return null!==e&&_.has(e)}function I(){const e=T(),a=c(),r=i("STORE_CREDIT"),t=m(["CUSTOM","STORE_CREDIT"]),s=R(),n=f().deferredTotal;return v(()=>e.value?a.value?"giftCard":r.value?"storeCredit":t.value?"redeemables":s.value&&!n.value?.amount.amount?"deferred":null:"freeOrder")}function O(e){return{value:e.amount.toString(),currency:e.currencyCode.toUpperCase()}}function A(e){if(null!=e?.amount&&Number.isFinite(e.amount)&&e.currencyCode)return O({amount:e.amount,currencyCode:e.currencyCode})}export{p as S,I as a,S as b,E as c,A as d,h as i,O as t,b as u};

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.