PageSourceSearch

https://web-static.linetv.tw/release-fargate/public/dist/HeaderMobile-f3d872e9-prod.js

js linetv.tw collected 2026-09-24 09:30:06 UTC 3,867 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5406],{13258:(e,t,s)=>{s.d(t,{A:()=>a});var o=s(96540),l=s(61225),n=s(84166),i=s(83656),r=s(82256);function a(){const[e,t]=(0,o.useState)({}),s=(0,l.d4)(e=>Boolean(e.deviceType.isMobile));return(0,o.useEffect)(async()=>{try{const e="linetv",o=s?i.eN[i.fS.MOBILE_WEB]:i.eN[i.fS.WEB],l=`${r.livebuyUrl}/widget/videos/count?source=${e}&dbsc=${o}`,a=await n.A.get(l);null!=a&&a.data&&t(null==a?void 0:a.data)}catch(e){console.error("[get livebuy count error]",e)}},[]),e}},35410:(e,t,s)=>{s.r(t),s.d(t,{default:()=>_});var o=s(96540),l=s(56347),n=s(54625),i=s(61225),r=s(46942),a=s.n(r),c=s(80243),u=s(13258),d=s(68921),m=s(7029),v=s(8029),h=s(58865),f=s(82489);const y=(0,c.Ay)({resolved:{},chunkName:()=>"SideBar",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(8669),s.e(1557)]).then(s.bind(s,58429)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>58429},{ssr:!1}),E=(0,c.Ay)({resolved:{},chunkName:()=>"SearchBar",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(4154),s.e(14),s.e(2882)]).then(s.bind(s,76332)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>76332}),b="升級VIP",_=({className:e,style:t})=>{const s=(0,i.d4)(e=>{var t;return null===(t=e.user.profile)||void 0===t?void 0:t.isVip}),r=(0,l.zy)(),[c,_]=(0,o.useState)(!1),[p,g]=(0,o.useState)(!1),[A,N]=(0,o.useState)(!0),x=(0,u.A)();return(0,o.useEffect)(()=>{_(!1)},[r]),(0,o.useEffect)(()=>{document.body.style.overflow=c||p?"hidden":null},[c,p]),(0,o.useEffect)(()=>{0!==Object.keys(x).length&&x.video_ids&&x.video_ids.length&&localStorage.getItem(d.t8.EC_CLICKED_TIME)!==(null==x?void 0:x.last_live_time)&&N(!1)},[x]),o.createElement("div",{className:a()("relative h-full",e),style:t},o.createElement("div",{className:"flex h-full flex-nowrap items-center px-4"},o.createElement(f.A,{isHidden:A,isPositionLeft:!0},o.createElement("button",{type:"button",title:"開啟導覽列",className:"icon_web_humbermenu mr-4 flex-none text-32 text-linetv-grey-100",onClick:()=>_(!0)})),o.createElement(n.N_,{className:"mr-4 h-6 w-32 flex-none object-contain",to:"/",alt:"LINE TV"},o.createElement("img",{src:`${h.A}/logo/logo_darktheme.svg`,className:"h-full w-auto",alt:"LINE TV"})),o.createElement("button",{type:"button",className:"icon_web_search ml-auto flex-none text-24 text-linetv-grey-100",title:"進行搜尋",onClick:()=>g(!0)}),!s&&o.createElement(n.N_,{className:"btn--primary-sm ml-3 flex-none",to:`/purchase/vip?source=${v.ZO.MOBILE_HEADER}`,onClick:()=>{(0,m.rs)({button_title:b,button_id:v.QM,button_loc:v.ZO.MOBILE_HEADER})}},b)),(c||p)&&o.createElement("div",{className:"fixed inset-0 z-40 bg-opacity-70",style:{backgroundColor:"rgba(0,0,0,0.6)"},onClick:()=>{_(!1),g(!1)}}),o.createElement(y,{show:c,livebuyData:x}),p&&o.createElement("div",{className:"absolute inset-0 z-50 flex items-center bg-linetv-background"},o.createElement(E,{className:"h-8 w-full",closeSearchBar:()=>g(!1),autoFocus:!0,isMobile:!0})))}},82489:(e,t,s)=>{s.d(t,{A:()=>l});const o=s(92568).Ay.div.withConfig({displayName:"DotBadge",componentId:"sc-1eoqwd0-0"})(["position:relative;display:inline-block;&::after{content:'';display:",";position:absolute;top:0;left:",";right:",";transform:translateY(-50%);width:4px;height:4px;background-color:var(--color-linetv-shock-pink);border-radius:9999px;}"],e=>e.isHidden?"none":"block",e=>e.isPositionLeft?"0":"100%",e=>e.isPositionLeft?"100%":"0");o.defaultProps={isHidden:!1};const l=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.