@ngageoint/mage.web-app 6.3.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/3rdpartylicenses.txt +5334 -0
  2. package/Roboto-Black.64c342ce0a2472b7.ttf +0 -0
  3. package/Roboto-BlackItalic.b060265cb980dd19.ttf +0 -0
  4. package/Roboto-Bold.015f3ac44f081e28.ttf +0 -0
  5. package/Roboto-BoldItalic.0b68797eeed9cc0f.ttf +0 -0
  6. package/Roboto-Italic.9b473247a453f52c.ttf +0 -0
  7. package/Roboto-Light.c6b9dc70e7579729.ttf +0 -0
  8. package/Roboto-LightItalic.8b4daf813f9ee3cc.ttf +0 -0
  9. package/Roboto-Medium.aff9181b51e16122.ttf +0 -0
  10. package/Roboto-MediumItalic.5c50cb48df4bf9b7.ttf +0 -0
  11. package/Roboto-Regular.e8d4a339f6a3241f.ttf +0 -0
  12. package/Roboto-Thin.c3342bc3d889f745.ttf +0 -0
  13. package/Roboto-ThinItalic.de4fdf6ac14ac43c.ttf +0 -0
  14. package/RobotoMono-Bold.8fedfa8addadfd41.ttf +0 -0
  15. package/RobotoMono-BoldItalic.b1675c8f70a5e8a9.ttf +0 -0
  16. package/RobotoMono-Italic.f73ead766a5a94fc.ttf +0 -0
  17. package/RobotoMono-Light.ace1e6efd2c43f8d.ttf +0 -0
  18. package/RobotoMono-LightItalic.374007ce3826155d.ttf +0 -0
  19. package/RobotoMono-Medium.ed949c9b03c9f138.ttf +0 -0
  20. package/RobotoMono-MediumItalic.53e0b9f08f897c54.ttf +0 -0
  21. package/RobotoMono-Regular.044774b41fdf82f1.ttf +0 -0
  22. package/RobotoMono-Thin.83818edf079f0f4d.ttf +0 -0
  23. package/RobotoMono-ThinItalic.e9aae36392c1d80c.ttf +0 -0
  24. package/assets/images/baseline-account_circle-24px.svg +1 -0
  25. package/assets/images/bluewand.png +0 -0
  26. package/assets/images/default_marker.png +0 -0
  27. package/assets/images/google-play-badge.png +0 -0
  28. package/assets/images/handle-24px.svg +3 -0
  29. package/assets/images/ios_app_store_black.svg +46 -0
  30. package/assets/images/person_pin_circle-24px.svg +1 -0
  31. package/assets/images/splash/1.jpg +0 -0
  32. package/assets/images/splash/2.jpg +0 -0
  33. package/assets/images/splash/3.jpg +0 -0
  34. package/assets/images/splash/4.jpg +0 -0
  35. package/favicon.ico +0 -0
  36. package/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.f4763db1105fb2da.woff2 +0 -0
  37. package/fontawesome-webfont.2b13baa7dd4f54c9.eot +0 -0
  38. package/fontawesome-webfont.8a7cb27d142e3e19.ttf +0 -0
  39. package/fontawesome-webfont.cf011583fb81df9f.woff +0 -0
  40. package/fontawesome-webfont.da909aa098b0ee2d.svg +2671 -0
  41. package/fontawesome-webfont.e9955780856cf8aa.woff2 +0 -0
  42. package/glyphicons-halflings-regular.009b407a9881be10.ttf +0 -0
  43. package/glyphicons-halflings-regular.4ba85deaf3670942.woff +0 -0
  44. package/glyphicons-halflings-regular.7a0f4b092e86cb52.eot +0 -0
  45. package/glyphicons-halflings-regular.85f0466cb4ab3a4d.svg +288 -0
  46. package/glyphicons-halflings-regular.b70781972ce7320b.woff2 +0 -0
  47. package/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.d8b0fb54bc805fca.woff2 +0 -0
  48. package/hESh6WRmNCxEqUmNyh3JDeGxjVVyMg4tHGctNCu0NjbrHg.a1451e4b4d6becfd.woff2 +0 -0
  49. package/ic_keyboard_arrow_left_black_24px.1c3caf72694f2700.svg +1 -0
  50. package/ic_keyboard_arrow_left_black_disabled_24px.4038ac0b6889de1a.svg +1 -0
  51. package/ic_keyboard_arrow_right_black_24px.cb8db467063656b2.svg +1 -0
  52. package/ic_keyboard_arrow_right_black_disabled_24px.28afad782a4e6776.svg +1 -0
  53. package/index.html +17 -0
  54. package/jquery.minicolors.0d87ceda61ee771b.png +0 -0
  55. package/layers-2x.9859cd1231006a4a.png +0 -0
  56. package/layers-2x.png +0 -0
  57. package/layers.ef6db8722c2c3f9a.png +0 -0
  58. package/layers.png +0 -0
  59. package/main.fef64f5234e29c88.js +1 -0
  60. package/marker-icon-2x.png +0 -0
  61. package/marker-icon.d577052aa271e13f.png +0 -0
  62. package/marker-icon.png +0 -0
  63. package/marker-shadow.png +0 -0
  64. package/package.json +31 -0
  65. package/polyfills.3b4cb5c0b65b2c55.js +1 -0
  66. package/runtime.42247642ea180a31.js +1 -0
  67. package/scripts.133526ee59581d39.js +1 -0
  68. package/styles.4945453d212769e6.css +36 -0
