PageSourceSearch

https://myofer.co.il/_next/static/chunks/3011.bb6364d894ff63a1.js

js myofer.co.il collected 2026-09-24 22:07:12 UTC 9,230 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3011,5635,1756],{65635:function(e,l,t){t.r(l),t.d(l,{BreadCrumb:function(){return b},BreadCrumbs:function(){return m}});var n=t(82729),s=t(85893),i=t(41664),r=t.n(i),a=t(11163),o=t(67294),c=t(964),u=t(30012),d=t(42680),f=t(48021),h=t(32578),p=t(70229);function _templateObject(){let e=(0,n._)(['\n  display: flex;\n  align-items: center;\n  z-index: 1;\n  font-size: 16px;\n  padding: 0;\n  margin: 0;\n  font-family: "','";\n']);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,n._)(["\n  display: flex;\n  align-items: center;\n  font-size: 11px;\n  font-weight: 300;\n"]);return _templateObject1=function(){return e},e}let m=c.ZP.ol.withConfig({componentId:"sc-d8f4db0f-0"})(_templateObject(),f.mly),b=c.ZP.li.withConfig({componentId:"sc-d8f4db0f-1"})(_templateObject1());l.default=e=>{let{objName:l,categoryAncestry:t,categoryTitle:n}=e,{state:{selected:i,mallCategories:c}}=(0,o.useContext)(d._),{setWasSentFromProfile:g,state:{currentDeal:x,wasSentFromProfile:j}}=(0,o.useContext)(u._),[v,y]=(0,o.useState)(j);(0,o.useEffect)(()=>{j&&g(!1)},[]);let _=(0,a.useRouter)(),C=_.asPath,k=_.asPath.split("?")[0].split("/");(C.includes("/products/")||C.includes("/deals/"))&&(k=k.slice(0,3)),C.includes("/info#")&&(k[3]=k[3].split("#")[0]);let S=[],D=(0,p.YE)(_.query.id)||0,z=null==i?void 0:i.seoTitle;if(D&&C.includes((0,h.vj)(D))){var M;let e="string"==typeof _.query.title?_.query.title:"",l=null==x?void 0:null===(M=x.details)||void 0===M?void 0:M.title,t=null==x?void 0:x.seoTitle;e=e.toString().replace(/\-/g," ").trim(),S=[{breadcrumb:"עמוד הבית",href:"/"}],!i||v||C.includes("/shopping-online/cat")||S.push({breadcrumb:(null==i?void 0:i.name)||"",href:(0,h.nG)(z||0)},{breadcrumb:"כל ההטבות",href:(0,h.UB)(z||0)}),v&&(k.unshift("malls"),S.push({breadcrumb:"אזור אישי",href:"/profile"},{breadcrumb:"קופונים שרכשתי",href:"/profile"})),S.push({breadcrumb:l||e||D.toString(),href:(0,h.vj)(D,t)})}else{k.shift(),"profile"===k[0]&&k.unshift("malls");let e=["personal-details","preferences","my-coupons","order-history","mailing-settings","order-history"],isShallowPath=l=>"string"==typeof l&&e.includes(l);S=k.map((e,n)=>{if("malls"===e&&(e="עמוד הבית"),("takanon"===e||"takanon-gifts-in-20"===e)&&(e="תקנון"),"stores"===e&&(e="חנויות הקניון"),"events"===e&&(e="אירועים ופופ אפ"),"deals"===e&&(e="כל ההטבות"),"profile"===e&&(e="אזור אישי"),"products"===e&&(e="קניות אונליין"),"info"===e&&(e=(null==i?void 0:i.name)||null),"privacy"===e&&(e="מדיניות פרטיות"),"terms-of-use"===e&&(e="תנאי שימוש"),"faq"===e&&(e="שאלות ותשובות"),"about"===e&&(e="אודות קניוני עופר"),"inbox"===e&&(e="ההודעות שלי"),"support"===e&&(e="שירות לקוחות"),"online-stores"===e&&(e="חנויות אונליין"),"sent-gift-cards"===e&&(e="כרטיסי מתנה שנרכשו"),"my-gift-cards"===e&&(e="כרטיסי המתנה שלי"),"cancel-order"===e&&(e="ביטול עסקה"),"personal-settings"===e&&(e="פרטים אישיים"),"preferences"===e&&(e="העדפות אישיות"),"mailing-settings"===e&&(e="הגדרות דיוור"),"my-coupons"===e&&(e="הקופונים שלי"),"important-dates"===e&&(e="תאריך חשובים"),isShallowPath(e)&&(e=null,k.pop()),1!==n||"אזור אישי"===e||"products"===k[0]||(null==e?void 0:e.includes("shopping-online/cat"))||(e=(null==i?void 0:i.name)||null),1===n&&"info"===k[n+1]&&(e="רשימת קניונים"),1===n&&"products"===k[0]&&(e=l),n>1&&"products"===k[0]&&(e=null),2===n&&"info"===k[n]&&l&&(e=l),3===n&&l&&(e=l),2==n&&"shopping-online"===k[n]&&(e="קניות אונליין"),3===n&&"online-stores"===k[2]&&(e=null!=l?l:null),n>=3&&n<k.length-2&&"cat"===k[3]&&t&&t.length&&t.length===k.length-5)return e=t[n-3].title,k.slice(3,n+1).push(t[t.length-1].id.toString()),{breadcrumb:e||"",href:"/"+k.slice(0,4).join("/")+"/"+t[n-3].id};if(e===f.cLV&&(e=null),e&&!isNaN(parseInt(e))&&k[n-1]===f.cLV&&"shopping-online"!==k[n-2]){let l=c.find(l=>l.id.toString()===e);e=l&&l.title?l.title:"קטגוריה"}return e&&!isNaN(parseInt(e))&&k[n-1]===f.cLV&&"shopping-online"===k[n-2]&&(e=null),{breadcrumb:e||"",href:"/"+k.slice(0,n+1).join("/")}}).filter(e=>{let{breadcrumb:l}=e;return!!l})}if(("terms-of-use"===k[0]||"takanon"===k[0]||"inbox"===k[0]||"takanon-gifts-in-20"===k[0]||"about"===k[0]||"privacy"===k[0]||"support"===k[0]||"products"===k[0]||"faq"===k[0])&&S.unshift({breadcrumb:"עמוד הבית",href:"/"}),"malls"===k.toString()&&S.push({breadcrumb:"הקניונים שלנו",href:"/malls"}),C.match(/products\/[0-9]*.*/)&&(i?(S.splice(1,0,{breadcrumb:"".concat(null==i?void 0:i.name),href:"/malls/".concat(z)}),S[2].href="/malls/".concat(z,"/shopping-online")):S[2].href="/"),C.match(/cat\/[0-9]*.*/)&&(S=S.slice(0,-2)),t&&"products"===k[0]&&t.forEach(e
1=>{S.splice(-1,0,{breadcrumb:e.title,href:"".concat(i?"/malls/".concat(z):"","/shopping-online/cat/").concat(e.id)})}),t&&"stores"===k[2]){let e=t[0];e&&S.splice(-1,0,{breadcrumb:e.title,href:"".concat(i?"/malls/".concat(z):"","/stores/cat/").concat(e.id)})}return 0===S.length&&C.includes("deals/cat")&&n&&(null==n?void 0:n.length)>0&&(S.push({breadcrumb:"עמוד הבית",href:"".concat(i?"/malls/".concat(z):"")}),S.splice(1,0,{breadcrumb:"".concat(null==i?void 0:i.name),href:"/malls/".concat(z)}),S.splice(2,0,{breadcrumb:"".concat(n),href:"/malls/".concat(z)})),(0,s.jsx)(m,{children:S.map((e,l)=>{var t;return(0,s.jsxs)(b,{style:{marginLeft:12,fontSize:14},children:[l<S.length-1?(0,s.jsx)(r(),{href:"/malls"===e.href?e.breadcrumb.includes("הקניונים שלנו")?"/malls":"/":e.href.includes("/profile")||(null===(t=e.breadcrumb)||void 0===t?void 0:t.includes("רשימת קניונים"))?e.href.includes("/profile")?"/profile":"/malls":e.href,passHref:!0,style:{color:S.length-1>l?"#0055CC":"",cursor:"pointer"},children:e.breadcrumb}):(0,s.jsx)("p",{style:{margin:0},children:e.breadcrumb}),S.length-1!==l&&(0,s.jsx)("div",{style:{marginRight:10},children:"  /  "})]},l)})})}},23011:function(e,l,t){t.r(l);var n=t(85893),s=t(67294),i=t(94282),r=t(48021),a=t(34226),o=t(63881),c=t(50715),u=t(65635),d=t(38230),f=t(11918),h=t(3014),p=t(65018),m=t(71756);l.default=e=>{var l,t,b;let{loadTranslationsFromStorage:g,state:{translations:x}}=(0,s.useContext)(i._),j=(0,h.gN)({textKey:p.R.mall_page_seo_title,values:{}}),v=(0,h.gN)({textKey:p.R.mall_page_seo_subtitle,values:{}});return(0,s.useEffect)(()=>{},[]),(0,n.jsxs)(c._z,{children:[(0,n.jsx)(c.mo,{children:(0,n.jsx)(f.default,{src:"/Desktop-Mall-Lobby.png",alt:"Malls",maxHeight:300,maxWidth:1400})}),(0,n.jsx)(c.Pk,{children:(0,n.jsx)(u.default,{})}),(0,n.jsx)(o.ZC,{style:{},children:(0,n.jsxs)(o.ZC,{style:{marginLeft:"16%",marginRight:"16%",marginBottom:"0px",display:"flex",flexDirection:"column"},children:[(0,n.jsx)(c.V1,{children:r.Yke}),(0,n.jsx)(c.A5,{}),(0,n.jsxs)(c.HR,{children:[(0,n.jsx)(m.default,{malls:null===(l=e.malls)||void 0===l?void 0:l.filter(e=>1==e.zone.id),title:r.ASu,translations:x,isDashboard:!1}),(0,n.jsx)(m.default,{malls:null===(t=e.malls)||void 0===t?void 0:t.filter(e=>2==e.zone.id),title:r.Ymi,translations:x,isDashboard:!1}),(0,n.jsx)(m.default,{malls:null===(b=e.malls)||void 0===b?void 0:b.filter(e=>3==e.zone.id),title:r.Em2,translations:x,isDashboard:!1})]})]})}),j&&v&&(0,n.jsxs)(c.Po,{children:[(0,n.jsx)(o.gq,{style:{justifyContent:"center"},children:(0,n.jsx)(f.default,{src:"/myofer-svg.svg",maxHeight:44,maxWidth:44})}),(0,n.jsx)(c.wU,{children:(0,n.jsx)(d.Z,{text:j})}),(0,n.jsx)(c.Ah,{children:(0,n.jsx)(o.ZC,{style:a.iO,children:(0,n.jsx)(d.Z,{text:v})})})]})]})}},71756:function(e,l,t){t.r(l),t.d(l,{default:function(){return mall_MallsLobbyDesktopSection}});var n=t(85893),s=t(79360),i=t(50715),r=t(11163),a=t(67294),o=t(10515),c=t(48021),u=t(34717),d=t(34226),f=t(63881),h=t(91270),mall_MallsDesktopCard=e=>{let{mall:l,translations:t,isDashboard:s,zeroPath:p,handleClick:m}=e,b=(0,r.useRouter)(),[g,x]=(0,a.useState)(!1),{state:{isRadc:j}}=(0,a.useContext)(o._y),v=l.type===u.sZ.HYBRID&&j;return(0,n.jsxs)(i.O5,{onClick:()=>{let e=(null==l?void 0:l.seoTitle)||c.kmH[null==l?void 0:l.id];null==m||m(),s?b.push(p?p.replace("/0/","/".concat(e,"/")):"/malls/".concat(e)):b.push("/malls/".concat(e,"/info"))},isOpen:g,onMouseEnter:e=>x(!0),onMouseLeave:e=>{x(!1)},children:[(0,n.jsx)(i.LS,{isOpen:g,children:l.name}),v&&(0,n.jsx)(i.T_,{children:"Online Mall"}),g&&(0,n.jsxs)(i.BM,{children:[(0,n.jsx)(i.zR,{style:d.z2,children:l.address}),(0,n.jsx)(f.gq,{style:{alignSelf:"center",flexDirection:"row-reverse",justifyContent:"center"},children:(0,n.jsx)(h.J,{date:new Date,translations:t,openingHours:l.openingHours||[],closingHours:l.closingHours||[],textColor:"#000000"})}),(0,n.jsx)(i.g4,{children:"..."})]})]})},mall_MallsLobbyDesktopSection=e=>{let{title:l,malls:t,translations:r,isDashboard:a=!1,zeroPath:o}=e;return(0,n.jsxs)(i.Uq,{children:[(0,n.jsx)(i.NZ,{children:l}),t.map(e=>(0,n.jsx)(mall_MallsDesktopCard,{zeroPath:o,mall:e,translations:r,isDashboard:a,handleClick:()=>{s.kk.pushChooseMallEvent(e.id,e.name)}},e.id))]})}}}]);

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.