@faststore/core 3.89.4 → 3.89.5

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.
Files changed (38) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +22 -22
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +6 -6
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/9563.js +1 -1
  14. package/.next/server/middleware-build-manifest.js +1 -1
  15. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  16. package/.next/server/pages/api/graphql.js +1 -1
  17. package/.next/server/pages/en-US/404.html +1 -1
  18. package/.next/server/pages/en-US/500.html +1 -1
  19. package/.next/server/pages/en-US/checkout.html +1 -1
  20. package/.next/server/pages/en-US/login.html +1 -1
  21. package/.next/server/pages/en-US/s.html +1 -1
  22. package/.next/server/pages/en-US.html +1 -1
  23. package/.next/server/pages/pvt/account/orders.js +1 -1
  24. package/.next/server/pages-manifest.json +1 -1
  25. package/.next/static/chunks/{2927.5a79877943a6bf7c.js → 2927.23bae2c79f0ac0f3.js} +1 -1
  26. package/.next/static/chunks/{UIToast.5b849b0ef95e25ce.js → UIToast.3a8d6b20848b20e2.js} +1 -1
  27. package/.next/static/chunks/pages/pvt/account/orders-120b2dade5d57468.js +1 -0
  28. package/.next/static/chunks/{webpack-fe84f1d4914ddb17.js → webpack-81e8b6bdc955aa2f.js} +1 -1
  29. package/.next/static/{fRN90r79diMZlnp5GTFre → xhWwfqCjt_8svnOeown5k}/_buildManifest.js +1 -1
  30. package/.next/trace +138 -138
  31. package/.turbo/turbo-build.log +8 -8
  32. package/.turbo/turbo-test.log +5 -5
  33. package/CHANGELOG.md +6 -0
  34. package/package.json +2 -2
  35. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrders.tsx +4 -2
  36. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/MyAccountListOrdersTable.tsx +4 -3
  37. package/.next/static/chunks/pages/pvt/account/orders-fe752854bdc2ccca.js +0 -1
  38. /package/.next/static/{fRN90r79diMZlnp5GTFre → xhWwfqCjt_8svnOeown5k}/_ssgManifest.js +0 -0
@@ -25,4 +25,4 @@
25
25
  workspace: 'master'
26
26
  });
27
27
  </script><script>!(function(w,p,f,c){c=w[p]=w[p]||{};c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.6.4 - MIT builder.io */
28
- !function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><meta name="generated-at" content="2025-10-06T18:44:53.632Z"/><meta name="robots" content="noindex,nofollow"/><meta name="next-head-count" content="5"/><link rel="preconnect" href="https://storeframework.vtexassets.com"/><link rel="dns-prefetch" href="https://storeframework.vtexassets.com"/><meta name="storefront" content="fast_store"/><link rel="preload" href="/_next/static/css/24a5e8f6808266fe.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/24a5e8f6808266fe.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/5177628438c28f74.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/5177628438c28f74.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-fe84f1d4914ddb17.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-d514426edf885c68.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-595f5e3b626b9fff.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-7867d2068460ae86.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6031-a7dfc540189ff57c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/9173-91e3436dca96010f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/login-e97ef92769456bf6.js" defer="" crossorigin=""></script><script src="/_next/static/fRN90r79diMZlnp5GTFre/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/fRN90r79diMZlnp5GTFre/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="EmptyState" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"ca75eb8f-ea96-4aa4-a808-3de299d9f67d","name":"Login Page","type":"login","status":"published","versionId":"26055411-3742-4fa1-8a78-4614f5260e1c","versionStatus":"published","sections":[{"id":"db43506e-b3d0-473a-8ec4-c11072a0947a","name":"EmptyState","data":{"titleIcon":{},"showLoader":true,"errorState":{"errorId":{},"fromUrl":{}},"title":"Loading"}}]},"globalSections":{"id":"0ba2da9e-8768-4f48-bd7d-e61efed79b51","name":"Global Sections","type":"globalSections","status":"published","versionId":"21cd3b7f-4324-4294-ae70-263449cb7d81","versionStatus":"published","sections":[{"id":"3beb977b-a943-48e0-823a-fea525ea0bac","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"f943495f-a83b-4ce8-975a-ef99be94fe1d","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"sort":"score_desc"},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"8d3670b5-0ebf-4baf-97d7-d459de216906","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"b3fba61d-d97a-47c4-bde5-971fae9435ea","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}}}},{"id":"ba8cf630-5de3-4a0a-8736-e31f10367c56","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"74f48ed6-794c-4608-9761-79b7c3173834","name":"Children","data":{}},{"id":"1730dd8e-7e47-44b6-91be-33e2ffcbd331","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/login","query":{},"buildId":"fRN90r79diMZlnp5GTFre","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
28
+ !function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><meta name="generated-at" content="2025-10-08T13:33:40.149Z"/><meta name="robots" content="noindex,nofollow"/><meta name="next-head-count" content="5"/><link rel="preconnect" href="https://storeframework.vtexassets.com"/><link rel="dns-prefetch" href="https://storeframework.vtexassets.com"/><meta name="storefront" content="fast_store"/><link rel="preload" href="/_next/static/css/24a5e8f6808266fe.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/24a5e8f6808266fe.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/5177628438c28f74.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/5177628438c28f74.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-81e8b6bdc955aa2f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-d514426edf885c68.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-595f5e3b626b9fff.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-7867d2068460ae86.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6031-a7dfc540189ff57c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/9173-91e3436dca96010f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/login-e97ef92769456bf6.js" defer="" crossorigin=""></script><script src="/_next/static/xhWwfqCjt_8svnOeown5k/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/xhWwfqCjt_8svnOeown5k/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="EmptyState" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"ca75eb8f-ea96-4aa4-a808-3de299d9f67d","name":"Login Page","type":"login","status":"published","versionId":"26055411-3742-4fa1-8a78-4614f5260e1c","versionStatus":"published","sections":[{"id":"db43506e-b3d0-473a-8ec4-c11072a0947a","name":"EmptyState","data":{"titleIcon":{},"showLoader":true,"errorState":{"errorId":{},"fromUrl":{}},"title":"Loading"}}]},"globalSections":{"id":"0ba2da9e-8768-4f48-bd7d-e61efed79b51","name":"Global Sections","type":"globalSections","status":"published","versionId":"21cd3b7f-4324-4294-ae70-263449cb7d81","versionStatus":"published","sections":[{"id":"3beb977b-a943-48e0-823a-fea525ea0bac","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"f943495f-a83b-4ce8-975a-ef99be94fe1d","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"sort":"score_desc"},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"8d3670b5-0ebf-4baf-97d7-d459de216906","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"b3fba61d-d97a-47c4-bde5-971fae9435ea","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}}}},{"id":"ba8cf630-5de3-4a0a-8736-e31f10367c56","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"74f48ed6-794c-4608-9761-79b7c3173834","name":"Children","data":{}},{"id":"1730dd8e-7e47-44b6-91be-33e2ffcbd331","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/login","query":{},"buildId":"xhWwfqCjt_8svnOeown5k","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
@@ -25,4 +25,4 @@
25
25
  workspace: 'master'
26
26
  });
27
27
  </script><script>!(function(w,p,f,c){c=w[p]=w[p]||{};c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.6.4 - MIT builder.io */
28
- !function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><meta name="generated-at" content="2025-10-06T18:44:53.553Z"/><title>FastStore Starter | FastStore</title><meta name="robots" content="noindex,nofollow"/><meta name="description" content="Fast Demo Store"/><meta property="og:title" content="FastStore Starter"/><meta property="og:description" content="Fast Demo Store"/><meta property="og:type" content="website"/><meta name="next-head-count" content="10"/><link rel="preconnect" href="https://storeframework.vtexassets.com"/><link rel="dns-prefetch" href="https://storeframework.vtexassets.com"/><meta name="storefront" content="fast_store"/><link rel="preload" href="/_next/static/css/24a5e8f6808266fe.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/24a5e8f6808266fe.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/5177628438c28f74.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/5177628438c28f74.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/32a4ddbf3999c2a5.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/32a4ddbf3999c2a5.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-fe84f1d4914ddb17.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-d514426edf885c68.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-595f5e3b626b9fff.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-7867d2068460ae86.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6031-a7dfc540189ff57c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/9173-91e3436dca96010f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/7191-7fb36e620e08cb4c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/s-5319ae49907c3391.js" defer="" crossorigin=""></script><script src="/_next/static/fRN90r79diMZlnp5GTFre/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/fRN90r79diMZlnp5GTFre/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><span data-fs-sr-only="true">FastStore Starter</span><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><section class="section section_section__4Hqa8 section-product-gallery"><section data-testid="product-gallery" data-fs-product-listing="true" data-fs-search-loading="true"><section class="section section_section__KG_b8 section-empty-state"><section data-fs-empty-state="true" data-fs-empty-state-variant="default" data-fs-empty-state-bkg-color="light" data-fs-content="empty-state" data-testid="fs-empty-state"><span data-fs-loader="true" data-fs-loader-variant="dark" data-testid="fs-loader"><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span></span></section></section></section></section><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"aa338e89-bb76-4dee-8d64-95bcc1386b70","name":"Search Page","type":"search","status":"published","versionId":"8c21c68f-ef25-4ad0-a8ed-cd36c24acc21","versionStatus":"published","sections":[{"id":"5c059416-c214-49dc-8696-f745941234d4","name":"Breadcrumb","data":{"icon":"House","alt":"All Products result!!"}},{"id":"412166bd-6513-4e44-8b17-663ec56a4e2d","name":"ProductGallery","data":{"searchTermLabel":"Showing results for:","totalCountLabel":"Results","previousPageButton":{"icon":{"icon":"ArrowLeft","alt":"Arrow Left icon"},"label":"Previous Page"},"loadMorePageButton":{"label":"Load more products"},"filter":{"title":"Filters","mobileOnly":{"filterButton":{"label":"Filters","icon":{"icon":"FadersHorizontal","alt":"Open Filters"}},"clearButtonLabel":"Clear All","applyButtonLabel":"Apply"}},"productCard":{"showDiscountBadge":true,"bordered":true}}}]},"globalSections":{"id":"0ba2da9e-8768-4f48-bd7d-e61efed79b51","name":"Global Sections","type":"globalSections","status":"published","versionId":"21cd3b7f-4324-4294-ae70-263449cb7d81","versionStatus":"published","sections":[{"id":"3beb977b-a943-48e0-823a-fea525ea0bac","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"f943495f-a83b-4ce8-975a-ef99be94fe1d","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"sort":"score_desc"},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"8d3670b5-0ebf-4baf-97d7-d459de216906","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"b3fba61d-d97a-47c4-bde5-971fae9435ea","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}}}},{"id":"ba8cf630-5de3-4a0a-8736-e31f10367c56","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"74f48ed6-794c-4608-9761-79b7c3173834","name":"Children","data":{}},{"id":"1730dd8e-7e47-44b6-91be-33e2ffcbd331","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/s","query":{},"buildId":"fRN90r79diMZlnp5GTFre","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
28
+ !function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><meta name="generated-at" content="2025-10-08T13:33:40.106Z"/><title>FastStore Starter | FastStore</title><meta name="robots" content="noindex,nofollow"/><meta name="description" content="Fast Demo Store"/><meta property="og:title" content="FastStore Starter"/><meta property="og:description" content="Fast Demo Store"/><meta property="og:type" content="website"/><meta name="next-head-count" content="10"/><link rel="preconnect" href="https://storeframework.vtexassets.com"/><link rel="dns-prefetch" href="https://storeframework.vtexassets.com"/><meta name="storefront" content="fast_store"/><link rel="preload" href="/_next/static/css/24a5e8f6808266fe.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/24a5e8f6808266fe.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/5177628438c28f74.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/5177628438c28f74.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/32a4ddbf3999c2a5.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/32a4ddbf3999c2a5.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-81e8b6bdc955aa2f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-d514426edf885c68.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-595f5e3b626b9fff.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-7867d2068460ae86.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6031-a7dfc540189ff57c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/9173-91e3436dca96010f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/7191-7fb36e620e08cb4c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/s-5319ae49907c3391.js" defer="" crossorigin=""></script><script src="/_next/static/xhWwfqCjt_8svnOeown5k/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/xhWwfqCjt_8svnOeown5k/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><span data-fs-sr-only="true">FastStore Starter</span><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><section class="section section_section__4Hqa8 section-product-gallery"><section data-testid="product-gallery" data-fs-product-listing="true" data-fs-search-loading="true"><section class="section section_section__KG_b8 section-empty-state"><section data-fs-empty-state="true" data-fs-empty-state-variant="default" data-fs-empty-state-bkg-color="light" data-fs-content="empty-state" data-testid="fs-empty-state"><span data-fs-loader="true" data-fs-loader-variant="dark" data-testid="fs-loader"><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span></span></section></section></section></section><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"aa338e89-bb76-4dee-8d64-95bcc1386b70","name":"Search Page","type":"search","status":"published","versionId":"8c21c68f-ef25-4ad0-a8ed-cd36c24acc21","versionStatus":"published","sections":[{"id":"5c059416-c214-49dc-8696-f745941234d4","name":"Breadcrumb","data":{"icon":"House","alt":"All Products result!!"}},{"id":"412166bd-6513-4e44-8b17-663ec56a4e2d","name":"ProductGallery","data":{"searchTermLabel":"Showing results for:","totalCountLabel":"Results","previousPageButton":{"icon":{"icon":"ArrowLeft","alt":"Arrow Left icon"},"label":"Previous Page"},"loadMorePageButton":{"label":"Load more products"},"filter":{"title":"Filters","mobileOnly":{"filterButton":{"label":"Filters","icon":{"icon":"FadersHorizontal","alt":"Open Filters"}},"clearButtonLabel":"Clear All","applyButtonLabel":"Apply"}},"productCard":{"showDiscountBadge":true,"bordered":true}}}]},"globalSections":{"id":"0ba2da9e-8768-4f48-bd7d-e61efed79b51","name":"Global Sections","type":"globalSections","status":"published","versionId":"21cd3b7f-4324-4294-ae70-263449cb7d81","versionStatus":"published","sections":[{"id":"3beb977b-a943-48e0-823a-fea525ea0bac","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"f943495f-a83b-4ce8-975a-ef99be94fe1d","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"sort":"score_desc"},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"8d3670b5-0ebf-4baf-97d7-d459de216906","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"b3fba61d-d97a-47c4-bde5-971fae9435ea","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}}}},{"id":"ba8cf630-5de3-4a0a-8736-e31f10367c56","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"74f48ed6-794c-4608-9761-79b7c3173834","name":"Children","data":{}},{"id":"1730dd8e-7e47-44b6-91be-33e2ffcbd331","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/s","query":{},"buildId":"xhWwfqCjt_8svnOeown5k","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
@@ -25,4 +25,4 @@
25
25
  workspace: 'master'
26
26
  });
