PageSourceSearch

https://web-static.linetv.tw/release-fargate/public/dist/AuthModalResult-1b99160d-prod.js

js linetv.tw collected 2026-10-01 11:41:54 UTC 4,536 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5427],{12857:(e,t,l)=>{l.r(t),l.d(t,{default:()=>E});var r=l(96540),a=l(61225),s=l(56347),n=l(58865),o=l(71942),i=l(94395),c=l(68921),u=l(28633),_=l(7029),m=l(8029),d=l(98672);const S=Object.freeze({SIGNIN_AVOD:"SIGNIN_AVOD",SIGNUP:"SIGNUP",KKTV_AVOD_HAS_NO_BOUND_LINE:"KKTV_AVOD_HAS_NO_BOUND_LINE",KKTV_AVOD_HAS_BOUND_LINE:"KKTV_AVOD_HAS_BOUND_LINE"}),E=(0,a.Ng)(null,{closeAuthModal:o.gs})(({closeAuthModal:e})=>{var t;const l=(0,s.W6)(),o=(0,a.d4)(i.tY),E=(0,a.d4)(e=>Boolean(e.deviceType.isMobile)),N=(0,a.d4)(i.T_),p=null!==(t=sessionStorage.getItem(c.Jm.IS_SIGNUP_FLOW))&&void 0!==t&&t,I=(0,r.useMemo)(()=>{var e,t;return null!==(e=null==N||null===(t=N.social)||void 0===t?void 0:t.some(e=>"kktv"===e.provider))&&void 0!==e&&e},[null==N?void 0:N.social]),b=(0,r.useMemo)(()=>{var e,t;return null!==(e=null==N||null===(t=N.social)||void 0===t?void 0:t.some(e=>"line"===e.provider))&&void 0!==e&&e},[null==N?void 0:N.social]),U=(({isVip:e,isSignup:t,isKKTV:l,hasBoundLine:r})=>l&&!e?r?S.KKTV_AVOD_HAS_BOUND_LINE:S.KKTV_AVOD_HAS_NO_BOUND_LINE:t?S.SIGNUP:S.SIGNIN_AVOD)({isVip:o,isSignup:p,isKKTV:I,hasBoundLine:b}),y=(e=>{const t={imgSrc:`${n.A}/svg/auth_permission.svg`,header:"登入 LINE TV",title:"登入成功",subTitle:"歡迎回來!即刻升級 VIP",secondarySubTitle:"享受高畫質、無廣告的影音體驗。",primaryButton:"看看優惠方案",secondaryButton:"立即追劇",source:"USER_LOGIN_SUCCESS",primaryUrl:"/purchase/vip?source=USER_LOGIN_SUCCESS",secondaryPurchaseUrl:"/",primaryCallback:void 0};switch(e){case S.SIGNUP:return{...t,header:"註冊 LINE TV",title:"註冊成功",subTitle:"恭喜您成為 LINE TV 的一員!",secondarySubTitle:"即刻升級 VIP 享受高畫質無廣告的影音體驗。",source:"USER_REGISTER_SUCCESS",primaryUrl:"/purchase/vip?source=USER_REGISTER_SUCCESS"};case S.KKTV_AVOD_HAS_NO_BOUND_LINE:return{...t,title:r.createElement(r.Fragment,null,"登入成功,",r.createElement("span",{className:"block md:inline"},"歡迎加入 LINE TV!")),header:"登入 LINE TV",subTitle:"邀請您綁定 LINE 帳號,下次登入更方便。",primaryButton:"綁定 LINE 帳號",secondaryButton:"立即追劇",source:"USER_REGISTER_SUCCESS",primaryUrl:"/",primaryCallback:()=>{d.A.startOauthFlow(u.xn)},secondaryPurchaseUrl:"/"};case S.KKTV_AVOD_HAS_BOUND_LINE:return{...t,title:r.createElement(r.Fragment,null,"登入成功,",r.createElement("span",{className:"block md:inline"},"歡迎加入 LINE TV!")),header:"登入 LINE TV",subTitle:"查看新手導覽,快速掌握主要功能。",secondarySubTitle:"",primaryButton:"新手導覽",secondaryButton:"立即追劇",source:"USER_REGISTER_SUCCESS",primaryUrl:"https://hi.kktv.to/836haw",secondaryPurchaseUrl:"/"};default:return t}})(U),T=({buttonTitle:t,url:r,callback:a})=>{p&&sessionStorage.removeItem(c.Jm.IS_SIGNUP_FLOW),(0,_.rs)({button_title:t,button_id:m.QM,button_loc:y.source}),r.startsWith("/")?l.push(r):window.open(r,"_blank"),null==a||a(),e()};return(0,r.useEffect)(()=>{let e="user_login_success";o&&(e="user_vip_login_success"),p&&(e="user_register_success"),(0,_.$)({placement_title:e})},[]),r.createElement(r.Fragment,null,r.createElement("div",{className:"absolute right-2.5 top-2.5 flex md:right-6 md:top-7"},r.createElement("button",{type:"button",className:"material-icons icon_web_close text-linetv-grey-100",onClick:()=>{p&&sessionStorage.removeItem(c.Jm.IS_SIGNUP_FLOW),(0,_.rs)({button_title:"",button_id:m.pr,button_loc:y.source}),e()}})),r.createElement("div",{className:"AuthModal-main justify-between pb-4 md:pb-7"},!E&&r.createElement("header",{className:"AuthModal-header flex-none"},y.header),r.createElement("figure",{className:"flex-none text-center leading-none"},r.createElement("img",{src:y.imgSrc,alt:""})),r.createElement("div",{className:"flex-none"},r.createElement("p",{className:"text-20 font-700 text-linetv-high-emphasis"},y.title),r.createElement("p",{className:"mt-3 text-14 text-linetv-medium-emphasis md:text-16"},y.subTitle," ",r.createElement("br",null)," ",y.secondarySubTitle),r.createElement("button",{onClick:()=>T({buttonTitle:y.primaryButton,url:y.primaryUrl,callback:y.primaryCallback}),type:"button",className:"btn--primary mt-4 block w-full md:mt-8"},y.primaryButton),y.secondaryButton&&r.createElement("button",{onClick:()=>T({buttonTitle:y.secondaryButton,url:y.secondaryPurchaseUrl}),type:"button",className:"btn--secondary mt-4 w-full md:mt-3"},y.secondaryButton))))})}}]);

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.