PageSourceSearch

https://www.videotage.org.hk/_next/static/chunks/pages/date/[dateOrder]-20d198fdbfd4639f.js

js videotage.org.hk collected 2026-10-02 10:26:10 UTC 3,286 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1274],{8353:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/date/[dateOrder]",function(){return r(8864)}])},2884:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(9815),n=r(9403),i=r(7568),o=r(6042),s=r(655),u=r(120);function c(){return(c=(0,i.Z)(function(e){var t,r,a,n,i,c,d,h,l,f,p,g,v,x;return(0,s.__generator)(this,function(s){switch(s.label){case 0:return r=void 0===(t=e.perPage)?15:t,n=void 0===(a=e.pageParam)?1:a,c=void 0===(i=e.orderby)?"hl":i,h=void 0===(d=e.order)?"DESC":d,f=void 0===(l=e.signal)?null:l,p="".concat("https://api.videotage.org.hk/wp-json/wp/v2/","posts/home?posts_per_page=").concat(r,"&page=").concat(n||1,"&orderby=").concat(c,"&order=").concat(h),(0,u.LE)(p),[4,fetch(p,{signal:f}).catch(u.S3)];case 1:if(!(null==(g=s.sent())?void 0:g.ok))return[2,Promise.reject(JSON.stringify(g))];return[4,g.json()];case 2:return(x=s.sent().map(function(e,t){return(0,o.Z)({},e)})).length&&"hl"==c&&(x=(0,u.Sy)(x,3)),[2,(0,o.Z)({result:x},(0,u.gL)({pageParam:n}))]}})})).apply(this,arguments)}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["home"],t=arguments.length>1?arguments[1]:void 0,r=t.perPage,i=void 0===r?15:r,o=t.orderby,s=void 0===o?"hl":o,u=t.order,d=void 0===u?"DESC":u;return(0,n.N)((0,a.Z)(e),function(e){var t=e.pageParam;return function(e){return c.apply(this,arguments)}({pageParam:void 0===t?1:t,perPage:i,orderby:s,order:d})},{getNextPageParam:function(e,t){if(e.result.length)return e.nextPage},staleTime:1/0,cacheTime:1/0})}},1635:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var a=r(5893),n=r(9008),i=r.n(n),o=r(1088),s=r(1163);function u(e){e.title,e.tips;var t=(0,s.useRouter)(),r=t.asPath;if(r.indexOf("/web/subpage.php")>-1){var n=r.split("?")[1],u=new URLSearchParams(n).get("mid");switch(u){case"34":t.push("/vmac");break;case"35":t.push("/about");break;case"36":t.push("/about#structure");break;case"28":t.push("/news")}}return r.indexOf("/web/contact.php")>-1&&t.push("/"),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i(),{children:(0,a.jsx)("title",{children:"Not Found | \n        ".concat("Videotage","\n      ")})}),(0,a.jsx)(o.Z,{title:"404",tips:"The page is unfortunately not found"})]})}},8864:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return l}});var a=r(5893),n=r(1343),i=r(6405);r(1163);var o=r(2884),s=r(120),u=r(7644),c=r(9136),d=r(1635),h=function(e){var t=e.dateOrder,r=(0,o._)(["home","date",t],{perPage:15,orderby:"date",order:(0,s.l9)({query:t})}),h=r.data,l=r.fetchNextPage,f=r.hasNextPage,p=r.isLoading,g=r.isFetching,v=r.isFetchingNextPage,x=r.isError;if(r.status,p)return(0,a.jsx)(c.Z,{});if(!h)return(0,a.jsx)(d.default,{title:"Error",tips:"The page is unfortunately failed to load"});if(x)return(0,a.jsx)(d.default,{});var P=h.pages;return(0,a.jsxs)("main",{children:[g||v?(0,a.jsx)(c.Z,{float:!0}):null,(0,a.jsx)(u.Z,{title:"Home"}),(0,a.jsx)(n.Z,{orderby:"date",order:(0,s.l9)({query:t}),showTitle:!1}),(0,a.jsx)(i.Z,{data:P,fetchNextPage:l,hasNextPage:f,isFetchingNextPage:v,featured:!0},t)]})};h.layout="LayoutGrid";var l=!0;t.default=h}},function(e){e.O(0,[2236,9174,6405,1343,9774,2888,179],function(){return e(e.s=8353)}),_N_E=e.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.