PageSourceSearch

https://www.kla.tv/js/app/controllers/showstart_languages.js?v=2026092409

js kla.tv collected 2026-10-01 10:31:07 UTC 2,582 bytes, 120 lines download raw bytes

1/**
2 * KlagemauerTV AngularJS App Main Script
3 */
4ktvApp.controller("showstartLanguages", function ($scope, api) {
5
6    var action = api.getInstance('action');
7
8    $scope.data = {
9        languagePlaylist: {
10            broadcasts: [],
11            index: 0,
12            count: 4,
13            up: false,
14            down: true
15            
16        }
17    };
18    
19    $scope.blackScreen = true;
20    
21    $scope.OverItem = function ()
22    {
23	    $scope.blackScreen = true;	    
24	    console.log($scope.blackScreen);
25	    
26    }
27    
28    $scope.LeaveItem = function ()
29    {
30	    $scope.blackScreen = false;
31	    console.log($scope.blackScreen);
32	    
33    }
34    
35    
36    var languagePlaylist = $scope.data.languagePlaylist;
37    languagePlaylist.broadcasts={"a":"Hi","b":"Hej"};
38    
39    $scope.loadFWLanguages = function(){
40        
41
42       
43        if(languagePlaylist.index < 40)
44        {
45		languagePlaylist.index = languagePlaylist.index+4; 
46	               
47        action.request({
48            type: 'loadingActualLanguages',
49            lang: 'de',
50            index: languagePlaylist.index,
51            count: languagePlaylist.count
52        }).then(function (data) {
53            languagePlaylist.broadcasts = data.data;
54            if(languagePlaylist.index > 0)
55			{
56				languagePlaylist.up=true;   
57			}
58			else{
59				languagePlaylist.up=false;   
60			}
61			if(languagePlaylist.index >= 40)
62			{
63				languagePlaylist.down = false;
64			}
65        });
66        }
67    }
68    
69   $scope.loadRWLanguages = function(){
70        
71        
72       
73        if(languagePlaylist.index > 0)
74        {
75        languagePlaylist.index = languagePlaylist.index-4;
76        
77        action.request({
78            type: 'loadingActualLanguages',
79            lang: 'de',
80            index: languagePlaylist.index,
81            count: languagePlaylist.count
82        }).then(function (data) {
83            languagePlaylist.broadcasts = data.data;
84            if(languagePlaylist.index > 0)
85			{
86				languagePlaylist.up=true;   
87			}
88			else{
89				languagePlaylist.up=false;
90			}
91			
92			if(languagePlaylist.index < 40)
93			{
94				languagePlaylist.down = true;
95			}
96			else{
97				languagePlaylist.down = false;
98			}
99        });
100        }
101    } 
102    
103
104action.request({
105            type: 'loadingActualLanguages',
106            lang: 'de',
107            index: languagePlaylist.index,
108            count: languagePlaylist.count
109        }).then(function (data) {
110            languagePlaylist.broadcasts = data.data;
111            if(languagePlaylist.index > 0)
112			{
113				languagePlaylist.up=true;   
114			}
115        });
116
117
118
119
120});

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.