1import{c as e,Q as t,T as a,U as r,N as n,X as o}from"./9dba8418.nSn06qNc.js";import{w as u,R as s,k as i,V as l,W as d}from"./164ad2e3.Bn4mVc0u.js";function p(){const e=u();if(e)return{...e.shopAppLinksAndResources}}function c(){const{checkout:u,embed:c,mobileCheckoutSdk:f,router:y,shop:m,shopPay:h}=e(),v=u.negotiator.current.fields.buyerIdentity.value?.purchasingCompany,g=u.negotiator.current.fields.buyerIdentity.value?.customerProfile,P=s().value,S=u.configuration.layout.isOnePage.value,b=p(),I=u.negotiator.parts.paymentLines.value,{value:k}=u.negotiator.current.fields.paymentLines,{value:L}=u.negotiator.current.fields.paymentMethods,{currentDetour:A}=i().value,O=l(),N=!m.hasFlagEnabled(t),T=d(),Y=Boolean(a(u.negotiator.current.fields.paymentMethods.value).length),_=u.proposal.negotiated.fields.mustSelectProvidedAddress.value,E=y.currentUrl.value,M=r(E.searchParams),C=L?.some(e=>"wallet"===e.type&&"SHOP_PAY"===e.name),F=null!=n(I,"SHOPIFY_INSTALLMENTS");if(u.negotiator.parts.phone.value)return!1;if(!1===O?.shopPayOptInEnabled)return!1;if(v)return!1;if(!T.value)return!1;if("CustomerProfile"===g?.__typename&&P){if(!S)return!1;if(!Y)return!1}return!(h.userIdentified.value||"shopPay"===u.identity.current.value||o(u.identity.current.value)||M||_||Boolean(c)||f.enabled||N&&b?.shopPayOrder||!C&&"thankYou"!==A?.type||("thankYou"===A?.type?!k||n(k.lines,"SHOPIFY_INSTALLMENTS"):F))}export{p as a,c 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.