PageSourceSearch

https://www.bankofrizhao.com.cn/Apps4/public/layui/layui.js

js bankofrizhao.com.cn collected 2026-10-04 19:40:08 UTC 407,607 bytes, 9,243 lines download raw bytes

vendor: 201,843 bytes, lines 1-4751
1/*! MIT Licensed */ ;
2! function (t) {
3  "use strict";
4  var e = t.document,
5    n = {
6      modules: {},
7      status: {},
8      timeout: 10,
9      event: {}
10    },
11    r = function () {
12      this.v = "2.6.8"
13    },
14    o = t.LAYUI_GLOBAL || {},
15    a = function () {
16      var t = e.currentScript ? e.currentScript.src : function () {
17        for (var t, n = e.scripts, r = n.length - 1, o = r; o > 0; o--)
18          if ("interactive" === n[o].readyState) {
19            t = n[o].src;
20            break
21          } return t || n[r].src
22      }();
23      return n.dir = o.dir || t.substring(0, t.lastIndexOf("/") + 1)
24    }(),
25    i = function (e, n) {
26      n = n || "log", t.console && console[n] && console[n]("layui error hint: " + e)
27    },
28    u = "undefined" != typeof opera && "[object Opera]" === opera.toString(),
29    l = n.builtin = {
30      lay: "lay",
31      layer: "layer",
32      laydate: "laydate",
33      laypage: "laypage",
34      laytpl: "laytpl",
35      layedit: "layedit",
36      form: "form",
37      upload: "upload",
38      dropdown: "dropdown",
39      transfer: "transfer",
40      tree: "tree",
41      table: "table",
42      element: "element",
43      rate: "rate",
44      colorpicker: "colorpicker",
45      slider: "slider",
46      carousel: "carousel",
47      flow: "flow",
48      util: "util",
49      code: "code",
50      jquery: "jquery",
51      all: "all",
52      "layui.all": "layui.all"
53    };
54  r.prototype.cache = n, r.prototype.define = function (t, e) {
55    var r = this,
56      o = "function" == typeof t,
57      a = function () {
58        var t = function (t, e) {
59          layui[t] = e, n.status[t] = !0
60        };
61        return "function" == typeof e && e(function (r, o) {
62          t(r, o), n.callback[r] = function () {
63            e(t)
64          }
65        }), this
66      };
67    return o && (e = t, t = []), r.use(t, a, null, "define"), r
68  }, r.prototype.use = function (r, o, c, s) {
69    function p(t, e) {
70      var r = "PLaySTATION 3" === navigator.platform ? /^complete$/ : /^(complete|loaded)$/;
71      ("load" === t.type || r.test((t.currentTarget || t.srcElement).readyState)) && (n.modules[h] = e, v.removeChild(b), function o() {
72        return ++m > 1e3 * n.timeout / 4 ? i(h + " is not a valid module", "error") : void(n.status[h] ? f() : setTimeout(o, 4))
73      }())
74    }
75
76    function f() {
77      c.push(layui[h]), r.length > 1 ? y.use(r.slice(1), o, c, s) : "function" == typeof o && function () {
78        return layui.jquery && "function" == typeof layui.jquery && "define" !== s ? layui.jquery(function () {
79          o.apply(layui, c)
80        }) : void o.apply(layui, c)
81      }()
82    }
83    var y = this,
84      d = n.dir = n.dir ? n.dir : a,
85      v = e.getElementsByTagName("head")[0];
86    r = function () {
87      return "string" == typeof r ? [r] : "function" == typeof r ? (o = r, ["all"]) : r
88    }(), t.jQuery && jQuery.fn.on && (y.each(r, function (t, e) {
89      "jquery" === e && r.splice(t, 1)
90    }), layui.jquery = layui.$ = jQuery);
91    var h = r[0],
92      m = 0;
93    if (c = c || [], n.host = n.host || (d.match(/\/\/([\s\S]+?)\//) || ["//" + location.host + "/"])[0], 0 === r.length || layui["layui.all"] && l[h]) return f(), y;
94    var g = (l[h] ? d + "modules/" : /^\{\/\}/.test(y.modules[h]) ? "" : n.base || "") + (y.modules[h] || h) + ".js";
95    if (g = g.replace(/^\{\/\}/, ""), !n.modules[h] && layui[h] && (n.modules[h] = g), n.modules[h]) ! function S() {
96      return ++m > 1e3 * n.timeout / 4 ? i(h + " is not a valid module", "error") : void("string" == typeof n.modules[h] && n.status[h] ? f() : setTimeout(S, 4))
97    }();
98    else {
99      var b = e.createElement("script");
100      b.async = !0, b.charset = "utf-8", b.src = g + function () {
101        var t = n.version === !0 ? n.v || (new Date).getTime() : n.version || "";
102        return t ? "?v=" + t : ""
103      }(), v.appendChild(b), !b.attachEvent || b.attachEvent.toString && b.attachEvent.toString().indexOf("[native code") < 0 || u ? b.addEventListener("load", function (t) {
104        p(t, g)
105      }, !1) : b.attachEvent("onreadystatechange", function (t) {
106        p(t, g)
107      }), n.modules[h] = g
108    }
109    return y
110  }, r.prototype.getStyle = function (e, n) {
111    var r = e.currentStyle ? e.currentStyle : t.getComputedStyle(e, null);
112    return r[r.getPropertyValue ? "getPropertyValue" : "getAttribute"](n)
113  }, r.prototype.link = function (t, r, o) {
114    var a = this,
115      u = e.getElementsByTagName("head")[0],
116      l = e.createElement("link");
117    "string" == typeof r && (o = r);
118    var c = (o || t).replace(/\.|\//g, ""),
119      s = l.id = "layuicss-" + c,
120      p = "creating",
121      f = 0;
122    return l.rel = "stylesheet", l.href = t + (n.debug ? "?v=" + (new Date).getTime() : ""), l.media = "all", e.getElementById(s) || u.appendChild(l), "function" != typeof r ? a : (function y(o) {
123      var u = 100,
124        l = e.getElementById(s);
125      return ++f > 1e3 * n.timeout / u ? i(t + " timeout") : void(1989 === parseInt(a.getStyle(l, "width")) ? (o === p && l.removeAttribute("lay-status"), l.getAttribute("lay-status") === p ? setTimeout(y, u) : r()) : (l.setAttribute("lay-status", p), setTimeout(function () {
126        y(p)
127      }, u)))
128    }(), a)
129  }, r.prototype.addcss = function (t, e, r) {
130    return layui.link(n.dir + "css/" + t, e, r)
131  }, n.callback = {}, r.prototype.factory = function (t) {
132    if (layui[t]) return "function" == typeof n.callback[t] ? n.callback[t] : null
133  }, r.prototype.img = function (t, e, n) {
134    var r = new Image;
135    return r.src = t, r.complete ? e(r) : (r.onload = function () {
136      r.onload = null, "function" == typeof e && e(r)
137    }, void(r.onerror = function (t) {
138      r.onerror = null, "function" == typeof n && n(t)
139    }))
140  }, r.prototype.config = function (t) {
141    t = t || {};
142    for (var e in t) n[e] = t[e];
143    return this
144  }, r.prototype.modules = function () {
145    var t = {};
146    for (var e in l) t[e] = l[e];
147    return t
148  }(), r.prototype.extend = function (t) {
149    var e = this;
150    t = t || {};
151    for (var n in t) e[n] || e.modules[n] ? i(n + " Module already exists", "error") : e.modules[n] = t[n];
152    return e
153  }, r.prototype.router = function (t) {
154    var e = this,
155      t = t || location.hash,
156      n = {
157        path: [],
158        search: {},
159        hash: (t.match(/[^#](#.*$)/) || [])[1] || ""
160      };
161    return /^#\//.test(t) ? (t = t.replace(/^#\//, ""), n.href = "/" + t, t = t.replace(/([^#])(#.*$)/, "$1").split("/") || [], e.each(t, function (t, e) {
162      /^\w+=/.test(e) ? function () {
163        e = e.split("="), n.search[e[0]] = e[1]
164      }() : n.path.push(e)
165    }), n) : n
166  }, r.prototype.url = function (t) {
167    var e = this,
168      n = {
169        pathname: function () {
170          var e = t ? function () {
171            var e = (t.match(/\.[^.]+?\/.+/) || [])[0] || "";
172            return e.replace(/^[^\/]+/, "").replace(/\?.+/, "")
173          }() : location.pathname;
174          return e.replace(/^\//, "").split("/")
175        }(),
176        search: function () {
177          var n = {},
178            r = (t ? function () {
179              var e = (t.match(/\?.+/) || [])[0] || "";
180              return e.replace(/\#.+/, "")
181            }() : location.search).replace(/^\?+/, "").split("&");
182          return e.each(r, function (t, e) {
183            var r = e.indexOf("="),
184              o = function () {
185                return r < 0 ? e.substr(0, e.length) : 0 !== r && e.substr(0, r)
186              }();
187            o && (n[o] = r > 0 ? e.substr(r + 1) : null)
188          }), n
189        }(),
190        hash: e.router(function () {
191          return t ? (t.match(/#.+/) || [])[0] || "/" : location.hash
192        }())
193      };
194    return n
195  }, r.prototype.data = function (e, n, r) {
196    if (e = e || "layui", r = r || localStorage, t.JSON && t.JSON.parse) {
197      if (null === n) return delete r[e];
198      n = "object" == typeof n ? n : {
199        key: n
200      };
201      try {
202        var o = JSON.parse(r[e])
203      } catch (a) {
204        var o = {}
205      }
206      return "value" in n && (o[n.key] = n.value), n.remove && delete o[n.key], r[e] = JSON.stringify(o), n.key ? o[n.key] : o
207    }
208  }, r.prototype.sessionData = function (t, e) {
209    return this.data(t, e, sessionStorage)
210  }, r.prototype.device = function (e) {
211    var n = navigator.userAgent.toLowerCase(),
212      r = function (t) {
213        var e = new RegExp(t + "/([^\\s\\_\\-]+)");
214        return t = (n.match(e) || [])[1], t || !1
215      },
216      o = {
217        os: function () {
218          return /windows/.test(n) ? "windows" : /linux/.test(n) ? "linux" : /iphone|ipod|ipad|ios/.test(n) ? "ios" : /mac/.test(n) ? "mac" : void 0
219        }(),
220        ie: function () {
221          return !!(t.ActiveXObject || "ActiveXObject" in t) && ((n.match(/msie\s(\d+)/) || [])[1] || "11")
222        }(),
223        weixin: r("micromessenger")
224      };
225    return e && !o[e] && (o[e] = r(e)), o.android = /android/.test(n), o.ios = "ios" === o.os, o.mobile = !(!o.android && !o.ios), o
226  }, r.prototype.hint = function () {
227    return {
228      error: i
229    }
230  }, r.prototype._typeof = function (t) {
231    return null === t ? String(t) : "object" == typeof t || "function" == typeof t ? function () {
232      var e = Object.prototype.toString.call(t).match(/\s(.+)\]$/) || [],
233        n = "Function|Array|Date|RegExp|Object|Error|Symbol";
234      return e = e[1] || "Object", new RegExp("\\b(" + n + ")\\b").test(e) ? e.toLowerCase() : "object"
235    }() : typeof t
236  }, r.prototype._isArray = function (e) {
237    var n, r = this,
238      o = r._typeof(e);
239    return !(!e || "object" != typeof e || e === t) && (n = "length" in e && e.length, "array" === o || 0 === n || "number" == typeof n && n > 0 && n - 1 in e)
240  }, r.prototype.each = function (t, e) {
241    var n, r = this,
242      o = function (t, n) {
243        return e.call(n[t], t, n[t])
244      };
245    if ("function" != typeof e) return r;
246    if (t = t || [], r._isArray(t))
247      for (n = 0; n < t.length && !o(n, t); n++);
248    else
249      for (n in t)
250        if (o(n, t)) break;
251    return r
252  }, r.prototype.sort = function (t, e, n) {
253    var r = JSON.parse(JSON.stringify(t || []));
254    return e ? (r.sort(function (t, n) {
255      var r = t[e],
256        o = n[e],
257        a = [!isNaN(r), !isNaN(o)];
258      return a[0] && a[1] ? r && !o && 0 !== o ? 1 : !r && 0 !== r && o ? -1 : r - o : a[0] || a[1] ? a[0] || !a[1] ? -1 : !a[0] || a[1] ? 1 : void 0 : r > o ? 1 : r < o ? -1 : 0
259    }), n && r.reverse(), r) : r
260  }, r.prototype.stope = function (e) {
261    e = e || t.event;
262    try {
263      e.stopPropagation()
264    } catch (n) {
265      e.cancelBubble = !0
266    }
267  };
268  var c = "LAYUI-EVENT-REMOVE";
269  r.prototype.onevent = function (t, e, n) {
270    return "string" != typeof t || "function" != typeof n ? this : r.event(t, e, null, n)
271  }, r.prototype.event = r.event = function (t, e, r, o) {
272    var a = this,
273      i = null,
274      u = (e || "").match(/\((.*)\)$/) || [],
275      l = (t + "." + e).replace(u[0], ""),
276      s = u[1] || "",
277      p = function (t, e) {
278        var n = e && e.call(a, r);
279        n === !1 && null === i && (i = !1)
280      };
281    return r === c ? (delete(a.cache.event[l] || {})[s], a) : o ? (n.event[l] = n.event[l] || {}, n.event[l][s] = [o], this) : (layui.each(n.event[l], function (t, e) {
282      return "{*}" === s ? void layui.each(e, p) : ("" === t && layui.each(e, p), void(s && t === s && layui.each(e, p)))
283    }), i)
284  }, r.prototype.on = function (t, e, n) {
285    var r = this;
286    return r.onevent.call(r, e, t, n)
287  }, r.prototype.off = function (t, e) {
288    var n = this;
289    return n.event.call(n, e, t, c)
290  }, t.layui = new r
291}(window);
292layui.define(function (a) {
293  var i = layui.cache;
294  layui.config({
295    dir: i.dir.replace(/lay\/dest\/$/, "")
296  }), a("layui.all", layui.v)
297});
298! function (t) {
299  "use strict";
300  var e = "lay",
301    n = t.document,
302    r = function (t) {
303      return new o(t)
304    },
305    o = function (t) {
306      for (var e = 0, r = "object" == typeof t ? [t] : (this.selector = t, n.querySelectorAll(t || null)); e < r.length; e++) this.push(r[e])
307    };
308  o.prototype = [], o.prototype.constructor = o, r.extend = function () {
309    var t = 1,
310      e = arguments,
311      n = function (t, e) {
312        t = t || ("array" === layui._typeof(e) ? [] : {});
313        for (var r in e) t[r] = e[r] && e[r].constructor === Object ? n(t[r], e[r]) : e[r];
314        return t
315      };
316    for (e[0] = "object" == typeof e[0] ? e[0] : {}; t < e.length; t++) "object" == typeof e[t] && n(e[0], e[t]);
317    return e[0]
318  }, r.v = "1.0.8", r.ie = function () {
319    var e = navigator.userAgent.toLowerCase();
320    return !!(t.ActiveXObject || "ActiveXObject" in t) && ((e.match(/msie\s(\d+)/) || [])[1] || "11")
321  }(), r.layui = layui || {}, r.getPath = layui.cache.dir, r.stope = layui.stope, r.each = function () {
322    return layui.each.apply(layui, arguments), this
323  }, r.digit = function (t, e, n) {
324    var r = "";
325    t = String(t), e = e || 2;
326    for (var o = t.length; o < e; o++) r += "0";
327    return t < Math.pow(10, e) ? r + (0 | t) : t
328  }, r.elem = function (t, e) {
329    var o = n.createElement(t);
330    return r.each(e || {}, function (t, e) {
331      o.setAttribute(t, e)
332    }), o
333  }, r.hasScrollbar = function () {
334    return n.body.scrollHeight > (t.innerHeight || n.documentElement.clientHeight)
335  }, r.position = function (e, o, i) {
336    if (o) {
337      i = i || {}, e !== n && e !== r("body")[0] || (i.clickType = "right");
338      var c = "right" === i.clickType ? function () {
339          var e = i.e || t.event || {};
340          return {
341            left: e.clientX,
342            top: e.clientY,
343            right: e.clientX,
344            bottom: e.clientY
345          }
346        }() : e.getBoundingClientRect(),
347        u = o.offsetWidth,
348        a = o.offsetHeight,
349        f = function (t) {
350          return t = t ? "scrollLeft" : "scrollTop", n.body[t] | n.documentElement[t]
351        },
352        s = function (t) {
353          return n.documentElement[t ? "clientWidth" : "clientHeight"]
354        },
355        l = 5,
356        h = c.left,
357        p = c.bottom;
358      "center" === i.align ? h -= (u - e.offsetWidth) / 2 : "right" === i.align && (h = h - u + e.offsetWidth), h + u + l > s("width") && (h = s("width") - u - l), h < l && (h = l), p + a + l > s() && (c.top > a + l ? p = c.top - a - 2 * l : "right" === i.clickType && (p = s() - a - 2 * l, p < 0 && (p = 0)));
359      var y = i.position;
360      if (y && (o.style.position = y), o.style.left = h + ("fixed" === y ? 0 : f(1)) + "px", o.style.top = p + ("fixed" === y ? 0 : f()) + "px", !r.hasScrollbar()) {
361        var d = o.getBoundingClientRect();
362        !i.SYSTEM_RELOAD && d.bottom + l > s() && (i.SYSTEM_RELOAD = !0, setTimeout(function () {
363          r.position(e, o, i)
364        }, 50))
365      }
366    }
367  }, r.options = function (t, e) {
368    var n = r(t),
369      o = e || "lay-options";
370    try {
371      return new Function("return " + (n.attr(o) || "{}"))()
372    } catch (i) {
373      return hint.error("parseerror\uff1a" + i, "error"), {}
374    }
375  }, r.isTopElem = function (t) {
376    var e = [n, r("body")[0]],
377      o = !1;
378    return r.each(e, function (e, n) {
379      if (n === t) return o = !0
380    }), o
381  }, o.addStr = function (t, e) {
382    return t = t.replace(/\s+/, " "), e = e.replace(/\s+/, " ").split(" "), r.each(e, function (e, n) {
383      new RegExp("\\b" + n + "\\b").test(t) || (t = t + " " + n)
384    }), t.replace(/^\s|\s$/, "")
385  }, o.removeStr = function (t, e) {
386    return t = t.replace(/\s+/, " "), e = e.replace(/\s+/, " ").split(" "), r.each(e, function (e, n) {
387      var r = new RegExp("\\b" + n + "\\b");
388      r.test(t) && (t = t.replace(r, ""))
389    }), t.replace(/\s+/, " ").replace(/^\s|\s$/, "")
390  }, o.prototype.find = function (t) {
391    var e = this,
392      n = 0,
393      o = [],
394      i = "object" == typeof t;
395    return this.each(function (r, c) {
396      for (var u = i ? c.contains(t) : c.querySelectorAll(t || null); n < u.length; n++) o.push(u[n]);
397      e.shift()
398    }), i || (e.selector = (e.selector ? e.selector + " " : "") + t), r.each(o, function (t, n) {
399      e.push(n)
400    }), e
401  }, o.prototype.each = function (t) {
402    return r.each.call(this, this, t)
403  }, o.prototype.addClass = function (t, e) {
404    return this.each(function (n, r) {
405      r.className = o[e ? "removeStr" : "addStr"](r.className, t)
406    })
407  }, o.prototype.removeClass = function (t) {
408    return this.addClass(t, !0)
409  }, o.prototype.hasClass = function (t) {
410    var e = !1;
411    return this.each(function (n, r) {
412      new RegExp("\\b" + t + "\\b").test(r.className) && (e = !0)
413    }), e
414  }, o.prototype.css = function (t, e) {
415    var n = this,
416      o = function (t) {
417        return isNaN(t) ? t : t + "px"
418      };
419    return "string" == typeof t && void 0 === e ? function () {
420      if (n.length > 0) return n[0].style[t]
421    }() : n.each(function (n, i) {
422      "object" == typeof t ? r.each(t, function (t, e) {
423        i.style[t] = o(e)
424      }) : i.style[t] = o(e)
425    })
426  }, o.prototype.width = function (t) {
427    var e = this;
428    return void 0 === t ? function () {
429      if (e.length > 0) return e[0].offsetWidth
430    }() : e.each(function (n, r) {
431      e.css("width", t)
432    })
433  }, o.prototype.height = function (t) {
434    var e = this;
435    return void 0 === t ? function () {
436      if (e.length > 0) return e[0].offsetHeight
437    }() : e.each(function (n, r) {
438      e.css("height", t)
439    })
440  }, o.prototype.attr = function (t, e) {
441    var n = this;
442    return void 0 === e ? function () {
443      if (n.length > 0) return n[0].getAttribute(t)
444    }() : n.each(function (n, r) {
445      r.setAttribute(t, e)
446    })
447  }, o.prototype.removeAttr = function (t) {
448    return this.each(function (e, n) {
449      n.removeAttribute(t)
450    })
451  }, o.prototype.html = function (t) {
452    var e = this;
453    return void 0 === t ? function () {
454      if (e.length > 0) return e[0].innerHTML
455    }() : this.each(function (e, n) {
456      n.innerHTML = t
457    })
458  }, o.prototype.val = function (t) {
459    var e = this;
460    return void 0 === t ? function () {
461      if (e.length > 0) return e[0].value
462    }() : this.each(function (e, n) {
463      n.value = t
464    })
465  }, o.prototype.append = function (t) {
466    return this.each(function (e, n) {
467      "object" == typeof t ? n.appendChild(t) : n.innerHTML = n.innerHTML + t
468    })
469  }, o.prototype.remove = function (t) {
470    return this.each(function (e, n) {
471      t ? n.removeChild(t) : n.parentNode.removeChild(n)
472    })
473  }, o.prototype.on = function (t, e) {
474    return this.each(function (n, r) {
475      r.attachEvent ? r.attachEvent("on" + t, function (t) {
476        t.target = t.srcElement, e.call(r, t)
477      }) : r.addEventListener(t, e, !1)
478    })
479  }, o.prototype.off = function (t, e) {
480    return this.each(function (n, r) {
481      r.detachEvent ? r.detachEvent("on" + t, e) : r.removeEventListener(t, e, !1)
482    })
483  }, t.lay = r, t.layui && layui.define && layui.define(function (t) {
484    t(e, r)
485  })
486}(window, window.document);
487layui.define(function (e) {
488  "use strict";
489  var r = {
490      open: "{{",
491      close: "}}",
492      sharp: "#"
493    },
494    c = {
495      exp: function (e) {
496        return new RegExp(e, "g")
497      },
498      query: function (e, c, t) {
499        // var o = ["#([\\s\\S])+?", "([^{#}])*?"][e || 0];
500        var o = [r.sharp + "([\\s\\S])+?", "([^{#}])*?"][e || 0];
501        return n((c || "") + r.open + o + r.close + (t || ""))
502      },
503      escape: function (e) {
504        return String(e || "").replace(/&(?!#?[a-zA-Z0-9]+;)/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/'/g, "&#39;").replace(/"/g, "&quot;")
505      },
506      error: function (e, r) {
507        var c = "Laytpl Error: ";
508        return "object" == typeof console && console.error(c + e + "\n" + (r || "")), c + e
509      }
510    },
511    n = c.exp,
512    t = function (e) {
513      this.tpl = e
514    };
515  t.pt = t.prototype, window.errors = 0, t.pt.parse = function (e, t) {
516    var o = this,
517      p = e,
518      a = n("^" + r.open + "#", ""),
519      l = n(r.close + "$", "");
520    e = e.replace(/\s+|\r|\t|\n/g, " ").replace(n(r.open + "#"), r.open + "# ").replace(n(r.close + "}"), "} " + r.close).replace(/\\/g, "\\\\").replace(n(r.open + "!(.+?)!" + r.close), function (e) {
521      return e = e.replace(n("^" + r.open + "!"), "").replace(n("!" + r.close), "").replace(n(r.open + "|" + r.close), function (e) {
522        return e.replace(/(.)/g, "\\$1")
523      })
524    }).replace(/(?="|')/g, "\\").replace(c.query(), function (e) {
525      return e = e.replace(a, "").replace(l, ""), '";' + e.replace(/\\(.)/g, "$1") + ';view+="'
526    }).replace(c.query(1), function (e) {
527      var c = '"+(';
528      return e.replace(/\s/g, "") === r.open + r.close ? "" : (e = e.replace(n(r.open + "|" + r.close), ""), /^=/.test(e) && (e = e.replace(/^=/, ""), c = '"+_escape_('), c + e.replace(/\\(.)/g, "$1") + ')+"')
529    }), e = '"use strict";var view = "' + e + '";return view;';
530    try {
531      return o.cache = e = new Function("d, _escape_", e), e(t, c.escape)
532    } catch (u) {
533      return delete o.cache, c.error(u, p)
534    }
535  }, t.pt.render = function (e, r) {
536    var n, t = this;
537    return e ? (n = t.cache ? t.cache(e, c.escape) : t.parse(t.tpl, e), r ? void r(n) : n) : c.error("no data")
538  };
539  var o = function (e) {
540    return "string" != typeof e ? c.error("Template not found") : new t(e)
541  };
542  o.config = function (e) {
543    e = e || {};
544    for (var c in e) r[c] = e[c]
545  }, o.v = "1.2.0", e("laytpl", o)
546});
547layui.define(function (e) {
548  "use strict";
549  var a = document,
550    t = "getElementById",
551    n = "getElementsByTagName",
552    i = "laypage",
553    r = "layui-disabled",
554    u = function (e) {
555      var a = this;
556      a.config = e || {}, a.config.index = ++s.index, a.render(!0)
557    };
558  u.prototype.type = function () {
559    var e = this.config;
560    if ("object" == typeof e.elem) return void 0 === e.elem.length ? 2 : 3
561  }, u.prototype.view = function () {
562    var e = this,
563      a = e.config,
564      t = a.groups = "groups" in a ? 0 | a.groups : 5;
565    a.layout = "object" == typeof a.layout ? a.layout : ["prev", "page", "next"], a.count = 0 | a.count, a.curr = 0 | a.curr || 1, a.limits = "object" == typeof a.limits ? a.limits : [10, 20, 30, 40, 50], a.limit = 0 | a.limit || 10, a.pages = Math.ceil(a.count / a.limit) || 1, a.curr > a.pages && (a.curr = a.pages), t < 0 ? t = 1 : t > a.pages && (t = a.pages), a.prev = "prev" in a ? a.prev : "&#x4E0A;&#x4E00;&#x9875;", a.next = "next" in a ? a.next : "&#x4E0B;&#x4E00;&#x9875;";
566    var n = a.pages > t ? Math.ceil((a.curr + (t > 1 ? 1 : 0)) / (t > 0 ? t : 1)) : 1,
567      i = {
568        prev: function () {
569          return a.prev ? '<a href="javascript:;" class="layui-laypage-prev' + (1 == a.curr ? " " + r : "") + '" data-page="' + (a.curr - 1) + '">' + a.prev + "</a>" : ""
570        }(),
571        page: function () {
572          var e = [];
573          if (a.count < 1) return "";
574          n > 1 && a.first !== !1 && 0 !== t && e.push('<a href="javascript:;" class="layui-laypage-first" data-page="1"  title="&#x9996;&#x9875;">' + (a.first || 1) + "</a>");
575          var i = Math.floor((t - 1) / 2),
576            r = n > 1 ? a.curr - i : 1,
577            u = n > 1 ? function () {
578              var e = a.curr + (t - i - 1);
579              return e > a.pages ? a.pages : e
580            }() : t;
581          for (u - r < t - 1 && (r = u - t + 1), a.first !== !1 && r > 2 && e.push('<span class="layui-laypage-spr">&#x2026;</span>'); r <= u; r++) r === a.curr ? e.push('<span class="layui-laypage-curr"><em class="layui-laypage-em" ' + (/^#/.test(a.theme) ? 'style="background-color:' + a.theme + ';"' : "") + "></em><em>" + r + "</em></span>") : e.push('<a href="javascript:;" data-page="' + r + '">' + r + "</a>");
582          return a.pages > t && a.pages > u && a.last !== !1 && (u + 1 < a.pages && e.push('<span class="layui-laypage-spr">&#x2026;</span>'), 0 !== t && e.push('<a href="javascript:;" class="layui-laypage-last" title="&#x5C3E;&#x9875;"  data-page="' + a.pages + '">' + (a.last || a.pages) + "</a>")), e.join("")
583        }(),
584        next: function () {
585          return a.next ? '<a href="javascript:;" class="layui-laypage-next' + (a.curr == a.pages ? " " + r : "") + '" data-page="' + (a.curr + 1) + '">' + a.next + "</a>" : ""
586        }(),
587        count: '<span class="layui-laypage-count">\u5171 ' + a.count + " \u6761</span>",
588        limit: function () {
589          var e = ['<span class="layui-laypage-limits"><select lay-ignore>'];
590          return layui.each(a.limits, function (t, n) {
591            e.push('<option value="' + n + '"' + (n === a.limit ? "selected" : "") + ">" + n + " \u6761/\u9875</option>")
592          }), e.join("") + "</select></span>"
593        }(),
594        refresh: ['<a href="javascript:;" data-page="' + a.curr + '" class="layui-laypage-refresh">', '<i class="layui-icon layui-icon-refresh"></i>', "</a>"].join(""),
595        skip: function () {
596          return ['<span class="layui-laypage-skip">&#x5230;&#x7B2C;', '<input type="text" min="1" value="' + a.curr + '" class="layui-input">', '&#x9875;<button type="button" class="layui-laypage-btn">&#x786e;&#x5b9a;</button>', "</span>"].join("")
597        }()
598      };
599    return ['<div class="layui-box layui-laypage layui-laypage-' + (a.theme ? /^#/.test(a.theme) ? "molv" : a.theme : "default") + '" id="layui-laypage-' + a.index + '">', function () {
600      var e = [];
601      return layui.each(a.layout, function (a, t) {
602        i[t] && e.push(i[t])
603      }), e.join("")
604    }(), "</div>"].join("")
605  }, u.prototype.jump = function (e, a) {
606    if (e) {
607      var t = this,
608        i = t.config,
609        r = e.children,
610        u = e[n]("button")[0],
611        l = e[n]("input")[0],
612        p = e[n]("select")[0],
613        c = function () {
614          var e = 0 | l.value.replace(/\s|\D/g, "");
615          e && (i.curr = e, t.render())
616        };
617      if (a) return c();
618      for (var o = 0, y = r.length; o < y; o++) "a" === r[o].nodeName.toLowerCase() && s.on(r[o], "click", function () {
619        var e = 0 | this.getAttribute("data-page");
620        e < 1 || e > i.pages || (i.curr = e, t.render())
621      });
622      p && s.on(p, "change", function () {
623        var e = this.value;
624        i.curr * e > i.count && (i.curr = Math.ceil(i.count / e)), i.limit = e, t.render()
625      }), u && s.on(u, "click", function () {
626        c()
627      })
628    }
629  }, u.prototype.skip = function (e) {
630    if (e) {
631      var a = this,
632        t = e[n]("input")[0];
633      t && s.on(t, "keyup", function (t) {
634        var n = this.value,
635          i = t.keyCode;
636        /^(37|38|39|40)$/.test(i) || (/\D/.test(n) && (this.value = n.replace(/\D/, "")), 13 === i && a.jump(e, !0))
637      })
638    }
639  }, u.prototype.render = function (e) {
640    var n = this,
641      i = n.config,
642      r = n.type(),
643      u = n.view();
644    2 === r ? i.elem && (i.elem.innerHTML = u) : 3 === r ? i.elem.html(u) : a[t](i.elem) && (a[t](i.elem).innerHTML = u), i.jump && i.jump(i, e);
645    var s = a[t]("layui-laypage-" + i.index);
646    n.jump(s), i.hash && !e && (location.hash = "!" + i.hash + "=" + i.curr), n.skip(s)
647  };
648  var s = {
649    render: function (e) {
650      var a = new u(e);
651      return a.index
652    },
653    index: layui.laypage ? layui.laypage.index + 1e4 : 0,
654    on: function (e, a, t) {
655      return e.attachEvent ? e.attachEvent("on" + a, function (a) {
656        a.target = a.srcElement, t.call(e, a)
657      }) : e.addEventListener(a, t, !1), this
658    }
659  };
660  e(i, s)
661});
662! function (e, t) {
663  "use strict";
664  var a = e.layui && layui.define,
665    n = {
666      getPath: e.lay && lay.getPath ? lay.getPath : "",
667      link: function (t, a, n) {
668        l.path && e.lay && lay.layui && lay.layui.link(l.path + t, a, n)
669      }
670    },
671    i = e.LAYUI_GLOBAL || {},
672    l = {
673      v: "5.3.1",
674      config: {},
675      index: e.laydate && e.laydate.v ? 1e5 : 0,
676      path: i.laydate_dir || n.getPath,
677      set: function (e) {
678        var t = this;
679        return t.config = lay.extend({}, t.config, e), t
680      },
681      ready: function (e) {
682        var t = "laydate",
683          i = "",
684          r = (a ? "modules/laydate/" : "theme/") + "default/laydate.css?v=" + l.v + i;
685        return a ? layui.addcss(r, e, t) : n.link(r, e, t), this
686      }
687    },
688    r = function () {
689      var e = this,
690        t = e.config,
691        a = t.id;
692      return r.that[a] = e, {
693        hint: function (t) {
694          e.hint.call(e, t)
695        },
696        config: e.config
697      }
698    },
699    o = "laydate",
700    s = ".layui-laydate",
701    y = "layui-this",
702    d = "laydate-disabled",
703    m = [100, 2e5],
704    c = "layui-laydate-static",
705    u = "layui-laydate-list",
706    h = "layui-laydate-hint",
707    f = "layui-laydate-footer",
708    p = ".laydate-btns-confirm",
709    g = "laydate-time-text",
710    v = "laydate-btns-time",
711    T = "layui-laydate-preview",
712    D = function (e) {
713      var t = this;
714      t.index = ++l.index, t.config = lay.extend({}, t.config, l.config, e), e = t.config, e.id = "id" in e ? e.id : t.index, l.ready(function () {
715        t.init()
716      })
717    },
718    w = "yyyy|y|MM|M|dd|d|HH|H|mm|m|ss|s";
719  r.formatArr = function (e) {
720    return (e || "").match(new RegExp(w + "|.", "g")) || []
721  }, D.isLeapYear = function (e) {
722    return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0
723  }, D.prototype.config = {
724    type: "date",
725    range: !1,
726    format: "yyyy-MM-dd",
727    value: null,
728    isInitValue: !0,
729    min: "1900-1-1",
730    max: "2099-12-31",
731    trigger: "click",
732    show: !1,
733    showBottom: !0,
734    isPreview: !0,
735    btns: ["clear", "now", "confirm"],
736    lang: "cn",
737    theme: "default",
738    position: null,
739    calendar: !1,
740    mark: {},
741    zIndex: null,
742    done: null,
743    change: null
744  }, D.prototype.lang = function () {
745    var e = this,
746      t = e.config,
747      a = {
748        cn: {
749          weeks: ["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"],
750          time: ["\u65f6", "\u5206", "\u79d2"],
751          timeTips: "\u9009\u62e9\u65f6\u95f4",
752          startTime: "\u5f00\u59cb\u65f6\u95f4",
753          endTime: "\u7ed3\u675f\u65f6\u95f4",
754          dateTips: "\u8fd4\u56de\u65e5\u671f",
755          month: ["\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d", "\u4e03", "\u516b", "\u4e5d", "\u5341", "\u5341\u4e00", "\u5341\u4e8c"],
756          tools: {
757            confirm: "\u786e\u5b9a",
758            clear: "\u6e05\u7a7a",
759            now: "\u73b0\u5728"
760          },
761          timeout: "\u7ed3\u675f\u65f6\u95f4\u4e0d\u80fd\u65e9\u4e8e\u5f00\u59cb\u65f6\u95f4<br>\u8bf7\u91cd\u65b0\u9009\u62e9",
762          invalidDate: "\u4e0d\u5728\u6709\u6548\u65e5\u671f\u6216\u65f6\u95f4\u8303\u56f4\u5185",
763          formatError: ["\u65e5\u671f\u683c\u5f0f\u4e0d\u5408\u6cd5<br>\u5fc5\u987b\u9075\u5faa\u4e0b\u8ff0\u683c\u5f0f\uff1a<br>", "<br>\u5df2\u4e3a\u4f60\u91cd\u7f6e"],
764          preview: "\u5f53\u524d\u9009\u4e2d\u7684\u7ed3\u679c"
765        },
766        en: {
767          weeks: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
768          time: ["Hours", "Minutes", "Seconds"],
769          timeTips: "Select Time",
770          startTime: "Start Time",
771          endTime: "End Time",
772          dateTips: "Select Date",
773          month: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
774          tools: {
775            confirm: "Confirm",
776            clear: "Clear",
777            now: "Now"
778          },
779          timeout: "End time cannot be less than start Time<br>Please re-select",
780          invalidDate: "Invalid date",
781          formatError: ["The date format error<br>Must be followed\uff1a<br>", "<br>It has been reset"],
782          preview: "The selected result"
783        }
784      };
785    return a[t.lang] || a.cn
786  }, D.prototype.init = function () {
787    var t = this,
788      a = t.config,
789      n = "static" === a.position,
790      i = {
791        year: "yyyy",
792        month: "yyyy-MM",
793        date: "yyyy-MM-dd",
794        time: "HH:mm:ss",
795        datetime: "yyyy-MM-dd HH:mm:ss"
796      };
797    a.elem = lay(a.elem), a.eventElem = lay(a.eventElem), a.elem[0] && (t.rangeStr = a.range ? "string" == typeof a.range ? a.range : "-" : "", "array" === layui._typeof(a.range) && (t.rangeElem = [lay(a.range[0]), lay(a.range[1])]), i[a.type] || (e.console && console.error && console.error("laydate type error:'" + a.type + "' is not supported"), a.type = "date"), a.format === i.date && (a.format = i[a.type] || i.date), t.format = r.formatArr(a.format), t.EXP_IF = "", t.EXP_SPLIT = "", lay.each(t.format, function (e, a) {
798      var n = new RegExp(w).test(a) ? "\\d{" + function () {
799        return new RegExp(w).test(t.format[0 === e ? e + 1 : e - 1] || "") ? /^yyyy|y$/.test(a) ? 4 : a.length : /^yyyy$/.test(a) ? "1,4" : /^y$/.test(a) ? "1,308" : "1,2"
800      }() + "}" : "\\" + a;
801      t.EXP_IF = t.EXP_IF + n, t.EXP_SPLIT = t.EXP_SPLIT + "(" + n + ")"
802    }), t.EXP_IF_ONE = new RegExp("^" + t.EXP_IF + "$"), t.EXP_IF = new RegExp("^" + (a.range ? t.EXP_IF + "\\s\\" + t.rangeStr + "\\s" + t.EXP_IF : t.EXP_IF) + "$"), t.EXP_SPLIT = new RegExp("^" + t.EXP_SPLIT + "$", ""), t.isInput(a.elem[0]) || "focus" === a.trigger && (a.trigger = "click"), a.elem.attr("lay-key") || (a.elem.attr("lay-key", t.index), a.eventElem.attr("lay-key", t.index)), a.mark = lay.extend({}, a.calendar && "cn" === a.lang ? {
803      "0-1-1": "\u5143\u65e6",
804      "0-2-14": "\u60c5\u4eba",
805      "0-3-8": "\u5987\u5973",
806      "0-3-12": "\u690d\u6811",
807      "0-4-1": "\u611a\u4eba",
808      "0-5-1": "\u52b3\u52a8",
809      "0-5-4": "\u9752\u5e74",
810      "0-6-1": "\u513f\u7ae5",
811      "0-9-10": "\u6559\u5e08",
812      "0-9-18": "\u56fd\u803b",
813      "0-10-1": "\u56fd\u5e86",
814      "0-12-25": "\u5723\u8bde"
815    } : {}, a.mark), lay.each(["min", "max"], function (e, t) {
816      var n = [],
817        i = [];
818      if ("number" == typeof a[t]) {
819        var l = a[t],
820          r = (new Date).getTime(),
821          o = 864e5,
822          s = new Date(l ? l < o ? r + l * o : l : r);
823        n = [s.getFullYear(), s.getMonth() + 1, s.getDate()], l < o || (i = [s.getHours(), s.getMinutes(), s.getSeconds()])
824      } else n = (a[t].match(/\d+-\d+-\d+/) || [""])[0].split("-"), i = (a[t].match(/\d+:\d+:\d+/) || [""])[0].split(":");
825      a[t] = {
826        year: 0 | n[0] || (new Date).getFullYear(),
827        month: n[1] ? (0 | n[1]) - 1 : (new Date).getMonth(),
828        date: 0 | n[2] || (new Date).getDate(),
829        hours: 0 | i[0],
830        minutes: 0 | i[1],
831        seconds: 0 | i[2]
832      }
833    }), t.elemID = "layui-laydate" + a.elem.attr("lay-key"), (a.show || n) && t.render(), n || t.events(), a.value && a.isInitValue && ("date" === layui._typeof(a.value) ? t.setValue(t.parse(0, t.systemDate(a.value))) : t.setValue(a.value)))
834  }, D.prototype.render = function () {
835    var e = this,
836      a = e.config,
837      n = e.lang(),
838      i = "static" === a.position,
839      r = e.elem = lay.elem("div", {
840        id: e.elemID,
841        "class": ["layui-laydate", a.range ? " layui-laydate-range" : "", i ? " " + c : "", a.theme && "default" !== a.theme && !/^#/.test(a.theme) ? " laydate-theme-" + a.theme : ""].join("")
842      }),
843      o = e.elemMain = [],
844      s = e.elemHeader = [],
845      y = e.elemCont = [],
846      d = e.table = [],
847      m = e.footer = lay.elem("div", {
848        "class": f
849      });
850    if (a.zIndex && (r.style.zIndex = a.zIndex), lay.each(new Array(2), function (e) {
851        if (!a.range && e > 0) return !0;
852        var t = lay.elem("div", {
853            "class": "layui-laydate-header"
854          }),
855          i = [function () {
856            var e = lay.elem("i", {
857              "class": "layui-icon laydate-icon laydate-prev-y"
858            });
859            return e.innerHTML = "&#xe65a;", e
860          }(), function () {
861            var e = lay.elem("i", {
862              "class": "layui-icon laydate-icon laydate-prev-m"
863            });
864            return e.innerHTML = "&#xe603;", e
865          }(), function () {
866            var e = lay.elem("div", {
867                "class": "laydate-set-ym"
868              }),
869              t = lay.elem("span"),
870              a = lay.elem("span");
871            return e.appendChild(t), e.appendChild(a), e
872          }(), function () {
873            var e = lay.elem("i", {
874              "class": "layui-icon laydate-icon laydate-next-m"
875            });
876            return e.innerHTML = "&#xe602;", e
877          }(), function () {
878            var e = lay.elem("i", {
879              "class": "layui-icon laydate-icon laydate-next-y"
880            });
881            return e.innerHTML = "&#xe65b;", e
882          }()],
883          l = lay.elem("div", {
884            "class": "layui-laydate-content"
885          }),
886          r = lay.elem("table"),
887          m = lay.elem("thead"),
888          c = lay.elem("tr");
889        lay.each(i, function (e, a) {
890          t.appendChild(a)
891        }), m.appendChild(c), lay.each(new Array(6), function (e) {
892          var t = r.insertRow(0);
893          lay.each(new Array(7), function (a) {
894            if (0 === e) {
895              var i = lay.elem("th");
896              i.innerHTML = n.weeks[a], c.appendChild(i)
897            }
898            t.insertCell(a)
899          })
900        }), r.insertBefore(m, r.children[0]), l.appendChild(r), o[e] = lay.elem("div", {
901          "class": "layui-laydate-main laydate-main-list-" + e
902        }), o[e].appendChild(t), o[e].appendChild(l), s.push(i), y.push(l), d.push(r)
903      }), lay(m).html(function () {
904        var e = [],
905          t = [];
906        return "datetime" === a.type && e.push('<span lay-type="datetime" class="' + v + '">' + n.timeTips + "</span>"), (a.range || "datetime" !== a.type) && e.push('<span class="' + T + '" title="' + n.preview + '"></span>'), lay.each(a.btns, function (e, l) {
907          var r = n.tools[l] || "btn";
908          a.range && "now" === l || (i && "clear" === l && (r = "cn" === a.lang ? "\u91cd\u7f6e" : "Reset"), t.push('<span lay-type="' + l + '" class="laydate-btns-' + l + '">' + r + "</span>"))
909        }), e.push('<div class="laydate-footer-btns">' + t.join("") + "</div>"), e.join("")
910      }()), lay.each(o, function (e, t) {
911        r.appendChild(t)
912      }), a.showBottom && r.appendChild(m), /^#/.test(a.theme)) {
913      var u = lay.elem("style"),
914        h = ["#{{id}} .layui-laydate-header{background-color:{{theme}};}", "#{{id}} .layui-this{background-color:{{theme}} !important;}"].join("").replace(/{{id}}/g, e.elemID).replace(/{{theme}}/g, a.theme);
915      "styleSheet" in u ? (u.setAttribute("type", "text/css"), u.styleSheet.cssText = h) : u.innerHTML = h, lay(r).addClass("laydate-theme-molv"), r.appendChild(u)
916    }
917    l.thisId = a.id, e.remove(D.thisElemDate), i ? a.elem.append(r) : (t.body.appendChild(r), e.position()), e.checkDate().calendar(null, 0, "init"), e.changeEvent(), D.thisElemDate = e.elemID, "function" == typeof a.ready && a.ready(lay.extend({}, a.dateTime, {
918      month: a.dateTime.month + 1
919    })), e.preview()
920  }, D.prototype.remove = function (e) {
921    var t = this,
922      a = (t.config, lay("#" + (e || t.elemID)));
923    return a[0] ? (a.hasClass(c) || t.checkDate(function () {
924      a.remove()
925    }), t) : t
926  }, D.prototype.position = function () {
927    var e = this,
928      t = e.config;
929    return lay.position(e.bindElem || t.elem[0], e.elem, {
930      position: t.position
931    }), e
932  }, D.prototype.hint = function (e) {
933    var t = this,
934      a = (t.config, lay.elem("div", {
935        "class": h
936      }));
937    t.elem && (a.innerHTML = e || "", lay(t.elem).find("." + h).remove(), t.elem.appendChild(a), clearTimeout(t.hinTimer), t.hinTimer = setTimeout(function () {
938      lay(t.elem).find("." + h).remove()
939    }, 3e3))
940  }, D.prototype.getAsYM = function (e, t, a) {
941    return a ? t-- : t++, t < 0 && (t = 11, e--), t > 11 && (t = 0, e++), [e, t]
942  }, D.prototype.systemDate = function (e) {
943    var t = e || new Date;
944    return {
945      year: t.getFullYear(),
946      month: t.getMonth(),
947      date: t.getDate(),
948      hours: e ? e.getHours() : 0,
949      minutes: e ? e.getMinutes() : 0,
950      seconds: e ? e.getSeconds() : 0
951    }
952  }, D.prototype.checkDate = function (e) {
953    var t, a, n = this,
954      i = (new Date, n.config),
955      r = n.lang(),
956      o = i.dateTime = i.dateTime || n.systemDate(),
957      s = n.bindElem || i.elem[0],
958      y = (n.isInput(s) ? "val" : "html", function () {
959        if (n.rangeElem) {
960          var e = [n.rangeElem[0].val(), n.rangeElem[1].val()];
961          if (e[0] && e[1]) return e.join(" " + n.rangeStr + " ")
962        }
963        return n.isInput(s) ? s.value : "static" === i.position ? "" : lay(s).attr("lay-date")
964      }()),
965      d = function (e) {
966        e.year > m[1] && (e.year = m[1], a = !0), e.month > 11 && (e.month = 11, a = !0), e.hours > 23 && (e.hours = 0, a = !0), e.minutes > 59 && (e.minutes = 0, e.hours++, a = !0), e.seconds > 59 && (e.seconds = 0, e.minutes++, a = !0), t = l.getEndDate(e.month + 1, e.year), e.date > t && (e.date = t, a = !0)
967      },
968      c = function (e, t, l) {
969        var r = ["startTime", "endTime"];
970        t = (t.match(n.EXP_SPLIT) || []).slice(1), l = l || 0, i.range && (n[r[l]] = n[r[l]] || {}), lay.each(n.format, function (o, s) {
971          var y = parseFloat(t[o]);
972          t[o].length < s.length && (a = !0), /yyyy|y/.test(s) ? (y < m[0] && (y = m[0], a = !0), e.year = y) : /MM|M/.test(s) ? (y < 1 && (y = 1, a = !0), e.month = y - 1) : /dd|d/.test(s) ? (y < 1 && (y = 1, a = !0), e.date = y) : /HH|H/.test(s) ? (y < 1 && (y = 0, a = !0), e.hours = y, i.range && (n[r[l]].hours = y)) : /mm|m/.test(s) ? (y < 1 && (y = 0, a = !0), e.minutes = y, i.range && (n[r[l]].minutes = y)) : /ss|s/.test(s) && (y < 1 && (y = 0, a = !0), e.seconds = y, i.range && (n[r[l]].seconds = y))
973        }), d(e)
974      };
975    if ("limit" === e) return d(o), n;
976    y = y || i.value, "string" == typeof y && (y = y.replace(/\s+/g, " ").replace(/^\s|\s$/g, ""));
977    var u = function () {
978      i.range && (n.endDate = n.endDate || lay.extend({}, i.dateTime, function () {
979        var e = {},
980          t = i.dateTime,
981          a = n.getAsYM(t.year, t.month);
982        return "year" === i.type ? e.year = t.year + 1 : "time" !== i.type && (e.year = a[0], e.month = a[1]), "datetime" !== i.type && "time" !== i.type || (e.hours = 23, e.minutes = e.seconds = 59), e
983      }()))
984    };
985    u(), "string" == typeof y && y ? n.EXP_IF.test(y) ? i.range ? (y = y.split(" " + n.rangeStr + " "), lay.each([i.dateTime, n.endDate], function (e, t) {
986        c(t, y[e], e)
987      })) : c(o, y) : (n.hint(r.formatError[0] + (i.range ? i.format + " " + n.rangeStr + " " + i.format : i.format) + r.formatError[1]), a = !0) : y && "date" === layui._typeof(y) ? i.dateTime = n.systemDate(y) : (i.dateTime = n.systemDate(), delete n.startTime, delete n.endDate, u(), delete n.endTime),
988      function () {
989        if (n.rangeElem) {
990          var e = [n.rangeElem[0].val(), n.rangeElem[1].val()],
991            t = [i.dateTime, n.endDate];
992          lay.each(e, function (e, a) {
993            n.EXP_IF_ONE.test(a) && c(t[e], a, e)
994          })
995        }
996      }(), d(o), i.range && d(n.endDate), a && y && n.setValue(i.range ? n.endDate ? n.parse() : "" : n.parse());
997    var h = function (e) {
998      return n.newDate(e).getTime()
999    };
1000    return (h(o) > h(i.max) || h(o) < h(i.min)) && (o = i.dateTime = lay.extend({}, i.min)), i.range && (h(n.endDate) < h(i.min) || h(n.endDate) > h(i.max)) && (n.endDate = lay.extend({}, i.max)), e && e(), n
1001  }, D.prototype.mark = function (e, t) {
1002    var a, n = this,
1003      i = n.config;
1004    return lay.each(i.mark, function (e, n) {
1005      var i = e.split("-");
1006      i[0] != t[0] && 0 != i[0] || i[1] != t[1] && 0 != i[1] || i[2] != t[2] || (a = n || t[2])
1007    }), a && e.html('<span class="laydate-day-mark">' + a + "</span>"), n
1008  }, D.prototype.limit = function (e, t, a, n) {
1009    var i, l = this,
1010      r = l.config,
1011      o = {},
1012      s = r[a > 41 ? "endDate" : "dateTime"],
1013      y = lay.extend({}, s, t || {});
1014    return lay.each({
1015      now: y,
1016      min: r.min,
1017      max: r.max
1018    }, function (e, t) {
1019      o[e] = l.newDate(lay.extend({
1020        year: t.year,
1021        month: t.month,
1022        date: t.date
1023      }, function () {
1024        var e = {};
1025        return lay.each(n, function (a, n) {
1026          e[n] = t[n]
1027        }), e
1028      }())).getTime()
1029    }), i = o.now < o.min || o.now > o.max, e && e[i ? "addClass" : "removeClass"](d), i
1030  }, D.prototype.thisDateTime = function (e) {
1031    var t = this,
1032      a = t.config;
1033    return e ? t.endDate : a.dateTime
1034  }, D.prototype.calendar = function (e, t, a) {
1035    var n, i, r, o = this,
1036      s = o.config,
1037      t = t ? 1 : 0,
1038      d = e || o.thisDateTime(t),
1039      c = new Date,
1040      u = o.lang(),
1041      h = "date" !== s.type && "datetime" !== s.type,
1042      f = lay(o.table[t]).find("td"),
1043      g = lay(o.elemHeader[t][2]).find("span");
1044    return d.year < m[0] && (d.year = m[0], o.hint(u.invalidDate)), d.year > m[1] && (d.year = m[1], o.hint(u.invalidDate)), o.firstDate || (o.firstDate = lay.extend({}, d)), c.setFullYear(d.year, d.month, 1), n = c.getDay(), i = l.getEndDate(d.month || 12, d.year), r = l.getEndDate(d.month + 1, d.year), lay.each(f, function (e, t) {
1045      var a = [d.year, d.month],
1046        l = 0;
1047      t = lay(t), t.removeAttr("class"), e < n ? (l = i - n + e, t.addClass("laydate-day-prev"), a = o.getAsYM(d.year, d.month, "sub")) : e >= n && e < r + n ? (l = e - n, l + 1 === d.date && t.addClass(y)) : (l = e - r - n, t.addClass("laydate-day-next"), a = o.getAsYM(d.year, d.month)), a[1]++, a[2] = l + 1, t.attr("lay-ymd", a.join("-")).html(a[2]), o.mark(t, a).limit(t, {
1048        year: a[0],
1049        month: a[1] - 1,
1050        date: a[2]
1051      }, e)
1052    }), lay(g[0]).attr("lay-ym", d.year + "-" + (d.month + 1)), lay(g[1]).attr("lay-ym", d.year + "-" + (d.month + 1)), "cn" === s.lang ? (lay(g[0]).attr("lay-type", "year").html(d.year + " \u5e74"), lay(g[1]).attr("lay-type", "month").html(d.month + 1 + " \u6708")) : (lay(g[0]).attr("lay-type", "month").html(u.month[d.month]), lay(g[1]).attr("lay-type", "year").html(d.year)), h && (s.range ? e && (o.listYM = [
1053      [s.dateTime.year, s.dateTime.month + 1],
1054      [o.endDate.year, o.endDate.month + 1]
1055    ], o.list(s.type, 0).list(s.type, 1), "time" === s.type ? o.setBtnStatus("\u65f6\u95f4", lay.extend({}, o.systemDate(), o.startTime), lay.extend({}, o.systemDate(), o.endTime)) : o.setBtnStatus(!0)) : (o.listYM = [
1056      [d.year, d.month + 1]
1057    ], o.list(s.type, 0))), s.range && "init" === a && !e && o.calendar(o.endDate, 1), s.range || o.limit(lay(o.footer).find(p), null, 0, ["hours", "minutes", "seconds"]), o.setBtnStatus(), o
1058  }, D.prototype.list = function (e, t) {
1059    var a = this,
1060      n = a.config,
1061      i = n.dateTime,
1062      l = a.lang(),
1063      r = n.range && "date" !== n.type && "datetime" !== n.type,
1064      o = lay.elem("ul", {
1065        "class": u + " " + {
1066          year: "laydate-year-list",
1067          month: "laydate-month-list",
1068          time: "laydate-time-list"
1069        } [e]
1070      }),
1071      s = a.elemHeader[t],
1072      m = lay(s[2]).find("span"),
1073      c = a.elemCont[t || 0],
1074      h = lay(c).find("." + u)[0],
1075      f = "cn" === n.lang,
1076      T = f ? "\u5e74" : "",
1077      D = a.listYM[t] || {},
1078      w = ["hours", "minutes", "seconds"],
1079      x = ["startTime", "endTime"][t];
1080    if (D[0] < 1 && (D[0] = 1), "year" === e) {
1081      var M, E = M = D[0] - 7;
1082      E < 1 && (E = M = 1), lay.each(new Array(15), function (e) {
1083        var i = lay.elem("li", {
1084            "lay-ym": M
1085          }),
1086          l = {
1087            year: M
1088          };
1089        M == D[0] && lay(i).addClass(y), i.innerHTML = M + T, o.appendChild(i), M < a.firstDate.year ? (l.month = n.min.month, l.date = n.min.date) : M >= a.firstDate.year && (l.month = n.max.month, l.date = n.max.date), a.limit(lay(i), l, t), M++
1090      }), lay(m[f ? 0 : 1]).attr("lay-ym", M - 8 + "-" + D[1]).html(E + T + " - " + (M - 1 + T))
1091    } else if ("month" === e) lay.each(new Array(12), function (e) {
1092      var i = lay.elem("li", {
1093          "lay-ym": e
1094        }),
1095        r = {
1096          year: D[0],
1097          month: e
1098        };
1099      e + 1 == D[1] && lay(i).addClass(y), i.innerHTML = l.month[e] + (f ? "\u6708" : ""), o.appendChild(i), D[0] < a.firstDate.year ? r.date = n.min.date : D[0] >= a.firstDate.year && (r.date = n.max.date), a.limit(lay(i), r, t)
1100    }), lay(m[f ? 0 : 1]).attr("lay-ym", D[0] + "-" + D[1]).html(D[0] + T);
1101    else if ("time" === e) {
1102      var C = function () {
1103        lay(o).find("ol").each(function (e, n) {
1104          lay(n).find("li").each(function (n, i) {
1105            a.limit(lay(i), [{
1106              hours: n
1107            }, {
1108              hours: a[x].hours,
1109              minutes: n
1110            }, {
1111              hours: a[x].hours,
1112              minutes: a[x].minutes,
1113              seconds: n
1114            }][e], t, [
1115              ["hours"],
1116              ["hours", "minutes"],
1117              ["hours", "minutes", "seconds"]
1118            ][e])
1119          })
1120        }), n.range || a.limit(lay(a.footer).find(p), a[x], 0, ["hours", "minutes", "seconds"])
1121      };
1122      n.range ? a[x] || (a[x] = "startTime" === x ? i : a.endDate) : a[x] = i, lay.each([24, 60, 60], function (e, t) {
1123        var n = lay.elem("li"),
1124          i = ["<p>" + l.time[e] + "</p><ol>"];
1125        lay.each(new Array(t), function (t) {
1126          i.push("<li" + (a[x][w[e]] === t ? ' class="' + y + '"' : "") + ">" + lay.digit(t, 2) + "</li>")
1127        }), n.innerHTML = i.join("") + "</ol>", o.appendChild(n)
1128      }), C()
1129    }
1130    if (h && c.removeChild(h), c.appendChild(o), "year" === e || "month" === e) lay(a.elemMain[t]).addClass("laydate-ym-show"), lay(o).find("li").on("click", function () {
1131      var l = 0 | lay(this).attr("lay-ym");
1132      if (!lay(this).hasClass(d)) {
1133        0 === t ? (i[e] = l, a.limit(lay(a.footer).find(p), null, 0)) : a.endDate[e] = l;
1134        var s = "year" === n.type || "month" === n.type;
1135        s ? (lay(o).find("." + y).removeClass(y), lay(this).addClass(y), "month" === n.type && "year" === e && (a.listYM[t][0] = l, r && ((t ? a.endDate : i).year = l), a.list("month", t))) : (a.checkDate("limit").calendar(null, t), a.closeList()), a.setBtnStatus(), n.range || ("month" === n.type && "month" === e || "year" === n.type && "year" === e) && a.setValue(a.parse()).remove().done(), a.done(null, "change"), lay(a.footer).find("." + v).removeClass(d)
1136      }
1137    });
1138    else {
1139      var I = lay.elem("span", {
1140          "class": g
1141        }),
1142        k = function () {
1143          lay(o).find("ol").each(function (e) {
1144            var t = this,
1145              n = lay(t).find("li");
1146            t.scrollTop = 30 * (a[x][w[e]] - 2), t.scrollTop <= 0 && n.each(function (e, a) {
1147              if (!lay(this).hasClass(d)) return t.scrollTop = 30 * (e - 2), !0
1148            })
1149          })
1150        },
1151        b = lay(s[2]).find("." + g);
1152      k(), I.innerHTML = n.range ? [l.startTime, l.endTime][t] : l.timeTips, lay(a.elemMain[t]).addClass("laydate-time-show"), b[0] && b.remove(), s[2].appendChild(I), lay(o).find("ol").each(function (e) {
1153        var t = this;
1154        lay(t).find("li").on("click", function () {
1155          var l = 0 | this.innerHTML;
1156          lay(this).hasClass(d) || (n.range ? a[x][w[e]] = l : i[w[e]] = l, lay(t).find("." + y).removeClass(y), lay(this).addClass(y), C(), k(), (a.endDate || "time" === n.type) && a.done(null, "change"), a.setBtnStatus())
1157        })
1158      })
1159    }
1160    return a
1161  }, D.prototype.listYM = [], D.prototype.closeList = function () {
1162    var e = this;
1163    e.config;
1164    lay.each(e.elemCont, function (t, a) {
1165      lay(this).find("." + u).remove(), lay(e.elemMain[t]).removeClass("laydate-ym-show laydate-time-show")
1166    }), lay(e.elem).find("." + g).remove()
1167  }, D.prototype.setBtnStatus = function (e, t, a) {
1168    var n, i = this,
1169      l = i.config,
1170      r = i.lang(),
1171      o = lay(i.footer).find(p);
1172    l.range && "time" !== l.type && (t = t || l.dateTime, a = a || i.endDate, n = i.newDate(t).getTime() > i.newDate(a).getTime(), i.limit(null, t) || i.limit(null, a) ? o.addClass(d) : o[n ? "addClass" : "removeClass"](d), e && n && i.hint("string" == typeof e ? r.timeout.replace(/\u65e5\u671f/g, e) : r.timeout))
1173  }, D.prototype.parse = function (e, t) {
1174    var a = this,
1175      n = a.config,
1176      i = t || ("end" == e ? lay.extend({}, a.endDate, a.endTime) : n.range ? lay.extend({}, n.dateTime, a.startTime) : n.dateTime),
1177      r = l.parse(i, a.format, 1);
1178    return n.range && void 0 === e ? r + " " + a.rangeStr + " " + a.parse("end") : r
1179  }, D.prototype.newDate = function (e) {
1180    return e = e || {}, new Date(e.year || 1, e.month || 0, e.date || 1, e.hours || 0, e.minutes || 0, e.seconds || 0)
1181  }, D.prototype.setValue = function (e) {
1182    var t = this,
1183      a = t.config,
1184      n = t.bindElem || a.elem[0];
1185    return "static" === a.position ? t : (e = e || "", t.isInput(n) ? lay(n).val(e) : t.rangeElem ? (t.rangeElem[0].val(e ? t.parse("start") : ""), t.rangeElem[1].val(e ? t.parse("end") : "")) : (0 === lay(n).find("*").length && lay(n).html(e), lay(n).attr("lay-date", e)), t)
1186  }, D.prototype.preview = function () {
1187    var e = this,
1188      t = e.config;
1189    if (t.isPreview) {
1190      var a = lay(e.elem).find("." + T),
1191        n = t.range ? e.endDate ? e.parse() : "" : e.parse();
1192      a.html(n).css({
1193        color: "#5FB878"
1194      }), setTimeout(function () {
1195        a.css({
1196          color: "#666"
1197        })
1198      }, 300)
1199    }
1200  }, D.prototype.done = function (e, t) {
1201    var a = this,
1202      n = a.config,
1203      i = lay.extend({}, lay.extend(n.dateTime, a.startTime)),
1204      l = lay.extend({}, lay.extend(a.endDate, a.endTime));
1205    return lay.each([i, l], function (e, t) {
1206      "month" in t && lay.extend(t, {
1207        month: t.month + 1
1208      })
1209    }), a.preview(), e = e || [a.parse(), i, l], "function" == typeof n[t || "done"] && n[t || "done"].apply(n, e), a
1210  }, D.prototype.choose = function (e, t) {
1211    var a = this,
1212      n = a.config,
1213      i = a.thisDateTime(t),
1214      l = (lay(a.elem).find("td"), e.attr("lay-ymd").split("-"));
1215    l = {
1216      year: 0 | l[0],
1217      month: (0 | l[1]) - 1,
1218      date: 0 | l[2]
1219    }, e.hasClass(d) || (lay.extend(i, l), n.range ? (lay.each(["startTime", "endTime"], function (e, t) {
1220      a[t] = a[t] || {
1221        hours: 0,
1222        minutes: 0,
1223        seconds: 0
1224      }
1225    }), a.calendar(null, t).done(null, "change")) : "static" === n.position ? a.calendar().done().done(null, "change") : "date" === n.type ? a.setValue(a.parse()).remove().done() : "datetime" === n.type && a.calendar().done(null, "change"))
1226  }, D.prototype.tool = function (e, t) {
1227    var a = this,
1228      n = a.config,
1229      i = a.lang(),
1230      l = n.dateTime,
1231      r = "static" === n.position,
1232      o = {
1233        datetime: function () {
1234          lay(e).hasClass(d) || (a.list("time", 0), n.range && a.list("time", 1), lay(e).attr("lay-type", "date").html(a.lang().dateTips))
1235        },
1236        date: function () {
1237          a.closeList(), lay(e).attr("lay-type", "datetime").html(a.lang().timeTips)
1238        },
1239        clear: function () {
1240          r && (lay.extend(l, a.firstDate), a.calendar()), n.range && (delete n.dateTime, delete a.endDate, delete a.startTime, delete a.endTime), a.setValue("").remove(), a.done(["", {}, {}])
1241        },
1242        now: function () {
1243          var e = new Date;
1244          lay.extend(l, a.systemDate(), {
1245            hours: e.getHours(),
1246            minutes: e.getMinutes(),
1247            seconds: e.getSeconds()
1248          }), a.setValue(a.parse()).remove(), r && a.calendar(), a.done()
1249        },
1250        confirm: function () {
1251          if (n.range) {
1252            if (lay(e).hasClass(d)) return a.hint("time" === n.type ? i.timeout.replace(/\u65e5\u671f/g, "\u65f6\u95f4") : i.timeout)
1253          } else if (lay(e).hasClass(d)) return a.hint(i.invalidDate);
1254          a.done(), a.setValue(a.parse()).remove()
1255        }
1256      };
1257    o[t] && o[t]()
1258  }, D.prototype.change = function (e) {
1259    var t = this,
1260      a = t.config,
1261      n = t.thisDateTime(e),
1262      i = a.range && ("year" === a.type || "month" === a.type),
1263      l = t.elemCont[e || 0],
1264      r = t.listYM[e],
1265      o = function (o) {
1266        var s = lay(l).find(".laydate-year-list")[0],
1267          y = lay(l).find(".laydate-month-list")[0];
1268        return s && (r[0] = o ? r[0] - 15 : r[0] + 15, t.list("year", e)), y && (o ? r[0]-- : r[0]++, t.list("month", e)), (s || y) && (lay.extend(n, {
1269          year: r[0]
1270        }), i && (n.year = r[0]), a.range || t.done(null, "change"), a.range || t.limit(lay(t.footer).find(p), {
1271          year: r[0]
1272        })), t.setBtnStatus(), s || y
1273      };
1274    return {
1275      prevYear: function () {
1276        o("sub") || (n.year--, t.checkDate("limit").calendar(null, e), t.done(null, "change"))
1277      },
1278      prevMonth: function () {
1279        var a = t.getAsYM(n.year, n.month, "sub");
1280        lay.extend(n, {
1281          year: a[0],
1282          month: a[1]
1283        }), t.checkDate("limit").calendar(null, e), t.done(null, "change")
1284      },
1285      nextMonth: function () {
1286        var a = t.getAsYM(n.year, n.month);
1287        lay.extend(n, {
1288          year: a[0],
1289          month: a[1]
1290        }), t.checkDate("limit").calendar(null, e), t.done(null, "change")
1291      },
1292      nextYear: function () {
1293        o() || (n.year++, t.checkDate("limit").calendar(null, e), t.done(null, "change"))
1294      }
1295    }
1296  }, D.prototype.changeEvent = function () {
1297    var e = this;
1298    e.config;
1299    lay(e.elem).on("click", function (e) {
1300      lay.stope(e)
1301    }).on("mousedown", function (e) {
1302      lay.stope(e)
1303    }), lay.each(e.elemHeader, function (t, a) {
1304      lay(a[0]).on("click", function (a) {
1305        e.change(t).prevYear()
1306      }), lay(a[1]).on("click", function (a) {
1307        e.change(t).prevMonth()
1308      }), lay(a[2]).find("span").on("click", function (a) {
1309        var n = lay(this),
1310          i = n.attr("lay-ym"),
1311          l = n.attr("lay-type");
1312        i && (i = i.split("-"), e.listYM[t] = [0 | i[0], 0 | i[1]], e.list(l, t), lay(e.footer).find("." + v).addClass(d))
1313      }), lay(a[3]).on("click", function (a) {
1314        e.change(t).nextMonth()
1315      }), lay(a[4]).on("click", function (a) {
1316        e.change(t).nextYear()
1317      })
1318    }), lay.each(e.table, function (t, a) {
1319      var n = lay(a).find("td");
1320      n.on("click", function () {
1321        e.choose(lay(this), t)
1322      })
1323    }), lay(e.footer).find("span").on("click", function () {
1324      var t = lay(this).attr("lay-type");
1325      e.tool(this, t)
1326    })
1327  }, D.prototype.isInput = function (e) {
1328    return /input|textarea/.test(e.tagName.toLocaleLowerCase())
1329  }, D.prototype.events = function () {
1330    var e = this,
1331      t = e.config,
1332      a = function (a, n) {
1333        a.on(t.trigger, function () {
1334          n && (e.bindElem = this), e.render()
1335        })
1336      };
1337    t.elem[0] && !t.elem[0].eventHandler && (a(t.elem, "bind"), a(t.eventElem), t.elem[0].eventHandler = !0)
1338  }, r.that = {}, r.getThis = function (e) {
1339    var t = r.that[e];
1340    return !t && a && layui.hint().error(e ? o + " instance with ID '" + e + "' not found" : "ID argument required"), t
1341  }, n.run = function (a) {
1342    a(t).on("mousedown", function (e) {
1343      if (l.thisId) {
1344        var t = r.getThis(l.thisId);
1345        if (t) {
1346          var n = t.config;
1347          e.target !== n.elem[0] && e.target !== n.eventElem[0] && e.target !== a(n.closeStop)[0] && t.remove()
1348        }
1349      }
1350    }).on("keydown", function (e) {
1351      if (l.thisId) {
1352        var t = r.getThis(l.thisId);
1353        t && 13 === e.keyCode && a("#" + t.elemID)[0] && t.elemID === D.thisElemDate && (e.preventDefault(), a(t.footer).find(p)[0].click())
1354      }
1355    }), a(e).on("resize", function () {
1356      if (l.thisId) {
1357        var e = r.getThis(l.thisId);
1358        if (e) return !(!e.elem || !a(s)[0]) && void e.position()
1359      }
1360    })
1361  }, l.render = function (e) {
1362    var t = new D(e);
1363    return r.call(t)
1364  }, l.parse = function (e, t, a) {
1365    return e = e || {}, "string" == typeof t && (t = r.formatArr(t)), t = (t || []).concat(), lay.each(t, function (n, i) {
1366      /yyyy|y/.test(i) ? t[n] = lay.digit(e.year, i.length) : /MM|M/.test(i) ? t[n] = lay.digit(e.month + (a || 0), i.length) : /dd|d/.test(i) ? t[n] = lay.digit(e.date, i.length) : /HH|H/.test(i) ? t[n] = lay.digit(e.hours, i.length) : /mm|m/.test(i) ? t[n] = lay.digit(e.minutes, i.length) : /ss|s/.test(i) && (t[n] = lay.digit(e.seconds, i.length))
1367    }), t.join("")
1368  }, l.getEndDate = function (e, t) {
1369    var a = new Date;
1370    return a.setFullYear(t || a.getFullYear(), e || a.getMonth() + 1, 1), new Date(a.getTime() - 864e5).getDate()
1371  }, a ? (l.ready(), layui.define("lay", function (e) {
1372    l.path = layui.cache.dir, n.run(lay), e(o, l)
1373  })) : "function" == typeof define && define.amd ? define(function () {
1374    return n.run(lay), l
1375  }) : function () {
1376    l.ready(), n.run(e.lay), e.laydate = l
1377  }()
1378}(window, window.document);
1379! function (e, t) {
1380  "object" == typeof module && "object" == typeof module.exports ? module.exports = e.document ? t(e, !0) : function (e) {
1381    if (!e.document) throw new Error("jQuery requires a window with a document");
1382    return t(e)
1383  } : t(e)
1384}("undefined" != typeof window ? window : this, function (e, t) {
1385  function n(e) {
1386    var t = !!e && "length" in e && e.length,
1387      n = pe.type(e);
1388    return "function" !== n && !pe.isWindow(e) && ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e)
1389  }
1390
1391  function r(e, t, n) {
1392    if (pe.isFunction(t)) return pe.grep(e, function (e, r) {
1393      return !!t.call(e, r, e) !== n
1394    });
1395    if (t.nodeType) return pe.grep(e, function (e) {
1396      return e === t !== n
1397    });
1398    if ("string" == typeof t) {
1399      if (Ce.test(t)) return pe.filter(t, e, n);
1400      t = pe.filter(t, e)
1401    }
1402    return pe.grep(e, function (e) {
1403      return pe.inArray(e, t) > -1 !== n
1404    })
1405  }
1406
1407  function i(e, t) {
1408    do e = e[t]; while (e && 1 !== e.nodeType);
1409    return e
1410  }
1411
1412  function o(e) {
1413    var t = {};
1414    return pe.each(e.match(De) || [], function (e, n) {
1415      t[n] = !0
1416    }), t
1417  }
1418
1419  function a() {
1420    re.addEventListener ? (re.removeEventListener("DOMContentLoaded", s), e.removeEventListener("load", s)) : (re.detachEvent("onreadystatechange", s), e.detachEvent("onload", s))
1421  }
1422
1423  function s() {
1424    (re.addEventListener || "load" === e.event.type || "complete" === re.readyState) && (a(), pe.ready())
1425  }
1426
1427  function u(e, t, n) {
1428    if (void 0 === n && 1 === e.nodeType) {
1429      var r = "data-" + t.replace(_e, "-$1").toLowerCase();
1430      if (n = e.getAttribute(r), "string" == typeof n) {
1431        try {
1432          n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : qe.test(n) ? pe.parseJSON(n) : n)
1433        } catch (i) {}
1434        pe.data(e, t, n)
1435      } else n = void 0
1436    }
1437    return n
1438  }
1439
1440  function l(e) {
1441    var t;
1442    for (t in e)
1443      if (("data" !== t || !pe.isEmptyObject(e[t])) && "toJSON" !== t) return !1;
1444    return !0
1445  }
1446
1447  function c(e, t, n, r) {
1448    if (He(e)) {
1449      var i, o, a = pe.expando,
1450        s = e.nodeType,
1451        u = s ? pe.cache : e,
1452        l = s ? e[a] : e[a] && a;
1453      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 ? {} : {
1454        toJSON: pe.noop
1455      }), "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
1456    }
1457  }
1458
1459  function f(e, t, n) {
1460    if (He(e)) {
1461      var r, i, o = e.nodeType,
1462        a = o ? pe.cache : e,
1463        s = o ? e[pe.expando] : pe.expando;
1464      if (a[s]) {
1465        if (t && (r = n ? a[s] : a[s].data)) {
1466          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;
1467          for (; i--;) delete r[t[i]];
1468          if (n ? !l(r) : !pe.isEmptyObject(r)) return
1469        }(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)
1470      }
1471    }
1472  }
1473
1474  function d(e, t, n, r) {
1475    var i, o = 1,
1476      a = 20,
1477      s = r ? function () {
1478        return r.cur()
1479      } : function () {
1480        return pe.css(e, t, "")
1481      },
1482      u = s(),
1483      l = n && n[3] || (pe.cssNumber[t] ? "" : "px"),
1484      c = (pe.cssNumber[t] || "px" !== l && +u) && Me.exec(pe.css(e, t));
1485    if (c && c[3] !== l) {
1486      l = l || c[3], n = n || [], c = +u || 1;
1487      do o = o || ".5", c /= o, pe.style(e, t, c + l); while (o !== (o = s() / u) && 1 !== o && --a)
1488    }
1489    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
1490  }
1491
1492  function p(e) {
1493    var t = ze.split("|"),
1494      n = e.createDocumentFragment();
1495    if (n.createElement)
1496      for (; t.length;) n.createElement(t.pop());
1497    return n
1498  }
1499
1500  function h(e, t) {
1501    var n, r, i = 0,
1502      o = "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName(t || "*") : "undefined" != typeof e.querySelectorAll ? e.querySelectorAll(t || "*") : void 0;
1503    if (!o)
1504      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));
1505    return void 0 === t || t && pe.nodeName(e, t) ? pe.merge([e], o) : o
1506  }
1507
1508  function g(e, t) {
1509    for (var n, r = 0; null != (n = e[r]); r++) pe._data(n, "globalEval", !t || pe._data(t[r], "globalEval"))
1510  }
1511
1512  function m(e) {
1513    Be.test(e.type) && (e.defaultChecked = e.checked)
1514  }
1515
1516  function y(e, t, n, r, i) {
1517    for (var o, a, s, u, l, c, f, d = e.length, y = p(t), v = [], x = 0; x < d; x++)
1518      if (a = e[x], a || 0 === a)
1519        if ("object" === pe.type(a)) pe.merge(v, a.nodeType ? [a] : a);
1520        else if (Ue.test(a)) {
1521      for (u = u || y.appendChild(t.createElement("div")), l = (We.exec(a) || ["", ""])[1].toLowerCase(), f = Xe[l] || Xe._default, u.innerHTML = f[1] + pe.htmlPrefilter(a) + f[2], o = f[0]; o--;) u = u.lastChild;
1522      if (!fe.leadingWhitespace && $e.test(a) && v.push(t.createTextNode($e.exec(a)[0])), !fe.tbody)
1523        for (a = "table" !== l || Ve.test(a) ? "<table>" !== f[1] || Ve.test(a) ? 0 : u : u.firstChild, o = a && a.childNodes.length; o--;) pe.nodeName(c = a.childNodes[o], "tbody") && !c.childNodes.length && a.removeChild(c);
1524      for (pe.merge(v, u.childNodes), u.textContent = ""; u.firstChild;) u.removeChild(u.firstChild);
1525      u = y.lastChild
1526    } else v.push(t.createTextNode(a));
1527    for (u && y.removeChild(u), fe.appendChecked || pe.grep(h(v, "input"), m), x = 0; a = v[x++];)
1528      if (r && pe.inArray(a, r) > -1) i && i.push(a);
1529      else if (s = pe.contains(a.ownerDocument, a), u = h(y.appendChild(a), "script"), s && g(u), n)
1530      for (o = 0; a = u[o++];) Ie.test(a.type || "") && n.push(a);
1531    return u = null, y
1532  }
1533
1534  function v() {
1535    return !0
1536  }
1537
1538  function x() {
1539    return !1
1540  }
1541
1542  function b() {
1543    try {
1544      return re.activeElement
1545    } catch (e) {}
1546  }
1547
1548  function w(e, t, n, r, i, o) {
1549    var a, s;
1550    if ("object" == typeof t) {
1551      "string" != typeof n && (r = r || n, n = void 0);
1552      for (s in t) w(e, s, n, r, t[s], o);
1553      return e
1554    }
1555    if (null == r && null == i ? (i = n, r = n = void 0) : null == i && ("string" == typeof n ? (i = r, r = void 0) : (i = r, r = n, n = void 0)), i === !1) i = x;
1556    else if (!i) return e;
1557    return 1 === o && (a = i, i = function (e) {
1558      return pe().off(e), a.apply(this, arguments)
1559    }, i.guid = a.guid || (a.guid = pe.guid++)), e.each(function () {
1560      pe.event.add(this, t, i, r, n)
1561    })
1562  }
1563
1564  function T(e, t) {
1565    return pe.nodeName(e, "table") && pe.nodeName(11 !== t.nodeType ? t : t.firstChild, "tr") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e
1566  }
1567
1568  function C(e) {
1569    return e.type = (null !== pe.find.attr(e, "type")) + "/" + e.type, e
1570  }
1571
1572  function E(e) {
1573    var t = it.exec(e.type);
1574    return t ? e.type = t[1] : e.removeAttribute("type"), e
1575  }
1576
1577  function N(e, t) {
1578    if (1 === t.nodeType && pe.hasData(e)) {
1579      var n, r, i, o = pe._data(e),
1580        a = pe._data(t, o),
1581        s = o.events;
1582      if (s) {
1583        delete a.handle, a.events = {};
1584        for (n in s)
1585          for (r = 0, i = s[n].length; r < i; r++) pe.event.add(t, n, s[n][r])
1586      }
1587      a.data && (a.data = pe.extend({}, a.data))
1588    }
1589  }
1590
1591  function k(e, t) {
1592    var n, r, i;
1593    if (1 === t.nodeType) {
1594      if (n = t.nodeName.toLowerCase(), !fe.noCloneEvent && t[pe.expando]) {
1595        i = pe._data(t);
1596        for (r in i.events) pe.removeEvent(t, r, i.handle);
1597        t.removeAttribute(pe.expando)
1598      }
1599      "script" === n && t.text !== e.text ? (C(t).text = e.text, E(t)) : "object" === n ? (t.parentNode && (t.outerHTML = e.outerHTML), fe.html5Clone && e.innerHTML && !pe.trim(t.innerHTML) && (t.innerHTML = e.innerHTML)) : "input" === n && Be.test(e.type) ? (t.defaultChecked = t.checked = e.checked, t.value !== e.value && (t.value = e.value)) : "option" === n ? t.defaultSelected = t.selected = e.defaultSelected : "input" !== n && "textarea" !== n || (t.defaultValue = e.defaultValue)
1600    }
1601  }
1602
1603  function S(e, t, n, r) {
1604    t = oe.apply([], t);
1605    var i, o, a, s, u, l, c = 0,
1606      f = e.length,
1607      d = f - 1,
1608      p = t[0],
1609      g = pe.isFunction(p);
1610    if (g || f > 1 && "string" == typeof p && !fe.checkClone && rt.test(p)) return e.each(function (i) {
1611      var o = e.eq(i);
1612      g && (t[0] = p.call(this, i, o.html())), S(o, t, n, r)
1613    });
1614    if (f && (l = y(t, e[0].ownerDocument, !1, e, r), i = l.firstChild, 1 === l.childNodes.length && (l = i), i || r)) {
1615      for (s = pe.map(h(l, "script"), C), a = s.length; c < f; c++) o = l, c !== d && (o = pe.clone(o, !0, !0), a && pe.merge(s, h(o, "script"))), n.call(e[c], o, c);
1616      if (a)
1617        for (u = s[s.length - 1].ownerDocument, pe.map(s, E), c = 0; c < a; c++) o = s[c], Ie.test(o.type || "") && !pe._data(o, "globalEval") && pe.contains(u, o) && (o.src ? pe._evalUrl && pe._evalUrl(o.src) : pe.globalEval((o.text || o.textContent || o.innerHTML || "").replace(ot, "")));
1618      l = i = null
1619    }
1620    return e
1621  }
1622
1623  function A(e, t, n) {
1624    for (var r, i = t ? pe.filter(t, e) : e, o = 0; null != (r = i[o]); o++) n || 1 !== r.nodeType || pe.cleanData(h(r)), r.parentNode && (n && pe.contains(r.ownerDocument, r) && g(h(r, "script")), r.parentNode.removeChild(r));
1625    return e
1626  }
1627
1628  function D(e, t) {
1629    var n = pe(t.createElement(e)).appendTo(t.body),
1630      r = pe.css(n[0], "display");
1631    return n.detach(), r
1632  }
1633
1634  function j(e) {
1635    var t = re,
1636      n = lt[e];
1637    return n || (n = D(e, t), "none" !== n && n || (ut = (ut || pe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement), t = (ut[0].contentWindow || ut[0].contentDocument).document, t.write(), t.close(), n = D(e, t), ut.detach()), lt[e] = n), n
1638  }
1639
1640  function L(e, t) {
1641    return {
1642      get: function () {
1643        return e() ? void delete this.get : (this.get = t).apply(this, arguments)
1644      }
1645    }
1646  }
1647
1648  function H(e) {
1649    if (e in Et) return e;
1650    for (var t = e.charAt(0).toUpperCase() + e.slice(1), n = Ct.length; n--;)
1651      if (e = Ct[n] + t, e in Et) return e
1652  }
1653
1654  function q(e, t) {
1655    for (var n, r, i, o = [], a = 0, s = e.length; a < s; a++) r = e[a], r.style && (o[a] = pe._data(r, "olddisplay"), n = r.style.display, t ? (o[a] || "none" !== n || (r.style.display = ""), "" === r.style.display && Re(r) && (o[a] = pe._data(r, "olddisplay", j(r.nodeName)))) : (i = Re(r), (n && "none" !== n || !i) && pe._data(r, "olddisplay", i ? n : pe.css(r, "display"))));
1656    for (a = 0; a < s; a++) r = e[a], r.style && (t && "none" !== r.style.display && "" !== r.style.display || (r.style.display = t ? o[a] || "" : "none"));
1657    return e
1658  }
1659
1660  function _(e, t, n) {
1661    var r = bt.exec(t);
1662    return r ? Math.max(0, r[1] - (n || 0)) + (r[2] || "px") : t
1663  }
1664
1665  function F(e, t, n, r, i) {
1666    for (var o = n === (r ? "border" : "content") ? 4 : "width" === t ? 1 : 0, a = 0; o < 4; o += 2) "margin" === n && (a += pe.css(e, n + Oe[o], !0, i)), r ? ("content" === n && (a -= pe.css(e, "padding" + Oe[o], !0, i)), "margin" !== n && (a -= pe.css(e, "border" + Oe[o] + "Width", !0, i))) : (a += pe.css(e, "padding" + Oe[o], !0, i), "padding" !== n && (a += pe.css(e, "border" + Oe[o] + "Width", !0, i)));
1667    return a
1668  }
1669
1670  function M(e, t, n) {
1671    var r = !0,
1672      i = "width" === t ? e.offsetWidth : e.offsetHeight,
1673      o = ht(e),
1674      a = fe.boxSizing && "border-box" === pe.css(e, "boxSizing", !1, o);
1675    if (i <= 0 || null == i) {
1676      if (i = gt(e, t, o), (i < 0 || null == i) && (i = e.style[t]), ft.test(i)) return i;
1677      r = a && (fe.boxSizingReliable() || i === e.style[t]), i = parseFloat(i) || 0
1678    }
1679    return i + F(e, t, n || (a ? "border" : "content"), r, o) + "px"
1680  }
1681
1682  function O(e, t, n, r, i) {
1683    return new O.prototype.init(e, t, n, r, i)
1684  }
1685
1686  function R() {
1687    return e.setTimeout(function () {
1688      Nt = void 0
1689    }), Nt = pe.now()
1690  }
1691
1692  function P(e, t) {
1693    var n, r = {
1694        height: e
1695      },
1696      i = 0;
1697    for (t = t ? 1 : 0; i < 4; i += 2 - t) n = Oe[i], r["margin" + n] = r["padding" + n] = e;
1698    return t && (r.opacity = r.width = e), r
1699  }
1700
1701  function B(e, t, n) {
1702    for (var r, i = ($.tweeners[t] || []).concat($.tweeners["*"]), o = 0, a = i.length; o < a; o++)
1703      if (r = i[o].call(n, t, e)) return r
1704  }
1705
1706  function W(e, t, n) {
1707    var r, i, o, a, s, u, l, c, f = this,
1708      d = {},
1709      p = e.style,
1710      h = e.nodeType && Re(e),
1711      g = pe._data(e, "fxshow");
1712    n.queue || (s = pe._queueHooks(e, "fx"), null == s.unqueued && (s.unqueued = 0, u = s.empty.fire, s.empty.fire = function () {
1713      s.unqueued || u()
1714    }), s.unqueued++, f.always(function () {
1715      f.always(function () {
1716        s.unqueued--, pe.queue(e, "fx").length || s.empty.fire()
1717      })
1718    })), 1 === e.nodeType && ("height" in t || "width" in t) && (n.overflow = [p.overflow, p.overflowX, p.overflowY], l = pe.css(e, "display"), c = "none" === l ? pe._data(e, "olddisplay") || j(e.nodeName) : l, "inline" === c && "none" === pe.css(e, "float") && (fe.inlineBlockNeedsLayout && "inline" !== j(e.nodeName) ? p.zoom = 1 : p.display = "inline-block")), n.overflow && (p.overflow = "hidden", fe.shrinkWrapBlocks() || f.always(function () {
1719      p.overflow = n.overflow[0], p.overflowX = n.overflow[1], p.overflowY = n.overflow[2]
1720    }));
1721    for (r in t)
1722      if (i = t[r], St.exec(i)) {
1723        if (delete t[r], o = o || "toggle" === i, i === (h ? "hide" : "show")) {
1724          if ("show" !== i || !g || void 0 === g[r]) continue;
1725          h = !0
1726        }
1727        d[r] = g && g[r] || pe.style(e, r)
1728      } else l = void 0;
1729    if (pe.isEmptyObject(d)) "inline" === ("none" === l ? j(e.nodeName) : l) && (p.display = l);
1730    else {
1731      g ? "hidden" in g && (h = g.hidden) : g = pe._data(e, "fxshow", {}), o && (g.hidden = !h), h ? pe(e).show() : f.done(function () {
1732        pe(e).hide()
1733      }), f.done(function () {
1734        var t;
1735        pe._removeData(e, "fxshow");
1736        for (t in d) pe.style(e, t, d[t])
1737      });
1738      for (r in d) a = B(h ? g[r] : 0, r, f), r in g || (g[r] = a.start, h && (a.end = a.start, a.start = "width" === r || "height" === r ? 1 : 0))
1739    }
1740  }
1741
1742  function I(e, t) {
1743    var n, r, i, o, a;
1744    for (n in e)
1745      if (r = pe.camelCase(n), i = t[r], o = e[n], pe.isArray(o) && (i = o[1], o = e[n] = o[0]), n !== r && (e[r] = o, delete e[n]), a = pe.cssHooks[r], a && "expand" in a) {
1746        o = a.expand(o), delete e[r];
1747        for (n in o) n in e || (e[n] = o[n], t[n] = i)
1748      } else t[r] = i
1749  }
1750
1751  function $(e, t, n) {
1752    var r, i, o = 0,
1753      a = $.prefilters.length,
1754      s = pe.Deferred().always(function () {
1755        delete u.elem
1756      }),
1757      u = function () {
1758        if (i) return !1;
1759        for (var t = Nt || R(), n = Math.max(0, l.startTime + l.duration - t), r = n / l.duration || 0, o = 1 - r, a = 0, u = l.tweens.length; a < u; a++) l.tweens[a].run(o);
1760        return s.notifyWith(e, [l, o, n]), o < 1 && u ? n : (s.resolveWith(e, [l]), !1)
1761      },
1762      l = s.promise({
1763        elem: e,
1764        props: pe.extend({}, t),
1765        opts: pe.extend(!0, {
1766          specialEasing: {},
1767          easing: pe.easing._default
1768        }, n),
1769        originalProperties: t,
1770        originalOptions: n,
1771        startTime: Nt || R(),
1772        duration: n.duration,
1773        tweens: [],
1774        createTween: function (t, n) {
1775          var r = pe.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing);
1776          return l.tweens.push(r), r
1777        },
1778        stop: function (t) {
1779          var n = 0,
1780            r = t ? l.tweens.length : 0;
1781          if (i) return this;
1782          for (i = !0; n < r; n++) l.tweens[n].run(1);
1783          return t ? (s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l, t])) : s.rejectWith(e, [l, t]), this
1784        }
1785      }),
1786      c = l.props;
1787    for (I(c, l.opts.specialEasing); o < a; o++)
1788      if (r = $.prefilters[o].call(l, e, c, l.opts)) return pe.isFunction(r.stop) && (pe._queueHooks(l.elem, l.opts.queue).stop = pe.proxy(r.stop, r)), r;
1789    return pe.map(c, B, l), pe.isFunction(l.opts.start) && l.opts.start.call(e, l), pe.fx.timer(pe.extend(u, {
1790      elem: e,
1791      anim: l,
1792      queue: l.opts.queue
1793    })), l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always)
1794  }
1795
1796  function z(e) {
1797    return pe.attr(e, "class") || ""
1798  }
1799
1800  function X(e) {
1801    return function (t, n) {
1802      "string" != typeof t && (n = t, t = "*");
1803      var r, i = 0,
1804        o = t.toLowerCase().match(De) || [];
1805      if (pe.isFunction(n))
1806        for (; r = o[i++];) "+" === r.charAt(0) ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n)
1807    }
1808  }
1809
1810  function U(e, t, n, r) {
1811    function i(s) {
1812      var u;
1813      return o[s] = !0, pe.each(e[s] || [], function (e, s) {
1814        var l = s(t, n, r);
1815        return "string" != typeof l || a || o[l] ? a ? !(u = l) : void 0 : (t.dataTypes.unshift(l), i(l), !1)
1816      }), u
1817    }
1818    var o = {},
1819      a = e === Qt;
1820    return i(t.dataTypes[0]) || !o["*"] && i("*")
1821  }
1822
1823  function V(e, t) {
1824    var n, r, i = pe.ajaxSettings.flatOptions || {};
1825    for (r in t) void 0 !== t[r] && ((i[r] ? e : n || (n = {}))[r] = t[r]);
1826    return n && pe.extend(!0, e, n), e
1827  }
1828
1829  function Y(e, t, n) {
1830    for (var r, i, o, a, s = e.contents, u = e.dataTypes;
1831      "*" === u[0];) u.shift(), void 0 === i && (i = e.mimeType || t.getResponseHeader("Content-Type"));
1832    if (i)
1833      for (a in s)
1834        if (s[a] && s[a].test(i)) {
1835          u.unshift(a);
1836          break
1837        } if (u[0] in n) o = u[0];
1838    else {
1839      for (a in n) {
1840        if (!u[0] || e.converters[a + " " + u[0]]) {
1841          o = a;
1842          break
1843        }
1844        r || (r = a)
1845      }
1846      o = o || r
1847    }
1848    if (o) return o !== u[0] && u.unshift(o), n[o]
1849  }
1850
1851  function J(e, t, n, r) {
1852    var i, o, a, s, u, l = {},
1853      c = e.dataTypes.slice();
1854    if (c[1])
1855      for (a in e.converters) l[a.toLowerCase()] = e.converters[a];
1856    for (o = c.shift(); o;)
1857      if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = o, o = c.shift())
1858        if ("*" === o) o = u;
1859        else if ("*" !== u && u !== o) {
1860      if (a = l[u + " " + o] || l["* " + o], !a)
1861        for (i in l)
1862          if (s = i.split(" "), s[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) {
1863            a === !0 ? a = l[i] : l[i] !== !0 && (o = s[0], c.unshift(s[1]));
1864            break
1865          } if (a !== !0)
1866        if (a && e["throws"]) t = a(t);
1867        else try {
1868          t = a(t)
1869        } catch (f) {
1870          return {
1871            state: "parsererror",
1872            error: a ? f : "No conversion from " + u + " to " + o
1873          }
1874        }
1875    }
1876    return {
1877      state: "success",
1878      data: t
1879    }
1880  }
1881
1882  function G(e) {
1883    return e.style && e.style.display || pe.css(e, "display")
1884  }
1885
1886  function K(e) {
1887    if (!pe.contains(e.ownerDocument || re, e)) return !0;
1888    for (; e && 1 === e.nodeType;) {
1889      if ("none" === G(e) || "hidden" === e.type) return !0;
1890      e = e.parentNode
1891    }
1892    return !1
1893  }
1894
1895  function Q(e, t, n, r) {
1896    var i;
1897    if (pe.isArray(t)) pe.each(t, function (t, i) {
1898      n || rn.test(e) ? r(e, i) : Q(e + "[" + ("object" == typeof i && null != i ? t : "") + "]", i, n, r)
1899    });
1900    else if (n || "object" !== pe.type(t)) r(e, t);
1901    else
1902      for (i in t) Q(e + "[" + i + "]", t[i], n, r)
1903  }
1904
1905  function Z() {
1906    try {
1907      return new e.XMLHttpRequest
1908    } catch (t) {}
1909  }
1910
1911  function ee() {
1912    try {
1913      return new e.ActiveXObject("Microsoft.XMLHTTP")
1914    } catch (t) {}
1915  }
1916
1917  function te(e) {
1918    return pe.isWindow(e) ? e : 9 === e.nodeType && (e.defaultView || e.parentWindow)
1919  }
1920  var ne = [],
1921    re = e.document,
1922    ie = ne.slice,
1923    oe = ne.concat,
1924    ae = ne.push,
1925    se = ne.indexOf,
1926    ue = {},
1927    le = ue.toString,
1928    ce = ue.hasOwnProperty,
1929    fe = {},
1930    de = "1.12.4",
1931    pe = function (e, t) {
1932      return new pe.fn.init(e, t)
1933    },
1934    he = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
1935    ge = /^-ms-/,
1936    me = /-([\da-z])/gi,
1937    ye = function (e, t) {
1938      return t.toUpperCase()
1939    };
1940  pe.fn = pe.prototype = {
1941    jquery: de,
1942    constructor: pe,
1943    selector: "",
1944    length: 0,
1945    toArray: function () {
1946      return ie.call(this)
1947    },
1948    get: function (e) {
1949      return null != e ? e < 0 ? this[e + this.length] : this[e] : ie.call(this)
1950    },
1951    pushStack: function (e) {
1952      var t = pe.merge(this.constructor(), e);
1953      return t.prevObject = this, t.context = this.context, t
1954    },
1955    each: function (e) {
1956      return pe.each(this, e)
1957    },
1958    map: function (e) {
1959      return this.pushStack(pe.map(this, function (t, n) {
1960        return e.call(t, n, t)
1961      }))
1962    },
1963    slice: function () {
1964      return this.pushStack(ie.apply(this, arguments))
1965    },
1966    first: function () {
1967      return this.eq(0)
1968    },
1969    last: function () {
1970      return this.eq(-1)
1971    },
1972    eq: function (e) {
1973      var t = this.length,
1974        n = +e + (e < 0 ? t : 0);
1975      return this.pushStack(n >= 0 && n < t ? [this[n]] : [])
1976    },
1977    end: function () {
1978      return this.prevObject || this.constructor()
1979    },
1980    push: ae,
1981    sort: ne.sort,
1982    splice: ne.splice
1983  }, pe.extend = pe.fn.extend = function () {
1984    var e, t, n, r, i, o, a = arguments[0] || {},
1985      s = 1,
1986      u = arguments.length,
1987      l = !1;
1988    for ("boolean" == typeof a && (l = a, a = arguments[s] || {}, s++), "object" == typeof a || pe.isFunction(a) || (a = {}), s === u && (a = this, s--); s < u; s++)
1989      if (null != (i = arguments[s]))
1990        for (r in i) e = a[r], n = i[r], a !== n && (l && n && (pe.isPlainObject(n) || (t = pe.isArray(n))) ? (t ? (t = !1, o = e && pe.isArray(e) ? e : []) : o = e && pe.isPlainObject(e) ? e : {}, a[r] = pe.extend(l, o, n)) : void 0 !== n && (a[r] = n));
1991    return a
1992  }, pe.extend({
1993    expando: "jQuery" + (de + Math.random()).replace(/\D/g, ""),
1994    isReady: !0,
1995    error: function (e) {
1996      throw new Error(e)
1997    },
1998    noop: function () {},
1999    isFunction: function (e) {
2000      return "function" === pe.type(e)
2001    },
2002    isArray: Array.isArray || function (e) {
2003      return "array" === pe.type(e)
2004    },
2005    isWindow: function (e) {
2006      return null != e && e == e.window
2007    },
2008    isNumeric: function (e) {
2009      var t = e && e.toString();
2010      return !pe.isArray(e) && t - parseFloat(t) + 1 >= 0
2011    },
2012    isEmptyObject: function (e) {
2013      var t;
2014      for (t in e) return !1;
2015      return !0
2016    },
2017    isPlainObject: function (e) {
2018      var t;
2019      if (!e || "object" !== pe.type(e) || e.nodeType || pe.isWindow(e)) return !1;
2020      try {
2021        if (e.constructor && !ce.call(e, "constructor") && !ce.call(e.constructor.prototype, "isPrototypeOf")) return !1
2022      } catch (n) {
2023        return !1
2024      }
2025      if (!fe.ownFirst)
2026        for (t in e) return ce.call(e, t);
2027      for (t in e);
2028      return void 0 === t || ce.call(e, t)
2029    },
2030    type: function (e) {
2031      return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? ue[le.call(e)] || "object" : typeof e
2032    },
2033    globalEval: function (t) {
2034      t && pe.trim(t) && (e.execScript || function (t) {
2035        e.eval.call(e, t)
2036      })(t)
2037    },
2038    camelCase: function (e) {
2039      return e.replace(ge, "ms-").replace(me, ye)
2040    },
2041    nodeName: function (e, t) {
2042      return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
2043    },
2044    each: function (e, t) {
2045      var r, i = 0;
2046      if (n(e))
2047        for (r = e.length; i < r && t.call(e[i], i, e[i]) !== !1; i++);
2048      else
2049        for (i in e)
2050          if (t.call(e[i], i, e[i]) === !1) break;
2051      return e
2052    },
2053    trim: function (e) {
2054      return null == e ? "" : (e + "").replace(he, "")
2055    },
2056    makeArray: function (e, t) {
2057      var r = t || [];
2058      return null != e && (n(Object(e)) ? pe.merge(r, "string" == typeof e ? [e] : e) : ae.call(r, e)), r
2059    },
2060    inArray: function (e, t, n) {
2061      var r;
2062      if (t) {
2063        if (se) return se.call(t, e, n);
2064        for (r = t.length, n = n ? n < 0 ? Math.max(0, r + n) : n : 0; n < r; n++)
2065          if (n in t && t[n] === e) return n
2066      }
2067      return -1
2068    },
2069    merge: function (e, t) {
2070      for (var n = +t.length, r = 0, i = e.length; r < n;) e[i++] = t[r++];
2071      if (n !== n)
2072        for (; void 0 !== t[r];) e[i++] = t[r++];
2073      return e.length = i, e
2074    },
2075    grep: function (e, t, n) {
2076      for (var r, i = [], o = 0, a = e.length, s = !n; o < a; o++) r = !t(e[o], o), r !== s && i.push(e[o]);
2077      return i
2078    },
2079    map: function (e, t, r) {
2080      var i, o, a = 0,
2081        s = [];
2082      if (n(e))
2083        for (i = e.length; a < i; a++) o = t(e[a], a, r), null != o && s.push(o);
2084      else
2085        for (a in e) o = t(e[a], a, r), null != o && s.push(o);
2086      return oe.apply([], s)
2087    },
2088    guid: 1,
2089    proxy: function (e, t) {
2090      var n, r, i;
2091      if ("string" == typeof t && (i = e[t], t = e, e = i), pe.isFunction(e)) return n = ie.call(arguments, 2), r = function () {
2092        return e.apply(t || this, n.concat(ie.call(arguments)))
2093      }, r.guid = e.guid = e.guid || pe.guid++, r
2094    },
2095    now: function () {
2096      return +new Date
2097    },
2098    support: fe
2099  }), "function" == typeof Symbol && (pe.fn[Symbol.iterator] = ne[Symbol.iterator]), pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (e, t) {
2100    ue["[object " + t + "]"] = t.toLowerCase()
2101  });
2102  var ve = function (e) {
2103    function t(e, t, n, r) {
2104      var i, o, a, s, u, l, f, p, h = t && t.ownerDocument,
2105        g = t ? t.nodeType : 9;
2106      if (n = n || [], "string" != typeof e || !e || 1 !== g && 9 !== g && 11 !== g) return n;
2107      if (!r && ((t ? t.ownerDocument || t : B) !== H && L(t), t = t || H, _)) {
2108        if (11 !== g && (l = ye.exec(e)))
2109          if (i = l[1]) {
2110            if (9 === g) {
2111              if (!(a = t.getElementById(i))) return n;
2112              if (a.id === i) return n.push(a), n
2113            } else if (h && (a = h.getElementById(i)) && R(t, a) && a.id === i) return n.push(a), n
2114          } else {
2115            if (l[2]) return Q.apply(n, t.getElementsByTagName(e)), n;
2116            if ((i = l[3]) && w.getElementsByClassName && t.getElementsByClassName) return Q.apply(n, t.getElementsByClassName(i)), n
2117          } if (w.qsa && !X[e + " "] && (!F || !F.test(e))) {
2118          if (1 !== g) h = t, p = e;
2119          else if ("object" !== t.nodeName.toLowerCase()) {
2120            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]);
2121            p = f.join(","), h = ve.test(e) && c(t.parentNode) || t
2122          }
2123          if (p) try {
2124            return Q.apply(n, h.querySelectorAll(p)), n
2125          } catch (m) {} finally {
2126            s === P && t.removeAttribute("id")
2127          }
2128        }
2129      }
2130      return S(e.replace(se, "$1"), t, n, r)
2131    }
2132
2133    function n() {
2134      function e(n, r) {
2135        return t.push(n + " ") > T.cacheLength && delete e[t.shift()], e[n + " "] = r
2136      }
2137      var t = [];
2138      return e
2139    }
2140
2141    function r(e) {
2142      return e[P] = !0, e
2143    }
2144
2145    function i(e) {
2146      var t = H.createElement("div");
2147      try {
2148        return !!e(t)
2149      } catch (n) {
2150        return !1
2151      } finally {
2152        t.parentNode && t.parentNode.removeChild(t), t = null
2153      }
2154    }
2155
2156    function o(e, t) {
2157      for (var n = e.split("|"), r = n.length; r--;) T.attrHandle[n[r]] = t
2158    }
2159
2160    function a(e, t) {
2161      var n = t && e,
2162        r = n && 1 === e.nodeType && 1 === t.nodeType && (~t.sourceIndex || V) - (~e.sourceIndex || V);
2163      if (r) return r;
2164      if (n)
2165        for (; n = n.nextSibling;)
2166          if (n === t) return -1;
2167      return e ? 1 : -1
2168    }
2169
2170    function s(e) {
2171      return function (t) {
2172        var n = t.nodeName.toLowerCase();
2173        return "input" === n && t.type === e
2174      }
2175    }
2176
2177    function u(e) {
2178      return function (t) {
2179        var n = t.nodeName.toLowerCase();
2180        return ("input" === n || "button" === n) && t.type === e
2181      }
2182    }
2183
2184    function l(e) {
2185      return r(function (t) {
2186        return t = +t, r(function (n, r) {
2187          for (var i, o = e([], n.length, t), a = o.length; a--;) n[i = o[a]] && (n[i] = !(r[i] = n[i]))
2188        })
2189      })
2190    }
2191
2192    function c(e) {
2193      return e && "undefined" != typeof e.getElementsByTagName && e
2194    }
2195
2196    function f() {}
2197
2198    function d(e) {
2199      for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value;
2200      return r
2201    }
2202
2203    function p(e, t, n) {
2204      var r = t.dir,
2205        i = n && "parentNode" === r,
2206        o = I++;
2207      return t.first ? function (t, n, o) {
2208        for (; t = t[r];)
2209          if (1 === t.nodeType || i) return e(t, n, o)
2210      } : function (t, n, a) {
2211        var s, u, l, c = [W, o];
2212        if (a) {
2213          for (; t = t[r];)
2214            if ((1 === t.nodeType || i) && e(t, n, a)) return !0
2215        } else
2216          for (; t = t[r];)
2217            if (1 === t.nodeType || i) {
2218              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];
2219              if (u[r] = c, c[2] = e(t, n, a)) return !0
2220            }
2221      }
2222    }
2223
2224    function h(e) {
2225      return e.length > 1 ? function (t, n, r) {
2226        for (var i = e.length; i--;)
2227          if (!e[i](t, n, r)) return !1;
2228        return !0
2229      } : e[0]
2230    }
2231
2232    function g(e, n, r) {
2233      for (var i = 0, o = n.length; i < o; i++) t(e, n[i], r);
2234      return r
2235    }
2236
2237    function m(e, t, n, r, i) {
2238      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)));
2239      return a
2240    }
2241
2242    function y(e, t, n, i, o, a) {
2243      return i && !i[P] && (i = y(i)), o && !o[P] && (o = y(o, a)), r(function (r, a, s, u) {
2244        var l, c, f, d = [],
2245          p = [],
2246          h = a.length,
2247          y = r || g(t || "*", s.nodeType ? [s] : s, []),
2248          v = !e || !r && t ? y : m(y, d, e, s, u),
2249          x = n ? o || (r ? e : h || i) ? [] : a : v;
2250        if (n && n(v, x, s, u), i)
2251          for (l = m(x, p), i(l, [], s, u), c = l.length; c--;)(f = l[c]) && (x[p[c]] = !(v[p[c]] = f));
2252        if (r) {
2253          if (o || e) {
2254            if (o) {
2255              for (l = [], c = x.length; c--;)(f = x[c]) && l.push(v[c] = f);
2256              o(null, x = [], l, u)
2257            }
2258            for (c = x.length; c--;)(f = x[c]) && (l = o ? ee(r, f) : d[c]) > -1 && (r[l] = !(a[l] = f))
2259          }
2260        } else x = m(x === a ? x.splice(h, x.length) : x), o ? o(null, a, x, u) : Q.apply(a, x)
2261      })
2262    }
2263
2264    function v(e) {
2265      for (var t, n, r, i = e.length, o = T.relative[e[0].type], a = o || T.relative[" "], s = o ? 1 : 0, u = p(function (e) {
2266          return e === t
2267        }, a, !0), l = p(function (e) {
2268          return ee(t, e) > -1
2269        }, a, !0), c = [function (e, n, r) {
2270          var i = !o && (r || n !== A) || ((t = n).nodeType ? u(e, n, r) : l(e, n, r));
2271          return t = null, i
2272        }]; s < i; s++)
2273        if (n = T.relative[e[s].type]) c = [p(h(c), n)];
2274        else {
2275          if (n = T.filter[e[s].type].apply(null, e[s].matches), n[P]) {
2276            for (r = ++s; r < i && !T.relative[e[r].type]; r++);
2277            return y(s > 1 && h(c), s > 1 && d(e.slice(0, s - 1).concat({
2278              value: " " === e[s - 2].type ? "*" : ""
2279            })).replace(se, "$1"), n, s < r && v(e.slice(s, r)), r < i && v(e = e.slice(r)), r < i && d(e))
2280          }
2281          c.push(n)
2282        } return h(c)
2283    }
2284
2285    function x(e, n) {
2286      var i = n.length > 0,
2287        o = e.length > 0,
2288        a = function (r, a, s, u, l) {
2289          var c, f, d, p = 0,
2290            h = "0",
2291            g = r && [],
2292            y = [],
2293            v = A,
2294            x = r || o && T.find.TAG("*", l),
2295            b = W += null == v ? 1 : Math.random() || .1,
2296            w = x.length;
2297          for (l && (A = a === H || a || l); h !== w && null != (c = x[h]); h++) {
2298            if (o && c) {
2299              for (f = 0, a || c.ownerDocument === H || (L(c), s = !_); d = e[f++];)
2300                if (d(c, a || H, s)) {
2301                  u.push(c);
2302                  break
2303                } l && (W = b)
2304            }
2305            i && ((c = !d && c) && p--, r && g.push(c))
2306          }
2307          if (p += h, i && h !== p) {
2308            for (f = 0; d = n[f++];) d(g, y, a, s);
2309            if (r) {
2310              if (p > 0)
2311                for (; h--;) g[h] || y[h] || (y[h] = G.call(u));
2312              y = m(y)
2313            }
2314            Q.apply(u, y), l && !r && y.length > 0 && p + n.length > 1 && t.uniqueSort(u)
2315          }
2316          return l && (W = b, A = v), g
2317        };
2318      return i ? r(a) : a
2319    }
2320    var b, w, T, C, E, N, k, S, A, D, j, L, H, q, _, F, M, O, R, P = "sizzle" + 1 * new Date,
2321      B = e.document,
2322      W = 0,
2323      I = 0,
2324      $ = n(),
2325      z = n(),
2326      X = n(),
2327      U = function (e, t) {
2328        return e === t && (j = !0), 0
2329      },
2330      V = 1 << 31,
2331      Y = {}.hasOwnProperty,
2332      J = [],
2333      G = J.pop,
2334      K = J.push,
2335      Q = J.push,
2336      Z = J.slice,
2337      ee = function (e, t) {
2338        for (var n = 0, r = e.length; n < r; n++)
2339          if (e[n] === t) return n;
2340        return -1
2341      },
2342      te = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
2343      ne = "[\\x20\\t\\r\\n\\f]",
2344      re = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
2345      ie = "\\[" + ne + "*(" + re + ")(?:" + ne + "*([*^$|!~]?=)" + ne + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + re + "))|)" + ne + "*\\]",
2346      oe = ":(" + re + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + ie + ")*)|.*)\\)|)",
2347      ae = new RegExp(ne + "+", "g"),
2348      se = new RegExp("^" + ne + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ne + "+$", "g"),
2349      ue = new RegExp("^" + ne + "*," + ne + "*"),
2350      le = new RegExp("^" + ne + "*([>+~]|" + ne + ")" + ne + "*"),
2351      ce = new RegExp("=" + ne + "*([^\\]'\"]*?)" + ne + "*\\]", "g"),
2352      fe = new RegExp(oe),
2353      de = new RegExp("^" + re + "$"),
2354      pe = {
2355        ID: new RegExp("^#(" + re + ")"),
2356        CLASS: new RegExp("^\\.(" + re + ")"),
2357        TAG: new RegExp("^(" + re + "|[*])"),
2358        ATTR: new RegExp("^" + ie),
2359        PSEUDO: new RegExp("^" + oe),
2360        CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + ne + "*(even|odd|(([+-]|)(\\d*)n|)" + ne + "*(?:([+-]|)" + ne + "*(\\d+)|))" + ne + "*\\)|)", "i"),
2361        bool: new RegExp("^(?:" + te + ")$", "i"),
2362        needsContext: new RegExp("^" + ne + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + ne + "*((?:-\\d)?\\d*)" + ne + "*\\)|)(?=[^-]|$)", "i")
2363      },
2364      he = /^(?:input|select|textarea|button)$/i,
2365      ge = /^h\d$/i,
2366      me = /^[^{]+\{\s*\[native \w/,
2367      ye = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
2368      ve = /[+~]/,
2369      xe = /'|\\/g,
2370      be = new RegExp("\\\\([\\da-f]{1,6}" + ne + "?|(" + ne + ")|.)", "ig"),
2371      we = function (e, t, n) {
2372        var r = "0x" + t - 65536;
2373        return r !== r || n ? t : r < 0 ? String.fromCharCode(r + 65536) : String.fromCharCode(r >> 10 | 55296, 1023 & r | 56320)
2374      },
2375      Te = function () {
2376        L()
2377      };
2378    try {
2379      Q.apply(J = Z.call(B.childNodes), B.childNodes), J[B.childNodes.length].nodeType
2380    } catch (Ce) {
2381      Q = {
2382        apply: J.length ? function (e, t) {
2383          K.apply(e, Z.call(t))
2384        } : function (e, t) {
2385          for (var n = e.length, r = 0; e[n++] = t[r++];);
2386          e.length = n - 1
2387        }
2388      }
2389    }
2390    w = t.support = {}, E = t.isXML = function (e) {
2391      var t = e && (e.ownerDocument || e).documentElement;
2392      return !!t && "HTML" !== t.nodeName
2393    }, L = t.setDocument = function (e) {
2394      var t, n, r = e ? e.ownerDocument || e : B;
2395      return r !== H && 9 === r.nodeType && r.documentElement ? (H = r, q = H.documentElement, _ = !E(H), (n = H.defaultView) && n.top !== n && (n.addEventListener ? n.addEventListener("unload", Te, !1) : n.attachEvent && n.attachEvent("onunload", Te)), w.attributes = i(function (e) {
2396        return e.className = "i", !e.getAttribute("className")
2397      }), w.getElementsByTagName = i(function (e) {
2398        return e.appendChild(H.createComment("")), !e.getElementsByTagName("*").length
2399      }), w.getElementsByClassName = me.test(H.getElementsByClassName), w.getById = i(function (e) {
2400        return q.appendChild(e).id = P, !H.getElementsByName || !H.getElementsByName(P).length
2401      }), w.getById ? (T.find.ID = function (e, t) {
2402        if ("undefined" != typeof t.getElementById && _) {
2403          var n = t.getElementById(e);
2404          return n ? [n] : []
2405        }
2406      }, T.filter.ID = function (e) {
2407        var t = e.replace(be, we);
2408        return function (e) {
2409          return e.getAttribute("id") === t
2410        }
2411      }) : (delete T.find.ID, T.filter.ID = function (e) {
2412        var t = e.replace(be, we);
2413        return function (e) {
2414          var n = "undefined" != typeof e.getAttributeNode && e.getAttributeNode("id");
2415          return n && n.value === t
2416        }
2417      }), T.find.TAG = w.getElementsByTagName ? function (e, t) {
2418        return "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : w.qsa ? t.querySelectorAll(e) : void 0
2419      } : function (e, t) {
2420        var n, r = [],
2421          i = 0,
2422          o = t.getElementsByTagName(e);
2423        if ("*" === e) {
2424          for (; n = o[i++];) 1 === n.nodeType && r.push(n);
2425          return r
2426        }
2427        return o
2428      }, T.find.CLASS = w.getElementsByClassName && function (e, t) {
2429        if ("undefined" != typeof t.getElementsByClassName && _) return t.getElementsByClassName(e)
2430      }, M = [], F = [], (w.qsa = me.test(H.querySelectorAll)) && (i(function (e) {
2431        q.appendChild(e).innerHTML = "<a id='" + P + "'></a><select id='" + P + "-\r\\' msallowcapture=''><option selected=''></option></select>", e.querySelectorAll("[msallowcapture^='']").length && F.push("[*^$]=" + ne + "*(?:''|\"\")"), e.querySelectorAll("[selected]").length || F.push("\\[" + ne + "*(?:value|" + te + ")"), e.querySelectorAll("[id~=" + P + "-]").length || F.push("~="), e.querySelectorAll(":checked").length || F.push(":checked"), e.querySelectorAll("a#" + P + "+*").length || F.push(".#.+[+~]")
2432      }), i(function (e) {
2433        var t = H.createElement("input");
2434        t.setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), e.querySelectorAll("[name=d]").length && F.push("name" + ne + "*[*^$|!~]?="), e.querySelectorAll(":enabled").length || F.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), F.push(",.*:")
2435      })), (w.matchesSelector = me.test(O = q.matches || q.webkitMatchesSelector || q.mozMatchesSelector || q.oMatchesSelector || q.msMatchesSelector)) && i(function (e) {
2436        w.disconnectedMatch = O.call(e, "div"), O.call(e, "[s!='']:x"), M.push("!=", oe)
2437      }), F = F.length && new RegExp(F.join("|")), M = M.length && new RegExp(M.join("|")), t = me.test(q.compareDocumentPosition), R = t || me.test(q.contains) ? function (e, t) {
2438        var n = 9 === e.nodeType ? e.documentElement : e,
2439          r = t && t.parentNode;
2440        return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r)))
2441      } : function (e, t) {
2442        if (t)
2443          for (; t = t.parentNode;)
2444            if (t === e) return !0;
2445        return !1
2446      }, U = t ? function (e, t) {
2447        if (e === t) return j = !0, 0;
2448        var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
2449        return n ? n : (n = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1, 1 & n || !w.sortDetached && t.compareDocumentPosition(e) === n ? e === H || e.ownerDocument === B && R(B, e) ? -1 : t === H || t.ownerDocument === B && R(B, t) ? 1 : D ? ee(D, e) - ee(D, t) : 0 : 4 & n ? -1 : 1)
2450      } : function (e, t) {
2451        if (e === t) return j = !0, 0;
2452        var n, r = 0,
2453          i = e.parentNode,
2454          o = t.parentNode,
2455          s = [e],
2456          u = [t];
2457        if (!i || !o) return e === H ? -1 : t === H ? 1 : i ? -1 : o ? 1 : D ? ee(D, e) - ee(D, t) : 0;
2458        if (i === o) return a(e, t);
2459        for (n = e; n = n.parentNode;) s.unshift(n);
2460        for (n = t; n = n.parentNode;) u.unshift(n);
2461        for (; s[r] === u[r];) r++;
2462        return r ? a(s[r], u[r]) : s[r] === B ? -1 : u[r] === B ? 1 : 0
2463      }, H) : H
2464    }, t.matches = function (e, n) {
2465      return t(e, null, null, n)
2466    }, t.matchesSelector = function (e, n) {
2467      if ((e.ownerDocument || e) !== H && L(e), n = n.replace(ce, "='$1']"), w.matchesSelector && _ && !X[n + " "] && (!M || !M.test(n)) && (!F || !F.test(n))) try {
2468        var r = O.call(e, n);
2469        if (r || w.disconnectedMatch || e.document && 11 !== e.document.nodeType) return r
2470      } catch (i) {}
2471      return t(n, H, null, [e]).length > 0
2472    }, t.contains = function (e, t) {
2473      return (e.ownerDocument || e) !== H && L(e), R(e, t)
2474    }, t.attr = function (e, t) {
2475      (e.ownerDocument || e) !== H && L(e);
2476      var n = T.attrHandle[t.toLowerCase()],
2477        r = n && Y.call(T.attrHandle, t.toLowerCase()) ? n(e, t, !_) : void 0;
2478      return void 0 !== r ? r : w.attributes || !_ ? e.getAttribute(t) : (r = e.getAttributeNode(t)) && r.specified ? r.value : null
2479    }, t.error = function (e) {
2480      throw new Error("Syntax error, unrecognized expression: " + e)
2481    }, t.uniqueSort = function (e) {
2482      var t, n = [],
2483        r = 0,
2484        i = 0;
2485      if (j = !w.detectDuplicates, D = !w.sortStable && e.slice(0), e.sort(U), j) {
2486        for (; t = e[i++];) t === e[i] && (r = n.push(i));
2487        for (; r--;) e.splice(n[r], 1)
2488      }
2489      return D = null, e
2490    }, C = t.getText = function (e) {
2491      var t, n = "",
2492        r = 0,
2493        i = e.nodeType;
2494      if (i) {
2495        if (1 === i || 9 === i || 11 === i) {
2496          if ("string" == typeof e.textContent) return e.textContent;
2497          for (e = e.firstChild; e; e = e.nextSibling) n += C(e)
2498        } else if (3 === i || 4 === i) return e.nodeValue
2499      } else
2500        for (; t = e[r++];) n += C(t);
2501      return n
2502    }, T = t.selectors = {
2503      cacheLength: 50,
2504      createPseudo: r,
2505      match: pe,
2506      attrHandle: {},
2507      find: {},
2508      relative: {
2509        ">": {
2510          dir: "parentNode",
2511          first: !0
2512        },
2513        " ": {
2514          dir: "parentNode"
2515        },
2516        "+": {
2517          dir: "previousSibling",
2518          first: !0
2519        },
2520        "~": {
2521          dir: "previousSibling"
2522        }
2523      },
2524      preFilter: {
2525        ATTR: function (e) {
2526          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)
2527        },
2528        CHILD: function (e) {
2529          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
2530        },
2531        PSEUDO: function (e) {
2532          var t, n = !e[6] && e[2];
2533          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))
2534        }
2535      },
2536      filter: {
2537        TAG: function (e) {
2538          var t = e.replace(be, we).toLowerCase();
2539          return "*" === e ? function () {
2540            return !0
2541          } : function (e) {
2542            return e.nodeName && e.nodeName.toLowerCase() === t
2543          }
2544        },
2545        CLASS: function (e) {
2546          var t = $[e + " "];
2547          return t || (t = new RegExp("(^|" + ne + ")" + e + "(" + ne + "|$)")) && $(e, function (e) {
2548            return t.test("string" == typeof e.className && e.className || "undefined" != typeof e.getAttribute && e.getAttribute("class") || "")
2549          })
2550        },
2551        ATTR: function (e, n, r) {
2552          return function (i) {
2553            var o = t.attr(i, e);
2554            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 + "-"))
2555          }
2556        },
2557        CHILD: function (e, t, n, r, i) {
2558          var o = "nth" !== e.slice(0, 3),
2559            a = "last" !== e.slice(-4),
2560            s = "of-type" === t;
2561          return 1 === r && 0 === i ? function (e) {
2562            return !!e.parentNode
2563          } : function (t, n, u) {
2564            var l, c, f, d, p, h, g = o !== a ? "nextSibling" : "previousSibling",
2565              m = t.parentNode,
2566              y = s && t.nodeName.toLowerCase(),
2567              v = !u && !s,
2568              x = !1;
2569            if (m) {
2570              if (o) {
2571                for (; g;) {
2572                  for (d = t; d = d[g];)
2573                    if (s ? d.nodeName.toLowerCase() === y : 1 === d.nodeType) return !1;
2574                  h = g = "only" === e && !h && "nextSibling"
2575                }
2576                return !0
2577              }
2578              if (h = [a ? m.firstChild : m.lastChild], a && v) {
2579                for (d = m, f = d[P] || (d[P] = {}), c = f[d.uniqueID] || (f[d.uniqueID] = {}), l = c[e] || [], p = l[0] === W && l[1], x = p && l[2],
2580                  d = p && m.childNodes[p]; d = ++p && d && d[g] || (x = p = 0) || h.pop();)
2581                  if (1 === d.nodeType && ++x && d === t) {
2582                    c[e] = [W, p, x];
2583                    break
2584                  }
2585              } 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)
2586                for (;
2587                  (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)););
2588              return x -= i, x === r || x % r === 0 && x / r >= 0
2589            }
2590          }
2591        },
2592        PSEUDO: function (e, n) {
2593          var i, o = T.pseudos[e] || T.setFilters[e.toLowerCase()] || t.error("unsupported pseudo: " + e);
2594          return o[P] ? o(n) : o.length > 1 ? (i = [e, e, "", n], T.setFilters.hasOwnProperty(e.toLowerCase()) ? r(function (e, t) {
2595            for (var r, i = o(e, n), a = i.length; a--;) r = ee(e, i[a]), e[r] = !(t[r] = i[a])
2596          }) : function (e) {
2597            return o(e, 0, i)
2598          }) : o
2599        }
2600      },
2601      pseudos: {
2602        not: r(function (e) {
2603          var t = [],
2604            n = [],
2605            i = k(e.replace(se, "$1"));
2606          return i[P] ? r(function (e, t, n, r) {
2607            for (var o, a = i(e, null, r, []), s = e.length; s--;)(o = a[s]) && (e[s] = !(t[s] = o))
2608          }) : function (e, r, o) {
2609            return t[0] = e, i(t, null, o, n), t[0] = null, !n.pop()
2610          }
2611        }),
2612        has: r(function (e) {
2613          return function (n) {
2614            return t(e, n).length > 0
2615          }
2616        }),
2617        contains: r(function (e) {
2618          return e = e.replace(be, we),
2619            function (t) {
2620              return (t.textContent || t.innerText || C(t)).indexOf(e) > -1
2621            }
2622        }),
2623        lang: r(function (e) {
2624          return de.test(e || "") || t.error("unsupported lang: " + e), e = e.replace(be, we).toLowerCase(),
2625            function (t) {
2626              var n;
2627              do
2628                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);
2629              return !1
2630            }
2631        }),
2632        target: function (t) {
2633          var n = e.location && e.location.hash;
2634          return n && n.slice(1) === t.id
2635        },
2636        root: function (e) {
2637          return e === q
2638        },
2639        focus: function (e) {
2640          return e === H.activeElement && (!H.hasFocus || H.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
2641        },
2642        enabled: function (e) {
2643          return e.disabled === !1
2644        },
2645        disabled: function (e) {
2646          return e.disabled === !0
2647        },
2648        checked: function (e) {
2649          var t = e.nodeName.toLowerCase();
2650          return "input" === t && !!e.checked || "option" === t && !!e.selected
2651        },
2652        selected: function (e) {
2653          return e.parentNode && e.parentNode.selectedIndex, e.selected === !0
2654        },
2655        empty: function (e) {
2656          for (e = e.firstChild; e; e = e.nextSibling)
2657            if (e.nodeType < 6) return !1;
2658          return !0
2659        },
2660        parent: function (e) {
2661          return !T.pseudos.empty(e)
2662        },
2663        header: function (e) {
2664          return ge.test(e.nodeName)
2665        },
2666        input: function (e) {
2667          return he.test(e.nodeName)
2668        },
2669        button: function (e) {
2670          var t = e.nodeName.toLowerCase();
2671          return "input" === t && "button" === e.type || "button" === t
2672        },
2673        text: function (e) {
2674          var t;
2675          return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase())
2676        },
2677        first: l(function () {
2678          return [0]
2679        }),
2680        last: l(function (e, t) {
2681          return [t - 1]
2682        }),
2683        eq: l(function (e, t, n) {
2684          return [n < 0 ? n + t : n]
2685        }),
2686        even: l(function (e, t) {
2687          for (var n = 0; n < t; n += 2) e.push(n);
2688          return e
2689        }),
2690        odd: l(function (e, t) {
2691          for (var n = 1; n < t; n += 2) e.push(n);
2692          return e
2693        }),
2694        lt: l(function (e, t, n) {
2695          for (var r = n < 0 ? n + t : n; --r >= 0;) e.push(r);
2696          return e
2697        }),
2698        gt: l(function (e, t, n) {
2699          for (var r = n < 0 ? n + t : n; ++r < t;) e.push(r);
2700          return e
2701        })
2702      }
2703    }, T.pseudos.nth = T.pseudos.eq;
2704    for (b in {
2705        radio: !0,
2706        checkbox: !0,
2707        file: !0,
2708        password: !0,
2709        image: !0
2710      }) T.pseudos[b] = s(b);
2711    for (b in {
2712        submit: !0,
2713        reset: !0
2714      }) T.pseudos[b] = u(b);
2715    return f.prototype = T.filters = T.pseudos, T.setFilters = new f, N = t.tokenize = function (e, n) {
2716      var r, i, o, a, s, u, l, c = z[e + " "];
2717      if (c) return n ? 0 : c.slice(0);
2718      for (s = e, u = [], l = T.preFilter; s;) {
2719        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({
2720          value: r,
2721          type: i[0].replace(se, " ")
2722        }), s = s.slice(r.length));
2723        for (a in T.filter) !(i = pe[a].exec(s)) || l[a] && !(i = l[a](i)) || (r = i.shift(), o.push({
2724          value: r,
2725          type: a,
2726          matches: i
2727        }), s = s.slice(r.length));
2728        if (!r) break
2729      }
2730      return n ? s.length : s ? t.error(e) : z(e, u).slice(0)
2731    }, k = t.compile = function (e, t) {
2732      var n, r = [],
2733        i = [],
2734        o = X[e + " "];
2735      if (!o) {
2736        for (t || (t = N(e)), n = t.length; n--;) o = v(t[n]), o[P] ? r.push(o) : i.push(o);
2737        o = X(e, x(i, r)), o.selector = e
2738      }
2739      return o
2740    }, S = t.select = function (e, t, n, r) {
2741      var i, o, a, s, u, l = "function" == typeof e && e,
2742        f = !r && N(e = l.selector || e);
2743      if (n = n || [], 1 === f.length) {
2744        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]) {
2745          if (t = (T.find.ID(a.matches[0].replace(be, we), t) || [])[0], !t) return n;
2746          l && (t = t.parentNode), e = e.slice(o.shift().value.length)
2747        }
2748        for (i = pe.needsContext.test(e) ? 0 : o.length; i-- && (a = o[i], !T.relative[s = a.type]);)
2749          if ((u = T.find[s]) && (r = u(a.matches[0].replace(be, we), ve.test(o[0].type) && c(t.parentNode) || t))) {
2750            if (o.splice(i, 1), e = r.length && d(o), !e) return Q.apply(n, r), n;
2751            break
2752          }
2753      }
2754      return (l || k(e, f))(r, t, !_, n, !t || ve.test(e) && c(t.parentNode) || t), n
2755    }, w.sortStable = P.split("").sort(U).join("") === P, w.detectDuplicates = !!j, L(), w.sortDetached = i(function (e) {
2756      return 1 & e.compareDocumentPosition(H.createElement("div"))
2757    }), i(function (e) {
2758      return e.innerHTML = "<a href='#'></a>", "#" === e.firstChild.getAttribute("href")
2759    }) || o("type|href|height|width", function (e, t, n) {
2760      if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2)
2761    }), w.attributes && i(function (e) {
2762      return e.innerHTML = "<input/>", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value")
2763    }) || o("value", function (e, t, n) {
2764      if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue
2765    }), i(function (e) {
2766      return null == e.getAttribute("disabled")
2767    }) || o(te, function (e, t, n) {
2768      var r;
2769      if (!n) return e[t] === !0 ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null
2770    }), t
2771  }(e);
2772  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;
2773  var xe = function (e, t, n) {
2774      for (var r = [], i = void 0 !== n;
2775        (e = e[t]) && 9 !== e.nodeType;)
2776        if (1 === e.nodeType) {
2777          if (i && pe(e).is(n)) break;
2778          r.push(e)
2779        } return r
2780    },
2781    be = function (e, t) {
2782      for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);
2783      return n
2784    },
2785    we = pe.expr.match.needsContext,
2786    Te = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,
2787    Ce = /^.[^:#\[\.,]*$/;
2788  pe.filter = function (e, t, n) {
2789    var r = t[0];
2790    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) {
2791      return 1 === e.nodeType
2792    }))
2793  }, pe.fn.extend({
2794    find: function (e) {
2795      var t, n = [],
2796        r = this,
2797        i = r.length;
2798      if ("string" != typeof e) return this.pushStack(pe(e).filter(function () {
2799        for (t = 0; t < i; t++)
2800          if (pe.contains(r[t], this)) return !0
2801      }));
2802      for (t = 0; t < i; t++) pe.find(e, r[t], n);
2803      return n = this.pushStack(i > 1 ? pe.unique(n) : n), n.selector = this.selector ? this.selector + " " + e : e, n
2804    },
2805    filter: function (e) {
2806      return this.pushStack(r(this, e || [], !1))
2807    },
2808    not: function (e) {
2809      return this.pushStack(r(this, e || [], !0))
2810    },
2811    is: function (e) {
2812      return !!r(this, "string" == typeof e && we.test(e) ? pe(e) : e || [], !1).length
2813    }
2814  });
2815  var Ee, Ne = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
2816    ke = pe.fn.init = function (e, t, n) {
2817      var r, i;
2818      if (!e) return this;
2819      if (n = n || Ee, "string" == typeof e) {
2820        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);
2821        if (r[1]) {
2822          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))
2823            for (r in t) pe.isFunction(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
2824          return this
2825        }
2826        if (i = re.getElementById(r[2]), i && i.parentNode) {
2827          if (i.id !== r[2]) return Ee.find(e);
2828          this.length = 1, this[0] = i
2829        }
2830        return this.context = re, this.selector = e, this
2831      }
2832      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))
2833    };
2834  ke.prototype = pe.fn, Ee = pe(re);
2835  var Se = /^(?:parents|prev(?:Until|All))/,
2836    Ae = {
2837      children: !0,
2838      contents: !0,
2839      next: !0,
2840      prev: !0
2841    };
2842  pe.fn.extend({
2843    has: function (e) {
2844      var t, n = pe(e, this),
2845        r = n.length;
2846      return this.filter(function () {
2847        for (t = 0; t < r; t++)
2848          if (pe.contains(this, n[t])) return !0
2849      })
2850    },
2851    closest: function (e, t) {
2852      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++)
2853        for (n = this[r]; n && n !== t; n = n.parentNode)
2854          if (n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && pe.find.matchesSelector(n, e))) {
2855            o.push(n);
2856            break
2857          } return this.pushStack(o.length > 1 ? pe.uniqueSort(o) : o)
2858    },
2859    index: function (e) {
2860      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
2861    },
2862    add: function (e, t) {
2863      return this.pushStack(pe.uniqueSort(pe.merge(this.get(), pe(e, t))))
2864    },
2865    addBack: function (e) {
2866      return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
2867    }
2868  }), pe.each({
2869    parent: function (e) {
2870      var t = e.parentNode;
2871      return t && 11 !== t.nodeType ? t : null
2872    },
2873    parents: function (e) {
2874      return xe(e, "parentNode")
2875    },
2876    parentsUntil: function (e, t, n) {
2877      return xe(e, "parentNode", n)
2878    },
2879    next: function (e) {
2880      return i(e, "nextSibling")
2881    },
2882    prev: function (e) {
2883      return i(e, "previousSibling")
2884    },
2885    nextAll: function (e) {
2886      return xe(e, "nextSibling")
2887    },
2888    prevAll: function (e) {
2889      return xe(e, "previousSibling")
2890    },
2891    nextUntil: function (e, t, n) {
2892      return xe(e, "nextSibling", n)
2893    },
2894    prevUntil: function (e, t, n) {
2895      return xe(e, "previousSibling", n)
2896    },
2897    siblings: function (e) {
2898      return be((e.parentNode || {}).firstChild, e)
2899    },
2900    children: function (e) {
2901      return be(e.firstChild)
2902    },
2903    contents: function (e) {
2904      return pe.nodeName(e, "iframe") ? e.contentDocument || e.contentWindow.document : pe.merge([], e.childNodes)
2905    }
2906  }, function (e, t) {
2907    pe.fn[e] = function (n, r) {
2908      var i = pe.map(this, t, n);
2909      return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (i = pe.filter(r, i)), this.length > 1 && (Ae[e] || (i = pe.uniqueSort(i)), Se.test(e) && (i = i.reverse())), this.pushStack(i)
2910    }
2911  });
2912  var De = /\S+/g;
2913  pe.Callbacks = function (e) {
2914    e = "string" == typeof e ? o(e) : pe.extend({}, e);
2915    var t, n, r, i, a = [],
2916      s = [],
2917      u = -1,
2918      l = function () {
2919        for (i = e.once, r = t = !0; s.length; u = -1)
2920          for (n = s.shift(); ++u < a.length;) a[u].apply(n[0], n[1]) === !1 && e.stopOnFalse && (u = a.length, n = !1);
2921        e.memory || (n = !1), t = !1, i && (a = n ? [] : "")
2922      },
2923      c = {
2924        add: function () {
2925          return a && (n && !t && (u = a.length - 1, s.push(n)), function r(t) {
2926            pe.each(t, function (t, n) {
2927              pe.isFunction(n) ? e.unique && c.has(n) || a.push(n) : n && n.length && "string" !== pe.type(n) && r(n)
2928            })
2929          }(arguments), n && !t && l()), this
2930        },
2931        remove: function () {
2932          return pe.each(arguments, function (e, t) {
2933            for (var n;
2934              (n = pe.inArray(t, a, n)) > -1;) a.splice(n, 1), n <= u && u--
2935          }), this
2936        },
2937        has: function (e) {
2938          return e ? pe.inArray(e, a) > -1 : a.length > 0
2939        },
2940        empty: function () {
2941          return a && (a = []), this
2942        },
2943        disable: function () {
2944          return i = s = [], a = n = "", this
2945        },
2946        disabled: function () {
2947          return !a
2948        },
2949        lock: function () {
2950          return i = !0, n || c.disable(), this
2951        },
2952        locked: function () {
2953          return !!i
2954        },
2955        fireWith: function (e, n) {
2956          return i || (n = n || [], n = [e, n.slice ? n.slice() : n], s.push(n), t || l()), this
2957        },
2958        fire: function () {
2959          return c.fireWith(this, arguments), this
2960        },
2961        fired: function () {
2962          return !!r
2963        }
2964      };
2965    return c
2966  }, pe.extend({
2967    Deferred: function (e) {
2968      var t = [
2969          ["resolve", "done", pe.Callbacks("once memory"), "resolved"],
2970          ["reject", "fail", pe.Callbacks("once memory"), "rejected"],
2971          ["notify", "progress", pe.Callbacks("memory")]
2972        ],
2973        n = "pending",
2974        r = {
2975          state: function () {
2976            return n
2977          },
2978          always: function () {
2979            return i.done(arguments).fail(arguments), this
2980          },
2981          then: function () {
2982            var e = arguments;
2983            return pe.Deferred(function (n) {
2984              pe.each(t, function (t, o) {
2985                var a = pe.isFunction(e[t]) && e[t];
2986                i[o[1]](function () {
2987                  var e = a && a.apply(this, arguments);
2988                  e && pe.isFunction(e.promise) ? e.promise().progress(n.notify).done(n.resolve).fail(n.reject) : n[o[0] + "With"](this === r ? n.promise() : this, a ? [e] : arguments)
2989                })
2990              }), e = null
2991            }).promise()
2992          },
2993          promise: function (e) {
2994            return null != e ? pe.extend(e, r) : r
2995          }
2996        },
2997        i = {};
2998      return r.pipe = r.then, pe.each(t, function (e, o) {
2999        var a = o[2],
3000          s = o[3];
3001        r[o[1]] = a.add, s && a.add(function () {
3002          n = s
3003        }, t[1 ^ e][2].disable, t[2][2].lock), i[o[0]] = function () {
3004          return i[o[0] + "With"](this === i ? r : this, arguments), this
3005        }, i[o[0] + "With"] = a.fireWith
3006      }), r.promise(i), e && e.call(i, i), i
3007    },
3008    when: function (e) {
3009      var t, n, r, i = 0,
3010        o = ie.call(arguments),
3011        a = o.length,
3012        s = 1 !== a || e && pe.isFunction(e.promise) ? a : 0,
3013        u = 1 === s ? e : pe.Deferred(),
3014        l = function (e, n, r) {
3015          return function (i) {
3016            n[e] = this, r[e] = arguments.length > 1 ? ie.call(arguments) : i, r === t ? u.notifyWith(n, r) : --s || u.resolveWith(n, r)
3017          }
3018        };
3019      if (a > 1)
3020        for (t = new Array(a), n = new Array(a), r = new Array(a); i < a; i++) o[i] && pe.isFunction(o[i].promise) ? o[i].promise().progress(l(i, n, t)).done(l(i, r, o)).fail(u.reject) : --s;
3021      return s || u.resolveWith(r, o), u.promise()
3022    }
3023  });
3024  var je;
3025  pe.fn.ready = function (e) {
3026    return pe.ready.promise().done(e), this
3027  }, pe.extend({
3028    isReady: !1,
3029    readyWait: 1,
3030    holdReady: function (e) {
3031      e ? pe.readyWait++ : pe.ready(!0)
3032    },
3033    ready: function (e) {
3034      (e === !0 ? --pe.readyWait : pe.isReady) || (pe.isReady = !0, e !== !0 && --pe.readyWait > 0 || (je.resolveWith(re, [pe]), pe.fn.triggerHandler && (pe(re).triggerHandler("ready"), pe(re).off("ready"))))
3035    }
3036  }), pe.ready.promise = function (t) {
3037    if (!je)
3038      if (je = pe.Deferred(), "complete" === re.readyState || "loading" !== re.readyState && !re.documentElement.doScroll) e.setTimeout(pe.ready);
3039      else if (re.addEventListener) re.addEventListener("DOMContentLoaded", s), e.addEventListener("load", s);
3040    else {
3041      re.attachEvent("onreadystatechange", s), e.attachEvent("onload", s);
3042      var n = !1;
3043      try {
3044        n = null == e.frameElement && re.documentElement
3045      } catch (r) {}
3046      n && n.doScroll && ! function i() {
3047        if (!pe.isReady) {
3048          try {
3049            n.doScroll("left")
3050          } catch (t) {
3051            return e.setTimeout(i, 50)
3052          }
3053          a(), pe.ready()
3054        }
3055      }()
3056    }
3057    return je.promise(t)
3058  }, pe.ready.promise();
3059  var Le;
3060  for (Le in pe(fe)) break;
3061  fe.ownFirst = "0" === Le, fe.inlineBlockNeedsLayout = !1, pe(function () {
3062      var e, t, n, r;
3063      n = re.getElementsByTagName("body")[0], n && n.style && (t = re.createElement("div"), r = re.createElement("div"), r.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendChild(r).appendChild(t), "undefined" != typeof t.style.zoom && (t.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", fe.inlineBlockNeedsLayout = e = 3 === t.offsetWidth, e && (n.style.zoom = 1)), n.removeChild(r))
3064    }),
3065    function () {
3066      var e = re.createElement("div");
3067      fe.deleteExpando = !0;
3068      try {
3069        delete e.test
3070      } catch (t) {
3071        fe.deleteExpando = !1
3072      }
3073      e = null
3074    }();
3075  var He = function (e) {
3076      var t = pe.noData[(e.nodeName + " ").toLowerCase()],
3077        n = +e.nodeType || 1;
3078      return (1 === n || 9 === n) && (!t || t !== !0 && e.getAttribute("classid") === t)
3079    },
3080    qe = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
3081    _e = /([A-Z])/g;
3082  pe.extend({
3083      cache: {},
3084      noData: {
3085        "applet ": !0,
3086        "embed ": !0,
3087        "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
3088      },
3089      hasData: function (e) {
3090        return e = e.nodeType ? pe.cache[e[pe.expando]] : e[pe.expando], !!e && !l(e)
3091      },
3092      data: function (e, t, n) {
3093        return c(e, t, n)
3094      },
3095      removeData: function (e, t) {
3096        return f(e, t)
3097      },
3098      _data: function (e, t, n) {
3099        return c(e, t, n, !0)
3100      },
3101      _removeData: function (e, t) {
3102        return f(e, t, !0)
3103      }
3104    }), pe.fn.extend({
3105      data: function (e, t) {
3106        var n, r, i, o = this[0],
3107          a = o && o.attributes;
3108        if (void 0 === e) {
3109          if (this.length && (i = pe.data(o), 1 === o.nodeType && !pe._data(o, "parsedAttrs"))) {
3110            for (n = a.length; n--;) a[n] && (r = a[n].name, 0 === r.indexOf("data-") && (r = pe.camelCase(r.slice(5)), u(o, r, i[r])));
3111            pe._data(o, "parsedAttrs", !0)
3112          }
3113          return i
3114        }
3115        return "object" == typeof e ? this.each(function () {
3116          pe.data(this, e)
3117        }) : arguments.length > 1 ? this.each(function () {
3118          pe.data(this, e, t)
3119        }) : o ? u(o, e, pe.data(o, e)) : void 0
3120      },
3121      removeData: function (e) {
3122        return this.each(function () {
3123          pe.removeData(this, e)
3124        })
3125      }
3126    }), pe.extend({
3127      queue: function (e, t, n) {
3128        var r;
3129        if (e) return t = (t || "fx") + "queue", r = pe._data(e, t), n && (!r || pe.isArray(n) ? r = pe._data(e, t, pe.makeArray(n)) : r.push(n)), r || []
3130      },
3131      dequeue: function (e, t) {
3132        t = t || "fx";
3133        var n = pe.queue(e, t),
3134          r = n.length,
3135          i = n.shift(),
3136          o = pe._queueHooks(e, t),
3137          a = function () {
3138            pe.dequeue(e, t)
3139          };
3140        "inprogress" === i && (i = n.shift(), r--), i && ("fx" === t && n.unshift("inprogress"), delete o.stop, i.call(e, a, o)), !r && o && o.empty.fire()
3141      },
3142      _queueHooks: function (e, t) {
3143        var n = t + "queueHooks";
3144        return pe._data(e, n) || pe._data(e, n, {
3145          empty: pe.Callbacks("once memory").add(function () {
3146            pe._removeData(e, t + "queue"), pe._removeData(e, n)
3147          })
3148        })
3149      }
3150    }), pe.fn.extend({
3151      queue: function (e, t) {
3152        var n = 2;
3153        return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? pe.queue(this[0], e) : void 0 === t ? this : this.each(function () {
3154          var n = pe.queue(this, e, t);
3155          pe._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && pe.dequeue(this, e)
3156        })
3157      },
3158      dequeue: function (e) {
3159        return this.each(function () {
3160          pe.dequeue(this, e)
3161        })
3162      },
3163      clearQueue: function (e) {
3164        return this.queue(e || "fx", [])
3165      },
3166      promise: function (e, t) {
3167        var n, r = 1,
3168          i = pe.Deferred(),
3169          o = this,
3170          a = this.length,
3171          s = function () {
3172            --r || i.resolveWith(o, [o])
3173          };
3174        for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; a--;) n = pe._data(o[a], e + "queueHooks"), n && n.empty && (r++, n.empty.add(s));
3175        return s(), i.promise(t)
3176      }
3177    }),
3178    function () {
3179      var e;
3180      fe.shrinkWrapBlocks = function () {
3181        if (null != e) return e;
3182        e = !1;
3183        var t, n, r;
3184        return n = re.getElementsByTagName("body")[0], n && n.style ? (t = re.createElement("div"), r = re.createElement("div"), r.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendChild(r).appendChild(t), "undefined" != typeof t.style.zoom && (t.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1", t.appendChild(re.createElement("div")).style.width = "5px", e = 3 !== t.offsetWidth), n.removeChild(r), e) : void 0
3185      }
3186    }();
3187  var Fe = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
3188    Me = new RegExp("^(?:([+-])=|)(" + Fe + ")([a-z%]*)$", "i"),
3189    Oe = ["Top", "Right", "Bottom", "Left"],
3190    Re = function (e, t) {
3191      return e = t || e, "none" === pe.css(e, "display") || !pe.contains(e.ownerDocument, e)
3192    },
3193    Pe = function (e, t, n, r, i, o, a) {
3194      var s = 0,
3195        u = e.length,
3196        l = null == n;
3197      if ("object" === pe.type(n)) {
3198        i = !0;
3199        for (s in n) Pe(e, t, s, n[s], !0, o, a)
3200      } else if (void 0 !== r && (i = !0, pe.isFunction(r) || (a = !0), l && (a ? (t.call(e, r), t = null) : (l = t, t = function (e, t, n) {
3201          return l.call(pe(e), n)
3202        })), t))
3203        for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n)));
3204      return i ? e : l ? t.call(e) : u ? t(e[0], n) : o
3205    },
3206    Be = /^(?:checkbox|radio)$/i,
3207    We = /<([\w:-]+)/,
3208    Ie = /^$|\/(?:java|ecma)script/i,
3209    $e = /^\s+/,
3210    ze = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";
3211  ! function () {
3212    var e = re.createElement("div"),
3213      t = re.createDocumentFragment(),
3214      n = re.createElement("input");
3215    e.innerHTML = "  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", fe.leadingWhitespace = 3 === e.firstChild.nodeType, fe.tbody = !e.getElementsByTagName("tbody").length, fe.htmlSerialize = !!e.getElementsByTagName("link").length, fe.html5Clone = "<:nav></:nav>" !== re.createElement("nav").cloneNode(!0).outerHTML, n.type = "checkbox", n.checked = !0, t.appendChild(n), fe.appendChecked = n.checked, e.innerHTML = "<textarea>x</textarea>", fe.noCloneChecked = !!e.cloneNode(!0).lastChild.defaultValue, t.appendChild(e), n = re.createElement("input"), n.setAttribute("type", "radio"), n.setAttribute("checked", "checked"), n.setAttribute("name", "t"), e.appendChild(n), fe.checkClone = e.cloneNode(!0).cloneNode(!0).lastChild.checked, fe.noCloneEvent = !!e.addEventListener, e[pe.expando] = 1, fe.attributes = !e.getAttribute(pe.expando)
3216  }();
3217  var Xe = {
3218    option: [1, "<select multiple='multiple'>", "</select>"],
3219    legend: [1, "<fieldset>", "</fieldset>"],
3220    area: [1, "<map>", "</map>"],
3221    param: [1, "<object>", "</object>"],
3222    thead: [1, "<table>", "</table>"],
3223    tr: [2, "<table><tbody>", "</tbody></table>"],
3224    col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
3225    td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
3226    _default: fe.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
3227  };
3228  Xe.optgroup = Xe.option, Xe.tbody = Xe.tfoot = Xe.colgroup = Xe.caption = Xe.thead, Xe.th = Xe.td;
3229  var Ue = /<|&#?\w+;/,
3230    Ve = /<tbody/i;
3231  ! function () {
3232    var t, n, r = re.createElement("div");
3233    for (t in {
3234        submit: !0,
3235        change: !0,
3236        focusin: !0
3237      }) n = "on" + t, (fe[t] = n in e) || (r.setAttribute(n, "t"), fe[t] = r.attributes[n].expando === !1);
3238    r = null
3239  }();
3240  var Ye = /^(?:input|select|textarea)$/i,
3241    Je = /^key/,
3242    Ge = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
3243    Ke = /^(?:focusinfocus|focusoutblur)$/,
3244    Qe = /^([^.]*)(?:\.(.+)|)/;
3245  pe.event = {
3246    global: {},
3247    add: function (e, t, n, r, i) {
3248      var o, a, s, u, l, c, f, d, p, h, g, m = pe._data(e);
3249      if (m) {
3250        for (n.handler && (u = n, n = u.handler, i = u.selector), n.guid || (n.guid = pe.guid++), (a = m.events) || (a = m.events = {}), (c = m.handle) || (c = m.handle = function (e) {
3251            return "undefined" == typeof pe || e && pe.event.triggered === e.type ? void 0 : pe.event.dispatch.apply(c.elem, arguments)
3252          }, c.elem = e), t = (t || "").match(De) || [""], s = t.length; s--;) o = Qe.exec(t[s]) || [], p = g = o[1], h = (o[2] || "").split(".").sort(), p && (l = pe.event.special[p] || {}, p = (i ? l.delegateType : l.bindType) || p, l = pe.event.special[p] || {}, f = pe.extend({
3253          type: p,
3254          origType: g,
3255          data: r,
3256          handler: n,
3257          guid: n.guid,
3258          selector: i,
3259          needsContext: i && pe.expr.match.needsContext.test(i),
3260          namespace: h.join(".")
3261        }, u), (d = a[p]) || (d = a[p] = [], d.delegateCount = 0, l.setup && l.setup.call(e, r, h, c) !== !1 || (e.addEventListener ? e.addEventListener(p, c, !1) : e.attachEvent && e.attachEvent("on" + p, c))), l.add && (l.add.call(e, f), f.handler.guid || (f.handler.guid = n.guid)), i ? d.splice(d.delegateCount++, 0, f) : d.push(f), pe.event.global[p] = !0);
3262        e = null
3263      }
3264    },
3265    remove: function (e, t, n, r, i) {
3266      var o, a, s, u, l, c, f, d, p, h, g, m = pe.hasData(e) && pe._data(e);
3267      if (m && (c = m.events)) {
3268        for (t = (t || "").match(De) || [""], l = t.length; l--;)
3269          if (s = Qe.exec(t[l]) || [], p = g = s[1], h = (s[2] || "").split(".").sort(), p) {
3270            for (f = pe.event.special[p] || {}, p = (r ? f.delegateType : f.bindType) || p, d = c[p] || [], s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), u = o = d.length; o--;) a = d[o], !i && g !== a.origType || n && n.guid !== a.guid || s && !s.test(a.namespace) || r && r !== a.selector && ("**" !== r || !a.selector) || (d.splice(o, 1), a.selector && d.delegateCount--, f.remove && f.remove.call(e, a));
3271            u && !d.length && (f.teardown && f.teardown.call(e, h, m.handle) !== !1 || pe.removeEvent(e, p, m.handle), delete c[p])
3272          } else
3273            for (p in c) pe.event.remove(e, p + t[l], n, r, !0);
3274        pe.isEmptyObject(c) && (delete m.handle, pe._removeData(e, "events"))
3275      }
3276    },
3277    trigger: function (t, n, r, i) {
3278      var o, a, s, u, l, c, f, d = [r || re],
3279        p = ce.call(t, "type") ? t.type : t,
3280        h = ce.call(t, "namespace") ? t.namespace.split(".") : [];
3281      if (s = c = r = r || re, 3 !== r.nodeType && 8 !== r.nodeType && !Ke.test(p + pe.event.triggered) && (p.indexOf(".") > -1 && (h = p.split("."), p = h.shift(), h.sort()), a = p.indexOf(":") < 0 && "on" + p, t = t[pe.expando] ? t : new pe.Event(p, "object" == typeof t && t), t.isTrigger = i ? 2 : 3, t.namespace = h.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), n = null == n ? [t] : pe.makeArray(n, [t]), l = pe.event.special[p] || {}, i || !l.trigger || l.trigger.apply(r, n) !== !1)) {
3282        if (!i && !l.noBubble && !pe.isWindow(r)) {
3283          for (u = l.delegateType || p, Ke.test(u + p) || (s = s.parentNode); s; s = s.parentNode) d.push(s), c = s;
3284          c === (r.ownerDocument || re) && d.push(c.defaultView || c.parentWindow || e)
3285        }
3286        for (f = 0;
3287          (s = d[f++]) && !t.isPropagationStopped();) t.type = f > 1 ? u : l.bindType || p, o = (pe._data(s, "events") || {})[t.type] && pe._data(s, "handle"), o && o.apply(s, n), o = a && s[a], o && o.apply && He(s) && (t.result = o.apply(s, n), t.result === !1 && t.preventDefault());
3288        if (t.type = p, !i && !t.isDefaultPrevented() && (!l._default || l._default.apply(d.pop(), n) === !1) && He(r) && a && r[p] && !pe.isWindow(r)) {
3289          c = r[a], c && (r[a] = null), pe.event.triggered = p;
3290          try {
3291            r[p]()
3292          } catch (g) {}
3293          pe.event.triggered = void 0, c && (r[a] = c)
3294        }
3295        return t.result
3296      }
3297    },
3298    dispatch: function (e) {
3299      e = pe.event.fix(e);
3300      var t, n, r, i, o, a = [],
3301        s = ie.call(arguments),
3302        u = (pe._data(this, "events") || {})[e.type] || [],
3303        l = pe.event.special[e.type] || {};
3304      if (s[0] = e, e.delegateTarget = this, !l.preDispatch || l.preDispatch.call(this, e) !== !1) {
3305        for (a = pe.event.handlers.call(this, e, u), t = 0;
3306          (i = a[t++]) && !e.isPropagationStopped();)
3307          for (e.currentTarget = i.elem, n = 0;
3308            (o = i.handlers[n++]) && !e.isImmediatePropagationStopped();) e.rnamespace && !e.rnamespace.test(o.namespace) || (e.handleObj = o, e.data = o.data, r = ((pe.event.special[o.origType] || {}).handle || o.handler).apply(i.elem, s), void 0 !== r && (e.result = r) === !1 && (e.preventDefault(), e.stopPropagation()));
3309        return l.postDispatch && l.postDispatch.call(this, e), e.result
3310      }
3311    },
3312    handlers: function (e, t) {
3313      var n, r, i, o, a = [],
3314        s = t.delegateCount,
3315        u = e.target;
3316      if (s && u.nodeType && ("click" !== e.type || isNaN(e.button) || e.button < 1))
3317        for (; u != this; u = u.parentNode || this)
3318          if (1 === u.nodeType && (u.disabled !== !0 || "click" !== e.type)) {
3319            for (r = [], n = 0; n < s; n++) o = t[n], i = o.selector + " ", void 0 === r[i] && (r[i] = o.needsContext ? pe(i, this).index(u) > -1 : pe.find(i, this, null, [u]).length), r[i] && r.push(o);
3320            r.length && a.push({
3321              elem: u,
3322              handlers: r
3323            })
3324          } return s < t.length && a.push({
3325        elem: this,
3326        handlers: t.slice(s)
3327      }), a
3328    },
3329    fix: function (e) {
3330      if (e[pe.expando]) return e;
3331      var t, n, r, i = e.type,
3332        o = e,
3333        a = this.fixHooks[i];
3334      for (a || (this.fixHooks[i] = a = Ge.test(i) ? this.mouseHooks : Je.test(i) ? this.keyHooks : {}), r = a.props ? this.props.concat(a.props) : this.props, e = new pe.Event(o), t = r.length; t--;) n = r[t], e[n] = o[n];
3335      return e.target || (e.target = o.srcElement || re), 3 === e.target.nodeType && (e.target = e.target.parentNode), e.metaKey = !!e.metaKey, a.filter ? a.filter(e, o) : e
3336    },
3337    props: "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
3338    fixHooks: {},
3339    keyHooks: {
3340      props: "char charCode key keyCode".split(" "),
3341      filter: function (e, t) {
3342        return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode), e
3343      }
3344    },
3345    mouseHooks: {
3346      props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
3347      filter: function (e, t) {
3348        var n, r, i, o = t.button,
3349          a = t.fromElement;
3350        return null == e.pageX && null != t.clientX && (r = e.target.ownerDocument || re, i = r.documentElement, n = r.body, e.pageX = t.clientX + (i && i.scrollLeft || n && n.scrollLeft || 0) - (i && i.clientLeft || n && n.clientLeft || 0), e.pageY = t.clientY + (i && i.scrollTop || n && n.scrollTop || 0) - (i && i.clientTop || n && n.clientTop || 0)), !e.relatedTarget && a && (e.relatedTarget = a === e.target ? t.toElement : a), e.which || void 0 === o || (e.which = 1 & o ? 1 : 2 & o ? 3 : 4 & o ? 2 : 0), e
3351      }
3352    },
3353    special: {
3354      load: {
3355        noBubble: !0
3356      },
3357      focus: {
3358        trigger: function () {
3359          if (this !== b() && this.focus) try {
3360            return this.focus(), !1
3361          } catch (e) {}
3362        },
3363        delegateType: "focusin"
3364      },
3365      blur: {
3366        trigger: function () {
3367          if (this === b() && this.blur) return this.blur(), !1
3368        },
3369        delegateType: "focusout"
3370      },
3371      click: {
3372        trigger: function () {
3373          if (pe.nodeName(this, "input") && "checkbox" === this.type && this.click) return this.click(), !1
3374        },
3375        _default: function (e) {
3376          return pe.nodeName(e.target, "a")
3377        }
3378      },
3379      beforeunload: {
3380        postDispatch: function (e) {
3381          void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result)
3382        }
3383      }
3384    },
3385    simulate: function (e, t, n) {
3386      var r = pe.extend(new pe.Event, n, {
3387        type: e,
3388        isSimulated: !0
3389      });
3390      pe.event.trigger(r, null, t), r.isDefaultPrevented() && n.preventDefault()
3391    }
3392  }, pe.removeEvent = re.removeEventListener ? function (e, t, n) {
3393    e.removeEventListener && e.removeEventListener(t, n)
3394  } : function (e, t, n) {
3395    var r = "on" + t;
3396    e.detachEvent && ("undefined" == typeof e[r] && (e[r] = null), e.detachEvent(r, n))
3397  }, pe.Event = function (e, t) {
3398    return this instanceof pe.Event ? (e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && e.returnValue === !1 ? v : x) : this.type = e, t && pe.extend(this, t), this.timeStamp = e && e.timeStamp || pe.now(), void(this[pe.expando] = !0)) : new pe.Event(e, t)
3399  }, pe.Event.prototype = {
3400    constructor: pe.Event,
3401    isDefaultPrevented: x,
3402    isPropagationStopped: x,
3403    isImmediatePropagationStopped: x,
3404    preventDefault: function () {
3405      var e = this.originalEvent;
3406      this.isDefaultPrevented = v, e && (e.preventDefault ? e.preventDefault() : e.returnValue = !1)
3407    },
3408    stopPropagation: function () {
3409      var e = this.originalEvent;
3410      this.isPropagationStopped = v, e && !this.isSimulated && (e.stopPropagation && e.stopPropagation(), e.cancelBubble = !0)
3411    },
3412    stopImmediatePropagation: function () {
3413      var e = this.originalEvent;
3414      this.isImmediatePropagationStopped = v, e && e.stopImmediatePropagation && e.stopImmediatePropagation(), this.stopPropagation()
3415    }
3416  }, pe.each({
3417    mouseenter: "mouseover",
3418    mouseleave: "mouseout",
3419    pointerenter: "pointerover",
3420    pointerleave: "pointerout"
3421  }, function (e, t) {
3422    pe.event.special[e] = {
3423      delegateType: t,
3424      bindType: t,
3425      handle: function (e) {
3426        var n, r = this,
3427          i = e.relatedTarget,
3428          o = e.handleObj;
3429        return i && (i === r || pe.contains(r, i)) || (e.type = o.origType, n = o.handler.apply(this, arguments), e.type = t), n
3430      }
3431    }
3432  }), fe.submit || (pe.event.special.submit = {
3433    setup: function () {
3434      return !pe.nodeName(this, "form") && void pe.event.add(this, "click._submit keypress._submit", function (e) {
3435        var t = e.target,
3436          n = pe.nodeName(t, "input") || pe.nodeName(t, "button") ? pe.prop(t, "form") : void 0;
3437        n && !pe._data(n, "submit") && (pe.event.add(n, "submit._submit", function (e) {
3438          e._submitBubble = !0
3439        }), pe._data(n, "submit", !0))
3440      })
3441    },
3442    postDispatch: function (e) {
3443      e._submitBubble && (delete e._submitBubble, this.parentNode && !e.isTrigger && pe.event.simulate("submit", this.parentNode, e))
3444    },
3445    teardown: function () {
3446      return !pe.nodeName(this, "form") && void pe.event.remove(this, "._submit")
3447    }
3448  }), fe.change || (pe.event.special.change = {
3449    setup: function () {
3450      return Ye.test(this.nodeName) ? ("checkbox" !== this.type && "radio" !== this.type || (pe.event.add(this, "propertychange._change", function (e) {
3451        "checked" === e.originalEvent.propertyName && (this._justChanged = !0)
3452      }), pe.event.add(this, "click._change", function (e) {
3453        this._justChanged && !e.isTrigger && (this._justChanged = !1), pe.event.simulate("change", this, e)
3454      })), !1) : void pe.event.add(this, "beforeactivate._change", function (e) {
3455        var t = e.target;
3456        Ye.test(t.nodeName) && !pe._data(t, "change") && (pe.event.add(t, "change._change", function (e) {
3457          !this.parentNode || e.isSimulated || e.isTrigger || pe.event.simulate("change", this.parentNode, e)
3458        }), pe._data(t, "change", !0))
3459      })
3460    },
3461    handle: function (e) {
3462      var t = e.target;
3463      if (this !== t || e.isSimulated || e.isTrigger || "radio" !== t.type && "checkbox" !== t.type) return e.handleObj.handler.apply(this, arguments)
3464    },
3465    teardown: function () {
3466      return pe.event.remove(this, "._change"), !Ye.test(this.nodeName)
3467    }
3468  }), fe.focusin || pe.each({
3469    focus: "focusin",
3470    blur: "focusout"
3471  }, function (e, t) {
3472    var n = function (e) {
3473      pe.event.simulate(t, e.target, pe.event.fix(e))
3474    };
3475    pe.event.special[t] = {
3476      setup: function () {
3477        var r = this.ownerDocument || this,
3478          i = pe._data(r, t);
3479        i || r.addEventListener(e, n, !0), pe._data(r, t, (i || 0) + 1)
3480      },
3481      teardown: function () {
3482        var r = this.ownerDocument || this,
3483          i = pe._data(r, t) - 1;
3484        i ? pe._data(r, t, i) : (r.removeEventListener(e, n, !0), pe._removeData(r, t))
3485      }
3486    }
3487  }), pe.fn.extend({
3488    on: function (e, t, n, r) {
3489      return w(this, e, t, n, r)
3490    },
3491    one: function (e, t, n, r) {
3492      return w(this, e, t, n, r, 1)
3493    },
3494    off: function (e, t, n) {
3495      var r, i;
3496      if (e && e.preventDefault && e.handleObj) return r = e.handleObj, pe(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this;
3497      if ("object" == typeof e) {
3498        for (i in e) this.off(i, t, e[i]);
3499        return this
3500      }
3501      return t !== !1 && "function" != typeof t || (n = t, t = void 0), n === !1 && (n = x), this.each(function () {
3502        pe.event.remove(this, e, n, t)
3503      })
3504    },
3505    trigger: function (e, t) {
3506      return this.each(function () {
3507        pe.event.trigger(e, t, this)
3508      })
3509    },
3510    triggerHandler: function (e, t) {
3511      var n = this[0];
3512      if (n) return pe.event.trigger(e, t, n, !0)
3513    }
3514  });
3515  var Ze = / jQuery\d+="(?:null|\d+)"/g,
3516    et = new RegExp("<(?:" + ze + ")[\\s/>]", "i"),
3517    tt = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,
3518    nt = /<script|<style|<link/i,
3519    rt = /checked\s*(?:[^=]|=\s*.checked.)/i,
3520    it = /^true\/(.*)/,
3521    ot = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
3522    at = p(re),
3523    st = at.appendChild(re.createElement("div"));
3524  pe.extend({
3525    htmlPrefilter: function (e) {
3526      return e.replace(tt, "<$1></$2>")
3527    },
3528    clone: function (e, t, n) {
3529      var r, i, o, a, s, u = pe.contains(e.ownerDocument, e);
3530      if (fe.html5Clone || pe.isXMLDoc(e) || !et.test("<" + e.nodeName + ">") ? o = e.cloneNode(!0) : (st.innerHTML = e.outerHTML, st.removeChild(o = st.firstChild)), !(fe.noCloneEvent && fe.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || pe.isXMLDoc(e)))
3531        for (r = h(o), s = h(e), a = 0; null != (i = s[a]); ++a) r[a] && k(i, r[a]);
3532      if (t)
3533        if (n)
3534          for (s = s || h(e), r = r || h(o), a = 0; null != (i = s[a]); a++) N(i, r[a]);
3535        else N(e, o);
3536      return r = h(o, "script"), r.length > 0 && g(r, !u && h(e, "script")), r = s = i = null, o
3537    },
3538    cleanData: function (e, t) {
3539      for (var n, r, i, o, a = 0, s = pe.expando, u = pe.cache, l = fe.attributes, c = pe.event.special; null != (n = e[a]); a++)
3540        if ((t || He(n)) && (i = n[s], o = i && u[i])) {
3541          if (o.events)
3542            for (r in o.events) c[r] ? pe.event.remove(n, r) : pe.removeEvent(n, r, o.handle);
3543          u[i] && (delete u[i], l || "undefined" == typeof n.removeAttribute ? n[s] = void 0 : n.removeAttribute(s), ne.push(i))
3544        }
3545    }
3546  }), pe.fn.extend({
3547    domManip: S,
3548    detach: function (e) {
3549      return A(this, e, !0)
3550    },
3551    remove: function (e) {
3552      return A(this, e)
3553    },
3554    text: function (e) {
3555      return Pe(this, function (e) {
3556        return void 0 === e ? pe.text(this) : this.empty().append((this[0] && this[0].ownerDocument || re).createTextNode(e))
3557      }, null, e, arguments.length)
3558    },
3559    append: function () {
3560      return S(this, arguments, function (e) {
3561        if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
3562          var t = T(this, e);
3563          t.appendChild(e)
3564        }
3565      })
3566    },
3567    prepend: function () {
3568      return S(this, arguments, function (e) {
3569        if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
3570          var t = T(this, e);
3571          t.insertBefore(e, t.firstChild)
3572        }
3573      })
3574    },
3575    before: function () {
3576      return S(this, arguments, function (e) {
3577        this.parentNode && this.parentNode.insertBefore(e, this)
3578      })
3579    },
3580    after: function () {
3581      return S(this, arguments, function (e) {
3582        this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
3583      })
3584    },
3585    empty: function () {
3586      for (var e, t = 0; null != (e = this[t]); t++) {
3587        for (1 === e.nodeType && pe.cleanData(h(e, !1)); e.firstChild;) e.removeChild(e.firstChild);
3588        e.options && pe.nodeName(e, "select") && (e.options.length = 0)
3589      }
3590      return this
3591    },
3592    clone: function (e, t) {
3593      return e = null != e && e, t = null == t ? e : t, this.map(function () {
3594        return pe.clone(this, e, t)
3595      })
3596    },
3597    html: function (e) {
3598      return Pe(this, function (e) {
3599        var t = this[0] || {},
3600          n = 0,
3601          r = this.length;
3602        if (void 0 === e) return 1 === t.nodeType ? t.innerHTML.replace(Ze, "") : void 0;
3603        if ("string" == typeof e && !nt.test(e) && (fe.htmlSerialize || !et.test(e)) && (fe.leadingWhitespace || !$e.test(e)) && !Xe[(We.exec(e) || ["", ""])[1].toLowerCase()]) {
3604          e = pe.htmlPrefilter(e);
3605          try {
3606            for (; n < r; n++) t = this[n] || {}, 1 === t.nodeType && (pe.cleanData(h(t, !1)), t.innerHTML = e);
3607            t = 0
3608          } catch (i) {}
3609        }
3610        t && this.empty().append(e)
3611      }, null, e, arguments.length)
3612    },
3613    replaceWith: function () {
3614      var e = [];
3615      return S(this, arguments, function (t) {
3616        var n = this.parentNode;
3617        pe.inArray(this, e) < 0 && (pe.cleanData(h(this)), n && n.replaceChild(t, this));
3618      }, e)
3619    }
3620  }), pe.each({
3621    appendTo: "append",
3622    prependTo: "prepend",
3623    insertBefore: "before",
3624    insertAfter: "after",
3625    replaceAll: "replaceWith"
3626  }, function (e, t) {
3627    pe.fn[e] = function (e) {
3628      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());
3629      return this.pushStack(i)
3630    }
3631  });
3632  var ut, lt = {
3633      HTML: "block",
3634      BODY: "block"
3635    },
3636    ct = /^margin/,
3637    ft = new RegExp("^(" + Fe + ")(?!px)[a-z%]+$", "i"),
3638    dt = function (e, t, n, r) {
3639      var i, o, a = {};
3640      for (o in t) a[o] = e.style[o], e.style[o] = t[o];
3641      i = n.apply(e, r || []);
3642      for (o in t) e.style[o] = a[o];
3643      return i
3644    },
3645    pt = re.documentElement;
3646  ! function () {
3647    function t() {
3648      var t, c, f = re.documentElement;
3649      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 || {
3650        width: "4px"
3651      }).width, l.style.marginRight = "50%", r = "4px" === (c || {
3652        marginRight: "4px"
3653      }).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>", l.childNodes[0].style.borderCollapse = "separate", 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)
3654    }
3655    var n, r, i, o, a, s, u = re.createElement("div"),
3656      l = re.createElement("div");
3657    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, {
3658      reliableHiddenOffsets: function () {
3659        return null == n && t(), o
3660      },
3661      boxSizingReliable: function () {
3662        return null == n && t(), i
3663      },
3664      pixelMarginRight: function () {
3665        return null == n && t(), r
3666      },
3667      pixelPosition: function () {
3668        return null == n && t(), n
3669      },
3670      reliableMarginRight: function () {
3671        return null == n && t(), a
3672      },
3673      reliableMarginLeft: function () {
3674        return null == n && t(), s
3675      }
3676    }))
3677  }();
3678  var ht, gt, mt = /^(top|right|bottom|left)$/;
3679  e.getComputedStyle ? (ht = function (t) {
3680    var n = t.ownerDocument.defaultView;
3681    return n && n.opener || (n = e), n.getComputedStyle(t)
3682  }, gt = function (e, t, n) {
3683    var r, i, o, a, s = e.style;
3684    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 + ""
3685  }) : pt.currentStyle && (ht = function (e) {
3686    return e.currentStyle
3687  }, gt = function (e, t, n) {
3688    var r, i, o, a, s = e.style;
3689    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"
3690  });
3691  var yt = /alpha\([^)]*\)/i,
3692    vt = /opacity\s*=\s*([^)]*)/i,
3693    xt = /^(none|table(?!-c[ea]).+)/,
3694    bt = new RegExp("^(" + Fe + ")(.*)$", "i"),
3695    wt = {
3696      position: "absolute",
3697      visibility: "hidden",
3698      display: "block"
3699    },
3700    Tt = {
3701      letterSpacing: "0",
3702      fontWeight: "400"
3703    },
3704    Ct = ["Webkit", "O", "Moz", "ms"],
3705    Et = re.createElement("div").style;
3706  pe.extend({
3707    cssHooks: {
3708      opacity: {
3709        get: function (e, t) {
3710          if (t) {
3711            var n = gt(e, "opacity");
3712            return "" === n ? "1" : n
3713          }
3714        }
3715      }
3716    },
3717    cssNumber: {
3718      animationIterationCount: !0,
3719      columnCount: !0,
3720      fillOpacity: !0,
3721      flexGrow: !0,
3722      flexShrink: !0,
3723      fontWeight: !0,
3724      lineHeight: !0,
3725      opacity: !0,
3726      order: !0,
3727      orphans: !0,
3728      widows: !0,
3729      zIndex: !0,
3730      zoom: !0
3731    },
3732    cssProps: {
3733      "float": fe.cssFloat ? "cssFloat" : "styleFloat"
3734    },
3735    style: function (e, t, n, r) {
3736      if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
3737        var i, o, a, s = pe.camelCase(t),
3738          u = e.style;
3739        if (t = pe.cssProps[s] || (pe.cssProps[s] = H(s) || s), a = pe.cssHooks[t] || pe.cssHooks[s], void 0 === n) return a && "get" in a && void 0 !== (i = a.get(e, !1, r)) ? i : u[t];
3740        if (o = typeof n, "string" === o && (i = Me.exec(n)) && i[1] && (n = d(e, t, i), o = "number"), null != n && n === n && ("number" === o && (n += i && i[3] || (pe.cssNumber[s] ? "" : "px")), fe.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (u[t] = "inherit"), !(a && "set" in a && void 0 === (n = a.set(e, n, r))))) try {
3741          u[t] = n
3742        } catch (l) {}
3743      }
3744    },
3745    css: function (e, t, n, r) {
3746      var i, o, a, s = pe.camelCase(t);
3747      return t = pe.cssProps[s] || (pe.cssProps[s] = H(s) || s), a = pe.cssHooks[t] || pe.cssHooks[s], a && "get" in a && (o = a.get(e, !0, n)), void 0 === o && (o = gt(e, t, r)), "normal" === o && t in Tt && (o = Tt[t]), "" === n || n ? (i = parseFloat(o), n === !0 || isFinite(i) ? i || 0 : o) : o
3748    }
3749  }), pe.each(["height", "width"], function (e, t) {
3750    pe.cssHooks[t] = {
3751      get: function (e, n, r) {
3752        if (n) return xt.test(pe.css(e, "display")) && 0 === e.offsetWidth ? dt(e, wt, function () {
3753          return M(e, t, r)
3754        }) : M(e, t, r)
3755      },
3756      set: function (e, n, r) {
3757        var i = r && ht(e);
3758        return _(e, n, r ? F(e, t, r, fe.boxSizing && "border-box" === pe.css(e, "boxSizing", !1, i), i) : 0)
3759      }
3760    }
3761  }), fe.opacity || (pe.cssHooks.opacity = {
3762    get: function (e, t) {
3763      return vt.test((t && e.currentStyle ? e.currentStyle.filter : e.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : t ? "1" : ""
3764    },
3765    set: function (e, t) {
3766      var n = e.style,
3767        r = e.currentStyle,
3768        i = pe.isNumeric(t) ? "alpha(opacity=" + 100 * t + ")" : "",
3769        o = r && r.filter || n.filter || "";
3770      n.zoom = 1, (t >= 1 || "" === t) && "" === pe.trim(o.replace(yt, "")) && n.removeAttribute && (n.removeAttribute("filter"), "" === t || r && !r.filter) || (n.filter = yt.test(o) ? o.replace(yt, i) : o + " " + i)
3771    }
3772  }), pe.cssHooks.marginRight = L(fe.reliableMarginRight, function (e, t) {
3773    if (t) return dt(e, {
3774      display: "inline-block"
3775    }, gt, [e, "marginRight"])
3776  }), pe.cssHooks.marginLeft = L(fe.reliableMarginLeft, function (e, t) {
3777    if (t) return (parseFloat(gt(e, "marginLeft")) || (pe.contains(e.ownerDocument, e) ? e.getBoundingClientRect().left - dt(e, {
3778      marginLeft: 0
3779    }, function () {
3780      return e.getBoundingClientRect().left
3781    }) : 0)) + "px"
3782  }), pe.each({
3783    margin: "",
3784    padding: "",
3785    border: "Width"
3786  }, function (e, t) {
3787    pe.cssHooks[e + t] = {
3788      expand: function (n) {
3789        for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) i[e + Oe[r] + t] = o[r] || o[r - 2] || o[0];
3790        return i
3791      }
3792    }, ct.test(e) || (pe.cssHooks[e + t].set = _)
3793  }), pe.fn.extend({
3794    css: function (e, t) {
3795      return Pe(this, function (e, t, n) {
3796        var r, i, o = {},
3797          a = 0;
3798        if (pe.isArray(t)) {
3799          for (r = ht(e), i = t.length; a < i; a++) o[t[a]] = pe.css(e, t[a], !1, r);
3800          return o
3801        }
3802        return void 0 !== n ? pe.style(e, t, n) : pe.css(e, t)
3803      }, e, t, arguments.length > 1)
3804    },
3805    show: function () {
3806      return q(this, !0)
3807    },
3808    hide: function () {
3809      return q(this)
3810    },
3811    toggle: function (e) {
3812      return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function () {
3813        Re(this) ? pe(this).show() : pe(this).hide()
3814      })
3815    }
3816  }), pe.Tween = O, O.prototype = {
3817    constructor: O,
3818    init: function (e, t, n, r, i, o) {
3819      this.elem = e, this.prop = n, this.easing = i || pe.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = o || (pe.cssNumber[n] ? "" : "px")
3820    },
3821    cur: function () {
3822      var e = O.propHooks[this.prop];
3823      return e && e.get ? e.get(this) : O.propHooks._default.get(this)
3824    },
3825    run: function (e) {
3826      var t, n = O.propHooks[this.prop];
3827      return this.options.duration ? this.pos = t = pe.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : O.propHooks._default.set(this), this
3828    }
3829  }, O.prototype.init.prototype = O.prototype, O.propHooks = {
3830    _default: {
3831      get: function (e) {
3832        var t;
3833        return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = pe.css(e.elem, e.prop, ""), t && "auto" !== t ? t : 0)
3834      },
3835      set: function (e) {
3836        pe.fx.step[e.prop] ? pe.fx.step[e.prop](e) : 1 !== e.elem.nodeType || null == e.elem.style[pe.cssProps[e.prop]] && !pe.cssHooks[e.prop] ? e.elem[e.prop] = e.now : pe.style(e.elem, e.prop, e.now + e.unit)
3837      }
3838    }
3839  }, O.propHooks.scrollTop = O.propHooks.scrollLeft = {
3840    set: function (e) {
3841      e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
3842    }
3843  }, pe.easing = {
3844    linear: function (e) {
3845      return e
3846    },
3847    swing: function (e) {
3848      return .5 - Math.cos(e * Math.PI) / 2
3849    },
3850    _default: "swing"
3851  }, pe.fx = O.prototype.init, pe.fx.step = {};
3852  var Nt, kt, St = /^(?:toggle|show|hide)$/,
3853    At = /queueHooks$/;
3854  pe.Animation = pe.extend($, {
3855      tweeners: {
3856        "*": [function (e, t) {
3857          var n = this.createTween(e, t);
3858          return d(n.elem, e, Me.exec(t), n), n
3859        }]
3860      },
3861      tweener: function (e, t) {
3862        pe.isFunction(e) ? (t = e, e = ["*"]) : e = e.match(De);
3863        for (var n, r = 0, i = e.length; r < i; r++) n = e[r], $.tweeners[n] = $.tweeners[n] || [], $.tweeners[n].unshift(t)
3864      },
3865      prefilters: [W],
3866      prefilter: function (e, t) {
3867        t ? $.prefilters.unshift(e) : $.prefilters.push(e)
3868      }
3869    }), pe.speed = function (e, t, n) {
3870      var r = e && "object" == typeof e ? pe.extend({}, e) : {
3871        complete: n || !n && t || pe.isFunction(e) && e,
3872        duration: e,
3873        easing: n && t || t && !pe.isFunction(t) && t
3874      };
3875      return r.duration = pe.fx.off ? 0 : "number" == typeof r.duration ? r.duration : r.duration in pe.fx.speeds ? pe.fx.speeds[r.duration] : pe.fx.speeds._default, null != r.queue && r.queue !== !0 || (r.queue = "fx"), r.old = r.complete, r.complete = function () {
3876        pe.isFunction(r.old) && r.old.call(this), r.queue && pe.dequeue(this, r.queue)
3877      }, r
3878    }, pe.fn.extend({
3879      fadeTo: function (e, t, n, r) {
3880        return this.filter(Re).css("opacity", 0).show().end().animate({
3881          opacity: t
3882        }, e, n, r)
3883      },
3884      animate: function (e, t, n, r) {
3885        var i = pe.isEmptyObject(e),
3886          o = pe.speed(t, n, r),
3887          a = function () {
3888            var t = $(this, pe.extend({}, e), o);
3889            (i || pe._data(this, "finish")) && t.stop(!0)
3890          };
3891        return a.finish = a, i || o.queue === !1 ? this.each(a) : this.queue(o.queue, a)
3892      },
3893      stop: function (e, t, n) {
3894        var r = function (e) {
3895          var t = e.stop;
3896          delete e.stop, t(n)
3897        };
3898        return "string" != typeof e && (n = t, t = e, e = void 0), t && e !== !1 && this.queue(e || "fx", []), this.each(function () {
3899          var t = !0,
3900            i = null != e && e + "queueHooks",
3901            o = pe.timers,
3902            a = pe._data(this);
3903          if (i) a[i] && a[i].stop && r(a[i]);
3904          else
3905            for (i in a) a[i] && a[i].stop && At.test(i) && r(a[i]);
3906          for (i = o.length; i--;) o[i].elem !== this || null != e && o[i].queue !== e || (o[i].anim.stop(n), t = !1, o.splice(i, 1));
3907          !t && n || pe.dequeue(this, e)
3908        })
3909      },
3910      finish: function (e) {
3911        return e !== !1 && (e = e || "fx"), this.each(function () {
3912          var t, n = pe._data(this),
3913            r = n[e + "queue"],
3914            i = n[e + "queueHooks"],
3915            o = pe.timers,
3916            a = r ? r.length : 0;
3917          for (n.finish = !0, pe.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = o.length; t--;) o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1));
3918          for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this);
3919          delete n.finish
3920        })
3921      }
3922    }), pe.each(["toggle", "show", "hide"], function (e, t) {
3923      var n = pe.fn[t];
3924      pe.fn[t] = function (e, r, i) {
3925        return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(P(t, !0), e, r, i)
3926      }
3927    }), pe.each({
3928      slideDown: P("show"),
3929      slideUp: P("hide"),
3930      slideToggle: P("toggle"),
3931      fadeIn: {
3932        opacity: "show"
3933      },
3934      fadeOut: {
3935        opacity: "hide"
3936      },
3937      fadeToggle: {
3938        opacity: "toggle"
3939      }
3940    }, function (e, t) {
3941      pe.fn[e] = function (e, n, r) {
3942        return this.animate(t, e, n, r)
3943      }
3944    }), pe.timers = [], pe.fx.tick = function () {
3945      var e, t = pe.timers,
3946        n = 0;
3947      for (Nt = pe.now(); n < t.length; n++) e = t[n], e() || t[n] !== e || t.splice(n--, 1);
3948      t.length || pe.fx.stop(), Nt = void 0
3949    }, pe.fx.timer = function (e) {
3950      pe.timers.push(e), e() ? pe.fx.start() : pe.timers.pop()
3951    }, pe.fx.interval = 13, pe.fx.start = function () {
3952      kt || (kt = e.setInterval(pe.fx.tick, pe.fx.interval))
3953    }, pe.fx.stop = function () {
3954      e.clearInterval(kt), kt = null
3955    }, pe.fx.speeds = {
3956      slow: 600,
3957      fast: 200,
3958      _default: 400
3959    }, pe.fn.delay = function (t, n) {
3960      return t = pe.fx ? pe.fx.speeds[t] || t : t, n = n || "fx", this.queue(n, function (n, r) {
3961        var i = e.setTimeout(n, t);
3962        r.stop = function () {
3963          e.clearTimeout(i)
3964        }
3965      })
3966    },
3967    function () {
3968      var e, t = re.createElement("input"),
3969        n = re.createElement("div"),
3970        r = re.createElement("select"),
3971        i = r.appendChild(re.createElement("option"));
3972      n = re.createElement("div"), n.setAttribute("className", "t"), n.innerHTML = "  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", e = n.getElementsByTagName("a")[0], t.setAttribute("type", "checkbox"), n.appendChild(t), e = n.getElementsByTagName("a")[0], e.style.cssText = "top:1px", fe.getSetAttribute = "t" !== n.className, fe.style = /top/.test(e.getAttribute("style")), fe.hrefNormalized = "/a" === e.getAttribute("href"), fe.checkOn = !!t.value, fe.optSelected = i.selected, fe.enctype = !!re.createElement("form").enctype, r.disabled = !0, fe.optDisabled = !i.disabled, t = re.createElement("input"), t.setAttribute("value", ""), fe.input = "" === t.getAttribute("value"), t.value = "t", t.setAttribute("type", "radio"), fe.radioValue = "t" === t.value
3973    }();
3974  var Dt = /\r/g,
3975    jt = /[\x20\t\r\n\f]+/g;
3976  pe.fn.extend({
3977    val: function (e) {
3978      var t, n, r, i = this[0]; {
3979        if (arguments.length) return r = pe.isFunction(e), this.each(function (n) {
3980          var i;
3981          1 === this.nodeType && (i = r ? e.call(this, n, pe(this).val()) : e, null == i ? i = "" : "number" == typeof i ? i += "" : pe.isArray(i) && (i = pe.map(i, function (e) {
3982            return null == e ? "" : e + ""
3983          })), t = pe.valHooks[this.type] || pe.valHooks[this.nodeName.toLowerCase()], t && "set" in t && void 0 !== t.set(this, i, "value") || (this.value = i))
3984        });
3985        if (i) return t = pe.valHooks[i.type] || pe.valHooks[i.nodeName.toLowerCase()], t && "get" in t && void 0 !== (n = t.get(i, "value")) ? n : (n = i.value, "string" == typeof n ? n.replace(Dt, "") : null == n ? "" : n)
3986      }
3987    }
3988  }), pe.extend({
3989    valHooks: {
3990      option: {
3991        get: function (e) {
3992          var t = pe.find.attr(e, "value");
3993          return null != t ? t : pe.trim(pe.text(e)).replace(jt, " ")
3994        }
3995      },
3996      select: {
3997        get: function (e) {
3998          for (var t, n, r = e.options, i = e.selectedIndex, o = "select-one" === e.type || i < 0, a = o ? null : [], s = o ? i + 1 : r.length, u = i < 0 ? s : o ? i : 0; u < s; u++)
3999            if (n = r[u], (n.selected || u === i) && (fe.optDisabled ? !n.disabled : null === n.getAttribute("disabled")) && (!n.parentNode.disabled || !pe.nodeName(n.parentNode, "optgroup"))) {
4000              if (t = pe(n).val(), o) return t;
4001              a.push(t)
4002            } return a
4003        },
4004        set: function (e, t) {
4005          for (var n, r, i = e.options, o = pe.makeArray(t), a = i.length; a--;)
4006            if (r = i[a], pe.inArray(pe.valHooks.option.get(r), o) > -1) try {
4007              r.selected = n = !0
4008            } catch (s) {
4009              r.scrollHeight
4010            } else r.selected = !1;
4011          return n || (e.selectedIndex = -1), i
4012        }
4013      }
4014    }
4015  }), pe.each(["radio", "checkbox"], function () {
4016    pe.valHooks[this] = {
4017      set: function (e, t) {
4018        if (pe.isArray(t)) return e.checked = pe.inArray(pe(e).val(), t) > -1
4019      }
4020    }, fe.checkOn || (pe.valHooks[this].get = function (e) {
4021      return null === e.getAttribute("value") ? "on" : e.value
4022    })
4023  });
4024  var Lt, Ht, qt = pe.expr.attrHandle,
4025    _t = /^(?:checked|selected)$/i,
4026    Ft = fe.getSetAttribute,
4027    Mt = fe.input;
4028  pe.fn.extend({
4029    attr: function (e, t) {
4030      return Pe(this, pe.attr, e, t, arguments.length > 1)
4031    },
4032    removeAttr: function (e) {
4033      return this.each(function () {
4034        pe.removeAttr(this, e)
4035      })
4036    }
4037  }), pe.extend({
4038    attr: function (e, t, n) {
4039      var r, i, o = e.nodeType;
4040      if (3 !== o && 8 !== o && 2 !== o) return "undefined" == typeof e.getAttribute ? pe.prop(e, t, n) : (1 === o && pe.isXMLDoc(e) || (t = t.toLowerCase(), i = pe.attrHooks[t] || (pe.expr.match.bool.test(t) ? Ht : Lt)), void 0 !== n ? null === n ? void pe.removeAttr(e, t) : i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : (e.setAttribute(t, n + ""), n) : i && "get" in i && null !== (r = i.get(e, t)) ? r : (r = pe.find.attr(e, t), null == r ? void 0 : r))
4041    },
4042    attrHooks: {
4043      type: {
4044        set: function (e, t) {
4045          if (!fe.radioValue && "radio" === t && pe.nodeName(e, "input")) {
4046            var n = e.value;
4047            return e.setAttribute("type", t), n && (e.value = n), t
4048          }
4049        }
4050      }
4051    },
4052    removeAttr: function (e, t) {
4053      var n, r, i = 0,
4054        o = t && t.match(De);
4055      if (o && 1 === e.nodeType)
4056        for (; n = o[i++];) r = pe.propFix[n] || n, pe.expr.match.bool.test(n) ? Mt && Ft || !_t.test(n) ? e[r] = !1 : e[pe.camelCase("default-" + n)] = e[r] = !1 : pe.attr(e, n, ""), e.removeAttribute(Ft ? n : r)
4057    }
4058  }), Ht = {
4059    set: function (e, t, n) {
4060      return t === !1 ? pe.removeAttr(e, n) : Mt && Ft || !_t.test(n) ? e.setAttribute(!Ft && pe.propFix[n] || n, n) : e[pe.camelCase("default-" + n)] = e[n] = !0, n
4061    }
4062  }, pe.each(pe.expr.match.bool.source.match(/\w+/g), function (e, t) {
4063    var n = qt[t] || pe.find.attr;
4064    Mt && Ft || !_t.test(t) ? qt[t] = function (e, t, r) {
4065      var i, o;
4066      return r || (o = qt[t], qt[t] = i, i = null != n(e, t, r) ? t.toLowerCase() : null, qt[t] = o), i
4067    } : qt[t] = function (e, t, n) {
4068      if (!n) return e[pe.camelCase("default-" + t)] ? t.toLowerCase() : null
4069    }
4070  }), Mt && Ft || (pe.attrHooks.value = {
4071    set: function (e, t, n) {
4072      return pe.nodeName(e, "input") ? void(e.defaultValue = t) : Lt && Lt.set(e, t, n)
4073    }
4074  }), Ft || (Lt = {
4075    set: function (e, t, n) {
4076      var r = e.getAttributeNode(n);
4077      if (r || e.setAttributeNode(r = e.ownerDocument.createAttribute(n)), r.value = t += "", "value" === n || t === e.getAttribute(n)) return t
4078    }
4079  }, qt.id = qt.name = qt.coords = function (e, t, n) {
4080    var r;
4081    if (!n) return (r = e.getAttributeNode(t)) && "" !== r.value ? r.value : null
4082  }, pe.valHooks.button = {
4083    get: function (e, t) {
4084      var n = e.getAttributeNode(t);
4085      if (n && n.specified) return n.value
4086    },
4087    set: Lt.set
4088  }, pe.attrHooks.contenteditable = {
4089    set: function (e, t, n) {
4090      Lt.set(e, "" !== t && t, n)
4091    }
4092  }, pe.each(["width", "height"], function (e, t) {
4093    pe.attrHooks[t] = {
4094      set: function (e, n) {
4095        if ("" === n) return e.setAttribute(t, "auto"), n
4096      }
4097    }
4098  })), fe.style || (pe.attrHooks.style = {
4099    get: function (e) {
4100      return e.style.cssText || void 0
4101    },
4102    set: function (e, t) {
4103      return e.style.cssText = t + ""
4104    }
4105  });
4106  var Ot = /^(?:input|select|textarea|button|object)$/i,
4107    Rt = /^(?:a|area)$/i;
4108  pe.fn.extend({
4109    prop: function (e, t) {
4110      return Pe(this, pe.prop, e, t, arguments.length > 1)
4111    },
4112    removeProp: function (e) {
4113      return e = pe.propFix[e] || e, this.each(function () {
4114        try {
4115          this[e] = void 0, delete this[e]
4116        } catch (t) {}
4117      })
4118    }
4119  }), pe.extend({
4120    prop: function (e, t, n) {
4121      var r, i, o = e.nodeType;
4122      if (3 !== o && 8 !== o && 2 !== o) return 1 === o && pe.isXMLDoc(e) || (t = pe.propFix[t] || t, i = pe.propHooks[t]), void 0 !== n ? i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : e[t] = n : i && "get" in i && null !== (r = i.get(e, t)) ? r : e[t]
4123    },
4124    propHooks: {
4125      tabIndex: {
4126        get: function (e) {
4127          var t = pe.find.attr(e, "tabindex");
4128          return t ? parseInt(t, 10) : Ot.test(e.nodeName) || Rt.test(e.nodeName) && e.href ? 0 : -1
4129        }
4130      }
4131    },
4132    propFix: {
4133      "for": "htmlFor",
4134      "class": "className"
4135    }
4136  }), fe.hrefNormalized || pe.each(["href", "src"], function (e, t) {
4137    pe.propHooks[t] = {
4138      get: function (e) {
4139        return e.getAttribute(t, 4)
4140      }
4141    }
4142  }), fe.optSelected || (pe.propHooks.selected = {
4143    get: function (e) {
4144      var t = e.parentNode;
4145      return t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex), null
4146    },
4147    set: function (e) {
4148      var t = e.parentNode;
4149      t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex)
4150    }
4151  }), pe.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
4152    pe.propFix[this.toLowerCase()] = this
4153  }), fe.enctype || (pe.propFix.enctype = "encoding");
4154  var Pt = /[\t\r\n\f]/g;
4155  pe.fn.extend({
4156    addClass: function (e) {
4157      var t, n, r, i, o, a, s, u = 0;
4158      if (pe.isFunction(e)) return this.each(function (t) {
4159        pe(this).addClass(e.call(this, t, z(this)))
4160      });
4161      if ("string" == typeof e && e)
4162        for (t = e.match(De) || []; n = this[u++];)
4163          if (i = z(n), r = 1 === n.nodeType && (" " + i + " ").replace(Pt, " ")) {
4164            for (a = 0; o = t[a++];) r.indexOf(" " + o + " ") < 0 && (r += o + " ");
4165            s = pe.trim(r), i !== s && pe.attr(n, "class", s)
4166          } return this
4167    },
4168    removeClass: function (e) {
4169      var t, n, r, i, o, a, s, u = 0;
4170      if (pe.isFunction(e)) return this.each(function (t) {
4171        pe(this).removeClass(e.call(this, t, z(this)))
4172      });
4173      if (!arguments.length) return this.attr("class", "");
4174      if ("string" == typeof e && e)
4175        for (t = e.match(De) || []; n = this[u++];)
4176          if (i = z(n), r = 1 === n.nodeType && (" " + i + " ").replace(Pt, " ")) {
4177            for (a = 0; o = t[a++];)
4178              for (; r.indexOf(" " + o + " ") > -1;) r = r.replace(" " + o + " ", " ");
4179            s = pe.trim(r), i !== s && pe.attr(n, "class", s)
4180          } return this
4181    },
4182    toggleClass: function (e, t) {
4183      var n = typeof e;
4184      return "boolean" == typeof t && "string" === n ? t ? this.addClass(e) : this.removeClass(e) : pe.isFunction(e) ? this.each(function (n) {
4185        pe(this).toggleClass(e.call(this, n, z(this), t), t)
4186      }) : this.each(function () {
4187        var t, r, i, o;
4188        if ("string" === n)
4189          for (r = 0, i = pe(this), o = e.match(De) || []; t = o[r++];) i.hasClass(t) ? i.removeClass(t) : i.addClass(t);
4190        else void 0 !== e && "boolean" !== n || (t = z(this), t && pe._data(this, "__className__", t), pe.attr(this, "class", t || e === !1 ? "" : pe._data(this, "__className__") || ""))
4191      })
4192    },
4193    hasClass: function (e) {
4194      var t, n, r = 0;
4195      for (t = " " + e + " "; n = this[r++];)
4196        if (1 === n.nodeType && (" " + z(n) + " ").replace(Pt, " ").indexOf(t) > -1) return !0;
4197      return !1
4198    }
4199  }), pe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (e, t) {
4200    pe.fn[t] = function (e, n) {
4201      return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t)
4202    }
4203  }), pe.fn.extend({
4204    hover: function (e, t) {
4205      return this.mouseenter(e).mouseleave(t || e)
4206    }
4207  });
4208  var Bt = e.location,
4209    Wt = pe.now(),
4210    It = /\?/,
4211    $t = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
4212  pe.parseJSON = function (t) {
4213    if (e.JSON && e.JSON.parse) return e.JSON.parse(t + "");
4214    var n, r = null,
4215      i = pe.trim(t + "");
4216    return i && !pe.trim(i.replace($t, function (e, t, i, o) {
4217      return n && t && (r = 0), 0 === r ? e : (n = i || t, r += !o - !i, "")
4218    })) ? Function("return " + i)() : pe.error("Invalid JSON: " + t)
4219  }, pe.parseXML = function (t) {
4220    var n, r;
4221    if (!t || "string" != typeof t) return null;
4222    try {
4223      e.DOMParser ? (r = new e.DOMParser, n = r.parseFromString(t, "text/xml")) : (n = new e.ActiveXObject("Microsoft.XMLDOM"), n.async = "false", n.loadXML(t))
4224    } catch (i) {
4225      n = void 0
4226    }
4227    return n && n.documentElement && !n.getElementsByTagName("parsererror").length || pe.error("Invalid XML: " + t), n
4228  };
4229  var zt = /#.*$/,
4230    Xt = /([?&])_=[^&]*/,
4231    Ut = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
4232    Vt = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
4233    Yt = /^(?:GET|HEAD)$/,
4234    Jt = /^\/\//,
4235    Gt = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
4236    Kt = {},
4237    Qt = {},
4238    Zt = "*/".concat("*"),
4239    en = Bt.href,
4240    tn = Gt.exec(en.toLowerCase()) || [];
4241  pe.extend({
4242    active: 0,
4243    lastModified: {},
4244    etag: {},
4245    ajaxSettings: {
4246      url: en,
4247      type: "GET",
4248      isLocal: Vt.test(tn[1]),
4249      global: !0,
4250      processData: !0,
4251      async: !0,
4252      contentType: "application/x-www-form-urlencoded; charset=UTF-8",
4253      accepts: {
4254        "*": Zt,
4255        text: "text/plain",
4256        html: "text/html",
4257        xml: "application/xml, text/xml",
4258        json: "application/json, text/javascript"
4259      },
4260      contents: {
4261        xml: /\bxml\b/,
4262        html: /\bhtml/,
4263        json: /\bjson\b/
4264      },
4265      responseFields: {
4266        xml: "responseXML",
4267        text: "responseText",
4268        json: "responseJSON"
4269      },
4270      converters: {
4271        "* text": String,
4272        "text html": !0,
4273        "text json": pe.parseJSON,
4274        "text xml": pe.parseXML
4275      },
4276      flatOptions: {
4277        url: !0,
4278        context: !0
4279      }
4280    },
4281    ajaxSetup: function (e, t) {
4282      return t ? V(V(e, pe.ajaxSettings), t) : V(pe.ajaxSettings, e)
4283    },
4284    ajaxPrefilter: X(Kt),
4285    ajaxTransport: X(Qt),
4286    ajax: function (t, n) {
4287      function r(t, n, r, i) {
4288        var o, f, v, x, w, C = n;
4289        2 !== b && (b = 2, u && e.clearTimeout(u), c = void 0, s = i || "", T.readyState = t > 0 ? 4 : 0, o = t >= 200 && t < 300 || 304 === t, r && (x = Y(d, T, r)), x = J(d, x, T, o), o ? (d.ifModified && (w = T.getResponseHeader("Last-Modified"), w && (pe.lastModified[a] = w), w = T.getResponseHeader("etag"), w && (pe.etag[a] = w)), 204 === t || "HEAD" === d.type ? C = "nocontent" : 304 === t ? C = "notmodified" : (C = x.state, f = x.data, v = x.error, o = !v)) : (v = C, !t && C || (C = "error", t < 0 && (t = 0))), T.status = t, T.statusText = (n || C) + "", o ? g.resolveWith(p, [f, C, T]) : g.rejectWith(p, [T, C, v]), T.statusCode(y), y = void 0, l && h.trigger(o ? "ajaxSuccess" : "ajaxError", [T, d, o ? f : v]), m.fireWith(p, [T, C]), l && (h.trigger("ajaxComplete", [T, d]), --pe.active || pe.event.trigger("ajaxStop")))
4290      }
4291      "object" == typeof t && (n = t, t = void 0), n = n || {};
4292      var i, o, a, s, u, l, c, f, d = pe.ajaxSetup({}, n),
4293        p = d.context || d,
4294        h = d.context && (p.nodeType || p.jquery) ? pe(p) : pe.event,
4295        g = pe.Deferred(),
4296        m = pe.Callbacks("once memory"),
4297        y = d.statusCode || {},
4298        v = {},
4299        x = {},
4300        b = 0,
4301        w = "canceled",
4302        T = {
4303          readyState: 0,
4304          getResponseHeader: function (e) {
4305            var t;
4306            if (2 === b) {
4307              if (!f)
4308                for (f = {}; t = Ut.exec(s);) f[t[1].toLowerCase()] = t[2];
4309              t = f[e.toLowerCase()]
4310            }
4311            return null == t ? null : t
4312          },
4313          getAllResponseHeaders: function () {
4314            return 2 === b ? s : null
4315          },
4316          setRequestHeader: function (e, t) {
4317            var n = e.toLowerCase();
4318            return b || (e = x[n] = x[n] || e, v[e] = t), this
4319          },
4320          overrideMimeType: function (e) {
4321            return b || (d.mimeType = e), this
4322          },
4323          statusCode: function (e) {
4324            var t;
4325            if (e)
4326              if (b < 2)
4327                for (t in e) y[t] = [y[t], e[t]];
4328              else T.always(e[T.status]);
4329            return this
4330          },
4331          abort: function (e) {
4332            var t = e || w;
4333            return c && c.abort(t), r(0, t), this
4334          }
4335        };
4336      if (g.promise(T).complete = m.add, T.success = T.done, T.error = T.fail, d.url = ((t || d.url || en) + "").replace(zt, "").replace(Jt, tn[1] + "//"), d.type = n.method || n.type || d.method || d.type, d.dataTypes = pe.trim(d.dataType || "*").toLowerCase().match(De) || [""], null == d.crossDomain && (i = Gt.exec(d.url.toLowerCase()), d.crossDomain = !(!i || i[1] === tn[1] && i[2] === tn[2] && (i[3] || ("http:" === i[1] ? "80" : "443")) === (tn[3] || ("http:" === tn[1] ? "80" : "443")))), d.data && d.processData && "string" != typeof d.data && (d.data = pe.param(d.data, d.traditional)), U(Kt, d, n, T), 2 === b) return T;
4337      l = pe.event && d.global, l && 0 === pe.active++ && pe.event.trigger("ajaxStart"), d.type = d.type.toUpperCase(), d.hasContent = !Yt.test(d.type), a = d.url, d.hasContent || (d.data && (a = d.url += (It.test(a) ? "&" : "?") + d.data, delete d.data), d.cache === !1 && (d.url = Xt.test(a) ? a.replace(Xt, "$1_=" + Wt++) : a + (It.test(a) ? "&" : "?") + "_=" + Wt++)), d.ifModified && (pe.lastModified[a] && T.setRequestHeader("If-Modified-Since", pe.lastModified[a]), pe.etag[a] && T.setRequestHeader("If-None-Match", pe.etag[a])), (d.data && d.hasContent && d.contentType !== !1 || n.contentType) && T.setRequestHeader("Content-Type", d.contentType), T.setRequestHeader("Accept", d.dataTypes[0] && d.accepts[d.dataTypes[0]] ? d.accepts[d.dataTypes[0]] + ("*" !== d.dataTypes[0] ? ", " + Zt + "; q=0.01" : "") : d.accepts["*"]);
4338      for (o in d.headers) T.setRequestHeader(o, d.headers[o]);
4339      if (d.beforeSend && (d.beforeSend.call(p, T, d) === !1 || 2 === b)) return T.abort();
4340      w = "abort";
4341      for (o in {
4342          success: 1,
4343          error: 1,
4344          complete: 1
4345        }) T[o](d[o]);
4346      if (c = U(Qt, d, n, T)) {
4347        if (T.readyState = 1, l && h.trigger("ajaxSend", [T, d]), 2 === b) return T;
4348        d.async && d.timeout > 0 && (u = e.setTimeout(function () {
4349          T.abort("timeout")
4350        }, d.timeout));
4351        try {
4352          b = 1, c.send(v, r)
4353        } catch (C) {
4354          if (!(b < 2)) throw C;
4355          r(-1, C)
4356        }
4357      } else r(-1, "No Transport");
4358      return T
4359    },
4360    getJSON: function (e, t, n) {
4361      return pe.get(e, t, n, "json")
4362    },
4363    getScript: function (e, t) {
4364      return pe.get(e, void 0, t, "script")
4365    }
4366  }), pe.each(["get", "post"], function (e, t) {
4367    pe[t] = function (e, n, r, i) {
4368      return pe.isFunction(n) && (i = i || r, r = n, n = void 0), pe.ajax(pe.extend({
4369        url: e,
4370        type: t,
4371        dataType: i,
4372        data: n,
4373        success: r
4374      }, pe.isPlainObject(e) && e))
4375    }
4376  }), pe._evalUrl = function (e) {
4377    return pe.ajax({
4378      url: e,
4379      type: "GET",
4380      dataType: "script",
4381      cache: !0,
4382      async: !1,
4383      global: !1,
4384      "throws": !0
4385    })
4386  }, pe.fn.extend({
4387    wrapAll: function (e) {
4388      if (pe.isFunction(e)) return this.each(function (t) {
4389        pe(this).wrapAll(e.call(this, t))
4390      });
4391      if (this[0]) {
4392        var t = pe(e, this[0].ownerDocument).eq(0).clone(!0);
4393        this[0].parentNode && t.insertBefore(this[0]), t.map(function () {
4394          for (var e = this; e.firstChild && 1 === e.firstChild.nodeType;) e = e.firstChild;
4395          return e
4396        }).append(this)
4397      }
4398      return this
4399    },
4400    wrapInner: function (e) {
4401      return pe.isFunction(e) ? this.each(function (t) {
4402        pe(this).wrapInner(e.call(this, t))
4403      }) : this.each(function () {
4404        var t = pe(this),
4405          n = t.contents();
4406        n.length ? n.wrapAll(e) : t.append(e)
4407      })
4408    },
4409    wrap: function (e) {
4410      var t = pe.isFunction(e);
4411      return this.each(function (n) {
4412        pe(this).wrapAll(t ? e.call(this, n) : e)
4413      })
4414    },
4415    unwrap: function () {
4416      return this.parent().each(function () {
4417        pe.nodeName(this, "body") || pe(this).replaceWith(this.childNodes)
4418      }).end()
4419    }
4420  }), pe.expr.filters.hidden = function (e) {
4421    return fe.reliableHiddenOffsets() ? e.offsetWidth <= 0 && e.offsetHeight <= 0 && !e.getClientRects().length : K(e)
4422  }, pe.expr.filters.visible = function (e) {
4423    return !pe.expr.filters.hidden(e)
4424  };
4425  var nn = /%20/g,
4426    rn = /\[\]$/,
4427    on = /\r?\n/g,
4428    an = /^(?:submit|button|image|reset|file)$/i,
4429    sn = /^(?:input|select|textarea|keygen)/i;
4430  pe.param = function (e, t) {
4431    var n, r = [],
4432      i = function (e, t) {
4433        t = pe.isFunction(t) ? t() : null == t ? "" : t, r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(t)
4434      };
4435    if (void 0 === t && (t = pe.ajaxSettings && pe.ajaxSettings.traditional), pe.isArray(e) || e.jquery && !pe.isPlainObject(e)) pe.each(e, function () {
4436      i(this.name, this.value)
4437    });
4438    else
4439      for (n in e) Q(n, e[n], t, i);
4440    return r.join("&").replace(nn, "+")
4441  }, pe.fn.extend({
4442    serialize: function () {
4443      return pe.param(this.serializeArray())
4444    },
4445    serializeArray: function () {
4446      return this.map(function () {
4447        var e = pe.prop(this, "elements");
4448        return e ? pe.makeArray(e) : this
4449      }).filter(function () {
4450        var e = this.type;
4451        return this.name && !pe(this).is(":disabled") && sn.test(this.nodeName) && !an.test(e) && (this.checked || !Be.test(e))
4452      }).map(function (e, t) {
4453        var n = pe(this).val();
4454        return null == n ? null : pe.isArray(n) ? pe.map(n, function (e) {
4455          return {
4456            name: t.name,
4457            value: e.replace(on, "\r\n")
4458          }
4459        }) : {
4460          name: t.name,
4461          value: n.replace(on, "\r\n")
4462        }
4463      }).get()
4464    }
4465  }), pe.ajaxSettings.xhr = void 0 !== e.ActiveXObject ? function () {
4466    return this.isLocal ? ee() : re.documentMode > 8 ? Z() : /^(get|post|head|put|delete|options)$/i.test(this.type) && Z() || ee()
4467  } : Z;
4468  var un = 0,
4469    ln = {},
4470    cn = pe.ajaxSettings.xhr();
4471  e.attachEvent && e.attachEvent("onunload", function () {
4472    for (var e in ln) ln[e](void 0, !0)
4473  }), fe.cors = !!cn && "withCredentials" in cn, cn = fe.ajax = !!cn, cn && pe.ajaxTransport(function (t) {
4474    if (!t.crossDomain || fe.cors) {
4475      var n;
4476      return {
4477        send: function (r, i) {
4478          var o, a = t.xhr(),
4479            s = ++un;
4480          if (a.open(t.type, t.url, t.async, t.username, t.password), t.xhrFields)
4481            for (o in t.xhrFields) a[o] = t.xhrFields[o];
4482          t.mimeType && a.overrideMimeType && a.overrideMimeType(t.mimeType), t.crossDomain || r["X-Requested-With"] || (r["X-Requested-With"] = "XMLHttpRequest");
4483          for (o in r) void 0 !== r[o] && a.setRequestHeader(o, r[o] + "");
4484          a.send(t.hasContent && t.data || null), n = function (e, r) {
4485            var o, u, l;
4486            if (n && (r || 4 === a.readyState))
4487              if (delete ln[s], n = void 0, a.onreadystatechange = pe.noop, r) 4 !== a.readyState && a.abort();
4488              else {
4489                l = {}, o = a.status, "string" == typeof a.responseText && (l.text = a.responseText);
4490                try {
4491                  u = a.statusText
4492                } catch (c) {
4493                  u = ""
4494                }
4495                o || !t.isLocal || t.crossDomain ? 1223 === o && (o = 204) : o = l.text ? 200 : 404
4496              } l && i(o, u, l, a.getAllResponseHeaders())
4497          }, t.async ? 4 === a.readyState ? e.setTimeout(n) : a.onreadystatechange = ln[s] = n : n()
4498        },
4499        abort: function () {
4500          n && n(void 0, !0)
4501        }
4502      }
4503    }
4504  }), pe.ajaxSetup({
4505    accepts: {
4506      script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
4507    },
4508    contents: {
4509      script: /\b(?:java|ecma)script\b/
4510    },
4511    converters: {
4512      "text script": function (e) {
4513        return pe.globalEval(e), e
4514      }
4515    }
4516  }), pe.ajaxPrefilter("script", function (e) {
4517    void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET", e.global = !1)
4518  }), pe.ajaxTransport("script", function (e) {
4519    if (e.crossDomain) {
4520      var t, n = re.head || pe("head")[0] || re.documentElement;
4521      return {
4522        send: function (r, i) {
4523          t = re.createElement("script"), t.async = !0, e.scriptCharset && (t.charset = e.scriptCharset), t.src = e.url, t.onload = t.onreadystatechange = function (e, n) {
4524            (n || !t.readyState || /loaded|complete/.test(t.readyState)) && (t.onload = t.onreadystatechange = null, t.parentNode && t.parentNode.removeChild(t), t = null, n || i(200, "success"))
4525          }, n.insertBefore(t, n.firstChild)
4526        },
4527        abort: function () {
4528          t && t.onload(void 0, !0)
4529        }
4530      }
4531    }
4532  });
4533  var fn = [],
4534    dn = /(=)\?(?=&|$)|\?\?/;
4535  pe.ajaxSetup({
4536    jsonp: "callback",
4537    jsonpCallback: function () {
4538      var e = fn.pop() || pe.expando + "_" + Wt++;
4539      return this[e] = !0, e
4540    }
4541  }), pe.ajaxPrefilter("json jsonp", function (t, n, r) {
4542    var i, o, a, s = t.jsonp !== !1 && (dn.test(t.url) ? "url" : "string" == typeof t.data && 0 === (t.contentType || "").indexOf("application/x-www-form-urlencoded") && dn.test(t.data) && "data");
4543    if (s || "jsonp" === t.dataTypes[0]) return i = t.jsonpCallback = pe.isFunction(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback, s ? t[s] = t[s].replace(dn, "$1" + i) : t.jsonp !== !1 && (t.url += (It.test(t.url) ? "&" : "?") + t.jsonp + "=" + i), t.converters["script json"] = function () {
4544      return a || pe.error(i + " was not called"), a[0]
4545    }, t.dataTypes[0] = "json", o = e[i], e[i] = function () {
4546      a = arguments
4547    }, r.always(function () {
4548      void 0 === o ? pe(e).removeProp(i) : e[i] = o, t[i] && (t.jsonpCallback = n.jsonpCallback, fn.push(i)), a && pe.isFunction(o) && o(a[0]), a = o = void 0
4549    }), "script"
4550  }), pe.parseHTML = function (e, t, n) {
4551    if (!e || "string" != typeof e) return null;
4552    "boolean" == typeof t && (n = t, t = !1), t = t || re;
4553    var r = Te.exec(e),
4554      i = !n && [];
4555    return r ? [t.createElement(r[1])] : (r = y([e], t, i), i && i.length && pe(i).remove(), pe.merge([], r.childNodes))
4556  };
4557  var pn = pe.fn.load;
4558  return pe.fn.load = function (e, t, n) {
4559    if ("string" != typeof e && pn) return pn.apply(this, arguments);
4560    var r, i, o, a = this,
4561      s = e.indexOf(" ");
4562    return s > -1 && (r = pe.trim(e.slice(s, e.length)), e = e.slice(0, s)), pe.isFunction(t) ? (n = t, t = void 0) : t && "object" == typeof t && (i = "POST"), a.length > 0 && pe.ajax({
4563      url: e,
4564      type: i || "GET",
4565      dataType: "html",
4566      data: t
4567    }).done(function (e) {
4568      o = arguments, a.html(r ? pe("<div>").append(pe.parseHTML(e)).find(r) : e)
4569    }).always(n && function (e, t) {
4570      a.each(function () {
4571        n.apply(this, o || [e.responseText, t, e])
4572      })
4573    }), this
4574  }, pe.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (e, t) {
4575    pe.fn[t] = function (e) {
4576      return this.on(t, e)
4577    }
4578  }), pe.expr.filters.animated = function (e) {
4579    return pe.grep(pe.timers, function (t) {
4580      return e === t.elem
4581    }).length
4582  }, pe.offset = {
4583    setOffset: function (e, t, n) {
4584      var r, i, o, a, s, u, l, c = pe.css(e, "position"),
4585        f = pe(e),
4586        d = {};
4587      "static" === c && (e.style.position = "relative"), s = f.offset(), o = pe.css(e, "top"), u = pe.css(e, "left"), l = ("absolute" === c || "fixed" === c) && pe.inArray("auto", [o, u]) > -1, l ? (r = f.position(), a = r.top, i = r.left) : (a = parseFloat(o) || 0, i = parseFloat(u) || 0), pe.isFunction(t) && (t = t.call(e, n, pe.extend({}, s))), null != t.top && (d.top = t.top - s.top + a), null != t.left && (d.left = t.left - s.left + i), "using" in t ? t.using.call(e, d) : f.css(d)
4588    }
4589  }, pe.fn.extend({
4590    offset: function (e) {
4591      if (arguments.length) return void 0 === e ? this : this.each(function (t) {
4592        pe.offset.setOffset(this, e, t)
4593      });
4594      var t, n, r = {
4595          top: 0,
4596          left: 0
4597        },
4598        i = this[0],
4599        o = i && i.ownerDocument;
4600      if (o) return t = o.documentElement, pe.contains(t, i) ? ("undefined" != typeof i.getBoundingClientRect && (r = i.getBoundingClientRect()), n = te(o), {
4601        top: r.top + (n.pageYOffset || t.scrollTop) - (t.clientTop || 0),
4602        left: r.left + (n.pageXOffset || t.scrollLeft) - (t.clientLeft || 0)
4603      }) : r
4604    },
4605    position: function () {
4606      if (this[0]) {
4607        var e, t, n = {
4608            top: 0,
4609            left: 0
4610          },
4611          r = this[0];
4612        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)), {
4613          top: t.top - n.top - pe.css(r, "marginTop", !0),
4614          left: t.left - n.left - pe.css(r, "marginLeft", !0)
4615        }
4616      }
4617    },
4618    offsetParent: function () {
4619      return this.map(function () {
4620        for (var e = this.offsetParent; e && !pe.nodeName(e, "html") && "static" === pe.css(e, "position");) e = e.offsetParent;
4621        return e || pt
4622      })
4623    }
4624  }), pe.each({
4625    scrollLeft: "pageXOffset",
4626    scrollTop: "pageYOffset"
4627  }, function (e, t) {
4628    var n = /Y/.test(t);
4629    pe.fn[e] = function (r) {
4630      return Pe(this, function (e, r, i) {
4631        var o = te(e);
4632        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)
4633      }, e, r, arguments.length, null)
4634    }
4635  }), pe.each(["top", "left"], function (e, t) {
4636    pe.cssHooks[t] = L(fe.pixelPosition, function (e, n) {
4637      if (n) return n = gt(e, t), ft.test(n) ? pe(e).position()[t] + "px" : n
4638    })
4639  }), pe.each({
4640    Height: "height",
4641    Width: "width"
4642  }, function (e, t) {
4643    pe.each({
4644      padding: "inner" + e,
4645      content: t,
4646      "": "outer" + e
4647    }, function (n, r) {
4648      pe.fn[r] = function (r, i) {
4649        var o = arguments.length && (n || "boolean" != typeof r),
4650          a = n || (r === !0 || i === !0 ? "margin" : "border");
4651        return Pe(this, function (t, n, r) {
4652          var i;
4653          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)
4654        }, t, o ? r : void 0, o, null)
4655      }
4656    })
4657  }), pe.fn.extend({
4658    bind: function (e, t, n) {
4659      return this.on(e, null, t, n)
4660    },
4661    unbind: function (e, t) {
4662      return this.off(e, null, t)
4663    },
4664    delegate: function (e, t, n, r) {
4665      return this.on(t, e, n, r)
4666    },
4667    undelegate: function (e, t, n) {
4668      return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
4669    }
4670  }), pe.fn.size = function () {
4671    return this.length
4672  }, pe.fn.andSelf = pe.fn.addBack, layui.define(function (e) {
4673    layui.$ = pe, e("jquery", pe)
4674  }), pe
4675});
4676! function (e, t) {
4677  "use strict";
4678  var i, n, a = e.layui && layui.define,
4679    o = {
4680      getPath: function () {
4681        var t = document.currentScript ? document.currentScript.src : function () {
4682            for (var e, t = document.scripts, i = t.length - 1, n = i; n > 0; n--)
4683              if ("interactive" === t[n].readyState) {
4684                e = t[n].src;
4685                break
4686              } return e || t[i].src
4687          }(),
4688          i = e.LAYUI_GLOBAL || {};
4689        return i.layer_dir || t.substring(0, t.lastIndexOf("/") + 1)
4690      }(),
4691      config: {},
4692      end: {},
4693      minIndex: 0,
4694      minLeft: [],
4695      btn: ["&#x786E;&#x5B9A;", "&#x53D6;&#x6D88;"],
4696      type: ["dialog", "page", "iframe", "loading", "tips"],
4697      getStyle: function (t, i) {
4698        var n = t.currentStyle ? t.currentStyle : e.getComputedStyle(t, null);
4699        return n[n.getPropertyValue ? "getPropertyValue" : "getAttribute"](i)
4700      },
4701      link: function (t, i, n) {
4702        if (r.path) {
4703          var a = document.getElementsByTagName("head")[0],
4704            s = document.createElement("link");
4705          "string" == typeof i && (n = i);
4706          var l = (n || t).replace(/\.|\//g, ""),
4707            f = "layuicss-" + l,
4708            c = "creating",
4709            u = 0;
4710          s.rel = "stylesheet", s.href = r.path + t, s.id = f, document.getElementById(f) || a.appendChild(s), "function" == typeof i && ! function d(t) {
4711            var n = 100,
4712              a = document.getElementById(f);
4713            return ++u > 1e4 / n ? e.console && console.error(l + ".css: Invalid") : void(1989 === parseInt(o.getStyle(a, "width")) ? (t === c && a.removeAttribute("lay-status"), a.getAttribute("lay-status") === c ? setTimeout(d, n) : i()) : (a.setAttribute("lay-status", c), setTimeout(function () {
4714              d(c)
4715            }, n)))
4716          }()
4717        }
4718      }
4719    },
4720    r = {
4721      v: "3.5.1",
4722      ie: function () {
4723        var t = navigator.userAgent.toLowerCase();
4724        return !!(e.ActiveXObject || "ActiveXObject" in e) && ((t.match(/msie\s(\d+)/) || [])[1] || "11")
4725      }(),
4726      index: e.layer && e.layer.v ? 1e5 : 0,
4727      path: o.getPath,
4728      config: function (e, t) {
4729        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
4730      },
4731      ready: function (e) {
4732        var t = "layer",
4733          i = "",
4734          n = (a ? "modules/layer/" : "theme/") + "default/layer.css?v=" + r.v + i;
4735        return a ? layui.addcss(n, e, t) : o.link(n, e, t), this
4736      },
4737      alert: function (e, t, n) {
4738        var a = "function" == typeof t;
4739        return a && (n = t), r.open(i.extend({
4740          content: e,
4741          yes: n
4742        }, a ? {} : t))
4743      },
4744      confirm: function (e, t, n, a) {
4745        var s = "function" == typeof t;
4746        return s && (a = n, n = t), r.open(i.extend({
4747          content: e,
4748          btn: o.btn,
4749          yes: n,
4750          btn2: a
4751        }, s ? {}
vendor: 6,469 bytes, lines 4751-4877
4751 : t))
4752      },
4753      msg: function (e, n, a) {
4754        var s = "function" == typeof n,
4755          f = o.config.skin,
4756          c = (f ? f + " " + f + "-msg" : "") || "layui-layer-msg",
4757          u = l.anim.length - 1;
4758        return s && (a = n), r.open(i.extend({
4759          content: e,
4760          time: 3e3,
4761          shade: !1,
4762          skin: c,
4763          title: !1,
4764          closeBtn: !1,
4765          btn: !1,
4766          resize: !1,
4767          end: a
4768        }, s && !o.config.skin ? {
4769          skin: c + " layui-layer-hui",
4770          anim: u
4771        } : function () {
4772          return n = n || {}, (n.icon === -1 || n.icon === t && !o.config.skin) && (n.skin = c + " " + (n.skin || "layui-layer-hui")), n
4773        }()))
4774      },
4775      load: function (e, t) {
4776        return r.open(i.extend({
4777          type: 3,
4778          icon: e || 0,
4779          resize: !1,
4780          shade: .01
4781        }, t))
4782      },
4783      tips: function (e, t, n) {
4784        return r.open(i.extend({
4785          type: 4,
4786          content: [e, t],
4787          closeBtn: !1,
4788          time: 3e3,
4789          shade: !1,
4790          resize: !1,
4791          fixed: !1,
4792          maxWidth: 260
4793        }, n))
4794      }
4795    },
4796    s = function (e) {
4797      var t = this,
4798        a = function () {
4799          t.creat()
4800        };
4801      t.index = ++r.index, t.config.maxWidth = i(n).width() - 30, t.config = i.extend({}, t.config, o.config, e), document.body ? a() : setTimeout(function () {
4802        a()
4803      }, 30)
4804    };
4805  s.pt = s.prototype;
4806  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"];
4807  l.anim = ["layer-anim-00", "layer-anim-01", "layer-anim-02", "layer-anim-03", "layer-anim-04", "layer-anim-05", "layer-anim-06"], l.SHADE = "layui-layer-shade", l.MOVE = "layui-layer-move", s.pt.config = {
4808    type: 0,
4809    shade: .3,
4810    fixed: !0,
4811    move: l[1],
4812    title: "&#x4FE1;&#x606F;",
4813    offset: "auto",
4814    area: "auto",
4815    closeBtn: 1,
4816    time: 0,
4817    zIndex: 19891014,
4818    maxWidth: 360,
4819    anim: 0,
4820    isOutAnim: !0,
4821    minStack: !0,
4822    icon: -1,
4823    moveType: 1,
4824    resize: !0,
4825    scrollbar: !0,
4826    tips: 2
4827  }, s.pt.vessel = function (e, t) {
4828    var n = this,
4829      a = n.index,
4830      r = n.config,
4831      s = r.zIndex + a,
4832      f = "object" == typeof r.title,
4833      c = r.maxmin && (1 === r.type || 2 === r.type),
4834      u = r.title ? '<div class="layui-layer-title" style="' + (f ? r.title[1] : "") + '">' + (f ? r.title[0] : r.title) + "</div>" : "";
4835    return r.zIndex = s, t([r.shade ? '<div class="' + l.SHADE + '" id="' + l.SHADE + a + '" times="' + a + '" style="' + ("z-index:" + (s - 1) + "; ") + '"></div>' : "", '<div class="' + l[0] + (" layui-layer-" + o.type[r.type]) + (0 != r.type && 2 != r.type || r.shade ? "" : " layui-layer-border") + " " + (r.skin || "") + '" id="' + l[0] + a + '" type="' + o.type[r.type] + '" times="' + a + '" showtime="' + r.time + '" conType="' + (e ? "object" : "string") + '" style="z-index: ' + s + "; width:" + r.area[0] + ";height:" + r.area[1] + ";position:" + (r.fixed ? "fixed;" : "absolute;") + '">' + (e && 2 != r.type ? "" : u) + '<div id="' + (r.id || "") + '" class="layui-layer-content' + (0 == r.type && r.icon !== -1 ? " layui-layer-padding" : "") + (3 == r.type ? " layui-layer-loading" + r.icon : "") + '">' + (0 == r.type && r.icon !== -1 ? '<i class="layui-layer-ico layui-layer-ico' + r.icon + '"></i>' : "") + (1 == r.type && e ? "" : r.content || "") + '</div><span class="layui-layer-setwin">' + function () {
4836      var e = c ? '<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>' : "";
4837      return r.closeBtn && (e += '<a class="layui-layer-ico ' + l[7] + " " + l[7] + (r.title ? r.closeBtn : 4 == r.type ? "1" : "2") + '" href="javascript:;"></a>'), e
4838    }() + "</span>" + (r.btn ? function () {
4839      var e = "";
4840      "string" == typeof r.btn && (r.btn = [r.btn]);
4841      for (var t = 0, i = r.btn.length; t < i; t++) e += '<a class="' + l[6] + t + '">' + r.btn[t] + "</a>";
4842      return '<div class="' + l[6] + " layui-layer-btn-" + (r.btnAlign || "") + '">' + e + "</div>"
4843    }() : "") + (r.resize ? '<span class="layui-layer-resize"></span>' : "") + "</div>"], u, i('<div class="' + l.MOVE + '" id="' + l.MOVE + '"></div>')), n
4844  }, s.pt.creat = function () {
4845    var e = this,
4846      t = e.config,
4847      a = e.index,
4848      s = t.content,
4849      f = "object" == typeof s,
4850      c = i("body");
4851    if (!t.id || !i("#" + t.id)[0]) {
4852      switch ("string" == typeof t.area && (t.area = "auto" === t.area ? ["", ""] : [t.area, ""]), t.shift && (t.anim = t.shift), 6 == r.ie && (t.fixed = !1), t.type) {
4853        case 0:
4854          t.btn = "btn" in t ? t.btn : o.btn[0], r.closeAll("dialog");
4855          break;
4856        case 2:
4857          var s = t.content = f ? t.content : [t.content || "", "auto"];
4858          t.content = '<iframe scrolling="' + (t.content[1] || "auto") + '" allowtransparency="true" id="' + l[4] + a + '" name="' + l[4] + a + '" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="' + t.content[0] + '"></iframe>';
4859          break;
4860        case 3:
4861          delete t.title, delete t.closeBtn, t.icon === -1 && 0 === t.icon, r.closeAll("loading");
4862          break;
4863        case 4:
4864          f || (t.content = [t.content, "body"]), t.follow = t.content[1], t.content = t.content[0] + '<i class="layui-layer-TipsG"></i>', delete t.title, t.tips = "object" == typeof t.tips ? t.tips : [t.tips, !0], t.tipsMore || r.closeAll("tips")
4865      }
4866      if (e.vessel(f, function (n, r, u) {
4867          c.append(n[0]), f ? function () {
4868            2 == t.type || 4 == t.type ? function () {
4869              i("body").append(n[1])
4870            }() : function () {
4871              s.parents("." + l[0])[0] || (s.data("display", s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]), i("#" + l[0] + a).find("." + l[5]).before(r))
4872            }()
4873          }() : c.append(n[1]), i("#" + l.MOVE)[0] || c.append(o.moveElem = u), e.layero = i("#" + l[0] + a), e.shadeo = i("#" + l.SHADE + a), t.scrollbar || l.html.css("overflow", "hidden").attr("layer-full", a)
4874        }).auto(a), e.shadeo.css({
4875          "background-color": t.shade[1] || "#000",
4876          opacity: t.shade[0] || t.shade
4877        }), 2 == t.type && 6 == r.ie && e.layero.find("iframe").attr("src", s[0]), 4 == t.type ? e.t
vendor: 8,236 bytes, lines 4877-5031
4877ips() : function () {
4878          e.offset(), parseInt(o.getStyle(document.getElementById(l.MOVE), "z-index")) || function () {
4879            e.layero.css("visibility", "hidden"), r.ready(function () {
4880              e.offset(), e.layero.css("visibility", "visible")
4881            })
4882          }()
4883        }(), t.fixed && n.on("resize", function () {
4884          e.offset(), (/^\d+%$/.test(t.area[0]) || /^\d+%$/.test(t.area[1])) && e.auto(a), 4 == t.type && e.tips()
4885        }), t.time <= 0 || setTimeout(function () {
4886          r.close(e.index)
4887        }, t.time), e.move().callback(), l.anim[t.anim]) {
4888        var u = "layer-anim " + l.anim[t.anim];
4889        e.layero.addClass(u).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function () {
4890          i(this).removeClass(u)
4891        })
4892      }
4893      t.isOutAnim && e.layero.data("isOutAnim", !0)
4894    }
4895  }, s.pt.auto = function (e) {
4896    var t = this,
4897      a = t.config,
4898      o = i("#" + l[0] + e);
4899    "" === a.area[0] && a.maxWidth > 0 && (r.ie && r.ie < 8 && a.btn && o.width(o.innerWidth()), o.outerWidth() > a.maxWidth && o.width(a.maxWidth));
4900    var s = [o.innerWidth(), o.innerHeight()],
4901      f = o.find(l[1]).outerHeight() || 0,
4902      c = o.find("." + l[6]).outerHeight() || 0,
4903      u = function (e) {
4904        e = o.find(e), e.height(s[1] - f - c - 2 * (0 | parseFloat(e.css("padding-top"))))
4905      };
4906    switch (a.type) {
4907      case 2:
4908        u("iframe");
4909        break;
4910      default:
4911        "" === a.area[1] ? a.maxHeight > 0 && o.outerHeight() > a.maxHeight ? (s[1] = a.maxHeight, u("." + l[5])) : a.fixed && s[1] >= n.height() && (s[1] = n.height(), u("." + l[5])) : u("." + l[5])
4912    }
4913    return t
4914  }, s.pt.offset = function () {
4915    var e = this,
4916      t = e.config,
4917      i = e.layero,
4918      a = [i.outerWidth(), i.outerHeight()],
4919      o = "object" == typeof t.offset;
4920    e.offsetTop = (n.height() - a[1]) / 2, e.offsetLeft = (n.width() - a[0]) / 2, o ? (e.offsetTop = t.offset[0], e.offsetLeft = t.offset[1] || e.offsetLeft) : "auto" !== t.offset && ("t" === t.offset ? e.offsetTop = 0 : "r" === t.offset ? e.offsetLeft = n.width() - a[0] : "b" === t.offset ? e.offsetTop = n.height() - a[1] : "l" === t.offset ? e.offsetLeft = 0 : "lt" === t.offset ? (e.offsetTop = 0, e.offsetLeft = 0) : "lb" === t.offset ? (e.offsetTop = n.height() - a[1], e.offsetLeft = 0) : "rt" === t.offset ? (e.offsetTop = 0, e.offsetLeft = n.width() - a[0]) : "rb" === t.offset ? (e.offsetTop = n.height() - a[1], e.offsetLeft = n.width() - a[0]) : e.offsetTop = t.offset), t.fixed || (e.offsetTop = /%$/.test(e.offsetTop) ? n.height() * parseFloat(e.offsetTop) / 100 : parseFloat(e.offsetTop), e.offsetLeft = /%$/.test(e.offsetLeft) ? n.width() * parseFloat(e.offsetLeft) / 100 : parseFloat(e.offsetLeft), e.offsetTop += n.scrollTop(), e.offsetLeft += n.scrollLeft()), i.attr("minLeft") && (e.offsetTop = n.height() - (i.find(l[1]).outerHeight() || 0), e.offsetLeft = i.css("left")), i.css({
4921      top: e.offsetTop,
4922      left: e.offsetLeft
4923    })
4924  }, s.pt.tips = function () {
4925    var e = this,
4926      t = e.config,
4927      a = e.layero,
4928      o = [a.outerWidth(), a.outerHeight()],
4929      r = i(t.follow);
4930    r[0] || (r = i("body"));
4931    var s = {
4932        width: r.outerWidth(),
4933        height: r.outerHeight(),
4934        top: r.offset().top,
4935        left: r.offset().left
4936      },
4937      f = a.find(".layui-layer-TipsG"),
4938      c = t.tips[0];
4939    t.tips[1] || f.remove(), s.autoLeft = function () {
4940      s.left + o[0] - n.width() > 0 ? (s.tipLeft = s.left + s.width - o[0], f.css({
4941        right: 12,
4942        left: "auto"
4943      })) : s.tipLeft = s.left
4944    }, s.where = [function () {
4945      s.autoLeft(), s.tipTop = s.top - o[1] - 10, f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color", t.tips[1])
4946    }, function () {
4947      s.tipLeft = s.left + s.width + 10, s.tipTop = s.top, f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color", t.tips[1])
4948    }, function () {
4949      s.autoLeft(), s.tipTop = s.top + s.height + 10, f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color", t.tips[1])
4950    }, function () {
4951      s.tipLeft = s.left - o[0] - 10, s.tipTop = s.top, f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color", t.tips[1])
4952    }], s.where[c - 1](), 1 === c ? s.top - (n.scrollTop() + o[1] + 16) < 0 && s.where[2]() : 2 === c ? n.width() - (s.left + s.width + o[0] + 16) > 0 || s.where[3]() : 3 === c ? s.top - n.scrollTop() + s.height + o[1] + 16 - n.height() > 0 && s.where[0]() : 4 === c && o[0] + 16 - s.left > 0 && s.where[1](), a.find("." + l[5]).css({
4953      "background-color": t.tips[1],
4954      "padding-right": t.closeBtn ? "30px" : ""
4955    }), a.css({
4956      left: s.tipLeft - (t.fixed ? n.scrollLeft() : 0),
4957      top: s.tipTop - (t.fixed ? n.scrollTop() : 0)
4958    })
4959  }, s.pt.move = function () {
4960    var e = this,
4961      t = e.config,
4962      a = i(document),
4963      s = e.layero,
4964      l = s.find(t.move),
4965      f = s.find(".layui-layer-resize"),
4966      c = {};
4967    return t.move && l.css("cursor", "move"), l.on("mousedown", function (e) {
4968      e.preventDefault(), t.move && (c.moveStart = !0, c.offset = [e.clientX - parseFloat(s.css("left")), e.clientY - parseFloat(s.css("top"))], o.moveElem.css("cursor", "move").show())
4969    }), f.on("mousedown", function (e) {
4970      e.preventDefault(), c.resizeStart = !0, c.offset = [e.clientX, e.clientY], c.area = [s.outerWidth(), s.outerHeight()], o.moveElem.css("cursor", "se-resize").show()
4971    }), a.on("mousemove", function (i) {
4972      if (c.moveStart) {
4973        var a = i.clientX - c.offset[0],
4974          o = i.clientY - c.offset[1],
4975          l = "fixed" === s.css("position");
4976        if (i.preventDefault(), c.stX = l ? 0 : n.scrollLeft(), c.stY = l ? 0 : n.scrollTop(), !t.moveOut) {
4977          var f = n.width() - s.outerWidth() + c.stX,
4978            u = n.height() - s.outerHeight() + c.stY;
4979          a < c.stX && (a = c.stX), a > f && (a = f), o < c.stY && (o = c.stY), o > u && (o = u)
4980        }
4981        s.css({
4982          left: a,
4983          top: o
4984        })
4985      }
4986      if (t.resize && c.resizeStart) {
4987        var a = i.clientX - c.offset[0],
4988          o = i.clientY - c.offset[1];
4989        i.preventDefault(), r.style(e.index, {
4990          width: c.area[0] + a,
4991          height: c.area[1] + o
4992        }), c.isResize = !0, t.resizing && t.resizing(s)
4993      }
4994    }).on("mouseup", function (e) {
4995      c.moveStart && (delete c.moveStart, o.moveElem.hide(), t.moveEnd && t.moveEnd(s)), c.resizeStart && (delete c.resizeStart, o.moveElem.hide())
4996    }), e
4997  }, s.pt.callback = function () {
4998    function e() {
4999      var e = a.cancel && a.cancel(t.index, n);
5000      e === !1 || r.close(t.index)
5001    }
5002    var t = this,
5003      n = t.layero,
5004      a = t.config;
5005    t.openLayer(), a.success && (2 == a.type ? n.find("iframe").on("load", function () {
5006      a.success(n, t.index, t)
5007    }) : a.success(n, t.index, t)), 6 == r.ie && t.IE6(n), n.find("." + l[6]).children("a").on("click", function () {
5008      var e = i(this).index();
5009      if (0 === e) a.yes ? a.yes(t.index, n) : a.btn1 ? a.btn1(t.index, n) : r.close(t.index);
5010      else {
5011        var o = a["btn" + (e + 1)] && a["btn" + (e + 1)](t.index, n);
5012        o === !1 || r.close(t.index)
5013      }
5014    }), n.find("." + l[7]).on("click", e), a.shadeClose && t.shadeo.on("click", function () {
5015      r.close(t.index)
5016    }), n.find(".layui-layer-min").on("click", function () {
5017      var e = a.min && a.min(n, t.index);
5018      e === !1 || r.min(t.index, a)
5019    }), n.find(".layui-layer-max").on("click", function () {
5020      i(this).hasClass("layui-layer-maxmin") ? (r.restore(t.index), a.restore && a.restore(n, t.index)) : (r.full(t.index, a), setTimeout(function () {
5021        a.full && a.full(n, t.index)
5022      }, 100))
5023    }), a.end && (o.end[t.index] = a.end)
5024  }, o.reselect = function () {
5025    i.each(i("select"), function (e, t) {
5026      var n = i(this);
5027      n.parents("." + l[0])[0] || 1 == n.attr("layer") && i("." + l[0]).length < 1 && n.removeAttr("layer").show(), n = null
5028    })
5029  }, s.pt.IE6 = function (e) {
5030    i("select").each(function (e, t) {
5031      var n = i(this);
vendor: 9,464 bytes, lines 5032-5258
5032      n.parents("." + l[0])[0] || "none" === n.css("display") || n.attr({
5033        layer: "1"
5034      }).hide(), n = null
5035    })
5036  }, s.pt.openLayer = function () {
5037    var e = this;
5038    r.zIndex = e.config.zIndex, r.setTop = function (e) {
5039      var t = function () {
5040        r.zIndex++, e.css("z-index", r.zIndex + 1)
5041      };
5042      return r.zIndex = parseInt(e[0].style.zIndex), e.on("mousedown", t), r.zIndex
5043    }
5044  }, o.record = function (e) {
5045    var t = [e.width(), e.height(), e.position().top, e.position().left + parseFloat(e.css("margin-left"))];
5046    e.find(".layui-layer-max").addClass("layui-layer-maxmin"), e.attr({
5047      area: t
5048    })
5049  }, o.rescollbar = function (e) {
5050    l.html.attr("layer-full") == e && (l.html[0].style.removeProperty ? l.html[0].style.removeProperty("overflow") : l.html[0].style.removeAttribute("overflow"), l.html.removeAttr("layer-full"))
5051  }, e.layer = r, r.getChildFrame = function (e, t) {
5052    return t = t || i("." + l[4]).attr("times"), i("#" + l[0] + t).find("iframe").contents().find(e)
5053  }, r.getFrameIndex = function (e) {
5054    return i("#" + e).parents("." + l[4]).attr("times")
5055  }, r.iframeAuto = function (e) {
5056    if (e) {
5057      var t = r.getChildFrame("html", e).outerHeight(),
5058        n = i("#" + l[0] + e),
5059        a = n.find(l[1]).outerHeight() || 0,
5060        o = n.find("." + l[6]).outerHeight() || 0;
5061      n.css({
5062        height: t + a + o
5063      }), n.find("iframe").css({
5064        height: t
5065      })
5066    }
5067  }, r.iframeSrc = function (e, t) {
5068    i("#" + l[0] + e).find("iframe").attr("src", t)
5069  }, r.style = function (e, t, n) {
5070    var a = i("#" + l[0] + e),
5071      r = a.find(".layui-layer-content"),
5072      s = a.attr("type"),
5073      f = a.find(l[1]).outerHeight() || 0,
5074      c = a.find("." + l[6]).outerHeight() || 0;
5075    a.attr("minLeft");
5076    s !== o.type[3] && s !== o.type[4] && (n || (parseFloat(t.width) <= 260 && (t.width = 260), parseFloat(t.height) - f - c <= 64 && (t.height = 64 + f + c)), a.css(t), c = a.find("." + l[6]).outerHeight(), s === o.type[2] ? a.find("iframe").css({
5077      height: parseFloat(t.height) - f - c
5078    }) : r.css({
5079      height: parseFloat(t.height) - f - c - parseFloat(r.css("padding-top")) - parseFloat(r.css("padding-bottom"))
5080    }))
5081  }, r.min = function (e, t) {
5082    t = t || {};
5083    var a = i("#" + l[0] + e),
5084      s = i("#" + l.SHADE + e),
5085      f = a.find(l[1]).outerHeight() || 0,
5086      c = a.attr("minLeft") || 181 * o.minIndex + "px",
5087      u = a.css("position"),
5088      d = {
5089        width: 180,
5090        height: f,
5091        position: "fixed",
5092        overflow: "hidden"
5093      };
5094    o.record(a), o.minLeft[0] && (c = o.minLeft[0], o.minLeft.shift()), t.minStack && (d.left = c, d.top = n.height() - f, a.attr("minLeft") || o.minIndex++, a.attr("minLeft", c)), a.attr("position", u), r.style(e, d, !0), a.find(".layui-layer-min").hide(), "page" === a.attr("type") && a.find(l[4]).hide(), o.rescollbar(e), s.hide()
5095  }, r.restore = function (e) {
5096    var t = i("#" + l[0] + e),
5097      n = i("#" + l.SHADE + e),
5098      a = t.attr("area").split(",");
5099    t.attr("type");
5100    r.style(e, {
5101      width: parseFloat(a[0]),
5102      height: parseFloat(a[1]),
5103      top: parseFloat(a[2]),
5104      left: parseFloat(a[3]),
5105      position: t.attr("position"),
5106      overflow: "visible"
5107    }, !0), t.find(".layui-layer-max").removeClass("layui-layer-maxmin"), t.find(".layui-layer-min").show(), "page" === t.attr("type") && t.find(l[4]).show(), o.rescollbar(e), n.show()
5108  }, r.full = function (e) {
5109    var t, a = i("#" + l[0] + e);
5110    o.record(a), l.html.attr("layer-full") || l.html.css("overflow", "hidden").attr("layer-full", e), clearTimeout(t), t = setTimeout(function () {
5111      var t = "fixed" === a.css("position");
5112      r.style(e, {
5113        top: t ? 0 : n.scrollTop(),
5114        left: t ? 0 : n.scrollLeft(),
5115        width: n.width(),
5116        height: n.height()
5117      }, !0), a.find(".layui-layer-min").hide()
5118    }, 100)
5119  }, r.title = function (e, t) {
5120    var n = i("#" + l[0] + (t || r.index)).find(l[1]);
5121    n.html(e)
5122  }, r.close = function (e, t) {
5123    var n = i("#" + l[0] + e),
5124      a = n.attr("type"),
5125      s = "layer-anim-close";
5126    if (n[0]) {
5127      var f = "layui-layer-wrap",
5128        c = function () {
5129          if (a === o.type[1] && "object" === n.attr("conType")) {
5130            n.children(":not(." + l[5] + ")").remove();
5131            for (var r = n.find("." + f), s = 0; s < 2; s++) r.unwrap();
5132            r.css("display", r.data("display")).removeClass(f)
5133          } else {
5134            if (a === o.type[2]) try {
5135              var c = i("#" + l[4] + e)[0];
5136              c.contentWindow.document.write(""), c.contentWindow.close(), n.find("." + l[5])[0].removeChild(c)
5137            } catch (u) {}
5138            n[0].innerHTML = "", n.remove()
5139          }
5140          "function" == typeof o.end[e] && o.end[e](), delete o.end[e], "function" == typeof t && t()
5141        };
5142      n.data("isOutAnim") && n.addClass("layer-anim " + s), i("#layui-layer-moves, #" + l.SHADE + e).remove(), 6 == r.ie && o.reselect(), o.rescollbar(e), n.attr("minLeft") && (o.minIndex--, o.minLeft.push(n.attr("minLeft"))), r.ie && r.ie < 10 || !n.data("isOutAnim") ? c() : setTimeout(function () {
5143        c()
5144      }, 200)
5145    }
5146  }, r.closeAll = function (e, t) {
5147    "function" == typeof e && (t = e, e = null);
5148    var n = i("." + l[0]);
5149    i.each(n, function (a) {
5150      var o = i(this),
5151        s = e ? o.attr("type") === e : 1;
5152      s && r.close(o.attr("times"), a === n.length - 1 ? t : null), s = null
5153    }), 0 === n.length && "function" == typeof t && t()
5154  };
5155  var f = r.cache || {},
5156    c = function (e) {
5157      return f.skin ? " " + f.skin + " " + f.skin + "-" + e : ""
5158    };
5159  r.prompt = function (e, t) {
5160    var a = "";
5161    if (e = e || {}, "function" == typeof e && (t = e), e.area) {
5162      var o = e.area;
5163      a = 'style="width: ' + o[0] + "; height: " + o[1] + ';"', delete e.area
5164    }
5165    var s, l = 2 == e.formType ? '<textarea class="layui-layer-input"' + a + "></textarea>" : function () {
5166        return '<input type="' + (1 == e.formType ? "password" : "text") + '" class="layui-layer-input">'
5167      }(),
5168      f = e.success;
5169    return delete e.success, r.open(i.extend({
5170      type: 1,
5171      btn: ["&#x786E;&#x5B9A;", "&#x53D6;&#x6D88;"],
5172      content: l,
5173      skin: "layui-layer-prompt" + c("prompt"),
5174      maxWidth: n.width(),
5175      success: function (t) {
5176        s = t.find(".layui-layer-input"), s.val(e.value || "").focus(), "function" == typeof f && f(t)
5177      },
5178      resize: !1,
5179      yes: function (i) {
5180        var n = s.val();
5181        "" === n ? s.focus() : n.length > (e.maxlength || 500) ? r.tips("&#x6700;&#x591A;&#x8F93;&#x5165;" + (e.maxlength || 500) + "&#x4E2A;&#x5B57;&#x6570;", s, {
5182          tips: 1
5183        }) : t && t(n, i, s)
5184      }
5185    }, e))
5186  }, r.tab = function (e) {
5187    e = e || {};
5188    var t = e.tab || {},
5189      n = "layui-this",
5190      a = e.success;
5191    return delete e.success, r.open(i.extend({
5192      type: 1,
5193      skin: "layui-layer-tab" + c("tab"),
5194      resize: !1,
5195      title: function () {
5196        var e = t.length,
5197          i = 1,
5198          a = "";
5199        if (e > 0)
5200          for (a = '<span class="' + n + '">' + t[0].title + "</span>"; i < e; i++) a += "<span>" + t[i].title + "</span>";
5201        return a
5202      }(),
5203      content: '<ul class="layui-layer-tabmain">' + function () {
5204        var e = t.length,
5205          i = 1,
5206          a = "";
5207        if (e > 0)
5208          for (a = '<li class="layui-layer-tabli ' + n + '">' + (t[0].content || "no content") + "</li>"; i < e; i++) a += '<li class="layui-layer-tabli">' + (t[i].content || "no  content") + "</li>";
5209        return a
5210      }() + "</ul>",
5211      success: function (t) {
5212        var o = t.find(".layui-layer-title").children(),
5213          r = t.find(".layui-layer-tabmain").children();
5214        o.on("mousedown", function (t) {
5215          t.stopPropagation ? t.stopPropagation() : t.cancelBubble = !0;
5216          var a = i(this),
5217            o = a.index();
5218          a.addClass(n).siblings().removeClass(n), r.eq(o).show().siblings().hide(), "function" == typeof e.change && e.change(o)
5219        }), "function" == typeof a && a(t)
5220      }
5221    }, e))
5222  }, r.photos = function (t, n, a) {
5223    function o(e, t, i) {
5224      var n = new Image;
5225      return n.src = e, n.complete ? t(n) : (n.onload = function () {
5226        n.onload = null, t(n)
5227      }, void(n.onerror = function (e) {
5228        n.onerror = null, i(e)
5229      }))
5230    }
5231    var s = {};
5232    if (t = t || {}, t.photos) {
5233      var l = !("string" == typeof t.photos || t.photos instanceof i),
5234        f = l ? t.photos : {},
5235        u = f.data || [],
5236        d = f.start || 0;
5237      s.imgIndex = (0 | d) + 1, t.img = t.img || "img";
5238      var y = t.success;
5239      if (delete t.success, l) {
5240        if (0 === u.length) return r.msg("&#x6CA1;&#x6709;&#x56FE;&#x7247;")
5241      } else {
5242        var p = i(t.photos),
5243          h = function () {
5244            u = [], p.find(t.img).each(function (e) {
5245              var t = i(this);
5246              t.attr("layer-index", e), u.push({
5247                alt: t.attr("alt"),
5248                pid: t.attr("layer-pid"),
5249                src: t.attr("layer-src") || t.attr("src"),
5250                thumb: t.attr("src")
5251              })
5252            })
5253          };
5254        if (h(), 0 === u.length) return;
5255        if (n || p.on("click", t.img, function () {
5256            h();
5257            var e = i(this),
5258              n = e.attr("layer-index");
vendor: 180,854 bytes, lines 5259-9238
5259            r.photos(i.extend(t, {
5260              photos: {
5261                start: n,
5262                data: u,
5263                tab: t.tab
5264              },
5265              full: t.full
5266            }), !0)
5267          }), !n) return
5268      }
5269      s.imgprev = function (e) {
5270        s.imgIndex--, s.imgIndex < 1 && (s.imgIndex = u.length), s.tabimg(e)
5271      }, s.imgnext = function (e, t) {
5272        s.imgIndex++, s.imgIndex > u.length && (s.imgIndex = 1, t) || s.tabimg(e)
5273      }, s.keyup = function (e) {
5274        if (!s.end) {
5275          var t = e.keyCode;
5276          e.preventDefault(), 37 === t ? s.imgprev(!0) : 39 === t ? s.imgnext(!0) : 27 === t && r.close(s.index)
5277        }
5278      }, s.tabimg = function (e) {
5279        if (!(u.length <= 1)) return f.start = s.imgIndex - 1, r.close(s.index), r.photos(t, !0, e)
5280      }, s.event = function () {
5281        s.bigimg.find(".layui-layer-imgprev").on("click", function (e) {
5282          e.preventDefault(), s.imgprev(!0)
5283        }), s.bigimg.find(".layui-layer-imgnext").on("click", function (e) {
5284          e.preventDefault(), s.imgnext(!0)
5285        }), i(document).on("keyup", s.keyup)
5286      }, s.loadi = r.load(1, {
5287        shade: !("shade" in t) && .9,
5288        scrollbar: !1
5289      }), o(u[d].src, function (n) {
5290        r.close(s.loadi), a && (t.anim = -1), s.index = r.open(i.extend({
5291          type: 1,
5292          id: "layui-layer-photos",
5293          area: function () {
5294            var a = [n.width, n.height],
5295              o = [i(e).width() - 100, i(e).height() - 100];
5296            if (!t.full && (a[0] > o[0] || a[1] > o[1])) {
5297              var r = [a[0] / o[0], a[1] / o[1]];
5298              r[0] > r[1] ? (a[0] = a[0] / r[0], a[1] = a[1] / r[0]) : r[0] < r[1] && (a[0] = a[0] / r[1], a[1] = a[1] / r[1])
5299            }
5300            return [a[0] + "px", a[1] + "px"]
5301          }(),
5302          title: !1,
5303          shade: .9,
5304          shadeClose: !0,
5305          closeBtn: !1,
5306          move: ".layui-layer-phimg img",
5307          moveType: 1,
5308          scrollbar: !1,
5309          moveOut: !0,
5310          anim: 5,
5311          isOutAnim: !1,
5312          skin: "layui-layer-photos" + c("photos"),
5313          content: '<div class="layui-layer-phimg"><img src="' + u[d].src + '" alt="' + (u[d].alt || "") + '" layer-pid="' + u[d].pid + '">' + function () {
5314            return u.length > 1 ? '<div class="layui-layer-imgsee"><span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span><div class="layui-layer-imgbar" style="display:' + (a ? "block" : "") + '"><span class="layui-layer-imgtit"><a href="javascript:;">' + (u[d].alt || "") + "</a><em>" + s.imgIndex + " / " + u.length + "</em></span></div></div>" : ""
5315          }() + "</div>",
5316          success: function (e, i) {
5317            s.bigimg = e.find(".layui-layer-phimg"), s.imgsee = e.find(".layui-layer-imgbar"), s.event(e), t.tab && t.tab(u[d], e), "function" == typeof y && y(e)
5318          },
5319          end: function () {
5320            s.end = !0, i(document).off("keyup", s.keyup)
5321          }
5322        }, t))
5323      }, function () {
5324        r.close(s.loadi), r.msg("&#x5F53;&#x524D;&#x56FE;&#x7247;&#x5730;&#x5740;&#x5F02;&#x5E38;<br>&#x662F;&#x5426;&#x7EE7;&#x7EED;&#x67E5;&#x770B;&#x4E0B;&#x4E00;&#x5F20;&#xFF1F;", {
5325          time: 3e4,
5326          btn: ["&#x4E0B;&#x4E00;&#x5F20;", "&#x4E0D;&#x770B;&#x4E86;"],
5327          yes: function () {
5328            u.length > 1 && s.imgnext(!0, !0)
5329          }
5330        })
5331      })
5332    }
5333  }, o.run = function (t) {
5334    i = t, n = i(e), l.html = i("html"), r.open = function (e) {
5335      var t = new s(e);
5336      return t.index
5337    }
5338  }, e.layui && layui.define ? (r.ready(), layui.define("jquery", function (t) {
5339    r.path = layui.cache.dir, o.run(layui.$), e.layer = r, t("layer", r)
5340  })) : "function" == typeof define && define.amd ? define(["jquery"], function () {
5341    return o.run(e.jQuery), r
5342  }) : function () {
5343    r.ready(), o.run(e.jQuery)
5344  }()
5345}(window);
5346layui.define("jquery", function (e) {
5347  "use strict";
5348  var t = layui.$,
5349    i = layui.hint(),
5350    n = {
5351      fixbar: function (e) {
5352        var i, n, r = "layui-fixbar",
5353          a = "layui-fixbar-top",
5354          o = t(document),
5355          l = t("body");
5356        e = t.extend({
5357          showHeight: 200
5358        }, e), e.bar1 = e.bar1 === !0 ? "&#xe606;" : e.bar1, e.bar2 = e.bar2 === !0 ? "&#xe607;" : e.bar2, e.bgcolor = e.bgcolor ? "background-color:" + e.bgcolor : "";
5359        var c = [e.bar1, e.bar2, "&#xe604;"],
5360          g = t(['<ul class="' + r + '">', e.bar1 ? '<li class="layui-icon" lay-type="bar1" style="' + e.bgcolor + '">' + c[0] + "</li>" : "", e.bar2 ? '<li class="layui-icon" lay-type="bar2" style="' + e.bgcolor + '">' + c[1] + "</li>" : "", '<li class="layui-icon ' + a + '" lay-type="top" style="' + e.bgcolor + '">' + c[2] + "</li>", "</ul>"].join("")),
5361          u = g.find("." + a),
5362          s = function () {
5363            var t = o.scrollTop();
5364            t >= e.showHeight ? i || (u.show(), i = 1) : i && (u.hide(), i = 0)
5365          };
5366        t("." + r)[0] || ("object" == typeof e.css && g.css(e.css), l.append(g), s(), g.find("li").on("click", function () {
5367          var i = t(this),
5368            n = i.attr("lay-type");
5369          "top" === n && t("html,body").animate({
5370            scrollTop: 0
5371          }, 200), e.click && e.click.call(this, n)
5372        }), o.on("scroll", function () {
5373          clearTimeout(n), n = setTimeout(function () {
5374            s()
5375          }, 100)
5376        }))
5377      },
5378      countdown: function (e, t, i) {
5379        var n = this,
5380          r = "function" == typeof t,
5381          a = new Date(e).getTime(),
5382          o = new Date(!t || r ? (new Date).getTime() : t).getTime(),
5383          l = a - o,
5384          c = [Math.floor(l / 864e5), Math.floor(l / 36e5) % 24, Math.floor(l / 6e4) % 60, Math.floor(l / 1e3) % 60];
5385        r && (i = t);
5386        var g = setTimeout(function () {
5387          n.countdown(e, o + 1e3, i)
5388        }, 1e3);
5389        return i && i(l > 0 ? c : [0, 0, 0, 0], t, g), l <= 0 && clearTimeout(g), g
5390      },
5391      timeAgo: function (e, t) {
5392        var i = this,
5393          n = [
5394            [],
5395            []
5396          ],
5397          r = (new Date).getTime() - new Date(e).getTime();
5398        return r > 26784e5 ? (r = new Date(e), n[0][0] = i.digit(r.getFullYear(), 4), n[0][1] = i.digit(r.getMonth() + 1), n[0][2] = i.digit(r.getDate()), t || (n[1][0] = i.digit(r.getHours()), n[1][1] = i.digit(r.getMinutes()), n[1][2] = i.digit(r.getSeconds())), n[0].join("-") + " " + n[1].join(":")) : r >= 864e5 ? (r / 1e3 / 60 / 60 / 24 | 0) + "\u5929\u524d" : r >= 36e5 ? (r / 1e3 / 60 / 60 | 0) + "\u5c0f\u65f6\u524d" : r >= 18e4 ? (r / 1e3 / 60 | 0) + "\u5206\u949f\u524d" : r < 0 ? "\u672a\u6765" : "\u521a\u521a"
5399      },
5400      digit: function (e, t) {
5401        var i = "";
5402        e = String(e), t = t || 2;
5403        for (var n = e.length; n < t; n++) i += "0";
5404        return e < Math.pow(10, t) ? i + (0 | e) : e
5405      },
5406      toDateString: function (e, t) {
5407        if (null === e || "" === e) return "";
5408        var n = this,
5409          r = new Date(function () {
5410            if (e) return isNaN(e) ? e : "string" == typeof e ? parseInt(e) : e
5411          }() || new Date),
5412          a = [n.digit(r.getFullYear(), 4), n.digit(r.getMonth() + 1), n.digit(r.getDate())],
5413          o = [n.digit(r.getHours()), n.digit(r.getMinutes()), n.digit(r.getSeconds())];
5414        return r.getDate() ? (t = t || "yyyy-MM-dd HH:mm:ss", t.replace(/yyyy/g, a[0]).replace(/MM/g, a[1]).replace(/dd/g, a[2]).replace(/HH/g, o[0]).replace(/mm/g, o[1]).replace(/ss/g, o[2])) : (i.error('Invalid Msec for "util.toDateString(Msec)"'), "")
5415      },
5416      escape: function (e) {
5417        return String(e || "").replace(/&(?!#?[a-zA-Z0-9]+;)/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/'/g, "&#39;").replace(/"/g, "&quot;")
5418      },
5419      unescape: function (e) {
5420        return String(e || "").replace(/\&amp;/g, "&").replace(/\&lt;/g, "<").replace(/\&gt;/g, ">").replace(/\&#39;/, "'").replace(/\&quot;/, '"')
5421      },
5422      toVisibleArea: function (e) {
5423        if (e = t.extend({
5424            margin: 160,
5425            duration: 200,
5426            type: "y"
5427          }, e), e.scrollElem[0] && e.thisElem[0]) {
5428          var i = e.scrollElem,
5429            n = e.thisElem,
5430            r = "y" === e.type,
5431            a = r ? "scrollTop" : "scrollLeft",
5432            o = r ? "top" : "left",
5433            l = i[a](),
5434            c = i[r ? "height" : "width"](),
5435            g = i.offset()[o],
5436            u = n.offset()[o] - g,
5437            s = {};
5438          (u > c - e.margin || u < e.margin) && (s[a] = u - c / 2 + l, i.animate(s, e.duration))
5439        }
5440      },
5441      event: function (e, i, r) {
5442        var a = t("body");
5443        return r = r || "click", i = n.event[e] = t.extend(!0, n.event[e], i) || {}, n.event.UTIL_EVENT_CALLBACK = n.event.UTIL_EVENT_CALLBACK || {}, a.off(r, "*[" + e + "]", n.event.UTIL_EVENT_CALLBACK[e]), n.event.UTIL_EVENT_CALLBACK[e] = function () {
5444          var n = t(this),
5445            r = n.attr(e);
5446          "function" == typeof i[r] && i[r].call(this, n)
5447        }, a.on(r, "*[" + e + "]", n.event.UTIL_EVENT_CALLBACK[e]), i
5448      }
5449    };
5450  e("util", n)
5451});
5452layui.define("jquery", function (t) {
5453  "use strict";
5454  var i = layui.$,
5455    a = (layui.hint(), layui.device()),
5456    e = "element",
5457    l = "layui-this",
5458    n = "layui-show",
5459    s = function () {
5460      this.config = {}
5461    };
5462  s.prototype.set = function (t) {
5463    var a = this;
5464    return i.extend(!0, a.config, t), a
5465  }, s.prototype.on = function (t, i) {
5466    return layui.onevent.call(this, e, t, i)
5467  }, s.prototype.tabAdd = function (t, a) {
5468    var e = ".layui-tab-title",
5469      l = i(".layui-tab[lay-filter=" + t + "]"),
5470      n = l.children(e),
5471      s = n.children(".layui-tab-bar"),
5472      o = l.children(".layui-tab-content"),
5473      r = "<li" + function () {
5474        var t = [];
5475        return layui.each(a, function (i, a) {
5476          /^(title|content)$/.test(i) || t.push("lay-" + i + '="' + a + '"')
5477        }), t.length > 0 && t.unshift(""), t.join(" ")
5478      }() + ">" + (a.title || "unnaming") + "</li>";
5479    return s[0] ? s.before(r) : n.append(r), o.append('<div class="layui-tab-item">' + (a.content || "") + "</div>"), b.hideTabMore(!0), b.tabAuto(), this
5480  }, s.prototype.tabDelete = function (t, a) {
5481    var e = ".layui-tab-title",
5482      l = i(".layui-tab[lay-filter=" + t + "]"),
5483      n = l.children(e),
5484      s = n.find('>li[lay-id="' + a + '"]');
5485    return b.tabDelete(null, s), this
5486  }, s.prototype.tabChange = function (t, a) {
5487    var e = ".layui-tab-title",
5488      l = i(".layui-tab[lay-filter=" + t + "]"),
5489      n = l.children(e),
5490      s = n.find('>li[lay-id="' + a + '"]');
5491    return b.tabClick.call(s[0], null, null, s), this
5492  }, s.prototype.tab = function (t) {
5493    t = t || {}, m.on("click", t.headerElem, function (a) {
5494      var e = i(this).index();
5495      b.tabClick.call(this, a, e, null, t)
5496    })
5497  }, s.prototype.progress = function (t, a) {
5498    var e = "layui-progress",
5499      l = i("." + e + "[lay-filter=" + t + "]"),
5500      n = l.find("." + e + "-bar"),
5501      s = n.find("." + e + "-text");
5502    return n.css("width", a).attr("lay-percent", a), s.text(a), this
5503  };
5504  var o = ".layui-nav",
5505    r = "layui-nav-item",
5506    c = "layui-nav-bar",
5507    u = "layui-nav-tree",
5508    y = "layui-nav-child",
5509    d = "layui-nav-child-c",
5510    f = "layui-nav-more",
5511    h = "layui-icon-down",
5512    p = "layui-anim layui-anim-upbit",
5513    b = {
5514      tabClick: function (t, a, s, o) {
5515        o = o || {};
5516        var r = s || i(this),
5517          a = a || r.parent().children("li").index(r),
5518          c = o.headerElem ? r.parent() : r.parents(".layui-tab").eq(0),
5519          u = o.bodyElem ? i(o.bodyElem) : c.children(".layui-tab-content").children(".layui-tab-item"),
5520          y = r.find("a"),
5521          d = "javascript:;" !== y.attr("href") && "_blank" === y.attr("target"),
5522          f = "string" == typeof r.attr("lay-unselect"),
5523          h = c.attr("lay-filter");
5524        d || f || (r.addClass(l).siblings().removeClass(l), u.eq(a).addClass(n).siblings().removeClass(n)), layui.event.call(this, e, "tab(" + h + ")", {
5525          elem: c,
5526          index: a
5527        })
5528      },
5529      tabDelete: function (t, a) {
5530        var n = a || i(this).parent(),
5531          s = n.index(),
5532          o = n.parents(".layui-tab").eq(0),
5533          r = o.children(".layui-tab-content").children(".layui-tab-item"),
5534          c = o.attr("lay-filter");
5535        n.hasClass(l) && (n.next()[0] ? b.tabClick.call(n.next()[0], null, s + 1) : n.prev()[0] && b.tabClick.call(n.prev()[0], null, s - 1)), n.remove(), r.eq(s).remove(), setTimeout(function () {
5536          b.tabAuto()
5537        }, 50), layui.event.call(this, e, "tabDelete(" + c + ")", {
5538          elem: o,
5539          index: s
5540        })
5541      },
5542      tabAuto: function () {
5543        var t = "layui-tab-more",
5544          e = "layui-tab-bar",
5545          l = "layui-tab-close",
5546          n = this;
5547        i(".layui-tab").each(function () {
5548          var s = i(this),
5549            o = s.children(".layui-tab-title"),
5550            r = (s.children(".layui-tab-content").children(".layui-tab-item"), 'lay-stope="tabmore"'),
5551            c = i('<span class="layui-unselect layui-tab-bar" ' + r + "><i " + r + ' class="layui-icon">&#xe61a;</i></span>');
5552          if (n === window && 8 != a.ie && b.hideTabMore(!0), s.attr("lay-allowClose") && o.find("li").each(function () {
5553              var t = i(this);
5554              if (!t.find("." + l)[0]) {
5555                var a = i('<i class="layui-icon layui-icon-close layui-unselect ' + l + '"></i>');
5556                a.on("click", b.tabDelete), t.append(a)
5557              }
5558            }), "string" != typeof s.attr("lay-unauto"))
5559            if (o.prop("scrollWidth") > o.outerWidth() + 1) {
5560              if (o.find("." + e)[0]) return;
5561              o.append(c), s.attr("overflow", ""), c.on("click", function (i) {
5562                o[this.title ? "removeClass" : "addClass"](t), this.title = this.title ? "" : "\u6536\u7f29"
5563              })
5564            } else o.find("." + e).remove(), s.removeAttr("overflow")
5565        })
5566      },
5567      hideTabMore: function (t) {
5568        var a = i(".layui-tab-title");
5569        t !== !0 && "tabmore" === i(t.target).attr("lay-stope") || (a.removeClass("layui-tab-more"), a.find(".layui-tab-bar").attr("title", ""))
5570      },
5571      clickThis: function () {
5572        var t = i(this),
5573          a = t.parents(o),
5574          n = a.attr("lay-filter"),
5575          s = t.parent(),
5576          c = t.siblings("." + y),
5577          d = "string" == typeof s.attr("lay-unselect");
5578        "javascript:;" !== t.attr("href") && "_blank" === t.attr("target") || d || c[0] || (a.find("." + l).removeClass(l), s.addClass(l)), a.hasClass(u) && (c.removeClass(p), c[0] && (s["none" === c.css("display") ? "addClass" : "removeClass"](r + "ed"), "all" === a.attr("lay-shrink") && s.siblings().removeClass(r + "ed"))), layui.event.call(this, e, "nav(" + n + ")", t)
5579      },
5580      collapse: function () {
5581        var t = i(this),
5582          a = t.find(".layui-colla-icon"),
5583          l = t.siblings(".layui-colla-content"),
5584          s = t.parents(".layui-collapse").eq(0),
5585          o = s.attr("lay-filter"),
5586          r = "none" === l.css("display");
5587        if ("string" == typeof s.attr("lay-accordion")) {
5588          var c = s.children(".layui-colla-item").children("." + n);
5589          c.siblings(".layui-colla-title").children(".layui-colla-icon").html("&#xe602;"), c.removeClass(n)
5590        }
5591        l[r ? "addClass" : "removeClass"](n), a.html(r ? "&#xe61a;" : "&#xe602;"), layui.event.call(this, e, "collapse(" + o + ")", {
5592          title: t,
5593          content: l,
5594          show: r
5595        })
5596      }
5597    };
5598  s.prototype.init = function (t, e) {
5599    var l = function () {
5600        return e ? '[lay-filter="' + e + '"]' : ""
5601      }(),
5602      s = {
5603        tab: function () {
5604          b.tabAuto.call({})
5605        },
5606        nav: function () {
5607          var t = 200,
5608            e = {},
5609            s = {},
5610            v = {},
5611            m = "layui-nav-title",
5612            C = function (l, o, r) {
5613              var c = i(this),
5614                h = c.find("." + y);
5615              if (o.hasClass(u)) {
5616                if (!h[0]) {
5617                  var b = c.children("." + m);
5618                  l.css({
5619                    top: c.offset().top - o.offset().top,
5620                    height: (b[0] ? b : c).outerHeight(),
5621                    opacity: 1
5622                  })
5623                }
5624              } else h.addClass(p), h.hasClass(d) && h.css({
5625                left: -(h.outerWidth() - c.width()) / 2
5626              }), h[0] ? l.css({
5627                left: l.position().left + l.width() / 2,
5628                width: 0,
5629                opacity: 0
5630              }) : l.css({
5631                left: c.position().left + parseFloat(c.css("marginLeft")),
5632                top: c.position().top + c.height() - l.height()
5633              }), e[r] = setTimeout(function () {
5634                l.css({
5635                  width: h[0] ? 0 : c.width(),
5636                  opacity: h[0] ? 0 : 1
5637                })
5638              }, a.ie && a.ie < 10 ? 0 : t), clearTimeout(v[r]), "block" === h.css("display") && clearTimeout(s[r]), s[r] = setTimeout(function () {
5639                h.addClass(n), c.find("." + f).addClass(f + "d")
5640              }, 300)
5641            };
5642          i(o + l).each(function (a) {
5643            var l = i(this),
5644              o = i('<span class="' + c + '"></span>'),
5645              d = l.find("." + r);
5646            l.find("." + c)[0] || (l.append(o), (l.hasClass(u) ? d.find("dd,>." + m) : d).on("mouseenter", function () {
5647              C.call(this, o, l, a)
5648            }).on("mouseleave", function () {
5649              l.hasClass(u) ? o.css({
5650                height: 0,
5651                opacity: 0
5652              }) : (clearTimeout(s[a]), s[a] = setTimeout(function () {
5653                l.find("." + y).removeClass(n), l.find("." + f).removeClass(f + "d")
5654              }, 300))
5655            }), l.on("mouseleave", function () {
5656              clearTimeout(e[a]), v[a] = setTimeout(function () {
5657                l.hasClass(u) || o.css({
5658                  width: 0,
5659                  left: o.position().left + o.width() / 2,
5660                  opacity: 0
5661                })
5662              }, t)
5663            })), d.find("a").each(function () {
5664              var t = i(this),
5665                a = (t.parent(), t.siblings("." + y));
5666              a[0] && !t.children("." + f)[0] && t.append('<i class="layui-icon ' + h + " " + f + '"></i>'), t.off("click", b.clickThis).on("click", b.clickThis)
5667            })
5668          })
5669        },
5670        breadcrumb: function () {
5671          var t = ".layui-breadcrumb";
5672          i(t + l).each(function () {
5673            var t = i(this),
5674              a = "lay-separator",
5675              e = t.attr(a) || "/",
5676              l = t.find("a");
5677            l.next("span[" + a + "]")[0] || (l.each(function (t) {
5678              t !== l.length - 1 && i(this).after("<span " + a + ">" + e + "</span>")
5679            }), t.css("visibility", "visible"))
5680          })
5681        },
5682        progress: function () {
5683          var t = "layui-progress";
5684          i("." + t + l).each(function () {
5685            var a = i(this),
5686              e = a.find(".layui-progress-bar"),
5687              l = e.attr("lay-percent");
5688            e.css("width", function () {
5689              return /^.+\/.+$/.test(l) ? 100 * new Function("return " + l)() + "%" : l
5690            }()), a.attr("lay-showPercent") && setTimeout(function () {
5691              e.html('<span class="' + t + '-text">' + l + "</span>")
5692            }, 350)
5693          })
5694        },
5695        collapse: function () {
5696          var t = "layui-collapse";
5697          i("." + t + l).each(function () {
5698            var t = i(this).find(".layui-colla-item");
5699            t.each(function () {
5700              var t = i(this),
5701                a = t.find(".layui-colla-title"),
5702                e = t.find(".layui-colla-content"),
5703                l = "none" === e.css("display");
5704              a.find(".layui-colla-icon").remove(), a.append('<i class="layui-icon layui-colla-icon">' + (l ? "&#xe602;" : "&#xe61a;") + "</i>"), a.off("click", b.collapse).on("click", b.collapse)
5705            })
5706          })
5707        }
5708      };
5709    return s[t] ? s[t]() : layui.each(s, function (t, i) {
5710      i()
5711    })
5712  }, s.prototype.render = s.prototype.init;
5713  var v = new s,
5714    m = i(document);
5715  i(function () {
5716    v.render()
5717  });
5718  var C = ".layui-tab-title li";
5719  m.on("click", C, b.tabClick), m.on("click", b.hideTabMore), i(window).on("resize", b.tabAuto), t(e, v)
5720});
5721layui.define("layer", function (e) {
5722  "use strict";
5723  var t = layui.$,
5724    i = layui.layer,
5725    n = layui.hint(),
5726    o = layui.device(),
5727    a = {
5728      config: {},
5729      set: function (e) {
5730        var i = this;
5731        return i.config = t.extend({}, i.config, e), i
5732      },
5733      on: function (e, t) {
5734        return layui.onevent.call(this, r, e, t)
5735      }
5736    },
5737    l = function () {
5738      var e = this;
5739      return {
5740        upload: function (t) {
5741          e.upload.call(e, t)
5742        },
5743        reload: function (t) {
5744          e.reload.call(e, t)
5745        },
5746        config: e.config
5747      }
5748    },
5749    r = "upload",
5750    u = "layui-upload-file",
5751    c = "layui-upload-form",
5752    f = "layui-upload-iframe",
5753    s = "layui-upload-choose",
5754    p = function (e) {
5755      var i = this;
5756      i.config = t.extend({}, i.config, a.config, e), i.render()
5757    };
5758  p.prototype.config = {
5759    accept: "images",
5760    exts: "",
5761    auto: !0,
5762    bindAction: "",
5763    url: "",
5764    field: "file",
5765    acceptMime: "",
5766    method: "post",
5767    data: {},
5768    drag: !0,
5769    size: 0,
5770    number: 0,
5771    multiple: !1
5772  }, p.prototype.render = function (e) {
5773    var i = this,
5774      e = i.config;
5775    e.elem = t(e.elem), e.bindAction = t(e.bindAction), i.file(), i.events()
5776  }, p.prototype.file = function () {
5777    var e = this,
5778      i = e.config,
5779      n = e.elemFile = t(['<input class="' + u + '" type="file" accept="' + i.acceptMime + '" name="' + i.field + '"', i.multiple ? " multiple" : "", ">"].join("")),
5780      a = i.elem.next();
5781    (a.hasClass(u) || a.hasClass(c)) && a.remove(), o.ie && o.ie < 10 && i.elem.wrap('<div class="layui-upload-wrap"></div>'), e.isFile() ? (e.elemFile = i.elem, i.field = i.elem[0].name) : i.elem.after(n), o.ie && o.ie < 10 && e.initIE()
5782  }, p.prototype.initIE = function () {
5783    var e = this,
5784      i = e.config,
5785      n = t('<iframe id="' + f + '" class="' + f + '" name="' + f + '" frameborder="0"></iframe>'),
5786      o = t(['<form target="' + f + '" class="' + c + '" method="post" key="set-mine" enctype="multipart/form-data" action="' + i.url + '">', "</form>"].join(""));
5787    t("#" + f)[0] || t("body").append(n), i.elem.next().hasClass(c) || (e.elemFile.wrap(o), i.elem.next("." + c).append(function () {
5788      var e = [];
5789      return layui.each(i.data, function (t, i) {
5790        i = "function" == typeof i ? i() : i, e.push('<input type="hidden" name="' + t + '" value="' + i + '">')
5791      }), e.join("")
5792    }()))
5793  }, p.prototype.msg = function (e) {
5794    return i.msg(e, {
5795      icon: 2,
5796      shift: 6
5797    })
5798  }, p.prototype.isFile = function () {
5799    var e = this.config.elem[0];
5800    if (e) return "input" === e.tagName.toLocaleLowerCase() && "file" === e.type
5801  }, p.prototype.preview = function (e) {
5802    var t = this;
5803    window.FileReader && layui.each(t.chooseFiles, function (t, i) {
5804      var n = new FileReader;
5805      n.readAsDataURL(i), n.onload = function () {
5806        e && e(t, i, this.result)
5807      }
5808    })
5809  }, p.prototype.upload = function (e, i) {
5810    var n, a = this,
5811      l = a.config,
5812      r = a.elemFile[0],
5813      u = function () {
5814        var i = 0,
5815          n = 0,
5816          o = e || a.files || a.chooseFiles || r.files,
5817          u = function () {
5818            l.multiple && i + n === a.fileLength && "function" == typeof l.allDone && l.allDone({
5819              total: a.fileLength,
5820              successful: i,
5821              aborted: n
5822            })
5823          };
5824        layui.each(o, function (e, o) {
5825          var r = new FormData;
5826          r.append(l.field, o), layui.each(l.data, function (e, t) {
5827            t = "function" == typeof t ? t() : t, r.append(e, t)
5828          });
5829          var c = {
5830            url: l.url,
5831            type: "post",
5832            data: r,
5833            contentType: !1,
5834            processData: !1,
5835            dataType: "json",
5836            headers: l.headers || {},
5837            success: function (t) {
5838              i++, d(e, t), u()
5839            },
5840            error: function () {
5841              n++, a.msg("\u8bf7\u6c42\u4e0a\u4f20\u63a5\u53e3\u51fa\u73b0\u5f02\u5e38"), m(e), u()
5842            }
5843          };
5844          "function" == typeof l.progress && (c.xhr = function () {
5845            var i = t.ajaxSettings.xhr();
5846            return i.upload.addEventListener("progress", function (t) {
5847              if (t.lengthComputable) {
5848                var i = Math.floor(t.loaded / t.total * 100);
5849                l.progress(i, l.item ? l.item[0] : l.elem[0], t, e)
5850              }
5851            }), i
5852          }), t.ajax(c)
5853        })
5854      },
5855      c = function () {
5856        var e = t("#" + f);
5857        a.elemFile.parent().submit(), clearInterval(p.timer), p.timer = setInterval(function () {
5858          var t, i = e.contents().find("body");
5859          try {
5860            t = i.text()
5861          } catch (n) {
5862            a.msg("\u83b7\u53d6\u4e0a\u4f20\u540e\u7684\u54cd\u5e94\u4fe1\u606f\u51fa\u73b0\u5f02\u5e38"), clearInterval(p.timer), m()
5863          }
5864          t && (clearInterval(p.timer), i.html(""), d(0, t))
5865        }, 30)
5866      },
5867      d = function (e, t) {
5868        if (a.elemFile.next("." + s).remove(), r.value = "", "object" != typeof t) try {
5869          t = JSON.parse(t)
5870        } catch (i) {
5871          return t = {}, a.msg("\u8bf7\u5bf9\u4e0a\u4f20\u63a5\u53e3\u8fd4\u56de\u6709\u6548JSON")
5872        }
5873        "function" == typeof l.done && l.done(t, e || 0, function (e) {
5874          a.upload(e)
5875        })
5876      },
5877      m = function (e) {
5878        l.auto && (r.value = ""), "function" == typeof l.error && l.error(e || 0, function (e) {
5879          a.upload(e)
5880        })
5881      },
5882      h = l.exts,
5883      v = function () {
5884        var t = [];
5885        return layui.each(e || a.chooseFiles, function (e, i) {
5886          t.push(i.name)
5887        }), t
5888      }(),
5889      g = {
5890        preview: function (e) {
5891          a.preview(e)
5892        },
5893        upload: function (e, t) {
5894          var i = {};
5895          i[e] = t, a.upload(i)
5896        },
5897        pushFile: function () {
5898          return a.files = a.files || {}, layui.each(a.chooseFiles, function (e, t) {
5899            a.files[e] = t
5900          }), a.files
5901        },
5902        resetFile: function (e, t, i) {
5903          var n = new File([t], i);
5904          a.files = a.files || {}, a.files[e] = n
5905        }
5906      },
5907      y = function () {
5908        if (!(("choose" === i || l.auto) && (l.choose && l.choose(g), "choose" === i) || l.before && l.before(g) === !1)) return o.ie ? o.ie > 9 ? u() : c() : void u()
5909      };
5910    if (v = 0 === v.length ? r.value.match(/[^\/\\]+\..+/g) || [] || "" : v, 0 !== v.length) {
5911      switch (l.accept) {
5912        case "file":
5913          if (h && !RegExp("\\w\\.(" + h + ")$", "i").test(escape(v))) return a.msg("\u9009\u62e9\u7684\u6587\u4ef6\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f"), r.value = "";
5914          break;
5915        case "video":
5916          if (!RegExp("\\w\\.(" + (h || "avi|mp4|wma|rmvb|rm|flash|3gp|flv") + ")$", "i").test(escape(v))) return a.msg("\u9009\u62e9\u7684\u89c6\u9891\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f"), r.value = "";
5917          break;
5918        case "audio":
5919          if (!RegExp("\\w\\.(" + (h || "mp3|wav|mid") + ")$", "i").test(escape(v))) return a.msg("\u9009\u62e9\u7684\u97f3\u9891\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f"), r.value = "";
5920          break;
5921        default:
5922          if (layui.each(v, function (e, t) {
5923              RegExp("\\w\\.(" + (h || "jpg|png|gif|bmp|jpeg$") + ")", "i").test(escape(t)) || (n = !0)
5924            }), n) return a.msg("\u9009\u62e9\u7684\u56fe\u7247\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f"), r.value = ""
5925      }
5926      if (a.fileLength = function () {
5927          var t = 0,
5928            i = e || a.files || a.chooseFiles || r.files;
5929          return layui.each(i, function () {
5930            t++
5931          }), t
5932        }(), l.number && a.fileLength > l.number) return a.msg("\u540c\u65f6\u6700\u591a\u53ea\u80fd\u4e0a\u4f20\u7684\u6570\u91cf\u4e3a\uff1a" + l.number);
5933      if (l.size > 0 && !(o.ie && o.ie < 10)) {
5934        var F;
5935        if (layui.each(a.chooseFiles, function (e, t) {
5936            if (t.size > 1024 * l.size) {
5937              var i = l.size / 1024;
5938              i = i >= 1 ? i.toFixed(2) + "MB" : l.size + "KB", r.value = "", F = i
5939            }
5940          }), F) return a.msg("\u6587\u4ef6\u4e0d\u80fd\u8d85\u8fc7" + F)
5941      }
5942      y()
5943    }
5944  }, p.prototype.reload = function (e) {
5945    e = e || {}, delete e.elem, delete e.bindAction;
5946    var i = this,
5947      e = i.config = t.extend({}, i.config, a.config, e),
5948      n = e.elem.next();
5949    n.attr({
5950      name: e.name,
5951      accept: e.acceptMime,
5952      multiple: e.multiple
5953    })
5954  }, p.prototype.events = function () {
5955    var e = this,
5956      i = e.config,
5957      a = function (t) {
5958        e.chooseFiles = {}, layui.each(t, function (t, i) {
5959          var n = (new Date).getTime();
5960          e.chooseFiles[n + "-" + t] = i
5961        })
5962      },
5963      l = function (t, n) {
5964        var o = e.elemFile,
5965          a = (i.item ? i.item : i.elem, t.length > 1 ? t.length + "\u4e2a\u6587\u4ef6" : (t[0] || {}).name || o[0].value.match(/[^\/\\]+\..+/g) || [] || "");
5966        o.next().hasClass(s) && o.next().remove(), e.upload(null, "choose"), e.isFile() || i.choose || o.after('<span class="layui-inline ' + s + '">' + a + "</span>")
5967      };
5968    i.elem.off("upload.start").on("upload.start", function () {
5969      var o = t(this),
5970        a = o.attr("lay-data");
5971      if (a) try {
5972        a = new Function("return " + a)(), e.config = t.extend({}, i, a)
5973      } catch (l) {
5974        n.error("Upload element property lay-data configuration item has a syntax error: " + a)
5975      }
5976      e.config.item = o, e.elemFile[0].click()
5977    }), o.ie && o.ie < 10 || i.elem.off("upload.over").on("upload.over", function () {
5978      var e = t(this);
5979      e.attr("lay-over", "")
5980    }).off("upload.leave").on("upload.leave", function () {
5981      var e = t(this);
5982      e.removeAttr("lay-over")
5983    }).off("upload.drop").on("upload.drop", function (n, o) {
5984      var r = t(this),
5985        u = o.originalEvent.dataTransfer.files || [];
5986      r.removeAttr("lay-over"), a(u), i.auto ? e.upload(u) : l(u)
5987    }), e.elemFile.off("upload.change").on("upload.change", function () {
5988      var t = this.files || [];
5989      a(t), i.auto ? e.upload() : l(t)
5990    }), i.bindAction.off("upload.action").on("upload.action", function () {
5991      e.upload()
5992    }), i.elem.data("haveEvents") || (e.elemFile.on("change", function () {
5993      t(this).trigger("upload.change")
5994    }), i.elem.on("click", function () {
5995      e.isFile() || t(this).trigger("upload.start")
5996    }), i.drag && i.elem.on("dragover", function (e) {
5997      e.preventDefault(), t(this).trigger("upload.over")
5998    }).on("dragleave", function (e) {
5999      t(this).trigger("upload.leave")
6000    }).on("drop", function (e) {
6001      e.preventDefault(), t(this).trigger("upload.drop", e)
6002    }), i.bindAction.on("click", function () {
6003      t(this).trigger("upload.action")
6004    }), i.elem.data("haveEvents", !0))
6005  }, a.render = function (e) {
6006    var t = new p(e);
6007    return l.call(t)
6008  }, e(r, a)
6009});
6010layui.define(["jquery", "laytpl", "lay"], function (e) {
6011  "use strict";
6012  var i = layui.$,
6013    n = layui.laytpl,
6014    t = layui.hint(),
6015    a = layui.device(),
6016    l = a.mobile ? "click" : "mousedown",
6017    r = "dropdown",
6018    o = "layui_" + r + "_index",
6019    u = {
6020      config: {},
6021      index: layui[r] ? layui[r].index + 1e4 : 0,
6022      set: function (e) {
6023        var n = this;
6024        return n.config = i.extend({}, n.config, e), n
6025      },
6026      on: function (e, i) {
6027        return layui.onevent.call(this, r, e, i)
6028      }
6029    },
6030    d = function () {
6031      var e = this,
6032        i = e.config,
6033        n = i.id;
6034      return d.that[n] = e, {
6035        config: i,
6036        reload: function (i) {
6037          e.reload.call(e, i)
6038        }
6039      }
6040    },
6041    s = "layui-dropdown",
6042    m = "layui-menu-item-up",
6043    c = "layui-menu-item-down",
6044    p = "layui-menu-body-title",
6045    y = "layui-menu-item-group",
6046    f = "layui-menu-item-parent",
6047    v = "layui-menu-item-divider",
6048    g = "layui-menu-item-checked",
6049    h = "layui-menu-item-checked2",
6050    w = "layui-menu-body-panel",
6051    C = "layui-menu-body-panel-left",
6052    V = "." + y + ">." + p,
6053    k = function (e) {
6054      var n = this;
6055      n.index = ++u.index, n.config = i.extend({}, n.config, u.config, e), n.init()
6056    };
6057  k.prototype.config = {
6058    trigger: "click",
6059    content: "",
6060    className: "",
6061    style: "",
6062    show: !1,
6063    isAllowSpread: !0,
6064    isSpreadItem: !0,
6065    data: [],
6066    delay: 300
6067  }, k.prototype.reload = function (e) {
6068    var n = this;
6069    n.config = i.extend({}, n.config, e), n.init(!0)
6070  }, k.prototype.init = function (e) {
6071    var n = this,
6072      t = n.config,
6073      a = t.elem = i(t.elem);
6074    if (a.length > 1) return layui.each(a, function () {
6075      u.render(i.extend({}, t, {
6076        elem: this
6077      }))
6078    }), n;
6079    if (!e && a[0] && a.data(o)) {
6080      var l = d.getThis(a.data(o));
6081      if (!l) return;
6082      return l.reload(t)
6083    }
6084    t.id = "id" in t ? t.id : n.index, t.show && n.render(e), n.events()
6085  }, k.prototype.render = function (e) {
6086    var t = this,
6087      a = t.config,
6088      r = i("body"),
6089      s = function () {
6090        var e = i('<ul class="layui-menu layui-dropdown-menu"></ul>');
6091        return a.data.length > 0 ? m(e, a.data) : e.html('<li class="layui-menu-item-none">no menu</li>'), e
6092      },
6093      m = function (e, t) {
6094        return layui.each(t, function (t, l) {
6095          var r = l.child && l.child.length > 0,
6096            o = "isSpreadItem" in l ? l.isSpreadItem : a.isSpreadItem,
6097            u = l.templet ? n(l.templet).render(l) : a.templet ? n(a.templet).render(l) : l.title,
6098            d = function () {
6099              return r && (l.type = l.type || "parent"), l.type ? {
6100                group: "group",
6101                parent: "parent",
6102                "-": "-"
6103              } [l.type] || "parent" : ""
6104            }();
6105          if ("-" === d || l.title || l.id || r) {
6106            var s = i(["<li" + function () {
6107              var e = {
6108                group: "layui-menu-item-group" + (a.isAllowSpread ? o ? " layui-menu-item-down" : " layui-menu-item-up" : ""),
6109                parent: f,
6110                "-": "layui-menu-item-divider"
6111              };
6112              return r || d ? ' class="' + e[d] + '"' : ""
6113            }() + ">", function () {
6114              var e = "href" in l ? '<a href="' + l.href + '" target="' + (l.target || "_self") + '">' + u + "</a>" : u;
6115              return r ? '<div class="' + p + '">' + e + function () {
6116                return "parent" === d ? '<i class="layui-icon layui-icon-right"></i>' : "group" === d && a.isAllowSpread ? '<i class="layui-icon layui-icon-' + (o ? "up" : "down") + '"></i>' : ""
6117              }() + "</div>" : '<div class="' + p + '">' + e + "</div>"
6118            }(), "</li>"].join(""));
6119            if (s.data("item", l), r) {
6120              var c = i('<div class="layui-panel layui-menu-body-panel"></div>'),
6121                y = i("<ul></ul>");
6122              "parent" === d ? (c.append(m(y, l.child)), s.append(c)) : s.append(m(y, l.child))
6123            }
6124            e.append(s)
6125          }
6126        }), e
6127      },
6128      c = ['<div class="layui-dropdown layui-border-box layui-panel layui-anim layui-anim-downbit">', "</div>"].join("");
6129    ("contextmenu" === a.trigger || lay.isTopElem(a.elem[0])) && (e = !0), !e && a.elem.data(o + "_opened") || (t.elemView = i(c), t.elemView.append(a.content || s()), a.className && t.elemView.addClass(a.className), a.style && t.elemView.attr("style", a.style), u.thisId = a.id, t.remove(), r.append(t.elemView), a.elem.data(o + "_opened", !0), t.position(), d.prevElem = t.elemView, d.prevElem.data("prevElem", a.elem), t.elemView.find(".layui-menu").on(l, function (e) {
6130      layui.stope(e)
6131    }), t.elemView.find(".layui-menu li").on("click", function (e) {
6132      var n = i(this),
6133        l = n.data("item") || {},
6134        r = l.child && l.child.length > 0;
6135      r || "-" === l.type || (t.remove(), "function" == typeof a.click && a.click(l, n))
6136    }), t.elemView.find(V).on("click", function (e) {
6137      var n = i(this),
6138        t = n.parent(),
6139        l = t.data("item") || {};
6140      "group" === l.type && a.isAllowSpread && d.spread(t)
6141    }), "mouseenter" === a.trigger && t.elemView.on("mouseenter", function () {
6142      clearTimeout(d.timer)
6143    }).on("mouseleave", function () {
6144      t.delayRemove()
6145    }))
6146  }, k.prototype.position = function (e) {
6147    var i = this,
6148      n = i.config;
6149    lay.position(n.elem[0], i.elemView[0], {
6150      position: n.position,
6151      e: i.e,
6152      clickType: "contextmenu" === n.trigger ? "right" : null,
6153      align: n.align || null
6154    })
6155  }, k.prototype.remove = function () {
6156    var e = this,
6157      i = (e.config, d.prevElem);
6158    i && (i.data("prevElem") && i.data("prevElem").data(o + "_opened", !1), i.remove())
6159  }, k.prototype.delayRemove = function () {
6160    var e = this,
6161      i = e.config;
6162    clearTimeout(d.timer), d.timer = setTimeout(function () {
6163      e.remove()
6164    }, i.delay)
6165  }, k.prototype.events = function () {
6166    var e = this,
6167      i = e.config;
6168    "hover" === i.trigger && (i.trigger = "mouseenter"), e.prevElem && e.prevElem.off(i.trigger, e.prevElemCallback), e.prevElem = i.elem, e.prevElemCallback = function (n) {
6169      clearTimeout(d.timer), e.e = n, e.render(), n.preventDefault(), "function" == typeof i.ready && i.ready(e.elemView, i.elem, e.e.target)
6170    }, i.elem.on(i.trigger, e.prevElemCallback), "mouseenter" === i.trigger && i.elem.on("mouseleave", function () {
6171      e.delayRemove()
6172    })
6173  }, d.that = {}, d.getThis = function (e) {
6174    var i = d.that[e];
6175    return i || t.error(e ? r + " instance with ID '" + e + "' not found" : "ID argument required"), i
6176  }, d.spread = function (e) {
6177    var i = e.children("." + p).find(".layui-icon");
6178    e.hasClass(m) ? (e.removeClass(m).addClass(c), i.removeClass("layui-icon-down").addClass("layui-icon-up")) : (e.removeClass(c).addClass(m), i.removeClass("layui-icon-up").addClass("layui-icon-down"))
6179  }, ! function () {
6180    var e = i(window),
6181      n = i(document);
6182    e.on("resize", function () {
6183      if (u.thisId) {
6184        var e = d.getThis(u.thisId);
6185        if (e) {
6186          if (!e.elemView[0] || !i("." + s)[0]) return !1;
6187          var n = e.config;
6188          "contextmenu" === n.trigger ? e.remove() : e.position()
6189        }
6190      }
6191    }), n.on(l, function (e) {
6192      if (u.thisId) {
6193        var i = d.getThis(u.thisId);
6194        if (i) {
6195          var n = i.config;
6196          !lay.isTopElem(n.elem[0]) && "contextmenu" !== n.trigger && (e.target === n.elem[0] || n.elem.find(e.target)[0] || e.target === i.elemView[0] || i.elemView && i.elemView.find(e.target)[0]) || i.remove()
6197        }
6198      }
6199    });
6200    var t = ".layui-menu:not(.layui-dropdown-menu) li";
6201    n.on("click", t, function (e) {
6202      var n = i(this),
6203        t = n.parents(".layui-menu").eq(0),
6204        a = n.hasClass(y) || n.hasClass(f),
6205        l = t.attr("lay-filter") || t.attr("id"),
6206        o = lay.options(this);
6207      n.hasClass(v) || a || (t.find("." + g).removeClass(g), t.find("." + h).removeClass(h), n.addClass(g), n.parents("." + f).addClass(h), layui.event.call(this, r, "click(" + l + ")", o))
6208    }), n.on("click", t + V, function (e) {
6209      var n = i(this),
6210        t = n.parents("." + y + ":eq(0)"),
6211        a = lay.options(t[0]);
6212      "isAllowSpread" in a && !a.isAllowSpread || d.spread(t)
6213    });
6214    var a = ".layui-menu ." + f;
6215    n.on("mouseenter", a, function (n) {
6216      var t = i(this),
6217        a = t.find("." + w);
6218      if (a[0]) {
6219        var l = a[0].getBoundingClientRect();
6220        l.right > e.width() && (a.addClass(C), l = a[0].getBoundingClientRect(), l.left < 0 && a.removeClass(C)), l.bottom > e.height() && a.eq(0).css("margin-top", -(l.bottom - e.height()))
6221      }
6222    }).on("mouseleave", a, function (e) {
6223      var n = i(this),
6224        t = n.children("." + w);
6225      t.removeClass(C), t.css("margin-top", 0)
6226    })
6227  }(), u.reload = function (e, i) {
6228    var n = d.getThis(e);
6229    return n ? (n.reload(i), d.call(n)) : this
6230  }, u.render = function (e) {
6231    var i = new k(e);
6232    return d.call(i)
6233  }, e(r, u)
6234});
6235layui.define("jquery", function (e) {
6236  "use strict";
6237  var i = layui.jquery,
6238    t = {
6239      config: {},
6240      index: layui.slider ? layui.slider.index + 1e4 : 0,
6241      set: function (e) {
6242        var t = this;
6243        return t.config = i.extend({}, t.config, e), t
6244      },
6245      on: function (e, i) {
6246        return layui.onevent.call(this, n, e, i)
6247      }
6248    },
6249    a = function () {
6250      var e = this,
6251        i = e.config;
6252      return {
6253        setValue: function (t, a) {
6254          return i.value = t, e.slide("set", t, a || 0)
6255        },
6256        config: i
6257      }
6258    },
6259    n = "slider",
6260    l = "layui-disabled",
6261    s = "layui-slider",
6262    r = "layui-slider-bar",
6263    o = "layui-slider-wrap",
6264    u = "layui-slider-wrap-btn",
6265    d = "layui-slider-tips",
6266    v = "layui-slider-input",
6267    c = "layui-slider-input-txt",
6268    p = "layui-slider-input-btn",
6269    m = "layui-slider-hover",
6270    f = function (e) {
6271      var a = this;
6272      a.index = ++t.index, a.config = i.extend({}, a.config, t.config, e), a.render()
6273    };
6274  f.prototype.config = {
6275    type: "default",
6276    min: 0,
6277    max: 100,
6278    value: 0,
6279    step: 1,
6280    showstep: !1,
6281    tips: !0,
6282    input: !1,
6283    range: !1,
6284    height: 200,
6285    disabled: !1,
6286    theme: "#009688"
6287  }, f.prototype.render = function () {
6288    var e = this,
6289      t = e.config;
6290    if (t.step < 1 && (t.step = 1), t.max < t.min && (t.max = t.min + t.step), t.range) {
6291      t.value = "object" == typeof t.value ? t.value : [t.min, t.value];
6292      var a = Math.min(t.value[0], t.value[1]),
6293        n = Math.max(t.value[0], t.value[1]);
6294      t.value[0] = a > t.min ? a : t.min, t.value[1] = n > t.min ? n : t.min, t.value[0] = t.value[0] > t.max ? t.max : t.value[0], t.value[1] = t.value[1] > t.max ? t.max : t.value[1];
6295      var r = Math.floor((t.value[0] - t.min) / (t.max - t.min) * 100),
6296        v = Math.floor((t.value[1] - t.min) / (t.max - t.min) * 100),
6297        p = v - r + "%";
6298      r += "%", v += "%"
6299    } else {
6300      "object" == typeof t.value && (t.value = Math.min.apply(null, t.value)), t.value < t.min && (t.value = t.min), t.value > t.max && (t.value = t.max);
6301      var p = Math.floor((t.value - t.min) / (t.max - t.min) * 100) + "%"
6302    }
6303    var m = t.disabled ? "#c2c2c2" : t.theme,
6304      f = '<div class="layui-slider ' + ("vertical" === t.type ? "layui-slider-vertical" : "") + '">' + (t.tips ? '<div class="layui-slider-tips"></div>' : "") + '<div class="layui-slider-bar" style="background:' + m + "; " + ("vertical" === t.type ? "height" : "width") + ":" + p + ";" + ("vertical" === t.type ? "bottom" : "left") + ":" + (r || 0) + ';"></div><div class="layui-slider-wrap" style="' + ("vertical" === t.type ? "bottom" : "left") + ":" + (r || p) + ';"><div class="layui-slider-wrap-btn" style="border: 2px solid ' + m + ';"></div></div>' + (t.range ? '<div class="layui-slider-wrap" style="' + ("vertical" === t.type ? "bottom" : "left") + ":" + v + ';"><div class="layui-slider-wrap-btn" style="border: 2px solid ' + m + ';"></div></div>' : "") + "</div>",
6305      h = i(t.elem),
6306      y = h.next("." + s);
6307    if (y[0] && y.remove(), e.elemTemp = i(f), t.range ? (e.elemTemp.find("." + o).eq(0).data("value", t.value[0]), e.elemTemp.find("." + o).eq(1).data("value", t.value[1])) : e.elemTemp.find("." + o).data("value", t.value), h.html(e.elemTemp), "vertical" === t.type && e.elemTemp.height(t.height + "px"), t.showstep) {
6308      for (var g = (t.max - t.min) / t.step, b = "", x = 1; x < g + 1; x++) {
6309        var T = 100 * x / g;
6310        T < 100 && (b += '<div class="layui-slider-step" style="' + ("vertical" === t.type ? "bottom" : "left") + ":" + T + '%"></div>')
6311      }
6312      e.elemTemp.append(b)
6313    }
6314    if (t.input && !t.range) {
6315      var w = i('<div class="layui-slider-input layui-input"><div class="layui-slider-input-txt"><input type="text" class="layui-input"></div><div class="layui-slider-input-btn"><i class="layui-icon layui-icon-up"></i><i class="layui-icon layui-icon-down"></i></div></div>');
6316      h.css("position", "relative"), h.append(w), h.find("." + c).children("input").val(t.value), "vertical" === t.type ? w.css({
6317        left: 0,
6318        top: -48
6319      }) : e.elemTemp.css("margin-right", w.outerWidth() + 15)
6320    }
6321    t.disabled ? (e.elemTemp.addClass(l), e.elemTemp.find("." + u).addClass(l)) : e.slide(), e.elemTemp.find("." + u).on("mouseover", function () {
6322      var a = "vertical" === t.type ? t.height : e.elemTemp[0].offsetWidth,
6323        n = e.elemTemp.find("." + o),
6324        l = "vertical" === t.type ? a - i(this).parent()[0].offsetTop - n.height() : i(this).parent()[0].offsetLeft,
6325        s = l / a * 100,
6326        r = i(this).parent().data("value"),
6327        u = t.setTips ? t.setTips(r) : r;
6328      e.elemTemp.find("." + d).html(u), "vertical" === t.type ? e.elemTemp.find("." + d).css({
6329        bottom: s + "%",
6330        "margin-bottom": "20px",
6331        display: "inline-block"
6332      }) : e.elemTemp.find("." + d).css({
6333        left: s + "%",
6334        display: "inline-block"
6335      })
6336    }).on("mouseout", function () {
6337      e.elemTemp.find("." + d).css("display", "none")
6338    })
6339  }, f.prototype.slide = function (e, t, a) {
6340    var n = this,
6341      l = n.config,
6342      s = n.elemTemp,
6343      f = function () {
6344        return "vertical" === l.type ? l.height : s[0].offsetWidth
6345      },
6346      h = s.find("." + o),
6347      y = s.next("." + v),
6348      g = y.children("." + c).children("input").val(),
6349      b = 100 / ((l.max - l.min) / Math.ceil(l.step)),
6350      x = function (e, i) {
6351        e = Math.ceil(e) * b > 100 ? Math.ceil(e) * b : Math.round(e) * b, e = e > 100 ? 100 : e, h.eq(i).css("vertical" === l.type ? "bottom" : "left", e + "%");
6352        var t = T(h[0].offsetLeft),
6353          a = l.range ? T(h[1].offsetLeft) : 0;
6354        "vertical" === l.type ? (s.find("." + d).css({
6355          bottom: e + "%",
6356          "margin-bottom": "20px"
6357        }), t = T(f() - h[0].offsetTop - h.height()), a = l.range ? T(f() - h[1].offsetTop - h.height()) : 0) : s.find("." + d).css("left", e + "%"), t = t > 100 ? 100 : t, a = a > 100 ? 100 : a;
6358        var n = Math.min(t, a),
6359          o = Math.abs(t - a);
6360        "vertical" === l.type ? s.find("." + r).css({
6361          height: o + "%",
6362          bottom: n + "%"
6363        }) : s.find("." + r).css({
6364          width: o + "%",
6365          left: n + "%"
6366        });
6367        var u = l.min + Math.round((l.max - l.min) * e / 100);
6368        if (g = u, y.children("." + c).children("input").val(g), h.eq(i).data("value", u), s.find("." + d).html(l.setTips ? l.setTips(u) : u), l.range) {
6369          var v = [h.eq(0).data("value"), h.eq(1).data("value")];
6370          v[0] > v[1] && v.reverse()
6371        }
6372        l.change && l.change(l.range ? v : u)
6373      },
6374      T = function (e) {
6375        var i = e / f() * 100 / b,
6376          t = Math.round(i) * b;
6377        return e == f() && (t = Math.ceil(i) * b), t
6378      },
6379      w = i(['<div class="layui-auxiliar-moving" id="LAY-slider-moving"></div'].join("")),
6380      M = function (e, t) {
6381        var a = function () {
6382          t && t(), w.remove()
6383        };
6384        i("#LAY-slider-moving")[0] || i("body").append(w), w.on("mousemove", e), w.on("mouseup", a).on("mouseleave", a)
6385      };
6386    if ("set" === e) return x(t, a);
6387    s.find("." + u).each(function (e) {
6388      var t = i(this);
6389      t.on("mousedown", function (i) {
6390        i = i || window.event;
6391        var a = t.parent()[0].offsetLeft,
6392          n = i.clientX;
6393        "vertical" === l.type && (a = f() - t.parent()[0].offsetTop - h.height(), n = i.clientY);
6394        var r = function (i) {
6395            i = i || window.event;
6396            var r = a + ("vertical" === l.type ? n - i.clientY : i.clientX - n);
6397            r < 0 && (r = 0), r > f() && (r = f());
6398            var o = r / f() * 100 / b;
6399            x(o, e), t.addClass(m), s.find("." + d).show(), i.preventDefault()
6400          },
6401          o = function () {
6402            t.removeClass(m), s.find("." + d).hide()
6403          };
6404        M(r, o)
6405      })
6406    }), s.on("click", function (e) {
6407      var t = i("." + u);
6408      if (!t.is(event.target) && 0 === t.has(event.target).length && t.length) {
6409        var a, n = "vertical" === l.type ? f() - e.clientY + i(this).offset().top : e.clientX - i(this).offset().left;
6410        n < 0 && (n = 0), n > f() && (n = f());
6411        var s = n / f() * 100 / b;
6412        a = l.range ? "vertical" === l.type ? Math.abs(n - parseInt(i(h[0]).css("bottom"))) > Math.abs(n - parseInt(i(h[1]).css("bottom"))) ? 1 : 0 : Math.abs(n - h[0].offsetLeft) > Math.abs(n - h[1].offsetLeft) ? 1 : 0 : 0, x(s, a), e.preventDefault()
6413      }
6414    }), y.children("." + p).children("i").each(function (e) {
6415      i(this).on("click", function () {
6416        g = y.children("." + c).children("input").val(), g = 1 == e ? g - l.step < l.min ? l.min : Number(g) - l.step : Number(g) + l.step > l.max ? l.max : Number(g) + l.step;
6417        var i = (g - l.min) / (l.max - l.min) * 100 / b;
6418        x(i, 0)
6419      })
6420    });
6421    var q = function () {
6422      var e = this.value;
6423      e = isNaN(e) ? 0 : e, e = e < l.min ? l.min : e, e = e > l.max ? l.max : e, this.value = e;
6424      var i = (e - l.min) / (l.max - l.min) * 100 / b;
6425      x(i, 0)
6426    };
6427    y.children("." + c).children("input").on("keydown", function (e) {
6428      13 === e.keyCode && (e.preventDefault(), q.call(this))
6429    }).on("change", q)
6430  }, f.prototype.events = function () {
6431    var e = this;
6432    e.config
6433  }, t.render = function (e) {
6434    var i = new f(e);
6435    return a.call(i)
6436  }, e(n, t)
6437});
6438layui.define(["jquery", "lay"], function (e) {
6439  "use strict";
6440  var i = layui.jquery,
6441    r = layui.lay,
6442    o = layui.device(),
6443    n = o.mobile ? "click" : "mousedown",
6444    l = {
6445      config: {},
6446      index: layui.colorpicker ? layui.colorpicker.index + 1e4 : 0,
6447      set: function (e) {
6448        var r = this;
6449        return r.config = i.extend({}, r.config, e), r
6450      },
6451      on: function (e, i) {
6452        return layui.onevent.call(this, "colorpicker", e, i)
6453      }
6454    },
6455    t = function () {
6456      var e = this,
6457        i = e.config;
6458      return {
6459        config: i
6460      }
6461    },
6462    c = "colorpicker",
6463    a = "layui-show",
6464    s = "layui-colorpicker",
6465    f = ".layui-colorpicker-main",
6466    d = "layui-icon-down",
6467    u = "layui-icon-close",
6468    p = "layui-colorpicker-trigger-span",
6469    g = "layui-colorpicker-trigger-i",
6470    v = "layui-colorpicker-side",
6471    h = "layui-colorpicker-side-slider",
6472    b = "layui-colorpicker-basis",
6473    k = "layui-colorpicker-alpha-bgcolor",
6474    y = "layui-colorpicker-alpha-slider",
6475    m = "layui-colorpicker-basis-cursor",
6476    x = "layui-colorpicker-main-input",
6477    P = function (e) {
6478      var i = {
6479          h: 0,
6480          s: 0,
6481          b: 0
6482        },
6483        r = Math.min(e.r, e.g, e.b),
6484        o = Math.max(e.r, e.g, e.b),
6485        n = o - r;
6486      return i.b = o, i.s = 0 != o ? 255 * n / o : 0, 0 != i.s ? e.r == o ? i.h = (e.g - e.b) / n : e.g == o ? i.h = 2 + (e.b - e.r) / n : i.h = 4 + (e.r - e.g) / n : i.h = -1, o == r && (i.h = 0), i.h *= 60, i.h < 0 && (i.h += 360), i.s *= 100 / 255, i.b *= 100 / 255, i
6487    },
6488    C = function (e) {
6489      var e = e.indexOf("#") > -1 ? e.substring(1) : e;
6490      if (3 == e.length) {
6491        var i = e.split("");
6492        e = i[0] + i[0] + i[1] + i[1] + i[2] + i[2]
6493      }
6494      e = parseInt(e, 16);
6495      var r = {
6496        r: e >> 16,
6497        g: (65280 & e) >> 8,
6498        b: 255 & e
6499      };
6500      return P(r)
6501    },
6502    B = function (e) {
6503      var i = {},
6504        r = e.h,
6505        o = 255 * e.s / 100,
6506        n = 255 * e.b / 100;
6507      if (0 == o) i.r = i.g = i.b = n;
6508      else {
6509        var l = n,
6510          t = (255 - o) * n / 255,
6511          c = (l - t) * (r % 60) / 60;
6512        360 == r && (r = 0), r < 60 ? (i.r = l, i.b = t, i.g = t + c) : r < 120 ? (i.g = l, i.b = t, i.r = l - c) : r < 180 ? (i.g = l, i.r = t, i.b = t + c) : r < 240 ? (i.b = l, i.r = t, i.g = l - c) : r < 300 ? (i.b = l, i.g = t, i.r = t + c) : r < 360 ? (i.r = l, i.g = t, i.b = l - c) : (i.r = 0, i.g = 0, i.b = 0)
6513      }
6514      return {
6515        r: Math.round(i.r),
6516        g: Math.round(i.g),
6517        b: Math.round(i.b)
6518      }
6519    },
6520    w = function (e) {
6521      var r = B(e),
6522        o = [r.r.toString(16), r.g.toString(16), r.b.toString(16)];
6523      return i.each(o, function (e, i) {
6524        1 == i.length && (o[e] = "0" + i)
6525      }), o.join("")
6526    },
6527    D = function (e) {
6528      var i = /[0-9]{1,3}/g,
6529        r = e.match(i) || [];
6530      return {
6531        r: r[0],
6532        g: r[1],
6533        b: r[2]
6534      }
6535    },
6536    j = i(window),
6537    E = i(document),
6538    F = function (e) {
6539      var r = this;
6540      r.index = ++l.index, r.config = i.extend({}, r.config, l.config, e), r.render()
6541    };
6542  F.prototype.config = {
6543    color: "",
6544    size: null,
6545    alpha: !1,
6546    format: "hex",
6547    predefine: !1,
6548    colors: ["#009688", "#5FB878", "#1E9FFF", "#FF5722", "#FFB800", "#01AAED", "#999", "#c00", "#ff8c00", "#ffd700", "#90ee90", "#00ced1", "#1e90ff", "#c71585", "rgb(0, 186, 189)", "rgb(255, 120, 0)", "rgb(250, 212, 0)", "#393D49", "rgba(0,0,0,.5)", "rgba(255, 69, 0, 0.68)", "rgba(144, 240, 144, 0.5)", "rgba(31, 147, 255, 0.73)"]
6549  }, F.prototype.render = function () {
6550    var e = this,
6551      r = e.config,
6552      o = i(['<div class="layui-unselect layui-colorpicker">', "<span " + ("rgb" == r.format && r.alpha ? 'class="layui-colorpicker-trigger-bgcolor"' : "") + ">", '<span class="layui-colorpicker-trigger-span" ', 'lay-type="' + ("rgb" == r.format ? r.alpha ? "rgba" : "torgb" : "") + '" ', 'style="' + function () {
6553        var e = "";
6554        return r.color ? (e = r.color, (r.color.match(/[0-9]{1,3}/g) || []).length > 3 && (r.alpha && "rgb" == r.format || (e = "#" + w(P(D(r.color))))), "background: " + e) : e
6555      }() + '">', '<i class="layui-icon layui-colorpicker-trigger-i ' + (r.color ? d : u) + '"></i>', "</span>", "</span>", "</div>"].join("")),
6556      n = i(r.elem);
6557    r.size && o.addClass("layui-colorpicker-" + r.size), n.addClass("layui-inline").html(e.elemColorBox = o), e.color = e.elemColorBox.find("." + p)[0].style.background, e.events()
6558  }, F.prototype.renderPicker = function () {
6559    var e = this,
6560      r = e.config,
6561      o = e.elemColorBox[0],
6562      n = e.elemPicker = i(['<div id="layui-colorpicker' + e.index + '" data-index="' + e.index + '" class="layui-anim layui-anim-downbit layui-colorpicker-main">', '<div class="layui-colorpicker-main-wrapper">', '<div class="layui-colorpicker-basis">', '<div class="layui-colorpicker-basis-white"></div>', '<div class="layui-colorpicker-basis-black"></div>', '<div class="layui-colorpicker-basis-cursor"></div>', "</div>", '<div class="layui-colorpicker-side">', '<div class="layui-colorpicker-side-slider"></div>', "</div>", "</div>", '<div class="layui-colorpicker-main-alpha ' + (r.alpha ? a : "") + '">', '<div class="layui-colorpicker-alpha-bgcolor">', '<div class="layui-colorpicker-alpha-slider"></div>', "</div>", "</div>", function () {
6563        if (r.predefine) {
6564          var e = ['<div class="layui-colorpicker-main-pre">'];
6565          return layui.each(r.colors, function (i, r) {
6566            e.push(['<div class="layui-colorpicker-pre' + ((r.match(/[0-9]{1,3}/g) || []).length > 3 ? " layui-colorpicker-pre-isalpha" : "") + '">', '<div style="background:' + r + '"></div>', "</div>"].join(""))
6567          }), e.push("</div>"), e.join("")
6568        }
6569        return ""
6570      }(), '<div class="layui-colorpicker-main-input">', '<div class="layui-inline">', '<input type="text" class="layui-input">', "</div>", '<div class="layui-btn-container">', '<button class="layui-btn layui-btn-primary layui-btn-sm" colorpicker-events="clear">\u6e05\u7a7a</button>', '<button class="layui-btn layui-btn-sm" colorpicker-events="confirm">\u786e\u5b9a</button>', "</div", "</div>", "</div>"].join(""));
6571    e.elemColorBox.find("." + p)[0];
6572    i(f)[0] && i(f).data("index") == e.index ? e.removePicker(F.thisElemInd) : (e.removePicker(F.thisElemInd), i("body").append(n)), F.thisElemInd = e.index, F.thisColor = o.style.background, e.position(), e.pickerEvents()
6573  }, F.prototype.removePicker = function (e) {
6574    var r = this;
6575    r.config;
6576    return i("#layui-colorpicker" + (e || r.index)).remove(), r
6577  }, F.prototype.position = function () {
6578    var e = this,
6579      i = e.config;
6580    return r.position(e.bindElem || e.elemColorBox[0], e.elemPicker[0], {
6581      position: i.position,
6582      align: "center"
6583    }), e
6584  }, F.prototype.val = function () {
6585    var e = this,
6586      i = (e.config, e.elemColorBox.find("." + p)),
6587      r = e.elemPicker.find("." + x),
6588      o = i[0],
6589      n = o.style.backgroundColor;
6590    if (n) {
6591      var l = P(D(n)),
6592        t = i.attr("lay-type");
6593      if (e.select(l.h, l.s, l.b), "torgb" === t && r.find("input").val(n), "rgba" === t) {
6594        var c = D(n);
6595        if (3 == (n.match(/[0-9]{1,3}/g) || []).length) r.find("input").val("rgba(" + c.r + ", " + c.g + ", " + c.b + ", 1)"), e.elemPicker.find("." + y).css("left", 280);
6596        else {
6597          r.find("input").val(n);
6598          var a = 280 * n.slice(n.lastIndexOf(",") + 1, n.length - 1);
6599          e.elemPicker.find("." + y).css("left", a)
6600        }
6601        e.elemPicker.find("." + k)[0].style.background = "linear-gradient(to right, rgba(" + c.r + ", " + c.g + ", " + c.b + ", 0), rgb(" + c.r + ", " + c.g + ", " + c.b + "))"
6602      }
6603    } else e.select(0, 100, 100), r.find("input").val(""), e.elemPicker.find("." + k)[0].style.background = "", e.elemPicker.find("." + y).css("left", 280)
6604  }, F.prototype.side = function () {
6605    var e = this,
6606      r = e.config,
6607      o = e.elemColorBox.find("." + p),
6608      n = o.attr("lay-type"),
6609      l = e.elemPicker.find("." + v),
6610      t = e.elemPicker.find("." + h),
6611      c = e.elemPicker.find("." + b),
6612      a = e.elemPicker.find("." + m),
6613      s = e.elemPicker.find("." + k),
6614      f = e.elemPicker.find("." + y),
6615      C = t[0].offsetTop / 180 * 360,
6616      w = 100 - (a[0].offsetTop + 3) / 180 * 100,
6617      E = (a[0].offsetLeft + 3) / 260 * 100,
6618      F = Math.round(f[0].offsetLeft / 280 * 100) / 100,
6619      H = e.elemColorBox.find("." + g),
6620      M = e.elemPicker.find(".layui-colorpicker-pre").children("div"),
6621      Y = function (i, l, t, c) {
6622        e.select(i, l, t);
6623        var a = B({
6624          h: i,
6625          s: l,
6626          b: t
6627        });
6628        if (H.addClass(d).removeClass(u), o[0].style.background = "rgb(" + a.r + ", " + a.g + ", " + a.b + ")", "torgb" === n && e.elemPicker.find("." + x).find("input").val("rgb(" + a.r + ", " + a.g + ", " + a.b + ")"), "rgba" === n) {
6629          var p = 0;
6630          p = 280 * c, f.css("left", p), e.elemPicker.find("." + x).find("input").val("rgba(" + a.r + ", " + a.g + ", " + a.b + ", " + c + ")"), o[0].style.background = "rgba(" + a.r + ", " + a.g + ", " + a.b + ", " + c + ")", s[0].style.background = "linear-gradient(to right, rgba(" + a.r + ", " + a.g + ", " + a.b + ", 0), rgb(" + a.r + ", " + a.g + ", " + a.b + "))"
6631        }
6632        r.change && r.change(e.elemPicker.find("." + x).find("input").val())
6633      },
6634      I = i(['<div class="layui-auxiliar-moving" id="LAY-colorpicker-moving"></div>'].join("")),
6635      L = function (e) {
6636        i("#LAY-colorpicker-moving")[0] || i("body").append(I), I.on("mousemove", e), I.on("mouseup", function () {
6637          I.remove()
6638        }).on("mouseleave", function () {
6639          I.remove()
6640        })
6641      };
6642    t.on("mousedown", function (e) {
6643      var i = this.offsetTop,
6644        r = e.clientY,
6645        o = function (e) {
6646          var o = i + (e.clientY - r),
6647            n = l[0].offsetHeight;
6648          o < 0 && (o = 0), o > n && (o = n);
6649          var t = o / 180 * 360;
6650          C = t, Y(t, E, w, F), e.preventDefault()
6651        };
6652      L(o), e.preventDefault()
6653    }), l.on("click", function (e) {
6654      var r = e.clientY - i(this).offset().top;
6655      r < 0 && (r = 0), r > this.offsetHeight && (r = this.offsetHeight);
6656      var o = r / 180 * 360;
6657      C = o, Y(o, E, w, F), e.preventDefault()
6658    }), a.on("mousedown", function (e) {
6659      var i = this.offsetTop,
6660        r = this.offsetLeft,
6661        o = e.clientY,
6662        n = e.clientX,
6663        l = function (e) {
6664          var l = i + (e.clientY - o),
6665            t = r + (e.clientX - n),
6666            a = c[0].offsetHeight - 3,
6667            s = c[0].offsetWidth - 3;
6668          l < -3 && (l = -3), l > a && (l = a), t < -3 && (t = -3), t > s && (t = s);
6669          var f = (t + 3) / 260 * 100,
6670            d = 100 - (l + 3) / 180 * 100;
6671          w = d, E = f, Y(C, f, d, F), e.preventDefault()
6672        };
6673      layui.stope(e), L(l), e.preventDefault()
6674    }), c.on("mousedown", function (e) {
6675      var r = e.clientY - i(this).offset().top - 3 + j.scrollTop(),
6676        o = e.clientX - i(this).offset().left - 3 + j.scrollLeft();
6677      r < -3 && (r = -3), r > this.offsetHeight - 3 && (r = this.offsetHeight - 3), o < -3 && (o = -3), o > this.offsetWidth - 3 && (o = this.offsetWidth - 3);
6678      var n = (o + 3) / 260 * 100,
6679        l = 100 - (r + 3) / 180 * 100;
6680      w = l, E = n, Y(C, n, l, F), layui.stope(e), e.preventDefault(), a.trigger(e, "mousedown")
6681    }), f.on("mousedown", function (e) {
6682      var i = this.offsetLeft,
6683        r = e.clientX,
6684        o = function (e) {
6685          var o = i + (e.clientX - r),
6686            n = s[0].offsetWidth;
6687          o < 0 && (o = 0), o > n && (o = n);
6688          var l = Math.round(o / 280 * 100) / 100;
6689          F = l, Y(C, E, w, l), e.preventDefault()
6690        };
6691      L(o), e.preventDefault()
6692    }), s.on("click", function (e) {
6693      var r = e.clientX - i(this).offset().left;
6694      r < 0 && (r = 0), r > this.offsetWidth && (r = this.offsetWidth);
6695      var o = Math.round(r / 280 * 100) / 100;
6696      F = o, Y(C, E, w, o), e.preventDefault()
6697    }), M.each(function () {
6698      i(this).on("click", function () {
6699        i(this).parent(".layui-colorpicker-pre").addClass("selected").siblings().removeClass("selected");
6700        var e, r = this.style.backgroundColor,
6701          o = P(D(r)),
6702          n = r.slice(r.lastIndexOf(",") + 1, r.length - 1);
6703        C = o.h, E = o.s, w = o.b, 3 == (r.match(/[0-9]{1,3}/g) || []).length && (n = 1), F = n, e = 280 * n, Y(o.h, o.s, o.b, n)
6704      })
6705    })
6706  }, F.prototype.select = function (e, i, r, o) {
6707    var n = this,
6708      l = (n.config, w({
6709        h: e,
6710        s: 100,
6711        b: 100
6712      })),
6713      t = w({
6714        h: e,
6715        s: i,
6716        b: r
6717      }),
6718      c = e / 360 * 180,
6719      a = 180 - r / 100 * 180 - 3,
6720      s = i / 100 * 260 - 3;
6721    n.elemPicker.find("." + h).css("top", c), n.elemPicker.find("." + b)[0].style.background = "#" + l, n.elemPicker.find("." + m).css({
6722      top: a,
6723      left: s
6724    }), "change" !== o && n.elemPicker.find("." + x).find("input").val("#" + t)
6725  }, F.prototype.pickerEvents = function () {
6726    var e = this,
6727      r = e.config,
6728      o = e.elemColorBox.find("." + p),
6729      n = e.elemPicker.find("." + x + " input"),
6730      l = {
6731        clear: function (i) {
6732          o[0].style.background = "", e.elemColorBox.find("." + g).removeClass(d).addClass(u), e.color = "", r.done && r.done(""), e.removePicker()
6733        },
6734        confirm: function (i, l) {
6735          var t = n.val(),
6736            c = t,
6737            a = {};
6738          if (t.indexOf(",") > -1) {
6739            if (a = P(D(t)), e.select(a.h, a.s, a.b), o[0].style.background = c = "#" + w(a), (t.match(/[0-9]{1,3}/g) || []).length > 3 && "rgba" === o.attr("lay-type")) {
6740              var s = 280 * t.slice(t.lastIndexOf(",") + 1, t.length - 1);
6741              e.elemPicker.find("." + y).css("left", s), o[0].style.background = t, c = t
6742            }
6743          } else a = C(t), o[0].style.background = c = "#" + w(a), e.elemColorBox.find("." + g).removeClass(u).addClass(d);
6744          return "change" === l ? (e.select(a.h, a.s, a.b, l), void(r.change && r.change(c))) : (e.color = t, r.done && r.done(t), void e.removePicker())
6745        }
6746      };
6747    e.elemPicker.on("click", "*[colorpicker-events]", function () {
6748      var e = i(this),
6749        r = e.attr("colorpicker-events");
6750      l[r] && l[r].call(this, e)
6751    }), n.on("keyup", function (e) {
6752      var r = i(this);
6753      l.confirm.call(this, r, 13 === e.keyCode ? null : "change")
6754    })
6755  }, F.prototype.events = function () {
6756    var e = this,
6757      r = e.config,
6758      o = e.elemColorBox.find("." + p);
6759    e.elemColorBox.on("click", function () {
6760      e.renderPicker(), i(f)[0] && (e.val(), e.side())
6761    }), r.elem[0] && !e.elemColorBox[0].eventHandler && (E.on(n, function (r) {
6762      if (!i(r.target).hasClass(s) && !i(r.target).parents("." + s)[0] && !i(r.target).hasClass(f.replace(/\./g, "")) && !i(r.target).parents(f)[0] && e.elemPicker) {
6763        if (e.color) {
6764          var n = P(D(e.color));
6765          e.select(n.h, n.s, n.b)
6766        } else e.elemColorBox.find("." + g).removeClass(d).addClass(u);
6767        o[0].style.background = e.color || "", e.removePicker()
6768      }
6769    }), j.on("resize", function () {
6770      return !(!e.elemPicker || !i(f)[0]) && void e.position()
6771    }), e.elemColorBox[0].eventHandler = !0)
6772  }, l.render = function (e) {
6773    var i = new F(e);
6774    return t.call(i)
6775  }, e(c, l)
6776});
6777layui.define("layer", function (e) {
6778  "use strict";
6779  var t = layui.$,
6780    i = layui.layer,
6781    a = layui.hint(),
6782    n = layui.device(),
6783    l = "form",
6784    r = ".layui-form",
6785    o = "layui-this",
6786    s = "layui-hide",
6787    c = "layui-disabled",
6788    u = function () {
6789      this.config = {
6790        verify: {
6791          required: [/[\S]+/, "\u5fc5\u586b\u9879\u4e0d\u80fd\u4e3a\u7a7a"],
6792          phone: [/^1\d{10}$/, "\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7"],
6793          email: [/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/, "\u90ae\u7bb1\u683c\u5f0f\u4e0d\u6b63\u786e"],
6794          url: [/^(#|(http(s?)):\/\/|\/\/)[^\s]+\.[^\s]+$/, "\u94fe\u63a5\u683c\u5f0f\u4e0d\u6b63\u786e"],
6795          number: function (e) {
6796            if (!e || isNaN(e)) return "\u53ea\u80fd\u586b\u5199\u6570\u5b57"
6797          },
6798          date: [/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/, "\u65e5\u671f\u683c\u5f0f\u4e0d\u6b63\u786e"],
6799          identity: [/(^\d{15}$)|(^\d{17}(x|X|\d)$)/, "\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u8eab\u4efd\u8bc1\u53f7"]
6800        },
6801        autocomplete: null
6802      }
6803    };
6804  u.prototype.set = function (e) {
6805    var i = this;
6806    return t.extend(!0, i.config, e), i
6807  }, u.prototype.verify = function (e) {
6808    var i = this;
6809    return t.extend(!0, i.config.verify, e), i
6810  }, u.prototype.on = function (e, t) {
6811    return layui.onevent.call(this, l, e, t)
6812  }, u.prototype.val = function (e, i) {
6813    var a = this,
6814      n = t(r + '[lay-filter="' + e + '"]');
6815    return n.each(function (e, a) {
6816      var n = t(this);
6817      layui.each(i, function (e, t) {
6818        var i, a = n.find('[name="' + e + '"]');
6819        a[0] && (i = a[0].type, "checkbox" === i ? a[0].checked = t : "radio" === i ? a.each(function () {
6820          this.value == t && (this.checked = !0)
6821        }) : a.val(t))
6822      })
6823    }), f.render(null, e), a.getValue(e)
6824  }, u.prototype.getValue = function (e, i) {
6825    i = i || t(r + '[lay-filter="' + e + '"]').eq(0);
6826    var a = {},
6827      n = {},
6828      l = i.find("input,select,textarea");
6829    return layui.each(l, function (e, i) {
6830      var l;
6831      t(this);
6832      if (i.name = (i.name || "").replace(/^\s*|\s*&/, ""), i.name) {
6833        if (/^.*\[\]$/.test(i.name)) {
6834          var r = i.name.match(/^(.*)\[\]$/g)[0];
6835          a[r] = 0 | a[r], l = i.name.replace(/^(.*)\[\]$/, "$1[" + a[r]++ + "]")
6836        }
6837        /^checkbox|radio$/.test(i.type) && !i.checked || (n[l || i.name] = i.value)
6838      }
6839    }), n
6840  }, u.prototype.render = function (e, i) {
6841    var n = this,
6842      u = n.config,
6843      d = t(r + function () {
6844        return i ? '[lay-filter="' + i + '"]' : ""
6845      }()),
6846      f = {
6847        input: function () {
6848          var e = d.find("input,textarea");
6849          u.autocomplete && e.attr("autocomplete", u.autocomplete)
6850        },
6851        select: function () {
6852          var e, i = "\u8bf7\u9009\u62e9",
6853            a = "layui-form-select",
6854            n = "layui-select-title",
6855            r = "layui-select-none",
6856            u = "",
6857            f = d.find("select"),
6858            v = function (i, l) {
6859              t(i.target).parent().hasClass(n) && !l || (t("." + a).removeClass(a + "ed " + a + "up"), e && u && e.val(u)), e = null
6860            },
6861            y = function (i, d, f) {
6862              var y, p = t(this),
6863                m = i.find("." + n),
6864                g = m.find("input"),
6865                k = i.find("dl"),
6866                x = k.children("dd"),
6867                b = this.selectedIndex;
6868              if (!d) {
6869                var C = function () {
6870                    var e = i.offset().top + i.outerHeight() + 5 - h.scrollTop(),
6871                      t = k.outerHeight();
6872                    b = p[0].selectedIndex, i.addClass(a + "ed"), x.removeClass(s), y = null, x.eq(b).addClass(o).siblings().removeClass(o), e + t > h.height() && e >= t && i.addClass(a + "up"), T()
6873                  },
6874                  w = function (e) {
6875                    i.removeClass(a + "ed " + a + "up"), g.blur(), y = null, e || $(g.val(), function (e) {
6876                      var i = p[0].selectedIndex;
6877                      e && (u = t(p[0].options[i]).html(), 0 === i && u === g.attr("placeholder") && (u = ""), g.val(u || ""))
6878                    })
6879                  },
6880                  T = function () {
6881                    var e = k.children("dd." + o);
6882                    if (e[0]) {
6883                      var t = e.position().top,
6884                        i = k.height(),
6885                        a = e.height();
6886                      t > i && k.scrollTop(t + k.scrollTop() - i + a - 5), t < 0 && k.scrollTop(t + k.scrollTop() - 5)
6887                    }
6888                  };
6889                m.on("click", function (e) {
6890                  i.hasClass(a + "ed") ? w() : (v(e, !0), C()), k.find("." + r).remove()
6891                }), m.find(".layui-edge").on("click", function () {
6892                  g.focus()
6893                }), g.on("keyup", function (e) {
6894                  var t = e.keyCode;
6895                  9 === t && C()
6896                }).on("keydown", function (e) {
6897                  var t = e.keyCode;
6898                  9 === t && w();
6899                  var i = function (t, a) {
6900                    var n, l;
6901                    e.preventDefault();
6902                    var r = function () {
6903                      var e = k.children("dd." + o);
6904                      if (k.children("dd." + s)[0] && "next" === t) {
6905                        var i = k.children("dd:not(." + s + ",." + c + ")"),
6906                          n = i.eq(0).index();
6907                        if (n >= 0 && n < e.index() && !i.hasClass(o)) return i.eq(0).prev()[0] ? i.eq(0).prev() : k.children(":last")
6908                      }
6909                      return a && a[0] ? a : y && y[0] ? y : e
6910                    }();
6911                    return l = r[t](), n = r[t]("dd:not(." + s + ")"), l[0] ? (y = r[t](), n[0] && !n.hasClass(c) || !y[0] ? (n.addClass(o).siblings().removeClass(o), void T()) : i(t, y)) : y = null
6912                  };
6913                  38 === t && i("prev"), 40 === t && i("next"), 13 === t && (e.preventDefault(), k.children("dd." + o).trigger("click"))
6914                });
6915                var $ = function (e, i, a) {
6916                    var n = 0;
6917                    layui.each(x, function () {
6918                      var i = t(this),
6919                        l = i.text(),
6920                        r = l.indexOf(e) === -1;
6921                      ("" === e || "blur" === a ? e !== l : r) && n++, "keyup" === a && i[r ? "addClass" : "removeClass"](s)
6922                    });
6923                    var l = n === x.length;
6924                    return i(l), l
6925                  },
6926                  q = function (e) {
6927                    var t = this.value,
6928                      i = e.keyCode;
6929                    return 9 !== i && 13 !== i && 37 !== i && 38 !== i && 39 !== i && 40 !== i && ($(t, function (e) {
6930                      e ? k.find("." + r)[0] || k.append('<p class="' + r + '">\u65e0\u5339\u914d\u9879</p>') : k.find("." + r).remove()
6931                    }, "keyup"), "" === t && k.find("." + r).remove(), void T())
6932                  };
6933                f && g.on("keyup", q).on("blur", function (i) {
6934                  var a = p[0].selectedIndex;
6935                  e = g, u = t(p[0].options[a]).html(), 0 === a && u === g.attr("placeholder") && (u = ""), setTimeout(function () {
6936                    $(g.val(), function (e) {
6937                      u || g.val("")
6938                    }, "blur")
6939                  }, 200)
6940                }), x.on("click", function () {
6941                  var e = t(this),
6942                    a = e.attr("lay-value"),
6943                    n = p.attr("lay-filter");
6944                  return !e.hasClass(c) && (e.hasClass("layui-select-tips") ? g.val("") : (g.val(e.text()), e.addClass(o)), e.siblings().removeClass(o), p.val(a).removeClass("layui-form-danger"), layui.event.call(this, l, "select(" + n + ")", {
6945                    elem: p[0],
6946                    value: a,
6947                    othis: i
6948                  }), w(!0), !1)
6949                }), i.find("dl>dt").on("click", function (e) {
6950                  return !1
6951                }), t(document).off("click", v).on("click", v)
6952              }
6953            };
6954          f.each(function (e, l) {
6955            var r = t(this),
6956              s = r.next("." + a),
6957              u = this.disabled,
6958              d = l.value,
6959              f = t(l.options[l.selectedIndex]),
6960              v = l.options[0];
6961            if ("string" == typeof r.attr("lay-ignore")) return r.show();
6962            var h = "string" == typeof r.attr("lay-search"),
6963              p = v ? v.value ? i : v.innerHTML || i : i,
6964              m = t(['<div class="' + (h ? "" : "layui-unselect ") + a, (u ? " layui-select-disabled" : "") + '">', '<div class="' + n + '">', '<input type="text" placeholder="' + t.trim(p) + '" ' + ('value="' + t.trim(d ? f.html() : "") + '"') + (!u && h ? "" : " readonly") + ' class="layui-input' + (h ? "" : " layui-unselect") + (u ? " " + c : "") + '">', '<i class="layui-edge"></i></div>', '<dl class="layui-anim layui-anim-upbit' + (r.find("optgroup")[0] ? " layui-select-group" : "") + '">', function (e) {
6965                var a = [];
6966                return layui.each(e, function (e, n) {
6967                  0 !== e || n.value ? "optgroup" === n.tagName.toLowerCase() ? a.push("<dt>" + n.label + "</dt>") : a.push('<dd lay-value="' + n.value + '" class="' + (d === n.value ? o : "") + (n.disabled ? " " + c : "") + '">' + t.trim(n.innerHTML) + "</dd>") : a.push('<dd lay-value="" class="layui-select-tips">' + t.trim(n.innerHTML || i) + "</dd>")
6968                }), 0 === a.length && a.push('<dd lay-value="" class="' + c + '">\u6ca1\u6709\u9009\u9879</dd>'), a.join("")
6969              }(r.find("*")) + "</dl>", "</div>"].join(""));
6970            s[0] && s.remove(), r.after(m), y.call(this, m, u, h)
6971          })
6972        },
6973        checkbox: function () {
6974          var e = {
6975              checkbox: ["layui-form-checkbox", "layui-form-checked", "checkbox"],
6976              _switch: ["layui-form-switch", "layui-form-onswitch", "switch"]
6977            },
6978            i = d.find("input[type=checkbox]"),
6979            a = function (e, i) {
6980              var a = t(this);
6981              e.on("click", function () {
6982                var t = a.attr("lay-filter"),
6983                  n = (a.attr("lay-text") || "").split("|");
6984                a[0].disabled || (a[0].checked ? (a[0].checked = !1, e.removeClass(i[1]).find("em").text(n[1])) : (a[0].checked = !0, e.addClass(i[1]).find("em").text(n[0])), layui.event.call(a[0], l, i[2] + "(" + t + ")", {
6985                  elem: a[0],
6986                  value: a[0].value,
6987                  othis: e
6988                }))
6989              })
6990            };
6991          i.each(function (i, n) {
6992            var l = t(this),
6993              r = l.attr("lay-skin"),
6994              o = (l.attr("lay-text") || "").split("|"),
6995              s = this.disabled;
6996            "switch" === r && (r = "_" + r);
6997            var u = e[r] || e.checkbox;
6998            if ("string" == typeof l.attr("lay-ignore")) return l.show();
6999            var d = l.next("." + u[0]),
7000              f = t(['<div class="layui-unselect ' + u[0], n.checked ? " " + u[1] : "", s ? " layui-checkbox-disabled " + c : "", '"', r ? ' lay-skin="' + r + '"' : "", ">", function () {
7001                var e = n.title.replace(/\s/g, ""),
7002                  t = {
7003                    checkbox: [e ? "<span>" + n.title + "</span>" : "", '<i class="layui-icon layui-icon-ok"></i>'].join(""),
7004                    _switch: "<em>" + ((n.checked ? o[0] : o[1]) || "") + "</em><i></i>"
7005                  };
7006                return t[r] || t.checkbox
7007              }(), "</div>"].join(""));
7008            d[0] && d.remove(), l.after(f), a.call(this, f, u)
7009          })
7010        },
7011        radio: function () {
7012          var e = "layui-form-radio",
7013            i = ["&#xe643;", "&#xe63f;"],
7014            a = d.find("input[type=radio]"),
7015            n = function (a) {
7016              var n = t(this),
7017                o = "layui-anim-scaleSpring";
7018              a.on("click", function () {
7019                var s = n[0].name,
7020                  c = n.parents(r),
7021                  u = n.attr("lay-filter"),
7022                  d = c.find("input[name=" + s.replace(/(\.|#|\[|\])/g, "\\$1") + "]");
7023                n[0].disabled || (layui.each(d, function () {
7024                  var a = t(this).next("." + e);
7025                  this.checked = !1, a.removeClass(e + "ed"), a.find(".layui-icon").removeClass(o).html(i[1])
7026                }), n[0].checked = !0, a.addClass(e + "ed"), a.find(".layui-icon").addClass(o).html(i[0]), layui.event.call(n[0], l, "radio(" + u + ")", {
7027                  elem: n[0],
7028                  value: n[0].value,
7029                  othis: a
7030                }))
7031              })
7032            };
7033          a.each(function (a, l) {
7034            var r = t(this),
7035              o = r.next("." + e),
7036              s = this.disabled;
7037            if ("string" == typeof r.attr("lay-ignore")) return r.show();
7038            o[0] && o.remove();
7039            var u = t(['<div class="layui-unselect ' + e, l.checked ? " " + e + "ed" : "", (s ? " layui-radio-disabled " + c : "") + '">', '<i class="layui-anim layui-icon">' + i[l.checked ? 0 : 1] + "</i>", "<div>" + function () {
7040              var e = l.title || "";
7041              return "string" == typeof r.next().attr("lay-radio") && (e = r.next().html()), e
7042            }() + "</div>", "</div>"].join(""));
7043            r.after(u), n.call(this, u)
7044          })
7045        }
7046      };
7047    return e ? f[e] ? f[e]() : a.error('\u4e0d\u652f\u6301\u7684 "' + e + '" \u8868\u5355\u6e32\u67d3') : layui.each(f, function (e, t) {
7048      t()
7049    }), n
7050  };
7051  var d = function () {
7052      var e = null,
7053        a = f.config.verify,
7054        o = "layui-form-danger",
7055        s = {},
7056        c = t(this),
7057        u = c.parents(r).eq(0),
7058        d = u.find("*[lay-verify]"),
7059        h = c.parents("form")[0],
7060        y = c.attr("lay-filter");
7061      return layui.each(d, function (l, r) {
7062        var s = t(this),
7063          c = s.attr("lay-verify").split("|"),
7064          u = s.attr("lay-verType"),
7065          d = s.val();
7066        if (s.removeClass(o), layui.each(c, function (t, l) {
7067            var c, f = "",
7068              h = "function" == typeof a[l];
7069            if (a[l]) {
7070              var c = h ? f = a[l](d, r) : !a[l][0].test(d),
7071                y = "select" === r.tagName.toLowerCase() || /^checkbox|radio$/.test(r.type);
7072              if (f = f || a[l][1], "required" === l && (f = s.attr("lay-reqText") || f), c) return "tips" === u ? i.tips(f, function () {
7073                return "string" != typeof s.attr("lay-ignore") && y ? s.next() : s
7074              }(), {
7075                tips: 1
7076              }) : "alert" === u ? i.alert(f, {
7077                title: "\u63d0\u793a",
7078                shadeClose: !0
7079              }) : /\bstring|number\b/.test(typeof f) && i.msg(f, {
7080                icon: 5,
7081                shift: 6
7082              }), n.mobile ? v.scrollTop(function () {
7083                try {
7084                  return (y ? s.next() : s).offset().top - 15
7085                } catch (e) {
7086                  return 0
7087                }
7088              }()) : setTimeout(function () {
7089                (y ? s.next().find("input") : r).focus()
7090              }, 7), s.addClass(o), e = !0
7091            }
7092          }), e) return e
7093      }), !e && (s = f.getValue(null, u), layui.event.call(this, l, "submit(" + y + ")", {
7094        elem: this,
7095        form: h,
7096        field: s
7097      }))
7098    },
7099    f = new u,
7100    v = t(document),
7101    h = t(window);
7102  t(function () {
7103    f.render()
7104  }), v.on("reset", r, function () {
7105    var e = t(this).attr("lay-filter");
7106    setTimeout(function () {
7107      f.render(null, e)
7108    }, 50)
7109  }), v.on("submit", r, d).on("click", "*[lay-submit]", d), e(l, f)
7110});
7111layui.define("form", function (e) {
7112  "use strict";
7113  var i = layui.$,
7114    a = layui.form,
7115    n = layui.layer,
7116    t = "tree",
7117    r = {
7118      config: {},
7119      index: layui[t] ? layui[t].index + 1e4 : 0,
7120      set: function (e) {
7121        var a = this;
7122        return a.config = i.extend({}, a.config, e), a
7123      },
7124      on: function (e, i) {
7125        return layui.onevent.call(this, t, e, i)
7126      }
7127    },
7128    l = function () {
7129      var e = this,
7130        i = e.config,
7131        a = i.id || e.index;
7132      return l.that[a] = e, l.config[a] = i, {
7133        config: i,
7134        reload: function (i) {
7135          e.reload.call(e, i)
7136        },
7137        getChecked: function () {
7138          return e.getChecked.call(e)
7139        },
7140        setChecked: function (i) {
7141          return e.setChecked.call(e, i)
7142        }
7143      }
7144    },
7145    c = "layui-hide",
7146    d = "layui-disabled",
7147    s = "layui-tree-set",
7148    o = "layui-tree-iconClick",
7149    h = "layui-icon-addition",
7150    u = "layui-icon-subtraction",
7151    p = "layui-tree-entry",
7152    f = "layui-tree-main",
7153    y = "layui-tree-txt",
7154    v = "layui-tree-pack",
7155    C = "layui-tree-spread",
7156    k = "layui-tree-setLineShort",
7157    m = "layui-tree-showLine",
7158    x = "layui-tree-lineExtend",
7159    b = function (e) {
7160      var a = this;
7161      a.index = ++r.index, a.config = i.extend({}, a.config, r.config, e), a.render()
7162    };
7163  b.prototype.config = {
7164    data: [],
7165    showCheckbox: !1,
7166    showLine: !0,
7167    accordion: !1,
7168    onlyIconControl: !1,
7169    isJump: !1,
7170    edit: !1,
7171    text: {
7172      defaultNodeName: "\u672a\u547d\u540d",
7173      none: "\u65e0\u6570\u636e"
7174    }
7175  }, b.prototype.reload = function (e) {
7176    var a = this;
7177    layui.each(e, function (e, i) {
7178      "array" === layui._typeof(i) && delete a.config[e]
7179    }), a.config = i.extend(!0, {}, a.config, e), a.render()
7180  }, b.prototype.render = function () {
7181    var e = this,
7182      a = e.config;
7183    e.checkids = [];
7184    var n = i('<div class="layui-tree' + (a.showCheckbox ? " layui-form" : "") + (a.showLine ? " layui-tree-line" : "") + '" lay-filter="LAY-tree-' + e.index + '"></div>');
7185    e.tree(n);
7186    var t = a.elem = i(a.elem);
7187    if (t[0]) {
7188      if (e.key = a.id || e.index, e.elem = n, e.elemNone = i('<div class="layui-tree-emptyText">' + a.text.none + "</div>"), t.html(e.elem), 0 == e.elem.find(".layui-tree-set").length) return e.elem.append(e.elemNone);
7189      a.showCheckbox && e.renderForm("checkbox"), e.elem.find(".layui-tree-set").each(function () {
7190        var e = i(this);
7191        e.parent(".layui-tree-pack")[0] || e.addClass("layui-tree-setHide"), !e.next()[0] && e.parents(".layui-tree-pack").eq(1).hasClass("layui-tree-lineExtend") && e.addClass(k), e.next()[0] || e.parents(".layui-tree-set").eq(0).next()[0] || e.addClass(k)
7192      }), e.events()
7193    }
7194  }, b.prototype.renderForm = function (e) {
7195    a.render(e, "LAY-tree-" + this.index)
7196  }, b.prototype.tree = function (e, a) {
7197    var n = this,
7198      t = n.config,
7199      r = a || t.data;
7200    layui.each(r, function (a, r) {
7201      var l = r.children && r.children.length > 0,
7202        o = i('<div class="layui-tree-pack" ' + (r.spread ? 'style="display: block;"' : "") + "></div>"),
7203        h = i(['<div data-id="' + r.id + '" class="layui-tree-set' + (r.spread ? " layui-tree-spread" : "") + (r.checked ? " layui-tree-checkedFirst" : "") + '">', '<div class="layui-tree-entry">', '<div class="layui-tree-main">', function () {
7204          return t.showLine ? l ? '<span class="layui-tree-iconClick layui-tree-icon"><i class="layui-icon ' + (r.spread ? "layui-icon-subtraction" : "layui-icon-addition") + '"></i></span>' : '<span class="layui-tree-iconClick"><i class="layui-icon layui-icon-file"></i></span>' : '<span class="layui-tree-iconClick"><i class="layui-tree-iconArrow ' + (l ? "" : c) + '"></i></span>'
7205        }(), function () {
7206          return t.showCheckbox ? '<input type="checkbox" name="' + (r.field || "layuiTreeCheck_" + r.id) + '" same="layuiTreeCheck" lay-skin="primary" ' + (r.disabled ? "disabled" : "") + ' value="' + r.id + '">' : ""
7207        }(), function () {
7208          return t.isJump && r.href ? '<a href="' + r.href + '" target="_blank" class="' + y + '">' + (r.title || r.label || t.text.defaultNodeName) + "</a>" : '<span class="' + y + (r.disabled ? " " + d : "") + '">' + (r.title || r.label || t.text.defaultNodeName) + "</span>"
7209        }(), "</div>", function () {
7210          if (!t.edit) return "";
7211          var e = {
7212              add: '<i class="layui-icon layui-icon-add-1"  data-type="add"></i>',
7213              update: '<i class="layui-icon layui-icon-edit" data-type="update"></i>',
7214              del: '<i class="layui-icon layui-icon-delete" data-type="del"></i>'
7215            },
7216            i = ['<div class="layui-btn-group layui-tree-btnGroup">'];
7217          return t.edit === !0 && (t.edit = ["update", "del"]), "object" == typeof t.edit ? (layui.each(t.edit, function (a, n) {
7218            i.push(e[n] || "")
7219          }), i.join("") + "</div>") : void 0
7220        }(), "</div></div>"].join(""));
7221      l && (h.append(o), n.tree(o, r.children)), e.append(h), h.prev("." + s)[0] && h.prev().children(".layui-tree-pack").addClass("layui-tree-showLine"), l || h.parent(".layui-tree-pack").addClass("layui-tree-lineExtend"), n.spread(h, r), t.showCheckbox && (r.checked && n.checkids.push(r.id), n.checkClick(h, r)), t.edit && n.operate(h, r)
7222    })
7223  }, b.prototype.spread = function (e, a) {
7224    var n = this,
7225      t = n.config,
7226      r = e.children("." + p),
7227      l = r.children("." + f),
7228      c = r.find("." + o),
7229      k = r.find("." + y),
7230      m = t.onlyIconControl ? c : l,
7231      x = "";
7232    m.on("click", function (i) {
7233      var a = e.children("." + v),
7234        n = m.children(".layui-icon")[0] ? m.children(".layui-icon") : m.find(".layui-tree-icon").children(".layui-icon");
7235      if (a[0]) {
7236        if (e.hasClass(C)) e.removeClass(C), a.slideUp(200), n.removeClass(u).addClass(h);
7237        else if (e.addClass(C), a.slideDown(200), n.addClass(u).removeClass(h), t.accordion) {
7238          var r = e.siblings("." + s);
7239          r.removeClass(C), r.children("." + v).slideUp(200), r.find(".layui-tree-icon").children(".layui-icon").removeClass(u).addClass(h)
7240        }
7241      } else x = "normal"
7242    }), k.on("click", function () {
7243      var n = i(this);
7244      n.hasClass(d) || (x = e.hasClass(C) ? t.onlyIconControl ? "open" : "close" : t.onlyIconControl ? "close" : "open", t.click && t.click({
7245        elem: e,
7246        state: x,
7247        data: a
7248      }))
7249    })
7250  }, b.prototype.setCheckbox = function (e, i, a) {
7251    var n = this,
7252      t = (n.config, a.prop("checked"));
7253    if (!a.prop("disabled")) {
7254      if ("object" == typeof i.children || e.find("." + v)[0]) {
7255        var r = e.find("." + v).find('input[same="layuiTreeCheck"]');
7256        r.each(function () {
7257          this.disabled || (this.checked = t)
7258        })
7259      }
7260      var l = function (e) {
7261        if (e.parents("." + s)[0]) {
7262          var i, a = e.parent("." + v),
7263            n = a.parent(),
7264            r = a.prev().find('input[same="layuiTreeCheck"]');
7265          t ? r.prop("checked", t) : (a.find('input[same="layuiTreeCheck"]').each(function () {
7266            this.checked && (i = !0)
7267          }), i || r.prop("checked", !1)), l(n)
7268        }
7269      };
7270      l(e), n.renderForm("checkbox")
7271    }
7272  }, b.prototype.checkClick = function (e, a) {
7273    var n = this,
7274      t = n.config,
7275      r = e.children("." + p),
7276      l = r.children("." + f);
7277    l.on("click", 'input[same="layuiTreeCheck"]+', function (r) {
7278      layui.stope(r);
7279      var l = i(this).prev(),
7280        c = l.prop("checked");
7281      l.prop("disabled") || (n.setCheckbox(e, a, l), t.oncheck && t.oncheck({
7282        elem: e,
7283        checked: c,
7284        data: a
7285      }))
7286    })
7287  }, b.prototype.operate = function (e, a) {
7288    var t = this,
7289      r = t.config,
7290      l = e.children("." + p),
7291      d = l.children("." + f);
7292    l.children(".layui-tree-btnGroup").on("click", ".layui-icon", function (l) {
7293      layui.stope(l);
7294      var f = i(this).data("type"),
7295        b = e.children("." + v),
7296        g = {
7297          data: a,
7298          type: f,
7299          elem: e
7300        };
7301      if ("add" == f) {
7302        b[0] || (r.showLine ? (d.find("." + o).addClass("layui-tree-icon"), d.find("." + o).children(".layui-icon").addClass(h).removeClass("layui-icon-file")) : d.find(".layui-tree-iconArrow").removeClass(c), e.append('<div class="layui-tree-pack"></div>'));
7303        var w = r.operate && r.operate(g),
7304          N = {};
7305        if (N.title = r.text.defaultNodeName, N.id = w, t.tree(e.children("." + v), [N]), r.showLine)
7306          if (b[0]) b.hasClass(x) || b.addClass(x), e.find("." + v).each(function () {
7307            i(this).children("." + s).last().addClass(k)
7308          }), b.children("." + s).last().prev().hasClass(k) ? b.children("." + s).last().prev().removeClass(k) : b.children("." + s).last().removeClass(k), !e.parent("." + v)[0] && e.next()[0] && b.children("." + s).last().removeClass(k);
7309          else {
7310            var T = e.siblings("." + s),
7311              L = 1,
7312              I = e.parent("." + v);
7313            layui.each(T, function (e, a) {
7314              i(a).children("." + v)[0] || (L = 0)
7315            }), 1 == L ? (T.children("." + v).addClass(m), T.children("." + v).children("." + s).removeClass(k), e.children("." + v).addClass(m), I.removeClass(x), I.children("." + s).last().children("." + v).children("." + s).last().addClass(k)) : e.children("." + v).children("." + s).addClass(k)
7316          } if (!r.showCheckbox) return;
7317        if (d.find('input[same="layuiTreeCheck"]')[0].checked) {
7318          var A = e.children("." + v).children("." + s).last();
7319          A.find('input[same="layuiTreeCheck"]')[0].checked = !0
7320        }
7321        t.renderForm("checkbox")
7322      } else if ("update" == f) {
7323        var F = d.children("." + y).html();
7324        d.children("." + y).html(""), d.append('<input type="text" class="layui-tree-editInput">'), d.children(".layui-tree-editInput").val(F).focus();
7325        var j = function (e) {
7326          var i = e.val().trim();
7327          i = i ? i : r.text.defaultNodeName, e.remove(), d.children("." + y).html(i), g.data.title = i, r.operate && r.operate(g)
7328        };
7329        d.children(".layui-tree-editInput").blur(function () {
7330          j(i(this))
7331        }), d.children(".layui-tree-editInput").on("keydown", function (e) {
7332          13 === e.keyCode && (e.preventDefault(), j(i(this)))
7333        })
7334      } else n.confirm('\u786e\u8ba4\u5220\u9664\u8be5\u8282\u70b9 "<span style="color: #999;">' + (a.title || "") + '</span>" \u5417\uff1f', function (a) {
7335        if (r.operate && r.operate(g), g.status = "remove", n.close(a), !e.prev("." + s)[0] && !e.next("." + s)[0] && !e.parent("." + v)[0]) return e.remove(), void t.elem.append(t.elemNone);
7336        if (e.siblings("." + s).children("." + p)[0]) {
7337          if (r.showCheckbox) {
7338            var l = function (e) {
7339              if (e.parents("." + s)[0]) {
7340                var a = e.siblings("." + s).children("." + p),
7341                  n = e.parent("." + v).prev(),
7342                  r = n.find('input[same="layuiTreeCheck"]')[0],
7343                  c = 1,
7344                  d = 0;
7345                0 == r.checked && (a.each(function (e, a) {
7346                  var n = i(a).find('input[same="layuiTreeCheck"]')[0];
7347                  0 != n.checked || n.disabled || (c = 0), n.disabled || (d = 1)
7348                }), 1 == c && 1 == d && (r.checked = !0, t.renderForm("checkbox"), l(n.parent("." + s))))
7349              }
7350            };
7351            l(e)
7352          }
7353          if (r.showLine) {
7354            var d = e.siblings("." + s),
7355              h = 1,
7356              f = e.parent("." + v);
7357            layui.each(d, function (e, a) {
7358              i(a).children("." + v)[0] || (h = 0)
7359            }), 1 == h ? (b[0] || (f.removeClass(x), d.children("." + v).addClass(m), d.children("." + v).children("." + s).removeClass(k)), e.next()[0] ? f.children("." + s).last().children("." + v).children("." + s).last().addClass(k) : e.prev().children("." + v).children("." + s).last().addClass(k), e.next()[0] || e.parents("." + s)[1] || e.parents("." + s).eq(0).next()[0] || e.prev("." + s).addClass(k)) : !e.next()[0] && e.hasClass(k) && e.prev().addClass(k)
7360          }
7361        } else {
7362          var y = e.parent("." + v).prev();
7363          if (r.showLine) {
7364            y.find("." + o).removeClass("layui-tree-icon"), y.find("." + o).children(".layui-icon").removeClass(u).addClass("layui-icon-file");
7365            var w = y.parents("." + v).eq(0);
7366            w.addClass(x), w.children("." + s).each(function () {
7367              i(this).children("." + v).children("." + s).last().addClass(k)
7368            })
7369          } else y.find(".layui-tree-iconArrow").addClass(c);
7370          e.parents("." + s).eq(0).removeClass(C), e.parent("." + v).remove()
7371        }
7372        e.remove()
7373      })
7374    })
7375  }, b.prototype.events = function () {
7376    var e = this,
7377      a = e.config;
7378    e.elem.find(".layui-tree-checkedFirst");
7379    e.setChecked(e.checkids), e.elem.find(".layui-tree-search").on("keyup", function () {
7380      var n = i(this),
7381        t = n.val(),
7382        r = n.nextAll(),
7383        l = [];
7384      r.find("." + y).each(function () {
7385        var e = i(this).parents("." + p);
7386        if (i(this).html().indexOf(t) != -1) {
7387          l.push(i(this).parent());
7388          var a = function (e) {
7389            e.addClass("layui-tree-searchShow"), e.parent("." + v)[0] && a(e.parent("." + v).parent("." + s))
7390          };
7391          a(e.parent("." + s))
7392        }
7393      }), r.find("." + p).each(function () {
7394        var e = i(this).parent("." + s);
7395        e.hasClass("layui-tree-searchShow") || e.addClass(c)
7396      }), 0 == r.find(".layui-tree-searchShow").length && e.elem.append(e.elemNone), a.onsearch && a.onsearch({
7397        elem: l
7398      })
7399    }), e.elem.find(".layui-tree-search").on("keydown", function () {
7400      i(this).nextAll().find("." + p).each(function () {
7401        var e = i(this).parent("." + s);
7402        e.removeClass("layui-tree-searchShow " + c)
7403      }), i(".layui-tree-emptyText")[0] && i(".layui-tree-emptyText").remove()
7404    })
7405  }, b.prototype.getChecked = function () {
7406    var e = this,
7407      a = e.config,
7408      n = [],
7409      t = [];
7410    e.elem.find(".layui-form-checked").each(function () {
7411      n.push(i(this).prev()[0].value)
7412    });
7413    var r = function (e, a) {
7414      layui.each(e, function (e, t) {
7415        layui.each(n, function (e, n) {
7416          if (t.id == n) {
7417            var l = i.extend({}, t);
7418            return delete l.children, a.push(l), t.children && (l.children = [], r(t.children, l.children)), !0
7419          }
7420        })
7421      })
7422    };
7423    return r(i.extend({}, a.data), t), t
7424  }, b.prototype.setChecked = function (e) {
7425    var a = this;
7426    a.config;
7427    a.elem.find("." + s).each(function (a, n) {
7428      var t = i(this).data("id"),
7429        r = i(n).children("." + p).find('input[same="layuiTreeCheck"]'),
7430        l = r.next();
7431      if ("number" == typeof e) {
7432        if (t == e) return r[0].checked || l.click(), !1
7433      } else "object" == typeof e && layui.each(e, function (e, i) {
7434        if (i == t && !r[0].checked) return l.click(), !0
7435      })
7436    })
7437  }, l.that = {}, l.config = {}, r.reload = function (e, i) {
7438    var a = l.that[e];
7439    return a.reload(i), l.call(a)
7440  }, r.getChecked = function (e) {
7441    var i = l.that[e];
7442    return i.getChecked()
7443  }, r.setChecked = function (e, i) {
7444    var a = l.that[e];
7445    return a.setChecked(i)
7446  }, r.render = function (e) {
7447    var i = new b(e);
7448    return l.call(i)
7449  }, e(t, r)
7450});
7451layui.define(["laytpl", "form"], function (e) {
7452  "use strict";
7453  var a = layui.$,
7454    t = layui.laytpl,
7455    i = layui.form,
7456    n = "transfer",
7457    l = {
7458      config: {},
7459      index: layui[n] ? layui[n].index + 1e4 : 0,
7460      set: function (e) {
7461        var t = this;
7462        return t.config = a.extend({}, t.config, e), t
7463      },
7464      on: function (e, a) {
7465        return layui.onevent.call(this, n, e, a)
7466      }
7467    },
7468    r = function () {
7469      var e = this,
7470        a = e.config,
7471        t = a.id || e.index;
7472      return r.that[t] = e, r.config[t] = a, {
7473        config: a,
7474        reload: function (a) {
7475          e.reload.call(e, a)
7476        },
7477        getData: function () {
7478          return e.getData.call(e)
7479        }
7480      }
7481    },
7482    c = "layui-hide",
7483    o = "layui-btn-disabled",
7484    d = "layui-none",
7485    s = "layui-transfer-box",
7486    u = "layui-transfer-header",
7487    h = "layui-transfer-search",
7488    f = "layui-transfer-active",
7489    y = "layui-transfer-data",
7490    p = function (e) {
7491      return e = e || {}, ['<div class="layui-transfer-box" data-index="' + e.index + '">', '<div class="layui-transfer-header">', '<input type="checkbox" name="' + e.checkAllName + '" lay-filter="layTransferCheckbox" lay-type="all" lay-skin="primary" title="{{ d.data.title[' + e.index + "] || 'list" + (e.index + 1) + "' }}\">", "</div>", "{{# if(d.data.showSearch){ }}", '<div class="layui-transfer-search">', '<i class="layui-icon layui-icon-search"></i>', '<input type="input" class="layui-input" placeholder="\u5173\u952e\u8bcd\u641c\u7d22">', "</div>", "{{# } }}", '<ul class="layui-transfer-data"></ul>', "</div>"].join("")
7492    },
7493    v = ['<div class="layui-transfer layui-form layui-border-box" lay-filter="LAY-transfer-{{ d.index }}">', p({
7494      index: 0,
7495      checkAllName: "layTransferLeftCheckAll"
7496    }), '<div class="layui-transfer-active">', '<button type="button" class="layui-btn layui-btn-sm layui-btn-primary layui-btn-disabled" data-index="0">', '<i class="layui-icon layui-icon-next"></i>', "</button>", '<button type="button" class="layui-btn layui-btn-sm layui-btn-primary layui-btn-disabled" data-index="1">', '<i class="layui-icon layui-icon-prev"></i>', "</button>", "</div>", p({
7497      index: 1,
7498      checkAllName: "layTransferRightCheckAll"
7499    }), "</div>"].join(""),
7500    x = function (e) {
7501      var t = this;
7502      t.index = ++l.index, t.config = a.extend({}, t.config, l.config, e), t.render()
7503    };
7504  x.prototype.config = {
7505    title: ["\u5217\u8868\u4e00", "\u5217\u8868\u4e8c"],
7506    width: 200,
7507    height: 360,
7508    data: [],
7509    value: [],
7510    showSearch: !1,
7511    id: "",
7512    text: {
7513      none: "\u65e0\u6570\u636e",
7514      searchNone: "\u65e0\u5339\u914d\u6570\u636e"
7515    }
7516  }, x.prototype.reload = function (e) {
7517    var t = this;
7518    t.config = a.extend({}, t.config, e), t.render()
7519  }, x.prototype.render = function () {
7520    var e = this,
7521      i = e.config,
7522      n = e.elem = a(t(v).render({
7523        data: i,
7524        index: e.index
7525      })),
7526      l = i.elem = a(i.elem);
7527    l[0] && (i.data = i.data || [], i.value = i.value || [], e.key = i.id || e.index, l.html(e.elem), e.layBox = e.elem.find("." + s), e.layHeader = e.elem.find("." + u), e.laySearch = e.elem.find("." + h), e.layData = n.find("." + y), e.layBtn = n.find("." + f + " .layui-btn"), e.layBox.css({
7528      width: i.width,
7529      height: i.height
7530    }), e.layData.css({
7531      height: function () {
7532        return i.height - e.layHeader.outerHeight() - e.laySearch.outerHeight() - 2
7533      }()
7534    }), e.renderData(), e.events())
7535  }, x.prototype.renderData = function () {
7536    var e = this,
7537      a = (e.config, [{
7538        checkName: "layTransferLeftCheck",
7539        views: []
7540      }, {
7541        checkName: "layTransferRightCheck",
7542        views: []
7543      }]);
7544    e.parseData(function (e) {
7545      var t = e.selected ? 1 : 0,
7546        i = ["<li>", '<input type="checkbox" name="' + a[t].checkName + '" lay-skin="primary" lay-filter="layTransferCheckbox" title="' + e.title + '"' + (e.disabled ? " disabled" : "") + (e.checked ? " checked" : "") + ' value="' + e.value + '">', "</li>"].join("");
7547      a[t].views.push(i), delete e.selected
7548    }), e.layData.eq(0).html(a[0].views.join("")), e.layData.eq(1).html(a[1].views.join("")), e.renderCheckBtn()
7549  }, x.prototype.renderForm = function (e) {
7550    i.render(e, "LAY-transfer-" + this.index)
7551  }, x.prototype.renderCheckBtn = function (e) {
7552    var t = this,
7553      i = t.config;
7554    e = e || {}, t.layBox.each(function (n) {
7555      var l = a(this),
7556        r = l.find("." + y),
7557        d = l.find("." + u).find('input[type="checkbox"]'),
7558        s = r.find('input[type="checkbox"]'),
7559        h = 0,
7560        f = !1;
7561      if (s.each(function () {
7562          var e = a(this).data("hide");
7563          (this.checked || this.disabled || e) && h++, this.checked && !e && (f = !0)
7564        }), d.prop("checked", f && h === s.length), t.layBtn.eq(n)[f ? "removeClass" : "addClass"](o), !e.stopNone) {
7565        var p = r.children("li:not(." + c + ")").length;
7566        t.noneView(r, p ? "" : i.text.none)
7567      }
7568    }), t.renderForm("checkbox")
7569  }, x.prototype.noneView = function (e, t) {
7570    var i = a('<p class="layui-none">' + (t || "") + "</p>");
7571    e.find("." + d)[0] && e.find("." + d).remove(), t.replace(/\s/g, "") && e.append(i)
7572  }, x.prototype.setValue = function () {
7573    var e = this,
7574      t = e.config,
7575      i = [];
7576    return e.layBox.eq(1).find("." + y + ' input[type="checkbox"]').each(function () {
7577      var e = a(this).data("hide");
7578      e || i.push(this.value)
7579    }), t.value = i, e
7580  }, x.prototype.parseData = function (e) {
7581    var t = this,
7582      i = t.config,
7583      n = [];
7584    return layui.each(i.data, function (t, l) {
7585      l = ("function" == typeof i.parseData ? i.parseData(l) : l) || l, n.push(l = a.extend({}, l)), layui.each(i.value, function (e, a) {
7586        a == l.value && (l.selected = !0)
7587      }), e && e(l)
7588    }), i.data = n, t
7589  }, x.prototype.getData = function (e) {
7590    var a = this,
7591      t = a.config,
7592      i = [];
7593    return a.setValue(), layui.each(e || t.value, function (e, a) {
7594      layui.each(t.data, function (e, t) {
7595        delete t.selected, a == t.value && i.push(t)
7596      })
7597    }), i
7598  }, x.prototype.events = function () {
7599    var e = this,
7600      t = e.config;
7601    e.elem.on("click", 'input[lay-filter="layTransferCheckbox"]+', function () {
7602      var t = a(this).prev(),
7603        i = t[0].checked,
7604        n = t.parents("." + s).eq(0).find("." + y);
7605      t[0].disabled || ("all" === t.attr("lay-type") && n.find('input[type="checkbox"]').each(function () {
7606        this.disabled || (this.checked = i)
7607      }), e.renderCheckBtn({
7608        stopNone: !0
7609      }))
7610    }), e.layBtn.on("click", function () {
7611      var i = a(this),
7612        n = i.data("index"),
7613        l = e.layBox.eq(n),
7614        r = [];
7615      if (!i.hasClass(o)) {
7616        e.layBox.eq(n).each(function (t) {
7617          var i = a(this),
7618            n = i.find("." + y);
7619          n.children("li").each(function () {
7620            var t = a(this),
7621              i = t.find('input[type="checkbox"]'),
7622              n = i.data("hide");
7623            i[0].checked && !n && (i[0].checked = !1, l.siblings("." + s).find("." + y).append(t.clone()), t.remove(), r.push(i[0].value)), e.setValue()
7624          })
7625        }), e.renderCheckBtn();
7626        var c = l.siblings("." + s).find("." + h + " input");
7627        "" === c.val() || c.trigger("keyup"), t.onchange && t.onchange(e.getData(r), n)
7628      }
7629    }), e.laySearch.find("input").on("keyup", function () {
7630      var i = this.value,
7631        n = a(this).parents("." + h).eq(0).siblings("." + y),
7632        l = n.children("li");
7633      l.each(function () {
7634        var e = a(this),
7635          t = e.find('input[type="checkbox"]'),
7636          n = t[0].title.indexOf(i) !== -1;
7637        e[n ? "removeClass" : "addClass"](c), t.data("hide", !n)
7638      }), e.renderCheckBtn();
7639      var r = l.length === n.children("li." + c).length;
7640      e.noneView(n, r ? t.text.searchNone : "")
7641    })
7642  }, r.that = {}, r.config = {}, l.reload = function (e, a) {
7643    var t = r.that[e];
7644    return t.reload(a), r.call(t)
7645  }, l.getData = function (e) {
7646    var a = r.that[e];
7647    return a.getData()
7648  }, l.render = function (e) {
7649    var a = new x(e);
7650    return r.call(a)
7651  }, e(n, l)
7652});
7653layui.define(["laytpl", "laypage", "layer", "form", "util"], function (e) {
7654  "use strict";
7655  var t = layui.$,
7656    i = layui.laytpl,
7657    a = layui.laypage,
7658    l = layui.layer,
7659    n = layui.form,
7660    o = layui.util,
7661    r = layui.hint(),
7662    c = layui.device(),
7663    d = {
7664      config: {
7665        checkName: "LAY_CHECKED",
7666        indexName: "LAY_TABLE_INDEX"
7667      },
7668      cache: {},
7669      index: layui.table ? layui.table.index + 1e4 : 0,
7670      set: function (e) {
7671        var i = this;
7672        return i.config = t.extend({}, i.config, e), i
7673      },
7674      on: function (e, t) {
7675        return layui.onevent.call(this, h, e, t)
7676      }
7677    },
7678    s = function () {
7679      var e = this,
7680        t = e.config,
7681        i = t.id || t.index;
7682      return i && (s.that[i] = e, s.config[i] = t), {
7683        config: t,
7684        reload: function (t, i) {
7685          e.reload.call(e, t, i)
7686        },
7687        setColsWidth: function () {
7688          e.setColsWidth.call(e)
7689        },
7690        resize: function () {
7691          e.resize.call(e)
7692        }
7693      }
7694    },
7695    u = function (e) {
7696      var t = s.config[e];
7697      return t || r.error(e ? "The table instance with ID '" + e + "' not found" : "ID argument required"), t || null
7698    },
7699    y = function (e, a, l, n) {
7700      var r = this.config || {};
7701      r.escape && (a = o.escape(a));
7702      var c = e.templet ? function () {
7703        return "function" == typeof e.templet ? e.templet(l) : i(t(e.templet).html() || String(a)).render(l)
7704      }() : a;
7705      return n ? t("<div>" + c + "</div>").text() : c
7706    },
7707    h = "table",
7708    f = ".layui-table",
7709    p = "layui-hide",
7710    v = "layui-none",
7711    m = "layui-table-view",
7712    g = ".layui-table-tool",
7713    b = ".layui-table-box",
7714    x = ".layui-table-init",
7715    k = ".layui-table-header",
7716    C = ".layui-table-body",
7717    w = ".layui-table-main",
7718    T = ".layui-table-fixed",
7719    N = ".layui-table-fixed-l",
7720    L = ".layui-table-fixed-r",
7721    _ = ".layui-table-total",
7722    S = ".layui-table-page",
7723    A = ".layui-table-sort",
7724    R = "layui-table-edit",
7725    W = "layui-table-hover",
7726    z = function (e) {
7727      var t = '{{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}}';
7728      return e = e || {}, ['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ', '{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>', "<thead>", "{{# layui.each(d.data.cols, function(i1, item1){ }}", "<tr>", "{{# layui.each(item1, function(i2, item2){ }}", '{{# if(item2.fixed && item2.fixed !== "right"){ left = true; } }}', '{{# if(item2.fixed === "right"){ right = true; } }}', function () {
7729        return e.fixed && "right" !== e.fixed ? '{{# if(item2.fixed && item2.fixed !== "right"){ }}' : "right" === e.fixed ? '{{# if(item2.fixed === "right"){ }}' : ""
7730      }(), "{{# var isSort = !(item2.colGroup) && item2.sort; }}", '<th data-field="{{ item2.field||i2 }}" data-key="{{d.index}}-{{i1}}-{{i2}}" {{# if( item2.parentKey){ }}data-parentkey="{{ item2.parentKey }}"{{# } }} {{# if(item2.minWidth){ }}data-minwidth="{{item2.minWidth}}"{{# } }} ' + t + ' {{# if(item2.unresize || item2.colGroup){ }}data-unresize="true"{{# } }} class="{{# if(item2.hide){ }}layui-hide{{# } }}{{# if(isSort){ }} layui-unselect{{# } }}{{# if(!item2.field){ }} layui-table-col-special{{# } }}">', '<div class="layui-table-cell laytable-cell-', "{{# if(item2.colGroup){ }}", "group", "{{# } else { }}", "{{d.index}}-{{i1}}-{{i2}}", '{{# if(item2.type !== "normal"){ }}', " laytable-cell-{{ item2.type }}", "{{# } }}", "{{# } }}", '" {{#if(item2.align){}}align="{{item2.align}}"{{#}}}>', '{{# if(item2.type === "checkbox"){ }}', '<input type="checkbox" name="layTableCheckbox" lay-skin="primary" lay-filter="layTableAllChoose" {{# if(item2[d.data.checkName]){ }}checked{{# }; }}>', "{{# } else { }}", '<span>{{item2.title||""}}</span>', "{{# if(isSort){ }}", '<span class="layui-table-sort layui-inline"><i class="layui-edge layui-table-sort-asc" title="\u5347\u5e8f"></i><i class="layui-edge layui-table-sort-desc" title="\u964d\u5e8f"></i></span>', "{{# } }}", "{{# } }}", "</div>", "</th>", e.fixed ? "{{# }; }}" : "", "{{# }); }}", "</tr>", "{{# }); }}", "</thead>", "</table>"].join("")
7731    },
7732    E = ['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ', '{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>', "<tbody></tbody>", "</table>"].join(""),
7733    j = ['<div class="layui-form layui-border-box {{d.VIEW_CLASS}}{{# if(d.data.className){ }} {{ d.data.className }}{{# } }}" lay-filter="LAY-table-{{d.index}}" lay-id="{{ d.data.id }}" style="{{# if(d.data.width){ }}width:{{d.data.width}}px;{{# } }} {{# if(d.data.height){ }}height:{{d.data.height}}px;{{# } }}">', "{{# if(d.data.toolbar){ }}", '<div class="layui-table-tool">', '<div class="layui-table-tool-temp"></div>', '<div class="layui-table-tool-self"></div>', "</div>", "{{# } }}", '<div class="layui-table-box">', "{{# if(d.data.loading){ }}", '<div class="layui-table-init" style="background-color: #fff;">', '<i class="layui-icon layui-icon-loading layui-anim layui-anim-rotate layui-anim-loop"></i>', "</div>", "{{# } }}", "{{# var left, right; }}", '<div class="layui-table-header">', z(), "</div>", '<div class="layui-table-body layui-table-main">', E, "</div>", "{{# if(left){ }}", '<div class="layui-table-fixed layui-table-fixed-l">', '<div class="layui-table-header">', z({
7734      fixed: !0
7735    }), "</div>", '<div class="layui-table-body">', E, "</div>", "</div>", "{{# }; }}", "{{# if(right){ }}", '<div class="layui-table-fixed layui-table-fixed-r">', '<div class="layui-table-header">', z({
7736      fixed: "right"
7737    }), '<div class="layui-table-mend"></div>', "</div>", '<div class="layui-table-body">', E, "</div>", "</div>", "{{# }; }}", "</div>", "{{# if(d.data.totalRow){ }}", '<div class="layui-table-total">', '<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ', '{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>', '<tbody><tr><td><div class="layui-table-cell" style="visibility: hidden;">Total</div></td></tr></tbody>', "</table>", "</div>", "{{# } }}", "{{# if(d.data.page){ }}", '<div class="layui-table-page">', '<div id="layui-table-page{{d.index}}"></div>', "</div>", "{{# } }}", "<style>", "{{# layui.each(d.data.cols, function(i1, item1){", "layui.each(item1, function(i2, item2){ }}", ".laytable-cell-{{d.index}}-{{i1}}-{{i2}}{ ", "{{# if(item2.width){ }}", "width: {{item2.width}}px;", "{{# } }}", " }", "{{# });", "}); }}", "</style>", "</div>"].join(""),
7738    F = t(window),
7739    I = t(document),
7740    H = function (e) {
7741      var i = this;
7742      i.index = ++d.index, i.config = t.extend({}, i.config, d.config, e), i.render()
7743    };
7744  H.prototype.config = {
7745      limit: 10,
7746      loading: !0,
7747      cellMinWidth: 60,
7748      defaultToolbar: ["filter", "exports", "print"],
7749      autoSort: !0,
7750      text: {
7751        none: "\u65e0\u6570\u636e"
7752      }
7753    }, H.prototype.render = function () {
7754      var e = this,
7755        a = e.config;
7756      if (a.elem = t(a.elem), a.where = a.where || {}, a.id = a.id || a.elem.attr("id") || e.index, a.request = t.extend({
7757          pageName: "page",
7758          limitName: "limit"
7759        }, a.request), a.response = t.extend({
7760          statusName: "code",
7761          statusCode: 0,
7762          msgName: "msg",
7763          dataName: "data",
7764          totalRowName: "totalRow",
7765          countName: "count"
7766        }, a.response), "object" == typeof a.page && (a.limit = a.page.limit || a.limit, a.limits = a.page.limits || a.limits, e.page = a.page.curr = a.page.curr || 1, delete a.page.elem, delete a.page.jump), !a.elem[0]) return e;
7767      a.height && /^full-\d+$/.test(a.height) && (e.fullHeightGap = a.height.split("-")[1], a.height = F.height() - e.fullHeightGap), e.setInit();
7768      var l = a.elem,
7769        n = l.next("." + m),
7770        o = e.elem = t(i(j).render({
7771          VIEW_CLASS: m,
7772          data: a,
7773          index: e.index
7774        }));
7775      if (a.index = e.index, e.key = a.id || a.index, n[0] && n.remove(), l.after(o), e.layTool = o.find(g), e.layBox = o.find(b), e.layHeader = o.find(k), e.layMain = o.find(w), e.layBody = o.find(C), e.layFixed = o.find(T), e.layFixLeft = o.find(N), e.layFixRight = o.find(L), e.layTotal = o.find(_), e.layPage = o.find(S), e.renderToolbar(), e.fullSize(), a.cols.length > 1) {
7776        var r = e.layFixed.find(k).find("th");
7777        r.height(e.layHeader.height() - 1 - parseFloat(r.css("padding-top")) - parseFloat(r.css("padding-bottom")))
7778      }
7779      e.pullData(e.page), e.events()
7780    }, H.prototype.initOpts = function (e) {
7781      var t = this,
7782        i = (t.config, {
7783          checkbox: 48,
7784          radio: 48,
7785          space: 15,
7786          numbers: 40
7787        });
7788      e.checkbox && (e.type = "checkbox"), e.space && (e.type = "space"), e.type || (e.type = "normal"), "normal" !== e.type && (e.unresize = !0, e.width = e.width || i[e.type])
7789    }, H.prototype.setInit = function (e) {
7790      var t = this,
7791        i = t.config;
7792      return i.clientWidth = i.width || function () {
7793        var e = function (t) {
7794          var a, l;
7795          t = t || i.elem.parent(), a = t.width();
7796          try {
7797            l = "none" === t.css("display")
7798          } catch (n) {}
7799          return !t[0] || a && !l ? a : e(t.parent())
7800        };
7801        return e()
7802      }(), "width" === e ? i.clientWidth : void layui.each(i.cols, function (e, a) {
7803        layui.each(a, function (l, n) {
7804          if (!n) return void a.splice(l, 1);
7805          if (n.key = e + "-" + l, n.hide = n.hide || !1, n.colGroup || n.colspan > 1) {
7806            var o = 0;
7807            layui.each(i.cols[e + 1], function (t, i) {
7808              i.HAS_PARENT || o > 1 && o == n.colspan || (i.HAS_PARENT = !0, i.parentKey = e + "-" + l, o += parseInt(i.colspan > 1 ? i.colspan : 1))
7809            }), n.colGroup = !0
7810          }
7811          t.initOpts(n)
7812        })
7813      })
7814    }, H.prototype.renderToolbar = function () {
7815      var e = this,
7816        a = e.config,
7817        l = ['<div class="layui-inline" lay-event="add"><i class="layui-icon layui-icon-add-1"></i></div>', '<div class="layui-inline" lay-event="update"><i class="layui-icon layui-icon-edit"></i></div>', '<div class="layui-inline" lay-event="delete"><i class="layui-icon layui-icon-delete"></i></div>'].join(""),
7818        n = e.layTool.find(".layui-table-tool-temp");
7819      if ("default" === a.toolbar) n.html(l);
7820      else if ("string" == typeof a.toolbar) {
7821        var o = t(a.toolbar).html() || "";
7822        o && n.html(i(o).render(a))
7823      }
7824      var r = {
7825          filter: {
7826            title: "\u7b5b\u9009\u5217",
7827            layEvent: "LAYTABLE_COLS",
7828            icon: "layui-icon-cols"
7829          },
7830          exports: {
7831            title: "\u5bfc\u51fa",
7832            layEvent: "LAYTABLE_EXPORT",
7833            icon: "layui-icon-export"
7834          },
7835          print: {
7836            title: "\u6253\u5370",
7837            layEvent: "LAYTABLE_PRINT",
7838            icon: "layui-icon-print"
7839          }
7840        },
7841        c = [];
7842      "object" == typeof a.defaultToolbar && layui.each(a.defaultToolbar, function (e, t) {
7843        var i = "string" == typeof t ? r[t] : t;
7844        i && c.push('<div class="layui-inline" title="' + i.title + '" lay-event="' + i.layEvent + '"><i class="layui-icon ' + i.icon + '"></i></div>')
7845      }), e.layTool.find(".layui-table-tool-self").html(c.join(""))
7846    }, H.prototype.setParentCol = function (e, t) {
7847      var i = this,
7848        a = i.config,
7849        l = i.layHeader.find('th[data-key="' + a.index + "-" + t + '"]'),
7850        n = parseInt(l.attr("colspan")) || 0;
7851      if (l[0]) {
7852        var o = t.split("-"),
7853          r = a.cols[o[0]][o[1]];
7854        e ? n-- : n++, l.attr("colspan", n), l[n < 1 ? "addClass" : "removeClass"](p), r.colspan = n, r.hide = n < 1;
7855        var c = l.data("parentkey");
7856        c && i.setParentCol(e, c)
7857      }
7858    }, H.prototype.setColsPatch = function () {
7859      var e = this,
7860        t = e.config;
7861      layui.each(t.cols, function (t, i) {
7862        layui.each(i, function (t, i) {
7863          i.hide && e.setParentCol(i.hide, i.parentKey)
7864        })
7865      })
7866    }, H.prototype.setColsWidth = function () {
7867      var e = this,
7868        t = e.config,
7869        i = 0,
7870        a = 0,
7871        l = 0,
7872        n = 0,
7873        o = e.setInit("width");
7874      e.eachCols(function (e, t) {
7875        t.hide || i++
7876      }), o = o - function () {
7877        return "line" === t.skin || "nob" === t.skin ? 2 : i + 1
7878      }() - e.getScrollWidth(e.layMain[0]) - 1;
7879      var r = function (e) {
7880        layui.each(t.cols, function (i, r) {
7881          layui.each(r, function (i, c) {
7882            var d = 0,
7883              s = c.minWidth || t.cellMinWidth;
7884            return c ? void(c.colGroup || c.hide || (e ? l && l < s && (a--, d = s) : (d = c.width || 0, /\d+%$/.test(d) ? (d = Math.floor(parseFloat(d) / 100 * o), d < s && (d = s)) : d || (c.width = d = 0, a++)), c.hide && (d = 0), n += d)) : void r.splice(i, 1)
7885          })
7886        }), o > n && a && (l = (o - n) / a)
7887      };
7888      r(), r(!0), e.autoColNums = a, e.eachCols(function (i, a) {
7889        var n = a.minWidth || t.cellMinWidth;
7890        a.colGroup || a.hide || (0 === a.width ? e.getCssRule(t.index + "-" + a.key, function (e) {
7891          e.style.width = Math.floor(l >= n ? l : n) + "px"
7892        }) : /\d+%$/.test(a.width) && e.getCssRule(t.index + "-" + a.key, function (e) {
7893          e.style.width = Math.floor(parseFloat(a.width) / 100 * o) + "px"
7894        }))
7895      });
7896      var c = e.layMain.width() - e.getScrollWidth(e.layMain[0]) - e.layMain.children("table").outerWidth();
7897      if (e.autoColNums && c >= -i && c <= i) {
7898        var d = function (t) {
7899            var i;
7900            return t = t || e.layHeader.eq(0).find("thead th:last-child"), i = t.data("field"), !i && t.prev()[0] ? d(t.prev()) : t
7901          },
7902          s = d(),
7903          u = s.data("key");
7904        e.getCssRule(u, function (t) {
7905          var i = t.style.width || s.outerWidth();
7906          t.style.width = parseFloat(i) + c + "px", e.layMain.height() - e.layMain.prop("clientHeight") > 0 && (t.style.width = parseFloat(t.style.width) - 1 + "px")
7907        })
7908      }
7909      e.loading(!0)
7910    }, H.prototype.resize = function () {
7911      var e = this;
7912      e.fullSize(), e.setColsWidth(), e.scrollPatch()
7913    }, H.prototype.reload = function (e, i) {
7914      var a = this;
7915      e = e || {}, delete a.haveInit, layui.each(e, function (e, t) {
7916        "array" === layui._typeof(t) && delete a.config[e]
7917      }), a.config = t.extend(i, {}, a.config, e), a.render()
7918    }, H.prototype.errorView = function (e) {
7919      var i = this,
7920        a = i.layMain.find("." + v),
7921        l = t('<div class="' + v + '">' + (e || "Error") + "</div>");
7922      a[0] && (i.layNone.remove(), a.remove()), i.layFixed.addClass(p), i.layMain.find("tbody").html(""), i.layMain.append(i.layNone = l), d.cache[i.key] = []
7923    }, H.prototype.page = 1, H.prototype.pullData = function (e) {
7924      var i = this,
7925        a = i.config,
7926        l = a.request,
7927        n = a.response,
7928        o = function () {
7929          "object" == typeof a.initSort && i.sort(a.initSort.field, a.initSort.type)
7930        };
7931      if (i.startTime = (new Date).getTime(), a.url) {
7932        var r = {};
7933        r[l.pageName] = e, r[l.limitName] = a.limit;
7934        var c = t.extend(r, a.where);
7935        a.contentType && 0 == a.contentType.indexOf("application/json") && (c = JSON.stringify(c)), i.loading(), t.ajax({
7936          type: a.method || "get",
7937          url: a.url,
7938          contentType: a.contentType,
7939          data: c,
7940          dataType: "json",
7941          headers: a.headers || {},
7942          success: function (t) {
7943            "function" == typeof a.parseData && (t = a.parseData(t) || t), t[n.statusName] != n.statusCode ? (i.renderForm(), i.errorView(t[n.msgName] || '\u8fd4\u56de\u7684\u6570\u636e\u4e0d\u7b26\u5408\u89c4\u8303\uff0c\u6b63\u786e\u7684\u6210\u529f\u72b6\u6001\u7801\u5e94\u4e3a\uff1a"' + n.statusName + '": ' + n.statusCode)) : (i.renderData(t, e, t[n.countName]), o(), a.time = (new Date).getTime() - i.startTime + " ms"), i.setColsWidth(), "function" == typeof a.done && a.done(t, e, t[n.countName])
7944          },
7945          error: function (e, t) {
7946            i.errorView("\u8bf7\u6c42\u5f02\u5e38\uff0c\u9519\u8bef\u63d0\u793a\uff1a" + t), i.renderForm(), i.setColsWidth(), "function" == typeof a.error && a.error(e, t)
7947          }
7948        })
7949      } else if ("array" === layui._typeof(a.data)) {
7950        var d = {},
7951          s = e * a.limit - a.limit;
7952        d[n.dataName] = a.data.concat().splice(s, a.limit), d[n.countName] = a.data.length, "object" == typeof a.totalRow && (d[n.totalRowName] = t.extend({}, a.totalRow)), i.renderData(d, e, d[n.countName]), o(), i.setColsWidth(), "function" == typeof a.done && a.done(d, e, d[n.countName])
7953      }
7954    }, H.prototype.eachCols = function (e) {
7955      var t = this;
7956      return d.eachCols(null, e, t.config.cols), t
7957    }, H.prototype.renderData = function (e, n, o, r) {
7958      var c = this,
7959        s = c.config,
7960        u = e[s.response.dataName] || [],
7961        h = e[s.response.totalRowName],
7962        f = [],
7963        m = [],
7964        g = [],
7965        b = function () {
7966          var e;
7967          return !r && c.sortKey ? c.sort(c.sortKey.field, c.sortKey.sort, !0) : (layui.each(u, function (a, l) {
7968            var o = [],
7969              u = [],
7970              h = [],
7971              v = a + s.limit * (n - 1) + 1;
7972            "array" === layui._typeof(l) && 0 === l.length || (r || (l[d.config.indexName] = a), c.eachCols(function (n, r) {
7973              var f = r.field || n,
7974                m = s.index + "-" + r.key,
7975                g = l[f];
7976              if (void 0 !== g && null !== g || (g = ""), !r.colGroup) {
7977                var b = ['<td data-field="' + f + '" data-key="' + m + '" ' + function () {
7978                  var e = [];
7979                  return r.edit && e.push('data-edit="' + r.edit + '"'), r.align && e.push('align="' + r.align + '"'), r.templet && e.push('data-content="' + g + '"'), r.toolbar && e.push('data-off="true"'), r.event && e.push('lay-event="' + r.event + '"'), r.style && e.push('style="' + r.style + '"'), r.minWidth && e.push('data-minwidth="' + r.minWidth + '"'), e.join(" ")
7980                }() + ' class="' + function () {
7981                  var e = [];
7982                  return r.hide && e.push(p), r.field || e.push("layui-table-col-special"), e.join(" ")
7983                }() + '">', '<div class="layui-table-cell laytable-cell-' + function () {
7984                  return "normal" === r.type ? m : m + " laytable-cell-" + r.type
7985                }() + '">' + function () {
7986                  var n = t.extend(!0, {
7987                      LAY_INDEX: v,
7988                      LAY_COL: r
7989                    }, l),
7990                    o = d.config.checkName;
7991                  switch (r.type) {
7992                    case "checkbox":
7993                      return '<input type="checkbox" name="layTableCheckbox" lay-skin="primary" ' + function () {
7994                        return r[o] ? (l[o] = r[o], r[o] ? "checked" : "") : n[o] ? "checked" : ""
7995                      }() + ">";
7996                    case "radio":
7997                      return n[o] && (e = a), '<input type="radio" name="layTableRadio_' + s.index + '" ' + (n[o] ? "checked" : "") + ' lay-type="layTableRadio">';
7998                    case "numbers":
7999                      return v
8000                  }
8001                  return r.toolbar ? i(t(r.toolbar).html() || "").render(n) : y.call(c, r, g, n)
8002                }(), "</div></td>"].join("");
8003                o.push(b), r.fixed && "right" !== r.fixed && u.push(b), "right" === r.fixed && h.push(b)
8004              }
8005            }), f.push('<tr data-index="' + a + '">' + o.join("") + "</tr>"), m.push('<tr data-index="' + a + '">' + u.join("") + "</tr>"), g.push('<tr data-index="' + a + '">' + h.join("") + "</tr>"))
8006          }), c.layBody.scrollTop(0), c.layMain.find("." + v).remove(), c.layMain.find("tbody").html(f.join("")), c.layFixLeft.find("tbody").html(m.join("")), c.layFixRight.find("tbody").html(g.join("")), c.renderForm(), "number" == typeof e && c.setThisRowChecked(e), c.syncCheckAll(), c.haveInit ? c.scrollPatch() : setTimeout(function () {
8007            c.scrollPatch()
8008          }, 50), c.haveInit = !0, l.close(c.tipsIndex), s.HAS_SET_COLS_PATCH || c.setColsPatch(), void(s.HAS_SET_COLS_PATCH = !0))
8009        };
8010      return d.cache[c.key] = u, c.layPage[0 == o || 0 === u.length && 1 == n ? "addClass" : "removeClass"](p), 0 === u.length ? (c.renderForm(), c.errorView(s.text.none)) : (c.layFixed.removeClass(p), r ? b() : (b(), c.renderTotal(u, h), void(s.page && (s.page = t.extend({
8011        elem: "layui-table-page" + s.index,
8012        count: o,
8013        limit: s.limit,
8014        limits: s.limits || [10, 20, 30, 40, 50, 60, 70, 80, 90],
8015        groups: 3,
8016        layout: ["prev", "page", "next", "skip", "count", "limit"],
8017        prev: '<i class="layui-icon">&#xe603;</i>',
8018        next: '<i class="layui-icon">&#xe602;</i>',
8019        jump: function (e, t) {
8020          t || (c.page = e.curr, s.limit = e.limit, c.pullData(e.curr))
8021        }
8022      }, s.page), s.page.count = o, a.render(s.page)))))
8023    }, H.prototype.renderTotal = function (e, a) {
8024      var l = this,
8025        n = l.config,
8026        o = {};
8027      if (n.totalRow) {
8028        layui.each(e, function (e, t) {
8029          "array" === layui._typeof(t) && 0 === t.length || l.eachCols(function (e, i) {
8030            var a = i.field || e,
8031              l = t[a];
8032            i.totalRow && (o[a] = (o[a] || 0) + (parseFloat(l) || 0))
8033          })
8034        }), l.dataTotal = {};
8035        var r = [];
8036        l.eachCols(function (e, c) {
8037          var d = c.field || e,
8038            s = function () {
8039              var e, t = c.totalRowText || "",
8040                i = parseFloat(o[d]).toFixed(2),
8041                n = {};
8042              return n[d] = i, e = c.totalRow ? y.call(l, c, i, n) || t : t, a ? a[c.field] || e : e
8043            }(),
8044            u = ['<td data-field="' + d + '" data-key="' + n.index + "-" + c.key + '" ' + function () {
8045              var e = [];
8046              return c.align && e.push('align="' + c.align + '"'), c.style && e.push('style="' + c.style + '"'), c.minWidth && e.push('data-minwidth="' + c.minWidth + '"'), e.join(" ")
8047            }() + ' class="' + function () {
8048              var e = [];
8049              return c.hide && e.push(p), c.field || e.push("layui-table-col-special"), e.join(" ")
8050            }() + '">', '<div class="layui-table-cell laytable-cell-' + function () {
8051              var e = n.index + "-" + c.key;
8052              return "normal" === c.type ? e : e + " laytable-cell-" + c.type
8053            }() + '">' + function () {
8054              var e = c.totalRow || n.totalRow;
8055              return "string" == typeof e ? i(e).render(t.extend({
8056                TOTAL_NUMS: s
8057              }, c)) : s
8058            }(), "</div></td>"].join("");
8059          c.field && (l.dataTotal[d] = s), r.push(u)
8060        }), l.layTotal.find("tbody").html("<tr>" + r.join("") + "</tr>")
8061      }
8062    }, H.prototype.getColElem = function (e, t) {
8063      var i = this,
8064        a = i.config;
8065      return e.eq(0).find(".laytable-cell-" + (a.index + "-" + t) + ":eq(0)")
8066    }, H.prototype.renderForm = function (e) {
8067      n.render(e, "LAY-table-" + this.index)
8068    }, H.prototype.setThisRowChecked = function (e) {
8069      var t = this,
8070        i = (t.config, "layui-table-click"),
8071        a = t.layBody.find('tr[data-index="' + e + '"]');
8072      a.addClass(i).siblings("tr").removeClass(i)
8073    }, H.prototype.sort = function (e, i, a, l) {
8074      var n, o, c = this,
8075        s = {},
8076        u = c.config,
8077        y = u.elem.attr("lay-filter"),
8078        f = d.cache[c.key];
8079      "string" == typeof e && (n = e, c.layHeader.find("th").each(function (i, a) {
8080        var l = t(this),
8081          o = l.data("field");
8082        if (o === e) return e = l, n = o, !1
8083      }));
8084      try {
8085        var n = n || e.data("field"),
8086          p = e.data("key");
8087        if (c.sortKey && !a && n === c.sortKey.field && i === c.sortKey.sort) return;
8088        var v = c.layHeader.find("th .laytable-cell-" + p).find(A);
8089        c.layHeader.find("th").find(A).removeAttr("lay-sort"), v.attr("lay-sort", i || null), c.layFixed.find("th")
8090      } catch (m) {
8091        r.error("Table modules: sort field '" + n + "' not matched")
8092      }
8093      c.sortKey = {
8094        field: n,
8095        sort: i
8096      }, u.autoSort && ("asc" === i ? o = layui.sort(f, n) : "desc" === i ? o = layui.sort(f, n, !0) : (o = layui.sort(f, d.config.indexName), delete c.sortKey)), s[u.response.dataName] = o || f, c.renderData(s, c.page, c.count, !0), l && layui.event.call(e, h, "sort(" + y + ")", {
8097        field: n,
8098        type: i
8099      })
8100    }, H.prototype.loading = function (e) {
8101      var i = this,
8102        a = i.config;
8103      a.loading && (e ? (i.layInit && i.layInit.remove(), delete i.layInit, i.layBox.find(x).remove()) : (i.layInit = t(['<div class="layui-table-init">', '<i class="layui-icon layui-icon-loading layui-anim layui-anim-rotate layui-anim-loop"></i>', "</div>"].join("")), i.layBox.append(i.layInit)))
8104    }, H.prototype.setCheckData = function (e, t) {
8105      var i = this,
8106        a = i.config,
8107        l = d.cache[i.key];
8108      l[e] && "array" !== layui._typeof(l[e]) && (l[e][a.checkName] = t)
8109    }, H.prototype.syncCheckAll = function () {
8110      var e = this,
8111        t = e.config,
8112        i = e.layHeader.find('input[name="layTableCheckbox"]'),
8113        a = function (i) {
8114          return e.eachCols(function (e, a) {
8115            "checkbox" === a.type && (a[t.checkName] = i)
8116          }), i
8117        };
8118      i[0] && (d.checkStatus(e.key).isAll ? (i[0].checked || (i.prop("checked", !0), e.renderForm("checkbox")), a(!0)) : (i[0].checked && (i.prop("checked", !1), e.renderForm("checkbox")), a(!1)))
8119    }, H.prototype.getCssRule = function (e, t) {
8120      var i = this,
8121        a = i.elem.find("style")[0],
8122        l = a.sheet || a.styleSheet || {},
8123        n = l.cssRules || l.rules;
8124      layui.each(n, function (i, a) {
8125        if (a.selectorText === ".laytable-cell-" + e) return t(a), !0
8126      })
8127    }, H.prototype.fullSize = function () {
8128      var e, t = this,
8129        i = t.config,
8130        a = i.height;
8131      t.fullHeightGap && (a = F.height() - t.fullHeightGap, a < 135 && (a = 135), t.elem.css("height", a)), a && (e = parseFloat(a) - (t.layHeader.outerHeight() || 38), i.toolbar && (e -= t.layTool.outerHeight() || 50), i.totalRow && (e -= t.layTotal.outerHeight() || 40), i.page && (e -= t.layPage.outerHeight() || 41), t.layMain.css("height", e - 2))
8132    }, H.prototype.getScrollWidth = function (e) {
8133      var t = 0;
8134      return e ? t = e.offsetWidth - e.clientWidth : (e = document.createElement("div"), e.style.width = "100px", e.style.height = "100px", e.style.overflowY = "scroll", document.body.appendChild(e), t = e.offsetWidth - e.clientWidth, document.body.removeChild(e)), t
8135    }, H.prototype.scrollPatch = function () {
8136      var e = this,
8137        i = e.layMain.children("table"),
8138        a = e.layMain.width() - e.layMain.prop("clientWidth"),
8139        l = e.layMain.height() - e.layMain.prop("clientHeight"),
8140        n = (e.getScrollWidth(e.layMain[0]), i.outerWidth() - e.layMain.width()),
8141        o = function (e) {
8142          if (a && l) {
8143            if (e = e.eq(0), !e.find(".layui-table-patch")[0]) {
8144              var i = t('<th class="layui-table-patch"><div class="layui-table-cell"></div></th>');
8145              i.find("div").css({
8146                width: a
8147              }), e.find("tr").append(i)
8148            }
8149          } else e.find(".layui-table-patch").remove()
8150        };
8151      o(e.layHeader), o(e.layTotal);
8152      var r = e.layMain.height(),
8153        c = r - l;
8154      e.layFixed.find(C).css("height", i.height() >= c ? c : "auto"), e.layFixRight[n > 0 ? "removeClass" : "addClass"](p), e.layFixRight.css("right", a - 1)
8155    }, H.prototype.events = function () {
8156      var e, i = this,
8157        a = i.config,
8158        o = t("body"),
8159        r = {},
8160        s = i.layHeader.find("th"),
8161        u = ".layui-table-cell",
8162        f = a.elem.attr("lay-filter");
8163      i.layTool.on("click", "*[lay-event]", function (e) {
8164        var o = t(this),
8165          r = o.attr("lay-event"),
8166          s = function (e) {
8167            var l = t(e.list),
8168              n = t('<ul class="layui-table-tool-panel"></ul>');
8169            n.html(l), a.height && n.css("max-height", a.height - (i.layTool.outerHeight() || 50)), o.find(".layui-table-tool-panel")[0] || o.append(n), i.renderForm(), n.on("click", function (e) {
8170              layui.stope(e)
8171            }), e.done && e.done(n, l)
8172          };
8173        switch (layui.stope(e), I.trigger("table.tool.panel.remove"), l.close(i.tipsIndex), r) {
8174          case "LAYTABLE_COLS":
8175            s({
8176              list: function () {
8177                var e = [];
8178                return i.eachCols(function (t, i) {
8179                  i.field && "normal" == i.type && e.push('<li><input type="checkbox" name="' + i.field + '" data-key="' + i.key + '" data-parentkey="' + (i.parentKey || "") + '" lay-skin="primary" ' + (i.hide ? "" : "checked") + ' title="' + (i.title || i.field) + '" lay-filter="LAY_TABLE_TOOL_COLS"></li>')
8180                }), e.join("")
8181              }(),
8182              done: function () {
8183                n.on("checkbox(LAY_TABLE_TOOL_COLS)", function (e) {
8184                  var l = t(e.elem),
8185                    n = this.checked,
8186                    o = l.data("key"),
8187                    r = l.data("parentkey");
8188                  layui.each(a.cols, function (e, t) {
8189                    layui.each(t, function (t, l) {
8190                      if (e + "-" + t === o) {
8191                        var c = l.hide;
8192                        l.hide = !n, i.elem.find('*[data-key="' + a.index + "-" + o + '"]')[n ? "removeClass" : "addClass"](p), c != l.hide && i.setParentCol(!n, r), i.resize()
8193                      }
8194                    })
8195                  })
8196                })
8197              }
8198            });
8199            break;
8200          case "LAYTABLE_EXPORT":
8201            c.ie ? l.tips("\u5bfc\u51fa\u529f\u80fd\u4e0d\u652f\u6301 IE\uff0c\u8bf7\u7528 Chrome \u7b49\u9ad8\u7ea7\u6d4f\u89c8\u5668\u5bfc\u51fa", this, {
8202              tips: 3
8203            }) : s({
8204              list: function () {
8205                return ['<li data-type="csv">\u5bfc\u51fa\u5230 Csv \u6587\u4ef6</li>', '<li data-type="xls">\u5bfc\u51fa\u5230 Excel \u6587\u4ef6</li>'].join("")
8206              }(),
8207              done: function (e, l) {
8208                l.on("click", function () {
8209                  var e = t(this).data("type");
8210                  d.exportFile.call(i, a.id, null, e)
8211                })
8212              }
8213            });
8214            break;
8215          case "LAYTABLE_PRINT":
8216            var u = window.open("\u6253\u5370\u7a97\u53e3", "_blank"),
8217              y = ["<style>", "body{font-size: 12px; color: #666;}", "table{width: 100%; border-collapse: collapse; border-spacing: 0;}", "th,td{line-height: 20px; padding: 9px 15px; border: 1px solid #ccc; text-align: left; font-size: 12px; color: #666;}", "a{color: #666; text-decoration:none;}", "*.layui-hide{display: none}", "</style>"].join(""),
8218              v = t(i.layHeader.html());
8219            v.append(i.layMain.find("table").html()), v.append(i.layTotal.find("table").html()), v.find("th.layui-table-patch").remove(), v.find(".layui-table-col-special").remove(), u.document.write(y + v.prop("outerHTML")), u.document.close(), u.print(), u.close()
8220        }
8221        layui.event.call(this, h, "toolbar(" + f + ")", t.extend({
8222          event: r,
8223          config: a
8224        }, {}))
8225      }), s.on("mousemove", function (e) {
8226        var i = t(this),
8227          a = i.offset().left,
8228          l = e.clientX - a;
8229        i.data("unresize") || r.resizeStart || (r.allowResize = i.width() - l <= 10, o.css("cursor", r.allowResize ? "col-resize" : ""))
8230      }).on("mouseleave", function () {
8231        t(this);
8232        r.resizeStart || o.css("cursor", "")
8233      }).on("mousedown", function (e) {
8234        var l = t(this);
8235        if (r.allowResize) {
8236          var n = l.data("key");
8237          e.preventDefault(), r.resizeStart = !0, r.offset = [e.clientX, e.clientY], i.getCssRule(n, function (e) {
8238            var t = e.style.width || l.outerWidth();
8239            r.rule = e, r.ruleWidth = parseFloat(t), r.minWidth = l.data("minwidth") || a.cellMinWidth
8240          })
8241        }
8242      }), I.on("mousemove", function (t) {
8243        if (r.resizeStart) {
8244          if (t.preventDefault(), r.rule) {
8245            var a = r.ruleWidth + t.clientX - r.offset[0];
8246            a < r.minWidth && (a = r.minWidth), r.rule.style.width = a + "px", l.close(i.tipsIndex)
8247          }
8248          e = 1
8249        }
8250      }).on("mouseup", function (t) {
8251        r.resizeStart && (r = {}, o.css("cursor", ""), i.scrollPatch()), 2 === e && (e = null)
8252      }), s.on("click", function (a) {
8253        var l, n = t(this),
8254          o = n.find(A),
8255          r = o.attr("lay-sort");
8256        return o[0] && 1 !== e ? (l = "asc" === r ? "desc" : "desc" === r ? null : "asc", void i.sort(n, l, null, !0)) : e = 2
8257      }).find(A + " .layui-edge ").on("click", function (e) {
8258        var a = t(this),
8259          l = a.index(),
8260          n = a.parents("th").eq(0).data("field");
8261        layui.stope(e), 0 === l ? i.sort(n, "asc", null, !0) : i.sort(n, "desc", null, !0)
8262      });
8263      var v = function (e) {
8264        var a = t(this),
8265          l = a.parents("tr").eq(0).data("index"),
8266          n = i.layBody.find('tr[data-index="' + l + '"]'),
8267          o = d.cache[i.key] || [];
8268        return o = o[l] || {}, t.extend({
8269          tr: n,
8270          data: d.clearCacheKey(o),
8271          del: function () {
8272            d.cache[i.key][l] = [], n.remove(), i.scrollPatch()
8273          },
8274          update: function (e) {
8275            e = e || {}, layui.each(e, function (e, t) {
8276              if (e in o) {
8277                var a, l = n.children('td[data-field="' + e + '"]');
8278                o[e] = t, i.eachCols(function (t, i) {
8279                  i.field == e && i.templet && (a = i.templet)
8280                }), l.children(u).html(y.call(i, {
8281                  templet: a
8282                }, t, o)), l.data("content", t)
8283              }
8284            })
8285          }
8286        }, e)
8287      };
8288      i.elem.on("click", 'input[name="layTableCheckbox"]+', function () {
8289        var e = t(this).prev(),
8290          a = i.layBody.find('input[name="layTableCheckbox"]'),
8291          l = e.parents("tr").eq(0).data("index"),
8292          n = e[0].checked,
8293          o = "layTableAllChoose" === e.attr("lay-filter");
8294        o ? (a.each(function (e, t) {
8295          t.checked = n, i.setCheckData(e, n)
8296        }), i.syncCheckAll(), i.renderForm("checkbox")) : (i.setCheckData(l, n), i.syncCheckAll()), layui.event.call(e[0], h, "checkbox(" + f + ")", v.call(e[0], {
8297          checked: n,
8298          type: o ? "all" : "one"
8299        }))
8300      }), i.elem.on("click", 'input[lay-type="layTableRadio"]+', function () {
8301        var e = t(this).prev(),
8302          l = e[0].checked,
8303          n = d.cache[i.key],
8304          o = e.parents("tr").eq(0).data("index");
8305        layui.each(n, function (e, t) {
8306          o === e ? t[a.checkName] = !0 : delete t[a.checkName]
8307        }), i.setThisRowChecked(o), layui.event.call(this, h, "radio(" + f + ")", v.call(this, {
8308          checked: l
8309        }))
8310      }), i.layBody.on("mouseenter", "tr", function () {
8311        var e = t(this),
8312          a = e.index();
8313        e.data("off") || i.layBody.find("tr:eq(" + a + ")").addClass(W)
8314      }).on("mouseleave", "tr", function () {
8315        var e = t(this),
8316          a = e.index();
8317        e.data("off") || i.layBody.find("tr:eq(" + a + ")").removeClass(W)
8318      }).on("click", "tr", function () {
8319        m.call(this, "row")
8320      }).on("dblclick", "tr", function () {
8321        m.call(this, "rowDouble")
8322      });
8323      var m = function (e) {
8324        var i = t(this);
8325        i.data("off") || layui.event.call(this, h, e + "(" + f + ")", v.call(i.children("td")[0]))
8326      };
8327      i.layBody.on("change", "." + R, function () {
8328        var e = t(this),
8329          a = this.value,
8330          l = e.parent().data("field"),
8331          n = e.parents("tr").eq(0).data("index"),
8332          o = d.cache[i.key][n];
8333        o[l] = a, layui.event.call(this, h, "edit(" + f + ")", v.call(this, {
8334          value: a,
8335          field: l
8336        }))
8337      }).on("blur", "." + R, function () {
8338        var e, a = t(this),
8339          l = this,
8340          n = a.parent().data("field"),
8341          o = a.parents("tr").eq(0).data("index"),
8342          r = d.cache[i.key][o];
8343        i.eachCols(function (t, i) {
8344          i.field == n && i.templet && (e = i.templet)
8345        }), a.siblings(u).html(function (t) {
8346          return y.call(i, {
8347            templet: e
8348          }, t, r)
8349        }(l.value)), a.parent().data("content", l.value), a.remove()
8350      }), i.layBody.on("click", "td", function (e) {
8351        var i = t(this),
8352          a = (i.data("field"), i.data("edit")),
8353          l = i.children(u);
8354        if (!i.data("off") && a) {
8355          var n = t('<input class="layui-input ' + R + '">');
8356          return n[0].value = i.data("content") || l.text(), i.find("." + R)[0] || i.append(n), n.focus(), void layui.stope(e)
8357        }
8358      }).on("mouseenter", "td", function () {
8359        b.call(this)
8360      }).on("mouseleave", "td", function () {
8361        b.call(this, "hide")
8362      });
8363      var g = "layui-table-grid-down",
8364        b = function (e) {
8365          var i = t(this),
8366            a = i.children(u);
8367          if (!i.data("off"))
8368            if (e) i.find(".layui-table-grid-down").remove();
8369            else if (a.prop("scrollWidth") > a.outerWidth()) {
8370            if (a.find("." + g)[0]) return;
8371            i.append('<div class="' + g + '"><i class="layui-icon layui-icon-down"></i></div>')
8372          }
8373        };
8374      i.layBody.on("click", "." + g, function (e) {
8375        var n = t(this),
8376          o = n.parent(),
8377          r = o.children(u);
8378        i.tipsIndex = l.tips(['<div class="layui-table-tips-main" style="margin-top: -' + (r.height() + 16) + "px;" + function () {
8379          return "sm" === a.size ? "padding: 4px 15px; font-size: 12px;" : "lg" === a.size ? "padding: 14px 15px;" : ""
8380        }() + '">', r.html(), "</div>", '<i class="layui-icon layui-table-tips-c layui-icon-close"></i>'].join(""), r[0], {
8381          tips: [3, ""],
8382          time: -1,
8383          anim: -1,
8384          maxWidth: c.ios || c.android ? 300 : i.elem.width() / 2,
8385          isOutAnim: !1,
8386          skin: "layui-table-tips",
8387          success: function (e, t) {
8388            e.find(".layui-table-tips-c").on("click", function () {
8389              l.close(t)
8390            })
8391          }
8392        }), layui.stope(e)
8393      }), i.layBody.on("click", "*[lay-event]", function () {
8394        var e = t(this),
8395          a = e.parents("tr").eq(0).data("index");
8396        layui.event.call(this, h, "tool(" + f + ")", v.call(this, {
8397          event: e.attr("lay-event")
8398        })), i.setThisRowChecked(a)
8399      }), i.layMain.on("scroll", function () {
8400        var e = t(this),
8401          a = e.scrollLeft(),
8402          n = e.scrollTop();
8403        i.layHeader.scrollLeft(a), i.layTotal.scrollLeft(a), i.layFixed.find(C).scrollTop(n), l.close(i.tipsIndex)
8404      }), F.on("resize", function () {
8405        i.resize()
8406      })
8407    },
8408    function () {
8409      I.on("click", function () {
8410        I.trigger("table.remove.tool.panel")
8411      }), I.on("table.remove.tool.panel", function () {
8412        t(".layui-table-tool-panel").remove()
8413      })
8414    }(), d.init = function (e, i) {
8415      i = i || {};
8416      var a = this,
8417        l = t(e ? 'table[lay-filter="' + e + '"]' : f + "[lay-data]"),
8418        n = "Table element property lay-data configuration item has a syntax error: ";
8419      return l.each(function () {
8420        var a = t(this),
8421          l = a.attr("lay-data");
8422        try {
8423          l = new Function("return " + l)()
8424        } catch (o) {
8425          r.error(n + l, "error")
8426        }
8427        var c = [],
8428          s = t.extend({
8429            elem: this,
8430            cols: [],
8431            data: [],
8432            skin: a.attr("lay-skin"),
8433            size: a.attr("lay-size"),
8434            even: "string" == typeof a.attr("lay-even")
8435          }, d.config, i, l);
8436        e && a.hide(), a.find("thead>tr").each(function (e) {
8437          s.cols[e] = [], t(this).children().each(function (i) {
8438            var a = t(this),
8439              l = a.attr("lay-data");
8440            try {
8441              l = new Function("return " + l)()
8442            } catch (o) {
8443              return r.error(n + l)
8444            }
8445            var d = t.extend({
8446              title: a.text(),
8447              colspan: a.attr("colspan") || 0,
8448              rowspan: a.attr("rowspan") || 0
8449            }, l);
8450            d.colspan < 2 && c.push(d), s.cols[e].push(d)
8451          })
8452        }), a.find("tbody>tr").each(function (e) {
8453          var i = t(this),
8454            a = {};
8455          i.children("td").each(function (e, i) {
8456            var l = t(this),
8457              n = l.data("field");
8458            if (n) return a[n] = l.html()
8459          }), layui.each(c, function (e, t) {
8460            var l = i.children("td").eq(e);
8461            a[t.field] = l.html()
8462          }), s.data[e] = a
8463        }), d.render(s)
8464      }), a
8465    }, s.that = {}, s.config = {}, d.eachCols = function (e, i, a) {
8466      var l = s.config[e] || {},
8467        n = [],
8468        o = 0;
8469      a = t.extend(!0, [], a || l.cols), layui.each(a, function (e, t) {
8470        layui.each(t, function (t, i) {
8471          if (i.colGroup) {
8472            var l = 0;
8473            o++, i.CHILD_COLS = [], layui.each(a[e + 1], function (e, t) {
8474              t.PARENT_COL_INDEX || l > 1 && l == i.colspan || (t.PARENT_COL_INDEX = o, i.CHILD_COLS.push(t), l += parseInt(t.colspan > 1 ? t.colspan : 1))
8475            })
8476          }
8477          i.PARENT_COL_INDEX || n.push(i)
8478        })
8479      });
8480      var r = function (e) {
8481        layui.each(e || n, function (e, t) {
8482          return t.CHILD_COLS ? r(t.CHILD_COLS) : void("function" == typeof i && i(e, t))
8483        })
8484      };
8485      r()
8486    }, d.checkStatus = function (e) {
8487      var t = 0,
8488        i = 0,
8489        a = [],
8490        l = d.cache[e] || [];
8491      return layui.each(l, function (e, l) {
8492        return "array" === layui._typeof(l) ? void i++ : void(l[d.config.checkName] && (t++, a.push(d.clearCacheKey(l))))
8493      }), {
8494        data: a,
8495        isAll: !!l.length && t === l.length - i
8496      }
8497    }, d.getData = function (e) {
8498      var t = [],
8499        i = d.cache[e] || [];
8500      return layui.each(i, function (e, i) {
8501        "array" !== layui._typeof(i) && t.push(d.clearCacheKey(i))
8502      }), t
8503    }, d.exportFile = function (e, t, i) {
8504      var a = this;
8505      t = t || d.clearCacheKey(d.cache[e]), i = i || "csv";
8506      var l = s.that[e],
8507        n = s.config[e] || {},
8508        o = {
8509          csv: "text/csv",
8510          xls: "application/vnd.ms-excel"
8511        } [i],
8512        u = document.createElement("a");
8513      return c.ie ? r.error("IE_NOT_SUPPORT_EXPORTS") : (u.href = "data:" + o + ";charset=utf-8,\ufeff" + encodeURIComponent(function () {
8514        var i = [],
8515          n = [],
8516          o = [];
8517        return layui.each(t, function (t, a) {
8518          var o = [];
8519          "object" == typeof e ? (layui.each(e, function (e, a) {
8520            0 == t && i.push(a || "")
8521          }), layui.each(d.clearCacheKey(a), function (e, t) {
8522            o.push('"' + (t || "") + '"')
8523          })) : d.eachCols(e, function (e, n) {
8524            if (n.field && "normal" == n.type && !n.hide) {
8525              var r = a[n.field];
8526              void 0 !== r && null !== r || (r = ""), 0 == t && i.push(n.title || ""), o.push('"' + y.call(l, n, r, a, "text") + '"')
8527            }
8528          }), n.push(o.join(","))
8529        }), layui.each(a.dataTotal, function (e, t) {
8530          o.push(t)
8531        }), i.join(",") + "\r\n" + n.join("\r\n") + "\r\n" + o.join(",")
8532      }()), u.download = (n.title || "table_" + (n.index || "")) + "." + i, document.body.appendChild(u), u.click(), void document.body.removeChild(u))
8533    }, d.resize = function (e) {
8534      if (e) {
8535        var t = u(e);
8536        if (!t) return;
8537        s.that[e].resize()
8538      } else layui.each(s.that, function () {
8539        this.resize()
8540      })
8541    }, d.reload = function (e, t, i) {
8542      var a = u(e);
8543      if (a) {
8544        var l = s.that[e];
8545        return l.reload(t, i), s.call(l)
8546      }
8547    }, d.render = function (e) {
8548      var t = new H(e);
8549      return s.call(t)
8550    }, d.clearCacheKey = function (e) {
8551      return e = t.extend({}, e), delete e[d.config.checkName], delete e[d.config.indexName], e
8552    }, t(function () {
8553      d.init()
8554    }), e(h, d)
8555});
8556layui.define("jquery", function (e) {
8557  "use strict";
8558  var i = layui.$,
8559    n = (layui.hint(), layui.device(), {
8560      config: {},
8561      set: function (e) {
8562        var n = this;
8563        return n.config = i.extend({}, n.config, e), n
8564      },
8565      on: function (e, i) {
8566        return layui.onevent.call(this, t, e, i)
8567      }
8568    }),
8569    t = "carousel",
8570    a = "layui-this",
8571    l = ">*[carousel-item]>*",
8572    o = "layui-carousel-left",
8573    r = "layui-carousel-right",
8574    d = "layui-carousel-prev",
8575    s = "layui-carousel-next",
8576    u = "layui-carousel-arrow",
8577    c = "layui-carousel-ind",
8578    m = function (e) {
8579      var t = this;
8580      t.config = i.extend({}, t.config, n.config, e), t.render()
8581    };
8582  m.prototype.config = {
8583    width: "600px",
8584    height: "280px",
8585    full: !1,
8586    arrow: "hover",
8587    indicator: "inside",
8588    autoplay: !0,
8589    interval: 3e3,
8590    anim: "",
8591    trigger: "click",
8592    index: 0
8593  }, m.prototype.render = function () {
8594    var e = this,
8595      n = e.config;
8596    n.elem = i(n.elem), n.elem[0] && (e.elemItem = n.elem.find(l), n.index < 0 && (n.index = 0), n.index >= e.elemItem.length && (n.index = e.elemItem.length - 1), n.interval < 800 && (n.interval = 800), n.full ? n.elem.css({
8597      position: "fixed",
8598      width: "100%",
8599      height: "100%",
8600      zIndex: 9999
8601    }) : n.elem.css({
8602      width: n.width,
8603      height: n.height
8604    }), n.elem.attr("lay-anim", n.anim), e.elemItem.eq(n.index).addClass(a), e.elemItem.length <= 1 || (e.indicator(), e.arrow(), e.autoplay(), e.events()))
8605  }, m.prototype.reload = function (e) {
8606    var n = this;
8607    clearInterval(n.timer), n.config = i.extend({}, n.config, e), n.render()
8608  }, m.prototype.prevIndex = function () {
8609    var e = this,
8610      i = e.config,
8611      n = i.index - 1;
8612    return n < 0 && (n = e.elemItem.length - 1), n
8613  }, m.prototype.nextIndex = function () {
8614    var e = this,
8615      i = e.config,
8616      n = i.index + 1;
8617    return n >= e.elemItem.length && (n = 0), n
8618  }, m.prototype.addIndex = function (e) {
8619    var i = this,
8620      n = i.config;
8621    e = e || 1, n.index = n.index + e, n.index >= i.elemItem.length && (n.index = 0)
8622  }, m.prototype.subIndex = function (e) {
8623    var i = this,
8624      n = i.config;
8625    e = e || 1, n.index = n.index - e, n.index < 0 && (n.index = i.elemItem.length - 1)
8626  }, m.prototype.autoplay = function () {
8627    var e = this,
8628      i = e.config;
8629    i.autoplay && (clearInterval(e.timer), e.timer = setInterval(function () {
8630      e.slide()
8631    }, i.interval))
8632  }, m.prototype.arrow = function () {
8633    var e = this,
8634      n = e.config,
8635      t = i(['<button class="layui-icon ' + u + '" lay-type="sub">' + ("updown" === n.anim ? "&#xe619;" : "&#xe603;") + "</button>", '<button class="layui-icon ' + u + '" lay-type="add">' + ("updown" === n.anim ? "&#xe61a;" : "&#xe602;") + "</button>"].join(""));
8636    n.elem.attr("lay-arrow", n.arrow), n.elem.find("." + u)[0] && n.elem.find("." + u).remove(), n.elem.append(t), t.on("click", function () {
8637      var n = i(this),
8638        t = n.attr("lay-type");
8639      e.slide(t)
8640    })
8641  }, m.prototype.indicator = function () {
8642    var e = this,
8643      n = e.config,
8644      t = e.elemInd = i(['<div class="' + c + '"><ul>', function () {
8645        var i = [];
8646        return layui.each(e.elemItem, function (e) {
8647          i.push("<li" + (n.index === e ? ' class="layui-this"' : "") + "></li>")
8648        }), i.join("")
8649      }(), "</ul></div>"].join(""));
8650    n.elem.attr("lay-indicator", n.indicator), n.elem.find("." + c)[0] && n.elem.find("." + c).remove(), n.elem.append(t), "updown" === n.anim && t.css("margin-top", -(t.height() / 2)), t.find("li").on("hover" === n.trigger ? "mouseover" : n.trigger, function () {
8651      var t = i(this),
8652        a = t.index();
8653      a > n.index ? e.slide("add", a - n.index) : a < n.index && e.slide("sub", n.index - a)
8654    })
8655  }, m.prototype.slide = function (e, i) {
8656    var n = this,
8657      l = n.elemItem,
8658      u = n.config,
8659      c = u.index,
8660      m = u.elem.attr("lay-filter");
8661    n.haveSlide || ("sub" === e ? (n.subIndex(i), l.eq(u.index).addClass(d), setTimeout(function () {
8662      l.eq(c).addClass(r), l.eq(u.index).addClass(r)
8663    }, 50)) : (n.addIndex(i), l.eq(u.index).addClass(s), setTimeout(function () {
8664      l.eq(c).addClass(o), l.eq(u.index).addClass(o)
8665    }, 50)), setTimeout(function () {
8666      l.removeClass(a + " " + d + " " + s + " " + o + " " + r), l.eq(u.index).addClass(a), n.haveSlide = !1
8667    }, 300), n.elemInd.find("li").eq(u.index).addClass(a).siblings().removeClass(a), n.haveSlide = !0, layui.event.call(this, t, "change(" + m + ")", {
8668      index: u.index,
8669      prevIndex: c,
8670      item: l.eq(u.index)
8671    }))
8672  }, m.prototype.events = function () {
8673    var e = this,
8674      i = e.config;
8675    i.elem.data("haveEvents") || (i.elem.on("mouseenter", function () {
8676      clearInterval(e.timer)
8677    }).on("mouseleave", function () {
8678      e.autoplay()
8679    }), i.elem.data("haveEvents", !0))
8680  }, n.render = function (e) {
8681    var i = new m(e);
8682    return i
8683  }, e(t, n)
8684});
8685layui.define("jquery", function (e) {
8686  "use strict";
8687  var a = layui.jquery,
8688    l = {
8689      config: {},
8690      index: layui.rate ? layui.rate.index + 1e4 : 0,
8691      set: function (e) {
8692        var l = this;
8693        return l.config = a.extend({}, l.config, e), l
8694      },
8695      on: function (e, a) {
8696        return layui.onevent.call(this, n, e, a)
8697      }
8698    },
8699    i = function () {
8700      var e = this,
8701        a = e.config;
8702      return {
8703        setvalue: function (a) {
8704          e.setvalue.call(e, a)
8705        },
8706        config: a
8707      }
8708    },
8709    n = "rate",
8710    t = "layui-rate",
8711    o = "layui-icon-rate",
8712    u = "layui-icon-rate-solid",
8713    s = "layui-icon-rate-half",
8714    r = "layui-icon-rate-solid layui-icon-rate-half",
8715    c = "layui-icon-rate-solid layui-icon-rate",
8716    f = "layui-icon-rate layui-icon-rate-half",
8717    v = function (e) {
8718      var i = this;
8719      i.index = ++l.index, i.config = a.extend({}, i.config, l.config, e), i.render()
8720    };
8721  v.prototype.config = {
8722    length: 5,
8723    text: !1,
8724    readonly: !1,
8725    half: !1,
8726    value: 0,
8727    theme: ""
8728  }, v.prototype.render = function () {
8729    var e = this,
8730      l = e.config,
8731      i = l.theme ? 'style="color: ' + l.theme + ';"' : "";
8732    l.elem = a(l.elem), l.value > l.length && (l.value = l.length), parseInt(l.value) !== l.value && (l.half || (l.value = Math.ceil(l.value) - l.value < .5 ? Math.ceil(l.value) : Math.floor(l.value)));
8733    for (var n = '<ul class="layui-rate" ' + (l.readonly ? "readonly" : "") + ">", s = 1; s <= l.length; s++) {
8734      var r = '<li class="layui-inline"><i class="layui-icon ' + (s > Math.floor(l.value) ? o : u) + '" ' + i + "></i></li>";
8735      l.half && parseInt(l.value) !== l.value && s == Math.ceil(l.value) ? n = n + '<li><i class="layui-icon layui-icon-rate-half" ' + i + "></i></li>" : n += r
8736    }
8737    n += "</ul>" + (l.text ? '<span class="layui-inline">' + l.value + "\u661f" : "") + "</span>";
8738    var c = l.elem,
8739      f = c.next("." + t);
8740    f[0] && f.remove(), e.elemTemp = a(n), l.span = e.elemTemp.next("span"), l.setText && l.setText(l.value), c.html(e.elemTemp), c.addClass("layui-inline"), l.readonly || e.action()
8741  }, v.prototype.setvalue = function (e) {
8742    var a = this,
8743      l = a.config;
8744    l.value = e, a.render()
8745  }, v.prototype.action = function () {
8746    var e = this,
8747      l = e.config,
8748      i = e.elemTemp,
8749      n = i.find("i").width();
8750    i.children("li").each(function (e) {
8751      var t = e + 1,
8752        v = a(this);
8753      v.on("click", function (e) {
8754        if (l.value = t, l.half) {
8755          var o = e.pageX - a(this).offset().left;
8756          o <= n / 2 && (l.value = l.value - .5)
8757        }
8758        l.text && i.next("span").text(l.value + "\u661f"), l.choose && l.choose(l.value), l.setText && l.setText(l.value)
8759      }), v.on("mousemove", function (e) {
8760        if (i.find("i").each(function () {
8761            a(this).addClass(o).removeClass(r)
8762          }), i.find("i:lt(" + t + ")").each(function () {
8763            a(this).addClass(u).removeClass(f)
8764          }), l.half) {
8765          var c = e.pageX - a(this).offset().left;
8766          c <= n / 2 && v.children("i").addClass(s).removeClass(u)
8767        }
8768      }), v.on("mouseleave", function () {
8769        i.find("i").each(function () {
8770          a(this).addClass(o).removeClass(r)
8771        }), i.find("i:lt(" + Math.floor(l.value) + ")").each(function () {
8772          a(this).addClass(u).removeClass(f)
8773        }), l.half && parseInt(l.value) !== l.value && i.children("li:eq(" + Math.floor(l.value) + ")").children("i").addClass(s).removeClass(c)
8774      })
8775    })
8776  }, v.prototype.events = function () {
8777    var e = this;
8778    e.config
8779  }, l.render = function (e) {
8780    var a = new v(e);
8781    return i.call(a)
8782  }, e(n, l)
8783});
8784layui.define("jquery", function (e) {
8785  "use strict";
8786  var l = layui.$,
8787    o = function (e) {},
8788    t = '<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon ">&#xe63e;</i>';
8789  o.prototype.load = function (e) {
8790    var o, i, n, r, a = this,
8791      c = 0;
8792    e = e || {};
8793    var m = l(e.elem);
8794    if (m[0]) {
8795      var f = l(e.scrollElem || document),
8796        u = e.mb || 50,
8797        s = !("isAuto" in e) || e.isAuto,
8798        y = e.end || "\u6ca1\u6709\u66f4\u591a\u4e86",
8799        v = e.scrollElem && e.scrollElem !== document,
8800        d = "<cite>\u52a0\u8f7d\u66f4\u591a</cite>",
8801        h = l('<div class="layui-flow-more"><a href="javascript:;">' + d + "</a></div>");
8802      m.find(".layui-flow-more")[0] || m.append(h);
8803      var p = function (e, t) {
8804          e = l(e), h.before(e), t = 0 == t || null, t ? h.html(y) : h.find("a").html(d), i = t, o = null, n && n()
8805        },
8806        g = function () {
8807          o = !0, h.find("a").html(t), "function" == typeof e.done && e.done(++c, p)
8808        };
8809      if (g(), h.find("a").on("click", function () {
8810          l(this);
8811          i || o || g()
8812        }), e.isLazyimg) var n = a.lazyimg({
8813        elem: e.elem + " img",
8814        scrollElem: e.scrollElem
8815      });
8816      return s ? (f.on("scroll", function () {
8817        var e = l(this),
8818          t = e.scrollTop();
8819        r && clearTimeout(r), !i && m.width() && (r = setTimeout(function () {
8820          var i = v ? e.height() : l(window).height(),
8821            n = v ? e.prop("scrollHeight") : document.documentElement.scrollHeight;
8822          n - t - i <= u && (o || g())
8823        }, 100))
8824      }), a) : a
8825    }
8826  }, o.prototype.lazyimg = function (e) {
8827    var o, t = this,
8828      i = 0;
8829    e = e || {};
8830    var n = l(e.scrollElem || document),
8831      r = e.elem || "img",
8832      a = e.scrollElem && e.scrollElem !== document,
8833      c = function (e, l) {
8834        var o = n.scrollTop(),
8835          r = o + l,
8836          c = a ? function () {
8837            return e.offset().top - n.offset().top + o
8838          }() : e.offset().top;
8839        if (c >= o && c <= r && e.attr("lay-src")) {
8840          var f = e.attr("lay-src");
8841          layui.img(f, function () {
8842            var l = t.lazyimg.elem.eq(i);
8843            e.attr("src", f).removeAttr("lay-src"), l[0] && m(l), i++
8844          }, function () {
8845            t.lazyimg.elem.eq(i);
8846            e.removeAttr("lay-src")
8847          })
8848        }
8849      },
8850      m = function (e, o) {
8851        var m = a ? (o || n).height() : l(window).height(),
8852          f = n.scrollTop(),
8853          u = f + m;
8854        if (t.lazyimg.elem = l(r), e) c(e, m);
8855        else
8856          for (var s = 0; s < t.lazyimg.elem.length; s++) {
8857            var y = t.lazyimg.elem.eq(s),
8858              v = a ? function () {
8859                return y.offset().top - n.offset().top + f
8860              }() : y.offset().top;
8861            if (c(y, m), i = s, v > u) break
8862          }
8863      };
8864    if (m(), !o) {
8865      var f;
8866      n.on("scroll", function () {
8867        var e = l(this);
8868        f && clearTimeout(f), f = setTimeout(function () {
8869          m(null, e)
8870        }, 50)
8871      }), o = !0
8872    }
8873    return m
8874  }, e("flow", new o)
8875});
8876layui.define(["layer", "form"], function (t) {
8877  "use strict";
8878  var e = layui.$,
8879    i = layui.layer,
8880    a = layui.form,
8881    l = (layui.hint(), layui.device()),
8882    n = "layedit",
8883    o = "layui-show",
8884    r = "layui-disabled",
8885    c = function () {
8886      var t = this;
8887      t.index = 0, t.config = {
8888        tool: ["strong", "italic", "underline", "del", "|", "left", "center", "right", "|", "link", "unlink", "face", "image"],
8889        hideTool: [],
8890        height: 280
8891      }
8892    };
8893  c.prototype.set = function (t) {
8894    var i = this;
8895    return e.extend(!0, i.config, t), i
8896  }, c.prototype.on = function (t, e) {
8897    return layui.onevent(n, t, e)
8898  }, c.prototype.build = function (t, i) {
8899    i = i || {};
8900    var a = this,
8901      n = a.config,
8902      r = "layui-layedit",
8903      c = e("string" == typeof t ? "#" + t : t),
8904      u = "LAY_layedit_" + ++a.index,
8905      d = c.next("." + r),
8906      y = e.extend({}, n, i),
8907      f = function () {
8908        var t = [],
8909          e = {};
8910        return layui.each(y.hideTool, function (t, i) {
8911          e[i] = !0
8912        }), layui.each(y.tool, function (i, a) {
8913          C[a] && !e[a] && t.push(C[a])
8914        }), t.join("")
8915      }(),
8916      m = e(['<div class="' + r + '">', '<div class="layui-unselect layui-layedit-tool">' + f + "</div>", '<div class="layui-layedit-iframe">', '<iframe id="' + u + '" name="' + u + '" textarea="' + t + '" frameborder="0"></iframe>', "</div>", "</div>"].join(""));
8917    return l.ie && l.ie < 8 ? c.removeClass("layui-hide").addClass(o) : (d[0] && d.remove(), s.call(a, m, c[0], y), c.addClass("layui-hide").after(m), a.index)
8918  }, c.prototype.getContent = function (t) {
8919    var e = u(t);
8920    if (e[0]) return d(e[0].document.body.innerHTML)
8921  }, c.prototype.getText = function (t) {
8922    var i = u(t);
8923    if (i[0]) return e(i[0].document.body).text()
8924  }, c.prototype.setContent = function (t, i, a) {
8925    var l = u(t);
8926    l[0] && (a ? e(l[0].document.body).append(i) : e(l[0].document.body).html(i), layedit.sync(t))
8927  }, c.prototype.sync = function (t) {
8928    var i = u(t);
8929    if (i[0]) {
8930      var a = e("#" + i[1].attr("textarea"));
8931      a.val(d(i[0].document.body.innerHTML))
8932    }
8933  }, c.prototype.getSelection = function (t) {
8934    var e = u(t);
8935    if (e[0]) {
8936      var i = m(e[0].document);
8937      return document.selection ? i.text : i.toString()
8938    }
8939  };
8940  var s = function (t, i, a) {
8941      var l = this,
8942        n = t.find("iframe");
8943      n.css({
8944        height: a.height
8945      }).on("load", function () {
8946        var o = n.contents(),
8947          r = n.prop("contentWindow"),
8948          c = o.find("head"),
8949          s = e(["<style>", "*{margin: 0; padding: 0;}", "body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}", "a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}", "p{margin-bottom: 10px;}", "img{display: inline-block; border: none; vertical-align: middle;}", "pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}", "</style>"].join("")),
8950          u = o.find("body");
8951        c.append(s), u.attr("contenteditable", "true").css({
8952          "min-height": a.height
8953        }).html(i.value || ""), y.apply(l, [r, n, i, a]), g.call(l, r, t, a)
8954      })
8955    },
8956    u = function (t) {
8957      var i = e("#LAY_layedit_" + t),
8958        a = i.prop("contentWindow");
8959      return [a, i]
8960    },
8961    d = function (t) {
8962      return 8 == l.ie && (t = t.replace(/<.+>/g, function (t) {
8963        return t.toLowerCase()
8964      })), t
8965    },
8966    y = function (t, a, n, o) {
8967      var r = t.document,
8968        c = e(r.body);
8969      c.on("keydown", function (t) {
8970        var e = t.keyCode;
8971        if (13 === e) {
8972          var a = m(r),
8973            l = p(a),
8974            n = l.parentNode;
8975          if ("pre" === n.tagName.toLowerCase()) {
8976            if (t.shiftKey) return;
8977            return i.msg("\u8bf7\u6682\u65f6\u7528shift+enter"), !1
8978          }
8979          r.execCommand("formatBlock", !1, "<p>")
8980        }
8981      }), e(n).parents("form").on("submit", function () {
8982        var t = c.html();
8983        8 == l.ie && (t = t.replace(/<.+>/g, function (t) {
8984          return t.toLowerCase()
8985        })), n.value = t
8986      }), c.on("paste", function (e) {
8987        r.execCommand("formatBlock", !1, "<p>"), setTimeout(function () {
8988          f.call(t, c), n.value = c.html()
8989        }, 100)
8990      })
8991    },
8992    f = function (t) {
8993      var i = this;
8994      i.document;
8995      t.find("*[style]").each(function () {
8996        var t = this.style.textAlign;
8997        this.removeAttribute("style"), e(this).css({
8998          "text-align": t || ""
8999        })
9000      }), t.find("table").addClass("layui-table"), t.find("script,link").remove()
9001    },
9002    m = function (t) {
9003      return t.selection ? t.selection.createRange() : t.getSelection().getRangeAt(0)
9004    },
9005    p = function (t) {
9006      return t.endContainer || t.parentElement().childNodes[0]
9007    },
9008    v = function (t, i, a) {
9009      var l = this.document,
9010        n = document.createElement(t);
9011      for (var o in i) n.setAttribute(o, i[o]);
9012      if (n.removeAttribute("text"), l.selection) {
9013        var r = a.text || i.text;
9014        if ("a" === t && !r) return;
9015        r && (n.innerHTML = r), a.pasteHTML(e(n).prop("outerHTML")), a.select()
9016      } else {
9017        var r = a.toString() || i.text;
9018        if ("a" === t && !r) return;
9019        r && (n.innerHTML = r), a.deleteContents(), a.insertNode(n)
9020      }
9021    },
9022    h = function (t, i) {
9023      var a = this.document,
9024        l = "layedit-tool-active",
9025        n = p(m(a)),
9026        o = function (e) {
9027          return t.find(".layedit-tool-" + e)
9028        };
9029      i && i[i.hasClass(l) ? "removeClass" : "addClass"](l), t.find(">i").removeClass(l), o("unlink").addClass(r), e(n).parents().each(function () {
9030        var t = this.tagName.toLowerCase(),
9031          e = this.style.textAlign;
9032        "b" !== t && "strong" !== t || o("b").addClass(l), "i" !== t && "em" !== t || o("i").addClass(l), "u" === t && o("u").addClass(l), "strike" === t && o("d").addClass(l), "p" === t && ("center" === e ? o("center").addClass(l) : "right" === e ? o("right").addClass(l) : o("left").addClass(l)), "a" === t && (o("link").addClass(l), o("unlink").removeClass(r))
9033      })
9034    },
9035    g = function (t, a, l) {
9036      var n = t.document,
9037        o = e(n.body),
9038        c = {
9039          link: function (i) {
9040            var a = p(i),
9041              l = e(a).parent();
9042            b.call(o, {
9043              href: l.attr("href"),
9044              target: l.attr("target")
9045            }, function (e) {
9046              var a = l[0];
9047              "A" === a.tagName ? a.href = e.url : v.call(t, "a", {
9048                target: e.target,
9049                href: e.url,
9050                text: e.url
9051              }, i)
9052            })
9053          },
9054          unlink: function (t) {
9055            n.execCommand("unlink")
9056          },
9057          face: function (e) {
9058            x.call(this, function (i) {
9059              v.call(t, "img", {
9060                src: i.src,
9061                alt: i.alt
9062              }, e)
9063            })
9064          },
9065          image: function (a) {
9066            var n = this;
9067            layui.use("upload", function (o) {
9068              var r = l.uploadImage || {};
9069              o.render({
9070                url: r.url,
9071                method: r.type,
9072                elem: e(n).find("input")[0],
9073                done: function (e) {
9074                  0 == e.code ? (e.data = e.data || {}, v.call(t, "img", {
9075                    src: e.data.src,
9076                    alt: e.data.title
9077                  }, a)) : i.msg(e.msg || "\u4e0a\u4f20\u5931\u8d25")
9078                }
9079              })
9080            })
9081          },
9082          code: function (e) {
9083            k.call(o, function (i) {
9084              v.call(t, "pre", {
9085                text: i.code,
9086                "lay-lang": i.lang
9087              }, e)
9088            })
9089          },
9090          help: function () {
9091            i.open({
9092              type: 2,
9093              title: "\u5e2e\u52a9",
9094              area: ["600px", "380px"],
9095              shadeClose: !0,
9096              shade: .1,
9097              skin: "layui-layer-msg",
9098              content: ["", "no"]
9099            })
9100          }
9101        },
9102        s = a.find(".layui-layedit-tool"),
9103        u = function () {
9104          var i = e(this),
9105            a = i.attr("layedit-event"),
9106            l = i.attr("lay-command");
9107          if (!i.hasClass(r)) {
9108            o.focus();
9109            var u = m(n);
9110            u.commonAncestorContainer;
9111            l ? (n.execCommand(l), /justifyLeft|justifyCenter|justifyRight/.test(l) && n.execCommand("formatBlock", !1, "<p>"), setTimeout(function () {
9112              o.focus()
9113            }, 10)) : c[a] && c[a].call(this, u), h.call(t, s, i)
9114          }
9115        },
9116        d = /image/;
9117      s.find(">i").on("mousedown", function () {
9118        var t = e(this),
9119          i = t.attr("layedit-event");
9120        d.test(i) || u.call(this)
9121      }).on("click", function () {
9122        var t = e(this),
9123          i = t.attr("layedit-event");
9124        d.test(i) && u.call(this)
9125      }), o.on("click", function () {
9126        h.call(t, s), i.close(x.index)
9127      })
9128    },
9129    b = function (t, e) {
9130      var l = this,
9131        n = i.open({
9132          type: 1,
9133          id: "LAY_layedit_link",
9134          area: "350px",
9135          shade: .05,
9136          shadeClose: !0,
9137          moveType: 1,
9138          title: "\u8d85\u94fe\u63a5",
9139          skin: "layui-layer-msg",
9140          content: ['<ul class="layui-form" style="margin: 15px;">', '<li class="layui-form-item">', '<label class="layui-form-label" style="width: 60px;">URL</label>', '<div class="layui-input-block" style="margin-left: 90px">', '<input name="url" lay-verify="url" value="' + (t.href || "") + '" autofocus="true" autocomplete="off" class="layui-input">', "</div>", "</li>", '<li class="layui-form-item">', '<label class="layui-form-label" style="width: 60px;">\u6253\u5f00\u65b9\u5f0f</label>', '<div class="layui-input-block" style="margin-left: 90px">', '<input type="radio" name="target" value="_self" class="layui-input" title="\u5f53\u524d\u7a97\u53e3"' + ("_self" !== t.target && t.target ? "" : "checked") + ">", '<input type="radio" name="target" value="_blank" class="layui-input" title="\u65b0\u7a97\u53e3" ' + ("_blank" === t.target ? "checked" : "") + ">", "</div>", "</li>", '<li class="layui-form-item" style="text-align: center;">', '<button type="button" lay-submit lay-filter="layedit-link-yes" class="layui-btn"> \u786e\u5b9a </button>', '<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> \u53d6\u6d88 </button>', "</li>", "</ul>"].join(""),
9141          success: function (t, n) {
9142            var o = "submit(layedit-link-yes)";
9143            a.render("radio"), t.find(".layui-btn-primary").on("click", function () {
9144              i.close(n), l.focus()
9145            }), a.on(o, function (t) {
9146              i.close(b.index), e && e(t.field)
9147            })
9148          }
9149        });
9150      b.index = n
9151    },
9152    x = function (t) {
9153      var a = function () {
9154        var t = ["[\u5fae\u7b11]", "[\u563b\u563b]", "[\u54c8\u54c8]", "[\u53ef\u7231]", "[\u53ef\u601c]", "[\u6316\u9f3b]", "[\u5403\u60ca]", "[\u5bb3\u7f9e]", "[\u6324\u773c]", "[\u95ed\u5634]", "[\u9119\u89c6]", "[\u7231\u4f60]", "[\u6cea]", "[\u5077\u7b11]", "[\u4eb2\u4eb2]", "[\u751f\u75c5]", "[\u592a\u5f00\u5fc3]", "[\u767d\u773c]", "[\u53f3\u54fc\u54fc]", "[\u5de6\u54fc\u54fc]", "[\u5618]", "[\u8870]", "[\u59d4\u5c48]", "[\u5410]", "[\u54c8\u6b20]", "[\u62b1\u62b1]", "[\u6012]", "[\u7591\u95ee]", "[\u998b\u5634]", "[\u62dc\u62dc]", "[\u601d\u8003]", "[\u6c57]", "[\u56f0]", "[\u7761]", "[\u94b1]", "[\u5931\u671b]", "[\u9177]", "[\u8272]", "[\u54fc]", "[\u9f13\u638c]", "[\u6655]", "[\u60b2\u4f24]", "[\u6293\u72c2]", "[\u9ed1\u7ebf]", "[\u9634\u9669]", "[\u6012\u9a82]", "[\u4e92\u7c89]", "[\u5fc3]", "[\u4f24\u5fc3]", "[\u732a\u5934]", "[\u718a\u732b]", "[\u5154\u5b50]", "[ok]", "[\u8036]", "[good]", "[NO]", "[\u8d5e]", "[\u6765]", "[\u5f31]", "[\u8349\u6ce5\u9a6c]", "[\u795e\u9a6c]", "[\u56e7]", "[\u6d6e\u4e91]", "[\u7ed9\u529b]", "[\u56f4\u89c2]", "[\u5a01\u6b66]", "[\u5965\u7279\u66fc]", "[\u793c\u7269]", "[\u949f]", "[\u8bdd\u7b52]", "[\u8721\u70db]", "[\u86cb\u7cd5]"],
9155          e = {};
9156        return layui.each(t, function (t, i) {
9157          e[i] = layui.cache.dir + "images/face/" + t + ".gif"
9158        }), e
9159      }();
9160      return x.hide = x.hide || function (t) {
9161        "face" !== e(t.target).attr("layedit-event") && i.close(x.index)
9162      }, x.index = i.tips(function () {
9163        var t = [];
9164        return layui.each(a, function (e, i) {
9165          t.push('<li title="' + e + '"><img src="' + i + '" alt="' + e + '"></li>')
9166        }), '<ul class="layui-clear">' + t.join("") + "</ul>"
9167      }(), this, {
9168        tips: 1,
9169        time: 0,
9170        skin: "layui-box layui-util-face",
9171        maxWidth: 500,
9172        success: function (l, n) {
9173          l.css({
9174            marginTop: -4,
9175            marginLeft: -10
9176          }).find(".layui-clear>li").on("click", function () {
9177            t && t({
9178              src: a[this.title],
9179              alt: this.title
9180            }), i.close(n)
9181          }), e(document).off("click", x.hide).on("click", x.hide)
9182        }
9183      })
9184    },
9185    k = function (t) {
9186      var e = this,
9187        l = i.open({
9188          type: 1,
9189          id: "LAY_layedit_code",
9190          area: "550px",
9191          shade: .05,
9192          shadeClose: !0,
9193          moveType: 1,
9194          title: "\u63d2\u5165\u4ee3\u7801",
9195          skin: "layui-layer-msg",
9196          content: ['<ul class="layui-form layui-form-pane" style="margin: 15px;">', '<li class="layui-form-item">', '<label class="layui-form-label">\u8bf7\u9009\u62e9\u8bed\u8a00</label>', '<div class="layui-input-block">', '<select name="lang">', '<option value="JavaScript">JavaScript</option>', '<option value="HTML">HTML</option>', '<option value="CSS">CSS</option>', '<option value="Java">Java</option>', '<option value="PHP">PHP</option>', '<option value="C#">C#</option>', '<option value="Python">Python</option>', '<option value="Ruby">Ruby</option>', '<option value="Go">Go</option>', "</select>", "</div>", "</li>", '<li class="layui-form-item layui-form-text">', '<label class="layui-form-label">\u4ee3\u7801</label>', '<div class="layui-input-block">', '<textarea name="code" lay-verify="required" autofocus="true" class="layui-textarea" style="height: 200px;"></textarea>', "</div>", "</li>", '<li class="layui-form-item" style="text-align: center;">', '<button type="button" lay-submit lay-filter="layedit-code-yes" class="layui-btn"> \u786e\u5b9a </button>', '<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> \u53d6\u6d88 </button>', "</li>", "</ul>"].join(""),
9197          success: function (l, n) {
9198            var o = "submit(layedit-code-yes)";
9199            a.render("select"), l.find(".layui-btn-primary").on("click", function () {
9200              i.close(n), e.focus()
9201            }), a.on(o, function (e) {
9202              i.close(k.index), t && t(e.field)
9203            })
9204          }
9205        });
9206      k.index = l
9207    },
9208    C = {
9209      html: '<i class="layui-icon layedit-tool-html" title="HTML\u6e90\u4ee3\u7801" lay-command="html" layedit-event="html"">&#xe64b;</i><span class="layedit-tool-mid"></span>',
9210      strong: '<i class="layui-icon layedit-tool-b" title="\u52a0\u7c97" lay-command="Bold" layedit-event="b"">&#xe62b;</i>',
9211      italic: '<i class="layui-icon layedit-tool-i" title="\u659c\u4f53" lay-command="italic" layedit-event="i"">&#xe644;</i>',
9212      underline: '<i class="layui-icon layedit-tool-u" title="\u4e0b\u5212\u7ebf" lay-command="underline" layedit-event="u"">&#xe646;</i>',
9213      del: '<i class="layui-icon layedit-tool-d" title="\u5220\u9664\u7ebf" lay-command="strikeThrough" layedit-event="d"">&#xe64f;</i>',
9214      "|": '<span class="layedit-tool-mid"></span>',
9215      left: '<i class="layui-icon layedit-tool-left" title="\u5de6\u5bf9\u9f50" lay-command="justifyLeft" layedit-event="left"">&#xe649;</i>',
9216      center: '<i class="layui-icon layedit-tool-center" title="\u5c45\u4e2d\u5bf9\u9f50" lay-command="justifyCenter" layedit-event="center"">&#xe647;</i>',
9217      right: '<i class="layui-icon layedit-tool-right" title="\u53f3\u5bf9\u9f50" lay-command="justifyRight" layedit-event="right"">&#xe648;</i>',
9218      link: '<i class="layui-icon layedit-tool-link" title="\u63d2\u5165\u94fe\u63a5" layedit-event="link"">&#xe64c;</i>',
9219      unlink: '<i class="layui-icon layedit-tool-unlink layui-disabled" title="\u6e05\u9664\u94fe\u63a5" lay-command="unlink" layedit-event="unlink"">&#xe64d;</i>',
9220      face: '<i class="layui-icon layedit-tool-face" title="\u8868\u60c5" layedit-event="face"">&#xe650;</i>',
9221      image: '<i class="layui-icon layedit-tool-image" title="\u56fe\u7247" layedit-event="image">&#xe64a;<input type="file" name="file"></i>',
9222      code: '<i class="layui-icon layedit-tool-code" title="\u63d2\u5165\u4ee3\u7801" layedit-event="code">&#xe64e;</i>',
9223      help: '<i class="layui-icon layedit-tool-help" title="\u5e2e\u52a9" layedit-event="help">&#xe607;</i>'
9224    },
9225    L = new c;
9226  t(n, L)
9227});
9228layui.define("jquery", function (a) {
9229  "use strict";
9230  var e = layui.$;
9231  a("code", function (a) {
9232    var l = [];
9233    a = a || {}, a.elem = e(a.elem || ".layui-code"), a.lang = "lang" in a ? a.lang : "code", a.elem.each(function () {
9234      l.push(this)
9235    }), layui.each(l.reverse(), function (l, i) {
9236      var t = e(i),
9237        c = t.html();
9238      (t.attr("lay-encode") || a.encode) && (c = c.replace(/&(?!#?[a-zA-Z0-9]+;)/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/'/g, "&#39;").replace(/"/g, "&quot;
9238")), t.html('<ol class="layui-code-ol"><li>' + c.replace(/[\r\t\n]+/g, "</li><li>") + "</li></ol>"), t.find(">.layui-code-h3")[0] || t.prepend('<h3 class="layui-code-h3">' + (t.attr("lay-title") || a.title || "&lt;/&gt;") + '<a href="javascript:;">' + (t.attr("lay-lang") || a.lang || "") + "</a></h3>");
9239      var n = t.find(">.layui-code-ol");
9240      t.addClass("layui-box layui-code-view"), (t.attr("lay-skin") || a.skin) && t.addClass("layui-code-" + (t.attr("lay-skin") || a.skin)), (n.find("li").length / 100 | 0) > 0 && n.css("margin-left", (n.find("li").length / 100 | 0) + "px"), (t.attr("lay-height") || a.height) && n.css("max-height", t.attr("lay-height") || a.height)
9241    })
9242  })
9243}).addcss("modules/code.css?v=2", "skincodecss");

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.