1import{k as e}from"./2c1ab0fe.B2yRRyAW.js";import{c as t,A as a,B as o,C as r,D as s}from"./4b4bc88f.JFrEI7LU.js";import{C as c}from"./164ad2e3.-hfWY9cN.js";function n(){const{client:e}=t();return!0===e.unstable_getSerialization("preloaded")}function l(){const{checkout:l,router:i}=t(),{checkoutProtocolPresentedSignal:u}=l.negotiator.context,{allViolations:m}=l.negotiator.current.fields,f=n();return e(()=>{const e=i.currentUrl.value,t="false"===e.searchParams.get(a),n=e.searchParams.get(o),d=l.latestReceipt.value,g=!!d&&c(d),p=m.value,h=p?.some(e=>r.has(e.code));return Boolean(n&&n!==s.PromptAllowed&&!t||e.searchParams.get("storefront_wallet")||h||f&&!u.value||g)})}export{l as a,n 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.