PageSourceSearch

https://web-static.linetv.tw/release-fargate/public/dist/ScheduleChannelList-a27a29f7-prod.js

js linetv.tw collected 2026-10-01 11:40:38 UTC 6,523 bytes, 2 lines download raw bytes

1/*! For license information please see ScheduleChannelList-a27a29f7-prod.js.LICENSE.txt */
2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[773],{66510:function(e){e.exports=function(){"use strict";var e="undefined"!=typeof document&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var a=t.querySelector("img"),r=!1;null===a&&(a=document.createElement("img"),r=!0),e&&t.getAttribute("data-iesrc")&&(a.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(a.alt=t.getAttribute("data-alt")),r&&t.append(a)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var n=t.children,l=void 0,o=0;o<=n.length-1;o++)(l=n[o].getAttribute("data-src"))&&(n[o].src=l);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var i=",";if(t.getAttribute("data-background-delimiter")&&(i=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(i).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var s=t.getAttribute("data-background-image-set").split(i),d=s[0].substr(0,s[0].indexOf(" "))||s[0];d=-1===d.indexOf("url(")?"url("+d+")":d,1===s.length?t.style.backgroundImage=d:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+d+"; background-image: -webkit-image-set("+s+"); background-image: image-set("+s+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function a(e){e.setAttribute("data-loaded",!0)}var r=function(e){return"true"===e.getAttribute("data-loaded")},n=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return e instanceof Element?[e]:e instanceof NodeList?e:t.querySelectorAll(e)};return function(){var e,l,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s=Object.assign({},t,i),d=s.root,c=s.rootMargin,u=s.threshold,g=s.load,m=s.loaded,v=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(v=new IntersectionObserver((e=g,l=m,function(t,n){t.forEach(function(t){(0<t.intersectionRatio||t.isIntersecting)&&(n.unobserve(t.target),r(t.target)||(e(t.target),a(t.target),l(t.target)))})}),{root:d,rootMargin:c,threshold:u}));for(var b,f=n(o,d),h=0;h<f.length;h++)(b=f[h]).getAttribute("data-placeholder-background")&&(b.style.background=b.getAttribute("data-placeholder-background"));return{observe:function(){for(var e=n(o,d),t=0;t<e.length;t++)r(e[t])||(v?v.observe(e[t]):(g(e[t]),a(e[t]),m(e[t])))},triggerLoad:function(e){r(e)||(g(e),a(e),m(e))},observer:v}}}()},67206:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(96540),n=a(66510),l=a.n(n);function o(e=".lazyload",t){const[a,n]=(0,r.useState)(null);return(0,r.useEffect)(()=>{const a=l()(e,t);return n(a),()=>{a.observer.disconnect()}},[e,t]),(0,r.useCallback)(()=>{"function"==typeof(null==a?void 0:a.observe)&&a.observe()},[a])}},77649:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>p});var r=a(96540),n=a(61225),l=a(56347),o=a(86663),i=a(67206),s=a(71747),d=a(92763),c=a(87927),u=a(46942),g=a.n(u),m=a(68921),v=a(27301);const b=({item:e,targetDrama:t,targetType:a,isCurrentChannel:n,channelPlayingText:l,handleOnClick:o})=>{const{currentDrama:i,infoData:s}=(0,r.useContext)(v.A);return r.createElement("li",{className:"cursor-pointer px-4 py-3 hover:bg-linetv-grey-800 lg:px-5",onClick:t=>{t.preventDefault(),o.channel(s,i,e)}},r.createElement("div",{className:"flex text-linetv-high-emphasis"},r.createElement("figure",{className:"aspect-ratio aspect-ratio--16x9 w-24 flex-none rounded-px-lg bg-linetv-grey-700"}
2,(null==e?void 0:e.scheduleType)===m.a7.LIVE?r.createElement("img",{src:(null==t?void 0:t.horizontalPosterUrl)||(null==e?void 0:e.horizontalPosterUrl),alt:e.title,className:"aspect-ratio-content object-cover",loading:"lazy"}):t&&r.createElement("img",{src:t.horizontalPosterUrl||e.horizontalPosterUrl,alt:e.title,className:"aspect-ratio-content object-cover",loading:"lazy"}),!t&&a===m.eu.CHANNEL_OPEN_SHOW_NOT_STARTED&&r.createElement("img",{src:e.horizontalPosterUrl,alt:e.title,className:"aspect-ratio-content object-cover",loading:"lazy"})),r.createElement("div",{className:"ml-3 line-clamp-1 flex flex-col justify-center break-all"},r.createElement("h3",{className:g()("flex-none truncate text-16 font-500",n&&"text-linetv-primary")},e.title),r.createElement("p",{className:"flex-none truncate text-14 text-linetv-medium-emphasis"},t&&(null==e?void 0:e.scheduleType)===m.a7.LIVE?t.dramaName&&`${t.dramaName}`:l))))},f=r.memo(b),h=()=>{const e=(0,l.W6)(),{fastId:t}=(0,l.g)(),{fastChannels:a}=(0,n.d4)(e=>e.fastChannels),{currentDrama:u,infoData:g,channelHashMap:m,currentType:b,tempPrevChannelTable:h}=(0,r.useContext)(v.A),p=(0,i.A)();(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,r.useEffect)(()=>{p()},[p]);const A={channel:(t,a,r)=>{var n;let l="";const i=(0,s.A)(r),d={type:"link",source:"FAST_TV",drama_id:null==i||null===(n=i.targetDrama)||void 0===n?void 0:n.dramaId.toString(),source_drama_id:null==a?void 0:a.dramaId.toString(),placement_title:null==r?void 0:r.title,tv_id:null==r?void 0:r.id.toString(),source_tv_id:null==t?void 0:t.id.toString(),schedule_type:null==r?void 0:r.scheduleType.toUpperCase(),source_schedule_type:null==t?void 0:t.scheduleType.toUpperCase()};l=`/fast_channel/${null==r?void 0:r.id}?${(0,o.stringify)(d)}
2`,String(null==t?void 0:t.id)!==String(null==r?void 0:r.id)&&(0,c.SV)(c.o5.CHANGE_CHANNEL),e.push(l)}},y=(0,r.useMemo)(()=>null!=g&&g.id&&t===String(null==g?void 0:g.id)?u:null,[u,t,g]);return r.createElement("div",{className:"otherChannel flex flex-col"},r.createElement("ul",{className:"lg:always-show-scrollbar bg-linetv-grey-900 lg:absolute lg:inset-0 lg:top-[50px] lg:mr-[1px]"},a.map(e=>{var a,n;const l=String(null==e?void 0:e.id)===t,o=l?y:null===(a=m.get(null==e?void 0:e.id))||void 0===a?void 0:a.targetDrama,i=l?b:null===(n=m.get(null==e?void 0:e.id))||void 0===n?void 0:n.targetType,s=h[null==e?void 0:e.id]||(0,d.A)(i,o);return r.createElement(f,{key:`fast_channels_${e.id}`,item:e,targetDrama:o,targetType:i,isCurrentChannel:l,handleOnClick:A,channelPlayingText:s})})))};h.defaultProps={channelData:[],infoData:{}};const p=h}}]);

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.