PageSourceSearch

https://www.ticketlive.sk/js/cookieconsent-init.js?1.44

js ticketlive.sk collected 2026-10-02 06:29:28 UTC 17,166 bytes, 322 lines download raw bytes

1// obtain plugin
2var cc = initCookieConsent();
3
4var element = document.querySelector('body');
5var dataLangAttribute = element.getAttribute('data-l');
6
7// run plugin with your configuration
8cc.run({
9    current_lang: dataLangAttribute,
10    autoclear_cookies: false,                   // default: false
11    page_scripts: true,                        // default: false
12
13    // mode: 'opt-in'                          // default: 'opt-in'; value: 'opt-in' or 'opt-out'
14    // delay: 0,                               // default: 0
15    // auto_language: null                     // default: null; could also be 'browser' or 'document'
16    // autorun: true,                          // default: true
17    // force_consent: false,                   // default: false
18    // hide_from_bots: false,                  // default: false
19    // remove_cookie_tables: false             // default: false
20    // cookie_name: 'cc_cookie',               // default: 'cc_cookie'
21    // cookie_expiration: 182,                 // default: 182 (days)
22    // cookie_necessary_only_expiration: 182   // default: disabled
23    // cookie_domain: location.hostname,       // default: current domain
24    // cookie_path: '/',                       // default: root
25    // cookie_same_site: 'Lax',                // default: 'Lax'
26    // use_rfc_cookie: false,                  // default: false
27    // revision: 0,                            // default: 0
28
29    onFirstAction: function(user_preferences, cookie){
30        // callback triggered only once
31    },
32
33    onAccept: function (cookie) {
34        //console.log('User accept type:', cc.getUserPreferences());
35        if (cc.allowedCategory('targeting')) {
36            $('#buttonsModalFooter').show();
37        }
38
39        if (cc.allowedCategory('analytics')) {
40            $.ajax({
41                type: "POST",
42                url: "/api/logActivity",
43                data: 't=K4',
44                dataType: "json",
45                async: true,
46                success: function (data) {
47                }
48            });
49        }
50    },
51
52    onChange: function (cookie, changed_preferences) {
53        //console.log("onChange:"+cc.allowedCategory('analytics'));
54        if (cc.allowedCategory('targeting')) {
55            $('#buttonsModalFooter').show();
56        }
57        /*
58        if (cc.allowedCategory('analytics')) {
59            $.ajax({
60                type: "POST",
61                url: "https://ticketlive.local/app_dev.php/"+"api/logActivity",
62                data: 't=K4',
63                dataType: "json",
64                async: true,
65                success: function (data) {
66                }
67            });
68        }*/
69    },
70
71    languages: {
72        'cs': {
73            consent_modal: {
74                title: 'Nastavení ochrany vašich osobních údajů',
75                description: 'Pro veškeré digitální projekty je možné ukládat a zpracovávat pouze údaje k jejichž zpracování byl udělen výslovný souhlas. Mezi tyto údaje patří především identifikátory a další data získaná či ukládaná do souborů cookies(<a href="/cs/page/zasady-pouziti-cookies">Více informací</a>). <br/><br/>Když kliknete na „Povolit vše“, poskytnete nám souhlas ke zpracování výše uvedených údajů. Na naší stránce je využíváme primárně k identifikaci nejoblíbenějšího obsahu a nejčastějších zdrojů návštěvnosti.  <button type="button" data-cc="c-settings" class="cc-link">Nastavení cookies</button>',
76                primary_btn: {
77                    text: 'Povolit vše',
78                    role: 'accept_all'              // 'accept_selected' or 'accept_all'
79                },
80                secondary_btn: {
81                    text: 'Zamítnout vše',
82                    role: 'accept_necessary'        // 'settings' or 'accept_necessary'
83                }
84            },
85            settings_modal: {
86                title: 'Přizpůsobit nastavení cookies',
87                save_settings_btn: 'Uložit nastavení',
88                accept_all_btn: 'Přijmout vše',
89                reject_all_btn: 'Zamítnout vše',
90                close_btn_label: 'Zavřít',
91                cookie_table_headers: [
92                    {col1: 'Označení'},
93                    {col2: 'Doména'},
94                    {col3: 'Expirace'},
95                    {col4: 'Popis'}
96                ],
97                blocks: [
98                    {
99                        title: 'Jaké cookies používáme?',
100                        description: 'Na webových stránkách používáme funkční, analytické a nezbytné cookies.'
101                    }, {
102                        title: 'Nezbytné cookies',
103                        description: 'Nezbytné cookies jsou nutné pro správné fungování webových stránek. Tyto soubory cookie zajišťují anonymně základní funkce a bezpečnostní funkce webu.',
104                        toggle: {
105                            value: 'necessary',
106                            enabled: true,
107                            readonly: true          // cookie categories with readonly=true are all treated as "necessary cookies"
108                        }
109                    }, {
110                        title: 'Analytické cookies',
111                        description: 'Analytické soubory cookie se používají k pochopení interakce návštěvníků s webem. Tyto soubory cookie pomáhají poskytovat informace o metrikách počet návštěvníků, míru okamžitého opuštění, zdroj provozu atd.',
112                        toggle: {
113                            value: 'analytics',     // your cookie category
114                            enabled: false,
115                            readonly: false
116                        },
117                        cookie_table: [             // list of all expected cookies
118                            {
119                                col1: '^_ga',       // match all cookies starting with "_ga"
120                                col2: 'google.com',
121                                col3: '2 years',
122                                col4: 'Google Analytics',
123                                is_regex: true
124                            },
125                            {
126                                col1: '_gid',
127                                col2: 'google.com',
128                                col3: '1 day',
129                                col4: 'Google Analytics',
130                            }
131                        ]
132                    }, {
133                        title: 'Funkční cookies',
134                        description: 'Funkční soubory cookie pomáhají provádět určité funkce, jako je sdílení obsahu webových stránek na platformách sociálních médií, shromažďování zpětných vazeb a další funkce třetích stran.',
135                        toggle: {
136                            value: 'targeting',
137                            enabled: false,
138                            readonly: false
139                        },
140                        cookie_table: [             // list of all expected cookies
141                            {
142                                col1: '^_fbp',       // match all cookies starting with "_ga"
143                                col2: 'facebook.com',
144                                col3: '3 měsíce',
145                                col4: 'Facebook pixel',
146                                is_regex: true
147                            },
148                            {
149                                col1: '_ttp',
150                                col2: 'tiktok.com',
151                                col3: '3 měsíce',
152                                col4: 'Tiktok Pixel',
153                            }
154                        ]
155                    }
156                ]
157            }
158        },
159        'sk': {
160            consent_modal: {
161                title: 'Nastavenie ochrany vašich osobných údajov',
162                description: 'Pre všetky digitálne projekty je možné ukladať a spracovávať iba údaje, ku ktorým bol udelený vyslovený súhlas. Medzi tieto údaje patria predovšetkým identifikátory a ďalšie dáta získané alebo ukladané do súborov cookies (<a href="/sk/page/zasady-pouzitia-cookies">viac informácií</a>). <br/><br/>Keď kliknete na „Povoliť všetko“, poskytnete nám súhlas k spracovaniu vyššie uvedených údajov. Na našej stránke ich využívame primárne k identifikácii najobľúbenejšieho obsahu a najčastejších zdrojov návštevnosti.  <button type="button" data-cc="c-settings" class="cc-link">nastavenia cookies</button>',
163                primary_btn: {
164                    text: 'Prijať všetko',
165                    role: 'accept_all'              // 'accept_selected' or 'accept_all'
166                },
167                secondary_btn: {
168                    text: 'Zamietnuť všetko',
169                    role: 'accept_necessary'        // 'settings' or 'accept_necessary'
170                }
171            },
172            settings_modal: {
173                title: 'Prispôsobiť nastavenia cookies',
174                save_settings_btn: 'Uložiť nastavenia',
175                accept_all_btn: 'Prijať všetko',
176                reject_all_btn: 'Zamietnuť všetko',
177                close_btn_label: 'Zatvoriť',
178                cookie_table_headers: [
179                    {col1: 'Označenie'},
180                    {col2: 'Doména'},
181                    {col3: 'Expirácia'},
182                    {col4: 'Popis'}
183                ],
184                blocks: [
185                    {
186                        title: 'Aké cookies používame?',
187                        description: 'Na webových stránkach používame funkčné, analytické a nevyhnutné cookies.'
188                    }, {
189                        title: 'Nevyhnutné cookies',
190                        description: 'Nevyhnutné cookies sú nutné pre správne fungovanie webových stránok. Tieto súbory cookie zaisťujú anonymné základné funkcie a bezpečnostné funkcie webu.',
191                        toggle: {
192                            value: 'necessary',
193                            enabled: true,
194                            readonly: true          // cookie categories with readonly=true are all treated as "necessary cookies"
195                        }
196                    }, {
197                        title: 'Analytické cookies',
198                        description: 'Analytické súbory cookie sa používajú k pochopeniu interakcie návštevníkov s webom. Tieto súbory cookie pomáhajú poskytovať informácie o metrikách počet návštevníkov, mieru okamžitého opustenia, zdroj prevádzky atď.',
199                        toggle: {
200                            value: 'analytics',     // your cookie category
201                            enabled: false,
202                            readonly: false
203                        },
204                        cookie_table: [             // list of all expected cookies
205                            {
206                                col1: '^_ga',       // match all cookies starting with "_ga"
207                                col2: 'google.com',
208                                col3: '2 years',
209                                col4: 'Google Analytics',
210                                is_regex: true
211                            },
212                            {
213                                col1: '_gid',
214                                col2: 'google.com',
215                                col3: '1 day',
216                                col4: 'Google Analytics',
217                            }
218                        ]
219                    }, {
220                        title: 'Funkčné cookies',
221                        description: 'Funkčné súbory cookie pomáhajú vykonávať určité funkcie, ako je zdieľanie obsahu webových stránok na platformách sociálnych médií, zhromažďovanie spätných väzieb a ďalšie funkcie tretích strán.',
222                        toggle: {
223                            value: 'targeting',
224                            enabled: false,
225                            readonly: false
226                        },
227                        cookie_table: [             // list of all expected cookies
228                            {
229                                col1: '^_fbp',       // match all cookies starting with "_ga"
230                                col2: 'facebook.com',
231                                col3: '3 měsíce',
232                                col4: 'Facebook pixel',
233                                is_regex: true
234                            },
235                            {
236                                col1: '_ttp',
237                                col2: 'tiktok.com',
238                                col3: '3 měsíce',
239                                col4: 'Tiktok Pixel',
240                            }
241                        ]
242                    }
243                ]
244            }
245        },
246        'en': {
247            consent_modal: {
248                title: 'We use cookies!',
249                description: 'For all digital projects, it is possible to store and process only data for which explicit consent has been granted. These data primarily include identifiers and other data obtained or stored in cookie files(<a href="en/page/cookies-policy">More information</a>). <br/><br/>When you click "Allow All", you give us your consent to process the above data. On our site, we use them primarily to identify the most popular content and the most frequent sources of traffic.  <button type="button" data-cc="c-settings" class="cc-link">Cookies settings</button>',
250                primary_btn: {
251                    text: 'Accept all',
252                    role: 'accept_all'              // 'accept_selected' or 'accept_all'
253                },
254                secondary_btn: {
255                    text: 'Reject all',
256                    role: 'accept_necessary'        // 'settings' or 'accept_necessary'
257                }
258            },
259            settings_modal: {
260                title: 'Cookie preferences',
261                save_settings_btn: 'Save settings',
262                accept_all_btn: 'Accept all',
263                reject_all_btn: 'Reject all',
264                close_btn_label: 'Close',
265                cookie_table_headers: [
266                    {col1: 'Name'},
267                    {col2: 'Domain'},
268                    {col3: 'Expiration'},
269                    {col4: 'Description'}
270                ],
271                blocks: [
272                    {
273                        title: 'What cookies do we use?',
274                        description: 'We use functional, analytical and necessary cookies on the website.'
275                    }, {
276                        title: 'Strictly necessary cookies',
277                        description: 'Necessary cookies are necessary for the website to function properly. These cookies anonymously provide basic functions and security functions of the website.',
278                        toggle: {
279                            value: 'necessary',
280                            enabled: true,
281                            readonly: true          // cookie categories with readonly=true are all treated as "necessary cookies"
282                        }
283                    }, {
284                        title: 'Analytical cookies',
285                        description: 'Analytical cookies are used to understand visitor interaction with the website. These 
285cookies help provide metrics information such as number of visitors, bounce rate, traffic source, etc.',
286                        toggle: {
287                            value: 'analytics',     // your cookie category
288                            enabled: false,
289                            readonly: false
290                        },
291                        cookie_table: [             // list of all expected cookies
292                            {
293                                col1: '^_ga',       // match all cookies starting with "_ga"
294                                col2: 'google.com',
295                                col3: '2 years',
296                                col4: 'description ...',
297                                is_regex: true
298                            },
299                            {
300                                col1: '_gid',
301                                col2: 'google.com',
302                                col3: '1 day',
303                                col4: 'description ...',
304                            }
305                        ]
306                    }, {
307                        title: 'Functional cookies',
308                        description: 'Functionality cookies help perform certain functions, such as sharing website content on social media platforms, collecting feedback and other third-party functions.',
309                        toggle: {
310                            value: 'targeting',
311                            enabled: false,
312                            readonly: false
313                        }
314                    }
315                ]
316            }
317        }
318    }
319});
320if (cc.allowedCategory('targeting')) {
321    $('div#buttonsModalFooter').show();
322};

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.