PageSourceSearch

https://ttb.org/4458.73368bb708308baf.js

js ttb.org collected 2026-09-24 09:36:27 UTC 23,928 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4458],{3966(I,M,_){_.d(M,{g:()=>a});var c=_(75796),D=_(83534),y=_(49458),P=_(28147),p=_(47762),E=_(2569),A=_(18440),r=_(10599),S=_(11007),T=_(43400),e=_(89396);let a=(()=>{class h{constructor(g,f,u,O){this.modal_ctrl=g,this.dom=f,this.common_service=u,this.prerender_service=O,this.link="",this.fbUrl="https://facebook.com/sharer/sharer.php?u=",this.twitter_url="https://twitter.com/intent/tweet?text=",this.whatsapp_url="whatsapp://send?text="}cancel(){return this.modal_ctrl.dismiss(null,"cancel")}confirm(){return this.modal_ctrl.dismiss("confirm")}openShareURLInApp(g){var f=this;return(0,c.A)(function*(){f.triggerPrerenderPing(),P.Browser.open({url:g,windowName:"_blank"})})()}sanitizeURL(g){return this.dom.bypassSecurityTrustUrl(g)}copyLink(){this.triggerPrerenderPing(),navigator.clipboard.writeText(this.link),this.common_service.presentToast("bottom","Link Copied to Clipboard","success"),this.cancel()}triggerPrerenderPing(){this.link&&this.prerender_service.pingPrerenderServer(this.link).subscribe()}static{this.\u0275fac=function(f){return new(f||h)(r.rXU(S.W3),r.rXU(T.up),r.rXU(p.F),r.rXU(A.b))}}static{this.\u0275cmp=r.VBU({type:h,selectors:[["app-shareing-modal"]],decls:37,vars:6,consts:[["textDirection","",1,"ion-padding"],[1,"modalHeader"],["size","small","color","medium","fill","clear","shape","round",3,"click"],["slot","icon-only","src","assets/ionicons/dist/collection/components/icon/svg/close-outline.svg"],["lines","none",1,"cListing","cListing--sharingListing"],["detail","",1,"cListing__item","cursor",3,"click"],[1,"ionMedia","ion-align-items-center"],[1,"ionMedia__item"],[1,"thumbnailBadge","thumbnailBadge--primary","thumbnailBadge--round"],["src","assets/ionicons/dist/collection/components/icon/svg/logo-facebook.svg"],[1,"ionMedia__body"],["src","assets/ionicons/dist/collection/components/icon/svg/logo-twitter.svg"],["src","assets/ionicons/dist/collection/components/icon/svg/logo-whatsapp.svg"],["src","assets/ionicons/dist/collection/components/icon/svg/link.svg"]],template:function(f,u){1&f&&(r.j41(0,"ion-content",0)(1,"div",1)(2,"h3"),r.EFF(3),r.nI1(4,"translate"),r.k0s(),r.j41(5,"ion-button",2),r.bIt("click",function(){return u.cancel()}),r.nrm(6,"ion-icon",3),r.k0s()(),r.j41(7,"ion-list",4)(8,"ion-item",5),r.bIt("click",function(){return u.openShareURLInApp(u.fbUrl+u.link)}),r.j41(9,"div",6)(10,"div",7)(11,"div",8),r.nrm(12,"ion-icon",9),r.k0s()(),r.j41(13,"div",10),r.EFF(14,"Facebook"),r.k0s()()(),r.j41(15,"ion-item",5),r.bIt("click",function(){return u.openShareURLInApp(u.twitter_url+u.link)}),r.j41(16,"div",6)(17,"div",7)(18,"div",8),r.nrm(19,"ion-icon",11),r.k0s()(),r.j41(20,"div",10),r.EFF(21,"Twitter"),r.k0s()()(),r.j41(22,"ion-item",5),r.bIt("click",function(){return u.openShareURLInApp(u.whatsapp_url+u.link)}),r.j41(23,"div",6)(24,"div",7)(25,"div",8),r.nrm(26,"ion-icon",12),r.k0s()(),r.j41(27,"div",10),r.EFF(28,"Whatsapp"),r.k0s()()(),r.j41(29,"ion-item",5),r.bIt("click",function(){return u.copyLink()}),r.j41(30,"div",6)(31,"div",7)(32,"div",8),r.nrm(33,"ion-icon",13),r.k0s()(),r.j41(34,"div",10),r.EFF(35),r.nI1(36,"translate"),r.k0s()()()()()),2&f&&(r.R7$(3),r.JRh(r.bMT(4,2,"BIBLE.share_with_others")),r.R7$(32),r.SpI(" ",r.bMT(36,4,"BIBLE.copy_link")," "))},dependencies:[D.W9,D.Jm,D.iq,D.nf,D.uz,y.h,E.r,e.L,y.D9],styles:[".cListing--sharingListing[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.cursor[_ngcontent-%COMP%]{cursor:pointer}"]})}}return h})()},14458(I,M,_){_.d(M,{RssVideoPage:()=>X});var c=_(75796),D=_(86234),y=_(28147),P=_(46286),p=_(9717),E=_.n(p),A=_(92745),r=_.n(A),S=_(3966),T=_(18856),e=_(24565),a=_(61e3),h=_(42962),v=_(45438),g=_(83196),f=_(55537),u=_(83534),O=_(22322),C=_(85562),k=_(30299),n=_(10599),L=_(20995),U=_(68554),$=_(43400),W=_(11007),B=_(58850);const V=["videoPlayer"];function F(m,w){if(1&m&&(n.j41(0,"div",15)(1,"span",16),n.EFF(2),n.k0s()()),2&m){const i=n.XpG().$implicit;n.R7$(2),n.JRh(i.video_duration)}}function K(m,w){if(1&m&&(n.j41(0,"video",17),n.nrm(1,"source",18),n.k0s()),2&m){const i=n.XpG().$implicit;n.R7$(),n.Y8G("src",i.video_link+"#t2")}}function N(m,w){if(1&m&&n.nrm(0,"iframe",19),2&m){const i=n.XpG().$implicit;n.Y8G("src",i.video_link,n.f$h)}}function Y(m,w){1&m&&n.nrm(0,"div",20)}function j(m,w){if(1&m){const i=n.RV6();n.j41(0,"ion-col",8)(1,"ion-card",9),n.bIt("click",function(){const s=k.eBV(i).$implicit,t=n.XpG(2);return k.Njj(t.onClickVideo(s))}),n.j41(2,"div",10),n.DNE(3,F,3,1,"div",11)(4,K,2,1,"video",12)(5,N,1,1,"iframe",13)(6,Y,1,0,"div",14),n.k0s(),n.j41(7,"ion-card-content")(8,"ion-card-title"),n.EFF(9),n.k0s()()()()}if(2&m){const i=w.$implicit,o=n.XpG(2);n.R7$(3),n.Y8G("ngIf",i.video_duration),n.R7$(),n.Y8G("ngIf",!0===o.wasabi),n.R7$(),n.Y8G("ngIf",!1===o.wasabi),n.R7$(),n.Y8G("ngIf",!1===o.wasabi),n.R7$(3),n.JRh(i.title)}}function H(m,w){if(1&m&&(n.j41(0,"ion-grid",5)(1,"ion-row",6),n.DNE(2,j,10,5,"ion-col",7),n.k0s()()),2&m){const i=n.XpG();n.R7$(2),n.Y8G("ngForOf",i.shows)}}E().extend(r()),(0,O.a)({"chevron-back-outline":C.fKZ});let X=(()=>{class m{constructor(i,o,s,t,l,d,b,R,G,J){this.shows_service=i,this.router=o,this.observable_service=s,this.app_service=t,this.activated_route=l,this.dom=d,this.subscription_service=b,this.platform=R,this.modal_ctrl=G,this.audio_player_service=J,this.shows=[],this.loading=!1,this.page_id=1,this.station_id="",this.rss_url="",this.source="",this.detail_type="rss",this.link_type="",this.youtube_videos=[],this.vimeo_videos=[],this.all_shows=[],this.newFeeds=[],this.next_page_availble=!1,this.embeded_video=!1,this.wasabi=!1,this.video_url={},this.page_title="",this.app_lang=T.YM.ENG_LANG_ID,this.load_more=!1}ngOnInit(){this.activated_route.params.subscribe(i=>{this.page_id=i.page_id,this.observable_service.lang_code.subscribe(o=>{this.app_lang=o}),this.observable_service.station_detail.subscribe(o=>{o.design.station_id&&this.setPageData(o)})})}setPageData(i){this.station_id=i.design.station_id.toString(),this.page_data=i.pages.find(o=>o.id.toString()===this.page_id.toString()),this.page_title=this.page_data?this.page_data.title[this.app_lang]:"",this.page_data&&this.page_data.url?(this.rss_url=this.page_data.url,this.detail_type="external",this.get
1ShowVideosFromFeed(this.page_data.url,this.page_data.feed_type)):(this.detail_type="content",this.getShowVideos(i.design.station_id))}getShowVideos(i){i&&(this.loading=!0,this.shows_service.getAudioVideoShows({station_id:i,is_audio:!1,is_video:!0}).subscribe(s=>{this.loading=!1,s.status&&(this.shows=s.data,this.shows.map(t=>{t.video_link=t.video_url}),this.selected_video=this.shows[0],this.setData())}))}getShowVideosFromFeed(i,o){if(i.includes(e.D.YouTube))i.includes(e.D.ChannelID)?(this.source=e.D.YoutubeChannel,this.getYoutubeChannelVideos(i.split("=")[1])):i.includes(e.D.PlaylistID)&&(this.source=e.D.YoutubeChannel,this.getYoutubePlaylistVideos(i.split("=")[1]));else if(o===e.D.YoutubeUser)this.source=e.D.YoutubeChannel,this.getYoutubeUserVideos(i);else if(o===e.D.VimeoChannel)this.source=e.D.VimeoChannel,this.getVimeoChannelVideos(i,1);else if(o===e.D.VimeoUser)this.source=e.D.VimeoUser,this.getVimeoUserVideos(i,1);else{this.source="feed";const s=i;s.includes(".rss")?(this.detail_type="rss",this.getRss(this.page_id,this.station_id)):s.includes(".xml")?(this.detail_type="rss",this.getXMLRss(s)):(this.detail_type="rss",this.getRss(this.page_id,this.station_id))}}getYoutubeChannelVideos(i){this.loading=!0,i.includes("@")&&this.shows_service.getChannelId(i).subscribe(o=>{i=o}),setTimeout(()=>{this.shows_service.getYoutubeChannel(i).subscribe(o=>{this.loading=!1,o&&!0===o.status&&this.getYoutubePlaylistVideos(o.data.items[0].contentDetails.relatedPlaylists.uploads)})},3e3)}getYoutubePlaylistVideos(i){this.loading=!0,this.shows_service.getYoutubePlaylist(i).subscribe(o=>{if(this.loading=!1,0!==Object.keys(o.result).length){const s=o.result.items.map(t=>t.contentDetails.videoId).join(",");this.shows_service.fetchAllVideoDetails(s).subscribe(t=>{const l=this.createVideoDetailsMap(t.items);o.result.items.forEach(d=>{if(d.contentDetails.videoPublishedAt){const R=d.contentDetails.videoPublishedAt.replace("T"," ").replace("Z","");d.contentDetails.videoPublishedAt=E()(R,"YYYY-MM-DD HH:mm:ss")}const b=l[d.contentDetails.videoId];b&&(d.statistics=b.statistics),Array.isArray(d.snippet.thumbnails)&&(d.snippet.thumbnails={},d.snippet.thumbnails.high={},d.snippet.thumbnails.high.url="../../assets/img/live_stream_bg_2.jpg")}),this.youtube_videos=o.result.items,this.youtube_videos.map(d=>{d.title=d.snippet.title,d.description=d.snippet.description,d.video_link=this.dom.bypassSecurityTrustResourceUrl("https://www.youtube.com/embed/"+d.contentDetails.videoId+"?autoplay=0&controls=0&modestbranding=1&rel=0&showinfo=0")}),this.shows=this.youtube_videos,this.wasabi=!1,this.selected_video=o.result.items[0],this.setData()})}})}createVideoDetailsMap(i){const o={};return i.forEach(s=>{o[s.id]=s}),o}getYoutubeUserVideos(i){this.loading=!0,this.shows_service.getYoutubeUserPlaylist(i).subscribe(o=>{this.loading=!1,o&&!0===o.status&&this.shows_service.getYoutubePlaylist(o.data.items[0].contentDetails.relatedPlaylists.uploads).subscribe(t=>{0!==Object.keys(t.result).length&&(this.youtube_videos=t.result.items,this.youtube_videos.map(l=>{if(l.contentDetails.videoPublishedAt){const d=l.contentDetails.videoPublishedAt.replace("T"," ").replace("Z","");l.contentDetails.videoPublishedAt=E()(d,"YYYY-MM-DD HH:mm:ss")}}))})})}getVimeoChannelVideos(i,o){this.loading=!0;let t=null;t=1===o?"https://api.vimeo.com/channels/"+i+"/videos?per_page=20":"https://api.vimeo.com/channels/"+i+"/videos?per_page=20&page="+o,this.shows_service.getVimeoChannel(t).subscribe(l=>{this.loading=!1,l.result.error&&""!==l.result.error||(this.vimeo_videos=this.vimeo_videos.concat(l.result.data),this.vimeo_videos.map(d=>{if(d.created_time&&0!==d.created_time.length){const b=d.created_time;d.created_time=E()(b,"YYYY-MM-DD HH:mm:ss")}}),null!==l.result.paging.next&&(this.next_page_availble=!0))})}getVimeoUserVideos(i,o){this.loading=!0;let t=null;t=1===o?"https://api.vimeo.com/users/"+i+"/videos?per_page=20":"https://api.vimeo.com/users/"+i+"/videos?per_page=20&page="+o,this.shows_service.getVimeoUser(t).subscribe(l=>{this.loading=!1,this.vimeo_videos=this.shows_service.checkData(l.result),this.vimeo_videos.map(d=>{if(d.created_time&&0!==d.created_time.length){const b=d.created_time;d.created_time=E()(b,"YYYY-MM-DD HH:mm:ss")}}),null!==l.result.paging.next&&(this.next_page_availble=!0)})}getRss(i,o){this.loading=!0,this.link_type="rss",this.shows_service.getRss(i,o).subscribe(s=>{if(this.loading=!1,s.audio&&(this.all_shows=Array.isArray(s.audio)?s.audio[0].channel.item:s.audio.channel.item,0!==this.all_shows.length)){this.all_shows=this.all_shows.filter(t=>""!==t.link);for(let t=0;t<this.all_shows.length;t++){this.all_shows[t].video_link=this.all_shows[t].enclosure["@attributes"].type.includes("video")?this.all_shows[t].enclosure["@attributes"].url:"";const l=document.createElement("video");l.src=this.all_shows[t].enclosure["@attributes"].url,l.addEventListener("loadedmetadata",()=>{this.all_shows[t].video_duration=this.audio_player_service.intoMinutesTotalDuration(l.duration)})}this.shows=this.all_shows.filter(t=>!1!==t.status),this.selected_video=this.shows[0],this.setData()}})}getXMLRss(i){this.loading=!0,this.link_type="xml",this.shows_service.externalLinkData(i).subscribe(o=>{if(this.loading=!1,o&&!0===o.status&&o.data&&"ok"===o.data.status&&(this.all_shows=o.data.items,0!==this.all_shows.length)){this.all_shows=this.all_shows.filter(s=>""!==s.link);for(let s=0;s<this.all_shows.length;s++)JSON.stringify({station_id:this.station_id,apppage_id:this.page_id,name:this.all_shows[s].title,link:this.all_shows[s].link,feed_type:"video",pageorder:s}),s===this.all_shows.length-1&&this.loadXMLRSSFeed()}})}getShowsFromWordpress(i){this.loading=!0,this.link_type="sermon",this.shows_service.getAllShows(i).subscribe(o=>{this.loading=!1;const s=o.data;s.item.map(t=>{const l=this.all_shows.filter(d=>d.link===t.link&&d.title===t.name);l.length>0?(t.link=l[0].link,l[0].thumbnail&&(t.thumbnail=this.dom.bypassSecurityTrustUrl(l[0].thumbnail)),t.creator=l[0].author,t.title=l[0].title?l[0].title:"",t.date=l[0].pubDate?l[0].pubDate:t.created_at,t.video_link=t.enclosure["@attributes"].type.includes("video")?t.enclosure["@attributes"].url:""):(t.status=!1,t.video_link=t.enclosure["@attributes"].type.includes("video")?t.enclosure["@attributes"].url:"")}),this.all_shows=s.item,0!==this.all_shows.length&&(this.shows=this.all_shows.filter(t=>""!==t.video_link),this.selected_video=this.shows[0],this.setData())},o=>{this.loading=!1})}loadRSSFeed(){this.loading=!0,this.shows_service.getFeedsRss("video/"+this.page_id).subscribe(s=>{if(this.loading=!1,s&&s.feed){const t=s.feed;t.map(l=>{const d=this.all_shows.filter(b=>b.enclosure["@attributes"].url===l.link&&b.title===l.name);d.length>0?(l.video_link=d[0].enclosure["@attributes"].type.includes("video")?d[0].enclosure["@attributes"].url:"",l.creator=d[0].author,l.title=d[0].title?d[0].title:"",l.date=d[0].pubDate?d[0].pubDate:l.created_at):l.status=!1}),this.shows=t.filter(l=>!1!==l.status),this.selected_video=this.shows[0],this.setData()}})}loadXMLRSSFeed(){this.loading=!0,this.shows_service.getFeeds(this.page_id,"video").subscribe(i=>{if(this.loading=!1,i&&i.feed){const o=i.feed;o.map(s=>{const t=this.all_shows.filter(l=>l.link===s.link&&l.title===s.name);t.length>0?(s.link=t[0].link,t[0].thumbnail&&(s.thumbnail=this.dom.bypassSecurityTrustUrl(t[0].thumbnail)),s.creator=t[0].author,s.title=t[0].title?t[0].title:"",s.title&&(s.title=s.title.replace(/&amp;
1/g,"&")),s.date=t[0].pubDate?t[0].pubDate:s.created_at,s.video_link=t[0].enclosure["@attributes"]&&t[0].enclosure["@attributes"].type.includes("video")?t[0].enclosure["@attributes"].type.includes("video"):t[0].enclosure.link,this.wasabi=!1):s.status=!1}),this.shows=o.filter(s=>!1!==s.status),this.selected_video=this.shows[0],this.setData()}})}loadFeed(){this.shows_service.getFeeds(this.page_id,"video").subscribe(i=>{const o=i.feed;o.map(s=>{const t=this.all_shows.find(l=>l.link===s.link&&l.title===s.name);t?(s.video_link=t.video_link,s.creator=t["dc:creator"],s.id_series=t.id_series,s.pubDate=t.pubDate,s.thumbnail=t.img_series?t.img_series:"../../assets/img/live_stream_bg_2.jpg",this.selected_video=t,this.setData()):s.status=!1}),this.newFeeds=o.filter(s=>!1!==s.status)})}gotoDetail(i){this.selected_video=i,this.setData()}goToVimeoDetail(i){this.selected_video=i,this.setData()}onClickVideo(i){this.shows_service.is_iframe=!this.wasabi,this.shows_service.selected_video=i,this.setData(),this.router.navigate(["/rss-video-detail"])}goBack(){this.app_service.goBack()}ionViewWillEnter(){this.subscription_service.handleSubscriptions(this.page_id.toString(),this.router.url)}setData(){this.wasabi=!1;let l="";this.video_url="",this.source===e.D.YoutubeChannel||this.source===e.D.YoutubePlaylist?(l="https://www.youtube.com/embed/"+this.selected_video.contentDetails.videoId,this.selected_video.title=this.selected_video.snippet.title,this.selected_video.author=this.selected_video.snippet.channelTitle,this.selected_video.date=this.selected_video.contentDetails.videoPublishedAt,this.selected_video.view=this.selected_video.statistics.viewCount):this.selected_video.video_link.includes("youtube")?l=this.selected_video.video_link.replace("watch?v=","embed/"):this.selected_video.video_link.includes("youtu.be")?l=this.selected_video.video_link.replace("youtu.be/","www.youtube.com/embed/"):this.selected_video.video_link.includes("vimeo")?l=this.selected_video.video_link.includes("www.vimeo")?this.selected_video.video_link.replace("www.vimeo.com/","player.vimeo.com/video/"):this.selected_video.video_link.replace("vimeo.com/","player.vimeo.com/video/"):(this.wasabi=!0,l=this.selected_video.video_link||this.selected_video.video_url),this.video_url=this.dom.bypassSecurityTrustResourceUrl(l),this.videoPlayer&&this.wasabi&&this.videoPlayer.nativeElement.load()}openShareModal(){var i=this;return(0,c.A)(function*(){i.platform.is("capacitor")?yield P.S.share({url:i.selected_video.video_link}).then(o=>{},o=>{console.error(o)}):yield(yield i.modal_ctrl.create({component:S.g,cssClass:"commonModal",initialBreakpoint:.75,breakpoints:[0,.75],componentProps:{link:i.selected_video.video_link}})).present()})()}openNotesInBrowser(){this.platform.is("android")||this.platform.is("iphone")?y.Browser.open({url:this.selected_video.note_url,windowName:"_blank"}):y.Browser.open({url:this.selected_video.note_url,windowName:"_self"})}isVideoURL(i){return/\.(mp4|webm|ogg|mov|avi|mkv|flv|wmv)$/i.test(i)}static{this.\u0275fac=function(o){return new(o||m)(n.rXU(h.M),n.rXU(L.Ix),n.rXU(U.s),n.rXU(a.d),n.rXU(L.nX),n.rXU($.up),n.rXU(v.q),n.rXU(B.OD),n.rXU(W.W3),n.rXU(g.AudioPlayerService))}}static{this.\u0275cmp=n.VBU({type:m,selectors:[["app-rss-video"]],viewQuery:function(o,s){if(1&o&&n.GBs(V,5),2&o){let t;n.mGM(t=n.lsd())&&(s.videoPlayer=t.first)}},decls:7,vars:1,consts:[[1,"backBtn-wrapper"],["shape","round","size","small",3,"click"],["slot","icon-only","name","chevron-back-outline"],[1,"page-wrapper"],["fixed","",4,"ngIf"],["fixed",""],[1,"rssVideoListing"],["size","12","size-md","6",4,"ngFor","ngForOf"],["size","12","size-md","6"],["button","","routerDirection","root",1,"cCard",3,"click"],[1,"cCard__videoDiv"],["class","cCard__topAction",4,"ngIf"],["webkit-playsinline","","playsinline","","preload","metadata",4,"ngIf"],["frameborder","0","allowfullscreen","",3,"src",4,"ngIf"],["style","position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 10;",4,"ngIf"],[1,"cCard__topAction"],[1,"videoLength"],["webkit-playsinline","","playsinline","","preload","metadata"],[3,"src"],["frameborder","0","allowfullscreen","",3,"src"],[2,"position","absolute","top","0","left","0","width","100%","height","100%","background","transparent","z-index","10"]],template:function(o,s){1&o&&(n.j41(0,"ion-content")(1,"div",0)(2,"ion-button",1),n.bIt("click",function(){return s.goBack()}),n.nrm(3,"ion-icon",2),n.k0s()(),n.j41(4,"div",3),n.DNE(5,H,3,1,"ion-grid",4),n.k0s(),n.nrm(6,"app-footer"),n.k0s()),2&o&&(n.R7$(5),n.Y8G("ngIf",s.shows.length))},dependencies:[u.W9,u.Jm,u.iq,u.lO,u.ln,u.hU,u.b_,u.I9,u.tN,f.bT,f.Sq,D.n],encapsulation:2})}}return m})()},42962(I,M,_){_.d(M,{M:()=>r});var c=_(84943),D=_(11334),y=_(91876),P=_(59477),p=_(53118),E=_(30299),A=_(68554);let r=(()=>{class S{constructor(e,a){this.http=e,this.observableService=a,this.api_end_point=c.environment.api_end_point,this.selected_video={},this.is_iframe=!1,this._headers=new P.Lr,this._headers=this._headers.append("Content-Type","application/json"),this._headers=this._headers.append("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),this._headers=this._headers.append("Authorization",this.api_end_point)}getShows(e,a,h){return this.http.get(`${c.environment.api_end_point}${p.S.SHOWS.SHOWS_LISTING}/${e}/${a}/${h}`,{headers:this._headers})}getShow(e,a){return this.http.get(`${c.environment.api_end_point}${p.S.SHOWS.SHOW}/${a}/${e}`,{headers:this._headers})}getSeriesShows(e,a){return this.http.get(`${c.environment.api_end_point}${p.S.SHOWS.SHOWS_BY_ID}/${a}/${e}`,{headers:this._headers})}getAudioVideoShows(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.SHOWS_AUDIO_VIDEO}`,e,{headers:this._headers})}getVideoShowsFeed(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.SHOWS_AUDIO_VIDEO}`,e,{headers:this._headers})}getAllShows(e,a=null,h="0"){const v=e,g=localStorage.getItem("device_id");return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.EXTERNAL_LINK_DATA}`,JSON.stringify({url:v,method:"getAllShows",device_id:g,page_no:a,hide_future_r
1ss_content:h}),{headers:this._headers})}getFeed(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.EXTERNAL_DATA}`,JSON.parse(e),{headers:this._headers})}getLatestShow(e){return this.http.get(`${c.environment.api_end_point}${p.S.CONTENT_CMS.GET_RECENT_SHOW}/${e}`,{headers:this._headers})}getYoutubeChannel(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.EXTERNAL_LINK_DATA}`,JSON.stringify({url:e,method:"getYoutubeChannel",app_lang:"en"}),{headers:this._headers})}getYoutubePlaylist(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.TRANSLATE_EXTERNAL_LINK}`,JSON.stringify({url:`https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,contentDetails&maxResults=50&playlistId=${e}&key=${c.environment.youtube_api_key}`,method:"getYoutubePlaylist",app_lang:"en"}),{headers:this._headers})}getYoutubeUserPlaylist(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.EXTERNAL_LINK_DATA}`,JSON.stringify({url:e,method:"getYoutubeUserPlaylist",app_lang:"en"}),{headers:this._headers})}fetchAllVideoDetails(e){return this.http.get(`https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails,statistics&id=${e}&key=${c.environment.youtube_api_key}`).pipe((0,y.T)(h=>{if(h.items&&h.items.length>0)return h;throw new Error(`No video details found for IDs: ${e}`)}))}getVimeoChannel(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.TRANSLATE_EXTERNAL_LINK}`,JSON.stringify({url:e,method:"getVimeoVideo",app_lang:"en"}))}getVimeoUser(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.TRANSLATE_EXTERNAL_LINK}`,JSON.stringify({url:e,method:"getVimeoUser",app_lang:"en"}),{headers:this._headers})}getChannelId(e){const a=new D.B;return this.http.get(`https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=${e}&type=channel&key=${c.environment.youtube_api_key}`).subscribe(h=>{if(0===h.items.length)throw new Error(`Channel not found: ${e}`);a.next(h.items[0].id.channelId)}),a.asObservable()}checkData(e){if(Array.isArray(e))return e;if(e instanceof Object){if(e.hasOwnProperty("data"))return e.data;if(e.hasOwnProperty("items"))return e.items;if(e.hasOwnProperty("channel"))return e.channel.item;{let a=!1,h=[];return Object.keys(e).forEach(v=>
1{Array.isArray(e[v])&&!a?(a=!0,h=e[v]):Object.keys(e[v]).forEach(g=>{Array.isArray(e[g])&&!a&&(a=!0,h=e[g])})}),h}}}getRss(e,a){return this.http.get(`${c.environment.api_end_point}${p.S.SHOWS.SHOW_EXTERNAL}/${e}/${a}`)}createAudioFeedRss(e){return this.http.post(`${c.environment.api_end_point}${p.S.FEEDS.ADD_FEED_RSS}`,JSON.parse(e),{headers:this._headers})}externalLinkData(e,a=0,h="0"){const g=`${c.environment.api_end_point}${p.S.SHOWS.EXTERNAL_LINK_DATA}`,u=JSON.stringify({url:e,method:"getrss",offset:a,hide_future_rss_content:h});return this.http.post(g,JSON.parse(u),{headers:this._headers})}createAudioFeeds(e){return this.http.post(`${c.environment.api_end_point}${p.S.FEEDS.ADD_FEED}`,JSON.parse(e),{headers:this._headers})}createVideoFeeds(e){return this.http.post(`${c.environment.api_end_point}${p.S.FEEDS.ADD_FEED}`,JSON.parse(e),{headers:this._headers})}getFeedsRss(e){return this.http.get(`${c.environment.api_end_point}${p.S.FEEDS.COMMENTS_RSS}${e}`)}getFeeds(e,a){return this.http.get(`${c.environment.api_end_point}${p.S.FEEDS.FEED_COMMENTS}${a}/${e}`)}getPodsDataWithPagination(e){return this.http.post(`${c.environment.api_end_point}${p.S.FEEDS.RSS_AUDIO_FETCH}`,JSON.parse(e),{headers:this._headers})}createAudioFeedsArray(e){return this.http.post(`${c.environment.api_end_point}${p.S.FEEDS.ADD_AUDIO_FEED_MULTIPLE}`,JSON.parse(e),{headers:this._headers})}createSermon(e){return this.http.post(`${c.environment.api_end_point}${p.S.SHOWS.ADD_SHOW}`,JSON.parse(e),{headers:this._headers})}getSermons(e){return this.http.get(`${c.environment.api_end_point}${p.S.SHOWS.SHOW_COMMENTS}${e}`+e)}static{this.\u0275fac=function(a){return new(a||S)(E.KVO(P.Qq),E.KVO(A.s))}}static{this.\u0275prov=E.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()}}]);

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.