nextcloud/core/js/dist/files_client.js

2 lines
126 KiB
JavaScript
Raw Blame History

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=706)}({0:function(e,t,n){var r;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],u=n.document,a=Object.getPrototypeOf,s=o.slice,c=o.concat,f=o.push,l=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,v=h.toString,g=v.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},x={type:!0,src:!0,noModule:!0};function w(e,t,n){var r,i=(t=t||u).createElement("script");if(i.text=e,n)for(r in x)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var S=function(e,t){return new S.fn.init(e,t)},E=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function N(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!m(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:"3.3.1",constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:f,sort:o.sort,splice:o.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,u=arguments[0]||{},a=1,s=arguments.length,c=!1;for("boolean"==typeof u&&(c=u,u=arguments[a]||{},a++),"object"==typeof u||m(u)||(u={}),a===s&&(u=this,a--);a<s;a++)if(null!=(e=arguments[a]))for(t in e)n=u[t],u!==(r=e[t])&&(c&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&S.isPlainObject(n)?n:{},u[t]=S.extend(c,o,r)):void 0!==r&&(u[t]=r));return u},S.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e))&&(!(t=a(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&v.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){w(e)},each:function(e,t){var n,r=0;if(N(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(E,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(N(Object(e))?S.merge(n,"string"==typeof e?[e]:e):f.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,u=!n;i<o;i++)!t(e[i],i)!==u&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,u=[];if(N(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&u.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&u.push(i);return c.apply([],u)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=o[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var C=function(e){var t,n,r,i,o,u,a,s,c,f,l,d,p,h,v,g,y,m,b,x="sizzle"+1*new Date,w=e.document,T=0,S=0,E=ue(),N=ue(),C=ue(),_=function(e,t){return e===t&&(l=!0),0},A={}.hasOwnProperty,D=[],O=D.pop,j=D.push,P=D.push,k=D.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+q+"*("+I+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+q+"*\\]",H=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",F=new RegExp(q+"+","g"),U=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g"),B=new RegExp("^"+q+"*,"+q+"*"),W=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),$=new RegExp("="+q+"*([^\\]'\"]*?)"+q+"*\\]","g"),V=new RegExp(H),z=new RegExp("^"+I+"$"),Y={"ID":new RegExp("^#("+I+")"),"CLASS":new RegExp("^\\.("+I+")"),"TAG":new RegExp("^("+I+"|[*])"),"ATTR":new RegExp("^"+M),"PSEUDO":new RegExp("^"+H),"CHILD":new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),"bool":new RegExp("^(?:"+L+")$","i"),"needsContext":new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+q+"?|("+q+")|.)","ig"),ee=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)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},ie=me((function(e){return!0===e.disabled&&("form"in e||"label"in e)}),{dir:"parentNode",next:"legend"});try{P.apply(D=k.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){P={apply:D.length?function(e,t){j.apply(e,k.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,a,c,f,l,h,y,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,v)){if(11!==T&&(l=Q.exec(e)))if(o=l[1]){if(9===T){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(m&&(c=m.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(l[2])return P.apply(r,t.getElementsByTagName(e)),r;if((o=l[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!C[e+" "]&&(!g||!g.test(e))){if(1!==T)m=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((f=t.getAttribute("id"))?f=f.replace(te,ne):t.setAttribute("id",f=x),a=(h=u(e)).length;a--;)h[a]="#"+f+" "+ye(h[a]);y=h.join(","),m=J.test(e)&&ve(t.parentNode)||t}if(y)try{return P.apply(r,m.querySelectorAll(y)),r}catch(e){}finally{f===x&&t.removeAttribute("id")}}}return s(e.replace(U,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ae(e){return e[x]=!0,e}function se(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return ae((function(t){return t=+t,ae((function(n,r){for(var i,o=e([],n.length,t),u=o.length;u--;)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=oe.setDocument=function(e){var t,i,u=e?e.ownerDocument||e:w;return u!==p&&9===u.nodeType&&u.documentElement?(h=(p=u).documentElement,v=!o(p),w!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=se((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=se((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(p.getElementsByClassName),n.getById=se((function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),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,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=K.test(p.querySelectorAll))&&(se((function(e){h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+q+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+q+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")})),se((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+q+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=K.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se((function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),y.push("!=",H)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.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},_=t?function(e,t){if(e===t)return l=!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===p||e.ownerDocument===w&&b(w,e)?-1:t===p||t.ownerDocument===w&&b(w,t)?1:f?R(f,e)-R(f,t):0:4&r?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,u=[e],a=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:f?R(f,e)-R(f,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)u.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;u[r]===a[r];)r++;return r?fe(u[r],a[r]):u[r]===w?-1:a[r]===w?1:0},p):p},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),t=t.replace($,"='$1']"),n.matchesSelector&&v&&!C[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,p,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),b(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==o?o:n.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(l=!n.detectDuplicates,f=!n.sortStable&&e.slice(0),e.sort(_),l){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return f=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:ae,match:Y,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(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===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]||oe.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]&&oe.error(e[0]),e},"PSEUDO":function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=u(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(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},"CLASS":function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+q+")"+e+"("+q+"|$)"))&&E(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=oe.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(F," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},"CHILD":function(e,t,n,r,i){var o="nth"!==e.slice(0,3),u="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,s){var c,f,l,d,p,h,v=o!==u?"nextSibling":"previousSibling",g=t.parentNode,y=a&&t.nodeName.toLowerCase(),m=!s&&!a,b=!1;if(g){if(o){for(;v;){for(d=t;d=d[v];)if(a?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[u?g.firstChild:g.lastChild],u&&m){for(b=(p=(c=(f=(l=(d=g)[x]||(d[x]={}))[d.uniqueID]||(l[d.uniqueID]={}))[e]||[])[0]===T&&c[1])&&c[2],d=p&&g.childNodes[p];d=++p&&d&&d[v]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){f[e]=[T,p,b];break}}else if(m&&(b=p=(c=(f=(l=(d=t)[x]||(d[x]={}))[d.uniqueID]||(l[d.uniqueID]={}))[e]||[])[0]===T&&c[1]),!1===b)for(;(d=++p&&d&&d[v]||(b=p=0)||h.pop())&&((a?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++b||(m&&((f=(l=d[x]||(d[x]={}))[d.uniqueID]||(l[d.uniqueID]={}))[e]=[T,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},"PSEUDO":function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ae((function(e,n){for(var r,o=i(e,t),u=o.length;u--;)e[r=R(e,o[u])]=!(n[r]=o[u])})):function(e){return i(e,0,n)}):i}},pseudos:{"not":ae((function(e){var t=[],n=[],r=a(e.replace(U,"$1"));return r[x]?ae((function(e,t,n,i){for(var o,u=r(e,null,i,[]),a=e.length;a--;)(o=u[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),"has":ae((function(e){return function(t){return oe(e,t).length>0}})),"contains":ae((function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),"lang":ae((function(e){return z.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=v?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===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},"enabled":pe(!1),"disabled":pe(!0),"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 G.test(e.nodeName)},"input":function(e){return X.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":he((function(){return[0]})),"last":he((function(e,t){return[t-1]})),"eq":he((function(e,t,n){return[n<0?n+t:n]})),"even":he((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),"odd":he((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),"lt":he((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),"gt":he((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]=le(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=de(t);function ge(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,u=n&&"parentNode"===o,a=S++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||u)return e(t,n,i);return!1}:function(t,n,s){var c,f,l,d=[T,a];if(s){for(;t=t[r];)if((1===t.nodeType||u)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||u)if(f=(l=t[x]||(t[x]={}))[t.uniqueID]||(l[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=f[o])&&c[0]===T&&c[1]===a)return d[2]=c[2];if(f[o]=d,d[2]=e(t,n,s))return!0}return!1}}function be(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 xe(e,t,n,r,i){for(var o,u=[],a=0,s=e.length,c=null!=t;a<s;a++)(o=e[a])&&(n&&!n(o,r,i)||(u.push(o),c&&t.push(a)));return u}function we(e,t,n,r,i,o){return r&&!r[x]&&(r=we(r)),i&&!i[x]&&(i=we(i,o)),ae((function(o,u,a,s){var c,f,l,d=[],p=[],h=u.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}(t||"*",a.nodeType?[a]:a,[]),g=!e||!o&&t?v:xe(v,d,e,a,s),y=n?i||(o?e:h||r)?[]:u:g;if(n&&n(g,y,a,s),r)for(c=xe(y,p),r(c,[],a,s),f=c.length;f--;)(l=c[f])&&(y[p[f]]=!(g[p[f]]=l));if(o){if(i||e){if(i){for(c=[],f=y.length;f--;)(l=y[f])&&c.push(g[f]=l);i(null,y=[],c,s)}for(f=y.length;f--;)(l=y[f])&&(c=i?R(o,l):d[f])>-1&&(o[c]=!(u[c]=l))}}else y=xe(y===u?y.splice(h,y.length):y),i?i(null,u,y,s):P.apply(u,y)}))}function Te(e){for(var t,n,i,o=e.length,u=r.relative[e[0].type],a=u||r.relative[" "],s=u?1:0,f=me((function(e){return e===t}),a,!0),l=me((function(e){return R(t,e)>-1}),a,!0),d=[function(e,n,r){var i=!u&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r));return t=null,i}];s<o;s++)if(n=r.relative[e[s].type])d=[me(be(d),n)];else{if((n=r.filter[e[s].type].apply(null,e[s].matches))[x]){for(i=++s;i<o&&!r.relative[e[i].type];i++);return we(s>1&&be(d),s>1&&ye(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(U,"$1"),n,s<i&&Te(e.slice(s,i)),i<o&&Te(e=e.slice(i)),i<o&&ye(e))}d.push(n)}return be(d)}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,u=oe.tokenize=function(e,t){var n,i,o,u,a,s,c,f=N[e+" "];if(f)return t?0:f.slice(0);for(a=e,s=[],c=r.preFilter;a;){for(u in n&&!(i=B.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(o=[])),n=!1,(i=W.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(U," ")}),a=a.slice(n.length)),r.filter)!(i=Y[u].exec(a))||c[u]&&!(i=c[u](i))||(n=i.shift(),o.push({value:n,type:u,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?oe.error(e):N(e,s).slice(0)},a=oe.compile=function(e,t){var n,i=[],o=[],a=C[e+" "];if(!a){for(t||(t=u(e)),n=t.length;n--;)(a=Te(t[n]))[x]?i.push(a):o.push(a);(a=C(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,u,a,s,f){var l,h,g,y=0,m="0",b=o&&[],x=[],w=c,S=o||i&&r.find.TAG("*",f),E=T+=null==w?1:Math.random()||.1,N=S.length;for(f&&(c=u===p||u||f);m!==N&&null!=(l=S[m]);m++){if(i&&l){for(h=0,u||l.ownerDocument===p||(d(l),a=!v);g=e[h++];)if(g(l,u||p,a)){s.push(l);break}f&&(T=E)}n&&((l=!g&&l)&&y--,o&&b.push(l))}if(y+=m,n&&m!==y){for(h=0;g=t[h++];)g(b,x,u,a);if(o){if(y>0)for(;m--;)b[m]||x[m]||(x[m]=O.call(s));x=xe(x)}P.apply(s,x),f&&!o&&x.length>0&&y+t.length>1&&oe.uniqueSort(s)}return f&&(T=E,c=w),b};return n?ae(o):o}(o,i))).selector=e}return a},s=oe.select=function(e,t,n,i){var o,s,c,f,l,d="function"==typeof e&&e,p=!i&&u(e=d.selector||e);if(n=n||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(c=s[0]).type&&9===t.nodeType&&v&&r.relative[s[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(Z,ee),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(o=Y.needsContext.test(e)?0:s.length;o--&&(c=s[o],!r.relative[f=c.type]);)if((l=r.find[f])&&(i=l(c.matches[0].replace(Z,ee),J.test(s[0].type)&&ve(t.parentNode)||t))){if(s.splice(o,1),!(e=i.length&&ye(s)))return P.apply(n,i),n;break}}return(d||a(e,p))(i,t,!v,n,!t||J.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(_).join("")===x,n.detectDuplicates=!!l,d(),n.sortDetached=se((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),se((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ce("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&se((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ce("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),se((function(e){return null==e.getAttribute("disabled")}))||ce(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),oe}(n);S.find=C,S.expr=C.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=C.uniqueSort,S.text=C.getText,S.isXMLDoc=C.isXML,S.contains=C.contains,S.escapeSelector=C.escape;var _=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=S.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return m(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return l.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return r>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&D.test(e)?S(e):e||[],!1).length}});var k,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:R.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),j.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=u.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,k=S(u);var L=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],u="string"!=typeof e&&S(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(u?u.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(S(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return O(e,"iframe")?e.contentDocument:(O(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var i=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=S.filter(r,i)),this.length>1&&(q[e]||S.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}}));var M=/[^\x20\t\r\n\f]+/g;function H(e){return e}function F(e){throw e}function U(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(M)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,i,o=[],u=[],a=-1,s=function(){for(i=i||e.once,r=t=!0;u.length;a=-1)for(n=u.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,u.push(n)),function t(n){S.each(n,(function(n,r){m(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==T(r)&&t(r)}))}(arguments),n&&!t&&s()),this},remove:function(){return S.each(arguments,(function(e,t){for(var n;(n=S.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=u=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=u=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],u.push(n),t||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var i=m(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&m(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function u(e,t,r,i){return function(){var a=this,s=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(a,s))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(c)?i?c.call(n,u(o,t,H,i),u(o,t,F,i)):(o++,c.call(n,u(o,t,H,i),u(o,t,F,i),u(o,t,H,t.notifyWith))):(r!==H&&(a=void 0,s=[n]),(i||t.resolveWith)(a,s))}},f=i?c:function(){try{c()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,f.stackTrace),e+1>=o&&(r!==F&&(a=void 0,s=[n]),t.rejectWith(a,s))}};e?f():(S.Deferred.getStackHook&&(f.stackTrace=S.Deferred.getStackHook()),n.setTimeout(f))}}return S.Deferred((function(n){t[0][3].add(u(0,n,m(i)?i:H,n.notifyWith)),t[1][3].add(u(0,n,m(e)?e:H)),t[2][3].add(u(0,n,m(r)?r:F))})).promise()},promise:function(e){return null!=e?S.extend(e,i):i}},o={};return S.each(t,(function(e,n){var u=n[2],a=n[5];i[n[1]]=u.add,a&&u.add((function(){r=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),u.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=u.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=S.Deferred(),u=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(U(e,o.done(u(n)).resolve,o.reject,!t),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)U(i[n],u(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){n.setTimeout((function(){throw e}))};var W=S.Deferred();function $(){u.removeEventListener("DOMContentLoaded",$),n.removeEventListener("load",$),S.ready()}S.fn.ready=function(e){return W.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||W.resolveWith(u,[S]))}}),S.ready.then=W.then,"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?n.setTimeout(S.ready):(u.addEventListener("DOMContentLoaded",$),n.addEventListener("load",$));var V=function(e,t,n,r,i,o,u){var a=0,s=e.length,c=null==n;if("object"===T(n))for(a in i=!0,n)V(e,t,a,n[a],!0,o,u);else if(void 0!==r&&(i=!0,m(r)||(u=!0),c&&(u?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(S(e),n)})),t))for(;a<s;a++)t(e[a],n,u?r:r.call(e[a],a,t(e[a],n)));return i?e:c?t.call(e):s?t(e[0],n):o},z=/^-ms-/,Y=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function G(e){return e.replace(z,"ms-").replace(Y,X)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=S.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var J=new Q,Z=new Q,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Z.hasData(e)||J.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,r,i,o=this[0],u=o&&o.attributes;if(void 0===e){if(this.length&&(i=Z.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=u.length;n--;)u[n]&&0===(r=u[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Z.set(this,e)})):V(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Z.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){S.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:S.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,u=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";u--;)(n=J.get(o[u],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&S.contains(e.ownerDocument,e)&&"none"===S.css(e,"display")},ae=function(e,t,n,r){var i,o,u={};for(o in t)u[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=u[o];return i};function se(e,t,n,r){var i,o,u=20,a=r?function(){return r.cur()}:function(){return S.css(e,t,"")},s=a(),c=n&&n[3]||(S.cssNumber[t]?"":"px"),f=(S.cssNumber[t]||"px"!==c&&+s)&&ie.exec(S.css(e,t));if(f&&f[3]!==c){for(s/=2,c=c||f[3],f=+s||1;u--;)S.style(e,t,f+c),(1-o)*(1-(o=a()/s||.5))<=0&&(u=0),f/=o;f*=2,S.style(e,t,f+c),n=n||[]}return n&&(f=+f||+s||0,i=n[1]?f+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=f,r.end=i)),i}var ce={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];return i||(t=n.body.appendChild(n.createElement(r)),i=S.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ce[r]=i,i)}function le(e,t){for(var n,r,i=[],o=0,u=e.length;o<u;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ue(r)&&(i[o]=fe(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<u;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?S(this).show():S(this).hide()}))}});var de=/^(?:checkbox|radio)$/i,pe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ve={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 ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ve.optgroup=ve.option,ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td;var me,be,xe=/<|&#?\w+;/;function we(e,t,n,r,i){for(var o,u,a,s,c,f,l=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===T(o))S.merge(d,o.nodeType?[o]:o);else if(xe.test(o)){for(u=u||l.appendChild(t.createElement("div")),a=(pe.exec(o)||["",""])[1].toLowerCase(),s=ve[a]||ve._default,u.innerHTML=s[1]+S.htmlPrefilter(o)+s[2],f=s[0];f--;)u=u.lastChild;S.merge(d,u.childNodes),(u=l.firstChild).textContent=""}else d.push(t.createTextNode(o));for(l.textContent="",p=0;o=d[p++];)if(r&&S.inArray(o,r)>-1)i&&i.push(o);else if(c=S.contains(o.ownerDocument,o),u=ge(l.appendChild(o),"script"),c&&ye(u),n)for(f=0;o=u[f++];)he.test(o.type||"")&&n.push(o);return l}me=u.createDocumentFragment().appendChild(u.createElement("div")),(be=u.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),me.appendChild(be),y.checkClone=me.cloneNode(!0).cloneNode(!0).lastChild.checked,me.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=u.documentElement,Se=/^key/,Ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ne=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function _e(){return!1}function Ae(){try{return u.activeElement}catch(e){}}function De(e,t,n,r,i,o){var u,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)De(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=_e;else if(!i)return e;return 1===o&&(u=i,(i=function(e){return S().off(e),u.apply(this,arguments)}).guid=u.guid||(u.guid=S.guid++)),e.each((function(){S.event.add(this,t,i,r,n)}))}S.event={global:{},add:function(e,t,n,r,i){var o,u,a,s,c,f,l,d,p,h,v,g=J.get(e);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(Te,i),n.guid||(n.guid=S.guid++),(s=g.events)||(s=g.events={}),(u=g.handle)||(u=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(M)||[""]).length;c--;)p=v=(a=Ne.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),p&&(l=S.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=S.event.special[p]||{},f=S.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=s[p])||((d=s[p]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,h,u)||e.addEventListener&&e.addEventListener(p,u)),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),S.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,u,a,s,c,f,l,d,p,h,v,g=J.hasData(e)&&J.get(e);if(g&&(s=g.events)){for(c=(t=(t||"").match(M)||[""]).length;c--;)if(p=v=(a=Ne.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),p){for(l=S.event.special[p]||{},d=s[p=(r?l.delegateType:l.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)f=d[o],!i&&v!==f.origType||n&&n.guid!==f.guid||a&&!a.test(f.namespace)||r&&r!==f.selector&&("**"!==r||!f.selector)||(d.splice(o,1),f.selector&&d.delegateCount--,l.remove&&l.remove.call(e,f));u&&!d.length&&(l.teardown&&!1!==l.teardown.call(e,h,g.handle)||S.removeEvent(e,p,g.handle),delete s[p])}else for(p in s)S.event.remove(e,p+t[c],n,r,!0);S.isEmptyObject(s)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,u,a=S.event.fix(e),s=new Array(arguments.length),c=(J.get(this,"events")||{})[a.type]||[],f=S.event.special[a.type]||{};for(s[0]=a,t=1;t<arguments.length;t++)s[t]=arguments[t];if(a.delegateTarget=this,!f.preDispatch||!1!==f.preDispatch.call(this,a)){for(u=S.event.handlers.call(this,a,c),t=0;(i=u[t++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,r,i,o,u,a=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],u={},n=0;n<s;n++)void 0===u[i=(r=t[n]).selector+" "]&&(u[i]=r.needsContext?S(i,this).index(c)>-1:S.find(i,this,null,[c]).length),u[i]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return c=this,s<t.length&&a.push({elem:c,handlers:t.slice(s)}),a},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ae()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ae()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&O(this,"input"))return this.click(),!1},_default:function(e){return O(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:_e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Se.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ee.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||S.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(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=_e),this.each((function(){S.event.remove(this,e,n,t)}))}});var Oe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,je=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,u,a,s,c;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),u=J.set(t,o),c=o.events))for(i in delete u.handle,u.events={},c)for(n=0,r=c[i].length;n<r;n++)S.event.add(t,i,c[i][n]);Z.hasData(e)&&(a=Z.access(e),s=S.extend({},a),Z.set(t,s))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&de.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function He(e,t,n,r){t=c.apply([],t);var i,o,u,a,s,f,l=0,d=e.length,p=d-1,h=t[0],v=m(h);if(v||d>1&&"string"==typeof h&&!y.checkClone&&Pe.test(h))return e.each((function(i){var o=e.eq(i);v&&(t[0]=h.call(this,i,o.html())),He(o,t,n,r)}));if(d&&(o=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(u=S.map(ge(i,"script"),Le)).length;l<d;l++)s=i,l!==p&&(s=S.clone(s,!0,!0),a&&S.merge(u,ge(s,"script"))),n.call(e[l],s,l);if(a)for(f=u[u.length-1].ownerDocument,S.map(u,qe),l=0;l<a;l++)s=u[l],he.test(s.type||"")&&!J.access(s,"globalEval")&&S.contains(f,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?S._evalUrl&&S._evalUrl(s.src):w(s.textContent.replace(ke,""),f,s))}return e}function Fe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ge(r)),r.parentNode&&(n&&S.contains(r.ownerDocument,r)&&ye(ge(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e.replace(Oe,"<$1></$2>")},clone:function(e,t,n){var r,i,o,u,a=e.cloneNode(!0),s=S.contains(e.ownerDocument,e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(u=ge(a),r=0,i=(o=ge(e)).length;r<i;r++)Me(o[r],u[r]);if(t)if(n)for(o=o||ge(e),u=u||ge(a),r=0,i=o.length;r<i;r++)Ie(o[r],u[r]);else Ie(e,a);return(u=ge(a,"script")).length>0&&ye(u,!s&&ge(e,"script")),a},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(K(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return V(this,(function(e){return void 0===e?S.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 He(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)}))},prepend:function(){return He(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return V(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&&!je.test(e)&&!ve[(pe.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return He(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(ge(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,r=[],i=S(e),o=i.length-1,u=0;u<=o;u++)n=u===o?this:this.clone(!0),S(i[u])[t](n),f.apply(r,n.get());return this.pushStack(r)}}));var Ue=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Be=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},We=new RegExp(oe.join("|"),"i");function $e(e,t,n){var r,i,o,u,a=e.style;return(n=n||Be(e))&&(""!==(u=n.getPropertyValue(t)||n[t])||S.contains(e.ownerDocument,e)||(u=S.style(e,t)),!y.pixelBoxStyles()&&Ue.test(u)&&We.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=u,u=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==u?u+"":u}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(f){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",f.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Te.appendChild(c).appendChild(f);var e=n.getComputedStyle(f);r="1%"!==e.top,s=12===t(e.marginLeft),f.style.right="60%",a=36===t(e.right),i=36===t(e.width),f.style.position="absolute",o=36===f.offsetWidth||"absolute",Te.removeChild(c),f=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,a,s,c=u.createElement("div"),f=u.createElement("div");f.style&&(f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===f.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),o}}))}();var ze=/^(none|table(?!-c[ea]).+)/,Ye=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"},Ke=["Webkit","Moz","ms"],Qe=u.createElement("div").style;function Je(e){var t=S.cssProps[e];return t||(t=S.cssProps[e]=function(e){if(e in Qe)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Qe)return e}(e)||e),t}function Ze(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,o){var u="width"===t?1:0,a=0,s=0;if(n===(r?"border":"content"))return 0;for(;u<4;u+=2)"margin"===n&&(s+=S.css(e,n+oe[u],!0,i)),r?("content"===n&&(s-=S.css(e,"padding"+oe[u],!0,i)),"margin"!==n&&(s-=S.css(e,"border"+oe[u]+"Width",!0,i))):(s+=S.css(e,"padding"+oe[u],!0,i),"padding"!==n?s+=S.css(e,"border"+oe[u]+"Width",!0,i):a+=S.css(e,"border"+oe[u]+"Width",!0,i));return!r&&o>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-s-a-.5))),s}function tt(e,t,n){var r=Be(e),i=$e(e,t,r),o="border-box"===S.css(e,"boxSizing",!1,r),u=o;if(Ue.test(i)){if(!n)return i;i="auto"}return u=u&&(y.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===S.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],u=!0),(i=parseFloat(i)||0)+et(e,t,n||(o?"border":"content"),u,r,i)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{"animationIterationCount":!0,"columnCount":!0,"fillOpacity":!0,"flexGrow":!0,"flexShrink":!0,"fontWeight":!0,"lineHeight":!0,"opacity":!0,"order":!0,"orphans":!0,"widows":!0,"zIndex":!0,"zoom":!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,u,a=G(t),s=Ye.test(t),c=e.style;if(s||(t=Je(a)),u=S.cssHooks[t]||S.cssHooks[a],void 0===n)return u&&"get"in u&&void 0!==(i=u.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(S.cssNumber[a]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),u&&"set"in u&&void 0===(n=u.set(e,n,r))||(s?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,u,a=G(t);return Ye.test(t)||(t=Je(a)),(u=S.cssHooks[t]||S.cssHooks[a])&&"get"in u&&(i=u.get(e,!0,n)),void 0===i&&(i=$e(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):ae(e,Xe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,o=Be(e),u="border-box"===S.css(e,"boxSizing",!1,o),a=r&&et(e,t,r,u,o);return u&&y.scrollboxSize()===o.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),a&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),Ze(0,n,a)}}})),S.cssHooks.marginLeft=Ve(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ae(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(S.cssHooks[e+t].set=Ze)})),S.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,i,o={},u=0;if(Array.isArray(t)){for(r=Be(e),i=t.length;u<i;u++)o[t[u]]=S.css(e,t[u],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=S.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):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[S.cssProps[e.prop]]&&!S.cssHooks[e.prop]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=nt.prototype.init,S.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){it&&(!1===u.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,S.fx.interval),S.fx.tick())}function st(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ft(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,u=i.length;o<u;o++)if(r=i[o].call(n,t,e))return r}function lt(e,t,n){var r,i,o=0,u=lt.prefilters.length,a=S.Deferred().always((function(){delete s.elem})),s=function(){if(i)return!1;for(var t=rt||st(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,u=c.tweens.length;o<u;o++)c.tweens[o].run(r);return a.notifyWith(e,[c,r,n]),r<1&&u?n:(u||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=S.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),f=c.props;for(!function(e,t){var n,r,i,o,u;for(n in e)if(i=t[r=G(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(u=S.cssHooks[r])&&"expand"in u)for(n in o=u.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(f,c.opts.specialEasing);o<u;o++)if(r=lt.prefilters[o].call(c,e,f,c.opts))return m(r.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return S.map(f,ft,c),m(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(s,{elem:e,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(lt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],lt.tweeners[n]=lt.tweeners[n]||[],lt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,u,a,s,c,f,l="width"in t||"height"in t,d=this,p={},h=e.style,v=e.nodeType&&ue(e),g=J.get(e,"fxshow");for(r in n.queue||(null==(u=S._queueHooks(e,"fx")).unqueued&&(u.unqueued=0,a=u.empty.fire,u.empty.fire=function(){u.unqueued||a()}),u.unqueued++,d.always((function(){d.always((function(){u.unqueued--,S.queue(e,"fx").length||u.empty.fire()}))}))),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}p[r]=g&&g[r]||S.style(e,r)}if((s=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(r in l&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=J.get(e,"display")),"none"===(f=S.css(e,"display"))&&(c?f=c:(le([e],!0),c=e.style.display||c,f=S.css(e,"display"),le([e]))),("inline"===f||"inline-block"===f&&null!=c)&&"none"===S.css(e,"float")&&(s||(d.done((function(){h.display=c})),null==c&&(f=h.display,c="none"===f?"":f)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),s=!1,p)s||(g?"hidden"in g&&(v=g.hidden):g=J.access(e,"fxshow",{display:c}),o&&(g.hidden=!v),v&&le([e],!0),d.done((function(){for(r in v||le([e]),J.remove(e,"fxshow"),p)S.style(e,r,p[r])}))),s=ft(v?g[r]:0,r,d),r in g||(g[r]=s.start,v&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=S.isEmptyObject(e),o=S.speed(t,n,r),u=function(){var t=lt(this,S.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return u.finish=u,i||!1===o.queue?this.each(u):this.queue(o.queue,u)},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",o=S.timers,u=J.get(this);if(i)u[i]&&u[i].stop&&r(u[i]);else for(i in u)u[i]&&u[i].stop&&ut.test(i)&&r(u[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=S.timers,u=r?r.length:0;for(n.finish=!0,S.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<u;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),S.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),rt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){it||(it=!0,at())},S.fx.stop=function(){it=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=u.createElement("input"),t=u.createElement("select").appendChild(u.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=u.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var dt,pt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return V(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||S.find.attr;pt[t]=function(e,t,r){var i,o,u=t.toLowerCase();return r||(o=pt[u],pt[u]=i,i=null!=n(e,t,r)?u:null,pt[u]=o),i}}));var ht=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(M)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(M)||[]}S.fn.extend({prop:function(e,t){return V(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.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){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,i,o,u,a,s=0;if(m(e))return this.each((function(t){S(this).addClass(e.call(this,t,yt(this)))}));if((t=mt(e)).length)for(;n=this[s++];)if(i=yt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(u=0;o=t[u++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=gt(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,u,a,s=0;if(m(e))return this.each((function(t){S(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[s++];)if(i=yt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(u=0;o=t[u++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=gt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):m(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,i,o,u;if(r)for(i=0,o=S(this),u=mt(e);t=u[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;S.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=m(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,S(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=S.map(i,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:gt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,u="select-one"===e.type,a=u?null:[],s=u?o+1:i.length;for(r=o<0?s:u?o:0;r<s;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=S(n).val(),u)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=S.makeArray(t),u=i.length;u--;)((r=i[u]).selected=S.inArray(S.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in n;var xt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,r,i){var o,a,s,c,f,l,d,p,v=[r||u],g=h.call(e,"type")?e.type:e,y=h.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=r=r||u,3!==r.nodeType&&8!==r.nodeType&&!xt.test(g+S.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),f=g.indexOf(":")<0&&"on"+g,(e=e[S.expando]?e:new S.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!b(r)){for(c=d.delegateType||g,xt.test(c+g)||(a=a.parentNode);a;a=a.parentNode)v.push(a),s=a;s===(r.ownerDocument||u)&&v.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=v[o++])&&!e.isPropagationStopped();)p=a,e.type=o>1?c:d.bindType||g,(l=(J.get(a,"events")||{})[e.type]&&J.get(a,"handle"))&&l.apply(a,t),(l=f&&a[f])&&l.apply&&K(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),t)||!K(r)||f&&m(r[g])&&!b(r)&&((s=r[f])&&(r[f]=null),S.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,wt),r[g](),e.isPropagationStopped()&&p.removeEventListener(g,wt),S.event.triggered=void 0,s&&(r[f]=s)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}}));var Tt=n.location,St=Date.now(),Et=/\?/;S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var Nt=/\[\]$/,Ct=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,r){var i;if(Array.isArray(t))S.each(t,(function(t,i){n||Nt.test(e)?r(e,i):Dt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==T(t))r(e,t);else for(i in t)Dt(e+"["+i+"]",t[i],n,r)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){i(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&At.test(this.nodeName)&&!_t.test(e)&&(this.checked||!de.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}});var Ot=/%20/g,jt=/#.*$/,Pt=/([?&])_=[^&]*/,kt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Lt=/^\/\//,qt={},It={},Mt="*/".concat("*"),Ht=u.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(m(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ut(e,t,n,r){var i={},o=e===It;function u(a){var s;return i[a]=!0,S.each(e[a]||[],(function(e,a){var c=a(t,n,r);return"string"!=typeof c||o||i[c]?o?!(s=c):void 0:(t.dataTypes.unshift(c),u(c),!1)})),s}return u(t.dataTypes[0])||!i["*"]&&u("*")}function Bt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Ht.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Bt(Bt(e,S.ajaxSettings),t):Bt(S.ajaxSettings,e)},ajaxPrefilter:Ft(qt),ajaxTransport:Ft(It),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,c,f,l,d,p,h=S.ajaxSetup({},t),v=h.context||h,g=h.context&&(v.nodeType||v.jquery)?S(v):S.event,y=S.Deferred(),m=S.Callbacks("once memory"),b=h.statusCode||{},x={},w={},T="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(f){if(!a)for(a={};t=kt.exec(o);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(e,t){return null==f&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==f&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)E.always(e[E.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return r&&r.abort(t),N(0,t),this}};if(y.promise(E),h.url=((e||h.url||Tt.href)+"").replace(Lt,Tt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){c=u.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=S.param(h.data,h.traditional)),Ut(qt,h,t,E),f)return E;for(d in(l=S.event&&h.global)&&0==S.active++&&S.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Rt.test(h.type),i=h.url.replace(jt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ot,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Et.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Pt,"$1"),p=(Et.test(i)?"&":"?")+"_="+St+++p),h.url=i+p),h.ifModified&&(S.lastModified[i]&&E.setRequestHeader("If-Modified-Since",S.lastModified[i]),S.etag[i]&&E.setRequestHeader("If-None-Match",S.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Mt+"; q=0.01":""):h.accepts["*"]),h.headers)E.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(v,E,h)||f))return E.abort();if(T="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),r=Ut(It,h,t,E)){if(E.readyState=1,l&&g.trigger("ajaxSend",[E,h]),f)return E;h.async&&h.timeout>0&&(s=n.setTimeout((function(){E.abort("timeout")}),h.timeout));try{f=!1,r.send(x,N)}catch(e){if(f)throw e;N(-1,e)}}else N(-1,"No Transport");function N(e,t,u,a){var c,d,p,x,w,T=t;f||(f=!0,s&&n.clearTimeout(s),r=void 0,o=a||"",E.readyState=e>0?4:0,c=e>=200&&e<300||304===e,u&&(x=function(e,t,n){for(var r,i,o,u,a=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||e.converters[i+" "+s[0]]){o=i;break}u||(u=i)}o=o||u}if(o)return o!==s[0]&&s.unshift(o),n[o]}(h,E,u)),x=function(e,t,n,r){var i,o,u,a,s,c={},f=e.dataTypes.slice();if(f[1])for(u in e.converters)c[u.toLowerCase()]=e.converters[u];for(o=f.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=o,o=f.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(u=c[s+" "+o]||c["* "+o]))for(i in c)if((a=i.split(" "))[1]===o&&(u=c[s+" "+a[0]]||c["* "+a[0]])){!0===u?u=c[i]:!0!==c[i]&&(o=a[0],f.unshift(a[1]));break}if(!0!==u)if(u&&e.throws)t=u(t);else try{t=u(t)}catch(e){return{state:"parsererror",error:u?e:"No conversion from "+s+" to "+o}}}return{state:"success",data:t}}(h,x,E,c),c?(h.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(S.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(S.etag[i]=w)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=x.state,d=x.data,c=!(p=x.error))):(p=T,!e&&T||(T="error",e<0&&(e=0))),E.status=e,E.statusText=(t||T)+"",c?y.resolveWith(v,[d,T,E]):y.rejectWith(v,[E,T,p]),E.statusCode(b),b=void 0,l&&g.trigger(c?"ajaxSuccess":"ajaxError",[E,h,c?d:p]),m.fireWith(v,[E,T]),l&&(g.trigger("ajaxComplete",[E,h]),--S.active||S.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,i){return m(n)&&(i=i||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:i,data:n,success:r},S.isPlainObject(e)&&e))}})),S._evalUrl=function(e){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(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(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},$t=S.ajaxSettings.xhr();y.cors=!!$t&&"withCredentials"in $t,y.ajax=$t=!!$t,S.ajaxTransport((function(e){var t,r;if(y.cors||$t&&!e.crossDomain)return{send:function(i,o){var u,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(u in e.xhrFields)a[u]=e.xhrFields[u];for(u in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(u,i[u]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Wt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=S("<script>").prop({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)}),u.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Vt,zt=[],Yt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+St++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,r){var i,o,u,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+i):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return u||S.error(i+" was not called"),u[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){u=arguments},r.always((function(){void 0===o?S(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,zt.push(i)),u&&m(o)&&o(u[0]),u=o=void 0})),"script"})),y.createHTMLDocument=((Vt=u.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=u.implementation.createHTMLDocument("")).createElement("base")).href=u.location.href,t.head.appendChild(r)):t=u),o=!n&&[],(i=j.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,u=this,a=e.indexOf(" ");return a>-1&&(r=gt(e.slice(a)),e=e.slice(0,a)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),u.length>0&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,u.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)})).always(n&&function(e,t){u.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var r,i,o,u,a,s,c=S.css(e,"position"),f=S(e),l={};"static"===c&&(e.style.position="relative"),a=f.offset(),o=S.css(e,"top"),s=S.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+s).indexOf("auto")>-1?(u=(r=f.position()).top,i=r.left):(u=parseFloat(o)||0,i=parseFloat(s)||0),m(t)&&(t=t.call(e,n,S.extend({},a))),null!=t.top&&(l.top=t.top-a.top+u),null!=t.left&&(l.left=t.left-a.left+i),"using"in t?t.using.call(e,l):f.css(l)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||Te}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(r){return V(this,(function(e,r,i){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=Ve(y.pixelPosition,(function(e,n){if(n)return n=$e(e,t),Ue.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){S.fn[r]=function(i,o){var u=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return V(this,(function(t,n,i){var o;return b(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?S.css(t,n,a):S.style(t,n,i,a)}),t,u?i:void 0,u)}}))})),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),S.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.fn.extend({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)}}),S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=O,S.isFunction=m,S.isWindow=b,S.camelCase=G,S.type=T,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return S}.apply(t,[]))||(e.exports=r);var Xt=n.jQuery,Gt=n.$;return S.noConflict=function(e){return n.$===S&&(n.$=Gt),e&&n.jQuery===S&&(n.jQuery=Xt),S},i||(n.jQuery=n.$=S),S}))},1:function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return r})),n.d(t,"p",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return a})),n.d(t,"o",(function(){return s})),n.d(t,"q",(function(){return c})),n.d(t,"t",(function(){return f})),n.d(t,"i",(function(){return l})),n.d(t,"r",(function(){return d})),n.d(t,"s",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"m",(function(){return v})),n.d(t,"j",(function(){return g})),n.d(t,"l",(function(){return y})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return x})),n.d(t,"n",(function(){return w})),n.d(t,"b",(function(){return T}));var r="1.12.0",i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},o=Array.prototype,u=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,s=o.push,c=o.slice,f=u.toString,l=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,g=Object.create,y=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=Math.pow(2,53)-1}).call(this,n(20))},145:function(e,t,n){"use strict";var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var o="",u=0,a=0;for(u=i.index;u<n.length;u++){switch(n.charCodeAt(u)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}a!==u&&(o+=n.substring(a,u)),a=u+1,o+=t}return a!==u?o+n.substring(a,u):o}},20:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},7:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return wn})),n.d(t,"VERSION",(function(){return i.e})),n.d(t,"restArguments",(function(){return o})),n.d(t,"isObject",(function(){return u})),n.d(t,"isNull",(function(){return a})),n.d(t,"isUndefined",(function(){return s})),n.d(t,"isBoolean",(function(){return c})),n.d(t,"isElement",(function(){return f})),n.d(t,"isString",(function(){return d})),n.d(t,"isNumber",(function(){return p})),n.d(t,"isDate",(function(){return h})),n.d(t,"isRegExp",(function(){return v})),n.d(t,"isError",(function(){return g})),n.d(t,"isSymbol",(function(){return y})),n.d(t,"isArrayBuffer",(function(){return m})),n.d(t,"isDataView",(function(){return C})),n.d(t,"isArray",(function(){return _})),n.d(t,"isFunction",(function(){return w})),n.d(t,"isArguments",(function(){return O})),n.d(t,"isFinite",(function(){return j})),n.d(t,"isNaN",(function(){return P})),n.d(t,"isTypedArray",(function(){return H})),n.d(t,"isEmpty",(function(){return W})),n.d(t,"isMatch",(function(){return $})),n.d(t,"isEqual",(function(){return X})),n.d(t,"isMap",(function(){return re})),n.d(t,"isWeakMap",(function(){return ie})),n.d(t,"isSet",(function(){return oe})),n.d(t,"isWeakSet",(function(){return ue})),n.d(t,"keys",(function(){return B})),n.d(t,"allKeys",(function(){return G})),n.d(t,"values",(function(){return ae})),n.d(t,"pairs",(function(){return se})),n.d(t,"invert",(function(){return ce})),n.d(t,"functions",(function(){return fe})),n.d(t,"methods",(function(){return fe})),n.d(t,"extend",(function(){return de})),n.d(t,"extendOwn",(function(){return pe})),n.d(t,"assign",(function(){return pe})),n.d(t,"defaults",(function(){return he})),n.d(t,"create",(function(){return ge})),n.d(t,"clone",(function(){return ye})),n.d(t,"tap",(function(){return me})),n.d(t,"get",(function(){return Te})),n.d(t,"has",(function(){return Se})),n.d(t,"mapObject",(function(){return je})),n.d(t,"identity",(function(){return Ee})),n.d(t,"constant",(function(){return k})),n.d(t,"noop",(function(){return Pe})),n.d(t,"toPath",(function(){return be})),n.d(t,"property",(function(){return Ce})),n.d(t,"propertyOf",(function(){return ke})),n.d(t,"matcher",(function(){return Ne})),n.d(t,"matches",(function(){return Ne})),n.d(t,"times",(function(){return Re})),n.d(t,"random",(function(){return Le})),n.d(t,"now",(function(){return qe})),n.d(t,"escape",(function(){return He})),n.d(t,"unescape",(function(){return Fe})),n.d(t,"templateSettings",(function(){return Ue})),n.d(t,"template",(function(){return ze})),n.d(t,"result",(function(){return Ye})),n.d(t,"uniqueId",(function(){return Ge})),n.d(t,"chain",(function(){return Ke})),n.d(t,"iteratee",(function(){return De})),n.d(t,"partial",(function(){return Ze})),n.d(t,"bind",(function(){return et})),n.d(t,"bindAll",(function(){return rt})),n.d(t,"memoize",(function(){return it})),n.d(t,"delay",(function(){return ot})),n.d(t,"defer",(function(){return ut})),n.d(t,"throttle",(function(){return at})),n.d(t,"debounce",(function(){return st})),n.d(t,"wrap",(function(){return ct})),n.d(t,"negate",(function(){return ft})),n.d(t,"compose",(function(){return lt})),n.d(t,"after",(function(){return dt})),n.d(t,"before",(function(){return pt})),n.d(t,"once",(function(){return ht})),n.d(t,"findKey",(function(){return vt})),n.d(t,"findIndex",(function(){return yt})),n.d(t,"findLastIndex",(function(){return mt})),n.d(t,"sortedIndex",(function(){return bt})),n.d(t,"indexOf",(function(){return wt})),n.d(t,"lastIndexOf",(function(){return Tt})),n.d(t,"find",(function(){return St})),n.d(t,"detect",(function(){return St})),n.d(t,"findWhere",(function(){return Et})),n.d(t,"each",(function(){return Nt})),n.d(t,"forEach",(function(){return Nt})),n.d(t,"map",(function(){return Ct})),n.d(t,"collect",(function(){return Ct})),n.d(t,"reduce",(function(){return At})),n.d(t,"foldl",(function(){return At})),n.d(t,"inject",(function(){return At})),n.d(t,"reduceRight",(function(){return Dt})),n.d(t,"foldr",(function(){return Dt})),n.d(t,"filter",(function(){return Ot})),n.d(t,"select",(function(){return Ot})),n.d(t,"reject",(function(){return jt})),n.d(t,"every",(function(){return Pt})),n.d(t,"all",(function(){return Pt})),n.d(t,"some",(function(){return kt})),n.d(t,"any",(function(){return kt})),n.d(t,"contains",(function(){return Rt})),n.d(t,"includes",(function(){return Rt})),n.d(t,"include",(function(){return Rt})),n.d(t,"invoke",(function(){return Lt})),n.d(t,"pluck",(function(){return qt})),n.d(t,"where",(function(){return It})),n.d(t,"max",(function(){return Mt})),n.d(t,"min",(function(){return Ht})),n.d(t,"shuffle",(function(){return Ut})),n.d(t,"sample",(function(){return Ft})),n.d(t,"sortBy",(function(){return Bt})),n.d(t,"groupBy",(function(){return $t})),n.d(t,"indexBy",(function(){return Vt})),n.d(t,"countBy",(function(){return zt})),n.d(t,"partition",(function(){return Yt})),n.d(t,"toArray",(function(){return Gt})),n.d(t,"size",(function(){return Kt})),n.d(t,"pick",(function(){return Jt})),n.d(t,"omit",(function(){return Zt})),n.d(t,"first",(function(){return tn})),n.d(t,"head",(function(){return tn})),n.d(t,"take",(function(){return tn})),n.d(t,"initial",(function(){return en})),n.d(t,"last",(function(){return rn})),n.d(t,"rest",(function(){return nn})),n.d(t,"tail",(function(){return nn})),n.d(t,"drop",(function(){return nn})),n.d(t,"compact",(function(){return on})),n.d(t,"flatten",(function(){return un})),n.d(t,"without",(function(){return sn})),n.d(t,"uniq",(function(){return cn})),n.d(t,"unique",(function(){return cn})),n.d(t,"union",(function(){return fn})),n.d(t,"intersection",(function(){return ln})),n.d(t,"difference",(function(){return an})),n.d(t,"unzip",(function(){return dn})),n.d(t,"transpose",(function(){return dn})),n.d(t,"zip",(function(){return pn})),n.d(t,"object",(function(){return hn})),n.d(t,"range",(function(){return vn})),n.d(t,"chunk",(function(){return gn})),n.d(t,"mixin",(function(){return mn}));var r={};n.r(r),n.d(r,"VERSION",(function(){return i.e})),n.d(r,"restArguments",(function(){return o})),n.d(r,"isObject",(function(){return u})),n.d(r,"isNull",(function(){return a})),n.d(r,"isUndefined",(function(){return s})),n.d(r,"isBoolean",(function(){return c})),n.d(r,"isElement",(function(){return f})),n.d(r,"isString",(function(){return d})),n.d(r,"isNumber",(function(){return p})),n.d(r,"isDate",(function(){return h})),n.d(r,"isRegExp",(function(){return v})),n.d(r,"isError",(function(){return g})),n.d(r,"isSymbol",(function(){return y})),n.d(r,"isArrayBuffer",(function(){return m})),n.d(r,"isDataView",(function(){return C})),n.d(r,"isArray",(function(){return _})),n.d(r,"isFunction",(function(){return w})),n.d(r,"isArguments",(function(){return O})),n.d(r,"isFinite",(function(){return j})),n.d(r,"isNaN",(function(){return P})),n.d(r,"isTypedArray",(function(){return H})),n.d(r,"isEmpty",(function(){return W})),n.d(r,"isMatch",(function(){return $})),n.d(r,"isEqual",(function(){return X})),n.d(r,"isMap",(function(){return re})),n.d(r,"isWeakMap",(function(){return ie})),n.d(r,"isSet",(function(){return oe})),n.d(r,"isWeakSet",(function(){return ue})),n.d(r,"keys",(function(){return B})),n.d(r,"allKeys",(function(){return G})),n.d(r,"values",(function(){return ae})),n.d(r,"pairs",(function(){return se})),n.d(r,"invert",(function(){return ce})),n.d(r,"functions",(function(){return fe})),n.d(r,"methods",(function(){return fe})),n.d(r,"extend",(function(){return de})),n.d(r,"extendOwn",(function(){return pe})),n.d(r,"assign",(function(){return pe})),n.d(r,"defaults",(function(){return he})),n.d(r,"create",(function(){return ge})),n.d(r,"clone",(function(){return ye})),n.d(r,"tap",(function(){return me})),n.d(r,"get",(function(){return Te})),n.d(r,"has",(function(){return Se})),n.d(r,"mapObject",(function(){return je})),n.d(r,"identity",(function(){return Ee})),n.d(r,"constant",(function(){return k})),n.d(r,"noop",(function(){return Pe})),n.d(r,"toPath",(function(){return be})),n.d(r,"property",(function(){return Ce})),n.d(r,"propertyOf",(function(){return ke})),n.d(r,"matcher",(function(){return Ne})),n.d(r,"matches",(function(){return Ne})),n.d(r,"times",(function(){return Re})),n.d(r,"random",(function(){return Le})),n.d(r,"now",(function(){return qe})),n.d(r,"escape",(function(){return He})),n.d(r,"unescape",(function(){return Fe})),n.d(r,"templateSettings",(function(){return Ue})),n.d(r,"template",(function(){return ze})),n.d(r,"result",(function(){return Ye})),n.d(r,"uniqueId",(function(){return Ge})),n.d(r,"chain",(function(){return Ke})),n.d(r,"iteratee",(function(){return De})),n.d(r,"partial",(function(){return Ze})),n.d(r,"bind",(function(){return et})),n.d(r,"bindAll",(function(){return rt})),n.d(r,"memoize",(function(){return it})),n.d(r,"delay",(function(){return ot})),n.d(r,"defer",(function(){return ut})),n.d(r,"throttle",(function(){return at})),n.d(r,"debounce",(function(){return st})),n.d(r,"wrap",(function(){return ct})),n.d(r,"negate",(function(){return ft})),n.d(r,"compose",(function(){return lt})),n.d(r,"after",(function(){return dt})),n.d(r,"before",(function(){return pt})),n.d(r,"once",(function(){return ht})),n.d(r,"findKey",(function(){return vt})),n.d(r,"findIndex",(function(){return yt})),n.d(r,"findLastIndex",(function(){return mt})),n.d(r,"sortedIndex",(function(){return bt})),n.d(r,"indexOf",(function(){return wt})),n.d(r,"lastIndexOf",(function(){return Tt})),n.d(r,"find",(function(){return St})),n.d(r,"detect",(function(){return St})),n.d(r,"findWhere",(function(){return Et})),n.d(r,"each",(function(){return Nt})),n.d(r,"forEach",(function(){return Nt})),n.d(r,"map",(function(){return Ct})),n.d(r,"collect",(function(){return Ct})),n.d(r,"reduce",(function(){return At})),n.d(r,"foldl",(function(){return At})),n.d(r,"inject",(function(){return At})),n.d(r,"reduceRight",(function(){return Dt})),n.d(r,"foldr",(function(){return Dt})),n.d(r,"filter",(function(){return Ot})),n.d(r,"select",(function(){return Ot})),n.d(r,"reject",(function(){return jt})),n.d(r,"every",(function(){return Pt})),n.d(r,"all",(function(){return Pt})),n.d(r,"some",(function(){return kt})),n.d(r,"any",(function(){return kt})),n.d(r,"contains",(function(){return Rt})),n.d(r,"includes",(function(){return Rt})),n.d(r,"include",(function(){return Rt})),n.d(r,"invoke",(function(){return Lt})),n.d(r,"pluck",(function(){return qt})),n.d(r,"where",(function(){return It})),n.d(r,"max",(function(){return Mt})),n.d(r,"min",(function(){return Ht})),n.d(r,"shuffle",(function(){return Ut})),n.d(r,"sample",(function(){return Ft})),n.d(r,"sortBy",(function(){return Bt})),n.d(r,"groupBy",(function(){return $t})),n.d(r,"indexBy",(function(){return Vt})),n.d(r,"countBy",(function(){return zt})),n.d(r,"partition",(function(){return Yt})),n.d(r,"toArray",(function(){return Gt})),n.d(r,"size",(function(){return Kt})),n.d(r,"pick",(function(){return Jt})),n.d(r,"omit",(function(){return Zt})),n.d(r,"first",(function(){return tn})),n.d(r,"head",(function(){return tn})),n.d(r,"take",(function(){return tn})),n.d(r,"initial",(function(){return en})),n.d(r,"last",(function(){return rn})),n.d(r,"rest",(function(){return nn})),n.d(r,"tail",(function(){return nn})),n.d(r,"drop",(function(){return nn})),n.d(r,"compact",(function(){return on})),n.d(r,"flatten",(function(){return un})),n.d(r,"without",(function(){return sn})),n.d(r,"uniq",(function(){return cn})),n.d(r,"unique",(function(){return cn})),n.d(r,"union",(function(){return fn})),n.d(r,"intersection",(function(){return ln})),n.d(r,"difference",(function(){return an})),n.d(r,"unzip",(function(){return dn})),n.d(r,"transpose",(function(){return dn})),n.d(r,"zip",(function(){return pn})),n.d(r,"object",(function(){return hn})),n.d(r,"range",(function(){return vn})),n.d(r,"chunk",(function(){return gn})),n.d(r,"mixin",(function(){return mn})),n.d(r,"default",(function(){return bn}));var i=n(1);function o(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 o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}}function u(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function a(e){return null===e}function s(e){return void 0===e}function c(e){return!0===e||!1===e||"[object Boolean]"===i.t.call(e)}function f(e){return!(!e||1!==e.nodeType)}function l(e){var t="[object "+e+"]";return function(e){return i.t.call(e)===t}}var d=l("String"),p=l("Number"),h=l("Date"),v=l("RegExp"),g=l("Error"),y=l("Symbol"),m=l("ArrayBuffer"),b=l("Function"),x=i.p.document&&i.p.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof x&&(b=function(e){return"function"==typeof e||!1});var w=b,T=l("Object"),S=i.s&&T(new DataView(new ArrayBuffer(8))),E="undefined"!=typeof Map&&T(new Map),N=l("DataView");var C=S?function(e){return null!=e&&w(e.getInt8)&&m(e.buffer)}:N,_=i.k||l("Array");function A(e,t){return null!=e&&i.i.call(e,t)}var D=l("Arguments");!function(){D(arguments)||(D=function(e){return A(e,"callee")})}();var O=D;function j(e){return!y(e)&&Object(i.f)(e)&&!isNaN(parseFloat(e))}function P(e){return p(e)&&Object(i.g)(e)}function k(e){return function(){return e}}function R(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=i.b}}function L(e){return function(t){return null==t?void 0:t[e]}}var q=L("byteLength"),I=R(q),M=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var H=i.r?function(e){return i.l?Object(i.l)(e)&&!C(e):I(e)&&M.test(i.t.call(e))}:k(!1),F=L("length");function U(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=i.n.length,r=e.constructor,o=w(r)&&r.prototype||i.c,u="constructor";for(A(e,u)&&!t.contains(u)&&t.push(u);n--;)(u=i.n[n])in e&&e[u]!==o[u]&&!t.contains(u)&&t.push(u)}function B(e){if(!u(e))return[];if(i.m)return Object(i.m)(e);var t=[];for(var n in e)A(e,n)&&t.push(n);return i.h&&U(e,t),t}function W(e){if(null==e)return!0;var t=F(e);return"number"==typeof t&&(_(e)||d(e)||O(e))?0===t:0===F(B(e))}function $(e,t){var n=B(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var u=n[o];if(t[u]!==i[u]||!(u in i))return!1}return!0}function V(e){return e instanceof V?e:this instanceof V?void(this._wrapped=e):new V(e)}function z(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,q(e))}V.VERSION=i.e,V.prototype.value=function(){return this._wrapped},V.prototype.valueOf=V.prototype.toJSON=V.prototype.value,V.prototype.toString=function(){return String(this._wrapped)};function Y(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 o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&function e(t,n,r,o){t instanceof V&&(t=t._wrapped);n instanceof V&&(n=n._wrapped);var u=i.t.call(t);if(u!==i.t.call(n))return!1;if(S&&"[object Object]"==u&&C(t)){if(!C(n))return!1;u="[object DataView]"}switch(u){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":return+t!=+t?+n!=+n:0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return i.d.valueOf.call(t)===i.d.valueOf.call(n);case"[object ArrayBuffer]":case"[object DataView]":return e(z(t),z(n),r,o)}var a="[object Array]"===u;if(!a&&H(t)){if(q(t)!==q(n))return!1;if(t.buffer===n.buffer&&t.byteOffset===n.byteOffset)return!0;a=!0}if(!a){if("object"!=typeof t||"object"!=typeof n)return!1;var s=t.constructor,c=n.constructor;if(s!==c&&!(w(s)&&s instanceof s&&w(c)&&c instanceof c)&&"constructor"in t&&"constructor"in n)return!1}o=o||[];var f=(r=r||[]).length;for(;f--;)if(r[f]===t)return o[f]===n;if(r.push(t),o.push(n),a){if((f=t.length)!==n.length)return!1;for(;f--;)if(!Y(t[f],n[f],r,o))return!1}else{var l,d=B(t);if(f=d.length,B(n).length!==f)return!1;for(;f--;)if(l=d[f],!A(n,l)||!Y(t[l],n[l],r,o))return!1}return r.pop(),o.pop(),!0}(e,t,n,r)}function X(e,t){return Y(e,t)}function G(e){if(!u(e))return[];var t=[];for(var n in e)t.push(n);return i.h&&U(e,t),t}function K(e){var t=F(e);return function(n){if(null==n)return!1;var r=G(n);if(F(r))return!1;for(var i=0;i<t;i++)if(!w(n[e[i]]))return!1;return e!==te||!w(n[Q])}}var Q="forEach",J=["clear","delete"],Z=["get","has","set"],ee=J.concat(Q,Z),te=J.concat(Z),ne=["add"].concat(J,Q,"has"),re=E?K(ee):l("Map"),ie=E?K(te):l("WeakMap"),oe=E?K(ne):l("Set"),ue=l("WeakSet");function ae(e){for(var t=B(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}function se(e){for(var t=B(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}function ce(e){for(var t={},n=B(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}function fe(e){var t=[];for(var n in e)w(e[n])&&t.push(n);return t.sort()}function le(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 o=arguments[i],u=e(o),a=u.length,s=0;s<a;s++){var c=u[s];t&&void 0!==n[c]||(n[c]=o[c])}return n}}var de=le(G),pe=le(B),he=le(G,!0);function ve(e){if(!u(e))return{};if(i.j)return Object(i.j)(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function ge(e,t){var n=ve(e);return t&&pe(n,t),n}function ye(e){return u(e)?_(e)?e.slice():de({},e):e}function me(e,t){return t(e),e}function be(e){return _(e)?e:[e]}function xe(e){return V.toPath(e)}function we(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}function Te(e,t,n){var r=we(e,xe(t));return s(r)?n:r}function Se(e,t){for(var n=(t=xe(t)).length,r=0;r<n;r++){var i=t[r];if(!A(e,i))return!1;e=e[i]}return!!n}function Ee(e){return e}function Ne(e){return e=pe({},e),function(t){return $(t,e)}}function Ce(e){return e=xe(e),function(t){return we(t,e)}}function _e(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,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}}function Ae(e,t,n){return null==e?Ee:w(e)?_e(e,t,n):u(e)&&!_(e)?Ne(e):Ce(e)}function De(e,t){return Ae(e,t,1/0)}function Oe(e,t,n){return V.iteratee!==De?V.iteratee(e,t):Ae(e,t,n)}function je(e,t,n){t=Oe(t,n);for(var r=B(e),i=r.length,o={},u=0;u<i;u++){var a=r[u];o[a]=t(e[a],a,e)}return o}function Pe(){}function ke(e){return null==e?Pe:function(t){return Te(e,t)}}function Re(e,t,n){var r=Array(Math.max(0,e));t=_e(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function Le(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}V.toPath=be,V.iteratee=De;var qe=Date.now||function(){return(new Date).getTime()};function Ie(e){var t=function(t){return e[t]},n="(?:"+B(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}}var Me={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},He=Ie(Me),Fe=Ie(ce(Me)),Ue=V.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Be=/(.)^/,We={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},$e=/\\|'|\r|\n|\u2028|\u2029/g;function Ve(e){return"\\"+We[e]}function ze(e,t,n){!t&&n&&(t=n),t=he({},t,V.templateSettings);var r,i=RegExp([(t.escape||Be).source,(t.interpolate||Be).source,(t.evaluate||Be).source].join("|")+"|$","g"),o=0,u="__p+='";e.replace(i,(function(t,n,r,i,a){return u+=e.slice(o,a).replace($e,Ve),o=a+t.length,n?u+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(u+="';\n"+i+"\n__p+='"),t})),u+="';\n",t.variable||(u="with(obj||{}){\n"+u+"}\n"),u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(t.variable||"obj","_",u)}catch(e){throw e.source=u,e}var a=function(e){return r.call(this,e,V)},s=t.variable||"obj";return a.source="function("+s+"){\n"+u+"}",a}function Ye(e,t,n){var r=(t=xe(t)).length;if(!r)return w(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=w(o)?o.call(e):o}return e}var Xe=0;function Ge(e){var t=++Xe+"";return e?e+t:t}function Ke(e){var t=V(e);return t._chain=!0,t}function Qe(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=ve(e.prototype),a=e.apply(o,i);return u(a)?a:o}var Je=o((function(e,t){var n=Je.placeholder,r=function(){for(var i=0,o=t.length,u=Array(o),a=0;a<o;a++)u[a]=t[a]===n?arguments[i++]:t[a];for(;i<arguments.length;)u.push(arguments[i++]);return Qe(e,r,this,this,u)};return r}));Je.placeholder=V;var Ze=Je,et=o((function(e,t,n){if(!w(e))throw new TypeError("Bind must be called on a function");var r=o((function(i){return Qe(e,r,t,this,n.concat(i))}));return r})),tt=R(F);function nt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var i=r.length,o=0,u=F(e);o<u;o++){var a=e[o];if(tt(a)&&(_(a)||O(a)))if(t>1)nt(a,t-1,n,r),i=r.length;else for(var s=0,c=a.length;s<c;)r[i++]=a[s++];else n||(r[i++]=a)}return r}var rt=o((function(e,t){var n=(t=nt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=et(e[r],e)}return e}));function it(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return A(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n}var ot=o((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),ut=Ze(ot,V,1);function at(e,t,n){var r,i,o,u,a=0;n||(n={});var s=function(){a=!1===n.leading?0:qe(),r=null,u=e.apply(i,o),r||(i=o=null)},c=function(){var c=qe();a||!1!==n.leading||(a=c);var f=t-(c-a);return i=this,o=arguments,f<=0||f>t?(r&&(clearTimeout(r),r=null),a=c,u=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(s,f)),u};return c.cancel=function(){clearTimeout(r),a=0,r=i=o=null},c}function st(e,t,n){var r,i,u=function(t,n){r=null,n&&(i=e.apply(t,n))},a=o((function(o){if(r&&clearTimeout(r),n){var a=!r;r=setTimeout(u,t),a&&(i=e.apply(this,o))}else r=ot(u,t,this,o);return i}));return a.cancel=function(){clearTimeout(r),r=null},a}function ct(e,t){return Ze(t,e)}function ft(e){return function(){return!e.apply(this,arguments)}}function lt(){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}}function dt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function pt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ht=Ze(pt,2);function vt(e,t,n){t=Oe(t,n);for(var r,i=B(e),o=0,u=i.length;o<u;o++)if(t(e[r=i[o]],r,e))return r}function gt(e){return function(t,n,r){n=Oe(n,r);for(var i=F(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}}var yt=gt(1),mt=gt(-1);function bt(e,t,n,r){for(var i=(n=Oe(n,r,1))(t),o=0,u=F(e);o<u;){var a=Math.floor((o+u)/2);n(e[a])<i?o=a+1:u=a}return o}function xt(e,t,n){return function(r,o,u){var a=0,s=F(r);if("number"==typeof u)e>0?a=u>=0?u:Math.max(u+s,a):s=u>=0?Math.min(u+1,s):u+s+1;else if(n&&u&&s)return r[u=n(r,o)]===o?u:-1;if(o!=o)return(u=t(i.q.call(r,a,s),P))>=0?u+a:-1;for(u=e>0?a:s-1;u>=0&&u<s;u+=e)if(r[u]===o)return u;return-1}}var wt=xt(1,yt,bt),Tt=xt(-1,mt);function St(e,t,n){var r=(tt(e)?yt:vt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function Et(e,t){return St(e,Ne(t))}function Nt(e,t,n){var r,i;if(t=_e(t,n),tt(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=B(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e}function Ct(e,t,n){t=Oe(t,n);for(var r=!tt(e)&&B(e),i=(r||e).length,o=Array(i),u=0;u<i;u++){var a=r?r[u]:u;o[u]=t(e[a],a,e)}return o}function _t(e){var t=function(t,n,r,i){var o=!tt(t)&&B(t),u=(o||t).length,a=e>0?0:u-1;for(i||(r=t[o?o[a]:a],a+=e);a>=0&&a<u;a+=e){var s=o?o[a]:a;r=n(r,t[s],s,t)}return r};return function(e,n,r,i){var o=arguments.length>=3;return t(e,_e(n,i,4),r,o)}}var At=_t(1),Dt=_t(-1);function Ot(e,t,n){var r=[];return t=Oe(t,n),Nt(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function jt(e,t,n){return Ot(e,ft(Oe(t)),n)}function Pt(e,t,n){t=Oe(t,n);for(var r=!tt(e)&&B(e),i=(r||e).length,o=0;o<i;o++){var u=r?r[o]:o;if(!t(e[u],u,e))return!1}return!0}function kt(e,t,n){t=Oe(t,n);for(var r=!tt(e)&&B(e),i=(r||e).length,o=0;o<i;o++){var u=r?r[o]:o;if(t(e[u],u,e))return!0}return!1}function Rt(e,t,n,r){return tt(e)||(e=ae(e)),("number"!=typeof n||r)&&(n=0),wt(e,t,n)>=0}var Lt=o((function(e,t,n){var r,i;return w(t)?i=t:(t=xe(t),r=t.slice(0,-1),t=t[t.length-1]),Ct(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=we(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))}));function qt(e,t){return Ct(e,Ce(t))}function It(e,t){return Ot(e,Ne(t))}function Mt(e,t,n){var r,i,o=-1/0,u=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,s=(e=tt(e)?e:ae(e)).length;a<s;a++)null!=(r=e[a])&&r>o&&(o=r);else t=Oe(t,n),Nt(e,(function(e,n,r){((i=t(e,n,r))>u||i===-1/0&&o===-1/0)&&(o=e,u=i)}));return o}function Ht(e,t,n){var r,i,o=1/0,u=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,s=(e=tt(e)?e:ae(e)).length;a<s;a++)null!=(r=e[a])&&r<o&&(o=r);else t=Oe(t,n),Nt(e,(function(e,n,r){((i=t(e,n,r))<u||i===1/0&&o===1/0)&&(o=e,u=i)}));return o}function Ft(e,t,n){if(null==t||n)return tt(e)||(e=ae(e)),e[Le(e.length-1)];var r=tt(e)?ye(e):ae(e),i=F(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,u=0;u<t;u++){var a=Le(u,o),s=r[u];r[u]=r[a],r[a]=s}return r.slice(0,t)}function Ut(e){return Ft(e,1/0)}function Bt(e,t,n){var r=0;return t=Oe(t,n),qt(Ct(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")}function Wt(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=Oe(r,i),Nt(n,(function(t,i){var u=r(t,i,n);e(o,t,u)})),o}}var $t=Wt((function(e,t,n){A(e,n)?e[n].push(t):e[n]=[t]})),Vt=Wt((function(e,t,n){e[n]=t})),zt=Wt((function(e,t,n){A(e,n)?e[n]++:e[n]=1})),Yt=Wt((function(e,t,n){e[n?0:1].push(t)}),!0),Xt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Gt(e){return e?_(e)?i.q.call(e):d(e)?e.match(Xt):tt(e)?Ct(e,Ee):ae(e):[]}function Kt(e){return null==e?0:tt(e)?e.length:B(e).length}function Qt(e,t,n){return t in n}var Jt=o((function(e,t){var n={},r=t[0];if(null==e)return n;w(r)?(t.length>1&&(r=_e(r,t[1])),t=G(e)):(r=Qt,t=nt(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var u=t[i],a=e[u];r(a,u,e)&&(n[u]=a)}return n})),Zt=o((function(e,t){var n,r=t[0];return w(r)?(r=ft(r),t.length>1&&(n=t[1])):(t=Ct(nt(t,!1,!1),String),r=function(e,n){return!Rt(t,n)}),Jt(e,r,n)}));function en(e,t,n){return i.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function tn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:en(e,e.length-t)}function nn(e,t,n){return i.q.call(e,null==t||n?1:t)}function rn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:nn(e,Math.max(0,e.length-t))}function on(e){return Ot(e,Boolean)}function un(e,t){return nt(e,t,!1)}var an=o((function(e,t){return t=nt(t,!0,!0),Ot(e,(function(e){return!Rt(t,e)}))})),sn=o((function(e,t){return an(e,t)}));function cn(e,t,n,r){c(t)||(r=n,n=t,t=!1),null!=n&&(n=Oe(n,r));for(var i=[],o=[],u=0,a=F(e);u<a;u++){var s=e[u],f=n?n(s,u,e):s;t&&!n?(u&&o===f||i.push(s),o=f):n?Rt(o,f)||(o.push(f),i.push(s)):Rt(i,s)||i.push(s)}return i}var fn=o((function(e){return cn(nt(e,!0,!0))}));function ln(e){for(var t=[],n=arguments.length,r=0,i=F(e);r<i;r++){var o=e[r];if(!Rt(t,o)){var u;for(u=1;u<n&&Rt(arguments[u],o);u++);u===n&&t.push(o)}}return t}function dn(e){for(var t=e&&Mt(e,F).length||0,n=Array(t),r=0;r<t;r++)n[r]=qt(e,r);return n}var pn=o(dn);function hn(e,t){for(var n={},r=0,i=F(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function vn(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),o=0;o<r;o++,e+=n)i[o]=e;return i}function gn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(i.q.call(e,r,r+=t));return n}function yn(e,t){return e._chain?V(t).chain():t}function mn(e){return Nt(fe(e),(function(t){var n=V[t]=e[t];V.prototype[t]=function(){var e=[this._wrapped];return i.o.apply(e,arguments),yn(this,n.apply(V,e))}})),V}Nt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=i.a[e];V.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),yn(this,n)}})),Nt(["concat","join","slice"],(function(e){var t=i.a[e];V.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),yn(this,e)}}));var bn=V,xn=mn(r);xn._=xn;var wn=xn},706:function(e,t,n){"use strict";n.r(t),function(e,t){var r=n(145),i=n.n(r);!function(n,r){var o=function t(r){this._root=r.root,"/"===this._root.charAt(this._root.length-1)&&(this._root=this._root.substr(0,this._root.length-1));var i=t.PROTOCOL_HTTP+"://";r.useHTTPS&&(i=t.PROTOCOL_HTTPS+"://"),i+=r.host+this._root,this._host=r.host,this._defaultHeaders=r.defaultHeaders||{"X-Requested-With":"XMLHttpRequest","requesttoken":n.requestToken},this._baseUrl=i;var o={baseUrl:this._baseUrl,xmlNamespaces:{"DAV:":"d","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc","http://open-collaboration-services.org/ns":"ocs"}};r.userName&&(o.userName=r.userName),r.password&&(o.password=r.password),this._client=new dav.Client(o),this._client.xhrProvider=e.bind(this._xhrProvider,this),this._fileInfoParsers=[]};o.NS_OWNCLOUD="http://owncloud.org/ns",o.NS_NEXTCLOUD="http://nextcloud.org/ns",o.NS_DAV="DAV:",o.NS_OCS="http://open-collaboration-services.org/ns",o.PROPERTY_GETLASTMODIFIED="{"+o.NS_DAV+"}getlastmodified",o.PROPERTY_GETETAG="{"+o.NS_DAV+"}getetag",o.PROPERTY_GETCONTENTTYPE="{"+o.NS_DAV+"}getcontenttype",o.PROPERTY_RESOURCETYPE="{"+o.NS_DAV+"}resourcetype",o.PROPERTY_INTERNAL_FILEID="{"+o.NS_OWNCLOUD+"}fileid",o.PROPERTY_PERMISSIONS="{"+o.NS_OWNCLOUD+"}permissions",o.PROPERTY_SIZE="{"+o.NS_OWNCLOUD+"}size",o.PROPERTY_GETCONTENTLENGTH="{"+o.NS_DAV+"}getcontentlength",o.PROPERTY_ISENCRYPTED="{"+o.NS_DAV+"}is-encrypted",o.PROPERTY_SHARE_PERMISSIONS="{"+o.NS_OCS+"}share-permissions",o.PROPERTY_QUOTA_AVAILABLE_BYTES="{"+o.NS_DAV+"}quota-available-bytes",o.PROTOCOL_HTTP="http",o.PROTOCOL_HTTPS="https",o._PROPFIND_PROPERTIES=[[o.NS_DAV,"getlastmodified"],[o.NS_DAV,"getetag"],[o.NS_DAV,"getcontenttype"],[o.NS_DAV,"resourcetype"],[o.NS_OWNCLOUD,"fileid"],[o.NS_OWNCLOUD,"permissions"],[o.NS_OWNCLOUD,"size"],[o.NS_DAV,"getcontentlength"],[o.NS_DAV,"quota-available-bytes"],[o.NS_NEXTCLOUD,"has-preview"],[o.NS_NEXTCLOUD,"mount-type"],[o.NS_NEXTCLOUD,"is-encrypted"],[o.NS_OCS,"share-permissions"]],o.prototype={_root:null,_client:null,_fileInfoParsers:[],_xhrProvider:function(){var t=this._defaultHeaders,r=new XMLHttpRequest,i=r.open;return r.open=function(){var n=i.apply(this,arguments);return e.each(t,(function(e,t){r.setRequestHeader(t,e)})),n},n.registerXHRForErrorProcessing(r),r},_buildUrl:function(){var e=this._buildPath.apply(this,arguments);return"/"===e.charAt([e.length-1])&&(e=e.substr(0,e.length-1)),"/"===e.charAt(0)&&(e=e.substr(1)),this._baseUrl+"/"+e},_buildPath:function(){var e,t=n.joinPaths.apply(this,arguments),r=t.split("/");for(e=0;e<r.length;e++)r[e]=encodeURIComponent(r[e]);return t=r.join("/")},_parseHeaders:function(e){for(var t=e.split("\n"),n={},r=0;r<t.length;r++){var i=t[r].indexOf(":");if(!(i<0)){var o=t[r].substr(0,i),u=t[r].substr(i+2);n[o]||(n[o]=[]),n[o].push(u)}}return n},_parseEtag:function(e){return'"'===e.charAt(0)?e.split('"')[1]:e},_parseFileInfo:function(t){var i=decodeURIComponent(t.href);if(i.substr(0,this._root.length)===this._root&&(i=i.substr(this._root.length)),"/"===i.charAt(i.length-1)&&(i=i.substr(0,i.length-1)),0===t.propStat.length||"HTTP/1.1 200 OK"!==t.propStat[0].status)return null;var u=t.propStat[0].properties,a={id:u[o.PROPERTY_INTERNAL_FILEID],path:n.dirname(i)||"/",name:n.basename(i),mtime:new Date(u[o.PROPERTY_GETLASTMODIFIED]).getTime()},s=u[o.PROPERTY_GETETAG];e.isUndefined(s)||(a.etag=this._parseEtag(s));var c=u[o.PROPERTY_GETCONTENTLENGTH];e.isUndefined(c)||(a.size=parseInt(c,10)),c=u[o.PROPERTY_SIZE],e.isUndefined(c)||(a.size=parseInt(c,10));var f=u["{"+o.NS_NEXTCLOUD+"}has-preview"];e.isUndefined(f)?a.hasPreview=!0:a.hasPreview="true"===f;var l=u["{"+o.NS_NEXTCLOUD+"}is-encrypted"];e.isUndefined(l)?a.isEncrypted=!1:a.isEncrypted="1"===l;var d=u["{"+o.NS_OWNCLOUD+"}favorite"];e.isUndefined(d)?a.isFavourited=!1:a.isFavourited="1"===d;var p=u[o.PROPERTY_GETCONTENTTYPE];e.isUndefined(p)||(a.mimetype=p);var h=u[o.PROPERTY_RESOURCETYPE];if(!a.mimetype&&h){var v=h[0];v.namespaceURI===o.NS_DAV&&"collection"===v.nodeName.split(":")[1]&&(a.mimetype="httpd/unix-directory")}a.permissions=n.PERMISSION_NONE;var g=u[o.PROPERTY_PERMISSIONS];if(!e.isUndefined(g)){var y=g||"";a.mountType=null;for(var m=0;m<y.length;m++){switch(y.charAt(m)){case"C":case"K":a.permissions|=n.PERMISSION_CREATE;break;case"G":a.permissions|=n.PERMISSION_READ;break;case"W":case"N":case"V":a.permissions|=n.PERMISSION_UPDATE;break;case"D":a.permissions|=n.PERMISSION_DELETE;break;case"R":a.permissions|=n.PERMISSION_SHARE;break;case"M":a.mountType||(a.mountType="external");break;case"S":a.mountType="shared"}}}var b=u[o.PROPERTY_SHARE_PERMISSIONS];e.isUndefined(b)||(a.sharePermissions=parseInt(b));var x=u["{"+o.NS_NEXTCLOUD+"}mount-type"];e.isUndefined(x)||(a.mountType=x);var w=u["{"+o.NS_DAV+"}quota-available-bytes"];return e.isUndefined(w)||(a.quotaAvailableBytes=w),e.each(this._fileInfoParsers,(function(n){e.extend(a,n(t,a)||{})})),new r(a)},_parseResult:function(t){var n=this;return e.map(t,(function(e){return n._parseFileInfo(e)}))},_isSuccessStatus:function(e){return e>=200&&e<=299},_getSabreException:function(e){var t={},n=e.xhr.responseXML;if(null===n)return t;var r=n.getElementsByTagNameNS("http://sabredav.org/ns","message"),i=n.getElementsByTagNameNS("http://sabredav.org/ns","exception");return r.length&&(t.message=r[0].textContent),i.length&&(t.exception=i[0].textContent),t},getPropfindProperties:function(){return this._propfindProperties||(this._propfindProperties=e.map(o._PROPFIND_PROPERTIES,(function(e){return"{"+e[0]+"}"+e[1]}))),this._propfindProperties},getFolderContents:function(n,r){n||(n=""),r=r||{};var i,o=this,u=t.Deferred(),a=u.promise();return i=e.isUndefined(r.properties)?this.getPropfindProperties():r.properties,this._client.propFind(this._buildUrl(n),i,1).then((function(t){if(o._isSuccessStatus(t.status)){var n=o._parseResult(t.body);r&&r.includeParent||n.shift(),u.resolve(t.status,n)}else t=e.extend(t,o._getSabreException(t)),u.reject(t.status,t)})),a},getFilteredFiles:function(n,r){r=r||{};var o,u=this,a=t.Deferred(),s=a.promise();if(o=e.isUndefined(r.properties)?this.getPropfindProperties():r.properties,!n||!n.systemTagIds&&e.isUndefined(n.favorite)&&!n.circlesIds)throw"Missing filter argument";var c,f="<oc:filter-files ";for(c in this._client.xmlNamespaces)f+=" xmlns:"+this._client.xmlNamespaces[c]+'="'+c+'"';return f+=">\n",f+=" <"+this._client.xmlNamespaces["DAV:"]+":prop>\n",e.each(o,(function(e){var t=u._client.parseClarkNotation(e);f+=" <"+u._client.xmlNamespaces[t.namespace]+":"+t.name+" />\n"})),f+=" </"+this._client.xmlNamespaces["DAV:"]+":prop>\n",f+=" <oc:filter-rules>\n",e.each(n.systemTagIds,(function(e){f+=" <oc:systemtag>"+i()(e)+"</oc:systemtag>\n"})),e.each(n.circlesIds,(function(e){f+=" <oc:circle>"+i()(e)+"</oc:circle>\n"})),n.favorite&&(f+=" <oc:favorite>"+(n.favorite?"1":"0")+"</oc:favorite>\n"),f+=" </oc:filter-rules>\n",f+="</oc:filter-files>\n",this._client.request("REPORT",this._buildUrl(),{},f).then((function(t){if(u._isSuccessStatus(t.status)){var n=u._parseResult(t.body);a.resolve(t.status,n)}else t=e.extend(t,u._getSabreException(t)),a.reject(t.status,t)})),s},getFileInfo:function(n,r){n||(n=""),r=r||{};var i,o=this,u=t.Deferred(),a=u.promise();return i=e.isUndefined(r.properties)?this.getPropfindProperties():r.properties,this._client.propFind(this._buildUrl(n),i,0).then((function(t){o._isSuccessStatus(t.status)?u.resolve(t.status,o._parseResult([t.body])[0]):(t=e.extend(t,o._getSabreException(t)),u.reject(t.status,t))})),a},getFileContents:function(n){if(!n)throw'Missing argument "path"';var r=this,i=t.Deferred(),o=i.promise();return this._client.request("GET",this._buildUrl(n)).then((function(t){r._isSuccessStatus(t.status)?i.resolve(t.status,t.body):(t=e.extend(t,r._getSabreException(t)),i.reject(t.status,t))})),o},putFileContents:function(n,r,i){if(!n)throw'Missing argument "path"';var o=this,u=t.Deferred(),a=u.promise(),s={},c="text/plain;charset=utf-8";return(i=i||{}).contentType&&(c=i.contentType),s["Content-Type"]=c,(e.isUndefined(i.overwrite)||i.overwrite)&&(s["If-None-Match"]="*"),this._client.request("PUT",this._buildUrl(n),s,r||"").then((function(t){o._isSuccessStatus(t.status)?u.resolve(t.status):(t=e.extend(t,o._getSabreException(t)),u.reject(t.status,t))})),a},_simpleCall:function(n,r){if(!r)throw'Missing argument "path"';var i=this,o=t.Deferred(),u=o.promise();return this._client.request(n,this._buildUrl(r)).then((function(t){i._isSuccessStatus(t.status)?o.resolve(t.status):(t=e.extend(t,i._getSabreException(t)),o.reject(t.status,t))})),u},createDirectory:function(e){return this._simpleCall("MKCOL",e)},remove:function(e){return this._simpleCall("DELETE",e)},move:function(n,r,i,o){if(!n)throw'Missing argument "path"';if(!r)throw'Missing argument "destinationPath"';var u=this,a=t.Deferred(),s=a.promise();return o=e.extend({},o,{"Destination":this._buildUrl(r)}),i||(o.Overwrite="F"),this._client.request("MOVE",this._buildUrl(n),o).then((function(t){u._isSuccessStatus(t.status)?a.resolve(t.status):(t=e.extend(t,u._getSabreException(t)),a.reject(t.status,t))})),s},copy:function(e,n,r){if(!e)throw'Missing argument "path"';if(!n)throw'Missing argument "destinationPath"';var i=this,o=t.Deferred(),u=o.promise(),a={"Destination":this._buildUrl(n)};return r||(a.Overwrite="F"),this._client.request("COPY",this._buildUrl(e),a).then((function(e){i._isSuccessStatus(e.status)?o.resolve(e.status):o.reject(e.status)})),u},addFileInfoParser:function(e){this._fileInfoParsers.push(e)},getClient:function(){return this._client},getUserName:function(){return this._client.userName},getPassword:function(){return this._client.password},getBaseUrl:function(){return this._client.baseUrl},getHost:function(){return this._host}},n.Files||(n.Files={}),n.Files.getClient=function(){if(n.Files._defaultClient)return n.Files._defaultClient;var e=new n.Files.Client({host:n.getHost(),port:n.getPort(),root:n.linkToRemoteBase("dav")+"/files/"+n.getCurrentUser().uid,useHTTPS:"https"===n.getProtocol()});return n.Files._defaultClient=e,e},n.Files.Client=o}(OC,OC.Files.FileInfo)}.call(this,n(7),n(0))}});
//# sourceMappingURL=files_client.js.map