efficient-storefront-blocks 0.133.11 → 0.134.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/chunks/{CustomHtmlCodeWindow-2CJO3FRG.js → CustomHtmlCodeWindow-PCCIJDTP.js} +1 -1
- package/dist/chunks/EditorPreviewCheckout-NAWXDKVA.js +4 -0
- package/dist/chunks/SiteEditorProvider-5GQBSTAR.js +1 -0
- package/dist/chunks/{chunk-DO5FAI7I.js → chunk-4HZQEMGD.js} +1 -1
- package/dist/chunks/{chunk-NQZ3O6A3.js → chunk-6RKYPO5H.js} +1 -1
- package/dist/chunks/{chunk-5W6M2F4B.js → chunk-AKNNDIRL.js} +1 -1
- package/dist/chunks/{chunk-I4IY2GTB.js → chunk-GZKBN53C.js} +1 -1
- package/dist/chunks/{chunk-C2YDFOCO.js → chunk-ITZRFN64.js} +1 -1
- package/dist/chunks/chunk-MM7TBACQ.js +337 -0
- package/dist/chunks/{chunk-UQDOJWLM.js → chunk-UYU65XIT.js} +1 -1
- package/dist/chunks/chunk-V7SYE7AE.js +1 -0
- package/dist/chunks/{fitment-data-6FBUVM5L.js → fitment-data-RJ6DAYHD.js} +1 -1
- package/dist/chunks/{section-css-style-YWXTU6HK.js → section-css-style-K25L45AT.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/links.js +1 -1
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/CartContext.d.ts +1 -0
- package/dist/render/components/CartContext.js +1 -1
- package/dist/render/components/checkout/checkout-parts.js +1 -1
- package/dist/render/components/checkout/checkout-state.d.ts +1 -0
- package/dist/render/components/checkout/checkout-state.js +3 -3
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/package.json +3 -3
- package/dist/chunks/EditorPreviewCheckout-524ZFYDR.js +0 -4
- package/dist/chunks/SiteEditorProvider-E53DXAEH.js +0 -1
- package/dist/chunks/chunk-6JIG2WYA.js +0 -1
- package/dist/chunks/chunk-LUHOZIHO.js +0 -337
- /package/dist/chunks/{chunk-454ZVMST.js → chunk-DSTQVJ5G.js} +0 -0
- /package/dist/chunks/{chunk-C2YDFOCO.js.LEGAL.txt → chunk-ITZRFN64.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-LUHOZIHO.js.LEGAL.txt → chunk-MM7TBACQ.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-IHBF4FM5.js → chunk-XPDSLIZ3.js} +0 -0
- /package/dist/chunks/{chunk-LN6M3FAM.js → chunk-YMJRKOEC.js} +0 -0
package/dist/value-index.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":1,"package":"efficient-storefront-blocks","version":"0.133.11","entries":[{"entry":"efficient-storefront-blocks/editor/components/CategorySource","name":"ALL_PRODUCT_CONTENT_ANSWERS","hash":"0b0cc3e1b4e844e2f5b3"},{"entry":"efficient-storefront-blocks/editor/components/CategorySource","name":"PRODUCT_CONTENT_PRODUCT_PAGE","hash":"c489d57d128e8c35b6f3"},{"entry":"efficient-storefront-blocks/editor/components/FormPicker","name":"CREATE_SENTINEL","hash":"316857abb1f211e43c0b"},{"entry":"efficient-storefront-blocks/editor/components/HeaderSettingsPanel","name":"HEADER_TABS_ID_PREFIX","hash":"c04f04be97ff0825054a"},{"entry":"efficient-storefront-blocks/editor/components/ProductSourceRows","name":"PRODUCT_SOURCE_CHOICE","hash":"4e740918441b114c6725"},{"entry":"efficient-storefront-blocks/editor/lib/api/section-templates","name":"SECTION_TEMPLATES_KEY","hash":"33134c9c6ad42ac207cc"},{"entry":"efficient-storefront-blocks/editor/lib/editor-currency-source","name":"NO_CURRENCY_CONFIGURED","hash":"e8b81a4506c44ff62b9d"},{"entry":"efficient-storefront-blocks/editor/lib/storefront-editor-words","name":"STOREFRONT_BLOCKS_WORDS","hash":"6c341b3ccc209684ee0e"},{"entry":"efficient-storefront-blocks/editor/lib/storefront-editor-words-kept","name":"KEPT_EDITOR_PHRASES","hash":"2548b75c9f82db4294c1"},{"entry":"efficient-storefront-blocks/render/components/CartContext","name":"CART_STORAGE_KEY","hash":"8ac40997cd66a0de444b"},{"entry":"efficient-storefront-blocks/render/components/CartDrawer","name":"CART_DRAWER_LABEL","hash":"297749047b385b59e2eb"},{"entry":"efficient-storefront-blocks/render/components/ChatWidget","name":"DEFAULT_GREETING","hash":"a57a6434064e72e13af8"},{"entry":"efficient-storefront-blocks/render/components/ChatWidget","name":"DEFAULT_SUBTITLE","hash":"3f5319ca181e30769e9b"},{"entry":"efficient-storefront-blocks/render/components/ChatWidget","name":"DEFAULT_TITLE","hash":"2fbd5e47e8166b4097fd"},{"entry":"efficient-storefront-blocks/render/components/ConsentBanner","name":"CONSENT_CHOICE_BUTTON","hash":"290383b2039e235800c0"},{"entry":"efficient-storefront-blocks/render/components/ConsentBanner","name":"CONSENT_TEXT_BUTTON","hash":"f53f388bff98eaafe344"},{"entry":"efficient-storefront-blocks/render/components/ContactRouting","name":"CHANNEL_HINTS","hash":"c78843d9b4b333ef6e6e"},{"entry":"efficient-storefront-blocks/render/components/CurrencyContext","name":"COUNTRY_STORAGE_KEY","hash":"678f6e13ff8b0a1bd740"},{"entry":"efficient-storefront-blocks/render/components/DefaultProductHero","name":"DEFAULT_PRODUCT_HERO_ID","hash":"5d45c20323eac37b347e"},{"entry":"efficient-storefront-blocks/render/components/EuTyreLabels","name":"EU_LABEL_BAND","hash":"d758298564910deea222"},{"entry":"efficient-storefront-blocks/render/components/Events","name":"EVENTS_FEATURED_WIDTH","hash":"1531e6c4f87f88f5fe6f"},{"entry":"efficient-storefront-blocks/render/components/FooterSocial","name":"SOCIAL_ICON_PX","hash":"ffa651925b5d82519b2d"},{"entry":"efficient-storefront-blocks/render/components/FormBlock","name":"FORM_BG_BUILT_IN","hash":"31ffe9c4f7890e68ee0e"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_GRID_ATTR","hash":"f388f683a5d55cf3f20d"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_ITEM_HINTS","hash":"c6aaeb8eaad510d6aa49"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_TILE_ATTR","hash":"7d21ccd317095a8773cc"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_TILE_PARTS","hash":"93f554ad742f3ae6e5d0"},{"entry":"efficient-storefront-blocks/render/components/GridCardTemplate","name":"CARD_WORDS_OVER_CLASS","hash":"b4cd42a329f2b5709f49"},{"entry":"efficient-storefront-blocks/render/components/GridCardTemplate","name":"GRID_CARD_RULES","hash":"fa8d286d56ab620f485c"},{"entry":"efficient-storefront-blocks/render/components/GridCardTemplate","name":"LISTING_CARD_RULES","hash":"020b7ba8504c4a55fb86"},{"entry":"efficient-storefront-blocks/render/components/HeaderToolBlocks","name":"SEARCH_STYLES","hash":"d5114124f0dbf3eb4842"},{"entry":"efficient-storefront-blocks/render/components/HeaderTools","name":"TOOL_ICON_BUTTON_CLASS","hash":"038f31711f97147e29a1"},{"entry":"efficient-storefront-blocks/render/components/HeaderTools","name":"UTIL_WORDS","hash":"66c5e1b27d8dc890c7ab"},{"entry":"efficient-storefront-blocks/render/components/HeaderTools","name":"UTIL_WORD_CLASS","hash":"3e3b1ce635fd3599f0f4"},{"entry":"efficient-storefront-blocks/render/components/Lightbox","name":"LIGHTBOX_CLOSE_TINT","hash":"98dfc120f901c148d3b6"},{"entry":"efficient-storefront-blocks/render/components/NoCurrencyNote","name":"NO_CURRENCY_NOTE","hash":"56541680e6290b4697b8"},{"entry":"efficient-storefront-blocks/render/components/PopupFrame","name":"SITE_TINT","hash":"8e0f38be92704586068a"},{"entry":"efficient-storefront-blocks/render/components/ProductGridSection","name":"FEW_CARDS","hash":"12767aa2a323b5858ce1"},{"entry":"efficient-storefront-blocks/render/components/QuoteLink","name":"FITTER_POPUP_SLUG","hash":"0ca44fa7553f01a7e004"},{"entry":"efficient-storefront-blocks/render/components/QuoteLink","name":"QUOTE_HREF","hash":"84a6d242e63c52ef59e2"},{"entry":"efficient-storefront-blocks/render/components/Reviews","name":"FRAME_OWN_BOX","hash":"6b699c4b2acb3516c063"},{"entry":"efficient-storefront-blocks/render/components/SectionNotice","name":"SECTION_NOTICE_TEXT_CLASS","hash":"2533ef8ed0276714fa8f"},{"entry":"efficient-storefront-blocks/render/components/SiteLegalContext","name":"LEGAL_WORDS","hash":"e7c322a37dc7a1cd6bfb"},{"entry":"efficient-storefront-blocks/render/components/Subscribe","name":"SIGNUP_CHECK_EMAIL","hash":"f4144bee80d82b3bad61"},{"entry":"efficient-storefront-blocks/render/components/Subscribe","name":"SIGNUP_FAILED","hash":"8c724a650566cefda1aa"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"BAND_INLINE","hash":"d758298564910deea222"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"BAND_OWN_BOX","hash":"78662c851f60398af17f"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"TYRE_FITMENT_DESCRIPTION","hash":"a21e36cfcf45f2c11407"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"TYRE_FITMENT_TITLE","hash":"45a48d3731a53622c8df"},{"entry":"efficient-storefront-blocks/render/components/WheelCardFrame","name":"CARD_ROWS_GRID_CLASS","hash":"2b022efcc507fc7857fc"},{"entry":"efficient-storefront-blocks/render/components/booking/BookingBox","name":"BOOKING_REGION_NAMES","hash":"d9f4452346b99d711a11"},{"entry":"efficient-storefront-blocks/render/components/booking/BookingFormState","name":"SAMPLE_CONFIRMATION","hash":"41490b5b9238cd0a316d"},{"entry":"efficient-storefront-blocks/render/components/buy-row","name":"BUY_ROW_CLASS","hash":"3cea7cf5049cf4657da6"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardBuyButton","name":"CARD_PAGE_WORDS","hash":"62de67275507d7a1abf3"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardProductPicture","name":"PICTURE_ZOOM_WELL_ATTR","hash":"3393c68dff371014ae6a"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardProductPicture","name":"WHEEL_ZOOM_CLASS","hash":"8941cd261cfc5aab03fd"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"CARD_CHIP_LINE_CLASS","hash":"3cacba637a9441ab96bc"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"CARD_CHIP_ROW_CLASS","hash":"7f6417551c842b1bd4f2"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"SIZE_PART_ATTR","hash":"51422891446613d7f0d4"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"TYRE_BUY_CHIPS_CLASS","hash":"7a717cc1c9e43c00b9ab"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSpecs","name":"CARD_SPEC_FIELD_CLASS","hash":"3e3b1ce635fd3599f0f4"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/card-row","name":"CARD_TEXT_SIZE","hash":"5d36c2b9b52e6af0b4fe"},{"entry":"efficient-storefront-blocks/render/components/catalog/CatalogFilterContext","name":"COLLECTION_ATTR","hash":"d7a067c8f31fe8474132"},{"entry":"efficient-storefront-blocks/render/components/catalog/CatalogFilterContext","name":"NO_VEHICLE","hash":"c1de3462e6a35e3a9da6"},{"entry":"efficient-storefront-blocks/render/components/checkout/checkout-state","name":"NO_PAYMENT_METHOD_NOTE","hash":"88010ff0af558b39af8d"},{"entry":"efficient-storefront-blocks/render/components/checkout/checkout-state","name":"SHIPPING_RETRY_NOTE","hash":"1d149afb93fffb3415fe"},{"entry":"efficient-storefront-blocks/render/components/fitment/vehicle-level-state","name":"VEHICLE_FIELD_NEEDED","hash":"27cee9f8eb9e7c1cf2ed"},{"entry":"efficient-storefront-blocks/render/components/formSubmission","name":"SUBMIT_ERROR","hash":"e7c0618b71ece4639dc7"},{"entry":"efficient-storefront-blocks/render/components/product-hero/OptionLooks","name":"DROPDOWN_BUTTON","hash":"936742365812023c2b70"},{"entry":"efficient-storefront-blocks/render/components/product-hero/stage-photo","name":"STAGE_IMAGE_SIZES","hash":"d893628ea202f440f5a3"},{"entry":"efficient-storefront-blocks/render/components/wheels-plp/PlpFacetRows","name":"RAIL_OWNER_TEMPLATES","hash":"ff4b4b231cbb19b7c0a7"},{"entry":"efficient-storefront-blocks/render/lib/api/chat","name":"CHAT_PUBLIC_BASE","hash":"c7ba0a0a42b8627f64eb"},{"entry":"efficient-storefront-blocks/render/lib/api/generated-upload-limits","name":"UPLOAD_LIMITS","hash":"195528d63c94e42a8ef2"},{"entry":"efficient-storefront-blocks/render/lib/api/index","name":"EFFICIENT_CLIENT_CLOSED_MESSAGE","hash":"d415eec954a909efdbb7"},{"entry":"efficient-storefront-blocks/render/lib/assistant-chat","name":"ASSISTANT_LABELS","hash":"b940e1cb2e6c9c2bcfe2"},{"entry":"efficient-storefront-blocks/render/lib/assistant-chat","name":"ASSISTANT_PLACEHOLDER","hash":"a2eaa99f8124e08cbefc"},{"entry":"efficient-storefront-blocks/render/lib/booking/text-kinds","name":"BOOKING_KIND_PROP","hash":"8d68236ded9f4e703b00"},{"entry":"efficient-storefront-blocks/render/lib/booking/text-kinds","name":"BOOKING_KIND_VARS","hash":"b1cca97a7b94c67ad4fd"},{"entry":"efficient-storefront-blocks/render/lib/booking/text-kinds","name":"BOOKING_TEXT_KIND_LABELS","hash":"da4ba6d64b2cb18dbe41"},{"entry":"efficient-storefront-blocks/render/lib/cart/coupon-preview","name":"COUPON_DEFERRED_MESSAGE","hash":"22ced824fed4b0852420"},{"entry":"efficient-storefront-blocks/render/lib/cart/coupon-preview","name":"COUPON_DEFERRED_TOTAL","hash":"3be46cff3e20feeb5e16"},{"entry":"efficient-storefront-blocks/render/lib/cart/shipping-status","name":"CALCULATED_AT_CHECKOUT","hash":"83e2ec8d14b27771eb95"},{"entry":"efficient-storefront-blocks/render/lib/cart/shipping-status","name":"SHIPPING_ARRANGED","hash":"61ded15f4f01edbf6544"},{"entry":"efficient-storefront-blocks/render/lib/catalog/plp-item","name":"PLP_ALL_TYPES_LABEL","hash":"cfbc57eb1ea5325f6a63"},{"entry":"efficient-storefront-blocks/render/lib/catalog/plp-item","name":"PLP_ANY_TYPE_LABEL","hash":"2b00276d540337eed8fd"},{"entry":"efficient-storefront-blocks/render/lib/catalog/purchase","name":"SPARE_WORDS","hash":"b8d680093fae0c18a322"},{"entry":"efficient-storefront-blocks/render/lib/catalog/relationships","name":"DEFAULT_RELATIONSHIP","hash":"60b3529fa250687bfdb1"},{"entry":"efficient-storefront-blocks/render/lib/catalog/store-product","name":"OPTION_ROW_ATTR","hash":"de1b3446f77111b5b90e"},{"entry":"efficient-storefront-blocks/render/lib/catalog/tax-note","name":"TAX_AT_CHECKOUT","hash":"c6046e38825e9bc6fe17"},{"entry":"efficient-storefront-blocks/render/lib/chat-socket","name":"ACCESS_TOKEN_SUBPROTOCOL","hash":"83e3c0b46765ad509aa4"},{"entry":"efficient-storefront-blocks/render/lib/chat-socket","name":"GUEST_TOKEN_SUBPROTOCOL","hash":"eae362f8c2fbcb57a475"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"CHECKOUT_MEMORY_KEY","hash":"0e8df8db7bd6a30fe934"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"NO_PRESS","hash":"baf22c7ec37e26a35e51"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"PRICES_REQUOTED","hash":"d69dcefb95e67d404c3d"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"PRICES_UNCHECKED","hash":"3c8816a00606075f1ab9"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"BANK_WAITING","hash":"4c76b1d9b5e09ed015d7"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"CHECKOUT_UNAVAILABLE","hash":"a48eff7f6cbb6e7aea11"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"CHECKOUT_WAITING","hash":"6853d10dd2e2a9902a5e"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"LOST_CHANGE","hash":"7242d25ed52183415584"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"NOT_CHECKED","hash":"2193fec8538e8d291976"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"AFTERPAY_CONTEXT_KEY","hash":"4babd72a6777f98bd481"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"GOCARDLESS_CONTEXT_KEY","hash":"0cc542721f035925d7e7"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"KLARNA_CONTEXT_KEY","hash":"d1c096a4282c8fb1d2dc"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"WORLDPAY_CONTEXT_KEY","hash":"bd8919c2dc6cc9346142"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"ZIP_CONTEXT_KEY","hash":"8fab8ab6303f719b9e43"},{"entry":"efficient-storefront-blocks/render/lib/chrome-load","name":"CHROME_LOAD_FAILED_TOKEN","hash":"0e526699b1a4a0f2ca50"},{"entry":"efficient-storefront-blocks/render/lib/chrome-load","name":"CHROME_LOAD_NAMES","hash":"0f4d77d6534fce843cfc"},{"entry":"efficient-storefront-blocks/render/lib/commerce","name":"ADD_TO_BASKET_ATTR","hash":"7eade14f35a6bffa5b3e"},{"entry":"efficient-storefront-blocks/render/lib/commerce","name":"DEFAULT_PURCHASE_CHOICE","hash":"30b62897b9c8dc2fdab8"},{"entry":"efficient-storefront-blocks/render/lib/consent/choice","name":"CONSENT_STORAGE_KEY","hash":"4e8357f5042803e01488"},{"entry":"efficient-storefront-blocks/render/lib/consent/choice","name":"NOT_ASKED","hash":"771aa371940b65715823"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"CONSENT_BUTTONS","hash":"36f7feb986a6917c8e98"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"CONSENT_GPC_RULE","hash":"f3377f4028c34e5ac77b"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"NO_TRACKING_PANEL","hash":"376f6cdf47fca0233256"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"PANEL_ROWS","hash":"6c4a3b418d69c177e703"},{"entry":"efficient-storefront-blocks/render/lib/content/article-body","name":"BLOG_POST_RECORD_TYPE","hash":"c4f55c18170b7364a1af"},{"entry":"efficient-storefront-blocks/render/lib/content/booking-card-seed","name":"BOOKING_SERVICE_FIELDS","hash":"8b588cfa74e4c92aca4f"},{"entry":"efficient-storefront-blocks/render/lib/content/catalog-filter-labels","name":"DEFAULT_CATALOG_FILTER_LABELS","hash":"1cde2dd912d73b49b7bb"},{"entry":"efficient-storefront-blocks/render/lib/content/collection-card-look","name":"COLLECTION_HOVER_ZOOM_CLASS","hash":"2acb372b3f64eb136a0e"},{"entry":"efficient-storefront-blocks/render/lib/content/collection-card-look","name":"COLLECTION_WASH_CLASS","hash":"fd3b3cd26b44e8a13ef8"},{"entry":"efficient-storefront-blocks/render/lib/content/contact-card-seed","name":"CONTACT_CHANNEL_FIELDS","hash":"a75567f5e13cf9d27190"},{"entry":"efficient-storefront-blocks/render/lib/content/country-show-as","name":"COUNTRY_SHOW_AS","hash":"d9c388d86bbf5302fe7f"},{"entry":"efficient-storefront-blocks/render/lib/content/english-variant","name":"US_SPELLING","hash":"daf20bb69a3deb5b31b3"},{"entry":"efficient-storefront-blocks/render/lib/content/events-featured-look","name":"EVENTS_FEATURED_PLACEMENT","hash":"bf50edfb2cfdd7091f9b"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_ROW_FIELDS","hash":"fae530447038618d592b"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_TEMPLATE_LABEL","hash":"098cf8e78820d70795e0"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_TICK_MARK","hash":"28f50937859f4e5f6a6a"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_TICK_VAR","hash":"a21ed7fc3681edf0b737"},{"entry":"efficient-storefront-blocks/render/lib/content/fitment-row-seed","name":"FITMENT_HEAD_TEMPLATE_LABEL","hash":"52121d765bf39936d903"},{"entry":"efficient-storefront-blocks/render/lib/content/fitment-row-seed","name":"FITMENT_ROW_TEMPLATE_LABEL","hash":"3df12c472719442e1be9"},{"entry":"efficient-storefront-blocks/render/lib/content/footer-reveal","name":"FOOTER_REVEAL_ATTR","hash":"114343a3add0823e21a2"},{"entry":"efficient-storefront-blocks/render/lib/content/footer-reveal","name":"FOOTER_SHADOW_ATTR","hash":"7b973365491e5a1d477a"},{"entry":"efficient-storefront-blocks/render/lib/content/footer-reveal","name":"FOOTER_SHADOW_VAR","hash":"ca50d2d1f2da3090e90b"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"HEADER_LINK_OPACITY_ATTR","hash":"f6293ee22c9ca3c4eee5"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"HEADER_LINK_OPACITY_VAR","hash":"ec0721705661cde95d07"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"SITE_MAIN_ATTR","hash":"3f67bb08e6efae005784"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"UNDER_HEADER_SHEET_CLASS","hash":"307c971685e9ea295ca5"},{"entry":"efficient-storefront-blocks/render/lib/content/header-theme","name":"HEADER_THEME_CLASS","hash":"6257798b10763356e7cc"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-buy-seed","name":"HERO_BUY_SLOT_LABEL","hash":"9418847acb1482398ff4"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-option-seed","name":"HERO_OPTION_FIELDS","hash":"87d5e290c4eaa33ee6fa"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-option-seed","name":"HERO_OPTION_SLOT_LABEL","hash":"f627d14b20014412d03d"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-option-seed","name":"HERO_TILE_SLOT_LABEL","hash":"3247ea31beb12f646498"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-seed","name":"HERO_PART","hash":"e70fad083cd8f4398983"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-card-seed","name":"MENU_BLOG_CATEGORIES_SOURCE","hash":"86b6a1f57cd46f47441c"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-entry-type","name":"MENU_ENTRY_SIZE_CLASS","hash":"fe2c841f04414bca9d60"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-placeholder","name":"FOOTER_MENU_PLACEHOLDER_HINT","hash":"be250665f824fab3c40d"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-placeholder","name":"MENU_PLACEHOLDER_LABEL","hash":"f964b526c111fc32bf51"},{"entry":"efficient-storefront-blocks/render/lib/content/product-card-seed","name":"PRODUCT_CARD_FIELDS","hash":"a85374cf14c9e1583815"},{"entry":"efficient-storefront-blocks/render/lib/content/rail-row-seed","name":"RAIL_HEAD_TEMPLATE_LABEL","hash":"759088ef2041a2410717"},{"entry":"efficient-storefront-blocks/render/lib/content/rail-row-seed","name":"RAIL_TEMPLATE_LABEL","hash":"b1ca30d970c6b9d6ab19"},{"entry":"efficient-storefront-blocks/render/lib/content/stock-words","name":"STOCK_WORDS","hash":"60cf2bbdd0b3d04ddccc"},{"entry":"efficient-storefront-blocks/render/lib/content/tab-strip","name":"CURRENT_LINE","hash":"a03eef9182d3e1dc1b78"},{"entry":"efficient-storefront-blocks/render/lib/content/thanks-slot","name":"THANKS_SLOT_LABEL","hash":"e2767bc19ced3d0b015d"},{"entry":"efficient-storefront-blocks/render/lib/countries","name":"COUNTRY_OPTIONS","hash":"5251b1a5ee2d092a6705"},{"entry":"efficient-storefront-blocks/render/lib/document/blocks/commerce/DetailRows/meta","name":"DETAILROWS_SCAFFOLD_ROWS","hash":"32ed730ca95b8ba864fd"},{"entry":"efficient-storefront-blocks/render/lib/document/blocks/service/OpeningHours/meta","name":"OPENING_HOURS_SOURCE","hash":"b5d58535d4ad267a81dd"},{"entry":"efficient-storefront-blocks/render/lib/document/blocks/service/RateTable/meta","name":"RATE_TABLE_SOURCE","hash":"22dcc10d4bba1c29be99"},{"entry":"efficient-storefront-blocks/render/lib/document/footer-page-blocks","name":"MENU_CASE_ATTR","hash":"1d0ec7b244d3feb1f24c"},{"entry":"efficient-storefront-blocks/render/lib/document/subscribe-content-type","name":"SUBSCRIBE_CONTENT_TYPE_FIELDS","hash":"1e3d2fa59bc9234cba01"},{"entry":"efficient-storefront-blocks/render/lib/editor-route","name":"EDITOR_ROUTE_HEADER","hash":"5bc533ad50a45878c9a3"},{"entry":"efficient-storefront-blocks/render/lib/field-input","name":"FIELD_INPUT_CLASS","hash":"223063217a77c0cb1732"},{"entry":"efficient-storefront-blocks/render/lib/field-input","name":"ROW_INPUT_CLASS","hash":"3fac49776668478dc556"},{"entry":"efficient-storefront-blocks/render/lib/field-input","name":"ROW_INPUT_WRAP_CLASS","hash":"e6f592eae348563194b3"},{"entry":"efficient-storefront-blocks/render/lib/forwarded-for","name":"FORWARDED_FOR_HEADER","hash":"af388d8f552346a53b7b"},{"entry":"efficient-storefront-blocks/render/lib/forwarded-for","name":"FORWARDED_HOST_HEADER","hash":"418909359bd311d64cd7"},{"entry":"efficient-storefront-blocks/render/lib/google-tag","name":"GTAG_SRC","hash":"0a0b51f8fc527e2c67ea"},{"entry":"efficient-storefront-blocks/render/lib/header-fit","name":"HEADER_FIT_ATTR","hash":"14a7cb331cf0b28e4650"},{"entry":"efficient-storefront-blocks/render/lib/links/link-rules","name":"PRODUCT_TYPE_FILTER_LABEL","hash":"9a4b85f30dec3ff5f28e"},{"entry":"efficient-storefront-blocks/render/lib/meta-pixel","name":"FBEVENTS_SRC","hash":"ca267d288b3fc3285b1c"},{"entry":"efficient-storefront-blocks/render/lib/newsletter-signup","name":"NEWSLETTER_SOURCE","hash":"3c3fbeae7f5c028acafa"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_COUNT","hash":"157b010bcd1ce2953016"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_DESKTOP_BOTTOM","hash":"e0a6c85fbbf6bc210fb9"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_DESKTOP_Y","hash":"dd9f9187924408dbf493"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_NO_TOP_PHONE","hash":"9379181318e26cabbbfc"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_PHONE_BOTTOM","hash":"5879fcc3c10e440652f8"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_PHONE_Y","hash":"8a425cb7aa6998aa02a0"},{"entry":"efficient-storefront-blocks/render/lib/sections/card-show-defaults","name":"GRID_CARD_SHOW","hash":"34bca21e2f8e304678d7"},{"entry":"efficient-storefront-blocks/render/lib/sections/card-show-defaults","name":"LISTING_CARD_SHOW","hash":"537662a9092e1651d29c"},{"entry":"efficient-storefront-blocks/render/lib/sections/catalog-text-size","name":"CATALOG_TEXT_SIZE","hash":"5085f4825ef3d9e3ec36"},{"entry":"efficient-storefront-blocks/render/lib/sections/catalog-text-size","name":"TOOLBAR_CONTROL_CORNER","hash":"2b310fc318b1f9843d22"},{"entry":"efficient-storefront-blocks/render/lib/sections/content-cap-gutter","name":"CONTENT_CAP_GUTTER","hash":"8f4df3122579c8b5920a"},{"entry":"efficient-storefront-blocks/render/lib/sections/dealer-finder","name":"DEALER_WORDS","hash":"c51e4f35cdf4b2fce10f"},{"entry":"efficient-storefront-blocks/render/lib/sections/fill-row","name":"CARD_TRACKS_CLASS","hash":"969e411813d2d213e420"},{"entry":"efficient-storefront-blocks/render/lib/sections/gallery-toolbar","name":"WALL_PLACED_CELL","hash":"5e5b175f914891cec531"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-arrangement","name":"HERO_LAYOUTS","hash":"16fb1094e3e97199d533"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-gallery","name":"STAGE_PHOTO_BOX","hash":"3261d3fc306371c11ae0"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-stage-edge","name":"STAGE_EDGE_ATTR","hash":"ea8befaed44ffb90121e"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICKY_COLUMNS_CLASS","hash":"7e157f22ec5178875604"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICKY_SECTION_ATTR","hash":"4bbeb5553f37a4f24610"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICK_CELL_ATTR","hash":"5cf2d752f91e846b2d38"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICK_HEIGHT_VAR","hash":"8fa920ef5fa686742253"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"CONTACT_KINDS","hash":"b17d9ac447732252a0c2"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"CONTACT_KIND_NAMES","hash":"0915f373ad60d9376445"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"MESSAGING_ACTION","hash":"3c4d470d3100640cc0cd"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"MESSAGING_APPS","hash":"f29df5e9dffaeac788af"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"MESSAGING_SOURCE","hash":"e58c7622f2075f6f28da"},{"entry":"efficient-storefront-blocks/render/lib/sections/opening-hours","name":"OPENING_SAMPLE_WEEK","hash":"53e0ad8740635cf9592c"},{"entry":"efficient-storefront-blocks/render/lib/sections/opening-hours","name":"OPENING_WORDS","hash":"824d5dd33c165f0c0466"},{"entry":"efficient-storefront-blocks/render/lib/sections/picture-grounds","name":"PICTURE_GROUNDS","hash":"e610fbcd0e3270827bc7"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-grid-columns","name":"CARD_MIN_WIDTH_PX","hash":"f3f1ca9fb823e8091d0d"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-grid-columns","name":"PRODUCT_GRID_COLUMNS","hash":"659352dd124afdd14e06"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-grid-pages","name":"PER_PAGE_RANGE","hash":"7eabb9bbce60597e6926"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-pictures","name":"PRODUCT_PICTURES_SOURCE","hash":"e3bf86c4cc660d948f80"},{"entry":"efficient-storefront-blocks/render/lib/sections/reviews","name":"PRODUCT_REVIEWS_SOURCE","hash":"7cb10e963dbddb875f95"},{"entry":"efficient-storefront-blocks/render/lib/sections/section-band","name":"BAND_CAP","hash":"5d1e0a92b0b52ac0ddd5"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"DEFAULT_FILTER_LOOK","hash":"4c4626930d7fdb97fb33"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"DEFAULT_SHOWN_FILTERS","hash":"9b70b88c6996eb2c5ac9"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"FILTER_LOOK_OPTIONS","hash":"35508fe3fb3d5048e7e3"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"FILTER_LOOK_PHONE_OPTIONS","hash":"7ded026e98a05f8ca220"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"EMPTY_DRAFT","hash":"ca4d262b5f0c7fc10d3e"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"FIND_WORDS","hash":"bd24c0e74b47c5ea7045"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"LINK_WORDS","hash":"b33b7e265a48ab63a92c"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_PATH","hash":"cf6ffe3a912663c25528"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_VERIFY_PATH","hash":"d6dd63114e2bd66f3534"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_WAITING_PATH","hash":"2da5160219e3f77b3b8a"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_WORDS","hash":"9205fb2cfcc26c53d67d"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SLUG_PROBLEMS","hash":"b736cff4176ac1743140"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"WORKSPACE_FINDS_PATH","hash":"3848cc31cd457c19e05a"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"WORKSPACE_FIND_OPEN_PATH","hash":"e257fdb5ced41511fa0e"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-catalogue","name":"COUNTRY_CURRENCY","hash":"45159f1735cab8e2f9b0"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"BANNER","hash":"0808f77cb231dacbcfa5"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"CARD","hash":"e0e7f4262a87dc29f481"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"PRIMARY","hash":"85f63ff97bbfdca7e3ba"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"QUIET","hash":"4d50094472a0efea273f"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"TITLE","hash":"c930c05a182753543bd6"},{"entry":"efficient-storefront-blocks/render/lib/sections/submit-build-copy","name":"SUBMIT_DEFAULTS","hash":"d00cfb66e3566bb5b473"},{"entry":"efficient-storefront-blocks/render/lib/site-headers","name":"PREVIEW_TOKEN_HEADER","hash":"2925530cba4bcfa80c37"},{"entry":"efficient-storefront-blocks/render/lib/site-headers","name":"SITE_HOST_HEADER","hash":"a9cf838a8a81412d5806"},{"entry":"efficient-storefront-blocks/render/lib/site-headers","name":"SITE_SLUG_HEADER","hash":"8032c3cac0ba70cdbe4a"},{"entry":"efficient-storefront-blocks/render/lib/storefront-page-order","name":"PAGE_ORDER","hash":"940434eff1012a4e862e"},{"entry":"efficient-storefront-blocks/render/lib/submit/text-kinds","name":"SUBMIT_KIND_PROP","hash":"889d55165a73529c4df3"},{"entry":"efficient-storefront-blocks/render/lib/submit/text-kinds","name":"SUBMIT_KIND_VARS","hash":"89423cd7dbf2459d615b"},{"entry":"efficient-storefront-blocks/render/lib/submit/text-kinds","name":"SUBMIT_TEXT_KIND_LABELS","hash":"b4659303c8e527aff042"},{"entry":"efficient-storefront-blocks/render/lib/tyres/spec-sheet","name":"TYRE_SPEC_KEYS","hash":"7a8897a753c37b6c5c54"},{"entry":"efficient-storefront-blocks/render/lib/tyres/tyre-fit-copy","name":"TYRE_FIT_LABEL","hash":"406a829cbae42f5a38b7"},{"entry":"efficient-storefront-blocks/render/lib/tyres/tyre-size","name":"TYRE_SIZE_PART_LABELS","hash":"953152b2a5a15ec7f093"},{"entry":"efficient-storefront-blocks/render/lib/wheels/catalog-default-layout","name":"EMPTY_CATALOG_DATA","hash":"27c45fa6088beefd55dc"},{"entry":"efficient-storefront-blocks/render/lib/wheels/catalog-filters","name":"EMPTY_FILTERS","hash":"23ea55a0609305905167"},{"entry":"efficient-storefront-blocks/render/lib/wheels/catalog-filters","name":"SORT_LABELS","hash":"b9c27f73c1199d78012e"},{"entry":"efficient-storefront-blocks/render/lib/wheels/finish-defaults","name":"FALLBACK_FINISH","hash":"bce0e41d855cfb58ceaa"},{"entry":"efficient-storefront-blocks/render/lib/wheels/finish-defaults","name":"FINISH_FAMILY_SWATCHES","hash":"d2b8ecad733e2c04789a"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-options","name":"DEFAULT_VEHICLE","hash":"701f384d9025377e5776"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-options","name":"FILTER_PROCESS","hash":"d38fad80a485285cbe45"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-options","name":"POPULAR","hash":"76acbe2fce6b05a8f4af"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-row-fit","name":"ROW_ASK_DETAIL","hash":"a56b35f4e52b1549e13d"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-row-fit","name":"ROW_ASK_LEAD","hash":"40c9dd04f58426489800"},{"entry":"efficient-storefront-blocks/render/lib/wheels/grid-source","name":"ALL_PRODUCTS_NAME","hash":"2b00276d540337eed8fd"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"EMPTY_PLP_FILTERS","hash":"4d26d30b04b9a45d3c3b"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_FACET_KEYS","hash":"deac166860a017b3b45d"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_FACET_LABELS","hash":"38f8b5dea7acee64d2b4"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_PARAM","hash":"a776cfba49a54ad5f394"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_SORT_LABELS","hash":"ec4f165e76249f0a7095"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-grid","name":"PLP_GRID_GAP_VAR","hash":"894381ba17dfdbb077d8"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-grid","name":"PLP_PHONE_GAP_VAR","hash":"b10d001160aa2ecf797e"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-vehicle-params","name":"VEHICLE_PARAM","hash":"77e26509aedbd6836fa6"},{"entry":"efficient-storefront-blocks/render/lib/wheels/price-display","name":"SET_QUOTE_LABEL","hash":"9c022f85d011856c320c"},{"entry":"efficient-storefront-blocks/render/lib/wheels/price-display","name":"UNPRICED_LABEL","hash":"9ba4d1b8d995ae74b42a"},{"entry":"efficient-storefront-blocks/render/lib/wheels/render-fit","name":"REFERENCE_NOTE","hash":"3409723ac32360af6b82"},{"entry":"efficient-storefront-blocks/render/lib/wheels/set-mode","name":"AXLE_WORDS","hash":"ff782a435b755ac79e20"},{"entry":"efficient-storefront-blocks/render/lib/wheels/set-mode","name":"HAND_WORDS","hash":"7f6c37026dd5e6520af9"},{"entry":"efficient-storefront-blocks/render/lib/wheels/set-mode","name":"PER_WHEEL_UNIT","hash":"ab4ce39ba1b09bbbb560"},{"entry":"efficient-storefront-blocks/render/lib/wheels/spec-sheet","name":"SPEC_EMPTY_ROWS","hash":"7ccf16050615324893b0"},{"entry":"efficient-storefront-blocks/render/lib/wheels/spec-sheet","name":"SPEC_ROW_LINES","hash":"c94fd3d0a180ca1c2a0b"},{"entry":"efficient-storefront-blocks/render/lib/wheels/spec-sheet","name":"SPEC_SHEET_ROWS","hash":"47621a1551542f4d61bd"},{"entry":"efficient-storefront-blocks/render/lib/wheels/tyre-render","name":"DEFAULT_TYRE_PROFILE","hash":"245225f595353d6043aa"},{"entry":"efficient-storefront-blocks/render/lib/wheels/tyre-render","name":"TREAD_GENERIC","hash":"55610fd84d3dddcf3b39"},{"entry":"efficient-storefront-blocks/render/lib/wheels/tyre-render","name":"TREAD_PATTERNS","hash":"b6934ddf0107109a50aa"},{"entry":"efficient-storefront-blocks/render/lib/wheels/vehicle-field-focus","name":"VEHICLE_FIELD_LABEL","hash":"7bf4126e4ce756a5ac64"},{"entry":"efficient-storefront-blocks/render/lib/wheels/vehicle-memory","name":"VEHICLE_STORAGE_KEY","hash":"cc078afc905860616518"},{"entry":"efficient-storefront-blocks/render/lib/wheels/wheel-specs","name":"SPECS_BY_SLUG","hash":"a051024590ddd775f06e"},{"entry":"efficient-storefront-blocks/render/lib/wheels/wheels","name":"HEX","hash":"5e32dacbf0006fe49840"}]}
|
|
1
|
+
{"schema":1,"package":"efficient-storefront-blocks","version":"0.134.1","entries":[{"entry":"efficient-storefront-blocks/editor/components/CategorySource","name":"ALL_PRODUCT_CONTENT_ANSWERS","hash":"0b0cc3e1b4e844e2f5b3"},{"entry":"efficient-storefront-blocks/editor/components/CategorySource","name":"PRODUCT_CONTENT_PRODUCT_PAGE","hash":"c489d57d128e8c35b6f3"},{"entry":"efficient-storefront-blocks/editor/components/FormPicker","name":"CREATE_SENTINEL","hash":"316857abb1f211e43c0b"},{"entry":"efficient-storefront-blocks/editor/components/HeaderSettingsPanel","name":"HEADER_TABS_ID_PREFIX","hash":"c04f04be97ff0825054a"},{"entry":"efficient-storefront-blocks/editor/components/ProductSourceRows","name":"PRODUCT_SOURCE_CHOICE","hash":"4e740918441b114c6725"},{"entry":"efficient-storefront-blocks/editor/lib/api/section-templates","name":"SECTION_TEMPLATES_KEY","hash":"33134c9c6ad42ac207cc"},{"entry":"efficient-storefront-blocks/editor/lib/editor-currency-source","name":"NO_CURRENCY_CONFIGURED","hash":"e8b81a4506c44ff62b9d"},{"entry":"efficient-storefront-blocks/editor/lib/storefront-editor-words","name":"STOREFRONT_BLOCKS_WORDS","hash":"6c341b3ccc209684ee0e"},{"entry":"efficient-storefront-blocks/editor/lib/storefront-editor-words-kept","name":"KEPT_EDITOR_PHRASES","hash":"2548b75c9f82db4294c1"},{"entry":"efficient-storefront-blocks/render/components/CartContext","name":"CART_STORAGE_KEY","hash":"8ac40997cd66a0de444b"},{"entry":"efficient-storefront-blocks/render/components/CartDrawer","name":"CART_DRAWER_LABEL","hash":"297749047b385b59e2eb"},{"entry":"efficient-storefront-blocks/render/components/ChatWidget","name":"DEFAULT_GREETING","hash":"a57a6434064e72e13af8"},{"entry":"efficient-storefront-blocks/render/components/ChatWidget","name":"DEFAULT_SUBTITLE","hash":"3f5319ca181e30769e9b"},{"entry":"efficient-storefront-blocks/render/components/ChatWidget","name":"DEFAULT_TITLE","hash":"2fbd5e47e8166b4097fd"},{"entry":"efficient-storefront-blocks/render/components/ConsentBanner","name":"CONSENT_CHOICE_BUTTON","hash":"290383b2039e235800c0"},{"entry":"efficient-storefront-blocks/render/components/ConsentBanner","name":"CONSENT_TEXT_BUTTON","hash":"f53f388bff98eaafe344"},{"entry":"efficient-storefront-blocks/render/components/ContactRouting","name":"CHANNEL_HINTS","hash":"c78843d9b4b333ef6e6e"},{"entry":"efficient-storefront-blocks/render/components/CurrencyContext","name":"COUNTRY_STORAGE_KEY","hash":"678f6e13ff8b0a1bd740"},{"entry":"efficient-storefront-blocks/render/components/DefaultProductHero","name":"DEFAULT_PRODUCT_HERO_ID","hash":"5d45c20323eac37b347e"},{"entry":"efficient-storefront-blocks/render/components/EuTyreLabels","name":"EU_LABEL_BAND","hash":"d758298564910deea222"},{"entry":"efficient-storefront-blocks/render/components/Events","name":"EVENTS_FEATURED_WIDTH","hash":"1531e6c4f87f88f5fe6f"},{"entry":"efficient-storefront-blocks/render/components/FooterSocial","name":"SOCIAL_ICON_PX","hash":"ffa651925b5d82519b2d"},{"entry":"efficient-storefront-blocks/render/components/FormBlock","name":"FORM_BG_BUILT_IN","hash":"31ffe9c4f7890e68ee0e"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_GRID_ATTR","hash":"f388f683a5d55cf3f20d"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_ITEM_HINTS","hash":"c6aaeb8eaad510d6aa49"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_TILE_ATTR","hash":"7d21ccd317095a8773cc"},{"entry":"efficient-storefront-blocks/render/components/GalleryItem","name":"GALLERY_TILE_PARTS","hash":"93f554ad742f3ae6e5d0"},{"entry":"efficient-storefront-blocks/render/components/GridCardTemplate","name":"CARD_WORDS_OVER_CLASS","hash":"b4cd42a329f2b5709f49"},{"entry":"efficient-storefront-blocks/render/components/GridCardTemplate","name":"GRID_CARD_RULES","hash":"fa8d286d56ab620f485c"},{"entry":"efficient-storefront-blocks/render/components/GridCardTemplate","name":"LISTING_CARD_RULES","hash":"020b7ba8504c4a55fb86"},{"entry":"efficient-storefront-blocks/render/components/HeaderToolBlocks","name":"SEARCH_STYLES","hash":"d5114124f0dbf3eb4842"},{"entry":"efficient-storefront-blocks/render/components/HeaderTools","name":"TOOL_ICON_BUTTON_CLASS","hash":"038f31711f97147e29a1"},{"entry":"efficient-storefront-blocks/render/components/HeaderTools","name":"UTIL_WORDS","hash":"66c5e1b27d8dc890c7ab"},{"entry":"efficient-storefront-blocks/render/components/HeaderTools","name":"UTIL_WORD_CLASS","hash":"3e3b1ce635fd3599f0f4"},{"entry":"efficient-storefront-blocks/render/components/Lightbox","name":"LIGHTBOX_CLOSE_TINT","hash":"98dfc120f901c148d3b6"},{"entry":"efficient-storefront-blocks/render/components/NoCurrencyNote","name":"NO_CURRENCY_NOTE","hash":"56541680e6290b4697b8"},{"entry":"efficient-storefront-blocks/render/components/PopupFrame","name":"SITE_TINT","hash":"8e0f38be92704586068a"},{"entry":"efficient-storefront-blocks/render/components/ProductGridSection","name":"FEW_CARDS","hash":"12767aa2a323b5858ce1"},{"entry":"efficient-storefront-blocks/render/components/QuoteLink","name":"FITTER_POPUP_SLUG","hash":"0ca44fa7553f01a7e004"},{"entry":"efficient-storefront-blocks/render/components/QuoteLink","name":"QUOTE_HREF","hash":"84a6d242e63c52ef59e2"},{"entry":"efficient-storefront-blocks/render/components/Reviews","name":"FRAME_OWN_BOX","hash":"6b699c4b2acb3516c063"},{"entry":"efficient-storefront-blocks/render/components/SectionNotice","name":"SECTION_NOTICE_TEXT_CLASS","hash":"2533ef8ed0276714fa8f"},{"entry":"efficient-storefront-blocks/render/components/SiteLegalContext","name":"LEGAL_WORDS","hash":"e7c322a37dc7a1cd6bfb"},{"entry":"efficient-storefront-blocks/render/components/Subscribe","name":"SIGNUP_CHECK_EMAIL","hash":"f4144bee80d82b3bad61"},{"entry":"efficient-storefront-blocks/render/components/Subscribe","name":"SIGNUP_FAILED","hash":"8c724a650566cefda1aa"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"BAND_INLINE","hash":"d758298564910deea222"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"BAND_OWN_BOX","hash":"78662c851f60398af17f"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"TYRE_FITMENT_DESCRIPTION","hash":"a21e36cfcf45f2c11407"},{"entry":"efficient-storefront-blocks/render/components/TyreVehicleFitment","name":"TYRE_FITMENT_TITLE","hash":"45a48d3731a53622c8df"},{"entry":"efficient-storefront-blocks/render/components/WheelCardFrame","name":"CARD_ROWS_GRID_CLASS","hash":"2b022efcc507fc7857fc"},{"entry":"efficient-storefront-blocks/render/components/booking/BookingBox","name":"BOOKING_REGION_NAMES","hash":"d9f4452346b99d711a11"},{"entry":"efficient-storefront-blocks/render/components/booking/BookingFormState","name":"SAMPLE_CONFIRMATION","hash":"41490b5b9238cd0a316d"},{"entry":"efficient-storefront-blocks/render/components/buy-row","name":"BUY_ROW_CLASS","hash":"3cea7cf5049cf4657da6"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardBuyButton","name":"CARD_PAGE_WORDS","hash":"62de67275507d7a1abf3"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardProductPicture","name":"PICTURE_ZOOM_WELL_ATTR","hash":"3393c68dff371014ae6a"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardProductPicture","name":"WHEEL_ZOOM_CLASS","hash":"8941cd261cfc5aab03fd"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"CARD_CHIP_LINE_CLASS","hash":"3cacba637a9441ab96bc"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"CARD_CHIP_ROW_CLASS","hash":"7f6417551c842b1bd4f2"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"SIZE_PART_ATTR","hash":"51422891446613d7f0d4"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSizes","name":"TYRE_BUY_CHIPS_CLASS","hash":"7a717cc1c9e43c00b9ab"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/CardSpecs","name":"CARD_SPEC_FIELD_CLASS","hash":"3e3b1ce635fd3599f0f4"},{"entry":"efficient-storefront-blocks/render/components/card-pieces/card-row","name":"CARD_TEXT_SIZE","hash":"5d36c2b9b52e6af0b4fe"},{"entry":"efficient-storefront-blocks/render/components/catalog/CatalogFilterContext","name":"COLLECTION_ATTR","hash":"d7a067c8f31fe8474132"},{"entry":"efficient-storefront-blocks/render/components/catalog/CatalogFilterContext","name":"NO_VEHICLE","hash":"c1de3462e6a35e3a9da6"},{"entry":"efficient-storefront-blocks/render/components/checkout/checkout-state","name":"NO_PAYMENT_METHOD_NOTE","hash":"88010ff0af558b39af8d"},{"entry":"efficient-storefront-blocks/render/components/checkout/checkout-state","name":"SHIPPING_RETRY_NOTE","hash":"1d149afb93fffb3415fe"},{"entry":"efficient-storefront-blocks/render/components/fitment/vehicle-level-state","name":"VEHICLE_FIELD_NEEDED","hash":"27cee9f8eb9e7c1cf2ed"},{"entry":"efficient-storefront-blocks/render/components/formSubmission","name":"SUBMIT_ERROR","hash":"e7c0618b71ece4639dc7"},{"entry":"efficient-storefront-blocks/render/components/product-hero/OptionLooks","name":"DROPDOWN_BUTTON","hash":"936742365812023c2b70"},{"entry":"efficient-storefront-blocks/render/components/product-hero/stage-photo","name":"STAGE_IMAGE_SIZES","hash":"d893628ea202f440f5a3"},{"entry":"efficient-storefront-blocks/render/components/wheels-plp/PlpFacetRows","name":"RAIL_OWNER_TEMPLATES","hash":"ff4b4b231cbb19b7c0a7"},{"entry":"efficient-storefront-blocks/render/lib/api/chat","name":"CHAT_PUBLIC_BASE","hash":"c7ba0a0a42b8627f64eb"},{"entry":"efficient-storefront-blocks/render/lib/api/generated-upload-limits","name":"UPLOAD_LIMITS","hash":"195528d63c94e42a8ef2"},{"entry":"efficient-storefront-blocks/render/lib/api/index","name":"EFFICIENT_CLIENT_CLOSED_MESSAGE","hash":"d415eec954a909efdbb7"},{"entry":"efficient-storefront-blocks/render/lib/assistant-chat","name":"ASSISTANT_LABELS","hash":"b940e1cb2e6c9c2bcfe2"},{"entry":"efficient-storefront-blocks/render/lib/assistant-chat","name":"ASSISTANT_PLACEHOLDER","hash":"a2eaa99f8124e08cbefc"},{"entry":"efficient-storefront-blocks/render/lib/booking/text-kinds","name":"BOOKING_KIND_PROP","hash":"8d68236ded9f4e703b00"},{"entry":"efficient-storefront-blocks/render/lib/booking/text-kinds","name":"BOOKING_KIND_VARS","hash":"b1cca97a7b94c67ad4fd"},{"entry":"efficient-storefront-blocks/render/lib/booking/text-kinds","name":"BOOKING_TEXT_KIND_LABELS","hash":"da4ba6d64b2cb18dbe41"},{"entry":"efficient-storefront-blocks/render/lib/cart/coupon-preview","name":"COUPON_DEFERRED_MESSAGE","hash":"22ced824fed4b0852420"},{"entry":"efficient-storefront-blocks/render/lib/cart/coupon-preview","name":"COUPON_DEFERRED_TOTAL","hash":"3be46cff3e20feeb5e16"},{"entry":"efficient-storefront-blocks/render/lib/cart/shipping-status","name":"CALCULATED_AT_CHECKOUT","hash":"83e2ec8d14b27771eb95"},{"entry":"efficient-storefront-blocks/render/lib/cart/shipping-status","name":"SHIPPING_ARRANGED","hash":"61ded15f4f01edbf6544"},{"entry":"efficient-storefront-blocks/render/lib/catalog/plp-item","name":"PLP_ALL_TYPES_LABEL","hash":"cfbc57eb1ea5325f6a63"},{"entry":"efficient-storefront-blocks/render/lib/catalog/plp-item","name":"PLP_ANY_TYPE_LABEL","hash":"2b00276d540337eed8fd"},{"entry":"efficient-storefront-blocks/render/lib/catalog/purchase","name":"SPARE_WORDS","hash":"b8d680093fae0c18a322"},{"entry":"efficient-storefront-blocks/render/lib/catalog/relationships","name":"DEFAULT_RELATIONSHIP","hash":"60b3529fa250687bfdb1"},{"entry":"efficient-storefront-blocks/render/lib/catalog/store-product","name":"OPTION_ROW_ATTR","hash":"de1b3446f77111b5b90e"},{"entry":"efficient-storefront-blocks/render/lib/catalog/tax-note","name":"TAX_AT_CHECKOUT","hash":"c6046e38825e9bc6fe17"},{"entry":"efficient-storefront-blocks/render/lib/chat-socket","name":"ACCESS_TOKEN_SUBPROTOCOL","hash":"83e3c0b46765ad509aa4"},{"entry":"efficient-storefront-blocks/render/lib/chat-socket","name":"GUEST_TOKEN_SUBPROTOCOL","hash":"eae362f8c2fbcb57a475"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"CHECKOUT_MEMORY_KEY","hash":"0e8df8db7bd6a30fe934"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"NO_PRESS","hash":"baf22c7ec37e26a35e51"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"PRICES_REQUOTED","hash":"d69dcefb95e67d404c3d"},{"entry":"efficient-storefront-blocks/render/lib/checkout/checkout-memory","name":"PRICES_UNCHECKED","hash":"3c8816a00606075f1ab9"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"BANK_WAITING","hash":"4c76b1d9b5e09ed015d7"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"CHECKOUT_UNAVAILABLE","hash":"a48eff7f6cbb6e7aea11"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"CHECKOUT_WAITING","hash":"6853d10dd2e2a9902a5e"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"LOST_CHANGE","hash":"7242d25ed52183415584"},{"entry":"efficient-storefront-blocks/render/lib/checkout/pay-first","name":"NOT_CHECKED","hash":"2193fec8538e8d291976"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"AFTERPAY_CONTEXT_KEY","hash":"4babd72a6777f98bd481"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"GOCARDLESS_CONTEXT_KEY","hash":"0cc542721f035925d7e7"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"KLARNA_CONTEXT_KEY","hash":"d1c096a4282c8fb1d2dc"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"WORLDPAY_CONTEXT_KEY","hash":"bd8919c2dc6cc9346142"},{"entry":"efficient-storefront-blocks/render/lib/checkout/wallet-return","name":"ZIP_CONTEXT_KEY","hash":"8fab8ab6303f719b9e43"},{"entry":"efficient-storefront-blocks/render/lib/chrome-load","name":"CHROME_LOAD_FAILED_TOKEN","hash":"0e526699b1a4a0f2ca50"},{"entry":"efficient-storefront-blocks/render/lib/chrome-load","name":"CHROME_LOAD_NAMES","hash":"0f4d77d6534fce843cfc"},{"entry":"efficient-storefront-blocks/render/lib/commerce","name":"ADD_TO_BASKET_ATTR","hash":"7eade14f35a6bffa5b3e"},{"entry":"efficient-storefront-blocks/render/lib/commerce","name":"DEFAULT_PURCHASE_CHOICE","hash":"30b62897b9c8dc2fdab8"},{"entry":"efficient-storefront-blocks/render/lib/consent/choice","name":"CONSENT_STORAGE_KEY","hash":"4e8357f5042803e01488"},{"entry":"efficient-storefront-blocks/render/lib/consent/choice","name":"NOT_ASKED","hash":"771aa371940b65715823"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"CONSENT_BUTTONS","hash":"36f7feb986a6917c8e98"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"CONSENT_GPC_RULE","hash":"f3377f4028c34e5ac77b"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"NO_TRACKING_PANEL","hash":"376f6cdf47fca0233256"},{"entry":"efficient-storefront-blocks/render/lib/consent/rules","name":"PANEL_ROWS","hash":"6c4a3b418d69c177e703"},{"entry":"efficient-storefront-blocks/render/lib/content/article-body","name":"BLOG_POST_RECORD_TYPE","hash":"c4f55c18170b7364a1af"},{"entry":"efficient-storefront-blocks/render/lib/content/booking-card-seed","name":"BOOKING_SERVICE_FIELDS","hash":"8b588cfa74e4c92aca4f"},{"entry":"efficient-storefront-blocks/render/lib/content/catalog-filter-labels","name":"DEFAULT_CATALOG_FILTER_LABELS","hash":"1cde2dd912d73b49b7bb"},{"entry":"efficient-storefront-blocks/render/lib/content/collection-card-look","name":"COLLECTION_HOVER_ZOOM_CLASS","hash":"2acb372b3f64eb136a0e"},{"entry":"efficient-storefront-blocks/render/lib/content/collection-card-look","name":"COLLECTION_WASH_CLASS","hash":"fd3b3cd26b44e8a13ef8"},{"entry":"efficient-storefront-blocks/render/lib/content/contact-card-seed","name":"CONTACT_CHANNEL_FIELDS","hash":"a75567f5e13cf9d27190"},{"entry":"efficient-storefront-blocks/render/lib/content/country-show-as","name":"COUNTRY_SHOW_AS","hash":"d9c388d86bbf5302fe7f"},{"entry":"efficient-storefront-blocks/render/lib/content/english-variant","name":"US_SPELLING","hash":"daf20bb69a3deb5b31b3"},{"entry":"efficient-storefront-blocks/render/lib/content/events-featured-look","name":"EVENTS_FEATURED_PLACEMENT","hash":"bf50edfb2cfdd7091f9b"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_ROW_FIELDS","hash":"fae530447038618d592b"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_TEMPLATE_LABEL","hash":"098cf8e78820d70795e0"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_TICK_MARK","hash":"28f50937859f4e5f6a6a"},{"entry":"efficient-storefront-blocks/render/lib/content/facet-row-seed","name":"FACET_TICK_VAR","hash":"a21ed7fc3681edf0b737"},{"entry":"efficient-storefront-blocks/render/lib/content/fitment-row-seed","name":"FITMENT_HEAD_TEMPLATE_LABEL","hash":"52121d765bf39936d903"},{"entry":"efficient-storefront-blocks/render/lib/content/fitment-row-seed","name":"FITMENT_ROW_TEMPLATE_LABEL","hash":"3df12c472719442e1be9"},{"entry":"efficient-storefront-blocks/render/lib/content/footer-reveal","name":"FOOTER_REVEAL_ATTR","hash":"114343a3add0823e21a2"},{"entry":"efficient-storefront-blocks/render/lib/content/footer-reveal","name":"FOOTER_SHADOW_ATTR","hash":"7b973365491e5a1d477a"},{"entry":"efficient-storefront-blocks/render/lib/content/footer-reveal","name":"FOOTER_SHADOW_VAR","hash":"ca50d2d1f2da3090e90b"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"HEADER_LINK_OPACITY_ATTR","hash":"f6293ee22c9ca3c4eee5"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"HEADER_LINK_OPACITY_VAR","hash":"ec0721705661cde95d07"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"SITE_MAIN_ATTR","hash":"3f67bb08e6efae005784"},{"entry":"efficient-storefront-blocks/render/lib/content/header-bar","name":"UNDER_HEADER_SHEET_CLASS","hash":"307c971685e9ea295ca5"},{"entry":"efficient-storefront-blocks/render/lib/content/header-theme","name":"HEADER_THEME_CLASS","hash":"6257798b10763356e7cc"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-buy-seed","name":"HERO_BUY_SLOT_LABEL","hash":"9418847acb1482398ff4"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-option-seed","name":"HERO_OPTION_FIELDS","hash":"87d5e290c4eaa33ee6fa"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-option-seed","name":"HERO_OPTION_SLOT_LABEL","hash":"f627d14b20014412d03d"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-option-seed","name":"HERO_TILE_SLOT_LABEL","hash":"3247ea31beb12f646498"},{"entry":"efficient-storefront-blocks/render/lib/content/hero-seed","name":"HERO_PART","hash":"e70fad083cd8f4398983"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-card-seed","name":"MENU_BLOG_CATEGORIES_SOURCE","hash":"86b6a1f57cd46f47441c"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-entry-type","name":"MENU_ENTRY_SIZE_CLASS","hash":"fe2c841f04414bca9d60"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-placeholder","name":"FOOTER_MENU_PLACEHOLDER_HINT","hash":"be250665f824fab3c40d"},{"entry":"efficient-storefront-blocks/render/lib/content/menu-placeholder","name":"MENU_PLACEHOLDER_LABEL","hash":"f964b526c111fc32bf51"},{"entry":"efficient-storefront-blocks/render/lib/content/product-card-seed","name":"PRODUCT_CARD_FIELDS","hash":"a85374cf14c9e1583815"},{"entry":"efficient-storefront-blocks/render/lib/content/rail-row-seed","name":"RAIL_HEAD_TEMPLATE_LABEL","hash":"759088ef2041a2410717"},{"entry":"efficient-storefront-blocks/render/lib/content/rail-row-seed","name":"RAIL_TEMPLATE_LABEL","hash":"b1ca30d970c6b9d6ab19"},{"entry":"efficient-storefront-blocks/render/lib/content/stock-words","name":"STOCK_WORDS","hash":"60cf2bbdd0b3d04ddccc"},{"entry":"efficient-storefront-blocks/render/lib/content/tab-strip","name":"CURRENT_LINE","hash":"a03eef9182d3e1dc1b78"},{"entry":"efficient-storefront-blocks/render/lib/content/thanks-slot","name":"THANKS_SLOT_LABEL","hash":"e2767bc19ced3d0b015d"},{"entry":"efficient-storefront-blocks/render/lib/countries","name":"COUNTRY_OPTIONS","hash":"5251b1a5ee2d092a6705"},{"entry":"efficient-storefront-blocks/render/lib/document/blocks/commerce/DetailRows/meta","name":"DETAILROWS_SCAFFOLD_ROWS","hash":"32ed730ca95b8ba864fd"},{"entry":"efficient-storefront-blocks/render/lib/document/blocks/service/OpeningHours/meta","name":"OPENING_HOURS_SOURCE","hash":"b5d58535d4ad267a81dd"},{"entry":"efficient-storefront-blocks/render/lib/document/blocks/service/RateTable/meta","name":"RATE_TABLE_SOURCE","hash":"22dcc10d4bba1c29be99"},{"entry":"efficient-storefront-blocks/render/lib/document/footer-page-blocks","name":"MENU_CASE_ATTR","hash":"1d0ec7b244d3feb1f24c"},{"entry":"efficient-storefront-blocks/render/lib/document/subscribe-content-type","name":"SUBSCRIBE_CONTENT_TYPE_FIELDS","hash":"1e3d2fa59bc9234cba01"},{"entry":"efficient-storefront-blocks/render/lib/editor-route","name":"EDITOR_ROUTE_HEADER","hash":"5bc533ad50a45878c9a3"},{"entry":"efficient-storefront-blocks/render/lib/field-input","name":"FIELD_INPUT_CLASS","hash":"223063217a77c0cb1732"},{"entry":"efficient-storefront-blocks/render/lib/field-input","name":"ROW_INPUT_CLASS","hash":"3fac49776668478dc556"},{"entry":"efficient-storefront-blocks/render/lib/field-input","name":"ROW_INPUT_WRAP_CLASS","hash":"e6f592eae348563194b3"},{"entry":"efficient-storefront-blocks/render/lib/forwarded-for","name":"FORWARDED_FOR_HEADER","hash":"af388d8f552346a53b7b"},{"entry":"efficient-storefront-blocks/render/lib/forwarded-for","name":"FORWARDED_HOST_HEADER","hash":"418909359bd311d64cd7"},{"entry":"efficient-storefront-blocks/render/lib/google-tag","name":"GTAG_SRC","hash":"0a0b51f8fc527e2c67ea"},{"entry":"efficient-storefront-blocks/render/lib/header-fit","name":"HEADER_FIT_ATTR","hash":"14a7cb331cf0b28e4650"},{"entry":"efficient-storefront-blocks/render/lib/links/link-rules","name":"PRODUCT_TYPE_FILTER_LABEL","hash":"9a4b85f30dec3ff5f28e"},{"entry":"efficient-storefront-blocks/render/lib/meta-pixel","name":"FBEVENTS_SRC","hash":"ca267d288b3fc3285b1c"},{"entry":"efficient-storefront-blocks/render/lib/newsletter-signup","name":"NEWSLETTER_SOURCE","hash":"3c3fbeae7f5c028acafa"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_COUNT","hash":"157b010bcd1ce2953016"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_DESKTOP_BOTTOM","hash":"e0a6c85fbbf6bc210fb9"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_DESKTOP_Y","hash":"dd9f9187924408dbf493"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_NO_TOP_PHONE","hash":"9379181318e26cabbbfc"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_PHONE_BOTTOM","hash":"5879fcc3c10e440652f8"},{"entry":"efficient-storefront-blocks/render/lib/sections/band-padding","name":"FRAME_ROOM_PHONE_Y","hash":"8a425cb7aa6998aa02a0"},{"entry":"efficient-storefront-blocks/render/lib/sections/card-show-defaults","name":"GRID_CARD_SHOW","hash":"34bca21e2f8e304678d7"},{"entry":"efficient-storefront-blocks/render/lib/sections/card-show-defaults","name":"LISTING_CARD_SHOW","hash":"537662a9092e1651d29c"},{"entry":"efficient-storefront-blocks/render/lib/sections/catalog-text-size","name":"CATALOG_TEXT_SIZE","hash":"5085f4825ef3d9e3ec36"},{"entry":"efficient-storefront-blocks/render/lib/sections/catalog-text-size","name":"TOOLBAR_CONTROL_CORNER","hash":"2b310fc318b1f9843d22"},{"entry":"efficient-storefront-blocks/render/lib/sections/content-cap-gutter","name":"CONTENT_CAP_GUTTER","hash":"8f4df3122579c8b5920a"},{"entry":"efficient-storefront-blocks/render/lib/sections/dealer-finder","name":"DEALER_WORDS","hash":"c51e4f35cdf4b2fce10f"},{"entry":"efficient-storefront-blocks/render/lib/sections/fill-row","name":"CARD_TRACKS_CLASS","hash":"969e411813d2d213e420"},{"entry":"efficient-storefront-blocks/render/lib/sections/gallery-toolbar","name":"WALL_PLACED_CELL","hash":"5e5b175f914891cec531"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-arrangement","name":"HERO_LAYOUTS","hash":"16fb1094e3e97199d533"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-gallery","name":"STAGE_PHOTO_BOX","hash":"3261d3fc306371c11ae0"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-stage-edge","name":"STAGE_EDGE_ATTR","hash":"ea8befaed44ffb90121e"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICKY_COLUMNS_CLASS","hash":"7e157f22ec5178875604"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICKY_SECTION_ATTR","hash":"4bbeb5553f37a4f24610"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICK_CELL_ATTR","hash":"5cf2d752f91e846b2d38"},{"entry":"efficient-storefront-blocks/render/lib/sections/hero-sticky","name":"STICK_HEIGHT_VAR","hash":"8fa920ef5fa686742253"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"CONTACT_KINDS","hash":"b17d9ac447732252a0c2"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"CONTACT_KIND_NAMES","hash":"0915f373ad60d9376445"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"MESSAGING_ACTION","hash":"3c4d470d3100640cc0cd"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"MESSAGING_APPS","hash":"f29df5e9dffaeac788af"},{"entry":"efficient-storefront-blocks/render/lib/sections/messaging","name":"MESSAGING_SOURCE","hash":"e58c7622f2075f6f28da"},{"entry":"efficient-storefront-blocks/render/lib/sections/opening-hours","name":"OPENING_SAMPLE_WEEK","hash":"53e0ad8740635cf9592c"},{"entry":"efficient-storefront-blocks/render/lib/sections/opening-hours","name":"OPENING_WORDS","hash":"824d5dd33c165f0c0466"},{"entry":"efficient-storefront-blocks/render/lib/sections/picture-grounds","name":"PICTURE_GROUNDS","hash":"e610fbcd0e3270827bc7"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-grid-columns","name":"CARD_MIN_WIDTH_PX","hash":"f3f1ca9fb823e8091d0d"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-grid-columns","name":"PRODUCT_GRID_COLUMNS","hash":"659352dd124afdd14e06"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-grid-pages","name":"PER_PAGE_RANGE","hash":"7eabb9bbce60597e6926"},{"entry":"efficient-storefront-blocks/render/lib/sections/product-pictures","name":"PRODUCT_PICTURES_SOURCE","hash":"e3bf86c4cc660d948f80"},{"entry":"efficient-storefront-blocks/render/lib/sections/reviews","name":"PRODUCT_REVIEWS_SOURCE","hash":"7cb10e963dbddb875f95"},{"entry":"efficient-storefront-blocks/render/lib/sections/section-band","name":"BAND_CAP","hash":"5d1e0a92b0b52ac0ddd5"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"DEFAULT_FILTER_LOOK","hash":"4c4626930d7fdb97fb33"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"DEFAULT_SHOWN_FILTERS","hash":"9b70b88c6996eb2c5ac9"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"FILTER_LOOK_OPTIONS","hash":"35508fe3fb3d5048e7e3"},{"entry":"efficient-storefront-blocks/render/lib/sections/shopper-filters","name":"FILTER_LOOK_PHONE_OPTIONS","hash":"7ded026e98a05f8ca220"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"EMPTY_DRAFT","hash":"ca4d262b5f0c7fc10d3e"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"FIND_WORDS","hash":"bd24c0e74b47c5ea7045"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"LINK_WORDS","hash":"b33b7e265a48ab63a92c"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_PATH","hash":"cf6ffe3a912663c25528"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_VERIFY_PATH","hash":"d6dd63114e2bd66f3534"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_WAITING_PATH","hash":"2da5160219e3f77b3b8a"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SIGN_UP_WORDS","hash":"9205fb2cfcc26c53d67d"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"SLUG_PROBLEMS","hash":"b736cff4176ac1743140"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"WORKSPACE_FINDS_PATH","hash":"3848cc31cd457c19e05a"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up","name":"WORKSPACE_FIND_OPEN_PATH","hash":"e257fdb5ced41511fa0e"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-catalogue","name":"COUNTRY_CURRENCY","hash":"45159f1735cab8e2f9b0"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"BANNER","hash":"0808f77cb231dacbcfa5"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"CARD","hash":"e0e7f4262a87dc29f481"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"PRIMARY","hash":"85f63ff97bbfdca7e3ba"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"QUIET","hash":"4d50094472a0efea273f"},{"entry":"efficient-storefront-blocks/render/lib/sections/sign-up-look","name":"TITLE","hash":"c930c05a182753543bd6"},{"entry":"efficient-storefront-blocks/render/lib/sections/submit-build-copy","name":"SUBMIT_DEFAULTS","hash":"d00cfb66e3566bb5b473"},{"entry":"efficient-storefront-blocks/render/lib/site-headers","name":"PREVIEW_TOKEN_HEADER","hash":"2925530cba4bcfa80c37"},{"entry":"efficient-storefront-blocks/render/lib/site-headers","name":"SITE_HOST_HEADER","hash":"a9cf838a8a81412d5806"},{"entry":"efficient-storefront-blocks/render/lib/site-headers","name":"SITE_SLUG_HEADER","hash":"8032c3cac0ba70cdbe4a"},{"entry":"efficient-storefront-blocks/render/lib/storefront-page-order","name":"PAGE_ORDER","hash":"940434eff1012a4e862e"},{"entry":"efficient-storefront-blocks/render/lib/submit/text-kinds","name":"SUBMIT_KIND_PROP","hash":"889d55165a73529c4df3"},{"entry":"efficient-storefront-blocks/render/lib/submit/text-kinds","name":"SUBMIT_KIND_VARS","hash":"89423cd7dbf2459d615b"},{"entry":"efficient-storefront-blocks/render/lib/submit/text-kinds","name":"SUBMIT_TEXT_KIND_LABELS","hash":"b4659303c8e527aff042"},{"entry":"efficient-storefront-blocks/render/lib/tyres/spec-sheet","name":"TYRE_SPEC_KEYS","hash":"7a8897a753c37b6c5c54"},{"entry":"efficient-storefront-blocks/render/lib/tyres/tyre-fit-copy","name":"TYRE_FIT_LABEL","hash":"406a829cbae42f5a38b7"},{"entry":"efficient-storefront-blocks/render/lib/tyres/tyre-size","name":"TYRE_SIZE_PART_LABELS","hash":"953152b2a5a15ec7f093"},{"entry":"efficient-storefront-blocks/render/lib/wheels/catalog-default-layout","name":"EMPTY_CATALOG_DATA","hash":"27c45fa6088beefd55dc"},{"entry":"efficient-storefront-blocks/render/lib/wheels/catalog-filters","name":"EMPTY_FILTERS","hash":"23ea55a0609305905167"},{"entry":"efficient-storefront-blocks/render/lib/wheels/catalog-filters","name":"SORT_LABELS","hash":"b9c27f73c1199d78012e"},{"entry":"efficient-storefront-blocks/render/lib/wheels/finish-defaults","name":"FALLBACK_FINISH","hash":"bce0e41d855cfb58ceaa"},{"entry":"efficient-storefront-blocks/render/lib/wheels/finish-defaults","name":"FINISH_FAMILY_SWATCHES","hash":"d2b8ecad733e2c04789a"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-options","name":"DEFAULT_VEHICLE","hash":"701f384d9025377e5776"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-options","name":"FILTER_PROCESS","hash":"d38fad80a485285cbe45"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-options","name":"POPULAR","hash":"76acbe2fce6b05a8f4af"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-row-fit","name":"ROW_ASK_DETAIL","hash":"a56b35f4e52b1549e13d"},{"entry":"efficient-storefront-blocks/render/lib/wheels/fitment-row-fit","name":"ROW_ASK_LEAD","hash":"40c9dd04f58426489800"},{"entry":"efficient-storefront-blocks/render/lib/wheels/grid-source","name":"ALL_PRODUCTS_NAME","hash":"2b00276d540337eed8fd"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"EMPTY_PLP_FILTERS","hash":"4d26d30b04b9a45d3c3b"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_FACET_KEYS","hash":"deac166860a017b3b45d"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_FACET_LABELS","hash":"38f8b5dea7acee64d2b4"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_PARAM","hash":"a776cfba49a54ad5f394"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-filters","name":"PLP_SORT_LABELS","hash":"ec4f165e76249f0a7095"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-grid","name":"PLP_GRID_GAP_VAR","hash":"894381ba17dfdbb077d8"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-grid","name":"PLP_PHONE_GAP_VAR","hash":"b10d001160aa2ecf797e"},{"entry":"efficient-storefront-blocks/render/lib/wheels/plp-vehicle-params","name":"VEHICLE_PARAM","hash":"77e26509aedbd6836fa6"},{"entry":"efficient-storefront-blocks/render/lib/wheels/price-display","name":"SET_QUOTE_LABEL","hash":"9c022f85d011856c320c"},{"entry":"efficient-storefront-blocks/render/lib/wheels/price-display","name":"UNPRICED_LABEL","hash":"9ba4d1b8d995ae74b42a"},{"entry":"efficient-storefront-blocks/render/lib/wheels/render-fit","name":"REFERENCE_NOTE","hash":"3409723ac32360af6b82"},{"entry":"efficient-storefront-blocks/render/lib/wheels/set-mode","name":"AXLE_WORDS","hash":"ff782a435b755ac79e20"},{"entry":"efficient-storefront-blocks/render/lib/wheels/set-mode","name":"HAND_WORDS","hash":"7f6c37026dd5e6520af9"},{"entry":"efficient-storefront-blocks/render/lib/wheels/set-mode","name":"PER_WHEEL_UNIT","hash":"ab4ce39ba1b09bbbb560"},{"entry":"efficient-storefront-blocks/render/lib/wheels/spec-sheet","name":"SPEC_EMPTY_ROWS","hash":"7ccf16050615324893b0"},{"entry":"efficient-storefront-blocks/render/lib/wheels/spec-sheet","name":"SPEC_ROW_LINES","hash":"c94fd3d0a180ca1c2a0b"},{"entry":"efficient-storefront-blocks/render/lib/wheels/spec-sheet","name":"SPEC_SHEET_ROWS","hash":"47621a1551542f4d61bd"},{"entry":"efficient-storefront-blocks/render/lib/wheels/tyre-render","name":"DEFAULT_TYRE_PROFILE","hash":"245225f595353d6043aa"},{"entry":"efficient-storefront-blocks/render/lib/wheels/tyre-render","name":"TREAD_GENERIC","hash":"55610fd84d3dddcf3b39"},{"entry":"efficient-storefront-blocks/render/lib/wheels/tyre-render","name":"TREAD_PATTERNS","hash":"b6934ddf0107109a50aa"},{"entry":"efficient-storefront-blocks/render/lib/wheels/vehicle-field-focus","name":"VEHICLE_FIELD_LABEL","hash":"7bf4126e4ce756a5ac64"},{"entry":"efficient-storefront-blocks/render/lib/wheels/vehicle-memory","name":"VEHICLE_STORAGE_KEY","hash":"cc078afc905860616518"},{"entry":"efficient-storefront-blocks/render/lib/wheels/wheel-specs","name":"SPECS_BY_SLUG","hash":"a051024590ddd775f06e"},{"entry":"efficient-storefront-blocks/render/lib/wheels/wheels","name":"HEX","hash":"5e32dacbf0006fe49840"}]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-storefront-blocks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.134.1",
|
|
4
4
|
"description": "The EFFICIENT storefront's website editor — the website builder assembled with the storefront's own sections — for an app that edits a storefront website inside its own page. Built from the efficient-storefront-blocks repository.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"@stripe/react-stripe-js": "^6.7.0",
|
|
107
107
|
"@stripe/stripe-js": "^9.9.0",
|
|
108
108
|
"efficient-easel": "^38.1.0",
|
|
109
|
-
"efficient-shell": "^16.
|
|
110
|
-
"efficient-web-builder": "^
|
|
109
|
+
"efficient-shell": "^16.13.0",
|
|
110
|
+
"efficient-web-builder": "^78.0.0",
|
|
111
111
|
"next": ">=16",
|
|
112
112
|
"react": ">=19",
|
|
113
113
|
"react-dom": ">=19"
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";import{$a as re,Aa as hn,Ia as Gr,W as Ft,X as Mt,b as Fr,c as gn,cb as Vr,d as Mr,db as Jr,e as _t,ib as Xr,jb as pe,kb as Zr,la as Kr,lb as Qr,ma as Dr,na as Ur,oa as Wr,pa as jr,qa as Yr,qb as ea,ra as $r,rb as vt,sa as he,ua as bt,ub as bn,va as Br,wa as Hr,wb as se,xa as Kt,ya as zr}from"./chunk-6JIG2WYA.js";import{S as de,Y as et,da as K,o as qr,p as _r}from"./chunk-NQZ3O6A3.js";import{fa as Lr,ha as We}from"./chunk-UQDOJWLM.js";import{i as Tr,j as ht,k as Le}from"./chunk-LN6M3FAM.js";import{Ci as Ir}from"./chunk-I4IY2GTB.js";import"./chunk-IHBF4FM5.js";import"./chunk-454ZVMST.js";import{a as yn,b as Si}from"./chunk-Y6SLVHK3.js";var aa=yn((ac,ra)=>{"use strict";var Oi="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ra.exports=Oi});var ca=yn((oc,sa)=>{"use strict";var Ai=aa();function oa(){}function ia(){}ia.resetWarningCache=oa;sa.exports=function(){function e(r,o,s,u,p,y){if(y!==Ai){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ia,resetWarningCache:oa};return n.PropTypes=n,n}});var ua=yn((cc,la)=>{"use strict";la.exports=ca()();var ic,sc});import{useEffect as Mo,useMemo as qo,useRef as ot,useState as $e}from"react";import{formatTime as Ei}from"efficient-shell/format";function ta(e,t){let n=_r(t);return!n||Number.isNaN(new Date(e).getTime())?"":Ei(e,{locale:qr(),timeZone:n})}import{rootIsDark as Ri}from"efficient-shell/format";function na(){if(typeof document>"u")return;let e=getComputedStyle(document.documentElement),t=(r,o)=>e.getPropertyValue(r).trim()||o,n=Ri({whenUnset:!0});return{theme:n?"night":"stripe",variables:{colorPrimary:t("--accent",n?"#c9a461":"#8a6a2a"),colorBackground:t("--site-surface",n?"#131313":"#ffffff"),colorText:t("--fg",n?"#f5f1e8":"#0a0a0a"),borderRadius:"0px"}}}import{userZone as Ms,parseOption as Ks}from"efficient-shell/format";var D=Si(ua(),1);import I from"react";function da(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Li(e){if(Array.isArray(e))return e}function ga(e,t,n){return(t=Mi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,s,u,p=[],y=!0,m=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(y=(r=s.call(n)).done)&&(p.push(r.value),p.length!==t);y=!0);}catch(h){m=!0,o=h}finally{try{if(!y&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(m)throw o}}return p}}function Ti(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ma(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pa(Object(n),!0).forEach(function(r){ga(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qi(e,t){if(e==null)return{};var n,r,o=_i(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _i(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ha(e,t){return Li(e)||Ii(e,t)||Ki(e,t)||Ti()}function Fi(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mi(e){var t=Fi(e,"string");return typeof t=="symbol"?t:t+""}function vn(e){"@babel/helpers - typeof";return vn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vn(e)}function Ki(e,t){if(e){if(typeof e=="string")return da(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?da(e,t):void 0}}var Z=function(t,n,r){var o=!!r,s=I.useRef(r);I.useEffect(function(){s.current=r},[r]),I.useEffect(function(){if(!o||!t)return function(){};var u=function(){if(s.current)return s.current.apply(s,arguments)};return t.on(n,u),function(){t.off(n,u)}},[o,n,t,s])},xn=function(t){var n=I.useRef(t);return I.useEffect(function(){n.current=t},[t]),n.current},tt=function(t){return t!==null&&vn(t)==="object"},Di=function(t){return tt(t)&&typeof t.then=="function"},Ui=function(t){return tt(t)&&typeof t.elements=="function"&&typeof t.createToken=="function"&&typeof t.createPaymentMethod=="function"&&typeof t.confirmCardPayment=="function"},fa="[object Object]",Wi=function e(t,n){if(t===n)return!0;if(!tt(t)||!tt(n))return t===n;var r=Array.isArray(t),o=Array.isArray(n);if(r!==o)return!1;var s=Object.prototype.toString.call(t)===fa,u=Object.prototype.toString.call(n)===fa;if(s!==u)return!1;if(!s&&!r)return t===n;var p=Object.keys(t),y=Object.keys(n);if(p.length!==y.length)return!1;for(var m={},h=0;h<p.length;h+=1)m[p[h]]=!0;for(var g=0;g<y.length;g+=1)m[y[g]]=!0;var b=Object.keys(m);if(b.length!==p.length)return!1;var x=t,E=n,N=function(z){return e(x[z],E[z])};return b.every(N)},ba=function(t,n,r){return tt(t)?Object.keys(t).reduce(function(o,s){var u=!tt(n)||!Wi(t[s],n[s]);return r.includes(s)?(u&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),o):u?ma(ma({},o||{}),{},ga({},s,t[s])):o},null):null},va="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ya=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:va;if(t===null||Ui(t))return t;throw new Error(n)},ji=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:va;if(Di(t))return{tag:"async",stripePromise:Promise.resolve(t).then(function(o){return ya(o,n)})};var r=ya(t,n);return r===null?{tag:"empty"}:{tag:"sync",stripe:r}},Yi=function(t){!t||!t._registerWrapper||!t.registerAppInfo||(t._registerWrapper({name:"react-stripe-js",version:"6.12.0"}),t.registerAppInfo({name:"react-stripe-js",version:"6.12.0",url:"https://stripe.com/docs/stripe-js/react"}))},Dt=I.createContext(null);Dt.displayName="ElementsContext";var xa=function(t,n){if(!t)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(n," in an <Elements> provider."));return t},Cn=function(t){var n=t.stripe,r=t.options,o=t.children,s=I.useMemo(function(){return ji(n)},[n]),u=I.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(r):null}}),p=ha(u,2),y=p[0],m=p[1];I.useEffect(function(){var b=!0,x=function(N){m(function(O){return O.stripe?O:{stripe:N,elements:N.elements(r)}})};return s.tag==="async"&&!y.stripe?s.stripePromise.then(function(E){E&&b&&x(E)}):s.tag==="sync"&&!y.stripe&&x(s.stripe),function(){b=!1}},[s,y,r]);var h=xn(n);I.useEffect(function(){h!==null&&h!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[h,n]);var g=xn(r);return I.useEffect(function(){if(y.elements){var b=ba(r,g,["clientSecret","fonts"]);b&&y.elements.update(b)}},[r,g,y.elements]),I.useEffect(function(){Yi(y.stripe)},[y.stripe]),I.createElement(Dt.Provider,{value:y},o)};Cn.propTypes={stripe:D.default.any,options:D.default.object};var ka=function(t){var n=I.useContext(Dt);return xa(n,t)},Ca=function(){var t=ka("calls useElements()"),n=t.elements;return n},$i=function(t){var n=t.children,r=ka("mounts <ElementsConsumer>");return n(r)};$i.propTypes={children:D.default.func.isRequired};var Bi=I.createContext(null);Bi.displayName="CheckoutContext";var Pa=I.createContext(null);Pa.displayName="CheckoutSdkContext";var kn=function(t){var n=I.useContext(Pa),r=I.useContext(Dt);if(n){if(r)throw new Error("You cannot wrap the part of your app that ".concat(t," in both a checkout provider and <Elements> provider."));return n}else return xa(r,t)},Hi=["mode"],zi=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},U=function(t,n,r){var o="".concat(zi(t),"Element"),s=function(m){var h=m.id,g=m.className,b=m.options,x=b===void 0?{}:b,E=m.onBlur,N=m.onFocus,O=m.onReady,z=m.onChange,R=m.onEscape,C=m.onClick,J=m.onLoadError,Q=m.onLoaderStart,ee=m.onNetworksChange,xe=m.onConfirm,we=m.onCancel,j=m.onShippingAddressChange,ye=m.onShippingRateChange,Se=m.onSavedPaymentMethodRemove,Te=m.onSavedPaymentMethodUpdate,te=m.onAvailablePaymentMethodsChange,ae=kn("mounts <".concat(o,">")),V="elements"in ae?ae.elements:null,k="checkoutSdk"in ae?ae.checkoutSdk:null,Y=I.useState(null),qe=ha(Y,2),F=qe[0],Be=qe[1],ne=I.useRef(null),_e=I.useRef(null);Z(F,"blur",E),Z(F,"focus",N),Z(F,"escape",R),Z(F,"click",C),Z(F,"loaderror",J),Z(F,"loaderstart",Q),Z(F,"networkschange",ee),Z(F,"confirm",xe),Z(F,"cancel",we),Z(F,"shippingaddresschange",j),Z(F,"shippingratechange",ye),Z(F,"savedpaymentmethodremove",Se),Z(F,"savedpaymentmethodupdate",Te),Z(F,"availablepaymentmethodschange",te),Z(F,"change",z);var ke;O&&(t==="expressCheckout"?ke=O:ke=function(){O(F)}),Z(F,"ready",ke),I.useLayoutEffect(function(){if(ne.current===null&&_e.current!==null&&(V||k)){var q=null;if(k){var oe=k,Ce=k;switch(t){case"paymentForm":q=Ce.createForm(x);break;case"payment":q=oe.createPaymentElement(x);break;case"address":if("mode"in x){var Re=x.mode,le=qi(x,Hi);if(Re==="shipping")q=oe.createShippingAddressElement(le);else if(Re==="billing")q=oe.createBillingAddressElement(le);else throw new Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw new Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":q=oe.createExpressCheckoutElement(x);break;case"currencySelector":q=k.createCurrencySelectorElement();break;case"taxId":q=oe.createTaxIdElement(x);break;case"contactDetails":q=oe.createContactDetailsElement();break;case"linkSignup":if("createLinkSignupElement"in k)q=k.createLinkSignupElement(x);else throw new Error("<LinkSignupElement> requires <CheckoutElementsProvider> and is not supported inside <CheckoutFormProvider>.");break;case"terms":q=oe.createTermsElement(x);break;default:throw new Error("<".concat(o,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}}else V&&(q=V.create(t,x));ne.current=q,Be(q),q&&q.mount(_e.current)}},[V,k,x]);var Ee=xn(x);return I.useEffect(function(){if(ne.current){var q=ba(x,Ee,["paymentRequest"]);q&&"update"in ne.current&&ne.current.update(q)}},[x,Ee]),I.useLayoutEffect(function(){return function(){if(ne.current&&typeof ne.current.destroy=="function")try{ne.current.destroy(),ne.current=null}catch{}}},[]),I.createElement("div",{id:h,className:g,ref:_e})},u=function(m){kn("mounts <".concat(o,">"));var h=m.id,g=m.className;return I.createElement("div",{id:h,className:g})},p=n?u:s;return p.propTypes={id:D.default.string,className:D.default.string,onChange:D.default.func,onBlur:D.default.func,onFocus:D.default.func,onReady:D.default.func,onEscape:D.default.func,onClick:D.default.func,onLoadError:D.default.func,onLoaderStart:D.default.func,onNetworksChange:D.default.func,onConfirm:D.default.func,onCancel:D.default.func,onShippingAddressChange:D.default.func,onShippingRateChange:D.default.func,onSavedPaymentMethodRemove:D.default.func,onSavedPaymentMethodUpdate:D.default.func,onAvailablePaymentMethodsChange:D.default.func,options:D.default.object},p.displayName=o,p.__elementType=t,p},W=typeof window>"u",Gi=I.createContext(null);Gi.displayName="EmbeddedCheckoutProviderContext";var Na=function(){var t=kn("calls useStripe()"),n=t.stripe;return n},uc=U("auBankAccount",W),dc=U("card",W),pc=U("cardNumber",W),mc=U("cardExpiry",W),fc=U("cardCvc",W),yc=U("currencySelector",W),gc=U("iban",W),wa=U("payment",W),hc=U("expressCheckout",W),bc=U("paymentRequestButton",W),vc=U("linkAuthentication",W),xc=U("linkSignup",W),kc=U("contactDetails",W),Cc=U("address",W),Pc=U("shippingAddress",W),Nc=U("paymentMethodMessaging",W),wc=U("taxId",W),Sc=U("issuingCardNumberDisplay",W),Ec=U("issuingCardCvcDisplay",W),Rc=U("issuingCardExpiryDisplay",W),Oc=U("issuingCardPinDisplay",W),Ac=U("issuingCardCopyButton",W),Lc=U("terms",W);function jt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jt=function(t){return typeof t}:jt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jt(e)}var Ra="dahlia",Vi=function(t){return t===3?"v3":t},Oa="https://js.stripe.com",Ji="".concat(Oa,"/").concat(Ra,"/stripe.js"),Xi=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Zi=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,Sa="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Qi=function(t){return Xi.test(t)||Zi.test(t)},es=function(){for(var t=document.querySelectorAll('script[src^="'.concat(Oa,'"]')),n=0;n<t.length;n++){var r=t[n];if(Qi(r.src))return r}return null},Ea=function(t){var n=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",r=document.createElement("script");r.src="".concat(Ji).concat(n);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(r),r},ts=function(t,n){!t||!t._registerWrapper||t._registerWrapper({name:"stripe-js",version:"9.17.0",startTime:n})},xt=null,Ut=null,Wt=null,ns=function(t){return function(n){t(new Error("Failed to load Stripe.js",{cause:n}))}},rs=function(t,n){return function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))}},as=function(t){return xt!==null?xt:(xt=new Promise(function(n,r){if(typeof window>"u"||typeof document>"u"){n(null);return}if(window.Stripe&&t&&console.warn(Sa),window.Stripe){n(window.Stripe);return}try{var o=es();if(o&&t)console.warn(Sa);else if(!o)o=Ea(t);else if(o&&Wt!==null&&Ut!==null){var s;o.removeEventListener("load",Wt),o.removeEventListener("error",Ut),(s=o.parentNode)===null||s===void 0||s.removeChild(o),o=Ea(t)}Wt=rs(n,r),Ut=ns(r),o.addEventListener("load",Wt),o.addEventListener("error",Ut)}catch(u){r(u);return}}),xt.catch(function(n){return xt=null,Promise.reject(n)}))},os=function(t,n,r){if(t===null)return null;var o=n[0];if(typeof o!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(jt(o)," instead."));var s=o.match(/^pk_test/),u=Vi(t.version),p=Ra;s&&u!==p&&console.warn("Stripe.js@".concat(u," was loaded on the page, but @stripe/stripe-js@").concat("9.17.0"," expected Stripe.js@").concat(p,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var y=t.apply(void 0,n);return ts(y,r),y},kt,Aa=!1,La=function(){return kt||(kt=as(null).catch(function(t){return kt=null,Promise.reject(t)}),kt)};Promise.resolve().then(function(){return La()}).catch(function(e){Aa||console.warn(e)});var Yt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Aa=!0;var o=Date.now();return La().then(function(s){return os(s,n,o)})};var $t=2;function Ia(e){return e==="card"}var is="checkout_unavailable",ss="checkout_waiting",Ta="committed",Ie="We could not check your payment. Please try again.",Bt="Your last change was not saved. This is your order as placed.",qa="Your bank is still waiting for you to approve this payment, so your order stays as it was. Finish the approval, or try again in a few minutes.",_a=1e4;async function Fa(e,t=_a){let n,r=new Promise(s=>{n=setTimeout(()=>s(void 0),t)}),o=(async()=>{try{return(await(await Yt(e.publishableKey))?.retrievePaymentIntent(e.clientSecret))?.paymentIntent?.status}catch{return}})();try{return await Promise.race([o,r])}finally{clearTimeout(n)}}var Ma=new Set(["none","requires_payment_method","canceled"]);async function Pn(e,t=_a){let n,r=new Promise(o=>{n=setTimeout(()=>o(void 0),t)});try{return await Promise.race([K.releaseCheckout({idempotencyKey:e}).then(o=>o.status,()=>{}),r])}finally{clearTimeout(n)}}function Ka(e,t){return e instanceof de&&typeof e.data=="object"&&e.data!==null&&e.data.code===t}function Ht(e){return Ka(e,is)}function Nn(e){return Ka(e,ss)}function wn(e){return e instanceof de&&e.status>=400&&e.status<500&&e.status!==408}function Da(e){return JSON.stringify([e.email,e.firstName,e.lastName,e.phone,e.address,e.city,e.subdivision,e.postcode,e.country,e.lines,e.shippingMethodId,e.couponCode,e.currency,e.shopperId,e.company])}function zt(e){return e.orderNumber||e.checkoutNumber}function cs(e){return e.orderNumber?{kind:"placed",order:e}:{kind:e.status==="released"?"refunded":e.status==="expired"?"expired":"pending",checkoutNumber:e.checkoutNumber}}async function Ua({checkoutNumber:e,resend:t,page:n}){n.setConfirming(!0);let r;try{r=cs(await t())}catch{r={kind:"pending",checkoutNumber:e}}r.kind==="placed"?(n.markPaid(),n.track(r.order),n.land(r.order)):n.unplaced({...r,checkoutNumber:r.checkoutNumber||e}),n.setConfirming(!1)}import{createContext as ws,useContext as Ss,useEffect as H,useMemo as fo,useRef as B,useState as w}from"react";var ls="sf:gclid",us="sf:fbclid",ds=2160*60*60*1e3;function Ya(){return typeof window<"u"}function Wa(e){let t=ht.getItem(e);if(!t)return"";try{let{v:n,t:r}=JSON.parse(t);return!n||typeof r!="number"||Date.now()-r>ds?"":n}catch{return""}}function ja(e){if(!Ya())return"";let t=e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1"),n=document.cookie.match(new RegExp(`(?:^|; )${t}=([^;]*)`));return n?decodeURIComponent(n[1]):""}function $a(){if(!Ya())return{};let e=Wa(ls),t=Wa(us),n=ja("_fbp"),r=ja("_fbc");!r&&t&&(r=`fb.1.${Date.now()}.${t}`);let o={};return e&&(o.gclid=e),t&&(o.fbclid=t),n&&(o.fbp=n),r&&(o.fbc=r),o}var Ba="sf:meta-purchases",ps=20;function za(){return typeof window>"u"||window.parent!==window}function ms(...e){try{if(za()||typeof window.fbq!="function")return;window.fbq(...e)}catch{}}var Ha=new Set;function fs(e){if(Ha.has(e))return!1;Ha.add(e);try{let t=JSON.parse(ht.getItem(Ba)??"[]");if(t.includes(e))return!1;ht.setItem(Ba,JSON.stringify([...t,e].slice(-ps)))}catch{}return!0}function ys(e){return[...new Set(e.filter(bt).flatMap(t=>t.components.map(n=>n.partNumber)))]}function Ga(e){let t=e.confirmation;za()||!fs(t.orderNumber)||ms("track","Purchase",{value:Number(t.grandTotal),currency:t.currency,content_type:"product",content_ids:ys(e.lines)},{eventID:t.orderNumber})}var Sn="checkout-afterpay-context",En="checkout-gocardless-context",Rn="checkout-zip-context",On="checkout-klarna-context",An="checkout-worldpay-context";function gs(e){return e?.lostChange===!0}function hs({evidence:e,parked:t}){return e?{action:"capture",evidence:e,parked:t}:t?{action:"settle",parked:t}:{action:"ignore"}}function bs(e,t){let n=e.getItem(t);if(e.removeItem(t),!n)return null;try{return JSON.parse(n)}catch{return null}}function vs(e){let t=e.words?.declined??`${e.name} declined the payment \u2014 our team will follow up on payment.`;return{settled:e.words?.settled??`The ${e.name} payment was not completed \u2014 our team will follow up on payment.`,declined:t,collecting:e.words?.collecting??t,unconfirmed:e.words?.unconfirmed??`We could not confirm the ${e.name} payment \u2014 our team will follow up on payment.`}}var Va={name:"Afterpay",legParam:"afterpay",legValues:["confirm","cancel"],storageKey:Sn,evidenceFrom(e,t){return t==="cancel"||(e.get("status")??"").toUpperCase()==="CANCELLED"?null:e.get("orderToken")},requestFrom:e=>({token:e})},Ja={name:"Zip",legParam:"zip",legValues:["return"],storageKey:Rn,evidenceFrom(e){let t=(e.get("result")??"").toLowerCase();return t==="cancelled"||t==="declined"?null:e.get("checkoutId")},requestFrom:e=>({checkoutId:e})},Xa={name:"Worldpay",legParam:"worldpay",legValues:["return","cancel"],storageKey:An,evidenceFrom:(e,t)=>t==="cancel"?null:e.get("worldpayRef"),requestFrom:e=>({transactionReference:e}),words:{declined:"Worldpay did not take the payment \u2014 our team will follow up on payment.",collecting:"We're confirming your payment with Worldpay \u2014 we'll email you once it's through."}},Za={name:"GoCardless",legParam:"gocardless",legValues:["confirm","cancel"],storageKey:En,evidenceFrom:(e,t)=>t==="confirm"?t:null,requestFrom:(e,t)=>({idempotencyKey:t?.idempotencyKey??""}),keyedByParked:!0,words:{settled:"The direct debit was not set up \u2014 our team will follow up on payment.",declined:"The direct debit was declined \u2014 our team will follow up on payment.",collecting:"Your direct debit is set up \u2014 the payment is collecting and will clear in a few days.",unconfirmed:"We could not confirm the direct debit \u2014 our team will follow up on payment."}},Qa={name:"Klarna",legParam:"klarna",legValues:["confirm","cancel"],storageKey:On,evidenceFrom:(e,t)=>t==="confirm"?e.get("authorization_token"):null,requestFrom:(e,t)=>({idempotencyKey:t?.idempotencyKey??"",authorizationToken:e}),keyedByParked:!0,words:{collecting:"Your Klarna payment is being reviewed \u2014 we'll confirm the outcome shortly."}};async function nt(e,t){let n=new URLSearchParams(t.search),r=n.get(e.legParam);if(!r||!e.legValues.includes(r))return;let o=bs(t.storage,e.storageKey),s=e.evidenceFrom(n,r);t.scrubQuery();let u=hs({evidence:s,parked:o});if(u.action==="ignore"||e.keyedByParked&&!u.parked)return;let p=vs(e);if(t.page.clearCart(),gs(u.parked)&&t.page.lostChange(),u.action==="settle"){t.page.note(p.settled,!0),t.page.land(u.parked.confirmation);return}t.page.setConfirming(!0);try{let y=await t.capture(e.requestFrom(u.evidence,u.parked));y.status==="paid"?t.page.markPaid():y.status==="collecting"?t.page.note(p.collecting,!e.words?.collecting):t.page.note(p.declined,!0),t.page.land(u.parked?.confirmation??y)}catch{u.parked?(t.page.note(p.unconfirmed,!0),t.page.land(u.parked.confirmation)):t.page.fail(`We could not confirm your ${e.name} payment. Please contact us before trying again \u2014 your payment may already have been taken.`)}finally{t.page.setConfirming(!1)}}function eo(e,t,n){let r=(t??"").trim();if(!r)return"";if(n.length===0)return r;let o=r.toUpperCase(),s=`${e.toUpperCase()}-${o}`,u=n.find(p=>p.code&&p.code.toUpperCase()===o)??n.find(p=>p.code&&p.code.toUpperCase()===s)??n.find(p=>p.name.toUpperCase()===o);return u?u.code||u.name:""}var In="checkout-memory-context",ro="Prices have changed since this checkout started. The total shows today's prices.",ao="We couldn't check today's prices for your basket. Try again in a moment \u2014 you can place the order once the total is confirmed.",oo=3,xs=3600*1e3;function ks(e){return{id:e.id,slug:e.slug,name:{lead:e.name?.lead,accent:e.name?.accent},process:e.process,positionNo:e.positionNo,config:(e.config??[]).map(t=>({label:t.label,gold:t.gold})),finishName:e.finishName,size:e.size,qty:e.qty,href:e.href,kind:e.kind,sku:e.sku,components:e.components.map(t=>({partNumber:t.partNumber,wheels:t.wheels,prices:{...t.prices},hand:t.hand}))}}var Gt=e=>e.map(ks);function io(e,t){let n=r=>JSON.stringify(r.map(o=>[o.id,o.qty]).sort(([o],[s])=>o<s?-1:o>s?1:0));return n(e)===n(t)}function so(e){let t=e.customer;return{customer:{email:t.email,name:t.name,phone:t.phone,companyName:t.companyName,address:t.address,city:t.city,state:t.state,zipCode:t.zipCode,country:t.country},items:e.items.flatMap(n=>_t([{partNumber:n.partNumber,wheels:n.quantity,prices:{}}],1)),currency:e.currency,idempotencyKey:e.idempotencyKey,shippingMethodId:e.shippingMethodId,couponCode:e.couponCode}}function Tn(e){return{...so(e),payFirst:!!e.checkoutFlow}}function co(e){return so(e)}var Cs={lastPress:null,keptCardKey:null,placedShape:null,placedRequest:null,unpaidOrder:null};function qn(e){let t=n=>typeof n=="string"?n:"";return{email:t(e.email),firstName:t(e.firstName),lastName:t(e.lastName),company:t(e.company),address1:t(e.address1),address2:t(e.address2),city:t(e.city),postcode:t(e.postcode),phone:t(e.phone),country:t(e.country),subdivision:t(e.subdivision),selectedAddressId:t(e.selectedAddressId),shippingMethodId:typeof e.shippingMethodId=="string"?e.shippingMethodId:null,couponCode:typeof e.couponCode=="string"?e.couponCode:null}}function _n(e){return{orderNumber:e.orderNumber,checkoutNumber:e.checkoutNumber,expiresAt:e.expiresAt,status:e.status,total:e.total,currency:e.currency,freightCharge:e.freightCharge,discountAmount:e.discountAmount,grandTotal:e.grandTotal,shippingMethod:e.shippingMethod,couponCode:e.couponCode}}function Fn(e){return e.lastPress!==null||e.unpaidOrder!==null||e.keptCardKey!==null}function Ps(e){let t=e.parkedAt+xs,n=e.press.unpaidOrder,r=n&&!n.orderNumber?n.expiresAt:null,o=r?Date.parse(r):NaN;return Number.isNaN(o)?t:Math.min(t,o)}function lo(e){try{let t={...e,lines:Gt(e.lines),press:po(e.press)};Le.setItem(In,JSON.stringify({v:oo,...t}))}catch{}}var je=e=>!!e&&typeof e=="object"&&!Array.isArray(e),uo=e=>je(e)&&typeof e.idempotencyKey=="string"&&Array.isArray(e.items)&&e.items.every(t=>je(t)&&typeof t.partNumber=="string"&&typeof t.quantity=="number")&&je(e.customer)&&typeof e.payFirst=="boolean",Ln=e=>je(e)&&typeof e.id=="string"&&typeof e.qty=="number"&&Array.isArray(e.components);function Ns(e){return je(e)&&typeof e.key=="string"&&uo(e.request)&&Array.isArray(e.lines)&&e.lines.every(Ln)&&Array.isArray(e.plainLines)&&e.plainLines.every(Ln)?{key:e.key,request:e.request,lines:Gt(e.lines),goods:typeof e.goods=="string"?e.goods:"",plainPressed:e.plainPressed===!0,plainLines:Gt(e.plainLines),plainGoods:typeof e.plainGoods=="string"?e.plainGoods:""}:null}var to=e=>typeof e=="string"?e:null,no={lastPress:Ns,keptCardKey:to,placedShape:to,placedRequest:e=>uo(e)?e:null,unpaidOrder:e=>je(e)?_n(e):null};function po(e){let t=je(e)?e:{},n={...Cs};for(let r of Object.keys(no))n[r]=no[r](t[r]);return n}function mo(){let e;try{e=Le.getItem(In)}catch{return null}if(!e)return null;try{let t=JSON.parse(e);if(t.v!==oo||typeof t.key!="string"||!t.key||!Array.isArray(t.lines)||!t.lines.every(Ln)||typeof t.parkedAt!="number")return null;let n={key:t.key,authed:t.authed===!0,parkedAt:t.parkedAt,press:po(t.press),lines:Gt(t.lines),form:t.form&&typeof t.form=="object"?qn(t.form):null};return Date.now()>=Ps(n)?(Mn(),null):Fn(n.press)?n:null}catch{return null}}function Mn(){try{Le.removeItem(In)}catch{}}import{jsx as be}from"react/jsx-runtime";function yo(e){let t=e.indexOf(`
|
|
3
|
-
`);return t===-1?[e,""]:[e.slice(0,t),e.slice(t+1)]}function go(e,{canParkContext:t}={canParkContext:!0}){let n=e.paymentMethods,r=[];return n.includes("card")&&r.push({key:"card",title:"Card",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"VISA \xB7 MC \xB7 AMEX"})}),n.includes("paypal")&&e.paypalClientId&&r.push({key:"paypal",title:"PayPal",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAYPAL \xB7 CARDS"})}),n.includes("afterpay")&&r.push({key:"afterpay",title:"Afterpay",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"4 \xD7 INTEREST-FREE"})}),n.includes("square")&&e.squareApplicationId&&e.squareLocationId&&r.push({key:"square",title:"Card (Square)",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"VISA \xB7 MC \xB7 AMEX"})}),n.includes("gocardless")&&t&&r.push({key:"gocardless",title:"Bank Direct Debit",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY BY BANK"})}),n.includes("zip")&&r.push({key:"zip",title:"Zip",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY IN 4"})}),n.includes("klarna")&&t&&r.push({key:"klarna",title:"Klarna",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY LATER"})}),n.includes("worldpay")&&r.push({key:"worldpay",title:"Visa / Mastercard / American Express",body:null,price:be("span",{className:"font-mono text-xs uppercase tracking-[0.2em] text-accent",children:"VIA WORLDPAY"})}),n.includes("bank")&&r.push({key:"bank",title:"Bank transfer",body:null,price:be("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Invoiced"})}),r}var ko="This shop does not take payment online yet. Please contact the shop to order.",rt=class extends Error{};function ho(e,t){if(!e.orderNumber&&Ht(t))return t.message;let n=t instanceof de?` (${t.message})`:"";return e.orderNumber?`Your order ${e.orderNumber} is saved, but the payment did not start${n}. Try the payment again \u2014 your order will not be placed twice.`:`Your items are held under ${e.checkoutNumber}, but the payment did not start${n}. Try the payment again \u2014 you will not be charged twice.`}var Es=3e3,Rs=.005,bo=new Set(["paypal","square","afterpay","gocardless","zip","klarna","worldpay"]);function vo(){let e=ea();return{...e==="denied"?{}:$a(),...e?{adConsent:e}:{}}}var ve=e=>JSON.parse(e),Os={lastPress:null,keptCardKey:null,placedShape:null,placedRequest:null,unpaidOrder:null},As={lastPress:e=>e&&{key:e.key,request:Tn(e.request),lines:e.lines,goods:ve(e.shape)[0],plainPressed:!!e.plainMethod,plainLines:e.plainLines,plainGoods:ve(e.plainShape)[0]},keptCardKey:e=>e,placedShape:e=>e===null?null:ve(e)[0],placedRequest:e=>e&&Tn(e.body),unpaidOrder:e=>e&&_n(e)};function xo(e,t){let n={};for(let r of Object.keys(e))n[r]=e[r](t[r]);return n}var Co="Shipping cannot be calculated right now. Please try again.";function Po(e){return`Your order is saved, so its contact, address, delivery and discount can't change here. To change any of them, contact the shop and quote ${e}.`}function Ls({site:e,logo:t,signInHref:n=null,preview:r=!1,textCase:o}){let{items:s,totals:u,coupon:p,refuseCoupon:y,deliveryOptions:m,shippingMethodId:h,setShippingMethodId:g,setQuoteDestination:b,courier:x,requote:E,identify:N,clearCapturedCart:O,replaceItems:z,removeCoupon:R,applyCoupon:C}=Kt(),J=m.find(a=>a.id===h)?.pickupLocation??null,{country:Q,countries:ee,activeCountry:xe,formatMoney:we}=he(),[j,ye]=w(()=>go(e)[0]?.key??null),[Se,Te]=w(!0);H(()=>{Te(Tr(Le))},[]);let[te,ae]=w(!1),[V,k]=w(""),[Y,qe]=w(""),[F,Be]=w(""),[ne,_e]=w(""),[ke,Ee]=w(""),[q,oe]=w(""),[Ce,Re]=w(""),[le,it]=w(""),[He,st]=w(""),[$,ct]=w(()=>Q||ee[0]?.code||""),[Pe,Ct]=w(""),[lt,jn]=w([]),[Qt,en]=w(null),[Pt,ze]=w(null),Yn=fo(()=>ee.find(a=>a.code===$)??xe,[ee,$,xe]),Ko=Yn?.postalLabel||"Postal Code",Do=lt[0]?.divisionType||"State / Province";H(()=>{if(!$){jn([]),en($);return}en(null);let a=!1;return K.listCountrySubdivisions($).then(c=>{a||(jn(c),en($),Ct(""))}),()=>{a=!0}},[$]);let $n=ke.trim()!==""&&Ce.trim()!==""&&le.trim()!==""&&Qt===$&&(lt.length===0||Pe!=="")?le.trim():"";H(()=>{b($?{country:$,subdivision:Pe,postcode:$n}:null)},[$,Pe,$n,b]),H(()=>()=>b(null),[b]);let Uo=x?.status==="unavailable",Wo=E,[ut,Bn]=w(null),[jo,Hn]=w([]),[tn,Nt]=w("new"),[zn,Gn]=w(!1),[nn,Yo]=w("Home"),[$o,Vn]=w(null),[Bo,rn]=w(null),[Fe,wt]=w(()=>vt()),Jn=B(null),[an,Ge]=w(null),[Ho,ce]=w(null),[Xn,St]=w(null),[Zn,zo]=w(!1),[Qn,Go]=w(!1),[Oe,Ve]=w(null),[Vo,Et]=w(!1),[X,ue]=w(null),er=!!X?.orderNumber,Jo=er||te,[Xo,Zo]=w(null),[Qo,ei]=w(!1),[ti,ni]=w(!1),[ri,ai]=w(!1),[oi,ii]=w(!1),[si,ci]=w(!1),[tr,li]=w(!1),[ui,on]=w(!1),[dt,nr]=w(null),A=B({...Os});A.current.unpaidOrder=X;let sn=B(!1),Me=B(s),rr=!!(an||dt&&dt.kind!=="processing"||tr||Zn||Qn||Xn&&Oe?.orderNumber);H(()=>{rr&&(z([]),R())},[rr,z,R]);let ar=B(!1);H(()=>{r||ar.current||!s.some(bt)||(ar.current=!0,Kr({lines:s,currency:u.currency,value:u.subtotal-u.discount,coupon:p?.valid?p.code:void 0}))},[s,u,p,r]),H(()=>{N(V,Y.trim()||void 0)},[V,Y,N]);let or=B(null),[Rt,di]=w(null);H(()=>{let a=or.current;if(!Rt||!a)return;let c=()=>a.style.setProperty("--sf-checkout-header-h",`${Rt.offsetHeight}px`);c();let f=new ResizeObserver(c);return f.observe(Rt),()=>f.disconnect()},[Rt]),H(()=>{let a=f=>({setConfirming:f,land:Ge,markPaid:()=>Et(!0),note:(S,d)=>Zo({text:S,warning:d}),fail:ce,clearCart:O,lostChange:()=>rn(Bt)}),c={search:window.location.search,storage:Le,scrubQuery:()=>window.history.replaceState(null,"",window.location.pathname)};nt(Va,{...c,capture:K.captureAfterpayPayment,page:a(ei)}),nt(Ja,{...c,capture:K.captureZipPayment,page:a(ai)}),nt(Za,{...c,capture:K.completeGocardlessPayment,page:a(ni)}),nt(Qa,{...c,capture:K.captureKlarnaPayment,page:a(ii)}),nt(Xa,{...c,capture:K.confirmWorldpayPayment,page:a(ci)})},[]);function ir(a){let[c,f]=yo(a.address);Ee(c),oe(f),Re(a.city),it(a.zip_code),a.country&&ct(a.country),a.phone&&st(a.phone),ze({country:a.country||null,state:a.state??""})}H(()=>{if(Pt){if((Pt.country||$)!==$){ze(null);return}Qt===$&&(Ct(eo($,Pt.state,lt)),ze(null))}},[Pt,$,Qt,lt]),H(()=>{let a=!1;return(async()=>{try{let[c,f,S]=await Promise.all([et.me(),et.myProfile().catch(()=>null),et.myAddresses().catch(()=>[])]);if(a)return;Bn(c);let d=S.filter(M=>M.is_active);Hn(d),k(c.email);let L=(f?.contact_name??"").split(/\s+/);qe(c.first_name||L[0]||""),Be(c.last_name||L.slice(1).join(" "));let _=c.phone||f?.phone;_&&st(_);let T=d.find(M=>M.id===c.default_delivery_location)??d[0];if(T)Nt(T.id),ir(T);else if(f){let[M,Qe]=yo(f.address??"");Ee(M),oe(Qe),Re(f.city??""),it(f.zip_code??""),f.country&&ct(f.country),ze({country:f.country||null,state:f.state??""})}qt.current&&mr(qt.current,!1)}catch{}})(),()=>{a=!0}},[]);function pi(){et.logout(),mt.current=!0,qt.current=null,Tt.current=null,ft(),Bn(null),Hn([]),Nt("new"),Gn(!1),k(""),qe(""),Be(""),_e(""),Ee(""),oe(""),Re(""),it(""),st(""),ct(Q||ee[0]?.code||""),Ct(""),ze(null)}let Je=fo(()=>go(e,{canParkContext:Se}),[e,Se]);H(()=>{Je.some(a=>a.key===j)||ye(Je[0]?.key??null)},[Je,j]);let mi=Je.length===0,Ot=q.trim()?`${ke}
|
|
4
|
-
${q.trim()}`:ke,fi=Da({email:V,firstName:Y,lastName:F,company:ne.trim(),phone:He,address:Ot,city:Ce,subdivision:Pe,postcode:le,country:$,lines:s.map(a=>[a.id,a.qty]),shippingMethodId:h,couponCode:gn(p),currency:u.currency,shopperId:ut?.id??null}),ie=JSON.stringify([fi,j]),cn=B(null),At=B(!1),Ae=B(!1),Xe=B(null),Lt=B(!1),ge=B(ie);ge.current=ie;let sr=B(te);sr.current=te;let It=B(null);H(()=>{let a=()=>{let c=It.current;c&&(It.current=null,ue(c),ae(!1))};return window.addEventListener("pageshow",a),()=>window.removeEventListener("pageshow",a)},[]);function pt(a,c,f,S){let d={idempotencyKey:c,confirmation:f};vr()&&(d.lostChange=!0),Le.setItem(a,JSON.stringify(d)),window.location.assign(S),It.current=f}async function cr(a){ae(!0);try{await a()}finally{It.current||ae(!1)}}let lr=B(!1),ur=!!(an||dt&&dt.kind!=="processing");H(()=>{ur&&(lr.current=!0,ft())},[ur]);let Tt=B(null),mt=B(!1),ln=B(null);function ft(){ln.current=null,Mn()}let qt=B(null),[Ze,yi]=w(!1);function un(a){if(lr.current||r||mt.current)return;let c={key:a,authed:sn.current,parkedAt:ln.current??=Date.now(),press:xo(As,A.current),lines:s.length>0?s:Me.current,form:qn({email:V,firstName:Y,lastName:F,company:ne,address1:ke,address2:q,city:Ce,postcode:le,phone:He,country:$,subdivision:Pe,selectedAddressId:tn,shippingMethodId:h,couponCode:p?.valid?p.code:null})};Fn(c.press)?lo(c):ft()}let dr=B(j);dr.current=j;function dn(a){return{...co(a),...vo(),...a.payFirst?{checkoutFlow:$t}:{}}}function gi(a,c){let f=a.request.payFirst?"":null,S=a.plainPressed?null:"",d=()=>dr.current??"";return{key:a.key,send:()=>c(dn(a.request)),request:dn(a.request),lines:a.lines,shape:JSON.stringify([a.goods,null]),get method(){return f??d()},set method(L){f=L},get plainMethod(){return S??d()},set plainMethod(L){S=L},plainLines:a.plainLines,plainShape:JSON.stringify([a.plainGoods,null])}}let[hi,bi]=w(!1),pr=hi?!u.quoted||u.serverSubtotal===null?"waiting":Math.abs(u.serverSubtotal-u.subtotal)<Rs?"same":"changed":null,pn=!X&&pr==="waiting",vi=pn?{...u,repricing:!0}:u,mn=pn&&u.quoteFailed;H(()=>{if(!mn)return;let a=setInterval(E,Es);return()=>clearInterval(a)},[mn,E]);let xi=E;function mr(a,c=!0){k(a.email),qe(a.firstName),Be(a.lastName),_e(a.company),Ee(a.address1),oe(a.address2),Re(a.city),it(a.postcode),st(a.phone),a.country&&ct(a.country),ze({country:a.country||null,state:a.subdivision}),Nt(a.selectedAddressId),a.shippingMethodId&&g(a.shippingMethodId),c&&(Tt.current=a.couponCode)}H(()=>{let a=r?null:mo(),c=!!(a&&s.length>0);if(a&&c&&!io(a.lines,s)&&(ft(),a=null),a){let f=a.authed?K.createOrderAuthed:K.createOrder;wt(a.key),ln.current=a.parkedAt,sn.current=a.authed;let S={lastPress:d=>d&&gi(d,f),keptCardKey:d=>d,placedShape:d=>d===null?null:JSON.stringify([d,null]),placedRequest:d=>{if(!d)return null;let L=dn(d);return{body:L,send:()=>f(L)}},unpaidOrder:d=>d};A.current=xo(S,a.press),a.press.unpaidOrder&&ue(a.press.unpaidOrder),a.lines.length>0&&!c&&(z(a.lines),Me.current=a.lines,bi(!0)),a.form&&(qt.current=a.form,mr(a.form))}yi(!0)},[]),H(()=>{!Ze||s.length>0||A.current.unpaidOrder||te||(mt.current=!0,ft())},[Ze,s.length]),H(()=>{let a=Tt.current;!Ze||!a||s.length===0||(Tt.current=null,C(a,V||void 0))},[Ze,s.length]),H(()=>{!Ze||te||un(Fe)},[Ze,te,Fe,X]);let Ke=B(null);H(()=>{sr.current||(ie!==Ke.current&&(Ke.current=null),!(!Ae.current||!X||X.orderNumber)&&(ie===A.current.placedShape||ie===Ke.current||cr(()=>fr(X))))},[ie,X]);async function fr(a){if(Lt.current)return null;Lt.current=!0;try{let c=Xe.current?await Fa(Xe.current):"none";if(c==="succeeded"||c==="processing")return Ae.current=!1,ue(null),Ne("card"),c==="succeeded"?await De(void 0,a):Nr(a),null;if(c===void 0||!Ma.has(c))return Ke.current=ge.current,ue(a),ce(c==="requires_action"?qa:Ie),null;let f=await Pn(Fe);if(f==="committed")return Ae.current=!1,ue(null),Ne("card"),await De(void 0,a),null;if(f!=="released")return Ke.current=ge.current,ue(a),ce(Ie),null;Ae.current=!1,Xe.current=null,Ke.current=null,ce(null),ue(null);let S=vt();return wt(S),S}finally{Lt.current=!1}}async function ki(){r||te||Lt.current||await cr(Ci)}async function Ci(){if(X){if((Ae.current?ie!==A.current.placedShape:yt())&&!X.orderNumber){let S=await fr(X);S&&ge.current===ie&&await yr(S);return}ce(null),At.current=!1,await fn();let c=ve(ge.current)[1],f=X.orderNumber?c:"card";if(f&&bo.has(f)&&yt()&&ve(ge.current)[0]!==cn.current){gr(X);return}Ne(f),f!==j&&ye(f),await wr(X,f,!X.orderNumber);return}await yr(Fe)}async function yr(a){if(s.length===0||u.repricing||pn||!j||!Je.some(_=>_.key===j))return;let c=s.filter(bt).flatMap(_=>_t(_.components,_.qty));if(c.length===0){ce("Pick a size on each wheel's product page before checking out.");return}ce(null);let f,S=a,d=j,L=!1;try{let _=ut?K.createOrderAuthed:K.createOrder,T={customer:{email:V,name:`${Y} ${F}`.trim(),phone:He.trim()||void 0,companyName:ne.trim()||void 0,address:Ot,city:Ce,state:Pe||void 0,zipCode:le,country:$},items:c,currency:u.currency,idempotencyKey:a,shippingMethodId:h??void 0,couponCode:gn(p),...vo(),...Ia(j)?{checkoutFlow:$t}:{}};A.current.placedRequest={body:T,send:()=>_(T)},sn.current=!!ut,mt.current=!1,rn(null),cn.current=null,At.current=!1,Xe.current=null,Ae.current=!1,Ke.current=null,A.current.placedShape=ie,Me.current=s;let M=A.current.lastPress,Qe=M?.key===T.idempotencyKey&&(M.shape!==ie&&(!!T.checkoutFlow||!!M.method||!!M.plainMethod)||!!T.checkoutFlow&&!!M.plainMethod);Qe&&(A.current.keptCardKey=T.idempotencyKey);let Rr=kr(T,_),Or=Qe||!T.checkoutFlow&&A.current.keptCardKey===T.idempotencyKey,Ar=!Rr&&!Or&&!T.checkoutFlow&&!!M&&!M.method;Ar&&(M.plainMethod=j,M.plainLines=s,M.plainShape=ie,un(T.idempotencyKey));let Ue=await(Or?br(T,_):_(T).then(gt=>({answer:gt,request:T})).catch(gt=>(Rr?hr(gt,T.idempotencyKey):Ar&&wn(gt)&&(M.plainMethod=""),Pi(gt,T,_))));if(!Ue)return;f=Ue.answer,S=Ue.request.idempotencyKey,d=Ue.method??d,Ne(d),L=yt()||d!==ve(ge.current)[1],Ue.method&&Ue.method!==j&&ye(Ue.method),f.orderNumber&&(Cr(f),O()),await fn()}catch(_){let T=Mr(_);T?(y(T),ce(`${T} Your order has not been placed. Place it again to continue without the code.`)):_ instanceof rt?ce(Ie):ce(_ instanceof de?_.message:"Could not place the order. Please try again.");return}if(d&&bo.has(d)&&(L||yt())){gr(f);return}await wr(f,d,!1,S)}function gr(a){cn.current=ve(ge.current)[0],ce(`${ho(a,null)} ${Bt}`),ue(a)}function hr(a,c){wn(a)&&!Nn(a)&&A.current.lastPress?.key===c&&(A.current.lastPress=null)}async function Pi(a,c,f){if(Ht(a))return xr(c,f);if(!Nn(a))throw a;return A.current.keptCardKey=c.idempotencyKey,br(c,f,!0)}async function br(a,c,f=!1){let S=await Pn(a.idempotencyKey);if(S==="released")return xr(a,c);if(S!=="committed")throw new rt;let d=A.current.lastPress?.key===a.idempotencyKey?A.current.lastPress:null;if(Me.current=d?.lines??s,d?.method&&!f){A.current.keptCardKey=null,A.current.placedRequest={body:d.request,send:d.send};let Qe=await d.send().catch(()=>{throw new rt});return A.current.placedShape=d.shape,{answer:Qe,request:a,method:d.method}}let L={...a,checkoutFlow:$t},_=d&&!d.method?{body:d.request,send:d.send}:{body:L,send:()=>c(L)};A.current.placedRequest=_;let T=_.send,M=await T().catch(()=>null);if(!M&&d?.plainMethod)throw new rt;return M?.orderNumber&&M.status!==Ta?(A.current.keptCardKey=null,d?.plainMethod&&(Me.current=d.plainLines),d&&(A.current.placedShape=d.plainMethod?d.plainShape:d.shape),{answer:M,request:a,method:d?.plainMethod||void 0}):(d&&(A.current.placedShape=d.shape),Ne("card"),await Pr("",M?async()=>M:()=>Promise.reject(new Error("The order request did not answer."))),await fn(),null)}function yt(){let a=A.current.placedShape;return a!==null&&ve(a)[0]!==ve(ge.current)[0]}function Ne(a){a!==ve(ge.current)[1]&&(At.current=!0),rn(vr()?Bt:null)}function vr(){return At.current||yt()}async function xr(a,c){let f={...a,idempotencyKey:vt()};A.current.keptCardKey=null,wt(f.idempotencyKey),A.current.placedRequest={body:f,send:()=>c(f)},kr(f,c);try{return{answer:await c(f),request:f}}catch(S){throw hr(S,f.idempotencyKey),S}}function kr(a,c){return A.current.lastPress?.key===a.idempotencyKey?!1:(A.current.lastPress={key:a.idempotencyKey,send:()=>c(a),request:a,lines:s,shape:ie,method:a.checkoutFlow?"":j??"",plainMethod:"",plainLines:s,plainShape:ie},mt.current=!1,un(a.idempotencyKey),!0)}function Cr(a){Dr({confirmation:a,lines:Me.current,adsSendTo:e.googleAdsId&&e.googleAdsConversionLabel?`${e.googleAdsId}/${e.googleAdsConversionLabel}`:null}),Ga({confirmation:a,lines:Me.current})}async function De(a,c=Oe){if(!c)return;let f=a?async()=>a:A.current.placedRequest?.send;if(c.orderNumber||!f){Et(!0),Ge(c);return}await Pr(c.checkoutNumber,f)}async function Pr(a,c){O(),await Ua({checkoutNumber:a,resend:c,page:{setConfirming:li,land:Ge,markPaid:()=>Et(!0),track:Cr,unplaced:nr}})}function Nr(a=Oe){if(a){if(a.orderNumber){Ge(a);return}O(),nr({kind:"processing",checkoutNumber:a.checkoutNumber})}}async function fn(){let a=JSON.stringify([nn.trim(),Y,F,He.trim(),Ot,Ce,Pe,le,$]);if(!(!ut||!zn||tn!=="new"||Jn.current===a))try{await et.createAddress({label:nn.trim()||"Home",contact_name:`${Y} ${F}`.trim(),phone:He.trim(),address:Ot,city:Ce,zip_code:le,state:Pe,country:$}),Jn.current=a,Vn("Address saved to your account.")}catch{Vn("We couldn't save the address to your account \u2014 you can add it under Account \u2192 Addresses.")}}async function wr(a,c=j,f=!1,S=Fe){ue(null);try{if(c==="card"&&e.paymentMethods.includes("card")){let d=await K.createPaymentIntent({idempotencyKey:S});Xe.current=d;let L=a;if(f){let _=await A.current.placedRequest?.send().catch(()=>null);if(_?.orderNumber){Ne("card"),await De(_,a);return}L=Sr(a,_)??{...a,expiresAt:null}}Ne("card"),Ve(L),on(!1),St(d)}else if(c==="paypal"&&e.paymentMethods.includes("paypal"))Ve(a),zo(!0);else if(c==="afterpay"&&e.paymentMethods.includes("afterpay")){let d=window.location.origin,L=await K.createAfterpayCheckout({idempotencyKey:S,confirmUrl:`${d}/checkout?afterpay=confirm`,cancelUrl:`${d}/checkout?afterpay=cancel`});pt(Sn,S,a,L.redirectCheckoutUrl);return}else if(c==="square"&&e.paymentMethods.includes("square"))Ve(a),Go(!0);else if(c==="gocardless"&&e.paymentMethods.includes("gocardless")){let d=window.location.origin,L=await K.createGocardlessBillingRequest({idempotencyKey:S,confirmUrl:`${d}/checkout?gocardless=confirm`,cancelUrl:`${d}/checkout?gocardless=cancel`});pt(En,S,a,L.authorisationUrl);return}else if(c==="zip"&&e.paymentMethods.includes("zip")){let d=window.location.origin,L=await K.createZipCheckout({idempotencyKey:S,redirectUrl:`${d}/checkout?zip=return`});pt(Rn,S,a,L.redirectUrl);return}else if(c==="klarna"&&e.paymentMethods.includes("klarna")){let d=window.location.origin,L=await K.createKlarnaCheckout({idempotencyKey:S,confirmUrl:`${d}/checkout?klarna=confirm`,cancelUrl:`${d}/checkout?klarna=cancel`});pt(On,S,a,L.redirectUrl);return}else if(c==="worldpay"&&e.paymentMethods.includes("worldpay")){let d=window.location.origin,L=await K.createWorldpayCheckout({idempotencyKey:S,successUrl:`${d}/checkout?worldpay=return`,cancelUrl:`${d}/checkout?worldpay=cancel`});pt(An,S,a,L.redirectUrl);return}else Ne(c),Ge(a)}catch(d){if((f||c==="card")&&d instanceof de&&d.status===409){Ne(c),await De(void 0,a);return}Er(a,d)}}function Sr(a,c){return c&&!c.orderNumber&&c.status==="open"&&c.checkoutNumber===a.checkoutNumber?c:null}function Er(a,c){ce(ho(a,c)),!a.orderNumber&&Ht(c)?(Ae.current=!1,wt(vt())):ue(a)}async function Ni(a){if(!Oe)return;let c=Oe;try{let f=await K.createPaymentIntent({idempotencyKey:Fe}),S=await A.current.placedRequest?.send().catch(()=>null);if(S?.orderNumber){await De(S);return}let d=Sr(c,S);Ve(d??{...c,expiresAt:null}),on(a&&d!==null),Xe.current=f,St(f)}catch(f){if(f instanceof de&&f.status===409){await De();return}St(null),Ve(null),Er(c,f)}}function wi(){Oe&&(Ae.current=!0,ue(Oe),St(null),Ve(null),on(!1))}return{site:e,logo:t,signInHref:n,capitalised:Gr(o)==="capitalised",items:s,totals:vi,coupon:p,deliveryOptions:m,courierUnavailable:Uo,retryCourier:Wo,shippingMethodId:h,setShippingMethodId:g,pickupLocation:J,servedCountries:ee,formatMoney:we,payChoice:j,setPayChoice:ye,placing:te,email:V,setEmail:k,firstName:Y,setFirstName:qe,lastName:F,setLastName:Be,company:ne,setCompany:_e,address1:ke,setAddress1:Ee,address2:q,setAddress2:oe,city:Ce,setCity:Re,postcode:le,setPostcode:it,phone:He,setPhone:st,country:$,setCountry:ct,subdivision:Pe,setSubdivision:Ct,subdivisions:lt,destination:Yn,postcodeLabel:Ko,subdivisionLabel:Do,me:ut,savedAddresses:jo,selectedAddressId:tn,setSelectedAddressId:Nt,saveAddress:zn,setSaveAddress:Gn,saveLabel:nn,setSaveLabel:Yo,addressSaveNote:$o,lostChangeNote:Bo,idemKey:Fe,confirmation:an,setConfirmation:Ge,orderError:Ho,payment:Xn,paypalStep:Zn,squareStep:Qn,pendingConf:Oe,paid:Vo,setPaid:Et,unpaidOrder:X,orderLocked:er,formLocked:Jo,restoredPrices:pr,quoteFailed:mn,retryQuote:xi,payNote:Xo,afterpayConfirming:Qo,gocardlessConfirming:ti,zipConfirming:ri,klarnaConfirming:oi,worldpayConfirming:si,cardConfirming:tr,checkoutResult:dt,confirmCardPayment:De,cardStillProcessing:Nr,renewCardPayment:Ni,holdRenewed:ui,leaveCardPayment:wi,checkoutRootRef:or,setCheckoutHeaderEl:di,fillFromAddress:ir,checkoutSignOut:pi,payOptions:Je,noPaymentMethod:mi,placeOrder:ki}}var No=ws(null);function wo({children:e,...t}){let n=Ls(t);return be(No.Provider,{value:n,children:e})}function me(){let e=Ss(No);if(!e)throw new Error("useCheckout must be used inside CheckoutStateProvider");return e}import{useId as Kn}from"react";import{Fragment as fe,jsx as i,jsxs as P}from"react/jsx-runtime";function Ro(){let{email:e,setEmail:t,firstName:n,setFirstName:r,lastName:o,setLastName:s,company:u,setCompany:p,me:y,signInHref:m,checkoutSignOut:h,orderLocked:g,unpaidOrder:b}=me(),x=Kn();return P(Xt,{num:1,title:"Contact",children:[g&&b&&i(Ts,{orderNumber:b.orderNumber}),i(se,{label:"Email",htmlFor:x,hint:y?P(fe,{children:["Signed in \xB7"," ",i("button",{type:"button",onClick:h,className:"underline transition-colors enabled:hover:text-accent",children:"Not you? Sign out"})]}):m?P(fe,{children:["Have an account?"," ",i(at,{href:m,className:"underline transition-colors hover:text-accent",children:"Sign in"})]}):void 0,children:i("input",{id:x,type:"email",value:e,onChange:E=>t(E.target.value),placeholder:"you@example.com",readOnly:y!==null,className:re})}),P(To,{children:[i(se,{label:"First name",children:i("input",{type:"text",value:n,onChange:E=>r(E.target.value),className:re})}),i(se,{label:"Last name",children:i("input",{type:"text",value:o,onChange:E=>s(E.target.value),className:re})})]}),i(se,{label:"Company (optional)",children:i("input",{type:"text",value:u,onChange:E=>p(E.target.value),autoComplete:"organization",className:re})})]})}function Oo(){let{pickupLocation:e,servedCountries:t,address1:n,setAddress1:r,address2:o,setAddress2:s,city:u,setCity:p,postcode:y,setPostcode:m,phone:h,setPhone:g,country:b,setCountry:x,subdivision:E,setSubdivision:N,subdivisions:O,destination:z,postcodeLabel:R,subdivisionLabel:C,me:J,savedAddresses:Q,selectedAddressId:ee,setSelectedAddressId:xe,saveAddress:we,setSaveAddress:j,saveLabel:ye,setSaveLabel:Se,fillFromAddress:Te,orderLocked:te}=me(),ae=Kn(),V=Kn();return P(Xt,{num:2,title:e?"Collection":"Shipping address",children:[e?P("div",{className:"grid gap-2 text-[14px] leading-[1.6]",children:[i("span",{className:"font-medium",children:e.name}),[e.address,e.city,e.state,e.zipCode,e.country].filter(Boolean).length>0&&i("span",{className:"opacity-80",children:[e.address,e.city,e.state,e.zipCode,e.country].filter(Boolean).join(", ")}),e.openingHours&&i("span",{className:"opacity-80",children:e.openingHours}),e.readyIn&&i("span",{className:"opacity-80",children:e.readyIn}),e.instructions&&i("span",{className:"opacity-80",children:e.instructions}),i("span",{className:"mt-1 font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"No delivery address needed"})]}):P(fe,{children:[J!==null&&Q.length>0&&P("div",{className:"grid gap-3",children:[Q.map(k=>i(Vt,{active:ee===k.id,onClick:()=>{xe(k.id),Te(k)},title:k.label,body:k.formatted_address,price:null},k.id)),i(Vt,{active:ee==="new",onClick:()=>xe("new"),title:"New address",body:null,price:null})]}),i(se,{label:"Address line 1",children:i("input",{type:"text",value:n,onChange:k=>r(k.target.value),className:re})}),i(se,{label:"Address line 2",children:i("input",{type:"text",value:o,onChange:k=>s(k.target.value),placeholder:"Apartment, unit, garage bay\u2026",className:re})}),P(To,{cols:"three",children:[i(se,{label:"City",children:i("input",{type:"text",value:u,onChange:k=>p(k.target.value),className:re})}),i(se,{label:R,children:i("input",{type:"text",value:y,onChange:k=>m(k.target.value),className:re})}),i(se,{label:"Country",separate:!0,htmlFor:ae,children:i(bn,{id:ae,value:b,onChange:k=>x(k.target.value),className:re+" pr-10",style:So,children:t.map(k=>i("option",{value:k.code,children:k.name},k.code))})})]}),i(se,{label:C,separate:!0,htmlFor:V,children:O.length>0?P(bn,{id:V,value:E,onChange:k=>N(k.target.value),className:re+" pr-10",style:So,children:[i("option",{value:"",children:"Select\u2026"}),O.map(k=>i("option",{value:k.code||k.name,children:k.name},k.code||k.name))]}):i("input",{id:V,type:"text",value:E,onChange:k=>N(k.target.value),className:re})})]}),i(se,{label:"Phone",children:i("input",{type:"tel",value:h,onChange:k=>g(k.target.value),className:re})}),!e&&J!==null&&ee==="new"&&!te&&P(fe,{children:[i(qs,{checked:we,onChange:j,label:"Save this address to my account"}),we&&i(se,{label:"Address label",children:i("input",{type:"text",value:ye,onChange:k=>Se(k.target.value),placeholder:"Home",className:re})})]})]})}function Ao(){let{totals:e,coupon:t,deliveryOptions:n,shippingMethodId:r,setShippingMethodId:o,pickupLocation:s,formatMoney:u,city:p,destination:y,courierUnavailable:m,retryCourier:h}=me();return i(Xt,{num:3,title:"Shipping",children:P("div",{className:"grid gap-3",children:[n.map(g=>{let b=g.pickupLocation,x=b?[b.address,b.city,b.state,b.zipCode].filter(Boolean).join(", "):null;return i(Vt,{active:r===g.id,onClick:()=>o(g.id),title:b?`${g.name} \u2014 ${b.name}`:g.name,body:b?[x,b.openingHours,b.readyIn,b.instructions,g.description].filter(Boolean).join(" \xB7 "):g.description||null,price:e.freeShipping||g.amount===0?Ft:e.deliveryDiscountPercent>0?P(fe,{children:[i("s",{className:"text-fg-dim",children:u(g.amount,e.currency)})," ",u(Wr(g.amount,e.deliveryDiscountPercent),e.currency)]}):u(g.amount,e.currency),tag:g.tag||void 0},g.id)}),m?P("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:[Co," ",i("button",{type:"button",onClick:h,className:"underline transition-colors enabled:hover:text-accent",children:"Try again"})]}):n.length===0&&i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"Shipping is arranged after your order is reviewed."})]})})}function Lo(){let{payChoice:e,setPayChoice:t,payment:n,payOptions:r,noPaymentMethod:o}=me();return P(Xt,{num:4,title:"Payment",children:[o&&i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:ko}),i("div",{className:"grid gap-3",children:r.map(s=>i(Vt,{active:e===s.key,onClick:()=>t(s.key),title:s.title,body:s.body,price:s.price,tag:s.tag},s.key))}),e==="card"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll enter card details on the secure payment step after placing the order."}):e==="paypal"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll approve the payment with PayPal on the payment step after placing the order."}):e==="afterpay"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll be taken to Afterpay to approve four interest-free payments, then brought straight back."}):e==="square"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll enter card details on the secure payment step after placing the order."}):e==="gocardless"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll set up a bank direct debit with GoCardless, then be brought straight back. Direct debits clear in a few days."}):e==="zip"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll be taken to Zip to approve four instalments, then brought straight back."}):e==="klarna"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll be taken to Klarna to choose how to pay, then brought straight back."}):e==="worldpay"?i("p",{className:"font-mono text-xs uppercase tracking-[0.2em] text-fg-dim",children:"You\u2019ll enter your card on Worldpay\u2019s secure page, then be brought straight back."}):e==="bank"?i("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"Our team emails you the invoice and bank details after review."}):null]})}function Io(){let{site:e,items:t,totals:n,coupon:r,formatMoney:o,payChoice:s,placing:u,email:p,orderError:y,payment:m,noPaymentMethod:h,unpaidOrder:g,formLocked:b,restoredPrices:x,quoteFailed:E,retryQuote:N,placeOrder:O}=me(),z=x==="waiting",R=x==="changed";return P("aside",{className:"sticky top-[var(--sf-checkout-header-h,88px)] border border-line max-view-desktop:static",style:{background:"linear-gradient(180deg, color-mix(in oklab, var(--site-surface) 70%, var(--bg)) 0%, var(--bg) 100%)"},children:[P("header",{className:"flex items-center justify-between border-b border-accent bg-accent px-6 py-4 font-mono text-[13px] font-bold uppercase tracking-[0.28em] text-bg",children:[i("span",{children:"Your order"}),i(at,{href:"/wheels",className:"text-bg/80 transition-colors hover:text-bg",children:"Edit \u2197"})]}),i("div",{className:"flex flex-col px-6 py-2",children:t.length===0?P("div",{className:"py-8 text-center font-serif text-[16px] italic leading-[1.5] text-fg-dim",children:["Your cart is empty. ",i(at,{href:"/wheels",className:"text-accent underline-offset-4 hover:underline",children:"Browse the catalog \u2192"})]}):t.map(C=>i(_s,{slug:C.slug,name:C.name,qty:C.qty,config:C.config,configSummary:Fs(C.config),price:R||z?null:Br(C,n.currency)??0,currency:n.currency},C.id))}),i(Jt,{locked:b,className:"border-t border-line px-6 pt-5",children:i(Xr,{customerEmail:p,disabled:b})}),P("div",{className:"flex flex-col gap-2 border-t border-line mt-5 px-6 pt-5",children:[i(Ye,{label:"Subtotal",value:z?Mt:o(R?n.serverSubtotal??0:n.subtotal,n.currency)}),(n.discount>0||n.deliverySaving>0)&&r?.valid&&i(Ye,{label:`Coupon \xB7 ${r.code}`,value:i("span",{className:"font-semibold text-green",children:jr(n,C=>o(C,n.currency))})}),r?.deferred&&i(Ye,{label:`Coupon \xB7 ${r.code}`,value:Fr}),r?.valid&&r.effects?.gift&&i(Ye,{label:`Free gift \xB7 ${r.effects.gift.partNumber}${r.effects.gift.quantity>1?` \xD7${r.effects.gift.quantity}`:""}`,value:i("span",{className:"font-semibold text-green",children:Ft})}),i(Ye,{label:"Shipping",value:n.shippingStatus==="free"?i("span",{className:"font-semibold text-green",children:Ft}):Yr(n.shippingStatus)??o(n.shipping,n.currency)}),n.tax&&(n.tax.charged?i(Ye,{label:n.tax.inclusive?`${n.tax.name} included \xB7 ${n.tax.rate}%`:n.tax.name,value:o(n.tax.amount,n.currency)}):n.tax.name?i(Ye,{label:n.tax.name,value:Ur}):null)]}),P("div",{className:"mt-4 flex items-end justify-between border-y-2 border-accent px-6 py-4",style:{background:"color-mix(in oklab, var(--accent) 10%, var(--bg))"},children:[i("span",{className:"font-display text-[20px] font-bold uppercase tracking-[0.04em] text-fg",children:"Total"}),i("span",{className:"text-right font-display text-[34px] font-bold leading-none tracking-[-0.025em] text-fg",children:n.repricing?Mt:o(n.grand,n.currency)})]}),P("div",{className:"flex flex-col gap-3 px-6 pt-5 pb-6",children:[R&&i(pe,{tone:"quiet",children:ro}),E&&P(pe,{role:"alert",children:[ao," ",i("button",{type:"button",onClick:N,className:"underline transition-colors enabled:hover:text-accent",children:"Try again"})]}),y&&i(pe,{role:"alert",children:y}),n.hasUnpricedLine&&P(pe,{role:"status",children:["One or more items have no price in ",n.currency,". Remove them, or switch region, to continue."]}),i("button",{type:"button",onClick:O,disabled:u||!g&&(h||t.length===0||n.hasUnpricedLine||n.repricing),className:["group flex items-center justify-between border px-5 py-5 font-mono text-[14px] font-medium uppercase tracking-[0.3em] transition-all max-[640px]:gap-3 max-[640px]:whitespace-nowrap max-[640px]:px-4 max-[640px]:text-xs max-[640px]:tracking-normal",u||!g&&(t.length===0||h||n.hasUnpricedLine||n.repricing)?"cursor-not-allowed border-line bg-surface text-fg-dim":"border-btn bg-btn text-btn-ink hover:border-fg hover:bg-fg"].join(" "),children:u?P(fe,{children:["Building order\u2026 ",i("span",{children:"\xB7"})]}):h?P(fe,{children:["No online payment ",i("span",{children:"\xB7"})]}):g?P(fe,{children:[P("span",{children:["Try payment again",P(Eo,{children:[" \xB7 ",zt(g)]})]}),i("span",{className:"transition-transform group-hover:translate-x-1",children:"\u2192"})]}):E?P(fe,{children:["Total not confirmed ",i("span",{children:"\xB7"})]}):n.repricing?P(fe,{children:[Mt," ",i("span",{children:"\xB7"})]}):P(fe,{children:[P("span",{children:[s==="bank"?"Place order":"Continue to payment",P(Eo,{children:[" \xB7 ",o(n.grand,n.currency)]})]}),P("span",{className:"flex items-center gap-3",children:[i("span",{"aria-hidden":"true",className:"max-[359px]:hidden min-[641px]:hidden",children:o(n.grand,n.currency)}),i("span",{className:"transition-transform group-hover:translate-x-1",children:"\u2192"})]})]})})]})]})}var Is=" [&:disabled_:disabled]:cursor-not-allowed! [&:disabled_:disabled]:opacity-70! [&_input[readonly]]:cursor-not-allowed [&_input[readonly]]:opacity-70";function Jt({locked:e,className:t="",children:n}){return i("fieldset",{disabled:e,className:"m-0 min-w-0 border-0 p-0 "+t+Is,children:n})}function at({href:e,className:t="",children:n,...r}){let{placing:o}=me();return o?i("span",{"aria-disabled":"true","aria-label":r["aria-label"],className:t+" pointer-events-none",children:n}):i(We,{href:e,"aria-label":r["aria-label"],className:t,children:n})}function Ts({orderNumber:e}){return i(pe,{tone:"quiet",role:"status",children:P("span",{className:"flex items-start gap-2",children:[P("svg",{"aria-hidden":!0,viewBox:"0 0 16 16",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"mt-[3px] shrink-0",children:[i("rect",{x:"3",y:"7",width:"10",height:"7",rx:"1"}),i("path",{d:"M5 7V5a3 3 0 0 1 6 0v2"})]}),i("span",{children:Po(e)})]})})}var So={backgroundImage:"linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%)",backgroundPosition:"calc(100% - 18px) 50%, calc(100% - 12px) 50%",backgroundSize:"6px 6px",backgroundRepeat:"no-repeat"};function Xt({num:e,title:t,children:n}){let{capitalised:r}=me();return P("section",{className:"mb-6 border border-line bg-bg",children:[P("header",{className:"flex items-center gap-4 border-b border-line bg-surface px-6 py-4",children:[i("span",{className:"inline-flex items-center justify-center bg-accent px-3 py-1 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-bg",children:r?String(e):`N\xB0 ${String(e).padStart(2,"0")}`}),i("h2",{className:"font-display text-[26px] font-medium uppercase leading-none tracking-[-0.02em] text-fg",children:t})]}),i("div",{className:"flex flex-col gap-4 px-6 py-6",children:n})]})}function To({cols:e="two",children:t}){return i("div",{className:["grid gap-3 max-[640px]:grid-cols-1",e==="two"?"grid-cols-2":"grid-cols-[1.2fr_1fr_1fr]"].join(" "),children:t})}function Vt({active:e,onClick:t,title:n,body:r,price:o,tag:s}){return P("button",{type:"button",onClick:t,"aria-pressed":e,className:["relative grid grid-cols-[auto_1fr_auto] items-center gap-5 border bg-bg px-6 py-5 text-left transition-colors",e?"border-accent outline outline-1 outline-accent -outline-offset-1":"border-line enabled:hover:border-[color-mix(in_oklab,var(--accent)_50%,var(--site-line))]"].join(" "),style:e?{background:"color-mix(in oklab, var(--accent) 14%, var(--bg))"}:void 0,children:[e&&i("span",{"aria-hidden":!0,className:"absolute inset-y-0 left-0 w-[3px] bg-accent"}),i("span",{className:["flex h-[18px] w-[18px] items-center justify-center rounded-full border-2",e?"border-accent":"border-fg-dim"].join(" "),children:e&&i("span",{className:"block h-2.5 w-2.5 rounded-full bg-accent"})}),P("span",{className:"flex min-w-0 flex-col gap-1",children:[P("span",{className:"flex flex-wrap items-baseline gap-3 font-display text-[18px] font-medium tracking-[-0.01em] text-fg",children:[n,s&&i("span",{className:"border px-2 py-0.5 font-mono text-[11px] font-normal uppercase tracking-[0.24em] text-accent",style:{background:"color-mix(in oklab, var(--accent) 14%, transparent)",borderColor:"color-mix(in oklab, var(--accent) 45%, var(--site-line))"},children:s})]}),r&&i("span",{className:"font-mono text-[12px] uppercase tracking-[0.22em] text-fg-dim",children:r})]}),i("span",{className:"whitespace-nowrap font-display text-[18px] font-medium tracking-[-0.01em] text-fg",children:o})]})}function qs({checked:e,onChange:t,label:n,sub:r}){return P("div",{className:"flex items-start gap-3 border-t border-line py-4 first:border-t-0 first:pt-0",children:[i("button",{type:"button",onClick:()=>t(!e),"aria-pressed":e,"aria-label":n,className:["mt-px flex h-5 w-5 flex-shrink-0 items-center justify-center border transition-colors",e?"border-accent":"border-line"].join(" "),style:e?{background:"color-mix(in oklab, var(--accent) 18%, transparent)"}:void 0,children:e&&i("span",{className:"text-[13px] text-accent",children:"\u2713"})}),P("span",{className:"flex-1 font-display text-[16px] leading-[1.5] text-fg",children:[n,r&&i("small",{className:"mt-1 block font-mono text-[12px] uppercase tracking-[0.18em] text-fg-dim",children:r})]})]})}function _s({slug:e,name:t,qty:n,config:r,configSummary:o,price:s,currency:u}){let{catalog:p}=Kt(),{formatMoney:y}=he(),m=p.find(N=>N.slug===e),h=m?.spokes??5,g=m?.mesh??!1,b=r.find(N=>N.gold)?.label,x=m?.finishes.find(N=>N.name===b&&N.src)??m?.finishes.find(N=>N.src),E=m?.finishes[0]?.color??Jr;return P("div",{className:"grid grid-cols-[60px_1fr_auto] items-center gap-4 border-b border-line py-4 last:border-b-0",children:[P("div",{className:"relative aspect-square",children:[i("div",{className:"flex h-full w-full items-center justify-center overflow-hidden border border-line bg-surface",children:x?.src?i(Lr,{src:x.src,alt:`${t.lead}${t.accent} \u2014 ${x.name}`,width:120,height:120,sizes:"60px",className:"block h-full w-full object-contain p-2"}):i("div",{className:"block w-[78%]",style:{color:E},children:i(Vr,{spokes:h,mesh:g,className:"block w-full"})})}),i("span",{className:"absolute -right-1.5 -top-1.5 z-[2] flex h-[18px] w-[18px] items-center justify-center rounded-full bg-accent font-mono text-[11px] font-bold text-bg",children:n})]}),P("div",{className:"flex min-w-0 flex-col gap-0.5",children:[P("span",{className:"font-display text-[17px] font-bold uppercase leading-none tracking-[-0.005em] text-fg",children:[t.lead,i("em",{className:"font-serif font-normal italic text-accent tracking-[-0.005em] normal-case",children:t.accent})]}),i("span",{className:"font-mono text-[12px] uppercase leading-[1.5] tracking-[0.18em] text-fg-dim",children:o})]}),i("span",{className:"text-right font-display text-[17px] font-bold tracking-[-0.005em] text-fg",children:s===null?null:y(s,u)})]})}function Eo({children:e}){return i("span",{className:"max-[640px]:sr-only",children:e})}function Ye({label:e,value:t}){return P("div",{className:"flex items-center justify-between font-mono text-[13px] font-medium uppercase tracking-[0.18em] text-fg",children:[i("span",{children:e}),i("strong",{className:"font-display text-[16px] font-medium tracking-[-0.005em] normal-case text-fg",children:t})]})}function Fs(e){return e.map(t=>t.label).join(" \xB7 ")}import{Fragment as G,jsx as l,jsxs as v}from"react/jsx-runtime";function Wn(e){return l(wo,{...e,children:l(Ds,{children:l(js,{})})})}function Ds({children:e}){let{capitalised:t}=me();return t?l("div",{"data-checkout-case":"capitalised",className:"contents",children:e}):l(G,{children:e})}function Us({order:e,paid:t}){let{formatMoney:n}=he();if(!e.grandTotal||!e.currency)return null;let r=u=>n(Number(u),e.currency),o=Number(e.freightCharge??0),s=Number(e.discountAmount??0);return v("dl",{className:"grid w-full max-w-sm grid-cols-[1fr_auto] gap-x-6 gap-y-1 border-y border-line py-3 text-left text-sm",children:[(e.shippingMethod||o>0)&&v(G,{children:[v("dt",{className:"text-fg-dim",children:["Delivery",e.shippingMethod?` \xB7 ${e.shippingMethod}`:""]}),l("dd",{className:"text-right font-mono",children:r(e.freightCharge??"0")})]}),s>0&&v(G,{children:[v("dt",{className:"text-fg-dim",children:["Discount",e.couponCode?` \xB7 ${e.couponCode}`:""]}),v("dd",{className:"text-right font-mono",children:["\u2212",r(e.discountAmount??"0")]})]}),l("dt",{className:"text-fg",children:t?"Total paid":"Order total"}),l("dd",{className:"text-right font-mono text-fg",children:r(e.grandTotal)})]})}function Ws({result:e,lostChangeNote:t=null}){let n=l("span",{className:"font-mono text-fg",children:e.checkoutNumber});return v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:e.kind==="refunded"||e.kind==="expired"?"Order not placed":e.kind==="processing"?"Payment processing":"Payment received"}),l("p",{className:"text-fg-dim",children:e.kind==="refunded"?v(G,{children:["An item sold out or an offer ended while you paid for checkout ",n,". Your payment goes back to your card."]}):e.kind==="expired"?v(G,{children:["The hold on checkout ",n," ran out before your payment arrived. Your payment goes back to your card."]}):e.kind==="processing"?v(G,{children:["Your payment for checkout ",n," is being processed. When it goes through, we will email your order confirmation."]}):v(G,{children:["Thank you \u2014 your payment",e.checkoutNumber?v(G,{children:[" for checkout ",n]}):null," has gone through. We will email you the order number shortly."]})}),t&&e.kind!=="refunded"&&e.kind!=="expired"&&l("p",{className:"text-sm text-fg-dim",children:t}),l(We,{href:"/wheels",className:"mt-2 border-2 border-line px-6 py-3 font-mono text-[12px] uppercase tracking-[0.24em] hover:border-accent",children:"Continue browsing"})]})}function js(){let{site:e,logo:t,items:n,placing:r,formLocked:o,email:s,me:u,addressSaveNote:p,lostChangeNote:y,idemKey:m,confirmation:h,setConfirmation:g,payment:b,paypalStep:x,squareStep:E,pendingConf:N,paid:O,setPaid:z,payNote:R,afterpayConfirming:C,gocardlessConfirming:J,zipConfirming:Q,klarnaConfirming:ee,worldpayConfirming:xe,cardConfirming:we,checkoutResult:j,confirmCardPayment:ye,cardStillProcessing:Se,renewCardPayment:Te,holdRenewed:te,leaveCardPayment:ae,checkoutRootRef:V,setCheckoutHeaderEl:k}=me();return h?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:O?"Payment received":"Order received"}),v("p",{className:"text-fg-dim",children:[O?v(G,{children:["Thank you \u2014 your payment for order"," ",l("span",{className:"font-mono text-fg",children:h.orderNumber})," has gone through."," "]}):v(G,{children:["Thank you \u2014 your order ",l("span",{className:"font-mono text-fg",children:h.orderNumber})," is being reviewed by our team."," "]}),u?v(G,{children:["Track it under"," ",l(We,{href:"/account/orders",className:"text-accent underline",children:"your orders"}),"."]}):l(G,{children:"We\u2019ve emailed you a link to set a password and track it."})]}),l(Us,{order:h,paid:O}),y&&l("p",{className:"text-sm text-fg-dim",children:y}),R&&(R.warning?l("div",{className:"w-full max-w-sm text-left",children:l(pe,{tone:"bad",role:"alert",children:R.text})}):l("p",{className:"text-sm text-fg-dim",children:R.text})),p&&l("p",{className:"text-sm text-fg-dim",children:p}),!u&&v("p",{className:"text-sm text-fg-dim",children:["You can also"," ",l(We,{href:`/track?order=${encodeURIComponent(h.orderNumber)}`,className:"text-accent underline",children:"track this order"})," ","anytime with just your order number and email \u2014 no password needed."]}),l(We,{href:"/wheels",className:"mt-2 border-2 border-line px-6 py-3 font-mono text-[12px] uppercase tracking-[0.24em] hover:border-accent",children:"Continue browsing"})]}):j?l(Ws,{result:j,lostChangeNote:y}):we?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:"Confirming your payment\u2026"}),l("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Placing your order \u2014 one moment."})]}):C?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:"Confirming your payment\u2026"}),l("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Checking with Afterpay \u2014 one moment."})]}):J?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:"Setting up your direct debit\u2026"}),l("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Confirming with GoCardless \u2014 one moment."})]}):Q?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:"Confirming your payment\u2026"}),l("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Checking with Zip \u2014 one moment."})]}):ee?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:"Confirming your payment\u2026"}),l("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Checking with Klarna \u2014 one moment."})]}):xe?v("div",{className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center text-fg",children:[l("h1",{className:"font-display text-3xl",children:"Confirming your payment\u2026"}),l("p",{className:"font-mono text-xs uppercase tracking-[0.2em] text-fg-dim",children:"Checking with Worldpay \u2014 one moment."})]}):b&&N?l(Ys,{payment:b,checkout:N,holdRenewed:te,onPaid:ye,onProcessing:Se,onRenew:Te,onBack:ae}):x&&N?l(zs,{confirmation:N,clientId:e.paypalClientId??"",idemKey:m,onPaid:()=>{z(!0),g(N)},onSkip:()=>g(N)}):E&&N?l(Js,{confirmation:N,applicationId:e.squareApplicationId??"",locationId:e.squareLocationId??"",environment:e.squareEnvironment??"production",idemKey:m,onPaid:()=>{z(!0),g(N)},onSkip:()=>g(N)}):v("div",{ref:V,className:"bg-bg text-fg",children:[v("header",{ref:k,className:"sticky top-0 z-30 grid grid-cols-[1fr_auto_1fr] items-center gap-8 max-[640px]:grid-cols-[auto_minmax(0,1fr)_auto] max-[640px]:gap-3 border-b border-line px-[var(--sf-site-gutter,40px)] py-6 backdrop-blur-md max-[640px]:px-[min(20px,var(--sf-site-gutter,40px))] max-[640px]:py-4",style:{background:"color-mix(in oklab, var(--bg) 92%, transparent)"},children:[v(at,{href:"/",className:"inline-flex items-center gap-3 font-mono text-[14px] uppercase tracking-[0.26em] text-fg-dim transition-colors hover:text-accent",children:["\u2190",l("span",{className:"max-[640px]:hidden",children:"Back to shop"})]}),l("div",{className:"flex min-w-0 justify-center max-[640px]:[container-type:inline-size]",children:l(at,{href:"/","aria-label":`${e.name} home`,className:"inline-flex max-w-full items-center justify-center max-[640px]:overflow-x-clip",children:[!0,!1].map(Y=>l(Qr,{hideClass:Y?"min-[641px]:hidden":"max-[640px]:hidden",variant:"header",scrolled:!0,src:t?.url??null,reverse:t?.reverse??!1,reversedSrc:t?.reversed??null,inkIsDark:t?.inkIsDark??null,size:t?.size??"medium",sizePx:t?.sizePx??null,sizeUnit:t?.sizeUnit??null,siteName:e.name,fitWordmarkToContainer:Y,fitFloorPx:Y?Zr:void 0},Y?"phone":"wide"))})}),e.cardPayments?v("span",{className:"flex items-center justify-end gap-3 font-mono text-[12px] uppercase tracking-[0.26em] text-fg-dim",children:[l("span",{className:"text-green",children:"\u25CF"}),l("span",{className:"max-[640px]:hidden",children:"Encrypted \xB7"})," Stripe"]}):l("span",{})]}),v("section",{className:"mx-auto flex max-w-[var(--sf-site-width,1600px)] flex-wrap items-center justify-between gap-x-8 gap-y-3 border-b border-line bg-surface px-[var(--sf-site-gutter,40px)] py-4 font-mono text-[13px] font-medium uppercase tracking-[0.24em] text-fg max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]",children:[l("span",{className:"inline-flex items-center bg-accent px-3 py-1 font-bold text-bg",children:"Checkout"}),l("nav",{"aria-label":"Checkout steps",className:"flex flex-wrap items-center gap-5 max-[640px]:flex-nowrap max-[640px]:gap-3 max-[640px]:whitespace-nowrap max-[640px]:text-xs max-[640px]:tracking-[0.04em]",children:[{n:"01",label:"Cart",state:"done"},{n:"02",label:"Ship & pay",state:"active"},{n:"03",label:"Confirmed",state:"pending"}].map(Y=>v("span",{className:["relative flex items-center gap-2 transition-colors",Y.state==="pending"?"text-fg-dim":"text-fg",Y.state==="active"?"font-bold after:absolute after:inset-x-0 after:-bottom-1 after:h-[2px] after:bg-accent":""].join(" "),children:[l("span",{className:Y.state==="done"?"text-accent font-bold":"",children:Y.n}),l("span",{children:Y.label})]},Y.n))})]}),v("main",{className:"mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-[1fr_420px] items-start gap-16 px-[var(--sf-site-gutter,40px)] pt-10 pb-[100px] max-view-desktop:grid-cols-1 max-view-desktop:gap-10 max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))] max-view-desktop:pt-8 max-view-desktop:pb-20",children:[v("div",{children:[v(Jt,{locked:o,children:[l(Ro,{}),l(Oo,{}),l(Ao,{})]}),l(Jt,{locked:r,children:l(Lo,{})})]}),l(Io,{})]}),l("footer",{className:"flex flex-wrap items-center justify-between gap-4 border-t border-line px-[var(--sf-site-gutter,40px)] py-6 font-mono text-[12px] uppercase tracking-[0.22em] text-fg-dim max-[640px]:px-[min(20px,var(--sf-site-gutter,40px))]",children:l("span",{children:zr({legalName:e.legalName,foundedYear:e.foundedYear,siteName:e.name})})})]})}function Ys({payment:e,checkout:t,holdRenewed:n,onPaid:r,onProcessing:o,onRenew:s,onBack:u}){let{formatMoney:p}=he(),y=l("span",{className:"text-fg",children:p(Number(e.amount),e.currency)}),m=qo(()=>Yt(e.publishableKey),[e.publishableKey]),h=qo(()=>na(),[]),g=ta(t.expiresAt??"",Ms()??"");return l("div",{className:"flex min-h-screen flex-col items-center justify-center gap-6 bg-bg px-6 py-16 text-fg",children:v("div",{className:"w-full max-w-xl border border-line bg-bg",children:[v("header",{className:"flex items-center justify-between gap-4 border-b border-line bg-surface px-6 py-4",children:[l("span",{className:"inline-flex items-center justify-center bg-accent px-3 py-1 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-bg",children:zt(t)}),l("h1",{className:"font-display text-[26px] font-medium uppercase leading-none tracking-[-0.02em] text-fg",children:"Payment"})]}),v("div",{className:"flex flex-col gap-4 px-6 py-6",children:[l("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:t.orderNumber?v(G,{children:["Your order is placed. Pay ",y," by card to confirm it now."]}):n?v(G,{children:["Your hold ran out, so your items are held again",g?` until ${g}`:"",". Enter your card again, then pay ",y,"."]}):v(G,{children:["Your items are held",g?` until ${g}`:"",". Pay ",y," by card to place your order."]})}),l(Cn,{stripe:m,options:{clientSecret:e.clientSecret,appearance:h},children:l(Bs,{payment:e,checkout:t,onPaid:r,onProcessing:o,onRenew:s,onBack:u})},e.clientSecret)]})]})})}var $s=5;function Bs({payment:e,checkout:t,onPaid:n,onProcessing:r,onRenew:o,onBack:s}){let{formatMoney:u}=he(),p=Na(),y=Ca(),[m,h]=$e(!1),[g,b]=$e(null),x=ot(!1);async function E(){try{return(await p.retrievePaymentIntent(e.clientSecret)).paymentIntent?.status}catch{return}}async function N(R){let C=R;for(let J=0;C==="processing"&&J<$s;J+=1)await new Promise(Q=>setTimeout(Q,1e3)),C=await E()??C;if(C==="succeeded"){n();return}if(C==="processing"){r();return}b("Payment did not complete. Please try again."),h(!1)}async function O(){if(!p||!y||m)return;h(!0),b(null),x.current=!0;let R=await p.confirmPayment({elements:y,redirect:"if_required"}).catch(()=>null);if(!R){let C=await E();if(C==="succeeded"||C==="processing"){await N(C);return}b(C===void 0?Ie:"Payment failed. Please try again."),h(!1);return}if(R.error){if(!t.orderNumber&&R.error.code==="payment_intent_unexpected_state"){let C=await E();if(C==="succeeded"||C==="processing"){await N(C);return}if(C===void 0){b(Ie),h(!1);return}await o(C==="canceled"),h(!1);return}b(R.error.message??"Payment failed. Please try again."),h(!1);return}await N(R.paymentIntent?.status)}async function z(){if(m)return;if(!x.current){s();return}h(!0),b(null);let R=await E();if(R==="succeeded"||R==="processing"){await N(R);return}if(h(!1),R===void 0){b(Ie);return}s()}return v("div",{className:"flex flex-col gap-4",children:[l(wa,{}),g&&l(pe,{role:"alert",children:g}),l("button",{type:"button",onClick:O,disabled:!p||!y||m,className:["group flex items-center justify-between border px-5 py-5 font-mono text-[14px] font-medium uppercase tracking-[0.3em] transition-all",!p||!y||m?"cursor-not-allowed border-line bg-surface text-fg-dim":"border-btn bg-btn text-btn-ink hover:border-fg hover:bg-fg"].join(" "),children:m?v(G,{children:["Processing\u2026 ",l("span",{children:"\xB7"})]}):v(G,{children:["Pay ",u(Number(e.amount),e.currency),l("span",{className:"transition-transform group-hover:translate-x-1",children:"\u2192"})]})}),!t.orderNumber&&!m&&v("button",{type:"button",onClick:z,className:"inline-flex items-center gap-3 self-start font-mono text-[12px] uppercase tracking-[0.26em] text-fg-dim transition-colors hover:text-accent",children:["\u2190",l("span",{children:"Back to checkout"})]})]})}var _o="paypal-sdk-js",Dn=null;function Hs(e,t){let n=`${e}|${t}`;if(Dn?.key===n)return Dn.promise;let r=new Promise((o,s)=>{document.getElementById(_o)?.remove();let u=document.createElement("script");u.id=_o;let p=new URLSearchParams({"client-id":e,currency:t,intent:"capture"});u.src=`https://www.paypal.com/sdk/js?${p}`,u.onload=()=>{let y=window.paypal;y?o(y):s(new Error("PayPal SDK loaded without its namespace"))},u.onerror=()=>s(new Error("PayPal SDK failed to load")),document.head.appendChild(u)});return Dn={key:n,promise:r},r}function zs({confirmation:e,clientId:t,idemKey:n,onPaid:r,onSkip:o}){let{formatMoney:s}=he(),u=ot(null),[p,y]=$e(!1),[m,h]=$e(null),g=ot(r);return g.current=r,Mo(()=>{let b=!1,x=null;return Hs(t,e.currency).then(E=>{if(!(b||!u.current))return x=E.Buttons({style:{layout:"vertical",color:"gold",shape:"rect",label:"paypal"},createOrder:async()=>(await K.createPaypalOrder({idempotencyKey:n})).paypalOrderId,onApprove:async N=>{try{if((await K.capturePaypalOrder({idempotencyKey:n,paypalOrderId:N.orderID})).status==="paid"){g.current();return}h("PayPal did not complete the payment. Please try again.")}catch(O){h(O instanceof de?O.message:"PayPal payment failed. Please try again.")}},onError:()=>{h("PayPal could not process the payment. Please try again.")}}),x.render(u.current).then(()=>{b||y(!0)})}).catch(()=>{b||h("PayPal could not be loaded. You can pay later \u2014 your order stands either way.")}),()=>{b=!0,x?.close?.()}},[t,e.currency,n]),l("div",{className:"flex min-h-screen flex-col items-center justify-center gap-6 bg-bg px-6 py-16 text-fg",children:v("div",{className:"w-full max-w-xl border border-line bg-bg",children:[v("header",{className:"flex items-center justify-between gap-4 border-b border-line bg-surface px-6 py-4",children:[l("span",{className:"inline-flex items-center justify-center bg-accent px-3 py-1 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-bg",children:e.orderNumber}),l("h1",{className:"font-display text-[26px] font-medium uppercase leading-none tracking-[-0.02em] text-fg",children:"PayPal"})]}),v("div",{className:"flex flex-col gap-4 px-6 py-6",children:[v("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:["Your order is placed. Pay"," ",l("span",{className:"text-fg",children:s(Number(e.grandTotal),e.currency)})," ","with PayPal to confirm it now."]}),!p&&!m&&l("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"Loading PayPal\u2026"}),l("div",{ref:u}),m&&l(pe,{role:"alert",children:m}),l("button",{type:"button",onClick:o,className:"self-center font-mono text-[11px] uppercase tracking-[0.24em] text-fg-dim underline-offset-4 transition-colors hover:text-accent hover:underline",children:"Pay later \u2014 our team will be in touch"})]})]})})}var Fo="square-web-sdk",Un=null,Gs=["sandbox","production"];function Vs(e){let t=Ks(Gs,"production",e);if(Un?.key===t)return Un.promise;let n=new Promise((r,o)=>{document.getElementById(Fo)?.remove();let s=document.createElement("script");s.id=Fo,s.src=t==="sandbox"?"https://sandbox.web.squarecdn.com/v1/square.js":"https://web.squarecdn.com/v1/square.js",s.onload=()=>{let u=window.Square;u?r(u):o(new Error("Square SDK loaded without its namespace"))},s.onerror=()=>o(new Error("Square SDK failed to load")),document.head.appendChild(s)});return Un={key:t,promise:n},n}function Js({confirmation:e,applicationId:t,locationId:n,environment:r,idemKey:o,onPaid:s,onSkip:u}){let{formatMoney:p}=he(),y=ot(null),m=ot(null),h=ot(null),[g,b]=$e(!1),[x,E]=$e(!1),[N,O]=$e(null);Mo(()=>{let R=!1,C=null;return Vs(r).then(async J=>{if(R||!y.current)return;let Q=J.payments(t,n);h.current=Q,C=await Q.card(),await C.attach(y.current),m.current=C,R||b(!0)}).catch(()=>{R||O("Square could not be loaded. You can pay later \u2014 your order stands either way.")}),()=>{R=!0,C?.destroy?.()}},[t,n,r]);async function z(){let R=m.current;if(!(!R||x)){E(!0),O(null);try{let C=await R.tokenize();if(C.status!=="OK"||!C.token){O(C.errors?.[0]?.message??"Please check the card details and try again."),E(!1);return}let J;try{J=(await h.current?.verifyBuyer?.(C.token,{amount:String(e.grandTotal),currencyCode:e.currency,intent:"CHARGE"}))?.token}catch{}if((await K.chargeSquare({idempotencyKey:o,sourceId:C.token,...J?{verificationToken:J}:{}})).status==="paid"){s();return}O("Square did not complete the payment. Please try again.")}catch(C){O(C instanceof de?C.message:"Square payment failed. Please try again.")}E(!1)}}return l("div",{className:"flex min-h-screen flex-col items-center justify-center gap-6 bg-bg px-6 py-16 text-fg",children:v("div",{className:"w-full max-w-xl border border-line bg-bg",children:[v("header",{className:"flex items-center justify-between gap-4 border-b border-line bg-surface px-6 py-4",children:[l("span",{className:"inline-flex items-center justify-center bg-accent px-3 py-1 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-bg",children:e.orderNumber}),l("h1",{className:"font-display text-[26px] font-medium uppercase leading-none tracking-[-0.02em] text-fg",children:"Card"})]}),v("div",{className:"flex flex-col gap-4 px-6 py-6",children:[v("p",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:["Your order is placed. Pay"," ",l("span",{className:"text-fg",children:p(Number(e.grandTotal),e.currency)})," ","by card to confirm it now."]}),!g&&!N&&l("p",{className:"font-mono text-[11px] uppercase tracking-[0.2em] text-fg-dim",children:"Loading card form\u2026"}),l("div",{ref:y}),N&&l(pe,{role:"alert",children:N}),l("button",{type:"button",onClick:z,disabled:!g||x,className:["group flex items-center justify-between border px-5 py-5 font-mono text-[14px] font-medium uppercase tracking-[0.3em] transition-all",!g||x?"cursor-not-allowed border-line bg-surface text-fg-dim":"border-btn bg-btn text-btn-ink hover:border-fg hover:bg-fg"].join(" "),children:x?v(G,{children:["Processing\u2026 ",l("span",{children:"\xB7"})]}):v(G,{children:["Pay ",p(Number(e.grandTotal),e.currency),l("span",{className:"transition-transform group-hover:translate-x-1",children:"\u2192"})]})}),l("button",{type:"button",onClick:u,disabled:x,className:"self-center font-mono text-[11px] uppercase tracking-[0.24em] text-fg-dim underline-offset-4 transition-colors hover:text-accent hover:underline",children:"Pay later \u2014 our team will be in touch"})]})]})})}import{jsx as Zt}from"react/jsx-runtime";function Xs(){let{settings:e,websiteName:t}=Ir(),n=t?{...hn,name:t}:hn,r=e?{url:e.logoUrl,reversed:e.logoReversed??null,inkIsDark:e.logoInkIsDark??null,reverse:e.reverseLogo,size:e.logoSize,sizePx:e.logoSizePx,sizeUnit:e.logoSizeUnit??null}:null;return Zt("div",{style:{position:"fixed",inset:0,zIndex:2147482e3,overflowY:"auto",background:"var(--bg)",color:"var(--fg)"},children:Zt($r,{children:Zt(Hr,{preview:!0,children:Zt(Wn,{site:n,logo:r,textCase:e?.navTextCase,preview:!0})})})})}export{Xs as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{Xh as r}from"./chunk-LUHOZIHO.js";import"./chunk-UQDOJWLM.js";import"./chunk-LN6M3FAM.js";import"./chunk-5W6M2F4B.js";import"./chunk-DO5FAI7I.js";import"./chunk-I4IY2GTB.js";import"./chunk-IHBF4FM5.js";import"./chunk-454ZVMST.js";import"./chunk-Y6SLVHK3.js";import{jsx as o}from"react/jsx-runtime";import e from"efficient-easel/screen/components/ScreenStoreProvider";function a(t){return o(e,{...t,parts:r})}export{a as default};
|