PageSourceSearch

https://case-mate.com/cdn/shopifycloud/checkout-web/assets/c1/60a453ce.BIyixFcg.js

js case-mate.com collected 2026-10-01 10:34:21 UTC 3,532 bytes, 1 lines download raw bytes

1import{b2 as e,b3 as t}from"./4c290a1e.D9lE9kmU.js";const n="2026-10",s="2023-04";function r(t){throw new e(`Unsupported API version: ${t}`)}function o(e){return"unstable"===e?"2025-07":e}function a(e,t){if(c(e,t))return!1;const n=o(e);return o(t)<n}function c(e,t){const n=o(e);return o(t)===n}function i(e){return{laterThan:t=>a(e,t),earlierThan:t=>function(e,t){return!c(e,t)&&!a(e,t)}(e,t),equalTo:t=>c(e,t)}}function u(e){return e?i(e).laterThan(n)?n:e:s}function h(e){return i(e).laterThan("2025-07")}function p(e,t){return"function"==typeof e?e(t):e}function d(e){return e.endsWith("/")?e.slice(0,-1):e}const f=["cart","checkout","storefront"],k=new RegExp(`^shopify:/{0,2}(${f.join("|")})`);function m(t,n){const[s,r]=t.match(k)||[];return s?f.includes(r)?n[r]?.(t,s)??t:t:(t.startsWith("shopify:")&&console.error(new e(`Invalid shopify URL: ${t}`)),t)}function l(e,t){const n=new URL(e).host;return e=>{const s=e.split("storefront/")[1].split("/");"api/graphql.json"===s.join("/")&&s.splice(1,0,t);const r=s.join("/");return`https://${n}/${r}`}}function C(e){return t=>{if(!e)return t;const n=new URL(e);return new URL(t).searchParams.forEach(((e,t)=>{n.searchParams.append(t,e)})),n.toString()}}function _(){return(e,t)=>e.replace(t,"")}const y=new Set(Object.keys({"Checkout::PaymentMethod::Render":!0,"Checkout::PaymentMethod::RenderRequiredAction":!0,"Checkout::PaymentMethod::HostedFields::RenderAfter":!0,"Checkout::GiftCard::Render":!0}));function A(e){return y.has(e)}function w(e,n){const s=p(e.features,n);return t(s)}const R=new Map([["processing",["Checkout::PaymentMethod::RenderRequiredAction"]],["thankYou",["Checkout::ThankYou::Dynamic::Render","Checkout::ThankYou::CartLineDetails::RenderAfter","Checkout::ThankYou::CartLines::RenderAfter","Checkout::ThankYou::CustomerInformation::RenderAfter","Checkout::CartLineDetails::RenderAfter","Checkout::CartLineDetails::RenderLineComponents","Checkout::CartLines::RenderAfter","Checkout::CustomerInformation::RenderAfter","purchase.thank-you.chat.render","purchase.thank-you.header.render-after","purchase.thank-you.footer.render-after","purchase.thank-you.announcement.render"]]]);function x(e){const t=R.get(e.type)??[];return new Set(t)}const T=/^(?:Checkout::(?!ThankYou::)|purchase\.(?!thank-you\.)).+/;function P(e){return T.test(e)}var L=(e=>(e.CheckoutExtensionsPositioning="read_checkout_extensions_positioning",e.CustomerAddress="read_customer_address",e.CustomerEmail="read_customer_email",e.CustomerName="read_customer_name",e.CustomerPersonalData="read_customer_personal_data",e.CustomerPhone="read_customer_phone",e.NetworkAccessScope="read_checkout_external_data",e.CheckoutExtensionPayments="write_checkout_extension_payments",e.CheckoutExtensionRedeemables="write_checkout_extension_redeemables",e.PaymentSessionModal="write_payment_session_modals",e))(L||{});function b(e){return e.approvalScopes.has("read_checkout_external_data")&&e.capabilities.networkAccess}class g{#e=new Map;syncExtension(e){this.#e.set(e.id,{extensionType:e.type,hasNetworkAccess:b(e),hasApiAccess:e.capabilities.apiAccess})}removeExtension(e){this.#e.delete(e)}has(e,t){const n="networkAccess"===e?"hasNetworkAccess":"hasApiAccess";for(const s of this.#e.values())if((!t?.extensionType||s.extensionType===t.extensionType)&&s[n])return!0;return!1}}class E{#t=new Map;app(e){let t=this.#t.get(e);return t||(t=new g,this.#t.set(e,t)),t}}export{L as A,s as D,A as a,P as b,b as c,E as d,r as e,d as f,u as g,p as h,h as i,_ as j,C as k,w as l,x as m,m as r,l as s,i as t};

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.