PageSourceSearch

https://sedsacafe.com/_next/static/chunks/8574.a206013f145d810e.js

js sedsacafe.com collected 2026-09-27 13:08:11 UTC 4,860 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8574],{78574:(e,r,l)=>{l.r(r),l.d(r,{default:()=>j});var t=l(95155),s=l(19749),a=l(12115),n=l(27128);let c=e=>{let r,l,a,c,m,i=(0,s.c)(10),{meals:x}=e,u=(0,n.m)(d);return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("h2",{className:"bold w-full text-center text-base text-brand-500",children:"سرویس دهی آنلاین"}),i[0]=r):r=i[0],i[1]!==u?(l=!u&&(0,t.jsx)("thead",{className:"border-b-2",children:(0,t.jsxs)("tr",{className:"[&_*]:text-sm",children:[(0,t.jsx)("th",{}),(0,t.jsx)("th",{className:"font-normal",children:"صبحانه"}),(0,t.jsx)("th",{className:"font-normal",children:"ناهار"}),(0,t.jsx)("th",{className:"font-normal",children:"شام"})]})}),i[1]=u,i[2]=l):l=i[2],i[3]!==x?(a=x.map(o),i[3]=x,i[4]=a):a=i[4],i[5]!==a?(c=(0,t.jsx)("tbody",{children:a}),i[5]=a,i[6]=c):c=i[6],i[7]!==l||i[8]!==c?(m=(0,t.jsxs)(t.Fragment,{children:[r,(0,t.jsxs)("table",{className:"mt-4 w-full [&_*]:py-2 [&_*]:text-center",children:[l,c]})]}),i[7]=l,i[8]=c,i[9]=m):m=i[9],m};function d(e){return e.RestaurantData?.complexTypeId!==1}function o(e,r){return(0,t.jsxs)("tr",{className:"h-[46px] border-t border-dashed [&_*]:text-sm [&_*]:font-light",children:[(0,t.jsx)("td",{children:e.day}),(0,t.jsx)("td",{children:e.breakfast}),(0,t.jsx)("td",{children:e.lunch}),(0,t.jsx)("td",{children:e.dinner})]},r)}let m=e=>{let r,l,a,n=(0,s.c)(5),{foodTypes:c}=e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("h2",{className:"bold w-full text-center text-brand-500",children:"نوع غذا"}),n[0]=r):r=n[0],n[1]!==c?(l=c.map(i),n[1]=c,n[2]=l):l=n[2],n[3]!==l?(a=(0,t.jsxs)(t.Fragment,{children:[r,(0,t.jsx)("div",{className:"mt-4 flex flex-wrap justify-center gap-2",children:l})]}),n[3]=l,n[4]=a):a=n[4],a};function i(e,r){return(0,t.jsx)("div",{className:"flex h-[33px] w-auto items-center justify-center rounded-full border px-4 py-1 text-sm",children:e},r)}var x=l(46398);let u=()=>{let e,r,l,c,d,o,m,i,u,b,j,p,N=(0,s.c)(24),_=(0,a.useRef)(null),g=(0,a.useRef)(null),w=(0,n.m)(h),y=+w?.location.lat,v=+w?.location.lng;N[0]!==y||N[1]!==v?(e={lat:y,lng:v},N[0]=y,N[1]=v,N[2]=e):e=N[2];let k=e;N[3]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{let e=new ResizeObserver(()=>{g.current?.resize()});return _.current&&e.observe(_.current),()=>e.disconnect()},l=[],N[3]=r,N[4]=l):(r=N[3],l=N[4]),(0,a.useEffect)(r,l);let S=w?.complexTypeId===1?" رستوران ":" مجموعه ";N[5]!==S?(c=(0,t.jsxs)("h2",{className:"bold w-full text-center text-base text-brand-500",children:["آدرس",S]}),N[5]=S,N[6]=c):c=N[6];let C=w?.location.fullAddress;return N[7]!==C?(d=(0,t.jsx)("div",{className:"text-sm",children:C}),N[7]=C,N[8]=d):d=N[8],N[9]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"ml-2 text-sm",children:"تلفن:"}),N[9]=o):o=N[9],N[10]!==w?.phoneNumbers?(m=w?.phoneNumbers?.map(f),N[10]=w?.phoneNumbers,N[11]=m):m=N[11],N[12]!==m?(i=(0,t.jsxs)("div",{className:"flex w-full flex-wrap justify-center gap-4",children:[o,m]}),N[12]=m,N[13]=i):i=N[13],N[14]===Symbol.for("react.memo_cache_sentinel")?(u=e=>{g.current=e},N[14]=u):u=N[14],N[15]!==k?(b=(0,t.jsx)("div",{className:"h-[350px] w-full",ref:_,children:(0,t.jsx)(x.A,{onInit:u,id:"rest-info-map",center:k,centerMarker:!1,marker:k,className:"h-[350px] w-full"})}),N[15]=k,N[16]=b):b=N[16],N[17]!==i||N[18]!==b||N[19]!==d?(j=(0,t.jsxs)("div",{className:"mt-4 flex w-full flex-wrap justify-center gap-2",children:[d,i,b]}),N[17]=i,N[18]=b,N[19]=d,N[20]=j):j=N[20],N[21]!==j||N[22]!==c?(p=(0,t.jsxs)(t.Fragment,{children:[c,j]}),N[21]=j,N[22]=c,N[23]=p):p=N[23],p};function h(e){return e.RestaurantData}function f(e,r){return(0,t.jsx)("a",{href:`tel:${e}`,className:"border-b-2 border-dotted text-sm",children:e},r)}var b=l(62200);let j=(0,a.memo)(e=>{let r,l,a,n,d,o,i=(0,s.c)(11),{restData:x}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,b.cn)("relative z-10 flex w-full flex-col gap-4 bg-white lg:rounded-xl lg:rou
1nded-tr-none lg:p-4 xl:border","xl:grid xl:grid-cols-2 xl:pt-4","dark:border-neutral-600 dark:bg-neutral-800"),i[0]=r):r=i[0],i[1]!==x.meals?(l=x.meals||[],i[1]=x.meals,i[2]=l):l=i[2],i[3]!==l?(a=(0,t.jsx)("div",{className:"w-full border-b pb-2 dark:border-neutral-600 xl:col-span-1",children:(0,t.jsx)(c,{meals:l})}),i[3]=l,i[4]=a):a=i[4],i[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{className:"col-span-1 pb-2",children:(0,t.jsx)(u,{})}),i[5]=n):n=i[5],i[6]!==x.restaurantCategories?(d=!!x.restaurantCategories?.length&&(0,t.jsx)("div",{className:"w-full border-b pb-2 xl:col-span-2",children:(0,t.jsx)(m,{foodTypes:x.restaurantCategories||[]})}),i[6]=x.restaurantCategories,i[7]=d):d=i[7],i[8]!==a||i[9]!==d?(o=(0,t.jsxs)("div",{className:r,children:[a,n,d]}),i[8]=a,i[9]=d,i[10]=o):o=i[10],o})}}]);

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.