PageSourceSearch

https://www.gargi.shop/cdn/shopifycloud/checkout-web/assets/c1/73a9b0a0.B1bfYOVR.js

js gargi.shop collected 2026-10-06 11:13:25 UTC 12,930 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["05aacf00.DMjxWrqj.js","2c1ab0fe.Bywc2Brn.js","164ad2e3.CZ86Jn5i.js","9dba8418.ogFVeXB5.js","app.DWJ9FfA1.js","assets/app.BuSMBobh.css","assets/paypal-express-utilities.BhV0n1qN.css","d0bb51ec.DFDQ8Mc_.js","f67abd2c.LtwWKIr5.js","60a453ce.CcyvSWbx.js","e12db40c.B9ahJFAB.js","assets/hydrate.1qxw0_8N.css","cdfd59e6.C7QcriyT.js","22345fd4.gEtcWjYq.js","137622f3.DcBGQk4u.js","47b970b2.Dz-jBj6A.js","a9fa9fda.BVLUAUfd.js","ca3e798e.Dc9DtEXz.js","assets/PhoneField.uZEuHncj.css","81e109b1.DOkM2TK2.js","0e67bd3b.BMmt4RQK.js","74835653.CVh949GJ.js","3ca8ef7e.C60WvJE8.js","2495faa4.apuslPn9.js","064f6ac1.CarL-NVS.js","assets/Popover.Bi1nHaU-.css","efa0389a.DH9Ee_M-.js","assets/Choice.B7lVAtpz.css","4b1c22b7.Ds2WGmWm.js","assets/BillingAddressForm.BdwN7V1K.css","86720dbb.uEJkn5aN.js","d25d1b95.BebpfFB8.js","dfca5da5.BykJKV0N.js","dae24aab.DshQXsWO.js","assets/Section.CU18S7Ap.css","55098bf1.BfKJQGMW.js","f3fe2775.CHppPYrI.js","ac5a19ff.BZSGZdnW.js","598fef4e.DSAd8e9l.js","assets/PaymentIcon.gzvCNwz_.css","e77f7fe0.Bb-t4Dg5.js","assets/PaymentLine.DT05kVlY.css","a422df8c.B9kUsb7g.js","assets/EmptyState.BEvzDDvy.css","cc6ff67d.b-RPC7-m.js","08a3b809.amBLe9xd.js","bf513f9c.wW-N-9yS.js","e39bc11c.BD41VQ04.js","7a8217fd.D7XvILAP.js","8599b02a.BwMQ3GGP.js","assets/useShopPayProgressIntercepts.CIy8uDiZ.css","cf29e63b.B0ZvKJTY.js","assets/hasViolationsIgnoringCodes.BcTJoNaV.css","2bac2c53.BWpgDRdR.js","f692f62f.RtrT6cYJ.js","9babe369.D342A3FZ.js","b684bff6.rsXToKYt.js","assets/RedirectionNotice.DgiInWJ-.css","79974aab.DreO813u.js","58314944.jAbgQ7x6.js","assets/PaymentMethodProgressionHost.BIxPaYCu.css","e0989459.CHR4Ec0O.js","assets/RememberMe.Df3s08WT.css"])))=>i.map(i=>d[i]);
2import{k as e,g as a,q as t,h as n,u as r,z as i,w as l,o as s,T as o,m as c,_ as d,S as u,i as p,j as m}from"./2c1ab0fe.Bywc2Brn.js";import{c8 as h,s as b,b as _,d3 as y,br as v,d4 as f,d5 as g,bU as P,d6 as k,S as I,H as E,f as S,cv as C,i as O,d as B,j as w,cf as x,au as L,L as R,B as M,ab as z,cF as N}from"./164ad2e3.CZ86Jn5i.js";import{c as A,cw as j,cx as F,aJ as T,cy as D,bc as V,b5 as W,Z as q,cz as G,cA as K,bO as U,cB as $,U as H,b1 as Z,s as J,r as X,o as Y,Q,N as ee,cC as ae,af as te}from"./9dba8418.ogFVeXB5.js";import{v as ne}from"./81e109b1.DOkM2TK2.js";import{u as re}from"./0e67bd3b.BMmt4RQK.js";import{u as ie,a as le,b as se,g as oe,c as ce,d as de}from"./86720dbb.uEJkn5aN.js";import{a as ue}from"./bf513f9c.wW-N-9yS.js";import{u as pe}from"./e0989459.CHR4Ec0O.js";import{_ as me}from"./app.DWJ9FfA1.js";import{u as he,a as be}from"./cdfd59e6.C7QcriyT.js";const _e="shop_pay_approval_id";function ye(){const{shop:a,checkout:{negotiator:t}}=A(),{paymentMethods:n}=t.current.fields;return e(()=>a.hasFlagEnabled(j)&&F(n.value))}function ve(){const{observability:e,shop:i,checkout:{negotiator:l}}=A(),{checkoutProtocolModalEventSignal:s}=l.context,o=h(),{negotiate:c}=b(),d=a(null),u=a(""),p=a(""),m=i.hasFlagEnabled(T),y=t(()=>{const a=d.current?.value.trim()??"";if(!a||a===u.current)return;const t=function(e,a){return ne(e)?"7"!==e[14]?"uuid_v7_required":a?void 0:"payment_not_required":"malformed_uuid"}(a,o.value);if(t)return void(p.current!==a&&(p.current=a,e.counter({name:"shop_pay_approval_id_field_discarded",value:1,attributes:{reason:t}}),e.histogram({name:"shop_pay_approval_id_field_discarded_length",value:a.length,attributes:{reason:t}}),e.log("shop_pay_approval_id_field_discarded","Shop Pay approval id discarded before negotiation",{reason:t,valueLength:a.length})));u.current=a,e.counter({name:"shop_pay_approval_id_field_applied",value:1,attributes:{verificationOpen:"shopPayVerification"===s.peek()}});const n={method:{type:"shopWallet",shopPayApprovalId:a}};l.parts.paymentLines.value=D(l.parts.paymentLines.value,n),l.parts.generalPaymentError.value=void 0,l.parts.generalPaymentErrorCode.value=void 0,c({})},[s,c,e,l.parts,o]);return n(()=>{const e=setInterval(y,250);return()=>clearInterval(e)},[y]),r(_,{accessibilityVisibility:"exclusive",children:r("input",{ref:d,type:"text",tabIndex:-1,"aria-hidden":!0,id:_e,name:_e,autoComplete:"off",onInput:m?y:void 0})})}function fe({localizationExtension:e,index:a}){const t=V(),{negotiate:l}=b(),[s,o]=i(),[c,d]=i(),u=W(e.fields.value,t),p=e.fields.title.value,{localizedFieldErrors:m}=y().value,h=`$.cart.localizedField.${e.peek().key}`,_=`$.localizationExtension[${a}]`,g=m.find(({target:e})=>e===h),P=e=>{const a=e.violations?.find(e=>{const{code:a,localizedMessage:t,nonLocalizedMessage:n,target:r}=e;if("LOCALIZATION_EXTENSION_FIELD_ERROR"===a&&r===_)return t??n});if(!a)return;const{localizedMessage:t,nonLocalizedMessage:n}=a;return t??n};return n(()=>{t.value=g?g.message:c||void 0},[t,g,c,s]),v(e=>{d(P(e)),o("submit")}),r(f,{...u,label:p,name:p,onBlur:()=>{u.onBlur(),o(void 0),d(void 0),l({legacyFiltering:{include:[]},fieldsToResolve:["localizationExtensions"],silenceViolations:q(["localizationExtensions"]),onComplete:e=>{d(P(e)),o("blur")}})},value:u.value??void 0})}function ge(){const{checkout:a,i18n:t,shop:n}=A(),{paymentMethods:i}=a.negotiator.current.fields,s=g(),o=re(),c=e(()=>n.hasFlagEnabled(G)&&function({identity:e}){return["guest","customerAccount"].includes(e.current.value)}({identity:a.identity})&&o.value&&s.value&&K(i.value));return r(l,{when:c,children:r(_,{paddingBlockStart:"small-200",children:r(P,{tone:"info",children:t.translate("payment.shop_pay_hsa.login_message")})})})}function Pe({headingId:e,autoFocus:n}){const{i18n:i}=A(),l=k().value?`${i.translate("payment.billing_must_match_shipping_notice")} `:"",c=i.translate("payment.card_security_notice"),{title:d,creditCardInline:u}=function(){const{i18n:e,checkout:a}=A(),{identity:t}=a,{displayedPaymentMethods:n}=ie({experienceType:"list"}),r=le(n),i=function(e,a){return"shopPay"===e.current.value&&a}
2(t,a.installments.paymentMethodMustSupportDebitCardOnly.value),l=se(),s=ue(),c=!(null!==oe(t,s.value)||l.value.freeOrder||l.value.giftCard||l.value.storeCredit||l.value.redeemables)&&"singlePaymentMethodCreditCard"===r.mode;return o(()=>function(e,a,t,n){const r={title:a.translate("payment.title")};if(!t)return r;const[i]=e;return"direct"!==i?.type?r:{title:n?a.translate("payment.pay_with_debit_card"):a.translate("payment.pay_with_credit_card"),creditCardInline:{paymentBrands:i.paymentBrands,cardNetworkStateKey:U(i)}}}(n,e,c,i),[n,e,c,i])}(),{ref:p,isMultiline:m}=function(){const e=s(!1),n=a(null);return{ref:t(a=>{if(n.current?.disconnect(),n.current=null,!a)return;const t=()=>{const t=a.ownerDocument.createRange();t.selectNodeContents(a);const n=t.getClientRects;e.value="function"==typeof n&&Array.from(n.call(t)).filter(({width:e})=>e>0).length>1};if(t(),"undefined"==typeof ResizeObserver)return;const r=new ResizeObserver(t);r.observe(a),n.current=r},[e]),isMultiline:e}}();return r(I,{gap:u?"small-300":"small-400",children:[r(I,{direction:"inline",gap:"small-200",alignItems:"end",className:"zA7WO",children:[r("div",{className:"bIqDC",children:r(E,{id:e,level:1,autoFocus:n,children:r("span",{ref:p,className:"jGvwB",children:d})})}),u&&r(ke,{cardNetworkStateKey:u.cardNetworkStateKey,availableBrands:u.paymentBrands,headingIsMultiline:m.value})]}),r(S,{color:"subdued",children:l+c}),r(ge,{})]})}function ke({cardNetworkStateKey:e,availableBrands:a,headingIsMultiline:t=!1}){const{checkout:{cardNetworkSelection:n}}=A(),i=n.forMethod(e),l=a.filter($),s=i.networkSelectionEnabled.value&&i.selectableBrands.value.length>1,{ref:o,overflowIndicatorRef:d,maxVisibleBrands:u}=ce(l.length);return 0===l.length?null:r("div",{ref:o,className:c("haX3x",s&&"_5Jkpa",t&&"iq64C"),children:r(I,{direction:"inline",gap:"none",alignItems:"center",justifyContent:"end",className:"_1OE8N",children:r(de,{animate:!0,availableBrands:a,selectableBrands:i.selectableBrands.value,activeBrand:i.activeBrand.value,savedCardBrand:i.selectedSavedCreditCardBrand.value,onSelectBrand:i.setSelectedNetwork,networkSelectionEnabled:i.networkSelectionEnabled.value,binLength:i.bankIdNumberLength.value,viewTransitionKey:e,maxVisibleBrands:u.value,overflowIndicatorRef:d,announceNetworkSelector:!0,announceOverflowBrands:!0})})})}const Ie=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","GF","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","CH","GB"],Ee=e=>Ie.includes(e);function Se(){const e=Z.ShopPayRememberMeOptOut;return{storeOptOutPreference:t(a=>{a?J(e,a):X(e)},[e]),getOptOutPreference:t(()=>Y(e),[e])}}function Ce(){const{geolocation:e}=C(),{router:a,shop:t,checkout:{negotiator:n}}=A(),r=a.currentUrl.value,i=H(r.searchParams),l=n.parts.shopPayArtifact.value,{getOptOutPreference:o}=Se(),c=s(!0);if(d(()=>{c.value=Boolean(o())},[o,c]),!(t.shopPayRememberMeAutoOptinEnabled??!0))return{autoOptIn:!1,isOptedIn:!1};const u=!Ee(e.country.code)&&!i&&!c.value;return{autoOptIn:u,isOptedIn:u&&!1!==l?.optIn}}function Oe({busy:e,children:a,title:t,compact:n}){return n?r(O,{accessibilityLabel:t,children:r(I,{gap:"base",children:r("div",{"aria-busy":e||void 0,children:a})})}):r(u,{children:[r("div",{"aria-busy":e||void 0,"aria-label":t,role:"group",children:a}),r(B,{blockSize:"large-300"})]})}function Be({buyerPhone:e,isApplePayWalletSelected:a,requiresExplicitConsent:t,validatedProposedPhone:n}){return e?"standard":t?a?"gdprCheckboxOnly":n?"gdprCheckboxWithPhone":"standaloneGdprPhone":"noInputRow"}function we(e){const{shop:a,checkout:{negotiator:t}}=A(),n=!a.hasFlagEnabled(Q)&&Boolean(ee(t.parts.paymentLines.value,"APPLE_PAY")),r=function(){const{geolocation:e}=C();return Ee(e.country.code)}(),i=he(),l=be(e??i.value).value;return{kind:Be({buyerPhone:t.parts.phone.value,isApplePayWalletSelected:n,requiresExplicitConsent:r,validatedProposedPhone:l}),isApplePayWalletSelected:n,requiresExplicitConsent:r,validatedProposedPhone:l}}function xe({title:e,compact:a}){const{i18n:t,shop:{name:n},checkout:{negotiator:i}}=A(),{shopPayArtifact:l}=i.parts,{isOptedIn:s}=Ce(),o=Boolean(l.value?.optIn)||s,c=ae().value??!1,{kind:d}=we(),u={terms_href:t.translate("shop_pay_remember_me.terms"),privacy_href:t.translate("shop_pay_remember_me.privacy_policy")},p=c?t.translate("shop_pay_remember_me.consent_by_completing_order",u):t.translate("shop_pay_remember_me.consent_by_paying",u),m=t.translate("shop_pay_remember_me.value_prop_shop_name_verbose",{shop_name:n}),h=t.translate("shop_pay_remember_me.consent_with_phone",u),b=t.translate("shop_pay_remember_me.consent_with_email",u),y=t.translate("shop_pay_remember_me.consent_with_checkbox_only",u),v=t.translate("shop_pay_remember_me.label"),g=t.translate("shop_pay_remember_me.mobile_phone_optional"),P=t.translate("shop_pay_remember_me.email_label_optional");let k;return k="standaloneGdprPhone"===d?r(I,{gap:"base",children:[r(w,{children:v}),r(L,{contentDisplay:"block",inlineSize:"100%",children:r(f,{label:g})}),r(x,{content:h,size:"small"})]}
2):"gdprCheckboxWithPhone"===d?r(I,{gap:"base",children:[r(z,{gridTemplateColumns:"auto minmax(0, 1fr)",gap:"base",alignItems:"start",children:[r(L,{children:r(N,{accessibilityLabel:v})}),r(w,{children:v})]}),r(L,{contentDisplay:"block",inlineSize:"100%",children:r(f,{label:g})}),r(x,{content:y})]}):"gdprCheckboxOnly"===d?r(z,{gridTemplateColumns:"auto minmax(0, 1fr)",gap:"base",alignItems:"start",children:[r(L,{children:r(N,{accessibilityLabel:v})}),r(I,{children:[r(w,{children:v}),r(x,{content:y,size:"small"})]})]}):"standard"===d?r(I,{gap:"base",children:[r(w,{children:v}),r(L,{contentDisplay:"block",inlineSize:"100%",children:r(f,{label:P})}),r(x,{content:b,size:"small"})]}):r(z,{gridTemplateColumns:"minmax(0, 1fr) auto",gap:"base",alignItems:"center",children:[r(I,{children:[r(w,{children:v}),r(x,{content:o?p:m,size:"small"})]}),o?r(_,{paddingInlineStart:"small-500",children:r(L,{contentDisplay:"block",children:r(R,{textDecoration:"none",children:t.translate("shop_pay_remember_me.not_now")})})}):r(L,{contentDisplay:"block",children:r(M,{variant:"secondary",children:t.translate("shop_pay_remember_me.save")})})]}),r(Oe,{busy:!0,title:e,compact:a,children:k})}const Le=p({displayName:"RememberMe",renderLoading:e=>r(xe,{...e}),renderError:()=>null,load:()=>m(()=>me(()=>import("./05aacf00.DMjxWrqj.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,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]))).then(({RememberMeSurface:e})=>e)});function Re({compact:e}){const{i18n:a,checkout:{negotiator:t}}=A(),i=te(),l=pe(),s=a.translate("shop_pay_remember_me.title"),o=t.parts.shopPayRememberMeVisible.value?s:"";return n(()=>{l||(t.parts.shopPayRememberMeVisible.value=!1)},[l,t.parts.shopPayRememberMeVisible]),i.value&&l?r(u,{children:[r(_,{accessibilityRole:"status",accessibilityVisibility:"exclusive",children:o}),r(Le,{title:s,compact:e})]}):null}export{fe as L,Pe as P,Re as R,ve as S,Ce as a,Se as b,we as c,Oe as d,ye 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.