PageSourceSearch

https://www.mcalistersdeli.com/_next/static/chunks/342.2bc8e08178f03ac6.js

js mcalistersdeli.com collected 2026-10-01 13:06:10 UTC 2,010 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[342],{70342:function(e,t,s){s.r(t),s.d(t,{PaymentDeleteCardModel:function(){return x}});var a=s(27573),n=s(56839),r=s(56901),o=s(86686),d=s(40397),c=s(93636),l=s(15514),i=s(83125),m=s(40387),p=s(10607),u=s(51699),h=s(7653);let x=e=>{let{token:t,type:s,isSubscriptionCard:x=!1,getallcards:y,getGiftCards:C}=e,{t:b}=(0,u.$G)(),{showToast:M}=(0,m.useToast)(),g=(0,o.TL)(),{deleteGiftCard:v,deleteCreditCard:_}=(0,n.D)(),{cartData:j}=(0,o.CG)(e=>e.cart),{account_paymentmethods_RemoveFavoriteFadedIcon:G,signUp_warningIcon:I}=l.assets,[P,k]=(0,h.useState)(!1),w=async()=>{try{await v(t),M({type:"success",message:b("paymentMethod.deletemodalSucess.text")}),null==C||C(null==j?void 0:j.cartId),g((0,r.VG)())}catch(e){M({type:"error",message:b("paymentMethod.deletemodalError.text")}),g((0,r.VG)())}k(!1)},N=async()=>{try{await _(t)&&M({type:"success",message:b(x?"subscription.removeCard.success.text":"paymentMethod.deletemodalSucess.text")}),null==y||y(),g((0,r.VG)())}catch(e){M({type:"error",message:b("paymentMethod.deletemodalError.text")}),g((0,r.VG)())}k(!1)},S=()=>{k(!0),s===i.vlF?w():N()};return(0,a.jsxs)("div",{className:"modalInnerContainer removeCardPopup",children:[(0,a.jsx)(d.b,{IS_AA:i.bCn,IS_MCA:i.gsH,warningIconProps:I,WarningAAIconProps:I,WarningFadedIconProps:G}),(0,a.jsx)("h3",{className:"taxFeesModalHeading",children:x?b("subscription.removeCard.header.text"):b("paymentMethod.header.text")}),(0,a.jsx)("p",{className:(0,p.Z)("modalContent",{"text-left":x}),children:x?b("subscription.removeCard.dedc.text"):b("paymentMethod.headeralert.text")}),(0,a.jsxs)("div",{className:"modalBtns",children:[(0,a.jsx)(c.z,{title:b("paymentMethod.primarybtn.text"),customClass:"buttonPrimary",testid:"remove_btn",onClick:()=>S(),isLoading:P}),(0,a.jsx)(c.z,{title:x?b("teapass.renewPopup.noButton.text"):b("paymentMethod.secondarybtn.text"),customClass:"buttonSecondary",testid:"cancel_btn",onClick:()=>g((0,r.VG)())})]})]})}}}]);

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.