PageSourceSearch

https://happybrandco.com/cdn/shopifycloud/checkout-web/assets/c1/0e67bd3b.fkjEM38r.js

js happybrandco.com collected 2026-10-06 02:40:24 UTC 3,814 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["56bd1136.10Yo97wE.js","2c1ab0fe.RaLGJvq2.js","164ad2e3.bPUx3Fg0.js","f67abd2c.BTHhdhoM.js","app.CPIYcwpp.js","assets/app.BuSMBobh.css","assets/shipping.CwV2frA-.css","d0bb51ec.BIqtCEEY.js","60a453ce.BHWO3gHr.js","e12db40c.CeuzD2R-.js","9dba8418.DCzpk36x.js","assets/hydrate.D12j_P4G.css","ee2bb050.Cl9T4Znf.js","17e57de1.BQ0yd3rN.js","ca3e798e.BWruLT5k.js","cb8fcd45.BHUAQz11.js","8536083a.eNqBGQZI.js","1d34c07e.h4dJAaCz.js","assets/ExpressCheckoutButton.BnDF3H7t.css","assets/WalletSandbox.DOuxlppk.css","a25deb9a.S8CEIdzm.js","4aab4b34.LTg1AGR3.js","24773686.DFsBOEme.js","ac5a19ff.IFRwIDsW.js","4c290a1e.C-7CdNUA.js","assets/amazonWalletLazy.hSB1Y1Ss.css"])))=>i.map(i=>d[i]);
2import{o as e,g as a,T as t,I as n,q as o,h as s,u as r,k as i,i as l}from"./2c1ab0fe.RaLGJvq2.js";import{a as c,aD as u,aE as p,aF as d,L as m,aG as v,_ as h,W as y}from"./f67abd2c.BTHhdhoM.js";import{j as f,aL as b,aM as g,aN as k,L as _,S as P,a0 as M,i as S}from"./164ad2e3.bPUx3Fg0.js";import{_ as w}from"./app.CPIYcwpp.js";import{M as V}from"./74835653.2Ngy7fqB.js";function j({onValid:i,onInvalid:l,children:p}){const{checkout:{negotiator:d}}=c(),{billing:m,contact:v,payment:h,shipping:y}=d.context,f=e(new Map),b=a(new WeakMap),g=t(()=>n(()=>{const e=f.value;let a=!1,t=e.size>0;for(const[n,{validator:o,previousValue:s}]of e){const e=n.value;o(e)&&(t=!1),e!==s&&(a=!0)}return{valid:t,changed:a}}),[f]),k=o(e=>{const a={billing:m,contact:v,payment:h,shipping:y};e.valid?i?.(a):l?.(a);const t=new Map;for(const[n,o]of f.value)t.set(n,{...o,previousValue:n.value});f.value=t},[f,i,l,m,v,h,y]),_=a(!1);s(()=>g.subscribe(e=>{const a=!_.current;if(e.changed||a)return _.current=!0,k(e)}),[g,k]);const P=t(()=>({registerValidator:(e,a)=>{const t=new Map(f.peek()),n=b.current.get(e);return t.set(e,{validator:a,previousValue:n}),f.value=t,()=>{const a=f.peek().get(e);void 0!==a?.previousValue&&b.current.set(e,a.previousValue);const t=new Map(f.peek());t.delete(e),f.value=t}}}),[f]);return r(u.Provider,{value:P,children:p})}function B(){const{router:e,source:{type:a},mobileCheckoutSdk:t,embed:n,checkout:o,shop:s}=c(),{paymentMethods:r,buyerIdentity:l}=o.negotiator.current.fields,u=e.currentUrl,h=o.proposal.proposed.paymentLines,y=s.hasFlagEnabled(p),b=d(),g=f(),k="simulated"===a,_=t.variant.isStandard()||Boolean(n?.isCheckoutKit());return i(()=>{const e=r.value?.some(e=>"wallet"===e.type&&"SHOP_PAY"===e.name),a=l.value?.purchasingCompany,{currentDetour:t}=g.value,n=null!=t&&["stockProblems"].includes(t.type),o=m(u.value.searchParams),s=y&&Boolean(v(h.value));return Boolean(!k&&e&&!o&&!b.value&&!_&&!n&&!a&&!s)})}function A(e,{wallet:a}={}){const{sdkStatus:t,buttonStatus:n,buyWithPrimeButtonStatus:o}=h().inMemoryAmazonPayParts,r=a===y.BuyWithPrime?o:n;s(()=>{e&&(t.value={status:b.Error},r.value={status:"error"})},[e,t,r])}const C=l({displayName:"AmazonPayButtonContent",load:()=>w(()=>import("./56bd1136.10Yo97wE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25])).then(e=>e.AmazonPayButtonContent),useError:A});function E({isSdkOnly:e=!1}){return r(C,{isSdkOnly:e})}const I=["paymentMethods"];function L(){const{checkout:{negotiator:e}}=c(),a=e.current.fields.paymentMethods,t=g(I);return i(()=>t.value&&!a.value?.length)}function z({showIcon:e=!1}){const{i18n:a,source:t}=c(),n=k(),o="simulated"===t.type;return r(V,{interactive:!o,children:r(_,{href:n.value,display:"block",accessibilityLabel:a.translate("contact.change_company_location_link_label"),textDecoration:e?"none":void 0,children:r(P,{direction:"inline",alignItems:"center",gap:"small-100",children:[e&&r(M,{type:"location"}),r(S,{children:a.translate("contact.change_location_link_label")})]})})})}export{E as A,z as C,j as S,L as a,A as b,B as u};

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.