27
27
  </script><script>!(function(w,p,f,c){c=w[p]=w[p]||{};c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.6.4 - MIT builder.io */
28
- !function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><meta name="generated-at" content="2025-10-06T18:44:53.553Z"/><title>FastStore Starter | FastStore</title><meta name="robots" content="index,follow"/><meta name="description" content="Fast Demo Store"/><meta property="og:title" content="FastStore Starter"/><meta property="og:description" content="Fast Demo Store"/><meta property="og:url" content="https://homebrewqa.fast.store"/><meta property="og:type" content="website"/><link rel="canonical" href="https://homebrewqa.fast.store"/><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"FastStore","url":"https://homebrewqa.fast.store","potentialAction":[{"@type":"SearchAction","target":"https://homebrewqa.fast.store/s/?q={search_term_string}","query-input":"required name=search_term_string"}]}</script><meta name="next-head-count" content="13"/><link rel="preconnect" href="https://storeframework.vtexassets.com"/><link rel="dns-prefetch" href="https://storeframework.vtexassets.com"/><meta name="storefront" content="fast_store"/><link rel="preload" href="/_next/static/css/24a5e8f6808266fe.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/24a5e8f6808266fe.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/5177628438c28f74.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/5177628438c28f74.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/331f08e9d306e70b.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/331f08e9d306e70b.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/c29fee5b9f9d48d9.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/c29fee5b9f9d48d9.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-fe84f1d4914ddb17.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-d514426edf885c68.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-595f5e3b626b9fff.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-7867d2068460ae86.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6031-a7dfc540189ff57c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/9173-91e3436dca96010f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/index-7a9bc631c89fd3f2.js" defer="" crossorigin=""></script><script src="/_next/static/fRN90r79diMZlnp5GTFre/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/fRN90r79diMZlnp5GTFre/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="Hero" style="height:823px;width:100%"></div><div data-store-section-name="Incentives" style="height:823px;width:100%"></div><div data-store-section-name="ProductTiles" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="BannerText" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="Newsletter" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"7e6b5afb-1522-4806-a981-86a1b3be6d0c","name":"Home","type":"home","status":"published","versionId":"1acf9800-b0d5-4bb0-b60b-8f7d290c7ead","versionStatus":"published","sections":[{"id":"0b575711-ab94-4bc8-bb8f-abf22b9c2fbb","name":"Hero","data":{"link":{"linkTargetBlank":false,"text":"See Offers","url":"/technology"},"image":{"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/1e46eee3-5cd9-4911-8a81-501fe9c744fe___57d4662d50c07e760e6e74d8da282508.jpg","alt":"technology banner"},"title":"Black November Huge Sale! 80% OFF","subtitle":"At FastStore you can shop the best tech of 2024. Enjoy and get 10% off on your first purchase!","linkText":"See ","imageAlt":"office","imageSrc":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/17555ae3-3405-4be6-a19a-e76997a333ea___1fa52ed2b11886ffe215bab9588c345d.jpg","colorVariant":"main","variant":"primary"}},{"id":"0412b585-363a-4fd8-b8bf-11630e7619fd","name":"Incentives","data":{"incentives":[{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"Truck","alt":"Truck"},{"title":"Free return","firstLineText":"30 days to return","icon":"Calendar","alt":"Calendar"},{"title":"Gift cards","firstLineText":"$20/$30/$40","icon":"Gift","alt":"Gift"},{"title":"Physical Stores","firstLineText":"+40 Stores in Brazil","icon":"Storefront","alt":"Store Front"},{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"ShieldCheck","alt":"Shield Check"}]}},{"id":"62338a7a-57c0-4d66-ae5a-287830253b72","name":"ProductTiles","data":{"first":3,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"title":"Just Arrived!"}},{"id":"961b1c9a-0b8d-4c16-888f-9f2bcd489ad0","name":"ProductShelf","data":{"numberOfItems":10,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"140"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Most Wanted"}},{"id":"84a10580-bb64-43e4-b8b1-80a86da34c79","name":"BannerText","data":{"link":{"linkTargetBlank":false,"text":"Check it out now!","url":"/office"},"actionLabel":"Check it out now!","actionPath":"/office","caption":"Enjoy and get 10% off on your first purchase!!","title":"The sun has set out Summer Sale! Save up to 50% off. Don't miss out!","colorVariant":"light","variant":"primary"}},{"id":"2a495fab-6ecc-4e87-87e5-e45db82259c8","name":"ProductShelf","data":{"numberOfItems":5,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Deals \u0026 Promotions"}},{"id":"55ad5e86-66ca-4c43-94ed-04a661105f2c","name":"Newsletter","data":{"icon":{"icon":"Envelop","alt":"Envelop"},"title":"Get News and Special Offers!","description":"Receive our news and promotions in advance. Enjoy and get 10% off your first purchase. For more information click here.","emailInputLabel":"Your Email","displayNameInput":true,"nameInputLabel":"Your Name","subscribeButtonLabel":"Subscribe","subscribeButtonLoadingLabel":"Loading...","card":false,"colorVariant":"main","toastSubscribe":{"title":"Hooray!","message":"Thank for your subscription.","icon":"CircleWavyCheck"},"toastSubscribeError":{"title":"Oops.","message":"Something went wrong. Please Try again.","icon":"CircleWavyWarning"},"privacyPolicy":"{\"blocks\":[{\"key\":\"clnfu\",\"text\":\"By subscribing to our newsletter you agree to to our Privacy Policy\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[{\"offset\":53,\"length\":14,\"key\":0}],\"data\":{}}],\"entityMap\":{\"0\":{\"type\":\"LINK\",\"mutability\":\"MUTABLE\",\"data\":{\"url\":\"/\"}}}}"}}]},"globalSections":{"id":"0ba2da9e-8768-4f48-bd7d-e61efed79b51","name":"Global Sections","type":"globalSections","status":"published","versionId":"21cd3b7f-4324-4294-ae70-263449cb7d81","versionStatus":"published","sections":[{"id":"3beb977b-a943-48e0-823a-fea525ea0bac","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"f943495f-a83b-4ce8-975a-ef99be94fe1d","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"sort":"score_desc"},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"8d3670b5-0ebf-4baf-97d7-d459de216906","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"b3fba61d-d97a-47c4-bde5-971fae9435ea","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}}}},{"id":"ba8cf630-5de3-4a0a-8736-e31f10367c56","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"74f48ed6-794c-4608-9761-79b7c3173834","name":"Children","data":{}},{"id":"1730dd8e-7e47-44b6-91be-33e2ffcbd331","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]},"serverData":null},"__N_SSG":true},"page":"/","query":{},"buildId":"fRN90r79diMZlnp5GTFre","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
28
+ !function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><meta name="generated-at" content="2025-10-08T13:33:40.106Z"/><title>FastStore Starter | FastStore</title><meta name="robots" content="index,follow"/><meta name="description" content="Fast Demo Store"/><meta property="og:title" content="FastStore Starter"/><meta property="og:description" content="Fast Demo Store"/><meta property="og:url" content="https://homebrewqa.fast.store"/><meta property="og:type" content="website"/><link rel="canonical" href="https://homebrewqa.fast.store"/><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"FastStore","url":"https://homebrewqa.fast.store","potentialAction":[{"@type":"SearchAction","target":"https://homebrewqa.fast.store/s/?q={search_term_string}","query-input":"required name=search_term_string"}]}</script><meta name="next-head-count" content="13"/><link rel="preconnect" href="https://storeframework.vtexassets.com"/><link rel="dns-prefetch" href="https://storeframework.vtexassets.com"/><meta name="storefront" content="fast_store"/><link rel="preload" href="/_next/static/css/24a5e8f6808266fe.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/24a5e8f6808266fe.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/5177628438c28f74.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/5177628438c28f74.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/331f08e9d306e70b.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/331f08e9d306e70b.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/c29fee5b9f9d48d9.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/c29fee5b9f9d48d9.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-81e8b6bdc955aa2f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-d514426edf885c68.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-595f5e3b626b9fff.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-7867d2068460ae86.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6031-a7dfc540189ff57c.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/9173-91e3436dca96010f.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/index-7a9bc631c89fd3f2.js" defer="" crossorigin=""></script><script src="/_next/static/xhWwfqCjt_8svnOeown5k/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/xhWwfqCjt_8svnOeown5k/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="Hero" style="height:823px;width:100%"></div><div data-store-section-name="Incentives" style="height:823px;width:100%"></div><div data-store-section-name="ProductTiles" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="BannerText" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="Newsletter" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"7e6b5afb-1522-4806-a981-86a1b3be6d0c","name":"Home","type":"home","status":"published","versionId":"1acf9800-b0d5-4bb0-b60b-8f7d290c7ead","versionStatus":"published","sections":[{"id":"0b575711-ab94-4bc8-bb8f-abf22b9c2fbb","name":"Hero","data":{"link":{"linkTargetBlank":false,"text":"See Offers","url":"/technology"},"image":{"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/1e46eee3-5cd9-4911-8a81-501fe9c744fe___57d4662d50c07e760e6e74d8da282508.jpg","alt":"technology banner"},"title":"Black November Huge Sale! 80% OFF","subtitle":"At FastStore you can shop the best tech of 2024. Enjoy and get 10% off on your first purchase!","linkText":"See ","imageAlt":"office","imageSrc":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/17555ae3-3405-4be6-a19a-e76997a333ea___1fa52ed2b11886ffe215bab9588c345d.jpg","colorVariant":"main","variant":"primary"}},{"id":"0412b585-363a-4fd8-b8bf-11630e7619fd","name":"Incentives","data":{"incentives":[{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"Truck","alt":"Truck"},{"title":"Free return","firstLineText":"30 days to return","icon":"Calendar","alt":"Calendar"},{"title":"Gift cards","firstLineText":"$20/$30/$40","icon":"Gift","alt":"Gift"},{"title":"Physical Stores","firstLineText":"+40 Stores in Brazil","icon":"Storefront","alt":"Store Front"},{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"ShieldCheck","alt":"Shield Check"}]}},{"id":"62338a7a-57c0-4d66-ae5a-287830253b72","name":"ProductTiles","data":{"first":3,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"title":"Just Arrived!"}},{"id":"961b1c9a-0b8d-4c16-888f-9f2bcd489ad0","name":"ProductShelf","data":{"numberOfItems":10,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"140"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Most Wanted"}},{"id":"84a10580-bb64-43e4-b8b1-80a86da34c79","name":"BannerText","data":{"link":{"linkTargetBlank":false,"text":"Check it out now!","url":"/office"},"actionLabel":"Check it out now!","actionPath":"/office","caption":"Enjoy and get 10% off on your first purchase!!","title":"The sun has set out Summer Sale! Save up to 50% off. Don't miss out!","colorVariant":"light","variant":"primary"}},{"id":"2a495fab-6ecc-4e87-87e5-e45db82259c8","name":"ProductShelf","data":{"numberOfItems":5,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Deals \u0026 Promotions"}},{"id":"55ad5e86-66ca-4c43-94ed-04a661105f2c","name":"Newsletter","data":{"icon":{"icon":"Envelop","alt":"Envelop"},"title":"Get News and Special Offers!","description":"Receive our news and promotions in advance. Enjoy and get 10% off your first purchase. For more information click here.","emailInputLabel":"Your Email","displayNameInput":true,"nameInputLabel":"Your Name","subscribeButtonLabel":"Subscribe","subscribeButtonLoadingLabel":"Loading...","card":false,"colorVariant":"main","toastSubscribe":{"title":"Hooray!","message":"Thank for your subscription.","icon":"CircleWavyCheck"},"toastSubscribeError":{"title":"Oops.","message":"Something went wrong. Please Try again.","icon":"CircleWavyWarning"},"privacyPolicy":"{\"blocks\":[{\"key\":\"clnfu\",\"text\":\"By subscribing to our newsletter you agree to to our Privacy Policy\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[{\"offset\":53,\"length\":14,\"key\":0}],\"data\":{}}],\"entityMap\":{\"0\":{\"type\":\"LINK\",\"mutability\":\"MUTABLE\",\"data\":{\"url\":\"/\"}}}}"}}]},"globalSections":{"id":"0ba2da9e-8768-4f48-bd7d-e61efed79b51","name":"Global Sections","type":"globalSections","status":"published","versionId":"21cd3b7f-4324-4294-ae70-263449cb7d81","versionStatus":"published","sections":[{"id":"3beb977b-a943-48e0-823a-fea525ea0bac","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"f943495f-a83b-4ce8-975a-ef99be94fe1d","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"sort":"score_desc"},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"8d3670b5-0ebf-4baf-97d7-d459de216906","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"b3fba61d-d97a-47c4-bde5-971fae9435ea","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}}}},{"id":"ba8cf630-5de3-4a0a-8736-e31f10367c56","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"74f48ed6-794c-4608-9761-79b7c3173834","name":"Children","data":{}},{"id":"1730dd8e-7e47-44b6-91be-33e2ffcbd331","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]},"serverData":null},"__N_SSG":true},"page":"/","query":{},"buildId":"xhWwfqCjt_8svnOeown5k","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- (()=>{var e={};e.id=1957,e.ids=[1957,2888,660],e.modules={73754:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=r(20997);let __WEBPACK_DEFAULT_EXPORT__=function({pageTitle:e}){return a.jsx("header",{"data-fs-account-header":!0,children:a.jsx("h1",{"data-fs-account-header-title":!0,children:e})})}},87371:(e,t,r)=>{"use strict";r.d(t,{Z:()=>MyAccountListOrders});var a=r(16689),s=r(33339),n=r(16652),l=r(96396),i=r(83339),o=r(2614),c=r(6133),d=r(13922),u=r(38846),p=r(15699),f=r(64199),b=r(52815),g=r(26174),h=r(93779),y=r(20997);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let j=(0,a.forwardRef)(({to:e,from:t,setDisabled:r},s)=>{let n=(0,a.useRef)(null),l=(0,a.useRef)(null),{0:i,1:o}=(0,a.useState)(),{0:c,1:d}=(0,a.useState)(),{0:u,1:p}=(0,a.useState)({from:t,to:e});function onEnd(e){if(!e.from||!e.to){o(void 0),d(void 0),r(!1);return}new Date(e.from)>new Date(e.to)?(o("Invalid date range"),r(!0)):(o(void 0),d(void 0),r(!1))}return(0,a.useImperativeHandle)(s,()=>({clear:()=>{o(void 0),d(void 0),p({from:"",to:""}),n.current&&(n.current.value=""),l.current&&(l.current.value="")},getDataRangeFacet:()=>({key:"dateRange",value:u})})),y.jsx("div",{"data-fs-list-orders-filters-date-range":!0,children:(0,y.jsxs)("div",{"data-fs-list-orders-filters-date-range-inputs":!0,children:[y.jsx(h.Z,{id:"date-range-from",label:"From",type:"date",inputMode:"text",error:i,inputRef:n,value:u.from,onChange:e=>(function(e){p(_objectSpread(_objectSpread({},u),{},{from:String(e)})),onEnd?.(_objectSpread(_objectSpread({},u),{},{from:String(e)}))})(e.target.value),onBlur:()=>!i&&onEnd?.(u)}),y.jsx(h.Z,{id:"date-range-to",label:"To",type:"date",inputMode:"text",error:c,inputRef:l,value:u.to,onChange:e=>(function(e){p(_objectSpread(_objectSpread({},u),{},{to:String(e)})),onEnd?.(_objectSpread(_objectSpread({},u),{},{to:String(e)}))})(e.target.value),onBlur:()=>!c&&onEnd?.(u)})]})})});var m=r(42256),x=r(83982),v=r(37041);let O=[{purchase_agent_id:"1",name:"Robert Fox",email:"robert.fox@example.com"},{purchase_agent_id:"2",name:"Ronald Wilson",email:"ronald.wilson@example.com"},{purchase_agent_id:"3",name:"Cameron Williamson",email:"cameron.williamson@example.com"},{purchase_agent_id:"4",name:"Brooklyn Simmons",email:"brooklyn.simmons@example.com"}],account_useShopperSuggestions=function(e=""){let{0:t,1:r}=(0,a.useState)({shoppers:O}),{0:s,1:n}=(0,a.useState)(null),{0:l,1:i}=(0,a.useState)(!1),o=(0,a.useCallback)(async e=>{if(!e?.trim()){r({shoppers:O}),i(!1);return}i(!0),n(null);try{let t=await new Promise(t=>{setTimeout(()=>{let r=e.trim().toLowerCase(),a=O.filter(e=>e.name.toLowerCase().includes(r)||e.email.toLowerCase().includes(r));t(a)},300)});r({shoppers:t})}catch(e){n(e instanceof Error?e:Error("Failed to search for shoppers")),r({shoppers:[]})}finally{i(!1)}},[]);(0,a.useEffect)(()=>{if(!e&&null===t)return;let r=setTimeout(()=>{o(e)},300);return()=>{clearTimeout(r)}},[e]);let c=(0,a.useMemo)(()=>e=>t?.shoppers.find(t=>t.purchase_agent_id===e),[]);return{data:t,error:s,isLoading:l,findShopperById:c}},MyAccountFilterFacetPlacedBy_MyAccountFilterFacetPlacedBy=function({selected:e,dispatch:t}){let r=(0,a.useRef)(null),{0:s,1:n}=(0,a.useState)(""),{0:l,1:i}=(0,a.useState)(null),{0:c,1:d}=(0,a.useState)(!1),{data:u,isLoading:p,findShopperById:f}=account_useShopperSuggestions(s),b=u?.shoppers||[],g=(0,a.useMemo)(()=>e.find(e=>"purchaseAgentId"===e.key)?.value,[e]),clearAll=()=>{n(""),i(null),r.current&&(r.current.value="")};(0,a.useEffect)(()=>{if(g&&!l){let e=f(g);e&&i(e)}else g||clearAll()},[g,l]);let h=(0,a.useMemo)(()=>!p&&s&&0===b.length,[p,s,b]);return(0,y.jsxs)("div",{"data-fs-list-orders-filters-placed-by":!0,children:[(0,y.jsxs)("div",{"data-fs-list-orders-filters-placed-by-input":!0,children:[y.jsx(m.Z,{id:"placed-by-input",placeholder:"Enter the shopper's name...",ref:r,value:l?l.name:s,readOnly:!!l,onFocus:()=>{l||d(!0)},onChange:e=>{l||(n(e.target.value),d(!0))},onBlur:()=>{setTimeout(()=>{d(!1),!l&&(n(""),r.current&&(r.current.value=""))},100)},type:"text",inputMode:"text"}),p&&y.jsx("div",{"data-fs-list-orders-filters-placed-by-loader":!0,children:y.jsx(x.Z,{})}),l&&y.jsx(v.Z,{size:"small","aria-label":"Clear shopper","data-fs-list-orders-filters-placed-by-clear":!0,icon:y.jsx(o.Z,{name:"X"}),onClick:function(){l&&t({type:"toggleFacet",payload:{key:"purchaseAgentId",value:l.purchase_agent_id}}),clearAll()}})]}),c&&h&&y.jsx("div",{"data-fs-list-orders-filters-placed-by-dropdown":!0,"data-fs-list-orders-filters-placed-by-empty":!0,"aria-label":"No shoppers found with query",children:(0,y.jsxs)("p",{children:['No shoppers found with "',s,'"']})}),c&&b.length>0&&y.jsx("div",{"data-fs-list-orders-filters-placed-by-dropdown":!0,"aria-label":"Shopper selection dropdown",children:y.jsx("ul",{children:b.map(e=>y.jsx("li",{children:y.jsx("button",{type:"button",onMouseDown:e=>e.preventDefault(),onClick:()=>{i(e),d(!1),t({type:"setFacet",payload:{facet:{key:"purchaseAgentId",value:e.purchase_agent_id},unique:!0}})},"data-fs-list-orders-filters-placed-by-option":!0,children:y.jsx("span",{"data-fs-list-orders-filters-placed-by-option-name":!0,children:e.name})})},e.purchase_agent_id))})})]})};var S=r(66536),w=r.n(S);let MyAccountFilterSlider_MyAccountFilterSlider=function({facets:e,testId:t,dispatch:r,expanded:s,selected:n,title:l,clearButtonLabel:i,applyButtonLabel:o,searchInputRef:c}){let d=(0,a.useRef)(null),{0:h,1:m}=(0,a.useState)(!1),handleFilterChange=({selectedFacets:e,text:t})=>{let r=e.reduce((e,t)=>{let{key:r,value:a}=t;return"dateInitial"===r&&(e.dateInitial=a),"dateFinal"===r&&(e.dateFinal=a),"status"===r&&(e.status=Array.isArray(e.status)?[...e.status,a]:[a]),"purchaseAgentId"===r&&(e.purchaseAgentId=a),e},{}),a=new URLSearchParams;t&&a.set("text",t),Object.entries(r).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>a.append(e,t)):a.set(e,t)}),window.location.href=`/pvt/account/orders?${a.toString()}`};return y.jsx(u.Z,{overlayProps:{className:`section ${w().section} section-filter-slider`},title:l,size:"partial",direction:"rightSide",clearBtnProps:{variant:"secondary",onClick:()=>{d.current?.clear(),r({type:"selectFacets",payload:[]})},children:i??"Clear All"},applyBtnProps:{variant:"primary",onClick:()=>{let e=d.current?.getDataRangeFacet?.(),t=e?.value?.from?.trim?.(),r=e?.value?.to?.trim?.(),a=[];t&&a.push({key:"dateInitial",value:t}),r&&a.push({key:"dateFinal",value:r});let s=[...n,...a];handleFilterChange({selectedFacets:s,text:c.current?.inputRef.value})},disabled:h,children:o??"Apply"},onClose:()=>{},children:y.jsx(p.Z,{testId:`mobile-${t}`,indicesExpanded:s,onAccordionChange:e=>r({type:"toggleExpanded",payload:e}),children:e.map((e,a)=>{let{__typename:l,label:i}=e,o=s.has(a);return(0,y.jsxs)(f.Z,{testId:`mobile-${t}`,index:a,type:l,label:i,children:["StoreFacetBoolean"===l&&o&&y.jsx(b.Z,{children:e.values.map(a=>{let s=t?.trim().toLowerCase()||"",n=e.label?.trim().toLowerCase()||"",l=a.label?.trim().toLowerCase()||"",i=`${s}-${n}-${l}`;return y.jsx(g.Z,{id:i,testId:`mobile-${s}`,onFacetChange:e=>r({type:"toggleFacet",payload:e}),selected:a.selected,value:a.value,quantity:a.quantity,facetKey:e.key,label:a.label},i)})}),"StoreFacetPlacedBy"===l&&o&&y.jsx(MyAccountFilterFacetPlacedBy_MyAccountFilterFacetPlacedBy,{selected:n,dispatch:r}),"StoreFacetRange"===l&&o&&y.jsx(j,{ref:d,from:e.from,to:e.to,setDisabled:m})]},`${t}-${i}-${a}`)})})})};var _=r(73754);let useDebounce=(e,t,r)=>{let{0:s,1:n}=(0,a.useState)(r);return(0,a.useEffect)(()=>{if(s===r)return;let a=setTimeout(()=>{e(s)},t);return()=>{clearTimeout(a)}},[s]),n};var P=r(9664);let A=["value"];function useMyAccountFilter_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function useMyAccountFilter_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?useMyAccountFilter_ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):useMyAccountFilter_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let reducer=(e,t)=>{let{expanded:r,selected:a}=e,{type:s,payload:n}=t;switch(s){case"toggleExpanded":return r.has(n)?r.delete(n):r.add(n),useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{expanded:new Set(r)});case"selectFacets":if(n!==a)return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{selected:n});break;case"toggleFacet":return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{selected:(0,P.wB)(e.selected,n)});case"setFacet":return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{selected:(0,P.uL)(e.selected,n.facet,n.unique)});default:throw Error(`Action ${s} not implemented`)}return e},useMyAccountFilter=({allFacets:e,selectedFacets:t})=>{let{0:{selected:r,expanded:s},1:n}=(0,a.useReducer)(reducer,null,()=>({expanded:new Set([0,1]),selected:t})),l=(0,a.useMemo)(()=>r.reduce((e,t)=>(e.has(t.key)||e.set(t.key,new Map),e.get(t.key)?.set(t.value,t),e),new Map),[r]),i=(0,a.useMemo)(()=>e.map(e=>"StoreFacetBoolean"===e.__typename?useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{values:e.values.map(t=>{let{value:r}=t;return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},function(e,t){if(null==e)return{};var r,a,s=function(e,t){if(null==e)return{};var r,a,s={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}(t,A)),{},{value:r.toLowerCase(),selected:!!l.get(e.key)?.has(r.toLowerCase())})})}):e),[e,l]);return{facets:i,selected:r,expanded:s,dispatch:n}};var F=r(60679),E=r(15759),C=r(2562),D=r(96896),M=r(97358);function ExpandButton({isExpanded:e,onToggle:t,label:r,ariaControls:a}){return y.jsx(i.Z,{"aria-expanded":e,"aria-controls":a,"data-fs-list-orders-table-expand-button":!0,size:"small",variant:"primary",inverse:!0,iconPosition:"right",icon:e?y.jsx(o.Z,{width:16,height:16,name:"CaretUp","aria-label":"Collapse"}):y.jsx(o.Z,{width:16,height:16,name:"CaretDown","aria-label":"Expand"}),onClick:e=>{e.preventDefault(),e.stopPropagation(),t(e)},children:e?"View less":r??"View all"})}function MyAccountListOrdersTable_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function MyAccountListOrdersTable_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MyAccountListOrdersTable_ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MyAccountListOrdersTable_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function formatOrderDate(e,t){return new Date(e).toLocaleDateString(t,{year:"numeric",month:"2-digit",day:"2-digit"})}function Pagination({page:e,total:t,perPage:r}){let a=1===e?1:(e-1)*r+1,handlePageChange=e=>{let t=new URLSearchParams(window.location.search);1===e||0===e?t.delete("page"):t.set("page",String(e)),window.location.href=`/pvt/account/orders${t.toString()?`?${t}`:""}`};return(0,y.jsxs)("div",{"data-fs-list-orders-table-pagination":!0,children:[y.jsx("p",{children:`${a} — ${t>a+r-1?a+r-1:t} of ${t}`}),y.jsx(v.Z,{size:"small",variant:"tertiary",disabled:1===e,onClick:()=>handlePageChange(e-1),icon:y.jsx(o.Z,{name:"CaretLeft"}),"aria-label":"Previous Page"}),y.jsx(v.Z,{size:"small",variant:"tertiary",disabled:e===Math.ceil(t/r),onClick:()=>handlePageChange(e+1),icon:y.jsx(o.Z,{name:"CaretRight"}),"aria-label":"Next Page"})]})}function MyAccountListOrdersTable({listOrders:e,total:t,perPage:r,filters:s}){let{isDesktop:n}=(0,F.Z)(),{locale:l}=(0,M.kP)(),i=(0,D.p)(),{0:o,1:c}=(0,a.useState)({}),handleToggle=(e,t)=>{c(r=>MyAccountListOrdersTable_objectSpread(MyAccountListOrdersTable_objectSpread({},r),{},{[e]:MyAccountListOrdersTable_objectSpread(MyAccountListOrdersTable_objectSpread({},r[e]),{},{[t]:!r[e]?.[t]})}))};return(0,y.jsxs)(y.Fragment,{children:[y.jsx("table",{"data-fs-list-orders-table":!0,children:y.jsx("tbody",{"data-fs-list-orders-table-body":!0,children:e.list.map(e=>{let t=e?.customFields?.find(({type:e})=>"order"===e)?.value||[],r=e?.customFields?.find(({type:e})=>"item"===e)?.value||[],a=t&&t.length>0||r&&r.length>0,s=o[e.orderId]?.item||!1,c=o[e.orderId]?.order||!1,{displayed:d,shouldShowButton:u}=getLevel({level:r,isExpanded:s,max:5}),{displayed:p,shouldShowButton:f}=getLevel({level:t,isExpanded:c,max:5}),b=`/pvt/account/orders/${e.orderId}`,g=e.ShippingEstimatedDate?formatOrderDate(e.ShippingEstimatedDate,l):"-",h=e.creationDate?formatOrderDate(e.creationDate,l):"-",j=e.clientName?e.clientName:"-",m=i(e.totalValue,e.currencyCode),x=e.ShippingEstimatedDate?`Delivery by ${formatOrderDate(e.ShippingEstimatedDate,l)}`:"-",v=`additional-info-${e.orderId}-order`,O=`additional-info-${e.orderId}-item`;return(0,y.jsxs)("tr",{"data-fs-list-orders-table-row":!0,onClick:()=>{window.location.href=b},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),window.location.href=b)},tabIndex:0,"aria-label":`View order ${e.orderId} details`,children:[y.jsx("td",{"data-fs-list-orders-table-cell":!0,children:(0,y.jsxs)("div",{"data-fs-list-orders-table-product-info-main":!0,children:[y.jsx("p",{"data-fs-list-orders-table-product-info-order-id":!0,title:`ID: ${e.orderId||"-"}`,children:e.orderId||"-"}),(0,y.jsxs)("p",{"data-fs-list-orders-table-product-info-order-total":!0,title:`Total: ${m}`,children:["Total: ",m]})]})}),n&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[(0,y.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Placed on"}),y.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:h,children:h})]}),a&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Delivery by"}),y.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:g,children:g})]}),(0,y.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Placed by"}),y.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:j,children:j})]})]})]}),!a&&(0,y.jsxs)(y.Fragment,{children:[y.jsx("td",{"data-fs-list-orders-table-cell":!0,children:(0,y.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Delivery by"}),y.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:g,children:g})]})}),y.jsx("td",{"data-fs-list-orders-table-cell":!0,children:(0,y.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Placed by"}),y.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:j,children:j})]})})]}),a&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[p.length>0&&y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,id:v,children:"Order fields"}),p.map((e,t)=>y.jsx("p",{"data-fs-list-orders-table-product-info-order":!0,title:e,"aria-owns":v,children:e},e+t)),f&&y.jsx(ExpandButton,{ariaControls:v,isExpanded:c,count:t.length-5,onToggle:()=>handleToggle(e.orderId,"order")})]}),(0,y.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[d.length>0&&y.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,id:O,children:"Item fields"}),d.map((e,t)=>y.jsx("p",{"data-fs-list-orders-table-product-info-item":!0,title:e,"aria-owns":O,children:e},e+t)),u&&y.jsx(ExpandButton,{ariaControls:O,isExpanded:s,count:r.length-5,onToggle:()=>handleToggle(e.orderId,"item")})]})]})]}),(0,y.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[y.jsx(C.Z,{status:e.status,statusFallback:e.statusDescription}),!n&&y.jsx("p",{children:x})]})]},e.orderId)})})}),n&&y.jsx(Pagination,{page:s.page,total:t,perPage:r})]})}function getLevel({level:e,isExpanded:t,max:r}){let a=e.length>r,s=t?e:e.slice(0,r);return{displayed:s,shouldShowButton:a}}function formatFilterDate(e,t){let[r,a,s]=e.split("-").map(Number),n=new Date(r,a-1,s);return n.toLocaleDateString(t,{year:"numeric",month:"2-digit",day:"2-digit"})}function Tags({filters:e,onRemoveFilter:t}){let{locale:r}=(0,M.kP)(),{dateInitial:a,dateFinal:s,status:n,purchaseAgentId:l}=e,i=a?formatFilterDate(a,r):"",o=s?formatFilterDate(s,r):"",c=(a||s)&&(0,y.jsxs)("div",{"data-fs-list-orders-selected-tag":!0,children:[y.jsx("span",{"data-fs-list-orders-selected-tag-label":!0,children:(a&&s?`${i} to ${o}`:i?`from ${i}`:`to ${o}`)||""}),y.jsx("button",{"data-fs-list-orders-selected-tag-clear":!0,onClick:()=>{t("dateInitial",a)},children:"\xd7"})]},"date-range"),d=(n||[]).map(e=>(0,y.jsxs)("div",{"data-fs-list-orders-selected-tag":!0,children:[y.jsx("span",{children:E.BX[e.toLowerCase()]||e}),y.jsx("button",{"data-fs-list-orders-selected-tag-clear":!0,onClick:()=>t("status",e),children:"\xd7"})]},`status-${e}`)),u=l&&(0,y.jsxs)("div",{"data-fs-list-orders-selected-tag":!0,children:[(0,y.jsxs)("span",{children:["Placed by: ",l]}),y.jsx("button",{"data-fs-list-orders-selected-tag-clear":!0,onClick:()=>t("purchaseAgentId",l),children:"\xd7"})]},`placed-by-${l}`);return(0,y.jsxs)(y.Fragment,{children:[u,c,d]})}let MyAccountSelectedTags_MyAccountSelectedTags=function({filters:e,onClearAll:t,onRemoveFilter:r}){let a=Object.entries(e).some(([e,t])=>("status"===e||"dateInitial"===e||"dateFinal"===e||"purchaseAgentId"===e)&&t&&(!Array.isArray(t)||t.length>0));return y.jsx(y.Fragment,{children:a&&(0,y.jsxs)("div",{"data-fs-list-orders-selected-tags":!0,children:[y.jsx(Tags,{filters:e,onRemoveFilter:r}),y.jsx(i.Z,{variant:"tertiary",size:"small","data-fs-list-orders-selected-tags-clear-all-button":!0,onClick:t,children:"Clear All"})]})})};var k=r(64774),I=r.n(k);let L=["page","clientEmail"];function MyAccountListOrders_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function MyAccountListOrders_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MyAccountListOrders_ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MyAccountListOrders_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function getSelectedFacets({filters:e}){return Object.keys(e).reduce((t,r)=>{if("page"===r||"text"===r||"clientEmail"===r)return t;let a=e[r];if("status"===r&&a.length>0){let e=Array.isArray(a)?a:[a];t.push(...e.map(e=>({key:"status",value:e.toLowerCase()})))}else"dateInitial"===r&&a?t.push({key:"dateInitial",value:String(a)}):"dateFinal"===r&&a?t.push({key:"dateFinal",value:String(a)}):"purchaseAgentId"===r&&a&&t.push({key:"purchaseAgentId",value:String(a)});return t},[])}function MyAccountListOrders({listOrders:e,total:t,perPage:r,filters:u}){let p=(0,s.useRouter)(),{isDesktop:f}=(0,F.Z)(),b=(0,a.useRef)(null);(0,a.useEffect)(()=>{b.current?.inputRef&&(u?.text&&b.current?.inputRef?b.current.inputRef.value=u.text:b.current.inputRef.value="")},[u?.text]);let g=useDebounce(e=>{if(!e&&!p.query.text)return;let t=e.trim().toLowerCase()!==p.query.text?.toString().trim().toLowerCase();if(t){let t=new URLSearchParams(window.location.search);t.delete("text"),t.delete("page"),e&&t.set("text",e),window.location.href=`/pvt/account/orders?${t.toString()}`}},300,String(p.query.text)),h=getSelectedFacets({filters:u}),j=function({filters:e}){return[{__typename:"StoreFacetBoolean",key:"status",label:"Status",values:E.j4.map(e=>({label:e,quantity:0,selected:!1,value:e.toLowerCase()}))},{__typename:"StoreFacetPlacedBy",key:"purchaseAgentId",label:"Placed by"},{__typename:"StoreFacetRange",key:"dateRange",label:"Order Date",from:e.dateInitial,to:e.dateFinal}]}({filters:u}),m=useMyAccountFilter({allFacets:j,selectedFacets:h}),{openFilter:x,filter:v}=(0,n.l8)(),O=u.status.length>0||!!u.dateInitial||!!u.dateFinal||!!u.text,S=0===e.list.length;return(0,y.jsxs)("div",{className:I().page,children:[y.jsx(_.Z,{pageTitle:"Orders"}),(0,y.jsxs)("div",{"data-fs-list-orders-controls":!0,children:[(0,y.jsxs)("div",{"data-fs-list-orders-search-filters":!0,children:[y.jsx(l.Z,{ref:b,"data-fs-search-input-field-list-orders":!0,placeholder:"Search",onBlur:e=>{g(b.current.inputRef.value)},onKeyDown:e=>{"Enter"===e.key&&g(b.current.inputRef.value)},onSubmit:e=>{g(b.current.inputRef.value)}}),y.jsx(i.Z,{"data-fs-list-orders-search-filters-button":!0,size:"small",variant:"tertiary",icon:y.jsx(o.Z,{name:"FadersHorizontal",width:24,height:24,"aria-label":"Open Filters"}),iconPosition:"left",onClick:()=>{m.dispatch({type:"selectFacets",payload:getSelectedFacets({filters:u})}),x()},children:"Filters"})]}),f&&y.jsx(Pagination,{page:u.page,total:t,perPage:r})]}),y.jsx(MyAccountSelectedTags_MyAccountSelectedTags,{filters:{status:u.status,dateInitial:u.dateInitial,dateFinal:u.dateFinal,purchaseAgentId:u.purchaseAgentId},onClearAll:()=>{window.location.href="/pvt/account/orders"},onRemoveFilter:(e,t)=>{let r=MyAccountListOrders_objectSpread({},u),{page:a,clientEmail:s}=r,n=function(e,t){if(null==e)return{};var r,a,s=function(e,t){if(null==e)return{};var r,a,s={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}(r,L);"status"===e&&Array.isArray(n[e])?n[e]=n[e].filter(e=>e!==t):"dateInitial"===e||"dateFinal"===e?(delete n.dateInitial,delete n.dateFinal):"purchaseAgentId"===e?delete n.purchaseAgentId:delete n[e],"status"===e&&Array.isArray(n[e])?n[e]=n[e].filter(e=>e.toLowerCase()!==t.toLowerCase()):"dateInitial"===e||"dateFinal"===e?(delete n.dateInitial,delete n.dateFinal):"purchaseAgentId"===e?delete n.purchaseAgentId:delete n[e];let l=Object.fromEntries(Object.entries(n).filter(([,e])=>Array.isArray(e)?e.length>0:!!e)),i=new URLSearchParams(l);window.location.href=`/pvt/account/orders?${i.toString()}`}}),v&&y.jsx(MyAccountFilterSlider_MyAccountFilterSlider,MyAccountListOrders_objectSpread(MyAccountListOrders_objectSpread({},m),{},{title:"Filters",clearButtonLabel:"Clear All",applyButtonLabel:"View Results",searchInputRef:b,testId:"my-account-filter-slider"})),S?y.jsx(c.Z,{titleIcon:y.jsx(o.Z,{name:O?"MagnifyingGlass":"Bag2",width:56,height:56,weight:"thin"}),title:O?"No results found":"You don't have any orders",bkgColor:"light",children:!O&&y.jsx(d.Z,{"data-fs-list-orders-empty-state-link":!0,href:"/",variant:"secondary",children:"Start shopping"})}):y.jsx(MyAccountListOrdersTable,{listOrders:e,total:t,perPage:r,filters:u}),!f&&y.jsx(Pagination,{page:u.page,total:t,perPage:r})]})}},98643:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=r(20997);let __WEBPACK_DEFAULT_EXPORT__=function(){return a.jsx(a.Fragment,{})}},68651:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=r(20997);let __WEBPACK_DEFAULT_EXPORT__=function(){return a.jsx(a.Fragment,{})}},7826:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{default:()=>ListOrdersPage,getServerSideProps:()=>getServerSideProps});var s=r(25487),n=r(16641),l=r(16886),i=r(93839),o=r(7027),c=r(76924),d=r(55551),u=r(98643),p=r(68651),f=r(99563),b=r(10278),g=r(67275),h=r(15759),y=r(43412),j=r.n(y),m=r(87371),x=r(99990),v=r(7947),O=r(56272),S=r(4018),w=r(20997),_=e([o,i,v,f]);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}[o,i,v,f]=_.then?(await _)():_;let P=_objectSpread(_objectSpread({},o.Z),c.Z);function ListOrdersPage({globalSections:e,accountName:t,listOrders:r,total:a,perPage:s,filters:o,isRepresentative:c}){let{sections:d,settings:f}=e??{};return w.jsx(O.ZP,{context:{globalSettings:f},children:(0,w.jsxs)(i.ZP,{globalSections:d,components:P,children:[w.jsx(n.NextSeo,{noindex:!0,nofollow:!0}),(0,w.jsxs)(l.Z,{isRepresentative:c,accountName:t,children:[w.jsx(p.Z,{}),w.jsx(m.Z,{listOrders:r,filters:o,perPage:s,total:a}),w.jsx(u.Z,{})]})]})})}let A=s.vX,getServerSideProps=async e=>{let t=await (0,v.h)(e);if(!t)return{redirect:{destination:"/login",permanent:!1}};let r=(0,x.C)({headers:e.req.headers,account:j().api.storeId}),{previewData:a}=e,{isFaststoreMyAccountEnabled:s,redirect:n}=(0,g.j)({query:e.query});if(!s)return{redirect:n};let[l,i,o]=(0,d.Tc)(a),c=Number(e.query.page)||1,u=(Array.isArray(e.query.status)?e.query.status:[e.query.status]).filter(Boolean)||[],p=e.query.dateInitial||"",y=e.query.dateFinal||"",m=e.query.text||"",O=e.query.clientEmail||"",w=e.query.purchaseAgentId||"",_=(0,h.JU)(),P=u.reduce((e,t)=>{let r=Object.entries(_).find(([e])=>e.toLowerCase()===t.toLowerCase());if(r){let[,t]=r;return[...e,...t]}return e},[]).filter(Boolean)||[],[F,E,C,D]=await Promise.all([(0,f.h)({variables:{page:c,perPage:25,status:P,dateInitial:p,dateFinal:y,text:m,clientEmail:O},operation:A},{headers:_objectSpread({},e.req.headers)}),l,i,o]);if(F.errors){console.error(...F.errors);let e=(0,S.E2)(F.errors[0]);return{redirect:{destination:403===e||401===e?"/pvt/account/403":"/pvt/account/404",permanent:!1}}}let M=(0,b.z)({globalSections:E,globalSectionsHeader:C,globalSectionsFooter:D});return{props:{globalSections:M,accountName:F.data.accountProfile.name,listOrders:F.data.listUserOrders,total:F.data.listUserOrders.paging.total,perPage:F.data.listUserOrders.paging.perPage,filters:{page:F.data.listUserOrders.paging.currentPage??c,status:u,dateInitial:p,dateFinal:y,text:m,clientEmail:O,purchaseAgentId:w},isRepresentative:r}}};a()}catch(e){a(e)}})},66536:e=>{e.exports={section:"section_section__YPC0_",load:"section_load__1kqk7"}},64774:e=>{e.exports={page:"styles_page__flnO9"}},16907:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{config:()=>g,default:()=>u,getServerSideProps:()=>b,getStaticPaths:()=>f,getStaticProps:()=>p,reportWebVitals:()=>h,routeModule:()=>O,unstable_getServerProps:()=>x,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>m,unstable_getStaticPaths:()=>j,unstable_getStaticProps:()=>y});var s=r(21314),n=r(36267),l=r(18400),i=r(42445),o=r(19630),c=r(7826),d=e([c,o]);[c,o]=d.then?(await d)():d;let u=(0,l.l)(c,"default"),p=(0,l.l)(c,"getStaticProps"),f=(0,l.l)(c,"getStaticPaths"),b=(0,l.l)(c,"getServerSideProps"),g=(0,l.l)(c,"config"),h=(0,l.l)(c,"reportWebVitals"),y=(0,l.l)(c,"unstable_getStaticProps"),j=(0,l.l)(c,"unstable_getStaticPaths"),m=(0,l.l)(c,"unstable_getStaticParams"),x=(0,l.l)(c,"unstable_getServerProps"),v=(0,l.l)(c,"unstable_getServerSideProps"),O=new s.PagesRouteModule({definition:{kind:n.x.PAGES,page:"/pvt/account/orders",pathname:"/pvt/account/orders",bundlePath:"",filename:""},components:{App:o.default,Document:i.default},userland:c});a()}catch(e){a(e)}})},82740:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(16689),s=r.n(a);let n=(0,a.forwardRef)(function({testId:e="fs-checkbox",partial:t,...r},a){return s().createElement("input",{ref:a,"data-fs-checkbox":!0,"data-testid":e,"data-fs-checkbox-partial":t,type:"checkbox",...r})}),l=n},16676:e=>{"use strict";e.exports=require("@vtex/client-cms")},44339:e=>{"use strict";e.exports=require("@vtex/client-cp")},84802:e=>{"use strict";e.exports=require("cookie")},56330:e=>{"use strict";e.exports=require("deepmerge")},12404:e=>{"use strict";e.exports=require("fast-deep-equal")},57343:e=>{"use strict";e.exports=require("graphql")},36548:e=>{"use strict";e.exports=require("graphql/language")},47881:e=>{"use strict";e.exports=require("isomorphic-unfetch")},16641:e=>{"use strict";e.exports=require("next-seo")},62785:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},40968:e=>{"use strict";e.exports=require("next/head")},89261:e=>{"use strict";e.exports=require("postcss")},16689:e=>{"use strict";e.exports=require("react")},66405:e=>{"use strict";e.exports=require("react-dom")},19785:e=>{"use strict";e.exports=require("react-intersection-observer")},20997:e=>{"use strict";e.exports=require("react/jsx-runtime")},14037:e=>{"use strict";e.exports=import("@builder.io/partytown/react")},99664:e=>{"use strict";e.exports=import("@envelop/core")},37886:e=>{"use strict";e.exports=import("@envelop/graphql-jit")},84656:e=>{"use strict";e.exports=import("@envelop/parser-cache")},36093:e=>{"use strict";e.exports=import("@envelop/validation-cache")},45774:e=>{"use strict";e.exports=import("@graphql-tools/load-files")},36550:e=>{"use strict";e.exports=import("@graphql-tools/schema")},38722:e=>{"use strict";e.exports=import("@graphql-tools/utils")},15941:e=>{"use strict";e.exports=import("swr")},6113:e=>{"use strict";e.exports=require("crypto")},57147:e=>{"use strict";e.exports=require("fs")},71017:e=>{"use strict";e.exports=require("path")},12781:e=>{"use strict";e.exports=require("stream")},59796:e=>{"use strict";e.exports=require("zlib")}};var t=require("../../../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[7799,772,6804,9985,1554,5683,4913,4168,9630,2445,948,9563,7275,7228,7947,3922,6886,3006,8569,9990,2570],()=>__webpack_exec__(16907));module.exports=r})();
1
+ (()=>{var e={};e.id=1957,e.ids=[1957,2888,660],e.modules={73754:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=r(20997);let __WEBPACK_DEFAULT_EXPORT__=function({pageTitle:e}){return a.jsx("header",{"data-fs-account-header":!0,children:a.jsx("h1",{"data-fs-account-header-title":!0,children:e})})}},87371:(e,t,r)=>{"use strict";r.d(t,{Z:()=>MyAccountListOrders});var a=r(16689),s=r(33339),n=r(16652),l=r(96396),i=r(83339),o=r(2614),c=r(6133),d=r(13922),u=r(38846),p=r(15699),f=r(64199),g=r(52815),b=r(26174),y=r(93779),h=r(20997);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let j=(0,a.forwardRef)(({to:e,from:t,setDisabled:r},s)=>{let n=(0,a.useRef)(null),l=(0,a.useRef)(null),{0:i,1:o}=(0,a.useState)(),{0:c,1:d}=(0,a.useState)(),{0:u,1:p}=(0,a.useState)({from:t,to:e});function onEnd(e){if(!e.from||!e.to){o(void 0),d(void 0),r(!1);return}new Date(e.from)>new Date(e.to)?(o("Invalid date range"),r(!0)):(o(void 0),d(void 0),r(!1))}return(0,a.useImperativeHandle)(s,()=>({clear:()=>{o(void 0),d(void 0),p({from:"",to:""}),n.current&&(n.current.value=""),l.current&&(l.current.value="")},getDataRangeFacet:()=>({key:"dateRange",value:u})})),h.jsx("div",{"data-fs-list-orders-filters-date-range":!0,children:(0,h.jsxs)("div",{"data-fs-list-orders-filters-date-range-inputs":!0,children:[h.jsx(y.Z,{id:"date-range-from",label:"From",type:"date",inputMode:"text",error:i,inputRef:n,value:u.from,onChange:e=>(function(e){p(_objectSpread(_objectSpread({},u),{},{from:String(e)})),onEnd?.(_objectSpread(_objectSpread({},u),{},{from:String(e)}))})(e.target.value),onBlur:()=>!i&&onEnd?.(u)}),h.jsx(y.Z,{id:"date-range-to",label:"To",type:"date",inputMode:"text",error:c,inputRef:l,value:u.to,onChange:e=>(function(e){p(_objectSpread(_objectSpread({},u),{},{to:String(e)})),onEnd?.(_objectSpread(_objectSpread({},u),{},{to:String(e)}))})(e.target.value),onBlur:()=>!c&&onEnd?.(u)})]})})});var m=r(42256),x=r(83982),v=r(37041);let O=[{purchase_agent_id:"1",name:"Robert Fox",email:"robert.fox@example.com"},{purchase_agent_id:"2",name:"Ronald Wilson",email:"ronald.wilson@example.com"},{purchase_agent_id:"3",name:"Cameron Williamson",email:"cameron.williamson@example.com"},{purchase_agent_id:"4",name:"Brooklyn Simmons",email:"brooklyn.simmons@example.com"}],account_useShopperSuggestions=function(e=""){let{0:t,1:r}=(0,a.useState)({shoppers:O}),{0:s,1:n}=(0,a.useState)(null),{0:l,1:i}=(0,a.useState)(!1),o=(0,a.useCallback)(async e=>{if(!e?.trim()){r({shoppers:O}),i(!1);return}i(!0),n(null);try{let t=await new Promise(t=>{setTimeout(()=>{let r=e.trim().toLowerCase(),a=O.filter(e=>e.name.toLowerCase().includes(r)||e.email.toLowerCase().includes(r));t(a)},300)});r({shoppers:t})}catch(e){n(e instanceof Error?e:Error("Failed to search for shoppers")),r({shoppers:[]})}finally{i(!1)}},[]);(0,a.useEffect)(()=>{if(!e&&null===t)return;let r=setTimeout(()=>{o(e)},300);return()=>{clearTimeout(r)}},[e]);let c=(0,a.useMemo)(()=>e=>t?.shoppers.find(t=>t.purchase_agent_id===e),[]);return{data:t,error:s,isLoading:l,findShopperById:c}},MyAccountFilterFacetPlacedBy_MyAccountFilterFacetPlacedBy=function({selected:e,dispatch:t}){let r=(0,a.useRef)(null),{0:s,1:n}=(0,a.useState)(""),{0:l,1:i}=(0,a.useState)(null),{0:c,1:d}=(0,a.useState)(!1),{data:u,isLoading:p,findShopperById:f}=account_useShopperSuggestions(s),g=u?.shoppers||[],b=(0,a.useMemo)(()=>e.find(e=>"purchaseAgentId"===e.key)?.value,[e]),clearAll=()=>{n(""),i(null),r.current&&(r.current.value="")};(0,a.useEffect)(()=>{if(b&&!l){let e=f(b);e&&i(e)}else b||clearAll()},[b,l]);let y=(0,a.useMemo)(()=>!p&&s&&0===g.length,[p,s,g]);return(0,h.jsxs)("div",{"data-fs-list-orders-filters-placed-by":!0,children:[(0,h.jsxs)("div",{"data-fs-list-orders-filters-placed-by-input":!0,children:[h.jsx(m.Z,{id:"placed-by-input",placeholder:"Enter the shopper's name...",ref:r,value:l?l.name:s,readOnly:!!l,onFocus:()=>{l||d(!0)},onChange:e=>{l||(n(e.target.value),d(!0))},onBlur:()=>{setTimeout(()=>{d(!1),!l&&(n(""),r.current&&(r.current.value=""))},100)},type:"text",inputMode:"text"}),p&&h.jsx("div",{"data-fs-list-orders-filters-placed-by-loader":!0,children:h.jsx(x.Z,{})}),l&&h.jsx(v.Z,{size:"small","aria-label":"Clear shopper","data-fs-list-orders-filters-placed-by-clear":!0,icon:h.jsx(o.Z,{name:"X"}),onClick:function(){l&&t({type:"toggleFacet",payload:{key:"purchaseAgentId",value:l.purchase_agent_id}}),clearAll()}})]}),c&&y&&h.jsx("div",{"data-fs-list-orders-filters-placed-by-dropdown":!0,"data-fs-list-orders-filters-placed-by-empty":!0,"aria-label":"No shoppers found with query",children:(0,h.jsxs)("p",{children:['No shoppers found with "',s,'"']})}),c&&g.length>0&&h.jsx("div",{"data-fs-list-orders-filters-placed-by-dropdown":!0,"aria-label":"Shopper selection dropdown",children:h.jsx("ul",{children:g.map(e=>h.jsx("li",{children:h.jsx("button",{type:"button",onMouseDown:e=>e.preventDefault(),onClick:()=>{i(e),d(!1),t({type:"setFacet",payload:{facet:{key:"purchaseAgentId",value:e.purchase_agent_id},unique:!0}})},"data-fs-list-orders-filters-placed-by-option":!0,children:h.jsx("span",{"data-fs-list-orders-filters-placed-by-option-name":!0,children:e.name})})},e.purchase_agent_id))})})]})};var S=r(66536),w=r.n(S);let MyAccountFilterSlider_MyAccountFilterSlider=function({facets:e,testId:t,dispatch:r,expanded:s,selected:n,title:l,clearButtonLabel:i,applyButtonLabel:o,searchInputRef:c}){let d=(0,a.useRef)(null),{0:y,1:m}=(0,a.useState)(!1),handleFilterChange=({selectedFacets:e,text:t})=>{let r=e.reduce((e,t)=>{let{key:r,value:a}=t;return"dateInitial"===r&&(e.dateInitial=a),"dateFinal"===r&&(e.dateFinal=a),"status"===r&&(e.status=Array.isArray(e.status)?[...e.status,a]:[a]),"purchaseAgentId"===r&&(e.purchaseAgentId=a),e},{}),a=new URLSearchParams;t&&a.set("text",t),Object.entries(r).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>a.append(e,t)):a.set(e,t)}),window.location.href=`/pvt/account/orders?${a.toString()}`};return h.jsx(u.Z,{overlayProps:{className:`section ${w().section} section-filter-slider`},title:l,size:"partial",direction:"rightSide",clearBtnProps:{variant:"secondary",onClick:()=>{d.current?.clear(),r({type:"selectFacets",payload:[]})},children:i??"Clear All"},applyBtnProps:{variant:"primary",onClick:()=>{let e=d.current?.getDataRangeFacet?.(),t=e?.value?.from?.trim?.(),r=e?.value?.to?.trim?.(),a=[];t&&a.push({key:"dateInitial",value:t}),r&&a.push({key:"dateFinal",value:r});let s=[...n,...a];handleFilterChange({selectedFacets:s,text:c.current?.inputRef.value})},disabled:y,children:o??"Apply"},onClose:()=>{},children:h.jsx(p.Z,{testId:`mobile-${t}`,indicesExpanded:s,onAccordionChange:e=>r({type:"toggleExpanded",payload:e}),children:e.map((e,a)=>{let{__typename:l,label:i}=e,o=s.has(a);return(0,h.jsxs)(f.Z,{testId:`mobile-${t}`,index:a,type:l,label:i,children:["StoreFacetBoolean"===l&&o&&h.jsx(g.Z,{children:e.values.map(a=>{let s=t?.trim().toLowerCase()||"",n=e.label?.trim().toLowerCase()||"",l=a.label?.trim().toLowerCase()||"",i=`${s}-${n}-${l}`;return h.jsx(b.Z,{id:i,testId:`mobile-${s}`,onFacetChange:e=>r({type:"toggleFacet",payload:e}),selected:a.selected,value:a.value,quantity:a.quantity,facetKey:e.key,label:a.label},i)})}),"StoreFacetPlacedBy"===l&&o&&h.jsx(MyAccountFilterFacetPlacedBy_MyAccountFilterFacetPlacedBy,{selected:n,dispatch:r}),"StoreFacetRange"===l&&o&&h.jsx(j,{ref:d,from:e.from,to:e.to,setDisabled:m})]},`${t}-${i}-${a}`)})})})};var _=r(73754);let useDebounce=(e,t,r)=>{let{0:s,1:n}=(0,a.useState)(r);return(0,a.useEffect)(()=>{if(s===r)return;let a=setTimeout(()=>{e(s)},t);return()=>{clearTimeout(a)}},[s]),n};var P=r(9664);let A=["value"];function useMyAccountFilter_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function useMyAccountFilter_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?useMyAccountFilter_ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):useMyAccountFilter_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let reducer=(e,t)=>{let{expanded:r,selected:a}=e,{type:s,payload:n}=t;switch(s){case"toggleExpanded":return r.has(n)?r.delete(n):r.add(n),useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{expanded:new Set(r)});case"selectFacets":if(n!==a)return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{selected:n});break;case"toggleFacet":return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{selected:(0,P.wB)(e.selected,n)});case"setFacet":return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{selected:(0,P.uL)(e.selected,n.facet,n.unique)});default:throw Error(`Action ${s} not implemented`)}return e},useMyAccountFilter=({allFacets:e,selectedFacets:t})=>{let{0:{selected:r,expanded:s},1:n}=(0,a.useReducer)(reducer,null,()=>({expanded:new Set([0,1]),selected:t})),l=(0,a.useMemo)(()=>r.reduce((e,t)=>(e.has(t.key)||e.set(t.key,new Map),e.get(t.key)?.set(t.value,t),e),new Map),[r]),i=(0,a.useMemo)(()=>e.map(e=>"StoreFacetBoolean"===e.__typename?useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},e),{},{values:e.values.map(t=>{let{value:r}=t;return useMyAccountFilter_objectSpread(useMyAccountFilter_objectSpread({},function(e,t){if(null==e)return{};var r,a,s=function(e,t){if(null==e)return{};var r,a,s={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}(t,A)),{},{value:r.toLowerCase(),selected:!!l.get(e.key)?.has(r.toLowerCase())})})}):e),[e,l]);return{facets:i,selected:r,expanded:s,dispatch:n}};var F=r(60679),E=r(15759),C=r(2562),D=r(96896),M=r(97358);function ExpandButton({isExpanded:e,onToggle:t,label:r,ariaControls:a}){return h.jsx(i.Z,{"aria-expanded":e,"aria-controls":a,"data-fs-list-orders-table-expand-button":!0,size:"small",variant:"primary",inverse:!0,iconPosition:"right",icon:e?h.jsx(o.Z,{width:16,height:16,name:"CaretUp","aria-label":"Collapse"}):h.jsx(o.Z,{width:16,height:16,name:"CaretDown","aria-label":"Expand"}),onClick:e=>{e.preventDefault(),e.stopPropagation(),t(e)},children:e?"View less":r??"View all"})}function MyAccountListOrdersTable_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function MyAccountListOrdersTable_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MyAccountListOrdersTable_ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MyAccountListOrdersTable_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function formatOrderDate(e,t){return new Date(e).toLocaleDateString(t,{year:"numeric",month:"2-digit",day:"2-digit"})}function Pagination({page:e,total:t,perPage:r}){let a=1===e?1:(e-1)*r+1,handlePageChange=e=>{let t=new URLSearchParams(window.location.search);1===e||0===e?t.delete("page"):t.set("page",String(e)),window.location.href=`/pvt/account/orders${t.toString()?`?${t}`:""}`};return(0,h.jsxs)("div",{"data-fs-list-orders-table-pagination":!0,children:[h.jsx("p",{children:`${a} — ${t>a+r-1?a+r-1:t} of ${t}`}),h.jsx(v.Z,{size:"small",variant:"tertiary",disabled:1===e,onClick:()=>handlePageChange(e-1),icon:h.jsx(o.Z,{name:"CaretLeft"}),"aria-label":"Previous Page"}),h.jsx(v.Z,{size:"small",variant:"tertiary",disabled:e===Math.ceil(t/r),onClick:()=>handlePageChange(e+1),icon:h.jsx(o.Z,{name:"CaretRight"}),"aria-label":"Next Page"})]})}function MyAccountListOrdersTable({listOrders:e,total:t,perPage:r,filters:s}){let{isDesktop:n}=(0,F.Z)(),{locale:l}=(0,M.kP)(),i=(0,D.p)(),{0:o,1:c}=(0,a.useState)({}),handleToggle=(e,t)=>{c(r=>MyAccountListOrdersTable_objectSpread(MyAccountListOrdersTable_objectSpread({},r),{},{[e]:MyAccountListOrdersTable_objectSpread(MyAccountListOrdersTable_objectSpread({},r[e]),{},{[t]:!r[e]?.[t]})}))};return(0,h.jsxs)(h.Fragment,{children:[h.jsx("table",{"data-fs-list-orders-table":!0,children:h.jsx("tbody",{"data-fs-list-orders-table-body":!0,children:e.list.map(e=>{let t=e?.customFields?.find(({type:e})=>"order"===e)?.value||[],r=e?.customFields?.find(({type:e})=>"item"===e)?.value||[],a=t&&t.length>0||r&&r.length>0,s=o[e.orderId]?.item||!1,c=o[e.orderId]?.order||!1,{displayed:d,shouldShowButton:u}=getLevel({level:r,isExpanded:s,max:5}),{displayed:p,shouldShowButton:f}=getLevel({level:t,isExpanded:c,max:5}),g=`/pvt/account/orders/${e.orderId}`,b=e.ShippingEstimatedDate?formatOrderDate(e.ShippingEstimatedDate,l):"-",y=e.creationDate?formatOrderDate(e.creationDate,l):"-",j=i(e.totalValue,e.currencyCode),m=e.ShippingEstimatedDate?`Delivery by ${formatOrderDate(e.ShippingEstimatedDate,l)}`:"-",x=`additional-info-${e.orderId}-order`,v=`additional-info-${e.orderId}-item`;return(0,h.jsxs)("tr",{"data-fs-list-orders-table-row":!0,onClick:()=>{window.location.href=g},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),window.location.href=g)},tabIndex:0,"aria-label":`View order ${e.orderId} details`,children:[h.jsx("td",{"data-fs-list-orders-table-cell":!0,children:(0,h.jsxs)("div",{"data-fs-list-orders-table-product-info-main":!0,children:[h.jsx("p",{"data-fs-list-orders-table-product-info-order-id":!0,title:`ID: ${e.orderId||"-"}`,children:e.orderId||"-"}),(0,h.jsxs)("p",{"data-fs-list-orders-table-product-info-order-total":!0,title:`Total: ${j}`,children:["Total: ",j]})]})}),n&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[(0,h.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[h.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Placed on"}),h.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:y,children:y})]}),a&&h.jsx(h.Fragment,{children:(0,h.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[h.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Delivery by"}),h.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:b,children:b})]})})]}),!a&&h.jsx(h.Fragment,{children:h.jsx("td",{"data-fs-list-orders-table-cell":!0,children:(0,h.jsxs)("div",{"data-fs-list-orders-table-product-info":!0,children:[h.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,children:"Delivery by"}),h.jsx("p",{"data-fs-list-orders-table-product-info-value":!0,title:b,children:b})]})})}),a&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[p.length>0&&h.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,id:x,children:"Order fields"}),p.map((e,t)=>h.jsx("p",{"data-fs-list-orders-table-product-info-order":!0,title:e,"aria-owns":x,children:e},e+t)),f&&h.jsx(ExpandButton,{ariaControls:x,isExpanded:c,count:t.length-5,onToggle:()=>handleToggle(e.orderId,"order")})]}),(0,h.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[d.length>0&&h.jsx("p",{"data-fs-list-orders-table-product-info-label":!0,id:v,children:"Item fields"}),d.map((e,t)=>h.jsx("p",{"data-fs-list-orders-table-product-info-item":!0,title:e,"aria-owns":v,children:e},e+t)),u&&h.jsx(ExpandButton,{ariaControls:v,isExpanded:s,count:r.length-5,onToggle:()=>handleToggle(e.orderId,"item")})]})]})]}),(0,h.jsxs)("td",{"data-fs-list-orders-table-cell":!0,children:[h.jsx(C.Z,{status:e.status,statusFallback:e.statusDescription}),!n&&h.jsx("p",{children:m})]})]},e.orderId)})})}),n&&h.jsx(Pagination,{page:s.page,total:t,perPage:r})]})}function getLevel({level:e,isExpanded:t,max:r}){let a=e.length>r,s=t?e:e.slice(0,r);return{displayed:s,shouldShowButton:a}}function formatFilterDate(e,t){let[r,a,s]=e.split("-").map(Number),n=new Date(r,a-1,s);return n.toLocaleDateString(t,{year:"numeric",month:"2-digit",day:"2-digit"})}function Tags({filters:e,onRemoveFilter:t}){let{locale:r}=(0,M.kP)(),{dateInitial:a,dateFinal:s,status:n,purchaseAgentId:l}=e,i=a?formatFilterDate(a,r):"",o=s?formatFilterDate(s,r):"",c=(a||s)&&(0,h.jsxs)("div",{"data-fs-list-orders-selected-tag":!0,children:[h.jsx("span",{"data-fs-list-orders-selected-tag-label":!0,children:(a&&s?`${i} to ${o}`:i?`from ${i}`:`to ${o}`)||""}),h.jsx("button",{"data-fs-list-orders-selected-tag-clear":!0,onClick:()=>{t("dateInitial",a)},children:"\xd7"})]},"date-range"),d=(n||[]).map(e=>(0,h.jsxs)("div",{"data-fs-list-orders-selected-tag":!0,children:[h.jsx("span",{children:E.BX[e.toLowerCase()]||e}),h.jsx("button",{"data-fs-list-orders-selected-tag-clear":!0,onClick:()=>t("status",e),children:"\xd7"})]},`status-${e}`)),u=l&&(0,h.jsxs)("div",{"data-fs-list-orders-selected-tag":!0,children:[(0,h.jsxs)("span",{children:["Placed by: ",l]}),h.jsx("button",{"data-fs-list-orders-selected-tag-clear":!0,onClick:()=>t("purchaseAgentId",l),children:"\xd7"})]},`placed-by-${l}`);return(0,h.jsxs)(h.Fragment,{children:[u,c,d]})}let MyAccountSelectedTags_MyAccountSelectedTags=function({filters:e,onClearAll:t,onRemoveFilter:r}){let a=Object.entries(e).some(([e,t])=>("status"===e||"dateInitial"===e||"dateFinal"===e||"purchaseAgentId"===e)&&t&&(!Array.isArray(t)||t.length>0));return h.jsx(h.Fragment,{children:a&&(0,h.jsxs)("div",{"data-fs-list-orders-selected-tags":!0,children:[h.jsx(Tags,{filters:e,onRemoveFilter:r}),h.jsx(i.Z,{variant:"tertiary",size:"small","data-fs-list-orders-selected-tags-clear-all-button":!0,onClick:t,children:"Clear All"})]})})};var k=r(64774),L=r.n(k);let I=["page","clientEmail"];function MyAccountListOrders_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function MyAccountListOrders_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MyAccountListOrders_ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MyAccountListOrders_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function getSelectedFacets({filters:e}){return Object.keys(e).reduce((t,r)=>{if("page"===r||"text"===r||"clientEmail"===r)return t;let a=e[r];if("status"===r&&a.length>0){let e=Array.isArray(a)?a:[a];t.push(...e.map(e=>({key:"status",value:e.toLowerCase()})))}else"dateInitial"===r&&a?t.push({key:"dateInitial",value:String(a)}):"dateFinal"===r&&a?t.push({key:"dateFinal",value:String(a)}):"purchaseAgentId"===r&&a&&t.push({key:"purchaseAgentId",value:String(a)});return t},[])}function MyAccountListOrders({listOrders:e,total:t,perPage:r,filters:u}){let p=(0,s.useRouter)(),{isDesktop:f}=(0,F.Z)(),g=(0,a.useRef)(null);(0,a.useEffect)(()=>{g.current?.inputRef&&(u?.text&&g.current?.inputRef?g.current.inputRef.value=u.text:g.current.inputRef.value="")},[u?.text]);let b=useDebounce(e=>{if(!e&&!p.query.text)return;let t=e.trim().toLowerCase()!==p.query.text?.toString().trim().toLowerCase();if(t){let t=new URLSearchParams(window.location.search);t.delete("text"),t.delete("page"),e&&t.set("text",e),window.location.href=`/pvt/account/orders?${t.toString()}`}},300,String(p.query.text)),y=getSelectedFacets({filters:u}),j=function({filters:e}){return[{__typename:"StoreFacetBoolean",key:"status",label:"Status",values:E.j4.map(e=>({label:e,quantity:0,selected:!1,value:e.toLowerCase()}))},{__typename:"StoreFacetRange",key:"dateRange",label:"Order Date",from:e.dateInitial,to:e.dateFinal}]}({filters:u}),m=useMyAccountFilter({allFacets:j,selectedFacets:y}),{openFilter:x,filter:v}=(0,n.l8)(),O=u.status.length>0||!!u.dateInitial||!!u.dateFinal||!!u.text,S=0===e.list.length;return(0,h.jsxs)("div",{className:L().page,children:[h.jsx(_.Z,{pageTitle:"Orders"}),(0,h.jsxs)("div",{"data-fs-list-orders-controls":!0,children:[(0,h.jsxs)("div",{"data-fs-list-orders-search-filters":!0,children:[h.jsx(l.Z,{ref:g,"data-fs-search-input-field-list-orders":!0,placeholder:"Search",onBlur:e=>{b(g.current.inputRef.value)},onKeyDown:e=>{"Enter"===e.key&&b(g.current.inputRef.value)},onSubmit:e=>{b(g.current.inputRef.value)}}),h.jsx(i.Z,{"data-fs-list-orders-search-filters-button":!0,size:"small",variant:"tertiary",icon:h.jsx(o.Z,{name:"FadersHorizontal",width:24,height:24,"aria-label":"Open Filters"}),iconPosition:"left",onClick:()=>{m.dispatch({type:"selectFacets",payload:getSelectedFacets({filters:u})}),x()},children:"Filters"})]}),f&&h.jsx(Pagination,{page:u.page,total:t,perPage:r})]}),h.jsx(MyAccountSelectedTags_MyAccountSelectedTags,{filters:{status:u.status,dateInitial:u.dateInitial,dateFinal:u.dateFinal},onClearAll:()=>{window.location.href="/pvt/account/orders"},onRemoveFilter:(e,t)=>{let r=MyAccountListOrders_objectSpread({},u),{page:a,clientEmail:s}=r,n=function(e,t){if(null==e)return{};var r,a,s=function(e,t){if(null==e)return{};var r,a,s={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}(r,I);"status"===e&&Array.isArray(n[e])?n[e]=n[e].filter(e=>e!==t):"dateInitial"===e||"dateFinal"===e?(delete n.dateInitial,delete n.dateFinal):"purchaseAgentId"===e?delete n.purchaseAgentId:delete n[e],"status"===e&&Array.isArray(n[e])?n[e]=n[e].filter(e=>e.toLowerCase()!==t.toLowerCase()):"dateInitial"===e||"dateFinal"===e?(delete n.dateInitial,delete n.dateFinal):"purchaseAgentId"===e?delete n.purchaseAgentId:delete n[e];let l=Object.fromEntries(Object.entries(n).filter(([,e])=>Array.isArray(e)?e.length>0:!!e)),i=new URLSearchParams(l);window.location.href=`/pvt/account/orders?${i.toString()}`}}),v&&h.jsx(MyAccountFilterSlider_MyAccountFilterSlider,MyAccountListOrders_objectSpread(MyAccountListOrders_objectSpread({},m),{},{title:"Filters",clearButtonLabel:"Clear All",applyButtonLabel:"View Results",searchInputRef:g,testId:"my-account-filter-slider"})),S?h.jsx(c.Z,{titleIcon:h.jsx(o.Z,{name:O?"MagnifyingGlass":"Bag2",width:56,height:56,weight:"thin"}),title:O?"No results found":"You don't have any orders",bkgColor:"light",children:!O&&h.jsx(d.Z,{"data-fs-list-orders-empty-state-link":!0,href:"/",variant:"secondary",children:"Start shopping"})}):h.jsx(MyAccountListOrdersTable,{listOrders:e,total:t,perPage:r,filters:u}),!f&&h.jsx(Pagination,{page:u.page,total:t,perPage:r})]})}},98643:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=r(20997);let __WEBPACK_DEFAULT_EXPORT__=function(){return a.jsx(a.Fragment,{})}},68651:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=r(20997);let __WEBPACK_DEFAULT_EXPORT__=function(){return a.jsx(a.Fragment,{})}},7826:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{default:()=>ListOrdersPage,getServerSideProps:()=>getServerSideProps});var s=r(25487),n=r(16641),l=r(16886),i=r(93839),o=r(7027),c=r(76924),d=r(55551),u=r(98643),p=r(68651),f=r(99563),g=r(10278),b=r(67275),y=r(15759),h=r(43412),j=r.n(h),m=r(87371),x=r(99990),v=r(7947),O=r(56272),S=r(4018),w=r(20997),_=e([o,i,v,f]);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}[o,i,v,f]=_.then?(await _)():_;let P=_objectSpread(_objectSpread({},o.Z),c.Z);function ListOrdersPage({globalSections:e,accountName:t,listOrders:r,total:a,perPage:s,filters:o,isRepresentative:c}){let{sections:d,settings:f}=e??{};return w.jsx(O.ZP,{context:{globalSettings:f},children:(0,w.jsxs)(i.ZP,{globalSections:d,components:P,children:[w.jsx(n.NextSeo,{noindex:!0,nofollow:!0}),(0,w.jsxs)(l.Z,{isRepresentative:c,accountName:t,children:[w.jsx(p.Z,{}),w.jsx(m.Z,{listOrders:r,filters:o,perPage:s,total:a}),w.jsx(u.Z,{})]})]})})}let A=s.vX,getServerSideProps=async e=>{let t=await (0,v.h)(e);if(!t)return{redirect:{destination:"/login",permanent:!1}};let r=(0,x.C)({headers:e.req.headers,account:j().api.storeId}),{previewData:a}=e,{isFaststoreMyAccountEnabled:s,redirect:n}=(0,b.j)({query:e.query});if(!s)return{redirect:n};let[l,i,o]=(0,d.Tc)(a),c=Number(e.query.page)||1,u=(Array.isArray(e.query.status)?e.query.status:[e.query.status]).filter(Boolean)||[],p=e.query.dateInitial||"",h=e.query.dateFinal||"",m=e.query.text||"",O=e.query.clientEmail||"",w=e.query.purchaseAgentId||"",_=(0,y.JU)(),P=u.reduce((e,t)=>{let r=Object.entries(_).find(([e])=>e.toLowerCase()===t.toLowerCase());if(r){let[,t]=r;return[...e,...t]}return e},[]).filter(Boolean)||[],[F,E,C,D]=await Promise.all([(0,f.h)({variables:{page:c,perPage:25,status:P,dateInitial:p,dateFinal:h,text:m,clientEmail:O},operation:A},{headers:_objectSpread({},e.req.headers)}),l,i,o]);if(F.errors){console.error(...F.errors);let e=(0,S.E2)(F.errors[0]);return{redirect:{destination:403===e||401===e?"/pvt/account/403":"/pvt/account/404",permanent:!1}}}let M=(0,g.z)({globalSections:E,globalSectionsHeader:C,globalSectionsFooter:D});return{props:{globalSections:M,accountName:F.data.accountProfile.name,listOrders:F.data.listUserOrders,total:F.data.listUserOrders.paging.total,perPage:F.data.listUserOrders.paging.perPage,filters:{page:F.data.listUserOrders.paging.currentPage??c,status:u,dateInitial:p,dateFinal:h,text:m,clientEmail:O,purchaseAgentId:w},isRepresentative:r}}};a()}catch(e){a(e)}})},66536:e=>{e.exports={section:"section_section__YPC0_",load:"section_load__1kqk7"}},64774:e=>{e.exports={page:"styles_page__flnO9"}},16907:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{config:()=>b,default:()=>u,getServerSideProps:()=>g,getStaticPaths:()=>f,getStaticProps:()=>p,reportWebVitals:()=>y,routeModule:()=>O,unstable_getServerProps:()=>x,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>m,unstable_getStaticPaths:()=>j,unstable_getStaticProps:()=>h});var s=r(21314),n=r(36267),l=r(18400),i=r(42445),o=r(19630),c=r(7826),d=e([c,o]);[c,o]=d.then?(await d)():d;let u=(0,l.l)(c,"default"),p=(0,l.l)(c,"getStaticProps"),f=(0,l.l)(c,"getStaticPaths"),g=(0,l.l)(c,"getServerSideProps"),b=(0,l.l)(c,"config"),y=(0,l.l)(c,"reportWebVitals"),h=(0,l.l)(c,"unstable_getStaticProps"),j=(0,l.l)(c,"unstable_getStaticPaths"),m=(0,l.l)(c,"unstable_getStaticParams"),x=(0,l.l)(c,"unstable_getServerProps"),v=(0,l.l)(c,"unstable_getServerSideProps"),O=new s.PagesRouteModule({definition:{kind:n.x.PAGES,page:"/pvt/account/orders",pathname:"/pvt/account/orders",bundlePath:"",filename:""},components:{App:o.default,Document:i.default},userland:c});a()}catch(e){a(e)}})},82740:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(16689),s=r.n(a);let n=(0,a.forwardRef)(function({testId:e="fs-checkbox",partial:t,...r},a){return s().createElement("input",{ref:a,"data-fs-checkbox":!0,"data-testid":e,"data-fs-checkbox-partial":t,type:"checkbox",...r})}),l=n},16676:e=>{"use strict";e.exports=require("@vtex/client-cms")},44339:e=>{"use strict";e.exports=require("@vtex/client-cp")},84802:e=>{"use strict";e.exports=require("cookie")},56330:e=>{"use strict";e.exports=require("deepmerge")},12404:e=>{"use strict";e.exports=require("fast-deep-equal")},57343:e=>{"use strict";e.exports=require("graphql")},36548:e=>{"use strict";e.exports=require("graphql/language")},47881:e=>{"use strict";e.exports=require("isomorphic-unfetch")},16641:e=>{"use strict";e.exports=require("next-seo")},62785:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},40968:e=>{"use strict";e.exports=require("next/head")},89261:e=>{"use strict";e.exports=require("postcss")},16689:e=>{"use strict";e.exports=require("react")},66405:e=>{"use strict";e.exports=require("react-dom")},19785:e=>{"use strict";e.exports=require("react-intersection-observer")},20997:e=>{"use strict";e.exports=require("react/jsx-runtime")},14037:e=>{"use strict";e.exports=import("@builder.io/partytown/react")},99664:e=>{"use strict";e.exports=import("@envelop/core")},37886:e=>{"use strict";e.exports=import("@envelop/graphql-jit")},84656:e=>{"use strict";e.exports=import("@envelop/parser-cache")},36093:e=>{"use strict";e.exports=import("@envelop/validation-cache")},45774:e=>{"use strict";e.exports=import("@graphql-tools/load-files")},36550:e=>{"use strict";e.exports=import("@graphql-tools/schema")},38722:e=>{"use strict";e.exports=import("@graphql-tools/utils")},15941:e=>{"use strict";e.exports=import("swr")},6113:e=>{"use strict";e.exports=require("crypto")},57147:e=>{"use strict";e.exports=require("fs")},71017:e=>{"use strict";e.exports=require("path")},12781:e=>{"use strict";e.exports=require("stream")},59796:e=>{"use strict";e.exports=require("zlib")}};var t=require("../../../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[7799,772,6804,9985,1554,5683,4913,4168,9630,2445,948,9563,7275,7228,7947,3922,6886,3006,8569,9990,2570],()=>__webpack_exec__(16907));module.exports=r})();
@@ -1 +1 @@
1
- {"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/api/graphql":"pages/api/graphql.js","/api/health/live":"pages/api/health/live.js","/api/health/ready":"pages/api/health/ready.js","/api/preview":"pages/api/preview.js","/404":"pages/404.js","/500":"pages/500.js","/[...slug]":"pages/[...slug].js","/checkout":"pages/checkout.js","/":"pages/index.js","/login":"pages/login.js","/pvt/account/403":"pages/pvt/account/403.js","/pvt/account/[...unknown]":"pages/pvt/account/[...unknown].js","/pvt/account/404":"pages/pvt/account/404.js","/pvt/account":"pages/pvt/account.js","/pvt/account/profile":"pages/pvt/account/profile.js","/pvt/account/orders/[id]":"pages/pvt/account/orders/[id].js","/pvt/account/orders":"pages/pvt/account/orders.js","/pvt/account/security":"pages/pvt/account/security.js","/pvt/account/user-details":"pages/pvt/account/user-details.js","/[slug]/p":"pages/[slug]/p.js","/s":"pages/s.js"}
1
+ {"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/api/graphql":"pages/api/graphql.js","/api/health/live":"pages/api/health/live.js","/api/health/ready":"pages/api/health/ready.js","/api/preview":"pages/api/preview.js","/404":"pages/404.js","/500":"pages/500.js","/[...slug]":"pages/[...slug].js","/[slug]/p":"pages/[slug]/p.js","/login":"pages/login.js","/":"pages/index.js","/pvt/account/403":"pages/pvt/account/403.js","/pvt/account/404":"pages/pvt/account/404.js","/pvt/account/[...unknown]":"pages/pvt/account/[...unknown].js","/pvt/account":"pages/pvt/account.js","/checkout":"pages/checkout.js","/pvt/account/orders/[id]":"pages/pvt/account/orders/[id].js","/pvt/account/profile":"pages/pvt/account/profile.js","/pvt/account/security":"pages/pvt/account/security.js","/s":"pages/s.js","/pvt/account/user-details":"pages/pvt/account/user-details.js","/pvt/account/orders":"pages/pvt/account/orders.js"}
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2927,5890,8587],{26410:function(e,t,n){n.d(t,{YD:function(){return useInView},df:function(){return l}});var r=n(44194);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,o=new WeakMap,s=0,a=void 0;function observe(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=a),void 0===window.IntersectionObserver&&void 0!==r){var u=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:u,intersectionRect:u,rootBounds:u}),function(){}}var l=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var n;return t+"_"+("root"===t?(n=e.root)?(o.has(n)||(s+=1,o.set(n,s.toString())),o.get(n)):"0":e[t])}).toString(),n=i.get(t);if(!n){var r,a=new Map,u=new IntersectionObserver(function(t){t.forEach(function(t){var n,i=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=a.get(t.target))||n.forEach(function(e){e(i,t)})})},e);r=u.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:u,elements:a},i.set(t,n)}return n}(n),c=l.id,d=l.observer,f=l.elements,p=f.get(e)||[];return f.has(e)||f.set(e,p),p.push(t),d.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(f.delete(e),d.unobserve(e)),0===f.size&&(d.disconnect(),i.delete(c))}}var u=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var l=function(e){function InView(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),isPlainChildren(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,s=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o},s)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var i=this.props,o=i.children,s=i.as,a=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(i,u);return r.createElement(s||"div",_extends({ref:this.handleNode},a),o)},InView}(r.Component);function useInView(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,o=t.trackVisibility,s=t.rootMargin,a=t.root,u=t.triggerOnce,l=t.skip,c=t.initialInView,d=t.fallbackInView,f=r.useRef(),p=r.useState({inView:!!c}),h=p[0],v=p[1],b=r.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!l&&e&&(f.current=observe(e,function(e,t){v({inView:e,entry:t}),t.isIntersecting&&u&&f.current&&(f.current(),f.current=void 0)},{root:a,rootMargin:s,threshold:n,trackVisibility:o,delay:i},d))},[Array.isArray(n)?n.toString():n,a,s,u,l,o,d,i]);(0,r.useEffect)(function(){f.current||!h.entry||u||l||v({inView:!!c})});var y=[b,h.inView,h.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}l.displayName="InView",l.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},36735:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-radio",...t},n){return r.createElement("input",{ref:n,"data-fs-radio":!0,type:"radio","data-testid":e,...t})});t.Z=i},33855:function(e,t,n){var r=n(44194),i=n(22934);t.Z=({name:e,onChange:t,children:n,selectedValue:o})=>{let s=r.useMemo(()=>({name:e,selectedValue:o,onChange:t}),[e,o,t]);return r.createElement(i.L.Provider,{value:s},n)}},18899:function(e,t,n){var r=n(44194),i=n(36735),o=n(22934);let s=(0,r.forwardRef)(function({label:e,value:t,children:n,testId:s="fs-radio-group-option",...a},u){let{name:l,selectedValue:c,onChange:d}=(0,o.a)();return r.createElement("label",{"aria-label":e,"data-fs-radio-group-option":!0},r.createElement(i.Z,{"data-fs-radio-option-item":!0,ref:u,name:l,checked:t===c,onChange:d,value:t,testId:s,...a}),n)});t.Z=s},22934:function(e,t,n){n.d(t,{L:function(){return i},a:function(){return useRadioGroup}});var r=n(44194);let i=(0,r.createContext)(void 0);function useRadioGroup(){let e=(0,r.useContext)(i);if(!e)throw Error("useRadioOption hook cannot be used outside the RadioGroup context");return e}},6133:function(e,t,n){var r=n(44194);t.Z=function({testId:e="fs-empty-state",title:t,titleIcon:n,variant:i="default",bkgColor:o="default",children:s,...a}){return r.createElement("section",{"data-fs-empty-state":!0,"data-fs-empty-state-variant":i,"data-fs-empty-state-bkg-color":o,"data-fs-content":"empty-state","data-testid":e,...a},t&&r.createElement("header",{"data-fs-empty-state-title":!0},n&&r.createElement(r.Fragment,null,n),r.createElement("p",null,t)),s)}},16737:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-product-shelf",children:t,...n},i){return r.createElement("div",{ref:i,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...n},t)});t.Z=i},57828:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-product-shelf-item",children:t,...n},i){return r.createElement("li",{role:"listitem",ref:i,"data-fs-product-shelf-item":!0,"data-testid":e,...n},t)});t.Z=i},31584:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-product-shelf-items",children:t,...n},i){return r.createElement("ul",{role:"list",ref:i,"data-fs-product-shelf-items":!0,"data-fs-content":"product-shelf","data-testid":e,...n},t)});t.Z=i}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2927,8587,5890],{26410:function(e,t,n){n.d(t,{YD:function(){return useInView},df:function(){return l}});var r=n(44194);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,o=new WeakMap,s=0,a=void 0;function observe(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=a),void 0===window.IntersectionObserver&&void 0!==r){var u=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:u,intersectionRect:u,rootBounds:u}),function(){}}var l=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var n;return t+"_"+("root"===t?(n=e.root)?(o.has(n)||(s+=1,o.set(n,s.toString())),o.get(n)):"0":e[t])}).toString(),n=i.get(t);if(!n){var r,a=new Map,u=new IntersectionObserver(function(t){t.forEach(function(t){var n,i=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=a.get(t.target))||n.forEach(function(e){e(i,t)})})},e);r=u.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:u,elements:a},i.set(t,n)}return n}(n),c=l.id,d=l.observer,f=l.elements,p=f.get(e)||[];return f.has(e)||f.set(e,p),p.push(t),d.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(f.delete(e),d.unobserve(e)),0===f.size&&(d.disconnect(),i.delete(c))}}var u=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var l=function(e){function InView(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),isPlainChildren(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,s=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o},s)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var i=this.props,o=i.children,s=i.as,a=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(i,u);return r.createElement(s||"div",_extends({ref:this.handleNode},a),o)},InView}(r.Component);function useInView(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,o=t.trackVisibility,s=t.rootMargin,a=t.root,u=t.triggerOnce,l=t.skip,c=t.initialInView,d=t.fallbackInView,f=r.useRef(),p=r.useState({inView:!!c}),h=p[0],v=p[1],b=r.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!l&&e&&(f.current=observe(e,function(e,t){v({inView:e,entry:t}),t.isIntersecting&&u&&f.current&&(f.current(),f.current=void 0)},{root:a,rootMargin:s,threshold:n,trackVisibility:o,delay:i},d))},[Array.isArray(n)?n.toString():n,a,s,u,l,o,d,i]);(0,r.useEffect)(function(){f.current||!h.entry||u||l||v({inView:!!c})});var y=[b,h.inView,h.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}l.displayName="InView",l.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},36735:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-radio",...t},n){return r.createElement("input",{ref:n,"data-fs-radio":!0,type:"radio","data-testid":e,...t})});t.Z=i},33855:function(e,t,n){var r=n(44194),i=n(22934);t.Z=({name:e,onChange:t,children:n,selectedValue:o})=>{let s=r.useMemo(()=>({name:e,selectedValue:o,onChange:t}),[e,o,t]);return r.createElement(i.L.Provider,{value:s},n)}},18899:function(e,t,n){var r=n(44194),i=n(36735),o=n(22934);let s=(0,r.forwardRef)(function({label:e,value:t,children:n,testId:s="fs-radio-group-option",...a},u){let{name:l,selectedValue:c,onChange:d}=(0,o.a)();return r.createElement("label",{"aria-label":e,"data-fs-radio-group-option":!0},r.createElement(i.Z,{"data-fs-radio-option-item":!0,ref:u,name:l,checked:t===c,onChange:d,value:t,testId:s,...a}),n)});t.Z=s},22934:function(e,t,n){n.d(t,{L:function(){return i},a:function(){return useRadioGroup}});var r=n(44194);let i=(0,r.createContext)(void 0);function useRadioGroup(){let e=(0,r.useContext)(i);if(!e)throw Error("useRadioOption hook cannot be used outside the RadioGroup context");return e}},6133:function(e,t,n){var r=n(44194);t.Z=function({testId:e="fs-empty-state",title:t,titleIcon:n,variant:i="default",bkgColor:o="default",children:s,...a}){return r.createElement("section",{"data-fs-empty-state":!0,"data-fs-empty-state-variant":i,"data-fs-empty-state-bkg-color":o,"data-fs-content":"empty-state","data-testid":e,...a},t&&r.createElement("header",{"data-fs-empty-state-title":!0},n&&r.createElement(r.Fragment,null,n),r.createElement("p",null,t)),s)}},16737:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-product-shelf",children:t,...n},i){return r.createElement("div",{ref:i,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...n},t)});t.Z=i},57828:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-product-shelf-item",children:t,...n},i){return r.createElement("li",{role:"listitem",ref:i,"data-fs-product-shelf-item":!0,"data-testid":e,...n},t)});t.Z=i},31584:function(e,t,n){var r=n(44194);let i=(0,r.forwardRef)(function({testId:e="fs-product-shelf-items",children:t,...n},i){return r.createElement("ul",{role:"list",ref:i,"data-fs-product-shelf-items":!0,"data-fs-content":"product-shelf","data-testid":e,...n},t)});t.Z=i}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5906,5890,8587,2561,2927],{26410:function(e,t,r){r.d(t,{YD:function(){return useInView},df:function(){return d}});var n=r(44194);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,o=new WeakMap,a=0,s=void 0;function observe(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=s),void 0===window.IntersectionObserver&&void 0!==n){var u=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:u,intersectionRect:u,rootBounds:u}),function(){}}var d=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(o.has(r)||(a+=1,o.set(r,a.toString())),o.get(r)):"0":e[t])}).toString(),r=i.get(t);if(!r){var n,s=new Map,u=new IntersectionObserver(function(t){t.forEach(function(t){var r,i=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(r=s.get(t.target))||r.forEach(function(e){e(i,t)})})},e);n=u.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:u,elements:s},i.set(t,r)}return r}(r),l=d.id,c=d.observer,f=d.elements,h=f.get(e)||[];return f.has(e)||f.set(e,h),h.push(t),c.observe(e),function(){h.splice(h.indexOf(t),1),0===h.length&&(f.delete(e),c.unobserve(e)),0===f.size&&(c.disconnect(),i.delete(l))}}var u=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var d=function(e){function InView(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){!r.node||(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),isPlainChildren(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,i=e.trackVisibility,o=e.delay,a=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:i,delay:o},a)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var i=this.props,o=i.children,a=i.as,s=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(i,u);return n.createElement(a||"div",_extends({ref:this.handleNode},s),o)},InView}(n.Component);function useInView(e){var t=void 0===e?{}:e,r=t.threshold,i=t.delay,o=t.trackVisibility,a=t.rootMargin,s=t.root,u=t.triggerOnce,d=t.skip,l=t.initialInView,c=t.fallbackInView,f=n.useRef(),h=n.useState({inView:!!l}),p=h[0],v=h[1],b=n.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!d&&e&&(f.current=observe(e,function(e,t){v({inView:e,entry:t}),t.isIntersecting&&u&&f.current&&(f.current(),f.current=void 0)},{root:s,rootMargin:a,threshold:r,trackVisibility:o,delay:i},c))},[Array.isArray(r)?r.toString():r,s,a,u,d,o,c,i]);(0,n.useEffect)(function(){f.current||!p.entry||u||d||v({inView:!!l})});var m=[b,p.inView,p.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}d.displayName="InView",d.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},36735:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-radio",...t},r){return n.createElement("input",{ref:r,"data-fs-radio":!0,type:"radio","data-testid":e,...t})});t.Z=i},10792:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-skeleton",loading:t=!0,shimmer:r=!0,children:i,size:o,border:a,borderRadius:s,...u},d){let l={width:o.width,height:o.height};return t?n.createElement("div",{ref:d,"data-fs-skeleton":!0,"data-testid":e,"data-fs-skeleton-border":a||null,style:s?{...l,borderRadius:s}:l,...u},r&&n.createElement("div",{"data-fs-skeleton-shimmer":!0})):n.createElement(n.Fragment,null,i)});t.Z=i},13922:function(e,t,r){var n=r(44194);t.Z=function({icon:e,inverse:t,children:r,disabled:i,iconPosition:o,size:a="regular",variant:s="primary",testId:u="fs-link-button",...d}){let l=(0,n.useRef)(null);return n.createElement("a",{ref:l,"data-fs-button":!0,"data-fs-link-button":!0,"data-fs-button-size":a,"data-fs-button-variant":s,"data-fs-button-inverse":t,"data-fs-button-disabled":i,onFocus:function(e){e.preventDefault(),i&&l.current?.blur()},"data-testid":u,...d},n.createElement("div",{"data-fs-button-wrapper":!0},!!e&&"left"===o&&n.createElement("span",{"data-fs-button-icon":!0},e),r&&n.createElement("span",null,r),!!e&&"right"===o&&n.createElement("span",{"data-fs-button-icon":!0},e)))}},33855:function(e,t,r){var n=r(44194),i=r(22934);t.Z=({name:e,onChange:t,children:r,selectedValue:o})=>{let a=n.useMemo(()=>({name:e,selectedValue:o,onChange:t}),[e,o,t]);return n.createElement(i.L.Provider,{value:a},r)}},18899:function(e,t,r){var n=r(44194),i=r(36735),o=r(22934);let a=(0,n.forwardRef)(function({label:e,value:t,children:r,testId:a="fs-radio-group-option",...s},u){let{name:d,selectedValue:l,onChange:c}=(0,o.a)();return n.createElement("label",{"aria-label":e,"data-fs-radio-group-option":!0},n.createElement(i.Z,{"data-fs-radio-option-item":!0,ref:u,name:d,checked:t===l,onChange:c,value:t,testId:a,...s}),r)});t.Z=a},22934:function(e,t,r){r.d(t,{L:function(){return i},a:function(){return useRadioGroup}});var n=r(44194);let i=(0,n.createContext)(void 0);function useRadioGroup(){let e=(0,n.useContext)(i);if(!e)throw Error("useRadioOption hook cannot be used outside the RadioGroup context");return e}},6133:function(e,t,r){var n=r(44194);t.Z=function({testId:e="fs-empty-state",title:t,titleIcon:r,variant:i="default",bkgColor:o="default",children:a,...s}){return n.createElement("section",{"data-fs-empty-state":!0,"data-fs-empty-state-variant":i,"data-fs-empty-state-bkg-color":o,"data-fs-content":"empty-state","data-testid":e,...s},t&&n.createElement("header",{"data-fs-empty-state-title":!0},r&&n.createElement(n.Fragment,null,r),n.createElement("p",null,t)),a)}},48957:function(e,t,r){r.d(t,{u:function(){return useHero}});var n=r(44194);let i=(0,n.createContext)(void 0),o=(0,n.forwardRef)(function({children:e,testId:t="fs-hero",variant:r="primary",colorVariant:o="main",...a},s){return n.createElement(i.Provider,{value:{variant:r,colorVariant:o}},n.createElement("article",{ref:s,"data-fs-hero":!0,"data-fs-hero-variant":r,"data-fs-hero-color-variant":o,"data-testid":t,...a},e))});function useHero(){let e=(0,n.useContext)(i);if(void 0===e)throw Error("Do not use Hero components outside the Hero context.");return e}t.Z=o},27154:function(e,t,r){var n=r(44194),i=r(13922),o=r(2614),a=r(48957);let s=(0,n.forwardRef)(function({icon:e,link:t,title:r,linkText:s,linkTargetBlank:u,subtitle:d,children:l,testId:c="fs-hero-heading",...f},h){let{variant:p,colorVariant:v}=(0,a.u)();return n.createElement("header",{ref:h,"data-fs-hero-heading":!0,"data-testid":c,...f},n.createElement("div",{"data-fs-hero-wrapper":!0,"data-fs-content":"hero"},n.createElement("div",{"data-fs-hero-info":!0},n.createElement("h1",{"data-fs-hero-title":!0},r),n.createElement("p",{"data-fs-hero-subtitle":!0},d),!!t&&n.createElement(i.Z,{href:t,inverse:"main"===v,icon:n.createElement(o.Z,{name:"ArrowRight"}),iconPosition:"right",target:u?"_blank":void 0},s)),!!e&&"secondary"===p&&n.createElement("span",{"data-fs-hero-icon":!0},e)))});t.Z=s},74147:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({children:e,testId:t="fs-hero-image",...r},i){return n.createElement("div",{ref:i,"data-fs-hero-image":!0,"data-testid":t,...r},e)});t.Z=i},16737:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-product-shelf",children:t,...r},i){return n.createElement("div",{ref:i,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=i},57828:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-product-shelf-item",children:t,...r},i){return n.createElement("li",{role:"listitem",ref:i,"data-fs-product-shelf-item":!0,"data-testid":e,...r},t)});t.Z=i},31584:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-product-shelf-items",children:t,...r},i){return n.createElement("ul",{role:"list",ref:i,"data-fs-product-shelf-items":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=i}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5906,8587,5890,2561,2927],{26410:function(e,t,r){r.d(t,{YD:function(){return useInView},df:function(){return d}});var n=r(44194);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,o=new WeakMap,a=0,s=void 0;function observe(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=s),void 0===window.IntersectionObserver&&void 0!==n){var u=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:u,intersectionRect:u,rootBounds:u}),function(){}}var d=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(o.has(r)||(a+=1,o.set(r,a.toString())),o.get(r)):"0":e[t])}).toString(),r=i.get(t);if(!r){var n,s=new Map,u=new IntersectionObserver(function(t){t.forEach(function(t){var r,i=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(r=s.get(t.target))||r.forEach(function(e){e(i,t)})})},e);n=u.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:u,elements:s},i.set(t,r)}return r}(r),l=d.id,c=d.observer,f=d.elements,h=f.get(e)||[];return f.has(e)||f.set(e,h),h.push(t),c.observe(e),function(){h.splice(h.indexOf(t),1),0===h.length&&(f.delete(e),c.unobserve(e)),0===f.size&&(c.disconnect(),i.delete(l))}}var u=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var d=function(e){function InView(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){!r.node||(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),isPlainChildren(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,i=e.trackVisibility,o=e.delay,a=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:i,delay:o},a)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var i=this.props,o=i.children,a=i.as,s=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(i,u);return n.createElement(a||"div",_extends({ref:this.handleNode},s),o)},InView}(n.Component);function useInView(e){var t=void 0===e?{}:e,r=t.threshold,i=t.delay,o=t.trackVisibility,a=t.rootMargin,s=t.root,u=t.triggerOnce,d=t.skip,l=t.initialInView,c=t.fallbackInView,f=n.useRef(),h=n.useState({inView:!!l}),p=h[0],v=h[1],b=n.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!d&&e&&(f.current=observe(e,function(e,t){v({inView:e,entry:t}),t.isIntersecting&&u&&f.current&&(f.current(),f.current=void 0)},{root:s,rootMargin:a,threshold:r,trackVisibility:o,delay:i},c))},[Array.isArray(r)?r.toString():r,s,a,u,d,o,c,i]);(0,n.useEffect)(function(){f.current||!p.entry||u||d||v({inView:!!l})});var m=[b,p.inView,p.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}d.displayName="InView",d.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},36735:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-radio",...t},r){return n.createElement("input",{ref:r,"data-fs-radio":!0,type:"radio","data-testid":e,...t})});t.Z=i},10792:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-skeleton",loading:t=!0,shimmer:r=!0,children:i,size:o,border:a,borderRadius:s,...u},d){let l={width:o.width,height:o.height};return t?n.createElement("div",{ref:d,"data-fs-skeleton":!0,"data-testid":e,"data-fs-skeleton-border":a||null,style:s?{...l,borderRadius:s}:l,...u},r&&n.createElement("div",{"data-fs-skeleton-shimmer":!0})):n.createElement(n.Fragment,null,i)});t.Z=i},13922:function(e,t,r){var n=r(44194);t.Z=function({icon:e,inverse:t,children:r,disabled:i,iconPosition:o,size:a="regular",variant:s="primary",testId:u="fs-link-button",...d}){let l=(0,n.useRef)(null);return n.createElement("a",{ref:l,"data-fs-button":!0,"data-fs-link-button":!0,"data-fs-button-size":a,"data-fs-button-variant":s,"data-fs-button-inverse":t,"data-fs-button-disabled":i,onFocus:function(e){e.preventDefault(),i&&l.current?.blur()},"data-testid":u,...d},n.createElement("div",{"data-fs-button-wrapper":!0},!!e&&"left"===o&&n.createElement("span",{"data-fs-button-icon":!0},e),r&&n.createElement("span",null,r),!!e&&"right"===o&&n.createElement("span",{"data-fs-button-icon":!0},e)))}},33855:function(e,t,r){var n=r(44194),i=r(22934);t.Z=({name:e,onChange:t,children:r,selectedValue:o})=>{let a=n.useMemo(()=>({name:e,selectedValue:o,onChange:t}),[e,o,t]);return n.createElement(i.L.Provider,{value:a},r)}},18899:function(e,t,r){var n=r(44194),i=r(36735),o=r(22934);let a=(0,n.forwardRef)(function({label:e,value:t,children:r,testId:a="fs-radio-group-option",...s},u){let{name:d,selectedValue:l,onChange:c}=(0,o.a)();return n.createElement("label",{"aria-label":e,"data-fs-radio-group-option":!0},n.createElement(i.Z,{"data-fs-radio-option-item":!0,ref:u,name:d,checked:t===l,onChange:c,value:t,testId:a,...s}),r)});t.Z=a},22934:function(e,t,r){r.d(t,{L:function(){return i},a:function(){return useRadioGroup}});var n=r(44194);let i=(0,n.createContext)(void 0);function useRadioGroup(){let e=(0,n.useContext)(i);if(!e)throw Error("useRadioOption hook cannot be used outside the RadioGroup context");return e}},6133:function(e,t,r){var n=r(44194);t.Z=function({testId:e="fs-empty-state",title:t,titleIcon:r,variant:i="default",bkgColor:o="default",children:a,...s}){return n.createElement("section",{"data-fs-empty-state":!0,"data-fs-empty-state-variant":i,"data-fs-empty-state-bkg-color":o,"data-fs-content":"empty-state","data-testid":e,...s},t&&n.createElement("header",{"data-fs-empty-state-title":!0},r&&n.createElement(n.Fragment,null,r),n.createElement("p",null,t)),a)}},48957:function(e,t,r){r.d(t,{u:function(){return useHero}});var n=r(44194);let i=(0,n.createContext)(void 0),o=(0,n.forwardRef)(function({children:e,testId:t="fs-hero",variant:r="primary",colorVariant:o="main",...a},s){return n.createElement(i.Provider,{value:{variant:r,colorVariant:o}},n.createElement("article",{ref:s,"data-fs-hero":!0,"data-fs-hero-variant":r,"data-fs-hero-color-variant":o,"data-testid":t,...a},e))});function useHero(){let e=(0,n.useContext)(i);if(void 0===e)throw Error("Do not use Hero components outside the Hero context.");return e}t.Z=o},27154:function(e,t,r){var n=r(44194),i=r(13922),o=r(2614),a=r(48957);let s=(0,n.forwardRef)(function({icon:e,link:t,title:r,linkText:s,linkTargetBlank:u,subtitle:d,children:l,testId:c="fs-hero-heading",...f},h){let{variant:p,colorVariant:v}=(0,a.u)();return n.createElement("header",{ref:h,"data-fs-hero-heading":!0,"data-testid":c,...f},n.createElement("div",{"data-fs-hero-wrapper":!0,"data-fs-content":"hero"},n.createElement("div",{"data-fs-hero-info":!0},n.createElement("h1",{"data-fs-hero-title":!0},r),n.createElement("p",{"data-fs-hero-subtitle":!0},d),!!t&&n.createElement(i.Z,{href:t,inverse:"main"===v,icon:n.createElement(o.Z,{name:"ArrowRight"}),iconPosition:"right",target:u?"_blank":void 0},s)),!!e&&"secondary"===p&&n.createElement("span",{"data-fs-hero-icon":!0},e)))});t.Z=s},74147:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({children:e,testId:t="fs-hero-image",...r},i){return n.createElement("div",{ref:i,"data-fs-hero-image":!0,"data-testid":t,...r},e)});t.Z=i},16737:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-product-shelf",children:t,...r},i){return n.createElement("div",{ref:i,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=i},57828:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-product-shelf-item",children:t,...r},i){return n.createElement("li",{role:"listitem",ref:i,"data-fs-product-shelf-item":!0,"data-testid":e,...r},t)});t.Z=i},31584:function(e,t,r){var n=r(44194);let i=(0,n.forwardRef)(function({testId:e="fs-product-shelf-items",children:t,...r},i){return n.createElement("ul",{role:"list",ref:i,"data-fs-product-shelf-items":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=i}}]);