From c841312339828dd8da57d5c4a618814ff9f204d3 Mon Sep 17 00:00:00 2001 From: John Clause Date: Sun, 1 May 2016 23:53:13 -0600 Subject: [PATCH] common.min.js --- admin/js/common.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/js/common.min.js b/admin/js/common.min.js index 1518cfd..ac374d7 100644 --- a/admin/js/common.min.js +++ b/admin/js/common.min.js @@ -1 +1 @@ -function qtranxj_get_cookie(e) { for (var n = document.cookie.split(";"), a = 0; a < n.length; ++a) { var t = n[a], i = t.split("="); if (i[0].trim() == e && !(n.length < 2)) return i[1].trim() } return "" } function qtranxj_ce(e, n, a, t) { var i = document.createElement(e); if (n) for (prop in n) i[prop] = n[prop]; return a && (t && a.firstChild ? a.insertBefore(i, a.firstChild) : a.appendChild(i)), i } qtranxj_get_split_blocks = function (e) { var n = /(||\[:[a-z]{2}\]|\[:\]|\{:[a-z]{2}\}|\{:\})/gi; return e.xsplit(n) }, qtranxj_split = function (e) { var n = qtranxj_get_split_blocks(e); return qtranxj_split_blocks(n) }, qtranxj_split_blocks = function (e) { var n = new Object; for (var a in qTranslateConfig.language_config) n[a] = ""; if (!e || !e.length) return n; if (1 == e.length) { var t = e[0]; for (var a in qTranslateConfig.language_config) n[a] += t; return n } for (var i, r = //gi, o = /\[:([a-z]{2})\]/gi, s = /\{:([a-z]{2})\}/gi, a = !1, l = 0; l < e.length; ++l) { var t = e[l]; if (t.length) if (i = r.exec(t), r.lastIndex = 0, null == i) if (i = o.exec(t), o.lastIndex = 0, null == i) if (i = s.exec(t), s.lastIndex = 0, null == i) if ("" != t && "[:]" != t && "{:}" != t) if (a) n[a] ? n[a] += t : n[a] = t, a = !1; else for (var c in n) n[c] += t; else a = !1; else a = i[1]; else a = i[1]; else a = i[1] } return n }, String.prototype.xsplit = function (e) { if (3 === "a~b".split(/(~)/).length) return this.split(e); e.global || (e = new RegExp(e.source, "g" + (e.ignoreCase ? "i" : ""))); for (var n, a = 0, t = []; null != (n = e.exec(this)); ) t.push(this.slice(a, n.index)), n.length > 1 && t.push(n[1]), a = e.lastIndex; return a < this.length && t.push(this.slice(a)), a == this.length && t.push(""), t }; var qTranslateX = function (e) { var n = this; qTranslateConfig.qtx = this, this.getLanguages = function () { return qTranslateConfig.language_config }, this.getFlagLocation = function () { return qTranslateConfig.flag_location }, this.isLanguageEnabled = function (e) { return !!qTranslateConfig.language_config[e] }; var a = function (e) { document.cookie = "qtrans_edit_language=" + e }; qTranslateConfig.activeLanguage, qTranslateConfig.LSB ? (qTranslateConfig.activeLanguage = qtranxj_get_cookie("qtrans_edit_language"), qTranslateConfig.activeLanguage && this.isLanguageEnabled(qTranslateConfig.activeLanguage) || (qTranslateConfig.activeLanguage = qTranslateConfig.language, this.isLanguageEnabled(qTranslateConfig.activeLanguage) ? a(qTranslateConfig.activeLanguage) : qTranslateConfig.LSB = !1)) : (qTranslateConfig.activeLanguage = qTranslateConfig.language, a(qTranslateConfig.activeLanguage)), this.getActiveLanguage = function () { return qTranslateConfig.activeLanguage }, this.getLanguages = function () { return qTranslateConfig.language_config }; var t = {}; this.hasContentHook = function (e) { return t[e] }, this.addContentHook = function (e, a, i) { if (!e) return !1; switch (e.tagName) { case "TEXTAREA": break; case "INPUT": switch (e.type) { case "button": case "checkbox": case "password": case "radio": case "submit": return !1 } break; default: return !1 } if (!i) { if (!e.name) return !1; i = e.name } if (e.id) { if (t[e.id]) { if (jQuery.contains(document, e)) return t[e.id]; n.removeContentHook(e) } } else if (t[i]) { var r = 0; do ++r, e.id = i + r; while (t[i]) } else e.id = i; var o = t[e.id] = {}; o.name = i, o.contentField = e, o.lang = qTranslateConfig.activeLanguage; var s = qtranxj_split(e.value); e.value = s[o.lang]; var l; if (a) switch (a) { case "slug": l = "qtranslate-slugs["; break; case "term": l = "qtranslate-terms["; break; default: l = "qtranslate-fields[" } else a = "[", l = "qtranslate-fields["; var c, f, g = o.name.indexOf("["); if (0 > g) c = l + o.name + "]"; else if (c = l + o.name.substring(0, g) + "]", o.name.lastIndexOf("[]") < 0) c += o.name.substring(g); else { var u = o.name.length - 2; u > g && (c += o.name.substring(g, u)), f = "[]" } o.fields = {}; for (var d in s) { var h = s[d], v = c + "[" + d + "]"; f && (v += f); var C = qtranxj_ce("input", { name: v, type: "hidden", className: "hidden", value: h }); o.fields[d] = C, e.parentNode.insertBefore(C, e) } switch (a) { case "slug": case "term": o.sepfield = qtranxj_ce("input", { name: c + "[qtranslate-original-value]", type: "hidden", className: "hidden", value: s[qTranslateConfig.default_language] }); break; default: o.sepfield = qtranxj_ce("input", { name: c + "[qtranslate-separator]", type: "hidden", className: "hidden", value: a }) } return e.parentNode.insertBefore(o.sepfield, e), o.encode = a, e.className += " qtranxs-translatable", o }, this.addContentHookC = function (e) { return n.addContentHook(e, "[") }, this.addContentHookB = function (e) { return n.addContentHook(e, "[") }, this.addContentHookById = function (e, a, t) { return n.addContentHook(document.getElementById(e), a, t) }, this.addContentHookByIdName = function (e) { var a; switch (e[0]) { case "<": case "[": a = e.substring(0, 1), e = e.substring(1) } return n.addContentHookById(e, a) }, this.addContentHookByIdC = function (e) { return n.addContentHookById(e, "[") }, this.addContentHookByIdB = function (e) { return n.addContentHookById(e, "[") }, this.addContentHooks = function (e, a, t) { for (var i = 0; i < e.length; ++i) { var r = e[i]; n.addContentHook(r, a, t) } }; var i = function (e, a, t) { a || (a = document); var i = a.getElementsByClassName(e); n.addContentHooks(i, t) }; this.addContentHooksByClass = function (e, n) { var a; (0 == e.indexOf("<") || 0 == e.indexOf("[")) && (a = e.substring(0, 1), e = e.substring(1)), i(e, n, a) }, this.addContentHooksByTagInClass = function (e, a, t) { for (var i = t.getElementsByClassName(e), r = 0; r < i.length; ++r) { var o = i[r], s = o.getElementsByTagName(a); n.addContentHooks(s) } }; var r = function (e) { if (!e) return !1; e.sepfield && jQuery(e.sepfield).remove(); for (var n in e.fields) jQuery(e.fields[n]).remove(); return delete t[e.contentField.id], !0 }; this.removeContentHook = function (e) { if (!e) return !1; if (!e.id) return !1; if (!t[e.id]) return !1; var n = t[e.id]; return r(n), jQuery(e).removeClass("qtranxs-translatable"), !0 }, this.refreshContentHook = function (e) { if (!e) return !1; if (!e.id) return !1; var a = t[e.id]; return a && r(a), n.addContentHook(e) }; var o = [], s = function (e) { if (!e.nodeValue) return 0; var n = qtranxj_get_split_blocks(e.nodeValue); if (!n || !n.length || 1 == n.length) return 0; var a = {}; return a.nd = e, a.contents = qtranxj_split_blocks(n), e.nodeValue = a.contents[qTranslateConfig.activeLanguage], o.push(a), 1 }, l = [], c = function (e) { if (!e.value) return 0; var n = qtranxj_get_split_blocks(e.value); if (!n || !n.length || 1 == n.length) return 0; var a = {}; return a.nd = e, a.contents = qtranxj_split_blocks(n), e.value = a.contents[qTranslateConfig.activeLanguage], l.push(a), 1 }; this.addDisplayHook = function (e) { if (!e || !e.tagName) return 0; switch (e.tagName) { case "TEXTAREA": return 0; case "INPUT": switch (e.type) { case "submit": if (e.value) return c(e); default: return 0 } } var a = 0; if (e.childNodes && e.childNodes.length) for (var t = 0; t < e.childNodes.length; ++t) { var i = e.childNodes[t]; switch (i.nodeType) { case 1: a += n.addDisplayHook(i); break; case 2: case 3: a += s(i) } } return a }, this.addDisplayHookById = function (e) { return n.addDisplayHook(document.getElementById(e)) }; var f = function (e) { text = e.contentField.value, e.wpautop && window.switchEditors && (text = window.switchEditors.wpautop(text)), e.mce.setContent(text, { format: "html" }) }, g = function (e) { a(e); for (var n = o.length; --n >= 0; ) { var i = o[n]; i.nd.parentNode ? i.nd.nodeValue = i.contents[e] : o.splice(n, 1) } for (var n = l.length; --n >= 0; ) { var i = l[n]; i.nd.parentNode ? i.nd.value = i.contents[e] : l.splice(n, 1) } for (var r in t) { var i = t[r], s = i.mce && !i.mce.hidden; s && i.mce.save({ format: "html" }), i.fields[i.lang].value = i.contentField.value, i.lang = e; var c = i.fields[i.lang].value; i.contentField.placeholder && "" != c && (i.contentField.placeholder = ""), i.contentField.value = c, s && f(i) } }; this.addDisplayHooks = function (e) { for (var a = 0; a < e.length; ++a) { var t = e[a]; n.addDisplayHook(t) } }, this.addDisplayHooksByClass = function (e, a) { var t = a.getElementsByClassName(e); n.addDisplayHooks(t) }, this.addDisplayHooksByTagInClass = function (e, a, t) { for (var i = t.getElementsByClassName(e), r = 0; r < i.length; ++r) { var o = i[r], s = o.getElementsByTagName(a); n.addDisplayHooks(s) } }, this.addCustomContentHooks = function () { for (var e = 0; e < qTranslateConfig.custom_fields.length; ++e) { var a = qTranslateConfig.custom_fields[e]; n.addContentHookByIdName(a) } for (var e = 0; e < qTranslateConfig.custom_field_classes.length; ++e) { var a = qTranslateConfig.custom_field_classes[e]; n.addContentHooksByClass(a) } qTranslateConfig.LSB && setTinyMceInit() }; var u = function (e) { e(".i18n-multilingual").each(function (e, a) { n.addContentHook(a, "[") }), e(".i18n-multilingual-curly").each(function (e, a) { n.addContentHook(a, "{") }), e(".i18n-multilingual-term").each(function (e, a) { n.addContentHook(a, "term") }), e(".i18n-multilingual-slug").each(function (e, a) { n.addContentHook(a, "slug") }), e(".i18n-multilingual-display").each(function (e, a) { n.addDisplayHook(a) }) }, d = function (e) { for (var a in e) { var t, i = e[a]; if (i.form) { if (i.form.id) t = document.getElementById(i.form.id); else if (i.form.jquery) t = $(i.form.jquery); else if (i.form.name) { var r = document.getElementsByName(i.form.name); r && r.length && (t = r[0]) } } else t = document.getElementById(a); t || (t = v(), t || (t = document)); for (var o in i.fields) { var s = i.fields[o], l = []; if (s.container_id) { var c = document.getElementById(s.container_id); c && l.push(c) } else s.container_jquery ? l = $(s.container_jquery) : s.container_class ? l = document.getElementsByClassName(s.container_class) : l.push(t); var f = s.encode; switch (f) { case "none": continue; case "display": if (s.jquery) for (var g = 0; g < l.length; ++g) { var c = l[g], u = jQuery(c).find(s.jquery); n.addDisplayHooks(u) } else { var d = s.id ? s.id : o; n.addDisplayHook(document.getElementById(d)) } break; case "[": case "<": case "{": case "byline": default: if (s.jquery) for (var g = 0; g < l.length; ++g) { var c = l[g], u = jQuery(c).find(s.jquery); n.addContentHooks(u, f, s.name) } else { var d = s.id ? s.id : o; n.addContentHookById(d, f, s.name) } } } } }, h = function () { function e(e) { var n = e.id; if (n) { var a = t[n]; if (a && !a.mce) { a.mce = e, e.getContainer().className += " qtranxs-translatable", e.getElement().className += " qtranxs-translatable"; var i = a.updateTinyMCEonInit; if (null == i) { var r = e.getContent({ format: "html" }).replace(/\s+/g, ""), o = a.contentField.value.replace(/\s+/g, ""); i = r != o } return i && f(a), a } } } setTinyMceInit = function () { if (window.tinyMCE) for (var n in t) { var a = t[n]; if ("TEXTAREA" === a.contentField.tagName && !a.mce && !a.mceInit && tinyMCEPreInit.mceInit[n]) { if (a.mceInit = tinyMCEPreInit.mceInit[n], a.mceInit.wpautop) { a.wpautop = a.mceInit.wpautop; var i = tinymce.DOM.select("#wp-" + n + "-wrap"); i && i.length && (a.wrapper = i[0], a.wrapper && (tinymce.DOM.hasClass(a.wrapper, "tmce-active") && (a.updateTinyMCEonInit = !0), tinymce.DOM.hasClass(a.wrapper, "html-active") && (a.updateTinyMCEonInit = !1))) } else a.updateTinyMCEonInit = !1; tinyMCEPreInit.mceInit[n].init_instance_callback = function (n) { e(n) } } } }, setTinyMceInit(), loadTinyMceHooks = function () { if (window.tinyMCE && tinyMCE.editors) for (var n = 0; n < tinyMCE.editors.length; ++n) { var a = tinyMCE.editors[n]; e(a) } }, window.addEventListener("load", loadTinyMceHooks) }; qTranslateConfig.onTabSwitchFunctions || (qTranslateConfig.onTabSwitchFunctions = []), qTranslateConfig.onTabSwitchFunctionsSave || (qTranslateConfig.onTabSwitchFunctionsSave = []), qTranslateConfig.onTabSwitchFunctionsLoad || (qTranslateConfig.onTabSwitchFunctionsLoad = []), this.addLanguageSwitchListener = function (e) { qTranslateConfig.onTabSwitchFunctions.push(e) }, this.addLanguageSwitchBeforeListener = function (e) { qTranslateConfig.onTabSwitchFunctionsSave.push(e) }, this.delLanguageSwitchBeforeListener = function (e) { for (var n = 0; n < qTranslateConfig.onTabSwitchFunctionsSave.length; ++n) { var a = qTranslateConfig.onTabSwitchFunctionsSave[n]; if (a == e) return void qTranslateConfig.onTabSwitchFunctionsSave.splice(n, 1) } }, this.addLanguageSwitchAfterListener = function (e) { qTranslateConfig.onTabSwitchFunctionsLoad.push(e) }, this.delLanguageSwitchAfterListener = function (e) { for (var n = 0; n < qTranslateConfig.onTabSwitchFunctionsLoad.length; ++n) { var a = qTranslateConfig.onTabSwitchFunctionsLoad[n]; if (a == e) return void qTranslateConfig.onTabSwitchFunctionsLoad.splice(n, 1) } }, this.enableLanguageSwitchingButtons = function (e) { var n = e ? "block" : "none"; for (var a in qTranslateConfig.tabSwitches) { for (var t = qTranslateConfig.tabSwitches[a], i = 0; i < t.length; ++i) { var r = (t[i], t[i].parentElement); r.style.display = n; break } break } }; var v = function () { for (var e = document.getElementsByClassName("wrap"), n = 0; n < e.length; ++n) { var a = e[n], t = a.getElementsByTagName("form"); if (t.length) return t[0] } var t = document.getElementsByTagName("form"); if (1 === t.length) return t[0]; for (var n = 0; n < t.length; ++n) { var i = t[n]; if (e = i.getElementsByClassName("wrap"), e.length) return i } return null }; if ("function" == typeof e.addContentHooks && e.addContentHooks(this), qTranslateConfig.page_config && qTranslateConfig.page_config.forms && d(qTranslateConfig.page_config.forms), u(jQuery), !o.length && !l.length) { var C = !1; for (var m in t) { C = !0; break } if (!C) return } this.switchActiveLanguage = function () { var e = this, n = e.lang; if (!n) return void alert("qTranslate-X: This should not have happened: Please, report this incident to the developers: !lang"); if (qTranslateConfig.activeLanguage !== n) { if (qTranslateConfig.activeLanguage) { for (var a = !0, t = qTranslateConfig.onTabSwitchFunctionsSave, i = 0; i < t.length; ++i) { var r = t[i].call(qTranslateConfig.qtx, qTranslateConfig.activeLanguage, n); r === !1 && (a = !1) } if (!a) return; for (var o = qTranslateConfig.tabSwitches[qTranslateConfig.activeLanguage], i = 0; i < o.length; ++i) o[i].classList.remove(qTranslateConfig.lsb_style_active_class) } var s = qTranslateConfig.activeLanguage; qTranslateConfig.activeLanguage = n; for (var o = qTranslateConfig.tabSwitches[qTranslateConfig.activeLanguage], i = 0; i < o.length; ++i) o[i].classList.add(qTranslateConfig.lsb_style_active_class); for (var l = qTranslateConfig.onTabSwitchFunctions, i = 0; i < l.length; ++i) l[i].call(qTranslateConfig.qtx, n, s); for (var c = qTranslateConfig.onTabSwitchFunctionsLoad, i = 0; i < c.length; ++i) c[i].call(qTranslateConfig.qtx, n, s) } }; var q = function () { var e = qtranxj_ce("ul", { className: qTranslateConfig.lsb_style_wrap_class }), n = qTranslateConfig.language_config; qTranslateConfig.tabSwitches || (qTranslateConfig.tabSwitches = {}); for (var a in n) { var t = n[a], i = qTranslateConfig.flag_location, r = qtranxj_ce("li", { lang: a, className: "qtranxs-lang-switch", onclick: qTranslateConfig.qtx.switchActiveLanguage }, e); qtranxj_ce("img", { src: i + t.flag }, r), qtranxj_ce("span", { innerHTML: t.name }, r), qTranslateConfig.activeLanguage == a && r.classList.add(qTranslateConfig.lsb_style_active_class), qTranslateConfig.tabSwitches[a] || (qTranslateConfig.tabSwitches[a] = []), qTranslateConfig.tabSwitches[a].push(r) } return e }, T = function (e) { var n = document.getElementById("qtranxs-meta-box-lsb"); if (n) { var a = n.getElementsByClassName("inside"); if (a.length) { n.className += " closed", e(n).find(".hndle").remove(); var t = document.createElement("span"); n.insertBefore(t, a[0]), t.className = "hndle ui-sortable-handle"; var i = q(); t.appendChild(i), e(function (e) { e("#qtranxs-meta-box-lsb .hndle").unbind("click.postboxes") }) } } }; if (qTranslateConfig.LSB) { h(), T(jQuery); var p = []; if (qTranslateConfig.page_config && qTranslateConfig.page_config.anchors) for (var y in qTranslateConfig.page_config.anchors) { var w = qTranslateConfig.page_config.anchors[y], b = document.getElementById(y); if (b) p.push({ f: b, where: w.where }); else if (w.jquery) for (var _ = jQuery(w.jquery), k = 0; k < _.length; ++k) { var b = _[k]; p.push({ f: b, where: w.where }) } } if (!p.length) { var b = e.langSwitchWrapAnchor; b || (b = v()), b && p.push({ f: b, where: "before" }) } for (var k = 0; k < p.length; ++k) { var w = p[k]; if (!w.where || w.where.indexOf("before") >= 0) { var x = q(); w.f.parentNode.insertBefore(x, w.f) } if (w.where && w.where.indexOf("after") >= 0) { var x = q(); w.f.parentNode.insertBefore(x, w.f.nextSibling) } if (w.where && w.where.indexOf("first") >= 0) { var x = q(); w.f.insertBefore(x, w.f.firstChild) } if (w.where && w.where.indexOf("last") >= 0) { var x = q(); w.f.insertBefore(x, null) } } this.addLanguageSwitchListener(g), e.onTabSwitch && this.addLanguageSwitchListener(e.onTabSwitch) } }; qTranslateConfig.js.get_qtx = function () { return qTranslateConfig.qtx || new qTranslateX(qTranslateConfig.js), qTranslateConfig.qtx }, jQuery(document).ready(qTranslateConfig.js.get_qtx); \ No newline at end of file +function qtranxj_get_cookie(e){for(var n=document.cookie.split(";"),a=0;a||\[:[a-z]{2}\]|\[:\]|\{:[a-z]{2}\}|\{:\})/gi;return e.xsplit(n)},qtranxj_split=function(e){var n=qtranxj_get_split_blocks(e);return qtranxj_split_blocks(n)},qtranxj_split_blocks=function(e){var n=new Object;for(var a in qTranslateConfig.language_config)n[a]="";if(!e||!e.length)return n;if(1==e.length){var t=e[0];for(var a in qTranslateConfig.language_config)n[a]+=t;return n}for(var i,r=//gi,o=/\[:([a-z]{2})\]/gi,s=/\{:([a-z]{2})\}/gi,a=!1,l=0;l"!=t&&"[:]"!=t&&"{:}"!=t)if(a)n[a]?n[a]+=t:n[a]=t,a=!1;else for(var c in n)n[c]+=t;else a=!1;else a=i[1];else a=i[1];else a=i[1]}return n},String.prototype.xsplit=function(e){if(3==="a~b".split(/(~)/).length)return this.split(e);e.global||(e=new RegExp(e.source,"g"+(e.ignoreCase?"i":"")));for(var n,a=0,t=[];null!=(n=e.exec(this));)t.push(this.slice(a,n.index)),n.length>1&&t.push(n[1]),a=e.lastIndex;return ag)c=l+o.name+"]";else if(c=l+o.name.substring(0,g)+"]",o.name.lastIndexOf("[]")<0)c+=o.name.substring(g);else{var u=o.name.length-2;u>g&&(c+=o.name.substring(g,u)),f="[]"}o.fields={};for(var d in s){var h=s[d],v=c+"["+d+"]";f&&(v+=f);var C=qtranxj_ce("input",{name:v,type:"hidden",className:"hidden",value:h});o.fields[d]=C,e.parentNode.insertBefore(C,e)}switch(a){case"slug":case"term":o.sepfield=qtranxj_ce("input",{name:c+"[qtranslate-original-value]",type:"hidden",className:"hidden",value:s[qTranslateConfig.default_language]});break;default:o.sepfield=qtranxj_ce("input",{name:c+"[qtranslate-separator]",type:"hidden",className:"hidden",value:a})}return e.parentNode.insertBefore(o.sepfield,e),o.encode=a,e.className+=" qtranxs-translatable",o},this.addContentHookC=function(e){return n.addContentHook(e,"[")},this.addContentHookB=function(e){return n.addContentHook(e,"[")},this.addContentHookById=function(e,a,t){return n.addContentHook(document.getElementById(e),a,t)},this.addContentHookByIdName=function(e){var a;switch(e[0]){case"<":case"[":a=e.substring(0,1),e=e.substring(1)}return n.addContentHookById(e,a)},this.addContentHookByIdC=function(e){return n.addContentHookById(e,"[")},this.addContentHookByIdB=function(e){return n.addContentHookById(e,"[")},this.addContentHooks=function(e,a,t){for(var i=0;i=0;){var i=o[n];i.nd.parentNode?i.nd.nodeValue=i.contents[e]:o.splice(n,1)}for(var n=l.length;--n>=0;){var i=l[n];i.nd.parentNode?i.nd.value=i.contents[e]:l.splice(n,1)}for(var r in t){var i=t[r],s=i.mce&&!i.mce.hidden;s&&i.mce.save({format:"html"}),i.fields[i.lang].value=i.contentField.value,i.lang=e;var c=i.fields[i.lang].value;i.contentField.placeholder&&""!=c&&(i.contentField.placeholder=""),i.contentField.value=c,s&&f(i)}};this.addDisplayHooks=function(e){for(var a=0;a=0){var x=q();w.f.parentNode.insertBefore(x,w.f)}if(w.where&&w.where.indexOf("after")>=0){var x=q();w.f.parentNode.insertBefore(x,w.f.nextSibling)}if(w.where&&w.where.indexOf("first")>=0){var x=q();w.f.insertBefore(x,w.f.firstChild)}if(w.where&&w.where.indexOf("last")>=0){var x=q();w.f.insertBefore(x,null)}}this.addLanguageSwitchListener(g),e.onTabSwitch&&this.addLanguageSwitchListener(e.onTabSwitch)}};qTranslateConfig.js.get_qtx=function(){return qTranslateConfig.qtx||new qTranslateX(qTranslateConfig.js),qTranslateConfig.qtx},jQuery(document).ready(qTranslateConfig.js.get_qtx); \ No newline at end of file