PageSourceSearch

https://altatv.com/_next/static/chunks/app/layout-860ce524f3310f4a.js

js altatv.com collected 2026-10-02 00:27:36 UTC 10,911 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185,3424],{94781:function(e,t,n){var o={"./en-US.json":[43424,3424],"./zh-TW.json":[14678,4678]};function i(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],i=t[0];return n.e(t[1]).then(function(){return n.t(i,19)})}i.keys=function(){return Object.keys(o)},i.id=94781,e.exports=i},89683:function(e,t,n){Promise.resolve().then(n.t.bind(n,88003,23)),Promise.resolve().then(n.t.bind(n,96140,23)),Promise.resolve().then(n.bind(n,15600)),Promise.resolve().then(n.bind(n,40410)),Promise.resolve().then(n.bind(n,2697)),Promise.resolve().then(n.bind(n,46913)),Promise.resolve().then(n.t.bind(n,2778,23))},40410:function(e,t,n){"use strict";n.d(t,{default:function(){return r}});var o=n(2265);class i{static getInstance(e){return i.instance||(i.instance=new i(e)),i.instance}init(){this.initialized||this.injectScript(()=>{var e,t,n,o;null===(e=(t=window).fbq)||void 0===e||e.call(t,"init",this.pixelId),null===(n=(o=window).fbq)||void 0===n||n.call(o,"track","PageView"),this.initialized=!0})}track(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.initialized||"function"!=typeof window.fbq){console.warn("[FacebookPixel] Not initialized.");return}let n={...t,...this.getUserDataFromCookie()};window.fbq("track",e,n)}trackCustom(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.initialized||"function"!=typeof window.fbq){console.warn("[FacebookPixel] Not initialized.");return}let n={...t,...this.getUserDataFromCookie()};window.fbq("trackCustom",e,n)}injectScript(e){if(document.querySelector('script[src="/meta-pixel.js"]')){null==e||e();return}let t=document.createElement("script");t.src="/meta-pixel.js",t.async=!0,t.onload=()=>{null==e||e()},document.head.appendChild(t)}getUserDataFromCookie(){let e=document.cookie.split(";").reduce((e,t)=>{let[n,o]=t.trim().split("=");return n&&o&&(e[n]=decodeURIComponent(o)),e},{}),t={};return e._fbp&&(t.fbp=e._fbp),e._fbc&&(t.fbc=e._fbc),t}constructor(e){this.initialized=!1,this.pixelId=e}}var r=()=>((0,o.useEffect)(()=>{let e=()=>{i.getInstance("1013500374046337").init()},t=window.requestIdleCallback;"function"==typeof t?t(e,{timeout:3e3}):setTimeout(e,2e3)},[]),null)},2697:function(e,t,n){"use strict";n.d(t,{J:function(){return d},LangProvider:function(){return l}});
1var o=n(57437),i=n(2265),r=n(79441),a=n(40493),c=n(39141),u=n(43424);let s=(0,i.createContext)({locale:c.ZW,switchLang:()=>{}}),l=e=>{let{children:t}=e,[n,l]=(0,i.useState)(c.ZW),[d,f]=(0,i.useState)(u);return(0,i.useEffect)(()=>{let e=(0,c.jR)("en-US")||c.ZW;"undefined"!=typeof document&&document.cookie.split("; ").some(e=>e.startsWith("lang="))||localStorage.getItem("lang")||(0,a.fV)(e),l(e),(0,c.EV)(e).then(f)},[]),(0,o.jsx)(s.Provider,{value:{locale:n,switchLang:e=>{let t=(0,c.jR)(e);t&&c.Hs.includes(t)&&((0,a.fV)(t),l(t),(0,c.EV)(t).then(f))}},children:(0,o.jsx)(r.Z,{locale:n,messages:d,timeZone:"America/Los_Angeles",children:t})})},d=()=>(0,i.useContext)(s)},46913:function(e,t,n){"use strict";n.d(t,{default:function(){return f}});var o=n(57437),i=n(13959),r=n(2651),a=n(99376),c=n(2265),u=n(67565),s=()=>{let e=(0,a.usePathname)();(0,c.useEffect)(()=>{"/app/payresult"===e||"/store"===e||null===u.ls||void 0===u.ls||u.ls.remove("APP_USERINFO")},[e])},l=n(51181),d=n(47847);function f(e){let{children:t}=e;s(),(0,c.useEffect)(()=>{(0,l.QS)(),(0,l._R)();let e=(0,l.ej)("channel");e&&("facebook"===e.toLocaleLowerCase()||"tiktok"===e.toLocaleLowerCase()&&function(){if(window.ttq)return;let e=window,t=document;e.TiktokAnalyticsObject="ttq";let n=e.ttq=e.ttq||[];n.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],n.setAndDefer=function(e,t){e[t]=function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];e.push([t].concat(o))}};for(let e=0;e<n.methods.length;e++)n.setAndDefer(n,n.methods[e]);n.instance=function(e){let t=n._i[e]||[];for(let e=0;e<n.methods.length;e++)n.setAndDefer(t,n.methods[e]);return t},n.load=function(e,o){var i;let r="https://analytics.tiktok.com/i18n/pixel/events.js";n._i=n._i||{},n._i[e]=[],n._i[e]._u=r,n._t=n._t||{},n._t[e]=+new Date,n._o=n._o||{},n._o[e]=o||{};let a=t.createElement("script");a.async=!0,a.src="".concat(r,"?sdkid=").concat(e,"&lib=").concat("ttq");let c=t.getElementsByTagName("script")[0];null===(i=c.parentNode)||void 0===i||i.insertBefore(a,c)},n.load("CU7L4UJC77U60BODO1J0"),n.page()}())},[]);let n=(0,a.usePathname)();return!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,c.useEffect)(()=>{if(!e||!(null===u.ls||void 0===u.ls?void 0:u.ls.get("USERINFO")))return;let t=(0,u.QA)(),n=Date.now();(!t||n-t>864e5)&&(0,d.g$)().then(()=>{(0,u.Zm)(n)}).catch(e=>{console.error("refresh token failed:",e)})},[e])}(!!n&&!["/app","/activity"].some(e=>n.startsWith(e))),(0,o.jsx)(i.ZP,{theme:{algorithm:r.Z.darkAlgorithm,token:{fontFamily:"var(--font-poppins-regular), system-ui, ui-sans-serif, sans-serif"}},children:t})}},39141:function(e,t,n){"use strict";n.d(t,{EV:function(){return c},Hs:function(){return r},ZW:function(){return o},jR:function(){return a},um:function(){return i}});let o="en-US",i=[{code:"en-US",label:"English"},{code:"zh-TW",label:"中文繁体"}],r=i.map(e=>e.code),a=e=>{if(!e)return;let t=e.toLowerCase().replace("_","-"),n=r.find(e=>e.toLowerCase()===t);return n?n:r.find(e=>e.toLowerCase().startsWith(t+"-"))||(e="zh-CN","zh-TW")},c=async e=>{let t=a(e)||o;try{return(await n(94781)("./".concat(t,".json"))).default}catch(e){return(await n(94781)("./".concat(o,".json"))).default}}},47847:function(e,t,n){"use strict";n.d(t,{Di:function(){return m},IR:function(){return d},JK:function(){return u},Q4:function(){return l},Qb:function(){return g},Z3:function(){return p},ZA:function(){return h},Zf:function(){return r},b7:function(){return c},bx:function(){return v},et:function(){return k},fN:function(){return a},fw:function(){return y},g$:function(){return w},pC:function(){return s},u9:function(){return i},x8:function(){return b},xt:function(){return f}});var o=n(3538);async function i(e,t){return(0,o.Z)("/api/callback/google/node/login",{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:e,...t||{}})}async function r(e,t){return(0,o.Z)("/api/apple/login",{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:e,...t||{}})}async function a(e,t){return(0,o.Z)("/api/facebook/login",{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:e,...t||{}})}async function c(e,t){return(0,o.Z)("/api/app/user/feedback",{method:"post",data:e,...t||{}})}async function u(e,t){return(0,o.Z)("/api/app/video/favourite/page",{method:"get",data:e,...t||{}})}async function s(e,t){return(0,o.Z)("/api/app/video/favourite/remove",{method:"post",data:e,...t||{}})}async function l(e,t){return(0,o.Z)("/history/getHistory",{method:"get",data:e,...t||{}})}async function d(e,t){return(0,o.Z)("/api/app/video/favourite/add",{method:"post",data:e,...t||{}})}async function f(e,t){return(0,o.Z)("/history/delHistory",{method:"post",data:e,headers:{"Content-Type":"application/x-www-form-urlencoded"},...t||{}})}async function p(e,t){return(0,o.Z)("/api/app/user/email/sendVerifyCode",{method:"post",data:e,headers:{"Content-Type":"application/x-www-form-urlencoded"},...t||{}})}async function m(e,t){return(0,o.Z)("/api/app/user/email/registerAndLogin",{method:"post",data:e,...t||{}})}async function h(e,t){return(0,o.Z)("/api/app/user/email/login",{method:"post",data:e,...t||{}})}async function g(e,t){return(0,o.Z)("/api/app/user/email/password/resetAndLogin",{method:"post",data:e,...t||{}})}async function w(e,t){return(0,o.Z)("/api/app/user/token/refresh",{method:"post",data:e,...t||{}})}async function y(e,t){return(0,o.Z)("/api/app/user/info",{method:"get"})}async function v(e,t){return(0,o.Z)("/api/app/subscription/payment/materials/check",{method:"get",data:e,headers:{"Content-Type":"application/x-www-form-urlencoded"},...t||{}})}async function k(e,t){return(0,o.Z)("/api/app/subscription/payment/materials/submit",{method:"post",data:e,...t||{}})}async function b(e,t){return(0,o.Z)("/api/app/user/client/third/event/report/check",{method:"post",data:e,headers:{"Content-Type":"application/x-www-form-urlencoded"},...t||{}})}},51181:function(e,t,n){"use strict";n.d(t,{QS:function(){return i},_R:function(){return a},ej:function(){return r}});var o=n(28397);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:7,t=arguments.length>1?arguments[1]:void 0,n=new URLSearchParams(window.location.search);if(Number(n.get("fromType"))===o.gu.webDl){let o=new Date;o.setTime(o.getTime()+864e5*e);let i=o.toUTCString();
1n.forEach((e,n)=>{(!t||t.includes(n))&&(document.cookie="".concat(n,"=").concat(encodeURIComponent(e),"; expires=").concat(i,"; path=/; SameSite=Lax"))}),document.cookie="decodeLink=".concat(encodeURIComponent(window.location.href).replace(/\{/g,"%7B").replace(/\}/g,"%7D"),"; expires=").concat(i,"; path=/; SameSite=Lax"),document.cookie="user_agent=".concat(encodeURIComponent(navigator.userAgent).replace(/\(/g,"%28").replace(/\)/g,"%29"),"; expires=").concat(i,"; path=/; SameSite=Lax")}}function r(e){let t=document.cookie.match(RegExp("(?:^|;\\s*)"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:7,t=document.cookie.split(";"),n=new Date;n.setTime(n.getTime()+864e5*e);let o=n.toUTCString();t.forEach(e=>{let[t,n]=e.split("=");if(!t||!n)return;let i=t.trim(),r=n.trim();["title","channel","videoId","videoItemId","feature","campaignName","linkId","decodeLink","ttclid","unlockStrategyParam","rechargePanelParam","decodeLink","user_agent","af_adset_id","af_ad_id","af_c_id","campaign","utm_campaign","utm_adset","utm_ad"].includes(i)&&(document.cookie="".concat(i,"=").concat(r,"; expires=").concat(o,"; path=/; SameSite=Lax"))})}},40493:function(e,t,n){"use strict";n.d(t,{eX:function(){return a},fV:function(){return c}});var o=n(39141);let i="lang",r=()=>{if("undefined"==typeof document)return;let e=document.cookie.split("; ").find(e=>e.startsWith("".concat(i,"=")));return null==e?void 0:e.split("=")[1]},a=()=>{let e=(0,o.jR)(r()),t=(0,o.jR)(localStorage.getItem(i)||void 0),n=(0,o.jR)(navigator.language);return e||t||n||"en-US"},c=e=>{let t=(0,o.jR)(e);if(t)return"undefined"!=typeof document&&(document.cookie="".concat(i,"=").concat(t,"; path=/; max-age=").concat(31536e3)),localStorage.setItem(i,t),t}},2778:function(){},43424:function(e){"use strict";e.exports=JSON.parse('{"Download":"Download"}')}},function(e){e.O(0,[718,828,9573,9441,9015,3625,2971,2117,1744],function(){return e(e.s=89683)}),_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.