Topic: Laravel 5.4 and DatePicker
ozcanarslan pro asked 8 years ago
TypeError: $(...).pickadate is not a functionbut it is working when i directly add pickadate library from Amsul's web site.
Kamil Paciepnik answered 8 years ago
ozcanarslan pro answered 8 years ago
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
<div class="md-form">
<input placeholder="Selected date" type="text" id="date-picker-example" class="form-control mtarih">
<label for="date-picker-example">Try me...</label>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
and app.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Styles -->
<!-- Material Design Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="{{ asset('/js/jquery-ui.css') }}" rel="stylesheet">
<link href="{{ asset('/css/select2.css') }}" rel="stylesheet">
<link href="{{ asset('/css/bootstrap.css') }}" rel="stylesheet">
<link href="{{ asset('/css/mdb.css') }}" rel="stylesheet">
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">
<link href="{{ asset('/DataTables/datatables.css') }}" rel="stylesheet">
<link href="{{ asset('/css/style.css') }}" rel="stylesheet">
{{--<script src="{{ asset('/js/jquery-2.2.3.js') }}"></script>--}}
{{--<script src="{{ asset('/js/jquery-migrate-1.4.1.js') }}"></script>--}}
<script src="{{ asset('/js/jquery-3.1.1.js') }}"></script>
<script src="{{ asset('/js/jquery-migrate-3.0.0.js') }}"></script>
<script src="{{ asset('/js/tether.js') }}"></script>
<!-- Scripts -->
<script>
window.Laravel = {!! json_encode([ 'csrfToken' => csrf_token(), ]) !!};
</script>
<script src="{{ asset('/js/plugins.js') }}"></script>
{{--<script src="{{ asset('/js/datefuncs.js') }}"></script>--}}
</head>
<body class="mdb-skin">
{{--<div id="app">--}}
@include('partials.menu')
<!-- Main -->
<main class="mt-4">
@yield('content')
</main>
{{--</div>--}}
<!-- Scripts -->
<script src="{{ asset('/js/bootstrap.js') }}"></script>
<script src="{{ asset('/js/mdb.js') }}"></script>
<script src="{{ asset('/js/app.js') }}"></script>
<script src="{{ asset('/DataTables/datatables.js') }}"></script>
<script src="{{ asset('js/jquery-ui.js') }}"></script>
<script src="{{ asset('js/jquery.ui.datepicker-tr.js') }}"></script>
<script src="{{ asset('js/jquery-ui.multidatespicker.js') }}"></script>
{{--<script src="{{ asset('js/pickadate/picker.js') }}"></script>--}}
{{--<script src="{{ asset('js/pickadate/picker.date.js') }}"></script>--}}
{{--<script src="{{ asset('js/pickadate/tr_TR.js') }}"></script>--}}
<script>
$(function () {
<strong> // mdb date picker initialisation
$(".mtarih").pickadate({
monthsFull: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'],
monthsShort: ['Ock', 'Şub', 'Mart', 'Nis', 'May', 'Haz', 'Tem', 'Ağs', 'Eyl', 'Ekm', 'Kas', 'Arl'],
weekdaysFull: ['Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'cuma', 'Cumartesi', 'Pazar'],
weekdaysShort: ['Pzt', 'Sa', 'Çar', 'Prş', 'Cu', 'Cmt', 'Paz'],
today: 'Bugün',
clear: 'Temizle',
close: 'Kapat',
formatSubmit: 'dd.mm.yyyy',
format: 'dd.mm.yyyy',
selectYears: true,
selectMonths: true,
firstDay: 1
});</strong>
$('.bakanlikmodal').on('shown.bs.modal', function () {
var id = $(this).attr("id");
var askno = $("#frmkimlikno" + id.replace("myRaporModal", "")).attr("title");
var url = "http://localhost/aibsbasp.net/aibsbasp.net/default?planno=" + askno;
// console.log("iframe url : " + url);
$(this).find('iframe').attr('src', url);
});
$('.detaymodal').on('shown.bs.modal', function () {
var id = $(this).attr("id");
var askno = $("#frmplandetay" + id.replace("myDetayModal", "")).attr("title");
var url = "{{ url('/') }}detay.php?id=" + askno;
console.log("iframe url : " + url);
$(this).find('iframe').attr('src', url);
});
$('.myModaleaNaceKat').on('shown.bs.modal', function (e) {
// do something...
if ($("#tbleanace").length > 0) {
var tableeanace = $('#tbleanace').DataTable()
var tablekategori = $('#tblkategori').DataTable()
tableeanace.columns.adjust();
tablekategori.columns.adjust();
}
});
$('.myMenueaNaceKat').on('shown.bs.modal', function (e) {
// do something...
if ($("#tbleanacemenu").length > 0) {
var tableeanacemenu = $('#tbleanacemenu').DataTable()
var tablekategorimenu = $('#tblkategorimenu').DataTable()
tableeanacemenu.columns.adjust();
tablekategorimenu.columns.adjust();
}
});
})
</script>
</body>
</html>
Kamil Paciepnik answered 8 years ago
ozcanarslan pro answered 8 years ago
!function (t) {
function e(r) {
if (n[r])return n[r].exports;
var i = n[r] = {i: r, l: !1, exports: {}};
return t[r].call(i.exports, i, i.exports, e), i.l = !0, i.exports
}
var n = {};
return e.m = t, e.c = n, e.i = function (t) {
return t
}, e.d = function (t, n, r) {
e.o(t, n) || Object.defineProperty(t, n, {configurable: !1, enumerable: !0, get: r})
}, e.n = function (t) {
var n = t && t.__esModule ? function () {
return t.default
} : function () {
return t
};
return e.d(n, "a", n), n
}, e.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e)
}, e.p = "./", e(e.s = 38)
}([function (t, e, n) {
"use strict";
function r(t) {
return "[object Array]" === C.call(t)
}
function i(t) {
return "[object ArrayBuffer]" === C.call(t)
}
function o(t) {
return "undefined" != typeof FormData && t instanceof FormData
}
function a(t) {
var e;
return e = "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(t) : t && t.buffer && t.buffer instanceof ArrayBuffer
}
function s(t) {
return "string" == typeof t
}
function u(t) {
return "number" == typeof t
}
function c(t) {
return "undefined" == typeof t
}
function l(t) {
return null !== t && "object" == typeof t
}
function f(t) {
return "[object Date]" === C.call(t)
}
function p(t) {
return "[object File]" === C.call(t)
}
function d(t) {
return "[object Blob]" === C.call(t)
}
function h(t) {
return "[object Function]" === C.call(t)
}
function v(t) {
return l(t) && h(t.pipe)
}
function g(t) {
return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams
}
function m(t) {
return t.replace(/^s*/, "").replace(/s*$/, "")
}
function y() {
return "undefined" != typeof window && "undefined" != typeof document && "function" == typeof document.createElement
}
function b(t, e) {
if (null !== t && "undefined" != typeof t)if ("object" == typeof t || r(t) || (t = [t]), r(t))for (var n = 0, i = t.length; n < i; n++)e.call(null, t[n], n, t); else for (var o in t)Object.prototype.hasOwnProperty.call(t, o) && e.call(null, t[o], o, t)
}
function _() {
function t(t, n) {
"object" == typeof e[n] && "object" == typeof t ? e[n] = _(e[n], t) : e[n] = t
}
for (var e = {}, n = 0, r = arguments.length; n < r; n++)b(arguments[n], t);
return e
}
function w(t, e, n) {
return b(e, function (e, r) {
n && "function" == typeof e ? t[r] = x(e, n) : t[r] = e
}), t
}
var x = n(6), C = Object.prototype.toString;
t.exports = {
isArray: r,
isArrayBuffer: i,
isFormData: o,
isArrayBufferView: a,
isString: s,
isNumber: u,
isObject: l,
isUndefined: c,
isDate: f,
isFile: p,
isBlob: d,
isFunction: h,
isStream: v,
isURLSearchParams: g,
isStandardBrowserEnv: y,
forEach: b,
merge: _,
extend: w,
trim: m
}
}, function (t, e, n) {
"use strict";
(function (e) {
function r(t, e) {
!o.isUndefined(t) && o.isUndefined(t["Content-Type"]) && (t["Content-Type"] = e)
}
function i() {
var t;
return "undefined" != typeof XMLHttpRequest ? t = n(2) : "undefined" != typeof e && (t = n(2)), t
}
var o = n(0), a = n(26), s = /^)]}',?n/, u = {"Content-Type": "application/x-www-form-urlencoded"}, c = {
adapter: i(), transformRequest: [function (t, e) {
return a(e, "Content-Type"), o.isFormData(t) || o.isArrayBuffer(t) || o.isStream(t) || o.isFile(t) || o.isBlob(t) ? t : o.isArrayBufferView(t) ? t.buffer : o.isURLSearchParams(t) ? (r(e, "application/x-www-form-urlencoded;charset=utf-8"), t.toString()) : o.isObject(t) ? (r(e, "application/json;charset=utf-8"), JSON.stringify(t)) : t
}], transformResponse: [function (t) {
if ("string" == typeof t) {
t = t.replace(s, "");
try {
t = JSON.parse(t)
} catch (t) {
}
}
return t
}], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, validateStatus: function (t) {
return t >= 200 && t < 300
}
};
c.headers = {common: {Accept: "application/json, text/plain, */*"}}, o.forEach(["delete", "get", "head"], function (t) {
c.headers[t] = {}
}), o.forEach(["post", "put", "patch"], function (t) {
c.headers[t] = o.merge(u)
}), t.exports = c
}).call(e, n(33))
}, function (t, e, n) {
"use strict";
var r = n(0), i = n(18), o = n(21), a = n(27), s = n(25), u = n(5), c = "undefined" != typeof window && window.btoa && window.btoa.bind(window) || n(20);
t.exports = function (t) {
return new Promise(function (e, l) {
var f = t.data, p = t.headers;
r.isFormData(f) && delete p["Content-Type"];
var d = new XMLHttpRequest, h = "onreadystatechange", v = !1;
if ("undefined" == typeof window || !window.XDomainRequest || "withCredentials" in d || s(t.url) || (d = new window.XDomainRequest, h = "onload", v = !0, d.onprogress = function () {
}, d.ontimeout = function () {
}), t.auth) {
var g = t.auth.username || "", m = t.auth.password || "";
p.Authorization = "Basic " + c(g + ":" + m)
}
if (d.open(t.method.toUpperCase(), o(t.url, t.params, t.paramsSerializer), !0), d.timeout = t.timeout, d[h] = function () {
if (d && (4 === d.readyState || v) && (0 !== d.status || d.responseURL && 0 === d.responseURL.indexOf("file:"))) {
var n = "getAllResponseHeaders" in d ? a(d.getAllResponseHeaders()) : null, r = t.responseType && "text" !== t.responseType ? d.response : d.responseText, o = {
data: r,
status: 1223 === d.status ? 204 : d.status,
statusText: 1223 === d.status ? "No Content" : d.statusText,
headers: n,
config: t,
request: d
};
i(e, l, o), d = null
}
}, d.onerror = function () {
l(u("Network Error", t)), d = null
}, d.ontimeout = function () {
l(u("timeout of " + t.timeout + "ms exceeded", t, "ECONNABORTED")), d = null
}, r.isStandardBrowserEnv()) {
var y = n(23), b = (t.withCredentials || s(t.url)) && t.xsrfCookieName ? y.read(t.xsrfCookieName) : void 0;
b && (p[t.xsrfHeaderName] = b)
}
if ("setRequestHeader" in d && r.forEach(p, function (t, e) {
"undefined" == typeof f && "content-type" === e.toLowerCase() ? delete p[e] : d.setRequestHeader(e, t)
}), t.withCredentials && (d.withCredentials = !0), t.responseType)try {
d.responseType = t.responseType
} catch (t) {
if ("json" !== d.responseType)throw t
}
"function" == typeof t.onDownloadProgress && d.addEventListener("progress", t.onDownloadProgress), "function" == typeof t.onUploadProgress && d.upload && d.upload.addEventListener("progress", t.onUploadProgress), t.cancelToken && t.cancelToken.promise.then(function (t) {
d && (d.abort(), l(t), d = null)
}), void 0 === f && (f = null), d.send(f)
})
}
}, function (t, e, n) {
"use strict";
function r(t) {
this.message = t
}
r.prototype.toString = function () {
return "Cancel" + (this.message ? ": " + this.message : "")
}, r.prototype.__CANCEL__ = !0, t.exports = r
}, function (t, e, n) {
"use strict";
t.exports = function (t) {
return !(!t || !t.__CANCEL__)
}
}, function (t, e, n) {
"use strict";
var r = n(17);
t.exports = function (t, e, n, i) {
var o = new Error(t);
return r(o, e, n, i)
}
}, function (t, e, n) {
"use strict";
t.exports = function (t, e) {
return function () {
for (var n = new Array(arguments.length), r = 0; r < n.length; r++)n[r] = arguments[r];
return t.apply(e, n)
}
}
}, function (t, e, n) {
var r, i;
/*!
* jQuery JavaScript Library v3.1.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2016-09-22T22:30Z
*/
!function (e, n) {
"use strict";
"object" == typeof t && "object" == typeof t.exports ? t.exports = e.document ? n(e, !0) : function (t) {
if (!t.document)throw new Error("jQuery requires a window with a document");
return n(t)
} : n(e)
}("undefined" != typeof window ? window : this, function (n, o) {
"use strict";
function a(t, e) {
e = e || ot;
var n = e.createElement("script");
n.text = t, e.head.appendChild(n).parentNode.removeChild(n)
}
function s(t) {
var e = !!t && "length" in t && t.length, n = yt.type(t);
return "function" !== n && !yt.isWindow(t) && ("array" === n || 0 === e || "number" == typeof e && e > 0 && e - 1 in t)
}
function u(t, e, n) {
return yt.isFunction(e) ? yt.grep(t, function (t, r) {
return !!e.call(t, r, t) !== n
}) : e.nodeType ? yt.grep(t, function (t) {
return t === e !== n
}) : "string" != typeof e ? yt.grep(t, function (t) {
return lt.call(e, t) > -1 !== n
}) : Et.test(e) ? yt.filter(e, t, n) : (e = yt.filter(e, t), yt.grep(t, function (t) {
return lt.call(e, t) > -1 !== n && 1 === t.nodeType
}))
}
function c(t, e) {
for (; (t = t[e]) && 1 !== t.nodeType;);
return t
}
function l(t) {
var e = {};
return yt.each(t.match(It) || [], function (t, n) {
e[n] = !0
}), e
}
function f(t) {
return t
}
function p(t) {
throw t
}
function d(t, e, n) {
var r;
try {
t && yt.isFunction(r = t.promise) ? r.call(t).done(e).fail(n) : t && yt.isFunction(r = t.then) ? r.call(t, e, n) : e.call(void 0, t)
} catch (t) {
n.call(void 0, t)
}
}
function h() {
ot.removeEventListener("DOMContentLoaded", h), n.removeEventListener("load", h), yt.ready()
}
function v() {
this.expando = yt.expando + v.uid++
}
function g(t) {
return "true" === t || "false" !== t && ("null" === t ? null : t === +t + "" ? +t : Ht.test(t) ? JSON.parse(t) : t)
}
function m(t, e, n) {
var r;
if (void 0 === n && 1 === t.nodeType)if (r = "data-" + e.replace(Bt, "-$&").toLowerCase(), n = t.getAttribute(r), "string" == typeof n) {
try {
n = g(n)
} catch (t) {
}
Mt.set(t, e, n)
} else n = void 0;
return n
}
function y(t, e, n, r) {
var i, o = 1, a = 20, s = r ? function () {
return r.cur()
} : function () {
return yt.css(t, e, "")
}, u = s(), c = n && n[3] || (yt.cssNumber[e] ? "" : "px"), l = (yt.cssNumber[e] || "px" !== c && +u) && Wt.exec(yt.css(t, e));
if (l && l[3] !== c) {
c = c || l[3], n = n || [], l = +u || 1;
do o = o || ".5", l /= o, yt.style(t, e, l + c); while (o !== (o = s() / u) && 1 !== o && --a)
}
return n && (l = +l || +u || 0, i = n[1] ? l + (n[1] + 1) * n[2] : +n[2], r && (r.unit = c, r.start = l, r.end = i)), i
}
function b(t) {
var e, n = t.ownerDocument, r = t.nodeName, i = Kt[r];
return i ? i : (e = n.body.appendChild(n.createElement(r)), i = yt.css(e, "display"), e.parentNode.removeChild(e), "none" === i && (i = "block"), Kt[r] = i, i)
}
function _(t, e) {
for (var n, r, i = [], o = 0, a = t.length; o < a; o++)r = t[o], r.style && (n = r.style.display, e ? ("none" === n && (i[o] = qt.get(r, "display") || null, i[o] || (r.style.display = "")), "" === r.style.display && Vt(r) && (i[o] = b(r))) : "none" !== n && (i[o] = "none", qt.set(r, "display", n)));
for (o = 0; o < a; o++)null != i[o] && (t[o].style.display = i[o]);
return t
}
function w(t, e) {
var n;
return n = "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e || "*") : "undefined" != typeof t.querySelectorAll ? t.querySelectorAll(e || "*") : [], void 0 === e || e && yt.nodeName(t, e) ? yt.merge([t], n) : n
}
function x(t, e) {
for (var n = 0, r = t.length; n < r; n++)qt.set(t[n], "globalEval", !e || qt.get(e[n], "globalEval"))
}
function C(t, e, n, r, i) {
for (var o, a, s, u, c, l, f = e.createDocumentFragment(), p = [], d = 0, h = t.length; d < h; d++)if (o = t[d], o || 0 === o)if ("object" === yt.type(o)) yt.merge(p, o.nodeType ? [o] : o); else if (Qt.test(o)) {
for (a = a || f.appendChild(e.createElement("div")), s = (Gt.exec(o) || ["", ""])[1].toLowerCase(), u = Yt[s] || Yt._default, a.innerHTML = u[1] + yt.htmlPrefilter(o) + u[2], l = u[0]; l--;)a = a.lastChild;
yt.merge(p, a.childNodes), a = f.firstChild, a.textContent = ""
} else p.push(e.createTextNode(o));
for (f.textContent = "", d = 0; o = p[d++];)if (r && yt.inArray(o, r) > -1) i && i.push(o); else if (c = yt.contains(o.ownerDocument, o), a = w(f.appendChild(o), "script"), c && x(a), n)for (l = 0; o = a[l++];)Zt.test(o.type || "") && n.push(o);
return f
}
function T() {
return !0
}
function $() {
return !1
}
function k() {
try {
return ot.activeElement
} catch (t) {
}
}
function A(t, e, n, r, i, o) {
var a, s;
if ("object" == typeof e) {
"string" != typeof n && (r = r || n, n = void 0);
for (s in e)A(t, s, n, r, e[s], o);
return t
}
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 = $; else if (!i)return t;
return 1 === o && (a = i, i = function (t) {
return yt().off(t), a.apply(this, arguments)
}, i.guid = a.guid || (a.guid = yt.guid++)), t.each(function () {
yt.event.add(this, e, i, r, n)
})
}
function E(t, e) {
return yt.nodeName(t, "table") && yt.nodeName(11 !== e.nodeType ? e : e.firstChild, "tr") ? t.getElementsByTagName("tbody")[0] || t : t
}
function S(t) {
return t.type = (null !== t.getAttribute("type")) + "/" + t.type, t
}
function O(t) {
var e = se.exec(t.type);
return e ? t.type = e[1] : t.removeAttribute("type"), t
}
function j(t, e) {
var n, r, i, o, a, s, u, c;
if (1 === e.nodeType) {
if (qt.hasData(t) && (o = qt.access(t), a = qt.set(e, o), c = o.events)) {
delete a.handle, a.events = {};
for (i in c)for (n = 0, r = c[i].length; n < r; n++)yt.event.add(e, i, c[i][n])
}
Mt.hasData(t) && (s = Mt.access(t), u = yt.extend({}, s), Mt.set(e, u))
}
}
function N(t, e) {
var n = e.nodeName.toLowerCase();
"input" === n && Jt.test(t.type) ? e.checked = t.checked : "input" !== n && "textarea" !== n || (e.defaultValue = t.defaultValue)
}
function D(t, e, n, r) {
e = ut.apply([], e);
var i, o, s, u, c, l, f = 0, p = t.length, d = p - 1, h = e[0], v = yt.isFunction(h);
if (v || p > 1 && "string" == typeof h && !gt.checkClone && ae.test(h))return t.each(function (i) {
var o = t.eq(i);
v && (e[0] = h.call(this, i, o.html())), D(o, e, n, r)
});
if (p && (i = C(e, t[0].ownerDocument, !1, t, r), o = i.firstChild, 1 === i.childNodes.length && (i = o), o || r)) {
for (s = yt.map(w(i, "script"), S), u = s.length; f < p; f++)c = i, f !== d && (c = yt.clone(c, !0, !0), u && yt.merge(s, w(c, "script"))), n.call(t[f], c, f);
if (u)for (l = s[s.length - 1].ownerDocument, yt.map(s, O), f = 0; f < u; f++)c = s[f], Zt.test(c.type || "") && !qt.access(c, "globalEval") && yt.contains(l, c) && (c.src ? yt._evalUrl && yt._evalUrl(c.src) : a(c.textContent.replace(ue, ""), l))
}
return t
}
function I(t, e, n) {
for (var r, i = e ? yt.filter(e, t) : t, o = 0; null != (r = i[o]); o++)n || 1 !== r.nodeType || yt.cleanData(w(r)), r.parentNode && (n && yt.contains(r.ownerDocument, r) && x(w(r, "script")), r.parentNode.removeChild(r));
return t
}
function R(t, e, n) {
var r, i, o, a, s = t.style;
return n = n || fe(t), n && (a = n.getPropertyValue(e) || n[e], "" !== a || yt.contains(t.ownerDocument, t) || (a = yt.style(t, e)), !gt.pixelMarginRight() && le.test(a) && ce.test(e) && (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
}
function L(t, e) {
return {
get: function () {
return t() ? void delete this.get : (this.get = e).apply(this, arguments)
}
}
}
function P(t) {
if (t in ge)return t;
for (var e = t[0].toUpperCase() + t.slice(1), n = ve.length; n--;)if (t = ve[n] + e, t in ge)return t
}
function F(t, e, n) {
var r = Wt.exec(e);
return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : e
}
function q(t, e, n, r, i) {
var o, a = 0;
for (o = n === (r ? "border" : "content") ? 4 : "width" === e ? 1 : 0; o < 4; o += 2)"margin" === n && (a += yt.css(t, n + zt[o], !0, i)), r ? ("content" === n && (a -= yt.css(t, "padding" + zt[o], !0, i)), "margin" !== n && (a -= yt.css(t, "border" + zt[o] + "Width", !0, i))) : (a += yt.css(t, "padding" + zt[o], !0, i), "padding" !== n && (a += yt.css(t, "border" + zt[o] + "Width", !0, i)));
return a
}
function M(t, e, n) {
var r, i = !0, o = fe(t), a = "border-box" === yt.css(t, "boxSizing", !1, o);
if (t.getClientRects().length && (r = t.getBoundingClientRect()[e]), r <= 0 || null == r) {
if (r = R(t, e, o), (r < 0 || null == r) && (r = t.style[e]), le.test(r))return r;
i = a && (gt.boxSizingReliable() || r === t.style[e]), r = parseFloat(r) || 0
}
return r + q(t, e, n || (a ? "border" : "content"), i, o) + "px"
}
function H(t, e, n, r, i) {
return new H.prototype.init(t, e, n, r, i)
}
function B() {
ye && (n.requestAnimationFrame(B), yt.fx.tick())
}
function U() {
return n.setTimeout(function () {
me = void 0
}), me = yt.now()
}
function W(t, e) {
var n, r = 0, i = {height: t};
for (e = e ? 1 : 0; r < 4; r += 2 - e)n = zt[r], i["margin" + n] = i["padding" + n] = t;
return e && (i.opacity = i.width = t), i
}
function z(t, e, n) {
for (var r, i = (K.tweeners[e] || []).concat(K.tweeners["*"]), o = 0, a = i.length; o < a; o++)if (r = i[o].call(n, e, t))return r
}
function V(t, e, n) {
var r, i, o, a, s, u, c, l, f = "width" in e || "height" in e, p = this, d = {}, h = t.style, v = t.nodeType && Vt(t), g = qt.get(t, "fxshow");
n.queue || (a = yt._queueHooks(t, "fx"), null == a.unqueued && (a.unqueued = 0, s = a.empty.fire, a.empty.fire = function () {
a.unqueued || s()
}), a.unqueued++, p.always(function () {
p.always(function () {
a.unqueued--, yt.queue(t, "fx").length || a.empty.fire()
})
}));
for (r in e)if (i = e[r], be.test(i)) {
if (delete e[r], o = o || "toggle" === i, i === (v ? "hide" : "show")) {
if ("show" !== i || !g || void 0 === g[r])continue;
v = !0
}
d[r] = g && g[r] || yt.style(t, r)
}
if (u = !yt.isEmptyObject(e), u || !yt.isEmptyObject(d)) {
f && 1 === t.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], c = g && g.display, null == c && (c = qt.get(t, "display")), l = yt.css(t, "display"), "none" === l && (c ? l = c : (_([t], !0), c = t.style.display || c, l = yt.css(t, "display"), _([t]))), ("inline" === l || "inline-block" === l && null != c) && "none" === yt.css(t, "float") && (u || (p.done(function () {
h.display = c
}), null == c && (l = h.display, c = "none" === l ? "" : l)), h.display = "inline-block")), n.overflow && (h.overflow = "hidden", p.always(function () {
h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2]
})), u = !1;
for (r in d)u || (g ? "hidden" in g && (v = g.hidden) : g = qt.access(t, "fxshow", {display: c}), o && (g.hidden = !v), v && _([t], !0), p.done(function () {
v || _([t]), qt.remove(t, "fxshow");
for (r in d)yt.style(t, r, d[r])
})), u = z(v ? g[r] : 0, r, p), r in g || (g[r] = u.start, v && (u.end = u.start, u.start = 0))
}
}
function X(t, e) {
var n, r, i, o, a;
for (n in t)if (r = yt.camelCase(n), i = e[r], o = t[n], yt.isArray(o) && (i = o[1], o = t[n] = o[0]), n !== r && (t[r] = o, delete t[n]), a = yt.cssHooks[r], a && "expand" in a) {
o = a.expand(o), delete t[r];
for (n in o)n in t || (t[n] = o[n], e[n] = i)
} else e[r] = i
}
function K(t, e, n) {
var r, i, o = 0, a = K.prefilters.length, s = yt.Deferred().always(function () {
delete u.elem
}), u = function () {
if (i)return !1;
for (var e = me || U(), n = Math.max(0, c.startTime + c.duration - e), r = n / c.duration || 0, o = 1 - r, a = 0, u = c.tweens.length; a < u; a++)c.tweens[a].run(o);
return s.notifyWith(t, [c, o, n]), o < 1 && u ? n : (s.resolveWith(t, [c]), !1)
}, c = s.promise({
elem: t,
props: yt.extend({}, e),
opts: yt.extend(!0, {specialEasing: {}, easing: yt.easing._default}, n),
originalProperties: e,
originalOptions: n,
startTime: me || U(),
duration: n.duration,
tweens: [],
createTween: function (e, n) {
var r = yt.Tween(t, c.opts, e, n, c.opts.specialEasing[e] || c.opts.easing);
return c.tweens.push(r), r
},
stop: function (e) {
var n = 0, r = e ? c.tweens.length : 0;
if (i)return this;
for (i = !0; n < r; n++)c.tweens[n].run(1);
return e ? (s.notifyWith(t, [c, 1, 0]), s.resolveWith(t, [c, e])) : s.rejectWith(t, [c, e]), this
}
}), l = c.props;
for (X(l, c.opts.specialEasing); o < a; o++)if (r = K.prefilters[o].call(c, t, l, c.opts))return yt.isFunction(r.stop) && (yt._queueHooks(c.elem, c.opts.queue).stop = yt.proxy(r.stop, r)), r;
return yt.map(l, z, c), yt.isFunction(c.opts.start) && c.opts.start.call(t, c), yt.fx.timer(yt.extend(u, {
elem: t,
anim: c,
queue: c.opts.queue
})), c.progress(c.opts.progress).done(c.opts.done, c.opts.complete).fail(c.opts.fail).always(c.opts.always)
}
function J(t) {
var e = t.match(It) || [];
return e.join(" ")
}
function G(t) {
return t.getAttribute && t.getAttribute("class") || ""
}
function Z(t, e, n, r) {
var i;
if (yt.isArray(e)) yt.each(e, function (e, i) {
n || Oe.test(t) ? r(t, i) : Z(t + "[" + ("object" == typeof i && null != i ? e : "") + "]", i, n, r)
}); else if (n || "object" !== yt.type(e)) r(t, e); else for (i in e)Z(t + "[" + i + "]", e[i], n, r)
}
function Y(t) {
return function (e, n) {
"string" != typeof e && (n = e, e = "*");
var r, i = 0, o = e.toLowerCase().match(It) || [];
if (yt.isFunction(n))for (; r = o[i++];)"+" === r[0] ? (r = r.slice(1) || "*", (t[r] = t[r] || []).unshift(n)) : (t[r] = t[r] || []).push(n)
}
}
function Q(t, e, n, r) {
function i(s) {
var u;
return o[s] = !0, yt.each(t[s] || [], function (t, s) {
var c = s(e, n, r);
return "string" != typeof c || a || o[c] ? a ? !(u = c) : void 0 : (e.dataTypes.unshift(c), i(c), !1)
}), u
}
var o = {}, a = t === Be;
return i(e.dataTypes[0]) || !o["*"] && i("*")
}
function tt(t, e) {
var n, r, i = yt.ajaxSettings.flatOptions || {};
for (n in e)void 0 !== e[n] && ((i[n] ? t : r || (r = {}))[n] = e[n]);
return r && yt.extend(!0, t, r), t
}
function et(t, e, n) {
for (var r, i, o, a, s = t.contents, u = t.dataTypes; "*" === u[0];)u.shift(), void 0 === r && (r = t.mimeType || e.getResponseHeader("Content-Type"));
if (r)for (i in s)if (s[i] && s[i].test(r)) {
u.unshift(i);
break
}
if (u[0] in n) o = u[0]; else {
for (i in n) {
if (!u[0] || t.converters[i + " " + u[0]]) {
o = i;
break
}
a || (a = i)
}
o = o || a
}
if (o)return o !== u[0] && u.unshift(o), n[o]
}
function nt(t, e, n, r) {
var i, o, a, s, u, c = {}, l = t.dataTypes.slice();
if (l[1])for (a in t.converters)c[a.toLowerCase()] = t.converters[a];
for (o = l.shift(); o;)if (t.responseFields[o] && (n[t.responseFields[o]] = e), !u && r && t.dataFilter && (e = t.dataFilter(e, t.dataType)), u = o, o = l.shift())if ("*" === o) o = u; else if ("*" !== u && u !== o) {
if (a = c[u + " " + o] || c["* " + o], !a)for (i in c)if (s = i.split(" "), s[1] === o && (a = c[u + " " + s[0]] || c["* " + s[0]])) {
a === !0 ? a = c[i] : c[i] !== !0 && (o = s[0], l.unshift(s[1]));
break
}
if (a !== !0)if (a && t.throws) e = a(e); else try {
e = a(e)
} catch (t) {
return {state: "parsererror", error: a ? t : "No conversion from " + u + " to " + o}
}
}
return {state: "success", data: e}
}
function rt(t) {
return yt.isWindow(t) ? t : 9 === t.nodeType && t.defaultView
}
var it = [], ot = n.document, at = Object.getPrototypeOf, st = it.slice, ut = it.concat, ct = it.push, lt = it.indexOf, ft = {}, pt = ft.toString, dt = ft.hasOwnProperty, ht = dt.toString, vt = ht.call(Object), gt = {}, mt = "3.1.1", yt = function (t, e) {
return new yt.fn.init(t, e)
}, bt = /^[suFEFFxA0]+|[suFEFFxA0]+$/g, _t = /^-ms-/, wt = /-([a-z])/g, xt = function (t, e) {
return e.toUpperCase()
};
yt.fn = yt.prototype = {
jquery: mt, constructor: yt, length: 0, toArray: function () {
return st.call(this)
}, get: function (t) {
return null == t ? st.call(this) : t < 0 ? this[t + this.length] : this[t]
}, pushStack: function (t) {
var e = yt.merge(this.constructor(), t);
return e.prevObject = this, e
}, each: function (t) {
return yt.each(this, t)
}, map: function (t) {
return this.pushStack(yt.map(this, function (e, n) {
return t.call(e, n, e)
}))
}, slice: function () {
return this.pushStack(st.apply(this, arguments))
}, first: function () {
return this.eq(0)
}, last: function () {
return this.eq(-1)
}, eq: function (t) {
var e = this.length, n = +t + (t < 0 ? e : 0);
return this.pushStack(n >= 0 && n < e ? [this[n]] : [])
}, end: function () {
return this.prevObject || this.constructor()
}, push: ct, sort: it.sort, splice: it.splice
}, yt.extend = yt.fn.extend = function () {
var t, e, n, r, i, o, a = arguments[0] || {}, s = 1, u = arguments.length, c = !1;
for ("boolean" == typeof a && (c = a, a = arguments[s] || {}, s++), "object" == typeof a || yt.isFunction(a) || (a = {}), s === u && (a = this, s--); s < u; s++)if (null != (t = arguments[s]))for (e in t)n = a[e], r = t[e], a !== r && (c && r && (yt.isPlainObject(r) || (i = yt.isArray(r))) ? (i ? (i = !1, o = n && yt.isArray(n) ? n : []) : o = n && yt.isPlainObject(n) ? n : {}, a[e] = yt.extend(c, o, r)) : void 0 !== r && (a[e] = r));
return a
}, yt.extend({
expando: "jQuery" + (mt + Math.random()).replace(/D/g, ""), isReady: !0, error: function (t) {
throw new Error(t)
}, noop: function () {
}, isFunction: function (t) {
return "function" === yt.type(t)
}, isArray: Array.isArray, isWindow: function (t) {
return null != t && t === t.window
}, isNumeric: function (t) {
var e = yt.type(t);
return ("number" === e || "string" === e) && !isNaN(t - parseFloat(t))
}, isPlainObject: function (t) {
var e, n;
return !(!t || "[object Object]" !== pt.call(t)) && (!(e = at(t)) || (n = dt.call(e, "constructor") && e.constructor, "function" == typeof n && ht.call(n) === vt))
}, isEmptyObject: function (t) {
var e;
for (e in t)return !1;
return !0
}, type: function (t) {
return null == t ? t + "" : "object" == typeof t || "function" == typeof t ? ft[pt.call(t)] || "object" : typeof t
}, globalEval: function (t) {
a(t)
}, camelCase: function (t) {
return t.replace(_t, "ms-").replace(wt, xt)
}, nodeName: function (t, e) {
return t.nodeName && t.nodeName.toLowerCase() === e.toLowerCase()
}, each: function (t, e) {
var n, r = 0;
if (s(t))for (n = t.length; r < n && e.call(t[r], r, t[r]) !== !1; r++); else for (r in t)if (e.call(t[r], r, t[r]) === !1)break;
return t
}, trim: function (t) {
return null == t ? "" : (t + "").replace(bt, "")
}, makeArray: function (t, e) {
var n = e || [];
return null != t && (s(Object(t)) ? yt.merge(n, "string" == typeof t ? [t] : t) : ct.call(n, t)), n
}, inArray: function (t, e, n) {
return null == e ? -1 : lt.call(e, t, n)
}, merge: function (t, e) {
for (var n = +e.length, r = 0, i = t.length; r < n; r++)t[i++] = e[r];
return t.length = i, t
}, grep: function (t, e, n) {
for (var r, i = [], o = 0, a = t.length, s = !n; o < a; o++)r = !e(t[o], o), r !== s && i.push(t[o]);
return i
}, map: function (t, e, n) {
var r, i, o = 0, a = [];
if (s(t))for (r = t.length; o < r; o++)i = e(t[o], o, n), null != i && a.push(i); else for (o in t)i = e(t[o], o, n), null != i && a.push(i);
return ut.apply([], a)
}, guid: 1, proxy: function (t, e) {
var n, r, i;
if ("string" == typeof e && (n = t[e], e = t, t = n), yt.isFunction(t))return r = st.call(arguments, 2), i = function () {
return t.apply(e || this, r.concat(st.call(arguments)))
}, i.guid = t.guid = t.guid || yt.guid++, i
}, now: Date.now, support: gt
}), "function" == typeof Symbol && (yt.fn[Symbol.iterator] = it[Symbol.iterator]), yt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (t, e) {
ft["[object " + e + "]"] = e.toLowerCase()
});
var Ct = /*!
* Sizzle CSS Selector Engine v2.3.3
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-08-08
*/
function (t) {
function e(t, e, n, r) {
var i, o, a, s, u, c, l, p = e && e.ownerDocument, h = e ? e.nodeType : 9;
if (n = n || [], "string" != typeof t || !t || 1 !== h && 9 !== h && 11 !== h)return n;
if (!r && ((e ? e.ownerDocument || e : H) !== D && N(e), e = e || D, R)) {
if (11 !== h && (u = mt.exec(t)))if (i = u[1]) {
if (9 === h) {
if (!(a = e.getElementById(i)))return n;
if (a.id === i)return n.push(a), n
} else if (p && (a = p.getElementById(i)) && q(e, a) && a.id === i)return n.push(a), n
} else {
if (u[2])return Y.apply(n, e.getElementsByTagName(t)), n;
if ((i = u[3]) && x.getElementsByClassName && e.getElementsByClassName)return Y.apply(n, e.getElementsByClassName(i)), n
}
if (x.qsa && !V[t + " "] && (!L || !L.test(t))) {
if (1 !== h) p = e, l = t; else if ("object" !== e.nodeName.toLowerCase()) {
for ((s = e.getAttribute("id")) ? s = s.replace(wt, xt) : e.setAttribute("id", s = M), c = k(t), o = c.length; o--;)c[o] = "#" + s + " " + d(c[o]);
l = c.join(","), p = yt.test(t) && f(e.parentNode) || e
}
if (l)try {
return Y.apply(n, p.querySelectorAll(l)), n
} catch (t) {
} finally {
s === M && e.removeAttribute("id")
}
}
}
return E(t.replace(st, "$1"), e, n, r)
}
function n() {
function t(n, r) {
return e.push(n + " ") > C.cacheLength && delete t[e.shift()], t[n + " "] = r
}
var e = [];
return t
}
function r(t) {
return t[M] = !0, t
}
function i(t) {
var e = D.createElement("fieldset");
try {
return !!t(e)
} catch (t) {
return !1
} finally {
e.parentNode && e.parentNode.removeChild(e), e = null
}
}
function o(t, e) {
for (var n = t.split("|"), r = n.length; r--;)C.attrHandle[n[r]] = e
}
function a(t, e) {
var n = e && t, r = n && 1 === t.nodeType && 1 === e.nodeType && t.sourceIndex - e.sourceIndex;
if (r)return r;
if (n)for (; n = n.nextSibling;)if (n === e)return -1;
return t ? 1 : -1
}
function s(t) {
return function (e) {
var n = e.nodeName.toLowerCase();
return "input" === n && e.type === t
}
}
function u(t) {
return function (e) {
var n = e.nodeName.toLowerCase();
return ("input" === n || "button" === n) && e.type === t
}
}
function c(t) {
return function (e) {
return "form" in e ? e.parentNode && e.disabled === !1 ? "label" in e ? "label" in e.parentNode ? e.parentNode.disabled === t : e.disabled === t : e.isDisabled === t || e.isDisabled !== !t && Tt(e) === t : e.disabled === t : "label" in e && e.disabled === t
}
}
function l(t) {
return r(function (e) {
return e = +e, r(function (n, r) {
for (var i, o = t([], n.length, e), a = o.length; a--;)n[i = o[a]] && (n[i] = !(r[i] = n[i]))
})
})
}
function f(t) {
return t && "undefined" != typeof t.getElementsByTagName && t
}
function p() {
}
function d(t) {
for (var e = 0, n = t.length, r = ""; e < n; e++)r += t[e].value;
return r
}
function h(t, e, n) {
var r = e.dir, i = e.next, o = i || r, a = n && "parentNode" === o, s = U++;
return e.first ? function (e, n, i) {
for (; e = e[r];)if (1 === e.nodeType || a)return t(e, n, i);
return !1
} : function (e, n, u) {
var c, l, f, p = [B, s];
if (u) {
for (; e = e[r];)if ((1 === e.nodeType || a) && t(e, n, u))return !0
} else for (; e = e[r];)if (1 === e.nodeType || a)if (f = e[M] || (e[M] = {}), l = f[e.uniqueID] || (f[e.uniqueID] = {}), i && i === e.nodeName.toLowerCase()) e = e[r] || e; else {
if ((c = l[o]) && c[0] === B && c[1] === s)return p[2] = c[2];
if (l[o] = p, p[2] = t(e, n, u))return !0
}
return !1
}
}
function v(t) {
return t.length > 1 ? function (e, n, r) {
for (var i = t.length; i--;)if (!t[i](e, n, r))return !1;
return !0
} : t[0]
}
function g(t, n, r) {
for (var i = 0, o = n.length; i < o; i++)e(t, n[i], r);
return r
}
function m(t, e, n, r, i) {
for (var o, a = [], s = 0, u = t.length, c = null != e; s < u; s++)(o = t[s]) && (n && !n(o, r, i) || (a.push(o), c && e.push(s)));
return a
}
function y(t, e, n, i, o, a) {
return i && !i[M] && (i = y(i)), o && !o[M] && (o = y(o, a)), r(function (r, a, s, u) {
var c, l, f, p = [], d = [], h = a.length, v = r || g(e || "*", s.nodeType ? [s] : s, []), y = !t || !r && e ? v : m(v, p, t, s, u), b = n ? o || (r ? t : h || i) ? [] : a : y;
if (n && n(y, b, s, u), i)for (c = m(b, d), i(c, [], s, u), l = c.length; l--;)(f = c[l]) && (b[d[l]] = !(y[d[l]] = f));
if (r) {
if (o || t) {
if (o) {
for (c = [], l = b.length; l--;)(f = b[l]) && c.push(y[l] = f);
o(null, b = [], c, u)
}
for (l = b.length; l--;)(f = b[l]) && (c = o ? tt(r, f) : p[l]) > -1 && (r[c] = !(a[c] = f))
}
} else b = m(b === a ? b.splice(h, b.length) : b), o ? o(null, a, b, u) : Y.apply(a, b)
})
}
function b(t) {
for (var e, n, r, i = t.length, o = C.relative[t[0].type], a = o || C.relative[" "], s = o ? 1 : 0, u = h(function (t) {
return t === e
}, a, !0), c = h(function (t) {
return tt(e, t) > -1
}, a, !0), l = [function (t, n, r) {
var i = !o && (r || n !== S) || ((e = n).nodeType ? u(t, n, r) : c(t, n, r));
return e = null, i
}]; s < i; s++)if (n = C.relative[t[s].type]) l = [h(v(l), n)]; else {
if (n = C.filter[t[s].type].apply(null, t[s].matches), n[M]) {
for (r = ++s; r < i && !C.relative[t[r].type]; r++);
return y(s > 1 && v(l), s > 1 && d(t.slice(0, s - 1).concat({value: " " === t[s - 2].type ? "*" : ""})).replace(st, "$1"), n, s < r && b(t.slice(s, r)), r < i && b(t = t.slice(r)), r < i && d(t))
}
l.push(n)
}
return v(l)
}
function _(t, n) {
var i = n.length > 0, o = t.length > 0, a = function (r, a, s, u, c) {
var l, f, p, d = 0, h = "0", v = r && [], g = [], y = S, b = r || o && C.find.TAG("*", c), _ = B += null == y ? 1 : Math.random() || .1, w = b.length;
for (c && (S = a === D || a || c); h !== w && null != (l = b[h]); h++) {
if (o && l) {
for (f = 0, a || l.ownerDocument === D || (N(l), s = !R); p = t[f++];)if (p(l, a || D, s)) {
u.push(l);
break
}
c && (B = _)
}
i && ((l = !p && l) && d--, r && v.push(l))
}
if (d += h, i && h !== d) {
for (f = 0; p = n[f++];)p(v, g, a, s);
if (r) {
if (d > 0)for (; h--;)v[h] || g[h] || (g[h] = G.call(u));
g = m(g)
}
Y.apply(u, g), c && !r && g.length > 0 && d + n.length > 1 && e.uniqueSort(u)
}
return c && (B = _, S = y), v
};
return i ? r(a) : a
}
var w, x, C, T, $, k, A, E, S, O, j, N, D, I, R, L, P, F, q, M = "sizzle" + 1 * new Date, H = t.document, B = 0, U = 0, W = n(), z = n(), V = n(), X = function (t, e) {
return t === e && (j = !0), 0
}, K = {}.hasOwnProperty, J = [], G = J.pop, Z = J.push, Y = J.push, Q = J.slice, tt = function (t, e) {
for (var n = 0, r = t.length; n < r; n++)if (t[n] === e)return n;
return -1
}, et = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", nt = "[\x20\t\r\n\f]", rt = "(?:\\.|[\w-]|[^ -\xa0])+", it = "\[" + nt + "*(" + rt + ")(?:" + nt + "*([*^$|!~]?=)" + nt + "*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|(" + rt + "))|)" + nt + "*\]", ot = ":(" + rt + ")(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|" + it + ")*)|.*)\)|)", at = new RegExp(nt + "+", "g"), st = new RegExp("^" + nt + "+|((?:^|[^\\])(?:\\.)*)" + nt + "+$", "g"), ut = new RegExp("^" + nt + "*," + nt + "*"), ct = new RegExp("^" + nt + "*([>+~]|" + nt + ")" + nt + "*"), lt = new RegExp("=" + nt + "*([^\]'"]*?)" + nt + "*\]", "g"), ft = new RegExp(ot), pt = new RegExp("^" + rt + "$"), dt = {
ID: new RegExp("^#(" + rt + ")"),
CLASS: new RegExp("^\.(" + rt + ")"),
TAG: new RegExp("^(" + rt + "|[*])"),
ATTR: new RegExp("^" + it),
PSEUDO: new RegExp("^" + ot),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\(" + nt + "*(even|odd|(([+-]|)(\d*)n|)" + nt + "*(?:([+-]|)" + nt + "*(\d+)|))" + nt + "*\)|)", "i"),
bool: new RegExp("^(?:" + et + ")$", "i"),
needsContext: new RegExp("^" + nt + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\(" + nt + "*((?:-\d)?\d*)" + nt + "*\)|)(?=[^-]|$)", "i")
}, ht = /^(?:input|select|textarea|button)$/i, vt = /^hd$/i, gt = /^[^{]+{s*[native w/, mt = /^(?:#([w-]+)|(w+)|.([w-]+))$/, yt = /[+~]/, bt = new RegExp("\\([\da-f]{1,6}" + nt + "?|(" + nt + ")|.)", "ig"), _t = function (t, e, n) {
var r = "0x" + e - 65536;
return r !== r || n ? e : r < 0 ? String.fromCharCode(r + 65536) : String.fromCharCode(r >> 10 | 55296, 1023 & r | 56320)
}, wt = /([ -x1fx7f]|^-?d)|^-$|[^ -x1fx7f-uFFFFw-]/g, xt = function (t, e) {
return e ? "