@@ -0,0 +1 @@
1
+ if(function(t,n){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?n(t,!0):function(o){if(!o.document)throw new Error("jQuery requires a window with a document");return n(o)}:n(t)}(typeof window<"u"?window:this,function(t,n){"use strict";var o=[],g=t.document,d=Object.getPrototypeOf,h=o.slice,m=o.concat,w=o.push,E=o.indexOf,S={},B=S.toString,J=S.hasOwnProperty,z=J.toString,q=z.call(Object),V={},U=function(s){return"function"==typeof s&&"number"!=typeof s.nodeType},lt=function(s){return null!=s&&s===s.window},Et={type:!0,src:!0,noModule:!0};function yt(e,s,r){var l,c=(s=s||g).createElement("script");if(c.text=e,r)for(l in Et)r[l]&&(c[l]=r[l]);s.head.appendChild(c).parentNode.removeChild(c)}function $t(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?S[B.call(e)]||"object":typeof e}var a=function(e,s){return new a.fn.init(e,s)},Q=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function P(e){var s=!!e&&"length"in e&&e.length,r=$t(e);return!U(e)&&!lt(e)&&("array"===r||0===s||"number"==typeof s&&s>0&&s-1 in e)}a.fn=a.prototype={jquery:"3.3.1",constructor:a,length:0,toArray:function(){return h.call(this)},get:function(e){return null==e?h.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var s=a.merge(this.constructor(),e);return s.prevObject=this,s},each:function(e){return a.each(this,e)},map:function(e){return this.pushStack(a.map(this,function(s,r){return e.call(s,r,s)}))},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var s=this.length,r=+e+(e<0?s:0);return this.pushStack(r>=0&&r<s?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:w,sort:o.sort,splice:o.splice},a.extend=a.fn.extend=function(){var e,s,r,l,c,u,p=arguments[0]||{},v=1,_=arguments.length,T=!1;for("boolean"==typeof p&&(T=p,p=arguments[v]||{},v++),"object"==typeof p||U(p)||(p={}),v===_&&(p=this,v--);v<_;v++)if(null!=(e=arguments[v]))for(s in e)r=p[s],p!==(l=e[s])&&(T&&l&&(a.isPlainObject(l)||(c=Array.isArray(l)))?(c?(c=!1,u=r&&Array.isArray(r)?r:[]):u=r&&a.isPlainObject(r)?r:{},p[s]=a.extend(T,u,l)):void 0!==l&&(p[s]=l));return p},a.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var s,r;return!(!e||"[object Object]"!==B.call(e)||(s=d(e))&&("function"!=typeof(r=J.call(s,"constructor")&&s.constructor)||z.call(r)!==q))},isEmptyObject:function(e){var s;for(s in e)return!1;return!0},globalEval:function(e){yt(e)},each:function(e,s){var r,l=0;if(P(e))for(r=e.length;l<r&&!1!==s.call(e[l],l,e[l]);l++);else for(l in e)if(!1===s.call(e[l],l,e[l]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Q,"")},makeArray:function(e,s){var r=s||[];return null!=e&&(P(Object(e))?a.merge(r,"string"==typeof e?[e]:e):w.call(r,e)),r},inArray:function(e,s,r){return null==s?-1:E.call(s,e,r)},merge:function(e,s){for(var r=+s.length,l=0,c=e.length;l<r;l++)e[c++]=s[l];return e.length=c,e},grep:function(e,s,r){for(var c=[],u=0,p=e.length,v=!r;u<p;u++)!s(e[u],u)!==v&&c.push(e[u]);return c},map:function(e,s,r){var l,c,u=0,p=[];if(P(e))for(l=e.length;u<l;u++)null!=(c=s(e[u],u,r))&&p.push(c);else for(u in e)null!=(c=s(e[u],u,r))&&p.push(c);return m.apply([],p)},guid:1,support:V}),"function"==typeof Symbol&&(a.fn[Symbol.iterator]=o[Symbol.iterator]),a.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,s){S["[object "+s+"]"]=s.toLowerCase()});var G=function(e){var s,r,l,c,u,p,v,_,T,H,$,M,A,Y,at,tt,Bt,Nt,Jt,kt="sizzle"+1*new Date,ot=e.document,Qt=0,mt=0,At=ln(),Ae=ln(),be=ln(),ie=function(f,y){return f===y&&($=!0),0},Re={}.hasOwnProperty,Zt=[],fe=Zt.pop,Te=Zt.push,It=Zt.push,Vn=Zt.slice,ye=function(f,y){for(var k=0,L=f.length;k<L;k++)if(f[k]===y)return k;return-1},on="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ct="[\\x20\\t\\r\\n\\f]",ve="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",Kn="\\["+Ct+"*("+ve+")(?:"+Ct+"*([*^$|!~]?=)"+Ct+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ve+"))|)"+Ct+"*\\]",rn=":("+ve+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Kn+")*)|.*)\\)|)",Oi=new RegExp(Ct+"+","g"),qe=new RegExp("^"+Ct+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ct+"+$","g"),Di=new RegExp("^"+Ct+"*,"+Ct+"*"),Bi=new RegExp("^"+Ct+"*([>+~]|"+Ct+")"+Ct+"*"),Ni=new RegExp("="+Ct+"*([^\\]'\"]*?)"+Ct+"*\\]","g"),Ii=new RegExp(rn),$i=new RegExp("^"+ve+"$"),Fe={ID:new RegExp("^#("+ve+")"),CLASS:new RegExp("^\\.("+ve+")"),TAG:new RegExp("^("+ve+"|[*])"),ATTR:new RegExp("^"+Kn),PSEUDO:new RegExp("^"+rn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ct+"*(even|odd|(([+-]|)(\\d*)n|)"+Ct+"*(?:([+-]|)"+Ct+"*(\\d+)|))"+Ct+"*\\)|)","i"),bool:new RegExp("^(?:"+on+")$","i"),needsContext:new RegExp("^"+Ct+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ct+"*((?:-\\d)?\\d*)"+Ct+"*\\)|)(?=[^-]|$)","i")},Pi=/^(?:input|select|textarea|button)$/i,qi=/^h\d$/i,He=/^[^{]+\{\s*\[native \w/,Fi=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,an=/[+~]/,ue=new RegExp("\\\\([\\da-f]{1,6}"+Ct+"?|("+Ct+")|.)","ig"),he=function(f,y,k){var L="0x"+y-65536;return L!=L||k?y:L<0?String.fromCharCode(L+65536):String.fromCharCode(L>>10|55296,1023&L|56320)},Wn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,zn=function(f,y){return y?"\0"===f?"\ufffd":f.slice(0,-1)+"\\"+f.charCodeAt(f.length-1).toString(16)+" ":"\\"+f},Un=function(){M()},Vi=Ke(function(f){return!0===f.disabled&&("form"in f||"label"in f)},{dir:"parentNode",next:"legend"});try{It.apply(Zt=Vn.call(ot.childNodes),ot.childNodes)}catch{It={apply:Zt.length?function(y,k){Te.apply(y,Vn.call(k))}:function(y,k){for(var L=y.length,b=0;y[L++]=k[b++];);y.length=L-1}}}function bt(f,y,k,L){var b,D,I,F,W,et,Z,st=y&&y.ownerDocument,dt=y?y.nodeType:9;if(k=k||[],"string"!=typeof f||!f||1!==dt&&9!==dt&&11!==dt)return k;if(!L&&((y?y.ownerDocument||y:ot)!==A&&M(y),y=y||A,at)){if(11!==dt&&(W=Fi.exec(f)))if(b=W[1]){if(9===dt){if(!(I=y.getElementById(b)))return k;if(I.id===b)return k.push(I),k}else if(st&&(I=st.getElementById(b))&&Jt(y,I)&&I.id===b)return k.push(I),k}else{if(W[2])return It.apply(k,y.getElementsByTagName(f)),k;if((b=W[3])&&r.getElementsByClassName&&y.getElementsByClassName)return It.apply(k,y.getElementsByClassName(b)),k}if(r.qsa&&!be[f+" "]&&(!tt||!tt.test(f))){if(1!==dt)st=y,Z=f;else if("object"!==y.nodeName.toLowerCase()){for((F=y.getAttribute("id"))?F=F.replace(Wn,zn):y.setAttribute("id",F=kt),D=(et=p(f)).length;D--;)et[D]="#"+F+" "+Ve(et[D]);Z=et.join(","),st=an.test(f)&&un(y.parentNode)||y}if(Z)try{return It.apply(k,st.querySelectorAll(Z)),k}catch{}finally{F===kt&&y.removeAttribute("id")}}}return _(f.replace(qe,"$1"),y,k,L)}function ln(){var f=[];return function y(k,L){return f.push(k+" ")>l.cacheLength&&delete y[f.shift()],y[k+" "]=L}}function se(f){return f[kt]=!0,f}function le(f){var y=A.createElement("fieldset");try{return!!f(y)}catch{return!1}finally{y.parentNode&&y.parentNode.removeChild(y),y=null}}function cn(f,y){for(var k=f.split("|"),L=k.length;L--;)l.attrHandle[k[L]]=y}function Qn(f,y){var k=y&&f,L=k&&1===f.nodeType&&1===y.nodeType&&f.sourceIndex-y.sourceIndex;if(L)return L;if(k)for(;k=k.nextSibling;)if(k===y)return-1;return f?1:-1}function Ki(f){return function(y){return"input"===y.nodeName.toLowerCase()&&y.type===f}}function Wi(f){return function(y){var k=y.nodeName.toLowerCase();return("input"===k||"button"===k)&&y.type===f}}function Xn(f){return function(y){return"form"in y?y.parentNode&&!1===y.disabled?"label"in y?"label"in y.parentNode?y.parentNode.disabled===f:y.disabled===f:y.isDisabled===f||y.isDisabled!==!f&&Vi(y)===f:y.disabled===f:"label"in y&&y.disabled===f}}function _e(f){return se(function(y){return y=+y,se(function(k,L){for(var b,D=f([],k.length,y),I=D.length;I--;)k[b=D[I]]&&(k[b]=!(L[b]=k[b]))})})}function un(f){return f&&typeof f.getElementsByTagName<"u"&&f}for(s in r=bt.support={},u=bt.isXML=function(f){var y=f&&(f.ownerDocument||f).documentElement;return!!y&&"HTML"!==y.nodeName},M=bt.setDocument=function(f){var y,k,L=f?f.ownerDocument||f:ot;return L!==A&&9===L.nodeType&&L.documentElement&&(Y=(A=L).documentElement,at=!u(A),ot!==A&&(k=A.defaultView)&&k.top!==k&&(k.addEventListener?k.addEventListener("unload",Un,!1):k.attachEvent&&k.attachEvent("onunload",Un)),r.attributes=le(function(b){return b.className="i",!b.getAttribute("className")}),r.getElementsByTagName=le(function(b){return b.appendChild(A.createComment("")),!b.getElementsByTagName("*").length}),r.getElementsByClassName=He.test(A.getElementsByClassName),r.getById=le(function(b){return Y.appendChild(b).id=kt,!A.getElementsByName||!A.getElementsByName(kt).length}),r.getById?(l.filter.ID=function(b){var D=b.replace(ue,he);return function(I){return I.getAttribute("id")===D}},l.find.ID=function(b,D){if(typeof D.getElementById<"u"&&at){var I=D.getElementById(b);return I?[I]:[]}}):(l.filter.ID=function(b){var D=b.replace(ue,he);return function(I){var F=typeof I.getAttributeNode<"u"&&I.getAttributeNode("id");return F&&F.value===D}},l.find.ID=function(b,D){if(typeof D.getElementById<"u"&&at){var I,F,W,et=D.getElementById(b);if(et){if((I=et.getAttributeNode("id"))&&I.value===b)return[et];for(W=D.getElementsByName(b),F=0;et=W[F++];)if((I=et.getAttributeNode("id"))&&I.value===b)return[et]}return[]}}),l.find.TAG=r.getElementsByTagName?function(b,D){return typeof D.getElementsByTagName<"u"?D.getElementsByTagName(b):r.qsa?D.querySelectorAll(b):void 0}:function(b,D){var I,F=[],W=0,et=D.getElementsByTagName(b);if("*"===b){for(;I=et[W++];)1===I.nodeType&&F.push(I);return F}return et},l.find.CLASS=r.getElementsByClassName&&function(b,D){if(typeof D.getElementsByClassName<"u"&&at)return D.getElementsByClassName(b)},Bt=[],tt=[],(r.qsa=He.test(A.querySelectorAll))&&(le(function(b){Y.appendChild(b).innerHTML="<a id='"+kt+"'></a><select id='"+kt+"-\r\\' msallowcapture=''><option selected=''></option></select>",b.querySelectorAll("[msallowcapture^='']").length&&tt.push("[*^$]="+Ct+"*(?:''|\"\")"),b.querySelectorAll("[selected]").length||tt.push("\\["+Ct+"*(?:value|"+on+")"),b.querySelectorAll("[id~="+kt+"-]").length||tt.push("~="),b.querySelectorAll(":checked").length||tt.push(":checked"),b.querySelectorAll("a#"+kt+"+*").length||tt.push(".#.+[+~]")}),le(function(b){b.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var D=A.createElement("input");D.setAttribute("type","hidden"),b.appendChild(D).setAttribute("name","D"),b.querySelectorAll("[name=d]").length&&tt.push("name"+Ct+"*[*^$|!~]?="),2!==b.querySelectorAll(":enabled").length&&tt.push(":enabled",":disabled"),Y.appendChild(b).disabled=!0,2!==b.querySelectorAll(":disabled").length&&tt.push(":enabled",":disabled"),b.querySelectorAll("*,:x"),tt.push(",.*:")})),(r.matchesSelector=He.test(Nt=Y.matches||Y.webkitMatchesSelector||Y.mozMatchesSelector||Y.oMatchesSelector||Y.msMatchesSelector))&&le(function(b){r.disconnectedMatch=Nt.call(b,"*"),Nt.call(b,"[s!='']:x"),Bt.push("!=",rn)}),tt=tt.length&&new RegExp(tt.join("|")),Bt=Bt.length&&new RegExp(Bt.join("|")),y=He.test(Y.compareDocumentPosition),Jt=y||He.test(Y.contains)?function(b,D){var I=9===b.nodeType?b.documentElement:b,F=D&&D.parentNode;return b===F||!(!F||1!==F.nodeType||!(I.contains?I.contains(F):b.compareDocumentPosition&&16&b.compareDocumentPosition(F)))}:function(b,D){if(D)for(;D=D.parentNode;)if(D===b)return!0;return!1},ie=y?function(b,D){if(b===D)return $=!0,0;var I=!b.compareDocumentPosition-!D.compareDocumentPosition;return I||(1&(I=(b.ownerDocument||b)===(D.ownerDocument||D)?b.compareDocumentPosition(D):1)||!r.sortDetached&&D.compareDocumentPosition(b)===I?b===A||b.ownerDocument===ot&&Jt(ot,b)?-1:D===A||D.ownerDocument===ot&&Jt(ot,D)?1:H?ye(H,b)-ye(H,D):0:4&I?-1:1)}:function(b,D){if(b===D)return $=!0,0;var I,F=0,W=b.parentNode,et=D.parentNode,Z=[b],st=[D];if(!W||!et)return b===A?-1:D===A?1:W?-1:et?1:H?ye(H,b)-ye(H,D):0;if(W===et)return Qn(b,D);for(I=b;I=I.parentNode;)Z.unshift(I);for(I=D;I=I.parentNode;)st.unshift(I);for(;Z[F]===st[F];)F++;return F?Qn(Z[F],st[F]):Z[F]===ot?-1:st[F]===ot?1:0}),A},bt.matches=function(f,y){return bt(f,null,null,y)},bt.matchesSelector=function(f,y){if((f.ownerDocument||f)!==A&&M(f),y=y.replace(Ni,"='$1']"),r.matchesSelector&&at&&!be[y+" "]&&(!Bt||!Bt.test(y))&&(!tt||!tt.test(y)))try{var k=Nt.call(f,y);if(k||r.disconnectedMatch||f.document&&11!==f.document.nodeType)return k}catch{}return bt(y,A,null,[f]).length>0},bt.contains=function(f,y){return(f.ownerDocument||f)!==A&&M(f),Jt(f,y)},bt.attr=function(f,y){(f.ownerDocument||f)!==A&&M(f);var k=l.attrHandle[y.toLowerCase()],L=k&&Re.call(l.attrHandle,y.toLowerCase())?k(f,y,!at):void 0;return void 0!==L?L:r.attributes||!at?f.getAttribute(y):(L=f.getAttributeNode(y))&&L.specified?L.value:null},bt.escape=function(f){return(f+"").replace(Wn,zn)},bt.error=function(f){throw new Error("Syntax error, unrecognized expression: "+f)},bt.uniqueSort=function(f){var y,k=[],L=0,b=0;if($=!r.detectDuplicates,H=!r.sortStable&&f.slice(0),f.sort(ie),$){for(;y=f[b++];)y===f[b]&&(L=k.push(b));for(;L--;)f.splice(k[L],1)}return H=null,f},c=bt.getText=function(f){var y,k="",L=0,b=f.nodeType;if(b){if(1===b||9===b||11===b){if("string"==typeof f.textContent)return f.textContent;for(f=f.firstChild;f;f=f.nextSibling)k+=c(f)}else if(3===b||4===b)return f.nodeValue}else for(;y=f[L++];)k+=c(y);return k},(l=bt.selectors={cacheLength:50,createPseudo:se,match:Fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(f){return f[1]=f[1].replace(ue,he),f[3]=(f[3]||f[4]||f[5]||"").replace(ue,he),"~="===f[2]&&(f[3]=" "+f[3]+" "),f.slice(0,4)},CHILD:function(f){return f[1]=f[1].toLowerCase(),"nth"===f[1].slice(0,3)?(f[3]||bt.error(f[0]),f[4]=+(f[4]?f[5]+(f[6]||1):2*("even"===f[3]||"odd"===f[3])),f[5]=+(f[7]+f[8]||"odd"===f[3])):f[3]&&bt.error(f[0]),f},PSEUDO:function(f){var y,k=!f[6]&&f[2];return Fe.CHILD.test(f[0])?null:(f[3]?f[2]=f[4]||f[5]||"":k&&Ii.test(k)&&(y=p(k,!0))&&(y=k.indexOf(")",k.length-y)-k.length)&&(f[0]=f[0].slice(0,y),f[2]=k.slice(0,y)),f.slice(0,3))}},filter:{TAG:function(f){var y=f.replace(ue,he).toLowerCase();return"*"===f?function(){return!0}:function(k){return k.nodeName&&k.nodeName.toLowerCase()===y}},CLASS:function(f){var y=At[f+" "];return y||(y=new RegExp("(^|"+Ct+")"+f+"("+Ct+"|$)"))&&At(f,function(k){return y.test("string"==typeof k.className&&k.className||typeof k.getAttribute<"u"&&k.getAttribute("class")||"")})},ATTR:function(f,y,k){return function(L){var b=bt.attr(L,f);return null==b?"!="===y:!y||(b+="","="===y?b===k:"!="===y?b!==k:"^="===y?k&&0===b.indexOf(k):"*="===y?k&&b.indexOf(k)>-1:"$="===y?k&&b.slice(-k.length)===k:"~="===y?(" "+b.replace(Oi," ")+" ").indexOf(k)>-1:"|="===y&&(b===k||b.slice(0,k.length+1)===k+"-"))}},CHILD:function(f,y,k,L,b){var D="nth"!==f.slice(0,3),I="last"!==f.slice(-4),F="of-type"===y;return 1===L&&0===b?function(W){return!!W.parentNode}:function(W,et,Z){var st,dt,St,nt,Ft,Kt,Gt=D!==I?"nextSibling":"previousSibling",Mt=W.parentNode,Oe=F&&W.nodeName.toLowerCase(),De=!Z&&!F,te=!1;if(Mt){if(D){for(;Gt;){for(nt=W;nt=nt[Gt];)if(F?nt.nodeName.toLowerCase()===Oe:1===nt.nodeType)return!1;Kt=Gt="only"===f&&!Kt&&"nextSibling"}return!0}if(Kt=[I?Mt.firstChild:Mt.lastChild],I&&De){for(te=(Ft=(st=(dt=(St=(nt=Mt)[kt]||(nt[kt]={}))[nt.uniqueID]||(St[nt.uniqueID]={}))[f]||[])[0]===Qt&&st[1])&&st[2],nt=Ft&&Mt.childNodes[Ft];nt=++Ft&&nt&&nt[Gt]||(te=Ft=0)||Kt.pop();)if(1===nt.nodeType&&++te&&nt===W){dt[f]=[Qt,Ft,te];break}}else if(De&&(te=Ft=(st=(dt=(St=(nt=W)[kt]||(nt[kt]={}))[nt.uniqueID]||(St[nt.uniqueID]={}))[f]||[])[0]===Qt&&st[1]),!1===te)for(;(nt=++Ft&&nt&&nt[Gt]||(te=Ft=0)||Kt.pop())&&((F?nt.nodeName.toLowerCase()!==Oe:1!==nt.nodeType)||!++te||(De&&((dt=(St=nt[kt]||(nt[kt]={}))[nt.uniqueID]||(St[nt.uniqueID]={}))[f]=[Qt,te]),nt!==W)););return(te-=b)===L||te%L==0&&te/L>=0}}},PSEUDO:function(f,y){var k,L=l.pseudos[f]||l.setFilters[f.toLowerCase()]||bt.error("unsupported pseudo: "+f);return L[kt]?L(y):L.length>1?(k=[f,f,"",y],l.setFilters.hasOwnProperty(f.toLowerCase())?se(function(b,D){for(var I,F=L(b,y),W=F.length;W--;)b[I=ye(b,F[W])]=!(D[I]=F[W])}):function(b){return L(b,0,k)}):L}},pseudos:{not:se(function(f){var y=[],k=[],L=v(f.replace(qe,"$1"));return L[kt]?se(function(b,D,I,F){for(var W,et=L(b,null,F,[]),Z=b.length;Z--;)(W=et[Z])&&(b[Z]=!(D[Z]=W))}):function(b,D,I){return y[0]=b,L(y,null,I,k),y[0]=null,!k.pop()}}),has:se(function(f){return function(y){return bt(f,y).length>0}}),contains:se(function(f){return f=f.replace(ue,he),function(y){return(y.textContent||y.innerText||c(y)).indexOf(f)>-1}}),lang:se(function(f){return $i.test(f||"")||bt.error("unsupported lang: "+f),f=f.replace(ue,he).toLowerCase(),function(y){var k;do{if(k=at?y.lang:y.getAttribute("xml:lang")||y.getAttribute("lang"))return(k=k.toLowerCase())===f||0===k.indexOf(f+"-")}while((y=y.parentNode)&&1===y.nodeType);return!1}}),target:function(f){var y=e.location&&e.location.hash;return y&&y.slice(1)===f.id},root:function(f){return f===Y},focus:function(f){return f===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(f.type||f.href||~f.tabIndex)},enabled:Xn(!1),disabled:Xn(!0),checked:function(f){var y=f.nodeName.toLowerCase();return"input"===y&&!!f.checked||"option"===y&&!!f.selected},selected:function(f){return!0===f.selected},empty:function(f){for(f=f.firstChild;f;f=f.nextSibling)if(f.nodeType<6)return!1;return!0},parent:function(f){return!l.pseudos.empty(f)},header:function(f){return qi.test(f.nodeName)},input:function(f){return Pi.test(f.nodeName)},button:function(f){var y=f.nodeName.toLowerCase();return"input"===y&&"button"===f.type||"button"===y},text:function(f){var y;return"input"===f.nodeName.toLowerCase()&&"text"===f.type&&(null==(y=f.getAttribute("type"))||"text"===y.toLowerCase())},first:_e(function(){return[0]}),last:_e(function(f,y){return[y-1]}),eq:_e(function(f,y,k){return[k<0?k+y:k]}),even:_e(function(f,y){for(var k=0;k<y;k+=2)f.push(k);return f}),odd:_e(function(f,y){for(var k=1;k<y;k+=2)f.push(k);return f}),lt:_e(function(f,y,k){for(var L=k<0?k+y:k;--L>=0;)f.push(L);return f}),gt:_e(function(f,y,k){for(var L=k<0?k+y:k;++L<y;)f.push(L);return f})}}).pseudos.nth=l.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.pseudos[s]=Ki(s);for(s in{submit:!0,reset:!0})l.pseudos[s]=Wi(s);function Jn(){}function Ve(f){for(var y=0,k=f.length,L="";y<k;y++)L+=f[y].value;return L}function Ke(f,y,k){var L=y.dir,b=y.next,D=b||L,I=k&&"parentNode"===D,F=mt++;return y.first?function(W,et,Z){for(;W=W[L];)if(1===W.nodeType||I)return f(W,et,Z);return!1}:function(W,et,Z){var st,dt,St,nt=[Qt,F];if(Z){for(;W=W[L];)if((1===W.nodeType||I)&&f(W,et,Z))return!0}else for(;W=W[L];)if(1===W.nodeType||I)if(dt=(St=W[kt]||(W[kt]={}))[W.uniqueID]||(St[W.uniqueID]={}),b&&b===W.nodeName.toLowerCase())W=W[L]||W;else{if((st=dt[D])&&st[0]===Qt&&st[1]===F)return nt[2]=st[2];if(dt[D]=nt,nt[2]=f(W,et,Z))return!0}return!1}}function hn(f){return f.length>1?function(y,k,L){for(var b=f.length;b--;)if(!f[b](y,k,L))return!1;return!0}:f[0]}function We(f,y,k,L,b){for(var D,I=[],F=0,W=f.length,et=null!=y;F<W;F++)(D=f[F])&&(k&&!k(D,L,b)||(I.push(D),et&&y.push(F)));return I}function pn(f,y,k,L,b,D){return L&&!L[kt]&&(L=pn(L)),b&&!b[kt]&&(b=pn(b,D)),se(function(I,F,W,et){var Z,st,dt,St=[],nt=[],Ft=F.length,Kt=I||function zi(f,y,k){for(var L=0,b=y.length;L<b;L++)bt(f,y[L],k);return k}(y||"*",W.nodeType?[W]:W,[]),Gt=!f||!I&&y?Kt:We(Kt,St,f,W,et),Mt=k?b||(I?f:Ft||L)?[]:F:Gt;if(k&&k(Gt,Mt,W,et),L)for(Z=We(Mt,nt),L(Z,[],W,et),st=Z.length;st--;)(dt=Z[st])&&(Mt[nt[st]]=!(Gt[nt[st]]=dt));if(I){if(b||f){if(b){for(Z=[],st=Mt.length;st--;)(dt=Mt[st])&&Z.push(Gt[st]=dt);b(null,Mt=[],Z,et)}for(st=Mt.length;st--;)(dt=Mt[st])&&(Z=b?ye(I,dt):St[st])>-1&&(I[Z]=!(F[Z]=dt))}}else Mt=We(Mt===F?Mt.splice(Ft,Mt.length):Mt),b?b(null,F,Mt,et):It.apply(F,Mt)})}function fn(f){for(var y,k,L,b=f.length,D=l.relative[f[0].type],I=D||l.relative[" "],F=D?1:0,W=Ke(function(st){return st===y},I,!0),et=Ke(function(st){return ye(y,st)>-1},I,!0),Z=[function(st,dt,St){var nt=!D&&(St||dt!==T)||((y=dt).nodeType?W(st,dt,St):et(st,dt,St));return y=null,nt}];F<b;F++)if(k=l.relative[f[F].type])Z=[Ke(hn(Z),k)];else{if((k=l.filter[f[F].type].apply(null,f[F].matches))[kt]){for(L=++F;L<b&&!l.relative[f[L].type];L++);return pn(F>1&&hn(Z),F>1&&Ve(f.slice(0,F-1).concat({value:" "===f[F-2].type?"*":""})).replace(qe,"$1"),k,F<L&&fn(f.slice(F,L)),L<b&&fn(f=f.slice(L)),L<b&&Ve(f))}Z.push(k)}return hn(Z)}return Jn.prototype=l.filters=l.pseudos,l.setFilters=new Jn,p=bt.tokenize=function(f,y){var k,L,b,D,I,F,W,et=Ae[f+" "];if(et)return y?0:et.slice(0);for(I=f,F=[],W=l.preFilter;I;){for(D in k&&!(L=Di.exec(I))||(L&&(I=I.slice(L[0].length)||I),F.push(b=[])),k=!1,(L=Bi.exec(I))&&(k=L.shift(),b.push({value:k,type:L[0].replace(qe," ")}),I=I.slice(k.length)),l.filter)!(L=Fe[D].exec(I))||W[D]&&!(L=W[D](L))||(k=L.shift(),b.push({value:k,type:D,matches:L}),I=I.slice(k.length));if(!k)break}return y?I.length:I?bt.error(f):Ae(f,F).slice(0)},v=bt.compile=function(f,y){var k,L=[],b=[],D=be[f+" "];if(!D){for(y||(y=p(f)),k=y.length;k--;)(D=fn(y[k]))[kt]?L.push(D):b.push(D);(D=be(f,function Ui(f,y){var k=y.length>0,L=f.length>0,b=function(D,I,F,W,et){var Z,st,dt,St=0,nt="0",Ft=D&&[],Kt=[],Gt=T,Mt=D||L&&l.find.TAG("*",et),Oe=Qt+=null==Gt?1:Math.random()||.1,De=Mt.length;for(et&&(T=I===A||I||et);nt!==De&&null!=(Z=Mt[nt]);nt++){if(L&&Z){for(st=0,I||Z.ownerDocument===A||(M(Z),F=!at);dt=f[st++];)if(dt(Z,I||A,F)){W.push(Z);break}et&&(Qt=Oe)}k&&((Z=!dt&&Z)&&St--,D&&Ft.push(Z))}if(St+=nt,k&&nt!==St){for(st=0;dt=y[st++];)dt(Ft,Kt,I,F);if(D){if(St>0)for(;nt--;)Ft[nt]||Kt[nt]||(Kt[nt]=fe.call(W));Kt=We(Kt)}It.apply(W,Kt),et&&!D&&Kt.length>0&&St+y.length>1&&bt.uniqueSort(W)}return et&&(Qt=Oe,T=Gt),Ft};return k?se(b):b}(b,L))).selector=f}return D},_=bt.select=function(f,y,k,L){var b,D,I,F,W,et="function"==typeof f&&f,Z=!L&&p(f=et.selector||f);if(k=k||[],1===Z.length){if((D=Z[0]=Z[0].slice(0)).length>2&&"ID"===(I=D[0]).type&&9===y.nodeType&&at&&l.relative[D[1].type]){if(!(y=(l.find.ID(I.matches[0].replace(ue,he),y)||[])[0]))return k;et&&(y=y.parentNode),f=f.slice(D.shift().value.length)}for(b=Fe.needsContext.test(f)?0:D.length;b--&&!l.relative[F=(I=D[b]).type];)if((W=l.find[F])&&(L=W(I.matches[0].replace(ue,he),an.test(D[0].type)&&un(y.parentNode)||y))){if(D.splice(b,1),!(f=L.length&&Ve(D)))return It.apply(k,L),k;break}}return(et||v(f,Z))(L,y,!at,k,!y||an.test(f)&&un(y.parentNode)||y),k},r.sortStable=kt.split("").sort(ie).join("")===kt,r.detectDuplicates=!!$,M(),r.sortDetached=le(function(f){return 1&f.compareDocumentPosition(A.createElement("fieldset"))}),le(function(f){return f.innerHTML="<a href='#'></a>","#"===f.firstChild.getAttribute("href")})||cn("type|href|height|width",function(f,y,k){if(!k)return f.getAttribute(y,"type"===y.toLowerCase()?1:2)}),r.attributes&&le(function(f){return f.innerHTML="<input/>",f.firstChild.setAttribute("value",""),""===f.firstChild.getAttribute("value")})||cn("value",function(f,y,k){if(!k&&"input"===f.nodeName.toLowerCase())return f.defaultValue}),le(function(f){return null==f.getAttribute("disabled")})||cn(on,function(f,y,k){var L;if(!k)return!0===f[y]?y.toLowerCase():(L=f.getAttributeNode(y))&&L.specified?L.value:null}),bt}(t);a.find=G,a.expr=G.selectors,a.expr[":"]=a.expr.pseudos,a.uniqueSort=a.unique=G.uniqueSort,a.text=G.getText,a.isXMLDoc=G.isXML,a.contains=G.contains,a.escapeSelector=G.escape;var it=function(e,s,r){for(var l=[],c=void 0!==r;(e=e[s])&&9!==e.nodeType;)if(1===e.nodeType){if(c&&a(e).is(r))break;l.push(e)}return l},K=function(e,s){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==s&&r.push(e);return r},ft=a.expr.match.needsContext;function ct(e,s){return e.nodeName&&e.nodeName.toLowerCase()===s.toLowerCase()}var ut=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function gt(e,s,r){return U(s)?a.grep(e,function(l,c){return!!s.call(l,c,l)!==r}):s.nodeType?a.grep(e,function(l){return l===s!==r}):"string"!=typeof s?a.grep(e,function(l){return E.call(s,l)>-1!==r}):a.filter(s,e,r)}a.filter=function(e,s,r){var l=s[0];return r&&(e=":not("+e+")"),1===s.length&&1===l.nodeType?a.find.matchesSelector(l,e)?[l]:[]:a.find.matches(e,a.grep(s,function(c){return 1===c.nodeType}))},a.fn.extend({find:function(e){var s,r,l=this.length,c=this;if("string"!=typeof e)return this.pushStack(a(e).filter(function(){for(s=0;s<l;s++)if(a.contains(c[s],this))return!0}));for(r=this.pushStack([]),s=0;s<l;s++)a.find(e,c[s],r);return l>1?a.uniqueSort(r):r},filter:function(e){return this.pushStack(gt(this,e||[],!1))},not:function(e){return this.pushStack(gt(this,e||[],!0))},is:function(e){return!!gt(this,"string"==typeof e&&ft.test(e)?a(e):e||[],!1).length}});var Rt,ht=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(a.fn.init=function(e,s,r){var l,c;if(!e)return this;if(r=r||Rt,"string"==typeof e){if(!(l="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ht.exec(e))||!l[1]&&s)return!s||s.jquery?(s||r).find(e):this.constructor(s).find(e);if(l[1]){if(a.merge(this,a.parseHTML(l[1],(s=s instanceof a?s[0]:s)&&s.nodeType?s.ownerDocument||s:g,!0)),ut.test(l[1])&&a.isPlainObject(s))for(l in s)U(this[l])?this[l](s[l]):this.attr(l,s[l]);return this}return(c=g.getElementById(l[2]))&&(this[0]=c,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):U(e)?void 0!==r.ready?r.ready(e):e(a):a.makeArray(e,this)}).prototype=a.fn,Rt=a(g);var Tt=/^(?:parents|prev(?:Until|All))/,Vt={children:!0,contents:!0,next:!0,prev:!0};function Lt(e,s){for(;(e=e[s])&&1!==e.nodeType;);return e}a.fn.extend({has:function(e){var s=a(e,this),r=s.length;return this.filter(function(){for(var l=0;l<r;l++)if(a.contains(this,s[l]))return!0})},closest:function(e,s){var r,l=0,c=this.length,u=[],p="string"!=typeof e&&a(e);if(!ft.test(e))for(;l<c;l++)for(r=this[l];r&&r!==s;r=r.parentNode)if(r.nodeType<11&&(p?p.index(r)>-1:1===r.nodeType&&a.find.matchesSelector(r,e))){u.push(r);break}return this.pushStack(u.length>1?a.uniqueSort(u):u)},index:function(e){return e?"string"==typeof e?E.call(a(e),this[0]):E.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,s){return this.pushStack(a.uniqueSort(a.merge(this.get(),a(e,s))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),a.each({parent:function(e){var s=e.parentNode;return s&&11!==s.nodeType?s:null},parents:function(e){return it(e,"parentNode")},parentsUntil:function(e,s,r){return it(e,"parentNode",r)},next:function(e){return Lt(e,"nextSibling")},prev:function(e){return Lt(e,"previousSibling")},nextAll:function(e){return it(e,"nextSibling")},prevAll:function(e){return it(e,"previousSibling")},nextUntil:function(e,s,r){return it(e,"nextSibling",r)},prevUntil:function(e,s,r){return it(e,"previousSibling",r)},siblings:function(e){return K((e.parentNode||{}).firstChild,e)},children:function(e){return K(e.firstChild)},contents:function(e){return ct(e,"iframe")?e.contentDocument:(ct(e,"template")&&(e=e.content||e),a.merge([],e.childNodes))}},function(e,s){a.fn[e]=function(r,l){var c=a.map(this,s,r);return"Until"!==e.slice(-5)&&(l=r),l&&"string"==typeof l&&(c=a.filter(l,c)),this.length>1&&(Vt[e]||a.uniqueSort(c),Tt.test(e)&&c.reverse()),this.pushStack(c)}});var jt=/[^\x20\t\r\n\f]+/g;function oe(e){return e}function ce(e){throw e}function de(e,s,r,l){var c;try{e&&U(c=e.promise)?c.call(e).done(s).fail(r):e&&U(c=e.then)?c.call(e,s,r):s.apply(void 0,[e].slice(l))}catch(u){r.apply(void 0,[u])}}a.Callbacks=function(e){e="string"==typeof e?function ee(e){var s={};return a.each(e.match(jt)||[],function(r,l){s[l]=!0}),s}(e):a.extend({},e);var s,r,l,c,u=[],p=[],v=-1,_=function(){for(c=c||e.once,l=s=!0;p.length;v=-1)for(r=p.shift();++v<u.length;)!1===u[v].apply(r[0],r[1])&&e.stopOnFalse&&(v=u.length,r=!1);e.memory||(r=!1),s=!1,c&&(u=r?[]:"")},T={add:function(){return u&&(r&&!s&&(v=u.length-1,p.push(r)),function H($){a.each($,function(M,A){U(A)?e.unique&&T.has(A)||u.push(A):A&&A.length&&"string"!==$t(A)&&H(A)})}(arguments),r&&!s&&_()),this},remove:function(){return a.each(arguments,function(H,$){for(var M;(M=a.inArray($,u,M))>-1;)u.splice(M,1),M<=v&&v--}),this},has:function(H){return H?a.inArray(H,u)>-1:u.length>0},empty:function(){return u&&(u=[]),this},disable:function(){return c=p=[],u=r="",this},disabled:function(){return!u},lock:function(){return c=p=[],r||s||(u=r=""),this},locked:function(){return!!c},fireWith:function(H,$){return c||($=[H,($=$||[]).slice?$.slice():$],p.push($),s||_()),this},fire:function(){return T.fireWith(this,arguments),this},fired:function(){return!!l}};return T},a.extend({Deferred:function(e){var s=[["notify","progress",a.Callbacks("memory"),a.Callbacks("memory"),2],["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),0,"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),1,"rejected"]],r="pending",l={state:function(){return r},always:function(){return c.done(arguments).fail(arguments),this},catch:function(u){return l.then(null,u)},pipe:function(){var u=arguments;return a.Deferred(function(p){a.each(s,function(v,_){var T=U(u[_[4]])&&u[_[4]];c[_[1]](function(){var H=T&&T.apply(this,arguments);H&&U(H.promise)?H.promise().progress(p.notify).done(p.resolve).fail(p.reject):p[_[0]+"With"](this,T?[H]:arguments)})}),u=null}).promise()},then:function(u,p,v){var _=0;function T(H,$,M,A){return function(){var Y=this,at=arguments,tt=function(){var Nt,Jt;if(!(H<_)){if((Nt=M.apply(Y,at))===$.promise())throw new TypeError("Thenable self-resolution");U(Jt=Nt&&("object"==typeof Nt||"function"==typeof Nt)&&Nt.then)?A?Jt.call(Nt,T(_,$,oe,A),T(_,$,ce,A)):(_++,Jt.call(Nt,T(_,$,oe,A),T(_,$,ce,A),T(_,$,oe,$.notifyWith))):(M!==oe&&(Y=void 0,at=[Nt]),(A||$.resolveWith)(Y,at))}},Bt=A?tt:function(){try{tt()}catch(Nt){a.Deferred.exceptionHook&&a.Deferred.exceptionHook(Nt,Bt.stackTrace),H+1>=_&&(M!==ce&&(Y=void 0,at=[Nt]),$.rejectWith(Y,at))}};H?Bt():(a.Deferred.getStackHook&&(Bt.stackTrace=a.Deferred.getStackHook()),t.setTimeout(Bt))}}return a.Deferred(function(H){s[0][3].add(T(0,H,U(v)?v:oe,H.notifyWith)),s[1][3].add(T(0,H,U(u)?u:oe)),s[2][3].add(T(0,H,U(p)?p:ce))}).promise()},promise:function(u){return null!=u?a.extend(u,l):l}},c={};return a.each(s,function(u,p){var v=p[2],_=p[5];l[p[1]]=v.add,_&&v.add(function(){r=_},s[3-u][2].disable,s[3-u][3].disable,s[0][2].lock,s[0][3].lock),v.add(p[3].fire),c[p[0]]=function(){return c[p[0]+"With"](this===c?void 0:this,arguments),this},c[p[0]+"With"]=v.fireWith}),l.promise(c),e&&e.call(c,c),c},when:function(e){var s=arguments.length,r=s,l=Array(r),c=h.call(arguments),u=a.Deferred(),p=function(v){return function(_){l[v]=this,c[v]=arguments.length>1?h.call(arguments):_,--s||u.resolveWith(l,c)}};if(s<=1&&(de(e,u.done(p(r)).resolve,u.reject,!s),"pending"===u.state()||U(c[r]&&c[r].then)))return u.then();for(;r--;)de(c[r],p(r),u.reject);return u.promise()}});var Wt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;a.Deferred.exceptionHook=function(e,s){t.console&&t.console.warn&&e&&Wt.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,s)},a.readyException=function(e){t.setTimeout(function(){throw e})};var re=a.Deferred();function pe(){g.removeEventListener("DOMContentLoaded",pe),t.removeEventListener("load",pe),a.ready()}a.fn.ready=function(e){return re.then(e).catch(function(s){a.readyException(s)}),this},a.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--a.readyWait:a.isReady)||(a.isReady=!0,!0!==e&&--a.readyWait>0||re.resolveWith(g,[a]))}}),a.ready.then=re.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?t.setTimeout(a.ready):(g.addEventListener("DOMContentLoaded",pe),t.addEventListener("load",pe));var qt=function(e,s,r,l,c,u,p){var v=0,_=e.length,T=null==r;if("object"===$t(r))for(v in c=!0,r)qt(e,s,v,r[v],!0,u,p);else if(void 0!==l&&(c=!0,U(l)||(p=!0),T&&(p?(s.call(e,l),s=null):(T=s,s=function(H,$,M){return T.call(a(H),M)})),s))for(;v<_;v++)s(e[v],r,p?l:l.call(e[v],v,s(e[v],r)));return c?e:T?s.call(e):_?s(e[0],r):u},ae=/^-ms-/,je=/-([a-z])/g;function x(e,s){return s.toUpperCase()}function C(e){return e.replace(ae,"ms-").replace(je,x)}var O=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function N(){this.expando=a.expando+N.uid++}N.uid=1,N.prototype={cache:function(e){var s=e[this.expando];return s||(s={},O(e)&&(e.nodeType?e[this.expando]=s:Object.defineProperty(e,this.expando,{value:s,configurable:!0}))),s},set:function(e,s,r){var l,c=this.cache(e);if("string"==typeof s)c[C(s)]=r;else for(l in s)c[C(l)]=s[l];return c},get:function(e,s){return void 0===s?this.cache(e):e[this.expando]&&e[this.expando][C(s)]},access:function(e,s,r){return void 0===s||s&&"string"==typeof s&&void 0===r?this.get(e,s):(this.set(e,s,r),void 0!==r?r:s)},remove:function(e,s){var r,l=e[this.expando];if(void 0!==l){if(void 0!==s)for((r=(s=Array.isArray(s)?s.map(C):(s=C(s))in l?[s]:s.match(jt)||[]).length);r--;)delete l[s[r]];(void 0===s||a.isEmptyObject(l))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var s=e[this.expando];return void 0!==s&&!a.isEmptyObject(s)}};var R=new N,X=new N,xt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pt=/[A-Z]/g;function Xt(e,s,r){var l;if(void 0===r&&1===e.nodeType)if(l="data-"+s.replace(pt,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(l))){try{r=function vt(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:xt.test(e)?JSON.parse(e):e)}(r)}catch{}X.set(e,s,r)}else r=void 0;return r}a.extend({hasData:function(e){return X.hasData(e)||R.hasData(e)},data:function(e,s,r){return X.access(e,s,r)},removeData:function(e,s){X.remove(e,s)},_data:function(e,s,r){return R.access(e,s,r)},_removeData:function(e,s){R.remove(e,s)}}),a.fn.extend({data:function(e,s){var r,l,c,u=this[0],p=u&&u.attributes;if(void 0===e){if(this.length&&(c=X.get(u),1===u.nodeType&&!R.get(u,"hasDataAttrs"))){for(r=p.length;r--;)p[r]&&0===(l=p[r].name).indexOf("data-")&&(l=C(l.slice(5)),Xt(u,l,c[l]));R.set(u,"hasDataAttrs",!0)}return c}return"object"==typeof e?this.each(function(){X.set(this,e)}):qt(this,function(v){var _;if(u&&void 0===v){if(void 0!==(_=X.get(u,e))||void 0!==(_=Xt(u,e)))return _}else this.each(function(){X.set(this,e,v)})},null,s,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),a.extend({queue:function(e,s,r){var l;if(e)return l=R.get(e,s=(s||"fx")+"queue"),r&&(!l||Array.isArray(r)?l=R.access(e,s,a.makeArray(r)):l.push(r)),l||[]},dequeue:function(e,s){var r=a.queue(e,s=s||"fx"),l=r.length,c=r.shift(),u=a._queueHooks(e,s);"inprogress"===c&&(c=r.shift(),l--),c&&("fx"===s&&r.unshift("inprogress"),delete u.stop,c.call(e,function(){a.dequeue(e,s)},u)),!l&&u&&u.empty.fire()},_queueHooks:function(e,s){var r=s+"queueHooks";return R.get(e,r)||R.access(e,r,{empty:a.Callbacks("once memory").add(function(){R.remove(e,[s+"queue",r])})})}}),a.fn.extend({queue:function(e,s){var r=2;return"string"!=typeof e&&(s=e,e="fx",r--),arguments.length<r?a.queue(this[0],e):void 0===s?this:this.each(function(){var l=a.queue(this,e,s);a._queueHooks(this,e),"fx"===e&&"inprogress"!==l[0]&&a.dequeue(this,e)})},dequeue:function(e){return this.each(function(){a.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,s){var r,l=1,c=a.Deferred(),u=this,p=this.length,v=function(){--l||c.resolveWith(u,[u])};for("string"!=typeof e&&(s=e,e=void 0),e=e||"fx";p--;)(r=R.get(u[p],e+"queueHooks"))&&r.empty&&(l++,r.empty.add(v));return v(),c.promise(s)}});var Ot=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=new RegExp("^(?:([+-])=|)("+Ot+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],_t=function(e,s){return"none"===(e=s||e).style.display||""===e.style.display&&a.contains(e.ownerDocument,e)&&"none"===a.css(e,"display")},Ht=function(e,s,r,l){var c,u,p={};for(u in s)p[u]=e.style[u],e.style[u]=s[u];for(u in c=r.apply(e,l||[]),s)e.style[u]=p[u];return c};function Pt(e,s,r,l){var c,u,p=20,v=l?function(){return l.cur()}:function(){return a.css(e,s,"")},_=v(),T=r&&r[3]||(a.cssNumber[s]?"":"px"),H=(a.cssNumber[s]||"px"!==T&&+_)&&wt.exec(a.css(e,s));if(H&&H[3]!==T){for(T=T||H[3],H=+(_/=2)||1;p--;)a.style(e,s,H+T),(1-u)*(1-(u=v()/_||.5))<=0&&(p=0),H/=u;a.style(e,s,(H*=2)+T),r=r||[]}return r&&(H=+H||+_||0,c=r[1]?H+(r[1]+1)*r[2]:+r[2],l&&(l.unit=T,l.start=H,l.end=c)),c}var Dt={};function Gn(e){var s,r=e.ownerDocument,l=e.nodeName,c=Dt[l];return c||(s=r.body.appendChild(r.createElement(l)),c=a.css(s,"display"),s.parentNode.removeChild(s),"none"===c&&(c="block"),Dt[l]=c,c)}function xe(e,s){for(var r,l,c=[],u=0,p=e.length;u<p;u++)(l=e[u]).style&&(r=l.style.display,s?("none"===r&&(c[u]=R.get(l,"display")||null,c[u]||(l.style.display="")),""===l.style.display&&_t(l)&&(c[u]=Gn(l))):"none"!==r&&(c[u]="none",R.set(l,"display",r)));for(u=0;u<p;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}a.fn.extend({show:function(){return xe(this,!0)},hide:function(){return xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){_t(this)?a(this).show():a(this).hide()})}});var dn=/^(?:checkbox|radio)$/i,gn=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,mn=/^$|^module$|\/(?:java|ecma)script/i,Yt={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 zt(e,s){var r;return r=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(s||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(s||"*"):[],void 0===s||s&&ct(e,s)?a.merge([e],r):r}function ze(e,s){for(var r=0,l=e.length;r<l;r++)R.set(e[r],"globalEval",!s||R.get(s[r],"globalEval"))}Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td;var e,s,Yn=/<|&#?\w+;/;function yn(e,s,r,l,c){for(var u,p,v,_,T,H,$=s.createDocumentFragment(),M=[],A=0,Y=e.length;A<Y;A++)if((u=e[A])||0===u)if("object"===$t(u))a.merge(M,u.nodeType?[u]:u);else if(Yn.test(u)){for(p=p||$.appendChild(s.createElement("div")),v=(gn.exec(u)||["",""])[1].toLowerCase(),p.innerHTML=(_=Yt[v]||Yt._default)[1]+a.htmlPrefilter(u)+_[2],H=_[0];H--;)p=p.lastChild;a.merge(M,p.childNodes),(p=$.firstChild).textContent=""}else M.push(s.createTextNode(u));for($.textContent="",A=0;u=M[A++];)if(l&&a.inArray(u,l)>-1)c&&c.push(u);else if(T=a.contains(u.ownerDocument,u),p=zt($.appendChild(u),"script"),T&&ze(p),r)for(H=0;u=p[H++];)mn.test(u.type||"")&&r.push(u);return $}e=g.createDocumentFragment().appendChild(g.createElement("div")),(s=g.createElement("input")).setAttribute("type","radio"),s.setAttribute("checked","checked"),s.setAttribute("name","t"),e.appendChild(s),V.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",V.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue;var Be=g.documentElement,Zn=/^key/,ti=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,vn=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function we(){return!1}function _n(){try{return g.activeElement}catch{}}function Ue(e,s,r,l,c,u){var p,v;if("object"==typeof s){for(v in"string"!=typeof r&&(l=l||r,r=void 0),s)Ue(e,v,r,l,s[v],u);return e}if(null==l&&null==c?(c=r,l=r=void 0):null==c&&("string"==typeof r?(c=l,l=void 0):(c=l,l=r,r=void 0)),!1===c)c=we;else if(!c)return e;return 1===u&&(p=c,(c=function(_){return a().off(_),p.apply(this,arguments)}).guid=p.guid||(p.guid=a.guid++)),e.each(function(){a.event.add(this,s,c,l,r)})}a.event={global:{},add:function(e,s,r,l,c){var u,p,v,_,T,H,$,M,A,Y,at,tt=R.get(e);if(tt)for(r.handler&&(r=(u=r).handler,c=u.selector),c&&a.find.matchesSelector(Be,c),r.guid||(r.guid=a.guid++),(_=tt.events)||(_=tt.events={}),(p=tt.handle)||(p=tt.handle=function(Bt){return typeof a<"u"&&a.event.triggered!==Bt.type?a.event.dispatch.apply(e,arguments):void 0}),T=(s=(s||"").match(jt)||[""]).length;T--;)A=at=(v=vn.exec(s[T])||[])[1],Y=(v[2]||"").split(".").sort(),A&&($=a.event.special[A]||{},$=a.event.special[A=(c?$.delegateType:$.bindType)||A]||{},H=a.extend({type:A,origType:at,data:l,handler:r,guid:r.guid,selector:c,needsContext:c&&a.expr.match.needsContext.test(c),namespace:Y.join(".")},u),(M=_[A])||((M=_[A]=[]).delegateCount=0,$.setup&&!1!==$.setup.call(e,l,Y,p)||e.addEventListener&&e.addEventListener(A,p)),$.add&&($.add.call(e,H),H.handler.guid||(H.handler.guid=r.guid)),c?M.splice(M.delegateCount++,0,H):M.push(H),a.event.global[A]=!0)},remove:function(e,s,r,l,c){var u,p,v,_,T,H,$,M,A,Y,at,tt=R.hasData(e)&&R.get(e);if(tt&&(_=tt.events)){for(T=(s=(s||"").match(jt)||[""]).length;T--;)if(A=at=(v=vn.exec(s[T])||[])[1],Y=(v[2]||"").split(".").sort(),A){for($=a.event.special[A]||{},M=_[A=(l?$.delegateType:$.bindType)||A]||[],v=v[2]&&new RegExp("(^|\\.)"+Y.join("\\.(?:.*\\.|)")+"(\\.|$)"),p=u=M.length;u--;)H=M[u],!c&&at!==H.origType||r&&r.guid!==H.guid||v&&!v.test(H.namespace)||l&&l!==H.selector&&("**"!==l||!H.selector)||(M.splice(u,1),H.selector&&M.delegateCount--,$.remove&&$.remove.call(e,H));p&&!M.length&&($.teardown&&!1!==$.teardown.call(e,Y,tt.handle)||a.removeEvent(e,A,tt.handle),delete _[A])}else for(A in _)a.event.remove(e,A+s[T],r,l,!0);a.isEmptyObject(_)&&R.remove(e,"handle events")}},dispatch:function(e){var r,l,c,u,p,v,s=a.event.fix(e),_=new Array(arguments.length),T=(R.get(this,"events")||{})[s.type]||[],H=a.event.special[s.type]||{};for(_[0]=s,r=1;r<arguments.length;r++)_[r]=arguments[r];if(s.delegateTarget=this,!H.preDispatch||!1!==H.preDispatch.call(this,s)){for(v=a.event.handlers.call(this,s,T),r=0;(u=v[r++])&&!s.isPropagationStopped();)for(s.currentTarget=u.elem,l=0;(p=u.handlers[l++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(p.namespace)||(s.handleObj=p,s.data=p.data,void 0!==(c=((a.event.special[p.origType]||{}).handle||p.handler).apply(u.elem,_))&&!1===(s.result=c)&&(s.preventDefault(),s.stopPropagation()));return H.postDispatch&&H.postDispatch.call(this,s),s.result}},handlers:function(e,s){var r,l,c,u,p,v=[],_=s.delegateCount,T=e.target;if(_&&T.nodeType&&!("click"===e.type&&e.button>=1))for(;T!==this;T=T.parentNode||this)if(1===T.nodeType&&("click"!==e.type||!0!==T.disabled)){for(u=[],p={},r=0;r<_;r++)void 0===p[c=(l=s[r]).selector+" "]&&(p[c]=l.needsContext?a(c,this).index(T)>-1:a.find(c,this,null,[T]).length),p[c]&&u.push(l);u.length&&v.push({elem:T,handlers:u})}return T=this,_<s.length&&v.push({elem:T,handlers:s.slice(_)}),v},addProp:function(e,s){Object.defineProperty(a.Event.prototype,e,{enumerable:!0,configurable:!0,get:U(s)?function(){if(this.originalEvent)return s(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(r){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}})},fix:function(e){return e[a.expando]?e:new a.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_n()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===_n()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ct(this,"input"))return this.click(),!1},_default:function(e){return ct(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},a.removeEvent=function(e,s,r){e.removeEventListener&&e.removeEventListener(s,r)},a.Event=function(e,s){if(!(this instanceof a.Event))return new a.Event(e,s);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:we,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,s&&a.extend(this,s),this.timeStamp=e&&e.timeStamp||Date.now(),this[a.expando]=!0},a.Event.prototype={constructor:a.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},a.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var s=e.button;return null==e.which&&Zn.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==s&&ti.test(e.type)?1&s?1:2&s?3:4&s?2:0:e.which}},a.event.addProp),a.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){a.event.special[e]={delegateType:s,bindType:s,handle:function(r){var l,c=this,u=r.relatedTarget,p=r.handleObj;return u&&(u===c||a.contains(c,u))||(r.type=p.origType,l=p.handler.apply(this,arguments),r.type=s),l}}}),a.fn.extend({on:function(e,s,r,l){return Ue(this,e,s,r,l)},one:function(e,s,r,l){return Ue(this,e,s,r,l,1)},off:function(e,s,r){var l,c;if(e&&e.preventDefault&&e.handleObj)return l=e.handleObj,a(e.delegateTarget).off(l.namespace?l.origType+"."+l.namespace:l.origType,l.selector,l.handler),this;if("object"==typeof e){for(c in e)this.off(c,s,e[c]);return this}return!1!==s&&"function"!=typeof s||(r=s,s=void 0),!1===r&&(r=we),this.each(function(){a.event.remove(this,e,r,s)})}});var ei=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ni=/<script|<style|<link/i,ii=/checked\s*(?:[^=]|=\s*.checked.)/i,si=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function jn(e,s){return ct(e,"table")&&ct(11!==s.nodeType?s:s.firstChild,"tr")&&a(e).children("tbody")[0]||e}function oi(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ri(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function xn(e,s){var r,l,c,u,p,v,_,T;if(1===s.nodeType){if(R.hasData(e)&&(u=R.access(e),p=R.set(s,u),T=u.events))for(c in delete p.handle,p.events={},T)for(r=0,l=T[c].length;r<l;r++)a.event.add(s,c,T[c][r]);X.hasData(e)&&(v=X.access(e),_=a.extend({},v),X.set(s,_))}}function ai(e,s){var r=s.nodeName.toLowerCase();"input"===r&&dn.test(e.type)?s.checked=e.checked:"input"!==r&&"textarea"!==r||(s.defaultValue=e.defaultValue)}function ke(e,s,r,l){s=m.apply([],s);var c,u,p,v,_,T,H=0,$=e.length,M=$-1,A=s[0],Y=U(A);if(Y||$>1&&"string"==typeof A&&!V.checkClone&&ii.test(A))return e.each(function(at){var tt=e.eq(at);Y&&(s[0]=A.call(this,at,tt.html())),ke(tt,s,r,l)});if($&&(u=(c=yn(s,e[0].ownerDocument,!1,e,l)).firstChild,1===c.childNodes.length&&(c=u),u||l)){for(v=(p=a.map(zt(c,"script"),oi)).length;H<$;H++)_=c,H!==M&&(_=a.clone(_,!0,!0),v&&a.merge(p,zt(_,"script"))),r.call(e[H],_,H);if(v)for(T=p[p.length-1].ownerDocument,a.map(p,ri),H=0;H<v;H++)mn.test((_=p[H]).type||"")&&!R.access(_,"globalEval")&&a.contains(T,_)&&(_.src&&"module"!==(_.type||"").toLowerCase()?a._evalUrl&&a._evalUrl(_.src):yt(_.textContent.replace(si,""),T,_))}return e}function wn(e,s,r){for(var l,c=s?a.filter(s,e):e,u=0;null!=(l=c[u]);u++)r||1!==l.nodeType||a.cleanData(zt(l)),l.parentNode&&(r&&a.contains(l.ownerDocument,l)&&ze(zt(l,"script")),l.parentNode.removeChild(l));return e}a.extend({htmlPrefilter:function(e){return e.replace(ei,"<$1></$2>")},clone:function(e,s,r){var l,c,u,p,v=e.cloneNode(!0),_=a.contains(e.ownerDocument,e);if(!(V.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||a.isXMLDoc(e)))for(p=zt(v),l=0,c=(u=zt(e)).length;l<c;l++)ai(u[l],p[l]);if(s)if(r)for(u=u||zt(e),p=p||zt(v),l=0,c=u.length;l<c;l++)xn(u[l],p[l]);else xn(e,v);return(p=zt(v,"script")).length>0&&ze(p,!_&&zt(e,"script")),v},cleanData:function(e){for(var s,r,l,c=a.event.special,u=0;void 0!==(r=e[u]);u++)if(O(r)){if(s=r[R.expando]){if(s.events)for(l in s.events)c[l]?a.event.remove(r,l):a.removeEvent(r,l,s.handle);r[R.expando]=void 0}r[X.expando]&&(r[X.expando]=void 0)}}}),a.fn.extend({detach:function(e){return wn(this,e,!0)},remove:function(e){return wn(this,e)},text:function(e){return qt(this,function(s){return void 0===s?a.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=s)})},null,e,arguments.length)},append:function(){return ke(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||jn(this,e).appendChild(e)})},prepend:function(){return ke(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var s=jn(this,e);s.insertBefore(e,s.firstChild)}})},before:function(){return ke(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ke(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,s=0;null!=(e=this[s]);s++)1===e.nodeType&&(a.cleanData(zt(e,!1)),e.textContent="");return this},clone:function(e,s){return e=null!=e&&e,s=s??e,this.map(function(){return a.clone(this,e,s)})},html:function(e){return qt(this,function(s){var r=this[0]||{},l=0,c=this.length;if(void 0===s&&1===r.nodeType)return r.innerHTML;if("string"==typeof s&&!ni.test(s)&&!Yt[(gn.exec(s)||["",""])[1].toLowerCase()]){s=a.htmlPrefilter(s);try{for(;l<c;l++)1===(r=this[l]||{}).nodeType&&(a.cleanData(zt(r,!1)),r.innerHTML=s);r=0}catch{}}r&&this.empty().append(s)},null,e,arguments.length)},replaceWith:function(){var e=[];return ke(this,arguments,function(s){var r=this.parentNode;a.inArray(this,e)<0&&(a.cleanData(zt(this)),r&&r.replaceChild(s,this))},e)}}),a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){a.fn[e]=function(r){for(var l,c=[],u=a(r),p=u.length-1,v=0;v<=p;v++)l=v===p?this:this.clone(!0),a(u[v])[s](l),w.apply(c,l.get());return this.pushStack(c)}});var Qe=new RegExp("^("+Ot+")(?!px)[a-z%]+$","i"),Ie=function(e){var s=e.ownerDocument.defaultView;return s&&s.opener||(s=t),s.getComputedStyle(e)},li=new RegExp(rt.join("|"),"i");function Ee(e,s,r){var l,c,u,p,v=e.style;return(r=r||Ie(e))&&(""!==(p=r.getPropertyValue(s)||r[s])||a.contains(e.ownerDocument,e)||(p=a.style(e,s)),!V.pixelBoxStyles()&&Qe.test(p)&&li.test(s)&&(l=v.width,c=v.minWidth,u=v.maxWidth,v.minWidth=v.maxWidth=v.width=p,p=r.width,v.width=l,v.minWidth=c,v.maxWidth=u)),void 0!==p?p+"":p}function kn(e,s){return{get:function(){if(!e())return(this.get=s).apply(this,arguments);delete this.get}}}!function(){function e(){if(_){v.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",_.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Be.appendChild(v).appendChild(_);var T=t.getComputedStyle(_);r="1%"!==T.top,p=12===s(T.marginLeft),_.style.right="60%",u=36===s(T.right),l=36===s(T.width),_.style.position="absolute",c=36===_.offsetWidth||"absolute",Be.removeChild(v),_=null}}function s(T){return Math.round(parseFloat(T))}var r,l,c,u,p,v=g.createElement("div"),_=g.createElement("div");_.style&&(_.style.backgroundClip="content-box",_.cloneNode(!0).style.backgroundClip="",V.clearCloneStyle="content-box"===_.style.backgroundClip,a.extend(V,{boxSizingReliable:function(){return e(),l},pixelBoxStyles:function(){return e(),u},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),p},scrollboxSize:function(){return e(),c}}))}();var ci=/^(none|table(?!-c[ea]).+)/,Cn=/^--/,ui={position:"absolute",visibility:"hidden",display:"block"},bn={letterSpacing:"0",fontWeight:"400"},Tn=["Webkit","Moz","ms"],En=g.createElement("div").style;function Sn(e){var s=a.cssProps[e];return s||(s=a.cssProps[e]=function hi(e){if(e in En)return e;for(var s=e[0].toUpperCase()+e.slice(1),r=Tn.length;r--;)if((e=Tn[r]+s)in En)return e}(e)||e),s}function Mn(e,s,r){var l=wt.exec(s);return l?Math.max(0,l[2]-(r||0))+(l[3]||"px"):s}function Xe(e,s,r,l,c,u){var p="width"===s?1:0,v=0,_=0;if(r===(l?"border":"content"))return 0;for(;p<4;p+=2)"margin"===r&&(_+=a.css(e,r+rt[p],!0,c)),l?("content"===r&&(_-=a.css(e,"padding"+rt[p],!0,c)),"margin"!==r&&(_-=a.css(e,"border"+rt[p]+"Width",!0,c))):(_+=a.css(e,"padding"+rt[p],!0,c),"padding"!==r?_+=a.css(e,"border"+rt[p]+"Width",!0,c):v+=a.css(e,"border"+rt[p]+"Width",!0,c));return!l&&u>=0&&(_+=Math.max(0,Math.ceil(e["offset"+s[0].toUpperCase()+s.slice(1)]-u-_-v-.5))),_}function Ln(e,s,r){var l=Ie(e),c=Ee(e,s,l),u="border-box"===a.css(e,"boxSizing",!1,l),p=u;if(Qe.test(c)){if(!r)return c;c="auto"}return p=p&&(V.boxSizingReliable()||c===e.style[s]),("auto"===c||!parseFloat(c)&&"inline"===a.css(e,"display",!1,l))&&(c=e["offset"+s[0].toUpperCase()+s.slice(1)],p=!0),(c=parseFloat(c)||0)+Xe(e,s,r||(u?"border":"content"),p,l,c)+"px"}function Ut(e,s,r,l,c){return new Ut.prototype.init(e,s,r,l,c)}a.extend({cssHooks:{opacity:{get:function(e,s){if(s){var r=Ee(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,s,r,l){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var c,u,p,v=C(s),_=Cn.test(s),T=e.style;if(_||(s=Sn(v)),p=a.cssHooks[s]||a.cssHooks[v],void 0===r)return p&&"get"in p&&void 0!==(c=p.get(e,!1,l))?c:T[s];"string"==(u=typeof r)&&(c=wt.exec(r))&&c[1]&&(r=Pt(e,s,c),u="number"),null!=r&&r==r&&("number"===u&&(r+=c&&c[3]||(a.cssNumber[v]?"":"px")),V.clearCloneStyle||""!==r||0!==s.indexOf("background")||(T[s]="inherit"),p&&"set"in p&&void 0===(r=p.set(e,r,l))||(_?T.setProperty(s,r):T[s]=r))}},css:function(e,s,r,l){var c,u,p,v=C(s);return Cn.test(s)||(s=Sn(v)),(p=a.cssHooks[s]||a.cssHooks[v])&&"get"in p&&(c=p.get(e,!0,r)),void 0===c&&(c=Ee(e,s,l)),"normal"===c&&s in bn&&(c=bn[s]),""===r||r?(u=parseFloat(c),!0===r||isFinite(u)?u||0:c):c}}),a.each(["height","width"],function(e,s){a.cssHooks[s]={get:function(r,l,c){if(l)return!ci.test(a.css(r,"display"))||r.getClientRects().length&&r.getBoundingClientRect().width?Ln(r,s,c):Ht(r,ui,function(){return Ln(r,s,c)})},set:function(r,l,c){var u,p=Ie(r),v="border-box"===a.css(r,"boxSizing",!1,p),_=c&&Xe(r,s,c,v,p);return v&&V.scrollboxSize()===p.position&&(_-=Math.ceil(r["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(p[s])-Xe(r,s,"border",!1,p)-.5)),_&&(u=wt.exec(l))&&"px"!==(u[3]||"px")&&(r.style[s]=l,l=a.css(r,s)),Mn(0,l,_)}}}),a.cssHooks.marginLeft=kn(V.reliableMarginLeft,function(e,s){if(s)return(parseFloat(Ee(e,"marginLeft"))||e.getBoundingClientRect().left-Ht(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),a.each({margin:"",padding:"",border:"Width"},function(e,s){a.cssHooks[e+s]={expand:function(r){for(var l=0,c={},u="string"==typeof r?r.split(" "):[r];l<4;l++)c[e+rt[l]+s]=u[l]||u[l-2]||u[0];return c}},"margin"!==e&&(a.cssHooks[e+s].set=Mn)}),a.fn.extend({css:function(e,s){return qt(this,function(r,l,c){var u,p,v={},_=0;if(Array.isArray(l)){for(u=Ie(r),p=l.length;_<p;_++)v[l[_]]=a.css(r,l[_],!1,u);return v}return void 0!==c?a.style(r,l,c):a.css(r,l)},e,s,arguments.length>1)}}),a.Tween=Ut,(Ut.prototype={constructor:Ut,init:function(e,s,r,l,c,u){this.elem=e,this.prop=r,this.easing=c||a.easing._default,this.options=s,this.start=this.now=this.cur(),this.end=l,this.unit=u||(a.cssNumber[r]?"":"px")},cur:function(){var e=Ut.propHooks[this.prop];return e&&e.get?e.get(this):Ut.propHooks._default.get(this)},run:function(e){var s,r=Ut.propHooks[this.prop];return this.pos=s=this.options.duration?a.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*s+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):Ut.propHooks._default.set(this),this}}).init.prototype=Ut.prototype,(Ut.propHooks={_default:{get:function(e){var s;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(s=a.css(e.elem,e.prop,""))&&"auto"!==s?s:0},set:function(e){a.fx.step[e.prop]?a.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[a.cssProps[e.prop]]&&!a.cssHooks[e.prop]?e.elem[e.prop]=e.now:a.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},a.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},a.fx=Ut.prototype.init,a.fx.step={};var Ce,$e,pi=/^(?:toggle|show|hide)$/,fi=/queueHooks$/;function Je(){$e&&(!1===g.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(Je):t.setTimeout(Je,a.fx.interval),a.fx.tick())}function An(){return t.setTimeout(function(){Ce=void 0}),Ce=Date.now()}function Pe(e,s){var r,l=0,c={height:e};for(s=s?1:0;l<4;l+=2-s)c["margin"+(r=rt[l])]=c["padding"+r]=e;return s&&(c.opacity=c.width=e),c}function Rn(e,s,r){for(var l,c=(ne.tweeners[s]||[]).concat(ne.tweeners["*"]),u=0,p=c.length;u<p;u++)if(l=c[u].call(r,s,e))return l}function ne(e,s,r){var l,c,u=0,p=ne.prefilters.length,v=a.Deferred().always(function(){delete _.elem}),_=function(){if(c)return!1;for(var $=Ce||An(),M=Math.max(0,T.startTime+T.duration-$),A=1-(M/T.duration||0),Y=0,at=T.tweens.length;Y<at;Y++)T.tweens[Y].run(A);return v.notifyWith(e,[T,A,M]),A<1&&at?M:(at||v.notifyWith(e,[T,1,0]),v.resolveWith(e,[T]),!1)},T=v.promise({elem:e,props:a.extend({},s),opts:a.extend(!0,{specialEasing:{},easing:a.easing._default},r),originalProperties:s,originalOptions:r,startTime:Ce||An(),duration:r.duration,tweens:[],createTween:function($,M){var A=a.Tween(e,T.opts,$,M,T.opts.specialEasing[$]||T.opts.easing);return T.tweens.push(A),A},stop:function($){var M=0,A=$?T.tweens.length:0;if(c)return this;for(c=!0;M<A;M++)T.tweens[M].run(1);return $?(v.notifyWith(e,[T,1,0]),v.resolveWith(e,[T,$])):v.rejectWith(e,[T,$]),this}}),H=T.props;for(function gi(e,s){var r,l,c,u,p;for(r in e)if(c=s[l=C(r)],u=e[r],Array.isArray(u)&&(c=u[1],u=e[r]=u[0]),r!==l&&(e[l]=u,delete e[r]),(p=a.cssHooks[l])&&"expand"in p)for(r in u=p.expand(u),delete e[l],u)r in e||(e[r]=u[r],s[r]=c);else s[l]=c}(H,T.opts.specialEasing);u<p;u++)if(l=ne.prefilters[u].call(T,e,H,T.opts))return U(l.stop)&&(a._queueHooks(T.elem,T.opts.queue).stop=l.stop.bind(l)),l;return a.map(H,Rn,T),U(T.opts.start)&&T.opts.start.call(e,T),T.progress(T.opts.progress).done(T.opts.done,T.opts.complete).fail(T.opts.fail).always(T.opts.always),a.fx.timer(a.extend(_,{elem:e,anim:T,queue:T.opts.queue})),T}a.Animation=a.extend(ne,{tweeners:{"*":[function(e,s){var r=this.createTween(e,s);return Pt(r.elem,e,wt.exec(s),r),r}]},tweener:function(e,s){U(e)?(s=e,e=["*"]):e=e.match(jt);for(var r,l=0,c=e.length;l<c;l++)(ne.tweeners[r=e[l]]=ne.tweeners[r]||[]).unshift(s)},prefilters:[function di(e,s,r){var l,c,u,p,v,_,T,H,$="width"in s||"height"in s,M=this,A={},Y=e.style,at=e.nodeType&&_t(e),tt=R.get(e,"fxshow");for(l in r.queue||(null==(p=a._queueHooks(e,"fx")).unqueued&&(p.unqueued=0,v=p.empty.fire,p.empty.fire=function(){p.unqueued||v()}),p.unqueued++,M.always(function(){M.always(function(){p.unqueued--,a.queue(e,"fx").length||p.empty.fire()})})),s)if(pi.test(c=s[l])){if(delete s[l],u=u||"toggle"===c,c===(at?"hide":"show")){if("show"!==c||!tt||void 0===tt[l])continue;at=!0}A[l]=tt&&tt[l]||a.style(e,l)}if((_=!a.isEmptyObject(s))||!a.isEmptyObject(A))for(l in $&&1===e.nodeType&&(r.overflow=[Y.overflow,Y.overflowX,Y.overflowY],null==(T=tt&&tt.display)&&(T=R.get(e,"display")),"none"===(H=a.css(e,"display"))&&(T?H=T:(xe([e],!0),T=e.style.display||T,H=a.css(e,"display"),xe([e]))),("inline"===H||"inline-block"===H&&null!=T)&&"none"===a.css(e,"float")&&(_||(M.done(function(){Y.display=T}),null==T&&(T="none"===(H=Y.display)?"":H)),Y.display="inline-block")),r.overflow&&(Y.overflow="hidden",M.always(function(){Y.overflow=r.overflow[0],Y.overflowX=r.overflow[1],Y.overflowY=r.overflow[2]})),_=!1,A)_||(tt?"hidden"in tt&&(at=tt.hidden):tt=R.access(e,"fxshow",{display:T}),u&&(tt.hidden=!at),at&&xe([e],!0),M.done(function(){for(l in at||xe([e]),R.remove(e,"fxshow"),A)a.style(e,l,A[l])})),_=Rn(at?tt[l]:0,l,M),l in tt||(tt[l]=_.start,at&&(_.end=_.start,_.start=0))}],prefilter:function(e,s){s?ne.prefilters.unshift(e):ne.prefilters.push(e)}}),a.speed=function(e,s,r){var l=e&&"object"==typeof e?a.extend({},e):{complete:r||!r&&s||U(e)&&e,duration:e,easing:r&&s||s&&!U(s)&&s};return a.fx.off?l.duration=0:"number"!=typeof l.duration&&(l.duration=l.duration in a.fx.speeds?a.fx.speeds[l.duration]:a.fx.speeds._default),null!=l.queue&&!0!==l.queue||(l.queue="fx"),l.old=l.complete,l.complete=function(){U(l.old)&&l.old.call(this),l.queue&&a.dequeue(this,l.queue)},l},a.fn.extend({fadeTo:function(e,s,r,l){return this.filter(_t).css("opacity",0).show().end().animate({opacity:s},e,r,l)},animate:function(e,s,r,l){var c=a.isEmptyObject(e),u=a.speed(s,r,l),p=function(){var v=ne(this,a.extend({},e),u);(c||R.get(this,"finish"))&&v.stop(!0)};return p.finish=p,c||!1===u.queue?this.each(p):this.queue(u.queue,p)},stop:function(e,s,r){var l=function(c){var u=c.stop;delete c.stop,u(r)};return"string"!=typeof e&&(r=s,s=e,e=void 0),s&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var c=!0,u=null!=e&&e+"queueHooks",p=a.timers,v=R.get(this);if(u)v[u]&&v[u].stop&&l(v[u]);else for(u in v)v[u]&&v[u].stop&&fi.test(u)&&l(v[u]);for(u=p.length;u--;)p[u].elem!==this||null!=e&&p[u].queue!==e||(p[u].anim.stop(r),c=!1,p.splice(u,1));!c&&r||a.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var s,r=R.get(this),l=r[e+"queue"],c=r[e+"queueHooks"],u=a.timers,p=l?l.length:0;for(r.finish=!0,a.queue(this,e,[]),c&&c.stop&&c.stop.call(this,!0),s=u.length;s--;)u[s].elem===this&&u[s].queue===e&&(u[s].anim.stop(!0),u.splice(s,1));for(s=0;s<p;s++)l[s]&&l[s].finish&&l[s].finish.call(this);delete r.finish})}}),a.each(["toggle","show","hide"],function(e,s){var r=a.fn[s];a.fn[s]=function(l,c,u){return null==l||"boolean"==typeof l?r.apply(this,arguments):this.animate(Pe(s,!0),l,c,u)}}),a.each({slideDown:Pe("show"),slideUp:Pe("hide"),slideToggle:Pe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,s){a.fn[e]=function(r,l,c){return this.animate(s,r,l,c)}}),a.timers=[],a.fx.tick=function(){var e,s=0,r=a.timers;for(Ce=Date.now();s<r.length;s++)(e=r[s])()||r[s]!==e||r.splice(s--,1);r.length||a.fx.stop(),Ce=void 0},a.fx.timer=function(e){a.timers.push(e),a.fx.start()},a.fx.interval=13,a.fx.start=function(){$e||($e=!0,Je())},a.fx.stop=function(){$e=null},a.fx.speeds={slow:600,fast:200,_default:400},a.fn.delay=function(e,s){return e=a.fx&&a.fx.speeds[e]||e,this.queue(s=s||"fx",function(r,l){var c=t.setTimeout(r,e);l.stop=function(){t.clearTimeout(c)}})},function(){var e=g.createElement("input"),s=g.createElement("select").appendChild(g.createElement("option"));e.type="checkbox",V.checkOn=""!==e.value,V.optSelected=s.selected,(e=g.createElement("input")).value="t",e.type="radio",V.radioValue="t"===e.value}();var Hn,Se=a.expr.attrHandle;a.fn.extend({attr:function(e,s){return qt(this,a.attr,e,s,arguments.length>1)},removeAttr:function(e){return this.each(function(){a.removeAttr(this,e)})}}),a.extend({attr:function(e,s,r){var l,c,u=e.nodeType;if(3!==u&&8!==u&&2!==u)return typeof e.getAttribute>"u"?a.prop(e,s,r):(1===u&&a.isXMLDoc(e)||(c=a.attrHooks[s.toLowerCase()]||(a.expr.match.bool.test(s)?Hn:void 0)),void 0!==r?null===r?void a.removeAttr(e,s):c&&"set"in c&&void 0!==(l=c.set(e,r,s))?l:(e.setAttribute(s,r+""),r):c&&"get"in c&&null!==(l=c.get(e,s))?l:null==(l=a.find.attr(e,s))?void 0:l)},attrHooks:{type:{set:function(e,s){if(!V.radioValue&&"radio"===s&&ct(e,"input")){var r=e.value;return e.setAttribute("type",s),r&&(e.value=r),s}}}},removeAttr:function(e,s){var r,l=0,c=s&&s.match(jt);if(c&&1===e.nodeType)for(;r=c[l++];)e.removeAttribute(r)}}),Hn={set:function(e,s,r){return!1===s?a.removeAttr(e,r):e.setAttribute(r,r),r}},a.each(a.expr.match.bool.source.match(/\w+/g),function(e,s){var r=Se[s]||a.find.attr;Se[s]=function(l,c,u){var p,v,_=c.toLowerCase();return u||(v=Se[_],Se[_]=p,p=null!=r(l,c,u)?_:null,Se[_]=v),p}});var mi=/^(?:input|select|textarea|button)$/i,yi=/^(?:a|area)$/i;function ge(e){return(e.match(jt)||[]).join(" ")}function me(e){return e.getAttribute&&e.getAttribute("class")||""}function Ge(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(jt)||[]}a.fn.extend({prop:function(e,s){return qt(this,a.prop,e,s,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[a.propFix[e]||e]})}}),a.extend({prop:function(e,s,r){var l,c,u=e.nodeType;if(3!==u&&8!==u&&2!==u)return 1===u&&a.isXMLDoc(e)||(c=a.propHooks[s=a.propFix[s]||s]),void 0!==r?c&&"set"in c&&void 0!==(l=c.set(e,r,s))?l:e[s]=r:c&&"get"in c&&null!==(l=c.get(e,s))?l:e[s]},propHooks:{tabIndex:{get:function(e){var s=a.find.attr(e,"tabindex");return s?parseInt(s,10):mi.test(e.nodeName)||yi.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),V.optSelected||(a.propHooks.selected={get:function(e){return null},set:function(e){}}),a.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){a.propFix[this.toLowerCase()]=this}),a.fn.extend({addClass:function(e){var s,r,l,c,u,p,v,_=0;if(U(e))return this.each(function(T){a(this).addClass(e.call(this,T,me(this)))});if((s=Ge(e)).length)for(;r=this[_++];)if(c=me(r),l=1===r.nodeType&&" "+ge(c)+" "){for(p=0;u=s[p++];)l.indexOf(" "+u+" ")<0&&(l+=u+" ");c!==(v=ge(l))&&r.setAttribute("class",v)}return this},removeClass:function(e){var s,r,l,c,u,p,v,_=0;if(U(e))return this.each(function(T){a(this).removeClass(e.call(this,T,me(this)))});if(!arguments.length)return this.attr("class","");if((s=Ge(e)).length)for(;r=this[_++];)if(c=me(r),l=1===r.nodeType&&" "+ge(c)+" "){for(p=0;u=s[p++];)for(;l.indexOf(" "+u+" ")>-1;)l=l.replace(" "+u+" "," ");c!==(v=ge(l))&&r.setAttribute("class",v)}return this},toggleClass:function(e,s){var r=typeof e,l="string"===r||Array.isArray(e);return"boolean"==typeof s&&l?s?this.addClass(e):this.removeClass(e):U(e)?this.each(function(c){a(this).toggleClass(e.call(this,c,me(this),s),s)}):this.each(function(){var c,u,p,v;if(l)for(u=0,p=a(this),v=Ge(e);c=v[u++];)p.hasClass(c)?p.removeClass(c):p.addClass(c);else void 0!==e&&"boolean"!==r||((c=me(this))&&R.set(this,"__className__",c),this.setAttribute&&this.setAttribute("class",c||!1===e?"":R.get(this,"__className__")||""))})},hasClass:function(e){var s,r,l=0;for(s=" "+e+" ";r=this[l++];)if(1===r.nodeType&&(" "+ge(me(r))+" ").indexOf(s)>-1)return!0;return!1}});var vi=/\r/g;a.fn.extend({val:function(e){var s,r,l,c=this[0];return arguments.length?(l=U(e),this.each(function(u){var p;1===this.nodeType&&(null==(p=l?e.call(this,u,a(this).val()):e)?p="":"number"==typeof p?p+="":Array.isArray(p)&&(p=a.map(p,function(v){return null==v?"":v+""})),(s=a.valHooks[this.type]||a.valHooks[this.nodeName.toLowerCase()])&&"set"in s&&void 0!==s.set(this,p,"value")||(this.value=p))})):c?(s=a.valHooks[c.type]||a.valHooks[c.nodeName.toLowerCase()])&&"get"in s&&void 0!==(r=s.get(c,"value"))?r:"string"==typeof(r=c.value)?r.replace(vi,""):r??"":void 0}}),a.extend({valHooks:{option:{get:function(e){return a.find.attr(e,"value")??ge(a.text(e))}},select:{get:function(e){var s,r,l,c=e.options,u=e.selectedIndex,p="select-one"===e.type,v=p?null:[],_=p?u+1:c.length;for(l=u<0?_:p?u:0;l<_;l++)if(((r=c[l]).selected||l===u)&&!r.disabled&&(!r.parentNode.disabled||!ct(r.parentNode,"optgroup"))){if(s=a(r).val(),p)return s;v.push(s)}return v},set:function(e,s){for(var r,l,c=e.options,u=a.makeArray(s),p=c.length;p--;)((l=c[p]).selected=a.inArray(a.valHooks.option.get(l),u)>-1)&&(r=!0);return r||(e.selectedIndex=-1),u}}}}),a.each(["radio","checkbox"],function(){a.valHooks[this]={set:function(e,s){if(Array.isArray(s))return e.checked=a.inArray(a(e).val(),s)>-1}},V.checkOn||(a.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),V.focusin="onfocusin"in t;var On=/^(?:focusinfocus|focusoutblur)$/,Dn=function(e){e.stopPropagation()};a.extend(a.event,{trigger:function(e,s,r,l){var c,u,p,v,_,T,H,$,M=[r||g],A=J.call(e,"type")?e.type:e,Y=J.call(e,"namespace")?e.namespace.split("."):[];if(u=$=p=r=r||g,3!==r.nodeType&&8!==r.nodeType&&!On.test(A+a.event.triggered)&&(A.indexOf(".")>-1&&(A=(Y=A.split(".")).shift(),Y.sort()),_=A.indexOf(":")<0&&"on"+A,(e=e[a.expando]?e:new a.Event(A,"object"==typeof e&&e)).isTrigger=l?2:3,e.namespace=Y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+Y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),s=null==s?[e]:a.makeArray(s,[e]),H=a.event.special[A]||{},l||!H.trigger||!1!==H.trigger.apply(r,s))){if(!l&&!H.noBubble&&!lt(r)){for(On.test((v=H.delegateType||A)+A)||(u=u.parentNode);u;u=u.parentNode)M.push(u),p=u;p===(r.ownerDocument||g)&&M.push(p.defaultView||p.parentWindow||t)}for(c=0;(u=M[c++])&&!e.isPropagationStopped();)$=u,e.type=c>1?v:H.bindType||A,(T=(R.get(u,"events")||{})[e.type]&&R.get(u,"handle"))&&T.apply(u,s),(T=_&&u[_])&&T.apply&&O(u)&&(e.result=T.apply(u,s),!1===e.result&&e.preventDefault());return e.type=A,l||e.isDefaultPrevented()||H._default&&!1!==H._default.apply(M.pop(),s)||!O(r)||_&&U(r[A])&&!lt(r)&&((p=r[_])&&(r[_]=null),a.event.triggered=A,e.isPropagationStopped()&&$.addEventListener(A,Dn),r[A](),e.isPropagationStopped()&&$.removeEventListener(A,Dn),a.event.triggered=void 0,p&&(r[_]=p)),e.result}},simulate:function(e,s,r){var l=a.extend(new a.Event,r,{type:e,isSimulated:!0});a.event.trigger(l,null,s)}}),a.fn.extend({trigger:function(e,s){return this.each(function(){a.event.trigger(e,s,this)})},triggerHandler:function(e,s){var r=this[0];if(r)return a.event.trigger(e,s,r,!0)}}),V.focusin||a.each({focus:"focusin",blur:"focusout"},function(e,s){var r=function(l){a.event.simulate(s,l.target,a.event.fix(l))};a.event.special[s]={setup:function(){var l=this.ownerDocument||this,c=R.access(l,s);c||l.addEventListener(e,r,!0),R.access(l,s,(c||0)+1)},teardown:function(){var l=this.ownerDocument||this,c=R.access(l,s)-1;c?R.access(l,s,c):(l.removeEventListener(e,r,!0),R.remove(l,s))}}});var Me=t.location,Bn=Date.now(),Ye=/\?/;a.parseXML=function(e){var s;if(!e||"string"!=typeof e)return null;try{s=(new t.DOMParser).parseFromString(e,"text/xml")}catch{s=void 0}return s&&!s.getElementsByTagName("parsererror").length||a.error("Invalid XML: "+e),s};var _i=/\[\]$/,Nn=/\r?\n/g,ji=/^(?:submit|button|image|reset|file)$/i,xi=/^(?:input|select|textarea|keygen)/i;function Ze(e,s,r,l){var c;if(Array.isArray(s))a.each(s,function(u,p){r||_i.test(e)?l(e,p):Ze(e+"["+("object"==typeof p&&null!=p?u:"")+"]",p,r,l)});else if(r||"object"!==$t(s))l(e,s);else for(c in s)Ze(e+"["+c+"]",s[c],r,l)}a.param=function(e,s){var r,l=[],c=function(u,p){var v=U(p)?p():p;l[l.length]=encodeURIComponent(u)+"="+encodeURIComponent(v??"")};if(Array.isArray(e)||e.jquery&&!a.isPlainObject(e))a.each(e,function(){c(this.name,this.value)});else for(r in e)Ze(r,e[r],s,c);return l.join("&")},a.fn.extend({serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=a.prop(this,"elements");return e?a.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!a(this).is(":disabled")&&xi.test(this.nodeName)&&!ji.test(e)&&(this.checked||!dn.test(e))}).map(function(e,s){var r=a(this).val();return null==r?null:Array.isArray(r)?a.map(r,function(l){return{name:s.name,value:l.replace(Nn,"\r\n")}}):{name:s.name,value:r.replace(Nn,"\r\n")}}).get()}});var wi=/%20/g,ki=/#.*$/,Ci=/([?&])_=[^&]*/,bi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ei=/^(?:GET|HEAD)$/,Si=/^\/\//,In={},tn={},$n="*/".concat("*"),en=g.createElement("a");function Pn(e){return function(s,r){"string"!=typeof s&&(r=s,s="*");var l,c=0,u=s.toLowerCase().match(jt)||[];if(U(r))for(;l=u[c++];)"+"===l[0]?(l=l.slice(1)||"*",(e[l]=e[l]||[]).unshift(r)):(e[l]=e[l]||[]).push(r)}}function qn(e,s,r,l){var c={},u=e===tn;function p(v){var _;return c[v]=!0,a.each(e[v]||[],function(T,H){var $=H(s,r,l);return"string"!=typeof $||u||c[$]?u?!(_=$):void 0:(s.dataTypes.unshift($),p($),!1)}),_}return p(s.dataTypes[0])||!c["*"]&&p("*")}function nn(e,s){var r,l,c=a.ajaxSettings.flatOptions||{};for(r in s)void 0!==s[r]&&((c[r]?e:l||(l={}))[r]=s[r]);return l&&a.extend(!0,e,l),e}en.href=Me.href,a.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Me.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Me.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$n,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":a.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,s){return s?nn(nn(e,a.ajaxSettings),s):nn(a.ajaxSettings,e)},ajaxPrefilter:Pn(In),ajaxTransport:Pn(tn),ajax:function(e,s){"object"==typeof e&&(s=e,e=void 0);var r,l,c,u,p,v,_,T,H,$,M=a.ajaxSetup({},s=s||{}),A=M.context||M,Y=M.context&&(A.nodeType||A.jquery)?a(A):a.event,at=a.Deferred(),tt=a.Callbacks("once memory"),Bt=M.statusCode||{},Nt={},Jt={},kt="canceled",ot={readyState:0,getResponseHeader:function(mt){var At;if(_){if(!u)for(u={};At=bi.exec(c);)u[At[1].toLowerCase()]=At[2];At=u[mt.toLowerCase()]}return At??null},getAllResponseHeaders:function(){return _?c:null},setRequestHeader:function(mt,At){return null==_&&(mt=Jt[mt.toLowerCase()]=Jt[mt.toLowerCase()]||mt,Nt[mt]=At),this},overrideMimeType:function(mt){return null==_&&(M.mimeType=mt),this},statusCode:function(mt){var At;if(mt)if(_)ot.always(mt[ot.status]);else for(At in mt)Bt[At]=[Bt[At],mt[At]];return this},abort:function(mt){var At=mt||kt;return r&&r.abort(At),Qt(0,At),this}};if(at.promise(ot),M.url=((e||M.url||Me.href)+"").replace(Si,Me.protocol+"//"),M.type=s.method||s.type||M.method||M.type,M.dataTypes=(M.dataType||"*").toLowerCase().match(jt)||[""],null==M.crossDomain){v=g.createElement("a");try{v.href=M.url,v.href=v.href,M.crossDomain=en.protocol+"//"+en.host!=v.protocol+"//"+v.host}catch{M.crossDomain=!0}}if(M.data&&M.processData&&"string"!=typeof M.data&&(M.data=a.param(M.data,M.traditional)),qn(In,M,s,ot),_)return ot;for(H in(T=a.event&&M.global)&&0==a.active++&&a.event.trigger("ajaxStart"),M.type=M.type.toUpperCase(),M.hasContent=!Ei.test(M.type),l=M.url.replace(ki,""),M.hasContent?M.data&&M.processData&&0===(M.contentType||"").indexOf("application/x-www-form-urlencoded")&&(M.data=M.data.replace(wi,"+")):($=M.url.slice(l.length),M.data&&(M.processData||"string"==typeof M.data)&&(l+=(Ye.test(l)?"&":"?")+M.data,delete M.data),!1===M.cache&&(l=l.replace(Ci,"$1"),$=(Ye.test(l)?"&":"?")+"_="+Bn+++$),M.url=l+$),M.ifModified&&(a.lastModified[l]&&ot.setRequestHeader("If-Modified-Since",a.lastModified[l]),a.etag[l]&&ot.setRequestHeader("If-None-Match",a.etag[l])),(M.data&&M.hasContent&&!1!==M.contentType||s.contentType)&&ot.setRequestHeader("Content-Type",M.contentType),ot.setRequestHeader("Accept",M.dataTypes[0]&&M.accepts[M.dataTypes[0]]?M.accepts[M.dataTypes[0]]+("*"!==M.dataTypes[0]?", "+$n+"; q=0.01":""):M.accepts["*"]),M.headers)ot.setRequestHeader(H,M.headers[H]);if(M.beforeSend&&(!1===M.beforeSend.call(A,ot,M)||_))return ot.abort();if(kt="abort",tt.add(M.complete),ot.done(M.success),ot.fail(M.error),r=qn(tn,M,s,ot)){if(ot.readyState=1,T&&Y.trigger("ajaxSend",[ot,M]),_)return ot;M.async&&M.timeout>0&&(p=t.setTimeout(function(){ot.abort("timeout")},M.timeout));try{_=!1,r.send(Nt,Qt)}catch(mt){if(_)throw mt;Qt(-1,mt)}}else Qt(-1,"No Transport");function Qt(mt,At,Ae,be){var ie,Re,Zt,fe,Te,It=At;_||(_=!0,p&&t.clearTimeout(p),r=void 0,c=be||"",ot.readyState=mt>0?4:0,ie=mt>=200&&mt<300||304===mt,Ae&&(fe=function Mi(e,s,r){for(var l,c,u,p,v=e.contents,_=e.dataTypes;"*"===_[0];)_.shift(),void 0===l&&(l=e.mimeType||s.getResponseHeader("Content-Type"));if(l)for(c in v)if(v[c]&&v[c].test(l)){_.unshift(c);break}if(_[0]in r)u=_[0];else{for(c in r){if(!_[0]||e.converters[c+" "+_[0]]){u=c;break}p||(p=c)}u=u||p}if(u)return u!==_[0]&&_.unshift(u),r[u]}(M,ot,Ae)),fe=function Li(e,s,r,l){var c,u,p,v,_,T={},H=e.dataTypes.slice();if(H[1])for(p in e.converters)T[p.toLowerCase()]=e.converters[p];for(u=H.shift();u;)if(e.responseFields[u]&&(r[e.responseFields[u]]=s),!_&&l&&e.dataFilter&&(s=e.dataFilter(s,e.dataType)),_=u,u=H.shift())if("*"===u)u=_;else if("*"!==_&&_!==u){if(!(p=T[_+" "+u]||T["* "+u]))for(c in T)if((v=c.split(" "))[1]===u&&(p=T[_+" "+v[0]]||T["* "+v[0]])){!0===p?p=T[c]:!0!==T[c]&&(u=v[0],H.unshift(v[1]));break}if(!0!==p)if(p&&e.throws)s=p(s);else try{s=p(s)}catch($){return{state:"parsererror",error:p?$:"No conversion from "+_+" to "+u}}}return{state:"success",data:s}}(M,fe,ot,ie),ie?(M.ifModified&&((Te=ot.getResponseHeader("Last-Modified"))&&(a.lastModified[l]=Te),(Te=ot.getResponseHeader("etag"))&&(a.etag[l]=Te)),204===mt||"HEAD"===M.type?It="nocontent":304===mt?It="notmodified":(It=fe.state,Re=fe.data,ie=!(Zt=fe.error))):(Zt=It,!mt&&It||(It="error",mt<0&&(mt=0))),ot.status=mt,ot.statusText=(At||It)+"",ie?at.resolveWith(A,[Re,It,ot]):at.rejectWith(A,[ot,It,Zt]),ot.statusCode(Bt),Bt=void 0,T&&Y.trigger(ie?"ajaxSuccess":"ajaxError",[ot,M,ie?Re:Zt]),tt.fireWith(A,[ot,It]),T&&(Y.trigger("ajaxComplete",[ot,M]),--a.active||a.event.trigger("ajaxStop")))}return ot},getJSON:function(e,s,r){return a.get(e,s,r,"json")},getScript:function(e,s){return a.get(e,void 0,s,"script")}}),a.each(["get","post"],function(e,s){a[s]=function(r,l,c,u){return U(l)&&(u=u||c,c=l,l=void 0),a.ajax(a.extend({url:r,type:s,dataType:u,data:l,success:c},a.isPlainObject(r)&&r))}}),a._evalUrl=function(e){return a.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},a.fn.extend({wrapAll:function(e){var s;return this[0]&&(U(e)&&(e=e.call(this[0])),s=a(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&s.insertBefore(this[0]),s.map(function(){for(var r=this;r.firstElementChild;)r=r.firstElementChild;return r}).append(this)),this},wrapInner:function(e){return U(e)?this.each(function(s){a(this).wrapInner(e.call(this,s))}):this.each(function(){var s=a(this),r=s.contents();r.length?r.wrapAll(e):s.append(e)})},wrap:function(e){var s=U(e);return this.each(function(r){a(this).wrapAll(s?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){a(this).replaceWith(this.childNodes)}),this}}),a.expr.pseudos.hidden=function(e){return!a.expr.pseudos.visible(e)},a.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},a.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ai={0:200,1223:204},Le=a.ajaxSettings.xhr();V.cors=!!Le&&"withCredentials"in Le,V.ajax=Le=!!Le,a.ajaxTransport(function(e){var s,r;if(V.cors||Le&&!e.crossDomain)return{send:function(l,c){var u,p=e.xhr();if(p.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(u in e.xhrFields)p[u]=e.xhrFields[u];for(u in e.mimeType&&p.overrideMimeType&&p.overrideMimeType(e.mimeType),e.crossDomain||l["X-Requested-With"]||(l["X-Requested-With"]="XMLHttpRequest"),l)p.setRequestHeader(u,l[u]);s=function(v){return function(){s&&(s=r=p.onload=p.onerror=p.onabort=p.ontimeout=p.onreadystatechange=null,"abort"===v?p.abort():"error"===v?"number"!=typeof p.status?c(0,"error"):c(p.status,p.statusText):c(Ai[p.status]||p.status,p.statusText,"text"!==(p.responseType||"text")||"string"!=typeof p.responseText?{binary:p.response}:{text:p.responseText},p.getAllResponseHeaders()))}},p.onload=s(),r=p.onerror=p.ontimeout=s("error"),void 0!==p.onabort?p.onabort=r:p.onreadystatechange=function(){4===p.readyState&&t.setTimeout(function(){s&&r()})},s=s("abort");try{p.send(e.hasContent&&e.data||null)}catch(v){if(s)throw v}},abort:function(){s&&s()}}}),a.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),a.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 a.globalEval(e),e}}}),a.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),a.ajaxTransport("script",function(e){var s,r;if(e.crossDomain)return{send:function(l,c){s=a("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(u){s.remove(),r=null,u&&c("error"===u.type?404:200,u.type)}),g.head.appendChild(s[0])},abort:function(){r&&r()}}});var Fn=[],sn=/(=)\?(?=&|$)|\?\?/;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||a.expando+"_"+Bn++;return this[e]=!0,e}}),a.ajaxPrefilter("json jsonp",function(e,s,r){var l,c,u,p=!1!==e.jsonp&&(sn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&sn.test(e.data)&&"data");if(p||"jsonp"===e.dataTypes[0])return l=e.jsonpCallback=U(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,p?e[p]=e[p].replace(sn,"$1"+l):!1!==e.jsonp&&(e.url+=(Ye.test(e.url)?"&":"?")+e.jsonp+"="+l),e.converters["script json"]=function(){return u||a.error(l+" was not called"),u[0]},e.dataTypes[0]="json",c=t[l],t[l]=function(){u=arguments},r.always(function(){void 0===c?a(t).removeProp(l):t[l]=c,e[l]&&(e.jsonpCallback=s.jsonpCallback,Fn.push(l)),u&&U(c)&&c(u[0]),u=c=void 0}),"script"}),V.createHTMLDocument=function(){var e=g.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),a.parseHTML=function(e,s,r){return"string"!=typeof e?[]:("boolean"==typeof s&&(r=s,s=!1),s||(V.createHTMLDocument?((l=(s=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,s.head.appendChild(l)):s=g),u=!r&&[],(c=ut.exec(e))?[s.createElement(c[1])]:(c=yn([e],s,u),u&&u.length&&a(u).remove(),a.merge([],c.childNodes)));var l,c,u},a.fn.load=function(e,s,r){var l,c,u,p=this,v=e.indexOf(" ");return v>-1&&(l=ge(e.slice(v)),e=e.slice(0,v)),U(s)?(r=s,s=void 0):s&&"object"==typeof s&&(c="POST"),p.length>0&&a.ajax({url:e,type:c||"GET",dataType:"html",data:s}).done(function(_){u=arguments,p.html(l?a("<div>").append(a.parseHTML(_)).find(l):_)}).always(r&&function(_,T){p.each(function(){r.apply(this,u||[_.responseText,T,_])})}),this},a.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,s){a.fn[s]=function(r){return this.on(s,r)}}),a.expr.pseudos.animated=function(e){return a.grep(a.timers,function(s){return e===s.elem}).length},a.offset={setOffset:function(e,s,r){var l,c,u,p,v,_,H=a.css(e,"position"),$=a(e),M={};"static"===H&&(e.style.position="relative"),v=$.offset(),u=a.css(e,"top"),_=a.css(e,"left"),("absolute"===H||"fixed"===H)&&(u+_).indexOf("auto")>-1?(p=(l=$.position()).top,c=l.left):(p=parseFloat(u)||0,c=parseFloat(_)||0),U(s)&&(s=s.call(e,r,a.extend({},v))),null!=s.top&&(M.top=s.top-v.top+p),null!=s.left&&(M.left=s.left-v.left+c),"using"in s?s.using.call(e,M):$.css(M)}},a.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(c){a.offset.setOffset(this,e,c)});var s,r,l=this[0];return l?l.getClientRects().length?{top:(s=l.getBoundingClientRect()).top+(r=l.ownerDocument.defaultView).pageYOffset,left:s.left+r.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,s,r,l=this[0],c={top:0,left:0};if("fixed"===a.css(l,"position"))s=l.getBoundingClientRect();else{for(s=this.offset(),r=l.ownerDocument,e=l.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===a.css(e,"position");)e=e.parentNode;e&&e!==l&&1===e.nodeType&&((c=a(e).offset()).top+=a.css(e,"borderTopWidth",!0),c.left+=a.css(e,"borderLeftWidth",!0))}return{top:s.top-c.top-a.css(l,"marginTop",!0),left:s.left-c.left-a.css(l,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===a.css(e,"position");)e=e.offsetParent;return e||Be})}}),a.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;a.fn[e]=function(l){return qt(this,function(c,u,p){var v;if(lt(c)?v=c:9===c.nodeType&&(v=c.defaultView),void 0===p)return v?v[s]:c[u];v?v.scrollTo(r?v.pageXOffset:p,r?p:v.pageYOffset):c[u]=p},e,l,arguments.length)}}),a.each(["top","left"],function(e,s){a.cssHooks[s]=kn(V.pixelPosition,function(r,l){if(l)return l=Ee(r,s),Qe.test(l)?a(r).position()[s]+"px":l})}),a.each({Height:"height",Width:"width"},function(e,s){a.each({padding:"inner"+e,content:s,"":"outer"+e},function(r,l){a.fn[l]=function(c,u){var p=arguments.length&&(r||"boolean"!=typeof c),v=r||(!0===c||!0===u?"margin":"border");return qt(this,function(_,T,H){var $;return lt(_)?0===l.indexOf("outer")?_["inner"+e]:_.document.documentElement["client"+e]:9===_.nodeType?($=_.documentElement,Math.max(_.body["scroll"+e],$["scroll"+e],_.body["offset"+e],$["offset"+e],$["client"+e])):void 0===H?a.css(_,T,v):a.style(_,T,H,v)},s,p?c:void 0,p)}})}),a.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,s){a.fn[s]=function(r,l){return arguments.length>0?this.on(s,null,r,l):this.trigger(s)}}),a.fn.extend({hover:function(e,s){return this.mouseenter(e).mouseleave(s||e)}}),a.fn.extend({bind:function(e,s,r){return this.on(e,null,s,r)},unbind:function(e,s){return this.off(e,null,s)},delegate:function(e,s,r,l){return this.on(s,e,r,l)},undelegate:function(e,s,r){return 1===arguments.length?this.off(e,"**"):this.off(s,e||"**",r)}}),a.proxy=function(e,s){var r,l,c;if("string"==typeof s&&(r=e[s],s=e,e=r),U(e))return l=h.call(arguments,2),c=function(){return e.apply(s||this,l.concat(h.call(arguments)))},c.guid=e.guid=e.guid||a.guid++,c},a.holdReady=function(e){e?a.readyWait++:a.ready(!0)},a.isArray=Array.isArray,a.parseJSON=JSON.parse,a.nodeName=ct,a.isFunction=U,a.isWindow=lt,a.camelCase=C,a.type=$t,a.now=Date.now,a.isNumeric=function(e){var s=a.type(e);return("number"===s||"string"===s)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return a});var Ri=t.jQuery,Hi=t.$;return a.noConflict=function(e){return t.$===a&&(t.$=Hi),e&&t.jQuery===a&&(t.jQuery=Ri),a},n||(t.jQuery=t.$=a),a}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function o(j){var a=j.parent();j.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),a.before(j).remove()}function g(j){var a=j.parent(),Q=a.find(".minicolors-panel"),P=j.data("minicolors-settings");!j.data("minicolors-initialized")||j.prop("disabled")||a.hasClass("minicolors-inline")||a.hasClass("minicolors-focus")||(d(),a.addClass("minicolors-focus"),Q.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(j.get(0))}))}function d(){t(".minicolors-focus").each(function(){var j=t(this),a=j.find(".minicolors-input"),Q=j.find(".minicolors-panel"),P=a.data("minicolors-settings");Q.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(a.get(0)),j.removeClass("minicolors-focus")})})}function h(j,a,Q){var Rt,ht,Tt,Vt,P=j.parents(".minicolors").find(".minicolors-input"),G=P.data("minicolors-settings"),it=j.find("[class$=-picker]"),K=j.offset().left,ft=j.offset().top,ct=Math.round(a.pageX-K),ut=Math.round(a.pageY-ft),gt=Q?G.animationSpeed:0;a.originalEvent.changedTouches&&(ct=a.originalEvent.changedTouches[0].pageX-K,ut=a.originalEvent.changedTouches[0].pageY-ft),0>ct&&(ct=0),0>ut&&(ut=0),ct>j.width()&&(ct=j.width()),ut>j.height()&&(ut=j.height()),j.parent().is(".minicolors-slider-wheel")&&it.parent().is(".minicolors-grid")&&(Rt=75-ct,ht=75-ut,Tt=Math.sqrt(Rt*Rt+ht*ht),0>(Vt=Math.atan2(ht,Rt))&&(Vt+=2*Math.PI),Tt>75&&(Tt=75,ct=75-75*Math.cos(Vt),ut=75-75*Math.sin(Vt)),ct=Math.round(ct),ut=Math.round(ut)),j.is(".minicolors-grid")?it.stop(!0).animate({top:ut+"px",left:ct+"px"},gt,G.animationEasing,function(){m(P,j)}):it.stop(!0).animate({top:ut+"px"},gt,G.animationEasing,function(){m(P,j)})}function m(j,a){function Q(qt,ae){var je,x;return qt.length&&ae?(je=qt.offset().left,x=qt.offset().top,{x:je-ae.offset().left+qt.outerWidth()/2,y:x-ae.offset().top+qt.outerHeight()/2}):null}var P,G,it,K,ft,ct,ut,gt=j.val(),Rt=j.attr("data-opacity"),ht=j.parent(),Tt=j.data("minicolors-settings"),Vt=ht.find(".minicolors-swatch"),Lt=ht.find(".minicolors-grid"),jt=ht.find(".minicolors-slider"),ee=ht.find(".minicolors-opacity-slider"),oe=Lt.find("[class$=-picker]"),ce=jt.find("[class$=-picker]"),de=ee.find("[class$=-picker]"),Wt=Q(oe,Lt),re=Q(ce,jt),pe=Q(de,ee);if(a.is(".minicolors-grid, .minicolors-slider")){switch(Tt.control){case"wheel":K=Lt.width()/2-Wt.x,ft=Lt.height()/2-Wt.y,ct=Math.sqrt(K*K+ft*ft),0>(ut=Math.atan2(ft,K))&&(ut+=2*Math.PI),ct>75&&(ct=75,Wt.x=69-75*Math.cos(ut),Wt.y=69-75*Math.sin(ut)),G=q(ct/.75,0,100),gt=lt({h:P=q(180*ut/Math.PI,0,360),s:G,b:it=q(100-Math.floor(re.y*(100/jt.height())),0,100)}),jt.css("backgroundColor",lt({h:P,s:G,b:100}));break;case"saturation":gt=lt({h:P=q(parseInt(Wt.x*(360/Lt.width()),10),0,360),s:G=q(100-Math.floor(re.y*(100/jt.height())),0,100),b:it=q(100-Math.floor(Wt.y*(100/Lt.height())),0,100)}),jt.css("backgroundColor",lt({h:P,s:100,b:it})),ht.find(".minicolors-grid-inner").css("opacity",G/100);break;case"brightness":gt=lt({h:P=q(parseInt(Wt.x*(360/Lt.width()),10),0,360),s:G=q(100-Math.floor(Wt.y*(100/Lt.height())),0,100),b:it=q(100-Math.floor(re.y*(100/jt.height())),0,100)}),jt.css("backgroundColor",lt({h:P,s:G,b:100})),ht.find(".minicolors-grid-inner").css("opacity",1-it/100);break;default:gt=lt({h:P=q(360-parseInt(re.y*(360/jt.height()),10),0,360),s:G=q(Math.floor(Wt.x*(100/Lt.width())),0,100),b:it=q(100-Math.floor(Wt.y*(100/Lt.height())),0,100)}),Lt.css("backgroundColor",lt({h:P,s:100,b:100}))}j.val(J(gt,Tt.letterCase))}a.is(".minicolors-opacity-slider")&&(Rt=Tt.opacity?parseFloat(1-pe.y/ee.height()).toFixed(2):1,Tt.opacity&&j.attr("data-opacity",Rt)),Vt.find("SPAN").css({backgroundColor:gt,opacity:Rt}),E(j,gt,Rt)}function w(j,a){var Q,P,G,it,K,ft,ct,ut=j.parent(),gt=j.data("minicolors-settings"),Rt=ut.find(".minicolors-swatch"),ht=ut.find(".minicolors-grid"),Tt=ut.find(".minicolors-slider"),Vt=ut.find(".minicolors-opacity-slider"),Lt=ht.find("[class$=-picker]"),jt=Tt.find("[class$=-picker]"),ee=Vt.find("[class$=-picker]");switch((Q=J(z(j.val(),!0),gt.letterCase))||(Q=J(z(gt.defaultValue,!0),gt.letterCase)),P=function Et(j){var a=function yt(j){var a={h:0,s:0,b:0},Q=Math.min(j.r,j.g,j.b),P=Math.max(j.r,j.g,j.b),G=P-Q;return a.b=P,a.s=0!==P?255*G/P:0,a.h=0!==a.s?j.r===P?(j.g-j.b)/G:j.g===P?2+(j.b-j.r)/G:4+(j.r-j.g)/G:-1,a.h*=60,a.h<0&&(a.h+=360),a.s*=100/255,a.b*=100/255,a}($t(j));return 0===a.s&&(a.h=360),a}(Q),a||j.val(Q),gt.opacity&&(G=""===j.attr("data-opacity")?1:q(parseFloat(j.attr("data-opacity")).toFixed(2),0,1),isNaN(G)&&(G=1),j.attr("data-opacity",G),Rt.find("SPAN").css("opacity",G),K=q(Vt.height()-Vt.height()*G,0,Vt.height()),ee.css("top",K+"px")),Rt.find("SPAN").css("backgroundColor",Q),gt.control){case"wheel":ft=q(Math.ceil(.75*P.s),0,ht.height()/2),ct=P.h*Math.PI/180,it=q(75-Math.cos(ct)*ft,0,ht.width()),K=q(75-Math.sin(ct)*ft,0,ht.height()),Lt.css({top:K+"px",left:it+"px"}),K=150-P.b/(100/ht.height()),""===Q&&(K=0),jt.css("top",K+"px"),Tt.css("backgroundColor",lt({h:P.h,s:P.s,b:100}));break;case"saturation":it=q(5*P.h/12,0,150),K=q(ht.height()-Math.ceil(P.b/(100/ht.height())),0,ht.height()),Lt.css({top:K+"px",left:it+"px"}),K=q(Tt.height()-P.s*(Tt.height()/100),0,Tt.height()),jt.css("top",K+"px"),Tt.css("backgroundColor",lt({h:P.h,s:100,b:P.b})),ut.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":it=q(5*P.h/12,0,150),K=q(ht.height()-Math.ceil(P.s/(100/ht.height())),0,ht.height()),Lt.css({top:K+"px",left:it+"px"}),K=q(Tt.height()-P.b*(Tt.height()/100),0,Tt.height()),jt.css("top",K+"px"),Tt.css("backgroundColor",lt({h:P.h,s:P.s,b:100})),ut.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:it=q(Math.ceil(P.s/(100/ht.width())),0,ht.width()),K=q(ht.height()-Math.ceil(P.b/(100/ht.height())),0,ht.height()),Lt.css({top:K+"px",left:it+"px"}),K=q(Tt.height()-P.h/(360/Tt.height()),0,Tt.height()),jt.css("top",K+"px"),ht.css("backgroundColor",lt({h:P.h,s:100,b:100}))}j.data("minicolors-initialized")&&E(j,Q,G)}function E(j,a,Q){var P=j.data("minicolors-settings"),G=j.data("minicolors-lastChange");G&&G.hex===a&&G.opacity===Q||(j.data("minicolors-lastChange",{hex:a,opacity:Q}),P.change&&(P.changeDelay?(clearTimeout(j.data("minicolors-changeTimeout")),j.data("minicolors-changeTimeout",setTimeout(function(){P.change.call(j.get(0),a,Q)},P.changeDelay))):P.change.call(j.get(0),a,Q)),j.trigger("change").trigger("input"))}function J(j,a){return"uppercase"===a?j.toUpperCase():j.toLowerCase()}function z(j,a){return 3!==(j=j.replace(/[^A-F0-9]/gi,"")).length&&6!==j.length?"":(3===j.length&&a&&(j=j[0]+j[0]+j[1]+j[1]+j[2]+j[2]),"#"+j)}function q(j,a,Q){return a>j&&(j=a),j>Q&&(j=Q),j}function lt(j){return function U(j){var a=[j.r.toString(16),j.g.toString(16),j.b.toString(16)];return t.each(a,function(Q,P){1===P.length&&(a[Q]="0"+P)}),"#"+a.join("")}(function V(j){var a={},Q=Math.round(j.h),P=Math.round(255*j.s/100),G=Math.round(255*j.b/100);if(0===P)a.r=a.g=a.b=G;else{var it=G,K=(255-P)*G/255,ft=Q%60*(it-K)/60;360===Q&&(Q=0),60>Q?(a.r=it,a.b=K,a.g=K+ft):120>Q?(a.g=it,a.b=K,a.r=it-ft):180>Q?(a.g=it,a.r=K,a.b=K+ft):240>Q?(a.b=it,a.r=K,a.g=it-ft):300>Q?(a.b=it,a.g=K,a.r=K+ft):360>Q?(a.r=it,a.g=K,a.b=it-ft):(a.r=0,a.g=0,a.b=0)}return{r:Math.round(a.r),g:Math.round(a.g),b:Math.round(a.b)}}(j))}function $t(j){return{r:(j=parseInt(j.indexOf("#")>-1?j.substring(1):j,16))>>16,g:(65280&j)>>8,b:255&j}}t.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},t.extend(t.fn,{minicolors:function(j,a){switch(j){case"destroy":return t(this).each(function(){o(t(this))}),t(this);case"hide":return d(),t(this);case"opacity":return void 0===a?t(this).attr("data-opacity"):(t(this).each(function(){w(t(this).attr("data-opacity",a))}),t(this));case"rgbObject":return function S(j){var Q=$t(z(t(j).val(),!0)),P=t(j).attr("data-opacity");return Q?(void 0!==P&&t.extend(Q,{a:parseFloat(P)}),Q):null}(t(this));case"rgbString":case"rgbaString":return function B(j,a){var P=$t(z(t(j).val(),!0)),G=t(j).attr("data-opacity");return P?(void 0===G&&(G=1),a?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(G)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):null}(t(this),"rgbaString"===j);case"settings":return void 0===a?t(this).data("minicolors-settings"):(t(this).each(function(){var Q=t(this).data("minicolors-settings")||{};o(t(this)),t(this).minicolors(t.extend(!0,Q,a))}),t(this));case"show":return g(t(this).eq(0)),t(this);case"value":return void 0===a?t(this).val():(t(this).each(function(){w(t(this).val(a))}),t(this));default:return"create"!==j&&(a=j),t(this).each(function(){!function n(j,a){var Q=t('<div class="minicolors" />'),P=t.minicolors.defaults;j.data("minicolors-initialized")||(a=t.extend(!0,{},P,a),Q.addClass("minicolors-theme-"+a.theme).toggleClass("minicolors-with-opacity",a.opacity).toggleClass("minicolors-no-data-uris",!0!==a.dataUris),void 0!==a.position&&t.each(a.position.split(" "),function(){Q.addClass("minicolors-position-"+this)}),j.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",a).prop("size",7).wrap(Q).after('<div class="minicolors-panel minicolors-slider-'+a.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),a.inline||(j.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),j.next(".minicolors-swatch").on("click",function(G){G.preventDefault(),j.focus()})),j.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),a.inline&&j.parent().addClass("minicolors-inline"),w(j,!1),j.data("minicolors-initialized",!0))}(t(this),a)}),t(this)}}}),t(document).on("mousedown.minicolors touchstart.minicolors",function(j){t(j.target).parents().add(j.target).hasClass("minicolors")||d()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(j){var a=t(this);j.preventDefault(),t(document).data("minicolors-target",a),h(a,j,!0)}).on("mousemove.minicolors touchmove.minicolors",function(j){var a=t(document).data("minicolors-target");a&&h(a,j)}).on("mouseup.minicolors touchend.minicolors",function(){t(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(j){var a=t(this).parent().find(".minicolors-input");j.preventDefault(),g(a)}).on("focus.minicolors",".minicolors-input",function(){var j=t(this);j.data("minicolors-initialized")&&g(j)}).on("blur.minicolors",".minicolors-input",function(){var j=t(this),a=j.data("minicolors-settings");j.data("minicolors-initialized")&&(j.val(z(j.val(),!0)),""===j.val()&&j.val(z(a.defaultValue,!0)),j.val(J(j.val(),a.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(j){var a=t(this);if(a.data("minicolors-initialized"))switch(j.keyCode){case 9:d();break;case 13:case 27:d(),a.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var j=t(this);j.data("minicolors-initialized")&&w(j,!0)}).on("paste.minicolors",".minicolors-input",function(){var j=t(this);j.data("minicolors-initialized")&&setTimeout(function(){w(j,!0)},1)})}),function(t,n){var o=/[<>&\r\n"']/gm,g={"<":"lt;",">":"gt;","&":"amp;","\r":"#13;","\n":"#10;",'"':"quot;","'":"#39;"};t.extend({fileDownload:function(d,h){var S,B,J,m=t.extend({preparingMessageHtml:null,failMessageHtml:null,androidPostUnsupportedMessageHtml:"Unfortunately your Android browser doesn't support this type of file download. Please try again with a different browser.",dialogOptions:{modal:!0},prepareCallback:function(K){},successCallback:function(K){},abortCallback:function(K){},failCallback:function(K,ft,ct){},httpMethod:"GET",data:null,checkInterval:100,cookieName:"fileDownload",cookieValue:"true",cookiePath:"/",cookieDomain:null,popupWindowTitle:"Initiating file download...",encodeHTMLEntities:!0},h),w=new t.Deferred,E=(navigator.userAgent||navigator.vendor||n.opera).toLowerCase();/ip(ad|hone|od)/.test(E)?S=!0:-1!==E.indexOf("android")?B=!0:J=/avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|playbook|silk|iemobile|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(E)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i.test(E.substr(0,4));var z=m.httpMethod.toUpperCase();if(B&&"GET"!==z&&m.androidPostUnsupportedMessageHtml)return t().dialog?t("<div>").html(m.androidPostUnsupportedMessageHtml).dialog(m.dialogOptions):alert(m.androidPostUnsupportedMessageHtml),w.reject();var U,lt,Et,yt,K,q=null,V_onFail=function(K,ft,ct){q&&q.dialog("close"),m.failMessageHtml&&t("<div>").html(m.failMessageHtml).dialog(m.dialogOptions),m.failCallback(K,ft,ct),w.reject(K,ft)};if(K=d,m.preparingMessageHtml?q=t("<div>").html(m.preparingMessageHtml).dialog(m.dialogOptions):m.prepareCallback&&m.prepareCallback(K),null!==m.data&&"string"!=typeof m.data&&(m.data=t.param(m.data)),"GET"===z)null!==m.data&&(-1!==d.indexOf("?")?"&"!==d.substring(d.length-1)&&(d+="&"):d+="?",d+=m.data),S||B?((lt=n.open(d)).document.title=m.popupWindowTitle,n.focus()):J?n.location(d):U=t("<iframe>").hide().prop("src",d).appendTo("body");else{var j="";null!==m.data&&t.each(m.data.replace(/\+/g," ").split("&"),function(){var K=this.split("="),ft=K[0];K.shift();var ct=K.join("=");K=[ft,ct];var ut=m.encodeHTMLEntities?G(decodeURIComponent(K[0])):decodeURIComponent(K[0]);if(ut){var gt=m.encodeHTMLEntities?G(decodeURIComponent(K[1])):decodeURIComponent(K[1]);j+='<input type="hidden" name="'+ut+'" value="'+gt+'" />'}}),J?(yt=t("<form>").appendTo("body")).hide().prop("method",m.httpMethod).prop("action",d).html(j):(S?((lt=n.open("about:blank")).document.title=m.popupWindowTitle,Et=lt.document,n.focus()):Et=Q(U=t("<iframe style='display: none' src='about:blank'></iframe>").appendTo("body")),Et.write("<html><head></head><body><form method='"+m.httpMethod+"' action='"+d+"'>"+j+"</form>"+m.popupWindowTitle+"</body></html>"),yt=t(Et).find("form")),yt.submit()}function Q(K){var ft=K[0].contentWindow||K[0].contentDocument;return ft.document&&(ft=ft.document),ft}function P(K){setTimeout(function(){lt&&(B&&lt.close(),S&&lt.focus&&(lt.focus(),K&&lt.close()))},0)}function G(K){return K.replace(o,function(ft){return"&"+g[ft]})}setTimeout(function a(){var K=m.cookieValue;"string"==typeof K&&(K=K.toLowerCase());var ft=m.cookieName.toLowerCase()+"="+K;if(document.cookie.toLowerCase().indexOf(ft)>-1){!function(K){q&&q.dialog("close"),m.successCallback(K),w.resolve(K)}(d);var ct=m.cookieName+"=; path="+m.cookiePath+"; expires="+new Date(0).toUTCString()+";";return m.cookieDomain&&(ct+=" domain="+m.cookieDomain+";"),document.cookie=ct,void P(!1)}if(lt||U)try{var ut=lt?lt.document:Q(U);if(ut&&null!==ut.body&&ut.body.innerHTML.length){var gt=!0;if(yt&&yt.length){var Rt=t(ut.body).contents().first();try{Rt.length&&Rt[0]===yt[0]&&(gt=!1)}catch(ht){if(!ht||-2146828218!=ht.number)throw ht;gt=!0}}if(gt)return void setTimeout(function(){V_onFail(ut.body.innerHTML,d),P(!0)},100)}}catch(ht){return V_onFail("",d,ht),void P(!0)}setTimeout(a,m.checkInterval)},m.checkInterval);var it=w.promise();return it.abort=function(){P(),U.attr("src","").html(""),function(K){q&&q.dialog("close"),m.abortCallback(K),w.reject(K)}(d)},it}})}(jQuery,this||window),typeof jQuery>"u")throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var n=jQuery.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1==n[0]&&9==n[1]&&n[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";var o='[data-dismiss="alert"]',g=function(h){t(h).on("click",o,this.close)};g.VERSION="3.3.2",g.TRANSITION_DURATION=150,g.prototype.close=function(h){function m(){S.detach().trigger("closed.bs.alert").remove()}var w=t(this),E=w.attr("data-target");E||(E=(E=w.attr("href"))&&E.replace(/.*(?=#[^\s]*$)/,""));var S=t(E);h&&h.preventDefault(),S.length||(S=w.closest(".alert")),S.trigger(h=t.Event("close.bs.alert")),h.isDefaultPrevented()||(S.removeClass("in"),t.support.transition&&S.hasClass("fade")?S.one("bsTransitionEnd",m).emulateTransitionEnd(g.TRANSITION_DURATION):m())};var d=t.fn.alert;t.fn.alert=function n(h){return this.each(function(){var m=t(this),w=m.data("bs.alert");w||m.data("bs.alert",w=new g(this)),"string"==typeof h&&w[h].call(m)})},t.fn.alert.Constructor=g,t.fn.alert.noConflict=function(){return t.fn.alert=d,this},t(document).on("click.bs.alert.data-api",o,g.prototype.close)}(jQuery),function(t){"use strict";function n(d){return this.each(function(){var h=t(this),m=h.data("bs.button");m||h.data("bs.button",m=new o(this,"object"==typeof d&&d)),"toggle"==d?m.toggle():d&&m.setState(d)})}var o=function(d,h){this.$element=t(d),this.options=t.extend({},o.DEFAULTS,h),this.isLoading=!1};o.VERSION="3.3.2",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(d){var h="disabled",m=this.$element,w=m.is("input")?"val":"html",E=m.data();d+="Text",null==E.resetText&&m.data("resetText",m[w]()),setTimeout(t.proxy(function(){m[w](E[d]??this.options[d]),"loadingText"==d?(this.isLoading=!0,m.addClass(h).attr(h,h)):this.isLoading&&(this.isLoading=!1,m.removeClass(h).removeAttr(h))},this),0)},o.prototype.toggle=function(){var d=!0,h=this.$element.closest('[data-toggle="buttons"]');if(h.length){var m=this.$element.find("input");"radio"==m.prop("type")&&(m.prop("checked")&&this.$element.hasClass("active")?d=!1:h.find(".active").removeClass("active")),d&&m.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));d&&this.$element.toggleClass("active")};var g=t.fn.button;t.fn.button=n,t.fn.button.Constructor=o,t.fn.button.noConflict=function(){return t.fn.button=g,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(d){var h=t(d.target);h.hasClass("btn")||(h=h.closest(".btn")),n.call(h,"toggle"),d.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(d){t(d.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(d.type))})}(jQuery),function(t){"use strict";function n(h){return this.each(function(){var m=t(this),w=m.data("bs.carousel"),E=t.extend({},o.DEFAULTS,m.data(),"object"==typeof h&&h),S="string"==typeof h?h:E.slide;w||m.data("bs.carousel",w=new o(this,E)),"number"==typeof h?w.to(h):S?w[S]():E.interval&&w.pause().cycle()})}var o=function(h,m){this.$element=t(h),this.$indicators=this.$element.find(".carousel-indicators"),this.options=m,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};o.VERSION="3.3.2",o.TRANSITION_DURATION=600,o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},o.prototype.keydown=function(h){if(!/input|textarea/i.test(h.target.tagName)){switch(h.which){case 37:this.prev();break;case 39:this.next();break;default:return}h.preventDefault()}},o.prototype.cycle=function(h){return h||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},o.prototype.getItemIndex=function(h){return this.$items=h.parent().children(".item"),this.$items.index(h||this.$active)},o.prototype.getItemForDirection=function(h,m){var w=this.getItemIndex(m);return("prev"==h&&0===w||"next"==h&&w==this.$items.length-1)&&!this.options.wrap?m:this.$items.eq((w+("prev"==h?-1:1))%this.$items.length)},o.prototype.to=function(h){var m=this,w=this.getItemIndex(this.$active=this.$element.find(".item.active"));return h>this.$items.length-1||0>h?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){m.to(h)}):w==h?this.pause().cycle():this.slide(h>w?"next":"prev",this.$items.eq(h))},o.prototype.pause=function(h){return h||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},o.prototype.next=function(){return this.sliding?void 0:this.slide("next")},o.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},o.prototype.slide=function(h,m){var w=this.$element.find(".item.active"),E=m||this.getItemForDirection(h,w),S=this.interval,B="next"==h?"left":"right",J=this;if(E.hasClass("active"))return this.sliding=!1;var z=E[0],q=t.Event("slide.bs.carousel",{relatedTarget:z,direction:B});if(this.$element.trigger(q),!q.isDefaultPrevented()){if(this.sliding=!0,S&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var V=t(this.$indicators.children()[this.getItemIndex(E)]);V&&V.addClass("active")}var U=t.Event("slid.bs.carousel",{relatedTarget:z,direction:B});return t.support.transition&&this.$element.hasClass("slide")?(E.addClass(h),w.addClass(B),E.addClass(B),w.one("bsTransitionEnd",function(){E.removeClass([h,B].join(" ")).addClass("active"),w.removeClass(["active",B].join(" ")),J.sliding=!1,setTimeout(function(){J.$element.trigger(U)},0)}).emulateTransitionEnd(o.TRANSITION_DURATION)):(w.removeClass("active"),E.addClass("active"),this.sliding=!1,this.$element.trigger(U)),S&&this.cycle(),this}};var g=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=o,t.fn.carousel.noConflict=function(){return t.fn.carousel=g,this};var d=function(h){var m,w=t(this),E=t(w.attr("data-target")||(m=w.attr("href"))&&m.replace(/.*(?=#[^\s]+$)/,""));if(E.hasClass("carousel")){var S=t.extend({},E.data(),w.data()),B=w.attr("data-slide-to");B&&(S.interval=!1),n.call(E,S),B&&E.data("bs.carousel").to(B),h.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",d).on("click.bs.carousel.data-api","[data-slide-to]",d),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var h=t(this);n.call(h,h.data())})})}(jQuery),function(t){"use strict";function n(E){E&&3===E.which||(t(d).remove(),t(h).each(function(){var S=t(this),B=o(S),J={relatedTarget:this};B.hasClass("open")&&(B.trigger(E=t.Event("hide.bs.dropdown",J)),E.isDefaultPrevented()||(S.attr("aria-expanded","false"),B.removeClass("open").trigger("hidden.bs.dropdown",J)))}))}function o(E){var S=E.attr("data-target");S||(S=(S=E.attr("href"))&&/#[A-Za-z]/.test(S)&&S.replace(/.*(?=#[^\s]*$)/,""));var B=S&&t(S);return B&&B.length?B:E.parent()}var d=".dropdown-backdrop",h='[data-toggle="dropdown"]',m=function(E){t(E).on("click.bs.dropdown",this.toggle)};m.VERSION="3.3.2",m.prototype.toggle=function(E){var S=t(this);if(!S.is(".disabled, :disabled")){var B=o(S),J=B.hasClass("open");if(n(),!J){"ontouchstart"in document.documentElement&&!B.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",n);var z={relatedTarget:this};if(B.trigger(E=t.Event("show.bs.dropdown",z)),E.isDefaultPrevented())return;S.trigger("focus").attr("aria-expanded","true"),B.toggleClass("open").trigger("shown.bs.dropdown",z)}return!1}},m.prototype.keydown=function(E){if(/(38|40|27|32)/.test(E.which)&&!/input|textarea/i.test(E.target.tagName)){var S=t(this);if(E.preventDefault(),E.stopPropagation(),!S.is(".disabled, :disabled")){var B=o(S),J=B.hasClass("open");if(!J&&27!=E.which||J&&27==E.which)return 27==E.which&&B.find(h).trigger("focus"),S.trigger("click");var z=" li:not(.disabled):visible a",q=B.find('[role="menu"]'+z+', [role="listbox"]'+z);if(q.length){var V=q.index(E.target);38==E.which&&V>0&&V--,40==E.which&&V<q.length-1&&V++,~V||(V=0),q.eq(V).trigger("focus")}}}};var w=t.fn.dropdown;t.fn.dropdown=function g(E){return this.each(function(){var S=t(this),B=S.data("bs.dropdown");B||S.data("bs.dropdown",B=new m(this)),"string"==typeof E&&B[E].call(S)})},t.fn.dropdown.Constructor=m,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=w,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(E){E.stopPropagation()}).on("click.bs.dropdown.data-api",h,m.prototype.toggle).on("keydown.bs.dropdown.data-api",h,m.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',m.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',m.prototype.keydown)}(jQuery),function(t){"use strict";function n(d,h){return this.each(function(){var m=t(this),w=m.data("bs.modal"),E=t.extend({},o.DEFAULTS,m.data(),"object"==typeof d&&d);w||m.data("bs.modal",w=new o(this,E)),"string"==typeof d?w[d](h):E.show&&w.show(h)})}var o=function(d,h){this.options=h,this.$body=t(document.body),this.$element=t(d),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};o.VERSION="3.3.2",o.TRANSITION_DURATION=300,o.BACKDROP_TRANSITION_DURATION=150,o.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},o.prototype.toggle=function(d){return this.isShown?this.hide():this.show(d)},o.prototype.show=function(d){var h=this,m=t.Event("show.bs.modal",{relatedTarget:d});this.$element.trigger(m),this.isShown||m.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){h.$element.one("mouseup.dismiss.bs.modal",function(w){t(w.target).is(h.$element)&&(h.ignoreBackdropClick=!0)})}),this.backdrop(function(){var w=t.support.transition&&h.$element.hasClass("fade");h.$element.parent().length||h.$element.appendTo(h.$body),h.$element.show().scrollTop(0),h.adjustDialog(),h.$element.addClass("in").attr("aria-hidden",!1),h.enforceFocus();var E=t.Event("shown.bs.modal",{relatedTarget:d});w?h.$dialog.one("bsTransitionEnd",function(){h.$element.trigger("focus").trigger(E)}).emulateTransitionEnd(o.TRANSITION_DURATION):h.$element.trigger("focus").trigger(E)}))},o.prototype.hide=function(d){d&&d.preventDefault(),d=t.Event("hide.bs.modal"),this.$element.trigger(d),this.isShown&&!d.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(o.TRANSITION_DURATION):this.hideModal())},o.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(d){this.$element[0]===d.target||this.$element.has(d.target).length||this.$element.trigger("focus")},this))},o.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(d){27==d.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},o.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},o.prototype.hideModal=function(){var d=this;this.$element.hide(),this.backdrop(function(){d.$body.removeClass("modal-open"),d.resetAdjustments(),d.resetScrollbar(),d.$element.trigger("hidden.bs.modal")})},o.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},o.prototype.backdrop=function(d){var h=this,m=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var w=t.support.transition&&m;if(this.$backdrop=t('<div class="modal-backdrop '+m+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(S){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(S.target===S.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),this.$backdrop.addClass("in"),!d)return;w?this.$backdrop.one("bsTransitionEnd",d).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):d()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var E=function(){h.removeBackdrop(),d&&d()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",E).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):E()}else d&&d()},o.prototype.handleUpdate=function(){this.adjustDialog()},o.prototype.adjustDialog=function(){var d=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&d?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!d?this.scrollbarWidth:""})},o.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},o.prototype.checkScrollbar=function(){var d=window.innerWidth;if(!d){var h=document.documentElement.getBoundingClientRect();d=h.right-Math.abs(h.left)}this.bodyIsOverflowing=document.body.clientWidth<d,this.scrollbarWidth=this.measureScrollbar()},o.prototype.setScrollbar=function(){var d=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",d+this.scrollbarWidth)},o.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},o.prototype.measureScrollbar=function(){var d=document.createElement("div");d.className="modal-scrollbar-measure",this.$body.append(d);var h=d.offsetWidth-d.clientWidth;return this.$body[0].removeChild(d),h};var g=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=o,t.fn.modal.noConflict=function(){return t.fn.modal=g,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(d){var h=t(this),m=h.attr("href"),w=t(h.attr("data-target")||m&&m.replace(/.*(?=#[^\s]+$)/,"")),E=w.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(m)&&m},w.data(),h.data());h.is("a")&&d.preventDefault(),w.one("show.bs.modal",function(S){S.isDefaultPrevented()||w.one("hidden.bs.modal",function(){h.is(":visible")&&h.trigger("focus")})}),n.call(w,E,this)})}(jQuery),function(t){"use strict";var o=function(d,h){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",d,h)};o.VERSION="3.3.2",o.TRANSITION_DURATION=150,o.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},o.prototype.init=function(d,h,m){if(this.enabled=!0,this.type=d,this.$element=t(h),this.options=this.getOptions(m),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var w=this.options.trigger.split(" "),E=w.length;E--;){var S=w[E];if("click"==S)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=S){var J="hover"==S?"mouseleave":"focusout";this.$element.on(("hover"==S?"mouseenter":"focusin")+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(J+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(d){return(d=t.extend({},this.getDefaults(),this.$element.data(),d)).delay&&"number"==typeof d.delay&&(d.delay={show:d.delay,hide:d.delay}),d},o.prototype.getDelegateOptions=function(){var d={},h=this.getDefaults();return this._options&&t.each(this._options,function(m,w){h[m]!=w&&(d[m]=w)}),d},o.prototype.enter=function(d){var h=d instanceof this.constructor?d:t(d.currentTarget).data("bs."+this.type);return h&&h.$tip&&h.$tip.is(":visible")?void(h.hoverState="in"):(h||(h=new this.constructor(d.currentTarget,this.getDelegateOptions()),t(d.currentTarget).data("bs."+this.type,h)),clearTimeout(h.timeout),h.hoverState="in",h.options.delay&&h.options.delay.show?void(h.timeout=setTimeout(function(){"in"==h.hoverState&&h.show()},h.options.delay.show)):h.show())},o.prototype.leave=function(d){var h=d instanceof this.constructor?d:t(d.currentTarget).data("bs."+this.type);return h||(h=new this.constructor(d.currentTarget,this.getDelegateOptions()),t(d.currentTarget).data("bs."+this.type,h)),clearTimeout(h.timeout),h.hoverState="out",h.options.delay&&h.options.delay.hide?void(h.timeout=setTimeout(function(){"out"==h.hoverState&&h.hide()},h.options.delay.hide)):h.hide()},o.prototype.show=function(){var d=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(d);var h=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(d.isDefaultPrevented()||!h)return;var m=this,w=this.tip(),E=this.getUID(this.type);this.setContent(),w.attr("id",E),this.$element.attr("aria-describedby",E),this.options.animation&&w.addClass("fade");var S="function"==typeof this.options.placement?this.options.placement.call(this,w[0],this.$element[0]):this.options.placement,B=/\s?auto?\s?/i,J=B.test(S);J&&(S=S.replace(B,"")||"top"),w.detach().css({top:0,left:0,display:"block"}).addClass(S).data("bs."+this.type,this),this.options.container?w.appendTo(this.options.container):w.insertAfter(this.$element);var z=this.getPosition(),q=w[0].offsetWidth,V=w[0].offsetHeight;if(J){var U=S,lt=this.options.container?t(this.options.container):this.$element.parent(),Et=this.getPosition(lt);S="bottom"==S&&z.bottom+V>Et.bottom?"top":"top"==S&&z.top-V<Et.top?"bottom":"right"==S&&z.right+q>Et.width?"left":"left"==S&&z.left-q<Et.left?"right":S,w.removeClass(U).addClass(S)}var yt=this.getCalculatedOffset(S,z,q,V);this.applyPlacement(yt,S);var $t=function(){var j=m.hoverState;m.$element.trigger("shown.bs."+m.type),m.hoverState=null,"out"==j&&m.leave(m)};t.support.transition&&this.$tip.hasClass("fade")?w.one("bsTransitionEnd",$t).emulateTransitionEnd(o.TRANSITION_DURATION):$t()}},o.prototype.applyPlacement=function(d,h){var m=this.tip(),w=m[0].offsetWidth,E=m[0].offsetHeight,S=parseInt(m.css("margin-top"),10),B=parseInt(m.css("margin-left"),10);isNaN(S)&&(S=0),isNaN(B)&&(B=0),d.top=d.top+S,d.left=d.left+B,t.offset.setOffset(m[0],t.extend({using:function(Et){m.css({top:Math.round(Et.top),left:Math.round(Et.left)})}},d),0),m.addClass("in");var J=m[0].offsetWidth,z=m[0].offsetHeight;"top"==h&&z!=E&&(d.top=d.top+E-z);var q=this.getViewportAdjustedDelta(h,d,J,z);q.left?d.left+=q.left:d.top+=q.top;var V=/top|bottom/.test(h),U=V?2*q.left-w+J:2*q.top-E+z,lt=V?"offsetWidth":"offsetHeight";m.offset(d),this.replaceArrow(U,m[0][lt],V)},o.prototype.replaceArrow=function(d,h,m){this.arrow().css(m?"left":"top",50*(1-d/h)+"%").css(m?"top":"left","")},o.prototype.setContent=function(){var d=this.tip(),h=this.getTitle();d.find(".tooltip-inner")[this.options.html?"html":"text"](h),d.removeClass("fade in top bottom left right")},o.prototype.hide=function(d){function h(){"in"!=m.hoverState&&w.detach(),m.$element.removeAttr("aria-describedby").trigger("hidden.bs."+m.type),d&&d()}var m=this,w=t(this.$tip),E=t.Event("hide.bs."+this.type);return this.$element.trigger(E),E.isDefaultPrevented()?void 0:(w.removeClass("in"),t.support.transition&&w.hasClass("fade")?w.one("bsTransitionEnd",h).emulateTransitionEnd(o.TRANSITION_DURATION):h(),this.hoverState=null,this)},o.prototype.fixTitle=function(){var d=this.$element;(d.attr("title")||"string"!=typeof d.attr("data-original-title"))&&d.attr("data-original-title",d.attr("title")||"").attr("title","")},o.prototype.hasContent=function(){return this.getTitle()},o.prototype.getPosition=function(d){var h=(d=d||this.$element)[0],m="BODY"==h.tagName,w=h.getBoundingClientRect();null==w.width&&(w=t.extend({},w,{width:w.right-w.left,height:w.bottom-w.top}));var E=m?{top:0,left:0}:d.offset(),S={scroll:m?document.documentElement.scrollTop||document.body.scrollTop:d.scrollTop()},B=m?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},w,S,B,E)},o.prototype.getCalculatedOffset=function(d,h,m,w){return"bottom"==d?{top:h.top+h.height,left:h.left+h.width/2-m/2}:"top"==d?{top:h.top-w,left:h.left+h.width/2-m/2}:"left"==d?{top:h.top+h.height/2-w/2,left:h.left-m}:{top:h.top+h.height/2-w/2,left:h.left+h.width}},o.prototype.getViewportAdjustedDelta=function(d,h,m,w){var E={top:0,left:0};if(!this.$viewport)return E;var S=this.options.viewport&&this.options.viewport.padding||0,B=this.getPosition(this.$viewport);if(/right|left/.test(d)){var J=h.top-S-B.scroll,z=h.top+S-B.scroll+w;J<B.top?E.top=B.top-J:z>B.top+B.height&&(E.top=B.top+B.height-z)}else{var q=h.left-S,V=h.left+S+m;q<B.left?E.left=B.left-q:V>B.width&&(E.left=B.left+B.width-V)}return E},o.prototype.getTitle=function(){var h=this.$element,m=this.options;return h.attr("data-original-title")||("function"==typeof m.title?m.title.call(h[0]):m.title)},o.prototype.getUID=function(d){do{d+=~~(1e6*Math.random())}while(document.getElementById(d));return d},o.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(d){var h=this;d&&((h=t(d.currentTarget).data("bs."+this.type))||(h=new this.constructor(d.currentTarget,this.getDelegateOptions()),t(d.currentTarget).data("bs."+this.type,h))),h.tip().hasClass("in")?h.leave(h):h.enter(h)},o.prototype.destroy=function(){var d=this;clearTimeout(this.timeout),this.hide(function(){d.$element.off("."+d.type).removeData("bs."+d.type)})};var g=t.fn.tooltip;t.fn.tooltip=function n(d){return this.each(function(){var h=t(this),m=h.data("bs.tooltip"),w="object"==typeof d&&d;(m||!/destroy|hide/.test(d))&&(m||h.data("bs.tooltip",m=new o(this,w)),"string"==typeof d&&m[d]())})},t.fn.tooltip.Constructor=o,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=g,this}}(jQuery),function(t){"use strict";var o=function(d,h){this.init("popover",d,h)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.3.2",o.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(o.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=o,o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var d=this.tip(),h=this.getTitle(),m=this.getContent();d.find(".popover-title")[this.options.html?"html":"text"](h),d.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof m?"html":"append":"text"](m),d.removeClass("fade top bottom left right in"),d.find(".popover-title").html()||d.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var d=this.$element,h=this.options;return d.attr("data-content")||("function"==typeof h.content?h.content.call(d[0]):h.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var g=t.fn.popover;t.fn.popover=function n(d){return this.each(function(){var h=t(this),m=h.data("bs.popover"),w="object"==typeof d&&d;(m||!/destroy|hide/.test(d))&&(m||h.data("bs.popover",m=new o(this,w)),"string"==typeof d&&m[d]())})},t.fn.popover.Constructor=o,t.fn.popover.noConflict=function(){return t.fn.popover=g,this}}(jQuery),function(t){"use strict";function n(h){return this.each(function(){var m=t(this),w=m.data("bs.tab");w||m.data("bs.tab",w=new o(this)),"string"==typeof h&&w[h]()})}var o=function(h){this.element=t(h)};o.VERSION="3.3.2",o.TRANSITION_DURATION=150,o.prototype.show=function(){var h=this.element,m=h.closest("ul:not(.dropdown-menu)"),w=h.data("target");if(w||(w=(w=h.attr("href"))&&w.replace(/.*(?=#[^\s]*$)/,"")),!h.parent("li").hasClass("active")){var E=m.find(".active:last a"),S=t.Event("hide.bs.tab",{relatedTarget:h[0]}),B=t.Event("show.bs.tab",{relatedTarget:E[0]});if(E.trigger(S),h.trigger(B),!B.isDefaultPrevented()&&!S.isDefaultPrevented()){var J=t(w);this.activate(h.closest("li"),m),this.activate(J,J.parent(),function(){E.trigger({type:"hidden.bs.tab",relatedTarget:h[0]}),h.trigger({type:"shown.bs.tab",relatedTarget:E[0]})})}}},o.prototype.activate=function(h,m,w){function E(){S.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),h.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),B?h.addClass("in"):h.removeClass("fade"),h.parent(".dropdown-menu").length&&h.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),w&&w()}var S=m.find("> .active"),B=w&&t.support.transition&&(S.length&&S.hasClass("fade")||!!m.find("> .fade").length);S.length&&B?S.one("bsTransitionEnd",E).emulateTransitionEnd(o.TRANSITION_DURATION):E(),S.removeClass("in")};var g=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=o,t.fn.tab.noConflict=function(){return t.fn.tab=g,this};var d=function(h){h.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',d).on("click.bs.tab.data-api",'[data-toggle="pill"]',d)}(jQuery),function(t){"use strict";function n(d){return this.each(function(){var h=t(this),m=h.data("bs.affix");m||h.data("bs.affix",m=new o(this,"object"==typeof d&&d)),"string"==typeof d&&m[d]()})}var o=function(d,h){this.options=t.extend({},o.DEFAULTS,h),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(d),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};o.VERSION="3.3.2",o.RESET="affix affix-top affix-bottom",o.DEFAULTS={offset:0,target:window},o.prototype.getState=function(d,h,m,w){var E=this.$target.scrollTop(),S=this.$element.offset(),B=this.$target.height();if(null!=m&&"top"==this.affixed)return m>E&&"top";if("bottom"==this.affixed)return null!=m?!(E+this.unpin<=S.top)&&"bottom":!(d-w>=E+B)&&"bottom";var J=null==this.affixed;return null!=m&&m>=E?"top":null!=w&&(J?E:S.top)+(J?B:h)>=d-w&&"bottom"},o.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(o.RESET).addClass("affix");var d=this.$target.scrollTop(),h=this.$element.offset();return this.pinnedOffset=h.top-d},o.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},o.prototype.checkPosition=function(){if(this.$element.is(":visible")){var d=this.$element.height(),h=this.options.offset,m=h.top,w=h.bottom,E=t(document.body).height();"object"!=typeof h&&(w=m=h),"function"==typeof m&&(m=h.top(this.$element)),"function"==typeof w&&(w=h.bottom(this.$element));var S=this.getState(E,d,m,w);if(this.affixed!=S){null!=this.unpin&&this.$element.css("top","");var B="affix"+(S?"-"+S:""),J=t.Event(B+".bs.affix");if(this.$element.trigger(J),J.isDefaultPrevented())return;this.affixed=S,this.unpin="bottom"==S?this.getPinnedOffset():null,this.$element.removeClass(o.RESET).addClass(B).trigger(B.replace("affix","affixed")+".bs.affix")}"bottom"==S&&this.$element.offset({top:E-d-w})}};var g=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=o,t.fn.affix.noConflict=function(){return t.fn.affix=g,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var d=t(this),h=d.data();h.offset=h.offset||{},null!=h.offsetBottom&&(h.offset.bottom=h.offsetBottom),null!=h.offsetTop&&(h.offset.top=h.offsetTop),n.call(d,h)})})}(jQuery),function(t){"use strict";function n(h){var m,w=h.attr("data-target")||(m=h.attr("href"))&&m.replace(/.*(?=#[^\s]+$)/,"");return t(w)}function o(h){return this.each(function(){var m=t(this),w=m.data("bs.collapse"),E=t.extend({},g.DEFAULTS,m.data(),"object"==typeof h&&h);!w&&E.toggle&&/show|hide/.test(h)&&(E.toggle=!1),w||m.data("bs.collapse",w=new g(this,E)),"string"==typeof h&&w[h]()})}var g=function(h,m){this.$element=t(h),this.options=t.extend({},g.DEFAULTS,m),this.$trigger=t('[data-toggle="collapse"][href="#'+h.id+'"],[data-toggle="collapse"][data-target="#'+h.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};g.VERSION="3.3.2",g.TRANSITION_DURATION=350,g.DEFAULTS={toggle:!0},g.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},g.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var h,m=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(m&&m.length&&(h=m.data("bs.collapse"),h&&h.transitioning))){var w=t.Event("show.bs.collapse");if(this.$element.trigger(w),!w.isDefaultPrevented()){m&&m.length&&(o.call(m,"hide"),h||m.data("bs.collapse",null));var E=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[E](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var S=function(){this.$element.removeClass("collapsing").addClass("collapse in")[E](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return S.call(this);var B=t.camelCase(["scroll",E].join("-"));this.$element.one("bsTransitionEnd",t.proxy(S,this)).emulateTransitionEnd(g.TRANSITION_DURATION)[E](this.$element[0][B])}}}},g.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var h=t.Event("hide.bs.collapse");if(this.$element.trigger(h),!h.isDefaultPrevented()){var m=this.dimension();this.$element[m](this.$element[m]()),this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var w=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[m](0).one("bsTransitionEnd",t.proxy(w,this)).emulateTransitionEnd(g.TRANSITION_DURATION):w.call(this)}}},g.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},g.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(h,m){var w=t(m);this.addAriaAndCollapsedClass(n(w),w)},this)).end()},g.prototype.addAriaAndCollapsedClass=function(h,m){var w=h.hasClass("in");h.attr("aria-expanded",w),m.toggleClass("collapsed",!w).attr("aria-expanded",w)};var d=t.fn.collapse;t.fn.collapse=o,t.fn.collapse.Constructor=g,t.fn.collapse.noConflict=function(){return t.fn.collapse=d,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(h){var m=t(this);m.attr("data-target")||h.preventDefault();var w=n(m),S=w.data("bs.collapse")?"toggle":m.data();o.call(w,S)})}(jQuery),function(t){"use strict";function n(d,h){this.$body=t(document.body),this.$scrollElement=t(t(d).is(document.body)?window:d),this.options=t.extend({},n.DEFAULTS,h),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function o(d){return this.each(function(){var h=t(this),m=h.data("bs.scrollspy");m||h.data("bs.scrollspy",m=new n(this,"object"==typeof d&&d)),"string"==typeof d&&m[d]()})}n.VERSION="3.3.2",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var d=this,h="offset",m=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(h="position",m=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var w=t(this),E=w.data("target")||w.attr("href"),S=/^#./.test(E)&&t(E);return S&&S.length&&S.is(":visible")&&[[S[h]().top+m,E]]||null}).sort(function(w,E){return w[0]-E[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},n.prototype.process=function(){var d,h=this.$scrollElement.scrollTop()+this.options.offset,m=this.getScrollHeight(),w=this.options.offset+m-this.$scrollElement.height(),E=this.offsets,S=this.targets,B=this.activeTarget;if(this.scrollHeight!=m&&this.refresh(),h>=w)return B!=(d=S[S.length-1])&&this.activate(d);if(B&&h<E[0])return this.activeTarget=null,this.clear();for(d=E.length;d--;)B!=S[d]&&h>=E[d]&&(void 0===E[d+1]||h<=E[d+1])&&this.activate(S[d])},n.prototype.activate=function(d){this.activeTarget=d,this.clear();var m=t(this.selector+'[data-target="'+d+'"],'+this.selector+'[href="'+d+'"]').parents("li").addClass("active");m.parent(".dropdown-menu").length&&(m=m.closest("li.dropdown").addClass("active")),m.trigger("activate.bs.scrollspy")},n.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var g=t.fn.scrollspy;t.fn.scrollspy=o,t.fn.scrollspy.Constructor=n,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=g,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var d=t(this);o.call(d,d.data())})})}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(o){var g=!1,d=this;return t(this).one("bsTransitionEnd",function(){g=!0}),setTimeout(function(){g||t(d).trigger(t.support.transition.end)},o),this},t(function(){t.support.transition=function n(){var o=document.createElement("bootstrap"),g={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var d in g)if(void 0!==o.style[d])return{end:g[d]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(o){return t(o.target).is(this)?o.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),function(){function t(x,C){return(C||"")+" (SystemJS Error#"+x+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+x+")"}var h,n=typeof Symbol<"u",o=typeof self<"u",g=typeof document<"u",d=o?self:global;if(g){var m=document.querySelector("base[href]");m&&(h=m.href)}if(!h&&typeof location<"u"){var w=(h=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(h=h.slice(0,w+1))}var E=/\\/g;function S(x,C){if(-1!==x.indexOf("\\")&&(x=x.replace(E,"/")),"/"===x[0]&&"/"===x[1])return C.slice(0,C.indexOf(":")+1)+x;if("."===x[0]&&("/"===x[1]||"."===x[1]&&("/"===x[2]||2===x.length&&(x+="/"))||1===x.length&&(x+="/"))||"/"===x[0]){var N,O=C.slice(0,C.indexOf(":")+1);if(N="/"===C[O.length+1]?"file:"!==O?(N=C.slice(O.length+2)).slice(N.indexOf("/")+1):C.slice(8):C.slice(O.length+("/"===C[O.length])),"/"===x[0])return C.slice(0,C.length-N.length-1)+x;for(var R=N.slice(0,N.lastIndexOf("/")+1)+x,X=[],xt=-1,pt=0;pt<R.length;pt++)-1!==xt?"/"===R[pt]&&(X.push(R.slice(xt,pt+1)),xt=-1):"."===R[pt]?"."!==R[pt+1]||"/"!==R[pt+2]&&pt+2!==R.length?"/"===R[pt+1]||pt+1===R.length?pt+=1:xt=pt:(X.pop(),pt+=2):xt=pt;return-1!==xt&&X.push(R.slice(xt)),C.slice(0,C.length-N.length)+X.join("")}}function B(x,C){return S(x,C)||(-1!==x.indexOf(":")?x:S("./"+x,C))}function J(x,C,O,N,R){for(var X in x){var xt=S(X,O)||X,pt=x[X];if("string"==typeof pt){var vt=lt(N,S(pt,O)||pt,R);vt?C[xt]=vt:U("W1",X,pt,"bare specifier did not resolve")}}}function z(x,C,O){var N;for(N in x.imports&&J(x.imports,O.imports,C,O,null),x.scopes||{}){var R=B(N,C);J(x.scopes[N],O.scopes[R]||(O.scopes[R]={}),C,O,R)}for(N in x.depcache||{})O.depcache[B(N,C)]=x.depcache[N];for(N in x.integrity||{})O.integrity[B(N,C)]=x.integrity[N]}function q(x,C){if(C[x])return x;var O=x.length;do{var N=x.slice(0,O+1);if(N in C)return N}while(-1!==(O=x.lastIndexOf("/",O-1)))}function V(x,C){var O=q(x,C);if(O){var N=C[O];if(null===N)return;if(!(x.length>O.length&&"/"!==N[N.length-1]))return N+x.slice(O.length);U("W2",O,N,"should have a trailing '/'")}}function U(x,C,O,N){console.warn(t(x,"Package target "+N+", resolving target '"+O+"' for "+C))}function lt(x,C,O){for(var N=x.scopes,R=O&&q(O,N);R;){var X=V(C,N[R]);if(X)return X;R=q(R.slice(0,R.lastIndexOf("/")),N)}return V(C,x.imports)||-1!==C.indexOf(":")&&C}var Et=n&&Symbol.toStringTag,yt=n?Symbol():"@";function $t(){this[yt]={}}var P,j=$t.prototype;function a(x){return x.id}function Q(x,C,O,N){if(x.onload(O,C.id,C.d&&C.d.map(a),!!N),O)throw O}function G(x,C,O){var N=x[yt][C];if(N)return N;var R=[],X=Object.create(null);Et&&Object.defineProperty(X,Et,{value:"Module"});var xt=Promise.resolve().then(function(){return x.instantiate(C,O)}).then(function(vt){if(!vt)throw Error(t(2,"Module "+C+" did not instantiate"));var Ot=vt[1](function Xt(wt,rt){N.h=!0;var _t=!1;if("string"==typeof wt)(!(wt in X)||X[wt]!==rt)&&(X[wt]=rt,_t=!0);else{for(var Ht in wt)rt=wt[Ht],(!(Ht in X)||X[Ht]!==rt)&&(X[Ht]=rt,_t=!0);wt&&wt.__esModule&&(X.__esModule=wt.__esModule)}if(_t)for(var Pt=0;Pt<R.length;Pt++){var Dt=R[Pt];Dt&&Dt(X)}return rt},2===vt[1].length?{import:function(wt){return x.import(wt,C)},meta:x.createContext(C)}:void 0);return N.e=Ot.execute||function(){},[vt[0],Ot.setters||[]]},function(vt){throw N.e=null,N.er=vt,Q(x,N,vt,!0),vt}),pt=xt.then(function(vt){return Promise.all(vt[0].map(function(Xt,Ot){var wt=vt[1][Ot];return Promise.resolve(x.resolve(Xt,C)).then(function(rt){var _t=G(x,rt,C);return Promise.resolve(_t.I).then(function(){return wt&&(_t.i.push(wt),(_t.h||!_t.I)&&wt(_t.n)),_t})})})).then(function(Xt){N.d=Xt})});return N=x[yt][C]={id:C,i:R,n:X,I:xt,L:pt,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function it(x,C,O,N){if(!N[C.id])return N[C.id]=!0,Promise.resolve(C.L).then(function(){return(!C.p||null===C.p.e)&&(C.p=O),Promise.all(C.d.map(function(R){return it(x,R,O,N)}))}).catch(function(R){throw C.er||(C.e=null,Q(x,C,R,!1)),R})}j.import=function(x,C){var O=this;return Promise.resolve(O.prepareImport()).then(function(){return O.resolve(x,C)}).then(function(N){var R=G(O,N);return R.C||function K(x,C){return C.C=it(x,C,C,{}).then(function(){return ct(x,C,{})}).then(function(){return C.n})}(O,R)})},j.createContext=function(x){var C=this;return{url:x,resolve:function(O,N){return Promise.resolve(C.resolve(O,N||x))}}},j.onload=function(){},j.register=function(x,C){P=[x,C]},j.getRegister=function(){var x=P;return P=void 0,x};var ft=Object.freeze(Object.create(null));function ct(x,C,O){if(!O[C.id]){if(O[C.id]=!0,!C.e){if(C.er)throw C.er;return C.E?C.E:void 0}var R,N=C.e;return C.e=null,C.d.forEach(function(xt){try{var pt=ct(x,xt,O);pt&&(R=R||[]).push(pt)}catch(vt){throw C.er=vt,Q(x,C,vt,!1),vt}}),R?Promise.all(R).then(X):X()}function X(){try{var xt=N.call(ft);if(xt)return xt=xt.then(function(){C.C=C.n,C.E=null,Q(x,C,null,!0)},function(pt){throw C.er=pt,C.E=null,Q(x,C,pt,!0),pt}),C.E=xt;C.C=C.n,C.L=C.I=void 0}catch(pt){throw C.er=pt,pt}finally{Q(x,C,C.er,!0)}}}d.System=new $t;var ut=Promise.resolve(),gt={imports:{},scopes:{},depcache:{},integrity:{}},Rt=g;function ht(){[].forEach.call(document.querySelectorAll("script"),function(x){if(!x.sp)if("systemjs-module"===x.type){if(x.sp=!0,!x.src)return;System.import("import:"===x.src.slice(0,7)?x.src.slice(7):B(x.src,h)).catch(function(O){if(O.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var N=document.createEvent("Event");N.initEvent("error",!1,!1),x.dispatchEvent(N)}return Promise.reject(O)})}else if("systemjs-importmap"===x.type){x.sp=!0;var C=x.src?(System.fetch||fetch)(x.src,{integrity:x.integrity,passThrough:!0}).then(function(O){if(!O.ok)throw Error("Invalid status code: "+O.status);return O.text()}).catch(function(O){return O.message=t("W4","Error fetching systemjs-import map "+x.src)+"\n"+O.message,console.warn(O),"function"==typeof x.onerror&&x.onerror(),"{}"}):x.innerHTML;ut=ut.then(function(){return C}).then(function(O){!function Tt(x,C,O){var N={};try{N=JSON.parse(C)}catch{console.warn(Error(t("W5","systemjs-importmap contains invalid JSON")+"\n\n"+C+"\n"))}z(N,O,x)}(gt,O,x.src||h)})}})}if(j.prepareImport=function(x){return(Rt||x)&&(ht(),Rt=!1),ut},g&&(ht(),window.addEventListener("DOMContentLoaded",ht)),j.addImportMap=function(x,C){z(x,C||h,gt)},g){window.addEventListener("error",function(x){ce=x.filename,de=x.error});var Vt=location.origin}j.createScript=function(x){var C=document.createElement("script");C.async=!0,x.indexOf(Vt+"/")&&(C.crossOrigin="anonymous");var O=gt.integrity[x];return O&&(C.integrity=O),C.src=x,C};var Lt,jt,ce,de,ee={},oe=j.register;j.register=function(x,C){if(g&&"loading"===document.readyState&&"string"!=typeof x){var O=document.querySelectorAll("script[src]"),N=O[O.length-1];if(N){Lt=x;var R=this;jt=setTimeout(function(){ee[N.src]=[x,C],R.import(N.src)})}}else Lt=void 0;return oe.call(this,x,C)},j.instantiate=function(x,C){var O=ee[x];if(O)return delete ee[x],O;var N=this;return Promise.resolve(j.createScript(x)).then(function(R){return new Promise(function(X,xt){R.addEventListener("error",function(){xt(Error(t(3,"Error loading "+x+(C?" from "+C:""))))}),R.addEventListener("load",function(){if(document.head.removeChild(R),ce===x)xt(de);else{var pt=N.getRegister(x);pt&&pt[0]===Lt&&clearTimeout(jt),X(pt)}}),document.head.appendChild(R)})})},j.shouldFetch=function(){return!1},typeof fetch<"u"&&(j.fetch=fetch);var Wt=j.instantiate,re=/^(text|application)\/(x-)?javascript(;|$)/;j.instantiate=function(x,C){var O=this;return this.shouldFetch(x)?this.fetch(x,{credentials:"same-origin",integrity:gt.integrity[x]}).then(function(N){if(!N.ok)throw Error(t(7,N.status+" "+N.statusText+", loading "+x+(C?" from "+C:"")));var R=N.headers.get("content-type");if(!R||!re.test(R))throw Error(t(4,'Unknown Content-Type "'+R+'", loading '+x+(C?" from "+C:"")));return N.text().then(function(X){return X.indexOf("//# sourceURL=")<0&&(X+="\n//# sourceURL="+x),(0,eval)(X),O.getRegister(x)})}):Wt.apply(this,arguments)},j.resolve=function(x,C){return lt(gt,S(x,C=C||h)||x,C)||function pe(x,C){throw Error(t(8,"Unable to resolve bare specifier '"+x+(C?"' from "+C:"'")))}(x,C)};var qt=j.instantiate;j.instantiate=function(x,C){var O=gt.depcache[x];if(O)for(var N=0;N<O.length;N++)G(this,this.resolve(O[N],x),x);return qt.call(this,x,C)},o&&"function"==typeof importScripts&&(j.instantiate=function(x){var C=this;return Promise.resolve().then(function(){return importScripts(x),C.getRegister(x)})}),function(x){var O,N,R,C=x.System.constructor.prototype,pt=C.import;C.import=function(rt,_t){return function xt(){for(var rt in O=N=void 0,x)wt(rt)||(O?N||(N=rt):O=rt,R=rt)}(),pt.call(this,rt,_t)};var vt=[[],function(){return{}}],Xt=C.getRegister;C.getRegister=function(){var rt=Xt.call(this);if(rt)return rt;var Ht,_t=function X(rt){var Ht,Pt,_t=0;for(var Dt in x)if(!wt(Dt)){if(0===_t&&Dt!==O||1===_t&&Dt!==N)return Dt;Ht?(R=Dt,Pt=rt&&Pt||Dt):Ht=Dt===R,_t++}return Pt}(this.firstGlobalProp);if(!_t)return vt;try{Ht=x[_t]}catch{return vt}return[[],function(Pt){return{execute:function(){Pt(Ht),Pt({default:Ht,__useDefault:!0})}}}]};var Ot=typeof navigator<"u"&&-1!==navigator.userAgent.indexOf("Trident");function wt(rt){return!x.hasOwnProperty(rt)||!isNaN(rt)&&rt<x.length||Ot&&x[rt]&&typeof window<"u"&&x[rt].parent===window}}(typeof self<"u"?self:global),function(x){var C=x.System.constructor.prototype,O=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/,N=C.shouldFetch.bind(C);C.shouldFetch=function(vt){return N(vt)||O.test(vt)};var R=/^application\/json(;|$)/,X=/^text\/css(;|$)/,xt=/^application\/wasm(;|$)/,pt=C.fetch;C.fetch=function(vt,Xt){return pt(vt,Xt).then(function(Ot){if(Xt.passThrough||!Ot.ok)return Ot;var wt=Ot.headers.get("content-type");return R.test(wt)?Ot.json().then(function(rt){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(rt)+")}}})"],{type:"application/javascript"}))}):X.test(wt)?Ot.text().then(function(rt){return rt=rt.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,function(_t,Ht,Pt,Dt){return"url("+Ht+B(Pt||Dt,vt)+Ht+")"}),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(rt)+');e("default",s)}}})'],{type:"application/javascript"}))}):xt.test(wt)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(Ot):Ot.arrayBuffer().then(WebAssembly.compile)).then(function(rt){x.System.wasmModules||(x.System.wasmModules=Object.create(null)),x.System.wasmModules[vt]=rt;var _t=[],Ht=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(rt).forEach(function(Pt){var Dt=JSON.stringify(Pt.module);-1===_t.indexOf(Dt)&&(_t.push(Dt),Ht.push("function(m){i["+Dt+"]=m}"))}),new Response(new Blob(["System.register(["+_t.join(",")+"],function(e){var i={};return{setters:["+Ht.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(vt)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))}):Ot})}}(typeof self<"u"?self:global);var ae=typeof Symbol<"u"&&Symbol.toStringTag;j.get=function(x){var C=this[yt][x];if(C&&null===C.e&&!C.E)return C.er?null:C.n},j.set=function(x,C){try{new URL(x)}catch{console.warn(Error(t("W3",'"'+x+'" is not a valid URL to set in the module registry')))}var O;ae&&"Module"===C[ae]?O=C:(O=Object.assign(Object.create(null),C),ae&&Object.defineProperty(O,ae,{value:"Module"}));var N=Promise.resolve(O),R=this[yt][x]||(this[yt][x]={id:x,i:[],h:!1,d:[],e:null,er:void 0,E:void 0});return!R.e&&!R.E&&(Object.assign(R,{n:O,I:void 0,L:void 0,C:N}),O)},j.has=function(x){return!!this[yt][x]},j.delete=function(x){var C=this[yt],O=C[x];if(!O||O.p&&null!==O.p.e||O.E)return!1;var N=O.i;return O.d&&O.d.forEach(function(R){var X=R.i.indexOf(O);-1!==X&&R.i.splice(X,1)}),delete C[x],function(){var R=C[x];if(!R||!N||null!==R.e||R.E)return!1;N.forEach(function(X){R.i.push(X),X(R.n)}),N=null}};var je=typeof Symbol<"u"&&Symbol.iterator;j.entries=function(){var N,R,x=this,C=Object.keys(x[yt]),O=0,X={next:function(){for(;void 0!==(R=C[O++])&&void 0===(N=x.get(R)););return{done:void 0===R,value:void 0!==R&&[R,N]}}};return X[je]=function(){return this},X}}(),function(){function t(n,o){return(o||"")+" (SystemJS Error#"+n+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+n+")"}!function(n){function o(){throw Error(t(5,"AMD require not supported."))}var g=["require","exports","module"];n.define=function(h,m,w){var z,q,E="string"==typeof h,S=E?h:null,B=E?m:h,J=E?w:m;if(Array.isArray(B))z=B,q=J;else if("object"==typeof B)z=[],q=function(){return B};else{if("function"!=typeof B)throw Error(t(9,"Invalid call to AMD define()"));z=g,q=B}var V=function d(h,m){for(var w={},E={exports:w},S=[],B=[],J=0,z=0;z<h.length;z++){var q=h[z],V=B.length;"require"===q?(S[z]=o,J++):"module"===q?(S[z]=E,J++):"exports"===q?(S[z]=w,J++):lt(z),J&&(h[V]=q)}J&&(h.length-=J);var U=m;return[h,function(Et){return Et({default:w,__useDefault:!0}),{setters:B,execute:function(){var yt=U.apply(w,S);void 0!==yt&&(E.exports=yt),Et(E.exports),Et("default",E.exports)}}}];function lt(Et){B.push(function(yt){S[Et]=yt.__useDefault?yt.default:yt})}}(z,q);E&&(System.registerRegistry?(System.registerRegistry[S]=V,System.register(S,V[0],V[1])):console.warn(t("W6","Include named-register.js for full named define support"))),System.register(V[0],V[1])},n.define.amd={}}(typeof self<"u"?self:global)}(),function(t){var n=(typeof self<"u"?self:global).System;w(n);var h,m,o=n.constructor.prototype,g=n.constructor,d=function(){g.call(this),w(this)};function w(z){z.registerRegistry=Object.create(null),z.namedRegisterAliases=Object.create(null)}d.prototype=o,n.constructor=d;var E=o.register;o.register=function(z,q,V){if("string"!=typeof z)return E.apply(this,arguments);var U=[q,V];return this.registerRegistry[z]=U,h||(h=U,m=z),Promise.resolve().then(function(){h=null,m=null}),E.apply(this,[q,V])};var S=o.resolve;o.resolve=function(z,q){try{return S.call(this,z,q)}catch(V){if(z in this.registerRegistry)return this.namedRegisterAliases[z]||z;throw V}};var B=o.instantiate;o.instantiate=function(z,q){var V=this.registerRegistry[z];return V?(this.registerRegistry[z]=null,V):B.call(this,z,q)};var J=o.getRegister;o.getRegister=function(z){var q=J.call(this,z);m&&z&&(this.namedRegisterAliases[m]=z);var V=h||q;return h=null,m=null,V}}(),js_cols={global:this,getUid:function(t){return t[js_cols.UID_PROPERTY_]||(t[js_cols.UID_PROPERTY_]=++js_cols.uidCounter_)},removeUid:function(t){"removeAttribute"in t&&t.removeAttribute(js_cols.UID_PROPERTY_);try{delete t[js_cols.UID_PROPERTY_]}catch{}}},js_cols.UID_PROPERTY_="js_cols_uid_"+Math.floor(2147483648*Math.random()).toString(36),js_cols.uidCounter_=0,js_cols.getValues=function(t){if("array"==js_cols.typeOf(t))return t;if(t.getValues)n=t.getValues();else{var g,n=[],o=0;for(g in t)n[o++]=t[g]}return n},js_cols.getKeys=function(t){if(t.getKeys)return t.getKeys();if("array"==js_cols.typeOf(t)){for(var n=[],o=0;o<t.length;o++)n.push(o);return n}if("object"==js_cols.typeOf(t)){var g;for(g in n=[],o=0,t)n[o++]=g;return n}},js_cols.every=function(t,n,o){if("function"==js_cols.typeOf(t.every))return t.every(n,o);if("function"==js_cols.typeOf(t.getValues)){t=t.getValues();for(var g=0;g<t.length;g++)if(!n.call(o,t[g],g,t))return!1;return!0}if("array"==js_cols.typeOf(t)){for(g=0;g<t.length;g++)if(!n.call(o,t[g],g,t))return!1;return!0}if("object"==js_cols.typeOf(t)){for(g in t)if(!n.call(o,t[g],g,t))return!1;return!0}},js_cols.forEach=function(t,n,o){if("function"==js_cols.typeOf(t.forEach))t.forEach(n,o);else if("function"==js_cols.typeOf(t.getValues)){t=t.getValues();for(var g=0;g<t.length;g++)n.call(o,t[g],g,t)}else if("array"==js_cols.typeOf(t))for(g=0;g<t.length;g++)n.call(o,t[g],g,t);else if("object"==js_cols.typeOf(t))for(g in t)n.call(o,t[g],g,t)},js_cols.getCount=function(t){if("function"==typeof t.getCount)return t.getCount();if(t.length&&"number"==typeof t.length)return t.length;var o,n=0;for(o in t)n++;return n},js_cols.contains=function(t,n){if("function"==typeof t.contains)return t.contains(n);if("function"==typeof t.containsValue)return t.containsValue(n);if("array"==js_cols.typeOf(t)){for(var o=0;o<t.length;o++)if(t[o]==n)return!0;return!1}for(o in t)if(t[o]==n)return!0;return!1},js_cols.typeOf=function(t){var n=typeof t;if("object"==n){if(!t)return"null";if(t instanceof Array||!(t instanceof Object)&&"[object Array]"==Object.prototype.toString.call(t)||"number"==typeof t.length&&typeof t.splice<"u"&&typeof t.propertyIsEnumerable<"u"&&!t.propertyIsEnumerable("splice"))return"array";if(!(t instanceof Object||"[object Function]"!=Object.prototype.toString.call(t)&&(typeof t.call>"u"||typeof t.propertyIsEnumerable>"u"||t.propertyIsEnumerable("call"))))return"function"}else if("function"==n&&typeof t.call>"u")return"object";return n},js_cols.inherits=function(t,n){function o(){}o.prototype=n.prototype,t.superClass_=n.prototype,t.prototype=new o,t.prototype.constructor=t},js_cols.LinkedList=function(){this.sentinel={},this.sentinel.next=this.sentinel,this.sentinel.previous=this.sentinel,this.size=0},js_cols.LinkedList.prototype.getCount=function(){return this.size},js_cols.LinkedList.prototype.addFirst=function(t){var n={};n.data=t,n.previous=this.sentinel,n.next=t=this.sentinel.next,t.previous=n,this.sentinel.next=n,this.size++},js_cols.LinkedList.prototype.addLast=function(t){var n={};n.data=t,n.next=this.sentinel,n.previous=t=this.sentinel.previous,t.next=n,this.sentinel.previous=n,this.size++},js_cols.LinkedList.prototype.removeLast=function(){if(this.sentinel.previous==this.sentinel)return null;var t=this.sentinel.previous;return t.previous.next=this.sentinel,this.sentinel.previous=t.previous,this.size--,t.data},js_cols.LinkedList.prototype.removeFirst=function(){if(this.sentinel.next==this.sentinel)return null;var t=this.sentinel.next;return t.next.previous=this.sentinel,this.sentinel.next=t.next,this.size--,t.data},js_cols.LinkedList.prototype.getFirst=function(){return this.sentinel.next==this.sentinel?null:this.sentinel.next.data},js_cols.LinkedList.prototype.getLast=function(){return this.sentinel.previous==this.sentinel?null:this.sentinel.previous.data},js_cols.LinkedList.prototype.removeObject=function(t){for(var n=new js_cols.LinkedList.LinkedListIterator(0,this);n.hasNext();)if(t==n.next())return n.remove(),!0;return!1},js_cols.LinkedList.prototype.remove=function(t){return this.removeObject(t)},js_cols.LinkedList.prototype.removeIndex=function(t){new js_cols.LinkedList.LinkedListIterator(t,this).remove()},js_cols.LinkedList.prototype.add=function(t,n){new js_cols.LinkedList.LinkedListIterator(t-1,this).add(n)},js_cols.LinkedList.prototype.contains=function(t){for(var n=new js_cols.LinkedList.LinkedListIterator(0,this),o=!1;n.hasNext()&&!o;)t==n.next()&&(o=!0);return o},js_cols.LinkedList.prototype.iterator=function(t){return new js_cols.LinkedList.LinkedListIterator(t,this)},js_cols.LinkedList.prototype.toArray=function(){for(var t=[],n=this.iterator(0);n.hasNext();)t.push(n.next());return t},js_cols.LinkedList.prototype.getValues=function(){return this.toArray()},js_cols.LinkedList.prototype.clear=function(){this.sentinel.next=this.sentinel,this.sentinel.previous=this.sentinel,this.size=0},js_cols.LinkedList.prototype.clone=function(){var t=new js_cols.LinkedList;return this.forEach(t.addLast,t),t},js_cols.LinkedList.prototype.isEmpty=function(){return 0==this.size},js_cols.LinkedList.prototype.forEach=function(t,n){for(var o=this.sentinel.next;o!=this.sentinel;o=o.next)t.call(n,o.data,o.data,this)},js_cols.LinkedList.prototype.map=function(t,n){for(var o=[],g=this.sentinel.next;g!=this.sentinel;g=g.next)o.push(t.call(n,g.data,g.data,this));return o},js_cols.LinkedList.prototype.filter=function(t,n){for(var o=[],g=this.sentinel.next;g!=this.sentinel;g=g.next)t.call(n,g.data,g.data,this)&&o.push(g.data);return o},js_cols.LinkedList.prototype.some=function(t,n){for(var o=this.sentinel.next;o!=this.sentinel;o=o.next)if(t.call(n,o.data,o.data,this))return!0;return!1},js_cols.LinkedList.prototype.every=function(t,n){for(var o=this.sentinel.next;o!=this.sentinel;o=o.next)if(!t.call(n,o.data,o.data,this))return!1;return!0},js_cols.LinkedList.prototype.insert=function(t){this.addFirst(t)},js_cols.LinkedList.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.addLast(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.addLast,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.addLast(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.addLast(t[n])},js_cols.LinkedList.prototype.removeAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.removeObject(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.removeObject,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.removeObject(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.removeObject(t[n])},js_cols.LinkedList.prototype.containsAll=function(t){if("array"==js_cols.typeOf(t)){for(var n=0;n<t.length;n++)if(!this.contains(t[n]))return!1;return!0}if("function"==js_cols.typeOf(t.forEach))return t.every(this.contains,this);if("function"==js_cols.typeOf(t.getValues)){for(t=t.getValues(),n=0;n<t.length;n++)if(!this.contains(t[n]))return!1;return!0}if("object"==js_cols.typeOf(t)){for(n in t)if(!this.contains(t[n]))return!1;return!0}},js_cols.LinkedList.LinkedListIterator=function(t,n){if(this.list=n,this.position=this.list.sentinel,t>this.list.size||0>t)startpos=0;else if(this.list.size-t>this.list.size/2)for(i=1;i<=t;i++)this.next();else if(0!=t)for(i=this.list.size+1;i>t;i--)this.previous()},js_cols.LinkedList.LinkedListIterator.prototype.hasNext=function(){return this.position.next!=this.list.sentinel},js_cols.LinkedList.LinkedListIterator.prototype.hasPrevious=function(){return this.position.previous!=this.list.sentinel},js_cols.LinkedList.LinkedListIterator.prototype.next=function(){return this.hasNext()?(this.position=this.position.next,this.position.data):null},js_cols.LinkedList.LinkedListIterator.prototype.previous=function(){return this.hasPrevious()?(this.position=this.position.previous,this.position.data):null},js_cols.LinkedList.LinkedListIterator.prototype.add=function(t){var n={};n.data=t,n.next=this.position.next,this.position.next.previous=n,n.previous=this.position,this.position=this.position.next=n,this.list.size++},js_cols.LinkedList.LinkedListIterator.prototype.remove=function(){if(this.position==this.list.sentinel)return null;var t=this.position;return this.position.previous.next=this.position.next,this.position=this.position.next.previous=this.position.previous,this.list.size--,t.data},js_cols.LinkedList.LinkedListIterator.prototype.set=function(t){return this.position!=this.list.sentinel&&(this.position.data=t,!0)},js_cols.HashMap=function(t,n){this.map_={};var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var g=0;g<o;g+=2)this.insert(arguments[g],arguments[g+1])}else t&&this.insertAll(t)},js_cols.HashMap.prototype.count_=0,js_cols.HashMap.prototype.version_=0,js_cols.HashMap.prototype.getCount=function(){return this.count_},js_cols.HashMap.prototype.getValues=function(){var n,t=[];for(n in this.map_)t.push(this.map_[n].value);return t},js_cols.HashMap.prototype.getKeys=function(){var n,t=[];for(n in this.map_)t.push(this.map_[n].key);return t},js_cols.HashMap.prototype.containsKey=function(t){return t=this.getHash_(t),js_cols.HashMap.hasHash_(this.map_,t)},js_cols.HashMap.prototype.contains=function(t){return this.containsKey(t)},js_cols.HashMap.prototype.containsSwapped=function(t,n){return this.containsKey(n)},js_cols.HashMap.prototype.containsValue=function(t){for(var n in this.map_)if(this.map_[n].value==t)return!0;return!1},js_cols.HashMap.prototype.defaultEquals=function(t,n){return t===n},js_cols.HashMap.prototype.equals=function(t,n){if(!(t instanceof js_cols.HashMap))return!1;if(this===t)return!0;if(this.count_!=t.getCount())return!1;var g,o="function"==js_cols.typeOf(n)?n:this.defaultEquals;for(g in this.map_){var d=this.map_[g].key;if(!o(this.get(d),t.get(d)))return!1}return!0},js_cols.HashMap.prototype.isEmpty=function(){return 0==this.count_},js_cols.HashMap.prototype.clear=function(){this.map_={},this.version_=this.count_=this.count_=0},js_cols.HashMap.prototype.remove=function(t){return t=this.getHash_(t),!!js_cols.HashMap.hasHash_(this.map_,t)&&(delete this.map_[t],this.count_--,this.version_++,!0)},js_cols.HashMap.prototype.removeSwapped=function(t,n){this.remove(n)},js_cols.HashMap.prototype.get=function(t,n){var o=this.getHash_(t);return js_cols.HashMap.hasHash_(this.map_,o)?this.map_[o].value:n},js_cols.HashMap.prototype.insert=function(t,n){var o=this.getHash_(t);js_cols.HashMap.hasHash_(this.map_,o)||(this.count_++,this.version_++);var g={};g.value=n,g.key=t,this.map_[o]=g},js_cols.HashMap.prototype.insertSwapped=function(t,n){this.insert(n,t)},js_cols.HashMap.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.insert(t[n],t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.insertSwapped,this);else if("function"==js_cols.typeOf(t.getValues)&&"function"==js_cols.typeOf(t.getKeys)){var o=t.getValues();for(t=t.getKeys(),n=0;n<t.length;n++)this.insert(t[n],o[n])}else if("object"==js_cols.typeOf(t))for(n in t)this.insert(n,t[n])},js_cols.HashMap.prototype.removeAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.remove(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.removeSwapped,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.remove(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.remove(t[n])},js_cols.HashMap.prototype.containsAll=function(t){if("array"==js_cols.typeOf(t)){for(var n=0;n<t.length;n++)if(!this.containsKey(t[n]))return!1;return!0}if("function"==js_cols.typeOf(t.forEach))return t.every(this.containsSwapped,this);if("function"==js_cols.typeOf(t.getValues)){for(t=t.getValues(),n=0;n<t.length;n++)if(!this.containsKey(t[n]))return!1;return!0}if("object"==js_cols.typeOf(t)){for(n in t)if(!this.containsKey(n))return!1;return!0}},js_cols.HashMap.prototype.clone=function(){return new js_cols.HashMap(this)},js_cols.HashMap.prototype.forEach=function(t,n){for(var o in this.map_)t.call(n,this.map_[o].value,this.map_[o].key,this)},js_cols.HashMap.prototype.some=function(t,n){for(var o in this.map_)if(t.call(n,this.map_[o].value,this.map_[o].key,this))return!0;return!1},js_cols.HashMap.prototype.every=function(t,n){for(var o in this.map_)if(!t.call(n,this.map_[o].value,this.map_[o].key,this))return!1;return!0},js_cols.HashMap.prototype.map=function(t,n){var g,o=[];for(g in this.map_)o.push(t.call(n,this.map_[g].value,this.map_[g].key,this));return o},js_cols.HashMap.prototype.filter=function(t,n){var g,o=new js_cols.HashMap;for(g in this.map_)t.call(n,this.map_[g].value,this.map_[g].key,this)&&o.insert(this.map_[g].key,this.map_[g].value);return o},js_cols.HashMap.prototype.intersection=function(t){var n=js_cols.getCount(t);if(!(t instanceof js_cols.HashMap)&&5<n&&((n=new js_cols.HashMap).insertAll(t),t=n),n=new js_cols.HashMap,"function"==js_cols.typeOf(t.get))for(var o in this.map_)t.get.call(t,this.map_[o].key)==this.map_[o].value&&n.insert(this.map_[o].key,this.map_[o].value);else for(o in this.map_)js_cols.contains.call(t,t,this.map_[o].key)&&n.insert(this.map_[o].key,this.map_[o].value);return n},js_cols.HashMap.prototype.isSubmapOf=function(t){var n=js_cols.getCount(t);if(this.getCount()>n)return!1;if(!(t instanceof js_cols.HashMap)&&5<n&&((n=new js_cols.HashMap).insertAll(t),t=n),n=0,"function"==js_cols.typeOf(t.get))for(var o in this.map_)t.get.call(t,this.map_[o].key)==this.map_[o].value&&n++;else for(o in this.map_)js_cols.contains.call(t,t,this.map_[o].key)&&n++;return n==this.getCount()},js_cols.HashMap.prototype.transpose=function(){var n,t=new js_cols.HashMap;for(n in this.map_)t.insert(this.map_[n].value,this.map_[n].key);return t},js_cols.HashMap.prototype.getHash_=function(t){var n=typeof t;return"object"==n&&t||"function"==n?"o"+js_cols.getUid(t):n.substr(0,1)+t},js_cols.HashMap.hasHash_=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},js_cols.HashMultiMap=function(t,n){this.map_={};var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var g=0;g<o;g+=2)this.insert(arguments[g],arguments[g+1])}else t&&this.insertAll(t)},js_cols.HashMultiMap.prototype.count_=0,js_cols.HashMultiMap.prototype.getCount=function(){return this.count_},js_cols.HashMultiMap.prototype.getValues=function(){var n,t=[];for(n in this.map_)for(var o=this.map_[n];o;)t.push(o.value),o=o.next;return t},js_cols.HashMultiMap.prototype.getKeys=function(){var n,t=[];for(n in this.map_)for(var o=this.map_[n];o;)t.push(o.key),o=o.next;return t},js_cols.HashMultiMap.prototype.containsKey=function(t){var n=this.getHash_(t);return js_cols.HashMultiMap.hasHash_(this.map_,n)?this.getAllValuesForKey(t).length:0},js_cols.HashMultiMap.prototype.contains=function(t){return this.containsKey(t)},js_cols.HashMultiMap.prototype.containsSwapped=function(t,n){return this.containsKey(n)},js_cols.HashMultiMap.prototype.containsValue=function(t){for(var n in this.map_)if(this.map_[n].value==t)return!0;return!1},js_cols.HashMultiMap.prototype.equals=function(t,n){if(!(t instanceof js_cols.HashMultiMap))return!1;if(this===t)return!0;if(this.count_!=t.getCount())return!1;var g,o="function"==js_cols.typeOf(n)?n:this.defaultEquals;for(g in this.map_){var d=this.map_[g].key;if(thisVals=this.getAllValuesForKey(d),otherVals=t.getAllValuesForKey(d),thisVals.length!=otherVals.length)return!1;for(d=0;d<thisVals.length;d++)if(!o(thisVals[d],otherVals[d]))return!1}return!0},js_cols.HashMultiMap.prototype.defaultEquals=function(t,n){return t===n},js_cols.HashMultiMap.prototype.isEmpty=function(){return 0==this.count_},js_cols.HashMultiMap.prototype.clear=function(){this.map_={},this.count_=this.count_=0},js_cols.HashMultiMap.prototype.remove=function(t){if(t=this.getHash_(t),js_cols.HashMultiMap.hasHash_(this.map_,t)){var n=this.map_[t];return n.next?this.map_[t]=n.next:delete this.map_[t],this.count_--,!0}return!1},js_cols.HashMultiMap.prototype.removeAllValuesForKey=function(t){for(var n=this.remove(t),o=n;n;)n=this.remove(t);return o},js_cols.HashMultiMap.prototype.get=function(t,n){var o=this.getHash_(t);return js_cols.HashMultiMap.hasHash_(this.map_,o)?this.map_[o].value:n},js_cols.HashMultiMap.prototype.getAllValuesForKey=function(t,n){var o=this.getHash_(t),g=[];if(js_cols.HashMultiMap.hasHash_(this.map_,o)){for(o=this.map_[o];o;)g.push(o.value),o=o.next;return g}return n},js_cols.HashMultiMap.prototype.insert=function(t,n){var o=this.getHash_(t);this.map_[o]=js_cols.HashMultiMap.hasHash_(this.map_,o)?{key:t,value:n,next:this.map_[o]}:{key:t,value:n},this.count_++},js_cols.HashMultiMap.prototype.insertSwapped=function(t,n){this.insert(n,t)},js_cols.HashMultiMap.prototype.insertValuesForKey=function(t,n){for(var o=0;o<n.length;o++)this.insert(t,n[o])},js_cols.HashMultiMap.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.insert(t[n],t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.insertSwapped,this);else if("function"==js_cols.typeOf(t.getValues)&&"function"==js_cols.typeOf(t.getKeys)){var o=t.getValues();for(t=t.getKeys(),n=0;n<t.length;n++)this.insert(t[n],o[n])}else if("object"==js_cols.typeOf(t))for(n in t)this.insert(n,t[n])},js_cols.HashMultiMap.prototype.removeAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.removeAllValuesForKey(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.removeAllValuesForKey,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.removeAllValuesForKey(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.removeAllValuesForKey(t[n])},js_cols.HashMultiMap.prototype.containsAll=function(t){if("array"==js_cols.typeOf(t)){for(var n=0;n<t.length;n++)if(!this.containsKey(t[n]))return!1;return!0}if("function"==js_cols.typeOf(t.forEach))return t.every(this.containsSwapped,this);if("function"==js_cols.typeOf(t.getValues)){for(t=t.getValues(),n=0;n<t.length;n++)if(!this.containsKey(t[n]))return!1;return!0}if("object"==js_cols.typeOf(t)){for(n in t)if(!this.contains(n))return!1;return!0}},js_cols.HashMultiMap.prototype.forEach=function(t,n){for(var o in this.map_)for(var g=this.map_[o];g;)t.call(n,g.value,g.key,this),g=g.next},js_cols.HashMultiMap.prototype.some=function(t,n){for(var o in this.map_)for(var g=this.map_[o];g;){if(t.call(n,g.value,g.key,this))return!0;g=g.next}return!1},js_cols.HashMultiMap.prototype.every=function(t,n){for(var o in this.map_)for(var g=this.map_[o];g;){if(!t.call(n,g.value,g.key,this))return!1;g=g.next}return!0},js_cols.HashMultiMap.prototype.map=function(t,n){var g,o=[];for(g in this.map_)for(var d=this.map_[g];d;)o.push(t.call(n,d.value,d.key,this)),d=d.next;return o},js_cols.HashMultiMap.prototype.filter=function(t,n){var g,o=new js_cols.HashMultiMap;for(g in this.map_)for(var d=this.map_[g];d;)t.call(n,d.value,d.key,this)&&o.insert(d.key,d.value),d=d.next;return o},js_cols.HashMultiMap.prototype.clone=function(){return new js_cols.HashMultiMap(this)},js_cols.HashMultiMap.prototype.getHash_=function(t){var n=typeof t;return"object"==n&&t||"function"==n?"o"+js_cols.getUid(t):n.substr(0,1)+t},js_cols.HashMultiMap.hasHash_=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},js_cols.HashBag=function(t,n){this.map_=new js_cols.HashMultiMap;var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var g=0;g<o;g+=2)this.insert(arguments[g],arguments[g+1])}else t&&this.insertAll(t)},js_cols.HashBag.prototype.insert=function(t){this.map_.insert(t,t)},js_cols.HashBag.prototype.insertAll=function(t){this.map_.insertAll(t)},js_cols.HashBag.prototype.getCount=function(){return this.map_.getCount()},js_cols.HashBag.prototype.removeAll=function(t){this.map_.removeAll(t)},js_cols.HashBag.prototype.remove=function(t){return this.map_.remove(t)},js_cols.HashBag.prototype.clear=function(){this.map_.clear()},js_cols.HashBag.prototype.isEmpty=function(){return this.map_.isEmpty()},js_cols.HashBag.prototype.contains=function(t){return this.map_.containsKey(t)},js_cols.HashBag.prototype.containsAll=function(t){return this.map_.containsAll(t)},js_cols.HashBag.prototype.intersection=function(t){var o,n=js_cols.getCount(t);for(o in!(t instanceof js_cols.HashBag)&&5<n&&((n=new js_cols.HashBag).insertAll(t),t=n),n=new js_cols.HashBag,this.map_.map_)js_cols.contains.call(t,t,this.map_.map_[o].key)&&n.insert(this.map_.map_[o].value);return n},js_cols.HashBag.prototype.isSubsetOf=function(t){var n=js_cols.getCount(t);return!(this.getCount()>n)&&(!(t instanceof js_cols.HashBag)&&5<n&&(t=new js_cols.HashBag(t)),this.every(function(o){return js_cols.contains.call(t,t,o)}))},js_cols.HashBag.prototype.getValues=function(){return this.map_.getValues()},js_cols.HashBag.prototype.clone=function(){return new js_cols.HashBag(this)},js_cols.HashBag.prototype.forEach=function(t,n){this.map_.forEach(t,n)},js_cols.HashBag.prototype.some=function(t,n){return this.map_.some(t,n)},js_cols.HashBag.prototype.every=function(t,n){return this.map_.every(t,n)},js_cols.HashBag.prototype.filter=function(t,n){return new this.map_.filter(t,n).getValues()},js_cols.HashBag.prototype.map=function(t,n){return this.map_.map(t,n)},js_cols.HashBag.prototype.equals=function(t){return t instanceof js_cols.HashBag&&this.map_.equals(t.map_)},js_cols.HashSet=function(t){this.map_=new js_cols.HashMap,t&&this.insertAll(t)},js_cols.HashSet.prototype.insert=function(t){this.map_.insert(t,t)},js_cols.HashSet.prototype.insertAll=function(t){this.map_.insertAll(t)},js_cols.HashSet.prototype.getCount=function(){return this.map_.getCount()},js_cols.HashSet.prototype.removeAll=function(t){this.map_.removeAll(t)},js_cols.HashSet.prototype.remove=function(t){return this.map_.remove(t)},js_cols.HashSet.prototype.clear=function(){this.map_.clear()},js_cols.HashSet.prototype.isEmpty=function(){return this.map_.isEmpty()},js_cols.HashSet.prototype.contains=function(t){return this.map_.containsKey(t)},js_cols.HashSet.prototype.containsAll=function(t){return this.map_.containsAll(t)},js_cols.HashSet.prototype.intersection=function(t){return this.map_.intersection(t)},js_cols.HashSet.prototype.getValues=function(){return this.map_.getValues()},js_cols.HashSet.prototype.clone=function(){return new js_cols.HashSet(this)},js_cols.HashSet.prototype.forEach=function(t,n){this.map_.forEach(t,n)},js_cols.HashSet.prototype.some=function(t,n){return this.map_.some(t,n)},js_cols.HashSet.prototype.every=function(t,n){return this.map_.every(t,n)},js_cols.HashSet.prototype.map=function(t,n){return this.map_.map(t,n)},js_cols.HashSet.prototype.filter=function(t,n){return new this.map_.filter(t,n).getValues()},js_cols.HashSet.prototype.equals=function(t){return this.getCount()==js_cols.getCount(t)&&this.isSubsetOf(t)},js_cols.HashSet.prototype.isSubsetOf=function(t){return this.map_.isSubmapOf(t)},js_cols.IntervalHeap=function(t){this.heap=[],this.count=this.n=0,this.compare=t||this.default_compare},js_cols.IntervalHeap.prototype.getCount=function(){return this.count},js_cols.IntervalHeap.prototype.clear=function(){this.heap=[],this.n=this.count=0},js_cols.IntervalHeap.prototype.isEmpty=function(){return 0==this.getCount()},js_cols.IntervalHeap.prototype.clone=function(){var t=new js_cols.IntervalHeap(this.compare);if(this.isEmpty())return t;for(var n=[],o=Math.floor(this.getCount()/2),g=1;g<=o;g++)this.heap[g]&&(n[g]={left:{},right:{}},n[g].left.key=this.heap[g].left.key,n[g].left.value=this.heap[g].left.value,n[g].right.key=this.heap[g].right.key,n[g].right.value=this.heap[g].right.value);return o++,this.heap[o]&&(n[o]={left:{}},n[o].left.key=this.heap[o].left.key,n[o].left.value=this.heap[o].left.value),t.heap=n,t.n=this.n,t.count=this.count,t},js_cols.IntervalHeap.prototype.getKeys=function(){var t=[];if(this.isEmpty())return t;for(var n=Math.floor(this.getCount()/2),o=1;o<=n;o++)this.heap[o]&&(t.push(this.heap[o].left.key),t.push(this.heap[o].right.key));return n++,this.heap[n]&&t.push(this.heap[n].left.key),t},js_cols.IntervalHeap.prototype.getValues=function(){var t=[];if(this.isEmpty())return t;for(var n=Math.floor(this.getCount()/2),o=1;o<=n;o++)this.heap[o]&&(t.push(this.heap[o].left.value),t.push(this.heap[o].right.value));return n++,this.heap[n]&&t.push(this.heap[n].left.value),t},js_cols.IntervalHeap.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.insert(t[n],t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.insertSwapped,this);else if("function"==js_cols.typeOf(t.getValues)&&"function"==js_cols.typeOf(t.getKeys)){var o=t.getValues();for(t=t.getKeys(),n=0;n<t.length;n++)this.insert(t[n],o[n])}else if("object"==js_cols.typeOf(t))for(n in t)this.insert(n,t[n])},js_cols.IntervalHeap.prototype.insertSwapped=function(t,n){this.insert(n,t)},js_cols.IntervalHeap.prototype.min=function(){return 0<this.n?this.heap[1].left.value:null},js_cols.IntervalHeap.prototype.max=function(){return 0<this.n&&this.heap[1].right?this.heap[1].right.value:1===this.n?this.heap[1].left.value:null},js_cols.IntervalHeap.prototype.default_compare=function(t,n){return t<n?-1:n<t?1:0},js_cols.IntervalHeap.prototype.insert=function(t,n){var o=new js_cols.IntervalHeap.Handle(t,n,this.n,this);if(0<this.n)if(null==this.heap[this.n].right){var g=this.heap[this.n].left;0>=this.compare(g.key,o.key)?this.heap[this.n].right=o:(this.heap[this.n].left=o,this.heap[this.n].right=g)}else this.n++,o.index=this.n,this.heap[this.n]={},this.heap[this.n].left=o;else this.n++,o.index=this.n,this.heap[this.n]={},this.heap[this.n].left=o;return g=Math.floor(this.n/2),1<this.n&&(0<this.compare(this.heap[g].left.key,this.heap[this.n].left.key)?this.siftUpMin(this.n):(null!=this.heap[this.n].right&&0>this.compare(this.heap[g].right.key,this.heap[this.n].right.key)||0>this.compare(this.heap[g].right.key,this.heap[this.n].left.key))&&this.siftUpMax(this.n)),this.count++,o},js_cols.IntervalHeap.prototype.deleteMin=function(){if(0>=this.n)return null;var t=this.heap[1].left.value;return this.heap[1].left.container=void 0,this.heap[this.n].left.index=1,this.heap[1].left=this.heap[this.n].left,null==this.heap[this.n].right?(this.heap.pop(),this.n--):(this.heap[this.n].left=this.heap[this.n].right,this.heap[this.n].right=null),this.siftDownMin(1),this.count--,t},js_cols.IntervalHeap.prototype.deleteMax=function(){if(0>=this.n)return null;if(null!=this.heap[1].right){var t=this.heap[1].right.value;return this.heap[1].right.container=null,null!=this.heap[this.n].right?(this.heap[this.n].right.index=1,this.heap[1].right=this.heap[this.n].right,this.heap[this.n].right=null):(this.heap[this.n].left.index=1,this.heap[1].right=this.heap[this.n].left,this.heap.pop(),this.n--),this.siftDownMax(1),this.count--,t}return this.deleteMin()},js_cols.IntervalHeap.prototype.changeKey=function(t,n){if(!this.containedInThisQueue(t))return!1;var o=t.index,g=Math.floor(o/2);return this.heap[o].left===t?this.heap[o].left.key=n:this.heap[o].right.key=n,o<this.n||this.heap[o].right?(0<this.compare(this.heap[o].left.key,this.heap[o].right.key)&&this.swapSides(o),1<o&&0<this.compare(this.heap[g].left.key,this.heap[o].left.key)?this.siftUpMin(o):this.siftDownMin(o),1<o&&0>this.compare(this.heap[g].right.key,this.heap[o].right.key)?this.siftUpMax(o):this.siftDownMax(o)):1<o&&0<this.compare(this.heap[g].left.key,this.heap[o].left.key)?this.siftUpMin(o):1<o&&0>this.compare(this.heap[g].right.key,this.heap[o].left.key)&&this.siftUpMax(o),!0},js_cols.IntervalHeap.prototype.remove=function(t){if(!this.containedInThisQueue(t))return!1;var n=t.index,o=!1;return this.heap[n].left==t&&(o=!0),o?(this.heap[n].left.container=null,this.heap[n].left=this.heap[this.n].left,this.heap[n].left.index=n,this.heap[this.n].left=null,this.siftDownMin(n),null==this.heap[this.n].right?(this.heap.pop(),this.n--):this.swapSides(this.n)):(null!=this.heap[this.n].right?(this.heap[n].right.container=null,this.heap[n].right=this.heap[this.n].right,this.heap[n].right.index=n,this.heap[this.n].right=null):(this.heap[n].right.container=null,this.heap[n].right=this.heap[this.n].left,this.heap[n].right.index=n,this.heap[this.n]=null,this.n--),this.siftDownMax(n)),this.count--,!0},js_cols.IntervalHeap.prototype.siftUpMin=function(t){var n=Math.floor(t/2);1==t||0>=this.compare(this.heap[n].left.key,this.heap[t].left.key)||(this.swapLeft(n,t),this.siftUpMin(n))},js_cols.IntervalHeap.prototype.siftDownMin=function(t){if(2*t<=this.n){var n=2*t+1>this.n||!this.heap[2*t+1].left||0>=this.compare(this.heap[2*t].left.key,this.heap[2*t+1].left.key)?2*t:2*t+1;0<this.compare(this.heap[t].left.key,this.heap[n].left.key)&&(this.swapLeft(t,n),this.heap[n].right&&0<this.compare(this.heap[n].left.key,this.heap[n].right.key)&&this.swapSides(n),this.siftDownMin(n))}},js_cols.IntervalHeap.prototype.siftUpMax=function(t){var n=Math.floor(t/2);if(t<this.n||null!=this.heap[this.n].right)1==t||0<=this.compare(this.heap[n].right.key,this.heap[t].right.key)||(this.swapRight(n,t),this.siftUpMax(n));else if(!(1==t||0<=this.compare(this.heap[n].right.key,this.heap[t].left.key))){this.heap[n].right.index=t,this.heap[t].left.index=n;var o=this.heap[n].right;this.heap[n].right=this.heap[t].left,this.heap[t].left=o,this.siftUpMax(n)}},js_cols.IntervalHeap.prototype.siftDownMax=function(t){if(2*t<=this.n){var n=2*t+1>this.n||null==this.heap[2*t+1].right||0<this.compare(this.heap[2*t].right.key,this.heap[2*t+1].right.key)?2*t:2*t+1;null!=this.heap[n].right&&0>this.compare(this.heap[t].right.key,this.heap[n].right.key)&&(this.swapRight(t,n),0<this.compare(this.heap[n].left.key,this.heap[n].right.key)&&this.swapSides(n),this.siftDownMax(n))}},js_cols.IntervalHeap.prototype.swapLeft=function(t,n){this.heap[t].left.index=n,this.heap[n].left.index=t;var o=this.heap[t].left;this.heap[t].left=this.heap[n].left,this.heap[n].left=o},js_cols.IntervalHeap.prototype.swapRight=function(t,n){this.heap[t].right.index=n,this.heap[n].right.index=t;var o=this.heap[t].right;this.heap[t].right=this.heap[n].right,this.heap[n].right=o},js_cols.IntervalHeap.prototype.swapSides=function(t){var n=this.heap[t].left;this.heap[t].left=this.heap[t].right,this.heap[t].right=n},js_cols.IntervalHeap.prototype.containedInThisQueue=function(t){return t.container===this},js_cols.IntervalHeap.Handle=function(t,n,o,g){this.key=t,this.value=n,this.index=o,this.container=g},js_cols.LinkedHashMap=function(t,n){this.list_=new js_cols.LinkedList,this.augmentList(),this.map_=new js_cols.HashMap,this.maxCount_=t,this.isCache_=n},js_cols.LinkedHashMap.prototype.augmentList=function(){this.list_.insertAfter=function(t,n){n.next=t.next,n.previous=t,t.next.previous=n,t.next=n,this.size++},this.list_.insertBefore=function(t,n){n.next=t,n.previous=t.previous,t.previous.next=n,t.previous=n,this.size++},this.list_.removeFromList=function(t){t.previous.next=t.next,t.next.previous=t.previous,this.size--}},js_cols.LinkedHashMap.prototype.findAndMoveToTop_=function(t){return(t=this.map_.get(t))&&this.isCache_&&(this.list_.removeFromList(t),this.insert_(t)),t},js_cols.LinkedHashMap.prototype.insert=function(t,n){var o=this.findAndMoveToTop_(t);o?o.data=n:(this.map_.insert(t,o={key:t,data:n}),this.insert_(o))},js_cols.LinkedHashMap.prototype.insertSwapped=function(t,n){this.insert(n,t)},js_cols.LinkedHashMap.prototype.insertAfter=function(t,n,o){return!(!(t=this.map_.get(t))||this.isCache_||(this.list_.insertAfter(t,o={key:n,data:o}),this.map_.insert(n,o),null!=this.maxCount_&&this.truncate_(this.maxCount_),0))},js_cols.LinkedHashMap.prototype.insertBefore=function(t,n,o){return!(!(t=this.map_.get(t))||this.isCache_||(this.list_.insertBefore(t,o={key:n,data:o}),this.map_.insert(n,o),null!=this.maxCount_&&this.truncate_(this.maxCount_),0))},js_cols.LinkedHashMap.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.insert(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.insertSwapped,this);else if("function"==js_cols.typeOf(t.getValues)&&"function"==js_cols.typeOf(t.getKeys)){var o=t.getValues();for(t=t.getKeys(),n=0;n<t.length;n++)this.insert(t[n],o[n])}else if("object"==js_cols.typeOf(t))for(n in t)this.insert(n,t[n])},js_cols.LinkedHashMap.prototype.removeAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.remove(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.removeSwapped,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.remove(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.remove(t[n])},js_cols.LinkedHashMap.prototype.containsAll=function(t){if("array"==js_cols.typeOf(t)){for(var n=0;n<t.length;n++)if(!this.containsKey(t[n]))return!1;return!0}if("function"==js_cols.typeOf(t.forEach))return t.every(this.containsSwapped,this);if("function"==js_cols.typeOf(t.getValues)){for(t=t.getValues(),n=0;n<t.length;n++)if(!this.containsKey(t[n]))return!1;return!0}if("object"==js_cols.typeOf(t)){for(n in t)if(!this.containsKey(n))return!1;return!0}},js_cols.LinkedHashMap.prototype.get=function(t,n){var o=this.findAndMoveToTop_(t);return o?o.data:n},js_cols.LinkedHashMap.prototype.peekValue=function(t,n){var o=this.map_.get(t);return o?o.data:n},js_cols.LinkedHashMap.prototype.peek=function(){return this.list_.getFirst()},js_cols.LinkedHashMap.prototype.peekLast=function(){return this.list_.getLast()},js_cols.LinkedHashMap.prototype.shift=function(){return this.popNode_(this.list_.sentinel.next)},js_cols.LinkedHashMap.prototype.pop=function(){return this.popNode_(this.list_.sentinel.previous)},js_cols.LinkedHashMap.prototype.remove=function(t){return!!(t=this.map_.get(t))&&(this.removeNode(t),!0)},js_cols.LinkedHashMap.prototype.removeSwapped=function(t,n){this.remove(n)},js_cols.LinkedHashMap.prototype.removeNode=function(t){this.list_.removeFromList(t),this.map_.remove(t.key)},js_cols.LinkedHashMap.prototype.getCount=function(){return this.map_.getCount()},js_cols.LinkedHashMap.prototype.isEmpty=function(){return this.map_.isEmpty()},js_cols.LinkedHashMap.prototype.setMaxCount=function(t){this.maxCount_=t||null,null!=this.maxCount_&&this.truncate_(this.maxCount_)},js_cols.LinkedHashMap.prototype.getValues=function(){return this.list_.getValues()},js_cols.LinkedHashMap.prototype.getKeys=function(){return this.map(function(t,n){return n})},js_cols.LinkedHashMap.prototype.containsValue=function(t){return this.list_.contains(t)},js_cols.LinkedHashMap.prototype.containsKey=function(t){return this.map_.containsKey(t)},js_cols.LinkedHashMap.prototype.contains=function(t){return this.containsKey(t)},js_cols.LinkedHashMap.prototype.containsSwapped=function(t,n){return this.containsKey(n)},js_cols.LinkedHashMap.prototype.clear=function(){this.truncate_(0)},js_cols.LinkedHashMap.prototype.clone=function(){var t=new js_cols.LinkedHashMap(this.maxCount_,this.isCache_);return t.insertAll(this),t},js_cols.LinkedHashMap.prototype.forEach=function(t,n){for(var o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)t.call(n,o.data,o.key,this)},js_cols.LinkedHashMap.prototype.map=function(t,n){for(var o=[],g=this.list_.sentinel.next;g!=this.list_.sentinel;g=g.next)o.push(t.call(n,g.data,g.key,this));return o},js_cols.LinkedHashMap.prototype.filter=function(t,n){for(var o=new js_cols.LinkedHashMap(this.maxCount_,this.isCache_),g=this.list_.sentinel.next;g!=this.list_.sentinel;g=g.next)t.call(n,g.data,g.key,this)&&o.insert(g.key,g.data);return o},js_cols.LinkedHashMap.prototype.some=function(t,n){for(var o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)if(t.call(n,o.data,o.key,this))return!0;return!1},js_cols.LinkedHashMap.prototype.every=function(t,n){for(var o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)if(!t.call(n,o.data,o.key,this))return!1;return!0},js_cols.LinkedHashMap.prototype.intersection=function(t){var n=new js_cols.LinkedHashMap(this.maxCount_,this.isCache_);if("function"==js_cols.typeOf(t.get))for(var o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)t.get.call(t,o.key)==o.data&&n.insert(o.key,o.data);else for(o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)js_cols.contains.call(t,t,o.key)&&n.insert(o.key,o.data);return n},js_cols.LinkedHashMap.prototype.isSubmapOf=function(t){var n=0;if("function"==js_cols.typeOf(t.get))for(var o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)t.get.call(t,o.key)==o.data&&n++;else for(o=this.list_.sentinel.next;o!=this.list_.sentinel;o=o.next)js_cols.contains.call(t,t,o.key)&&n++;return n==this.getCount()},js_cols.LinkedHashMap.prototype.insert_=function(t){this.isCache_?this.list_.insertAfter(this.list_.sentinel,t):this.list_.insertBefore(this.list_.sentinel,t),null!=this.maxCount_&&this.truncate_(this.maxCount_)},js_cols.LinkedHashMap.prototype.truncate_=function(t){for(var n=this.map_.getCount();n>t;n--)this.removeNode(this.isCache_?this.list_.sentinel.previous:this.list_.sentinel.next)},js_cols.LinkedHashMap.prototype.popNode_=function(t){return this.list_.sentinel!=t&&this.removeNode(t),t.data},js_cols.LinkedHashMap.prototype.iterator=function(t){var n=this.list_.iterator(0);return delete n.add,delete n.remove,delete n.set,(t=this.map_.get(t,!1))&&(n.position=t),n},js_cols.Queue=function(){js_cols.LinkedList.call(this)},js_cols.inherits(js_cols.Queue,js_cols.LinkedList),js_cols.Queue.prototype.enqueue=function(t){this.addLast(t)},js_cols.Queue.prototype.dequeue=function(){return this.removeFirst()},js_cols.Queue.prototype.peek=function(){return this.getFirst()},js_cols.Queue.prototype.remove=function(t){return this.removeObject(t)},js_cols.Stack=function(){js_cols.LinkedList.call(this)},js_cols.inherits(js_cols.Stack,js_cols.LinkedList),js_cols.Stack.prototype.push=function(t){this.addFirst(t)},js_cols.Stack.prototype.pop=function(){return this.removeFirst()},js_cols.Stack.prototype.peek=function(){return this.getFirst()},js_cols.Stack.prototype.remove=function(t){return this.removeObject(t)},js_cols.RBnode=function(t){this.tree=t,this.left=this.right=this.tree.sentinel},js_cols.RedBlackMap=function(t){this.RED=!0,this.BLACK=!1,this.size=0,this.sentinel=new js_cols.RBnode(this),this.sentinel.color=this.BLACK,this.root=this.sentinel,this.root.parent=this.sentinel,js_cols.RedBlackMap.prototype.compare=t||this.default_compare},js_cols.RedBlackMap.prototype.default_compare=function(t,n){return t<n?-1:n<t?1:0},js_cols.RedBlackMap.prototype.clone=function(){var t=new js_cols.RedBlackMap(this.compare);return t.insertAll(this),t},js_cols.RedBlackMap.prototype.clear=function(){this.size=0,this.sentinel=new js_cols.RBnode(this),this.sentinel.color=this.BLACK,this.root=this.sentinel,this.root.parent=this.sentinel},js_cols.RedBlackMap.prototype.leftRotate=function(t){var n=t.right;t.right=n.left,n.left!=this.sentinel&&(n.left.parent=t),n.parent=t.parent,t.parent==this.sentinel?this.root=n:t==t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n},js_cols.RedBlackMap.prototype.rightRotate=function(t){var n=t.left;t.left=n.right,n.right!=this.sentinel&&(n.right.parent=t),n.parent=t.parent,t.parent==this.sentinel?this.root=n:t==t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n},js_cols.RedBlackMap.prototype.insert=function(t,n){if(this.contains(t))this.get_(t).value=n;else{var o=new js_cols.RBnode(this);o.key=t,o.value=n;for(var g=this.sentinel,d=this.root;d!=this.sentinel;)g=d,d=0>this.compare(o.key,d.key)?d.left:d.right;o.parent=g,g==this.sentinel?this.root=o:0>this.compare(o.key,g.key)?g.left=o:g.right=o,o.left=this.sentinel,o.right=this.sentinel,o.color=this.RED,this.insertFixup(o),this.size++}},js_cols.RedBlackMap.prototype.insertSwapped=function(t,n){this.insert(n,t)},js_cols.RedBlackMap.prototype.insertFixup=function(t){for(;t!=this.sentinel&&t!=this.root&&t.parent.color==this.RED;)if(t.parent==t.parent.parent.left){var n=t.parent.parent.right;n.color==this.RED?(t.parent.color=this.BLACK,n.color=this.BLACK,t.parent.parent.color=this.RED,t=t.parent.parent):(t==t.parent.right&&this.leftRotate(t=t.parent),t.parent.color=this.BLACK,t.parent.parent.color=this.RED,t.parent.parent!=this.sentinel&&this.rightRotate(t.parent.parent))}else(n=t.parent.parent.left).color==this.RED?(t.parent.color=this.BLACK,n.color=this.BLACK,t.parent.parent.color=this.RED,t=t.parent.parent):(t==t.parent.left&&this.rightRotate(t=t.parent),t.parent.color=this.BLACK,t.parent.parent.color=this.RED,t.parent.parent!=this.sentinel&&this.leftRotate(t.parent.parent));this.root.color=this.BLACK},js_cols.RedBlackMap.prototype.delete_=function(t){var n,o;(o=(n=t.left==this.sentinel||t.right==this.sentinel?t:this.successor_(t)).left!=this.sentinel?n.left:n.right).parent=n.parent,n.parent==this.sentinel?this.root=o:n==n.parent.left?n.parent.left=o:n.parent.right=o,n!=t&&(t.key=n.key,t.value=n.value),n.color==this.BLACK&&this.deleteFixup(o),this.size--},js_cols.RedBlackMap.prototype.deleteFixup=function(t){for(;t!=this.root&&t.color==this.BLACK;)if(t==t.parent.left){var n=t.parent.right;n.color==this.RED&&(n.color=this.BLACK,t.parent.color=this.RED,this.leftRotate(t.parent),n=t.parent.right),n.left.color==this.BLACK&&n.right.color==this.BLACK?(n.color=this.RED,t=t.parent):(n.right.color==this.BLACK&&(n.left.color=this.BLACK,n.color=this.RED,this.rightRotate(n),n=t.parent.right),n.color=t.parent.color,t.parent.color=this.BLACK,n.right.color=this.BLACK,this.leftRotate(t.parent),t=this.root)}else(n=t.parent.left).color==this.RED&&(n.color=this.BLACK,t.parent.color=this.RED,this.rightRotate(t.parent),n=t.parent.left),n.right.color==this.BLACK&&n.left.color==this.BLACK?(n.color=this.RED,t=t.parent):(n.left.color==this.BLACK&&(n.right.color=this.BLACK,n.color=this.RED,this.leftRotate(n),n=t.parent.left),n.color=t.parent.color,t.parent.color=this.BLACK,n.left.color=this.BLACK,this.rightRotate(t.parent),t=this.root);t.color=this.BLACK},js_cols.RedBlackMap.prototype.remove=function(t){if((t=this.get_(t))!=this.sentinel){var n=t.value;return this.delete_(t),n}return null},js_cols.RedBlackMap.prototype.removeSwapped=function(t,n){this.remove(n)},js_cols.RedBlackMap.prototype.min=function(t){for(;t.left!=this.sentinel;)t=t.left;return t},js_cols.RedBlackMap.prototype.max=function(t){for(;t.right!=this.sentinel;)t=t.right;return t},js_cols.RedBlackMap.prototype.successor_=function(t){if(t.right!=this.sentinel)return this.min(t.right);for(var n=t.parent;n!=this.sentinel&&t==n.right;)t=n,n=n.parent;return n},js_cols.RedBlackMap.prototype.predecessor_=function(t){if(t.left!=this.sentinel)return this.max(t.left);for(var n=t.parent;n!=this.sentinel&&t==n.left;)t=n,n=n.parent;return n},js_cols.RedBlackMap.prototype.successor=function(t){if(0<this.size){if((t=this.get_(t))==this.sentinel)return null;if(t.right!=this.sentinel)return this.min(t.right).value;for(var n=t.parent;n!=this.sentinel&&t==n.right;)t=n,n=n.parent;return n!=this.sentinel?n.value:null}return null},js_cols.RedBlackMap.prototype.predecessor=function(t){if(0<this.size){if((t=this.get_(t))==this.sentinel)return null;if(t.left!=this.sentinel)return this.max(t.left).value;for(var n=t.parent;n!=this.sentinel&&t==n.left;)t=n,n=n.parent;return n!=this.sentinel?n.value:null}return null},js_cols.RedBlackMap.prototype.getMin=function(){return this.min(this.root).value},js_cols.RedBlackMap.prototype.getMax=function(){return this.max(this.root).value},js_cols.RedBlackMap.prototype.get_=function(t){for(var n=this.root;n!=this.sentinel&&0!=this.compare(n.key,t);)n=0>this.compare(t,n.key)?n.left:n.right;return n},js_cols.RedBlackMap.prototype.get=function(t){for(var n=this.root;n!=this.sentinel&&0!=this.compare(n.key,t);)n=0>this.compare(t,n.key)?n.left:n.right;return n.value},js_cols.RedBlackMap.prototype.contains=function(t){return null!=this.get_(t).key},js_cols.RedBlackMap.prototype.containsSwapped=function(t,n){return this.contains(n)},js_cols.RedBlackMap.prototype.getValues=function(){var t=[];return this.traverse(function(n){t.push(n)}),t},js_cols.RedBlackMap.prototype.getKeys=function(){var t=[];if(this.isEmpty())return t;for(var n=this.min(this.root);n!=this.sentinel;)t.push(n.key),n=n=this.successor_(n);return t},js_cols.RedBlackMap.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.insert(t[n],t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.insertSwapped,this);else if("function"==js_cols.typeOf(t.getValues)&&"function"==js_cols.typeOf(t.getKeys)){var o=t.getValues();for(t=t.getKeys(),n=0;n<t.length;n++)this.insert(t[n],o[n])}else if("object"==js_cols.typeOf(t))for(n in t)this.insert(n,t[n])},js_cols.RedBlackMap.prototype.removeAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.remove(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.removeSwapped,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.remove(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.remove(t[n])},js_cols.RedBlackMap.prototype.containsAll=function(t){if("array"==js_cols.typeOf(t)){for(var n=0;n<t.length;n++)if(!this.contains(t[n]))return!1;return!0}if("function"==js_cols.typeOf(t.every))return t.every(this.containsSwapped,this);if("function"==js_cols.typeOf(t.getValues)){for(t=t.getValues(),n=0;n<t.length;n++)if(!this.contains(t[n]))return!1;return!0}if("object"==js_cols.typeOf(t)){for(n in t)if(!this.contains(n))return!1;return!0}},js_cols.RedBlackMap.prototype.forEach=function(t,n){if(!this.isEmpty())for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))t.call(n,o.value,o.key,this)},js_cols.RedBlackMap.prototype.some=function(t,n){if(this.isEmpty())return!1;for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))if(t.call(n,o.value,o.key,this))return!0;return!1},js_cols.RedBlackMap.prototype.every=function(t,n){if(this.isEmpty())return!1;for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))if(!t.call(n,o.value,o.key,this))return!1;return!0},js_cols.RedBlackMap.prototype.map=function(t,n){var o=[];if(this.isEmpty())return o;for(var g=this.min(this.root);g!=this.sentinel;g=this.successor_(g))o.push(t.call(n,g.value,g.key,this));return o},js_cols.RedBlackMap.prototype.filter=function(t,n){var o=new js_cols.RedBlackMap(this.compare);if(this.isEmpty())return o;for(var g=this.min(this.root);g!=this.sentinel;g=this.successor_(g))t.call(n,g.value,g.key,this)&&o.insert(g.key,g.value);return o},js_cols.RedBlackMap.prototype.intersection=function(t){var n=new js_cols.RedBlackMap(this.compare);if(this.isEmpty())return n;if("function"==js_cols.typeOf(t.get))for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))t.get.call(t,o.key)==o.value&&n.insert(o.key,o.value);else for(o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))js_cols.contains.call(t,t,o.key)&&n.insert(o.key,o.value);return n},js_cols.RedBlackMap.prototype.isSubmapOf=function(t){var n=js_cols.getCount(t);if(this.getCount()>n)return!1;if(n=0,this.isEmpty())return!0;if("function"==js_cols.typeOf(t.get))for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))t.get.call(t,o.key)==o.value&&n++;else for(o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))js_cols.contains.call(t,t,o.key)&&n++;return n==this.getCount()},js_cols.RedBlackMap.prototype.range=function(t,n){var o=[];return this.traverseFromTo(function(g){o.push(g)},t,n),o},js_cols.RedBlackMap.prototype.traverse=function(t){if(!this.isEmpty())for(var n=this.min(this.root);n!=this.sentinel&&!t(n.value);)n=this.successor_(n)},js_cols.RedBlackMap.prototype.traverseFrom=function(t,n){if(!this.isEmpty())for(var o=this.get_(n);o!=this.sentinel&&!t(o.value);)o=this.successor_(o)},js_cols.RedBlackMap.prototype.traverseTo=function(t,n){if(!this.isEmpty())for(var o=this.min(this.root),g=this.get_(n);o!=g&&!t(o.value);)o=this.successor_(o)},js_cols.RedBlackMap.prototype.traverseFromTo=function(t,n,o){if(!this.isEmpty())for(n=this.get_(n),o=this.get_(o);n!=o&&!t(n.value);)n=this.successor_(n)},js_cols.RedBlackMap.prototype.traverseBackwards=function(t){if(!this.isEmpty())for(var n=this.max(this.root);n!=this.sentinel&&!t(n.value);)n=this.predecessor_(n)},js_cols.RedBlackMap.prototype.getCount=function(){return this.size},js_cols.RedBlackMap.prototype.isEmpty=function(){return 0==this.size},js_cols.RedBlackSet=function(t){this.RED=!0,this.BLACK=!1,this.size=0,this.sentinel=new js_cols.RBnode(this),this.sentinel.color=this.BLACK,this.root=this.sentinel,this.root.parent=this.sentinel,this.compare=t||this.default_compare},js_cols.RedBlackSet.prototype.default_compare=function(t,n){return t<n?-1:n<t?1:0},js_cols.RedBlackSet.prototype.clone=function(){var t=new js_cols.RedBlackSet(this.compare);return t.insertAll(this),t},js_cols.RedBlackSet.prototype.clear=function(){this.size=0,this.sentinel=new js_cols.RBnode(this),this.sentinel.color=this.BLACK,this.root=this.sentinel,this.root.parent=this.sentinel},js_cols.RedBlackSet.prototype.leftRotate=function(t){var n=t.right;t.right=n.left,n.left!=this.sentinel&&(n.left.parent=t),n.parent=t.parent,t.parent==this.sentinel?this.root=n:t==t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n},js_cols.RedBlackSet.prototype.rightRotate=function(t){var n=t.left;t.left=n.right,n.right!=this.sentinel&&(n.right.parent=t),n.parent=t.parent,t.parent==this.sentinel?this.root=n:t==t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n},js_cols.RedBlackSet.prototype.insert=function(t){if(this.contains(t))this.get_(t).key=t;else{var n=new js_cols.RBnode(this);n.key=t,t=this.sentinel;for(var o=this.root;o!=this.sentinel;)t=o,o=0>this.compare(n.key,o.key)?o.left:o.right;n.parent=t,t==this.sentinel?this.root=n:0>this.compare(n.key,t.key)?t.left=n:t.right=n,n.left=this.sentinel,n.right=this.sentinel,n.color=this.RED,this.insertFixup(n),this.size++}},js_cols.RedBlackSet.prototype.insertFixup=function(t){for(;t!=this.sentinel&&t!=this.root&&t.parent.color==this.RED;)if(t.parent==t.parent.parent.left){var n=t.parent.parent.right;n.color==this.RED?(t.parent.color=this.BLACK,n.color=this.BLACK,t.parent.parent.color=this.RED,t=t.parent.parent):(t==t.parent.right&&this.leftRotate(t=t.parent),t.parent.color=this.BLACK,t.parent.parent.color=this.RED,t.parent.parent!=this.sentinel&&this.rightRotate(t.parent.parent))}else(n=t.parent.parent.left).color==this.RED?(t.parent.color=this.BLACK,n.color=this.BLACK,t.parent.parent.color=this.RED,t=t.parent.parent):(t==t.parent.left&&this.rightRotate(t=t.parent),t.parent.color=this.BLACK,t.parent.parent.color=this.RED,t.parent.parent!=this.sentinel&&this.leftRotate(t.parent.parent));this.root.color=this.BLACK},js_cols.RedBlackSet.prototype.delete_=function(t){var n,o;(o=(n=t.left==this.sentinel||t.right==this.sentinel?t:this.successor_(t)).left!=this.sentinel?n.left:n.right).parent=n.parent,n.parent==this.sentinel?this.root=o:n==n.parent.left?n.parent.left=o:n.parent.right=o,n!=t&&(t.key=n.key),n.color==this.BLACK&&this.deleteFixup(o),this.size--},js_cols.RedBlackSet.prototype.deleteFixup=function(t){for(;t!=this.root&&t.color==this.BLACK;)if(t==t.parent.left){var n=t.parent.right;n.color==this.RED&&(n.color=this.BLACK,t.parent.color=this.RED,this.leftRotate(t.parent),n=t.parent.right),n.left.color==this.BLACK&&n.right.color==this.BLACK?(n.color=this.RED,t=t.parent):(n.right.color==this.BLACK&&(n.left.color=this.BLACK,n.color=this.RED,this.rightRotate(n),n=t.parent.right),n.color=t.parent.color,t.parent.color=this.BLACK,n.right.color=this.BLACK,this.leftRotate(t.parent),t=this.root)}else(n=t.parent.left).color==this.RED&&(n.color=this.BLACK,t.parent.color=this.RED,this.rightRotate(t.parent),n=t.parent.left),n.right.color==this.BLACK&&n.left.color==this.BLACK?(n.color=this.RED,t=t.parent):(n.left.color==this.BLACK&&(n.right.color=this.BLACK,n.color=this.RED,this.leftRotate(n),n=t.parent.left),n.color=t.parent.color,t.parent.color=this.BLACK,n.left.color=this.BLACK,this.rightRotate(t.parent),t=this.root);t.color=this.BLACK},js_cols.RedBlackSet.prototype.remove=function(t){if((t=this.get_(t))!=this.sentinel){var n=t.key;return this.delete_(t),n}return null},js_cols.RedBlackSet.prototype.removeSwapped=function(t,n){this.remove(n)},js_cols.RedBlackSet.prototype.min=function(t){for(;t.left!=this.sentinel;)t=t.left;return t},js_cols.RedBlackSet.prototype.max=function(t){for(;t.right!=this.sentinel;)t=t.right;return t},js_cols.RedBlackSet.prototype.successor_=function(t){if(t.right!=this.sentinel)return this.min(t.right);for(var n=t.parent;n!=this.sentinel&&t==n.right;)t=n,n=n.parent;return n},js_cols.RedBlackSet.prototype.predeccessor_=function(t){if(t.left!=this.sentinel)return this.max(t.left);for(var n=t.parent;n!=this.sentinel&&t==n.left;)t=n,n=n.parent;return n},js_cols.RedBlackSet.prototype.successor=function(t){if(0<this.size){if((t=this.get_(t))==this.sentinel)return null;if(t.right!=this.sentinel)return this.min(t.right).key;for(var n=t.parent;n!=this.sentinel&&t==n.right;)t=n,n=n.parent;return n!=this.sentinel?n.key:null}return null},js_cols.RedBlackSet.prototype.predecessor=function(t){if(0<this.size){if((t=this.get_(t))==this.sentinel)return null;if(t.left!=this.sentinel)return this.max(t.left).key;for(var n=t.parent;n!=this.sentinel&&t==n.left;)t=n,n=n.parent;return n!=this.sentinel?n.key:null}return null},js_cols.RedBlackSet.prototype.getMin=function(){return this.min(this.root).key},js_cols.RedBlackSet.prototype.getMax=function(){return this.max(this.root).key},js_cols.RedBlackSet.prototype.get_=function(t){for(var n=this.root;n!=this.sentinel&&0!=this.compare(n.key,t);)n=0>this.compare(t,n.key)?n.left:n.right;return n},js_cols.RedBlackSet.prototype.contains=function(t){return null!=this.get_(t).key},js_cols.RedBlackSet.prototype.getValues=function(){var t=[];return this.forEach(function(n){t.push(n)}),t},js_cols.RedBlackSet.prototype.insertAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.insert(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.insert,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.insert(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.insert(t[n])},js_cols.RedBlackSet.prototype.removeAll=function(t){if("array"==js_cols.typeOf(t))for(var n=0;n<t.length;n++)this.remove(t[n]);else if("function"==js_cols.typeOf(t.forEach))t.forEach(this.removeSwapped,this);else if("function"==js_cols.typeOf(t.getValues))for(t=t.getValues(),n=0;n<t.length;n++)this.remove(t[n]);else if("object"==js_cols.typeOf(t))for(n in t)this.remove(t[n])},js_cols.RedBlackSet.prototype.containsAll=function(t){if("array"==js_cols.typeOf(t)){for(var n=0;n<t.length;n++)if(!this.contains(t[n]))return!1;return!0}if("function"==js_cols.typeOf(t.forEach))return t.every(this.contains,this);if("function"==js_cols.typeOf(t.getValues)){for(t=t.getValues(),n=0;n<t.length;n++)if(!this.contains(t[n]))return!1;return!0}if("object"==js_cols.typeOf(t)){for(n in t)if(!this.contains(t[n]))return!1;return!0}},js_cols.RedBlackSet.prototype.range=function(t,n){var o=[];return this.traverseFromTo(function(g){o.push(g)},t,n),o},js_cols.RedBlackSet.prototype.traverse=function(t,n){if(!this.isEmpty())for(var o=this.min(this.root);o!=this.sentinel&&!t.call(n,o.key,this);)o=this.successor_(o)},js_cols.RedBlackSet.prototype.traverseFrom=function(t,n,o){if(!this.isEmpty())for(n=this.get_(n);n!=this.sentinel&&!t.call(o,n.key,this);)n=this.successor_(n)},js_cols.RedBlackSet.prototype.traverseTo=function(t,n,o){if(!this.isEmpty()){var g=this.min(this.root);for(n=this.get_(n);g!=n&&!t.call(o,g.key,this);)g=this.successor_(g)}},js_cols.RedBlackSet.prototype.traverseFromTo=function(t,n,o,g){if(!this.isEmpty())for(n=this.get_(n),o=this.get_(o);n!=o&&!t.call(g,n.key,this);)n=this.successor_(n)},js_cols.RedBlackSet.prototype.traverseBackwards=function(t,n){if(!this.isEmpty())for(var o=this.max(this.root);o!=this.sentinel&&!t.call(n,o.key,this);)o=this.predeccessor_(o)},js_cols.RedBlackSet.prototype.forEach=function(t,n){if(!this.isEmpty())for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))t.call(n,o.key,o.key,this)},js_cols.RedBlackSet.prototype.some=function(t,n){if(this.isEmpty())return!1;for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))if(t.call(n,o.key,o.key,this))return!0;return!1},js_cols.RedBlackSet.prototype.every=function(t,n){if(this.isEmpty())return!1;for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))if(!t.call(n,o.key,o.key,this))return!1;return!0},js_cols.RedBlackSet.prototype.map=function(t,n){var o=[];if(this.isEmpty())return o;for(var g=this.min(this.root);g!=this.sentinel;g=this.successor_(g))o.push(t.call(n,g.key,g.key,this));return o},js_cols.RedBlackSet.prototype.filter=function(t,n){var o=[];if(this.isEmpty())return o;for(var g=this.min(this.root);g!=this.sentinel;g=this.successor_(g))t.call(n,g.key,g.key,this)&&o.push(g.key);return o},js_cols.RedBlackSet.prototype.getCount=function(){return this.size},js_cols.RedBlackSet.prototype.isEmpty=function(){return 0==this.size},js_cols.RedBlackSet.prototype.isSubsetOf=function(t){var n=js_cols.getCount(t);if(this.getCount()>n)return!1;if(n=0,this.isEmpty())return!0;for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))js_cols.contains.call(t,t,o.key)&&n++;return n==this.getCount()},js_cols.RedBlackSet.prototype.intersection=function(t){var n=new js_cols.RedBlackSet(this.compare);if(this.isEmpty())return n;for(var o=this.min(this.root);o!=this.sentinel;o=this.successor_(o))t.contains.call(t,o.key,o.key,this)&&n.insert(o.key);return n},js_cols.RedBlackBag=function(t){js_cols.RedBlackSet.call(this,t)},js_cols.inherits(js_cols.RedBlackBag,js_cols.RedBlackSet),js_cols.RedBlackBag.prototype.insert=function(t){var n=new js_cols.RBnode(this);n.key=t,t=this.sentinel;for(var o=this.root;o!=this.sentinel;)t=o,o=0>this.compare(n.key,o.key)?o.left:o.right;n.parent=t,t==this.sentinel?this.root=n:0>this.compare(n.key,t.key)?t.left=n:t.right=n,n.left=this.sentinel,n.right=this.sentinel,n.color=this.RED,this.insertFixup(n),this.size++},js_cols.RedBlackBag.prototype.get_=function(t){for(var n=this.root;n!=this.sentinel&&0!=this.compare(n.key,t);)n=0>this.compare(t,n.key)?n.left:n.right;for(;n!=this.sentinel&&n.left!=this.sentinel&&0==this.compare(n.left.key,t);)n=n.left;return n},js_cols.RedBlackBag.prototype.clone=function(){var t=new js_cols.RedBlackBag(this.compare);return t.insertAll(this),t},js_cols.RedBlackMultiMap=function(t){js_cols.RedBlackMap.call(this,t)},js_cols.inherits(js_cols.RedBlackMultiMap,js_cols.RedBlackMap),js_cols.RedBlackMultiMap.prototype.insert=function(t,n){var o=new js_cols.RBnode(this);o.key=t,o.value=n;for(var g=this.sentinel,d=this.root;d!=this.sentinel;)g=d,d=0>this.compare(o.key,d.key)?d.left:d.right;o.parent=g,g==this.sentinel?this.root=o:0>this.compare(o.key,g.key)?g.left=o:g.right=o,o.left=this.sentinel,o.right=this.sentinel,o.color=this.RED,this.insertFixup(o),this.size++},js_cols.RedBlackMultiMap.prototype.get_=function(t){for(var n=this.root;n!=this.sentinel&&0!=this.compare(n.key,t);)n=0>this.compare(t,n.key)?n.left:n.right;for(;n!=this.sentinel&&n.left!=this.sentinel&&0==this.compare(n.left.key,t);)n=n.left;return n},js_cols.RedBlackMultiMap.prototype.clone=function(){var t=new js_cols.RedBlackMultiMap(this.compare);return t.insertAll(this),t},js_cols.RedBlackMultiMap.prototype.isSubmapOf=void 0,js_cols.RedBlackMultiMap.prototype.intersection=void 0,typeof module<"u"&&module.exports&&(module.exports=js_cols);