PageSourceSearch

https://www.leaan.co.il/_next/static/chunks/1209.3f5b2453f187162d.js

js leaan.co.il collected 2026-10-02 05:34:21 UTC 9,195 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1209],{61490:function(e,a,r){"use strict";r.d(a,{Z:function(){return area_heading}});var s=r(85893),n=r(32367),i=r(41664),t=r.n(i);r(67294);var l=r(11163),o=r(14416),_=r(29384),c={src:"/_next/static/media/red-pause-icon.a4497cb5.svg",height:28,width:27,blurWidth:0,blurHeight:0},d={src:"/_next/static/media/red-play-icon.646093eb.svg",height:27,width:27,blurWidth:0,blurHeight:0},area_heading=function(e){let{title:a="",id:r="",route:i="",styles:u={},isSubcategory:h=!1,hideLink:v=!1,onToggleAutoScroll:w,isAutoscrollPaused:p,linkAriaLabel:g=""}=e,m=(0,n.Z)(),b=(0,o.I0)(),x=(0,l.useRouter)(),f=g.length>0,y=f?g:m("accessibility_category_area_heading_all",{title:a}),k=p?d:c,handleOnClick=e=>{null==e||e.preventDefault(),h?b(_.Z.setSelectedSubCategory(r)):b(_.Z.setSelectedCategory(r)),x.push("/category/".concat(i.replaceAll(" ","-")))};return(0,s.jsxs)("div",{className:u["heading-wrapper"],children:[(0,s.jsx)("h2",{onClick:handleOnClick,className:u["heading-text"],children:a}),(0,s.jsxs)("div",{className:u.actions,children:["function"==typeof w&&(0,s.jsx)("button",{"aria-label":m(p?"accessibility_carousel_play":"accessibility_carousel_pause"),className:u["vid-button"],onClick:w,children:(0,s.jsx)("img",{alt:"",src:k.src})}),v?null:(0,s.jsx)(t(),{prefetch:!!parseInt("1"),href:"/category/".concat(i.replaceAll(" ","-")),onClick:handleOnClick,className:u["heading-link"],"aria-label":y,children:m("area_heading_everything_link")})]})]})}},82127:function(e,a,r){"use strict";var s=r(85893),n=r(67294),i=r(2261),t=r(84904),l=r(94135),o=r(32367);a.Z=function(e){let{styles:a,isStandupSlider:r=!1,slidesPerView:_="auto",padding:c=30,margin:d=24,modules:u=[],showArrows:h=!0,nextArrowAriaLabel:v="accessibility_generic_carousel_arrow_next_aria_label",prevArrowAriaLabel:w="accessibility_generic_carousel_arrow_prev_aria_label",children:p,...g}=e,m=(0,o.Z)(),[b,x]=(0,n.useState)(null),[f,y]=(0,n.useState)(!0),[k,C]=(0,n.useState)(!0),S=(0,n.useRef)(),j=(0,n.useRef)(),N=(0,n.useRef)(),Z=m("accessibility_generic_carousel_arrow_prev_aria_label"),E=m("accessibility_generic_carousel_arrow_next_aria_label");function onWindowResize(){N.current&&N.current.updateSize()}function handleSliderChange(e){let{isBeginning:a,isEnd:r}=e;a&&y(!0),r&&C(!0),r||a||(y(!0),C(!0))}return(0,n.useEffect)(()=>{if(S.current||j.current){let e={prevEl:j.current,nextEl:S.current},a={navigation:e,grabCursor:h,slidesPerView:_,slidesOffsetAfter:c,slidesOffsetBefore:c,onSlideChange:handleSliderChange,spaceBetween:d,modules:[...u,l.s5],...g};x(a)}},[S.current,j.current,_,u,c,d,h]),(0,n.useEffect)(()=>(window.addEventListener("resize",()=>onWindowResize),r&&y(!1),()=>{window.removeEventListener("resize",()=>onWindowResize)}),[]),(0,s.jsxs)("div",{className:"".concat(a["generic-carousel-wrapper"]," ").concat(h?a["show-nav"]:""),children:[(0,s.jsx)("button",{className:"".concat(a["prev-arrow-wrapper"]," ").concat(f?"":a.disabled),ref:j,children:(0,s.jsx)("img",{className:a["prev-arrow"],src:t.Z.src,alt:""})}),(0,s.jsx)("button",{className:"".concat(a["next-arrow-wrapper"]," ").concat(k?"":a.disabled),ref:S,children:(0,s.jsx)("img",{className:a["next-arrow"],src:t.Z.src,alt:""})}),(0,s.jsx)("div",{className:a["slider-wrapper"],children:b&&(0,s.jsx)(i.tq,{a11y:{scrollOnFocus:!0,enabled:!0,paginationBulletMessage:(()=>{let e=m("accessibility_pagination_bullet_message");return e+" {{index}}"})(),nextSlideMessage:E,prevSlideMessage:Z},onFromEdge:()=>{y(!0),C(!0)},onReachBeginning:()=>{y(!0)},onReachEnd:()=>{C(!0)},onSwiper:e=>N.current=e,...b,children:p})})]})}},71209:function(e,a,r){"use strict";r.r(a);var s=r(85893);r(67294);var n=r(82127),i=r(14416),t=r(94135),l=r(82618),o=r(61490),_=r(2261),c=r(11163),d=r(66522),u=r(62528),h=r(59023),v=r.n(h),w=r(25678);a.default=function(e){let a=(0,c.useRouter)();(0,d.Z)();let r=(0,i.v9)(e=>e.deviceState),{data:h,category:p}=(0,i.v9)(e=>e.showsEvents),g=[...h],m=g.filter(e=>e.display);m.sort((e,a)=>{var r,s;let n=(0,w.cb)(getImg(e,(null===(r=e.events)||void 0===r?void 0:r.length)==1)),i=(0,w.cb)(getImg(a,(null===(s=a.events)||void 0===s?void 0:s.length)==1));return n&&!i?-1:!n&&i?1:Number(null==e?void 0:e.order_num)-Number(null==a?void 0:a.order_num)});let handleOnEventCardClick=(e,r,s,n)=>{s?a.push("".concat(u.Z.EVENTS,"/").concat((0,w.w6)(e),"/").concat(r)):a.push("".concat(u.Z.CATEGORY,"/").concat((0,w.w6)(n),"/").concat((0,w.w6)(e)))};function getImg(e,a){var r,s,n,i,t;if(a){let a=null==e?void 0:e.events[0],r=null==a?void 0:null===(n=a.images)||void 0===n?void 0:n.desktop,s=(null==r?void 0:r.image)?null==r?void 0:r.image:null==r?void 0:r.vivenu_image;return null!=s?s:null===(i=Object.values(null==e?void 0:null===(t=e.section)||void 0===t?void 0:t.mobile))||void 0===i?void 0:i[0]}return null===(r=Object.values(null==e?void 0:null===(s=e.section)||void 0===s?void 0:s.mobile))||void 0===r?void 0:r[0]}return 0===m.length?null:(0,s.jsxs)("section",{className:v()["shows-area-wrapper"],children:[(0,s.jsx)(o.Z,{title:null==p?void 0:p.name,id:null==p?void 0:p.id,route:null==p?void 0:p.name,styles:v()}),(0,s.jsx)(n.Z,{styles:v(),showArrows:r.isDesktop,modules:[t.W_],margin:24,padding:r.isDesktop?0:20,slidesPerView:"auto",children:m.map((e,a)=>
1(0,s.jsx)(_.o5,{children:function(e,a){var n,i,t,o,_,c,d,h,g;let{image:m="",events:b}=e,x=b.slice(0,3),f=1===b.length,y=null!==(d=getImg(e,f))&&void 0!==d?d:"",k=(0,w.cb)(y),C=f?null==e?void 0:null===(i=e.events)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.name:e.name,S=e.name;return(0,s.jsx)(l.Z,{seller_id:f?null==b?void 0:null===(t=b[0])||void 0===t?void 0:t.seller_id:e.id,redirect_url:f?null==b?void 0:null===(o=b[0])||void 0===o?void 0:o.redirect_url:"",isShortHand:!0,isNameOnly:!0,src:y,isVideo:k,inlineVid:k,labels:null!==(h=null==e?void 0:e.labels)&&void 0!==h?h:[],dateFormat:r.isMobile?"DD.MM.YY":"DD/MM/YY",eventDetails:x,price:f?null===(_=b[0])||void 0===_?void 0:_.starting_price:null==e?void 0:e.starting_price,isSoldout:f?null===(c=b[0])||void 0===c?void 0:c.is_soldout:null==e?void 0:e.is_soldout,styles:v(),sellerRoute:"".concat(u.Z.CATEGORY,"/").concat((0,w.w6)(null==p?void 0:p.name),"/").concat((0,w.w6)(S)),recentlyWatched:null!==(g=null==e?void 0:e.last_hour_views)&&void 0!==g?g:0,onClick:(a,r)=>{var s,n;return handleOnEventCardClick(C,f?null==e?void 0:null===(n=e.events)||void 0===n?void 0:null===(s=n[0])||void 0===s?void 0:s.id:r,f,null==p?void 0:p.name)},eventName:e.name,...f?b[0]:{}},"show-event_"+a)}(e,a)},"show-event_-"+a))})]})}},59023:function(e){e.exports={"generic-carousel-wrapper":"shows-area_generic-carousel-wrapper___36iJ","prev-arrow-wrapper":"shows-area_prev-arrow-wrapper__JbOU7","next-arrow-wrapper":"shows-area_next-arrow-wrapper__pbn9d","show-nav":"shows-area_show-nav__CI1UF",disabled:"shows-area_disabled__0PCAM","button-wrapper":"shows-area_button-wrapper__Z3xer","button-text":"shows-area_button-text__1si4h","event-timer-wrapper":"shows-area_event-timer-wrapper__3lcDw","time-value":"shows-area_time-value__Q1E1p",value:"shows-area_value__cnpWX",label:"shows-area_label__mHb8y","tag-wrapper":"shows-area_tag-wrapper__GftRa",flipped:"shows-area_flipped__3Cuj_","details-wrapper":"shows-area_details-wrapper__LR45K","speciel-event-title":"shows-area_speciel-event-title__ZUP7K","details-row":"shows-area_details-row__Hxldc",icon:"shows-area_icon__kkKmh",text:"shows-area_text__u6bV2",short:"shows-area_short__Klpg5","text-only":"shows-area_text-only__q70mZ",divider:"shows-area_divider__n_s6G","screen-reader-only":"shows-area_screen-reader-only__ntou3","recently-watched-wrapper":"shows-area_recently-watched-wrapper__CS3d8",red:"shows-area_red__0_oLN",show:"shows-area_show__X5xoS","tool-tip":"shows-area_tool-tip__NJA1j",bold:"shows-area_bold__v0Zw0","video-wrapper":"shows-area_video-wrapper__J1mKf","vid-button":"shows-area_vid-button__VtXF2","kids-age-group-container":"shows-area_kids-age-group-container__LWFAe","kids-age-group-icon-container":"shows-area_kids-age-group-icon-container__h73VM","kids-age-group-name":"shows-area_kids-age-group-name__QLmxS","generic-event-card":"shows-area_generic-event-card__2J4k7","labels-wrapper":"shows-area_labels-wrapper__2mpvO",video:"shows-area_video__Siqhd","generic-event-content":"shows-area_generic-event-content__PLxoi","generic-event-vid":"shows-area_generic-event-vid__gxUno","placeholder-wrapper":"shows-area_placeholder-wrapper__Ix3AR","generic-event-img":"shows-area_generic-event-img___7Tzh","generic-event-text-wrapper":"shows-area_generic-event-text-wrapper__9slTk","generic-event-name":"shows-area_generic-event-name__CAD_b","text-wrapper":"shows-area_text-wrapper__cmkIS",price:"shows-area_price__HKMKW",part:"shows-area_part__15bdQ",num:"shows-area_num__puP1i",currency:"shows-area_currency__oFhLa","sold-out":"shows-area_sold-out__g6eoJ","gradient-overlay":"shows-area_gradient-overlay__0_kST","hover-text-wrapper":"shows-area_hover-text-wrapper__UXm99","heading-wrapper":"shows-area_heading-wrapper__vCOjY",actions:"shows-area_actions__WriuA","heading-text":"shows-area_heading-text__y_VYl","heading-link":"shows-area_heading-link__NWkhw","shows-area-wrapper":"shows-area_shows-area-wrapper__TSiPW"}}}]);

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.