PageSourceSearch

https://www.zamekloucen.cz/assets/www/libs/cookie-consent/cookieconsent-config.js?v=

js zamekloucen.cz collected 2026-10-02 11:08:47 UTC 6,133 bytes, 159 lines download raw bytes

1import "../cookie-consent/cookieconsent.umd.js";
2function _ccPHP() {
3    fetch('?cc=1', {
4        method: 'POST',
5        body: JSON.stringify([]),
6        headers: {
7            'Content-Type': 'application/json'
8        }
9    });
10}
11
12CookieConsent.run({
13    // revision: 1,
14    disablePageInteraction: true,
15    lazyHtmlGeneration: true,
16
17    cookie: {
18        name: 'cc_cookie',
19        expiresAfterDays: acceptType => {
20            return acceptType === 'all'
21                ? 365.25
22                : 182;
23        }
24    },
25
26    guiOptions: {
27        consentModal: {
28            layout: 'box wide',
29            position: 'middle center',
30            flipButtons: true,
31            equalWeightButtons: false,
32        },
33        preferencesModal: {
34            layout: 'bar',
35            position: 'right',
36            equalWeightButtons: false,
37            flipButtons: true
38        }
39    },
40
41    onFirstConsent: () => {
42        _ccPHP();
43        updateConsents();
44    },
45
46    onConsent: () => {
47
48    },
49
50    onChange: () => {
51        updateConsents();
52    },
53
54    categories: {
55        necessary: {
56            readOnly: true,
57            enabled: true
58        },
59        analytics_storage: {
60            autoClear: {
61                cookies: [
62                    {
63                        name: /^(_ga|_gid)/
64                    }
65                ]
66            },
67        },
68        ad_storage: {
69            autoClear: {
70                cookies: [
71                    {
72                        name: /^(_fbp|_gcl_au|__gads|sid)/
73                    }
74                ]
75            },
76        }
77    },
78
79    language: {
80        default: document.documentElement.lang,
81
82        translations: {
83            cs: {
84                consentModal: {
85                    title: 'Pro Váš maximální zážitek',
86                    description: 'pracujeme s cookies a osobními údaji tak, aby naše služby běžely, jak mají, abychom věděli, co se na našem webu děje a mohli Vám přizpůsobit marketing. <a href="/docs/nastaveni-soukromi" class="cc__link">Více info</a>.',
87                    acceptAllBtn: 'Souhlasím',
88                    acceptNecessaryBtn: 'Pouze technické cookies',
89                    showPreferencesBtn: 'Nastavení cookies',
90                    footer: false
91                },
92                preferencesModal: {
93                    title: 'Pro Váš maximální zážitek',
94                    acceptAllBtn: 'Souhlasím',
95                    acceptNecessaryBtn: 'Odmítnout',
96                    savePreferencesBtn: 'Uložit mé skupiny',
97                    closeIconLabel: 'Close',
98                    sections: [
99                        {
100                            description: 'Pracujeme s cookies a osobními údaji tak, aby naše služby běžely, jak mají, abychom věděli, co se na našem webu děje a mohli Vám přizpůsobit marketing. <a href="/docs/nastaveni-soukromi" class="cc__link">Více info</a>.'
101                        },
102                        {
103                            title: 'Technicky nutné',
104                            description: 'Bezpodmínečně nutné pro správnou funkčnost webu.',
105                            linkedCategory: 'necessary',
106                        },
107                        {
108                            title: 'Statistické',
109                            description: 'Používají se ke shromažďování informací pro analýzu provozu na našem webu.',
110                            linkedCategory: 'analytics_storage',
111                        },
112                        {
113                            title: 'Marketingové',
114                            description: 'Používají se k zobrazování reklamy, která vás pravděpodobně bude zajímat na základě vašich zvyků při procházení.',
115                            linkedCategory: 'ad_storage',
116                        }
117                    ]
118                }
119            },
120            en: {
121                consentModal: {
122                    title: 'For the ultimate experience',
123                    description: 'we work with cookies and personal data so that our services run as they should, so that we know 
123what is happening on our website and can tailor our marketing to you. <a href="/docs/nastaveni-soukromi" class="cc__link">Read more</a>.',
124                    acceptAllBtn: 'I agree',
125                    acceptNecessaryBtn: 'Technical cookies only',
126                    showPreferencesBtn: 'Cookies settings',
127                    footer: false
128                },
129                preferencesModal: {
130                    title: 'For the ultimate experience',
131                    acceptAllBtn: 'I agree',
132                    acceptNecessaryBtn: 'Reject',
133                    savePreferencesBtn: 'Save my groups',
134                    closeIconLabel: 'Close',
135                    sections: [
136                        {
137                            description: 'we work with cookies and personal data so that our services run as they should, so that we know what is happening on our website and can tailor our marketing to you. <a href="/docs/nastaveni-soukromi" class="cc__link">Read more</a>.'
138                        },
139                        {
140                            title: 'Technically necessary',
141                            description: 'Absolutely necessary for the proper functionality of the site.',
142                            linkedCategory: 'necessary',
143                        },
144                        {
145                            title: 'Statistical',
146                            description: 'They are used to collect information to analyse traffic on our website.',
147                            linkedCategory: 'analytics_storage',
148                        },
149                        {
150                            title: 'Marketing',
151                            description: 'They are used to display advertising that is likely to be of interest to you based on your browsing habits.',
152                            linkedCategory: 'ad_storage',
153                        }
154                    ]
155                }
156            }
157        }
158    }
159});

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.