(function() { var baseURL = "https://cdn.shopify.com/shopifycloud/checkout-web/assets/"; var scripts = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/polyfills.CqZeYl46.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/app.DSbJfAx_.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/VaultedContact.CW_DpPfy.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/DeliveryMethodSelectorSection.DYBykc-A.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useUnauthenticatedErrorModal.DJ5lNNay.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/AmazonPayPCIButton.lC15BuMI.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/CheckoutAsGuest.BtvZtxnx.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useRefEffect.Ci4ad4GW.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/ShopPayLogo.4pP0yHnR.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/PickupPointCarrierLogo.sxvZf9FO.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/hooks.B7MPmUZg.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/LocalizationExtensionField.BiXdTe1J.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useShowShopPayOptin.D4GYCmEM.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/Rollup.BLmmJO5m.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useShopPayRequiresVerification.CVm6sron.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/Section.DykX6hkf.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/GooglePayPCIButton.CXqBczHb.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/PayButtonSection.B_xoggI_.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/RageClickCapture.C0G6l7tA.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useInstallmentsErrorHandler.CLSoBQAO.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/index.DWjH-RYs.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/DutyOptions.SfqUzk6c.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/SubscriptionPriceBreakdown.DBy8JzxV.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useAmazonContact.DX4c-9Hi.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/StockProblemsLineItemList.DPw7W3E6.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useGetBuyWithPrimeCheckoutSessionId.BJYeOOsH.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/index.BYvSQYei.js"]; var styles = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/app.BYPfQJHS.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/VaultedContact.BsDM6oHQ.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/DeliveryMethodSelectorSection.Gt99Mw9F.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/CheckoutAsGuest.CUoq2pCx.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/ShopPayLogo.D_HPU8Dh.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/PickupPointCarrierLogo.C0wRU6wV.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/LocalizationExtensionField.BO3829nT.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/Rollup.mj3hAev9.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/Section.BzDw6wmZ.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/PayButtonSection.DF7trkKf.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/RageClickCapture.DnkQ4tsk.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/DutyOptions.Bd1Z60K2.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/SubscriptionPriceBreakdown.Bqs0s4oM.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/useAmazonContact.D-Ox6Dnf.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/StockProblemsLineItemList.CxdIQKjw.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/useGetBuyWithPrimeCheckoutSessionId.DVQdwG9J.css"]; var fontPreconnectUrls = ["https://fonts.shopifycdn.com"]; var fontPrefetchUrls = ["https://fonts.shopifycdn.com/poppins/poppins_n4.934accbf9f5987aa89334210e6c1e9151f37d3b6.woff2?h1=am95ZXJpYWNhcmFjYXMuY28&hmac=bd1489d6d1d13f4d5e83f50a57bcda77e40ad5f00a88ea0cbb1bc6e00151edc7","https://fonts.shopifycdn.com/poppins/poppins_n7.58aca33913fc6666cc9e8a53f6b16ec5c3c05a3f.woff2?h1=am95ZXJpYWNhcmFjYXMuY28&hmac=1b224a5495f88c58b5dbbeaa7905db5c18d852496f8ba74a23a138f8109fb795"]; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0570/4794/1184/files/Logo_JC_pantalla_pago_3_3_3f592e1b-c057-4704-8021-d8d28213bcff_x320.png?v=1724170125","https://cdn.shopify.com/s/files/1/0570/4794/1184/files/banner_cabezote_jc_pantalla_de_pago_cabezote_bnn_2000x.jpg?v=1724259184"]; function preconnect(url, callback) { var link = document.createElement('link'); link.rel = 'dns-prefetch preconnect'; link.href = url; link.crossOrigin = ''; link.onload = link.onerror = callback; document.head.appendChild(link); } function preconnectAssets() { var resources = [baseURL].concat(fontPreconnectUrls); var index = 0; (function next() { var res = resources[index++]; if (res) preconnect(res, next); })(); } function prefetch(url, as, callback) { var link = document.createElement('link'); if (link.relList.supports('prefetch')) { link.rel = 'prefetch'; link.fetchPriority = 'low'; link.as = as; if (as === 'font') link.type = 'font/woff2'; link.href = url; link.crossOrigin = ''; link.onload = link.onerror = callback; document.head.appendChild(link); } else { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.onloadend = callback; xhr.send(); } } function prefetchAssets() { var resources = [].concat( scripts.map(function(url) { return [url, 'script']; }), styles.map(function(url) { return [url, 'style']; }), fontPrefetchUrls.map(function(url) { return [url, 'font']; }), imgPrefetchUrls.map(function(url) { return [url, 'image']; }) ); var index = 0; function run() { var res = resources[index++]; if (res) prefetch(res[0], res[1], next); } var next = (self.requestIdleCallback || setTimeout).bind(self, run); next(); } function onLoaded() { try { if (parseFloat(navigator.connection.effectiveType) > 2 && !navigator.connection.saveData) { preconnectAssets(); prefetchAssets(); } } catch (e) {} } if (document.readyState === 'complete') { onLoaded(); } else { addEventListener('load', onLoaded); } })();