1export const customizeAcceleratedCheckoutCart=(root,attempt=1)=>{const shopifyAcceleratedCheckoutCart=root.querySelector("#dynamic-checkout-cart > shopify-accelerated-checkout-cart");if(!shopifyAcceleratedCheckoutCart||!shopifyAcceleratedCheckoutCart.wrapper){attempt<16&&setTimeout(()=>customizeAcceleratedCheckoutCart(root,attempt+1),125);return}if(shopifyAcceleratedCheckoutCart.wrapper.dataset.initialized==="true")return;shopifyAcceleratedCheckoutCart.wrapper.dataset.initialized="true";const styleNode=document.createElement("style");styleNode.textContent=` 2 @container wrapper (width <= 430px) { 3 .wallet-cart-grid:not(.wallet-cart-grid--horizontal):has(> .wallet-cart-button-container:nth-of-type(4)), 4 .wallet-cart-grid:not(.wallet-cart-grid--horizontal):has(> .wallet-cart-button-container:nth-of-type(5)), 5 .wallet-cart-grid:not(.wallet-cart-grid--horizontal):has(> .wallet-cart-button-container:nth-of-type(6)) { 6 display: grid; 7 grid-template-columns: 1fr 1fr; 8 gap: var(--shopify-accelerated-checkout-row-gap, 10px); 9 } 10 .wallet-cart-grid:not(.wallet-cart-grid--horizontal):has(> .wallet-cart-button-container:nth-of-type(4)) .wallet-cart-button-container, 11 .wallet-cart-grid:not(.wallet-cart-grid--horizontal):has(> .wallet-cart-button-container:nth-of-type(5)) .wallet-cart-button-container, 12 .wallet-cart-grid:not(.wallet-cart-grid--horizontal):has(> .wallet-cart-button-container:nth-of-type(6)) .wallet-cart-button-container { 13 margin: 0 !important; 14 } 15 } 16 `,document.querySelector("main#MainContent")?.dataset?.template==="cart"&&shopifyAcceleratedCheckoutCart.wrapper.querySelector(".wallet-cart-grid")?.classList.remove("wallet-cart-grid--vertical"),shopifyAcceleratedCheckoutCart.wrapper.appendChild(styleNode)}; 17//# sourceMappingURL=/cdn/shop/t/299/assets/accelerated-checkout-cart.js.map?v=144171798064868378771790091536
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.