(function() { var cdnOrigin = "https://cdn.shopify.com"; var scripts = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/polyfills.i4n1wfLs.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/app.c5Z1xhbh.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/es.B8uYlUKG.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/page-OnePage.UdVrIrah.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/DeliveryMethodSelectorSection.DGPONZhR.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/useUiComponentsColorContrast.DgNzTfzX.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/VaultedPayment.dgB80aRD.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/LocalizationExtensionField.BRxjmRPb.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/ShopPayOptInDisclaimer.BOTegZRg.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/ShipmentBreakdown.CT-XNOk-.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/MerchandiseModal.BZaVRiXJ.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/StackedMerchandisePreview.Bl554lHT.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/PayButtonSection.CGeIJ_Pz.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/component-ShopPayVerificationSwitch.DR9xzH-o.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/useSubscribeMessenger.P8qCCjgi.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/index.BPdgqr5O.js"]; var styles = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/assets/app.B_0wdI0R.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/assets/OnePage.PMX4OSBO.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/assets/DeliveryMethodSelectorSection.Cx21oFfE.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/assets/VaultedPayment.OxMVm7u-.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/assets/StackedMerchandisePreview.CKAakmU8.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1/assets/ShopPayVerificationSwitch.DW7NMDXG.css"]; var fontPreconnectUrls = ["https://fonts.shopifycdn.com"]; var fontPrefetchUrls = ["https://fonts.shopifycdn.com/open_sans/opensans_n4.c32e4d4eca5273f6d4ee95ddf54b5bbb75fc9b61.woff2?h1=ZmFicmljcy5jbA&hmac=d67628522be8301520c0cbe6c9b147fad62f35d323d34b06fa76d9d6af0d0ff0","https://fonts.shopifycdn.com/open_sans/opensans_n7.a9393be1574ea8606c68f4441806b2711d0d13e4.woff2?h1=ZmFicmljcy5jbA&hmac=3ea08a00c871184e19de28696694b614da193f87f13b0340371ce0a2ca1d8b9b"]; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0126/2269/2411/files/LOGOS_FABRICS_WEB_LOGO_CHECK_OUT_x320.png?v=1653661499"]; 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 = [cdnOrigin].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); } })();