nextcloud/core/js/dist/files_client.js

2 lines
123 KiB
JavaScript

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