Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/dist/maintenance.js')
-rw-r--r--core/js/dist/maintenance.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/dist/maintenance.js b/core/js/dist/maintenance.js
index c97a9dc62be..019f92bcac9 100644
--- a/core/js/dist/maintenance.js
+++ b/core/js/dist/maintenance.js
@@ -22,7 +22,7 @@
*
* Date: 2014-12-16
*/
-function(e){var t,n,r,i,a,s,o,u,d,l,c,_,f,h,m,p,y,M,g,v="sizzle"+1*new Date,L=e.document,Y=0,k=0,w=se(),b=se(),T=se(),D=function(e,t){return e===t&&(c=!0),0},x=1<<31,S={}.hasOwnProperty,j=[],H=j.pop,P=j.push,O=j.push,E=j.slice,C=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},A="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=N.replace("w","w#"),I="\\["+F+"*("+N+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+F+"*\\]",R=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",z=new RegExp(F+"+","g"),U=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),$=new RegExp("^"+F+"*,"+F+"*"),J=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),q=new RegExp("="+F+"*([^\\]'\"]*?)"+F+"*\\]","g"),B=new RegExp(R),V=new RegExp("^"+W+"$"),G={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+A+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),re=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ie=function(){_()};try{O.apply(j=E.call(L.childNodes),L.childNodes),j[L.childNodes.length].nodeType}catch(e){O={apply:j.length?function(e,t){P.apply(e,E.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var a,o,d,l,c,h,y,M,Y,k;if((t?t.ownerDocument||t:L)!==f&&_(t),r=r||[],l=(t=t||f).nodeType,"string"!=typeof e||!e||1!==l&&9!==l&&11!==l)return r;if(!i&&m){if(11!==l&&(a=Z.exec(e)))if(d=a[1]){if(9===l){if(!(o=t.getElementById(d))||!o.parentNode)return r;if(o.id===d)return r.push(o),r}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(d))&&g(t,o)&&o.id===d)return r.push(o),r}else{if(a[2])return O.apply(r,t.getElementsByTagName(e)),r;if((d=a[3])&&n.getElementsByClassName)return O.apply(r,t.getElementsByClassName(d)),r}if(n.qsa&&(!p||!p.test(e))){if(M=y=v,Y=t,k=1!==l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){for(h=s(e),(y=t.getAttribute("id"))?M=y.replace(te,"\\$&"):t.setAttribute("id",M),M="[id='"+M+"'] ",c=h.length;c--;)h[c]=M+pe(h[c]);Y=ee.test(e)&&he(t.parentNode)||t,k=h.join(",")}if(k)try{return O.apply(r,Y.querySelectorAll(k)),r}catch(e){}finally{y||t.removeAttribute("id")}}}return u(e.replace(U,"$1"),t,r,i)}function se(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function oe(e){return e[v]=!0,e}function ue(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=e.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||x)-(~e.sourceIndex||x);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function _e(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return oe(function(t){return t=+t,oe(function(n,r){for(var i,a=e([],n.length,t),s=a.length;s--;)n[i=a[s]]&&(n[i]=!(r[i]=n[i]))})})}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},a=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},_=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:L;return s!==f&&9===s.nodeType&&s.documentElement?(f=s,h=s.documentElement,(i=s.defaultView)&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",ie,!1):i.attachEvent&&i.attachEvent("onunload",ie)),m=!a(s),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(s.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(s.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=v,!s.getElementsByName||!s.getElementsByName(v).length}),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(m)return t.getElementsByClassName(e)},y=[],p=[],(n.qsa=Q.test(s.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+v+"'></a><select id='"+v+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+F+"*(?:value|"+A+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]")}),ue(function(e){var t=s.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+F+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")})),(n.matchesSelector=Q.test(M=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=M.call(e,"div"),M.call(e,"[s!='']:x"),y.push("!=",R)}),p=p.length&&new RegExp(p.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(h.compareDocumentPosition),g=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===s||e.ownerDocument===L&&g(L,e)?-1:t===s||t.ownerDocument===L&&g(L,t)?1:l?C(l,e)-C(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],u=[t];if(!i||!a)return e===s?-1:t===s?1:i?-1:a?1:l?C(l,e)-C(l,t):0;if(i===a)return le(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;o[r]===u[r];)r++;return r?le(o[r],u[r]):o[r]===L?-1:u[r]===L?1:0},s):f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&_(e),t=t.replace(q,"='$1']"),n.matchesSelector&&m&&(!y||!y.test(t))&&(!p||!p.test(t)))try{var r=M.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ae(t,f,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==f&&_(e),g(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==f&&_(e);var i=r.attrHandle[t.toLowerCase()],a=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,a=0;if(c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(D),c){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return l=null,e},i=ae.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:oe,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,re),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&w(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),o="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var d,l,c,_,f,h,m=a!==s?"nextSibling":"previousSibling",p=t.parentNode,y=o&&t.nodeName.toLowerCase(),M=!u&&!o;if(p){if(a){for(;m;){for(c=t;c=c[m];)if(o?c.nodeName.toLowerCase()===y:1===c.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?p.firstChild:p.lastChild],s&&M){for(f=(d=(l=p[v]||(p[v]={}))[e]||[])[0]===Y&&d[1],_=d[0]===Y&&d[2],c=f&&p.childNodes[f];c=++f&&c&&c[m]||(_=f=0)||h.pop();)if(1===c.nodeType&&++_&&c===t){l[e]=[Y,f,_];break}}else if(M&&(d=(t[v]||(t[v]={}))[e])&&d[0]===Y)_=d[1];else for(;(c=++f&&c&&c[m]||(_=f=0)||h.pop())&&((o?c.nodeName.toLowerCase()!==y:1!==c.nodeType)||!++_||(M&&((c[v]||(c[v]={}))[e]=[Y,_]),c!==t)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[v]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,n){for(var r,a=i(e,t),s=a.length;s--;)e[r=C(e,a[s])]=!(n[r]=a[s])}):function(e){return i(e,0,n)}):i}},pseudos:{not:oe(function(e){var t=[],n=[],r=o(e.replace(U,"$1"));return r[v]?oe(function(e,t,n,i){for(var a,s=r(e,null,i,[]),o=e.length;o--;)(a=s[o])&&(e[o]=!(t[o]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:oe(function(e){return function(t){return ae(e,t).length>0}}),contains:oe(function(e){return e=e.replace(ne,re),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:oe(function(e){return V.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(ne,re).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=ce(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=_e(t);function me(){}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ye(e,t,n){var r=t.dir,i=n&&"parentNode"===r,a=k++;return t.first?function(t,n,a){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,a)}:function(t,n,s){var o,u,d=[Y,a];if(s){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((o=(u=t[v]||(t[v]={}))[r])&&o[0]===Y&&o[1]===a)return d[2]=o[2];if(u[r]=d,d[2]=e(t,n,s))return!0}}}function Me(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ge(e,t,n,r,i){for(var a,s=[],o=0,u=e.length,d=null!=t;o<u;o++)(a=e[o])&&(n&&!n(a,r,i)||(s.push(a),d&&t.push(o)));return s}function ve(e,t,n,r,i,a){return r&&!r[v]&&(r=ve(r)),i&&!i[v]&&(i=ve(i,a)),oe(function(a,s,o,u){var d,l,c,_=[],f=[],h=s.length,m=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",o.nodeType?[o]:o,[]),p=!e||!a&&t?m:ge(m,_,e,o,u),y=n?i||(a?e:h||r)?[]:s:p;if(n&&n(p,y,o,u),r)for(d=ge(y,f),r(d,[],o,u),l=d.length;l--;)(c=d[l])&&(y[f[l]]=!(p[f[l]]=c));if(a){if(i||e){if(i){for(d=[],l=y.length;l--;)(c=y[l])&&d.push(p[l]=c);i(null,y=[],d,u)}for(l=y.length;l--;)(c=y[l])&&(d=i?C(a,c):_[l])>-1&&(a[d]=!(s[d]=c))}}else y=ge(y===s?y.splice(h,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function Le(e){for(var t,n,i,a=e.length,s=r.relative[e[0].type],o=s||r.relative[" "],u=s?1:0,l=ye(function(e){return e===t},o,!0),c=ye(function(e){return C(t,e)>-1},o,!0),_=[function(e,n,r){var i=!s&&(r||n!==d)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];u<a;u++)if(n=r.relative[e[u].type])_=[ye(Me(_),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[v]){for(i=++u;i<a&&!r.relative[e[i].type];i++);return ve(u>1&&Me(_),u>1&&pe(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(U,"$1"),n,u<i&&Le(e.slice(u,i)),i<a&&Le(e=e.slice(i)),i<a&&pe(e))}_.push(n)}return Me(_)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,s=ae.tokenize=function(e,t){var n,i,a,s,o,u,d,l=b[e+" "];if(l)return t?0:l.slice(0);for(o=e,u=[],d=r.preFilter;o;){for(s in n&&!(i=$.exec(o))||(i&&(o=o.slice(i[0].length)||o),u.push(a=[])),n=!1,(i=J.exec(o))&&(n=i.shift(),a.push({value:n,type:i[0].replace(U," ")}),o=o.slice(n.length)),r.filter)!(i=G[s].exec(o))||d[s]&&!(i=d[s](i))||(n=i.shift(),a.push({value:n,type:s,matches:i}),o=o.slice(n.length));if(!n)break}return t?o.length:o?ae.error(e):b(e,u).slice(0)},o=ae.compile=function(e,t){var n,i=[],a=[],o=T[e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)(o=Le(t[n]))[v]?i.push(o):a.push(o);(o=T(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,s,o,u,l){var c,_,h,m=0,p="0",y=a&&[],M=[],g=d,v=a||i&&r.find.TAG("*",l),L=Y+=null==g?1:Math.random()||.1,k=v.length;for(l&&(d=s!==f&&s);p!==k&&null!=(c=v[p]);p++){if(i&&c){for(_=0;h=e[_++];)if(h(c,s,o)){u.push(c);break}l&&(Y=L)}n&&((c=!h&&c)&&m--,a&&y.push(c))}if(m+=p,n&&p!==m){for(_=0;h=t[_++];)h(y,M,s,o);if(a){if(m>0)for(;p--;)y[p]||M[p]||(M[p]=H.call(u));M=ge(M)}O.apply(u,M),l&&!a&&M.length>0&&m+t.length>1&&ae.uniqueSort(u)}return l&&(Y=L,d=g),y};return n?oe(a):a}(a,i))).selector=e}return o},u=ae.select=function(e,t,i,a){var u,d,l,c,_,f="function"==typeof e&&e,h=!a&&s(e=f.selector||e);if(i=i||[],1===h.length){if((d=h[0]=h[0].slice(0)).length>2&&"ID"===(l=d[0]).type&&n.getById&&9===t.nodeType&&m&&r.relative[d[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(ne,re),t)||[])[0]))return i;f&&(t=t.parentNode),e=e.slice(d.shift().value.length)}for(u=G.needsContext.test(e)?0:d.length;u--&&(l=d[u],!r.relative[c=l.type]);)if((_=r.find[c])&&(a=_(l.matches[0].replace(ne,re),ee.test(d[0].type)&&he(t.parentNode)||t))){if(d.splice(u,1),!(e=a.length&&pe(d)))return O.apply(i,a),i;break}}return(f||o(e,h))(a,t,!m,i,ee.test(e)&&he(t.parentNode)||t),i},n.sortStable=v.split("").sort(D).join("")===v,n.detectDuplicates=!!c,_(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(A,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ae}(n);m.find=L,m.expr=L.selectors,m.expr[":"]=m.expr.pseudos,m.unique=L.uniqueSort,m.text=L.getText,m.isXMLDoc=L.isXML,m.contains=L.contains;var Y=m.expr.match.needsContext,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function b(e,t,n){if(m.isFunction(t))return m.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return m.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(w.test(t))return m.filter(t,e,n);t=m.filter(t,e)}return m.grep(e,function(e){return d.call(t,e)>=0!==n})}m.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?m.find.matchesSelector(r,e)?[r]:[]:m.find.matches(e,m.grep(t,function(e){return 1===e.nodeType}))},m.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(m(e).filter(function(){for(t=0;t<n;t++)if(m.contains(i[t],this))return!0}));for(t=0;t<n;t++)m.find(e,i[t],r);return(r=this.pushStack(n>1?m.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(b(this,e||[],!1))},not:function(e){return this.pushStack(b(this,e||[],!0))},is:function(e){return!!b(this,"string"==typeof e&&Y.test(e)?m(e):e||[],!1).length}});var T,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(m.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!n[1]&&t)return!t||t.jquery?(t||T).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof m?t[0]:t,m.merge(this,m.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:h,!0)),k.test(n[1])&&m.isPlainObject(t))for(n in t)m.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=h.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=h,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):m.isFunction(e)?void 0!==T.ready?T.ready(e):e(m):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),m.makeArray(e,this))}).prototype=m.fn,T=m(h);var x=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}m.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&m(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),m.fn.extend({has:function(e){var t=m(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(m.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],s=Y.test(e)||"string"!=typeof e?m(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&m.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?m.unique(a):a)},index:function(e){return e?"string"==typeof e?d.call(m(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(m.unique(m.merge(this.get(),m(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),m.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return m.dir(e,"parentNode")},parentsUntil:function(e,t,n){return m.dir(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return m.dir(e,"nextSibling")},prevAll:function(e){return m.dir(e,"previousSibling")},nextUntil:function(e,t,n){return m.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return m.dir(e,"previousSibling",n)},siblings:function(e){return m.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return m.sibling(e.firstChild)},contents:function(e){return e.contentDocument||m.merge([],e.childNodes)}},function(e,t){m.fn[e]=function(n,r){var i=m.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=m.filter(r,i)),this.length>1&&(S[e]||m.unique(i),x.test(e)&&i.reverse()),this.pushStack(i)}});var H,P=/\S+/g,O={};function E(){h.removeEventListener("DOMContentLoaded",E,!1),n.removeEventListener("load",E,!1),m.ready()}m.Callbacks=function(e){e="string"==typeof e?O[e]||function(e){var t=O[e]={};return m.each(e.match(P)||[],function(e,n){t[n]=!0}),t}(e):m.extend({},e);var t,n,r,i,a,s,o=[],u=!e.once&&[],d=function(c){for(t=e.memory&&c,n=!0,s=i||0,i=0,a=o.length,r=!0;o&&s<a;s++)if(!1===o[s].apply(c[0],c[1])&&e.stopOnFalse){t=!1;break}r=!1,o&&(u?u.length&&d(u.shift()):t?o=[]:l.disable())},l={add:function(){if(o){var n=o.length;!function t(n){m.each(n,function(n,r){var i=m.type(r);"function"===i?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==i&&t(r)})}(arguments),r?a=o.length:t&&(i=n,d(t))}return this},remove:function(){return o&&m.each(arguments,function(e,t){for(var n;(n=m.inArray(t,o,n))>-1;)o.splice(n,1),r&&(n<=a&&a--,n<=s&&s--)}),this},has:function(e){return e?m.inArray(e,o)>-1:!(!o||!o.length)},empty:function(){return o=[],a=0,this},disable:function(){return o=u=t=void 0,this},disabled:function(){return!o},lock:function(){return u=void 0,t||l.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!o||n&&!u||(t=[e,(t=t||[]).slice?t.slice():t],r?u.push(t):d(t)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},m.extend({Deferred:function(e){var t=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return m.Deferred(function(n){m.each(t,function(t,a){var s=m.isFunction(e[t])&&e[t];i[a[1]](function(){var e=s&&s.apply(this,arguments);e&&m.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?m.extend(e,r):r}},i={};return r.pipe=r.then,m.each(t,function(e,a){var s=a[2],o=a[3];r[a[1]]=s.add,o&&s.add(function(){n=o},t[1^e][2].disable,t[2][2].lock),i[a[0]]=function(){return i[a[0]+"With"](this===i?r:this,arguments),this},i[a[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,a=s.call(arguments),o=a.length,u=1!==o||e&&m.isFunction(e.promise)?o:0,d=1===u?e:m.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?s.call(arguments):i,r===t?d.notifyWith(n,r):--u||d.resolveWith(n,r)}};if(o>1)for(t=new Array(o),n=new Array(o),r=new Array(o);i<o;i++)a[i]&&m.isFunction(a[i].promise)?a[i].promise().done(l(i,r,a)).fail(d.reject).progress(l(i,n,t)):--u;return u||d.resolveWith(r,a),d.promise()}}),m.fn.ready=function(e){return m.ready.promise().done(e),this},m.extend({isReady:!1,readyWait:1,holdReady:function(e){e?m.readyWait++:m.ready(!0)},ready:function(e){(!0===e?--m.readyWait:m.isReady)||(m.isReady=!0,!0!==e&&--m.readyWait>0||(H.resolveWith(h,[m]),m.fn.triggerHandler&&(m(h).triggerHandler("ready"),m(h).off("ready"))))}}),m.ready.promise=function(e){return H||(H=m.Deferred(),"complete"===h.readyState?setTimeout(m.ready):(h.addEventListener("DOMContentLoaded",E,!1),n.addEventListener("load",E,!1))),H.promise(e)},m.ready.promise();var C=m.access=function(e,t,n,r,i,a,s){var o=0,u=e.length,d=null==n;if("object"===m.type(n))for(o in i=!0,n)m.access(e,t,o,n[o],!0,a,s);else if(void 0!==r&&(i=!0,m.isFunction(r)||(s=!0),d&&(s?(t.call(e,r),t=null):(d=t,t=function(e,t,n){return d.call(m(e),n)})),t))for(;o<u;o++)t(e[o],n,s?r:r.call(e[o],o,t(e[o],n)));return i?e:d?t.call(e):u?t(e[0],n):a};function A(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=m.expando+A.uid++}m.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},A.uid=1,A.accepts=m.acceptData,A.prototype={key:function(e){if(!A.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=A.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,m.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),a=this.cache[i];if("string"==typeof t)a[t]=n;else if(m.isEmptyObject(a))m.extend(this.cache[i],t);else for(r in t)a[r]=t[r];return a},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,m.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=this.key(e),s=this.cache[a];if(void 0===t)this.cache[a]={};else{m.isArray(t)?r=t.concat(t.map(m.camelCase)):(i=m.camelCase(t),r=t in s?[t,i]:(r=i)in s?[r]:r.match(P)||[]),n=r.length;for(;n--;)delete s[r[n]]}},hasData:function(e){return!m.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var F=new A,N=new A,W=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;function R(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(I,"-$1").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:W.test(n)?m.parseJSON(n):n)}catch(e){}N.set(e,t,n)}else n=void 0;return n}m.extend({hasData:function(e){return N.hasData(e)||F.hasData(e)},data:function(e,t,n){return N.access(e,t,n)},removeData:function(e,t){N.remove(e,t)},_data:function(e,t,n){return F.access(e,t,n)},_removeData:function(e,t){F.remove(e,t)}}),m.fn.extend({data:function(e,t){var n,r,i,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(i=N.get(a),1===a.nodeType&&!F.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=m.camelCase(r.slice(5)),R(a,r,i[r]));F.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){N.set(this,e)}):C(this,function(t){var n,r=m.camelCase(e);if(a&&void 0===t)return void 0!==(n=N.get(a,e))?n:void 0!==(n=N.get(a,r))?n:void 0!==(n=R(a,r,void 0))?n:void 0;this.each(function(){var n=N.get(this,r);N.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&N.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){N.remove(this,e)})}}),m.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=F.get(e,t),n&&(!r||m.isArray(n)?r=F.access(e,t,m.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=m.queue(e,t),r=n.length,i=n.shift(),a=m._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){m.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return F.get(e,n)||F.access(e,n,{empty:m.Callbacks("once memory").add(function(){F.remove(e,[t+"queue",n])})})}}),m.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?m.queue(this[0],e):void 0===t?this:this.each(function(){var n=m.queue(this,e,t);m._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&m.dequeue(this,e)})},dequeue:function(e){return this.each(function(){m.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=m.Deferred(),a=this,s=this.length,o=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=F.get(a[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(o));return o(),i.promise(t)}});var z,U,$=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,J=["Top","Right","Bottom","Left"],q=function(e,t){return e=t||e,"none"===m.css(e,"display")||!m.contains(e.ownerDocument,e)},B=/^(?:checkbox|radio)$/i;z=h.createDocumentFragment().appendChild(h.createElement("div")),(U=h.createElement("input")).setAttribute("type","radio"),U.setAttribute("checked","checked"),U.setAttribute("name","t"),z.appendChild(U),f.checkClone=z.cloneNode(!0).cloneNode(!0).lastChild.checked,z.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!z.cloneNode(!0).lastChild.defaultValue,f.focusinBubbles="onfocusin"in n;var V=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,K=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function Z(){return!1}function ee(){try{return h.activeElement}catch(e){}}m.event={global:{},add:function(e,t,n,r,i){var a,s,o,u,d,l,c,_,f,h,p,y=F.get(e);if(y)for(n.handler&&(n=(a=n).handler,i=a.selector),n.guid||(n.guid=m.guid++),(u=y.events)||(u=y.events={}),(s=y.handle)||(s=y.handle=function(t){return void 0!==m&&m.event.triggered!==t.type?m.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(P)||[""]).length;d--;)f=p=(o=X.exec(t[d])||[])[1],h=(o[2]||"").split(".").sort(),f&&(c=m.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=m.event.special[f]||{},l=m.extend({type:f,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&m.expr.match.needsContext.test(i),namespace:h.join(".")},a),(_=u[f])||((_=u[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(f,s,!1)),c.add&&(c.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?_.splice(_.delegateCount++,0,l):_.push(l),m.event.global[f]=!0)},remove:function(e,t,n,r,i){var a,s,o,u,d,l,c,_,f,h,p,y=F.hasData(e)&&F.get(e);if(y&&(u=y.events)){for(d=(t=(t||"").match(P)||[""]).length;d--;)if(f=p=(o=X.exec(t[d])||[])[1],h=(o[2]||"").split(".").sort(),f){for(c=m.event.special[f]||{},_=u[f=(r?c.delegateType:c.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=_.length;a--;)l=_[a],!i&&p!==l.origType||n&&n.guid!==l.guid||o&&!o.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(_.splice(a,1),l.selector&&_.delegateCount--,c.remove&&c.remove.call(e,l));s&&!_.length&&(c.teardown&&!1!==c.teardown.call(e,h,y.handle)||m.removeEvent(e,f,y.handle),delete u[f])}else for(f in u)m.event.remove(e,f+t[d],n,r,!0);m.isEmptyObject(u)&&(delete y.handle,F.remove(e,"events"))}},trigger:function(e,t,r,i){var a,s,o,u,d,l,c,f=[r||h],p=_.call(e,"type")?e.type:e,y=_.call(e,"namespace")?e.namespace.split("."):[];if(s=o=r=r||h,3!==r.nodeType&&8!==r.nodeType&&!K.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(y=p.split("."),p=y.shift(),y.sort()),d=p.indexOf(":")<0&&"on"+p,(e=e[m.expando]?e:new m.Event(p,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:m.makeArray(t,[e]),c=m.event.special[p]||{},i||!c.trigger||!1!==c.trigger.apply(r,t))){if(!i&&!c.noBubble&&!m.isWindow(r)){for(u=c.delegateType||p,K.test(u+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),o=s;o===(r.ownerDocument||h)&&f.push(o.defaultView||o.parentWindow||n)}for(a=0;(s=f[a++])&&!e.isPropagationStopped();)e.type=a>1?u:c.bindType||p,(l=(F.get(s,"events")||{})[e.type]&&F.get(s,"handle"))&&l.apply(s,t),(l=d&&s[d])&&l.apply&&m.acceptData(s)&&(e.result=l.apply(s,t),!1===e.result&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!m.acceptData(r)||d&&m.isFunction(r[p])&&!m.isWindow(r)&&((o=r[d])&&(r[d]=null),m.event.triggered=p,r[p](),m.event.triggered=void 0,o&&(r[d]=o)),e.result}},dispatch:function(e){e=m.event.fix(e);var t,n,r,i,a,o=[],u=s.call(arguments),d=(F.get(this,"events")||{})[e.type]||[],l=m.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(o=m.event.handlers.call(this,e,d),t=0;(i=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((m.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,u))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,s=[],o=t.delegateCount,u=e.target;if(o&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(!0!==u.disabled||"click"!==e.type){for(r=[],n=0;n<o;n++)void 0===r[i=(a=t[n]).selector+" "]&&(r[i]=a.needsContext?m(i,this).index(u)>=0:m.find(i,this,null,[u]).length),r[i]&&r.push(a);r.length&&s.push({elem:u,handlers:r})}return o<t.length&&s.push({elem:this,handlers:t.slice(o)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||h).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[m.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=G.test(i)?this.mouseHooks:V.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new m.Event(a),t=r.length;t--;)e[n=r[t]]=a[n];return e.target||(e.target=h),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ee()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ee()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&m.nodeName(this,"input"))return this.click(),!1},_default:function(e){return m.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=m.extend(new m.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?m.event.trigger(i,null,t):m.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},m.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},m.Event=function(e,t){if(!(this instanceof m.Event))return new m.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Q:Z):this.type=e,t&&m.extend(this,t),this.timeStamp=e&&e.timeStamp||m.now(),this[m.expando]=!0},m.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Q,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Q,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Q,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){m.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||m.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),f.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){m.event.simulate(t,e.target,m.event.fix(e),!0)};m.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=F.access(r,t);i||r.addEventListener(e,n,!0),F.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=F.access(r,t)-1;i?F.access(r,t,i):(r.removeEventListener(e,n,!0),F.remove(r,t))}}}),m.fn.extend({on:function(e,t,n,r,i){var a,s;if("object"==typeof e){for(s in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=Z;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return m().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=m.guid++)),this.each(function(){m.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,m(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Z),this.each(function(){m.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){m.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return m.event.trigger(e,t,n,!0)}});var te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ne=/<([\w:]+)/,re=/<|&#?\w+;/,ie=/<(?:script|style|link)/i,ae=/checked\s*(?:[^=]|=\s*.checked.)/i,se=/^$|\/(?:java|ecma)script/i,oe=/^true\/(.*)/,ue=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,de={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function le(e,t){return m.nodeName(e,"table")&&m.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ce(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _e(e){var t=oe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function fe(e,t){for(var n=0,r=e.length;n<r;n++)F.set(e[n],"globalEval",!t||F.get(t[n],"globalEval"))}function he(e,t){var n,r,i,a,s,o,u,d;if(1===t.nodeType){if(F.hasData(e)&&(a=F.access(e),s=F.set(t,a),d=a.events))for(i in delete s.handle,s.events={},d)for(n=0,r=d[i].length;n<r;n++)m.event.add(t,i,d[i][n]);N.hasData(e)&&(o=N.access(e),u=m.extend({},o),N.set(t,u))}}function me(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&m.nodeName(e,t)?m.merge([e],n):n}de.optgroup=de.option,de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,m.extend({clone:function(e,t,n){var r,i,a,s,o,u,d,l=e.cloneNode(!0),c=m.contains(e.ownerDocument,e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||m.isXMLDoc(e)))for(s=me(l),r=0,i=(a=me(e)).length;r<i;r++)o=a[r],u=s[r],d=void 0,"input"===(d=u.nodeName.toLowerCase())&&B.test(o.type)?u.checked=o.checked:"input"!==d&&"textarea"!==d||(u.defaultValue=o.defaultValue);if(t)if(n)for(a=a||me(e),s=s||me(l),r=0,i=a.length;r<i;r++)he(a[r],s[r]);else he(e,l);return(s=me(l,"script")).length>0&&fe(s,!c&&me(e,"script")),l},buildFragment:function(e,t,n,r){for(var i,a,s,o,u,d,l=t.createDocumentFragment(),c=[],_=0,f=e.length;_<f;_++)if((i=e[_])||0===i)if("object"===m.type(i))m.merge(c,i.nodeType?[i]:i);else if(re.test(i)){for(a=a||l.appendChild(t.createElement("div")),s=(ne.exec(i)||["",""])[1].toLowerCase(),o=de[s]||de._default,a.innerHTML=o[1]+i.replace(te,"<$1></$2>")+o[2],d=o[0];d--;)a=a.lastChild;m.merge(c,a.childNodes),(a=l.firstChild).textContent=""}else c.push(t.createTextNode(i));for(l.textContent="",_=0;i=c[_++];)if((!r||-1===m.inArray(i,r))&&(u=m.contains(i.ownerDocument,i),a=me(l.appendChild(i),"script"),u&&fe(a),n))for(d=0;i=a[d++];)se.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,a=m.event.special,s=0;void 0!==(n=e[s]);s++){if(m.acceptData(n)&&(i=n[F.expando])&&(t=F.cache[i])){if(t.events)for(r in t.events)a[r]?m.event.remove(n,r):m.removeEvent(n,r,t.handle);F.cache[i]&&delete F.cache[i]}delete N.cache[n[N.expando]]}}}),m.fn.extend({text:function(e){return C(this,function(e){return void 0===e?m.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||le(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?m.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||m.cleanData(me(n)),n.parentNode&&(t&&m.contains(n.ownerDocument,n)&&fe(me(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(m.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return m.clone(this,e,t)})},html:function(e){return C(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ie.test(e)&&!de[(ne.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(te,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(m.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,m.cleanData(me(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=o.apply([],e);var n,r,i,a,s,u,d=0,l=this.length,c=this,_=l-1,h=e[0],p=m.isFunction(h);if(p||l>1&&"string"==typeof h&&!f.checkClone&&ae.test(h))return this.each(function(n){var r=c.eq(n);p&&(e[0]=h.call(this,n,r.html())),r.domManip(e,t)});if(l&&(r=(n=m.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=r),r)){for(a=(i=m.map(me(n,"script"),ce)).length;d<l;d++)s=n,d!==_&&(s=m.clone(s,!0,!0),a&&m.merge(i,me(s,"script"))),t.call(this[d],s,d);if(a)for(u=i[i.length-1].ownerDocument,m.map(i,_e),d=0;d<a;d++)s=i[d],se.test(s.type||"")&&!F.access(s,"globalEval")&&m.contains(u,s)&&(s.src?m._evalUrl&&m._evalUrl(s.src):m.globalEval(s.textContent.replace(ue,"")))}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){m.fn[e]=function(e){for(var n,r=[],i=m(e),a=i.length-1,s=0;s<=a;s++)n=s===a?this:this.clone(!0),m(i[s])[t](n),u.apply(r,n.get());return this.pushStack(r)}});var pe,ye={};function Me(e,t){var r,i=m(t.createElement(e)).appendTo(t.body),a=n.getDefaultComputedStyle&&(r=n.getDefaultComputedStyle(i[0]))?r.display:m.css(i[0],"display");return i.detach(),a}function ge(e){var t=h,n=ye[e];return n||("none"!==(n=Me(e,t))&&n||((t=(pe=(pe||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Me(e,t),pe.detach()),ye[e]=n),n}var ve=/^margin/,Le=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),Ye=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):n.getComputedStyle(e,null)};function ke(e,t,n){var r,i,a,s,o=e.style;return(n=n||Ye(e))&&(s=n.getPropertyValue(t)||n[t]),n&&(""!==s||m.contains(e.ownerDocument,e)||(s=m.style(e,t)),Le.test(s)&&ve.test(t)&&(r=o.width,i=o.minWidth,a=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=r,o.minWidth=i,o.maxWidth=a)),void 0!==s?s+"":s}function we(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var e,t,r=h.documentElement,i=h.createElement("div"),a=h.createElement("div");function s(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",r.appendChild(i);var s=n.getComputedStyle(a,null);e="1%"!==s.top,t="4px"===s.width,r.removeChild(i)}a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===a.style.backgroundClip,i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",i.appendChild(a),n.getComputedStyle&&m.extend(f,{pixelPosition:function(){return s(),e},boxSizingReliable:function(){return null==t&&s(),t},reliableMarginRight:function(){var e,t=a.appendChild(h.createElement("div"));return t.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",a.style.width="1px",r.appendChild(i),e=!parseFloat(n.getComputedStyle(t,null).marginRight),r.removeChild(i),a.removeChild(t),e}}))}(),m.swap=function(e,t,n,r){var i,a,s={};for(a in t)s[a]=e.style[a],e.style[a]=t[a];for(a in i=n.apply(e,r||[]),t)e.style[a]=s[a];return i};var be=/^(none|table(?!-c[ea]).+)/,Te=new RegExp("^("+$+")(.*)$","i"),De=new RegExp("^([+-])=("+$+")","i"),xe={position:"absolute",visibility:"hidden",display:"block"},Se={letterSpacing:"0",fontWeight:"400"},je=["Webkit","O","Moz","ms"];function He(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=je.length;i--;)if((t=je[i]+n)in e)return t;return r}function Pe(e,t,n){var r=Te.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Oe(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,s=0;a<4;a+=2)"margin"===n&&(s+=m.css(e,n+J[a],!0,i)),r?("content"===n&&(s-=m.css(e,"padding"+J[a],!0,i)),"margin"!==n&&(s-=m.css(e,"border"+J[a]+"Width",!0,i))):(s+=m.css(e,"padding"+J[a],!0,i),"padding"!==n&&(s+=m.css(e,"border"+J[a]+"Width",!0,i)));return s}function Ee(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=Ye(e),s="border-box"===m.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(((i=ke(e,t,a))<0||null==i)&&(i=e.style[t]),Le.test(i))return i;r=s&&(f.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Oe(e,t,n||(s?"border":"content"),r,a)+"px"}function Ce(e,t){for(var n,r,i,a=[],s=0,o=e.length;s<o;s++)(r=e[s]).style&&(a[s]=F.get(r,"olddisplay"),n=r.style.display,t?(a[s]||"none"!==n||(r.style.display=""),""===r.style.display&&q(r)&&(a[s]=F.access(r,"olddisplay",ge(r.nodeName)))):(i=q(r),"none"===n&&i||F.set(r,"olddisplay",i?n:m.css(r,"display"))));for(s=0;s<o;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[s]||"":"none"));return e}function Ae(e,t,n,r,i){return new Ae.prototype.init(e,t,n,r,i)}m.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{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(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,s,o=m.camelCase(t),u=e.style;if(t=m.cssProps[o]||(m.cssProps[o]=He(u,o)),s=m.cssHooks[t]||m.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t];"string"==(a=typeof n)&&(i=De.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(m.css(e,t)),a="number"),null!=n&&n==n&&("number"!==a||m.cssNumber[o]||(n+="px"),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))}},css:function(e,t,n,r){var i,a,s,o=m.camelCase(t);return t=m.cssProps[o]||(m.cssProps[o]=He(e.style,o)),(s=m.cssHooks[t]||m.cssHooks[o])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=ke(e,t,r)),"normal"===i&&t in Se&&(i=Se[t]),""===n||n?(a=parseFloat(i),!0===n||m.isNumeric(a)?a||0:i):i}}),m.each(["height","width"],function(e,t){m.cssHooks[t]={get:function(e,n,r){if(n)return be.test(m.css(e,"display"))&&0===e.offsetWidth?m.swap(e,xe,function(){return Ee(e,t,r)}):Ee(e,t,r)},set:function(e,n,r){var i=r&&Ye(e);return Pe(0,n,r?Oe(e,t,r,"border-box"===m.css(e,"boxSizing",!1,i),i):0)}}}),m.cssHooks.marginRight=we(f.reliableMarginRight,function(e,t){if(t)return m.swap(e,{display:"inline-block"},ke,[e,"marginRight"])}),m.each({margin:"",padding:"",border:"Width"},function(e,t){m.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+J[r]+t]=a[r]||a[r-2]||a[0];return i}},ve.test(e)||(m.cssHooks[e+t].set=Pe)}),m.fn.extend({css:function(e,t){return C(this,function(e,t,n){var r,i,a={},s=0;if(m.isArray(t)){for(r=Ye(e),i=t.length;s<i;s++)a[t[s]]=m.css(e,t[s],!1,r);return a}return void 0!==n?m.style(e,t,n):m.css(e,t)},e,t,arguments.length>1)},show:function(){return Ce(this,!0)},hide:function(){return Ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){q(this)?m(this).show():m(this).hide()})}}),m.Tween=Ae,Ae.prototype={constructor:Ae,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(m.cssNumber[n]?"":"px")},cur:function(){var e=Ae.propHooks[this.prop];return e&&e.get?e.get(this):Ae.propHooks._default.get(this)},run:function(e){var t,n=Ae.propHooks[this.prop];return this.options.duration?this.pos=t=m.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ae.propHooks._default.set(this),this}},Ae.prototype.init.prototype=Ae.prototype,Ae.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=m.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){m.fx.step[e.prop]?m.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[m.cssProps[e.prop]]||m.cssHooks[e.prop])?m.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ae.propHooks.scrollTop=Ae.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},m.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},m.fx=Ae.prototype.init,m.fx.step={};var Fe,Ne,We=/^(?:toggle|show|hide)$/,Ie=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),Re=/queueHooks$/,ze=[function(e,t,n){var r,i,a,s,o,u,d,l=this,c={},_=e.style,f=e.nodeType&&q(e),h=F.get(e,"fxshow");for(r in n.queue||(null==(o=m._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,u=o.empty.fire,o.empty.fire=function(){o.unqueued||u()}),o.unqueued++,l.always(function(){l.always(function(){o.unqueued--,m.queue(e,"fx").length||o.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[_.overflow,_.overflowX,_.overflowY],"inline"===("none"===(d=m.css(e,"display"))?F.get(e,"olddisplay")||ge(e.nodeName):d)&&"none"===m.css(e,"float")&&(_.display="inline-block")),n.overflow&&(_.overflow="hidden",l.always(function(){_.overflow=n.overflow[0],_.overflowX=n.overflow[1],_.overflowY=n.overflow[2]})),t)if(i=t[r],We.exec(i)){if(delete t[r],a=a||"toggle"===i,i===(f?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;f=!0}c[r]=h&&h[r]||m.style(e,r)}else d=void 0;if(m.isEmptyObject(c))"inline"===("none"===d?ge(e.nodeName):d)&&(_.display=d);else for(r in h?"hidden"in h&&(f=h.hidden):h=F.access(e,"fxshow",{}),a&&(h.hidden=!f),f?m(e).show():l.done(function(){m(e).hide()}),l.done(function(){var t;for(t in F.remove(e,"fxshow"),c)m.style(e,t,c[t])}),c)s=qe(f?h[r]:0,r,l),r in h||(h[r]=s.start,f&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],Ue={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Ie.exec(t),a=i&&i[3]||(m.cssNumber[e]?"":"px"),s=(m.cssNumber[e]||"px"!==a&&+r)&&Ie.exec(m.css(n.elem,e)),o=1,u=20;if(s&&s[3]!==a){a=a||s[3],i=i||[],s=+r||1;do{s/=o=o||".5",m.style(n.elem,e,s+a)}while(o!==(o=n.cur()/r)&&1!==o&&--u)}return i&&(s=n.start=+s||+r||0,n.unit=a,n.end=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};function $e(){return setTimeout(function(){Fe=void 0}),Fe=m.now()}function Je(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=J[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function qe(e,t,n){for(var r,i=(Ue[t]||[]).concat(Ue["*"]),a=0,s=i.length;a<s;a++)if(r=i[a].call(n,t,e))return r}function Be(e,t,n){var r,i,a=0,s=ze.length,o=m.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Fe||$e(),n=Math.max(0,d.startTime+d.duration-t),r=1-(n/d.duration||0),a=0,s=d.tweens.length;a<s;a++)d.tweens[a].run(r);return o.notifyWith(e,[d,r,n]),r<1&&s?n:(o.resolveWith(e,[d]),!1)},d=o.promise({elem:e,props:m.extend({},t),opts:m.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Fe||$e(),duration:n.duration,tweens:[],createTween:function(t,n){var r=m.Tween(e,d.opts,t,n,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(r),r},stop:function(t){var n=0,r=t?d.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)d.tweens[n].run(1);return t?o.resolveWith(e,[d,t]):o.rejectWith(e,[d,t]),this}}),l=d.props;for(function(e,t){var n,r,i,a,s;for(n in e)if(i=t[r=m.camelCase(n)],a=e[n],m.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(s=m.cssHooks[r])&&"expand"in s)for(n in a=s.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(l,d.opts.specialEasing);a<s;a++)if(r=ze[a].call(d,e,l,d.opts))return r;return m.map(l,qe,d),m.isFunction(d.opts.start)&&d.opts.start.call(e,d),m.fx.timer(m.extend(u,{elem:e,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}m.Animation=m.extend(Be,{tweener:function(e,t){m.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],Ue[n]=Ue[n]||[],Ue[n].unshift(t)},prefilter:function(e,t){t?ze.unshift(e):ze.push(e)}}),m.speed=function(e,t,n){var r=e&&"object"==typeof e?m.extend({},e):{complete:n||!n&&t||m.isFunction(e)&&e,duration:e,easing:n&&t||t&&!m.isFunction(t)&&t};return r.duration=m.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in m.fx.speeds?m.fx.speeds[r.duration]:m.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m.isFunction(r.old)&&r.old.call(this),r.queue&&m.dequeue(this,r.queue)},r},m.fn.extend({fadeTo:function(e,t,n,r){return this.filter(q).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=m.isEmptyObject(e),a=m.speed(t,n,r),s=function(){var t=Be(this,m.extend({},e),a);(i||F.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=m.timers,s=F.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Re.test(i)&&r(s[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||m.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=F.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=m.timers,s=r?r.length:0;for(n.finish=!0,m.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),m.each(["toggle","show","hide"],function(e,t){var n=m.fn[t];m.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Je(t,!0),e,r,i)}}),m.each({slideDown:Je("show"),slideUp:Je("hide"),slideToggle:Je("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){m.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),m.timers=[],m.fx.tick=function(){var e,t=0,n=m.timers;for(Fe=m.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||m.fx.stop(),Fe=void 0},m.fx.timer=function(e){m.timers.push(e),e()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){Ne||(Ne=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(Ne),Ne=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(e,t){return e=m.fx&&m.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=h.createElement("input"),t=h.createElement("select"),n=t.appendChild(h.createElement("option"));e.type="checkbox",f.checkOn=""!==e.value,f.optSelected=n.selected,t.disabled=!0,f.optDisabled=!n.disabled,(e=h.createElement("input")).value="t",e.type="radio",f.radioValue="t"===e.value}();var Ve,Ge=m.expr.attrHandle;m.fn.extend({attr:function(e,t){return C(this,m.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){m.removeAttr(this,e)})}}),m.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?m.prop(e,t,n):(1===a&&m.isXMLDoc(e)||(t=t.toLowerCase(),r=m.attrHooks[t]||(m.expr.match.bool.test(t)?Ve:void 0)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=m.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void m.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(P);if(a&&1===e.nodeType)for(;n=a[i++];)r=m.propFix[n]||n,m.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&m.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Ve={set:function(e,t,n){return!1===t?m.removeAttr(e,n):e.setAttribute(n,n),n}},m.each(m.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ge[t]||m.find.attr;Ge[t]=function(e,t,r){var i,a;return r||(a=Ge[t],Ge[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Ge[t]=a),i}});var Ke=/^(?:input|select|textarea|button)$/i;m.fn.extend({prop:function(e,t){return C(this,m.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[m.propFix[e]||e]})}}),m.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!m.isXMLDoc(e))&&(t=m.propFix[t]||t,i=m.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ke.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),f.optSelected||(m.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});var Xe=/[\t\r\n\f]/g;m.fn.extend({addClass:function(e){var t,n,r,i,a,s,o="string"==typeof e&&e,u=0,d=this.length;if(m.isFunction(e))return this.each(function(t){m(this).addClass(e.call(this,t,this.className))});if(o)for(t=(e||"").match(P)||[];u<d;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(Xe," "):" ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=m.trim(r),n.className!==s&&(n.className=s)}return this},removeClass:function(e){var t,n,r,i,a,s,o=0===arguments.length||"string"==typeof e&&e,u=0,d=this.length;if(m.isFunction(e))return this.each(function(t){m(this).removeClass(e.call(this,t,this.className))});if(o)for(t=(e||"").match(P)||[];u<d;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(Xe," "):"")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");s=e?m.trim(r):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):m.isFunction(e)?this.each(function(n){m(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=m(this),a=e.match(P)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else"undefined"!==n&&"boolean"!==n||(this.className&&F.set(this,"__className__",this.className),this.className=this.className||!1===e?"":F.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Xe," ").indexOf(t)>=0)return!0;return!1}});var Qe=/\r/g;m.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=m.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,m(this).val()):e)?i="":"number"==typeof i?i+="":m.isArray(i)&&(i=m.map(i,function(e){return null==e?"":e+""})),(t=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=m.valHooks[i.type]||m.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Qe,""):null==n?"":n:void 0}}),m.extend({valHooks:{option:{get:function(e){var t=m.find.attr(e,"value");return null!=t?t:m.trim(m.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,s=a?null:[],o=a?i+1:r.length,u=i<0?o:a?i:0;u<o;u++)if(((n=r[u]).selected||u===i)&&(f.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!m.nodeName(n.parentNode,"optgroup"))){if(t=m(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=m.makeArray(t),s=i.length;s--;)((r=i[s]).selected=m.inArray(r.value,a)>=0)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(e,t){if(m.isArray(t))return e.checked=m.inArray(m(e).val(),t)>=0}},f.checkOn||(m.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){m.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),m.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Ze=m.now(),et=/\?/;m.parseJSON=function(e){return JSON.parse(e+"")},m.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+e),t};var tt=/#.*$/,nt=/([?&])_=[^&]*/,rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,it=/^(?:GET|HEAD)$/,at=/^\/\//,st=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ot={},ut={},dt="*/".concat("*"),lt=n.location.href,ct=st.exec(lt.toLowerCase())||[];function _t(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(P)||[];if(m.isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ft(e,t,n,r){var i={},a=e===ut;function s(o){var u;return i[o]=!0,m.each(e[o]||[],function(e,o){var d=o(t,n,r);return"string"!=typeof d||a||i[d]?a?!(u=d):void 0:(t.dataTypes.unshift(d),s(d),!1)}),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function ht(e,t){var n,r,i=m.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&m.extend(!0,e,r),e}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":dt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ht(ht(e,m.ajaxSettings),t):ht(m.ajaxSettings,e)},ajaxPrefilter:_t(ot),ajaxTransport:_t(ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,a,s,o,u,d,l=m.ajaxSetup({},t),c=l.context||l,_=l.context&&(c.nodeType||c.jquery)?m(c):m.event,f=m.Deferred(),h=m.Callbacks("once memory"),p=l.statusCode||{},y={},M={},g=0,v="canceled",L={readyState:0,getResponseHeader:function(e){var t;if(2===g){if(!a)for(a={};t=rt.exec(i);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===g?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return g||(e=M[n]=M[n]||e,y[e]=t),this},overrideMimeType:function(e){return g||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(g<2)for(t in e)p[t]=[p[t],e[t]];else L.always(e[L.status]);return this},abort:function(e){var t=e||v;return n&&n.abort(t),Y(0,t),this}};if(f.promise(L).complete=h.add,L.success=L.done,L.error=L.fail,l.url=((e||l.url||lt)+"").replace(tt,"").replace(at,ct[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=m.trim(l.dataType||"*").toLowerCase().match(P)||[""],null==l.crossDomain&&(o=st.exec(l.url.toLowerCase()),l.crossDomain=!(!o||o[1]===ct[1]&&o[2]===ct[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(ct[3]||("http:"===ct[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=m.param(l.data,l.traditional)),ft(ot,l,t,L),2===g)return L;for(d in(u=m.event&&l.global)&&0==m.active++&&m.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!it.test(l.type),r=l.url,l.hasContent||(l.data&&(r=l.url+=(et.test(r)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=nt.test(r)?r.replace(nt,"$1_="+Ze++):r+(et.test(r)?"&":"?")+"_="+Ze++)),l.ifModified&&(m.lastModified[r]&&L.setRequestHeader("If-Modified-Since",m.lastModified[r]),m.etag[r]&&L.setRequestHeader("If-None-Match",m.etag[r])),(l.data&&l.hasContent&&!1!==l.contentType||t.contentType)&&L.setRequestHeader("Content-Type",l.contentType),L.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+dt+"; q=0.01":""):l.accepts["*"]),l.headers)L.setRequestHeader(d,l.headers[d]);if(l.beforeSend&&(!1===l.beforeSend.call(c,L,l)||2===g))return L.abort();for(d in v="abort",{success:1,error:1,complete:1})L[d](l[d]);if(n=ft(ut,l,t,L)){L.readyState=1,u&&_.trigger("ajaxSend",[L,l]),l.async&&l.timeout>0&&(s=setTimeout(function(){L.abort("timeout")},l.timeout));try{g=1,n.send(y,Y)}catch(e){if(!(g<2))throw e;Y(-1,e)}}else Y(-1,"No Transport");function Y(e,t,a,o){var d,y,M,v,Y,k=t;2!==g&&(g=2,s&&clearTimeout(s),n=void 0,i=o||"",L.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(v=function(e,t,n){for(var r,i,a,s,o=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in o)if(o[i]&&o[i].test(r)){u.unshift(i);break}if(u[0]in n)a=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){a=i;break}s||(s=i)}a=a||s}if(a)return a!==u[0]&&u.unshift(a),n[a]}(l,L,a)),v=function(e,t,n,r){var i,a,s,o,u,d={},l=e.dataTypes.slice();if(l[1])for(s in e.converters)d[s.toLowerCase()]=e.converters[s];for(a=l.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=a,a=l.shift())if("*"===a)a=u;else if("*"!==u&&u!==a){if(!(s=d[u+" "+a]||d["* "+a]))for(i in d)if((o=i.split(" "))[1]===a&&(s=d[u+" "+o[0]]||d["* "+o[0]])){!0===s?s=d[i]:!0!==d[i]&&(a=o[0],l.unshift(o[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+a}}}return{state:"success",data:t}}(l,v,L,d),d?(l.ifModified&&((Y=L.getResponseHeader("Last-Modified"))&&(m.lastModified[r]=Y),(Y=L.getResponseHeader("etag"))&&(m.etag[r]=Y)),204===e||"HEAD"===l.type?k="nocontent":304===e?k="notmodified":(k=v.state,y=v.data,d=!(M=v.error))):(M=k,!e&&k||(k="error",e<0&&(e=0))),L.status=e,L.statusText=(t||k)+"",d?f.resolveWith(c,[y,k,L]):f.rejectWith(c,[L,k,M]),L.statusCode(p),p=void 0,u&&_.trigger(d?"ajaxSuccess":"ajaxError",[L,l,d?y:M]),h.fireWith(c,[L,k]),u&&(_.trigger("ajaxComplete",[L,l]),--m.active||m.event.trigger("ajaxStop")))}return L},getJSON:function(e,t,n){return m.get(e,t,n,"json")},getScript:function(e,t){return m.get(e,void 0,t,"script")}}),m.each(["get","post"],function(e,t){m[t]=function(e,n,r,i){return m.isFunction(n)&&(i=i||r,r=n,n=void 0),m.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),m._evalUrl=function(e){return m.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(e){var t;return m.isFunction(e)?this.each(function(t){m(this).wrapAll(e.call(this,t))}):(this[0]&&(t=m(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return m.isFunction(e)?this.each(function(t){m(this).wrapInner(e.call(this,t))}):this.each(function(){var t=m(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m.isFunction(e);return this.each(function(n){m(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},m.expr.filters.visible=function(e){return!m.expr.filters.hidden(e)};var mt=/%20/g,pt=/\[\]$/,yt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,gt=/^(?:input|select|textarea|keygen)/i;function vt(e,t,n,r){var i;if(m.isArray(t))m.each(t,function(t,i){n||pt.test(e)?r(e,i):vt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==m.type(t))r(e,t);else for(i in t)vt(e+"["+i+"]",t[i],n,r)}m.param=function(e,t){var n,r=[],i=function(e,t){t=m.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(e)||e.jquery&&!m.isPlainObject(e))m.each(e,function(){i(this.name,this.value)});else for(n in e)vt(n,e[n],t,i);return r.join("&").replace(mt,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=m.prop(this,"elements");return e?m.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!m(this).is(":disabled")&&gt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!B.test(e))}).map(function(e,t){var n=m(this).val();return null==n?null:m.isArray(n)?m.map(n,function(e){return{name:t.name,value:e.replace(yt,"\r\n")}}):{name:t.name,value:n.replace(yt,"\r\n")}}).get()}}),m.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Lt=0,Yt={},kt={0:200,1223:204},wt=m.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in Yt)Yt[e]()}),f.cors=!!wt&&"withCredentials"in wt,f.ajax=wt=!!wt,m.ajaxTransport(function(e){var t;if(f.cors||wt&&!e.crossDomain)return{send:function(n,r){var i,a=e.xhr(),s=++Lt;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];for(i in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)a.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete Yt[s],t=a.onload=a.onerror=null,"abort"===e?a.abort():"error"===e?r(a.status,a.statusText):r(kt[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=t(),a.onerror=t("error"),t=Yt[s]=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return m.globalEval(e),e}}}),m.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),m.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=m("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),h.head.appendChild(t[0])},abort:function(){n&&n()}}});var bt=[],Tt=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=bt.pop()||m.expando+"_"+Ze++;return this[e]=!0,e}}),m.ajaxPrefilter("json jsonp",function(e,t,r){var i,a,s,o=!1!==e.jsonp&&(Tt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Tt.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=m.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Tt,"$1"+i):!1!==e.jsonp&&(e.url+=(et.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||m.error(i+" was not called"),s[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){s=arguments},r.always(function(){n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,bt.push(i)),s&&m.isFunction(a)&&a(s[0]),s=a=void 0}),"script"}),m.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||h;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=m.buildFragment([e],t,i),i&&i.length&&m(i).remove(),m.merge([],r.childNodes))};var Dt=m.fn.load;m.fn.load=function(e,t,n){if("string"!=typeof e&&Dt)return Dt.apply(this,arguments);var r,i,a,s=this,o=e.indexOf(" ");return o>=0&&(r=m.trim(e.slice(o)),e=e.slice(0,o)),m.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&m.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){a=arguments,s.html(r?m("<div>").append(m.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,a||[e.responseText,t,e])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){m.fn[t]=function(e){return this.on(t,e)}}),m.expr.filters.animated=function(e){return m.grep(m.timers,function(t){return e===t.elem}).length};var xt=n.document.documentElement;function St(e){return m.isWindow(e)?e:9===e.nodeType&&e.defaultView}m.offset={setOffset:function(e,t,n){var r,i,a,s,o,u,d=m.css(e,"position"),l=m(e),c={};"static"===d&&(e.style.position="relative"),o=l.offset(),a=m.css(e,"top"),u=m.css(e,"left"),("absolute"===d||"fixed"===d)&&(a+u).indexOf("auto")>-1?(s=(r=l.position()).top,i=r.left):(s=parseFloat(a)||0,i=parseFloat(u)||0),m.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(c.top=t.top-o.top+s),null!=t.left&&(c.left=t.left-o.left+i),"using"in t?t.using.call(e,c):l.css(c)}},m.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){m.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;return a?(t=a.documentElement,m.contains(t,r)?(void 0!==r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=St(a),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===m.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),m.nodeName(e[0],"html")||(r=e.offset()),r.top+=m.css(e[0],"borderTopWidth",!0),r.left+=m.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-m.css(n,"marginTop",!0),left:t.left-r.left-m.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||xt;e&&!m.nodeName(e,"html")&&"static"===m.css(e,"position");)e=e.offsetParent;return e||xt})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var r="pageYOffset"===t;m.fn[e]=function(i){return C(this,function(e,i,a){var s=St(e);if(void 0===a)return s?s[t]:e[i];s?s.scrollTo(r?n.pageXOffset:a,r?a:n.pageYOffset):e[i]=a},e,i,arguments.length,null)}}),m.each(["top","left"],function(e,t){m.cssHooks[t]=we(f.pixelPosition,function(e,n){if(n)return n=ke(e,t),Le.test(n)?m(e).position()[t]+"px":n})}),m.each({Height:"height",Width:"width"},function(e,t){m.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){m.fn[r]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===i?"margin":"border");return C(this,function(t,n,r){var i;return m.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?m.css(t,n,s):m.style(t,n,r,s)},t,a?r:void 0,a,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,void 0===(r=function(){return m}.apply(t,[]))||(e.exports=r);var jt=n.jQuery,Ht=n.$;return m.noConflict=function(e){return n.$===m&&(n.$=Ht),e&&n.jQuery===m&&(n.jQuery=jt),m},void 0===i&&(n.jQuery=n.$=m),m},"object"==typeof e.exports?e.exports=i.document?a(i,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return a(e)}:a(i)},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=h(e),n=r.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function p(e){var t=f(NaN);return null!=e?_(h(t),e):h(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var y=i.momentProperties=[];function M(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=h(t)),o(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)o(i=t[r=y[n]])||(e[r]=i);return e}var g=!1;function v(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,i.updateOffset(this),g=!1)}function L(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Y(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&k(e[r])!==k(t[r]))&&s++;return s+a}function b(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return _(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,a=[],s=0;s<arguments.length;s++){if(r="","object"==typeof arguments[s]){for(var o in r+="\n["+s+"] ",arguments[0])r+=o+": "+arguments[0][o]+", ";r=r.slice(0,-2)}else r=arguments[s];a.push(r)}b(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var D,x={};function S(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),x[e]||(b(t),x[e]=!0)}function j(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function H(e,t){var n,r=_({},e);for(n in t)c(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},_(r[n],e[n]),_(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&s(e[n])&&(r[n]=_({},r[n]));return r}function P(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var O={};function E(e,t){var n=e.toLowerCase();O[n]=O[n+"s"]=O[t]=e}function C(e){return"string"==typeof e?O[e]||O[e.toLowerCase()]:void 0}function A(e){var t,n,r={};for(n in e)c(e,n)&&(t=C(n))&&(r[t]=e[n]);return r}var F={};function N(e,t){F[e]=t}function W(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},U={};function $(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(U[e]=i),t&&(U[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(U[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function J(e,t){return e.isValid()?(t=q(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(I);for(t=0,n=i.length;t<n;t++)U[i[t]]?i[t]=U[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,a="";for(r=0;r<n;r++)a+=j(i[r])?i[r].call(t,e):i[r];return a}}(t),z[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var B=/\d/,V=/\d\d/,G=/\d{3}/,K=/\d{4}/,X=/[+-]?\d{6}/,Q=/\d\d?/,Z=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,ae=/[+-]?\d+/,se=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,de={};function le(e,t,n){de[e]=j(t)?t:function(e,r){return e&&n?n:t}}function ce(e,t){return c(de,e)?de[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function me(e,t){he(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function pe(e,t,n){null!=t&&c(fe,e)&&fe[e](t,n._a,n,e)}var ye=0,Me=1,ge=2,ve=3,Le=4,Ye=5,ke=6,we=7,be=8;function Te(e){return De(e)?366:365}function De(e){return e%4==0&&e%100!=0||e%400==0}$("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),$(0,["YY",2],0,function(){return this.year()%100}),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),E("year","y"),N("year",1),le("Y",ae),le("YY",Q,V),le("YYYY",ne,K),le("YYYYY",re,X),le("YYYYYY",re,X),he(["YYYYY","YYYYYY"],ye),he("YYYY",function(e,t){t[ye]=2===e.length?i.parseTwoDigitYear(e):k(e)}),he("YY",function(e,t){t[ye]=i.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ye]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var xe,Se=je("FullYear",!0);function je(e,t){return function(n){return null!=n?(Pe(this,e,n),i.updateOffset(this,t),this):He(this,e)}}function He(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&De(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%t+t)%t}(t,12);return e+=(t-n)/12,1===n?De(e)?29:28:31-n%7%2}xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},$("M",["MM",2],"Mo",function(){return this.month()+1}),$("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),$("MMMM",0,0,function(e){return this.localeData().months(this,e)}),E("month","M"),N("month",8),le("M",Q),le("MM",Q,V),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),he(["M","MM"],function(e,t){t[Me]=k(e)-1}),he(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Me]=i:h(n).invalidMonth=e});var Ee=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Fe(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=xe.call(this._shortMonthsParse,s))?i:null:-1!==(i=xe.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=xe.call(this._shortMonthsParse,s))?i:-1!==(i=xe.call(this._longMonthsParse,s))?i:null:-1!==(i=xe.call(this._longMonthsParse,s))?i:-1!==(i=xe.call(this._shortMonthsParse,s))?i:null}function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function We(e){return null!=e?(Ne(this,e),i.updateOffset(this,!0),this):He(this,"Month")}var Ie=ue,Re=ue;function ze(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=_e(r[t]),i[t]=_e(i[t]);for(t=0;t<24;t++)a[t]=_e(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ue(e,t,n,r,i,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,i,a,s),o}function $e(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Je(e,t,n){var r=7+t-n;return-(7+$e(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,n,r,i){var a,s,o=1+7*(t-1)+(7+n-r)%7+Je(e,r,i);return o<=0?s=Te(a=e-1)+o:o>Te(e)?(a=e+1,s=o-Te(e)):(a=e,s=o),{year:a,dayOfYear:s}}function Be(e,t,n){var r,i,a=Je(e.year(),t,n),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?r=s+Ve(i=e.year()-1,t,n):s>Ve(e.year(),t,n)?(r=s-Ve(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function Ve(e,t,n){var r=Je(e,t,n),i=Je(e+1,t,n);return(Te(e)-r+i)/7}function Ge(e,t){return e.slice(t,7).concat(e.slice(0,t))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),N("week",5),N("isoWeek",5),le("w",Q),le("ww",Q,V),le("W",Q),le("WW",Q,V),me(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),le("d",Q),le("e",Q),le("E",Q),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ze(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=xe.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=xe.call(this._weekdaysParse,s))?i:-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:-1!==(i=xe.call(this._weekdaysParse,s))?i:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:null:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:-1!==(i=xe.call(this._weekdaysParse,s))?i:-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:null}var et=ue,tt=ue,nt=ue;function rt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,s=[],o=[],u=[],d=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),s.push(r),o.push(i),u.push(a),d.push(r),d.push(i),d.push(a);for(s.sort(e),o.sort(e),u.sort(e),d.sort(e),t=0;t<7;t++)o[t]=_e(o[t]),u[t]=_e(u[t]),d[t]=_e(d[t]);this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){$(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,it),$("k",["kk",2],0,function(){return this.hours()||24}),$("hmm",0,0,function(){return""+it.apply(this)+W(this.minutes(),2)}),$("hmmss",0,0,function(){return""+it.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),at("a",!0),at("A",!1),E("hour","h"),N("hour",13),le("a",st),le("A",st),le("H",Q),le("h",Q),le("k",Q),le("HH",Q,V),le("hh",Q,V),le("kk",Q,V),le("hmm",Z),le("hmmss",ee),le("Hmm",Z),le("Hmmss",ee),he(["H","HH"],ve),he(["k","kk"],function(e,t,n){var r=k(e);t[ve]=24===r?0:r}),he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),he(["h","hh"],function(e,t,n){t[ve]=k(e),h(n).bigHour=!0}),he("hmm",function(e,t,n){var r=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r)),h(n).bigHour=!0}),he("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r,2)),t[Ye]=k(e.substr(i)),h(n).bigHour=!0}),he("Hmm",function(e,t,n){var r=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r))}),he("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r,2)),t[Ye]=k(e.substr(i))});var ot,ut=je("Hours",!0),dt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},lt={},ct={};function _t(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var r=null;if(!lt[t]&&void 0!==e&&e&&e.exports)try{r=ot._abbr,n(338)("./"+t),ht(r)}catch(e){}return lt[t]}function ht(e,t){var n;return e&&((n=o(t)?pt(e):mt(e,t))?ot=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function mt(e,t){if(null!==t){var n,r=dt;if(t.abbr=e,null!=lt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=lt[e]._config;else if(null!=t.parentLocale)if(null!=lt[t.parentLocale])r=lt[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return lt[e]=new P(H(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),lt[e]}return delete lt[e],null}function pt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ot;if(!a(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=_t(e[a]).split("-")).length,n=(n=_t(e[a+1]))?n.split("-"):null;t>0;){if(r=ft(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}a++}return ot}(e)}function yt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[Me]<0||n[Me]>11?Me:n[ge]<1||n[ge]>Oe(n[ye],n[Me])?ge:n[ve]<0||n[ve]>24||24===n[ve]&&(0!==n[Le]||0!==n[Ye]||0!==n[ke])?ve:n[Le]<0||n[Le]>59?Le:n[Ye]<0||n[Ye]>59?Ye:n[ke]<0||n[ke]>999?ke:-1,h(e)._overflowDayOfYear&&(t<ye||t>ge)&&(t=ge),h(e)._overflowWeeks&&-1===t&&(t=we),h(e)._overflowWeekday&&-1===t&&(t=be),h(e).overflow=t),e}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function gt(e){var t,n,r,a,s,o=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ge]&&null==e._a[Me]&&function(e){var t,n,r,i,a,s,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,s=4,n=Mt(t.GG,e._a[ye],Be(Et(),1,4).year),r=Mt(t.W,1),((i=Mt(t.E,1))<1||i>7)&&(u=!0);else{a=e._locale._week.dow,s=e._locale._week.doy;var d=Be(Et(),a,s);n=Mt(t.gg,e._a[ye],d.year),r=Mt(t.w,d.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(u=!0)):i=a}r<1||r>Ve(n,a,s)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(o=qe(n,r,i,a,s),e._a[ye]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(s=Mt(e._a[ye],r[ye]),(e._dayOfYear>Te(s)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=$e(s,0,e._dayOfYear),e._a[Me]=n.getUTCMonth(),e._a[ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ve]&&0===e._a[Le]&&0===e._a[Ye]&&0===e._a[ke]&&(e._nextDay=!0,e._a[ve]=0),e._d=(e._useUTC?$e:Ue).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(h(e).weekdayMismatch=!0)}}var vt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Yt=/Z|[+-]\d\d(?::?\d\d)?/,kt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],bt=/^\/?Date\((\-?\d+)/i;function Tt(e){var t,n,r,i,a,s,o=e._i,u=vt.exec(o)||Lt.exec(o);if(u){for(h(e).iso=!0,t=0,n=kt.length;t<n;t++)if(kt[t][1].exec(u[1])){i=kt[t][0],r=!1!==kt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(u[3])){a=(u[2]||" ")+wt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(u[4]){if(!Yt.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=i+(a||"")+(s||""),Ht(e)}else e._isValid=!1}var Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function xt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jt(e){var t,n,r,i,a,s,o,u=Dt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){var d=(t=u[4],n=u[3],r=u[2],i=u[5],a=u[6],s=u[7],o=[xt(t),Ae.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(a,10)],s&&o.push(parseInt(s,10)),o);if(!function(e,t,n){return!e||Xe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],d,e))return;e._a=d,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(u[8],u[9],u[10]),e._d=$e.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Ht(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,a,s,o=""+e._i,u=o.length,d=0;for(r=q(e._f,e._locale).match(I)||[],t=0;t<r.length;t++)a=r[t],(n=(o.match(ce(a,e))||[])[0])&&((s=o.substr(0,o.indexOf(n))).length>0&&h(e).unusedInput.push(s),o=o.slice(o.indexOf(n)+n.length),d+=n.length),U[a]?(n?h(e).empty=!1:h(e).unusedTokens.push(a),pe(a,n,e)):e._strict&&!n&&h(e).unusedTokens.push(a);h(e).charsLeftOver=u-d,o.length>0&&h(e).unusedInput.push(o),e._a[ve]<=12&&!0===h(e).bigHour&&e._a[ve]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ve]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[ve],e._meridiem),gt(e),yt(e)}else jt(e);else Tt(e)}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),L(t)?new v(yt(t)):(d(t)?e._d=t:a(n)?function(e){var t,n,r,i,a;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ht(t),m(t)&&(a+=h(t).charsLeftOver,a+=10*h(t).unusedTokens.length,h(t).score=a,(null==r||a<r)&&(r=a,n=t));_(e,n||t)}(e):n?Ht(e):function(e){var t=e._i;o(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=bt.exec(e._i);null===t?(Tt(e),!1===e._isValid&&(delete e._isValid,jt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):a(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),gt(e)):s(t)?function(e){if(!e._d){var t=A(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),gt(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function Ot(e,t,n,r,i){var o,u={};return!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||a(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=e,u._f=t,u._strict=r,(o=new v(yt(Pt(u))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Et(e,t,n,r){return Ot(e,t,n,r,!1)}i.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ct=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),At=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()});function Ft(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Wt(e){var t=A(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,u=t.minute||0,d=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===xe.call(Nt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Nt.length;++r)if(e[Nt[r]]){if(n)return!1;parseFloat(e[Nt[r]])!==k(e[Nt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*d+6e4*u+1e3*o*60*60,this._days=+s+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=pt(),this._bubble()}function It(e){return e instanceof Wt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,t){$(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+W(~~(e/60),2)+t+W(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),le("Z",oe),le("ZZ",oe),he(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=$t(oe,e)});var Ut=/([\+\-]|\d\d)/gi;function $t(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Ut)||["-",0,0],i=60*r[1]+k(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Jt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(L(e)||d(e)?e.valueOf():Et(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Et(e).local()}function qt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Vt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Gt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Kt(e,t){var n,r,i,a,s,o,d=e,l=null;return It(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:u(e)?(d={},t?d[t]=e:d.milliseconds=e):(l=Vt.exec(e))?(n="-"===l[1]?-1:1,d={y:0,d:k(l[ge])*n,h:k(l[ve])*n,m:k(l[Le])*n,s:k(l[Ye])*n,ms:k(Rt(1e3*l[ke]))*n}):(l=Gt.exec(e))?(n="-"===l[1]?-1:1,d={y:Xt(l[2],n),M:Xt(l[3],n),w:Xt(l[4],n),d:Xt(l[5],n),h:Xt(l[6],n),m:Xt(l[7],n),s:Xt(l[8],n)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(a=Et(d.from),s=Et(d.to),i=a.isValid()&&s.isValid()?(s=Jt(s,a),a.isBefore(s)?o=Qt(a,s):((o=Qt(s,a)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(d={}).ms=i.milliseconds,d.M=i.months),r=new Wt(d),It(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Xt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),en(this,Kt(n="string"==typeof n?+n:n,r),e),this}}function en(e,t,n,r){var a=t._milliseconds,s=Rt(t._days),o=Rt(t._months);e.isValid()&&(r=null==r||r,o&&Ne(e,He(e,"Month")+o*n),s&&Pe(e,"Date",He(e,"Date")+s*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&i.updateOffset(e,s||o))}Kt.fn=Wt.prototype,Kt.invalid=function(){return Kt(NaN)};var tn=Zt(1,"add"),nn=Zt(-1,"subtract");function rn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function an(e){var t;return void 0===e?this._locale._abbr:(null!=(t=pt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sn=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function on(){return this._locale}var un=1e3,dn=60*un,ln=60*dn,cn=3506328*ln;function _n(e,t){return(e%t+t)%t}function fn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function mn(e,t){$(0,[e,e.length],0,t)}function pn(e,t,n,r,i){var a;return null==e?Be(this,r,i).year:(t>(a=Ve(e,r,i))&&(t=a),yn.call(this,e,t,n,r,i))}function yn(e,t,n,r,i){var a=qe(e,t,n,r,i),s=$e(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),mn("gggg","weekYear"),mn("ggggg","weekYear"),mn("GGGG","isoWeekYear"),mn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),le("G",ae),le("g",ae),le("GG",Q,V),le("gg",Q,V),le("GGGG",ne,K),le("gggg",ne,K),le("GGGGG",re,X),le("ggggg",re,X),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),$("Q",0,"Qo","quarter"),E("quarter","Q"),N("quarter",7),le("Q",B),he("Q",function(e,t){t[Me]=3*(k(e)-1)}),$("D",["DD",2],"Do","date"),E("date","D"),N("date",9),le("D",Q),le("DD",Q,V),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),he(["D","DD"],ge),he("Do",function(e,t){t[ge]=k(e.match(Q)[0])});var Mn=je("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),N("dayOfYear",4),le("DDD",te),le("DDDD",G),he(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),$("m",["mm",2],0,"minute"),E("minute","m"),N("minute",14),le("m",Q),le("mm",Q,V),he(["m","mm"],Le);var gn=je("Minutes",!1);$("s",["ss",2],0,"second"),E("second","s"),N("second",15),le("s",Q),le("ss",Q,V),he(["s","ss"],Ye);var vn,Ln=je("Seconds",!1);for($("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),N("millisecond",16),le("S",te,B),le("SS",te,V),le("SSS",te,G),vn="SSSS";vn.length<=9;vn+="S")le(vn,ie);function Yn(e,t){t[ke]=k(1e3*("0."+e))}for(vn="S";vn.length<=9;vn+="S")he(vn,Yn);var kn=je("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var wn=v.prototype;function bn(e){return e}wn.add=tn,wn.calendar=function(e,t){var n=e||Et(),r=Jt(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",s=t&&(j(t[a])?t[a].call(this,n):t[a]);return this.format(s||this.localeData().calendar(a,this,Et(n)))},wn.clone=function(){return new v(this)},wn.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Jt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=C(t)){case"year":a=rn(this,r)/12;break;case"month":a=rn(this,r);break;case"quarter":a=rn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:Y(a)},wn.endOf=function(e){var t;if(void 0===(e=C(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ln-_n(t+(this._isUTC?0:this.utcOffset()*dn),ln)-1;break;case"minute":t=this._d.valueOf(),t+=dn-_n(t,dn)-1;break;case"second":t=this._d.valueOf(),t+=un-_n(t,un)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},wn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=J(this,e);return this.localeData().postformat(t)},wn.from=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||Et(e).isValid())?Kt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wn.fromNow=function(e){return this.from(Et(),e)},wn.to=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||Et(e).isValid())?Kt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wn.toNow=function(e){return this.to(Et(),e)},wn.get=function(e){return j(this[e=C(e)])?this[e]():this},wn.invalidAt=function(){return h(this).overflow},wn.isAfter=function(e,t){var n=L(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=C(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},wn.isBefore=function(e,t){var n=L(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=C(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},wn.isBetween=function(e,t,n,r){var i=L(e)?e:Et(e),a=L(t)?t:Et(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n))},wn.isSame=function(e,t){var n,r=L(e)?e:Et(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=C(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},wn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},wn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},wn.isValid=function(){return m(this)},wn.lang=sn,wn.locale=an,wn.localeData=on,wn.max=At,wn.min=Ct,wn.parsingFlags=function(){return _({},h(this))},wn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:F[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=A(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(j(this[e=C(e)]))return this[e](t);return this},wn.startOf=function(e){var t;if(void 0===(e=C(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=_n(t+(this._isUTC?0:this.utcOffset()*dn),ln);break;case"minute":t=this._d.valueOf(),t-=_n(t,dn);break;case"second":t=this._d.valueOf(),t-=_n(t,un)}return this._d.setTime(t),i.updateOffset(this,!0),this},wn.subtract=nn,wn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},wn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},wn.toDate=function(){return new Date(this.valueOf())},wn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?J(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",J(n,"Z")):J(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},wn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},wn.toJSON=function(){return this.isValid()?this.toISOString():null},wn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},wn.unix=function(){return Math.floor(this.valueOf()/1e3)},wn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},wn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},wn.year=Se,wn.isLeapYear=function(){return De(this.year())},wn.weekYear=function(e){return pn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},wn.isoWeekYear=function(e){return pn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},wn.quarter=wn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},wn.month=We,wn.daysInMonth=function(){return Oe(this.year(),this.month())},wn.week=wn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},wn.isoWeek=wn.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},wn.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},wn.isoWeeksInYear=function(){return Ve(this.year(),1,4)},wn.date=Mn,wn.day=wn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},wn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},wn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},wn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},wn.hour=wn.hours=ut,wn.minute=wn.minutes=gn,wn.second=wn.seconds=Ln,wn.millisecond=wn.milliseconds=kn,wn.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=$t(oe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=qt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?en(this,Kt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:qt(this)},wn.utc=function(e){return this.utcOffset(0,e)},wn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this},wn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=$t(se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},wn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},wn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},wn.isLocal=function(){return!!this.isValid()&&!this._isUTC},wn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},wn.isUtc=Bt,wn.isUTC=Bt,wn.zoneAbbr=function(){return this._isUTC?"UTC":""},wn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},wn.dates=T("dates accessor is deprecated. Use date instead.",Mn),wn.months=T("months accessor is deprecated. Use month instead",We),wn.years=T("years accessor is deprecated. Use year instead",Se),wn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),wn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(M(e,this),(e=Pt(e))._a){var t=e._isUTC?f(e._a):Et(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Tn=P.prototype;function Dn(e,t,n,r){var i=pt(),a=f().set(r,t);return i[n](a,e)}function xn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Dn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Dn(e,r,n,"month");return i}function Sn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=pt(),s=e?a._week.dow:0;if(null!=n)return Dn(t,(n+s)%7,r,"day");var o=[];for(i=0;i<7;i++)o[i]=Dn(t,(i+s)%7,r,"day");return o}Tn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},Tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Tn.invalidDate=function(){return this._invalidDate},Tn.ordinal=function(e){return this._ordinal.replace("%d",e)},Tn.preparse=bn,Tn.postformat=bn,Tn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)},Tn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},Tn.set=function(e){var t,n;for(n in e)j(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Tn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ee).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},Tn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ee.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Tn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return Fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Tn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Tn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Tn.week=function(e){return Be(e,this._week.dow,this._week.doy).week},Tn.firstDayOfYear=function(){return this._week.doy},Tn.firstDayOfWeek=function(){return this._week.dow},Tn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ge(n,this._week.dow):e?n[e.day()]:n},Tn.weekdaysMin=function(e){return!0===e?Ge(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Tn.weekdaysShort=function(e){return!0===e?Ge(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Tn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Tn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ht("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",ht),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",pt);var jn=Math.abs;function Hn(e,t,n,r){var i=Kt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Pn(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}var An=Cn("ms"),Fn=Cn("s"),Nn=Cn("m"),Wn=Cn("h"),In=Cn("d"),Rn=Cn("w"),zn=Cn("M"),Un=Cn("Q"),$n=Cn("y");function Jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var qn=Jn("milliseconds"),Bn=Jn("seconds"),Vn=Jn("minutes"),Gn=Jn("hours"),Kn=Jn("days"),Xn=Jn("months"),Qn=Jn("years"),Zn=Math.round,er={ss:44,s:45,m:45,h:22,d:26,M:11};function tr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var nr=Math.abs;function rr(e){return(e>0)-(e<0)||+e}function ir(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=nr(this._milliseconds)/1e3,r=nr(this._days),i=nr(this._months);e=Y(n/60),t=Y(e/60),n%=60,e%=60;var a=Y(i/12),s=i%=12,o=r,u=t,d=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var _=c<0?"-":"",f=rr(this._months)!==rr(c)?"-":"",h=rr(this._days)!==rr(c)?"-":"",m=rr(this._milliseconds)!==rr(c)?"-":"";return _+"P"+(a?f+a+"Y":"")+(s?f+s+"M":"")+(o?h+o+"D":"")+(u||d||l?"T":"")+(u?m+u+"H":"")+(d?m+d+"M":"")+(l?m+l+"S":"")}var ar=Wt.prototype;return ar.isValid=function(){return this._isValid},ar.abs=function(){var e=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),e.milliseconds=jn(e.milliseconds),e.seconds=jn(e.seconds),e.minutes=jn(e.minutes),e.hours=jn(e.hours),e.months=jn(e.months),e.years=jn(e.years),this},ar.add=function(e,t){return Hn(this,e,t,1)},ar.subtract=function(e,t){return Hn(this,e,t,-1)},ar.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=C(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+On(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},ar.asMilliseconds=An,ar.asSeconds=Fn,ar.asMinutes=Nn,ar.asHours=Wn,ar.asDays=In,ar.asWeeks=Rn,ar.asMonths=zn,ar.asQuarters=Un,ar.asYears=$n,ar.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},ar._bubble=function(){var e,t,n,r,i,a=this._milliseconds,s=this._days,o=this._months,u=this._data;return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*Pn(En(o)+s),s=0,o=0),u.milliseconds=a%1e3,e=Y(a/1e3),u.seconds=e%60,t=Y(e/60),u.minutes=t%60,n=Y(t/60),u.hours=n%24,s+=Y(n/24),i=Y(On(s)),o+=i,s-=Pn(En(i)),r=Y(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},ar.clone=function(){return Kt(this)},ar.get=function(e){return e=C(e),this.isValid()?this[e+"s"]():NaN},ar.milliseconds=qn,ar.seconds=Bn,ar.minutes=Vn,ar.hours=Gn,ar.days=Kn,ar.weeks=function(){return Y(this.days()/7)},ar.months=Xn,ar.years=Qn,ar.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Kt(e).abs(),i=Zn(r.as("s")),a=Zn(r.as("m")),s=Zn(r.as("h")),o=Zn(r.as("d")),u=Zn(r.as("M")),d=Zn(r.as("y")),l=i<=er.ss&&["s",i]||i<er.s&&["ss",i]||a<=1&&["m"]||a<er.m&&["mm",a]||s<=1&&["h"]||s<er.h&&["hh",s]||o<=1&&["d"]||o<er.d&&["dd",o]||u<=1&&["M"]||u<er.M&&["MM",u]||d<=1&&["y"]||["yy",d];return l[2]=t,l[3]=+e>0,l[4]=n,tr.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},ar.toISOString=ir,ar.toString=ir,ar.toJSON=ir,ar.locale=an,ar.localeData=on,ar.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ir),ar.lang=sn,$("X",0,0,"unix"),$("x",0,0,"valueOf"),le("x",ae),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),he("x",function(e,t,n){n._d=new Date(k(e))}),i.version="2.24.0",t=Et,i.fn=wn,i.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(e){return Et(1e3*e)},i.months=function(e,t){return xn(e,t,"months")},i.isDate=d,i.locale=ht,i.invalid=p,i.duration=Kt,i.isMoment=L,i.weekdays=function(e,t,n){return Sn(e,t,n,"weekdays")},i.parseZone=function(){return Et.apply(null,arguments).parseZone()},i.localeData=pt,i.isDuration=It,i.monthsShort=function(e,t){return xn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return Sn(e,t,n,"weekdaysMin")},i.defineLocale=mt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=dt;null!=(r=ft(e))&&(i=r._config),t=H(i,t),(n=new P(t)).parentLocale=lt[e],lt[e]=n,ht(e)}else null!=lt[e]&&(null!=lt[e].parentLocale?lt[e]=lt[e].parentLocale:null!=lt[e]&&delete lt[e]);return lt[e]},i.locales=function(){return D(lt)},i.weekdaysShort=function(e,t,n){return Sn(e,t,n,"weekdaysShort")},i.normalizeUnits=C,i.relativeTimeRounding=function(e){return void 0===e?Zn:"function"==typeof e&&(Zn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==er[e]&&(void 0===t?er[e]:(er[e]=t,"s"===e&&(er.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=wn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(119)(e))},function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},a=i._,s=Array.prototype,o=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,d=s.push,l=s.slice,c=o.toString,_=o.hasOwnProperty,f=Array.isArray,h=Object.keys,m=Object.create,p=function(){},y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};t.nodeType?i._=y:(!n.nodeType&&n.exports&&(t=n.exports=y),t._=y),y.VERSION="1.9.1";var M,g=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,a){return e.call(t,n,r,i,a)}}return function(){return e.apply(t,arguments)}},v=function(e,t,n){return y.iteratee!==M?y.iteratee(e,t):null==e?y.identity:y.isFunction(e)?g(e,t,n):y.isObject(e)&&!y.isArray(e)?y.matcher(e):y.property(e)};y.iteratee=M=function(e,t){return v(e,t,1/0)};var L=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=r,e.apply(this,a)}},Y=function(e){if(!y.isObject(e))return{};if(m)return m(e);p.prototype=e;var t=new p;return p.prototype=null,t},k=function(e){return function(t){return null==t?void 0:t[e]}},w=function(e,t){return null!=e&&_.call(e,t)},b=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},T=Math.pow(2,53)-1,D=k("length"),x=function(e){var t=D(e);return"number"==typeof t&&t>=0&&t<=T};y.each=y.forEach=function(e,t,n){var r,i;if(t=g(t,n),x(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=y.keys(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e},y.map=y.collect=function(e,t,n){t=v(t,n);for(var r=!x(e)&&y.keys(e),i=(r||e).length,a=Array(i),s=0;s<i;s++){var o=r?r[s]:s;a[s]=t(e[o],o,e)}return a};var S=function(e){var t=function(t,n,r,i){var a=!x(t)&&y.keys(t),s=(a||t).length,o=e>0?0:s-1;for(i||(r=t[a?a[o]:o],o+=e);o>=0&&o<s;o+=e){var u=a?a[o]:o;r=n(r,t[u],u,t)}return r};return function(e,n,r,i){var a=arguments.length>=3;return t(e,g(n,i,4),r,a)}};y.reduce=y.foldl=y.inject=S(1),y.reduceRight=y.foldr=S(-1),y.find=y.detect=function(e,t,n){var r=(x(e)?y.findIndex:y.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},y.filter=y.select=function(e,t,n){var r=[];return t=v(t,n),y.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},y.reject=function(e,t,n){return y.filter(e,y.negate(v(t)),n)},y.every=y.all=function(e,t,n){t=v(t,n);for(var r=!x(e)&&y.keys(e),i=(r||e).length,a=0;a<i;a++){var s=r?r[a]:a;if(!t(e[s],s,e))return!1}return!0},y.some=y.any=function(e,t,n){t=v(t,n);for(var r=!x(e)&&y.keys(e),i=(r||e).length,a=0;a<i;a++){var s=r?r[a]:a;if(t(e[s],s,e))return!0}return!1},y.contains=y.includes=y.include=function(e,t,n,r){return x(e)||(e=y.values(e)),("number"!=typeof n||r)&&(n=0),y.indexOf(e,t,n)>=0},y.invoke=L(function(e,t,n){var r,i;return y.isFunction(t)?i=t:y.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),y.map(e,function(e){var a=i;if(!a){if(r&&r.length&&(e=b(e,r)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)})}),y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,t,n){var r,i,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,u=(e=x(e)?e:y.values(e)).length;o<u;o++)null!=(r=e[o])&&r>a&&(a=r);else t=v(t,n),y.each(e,function(e,n,r){((i=t(e,n,r))>s||i===-1/0&&a===-1/0)&&(a=e,s=i)});return a},y.min=function(e,t,n){var r,i,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,u=(e=x(e)?e:y.values(e)).length;o<u;o++)null!=(r=e[o])&&r<a&&(a=r);else t=v(t,n),y.each(e,function(e,n,r){((i=t(e,n,r))<s||i===1/0&&a===1/0)&&(a=e,s=i)});return a},y.shuffle=function(e){return y.sample(e,1/0)},y.sample=function(e,t,n){if(null==t||n)return x(e)||(e=y.values(e)),e[y.random(e.length-1)];var r=x(e)?y.clone(e):y.values(e),i=D(r);t=Math.max(Math.min(t,i),0);for(var a=i-1,s=0;s<t;s++){var o=y.random(s,a),u=r[s];r[s]=r[o],r[o]=u}return r.slice(0,t)},y.sortBy=function(e,t,n){var r=0;return t=v(t,n),y.pluck(y.map(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var j=function(e,t){return function(n,r,i){var a=t?[[],[]]:{};return r=v(r,i),y.each(n,function(t,i){var s=r(t,i,n);e(a,t,s)}),a}};y.groupBy=j(function(e,t,n){w(e,n)?e[n].push(t):e[n]=[t]}),y.indexBy=j(function(e,t,n){e[n]=t}),y.countBy=j(function(e,t,n){w(e,n)?e[n]++:e[n]=1});var H=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;y.toArray=function(e){return e?y.isArray(e)?l.call(e):y.isString(e)?e.match(H):x(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:x(e)?e.length:y.keys(e).length},y.partition=j(function(e,t,n){e[n?0:1].push(t)},!0),y.first=y.head=y.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:y.initial(e,e.length-t)},y.initial=function(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},y.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:y.rest(e,Math.max(0,e.length-t))},y.rest=y.tail=y.drop=function(e,t,n){return l.call(e,null==t||n?1:t)},y.compact=function(e){return y.filter(e,Boolean)};var P=function(e,t,n,r){for(var i=(r=r||[]).length,a=0,s=D(e);a<s;a++){var o=e[a];if(x(o)&&(y.isArray(o)||y.isArguments(o)))if(t)for(var u=0,d=o.length;u<d;)r[i++]=o[u++];else P(o,t,n,r),i=r.length;else n||(r[i++]=o)}return r};y.flatten=function(e,t){return P(e,t,!1)},y.without=L(function(e,t){return y.difference(e,t)}),y.uniq=y.unique=function(e,t,n,r){y.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=v(n,r));for(var i=[],a=[],s=0,o=D(e);s<o;s++){var u=e[s],d=n?n(u,s,e):u;t&&!n?(s&&a===d||i.push(u),a=d):n?y.contains(a,d)||(a.push(d),i.push(u)):y.contains(i,u)||i.push(u)}return i},y.union=L(function(e){return y.uniq(P(e,!0,!0))}),y.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=D(e);r<i;r++){var a=e[r];if(!y.contains(t,a)){var s;for(s=1;s<n&&y.contains(arguments[s],a);s++);s===n&&t.push(a)}}return t},y.difference=L(function(e,t){return t=P(t,!0,!0),y.filter(e,function(e){return!y.contains(t,e)})}),y.unzip=function(e){for(var t=e&&y.max(e,D).length||0,n=Array(t),r=0;r<t;r++)n[r]=y.pluck(e,r);return n},y.zip=L(y.unzip),y.object=function(e,t){for(var n={},r=0,i=D(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var O=function(e){return function(t,n,r){n=v(n,r);for(var i=D(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(n(t[a],a,t))return a;return-1}};y.findIndex=O(1),y.findLastIndex=O(-1),y.sortedIndex=function(e,t,n,r){for(var i=(n=v(n,r,1))(t),a=0,s=D(e);a<s;){var o=Math.floor((a+s)/2);n(e[o])<i?a=o+1:s=o}return a};var E=function(e,t,n){return function(r,i,a){var s=0,o=D(r);if("number"==typeof a)e>0?s=a>=0?a:Math.max(a+o,s):o=a>=0?Math.min(a+1,o):a+o+1;else if(n&&a&&o)return r[a=n(r,i)]===i?a:-1;if(i!=i)return(a=t(l.call(r,s,o),y.isNaN))>=0?a+s:-1;for(a=e>0?s:o-1;a>=0&&a<o;a+=e)if(r[a]===i)return a;return-1}};y.indexOf=E(1,y.findIndex,y.sortedIndex),y.lastIndexOf=E(-1,y.findLastIndex),y.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),a=0;a<r;a++,e+=n)i[a]=e;return i},y.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(l.call(e,r,r+=t));return n};var C=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var a=Y(e.prototype),s=e.apply(a,i);return y.isObject(s)?s:a};y.bind=L(function(e,t,n){if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var r=L(function(i){return C(e,r,t,this,n.concat(i))});return r}),y.partial=L(function(e,t){var n=y.partial.placeholder,r=function(){for(var i=0,a=t.length,s=Array(a),o=0;o<a;o++)s[o]=t[o]===n?arguments[i++]:t[o];for(;i<arguments.length;)s.push(arguments[i++]);return C(e,r,this,this,s)};return r}),y.partial.placeholder=y,y.bindAll=L(function(e,t){var n=(t=P(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=y.bind(e[r],e)}}),y.memoize=function(e,t){var n=function(r){var i=n.cache,a=""+(t?t.apply(this,arguments):r);return w(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n},y.delay=L(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),y.defer=y.partial(y.delay,y,1),y.throttle=function(e,t,n){var r,i,a,s,o=0;n||(n={});var u=function(){o=!1===n.leading?0:y.now(),r=null,s=e.apply(i,a),r||(i=a=null)},d=function(){var d=y.now();o||!1!==n.leading||(o=d);var l=t-(d-o);return i=this,a=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),o=d,s=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(u,l)),s};return d.cancel=function(){clearTimeout(r),o=0,r=i=a=null},d},y.debounce=function(e,t,n){var r,i,a=function(t,n){r=null,n&&(i=e.apply(t,n))},s=L(function(s){if(r&&clearTimeout(r),n){var o=!r;r=setTimeout(a,t),o&&(i=e.apply(this,s))}else r=y.delay(a,t,this,s);return i});return s.cancel=function(){clearTimeout(r),r=null},s},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},y.once=y.partial(y.before,2),y.restArguments=L;var A=!{toString:null}.propertyIsEnumerable("toString"),F=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(e,t){var n=F.length,r=e.constructor,i=y.isFunction(r)&&r.prototype||o,a="constructor";for(w(e,a)&&!y.contains(t,a)&&t.push(a);n--;)(a=F[n])in e&&e[a]!==i[a]&&!y.contains(t,a)&&t.push(a)};y.keys=function(e){if(!y.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)w(e,n)&&t.push(n);return A&&N(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return A&&N(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},y.mapObject=function(e,t,n){t=v(t,n);for(var r=y.keys(e),i=r.length,a={},s=0;s<i;s++){var o=r[s];a[o]=t(e[o],o,e)}return a},y.pairs=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},y.invert=function(e){for(var t={},n=y.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},y.functions=y.methods=function(e){var t=[];for(var n in e)y.isFunction(e[n])&&t.push(n);return t.sort()};var W=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var a=arguments[i],s=e(a),o=s.length,u=0;u<o;u++){var d=s[u];t&&void 0!==n[d]||(n[d]=a[d])}return n}};y.extend=W(y.allKeys),y.extendOwn=y.assign=W(y.keys),y.findKey=function(e,t,n){t=v(t,n);for(var r,i=y.keys(e),a=0,s=i.length;a<s;a++)if(t(e[r=i[a]],r,e))return r};var I,R,z=function(e,t,n){return t in n};y.pick=L(function(e,t){var n={},r=t[0];if(null==e)return n;y.isFunction(r)?(t.length>1&&(r=g(r,t[1])),t=y.allKeys(e)):(r=z,t=P(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var s=t[i],o=e[s];r(o,s,e)&&(n[s]=o)}return n}),y.omit=L(function(e,t){var n,r=t[0];return y.isFunction(r)?(r=y.negate(r),t.length>1&&(n=t[1])):(t=y.map(P(t,!1,!1),String),r=function(e,n){return!y.contains(t,n)}),y.pick(e,r,n)}),y.defaults=W(y.allKeys,!0),y.create=function(e,t){var n=Y(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),a=0;a<r;a++){var s=n[a];if(t[s]!==i[s]||!(s in i))return!1}return!0},I=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&R(e,t,n,r)},R=function(e,t,n,r){e instanceof y&&(e=e._wrapped),t instanceof y&&(t=t._wrapped);var i=c.call(e);if(i!==c.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return u.valueOf.call(e)===u.valueOf.call(t)}var a="[object Array]"===i;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,o=t.constructor;if(s!==o&&!(y.isFunction(s)&&s instanceof s&&y.isFunction(o)&&o instanceof o)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var d=(n=n||[]).length;d--;)if(n[d]===e)return r[d]===t;if(n.push(e),r.push(t),a){if((d=e.length)!==t.length)return!1;for(;d--;)if(!I(e[d],t[d],n,r))return!1}else{var l,_=y.keys(e);if(d=_.length,y.keys(t).length!==d)return!1;for(;d--;)if(l=_[d],!w(t,l)||!I(e[l],t[l],n,r))return!1}return n.pop(),r.pop(),!0},y.isEqual=function(e,t){return I(e,t)},y.isEmpty=function(e){return null==e||(x(e)&&(y.isArray(e)||y.isString(e)||y.isArguments(e))?0===e.length:0===y.keys(e).length)},y.isElement=function(e){return!(!e||1!==e.nodeType)},y.isArray=f||function(e){return"[object Array]"===c.call(e)},y.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},y.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){y["is"+e]=function(t){return c.call(t)==="[object "+e+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return w(e,"callee")});var U=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof U&&(y.isFunction=function(e){return"function"==typeof e||!1}),y.isFinite=function(e){return!y.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},y.isNaN=function(e){return y.isNumber(e)&&isNaN(e)},y.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===c.call(e)},y.isNull=function(e){return null===e},y.isUndefined=function(e){return void 0===e},y.has=function(e,t){if(!y.isArray(t))return w(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!_.call(e,i))return!1;e=e[i]}return!!n},y.noConflict=function(){return i._=a,this},y.identity=function(e){return e},y.constant=function(e){return function(){return e}},y.noop=function(){},y.property=function(e){return y.isArray(e)?function(t){return b(t,e)}:k(e)},y.propertyOf=function(e){return null==e?function(){}:function(t){return y.isArray(t)?b(e,t):e[t]}},y.matcher=y.matches=function(e){return e=y.extendOwn({},e),function(t){return y.isMatch(t,e)}},y.times=function(e,t,n){var r=Array(Math.max(0,e));t=g(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},y.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},y.now=Date.now||function(){return(new Date).getTime()};var $={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},J=y.invert($),q=function(e){var t=function(t){return e[t]},n="(?:"+y.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};y.escape=q($),y.unescape=q(J),y.result=function(e,t,n){y.isArray(t)||(t=[t]);var r=t.length;if(!r)return y.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var a=null==e?void 0:e[t[i]];void 0===a&&(a=n,i=r),e=y.isFunction(a)?a.call(e):a}return e};var B=0;y.uniqueId=function(e){var t=++B+"";return e?e+t:t},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var V=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},K=/\\|'|\r|\n|\u2028|\u2029/g,X=function(e){return"\\"+G[e]};y.template=function(e,t,n){!t&&n&&(t=n),t=y.defaults({},t,y.templateSettings);var r,i=RegExp([(t.escape||V).source,(t.interpolate||V).source,(t.evaluate||V).source].join("|")+"|$","g"),a=0,s="__p+='";e.replace(i,function(t,n,r,i,o){return s+=e.slice(a,o).replace(K,X),a=o+t.length,n?s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(s+="';\n"+i+"\n__p+='"),t}),s+="';\n",t.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{r=new Function(t.variable||"obj","_",s)}catch(e){throw e.source=s,e}var o=function(e){return r.call(this,e,y)},u=t.variable||"obj";return o.source="function("+u+"){\n"+s+"}",o},y.chain=function(e){var t=y(e);return t._chain=!0,t};var Q=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(e){return y.each(y.functions(e),function(t){var n=y[t]=e[t];y.prototype[t]=function(){var e=[this._wrapped];return d.apply(e,arguments),Q(this,n.apply(y,e))}}),y},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];y.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Q(this,n)}}),y.each(["concat","join","slice"],function(e){var t=s[e];y.prototype[e]=function(){return Q(this,t.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return y}.apply(t,[]))||(n.exports=r)}()}).call(this,n(21),n(119)(e))},function(e,r,i){"use strict";var a=i(40),s=i(0),o=i.n(s),u={},d=[],l=function(e,t,n){var r;console.warn("OC.addScript is deprecated, use OCP.Loader.loadScript instead");var i=OC.filePath(e,"js",t+".js");return u[i]?n&&n():(r=o.a.Deferred(),o.a.getScript(i,function(){return r.resolve()}),u[i]=r),u[i]},c=function(e,t){console.warn("OC.addStyle is deprecated, use OCP.Loader.loadStylesheet instead");var n=OC.filePath(e,"css",t+".css");-1===d.indexOf(n)&&(d.push(n),document.createStyleSheet?document.createStyleSheet(n):(t=o()('<link rel="stylesheet" type="text/css" href="'+n+'"/>'),o()("head").append(t)))},_=i(2),f=i.n(_),h=(i(268),{updatableNotification:null,getDefaultNotificationFunction:null,setDefault:function(e){this.getDefaultNotificationFunction=e},hide:function(e,t){o()("#content");f.a.isFunction(e)&&(t=e,e=void 0),e?(e.each(function(){o()(this)[0].toastify.hideToast(),this===this.updatableNotification&&(this.updatableNotification=null)}),t&&t.call(),this.getDefaultNotificationFunction&&this.getDefaultNotificationFunction()):console.error("Missing argument $row in OC.Notification.hide() call, caller needs to be adjusted to only dismiss its own notification")},showHtml:function(e,t){(t=t||{}).isHTML=!0,t.timeout=t.timeout?t.timeout:-1;var n=window.OCP.Toast.message(e,t);return o()(n.toastElement)},show:function(e,t){(t=t||{}).timeout=t.timeout?t.timeout:-1;var n=window.OCP.Toast.message(e,t);return o()(n.toastElement)},showUpdate:function(e){return this.updatableNotification&&this.updatableNotification.hideToast(),this.updatableNotification=OCP.Toast.message(e,{timeout:-1}),o()(this.updatableNotification.toastElement)},showTemporary:function(e,t){(t=t||{}).timeout=t.timeout||7;var n=window.OCP.Toast.message(e,t);return o()(n.toastElement)},isHidden:function(){return!o()("#content").find(".toastify").length}}),m=f.a.throttle(function(){h.showTemporary(t("core","Connection to server lost"))},7e3,{trailing:!1}),p=function(e){(0!==e.status||"abort"!==e.statusText&&"timeout"!==e.statusText&&!qe._reloadCalled)&&(f.a.contains([302,303,307,401],e.status)&&qe.currentUser?setTimeout(function(){if(!qe._userIsNavigatingAway&&!qe._reloadCalled){var e=0,t=setInterval(function(){h.showUpdate(n("core","Problem loading page, reloading in %n second","Problem loading page, reloading in %n seconds",5-e)),e>=5&&(clearInterval(t),qe.reload()),e++},1e3);qe._reloadCalled=!0}},100):0===e.status&&setTimeout(function(){qe._userIsNavigatingAway||qe._reloadCalled||qe._ajaxConnectionLostHandler()},100))},y=function(e){e.addEventListener&&(e.addEventListener("load",function(){4===e.readyState&&(e.status>=200&&e.status<300||304===e.status||o()(document).trigger(new o.a.Event("ajaxError"),e))}),e.addEventListener("error",function(){o()(document).trigger(new o.a.Event("ajaxError"),e)}))},M=i(85),g=i(28),v=window.oc_appconfig||{},L={getValue:function(e,t,n,r){Object(g.getValue)(e,t,n,{success:r})},setValue:function(e,t,n){Object(g.setValue)(e,t,n)},getApps:function(e){Object(g.getApps)({success:e})},getKeys:function(e,t){Object(g.getKeys)(e,{success:t})},deleteKey:function(e,t){Object(g.deleteKey)(e,t)}},Y=i(7),k=function(e){if(console.warn("OC.appSettings is deprecated and will be removed with Nextcloud 18"),void 0===e||void 0===e.appid)throw{name:"MissingParameter",message:"The parameter appid is missing"};var n={scriptName:"settings.php",cache:!0};o.a.extend(n,e);var r=o()("#appsettings");if(0===r.length)throw{name:"MissingDOMElement",message:'There has be be an element with id "appsettings" for the popup to show.'};var i=o()("#appsettings_popup");if(0===i.length&&(o()("body").prepend('<div class="popup hidden" id="appsettings_popup"></div>'),(i=o()("#appsettings_popup")).addClass(r.hasClass("topright")?"topright":"bottomleft")),i.is(":visible"))i.hide().remove();else{var a=r.hasClass("topright")?"up":"left";o.a.get(Object(Y.a)(n.appid,"",n.scriptName),function(e){i.html(e).ready(function(){if(i.prepend('<span class="arrow '+a+'"></span><h2>'+t("core","Settings")+'</h2><a class="close"></a>').show(),i.find(".close").bind("click",function(){i.remove()}),void 0!==n.loadJS){var e;if(!0===n.loadJS)e="settings.js";else{if("string"!=typeof n.loadJS)throw{name:"InvalidParameter",message:'The "loadJS" parameter must be either boolean or a string.'};e=n.loadJS}n.cache&&o.a.ajaxSetup({cache:!0}),o.a.getScript(Object(Y.a)(n.appid,"js",e)).fail(function(e,t,n){throw n})}}).show()},"html")}},w=void 0!==window._oc_appswebroots&&window._oc_appswebroots,b=w,T=i(18),D=i.n(T),x=i(86),S=i.n(x),j={create:"POST",update:"PROPPATCH",patch:"PROPPATCH",delete:"DELETE",read:"PROPFIND"};function H(){throw new Error('A "url" property or function must be specified')}function P(e,t){if(f.a.isArray(e))return f.a.map(e,function(e){return P(e,t)});var n={href:e.href};return f.a.each(e.propStat,function(e){if("HTTP/1.1 200 OK"===e.status)for(var r in e.properties){var i=r;r in t&&(i=t[r]),n[i]=e.properties[r]}}),n.id||(n.id=O(n.href)),n}function O(e){var t=e.indexOf("?");t>0&&(e=e.substr(0,t));var n,r=e.split("/");do{n=r[r.length-1],r.pop()}while(!n&&r.length>0);return n}function E(e){return e>=200&&e<=299}function C(e,t){var n,r={};for(n in e){var i=t[n],a=e[n];i||(console.warn('No matching DAV property for property "'+n),i=n),(f.a.isBoolean(a)||f.a.isNumber(a))&&(a=""+a),r[i]=a}return r}function A(e,t,n,r){return e.propFind(t.url,f.a.values(t.davProperties)||[],t.depth,r).then(function(e){if(E(e.status)){if(f.a.isFunction(t.success)){var n=f.a.invert(t.davProperties),r=P(e.body,n);return t.depth>0&&r.shift(),void t.success(r)}}else f.a.isFunction(t.error)&&t.error(e)})}function F(e,t,n,r){return e.propPatch(t.url,C(n.changed,t.davProperties),r).then(function(e){E(e.status)?f.a.isFunction(t.success)&&t.success(n.toJSON()):f.a.isFunction(t.error)&&t.error(e)})}function N(e,t,n,r){return e.request(t.type,t.url,r,null).then(function(i){E(i.status)?F(e,t,n,r):f.a.isFunction(t.error)&&t.error(i)})}function W(e,t,n,r){return r["Content-Type"]="application/json",e.request(t.type,t.url,r,t.data).then(function(e){if(E(e.status)){if(f.a.isFunction(t.success)){if("PUT"===t.type||"POST"===t.type||"MKCOL"===t.type){var r=e.body||n.toJSON(),i=e.xhr.getResponseHeader("Content-Location");return"POST"===t.type&&i&&(r.id=O(i)),void t.success(r)}if(207===e.status){var a=f.a.invert(t.davProperties);t.success(P(e.body,a))}else t.success(e.body)}}else f.a.isFunction(t.error)&&t.error(e)})}var I=function(e,t){var n=new S.a.Client({baseUrl:e.url,xmlNamespaces:f.a.extend({"DAV:":"d","http://owncloud.org/ns":"oc"},e.xmlNamespaces||{})});n.resolveUrl=function(){return e.url};var r=f.a.extend({"X-Requested-With":"XMLHttpRequest",requesttoken:OC.requestToken},e.headers);return"PROPFIND"===e.type?A(n,e,0,r):"PROPPATCH"===e.type?F(n,e,t,r):"MKCOL"===e.type?N(n,e,t,r):W(n,e,t,r)},R=function(e){return function(t,n,r){var i={type:j[t]||t},a=n instanceof e.Collection;if("update"===t&&(n.hasInnerCollection?i.type="MKCOL":(n.usePUT||n.collection&&n.collection.usePUT)&&(i.type="PUT")),r.url||(i.url=f.a.result(n,"url")||H()),null!=r.data||!n||"create"!==t&&"update"!==t&&"patch"!==t||(i.data=JSON.stringify(r.attrs||n.toJSON(r))),"PROPFIND"!==i.type&&(i.processData=!1),"PROPFIND"===i.type||"PROPPATCH"===i.type){var s=n.davProperties;!s&&n.model&&(s=n.model.prototype.davProperties),s&&(f.a.isFunction(s)?i.davProperties=s.call(n):i.davProperties=s),i.davProperties=f.a.extend(i.davProperties||{},r.davProperties),f.a.isUndefined(r.depth)&&(r.depth=a?1:0)}var o=r.error;r.error=function(e,t,n){r.textStatus=t,r.errorThrown=n,o&&o.call(r.context,e,t,n)};var u=r.xhr=e.davCall(f.a.extend(i,r),n);return n.trigger("request",n,u,r),u}},z=D.a.noConflict();Object.assign(z,{davCall:I,davSync:R(z)});var U=z,$=arguments,J=function(e){if(!e)return e;for(var t=e.split("/"),n=[],r=0;r<t.length;r++)n.push(encodeURIComponent(t[r]));return n.join("/")},q=function(e){return e.replace(/\\/g,"/").replace(/.*\//,"")},B=function(e){return e.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")},V=function(e,t){var n=(e||"").split("/").filter(function(e){return"."!==e}),r=(t||"").split("/").filter(function(e){return"."!==e});return(e=G.apply(void 0,n))===(t=G.apply(void 0,r))},G=function(){if($.length<1)return"";for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(e){return e.length>0});if(r.length<1)return"";var i=r[r.length-1],a="/"===r[0].charAt(0),s="/"===i.charAt(i.length-1),o=r.reduce(function(e,t){return e.concat(t.split("/"))},[]),u=!a,d=o.reduce(function(e,t){return""===t?e:u?(u=!1,e+t):e+"/"+t},"");return s?d+"/":d},K=i(78),X=window._oc_config||{},Q=X,Z=i(5),ee=i(251),te=document.getElementsByTagName("head")[0].getAttribute("data-user"),ne=document.getElementsByTagName("head")[0].getAttribute("data-user-displayname"),re=void 0!==te&&te,ie=function(){return{uid:re,displayName:ne}},ae=i(34),se={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,dialogsCounter:0,alert:function(e,t,n,r){this.message(e,t,"alert",se.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",se.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",se.YES_NO_BUTTONS,n,r)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",se.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,i,a,s){return o.a.when(this._getMessageTemplate()).then(function(u){var d="oc-dialog-"+se.dialogsCounter+"-content",l="#"+d,c=u.octemplate({dialog_name:d,title:n,message:e,type:"notice"}),_=o()("<input/>");_.attr("type",s?"password":"text").attr("id",d+"-input").attr("placeholder",a);var h=o()("<label/>").attr("for",d+"-input").text(a+": ");c.append(h),c.append(_),void 0===i&&(i=!1),o()("body").append(c),void 0!==r&&(r=f.a.once(r));var m=[{text:t("core","No"),click:function(){void 0!==r&&r(!1,_.val()),o()(l).ocdialog("close")}},{text:t("core","Yes"),click:function(){void 0!==r&&r(!0,_.val()),o()(l).ocdialog("close")},defaultButton:!0}];o()(l).ocdialog({closeOnEscape:!0,modal:i,buttons:m,close:function(){void 0!==r&&r(!1,_.val())}}),_.focus(),se.dialogsCounter++})},filepicker:function(e,n,r,i,a,s,u,d){var l=this;if(this.filepicker.sortField="name",this.filepicker.sortOrder="asc",!this.filepicker.loading){void 0===s&&(s=this.FILEPICKER_TYPE_CHOOSE);var c=t("core","No files in here"),_=t("files","New folder");s!==this.FILEPICKER_TYPE_COPY&&s!==this.FILEPICKER_TYPE_MOVE&&s!==this.FILEPICKER_TYPE_COPY_MOVE||(c=t("core","No more subfolders in here")),this.filepicker.loading=!0,this.filepicker.filesClient=ae.a.Sharing&&ae.a.Sharing.PublicApp&&ae.a.Sharing.PublicApp.fileList?ae.a.Sharing.PublicApp.fileList.filesClient:qe.Files.getClient(),this.filelist=null,u=u||"",d=Object.assign({allowDirectoryChooser:!1},d),o.a.when(this._getFilePickerTemplate()).then(function(h){l.filepicker.loading=!1;l.$filePicker&&l.$filePicker.ocdialog("close"),null==i&&(i=[]),"string"==typeof i&&(i=[i]),l.$filePicker=h.octemplate({dialog_name:"oc-dialog-filepicker-content",title:e,emptytext:c,newtext:_,nameCol:t("core","Name"),sizeCol:t("core","Size"),modifiedCol:t("core","Modified")}).data("path",u).data("multiselect",r).data("mimetype",i).data("allowDirectoryChooser",d.allowDirectoryChooser),void 0===a&&(a=!1),void 0===r&&(r=!1),qe.Util.isIE()&&(l.$filePicker.find("#picker-view-toggle").remove(),l.$filePicker.find("#picker-filestable").removeClass("view-grid")),o()("body").append(l.$filePicker),l.$showGridView=o()("input#picker-showgridview"),l.$showGridView.on("change",f.a.bind(l._onGridviewChange,l)),qe.Util.isIE()||l._getGridSettings();var m=l.$filePicker.find(".actions.creatable .button-add");s===l.FILEPICKER_TYPE_CHOOSE&&m.hide(),m.on("focus",function(){l.$filePicker.ocdialog("setEnterCallback",function(){event.stopImmediatePropagation(),event.preventDefault(),m.click()})}),m.on("blur",function(){l.$filePicker.ocdialog("unsetEnterCallback")}),qe.registerMenu(m,l.$filePicker.find(".menu"),function(){y.focus(),l.$filePicker.ocdialog("setEnterCallback",function(){event.stopImmediatePropagation(),event.preventDefault(),l.$form.submit()});var e=y.val(),t=e.lastIndexOf(".");-1===t&&(t=e.length),y.selectRange(0,t)});var p=l.$filePicker.find(".filenameform"),y=p.find("input[type='text']");p.find("input[type='submit']").on("click",function(e){e.stopImmediatePropagation(),e.preventDefault(),p.submit()});p.on("submit",function(e){if(e.stopPropagation(),e.preventDefault(),function(){var e=y.val();try{if(Files.isFileNameValid(e)){if(l.filelist.find(function(e){return e.name===this},e))throw t("files","{newName} already exists",{newName:e},void 0,{escape:!1});return!0}}catch(e){y.attr("title",e),y.tooltip({placement:"right",trigger:"manual",container:".newFolderMenu"}),y.tooltip("fixTitle"),y.tooltip("show"),y.addClass("error")}return!1}()){var n=y.val();l.filepicker.filesClient.createDirectory(l.$filePicker.data("path")+"/"+n).always(function(e){l._fillFilePicker(l.$filePicker.data("path")+"/"+n)}),qe.hideMenus(),l.$filePicker.ocdialog("unsetEnterCallback"),l.$filePicker.click(),y.val(_)}}),y.keypress(function(e){13!==e.keyCode&&13!==e.which||(e.stopImmediatePropagation(),e.preventDefault(),p.submit())}),l.$filePicker.ready(function(){l.$fileListHeader=l.$filePicker.find(".filelist thead tr"),l.$filelist=l.$filePicker.find(".filelist tbody"),l.$filelistContainer=l.$filePicker.find(".filelist-container"),l.$dirTree=l.$filePicker.find(".dirtree"),l.$dirTree.on("click","div:not(:last-child)",l,function(e){l._handleTreeListSelect(e,s)}),l.$filelist.on("click","tr",function(e){l._handlePickerClick(e,o()(this),s)}),l.$fileListHeader.on("click","a",function(e){var t=l.$filePicker.data("path");l.filepicker.sortField=o()(e.currentTarget).data("sort"),l.filepicker.sortOrder="asc"===l.filepicker.sortOrder?"desc":"asc",l._fillFilePicker(t)}),l._fillFilePicker(u)});var M=function(e){if(void 0!==n){var t;if(!0===r)t=[],l.$filelist.find("tr.filepicker_element_selected").each(function(e,n){t.push(l.$filePicker.data("path")+"/"+o()(n).data("entryname"))});else{t=l.$filePicker.data("path");var i=l.$filelist.find("tr.filepicker_element_selected").data("entryname");i&&(t+="/"+i)}n(t,e),l.$filePicker.ocdialog("close")}},g=[];s===se.FILEPICKER_TYPE_CHOOSE?g.push({text:t("core","Choose"),click:function(){M(se.FILEPICKER_TYPE_CHOOSE)},defaultButton:!0}):(s!==se.FILEPICKER_TYPE_COPY&&s!==se.FILEPICKER_TYPE_COPY_MOVE||g.push({text:t("core","Copy"),click:function(){M(se.FILEPICKER_TYPE_COPY)},defaultButton:!1}),s!==se.FILEPICKER_TYPE_MOVE&&s!==se.FILEPICKER_TYPE_COPY_MOVE||g.push({text:t("core","Move"),click:function(){M(se.FILEPICKER_TYPE_MOVE)},defaultButton:!0})),l.$filePicker.ocdialog({closeOnEscape:!0,width:600,height:500,modal:a,buttons:g,style:{buttons:"aside"},close:function(){try{o()(this).ocdialog("destroy").remove()}catch(e){}l.$filePicker=null}});var v=l.$filePicker.closest(".oc-dialog").find(".primary");-1===l.$filePicker.data("mimetype").indexOf("httpd/unix-directory")||l.$filePicker.data(".allowDirectoryChooser")?v.prop("disabled",!0):v.prop("disabled",!1)}).fail(function(e,n){l.filepicker.loading=!1,0!==e&&alert(t("core","Error loading file picker template: {error}",{error:n}))})}},message:function(e,n,r,i,a,s,u){return o.a.when(this._getMessageTemplate()).then(function(d){var l="oc-dialog-"+se.dialogsCounter+"-content",c="#"+l,_=d.octemplate({dialog_name:l,title:n,message:e,type:r},u?{escapeFunction:""}:{});void 0===s&&(s=!1),o()("body").append(_);var f=[];switch(i){case se.YES_NO_BUTTONS:f=[{text:t("core","No"),click:function(){void 0!==a&&a(!1),o()(c).ocdialog("close")}},{text:t("core","Yes"),click:function(){void 0!==a&&a(!0),o()(c).ocdialog("close")},defaultButton:!0}];break;case se.OK_BUTTON:f[0]={text:t("core","OK"),click:function(){o()(c).ocdialog("close"),void 0!==a&&a()},defaultButton:!0}}o()(c).ocdialog({closeOnEscape:!0,modal:s,buttons:f}),se.dialogsCounter++}).fail(function(r,i){0===r?alert(n+": "+e):alert(t("core","Error loading message template: {error}",{error:i}))})},_fileexistsshown:!1,fileexists:function(e,r,i,a){var s=this,u=new o.a.Deferred,d=function(e){var t,n,r,i=document.createElement("canvas"),a=e.width,s=e.height;return a>s?(n=0,t=(a-s)/2):(n=(s-a)/2,t=0),r=Math.min(a,s),i.width=r,i.height=r,i.getContext("2d").drawImage(e,t,n,r,r,0,0,r,r),l(i,r,r,96,96),i.toDataURL("image/png",.7)},l=function(e,t,n,r,i){r=Math.round(r),i=Math.round(i);for(var a=e.getContext("2d").getImageData(0,0,t,n),s=e.getContext("2d").getImageData(0,0,r,i),o=a.data,u=s.data,d=t/r,l=n/i,c=Math.ceil(d/2),_=Math.ceil(l/2),f=0;f<i;f++)for(var h=0;h<r;h++){for(var m=4*(h+f*r),p=0,y=0,M=0,g=0,v=0,L=0,Y=0,k=(f+.5)*l,w=Math.floor(f*l);w<(f+1)*l;w++)for(var b=Math.abs(k-(w+.5))/_,T=(h+.5)*d,D=b*b,x=Math.floor(h*d);x<(h+1)*d;x++){var S=Math.abs(T-(x+.5))/c,j=Math.sqrt(D+S*S);j>=-1&&j<=1&&(p=2*j*j*j-3*j*j+1)>0&&(Y+=p*o[(S=4*(x+w*t))+3],M+=p,o[S+3]<255&&(p=p*o[S+3]/250),g+=p*o[S],v+=p*o[S+1],L+=p*o[S+2],y+=p)}u[m]=g/y,u[m+1]=v/y,u[m+2]=L/y,u[m+3]=Y/M}e.getContext("2d").clearRect(0,0,Math.max(t,r),Math.max(n,i)),e.width=r,e.height=i,e.getContext("2d").putImageData(s,0,0)},c=function(n,r,i){var a=n.find(".template").clone().removeClass("template").addClass("conflict"),s=a.find(".original"),u=a.find(".replacement");a.data("data",e),a.find(".filename").text(r.name),s.find(".size").text(humanFileSize(r.size)),s.find(".mtime").text(formatDate(r.mtime)),i.size&&i.lastModifiedDate&&(u.find(".size").text(humanFileSize(i.size)),u.find(".mtime").text(formatDate(i.lastModifiedDate)));var l=r.directory+"/"+r.name,c={file:l,x:96,y:96,c:r.etag,forceIcon:0},_=Files.generatePreviewUrl(c);_=_.replace(/'/g,"%27"),s.find(".icon").css({"background-image":"url('"+_+"')"}),function(e){var t=new o.a.Deferred,n=e.type&&e.type.split("/").shift();if(window.FileReader&&"image"===n){var r=new FileReader;r.onload=function(e){var n=new Blob([e.target.result]);window.URL=window.URL||window.webkitURL;var r=window.URL.createObjectURL(n),i=new Image;i.src=r,i.onload=function(){var e=d(i);t.resolve(e)}},r.readAsArrayBuffer(e)}else t.reject();return t}(i).then(function(e){u.find(".icon").css("background-image","url("+e+")")},function(){l=qe.MimeType.getIconUrl(i.type),u.find(".icon").css("background-image","url("+l+")")});var f=n.find(".conflict").length;s.find("input:checkbox").attr("id","checkbox_original_"+f),u.find("input:checkbox").attr("id","checkbox_replacement_"+f),n.append(a),i.lastModifiedDate&&i.lastModifiedDate.getTime()>r.mtime?u.find(".mtime").css("font-weight","bold"):i.lastModifiedDate&&i.lastModifiedDate.getTime()<r.mtime&&s.find(".mtime").css("font-weight","bold"),i.size&&i.size>r.size?u.find(".size").css("font-weight","bold"):i.size&&i.size<r.size&&s.find(".size").css("font-weight","bold"),"readonly"===r.status&&(s.addClass("readonly").find('input[type="checkbox"]').prop("checked",!0).prop("disabled",!0),s.find(".message").text(t("core","read-only")))},_="#oc-dialog-fileexists-content";if(this._fileexistsshown){var f=o()(_+" .conflicts");c(f,r,i);var h=o()(_+" .conflict").length,m=n("core","{count} file conflict","{count} file conflicts",h,{count:h});o()(_).parent().children(".oc-dialog-title").text(m),o()(window).trigger("resize"),u.resolve()}else this._fileexistsshown=!0,o.a.when(this._getFileExistsTemplate()).then(function(n){var d=t("core","One file conflict"),l=n.octemplate({dialog_name:"oc-dialog-fileexists-content",title:d,type:"fileexists",allnewfiles:t("core","New Files"),allexistingfiles:t("core","Already existing files"),why:t("core","Which files do you want to keep?"),what:t("core","If you select both versions, the copied file will have a number added to its name.")});if(o()("body").append(l),r&&i){var f=l.find(".conflicts");c(f,r,i)}var h=[{text:t("core","Cancel"),classes:"cancel",click:function(){void 0!==a.onCancel&&a.onCancel(e),o()(_).ocdialog("close")}},{text:t("core","Continue"),classes:"continue",click:function(){void 0!==a.onContinue&&a.onContinue(o()(_+" .conflict")),o()(_).ocdialog("close")}}];o()(_).ocdialog({width:500,closeOnEscape:!0,modal:!0,buttons:h,closeButton:null,close:function(){s._fileexistsshown=!1,o()(this).ocdialog("destroy").remove()}}),o()(_).css("height","auto");var m=l.closest(".oc-dialog").find("button.continue");function p(){var e=l.find(".conflicts .checkbox:checked").length;m.prop("disabled",0===e)}m.prop("disabled",!0),o()(_).find(".allnewfiles").on("click",function(){o()(_).find('.conflict .replacement input[type="checkbox"]').prop("checked",o()(this).prop("checked"))}),o()(_).find(".allexistingfiles").on("click",function(){o()(_).find('.conflict .original:not(.readonly) input[type="checkbox"]').prop("checked",o()(this).prop("checked"))}),o()(_).find(".conflicts").on("click",".replacement,.original:not(.readonly)",function(){var e=o()(this).find('input[type="checkbox"]');e.prop("checked",!e.prop("checked"))}),o()(_).find(".conflicts").on("click",'.replacement input[type="checkbox"],.original:not(.readonly) input[type="checkbox"]',function(){var e=o()(this);e.prop("checked",!e.prop("checked"))}),o()(_).on("click",".replacement,.allnewfiles",function(){var e=o()(_).find('.conflict .replacement input[type="checkbox"]:checked').length;e===o()(_+" .conflict").length?(o()(_).find(".allnewfiles").prop("checked",!0),o()(_).find(".allnewfiles + .count").text(t("core","(all selected)"))):e>0?(o()(_).find(".allnewfiles").prop("checked",!1),o()(_).find(".allnewfiles + .count").text(t("core","({count} selected)",{count:e}))):(o()(_).find(".allnewfiles").prop("checked",!1),o()(_).find(".allnewfiles + .count").text("")),p()}),o()(_).on("click",".original,.allexistingfiles",function(){var e=o()(_).find('.conflict .original input[type="checkbox"]:checked').length;e===o()(_+" .conflict").length?(o()(_).find(".allexistingfiles").prop("checked",!0),o()(_).find(".allexistingfiles + .count").text(t("core","(all selected)"))):e>0?(o()(_).find(".allexistingfiles").prop("checked",!1),o()(_).find(".allexistingfiles + .count").text(t("core","({count} selected)",{count:e}))):(o()(_).find(".allexistingfiles").prop("checked",!1),o()(_).find(".allexistingfiles + .count").text("")),p()}),u.resolve()}).fail(function(){u.reject(),alert(t("core","Error loading file exists template"))});return u.promise()},_getGridSettings:function(){var e=this;o.a.get(qe.generateUrl("/apps/files/api/v1/showgridview"),function(t){e.$showGridView.get(0).checked=t.gridview,e.$showGridView.next("#picker-view-toggle").removeClass("icon-toggle-filelist icon-toggle-pictures").addClass(t.gridview?"icon-toggle-filelist":"icon-toggle-pictures"),o()(".list-container").toggleClass("view-grid",t.gridview)})},_onGridviewChange:function(){var e=this.$showGridView.is(":checked");qe.currentUser&&o.a.post(qe.generateUrl("/apps/files/api/v1/showgridview"),{show:e}),this.$showGridView.next("#picker-view-toggle").removeClass("icon-toggle-filelist icon-toggle-pictures").addClass(e?"icon-toggle-filelist":"icon-toggle-pictures"),o()(".list-container").toggleClass("view-grid",e)},_getFilePickerTemplate:function(){var e=o.a.Deferred();if(this.$filePickerTemplate)e.resolve(this.$filePickerTemplate);else{var t=this;o.a.get(qe.filePath("core","templates","filepicker.html"),function(n){t.$filePickerTemplate=o()(n),t.$listTmpl=t.$filePickerTemplate.find(".filelist tbody tr:first-child").detach(),e.resolve(t.$filePickerTemplate)}).fail(function(t,n,r){e.reject(t.status,r)})}return e.promise()},_getMessageTemplate:function(){var e=o.a.Deferred();if(this.$messageTemplate)e.resolve(this.$messageTemplate);else{var t=this;o.a.get(qe.filePath("core","templates","message.html"),function(n){t.$messageTemplate=o()(n),e.resolve(t.$messageTemplate)}).fail(function(t,n,r){e.reject(t.status,r)})}return e.promise()},_getFileExistsTemplate:function(){var e=o.a.Deferred();if(this.$fileexistsTemplate)e.resolve(this.$fileexistsTemplate);else{var t=this;o.a.get(qe.filePath("files","templates","fileexists.html"),function(n){t.$fileexistsTemplate=o()(n),e.resolve(t.$fileexistsTemplate)}).fail(function(){e.reject()})}return e.promise()},_getFileList:function(e,t){return"string"==typeof t&&(t=[t]),o.a.getJSON(qe.filePath("files","ajax","list.php"),{dir:e,mimetypes:JSON.stringify(t)})},_fillFilePicker:function(e){var n=this;this.$filelist.empty(),this.$filePicker.find(".emptycontent").hide(),this.$filelistContainer.addClass("icon-loading"),this.$filePicker.data("path",e);var r=this.$filePicker.data("mimetype");"string"==typeof r&&(r=[r]),n.$fileListHeader.find(".sort-indicator").addClass("hidden").removeClass("icon-triangle-n").removeClass("icon-triangle-s"),n.$fileListHeader.find("[data-sort="+n.filepicker.sortField+"] .sort-indicator").removeClass("hidden"),"asc"===n.filepicker.sortOrder?n.$fileListHeader.find("[data-sort="+n.filepicker.sortField+"] .sort-indicator").addClass("icon-triangle-n"):n.$fileListHeader.find("[data-sort="+n.filepicker.sortField+"] .sort-indicator").addClass("icon-triangle-s"),n.filepicker.filesClient.getFolderContents(e).then(function(i,a){n.filelist=a,r&&r.length>0&&-1===r.indexOf("*")&&(a=a.filter(function(e){return"dir"===e.type||-1!==r.indexOf(e.mimetype)}));var s={name:function(e,t){return"dir"===e.type&&"dir"!==t.type?-1:"dir"!==e.type&&"dir"===t.type?1:qe.Util.naturalSortCompare(e.name,t.name)},size:function(e,t){return e.size-t.size},mtime:function(e,t){return e.mtime-t.mtime}},u=s[n.filepicker.sortField]||s.name;a=a.sort(function(e,t){var r=function(e){return e.tags&&e.tags.indexOf(qe.TAG_FAVORITE)>=0};return r(e)&&!r(t)?-1:!r(e)&&r(t)?1:"asc"===n.filepicker.sortOrder?u(e,t):-u(e,t)}),n._fillSlug(),0===a.length?(n.$filePicker.find(".emptycontent").show(),n.$fileListHeader.hide()):(n.$filePicker.find(".emptycontent").hide(),n.$fileListHeader.show()),o.a.each(a,function(r,i){var a,s;if(i.icon=qe.MimeType.getIconUrl(i.mimetype),void 0!==i.size&&i.size>=0?(a=humanFileSize(parseInt(i.size,10),!0),s=Math.round(160-Math.pow(i.size/1048576,2))):(a=t("files","Pending"),s=80),i.name.length>=10)var u=Math.min(Math.floor(i.name.length/2),10),d=i.name.substr(0,i.name.length-u),l=i.name.substr(i.name.length-u);else d=i.name,l="";var c=n.$listTmpl.octemplate({type:i.type,dir:e,filename:i.name,filename1:d,filename2:l,date:qe.Util.relativeModifiedDate(i.mtime),size:a,sizeColor:s,icon:i.icon});if("file"===i.type){var _={file:e+"/"+i.name,x:100,y:100},f=new Image,h=qe.generateUrl("/core/preview.png?")+o.a.param(_);f.onload=function(){f.width>5&&c.find("td.filename").attr("style","background-image:url("+h+")")},f.src=h}n.$filelist.append(c)}),n.$filelistContainer.removeClass("icon-loading")})},_fillSlug:function(){this.$dirTree.empty();var e=this,t=this.$filePicker.data("path"),n=o()('<div data-dir="{dir}"><a>{name}</a></div>').addClass("crumb");if(t){var r=t.split("/");o.a.each(r,function(t,i){if(""===(i=r.pop()))return!1;e.$dirTree.prepend(n.octemplate({dir:r.join("/")+"/"+i,name:i}))})}n.octemplate({dir:"",name:""},{escapeFunction:null}).prependTo(this.$dirTree)},_handleTreeListSelect:function(e,t){var n=e.data,r=o()(e.target).closest(".crumb").data("dir");n._fillFilePicker(r);var i=e.target.closest(".oc-dialog"),a=o()(".primary",i);this._changeButtonsText(t,r.split(/[\/]+/).pop()),-1!==this.$filePicker.data("mimetype").indexOf("httpd/unix-directory")?a.prop("disabled",!1):a.prop("disabled",!0)},_handlePickerClick:function(e,t,n){var r=this.$filePicker.closest(".oc-dialog").find(".primary");"file"===t.data("type")?(!0===this.$filePicker.data("multiselect")&&e.ctrlKey||this.$filelist.find(".filepicker_element_selected").removeClass("filepicker_element_selected"),t.toggleClass("filepicker_element_selected"),r.prop("disabled",!1)):"dir"===t.data("type")&&(this._fillFilePicker(this.$filePicker.data("path")+"/"+t.data("entryname")),this._changeButtonsText(n,t.data("entryname")),-1!==this.$filePicker.data("mimetype").indexOf("httpd/unix-directory")||this.$filePicker.data("allowDirectoryChooser")?r.prop("disabled",!1):r.prop("disabled",!0))},_changeButtonsText:function(e,n){var r=""===n?t("core","Copy"):t("core","Copy to {folder}",{folder:n}),i=""===n?t("core","Move"):t("core","Move to {folder}",{folder:n}),a=o()(".oc-dialog-buttonrow button");switch(e){case this.FILEPICKER_TYPE_CHOOSE:break;case this.FILEPICKER_TYPE_COPY:a.text(r);break;case this.FILEPICKER_TYPE_MOVE:a.text(i);break;case this.FILEPICKER_TYPE_COPY_MOVE:a.eq(0).text(r),a.eq(1).text(i)}}},oe=se,ue=i(31),de=function e(t,n){var r,i,a="";if(this.typelessListeners=[],this.closed=!1,this.listeners={},n)for(r in n)a+=r+"="+encodeURIComponent(n[r])+"&";if(a+="requesttoken="+encodeURIComponent(Object(ue.a)()),this.useFallBack||"undefined"==typeof EventSource){var s="oc_eventsource_iframe_"+e.iframeCount;e.fallBackSources[e.iframeCount]=this,this.iframe=o()("<iframe/>"),this.iframe.attr("id",s),this.iframe.hide(),i="&",-1===t.indexOf("?")&&(i="?"),this.iframe.attr("src",t+i+"fallback=true&fallback_id="+e.iframeCount+"&"+a),o()("body").append(this.iframe),this.useFallBack=!0,e.iframeCount++}else i="&",-1===t.indexOf("?")&&(i="?"),this.source=new EventSource(t+i+a),this.source.onmessage=function(e){for(var t=0;t<this.typelessListeners.length;t++)this.typelessListeners[t](JSON.parse(e.data))}.bind(this);this.listen("__internal__",function(e){"close"===e&&this.close()}.bind(this))};de.fallBackSources=[],de.iframeCount=0,de.fallBackCallBack=function(e,t,n){de.fallBackSources[e].fallBackCallBack(t,n)},de.prototype={typelessListeners:[],iframe:null,listeners:{},useFallBack:!1,fallBackCallBack:function(e,t){var n;if(!this.closed)if(e){if(void 0!==this.listeners.done)for(n=0;n<this.listeners[e].length;n++)this.listeners[e][n](t)}else for(n=0;n<this.typelessListeners.length;n++)this.typelessListeners[n](t)},lastLength:0,listen:function(e,t){t&&t.call&&(e?this.useFallBack?(this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)):this.source.addEventListener(e,function(e){void 0!==e.data?t(JSON.parse(e.data)):t("")},!1):this.typelessListeners.push(t))},close:function(){this.closed=!0,void 0!==this.source&&this.source.close()}};var le=de,ce=function(e){return function(t){for(var n=t.split("."),r=n.pop(),i=0;i<n.length;i++)if(!(e=e[n[i]]))return!1;return e[r]}},_e=function(e){return function(t,n){for(var r=t.split("."),i=r.pop(),a=0;a<r.length;a++)e[r[a]]||(e[r[a]]={}),e=e[r[a]];e[i]=n}},fe=window._oc_capabilities||{},he=function(){return fe},me=function(){return window.location.protocol.split(":")[0]},pe=function(){return window.location.host},ye=function(){return window.location.hostname},Me=function(){return window.location.port},ge=null,ve=function(e,t,n,r){t.addClass("menu"),e.on("A"===e.prop("tagName")||"BUTTON"===e.prop("tagName")?"click.menu":"click.menu keyup.menu",function(i){i.preventDefault(),i.key&&"Enter"!==i.key||(t.is(ge)?Ye():(ge&&Ye(),!0===r&&t.parent().addClass("openedMenu"),e.attr("aria-expanded",!0),t.slideToggle(Z.j,n),ge=t,e))})},Le=function(e,t){t.is(ge)&&Ye(),e.off("click.menu").removeClass("menutoggle"),t.removeClass("menu")},Ye=function(e){if(ge){var t=ge;ge.trigger(new o.a.Event("beforeHide")),ge.slideUp(Z.j,function(){t.trigger(new o.a.Event("afterHide")),e&&e.apply(this,arguments)})}o()(".menutoggle").attr("aria-expanded",!1),o()(".openedMenu").removeClass("openedMenu"),ge=null,null},ke=function(e,t,n){t.is(ge)||(Ye(),ge=t,e,t.trigger(new o.a.Event("beforeShow")),t.show(),t.trigger(new o.a.Event("afterShow")),f.a.isFunction(n)&&n())},we=!!window._oc_isadmin,be=function(){return we},Te=i(19),De={startSaving:function(e){this.startAction(e,t("core","Saving..."))},startAction:function(e,t){o()(e).text(t).removeClass("success").removeClass("error").stop(!0,!0).show()},finishedSaving:function(e,t){this.finishedAction(e,t)},finishedAction:function(e,t){"success"===t.status?this.finishedSuccess(e,t.data.message):this.finishedError(e,t.data.message)},finishedSuccess:function(e,t){o()(e).text(t).addClass("success").removeClass("error").stop(!0,!0).delay(3e3).fadeOut(900).show()},finishedError:function(e,t){o()(e).text(t).addClass("error").removeClass("success").show()}},xe=i(87),Se={_plugins:{},register:function(e,t){var n=this._plugins[e];n||(n=this._plugins[e]=[]),n.push(t)},getPlugins:function(e){return this._plugins[e]||[]},attach:function(e,t,n){for(var r=this.getPlugins(e),i=0;i<r.length;i++)r[i].attach&&r[i].attach(t,n)},detach:function(e,t,n){for(var r=this.getPlugins(e),i=0;i<r.length;i++)r[i].detach&&r[i].detach(t,n)}},je=function(e){qe.Search.search(e,null,0,30)};
+function(e){var t,n,r,i,a,s,o,u,d,l,c,_,f,h,m,p,y,M,g,v="sizzle"+1*new Date,L=e.document,Y=0,k=0,w=se(),b=se(),T=se(),D=function(e,t){return e===t&&(c=!0),0},x=1<<31,S={}.hasOwnProperty,j=[],H=j.pop,P=j.push,O=j.push,E=j.slice,C=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},A="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=N.replace("w","w#"),I="\\["+F+"*("+N+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+F+"*\\]",R=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",z=new RegExp(F+"+","g"),U=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),$=new RegExp("^"+F+"*,"+F+"*"),J=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),q=new RegExp("="+F+"*([^\\]'\"]*?)"+F+"*\\]","g"),B=new RegExp(R),V=new RegExp("^"+W+"$"),G={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+A+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),re=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ie=function(){_()};try{O.apply(j=E.call(L.childNodes),L.childNodes),j[L.childNodes.length].nodeType}catch(e){O={apply:j.length?function(e,t){P.apply(e,E.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var a,o,d,l,c,h,y,M,Y,k;if((t?t.ownerDocument||t:L)!==f&&_(t),r=r||[],l=(t=t||f).nodeType,"string"!=typeof e||!e||1!==l&&9!==l&&11!==l)return r;if(!i&&m){if(11!==l&&(a=Z.exec(e)))if(d=a[1]){if(9===l){if(!(o=t.getElementById(d))||!o.parentNode)return r;if(o.id===d)return r.push(o),r}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(d))&&g(t,o)&&o.id===d)return r.push(o),r}else{if(a[2])return O.apply(r,t.getElementsByTagName(e)),r;if((d=a[3])&&n.getElementsByClassName)return O.apply(r,t.getElementsByClassName(d)),r}if(n.qsa&&(!p||!p.test(e))){if(M=y=v,Y=t,k=1!==l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){for(h=s(e),(y=t.getAttribute("id"))?M=y.replace(te,"\\$&"):t.setAttribute("id",M),M="[id='"+M+"'] ",c=h.length;c--;)h[c]=M+pe(h[c]);Y=ee.test(e)&&he(t.parentNode)||t,k=h.join(",")}if(k)try{return O.apply(r,Y.querySelectorAll(k)),r}catch(e){}finally{y||t.removeAttribute("id")}}}return u(e.replace(U,"$1"),t,r,i)}function se(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function oe(e){return e[v]=!0,e}function ue(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=e.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||x)-(~e.sourceIndex||x);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function _e(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return oe(function(t){return t=+t,oe(function(n,r){for(var i,a=e([],n.length,t),s=a.length;s--;)n[i=a[s]]&&(n[i]=!(r[i]=n[i]))})})}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},a=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},_=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:L;return s!==f&&9===s.nodeType&&s.documentElement?(f=s,h=s.documentElement,(i=s.defaultView)&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",ie,!1):i.attachEvent&&i.attachEvent("onunload",ie)),m=!a(s),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(s.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(s.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=v,!s.getElementsByName||!s.getElementsByName(v).length}),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(m)return t.getElementsByClassName(e)},y=[],p=[],(n.qsa=Q.test(s.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+v+"'></a><select id='"+v+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+F+"*(?:value|"+A+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]")}),ue(function(e){var t=s.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+F+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")})),(n.matchesSelector=Q.test(M=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=M.call(e,"div"),M.call(e,"[s!='']:x"),y.push("!=",R)}),p=p.length&&new RegExp(p.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(h.compareDocumentPosition),g=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===s||e.ownerDocument===L&&g(L,e)?-1:t===s||t.ownerDocument===L&&g(L,t)?1:l?C(l,e)-C(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],u=[t];if(!i||!a)return e===s?-1:t===s?1:i?-1:a?1:l?C(l,e)-C(l,t):0;if(i===a)return le(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;o[r]===u[r];)r++;return r?le(o[r],u[r]):o[r]===L?-1:u[r]===L?1:0},s):f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&_(e),t=t.replace(q,"='$1']"),n.matchesSelector&&m&&(!y||!y.test(t))&&(!p||!p.test(t)))try{var r=M.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ae(t,f,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==f&&_(e),g(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==f&&_(e);var i=r.attrHandle[t.toLowerCase()],a=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,a=0;if(c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(D),c){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return l=null,e},i=ae.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:oe,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,re),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&w(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),o="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var d,l,c,_,f,h,m=a!==s?"nextSibling":"previousSibling",p=t.parentNode,y=o&&t.nodeName.toLowerCase(),M=!u&&!o;if(p){if(a){for(;m;){for(c=t;c=c[m];)if(o?c.nodeName.toLowerCase()===y:1===c.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?p.firstChild:p.lastChild],s&&M){for(f=(d=(l=p[v]||(p[v]={}))[e]||[])[0]===Y&&d[1],_=d[0]===Y&&d[2],c=f&&p.childNodes[f];c=++f&&c&&c[m]||(_=f=0)||h.pop();)if(1===c.nodeType&&++_&&c===t){l[e]=[Y,f,_];break}}else if(M&&(d=(t[v]||(t[v]={}))[e])&&d[0]===Y)_=d[1];else for(;(c=++f&&c&&c[m]||(_=f=0)||h.pop())&&((o?c.nodeName.toLowerCase()!==y:1!==c.nodeType)||!++_||(M&&((c[v]||(c[v]={}))[e]=[Y,_]),c!==t)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[v]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,n){for(var r,a=i(e,t),s=a.length;s--;)e[r=C(e,a[s])]=!(n[r]=a[s])}):function(e){return i(e,0,n)}):i}},pseudos:{not:oe(function(e){var t=[],n=[],r=o(e.replace(U,"$1"));return r[v]?oe(function(e,t,n,i){for(var a,s=r(e,null,i,[]),o=e.length;o--;)(a=s[o])&&(e[o]=!(t[o]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:oe(function(e){return function(t){return ae(e,t).length>0}}),contains:oe(function(e){return e=e.replace(ne,re),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:oe(function(e){return V.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(ne,re).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=ce(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=_e(t);function me(){}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ye(e,t,n){var r=t.dir,i=n&&"parentNode"===r,a=k++;return t.first?function(t,n,a){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,a)}:function(t,n,s){var o,u,d=[Y,a];if(s){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((o=(u=t[v]||(t[v]={}))[r])&&o[0]===Y&&o[1]===a)return d[2]=o[2];if(u[r]=d,d[2]=e(t,n,s))return!0}}}function Me(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ge(e,t,n,r,i){for(var a,s=[],o=0,u=e.length,d=null!=t;o<u;o++)(a=e[o])&&(n&&!n(a,r,i)||(s.push(a),d&&t.push(o)));return s}function ve(e,t,n,r,i,a){return r&&!r[v]&&(r=ve(r)),i&&!i[v]&&(i=ve(i,a)),oe(function(a,s,o,u){var d,l,c,_=[],f=[],h=s.length,m=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",o.nodeType?[o]:o,[]),p=!e||!a&&t?m:ge(m,_,e,o,u),y=n?i||(a?e:h||r)?[]:s:p;if(n&&n(p,y,o,u),r)for(d=ge(y,f),r(d,[],o,u),l=d.length;l--;)(c=d[l])&&(y[f[l]]=!(p[f[l]]=c));if(a){if(i||e){if(i){for(d=[],l=y.length;l--;)(c=y[l])&&d.push(p[l]=c);i(null,y=[],d,u)}for(l=y.length;l--;)(c=y[l])&&(d=i?C(a,c):_[l])>-1&&(a[d]=!(s[d]=c))}}else y=ge(y===s?y.splice(h,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function Le(e){for(var t,n,i,a=e.length,s=r.relative[e[0].type],o=s||r.relative[" "],u=s?1:0,l=ye(function(e){return e===t},o,!0),c=ye(function(e){return C(t,e)>-1},o,!0),_=[function(e,n,r){var i=!s&&(r||n!==d)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];u<a;u++)if(n=r.relative[e[u].type])_=[ye(Me(_),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[v]){for(i=++u;i<a&&!r.relative[e[i].type];i++);return ve(u>1&&Me(_),u>1&&pe(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(U,"$1"),n,u<i&&Le(e.slice(u,i)),i<a&&Le(e=e.slice(i)),i<a&&pe(e))}_.push(n)}return Me(_)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,s=ae.tokenize=function(e,t){var n,i,a,s,o,u,d,l=b[e+" "];if(l)return t?0:l.slice(0);for(o=e,u=[],d=r.preFilter;o;){for(s in n&&!(i=$.exec(o))||(i&&(o=o.slice(i[0].length)||o),u.push(a=[])),n=!1,(i=J.exec(o))&&(n=i.shift(),a.push({value:n,type:i[0].replace(U," ")}),o=o.slice(n.length)),r.filter)!(i=G[s].exec(o))||d[s]&&!(i=d[s](i))||(n=i.shift(),a.push({value:n,type:s,matches:i}),o=o.slice(n.length));if(!n)break}return t?o.length:o?ae.error(e):b(e,u).slice(0)},o=ae.compile=function(e,t){var n,i=[],a=[],o=T[e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)(o=Le(t[n]))[v]?i.push(o):a.push(o);(o=T(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,s,o,u,l){var c,_,h,m=0,p="0",y=a&&[],M=[],g=d,v=a||i&&r.find.TAG("*",l),L=Y+=null==g?1:Math.random()||.1,k=v.length;for(l&&(d=s!==f&&s);p!==k&&null!=(c=v[p]);p++){if(i&&c){for(_=0;h=e[_++];)if(h(c,s,o)){u.push(c);break}l&&(Y=L)}n&&((c=!h&&c)&&m--,a&&y.push(c))}if(m+=p,n&&p!==m){for(_=0;h=t[_++];)h(y,M,s,o);if(a){if(m>0)for(;p--;)y[p]||M[p]||(M[p]=H.call(u));M=ge(M)}O.apply(u,M),l&&!a&&M.length>0&&m+t.length>1&&ae.uniqueSort(u)}return l&&(Y=L,d=g),y};return n?oe(a):a}(a,i))).selector=e}return o},u=ae.select=function(e,t,i,a){var u,d,l,c,_,f="function"==typeof e&&e,h=!a&&s(e=f.selector||e);if(i=i||[],1===h.length){if((d=h[0]=h[0].slice(0)).length>2&&"ID"===(l=d[0]).type&&n.getById&&9===t.nodeType&&m&&r.relative[d[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(ne,re),t)||[])[0]))return i;f&&(t=t.parentNode),e=e.slice(d.shift().value.length)}for(u=G.needsContext.test(e)?0:d.length;u--&&(l=d[u],!r.relative[c=l.type]);)if((_=r.find[c])&&(a=_(l.matches[0].replace(ne,re),ee.test(d[0].type)&&he(t.parentNode)||t))){if(d.splice(u,1),!(e=a.length&&pe(d)))return O.apply(i,a),i;break}}return(f||o(e,h))(a,t,!m,i,ee.test(e)&&he(t.parentNode)||t),i},n.sortStable=v.split("").sort(D).join("")===v,n.detectDuplicates=!!c,_(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(A,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ae}(n);m.find=L,m.expr=L.selectors,m.expr[":"]=m.expr.pseudos,m.unique=L.uniqueSort,m.text=L.getText,m.isXMLDoc=L.isXML,m.contains=L.contains;var Y=m.expr.match.needsContext,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function b(e,t,n){if(m.isFunction(t))return m.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return m.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(w.test(t))return m.filter(t,e,n);t=m.filter(t,e)}return m.grep(e,function(e){return d.call(t,e)>=0!==n})}m.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?m.find.matchesSelector(r,e)?[r]:[]:m.find.matches(e,m.grep(t,function(e){return 1===e.nodeType}))},m.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(m(e).filter(function(){for(t=0;t<n;t++)if(m.contains(i[t],this))return!0}));for(t=0;t<n;t++)m.find(e,i[t],r);return(r=this.pushStack(n>1?m.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(b(this,e||[],!1))},not:function(e){return this.pushStack(b(this,e||[],!0))},is:function(e){return!!b(this,"string"==typeof e&&Y.test(e)?m(e):e||[],!1).length}});var T,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(m.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!n[1]&&t)return!t||t.jquery?(t||T).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof m?t[0]:t,m.merge(this,m.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:h,!0)),k.test(n[1])&&m.isPlainObject(t))for(n in t)m.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=h.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=h,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):m.isFunction(e)?void 0!==T.ready?T.ready(e):e(m):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),m.makeArray(e,this))}).prototype=m.fn,T=m(h);var x=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}m.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&m(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),m.fn.extend({has:function(e){var t=m(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(m.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],s=Y.test(e)||"string"!=typeof e?m(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&m.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?m.unique(a):a)},index:function(e){return e?"string"==typeof e?d.call(m(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(m.unique(m.merge(this.get(),m(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),m.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return m.dir(e,"parentNode")},parentsUntil:function(e,t,n){return m.dir(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return m.dir(e,"nextSibling")},prevAll:function(e){return m.dir(e,"previousSibling")},nextUntil:function(e,t,n){return m.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return m.dir(e,"previousSibling",n)},siblings:function(e){return m.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return m.sibling(e.firstChild)},contents:function(e){return e.contentDocument||m.merge([],e.childNodes)}},function(e,t){m.fn[e]=function(n,r){var i=m.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=m.filter(r,i)),this.length>1&&(S[e]||m.unique(i),x.test(e)&&i.reverse()),this.pushStack(i)}});var H,P=/\S+/g,O={};function E(){h.removeEventListener("DOMContentLoaded",E,!1),n.removeEventListener("load",E,!1),m.ready()}m.Callbacks=function(e){e="string"==typeof e?O[e]||function(e){var t=O[e]={};return m.each(e.match(P)||[],function(e,n){t[n]=!0}),t}(e):m.extend({},e);var t,n,r,i,a,s,o=[],u=!e.once&&[],d=function(c){for(t=e.memory&&c,n=!0,s=i||0,i=0,a=o.length,r=!0;o&&s<a;s++)if(!1===o[s].apply(c[0],c[1])&&e.stopOnFalse){t=!1;break}r=!1,o&&(u?u.length&&d(u.shift()):t?o=[]:l.disable())},l={add:function(){if(o){var n=o.length;!function t(n){m.each(n,function(n,r){var i=m.type(r);"function"===i?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==i&&t(r)})}(arguments),r?a=o.length:t&&(i=n,d(t))}return this},remove:function(){return o&&m.each(arguments,function(e,t){for(var n;(n=m.inArray(t,o,n))>-1;)o.splice(n,1),r&&(n<=a&&a--,n<=s&&s--)}),this},has:function(e){return e?m.inArray(e,o)>-1:!(!o||!o.length)},empty:function(){return o=[],a=0,this},disable:function(){return o=u=t=void 0,this},disabled:function(){return!o},lock:function(){return u=void 0,t||l.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!o||n&&!u||(t=[e,(t=t||[]).slice?t.slice():t],r?u.push(t):d(t)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},m.extend({Deferred:function(e){var t=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return m.Deferred(function(n){m.each(t,function(t,a){var s=m.isFunction(e[t])&&e[t];i[a[1]](function(){var e=s&&s.apply(this,arguments);e&&m.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?m.extend(e,r):r}},i={};return r.pipe=r.then,m.each(t,function(e,a){var s=a[2],o=a[3];r[a[1]]=s.add,o&&s.add(function(){n=o},t[1^e][2].disable,t[2][2].lock),i[a[0]]=function(){return i[a[0]+"With"](this===i?r:this,arguments),this},i[a[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,a=s.call(arguments),o=a.length,u=1!==o||e&&m.isFunction(e.promise)?o:0,d=1===u?e:m.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?s.call(arguments):i,r===t?d.notifyWith(n,r):--u||d.resolveWith(n,r)}};if(o>1)for(t=new Array(o),n=new Array(o),r=new Array(o);i<o;i++)a[i]&&m.isFunction(a[i].promise)?a[i].promise().done(l(i,r,a)).fail(d.reject).progress(l(i,n,t)):--u;return u||d.resolveWith(r,a),d.promise()}}),m.fn.ready=function(e){return m.ready.promise().done(e),this},m.extend({isReady:!1,readyWait:1,holdReady:function(e){e?m.readyWait++:m.ready(!0)},ready:function(e){(!0===e?--m.readyWait:m.isReady)||(m.isReady=!0,!0!==e&&--m.readyWait>0||(H.resolveWith(h,[m]),m.fn.triggerHandler&&(m(h).triggerHandler("ready"),m(h).off("ready"))))}}),m.ready.promise=function(e){return H||(H=m.Deferred(),"complete"===h.readyState?setTimeout(m.ready):(h.addEventListener("DOMContentLoaded",E,!1),n.addEventListener("load",E,!1))),H.promise(e)},m.ready.promise();var C=m.access=function(e,t,n,r,i,a,s){var o=0,u=e.length,d=null==n;if("object"===m.type(n))for(o in i=!0,n)m.access(e,t,o,n[o],!0,a,s);else if(void 0!==r&&(i=!0,m.isFunction(r)||(s=!0),d&&(s?(t.call(e,r),t=null):(d=t,t=function(e,t,n){return d.call(m(e),n)})),t))for(;o<u;o++)t(e[o],n,s?r:r.call(e[o],o,t(e[o],n)));return i?e:d?t.call(e):u?t(e[0],n):a};function A(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=m.expando+A.uid++}m.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},A.uid=1,A.accepts=m.acceptData,A.prototype={key:function(e){if(!A.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=A.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,m.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),a=this.cache[i];if("string"==typeof t)a[t]=n;else if(m.isEmptyObject(a))m.extend(this.cache[i],t);else for(r in t)a[r]=t[r];return a},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,m.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=this.key(e),s=this.cache[a];if(void 0===t)this.cache[a]={};else{m.isArray(t)?r=t.concat(t.map(m.camelCase)):(i=m.camelCase(t),r=t in s?[t,i]:(r=i)in s?[r]:r.match(P)||[]),n=r.length;for(;n--;)delete s[r[n]]}},hasData:function(e){return!m.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var F=new A,N=new A,W=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;function R(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(I,"-$1").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:W.test(n)?m.parseJSON(n):n)}catch(e){}N.set(e,t,n)}else n=void 0;return n}m.extend({hasData:function(e){return N.hasData(e)||F.hasData(e)},data:function(e,t,n){return N.access(e,t,n)},removeData:function(e,t){N.remove(e,t)},_data:function(e,t,n){return F.access(e,t,n)},_removeData:function(e,t){F.remove(e,t)}}),m.fn.extend({data:function(e,t){var n,r,i,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(i=N.get(a),1===a.nodeType&&!F.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=m.camelCase(r.slice(5)),R(a,r,i[r]));F.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){N.set(this,e)}):C(this,function(t){var n,r=m.camelCase(e);if(a&&void 0===t)return void 0!==(n=N.get(a,e))?n:void 0!==(n=N.get(a,r))?n:void 0!==(n=R(a,r,void 0))?n:void 0;this.each(function(){var n=N.get(this,r);N.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&N.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){N.remove(this,e)})}}),m.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=F.get(e,t),n&&(!r||m.isArray(n)?r=F.access(e,t,m.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=m.queue(e,t),r=n.length,i=n.shift(),a=m._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){m.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return F.get(e,n)||F.access(e,n,{empty:m.Callbacks("once memory").add(function(){F.remove(e,[t+"queue",n])})})}}),m.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?m.queue(this[0],e):void 0===t?this:this.each(function(){var n=m.queue(this,e,t);m._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&m.dequeue(this,e)})},dequeue:function(e){return this.each(function(){m.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=m.Deferred(),a=this,s=this.length,o=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=F.get(a[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(o));return o(),i.promise(t)}});var z,U,$=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,J=["Top","Right","Bottom","Left"],q=function(e,t){return e=t||e,"none"===m.css(e,"display")||!m.contains(e.ownerDocument,e)},B=/^(?:checkbox|radio)$/i;z=h.createDocumentFragment().appendChild(h.createElement("div")),(U=h.createElement("input")).setAttribute("type","radio"),U.setAttribute("checked","checked"),U.setAttribute("name","t"),z.appendChild(U),f.checkClone=z.cloneNode(!0).cloneNode(!0).lastChild.checked,z.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!z.cloneNode(!0).lastChild.defaultValue,f.focusinBubbles="onfocusin"in n;var V=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,K=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function Z(){return!1}function ee(){try{return h.activeElement}catch(e){}}m.event={global:{},add:function(e,t,n,r,i){var a,s,o,u,d,l,c,_,f,h,p,y=F.get(e);if(y)for(n.handler&&(n=(a=n).handler,i=a.selector),n.guid||(n.guid=m.guid++),(u=y.events)||(u=y.events={}),(s=y.handle)||(s=y.handle=function(t){return void 0!==m&&m.event.triggered!==t.type?m.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(P)||[""]).length;d--;)f=p=(o=X.exec(t[d])||[])[1],h=(o[2]||"").split(".").sort(),f&&(c=m.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=m.event.special[f]||{},l=m.extend({type:f,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&m.expr.match.needsContext.test(i),namespace:h.join(".")},a),(_=u[f])||((_=u[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(f,s,!1)),c.add&&(c.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?_.splice(_.delegateCount++,0,l):_.push(l),m.event.global[f]=!0)},remove:function(e,t,n,r,i){var a,s,o,u,d,l,c,_,f,h,p,y=F.hasData(e)&&F.get(e);if(y&&(u=y.events)){for(d=(t=(t||"").match(P)||[""]).length;d--;)if(f=p=(o=X.exec(t[d])||[])[1],h=(o[2]||"").split(".").sort(),f){for(c=m.event.special[f]||{},_=u[f=(r?c.delegateType:c.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=_.length;a--;)l=_[a],!i&&p!==l.origType||n&&n.guid!==l.guid||o&&!o.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(_.splice(a,1),l.selector&&_.delegateCount--,c.remove&&c.remove.call(e,l));s&&!_.length&&(c.teardown&&!1!==c.teardown.call(e,h,y.handle)||m.removeEvent(e,f,y.handle),delete u[f])}else for(f in u)m.event.remove(e,f+t[d],n,r,!0);m.isEmptyObject(u)&&(delete y.handle,F.remove(e,"events"))}},trigger:function(e,t,r,i){var a,s,o,u,d,l,c,f=[r||h],p=_.call(e,"type")?e.type:e,y=_.call(e,"namespace")?e.namespace.split("."):[];if(s=o=r=r||h,3!==r.nodeType&&8!==r.nodeType&&!K.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(y=p.split("."),p=y.shift(),y.sort()),d=p.indexOf(":")<0&&"on"+p,(e=e[m.expando]?e:new m.Event(p,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:m.makeArray(t,[e]),c=m.event.special[p]||{},i||!c.trigger||!1!==c.trigger.apply(r,t))){if(!i&&!c.noBubble&&!m.isWindow(r)){for(u=c.delegateType||p,K.test(u+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),o=s;o===(r.ownerDocument||h)&&f.push(o.defaultView||o.parentWindow||n)}for(a=0;(s=f[a++])&&!e.isPropagationStopped();)e.type=a>1?u:c.bindType||p,(l=(F.get(s,"events")||{})[e.type]&&F.get(s,"handle"))&&l.apply(s,t),(l=d&&s[d])&&l.apply&&m.acceptData(s)&&(e.result=l.apply(s,t),!1===e.result&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!m.acceptData(r)||d&&m.isFunction(r[p])&&!m.isWindow(r)&&((o=r[d])&&(r[d]=null),m.event.triggered=p,r[p](),m.event.triggered=void 0,o&&(r[d]=o)),e.result}},dispatch:function(e){e=m.event.fix(e);var t,n,r,i,a,o=[],u=s.call(arguments),d=(F.get(this,"events")||{})[e.type]||[],l=m.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(o=m.event.handlers.call(this,e,d),t=0;(i=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((m.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,u))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,s=[],o=t.delegateCount,u=e.target;if(o&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(!0!==u.disabled||"click"!==e.type){for(r=[],n=0;n<o;n++)void 0===r[i=(a=t[n]).selector+" "]&&(r[i]=a.needsContext?m(i,this).index(u)>=0:m.find(i,this,null,[u]).length),r[i]&&r.push(a);r.length&&s.push({elem:u,handlers:r})}return o<t.length&&s.push({elem:this,handlers:t.slice(o)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||h).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[m.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=G.test(i)?this.mouseHooks:V.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new m.Event(a),t=r.length;t--;)e[n=r[t]]=a[n];return e.target||(e.target=h),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ee()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ee()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&m.nodeName(this,"input"))return this.click(),!1},_default:function(e){return m.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=m.extend(new m.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?m.event.trigger(i,null,t):m.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},m.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},m.Event=function(e,t){if(!(this instanceof m.Event))return new m.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Q:Z):this.type=e,t&&m.extend(this,t),this.timeStamp=e&&e.timeStamp||m.now(),this[m.expando]=!0},m.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Q,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Q,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Q,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){m.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||m.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),f.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){m.event.simulate(t,e.target,m.event.fix(e),!0)};m.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=F.access(r,t);i||r.addEventListener(e,n,!0),F.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=F.access(r,t)-1;i?F.access(r,t,i):(r.removeEventListener(e,n,!0),F.remove(r,t))}}}),m.fn.extend({on:function(e,t,n,r,i){var a,s;if("object"==typeof e){for(s in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=Z;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return m().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=m.guid++)),this.each(function(){m.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,m(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Z),this.each(function(){m.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){m.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return m.event.trigger(e,t,n,!0)}});var te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ne=/<([\w:]+)/,re=/<|&#?\w+;/,ie=/<(?:script|style|link)/i,ae=/checked\s*(?:[^=]|=\s*.checked.)/i,se=/^$|\/(?:java|ecma)script/i,oe=/^true\/(.*)/,ue=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,de={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function le(e,t){return m.nodeName(e,"table")&&m.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ce(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _e(e){var t=oe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function fe(e,t){for(var n=0,r=e.length;n<r;n++)F.set(e[n],"globalEval",!t||F.get(t[n],"globalEval"))}function he(e,t){var n,r,i,a,s,o,u,d;if(1===t.nodeType){if(F.hasData(e)&&(a=F.access(e),s=F.set(t,a),d=a.events))for(i in delete s.handle,s.events={},d)for(n=0,r=d[i].length;n<r;n++)m.event.add(t,i,d[i][n]);N.hasData(e)&&(o=N.access(e),u=m.extend({},o),N.set(t,u))}}function me(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&m.nodeName(e,t)?m.merge([e],n):n}de.optgroup=de.option,de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,m.extend({clone:function(e,t,n){var r,i,a,s,o,u,d,l=e.cloneNode(!0),c=m.contains(e.ownerDocument,e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||m.isXMLDoc(e)))for(s=me(l),r=0,i=(a=me(e)).length;r<i;r++)o=a[r],u=s[r],d=void 0,"input"===(d=u.nodeName.toLowerCase())&&B.test(o.type)?u.checked=o.checked:"input"!==d&&"textarea"!==d||(u.defaultValue=o.defaultValue);if(t)if(n)for(a=a||me(e),s=s||me(l),r=0,i=a.length;r<i;r++)he(a[r],s[r]);else he(e,l);return(s=me(l,"script")).length>0&&fe(s,!c&&me(e,"script")),l},buildFragment:function(e,t,n,r){for(var i,a,s,o,u,d,l=t.createDocumentFragment(),c=[],_=0,f=e.length;_<f;_++)if((i=e[_])||0===i)if("object"===m.type(i))m.merge(c,i.nodeType?[i]:i);else if(re.test(i)){for(a=a||l.appendChild(t.createElement("div")),s=(ne.exec(i)||["",""])[1].toLowerCase(),o=de[s]||de._default,a.innerHTML=o[1]+i.replace(te,"<$1></$2>")+o[2],d=o[0];d--;)a=a.lastChild;m.merge(c,a.childNodes),(a=l.firstChild).textContent=""}else c.push(t.createTextNode(i));for(l.textContent="",_=0;i=c[_++];)if((!r||-1===m.inArray(i,r))&&(u=m.contains(i.ownerDocument,i),a=me(l.appendChild(i),"script"),u&&fe(a),n))for(d=0;i=a[d++];)se.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,a=m.event.special,s=0;void 0!==(n=e[s]);s++){if(m.acceptData(n)&&(i=n[F.expando])&&(t=F.cache[i])){if(t.events)for(r in t.events)a[r]?m.event.remove(n,r):m.removeEvent(n,r,t.handle);F.cache[i]&&delete F.cache[i]}delete N.cache[n[N.expando]]}}}),m.fn.extend({text:function(e){return C(this,function(e){return void 0===e?m.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||le(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?m.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||m.cleanData(me(n)),n.parentNode&&(t&&m.contains(n.ownerDocument,n)&&fe(me(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(m.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return m.clone(this,e,t)})},html:function(e){return C(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ie.test(e)&&!de[(ne.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(te,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(m.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,m.cleanData(me(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=o.apply([],e);var n,r,i,a,s,u,d=0,l=this.length,c=this,_=l-1,h=e[0],p=m.isFunction(h);if(p||l>1&&"string"==typeof h&&!f.checkClone&&ae.test(h))return this.each(function(n){var r=c.eq(n);p&&(e[0]=h.call(this,n,r.html())),r.domManip(e,t)});if(l&&(r=(n=m.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=r),r)){for(a=(i=m.map(me(n,"script"),ce)).length;d<l;d++)s=n,d!==_&&(s=m.clone(s,!0,!0),a&&m.merge(i,me(s,"script"))),t.call(this[d],s,d);if(a)for(u=i[i.length-1].ownerDocument,m.map(i,_e),d=0;d<a;d++)s=i[d],se.test(s.type||"")&&!F.access(s,"globalEval")&&m.contains(u,s)&&(s.src?m._evalUrl&&m._evalUrl(s.src):m.globalEval(s.textContent.replace(ue,"")))}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){m.fn[e]=function(e){for(var n,r=[],i=m(e),a=i.length-1,s=0;s<=a;s++)n=s===a?this:this.clone(!0),m(i[s])[t](n),u.apply(r,n.get());return this.pushStack(r)}});var pe,ye={};function Me(e,t){var r,i=m(t.createElement(e)).appendTo(t.body),a=n.getDefaultComputedStyle&&(r=n.getDefaultComputedStyle(i[0]))?r.display:m.css(i[0],"display");return i.detach(),a}function ge(e){var t=h,n=ye[e];return n||("none"!==(n=Me(e,t))&&n||((t=(pe=(pe||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Me(e,t),pe.detach()),ye[e]=n),n}var ve=/^margin/,Le=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),Ye=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):n.getComputedStyle(e,null)};function ke(e,t,n){var r,i,a,s,o=e.style;return(n=n||Ye(e))&&(s=n.getPropertyValue(t)||n[t]),n&&(""!==s||m.contains(e.ownerDocument,e)||(s=m.style(e,t)),Le.test(s)&&ve.test(t)&&(r=o.width,i=o.minWidth,a=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=r,o.minWidth=i,o.maxWidth=a)),void 0!==s?s+"":s}function we(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var e,t,r=h.documentElement,i=h.createElement("div"),a=h.createElement("div");function s(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",r.appendChild(i);var s=n.getComputedStyle(a,null);e="1%"!==s.top,t="4px"===s.width,r.removeChild(i)}a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===a.style.backgroundClip,i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",i.appendChild(a),n.getComputedStyle&&m.extend(f,{pixelPosition:function(){return s(),e},boxSizingReliable:function(){return null==t&&s(),t},reliableMarginRight:function(){var e,t=a.appendChild(h.createElement("div"));return t.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",a.style.width="1px",r.appendChild(i),e=!parseFloat(n.getComputedStyle(t,null).marginRight),r.removeChild(i),a.removeChild(t),e}}))}(),m.swap=function(e,t,n,r){var i,a,s={};for(a in t)s[a]=e.style[a],e.style[a]=t[a];for(a in i=n.apply(e,r||[]),t)e.style[a]=s[a];return i};var be=/^(none|table(?!-c[ea]).+)/,Te=new RegExp("^("+$+")(.*)$","i"),De=new RegExp("^([+-])=("+$+")","i"),xe={position:"absolute",visibility:"hidden",display:"block"},Se={letterSpacing:"0",fontWeight:"400"},je=["Webkit","O","Moz","ms"];function He(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=je.length;i--;)if((t=je[i]+n)in e)return t;return r}function Pe(e,t,n){var r=Te.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Oe(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,s=0;a<4;a+=2)"margin"===n&&(s+=m.css(e,n+J[a],!0,i)),r?("content"===n&&(s-=m.css(e,"padding"+J[a],!0,i)),"margin"!==n&&(s-=m.css(e,"border"+J[a]+"Width",!0,i))):(s+=m.css(e,"padding"+J[a],!0,i),"padding"!==n&&(s+=m.css(e,"border"+J[a]+"Width",!0,i)));return s}function Ee(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=Ye(e),s="border-box"===m.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(((i=ke(e,t,a))<0||null==i)&&(i=e.style[t]),Le.test(i))return i;r=s&&(f.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Oe(e,t,n||(s?"border":"content"),r,a)+"px"}function Ce(e,t){for(var n,r,i,a=[],s=0,o=e.length;s<o;s++)(r=e[s]).style&&(a[s]=F.get(r,"olddisplay"),n=r.style.display,t?(a[s]||"none"!==n||(r.style.display=""),""===r.style.display&&q(r)&&(a[s]=F.access(r,"olddisplay",ge(r.nodeName)))):(i=q(r),"none"===n&&i||F.set(r,"olddisplay",i?n:m.css(r,"display"))));for(s=0;s<o;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[s]||"":"none"));return e}function Ae(e,t,n,r,i){return new Ae.prototype.init(e,t,n,r,i)}m.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{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(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,s,o=m.camelCase(t),u=e.style;if(t=m.cssProps[o]||(m.cssProps[o]=He(u,o)),s=m.cssHooks[t]||m.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t];"string"==(a=typeof n)&&(i=De.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(m.css(e,t)),a="number"),null!=n&&n==n&&("number"!==a||m.cssNumber[o]||(n+="px"),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))}},css:function(e,t,n,r){var i,a,s,o=m.camelCase(t);return t=m.cssProps[o]||(m.cssProps[o]=He(e.style,o)),(s=m.cssHooks[t]||m.cssHooks[o])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=ke(e,t,r)),"normal"===i&&t in Se&&(i=Se[t]),""===n||n?(a=parseFloat(i),!0===n||m.isNumeric(a)?a||0:i):i}}),m.each(["height","width"],function(e,t){m.cssHooks[t]={get:function(e,n,r){if(n)return be.test(m.css(e,"display"))&&0===e.offsetWidth?m.swap(e,xe,function(){return Ee(e,t,r)}):Ee(e,t,r)},set:function(e,n,r){var i=r&&Ye(e);return Pe(0,n,r?Oe(e,t,r,"border-box"===m.css(e,"boxSizing",!1,i),i):0)}}}),m.cssHooks.marginRight=we(f.reliableMarginRight,function(e,t){if(t)return m.swap(e,{display:"inline-block"},ke,[e,"marginRight"])}),m.each({margin:"",padding:"",border:"Width"},function(e,t){m.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+J[r]+t]=a[r]||a[r-2]||a[0];return i}},ve.test(e)||(m.cssHooks[e+t].set=Pe)}),m.fn.extend({css:function(e,t){return C(this,function(e,t,n){var r,i,a={},s=0;if(m.isArray(t)){for(r=Ye(e),i=t.length;s<i;s++)a[t[s]]=m.css(e,t[s],!1,r);return a}return void 0!==n?m.style(e,t,n):m.css(e,t)},e,t,arguments.length>1)},show:function(){return Ce(this,!0)},hide:function(){return Ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){q(this)?m(this).show():m(this).hide()})}}),m.Tween=Ae,Ae.prototype={constructor:Ae,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(m.cssNumber[n]?"":"px")},cur:function(){var e=Ae.propHooks[this.prop];return e&&e.get?e.get(this):Ae.propHooks._default.get(this)},run:function(e){var t,n=Ae.propHooks[this.prop];return this.options.duration?this.pos=t=m.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ae.propHooks._default.set(this),this}},Ae.prototype.init.prototype=Ae.prototype,Ae.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=m.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){m.fx.step[e.prop]?m.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[m.cssProps[e.prop]]||m.cssHooks[e.prop])?m.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ae.propHooks.scrollTop=Ae.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},m.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},m.fx=Ae.prototype.init,m.fx.step={};var Fe,Ne,We=/^(?:toggle|show|hide)$/,Ie=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),Re=/queueHooks$/,ze=[function(e,t,n){var r,i,a,s,o,u,d,l=this,c={},_=e.style,f=e.nodeType&&q(e),h=F.get(e,"fxshow");for(r in n.queue||(null==(o=m._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,u=o.empty.fire,o.empty.fire=function(){o.unqueued||u()}),o.unqueued++,l.always(function(){l.always(function(){o.unqueued--,m.queue(e,"fx").length||o.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[_.overflow,_.overflowX,_.overflowY],"inline"===("none"===(d=m.css(e,"display"))?F.get(e,"olddisplay")||ge(e.nodeName):d)&&"none"===m.css(e,"float")&&(_.display="inline-block")),n.overflow&&(_.overflow="hidden",l.always(function(){_.overflow=n.overflow[0],_.overflowX=n.overflow[1],_.overflowY=n.overflow[2]})),t)if(i=t[r],We.exec(i)){if(delete t[r],a=a||"toggle"===i,i===(f?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;f=!0}c[r]=h&&h[r]||m.style(e,r)}else d=void 0;if(m.isEmptyObject(c))"inline"===("none"===d?ge(e.nodeName):d)&&(_.display=d);else for(r in h?"hidden"in h&&(f=h.hidden):h=F.access(e,"fxshow",{}),a&&(h.hidden=!f),f?m(e).show():l.done(function(){m(e).hide()}),l.done(function(){var t;for(t in F.remove(e,"fxshow"),c)m.style(e,t,c[t])}),c)s=qe(f?h[r]:0,r,l),r in h||(h[r]=s.start,f&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],Ue={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Ie.exec(t),a=i&&i[3]||(m.cssNumber[e]?"":"px"),s=(m.cssNumber[e]||"px"!==a&&+r)&&Ie.exec(m.css(n.elem,e)),o=1,u=20;if(s&&s[3]!==a){a=a||s[3],i=i||[],s=+r||1;do{s/=o=o||".5",m.style(n.elem,e,s+a)}while(o!==(o=n.cur()/r)&&1!==o&&--u)}return i&&(s=n.start=+s||+r||0,n.unit=a,n.end=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};function $e(){return setTimeout(function(){Fe=void 0}),Fe=m.now()}function Je(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=J[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function qe(e,t,n){for(var r,i=(Ue[t]||[]).concat(Ue["*"]),a=0,s=i.length;a<s;a++)if(r=i[a].call(n,t,e))return r}function Be(e,t,n){var r,i,a=0,s=ze.length,o=m.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Fe||$e(),n=Math.max(0,d.startTime+d.duration-t),r=1-(n/d.duration||0),a=0,s=d.tweens.length;a<s;a++)d.tweens[a].run(r);return o.notifyWith(e,[d,r,n]),r<1&&s?n:(o.resolveWith(e,[d]),!1)},d=o.promise({elem:e,props:m.extend({},t),opts:m.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Fe||$e(),duration:n.duration,tweens:[],createTween:function(t,n){var r=m.Tween(e,d.opts,t,n,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(r),r},stop:function(t){var n=0,r=t?d.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)d.tweens[n].run(1);return t?o.resolveWith(e,[d,t]):o.rejectWith(e,[d,t]),this}}),l=d.props;for(function(e,t){var n,r,i,a,s;for(n in e)if(i=t[r=m.camelCase(n)],a=e[n],m.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(s=m.cssHooks[r])&&"expand"in s)for(n in a=s.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(l,d.opts.specialEasing);a<s;a++)if(r=ze[a].call(d,e,l,d.opts))return r;return m.map(l,qe,d),m.isFunction(d.opts.start)&&d.opts.start.call(e,d),m.fx.timer(m.extend(u,{elem:e,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}m.Animation=m.extend(Be,{tweener:function(e,t){m.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],Ue[n]=Ue[n]||[],Ue[n].unshift(t)},prefilter:function(e,t){t?ze.unshift(e):ze.push(e)}}),m.speed=function(e,t,n){var r=e&&"object"==typeof e?m.extend({},e):{complete:n||!n&&t||m.isFunction(e)&&e,duration:e,easing:n&&t||t&&!m.isFunction(t)&&t};return r.duration=m.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in m.fx.speeds?m.fx.speeds[r.duration]:m.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m.isFunction(r.old)&&r.old.call(this),r.queue&&m.dequeue(this,r.queue)},r},m.fn.extend({fadeTo:function(e,t,n,r){return this.filter(q).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=m.isEmptyObject(e),a=m.speed(t,n,r),s=function(){var t=Be(this,m.extend({},e),a);(i||F.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=m.timers,s=F.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Re.test(i)&&r(s[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||m.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=F.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=m.timers,s=r?r.length:0;for(n.finish=!0,m.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),m.each(["toggle","show","hide"],function(e,t){var n=m.fn[t];m.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Je(t,!0),e,r,i)}}),m.each({slideDown:Je("show"),slideUp:Je("hide"),slideToggle:Je("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){m.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),m.timers=[],m.fx.tick=function(){var e,t=0,n=m.timers;for(Fe=m.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||m.fx.stop(),Fe=void 0},m.fx.timer=function(e){m.timers.push(e),e()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){Ne||(Ne=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(Ne),Ne=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(e,t){return e=m.fx&&m.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=h.createElement("input"),t=h.createElement("select"),n=t.appendChild(h.createElement("option"));e.type="checkbox",f.checkOn=""!==e.value,f.optSelected=n.selected,t.disabled=!0,f.optDisabled=!n.disabled,(e=h.createElement("input")).value="t",e.type="radio",f.radioValue="t"===e.value}();var Ve,Ge=m.expr.attrHandle;m.fn.extend({attr:function(e,t){return C(this,m.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){m.removeAttr(this,e)})}}),m.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?m.prop(e,t,n):(1===a&&m.isXMLDoc(e)||(t=t.toLowerCase(),r=m.attrHooks[t]||(m.expr.match.bool.test(t)?Ve:void 0)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=m.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void m.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(P);if(a&&1===e.nodeType)for(;n=a[i++];)r=m.propFix[n]||n,m.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&m.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Ve={set:function(e,t,n){return!1===t?m.removeAttr(e,n):e.setAttribute(n,n),n}},m.each(m.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ge[t]||m.find.attr;Ge[t]=function(e,t,r){var i,a;return r||(a=Ge[t],Ge[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Ge[t]=a),i}});var Ke=/^(?:input|select|textarea|button)$/i;m.fn.extend({prop:function(e,t){return C(this,m.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[m.propFix[e]||e]})}}),m.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!m.isXMLDoc(e))&&(t=m.propFix[t]||t,i=m.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ke.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),f.optSelected||(m.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});var Xe=/[\t\r\n\f]/g;m.fn.extend({addClass:function(e){var t,n,r,i,a,s,o="string"==typeof e&&e,u=0,d=this.length;if(m.isFunction(e))return this.each(function(t){m(this).addClass(e.call(this,t,this.className))});if(o)for(t=(e||"").match(P)||[];u<d;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(Xe," "):" ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=m.trim(r),n.className!==s&&(n.className=s)}return this},removeClass:function(e){var t,n,r,i,a,s,o=0===arguments.length||"string"==typeof e&&e,u=0,d=this.length;if(m.isFunction(e))return this.each(function(t){m(this).removeClass(e.call(this,t,this.className))});if(o)for(t=(e||"").match(P)||[];u<d;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(Xe," "):"")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");s=e?m.trim(r):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):m.isFunction(e)?this.each(function(n){m(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=m(this),a=e.match(P)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else"undefined"!==n&&"boolean"!==n||(this.className&&F.set(this,"__className__",this.className),this.className=this.className||!1===e?"":F.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Xe," ").indexOf(t)>=0)return!0;return!1}});var Qe=/\r/g;m.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=m.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,m(this).val()):e)?i="":"number"==typeof i?i+="":m.isArray(i)&&(i=m.map(i,function(e){return null==e?"":e+""})),(t=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=m.valHooks[i.type]||m.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Qe,""):null==n?"":n:void 0}}),m.extend({valHooks:{option:{get:function(e){var t=m.find.attr(e,"value");return null!=t?t:m.trim(m.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,s=a?null:[],o=a?i+1:r.length,u=i<0?o:a?i:0;u<o;u++)if(((n=r[u]).selected||u===i)&&(f.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!m.nodeName(n.parentNode,"optgroup"))){if(t=m(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=m.makeArray(t),s=i.length;s--;)((r=i[s]).selected=m.inArray(r.value,a)>=0)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(e,t){if(m.isArray(t))return e.checked=m.inArray(m(e).val(),t)>=0}},f.checkOn||(m.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){m.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),m.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Ze=m.now(),et=/\?/;m.parseJSON=function(e){return JSON.parse(e+"")},m.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+e),t};var tt=/#.*$/,nt=/([?&])_=[^&]*/,rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,it=/^(?:GET|HEAD)$/,at=/^\/\//,st=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ot={},ut={},dt="*/".concat("*"),lt=n.location.href,ct=st.exec(lt.toLowerCase())||[];function _t(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(P)||[];if(m.isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ft(e,t,n,r){var i={},a=e===ut;function s(o){var u;return i[o]=!0,m.each(e[o]||[],function(e,o){var d=o(t,n,r);return"string"!=typeof d||a||i[d]?a?!(u=d):void 0:(t.dataTypes.unshift(d),s(d),!1)}),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function ht(e,t){var n,r,i=m.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&m.extend(!0,e,r),e}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":dt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ht(ht(e,m.ajaxSettings),t):ht(m.ajaxSettings,e)},ajaxPrefilter:_t(ot),ajaxTransport:_t(ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,a,s,o,u,d,l=m.ajaxSetup({},t),c=l.context||l,_=l.context&&(c.nodeType||c.jquery)?m(c):m.event,f=m.Deferred(),h=m.Callbacks("once memory"),p=l.statusCode||{},y={},M={},g=0,v="canceled",L={readyState:0,getResponseHeader:function(e){var t;if(2===g){if(!a)for(a={};t=rt.exec(i);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===g?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return g||(e=M[n]=M[n]||e,y[e]=t),this},overrideMimeType:function(e){return g||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(g<2)for(t in e)p[t]=[p[t],e[t]];else L.always(e[L.status]);return this},abort:function(e){var t=e||v;return n&&n.abort(t),Y(0,t),this}};if(f.promise(L).complete=h.add,L.success=L.done,L.error=L.fail,l.url=((e||l.url||lt)+"").replace(tt,"").replace(at,ct[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=m.trim(l.dataType||"*").toLowerCase().match(P)||[""],null==l.crossDomain&&(o=st.exec(l.url.toLowerCase()),l.crossDomain=!(!o||o[1]===ct[1]&&o[2]===ct[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(ct[3]||("http:"===ct[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=m.param(l.data,l.traditional)),ft(ot,l,t,L),2===g)return L;for(d in(u=m.event&&l.global)&&0==m.active++&&m.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!it.test(l.type),r=l.url,l.hasContent||(l.data&&(r=l.url+=(et.test(r)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=nt.test(r)?r.replace(nt,"$1_="+Ze++):r+(et.test(r)?"&":"?")+"_="+Ze++)),l.ifModified&&(m.lastModified[r]&&L.setRequestHeader("If-Modified-Since",m.lastModified[r]),m.etag[r]&&L.setRequestHeader("If-None-Match",m.etag[r])),(l.data&&l.hasContent&&!1!==l.contentType||t.contentType)&&L.setRequestHeader("Content-Type",l.contentType),L.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+dt+"; q=0.01":""):l.accepts["*"]),l.headers)L.setRequestHeader(d,l.headers[d]);if(l.beforeSend&&(!1===l.beforeSend.call(c,L,l)||2===g))return L.abort();for(d in v="abort",{success:1,error:1,complete:1})L[d](l[d]);if(n=ft(ut,l,t,L)){L.readyState=1,u&&_.trigger("ajaxSend",[L,l]),l.async&&l.timeout>0&&(s=setTimeout(function(){L.abort("timeout")},l.timeout));try{g=1,n.send(y,Y)}catch(e){if(!(g<2))throw e;Y(-1,e)}}else Y(-1,"No Transport");function Y(e,t,a,o){var d,y,M,v,Y,k=t;2!==g&&(g=2,s&&clearTimeout(s),n=void 0,i=o||"",L.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(v=function(e,t,n){for(var r,i,a,s,o=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in o)if(o[i]&&o[i].test(r)){u.unshift(i);break}if(u[0]in n)a=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){a=i;break}s||(s=i)}a=a||s}if(a)return a!==u[0]&&u.unshift(a),n[a]}(l,L,a)),v=function(e,t,n,r){var i,a,s,o,u,d={},l=e.dataTypes.slice();if(l[1])for(s in e.converters)d[s.toLowerCase()]=e.converters[s];for(a=l.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=a,a=l.shift())if("*"===a)a=u;else if("*"!==u&&u!==a){if(!(s=d[u+" "+a]||d["* "+a]))for(i in d)if((o=i.split(" "))[1]===a&&(s=d[u+" "+o[0]]||d["* "+o[0]])){!0===s?s=d[i]:!0!==d[i]&&(a=o[0],l.unshift(o[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+a}}}return{state:"success",data:t}}(l,v,L,d),d?(l.ifModified&&((Y=L.getResponseHeader("Last-Modified"))&&(m.lastModified[r]=Y),(Y=L.getResponseHeader("etag"))&&(m.etag[r]=Y)),204===e||"HEAD"===l.type?k="nocontent":304===e?k="notmodified":(k=v.state,y=v.data,d=!(M=v.error))):(M=k,!e&&k||(k="error",e<0&&(e=0))),L.status=e,L.statusText=(t||k)+"",d?f.resolveWith(c,[y,k,L]):f.rejectWith(c,[L,k,M]),L.statusCode(p),p=void 0,u&&_.trigger(d?"ajaxSuccess":"ajaxError",[L,l,d?y:M]),h.fireWith(c,[L,k]),u&&(_.trigger("ajaxComplete",[L,l]),--m.active||m.event.trigger("ajaxStop")))}return L},getJSON:function(e,t,n){return m.get(e,t,n,"json")},getScript:function(e,t){return m.get(e,void 0,t,"script")}}),m.each(["get","post"],function(e,t){m[t]=function(e,n,r,i){return m.isFunction(n)&&(i=i||r,r=n,n=void 0),m.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),m._evalUrl=function(e){return m.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(e){var t;return m.isFunction(e)?this.each(function(t){m(this).wrapAll(e.call(this,t))}):(this[0]&&(t=m(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return m.isFunction(e)?this.each(function(t){m(this).wrapInner(e.call(this,t))}):this.each(function(){var t=m(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m.isFunction(e);return this.each(function(n){m(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},m.expr.filters.visible=function(e){return!m.expr.filters.hidden(e)};var mt=/%20/g,pt=/\[\]$/,yt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,gt=/^(?:input|select|textarea|keygen)/i;function vt(e,t,n,r){var i;if(m.isArray(t))m.each(t,function(t,i){n||pt.test(e)?r(e,i):vt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==m.type(t))r(e,t);else for(i in t)vt(e+"["+i+"]",t[i],n,r)}m.param=function(e,t){var n,r=[],i=function(e,t){t=m.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(e)||e.jquery&&!m.isPlainObject(e))m.each(e,function(){i(this.name,this.value)});else for(n in e)vt(n,e[n],t,i);return r.join("&").replace(mt,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=m.prop(this,"elements");return e?m.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!m(this).is(":disabled")&&gt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!B.test(e))}).map(function(e,t){var n=m(this).val();return null==n?null:m.isArray(n)?m.map(n,function(e){return{name:t.name,value:e.replace(yt,"\r\n")}}):{name:t.name,value:n.replace(yt,"\r\n")}}).get()}}),m.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Lt=0,Yt={},kt={0:200,1223:204},wt=m.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in Yt)Yt[e]()}),f.cors=!!wt&&"withCredentials"in wt,f.ajax=wt=!!wt,m.ajaxTransport(function(e){var t;if(f.cors||wt&&!e.crossDomain)return{send:function(n,r){var i,a=e.xhr(),s=++Lt;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];for(i in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)a.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete Yt[s],t=a.onload=a.onerror=null,"abort"===e?a.abort():"error"===e?r(a.status,a.statusText):r(kt[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=t(),a.onerror=t("error"),t=Yt[s]=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return m.globalEval(e),e}}}),m.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),m.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=m("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),h.head.appendChild(t[0])},abort:function(){n&&n()}}});var bt=[],Tt=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=bt.pop()||m.expando+"_"+Ze++;return this[e]=!0,e}}),m.ajaxPrefilter("json jsonp",function(e,t,r){var i,a,s,o=!1!==e.jsonp&&(Tt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Tt.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=m.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Tt,"$1"+i):!1!==e.jsonp&&(e.url+=(et.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||m.error(i+" was not called"),s[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){s=arguments},r.always(function(){n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,bt.push(i)),s&&m.isFunction(a)&&a(s[0]),s=a=void 0}),"script"}),m.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||h;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=m.buildFragment([e],t,i),i&&i.length&&m(i).remove(),m.merge([],r.childNodes))};var Dt=m.fn.load;m.fn.load=function(e,t,n){if("string"!=typeof e&&Dt)return Dt.apply(this,arguments);var r,i,a,s=this,o=e.indexOf(" ");return o>=0&&(r=m.trim(e.slice(o)),e=e.slice(0,o)),m.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&m.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){a=arguments,s.html(r?m("<div>").append(m.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,a||[e.responseText,t,e])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){m.fn[t]=function(e){return this.on(t,e)}}),m.expr.filters.animated=function(e){return m.grep(m.timers,function(t){return e===t.elem}).length};var xt=n.document.documentElement;function St(e){return m.isWindow(e)?e:9===e.nodeType&&e.defaultView}m.offset={setOffset:function(e,t,n){var r,i,a,s,o,u,d=m.css(e,"position"),l=m(e),c={};"static"===d&&(e.style.position="relative"),o=l.offset(),a=m.css(e,"top"),u=m.css(e,"left"),("absolute"===d||"fixed"===d)&&(a+u).indexOf("auto")>-1?(s=(r=l.position()).top,i=r.left):(s=parseFloat(a)||0,i=parseFloat(u)||0),m.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(c.top=t.top-o.top+s),null!=t.left&&(c.left=t.left-o.left+i),"using"in t?t.using.call(e,c):l.css(c)}},m.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){m.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;return a?(t=a.documentElement,m.contains(t,r)?(void 0!==r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=St(a),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===m.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),m.nodeName(e[0],"html")||(r=e.offset()),r.top+=m.css(e[0],"borderTopWidth",!0),r.left+=m.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-m.css(n,"marginTop",!0),left:t.left-r.left-m.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||xt;e&&!m.nodeName(e,"html")&&"static"===m.css(e,"position");)e=e.offsetParent;return e||xt})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var r="pageYOffset"===t;m.fn[e]=function(i){return C(this,function(e,i,a){var s=St(e);if(void 0===a)return s?s[t]:e[i];s?s.scrollTo(r?n.pageXOffset:a,r?a:n.pageYOffset):e[i]=a},e,i,arguments.length,null)}}),m.each(["top","left"],function(e,t){m.cssHooks[t]=we(f.pixelPosition,function(e,n){if(n)return n=ke(e,t),Le.test(n)?m(e).position()[t]+"px":n})}),m.each({Height:"height",Width:"width"},function(e,t){m.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){m.fn[r]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===i?"margin":"border");return C(this,function(t,n,r){var i;return m.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?m.css(t,n,s):m.style(t,n,r,s)},t,a?r:void 0,a,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,void 0===(r=function(){return m}.apply(t,[]))||(e.exports=r);var jt=n.jQuery,Ht=n.$;return m.noConflict=function(e){return n.$===m&&(n.$=Ht),e&&n.jQuery===m&&(n.jQuery=jt),m},void 0===i&&(n.jQuery=n.$=m),m},"object"==typeof e.exports?e.exports=i.document?a(i,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return a(e)}:a(i)},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=h(e),n=r.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function p(e){var t=f(NaN);return null!=e?_(h(t),e):h(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var y=i.momentProperties=[];function M(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=h(t)),o(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)o(i=t[r=y[n]])||(e[r]=i);return e}var g=!1;function v(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,i.updateOffset(this),g=!1)}function L(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Y(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&k(e[r])!==k(t[r]))&&s++;return s+a}function b(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return _(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,a=[],s=0;s<arguments.length;s++){if(r="","object"==typeof arguments[s]){for(var o in r+="\n["+s+"] ",arguments[0])r+=o+": "+arguments[0][o]+", ";r=r.slice(0,-2)}else r=arguments[s];a.push(r)}b(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var D,x={};function S(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),x[e]||(b(t),x[e]=!0)}function j(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function H(e,t){var n,r=_({},e);for(n in t)c(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},_(r[n],e[n]),_(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&s(e[n])&&(r[n]=_({},r[n]));return r}function P(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var O={};function E(e,t){var n=e.toLowerCase();O[n]=O[n+"s"]=O[t]=e}function C(e){return"string"==typeof e?O[e]||O[e.toLowerCase()]:void 0}function A(e){var t,n,r={};for(n in e)c(e,n)&&(t=C(n))&&(r[t]=e[n]);return r}var F={};function N(e,t){F[e]=t}function W(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},U={};function $(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(U[e]=i),t&&(U[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(U[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function J(e,t){return e.isValid()?(t=q(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(I);for(t=0,n=i.length;t<n;t++)U[i[t]]?i[t]=U[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,a="";for(r=0;r<n;r++)a+=j(i[r])?i[r].call(t,e):i[r];return a}}(t),z[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var B=/\d/,V=/\d\d/,G=/\d{3}/,K=/\d{4}/,X=/[+-]?\d{6}/,Q=/\d\d?/,Z=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,ae=/[+-]?\d+/,se=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,de={};function le(e,t,n){de[e]=j(t)?t:function(e,r){return e&&n?n:t}}function ce(e,t){return c(de,e)?de[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function me(e,t){he(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function pe(e,t,n){null!=t&&c(fe,e)&&fe[e](t,n._a,n,e)}var ye=0,Me=1,ge=2,ve=3,Le=4,Ye=5,ke=6,we=7,be=8;function Te(e){return De(e)?366:365}function De(e){return e%4==0&&e%100!=0||e%400==0}$("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),$(0,["YY",2],0,function(){return this.year()%100}),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),E("year","y"),N("year",1),le("Y",ae),le("YY",Q,V),le("YYYY",ne,K),le("YYYYY",re,X),le("YYYYYY",re,X),he(["YYYYY","YYYYYY"],ye),he("YYYY",function(e,t){t[ye]=2===e.length?i.parseTwoDigitYear(e):k(e)}),he("YY",function(e,t){t[ye]=i.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ye]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var xe,Se=je("FullYear",!0);function je(e,t){return function(n){return null!=n?(Pe(this,e,n),i.updateOffset(this,t),this):He(this,e)}}function He(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&De(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%t+t)%t}(t,12);return e+=(t-n)/12,1===n?De(e)?29:28:31-n%7%2}xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},$("M",["MM",2],"Mo",function(){return this.month()+1}),$("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),$("MMMM",0,0,function(e){return this.localeData().months(this,e)}),E("month","M"),N("month",8),le("M",Q),le("MM",Q,V),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),he(["M","MM"],function(e,t){t[Me]=k(e)-1}),he(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Me]=i:h(n).invalidMonth=e});var Ee=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Fe(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=xe.call(this._shortMonthsParse,s))?i:null:-1!==(i=xe.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=xe.call(this._shortMonthsParse,s))?i:-1!==(i=xe.call(this._longMonthsParse,s))?i:null:-1!==(i=xe.call(this._longMonthsParse,s))?i:-1!==(i=xe.call(this._shortMonthsParse,s))?i:null}function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function We(e){return null!=e?(Ne(this,e),i.updateOffset(this,!0),this):He(this,"Month")}var Ie=ue,Re=ue;function ze(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=_e(r[t]),i[t]=_e(i[t]);for(t=0;t<24;t++)a[t]=_e(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ue(e,t,n,r,i,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,i,a,s),o}function $e(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Je(e,t,n){var r=7+t-n;return-(7+$e(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,n,r,i){var a,s,o=1+7*(t-1)+(7+n-r)%7+Je(e,r,i);return o<=0?s=Te(a=e-1)+o:o>Te(e)?(a=e+1,s=o-Te(e)):(a=e,s=o),{year:a,dayOfYear:s}}function Be(e,t,n){var r,i,a=Je(e.year(),t,n),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?r=s+Ve(i=e.year()-1,t,n):s>Ve(e.year(),t,n)?(r=s-Ve(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function Ve(e,t,n){var r=Je(e,t,n),i=Je(e+1,t,n);return(Te(e)-r+i)/7}function Ge(e,t){return e.slice(t,7).concat(e.slice(0,t))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),N("week",5),N("isoWeek",5),le("w",Q),le("ww",Q,V),le("W",Q),le("WW",Q,V),me(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),le("d",Q),le("e",Q),le("E",Q),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ze(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=xe.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=xe.call(this._weekdaysParse,s))?i:-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:-1!==(i=xe.call(this._weekdaysParse,s))?i:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:null:-1!==(i=xe.call(this._minWeekdaysParse,s))?i:-1!==(i=xe.call(this._weekdaysParse,s))?i:-1!==(i=xe.call(this._shortWeekdaysParse,s))?i:null}var et=ue,tt=ue,nt=ue;function rt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,s=[],o=[],u=[],d=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),s.push(r),o.push(i),u.push(a),d.push(r),d.push(i),d.push(a);for(s.sort(e),o.sort(e),u.sort(e),d.sort(e),t=0;t<7;t++)o[t]=_e(o[t]),u[t]=_e(u[t]),d[t]=_e(d[t]);this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){$(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,it),$("k",["kk",2],0,function(){return this.hours()||24}),$("hmm",0,0,function(){return""+it.apply(this)+W(this.minutes(),2)}),$("hmmss",0,0,function(){return""+it.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),at("a",!0),at("A",!1),E("hour","h"),N("hour",13),le("a",st),le("A",st),le("H",Q),le("h",Q),le("k",Q),le("HH",Q,V),le("hh",Q,V),le("kk",Q,V),le("hmm",Z),le("hmmss",ee),le("Hmm",Z),le("Hmmss",ee),he(["H","HH"],ve),he(["k","kk"],function(e,t,n){var r=k(e);t[ve]=24===r?0:r}),he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),he(["h","hh"],function(e,t,n){t[ve]=k(e),h(n).bigHour=!0}),he("hmm",function(e,t,n){var r=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r)),h(n).bigHour=!0}),he("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r,2)),t[Ye]=k(e.substr(i)),h(n).bigHour=!0}),he("Hmm",function(e,t,n){var r=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r))}),he("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ve]=k(e.substr(0,r)),t[Le]=k(e.substr(r,2)),t[Ye]=k(e.substr(i))});var ot,ut=je("Hours",!0),dt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},lt={},ct={};function _t(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var r=null;if(!lt[t]&&void 0!==e&&e&&e.exports)try{r=ot._abbr,n(338)("./"+t),ht(r)}catch(e){}return lt[t]}function ht(e,t){var n;return e&&((n=o(t)?pt(e):mt(e,t))?ot=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function mt(e,t){if(null!==t){var n,r=dt;if(t.abbr=e,null!=lt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=lt[e]._config;else if(null!=t.parentLocale)if(null!=lt[t.parentLocale])r=lt[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return lt[e]=new P(H(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),lt[e]}return delete lt[e],null}function pt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ot;if(!a(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=_t(e[a]).split("-")).length,n=(n=_t(e[a+1]))?n.split("-"):null;t>0;){if(r=ft(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}a++}return ot}(e)}function yt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[Me]<0||n[Me]>11?Me:n[ge]<1||n[ge]>Oe(n[ye],n[Me])?ge:n[ve]<0||n[ve]>24||24===n[ve]&&(0!==n[Le]||0!==n[Ye]||0!==n[ke])?ve:n[Le]<0||n[Le]>59?Le:n[Ye]<0||n[Ye]>59?Ye:n[ke]<0||n[ke]>999?ke:-1,h(e)._overflowDayOfYear&&(t<ye||t>ge)&&(t=ge),h(e)._overflowWeeks&&-1===t&&(t=we),h(e)._overflowWeekday&&-1===t&&(t=be),h(e).overflow=t),e}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function gt(e){var t,n,r,a,s,o=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ge]&&null==e._a[Me]&&function(e){var t,n,r,i,a,s,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,s=4,n=Mt(t.GG,e._a[ye],Be(Et(),1,4).year),r=Mt(t.W,1),((i=Mt(t.E,1))<1||i>7)&&(u=!0);else{a=e._locale._week.dow,s=e._locale._week.doy;var d=Be(Et(),a,s);n=Mt(t.gg,e._a[ye],d.year),r=Mt(t.w,d.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(u=!0)):i=a}r<1||r>Ve(n,a,s)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(o=qe(n,r,i,a,s),e._a[ye]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(s=Mt(e._a[ye],r[ye]),(e._dayOfYear>Te(s)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=$e(s,0,e._dayOfYear),e._a[Me]=n.getUTCMonth(),e._a[ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ve]&&0===e._a[Le]&&0===e._a[Ye]&&0===e._a[ke]&&(e._nextDay=!0,e._a[ve]=0),e._d=(e._useUTC?$e:Ue).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(h(e).weekdayMismatch=!0)}}var vt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Yt=/Z|[+-]\d\d(?::?\d\d)?/,kt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],bt=/^\/?Date\((\-?\d+)/i;function Tt(e){var t,n,r,i,a,s,o=e._i,u=vt.exec(o)||Lt.exec(o);if(u){for(h(e).iso=!0,t=0,n=kt.length;t<n;t++)if(kt[t][1].exec(u[1])){i=kt[t][0],r=!1!==kt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(u[3])){a=(u[2]||" ")+wt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(u[4]){if(!Yt.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=i+(a||"")+(s||""),Ht(e)}else e._isValid=!1}var Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function xt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jt(e){var t,n,r,i,a,s,o,u=Dt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){var d=(t=u[4],n=u[3],r=u[2],i=u[5],a=u[6],s=u[7],o=[xt(t),Ae.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(a,10)],s&&o.push(parseInt(s,10)),o);if(!function(e,t,n){return!e||Xe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],d,e))return;e._a=d,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(u[8],u[9],u[10]),e._d=$e.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Ht(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,a,s,o=""+e._i,u=o.length,d=0;for(r=q(e._f,e._locale).match(I)||[],t=0;t<r.length;t++)a=r[t],(n=(o.match(ce(a,e))||[])[0])&&((s=o.substr(0,o.indexOf(n))).length>0&&h(e).unusedInput.push(s),o=o.slice(o.indexOf(n)+n.length),d+=n.length),U[a]?(n?h(e).empty=!1:h(e).unusedTokens.push(a),pe(a,n,e)):e._strict&&!n&&h(e).unusedTokens.push(a);h(e).charsLeftOver=u-d,o.length>0&&h(e).unusedInput.push(o),e._a[ve]<=12&&!0===h(e).bigHour&&e._a[ve]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ve]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[ve],e._meridiem),gt(e),yt(e)}else jt(e);else Tt(e)}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),L(t)?new v(yt(t)):(d(t)?e._d=t:a(n)?function(e){var t,n,r,i,a;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ht(t),m(t)&&(a+=h(t).charsLeftOver,a+=10*h(t).unusedTokens.length,h(t).score=a,(null==r||a<r)&&(r=a,n=t));_(e,n||t)}(e):n?Ht(e):function(e){var t=e._i;o(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=bt.exec(e._i);null===t?(Tt(e),!1===e._isValid&&(delete e._isValid,jt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):a(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),gt(e)):s(t)?function(e){if(!e._d){var t=A(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),gt(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function Ot(e,t,n,r,i){var o,u={};return!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||a(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=e,u._f=t,u._strict=r,(o=new v(yt(Pt(u))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Et(e,t,n,r){return Ot(e,t,n,r,!1)}i.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ct=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),At=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()});function Ft(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Wt(e){var t=A(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,u=t.minute||0,d=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===xe.call(Nt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Nt.length;++r)if(e[Nt[r]]){if(n)return!1;parseFloat(e[Nt[r]])!==k(e[Nt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*d+6e4*u+1e3*o*60*60,this._days=+s+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=pt(),this._bubble()}function It(e){return e instanceof Wt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,t){$(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+W(~~(e/60),2)+t+W(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),le("Z",oe),le("ZZ",oe),he(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=$t(oe,e)});var Ut=/([\+\-]|\d\d)/gi;function $t(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Ut)||["-",0,0],i=60*r[1]+k(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Jt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(L(e)||d(e)?e.valueOf():Et(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Et(e).local()}function qt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Vt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Gt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Kt(e,t){var n,r,i,a,s,o,d=e,l=null;return It(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:u(e)?(d={},t?d[t]=e:d.milliseconds=e):(l=Vt.exec(e))?(n="-"===l[1]?-1:1,d={y:0,d:k(l[ge])*n,h:k(l[ve])*n,m:k(l[Le])*n,s:k(l[Ye])*n,ms:k(Rt(1e3*l[ke]))*n}):(l=Gt.exec(e))?(n="-"===l[1]?-1:1,d={y:Xt(l[2],n),M:Xt(l[3],n),w:Xt(l[4],n),d:Xt(l[5],n),h:Xt(l[6],n),m:Xt(l[7],n),s:Xt(l[8],n)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(a=Et(d.from),s=Et(d.to),i=a.isValid()&&s.isValid()?(s=Jt(s,a),a.isBefore(s)?o=Qt(a,s):((o=Qt(s,a)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(d={}).ms=i.milliseconds,d.M=i.months),r=new Wt(d),It(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Xt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),en(this,Kt(n="string"==typeof n?+n:n,r),e),this}}function en(e,t,n,r){var a=t._milliseconds,s=Rt(t._days),o=Rt(t._months);e.isValid()&&(r=null==r||r,o&&Ne(e,He(e,"Month")+o*n),s&&Pe(e,"Date",He(e,"Date")+s*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&i.updateOffset(e,s||o))}Kt.fn=Wt.prototype,Kt.invalid=function(){return Kt(NaN)};var tn=Zt(1,"add"),nn=Zt(-1,"subtract");function rn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function an(e){var t;return void 0===e?this._locale._abbr:(null!=(t=pt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sn=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function on(){return this._locale}var un=1e3,dn=60*un,ln=60*dn,cn=3506328*ln;function _n(e,t){return(e%t+t)%t}function fn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function mn(e,t){$(0,[e,e.length],0,t)}function pn(e,t,n,r,i){var a;return null==e?Be(this,r,i).year:(t>(a=Ve(e,r,i))&&(t=a),yn.call(this,e,t,n,r,i))}function yn(e,t,n,r,i){var a=qe(e,t,n,r,i),s=$e(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),mn("gggg","weekYear"),mn("ggggg","weekYear"),mn("GGGG","isoWeekYear"),mn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),le("G",ae),le("g",ae),le("GG",Q,V),le("gg",Q,V),le("GGGG",ne,K),le("gggg",ne,K),le("GGGGG",re,X),le("ggggg",re,X),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),$("Q",0,"Qo","quarter"),E("quarter","Q"),N("quarter",7),le("Q",B),he("Q",function(e,t){t[Me]=3*(k(e)-1)}),$("D",["DD",2],"Do","date"),E("date","D"),N("date",9),le("D",Q),le("DD",Q,V),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),he(["D","DD"],ge),he("Do",function(e,t){t[ge]=k(e.match(Q)[0])});var Mn=je("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),N("dayOfYear",4),le("DDD",te),le("DDDD",G),he(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),$("m",["mm",2],0,"minute"),E("minute","m"),N("minute",14),le("m",Q),le("mm",Q,V),he(["m","mm"],Le);var gn=je("Minutes",!1);$("s",["ss",2],0,"second"),E("second","s"),N("second",15),le("s",Q),le("ss",Q,V),he(["s","ss"],Ye);var vn,Ln=je("Seconds",!1);for($("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),N("millisecond",16),le("S",te,B),le("SS",te,V),le("SSS",te,G),vn="SSSS";vn.length<=9;vn+="S")le(vn,ie);function Yn(e,t){t[ke]=k(1e3*("0."+e))}for(vn="S";vn.length<=9;vn+="S")he(vn,Yn);var kn=je("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var wn=v.prototype;function bn(e){return e}wn.add=tn,wn.calendar=function(e,t){var n=e||Et(),r=Jt(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",s=t&&(j(t[a])?t[a].call(this,n):t[a]);return this.format(s||this.localeData().calendar(a,this,Et(n)))},wn.clone=function(){return new v(this)},wn.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Jt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=C(t)){case"year":a=rn(this,r)/12;break;case"month":a=rn(this,r);break;case"quarter":a=rn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:Y(a)},wn.endOf=function(e){var t;if(void 0===(e=C(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ln-_n(t+(this._isUTC?0:this.utcOffset()*dn),ln)-1;break;case"minute":t=this._d.valueOf(),t+=dn-_n(t,dn)-1;break;case"second":t=this._d.valueOf(),t+=un-_n(t,un)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},wn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=J(this,e);return this.localeData().postformat(t)},wn.from=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||Et(e).isValid())?Kt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wn.fromNow=function(e){return this.from(Et(),e)},wn.to=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||Et(e).isValid())?Kt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wn.toNow=function(e){return this.to(Et(),e)},wn.get=function(e){return j(this[e=C(e)])?this[e]():this},wn.invalidAt=function(){return h(this).overflow},wn.isAfter=function(e,t){var n=L(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=C(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},wn.isBefore=function(e,t){var n=L(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=C(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},wn.isBetween=function(e,t,n,r){var i=L(e)?e:Et(e),a=L(t)?t:Et(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n))},wn.isSame=function(e,t){var n,r=L(e)?e:Et(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=C(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},wn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},wn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},wn.isValid=function(){return m(this)},wn.lang=sn,wn.locale=an,wn.localeData=on,wn.max=At,wn.min=Ct,wn.parsingFlags=function(){return _({},h(this))},wn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:F[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=A(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(j(this[e=C(e)]))return this[e](t);return this},wn.startOf=function(e){var t;if(void 0===(e=C(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=_n(t+(this._isUTC?0:this.utcOffset()*dn),ln);break;case"minute":t=this._d.valueOf(),t-=_n(t,dn);break;case"second":t=this._d.valueOf(),t-=_n(t,un)}return this._d.setTime(t),i.updateOffset(this,!0),this},wn.subtract=nn,wn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},wn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},wn.toDate=function(){return new Date(this.valueOf())},wn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?J(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",J(n,"Z")):J(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},wn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},wn.toJSON=function(){return this.isValid()?this.toISOString():null},wn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},wn.unix=function(){return Math.floor(this.valueOf()/1e3)},wn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},wn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},wn.year=Se,wn.isLeapYear=function(){return De(this.year())},wn.weekYear=function(e){return pn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},wn.isoWeekYear=function(e){return pn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},wn.quarter=wn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},wn.month=We,wn.daysInMonth=function(){return Oe(this.year(),this.month())},wn.week=wn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},wn.isoWeek=wn.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},wn.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},wn.isoWeeksInYear=function(){return Ve(this.year(),1,4)},wn.date=Mn,wn.day=wn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},wn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},wn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},wn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},wn.hour=wn.hours=ut,wn.minute=wn.minutes=gn,wn.second=wn.seconds=Ln,wn.millisecond=wn.milliseconds=kn,wn.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=$t(oe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=qt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?en(this,Kt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:qt(this)},wn.utc=function(e){return this.utcOffset(0,e)},wn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this},wn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=$t(se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},wn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},wn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},wn.isLocal=function(){return!!this.isValid()&&!this._isUTC},wn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},wn.isUtc=Bt,wn.isUTC=Bt,wn.zoneAbbr=function(){return this._isUTC?"UTC":""},wn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},wn.dates=T("dates accessor is deprecated. Use date instead.",Mn),wn.months=T("months accessor is deprecated. Use month instead",We),wn.years=T("years accessor is deprecated. Use year instead",Se),wn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),wn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(M(e,this),(e=Pt(e))._a){var t=e._isUTC?f(e._a):Et(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Tn=P.prototype;function Dn(e,t,n,r){var i=pt(),a=f().set(r,t);return i[n](a,e)}function xn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Dn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Dn(e,r,n,"month");return i}function Sn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=pt(),s=e?a._week.dow:0;if(null!=n)return Dn(t,(n+s)%7,r,"day");var o=[];for(i=0;i<7;i++)o[i]=Dn(t,(i+s)%7,r,"day");return o}Tn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},Tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Tn.invalidDate=function(){return this._invalidDate},Tn.ordinal=function(e){return this._ordinal.replace("%d",e)},Tn.preparse=bn,Tn.postformat=bn,Tn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)},Tn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},Tn.set=function(e){var t,n;for(n in e)j(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Tn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ee).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},Tn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ee.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Tn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return Fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Tn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Tn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Tn.week=function(e){return Be(e,this._week.dow,this._week.doy).week},Tn.firstDayOfYear=function(){return this._week.doy},Tn.firstDayOfWeek=function(){return this._week.dow},Tn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ge(n,this._week.dow):e?n[e.day()]:n},Tn.weekdaysMin=function(e){return!0===e?Ge(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Tn.weekdaysShort=function(e){return!0===e?Ge(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Tn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Tn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ht("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",ht),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",pt);var jn=Math.abs;function Hn(e,t,n,r){var i=Kt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Pn(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}var An=Cn("ms"),Fn=Cn("s"),Nn=Cn("m"),Wn=Cn("h"),In=Cn("d"),Rn=Cn("w"),zn=Cn("M"),Un=Cn("Q"),$n=Cn("y");function Jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var qn=Jn("milliseconds"),Bn=Jn("seconds"),Vn=Jn("minutes"),Gn=Jn("hours"),Kn=Jn("days"),Xn=Jn("months"),Qn=Jn("years"),Zn=Math.round,er={ss:44,s:45,m:45,h:22,d:26,M:11};function tr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var nr=Math.abs;function rr(e){return(e>0)-(e<0)||+e}function ir(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=nr(this._milliseconds)/1e3,r=nr(this._days),i=nr(this._months);e=Y(n/60),t=Y(e/60),n%=60,e%=60;var a=Y(i/12),s=i%=12,o=r,u=t,d=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var _=c<0?"-":"",f=rr(this._months)!==rr(c)?"-":"",h=rr(this._days)!==rr(c)?"-":"",m=rr(this._milliseconds)!==rr(c)?"-":"";return _+"P"+(a?f+a+"Y":"")+(s?f+s+"M":"")+(o?h+o+"D":"")+(u||d||l?"T":"")+(u?m+u+"H":"")+(d?m+d+"M":"")+(l?m+l+"S":"")}var ar=Wt.prototype;return ar.isValid=function(){return this._isValid},ar.abs=function(){var e=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),e.milliseconds=jn(e.milliseconds),e.seconds=jn(e.seconds),e.minutes=jn(e.minutes),e.hours=jn(e.hours),e.months=jn(e.months),e.years=jn(e.years),this},ar.add=function(e,t){return Hn(this,e,t,1)},ar.subtract=function(e,t){return Hn(this,e,t,-1)},ar.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=C(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+On(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},ar.asMilliseconds=An,ar.asSeconds=Fn,ar.asMinutes=Nn,ar.asHours=Wn,ar.asDays=In,ar.asWeeks=Rn,ar.asMonths=zn,ar.asQuarters=Un,ar.asYears=$n,ar.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},ar._bubble=function(){var e,t,n,r,i,a=this._milliseconds,s=this._days,o=this._months,u=this._data;return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*Pn(En(o)+s),s=0,o=0),u.milliseconds=a%1e3,e=Y(a/1e3),u.seconds=e%60,t=Y(e/60),u.minutes=t%60,n=Y(t/60),u.hours=n%24,s+=Y(n/24),i=Y(On(s)),o+=i,s-=Pn(En(i)),r=Y(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},ar.clone=function(){return Kt(this)},ar.get=function(e){return e=C(e),this.isValid()?this[e+"s"]():NaN},ar.milliseconds=qn,ar.seconds=Bn,ar.minutes=Vn,ar.hours=Gn,ar.days=Kn,ar.weeks=function(){return Y(this.days()/7)},ar.months=Xn,ar.years=Qn,ar.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Kt(e).abs(),i=Zn(r.as("s")),a=Zn(r.as("m")),s=Zn(r.as("h")),o=Zn(r.as("d")),u=Zn(r.as("M")),d=Zn(r.as("y")),l=i<=er.ss&&["s",i]||i<er.s&&["ss",i]||a<=1&&["m"]||a<er.m&&["mm",a]||s<=1&&["h"]||s<er.h&&["hh",s]||o<=1&&["d"]||o<er.d&&["dd",o]||u<=1&&["M"]||u<er.M&&["MM",u]||d<=1&&["y"]||["yy",d];return l[2]=t,l[3]=+e>0,l[4]=n,tr.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},ar.toISOString=ir,ar.toString=ir,ar.toJSON=ir,ar.locale=an,ar.localeData=on,ar.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ir),ar.lang=sn,$("X",0,0,"unix"),$("x",0,0,"valueOf"),le("x",ae),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),he("x",function(e,t,n){n._d=new Date(k(e))}),i.version="2.24.0",t=Et,i.fn=wn,i.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(e){return Et(1e3*e)},i.months=function(e,t){return xn(e,t,"months")},i.isDate=d,i.locale=ht,i.invalid=p,i.duration=Kt,i.isMoment=L,i.weekdays=function(e,t,n){return Sn(e,t,n,"weekdays")},i.parseZone=function(){return Et.apply(null,arguments).parseZone()},i.localeData=pt,i.isDuration=It,i.monthsShort=function(e,t){return xn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return Sn(e,t,n,"weekdaysMin")},i.defineLocale=mt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=dt;null!=(r=ft(e))&&(i=r._config),t=H(i,t),(n=new P(t)).parentLocale=lt[e],lt[e]=n,ht(e)}else null!=lt[e]&&(null!=lt[e].parentLocale?lt[e]=lt[e].parentLocale:null!=lt[e]&&delete lt[e]);return lt[e]},i.locales=function(){return D(lt)},i.weekdaysShort=function(e,t,n){return Sn(e,t,n,"weekdaysShort")},i.normalizeUnits=C,i.relativeTimeRounding=function(e){return void 0===e?Zn:"function"==typeof e&&(Zn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==er[e]&&(void 0===t?er[e]:(er[e]=t,"s"===e&&(er.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=wn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(119)(e))},function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},a=i._,s=Array.prototype,o=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,d=s.push,l=s.slice,c=o.toString,_=o.hasOwnProperty,f=Array.isArray,h=Object.keys,m=Object.create,p=function(){},y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};t.nodeType?i._=y:(!n.nodeType&&n.exports&&(t=n.exports=y),t._=y),y.VERSION="1.9.1";var M,g=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,a){return e.call(t,n,r,i,a)}}return function(){return e.apply(t,arguments)}},v=function(e,t,n){return y.iteratee!==M?y.iteratee(e,t):null==e?y.identity:y.isFunction(e)?g(e,t,n):y.isObject(e)&&!y.isArray(e)?y.matcher(e):y.property(e)};y.iteratee=M=function(e,t){return v(e,t,1/0)};var L=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=r,e.apply(this,a)}},Y=function(e){if(!y.isObject(e))return{};if(m)return m(e);p.prototype=e;var t=new p;return p.prototype=null,t},k=function(e){return function(t){return null==t?void 0:t[e]}},w=function(e,t){return null!=e&&_.call(e,t)},b=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},T=Math.pow(2,53)-1,D=k("length"),x=function(e){var t=D(e);return"number"==typeof t&&t>=0&&t<=T};y.each=y.forEach=function(e,t,n){var r,i;if(t=g(t,n),x(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=y.keys(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e},y.map=y.collect=function(e,t,n){t=v(t,n);for(var r=!x(e)&&y.keys(e),i=(r||e).length,a=Array(i),s=0;s<i;s++){var o=r?r[s]:s;a[s]=t(e[o],o,e)}return a};var S=function(e){var t=function(t,n,r,i){var a=!x(t)&&y.keys(t),s=(a||t).length,o=e>0?0:s-1;for(i||(r=t[a?a[o]:o],o+=e);o>=0&&o<s;o+=e){var u=a?a[o]:o;r=n(r,t[u],u,t)}return r};return function(e,n,r,i){var a=arguments.length>=3;return t(e,g(n,i,4),r,a)}};y.reduce=y.foldl=y.inject=S(1),y.reduceRight=y.foldr=S(-1),y.find=y.detect=function(e,t,n){var r=(x(e)?y.findIndex:y.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},y.filter=y.select=function(e,t,n){var r=[];return t=v(t,n),y.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},y.reject=function(e,t,n){return y.filter(e,y.negate(v(t)),n)},y.every=y.all=function(e,t,n){t=v(t,n);for(var r=!x(e)&&y.keys(e),i=(r||e).length,a=0;a<i;a++){var s=r?r[a]:a;if(!t(e[s],s,e))return!1}return!0},y.some=y.any=function(e,t,n){t=v(t,n);for(var r=!x(e)&&y.keys(e),i=(r||e).length,a=0;a<i;a++){var s=r?r[a]:a;if(t(e[s],s,e))return!0}return!1},y.contains=y.includes=y.include=function(e,t,n,r){return x(e)||(e=y.values(e)),("number"!=typeof n||r)&&(n=0),y.indexOf(e,t,n)>=0},y.invoke=L(function(e,t,n){var r,i;return y.isFunction(t)?i=t:y.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),y.map(e,function(e){var a=i;if(!a){if(r&&r.length&&(e=b(e,r)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)})}),y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,t,n){var r,i,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,u=(e=x(e)?e:y.values(e)).length;o<u;o++)null!=(r=e[o])&&r>a&&(a=r);else t=v(t,n),y.each(e,function(e,n,r){((i=t(e,n,r))>s||i===-1/0&&a===-1/0)&&(a=e,s=i)});return a},y.min=function(e,t,n){var r,i,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,u=(e=x(e)?e:y.values(e)).length;o<u;o++)null!=(r=e[o])&&r<a&&(a=r);else t=v(t,n),y.each(e,function(e,n,r){((i=t(e,n,r))<s||i===1/0&&a===1/0)&&(a=e,s=i)});return a},y.shuffle=function(e){return y.sample(e,1/0)},y.sample=function(e,t,n){if(null==t||n)return x(e)||(e=y.values(e)),e[y.random(e.length-1)];var r=x(e)?y.clone(e):y.values(e),i=D(r);t=Math.max(Math.min(t,i),0);for(var a=i-1,s=0;s<t;s++){var o=y.random(s,a),u=r[s];r[s]=r[o],r[o]=u}return r.slice(0,t)},y.sortBy=function(e,t,n){var r=0;return t=v(t,n),y.pluck(y.map(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var j=function(e,t){return function(n,r,i){var a=t?[[],[]]:{};return r=v(r,i),y.each(n,function(t,i){var s=r(t,i,n);e(a,t,s)}),a}};y.groupBy=j(function(e,t,n){w(e,n)?e[n].push(t):e[n]=[t]}),y.indexBy=j(function(e,t,n){e[n]=t}),y.countBy=j(function(e,t,n){w(e,n)?e[n]++:e[n]=1});var H=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;y.toArray=function(e){return e?y.isArray(e)?l.call(e):y.isString(e)?e.match(H):x(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:x(e)?e.length:y.keys(e).length},y.partition=j(function(e,t,n){e[n?0:1].push(t)},!0),y.first=y.head=y.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:y.initial(e,e.length-t)},y.initial=function(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},y.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:y.rest(e,Math.max(0,e.length-t))},y.rest=y.tail=y.drop=function(e,t,n){return l.call(e,null==t||n?1:t)},y.compact=function(e){return y.filter(e,Boolean)};var P=function(e,t,n,r){for(var i=(r=r||[]).length,a=0,s=D(e);a<s;a++){var o=e[a];if(x(o)&&(y.isArray(o)||y.isArguments(o)))if(t)for(var u=0,d=o.length;u<d;)r[i++]=o[u++];else P(o,t,n,r),i=r.length;else n||(r[i++]=o)}return r};y.flatten=function(e,t){return P(e,t,!1)},y.without=L(function(e,t){return y.difference(e,t)}),y.uniq=y.unique=function(e,t,n,r){y.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=v(n,r));for(var i=[],a=[],s=0,o=D(e);s<o;s++){var u=e[s],d=n?n(u,s,e):u;t&&!n?(s&&a===d||i.push(u),a=d):n?y.contains(a,d)||(a.push(d),i.push(u)):y.contains(i,u)||i.push(u)}return i},y.union=L(function(e){return y.uniq(P(e,!0,!0))}),y.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=D(e);r<i;r++){var a=e[r];if(!y.contains(t,a)){var s;for(s=1;s<n&&y.contains(arguments[s],a);s++);s===n&&t.push(a)}}return t},y.difference=L(function(e,t){return t=P(t,!0,!0),y.filter(e,function(e){return!y.contains(t,e)})}),y.unzip=function(e){for(var t=e&&y.max(e,D).length||0,n=Array(t),r=0;r<t;r++)n[r]=y.pluck(e,r);return n},y.zip=L(y.unzip),y.object=function(e,t){for(var n={},r=0,i=D(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var O=function(e){return function(t,n,r){n=v(n,r);for(var i=D(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(n(t[a],a,t))return a;return-1}};y.findIndex=O(1),y.findLastIndex=O(-1),y.sortedIndex=function(e,t,n,r){for(var i=(n=v(n,r,1))(t),a=0,s=D(e);a<s;){var o=Math.floor((a+s)/2);n(e[o])<i?a=o+1:s=o}return a};var E=function(e,t,n){return function(r,i,a){var s=0,o=D(r);if("number"==typeof a)e>0?s=a>=0?a:Math.max(a+o,s):o=a>=0?Math.min(a+1,o):a+o+1;else if(n&&a&&o)return r[a=n(r,i)]===i?a:-1;if(i!=i)return(a=t(l.call(r,s,o),y.isNaN))>=0?a+s:-1;for(a=e>0?s:o-1;a>=0&&a<o;a+=e)if(r[a]===i)return a;return-1}};y.indexOf=E(1,y.findIndex,y.sortedIndex),y.lastIndexOf=E(-1,y.findLastIndex),y.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),a=0;a<r;a++,e+=n)i[a]=e;return i},y.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(l.call(e,r,r+=t));return n};var C=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var a=Y(e.prototype),s=e.apply(a,i);return y.isObject(s)?s:a};y.bind=L(function(e,t,n){if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var r=L(function(i){return C(e,r,t,this,n.concat(i))});return r}),y.partial=L(function(e,t){var n=y.partial.placeholder,r=function(){for(var i=0,a=t.length,s=Array(a),o=0;o<a;o++)s[o]=t[o]===n?arguments[i++]:t[o];for(;i<arguments.length;)s.push(arguments[i++]);return C(e,r,this,this,s)};return r}),y.partial.placeholder=y,y.bindAll=L(function(e,t){var n=(t=P(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=y.bind(e[r],e)}}),y.memoize=function(e,t){var n=function(r){var i=n.cache,a=""+(t?t.apply(this,arguments):r);return w(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n},y.delay=L(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),y.defer=y.partial(y.delay,y,1),y.throttle=function(e,t,n){var r,i,a,s,o=0;n||(n={});var u=function(){o=!1===n.leading?0:y.now(),r=null,s=e.apply(i,a),r||(i=a=null)},d=function(){var d=y.now();o||!1!==n.leading||(o=d);var l=t-(d-o);return i=this,a=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),o=d,s=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(u,l)),s};return d.cancel=function(){clearTimeout(r),o=0,r=i=a=null},d},y.debounce=function(e,t,n){var r,i,a=function(t,n){r=null,n&&(i=e.apply(t,n))},s=L(function(s){if(r&&clearTimeout(r),n){var o=!r;r=setTimeout(a,t),o&&(i=e.apply(this,s))}else r=y.delay(a,t,this,s);return i});return s.cancel=function(){clearTimeout(r),r=null},s},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},y.once=y.partial(y.before,2),y.restArguments=L;var A=!{toString:null}.propertyIsEnumerable("toString"),F=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(e,t){var n=F.length,r=e.constructor,i=y.isFunction(r)&&r.prototype||o,a="constructor";for(w(e,a)&&!y.contains(t,a)&&t.push(a);n--;)(a=F[n])in e&&e[a]!==i[a]&&!y.contains(t,a)&&t.push(a)};y.keys=function(e){if(!y.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)w(e,n)&&t.push(n);return A&&N(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return A&&N(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},y.mapObject=function(e,t,n){t=v(t,n);for(var r=y.keys(e),i=r.length,a={},s=0;s<i;s++){var o=r[s];a[o]=t(e[o],o,e)}return a},y.pairs=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},y.invert=function(e){for(var t={},n=y.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},y.functions=y.methods=function(e){var t=[];for(var n in e)y.isFunction(e[n])&&t.push(n);return t.sort()};var W=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var a=arguments[i],s=e(a),o=s.length,u=0;u<o;u++){var d=s[u];t&&void 0!==n[d]||(n[d]=a[d])}return n}};y.extend=W(y.allKeys),y.extendOwn=y.assign=W(y.keys),y.findKey=function(e,t,n){t=v(t,n);for(var r,i=y.keys(e),a=0,s=i.length;a<s;a++)if(t(e[r=i[a]],r,e))return r};var I,R,z=function(e,t,n){return t in n};y.pick=L(function(e,t){var n={},r=t[0];if(null==e)return n;y.isFunction(r)?(t.length>1&&(r=g(r,t[1])),t=y.allKeys(e)):(r=z,t=P(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var s=t[i],o=e[s];r(o,s,e)&&(n[s]=o)}return n}),y.omit=L(function(e,t){var n,r=t[0];return y.isFunction(r)?(r=y.negate(r),t.length>1&&(n=t[1])):(t=y.map(P(t,!1,!1),String),r=function(e,n){return!y.contains(t,n)}),y.pick(e,r,n)}),y.defaults=W(y.allKeys,!0),y.create=function(e,t){var n=Y(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),a=0;a<r;a++){var s=n[a];if(t[s]!==i[s]||!(s in i))return!1}return!0},I=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&R(e,t,n,r)},R=function(e,t,n,r){e instanceof y&&(e=e._wrapped),t instanceof y&&(t=t._wrapped);var i=c.call(e);if(i!==c.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return u.valueOf.call(e)===u.valueOf.call(t)}var a="[object Array]"===i;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,o=t.constructor;if(s!==o&&!(y.isFunction(s)&&s instanceof s&&y.isFunction(o)&&o instanceof o)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var d=(n=n||[]).length;d--;)if(n[d]===e)return r[d]===t;if(n.push(e),r.push(t),a){if((d=e.length)!==t.length)return!1;for(;d--;)if(!I(e[d],t[d],n,r))return!1}else{var l,_=y.keys(e);if(d=_.length,y.keys(t).length!==d)return!1;for(;d--;)if(l=_[d],!w(t,l)||!I(e[l],t[l],n,r))return!1}return n.pop(),r.pop(),!0},y.isEqual=function(e,t){return I(e,t)},y.isEmpty=function(e){return null==e||(x(e)&&(y.isArray(e)||y.isString(e)||y.isArguments(e))?0===e.length:0===y.keys(e).length)},y.isElement=function(e){return!(!e||1!==e.nodeType)},y.isArray=f||function(e){return"[object Array]"===c.call(e)},y.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},y.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){y["is"+e]=function(t){return c.call(t)==="[object "+e+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return w(e,"callee")});var U=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof U&&(y.isFunction=function(e){return"function"==typeof e||!1}),y.isFinite=function(e){return!y.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},y.isNaN=function(e){return y.isNumber(e)&&isNaN(e)},y.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===c.call(e)},y.isNull=function(e){return null===e},y.isUndefined=function(e){return void 0===e},y.has=function(e,t){if(!y.isArray(t))return w(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!_.call(e,i))return!1;e=e[i]}return!!n},y.noConflict=function(){return i._=a,this},y.identity=function(e){return e},y.constant=function(e){return function(){return e}},y.noop=function(){},y.property=function(e){return y.isArray(e)?function(t){return b(t,e)}:k(e)},y.propertyOf=function(e){return null==e?function(){}:function(t){return y.isArray(t)?b(e,t):e[t]}},y.matcher=y.matches=function(e){return e=y.extendOwn({},e),function(t){return y.isMatch(t,e)}},y.times=function(e,t,n){var r=Array(Math.max(0,e));t=g(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},y.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},y.now=Date.now||function(){return(new Date).getTime()};var $={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},J=y.invert($),q=function(e){var t=function(t){return e[t]},n="(?:"+y.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};y.escape=q($),y.unescape=q(J),y.result=function(e,t,n){y.isArray(t)||(t=[t]);var r=t.length;if(!r)return y.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var a=null==e?void 0:e[t[i]];void 0===a&&(a=n,i=r),e=y.isFunction(a)?a.call(e):a}return e};var B=0;y.uniqueId=function(e){var t=++B+"";return e?e+t:t},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var V=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},K=/\\|'|\r|\n|\u2028|\u2029/g,X=function(e){return"\\"+G[e]};y.template=function(e,t,n){!t&&n&&(t=n),t=y.defaults({},t,y.templateSettings);var r,i=RegExp([(t.escape||V).source,(t.interpolate||V).source,(t.evaluate||V).source].join("|")+"|$","g"),a=0,s="__p+='";e.replace(i,function(t,n,r,i,o){return s+=e.slice(a,o).replace(K,X),a=o+t.length,n?s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(s+="';\n"+i+"\n__p+='"),t}),s+="';\n",t.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{r=new Function(t.variable||"obj","_",s)}catch(e){throw e.source=s,e}var o=function(e){return r.call(this,e,y)},u=t.variable||"obj";return o.source="function("+u+"){\n"+s+"}",o},y.chain=function(e){var t=y(e);return t._chain=!0,t};var Q=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(e){return y.each(y.functions(e),function(t){var n=y[t]=e[t];y.prototype[t]=function(){var e=[this._wrapped];return d.apply(e,arguments),Q(this,n.apply(y,e))}}),y},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];y.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Q(this,n)}}),y.each(["concat","join","slice"],function(e){var t=s[e];y.prototype[e]=function(){return Q(this,t.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return y}.apply(t,[]))||(n.exports=r)}()}).call(this,n(21),n(119)(e))},function(e,r,i){"use strict";var a=i(40),s=i(0),o=i.n(s),u={},d=[],l=function(e,t,n){var r;console.warn("OC.addScript is deprecated, use OCP.Loader.loadScript instead");var i=OC.filePath(e,"js",t+".js");return u[i]?n&&n():(r=o.a.Deferred(),o.a.getScript(i,function(){return r.resolve()}),u[i]=r),u[i]},c=function(e,t){console.warn("OC.addStyle is deprecated, use OCP.Loader.loadStylesheet instead");var n=OC.filePath(e,"css",t+".css");-1===d.indexOf(n)&&(d.push(n),document.createStyleSheet?document.createStyleSheet(n):(t=o()('<link rel="stylesheet" type="text/css" href="'+n+'"/>'),o()("head").append(t)))},_=i(2),f=i.n(_),h=(i(268),{updatableNotification:null,getDefaultNotificationFunction:null,setDefault:function(e){this.getDefaultNotificationFunction=e},hide:function(e,t){o()("#content");f.a.isFunction(e)&&(t=e,e=void 0),e?(e.each(function(){o()(this)[0].toastify.hideToast(),this===this.updatableNotification&&(this.updatableNotification=null)}),t&&t.call(),this.getDefaultNotificationFunction&&this.getDefaultNotificationFunction()):console.error("Missing argument $row in OC.Notification.hide() call, caller needs to be adjusted to only dismiss its own notification")},showHtml:function(e,t){(t=t||{}).isHTML=!0,t.timeout=t.timeout?t.timeout:-1;var n=window.OCP.Toast.message(e,t);return o()(n.toastElement)},show:function(e,t){(t=t||{}).timeout=t.timeout?t.timeout:-1;var n=window.OCP.Toast.message(e,t);return o()(n.toastElement)},showUpdate:function(e){return this.updatableNotification&&this.updatableNotification.hideToast(),this.updatableNotification=OCP.Toast.message(e,{timeout:-1}),o()(this.updatableNotification.toastElement)},showTemporary:function(e,t){(t=t||{}).timeout=t.timeout||7;var n=window.OCP.Toast.message(e,t);return o()(n.toastElement)},isHidden:function(){return!o()("#content").find(".toastify").length}}),m=f.a.throttle(function(){h.showTemporary(t("core","Connection to server lost"))},7e3,{trailing:!1}),p=function(e){(0!==e.status||"abort"!==e.statusText&&"timeout"!==e.statusText&&!qe._reloadCalled)&&(f.a.contains([302,303,307,401],e.status)&&qe.currentUser?setTimeout(function(){if(!qe._userIsNavigatingAway&&!qe._reloadCalled){var e=0,t=setInterval(function(){h.showUpdate(n("core","Problem loading page, reloading in %n second","Problem loading page, reloading in %n seconds",5-e)),e>=5&&(clearInterval(t),qe.reload()),e++},1e3);qe._reloadCalled=!0}},100):0===e.status&&setTimeout(function(){qe._userIsNavigatingAway||qe._reloadCalled||qe._ajaxConnectionLostHandler()},100))},y=function(e){e.addEventListener&&(e.addEventListener("load",function(){4===e.readyState&&(e.status>=200&&e.status<300||304===e.status||o()(document).trigger(new o.a.Event("ajaxError"),e))}),e.addEventListener("error",function(){o()(document).trigger(new o.a.Event("ajaxError"),e)}))},M=i(85),g=i(28),v=window.oc_appconfig||{},L={getValue:function(e,t,n,r){Object(g.getValue)(e,t,n,{success:r})},setValue:function(e,t,n){Object(g.setValue)(e,t,n)},getApps:function(e){Object(g.getApps)({success:e})},getKeys:function(e,t){Object(g.getKeys)(e,{success:t})},deleteKey:function(e,t){Object(g.deleteKey)(e,t)}},Y=i(7),k=function(e){if(console.warn("OC.appSettings is deprecated and will be removed with Nextcloud 18"),void 0===e||void 0===e.appid)throw{name:"MissingParameter",message:"The parameter appid is missing"};var n={scriptName:"settings.php",cache:!0};o.a.extend(n,e);var r=o()("#appsettings");if(0===r.length)throw{name:"MissingDOMElement",message:'There has be be an element with id "appsettings" for the popup to show.'};var i=o()("#appsettings_popup");if(0===i.length&&(o()("body").prepend('<div class="popup hidden" id="appsettings_popup"></div>'),(i=o()("#appsettings_popup")).addClass(r.hasClass("topright")?"topright":"bottomleft")),i.is(":visible"))i.hide().remove();else{var a=r.hasClass("topright")?"up":"left";o.a.get(Object(Y.a)(n.appid,"",n.scriptName),function(e){i.html(e).ready(function(){if(i.prepend('<span class="arrow '+a+'"></span><h2>'+t("core","Settings")+'</h2><a class="close"></a>').show(),i.find(".close").bind("click",function(){i.remove()}),void 0!==n.loadJS){var e;if(!0===n.loadJS)e="settings.js";else{if("string"!=typeof n.loadJS)throw{name:"InvalidParameter",message:'The "loadJS" parameter must be either boolean or a string.'};e=n.loadJS}n.cache&&o.a.ajaxSetup({cache:!0}),o.a.getScript(Object(Y.a)(n.appid,"js",e)).fail(function(e,t,n){throw n})}}).show()},"html")}},w=void 0!==window._oc_appswebroots&&window._oc_appswebroots,b=w,T=i(18),D=i.n(T),x=i(86),S=i.n(x),j={create:"POST",update:"PROPPATCH",patch:"PROPPATCH",delete:"DELETE",read:"PROPFIND"};function H(){throw new Error('A "url" property or function must be specified')}function P(e,t){if(f.a.isArray(e))return f.a.map(e,function(e){return P(e,t)});var n={href:e.href};return f.a.each(e.propStat,function(e){if("HTTP/1.1 200 OK"===e.status)for(var r in e.properties){var i=r;r in t&&(i=t[r]),n[i]=e.properties[r]}}),n.id||(n.id=O(n.href)),n}function O(e){var t=e.indexOf("?");t>0&&(e=e.substr(0,t));var n,r=e.split("/");do{n=r[r.length-1],r.pop()}while(!n&&r.length>0);return n}function E(e){return e>=200&&e<=299}function C(e,t){var n,r={};for(n in e){var i=t[n],a=e[n];i||(console.warn('No matching DAV property for property "'+n),i=n),(f.a.isBoolean(a)||f.a.isNumber(a))&&(a=""+a),r[i]=a}return r}function A(e,t,n,r){return e.propFind(t.url,f.a.values(t.davProperties)||[],t.depth,r).then(function(e){if(E(e.status)){if(f.a.isFunction(t.success)){var n=f.a.invert(t.davProperties),r=P(e.body,n);return t.depth>0&&r.shift(),void t.success(r)}}else f.a.isFunction(t.error)&&t.error(e)})}function F(e,t,n,r){return e.propPatch(t.url,C(n.changed,t.davProperties),r).then(function(e){E(e.status)?f.a.isFunction(t.success)&&t.success(n.toJSON()):f.a.isFunction(t.error)&&t.error(e)})}function N(e,t,n,r){return e.request(t.type,t.url,r,null).then(function(i){E(i.status)?F(e,t,n,r):f.a.isFunction(t.error)&&t.error(i)})}function W(e,t,n,r){return r["Content-Type"]="application/json",e.request(t.type,t.url,r,t.data).then(function(e){if(E(e.status)){if(f.a.isFunction(t.success)){if("PUT"===t.type||"POST"===t.type||"MKCOL"===t.type){var r=e.body||n.toJSON(),i=e.xhr.getResponseHeader("Content-Location");return"POST"===t.type&&i&&(r.id=O(i)),void t.success(r)}if(207===e.status){var a=f.a.invert(t.davProperties);t.success(P(e.body,a))}else t.success(e.body)}}else f.a.isFunction(t.error)&&t.error(e)})}var I=function(e,t){var n=new S.a.Client({baseUrl:e.url,xmlNamespaces:f.a.extend({"DAV:":"d","http://owncloud.org/ns":"oc"},e.xmlNamespaces||{})});n.resolveUrl=function(){return e.url};var r=f.a.extend({"X-Requested-With":"XMLHttpRequest",requesttoken:OC.requestToken},e.headers);return"PROPFIND"===e.type?A(n,e,0,r):"PROPPATCH"===e.type?F(n,e,t,r):"MKCOL"===e.type?N(n,e,t,r):W(n,e,t,r)},R=function(e){return function(t,n,r){var i={type:j[t]||t},a=n instanceof e.Collection;if("update"===t&&(n.hasInnerCollection?i.type="MKCOL":(n.usePUT||n.collection&&n.collection.usePUT)&&(i.type="PUT")),r.url||(i.url=f.a.result(n,"url")||H()),null!=r.data||!n||"create"!==t&&"update"!==t&&"patch"!==t||(i.data=JSON.stringify(r.attrs||n.toJSON(r))),"PROPFIND"!==i.type&&(i.processData=!1),"PROPFIND"===i.type||"PROPPATCH"===i.type){var s=n.davProperties;!s&&n.model&&(s=n.model.prototype.davProperties),s&&(f.a.isFunction(s)?i.davProperties=s.call(n):i.davProperties=s),i.davProperties=f.a.extend(i.davProperties||{},r.davProperties),f.a.isUndefined(r.depth)&&(r.depth=a?1:0)}var o=r.error;r.error=function(e,t,n){r.textStatus=t,r.errorThrown=n,o&&o.call(r.context,e,t,n)};var u=r.xhr=e.davCall(f.a.extend(i,r),n);return n.trigger("request",n,u,r),u}},z=D.a.noConflict();Object.assign(z,{davCall:I,davSync:R(z)});var U=z,$=arguments,J=function(e){if(!e)return e;for(var t=e.split("/"),n=[],r=0;r<t.length;r++)n.push(encodeURIComponent(t[r]));return n.join("/")},q=function(e){return e.replace(/\\/g,"/").replace(/.*\//,"")},B=function(e){return e.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")},V=function(e,t){var n=(e||"").split("/").filter(function(e){return"."!==e}),r=(t||"").split("/").filter(function(e){return"."!==e});return(e=G.apply(void 0,n))===(t=G.apply(void 0,r))},G=function(){if($.length<1)return"";for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(e){return e.length>0});if(r.length<1)return"";var i=r[r.length-1],a="/"===r[0].charAt(0),s="/"===i.charAt(i.length-1),o=r.reduce(function(e,t){return e.concat(t.split("/"))},[]),u=!a,d=o.reduce(function(e,t){return""===t?e:u?(u=!1,e+t):e+"/"+t},"");return s?d+"/":d},K=i(78),X=window._oc_config||{},Q=X,Z=i(5),ee=i(251),te=document.getElementsByTagName("head")[0].getAttribute("data-user"),ne=document.getElementsByTagName("head")[0].getAttribute("data-user-displayname"),re=void 0!==te&&te,ie=function(){return{uid:re,displayName:ne}},ae=i(34),se={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,dialogsCounter:0,alert:function(e,t,n,r){this.message(e,t,"alert",se.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",se.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",se.YES_NO_BUTTONS,n,r)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",se.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,i,a,s){return o.a.when(this._getMessageTemplate()).then(function(u){var d="oc-dialog-"+se.dialogsCounter+"-content",l="#"+d,c=u.octemplate({dialog_name:d,title:n,message:e,type:"notice"}),_=o()("<input/>");_.attr("type",s?"password":"text").attr("id",d+"-input").attr("placeholder",a);var h=o()("<label/>").attr("for",d+"-input").text(a+": ");c.append(h),c.append(_),void 0===i&&(i=!1),o()("body").append(c),void 0!==r&&(r=f.a.once(r));var m=[{text:t("core","No"),click:function(){void 0!==r&&r(!1,_.val()),o()(l).ocdialog("close")}},{text:t("core","Yes"),click:function(){void 0!==r&&r(!0,_.val()),o()(l).ocdialog("close")},defaultButton:!0}];o()(l).ocdialog({closeOnEscape:!0,modal:i,buttons:m,close:function(){void 0!==r&&r(!1,_.val())}}),_.focus(),se.dialogsCounter++})},filepicker:function(e,n,r,i,a,s,u,d){var l=this;if(this.filepicker.sortField="name",this.filepicker.sortOrder="asc",!this.filepicker.loading){void 0===s&&(s=this.FILEPICKER_TYPE_CHOOSE);var c=t("core","No files in here"),_=t("files","New folder");s!==this.FILEPICKER_TYPE_COPY&&s!==this.FILEPICKER_TYPE_MOVE&&s!==this.FILEPICKER_TYPE_COPY_MOVE||(c=t("core","No more subfolders in here")),this.filepicker.loading=!0,this.filepicker.filesClient=ae.a.Sharing&&ae.a.Sharing.PublicApp&&ae.a.Sharing.PublicApp.fileList?ae.a.Sharing.PublicApp.fileList.filesClient:qe.Files.getClient(),this.filelist=null,u=u||"",d=Object.assign({allowDirectoryChooser:!1},d),o.a.when(this._getFilePickerTemplate()).then(function(h){l.filepicker.loading=!1;l.$filePicker&&l.$filePicker.ocdialog("close"),null==i&&(i=[]),"string"==typeof i&&(i=[i]),l.$filePicker=h.octemplate({dialog_name:"oc-dialog-filepicker-content",title:e,emptytext:c,newtext:_,nameCol:t("core","Name"),sizeCol:t("core","Size"),modifiedCol:t("core","Modified")}).data("path",u).data("multiselect",r).data("mimetype",i).data("allowDirectoryChooser",d.allowDirectoryChooser),void 0===a&&(a=!1),void 0===r&&(r=!1),qe.Util.isIE()&&(l.$filePicker.find("#picker-view-toggle").remove(),l.$filePicker.find("#picker-filestable").removeClass("view-grid")),o()("body").append(l.$filePicker),l.$showGridView=o()("input#picker-showgridview"),l.$showGridView.on("change",f.a.bind(l._onGridviewChange,l)),qe.Util.isIE()||l._getGridSettings();var m=l.$filePicker.find(".actions.creatable .button-add");s===l.FILEPICKER_TYPE_CHOOSE&&m.hide(),m.on("focus",function(){l.$filePicker.ocdialog("setEnterCallback",function(){event.stopImmediatePropagation(),event.preventDefault(),m.click()})}),m.on("blur",function(){l.$filePicker.ocdialog("unsetEnterCallback")}),qe.registerMenu(m,l.$filePicker.find(".menu"),function(){y.focus(),l.$filePicker.ocdialog("setEnterCallback",function(){event.stopImmediatePropagation(),event.preventDefault(),l.$form.submit()});var e=y.val(),t=e.lastIndexOf(".");-1===t&&(t=e.length),y.selectRange(0,t)});var p=l.$filePicker.find(".filenameform"),y=p.find("input[type='text']");p.find("input[type='submit']").on("click",function(e){e.stopImmediatePropagation(),e.preventDefault(),p.submit()});p.on("submit",function(e){if(e.stopPropagation(),e.preventDefault(),function(){var e=y.val();try{if(Files.isFileNameValid(e)){if(l.filelist.find(function(e){return e.name===this},e))throw t("files","{newName} already exists",{newName:e},void 0,{escape:!1});return!0}}catch(e){y.attr("title",e),y.tooltip({placement:"right",trigger:"manual",container:".newFolderMenu"}),y.tooltip("fixTitle"),y.tooltip("show"),y.addClass("error")}return!1}()){var n=y.val();l.filepicker.filesClient.createDirectory(l.$filePicker.data("path")+"/"+n).always(function(e){l._fillFilePicker(l.$filePicker.data("path")+"/"+n)}),qe.hideMenus(),l.$filePicker.ocdialog("unsetEnterCallback"),l.$filePicker.click(),y.val(_)}}),y.keypress(function(e){13!==e.keyCode&&13!==e.which||(e.stopImmediatePropagation(),e.preventDefault(),p.submit())}),l.$filePicker.ready(function(){l.$fileListHeader=l.$filePicker.find(".filelist thead tr"),l.$filelist=l.$filePicker.find(".filelist tbody"),l.$filelistContainer=l.$filePicker.find(".filelist-container"),l.$dirTree=l.$filePicker.find(".dirtree"),l.$dirTree.on("click","div:not(:last-child)",l,function(e){l._handleTreeListSelect(e,s)}),l.$filelist.on("click","tr",function(e){l._handlePickerClick(e,o()(this),s)}),l.$fileListHeader.on("click","a",function(e){var t=l.$filePicker.data("path");l.filepicker.sortField=o()(e.currentTarget).data("sort"),l.filepicker.sortOrder="asc"===l.filepicker.sortOrder?"desc":"asc",l._fillFilePicker(t)}),l._fillFilePicker(u)});var M=function(e){if(void 0!==n){var t;if(!0===r)t=[],l.$filelist.find("tr.filepicker_element_selected").each(function(e,n){t.push(l.$filePicker.data("path")+"/"+o()(n).data("entryname"))});else{t=l.$filePicker.data("path");var i=l.$filelist.find("tr.filepicker_element_selected").data("entryname");i&&(t+="/"+i)}n(t,e),l.$filePicker.ocdialog("close")}},g=[];s===se.FILEPICKER_TYPE_CHOOSE?g.push({text:t("core","Choose"),click:function(){M(se.FILEPICKER_TYPE_CHOOSE)},defaultButton:!0}):(s!==se.FILEPICKER_TYPE_COPY&&s!==se.FILEPICKER_TYPE_COPY_MOVE||g.push({text:t("core","Copy"),click:function(){M(se.FILEPICKER_TYPE_COPY)},defaultButton:!1}),s!==se.FILEPICKER_TYPE_MOVE&&s!==se.FILEPICKER_TYPE_COPY_MOVE||g.push({text:t("core","Move"),click:function(){M(se.FILEPICKER_TYPE_MOVE)},defaultButton:!0})),l.$filePicker.ocdialog({closeOnEscape:!0,width:600,height:500,modal:a,buttons:g,style:{buttons:"aside"},close:function(){try{o()(this).ocdialog("destroy").remove()}catch(e){}l.$filePicker=null}});var v=l.$filePicker.closest(".oc-dialog").find(".primary");-1===l.$filePicker.data("mimetype").indexOf("httpd/unix-directory")||l.$filePicker.data(".allowDirectoryChooser")?v.prop("disabled",!0):v.prop("disabled",!1)}).fail(function(e,n){l.filepicker.loading=!1,0!==e&&alert(t("core","Error loading file picker template: {error}",{error:n}))})}},message:function(e,n,r,i,a,s,u){return o.a.when(this._getMessageTemplate()).then(function(d){var l="oc-dialog-"+se.dialogsCounter+"-content",c="#"+l,_=d.octemplate({dialog_name:l,title:n,message:e,type:r},u?{escapeFunction:""}:{});void 0===s&&(s=!1),o()("body").append(_);var f=[];switch(i){case se.YES_NO_BUTTONS:f=[{text:t("core","No"),click:function(){void 0!==a&&a(!1),o()(c).ocdialog("close")}},{text:t("core","Yes"),click:function(){void 0!==a&&a(!0),o()(c).ocdialog("close")},defaultButton:!0}];break;case se.OK_BUTTON:f[0]={text:t("core","OK"),click:function(){o()(c).ocdialog("close"),void 0!==a&&a()},defaultButton:!0}}o()(c).ocdialog({closeOnEscape:!0,modal:s,buttons:f}),se.dialogsCounter++}).fail(function(r,i){0===r?alert(n+": "+e):alert(t("core","Error loading message template: {error}",{error:i}))})},_fileexistsshown:!1,fileexists:function(e,r,i,a){var s=this,u=new o.a.Deferred,d=function(e){var t,n,r,i=document.createElement("canvas"),a=e.width,s=e.height;return a>s?(n=0,t=(a-s)/2):(n=(s-a)/2,t=0),r=Math.min(a,s),i.width=r,i.height=r,i.getContext("2d").drawImage(e,t,n,r,r,0,0,r,r),l(i,r,r,96,96),i.toDataURL("image/png",.7)},l=function(e,t,n,r,i){r=Math.round(r),i=Math.round(i);for(var a=e.getContext("2d").getImageData(0,0,t,n),s=e.getContext("2d").getImageData(0,0,r,i),o=a.data,u=s.data,d=t/r,l=n/i,c=Math.ceil(d/2),_=Math.ceil(l/2),f=0;f<i;f++)for(var h=0;h<r;h++){for(var m=4*(h+f*r),p=0,y=0,M=0,g=0,v=0,L=0,Y=0,k=(f+.5)*l,w=Math.floor(f*l);w<(f+1)*l;w++)for(var b=Math.abs(k-(w+.5))/_,T=(h+.5)*d,D=b*b,x=Math.floor(h*d);x<(h+1)*d;x++){var S=Math.abs(T-(x+.5))/c,j=Math.sqrt(D+S*S);j>=-1&&j<=1&&(p=2*j*j*j-3*j*j+1)>0&&(Y+=p*o[(S=4*(x+w*t))+3],M+=p,o[S+3]<255&&(p=p*o[S+3]/250),g+=p*o[S],v+=p*o[S+1],L+=p*o[S+2],y+=p)}u[m]=g/y,u[m+1]=v/y,u[m+2]=L/y,u[m+3]=Y/M}e.getContext("2d").clearRect(0,0,Math.max(t,r),Math.max(n,i)),e.width=r,e.height=i,e.getContext("2d").putImageData(s,0,0)},c=function(n,r,i){var a=n.find(".template").clone().removeClass("template").addClass("conflict"),s=a.find(".original"),u=a.find(".replacement");a.data("data",e),a.find(".filename").text(r.name),s.find(".size").text(humanFileSize(r.size)),s.find(".mtime").text(formatDate(r.mtime)),i.size&&i.lastModifiedDate&&(u.find(".size").text(humanFileSize(i.size)),u.find(".mtime").text(formatDate(i.lastModifiedDate)));var l=r.directory+"/"+r.name,c={file:l,x:96,y:96,c:r.etag,forceIcon:0},_=Files.generatePreviewUrl(c);_=_.replace(/'/g,"%27"),s.find(".icon").css({"background-image":"url('"+_+"')"}),function(e){var t=new o.a.Deferred,n=e.type&&e.type.split("/").shift();if(window.FileReader&&"image"===n){var r=new FileReader;r.onload=function(e){var n=new Blob([e.target.result]);window.URL=window.URL||window.webkitURL;var r=window.URL.createObjectURL(n),i=new Image;i.src=r,i.onload=function(){var e=d(i);t.resolve(e)}},r.readAsArrayBuffer(e)}else t.reject();return t}(i).then(function(e){u.find(".icon").css("background-image","url("+e+")")},function(){l=qe.MimeType.getIconUrl(i.type),u.find(".icon").css("background-image","url("+l+")")});var f=n.find(".conflict").length;s.find("input:checkbox").attr("id","checkbox_original_"+f),u.find("input:checkbox").attr("id","checkbox_replacement_"+f),n.append(a),i.lastModifiedDate&&i.lastModifiedDate.getTime()>r.mtime?u.find(".mtime").css("font-weight","bold"):i.lastModifiedDate&&i.lastModifiedDate.getTime()<r.mtime&&s.find(".mtime").css("font-weight","bold"),i.size&&i.size>r.size?u.find(".size").css("font-weight","bold"):i.size&&i.size<r.size&&s.find(".size").css("font-weight","bold"),"readonly"===r.status&&(s.addClass("readonly").find('input[type="checkbox"]').prop("checked",!0).prop("disabled",!0),s.find(".message").text(t("core","read-only")))},_="#oc-dialog-fileexists-content";if(this._fileexistsshown){var f=o()(_+" .conflicts");c(f,r,i);var h=o()(_+" .conflict").length,m=n("core","{count} file conflict","{count} file conflicts",h,{count:h});o()(_).parent().children(".oc-dialog-title").text(m),o()(window).trigger("resize"),u.resolve()}else this._fileexistsshown=!0,o.a.when(this._getFileExistsTemplate()).then(function(n){var d=t("core","One file conflict"),l=n.octemplate({dialog_name:"oc-dialog-fileexists-content",title:d,type:"fileexists",allnewfiles:t("core","New Files"),allexistingfiles:t("core","Already existing files"),why:t("core","Which files do you want to keep?"),what:t("core","If you select both versions, the copied file will have a number added to its name.")});if(o()("body").append(l),r&&i){var f=l.find(".conflicts");c(f,r,i)}var h=[{text:t("core","Cancel"),classes:"cancel",click:function(){void 0!==a.onCancel&&a.onCancel(e),o()(_).ocdialog("close")}},{text:t("core","Continue"),classes:"continue",click:function(){void 0!==a.onContinue&&a.onContinue(o()(_+" .conflict")),o()(_).ocdialog("close")}}];o()(_).ocdialog({width:500,closeOnEscape:!0,modal:!0,buttons:h,closeButton:null,close:function(){s._fileexistsshown=!1,o()(this).ocdialog("destroy").remove()}}),o()(_).css("height","auto");var m=l.closest(".oc-dialog").find("button.continue");function p(){var e=l.find(".conflicts .checkbox:checked").length;m.prop("disabled",0===e)}m.prop("disabled",!0),o()(_).find(".allnewfiles").on("click",function(){o()(_).find('.conflict .replacement input[type="checkbox"]').prop("checked",o()(this).prop("checked"))}),o()(_).find(".allexistingfiles").on("click",function(){o()(_).find('.conflict .original:not(.readonly) input[type="checkbox"]').prop("checked",o()(this).prop("checked"))}),o()(_).find(".conflicts").on("click",".replacement,.original:not(.readonly)",function(){var e=o()(this).find('input[type="checkbox"]');e.prop("checked",!e.prop("checked"))}),o()(_).find(".conflicts").on("click",'.replacement input[type="checkbox"],.original:not(.readonly) input[type="checkbox"]',function(){var e=o()(this);e.prop("checked",!e.prop("checked"))}),o()(_).on("click",".replacement,.allnewfiles",function(){var e=o()(_).find('.conflict .replacement input[type="checkbox"]:checked').length;e===o()(_+" .conflict").length?(o()(_).find(".allnewfiles").prop("checked",!0),o()(_).find(".allnewfiles + .count").text(t("core","(all selected)"))):e>0?(o()(_).find(".allnewfiles").prop("checked",!1),o()(_).find(".allnewfiles + .count").text(t("core","({count} selected)",{count:e}))):(o()(_).find(".allnewfiles").prop("checked",!1),o()(_).find(".allnewfiles + .count").text("")),p()}),o()(_).on("click",".original,.allexistingfiles",function(){var e=o()(_).find('.conflict .original input[type="checkbox"]:checked').length;e===o()(_+" .conflict").length?(o()(_).find(".allexistingfiles").prop("checked",!0),o()(_).find(".allexistingfiles + .count").text(t("core","(all selected)"))):e>0?(o()(_).find(".allexistingfiles").prop("checked",!1),o()(_).find(".allexistingfiles + .count").text(t("core","({count} selected)",{count:e}))):(o()(_).find(".allexistingfiles").prop("checked",!1),o()(_).find(".allexistingfiles + .count").text("")),p()}),u.resolve()}).fail(function(){u.reject(),alert(t("core","Error loading file exists template"))});return u.promise()},_getGridSettings:function(){var e=this;o.a.get(qe.generateUrl("/apps/files/api/v1/showgridview"),function(t){e.$showGridView.get(0).checked=t.gridview,e.$showGridView.next("#picker-view-toggle").removeClass("icon-toggle-filelist icon-toggle-pictures").addClass(t.gridview?"icon-toggle-filelist":"icon-toggle-pictures"),o()(".list-container").toggleClass("view-grid",t.gridview)})},_onGridviewChange:function(){var e=this.$showGridView.is(":checked");qe.currentUser&&o.a.post(qe.generateUrl("/apps/files/api/v1/showgridview"),{show:e}),this.$showGridView.next("#picker-view-toggle").removeClass("icon-toggle-filelist icon-toggle-pictures").addClass(e?"icon-toggle-filelist":"icon-toggle-pictures"),o()(".list-container").toggleClass("view-grid",e)},_getFilePickerTemplate:function(){var e=o.a.Deferred();if(this.$filePickerTemplate)e.resolve(this.$filePickerTemplate);else{var t=this;o.a.get(qe.filePath("core","templates","filepicker.html"),function(n){t.$filePickerTemplate=o()(n),t.$listTmpl=t.$filePickerTemplate.find(".filelist tbody tr:first-child").detach(),e.resolve(t.$filePickerTemplate)}).fail(function(t,n,r){e.reject(t.status,r)})}return e.promise()},_getMessageTemplate:function(){var e=o.a.Deferred();if(this.$messageTemplate)e.resolve(this.$messageTemplate);else{var t=this;o.a.get(qe.filePath("core","templates","message.html"),function(n){t.$messageTemplate=o()(n),e.resolve(t.$messageTemplate)}).fail(function(t,n,r){e.reject(t.status,r)})}return e.promise()},_getFileExistsTemplate:function(){var e=o.a.Deferred();if(this.$fileexistsTemplate)e.resolve(this.$fileexistsTemplate);else{var t=this;o.a.get(qe.filePath("files","templates","fileexists.html"),function(n){t.$fileexistsTemplate=o()(n),e.resolve(t.$fileexistsTemplate)}).fail(function(){e.reject()})}return e.promise()},_getFileList:function(e,t){return"string"==typeof t&&(t=[t]),o.a.getJSON(qe.filePath("files","ajax","list.php"),{dir:e,mimetypes:JSON.stringify(t)})},_fillFilePicker:function(e){var n=this;this.$filelist.empty(),this.$filePicker.find(".emptycontent").hide(),this.$filelistContainer.addClass("icon-loading"),this.$filePicker.data("path",e);var r=this.$filePicker.data("mimetype");"string"==typeof r&&(r=[r]),n.$fileListHeader.find(".sort-indicator").addClass("hidden").removeClass("icon-triangle-n").removeClass("icon-triangle-s"),n.$fileListHeader.find("[data-sort="+n.filepicker.sortField+"] .sort-indicator").removeClass("hidden"),"asc"===n.filepicker.sortOrder?n.$fileListHeader.find("[data-sort="+n.filepicker.sortField+"] .sort-indicator").addClass("icon-triangle-n"):n.$fileListHeader.find("[data-sort="+n.filepicker.sortField+"] .sort-indicator").addClass("icon-triangle-s"),n.filepicker.filesClient.getFolderContents(e).then(function(i,a){n.filelist=a,r&&r.length>0&&-1===r.indexOf("*")&&(a=a.filter(function(e){return"dir"===e.type||-1!==r.indexOf(e.mimetype)}));var s={name:function(e,t){return"dir"===e.type&&"dir"!==t.type?-1:"dir"!==e.type&&"dir"===t.type?1:qe.Util.naturalSortCompare(e.name,t.name)},size:function(e,t){return e.size-t.size},mtime:function(e,t){return e.mtime-t.mtime}},u=s[n.filepicker.sortField]||s.name;a=a.sort(function(e,t){var r=function(e){return e.tags&&e.tags.indexOf(qe.TAG_FAVORITE)>=0};return r(e)&&!r(t)?-1:!r(e)&&r(t)?1:"asc"===n.filepicker.sortOrder?u(e,t):-u(e,t)}),n._fillSlug(),0===a.length?(n.$filePicker.find(".emptycontent").show(),n.$fileListHeader.hide()):(n.$filePicker.find(".emptycontent").hide(),n.$fileListHeader.show()),o.a.each(a,function(r,i){var a,s;if(i.icon=qe.MimeType.getIconUrl(i.mimetype),void 0!==i.size&&i.size>=0?(a=humanFileSize(parseInt(i.size,10),!0),s=Math.round(160-Math.pow(i.size/1048576,2))):(a=t("files","Pending"),s=80),i.name.length>=10)var u=Math.min(Math.floor(i.name.length/2),10),d=i.name.substr(0,i.name.length-u),l=i.name.substr(i.name.length-u);else d=i.name,l="";var c=n.$listTmpl.octemplate({type:i.type,dir:e,filename:i.name,filename1:d,filename2:l,date:qe.Util.relativeModifiedDate(i.mtime),size:a,sizeColor:s,icon:i.icon});if("file"===i.type){var _={file:e+"/"+i.name,x:100,y:100},f=new Image,h=qe.generateUrl("/core/preview.png?")+o.a.param(_);f.onload=function(){f.width>5&&c.find("td.filename").attr("style","background-image:url("+h+")")},f.src=h}n.$filelist.append(c)}),n.$filelistContainer.removeClass("icon-loading")})},_fillSlug:function(){this.$dirTree.empty();var e=this,t=this.$filePicker.data("path"),n=o()('<div data-dir="{dir}"><a>{name}</a></div>').addClass("crumb");if(t){var r=t.split("/");o.a.each(r,function(t,i){if(""===(i=r.pop()))return!1;e.$dirTree.prepend(n.octemplate({dir:r.join("/")+"/"+i,name:i}))})}n.octemplate({dir:"",name:""},{escapeFunction:null}).prependTo(this.$dirTree)},_handleTreeListSelect:function(e,t){var n=e.data,r=o()(e.target).closest(".crumb").data("dir");n._fillFilePicker(r);var i=e.target.closest(".oc-dialog"),a=o()(".primary",i);this._changeButtonsText(t,r.split(/[/]+/).pop()),-1!==this.$filePicker.data("mimetype").indexOf("httpd/unix-directory")?a.prop("disabled",!1):a.prop("disabled",!0)},_handlePickerClick:function(e,t,n){var r=this.$filePicker.closest(".oc-dialog").find(".primary");"file"===t.data("type")?(!0===this.$filePicker.data("multiselect")&&e.ctrlKey||this.$filelist.find(".filepicker_element_selected").removeClass("filepicker_element_selected"),t.toggleClass("filepicker_element_selected"),r.prop("disabled",!1)):"dir"===t.data("type")&&(this._fillFilePicker(this.$filePicker.data("path")+"/"+t.data("entryname")),this._changeButtonsText(n,t.data("entryname")),-1!==this.$filePicker.data("mimetype").indexOf("httpd/unix-directory")||this.$filePicker.data("allowDirectoryChooser")?r.prop("disabled",!1):r.prop("disabled",!0))},_changeButtonsText:function(e,n){var r=""===n?t("core","Copy"):t("core","Copy to {folder}",{folder:n}),i=""===n?t("core","Move"):t("core","Move to {folder}",{folder:n}),a=o()(".oc-dialog-buttonrow button");switch(e){case this.FILEPICKER_TYPE_CHOOSE:break;case this.FILEPICKER_TYPE_COPY:a.text(r);break;case this.FILEPICKER_TYPE_MOVE:a.text(i);break;case this.FILEPICKER_TYPE_COPY_MOVE:a.eq(0).text(r),a.eq(1).text(i)}}},oe=se,ue=i(31),de=function e(t,n){var r,i,a="";if(this.typelessListeners=[],this.closed=!1,this.listeners={},n)for(r in n)a+=r+"="+encodeURIComponent(n[r])+"&";if(a+="requesttoken="+encodeURIComponent(Object(ue.a)()),this.useFallBack||"undefined"==typeof EventSource){var s="oc_eventsource_iframe_"+e.iframeCount;e.fallBackSources[e.iframeCount]=this,this.iframe=o()("<iframe/>"),this.iframe.attr("id",s),this.iframe.hide(),i="&",-1===t.indexOf("?")&&(i="?"),this.iframe.attr("src",t+i+"fallback=true&fallback_id="+e.iframeCount+"&"+a),o()("body").append(this.iframe),this.useFallBack=!0,e.iframeCount++}else i="&",-1===t.indexOf("?")&&(i="?"),this.source=new EventSource(t+i+a),this.source.onmessage=function(e){for(var t=0;t<this.typelessListeners.length;t++)this.typelessListeners[t](JSON.parse(e.data))}.bind(this);this.listen("__internal__",function(e){"close"===e&&this.close()}.bind(this))};de.fallBackSources=[],de.iframeCount=0,de.fallBackCallBack=function(e,t,n){de.fallBackSources[e].fallBackCallBack(t,n)},de.prototype={typelessListeners:[],iframe:null,listeners:{},useFallBack:!1,fallBackCallBack:function(e,t){var n;if(!this.closed)if(e){if(void 0!==this.listeners.done)for(n=0;n<this.listeners[e].length;n++)this.listeners[e][n](t)}else for(n=0;n<this.typelessListeners.length;n++)this.typelessListeners[n](t)},lastLength:0,listen:function(e,t){t&&t.call&&(e?this.useFallBack?(this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)):this.source.addEventListener(e,function(e){void 0!==e.data?t(JSON.parse(e.data)):t("")},!1):this.typelessListeners.push(t))},close:function(){this.closed=!0,void 0!==this.source&&this.source.close()}};var le=de,ce=function(e){return function(t){for(var n=t.split("."),r=n.pop(),i=0;i<n.length;i++)if(!(e=e[n[i]]))return!1;return e[r]}},_e=function(e){return function(t,n){for(var r=t.split("."),i=r.pop(),a=0;a<r.length;a++)e[r[a]]||(e[r[a]]={}),e=e[r[a]];e[i]=n}},fe=window._oc_capabilities||{},he=function(){return fe},me=function(){return window.location.protocol.split(":")[0]},pe=function(){return window.location.host},ye=function(){return window.location.hostname},Me=function(){return window.location.port},ge=null,ve=function(e,t,n,r){t.addClass("menu"),e.on("A"===e.prop("tagName")||"BUTTON"===e.prop("tagName")?"click.menu":"click.menu keyup.menu",function(i){i.preventDefault(),i.key&&"Enter"!==i.key||(t.is(ge)?Ye():(ge&&Ye(),!0===r&&t.parent().addClass("openedMenu"),e.attr("aria-expanded",!0),t.slideToggle(Z.j,n),ge=t,e))})},Le=function(e,t){t.is(ge)&&Ye(),e.off("click.menu").removeClass("menutoggle"),t.removeClass("menu")},Ye=function(e){if(ge){var t=ge;ge.trigger(new o.a.Event("beforeHide")),ge.slideUp(Z.j,function(){t.trigger(new o.a.Event("afterHide")),e&&e.apply(this,arguments)})}o()(".menutoggle").attr("aria-expanded",!1),o()(".openedMenu").removeClass("openedMenu"),ge=null,null},ke=function(e,t,n){t.is(ge)||(Ye(),ge=t,e,t.trigger(new o.a.Event("beforeShow")),t.show(),t.trigger(new o.a.Event("afterShow")),f.a.isFunction(n)&&n())},we=!!window._oc_isadmin,be=function(){return we},Te=i(19),De={startSaving:function(e){this.startAction(e,t("core","Saving..."))},startAction:function(e,t){o()(e).text(t).removeClass("success").removeClass("error").stop(!0,!0).show()},finishedSaving:function(e,t){this.finishedAction(e,t)},finishedAction:function(e,t){"success"===t.status?this.finishedSuccess(e,t.data.message):this.finishedError(e,t.data.message)},finishedSuccess:function(e,t){o()(e).text(t).addClass("success").removeClass("error").stop(!0,!0).delay(3e3).fadeOut(900).show()},finishedError:function(e,t){o()(e).text(t).addClass("error").removeClass("success").show()}},xe=i(87),Se={_plugins:{},register:function(e,t){var n=this._plugins[e];n||(n=this._plugins[e]=[]),n.push(t)},getPlugins:function(e){return this._plugins[e]||[]},attach:function(e,t,n){for(var r=this.getPlugins(e),i=0;i<r.length;i++)r[i].attach&&r[i].attach(t,n)},detach:function(e,t,n){for(var r=this.getPlugins(e),i=0;i<r.length;i++)r[i].detach&&r[i].detach(t,n)}},je=function(e){qe.Search.search(e,null,0,30)};
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*