PageSourceSearch

https://www.taiwannews.com.tw/_next/static/chunks/app/%5Blocale%5D/page-b6b0a74431ba5756.js

js taiwannews.com.tw collected 2026-09-24 08:28:02 UTC 3,267 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5061],{50338:function(e,o,n){Promise.resolve().then(n.bind(n,31113)),Promise.resolve().then(n.bind(n,44678)),Promise.resolve().then(n.bind(n,84395)),Promise.resolve().then(n.bind(n,55916)),Promise.resolve().then(n.bind(n,77966)),Promise.resolve().then(n.bind(n,26179)),Promise.resolve().then(n.bind(n,68510)),Promise.resolve().then(n.bind(n,37367)),Promise.resolve().then(n.bind(n,12339)),Promise.resolve().then(n.bind(n,55996)),Promise.resolve().then(n.bind(n,30165)),Promise.resolve().then(n.bind(n,10575)),Promise.resolve().then(n.t.bind(n,65878,23)),Promise.resolve().then(n.t.bind(n,72972,23)),Promise.resolve().then(n.t.bind(n,9074,23)),Promise.resolve().then(n.t.bind(n,32576,23))},31113:function(e,o,n){"use strict";n.d(o,{default:function(){return r}});var t=n(57437),l=n(61994),i=n(2265);let s=e=>{let{id:o,name:n,size:s,className:r,type:a,isTaiwanNews:c,pubg:d}=e,g=JSON.parse(s),u=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=()=>{if(window.googletag&&window.googletag.apiReady)console.log("GPT 已準備好,開始定義廣告槽...");else{console.warn("GPT 尚未完全載入,重試..."),setTimeout(e,200);return}if(document.getElementById(o))console.log("Ad container #".concat(o," found."));else{console.warn("Ad container #".concat(o," not found."));return}window.googletag.cmd.push(()=>{let e=window.googletag.pubads(),t=e.getSlots().find(e=>e.getSlotElementId()===o);if(t&&(console.log("Destroying existing slot:",t),window.googletag.destroySlots([t]),u.current=!1),u.current){console.log("Slot #".concat(o," already defined, skipping."));return}let l="/".concat((null==d?void 0:d.video)?"8095840,22552344537":d?"8095840":"22552344537","/").concat(c?"TaiwanNews/":"").concat(n);console.log("Defining slot for adId: ".concat(o,", Path: ").concat(l,", Size: ").concat(g));let i=window.googletag.defineSlot(l,g,o);console.log("slot:",i),i?(i.addService(e),e.enableSingleRequest(),e.collapseEmptyDivs(),u.current=!0,document.getElementById(o)?(console.log("Calling googletag.display for #".concat(o)),window.googletag.display(o)):console.warn("div#".concat(o," not found when calling display"))):console.error("Failed to define slot for #".concat(o))})};return e(),()=>{window.googletag&&window.googletag.cmd.push(()=>{let e=window.googletag.pubads().getSlots().find(e=>e.getSlotElementId()===o);e&&(console.log("Destroying slot #".concat(o," on unmount.")),window.googletag.destroySlots([e]),u.current=!1)})}},[o,n,s,c,d]),(0,t.jsx)("div",{id:o,style:{minWidth:"".concat(Array.isArray(g[0])?g[0][0]:g[0],"px"),minHeight:"".concat(Array.isArray(g[0])?g[0][1]:g[1],"px")},className:(0,l.Z)(r,"desktop"===a?"lg:block hidden":"mobile"===a?"block lg:hidden":"")})};function r(e){return(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)("div",{className:"min-w-[300px] min-h-[250px] bg-gray-100 flex items-center justify-center text-gray-500",children:"Loading Ad..."}),children:(0,t.jsx)(s,{...e})})}},9074:function(e){e.exports={style:{fontFamily:"'__Lora_c1a059', '__Lora_Fallback_c1a059'",fontStyle:"normal"},className:"__className_c1a059"}}},function(e){e.O(0,[5654,8571,2029,4588,3510,9748,9064,5878,6217,6324,1353,696,642,5916,8822,2971,2117,1744],function(){return e(e.s=50338)}),_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.