PageSourceSearch

https://magikmuzik.shop/cdn/shopifycloud/checkout-web/assets/c1/payment-usePaymentExemptionReason.B4VABxaE.js

js magikmuzik.shop collected 2026-09-27 21:44:41 UTC 1,199 bytes, 1 lines download raw bytes

1import{P as m,Q as C,S as f,T as p,W as u,X as P,Y as c,Z as R,_ as S,$ as v,a0 as h,a1 as D,a2 as E,a3 as T,a4 as A}from"./addresses-is-address-empty.Bn2lNY_L.js";import{f as d}from"./esnext-vendor.B9Da21W6.js";import{c as l,d as I,e as O}from"./hydrate.DZ4YTm7p.js";const y=m("ShopCashContext"),q=y.Provider,B=()=>C(y),F=()=>{const{shopPay:e}=f(),t=l(),s=I(),a=p().paymentLines;return d(()=>{const r=a.value,n=e.user.paymentMethods.value,i=e.session.selectedPaymentMethod.value;if(!t.value)return;const o=u(r);return o&&o!=="CREDIT_CARD"?o:s.value?.payment?u(r)==="CREDIT_CARD"?"CREDIT_CARD":L(i,n):u(r)})},L=(e,t)=>{if(!(!e&&!t.length))return e&&P(e)||c(t)?"APPLE_PAY":e&&R(e)||S(t)?"IDEAL":e&&v(e)||h(t)?"CUSTOM_ONSITE":"CREDIT_CARD"},_=new Set(["giftCard","freeOrder","storeCredit","redeemables"]);function g(e){return e!==null&&_.has(e)}function U(){const e=l(),t=D(),s=E("STORE_CREDIT"),a=T(["CUSTOM","STORE_CREDIT"]),r=O(),n=A().deferredTotal;return d(()=>{if(e.value){if(t.value)return"giftCard";if(s.value)return"storeCredit";if(a.value)return"redeemables"}else return"freeOrder";return r.value&&!n.value?.amount.amount?"deferred":null})}export{q as S,U as a,B as b,y as c,g as i,F 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.