PageSourceSearch

https://www.i24news.tv/static/js/7892.69e4d45b.chunk.js

js i24news.tv collected 2026-10-02 02:18:15 UTC 10,533 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunki24news_reader=globalThis.webpackChunki24news_reader||[]).push([[7892],{93125(e,a,r){r.d(a,{A:()=>b});r(65043);var l=r(74596),s=r(96182),t=r(65173),c=r.n(t),n=(r(85556),r(40970)),i=r(29157),o=r(93089),u=r(70579);const h={large:"large"},d=(0,i.A)(o.A),p=e=>{var a;let{selectContent:r,article:t,locale:c,trackEvent:i,position:o,size:p="default",variant:g="default",lazy:v=!0,sponsoredTitle:f=null,presentedTitle:A=null}=e;return(0,u.jsx)("div",{className:`article-list-vertical size-${p}`,children:(0,u.jsx)(l.A,{href:t.frontendUrl,"aria-label":d(c)("label",{title:null!==A&&void 0!==A?A:t.title}),variant:"block",onClick:()=>r(o,i,t),children:(0,u.jsxs)("div",{className:"article-list-vertical-wrapper",children:[(0,u.jsx)("div",{className:"cover-wrapper",children:(0,u.jsx)(n.A,{article:t,lazy:v,size:h[p],variant:"squared"===g?g:"default",locale:c})}),(0,u.jsx)(s.A,{article:t,locale:c,size:p,variant:["author-full-date","author"].includes(g)?g:"default",sponsoredTitle:null!==f&&void 0!==f?f:t.isSponsored?null!==(a=t.sponsoredTitle)&&void 0!==a?a:d(c)("sponsored"):null,presentedTitle:A})]})})})};(p.Placeholder=e=>{let{size:a="default",variant:r="default"}=e;return(0,u.jsx)("div",{className:`article-list-vertical placeholder size-${a}`,children:(0,u.jsxs)("div",{className:"article-list-vertical-wrapper",children:[(0,u.jsx)(n.A.Placeholder,{variant:r,size:h[a]}),(0,u.jsx)(s.A.Placeholder,{size:a})]})})}).propTypes={size:c().oneOf(["large","default","small"]),variant:c().oneOf(["squared","default"])};const g=p;
1var v=r(83003),f=r(20045),A=r(28188);const b=(0,v.Ng)((e=>({locale:e.router.locale})),(e=>({selectContent:(0,f.A)(e,A.qT)})))(g)},93089(e,a,r){r.d(a,{A:()=>l});const l={english:{label:'Read "{{ title }}" article.',sponsored:"Partnership"},french:{label:'Lisez l\'article "{{ title }}".',sponsored:"Partenariat"},arabic:{label:'\u0627\u0642\u0631\u0623 \u0627\u0644\u0645\u0642\u0627\u0644 "{{ title }}".',sponsored:"\u0645\u0645\u0648\u0644"},hebrew:{label:'\u05e7\u05e8\u05d0 "{{ title }}" \u05db\u05ea\u05d1\u05d4',sponsored:"\u05d1\u05e9\u05d9\u05ea\u05d5\u05e3"},persian:{label:'\u0645\u0642\u0627\u0644\u0647 "{{ title }}" \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f.',sponsored:"\u0634\u0631\u0627\u06a9\u062a"}}},21625(e,a,r){r.r(a),r.d(a,{default:()=>z});var l=r(65043);const s="SearchPanel_search-form-wrapper__TYQuy",t="SearchPanel_search-results-wrapper__iJzXy";var c=r(20045);const n="SearchForm_wrapper__KKYm5",i="SearchForm_results-summary__4LhB8";var o=r(29157);var u=r(33981);r(85556);const h="SearchInput_input-wrapper__C1+4e",d="SearchInput_input__Fo7pD",p="SearchInput_icon-wrapper__0fdLA";var g=r(5353),v=r(76435),f=r(34138),A=r(70579);const b=l.forwardRef(((e,a)=>{let{value:r="",isSearching:l=!1,onChange:s,onFocus:t,label:c,"aria-label":n}=e;return(0,A.jsxs)("div",{children:[(0,A.jsx)(f.A,{htmlFor:"search-input",children:c}),(0,A.jsxs)("div",{className:h,children:[(0,A.jsx)("input",{ref:a,id:"search-input",className:d,"aria-label":n,value:r,onChange:e=>{s&&s(e.target.value)},onFocus:t}),(0,A.jsx)("div",{className:p,children:l?(0,A.jsx)(v.A,{color:"white"}):(0,A.jsx)(g.A,{})})]})]})})),x=(0,o.A)({english:{searchResultNoKeyword:"{{ total }} articles found",searchResult:'{{ total }} articles found for "{{ keyword }}"',searchLabel:"Search on i24NEWS",searchDescription:"Type a keyword to start searching"},french:{searchResultNoKeyword:"{{ total }} articles found",searchResult:'{{ total }} articles found for "{{ keyword }}"',searchLabel:"Rechercher sur i24NEWS",searchDescription:"Ins\xe9rez un mot-cl\xe9 pour lancer la recherche"},arabic:{searchResultNoKeyword:"{{ total }} articles found",searchResult:'{{ total }} articles found for "{{ keyword }}"',searchLabel:"\u0627\u0644\u0628\u062d\u062b \u0641\u064a i24NEWS",searchDescription:"\u0627\u0643\u062a\u0628 \u0643\u0644\u0645\u0629 \u0623\u0633\u0627\u0633\u064a\u0629 \u0644\u0628\u062f\u0621 \u0627\u0644\u0628\u062d\u062b"},hebrew:{searchResultNoKeyword:"{{ total }} \u05db\u05ea\u05d1\u05d5\u05ea \u05e0\u05de\u05e6\u05d0\u05d5",searchResult:'{{ total }} \u05db\u05ea\u05d1\u05d5\u05ea \u05e0\u05de\u05e6\u05d0\u05d5 \u05e2\u05d1\u05d5\u05e8 "{{ keyword }}"',searchLabel:"\u05d7\u05e4\u05e9 \u05d1-i24NEWS",searchDescription:"\u05dc\u05d7\u05e5 \u05e2\u05dc \u05ea\u05d5 \u05dc\u05d4\u05ea\u05d7\u05d9\u05dc \u05d1\u05d7\u05d9\u05e4\u05d5\u05e9"},persian:{searchResultNoKeyword:"{{ total }} \u0645\u0642\u0627\u0644\u0647 \u06cc\u0627\u0641\u062a \u0634\u062f",searchResult:'{{ total }} \u0645\u0642\u0627\u0644\u0647 \u0628\u0631\u0627\u06cc "{{ keyword }}" \u06cc\u0627\u0641\u062a \u0634\u062f',searchLabel:"\u062f\u0631 i24NEWS \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f",searchDescription:"\u0628\u0631\u0627\u06cc \u0634\u0631\u0648\u0639 \u062c\u0633\u062a\u062c\u0648 \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f"}}),_=e=>{let{locale:a,total:r,search:s,isFetching:t}=e;const c=(0,l.useRef)(null),[o,h]=(0,l.useState)("");return(0,l.useEffect)((()=>{s(o,1)}),[o]),(0,l.useEffect)((()=>{c.current&&c.current.focus()}),[]),(0,A.jsxs)("div",{className:n,children:[(0,A.jsx)(b,{value:o,onChange:h,isSearching:t,ref:c,label:x(a)("searchLabel"),"aria-label":x(a)("searchDescription")}),(0,u.A)(o)?(0,A.jsx)("p",{className:i,children:x(a)("searchResultNoKeyword",{total:r})}):(0,A.jsx)("p",{className:i,children:x(a)("searchResult",{total:r,keyword:o})})]})};var j=r(83003),N=r(86810);const m=(0,j.Ng)((e=>({locale:e.router.locale,total:e.search.total,isFetching:e.search.isFetching})),(e=>({search:(0,c.A)(e,N.search)})))(_),w="SearchResults_wrapper__dgyui",P="SearchResults_results-wrapper__t4NEh",y="SearchResults_result__uS7HL";var R=r(93125),C=r(73581);const S=e=>{let{fetch:a,currentPage:r,totalPages:l,articles:s}=e;return(0,A.jsxs)("section",{className:w,children:[(0,A.jsx)("div",{className:P,children:s.map(((e,a)=>(0,A.jsx)("div",{className:y,children:(0,A.jsx)(R.A,{article:e,lazy:a>5,trackEvent:"search",position:a},e.id)},e.id)))}),(0,A.jsx)(C.A,{totalPages:l,currentPage:r,onChangePage:a})]})},k=(0,j.Ng)((e=>({articles:e.search.articles,currentPage:e.search.page,totalPages:Math.ceil(e.search.total/e.search.size)})),(e=>({fetch:(0,c.A)(e,N.fetch)})))(S);var L=r(43602);const z=()=>(0,A.jsxs)(L.A,{reducers:["search"],epics:["search"],children:[(0,A.jsx)("div",{className:s,children:(0,A.jsx)(m,{})}),(0,A.jsx)("div",{className:t,children:(0,A.jsx)(k,{})})]})},73581(e,a,r){r.d(a,{A:()=>S});
1var l=r(83003),s=(r(65043),r(29157));const t={english:{label:"Pagination navigation",currentPagelabel:"Current page, page {{ page }}",pageLabel:"Page {{ page }}",previous:"Previous",next:"Next"},french:{label:"Navigation par pagination",currentPagelabel:"Page actuelle, page 1",pageLabel:"Page {{ page }}",previous:"Pr\xe9c\xe9dent",next:"Suivant"},arabic:{label:"\u0627\u0644\u062a\u0646\u0642\u0644 \u0628\u064a\u0646 \u0627\u0644\u0635\u0641\u062d\u0627\u062a",currentPagelabel:"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062d\u0627\u0644\u064a\u0629\u060c \u0627\u0644\u0635\u0641\u062d\u0629 {{ page }}",pageLabel:"\u0635\u0641\u062d\u0629 {{ page }}",previous:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062a\u0627\u0644\u064a"},hebrew:{label:"\u05e0\u05d9\u05d5\u05d5\u05d8 \u05de\u05e1\u05e4\u05e8\u05d9 \u05d3\u05e4\u05d9\u05dd",currentPagelabel:"\u05d4\u05e2\u05de\u05d5\u05d3 \u05d4\u05e0\u05d5\u05db\u05d7\u05d9, \u05e2\u05de\u05d5\u05d3 {{ page }}",pageLabel:"\u05e2\u05de\u05d5\u05d3 {{ page }}",previous:"\u05d4\u05e7\u05d5\u05d3\u05dd",next:"\u05d4\u05d1\u05d0"},persian:{label:"\u067e\u06cc\u0645\u0627\u06cc\u0634 \u0635\u0641\u062d\u0647 \u0628\u0646\u062f\u06cc",currentPagelabel:"\u0635\u0641\u062d\u0647 \u0641\u0639\u0644\u06cc\u060c \u0635\u0641\u062d\u0647 {{ page }}",pageLabel:"\u0635\u0641\u062d\u0647 {{ page }}",previous:"\u0642\u0628\u0644\u06cc",next:"\u0628\u0639\u062f\u06cc"}};var c=r(48434);const n="Page_item__RmRQF",i="Page_current__qfsjV";r(85556);var o=r(70579);const u=(0,s.A)(t),h=e=>{let{locale:a,onClick:r,page:l,children:s,isCurrentPage:t=!1}=e;return(0,o.jsx)("li",{"aria-label":t?u(a)("currentPageLabel",{page:l}):u(a)("pageLabel",{page:l}),"aria-current":t,className:`${n} ${t?i:""}`,children:(0,o.jsx)(c.A,{onClick:()=>r(l),children:s})})},d=(0,l.Ng)((e=>({locale:e.router.locale})))(h),p="CursorPagination_wrapper__2EC7W",g="CursorPagination_list__+Wpv5";var v=r(8761),f=r(75377),A=r(52527),b=r(20045),x=r(32259),_=r(82130),j=r(7573),N=r(64136);const m=(0,j.A)((function(e,a){if(e===a)return e;function r(e,a){if(e<a!==a<e)return a<e?a:e}var l=r(e,a);if(void 0!==l)return l;var s=r(typeof e,typeof a);if(void 0!==s)return s===typeof e?e:a;var t=(0,N.A)(e),c=r(t,(0,N.A)(a));return void 0!==c?c===t?e:a:e}));var w=r(31940);const P=(0,s.A)(t),y=(e,a)=>(0,v.A)((0,f.A)(A.A,2),(e=>(0,f.A)(e,(0,b.A)((0,x.A)(0),(0,f.A)(e+4))(a))),(0,x.A)(1))(e),R=(e,a)=>(0,v.A)(y,(e=>(0,w.A)(e,((e,a)=>(0,v.A)((0,_.A)(4),m(a))(e))(e,a)+1)))(e,a),C=e=>{let{locale:a,totalPages:r,currentPage:l,onChangePage:s}=e;return r>1?(0,o.jsx)("nav",{role:"navigation","aria-label":P(a)("label"),className:p,children:(0,o.jsxs)("ul",{className:g,children:[l>1?(0,o.jsx)(d,{page:l-1,onClick:s,children:P(a)("previous")}):null,R(l,r).map((e=>(0,o.jsx)(d,{page:e,onClick:s,isCurrentPage:e===l,children:e},e))),l<r?(0,o.jsx)(d,{page:l+1,onClick:s,children:P(a)("next")}):null]})}):null},S=(0,l.Ng)((e=>({locale:e.router.locale})))(C)},43602(e,a,r){r.d(a,{A:()=>d});var l=r(20045),s=r(33981),t=r(8761),c=r(96637),n=r(83003),i=r(53975),o=r(96277),u=r(70579);const h=(0,t.A)((0,o.y3)((e=>{let{reducers:a,epics:r,loadResources:l}=e;return l(a,r)})))((e=>{let{children:a,areResourcesLoaded:r}=e;return r?(0,u.jsx)(u.Fragment,{children:a}):null})),d=(0,n.Ng)(((e,a)=>{let{reducers:r=[],epics:l=[]}=a;return{areResourcesLoaded:(0,s.A)((0,c.A)(e.lazyResources.reducers,r))&&(0,s.A)((0,c.A)(e.lazyResources.epics,l))}}),(e=>({loadResources:(0,l.A)(e,i._H)})))(h)},31940(e,a,r){r.d(a,{A:()=>t});var l=r(7573),s=r(73607);const t=(0,l.A)((function(e,a){if(!(0,s.A)(e)||!(0,s.A)(a))throw new TypeError("Both arguments to range must be numbers");for(var r=e<a?Math.ceil(a-e):0,l=Array(r),t=0;t<r;)l[t]=t+e,t+=1;return l}))},96637(e,a,r){r.d(a,{A:()=>c});var l=r(7573),s=r(22216),t=r(76173);const c=(0,l.A)((function(e,a){for(var r=new s.A,l=0;l<e.length;l+=1)r.add(e[l]);return(0,t.A)(r.has.bind(r),a)}))}}]);
2//# sourceMappingURL=7892.69e4d45b.chunk.js.map

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.