-
Notifications
You must be signed in to change notification settings - Fork 82
/
vendor.js
168 lines (146 loc) · 22.5 KB
/
vendor.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["vendor"],{
/***/ "./src/libs/const.js":
/*!***************************!*\
!*** ./src/libs/const.js ***!
\***************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.INTERPRETER_API = exports.DISTILLER_WHITE_LIST = exports.TRS_TOKEN = exports.PUBLIC_SENTRY_URL = exports.SUB_TYPE_l = exports.DEFAULT_SUB_TYPE = exports.SUB_TYPE_TGT = exports.SUB_TYPE_ORG = exports.SUB_TYPE_BIL = exports.LANG_L = exports.DEFAULT_LANG = exports.JA = exports.EN = exports.ZH = void 0;
const ZH = 'zh',
EN = 'en',
JA = 'ja-JP',
DEFAULT_LANG = EN,
LANG_L = [ZH, EN, JA],
SUB_TYPE_BIL = 'bilingual',
SUB_TYPE_ORG = 'original',
SUB_TYPE_TGT = 'target',
DEFAULT_SUB_TYPE = SUB_TYPE_BIL,
SUB_TYPE_l = [SUB_TYPE_BIL, SUB_TYPE_ORG, SUB_TYPE_TGT],
PUBLIC_SENTRY_URL = 'http://c49231b0334e4624b8941767b8f6bfa4@sentry.in.caiyunapp.com/22',
TRS_TOKEN = 'ukiw3nrioeilf0mlpam7',
DISTILLER_WHITE_LIST = ['popsci.com', 'sciencealert.com', 'livescience.com', 'sciencedaily.com', 'aeon.co', 'thoughtco.com', 'pixiv', 'verywellmind.com'],
INTERPRETER_API = 'https://api.interpreter.caiyunai.com/';
exports.INTERPRETER_API = INTERPRETER_API;
exports.DISTILLER_WHITE_LIST = DISTILLER_WHITE_LIST;
exports.TRS_TOKEN = TRS_TOKEN;
exports.PUBLIC_SENTRY_URL = PUBLIC_SENTRY_URL;
exports.SUB_TYPE_l = SUB_TYPE_l;
exports.DEFAULT_SUB_TYPE = DEFAULT_SUB_TYPE;
exports.SUB_TYPE_TGT = SUB_TYPE_TGT;
exports.SUB_TYPE_ORG = SUB_TYPE_ORG;
exports.SUB_TYPE_BIL = SUB_TYPE_BIL;
exports.LANG_L = LANG_L;
exports.DEFAULT_LANG = DEFAULT_LANG;
exports.JA = JA;
exports.EN = EN;
exports.ZH = ZH;
/***/ }),
/***/ "./src/libs/layer.js":
/*!***************************!*\
!*** ./src/libs/layer.js ***!
\***************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_RESULT__;/*! layer mobile-v2.0 弹层组件移动版 License LGPL http://layer.layui.com/mobile By 贤心 */
;
!function (a) {
"use strict";
var b = document,
c = "querySelectorAll",
d = "getElementsByClassName",
e = function (a) {
return b[c](a);
},
f = {
type: 0,
shade: !0,
shadeClose: !0,
fixed: !0,
anim: "scale"
},
g = {
extend: function (a) {
var b = JSON.parse(JSON.stringify(f));
for (var c in a) b[c] = a[c];
return b;
},
timer: {},
end: {}
};
g.touch = function (a, b) {
a.addEventListener("click", function (a) {
b.call(this, a);
}, !1);
};
var h = 0,
i = ["layui-m-layer"],
j = function (a) {
var b = this;
b.config = g.extend(a), b.view();
};
j.prototype.view = function () {
var a = this,
c = a.config,
f = b.createElement("div");
a.id = f.id = i[0] + h, f.setAttribute("class", i[0] + " " + i[0] + (c.type || 0)), f.setAttribute("index", h);
var g = function () {
var a = "object" == typeof c.title;
return c.title ? '<h3 style="' + (a ? c.title[1] : "") + '">' + (a ? c.title[0] : c.title) + "</h3>" : "";
}(),
j = function () {
"string" == typeof c.btn && (c.btn = [c.btn]);
var a,
b = (c.btn || []).length;
return 0 !== b && c.btn ? (a = '<span yes type="1">' + c.btn[0] + "</span>", 2 === b && (a = '<span no type="0">' + c.btn[1] + "</span>" + a), '<div class="layui-m-layerbtn">' + a + "</div>") : "";
}();
if (c.fixed || (c.top = c.hasOwnProperty("top") ? c.top : 100, c.style = c.style || "", c.style += " top:" + (b.body.scrollTop + c.top) + "px"), 2 === c.type && (c.content = '<i></i><i class="layui-m-layerload"></i><i></i><p>' + (c.content || "") + "</p>"), c.skin && (c.anim = "up"), "msg" === c.skin && (c.shade = !1), f.innerHTML = (c.shade ? "<div " + ("string" == typeof c.shade ? 'style="' + c.shade + '"' : "") + ' class="layui-m-layershade"></div>' : "") + '<div class="layui-m-layermain" ' + (c.fixed ? "" : 'style="position:static;"') + '><div class="layui-m-layersection"><div class="layui-m-layerchild ' + (c.skin ? "layui-m-layer-" + c.skin + " " : "") + (c.className ? c.className : "") + " " + (c.anim ? "layui-m-anim-" + c.anim : "") + '" ' + (c.style ? 'style="' + c.style + '"' : "") + ">" + g + '<div class="layui-m-layercont">' + c.content + "</div>" + j + "</div></div></div>", !c.type || 2 === c.type) {
var k = b[d](i[0] + c.type),
l = k.length;
l >= 1 && layer.close(k[0].getAttribute("index"));
}
document.body.appendChild(f);
var m = a.elem = e("#" + a.id)[0];
c.success && c.success(m), a.index = h++, a.action(c, m);
}, j.prototype.action = function (a, b) {
var c = this;
a.time && (g.timer[c.index] = setTimeout(function () {
layer.close(c.index);
}, 1e3 * a.time));
var e = function () {
var b = this.getAttribute("type");
0 == b ? (a.no && a.no(), layer.close(c.index)) : a.yes ? a.yes(c.index) : layer.close(c.index);
};
if (a.btn) for (var f = b[d]("layui-m-layerbtn")[0].children, h = f.length, i = 0; h > i; i++) g.touch(f[i], e);
if (a.shade && a.shadeClose) {
var j = b[d]("layui-m-layershade")[0];
g.touch(j, function () {
layer.close(c.index, a.end);
});
}
a.end && (g.end[c.index] = a.end);
}, a.layer = {
v: "2.0",
index: h,
open: function (a) {
var b = new j(a || {});
return b.index;
},
close: function (a) {
var c = e("#" + i[0] + a)[0];
c && (c.innerHTML = "", b.body.removeChild(c), clearTimeout(g.timer[a]), delete g.timer[a], "function" == typeof g.end[a] && g.end[a](), delete g.end[a]);
},
closeAll: function () {
for (var a = b[d](i[0]), c = 0, e = a.length; e > c; c++) layer.close(0 | a[0].getAttribute("index"));
}
}, true ? !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
return layer;
}).call(exports, __webpack_require__, exports, module),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
}(window);
/***/ })
}]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvbGlicy9jb25zdC5qcyIsIndlYnBhY2s6Ly8vLi9zcmMvbGlicy9sYXllci5qcyJdLCJuYW1lcyI6WyJaSCIsIkVOIiwiSkEiLCJERUZBVUxUX0xBTkciLCJMQU5HX0wiLCJTVUJfVFlQRV9CSUwiLCJTVUJfVFlQRV9PUkciLCJTVUJfVFlQRV9UR1QiLCJERUZBVUxUX1NVQl9UWVBFIiwiU1VCX1RZUEVfbCIsIlBVQkxJQ19TRU5UUllfVVJMIiwiVFJTX1RPS0VOIiwiRElTVElMTEVSX1dISVRFX0xJU1QiLCJJTlRFUlBSRVRFUl9BUEkiLCJhIiwiYiIsImRvY3VtZW50IiwiYyIsImQiLCJlIiwiZiIsInR5cGUiLCJzaGFkZSIsInNoYWRlQ2xvc2UiLCJmaXhlZCIsImFuaW0iLCJnIiwiZXh0ZW5kIiwiSlNPTiIsInBhcnNlIiwic3RyaW5naWZ5IiwidGltZXIiLCJlbmQiLCJ0b3Vja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