diff --git a/.gitignore b/.gitignore index 4cdfd605..9c72ae93 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ packages/*/build packages/*/dist webpack/node_modules +*~ +*# diff --git a/Website.lektorproject b/Website.lektorproject index 966aeff1..f6f43cb0 100644 --- a/Website.lektorproject +++ b/Website.lektorproject @@ -16,3 +16,4 @@ lektor-markdown-header-anchors = 0.1 lektor-markdown-highlighter = 0.1 lektor-markdown-admonition = 0.1 lektor-atom = 0.2 +lektor-tags = 0.1 diff --git a/assets/static/674f50d287a8c48dc19ba404d20fe713.eot b/assets/static/674f50d287a8c48dc19ba404d20fe713.eot new file mode 100644 index 00000000..e9f60ca9 Binary files /dev/null and b/assets/static/674f50d287a8c48dc19ba404d20fe713.eot differ diff --git a/assets/static/912ec66d7572ff821749319396470bde.svg b/assets/static/912ec66d7572ff821749319396470bde.svg new file mode 100644 index 00000000..855c845e --- /dev/null +++ b/assets/static/912ec66d7572ff821749319396470bde.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/static/af7ae505a9eed503f8b8e6982036873e.woff2 b/assets/static/af7ae505a9eed503f8b8e6982036873e.woff2 new file mode 100644 index 00000000..4d13fc60 Binary files /dev/null and b/assets/static/af7ae505a9eed503f8b8e6982036873e.woff2 differ diff --git a/assets/static/app.js b/assets/static/app.js index 51928582..959a786e 100644 --- a/assets/static/app.js +++ b/assets/static/app.js @@ -1,28 +1,33 @@ -!function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){(function(t){"use strict";function e(t){if(document.body.createTextRange){var e=document.body.createTextRange();e.moveToElementText(t),e.select()}else if(window.getSelection){var n=window.getSelection(),i=document.createRange();i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i)}}function i(){var e=t(".badges li").hide();e.length>0&&window.setTimeout(function(){e.fadeIn(500)},1500)}function o(){var e=t(".download-btn");e.length<=0||(e.hide(),t.ajax({method:"GET",url:"https://api.github.com/repos/lektor/lektor/releases",crossDomain:!0}).then(function(t){s(e.toArray(),t)},function(){e.show()}))}function r(t){var e=null,n=null;if(navigator.platform.match(/^mac/i)&&(e=/\.dmg$/,n="For OSX 10.9 and later."),null!=e)for(var i=0;i').appendTo(e),r=t("a",e);s?(r.attr("href",s.url),n.append(t("").text(s.note+" ")),n.append(t("Other platforms").attr("href",o))):r.attr("href",o),r.append(t('').text(i)),t(e).fadeIn("slow")})}function a(){var n=t(".install-row pre");n.length>0&&n.on("dblclick",function(){e(this)})}function l(){var e=t(".google-custom-search");if(0!=e.length){var n="012722186170730423054:utwznhnrrmi",i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=("https:"==document.location.protocol?"https:":"http:")+"//cse.google.com/cse.js?cx="+n;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(i,o),t('\n \n ').appendTo(e),t('\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n ').appendTo(e);var r=u.parse(location.search);r.q&&t('input[name="q"]',e).val(r.q)}}function c(){navigator.appVersion.indexOf("Win")>=0&&t(".hide-for-windows").hide()}n(2);var u=n(16);t(function(){i(),o(),a(),l(),c()})}).call(e,n(1))},function(t,e,n){var i,o;/*! - * jQuery JavaScript Library v3.1.0 +!function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){(function(t){"use strict";function e(t){if(document.body.createTextRange){var e=document.body.createTextRange();e.moveToElementText(t),e.select()}else if(window.getSelection){var n=window.getSelection(),i=document.createRange();i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i)}}function i(){var e=t(".badges li").hide();e.length>0&&window.setTimeout(function(){e.fadeIn(500)},1500)}function o(){var e=t(".download-btn");e.length<=0||(e.hide(),t.ajax({method:"GET",url:"https://api.github.com/repos/lektor/lektor/releases",crossDomain:!0}).then(function(t){s(e.toArray(),t)},function(){e.show()}))}function r(t){var e=null,n=null;if(navigator.platform.match(/^mac/i)&&(e=/\.dmg$/,n="For OSX 10.9 and later."),null!=e)for(var i=0;i').appendTo(e),r=t("a",e);s?(r.attr("href",s.url),n.append(t("").text(s.note+" ")),n.append(t("Other platforms").attr("href",o))):r.attr("href",o),r.append(t('').text(i)),t(e).fadeIn("slow")})}function a(){var n=t(".install-row pre");n.length>0&&n.on("dblclick",function(){e(this)})}function l(){var e=t(".google-custom-search");if(0!=e.length){var n="012722186170730423054:utwznhnrrmi",i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=("https:"==document.location.protocol?"https:":"http:")+"//cse.google.com/cse.js?cx="+n;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(i,o),t('\n \n ').appendTo(e),t('\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n ').appendTo(e);var r=c.parse(location.search);r.q&&t('input[name="q"]',e).val(r.q)}}function u(){navigator.appVersion.indexOf("Win")>=0&&t(".hide-for-windows").hide()}n(2);var c=n(16);t(function(){i(),o(),a(),l(),u()})}).call(e,n(1))},function(t,e,n){var i,o;/*! + * jQuery JavaScript Library v3.3.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * - * Copyright jQuery Foundation and other contributors + * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * - * Date: 2016-07-07T21:44Z + * Date: 2018-01-20T17:24Z */ -!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,r){"use strict";function s(t,e){e=e||it;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function a(t){var e=!!t&&"length"in t&&t.length,n=vt.type(t);return"function"!==n&&!vt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function l(t,e,n){if(vt.isFunction(e))return vt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return vt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(kt.test(e))return vt.filter(e,t,n);e=vt.filter(e,t)}return vt.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 u(t){var e={};return vt.each(t.match(Ot)||[],function(t,n){e[n]=!0}),e}function f(t){return t}function p(t){throw t}function d(t,e,n){var i;try{t&&vt.isFunction(i=t.promise)?i.call(t).done(e).fail(n):t&&vt.isFunction(i=t.then)?i.call(t,e,n):e.call(void 0,t)}catch(t){n.call(void 0,t)}}function h(){it.removeEventListener("DOMContentLoaded",h),n.removeEventListener("load",h),vt.ready()}function g(){this.expando=vt.expando+g.uid++}function v(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Wt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ht.test(n)?JSON.parse(n):n)}catch(o){}Ft.set(t,e,n)}else n=void 0;return n}function m(t,e,n,i){var o,r=1,s=20,a=i?function(){return i.cur()}:function(){return vt.css(t,e,"")},l=a(),c=n&&n[3]||(vt.cssNumber[e]?"":"px"),u=(vt.cssNumber[e]||"px"!==c&&+l)&&Ut.exec(vt.css(t,e));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do r=r||".5",u/=r,vt.style(t,e,u+c);while(r!==(r=a()/l)&&1!==r&&--s)}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}function y(t){var e,n=t.ownerDocument,i=t.nodeName,o=Vt[i];return o?o:(e=n.body.appendChild(n.createElement(i)),o=vt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),Vt[i]=o,o)}function b(t,e){for(var n,i,o=[],r=0,s=t.length;r-1)o&&o.push(r);else if(c=vt.contains(r.ownerDocument,r),s=x(f.appendChild(r),"script"),c&&w(s),n)for(u=0;r=s[u++];)Yt.test(r.type||"")&&n.push(r);return f}function C(){return!0}function E(){return!1}function S(){try{return it.activeElement}catch(t){}}function k(t,e,n,i,o,r){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(a in e)k(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===!1)o=E;else if(!o)return t;return 1===r&&(s=o,o=function(t){return vt().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=vt.guid++)),t.each(function(){vt.event.add(this,e,o,i,n)})}function $(t,e){return vt.nodeName(t,"table")&&vt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t:t}function N(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function D(t){var e=re.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function A(t,e){var n,i,o,r,s,a,l,c;if(1===e.nodeType){if(Pt.hasData(t)&&(r=Pt.access(t),s=Pt.set(e,r),c=r.events)){delete s.handle,s.events={};for(o in c)for(n=0,i=c[o].length;n1&&"string"==typeof h&&!ht.checkClone&&oe.test(h))return t.each(function(o){var r=t.eq(o);g&&(e[0]=h.call(this,o,r.html())),O(r,e,n,i)});if(p&&(o=T(e,t[0].ownerDocument,!1,t,i),r=o.firstChild,1===o.childNodes.length&&(o=r),r||i)){for(a=vt.map(x(o,"script"),N),l=a.length;f=0&&n0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function c(t,e,n){return Tt(e)?kt.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?kt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?kt.grep(t,function(t){return gt.call(e,t)>-1!==n}):kt.filter(e,t,n)}function f(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function p(t){var e={};return kt.each(t.match(Ht)||[],function(t,n){e[n]=!0}),e}function d(t){return t}function h(t){throw t}function g(t,e,n,i){var o;try{t&&Tt(o=t.promise)?o.call(t).done(e).fail(n):t&&Tt(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function v(){ct.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v),kt.ready()}function m(t,e){return e.toUpperCase()}function y(t){return t.replace(Wt,"ms-").replace(Bt,m)}function b(){this.expando=kt.expando+b.uid++}function x(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Xt.test(t)?JSON.parse(t):t)}function w(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Gt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n=x(n)}catch(t){}Vt.set(t,e,n)}else n=void 0;return n}function T(t,e,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return kt.css(t,e,"")},l=a(),u=n&&n[3]||(kt.cssNumber[e]?"":"px"),c=(kt.cssNumber[e]||"px"!==u&&+l)&&Qt.exec(kt.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)kt.style(t,e,c+u),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),c/=r;c*=2,kt.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}function C(t){var e,n=t.ownerDocument,i=t.nodeName,o=te[i];return o?o:(e=n.body.appendChild(n.createElement(i)),o=kt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),te[i]=o,o)}function E(t,e){for(var n,i,o=[],r=0,s=t.length;r-1)o&&o.push(r);else if(c=kt.contains(r.ownerDocument,r),s=S(p.appendChild(r),"script"),c&&k(s),n)for(f=0;r=s[f++];)ie.test(r.type||"")&&n.push(r);return p}function D(){return!0}function N(){return!1}function A(){try{return ct.activeElement}catch(t){}}function j(t,e,n,i,o,r){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(a in e)j(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===!1)o=N;else if(!o)return t;return 1===r&&(s=o,o=function(t){return kt().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=kt.guid++)),t.each(function(){kt.event.add(this,e,o,i,n)})}function O(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?kt(t).children("tbody")[0]||t:t}function I(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function L(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function R(t,e){var n,i,o,r,s,a,l,u;if(1===e.nodeType){if(zt.hasData(t)&&(r=zt.access(t),s=zt.set(e,r),u=r.events)){delete s.handle,s.events={};for(o in u)for(n=0,i=u[o].length;n1&&"string"==typeof h&&!wt.checkClone&&pe.test(h))return t.each(function(o){var r=t.eq(o);g&&(e[0]=h.call(this,o,r.html())),P(r,e,n,i)});if(p&&(o=$(e,t[0].ownerDocument,!1,t,i),r=o.firstChild,1===o.childNodes.length&&(o=r),r||i)){for(a=kt.map(S(o,"script"),I),l=a.length;f=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))),l}function z(t,e,n){var i=ge(t),o=F(t,e,i),r="border-box"===kt.css(t,"boxSizing",!1,i),s=r;if(he.test(o)){if(!n)return o;o="auto"}return s=s&&(wt.boxSizingReliable()||o===t.style[e]),("auto"===o||!parseFloat(o)&&"inline"===kt.css(t,"display",!1,i))&&(o=t["offset"+e[0].toUpperCase()+e.slice(1)],s=!0),o=parseFloat(o)||0,o+_(t,e,n||(r?"border":"content"),s,i,o)+"px"}function V(t,e,n,i,o){return new V.prototype.init(t,e,n,i,o)}function X(){Ee&&(ct.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(X):n.setTimeout(X,kt.fx.interval),kt.fx.tick())}function G(){return n.setTimeout(function(){Ce=void 0}),Ce=Date.now()}function Y(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)n=Kt[i],o["margin"+n]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function Q(t,e,n){for(var i,o=(Z.tweeners[e]||[]).concat(Z.tweeners["*"]),r=0,s=o.length;r=0&&nC.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[W]=!0,t}function o(t){var e=I.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)C.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&e.disabled===!1&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!Et(e))!==t)}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function p(){}function d(t){for(var e=0,n=t.length,i="";e1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function v(t,n,i){for(var o=0,r=n.length;o-1&&(i[c]=!(s[c]=f))}}else b=m(b===s?b.splice(h,b.length):b),r?r(null,s,b,l):J.apply(s,b)})}function b(t){for(var e,n,i,o=t.length,r=C.relative[t[0].type],s=r||C.relative[" "],a=r?1:0,l=h(function(t){return t===e},s,!0),c=h(function(t){return tt(e,t)>-1},s,!0),u=[function(t,n,i){var o=!r&&(i||n!==D)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,o}];a1&&g(u),a>1&&d(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(at,"$1"),n,a0,r=t.length>0,s=function(i,s,a,l,c){var u,f,p,d=0,h="0",g=i&&[],v=[],y=D,b=i||r&&C.find.TAG("*",c),x=U+=null==y?1:Math.random()||.1,w=b.length;for(c&&(D=s===I||s||c);h!==w&&null!=(u=b[h]);h++){if(r&&u){for(f=0,s||u.ownerDocument===I||(O(u),a=!L);p=t[f++];)if(p(u,s||I,a)){l.push(u);break}c&&(U=x)}o&&((u=!p&&u)&&d--,i&&g.push(u))}if(d+=h,o&&h!==d){for(f=0;p=n[f++];)p(g,v,s,a);if(i){if(d>0)for(;h--;)g[h]||v[h]||(v[h]=Q.call(l));v=m(v)}J.apply(l,v),c&&!i&&v.length>0&&d+n.length>1&&e.uniqueSort(l)}return c&&(U=x,D=y),g};return o?i(s):s}var w,T,C,E,S,k,$,N,D,A,j,O,I,R,L,q,P,F,H,W="sizzle"+1*new Date,M=t.document,U=0,B=0,_=n(),z=n(),V=n(),X=function(t,e){return t===e&&(j=!0),0},G={}.hasOwnProperty,Y=[],Q=Y.pop,K=Y.push,J=Y.push,Z=Y.slice,tt=function(t,e){for(var n=0,i=t.length;n+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(rt),pt=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+rt),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,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},wt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,Tt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Ct=function(){O()},Et=h(function(t){return t.disabled===!0},{dir:"parentNode",next:"legend"});try{J.apply(Y=Z.call(M.childNodes),M.childNodes),Y[M.childNodes.length].nodeType}catch(St){J={apply:Y.length?function(t,e){K.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}T=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:M;return i!==I&&9===i.nodeType&&i.documentElement?(I=i,R=I.documentElement,L=!S(I),M!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),T.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),T.getElementsByTagName=o(function(t){return t.appendChild(I.createComment("")),!t.getElementsByTagName("*").length}),T.getElementsByClassName=vt.test(I.getElementsByClassName),T.getById=o(function(t){return R.appendChild(t).id=W,!I.getElementsByName||!I.getElementsByName(W).length}),T.getById?(C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&L){var n=e.getElementById(t);return n?[n]:[]}},C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),C.find.TAG=T.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):T.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},C.find.CLASS=T.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&L)return e.getElementsByClassName(t)},P=[],q=[],(T.qsa=vt.test(I.querySelectorAll))&&(o(function(t){R.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||q.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+W+"-]").length||q.push("~="),t.querySelectorAll(":checked").length||q.push(":checked"),t.querySelectorAll("a#"+W+"+*").length||q.push(".#.+[+~]")}),o(function(t){t.innerHTML="";var e=I.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&q.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),R.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),q.push(",.*:")})),(T.matchesSelector=vt.test(F=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&o(function(t){T.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),P.push("!=",rt)}),q=q.length&&new RegExp(q.join("|")),P=P.length&&new RegExp(P.join("|")),e=vt.test(R.compareDocumentPosition),H=e||vt.test(R.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},X=e?function(t,e){if(t===e)return j=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!T.sortDetached&&e.compareDocumentPosition(t)===n?t===I||t.ownerDocument===M&&H(M,t)?-1:e===I||e.ownerDocument===M&&H(M,e)?1:A?tt(A,t)-tt(A,e):0:4&n?-1:1)}:function(t,e){if(t===e)return j=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,a=[t],l=[e];if(!o||!r)return t===I?-1:e===I?1:o?-1:r?1:A?tt(A,t)-tt(A,e):0;if(o===r)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]===M?-1:l[i]===M?1:0},I):I},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==I&&O(t),n=n.replace(ut,"='$1']"),T.matchesSelector&&L&&!V[n+" "]&&(!P||!P.test(n))&&(!q||!q.test(n)))try{var i=F.call(t,n);if(i||T.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(o){}return e(n,I,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==I&&O(t),H(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==I&&O(t);var n=C.attrHandle[e.toLowerCase()],i=n&&G.call(C.attrHandle,e.toLowerCase())?n(t,e,!L):void 0;return void 0!==i?i:T.attributes||!L?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(wt,Tt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(j=!T.detectDuplicates,A=!T.sortStable&&t.slice(0),t.sort(X),j){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return A=null,t},E=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=E(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=E(e);return n},C=e.selectors={cacheLength:50,createPseudo:i,match:dt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=k(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&_(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(st," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,u,f,p,d,h,g=r!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(v){if(r){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=g="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?v.firstChild:v.lastChild],s&&y){for(p=v,f=p[W]||(p[W]={}),u=f[p.uniqueID]||(f[p.uniqueID]={}),c=u[t]||[],d=c[0]===U&&c[1],b=d&&c[2],p=d&&v.childNodes[d];p=++d&&p&&p[g]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===e){u[t]=[U,d,b];break}}else if(y&&(p=e,f=p[W]||(p[W]={}),u=f[p.uniqueID]||(f[p.uniqueID]={}),c=u[t]||[],d=c[0]===U&&c[1],b=d),b===!1)for(;(p=++d&&p&&p[g]||(b=d=0)||h.pop())&&((a?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&(f=p[W]||(p[W]={}),u=f[p.uniqueID]||(f[p.uniqueID]={}),u[t]=[U,b]),p!==e)););return b-=o,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(t,n){var o,r=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[W]?r(n):r.length>1?(o=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),s=o.length;s--;)i=tt(t,o[s]),t[i]=!(e[i]=o[s])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=$(t.replace(at,"$1"));return o[W]?i(function(t,e,n,i){for(var r,s=o(t,null,i,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(bt,xt),function(e){return(e.textContent||e.innerText||E(e)).indexOf(t)>-1}}),lang:i(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,xt).toLowerCase(),function(e){var n;do if(n=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===R},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return ht.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=n<0?n+e:n;++i2&&"ID"===(s=r[0]).type&&T.getById&&9===e.nodeType&&L&&C.relative[r[1].type]){if(e=(C.find.ID(s.matches[0].replace(bt,xt),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=dt.needsContext.test(t)?0:r.length;o--&&(s=r[o],!C.relative[a=s.type]);)if((l=C.find[a])&&(i=l(s.matches[0].replace(bt,xt),yt.test(r[0].type)&&f(e.parentNode)||e))){if(r.splice(o,1),t=i.length&&d(r),!t)return J.apply(n,i),n;break}}return(c||$(t,u))(i,e,!L,n,!e||yt.test(t)&&f(e.parentNode)||e),n},T.sortStable=W.split("").sort(X).join("")===W,T.detectDuplicates=!!j,O(),T.sortDetached=o(function(t){return 1&t.compareDocumentPosition(I.createElement("fieldset"))}),o(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),T.attributes&&o(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,n){var i;if(!n)return t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);vt.find=wt,vt.expr=wt.selectors,vt.expr[":"]=vt.expr.pseudos,vt.uniqueSort=vt.unique=wt.uniqueSort,vt.text=wt.getText,vt.isXMLDoc=wt.isXML,vt.contains=wt.contains,vt.escapeSelector=wt.escape;var Tt=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&vt(t).is(n))break;i.push(t)}return i},Ct=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Et=vt.expr.match.needsContext,St=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,kt=/^.[^:#\[\.,]*$/;vt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?vt.find.matchesSelector(i,t)?[i]:[]:vt.find.matches(t,vt.grep(e,function(t){return 1===t.nodeType}))},vt.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(vt(t).filter(function(){for(e=0;e1?vt.uniqueSort(n):n},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&Et.test(t)?vt(t):t||[],!1).length}});var $t,Nt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Dt=vt.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||$t,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Nt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof vt?e[0]:e,vt.merge(this,vt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:it,!0)),St.test(i[1])&&vt.isPlainObject(e))for(i in e)vt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return o=it.getElementById(i[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):vt.isFunction(t)?void 0!==n.ready?n.ready(t):t(vt):vt.makeArray(t,this)};Dt.prototype=vt.fn,$t=vt(it);var At=/^(?:parents|prev(?:Until|All))/,jt={children:!0,contents:!0,next:!0,prev:!0};vt.fn.extend({has:function(t){var e=vt(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&vt.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?vt.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?lt.call(vt(t),this[0]):lt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(vt.uniqueSort(vt.merge(this.get(),vt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),vt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Tt(t,"parentNode")},parentsUntil:function(t,e,n){return Tt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return Tt(t,"nextSibling")},prevAll:function(t){return Tt(t,"previousSibling")},nextUntil:function(t,e,n){return Tt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Tt(t,"previousSibling",n)},siblings:function(t){return Ct((t.parentNode||{}).firstChild,t)},children:function(t){return Ct(t.firstChild)},contents:function(t){return t.contentDocument||vt.merge([],t.childNodes)}},function(t,e){vt.fn[t]=function(n,i){var o=vt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=vt.filter(i,o)),this.length>1&&(jt[t]||vt.uniqueSort(o),At.test(t)&&o.reverse()),this.pushStack(o)}});var Ot=/\S+/g;vt.Callbacks=function(t){t="string"==typeof t?u(t):vt.extend({},t);var e,n,i,o,r=[],s=[],a=-1,l=function(){for(o=t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a-1;)r.splice(n,1),n<=a&&a--}),this},has:function(t){return t?vt.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},vt.extend({Deferred:function(t){var e=[["notify","progress",vt.Callbacks("memory"),vt.Callbacks("memory"),2],["resolve","done",vt.Callbacks("once memory"),vt.Callbacks("once memory"),0,"resolved"],["reject","fail",vt.Callbacks("once memory"),vt.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(t){return o.then(null,t)},pipe:function(){var t=arguments;return vt.Deferred(function(n){vt.each(e,function(e,i){var o=vt.isFunction(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=o&&o.apply(this,arguments);t&&vt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(t,i,o){function r(t,e,i,o){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t=s&&(i!==p&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?u():(vt.Deferred.getStackHook&&(u.stackTrace=vt.Deferred.getStackHook()),n.setTimeout(u))}}var s=0;return vt.Deferred(function(n){e[0][3].add(r(0,n,vt.isFunction(o)?o:f,n.notifyWith)),e[1][3].add(r(0,n,vt.isFunction(t)?t:f)),e[2][3].add(r(0,n,vt.isFunction(i)?i:p))}).promise()},promise:function(t){return null!=t?vt.extend(t,o):o}},r={};return vt.each(e,function(t,n){var s=n[2],a=n[5];o[n[1]]=s.add,a&&s.add(function(){i=a},e[3-t][2].disable,e[0][2].lock),s.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=s.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),o=rt.call(arguments),r=vt.Deferred(),s=function(t){return function(n){i[t]=this,o[t]=arguments.length>1?rt.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(d(t,r.done(s(n)).resolve,r.reject),"pending"===r.state()||vt.isFunction(o[n]&&o[n].then)))return r.then();for(;n--;)d(o[n],s(n),r.reject);return r.promise()}});var It=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;vt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&It.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},vt.readyException=function(t){n.setTimeout(function(){throw t})};var Rt=vt.Deferred();vt.fn.ready=function(t){return Rt.then(t)["catch"](function(t){vt.readyException(t)}),this},vt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?vt.readyWait++:vt.ready(!0)},ready:function(t){(t===!0?--vt.readyWait:vt.isReady)||(vt.isReady=!0,t!==!0&&--vt.readyWait>0||Rt.resolveWith(it,[vt]))}}),vt.ready.then=Rt.then,"complete"===it.readyState||"loading"!==it.readyState&&!it.documentElement.doScroll?n.setTimeout(vt.ready):(it.addEventListener("DOMContentLoaded",h),n.addEventListener("load",h));var Lt=function(t,e,n,i,o,r,s){var a=0,l=t.length,c=null==n;if("object"===vt.type(n)){o=!0;for(a in n)Lt(t,e,a,n[a],!0,r,s)}else if(void 0!==i&&(o=!0,vt.isFunction(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(vt(t),n)})),e))for(;a1,null,!0)},removeData:function(t){return this.each(function(){Ft.remove(this,t)})}}),vt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Pt.get(t,e),n&&(!i||vt.isArray(n)?i=Pt.access(t,e,vt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=vt.queue(t,e),i=n.length,o=n.shift(),r=vt._queueHooks(t,e),s=function(){vt.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Pt.get(t,n)||Pt.access(t,n,{empty:vt.Callbacks("once memory").add(function(){Pt.remove(t,[e+"queue",n])})})}}),vt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Yt=/^$|\/(?:java|ecma)script/i,Qt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td;var Kt=/<|&#?\w+;/;!function(){var t=it.createDocumentFragment(),e=t.appendChild(it.createElement("div")),n=it.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),ht.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",ht.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue; -}();var Jt=it.documentElement,Zt=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ee=/^([^.]*)(?:\.(.+)|)/;vt.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,u,f,p,d,h,g,v=Pt.get(t);if(v)for(n.handler&&(r=n,n=r.handler,o=r.selector),o&&vt.find.matchesSelector(Jt,o),n.guid||(n.guid=vt.guid++),(l=v.events)||(l=v.events={}),(s=v.handle)||(s=v.handle=function(e){return"undefined"!=typeof vt&&vt.event.triggered!==e.type?vt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ot)||[""],c=e.length;c--;)a=ee.exec(e[c])||[],d=g=a[1],h=(a[2]||"").split(".").sort(),d&&(f=vt.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=vt.event.special[d]||{},u=vt.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&vt.expr.match.needsContext.test(o),namespace:h.join(".")},r),(p=l[d])||(p=l[d]=[],p.delegateCount=0,f.setup&&f.setup.call(t,i,h,s)!==!1||t.addEventListener&&t.addEventListener(d,s)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),vt.event.global[d]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,f,p,d,h,g,v=Pt.hasData(t)&&Pt.get(t);if(v&&(l=v.events)){for(e=(e||"").match(Ot)||[""],c=e.length;c--;)if(a=ee.exec(e[c])||[],d=g=a[1],h=(a[2]||"").split(".").sort(),d){for(f=vt.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,p=l[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,f.remove&&f.remove.call(t,u));s&&!p.length&&(f.teardown&&f.teardown.call(t,h,v.handle)!==!1||vt.removeEvent(t,d,v.handle),delete l[d])}else for(d in l)vt.event.remove(t,d+e[c],n,i,!0);vt.isEmptyObject(l)&&Pt.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=vt.event.fix(t),l=new Array(arguments.length),c=(Pt.get(this,"events")||{})[a.type]||[],u=vt.event.special[a.type]||{};for(l[0]=a,e=1;e-1:vt.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return a\x20\t\r\n\f]*)[^>]*)\/>/gi,ie=/\s*$/g;vt.extend({htmlPrefilter:function(t){return t.replace(ne,"<$1>")},clone:function(t,e,n){var i,o,r,s,a=t.cloneNode(!0),l=vt.contains(t.ownerDocument,t);if(!(ht.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||vt.isXMLDoc(t)))for(s=x(a),r=x(t),i=0,o=r.length;i0&&w(s,!l&&x(t,"script")),a},cleanData:function(t){for(var e,n,i,o=vt.event.special,r=0;void 0!==(n=t[r]);r++)if(qt(n)){if(e=n[Pt.expando]){if(e.events)for(i in e.events)o[i]?vt.event.remove(n,i):vt.removeEvent(n,i,e.handle);n[Pt.expando]=void 0}n[Ft.expando]&&(n[Ft.expando]=void 0)}}}),vt.fn.extend({detach:function(t){return I(this,t,!0)},remove:function(t){return I(this,t)},text:function(t){return Lt(this,function(t){return void 0===t?vt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=$(this,t);e.appendChild(t)}})},prepend:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=$(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(vt.cleanData(x(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return vt.clone(this,t,e)})},html:function(t){return Lt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ie.test(t)&&!Qt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=vt.htmlPrefilter(t);try{for(;n1)}}),vt.Tween=W,W.prototype={constructor:W,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||vt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(vt.cssNumber[n]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,n=W.propHooks[this.prop];return this.options.duration?this.pos=e=vt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=vt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){vt.fx.step[t.prop]?vt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[vt.cssProps[t.prop]]&&!vt.cssHooks[t.prop]?t.elem[t.prop]=t.now:vt.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},vt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},vt.fx=W.prototype.init,vt.fx.step={};var ge,ve,me=/^(?:toggle|show|hide)$/,ye=/queueHooks$/;vt.Animation=vt.extend(X,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return m(n.elem,t,Ut.exec(e),n),n}]},tweener:function(t,e){vt.isFunction(t)?(e=t,t=["*"]):t=t.match(Ot);for(var n,i=0,o=t.length;i1)},removeAttr:function(t){return this.each(function(){vt.removeAttr(this,t)})}}),vt.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof t.getAttribute?vt.prop(t,e,n):(1===r&&vt.isXMLDoc(t)||(o=vt.attrHooks[e.toLowerCase()]||(vt.expr.match.bool.test(e)?be:void 0)),void 0!==n?null===n?void vt.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:(i=vt.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!ht.radioValue&&"radio"===e&&vt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(Ot);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),be={set:function(t,e,n){return e===!1?vt.removeAttr(t,n):t.setAttribute(n,n),n}},vt.each(vt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=xe[e]||vt.find.attr;xe[e]=function(t,e,i){var o,r,s=e.toLowerCase();return i||(r=xe[s],xe[s]=o,o=null!=n(t,e,i)?s:null,xe[s]=r),o}});var we=/^(?:input|select|textarea|button)$/i,Te=/^(?:a|area)$/i;vt.fn.extend({prop:function(t,e){return Lt(this,vt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[vt.propFix[t]||t]})}}),vt.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&vt.isXMLDoc(t)||(e=vt.propFix[e]||e,o=vt.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=vt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||Te.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ht.optSelected||(vt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),vt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){vt.propFix[this.toLowerCase()]=this});var Ce=/[\t\r\n\f]/g;vt.fn.extend({addClass:function(t){var e,n,i,o,r,s,a,l=0;if(vt.isFunction(t))return this.each(function(e){vt(this).addClass(t.call(this,e,G(this)))});if("string"==typeof t&&t)for(e=t.match(Ot)||[];n=this[l++];)if(o=G(n),i=1===n.nodeType&&(" "+o+" ").replace(Ce," ")){for(s=0;r=e[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=vt.trim(i),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,o,r,s,a,l=0;if(vt.isFunction(t))return this.each(function(e){vt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Ot)||[];n=this[l++];)if(o=G(n),i=1===n.nodeType&&(" "+o+" ").replace(Ce," ")){for(s=0;r=e[s++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");a=vt.trim(i),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):vt.isFunction(t)?this.each(function(n){vt(this).toggleClass(t.call(this,n,G(this),e),e)}):this.each(function(){var e,i,o,r;if("string"===n)for(i=0,o=vt(this),r=t.match(Ot)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||(e=G(this),e&&Pt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Pt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+G(n)+" ").replace(Ce," ").indexOf(e)>-1)return!0;return!1}});var Ee=/\r/g,Se=/[\x20\t\r\n\f]+/g;vt.fn.extend({val:function(t){var e,n,i,o=this[0];{if(arguments.length)return i=vt.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,vt(this).val()):t,null==o?o="":"number"==typeof o?o+="":vt.isArray(o)&&(o=vt.map(o,function(t){return null==t?"":t+""})),e=vt.valHooks[this.type]||vt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=vt.valHooks[o.type]||vt.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Ee,""):null==n?"":n)}}}),vt.extend({valHooks:{option:{get:function(t){var e=vt.find.attr(t,"value");return null!=e?e:vt.trim(vt.text(t)).replace(Se," ")}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type,s=r?null:[],a=r?o+1:i.length,l=o<0?a:r?o:0;l-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),vt.each(["radio","checkbox"],function(){vt.valHooks[this]={set:function(t,e){if(vt.isArray(e))return t.checked=vt.inArray(vt(t).val(),e)>-1}},ht.checkOn||(vt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var ke=/^(?:focusinfocus|focusoutblur)$/;vt.extend(vt.event,{trigger:function(t,e,i,o){var r,s,a,l,c,u,f,p=[i||it],d=ft.call(t,"type")?t.type:t,h=ft.call(t,"namespace")?t.namespace.split("."):[];if(s=a=i=i||it,3!==i.nodeType&&8!==i.nodeType&&!ke.test(d+vt.event.triggered)&&(d.indexOf(".")>-1&&(h=d.split("."),d=h.shift(),h.sort()),c=d.indexOf(":")<0&&"on"+d,t=t[vt.expando]?t:new vt.Event(d,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:vt.makeArray(e,[t]),f=vt.event.special[d]||{},o||!f.trigger||f.trigger.apply(i,e)!==!1)){if(!o&&!f.noBubble&&!vt.isWindow(i)){for(l=f.delegateType||d,ke.test(l+d)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(i.ownerDocument||it)&&p.push(a.defaultView||a.parentWindow||n)}for(r=0;(s=p[r++])&&!t.isPropagationStopped();)t.type=r>1?l:f.bindType||d,u=(Pt.get(s,"events")||{})[t.type]&&Pt.get(s,"handle"),u&&u.apply(s,e),u=c&&s[c],u&&u.apply&&qt(s)&&(t.result=u.apply(s,e),t.result===!1&&t.preventDefault());return t.type=d,o||t.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),e)!==!1||!qt(i)||c&&vt.isFunction(i[d])&&!vt.isWindow(i)&&(a=i[c],a&&(i[c]=null),vt.event.triggered=d,i[d](),vt.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(t,e,n){var i=vt.extend(new vt.Event,n,{type:t,isSimulated:!0});vt.event.trigger(i,null,e)}}),vt.fn.extend({trigger:function(t,e){return this.each(function(){vt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return vt.event.trigger(t,e,n,!0)}}),vt.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(t,e){vt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),vt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),ht.focusin="onfocusin"in n,ht.focusin||vt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){vt.event.simulate(e,t.target,vt.event.fix(t))};vt.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=Pt.access(i,e);o||i.addEventListener(t,n,!0),Pt.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=Pt.access(i,e)-1;o?Pt.access(i,e,o):(i.removeEventListener(t,n,!0),Pt.remove(i,e))}}});var $e=n.location,Ne=vt.now(),De=/\?/;vt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(i){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||vt.error("Invalid XML: "+t),e};var Ae=/\[\]$/,je=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,Ie=/^(?:input|select|textarea|keygen)/i;vt.param=function(t,e){var n,i=[],o=function(t,e){var n=vt.isFunction(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(vt.isArray(t)||t.jquery&&!vt.isPlainObject(t))vt.each(t,function(){o(this.name,this.value)});else for(n in t)Y(n,t[n],e,o);return i.join("&")},vt.fn.extend({serialize:function(){return vt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=vt.prop(this,"elements");return t?vt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!vt(this).is(":disabled")&&Ie.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!Xt.test(t))}).map(function(t,e){var n=vt(this).val();return null==n?null:vt.isArray(n)?vt.map(n,function(t){return{name:e.name,value:t.replace(je,"\r\n")}}):{name:e.name,value:n.replace(je,"\r\n")}}).get()}});var Re=/%20/g,Le=/#.*$/,qe=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,He=/^(?:GET|HEAD)$/,We=/^\/\//,Me={},Ue={},Be="*/".concat("*"),_e=it.createElement("a");_e.href=$e.href,vt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:$e.href,type:"GET",isLocal:Fe.test($e.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,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":vt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?J(J(t,vt.ajaxSettings),e):J(vt.ajaxSettings,t)},ajaxPrefilter:Q(Me),ajaxTransport:Q(Ue),ajax:function(t,e){function i(t,e,i,a){var c,p,d,x,w,T=e;u||(u=!0,l&&n.clearTimeout(l),o=void 0,s=a||"",C.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(x=Z(h,C,i)),x=tt(h,x,C,c),c?(h.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(vt.lastModified[r]=w),w=C.getResponseHeader("etag"),w&&(vt.etag[r]=w)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=x.state,p=x.data,d=x.error,c=!d)):(d=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(e||T)+"",c?m.resolveWith(g,[p,T,C]):m.rejectWith(g,[C,T,d]),C.statusCode(b),b=void 0,f&&v.trigger(c?"ajaxSuccess":"ajaxError",[C,h,c?p:d]),y.fireWith(g,[C,T]),f&&(v.trigger("ajaxComplete",[C,h]),--vt.active||vt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var o,r,s,a,l,c,u,f,p,d,h=vt.ajaxSetup({},e),g=h.context||h,v=h.context&&(g.nodeType||g.jquery)?vt(g):vt.event,m=vt.Deferred(),y=vt.Callbacks("once memory"),b=h.statusCode||{},x={},w={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=Pe.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==u&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||T;return o&&o.abort(e),i(0,e),this}};if(m.promise(C),h.url=((t||h.url||$e.href)+"").replace(We,$e.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ot)||[""],null==h.crossDomain){c=it.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=_e.protocol+"//"+_e.host!=c.protocol+"//"+c.host}catch(E){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=vt.param(h.data,h.traditional)),K(Me,h,e,C),u)return C;f=vt.event&&h.global,f&&0===vt.active++&&vt.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!He.test(h.type),r=h.url.replace(Le,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Re,"+")):(d=h.url.slice(r.length),h.data&&(r+=(De.test(r)?"&":"?")+h.data,delete h.data),h.cache===!1&&(r=r.replace(qe,""),d=(De.test(r)?"&":"?")+"_="+Ne++ +d),h.url=r+d),h.ifModified&&(vt.lastModified[r]&&C.setRequestHeader("If-Modified-Since",vt.lastModified[r]),vt.etag[r]&&C.setRequestHeader("If-None-Match",vt.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||e.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Be+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(h.beforeSend.call(g,C,h)===!1||u))return C.abort();if(T="abort",y.add(h.complete),C.done(h.success),C.fail(h.error),o=K(Ue,h,e,C)){if(C.readyState=1,f&&v.trigger("ajaxSend",[C,h]),u)return C;h.async&&h.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},h.timeout));try{u=!1,o.send(x,i)}catch(E){if(u)throw E;i(-1,E)}}else i(-1,"No Transport");return C},getJSON:function(t,e,n){return vt.get(t,e,n,"json")},getScript:function(t,e){return vt.get(t,void 0,e,"script")}}),vt.each(["get","post"],function(t,e){vt[e]=function(t,n,i,o){return vt.isFunction(n)&&(o=o||i,i=n,n=void 0),vt.ajax(vt.extend({url:t,type:e,dataType:o,data:n,success:i},vt.isPlainObject(t)&&t))}}),vt._evalUrl=function(t){return vt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},vt.fn.extend({wrapAll:function(t){var e;return this[0]&&(vt.isFunction(t)&&(t=t.call(this[0])),e=vt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return vt.isFunction(t)?this.each(function(e){vt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=vt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=vt.isFunction(t);return this.each(function(n){vt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){vt(this).replaceWith(this.childNodes)}),this}}),vt.expr.pseudos.hidden=function(t){return!vt.expr.pseudos.visible(t)},vt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},vt.ajaxSettings.xhr=function(){ -try{return new n.XMLHttpRequest}catch(t){}};var ze={0:200,1223:204},Ve=vt.ajaxSettings.xhr();ht.cors=!!Ve&&"withCredentials"in Ve,ht.ajax=Ve=!!Ve,vt.ajaxTransport(function(t){var e,i;if(ht.cors||Ve&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(ze[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(l){if(e)throw l}},abort:function(){e&&e()}}}),vt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),vt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return vt.globalEval(t),t}}}),vt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),vt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,o){e=vt("#} +
+
+
+

