// ==UserScript==
// @name all-search
// @version 0.1.4b
// @description 在各个引擎之间跳转的顶部菜单,借鉴自searchEngineJump
// @author endday
// @license GPL-2.0
// @update 2020/3/25
// @include *
// @homepageURL https://github.com/endday/all-search
// @require https://cdn.jsdelivr.net/npm/vue
// @run-at document-body
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_addStyle
// @namespace https://github.com/endday
// @downloadURL none
// ==/UserScript==
/* eslint-disable */
!function(e) {
"use strict";
e = e && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
function n(e, n, t, r, s, a, o, i, l, c) {
"boolean" != typeof o && (l = i, i = o, o = !1);
const h = "function" == typeof t ? t.options : t;
let m;
if (e && e.render && (h.render = e.render, h.staticRenderFns = e.staticRenderFns,
h._compiled = !0, s && (h.functional = !0)), r && (h._scopeId = r), a ? (m = function(e) {
(e = e || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || "undefined" == typeof __VUE_SSR_CONTEXT__ || (e = __VUE_SSR_CONTEXT__),
n && n.call(this, l(e)), e && e._registeredComponents && e._registeredComponents.add(a);
}, h._ssrRegister = m) : n && (m = o ? function(e) {
n.call(this, c(e, this.$root.$options.shadowRoot));
} : function(e) {
n.call(this, i(e));
}), m) if (h.functional) {
const e = h.render;
h.render = function(n, t) {
return m.call(t), e(n, t);
};
} else {
const e = h.beforeCreate;
h.beforeCreate = e ? [].concat(e, m) : [ m ];
}
return t;
}
const t = "undefined" != typeof navigator && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
function r(e) {
return (e, n) => function(e, n) {
const r = t ? n.media || "default" : e, o = a[r] || (a[r] = {
ids: new Set,
styles: []
});
if (!o.ids.has(e)) {
o.ids.add(e);
let t = n.source;
if (n.map && (t += "\n/*# sourceURL=" + n.map.sources[0] + " */", t += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"),
o.element || (o.element = document.createElement("style"), o.element.type = "text/css",
n.media && o.element.setAttribute("media", n.media), void 0 === s && (s = document.head || document.getElementsByTagName("head")[0]),
s.appendChild(o.element)), "styleSheet" in o.element) o.styles.push(t), o.element.styleSheet.cssText = o.styles.filter(Boolean).join("\n"); else {
const e = o.ids.size - 1, n = document.createTextNode(t), r = o.element.childNodes;
r[e] && o.element.removeChild(r[e]), r.length ? o.element.insertBefore(n, r[e]) : o.element.appendChild(n);
}
}
}(e, n);
}
let s;
const a = {};
const o = {
name: "logo"
};
var i = function() {
var e = this.$createElement;
this._self._c;
return this._m(0);
};
i._withStripped = !0;
const l = n({
render: i,
staticRenderFns: [ function() {
var e = this.$createElement, n = this._self._c || e;
return n("a", {
staticClass: "as-title",
attrs: {
href: "https://github.com/endday/all-search",
target: "_blank"
}
}, [ n("p", {
staticClass: "as-title-inner"
}, [ this._v("\n All Search\n ") ]) ]);
} ]
}, (function(e) {
e && e("data-v-5c453d41_0", {
source: ".as-title {\n text-decoration: none;\n}\n.as-title .as-title-inner {\n font-size: 18px;\n width: 120px;\n height: 30px;\n line-height: 30px;\n font-weight: 600;\n color: #1990fc;\n margin: 0;\n text-align: center;\n cursor: pointer;\n}\n\n/*# sourceMappingURL=logo.vue.map */",
map: {
version: 3,
sources: [ "E:\\project\\all-search\\src\\components\\logo.vue", "logo.vue" ],
names: [],
mappings: "AAoBA;EACA,qBAAA;ACnBA;ADqBA;EACA,eAAA;EACA,YAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;EACA,cAAA;EACA,SAAA;EACA,kBAAA;EACA,eAAA;ACnBA;;AAEA,mCAAmC",
file: "logo.vue",
sourcesContent: [ '\r\n \r\n \r\n All Search\r\n
\r\n \r\n\r\n\r\n