PageSourceSearch

https://travel-free.bg/catalog/view/theme/BurnEngine/javascript/app.js?1136352538

js travel-free.bg collected 2026-09-24 14:10:06 UTC 6,584 bytes, 101 lines download raw bytes

1/* EventEmitter v4.2.11 - git.io/ee | Unlicense - http://unlicense.org/ */
2(function(){"use strict";function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var r=e.prototype,i=this,s=i.EventEmitter;r.getListeners=function(e){var t,n,r=this._getEvents();if(e instanceof RegExp){t={};for(n in r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n])}else t=r[e]||(r[e]=[]);return t},r.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},r.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},r.addListener=function(e,n){var r,i=this.getListenersAsObject(e),s="object"==typeof n;for(r in i)i.hasOwnProperty(r)&&-1===t(i[r],n)&&i[r].unshift(s?n:{listener:n,once:!1});return this},r.on=n("addListener"),r.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},r.once=n("addOnceListener"),r.defineEvent=function(e){return this.getListeners(e),this},r.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},r.removeListener=function(e,n){var r,i,s=this.getListenersAsObject(e);for(i in s)s.hasOwnProperty(i)&&(r=t(s[i],n),-1!==r&&s[i].splice(r,1));return this},r.off=n("removeListener"),r.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},r.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},r.manipulateListeners=function(e,t,n){var r,i,s=e?this.removeListener:this.addListener,o=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=n.length;r--;)s.call(this,t,n[r]);else for(r in t)t.hasOwnProperty(r)&&(i=t[r])&&("function"==typeof i?s.call(this,r,i):o.call(this,r,i));return this},r.removeEvent=function(e){var t,n=typeof e,r=this._getEvents();if("string"===n)delete r[e];else if(e instanceof RegExp)for(t in r)r.hasOwnProperty(t)&&e.test(t)&&delete r[t];else delete this._events;return this},r.removeAllListeners=n("removeEvent"),r.emitEvent=function(e,t){var n,r,i,s,o=this.getListenersAsObject(e);for(i in o)if(o.hasOwnProperty(i))for(r=o[i].length;r--;)n=o[i][r],n.once===!0&&this.removeListener(e,n.listener),s=n.listener.apply(this,t||[]),s===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},r.trigger=n("emitEvent"),r.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},r.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},r._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},r._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return i.EventEmitter=s,e},"function"==typeof define&&define.amd?define(function(){return e}):"object"==typeof module&&module.exports?module.exports=e:i.EventEmitter=e}).call(this);
3/* utf8_decode - http://locutus.io/php/utf8_decode/ | Copyright (c) 2007-2016 Kevin van Zonneveld (http://kvz.io) and Contributors (http://locutus.io/authors) */
4function utf8_decode(r){var o=[],e=0,h=0,t=0;for(r+="";e<r.length;){h=255&r.charCodeAt(e),t=0,h>191?h>223?h>239?(h=7&h,t=4):(h=15&h,t=3):(h=31&h,t=2):(h=127&h,t=1);for(var n=1;t>n;++n)h=h<<6|63&r.charCodeAt(n+e);4===t?(h-=65536,o.push(String.fromCharCode(55296|h>>10&1023)),o.push(String.fromCharCode(56320|1023&h))):o.push(String.fromCharCode(h)),e+=t}return o.join("")};
5/* BurnEngine | (c) 2005, 2015 ThemeBurn */
6(function(window) {
7    var config;
8    if (window.tbApp) {
9        config = window.tbApp;
10    }
11
12    window.tbApp = {
13        trace: Math.random(),
14        sciprtLoadFunctions: [],
15        windowLoadFunctions: [],
16        windowLoaded: !1,
17        scriptloaded: !1,
18        onWindowLoaded: function(o) {
19            "function" == typeof o && (this.windowLoadFunctions.push(o), this.windowLoaded ? o() : this.on("tbWindowLoaded", o))
20        },
21        onScriptLoaded: function(o, d) {
22            "function" == typeof o && (this.sciprtLoadFunctions.push(o), this.scriptloaded ? o() : this.on(d === !0 ? "tbScriptLoadedInit" : "tbScriptLoaded", o))
23        },
24        events: new EventEmitter(),
25        on: function(evt, listener) {
26            return this.events.addListener(evt, listener);
27        },
28        once: function(evt, listener) {
29            return this.events.addOnceListener(evt, listener);
30        },
31        off: function(evt, listener) {
32            return this.events.removeListener(evt, listener);
33        },
34        trigger: function(evt, args) {
35            return this.events.emitEvent (evt, args);
36        },
37        triggerWindowResize: function() {
38            var event,
39                eventName = window.hasOwnProperty("onorientationchange") ? "orientationchange" : "resize";
40
41            if (document.createEvent) {
42                event = document.createEvent("HTMLEvents");
43                event.initEvent(eventName, true, true);
44                event.eventName = eventName;
45                window.dispatchEvent(event);
46            } else {
47                event = document.createEventObject();
48                event.eventType = eventName;
49                event.eventName = eventName;
50                window.fireEvent("on" + event.eventType, event);
51            }
52        },
53        triggerResizeCallbacks: function(namespace) {
54            var callbacks = [];
55
56            if (typeof namespace != "undefined") {
57                if (tbUtils.resizeCallBacks[namespace] !== undefined){
58                    callbacks = tbUtils.resizeCallBacks[namespace];
59                }
60            } else {
61                for (var key in tbUtils.resizeCallBacks) {
62                    callbacks.unshift.apply(callbacks, tbUtils.resizeCallBacks[key]);
63                }
64            }
65
66            Array.prototype.forEach.call(callbacks, function(callBack) {
67                callBack();
68            });
69        },
70        _t: function(str) {
71            var result = this['/lang/' + String(str)];
72
73            if (undefined === result) {
74                return '** not translated **';
75            }
76
77            return utf8_decode(result);
78        }
79    };
80
81    tbApp.on("tbWindowLoaded", function() {
82        tbApp.windowLoaded = true;
83    });
84
85    tbApp.on("tbScriptLoaded", function() {
86        tbApp.scriptloaded = true;
87        if (tbApp.executeInline !== undefined) {
88            tbApp.executeInline.call(window, tbApp);
89        }
90    });
91
92    if (config !== undefined) {
93        for(var k in config) {
94            tbApp[k] = config[k];
95        }
96    }
97})(window);
98
99
100
101

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.