PageSourceSearch

https://www.healthmart.com/_next/static/chunks/5140.d2db80d045af82fa.js

js healthmart.com collected 2026-10-02 04:54:47 UTC 10,202 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3353,5059,5140],{17247:(t,e,l)=>{l.d(e,{VG:()=>n});let n=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t?t.startsWith("http")?t:"https://cms.healthmart.com/"+t:""}},38748:(t,e,l)=>{l.d(e,{Of:()=>a,dq:()=>r,fo:()=>n,ix:()=>i});let n=85,a=200,i=300,r=145},48387:(t,e,l)=>{l.d(e,{BQ:()=>d,Fq:()=>h,Y$:()=>p,YJ:()=>m,Zr:()=>s,i$:()=>f,sg:()=>g,t7:()=>c,yG:()=>u});var n=l(38748),a=l(54354),i=l(26467),r=l(56753),o=l(92564);let d=()=>{let t=new Date,e=a.Mq[t.getDay()],l=t.getHours(),n=t.getMinutes();return{date:t,currentWeekDay:e,currentHour:l,currentMinutes:n}},c=t=>{let e=(0,i.H)(t);return(0,r.f)(e)?(0,o.GP)(e,"MMMM dd, yyyy"):""},u=t=>""===t||null===t?"#":/^https?:\/\//i.test(t)?t:"http://".concat(t),s=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase(),g=(t,e)=>{let l;return function(){for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];clearTimeout(l),l=setTimeout(()=>t.apply(this,a),e)}},h=t=>{let e=parseInt(t,10);return!isNaN(e)&&e.toString()===t},m=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"instant",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=document.getElementById(t);a&&window.scrollTo({top:a.offsetTop-(l?n.dq:n.fo),behavior:e})},p=t=>t.toLowerCase().replace(" ","-")+"-id";function f(t){let{Width:e,Padding:l,PaddingTop:n,PaddingRight:a,PaddingBottom:i,PaddingLeft:r,Margin:o,MarginTop:d,MarginRight:c,MarginBottom:u,MarginLeft:s}=t,g=l?"lg:p-".concat(l):"".concat(n?"lg:pt-".concat(n):""," ").concat(a?"lg:pr-".concat(a):""," ").concat(i?"lg:pb-".concat(i):""," ").concat(r?"lg:pl-".concat(r):"").trim(),h=o?"lg:m-".concat(o):"".concat(d?"lg:mt-".concat(d):""," ").concat(c?"lg:mr-".concat(c):""," ").concat(u?"lg:mb-".concat(u):""," ").concat(s?"lg:ml-".concat(s):"").trim();return"\n        ".concat(e?"lg:".concat(e):"","\n        ").concat(g,"\n        ").concat(h,"\n    ").trim()}},50485:(t,e,l)=>{l.d(e,{A:()=>o});var n=l(95155),a=l(12115),i=l(15239);let r=t=>{let{...e}=t;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"88",height:"88",fill:"none",viewBox:"0 0 88 88",...e,children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#BDBDBD",d:"M77 13.75a2.758 2.758 0 012.75 2.75v54.966l-.86-1.118-23.374-30.25A4.112 4.112 0 0052.25 38.5a4.136 4.136 0 00-3.266 1.598L34.72 58.558l-5.242-7.34a4.098 4.098 0 00-3.352-1.718 4.07 4.07 0 00-3.352 1.736l-13.75 19.25-.773 1.066V16.5A2.758 2.758 0 0111 13.75h66zM11 5.5c-6.067 0-11 4.933-11 11v55c0 6.067 4.933 11 11 11h66c6.067 0 11-4.933 11-11v-55c0-6.067-4.933-11-11-11H11zm13.75 33a8.25 8.25 0 100-16.5 8.25 8.25 0 000 16.5z"})})})},o=t=>{let{src:e,alt:l,fallback:o,className:d="",onClick:c,onLoad:u,layout:s,cyLabel:g,width:h,height:m,"data-epi-edit":p}=t,[f,x]=(0,a.useState)(!1);if(!e||f)return(0,n.jsx)("div",{className:"lg:flex w-full h-full","data-cy":g||"fallback-cy-label","data-epi-edit":p,role:"img","aria-label":"Fallback: ".concat(l),children:o||(0,n.jsx)("span",{role:"img","aria-label":"Image not available",children:(0,n.jsx)(r,{})})});let v="";try{v=new URL(e).pathname.split("/").pop()||""}catch(t){v=""}return(0,n.jsx)("div",{className:"lg:flex w-full h-full","data-cy":g||"".concat(l,"-cy-label"),"data-epi-edit":p,role:"img","aria-label":l||v,children:(0,n.jsx)(i.default,{priority:!0,src:e,alt:l||v,..."responsive"===s?{width:100,height:100}:"intrinsic"===s?{width:h,height:m}:{fill:!0},layout:s,className:d,onError:()=>x(!0),onLoad:u,onClick:c})})}},54354:(t,e,l)=>{l.d(e,{Mq:()=>n,xM:()=>a});let n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a="Use my current location"},55140:(t,e,l)=>{l.r(e),l.d(e,{default:()=>f});var n=l(95155),a=l(37895),i=l(50485),r=l(90842),o=l(19004),d=l(12115),c=l(99776),u=l(80549),s=l(92551),g=l(313),h=l(77740),m=l(17247),p=l(48387);function f(t){var e,l,f,x;let{contentId:v,showSettings:y,workId:b}=t,{gqlData:w,isLoading:C}=function(t,e){var l,n,a,i,m,p,f,x,v,y,b,w,C,j,M,A,T,k,B,I,N,F,G,E,L,U,W,D,P;let S,{inCmsIframe:_,isEditOrPreviewMode:q}=(0,g.A)(),R=(0,d.useRef)(null),O=(0,c.jE)(),z=["FeaturedMediaWithCtaBlock-".concat(t,"-").concat(e)
1],{data:H,error:Q,isLoading:V}=(0,o.qA)({contentId:Number(t)||0,workId:Number(e)||0,gqlDoc:s.rQ,slug:null,qKey:z}),{mutate:$}=(0,u.n)({mutationFn:async t=>Promise.resolve(t),onSuccess:t=>{R.current!==t&&(R.current=t,(0,h.e)(O,H,S,t,z,"FeaturedMediaWithCta"))},onError:t=>{console.error("Error updating cache: ",t)}});q&&(0,r.P)(t=>$(t));let Y=H;if(_&&(null==Y||null==(l=Y.FeaturedMediaWithCta)?void 0:l.items)){let t=Y.FeaturedMediaWithCta.items.filter(t=>(null==t?void 0:t.Status)==="CheckedOut");t.length>0&&Y.FeaturedMediaWithCta&&(Y={...Y,FeaturedMediaWithCta:{...Y.FeaturedMediaWithCta,items:t}})}let J=null!=(p=null==Y||null==(a=Y.FeaturedMediaWithCta)||null==(n=a.items)?void 0:n[0])?p:{};return{gqlData:{ContentId:null!=(f=null==(i=J.ContentLink)?void 0:i.Id)?f:0,WorkId:null!=(x=null==(m=J.ContentLink)?void 0:m.WorkId)?x:0,Title:null!=(v=J.Title)?v:"",Description:null!=(y=J.Description)?y:"",ImageUrl:null!=(b=J.ImageUrl)?b:"",ImageAlignment:null!=(w=J.ImageAlignment)?w:"left",GradientColorStart:null!=(C=J.GradientColorStart)?C:"",GradientColorEnd:null!=(j=J.GradientColorEnd)?j:"",GradientAngle:null!=(M=J.GradientAngle)?M:"",FontColor:null!=(A=J.FontColor)?A:"",ButtonText:null!=(T=J.ButtonText)?T:"",ButtonUrl:null!=(k=J.ButtonUrl)?k:"",Width:null!=(B=J.Width)?B:"",Padding:null!=(I=J.Padding)?I:"",PaddingTop:null!=(N=J.PaddingTop)?N:"",PaddingRight:null!=(F=J.PaddingRight)?F:"",PaddingBottom:null!=(G=J.PaddingBottom)?G:"",PaddingLeft:null!=(E=J.PaddingLeft)?E:"",Margin:null!=(L=J.Margin)?L:"",MarginTop:null!=(U=J.MarginTop)?U:"",MarginRight:null!=(W=J.MarginRight)?W:"",MarginBottom:null!=(D=J.MarginBottom)?D:"",MarginLeft:null!=(P=J.MarginLeft)?P:""},error:Q,isLoading:V}}(v,b),j=(0,p.i$)(w);if(C)return null;let M=!!(null==w?void 0:w.ImageUrl),A=!!((null==w||null==(e=w.ButtonText)?void 0:e.trim())&&(null==w||null==(l=w.ButtonUrl)?void 0:l.trim())),T=!!((null==w||null==(f=w.Title)?void 0:f.trim())||(null==w||null==(x=w.Description)?void 0:x.trim()))||A;if(!M&&!T)return null;let k=(null==w?void 0:w.ImageAlignment)!=="right",B="text-".concat((null==w?void 0:w.FontColor)||"white"),I=M&&T,N=M?(0,n.jsx)("div",{className:"w-full overflow-hidden ".concat(I?"lg:w-3/5 ".concat(k?"lg:order-first order-last":"lg:order-last order-last"):"w-full"),children:(0,n.jsx)(i.A,{"data-epi-edit":"ImageUrl",className:"w-full max-lg:min-h-featured-media-img-mobile object-cover lg:h-full lg:min-h-90",layout:"intrinsic",width:763,height:450,src:(0,m.VG)(w.ImageUrl),alt:""})}):null,F=T?(0,n.jsxs)("div",{className:"flex w-full flex-col justify-center gap-content-stack p-8 lg:px-12 lg:py-10 xl:px-12 xl:py-10 ".concat(null==w?void 0:w.GradientAngle," from-").concat(null==w?void 0:w.GradientColorStart," to-").concat(null==w?void 0:w.GradientColorEnd," from-0% to-100% ").concat(I?"lg:w-2/5 ".concat(k?"lg:order-last order-first":"lg:order-first order-first"):"rounded-4xl"," items-stretch text-left"),children:[(null==w?void 0:w.Title)?(0,n.jsx)("h2",{"data-epi-edit":"Title",className:"font-franklin ".concat(B," text-lg font-bold uppercase leading-6"),children:w.Title}):null,(null==w?void 0:w.Description)?(0,n.jsx)("p",{"data-epi-edit":"Description",className:"font-franklin ".concat(B," text-base font-normal leading-snug"),children:w.Description}):null,A?(0,n.jsx)(a.A,{type:"button",className:"!w-full self-stretch py-2.5 px-6 text-sm !font-bold uppercase !rounded-4xl",variant:"solid",color:"primary","data-epi-edit":"ButtonText",value:w.ButtonText,onClick:()=>window.open(w.ButtonUrl,"_blank","noopener,noreferrer"),children:w.ButtonText}):null]}):null;return(0,n.jsxs)("div",{className:"mx-auto flex w-full flex-col ".concat(j),children:[(0,n.jsx)("div",{className:"flex flex-col overflow-hidden rounded-4xl lg:flex-row lg:items-stretch ".concat(I?"lg:min-h-90":""),children:I?(0,n.jsxs)(n.Fragment,{children:[N,F]}):M?(0,n.jsx)("div",{className:"overflow-hidden rounded-4xl",children:N}):F}),y?(0,n.jsxs)("div",{className:"mx-auto mt-10 flex flex-wrap justify-center gap-2",children:[(0,n.jsx)("div",{className:"flex p-2 text-2xl",children:"Settings:"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"ImageUrl",children:"Image"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"ImageAlignment",children:"Image Alignment"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"GradientColorStart",children:"Backgroun
1d Color Start"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"GradientColorEnd",children:"Background Color End"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"GradientAngle",children:"Gradient Angle"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"FontColor",children:"Font Color"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"ButtonText",children:"CTA Text"}),(0,n.jsx)("button",{type:"button","data-epi-edit":"ButtonUrl",children:"CTA URL"})]}):null]})}},77740:(t,e,l)=>{l.d(e,{e:()=>n});let n=(t,e,l,n,i,r)=>{let o=function(t,e,l){var n,i,r,o;if(!t||!(null==t||null==(n=t[l])?void 0:n.items)||(null==t||null==(r=t[l])||null==(i=r.items)?void 0:i.length)===0)return;let d=null==t||null==(o=t[l])?void 0:o.items[0];return e.properties.forEach(t=>{var e,l,n;return t.name.includes(".")?function(t,e,l){e=e.toLowerCase(),["icontent_","ichangetrackable_","iversionable_","iroutable_"].forEach(t=>{e=e.startsWith(t)?e.substring(t.length):e});let n=e.split(".");function a(t,e,l){let n=e[0],i=e.slice(1),r=Object.keys(t).find(t=>t.toLowerCase()===n);r&&(0===i.length?t[r]=l:a(t[r],i,l))}Array.isArray(t)?t.forEach(t=>{a(t,n,l)}):a(t,n,l)}(d,t.name,t.value):(e=d,l=t.name,n=t.value,void(Array.isArray(e)?e.forEach(t=>{a(t,l,n)}):a(e,l,n)))}),t}({...e},n,r);t.setQueryData([i,l],o)};function a(t,e,l){let n=Object.keys(t).find(t=>t.toLowerCase()===e.toLowerCase());n&&(t[n]=function t(e){return"object"!=typeof e||null===e?e:Array.isArray(e)?e.map(e=>t(e)):Object.keys(e).reduce((l,n)=>(l[n.charAt(0).toUpperCase()+n.slice(1)]=t(e[n]),l),{})}(l))}},90842:(t,e,l)=>{l.d(e,{P:()=>n});let n=t=>window.epi?window.epi.subscribe("contentSaved",t):()=>{}}}]);

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.