1"use strict";(self.webpackChunkhero_storefront_app=self.webpackChunkhero_storefront_app||[]).push([[5058],{50351:function(e,t,n){var o=n(96540);t.A=()=>{const{0:e,1:t}=(0,o.useState)(!0);return(0,o.useEffect)(()=>t(!1),[]),e}},19778:function(e,t,n){n.r(t),n.d(t,{Head:function(){return v}});var o=n(96540),c=n(75939),u=n(56964),i=n(50351),r=n(58992),d=n(5356),a=n(56672),s=n(72745),l=n(39708),f=n(55933),h=n(36392);const v=({location:e})=>o.createElement(l.A,{pathname:e.pathname});t.default=({location:e})=>{const t=(0,r.NB)(),n=(0,i.A)(),{checkoutCreate:l}=(0,a.A)(),{checkoutUpdate:v}=(0,s.A)(),{navigateOnCheckoutLoad:p}=(0,d.Q)(e),{utility:{accessiblyHidden:k}}=(0,c.Ay)();return o.useEffect(()=>{if(t.id){if(n){var e,o;const{superfunnel:n,code:i}=(0,u.default)();var c;if("false"===n&&null!==(e=t.checkout_survey)&&void 0!==e&&e.length)return void l({...null!==(c=t.discount)&&void 0!==c&&c.code?{discount:{code:t.discount.code}}:{},...i?{discount:{code:i}}:{}}).then(e=>{p(e)});if("true"===n&&(null===(o=t.checkout_survey)||void 0===o||!o.length))return void v(t.id,{...i?{discount:{code:i}}:{},...d.CT}).then(e=>{p(e)});if(i)return void v(t.id,{discount:{code:i}}).then(e=>{p(e)})}p(t)}},[t.id]),o.createElement(h.A,{minimalFooter:!0,isCheckoutFlow:!0},o.createElement("h1",{style:k},"Add to cart"),o.createElement(f.A,null))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.