From 4f0e5940db3d33e6b208695f4554e731a3017733 Mon Sep 17 00:00:00 2001 From: Edwin Cloud Date: Sun, 4 Nov 2018 13:45:35 -0800 Subject: [PATCH] Fixed demo --- gatsby-config.js | 8 - netlify.toml | 2 +- public/index.html | 2 +- src/App.css | 32 - src/App.js | 17 - src/App.test.js | 9 - src/components/Button.js | 16 - src/components/CheckBox.js | 28 - src/components/Input.js | 23 - src/components/Phone.js | 23 - src/components/Select.js | 26 - src/components/TextArea.js | 18 - src/components/assets/css/bootstrap.min.css | 9313 ------------- src/components/assets/css/responsive.css | 1335 -- src/components/assets/css/style.css | 11171 ---------------- .../assets/extra/animation/animate.css | 3001 ----- .../css/bootstrap-select.min.css | 459 - .../bootstrap-selector/js/bootstrap-select.js | 2776 ---- .../js/bootstrap-select.min.js | 1024 -- .../assets/extra/flaticon/flaticon.css | 41 - .../imagesloaded/imagesloaded.pkgd.min.js | 165 - .../assets/extra/isotope/isotope-min.js | 1223 -- .../magnify-pop/jquery.magnific-popup.min.js | 660 - .../extra/magnify-pop/magnific-popup.css | 466 - .../nice-select/jquery.nice-select.min.js | 65 - .../assets/extra/nice-select/nice-select.css | 185 - .../owl-carousel/assets/owl.carousel.min.css | 218 - .../extra/owl-carousel/owl.carousel.min.js | 1034 -- .../extra/sckroller/jquery.parallax-scroll.js | 181 - .../extra/themify-icon/fonts/themify.woff | Bin 56108 -> 0 bytes .../extra/themify-icon/themify-icons.css | 1429 -- src/components/assets/extra/wow/wow.min.js | 192 - src/components/assets/img/duo-selfie.jpg | Bin 214248 -> 0 bytes .../img/facial-recognition-population.jpg | Bin 364975 -> 0 bytes .../assets/img/female-male-recognition.jpg | Bin 335179 -> 0 bytes src/components/assets/img/home2/01.png | Bin 3050 -> 0 bytes src/components/assets/img/home2/02.png | Bin 4886 -> 0 bytes src/components/assets/img/home2/03.png | Bin 1959 -> 0 bytes src/components/assets/img/home2/04.png | Bin 835 -> 0 bytes src/components/assets/img/home2/action_bg.png | Bin 2253 -> 0 bytes src/components/assets/img/home2/app_bg.png | Bin 94864 -> 0 bytes src/components/assets/img/home2/bg_shape.png | Bin 10965 -> 0 bytes .../assets/img/home2/f_icon_shape1.png | Bin 1895 -> 0 bytes .../assets/img/home2/f_icon_shape2.png | Bin 2061 -> 0 bytes .../assets/img/home2/featureimg1-1.png | Bin 11928 -> 0 bytes .../assets/img/home2/featureimg1-2.png | Bin 5092 -> 0 bytes .../assets/img/home2/featureimg1.png | Bin 2383 -> 0 bytes src/components/assets/img/home2/file.png | Bin 4692 -> 0 bytes src/components/assets/img/home2/inbox.png | Bin 4427 -> 0 bytes src/components/assets/img/home2/mobile.png | Bin 17951 -> 0 bytes src/components/assets/img/home2/overview.png | Bin 5862 -> 0 bytes src/components/assets/img/home2/price-1.png | Bin 4189 -> 0 bytes src/components/assets/img/home2/price-2.png | Bin 5090 -> 0 bytes src/components/assets/img/home2/price-3.png | Bin 3921 -> 0 bytes src/components/assets/img/home2/report.png | Bin 4881 -> 0 bytes src/components/assets/img/home2/shape.png | Bin 23132 -> 0 bytes src/components/assets/img/home2/shape_01.png | Bin 11973 -> 0 bytes src/components/assets/img/home2/shape_02.png | Bin 3713 -> 0 bytes src/components/assets/img/home2/shape_03.png | Bin 3142 -> 0 bytes src/components/assets/img/home2/undraw.png | Bin 14299 -> 0 bytes src/components/assets/img/home2/women.png | Bin 10707 -> 0 bytes .../assets/img/placeholder-image.jpg | Bin 30449 -> 0 bytes .../assets/img/placeholder-video.png | Bin 22409 -> 0 bytes src/components/assets/img/snap-card-logo.jpg | Bin 20567 -> 0 bytes src/components/assets/img/work-selfie.jpg | Bin 551230 -> 0 bytes src/components/assets/js/bootstrap.min.js | 1409 -- src/components/assets/js/jquery-3.2.1.min.js | 3240 ----- src/components/assets/js/main.js | 504 - src/components/assets/js/propper.js | 845 -- src/components/image.js | 32 - src/container/formContainer.js | 213 - src/images/gatsby-astronaut.png | Bin 167273 -> 0 bytes src/images/gatsby-icon.png | Bin 21212 -> 0 bytes src/index.css | 14 - src/index.js | 12 - src/logo.svg | 7 - src/pages/cover.js | 52 - src/pages/home.js | 90 - src/pages/img/duo-selfie.jpg | Bin 214248 -> 0 bytes .../img/facial-recognition-population.jpg | Bin 364975 -> 0 bytes src/pages/img/female-male-recognition.jpg | Bin 335179 -> 0 bytes src/pages/img/home2/01.png | Bin 3050 -> 0 bytes src/pages/img/home2/02.png | Bin 4886 -> 0 bytes src/pages/img/home2/03.png | Bin 1959 -> 0 bytes src/pages/img/home2/04.png | Bin 835 -> 0 bytes src/pages/img/home2/action_bg.png | Bin 2253 -> 0 bytes src/pages/img/home2/app_bg.png | Bin 94864 -> 0 bytes src/pages/img/home2/bg_shape.png | Bin 10965 -> 0 bytes src/pages/img/home2/f_icon_shape1.png | Bin 1895 -> 0 bytes src/pages/img/home2/f_icon_shape2.png | Bin 2061 -> 0 bytes src/pages/img/home2/featureimg1-1.png | Bin 11928 -> 0 bytes src/pages/img/home2/featureimg1-2.png | Bin 5092 -> 0 bytes src/pages/img/home2/featureimg1.png | Bin 2383 -> 0 bytes src/pages/img/home2/file.png | Bin 4692 -> 0 bytes src/pages/img/home2/inbox.png | Bin 4427 -> 0 bytes src/pages/img/home2/mobile.png | Bin 17951 -> 0 bytes src/pages/img/home2/overview.png | Bin 5862 -> 0 bytes src/pages/img/home2/price-1.png | Bin 4189 -> 0 bytes src/pages/img/home2/price-2.png | Bin 5090 -> 0 bytes src/pages/img/home2/price-3.png | Bin 3921 -> 0 bytes src/pages/img/home2/report.png | Bin 4881 -> 0 bytes src/pages/img/home2/shape.png | Bin 23132 -> 0 bytes src/pages/img/home2/shape_01.png | Bin 11973 -> 0 bytes src/pages/img/home2/shape_02.png | Bin 3713 -> 0 bytes src/pages/img/home2/shape_03.png | Bin 3142 -> 0 bytes src/pages/img/home2/undraw.png | Bin 14299 -> 0 bytes src/pages/img/home2/women.png | Bin 10707 -> 0 bytes src/pages/img/placeholder-image.jpg | Bin 30449 -> 0 bytes src/pages/img/placeholder-video.png | Bin 22409 -> 0 bytes src/pages/img/snap-card-logo.jpg | Bin 20567 -> 0 bytes src/pages/img/work-selfie.jpg | Bin 551230 -> 0 bytes src/pages/index.js | 2 - src/pages/page-2.js | 14 - src/pages/upload.js | 41 - src/serviceWorker.js | 135 - 115 files changed, 2 insertions(+), 41750 deletions(-) delete mode 100644 src/App.css delete mode 100644 src/App.js delete mode 100644 src/App.test.js delete mode 100644 src/components/Button.js delete mode 100644 src/components/CheckBox.js delete mode 100644 src/components/Input.js delete mode 100644 src/components/Phone.js delete mode 100644 src/components/Select.js delete mode 100644 src/components/TextArea.js delete mode 100755 src/components/assets/css/bootstrap.min.css delete mode 100755 src/components/assets/css/responsive.css delete mode 100755 src/components/assets/css/style.css delete mode 100755 src/components/assets/extra/animation/animate.css delete mode 100755 src/components/assets/extra/bootstrap-selector/css/bootstrap-select.min.css delete mode 100755 src/components/assets/extra/bootstrap-selector/js/bootstrap-select.js delete mode 100755 src/components/assets/extra/bootstrap-selector/js/bootstrap-select.min.js delete mode 100755 src/components/assets/extra/flaticon/flaticon.css delete mode 100755 src/components/assets/extra/imagesloaded/imagesloaded.pkgd.min.js delete mode 100755 src/components/assets/extra/isotope/isotope-min.js delete mode 100755 src/components/assets/extra/magnify-pop/jquery.magnific-popup.min.js delete mode 100755 src/components/assets/extra/magnify-pop/magnific-popup.css delete mode 100755 src/components/assets/extra/nice-select/jquery.nice-select.min.js delete mode 100755 src/components/assets/extra/nice-select/nice-select.css delete mode 100755 src/components/assets/extra/owl-carousel/assets/owl.carousel.min.css delete mode 100755 src/components/assets/extra/owl-carousel/owl.carousel.min.js delete mode 100755 src/components/assets/extra/sckroller/jquery.parallax-scroll.js delete mode 100755 src/components/assets/extra/themify-icon/fonts/themify.woff delete mode 100755 src/components/assets/extra/themify-icon/themify-icons.css delete mode 100755 src/components/assets/extra/wow/wow.min.js delete mode 100644 src/components/assets/img/duo-selfie.jpg delete mode 100644 src/components/assets/img/facial-recognition-population.jpg delete mode 100644 src/components/assets/img/female-male-recognition.jpg delete mode 100755 src/components/assets/img/home2/01.png delete mode 100755 src/components/assets/img/home2/02.png delete mode 100755 src/components/assets/img/home2/03.png delete mode 100755 src/components/assets/img/home2/04.png delete mode 100755 src/components/assets/img/home2/action_bg.png delete mode 100755 src/components/assets/img/home2/app_bg.png delete mode 100755 src/components/assets/img/home2/bg_shape.png delete mode 100755 src/components/assets/img/home2/f_icon_shape1.png delete mode 100755 src/components/assets/img/home2/f_icon_shape2.png delete mode 100755 src/components/assets/img/home2/featureimg1-1.png delete mode 100755 src/components/assets/img/home2/featureimg1-2.png delete mode 100755 src/components/assets/img/home2/featureimg1.png delete mode 100755 src/components/assets/img/home2/file.png delete mode 100755 src/components/assets/img/home2/inbox.png delete mode 100755 src/components/assets/img/home2/mobile.png delete mode 100755 src/components/assets/img/home2/overview.png delete mode 100755 src/components/assets/img/home2/price-1.png delete mode 100755 src/components/assets/img/home2/price-2.png delete mode 100755 src/components/assets/img/home2/price-3.png delete mode 100755 src/components/assets/img/home2/report.png delete mode 100755 src/components/assets/img/home2/shape.png delete mode 100755 src/components/assets/img/home2/shape_01.png delete mode 100755 src/components/assets/img/home2/shape_02.png delete mode 100755 src/components/assets/img/home2/shape_03.png delete mode 100755 src/components/assets/img/home2/undraw.png delete mode 100755 src/components/assets/img/home2/women.png delete mode 100644 src/components/assets/img/placeholder-image.jpg delete mode 100644 src/components/assets/img/placeholder-video.png delete mode 100644 src/components/assets/img/snap-card-logo.jpg delete mode 100644 src/components/assets/img/work-selfie.jpg delete mode 100755 src/components/assets/js/bootstrap.min.js delete mode 100755 src/components/assets/js/jquery-3.2.1.min.js delete mode 100755 src/components/assets/js/main.js delete mode 100755 src/components/assets/js/propper.js delete mode 100644 src/components/image.js delete mode 100644 src/container/formContainer.js delete mode 100644 src/images/gatsby-astronaut.png delete mode 100644 src/images/gatsby-icon.png delete mode 100644 src/index.css delete mode 100644 src/index.js delete mode 100644 src/logo.svg delete mode 100644 src/pages/cover.js delete mode 100644 src/pages/home.js delete mode 100644 src/pages/img/duo-selfie.jpg delete mode 100644 src/pages/img/facial-recognition-population.jpg delete mode 100644 src/pages/img/female-male-recognition.jpg delete mode 100755 src/pages/img/home2/01.png delete mode 100755 src/pages/img/home2/02.png delete mode 100755 src/pages/img/home2/03.png delete mode 100755 src/pages/img/home2/04.png delete mode 100755 src/pages/img/home2/action_bg.png delete mode 100755 src/pages/img/home2/app_bg.png delete mode 100755 src/pages/img/home2/bg_shape.png delete mode 100755 src/pages/img/home2/f_icon_shape1.png delete mode 100755 src/pages/img/home2/f_icon_shape2.png delete mode 100755 src/pages/img/home2/featureimg1-1.png delete mode 100755 src/pages/img/home2/featureimg1-2.png delete mode 100755 src/pages/img/home2/featureimg1.png delete mode 100755 src/pages/img/home2/file.png delete mode 100755 src/pages/img/home2/inbox.png delete mode 100755 src/pages/img/home2/mobile.png delete mode 100755 src/pages/img/home2/overview.png delete mode 100755 src/pages/img/home2/price-1.png delete mode 100755 src/pages/img/home2/price-2.png delete mode 100755 src/pages/img/home2/price-3.png delete mode 100755 src/pages/img/home2/report.png delete mode 100755 src/pages/img/home2/shape.png delete mode 100755 src/pages/img/home2/shape_01.png delete mode 100755 src/pages/img/home2/shape_02.png delete mode 100755 src/pages/img/home2/shape_03.png delete mode 100755 src/pages/img/home2/undraw.png delete mode 100755 src/pages/img/home2/women.png delete mode 100644 src/pages/img/placeholder-image.jpg delete mode 100644 src/pages/img/placeholder-video.png delete mode 100644 src/pages/img/snap-card-logo.jpg delete mode 100644 src/pages/img/work-selfie.jpg delete mode 100644 src/pages/page-2.js delete mode 100644 src/pages/upload.js delete mode 100644 src/serviceWorker.js diff --git a/gatsby-config.js b/gatsby-config.js index dd1f1d26..a731eec2 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -6,13 +6,6 @@ module.exports = { }, plugins: [ 'gatsby-plugin-react-helmet', - { - resolve: `gatsby-source-filesystem`, - options: { - name: `images`, - path: `${__dirname}/src/images`, - }, - }, 'gatsby-transformer-sharp', 'gatsby-plugin-sharp', { @@ -24,7 +17,6 @@ module.exports = { background_color: '#663399', theme_color: '#663399', display: 'minimal-ui', - icon: 'src/images/gatsby-icon.png', // This path is relative to the root of the site. }, }, 'gatsby-plugin-offline', diff --git a/netlify.toml b/netlify.toml index 5c3b334b..878b0b15 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,4 +3,4 @@ # This will be run the site build command = "npm run build" # This is the directory is publishing to netlify's CDN - publish = "waiting/homepage" + publish = "public" diff --git a/public/index.html b/public/index.html index 5a09c580..21a3e26d 100644 --- a/public/index.html +++ b/public/index.html @@ -1 +1 @@ -Networq

Networq

Welcome to Networq!


Go to Demo
Go to Video
\ No newline at end of file +
\ No newline at end of file diff --git a/src/App.css b/src/App.css deleted file mode 100644 index 92f956e8..00000000 --- a/src/App.css +++ /dev/null @@ -1,32 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - animation: App-logo-spin infinite 20s linear; - height: 40vmin; -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/src/App.js b/src/App.js deleted file mode 100644 index 8e1824d3..00000000 --- a/src/App.js +++ /dev/null @@ -1,17 +0,0 @@ -import React, { Component } from 'react'; -import FormContainer from './container/formContainer.js' -import './App.css'; - -class App extends Component { - render() { - return ( -
-

Networq

- - -
- ); - } -} - -export default App; diff --git a/src/App.test.js b/src/App.test.js deleted file mode 100644 index a754b201..00000000 --- a/src/App.test.js +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import App from './App'; - -it('renders without crashing', () => { - const div = document.createElement('div'); - ReactDOM.render(, div); - ReactDOM.unmountComponentAtNode(div); -}); diff --git a/src/components/Button.js b/src/components/Button.js deleted file mode 100644 index f6e2f2c8..00000000 --- a/src/components/Button.js +++ /dev/null @@ -1,16 +0,0 @@ -import React from 'react'; - - -const Button = (props) => { - console.log(props.style); - return( - ) -} - - -export default Button; diff --git a/src/components/CheckBox.js b/src/components/CheckBox.js deleted file mode 100644 index 52b399d1..00000000 --- a/src/components/CheckBox.js +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; - - -const CheckBox = (props) => { - return(
- -
- {props.options.map(option => { - return ( - - ); - })} -
-
-); - -} - -export default CheckBox; diff --git a/src/components/Input.js b/src/components/Input.js deleted file mode 100644 index 8333a394..00000000 --- a/src/components/Input.js +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; - - - -const Input = (props) => { - console.log(props.value); - return ( -
- - -
-) -} - -export default Input; diff --git a/src/components/Phone.js b/src/components/Phone.js deleted file mode 100644 index eb03461d..00000000 --- a/src/components/Phone.js +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import NumberFormat from 'react-number-format'; - - -const Phone = (props) => { - console.log(props.value); - return ( -
- - -
-) -} - -export default Phone; diff --git a/src/components/Select.js b/src/components/Select.js deleted file mode 100644 index dd86366d..00000000 --- a/src/components/Select.js +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react'; - - -const Select = (props) => { - return(
- - -
) -} - -export default Select; \ No newline at end of file diff --git a/src/components/TextArea.js b/src/components/TextArea.js deleted file mode 100644 index 0493138f..00000000 --- a/src/components/TextArea.js +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; - - -const TextArea = (props) => ( -
- - ", o.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue - }(); - var ra = d.documentElement, - sa = /^key/, - ta = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - ua = /^([^.]*)(?:\.(.+)|)/; - - function va() { - return !0 - } - - function wa() { - return !1 - } - - function xa() { - try { - return d.activeElement - } catch (a) {} - } - - function ya(a, b, c, d, e, f) { - var g, h; - if ("object" == typeof b) { - "string" != typeof c && (d = d || c, c = void 0); - for (h in b) ya(a, h, c, d, b[h], f); - return a - } - if (null == d && null == e ? (e = c, d = c = void 0) : null == e && ("string" == typeof c ? (e = d, d = void 0) : (e = d, d = c, c = void 0)), e === !1) e = wa; - else if (!e) return a; - return 1 === f && (g = e, e = function(a) { - return r().off(a), g.apply(this, arguments) - }, e.guid = g.guid || (g.guid = r.guid++)), a.each(function() { - r.event.add(this, b, e, d, c) - }) - } - r.event = { - global: {}, - add: function(a, b, c, d, e) { - var f, g, h, i, j, k, l, m, n, o, p, q = W.get(a); - if (q) { - c.handler && (f = c, c = f.handler, e = f.selector), e && r.find.matchesSelector(ra, e), c.guid || (c.guid = r.guid++), (i = q.events) || (i = q.events = {}), (g = q.handle) || (g = q.handle = function(b) { - return "undefined" != typeof r && r.event.triggered !== b.type ? r.event.dispatch.apply(a, arguments) : void 0 - }), b = (b || "").match(L) || [""], j = b.length; - while (j--) h = ua.exec(b[j]) || [], n = p = h[1], o = (h[2] || "").split(".").sort(), n && (l = r.event.special[n] || {}, n = (e ? l.delegateType : l.bindType) || n, l = r.event.special[n] || {}, k = r.extend({ - type: n, - origType: p, - data: d, - handler: c, - guid: c.guid, - selector: e, - needsContext: e && r.expr.match.needsContext.test(e), - namespace: o.join(".") - }, f), (m = i[n]) || (m = i[n] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, o, g) !== !1 || a.addEventListener && a.addEventListener(n, g)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), r.event.global[n] = !0) - } - }, - remove: function(a, b, c, d, e) { - var f, g, h, i, j, k, l, m, n, o, p, q = W.hasData(a) && W.get(a); - if (q && (i = q.events)) { - b = (b || "").match(L) || [""], j = b.length; - while (j--) - if (h = ua.exec(b[j]) || [], n = p = h[1], o = (h[2] || "").split(".").sort(), n) { - l = r.event.special[n] || {}, n = (d ? l.delegateType : l.bindType) || n, m = i[n] || [], h = h[2] && new RegExp("(^|\\.)" + o.join("\\.(?:.*\\.|)") + "(\\.|$)"), g = f = m.length; - while (f--) k = m[f], !e && p !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k)); - g && !m.length && (l.teardown && l.teardown.call(a, o, q.handle) !== !1 || r.removeEvent(a, n, q.handle), delete i[n]) - } else - for (n in i) r.event.remove(a, n + b[j], c, d, !0); - r.isEmptyObject(i) && W.remove(a, "handle events") - } - }, - dispatch: function(a) { - var b = r.event.fix(a), - c, d, e, f, g, h, i = new Array(arguments.length), - j = (W.get(this, "events") || {})[b.type] || [], - k = r.event.special[b.type] || {}; - for (i[0] = b, c = 1; c < arguments.length; c++) i[c] = arguments[c]; - if (b.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, b) !== !1) { - h = r.event.handlers.call(this, b, j), c = 0; - while ((f = h[c++]) && !b.isPropagationStopped()) { - b.currentTarget = f.elem, d = 0; - while ((g = f.handlers[d++]) && !b.isImmediatePropagationStopped()) b.rnamespace && !b.rnamespace.test(g.namespace) || (b.handleObj = g, b.data = g.data, e = ((r.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (b.result = e) === !1 && (b.preventDefault(), b.stopPropagation())) - } - return k.postDispatch && k.postDispatch.call(this, b), b.result - } - }, - handlers: function(a, b) { - var c, d, e, f, g, h = [], - i = b.delegateCount, - j = a.target; - if (i && j.nodeType && !("click" === a.type && a.button >= 1)) - for (; j !== this; j = j.parentNode || this) - if (1 === j.nodeType && ("click" !== a.type || j.disabled !== !0)) { - for (f = [], g = {}, c = 0; c < i; c++) d = b[c], e = d.selector + " ", void 0 === g[e] && (g[e] = d.needsContext ? r(e, this).index(j) > -1 : r.find(e, this, null, [j]).length), g[e] && f.push(d); - f.length && h.push({ - elem: j, - handlers: f - }) - } - return j = this, i < b.length && h.push({ - elem: j, - handlers: b.slice(i) - }), h - }, - addProp: function(a, b) { - Object.defineProperty(r.Event.prototype, a, { - enumerable: !0, - configurable: !0, - get: r.isFunction(b) ? function() { - if (this.originalEvent) return b(this.originalEvent) - } : function() { - if (this.originalEvent) return this.originalEvent[a] - }, - set: function(b) { - Object.defineProperty(this, a, { - enumerable: !0, - configurable: !0, - writable: !0, - value: b - }) - } - }) - }, - fix: function(a) { - return a[r.expando] ? a : new r.Event(a) - }, - special: { - load: { - noBubble: !0 - }, - focus: { - trigger: function() { - if (this !== xa() && this.focus) return this.focus(), !1 - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if (this === xa() && this.blur) return this.blur(), !1 - }, - delegateType: "focusout" - }, - click: { - trigger: function() { - if ("checkbox" === this.type && this.click && B(this, "input")) return this.click(), !1 - }, - _default: function(a) { - return B(a.target, "a") - } - }, - beforeunload: { - postDispatch: function(a) { - void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result) - } - } - } - }, r.removeEvent = function(a, b, c) { - a.removeEventListener && a.removeEventListener(b, c) - }, r.Event = function(a, b) { - return this instanceof r.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? va : wa, this.target = a.target && 3 === a.target.nodeType ? a.target.parentNode : a.target, this.currentTarget = a.currentTarget, this.relatedTarget = a.relatedTarget) : this.type = a, b && r.extend(this, b), this.timeStamp = a && a.timeStamp || r.now(), void(this[r.expando] = !0)) : new r.Event(a, b) - }, r.Event.prototype = { - constructor: r.Event, - isDefaultPrevented: wa, - isPropagationStopped: wa, - isImmediatePropagationStopped: wa, - isSimulated: !1, - preventDefault: function() { - var a = this.originalEvent; - this.isDefaultPrevented = va, a && !this.isSimulated && a.preventDefault() - }, - stopPropagation: function() { - var a = this.originalEvent; - this.isPropagationStopped = va, a && !this.isSimulated && a.stopPropagation() - }, - stopImmediatePropagation: function() { - var a = this.originalEvent; - this.isImmediatePropagationStopped = va, a && !this.isSimulated && a.stopImmediatePropagation(), this.stopPropagation() - } - }, r.each({ - altKey: !0, - bubbles: !0, - cancelable: !0, - changedTouches: !0, - ctrlKey: !0, - detail: !0, - eventPhase: !0, - metaKey: !0, - pageX: !0, - pageY: !0, - shiftKey: !0, - view: !0, - "char": !0, - charCode: !0, - key: !0, - keyCode: !0, - button: !0, - buttons: !0, - clientX: !0, - clientY: !0, - offsetX: !0, - offsetY: !0, - pointerId: !0, - pointerType: !0, - screenX: !0, - screenY: !0, - targetTouches: !0, - toElement: !0, - touches: !0, - which: function(a) { - var b = a.button; - return null == a.which && sa.test(a.type) ? null != a.charCode ? a.charCode : a.keyCode : !a.which && void 0 !== b && ta.test(a.type) ? 1 & b ? 1 : 2 & b ? 3 : 4 & b ? 2 : 0 : a.which - } - }, r.event.addProp), r.each({ - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" - }, function(a, b) { - r.event.special[a] = { - delegateType: b, - bindType: b, - handle: function(a) { - var c, d = this, - e = a.relatedTarget, - f = a.handleObj; - return e && (e === d || r.contains(d, e)) || (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c - } - } - }), r.fn.extend({ - on: function(a, b, c, d) { - return ya(this, a, b, c, d) - }, - one: function(a, b, c, d) { - return ya(this, a, b, c, d, 1) - }, - off: function(a, b, c) { - var d, e; - if (a && a.preventDefault && a.handleObj) return d = a.handleObj, r(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this; - if ("object" == typeof a) { - for (e in a) this.off(e, b, a[e]); - return this - } - return b !== !1 && "function" != typeof b || (c = b, b = void 0), c === !1 && (c = wa), this.each(function() { - r.event.remove(this, a, c, b) - }) - } - }); - var za = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, - Aa = /\s*$/g; - - function Ea(a, b) { - return B(a, "table") && B(11 !== b.nodeType ? b : b.firstChild, "tr") ? r(">tbody", a)[0] || a : a - } - - function Fa(a) { - return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a - } - - function Ga(a) { - var b = Ca.exec(a.type); - return b ? a.type = b[1] : a.removeAttribute("type"), a - } - - function Ha(a, b) { - var c, d, e, f, g, h, i, j; - if (1 === b.nodeType) { - if (W.hasData(a) && (f = W.access(a), g = W.set(b, f), j = f.events)) { - delete g.handle, g.events = {}; - for (e in j) - for (c = 0, d = j[e].length; c < d; c++) r.event.add(b, e, j[e][c]) - } - X.hasData(a) && (h = X.access(a), i = r.extend({}, h), X.set(b, i)) - } - } - - function Ia(a, b) { - var c = b.nodeName.toLowerCase(); - "input" === c && ja.test(a.type) ? b.checked = a.checked : "input" !== c && "textarea" !== c || (b.defaultValue = a.defaultValue) - } - - function Ja(a, b, c, d) { - b = g.apply([], b); - var e, f, h, i, j, k, l = 0, - m = a.length, - n = m - 1, - q = b[0], - s = r.isFunction(q); - if (s || m > 1 && "string" == typeof q && !o.checkClone && Ba.test(q)) return a.each(function(e) { - var f = a.eq(e); - s && (b[0] = q.call(this, e, f.html())), Ja(f, b, c, d) - }); - if (m && (e = qa(b, a[0].ownerDocument, !1, a, d), f = e.firstChild, 1 === e.childNodes.length && (e = f), f || d)) { - for (h = r.map(na(e, "script"), Fa), i = h.length; l < m; l++) j = e, l !== n && (j = r.clone(j, !0, !0), i && r.merge(h, na(j, "script"))), c.call(a[l], j, l); - if (i) - for (k = h[h.length - 1].ownerDocument, r.map(h, Ga), l = 0; l < i; l++) j = h[l], la.test(j.type || "") && !W.access(j, "globalEval") && r.contains(k, j) && (j.src ? r._evalUrl && r._evalUrl(j.src) : p(j.textContent.replace(Da, ""), k)) - } - return a - } - - function Ka(a, b, c) { - for (var d, e = b ? r.filter(b, a) : a, f = 0; null != (d = e[f]); f++) c || 1 !== d.nodeType || r.cleanData(na(d)), d.parentNode && (c && r.contains(d.ownerDocument, d) && oa(na(d, "script")), d.parentNode.removeChild(d)); - return a - } - r.extend({ - htmlPrefilter: function(a) { - return a.replace(za, "<$1>") - }, - clone: function(a, b, c) { - var d, e, f, g, h = a.cloneNode(!0), - i = r.contains(a.ownerDocument, a); - if (!(o.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || r.isXMLDoc(a))) - for (g = na(h), f = na(a), d = 0, e = f.length; d < e; d++) Ia(f[d], g[d]); - if (b) - if (c) - for (f = f || na(a), g = g || na(h), d = 0, e = f.length; d < e; d++) Ha(f[d], g[d]); - else Ha(a, h); - return g = na(h, "script"), g.length > 0 && oa(g, !i && na(a, "script")), h - }, - cleanData: function(a) { - for (var b, c, d, e = r.event.special, f = 0; void 0 !== (c = a[f]); f++) - if (U(c)) { - if (b = c[W.expando]) { - if (b.events) - for (d in b.events) e[d] ? r.event.remove(c, d) : r.removeEvent(c, d, b.handle); - c[W.expando] = void 0 - } - c[X.expando] && (c[X.expando] = void 0) - } - } - }), r.fn.extend({ - detach: function(a) { - return Ka(this, a, !0) - }, - remove: function(a) { - return Ka(this, a) - }, - text: function(a) { - return T(this, function(a) { - return void 0 === a ? r.text(this) : this.empty().each(function() { - 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = a) - }) - }, null, a, arguments.length) - }, - append: function() { - return Ja(this, arguments, function(a) { - if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { - var b = Ea(this, a); - b.appendChild(a) - } - }) - }, - prepend: function() { - return Ja(this, arguments, function(a) { - if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { - var b = Ea(this, a); - b.insertBefore(a, b.firstChild) - } - }) - }, - before: function() { - return Ja(this, arguments, function(a) { - this.parentNode && this.parentNode.insertBefore(a, this) - }) - }, - after: function() { - return Ja(this, arguments, function(a) { - this.parentNode && this.parentNode.insertBefore(a, this.nextSibling) - }) - }, - empty: function() { - for (var a, b = 0; null != (a = this[b]); b++) 1 === a.nodeType && (r.cleanData(na(a, !1)), a.textContent = ""); - return this - }, - clone: function(a, b) { - return a = null != a && a, b = null == b ? a : b, this.map(function() { - return r.clone(this, a, b) - }) - }, - html: function(a) { - return T(this, function(a) { - var b = this[0] || {}, - c = 0, - d = this.length; - if (void 0 === a && 1 === b.nodeType) return b.innerHTML; - if ("string" == typeof a && !Aa.test(a) && !ma[(ka.exec(a) || ["", ""])[1].toLowerCase()]) { - a = r.htmlPrefilter(a); - try { - for (; c < d; c++) b = this[c] || {}, 1 === b.nodeType && (r.cleanData(na(b, !1)), b.innerHTML = a); - b = 0 - } catch (e) {} - } - b && this.empty().append(a) - }, null, a, arguments.length) - }, - replaceWith: function() { - var a = []; - return Ja(this, arguments, function(b) { - var c = this.parentNode; - r.inArray(this, a) < 0 && (r.cleanData(na(this)), c && c.replaceChild(b, this)) - }, a) - } - }), r.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" - }, function(a, b) { - r.fn[a] = function(a) { - for (var c, d = [], e = r(a), f = e.length - 1, g = 0; g <= f; g++) c = g === f ? this : this.clone(!0), r(e[g])[b](c), h.apply(d, c.get()); - return this.pushStack(d) - } - }); - var La = /^margin/, - Ma = new RegExp("^(" + aa + ")(?!px)[a-z%]+$", "i"), - Na = function(b) { - var c = b.ownerDocument.defaultView; - return c && c.opener || (c = a), c.getComputedStyle(b) - }; - ! function() { - function b() { - if (i) { - i.style.cssText = "box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%", i.innerHTML = "", ra.appendChild(h); - var b = a.getComputedStyle(i); - c = "1%" !== b.top, g = "2px" === b.marginLeft, e = "4px" === b.width, i.style.marginRight = "50%", f = "4px" === b.marginRight, ra.removeChild(h), i = null - } - } - var c, e, f, g, h = d.createElement("div"), - i = d.createElement("div"); - i.style && (i.style.backgroundClip = "content-box", i.cloneNode(!0).style.backgroundClip = "", o.clearCloneStyle = "content-box" === i.style.backgroundClip, h.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute", h.appendChild(i), r.extend(o, { - pixelPosition: function() { - return b(), c - }, - boxSizingReliable: function() { - return b(), e - }, - pixelMarginRight: function() { - return b(), f - }, - reliableMarginLeft: function() { - return b(), g - } - })) - }(); - - function Oa(a, b, c) { - var d, e, f, g, h = a.style; - return c = c || Na(a), c && (g = c.getPropertyValue(b) || c[b], "" !== g || r.contains(a.ownerDocument, a) || (g = r.style(a, b)), !o.pixelMarginRight() && Ma.test(g) && La.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 !== g ? g + "" : g - } - - function Pa(a, b) { - return { - get: function() { - return a() ? void delete this.get : (this.get = b).apply(this, arguments) - } - } - } - var Qa = /^(none|table(?!-c[ea]).+)/, - Ra = /^--/, - Sa = { - position: "absolute", - visibility: "hidden", - display: "block" - }, - Ta = { - letterSpacing: "0", - fontWeight: "400" - }, - Ua = ["Webkit", "Moz", "ms"], - Va = d.createElement("div").style; - - function Wa(a) { - if (a in Va) return a; - var b = a[0].toUpperCase() + a.slice(1), - c = Ua.length; - while (c--) - if (a = Ua[c] + b, a in Va) return a - } - - function Xa(a) { - var b = r.cssProps[a]; - return b || (b = r.cssProps[a] = Wa(a) || a), b - } - - function Ya(a, b, c) { - var d = ba.exec(b); - return d ? Math.max(0, d[2] - (c || 0)) + (d[3] || "px") : b - } - - function Za(a, b, c, d, e) { - var f, g = 0; - for (f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0; f < 4; f += 2) "margin" === c && (g += r.css(a, c + ca[f], !0, e)), d ? ("content" === c && (g -= r.css(a, "padding" + ca[f], !0, e)), "margin" !== c && (g -= r.css(a, "border" + ca[f] + "Width", !0, e))) : (g += r.css(a, "padding" + ca[f], !0, e), "padding" !== c && (g += r.css(a, "border" + ca[f] + "Width", !0, e))); - return g - } - - function $a(a, b, c) { - var d, e = Na(a), - f = Oa(a, b, e), - g = "border-box" === r.css(a, "boxSizing", !1, e); - return Ma.test(f) ? f : (d = g && (o.boxSizingReliable() || f === a.style[b]), "auto" === f && (f = a["offset" + b[0].toUpperCase() + b.slice(1)]), f = parseFloat(f) || 0, f + Za(a, b, c || (g ? "border" : "content"), d, e) + "px") - } - r.extend({ - cssHooks: { - opacity: { - get: function(a, b) { - if (b) { - var c = Oa(a, "opacity"); - return "" === c ? "1" : c - } - } - } - }, - cssNumber: { - animationIterationCount: !0, - columnCount: !0, - fillOpacity: !0, - flexGrow: !0, - flexShrink: !0, - fontWeight: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - widows: !0, - zIndex: !0, - zoom: !0 - }, - cssProps: { - "float": "cssFloat" - }, - style: function(a, b, c, d) { - if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) { - var e, f, g, h = r.camelCase(b), - i = Ra.test(b), - j = a.style; - return i || (b = Xa(h)), g = r.cssHooks[b] || r.cssHooks[h], void 0 === c ? g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : j[b] : (f = typeof c, "string" === f && (e = ba.exec(c)) && e[1] && (c = fa(a, b, e), f = "number"), null != c && c === c && ("number" === f && (c += e && e[3] || (r.cssNumber[h] ? "" : "px")), o.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (j[b] = "inherit"), g && "set" in g && void 0 === (c = g.set(a, c, d)) || (i ? j.setProperty(b, c) : j[b] = c)), void 0) - } - }, - css: function(a, b, c, d) { - var e, f, g, h = r.camelCase(b), - i = Ra.test(b); - return i || (b = Xa(h)), g = r.cssHooks[b] || r.cssHooks[h], g && "get" in g && (e = g.get(a, !0, c)), void 0 === e && (e = Oa(a, b, d)), "normal" === e && b in Ta && (e = Ta[b]), "" === c || c ? (f = parseFloat(e), c === !0 || isFinite(f) ? f || 0 : e) : e - } - }), r.each(["height", "width"], function(a, b) { - r.cssHooks[b] = { - get: function(a, c, d) { - if (c) return !Qa.test(r.css(a, "display")) || a.getClientRects().length && a.getBoundingClientRect().width ? $a(a, b, d) : ea(a, Sa, function() { - return $a(a, b, d) - }) - }, - set: function(a, c, d) { - var e, f = d && Na(a), - g = d && Za(a, b, d, "border-box" === r.css(a, "boxSizing", !1, f), f); - return g && (e = ba.exec(c)) && "px" !== (e[3] || "px") && (a.style[b] = c, c = r.css(a, b)), Ya(a, c, g) - } - } - }), r.cssHooks.marginLeft = Pa(o.reliableMarginLeft, function(a, b) { - if (b) return (parseFloat(Oa(a, "marginLeft")) || a.getBoundingClientRect().left - ea(a, { - marginLeft: 0 - }, function() { - return a.getBoundingClientRect().left - })) + "px" - }), r.each({ - margin: "", - padding: "", - border: "Width" - }, function(a, b) { - r.cssHooks[a + b] = { - expand: function(c) { - for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; d < 4; d++) e[a + ca[d] + b] = f[d] || f[d - 2] || f[0]; - return e - } - }, La.test(a) || (r.cssHooks[a + b].set = Ya) - }), r.fn.extend({ - css: function(a, b) { - return T(this, function(a, b, c) { - var d, e, f = {}, - g = 0; - if (Array.isArray(b)) { - for (d = Na(a), e = b.length; g < e; g++) f[b[g]] = r.css(a, b[g], !1, d); - return f - } - return void 0 !== c ? r.style(a, b, c) : r.css(a, b) - }, a, b, arguments.length > 1) - } - }); - - function _a(a, b, c, d, e) { - return new _a.prototype.init(a, b, c, d, e) - } - r.Tween = _a, _a.prototype = { - constructor: _a, - init: function(a, b, c, d, e, f) { - this.elem = a, this.prop = c, this.easing = e || r.easing._default, this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (r.cssNumber[c] ? "" : "px") - }, - cur: function() { - var a = _a.propHooks[this.prop]; - return a && a.get ? a.get(this) : _a.propHooks._default.get(this) - }, - run: function(a) { - var b, c = _a.propHooks[this.prop]; - return this.options.duration ? this.pos = b = r.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : this.pos = b = a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : _a.propHooks._default.set(this), this - } - }, _a.prototype.init.prototype = _a.prototype, _a.propHooks = { - _default: { - get: function(a) { - var b; - return 1 !== a.elem.nodeType || null != a.elem[a.prop] && null == a.elem.style[a.prop] ? a.elem[a.prop] : (b = r.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) - }, - set: function(a) { - r.fx.step[a.prop] ? r.fx.step[a.prop](a) : 1 !== a.elem.nodeType || null == a.elem.style[r.cssProps[a.prop]] && !r.cssHooks[a.prop] ? a.elem[a.prop] = a.now : r.style(a.elem, a.prop, a.now + a.unit) - } - } - }, _a.propHooks.scrollTop = _a.propHooks.scrollLeft = { - set: function(a) { - a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now) - } - }, r.easing = { - linear: function(a) { - return a - }, - swing: function(a) { - return .5 - Math.cos(a * Math.PI) / 2 - }, - _default: "swing" - }, r.fx = _a.prototype.init, r.fx.step = {}; - var ab, bb, cb = /^(?:toggle|show|hide)$/, - db = /queueHooks$/; - - function eb() { - bb && (d.hidden === !1 && a.requestAnimationFrame ? a.requestAnimationFrame(eb) : a.setTimeout(eb, r.fx.interval), r.fx.tick()) - } - - function fb() { - return a.setTimeout(function() { - ab = void 0 - }), ab = r.now() - } - - function gb(a, b) { - var c, d = 0, - e = { - height: a - }; - for (b = b ? 1 : 0; d < 4; d += 2 - b) c = ca[d], e["margin" + c] = e["padding" + c] = a; - return b && (e.opacity = e.width = a), e - } - - function hb(a, b, c) { - for (var d, e = (kb.tweeners[b] || []).concat(kb.tweeners["*"]), f = 0, g = e.length; f < g; f++) - if (d = e[f].call(c, b, a)) return d - } - - function ib(a, b, c) { - var d, e, f, g, h, i, j, k, l = "width" in b || "height" in b, - m = this, - n = {}, - o = a.style, - p = a.nodeType && da(a), - q = W.get(a, "fxshow"); - c.queue || (g = r._queueHooks(a, "fx"), null == g.unqueued && (g.unqueued = 0, h = g.empty.fire, g.empty.fire = function() { - g.unqueued || h() - }), g.unqueued++, m.always(function() { - m.always(function() { - g.unqueued--, r.queue(a, "fx").length || g.empty.fire() - }) - })); - for (d in b) - if (e = b[d], cb.test(e)) { - if (delete b[d], f = f || "toggle" === e, e === (p ? "hide" : "show")) { - if ("show" !== e || !q || void 0 === q[d]) continue; - p = !0 - } - n[d] = q && q[d] || r.style(a, d) - } - if (i = !r.isEmptyObject(b), i || !r.isEmptyObject(n)) { - l && 1 === a.nodeType && (c.overflow = [o.overflow, o.overflowX, o.overflowY], j = q && q.display, null == j && (j = W.get(a, "display")), k = r.css(a, "display"), "none" === k && (j ? k = j : (ia([a], !0), j = a.style.display || j, k = r.css(a, "display"), ia([a]))), ("inline" === k || "inline-block" === k && null != j) && "none" === r.css(a, "float") && (i || (m.done(function() { - o.display = j - }), null == j && (k = o.display, j = "none" === k ? "" : k)), o.display = "inline-block")), c.overflow && (o.overflow = "hidden", m.always(function() { - o.overflow = c.overflow[0], o.overflowX = c.overflow[1], o.overflowY = c.overflow[2] - })), i = !1; - for (d in n) i || (q ? "hidden" in q && (p = q.hidden) : q = W.access(a, "fxshow", { - display: j - }), f && (q.hidden = !p), p && ia([a], !0), m.done(function() { - p || ia([a]), W.remove(a, "fxshow"); - for (d in n) r.style(a, d, n[d]) - })), i = hb(p ? q[d] : 0, d, m), d in q || (q[d] = i.start, p && (i.end = i.start, i.start = 0)) - } - } - - function jb(a, b) { - var c, d, e, f, g; - for (c in a) - if (d = r.camelCase(c), e = b[d], f = a[c], Array.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = r.cssHooks[d], g && "expand" in g) { - f = g.expand(f), delete a[d]; - for (c in f) c in a || (a[c] = f[c], b[c] = e) - } else b[d] = e - } - - function kb(a, b, c) { - var d, e, f = 0, - g = kb.prefilters.length, - h = r.Deferred().always(function() { - delete i.elem - }), - i = function() { - if (e) return !1; - for (var b = ab || fb(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; g < i; g++) j.tweens[g].run(f); - return h.notifyWith(a, [j, f, c]), f < 1 && i ? c : (i || h.notifyWith(a, [j, 1, 0]), h.resolveWith(a, [j]), !1) - }, - j = h.promise({ - elem: a, - props: r.extend({}, b), - opts: r.extend(!0, { - specialEasing: {}, - easing: r.easing._default - }, c), - originalProperties: b, - originalOptions: c, - startTime: ab || fb(), - duration: c.duration, - tweens: [], - createTween: function(b, c) { - var d = r.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing); - return j.tweens.push(d), d - }, - stop: function(b) { - var c = 0, - d = b ? j.tweens.length : 0; - if (e) return this; - for (e = !0; c < d; c++) j.tweens[c].run(1); - return b ? (h.notifyWith(a, [j, 1, 0]), h.resolveWith(a, [j, b])) : h.rejectWith(a, [j, b]), this - } - }), - k = j.props; - for (jb(k, j.opts.specialEasing); f < g; f++) - if (d = kb.prefilters[f].call(j, a, k, j.opts)) return r.isFunction(d.stop) && (r._queueHooks(j.elem, j.opts.queue).stop = r.proxy(d.stop, d)), d; - return r.map(k, hb, j), r.isFunction(j.opts.start) && j.opts.start.call(a, j), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always), r.fx.timer(r.extend(i, { - elem: a, - anim: j, - queue: j.opts.queue - })), j - } - r.Animation = r.extend(kb, { - tweeners: { - "*": [function(a, b) { - var c = this.createTween(a, b); - return fa(c.elem, a, ba.exec(b), c), c - }] - }, - tweener: function(a, b) { - r.isFunction(a) ? (b = a, a = ["*"]) : a = a.match(L); - for (var c, d = 0, e = a.length; d < e; d++) c = a[d], kb.tweeners[c] = kb.tweeners[c] || [], kb.tweeners[c].unshift(b) - }, - prefilters: [ib], - prefilter: function(a, b) { - b ? kb.prefilters.unshift(a) : kb.prefilters.push(a) - } - }), r.speed = function(a, b, c) { - var d = a && "object" == typeof a ? r.extend({}, a) : { - complete: c || !c && b || r.isFunction(a) && a, - duration: a, - easing: c && b || b && !r.isFunction(b) && b - }; - return r.fx.off ? d.duration = 0 : "number" != typeof d.duration && (d.duration in r.fx.speeds ? d.duration = r.fx.speeds[d.duration] : d.duration = r.fx.speeds._default), null != d.queue && d.queue !== !0 || (d.queue = "fx"), d.old = d.complete, d.complete = function() { - r.isFunction(d.old) && d.old.call(this), d.queue && r.dequeue(this, d.queue) - }, d - }, r.fn.extend({ - fadeTo: function(a, b, c, d) { - return this.filter(da).css("opacity", 0).show().end().animate({ - opacity: b - }, a, c, d) - }, - animate: function(a, b, c, d) { - var e = r.isEmptyObject(a), - f = r.speed(b, c, d), - g = function() { - var b = kb(this, r.extend({}, a), f); - (e || W.get(this, "finish")) && b.stop(!0) - }; - return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g) - }, - stop: function(a, b, c) { - var d = function(a) { - var b = a.stop; - delete a.stop, b(c) - }; - return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function() { - var b = !0, - e = null != a && a + "queueHooks", - f = r.timers, - g = W.get(this); - if (e) g[e] && g[e].stop && d(g[e]); - else - for (e in g) g[e] && g[e].stop && db.test(e) && d(g[e]); - for (e = f.length; e--;) f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1)); - !b && c || r.dequeue(this, a) - }) - }, - finish: function(a) { - return a !== !1 && (a = a || "fx"), this.each(function() { - var b, c = W.get(this), - d = c[a + "queue"], - e = c[a + "queueHooks"], - f = r.timers, - g = d ? d.length : 0; - for (c.finish = !0, r.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;) f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1)); - for (b = 0; b < g; b++) d[b] && d[b].finish && d[b].finish.call(this); - delete c.finish - }) - } - }), r.each(["toggle", "show", "hide"], function(a, b) { - var c = r.fn[b]; - r.fn[b] = function(a, d, e) { - return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(gb(b, !0), a, d, e) - } - }), r.each({ - slideDown: gb("show"), - slideUp: gb("hide"), - slideToggle: gb("toggle"), - fadeIn: { - opacity: "show" - }, - fadeOut: { - opacity: "hide" - }, - fadeToggle: { - opacity: "toggle" - } - }, function(a, b) { - r.fn[a] = function(a, c, d) { - return this.animate(b, a, c, d) - } - }), r.timers = [], r.fx.tick = function() { - var a, b = 0, - c = r.timers; - for (ab = r.now(); b < c.length; b++) a = c[b], a() || c[b] !== a || c.splice(b--, 1); - c.length || r.fx.stop(), ab = void 0 - }, r.fx.timer = function(a) { - r.timers.push(a), r.fx.start() - }, r.fx.interval = 13, r.fx.start = function() { - bb || (bb = !0, eb()) - }, r.fx.stop = function() { - bb = null - }, r.fx.speeds = { - slow: 600, - fast: 200, - _default: 400 - }, r.fn.delay = function(b, c) { - return b = r.fx ? r.fx.speeds[b] || b : b, c = c || "fx", this.queue(c, function(c, d) { - var e = a.setTimeout(c, b); - d.stop = function() { - a.clearTimeout(e) - } - }) - }, - function() { - var a = d.createElement("input"), - b = d.createElement("select"), - c = b.appendChild(d.createElement("option")); - a.type = "checkbox", o.checkOn = "" !== a.value, o.optSelected = c.selected, a = d.createElement("input"), a.value = "t", a.type = "radio", o.radioValue = "t" === a.value - }(); - var lb, mb = r.expr.attrHandle; - r.fn.extend({ - attr: function(a, b) { - return T(this, r.attr, a, b, arguments.length > 1) - }, - removeAttr: function(a) { - return this.each(function() { - r.removeAttr(this, a) - }) - } - }), r.extend({ - attr: function(a, b, c) { - var d, e, f = a.nodeType; - if (3 !== f && 8 !== f && 2 !== f) return "undefined" == typeof a.getAttribute ? r.prop(a, b, c) : (1 === f && r.isXMLDoc(a) || (e = r.attrHooks[b.toLowerCase()] || (r.expr.match.bool.test(b) ? lb : void 0)), void 0 !== c ? null === c ? void r.removeAttr(a, b) : e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : (a.setAttribute(b, c + ""), c) : e && "get" in e && null !== (d = e.get(a, b)) ? d : (d = r.find.attr(a, b), - null == d ? void 0 : d)) - }, - attrHooks: { - type: { - set: function(a, b) { - if (!o.radioValue && "radio" === b && B(a, "input")) { - var c = a.value; - return a.setAttribute("type", b), c && (a.value = c), b - } - } - } - }, - removeAttr: function(a, b) { - var c, d = 0, - e = b && b.match(L); - if (e && 1 === a.nodeType) - while (c = e[d++]) a.removeAttribute(c) - } - }), lb = { - set: function(a, b, c) { - return b === !1 ? r.removeAttr(a, c) : a.setAttribute(c, c), c - } - }, r.each(r.expr.match.bool.source.match(/\w+/g), function(a, b) { - var c = mb[b] || r.find.attr; - mb[b] = function(a, b, d) { - var e, f, g = b.toLowerCase(); - return d || (f = mb[g], mb[g] = e, e = null != c(a, b, d) ? g : null, mb[g] = f), e - } - }); - var nb = /^(?:input|select|textarea|button)$/i, - ob = /^(?:a|area)$/i; - r.fn.extend({ - prop: function(a, b) { - return T(this, r.prop, a, b, arguments.length > 1) - }, - removeProp: function(a) { - return this.each(function() { - delete this[r.propFix[a] || a] - }) - } - }), r.extend({ - prop: function(a, b, c) { - var d, e, f = a.nodeType; - if (3 !== f && 8 !== f && 2 !== f) return 1 === f && r.isXMLDoc(a) || (b = r.propFix[b] || b, e = r.propHooks[b]), void 0 !== c ? e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get" in e && null !== (d = e.get(a, b)) ? d : a[b] - }, - propHooks: { - tabIndex: { - get: function(a) { - var b = r.find.attr(a, "tabindex"); - return b ? parseInt(b, 10) : nb.test(a.nodeName) || ob.test(a.nodeName) && a.href ? 0 : -1 - } - } - }, - propFix: { - "for": "htmlFor", - "class": "className" - } - }), o.optSelected || (r.propHooks.selected = { - get: function(a) { - var b = a.parentNode; - return b && b.parentNode && b.parentNode.selectedIndex, null - }, - set: function(a) { - var b = a.parentNode; - b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex) - } - }), r.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() { - r.propFix[this.toLowerCase()] = this - }); - - function pb(a) { - var b = a.match(L) || []; - return b.join(" ") - } - - function qb(a) { - return a.getAttribute && a.getAttribute("class") || "" - } - r.fn.extend({ - addClass: function(a) { - var b, c, d, e, f, g, h, i = 0; - if (r.isFunction(a)) return this.each(function(b) { - r(this).addClass(a.call(this, b, qb(this))) - }); - if ("string" == typeof a && a) { - b = a.match(L) || []; - while (c = this[i++]) - if (e = qb(c), d = 1 === c.nodeType && " " + pb(e) + " ") { - g = 0; - while (f = b[g++]) d.indexOf(" " + f + " ") < 0 && (d += f + " "); - h = pb(d), e !== h && c.setAttribute("class", h) - } - } - return this - }, - removeClass: function(a) { - var b, c, d, e, f, g, h, i = 0; - if (r.isFunction(a)) return this.each(function(b) { - r(this).removeClass(a.call(this, b, qb(this))) - }); - if (!arguments.length) return this.attr("class", ""); - if ("string" == typeof a && a) { - b = a.match(L) || []; - while (c = this[i++]) - if (e = qb(c), d = 1 === c.nodeType && " " + pb(e) + " ") { - g = 0; - while (f = b[g++]) - while (d.indexOf(" " + f + " ") > -1) d = d.replace(" " + f + " ", " "); - h = pb(d), e !== h && c.setAttribute("class", h) - } - } - return this - }, - toggleClass: function(a, b) { - var c = typeof a; - return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : r.isFunction(a) ? this.each(function(c) { - r(this).toggleClass(a.call(this, c, qb(this), b), b) - }) : this.each(function() { - var b, d, e, f; - if ("string" === c) { - d = 0, e = r(this), f = a.match(L) || []; - while (b = f[d++]) e.hasClass(b) ? e.removeClass(b) : e.addClass(b) - } else void 0 !== a && "boolean" !== c || (b = qb(this), b && W.set(this, "__className__", b), this.setAttribute && this.setAttribute("class", b || a === !1 ? "" : W.get(this, "__className__") || "")) - }) - }, - hasClass: function(a) { - var b, c, d = 0; - b = " " + a + " "; - while (c = this[d++]) - if (1 === c.nodeType && (" " + pb(qb(c)) + " ").indexOf(b) > -1) return !0; - return !1 - } - }); - var rb = /\r/g; - r.fn.extend({ - val: function(a) { - var b, c, d, e = this[0]; { - if (arguments.length) return d = r.isFunction(a), this.each(function(c) { - var e; - 1 === this.nodeType && (e = d ? a.call(this, c, r(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : Array.isArray(e) && (e = r.map(e, function(a) { - return null == a ? "" : a + "" - })), b = r.valHooks[this.type] || r.valHooks[this.nodeName.toLowerCase()], b && "set" in b && void 0 !== b.set(this, e, "value") || (this.value = e)) - }); - if (e) return b = r.valHooks[e.type] || r.valHooks[e.nodeName.toLowerCase()], b && "get" in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(rb, "") : null == c ? "" : c) - } - } - }), r.extend({ - valHooks: { - option: { - get: function(a) { - var b = r.find.attr(a, "value"); - return null != b ? b : pb(r.text(a)) - } - }, - select: { - get: function(a) { - var b, c, d, e = a.options, - f = a.selectedIndex, - g = "select-one" === a.type, - h = g ? null : [], - i = g ? f + 1 : e.length; - for (d = f < 0 ? i : g ? f : 0; d < i; d++) - if (c = e[d], (c.selected || d === f) && !c.disabled && (!c.parentNode.disabled || !B(c.parentNode, "optgroup"))) { - if (b = r(c).val(), g) return b; - h.push(b) - } - return h - }, - set: function(a, b) { - var c, d, e = a.options, - f = r.makeArray(b), - g = e.length; - while (g--) d = e[g], (d.selected = r.inArray(r.valHooks.option.get(d), f) > -1) && (c = !0); - return c || (a.selectedIndex = -1), f - } - } - } - }), r.each(["radio", "checkbox"], function() { - r.valHooks[this] = { - set: function(a, b) { - if (Array.isArray(b)) return a.checked = r.inArray(r(a).val(), b) > -1 - } - }, o.checkOn || (r.valHooks[this].get = function(a) { - return null === a.getAttribute("value") ? "on" : a.value - }) - }); - var sb = /^(?:focusinfocus|focusoutblur)$/; - r.extend(r.event, { - trigger: function(b, c, e, f) { - var g, h, i, j, k, m, n, o = [e || d], - p = l.call(b, "type") ? b.type : b, - q = l.call(b, "namespace") ? b.namespace.split(".") : []; - if (h = i = e = e || d, 3 !== e.nodeType && 8 !== e.nodeType && !sb.test(p + r.event.triggered) && (p.indexOf(".") > -1 && (q = p.split("."), p = q.shift(), q.sort()), k = p.indexOf(":") < 0 && "on" + p, b = b[r.expando] ? b : new r.Event(p, "object" == typeof b && b), b.isTrigger = f ? 2 : 3, b.namespace = q.join("."), b.rnamespace = b.namespace ? new RegExp("(^|\\.)" + q.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = e), c = null == c ? [b] : r.makeArray(c, [b]), n = r.event.special[p] || {}, f || !n.trigger || n.trigger.apply(e, c) !== !1)) { - if (!f && !n.noBubble && !r.isWindow(e)) { - for (j = n.delegateType || p, sb.test(j + p) || (h = h.parentNode); h; h = h.parentNode) o.push(h), i = h; - i === (e.ownerDocument || d) && o.push(i.defaultView || i.parentWindow || a) - } - g = 0; - while ((h = o[g++]) && !b.isPropagationStopped()) b.type = g > 1 ? j : n.bindType || p, m = (W.get(h, "events") || {})[b.type] && W.get(h, "handle"), m && m.apply(h, c), m = k && h[k], m && m.apply && U(h) && (b.result = m.apply(h, c), b.result === !1 && b.preventDefault()); - return b.type = p, f || b.isDefaultPrevented() || n._default && n._default.apply(o.pop(), c) !== !1 || !U(e) || k && r.isFunction(e[p]) && !r.isWindow(e) && (i = e[k], i && (e[k] = null), r.event.triggered = p, e[p](), r.event.triggered = void 0, i && (e[k] = i)), b.result - } - }, - simulate: function(a, b, c) { - var d = r.extend(new r.Event, c, { - type: a, - isSimulated: !0 - }); - r.event.trigger(d, null, b) - } - }), r.fn.extend({ - trigger: function(a, b) { - return this.each(function() { - r.event.trigger(a, b, this) - }) - }, - triggerHandler: function(a, b) { - var c = this[0]; - if (c) return r.event.trigger(a, b, c, !0) - } - }), r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(a, b) { - r.fn[b] = function(a, c) { - return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b) - } - }), r.fn.extend({ - hover: function(a, b) { - return this.mouseenter(a).mouseleave(b || a) - } - }), o.focusin = "onfocusin" in a, o.focusin || r.each({ - focus: "focusin", - blur: "focusout" - }, function(a, b) { - var c = function(a) { - r.event.simulate(b, a.target, r.event.fix(a)) - }; - r.event.special[b] = { - setup: function() { - var d = this.ownerDocument || this, - e = W.access(d, b); - e || d.addEventListener(a, c, !0), W.access(d, b, (e || 0) + 1) - }, - teardown: function() { - var d = this.ownerDocument || this, - e = W.access(d, b) - 1; - e ? W.access(d, b, e) : (d.removeEventListener(a, c, !0), W.remove(d, b)) - } - } - }); - var tb = a.location, - ub = r.now(), - vb = /\?/; - r.parseXML = function(b) { - var c; - if (!b || "string" != typeof b) return null; - try { - c = (new a.DOMParser).parseFromString(b, "text/xml") - } catch (d) { - c = void 0 - } - return c && !c.getElementsByTagName("parsererror").length || r.error("Invalid XML: " + b), c - }; - var wb = /\[\]$/, - xb = /\r?\n/g, - yb = /^(?:submit|button|image|reset|file)$/i, - zb = /^(?:input|select|textarea|keygen)/i; - - function Ab(a, b, c, d) { - var e; - if (Array.isArray(b)) r.each(b, function(b, e) { - c || wb.test(a) ? d(a, e) : Ab(a + "[" + ("object" == typeof e && null != e ? b : "") + "]", e, c, d) - }); - else if (c || "object" !== r.type(b)) d(a, b); - else - for (e in b) Ab(a + "[" + e + "]", b[e], c, d) - } - r.param = function(a, b) { - var c, d = [], - e = function(a, b) { - var c = r.isFunction(b) ? b() : b; - d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(null == c ? "" : c) - }; - if (Array.isArray(a) || a.jquery && !r.isPlainObject(a)) r.each(a, function() { - e(this.name, this.value) - }); - else - for (c in a) Ab(c, a[c], b, e); - return d.join("&") - }, r.fn.extend({ - serialize: function() { - return r.param(this.serializeArray()) - }, - serializeArray: function() { - return this.map(function() { - var a = r.prop(this, "elements"); - return a ? r.makeArray(a) : this - }).filter(function() { - var a = this.type; - return this.name && !r(this).is(":disabled") && zb.test(this.nodeName) && !yb.test(a) && (this.checked || !ja.test(a)) - }).map(function(a, b) { - var c = r(this).val(); - return null == c ? null : Array.isArray(c) ? r.map(c, function(a) { - return { - name: b.name, - value: a.replace(xb, "\r\n") - } - }) : { - name: b.name, - value: c.replace(xb, "\r\n") - } - }).get() - } - }); - var Bb = /%20/g, - Cb = /#.*$/, - Db = /([?&])_=[^&]*/, - Eb = /^(.*?):[ \t]*([^\r\n]*)$/gm, - Fb = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - Gb = /^(?:GET|HEAD)$/, - Hb = /^\/\//, - Ib = {}, - Jb = {}, - Kb = "*/".concat("*"), - Lb = d.createElement("a"); - Lb.href = tb.href; - - function Mb(a) { - return function(b, c) { - "string" != typeof b && (c = b, b = "*"); - var d, e = 0, - f = b.toLowerCase().match(L) || []; - if (r.isFunction(c)) - while (d = f[e++]) "+" === d[0] ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c) - } - } - - function Nb(a, b, c, d) { - var e = {}, - f = a === Jb; - - function g(h) { - var i; - return e[h] = !0, r.each(a[h] || [], function(a, h) { - var j = h(b, c, d); - return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1) - }), i - } - return g(b.dataTypes[0]) || !e["*"] && g("*") - } - - function Ob(a, b) { - var c, d, e = r.ajaxSettings.flatOptions || {}; - for (c in b) void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]); - return d && r.extend(!0, a, d), a - } - - function Pb(a, b, c) { - var d, e, f, g, h = a.contents, - i = a.dataTypes; - while ("*" === i[0]) i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type")); - if (d) - for (e in h) - if (h[e] && h[e].test(d)) { - i.unshift(e); - break - } - if (i[0] in c) f = i[0]; - else { - for (e in c) { - if (!i[0] || a.converters[e + " " + i[0]]) { - f = e; - break - } - g || (g = e) - } - f = f || g - } - if (f) return f !== i[0] && i.unshift(f), c[f] - } - - function Qb(a, b, c, d) { - var e, f, g, h, i, j = {}, - k = a.dataTypes.slice(); - if (k[1]) - for (g in a.converters) j[g.toLowerCase()] = a.converters[g]; - f = k.shift(); - while (f) - if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift()) - if ("*" === f) f = i; - else if ("*" !== i && i !== f) { - if (g = j[i + " " + f] || j["* " + f], !g) - for (e in j) - if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) { - g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1])); - break - } - if (g !== !0) - if (g && a["throws"]) b = g(b); - else try { - b = g(b) - } catch (l) { - return { - state: "parsererror", - error: g ? l : "No conversion from " + i + " to " + f - } - } - } - return { - state: "success", - data: b - } - } - r.extend({ - active: 0, - lastModified: {}, - etag: {}, - ajaxSettings: { - url: tb.href, - type: "GET", - isLocal: Fb.test(tb.protocol), - global: !0, - processData: !0, - async: !0, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - accepts: { - "*": Kb, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - converters: { - "* text": String, - "text html": !0, - "text json": JSON.parse, - "text xml": r.parseXML - }, - flatOptions: { - url: !0, - context: !0 - } - }, - ajaxSetup: function(a, b) { - return b ? Ob(Ob(a, r.ajaxSettings), b) : Ob(r.ajaxSettings, a) - }, - ajaxPrefilter: Mb(Ib), - ajaxTransport: Mb(Jb), - ajax: function(b, c) { - "object" == typeof b && (c = b, b = void 0), c = c || {}; - var e, f, g, h, i, j, k, l, m, n, o = r.ajaxSetup({}, c), - p = o.context || o, - q = o.context && (p.nodeType || p.jquery) ? r(p) : r.event, - s = r.Deferred(), - t = r.Callbacks("once memory"), - u = o.statusCode || {}, - v = {}, - w = {}, - x = "canceled", - y = { - readyState: 0, - getResponseHeader: function(a) { - var b; - if (k) { - if (!h) { - h = {}; - while (b = Eb.exec(g)) h[b[1].toLowerCase()] = b[2] - } - b = h[a.toLowerCase()] - } - return null == b ? null : b - }, - getAllResponseHeaders: function() { - return k ? g : null - }, - setRequestHeader: function(a, b) { - return null == k && (a = w[a.toLowerCase()] = w[a.toLowerCase()] || a, v[a] = b), this - }, - overrideMimeType: function(a) { - return null == k && (o.mimeType = a), this - }, - statusCode: function(a) { - var b; - if (a) - if (k) y.always(a[y.status]); - else - for (b in a) u[b] = [u[b], a[b]]; - return this - }, - abort: function(a) { - var b = a || x; - return e && e.abort(b), A(0, b), this - } - }; - if (s.promise(y), o.url = ((b || o.url || tb.href) + "").replace(Hb, tb.protocol + "//"), o.type = c.method || c.type || o.method || o.type, o.dataTypes = (o.dataType || "*").toLowerCase().match(L) || [""], null == o.crossDomain) { - j = d.createElement("a"); - try { - j.href = o.url, j.href = j.href, o.crossDomain = Lb.protocol + "//" + Lb.host != j.protocol + "//" + j.host - } catch (z) { - o.crossDomain = !0 - } - } - if (o.data && o.processData && "string" != typeof o.data && (o.data = r.param(o.data, o.traditional)), Nb(Ib, o, c, y), k) return y; - l = r.event && o.global, l && 0 === r.active++ && r.event.trigger("ajaxStart"), o.type = o.type.toUpperCase(), o.hasContent = !Gb.test(o.type), f = o.url.replace(Cb, ""), o.hasContent ? o.data && o.processData && 0 === (o.contentType || "").indexOf("application/x-www-form-urlencoded") && (o.data = o.data.replace(Bb, "+")) : (n = o.url.slice(f.length), o.data && (f += (vb.test(f) ? "&" : "?") + o.data, delete o.data), o.cache === !1 && (f = f.replace(Db, "$1"), n = (vb.test(f) ? "&" : "?") + "_=" + ub++ + n), o.url = f + n), o.ifModified && (r.lastModified[f] && y.setRequestHeader("If-Modified-Since", r.lastModified[f]), r.etag[f] && y.setRequestHeader("If-None-Match", r.etag[f])), (o.data && o.hasContent && o.contentType !== !1 || c.contentType) && y.setRequestHeader("Content-Type", o.contentType), y.setRequestHeader("Accept", o.dataTypes[0] && o.accepts[o.dataTypes[0]] ? o.accepts[o.dataTypes[0]] + ("*" !== o.dataTypes[0] ? ", " + Kb + "; q=0.01" : "") : o.accepts["*"]); - for (m in o.headers) y.setRequestHeader(m, o.headers[m]); - if (o.beforeSend && (o.beforeSend.call(p, y, o) === !1 || k)) return y.abort(); - if (x = "abort", t.add(o.complete), y.done(o.success), y.fail(o.error), e = Nb(Jb, o, c, y)) { - if (y.readyState = 1, l && q.trigger("ajaxSend", [y, o]), k) return y; - o.async && o.timeout > 0 && (i = a.setTimeout(function() { - y.abort("timeout") - }, o.timeout)); - try { - k = !1, e.send(v, A) - } catch (z) { - if (k) throw z; - A(-1, z) - } - } else A(-1, "No Transport"); - - function A(b, c, d, h) { - var j, m, n, v, w, x = c; - k || (k = !0, i && a.clearTimeout(i), e = void 0, g = h || "", y.readyState = b > 0 ? 4 : 0, j = b >= 200 && b < 300 || 304 === b, d && (v = Pb(o, y, d)), v = Qb(o, v, y, j), j ? (o.ifModified && (w = y.getResponseHeader("Last-Modified"), w && (r.lastModified[f] = w), w = y.getResponseHeader("etag"), w && (r.etag[f] = w)), 204 === b || "HEAD" === o.type ? x = "nocontent" : 304 === b ? x = "notmodified" : (x = v.state, m = v.data, n = v.error, j = !n)) : (n = x, !b && x || (x = "error", b < 0 && (b = 0))), y.status = b, y.statusText = (c || x) + "", j ? s.resolveWith(p, [m, x, y]) : s.rejectWith(p, [y, x, n]), y.statusCode(u), u = void 0, l && q.trigger(j ? "ajaxSuccess" : "ajaxError", [y, o, j ? m : n]), t.fireWith(p, [y, x]), l && (q.trigger("ajaxComplete", [y, o]), --r.active || r.event.trigger("ajaxStop"))) - } - return y - }, - getJSON: function(a, b, c) { - return r.get(a, b, c, "json") - }, - getScript: function(a, b) { - return r.get(a, void 0, b, "script") - } - }), r.each(["get", "post"], function(a, b) { - r[b] = function(a, c, d, e) { - return r.isFunction(c) && (e = e || d, d = c, c = void 0), r.ajax(r.extend({ - url: a, - type: b, - dataType: e, - data: c, - success: d - }, r.isPlainObject(a) && a)) - } - }), r._evalUrl = function(a) { - return r.ajax({ - url: a, - type: "GET", - dataType: "script", - cache: !0, - async: !1, - global: !1, - "throws": !0 - }) - }, r.fn.extend({ - wrapAll: function(a) { - var b; - return this[0] && (r.isFunction(a) && (a = a.call(this[0])), b = r(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function() { - var a = this; - while (a.firstElementChild) a = a.firstElementChild; - return a - }).append(this)), this - }, - wrapInner: function(a) { - return r.isFunction(a) ? this.each(function(b) { - r(this).wrapInner(a.call(this, b)) - }) : this.each(function() { - var b = r(this), - c = b.contents(); - c.length ? c.wrapAll(a) : b.append(a) - }) - }, - wrap: function(a) { - var b = r.isFunction(a); - return this.each(function(c) { - r(this).wrapAll(b ? a.call(this, c) : a) - }) - }, - unwrap: function(a) { - return this.parent(a).not("body").each(function() { - r(this).replaceWith(this.childNodes) - }), this - } - }), r.expr.pseudos.hidden = function(a) { - return !r.expr.pseudos.visible(a) - }, r.expr.pseudos.visible = function(a) { - return !!(a.offsetWidth || a.offsetHeight || a.getClientRects().length) - }, r.ajaxSettings.xhr = function() { - try { - return new a.XMLHttpRequest - } catch (b) {} - }; - var Rb = { - 0: 200, - 1223: 204 - }, - Sb = r.ajaxSettings.xhr(); - o.cors = !!Sb && "withCredentials" in Sb, o.ajax = Sb = !!Sb, r.ajaxTransport(function(b) { - var c, d; - if (o.cors || Sb && !b.crossDomain) return { - send: function(e, f) { - var g, h = b.xhr(); - if (h.open(b.type, b.url, b.async, b.username, b.password), b.xhrFields) - for (g in b.xhrFields) h[g] = b.xhrFields[g]; - b.mimeType && h.overrideMimeType && h.overrideMimeType(b.mimeType), b.crossDomain || e["X-Requested-With"] || (e["X-Requested-With"] = "XMLHttpRequest"); - for (g in e) h.setRequestHeader(g, e[g]); - c = function(a) { - return function() { - c && (c = d = h.onload = h.onerror = h.onabort = h.onreadystatechange = null, "abort" === a ? h.abort() : "error" === a ? "number" != typeof h.status ? f(0, "error") : f(h.status, h.statusText) : f(Rb[h.status] || h.status, h.statusText, "text" !== (h.responseType || "text") || "string" != typeof h.responseText ? { - binary: h.response - } : { - text: h.responseText - }, h.getAllResponseHeaders())) - } - }, h.onload = c(), d = h.onerror = c("error"), void 0 !== h.onabort ? h.onabort = d : h.onreadystatechange = function() { - 4 === h.readyState && a.setTimeout(function() { - c && d() - }) - }, c = c("abort"); - try { - h.send(b.hasContent && b.data || null) - } catch (i) { - if (c) throw i - } - }, - abort: function() { - c && c() - } - } - }), r.ajaxPrefilter(function(a) { - a.crossDomain && (a.contents.script = !1) - }), r.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function(a) { - return r.globalEval(a), a - } - } - }), r.ajaxPrefilter("script", function(a) { - void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET") - }), r.ajaxTransport("script", function(a) { - if (a.crossDomain) { - var b, c; - return { - send: function(e, f) { - b = r("