You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
255 KiB

2 years ago
  1. /** layui-v2.1.5 MIT License By http://www.layui.com */
  2. ; !function (e) { "use strict"; var t = document, o = { modules: {}, status: {}, timeout: 10, event: {} }, n = function () { this.v = "2.1.5" }, r = function () { var e = t.scripts, o = e[e.length - 1].src; return o.substring(0, o.lastIndexOf("/") + 1) }(), a = function (t) { e.console && console.error && console.error("Layui hint: " + t) }, i = "undefined" != typeof opera && "[object Opera]" === opera.toString(), u = { layer: "modules/layer", laydate: "modules/laydate", laypage: "modules/laypage", laytpl: "modules/laytpl", layim: "modules/layim", layedit: "modules/layedit", form: "modules/form", upload: "modules/upload", tree: "modules/tree", table: "modules/table", element: "modules/element", util: "modules/util", flow: "modules/flow", carousel: "modules/carousel", code: "modules/code", jquery: "modules/jquery", mobile: "modules/mobile", "layui.all": "../layui.all" }; n.prototype.cache = o, n.prototype.define = function (e, t) { var n = this, r = "function" == typeof e, a = function () { return "function" == typeof t && t(function (e, t) { layui[e] = t, o.status[e] = !0 }), this }; return r && (t = e, e = []), layui["layui.all"] || !layui["layui.all"] && layui["layui.mobile"] ? a.call(n) : (n.use(e, a), n) }, n.prototype.use = function (e, n, l) { function s(e, t) { var n = "PLaySTATION 3" === navigator.platform ? /^complete$/ : /^(complete|loaded)$/; ("load" === e.type || n.test((e.currentTarget || e.srcElement).readyState)) && (o.modules[f] = t, d.removeChild(v), function r() { return ++m > 1e3 * o.timeout / 4 ? a(f + " is not a valid module") : void (o.status[f] ? c() : setTimeout(r, 4)) }()) } function c() { l.push(layui[f]), e.length > 1 ? y.use(e.slice(1), n, l) : "function" == typeof n && n.apply(layui, l) } var y = this, p = o.dir = o.dir ? o.dir : r, d = t.getElementsByTagName("head")[0]; e = "string" == typeof e ? [e] : e, window.jQuery && jQuery.fn.on && (y.each(e, function (t, o) { "jquery" === o && e.splice(t, 1) }), layui.jquery = layui.$ = jQuery); var f = e[0], m = 0; if (l = l || [], o.host = o.host || (p.match(/\/\/([\s\S]+?)\//) || ["//" + location.host + "/"])[0], 0 === e.length || layui["layui.all"] && u[f] || !layui["layui.all"] && layui["layui.mobile"] && u[f]) return c(), y; if (o.modules[f]) !function g() { return ++m > 1e3 * o.timeout / 4 ? a(f + " is not a valid module") : void ("string" == typeof o.modules[f] && o.status[f] ? c() : setTimeout(g, 4)) }(); else { var v = t.createElement("script"), h = (u[f] ? p + "lay/" : o.base || "") + (y.modules[f] || f) + ".js"; v.async = !0, v.charset = "utf-8", v.src = h + function () { var e = o.version === !0 ? o.v || (new Date).getTime() : o.version || ""; return e ? "?v=" + e : "" }(), d.appendChild(v), !v.attachEvent || v.attachEvent.toString && v.attachEvent.toString().indexOf("[native code") < 0 || i ? v.addEventListener("load", function (e) { s(e, h) }, !1) : v.attachEvent("onreadystatechange", function (e) { s(e, h) }), o.modules[f] = h } return y }, n.prototype.getStyle = function (t, o) { var n = t.currentStyle ? t.currentStyle : e.getComputedStyle(t, null); return n[n.getPropertyValue ? "getPropertyValue" : "getAttribute"](o) }, n.prototype.link = function (e, n, r) { var i = this, u = t.createElement("link"), l = t.getElementsByTagName("head")[0]; "string" == typeof n && (r = n); var s = (r || e).replace(/\.|\//g, ""), c = u.id = "layuicss-" + s, y = 0; return u.rel = "stylesheet", u.href = e + (o.debug ? "?v=" + (new Date).getTime() : ""), u.media = "all", t.getElementById(c) || l.appendChild(u), "function" != typeof n ? i : (function p() { return ++y > 1e3 * o.timeout / 100 ? a(e + " timeout") : void (1989 === parseInt(i.getStyle(t.getElementById(c), "width")) ? function () { n() }() : setTimeout(p, 100)) }(), i) }, n.prototype.addcss = function (e, t, n) { return layui.link(o.dir + "css/" + e, t, n) }, n.prototype.img = function (e, t, o) { var n = new Image; return n.src = e, n.complete ? t(n) : (n.onload = function () { n.onload = null, t(n) }, void (n.onerror = function (e) { n.onerror = null, o(e) })) }, n.prototype.config = function
  3. function n(e) { var t = !!e && "length" in e && e.length, n = pe.type(e); return "function" !== n && !pe.isWindow(e) && ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e) } function r(e, t, n) { if (pe.isFunction(t)) return pe.grep(e, function (e, r) { return !!t.call(e, r, e) !== n }); if (t.nodeType) return pe.grep(e, function (e) { return e === t !== n }); if ("string" == typeof t) { if (Ce.test(t)) return pe.filter(t, e, n); t = pe.filter(t, e) } return pe.grep(e, function (e) { return pe.inArray(e, t) > -1 !== n }) } function i(e, t) { do e = e[t]; while (e && 1 !== e.nodeType); return e } function o(e) { var t = {}; return pe.each(e.match(De) || [], function (e, n) { t[n] = !0 }), t } function a() { re.addEventListener ? (re.removeEventListener("DOMContentLoaded", s), e.removeEventListener("load", s)) : (re.detachEvent("onreadystatechange", s), e.detachEvent("onload", s)) } function s() { (re.addEventListener || "load" === e.event.type || "complete" === re.readyState) && (a(), pe.ready()) } function u(e, t, n) { if (void 0 === n && 1 === e.nodeType) { var r = "data-" + t.replace(_e, "-$1").toLowerCase(); if (n = e.getAttribute(r), "string" == typeof n) { try { n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : qe.test(n) ? pe.parseJSON(n) : n) } catch (i) { } pe.data(e, t, n) } else n = void 0 } return n } function l(e) { var t; for (t in e) if (("data" !== t || !pe.isEmptyObject(e[t])) && "toJSON" !== t) return !1; return !0 } function c(e, t, n, r) { if (He(e)) { var i, o, a = pe.expando, s = e.nodeType, u = s ? pe.cache : e, l = s ? e[a] : e[a] && a; if (l && u[l] && (r || u[l].data) || void 0 !== n || "string" != typeof t) return l || (l = s ? e[a] = ne.pop() || pe.guid++ : a), u[l] || (u[l] = s ? {} : { toJSON: pe.noop }), "object" != typeof t && "function" != typeof t || (r ? u[l] = pe.extend(u[l], t) : u[l].data = pe.extend(u[l].data, t)), o = u[l], r || (o.data || (o.data = {}), o = o.data), void 0 !== n && (o[pe.camelCase(t)] = n), "string" == typeof t ? (i = o[t], null == i && (i = o[pe.camelCase(t)])) : i = o, i } } function f(e, t, n) { if (He(e)) { var r, i, o = e.nodeType, a = o ? pe.cache : e, s = o ? e[pe.expando] : pe.expando; if (a[s]) { if (t && (r = n ? a[s] : a[s].data)) { pe.isArray(t) ? t = t.concat(pe.map(t, pe.camelCase)) : t in r ? t = [t] : (t = pe.camelCase(t), t = t in r ? [t] : t.split(" ")), i = t.length; for (; i--;)delete r[t[i]]; if (n ? !l(r) : !pe.isEmptyObject(r)) return } (n || (delete a[s].data, l(a[s]))) && (o ? pe.cleanData([e], !0) : fe.deleteExpando || a != a.window ? delete a[s] : a[s] = void 0) } } } function d(e, t, n, r) { var i, o = 1, a = 20, s = r ? function () { return r.cur() } : function () { return pe.css(e, t, "") }, u = s(), l = n && n[3] || (pe.cssNumber[t] ? "" : "px"), c = (pe.cssNumber[t] || "px" !== l && +u) && Me.exec(pe.css(e, t)); if (c && c[3] !== l) { l = l || c[3], n = n || [], c = +u || 1; do o = o || ".5", c /= o, pe.style(e, t, c + l); while (o !== (o = s() / u) && 1 !== o && --a) } return n && (c = +c || +u || 0, i = n[1] ? c + (n[1] + 1) * n[2] : +n[2], r && (r.unit = l, r.start = c, r.end = i)), i } function p(e) { var t = ze.split("|"), n = e.createDocumentFragment(); if (n.createElement) for (; t.length;)n.createElement(t.pop()); return n } function h(e, t) { var n, r, i = 0, o = "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName(t || "*") : "undefined" != typeof e.querySelectorAll ? e.querySelectorAll(t || "*") : void 0; if (!o) for (o = [], n = e.childNodes || e; null != (r = n[i]); i++)!t || pe.nodeName(r, t) ? o.push(r) : pe.merge(o, h(r, t)); return void 0 === t || t && pe.nodeName(e, t) ? pe.merge([e], o) : o } function g(e, t) { for (var n, r = 0; null != (n = e[r]); r++)pe._data(n, "globalEval", !t || pe._data(t[r], "globalEval")) } function m(e) { Be.test(e.type) && (e.defaultChecked = e.checked) } function y(e, t, n, r, i) { for (var o, a, s, u, l, c, f, d = e.length, y = p(t), v = [], x = 0; x < d; x++)if (a = e[x], a || 0 === a) if ("object" === pe.type(
  4. function t(e, t, n, r) { var i, o, a, s, u, l, f, p, h = t && t.ownerDocument, g = t ? t.nodeType : 9; if (n = n || [], "string" != typeof e || !e || 1 !== g && 9 !== g && 11 !== g) return n; if (!r && ((t ? t.ownerDocument || t : B) !== H && L(t), t = t || H, _)) { if (11 !== g && (l = ye.exec(e))) if (i = l[1]) { if (9 === g) { if (!(a = t.getElementById(i))) return n; if (a.id === i) return n.push(a), n } else if (h && (a = h.getElementById(i)) && R(t, a) && a.id === i) return n.push(a), n } else { if (l[2]) return Q.apply(n, t.getElementsByTagName(e)), n; if ((i = l[3]) && w.getElementsByClassName && t.getElementsByClassName) return Q.apply(n, t.getElementsByClassName(i)), n } if (w.qsa && !X[e + " "] && (!F || !F.test(e))) { if (1 !== g) h = t, p = e; else if ("object" !== t.nodeName.toLowerCase()) { for ((s = t.getAttribute("id")) ? s = s.replace(xe, "\\$&") : t.setAttribute("id", s = P), f = N(e), o = f.length, u = de.test(s) ? "#" + s : "[id='" + s + "']"; o--;)f[o] = u + " " + d(f[o]); p = f.join(","), h = ve.test(e) && c(t.parentNode) || t } if (p) try { return Q.apply(n, h.querySelectorAll(p)), n } catch (m) { } finally { s === P && t.removeAttribute("id") } } } return S(e.replace(se, "$1"), t, n, r) } function n() { function e(n, r) { return t.push(n + " ") > T.cacheLength && delete e[t.shift()], e[n + " "] = r } var t = []; return e } function r(e) { return e[P] = !0, e } function i(e) { var t = H.createElement("div"); try { return !!e(t) } catch (n) { return !1 } finally { t.parentNode && t.parentNode.removeChild(t), t = null } } function o(e, t) { for (var n = e.split("|"), r = n.length; r--;)T.attrHandle[n[r]] = t } function a(e, t) { var n = t && e, r = n && 1 === e.nodeType && 1 === t.nodeType && (~t.sourceIndex || V) - (~e.sourceIndex || V); if (r) return r; if (n) for (; n = n.nextSibling;)if (n === t) return -1; return e ? 1 : -1 } function s(e) { return function (t) { var n = t.nodeName.toLowerCase(); return "input" === n && t.type === e } } function u(e) { return function (t) { var n = t.nodeName.toLowerCase(); return ("input" === n || "button" === n) && t.type === e } } function l(e) { return r(function (t) { return t = +t, r(function (n, r) { for (var i, o = e([], n.length, t), a = o.length; a--;)n[i = o[a]] && (n[i] = !(r[i] = n[i])) }) }) } function c(e) { return e && "undefined" != typeof e.getElementsByTagName && e } function f() { } function d(e) { for (var t = 0, n = e.length, r = ""; t < n; t++)r += e[t].value; return r } function p(e, t, n) { var r = t.dir, i = n && "parentNode" === r, o = I++; return t.first ? function (t, n, o) { for (; t = t[r];)if (1 === t.nodeType || i) return e(t, n, o) } : function (t, n, a) { var s, u, l, c = [W, o]; if (a) { for (; t = t[r];)if ((1 === t.nodeType || i) && e(t, n, a)) return !0 } else for (; t = t[r];)if (1 === t.nodeType || i) { if (l = t[P] || (t[P] = {}), u = l[t.uniqueID] || (l[t.uniqueID] = {}), (s = u[r]) && s[0] === W && s[1] === o) return c[2] = s[2]; if (u[r] = c, c[2] = e(t, n, a)) return !0 } } } function h(e) { return e.length > 1 ? function (t, n, r) { for (var i = e.length; i--;)if (!e[i](t, n, r)) return !1; return !0 } : e[0] } function g(e, n, r) { for (var i = 0, o = n.length; i < o; i++)t(e, n[i], r); return r } function m(e, t, n, r, i) { for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++)(o = e[s]) && (n && !n(o, r, i) || (a.push(o), l && t.push(s))); return a } function y(e, t, n, i, o, a) { return i && !i[P] && (i = y(i)), o && !o[P] && (o = y(o, a)), r(function (r, a, s, u) { var l, c, f, d = [], p = [], h = a.length, y = r || g(t || "*", s.nodeType ? [s] : s, []), v = !e || !r && t ? y : m(y, d, e, s, u), x = n ? o || (r ? e : h || i) ? [] : a : v; if (n && n(v, x, s, u), i) for (l = m(x, p), i(l, [], s, u), c = l.length; c--;)(f = l[c]) && (x[p[c]] = !(v[p[c]] = f)); if (r) { if (o || e) { if (o) { for (l = [], c = x.length; c--;)(f = x[c]) && l.push(v[c] = f); o(null, x = [], l, u) } for (c = x.length; c--;)(f = x[c]) && (l = o ? ee(r, f) : d[c]) > -1 && (r[l] = !(a[l] = f)) } } else x = m(x ===
  5. cacheLength: 50, createPseudo: r, match: pe, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: !0 }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: !0 }, "~": { dir: "previousSibling" } }, preFilter: { ATTR: function (e) { return e[1] = e[1].replace(be, we), e[3] = (e[3] || e[4] || e[5] || "").replace(be, we), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4) }, CHILD: function (e) { return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || t.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && t.error(e[0]), e }, PSEUDO: function (e) { var t, n = !e[6] && e[2]; return pe.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && fe.test(n) && (t = N(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3)) } }, filter: {
  6. TAG: function (e) { var t = e.replace(be, we).toLowerCase(); return "*" === e ? function () { return !0 } : function (e) { return e.nodeName && e.nodeName.toLowerCase() === t } }, CLASS: function (e) { var t = $[e + " "]; return t || (t = new RegExp("(^|" + ne + ")" + e + "(" + ne + "|$)")) && $(e, function (e) { return t.test("string" == typeof e.className && e.className || "undefined" != typeof e.getAttribute && e.getAttribute("class") || "") }) }, ATTR: function (e, n, r) { return function (i) { var o = t.attr(i, e); return null == o ? "!=" === n : !n || (o += "", "=" === n ? o === r : "!=" === n ? o !== r : "^=" === n ? r && 0 === o.indexOf(r) : "*=" === n ? r && o.indexOf(r) > -1 : "$=" === n ? r && o.slice(-r.length) === r : "~=" === n ? (" " + o.replace(ae, " ") + " ").indexOf(r) > -1 : "|=" === n && (o === r || o.slice(0, r.length + 1) === r + "-")) } }, CHILD: function (e, t, n, r, i) {
  7. var o = "nth" !== e.slice(0, 3), a = "last" !== e.slice(-4), s = "of-type" === t; return 1 === r && 0 === i ? function (e) { return !!e.parentNode } : function (t, n, u) {
  8. var l, c, f, d, p, h, g = o !== a ? "nextSibling" : "previousSibling", m = t.parentNode, y = s && t.nodeName.toLowerCase(), v = !u && !s, x = !1; if (m) {
  9. if (o) { for (; g;) { for (d = t; d = d[g];)if (s ? d.nodeName.toLowerCase() === y : 1 === d.nodeType) return !1; h = g = "only" === e && !h && "nextSibling" } return !0 } if (h = [a ? m.firstChild : m.lastChild], a && v) {
  10. for (d = m, f = d[P] || (d[P] = {}), c = f[d.uniqueID] || (f[d.uniqueID] = {}),
  11. l = c[e] || [], p = l[0] === W && l[1], x = p && l[2], d = p && m.childNodes[p]; d = ++p && d && d[g] || (x = p = 0) || h.pop();)if (1 === d.nodeType && ++x && d === t) { c[e] = [W, p, x]; break }
  12. } else if (v && (d = t, f = d[P] || (d[P] = {}), c = f[d.uniqueID] || (f[d.uniqueID] = {}), l = c[e] || [], p = l[0] === W && l[1], x = p), x === !1) for (; (d = ++p && d && d[g] || (x = p = 0) || h.pop()) && ((s ? d.nodeName.toLowerCase() !== y : 1 !== d.nodeType) || !++x || (v && (f = d[P] || (d[P] = {}), c = f[d.uniqueID] || (f[d.uniqueID] = {}), c[e] = [W, x]), d !== t));); return x -= i, x === r || x % r === 0 && x / r >= 0
  13. }
  14. }
  15. }, PSEUDO: function (e, n) { var i, o = T.pseudos[e] || T.setFilters[e.toLowerCase()] || t.error("unsupported pseudo: " + e); return o[P] ? o(n) : o.length > 1 ? (i = [e, e, "", n], T.setFilters.hasOwnProperty(e.toLowerCase()) ? r(function (e, t) { for (var r, i = o(e, n), a = i.length; a--;)r = ee(e, i[a]), e[r] = !(t[r] = i[a]) }) : function (e) { return o(e, 0, i) }) : o }
  16. }, pseudos: { not: r(function (e) { var t = [], n = [], i = k(e.replace(se, "$1")); return i[P] ? r(function (e, t, n, r) { for (var o, a = i(e, null, r, []), s = e.length; s--;)(o = a[s]) && (e[s] = !(t[s] = o)) }) : function (e, r, o) { return t[0] = e, i(t, null, o, n), t[0] = null, !n.pop() } }), has: r(function (e) { return function (n) { return t(e, n).length > 0 } }), contains: r(function (e) { return e = e.replace(be, we), function (t) { return (t.textContent || t.innerText || C(t)).indexOf(e) > -1 } }), lang: r(function (e) { return de.test(e || "") || t.error("unsupported lang: " + e), e = e.replace(be, we).toLowerCase(), function (t) { var n; do if (n = _ ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang")) return n = n.toLowerCase(), n === e || 0 === n.indexOf(e + "-"); while ((t = t.parentNode) && 1 === t.nodeType); return !1 } }), target: function (t) { var n = e.location && e.location.hash; return n && n.slice(1) === t.id }, root: function (e) { return e === q }, focus: function (e) { return e === H.activeElement && (!H.hasFocus || H.hasFocus()) && !!(e.type || e.href || ~e.tabIndex) }, enabled: function (e) { return e.disabled === !1 }, disabled: function (e) { return e.disabled === !0 }, checked: function (e) { var t = e.nodeName.toLowerCase(); return "input" === t && !!e.checked || "option" === t && !!e.selected }, selected: function (e) { return e.parentNode && e.parentNode.selectedIndex, e.selected === !0 }, empty: function (e) { for (e = e.firstChild; e; e = e.nextSibling)if (e.nodeType < 6) return !1; return !0 }, parent: function (e) { return !T.pseudos.empty(e) }, header: function (e) { return ge.test(e.nodeName) }, input: function (e) { return he.test(e.nodeName) }, button: function (e) { var t = e.nodeName.toLowerCase(); return "input" === t && "button" === e.type || "button" === t }, text: function (e) { var t; return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase()) }, first: l(function () { return [0] }), last: l(function (e, t) { return [t - 1] }), eq: l(function (e, t, n) { return [n < 0 ? n + t : n] }), even: l(function (e, t) { for (var n = 0; n < t; n += 2)e.push(n); return e }), odd: l(function (e, t) { for (var n = 1; n < t; n += 2)e.push(n); return e }), lt: l(function (e, t, n) { for (var r = n < 0 ? n + t : n; --r >= 0;)e.push(r); return e }), gt: l(function (e, t, n) { for (var r = n < 0 ? n + t : n; ++r < t;)e.push(r); return e }) }
  17. }, T.pseudos.nth = T.pseudos.eq; for (b in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) T.pseudos[b] = s(b); for (b in { submit: !0, reset: !0 }) T.pseudos[b] = u(b); return f.prototype = T.filters = T.pseudos, T.setFilters = new f, N = t.tokenize = function (e, n) { var r, i, o, a, s, u, l, c = z[e + " "]; if (c) return n ? 0 : c.slice(0); for (s = e, u = [], l = T.preFilter; s;) { r && !(i = ue.exec(s)) || (i && (s = s.slice(i[0].length) || s), u.push(o = [])), r = !1, (i = le.exec(s)) && (r = i.shift(), o.push({ value: r, type: i[0].replace(se, " ") }), s = s.slice(r.length)); for (a in T.filter) !(i = pe[a].exec(s)) || l[a] && !(i = l[a](i)) || (r = i.shift(), o.push({ value: r, type: a, matches: i }), s = s.slice(r.length)); if (!r) break } return n ? s.length : s ? t.error(e) : z(e, u).slice(0) }, k = t.compile = function (e, t) { var n, r = [], i = [], o = X[e + " "]; if (!o) { for (t || (t = N(e)), n = t.length; n--;)o = v(t[n]), o[P] ? r.push(o) : i.push(o); o = X(e, x(i, r)), o.selector = e } return o }, S = t.select = function (e, t, n, r) { var i, o, a, s, u, l = "function" == typeof e && e, f = !r && N(e = l.selector || e); if (n = n || [], 1 === f.length) { if (o = f[0] = f[0].slice(0), o.length > 2 && "ID" === (a = o[0]).type && w.getById && 9 === t.nodeType && _ && T.relative[o[1].type]) { if (t = (T.find.ID(a.matches[0].replace(be, we), t) || [])[0], !t) return n; l && (t = t.parentNode), e = e.slice(o.shift().value.length) } for (i = pe.needsContext.test(e) ? 0 : o.length; i-- && (a = o[i], !T.relative[s = a.type]);)if ((u = T.find[s]) && (r = u(a.matches[0].replace(be, we), ve.test(o[0].type) && c(t.parentNode) || t))) { if (o.splice(i, 1), e = r.length && d(o), !e) return Q.apply(n, r), n; break } } return (l || k(e, f))(r, t, !_, n, !t || ve.test(e) && c(t.parentNode) || t), n }, w.sortStable = P.split("").sort(U).join("") === P, w.detectDuplicates = !!j, L(), w.sortDetached = i(function (e) { return 1 & e.compareDocumentPosition(H.createElement("div")) }), i(function (e) { return e.innerHTML = "<a href='#'></a>", "#" === e.firstChild.getAttribute("href") }) || o("type|href|height|width", function (e, t, n) { if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2) }), w.attributes && i(function (e) { return e.innerHTML = "<input/>", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value") }) || o("value", function (e, t, n) { if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue }), i(function (e) { return null == e.getAttribute("disabled") }) || o(te, function (e, t, n) { var r; if (!n) return e[t] === !0 ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null }), t
  18. }(e); pe.find = ve, pe.expr = ve.selectors, pe.expr[":"] = pe.expr.pseudos, pe.uniqueSort = pe.unique = ve.uniqueSort, pe.text = ve.getText, pe.isXMLDoc = ve.isXML, pe.contains = ve.contains; var xe = function (e, t, n) { for (var r = [], i = void 0 !== n; (e = e[t]) && 9 !== e.nodeType;)if (1 === e.nodeType) { if (i && pe(e).is(n)) break; r.push(e) } return r }, be = function (e, t) { for (var n = []; e; e = e.nextSibling)1 === e.nodeType && e !== t && n.push(e); return n }, we = pe.expr.match.needsContext, Te = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/, Ce = /^.[^:#\[\.,]*$/; pe.filter = function (e, t, n) { var r = t[0]; return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodeType ? pe.find.matchesSelector(r, e) ? [r] : [] : pe.find.matches(e, pe.grep(t, function (e) { return 1 === e.nodeType })) }, pe.fn.extend({ find: function (e) { var t, n = [], r = this, i = r.length; if ("string" != typeof e) return this.pushStack(pe(e).filter(function () { for (t = 0; t < i; t++)if (pe.contains(r[t], this)) return !0 })); for (t = 0; t < i; t++)pe.find(e, r[t], n); return n = this.pushStack(i > 1 ? pe.unique(n) : n), n.selector = this.selector ? this.selector + " " + e : e, n }, filter: function (e) { return this.pushStack(r(this, e || [], !1)) }, not: function (e) { return this.pushStack(r(this, e || [], !0)) }, is: function (e) { return !!r(this, "string" == typeof e && we.test(e) ? pe(e) : e || [], !1).length } }); var Ee, Ne = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, ke = pe.fn.init = function (e, t, n) { var r, i; if (!e) return this; if (n = n || Ee, "string" == typeof e) { if (r = "<" === e.charAt(0) && ">" === e.charAt(e.length - 1) && e.length >= 3 ? [null, e, null] : Ne.exec(e), !r || !r[1] && t) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); if (r[1]) { if (t = t instanceof pe ? t[0] : t, pe.merge(this, pe.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : re, !0)), Te.test(r[1]) && pe.isPlainObject(t)) for (r in t) pe.isFunction(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); return this } if (i = re.getElementById(r[2]), i && i.parentNode) { if (i.id !== r[2]) return Ee.find(e); this.length = 1, this[0] = i } return this.context = re, this.selector = e, this } return e.nodeType ? (this.context = this[0] = e, this.length = 1, this) : pe.isFunction(e) ? "undefined" != typeof n.ready ? n.ready(e) : e(pe) : (void 0 !== e.selector && (this.selector = e.selector, this.context = e.context), pe.makeArray(e, this)) }; ke.prototype = pe.fn, Ee = pe(re); var Se = /^(?:parents|prev(?:Until|All))/, Ae = { children: !0, contents: !0, next: !0, prev: !0 }; pe.fn.extend({ has: function (e) { var t, n = pe(e, this), r = n.length; return this.filter(function () { for (t = 0; t < r; t++)if (pe.contains(this, n[t])) return !0 }) }, closest: function (e, t) { for (var n, r = 0, i = this.length, o = [], a = we.test(e) || "string" != typeof e ? pe(e, t || this.context) : 0; r < i; r++)for (n = this[r]; n && n !== t; n = n.parentNode)if (n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && pe.find.matchesSelector(n, e))) { o.push(n); break } return this.pushStack(o.length > 1 ? pe.uniqueSort(o) : o) }, index: function (e) { return e ? "string" == typeof e ? pe.inArray(this[0], pe(e)) : pe.inArray(e.jquery ? e[0] : e, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 }, add: function (e, t) { return this.pushStack(pe.uniqueSort(pe.merge(this.get(), pe(e, t)))) }, addBack: function (e) { return this.add(null == e ? this.prevObject : this.prevObject.filter(e)) } }), pe.each({ parent: function (e) { var t = e.parentNode; return t && 11 !== t.nodeType ? t : null }, parents: function (e) { return xe(e, "parentNode") }, parentsUntil: function (e, t, n) { return xe(e, "parentNode", n) }, next: function (e) { return i(e, "nextSibling") }, prev: function (e) { return i(e, "previousSibling") }, nextAll: function (e) { return xe(e, "nextSibling") }, prevAll: function (e) { return xe(e, "previousSibling") }, nextUntil: function (e, t, n) { return xe(e, "nextSibling", n) }, prevUntil:
  19. domManip: S, detach: function (e) { return A(this, e, !0) }, remove: function (e) { return A(this, e) }, text: function (e) { return Pe(this, function (e) { return void 0 === e ? pe.text(this) : this.empty().append((this[0] && this[0].ownerDocument || re).createTextNode(e)) }, null, e, arguments.length) }, append: function () { return S(this, arguments, function (e) { if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { var t = T(this, e); t.appendChild(e) } }) }, prepend: function () { return S(this, arguments, function (e) { if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { var t = T(this, e); t.insertBefore(e, t.firstChild) } }) }, before: function () { return S(this, arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this) }) }, after: function () { return S(this, arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this.nextSibling) }) }, empty: function () { for (var e, t = 0; null != (e = this[t]); t++) { for (1 === e.nodeType && pe.cleanData(h(e, !1)); e.firstChild;)e.removeChild(e.firstChild); e.options && pe.nodeName(e, "select") && (e.options.length = 0) } return this }, clone: function (e, t) { return e = null != e && e, t = null == t ? e : t, this.map(function () { return pe.clone(this, e, t) }) }, html: function (e) { return Pe(this, function (e) { var t = this[0] || {}, n = 0, r = this.length; if (void 0 === e) return 1 === t.nodeType ? t.innerHTML.replace(Ze, "") : void 0; if ("string" == typeof e && !nt.test(e) && (fe.htmlSerialize || !et.test(e)) && (fe.leadingWhitespace || !$e.test(e)) && !Xe[(We.exec(e) || ["", ""])[1].toLowerCase()]) { e = pe.htmlPrefilter(e); try { for (; n < r; n++)t = this[n] || {}, 1 === t.nodeType && (pe.cleanData(h(t, !1)), t.innerHTML = e); t = 0 } catch (i) { } } t && this.empty().append(e) }, null, e, arguments.length) }, replaceWith: function () {
  20. var e = []; return S(this, arguments, function (t) {
  21. var n = this.parentNode; pe.inArray(this, e) < 0 && (pe.cleanData(h(this)),
  22. n && n.replaceChild(t, this))
  23. }, e)
  24. }
  25. }), pe.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function (e, t) { pe.fn[e] = function (e) { for (var n, r = 0, i = [], o = pe(e), a = o.length - 1; r <= a; r++)n = r === a ? this : this.clone(!0), pe(o[r])[t](n), ae.apply(i, n.get()); return this.pushStack(i) } }); var ut, lt = { HTML: "block", BODY: "block" }, ct = /^margin/, ft = new RegExp("^(" + Fe + ")(?!px)[a-z%]+$", "i"), dt = function (e, t, n, r) { var i, o, a = {}; for (o in t) a[o] = e.style[o], e.style[o] = t[o]; i = n.apply(e, r || []); for (o in t) e.style[o] = a[o]; return i }, pt = re.documentElement; !function () { function t() { var t, c, f = re.documentElement; f.appendChild(u), l.style.cssText = "-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%", n = i = s = !1, r = a = !0, e.getComputedStyle && (c = e.getComputedStyle(l), n = "1%" !== (c || {}).top, s = "2px" === (c || {}).marginLeft, i = "4px" === (c || { width: "4px" }).width, l.style.marginRight = "50%", r = "4px" === (c || { marginRight: "4px" }).marginRight, t = l.appendChild(re.createElement("div")), t.style.cssText = l.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", t.style.marginRight = t.style.width = "0", l.style.width = "1px", a = !parseFloat((e.getComputedStyle(t) || {}).marginRight), l.removeChild(t)), l.style.display = "none", o = 0 === l.getClientRects().length, o && (l.style.display = "", l.innerHTML = "<table><tr><td></td><td>t</td></tr></table>", t = l.getElementsByTagName("td"), t[0].style.cssText = "margin:0;border:0;padding:0;display:none", o = 0 === t[0].offsetHeight, o && (t[0].style.display = "", t[1].style.display = "none", o = 0 === t[0].offsetHeight)), f.removeChild(u) } var n, r, i, o, a, s, u = re.createElement("div"), l = re.createElement("div"); l.style && (l.style.cssText = "float:left;opacity:.5", fe.opacity = "0.5" === l.style.opacity, fe.cssFloat = !!l.style.cssFloat, l.style.backgroundClip = "content-box", l.cloneNode(!0).style.backgroundClip = "", fe.clearCloneStyle = "content-box" === l.style.backgroundClip, u = re.createElement("div"), u.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute", l.innerHTML = "", u.appendChild(l), fe.boxSizing = "" === l.style.boxSizing || "" === l.style.MozBoxSizing || "" === l.style.WebkitBoxSizing, pe.extend(fe, { reliableHiddenOffsets: function () { return null == n && t(), o }, boxSizingReliable: function () { return null == n && t(), i }, pixelMarginRight: function () { return null == n && t(), r }, pixelPosition: function () { return null == n && t(), n }, reliableMarginRight: function () { return null == n && t(), a }, reliableMarginLeft: function () { return null == n && t(), s } })) }(); var ht, gt, mt = /^(top|right|bottom|left)$/; e.getComputedStyle ? (ht = function (t) { var n = t.ownerDocument.defaultView; return n && n.opener || (n = e), n.getComputedStyle(t) }, gt = function (e, t, n) { var r, i, o, a, s = e.style; return n = n || ht(e), a = n ? n.getPropertyValue(t) || n[t] : void 0, "" !== a && void 0 !== a || pe.contains(e.ownerDocument, e) || (a = pe.style(e, t)), n && !fe.pixelMarginRight() && ft.test(a) && ct.test(t) && (r = s.width, i = s.minWidth, o = s.maxWidth, s.minWidth = s.maxWidth = s.width = a, a = n.width, s.width = r, s.minWidth = i, s.maxWidth = o), void 0 === a ? a : a + "" }) : pt.currentStyle && (ht = function (e) { return e.currentStyle }, gt = function (e, t, n) { var r, i, o, a, s = e.style; return n = n || ht(e), a = n ? n[t] : void 0, null == a && s && s[t] && (a = s[t]), ft.test(a) && !mt.test(t) && (r = s.left, i = e.runtimeStyle, o = i && i.left, o && (i.left = e.currentStyle.left), s.left = "fontSize" === t ? "1em" : a, a = s.pixelLeft + "px", s.left = r, o && (i.left = o)), void 0 === a ? a : a + "" || "auto" }); var yt = /alpha\([^)]*\)/i, vt = /opacity\s*=\s*([^)]*)/
  26. offset: function (e) { if (arguments.length) return void 0 === e ? this : this.each(function (t) { pe.offset.setOffset(this, e, t) }); var t, n, r = { top: 0, left: 0 }, i = this[0], o = i && i.ownerDocument; if (o) return t = o.documentElement, pe.contains(t, i) ? ("undefined" != typeof i.getBoundingClientRect && (r = i.getBoundingClientRect()), n = te(o), { top: r.top + (n.pageYOffset || t.scrollTop) - (t.clientTop || 0), left: r.left + (n.pageXOffset || t.scrollLeft) - (t.clientLeft || 0) }) : r }, position: function () { if (this[0]) { var e, t, n = { top: 0, left: 0 }, r = this[0]; return "fixed" === pe.css(r, "position") ? t = r.getBoundingClientRect() : (e = this.offsetParent(), t = this.offset(), pe.nodeName(e[0], "html") || (n = e.offset()), n.top += pe.css(e[0], "borderTopWidth", !0), n.left += pe.css(e[0], "borderLeftWidth", !0)), { top: t.top - n.top - pe.css(r, "marginTop", !0), left: t.left - n.left - pe.css(r, "marginLeft", !0) } } }, offsetParent: function () {
  27. return this.map(function () {
  28. for (var e = this.offsetParent; e && !pe.nodeName(e, "html") && "static" === pe.css(e, "position");)e = e.offsetParent; return e || pt
  29. })
  30. }
  31. }), pe.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function (e, t) { var n = /Y/.test(t); pe.fn[e] = function (r) { return Pe(this, function (e, r, i) { var o = te(e); return void 0 === i ? o ? t in o ? o[t] : o.document.documentElement[r] : e[r] : void (o ? o.scrollTo(n ? pe(o).scrollLeft() : i, n ? i : pe(o).scrollTop()) : e[r] = i) }, e, r, arguments.length, null) } }), pe.each(["top", "left"], function (e, t) { pe.cssHooks[t] = L(fe.pixelPosition, function (e, n) { if (n) return n = gt(e, t), ft.test(n) ? pe(e).position()[t] + "px" : n }) }), pe.each({ Height: "height", Width: "width" }, function (e, t) { pe.each({ padding: "inner" + e, content: t, "": "outer" + e }, function (n, r) { pe.fn[r] = function (r, i) { var o = arguments.length && (n || "boolean" != typeof r), a = n || (r === !0 || i === !0 ? "margin" : "border"); return Pe(this, function (t, n, r) { var i; return pe.isWindow(t) ? t.document.documentElement["client" + e] : 9 === t.nodeType ? (i = t.documentElement, Math.max(t.body["scroll" + e], i["scroll" + e], t.body["offset" + e], i["offset" + e], i["client" + e])) : void 0 === r ? pe.css(t, n, a) : pe.style(t, n, r, a) }, t, o ? r : void 0, o, null) } }) }), pe.fn.extend({ bind: function (e, t, n) { return this.on(e, null, t, n) }, unbind: function (e, t) { return this.off(e, null, t) }, delegate: function (e, t, n, r) { return this.on(t, e, n, r) }, undelegate: function (e, t, n) { return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n) } }), pe.fn.size = function () { return this.length }, pe.fn.andSelf = pe.fn.addBack, layui.define(function (e) { layui.$ = pe, e("jquery", pe) }), pe
  32. }); !function (e, t) { "use strict"; var i, n, a = e.layui && layui.define, o = { getPath: function () { var e = document.scripts, t = e[e.length - 1], i = t.src; if (!t.getAttribute("merge")) return i.substring(0, i.lastIndexOf("/") + 1) }(), config: {}, end: {}, minIndex: 0, minLeft: [], btn: ["&#x786E;&#x5B9A;", "&#x53D6;&#x6D88;"], type: ["dialog", "page", "iframe", "loading", "tips"], getStyle: function (t, i) { var n = t.currentStyle ? t.currentStyle : e.getComputedStyle(t, null); return n[n.getPropertyValue ? "getPropertyValue" : "getAttribute"](i) }, link: function (t, i, n) { if (r.path) { var a = document.getElementsByTagName("head")[0], s = document.createElement("link"); "string" == typeof i && (n = i); var l = (n || t).replace(/\.|\//g, ""), f = "layuicss-" + l, c = 0; s.rel = "stylesheet", s.href = r.path + t, s.id = f, document.getElementById(f) || a.appendChild(s), "function" == typeof i && !function u() { return ++c > 80 ? e.console && console.error("layer.css: Invalid") : void (1989 === parseInt(o.getStyle(document.getElementById(f), "width")) ? i() : setTimeout(u, 100)) }() } } }, r = { v: "3.1.0", ie: function () { var t = navigator.userAgent.toLowerCase(); return !!(e.ActiveXObject || "ActiveXObject" in e) && ((t.match(/msie\s(\d+)/) || [])[1] || "11") }(), index: e.layer && e.layer.v ? 1e5 : 0, path: o.getPath, config: function (e, t) { return e = e || {}, r.cache = o.config = i.extend({}, o.config, e), r.path = o.config.path || r.path, "string" == typeof e.extend && (e.extend = [e.extend]), o.config.path && r.ready(), e.extend ? (a ? layui.addcss("modules/layer/" + e.extend) : o.link("theme/" + e.extend), this) : this }, ready: function (e) { var t = "layer", i = "", n = (a ? "modules/layer/" : "theme/") + "default/layer.css?v=" + r.v + i; return a ? layui.addcss(n, e, t) : o.link(n, e, t), this }, alert: function (e, t, n) { var a = "function" == typeof t; return a && (n = t), r.open(i.extend({ content: e, yes: n }, a ? {} : t)) }, confirm: function (e, t, n, a) { var s = "function" == typeof t; return s && (a = n, n = t), r.open(i.extend({ content: e, btn: o.btn, yes: n, btn2: a }, s ? {} : t)) }, msg: function (e, n, a) { var s = "function" == typeof n, f = o.config.skin, c = (f ? f + " " + f + "-msg" : "") || "layui-layer-msg", u = l.anim.length - 1; return s && (a = n), r.open(i.extend({ content: e, time: 3e3, shade: !1, skin: c, title: !1, closeBtn: !1, btn: !1, resize: !1, end: a }, s && !o.config.skin ? { skin: c + " layui-layer-hui", anim: u } : function () { return n = n || {}, (n.icon === -1 || n.icon === t && !o.config.skin) && (n.skin = c + " " + (n.skin || "layui-layer-hui")), n }())) }, load: function (e, t) { return r.open(i.extend({ type: 3, icon: e || 0, resize: !1, shade: .01 }, t)) }, tips: function (e, t, n) { return r.open(i.extend({ type: 4, content: [e, t], closeBtn: !1, time: 3e3, shade: !1, resize: !1, fixed: !1, maxWidth: 210 }, n)) } }, s = function (e) { var t = this; t.index = ++r.index, t.config = i.extend({}, t.config, o.config, e), document.body ? t.creat() : setTimeout(function () { t.creat() }, 30) }; s.pt = s.prototype; var l = ["layui-layer", ".layui-layer-title", ".layui-layer-main", ".layui-layer-dialog", "layui-layer-iframe", "layui-layer-content", "layui-layer-btn", "layui-layer-close"]; l.anim = ["layer-anim-00", "layer-anim-01", "layer-anim-02", "layer-anim-03", "layer-anim-04", "layer-anim-05", "layer-anim-06"], s.pt.config = { type: 0, shade: .3, fixed: !0, move: l[1], title: "&#x4FE1;&#x606F;", offset: "auto", area: "auto", closeBtn: 1, time: 0, zIndex: 19891014, maxWidth: 360, anim: 0, isOutAnim: !0, icon: -1, moveType: 1, resize: !0, scrollbar: !0, tips: 2 }, s.pt.vessel = function (e, t) { var n = this, a = n.index, r = n.config, s = r.zIndex + a, f = "object" == typeof r.title, c = r.maxmin && (1 === r.type || 2 === r.type), u = r.title ? '<div class="layui-layer-title" style="' + (f ? r.title[1] : "") + '">' + (f ? r.title[0] : r.title) + "</div>" : ""; return r.zIndex = s, t([r.shade ? '<div class="layui-layer-shade" id="layui-layer-shade' + a +