PageSourceSearch

https://www.ajnet.me/static/js/components/video-article/videoPageDispatcher~6e6dca10.d387822d.r2.chunk.js

js ajnet.me collected 2026-10-02 04:55:39 UTC 9,969 bytes, 1 lines download raw bytes

1(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[22],{"4gXw":function(e,i,t){},IhaD:function(e,i,t){"use strict";t.d(i,"a",(function(){return u}));var n=t("202e"),a=t("dQgG"),l=t("B1Rb"),d=t.n(l),o=t("VBdi"),r=t.n(o),c=t("96Qw"),s=t("/Qav");function u(e){return i=>{const t=(e=>{return e.article?"article-".concat(e.article.id):e.category?"".concat(e.category):e.feedDetails&&e.curatedFeedQuery?"homepage-curated-feed":(null===e||void 0===e?void 0:e.history)?null===e||void 0===e||null===(i=e.history)||void 0===i||null===(t=i.location)||void 0===t?void 0:t.pathname:"No PageId found.";var i,t})(i),l=Object(c.useHistory)(),u=Object(o.useContext)(s.a),[m,v]=Object(o.useState)(!1),f=u.getScrollState(t),p=(null===f||void 0===f?void 0:f.scrollPosition)||0,k="POP"===(null===l||void 0===l?void 0:l.action),[g,S]=Object(o.useState)(!1),h=()=>{k&&p>0&&a.canUseDOM&&window.scrollTo(0,p)};(e=>{let{pageId:i,humanScrolled:t}=e;const a=Object(o.useContext)(s.a);Object(o.useEffect)(()=>{const e=d()(()=>{if(t){const e=a.getScrollState(i);a.setScrollState(i,Object(n.a)(Object(n.a)({},e),{},{scrollPosition:window.scrollY}))}},250);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[i,t,a])})({pageId:t,humanScrolled:g}),Object(o.useEffect)(()=>{const e=["keydown","DOMMouseScroll","wheel"];e.forEach(e=>{document.addEventListener(e,b)});const i=setTimeout(h,500);return()=>{e.forEach(e=>{document.removeEventListener(e,b)}),clearTimeout(i)}},[]);const b=e=>{"wheel"===e.type&&0===e.which&&S(!0)};Object(o.useEffect)(()=>{if(k&&m&&p>0){const e=setTimeout(h,0);return()=>{clearTimeout(e)}}},[m]);const w=Object(n.a)(Object(n.a)({},i),{},{scrollState:f,renderedCallback:()=>{m||v(!0)},updateScrollPageState:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u.setScrollState(t,Object(n.a)(Object(n.a)({},u.getScrollState(t)),e))}});return r.a.createElement(e,w)}}},KY5H:function(e,i,t){"use strict";var n=t("202e"),a=t("FQxg"),l=t("AAFT"),d=t.n(l),o=t("VBdi"),r=t.n(o),c=t("YSgp"),s=t.n(c),u=t("9N7U"),m=t("18NH");i.a=e=>{let{style:i="full-width",postType:t,classname:l,menuSlug:o="",analyticsMetaProps:c={},additionalNavigationContent:v=null}=e;const{loading:f,error:p,data:k}=Object(a.b)(s.a,{variables:{name:null!==o&&void 0!==o?o:"article-fallback-menu"}});if(f||p||!k)return null;const g=Object(u.Jb)(null===k||void 0===k?void 0:k.menu),S=null===g||void 0===g?void 0:g.items,h=null===S||void 0===S?void 0:S[0],b=S.slice(1),w=(null===S||void 0===S?void 0:S.length)>0,E=d()("curated-sticky-nav-menu",l);return r.a.createElement(m.a,{menu:b,isSticky:w,displayedTitle:null===h||void 0===h?void 0:h.title,displayedTitleLink:null===h||void 0===h?void 0:h.url,style:i,postType:t,skipPageMeta:!0,skipSectionMeta:!0,classes:[E],analyticsMetaProps:Object(n.a)({module:"subNavFallback"},c),additionalNavigationContent:v})}},ObAp:function(e,i,t){"use strict";var n=t("VBdi"),a=t.n(n),l=t("96Qw"),d=t("kXcp"),o=t("z6bU"),r=t("ZEv9");i.a=e=>{let{isVideoPage:i,siteSection:t,isSingleArticlePage:c}=e;const s=Object(l.useLocation)(),u=(null===s||void 0===s?void 0:s.hash)||"",m=u.includes(o.a+"-"),[v,f]=Object(n.useState)(m),p=Object(n.useMemo)(()=>{const e="#".concat(o.a,"-");if(!u.startsWith(e))return null;const i=u.slice(e.length),[t,n]=i.split(":");if(!t)return null;const a=parseFloat(n);return{id:t,startTime:isNaN(a)?0:a}},[]),k=Object(n.useMemo)(()=>i?"vertical-videos/video-live-page":c?"vertical-videos/article-page":"vertical-videos",[i,c]);return p&&Object(d.b)(k)?a.a.createElement(r.a,{isModalOpen:v,initialVideo:p,initialVideoList:[p],onModalClose:()=>{f(!1)},siteSection:t}):null}},OwhS:function(e,i){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"VideoThumbnail"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"featuredImage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sizes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sizeNames"}
1,value:{kind:"ListValue",values:[{kind:"StringValue",value:"arc-image-16-9-270",block:!1},{kind:"StringValue",value:"arc-image-16-9-730",block:!1}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"crop"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:161}};var n={};function a(e,i){for(var t=0;t<e.definitions.length;t++){var n=e.definitions[t];if(n.name&&n.name.value==i)return n}}t.definitions.forEach((function(e){if(e.name){var i=new Set;!function e(i,t){if("FragmentSpread"===i.kind)t.add(i.name.value);else if("VariableDefinition"===i.kind){var n=i.type;"NamedType"===n.kind&&t.add(n.name.value)}i.selectionSet&&i.selectionSet.selections.forEach((function(i){e(i,t)})),i.variableDefinitions&&i.variableDefinitions.forEach((function(i){e(i,t)})),i.definitions&&i.definitions.forEach((function(i){e(i,t)}))}(e,i),n[e.name.value]=i}})),e.exports=t,e.exports.VideoThumbnail=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,d=new Set,o=new Set;for(l.forEach((function(e){o.add(e)}));o.size>0;){var r=o;o=new Set,r.forEach((function(e){d.has(e)||(d.add(e),(n[e]||new Set).forEach((function(e){o.add(e)})))}))}return d.forEach((function(i){var n=a(e,i);n&&t.definitions.push(n)})),t}(t,"VideoThumbnail")},T2V2:function(e,i){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"explainerWidgetDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"explainerWidget"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"posts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"postType"},name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"explainerTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"termTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"termLink"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:225}};var n={};function a(e,i){for(var t=0;t<e.definitions.length;t++){var n=e.definitions[t];if(n.name&&n.name.value==i)return n}}t.definitions.forEach((function(e){if(e.name){var i=new Set;!function e(i,t){if("FragmentSpread"===i.kind)t.add(i.name.value);else if("VariableDefinition"===i.kind){var n=i.type;"NamedType"===n.kind&&t.add(n.name.value)}i.selectionSet&&i.selectionSet.selections.forEach((function(i){e(i,t)})),i.variableDefinitions&&i.variableDefinitions.forEach((function(i){e(i,t)})),i.definitions&&i.definitions.forEach((function(i){e(i,t)}))}(e,i),n[e.name.value]=i}})),e.exports=t,e.exports.explainerWidgetDetails=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,d=new Set,o=new Set;for(l.forEach((function(e){o.add(e)}));o.size>0;){var r=o;o=new Set,r.forEach((function(e){d.has(e)||(d.add(e),(n[e]||new Set).forEach((function(e){o.add(e)})))}))}return d.forEach((function(i){var n=a(e,i);n&&t.definitions.push(n)})),t}(t,"explainerWidgetDetails")},Xo00:function(e,i,t){},"fKI+":function(e,i,t){"use strict";var n=t("VBdi"),a=t.n(n),l=t("xAi6"),d=t("kXcp"),o=t("HXpp");t("4gXw");i.a=()=>Object(d.b)("advertisements/status")&&Object(d.b)("wallpaper-ad/status")?a.a.createElement("div",{id:"wallpaper-ad",className:"wallpaper-ad small","data-testid":"wallpaper-ad"},a.a.createElement("div",{className:"wallpaper-ad--wrapper"},a.a.createElement("div",{id:"wallpaper-ad--left",className:"wallpaper-ad--left","data-testid":"wallpaper-ad--left"}),a.a.createElement("div",{id:"wallpaper-ad--right",className:"wallpaper-ad--right","data-testid":"wallpaper-ad--right"})),a.a.createElement(o.a,{adUnit:"/5287/aljazeera_china/desktop_wallpaper_1x1",bannerType:l.b.wallpaper,hideTitle:!0})):null},trUi:function(e,i,t){"use strict";var n=t("VBdi"),a=t.n(n),l=t("OtuB"),d=t("CX3F");t("Xo00");i.a=e=>{let{article:i,label:t,isAmp:n}=e;return a.a.createElement("header",{className:"article-header"},a.a.createElement(d.b,{breaking:i.isBreaking,customContent:i.postLabel,developing:i.isDeveloping,featuredSource:i.source,ignoreFeaturedSource:!0,live:i.isLive,series:i.series,type:i.postType,size:"large",link:i.link,label:t,eventTarget:i.link,isAmp:n}),a.a.createElement(l.a,{article:i,isAmp:n}),a.a.createElement("h1",null,i.title),i.subheading&&a.a.createElement("p",{className:"article__subhead"},a.a.createElement("em",null,i.subheading)))}},z6bU:function(e,i,t){"use strict";t.d(i,"b",(function(){return a})),t.d(i,"a",(function(){return l})),t.d(i,"c",(function(){return d}));const n=/\/\d+x\d+\//gm,a=(e,i)=>{if(!e||!window||!i)return e;const t=e.match(n);if(!(null===t||void 0===t?void 0:t[0]))return e;const a=t[0],[l,d]=a.replace(/\//gm,"").split("x"),o=Math.min(window.devicePixelRatio||1,2),r=Math.ceil(i*o),c=l/d,s=Math.ceil(c*r);return e.replace(a,"/".concat(s,"x").concat(r,"/"))},l="flips",d=e=>{const i=new Set;return e.filter(e=>!(!(null===e||void 0===e?void 0:e.id)||i.has(e.id))&&(i.add(e.id),!0))}}}]);

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.