Plugin – {{ pd.name }} {{ pd.version }}

+
+
+ + +
+
+
+

{{ summary }}

+

+
+ + +
+
+

Project links

+ + + {% if 'github' in pd.home_page %} +
+

GitHub Statistics

+
+ + {% endif %} + +
+

Meta

+
+

Version: {{ pd.version }}

+

Author: + {% if pd.author_email %} + {{ pd.author }} + {% else %} + {{ pd.author }} + {% endif %} +

+ + +
+

Tags

+
+ {% if this.tags %} + {% for t in this.tags|sort %} + {{ "and " if (loop.last and this.tags|length > 1) }} + {{ t }}{{ ", " if not loop.last }} + {% endfor %} + {% else %} +

Plugin has no tags.

+ {% endif %} +
+ +
+

Project Description

+ {% if pd.description %} + {{ pd.description|safe }} {# comes out as a text string always #} + {% else %} + Plugin has no long_description + {% endif %} + + {% if this.allow_comments %} +
+

Comments

+ {{ render_disqus_comments() }} +
+ {% endif %} +
+
+
+{% endblock %} diff --git a/templates/plugins.html b/templates/plugins.html new file mode 100644 index 00000000..83c489f4 --- /dev/null +++ b/templates/plugins.html @@ -0,0 +1,24 @@ +{% extends "layout.html" %} +{% from "macros/plugins.html" import render_plugin_list %} +{% from 'macros/blocksupport.html' import render_full_width_blocks %} +{% block title %}{{ this.title }}{% endblock %} + +{% block outerbody %} + {% set image = site.get('/plugins').attachments.images.first() %} + {% if image %} +
+ {% endif %} + {{ super() }} +{% endblock %} + +{% block body %} +

{{ this.title }}

+ {% call render_full_width_blocks(this.body.blocks, classes='col-md-12') %} + {% endcall %} + {% for category in site.query('/plugin-categories').order_by('title') %} +

{{ category.title }}

+
+ {{ render_plugin_list(category.children) }} +
+ {% endfor %} +{% endblock %} diff --git a/templates/redirect.html b/templates/redirect.html new file mode 100644 index 00000000..60560fbe --- /dev/null +++ b/templates/redirect.html @@ -0,0 +1 @@ + diff --git a/webpack/scss/main.scss b/webpack/scss/main.scss index e234b2c9..1bce7c07 100644 --- a/webpack/scss/main.scss +++ b/webpack/scss/main.scss @@ -217,7 +217,7 @@ div.blog-snippet { } } -div.doc-styling, div.blog-post { +div.doc-styling, div.blog-post, div.plugin { line-height: 1.75; a.ref { @@ -225,6 +225,7 @@ div.doc-styling, div.blog-post { } a.ext { + white-space: nowrap; &:before { @extend .glyphicon; @extend .glyphicon-link; @@ -592,6 +593,12 @@ p.meta { color: lighten($gray, 30); } +ul.button-nav { + margin: 25px 0; + padding-left: 10px; + list-style: none; +} + ul.toc, ul.toc ul { font-size: 14px; padding-left: 25px; @@ -665,6 +672,18 @@ ul.tree-nav { } } +div.plugin-margin { + h4 { + margin: 25px 0; + } + + div.separator { + border-top: 1px solid #ddd; + margin: 25px 0; + } +} + + div.comment-box { border-top: 1px solid #ddd; margin-top: 35px;