1(function(){"use strict";var e={3853:function(e,t,i){var a=i(9242),n=i(3396);function s(e,t,i,a,s,o){const r=(0,n.up)("router-view");return(0,n.wg)(),(0,n.j4)(r,null,{default:(0,n.w5)((({Component:e})=>[((0,n.wg)(),(0,n.j4)(n.Ob,{exclude:"SearchPage,MyAccountPage"},[((0,n.wg)(),(0,n.j4)((0,n.LL)(e)))],1024))])),_:1})}const o=e=>({event:e.registration?"signup_successful":"login_successful",data:{email:e.params.email,uid:e.params.uid,platform:"function"===typeof window.thgpiplatform?window.thgpiplatform():null}}),r=()=>{let e=new URL(window.location.href);null!==e.searchParams.get("redirecturl")?window.location.href=e.searchParams.get("redirecturl"):location.reload()};function l(e){const t=window.tp||[];t.push(["setSandbox",Boolean(!1)]),t.push(["addHandler","loginSuccess",e=>{"PIANOID"==e.source&&(window.dataLayer?.push(o(e)),r())}]),t.push(["addHandler","logout",()=>location.reload()]),window.th_ep.subscribed=e.subscribedUsersAction,window.th_ep.notSubscribed=e.notSubscribedUsersAction,window.th_ep.trialUsersAction=e.trialUsersAction}var d=l,c={name:"App",methods:{subscribedUsersAction(e){console.log("subscribed user"),this.$logger.debug("piano init... subscribe users action..."),this.$logger.debug("Before action: "+this.$store.state.auth.userType),this.$store.state.auth.userType="SUBCRIBE","number"==typeof e?window.$("#datepicker")?(window.$("#datepicker").datepicker("option","minDate",-e),this.$logger.debug("After action: "+this.$store.state.auth.userType)):console.log("Datepicker not found"):(window.$("#datepicker")&&window.$("#datepicker").datepicker("option","minDate",-180),this.$logger.debug("After action: "+this.$store.state.auth.userType))},notSubscribedUsersAction(){}
1,fireTrialUserEventAtFirst(){const e={detail:{type:"user_type",user_type:"TRIAL"}},t=new CustomEvent(e.detail.type,e),i=window.document.getElementsByTagName("iframe")[0]??null;null!==i?i.contentWindow.dispatchEvent(t):this.$logger.debug(`emitting ${e.detail.type} failed, iframe not mounted in DOM...`)},trialUsersAction(){this.$logger.debug("piano init... Trial users action..."),this.$logger.debug("Before action: "+this.$store.state.auth.userType),this.$store.state.auth.userType="TRIAL",this.fireTrialUserEventAtFirst(),window.$("#datepicker")&&window.$("#datepicker").datepicker("option","minDate",0),this.$logger.debug("After action: "+this.$store.state.auth.userType)}},created(){d({subscribedUsersAction:this.subscribedUsersAction,notSubscribedUsersAction:this.notSubscribedUsersAction,trialUsersAction:this.trialUsersAction})}},u=i(89);const p=(0,u.Z)(c,[["render",s]]);var h=p,g=i(2483);const m=(e,t,i)=>{document.title=e.meta.title??"The Hindu BusinessLine ePaper | Latest Business News and Financial Updates";const a=window.tp?.pianoId?.isUserValid();!a&&e.meta.auth?i("/reader"):i()},f=(e,t,i)=>{if(e.query.apptoken)try{return window.tp.pianoId.loginByToken(e.query.apptoken),i()}catch(a){console.log(a)}return i()};var v=i(7139);const w={key:0,class:"loader d-flex justify-content-center align-items-center"},b=(0,n._)("div",{class:"spinner-border",role:"status"},null,-1),y=[b],_={key:1,ref:"readerIframe"},k=["src"],I={key:2,class:"p-3 d-flex justify-content-center my-5"},S={key:0},L={key:3},D={key:0,class:"btnPos",id:"open_in_app"},U={key:0,class:"ios-button"},T={onclick:"window.location.href='https://businessline.page.link/DtUc';"},A=["src"],x=(0,n.Uk)(" Open in App"),E=["src"],C={key:1,class:"btnPos"},P={key:0,class:"ios-button"},O={onclick:"window.location.href='https://businessline.page.link/DtUc';"},N=["src"],H=(0,n.Uk)(" Open in App"),B=["src"],R=(0,n._)("div",{id:"curtain-raiser"},null,-1);function W(e,t,i,s,o,r){const l=(0,n.up)("side-bar-right"),d=(0,n.up)("side-bar-left"),c=(0,n.up)("the-header"),u=(0,n.up)("session-logout-prompt"),p=(0,n.up)("google-sign-in");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(l,{onRouteEvent:t[0]||(t[0]=e=>r.routeTo(e))}),(0,n.Wm)(d,{"menu-items":o.leftSidebarMenus},null,8,["menu-items"]),(0,n.Wm)(c),e.isLoading?((0,n.wg)(),(0,n.iD)("div",w,y)):(0,n.kq)("",!0),r.isIframeUrlNotNull?((0,n.wg)(),(0,n.iD)("div",_,[r.isIframeUrlNotNull?((0,n.wg)(),(0,n.iD)("iframe",{key:0,id:"reader-iframe",src:e.iframeUrl,frameborder:"0",onLoad:t[1]||(t[1]=(...e)=>r.registerIframeOnLoadActions&&r.registerIframeOnLoadActions(...e))},null,40,k)):(0,n.kq)("",!0)],512)):((0,n.wg)(),(0,n.iD)("div",I,[0==e.editionsList.length?((0,n.wg)(),(0,n.iD)("p",S," No issues available "+(0,v.zw)(e.region.title)+" for this date: "+(0,v.zw)(e.date),1)):(0,n.kq)("",!0)])),r.isIframeUrlNotNull?((0,n.wg)(),(0,n.iD)("div",L,[o.showCloseButton?((0,n.wg)(),(0,n.iD)("div",D,[o.isIOS?((0,n.wg)(),(0,n.iD)("button",U,[(0,n._)("div",null,[(0,n._)("span",T,[(0,n._)("img",{class:"apple",src:o.publicPath+"icons/apple.svg"},null,8,A),x]),(0,n._)("img",{onClick:t[2]||(t[2]=(...e)=>r.closeButton&&r.closeButton(...e)),class:"closeWhite",src:o.publicPath+"icons/closeWhite.svg"},null,8,E)])])):(0,n.kq)("",!0)])):(0,n.kq)("",!0),o.showCloseButton?((0,n.wg)(),(0,n.iD)("div",C,[o.isAndroid?((0,n.wg)(),(0,n.iD)("button",P,[(0,n._)("div",null,[(0,n._)("span",O,[(0,n._)("img",{class:"apple",src:o.publicPath+"icons/google-play.svg"},null,8,N),H]),(0,n._)("img",{onClick:t[3]||(t[3]=(...e)=>r.closeButton&&r.closeButton(...e)),class:"closeWhite",src:o.publicPath+"icons/closeWhite.svg"},null,8,B)])])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0),R,(0,n.wy)((0,n.Wm)(u,{device_info:e.devices_info},null,8,["device_info"]),[[a.F8,e.isSessionLimitExceeded]]),(0,n.Wm)(p)],64)}var $=i(65),M=i.p+"img/editions.9403ec86.svg",F=i.p+"img/down-arrow.a75fc54f.svg",j=i.p+"img/calendar.faf53787.svg",q=i.p+"img/profile.623ba063.svg",z=i.p+"img/menu.4c7b2b44.svg";const G=e=>((0,n.dD)("data-v-5824e274"),e=e(),(0,n.Cn)(),e),Y=G((()=>(0,n._)("div",{class:"modal-content bg-transparent border-0"},[(0,n._)("div",{class:"modal-header p-0"},[(0,n._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},[(0,n._)("img",{src:"/icons/close.svg",alt:"",srcset:""})])]),(0,n._)("div",{class:"modal-body p-0",id:"datepicker"}
1)],-1))),V={key:0,class:"modal-content"},Z={class:"container"},Q={class:"row justify-content-between flex-column"},K=["onClick"],J={key:1,class:"modal-content"},X={class:"container"},ee={class:"row justify-content-between p-3"},te={key:0,class:"modal-content"},ie={class:"container-sm"},ae={class:"row justify-content-evenly"},ne=["onClick"],se={class:"col cover-img"},oe=["src"],re={class:"col edition-name text-center"},le={key:1,class:"modal-content"},de={class:"container"},ce={class:"row justify-content-between p-3"},ue={class:"navbar navbar-light bg-white m-0",id:"nav-bar"},pe={class:"container-fluid"},he={href:"/reader",class:"navbar-brand"},ge=["src"],me=G((()=>(0,n._)("div",{id:"header-navbar-spacer"},null,-1))),fe={key:0,class:"menu-icon menu-separator searchIcon"},ve={href:"/search"},we={class:"d-flex menu-items"},be=G((()=>(0,n._)("span",{class:"prefix-icon"},[(0,n._)("img",{src:M,alt:""})],-1))),ye=["data-bs-toggle"],_e={class:"menu-text"},ke={key:0,class:"suffix-icon"},Ie=G((()=>(0,n._)("img",{src:F,alt:""},null,-1))),Se=[Ie],Le={class:"dropdown-menu","aria-labelledby":"editionListDropdown"},De={key:0},Ue=G((()=>(0,n._)("a",{class:"dropdown-item"},"No Editions",-1))),Te=[Ue],Ae=["onClick"],xe={key:1,class:"px-2 dropdown desktop-nav"},Ee=G((()=>(0,n._)("span",{class:"prefix-icon"},[(0,n._)("img",{src:M,alt:""})],-1))),Ce=["data-bs-toggle"],Pe={class:"menu-text"},Oe={key:0,class:"suffix-icon"},Ne=G((()=>(0,n._)("img",{src:F,alt:""},null,-1))),He=[Ne],Be={class:"dropdown-menu","aria-labelledby":"editionListDropdown"},Re={key:0},We=G((()=>(0,n._)("a",{class:"dropdown-item"},"No Editions",-1))),$e=[We],Me=["onClick"],Fe={class:"menu-text"},je=G((()=>(0,n._)("span",{class:"suffix-icon"},[(0,n._)("img",{src:F,alt:""})],-1))),qe={key:3,class:"px-2 dropdown desktop-nav","aria-hidden":"true","data-bs-toggle":"modal","data-bs-target":"#editionlistmodal",id:"hideEditionModal","data-toggle":"tooltip",title:"Choose Supplement"},ze={class:"menu-text"},Ge=G((()=>(0,n._)("span",{class:"suffix-icon"},[(0,n._)("img",{src:F,alt:""})],-1))),Ye={class:"px-2 desktop-nav","data-bs-toggle":"modal","data-bs-target":"#datepickermodal",id:"hideModal"},Ve=G((()=>(0,n._)("span",{class:"prefix-icon"},[(0,n._)("img",{src:j,alt:""})],-1))),Ze={class:"menu-text"},Qe=(0,n.uE)('<div class="px-2 menu-separator" id="myaccountBtn" aria-current="page" data-bs-toggle="offcanvas" data-bs-target="#rightSideDrawer" aria-controls="offcanvasNavbar" data-toggle="tooltip" title="My Account" data-v-5824e274><span class="prefix-icon" data-v-5824e274><img src="'+q+'" alt="" data-v-5824e274></span></div><div class="px-2" aria-hidden="true" data-bs-toggle="offcanvas" data-bs-target="#leftSideDrawer" id="leftDrawer" data-toggle="tooltip" title="Menu" data-v-5824e274><span class="prefix-icon" data-v-5824e274><img src="'+z+'" alt="" data-v-5824e274></span></div>',2);function Ke(e,t,i,a,s,o){const r=(0,n.up)("the-modal");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r,{"modal-id":"datepickermodal"},{default:(0,n.w5)((()=>[Y])),_:1}),(0,n.Wm)(r,{"modal-id":"regionlistmodal"},{default:(0,n.w5)((()=>[e.regionsList.length>0?((0,n.wg)(),(0,n.iD)("div",V,[(0,n._)("div",Z,[(0,n._)("div",Q,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.regionsList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:(0,v.C_)(["col-auto p-3 region m-1",{"region-active":t.id==e.region.id}]),onClick:e=>o.changeSelection(t,"reg"),key:t.id},(0,v.zw)(t.title),11,K)))),128))])])])):((0,n.wg)(),(0,n.iD)("div",J,[(0,n._)("div",X,[(0,n._)("div",ee," No Editions available for "+(0,v.zw)(e.date),1)])]))])),_:1}),(0,n.Wm)(r,{"modal-id":"editionlistmodal"},{default:(0,n.w5)((()=>[e.edition?((0,n.wg)(),(0,n.iD)("div",te,[(0,n._)("div",ie,[(0,n._)("div",ae,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.editionsList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:(0,v.C_)(["col-auto p-3 region m-1",{"region-active":t.id==e.edition.id}]),onClick:e=>o.changeSelection(t,"edi"),key:t.id},[(0,n._)("div",se,[(0,n._)("img",{src:t.thumbnail,alt:""},null,8,oe)]),(0,n._)("div",re,(0,v.zw)(t.id===e.region.id?"Main Edition":t.title.replace(/[a-zA-Z]+-/,"")),1)],10,ne)))),128))])])])):((0,n.wg)(),(0,n.iD)("div",le,[(0,n._)("div",de,[(0,n._)("div",ce," No Supplements available for "+(0,v.zw)(e.date),1)])]))])),_:1}),(0,n._)("nav",ue,[(0,n._)("div",pe,[(0,n._)("a",he,[(0,n._)("img",{class:"logo",src:s.logoPath,alt:""},null,8,ge)]),me,e.authStatus?((0,n.wg)(),(0,n.iD)("div",fe,[(0,n._)("a",ve,[(0,n._)("img",{src:"icons/search_button.png",width:"15",onClick:t[0]||(t[0]=e=>o.search())})])])):(0,n.kq)("",!0),(0,n._)("div",we,[e.authStatus?((0,n.wg)(),(0,n.iD)("div",xe,[Ee,(0,n._)("a",{class:"text-decoration-none dropdown-toggle",role:"button",id:"editionListDropdown","data-bs-toggle":e.regionsList?"dropdown":"","aria-expanded":"false","data-toggle":"tooltip",title:"Cho
1ose Edition"},[(0,n._)("span",Pe," Edition: "+(0,v.zw)(e.regionsList?e.region.title:"No Editions"),1),e.regionsList?((0,n.wg)(),(0,n.iD)("span",Oe,He)):(0,n.kq)("",!0)],8,Ce),(0,n._)("ul",Be,[0==e.regionsList.length?((0,n.wg)(),(0,n.iD)("li",Re,$e)):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.regionsList,(t=>((0,n.wg)(),(0,n.iD)("li",{key:t.id},[(0,n._)("a",{onClick:e=>o.changeSelection(t,"reg",!1),class:(0,v.C_)(["dropdown-item",{"region-active":t.id==e.region.id}])},(0,v.zw)(t.title),11,Me)])))),128))])])):((0,n.wg)(),(0,n.iD)("div",{key:0,class:"px-2 dropdown desktop-nav menu-separator",onClick:t[1]||(t[1]=(...e)=>o.showsignupScreen&&o.showsignupScreen(...e))},[be,(0,n._)("a",{class:"text-decoration-none dropdown-toggle",role:"button",id:"editionListDropdown","data-bs-toggle":e.regionsList?"dropdown":"","aria-expanded":"false","data-toggle":"tooltip",title:"Choose Edition"},[(0,n._)("span",_e," Edition: "+(0,v.zw)(e.regionsList?e.region.title:"No Editions"),1),e.regionsList?((0,n.wg)(),(0,n.iD)("span",ke,Se)):(0,n.kq)("",!0)],8,ye),(0,n._)("ul",Le,[0==e.regionsList.length?((0,n.wg)(),(0,n.iD)("li",De,Te)):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.regionsList,(t=>((0,n.wg)(),(0,n.iD)("li",{key:t.id},[(0,n._)("a",{onClick:e=>o.changeSelection(t,"reg",!1),class:(0,v.C_)(["dropdown-item",{"region-active":t.id==e.region.id}])},(0,v.zw)(t.title),11,Ae)])))),128))])])),e.authStatus?((0,n.wg)(),(0,n.iD)("div",qe,[(0,n._)("span",ze,(0,v.zw)(e.edition?e.edition.id===e.region.id?"Main Edition":e.edition.title.replace(/[a-zA-Z]+-/,""):"No Supplements"),1),Ge])):((0,n.wg)(),(0,n.iD)("div",{key:2,onClick:t[2]||(t[2]=(...e)=>o.showsignupScreen&&o.showsignupScreen(...e)),class:"px-2 dropdown desktop-nav","aria-hidden":"true","data-bs-toggle":"modal","data-bs-target":"#editionlistmodal",id:"hideEditionModal","data-toggle":"tooltip",title:"Choose Supplement"},[(0,n._)("span",Fe,(0,v.zw)(e.edition?e.edition.id===e.region.id?"Main Edition":e.edition.title.replace(/[a-zA-Z]+-/,""):"No Supplements"),1),je])),(0,n._)("div",Ye,[Ve,(0,n._)("span",Ze,(0,v.zw)(o.formattedDate),1)]),Qe])])])],64)}var Je=e=>{let t=new Date(e),i=new Intl.DateTimeFormat("en",{year:"numeric"}).format(t),a=new Intl.DateTimeFormat("en",{month:"short"}).format(t),n=new Intl.DateTimeFormat("en",{day:"2-digit"}).format(t);return`${a} ${n}, ${i}`};const Xe=["id"],et={class:"modal-dialog modal-dialog-centered justify-content-center"},tt={class:"modal-dialog"};function it(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",{class:"modal fade",id:i.modalId,tabindex:"-1","aria-hidden":"true"},[(0,n._)("div",et,[(0,n._)("div",tt,[(0,n.WI)(e.$slots,"default")])])],8,Xe)}var at={props:{modalId:{type:String,required:!0}}};const nt=(0,u.Z)(at,[["render",it]]);var st=nt;function ot(e,t){sessionStorage.setItem(e,t)}function rt(e){return null!==sessionStorage[e]?sessionStorage[e]:null}function lt(e){sessionStorage.removeItem(e)}function dt(){const e=new Date,t=new Date(e.toLocaleString("en-US",{timeZone:"Asia/Calcutta"}));return t.getHours()<5}const ct=()=>{const e=new Date,t=new Date(e.toLocaleString("en-US",{timeZone:"Asia/Calcutta"}));let i=0;return e.getDate()>t.getDate()&&(i=1),e.getDate()<t.getDate()&&(i=t.getHours()<5?0:1),e.getDate()===t.getDate()&&(i=t.getHours()<5?-1:0),console.log("maxDate",i),i};function ut(){var e=new Date((new Date).toLocaleString("en-US",{timeZone:"Asia/Calcutta"}));dt()&&e.setDate(e.getDate()-1);let t=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),i=new Intl.DateTimeFormat("en",{month:"2-digit"}).format(e),a=new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e);return`${t}-${i}-${a}`}var pt={components:{TheModal:st},data(){return{keywords:"",logoPath:"/logo/bl_epaper.svg",modals:[]}},computed:{...(0,$.Se)("reader",{date:"getDate",region:"getRegion",edition:"getEdition",regionsList:"getRegionsList",editionsList:"getEditionsList"}),...(0,$.Se)("auth",{userType:"getUserType",authStatus:"getAuthState"}),combined(){return[this.date,this.region,this.edition]},formattedDate(){return""!==this.date.trim()?Je(this.date):""},editionName(){const e=this.edition.title.split("-"),t=e.indexOf("EPaper");return-1!==t&&e.splice(t,1),1==e.length?e[0]:e.join("-")}},watch:{date(e){this.updateRegionsList(),this.updateEditionsList(),this.$logger.debug("date changed: "+e)},region(){this.updateEditionsList()},editionsList(){this.updateSelectedEdition()},combined(){this.changeIframeUrl()}},methods:{...(0,$.nv)("reader",["changeDate","changeRegion","changeEdition","updateRegionsList","updateEditionsList","updateSelectedEdition","changeIframeUrl","changeLoadingState"]),changeSelection(e,t){"reg"===t?this.changeSelectionAction(t,e,{modalId:"regionlistmodal",menuId:"#regionName"}):"edi"===t&&this.changeSelectionAction(t,e,{modalId:"editionlistmodal",menuId:"#editionName"})},changeSelectionAction(e,t,i){"reg"===e?(this.$logger.debug("Edition change action: "),this.region.id!==t.id&&(this.changeLoadingState(!0),lt("selectededition"),this.changeEdition(""),this.changeRegion(t),ot("selectedregion",JSON.stringify(t)))):(this.$logger.debug("Supplement change action: "),this.edition.id!==t.id&&(this.changeLoadingState(!0),this.changeEdition(t),ot("selectededition",JSON.stringify(t),0))),this.$logger.debug(t),this.modals[i.modalId].hide(),window.$(i.menuId).html(t.title)},search(){""!==this.keywords.trim()&&this.$router.push(`/search?q=${this.keywords}`)},registerModals(){const e=["regionlistmodal","editionlistmodal"];e.forEach((e=>{const t=document.getElementById(e),i=new window.bootstrap.Modal(t);this.modals[e]=i}))},showsignupScreen(){this.$store.dispatch("auth/signup")}},mounted(){this.registerModals();const e=document.getElementById("editionListDropdown"),t=document.getElementById("hideEditionModal"),i=document.getElementById("hideModal"),a=document.getElementById("myaccountBtn");
1[e,t,a].forEach((e=>{!1===window.tp?.pianoId?.isUserValid()&&(e.parentElement.classList.remove("dropdown"),e.removeAttribute("data-bs-toggle"))})),[e,t,i,a].forEach((e=>{e.onclick=e=>{!1===window.tp?.pianoId?.isUserValid()&&(e.preventDefault(),this.$store.dispatch("auth/login"))}}));var n=rt("selecteddate");window.$("#datepicker").datepicker({defaultDate:null!==n?n:new Date((new Date).toLocaleString("en-US",{timeZone:"Asia/Calcutta"})),changeMonth:!0,changeYear:!0,dateFormat:"yy-mm-dd",maxDate:0===ct()?0:1===ct()?1:-1,minDate:"TRIAL"===this.userType?0:null,onSelect:e=>{ot("selecteddate",e),lt("selectededition"),this.changeEdition(""),this.changeDate(e),window.$("#selectedDate").html(Je(e)),window.$("#hideModal").click()}})}};const ht=(0,u.Z)(pt,[["render",Ke],["__scopeId","data-v-5824e274"]]);var gt=ht;const mt=e=>((0,n.dD)("data-v-16b43436"),e=e(),(0,n.Cn)(),e),ft={class:"offcanvas offcanvas-end",tabindex:"-1",id:"rightSideDrawer","aria-labelledby":"offcanvasNavbarLabel"},vt={class:"offcanvas-body"},wt={class:"myaccount-top"},bt={class:"avatar"},yt={class:"user-info"},_t={class:"user-name"},kt={class:"user-email"},It={class:"myaccount-menus"},St={class:"nav flex-column"},Lt={class:"nav-item"},Dt={class:"d-flex p-1 border-bottom"},Ut=mt((()=>(0,n._)("div",{class:"p-2"},[(0,n._)("i",{class:"fa fa-chevron-right fa-fw","aria-hidden":"true"})],-1))),Tt={class:"nav-item"},At={class:"d-flex p-1 border-bottom"},xt=mt((()=>(0,n._)("div",{class:"p-2"},[(0,n._)("i",{class:"fa fa-chevron-right fa-fw","aria-hidden":"true"})],-1))),Et={class:"nav-item"},Ct=mt((()=>(0,n._)("div",{class:"p-2 flex-grow-1"},"LOGOUT",-1))),Pt=mt((()=>(0,n._)("div",{class:"p-2"},[(0,n._)("i",{class:"fa fa-chevron-right fa-fw","aria-hidden":"true"})],-1))),Ot=[Ct,Pt];function Nt(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",ft,[(0,n._)("div",vt,[(0,n._)("div",wt,[(0,n._)("div",bt,(0,v.zw)(o.userName[0].toUpperCase()),1),(0,n._)("div",yt,[(0,n._)("div",_t,(0,v.zw)(o.userName),1),(0,n._)("div",kt,(0,v.zw)(o.emailId),1)]),(0,n._)("a",{class:"btn btn-edit-profile",onClick:t[0]||(t[0]=e=>o.routeTo("myaccount"))},"Change Password")]),(0,n._)("div",It,[(0,n._)("ul",St,[(0,n._)("li",Lt,[(0,n._)("div",Dt,[(0,n._)("div",{class:"p-2 flex-grow-1",onClick:t[1]||(t[1]=e=>o.routeTo("myaccount"))},"MY PROFILE"),Ut])]),(0,n._)("li",Tt,[(0,n._)("div",At,[(0,n._)("div",{class:"p-2 flex-grow-1",onClick:t[2]||(t[2]=e=>o.routeTo("favourites"))},"MY FAVOURITE ARTICLES"),xt])]),(0,n._)("li",Et,[(0,n._)("div",{class:"d-flex p-1 border-bottom",onClick:t[3]||(t[3]=e=>this.$store.dispatch("auth/logout"))},Ot)])])])])])}var Ht={data(){return{userDetails:window.tp.pianoId.getUser()}},computed:{userName(){return null!==this.userDetails&&this.userDetails.firstName?this.userDetails.firstName.trim():"N/A"},emailId(){return null!==this.userDetails&&this.userDetails.email?this.userDetails.email:"N/A"}},methods:{routeTo(e){this.$emit("routeEvent",e)}}};const Bt=(0,u.Z)(Ht,[["render",Nt],["__scopeId","data-v-16b43436"]]);var Rt=Bt;const Wt=e=>((0,n.dD)("data-v-8a25b5ee"),e=e(),(0,n.Cn)(),e),$t={class:"offcanvas offcanvas-end",id:"leftSideDrawer","aria-labelledby":"offcanvasNavbarLabel"},Mt={class:"offcanvas-body"},Ft={class:"myaccount-menus"},jt={class:"nav flex-column"},qt={href:"/reader"},zt={class:"nav-item"},Gt={class:"p-3 flex-grow-1 border-bottom"},Yt=["src"],Vt=Wt((()=>(0,n._)("a",{class:"text-decoration-none"},[(0,n._)("li",{class:"nav-item"},[(0,n._)("div",{class:"p-3 flex-grow-1 border-bottom"},"HOME")])],-1))),Zt=[Vt],Qt={key:1},Kt=Wt((()=>(0,n._)("a",{href:"/reader",class:"text-decoration-none"},[(0,n._)("li",{class:"nav-item"},[(0,n._)("div",{class:"p-3 flex-grow-1 border-bottom"},"HOME")])],-1))),Jt=[Kt],Xt={class:"mobile-menus"},ei=Wt((()=>(0,n._)("div",{class:"p-3 flex-grow-1 border-bottom",id:"mobileDate","data-bs-toggle":"modal","data-bs-target":"#datepickermodal"},"CHANGE DATE",-1))),ti=[ei],ii=Wt((()=>(0,n._)("div",{class:"p-3 flex-grow-1 border-bottom","data-bs-toggle":"modal","data-bs-target":"#regionlistmodal",id:"hideRegionModal"},"CHANGE EDITION",-1))),ai=[ii],ni=Wt((()=>(0,n._)("div",{class:"p-3 flex-grow-1 border-bottom","data-bs-toggle":"modal","data-bs-target":"#editionlistmodal"},"CHANGE SUPPLEMENT",-1))),si=[ni],oi=["onClick"];function ri(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",$t,[(0,n._)("div",Mt,[(0,n._)("div",Ft,[(0,n._)("ul",jt,[(0,n._)("a",qt,[(0,n._)("li",zt,[(0,n._)("div",Gt,[(0,n._)("img",{style:{"max-width":"100%"},src:s.logoPath},null,8,Yt)])])]),e.authStatus?((0,n.wg)(),(0,n.iD)("div",Qt,Jt)):((0,n.wg)(),(0,n.iD)("div",{key:0,onClick:t[0]||(t[0]=(...e)=>o.showsignupScreen&&o.showsignupScreen(...e))},Zt)),(0,n._)("span",Xt,[(0,n._)("li",{class:"nav-item",onClick:t[1]||(t[1]=(...e)=>o.hideModal&&o.hideModal(...e))},ti),(0,n._)("li",{class:"nav-item",onClick:t[2]||(t[2]=(...e)=>o.hideModal&&o.hideModal(...e))},ai),(0,n._)("li",{class:"nav-item",onClick:t[3]||(t[3]=(...e)=>o.hideModal&&o.hideModal(...e))},si)]),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(i.menuItems,((i,a)=>((0,n.wg)(),(0,n.iD)("li",{class:"nav-item",key:a},[e.authStatus||"SEARCH"!==i.title||"MOST POPULAR ARTICLES"!==i.title?((0,n.wg)(),(0,n.iD)("div",{key:1,class:"p-3 flex-grow-1 border-bottom",onClick:e=>o.routeTo(i)},(0,v.zw)(i.title),9,oi)):((0,n.wg)(),(0,n.iD)("div",{key:0,class:"p-3 flex-grow-1 border-bottom",onClick:t[4]||(t[4]=(...e)=>o.showsignupScreen&&o.showsignupScreen(...e))},(0,v.zw)(i.title),1))])))),128))])])])])}var li={props:{menuItems:{type:Array,required:!0}},computed:{...(0,$.Se)("auth",{authStatus:"getAuthState"})},methods:{hideModal(){window.$("#leftDrawer").click()},routeTo(e){window.$("#leftDrawer").click(),setTimeout((()=>{e.routeEvent&&!e.newTab?this.$router.push(`/${e.href}`):window.open(e.href,"_blank").focus()}),90)},showsignupScreen(){this.$store.dispatch("auth/signup")}},data(){return{logoPath:"/logo/bl_epaper.svg"}}};const di=(0,u.Z)(li,[["render",ri],["__scopeId","data-v-8a25b5ee"]]);var ci=di;const ui=e=>((0,n.dD)("data-v-fe6a5a84"),e=e(),(0,n.Cn)(),e),pi={class:"popup-background"},hi={class:"popup"},gi=ui((()=>(0,n._)("div",{class:"title"}," Looks like you are already logged in from more than 5 devices! ",-1))),mi=ui((()=>(0,n._)("div",{class:"sub-text"}," To continue logging in, remove at least one device from the below list ",-1))),fi={class:"device-list"},vi={class:"device-info"},wi={class:"s-no"},bi=ui((()=>(0,n._)("span",{class:"icon"},null,-1))),yi={class:"device"},_i={class:"duration"},ki=["onClick"],Ii=ui((()=>(0,n._)("p",{class:"link"},[(0,n._)("a",{href:"https://www.thehindugroup.com/termsofuse.html",target:"_blank"}
1,"Terms & conditions"),(0,n._)("span",null,"Â Â |Â Â "),(0,n._)("a",{href:"https://forms.office.com/r/tz7UETzxUs",target:"_blank"},"Institutional Subscriber")],-1)));function Si(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",pi,[(0,n._)("div",hi,[(0,n._)("button",{class:"popup-close",onClick:t[0]||(t[0]=e=>this.$store.dispatch("auth/logout"))}," â "),gi,mi,(0,n._)("ul",fi,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(o.device_info_parsed,((e,t)=>((0,n.wg)(),(0,n.iD)("li",{key:t},[(0,n._)("div",vi,[(0,n._)("span",wi,(0,v.zw)(t+1),1),bi,(0,n._)("span",yi,[(0,n.Uk)((0,v.zw)(e.device)+" ",1),(0,n._)("span",_i,"Last active - "+(0,v.zw)(e.la),1)])]),(0,n._)("button",{class:"btn popup-btn",onClick:t=>o.sendDeleteRequest([e.payload],"single")}," Log out ",8,ki)])))),128))]),(0,n._)("button",{class:"btn popup-btn",onClick:t[1]||(t[1]=e=>o.sendDeleteRequest(o.device_info_parsed.map((e=>e.payload)),"all"))}," Log Out from all devices "),Ii])])}var Li=i(2827),Di=i.n(Li);const Ui=new(Di())("user-agent");var Ti={props:{device_info:{type:Array,required:!0}},computed:{device_info_parsed(){return this.device_info.map((e=>{const t=Object.keys(e)[0],i=Object.values(e)[0];return{device:this.getDeviceDetails(i.split(":")[1]),la:new Date(parseInt(t.split(":")[1])).toDateString(),key:i.split(":")[0],id:t,payload:{id:t,key:i.split(":")[0]}}}))}},methods:{...(0,$.nv)("reader",["resetSessionLimit"]),async sendDeleteRequest(e,t="single"){await fetch("/usersessions",{method:"POST",headers:{"X-Client-Auth":window?.tp?.pianoId?.getToken()},body:JSON.stringify({session_ids:e,type:t})}).then((e=>{e.ok&&this.resetSessionLimit()})).then((e=>console.log(e)))},getDeviceDetails(e){Ui.setUA(e);const t=Ui.getResult();let i=t.os.name??"Unknown OS";return t.os.version&&(i+=" "+t.os.version),t.browser.name&&(i+=" - "+t.browser.name),i}},mounted(){console.log("user agent details"),console.log(this.device_info.map((e=>this.getDeviceDetails(Object.values(e)[0]))))}};const Ai=(0,u.Z)(Ti,[["render",Si],["__scopeId","data-v-fe6a5a84"]]);var xi=Ai,Ei="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAABHNCSVQICAgIfAhkiAAAEDpJREFUeF7tnQd4VUUWxyeC0hIQSSCFXYUIIWEBJZANgophl950aS7EzYIBPl0BpdkBRRQiiqhI2SASVJpKk7YLtiBsEBSQAGIElSRUIQVCNXv+N2+eN/e9+26b+4rJfN98ycubOXPm/Ka3BDE/d6WlpRGkYgvyseRvJf9H8pHkQ8nfSL4m+esd2bhCPy+QP0f+NPk88j+R/578AfL7goKC8v05y0H+phwBaEY6JZG/k3wi+VsE63iU5O0g/wX5rQTooGD5lsT5BRCC8GfKxb3ke5GPs5Qj45GzKcpa8h8RnP8Zjy42hs+AEAQ0OSnkh5BvJTZbpqXtoZhLyC8iOGjyvO68DoRAoD94mPxw8l5PX6eFSyncfPJvEph9OuMICeY1gzhAjCetk4Vo7j0hGZRUmrfA2A7E0TRNokz9y3s2tCWlN0jqFLubMluBEIyHKBMvkMfw9PfgMJx+iqDMsSsztgBxDF1fIaW72aW4j+VuoPQfs2PILBwIwUglZVG9b/Cx0exO/jKaYYKyQGRCQoEQjLmk3AiRCgaArHkEZaQoPYUAIRBYzsBo5C5RigWYnM9J32QCg2UaS84yEMcsexlpcbMlTQI/8o+UhYFWZ/uWgBCMzqTEh+RrBb49heTgPEm5j6BsNivNNBCC0YMSxRqQIRlFRUVs51e7ye9iO3fuYhMnPMbatok3q7+leIUXr7IdPxSQP8cwNZ/UM9qSPEdkiOpFUD42I8yQMXkCjpqxUQ+M3Lx89hWM7wCAz3L3dvpcrwE5dvYi23GkDMB2AoHP3CU2qsOWDRe2pAYoXc3UFMNAHH3GFrVmSguAstTYCcQTAKUegoFAPJqvTkb7FENAHKMpjCjcduCoBRlL3mdZ1BQVFxfrqrF2AZmyLoet2HWCFVGzpMfZAATJoqO/y8joyyiQz5CAngzOeWs+mzNXe85kFxCuI6AAjhYYm4BAjc8JyN16bIYwuoGYmfR17tqb5eV73jG1GwgyCSALt+V6tImNQJCu7smjLiCO5RDsDxhyKcNGUIe+22McbwDZlH2GDc/Y70sgSHu4nmUWTSCOhULspBlem/IXIBhVDVyw19dAsPbVSmtBUg+Q9STI1Kqtnn7EGzXET4CgQGwgIN09lQyPQBz7GW8aaqdkgSuBuLXcw572U1SBOHb6DpNI05tLlUDcAsEmVxO1nUdPQF6niJa2XSuBqLYtbxCQR9x96xaI40CC515QRztWCcSjkVq6OzihBmQxibJ8OqQSiEcgGQTkAWUIFyCiagcSsgrk4KHvpHlMIa0Qc9cspilLukf3xFeK5kejLKX9XWqJOyDCtmHNAtmy9VP2Fi27AIg7FxISwjol3c0mjn+M4Xct58dAXGbw5YA4RlYnKYOa8xMtI5ipIdgrGTVmvLRUr8cBxtTnniU4HT0G92MgWKavLx9xKYGMowBpeoyhJ4yRGoLa8M9hIxmgGHVTn5vE+vbpqRrNj4FA5/EE5GWuvBLIN/SFsF0avUBQ0s3C4Bl57dU01Zri50D2EJDbXIA4Np5wb0KY0wMEpRvhUML79OnFoiJxP4cxbHStXr1W1xI+wgPq5g2r3fYpfg4E6ifyjSxnDSEgL9EXE4XRIEF6gGDENHHCWCcIZfroTx4ZPU7Xhlef3j3ZC8/jGHF5FwBAphOQx6G1HAjWp4VeltEDRM/i4qrV69jTz07RVVY2bVjjAjcAgGQTkOZOII4ldtzBE+pEAYFSepbyEW7I4EHscapxchcAQKBuLJbmpRpidVVXjaJIIJibjH4U10s8O0wcVy5/NxCBSKvAHMj7lINBWpk1+r1IIEg7sf09uvqS7Zlby3XuAVJDlhKQ+zmQI5TfW4waXCu8aCCjxoxjWz/BOQvPTtkvBQiQowSkUZDjHjjucwt3ooHokYdMBCgQqB4JIDifu0k4DRKox4B6RllcN739iHLmHiA1BNnsAiCj6ZdZgQAEcxLM6LVcANeQMQBieWdQzUCia0gFAPIGgKwmg/bWKnVmvvcVEOXkMICarDUAspOM3caMwbXi+AJIcHAw27Htk3KqBRCQrwDEliEvLOILIO7WswIIyFEAOUu2M33U
1x1MtEQ0EJ+unp+G2tbpztwwfQEDOAcglyp7hY6JazZUdNUQLcGREBNu8cY2LaiKBYCMNyzM2ucsA8isJF7Jlq1RSy4AIb2QeojVTV9ukEgEEtTM3L0+67XWIoGC/5nG6jqdnT98AvNKAAtKlW2/JEO4c9lVmz3LuhArt1FGwkpI6ssiIcLZs+QfSzmRYWCh7acYrbvdfDABQBpWA+LTJQolDLdFyaCr6DRjsNlhMTBO2KH2eamm1UkOwx/8mAXlwaApLTnmQ/fzzMUkHpFdQWMhq1w4ReUdSarJ82qkjczjOkzzkfo9MXpoxky15d6lLGC0YiGAFCD8Bk7ltO0tf+I4z/Q7t27G06S8wbJ5p6a5V2GTfS526T4e9XBlPhxRQSjt36+NyIgXNFLZstdpxK0DQROL6dmhoPTbyoVFO200Y9yiLjY1hhYVFmseQDACRhr0+nRhyZWHU2bPS3FZ/bN+iJHKH0RTut2udx+LhrQCBDNRO7EKuXrOOvb0og/Xo0Y2lDkthTz0zRXTHLk0MvbJ0ghn0A9QsoXoXFhWzrbQDuGrNWhqx4MbDbw7fDxl8v7QvjpqBeQeH0aZNa9a3dy+PZ7C4pOz8YraZrrIVllxluNImv5OuVmITG9/ImkfUYrVrVGVD20ex2tWrSkFRSzKWvEfp9pKGvPxETFJSR9FDYGnpxNbFxcU0XOQg3DUtMDo6bDQL+MnP8UZFRkrDzATq9GPICAlt4zWbJgNNg+Gg0HPL1s9YHukUSbrhKKtWU2k4EXrWytbld5Qkfs7KhHIVMYq0/G7bBlVFtKjFPEsbVDgqaMsWrkXlKmL0SFsPOVREi1rIc9khBwigWmLLMSALylXEqOWOAeE5V9PXnyui9WzI828H5aZtyOk+97Njph7cskGxCily5N0NezzZLXq9c9n9rrSsi0fPlFSrkNbwcaZvqVfj0ufjE6pDDSeQ1Iz92zftP43/11HpvGyBLs1DdyxIbt6uHJDJ63KGLsw8lu5lXSqTIwsM7dBw2OSe0QvLAcGHjjOzLvxwqqSGt62ENSS8V6V0eKQS61F61qG8rbOo9BqH1Sj5dGwC/m2T5Mpt3Y5aemDtqm9Oqt+eFKWFQs6jf7mZjemk/uzvc/QAWbrGA2Q2qWa72L631V83e1As/rOQK5BpH+c0nZeZe4jmJbYrIk9ADmTWlh+dX/WPb8CibpT6OukBMqza/p4cTQTZiA5RMU/2iHZeyHc53PCPhfv2f/LdL8KutmEJu3NcPdawbnWm1gTJgdz8BN7YLHOIu3F0awkKmi4aeDj/zmXiD2jSVu4+4YzHm8Dccxel52D7tW4gfQcZWJZXOsiKiwh2G4YXCjwvi6V8hOVPzVotHPc0vSn7naEtpKts3LkAeX5dzn0LMo99YDUxxEcmlw1v6dxX4DKVTZAaEITHW7roX2CEgfP3SDIXJMdJgOVOvgnF5QEU9jb4vgbCj1t5SHqtlAOHfhwGlyd/EpCnj791IRhKGVbslNqh4d+e6RmNl8HVgeCbv/97b07m92cbW0kMcbdNSJAMdyD/PDU3p6XfeWltPyPL2Vl7qiHbJiZIBkUNGLviEMFoLpVSlP4pa3Mkg7/cL0ZSlYOWy+O1oktcKIulzSfU0vbTs6SfM/vHSPrgxVL0UUgHNSKEfnJwHAi3BQoG0nVX04zYq8OtdX9478GWLk9puz2PJaKWoDTNJ+PByY2/cVS8ZBj0Fa/+t6y/kBsQJZ27uMhgZ+nGm4n4DqUZEFD6+ehLKZPLQ0HoOrvsmQ4UBhQQXsI37T/D9k26w6XE47lx7BbyGsmBoAB0fY0ewtH5DrAWHHe1A3FUD8ilLNq3Z+vBX1pqCVb7XsvIvMQrgSjl8Zog79BRqjs3D2V/qFutXHPDIfO0uVG5zG8JAEo/wqFvWZZalj2UdvQPHBzgATYKkrLJNGsPebykZjftXZTSwu2LGapAMOJ6d+fxg1SdTZ1q1BrKyo0lDyt/PRRGUjYNvASjmeF75bzj1QLCm1AlEDUjY4AhGggViNLBbcObyUdW8vQ9GnvM8oNLP9x9YqCZUqHWZLmT5alTV4ZHM4O2Xj4w4EbzBARxeBOFuOjY3TVZyvREA7mvdYNlswY0U73xrFn6+875+uTunwrDjEKBAb6kDhlNBEo5+gtp2EhNTbvGdWjEtNfZHhsB8uOLZS+do3aMo04eHfykXtESJLxejVes5fLwOTuvmPWLD5c6bDjep3Fjo19AR41mCv3WMOpDUjOyJb1FAmn9x9qnVj10e31PttQEgq
1X59My8j69cw5lsYw61BCMZQJE7NDcDCAhvjowA4U2WO014M8jlIR1l2hwa7y+W07CXTz7lMpWjLGV/ZMwS9O+sq1zHhnWIlJbYLQFB5LHLDy5esfuEqTcY0UGiZGKyBofSKtUW2WgF36HWwPGRlyelIQ8lHjVu5a7jUlCUbHzG8FXeqdOCqRQWbjMNvfkchMvnQ13owEdv6Zm5zsKCtHgnr4xrBEr/1g0yZg5o5vLGolKGZg3hEUTP4I1kxmhYtVGWUTmiwrubkavJ1g0EArq/vuvct7nFrsuyojQXJMefgPwpKrhg/SPxum+oGQIydf3hxLV7znyRX3CpfKcgyJCixPgLkIg61a72alXvzqe7N9H9MJwhIDAYNrKWZuWnX7h8TZT9fpdyat5QhQ1KiHBuPOnNpGEgEPz06sNPZOzIn+btZXq9mfJ1OCyrJydGPDm1T5MXjepiCogE5aPDkzOy8idVQilvcglGQsSUqfc2mWwUBsKbBsJryspdJ6ZVNl9lpkcz1S++gamaweFZAsL7lA37Ts3z947eTGk1EgcdeLcWYSP4YQUjceVhLQOBMIy+vswp3BgIQ2KzhvIUD0PbO6JrdzUymlKTJwQIFx5Ik0dRYIxM+vSkKRQIEsQyy6o9p5LNrH3pUdhfwmBtqm+rMF3LIUZ0Fg4EiWNBMutI4SIzq8RGlPdVWKzaJjSqnaK1UGhGP1uAcEWwn/Kf7DMDzG5ymcmQnXGwufTXuHrLPe1nWE3fViBSbaGdx+9OXVhhZTvYaiZFxMe2a9Owmv3VdvpEpAEZtgPhiuLgxIHj59NEnGYRlXk9cnA6JDa81njlcR09cc2E8RoQOZjvT154/tPDZ+P8dZaP2XbHJnWzb61f8xlvgeD28ToQnjCasuNFl2fuzS3q5IsD3u5KLw4+t4wK2RIecsNYu5smtdrjMyByhbCCnHv2Yuqh4+dv9/alIVyWiQmv9XVU3eoLrM6yzTRRyjh+AUSuFIbMJ4uuPHC84FK7I6dLIkUvyWCJo1FojbzwOtW21w+5frEdQ1crYPwOiDIzMzYfuY32yrvR0LltQcnV6KKSa/ULLl4Noc/Vii9dq3Lxyq9BV38tO61f9bogVv3660qDq1W5RkPUS3WqVy0KqVHlZJ0aVXPo807aM98woXMj/Fsnv3X/B4bhu+V2KzHPAAAAAElFTkSuQmCC",Ci=i.p+"img/group-12945.b91fb5d1.svg";const Pi={ref:"gsiOverlay",id:"gsi_overlay",class:"gsiOverlay"},Oi={ref:"oneTapOverlay",id:"oneTapOverlay"},Ni=(0,n.uE)('<div class="oneTapOverlay-inner" data-v-0fe8b776><div class="oneTapOverlay-text" data-v-0fe8b776><div class="oTO-Text-Logo" data-v-0fe8b776><img src="'+Ei+'" alt="The Hindu ePaper" data-v-0fe8b776></div><div class="oTO-Text" data-v-0fe8b776><div class="oTO-Text-title" data-v-0fe8b776>Sign in to Unlock member-only benefits!</div><ul class="oTO-Text-points" data-v-0fe8b776><li data-v-0fe8b776>Access 2 free pages every day</li><li data-v-0fe8b776>Sign-up/manage your newsletter subscriptions with a single click</li><li data-v-0fe8b776>Save stories for offline reading</li></ul></div></div><div class="oneTapOverlay-arrow" data-v-0fe8b776><img src="'+Ci+'" alt="Sign in" data-v-0fe8b776></div></div>',1),Hi=[Ni];function Bi(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",Pi,null,512),(0,n._)("div",Oi,Hi,512)],64)}i(1703);function Ri(){const e=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],t=new URL(`${window.location.href}`);return t.searchParams.forEach(((i,a)=>{e.includes(a)&&t.searchParams.delete(a)})),t.toString()}function Wi(){return{Accept:"application/json, text/plain, */*",Authorization:"Basic dGhlaGluZHU6a251cl9DSC1BNVBZVSU4Vw==","Content-Type":"application/json"}}var $i={name:"GoogleSignIn",data(){return{auth_ep:"https://madhyama.thehindu.com/api/gni",response_ep:"https://madhyama.thehindu.com/api/sociallogin"}},methods:{handleGoogleSignIn(e){const t=Ri(),i={method:"POST",headers:Wi(),body:JSON.stringify({token:e.credential,article_url:t,pubId:"THEP"})};fetch(this.auth_ep,i).then((e=>{if(!e.ok)throw new Error(e.statusText);return e.json()})).then((e=>{e.redirect_uri?(this.$logger.debug("redirect_uri is present",e.redirect_uri),setTimeout((()=>{window.location.replace(e.redirect_uri)}),200)):e.token&&""!==e.token.trim()&&window?.tp?.pianoId&&(this.$logger.debug("token is present",e.token),this.LoginByTokenAndReload(e.token))})).catch((e=>console.error(e)))},handleResponseUrl(){const e=new URL(window.location.href),t=e.searchParams.get("response_id"),i=e.searchParams.get("internal_redirect_uri");if(!t||!i)return void(window.tp?.pianoId?.isUserValid()||setTimeout((()=>{window.google?.accounts.id.prompt(this.MomentListener)}),200));const a={method:"POST",headers:Wi(),body:JSON.stringify({response_id:t,pubId:"BLEP"})};fetch(this.response_ep,a).then((e=>{if(!e.ok)throw new Error(e.statusText);return e.json()})).then((e=>{if(this.$logger.debug("response from handleResponseUrl",e),"ok"!==!e?.data?.status&&e?.data?.access_token)if(window?.tp?.pianoId){const t=()=>this.LoginByTokenAndReload(e?.data?.access_token,e?.data?.redirect_uri);window.tp.push(["init",t])}else window.location.replace(e?.data?.redirect_uri);else this.$logger.debug("response is not ok OR no access token is present")})).catch((e=>console.error("Error: ",e)))},LoginByTokenAndReload(e,t=null){window?.dataLayer?.push({event:"onetap_signin",data:{click:"sign_in",click_type:"action",general_placement:"body",detailed_placement:"",goal_type:"onetap_signin"}}),window.tp.pianoId.loginByToken(e),setTimeout((()=>{t?window.location.replace(t):window.location.reload()}),700)},MomentListener(e){this.$logger.debug("MomentListener fired..."),this.$logger.debug(e);const t=e.getMomentType();this.$logger.debug("Moment type",t),"display"===t&&e.isDisplayed()?(this.$logger.debug("OneTap is displayed"),this.$refs.gsiOverlay.style.display="block",this.$refs.oneTapOverlay.style.display="block",window?.dataLayer?.push({event:"onetap_signin",data:{click:"view",click_type:"",general_placement:"body",detailed_placement:"",goal_type:"onetap_signin_view"}})):(this.$logger.debug("dismissed"),this.$refs.gsiOverlay.style.display="none",this.$refs.oneTapOverlay.style.display="none")}},mounted(){window?.tp?.pianoId.isUserValid()?this.$logger.debug("User is already logged in"):this.$logger.debug("User not logged in.. Initializing gsi sdk.."),window.document.addEventListener("DOMContentLoaded",(()=>{setTimeout((()=>{this.$logger.debug("DOMContentLoaded event fired.."),this.$logger.debug("853251516072-70ncsnf2g254736rta7ijil9ljqll11j.apps.googleusercontent.com"),window.google?.accounts.id.initialize({client_id:"853251516072-70ncsnf2g254736rta7ijil9ljqll11j.apps.googleusercontent.com",callback:this.handleGoogleSignIn,itp_supp
1ort:!0}),this.handleResponseUrl()}),1500)}))}};const Mi=(0,u.Z)($i,[["render",Bi],["__scopeId","data-v-0fe8b776"]]);var Fi=Mi,ji=["print_or_download_overview_download_button_click","pages_print_issue_button_click","pages_download_issue_button_click","article_print_button_click","article_share_button_click","article_share_opened","article_article_view","pages_page_view","add_article_to_fav_internal","remove_article_from_fav_internal","pages_view","article_view","article_list_view","scrubber_view","print_or_download_overview","pages_scrubber_button_click","pages_fullscreen_mode_on_button_click","pages_fullscreen_mode_off_button_click","pages_intersitial_page_view","pages_ad_click_on_page","pages_zoom_out_double_click","pages_zoom_in_double_click","pages_zoom_out_touch_pinch","pages_zoom_in_touch_pinch","pages_zoom_out_trackpad_pinch","pages_zoom_in_trackpad_pinch","pages_zoom_out_button_click","pages_zoom_in_button_click","pages_crop_button_click","pages_article_list_button_click","pages_group_navigation_bar_select_group","crop_ok_button_click","article_list_scroll_view","article_list_cell_click","print_or_download_overview_page_select","print_or_download_overview_print_button_click"],qi=i(2482);class zi{static error(e){"string"===typeof e?console.log("%c"+e,"color: white; font-size: 10px; background: #FF7276; border-radius: 10px;padding: 8px 15px;"):console.log(e)}static debug(e){"debug"===this.l_l&&("string"===typeof e?console.log("%c"+e,"color: black; font-size: 10px; background: #ffcf00; border-radius: 10px;padding: 8px 15px;"):console.log(e))}static info(e){console.log("%c"+e,"color: white; font-size: 10px; background: #43cf82; border-radius: 10px;padding: 8px 15px;")}}(0,qi.Z)(zi,"l_l","errors");var Gi=zi;const Yi=e=>{if(void 0==e.detail.type||""==e.detail.type.trim())return void Gi.error("Event type undefined...");const t=new CustomEvent(e.detail.type,e),i=document.getElementById("reader-iframe")??null;null!==i?i.contentWindow.dispatchEvent(t):Gi.error(`emitting ${e.detail.type} failed, iframe not mounted in DOM...`)},Vi=e=>{let t={detail:{type:"user_fav",article_ids:[]}};e&&Array.isArray(e)?t.detail.article_ids=e:Gi.error("Emitting user favourite event with empty array!"),Yi(t)},Zi=e=>{Gi.debug(`fav action status: ${e}`);const t={detail:{type:"fav_action_response",status:{code:200}}};Yi(t)},Qi=e=>{const t=e.state.auth.userType;Gi.debug(`user type:- ${t}`);const i={detail:{type:"user_type",user_type:t}};Yi(i)};class Ki{constructor(e,t,i,a,n,s,o=null,r){this.id=e,this.headline=t,this.content=i,this.imageURL=o,this.articleURL=s,this.date=a,this.edition=n,this.pageno=r}static readerURL(e,t,i,a){return`https://epaper.thehindubusinessline.com/ccidist-replica-reader/?epub=https:/ccidist-ws/th/${e}/issues/${t}&page=${i}&article=${a}`}static htmlURL(e,t,i){const a=encodeURIComponent(`https://epaper.thehindubusinessline.com/ccidist-ws/bl/${e}/issues/${t}/OPS/${i}`);return`/articleshare?articleurl=${a}`}static imageURL(e,t,i){return`https://epaper.thehindubusinessline.com/ccidist-ws/bl/${e}/issues/${t}/OPS/${i}`}static trimContent(e,t="body"){return"headline"===t?e.replace(/^(.{120}[^\s]*).*/,"$1..."):e.replace(/^(.{180}[^\s]*).*/,"$1...")}}(0,qi.Z)(Ki,"fromJSON",(e=>new Ki(e.article_id,e.articleheadline?e.articleheadline[0]:Ki.trimContent(e.CONTENT[0],"headline"),Ki.trimContent(e.CONTENT[0]),e.issue_name,e.publication_name,Ki.htmlURL(e.publication_id,e.issue_id,e.articlefilename),e.articlephoto?Ki.imageURL(e.publication_id,e.issue_id,e.articlephoto):null,e.pageno)));var Ji=Ki;const Xi=async(e=null)=>{const t=window.tp.pianoId.getUser(),i=t?t.uid:null;if(null===i)return{status:!1,message:"User not authenticated",articles:[],count:0,next:"",prev:""};let a;a=e||`//userfav.thehindu.com/favourites?userId=${i}&pub=blep&articledetails=true`;const n=await fetch(a,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json","x-client-auth":window.tp.pianoId.getToken()}}).then((e=>e.json())).catch((e=>(Gi.error("API fetch error:",e),{status:!1,message:"Network error",articles:[],count:0,next:"",prev:""})));return n.status?{status:n.status,message:n.message,articles:n.articles||[],count:n.count||0,next:n.next||"",prev:n.prev||""}:(Gi.error("API returned error:",n.message),{status:!1,message:n.message||"Unknown error",articles:[],count:0,next:"",prev:""})},ea=async()=>{const e=window.tp.pianoId.getUser(),t=e?e.uid:null;if(null===t)return{status:!1,message:"User not authenticated",data:[]};const i=`//userfav.thehindu.com/favourites?userId=${t}
1&pub=blep&all_ids=true`,a=await fetch(i,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json","x-client-auth":window.tp.pianoId.getToken()}}).then((e=>e.json())).catch((e=>(Gi.error("API fetch error:",e),{status:!1,message:"Network error",data:[]})));return a},ta=async(e="",t="add")=>{const i=window.tp.pianoId.getUser(),a=i?i.uid:null;if(null===a||""==e.trim())return null;const n="//userfav.thehindu.com/favourites",s=await fetch(n,{method:"add"===t?"POST":"DELETE",credentials:"include",headers:{"Content-Type":"application/json","x-client-auth":window.tp.pianoId.getToken()},body:JSON.stringify({userId:a,articleId:e,pub:"blep"})}).then((e=>e.json())).catch((()=>null));return s},ia=async(e=null)=>{const t=await Xi(e);if(!t.status)return Gi.error("Failed to fetch favourites:",t.message),{status:!1,message:t.message,articles:[],count:0,next:"",prev:""};const i=t.articles.map((e=>Ji.fromJSON(e)));return{status:t.status,message:t.message,articles:i,count:t.count,next:t.next,prev:t.prev}},aa={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)||navigator.userAgent.match(/WPDesktop/i)},any:function(){return aa.Android()||aa.BlackBerry()||aa.iOS()||aa.Opera()||aa.Windows()}};function na(e){const t={event:"articleView",data:{article_InternalId:e?.article_internal_id,article_byline:e?.article_byline,article_headline:e?.article_headline,Page_Internal_Id:e?.page_internal_id,Page_Internal_name:e?.page_internal_name,Page_Layout_desk:e?.page_layout_desk,Page_Number:e?.page_number,Page_Section_Name:e?.page_section_name,Issue_Name:e?.issue_name,Issue_Publication_Date:e?.issue_pub_date,Issue_Zone:e?.issue_zone,Label:e?.label,Orientation:window.screen.orientation.type,OS:window.navigator.platform}};Gi.debug("Pushing articleView event to dataLayer"),Gi.debug(t),window?.dataLayer?.push(t)}function sa(e){const t=e?.publication_name?.replace("EPaper-","")?.toLowerCase()==e?.issue_zone?.toLowerCase(),i=window?.tp?.pianoId?.getUser(),a={event:"articleViewUser",data:{email:i?.email,uid:i?.uid,platform:aa.any()?"mweb":"desktop",edition:e?.issue_zone?.toLowerCase(),editiontype:t?"main edition":e?.publication_name?.replace("Epaper-","")?.toLowerCase(),date:e?.issue_pub_date,view:"iframe",loginstatus:window?.tp?.pianoId?.isUserValid()?"logged":"not logged"}};Gi.debug("Pushing articleViewUser event to dataLayer"),Gi.debug(a),window?.dataLayer?.push(a)}function oa(){const e=window?.tp?.pianoId?.getUser(),t=navigator.userAgent,i=new(Di())("user-agent");i.setUA(t);const a=i.getResult();let n=a.device.vendor+" - "+a.device.model??a.os.name??"Unknown OS";a.os.version&&(n+=" "+a.os.version),window?.dataLayer?.push({event:"userLoginBlocked",data:{registeredEmailId:e.email,uid:e.uid,platform:aa.any()?"mweb":"desktop",device:n,browser:a.browser.name}})}const ra=(e,t)=>["trackEvent","click",e,t,1],la=(e,t)=>{window._paq&&window._paq.push(ra(e,t))},da=e=>{null===e.state.reader.favouriteArticles?(Gi.debug("Favourites not loaded..."),ea().then((t=>{t.data&&Array.isArray(t.data)?(Vi(t.data),e.state.reader.favouriteArticles=t.data):t.status&&!1===t.status&&Zi(!1)})).catch((()=>Zi(!1)))):Vi(e.state.reader.favouriteArticles)},ca=(e,t)=>{e.commit("reader/changeLoadingState",!1),da(e),Qi(e);const i=navigator.userAgent,a=document.getElementById("open_in_app");i.match(/iPad|iphone|iPod|Android/i)&&void 0!=a&&(a.style.display="block"),t.detail.page_layout_desk&&(document.cookie="_pc_pageName="+t.detail.page_layout_desk,document.cookie="_pc_editionName="+t.detail.publication_name,window.tp?.experience.execute()),t.detail.page_internal_name&&(Gi.debug("tp custom variable pagename: "+t.detail.page_internal_name),window.tp?.push(["setCustomVariable","pagename",t.detail.page_internal_name]),window.tp?.push(["setCustomVariable","Editionname",t.detail.publication_name])),t.detail.page_number&&(console.log("current page number",t.detail.page_internal_id),ot("pageInternalId",t.detail.page_internal_id)),0==e.state.reader.isArticleViewUserEventFired&&(sa(t.detail),e.commit("setArticleViewUserEventFired"),Gi.debug("pushArticleViewUserEventToDataLayer fired...")),window?.tp?.pianoId?.isUserValid()&&e.dispatch("reader/checkUserSession")},ua=(e,t)=>{t.detail.article_internal_id&&(e.state.reader.currentArticeId=t.detail.article_internal_id,la("articleView",t.detail.article_internal_id),na(t.detail),window.tp.experience.execute()),t.detail.page_internal_name&&(Gi.debug("[from articleViewEvent] tp custom variable pagename: "+t.detail.page_internal_name),window.tp?.push(["setCustomVariable","pagename",t.detail.page_internal_name]))},pa=(e,t)=>{const i="remove_article_from_fav_internal"===t.type?"remove":"add",a=window.tp.pianoId.getUser(),n=a?a.uid:null;null===n?alert("Please login to add articles to your favourites list."):ta(e.state.reader.currentArticeId,i).then((t=>{if(t.status&&!1===t.status)Zi(!1);else if(t.status)if("add"===i)e.state.reader.favouriteArticles.push(e.state.reader.currentArticeId);else if("remove"===i){const t=e.state.reader.favouriteArticles.indexOf(e.state.reader.currentArticeId);t>-1&&e.state.reader.favouriteArticles.splice(t,1)}})).catch((()=>Zi(!1)))},ha=(e,t)=>{if("article_print_button_click"===t.type&&t.detail.issue_internal_id)la("articleDownload",t.detail.issue_internal_id);else{if("article_share_opened"!==t.type||!t.detail.article_internal_id)return;la("articleShare",t.detail.article_internal_id)}},ga=e=>{const t={event:"reader_event",data:{event_name:e.type}};window.dataLayer?.push(t)};var ma={pages_page_view:ca,article_article_view:ua,add_article_to_fav_internal:pa,remove_article_from_fav_internal:pa,article_print_button_click:ha,article_share_opened:ha,common_event_tracking:ga};const fa=[{title:"SEARCH",href:"search",routeEvent:!0,newTab:!1},{title:"SUBSCRIPTION",href:"subscribe",routeEvent:!0,newTab:!1},{title:"MOST POPULAR ARTICLES",href:"activity",routeEvent:!0,newTab:!1},{title:"CONTACT US",href:"contact",routeEvent:!0,newTab:!1},{title:"FAQ",href:"faq",routeEvent:!0,newTab:!1},{title:"TERMS AND CONDITIONS",href:"https://www.thehindugroup.com/termsofuse.html",routeEvent:!0,newTab:!0},{title:"PRIVACY POLICY",href:"https://www.thehindugroup.com/privacy.html",routeEvent:!0,newTab:!0}];var va=fa,wa={components:{SideBarRight:Rt,TheHeader:gt,SideBarLeft:ci,GoogleSignIn:Fi,SessionLogoutPrompt:xi},data(){return{publicPath:"/",leftSidebarMenus:va,ua:navigator.userAgent,isIOS:!1,isAndroid:!1,showCloseButton:!0,storageKey:"closeButtonTimestamp"}},computed:{...(0,$.Se)("reader",{region:"getRegion",isLoading:"getLoadingState",iframeUrl:"getIframeUrl",date:"getDate",regionsList:"getRegionsList",editionsList:"getEditionsList",isSessionLimitExceeded:"getSessionLimitExceeded",devices_info:"getSessionDevicesInfo"}),isIframeUrlNotNull(){return this.changeLoadingState(!0),"null"===this.iframeUrl&&this.changeLoadingState(!1),"null"!==this.iframeUrl}},watch:{iframeUrl(){const e=this.$refs.readerIframe?.firstElementChild??null;if(null!=e){const t=window.document.createElement("iframe");t.setAttribute("src",this.iframeUrl),t.setAttribute("id","reader-iframe"),e.remove(),this.$refs.readerIframe.appendChild(t),this.registerIframeOnLoadActions(t)}}}
1,methods:{...(0,$.nv)("reader",["setInitialIframeUrl","changeLoadingState"]),routeTo(e){window.$("#myaccountBtn").click(),this.$router.push(`/${e}`)},registerIframeOnLoadActions(e){this.$logger.debug("Iframe load event"),this.changeLoadingState(!1),this.setIframeHeight();try{ji.forEach((t=>this._registerEventListener(e.target??e,t)))}catch(t){this.$logger.error("Error from eventListeners: ",t)}},setIframeHeight(){const e=document.getElementById("nav-bar").clientHeight,t=6,i=innerHeight-e-t;document.getElementById("reader-iframe").style.height=`${i}px`},closeButton(){this.showCloseButton=!1,document.getElementById("open_in_app").style.display="none";const e=(new Date).getTime();localStorage.setItem(this.storageKey,e.toString())},_registerEventListener(e,t){e.contentWindow.addEventListener(t,(e=>{this.$logger.debug(`${e.type} event occured...`),this.$logger.debug(e);const i=ma[t];i&&i(this.$store,e),ma.common_event_tracking(e)}))}},created(){this.$logger.info("ReaderPage component created.."),this.setInitialIframeUrl();const e=localStorage.getItem(this.storageKey);if(e){const t=(new Date).getTime()-parseInt(e);t<864e5&&(this.showCloseButton=!1)}const t=navigator.userAgent;(t.match(/iPad/i)||t.match(/iPhone/i)||t.match(/iPod/i))&&(this.isIOS=!0),t.match(/Android/i)&&(this.isAndroid=!0)},mounted(){this.setIframeHeight(),document.body.style.backgroundColor="#f1f1f1"}};const ba=(0,u.Z)(wa,[["render",W]]);var ya=ba;const _a=e=>((0,n.dD)("data-v-fdf31d0c"),e=e(),(0,n.Cn)(),e),ka=_a((()=>(0,n._)("div",{class:"p-3",id:"my-account"},null,-1)));function Ia(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:"My Profile"}),ka],64)}const Sa={id:"common-header",class:"navbar navbar-light bg-white m-0"},La={class:"container-fluid justify-content-center"},Da=["href"],Ua={class:"row py-2"},Ta={class:"col-12"},Aa=["src"];function xa(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("nav",Sa,[(0,n._)("div",La,[(0,n._)("a",{href:!0===i.iconNavDisable?"#":"/reader"},[(0,n._)("div",Ua,[(0,n._)("div",Ta,[(0,n._)("img",{class:"logo",src:s.logoPath,alt:""},null,8,Aa)])])],8,Da)])])}var Ea={props:{iconNavDisable:{type:Boolean,required:!1}},data(){return{logoPath:"/logo/bl_epaper.svg"}}};const Ca=(0,u.Z)(Ea,[["render",xa]]);var Pa=Ca;const Oa={id:"page-info-nav",class:"container-fluid"},Na={class:"row nav-head align-items-center"},Ha={key:0,class:"col-md-4 col-2 back-button"};function Ba(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",Oa,[(0,n._)("div",Na,[i.isWebview?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",Ha,[(0,n._)("i",{class:"ms-md-5 ms-3 fa fa-chevron-left","aria-hidden":"true",onClick:t[0]||(t[0]=(...e)=>o.goBack&&o.goBack(...e))})])),(0,n._)("div",{class:(0,v.C_)(i.isWebview?"col-12":"col-md-4 col-8")},[(0,n._)("h1",null,(0,v.zw)(i.heading),1)],2)])])}var Ra={props:{heading:{type:String,required:!0},isWebview:{type:Boolean,default:!1}},data(){return{lastPath:this.$router.options.history.state.back}},methods:{goBack(){const e=this.lastPath?this.lastPath:"/";this.$router.push(e)}}};const Wa=(0,u.Z)(Ra,[["render",Ba],["__scopeId","data-v-0628b3a6"]]);var $a=Wa,Ma={name:"MyAccountPage",components:{TheHeader:Pa,PageInfoNav:$a},mounted(){window.tp.pianoId.init({profileUpdate:()=>{location.reload()}}),window.tp.experience.execute()}};const Fa=(0,u.Z)(Ma,[["render",Ia],["__scopeId","data-v-fdf31d0c"]]);var ja=Fa;const qa=(0,n._)("div",{id:"subscription"},null,-1),za=(0,n._)("div",{id:"left-bottom-sticky-container"},null,-1);function Ga(e,t,i,a,s,o){const r=(0,n.up)("the-header");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),qa,za],64)}var Ya={components:{TheHeader:Pa},mounted(){window.tp?.push(["init",()=>{window.tp?.experience.execute()}]),window.addEventListener("scroll",this.handleScroll)},methods:{handleScroll(){const e=document.getElementById("left-bottom-sticky-container"),t=window.scrollY,i=window.innerWidth;e&&(e.style.bottom=t>300?i>1200?"30px":i>1e3&&i<=1200?"12px":i>600&&i<=1e3||i<=600?"0px":"30px":"-100%")}}};const Va=(0,u.Z)(Ya,[["render",Ga]]);var Za=Va;const Qa=e=>((0,n.dD)("data-v-77452b92"),e=e(),(0,n.Cn)(),e),Ka={class:"container bg-white mt-5 py-3"},Ja={class:"row align-items-end justify-content-evenly search-box mx-3"},Xa={class:"col-10 pt-3"},en={class:"mb-3"},tn=Qa((()=>(0,n._)("label",{class:"form-label"},"Search Text",-1))),an={key:0,class:"mb-3 row"},nn={class:"col-md-4 col-12"},sn=Qa((()=>(0,n._)("label",{class:"form-label"},"From Date",-1))),on={class:"col-md-4 col-12"},rn=Qa((()=>(0,n._)("label",{class:"form-label"},"To Date",-1))),ln={class:"col-md-4 col-12"},dn=Qa((()=>(0,n._)("label",{class:"form-label"},"Edition",-1))),cn=["value"],un={class:"col-auto mb-3"},pn={class:"mx-3"},hn={class:"table",id:"pagination"},gn=Qa((()=>(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",{scope:"col",class:"col-6"},"Title"),(0,n._)("th",{scope:"col"},"Page No"),(0,n._)("th",{scope:"col"},"Edition"),(0,n._)("th",{scope:"col"},"Date")])],-1))),mn={class:"result-title"},fn=["href"];function vn(e,t,i,s,o,r){const l=(0,n.up)("the-header"),d=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(l),(0,n.Wm)(d,{heading:"Search"}),(0,n._)("div",Ka,[(0,n._)("div",Ja,[(0,n._)("div",Xa,[(0,n._)("div",en,[tn,(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.keywords=e),type:"text",class:"form-control",onKeyup:t[1]||(t[1]=(0,a.D2)((e=>r.search()),["enter"]))},null,544),[[a.nr,o.keywords]])]),o.adv_search?((0,n.wg)(),(0,n.iD)("div",an,[(0,n._)("div",nn,[sn,(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":t[2]||(t[2]=e=>o.fromDate=e),type:"date",class:"form-control"},null,512),[[a.nr,o.fromDate]])]),(0,n._)("div",on,[rn,(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":t[3]||(t[3]=e=>o.toDate=e),type:"date",class:"form-control"},null,512),[[a.nr,o.toDate]])]),(0,n._)("div",ln,[dn,(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[4]||(t[4]=e=>o.region=e),class:"form-control"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(o.regionsList,(e=>((0,n.wg)(),(0,n.iD)("option",{value:e.id,key:e},(0,v.zw)(e.title),9,cn)))),128))],512),[[a.bM,o.region]])])])):(0,n.kq)("",!0)]),(0,n._)("div",un,[(0,n._)("button",{type:"submit",onClick:t[5]||(t[5]=(...e)=>r.getSearchResults&&r.getSearchResults(...e)),class:"btn btn-primary"},"Submit")]),(0,n._)("a",{class:"nav-link adv-search",onClick:t[6]||(t[6]=(...e)=>r.toggle_adv_search&&r.toggle_adv_search(...e))},"Advanced Search")]),(0,n._)("div",pn,[(0,n.wy)((0,n._)("div",null,"Loa
1ding",512),[[a.F8,r.isloading]]),(0,n._)("table",hn,[gn,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(o.results,((e,t)=>((0,n.wg)(),(0,n.iD)("tr",{key:t},[(0,n._)("td",mn,[(0,n._)("a",{href:e.articleURL},(0,v.zw)(e.headline),9,fn)]),(0,n._)("td",null,(0,v.zw)(e.pageno),1),(0,n._)("td",null,(0,v.zw)(e.edition),1),(0,n._)("td",null,(0,v.zw)(e.date),1)])))),128))])])])])],64)}var wn=()=>{let e=new Date,t=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),i=new Intl.DateTimeFormat("en",{month:"2-digit"}).format(e),a=new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e);return`${t}-${i}-${a}`};const bn="https://epaper.thehindubusinessline.com/solr/articles/select/";async function yn(e="",t=wn(),i=wn(),a=null,n=null){if(""!==e.trim()){const s=_n(e,t,i,a,n),o=await fetch(s).then((e=>e.ok?e.json():null));if(o&&Array.isArray(o.response.docs))return o.response.docs.filter((e=>e.articleheadline&&""!==e.articleheadline[0].trim())).map((e=>Ji.fromJSON(e)))}return null}const _n=(e,t,i,a=null,n=null)=>{const s=`?fq=os:web&fq=${encodeURIComponent(`(CONTENT:${e} OR articleheadline:${e})`)}`,o=new Date(`${t}T00:00:00+05:30`).toISOString().replace(".000Z","Z"),r=new Date(`${i}T23:59:59+05:30`).toISOString().replace(".000Z","Z"),l=`&q=issue_date:[${encodeURIComponent(`${o} TO ${r}`)}]`,d="&fq=organization_id:bl",c=n?`&fq=publication_id:${n}`:"",u="&rows=100",p=bn+s+l+d+c+u;return a?p+`&start=${a}`:p};var kn=yn;const In="https://epaper.thehindubusinessline.com/ccidist-ws/bl/";var Sn=()=>{let e=`${In}?jsonPublicationList=true&excludePublications=*-*`;return Gi.debug(`getAllRegionsList: ${e}`),fetch(e)},Ln=e=>{const t=e.split("-"),i=t.indexOf("EPaper");return-1!==i&&t.splice(i,1),1==t.length?t[0]:t.join("-")},Dn={name:"SearchPage",props:{query:{type:String,required:!1}},data(){return{adv_search:!1,region:"bl_chennai",keywords:"",fromDate:wn(),toDate:wn(),regionsList:[],results:[]}},components:{TheHeader:Pa,PageInfoNav:$a},computed:{isloading(){return this.$store.getters["reader/getLoadingState"]}},watch:{region(){this.$logger.debug(this.region)}},methods:{async getRegionList(){const e=await Sn().then((e=>e.json())).catch((()=>[]));e.publications||(this.regionsList=[]),this.regionsList=e.publications.map((e=>({id:e.id,title:Ln(e.title)})))},async getSearchResults(){this.$store.commit("reader/changeLoadingState",!0),this.$logger.debug(`keywords: ${this.keywords}`);const e=await kn(this.keywords,this.fromDate,this.toDate,null,this.region);this.results=e,this.recreateDataTable(),this.$store.commit("reader/changeLoadingState",!1)},toggle_adv_search(){this.adv_search=!this.adv_search},search(){""!==this.keywords.trim()&&this.getSearchResults()},recreateDataTable(){this.dt&&this.dt.destroy(),this.$nextTick((()=>{this.dt=window.$("#pagination").DataTable({searching:!1,lengthChange:!1,bInfo:!1})}))}},beforeMount(){this.getRegionList(),this.$logger.debug(`query param recieved: ${this.query}`),this.query&&(this.keywords=this.query,this.fromDate="2022-03-01",this.getSearchResults())}};const Un=(0,u.Z)(Dn,[["render",vn],["__scopeId","data-v-77452b92"]]);var Tn=Un;const An={class:"container bg-white wrapper"},xn={class:"row px-3 mt-3"},En={key:0,class:"col-12 text-center p-3"},Cn={key:1,class:"col-12 text-center p-3"};function Pn(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav"),d=(0,n.up)("filter-menu"),c=(0,n.up)("article-card");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:"Most Popular"}),(0,n._)("div",An,[(0,n.Wm)(d),(0,n._)("div",xn,[e.isLoading?((0,n.wg)(),(0,n.iD)("div",En," Loading... ")):0===e.articles.length?((0,n.wg)(),(0,n.iD)("div",Cn," Nothing found ")):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.articles,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"col-md-6 col-12",key:t},[(0,n.Wm)(c,{date:e.date,imageURL:e.imageURL??`${s.publicPath}placeholder.png`,headline:e.headline,content:e.content,articleURL:e.articleURL,editionTitle:o.formatEditionName(e.edition)},null,8,["date","imageURL","headline","content","articleURL","editionTitle"])])))),128))])])],64)}const On=e=>((0,n.dD)("data-v-4607ee3c"),e=e(),(0,n.Cn)(),e),Nn={class:"row filters"}
1,Hn={class:"col-md-7 col-12 d-flex justify-content-md-start justify-content-center p-0"},Bn={class:"col-md-5 col-12 d-flex justify-content-center justify-content-md-end p-0 align-items-center"},Rn={class:"form-check form-check-inline"},Wn=On((()=>(0,n._)("label",{class:"form-check-label"},"Today",-1))),$n={class:"form-check form-check-inline"},Mn=On((()=>(0,n._)("label",{class:"form-check-label"},"7 Days",-1))),Fn={class:"form-check form-check-inline"},jn=On((()=>(0,n._)("label",{class:"form-check-label"},"All",-1)));function qn(e,t,i,s,o,r){return(0,n.wg)(),(0,n.iD)("div",Nn,[(0,n._)("div",Hn,[(0,n._)("a",{class:"nav-link active",onClick:t[0]||(t[0]=(0,a.iM)(((...e)=>r.changeSelectedType&&r.changeSelectedType(...e)),["prevent"])),id:"articleView"},"Most viewed"),(0,n._)("a",{class:"nav-link",onClick:t[1]||(t[1]=(0,a.iM)(((...e)=>r.changeSelectedType&&r.changeSelectedType(...e)),["prevent"])),id:"articleDownload"},"Most downloaded"),(0,n._)("a",{class:"nav-link",onClick:t[2]||(t[2]=(0,a.iM)(((...e)=>r.changeSelectedType&&r.changeSelectedType(...e)),["prevent"])),id:"articleShare"},"Most shared")]),(0,n._)("div",Bn,[(0,n._)("div",Rn,[(0,n.wy)((0,n._)("input",{class:"form-check-input",type:"radio",value:"today","onUpdate:modelValue":t[3]||(t[3]=e=>o.recordsFor=e)},null,512),[[a.G2,o.recordsFor]]),Wn]),(0,n._)("div",$n,[(0,n.wy)((0,n._)("input",{class:"form-check-input",type:"radio",value:"last7","onUpdate:modelValue":t[4]||(t[4]=e=>o.recordsFor=e)},null,512),[[a.G2,o.recordsFor]]),Mn]),(0,n._)("div",Fn,[(0,n.wy)((0,n._)("input",{class:"form-check-input",type:"radio",value:"last30","onUpdate:modelValue":t[5]||(t[5]=e=>o.recordsFor=e)},null,512),[[a.G2,o.recordsFor]]),jn])])])}var zn={data(){return{type:"articleView",recordsFor:"today"}},watch:{getFilterObject(e){this.$logger.debug("Value changed:- "),this.$logger.debug(e),this.updateCurrentFilter(e),this.updateArticles()}},computed:{getFilterObject(){return{type:this.type,recordsFor:this.recordsFor}}},methods:{...(0,$.nv)("activity",["updateCurrentFilter","updateArticles"]),changeSelectedType(e){this.$logger.debug(e);const t=document.getElementsByClassName("nav-link");for(let i=0;i<t.length;i++){const e=t[i];e.classList.remove("active")}return e.target.id&&""!==e.target.id.trim()&&(this.type=e.target.id),e.target.classList.add("active"),"active"}},mounted(){this.updateArticles()}};const Gn=(0,u.Z)(zn,[["render",qn],["__scopeId","data-v-4607ee3c"]]);var Yn=Gn;const Vn=e=>((0,n.dD)("data-v-e721b898"),e=e(),(0,n.Cn)(),e),Zn={class:"col-lg-12 pt-4 pt-lg-0 card-view"},Qn={class:"fw-bold"},Kn={class:"px-2"},Jn=["href"],Xn={class:"card-view-image float-end"},es=["src"],ts={class:"fs-6"},is=Vn((()=>(0,n._)("hr",null,null,-1)));function as(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",Zn,[(0,n._)("p",Qn,[(0,n.Uk)((0,v.zw)(i.date),1),(0,n._)("span",Kn,(0,v.zw)(i.editionTitle),1)]),(0,n._)("a",{href:i.articleURL},[(0,n._)("h4",null,(0,v.zw)(i.headline),1)],8,Jn),(0,n._)("div",Xn,[(0,n._)("img",{width:"120",src:i.imageURL,class:"",alt:""},null,8,es)]),(0,n._)("p",ts,(0,v.zw)(i.content),1)]),is],64)}var ns={props:{date:{type:String,required:!0},imageURL:{type:String,required:!1},headline:{type:String,required:!0},content:{type:String,required:!1},articleURL:{type:String,required:!0},editionTitle:{type:String,required:!0}}};const ss=(0,u.Z)(ns,[["render",as],["__scopeId","data-v-e721b898"]]);var os=ss,rs={components:{TheHeader:Pa,PageInfoNav:$a,FilterMenu:Yn,ArticleCard:os},data(){return{publicPath:"/"}},computed:{...(0,$.Se)("activity",{articles:"getArticles",isLoading:"getLoadingState"})},methods:{formatEditionName(e){return Ln(e)}}};const ls=(0,u.Z)(rs,[["render",Pn],["__scopeId","data-v-9f712298"]]);var ds=ls;const cs=e=>((0,n.dD)("data-v-eec2d7d8"),e=e(),(0,n.Cn)(),e),us={class:"container mt-5 px-3 px-md-4 pt-4 pb-3 bg-white"}
1,ps={key:0,class:"loading-container"},hs=cs((()=>(0,n._)("div",{class:"spinner-border text-primary",role:"status"},[(0,n._)("span",{class:"visually-hidden"},"Loading...")],-1))),gs=[hs],ms={key:1,class:"error-container"},fs=cs((()=>(0,n._)("i",{class:"fa fa-exclamation-circle text-danger mb-2",style:{"font-size":"2rem"}},null,-1))),vs={class:"text-danger mb-0"},ws={key:2,class:"empty-container"},bs=cs((()=>(0,n._)("i",{class:"fa fa-heart-o mb-3",style:{"font-size":"3rem",color:"#ccc"}},null,-1))),ys=cs((()=>(0,n._)("h5",{class:"text-muted"},"No favourites yet",-1))),_s=cs((()=>(0,n._)("p",{class:"text-muted small"},"Articles you favourite will appear here",-1))),ks=[bs,ys,_s],Is={key:3},Ss={class:"desktop-view"},Ls={class:"table table-hover",id:"pagination"},Ds=cs((()=>(0,n._)("thead",{class:"table-light"},[(0,n._)("tr",null,[(0,n._)("th",{scope:"col"},"Title"),(0,n._)("th",{scope:"col"},"Date"),(0,n._)("th",{scope:"col"},"Edition"),(0,n._)("th",{scope:"col",class:"no-sort"},"Image"),(0,n._)("th",{scope:"col",class:"no-sort"},"Summary"),(0,n._)("th",{scope:"col",class:"no-sort text-center"},"Action")])],-1))),Us={class:"result-title align-middle"},Ts=["href"],As={class:"align-middle",style:{"white-space":"nowrap"}},xs={class:"text-muted"},Es={class:"align-middle"},Cs={class:"badge bg-secondary"},Ps={class:"align-middle"},Os=["src"],Ns={class:"align-middle"},Hs={class:"summary-text"},Bs={class:"align-middle text-center"},Rs=["onClick"],Ws=cs((()=>(0,n._)("i",{class:"fa fa-trash-o"},null,-1))),$s=[Ws],Ms={class:"mobile-view"},Fs={class:"card-header-section"},js=["href"],qs={class:"article-title mb-2"},zs={class:"article-meta"},Gs={class:"meta-item"},Ys=cs((()=>(0,n._)("i",{class:"fa fa-calendar-o me-1"},null,-1))),Vs={class:"meta-item"},Zs=cs((()=>(0,n._)("i",{class:"fa fa-newspaper-o me-1"},null,-1))),Qs={key:0,class:"card-content-section"},Ks=["src"],Js={key:1,class:"article-summary"},Xs={class:"card-actions"},eo=["href"],to=cs((()=>(0,n._)("i",{class:"fa fa-eye me-1"},null,-1))),io=(0,n.Uk)("Read Article "),ao=[to,io],no=["onClick"],so=cs((()=>(0,n._)("i",{class:"fa fa-trash-o me-1"},null,-1))),oo=(0,n.Uk)("Remove "),ro=[so,oo],lo={class:"pagination-container"},co=["disabled"],uo=cs((()=>(0,n._)("i",{class:"fa fa-chevron-left"},null,-1))),po=cs((()=>(0,n._)("span",{class:"btn-text"},"Previous",-1))),ho=[uo,po],go={class:"pagination-info"},mo={key:0,class:"text-muted"},fo=["disabled"],vo=cs((()=>(0,n._)("span",{class:"btn-text"},"Next",-1))),wo=cs((()=>(0,n._)("i",{class:"fa fa-chevron-right"},null,-1))),bo=[vo,wo];function yo(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:"Favourites",icon:"fa fa-chevron-left"}),(0,n._)("div",us,[s.loading?((0,n.wg)(),(0,n.iD)("div",ps,gs)):s.errorMessage?((0,n.wg)(),(0,n.iD)("div",ms,[fs,(0,n._)("p",vs,(0,v.zw)(s.errorMessage),1)])):0===s.articles.length?((0,n.wg)(),(0,n.iD)("div",ws,ks)):((0,n.wg)(),(0,n.iD)("div",Is,[(0,n._)("div",Ss,[(0,n._)("table",Ls,[Ds,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.articles,((e,t)=>((0,n.wg)(),(0,n.iD)("tr",{key:t},[(0,n._)("td",Us,[(0,n._)("a",{href:e.articleURL,class:"article-link"},(0,v.zw)(e.headline),9,Ts)]),(0,n._)("td",As,[(0,n._)("small",xs,(0,v.zw)(e.date),1)]),(0,n._)("td",Es,[(0,n._)("span",Cs,(0,v.zw)(o.formatEditionName(e.edition)),1)]),(0,n._)("td",Ps,[(0,n._)("img",{width:"80",height:"60",src:e.imageURL??`${s.publicPath}placeholder.png`,alt:"Article thumbnail",class:"article-thumbnail"},null,8,Os)]),(0,n._)("td",Ns,[(0,n._)("div",Hs,(0,v.zw)(e.content),1)]),(0,n._)("td",Bs,[(0,n._)("button",{onClick:t=>o.removeFavouritesOfUser(e.id),class:"btn btn-sm btn-outline-danger",title:"Remove from favourites"},$s,8,Rs)])])))),128))])])]),(0,n._)("div",Ms,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.articles,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"article-card",key:t},[(0,n._)("div",Fs,[(0,n._)("a",{href:e.articleURL,class:"article-link"},[(0,n._)("h6",qs,(0,v.zw)(e.headline),1)],8,js),(0,n._)("div",zs,[(0,n._)("span",Gs,[Ys,(0,n.Uk)((0,v.zw)(e.date),1)]),(0,n._)("span",Vs,[Zs,(0,n.Uk)((0,v.zw)(o.formatEditionName(e.edition)),1)])])]),e.imageURL||e.content?((0,n.wg)(),(0,n.iD)("div",Qs,[e.imageURL?((0,n.wg)(),(0,n.iD)("img",{key:0,src:e.imageURL??`${s.publicPath}placeholder.png`,alt:"Article image",class:"article-image-mobile"},null,8,Ks)):(0,n.kq)("",!0),e.content?((0,n.wg)(),(0,n.iD)("p",Js,(0,v.zw)(e.content),1)):(0,n.kq)("",!0)])):(0,n.kq)("",!0),(0,n._)("div",Xs,[(0,n._)("a",{href:e.articleURL,class:"btn btn-sm btn-outline-primary"},ao,8,eo),(0,n._)("button",{onClick:t=>o.removeFavouritesOfUser(e.id),class:"btn btn-sm btn-outline-danger"},ro,8,no)])])))),128))]),(0,n._)("div",lo,[(0,n._)("button",{class:(0,v.C_)(["btn-pagination btn-prev",{disabled:!s.prevUrl}]),onClick:t[0]||(t[0]=(...e)=>o.previousArticleList&&o.previousArticleList(...e)),disabled:!s.prevUrl},ho,10,co),(0,n._)("span",go,[s.total>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)((0,v.zw)(s.total)+" "+(0,v.zw)(1===s.total?"favourite":"favourites")+" ",1),s.nextUrl||s.prevUrl?((0,n.wg)(),(0,n.iD)("span",mo," (page "+(0,v.zw)(s.articles.length)+" items)",1)):(0,n.kq)("",!0)],64)):(0,n.kq)("",!0)]),(0,n._)("button",{class:(0,v.C_)(["btn-pagination btn-next",{disabled:!s.nextUrl}]),onClick:t[1]||(t[1]=(...e)=>o.nextArticleList&&o.nextArticleList(...e)),disabled:!s.nextUrl},bo,10,fo)])]))])],64)}var _o={components:{TheHeader:Pa,PageInfoNav:$a}
1,data(){return{loading:!1,publicPath:"/",articles:[],total:0,nextUrl:"",prevUrl:"",errorMessage:""}},methods:{async nextArticleList(){this.nextUrl&&(this.loading=!0,await this.getFavouritesOfUser(this.nextUrl),this.loading=!1)},async previousArticleList(){this.prevUrl&&(this.loading=!0,await this.getFavouritesOfUser(this.prevUrl),this.loading=!1)},recreateDataTable(){this.dt&&this.dt.destroy(),this.$nextTick((()=>{window.$("#pagination").DataTable({searching:!0,paging:!1,lengthChange:!1,bInfo:!1,columnDefs:[{orderable:!1,targets:"no-sort"}]})}))},async getFavouritesOfUser(e=null){const t=await ia(e).then((e=>(this.$logger.debug(e),e))).catch((e=>(this.$logger.error(e),{status:!1,message:"Failed to load favourites",articles:[],count:0,next:"",prev:""})));t.status?(this.errorMessage="",this.articles=t.articles,this.total=t.count,this.nextUrl=t.next||"",this.prevUrl=t.prev||""):(this.errorMessage=t.message||"Failed to load favourites",this.articles=[],this.total=0,this.nextUrl="",this.prevUrl="")},async removeFavouritesOfUser(e){const t=await ta(e,"remove");t instanceof Object&&null!==t&&t.status?(this.articles=this.articles.filter((t=>t.id!==e)),this.total=this.total-1,0===this.articles.length&&this.total>0&&(this.loading=!0,await this.getFavouritesOfUser(this.prevUrl||null),this.loading=!1)):(this.$logger.debug("result is null or error occured"),t&&t.message&&(this.errorMessage=t.message,setTimeout((()=>{this.errorMessage=""}),3e3)))},formatEditionName(e){return Ln(e)}},async created(){this.loading=!0,await this.getFavouritesOfUser(),this.loading=!1}};const ko=(0,u.Z)(_o,[["render",yo],["__scopeId","data-v-eec2d7d8"]]);var Io=ko;const So=["src"];function Lo(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:""}),(0,n._)("iframe",{class:"share-iframe",frameborder:"0",src:i.shareUrl},null,8,So)],64)}var Do={props:{shareUrl:String},components:{TheHeader:Pa,PageInfoNav:$a},methods:{checkRedirectUrl(){"string"!==typeof this.shareUrl&&(this.$logger.debug("share url undefined.."),location.href="/reader")},setIframeHeight(){const e=document.getElementById("page-info-nav").clientHeight,t=document.getElementById("common-header").clientHeight,i=6,a=innerHeight-e-t-i;document.querySelector("iframe").style.height=`${a}px`}},mounted(){this.checkRedirectUrl(),this.setIframeHeight()}};const Uo=(0,u.Z)(Do,[["render",Lo]]);var To=Uo;const Ao=(0,n.uE)('<div class="container bg-white mt-5" data-v-900a5cb8><div class="row py-4 px-2" data-v-900a5cb8><div class="col-sm-12" data-v-900a5cb8><p class="m-0" data-v-900a5cb8> For e-Paper subscription related errors/queries & e-Paper web site features, please email <a href="mailto:[email protected]" data-v-900a5cb8>[email protected]</a>. <strong data-v-900a5cb8>Toll free: 1800-102-1878</strong><br data-v-900a5cb8><br data-v-900a5cb8> If you'd like to discuss a point with the Readersâ Editor (our newspaper's internal ombudsman), you can write to :<br data-v-900a5cb8> The Readersâ Editor, 859 & 860, Anna Salai, Chennai 600002, India<br data-v-900a5cb8> or fax the Readersâ Editor at (+91) (44) 28415325 </p></div></div></div>',1);function xo(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:"Contact Us"}),Ao],64)}var Eo={components:{TheHeader:Pa,PageInfoNav:$a}};const Co=(0,u.Z)(Eo,[["render",xo],["__scopeId","data-v-900a5cb8"]]);var Po=Co;const Oo=e=>((0,n.dD)("data-v-153f830d"),e=e(),(0,n.Cn)(),e),No=Oo((()=>(0,n._)("div",{class:"p-3",id:"faq"},null,-1)));function Ho(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:"FAQ"}),No],64)}var Bo={components:{TheHeader:Pa,PageInfoNav:$a}};const Ro=(0,u.Z)(Bo,[["render",Ho],["__scopeId","data-v-153f830d"]]);var Wo=Ro;const $o=e=>((0,n.dD)("data-v-7502286a"),e=e(),(0,n.Cn)(),e),Mo=(0,n.Uk)(' The publishing business undertaking of Kasturi & Sons Limited has been demerged, transferred and vested with THG Publishing Private Limited, a subsidiary of Kasturi & Sons Limited, pursuant to the order of the National Company Law Tribunal (NCLT, Chennai Bench) sanctioning the Scheme of Arrangement (Demerger) (âthe Schemeâ). In accordance with the Scheme, all the contracts/ agreements entered into by
1Kasturi & Sons Limited in relation to the publishing business undertaking and the related rights and obligations thereto, stand transferred in favour of THG Publishing Private Limited. You (the user) can access epaper.thehindubusinessline.com ("the site"), subject to the terms and conditions of use, as changed / updated from time to time entirely at the discretion of THG Publishing Private Limited as set out below. This Agreement is for an indefinite term and you understand and agree that are bound by such terms till the time you access this site. '),Fo=(0,n.Uk)("We reserve the right to add to or change/modify the terms of this Agreement including but not limited to suspend / cancel, or discontinue any or all channels, or service at any time without notice, make modifications and alterations in any or all of the content, products and services contained on the site without prior notice.. You will be deemed to have accepted such change/s if you continue to access the Site subsequent to such changes."),jo=$o((()=>(0,n._)("br",null,null,-1))),qo=(0,n.Uk)("When you register, you are registering as a personal user of epaper.thehindubusinessline.com. Access to registration areas is via your email address and password. "),zo=$o((()=>(0,n._)("br",null,null,-1))),Go=$o((()=>(0,n._)("br",null,null,-1))),Yo=(0,n.Uk)("We allow you access to the registration areas of the site on the basis that: "),Vo=$o((()=>(0,n._)("br",null,null,-1))),Zo=$o((()=>(0,n._)("br",null,null,-1))),Qo=(0,n.Uk)("(i) Your email address and password are personal to you and may not be used by anyone else to access epaper.thehindubusinessline.com and you have completed 18 (Eighteen) years of age. If not, your registration shall be subject to your Guardian approval for usage by you. "),Ko=$o((()=>(0,n._)("br",null,null,-1))),Jo=$o((()=>(0,n._)("br",null,null,-1))),Xo=(0,n.Uk)("(ii) You will not do anything which would assist anyone who is not a registered user to gain access to any registration area of epaper.thehindubusinessline.com "),er=$o((()=>(0,n._)("br",null,null,-1))),tr=$o((()=>(0,n._)("br",null,null,-1))),ir=(0,n.Uk)("(iii) You do not create additional registration accounts for the purpose of abusing the functionality of the site, or other users; nor do you seek to pass yourself off as another user "),ar=$o((()=>(0,n._)("br",null,null,-1))),nr=$o((()=>(0,n._)("br",null,null,-1))),sr=(0,n.Uk)("(iv) You comply with these terms and conditions. "),or=$o((()=>(0,n._)("br",null,null,-1))),rr=$o((()=>(0,n._)("br",null,null,-1))),lr=(0,n.Uk)("If, for any reason, we believe that you have not complied with these requirements, we may, at our discretion, cancel your access to the registration areas of thehinduepaper.com or epaper.thehindubusinessline.com and without giving you any advance notice. "),dr=(0,n.Uk)("Any payment or subscription paid is non-refundable. We reserve the right to change subscription and / or membership fees any time without prior notice."),cr=(0,n.Uk)("Unless otherwise stated, copyright and all intellectual property rights in all material presented on the site (including but not limited to text, audio, video or graphical images), trademarks and logos appearing on this site are the property of THG Publishing Private Limited, its parent, affiliates and associates and are protected under applicable Indian laws. Any infringement shall be vigorously defended and pursued to the fullest extent permitted by law."),ur=(0,n.Uk)("If we wish to bring the agreement to an end, we will do so by emailing you at the address you have registered stating that the agreement has terminated. The agreement will terminate and your email address and password will become invalid on epaper.thehindubusinessline.com immediately."),pr=(0,n.Uk)(" You are permitted to print or download extracts from these pages for your personal non-commercial use only. Any copies of these pages saved to disk or to any other storage medium may only be used for subsequent viewing purposes or to print extracts for personal use. You may not (whether directly or through the use of any software program) create a database in electronic or structured manual form by regularly or systematically downloading and storing all or any part of the pages from this site. No part of the Site may be reproduced or transmitted to or stored in any other web site, nor may any of its pages or part thereof be disseminated in any electronic or non-electronic form, nor included in any public or private electronic retrieval system or service without prior written permission. "),hr=$o((()=>(0,n._)("p",null,[(0,n._)("br"),(0,n._)("strong",null,"Third Party Material"),(0,n._)("br"),(0,n._)("br"),(0,n.Uk)("You will see advertising material submitted by third parties on epaper.thehindubusinessline.com Individual advertisers are solely responsible for the content of advertising material which they submit to us, including ensuring that it complies with relevant legislation. We accept no responsibility for the content of advertising material, including, without limitation, any error, omission or inaccuracy therein. ")],-1))),gr=$o((()=>(0,n._)("p",null,"You agree to not use the service to:",-1))),mr=$o((()=>(0,n._)("p",null," Upload, post, email, transmit or otherwise make available any content that is unlawful, harmful, threatening, abusive, harassing, tortious, defamatory, vulgar, obscene, libellous, invasive of another's privacy, hateful, or racially, ethnically or otherwise objectionable. ",-1))),fr=$o((()=>(0,n._)("p",null,"Harm minors in any way.",-1))),vr=$o((()=>(0,n._)("p",null," Impersonate any person or entity, including, but not limited to THG Publishing Private Limited official, forum leader, guide or host, or falsely state or otherwise misrepresent your affiliation with a person or entity. ",-1))),wr=$o((()=>
1(0,n._)("p",null," Forge headers or otherwise manipulate identifiers in order to disguise the origin of any content transmitted through the service. ",-1))),br=$o((()=>(0,n._)("p",null," Upload, post, email, transmit or otherwise make available any content that you do not have a right to make available under any law or under contractual or fiduciary relationships (such as inside information, proprietary and confidential information learned or disclosed as part of employment relationships or under nondisclosure agreements). ",-1))),yr=$o((()=>(0,n._)("p",null,' Upload, post, email, transmit or otherwise make available any Content that infringes any patent, trademark, trade secret, copyright or other proprietary rights ("Rights") of any party. ',-1))),_r=$o((()=>(0,n._)("p",null,[(0,n.Uk)(' Upload, post, email, transmit or otherwise make available any unsolicited or unauthorised advertising, promotional materials, "junk mail," "spam," "chain letters," "pyramid schemes," or any other form of solicitation '),(0,n._)("br")],-1))),kr=$o((()=>(0,n._)("p",null,' All the contents of this Site are only for general information or use. They do not constitute advice and should not be relied upon in making (or refraining from making) any decision. Any specific advice or replies to queries in any part of the Site is/are the personal opinion of such experts/consultants/persons and are not subscribed to by this Site. The information from or through this site is provided on "AS IS" basis, and all warranties, expressed or implied of any kind, regarding any matter pertaining to any goods, service or channel, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement are disclaimed and excluded. ',-1))),Ir=$o((()=>(0,n._)("p",null," THG Publishing Private Limited shall not be liable, at any time for damages (including, without limitation, damages for loss of business projects, or loss of profits) arising in contract, tort or otherwise from the use of or inability to use the Site, or any of its contents, or from any act or omissions a result of using the Site or any such contents or for any failure of performance, error, omission, interruption, deletion, defect, delay in operation or transmission, computer virus, communications line failure, theft or destruction or unauthorised access to, alteration of, or use of information contained on the site. No representations, warranties or guarantees whatsoever are made as to the accuracy, adequacy, reliability, completeness, suitability or applicability of the information to a particular situation. ",-1))),Sr=$o((()=>(0,n._)("p",null," Certain links on the Site lead to resources located on servers maintained by third parties over whom THG Publishing Private Limited has no control or connection, business or otherwise as these sites are external to THG Publishing Private Limited you agree and understand that by visiting such sites you are beyond the THG Publishing Private Limited website. THG Publishing Private Limited therefore neither end
1orses nor offers any judgement or warranty and accepts no responsibility or liability for the authenticity/availability of any of the goods/services/or for any damage, loss or harm, direct or consequential or any violation of local or international laws that may be incurred by your visit and/or transaction/s on these sites ",-1))),Lr=(0,n.Uk)("Although we will do our best to provide constant, uninterrupted access to thehindubusinessline.com or epaper.thehindubusinessline.com, we do not guarantee this. We accept no responsibility or liability for any interruption or delay."),Dr=(0,n.Uk)("The contents of this e-Paper are proprietary and should not be shared with anyone. This condition doesnât apply to sharing individual articles on social media websites for the purpose of initiating discussions and expressing opinions."),Ur=(0,n.Uk)("This agreement shall be governed by the Indian Law."),Tr=(0,n.Uk)("The Courts in Chennai shall have the exclusive jurisdiction to the exclusion of other courts.");function Ar(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("page-info-nav"),d=(0,n.up)("accordion-item"),c=(0,n.up)("accordion-wrapper");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l,{heading:"Terms and Conditions"}),(0,n.Wm)(c,{id:s.parentId,class:"container-lg mt-5 px-md-5"},{default:(0,n.w5)((()=>[(0,n.Wm)(d,{id:"ac1","parent-id":s.parentId,heading:"1. User Agreement"},{default:(0,n.w5)((()=>[Mo])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac2","parent-id":s.parentId,heading:"2. Changes"},{default:(0,n.w5)((()=>[Fo])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac3","parent-id":s.parentId,heading:"3. Registration"},{default:(0,n.w5)((()=>[jo,qo,zo,Go,Yo,Vo,Zo,Qo,Ko,Jo,Xo,er,tr,ir,ar,nr,sr,or,rr,lr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac4","parent-id":s.parentId,heading:"4. Charges"},{default:(0,n.w5)((()=>[dr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac5","parent-id":s.parentId,heading:"5. Copyright and Trademarks"},{default:(0,n.w5)((()=>[cr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac6","parent-id":s.parentId,heading:"6. Termination of Registration"},{default:(0,n.w5)((()=>[ur])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac7","parent-id":s.parentId,heading:"7. Limited Permission to Copy"},{default:(0,n.w5)((()=>[pr,hr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac8","parent-id":s.parentId,heading:"8. E-Mail Services"},{default:(0,n.w5)((()=>[gr,mr,fr,vr,wr,br,yr,_r])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac9","parent-id":s.parentId,heading:"9. Disclaimer"},{default:(0,n.w5)((()=>[kr,Ir,Sr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac10","parent-id":s.parentId,heading:"10. Force Majuere"},{default:(0,n.w5)((()=>[Lr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac11","parent-id":s.parentId,heading:"11. Content Sharing"},{default:(0,n.w5)((()=>[Dr])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac12","parent-id":s.parentId,heading:"12. Governing Law"},{default:(0,n.w5)((()=>[Ur])),_:1},8,["parent-id"]),(0,n.Wm)(d,{id:"ac13","parent-id":s.parentId,heading:"13. Jurisdiction"},{default:(0,n.w5)((()=>[Tr])),_:1},8,["parent-id"])])),_:1},8,["id"])],64)}const xr=["id"];function Er(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",{class:"accordion accordion-flush",id:i.id},[(0,n.WI)(e.$slots,"default")],8,xr)}var Cr={props:{id:{type:String,required:!0}}};const Pr=(0,u.Z)(Cr,[["render",Er]]);var Or=Pr;const Nr={class:"accordion-item"},Hr=["id"],Br=["data-bs-target","aria-controls"],Rr=["id","aria-labelledby","data-bs-parent"],Wr={class:"accordion-body"},$r={class:"content"};function Mr(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",Nr,[(0,n._)("h2",{class:"accordion-header",id:i.id},[(0,n._)("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#target-"+i.id,"aria-expanded":"false","aria-controls":"target-"+i.id},(0,v.zw)(i.heading),9,Br)],8,Hr),(0,n._)("div",{id:"target-"+i.id,class:"accordion-collapse collapse","aria-labelledby":i.id,"data-bs-parent":"#"+i.parentId},[(0,n._)("div",Wr,[(0,n._)("div",$r,[(0,n.WI)(e.$slots,"default",{},void 0,!0)])])],8,Rr)])}var Fr={props:{id:{type:String,required:!0},parentId:{type:String,required:!0},heading:{type:String,required:!0}}};const jr=(0,u.Z)(Fr,[["render",Mr],["__scopeId","data-v-e10fbbea"]]);var qr=jr,zr={components:{TheHeader:Pa,AccordionWrapper:Or,AccordionItem:qr,PageInfoNav:$a}
1,data(){return{parentId:"tc-accordion"}}};const Gr=(0,u.Z)(zr,[["render",Ar],["__scopeId","data-v-7502286a"]]);var Yr=Gr;const Vr=e=>((0,n.dD)("data-v-0c9e95a4"),e=e(),(0,n.Cn)(),e),Zr=Vr((()=>(0,n._)("div",{class:"modal-content",id:"datepicker"},null,-1))),Qr={class:"navbar navbar-light bg-white m-0"},Kr={class:"container-fluid"},Jr={class:"navbar-brand"},Xr=["src"],el={class:"d-flex menu-items"},tl={class:"px-2 desktop-nav","data-bs-toggle":"modal","data-bs-target":"#datepickermodal",id:"hideModal"},il=Vr((()=>(0,n._)("span",{class:"prefix-icon"},[(0,n._)("img",{src:j,alt:""})],-1))),al={class:"menu-text"},nl={class:"p-5"},sl={key:0,class:"p-3"},ol={key:1,class:"p-3"},rl={key:2,class:"container bg-white"},ll={class:"row"},dl={class:"text-center pt-3"},cl={class:"table"},ul=Vr((()=>(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,"Supplements"),(0,n._)("th",{class:"text-center"},"Pages")])],-1))),pl={class:"col-8"},hl={class:"text-center"};function gl(e,t,i,a,s,o){const r=(0,n.up)("the-modal");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r,{"modal-id":"datepickermodal"},{default:(0,n.w5)((()=>[Zr])),_:1}),(0,n._)("nav",Qr,[(0,n._)("div",Kr,[(0,n._)("a",Jr,[(0,n._)("img",{class:"logo",src:s.logoPath,alt:""},null,8,Xr)]),(0,n._)("div",el,[(0,n._)("div",tl,[il,(0,n._)("span",al,(0,v.zw)(s.date),1)])])])]),(0,n._)("div",nl,[s.editions.length<=0?((0,n.wg)(),(0,n.iD)("div",sl," No issues available for this date: "+(0,v.zw)(s.date),1)):(0,n.kq)("",!0),s.isLoading?((0,n.wg)(),(0,n.iD)("div",ol,"Loading...")):((0,n.wg)(),(0,n.iD)("div",rl,[(0,n._)("div",ll,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.editions,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"col-12 px-5",key:t}
1,[(0,n._)("h3",dl,(0,v.zw)(e.title),1),(0,n._)("table",cl,[ul,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.supplements,((e,t)=>((0,n.wg)(),(0,n.iD)("tr",{key:t},[(0,n._)("td",pl,(0,v.zw)(e.title),1),(0,n._)("td",hl,(0,v.zw)(e.pages),1)])))),128))])])])))),128))])]))])],64)}const ml="https://epaper.thehindubusinessline.com/ccidist-ws/bl/",fl=e=>`${ml}?json=true&fromDate=${e}&toDate=${e}&skipSections=true&os=web&excludePublications=*-*`;var vl=(e,t={})=>{let i=fl(e);return Gi.debug(`getRegionListUrl: ${i}`),fetch(i,t)};const wl="https://epaper.thehindubusinessline.com/ccidist-ws/bl/",bl=(e,t)=>`${wl}/?json=true&fromDate=${t}&toDate=${t}&skipSections=true&os=web&includePublications=${e}*`;var yl=(e,t,i={})=>{let a=bl(e,t);return Gi.debug(`getEditionsListUrl: ${a}`),fetch(a,i)},_l={components:{TheModal:st},data(){return{date:Je(new Date),editions:[],isLoading:!1,logoPath:"/logo/bl_epaper.svg"}},computed:{formattedDate(){return""!==this.date.trim()?Je(this.date):""}},methods:{async getData(e){this.isLoading=!0;const t=await vl(e,{credentials:"include"}).then((e=>e.json())).catch((()=>[]));t.publications&&t.publications.length>0&&(this.editions=t.publications.filter((e=>e.issues.web&&e.issues.web.length>0)).map((e=>({id:e.id,title:Ln(e.title),pages:e.issues.web[0].pageCount}))),this.editions.forEach((async t=>{const i=await yl(t.id,e,{credentials:"include"}).then((e=>e.json())).catch((()=>[]));i.publications&&i.publications.length>0&&(t.supplements=i.publications.filter((e=>e.issues.web&&e.issues.web.length>0)).map((e=>({id:e.id,title:Ln(e.title),pages:e.issues.web[0].pageCount}))))}))),this.isLoading=!1,this.$logger.debug(this.editions)}},mounted(){window.$("#datepicker").datepicker({defaultDate:new Date,changeMonth:!0,changeYear:!0,dateFormat:"yy-mm-dd",maxDate:0,onSelect:e=>{this.date=Je(e),this.getData(e),window.$("#hideModal").click()}})}};const kl=(0,u.Z)(_l,[["render",gl],["__scopeId","data-v-0c9e95a4"]]);var Il=kl;const Sl={id:"launch"};function Ll(e,t){return(0,n.wg)(),(0,n.iD)("div",Sl)}const Dl={},Ul=(0,u.Z)(Dl,[["render",Ll]]);var Tl=Ul;function Al(e,t){const i=(0,n.up)("router-view");return(0,n.wg)(),(0,n.j4)(i)}const xl={},El=(0,u.Z)(xl,[["render",Al]]);var Cl=El;function Pl(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("TopBanner"),d=(0,n.up)("SubscribeBox"),c=(0,n.up)("SubscribeboxStatic"),u=(0,n.up)("QuotesBlock"),p=(0,n.up)("FaqContact"),h=(0,n.up)("FooterPage");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l),(0,n.Wm)(d),(0,n.Wm)(c),(0,n.Wm)(u),(0,n.Wm)(p),(0,n.Wm)(h)],64)}var Ol=i.p+"img/menu-hamber-icon.231cbe46.svg";const Nl=e=>((0,n.dD)("data-v-669f78f4"),e=e(),(0,n.Cn)(),e),Hl={class:"header"},Bl={class:"container"},Rl={class:"btn-part"},Wl={class:"btns"},$l=Nl((()=>(0,n._)("button",{type:"button",id:"trial-btn",class:"btn btn-free-trial"},[(0,n.Uk)("FREE TRIAL"),(0,n._)("span",{class:"slider"}
1)],-1))),Ml=Nl((()=>(0,n._)("button",{type:"button",class:"btn btn-premium",disabled:"",style:{display:"none"}},[(0,n._)("img",{src:""}),(0,n.Uk)(" PREMIUM")],-1))),Fl={href:"#piano-subscription"},jl=(0,n.Uk)("SUBSCRIBE "),ql=(0,n.Uk)("LOGIN "),zl=Nl((()=>(0,n._)("button",{type:"button",class:"btn btn-account",style:{display:"none"}},[(0,n.Uk)(" ACCOUNT "),(0,n._)("img",{src:""})],-1))),Gl={class:"logo-part"},Yl={class:"logo"},Vl=["src"],Zl=Nl((()=>(0,n._)("div",{class:"date-time"},[(0,n.Uk)("Monday "),(0,n._)("br"),(0,n.Uk)("February 13, 2023")],-1))),Ql=Nl((()=>(0,n._)("div",{class:"epaper-text"},"ePaper",-1))),Kl=(0,n.uE)('<div class="mobile-menu" data-v-669f78f4><div class="mobile-btn-part" data-v-669f78f4><button type="button" class="btn btn-free-trial" data-v-669f78f4>FREE TRIAL<span class="slider" data-v-669f78f4></span></button><button type="button" class="btn btn-premium" disabled style="display:none;" data-v-669f78f4><img src="" data-v-669f78f4> PREMIUM</button><button type="button" class="btn menu-btn" data-v-669f78f4><img class="menu-hamber" src="'+Ol+'" alt="Menu Icon" title="Menu" data-v-669f78f4></button></div></div>',1),Jl={class:"dropdown"},Xl={class:"container"},ed={class:"flex-container"},td=Nl((()=>(0,n._)("button",{type:"button",class:"btn btn-premium",disabled:"",style:{display:"none"}},[(0,n._)("img",{src:""}),(0,n.Uk)(" PREMIUM")],-1))),id=Nl((()=>(0,n._)("a",{href:"#piano-subscription"},"SUBSCRIBE",-1))),ad=(0,n.Uk)("LOGIN "),nd=Nl((()=>(0,n._)("button",{type:"button",class:"btn btn-account",style:{display:"none"}},[(0,n.Uk)(" ACCOUNT "),(0,n._)("img",{src:""})],-1))),sd=Nl((()=>(0,n._)("div",{class:"header-end"},null,-1)));function od(e,t,i,a,s,o){const r=(0,n.up)("BaseButton");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("header",Hl,[(0,n._)("div",Bl,[(0,n._)("div",Rl,[(0,n._)("div",Wl,[$l,Ml,(0,n._)("a",Fl,[(0,n.Wm)(r,{"device-type":"desktop","class-names":["btn-subscribe"]},{default:(0,n.w5)((()=>[jl])),_:1})]),(0,n.Wm)(r,{"device-type":"desktop","class-names":["btn-signup"],onClick:o.showLoginScreen},{default:(0,n.w5)((()=>[ql])),_:1},8,["onClick"]),zl])]),(0,n._)("div",Gl,[(0,n._)("div",Yl,[(0,n._)("img",{src:s.logoPath,alt:"BusinessLine Logo"},null,8,Vl),Zl,Ql])])]),Kl]),(0,n._)("div",Jl,[(0,n._)("div",Xl,[(0,n._)("div",ed,[td,(0,n.Wm)(r,{"device-type":"desktop","class-names":["btn btn-subscribe"]},{default:(0,n.w5)((()=>[id])),_:1}),(0,n.Wm)(r,{"device-type":"desktop","class-names":["btn btn-signup"],onClick:o.showLoginScreen},{default:(0,n.w5)((()=>[ad])),_:1},8,["onClick"]),nd])])]),sd],64)}function rd(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("button",{class:(0,v.C_)(o.classes),onClick:t[0]||(t[0]=(...e)=>i.clickAction&&i.clickAction(...e))},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],2)}var ld={props:{deviceType:{type:String,required:!0},classNames:{type:Array,required:!0},clickAction:{type:Function,required:!1}},computed:{classes(){return"mobile"==this.deviceType?["btn",...this.classNames]:["base-btn",...this.classNames]}}};const dd=(0,u.Z)(ld,[["render",rd],["__scopeId","data-v-11fa73f8"]]);var cd=dd,ud={data(){return{logoPath:"/logo/bl-logo.svg"}},components:{BaseButton:cd},mounted(){window.$(document).ready((function(){var e=window.$(".header-end").outerHeight(),t=window.$(".header").outerHeight();window.$(this).scroll((function(){window.$(window).scrollTop()>e?window.$(".header").addClass("on-scroll"):window.$(window).scrollTop()<t&&window.$(".header").removeClass("on-scroll")})),window.$(".menu-btn").click((function(){return window.$(".menu-btn, .dropdown").toggleClass("opened"),!1}))})),window.$(".btn-subscribe").click((function(){window.$("html, body").animate({scrollTop:window.$(".plans-section").offset().top-150},100)}))},methods:{showLoginScreen(){this.$store.dispatch("auth/login")}}};const pd=(0,u.Z)(ud,[["render",od],["__scopeId","data-v-669f78f4"]]);var hd=pd,gd=i.p+"img/laptop.f612689a.png",md=i.p+"img/bl-icon-white.98a5e1f0.svg";const fd=e=>((0,n.dD)("data-v-16f5123a"),e=e(),(0,n.Cn)(),e),vd={class:"top-banner"},wd={class:"container"},bd={class:"todays-paper-banner"},yd={class:"todays-paper"},_d=fd((()=>(0,n._)("div",{class:"computer"},[(0,n._)("img",{src:gd,alt:"Device"}
1)],-1))),kd={class:"paper"},Id=["src"],Sd=fd((()=>(0,n._)("div",{class:"text-part"},[(0,n._)("h1",null,"Read the digital replica of our daily newspaper"),(0,n._)("button",{id:"trial-btn",class:"basic-btn black-btn"},[(0,n._)("img",{src:md}),(0,n.Uk)("Â Â "),(0,n._)("span",null,"Try Businessline e-Paper")]),(0,n._)("p",{class:"terms"},"*subscription to be purchased separately")],-1)));function Ld(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("section",vd,[(0,n._)("div",wd,[(0,n._)("div",bd,[(0,n._)("div",yd,[_d,(0,n._)("div",kd,[(0,n._)("img",{src:s.image,alt:"Todays Paper"},null,8,Id)])]),Sd])])])}var Dd=i.p+"img/paper1.dac5f3d4.png",Ud={data(){return{image:Dd}},mounted(){this.todayspaperImg()},methods:{todayspaperImg(){fetch("https://www.thehindubusinessline.com/fragment/todays-paper-img").then((function(e){return e.text()})).then((e=>{this.image=this.createElementFromHTML(e).querySelector("img").getAttribute("data-src-template")})).catch((function(e){console.log(e)}))},createElementFromHTML(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}}};const Td=(0,u.Z)(Ud,[["render",Ld],["__scopeId","data-v-16f5123a"]]);var Ad=Td;const xd={class:"plans-section"},Ed=(0,n.uE)('<div class="container" data-v-25a6c81e><h2 class="section-title" data-v-25a6c81e>Our Subscription Plans</h2><div class="sliding-tab" data-v-25a6c81e><div class="sliding-btns" data-v-25a6c81e><div class="btns" data-v-25a6c81e><button class="btn slide-btn btn2 active" data-v-25a6c81e>Monthly</button><button class="btn slide-btn btn1" data-v-25a6c81e>ANNUAL</button></div><span class="slider" data-v-25a6c81e></span></div><div class="sliding-content" data-v-25a6c81e><div id="piano-monthy" style="display:none;" data-v-25a6c81e></div><div id="piano-annual" style="display:block;" data-v-25a6c81e></div></div></div></div>',1),Cd=[Ed];function Pd(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("section",xd,Cd)}var Od={mounted(){window.$(document).ready((function(){window.$(".sliding-btns .slide-btn.btn1").addClass("active"),window.$(".sliding-tab .sliding-content .slide#tab2").show(),window.$(".sliding-btns .slide-btn.btn1").click((function(){return window.$(this).hasClass("active")||(window.$(".sliding-btns .slide-btn").removeClass("active"),window.$(this).addClass("active"),window.$(".sliding-tab .sliding-btns .slider").css("right","0"),window.$(".sliding-tab .sliding-content .slide#tab2").show(),window.$(".sliding-tab .sliding-content .slide#tab1").hide(),window.$(this).hasClass("active")&&(document.getElementById("piano-monthy").style.display="none",document.getElementById("piano-annual").style.display="block")),0})),window.$(".sliding-btns .slide-btn.btn2").click((function(){return window.$(".sliding-btns .slide-btn").removeClass("active"),window.$(this).addClass("active"),window.$(".sliding-tab .sliding-btns .slider").css("right",window.$(".sliding-btns .slide-btn").outerWidth()+3),window.$(".sliding-tab .sliding-content .slide#tab1").show(),window.$(".sliding-tab .sliding-content .slide#tab2").hide(),window.$(this).hasClass("active")&&(document.getElementById("piano-annual").style.display="none",document.getElementById("piano-monthy").style.display="block"),0}))}))}};const Nd=(0,u.Z)(Od,[["render",Pd],["__scopeId","data-v-25a6c81e"]]);var Hd=Nd,Bd=i.p+"img/exclusive-extra-icon.2dc6e936.svg",Rd=i.p+"img/access-archive-icon.586b3241.svg",Wd=i.p+"img/pdf-icon.bbc7874b.svg";const $d=e=>((0,n.dD)("data-v-1813957b"),e=e(),(0,n.Cn)(),e),Md={class:"container"},Fd=$d((()=>(0,n._)("h2",{class:"section-title"},"Why should you Subscribe?",-1))),jd={class:"subscribe-boxes"},qd={class:"box"},zd=$d((()=>(0,n._)("p",null,"Exclusive Extras",-1))),Gd=$d((()=>(0,n._)("img",{src:Bd,alt:""},null,-1))),Yd={class:"box"},Vd=$d((()=>(0,n._)("p",null,"Access Archive",-1))),Zd=$d((()=>(0,n._)("img",{src:Rd,alt:""},null,-1))),Qd={class:"box"},Kd=$d((()=>(0,n._)("p",null,"Download PDFs",-1))),Jd=$d((()=>(0,n._)("img",{src:Wd,alt:""},null,-1)));function Xd(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("section",null,[(0,n._)("div",Md,[Fd,(0,n._)("div",jd,[(0,n._)("div",qd,[zd,Gd,(0,n._)("a",{onClick:t[0]||(t[0]=(...e)=>o.showLoginScreen&&o.showLoginScreen(...e))},"Explore Now")]),(0,n._)("div",Yd,[Vd,Zd,(0,n._)("a",{onClick:t[1]||(t[1]=(...e)=>o.showLoginScreen&&o.showLoginScreen(...e))},"Explore Now")]),(0,n._)("div",Qd,[Kd,Jd,(0,n._)("a",{onClick:t[2]||(t[2]=(...e)=>o.showLoginScreen&&o.showLoginScreen(...e))},"Explore Now")])])])])}var ec={methods:{showLoginScreen(){this.$store.dispatch("auth/login")}}};const tc=(0,u.Z)(ec,[["render",Xd],["__scopeId","data-v-1813957b"]]);var ic=tc;const ac=e=>((0,n.dD)("data-v-52a53238"),e=e(),(0,n.Cn)(),e),nc=ac((()=>(0,n._)("div",{class:"container"},[(0,n._)("h2",{class:"section-title"},"See what our users say"),(0,n._)("div",{class:"row"},[(0,n._)("div",{class:"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12",id:"usersays"})])],-1))),sc=[nc];function oc(e,t){return(0,n.wg)(),(0,n.iD)("section",null,sc)}const rc={},lc=(0,u.Z)(rc,[["render",oc],["__scopeId","data-v-52a53238"]]);var dc=lc;const cc=(0,n.uE)('<section data-v-345f338a><div class="container" data-v-345f338a><h2 class="section-title" data-v-345f338a>FAQs</h2><div class="row" data-v-345f338a><div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12" data-v-345f338a><div class="wrapper" data-v-345f338a><div class="accordion accordion-flush" id="myAccordion" data-v-345f338a><div class="accordion-item" data-v-345f338a><h2 class="accordion-header" id="flush-heading1" data-v-345f338a><button class="accordion-button collapsed border-0" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapse1" aria-expanded="false" aria-controls="flush-collapse1" data-v-345f338a>Whay is the difference between BusinessLine ePaper and BusinessLine?</button></h2><div id="flush-collapse1" class="accordion-collapse collapse border-0" aria-labelledby="flush-heading1" data-bs-parent="#myAccordion" data-v-345f338a><div class="accordion-body" data-v-345f338a><p data-v-345f338a>A digital subscription to The Hindu will provide you access to premium features such as personalised article recommendations, quick briefings on the day's news, ability to bookmark articles for later reading, and more.</p><p data-v-345f338a>Please note: The Hindu's current digital subscription packages do not cover crosswords and e-paper.</p></div></div></div><div class="accordion-item" data-v-345f338a><h2 class="accordion-header" id="flush-heading2" data-v-345f338a><button class="accordion-button collapsed border-0" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapse2" aria-expanded="false" aria-controls="flush-collapse1" data-v-345f338a>Can I use the same User ID and Password across the platforms for accessing the content?</button></h2><div id="flush-collapse2" class="accordion-collapse collapse border-0" aria-labelledby="flush-heading2" data-bs-parent="#myAccordion" data-v-345f338a><div class="accordion-body" data-v-345f338a><p data-v-345f338a>Please note: The Hindu's current digital subscription packages do not cover crosswords and e-paper.</p></div></div></div></div></div></div></div></div></section><section data-v-345f338a><div class="container" data-v-345f338a><h2 class="section-title" data-v-345f338a>Contacts</h2><div class="row" data-v-345f338a><div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12" data-v-345f338a><p class="contact-line" data-v-345f338a><span data-v-345f338a><u data-v-345f338a>1800 102 1878</u></span> <span data-v-345f338a><a href="mailto:[email protected]" data-v-345f338a>[email protected]</a></span> <span data-v-345f338a>Monday - Friday at 10am - 6pm</span></p></div></div></div></section>',2);function uc(e,t){return cc}const pc={},hc=(0,u.Z)(pc,[["render",uc],["__scopeId","data-v-345f338a"]]);var gc=hc,mc=i.p+"img/google-playstore-icon.dad50a8a.svg",fc=i.p+"img/apple-store-icon.a21e3b6c.svg",vc=i.p+"img/footer-icon-fb.8c80404e.svg",wc=i.p+"img/footer-icon-x.f32382f7.svg",bc=i.p+"img/footer-icon-insta.db63539b.svg",yc=i.p+"img/footer-icon-linkedin.c028c3b6.svg",_c=i.p+"img/footer-icon-youtube.830f2129.svg",kc=i.p+"img/footer-icon-drizzle.740a4f99.svg",Ic=i.p+"img/back-to-top-arrow.f6945a8f.svg";const Sc={class:"container"},Lc={class:"row footer-logo"},Dc={class:"col-xl-6 col-md-6 col-sm-6 col-xs-12 col-12"},Uc={href:"#_"},Tc=["src"],Ac=(0,n.uE)('<div class="col-xl-6 col-md-6 col-sm-6 col-xs-12 col-12" data-v-ee8302f2><div class="app-icon" data-v-ee8302f2><a href="https://play.google.com/store/apps/details?id=com.epaper.thehindubusinessline.android" title="Google Play" data-v-ee8302f2><img src="'+mc+'" alt="Google Play" data-v-ee8302f2></a><a href="https://apps.apple.com/in/app/businessline-epaper/id1563008614" title="Ap
1ple Store" data-v-ee8302f2><img src="'+fc+'" alt="Apple Store" data-v-ee8302f2></a></div></div>',1),xc={class:"row footer-menu"},Ec={class:"col-xl-2 col-md-2 col-sm-3 col-xs-12 col-12"},Cc={class:"footer-list"},Pc={class:"footer-arrow"},Oc={class:"footer-sub-list"},Nc=["href"],Hc={class:"footer-list"},Bc={class:"title"},Rc={class:""},Wc={class:"footer-arrow"},$c={class:"footer-sub-list"},Mc=["href"],Fc=(0,n.uE)('<div class="row pb-5" data-v-ee8302f2><div class="col-xl-12 col-md-12 col-sm-12 col-xs-12 col-12" data-v-ee8302f2><ul class="footer-social-icon" data-v-ee8302f2><li data-v-ee8302f2><a href="https://www.facebook.com/TheHinduBusinessLine" title="Facebook" data-v-ee8302f2><img src="'+vc+'" alt="Facebook" title="Facebook" data-v-ee8302f2></a></li><li data-v-ee8302f2><a href="https://twitter.com/businessline" title="Twitter" data-v-ee8302f2><img src="'+wc+'" alt="Twitter" title="Twitter" data-v-ee8302f2></a></li><li data-v-ee8302f2><a href="https://www.instagram.com/hindu_businessline/" title="Instagram" data-v-ee8302f2><img src="'+bc+'" alt="Instagram" title="Instagram" data-v-ee8302f2></a></li><li data-v-ee8302f2><a href="https://in.linkedin.com/company/hindubusinessline" title="Linkedin" data-v-ee8302f2><img src="'+yc+'" alt="LinkedIn" title="LinkedIn" data-v-ee8302f2></a></li><li data-v-ee8302f2><a href="https://www.youtube.com/user/HinduBusinessLine" title="Youtube" data-v-ee8302f2><img src="'+_c+'" alt="YouTube" title="YouTube" data-v-ee8302f2></a></li><li data-v-ee8302f2><a href="https://open.spotify.com/show/0dT640TEOm9S2ThjMpTCnV" title="Drizzle" data-v-ee8302f2><img src="'+kc+'" alt="Drizzle" title="Drizzle" data-v-ee8302f2></a></li></ul><ul class="link-list" data-v-ee8302f2><li data-v-ee8302f2><a href="https://www.thehindugroup.com/privacy.html" data-v-ee8302f2>Terms of Use</a></li><li data-v-ee8302f2><a href="https://www.thehindugroup.com/termsofuse.html" data-v-ee8302f2>Privacy policy</a></li></ul><div class="copyrights" data-v-ee8302f2><a data-v-ee8302f2>Copyright© 2022, THG PUBLISHING PVT LTD. or its affiliated companies. All rights reserved.</a></div><div class="back-to-top" data-v-ee8302f2><p data-v-ee8302f2>BACK TO TOP<img src="'+Ic+'" alt="Arrow Icon" data-v-ee8302f2></p></div></div></div>',1);function jc(e,t,i,a,s,o){const r=(0,n.up)("FooterpageTrending");return(0,n.wg)(),(0,n.iD)("footer",null,[(0,n._)("div",Sc,[(0,n._)("div",Lc,[(0,n._)("div",Dc,[(0,n._)("a",Uc,[(0,n._)("img",{src:s.logoPath,class:"img-fluid mobile-logo",alt:"BusinessLine Logo"},null,8,Tc)])]),Ac]),(0,n._)("div",xc,[(0,n._)("div",Ec,[(0,n._)("ul",Cc,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.menu.slice(0,2),((e,t)=>((0,n.wg)(),(0,n.iD)("li",{class:"title",key:t},[(0,n._)("h5",{class:(0,v.C_)(1==t?"no-border":"")}
1,[(0,n._)("span",Pc,(0,v.zw)(e.title),1)],2),(0,n._)("ul",Oc,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.children,(e=>((0,n.wg)(),(0,n.iD)("li",{key:e.title},[(0,n._)("a",{href:e.href},(0,v.zw)(e.title),9,Nc)])))),128))])])))),128))])]),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.menu.slice(2),(e=>((0,n.wg)(),(0,n.iD)("div",{class:"col-xl-2 col-md-2 col-sm-3 col-xs-12 col-12",key:e.id},[(0,n._)("ul",Hc,[(0,n._)("li",Bc,[(0,n._)("h5",Rc,[(0,n._)("span",Wc,(0,v.zw)(e.title),1)]),(0,n._)("ul",$c,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.children,(e=>((0,n.wg)(),(0,n.iD)("li",{key:e.title},[(0,n._)("a",{href:e.href},(0,v.zw)(e.title),9,Mc)])))),128))])])])])))),128)),(0,n.Wm)(r)]),Fc])])}var qc=JSON.parse('[{"title":"The Hindu Businessline","children":[{"title":"About Us","href":"https://www.thehindubusinessline.com/aboutus/"},{"title":"Archive","href":"https://www.thehindubusinessline.com/archive/"},{"title":"Newsletter","href":"https://www.thehindubusinessline.com/newsletter/"},{"title":"Rss Feeds","href":"https://www.thehindubusinessline.com/rssfeeds/"}]},{"title":"Contact us","children":[{"title":"Newsroom","href":"https://www.thehindubusinessline.com/contacts/"},{"title":"Customer care","href":"https://www.thehindubusinessline.com/contacts/"},{"title":"Advertisement","href":"https://www.thehindubusinessline.com/contacts/"},{"title":"Careers","href":"https://in.linkedin.com/school/the-hindu/jobs?trk=nav_type_jobs"}]},{"title":"Group News Sites","children":[{"title":"The Hindu","href":"https://www.thehindu.com/"},{"title":"BL on Campus","href":"https://www.thehindubusinessline.com/on-campus/"},{"title":"Sporstar","href":"https://sportstar.thehindu.com/"},{"title":"Businessline","href":"https://www.thehindubusinessline.com/"},{"title":"à®à®¨à¯à®¤à¯ தமிழ௠திà®à¯","href":"https://www.hindutamil.in/"},{"title":"The Hindu Centre","href":"https://www.thehinducentre.com/"},{"title":"Frontline","href":"https://frontline.thehindu.com/"},{"title":"Young World Club","href":"https://ywc.thehindu.com/"},{"title":"The Hindu ePaper","href":"https://epaper.thehindu.com/login?utm_source=thehindu&utm_medium=hamburger"},{"title":"Business Line ePaper","href":"https://epaper.thehindubusinessline.com/login?utm_source=Businessline&utm_medium=Footer&utm_campaign=SiteMenu"},{"title":"Crossword + Free Games","href":"https://crossword.thehindu.com/?utm_source=thehindu&utm_medium=mainmenu"},{"title":"The Hindu Coupons","href":"https://www.thehindu.com/coupons/"}]},{"title":"Other Products","children":[{"title":"RoofandFloor","href":"https://roofandfloor.thehindu.com/?utm_source=businessline&utm_medium=referral&utm_campaign=Internal-Marketing"},{"title":"STEP","href":"https://step.thehindu.com/"},{"title":"Images","href":"https://thehinduimages.com/"},{"title":"Classifieds","href":"https://classifieds.thehindu.com/"},{"title":"Special Publications","href":"https://publications.thehindugroup.com/bookstore/"},{"title":"eBooks","href":"https://publications.thehindugroup.com/bookstore/"}]},{"title":"Popular Sections","children":[{"title":"Companies","href":"https://www.thehindubusinessline.com/companies/"},{"title":"Markets","href":"https://www.thehindubusinessline.com/markets/"},{"title":"Economy","href":"https://www.thehindubusinessline.com/economy/"},{"title":"Specials","href":"https://www.thehindubusinessline.com/specials/"},{"title":"Portfolio","href":"https://www.thehindubusinessline.com/portfolio/"},{"title":"Resources","href":"https://www.thehindubusinessline.com/resources/"},{"title":"Company Index","href":"https://www.thehindubusinessline.com/companies/index/"},{"title":"Home Loan Interest Rate","href":"https://www.thehindubusinessline.com/money-and-banking/The-Latest-Home-Loan-Interest-Rates-July-21-2023/article64808517.ece"},{"title":"Fixed Deposit Interest Rate","href":"https://www.thehindubusinessline.com/money-and-banking/The-Latest-Fixed-Deposit-Interest-Rates-July-21-2023/article64808518.ece"},{"title":"Income Tax Calculator 2022-2023","href":"https://www.thehindubusinessline.com/income-tax-calculator/"},{"title":"NSE Holidays","href":"https://www.thehindubusinessline.com/markets/nse-holidays/article67022753.ece"},{"title":"BSE Holidays","href":"https://www.thehindubusinessline.com/markets/bse-holidays/article67022721.ece"},{"title":"Bank Holidays","href":"https://www.thehindubusinessline.com/markets/bank-holidays/article67022728.ece"},{"title":"Age Calculator","href":"https://www.thehindubusinessline.com/money-and-banking/age-calculator/article67124194.ece"},{"title":"Gold rate today","href":"https://www.thehindubusinessline.com/gold-rate-today/Chennai/"},{"title":"Silver rate today","href":"https://www.thehindubusinessline.com/silver-rate-today/Chennai/"}]}]');const zc={class:"col-xl-4 col-md-4 col-sm-12 col-xs-12 col-12 mobile-footer-pad"},Gc=(0,n.uE)('<h5 class="footer-top-border">Trending on thehindubusinessline.com</h5><div id="trending-on-site"></div><h5 class="no-border mt-2">Trending on our Group sites</h5><div id="trending-on-group-site-one"></div><div id="trending-on-group-site-two"></div><div id="trending-on-group-site-three"></div>',6),Yc=[Gc];function Vc(e,t){return(0,n.wg)(),(0,n.iD)("div",zc,Yc)}const Zc={}
1,Qc=(0,u.Z)(Zc,[["render",Vc]]);var Kc=Qc,Jc={components:{FooterpageTrending:Kc},mounted(){window.$(document).ready((function(){window.$(".back-to-top").click((function(){window.$("html, body").animate({scrollTop:0},100)}))}))},data(){return{menu:qc,footerHtml:"",logoPath:"/logo/bl-logo.svg"}}};const Xc=(0,u.Z)(Jc,[["render",jc],["__scopeId","data-v-ee8302f2"]]);var eu=Xc,tu={components:{TheHeader:hd,TopBanner:Ad,SubscribeBox:Hd,SubscribeboxStatic:ic,QuotesBlock:dc,FaqContact:gc,FooterPage:eu},mounted(){window.tp?.push(["init",()=>{window.tp.pianoId?.isUserValid()&&this.$router.push("/reader")}])}};const iu=(0,u.Z)(tu,[["render",Pl]]);var au=iu;const nu={class:"p-3",id:"my-account-webview"};function su(e,t){return(0,n.wg)(),(0,n.iD)("div",nu)}const ou={},ru=(0,u.Z)(ou,[["render",su],["__scopeId","data-v-4dfb1b06"]]);var lu=ru;const du={id:"subscription"};function cu(e,t){return(0,n.wg)(),(0,n.iD)("div",du)}const uu={},pu=(0,u.Z)(uu,[["render",cu]]);var hu=pu;const gu={class:"p-3",id:"free-trial-webview"};function mu(e,t){return(0,n.wg)(),(0,n.iD)("div",gu)}const fu={},vu=(0,u.Z)(fu,[["render",mu],["__scopeId","data-v-6ec543ad"]]);var wu=vu;const bu=e=>((0,n.dD)("data-v-3d02420e"),e=e(),(0,n.Cn)(),e),yu=bu((()=>(0,n._)("div",{class:"p-3",id:"faq"},null,-1)));function _u(e,t,i,a,s,o){const r=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r,{heading:"FAQ",isWebview:!0}),yu],64)}var ku={components:{PageInfoNav:$a}};const Iu=(0,u.Z)(ku,[["render",_u],["__scopeId","data-v-3d02420e"]]);var Su=Iu;const Lu=(0,n.uE)('<div class="container bg-white mt-5" data-v-6b725c18><div class="row py-4 px-2" data-v-6b725c18><div class="col-sm-12" data-v-6b725c18><p class="m-0" data-v-6b725c18> For e-Paper subscription related errors/queries & e-Paper web site features, please email <a href="mailto:[email protected]" data-v-6b725c18>[email protected]</a>. <strong data-v-6b725c18>Toll free: 1800-102-1878</strong><br data-v-6b725c18><br data-v-6b725c18> If you'd like to discuss a point with the Readersâ Editor (our newspaper's internal ombudsman), you can write to :<br data-v-6b725c18> The Readersâ Editor, 859 & 860, Anna Salai, Chennai 600002, India<br data-v-6b725c18> or fax the Readersâ Editor at (+91) (44) 28415325 </p></div></div></div>',1);function Du(e,t,i,a,s,o){const r=(0,n.up)("page-info-nav");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r,{heading:"Contact Us",isWebview:!0}),Lu],64)}var Uu={components:{PageInfoNav:$a}};const Tu=(0,u.Z)(Uu,[["render",Du],["__scopeId","data-v-6b725c18"]]);var Au=Tu;const xu=e=>((0,n.dD)("data-v-79a740b8"),e=e(),(0,n.Cn)(),e),Eu=(0,n.Uk)(' The publishing business undertaking of Kasturi & Sons Limited has been demerged, transferred and vested with THG Publishing Private Limited, a subsidiary of Kasturi & Sons Limited, pursuant to the order of the National Company Law Tribunal (NCLT, Chennai Bench) sanctioning the Scheme of Arrangement (Demerger) (âthe Schemeâ). In accordance with the Scheme, all the contracts/ agreements entered into by Kasturi & Sons Limited in relation to the publishing business undertaking and the related rights and obligations thereto, stand transferred in favour of THG Publishing Private Limited. You (the user) can access epaper.thehindubusinessline.com ("the site"), subject to the terms and conditions of use, as changed / updated from time to time entirely at the discretion of THG Publishing Private Limited as set out below. This Agreement is for an indefinite term and you understand and agree that are bound by such terms till the time you access this site. '),Cu=(0,n.Uk)("We reserve the right to add to or change/modify the terms of this Agreement including but not limited to suspend / cancel, or discontinue any or all channels, or service at any time without notice, make modifications and alterations in any or all of the content, products and services contained on the site without prior notice.. You will be deemed to have accepted such change/s if you continue to access the Site subsequent to such changes."),Pu=xu((()=>(0,n._)("br",null,null,-1))),Ou=(0,n.Uk)("When you register, you are registering as a personal user of epaper.thehindubusinessline.com. Acce
1ss to registration areas is via your email address and password. "),Nu=xu((()=>(0,n._)("br",null,null,-1))),Hu=xu((()=>(0,n._)("br",null,null,-1))),Bu=(0,n.Uk)("We allow you access to the registration areas of the site on the basis that: "),Ru=xu((()=>(0,n._)("br",null,null,-1))),Wu=xu((()=>(0,n._)("br",null,null,-1))),$u=(0,n.Uk)("(i) Your email address and password are personal to you and may not be used by anyone else to access epaper.thehindubusinessline.com and you have completed 18 (Eighteen) years of age. If not, your registration shall be subject to your Guardian approval for usage by you. "),Mu=xu((()=>(0,n._)("br",null,null,-1))),Fu=xu((()=>(0,n._)("br",null,null,-1))),ju=(0,n.Uk)("(ii) You will not do anything which would assist anyone who is not a registered user to gain access to any registration area of epaper.thehindubusinessline.com "),qu=xu((()=>(0,n._)("br",null,null,-1))),zu=xu((()=>(0,n._)("br",null,null,-1))),Gu=(0,n.Uk)("(iii) You do not create additional registration accounts for the purpose of abusing the functionality of the site, or other users; nor do you seek to pass yourself off as another user "),Yu=xu((()=>(0,n._)("br",null,null,-1))),Vu=xu((()=>(0,n._)("br",null,null,-1))),Zu=(0,n.Uk)("(iv) You comply with these terms and conditions. "),Qu=xu((()=>(0,n._)("br",null,null,-1))),Ku=xu((()=>(0,n._)("br",null,null,-1))),Ju=(0,n.Uk)("If, for any reason, we believe that you have not complied with these requirements, we may, at our discretion, cancel your access to the registration areas of thehinduepaper.com or epaper.thehindubusinessline.com and without giving you any advance notice. "),Xu=(0,n.Uk)("Any payment or subscription paid is non-refundable. We reserve the right to change subscription and / or membership fees any time without prior notice."),ep=(0,n.Uk)("Unless otherwise stated, copyright and all intellectual property rights in all material presented on the site (including but not limited to text, audio, video or graphical images), trademarks and logos appearing on this site are the property of THG Publishing Private Limited, its parent, affiliates and associates and are protected under applicable Indian laws. Any infringement shall be vigorously defended and pursued to the fullest extent permitted by law."),tp=(0,n.Uk)("If we wish to bring the agreement to an end, we will do so by emailing you at the address you have registered stating that the agreement has terminated. The agreement will terminate and your email address and password will become invalid on epaper.thehindubusinessline.com immediately."),ip=(0,n.Uk)(" You are permitted to print or download extracts from these pages for your personal non-commercial use only. Any copies of these pages saved to disk or to any other storage medium may only be used for subsequent viewing purposes or to print extracts for personal use. You may not (whether directly or through the use of any software program) create a database in electronic or structured manual form by regularly or systematically downloading and storing all or any part of the pages from this site. No part of the Site may be reproduced or transmitted to or stored in any other web site, nor may any of its pages or part thereof be disseminated in any electronic or non-electronic form, nor included in any public or private electronic retrieval system or service without prior written permission. "),ap=xu((()=>(0,n._)("p",null,[(0,n._)("br"),(0,n._)("strong",null,"Third Party Material"),(0,n._)("br"),(0,n._)("br"),(0,n.Uk)("You will see advertising material submitted by third parties on epaper.thehindubusinessline.com Individual advertisers are solely responsible for the content of advertising material which they submit to us, including ensuring that it complies with relevant legislation. We accept no responsibility for the content of advertising material, including, without limitation, any error, omission or inaccuracy therein. ")],-1))),np=xu((()=>(0,n._)("p",null,"You agree to not use the service to:",-1))),sp=xu((()=>(0,n._)("p",null," Upload, post, email, transmit or otherwise make available any content that is unlawful, harmful, threatening, abusive, harassing, tortious, defamatory, vulgar, obscene, libellous, invasive of another's privacy, hateful, or racially, ethnically or otherwise objectionable. ",-1))),op=xu((()=>(0,n._)("p",null,"Harm minors in any way.",-1))),rp=xu((()=>(0,n._)("p",null," Impersonate any person or entity, including, but not limited to THG Publishing Private Limited official, forum leader, guide or host, or falsely state or otherwise misrepresent your affiliation with a person or entity. ",-1))),lp=xu((()=>
1(0,n._)("p",null," Forge headers or otherwise manipulate identifiers in order to disguise the origin of any content transmitted through the service. ",-1))),dp=xu((()=>(0,n._)("p",null," Upload, post, email, transmit or otherwise make available any content that you do not have a right to make available under any law or under contractual or fiduciary relationships (such as inside information, proprietary and confidential information learned or disclosed as part of employment relationships or under nondisclosure agreements). ",-1))),cp=xu((()=>(0,n._)("p",null,' Upload, post, email, transmit or otherwise make available any Content that infringes any patent, trademark, trade secret, copyright or other proprietary rights ("Rights") of any party. ',-1))),up=xu((()=>(0,n._)("p",null,[(0,n.Uk)(' Upload, post, email, transmit or otherwise make available any unsolicited or unauthorised advertising, promotional materials, "junk mail," "spam," "chain letters," "pyramid schemes," or any other form of solicitation '),(0,n._)("br")],-1))),pp=xu((()=>(0,n._)("p",null,' All the contents of this Site are only for general information or use. They do not constitute advice and should not be relied upon in making (or refraining from making) any decision. Any specific advice or replies to queries in any part of the Site is/are the personal opinion of such experts/consultants/persons and are not subscribed to by this Site. The information from or through this site is provided on "AS IS" basis, and all warranties, expressed or implied of any kind, regarding any matter pertaining to any goods, service or channel, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement are disclaimed and excluded. ',-1))),hp=xu((()=>(0,n._)("p",null," THG Publishing Private Limited shall not be liable, at any time for damages (including, without limitation, damages for loss of business projects, or loss of profits) arising in contract, tort or otherwise from the use of or inability to use the Site, or any of its contents, or from any act or omissions a result of using the Site or any such contents or for any failure of performance, error, omission, interruption, deletion, defect, delay in operation or transmission, computer virus, communications line failure, theft or destruction or unauthorised access to, alteration of, or use of information contained on the site. No representations, warranties or guarantees whatsoever are made as to the accuracy, adequacy, reliability, completeness, suitability or applicability of the information to a particular situation. ",-1))),gp=xu((()=>(0,n._)("p",null," Certain links on the Site lead to resources located on servers maintained by third parties over whom THG Publishing Private Limited has no control or connection, business or otherwise as these sites are external to THG Publishing Private Limited you agree and understand that by visiting such sites you are beyond the THG Publishing Private Limited website. THG Publishing Private Limited therefore neither end
1orses nor offers any judgement or warranty and accepts no responsibility or liability for the authenticity/availability of any of the goods/services/or for any damage, loss or harm, direct or consequential or any violation of local or international laws that may be incurred by your visit and/or transaction/s on these sites ",-1))),mp=(0,n.Uk)("Although we will do our best to provide constant, uninterrupted access to thehindubusinessline.com or epaper.thehindubusinessline.com, we do not guarantee this. We accept no responsibility or liability for any interruption or delay."),fp=(0,n.Uk)("The contents of this e-Paper are proprietary and should not be shared with anyone. This condition doesnât apply to sharing individual articles on social media websites for the purpose of initiating discussions and expressing opinions."),vp=(0,n.Uk)("This agreement shall be governed by the Indian Law."),wp=(0,n.Uk)("The Courts in Chennai shall have the exclusive jurisdiction to the exclusion of other courts.");function bp(e,t,i,a,s,o){const r=(0,n.up)("page-info-nav"),l=(0,n.up)("accordion-item"),d=(0,n.up)("accordion-wrapper");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r,{heading:"Terms and Conditions",isWebview:!0}),(0,n.Wm)(d,{id:s.parentId,class:"container-lg mt-5 px-md-5"},{default:(0,n.w5)((()=>[(0,n.Wm)(l,{id:"ac1","parent-id":s.parentId,heading:"1. User Agreement"},{default:(0,n.w5)((()=>[Eu])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac2","parent-id":s.parentId,heading:"2. Changes"},{default:(0,n.w5)((()=>[Cu])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac3","parent-id":s.parentId,heading:"3. Registration"},{default:(0,n.w5)((()=>[Pu,Ou,Nu,Hu,Bu,Ru,Wu,$u,Mu,Fu,ju,qu,zu,Gu,Yu,Vu,Zu,Qu,Ku,Ju])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac4","parent-id":s.parentId,heading:"4. Charges"},{default:(0,n.w5)((()=>[Xu])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac5","parent-id":s.parentId,heading:"5. Copyright and Trademarks"},{default:(0,n.w5)((()=>[ep])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac6","parent-id":s.parentId,heading:"6. Termination of Registration"},{default:(0,n.w5)((()=>[tp])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac7","parent-id":s.parentId,heading:"7. Limited Permission to Copy"},{default:(0,n.w5)((()=>[ip,ap])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac8","parent-id":s.parentId,heading:"8. E-Mail Services"},{default:(0,n.w5)((()=>[np,sp,op,rp,lp,dp,cp,up])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac9","parent-id":s.parentId,heading:"9. Disclaimer"},{default:(0,n.w5)((()=>[pp,hp,gp])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac10","parent-id":s.parentId,heading:"10. Force Majuere"},{default:(0,n.w5)((()=>[mp])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac11","parent-id":s.parentId,heading:"11. Content Sharing"},{default:(0,n.w5)((()=>[fp])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac12","parent-id":s.parentId,heading:"12. Governing Law"},{default:(0,n.w5)((()=>[vp])),_:1},8,["parent-id"]),(0,n.Wm)(l,{id:"ac13","parent-id":s.parentId,heading:"13. Jurisdiction"},{default:(0,n.w5)((()=>[wp])),_:1},8,["parent-id"])])),_:1},8,["id"])],64)}var yp={components:{AccordionWrapper:Or,AccordionItem:qr,PageInfoNav:$a},data(){return{parentId:"tc-accordion"}}};const _p=(0,u.Z)(yp,[["render",bp],["__scopeId","data-v-79a740b8"]]);var kp=_p;const Ip={id:"subscription"};function Sp(e,t){return(0,n.wg)(),(0,n.iD)("div",Ip)}const Lp={},Dp=(0,u.Z)(Lp,[["render",Sp],["__scopeId","data-v-f2b3c0c6"]]);var Up=Dp;function Tp(e,t){return(0,n.wg)(),(0,n.iD)("h1",null,"404 Not Found")}const Ap={},xp=(0,u.Z)(Ap,[["render",Tp]]);var Ep=xp;function Cp(e,t,i,a,s,o){const r=(0,n.up)("the-header"),l=(0,n.up)("router-view");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r),(0,n.Wm)(l)],64)}var Pp={components:{TheHeader:Pa}};const Op=(0,u.Z)(Pp,[["render",Cp],["__scopeId","data-v-d314762a"]]);var Np=Op;const Hp={class:"p-3",id:"editorsdesk"};function Bp(e,t,i,a,s,o){return(0,n.wg)(),(0,n.iD)("div",Hp)}var Rp={name:"EditorsDesk"};const Wp=(0,u.Z)(Rp,[["render",Bp]]);var $p=Wp;const Mp=(0,g.p7)({history:(0,g.PO)(),routes:[{path:"/",redirect:"/reader",meta:{title:"The Hindu BusinessLine ePaper | Latest Business News and Financial Updates",auth:!1}},{path:"/reader",component:ya,meta:{title:"The Hindu BusinessLine ePaper | Latest Business News and Financial Updates",auth:!1}},{path:"/login",redirect:"/reader",meta:{title:"The Hindu BusinessLine ePaper | Latest Business News and Financial Updates",auth:!1}},{path:"/registration",component:au,meta:{title:"The Hindu BusinessLine ePaper | Latest Business News and Financial Updates",auth:!1}},{path:"/myaccount",component:ja,meta:{title:"My Account - The Hindu BusinessLine",auth:!0}
1},{path:"/subscribe",component:Za,meta:{title:"Subscribe - The Hindu BusinessLine",auth:!1}},{path:"/retention",component:Za,meta:{title:"Subscribe - The Hindu BusinessLine",auth:!1}},{path:"/dsubscription",component:Za,meta:{title:"Subscribe - The Hindu BusinessLine",auth:!1}},{path:"/Home/DirectSubscription",component:Za,meta:{title:"Subscribe - The Hindu BusinessLine",auth:!1}},{path:"/search",component:Tn,props:e=>({query:e.query.q}),meta:{auth:!0}},{path:"/activity",component:ds,meta:{auth:!0}},{path:"/favourites",component:Io,meta:{auth:!0}},{path:"/articleshare",component:To,props:e=>({shareUrl:e.query.articleurl}),meta:{auth:!0}},{path:"/contact",component:Po,meta:{auth:!1}},{path:"/faq",component:Wo,meta:{auth:!1}},{path:"/terms-and-condition",component:Yr,meta:{auth:!1}},{path:"/edition-check",component:Il,meta:{auth:!0}},{path:"/Home/launch",component:Tl,meta:{auth:!1}},{path:"/appwebview",component:Cl,beforeEnter:f,children:[{path:"freetrial",component:wu},{path:"myaccount",component:lu},{path:"subscription",component:hu},{path:"faq",component:Su},{path:"contact",component:Au},{path:"terms-and-condition",component:kp},{path:"android",component:Up}],meta:{auth:!1}},{path:"/static/premium",component:Np,beforeEnter:f,children:[{path:"editors-desk",component:$p}],meta:{auth:!1}},{path:"/:pathMatch(.*)*",component:Ep,meta:{auth:!1}}]});Mp.beforeEach(m);var Fp=Mp;const jp={namespaced:!0,state:()=>({authStatus:window.tp?.pianoId?.isUserValid()??!1,userType:"UNKNOWN"}),mutations:{updateAuthStatus:e=>e.authStatus=window.tp?.pianoId?.isUserValid()},getters:{getAuthState:e=>e.authStatus,getUserType:e=>e.userType},actions:{login:e=>{window.tp.pianoId.show({loggedIn:t=>{e.commit("updateAuthStatus"),Gi.debug("user ",t.user," logged in with token",t.token)}})},signup:e=>{window.tp.push(["init",function(){window.tp.pianoId.show({screen:"register",loggedIn:t=>{e.commit("updateAuthStatus"),location.reload(),Gi.debug("user ",t.user," logged in with token",t.token)}})}])},logout:e=>{window.tp.pianoId.logout(),e.commit("updateAuthStatus")}}};var qp=jp,zp={changeLoadingState:(e,t)=>e.loading=t,changeDate:(e,t)=>e.date=t,changeRegion:(e,t)=>e.region=t,changeEdition:(e,t)=>e.edition=t,changeRegionList:(e,t)=>e.regionsList=t,changeEditionsList:(e,t)=>e.editionsList=t,changeIframeUrl:(e,t)=>e.iframeUrl=t,changeArticleViewUserEventFiredStatus:e=>e.isArticleViewUserEventFired=!0};const Gp="https://epaper.thehindubusinessline.com/ccidist-ws/bl/",Yp=(e,t)=>`${Gp}${e}/issues/?epubName=${e}_web&limit=1&skipSections=true&fromDate=${t}&toDate=${t}`;var Vp=(e,t,i={})=>{const a=Yp(e,t);return Gi.debug(`getReaderUrl: ${a}`),fetch(a,i)};const Zp=e=>{let t=null;if(e.custom_field_values){const a=e.custom_field_values,n=a.filter((e=>"thg_edition"===e.field_name));if(Array.isArray(n)&&n.length>0)try{const e=JSON.parse(n[n.length-1].value);Gi.info(" preferredEditionValue "),Gi.info(e),t=e}catch(i){Gi.error("Get preferredEditionValue error: "),Gi.error(i)}else Gi.error("Get preferredEditionValue error: No preferred edition set...")}else Gi.error("Get preferredEditionValue error: No custom field values present...");return Array.isArray(t)&&1==t.length?{id:"bl_"+t[0].trim().toLowerCase(),title:t[0]}:{id:"bl_mumbai",title:"Mumbai"}};var Qp=Zp,Kp={login:()=>window.tp.pianoId.show({loggedIn:()=>{}}),logout:()=>window.tp.pianoId.logout(),changeLoadingState:(e,t)=>e.commit("changeLoadingState",t),changeDate:(e,t)=>e.commit("changeDate",t),changeRegion:(e,t)=>e.commit("changeRegion",t),changeEdition:(e,t)=>e.commit("changeEdition",t),updateRegionsList:async e=>{const t=await vl(e.state.date,{credentials:"include"}).then((e=>e.json())).catch((()=>[]));if(t.publications&&t.publications.length>0){const i=t.publications.map((e=>({id:e.id,title:Ln(e.title)})));e.commit("changeRegionList",i)}},updateEditionsList:async e=>{const t=await yl(e.state.region.id,e.state.date,{credentials:"include"}).then((e=>e.json())).catch((()=>[]));if(t.publications&&t.publications.length>0){const i=t.publications.filter((e=>e.issues.web&&e.issues.web.length>0)).map((e=>({id:e.id,title:Ln(e.title),thumbnail:e.issues.web[0].coverImageThumbnailUri})));e.commit("changeEditionsList",i)}else e.commit("changeEditionsList",[])},updateSelectedEdition:e=>e.commit("changeEdition",e.state.editionsList[0]),updateSelectedRegion:e=>
1e.commit("changeRegion",e.state.regionsList[0]),changeIframeUrl:async e=>{if(e.commit("changeLoadingState",!0),e.state.edition&&e.state.edition.id){const t=await Vp(e.state.edition.id,e.state.date,{credentials:"include"}),i=await t.json();if(i.issues.web&&i.issues.web.length>0){const t=i.issues.web[0].readerUrl;if(null!=sessionStorage.pageInternalId&&/^[0-9]+$/.test(sessionStorage.pageInternalId)){const i=t.replace("/&page=1","/&page="+sessionStorage.pageInternalId);e.commit("changeIframeUrl",i),e.commit("changeLoadingState",!1)}else e.commit("changeIframeUrl",t),e.commit("changeLoadingState",!1)}else e.commit("changeIframeUrl","null"),e.commit("changeLoadingState",!1)}else e.commit("changeIframeUrl","null"),e.commit("changeLoadingState",!1)},setInitialIframeUrl:async e=>{const t=new URL(window.location.href),i=t.searchParams.get("date"),a=t.searchParams.get("edition"),n=t.searchParams.get("page");if(/^\/reader\/?$/.test(t.pathname)&&i&&a&&n){console.log("----- date or edition or supplement in query -----");const i=t.searchParams.get("date"),a=t.searchParams.get("edition"),s=async()=>{await e.dispatch("changeDate",i),await e.dispatch("updateRegionsList");const t=e.state.regionsList.find((e=>e?.id===a.split("-")[0]));if(!t)return!1;await e.dispatch("changeRegion",t),await e.dispatch("updateEditionsList");const s=e.state.editionsList.find((e=>e?.id===a));return!!s&&(await e.dispatch("changeEdition",s),/^[0-9]+$/.test(n)&&sessionStorage.setItem("pageInternalId",n),await e.dispatch("changeIframeUrl"),!0)},o=new Date;o.setMonth(o.getMonth()-6);const r=o.toISOString().split("T")[0],l=await s();if(new Date(r)<=new Date(i)&&/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(i)&&l)return await e.dispatch("changeIframeUrl"),void Fp.push("/reader");Fp.push("/reader")}window.tp&&window.tp.pianoId.loadExtendedUser({extendedUserLoaded:t=>{const i=Qp(t),a=i;sessionStorage.selecteddate||sessionStorage.selectedregion||sessionStorage.selectededition?(sessionStorage.selecteddate&&e.dispatch("changeDate",sessionStorage.selecteddate),sessionStorage.selectedregion?e.dispatch("changeRegion",JSON.parse(sessionStorage.selectedregion)):e.dispatch("changeRegion",a),sessionStorage.selectededition&&e.dispatch("changeEdition",JSON.parse(sessionStorage.selectededition))):(e.dispatch("changeRegion",a),e.dispatch("updateEditionsList")),null==sessionStorage.selectedregion&&null!==sessionStorage.selecteddate&&(console.log("selectedregion",sessionStorage.selectedregion),console.log("selecteddate",sessionStorage.selecteddate),ot("selectedregion",JSON.stringify(a))),null==sessionStorage.selectededition&&null!==sessionStorage.selecteddate&&null!==sessionStorage.selectedregion&&(console.log("selectedregion",sessionStorage.selectedregion),console.log("selecteddate",sessionStorage.selecteddate)),e.dispatch("updateRegionsList"),e.dispatch("changeIframeUrl")},formName:"MyAccountFields"})},setArticleViewUserEventFired:e=>e.commit("changeArticleViewUserEventFiredStatus"),checkUserSession:async e=>{console.log("check user session action called..."),await fetch("/usersessions",{headers:{"X-Client-Auth":window?.tp?.pianoId?.getToken()}}).then((e=>401===e.status?e.json():"valid-session")).then((t=>{"valid-session"!==t&&(e.state.session_devices_info=t,e.state.session_limit_exceeded=!0,oa())})).catch((e=>{console.log("Error for session action..."),console.log(e)}))},resetSessionLimit:e=>e.state.session_limit_exceeded=!1},Jp={getLoadingState:e=>e.loading,getIframeUrl:e=>e.iframeUrl,getDate:e=>e.date,getRegion:e=>e.region,getEdition:e=>e.edition,getRegionsList:e=>e.regionsList,getEditionsList:e=>e.editionsList,getSessionLimitExceeded:e=>e.session_limit_exceeded,getSessionDevicesInfo:e=>e.session_devices_info};const Xp={namespaced:!0,state:()=>({loading:!1,iframeUrl:"",date:null==rt("selecteddate")?ut():rt("selecteddate"),region:null==rt("selectedregion")?"":JSON.parse(rt("selectedregion")),edition:null==rt("selectededition")?"":JSON.parse(rt("selectededition")),regionsList:[],editionsList:[],currentArticeId:"",favouriteArticles:null,isArticleViewUserEventFired:!1,session_limit_exceeded:!1,session_devices_info:[]}),mutations:zp,actions:Kp,getters:Jp};var eh=Xp,th={updateArticles:(e,t)=>e.articles=t,updateFilter:(e,t)=>e.currentFilter=t,updateLoadingState:(e,t)=>
1e.isLoading=t};const ih="//userfav.thehindu.com/getarticles";async function ah(e){const t=window.tp?.pianoId?.getToken()||null,i=await fetch(ih,{method:"POST",headers:{"Content-Type":"application/json","X-Client-Auth":t},body:JSON.stringify({ids:e,pub:"bl"}),redirect:"follow"}).then((e=>e.json())).then((e=>{const t=e.map((e=>Ji.fromJSON(e)));return t})).catch((e=>(Gi.error(e),[])));return i}var nh=ah;function sh(e){const t=[];try{for(const i in e){const a=e[i];t.push(...a.map((e=>e.Events_EventName)))}t.sort(oh)}catch(i){console.error(i)}return t}function oh(e,t){return e.nb_events>t.nb_events?-1:e.nb_events<t.nb_events?1:0}function rh(e){return Array.isArray(e)?(e.sort(oh),e.map((e=>e.Events_EventName))):e instanceof Object?sh(e):e}const lh="//mtdg.thehindu.com/index.php?module=API&method=Events.getName&idSite=2&period=day&format=JSON&flat=1",dh=async(e,t)=>{const i=lh+`&date=${t}`+`&segment=eventAction==${e}`,a=await fetch(i).then((e=>e.json())).then((e=>rh(e))).catch((e=>(console.error(e),[]))),n=await nh(a);return n};var ch={updateCurrentFilter:(e,t)=>e.commit("updateFilter",t),updateArticles:async e=>{e.commit("updateLoadingState",!0);let t="today"==e.state.currentFilter.recordsFor?wn():e.state.currentFilter.recordsFor;e.state.articles=await dh(e.state.currentFilter.type,t).then((t=>(Gi.debug(t),e.commit("updateLoadingState",!1),t))).catch((t=>(Gi.error(t),e.commit("updateLoadingState",!1),[])))}};const uh={namespaced:!0,state:()=>({currentFilter:{type:"articleView",recordsFor:"today"},articles:[],isLoading:!1}),mutations:th,actions:ch,getters:{getArticles:e=>e.articles,getCurrentFilter:e=>e.currentFilter,getLoadingState:e=>e.isLoading}};var ph=uh;const hh=(0,$.MT)({modules:{auth:qp,reader:eh,activity:ph}});var gh=hh;const mh=(0,a.ri)(h);mh.config.globalProperties.$logger=Gi,mh.use(Fp),mh.use(gh),mh.mount("#app")}},t={};function i(a){var n=t[a];if(void 0!==n)return n.exports;var s=t[a]={exports:{}};return e[a].call(s.exports,s,s.exports,i),s.exports}i.m=e,function(){i.amdO={}}(),function(){var e=[];i.O=function(t,a,n,s){if(!a){var o=1/0;for(c=0;c<e.length;c++){a=e[c][0],n=e[c][1],s=e[c][2];for(var r=!0,l=0;l<a.length;l++)(!1&s||o>=s)&&Object.keys(i.O).every((function(e){return i.O[e](a[l])}))?a.splice(l--,1):(r=!1,s<o&&(o=s));if(r){e.splice(c--,1);var d=n();void 0!==d&&(t=d)}}return t}s=s||0;for(var c=e.length;c>0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[a,n,s]}}(),function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.p="/"}(),function(){var e={143:0};i.O.j=function(t){return 0===e[t]};var t=function(t,a){var n,s,o=a[0],r=a[1],l=a[2],d=0;if(o.some((function(t){return 0!==e[t]}))){for(n in r)i.o(r,n)&&(i.m[n]=r[n]);if(l)var c=l(i)}for(t&&t(a);d<o.length;d++)s=o[d],i.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return i.O(c)},a=self["webpackChunkepaper"]=self["webpackChunkepaper"]||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))}();var a=i.O(void 0,[998],(function(){return i(3853)}));a=i.O(a)})(); 2//# sourceMappingURL=app.c6f32b94.js.map
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.