(function() { var cdnOrigin = "https://cdn.shopify.com"; var scripts = ["/cdn/shopifycloud/checkout-web/assets/c1/polyfills.BGEdQoKJ.js","/cdn/shopifycloud/checkout-web/assets/c1/app.BwZuiz-b.js","/cdn/shopifycloud/checkout-web/assets/c1/dist-vendor.a3kfnPsb.js","/cdn/shopifycloud/checkout-web/assets/c1/browser.BOgMuMgH.js","/cdn/shopifycloud/checkout-web/assets/c1/shop-pay-FullScreenBackground.Bxb6RI8a.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-useReplaceShopPayInHistory.OZ54yrFt.js","/cdn/shopifycloud/checkout-web/assets/c1/actions-shop-discount-offer.9a5QaR5n.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-NotFound.Dw--70Od.js","/cdn/shopifycloud/checkout-web/assets/c1/utils-proposal.Bz77WDA1.js","/cdn/shopifycloud/checkout-web/assets/c1/shop-pay-ButtonWithRegisterWebPixel.CUNg0UCj.js","/cdn/shopifycloud/checkout-web/assets/c1/images-flag-icon.C_eXYJRt.js","/cdn/shopifycloud/checkout-web/assets/c1/images-payment-icon.BXeXx6hF.js","/cdn/shopifycloud/checkout-web/assets/c1/locale-es.CQs7boYh.js","/cdn/shopifycloud/checkout-web/assets/c1/page-OnePage.BmZYNZtb.js","/cdn/shopifycloud/checkout-web/assets/c1/Captcha-PaymentButtons.BlGJEfbb.js","/cdn/shopifycloud/checkout-web/assets/c1/Menu-LocalPickup.PqDctbjJ.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-useShopPayNewSignupLoginExperiment.-6WS5daj.js","/cdn/shopifycloud/checkout-web/assets/c1/icons-ShopPayLogo.CJXPeyL4.js","/cdn/shopifycloud/checkout-web/assets/c1/BuyWithPrimeChangeLink-VaultedPayment.DXSQR-lf.js","/cdn/shopifycloud/checkout-web/assets/c1/DeliveryMacros-ShippingGroupsSummaryLine.BWNXgJWT.js","/cdn/shopifycloud/checkout-web/assets/c1/MerchandisePreviewThumbnail-StackedMerchandisePreview.DvYTudIZ.js","/cdn/shopifycloud/checkout-web/assets/c1/Map-PickupPointCarrierLogo.CHURXBz7.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks.lmsFT0ba.js","/cdn/shopifycloud/checkout-web/assets/c1/PostPurchaseShouldRender-LocalizationExtensionField.CZKhQgIJ.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-useShowShopPayOptin.D7b0z_co.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-ShopPayOptInDisclaimer.BUro6e6C.js","/cdn/shopifycloud/checkout-web/assets/c1/adapter-RememberMeDescriptionText.CievicXZ.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-MobileOrderSummary.8LsW1KJR.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-OrderEditVaultedDelivery.tU4-WtvY.js","/cdn/shopifycloud/checkout-web/assets/c1/captcha-SeparatePaymentsNotice.BSPaXJw3.js","/cdn/shopifycloud/checkout-web/assets/c1/types-useHasOrdersFromMultipleShops.BkjFreBg.js","/cdn/shopifycloud/checkout-web/assets/c1/StockProblems-StockProblemsLineItemList.BH_8roHr.js","/cdn/shopifycloud/checkout-web/assets/c1/redemption-useShopCashCheckoutEligibility.BRoIntz3.js","/cdn/shopifycloud/checkout-web/assets/c1/negotiated-ShipmentBreakdown.BkJw_FJL.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-MerchandiseModal.DbLeDK_X.js","/cdn/shopifycloud/checkout-web/assets/c1/utilities-shipping-options.DxZqO2Hf.js","/cdn/shopifycloud/checkout-web/assets/c1/graphql-DutyOptions.BFRUSwsL.js","/cdn/shopifycloud/checkout-web/assets/c1/DeliveryInstructionsFooter-ShippingMethodSelector.BLcijqHV.js","/cdn/shopifycloud/checkout-web/assets/c1/hooks-SubscriptionPriceBreakdown.DnXHmzEk.js","/cdn/shopifycloud/checkout-web/assets/c1/component-RuntimeExtension.ByNDutZk.js","/cdn/shopifycloud/checkout-web/assets/c1/DatePicker-AnnouncementRuntimeExtensions.D27De7ew.js","/cdn/shopifycloud/checkout-web/assets/c1/standard-rendering-extension-targets.BbWgR93s.js","/cdn/shopifycloud/checkout-web/assets/c1/esm-browser-v4.BKrj-4V8.js","/cdn/shopifycloud/checkout-web/assets/c1/ExtensionsInner.BefHZGFx.js"]; var styles = ["/cdn/shopifycloud/checkout-web/assets/c1/assets/app.fH9d1Lew.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/FullScreenBackground.BEEkv9BX.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/ButtonWithRegisterWebPixel.UZxjFBtg.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/OnePage.Di1yeo0T.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/LocalPickup.DmhmOh0D.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/LocalizationExtensionField.oEoBAbtG.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/MobileOrderSummary.Cko1fUoG.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/OrderEditVaultedDelivery.CSQKPDv7.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/useShopPayNewSignupLoginExperiment.BrcQzLuH.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/DutyOptions.LcqrKXE1.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/VaultedPayment.OxMVm7u-.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/PickupPointCarrierLogo.cbVP6Hp_.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/StackedMerchandisePreview.D6OuIVjc.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/ShippingMethodSelector.B0hio2RO.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/SubscriptionPriceBreakdown.BSemv9tH.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/RuntimeExtension.DWkDBM73.css","/cdn/shopifycloud/checkout-web/assets/c1/assets/AnnouncementRuntimeExtensions.V0VYEO4K.css"]; var fontPreconnectUrls = []; var fontPrefetchUrls = []; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/1568/2063/files/patagonia-logo_1920_x320.png?v=1692890075"]; 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); } })();