var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function RepositionNav(){var t=$(window).height()/2-$("#nav").height()/2;$("#nav").css({top:t})}if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){var i=[],n=i.slice,o=i.concat,s=i.push,r=i.indexOf,a={},l=a.toString,c=a.hasOwnProperty,u={},h="1.11.1",d=function(t,e){return new d.fn.init(t,e)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,f=/^-ms-/,m=/-([\da-z])/gi,g=function(t,e){return e.toUpperCase()};function v(t){var e=t.length,i=d.type(t);return"function"!==i&&!d.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t))}d.fn=d.prototype={jquery:h,constructor:d,selector:"",length:0,toArray:function(){return n.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:n.call(this)},pushStack:function(t){var e=d.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return d.each(this,t,e)},map:function(t){return this.pushStack(d.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(n.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:s,sort:i.sort,splice:i.splice},d.extend=d.fn.extend=function(){var t,e,i,n,o,s,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||d.isFunction(r)||(r={}),a===l&&(r=this,a--);l>a;a++)if(null!=(o=arguments[a]))for(n in o)t=r[n],r!==(i=o[n])&&(c&&i&&(d.isPlainObject(i)||(e=d.isArray(i)))?(e?(e=!1,s=t&&d.isArray(t)?t:[]):s=t&&d.isPlainObject(t)?t:{},r[n]=d.extend(c,s,i)):void 0!==i&&(r[n]=i));return r},d.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===d.type(t)},isArray:Array.isArray||function(t){return"array"===d.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!d.isArray(t)&&t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==d.type(t)||t.nodeType||d.isWindow(t))return!1;try{if(t.constructor&&!c.call(t,"constructor")&&!c.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(u.ownLast)for(e in t)return c.call(t,e);for(e in t);return void 0===e||c.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?a[l.call(t)]||"object":typeof t},globalEval:function(e){e&&d.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(f,"ms-").replace(m,g)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,o=t.length,s=v(t);if(i){if(s)for(;o>n&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(s)for(;o>n&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(p,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(v(Object(t))?d.merge(i,"string"==typeof t?[t]:t):s.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(r)return r.call(e,t,i);for(n=e.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;i>n;)t[o++]=e[n++];if(i!=i)for(;void 0!==e[n];)t[o++]=e[n++];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,s=t.length,r=!i;s>o;o++)!e(t[o],o)!==r&&n.push(t[o]);return n},map:function(t,e,i){var n,s=0,r=t.length,a=[];if(v(t))for(;r>s;s++)null!=(n=e(t[s],s,i))&&a.push(n);else for(s in t)null!=(n=e(t[s],s,i))&&a.push(n);return o.apply([],a)},guid:1,proxy:function(t,e){var i,o,s;return"string"==typeof e&&(s=t[e],e=t,t=s),d.isFunction(t)?(i=n.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(n.call(arguments)))}).guid=t.guid=t.guid||d.guid++,o):void 0},now:function(){return+new Date},support:u}),d.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){a["[object "+e+"]"]=e.toLowerCase()});var y=function(t){var e,i,n,o,s,r,a,l,c,u,h,d,p,f,m,g,v,y,b,w="sizzle"+-new Date,_=t.document,x=0,k=0,C=st(),T=st(),S=st(),E=function(t,e){return t===e&&(h=!0),0},A="undefined",D=1<<31,$={}.hasOwnProperty,O=[],P=O.pop,M=O.push,L=O.push,z=O.slice,j=O.indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(this[e]===t)return e;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R=H.replace("w","w#"),W="\\["+I+"*("+H+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+I+"*\\]",B=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",q=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),F=new RegExp("^"+I+"*,"+I+"*"),U=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),Y=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),V=new RegExp(B),X=new RegExp("^"+R+"$"),K={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=/'|\\/g,it=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),nt=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{L.apply(O=z.call(_.childNodes),_.childNodes),O[_.childNodes.length].nodeType}catch(t){L={apply:O.length?function(t,e){M.apply(t,z.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function ot(t,e,n,o){var s,a,c,u,h,f,v,y,x,k;if((e?e.ownerDocument||e:_)!==p&&d(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(u=(e=e||p).nodeType)&&9!==u)return[];if(m&&!o){if(s=J.exec(t))if(c=s[1]){if(9===u){if(!(a=e.getElementById(c))||!a.parentNode)return n;if(a.id===c)return n.push(a),n}else if(e.ownerDocument&&(a=e.ownerDocument.getElementById(c))&&b(e,a)&&a.id===c)return n.push(a),n}else{if(s[2])return L.apply(n,e.getElementsByTagName(t)),n;if((c=s[3])&&i.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(c)),n}if(i.qsa&&(!g||!g.test(t))){if(y=v=w,x=e,k=9===u&&t,1===u&&"object"!==e.nodeName.toLowerCase()){for(f=r(t),(v=e.getAttribute("id"))?y=v.replace(et,"\\$&"):e.setAttribute("id",y),y="[id='"+y+"'] ",h=f.length;h--;)f[h]=y+mt(f[h]);x=tt.test(t)&&pt(e.parentNode)||e,k=f.join(",")}if(k)try{return L.apply(n,x.querySelectorAll(k)),n}catch(t){}finally{v||e.removeAttribute("id")}}}return l(t.replace(q,"$1"),e,n,o)}function st(){var t=[];return function e(i,o){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=o}}function rt(t){return t[w]=!0,t}function at(t){var e=p.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var i=t.split("|"),o=t.length;o--;)n.attrHandle[i[o]]=e}function ct(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||D)-(~t.sourceIndex||D);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ut(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function dt(t){return rt(function(e){return e=+e,rt(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function pt(t){return t&&typeof t.getElementsByTagName!==A&&t}for(e in i=ot.support={},s=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},d=ot.setDocument=function(t){var e,o=t?t.ownerDocument||t:_,r=o.defaultView;return o!==p&&9===o.nodeType&&o.documentElement?(p=o,f=o.documentElement,m=!s(o),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){d()},!1):r.attachEvent&&r.attachEvent("onunload",function(){d()})),i.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),i.getElementsByTagName=at(function(t){return t.appendChild(o.createComment("")),!t.getElementsByTagName("*").length}),i.getElementsByClassName=G.test(o.getElementsByClassName)&&at(function(t){return t.innerHTML="
",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),i.getById=at(function(t){return f.appendChild(t).id=w,!o.getElementsByName||!o.getElementsByName(w).length}),i.getById?(n.find.ID=function(t,e){if(typeof e.getElementById!==A&&m){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},n.filter.ID=function(t){var e=t.replace(it,nt);return function(t){return t.getAttribute("id")===e}}):(delete n.find.ID,n.filter.ID=function(t){var e=t.replace(it,nt);return function(t){var i=typeof t.getAttributeNode!==A&&t.getAttributeNode("id");return i&&i.value===e}}),n.find.TAG=i.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==A?e.getElementsByTagName(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},n.find.CLASS=i.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==A&&m?e.getElementsByClassName(t):void 0},v=[],g=[],(i.qsa=G.test(o.querySelectorAll))&&(at(function(t){t.innerHTML="",t.querySelectorAll("[msallowclip^='']").length&&g.push("[*^$]="+I+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+I+"*(?:value|"+N+")"),t.querySelectorAll(":checked").length||g.push(":checked")}),at(function(t){var e=o.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+I+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(i.matchesSelector=G.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(t){i.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),v.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),e=G.test(f.compareDocumentPosition),b=e||G.test(f.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return h=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t===o||t.ownerDocument===_&&b(_,t)?-1:e===o||e.ownerDocument===_&&b(_,e)?1:u?j.call(u,t)-j.call(u,e):0:4&n?-1:1)}:function(t,e){if(t===e)return h=!0,0;var i,n=0,s=t.parentNode,r=e.parentNode,a=[t],l=[e];if(!s||!r)return t===o?-1:e===o?1:s?-1:r?1:u?j.call(u,t)-j.call(u,e):0;if(s===r)return ct(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?ct(a[n],l[n]):a[n]===_?-1:l[n]===_?1:0},o):p},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&d(t),e=e.replace(Y,"='$1']"),!(!i.matchesSelector||!m||v&&v.test(e)||g&&g.test(e)))try{var n=y.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return ot(e,p,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==p&&d(t),b(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==p&&d(t);var o=n.attrHandle[e.toLowerCase()],s=o&&$.call(n.attrHandle,e.toLowerCase())?o(t,e,!m):void 0;return void 0!==s?s:i.attributes||!m?t.getAttribute(e):(s=t.getAttributeNode(e))&&s.specified?s.value:null},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,n=[],o=0,s=0;if(h=!i.detectDuplicates,u=!i.sortStable&&t.slice(0),t.sort(E),h){for(;e=t[s++];)e===t[s]&&(o=n.push(s));for(;o--;)t.splice(n[o],1)}return u=null,t},o=ot.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=o(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=o(e);return i},(n=ot.selectors={cacheLength:50,createPseudo:rt,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(it,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(it,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&V.test(i)&&(e=r(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(it,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+I+")"+t+"("+I+"|$)"))&&C(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==A&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var o=ot.attr(n,t);return null==o?"!="===e:!e||(o+="","="===e?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.slice(-i.length)===i:"~="===e?(" "+o+" ").indexOf(i)>-1:"|="===e&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),r="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var c,u,h,d,p,f,m=s!==r?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(s){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&y){for(p=(c=(u=g[w]||(g[w]={}))[t]||[])[0]===x&&c[1],d=c[0]===x&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(d=p=0)||f.pop();)if(1===h.nodeType&&++d&&h===e){u[t]=[x,p,d];break}}else if(y&&(c=(e[w]||(e[w]={}))[t])&&c[0]===x)d=c[1];else for(;(h=++p&&h&&h[m]||(d=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++d||(y&&((h[w]||(h[w]={}))[t]=[x,d]),h!==e)););return(d-=o)===n||d%n==0&&d/n>=0}}},PSEUDO:function(t,e){var i,o=n.pseudos[t]||n.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?rt(function(t,i){for(var n,s=o(t,e),r=s.length;r--;)t[n=j.call(t,s[r])]=!(i[n]=s[r])}):function(t){return o(t,0,i)}):o}},pseudos:{not:rt(function(t){var e=[],i=[],n=a(t.replace(q,"$1"));return n[w]?rt(function(t,e,i,o){for(var s,r=n(t,null,o,[]),a=t.length;a--;)(s=r[a])&&(t[a]=!(e[a]=s))}):function(t,o,s){return e[0]=t,n(e,null,s,i),!i.pop()}}),has:rt(function(t){return function(e){return ot(t,e).length>0}}),contains:rt(function(t){return function(e){return(e.textContent||e.innerText||o(e)).indexOf(t)>-1}}),lang:rt(function(t){return X.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(it,nt).toLowerCase(),function(e){var i;do{if(i=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:dt(function(){return[0]}),last:dt(function(t,e){return[e-1]}),eq:dt(function(t,e,i){return[0>i?i+e:i]}),even:dt(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:dt(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:dt(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:dt(function(t,e,i){for(var n=0>i?i+e:i;++ne;e++)n+=t[e].value;return n}function gt(t,e,i){var n=e.dir,o=i&&"parentNode"===n,s=k++;return e.first?function(e,i,s){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,s)}:function(e,i,r){var a,l,c=[x,s];if(r){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,r))return!0}else for(;e=e[n];)if(1===e.nodeType||o){if((a=(l=e[w]||(e[w]={}))[n])&&a[0]===x&&a[1]===s)return c[2]=a[2];if(l[n]=c,c[2]=t(e,i,r))return!0}}}function vt(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function yt(t,e,i,n,o){for(var s,r=[],a=0,l=t.length,c=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,o))&&(r.push(s),c&&e.push(a));return r}function bt(t,e,i,n,o,s){return n&&!n[w]&&(n=bt(n)),o&&!o[w]&&(o=bt(o,s)),rt(function(s,r,a,l){var c,u,h,d=[],p=[],f=r.length,m=s||function(t,e,i){for(var n=0,o=e.length;o>n;n++)ot(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),g=!t||!s&&e?m:yt(m,d,t,a,l),v=i?o||(s?t:f||n)?[]:r:g;if(i&&i(g,v,a,l),n)for(c=yt(v,p),n(c,[],a,l),u=c.length;u--;)(h=c[u])&&(v[p[u]]=!(g[p[u]]=h));if(s){if(o||t){if(o){for(c=[],u=v.length;u--;)(h=v[u])&&c.push(g[u]=h);o(null,v=[],c,l)}for(u=v.length;u--;)(h=v[u])&&(c=o?j.call(s,h):d[u])>-1&&(s[c]=!(r[c]=h))}}else v=yt(v===r?v.splice(f,v.length):v),o?o(null,r,v,l):L.apply(r,v)})}function wt(t){for(var e,i,o,s=t.length,r=n.relative[t[0].type],a=r||n.relative[" "],l=r?1:0,u=gt(function(t){return t===e},a,!0),h=gt(function(t){return j.call(e,t)>-1},a,!0),d=[function(t,i,n){return!r&&(n||i!==c)||((e=i).nodeType?u(t,i,n):h(t,i,n))}];s>l;l++)if(i=n.relative[t[l].type])d=[gt(vt(d),i)];else{if((i=n.filter[t[l].type].apply(null,t[l].matches))[w]){for(o=++l;s>o&&!n.relative[t[o].type];o++);return bt(l>1&&vt(d),l>1&&mt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(q,"$1"),i,o>l&&wt(t.slice(l,o)),s>o&&wt(t=t.slice(o)),s>o&&mt(t))}d.push(i)}return vt(d)}function _t(t,e){var i=e.length>0,o=t.length>0,s=function(s,r,a,l,u){var h,d,f,m=0,g="0",v=s&&[],y=[],b=c,w=s||o&&n.find.TAG("*",u),_=x+=null==b?1:Math.random()||.1,k=w.length;for(u&&(c=r!==p&&r);g!==k&&null!=(h=w[g]);g++){if(o&&h){for(d=0;f=t[d++];)if(f(h,r,a)){l.push(h);break}u&&(x=_)}i&&((h=!f&&h)&&m--,s&&v.push(h))}if(m+=g,i&&g!==m){for(d=0;f=e[d++];)f(v,y,r,a);if(s){if(m>0)for(;g--;)v[g]||y[g]||(y[g]=P.call(l));y=yt(y)}L.apply(l,y),u&&!s&&y.length>0&&m+e.length>1&&ot.uniqueSort(l)}return u&&(x=_,c=b),v};return i?rt(s):s}return ft.prototype=n.filters=n.pseudos,n.setFilters=new ft,r=ot.tokenize=function(t,e){var i,o,s,r,a,l,c,u=T[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=n.preFilter;a;){for(r in(!i||(o=F.exec(a)))&&(o&&(a=a.slice(o[0].length)||a),l.push(s=[])),i=!1,(o=U.exec(a))&&(i=o.shift(),s.push({value:i,type:o[0].replace(q," ")}),a=a.slice(i.length)),n.filter)!(o=K[r].exec(a))||c[r]&&!(o=c[r](o))||(i=o.shift(),s.push({value:i,type:r,matches:o}),a=a.slice(i.length));if(!i)break}return e?a.length:a?ot.error(t):T(t,l).slice(0)},a=ot.compile=function(t,e){var i,n=[],o=[],s=S[t+" "];if(!s){for(e||(e=r(t)),i=e.length;i--;)(s=wt(e[i]))[w]?n.push(s):o.push(s);(s=S(t,_t(o,n))).selector=t}return s},l=ot.select=function(t,e,o,s){var l,c,u,h,d,p="function"==typeof t&&t,f=!s&&r(t=p.selector||t);if(o=o||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&i.getById&&9===e.nodeType&&m&&n.relative[c[1].type]){if(!(e=(n.find.ID(u.matches[0].replace(it,nt),e)||[])[0]))return o;p&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(l=K.needsContext.test(t)?0:c.length;l--&&(u=c[l],!n.relative[h=u.type]);)if((d=n.find[h])&&(s=d(u.matches[0].replace(it,nt),tt.test(c[0].type)&&pt(e.parentNode)||e))){if(c.splice(l,1),!(t=s.length&&mt(c)))return L.apply(o,s),o;break}}return(p||a(t,f))(s,e,!m,o,tt.test(t)&&pt(e.parentNode)||e),o},i.sortStable=w.split("").sort(E).join("")===w,i.detectDuplicates=!!h,d(),i.sortDetached=at(function(t){return 1&t.compareDocumentPosition(p.createElement("div"))}),at(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||lt("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),i.attributes&&at(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||lt("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),at(function(t){return null==t.getAttribute("disabled")})||lt(N,function(t,e,i){var n;return i?void 0:!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),ot}(t);d.find=y,d.expr=y.selectors,d.expr[":"]=d.expr.pseudos,d.unique=y.uniqueSort,d.text=y.getText,d.isXMLDoc=y.isXML,d.contains=y.contains;var b=d.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,_=/^.[^:#\[\.,]*$/;function x(t,e,i){if(d.isFunction(e))return d.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return d.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(_.test(e))return d.filter(e,t,i);e=d.filter(e,t)}return d.grep(t,function(t){return d.inArray(t,e)>=0!==i})}d.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?d.find.matchesSelector(n,t)?[n]:[]:d.find.matches(t,d.grep(e,function(t){return 1===t.nodeType}))},d.fn.extend({find:function(t){var e,i=[],n=this,o=n.length;if("string"!=typeof t)return this.pushStack(d(t).filter(function(){for(e=0;o>e;e++)if(d.contains(n[e],this))return!0}));for(e=0;o>e;e++)d.find(t,n[e],i);return(i=this.pushStack(o>1?d.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(x(this,t||[],!1))},not:function(t){return this.pushStack(x(this,t||[],!0))},is:function(t){return!!x(this,"string"==typeof t&&b.test(t)?d(t):t||[],!1).length}});var k,C=t.document,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(d.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:T.exec(t))||!i[1]&&e)return!e||e.jquery?(e||k).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof d?e[0]:e,d.merge(this,d.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:C,!0)),w.test(i[1])&&d.isPlainObject(e))for(i in e)d.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((n=C.getElementById(i[2]))&&n.parentNode){if(n.id!==i[2])return k.find(t);this.length=1,this[0]=n}return this.context=C,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):d.isFunction(t)?void 0!==k.ready?k.ready(t):t(d):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),d.makeArray(t,this))}).prototype=d.fn,k=d(C);var S=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};function A(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}d.extend({dir:function(t,e,i){for(var n=[],o=t[e];o&&9!==o.nodeType&&(void 0===i||1!==o.nodeType||!d(o).is(i));)1===o.nodeType&&n.push(o),o=o[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),d.fn.extend({has:function(t){var e,i=d(t,this),n=i.length;return this.filter(function(){for(e=0;n>e;e++)if(d.contains(this,i[e]))return!0})},closest:function(t,e){for(var i,n=0,o=this.length,s=[],r=b.test(t)||"string"!=typeof t?d(t,e||this.context):0;o>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&d.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?d.unique(s):s)},index:function(t){return t?"string"==typeof t?d.inArray(this[0],d(t)):d.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(d.unique(d.merge(this.get(),d(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),d.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return d.dir(t,"parentNode")},parentsUntil:function(t,e,i){return d.dir(t,"parentNode",i)},next:function(t){return A(t,"nextSibling")},prev:function(t){return A(t,"previousSibling")},nextAll:function(t){return d.dir(t,"nextSibling")},prevAll:function(t){return d.dir(t,"previousSibling")},nextUntil:function(t,e,i){return d.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return d.dir(t,"previousSibling",i)},siblings:function(t){return d.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return d.sibling(t.firstChild)},contents:function(t){return d.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:d.merge([],t.childNodes)}},function(t,e){d.fn[t]=function(i,n){var o=d.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=d.filter(n,o)),this.length>1&&(E[t]||(o=d.unique(o)),S.test(t)&&(o=o.reverse())),this.pushStack(o)}});var D,$=/\S+/g,O={};function P(){C.addEventListener?(C.removeEventListener("DOMContentLoaded",M,!1),t.removeEventListener("load",M,!1)):(C.detachEvent("onreadystatechange",M),t.detachEvent("onload",M))}function M(){(C.addEventListener||"load"===event.type||"complete"===C.readyState)&&(P(),d.ready())}d.Callbacks=function(t){t="string"==typeof t?O[t]||function(t){var e=O[t]={};return d.each(t.match($)||[],function(t,i){e[i]=!0}),e}(t):d.extend({},t);var e,i,n,o,s,r,a=[],l=!t.once&&[],c=function(h){for(i=t.memory&&h,n=!0,s=r||0,r=0,o=a.length,e=!0;a&&o>s;s++)if(!1===a[s].apply(h[0],h[1])&&t.stopOnFalse){i=!1;break}e=!1,a&&(l?l.length&&c(l.shift()):i?a=[]:u.disable())},u={add:function(){if(a){var n=a.length;!function e(i){d.each(i,function(i,n){var o=d.type(n);"function"===o?t.unique&&u.has(n)||a.push(n):n&&n.length&&"string"!==o&&e(n)})}(arguments),e?o=a.length:i&&(r=n,c(i))}return this},remove:function(){return a&&d.each(arguments,function(t,i){for(var n;(n=d.inArray(i,a,n))>-1;)a.splice(n,1),e&&(o>=n&&o--,s>=n&&s--)}),this},has:function(t){return t?d.inArray(t,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=l=i=void 0,this},disabled:function(){return!a},lock:function(){return l=void 0,i||u.disable(),this},locked:function(){return!l},fireWith:function(t,i){return!a||n&&!l||(i=[t,(i=i||[]).slice?i.slice():i],e?l.push(i):c(i)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},d.extend({Deferred:function(t){var e=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return d.Deferred(function(i){d.each(e,function(e,s){var r=d.isFunction(t[e])&&t[e];o[s[1]](function(){var t=r&&r.apply(this,arguments);t&&d.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s[0]+"With"](this===n?i.promise():this,r?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?d.extend(t,n):n}},o={};return n.pipe=n.then,d.each(e,function(t,s){var r=s[2],a=s[3];n[s[1]]=r.add,a&&r.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),o[s[0]]=function(){return o[s[0]+"With"](this===o?n:this,arguments),this},o[s[0]+"With"]=r.fireWith}),n.promise(o),t&&t.call(o,o),o},when:function(t){var e,i,o,s=0,r=n.call(arguments),a=r.length,l=1!==a||t&&d.isFunction(t.promise)?a:0,c=1===l?t:d.Deferred(),u=function(t,i,o){return function(s){i[t]=this,o[t]=arguments.length>1?n.call(arguments):s,o===e?c.notifyWith(i,o):--l||c.resolveWith(i,o)}};if(a>1)for(e=new Array(a),i=new Array(a),o=new Array(a);a>s;s++)r[s]&&d.isFunction(r[s].promise)?r[s].promise().done(u(s,o,r)).fail(c.reject).progress(u(s,i,e)):--l;return l||c.resolveWith(o,r),c.promise()}}),d.fn.ready=function(t){return d.ready.promise().done(t),this},d.extend({isReady:!1,readyWait:1,holdReady:function(t){t?d.readyWait++:d.ready(!0)},ready:function(t){if(!0===t?!--d.readyWait:!d.isReady){if(!C.body)return setTimeout(d.ready);d.isReady=!0,!0!==t&&--d.readyWait>0||(D.resolveWith(C,[d]),d.fn.triggerHandler&&(d(C).triggerHandler("ready"),d(C).off("ready")))}}}),d.ready.promise=function(e){if(!D)if(D=d.Deferred(),"complete"===C.readyState)setTimeout(d.ready);else if(C.addEventListener)C.addEventListener("DOMContentLoaded",M,!1),t.addEventListener("load",M,!1);else{C.attachEvent("onreadystatechange",M),t.attachEvent("onload",M);var i=!1;try{i=null==t.frameElement&&C.documentElement}catch(t){}i&&i.doScroll&&function t(){if(!d.isReady){try{i.doScroll("left")}catch(e){return setTimeout(t,50)}P(),d.ready()}}()}return D.promise(e)};var L,z="undefined";for(L in d(u))break;u.ownLast="0"!==L,u.inlineBlockNeedsLayout=!1,d(function(){var t,e,i,n;(i=C.getElementsByTagName("body")[0])&&i.style&&(e=C.createElement("div"),(n=C.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==z&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",u.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=C.createElement("div");if(null==u.deleteExpando){u.deleteExpando=!0;try{delete t.test}catch(t){u.deleteExpando=!1}}t=null}(),d.acceptData=function(t){var e=d.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return(1===i||9===i)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var j=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function I(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(N,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:j.test(i)?d.parseJSON(i):i)}catch(t){}d.data(t,e,i)}else i=void 0}return i}function H(t){var e;for(e in t)if(("data"!==e||!d.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function R(t,e,n,o){if(d.acceptData(t)){var s,r,a=d.expando,l=t.nodeType,c=l?d.cache:t,u=l?t[a]:t[a]&&a;if(u&&c[u]&&(o||c[u].data)||void 0!==n||"string"!=typeof e)return u||(u=l?t[a]=i.pop()||d.guid++:a),c[u]||(c[u]=l?{}:{toJSON:d.noop}),("object"==typeof e||"function"==typeof e)&&(o?c[u]=d.extend(c[u],e):c[u].data=d.extend(c[u].data,e)),r=c[u],o||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[d.camelCase(e)]=n),"string"==typeof e?null==(s=r[e])&&(s=r[d.camelCase(e)]):s=r,s}}function W(t,e,i){if(d.acceptData(t)){var n,o,s=t.nodeType,r=s?d.cache:t,a=s?t[d.expando]:d.expando;if(r[a]){if(e&&(n=i?r[a]:r[a].data)){d.isArray(e)?e=e.concat(d.map(e,d.camelCase)):e in n?e=[e]:e=(e=d.camelCase(e))in n?[e]:e.split(" "),o=e.length;for(;o--;)delete n[e[o]];if(i?!H(n):!d.isEmptyObject(n))return}(i||(delete r[a].data,H(r[a])))&&(s?d.cleanData([t],!0):u.deleteExpando||r!=r.window?delete r[a]:r[a]=null)}}}d.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?d.cache[t[d.expando]]:t[d.expando])&&!H(t)},data:function(t,e,i){return R(t,e,i)},removeData:function(t,e){return W(t,e)},_data:function(t,e,i){return R(t,e,i,!0)},_removeData:function(t,e){return W(t,e,!0)}}),d.fn.extend({data:function(t,e){var i,n,o,s=this[0],r=s&&s.attributes;if(void 0===t){if(this.length&&(o=d.data(s),1===s.nodeType&&!d._data(s,"parsedAttrs"))){for(i=r.length;i--;)r[i]&&(0===(n=r[i].name).indexOf("data-")&&I(s,n=d.camelCase(n.slice(5)),o[n]));d._data(s,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){d.data(this,t)}):arguments.length>1?this.each(function(){d.data(this,t,e)}):s?I(s,t,d.data(s,t)):void 0},removeData:function(t){return this.each(function(){d.removeData(this,t)})}}),d.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=d._data(t,e),i&&(!n||d.isArray(i)?n=d._data(t,e,d.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=d.queue(t,e),n=i.length,o=i.shift(),s=d._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,function(){d.dequeue(t,e)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return d._data(t,i)||d._data(t,i,{empty:d.Callbacks("once memory").add(function(){d._removeData(t,e+"queue"),d._removeData(t,i)})})}}),d.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.lengtha;a++)e(t[a],i,r?n:n.call(t[a],a,e(t[a],i)));return o?t:c?e.call(t):l?e(t[0],i):s},Y=/^(?:checkbox|radio)$/i;!function(){var t=C.createElement("input"),e=C.createElement("div"),i=C.createDocumentFragment();if(e.innerHTML="
a",u.leadingWhitespace=3===e.firstChild.nodeType,u.tbody=!e.getElementsByTagName("tbody").length,u.htmlSerialize=!!e.getElementsByTagName("link").length,u.html5Clone="<:nav>"!==C.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,i.appendChild(t),u.appendChecked=t.checked,e.innerHTML="",u.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,i.appendChild(e),e.innerHTML="",u.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,u.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){u.noCloneEvent=!1}),e.cloneNode(!0).click()),null==u.deleteExpando){u.deleteExpando=!0;try{delete e.test}catch(t){u.deleteExpando=!1}}}(),function(){var e,i,n=C.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(u[e+"Bubbles"]=i in t)||(n.setAttribute(i,"t"),u[e+"Bubbles"]=!1===n.attributes[i].expando);n=null}();var V=/^(?:input|select|textarea)$/i,X=/^key/,K=/^(?:mouse|pointer|contextmenu)|click/,Q=/^(?:focusinfocus|focusoutblur)$/,Z=/^([^.]*)(?:\.(.+)|)$/;function G(){return!0}function J(){return!1}function tt(){try{return C.activeElement}catch(t){}}function et(t){var e=it.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}d.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,p,f,m,g,v=d._data(t);if(v){for(i.handler&&(i=(l=i).handler,o=l.selector),i.guid||(i.guid=d.guid++),(r=v.events)||(r=v.events={}),(u=v.handle)||((u=v.handle=function(t){return typeof d===z||t&&d.event.triggered===t.type?void 0:d.event.dispatch.apply(u.elem,arguments)}).elem=t),a=(e=(e||"").match($)||[""]).length;a--;)f=g=(s=Z.exec(e[a])||[])[1],m=(s[2]||"").split(".").sort(),f&&(c=d.event.special[f]||{},f=(o?c.delegateType:c.bindType)||f,c=d.event.special[f]||{},h=d.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&d.expr.match.needsContext.test(o),namespace:m.join(".")},l),(p=r[f])||((p=r[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,m,u)||(t.addEventListener?t.addEventListener(f,u,!1):t.attachEvent&&t.attachEvent("on"+f,u))),c.add&&(c.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,h):p.push(h),d.event.global[f]=!0);t=null}},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,p,f,m,g,v=d.hasData(t)&&d._data(t);if(v&&(u=v.events)){for(c=(e=(e||"").match($)||[""]).length;c--;)if(f=g=(a=Z.exec(e[c])||[])[1],m=(a[2]||"").split(".").sort(),f){for(h=d.event.special[f]||{},p=u[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=p.length;s--;)r=p[s],!o&&g!==r.origType||i&&i.guid!==r.guid||a&&!a.test(r.namespace)||n&&n!==r.selector&&("**"!==n||!r.selector)||(p.splice(s,1),r.selector&&p.delegateCount--,h.remove&&h.remove.call(t,r));l&&!p.length&&(h.teardown&&!1!==h.teardown.call(t,m,v.handle)||d.removeEvent(t,f,v.handle),delete u[f])}else for(f in u)d.event.remove(t,f+e[c],i,n,!0);d.isEmptyObject(u)&&(delete v.handle,d._removeData(t,"events"))}},trigger:function(e,i,n,o){var s,r,a,l,u,h,p,f=[n||C],m=c.call(e,"type")?e.type:e,g=c.call(e,"namespace")?e.namespace.split("."):[];if(a=h=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Q.test(m+d.event.triggered)&&(m.indexOf(".")>=0&&(g=m.split("."),m=g.shift(),g.sort()),r=m.indexOf(":")<0&&"on"+m,(e=e[d.expando]?e:new d.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:d.makeArray(i,[e]),u=d.event.special[m]||{},o||!u.trigger||!1!==u.trigger.apply(n,i))){if(!o&&!u.noBubble&&!d.isWindow(n)){for(l=u.delegateType||m,Q.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),h=a;h===(n.ownerDocument||C)&&f.push(h.defaultView||h.parentWindow||t)}for(p=0;(a=f[p++])&&!e.isPropagationStopped();)e.type=p>1?l:u.bindType||m,(s=(d._data(a,"events")||{})[e.type]&&d._data(a,"handle"))&&s.apply(a,i),(s=r&&a[r])&&s.apply&&d.acceptData(a)&&(e.result=s.apply(a,i),!1===e.result&&e.preventDefault());if(e.type=m,!o&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(f.pop(),i))&&d.acceptData(n)&&r&&n[m]&&!d.isWindow(n)){(h=n[r])&&(n[r]=null),d.event.triggered=m;try{n[m]()}catch(t){}d.event.triggered=void 0,h&&(n[r]=h)}return e.result}},dispatch:function(t){t=d.event.fix(t);var e,i,o,s,r,a=[],l=n.call(arguments),c=(d._data(this,"events")||{})[t.type]||[],u=d.event.special[t.type]||{};if(l[0]=t,t.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(a=d.event.handlers.call(this,t,c),e=0;(s=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,r=0;(o=s.handlers[r++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(o.namespace))&&(t.handleObj=o,t.data=o.data,void 0!==(i=((d.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,l))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,o,s,r=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(o=[],s=0;a>s;s++)void 0===o[i=(n=e[s]).selector+" "]&&(o[i]=n.needsContext?d(i,this).index(l)>=0:d.find(i,this,null,[l]).length),o[i]&&o.push(n);o.length&&r.push({elem:l,handlers:o})}return a]","i"),st=/^\s+/,rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,at=/<([\w:]+)/,lt=/\s*$/g,mt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:u.htmlSerialize?[0,"",""]:[1,"X
","
"]},gt=et(C).appendChild(C.createElement("div"));function vt(t,e){var i,n,o=0,s=typeof t.getElementsByTagName!==z?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==z?t.querySelectorAll(e||"*"):void 0;if(!s)for(s=[],i=t.childNodes||t;null!=(n=i[o]);o++)!e||d.nodeName(n,e)?s.push(n):d.merge(s,vt(n,e));return void 0===e||e&&d.nodeName(t,e)?d.merge([t],s):s}function yt(t){Y.test(t.type)&&(t.defaultChecked=t.checked)}function bt(t,e){return d.nodeName(t,"table")&&d.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function wt(t){return t.type=(null!==d.find.attr(t,"type"))+"/"+t.type,t}function _t(t){var e=pt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function xt(t,e){for(var i,n=0;null!=(i=t[n]);n++)d._data(i,"globalEval",!e||d._data(e[n],"globalEval"))}function kt(t,e){if(1===e.nodeType&&d.hasData(t)){var i,n,o,s=d._data(t),r=d._data(e,s),a=s.events;if(a)for(i in delete r.handle,r.events={},a)for(n=0,o=a[i].length;o>n;n++)d.event.add(e,i,a[i][n]);r.data&&(r.data=d.extend({},r.data))}}function Ct(t,e){var i,n,o;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!u.noCloneEvent&&e[d.expando]){for(n in(o=d._data(e)).events)d.removeEvent(e,n,o.handle);e.removeAttribute(d.expando)}"script"===i&&e.text!==t.text?(wt(e).text=t.text,_t(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),u.html5Clone&&t.innerHTML&&!d.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&Y.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}mt.optgroup=mt.option,mt.tbody=mt.tfoot=mt.colgroup=mt.caption=mt.thead,mt.th=mt.td,d.extend({clone:function(t,e,i){var n,o,s,r,a,l=d.contains(t.ownerDocument,t);if(u.html5Clone||d.isXMLDoc(t)||!ot.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(gt.innerHTML=t.outerHTML,gt.removeChild(s=gt.firstChild)),!(u.noCloneEvent&&u.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||d.isXMLDoc(t)))for(n=vt(s),a=vt(t),r=0;null!=(o=a[r]);++r)n[r]&&Ct(o,n[r]);if(e)if(i)for(a=a||vt(t),n=n||vt(s),r=0;null!=(o=a[r]);r++)kt(o,n[r]);else kt(t,s);return(n=vt(s,"script")).length>0&&xt(n,!l&&vt(t,"script")),n=a=o=null,s},buildFragment:function(t,e,i,n){for(var o,s,r,a,l,c,h,p=t.length,f=et(e),m=[],g=0;p>g;g++)if((s=t[g])||0===s)if("object"===d.type(s))d.merge(m,s.nodeType?[s]:s);else if(ct.test(s)){for(a=a||f.appendChild(e.createElement("div")),l=(at.exec(s)||["",""])[1].toLowerCase(),h=mt[l]||mt._default,a.innerHTML=h[1]+s.replace(rt,"<$1>")+h[2],o=h[0];o--;)a=a.lastChild;if(!u.leadingWhitespace&&st.test(s)&&m.push(e.createTextNode(st.exec(s)[0])),!u.tbody)for(o=(s="table"!==l||lt.test(s)?""!==h[1]||lt.test(s)?0:a:a.firstChild)&&s.childNodes.length;o--;)d.nodeName(c=s.childNodes[o],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(d.merge(m,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=f.lastChild}else m.push(e.createTextNode(s));for(a&&f.removeChild(a),u.appendChecked||d.grep(vt(m,"input"),yt),g=0;s=m[g++];)if((!n||-1===d.inArray(s,n))&&(r=d.contains(s.ownerDocument,s),a=vt(f.appendChild(s),"script"),r&&xt(a),i))for(o=0;s=a[o++];)dt.test(s.type||"")&&i.push(s);return a=null,f},cleanData:function(t,e){for(var n,o,s,r,a=0,l=d.expando,c=d.cache,h=u.deleteExpando,p=d.event.special;null!=(n=t[a]);a++)if((e||d.acceptData(n))&&(r=(s=n[l])&&c[s])){if(r.events)for(o in r.events)p[o]?d.event.remove(n,o):d.removeEvent(n,o,r.handle);c[s]&&(delete c[s],h?delete n[l]:typeof n.removeAttribute!==z?n.removeAttribute(l):n[l]=null,i.push(s))}}}),d.fn.extend({text:function(t){return U(this,function(t){return void 0===t?d.text(this):this.empty().append((this[0]&&this[0].ownerDocument||C).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||bt(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=bt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?d.filter(t,this):this,o=0;null!=(i=n[o]);o++)e||1!==i.nodeType||d.cleanData(vt(i)),i.parentNode&&(e&&d.contains(i.ownerDocument,i)&&xt(vt(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&d.cleanData(vt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&d.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return d.clone(this,t,e)})},html:function(t){return U(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(nt,""):void 0;if(!("string"!=typeof t||ut.test(t)||!u.htmlSerialize&&ot.test(t)||!u.leadingWhitespace&&st.test(t)||mt[(at.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(rt,"<$1>");try{for(;n>i;i++)1===(e=this[i]||{}).nodeType&&(d.cleanData(vt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,d.cleanData(vt(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=o.apply([],t);var i,n,s,r,a,l,c=0,h=this.length,p=this,f=h-1,m=t[0],g=d.isFunction(m);if(g||h>1&&"string"==typeof m&&!u.checkClone&&ht.test(m))return this.each(function(i){var n=p.eq(i);g&&(t[0]=m.call(this,i,n.html())),n.domManip(t,e)});if(h&&(i=(l=d.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=i),i)){for(s=(r=d.map(vt(l,"script"),wt)).length;h>c;c++)n=l,c!==f&&(n=d.clone(n,!0,!0),s&&d.merge(r,vt(n,"script"))),e.call(this[c],n,c);if(s)for(a=r[r.length-1].ownerDocument,d.map(r,_t),c=0;s>c;c++)n=r[c],dt.test(n.type||"")&&!d._data(n,"globalEval")&&d.contains(a,n)&&(n.src?d._evalUrl&&d._evalUrl(n.src):d.globalEval((n.text||n.textContent||n.innerHTML||"").replace(ft,"")));l=i=null}return this}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){d.fn[t]=function(t){for(var i,n=0,o=[],r=d(t),a=r.length-1;a>=n;n++)i=n===a?this:this.clone(!0),d(r[n])[e](i),s.apply(o,i.get());return this.pushStack(o)}});var Tt,St={};function Et(e,i){var n,o=d(i.createElement(e)).appendTo(i.body),s=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(o[0]))?n.display:d.css(o[0],"display");return o.detach(),s}function At(t){var e=C,i=St[t];return i||("none"!==(i=Et(t,e))&&i||((e=((Tt=(Tt||d("':""),t._keyEvent=!1,z},_generateMonthYearHeader:function(t,e,i,n,o,s,r,a){var l=this._get(t,"changeMonth"),c=this._get(t,"changeYear"),u=this._get(t,"showMonthAfterYear"),h='
',d="";if(s||!l)d+=''+r[e]+"";else{var p=n&&n.getFullYear()==i,f=o&&o.getFullYear()==i;d+='"}if(u||(h+=d+(!s&&l&&c?"":" ")),!t.yearshtml)if(t.yearshtml="",s||!c)h+=''+i+"";else{var g=this._get(t,"yearRange").split(":"),v=(new Date).getFullYear(),y=function(t){var e=t.match(/c[+-].*/)?i+parseInt(t.substring(1),10):t.match(/[+-].*/)?v+parseInt(t,10):parseInt(t,10);return isNaN(e)?v:e},b=y(g[0]),w=Math.max(b,y(g[1]||""));for(b=n?Math.max(b,n.getFullYear()):b,w=o?Math.min(w,o.getFullYear()):w,t.yearshtml+='",h+=t.yearshtml,t.yearshtml=null}return h+=this._get(t,"yearSuffix"),u&&(h+=(!s&&l&&c?"":" ")+d),h+="
"},_adjustInstDate:function(t,e,i){var n=t.drawYear+("Y"==i?e:0),o=t.drawMonth+("M"==i?e:0),s=Math.min(t.selectedDay,this._getDaysInMonth(n,o))+("D"==i?e:0),r=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,o,s)));t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),("M"==i||"Y"==i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),o=i&&en?n:o},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var o=this._getNumberOfMonths(t),s=this._daylightSavingAdjust(new Date(i,n+(e<0?e:o[0]*o[1]),1));return e<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(t,s)},_isInRange:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max");return(!i||e.getTime()>=i.getTime())&&(!n||e.getTime()<=n.getTime())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var o=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),o,this._getFormatConfig(t))}}),$.fn.datepicker=function(t){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!=t&&"getDate"!=t&&"widget"!=t?"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this].concat(e)):$.datepicker._attachDatepicker(this,t)}):$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this[0]].concat(e))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.2",window["DP_jQuery_"+dpuuid]=$}(jQuery),function(t,e){var i="ui-dialog ui-widget ui-widget-content ui-corner-all ",n={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},o={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.9.2",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;i<0&&t(this).css("top",e.top-i)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),"string"!=typeof this.originalTitle&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var e,n,o,s,r,a=this,l=this.options,c=l.title||" ";e=(this.uiDialog=t("
")).addClass(i+l.dialogClass).css({display:"none",outline:0,zIndex:l.zIndex}).attr("tabIndex",-1).keydown(function(e){l.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE&&(a.close(e),e.preventDefault())}).mousedown(function(t){a.moveToTop(!1,t)}).appendTo("body"),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(e),n=(this.uiDialogTitlebar=t("
")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").bind("mousedown",function(){e.focus()}).prependTo(e),o=t("").addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").click(function(t){t.preventDefault(),a.close(t)}).appendTo(n),(this.uiDialogTitlebarCloseText=t("")).addClass("ui-icon ui-icon-closethick").text(l.closeText).appendTo(o),s=t("").uniqueId().addClass("ui-dialog-title").html(c).prependTo(n),r=(this.uiDialogButtonPane=t("
")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),(this.uiButtonSet=t("
")).addClass("ui-dialog-buttonset").appendTo(r),e.attr({role:"dialog","aria-labelledby":s.attr("id")}),n.find("*").add(n).disableSelection(),this._hoverable(o),this._focusable(o),l.draggable&&t.fn.draggable&&this._makeDraggable(),l.resizable&&t.fn.resizable&&this._makeResizable(),this._createButtons(l.buttons),this._isOpen=!1,t.fn.bgiframe&&e.bgiframe(),this._on(e,{keydown:function(i){if(l.modal&&i.keyCode===t.ui.keyCode.TAB){var n=t(":tabbable",e),o=n.filter(":first"),s=n.filter(":last");return i.target!==s[0]||i.shiftKey?i.target===o[0]&&i.shiftKey?(s.focus(1),!1):void 0:(o.focus(1),!1)}}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var t,e=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(e){var i,n,o=this;if(this._isOpen&&!1!==this._trigger("beforeClose",e))return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this._hide(this.uiDialog,this.options.hide,function(){o._trigger("close",e)}):(this.uiDialog.hide(),this._trigger("close",e)),t.ui.dialog.overlay.resize(),this.options.modal&&(i=0,t(".ui-dialog").each(function(){this!==o.uiDialog[0]&&(n=t(this).css("z-index"),isNaN(n)||(i=Math.max(i,n)))}),t.ui.dialog.maxZ=i),this},isOpen:function(){return this._isOpen},moveToTop:function(e,i){var n,o=this.options;return o.modal&&!e||!o.stack&&!o.modal?this._trigger("focus",i):(o.zIndex>t.ui.dialog.maxZ&&(t.ui.dialog.maxZ=o.zIndex),this.overlay&&(t.ui.dialog.maxZ+=1,t.ui.dialog.overlay.maxZ=t.ui.dialog.maxZ,this.overlay.$el.css("z-index",t.ui.dialog.overlay.maxZ)),n={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},t.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",t.ui.dialog.maxZ),this.element.attr(n),this._trigger("focus",i),this)},open:function(){if(!this._isOpen){var e,i=this.options,n=this.uiDialog;return this._size(),this._position(i.position),n.show(i.show),this.overlay=i.modal?new t.ui.dialog.overlay(this):null,this.moveToTop(!0),(e=this.element.find(":tabbable")).length||((e=this.uiDialogButtonPane.find(":tabbable")).length||(e=n)),e.eq(0).focus(),this._isOpen=!0,this._trigger("open"),this}},_createButtons:function(e){var i=this,n=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),"object"==typeof e&&null!==e&&t.each(e,function(){return!(n=!0)}),n?(t.each(e,function(e,n){var o,s;n=t.isFunction(n)?{click:n,text:e}:n,n=t.extend({type:"button"},n),s=n.click,n.click=function(){s.apply(i.element[0],arguments)},o=t("",n).appendTo(i.uiButtonSet),t.fn.button&&o.button()}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)):this.uiDialog.removeClass("ui-dialog-buttons")},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,n=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(n,o){t(this).addClass("ui-dialog-dragging"),i._trigger("dragStart",n,e(o))},drag:function(t,n){i._trigger("drag",t,e(n))},stop:function(o,s){n.position=[s.position.left-i.document.scrollLeft(),s.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._trigger("dragStop",o,e(s)),t.ui.dialog.overlay.resize()}})},_makeResizable:function(e){function i(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}e=void 0===e?this.options.resizable:e;var n=this,o=this.options,s=this.uiDialog.css("position"),r="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:r,start:function(e,o){t(this).addClass("ui-dialog-resizing"),n._trigger("resizeStart",e,i(o))},resize:function(t,e){n._trigger("resize",t,i(e))},stop:function(e,s){t(this).removeClass("ui-dialog-resizing"),o.height=t(this).height(),o.width=t(this).width(),n._trigger("resizeStop",e,i(s)),t.ui.dialog.overlay.resize()}}).css("position",s).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(e){var i,n=[],o=[0,0];e?(("string"==typeof e||"object"==typeof e&&"0"in e)&&(1===(n=e.split?e.split(" "):[e[0],e[1]]).length&&(n[1]=n[0]),t.each(["left","top"],function(t,e){+n[t]===n[t]&&(o[t]=n[t],n[t]=e)}),e={my:n[0]+(o[0]<0?o[0]:"+"+o[0])+" "+n[1]+(o[1]<0?o[1]:"+"+o[1]),at:n.join(" ")}),e=t.extend({},t.ui.dialog.prototype.options.position,e)):e=t.ui.dialog.prototype.options.position,(i=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.position(e),i||this.uiDialog.hide()},_setOptions:function(e){var i=this,s={},r=!1;t.each(e,function(t,e){i._setOption(t,e),t in n&&(r=!0),t in o&&(s[t]=e)}),r&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,n){var o,s,r=this.uiDialog;switch(e){case"buttons":this._createButtons(n);break;case"closeText":this.uiDialogTitlebarCloseText.text(""+n);break;case"dialogClass":r.removeClass(this.options.dialogClass).addClass(i+n);break;case"disabled":n?r.addClass("ui-dialog-disabled"):r.removeClass("ui-dialog-disabled");break;case"draggable":(o=r.is(":data(draggable)"))&&!n&&r.draggable("destroy"),!o&&n&&this._makeDraggable();break;case"position":this._position(n);break;case"resizable":(s=r.is(":data(resizable)"))&&!n&&r.resizable("destroy"),s&&"string"==typeof n&&r.resizable("option","handles",n),!s&&!1!==n&&this._makeResizable(n);break;case"title":t(".ui-dialog-title",this.uiDialogTitlebar).html(""+(n||" "))}this._super(e,n)},_size:function(){var e,i,n,o=this.options,s=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),o.minWidth>o.width&&(o.width=o.minWidth),e=this.uiDialog.css({height:"auto",width:o.width}).outerHeight(),i=Math.max(0,o.minHeight-e),"auto"===o.height?t.support.minHeight?this.element.css({minHeight:i,height:"auto"}):(this.uiDialog.show(),n=this.element.css("height","auto").height(),s||this.uiDialog.hide(),this.element.height(Math.max(n,i))):this.element.height(Math.max(o.height-e,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),t.extend(t.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(t){var e=t.attr("id");return e||(this.uuid+=1,e=this.uuid),"ui-dialog-title-"+e},overlay:function(e){this.$el=t.ui.dialog.overlay.create(e)}}),t.extend(t.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:t.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(t){return t+".dialog-overlay"}).join(" "),create:function(e){0===this.instances.length&&(setTimeout(function(){t.ui.dialog.overlay.instances.length&&t(document).bind(t.ui.dialog.overlay.events,function(e){if(t(e.target).zIndex()").addClass("ui-widget-overlay");return t(document).bind("keydown.dialog-overlay",function(n){var o=t.ui.dialog.overlay.instances;0!==o.length&&o[o.length-1]===i&&e.options.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===t.ui.keyCode.ESCAPE&&(e.close(n),n.preventDefault())}),i.appendTo(document.body).css({width:this.width(),height:this.height()}),t.fn.bgiframe&&i.bgiframe(),this.instances.push(i),i},destroy:function(e){var i=t.inArray(e,this.instances),n=0;-1!==i&&this.oldInstances.push(this.instances.splice(i,1)[0]),0===this.instances.length&&t([document,window]).unbind(".dialog-overlay"),e.height(0).width(0).remove(),t.each(this.instances,function(){n=Math.max(n,this.css("z-index"))}),this.maxZ=n},height:function(){var e;return t.ui.ie?(e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight))1&&b.splice.apply(b,[1,0].concat(b.splice(w,f+1))),r.dequeue()}}(jQuery),function(t,e){t.effects.effect.clip=function(e,i){var n,o,s,r=t(this),a=["position","top","bottom","left","right","height","width"],l="show"===t.effects.setMode(r,e.mode||"hide"),c="vertical"===(e.direction||"vertical"),u=c?"height":"width",h=c?"top":"left",d={};t.effects.save(r,a),r.show(),n=t.effects.createWrapper(r).css({overflow:"hidden"}),s=(o="IMG"===r[0].tagName?n:r)[u](),l&&(o.css(u,0),o.css(h,s/2)),d[u]=l?s:0,d[h]=l?0:s/2,o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||r.hide(),t.effects.restore(r,a),t.effects.removeWrapper(r),i()}})}}(jQuery),function(t,e){t.effects.effect.drop=function(e,i){var n,o=t(this),s=["position","top","bottom","left","right","opacity","height","width"],r=t.effects.setMode(o,e.mode||"hide"),a="show"===r,l=e.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l?"pos":"neg",h={opacity:a?1:0};t.effects.save(o,s),o.show(),t.effects.createWrapper(o),n=e.distance||o["top"===c?"outerHeight":"outerWidth"](!0)/2,a&&o.css("opacity",0).css(c,"pos"===u?-n:n),h[c]=(a?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+n,o.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===r&&o.hide(),t.effects.restore(o,s),t.effects.removeWrapper(o),i()}})}}(jQuery),function(t,e){t.effects.effect.explode=function(e,i){function n(){v.push(this),v.length===u*h&&(d.css({visibility:"visible"}),t(v).remove(),p||d.hide(),i())}var o,s,r,a,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,h=u,d=t(this),p="show"===t.effects.setMode(d,e.mode||"hide"),f=d.show().css("visibility","hidden").offset(),m=Math.ceil(d.outerWidth()/h),g=Math.ceil(d.outerHeight()/u),v=[];for(o=0;o
").css({position:"absolute",visibility:"visible",left:-s*m,top:-o*g}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:m,height:g,left:r+(p?l*m:0),top:a+(p?c*g:0),opacity:p?0:1}).animate({left:r+(p?0:l*m),top:a+(p?0:c*g),opacity:p?1:0},e.duration||500,e.easing,n)}}(jQuery),function(t,e){t.effects.effect.fade=function(e,i){var n=t(this),o=t.effects.setMode(n,e.mode||"toggle");n.animate({opacity:o},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(jQuery),function(t,e){t.effects.effect.fold=function(e,i){var n,o,s=t(this),r=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(s,e.mode||"hide"),l="show"===a,c="hide"===a,u=e.size||15,h=/([0-9]+)%/.exec(u),d=!!e.horizFirst,p=l!==d,f=p?["width","height"]:["height","width"],m=e.duration/2,g={},v={};t.effects.save(s,r),s.show(),n=t.effects.createWrapper(s).css({overflow:"hidden"}),o=p?[n.width(),n.height()]:[n.height(),n.width()],h&&(u=parseInt(h[1],10)/100*o[c?0:1]),l&&n.css(d?{height:0,width:u}:{height:u,width:0}),g[f[0]]=l?o[0]:u,v[f[1]]=l?o[1]:0,n.animate(g,m,e.easing).animate(v,m,e.easing,function(){c&&s.hide(),t.effects.restore(s,r),t.effects.removeWrapper(s),i()})}}(jQuery),function(t,e){t.effects.effect.highlight=function(e,i){var n=t(this),o=["backgroundImage","backgroundColor","opacity"],s=t.effects.setMode(n,e.mode||"show"),r={backgroundColor:n.css("backgroundColor")};"hide"===s&&(r.opacity=0),t.effects.save(n,o),n.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===s&&n.hide(),t.effects.restore(n,o),i()}})}}(jQuery),function(t,e){t.effects.effect.pulsate=function(e,i){var n,o=t(this),s=t.effects.setMode(o,e.mode||"show"),r="show"===s,a="hide"===s,l=r||"hide"===s,c=2*(e.times||5)+(l?1:0),u=e.duration/c,h=0,d=o.queue(),p=d.length;for(!r&&o.is(":visible")||(o.css("opacity",0).show(),h=1),n=1;n1&&d.splice.apply(d,[1,0].concat(d.splice(p,c+1))),o.dequeue()}}(jQuery),function(t,e){t.effects.effect.puff=function(e,i){var n=t(this),o=t.effects.setMode(n,e.mode||"hide"),s="hide"===o,r=parseInt(e.percent,10)||150,a=r/100,l={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:o,complete:i,percent:s?r:100,from:s?l:{height:l.height*a,width:l.width*a,outerHeight:l.outerHeight*a,outerWidth:l.outerWidth*a}}),n.effect(e)},t.effects.effect.scale=function(e,i){var n=t(this),o=t.extend(!0,{},e),s=t.effects.setMode(n,e.mode||"effect"),r=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===s?0:100),a=e.direction||"both",l=e.origin,c={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()},u="horizontal"!==a?r/100:1,h="vertical"!==a?r/100:1;o.effect="size",o.queue=!1,o.complete=i,"effect"!==s&&(o.origin=l||["middle","center"],o.restore=!0),o.from=e.from||("show"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:c),o.to={height:c.height*u,width:c.width*h,outerHeight:c.outerHeight*u,outerWidth:c.outerWidth*h},o.fade&&("show"===s&&(o.from.opacity=0,o.to.opacity=1),"hide"===s&&(o.from.opacity=1,o.to.opacity=0)),n.effect(o)},t.effects.effect.size=function(e,i){var n,o,s,r=t(this),a=["position","top","bottom","left","right","width","height","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],h=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],d=t.effects.setMode(r,e.mode||"effect"),p=e.restore||"effect"!==d,f=e.scale||"both",m=e.origin||["middle","center"],g=r.css("position"),v=p?a:["position","top","bottom","left","right","overflow","opacity"],y={height:0,width:0,outerHeight:0,outerWidth:0};"show"===d&&r.show(),n={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},"toggle"===e.mode&&"show"===d?(r.from=e.to||y,r.to=e.from||n):(r.from=e.from||("show"===d?y:n),r.to=e.to||("hide"===d?y:n)),s={from:{y:r.from.height/n.height,x:r.from.width/n.width},to:{y:r.to.height/n.height,x:r.to.width/n.width}},"box"!==f&&"both"!==f||(s.from.y!==s.to.y&&(v=v.concat(u),r.from=t.effects.setTransition(r,u,s.from.y,r.from),r.to=t.effects.setTransition(r,u,s.to.y,r.to)),s.from.x!==s.to.x&&(v=v.concat(h),r.from=t.effects.setTransition(r,h,s.from.x,r.from),r.to=t.effects.setTransition(r,h,s.to.x,r.to))),("content"===f||"both"===f)&&s.from.y!==s.to.y&&(v=v.concat(c).concat(l),r.from=t.effects.setTransition(r,c,s.from.y,r.from),r.to=t.effects.setTransition(r,c,s.to.y,r.to)),t.effects.save(r,v),r.show(),t.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),m&&(o=t.effects.getBaseline(m,n),r.from.top=(n.outerHeight-r.outerHeight())*o.y,r.from.left=(n.outerWidth-r.outerWidth())*o.x,r.to.top=(n.outerHeight-r.to.outerHeight)*o.y,r.to.left=(n.outerWidth-r.to.outerWidth)*o.x),r.css(r.from),"content"!==f&&"both"!==f||(u=u.concat(["marginTop","marginBottom"]).concat(c),h=h.concat(["marginLeft","marginRight"]),l=a.concat(u).concat(h),r.find("*[width]").each(function(){var i=t(this),n=i.height(),o=i.width(),r=i.outerHeight(),a=i.outerWidth();p&&t.effects.save(i,l),i.from={height:n*s.from.y,width:o*s.from.x,outerHeight:r*s.from.y,outerWidth:a*s.from.x},i.to={height:n*s.to.y,width:o*s.to.x,outerHeight:n*s.to.y,outerWidth:o*s.to.x},s.from.y!==s.to.y&&(i.from=t.effects.setTransition(i,u,s.from.y,i.from),i.to=t.effects.setTransition(i,u,s.to.y,i.to)),s.from.x!==s.to.x&&(i.from=t.effects.setTransition(i,h,s.from.x,i.from),i.to=t.effects.setTransition(i,h,s.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){p&&t.effects.restore(i,l)})})),r.animate(r.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===r.to.opacity&&r.css("opacity",r.from.opacity),"hide"===d&&r.hide(),t.effects.restore(r,v),p||("static"===g?r.css({position:"relative",top:r.to.top,left:r.to.left}):t.each(["top","left"],function(t,e){r.css(e,function(e,i){var n=parseInt(i,10),o=t?r.to.left:r.to.top;return"auto"===i?o+"px":n+o+"px"})})),t.effects.removeWrapper(r),i()}})}}(jQuery),function(t,e){t.effects.effect.shake=function(e,i){var n,o=t(this),s=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(o,e.mode||"effect"),a=e.direction||"left",l=e.distance||20,c=e.times||3,u=2*c+1,h=Math.round(e.duration/u),d="up"===a||"down"===a?"top":"left",p="up"===a||"left"===a,f={},m={},g={},v=o.queue(),y=v.length;for(t.effects.save(o,s),o.show(),t.effects.createWrapper(o),f[d]=(p?"-=":"+=")+l,m[d]=(p?"+=":"-=")+2*l,g[d]=(p?"-=":"+=")+2*l,o.animate(f,h,e.easing),n=1;n1&&v.splice.apply(v,[1,0].concat(v.splice(y,u+1))),o.dequeue()}}(jQuery),function(t,e){t.effects.effect.slide=function(e,i){var n,o=t(this),s=["position","top","bottom","left","right","width","height"],r=t.effects.setMode(o,e.mode||"show"),a="show"===r,l=e.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,h={};t.effects.save(o,s),o.show(),n=e.distance||o["top"===c?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(o).css({overflow:"hidden"}),a&&o.css(c,u?isNaN(n)?"-"+n:-n:n),h[c]=(a?u?"+=":"-=":u?"-=":"+=")+n,o.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===r&&o.hide(),t.effects.restore(o,s),t.effects.removeWrapper(o),i()}})}}(jQuery),function(t,e){t.effects.effect.transfer=function(e,i){var n=t(this),o=t(e.to),s="fixed"===o.css("position"),r=t("body"),a=s?r.scrollTop():0,l=s?r.scrollLeft():0,c=o.offset(),u={top:c.top-a,left:c.left-l,height:o.innerHeight(),width:o.innerWidth()},h=n.offset(),d=t('
').appendTo(document.body).addClass(e.className).css({top:h.top-a,left:h.left-l,height:n.innerHeight(),width:n.innerWidth(),position:s?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){d.remove(),i()})}}(jQuery),function(t,e){var i=!1;t.widget("ui.menu",{version:"1.9.2",defaultElement:"
    ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var n=t(e.target).closest(".ui-menu-item");!i&&n.not(".ui-state-disabled").length&&(i=!0,this.select(e),n.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),i=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var n,o,s,r,a,l=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:l=!1,o=this.previousFilter||"",s=String.fromCharCode(e.keyCode),r=!1,clearTimeout(this.filterTimer),s===o?r=!0:s=o+s,a=new RegExp("^"+i(s),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return a.test(t(this).children("a").text())}),(n=r&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n).length||(s=String.fromCharCode(e.keyCode),a=new RegExp("^"+i(s),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return a.test(t(this).children("a").text())})),n.length?(this.focus(e,n),n.length>1?(this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}l&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,n=this.element.find(this.options.menus);n.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),n=e.prev("a"),o=t("").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);n.attr("aria-haspopup","true").prepend(o),e.attr("aria-labelledby",n.attr("id"))}),(e=n.add(this.element)).children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-—–\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(t,e){var i,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,n,o,s,r,a;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,o=e.offset().top-this.activeMenu.offset().top-i-n,s=this.activeMenu.scrollTop(),r=this.activeMenu.height(),a=e.height(),o<0?this.activeMenu.scrollTop(s+o):o+a>r&&this.activeMenu.scrollTop(s+o-r+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(e),this.activeMenu=n},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,n)},nextPage:function(e){var i,n,o;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n-o<0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var i,n,o;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n+o>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()
"),r=s.children()[0];return t("body").append(s),i=r.offsetWidth,s.css("overflow","scroll"),i===(n=r.offsetWidth)&&(n=s[0].clientWidth),s.remove(),o=i-n},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),n=e.isWindow?"":e.element.css("overflow-y"),o="scroll"===i||"auto"===i&&e.width0?"right":"center",vertical:a<0?"top":o>0?"bottom":"middle"};ds(r(o),r(a))?l.important="horizontal":l.important="vertical",e.using.call(this,t,l)}),u.offset(t.extend(S,{using:c}))})},t.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,r=n.width,a=t.left-e.collisionPosition.marginLeft,l=o-a,c=a+e.collisionWidth-r-o;e.collisionWidth>r?l>0&&c<=0?(i=t.left+l+e.collisionWidth-r-o,t.left+=l-i):t.left=c>0&&l<=0?o:l>c?o+r-e.collisionWidth:o:l>0?t.left+=l:c>0?t.left-=c:t.left=s(t.left-a,t.left)},top:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollTop:n.offset.top,r=e.within.height,a=t.top-e.collisionPosition.marginTop,l=o-a,c=a+e.collisionHeight-r-o;e.collisionHeight>r?l>0&&c<=0?(i=t.top+l+e.collisionHeight-r-o,t.top+=l-i):t.top=c>0&&l<=0?o:l>c?o+r-e.collisionHeight:o:l>0?t.top+=l:c>0?t.top-=c:t.top=s(t.top-a,t.top)}},flip:{left:function(t,e){var i,n,o=e.within,s=o.offset.left+o.scrollLeft,a=o.width,l=o.isWindow?o.scrollLeft:o.offset.left,c=t.left-e.collisionPosition.marginLeft,u=c-l,h=c+e.collisionWidth-a-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];u<0?((i=t.left+d+p+f+e.collisionWidth-a-s)<0||i0&&((n=t.left-e.collisionPosition.marginLeft+d+p+f-l)>0||r(n)u&&(n<0||n0&&(i=t.top-e.collisionPosition.marginTop+d+p+f-l,t.top+d+p+f>h&&(i>0||r(i)10&&o<11,e.innerHTML="",i.removeChild(e)}(),!1!==t.uiBackCompat&&function(t){var i=t.fn.position;t.fn.position=function(n){if(!n||!n.offset)return i.call(this,n);var o=n.offset.split(" "),s=n.at.split(" ");return 1===o.length&&(o[1]=o[0]),/^\d/.test(o[0])&&(o[0]="+"+o[0]),/^\d/.test(o[1])&&(o[1]="+"+o[1]),1===s.length&&(/left|center|right/.test(s[0])?s[1]="center":(s[1]=s[0],s[0]="center")),i.call(this,t.extend(n,{at:s[0]+o[0]+" "+s[1]+o[1],offset:e}))}}(jQuery)}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.9.2",options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=t("
").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this._value():(this._setOption("value",t),this)},_setOption:function(t,e){"value"===t&&(this.options.value=e,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(t,e)},_value:function(){var t=this.options.value;return"number"!=typeof t&&(t=0),Math.min(this.options.max,Math.max(this.min,t))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var t=this.value(),e=this._percentage();this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),this.valueDiv.toggle(t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.attr("aria-valuenow",t)}})}(jQuery),function(t,e){t.widget("ui.slider",t.ui.mouse,{version:"1.9.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var e,i,n=this.options,o=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),s=[];for(this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(n.disabled?" ui-slider-disabled ui-disabled":"")),this.range=t([]),n.range&&(!0===n.range&&(n.values||(n.values=[this._valueMin(),this._valueMin()]),n.values.length&&2!==n.values.length&&(n.values=[n.values[0],n.values[0]])),this.range=t("
").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===n.range||"max"===n.range?" ui-slider-range-"+n.range:""))),i=n.values&&n.values.length||1,e=o.length;e");this.handles=o.add(t(s.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).mouseenter(function(){n.disabled||t(this).addClass("ui-state-hover")}).mouseleave(function(){t(this).removeClass("ui-state-hover")}).focus(function(){n.disabled?t(this).blur():(t(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),t(this).addClass("ui-state-focus"))}).blur(function(){t(this).removeClass("ui-state-focus")}),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)}),this._on(this.handles,{keydown:function(e){var i,n,o,s=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(e.target).addClass("ui-state-active"),!1===this._start(e,s)))return}switch(o=this.options.step,i=n=this.options.values&&this.options.values.length?this.values(s):this.value(),e.keyCode){case t.ui.keyCode.HOME:n=this._valueMin();break;case t.ui.keyCode.END:n=this._valueMax();break;case t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/5);break;case t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/5);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===this._valueMax())return;n=this._trimAlignValue(i+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===this._valueMin())return;n=this._trimAlignValue(i-o)}this._slide(e,s,n)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,n,o,s,r,a,l,c=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(i),o=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(n-c.values(e));o>i&&(o=i,s=t(this),r=e)}),!0===u.range&&this.values(1)===u.min&&(r+=1,s=t(this.handles[r])),!1!==this._start(e,r)&&(this._mouseSliding=!0,this._handleIndex=r,s.addClass("ui-state-active").focus(),a=s.offset(),l=!t(e.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-a.left-s.width()/2,top:e.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,r,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,o,s;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(n=i/e)>1&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),o=this._valueMax()-this._valueMin(),s=this._valueMin()+n*o,this._trimAlignValue(s)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var n,o,s;this.options.values&&this.options.values.length?(n=this.values(e?0:1),2===this.options.values.length&&!0===this.options.range&&(0===e&&i>n||1===e&&i1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(n=this.options.values,o=arguments[0],s=0;s=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=i>0?e:-e),parseFloat(n.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,n,o,s,r=this.options.range,a=this.options,l=this,c=!this._animateOff&&a.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[c?"animate":"css"](u,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===n&&l.range.stop(1,1)[c?"animate":"css"]({left:i+"%"},a.animate),1===n&&l.range[c?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:a.animate})):(0===n&&l.range.stop(1,1)[c?"animate":"css"]({bottom:i+"%"},a.animate),1===n&&l.range[c?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:a.animate}))),e=i}):(n=this.value(),o=this._valueMin(),s=this._valueMax(),i=s!==o?(n-o)/(s-o)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[c?"animate":"css"](u,a.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:i+"%"},a.animate),"max"===r&&"horizontal"===this.orientation&&this.range[c?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:a.animate}),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:i+"%"},a.animate),"max"===r&&"vertical"===this.orientation&&this.range[c?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:a.animate}))}})}(jQuery),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.9.2",defaultElement:"",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,n){var o=i.attr(n);void 0!==o&&o.length&&(e[n]=o)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e)return!(!this.spinning&&!this._start(t))&&(this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),void t.preventDefault())},"mousedown .ui-spinner-button":function(e){function i(){this.element[0]===this.document[0].activeElement||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(e)&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(t(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,i.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return i=t-(e=null!==n.min?n.min:0),t=e+(i=Math.round(i/n.step)*n.step),t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t1&&t.href.replace(s,"")===location.href.replace(s,"").replace(/\s/g,"%20")}var o=0,s=/#.*$/;t.widget("ui.tabs",{version:"1.9.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options,n=i.active,o=location.hash.substring(1);this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),null===n&&(o&&this.tabs.each(function(e,i){if(t(i).attr("aria-controls")===o)return n=e,!1}),null===n&&(n=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==n&&-1!==n||(n=!!this.tabs.length&&0)),!1!==n&&(-1===(n=this.tabs.index(this.tabs.eq(n)))&&(n=!i.collapsible&&0)),i.active=n,!i.collapsible&&!1===i.active&&this.anchors.length&&(i.active=0),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=t(),this._refresh(),this.active.length&&this.load(i.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(i),o=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),e.ctrlKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){for(var n=this.tabs.length-1;-1!==t.inArray((e>n&&(e=0),e<0&&(e=n),e),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,e){"active"!==t?"disabled"!==t?(this._super(t,e),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",e),!e&&!1===this.options.active&&this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._setupDisabled(e):this._activate(e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,o){var s,r,a,l=t(o).uniqueId().attr("id"),c=t(o).closest("li"),u=c.attr("aria-controls");n(o)?(s=o.hash,r=e.element.find(e._sanitizeSelector(s))):(s="#"+(a=e._tabId(c)),(r=e.element.find(s)).length||(r=e._createPanel(a)).insertAfter(e.panels[i-1]||e.tablist),r.attr("aria-live","polite")),r.length&&(e.panels=e.panels.add(r)),u&&c.data("ui-tabs-aria-controls",u),c.attr({"aria-controls":s.substring(1),"aria-labelledby":l}),r.attr("aria-labelledby",l)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("
").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,n=0;i=this.tabs[n];n++)!0===e||-1!==t.inArray(n,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,n,o=this.element.parent();"fill"===e?(t.support.minHeight||(n=o.css("overflow"),o.css("overflow","hidden")),i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),n=e.css("position");"absolute"!==n&&"fixed"!==n&&(i-=e.outerHeight(!0))}),n&&o.css("overflow",n),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,n=this.active,o=t(e.currentTarget).closest("li"),s=o[0]===n[0],r=s&&i.collapsible,a=r?t():this._getPanelForTab(o),l=n.length?this._getPanelForTab(n):t(),c={oldTab:n,oldPanel:l,newTab:r?t():o,newPanel:a};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||s&&!i.collapsible||!1===this._trigger("beforeActivate",e,c)||(i.active=!r&&this.tabs.index(o),this.active=s?t():o,this.xhr&&this.xhr.abort(),!l.length&&!a.length&&t.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function n(){s.running=!1,s._trigger("activate",e,i)}function o(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),r.length&&s.options.show?s._show(r,s.options.show,n):(r.show(),n())}var s=this,r=i.newPanel,a=i.oldPanel;this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),o()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),a.hide(),o()),a.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),r.length&&a.length?i.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),r.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),i=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var n=this.options.disabled;!1!==n&&(i===e?n=!1:(i=this._getIndex(i),n=t.isArray(n)?t.map(n,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(n))},disable:function(i){var n=this.options.disabled;if(!0!==n){if(i===e)n=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,n))return;n=t.isArray(n)?t.merge([i],n).sort():[i]}this._setupDisabled(n)}},load:function(e,i){e=this._getIndex(e);var o=this,s=this.tabs.eq(e),r=s.find(".ui-tabs-anchor"),a=this._getPanelForTab(s),l={tab:s,panel:a};n(r[0])||(this.xhr=t.ajax(this._ajaxSettings(r,i,l)),this.xhr&&"canceled"!==this.xhr.statusText&&(s.addClass("ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){a.html(t),o._trigger("load",i,l)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&o.panels.stop(!1,!0),s.removeClass("ui-tabs-loading"),a.removeAttr("aria-busy"),t===o.xhr&&delete o.xhr},1)})))},_ajaxSettings:function(e,i,n){var o=this;return{url:e.attr("href"),beforeSend:function(e,s){return o._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:s},n))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),!1!==t.uiBackCompat&&(t.ui.tabs.prototype._ui=function(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},t.widget("ui.tabs",t.ui.tabs,{url:function(t,e){this.anchors.eq(t).attr("href",e)}}),t.widget("ui.tabs",t.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var e=this;this._on({tabsbeforeload:function(i,n){t.data(n.tab[0],"cache.tabs")?i.preventDefault():n.jqXHR.success(function(){e.options.cache&&t.data(n.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(e,i,n){var o=this.options.ajaxOptions;return t.extend({},o,{error:function(t,e){try{o.error(t,e,n.tab.closest("li").index(),n.tab[0])}catch(t){}}},this._superApply(arguments))},_setOption:function(t,e){"cache"===t&&!1===e&&this.anchors.removeData("cache.tabs"),this._super(t,e)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(t){this.anchors.eq(t).removeData("cache.tabs"),this._superApply(arguments)}}),t.widget("ui.tabs",t.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),t.widget("ui.tabs",t.ui.tabs,{options:{spinner:"Loading…"},_create:function(){this._super(),this._on({tabsbeforeload:function(t,e){if(t.target===this.element[0]&&this.options.spinner){var i=e.tab.find("span"),n=i.html();i.html(this.options.spinner),e.jqXHR.complete(function(){i.html(n)})}}})}}),t.widget("ui.tabs",t.ui.tabs,{options:{enable:null,disable:null},enable:function(e){var i,n=this.options;(e&&!0===n.disabled||t.isArray(n.disabled)&&-1!==t.inArray(e,n.disabled))&&(i=!0),this._superApply(arguments),i&&this._trigger("enable",null,this._ui(this.anchors[e],this.panels[e]))},disable:function(e){var i,n=this.options;(e&&!1===n.disabled||t.isArray(n.disabled)&&-1===t.inArray(e,n.disabled))&&(i=!0),this._superApply(arguments),i&&this._trigger("disable",null,this._ui(this.anchors[e],this.panels[e]))}}),t.widget("ui.tabs",t.ui.tabs,{options:{add:null,remove:null,tabTemplate:"
  • #{label}
  • "},add:function(i,n,o){o===e&&(o=this.anchors.length);var s,r,a=this.options,l=t(a.tabTemplate.replace(/#\{href\}/g,i).replace(/#\{label\}/g,n)),c=i.indexOf("#")?this._tabId(l):i.replace("#","");return l.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),l.attr("aria-controls",c),s=o>=this.tabs.length,(r=this.element.find("#"+c)).length||(r=this._createPanel(c),s?o>0?r.insertAfter(this.panels.eq(-1)):r.appendTo(this.element):r.insertBefore(this.panels[o])),r.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),s?l.appendTo(this.tablist):l.insertBefore(this.tabs[o]),a.disabled=t.map(a.disabled,function(t){return t>=o?++t:t}),this.refresh(),1===this.tabs.length&&!1===a.active&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[o],this.panels[o])),this},remove:function(e){e=this._getIndex(e);var i=this.options,n=this.tabs.eq(e).remove(),o=this._getPanelForTab(n).remove();return n.hasClass("ui-tabs-active")&&this.anchors.length>2&&this._activate(e+(e+1=e?--t:t}),this.refresh(),this._trigger("remove",null,this._ui(n.find("a")[0],o[0])),this}}),t.widget("ui.tabs",t.ui.tabs,{length:function(){return this.anchors.length}}),t.widget("ui.tabs",t.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(e){var n=e.is("li")?e.find("a[href]"):e;return n=n[0],t(n).closest("li").attr("aria-controls")||n.title&&n.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+i()}}),t.widget("ui.tabs",t.ui.tabs,{options:{panelTemplate:"
    "},_createPanel:function(e){return t(this.options.panelTemplate).attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),t.widget("ui.tabs",t.ui.tabs,{_create:function(){var t=this.options;null===t.active&&t.selected!==e&&(t.active=-1!==t.selected&&t.selected),this._super(),t.selected=t.active,!1===t.selected&&(t.selected=-1)},_setOption:function(t,e){if("selected"!==t)return this._super(t,e);var i=this.options;this._super("active",-1!==e&&e),i.selected=i.active,!1===i.selected&&(i.selected=-1)},_eventHandler:function(){this._superApply(arguments),this.options.selected=this.options.active,!1===this.options.selected&&(this.options.selected=-1)}}),t.widget("ui.tabs",t.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),!1!==this.options.active&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(t,e,i){var n,o,s=this._superApply(arguments);return!!s&&("beforeActivate"===t?(n=i.newTab.length?i.newTab:i.oldTab,o=i.newPanel.length?i.newPanel:i.oldPanel,s=this._super("select",e,{tab:n.find(".ui-tabs-anchor")[0],panel:o[0],index:n.closest("li").index()})):"activate"===t&&i.newTab.length&&(s=this._super("show",e,{tab:i.newTab.find(".ui-tabs-anchor")[0],panel:i.newPanel[0],index:i.newTab.closest("li").index()})),s)}}),t.widget("ui.tabs",t.ui.tabs,{select:function(t){if(-1===(t=this._getIndex(t))){if(!this.options.collapsible||-1===this.options.selected)return;t=this.options.selected}this.anchors.eq(t).trigger(this.options.event+this.eventNamespace)}}),function(){var e=0;t.widget("ui.tabs",t.ui.tabs,{options:{cookie:null},_create:function(){var t,e=this.options;null==e.active&&e.cookie&&(-1===(t=parseInt(this._cookie(),10))&&(t=!1),e.active=t),this._super()},_cookie:function(i){var n=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++e)];return arguments.length&&(n.push(!1===i?-1:i),n.push(this.options.cookie)),t.cookie.apply(null,n)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}})}(),t.widget("ui.tabs",t.ui.tabs,{_trigger:function(e,i,n){var o=t.extend({},n);return"load"===e&&(o.panel=o.panel[0],o.tab=o.tab.find(".ui-tabs-anchor")[0]),this._super(e,i,o)}}),t.widget("ui.tabs",t.ui.tabs,{options:{fx:null},_getFx:function(){var e,i,n=this.options.fx;return n&&(t.isArray(n)?(e=n[0],i=n[1]):e=i=n),n?{show:i,hide:e}:null},_toggle:function(t,e){function i(){o.running=!1,o._trigger("activate",t,e)}function n(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),s.length&&a.show?s.animate(a.show,a.show.duration,function(){i()}):(s.show(),i())}var o=this,s=e.newPanel,r=e.oldPanel,a=this._getFx();if(!a)return this._super(t,e);o.running=!0,r.length&&a.hide?r.animate(a.hide,a.hide.duration,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n())}}))}(jQuery),function(t){var e=0;t.widget("ui.tooltip",{version:"1.9.2",options:{content:function(){return t(this).attr("title")},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var n=this;if("disabled"===e)return this[i?"_disable":"_enable"](),void(this.options[e]=i);this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){n._updateContent(e)})},_disable:function(){var e=this;t.each(this.tooltips,function(i,n){var o=t.Event("blur");o.target=o.currentTarget=n[0],e.close(o,!0)}),this.element.find(this.options.items).andSelf().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);n.length&&!n.data("ui-tooltip-id")&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&n.parents().each(function(){var e,n=t(this);n.data("ui-tooltip-open")&&((e=t.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),n.attr("title")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr("title")},n.attr("title",""))}),this._updateContent(n,e))},_updateContent:function(t,e){var i,n=this.options.content,o=this,s=e?e.type:null;if("string"==typeof n)return this._open(e,t,n);(i=n.call(t[0],function(i){t.data("ui-tooltip-open")&&o._delay(function(){e&&(e.type=s),this._open(e,t,i)})}))&&this._open(e,t,i)},_open:function(e,i,n){function o(t){l.of=t,s.is(":hidden")||s.position(l)}var s,r,a,l=t.extend({},this.options.position);n&&((s=this._find(i)).length?s.find(".ui-tooltip-content").html(n):(i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),s=this._tooltip(i),function(e,i){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(n.join(" ")))}(i,s.attr("id")),s.find(".ui-tooltip-content").html(n),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:o}),o(e)):s.position(t.extend({of:i},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.show&&this.options.show.delay&&(a=setInterval(function(){s.is(":visible")&&(o(l.of),clearInterval(a))},t.fx.interval)),this._trigger("open",e,{tooltip:s}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var n=t.Event(e);n.currentTarget=i[0],this.close(n,!0)}},remove:function(){this._removeTooltip(s)}},e&&"mouseover"!==e.type||(r.mouseleave="close"),e&&"focusin"!==e.type||(r.focusout="close"),this._on(!0,i,r)))},close:function(e){var i=this,n=t(e?e.currentTarget:this.element),o=this._find(n);this.closing||(n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),function(e){var i=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),o=t.inArray(i,n);-1!==o&&n.splice(o,1),e.removeData("ui-tooltip-id"),(n=t.trim(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")}(n),o.stop(!0),this._hide(o,this.options.hide,function(){i._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,n){t(n.element).attr("title",n.title),delete i.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:o}),this.closing=!1)},_tooltip:function(i){var n="ui-tooltip-"+e++,o=t("
    ").attr({id:n,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("
    ").addClass("ui-tooltip-content").appendTo(o),o.appendTo(this.document[0].body),t.fn.bgiframe&&o.bgiframe(),this.tooltips[n]=i,o},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,n){var o=t.Event("blur");o.target=o.currentTarget=n[0],e.close(o,!0),t("#"+i).remove(),n.data("ui-tooltip-title")&&(n.attr("title",n.data("ui-tooltip-title")),n.removeData("ui-tooltip-title"))})}})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,function(){"use strict";const t=t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#"+i.split("#")[1]),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},o=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),o=Number.parseFloat(i);return n||o?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0},s=t=>{t.dispatchEvent(new Event("transitionend"))},r=t=>(t[0]||t).nodeType,a=(t,e)=>{let i=!1;const n=e+5;t.addEventListener("transitionend",function e(){i=!0,t.removeEventListener("transitionend",e)}),setTimeout(()=>{i||s(t)},n)},l=(t,e,i)=>{Object.keys(i).forEach(n=>{const o=i[n],s=e[n],a=s&&r(s)?"element":null==(l=s)?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(o).test(a))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${o}".`)})},c=t=>{if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){const e=getComputedStyle(t),i=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==i.display&&"hidden"!==e.visibility}return!1},u=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},d=()=>{},p=t=>t.offsetHeight,f=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},m=()=>"rtl"===document.documentElement.dir,g=(t,e)=>{var i;i=(()=>{const i=f();if(i){const n=i.fn[t];i.fn[t]=e.jQueryInterface,i.fn[t].Constructor=e,i.fn[t].noConflict=(()=>(i.fn[t]=n,e.jQueryInterface))}}),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i()},v=t=>{"function"==typeof t&&t()},y=new Map;var b={set(t,e,i){y.has(t)||y.set(t,new Map);const n=y.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>y.has(t)&&y.get(t).get(e)||null,remove(t,e){if(!y.has(t))return;const i=y.get(t);i.delete(e),0===i.size&&y.delete(t)}};const w=/[^.]*(?=\..*)\.|.*/,_=/\..*/,x=/::\d+$/,k={};let C=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},S=/^(mouseenter|mouseleave)/i,E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function A(t,e){return e&&`${e}::${C++}`||t.uidEvent||C++}function D(t){const e=A(t);return t.uidEvent=e,k[e]=k[e]||{},k[e]}function $(t,e,i=null){const n=Object.keys(t);for(let o=0,s=n.length;o(function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)});n?n=t(n):i=t(i)}const[s,r,a]=O(e,i,n),l=D(t),c=l[a]||(l[a]={}),u=$(c,r,s?i:null);if(u)return void(u.oneOff=u.oneOff&&o);const h=A(r,e.replace(w,"")),d=s?function(t,e,i){return function n(o){const s=t.querySelectorAll(e);for(let{target:r}=o;r&&r!==this;r=r.parentNode)for(let a=s.length;a--;)if(s[a]===r)return o.delegateTarget=r,n.oneOff&&z.off(t,o.type,e,i),i.apply(r,[o]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&z.off(t,n.type,e),e.apply(t,[n])}}(t,i);d.delegationSelector=s?i:null,d.originalHandler=r,d.oneOff=o,d.uidEvent=h,c[h]=d,t.addEventListener(a,d,s)}function M(t,e,i,n,o){const s=$(e[i],n,o);s&&(t.removeEventListener(i,s,Boolean(o)),delete e[i][s.uidEvent])}function L(t){return t=t.replace(_,""),T[t]||t}const z={on(t,e,i,n){P(t,e,i,n,!1)},one(t,e,i,n){P(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[o,s,r]=O(e,i,n),a=r!==e,l=D(t),c=e.startsWith(".");if(void 0!==s){if(!l||!l[r])return;return void M(t,l,r,s,o?i:null)}c&&Object.keys(l).forEach(i=>{!function(t,e,i,n){const o=e[i]||{};Object.keys(o).forEach(s=>{if(s.includes(n)){const n=o[s];M(t,e,i,n.originalHandler,n.delegationSelector)}})}(t,l,i,e.slice(1))});const u=l[r]||{};Object.keys(u).forEach(i=>{const n=i.replace(x,"");if(!a||e.includes(n)){const e=u[i];M(t,l,r,e.originalHandler,e.delegationSelector)}})},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=f(),o=L(e),s=e!==o,r=E.has(o);let a,l=!0,c=!0,u=!1,h=null;return s&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),r?(h=document.createEvent("HTMLEvents")).initEvent(o,l,!0):h=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(t=>{Object.defineProperty(h,t,{get:()=>i[t]})}),u&&h.preventDefault(),c&&t.dispatchEvent(h),h.defaultPrevented&&void 0!==a&&a.preventDefault(),h}};class j{constructor(t){(t="string"==typeof t?document.querySelector(t):t)&&(this._element=t,b.set(this._element,this.constructor.DATA_KEY,this))}dispose(){b.remove(this._element,this.constructor.DATA_KEY),z.off(this._element,"."+this.constructor.DATA_KEY),this._element=null}static getInstance(t){return b.get(t,this.DATA_KEY)}static get VERSION(){return"5.0.0"}}class N extends j{static get DATA_KEY(){return"bs.alert"}close(t){const e=t?this._getRootElement(t):this._element,i=this._triggerCloseEvent(e);null===i||i.defaultPrevented||this._removeElement(e)}_getRootElement(t){return n(t)||t.closest(".alert")}_triggerCloseEvent(t){return z.trigger(t,"close.bs.alert")}_removeElement(t){if(t.classList.remove("show"),!t.classList.contains("fade"))return void this._destroyElement(t);const e=o(t);z.one(t,"transitionend",()=>this._destroyElement(t)),a(t,e)}_destroyElement(t){t.parentNode&&t.parentNode.removeChild(t),z.trigger(t,"closed.bs.alert")}static jQueryInterface(t){return this.each(function(){let e=b.get(this,"bs.alert");e||(e=new N(this)),"close"===t&&e[t](this)})}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}z.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',N.handleDismiss(new N)),g("alert",N);class I extends j{static get DATA_KEY(){return"bs.button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){let e=b.get(this,"bs.button");e||(e=new I(this)),"toggle"===t&&e[t]()})}}function H(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function R(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}z.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');let i=b.get(e,"bs.button");i||(i=new I(e)),i.toggle()}),g("button",I);const W={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+R(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+R(e))},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=H(t.dataset[i])}),e},getDataAttribute:(t,e)=>H(t.getAttribute("data-bs-"+R(e))),offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},B={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]}},q={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},F={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},U="next",Y="prev",V="left",X="right";class K extends j{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=B.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return q}static get DATA_KEY(){return"bs.carousel"}next(){this._isSliding||this._slide(U)}nextWhenVisible(){!document.hidden&&c(this._element)&&this.next()}prev(){this._isSliding||this._slide(Y)}pause(t){t||(this._isPaused=!0),B.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=B.findOne(".active.carousel-item",this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void z.one(this._element,"slid.bs.carousel",()=>this.to(t));if(e===t)return this.pause(),void this.cycle();const i=t>e?U:Y;this._slide(i,this._items[t])}dispose(){this._items=null,this._config=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null,super.dispose()}_getConfig(t){return t={...q,...t},l("carousel",t,F),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?X:V)}_addEventListeners(){this._config.keyboard&&z.on(this._element,"keydown.bs.carousel",t=>this._keydown(t)),"hover"===this._config.pause&&(z.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),z.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX},e=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},i=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};B.find(".carousel-item img",this._element).forEach(t=>{z.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?(z.on(this._element,"pointerdown.bs.carousel",e=>t(e)),z.on(this._element,"pointerup.bs.carousel",t=>i(t)),this._element.classList.add("pointer-event")):(z.on(this._element,"touchstart.bs.carousel",e=>t(e)),z.on(this._element,"touchmove.bs.carousel",t=>e(t)),z.on(this._element,"touchend.bs.carousel",t=>i(t)))}_keydown(t){/input|textarea/i.test(t.target.tagName)||("ArrowLeft"===t.key?(t.preventDefault(),this._slide(X)):"ArrowRight"===t.key&&(t.preventDefault(),this._slide(V)))}_getItemIndex(t){return this._items=t&&t.parentNode?B.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===U,n=t===Y,o=this._getItemIndex(e),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return e;const r=(o+(n?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(B.findOne(".active.carousel-item",this._element));return z.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=B.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const i=B.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e{r.classList.remove(h,d),r.classList.add("active"),n.classList.remove("active",d,h),this._isSliding=!1,setTimeout(()=>{z.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:f,from:s,to:l})},0)}),a(n,t)}else n.classList.remove("active"),r.classList.add("active"),this._isSliding=!1,z.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:f,from:s,to:l});c&&this.cycle()}}_directionToOrder(t){return[X,V].includes(t)?m()?t===V?Y:U:t===V?U:Y:t}_orderToDirection(t){return[U,Y].includes(t)?m()?t===Y?V:X:t===Y?X:V:t}static carouselInterface(t,e){let i=b.get(t,"bs.carousel"),n={...q,...W.getDataAttributes(t)};"object"==typeof e&&(n={...n,...e});const o="string"==typeof e?e:n.slide;if(i||(i=new K(t,n)),"number"==typeof e)i.to(e);else if("string"==typeof o){if(void 0===i[o])throw new TypeError(`No method named "${o}"`);i[o]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each(function(){K.carouselInterface(this,t)})}static dataApiClickHandler(t){const e=n(this);if(!e||!e.classList.contains("carousel"))return;const i={...W.getDataAttributes(e),...W.getDataAttributes(this)},o=this.getAttribute("data-bs-slide-to");o&&(i.interval=!1),K.carouselInterface(e,i),o&&b.get(e,"bs.carousel").to(o),t.preventDefault()}}z.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",K.dataApiClickHandler),z.on(window,"load.bs.carousel.data-api",()=>{const t=B.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;et===this._element);null!==o&&s.length&&(this._selector=o,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return Q}static get DATA_KEY(){return"bs.collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains("show"))return;let t,e;this._parent&&(0===(t=B.find(".show, .collapsing",this._parent).filter(t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains("collapse"))).length&&(t=null));const i=B.findOne(this._selector);if(t){const n=t.find(t=>i!==t);if((e=n?b.get(n,"bs.collapse"):null)&&e._isTransitioning)return}if(z.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t&&t.forEach(t=>{i!==t&&G.collapseInterface(t,"hide"),e||b.set(t,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[n]=0,this._triggerArray.length&&this._triggerArray.forEach(t=>{t.classList.remove("collapsed"),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);const s="scroll"+(n[0].toUpperCase()+n.slice(1)),r=o(this._element);z.one(this._element,"transitionend",()=>{this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[n]="",this.setTransitioning(!1),z.trigger(this._element,"shown.bs.collapse")}),a(this._element,r),this._element.style[n]=this._element[s]+"px"}hide(){if(this._isTransitioning||!this._element.classList.contains("show"))return;if(z.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",p(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const e=this._triggerArray.length;if(e>0)for(let t=0;t{this.setTransitioning(!1),this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),z.trigger(this._element,"hidden.bs.collapse")}),a(this._element,i)}setTransitioning(t){this._isTransitioning=t}dispose(){super.dispose(),this._config=null,this._parent=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={...Q,...t}).toggle=Boolean(t.toggle),l("collapse",t,Z),t}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let{parent:t}=this._config;r(t)?void 0===t.jquery&&void 0===t[0]||(t=t[0]):t=B.findOne(t);const e=`[data-bs-toggle="collapse"][data-bs-parent="${t}"]`;return B.find(e,t).forEach(t=>{const e=n(t);this._addAriaAndCollapsedClass(e,[t])}),t}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const i=t.classList.contains("show");e.forEach(t=>{i?t.classList.remove("collapsed"):t.classList.add("collapsed"),t.setAttribute("aria-expanded",i)})}static collapseInterface(t,e){let i=b.get(t,"bs.collapse");const n={...Q,...W.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!i&&n.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),i||(i=new G(t,n)),"string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each(function(){G.collapseInterface(this,t)})}}z.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=W.getDataAttributes(this),n=i(this);B.find(n).forEach(t=>{const i=b.get(t,"bs.collapse");let n;i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,G.collapseInterface(t,n)})}),g("collapse",G);var J="top",tt="bottom",et="right",it="left",nt=[J,tt,et,it],ot=nt.reduce(function(t,e){return t.concat([e+"-start",e+"-end"])},[]),st=[].concat(nt,["auto"]).reduce(function(t,e){return t.concat([e,e+"-start",e+"-end"])},[]),rt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function at(t){return t?(t.nodeName||"").toLowerCase():null}function lt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ct(t){return t instanceof lt(t).Element||t instanceof Element}function ut(t){return t instanceof lt(t).HTMLElement||t instanceof HTMLElement}function ht(t){return"undefined"!=typeof ShadowRoot&&(t instanceof lt(t).ShadowRoot||t instanceof ShadowRoot)}var dt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];ut(o)&&at(o)&&(Object.assign(o.style,i),Object.keys(n).forEach(function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],o=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});ut(n)&&at(n)&&(Object.assign(n.style,s),Object.keys(o).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};function pt(t){return t.split("-")[0]}function ft(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function mt(t){var e=ft(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function gt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&ht(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function vt(t){return lt(t).getComputedStyle(t)}function yt(t){return["table","td","th"].indexOf(at(t))>=0}function bt(t){return((ct(t)?t.ownerDocument:t.document)||window.document).documentElement}function wt(t){return"html"===at(t)?t:t.assignedSlot||t.parentNode||(ht(t)?t.host:null)||bt(t)}function _t(t){return ut(t)&&"fixed"!==vt(t).position?t.offsetParent:null}function xt(t){for(var e=lt(t),i=_t(t);i&&yt(i)&&"static"===vt(i).position;)i=_t(i);return i&&("html"===at(i)||"body"===at(i)&&"static"===vt(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ut(t)&&"fixed"===vt(t).position)return null;for(var i=wt(t);ut(i)&&["html","body"].indexOf(at(i))<0;){var n=vt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function kt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var Ct=Math.max,Tt=Math.min,St=Math.round;function Et(t,e,i){return Ct(t,Tt(e,i))}function At(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Dt(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}var $t={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,o=t.options,s=i.elements.arrow,r=i.modifiersData.popperOffsets,a=pt(i.placement),l=kt(a),c=[it,et].indexOf(a)>=0?"height":"width";if(s&&r){var u=function(t,e){return At("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Dt(t,nt))}(o.padding,i),h=mt(s),d="y"===l?J:it,p="y"===l?tt:et,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=xt(s),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=u[d],w=v-h[c]-u[p],_=v/2-h[c]/2+y,x=Et(b,_,w),k=l;i.modifiersData[n]=((e={})[k]=x,e.centerOffset=x-_,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&>(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Ot={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Pt(t){var e,i=t.popper,n=t.popperRect,o=t.placement,s=t.offsets,r=t.position,a=t.gpuAcceleration,l=t.adaptive,c=t.roundOffsets,u=!0===c?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:St(St(e*n)/n)||0,y:St(St(i*n)/n)||0}}(s):"function"==typeof c?c(s):s,h=u.x,d=void 0===h?0:h,p=u.y,f=void 0===p?0:p,m=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),v=it,y=J,b=window;if(l){var w=xt(i),_="clientHeight",x="clientWidth";w===lt(i)&&"static"!==vt(w=bt(i)).position&&(_="scrollHeight",x="scrollWidth"),w=w,o===J&&(y=tt,f-=w[_]-n.height,f*=a?1:-1),o===it&&(v=et,d-=w[x]-n.width,d*=a?1:-1)}var k,C=Object.assign({position:r},l&&Ot);return a?Object.assign({},C,((k={})[y]=g?"0":"",k[v]=m?"0":"",k.transform=(b.devicePixelRatio||1)<2?"translate("+d+"px, "+f+"px)":"translate3d("+d+"px, "+f+"px, 0)",k)):Object.assign({},C,((e={})[y]=g?f+"px":"",e[v]=m?d+"px":"",e.transform="",e))}var Mt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,s=i.adaptive,r=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:pt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Pt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Pt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Lt={passive:!0},zt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,s=void 0===o||o,r=n.resize,a=void 0===r||r,l=lt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(t){t.addEventListener("scroll",i.update,Lt)}),a&&l.addEventListener("resize",i.update,Lt),function(){s&&c.forEach(function(t){t.removeEventListener("scroll",i.update,Lt)}),a&&l.removeEventListener("resize",i.update,Lt)}},data:{}},jt={left:"right",right:"left",bottom:"top",top:"bottom"};function Nt(t){return t.replace(/left|right|bottom|top/g,function(t){return jt[t]})}var It={start:"end",end:"start"};function Ht(t){return t.replace(/start|end/g,function(t){return It[t]})}function Rt(t){var e=lt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wt(t){return ft(bt(t)).left+Rt(t).scrollLeft}function Bt(t){var e=vt(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function qt(t,e){var i;void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(at(e))>=0?e.ownerDocument.body:ut(e)&&Bt(e)?e:t(wt(e))}(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),s=lt(n),r=o?[s].concat(s.visualViewport||[],Bt(n)?n:[]):n,a=e.concat(r);return o?a:a.concat(qt(wt(r)))}function Ft(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ut(t,e){return"viewport"===e?Ft(function(t){var e=lt(t),i=bt(t),n=e.visualViewport,o=i.clientWidth,s=i.clientHeight,r=0,a=0;return n&&(o=n.width,s=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:o,height:s,x:r+Wt(t),y:a}}(t)):ut(e)?function(t){var e=ft(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Ft(function(t){var e,i=bt(t),n=Rt(t),o=null==(e=t.ownerDocument)?void 0:e.body,s=Ct(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),r=Ct(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+Wt(t),l=-n.scrollTop;return"rtl"===vt(o||i).direction&&(a+=Ct(i.clientWidth,o?o.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}(bt(t)))}function Yt(t){return t.split("-")[1]}function Vt(t){var e,i=t.reference,n=t.element,o=t.placement,s=o?pt(o):null,r=o?Yt(o):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(s){case J:e={x:a,y:i.y-n.height};break;case tt:e={x:a,y:i.y+i.height};break;case et:e={x:i.x+i.width,y:l};break;case it:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=s?kt(s):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case"start":e[c]=e[c]-(i[u]/2-n[u]/2);break;case"end":e[c]=e[c]+(i[u]/2-n[u]/2)}}return e}function Xt(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=void 0===n?t.placement:n,s=i.boundary,r=void 0===s?"clippingParents":s,a=i.rootBoundary,l=void 0===a?"viewport":a,c=i.elementContext,u=void 0===c?"popper":c,h=i.altBoundary,d=void 0!==h&&h,p=i.padding,f=void 0===p?0:p,m=At("number"!=typeof f?f:Dt(f,nt)),g="popper"===u?"reference":"popper",v=t.elements.reference,y=t.rects.popper,b=t.elements[d?g:u],w=function(t,e,i){var n="clippingParents"===e?function(t){var e=qt(wt(t)),i=["absolute","fixed"].indexOf(vt(t).position)>=0&&ut(t)?xt(t):t;return ct(i)?e.filter(function(t){return ct(t)&>(t,i)&&"body"!==at(t)}):[]}(t):[].concat(e),o=[].concat(n,[i]),s=o[0],r=o.reduce(function(e,i){var n=Ut(t,i);return e.top=Ct(n.top,e.top),e.right=Tt(n.right,e.right),e.bottom=Tt(n.bottom,e.bottom),e.left=Ct(n.left,e.left),e},Ut(t,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(ct(b)?b:b.contextElement||bt(t.elements.popper),r,l),_=ft(v),x=Vt({reference:_,element:y,strategy:"absolute",placement:o}),k=Ft(Object.assign({},y,x)),C="popper"===u?k:_,T={top:w.top-C.top+m.top,bottom:C.bottom-w.bottom+m.bottom,left:w.left-C.left+m.left,right:C.right-w.right+m.right},S=t.modifiersData.offset;if("popper"===u&&S){var E=S[o];Object.keys(T).forEach(function(t){var e=[et,tt].indexOf(t)>=0?1:-1,i=[J,tt].indexOf(t)>=0?"y":"x";T[t]+=E[i]*e})}return T}var Kt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=i.mainAxis,s=void 0===o||o,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,u=i.boundary,h=i.rootBoundary,d=i.altBoundary,p=i.flipVariations,f=void 0===p||p,m=i.allowedAutoPlacements,g=e.options.placement,v=pt(g),y=l||(v!==g&&f?function(t){if("auto"===pt(t))return[];var e=Nt(t);return[Ht(t),e,Ht(e)]}(g):[Nt(g)]),b=[g].concat(y).reduce(function(t,i){return t.concat("auto"===pt(i)?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,s=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?st:l,u=Yt(n),h=u?a?ot:ot.filter(function(t){return Yt(t)===u}):nt,d=h.filter(function(t){return c.indexOf(t)>=0});0===d.length&&(d=h);var p=d.reduce(function(e,i){return e[i]=Xt(t,{placement:i,boundary:o,rootBoundary:s,padding:r})[pt(i)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:i,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)},[]),w=e.rects.reference,_=e.rects.popper,x=new Map,k=!0,C=b[0],T=0;T=0,$=D?"width":"height",O=Xt(e,{placement:S,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),P=D?A?et:it:A?tt:J;w[$]>_[$]&&(P=Nt(P));var M=Nt(P),L=[];if(s&&L.push(O[E]<=0),a&&L.push(O[P]<=0,O[M]<=0),L.every(function(t){return t})){C=S,k=!1;break}x.set(S,L)}if(k)for(var z=function(t){var e=b.find(function(e){var i=x.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return C=e,"break"},j=f?3:1;j>0&&"break"!==z(j);j--);e.placement!==C&&(e.modifiersData[n]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Qt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Zt(t){return[J,et,tt,it].some(function(e){return t[e]>=0})}var Gt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,r=Xt(e,{elementContext:"reference"}),a=Xt(e,{altBoundary:!0}),l=Qt(r,n),c=Qt(a,o,s),u=Zt(l),h=Zt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}},Jt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.offset,s=void 0===o?[0,0]:o,r=st.reduce(function(t,i){return t[i]=function(t,e,i){var n=pt(t),o=[it,J].indexOf(n)>=0?-1:1,s="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=s[0],a=s[1];return r=r||0,a=(a||0)*o,[it,et].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,s),t},{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},te={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Vt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},ee={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.mainAxis,s=void 0===o||o,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,u=i.altBoundary,h=i.padding,d=i.tether,p=void 0===d||d,f=i.tetherOffset,m=void 0===f?0:f,g=Xt(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=pt(e.placement),y=Yt(e.placement),b=!y,w=kt(v),_="x"===w?"y":"x",x=e.modifiersData.popperOffsets,k=e.rects.reference,C=e.rects.popper,T="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,S={x:0,y:0};if(x){if(s||a){var E="y"===w?J:it,A="y"===w?tt:et,D="y"===w?"height":"width",$=x[w],O=x[w]+g[E],P=x[w]-g[A],M=p?-C[D]/2:0,L="start"===y?k[D]:C[D],z="start"===y?-C[D]:-k[D],j=e.elements.arrow,N=p&&j?mt(j):{width:0,height:0},I=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=I[E],R=I[A],W=Et(0,k[D],N[D]),B=b?k[D]/2-M-W-H-T:L-W-H-T,q=b?-k[D]/2+M+W+R+T:z+W+R+T,F=e.elements.arrow&&xt(e.elements.arrow),U=F?"y"===w?F.clientTop||0:F.clientLeft||0:0,Y=e.modifiersData.offset?e.modifiersData.offset[e.placement][w]:0,V=x[w]+B-Y-U,X=x[w]+q-Y;if(s){var K=Et(p?Tt(O,V):O,$,p?Ct(P,X):P);x[w]=K,S[w]=K-$}if(a){var Q="x"===w?J:it,Z="x"===w?tt:et,G=x[_],nt=G+g[Q],ot=G-g[Z],st=Et(p?Tt(nt,V):nt,G,p?Ct(ot,X):ot);x[_]=st,S[_]=st-G}}e.modifiersData[n]=S}},requiresIfExists:["offset"]};function ie(t,e,i){void 0===i&&(i=!1);var n,o,s=bt(e),r=ft(t),a=ut(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!i)&&(("body"!==at(e)||Bt(s))&&(l=(n=e)!==lt(n)&&ut(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:Rt(n)),ut(e)?((c=ft(e)).x+=e.clientLeft,c.y+=e.clientTop):s&&(c.x=Wt(s))),{x:r.left+l.scrollLeft-c.x,y:r.top+l.scrollTop-c.y,width:r.width,height:r.height}}var ne={placement:"bottom",modifiers:[],strategy:"absolute"};function oe(){for(var t=arguments.length,e=new Array(t),i=0;i"applyStyles"===t.name&&!1===t.enabled);this._popper=le(e,this._menu,i),n&&W.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>z.on(t,"mouseover",d)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),z.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(u(this._element)||!this._menu.classList.contains("show"))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){z.on(this._element,"click.bs.dropdown",t=>{t.preventDefault(),this.toggle()})}_completeHide(t){z.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>z.off(t,"mouseover",d)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),W.removeDataAttribute(this._menu,"popper"),z.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...W.getDataAttributes(this._element),...t},l("dropdown",t,this.constructor.DefaultType),"object"==typeof t.reference&&!r(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t}_getMenuElement(){return B.next(this._element,".dropdown-menu")[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return me;if(t.classList.contains("dropstart"))return ge;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?de:he:e?fe:pe}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem(t){const e=B.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(c);if(!e.length)return;let i=e.indexOf(t.target);"ArrowUp"===t.key&&i>0&&i--,"ArrowDown"===t.key&&ithis.matches('[data-bs-toggle="dropdown"]')?this:B.prev(this,'[data-bs-toggle="dropdown"]')[0];if("Escape"===t.key)return i().focus(),void be.clearMenus();e||"ArrowUp"!==t.key&&"ArrowDown"!==t.key?e&&"Space"!==t.key?be.getInstance(i())._selectMenuItem(t):be.clearMenus():i().click()}}z.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',be.dataApiKeydownHandler),z.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",be.dataApiKeydownHandler),z.on(document,"click.bs.dropdown.data-api",be.clearMenus),z.on(document,"keyup.bs.dropdown.data-api",be.clearMenus),z.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(t){t.preventDefault(),be.dropdownInterface(this)}),g("dropdown",be);const we=()=>{const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)},_e=(t=we())=>{xe(),ke("body","paddingRight",e=>e+t),ke(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",e=>e+t),ke(".sticky-top","marginRight",e=>e-t)},xe=()=>{const t=document.body.style.overflow;t&&W.setDataAttribute(document.body,"overflow",t),document.body.style.overflow="hidden"},ke=(t,e,i)=>{const n=we();B.find(t).forEach(t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+n)return;const o=t.style[e],s=window.getComputedStyle(t)[e];W.setDataAttribute(t,e,o),t.style[e]=i(Number.parseFloat(s))+"px"})},Ce=()=>{Te("body","overflow"),Te("body","paddingRight"),Te(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),Te(".sticky-top","marginRight")},Te=(t,e)=>{B.find(t).forEach(t=>{const i=W.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(W.removeDataAttribute(t,e),t.style[e]=i)})},Se={isVisible:!0,isAnimated:!1,rootElement:document.body,clickCallback:null},Ee={isVisible:"boolean",isAnimated:"boolean",rootElement:"element",clickCallback:"(function|null)"};class Ae{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&p(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{v(t)})):v(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),v(t)})):v(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className="modal-backdrop",this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return t={...Se,..."object"==typeof t?t:{}},l("backdrop",t,Ee),t}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),z.on(this._getElement(),"mousedown.bs.backdrop",()=>{v(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(z.off(this._element,"mousedown.bs.backdrop"),this._getElement().parentNode.removeChild(this._element),this._isAppended=!1)}_emulateAnimation(t){if(!this._config.isAnimated)return void v(t);const e=o(this._getElement());z.one(this._getElement(),"transitionend",()=>v(t)),a(this._getElement(),e)}}const De={backdrop:!0,keyboard:!0,focus:!0},$e={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class Oe extends j{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=B.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1}static get Default(){return De}static get DATA_KEY(){return"bs.modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;this._isAnimated()&&(this._isTransitioning=!0);const e=z.trigger(this._element,"show.bs.modal",{relatedTarget:t});this._isShown||e.defaultPrevented||(this._isShown=!0,_e(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),z.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',t=>this.hide(t)),z.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{z.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;if(z.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();if(e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),z.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),z.off(this._element,"click.dismiss.bs.modal"),z.off(this._dialog,"mousedown.dismiss.bs.modal"),e){const t=o(this._element);z.one(this._element,"transitionend",t=>this._hideModal(t)),a(this._element,t)}else this._hideModal()}dispose(){[window,this._dialog].forEach(t=>z.off(t,".bs.modal")),super.dispose(),z.off(document,"focusin.bs.modal"),this._config=null,this._dialog=null,this._backdrop.dispose(),this._backdrop=null,this._isShown=null,this._ignoreBackdropClick=null,this._isTransitioning=null}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ae({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(t){return t={...De,...W.getDataAttributes(this._element),...t},l("modal",t,$e),t}_showElement(t){const e=this._isAnimated(),i=B.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&p(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus();const n=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,z.trigger(this._element,"shown.bs.modal",{relatedTarget:t})};if(e){const t=o(this._dialog);z.one(this._dialog,"transitionend",n),a(this._dialog,t)}else n()}_enforceFocus(){z.off(document,"focusin.bs.modal"),z.on(document,"focusin.bs.modal",t=>{document===t.target||this._element===t.target||this._element.contains(t.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?z.on(this._element,"keydown.dismiss.bs.modal",t=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition()}):z.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?z.on(window,"resize.bs.modal",()=>this._adjustDialog()):z.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),Ce(),z.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(t){z.on(this._element,"click.dismiss.bs.modal",t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(z.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight;t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");const e=o(this._dialog);z.off(this._element,"transitionend"),z.one(this._element,"transitionend",()=>{this._element.classList.remove("modal-static"),t||(z.one(this._element,"transitionend",()=>{this._element.style.overflowY=""}),a(this._element,e))}),a(this._element,e),this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=we(),i=e>0;(!i&&t&&!m()||i&&!t&&m())&&(this._element.style.paddingLeft=e+"px"),(i&&!t&&!m()||!i&&t&&m())&&(this._element.style.paddingRight=e+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const i=Oe.getInstance(this)||new Oe(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}})}}z.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),z.one(e,"show.bs.modal",t=>{t.defaultPrevented||z.one(e,"hidden.bs.modal",()=>{c(this)&&this.focus()})}),(Oe.getInstance(e)||new Oe(e)).toggle(this)}),g("modal",Oe);const Pe={backdrop:!0,keyboard:!0,scroll:!1},Me={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class Le extends j{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._addEventListeners()}static get Default(){return Pe}static get DATA_KEY(){return"bs.offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(z.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(_e(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show");const e=o(this._element);z.one(this._element,"transitionend",()=>{z.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),a(this._element,e)}hide(){if(!this._isShown)return;if(z.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;z.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide();const t=o(this._element);z.one(this._element,"transitionend",()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||Ce(),z.trigger(this._element,"hidden.bs.offcanvas")}),a(this._element,t)}dispose(){this._backdrop.dispose(),super.dispose(),z.off(document,"focusin.bs.offcanvas"),this._config=null,this._backdrop=null}_getConfig(t){return t={...Pe,...W.getDataAttributes(this._element),..."object"==typeof t?t:{}},l("offcanvas",t,Me),t}_initializeBackDrop(){return new Ae({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(t){z.off(document,"focusin.bs.offcanvas"),z.on(document,"focusin.bs.offcanvas",e=>{document===e.target||t===e.target||t.contains(e.target)||t.focus()}),t.focus()}_addEventListeners(){z.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),z.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){const e=b.get(this,"bs.offcanvas")||new Le(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}z.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),u(this))return;z.one(e,"hidden.bs.offcanvas",()=>{c(this)&&this.focus()});const i=B.findOne(".offcanvas.show");i&&i!==e&&Le.getInstance(i).hide(),(b.get(e,"bs.offcanvas")||new Le(e)).toggle(this)}),z.on(window,"load.bs.offcanvas.data-api",()=>{B.find(".offcanvas.show").forEach(t=>(b.get(t,"bs.offcanvas")||new Le(t)).show())}),g("offcanvas",Le);const ze=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),je=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Ne=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ie=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!ze.has(i)||Boolean(je.test(t.nodeValue)||Ne.test(t.nodeValue));const n=e.filter(t=>t instanceof RegExp);for(let t=0,e=n.length;t{Ie(t,a)||i.removeAttribute(t.nodeName)})}return n.body.innerHTML}const Re=new RegExp("(^|\\s)bs-tooltip\\S+","g"),We=new Set(["sanitize","allowList","sanitizeFn"]),Be={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},qe={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},Fe={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ue={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class Ye extends j{constructor(t,e){if(void 0===ce)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return Fe}static get NAME(){return"tooltip"}static get DATA_KEY(){return"bs.tooltip"}static get Event(){return Ue}static get EVENT_KEY(){return".bs.tooltip"}static get DefaultType(){return Be}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),z.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=z.trigger(this._element,this.constructor.Event.SHOW),i=h(this._element),n=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(e.defaultPrevented||!n)return;const s=this.getTipElement(),r=t(this.constructor.NAME);s.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&s.classList.add("fade");const l="function"==typeof this.config.placement?this.config.placement.call(this,s,this._element):this.config.placement,c=this._getAttachment(l);this._addAttachmentClass(c);const u=this._getContainer();b.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(u.appendChild(s),z.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=le(this._element,s,this._getPopperConfig(c)),s.classList.add("show");const p="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass;p&&s.classList.add(...p.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{z.on(t,"mouseover",d)});const f=()=>{const t=this._hoverState;this._hoverState=null,z.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)};if(this.tip.classList.contains("fade")){const t=o(this.tip);z.one(this.tip,"transitionend",f),a(this.tip,t)}else f()}hide(){if(!this._popper)return;const t=this.getTipElement(),e=()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),z.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))};if(!z.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){if(t.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>z.off(t,"mouseover",d)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains("fade")){const i=o(t);z.one(t,"transitionend",e),a(t,i)}else e();this._hoverState=""}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(B.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove("fade","show")}setElementContent(t,e){if(null!==t)return"object"==typeof e&&r(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=He(e,this.config.allowList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this._element):this.config.title),t}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){const i=this.constructor.DATA_KEY;return(e=e||b.get(t.delegateTarget,i))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),b.set(t.delegateTarget,i,e)),e}_getOffset(){const{offset:t}=this.config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this.config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this.config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this.config.popperConfig?this.config.popperConfig(e):this.config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(t))}_getContainer(){return!1===this.config.container?document.body:r(this.config.container)?this.config.container:B.findOne(this.config.container)}_getAttachment(t){return qe[t.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach(t=>{if("click"===t)z.on(this._element,this.constructor.Event.CLICK,this.config.selector,t=>this.toggle(t));else if("manual"!==t){const e="hover"===t?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i="hover"===t?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;z.on(this._element,e,this.config.selector,t=>this._enter(t)),z.on(this._element,i,this.config.selector,t=>this._leave(t))}}),this._hideModalHandler=(()=>{this._element&&this.hide()}),z.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e.getTipElement().classList.contains("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout(()=>{"show"===e._hoverState&&e.show()},e.config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=W.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{We.has(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l("tooltip",t,this.constructor.DefaultType),t.sanitize&&(t.template=He(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Re);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each(function(){let e=b.get(this,"bs.tooltip");const i="object"==typeof t&&t;if((e||!/dispose|hide/.test(t))&&(e||(e=new Ye(this,i)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}g("tooltip",Ye);const Ve=new RegExp("(^|\\s)bs-popover\\S+","g"),Xe={...Ye.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},Ke={...Ye.DefaultType,content:"(string|element|function)"},Qe={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Ze extends Ye{static get Default(){return Xe}static get NAME(){return"popover"}static get DATA_KEY(){return"bs.popover"}static get Event(){return Qe}static get EVENT_KEY(){return".bs.popover"}static get DefaultType(){return Ke}isWithContent(){return this.getTitle()||this._getContent()}setContent(){const t=this.getTipElement();this.setElementContent(B.findOne(".popover-header",t),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(B.findOne(".popover-body",t),e),t.classList.remove("fade","show")}_addAttachmentClass(t){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(t))}_getContent(){return this._element.getAttribute("data-bs-content")||this.config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Ve);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}static jQueryInterface(t){return this.each(function(){let e=b.get(this,"bs.popover");const i="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new Ze(this,i),b.set(this,"bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}g("popover",Ze);const Ge={offset:10,method:"auto",target:""},Je={offset:"number",method:"string",target:"(string|element)"};class ti extends j{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,z.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Ge}static get DATA_KEY(){return"bs.scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":"position",e="auto"===this._config.method?t:this._config.method,n="position"===e?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),B.find(this._selector).map(t=>{const o=i(t),s=o?B.findOne(o):null;if(s){const t=s.getBoundingClientRect();if(t.width||t.height)return[W[e](s).top+n,o]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){super.dispose(),z.off(this._scrollElement,".bs.scrollspy"),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(e){if("string"!=typeof(e={...Ge,...W.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target&&r(e.target)){let{id:i}=e.target;i||(i=t("scrollspy"),e.target.id=i),e.target="#"+i}return l("scrollspy",e,Je),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),i=B.findOne(e.join(","));i.classList.contains("dropdown-item")?(B.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add("active"),i.classList.add("active")):(i.classList.add("active"),B.parents(i,".nav, .list-group").forEach(t=>{B.prev(t,".nav-link, .list-group-item").forEach(t=>t.classList.add("active")),B.prev(t,".nav-item").forEach(t=>{B.children(t,".nav-link").forEach(t=>t.classList.add("active"))})})),z.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){B.find(this._selector).filter(t=>t.classList.contains("active")).forEach(t=>t.classList.remove("active"))}static jQueryInterface(t){return this.each(function(){const e=ti.getInstance(this)||new ti(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}z.on(window,"load.bs.scrollspy.data-api",()=>{B.find('[data-bs-spy="scroll"]').forEach(t=>new ti(t))}),g("scrollspy",ti);class ei extends j{static get DATA_KEY(){return"bs.tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active"))return;let t;const e=n(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?":scope > li > .active":".active";t=(t=B.find(e,i))[t.length-1]}const o=t?z.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(z.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==o&&o.defaultPrevented)return;this._activate(this._element,i);const s=()=>{z.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),z.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,s):s()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?B.children(e,".active"):B.find(":scope > li > .active",e))[0],s=i&&n&&n.classList.contains("fade"),r=()=>this._transitionComplete(t,n,i);if(n&&s){const t=o(n);n.classList.remove("show"),z.one(n,"transitionend",r),a(n,t)}else r()}_transitionComplete(t,e,i){if(e){e.classList.remove("active");const t=B.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),p(t),t.classList.contains("fade")&&t.classList.add("show");let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&B.find(".dropdown-toggle",e).forEach(t=>t.classList.add("active")),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each(function(){const e=b.get(this,"bs.tab")||new ei(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}z.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),u(this)||(b.get(this,"bs.tab")||new ei(this)).show()}),g("tab",ei);const ii={animation:"boolean",autohide:"boolean",delay:"number"},ni={animation:!0,autohide:!0,delay:5e3};class oi extends j{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._setListeners()}static get DefaultType(){return ii}static get Default(){return ni}static get DATA_KEY(){return"bs.toast"}show(){if(z.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");const t=()=>{this._element.classList.remove("showing"),this._element.classList.add("show"),z.trigger(this._element,"shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))};if(this._element.classList.remove("hide"),p(this._element),this._element.classList.add("showing"),this._config.animation){const e=o(this._element);z.one(this._element,"transitionend",t),a(this._element,e)}else t()}hide(){if(!this._element.classList.contains("show"))return;if(z.trigger(this._element,"hide.bs.toast").defaultPrevented)return;const t=()=>{this._element.classList.add("hide"),z.trigger(this._element,"hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){const e=o(this._element);z.one(this._element,"transitionend",t),a(this._element,e)}else t()}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose(),this._config=null}_getConfig(t){return t={...ni,...W.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},l("toast",t,this.constructor.DefaultType),t}_setListeners(){z.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide())}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let e=b.get(this,"bs.toast");if(e||(e=new oi(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return g("toast",oi),{Alert:N,Button:I,Carousel:K,Collapse:G,Dropdown:be,Modal:Oe,Offcanvas:Le,Popover:Ze,ScrollSpy:ti,Tab:ei,Toast:oi,Tooltip:Ye}}),function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=0)}({0:function(t,e,i){i("bUC5"),i("pyCd"),i("gBAA"),t.exports=i("YT72")},"2SVd":function(t,e,i){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},"5oMp":function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"8oxB":function(t,e){var i,n,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(t){i=s}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(t){n=r}}();var l,c=[],u=!1,h=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&p())}function p(){if(!u){var t=a(d);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h1)for(var i=1;i=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(t){l.headers[t]={}}),n.forEach(["post","put","patch"],function(t){l.headers[t]=n.merge(s)}),t.exports=l}).call(this,i("8oxB"))},LYNF:function(t,e,i){"use strict";var n=i("OH9c");t.exports=function(t,e,i,o,s){var r=new Error(t);return n(r,e,i,o,s)}},Lmem:function(t,e,i){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},LvDl:function(t,e,i){(function(t,n){var o;(function(){var s="Expected a function",r="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",u="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",f="[object GeneratorFunction]",m="[object Map]",g="[object Number]",v="[object Object]",y="[object RegExp]",b="[object Set]",w="[object String]",_="[object Symbol]",x="[object WeakMap]",k="[object ArrayBuffer]",C="[object DataView]",T="[object Float32Array]",S="[object Float64Array]",E="[object Int8Array]",A="[object Int16Array]",D="[object Int32Array]",$="[object Uint8Array]",O="[object Uint16Array]",P="[object Uint32Array]",M=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,I=RegExp(j.source),H=RegExp(N.source),R=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/,U=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,V=RegExp(Y.source),X=/^\s+/,K=/\s/,Q=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,G=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,it=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,st=/^0b[01]+$/i,rt=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,ht=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="["+pt+"]",mt="["+dt+"]",gt="\\d+",vt="[a-z\\xdf-\\xf6\\xf8-\\xff]",yt="[^\\ud800-\\udfff"+pt+gt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",bt="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",_t="(?:\\ud83c[\\udde6-\\uddff]){2}",xt="[\\ud800-\\udbff][\\udc00-\\udfff]",kt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ct="(?:"+vt+"|"+yt+")",Tt="(?:"+kt+"|"+yt+")",St="(?:"+mt+"|"+bt+")?",Et="[\\ufe0e\\ufe0f]?"+St+"(?:\\u200d(?:"+[wt,_t,xt].join("|")+")[\\ufe0e\\ufe0f]?"+St+")*",At="(?:"+["[\\u2700-\\u27bf]",_t,xt].join("|")+")"+Et,Dt="(?:"+[wt+mt+"?",mt,_t,xt,"[\\ud800-\\udfff]"].join("|")+")",$t=RegExp("['’]","g"),Ot=RegExp(mt,"g"),Pt=RegExp(bt+"(?="+bt+")|"+Dt+Et,"g"),Mt=RegExp([kt+"?"+vt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ft,kt,"$"].join("|")+")",Tt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ft,kt+Ct,"$"].join("|")+")",kt+"?"+Ct+"+(?:['’](?:d|ll|m|re|s|t|ve))?",kt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gt,At].join("|"),"g"),Lt=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Nt=-1,It={};It[T]=It[S]=It[E]=It[A]=It[D]=It[$]=It["[object Uint8ClampedArray]"]=It[O]=It[P]=!0,It[l]=It[c]=It[k]=It[u]=It[C]=It[h]=It[d]=It[p]=It[m]=It[g]=It[v]=It[y]=It[b]=It[w]=It[x]=!1;var Ht={};Ht[l]=Ht[c]=Ht[k]=Ht[C]=Ht[u]=Ht[h]=Ht[T]=Ht[S]=Ht[E]=Ht[A]=Ht[D]=Ht[m]=Ht[g]=Ht[v]=Ht[y]=Ht[b]=Ht[w]=Ht[_]=Ht[$]=Ht["[object Uint8ClampedArray]"]=Ht[O]=Ht[P]=!0,Ht[d]=Ht[p]=Ht[x]=!1;var Rt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wt=parseFloat,Bt=parseInt,qt="object"==typeof t&&t&&t.Object===Object&&t,Ft="object"==typeof self&&self&&self.Object===Object&&self,Ut=qt||Ft||Function("return this")(),Yt=e&&!e.nodeType&&e,Vt=Yt&&"object"==typeof n&&n&&!n.nodeType&&n,Xt=Vt&&Vt.exports===Yt,Kt=Xt&&qt.process,Qt=function(){try{return Vt&&Vt.require&&Vt.require("util").types||Kt&&Kt.binding&&Kt.binding("util")}catch(t){}}(),Zt=Qt&&Qt.isArrayBuffer,Gt=Qt&&Qt.isDate,Jt=Qt&&Qt.isMap,te=Qt&&Qt.isRegExp,ee=Qt&&Qt.isSet,ie=Qt&&Qt.isTypedArray;function ne(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function oe(t,e,i,n){for(var o=-1,s=null==t?0:t.length;++o-1}function ce(t,e,i){for(var n=-1,o=null==t?0:t.length;++n-1;);return i}function Pe(t,e){for(var i=t.length;i--&&ye(e,t[i],0)>-1;);return i}var Me=ke({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Le=ke({"&":"&","<":"<",">":">",'"':""","'":"'"});function ze(t){return"\\"+Rt[t]}function je(t){return Lt.test(t)}function Ne(t){var e=-1,i=Array(t.size);return t.forEach(function(t,n){i[++e]=[n,t]}),i}function Ie(t,e){return function(i){return t(e(i))}}function He(t,e){for(var i=-1,n=t.length,o=0,s=[];++i",""":'"',"'":"'"}),Ue=function t(e){var i,n=(e=null==e?Ut:Ue.defaults(Ut.Object(),e,Ue.pick(Ut,jt))).Array,o=e.Date,K=e.Error,dt=e.Function,pt=e.Math,ft=e.Object,mt=e.RegExp,gt=e.String,vt=e.TypeError,yt=n.prototype,bt=dt.prototype,wt=ft.prototype,_t=e["__core-js_shared__"],xt=bt.toString,kt=wt.hasOwnProperty,Ct=0,Tt=(i=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",St=wt.toString,Et=xt.call(ft),At=Ut._,Dt=mt("^"+xt.call(kt).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pt=Xt?e.Buffer:void 0,Lt=e.Symbol,Rt=e.Uint8Array,qt=Pt?Pt.allocUnsafe:void 0,Ft=Ie(ft.getPrototypeOf,ft),Yt=ft.create,Vt=wt.propertyIsEnumerable,Kt=yt.splice,Qt=Lt?Lt.isConcatSpreadable:void 0,me=Lt?Lt.iterator:void 0,ke=Lt?Lt.toStringTag:void 0,Ye=function(){try{var t=Yo(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ve=e.clearTimeout!==Ut.clearTimeout&&e.clearTimeout,Xe=o&&o.now!==Ut.Date.now&&o.now,Ke=e.setTimeout!==Ut.setTimeout&&e.setTimeout,Qe=pt.ceil,Ze=pt.floor,Ge=ft.getOwnPropertySymbols,Je=Pt?Pt.isBuffer:void 0,ti=e.isFinite,ei=yt.join,ii=Ie(ft.keys,ft),ni=pt.max,oi=pt.min,si=o.now,ri=e.parseInt,ai=pt.random,li=yt.reverse,ci=Yo(e,"DataView"),ui=Yo(e,"Map"),hi=Yo(e,"Promise"),di=Yo(e,"Set"),pi=Yo(e,"WeakMap"),fi=Yo(ft,"create"),mi=pi&&new pi,gi={},vi=ys(ci),yi=ys(ui),bi=ys(hi),wi=ys(di),_i=ys(pi),xi=Lt?Lt.prototype:void 0,ki=xi?xi.valueOf:void 0,Ci=xi?xi.toString:void 0;function Ti(t){if(zr(t)&&!Cr(t)&&!(t instanceof Di)){if(t instanceof Ai)return t;if(kt.call(t,"__wrapped__"))return bs(t)}return new Ai(t)}var Si=function(){function t(){}return function(e){if(!Lr(e))return{};if(Yt)return Yt(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();function Ei(){}function Ai(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Di(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function $i(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Ui(t,e,i,n,o,s){var r,a=1&e,c=2&e,d=4&e;if(i&&(r=o?i(t,n,o,s):i(t)),void 0!==r)return r;if(!Lr(t))return t;var x=Cr(t);if(x){if(r=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&kt.call(t,"index")&&(i.index=t.index,i.input=t.input),i}(t),!a)return co(t,r)}else{var M=Ko(t),L=M==p||M==f;if(Ar(t))return no(t,a);if(M==v||M==l||L&&!o){if(r=c||L?{}:Zo(t),!a)return c?function(t,e){return uo(t,Xo(t),e)}(t,function(t,e){return t&&uo(e,da(e),t)}(r,t)):function(t,e){return uo(t,Vo(t),e)}(t,Wi(r,t))}else{if(!Ht[M])return o?t:{};r=function(t,e,i){var n,o=t.constructor;switch(e){case k:return oo(t);case u:case h:return new o(+t);case C:return function(t,e){var i=e?oo(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}(t,i);case T:case S:case E:case A:case D:case $:case"[object Uint8ClampedArray]":case O:case P:return so(t,i);case m:return new o;case g:case w:return new o(t);case y:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new o;case _:return n=t,ki?ft(ki.call(n)):{}}}(t,M,a)}}s||(s=new Li);var z=s.get(t);if(z)return z;s.set(t,r),Rr(t)?t.forEach(function(n){r.add(Ui(n,e,i,n,t,s))}):jr(t)&&t.forEach(function(n,o){r.set(o,Ui(n,e,i,o,t,s))});var j=x?void 0:(d?c?Ho:Io:c?da:ha)(t);return se(j||t,function(n,o){j&&(n=t[o=n]),Ii(r,o,Ui(n,e,i,o,t,s))}),r}function Yi(t,e,i){var n=i.length;if(null==t)return!n;for(t=ft(t);n--;){var o=i[n],s=e[o],r=t[o];if(void 0===r&&!(o in t)||!s(r))return!1}return!0}function Vi(t,e,i){if("function"!=typeof t)throw new vt(s);return hs(function(){t.apply(void 0,i)},e)}function Xi(t,e,i,n){var o=-1,s=le,r=!0,a=t.length,l=[],c=e.length;if(!a)return l;i&&(e=ue(e,Ae(i))),n?(s=ce,r=!1):e.length>=200&&(s=$e,r=!1,e=new Mi(e));t:for(;++o-1},Oi.prototype.set=function(t,e){var i=this.__data__,n=Hi(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this},Pi.prototype.clear=function(){this.size=0,this.__data__={hash:new $i,map:new(ui||Oi),string:new $i}},Pi.prototype.delete=function(t){var e=Fo(this,t).delete(t);return this.size-=e?1:0,e},Pi.prototype.get=function(t){return Fo(this,t).get(t)},Pi.prototype.has=function(t){return Fo(this,t).has(t)},Pi.prototype.set=function(t,e){var i=Fo(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this},Mi.prototype.add=Mi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Mi.prototype.has=function(t){return this.__data__.has(t)},Li.prototype.clear=function(){this.__data__=new Oi,this.size=0},Li.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},Li.prototype.get=function(t){return this.__data__.get(t)},Li.prototype.has=function(t){return this.__data__.has(t)},Li.prototype.set=function(t,e){var i=this.__data__;if(i instanceof Oi){var n=i.__data__;if(!ui||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new Pi(n)}return i.set(t,e),this.size=i.size,this};var Ki=fo(on),Qi=fo(sn,!0);function Zi(t,e){var i=!0;return Ki(t,function(t,n,o){return i=!!e(t,n,o)}),i}function Gi(t,e,i){for(var n=-1,o=t.length;++n0&&i(a)?e>1?tn(a,e-1,i,n,o):he(o,a):n||(o[o.length]=a)}return o}var en=mo(),nn=mo(!0);function on(t,e){return t&&en(t,e,ha)}function sn(t,e){return t&&nn(t,e,ha)}function rn(t,e){return ae(e,function(e){return Or(t[e])})}function an(t,e){for(var i=0,n=(e=Jn(e,t)).length;null!=t&&ie}function hn(t,e){return null!=t&&kt.call(t,e)}function dn(t,e){return null!=t&&e in ft(t)}function pn(t,e,i){for(var o=i?ce:le,s=t[0].length,r=t.length,a=r,l=n(r),c=1/0,u=[];a--;){var h=t[a];a&&e&&(h=ue(h,Ae(e))),c=oi(h.length,c),l[a]=!i&&(e||s>=120&&h.length>=120)?new Mi(a&&h):void 0}h=t[0];var d=-1,p=l[0];t:for(;++d=a?l:l*("desc"==i[n]?-1:1)}return t.index-e.index}(t,e,i)})}function An(t,e,i){for(var n=-1,o=e.length,s={};++n-1;)a!==t&&Kt.call(a,l,1),Kt.call(t,l,1);return t}function $n(t,e){for(var i=t?e.length:0,n=i-1;i--;){var o=e[i];if(i==n||o!==s){var s=o;Jo(o)?Kt.call(t,o,1):Un(t,o)}}return t}function On(t,e){return t+Ze(ai()*(e-t+1))}function Pn(t,e){var i="";if(!t||e<1||e>9007199254740991)return i;do{e%2&&(i+=t),(e=Ze(e/2))&&(t+=t)}while(e);return i}function Mn(t,e){return ds(as(t,e,Na),t+"")}function Ln(t,e,i,n){if(!Lr(t))return t;for(var o=-1,s=(e=Jn(e,t)).length,r=s-1,a=t;null!=a&&++os?0:s+e),(i=i>s?s:i)<0&&(i+=s),s=e>i?0:i-e>>>0,e>>>=0;for(var r=n(s);++o>>1,r=t[s];null!==r&&!Br(r)&&(i?r<=e:r=200){var c=e?null:$o(t);if(c)return Re(c);r=!1,o=$e,l=new Mi}else l=e?[]:a;t:for(;++n=n?t:Nn(t,e,i)}var io=Ve||function(t){return Ut.clearTimeout(t)};function no(t,e){if(e)return t.slice();var i=t.length,n=qt?qt(i):new t.constructor(i);return t.copy(n),n}function oo(t){var e=new t.constructor(t.byteLength);return new Rt(e).set(new Rt(t)),e}function so(t,e){var i=e?oo(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function ro(t,e){if(t!==e){var i=void 0!==t,n=null===t,o=t==t,s=Br(t),r=void 0!==e,a=null===e,l=e==e,c=Br(e);if(!a&&!c&&!s&&t>e||s&&r&&l&&!a&&!c||n&&r&&l||!i&&l||!o)return 1;if(!n&&!s&&!c&&t1?i[o-1]:void 0,r=o>2?i[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,r&&ts(i[0],i[1],r)&&(s=o<3?void 0:s,o=1),e=ft(e);++n-1?o[s?e[r]:r]:void 0}}function wo(t){return No(function(e){var i=e.length,n=i,o=Ai.prototype.thru;for(t&&e.reverse();n--;){var r=e[n];if("function"!=typeof r)throw new vt(s);if(o&&!a&&"wrapper"==Wo(r))var a=new Ai([],!0)}for(n=a?n:i;++n1&&b.reverse(),h&&ca))return!1;var c=s.get(t),u=s.get(e);if(c&&u)return c==e&&u==t;var h=-1,d=!0,p=2&i?new Mi:void 0;for(s.set(t,e),s.set(e,t);++h-1&&t%1==0&&t1?"& ":"")+e[n],e=e.join(i>2?", ":" "),t.replace(Q,"{\n/* [wrapped with "+e+"] */\n")}(n,function(t,e){return se(a,function(i){var n="_."+i[0];e&i[1]&&!le(t,n)&&t.push(n)}),t.sort()}(function(t){var e=n.match(Z);return e?e[1].split(G):[]}(),i)))}function fs(t){var e=0,i=0;return function(){var n=si(),o=16-(n-i);if(i=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function ms(t,e){var i=-1,n=t.length,o=n-1;for(e=void 0===e?n:e;++i1?t[e-1]:void 0;return i="function"==typeof i?(t.pop(),i):void 0,Hs(t,i)});function Ys(t){var e=Ti(t);return e.__chain__=!0,e}function Vs(t,e){return e(t)}var Xs=No(function(t){var e=t.length,i=e?t[0]:0,n=this.__wrapped__,o=function(e){return qi(e,t)};return!(e>1||this.__actions__.length)&&n instanceof Di&&Jo(i)?((n=n.slice(i,+i+(e?1:0))).__actions__.push({func:Vs,args:[o],thisArg:void 0}),new Ai(n,this.__chain__).thru(function(t){return e&&!t.length&&t.push(void 0),t})):this.thru(o)}),Ks=ho(function(t,e,i){kt.call(t,i)?++t[i]:Bi(t,i,1)}),Qs=bo(ks),Zs=bo(Cs);function Gs(t,e){return(Cr(t)?se:Ki)(t,qo(e,3))}function Js(t,e){return(Cr(t)?function(t,e){for(var i=null==t?0:t.length;i--&&!1!==e(t[i],i,t););return t}:Qi)(t,qo(e,3))}var tr=ho(function(t,e,i){kt.call(t,i)?t[i].push(e):Bi(t,i,[e])}),er=Mn(function(t,e,i){var o=-1,s="function"==typeof e,r=Sr(t)?n(t.length):[];return Ki(t,function(t){r[++o]=s?ne(e,t,i):fn(t,e,i)}),r}),ir=ho(function(t,e,i){Bi(t,i,e)});function nr(t,e){return(Cr(t)?ue:xn)(t,qo(e,3))}var or=ho(function(t,e,i){t[i?0:1].push(e)},function(){return[[],[]]}),sr=Mn(function(t,e){if(null==t)return[];var i=e.length;return i>1&&ts(t,e[0],e[1])?e=[]:i>2&&ts(e[0],e[1],e[2])&&(e=[e[0]]),En(t,tn(e,1),[])}),rr=Xe||function(){return Ut.Date.now()};function ar(t,e,i){return e=i?void 0:e,Po(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function lr(t,e){var i;if("function"!=typeof e)throw new vt(s);return t=Xr(t),function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=void 0),i}}var cr=Mn(function(t,e,i){var n=1;if(i.length){var o=He(i,Bo(cr));n|=32}return Po(t,n,e,i,o)}),ur=Mn(function(t,e,i){var n=3;if(i.length){var o=He(i,Bo(ur));n|=32}return Po(e,n,t,i,o)});function hr(t,e,i){var n,o,r,a,l,c,u=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new vt(s);function f(e){var i=n,s=o;return n=o=void 0,u=e,a=t.apply(s,i)}function m(t){var i=t-c;return void 0===c||i>=e||i<0||d&&t-u>=r}function g(){var t=rr();if(m(t))return v(t);l=hs(g,function(t){var i=e-(t-c);return d?oi(i,r-(t-u)):i}(t))}function v(t){return l=void 0,p&&n?f(t):(n=o=void 0,a)}function y(){var t=rr(),i=m(t);if(n=arguments,o=this,c=t,i){if(void 0===l)return function(t){return u=t,l=hs(g,e),h?f(t):a}(c);if(d)return io(l),l=hs(g,e),f(c)}return void 0===l&&(l=hs(g,e)),a}return e=Qr(e)||0,Lr(i)&&(h=!!i.leading,r=(d="maxWait"in i)?ni(Qr(i.maxWait)||0,e):r,p="trailing"in i?!!i.trailing:p),y.cancel=function(){void 0!==l&&io(l),u=0,n=c=o=l=void 0},y.flush=function(){return void 0===l?a:v(rr())},y}var dr=Mn(function(t,e){return Vi(t,1,e)}),pr=Mn(function(t,e,i){return Vi(t,Qr(e)||0,i)});function fr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new vt(s);var i=function(){var n=arguments,o=e?e.apply(this,n):n[0],s=i.cache;if(s.has(o))return s.get(o);var r=t.apply(this,n);return i.cache=s.set(o,r)||s,r};return i.cache=new(fr.Cache||Pi),i}function mr(t){if("function"!=typeof t)throw new vt(s);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}fr.Cache=Pi;var gr=to(function(t,e){var i=(e=1==e.length&&Cr(e[0])?ue(e[0],Ae(qo())):ue(tn(e,1),Ae(qo()))).length;return Mn(function(n){for(var o=-1,s=oi(n.length,i);++o=e}),kr=mn(function(){return arguments}())?mn:function(t){return zr(t)&&kt.call(t,"callee")&&!Vt.call(t,"callee")},Cr=n.isArray,Tr=Zt?Ae(Zt):function(t){return zr(t)&&cn(t)==k};function Sr(t){return null!=t&&Mr(t.length)&&!Or(t)}function Er(t){return zr(t)&&Sr(t)}var Ar=Je||Qa,Dr=Gt?Ae(Gt):function(t){return zr(t)&&cn(t)==h};function $r(t){if(!zr(t))return!1;var e=cn(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ir(t)}function Or(t){if(!Lr(t))return!1;var e=cn(t);return e==p||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Pr(t){return"number"==typeof t&&t==Xr(t)}function Mr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Lr(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function zr(t){return null!=t&&"object"==typeof t}var jr=Jt?Ae(Jt):function(t){return zr(t)&&Ko(t)==m};function Nr(t){return"number"==typeof t||zr(t)&&cn(t)==g}function Ir(t){if(!zr(t)||cn(t)!=v)return!1;var e=Ft(t);if(null===e)return!0;var i=kt.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&xt.call(i)==Et}var Hr=te?Ae(te):function(t){return zr(t)&&cn(t)==y},Rr=ee?Ae(ee):function(t){return zr(t)&&Ko(t)==b};function Wr(t){return"string"==typeof t||!Cr(t)&&zr(t)&&cn(t)==w}function Br(t){return"symbol"==typeof t||zr(t)&&cn(t)==_}var qr=ie?Ae(ie):function(t){return zr(t)&&Mr(t.length)&&!!It[cn(t)]},Fr=Eo(_n),Ur=Eo(function(t,e){return t<=e});function Yr(t){if(!t)return[];if(Sr(t))return Wr(t)?Be(t):co(t);if(me&&t[me])return function(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}(t[me]());var e=Ko(t);return(e==m?Ne:e==b?Re:wa)(t)}function Vr(t){return t?(t=Qr(t))===1/0||t===-1/0?1.7976931348623157e308*(t<0?-1:1):t==t?t:0:0===t?t:0}function Xr(t){var e=Vr(t),i=e%1;return e==e?i?e-i:e:0}function Kr(t){return t?Fi(Xr(t),0,4294967295):0}function Qr(t){if("number"==typeof t)return t;if(Br(t))return NaN;if(Lr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Lr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ee(t);var i=st.test(t);return i||at.test(t)?Bt(t.slice(2),i?2:8):ot.test(t)?NaN:+t}function Zr(t){return uo(t,da(t))}function Gr(t){return null==t?"":qn(t)}var Jr=po(function(t,e){if(os(e)||Sr(e))uo(e,ha(e),t);else for(var i in e)kt.call(e,i)&&Ii(t,i,e[i])}),ta=po(function(t,e){uo(e,da(e),t)}),ea=po(function(t,e,i,n){uo(e,da(e),t,n)}),ia=po(function(t,e,i,n){uo(e,ha(e),t,n)}),na=No(qi),oa=Mn(function(t,e){t=ft(t);var i=-1,n=e.length,o=n>2?e[2]:void 0;for(o&&ts(e[0],e[1],o)&&(n=1);++i1),e}),uo(t,Ho(t),i),n&&(i=Ui(i,7,zo));for(var o=e.length;o--;)Un(i,e[o]);return i}),ga=No(function(t,e){return null==t?{}:function(t,e){return An(t,e,function(e,i){return aa(t,i)})}(t,e)});function va(t,e){if(null==t)return{};var i=ue(Ho(t),function(t){return[t]});return e=qo(e),An(t,i,function(t,i){return e(t,i[0])})}var ya=Oo(ha),ba=Oo(da);function wa(t){return null==t?[]:De(t,ha(t))}var _a=vo(function(t,e,i){return e=e.toLowerCase(),t+(i?xa(e):e)});function xa(t){return $a(Gr(t).toLowerCase())}function ka(t){return(t=Gr(t))&&t.replace(ct,Me).replace(Ot,"")}var Ca=vo(function(t,e,i){return t+(i?"-":"")+e.toLowerCase()}),Ta=vo(function(t,e,i){return t+(i?" ":"")+e.toLowerCase()}),Sa=go("toLowerCase"),Ea=vo(function(t,e,i){return t+(i?"_":"")+e.toLowerCase()}),Aa=vo(function(t,e,i){return t+(i?" ":"")+$a(e)}),Da=vo(function(t,e,i){return t+(i?" ":"")+e.toUpperCase()}),$a=go("toUpperCase");function Oa(t,e,i){return t=Gr(t),void 0===(e=i?void 0:e)?function(t){return zt.test(t)}(t)?function(t){return t.match(Mt)||[]}(t):function(t){return t.match(J)||[]}(t):t.match(e)||[]}var Pa=Mn(function(t,e){try{return ne(t,void 0,e)}catch(t){return $r(t)?t:new K(t)}}),Ma=No(function(t,e){return se(e,function(e){e=vs(e),Bi(t,e,cr(t[e],t))}),t});function La(t){return function(){return t}}var za=wo(),ja=wo(!0);function Na(t){return t}function Ia(t){return bn("function"==typeof t?t:Ui(t,1))}var Ha=Mn(function(t,e){return function(i){return fn(i,t,e)}}),Ra=Mn(function(t,e){return function(i){return fn(t,i,e)}});function Wa(t,e,i){var n=ha(e),o=rn(e,n);null!=i||Lr(e)&&(o.length||!n.length)||(i=e,e=t,t=this,o=rn(e,ha(e)));var s=!(Lr(i)&&"chain"in i&&!i.chain),r=Or(t);return se(o,function(i){var n=e[i];t[i]=n,r&&(t.prototype[i]=function(){var e=this.__chain__;if(s||e){var i=t(this.__wrapped__);return(i.__actions__=co(this.__actions__)).push({func:n,args:arguments,thisArg:t}),i.__chain__=e,i}return n.apply(t,he([this.value()],arguments))})}),t}function Ba(){}var qa=Co(ue),Fa=Co(re),Ua=Co(fe);function Ya(t){return es(t)?xe(vs(t)):function(t){return function(e){return an(e,t)}}(t)}var Va=So(),Xa=So(!0);function Ka(){return[]}function Qa(){return!1}var Za,Ga=ko(function(t,e){return t+e},0),Ja=Do("ceil"),tl=ko(function(t,e){return t/e},1),el=Do("floor"),il=ko(function(t,e){return t*e},1),nl=Do("round"),ol=ko(function(t,e){return t-e},0);return Ti.after=function(t,e){if("function"!=typeof e)throw new vt(s);return t=Xr(t),function(){if(--t<1)return e.apply(this,arguments)}},Ti.ary=ar,Ti.assign=Jr,Ti.assignIn=ta,Ti.assignInWith=ea,Ti.assignWith=ia,Ti.at=na,Ti.before=lr,Ti.bind=cr,Ti.bindAll=Ma,Ti.bindKey=ur,Ti.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Cr(t)?t:[t]},Ti.chain=Ys,Ti.chunk=function(t,e,i){e=(i?ts(t,e,i):void 0===e)?1:ni(Xr(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,r=0,a=n(Qe(o/e));so?0:o+i),(n=void 0===n||n>o?o:Xr(n))<0&&(n+=o),n=i>n?0:Kr(n);i>>0)?(t=Gr(t))&&("string"==typeof e||null!=e&&!Hr(e))&&!(e=qn(e))&&je(t)?eo(Be(t),0,i):t.split(e,i):[]},Ti.spread=function(t,e){if("function"!=typeof t)throw new vt(s);return e=null==e?0:ni(Xr(e),0),Mn(function(i){var n=i[e],o=eo(i,0,e);return n&&he(o,n),ne(t,this,o)})},Ti.tail=function(t){var e=null==t?0:t.length;return e?Nn(t,1,e):[]},Ti.take=function(t,e,i){return t&&t.length?Nn(t,0,(e=i||void 0===e?1:Xr(e))<0?0:e):[]},Ti.takeRight=function(t,e,i){var n=null==t?0:t.length;return n?Nn(t,(e=n-(e=i||void 0===e?1:Xr(e)))<0?0:e,n):[]},Ti.takeRightWhile=function(t,e){return t&&t.length?Vn(t,qo(e,3),!1,!0):[]},Ti.takeWhile=function(t,e){return t&&t.length?Vn(t,qo(e,3)):[]},Ti.tap=function(t,e){return e(t),t},Ti.throttle=function(t,e,i){var n=!0,o=!0;if("function"!=typeof t)throw new vt(s);return Lr(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),hr(t,e,{leading:n,maxWait:e,trailing:o})},Ti.thru=Vs,Ti.toArray=Yr,Ti.toPairs=ya,Ti.toPairsIn=ba,Ti.toPath=function(t){return Cr(t)?ue(t,vs):Br(t)?[t]:co(gs(Gr(t)))},Ti.toPlainObject=Zr,Ti.transform=function(t,e,i){var n=Cr(t),o=n||Ar(t)||qr(t);if(e=qo(e,4),null==i){var s=t&&t.constructor;i=o?n?new s:[]:Lr(t)&&Or(s)?Si(Ft(t)):{}}return(o?se:on)(t,function(t,n,o){return e(i,t,n,o)}),i},Ti.unary=function(t){return ar(t,1)},Ti.union=zs,Ti.unionBy=js,Ti.unionWith=Ns,Ti.uniq=function(t){return t&&t.length?Fn(t):[]},Ti.uniqBy=function(t,e){return t&&t.length?Fn(t,qo(e,2)):[]},Ti.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Fn(t,void 0,e):[]},Ti.unset=function(t,e){return null==t||Un(t,e)},Ti.unzip=Is,Ti.unzipWith=Hs,Ti.update=function(t,e,i){return null==t?t:Yn(t,e,Gn(i))},Ti.updateWith=function(t,e,i,n){return n="function"==typeof n?n:void 0,null==t?t:Yn(t,e,Gn(i),n)},Ti.values=wa,Ti.valuesIn=function(t){return null==t?[]:De(t,da(t))},Ti.without=Rs,Ti.words=Oa,Ti.wrap=function(t,e){return vr(Gn(e),t)},Ti.xor=Ws,Ti.xorBy=Bs,Ti.xorWith=qs,Ti.zip=Fs,Ti.zipObject=function(t,e){return Qn(t||[],e||[],Ii)},Ti.zipObjectDeep=function(t,e){return Qn(t||[],e||[],Ln)},Ti.zipWith=Us,Ti.entries=ya,Ti.entriesIn=ba,Ti.extend=ta,Ti.extendWith=ea,Wa(Ti,Ti),Ti.add=Ga,Ti.attempt=Pa,Ti.camelCase=_a,Ti.capitalize=xa,Ti.ceil=Ja,Ti.clamp=function(t,e,i){return void 0===i&&(i=e,e=void 0),void 0!==i&&(i=(i=Qr(i))==i?i:0),void 0!==e&&(e=(e=Qr(e))==e?e:0),Fi(Qr(t),e,i)},Ti.clone=function(t){return Ui(t,4)},Ti.cloneDeep=function(t){return Ui(t,5)},Ti.cloneDeepWith=function(t,e){return Ui(t,5,e="function"==typeof e?e:void 0)},Ti.cloneWith=function(t,e){return Ui(t,4,e="function"==typeof e?e:void 0)},Ti.conformsTo=function(t,e){return null==e||Yi(t,e,ha(e))},Ti.deburr=ka,Ti.defaultTo=function(t,e){return null==t||t!=t?e:t},Ti.divide=tl,Ti.endsWith=function(t,e,i){t=Gr(t),e=qn(e);var n=t.length,o=i=void 0===i?n:Fi(Xr(i),0,n);return(i-=e.length)>=0&&t.slice(i,o)==e},Ti.eq=wr,Ti.escape=function(t){return(t=Gr(t))&&H.test(t)?t.replace(N,Le):t},Ti.escapeRegExp=function(t){return(t=Gr(t))&&V.test(t)?t.replace(Y,"\\$&"):t},Ti.every=function(t,e,i){var n=Cr(t)?re:Zi;return i&&ts(t,e,i)&&(e=void 0),n(t,qo(e,3))},Ti.find=Qs,Ti.findIndex=ks,Ti.findKey=function(t,e){return ge(t,qo(e,3),on)},Ti.findLast=Zs,Ti.findLastIndex=Cs,Ti.findLastKey=function(t,e){return ge(t,qo(e,3),sn)},Ti.floor=el,Ti.forEach=Gs,Ti.forEachRight=Js,Ti.forIn=function(t,e){return null==t?t:en(t,qo(e,3),da)},Ti.forInRight=function(t,e){return null==t?t:nn(t,qo(e,3),da)},Ti.forOwn=function(t,e){return t&&on(t,qo(e,3))},Ti.forOwnRight=function(t,e){return t&&sn(t,qo(e,3))},Ti.get=ra,Ti.gt=_r,Ti.gte=xr,Ti.has=function(t,e){return null!=t&&Qo(t,e,hn)},Ti.hasIn=aa,Ti.head=Ss,Ti.identity=Na,Ti.includes=function(t,e,i,n){t=Sr(t)?t:wa(t),i=i&&!n?Xr(i):0;var o=t.length;return i<0&&(i=ni(o+i,0)),Wr(t)?i<=o&&t.indexOf(e,i)>-1:!!o&&ye(t,e,i)>-1},Ti.indexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var o=null==i?0:Xr(i);return o<0&&(o=ni(n+o,0)),ye(t,e,o)},Ti.inRange=function(t,e,i){return e=Vr(e),void 0===i?(i=e,e=0):i=Vr(i),function(t,e,i){return t>=oi(e,i)&&t=-9007199254740991&&t<=9007199254740991},Ti.isSet=Rr,Ti.isString=Wr,Ti.isSymbol=Br,Ti.isTypedArray=qr,Ti.isUndefined=function(t){return void 0===t},Ti.isWeakMap=function(t){return zr(t)&&Ko(t)==x},Ti.isWeakSet=function(t){return zr(t)&&"[object WeakSet]"==cn(t)},Ti.join=function(t,e){return null==t?"":ei.call(t,e)},Ti.kebabCase=Ca,Ti.last=$s,Ti.lastIndexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var o=n;return void 0!==i&&(o=(o=Xr(i))<0?ni(n+o,0):oi(o,n-1)),e==e?function(t,e,i){for(var n=o+1;n--;)if(t[n]===e)return n;return n}(t,e):ve(t,we,o,!0)},Ti.lowerCase=Ta,Ti.lowerFirst=Sa,Ti.lt=Fr,Ti.lte=Ur,Ti.max=function(t){return t&&t.length?Gi(t,Na,un):void 0},Ti.maxBy=function(t,e){return t&&t.length?Gi(t,qo(e,2),un):void 0},Ti.mean=function(t){return _e(t,Na)},Ti.meanBy=function(t,e){return _e(t,qo(e,2))},Ti.min=function(t){return t&&t.length?Gi(t,Na,_n):void 0},Ti.minBy=function(t,e){return t&&t.length?Gi(t,qo(e,2),_n):void 0},Ti.stubArray=Ka,Ti.stubFalse=Qa,Ti.stubObject=function(){return{}},Ti.stubString=function(){return""},Ti.stubTrue=function(){return!0},Ti.multiply=il,Ti.nth=function(t,e){return t&&t.length?Sn(t,Xr(e)):void 0},Ti.noConflict=function(){return Ut._===this&&(Ut._=At),this},Ti.noop=Ba,Ti.now=rr,Ti.pad=function(t,e,i){t=Gr(t);var n=(e=Xr(e))?We(t):0;if(!e||n>=e)return t;var o=(e-n)/2;return To(Ze(o),i)+t+To(Qe(o),i)},Ti.padEnd=function(t,e,i){t=Gr(t);var n=(e=Xr(e))?We(t):0;return e&&ne){var n=t;t=e,e=n}if(i||t%1||e%1){var o=ai();return oi(t+o*(e-t+Wt("1e-"+((o+"").length-1))),e)}return On(t,e)},Ti.reduce=function(t,e,i){var n=Cr(t)?de:Ce,o=arguments.length<3;return n(t,qo(e,4),i,o,Ki)},Ti.reduceRight=function(t,e,i){var n=Cr(t)?pe:Ce,o=arguments.length<3;return n(t,qo(e,4),i,o,Qi)},Ti.repeat=function(t,e,i){return e=(i?ts(t,e,i):void 0===e)?1:Xr(e),Pn(Gr(t),e)},Ti.replace=function(){var t=arguments,e=Gr(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Ti.result=function(t,e,i){var n=-1,o=(e=Jn(e,t)).length;for(o||(o=1,t=void 0);++n9007199254740991)return[];var i=4294967295,n=oi(t,4294967295);t-=4294967295;for(var o=Se(n,e=qo(e));++i=s)return t;var a=i-We(n);if(a<1)return n;var l=r?eo(r,0,a).join(""):t.slice(0,a);if(void 0===o)return l+n;if(r&&(a+=l.length-a),Hr(o)){if(t.slice(a).search(o)){var c,u=l;for(o.global||(o=mt(o.source,Gr(nt.exec(o))+"g")),o.lastIndex=0;c=o.exec(u);)var h=c.index;l=l.slice(0,void 0===h?a:h)}}else if(t.indexOf(qn(o),a)!=a){var d=l.lastIndexOf(o);d>-1&&(l=l.slice(0,d))}return l+n},Ti.unescape=function(t){return(t=Gr(t))&&I.test(t)?t.replace(j,Fe):t},Ti.uniqueId=function(t){var e=++Ct;return Gr(t)+e},Ti.upperCase=Da,Ti.upperFirst=$a,Ti.each=Gs,Ti.eachRight=Js,Ti.first=Ss,Wa(Ti,(Za={},on(Ti,function(t,e){kt.call(Ti.prototype,e)||(Za[e]=t)}),Za),{chain:!1}),Ti.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Ti[t].placeholder=Ti}),se(["drop","take"],function(t,e){Di.prototype[t]=function(i){i=void 0===i?1:ni(Xr(i),0);var n=this.__filtered__&&!e?new Di(this):this.clone();return n.__filtered__?n.__takeCount__=oi(i,n.__takeCount__):n.__views__.push({size:oi(i,4294967295),type:t+(n.__dir__<0?"Right":"")}),n},Di.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),se(["filter","map","takeWhile"],function(t,e){var i=e+1,n=1==i||3==i;Di.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:qo(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}}),se(["head","last"],function(t,e){var i="take"+(e?"Right":"");Di.prototype[t]=function(){return this[i](1).value()[0]}}),se(["initial","tail"],function(t,e){var i="drop"+(e?"":"Right");Di.prototype[t]=function(){return this.__filtered__?new Di(this):this[i](1)}}),Di.prototype.compact=function(){return this.filter(Na)},Di.prototype.find=function(t){return this.filter(t).head()},Di.prototype.findLast=function(t){return this.reverse().find(t)},Di.prototype.invokeMap=Mn(function(t,e){return"function"==typeof t?new Di(this):this.map(function(i){return fn(i,t,e)})}),Di.prototype.reject=function(t){return this.filter(mr(qo(t)))},Di.prototype.slice=function(t,e){t=Xr(t);var i=this;return i.__filtered__&&(t>0||e<0)?new Di(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),void 0!==e&&(i=(e=Xr(e))<0?i.dropRight(-e):i.take(e-t)),i)},Di.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Di.prototype.toArray=function(){return this.take(4294967295)},on(Di.prototype,function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),o=Ti[n?"take"+("last"==e?"Right":""):e],s=n||/^find/.test(e);o&&(Ti.prototype[e]=function(){var e=this.__wrapped__,r=n?[1]:arguments,a=e instanceof Di,l=r[0],c=a||Cr(e),u=function(t){var e=o.apply(Ti,he([t],r));return n&&h?e[0]:e};c&&i&&"function"==typeof l&&1!=l.length&&(a=c=!1);var h=this.__chain__,d=!!this.__actions__.length,p=s&&!h,f=a&&!d;if(!s&&c){e=f?e:new Di(this);var m=t.apply(e,r);return m.__actions__.push({func:Vs,args:[u],thisArg:void 0}),new Ai(m,h)}return p&&f?t.apply(this,r):(m=this.thru(u),p?n?m.value()[0]:m.value():m)})}),se(["pop","push","shift","sort","splice","unshift"],function(t){var e=yt[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);Ti.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var o=this.value();return e.apply(Cr(o)?o:[],t)}return this[i](function(i){return e.apply(Cr(i)?i:[],t)})}}),on(Di.prototype,function(t,e){var i=Ti[e];if(i){var n=i.name+"";kt.call(gi,n)||(gi[n]=[]),gi[n].push({name:e,func:i})}}),gi[_o(void 0,2).name]=[{name:"wrapper",func:void 0}],Di.prototype.clone=function(){var t=new Di(this.__wrapped__);return t.__actions__=co(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=co(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=co(this.__views__),t},Di.prototype.reverse=function(){if(this.__filtered__){var t=new Di(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Di.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,i=Cr(t),n=e<0,o=i?t.length:0,s=function(t,e,i){for(var n=-1,o=i.length;++n=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Ti.prototype.plant=function(t){for(var e,i=this;i instanceof Ei;){var n=bs(i);n.__index__=0,n.__values__=void 0,e?o.__wrapped__=n:e=n;var o=n;i=i.__wrapped__}return o.__wrapped__=t,e},Ti.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Di){var e=t;return this.__actions__.length&&(e=new Di(this)),(e=e.reverse()).__actions__.push({func:Vs,args:[Ls],thisArg:void 0}),new Ai(e,this.__chain__)}return this.thru(Ls)},Ti.prototype.toJSON=Ti.prototype.valueOf=Ti.prototype.value=function(){return Xn(this.__wrapped__,this.__actions__)},Ti.prototype.first=Ti.prototype.head,me&&(Ti.prototype[me]=function(){return this}),Ti}();Ut._=Ue,void 0===(o=function(){return Ue}.call(e,i,e,n))||(n.exports=o)}).call(this)}).call(this,i("yLpj"),i("YuTi")(t))},MLWZ:function(t,e,i){"use strict";var n=i("xTJ+");function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var r=[];n.forEach(e,function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),r.push(o(e)+"="+o(t))}))}),s=r.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},OH9c:function(t,e,i){"use strict";t.exports=function(t,e,i,n,o){return t.config=e,i&&(t.code=i),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},OTTw:function(t,e,i){"use strict";var n=i("xTJ+");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function o(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=o(window.location.href),function(e){var i=n.isString(e)?o(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},"Rn+g":function(t,e,i){"use strict";var n=i("LYNF");t.exports=function(t,e,i){var o=i.config.validateStatus;!o||o(i.status)?t(i):e(n("Request failed with status code "+i.status,i.config,null,i.request,i))}},SntB:function(t,e,i){"use strict";var n=i("xTJ+");t.exports=function(t,e){e=e||{};var i={},o=["url","method","params","data"],s=["headers","auth","proxy"],r=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];n.forEach(o,function(t){void 0!==e[t]&&(i[t]=e[t])}),n.forEach(s,function(o){n.isObject(e[o])?i[o]=n.deepMerge(t[o],e[o]):void 0!==e[o]?i[o]=e[o]:n.isObject(t[o])?i[o]=n.deepMerge(t[o]):void 0!==t[o]&&(i[o]=t[o])}),n.forEach(r,function(n){void 0!==e[n]?i[n]=e[n]:void 0!==t[n]&&(i[n]=t[n])});var a=o.concat(s).concat(r),l=Object.keys(e).filter(function(t){return-1===a.indexOf(t)});return n.forEach(l,function(n){void 0!==e[n]?i[n]=e[n]:void 0!==t[n]&&(i[n]=t[n])}),i}},UnBK:function(t,e,i){"use strict";var n=i("xTJ+"),o=i("xAGQ"),s=i("Lmem"),r=i("JEQr");function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||r.adapter)(t).then(function(e){return a(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(a(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},YT72:function(t,e){},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},bUC5:function(t,e,i){i("9Wh1")},endd:function(t,e,i){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},eqyj:function(t,e,i){"use strict";var n=i("xTJ+");t.exports=n.isStandardBrowserEnv()?{write:function(t,e,i,o,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(s)&&a.push("domain="+s),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},g7np:function(t,e,i){"use strict";var n=i("2SVd"),o=i("5oMp");t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},gBAA:function(t,e){},"jfS+":function(t,e,i){"use strict";var n=i("endd");function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var i=this;t(function(t){i.reason||(i.reason=new n(t),e(i.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},pyCd:function(t,e){},tQ2B:function(t,e,i){"use strict";var n=i("xTJ+"),o=i("Rn+g"),s=i("MLWZ"),r=i("g7np"),a=i("w0Vi"),l=i("OTTw"),c=i("LYNF");t.exports=function(t){return new Promise(function(e,u){var h=t.data,d=t.headers;n.isFormData(h)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",m=t.auth.password||"";d.Authorization="Basic "+btoa(f+":"+m)}var g=r(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),s(g,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var i="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,n={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:i,config:t,request:p};o(e,u,n),p=null}},p.onabort=function(){p&&(u(c("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){u(c("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),u(c(e,t,"ECONNABORTED",p)),p=null},n.isStandardBrowserEnv()){var v=i("eqyj"),y=(t.withCredentials||l(g))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;y&&(d[t.xsrfHeaderName]=y)}if("setRequestHeader"in p&&n.forEach(d,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),u(t),p=null)}),void 0===h&&(h=null),p.send(h)})}},vDqi:function(t,e,i){t.exports=i("zuR4")},w0Vi:function(t,e,i){"use strict";var n=i("xTJ+"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,s,r={};return t?(n.forEach(t.split("\n"),function(t){if(s=t.indexOf(":"),e=n.trim(t.substr(0,s)).toLowerCase(),i=n.trim(t.substr(s+1)),e){if(r[e]&&o.indexOf(e)>=0)return;r[e]="set-cookie"===e?(r[e]?r[e]:[]).concat([i]):r[e]?r[e]+", "+i:i}}),r):r}},xAGQ:function(t,e,i){"use strict";var n=i("xTJ+");t.exports=function(t,e,i){return n.forEach(i,function(i){t=i(t,e)}),t}},"xTJ+":function(t,e,i){"use strict";var n=i("HSsa"),o=Object.prototype.toString;function s(t){return"[object Array]"===o.call(t)}function r(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===o.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),s(t))for(var i=0,n=t.length;io;o++)n(i.eq(o),e);return i}function n(i,n){if(!i.hasClass(f.base)){n=t.extend({},n,i.data(d+"-options"));var a="";a+='
    ',a+='
    ',a+='
    ',a+="
    ",n.paddingRight=parseInt(i.css("padding-right"),10),n.paddingBottom=parseInt(i.css("padding-bottom"),10),i.addClass([f.base,n.customClass].join(" ")).wrapInner('
    ').prepend(a),n.horizontal&&i.addClass(f.isHorizontal);var l=t.extend({$scroller:i,$content:i.find(h(f.content)),$bar:i.find(h(f.bar)),$track:i.find(h(f.track)),$handle:i.find(h(f.handle))},n);l.trackMargin=parseInt(l.trackMargin,10),l.$content.on("scroll."+d,l,o),l.$scroller.on(m.start,h(f.track),l,s).on(m.start,h(f.handle),l,r).data(d,l),v.reset.apply(i),t(e).one("load",function(){v.reset.apply(i)})}}function o(t){t.preventDefault(),t.stopPropagation();var e=t.data,i={};if(e.horizontal){var n=e.$content.scrollLeft();0>n&&(n=0);var o=n/e.scrollRatio;o>e.handleBounds.right&&(o=e.handleBounds.right),i={left:o}}else{var s=e.$content.scrollTop();0>s&&(s=0);var r=s/e.scrollRatio;r>e.handleBounds.bottom&&(r=e.handleBounds.bottom),i={top:r}}e.$handle.css(i)}function s(t){t.preventDefault(),t.stopPropagation();var e=t.data,i=t.originalEvent,n=e.$track.offset(),o=void 0!==i.targetTouches?i.targetTouches[0]:null,s=o?o.pageX:t.clientX,r=o?o.pageY:t.clientY;e.horizontal?(e.mouseStart=s,e.handleLeft=s-n.left-e.handleWidth/2,u(e,e.handleLeft)):(e.mouseStart=r,e.handleTop=r-n.top-e.handleHeight/2,u(e,e.handleTop)),a(e)}function r(t){t.preventDefault(),t.stopPropagation();var e=t.data,i=t.originalEvent,n=void 0!==i.targetTouches?i.targetTouches[0]:null,o=n?n.pageX:t.clientX,s=n?n.pageY:t.clientY;e.horizontal?(e.mouseStart=o,e.handleLeft=parseInt(e.$handle.css("left"),10)):(e.mouseStart=s,e.handleTop=parseInt(e.$handle.css("top"),10)),a(e)}function a(t){t.$content.off(h(d)),p.on(m.move,t,l).on(m.end,t,c)}function l(t){t.preventDefault(),t.stopPropagation();var e=t.data,i=t.originalEvent,n=0,o=0,s=void 0!==i.targetTouches?i.targetTouches[0]:null,r=s?s.pageX:t.clientX,a=s?s.pageY:t.clientY;e.horizontal?(o=e.mouseStart-r,n=e.handleLeft-o):(o=e.mouseStart-a,n=e.handleTop-o),u(e,n)}function c(t){t.preventDefault(),t.stopPropagation();var e=t.data;e.$content.on("scroll.scroller",e,o),p.off(".scroller")}function u(t,e){var i={};if(t.horizontal){et.handleBounds.right&&(e=t.handleBounds.right);var n=Math.round(e*t.scrollRatio);i={left:e},t.$content.scrollLeft(n)}else{et.handleBounds.bottom&&(e=t.handleBounds.bottom);var o=Math.round(e*t.scrollRatio);i={top:e},t.$content.scrollTop(o)}t.$handle.css(i)}function h(t){return"."+t}var d="scroller",p=null,f={base:"scroller",content:"scroller-content",bar:"scroller-bar",track:"scroller-track",handle:"scroller-handle",isHorizontal:"scroller-horizontal",isSetup:"scroller-setup",isActive:"scroller-active"},m={start:"touchstart."+d+" mousedown."+d,move:"touchmove."+d+" mousemove."+d,end:"touchend."+d+" mouseup."+d},g={customClass:"",duration:0,handleSize:0,horizontal:!1,trackMargin:0},v={defaults:function(e){return g=t.extend(g,e||{}),"object"!=typeof this||t(this)},destroy:function(){return t(this).each(function(e,i){var n=t(i).data(d);n&&(n.$scroller.removeClass([n.customClass,f.base,f.isActive].join(" ")),n.$bar.remove(),n.$content.contents().unwrap(),n.$content.off(h(d)),n.$scroller.off(h(d)).removeData(d))})},scroll:function(e,i){return t(this).each(function(){var n=t(this).data(d),o=i||g.duration;if("number"!=typeof e){var s=t(e);if(s.length>0){var r=s.position();e=n.horizontal?r.left+n.$content.scrollLeft():r.top+n.$content.scrollTop()}else e=n.$content.scrollTop()}var a=n.horizontal?{scrollLeft:e}:{scrollTop:e};n.$content.stop().animate(a,o)})},reset:function(){return t(this).each(function(){var e=t(this).data(d);if(e){e.$scroller.addClass(f.isSetup);var i={},n={},o={},s=0,r=!0;if(e.horizontal)e.barHeight=e.$content[0].offsetHeight-e.$content[0].clientHeight,e.frameWidth=e.$content.outerWidth(),e.trackWidth=e.frameWidth-2*e.trackMargin,e.scrollWidth=e.$content[0].scrollWidth,e.ratio=e.trackWidth/e.scrollWidth,e.trackRatio=e.trackWidth/e.scrollWidth,e.handleWidth=e.handleSize>0?e.handleSize:e.trackWidth*e.trackRatio,e.scrollRatio=(e.scrollWidth-e.frameWidth)/(e.trackWidth-e.handleWidth),e.handleBounds={left:0,right:e.trackWidth-e.handleWidth},e.$content.css({paddingBottom:e.barHeight+e.paddingBottom}),s=e.$content.scrollLeft()*e.ratio,r=e.scrollWidth<=e.frameWidth,i={width:e.frameWidth},n={width:e.trackWidth,marginLeft:e.trackMargin,marginRight:e.trackMargin},o={width:e.handleWidth};else e.barWidth=e.$content[0].offsetWidth-e.$content[0].clientWidth,e.frameHeight=e.$content.outerHeight(),e.trackHeight=e.frameHeight-2*e.trackMargin,e.scrollHeight=e.$content[0].scrollHeight,e.ratio=e.trackHeight/e.scrollHeight,e.trackRatio=e.trackHeight/e.scrollHeight,e.handleHeight=e.handleSize>0?e.handleSize:e.trackHeight*e.trackRatio,e.scrollRatio=(e.scrollHeight-e.frameHeight)/(e.trackHeight-e.handleHeight),e.handleBounds={top:0,bottom:e.trackHeight-e.handleHeight},s=e.$content.scrollTop()*e.ratio,r=e.scrollHeight<=e.frameHeight,i={height:e.frameHeight},n={height:e.trackHeight,marginBottom:e.trackMargin,marginTop:e.trackMargin},o={height:e.handleHeight};r?e.$scroller.removeClass(f.isActive):e.$scroller.addClass(f.isActive),e.$bar.css(i),e.$track.css(n),e.$handle.css(o),u(e,s),e.$scroller.removeClass(f.isSetup)}})}};t.fn[d]=function(t){return v[t]?v[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?this:i.apply(this,arguments)},t[d]=function(t){"defaults"===t&&v.defaults.apply(this,Array.prototype.slice.call(arguments,1))}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var i;return function(){var t,i,n;e&&e.requirejs||(e?i=e:e={},function(e){function o(t,e){return b.call(t,e)}function s(t,e){var i,n,o,s,r,a,l,c,u,h,d,p=e&&e.split("/"),f=v.map,m=f&&f["*"]||{};if(t&&"."===t.charAt(0))if(e){for(r=(t=t.split("/")).length-1,v.nodeIdCompat&&_.test(t[r])&&(t[r]=t[r].replace(_,"")),t=p.slice(0,p.length-1).concat(t),u=0;u0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((p||m)&&f){for(u=(i=t.split("/")).length;u>0;u-=1){if(n=i.slice(0,u).join("/"),p)for(h=p.length;h>0;h-=1)if((o=f[p.slice(0,h).join("/")])&&(o=o[n])){s=o,a=u;break}if(s)break;!l&&m&&m[n]&&(l=m[n],c=u)}!s&&l&&(s=l,a=c),s&&(i.splice(0,a,s),t=i.join("/"))}return t}function r(t,i){return function(){var n=w.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),d.apply(e,n.concat([t,i]))}}function a(t){return function(e){m[t]=e}}function l(t){if(o(g,t)){var i=g[t];delete g[t],y[t]=!0,h.apply(e,i)}if(!o(m,t)&&!o(y,t))throw new Error("No "+t);return m[t]}function c(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function u(t){return function(){return v&&v.config&&v.config[t]||{}}}var h,d,p,f,m={},g={},v={},y={},b=Object.prototype.hasOwnProperty,w=[].slice,_=/\.js$/;p=function(t,e){var i,n=c(t),o=n[0];return t=n[1],o&&(i=l(o=s(o,e))),o?t=i&&i.normalize?i.normalize(t,function(t){return function(e){return s(e,t)}}(e)):s(t,e):(o=(n=c(t=s(t,e)))[0],t=n[1],o&&(i=l(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},f={require:function(t){return r(t)},exports:function(t){var e=m[t];return void 0!==e?e:m[t]={}},module:function(t){return{id:t,uri:"",exports:m[t],config:u(t)}}},h=function(t,i,n,s){var c,u,h,d,v,b,w=[],_=typeof n;if(s=s||t,"undefined"===_||"function"===_){for(i=!i.length&&n.length?["require","exports","module"]:i,v=0;v0&&(e.call(arguments,t.prototype.constructor),o=i.prototype.constructor),o.apply(this,arguments)}var o=e(i),s=e(t);i.displayName=t.displayName,n.prototype=new function(){this.constructor=n};for(var r=0;ri;i++)t[i].apply(this,e)},i.Observable=n,i.generateChars=function(t){for(var e="",i=0;t>i;i++){e+=Math.floor(36*Math.random()).toString(36)}return e},i.bind=function(t,e){return function(){t.apply(e,arguments)}},i._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var o=0;o":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},i.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},i}),e.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('
      ');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('
    • '),o=this.options.get("translations").get(e.message);n.append(i(o(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var e=this;this.data.current(function(i){var n=t.map(i,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var e=t(this),i=t.data(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,n)>-1?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var i=document.createElement("li");i.className="select2-results__option";var n={role:"treeitem","aria-selected":"false"};for(var o in e.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(i.id=e._resultId),e.title&&(i.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var s=n[o];i.setAttribute(o,s)}if(e.children){var r=t(i),a=document.createElement("strong");a.className="select2-results__group",t(a),this.template(e,a);for(var l=[],c=0;c",{class:"select2-results__options select2-results__options--nested"});d.append(l),r.append(a),r.append(d)}else this.template(e,i);return t.data(i,"data",e),i},i.prototype.bind=function(e,i){var n=this,o=e.id+"-results";this.$results.attr("id",o),e.on("results:all",function(t){n.clear(),n.append(t.data),e.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),e.on("results:append",function(t){n.append(t.data),e.isOpen()&&n.setClasses()}),e.on("query",function(t){n.hideMessages(),n.showLoading(t)}),e.on("select",function(){e.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),e.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),e.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=n.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=n.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?n.trigger("close",{}):n.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=n.getHighlightedResults(),e=n.$results.find("[aria-selected]"),i=e.index(t);if(0!==i){var o=i-1;0===t.length&&(o=0);var s=e.eq(o);s.trigger("mouseenter");var r=n.$results.offset().top,a=s.offset().top,l=n.$results.scrollTop()+(a-r);0===o?n.$results.scrollTop(0):0>a-r&&n.$results.scrollTop(l)}}),e.on("results:next",function(){var t=n.getHighlightedResults(),e=n.$results.find("[aria-selected]"),i=e.index(t)+1;if(!(i>=e.length)){var o=e.eq(i);o.trigger("mouseenter");var s=n.$results.offset().top+n.$results.outerHeight(!1),r=o.offset().top+o.outerHeight(!1),a=n.$results.scrollTop()+r-s;0===i?n.$results.scrollTop(0):r>s&&n.$results.scrollTop(a)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){n.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=n.$results.scrollTop(),i=n.$results.get(0).scrollHeight-e+t.deltaY,o=t.deltaY>0&&e-t.deltaY<=0,s=t.deltaY<0&&i<=n.$results.height();o?(n.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):s&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var i=t(this),o=i.data("data");return"true"===i.attr("aria-selected")?void(n.options.get("multiple")?n.trigger("unselect",{originalEvent:e,data:o}):n.trigger("close",{})):void n.trigger("select",{originalEvent:e,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var i=t(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:i,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,o=this.$results.scrollTop()+(n-i),s=n-i;o-=2*t.outerHeight(!1),2>=e?this.$results.scrollTop(0):(s>this.$results.outerHeight()||0>s)&&this.$results.scrollTop(o)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),s=n(e,i);null==s?i.style.display="none":"string"==typeof s?i.innerHTML=o(s):t(i).append(s)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e,e},n.prototype.bind=function(t,e){var n=this,o=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",o),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(e){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||t.contains(i.$selection[0],document.activeElement)||i.trigger("blur",e)},1)},n.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){var i=t(e.target).closest(".select2");t(".select2.select2-container--open").each(function(){var e=t(this);this!=i[0]&&e.data("element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},n}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function o(){o.__super__.constructor.apply(this,arguments)}return i.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html(''),t},o.prototype.bind=function(t,e){var i=this;o.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||i.$selection.focus()}),t.on("selection:update",function(t){i.update(t.data)})},o.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},o.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},o.prototype.selectionContainer=function(){return t("")},o.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(e,i);i.empty().append(n),i.prop("title",e.title||e.text)}else this.clear()},o}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(t,e){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('
        '),t},n.prototype.bind=function(e,i){var o=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.options.get("disabled")){var i=t(this).parent().data("data");o.trigger("unselect",{originalEvent:e,data:i})}})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},n.prototype.selectionContainer=function(){return t('
      • ×
      • ')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n1||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},e}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function i(){}return i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();for(var n=i.data("data"),o=0;o0||0===i.length)){var n=t('×');n.data("data",i),this.$selection.find(".select2-selection__rendered").prepend(n)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('');this.$searchContainer=i,this.$search=i.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(t,e,n){var o=this;t.call(this,e,n),e.on("open",function(){o.$search.trigger("focus")}),e.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),e.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),e.on("disable",function(){o.$search.prop("disabled",!0)}),e.on("focus",function(t){o.$search.trigger("focus")}),e.on("results:focus",function(t){o.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===o.$search.val()){var e=o.$searchContainer.prev(".select2-selection__choice");if(e.length>0){var n=e.data("data");o.searchRemoveChoice(n),t.preventDefault()}}});var s=document.documentMode,r=s&&11>=s;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return r?void o.$selection.off("input.search input.searchcheck"):void o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(r&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&o.handleSearch(t)}})},n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.focus()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var o=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,s)){i=i||{};var n=t.Event("select2:"+e,{params:i});o.$element.trigger(n),-1!==t.inArray(e,r)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,i){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return(n+=t.generateChars(4))+(null!=i.id?"-"+i.id.toString():"-"+t.generateChars(4))},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),o=n.item(t);e.push(o)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var o=[];(t=[t]).push.apply(t,n);for(var s=0;s=0){var u=s.filter(n(c)),h=this.item(u),d=i.extend(!0,{},c,h),p=this.option(d);u.replaceWith(p)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(f,m)}a.push(f)}}return a},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return i.extend({},t,{q:t.term})},transport:function(t,e,n){var o=i.ajax(t);return o.then(e),o.fail(n),o}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){function n(){var n=s.transport(s,function(n){var s=o.processResults(n,t);o.options.get("debug")&&window.console&&console.error&&(s&&s.results&&i.isArray(s.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(s)},function(){n.status&&"0"===n.status||o.trigger("results:message",{message:"errorLoading"})});o._request=n}var o=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=i.extend({type:"GET"},this.ajaxOptions);"function"==typeof s.url&&(s.url=s.url.call(this.$element,t)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(n,this.ajaxOptions.delay)):n()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var o=n.get("tags"),s=n.get("createTag");void 0!==s&&(this.createTag=s);var r=n.get("insertTag");if(void 0!==r&&(this.insertTag=r),e.call(this,i,n),t.isArray(o))for(var a=0;a0&&e.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(o){var s=null!=o?o.length:0;return n.maximumSelectionLength>0&&s>=n.maximumSelectionLength?void n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):void t.call(n,e,i)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function i(){}return i.prototype.render=function(e){var i=e.call(this),n=t('');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),this.$search.on("keydown",function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){o.handleSearch(t)}),i.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),i.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),i.on("focus",function(){i.isOpen()&&o.$search.focus()}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.showSearch=function(t,e){return!0},i}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var o=e[n];this.placeholder.id===o.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),i.on("query",function(t){o.lastParams=t,o.loading=!0}),i.on("query:append",function(t){o.lastParams=t,o.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&e&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('
      • '),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=n.get("dropdownParent")||t(document.body),e.call(this,i,n)}return i.prototype.bind=function(t,e,i){var n=this,o=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),o||(o=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t(""),n=e.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i,n){var o=this,s="scroll.select2."+n.id,r="resize.select2."+n.id,a="orientationchange.select2."+n.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){t(this).data("select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(s,function(e){var i=t(this).data("select2-scroll-position");t(this).scrollTop(i.y)}),t(window).on(s+" "+r+" "+a,function(t){o._positionDropdown(),o._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var o="scroll.select2."+n.id,s="resize.select2."+n.id,r="orientationchange.select2."+n.id;this.$container.parents().filter(e.hasScroll).off(o),t(window).off(o+" "+s+" "+r)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),o=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=s.top,r.bottom=s.top+r.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=ls.bottom+a,d={left:s.left,top:r.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var f=p.offset();d.top-=f.top,d.left-=f.left,i||n||(o="below"),h||!u||i?!u&&h&&i&&(o="below"):o="above",("above"==o||i&&"below"!==o)&&(d.top=r.top-f.top-a),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},i.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,b)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,m)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null!=h.query){var A=e(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,A)}if(null!=h.initSelection){var D=e(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,D)}}if(null==h.resultsAdapter&&(h.resultsAdapter=i,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,k)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,x)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,S))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=w;else{var $=c.Decorate(w,_);h.dropdownAdapter=$}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,T)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,E)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var O=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,O)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=o:h.selectionAdapter=n,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,r)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var P=e(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,P)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var M=h.language.split("-")[0];h.language=[h.language,M]}else h.language=[h.language];if(t.isArray(h.language)){var L=new u;h.language.push("en");for(var z=h.language,j=0;j0){for(var s=t.extend(!0,{},o),r=o.children.length-1;r>=0;r--)null==i(n,o.children[r])&&s.children.splice(r,1);return s.children.length>0?s:i(n,s)}var a=e(o.text).toUpperCase(),l=e(n.term).toUpperCase();return a.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},D.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var o=c._convertData(n);t.extend(this.defaults,o)},new D}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function o(e,o){if(this.options=e,null!=o&&this.fromElement(o),this.options=i.apply(this.options),o&&o.is("input")){var s=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,s)}}return o.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var o;o=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var s=e.extend(!0,{},o);for(var r in s=n._convertData(s))e.inArray(r,i)>-1||(e.isPlainObject(this.options[r])?e.extend(this.options[r],s[r]):this.options[r]=s[r]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var o=function(t,i){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),o.__super__.constructor.call(this);var n=t.attr("tabindex")||0;t.data("old-tabindex",n),t.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(t,this.options);var r=this.render();this._placeContainer(r);var a=this.options.get("selectionAdapter");this.selection=new a(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){u.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return i.Extend(o,i.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==e){var s=t.attr("style");if("string"!=typeof s)return null;for(var r=s.split(";"),a=0,l=r.length;l>a;a+=1){var c=r[a].replace(/\s/g,"").match(i);if(null!==c&&c.length>=1)return c[1]}return null}return e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._syncA),t.each(i,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerSelectionEvents=function(){var e=this,i=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(n,o){-1===t.inArray(n,i)&&e.trigger(n,o)})},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&e.altKey?(t.close(),e.preventDefault()):i===n.ENTER?(t.trigger("results:select",{}),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):i===n.UP?(t.trigger("results:previous",{}),e.preventDefault()):i===n.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._syncSubtree=function(t,e){var i=!1,n=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var o=0;o0&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})}},o.prototype.trigger=function(t,e){var i=o.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===e&&(e={}),t in n){var s=n[t],r={prevented:!1,name:t,args:e};if(i.call(this,s,r),r.prevented)return void(e.prevented=!0)}i.call(this,t,e)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==t||0===t.length)&&(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),e.data("element",this.$element),e},o}),e.define("select2/compat/utils",["jquery"],function(t){return{syncCssClasses:function(e,i,n){var o,s,r=[];(o=t.trim(e.attr("class")))&&t((o=""+o).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&r.push(this)}),(o=t.trim(i.attr("class")))&&t((o=""+o).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(s=n(this))&&r.push(s)}),e.attr("class",r.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(t,e){function i(t){return null}function n(){}return n.prototype.render=function(n){var o=n.call(this),s=this.options.get("containerCssClass")||"";t.isFunction(s)&&(s=s(this.$element));var r=this.options.get("adaptContainerCssClass");if(r=r||i,-1!==s.indexOf(":all:")){s=s.replace(":all:","");var a=r;r=function(t){var e=a(t);return null!=e?e+" "+t:t}}var l=this.options.get("containerCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(s),o},n}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(t,e){function i(t){return null}function n(){}return n.prototype.render=function(n){var o=n.call(this),s=this.options.get("dropdownCssClass")||"";t.isFunction(s)&&(s=s(this.$element));var r=this.options.get("adaptDropdownCssClass");if(r=r||i,-1!==s.indexOf(":all:")){s=s.replace(":all:","");var a=r;r=function(t){var e=a(t);return null!=e?e+" "+t:t}}var l=this.options.get("dropdownCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(s),o},n}),e.define("select2/compat/initSelection",["jquery"],function(t){function e(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,t.call(this,e,i)}return e.prototype.current=function(e,i){var n=this;return this._isInitialized?void e.call(this,i):void this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,t.isArray(e)||(e=[e]),i(e)})},e}),e.define("select2/compat/inputData",["jquery"],function(t){function e(t,e,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===e.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `\n \n
        \n \n \n
        \n \n
        \n \n \n
        \n
        \n
        \n \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n').replace(/(^|\n)\s*/g,""),ot=()=>{$e.isVisible()&&$e.resetValidationMessage()},st=t=>{var e=(()=>{const t=m();return!!t&&(t.remove(),U([document.documentElement,document.body],[p["no-backdrop"],p["toast-shown"],p["has-column"]]),!0)})();if(it())s("SweetAlert2 requires document to initialize");else{const i=document.createElement("div");i.className=p.container,e&&F(i,p["no-transition"]),I(i,nt);const n="string"==typeof(e=t.target)?document.querySelector(e):e;n.appendChild(i),(t=>{const e=y();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")})(t),t=n,"rtl"===window.getComputedStyle(t).direction&&F(m(),p.rtl),(()=>{const t=y(),e=Y(t,p.input),i=Y(t,p.file),n=t.querySelector(".".concat(p.range," input")),o=t.querySelector(".".concat(p.range," output")),s=Y(t,p.select),r=t.querySelector(".".concat(p.checkbox," input")),a=Y(t,p.textarea);e.oninput=ot,i.onchange=ot,s.onchange=ot,r.onchange=ot,a.oninput=ot,n.oninput=(()=>{ot(),o.value=n.value}),n.onchange=(()=>{ot(),n.nextSibling.value=n.value})})()}},rt=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):"object"==typeof t?((t,e)=>{t.jquery?at(e,t):I(e,t.toString())})(t,e):t&&I(e,t)},at=(t,e)=>{if(t.textContent="",0 in e)for(let i=0;i in e;i++)t.appendChild(e[i].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},lt=(()=>{if(it())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&void 0!==t.style[i])return e[i];return!1})();function ct(t,e,n){Z(t,n["show".concat(i(e),"Button")],"inline-block"),I(t,n["".concat(e,"ButtonText")]),t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=p[e],R(t,n,"".concat(e,"Button")),F(t,n["".concat(e,"ButtonClass")])}var ut={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const ht=["input","file","range","select","radio","checkbox","textarea"],dt=t=>{for(let i=0;i{t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},ft=(t,e,i)=>{if(i.inputLabel){t.id=p.input;const o=document.createElement("label");var n=p["input-label"];o.setAttribute("for",t.id),o.className=n,F(o,i.customClass.inputLabel),o.innerText=i.inputLabel,e.insertAdjacentElement("beforebegin",o)}},mt=t=>(t=p[t]||p.input,Y(y(),t)),gt={};gt.text=gt.email=gt.password=gt.number=gt.tel=gt.url=((t,e)=>("string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:u(e.inputValue)||o('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof e.inputValue,'"')),ft(t,t,e),pt(t,e),t.type=e.input,t)),gt.file=((t,e)=>(ft(t,t,e),pt(t,e),t)),gt.range=((t,e)=>{const i=t.querySelector("input"),n=t.querySelector("output");return i.value=e.inputValue,i.type=e.input,n.value=e.inputValue,ft(i,t,e),t}),gt.select=((t,e)=>{if(t.textContent="",e.inputPlaceholder){const i=document.createElement("option");I(i,e.inputPlaceholder),i.value="",i.disabled=!0,i.selected=!0,t.appendChild(i)}return ft(t,t,e),t}),gt.radio=(t=>(t.textContent="",t)),gt.checkbox=((t,e)=>{const i=W(y(),"checkbox");i.value=1,i.id=p.checkbox,i.checked=Boolean(e.inputValue);var n=t.querySelector("span");return I(n,e.inputPlaceholder),t}),gt.textarea=((t,e)=>(t.value=e.inputValue,pt(t,e),ft(t,t,e),setTimeout(()=>{if("MutationObserver"in window){const e=parseInt(window.getComputedStyle(y()).width);new MutationObserver(()=>{var i=t.offsetWidth+(i=t,parseInt(window.getComputedStyle(i).marginLeft)+parseInt(window.getComputedStyle(i).marginRight));y().style.width=i>e?"".concat(i,"px"):null}).observe(t,{attributes:!0,attributeFilter:["style"]})}}),t));const vt=(t,e)=>{const i=_();R(i,e,"htmlContainer"),e.html?(rt(e.html,i),X(i,"block")):e.text?(i.textContent=e.text,X(i,"block")):K(i),((t,e)=>{const i=y(),n=!(t=ut.innerParams.get(t))||e.input!==t.input;ht.forEach(t=>{var o=p[t];const s=Y(i,o);((t,e)=>{const i=W(y(),t);if(i){dt(i);for(const t in e)i.setAttribute(t,e[t])}})(t,e.inputAttributes),s.className=o,n&&K(s)}),e.input&&(n&&(t=>{if(!gt[t.input])return s('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));const e=mt(t.input),i=gt[t.input](e,t);X(i),setTimeout(()=>{B(i)})})(e),(t=>{const e=mt(t.input);t.customClass&&F(e,t.customClass.input)})(e))})(t,e)},yt=(t,e)=>{for(const i in f)e.icon!==i&&U(t,f[i]);F(t,f[e.icon]),_t(t,e),bt(),R(t,e,"icon")},bt=()=>{const t=y();var e=window.getComputedStyle(t).getPropertyValue("background-color");const i=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let t=0;t{t.textContent="",e.iconHtml?I(t,xt(e.iconHtml)):"success"===e.icon?I(t,'\n
        \n \n
        \n
        \n '):"error"===e.icon?I(t,'\n \n \n \n \n '):I(t,xt({question:"?",warning:"!",info:"i"}[e.icon]))},_t=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const i of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Q(t,i,"backgroundColor",e.iconColor);Q(t,".swal2-success-ring","borderColor",e.iconColor)}},xt=t=>'
        ').concat(t,"
        "),kt=(t,e)=>{((t,e)=>{var i=m();const n=y();e.toast?(V(i,"width",e.width),n.style.width="100%",n.insertBefore(E(),b())):V(n,"width",e.width),V(n,"padding",e.padding),e.background&&(n.style.background=e.background),K(C()),((t,e)=>{t.className="".concat(p.popup," ").concat(G(t)?e.showClass.popup:""),e.toast?(F([document.documentElement,document.body],p["toast-shown"]),F(t,p.toast)):F(t,p.modal),R(t,e,"popup"),"string"==typeof e.customClass&&F(t,e.customClass),e.icon&&F(t,p["icon-".concat(e.icon)])})(n,e)})(0,e),((t,e)=>{var i,n,s=m();s&&(n=s,"string"==typeof(i=e.backdrop)?n.style.background=i:i||F([document.documentElement,document.body],p["no-backdrop"]),n=s,(i=e.position)in p?F(n,p[i]):(o('The "position" parameter is not valid, defaulting to "center"'),F(n,p.center)),i=s,!(n=e.grow)||"string"!=typeof n||(n="grow-".concat(n))in p&&F(i,p[n]),R(s,e,"container"))})(0,e),((t,e)=>{const i=k();if(!e.progressSteps||0===e.progressSteps.length)return K(i);X(i),i.textContent="",e.currentProgressStep>=e.progressSteps.length&&o("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((t,n)=>{var o;o=t,t=document.createElement("li"),F(t,p["progress-step"]),I(t,o),t=t,i.appendChild(t),n===e.currentProgressStep&&F(t,p["active-progress-step"]),n!==e.progressSteps.length-1&&(n=(t=>{const e=document.createElement("li");return F(e,p["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e})(e),i.appendChild(n))})})(0,e),((t,e)=>{var i=ut.innerParams.get(t);t=b();i&&e.icon===i.icon?(wt(t,e),yt(t,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(f).indexOf(e.icon)?(s('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),K(t)):(X(t),wt(t,e),yt(t,e),F(t,e.showClass.icon)):K(t)})(t,e),((t,e)=>{const i=x();if(!e.imageUrl)return K(i);X(i,""),i.setAttribute("src",e.imageUrl),i.setAttribute("alt",e.imageAlt),V(i,"width",e.imageWidth),V(i,"height",e.imageHeight),i.className=p.image,R(i,e,"image")})(0,e),((t,e)=>{const i=w();Z(i,e.title||e.titleText,"block"),e.title&&rt(e.title,i),e.titleText&&(i.innerText=e.titleText),R(i,e,"title")})(0,e),((t,e)=>{const i=P();I(i,e.closeButtonHtml),R(i,e,"closeButton"),Z(i,e.showCloseButton),i.setAttribute("aria-label",e.closeButtonAriaLabel)})(0,e),vt(t,e),((t,e)=>{var i,n,o,s,r,a=D(),l=E();(e.showConfirmButton||e.showDenyButton||e.showCancelButton?X:K)(a),R(a,e,"actions"),i=a,n=l,o=e,s=T(),r=S(),a=A(),ct(s,"confirm",o),ct(r,"deny",o),ct(a,"cancel",o),function(t,e,i,n){if(!n.buttonsStyling)return U([t,e,i],p.styled);F([t,e,i],p.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor,F(t,p["default-outline"])),n.denyButtonColor&&(e.style.backgroundColor=n.denyButtonColor,F(e,p["default-outline"])),n.cancelButtonColor&&(i.style.backgroundColor=n.cancelButtonColor,F(i,p["default-outline"]))}(s,r,a,o),o.reverseButtons&&(o.toast?(i.insertBefore(a,s),i.insertBefore(r,s)):(i.insertBefore(a,n),i.insertBefore(r,n),i.insertBefore(s,n))),I(l,e.loaderHtml),R(l,e,"loader")})(0,e),((t,e)=>{var i=$();Z(i,e.footer),e.footer&&rt(e.footer,i),R(i,e,"footer")})(0,e),"function"==typeof e.didRender&&e.didRender(y())},Ct=()=>T()&&T().click(),Tt=t=>{let e=y();e||$e.fire(),e=y();var i=E();z()?K(b()):((t,e)=>{const i=D(),n=E();!e&&G(T())&&(e=T()),X(i),e&&(K(e),n.setAttribute("data-button-to-replace",e.className)),n.parentNode.insertBefore(n,e),F([t,i],p.loading)})(e,t),X(i),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},St={},Et=t=>new Promise(e=>{if(!t)return e();var i=window.scrollX,n=window.scrollY;St.restoreFocusTimeout=setTimeout(()=>{St.previousActiveElement&&St.previousActiveElement.focus?(St.previousActiveElement.focus(),St.previousActiveElement=null):document.body&&document.body.focus(),e()},100),window.scrollTo(i,n)}),At=()=>{if(St.timeout)return(()=>{const t=O();var e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var i=parseInt(window.getComputedStyle(t).width);i=parseInt(e/i*100);t.style.removeProperty("transition"),t.style.width="".concat(i,"%")})(),St.timeout.stop()},Dt=()=>{if(St.timeout){var t=St.timeout.start();return j(t),t}};let $t=!1;const Ot={},Pt=t=>{for(let i=t.target;i&&i!==document;i=i.parentNode)for(const t in Ot){var e=i.getAttribute(t);if(e)return void Ot[t].fire({template:e})}},Mt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},Lt=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],zt={},jt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Nt=t=>Object.prototype.hasOwnProperty.call(Mt,t),It=t=>zt[t],Ht=t=>{Nt(t)||o('Unknown parameter "'.concat(t,'"'))},Rt=t=>{jt.includes(t)&&o('The parameter "'.concat(t,'" is incompatible with toasts'))},Wt=t=>{It(t)&&((t,e)=>{e='"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'),r.includes(e)||(r.push(e),o(e))})(t,It(t))};var Bt=Object.freeze({isValidParameter:Nt,isUpdatableParameter:t=>-1!==Lt.indexOf(t),isDeprecatedParameter:It,argsToParams:t=>{const e={};return"object"!=typeof t[0]||h(t[0])?["title","html","icon"].forEach((i,n)=>{"string"==typeof(n=t[n])||h(n)?e[i]=n:void 0!==n&&s("Unexpected type of ".concat(i,'! Expected "string" or "Element", got ').concat(typeof n))}):Object.assign(e,t[0]),e},isVisible:()=>G(y()),clickConfirm:Ct,clickDeny:()=>S()&&S().click(),clickCancel:()=>A()&&A().click(),getContainer:m,getPopup:y,getTitle:w,getHtmlContainer:_,getImage:x,getIcon:b,getInputLabel:()=>v(p["input-label"]),getCloseButton:P,getActions:D,getConfirmButton:T,getDenyButton:S,getCancelButton:A,getLoader:E,getFooter:$,getTimerProgressBar:O,getFocusableElements:M,getValidationMessage:C,isLoading:()=>y().hasAttribute("data-loading"),fire:function(){for(var t=arguments.length,e=new Array(t),i=0;iSt.timeout&&St.timeout.getTimerLeft(),stopTimer:At,resumeTimer:Dt,toggleTimer:()=>{var t=St.timeout;return t&&(t.running?At:Dt)()},increaseTimer:t=>{if(St.timeout)return j(t=St.timeout.increase(t),!0),t},isTimerRunning:()=>St.timeout&&St.timeout.isRunning(),bindClickHandler:function(){var t=0{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?X(e[0],"inline-block"):J()&&K(t.actions)})(e),U([e.popup,e.actions],p.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}}const Ft=()=>{null!==N.previousBodyPadding&&(document.body.style.paddingRight="".concat(N.previousBodyPadding,"px"),N.previousBodyPadding=null)},Ut=t=>{var e,i=t.target,n=m();return!((e=t).touches&&e.touches.length&&"stylus"===e.touches[0].touchType||(t=t).touches&&1{var t;H(document.body,p.iosfix)&&(t=parseInt(document.body.style.top,10),U(document.body,p.iosfix),document.body.style.top="",document.body.scrollTop=-1*t)},Vt=()=>{n(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})};var Xt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};function Kt(t,e,i,n){z()?Jt(t,n):(Et(i).then(()=>Jt(t,n)),St.keydownTarget.removeEventListener("keydown",St.keydownHandler,{capture:St.keydownListenerCapture}),St.keydownHandlerAdded=!1),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),L()&&(Ft(),Yt(),Vt()),U([document.documentElement,document.body],[p.shown,p["height-auto"],p["no-backdrop"],p["toast-shown"]])}function Qt(t){t=void 0!==(i=t)?Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},i):{isConfirmed:!1,isDenied:!1,isDismissed:!0};const e=Xt.swalPromiseResolve.get(this);var i=(t=>{const e=y();if(!e)return!1;const i=ut.innerParams.get(t);if(!i||H(e,i.hideClass.popup))return!1;U(e,i.showClass.popup),F(e,i.hideClass.popup);const n=m();return U(n,i.showClass.backdrop),F(n,i.hideClass.backdrop),Gt(t,e,i),!0})(this);this.isAwaitingPromise()?t.isDismissed||(Zt(this),e(t)):i&&e(t)}const Zt=t=>{t.isAwaitingPromise()&&(ut.awaitingPromise.delete(t),ut.innerParams.get(t)||t._destroy())},Gt=(t,e,i)=>{var n,o,s,r=m(),a=lt&&et(e);"function"==typeof i.willClose&&i.willClose(e),a?(n=t,o=e,s=r,a=i.returnFocus,e=i.didClose,St.swalCloseEventFinishedCallback=Kt.bind(null,n,s,a,e),o.addEventListener(lt,function(t){t.target===o&&(St.swalCloseEventFinishedCallback(),delete St.swalCloseEventFinishedCallback)})):Kt(t,r,i.returnFocus,i.didClose)},Jt=(t,e)=>{setTimeout(()=>{"function"==typeof e&&e.bind(t.params)(),t._destroy()})};function te(t,e,i){const n=ut.domCache.get(t);e.forEach(t=>{n[t].disabled=i})}function ee(t,e){if(!t)return!1;if("radio"===t.type){const i=t.parentNode.parentNode.querySelectorAll("input");for(let t=0;t/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};const oe=["swal-title","swal-html","swal-footer"],se=t=>(t="string"==typeof t.template?document.querySelector(t.template):t.template)?((t=>{const e=oe.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(t.children).forEach(t=>{const i=t.tagName.toLowerCase();-1===e.indexOf(i)&&o("Unrecognized element <".concat(i,">"))})})(t=t.content),Object.assign((t=>{const e={};return n(t.querySelectorAll("swal-param")).forEach(t=>{re(t,["name","value"]);const i=t.getAttribute("name");let n=t.getAttribute("value");"boolean"==typeof Mt[i]&&"false"===n&&(n=!1),"object"==typeof Mt[i]&&(n=JSON.parse(n)),e[i]=n}),e})(t),(t=>{const e={};return n(t.querySelectorAll("swal-button")).forEach(t=>{re(t,["type","color","aria-label"]);const n=t.getAttribute("type");e["".concat(n,"ButtonText")]=t.innerHTML,e["show".concat(i(n),"Button")]=!0,t.hasAttribute("color")&&(e["".concat(n,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(e["".concat(n,"ButtonAriaLabel")]=t.getAttribute("aria-label"))}),e})(t),(t=>{const e={},i=t.querySelector("swal-image");return i&&(re(i,["src","width","height","alt"]),i.hasAttribute("src")&&(e.imageUrl=i.getAttribute("src")),i.hasAttribute("width")&&(e.imageWidth=i.getAttribute("width")),i.hasAttribute("height")&&(e.imageHeight=i.getAttribute("height")),i.hasAttribute("alt")&&(e.imageAlt=i.getAttribute("alt"))),e})(t),(t=>{const e={},i=t.querySelector("swal-icon");return i&&(re(i,["type","color"]),i.hasAttribute("type")&&(e.icon=i.getAttribute("type")),i.hasAttribute("color")&&(e.iconColor=i.getAttribute("color")),e.iconHtml=i.innerHTML),e})(t),(t=>{const e={},i=t.querySelector("swal-input");i&&(re(i,["type","label","placeholder","value"]),e.input=i.getAttribute("type")||"text",i.hasAttribute("label")&&(e.inputLabel=i.getAttribute("label")),i.hasAttribute("placeholder")&&(e.inputPlaceholder=i.getAttribute("placeholder")),i.hasAttribute("value")&&(e.inputValue=i.getAttribute("value")));const o=t.querySelectorAll("swal-input-option");return o.length&&(e.inputOptions={},n(o).forEach(t=>{re(t,["value"]);const i=t.getAttribute("value"),n=t.innerHTML;e.inputOptions[i]=n})),e})(t),((t,e)=>{const i={};for(const n in e){const o=e[n],s=t.querySelector(o);s&&(re(s,[]),i[o.replace(/^swal-/,"")]=s.innerHTML.trim())}return i})(t,oe))):{},re=(t,e)=>{n(t.attributes).forEach(i=>{-1===e.indexOf(i.name)&&o(['Unrecognized attribute "'.concat(i.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])})},ae=t=>{const e=m(),i=y();"function"==typeof t.willOpen&&t.willOpen(i);var o=window.getComputedStyle(document.body).overflowY;((t,e,i)=>{F(t,i.showClass.backdrop),e.style.setProperty("opacity","0","important"),X(e,"grid"),setTimeout(()=>{F(e,i.showClass.popup),e.style.removeProperty("opacity")},10),F([document.documentElement,document.body],p.shown),i.heightAuto&&i.backdrop&&!i.toast&&F([document.documentElement,document.body],p["height-auto"])})(e,i,t),setTimeout(()=>{((t,e)=>{lt&&et(e)?(t.style.overflowY="hidden",e.addEventListener(lt,le)):t.style.overflowY="auto"})(e,i)},10),L()&&(((t,e,i)=>{(()=>{var t;(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1{const t=m();let e;t.ontouchstart=(t=>{e=Ut(t)}),t.ontouchmove=(t=>{e&&(t.preventDefault(),t.stopPropagation())})})(),(()=>{if(!navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)){const t=44;y().scrollHeight>window.innerHeight-t&&(m().style.paddingBottom="".concat(t,"px"))}})())})(),e&&"hidden"!==i&&null===N.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(N.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(N.previousBodyPadding+(()=>{const t=document.createElement("div");t.className=p["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e})(),"px")),setTimeout(()=>{t.scrollTop=0})})(e,t.scrollbarPadding,o),n(document.body.children).forEach(t=>{t===m()||t.contains(m())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})),z()||St.previousActiveElement||(St.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout(()=>t.didOpen(i)),U(e,p["no-transition"])},le=t=>{const e=y();if(t.target===e){const t=m();e.removeEventListener(lt,le),t.style.overflowY="auto"}},ce={select:(t,e,i)=>{const n=Y(t,p.select),o=(t,e,n)=>{const o=document.createElement("option");o.value=n,I(o,e),o.selected=he(n,i.inputValue),t.appendChild(o)};e.forEach(t=>{var e=t[0];const i=t[1];if(Array.isArray(i)){const t=document.createElement("optgroup");t.label=e,t.disabled=!1,n.appendChild(t),i.forEach(e=>o(t,e[1],e[0]))}else o(n,i,e)}),n.focus()},radio:(t,e,i)=>{const n=Y(t,p.radio);e.forEach(t=>{var e=t[0];t=t[1];const o=document.createElement("input"),s=document.createElement("label");o.type="radio",o.name=p.radio,o.value=e,he(e,i.inputValue)&&(o.checked=!0);const r=document.createElement("span");I(r,t),r.className=p.label,s.appendChild(o),s.appendChild(r),n.appendChild(s)});const o=n.querySelectorAll("input");o.length&&o[0].focus()}},ue=t=>{const e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((t,i)=>{let n=t;"object"==typeof n&&(n=ue(n)),e.push([i,n])}):Object.keys(t).forEach(i=>{let n=t[i];"object"==typeof n&&(n=ue(n)),e.push([i,n])}),e},he=(t,e)=>e&&e.toString()===t.toString(),de=(t,e)=>{var i=ut.innerParams.get(t),n=((t,e)=>{const i=t.getInput();if(!i)return null;switch(e.input){case"checkbox":return i.checked?1:0;case"radio":return(n=i).checked?n.value:null;case"file":return(n=i).files.length?null!==n.getAttribute("multiple")?n.files:n.files[0]:null;default:return e.inputAutoTrim?i.value.trim():i.value}var n})(t,i);i.inputValidator?pe(t,n,e):t.getInput().checkValidity()?("deny"===e?fe:ve)(t,n):(t.enableButtons(),t.showValidationMessage(i.validationMessage))},pe=(t,e,i)=>{const n=ut.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>c(n.inputValidator(e,n.validationMessage))).then(n=>{t.enableButtons(),t.enableInput(),n?t.showValidationMessage(n):("deny"===i?fe:ve)(t,e)})},fe=(t,e)=>{const i=ut.innerParams.get(t||void 0);if(i.showLoaderOnDeny&&Tt(S()),i.preDeny){ut.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>c(i.preDeny(e,i.validationMessage))).then(i=>{!1===i?t.hideLoading():t.closePopup({isDenied:!0,value:void 0===i?e:i})}).catch(e=>ge(t||void 0,e))}else t.closePopup({isDenied:!0,value:e})},me=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},ge=(t,e)=>{t.rejectPromise(e)},ve=(t,e)=>{const i=ut.innerParams.get(t||void 0);if(i.showLoaderOnConfirm&&Tt(),i.preConfirm){t.resetValidationMessage(),ut.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>c(i.preConfirm(e,i.validationMessage))).then(i=>{G(C())||!1===i?t.hideLoading():me(t,void 0===i?e:i)}).catch(e=>ge(t||void 0,e))}else me(t,e)},ye=(t,e,i)=>{const n=M();if(n.length)return(e+=i)===n.length?e=0:-1===e&&(e=n.length-1),n[e].focus();y().focus()},be=["ArrowRight","ArrowDown"],we=["ArrowLeft","ArrowUp"],_e=(t,e,i)=>{e.isComposing||e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML&&(["textarea","file"].includes(i.input)||(Ct(),e.preventDefault()))},xe=(t,e)=>{var i=t.target,n=M();let o=-1;for(let t=0;t{if([T(),S(),A()].includes(document.activeElement)){t=be.includes(t)?"nextElementSibling":"previousElementSibling";const e=document.activeElement[t];e&&e.focus()}},Ce=(e,i,n)=>{a(i.allowEscapeKey)&&(e.preventDefault(),n(t.esc))};let Te=!1;const Se=t=>{t.isAwaitingPromise()?(Ee(ut,t),ut.awaitingPromise.set(t,!0)):(Ee(Xt,t),Ee(ut,t))},Ee=(t,e)=>{for(const i in t)t[i].delete(e)};let Ae;d=Object.freeze({hideLoading:qt,disableLoading:qt,getInput:function(t){var e=ut.innerParams.get(t||this);return(t=ut.domCache.get(t||this))?W(t.popup,e.input):null},close:Qt,isAwaitingPromise:function(){return!!ut.awaitingPromise.get(this)},rejectPromise:function(t){const e=Xt.swalPromiseReject.get(this);Zt(this),e&&e(t)},closePopup:Qt,closeModal:Qt,closeToast:Qt,enableButtons:function(){te(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){te(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return ee(this.getInput(),!1)},disableInput:function(){return ee(this.getInput(),!0)},showValidationMessage:function(t){const e=ut.domCache.get(this);var i=ut.innerParams.get(this);I(e.validationMessage,t),e.validationMessage.className=p["validation-message"],i.customClass&&i.customClass.validationMessage&&F(e.validationMessage,i.customClass.validationMessage),X(e.validationMessage);const n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedby",p["validation-message"]),B(n),F(n,p.inputerror))},resetValidationMessage:function(){var t=ut.domCache.get(this);t.validationMessage&&K(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),U(e,p.inputerror))},getProgressSteps:function(){return ut.domCache.get(this).progressSteps},_main:function(e){var i=1{!t.backdrop&&t.allowOutsideClick&&o('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)Ht(e),t.toast&&Rt(e),Wt(e)})(Object.assign({},i,e)),St.currentInstance&&(St.currentInstance._destroy(),L()&&Vt()),St.currentInstance=this,function(t){var e,i;(e=t).inputValidator||Object.keys(ne).forEach(t=>{e.input===t&&(e.inputValidator=ne[t])}),t.showLoaderOnConfirm&&!t.preConfirm&&o("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),(i=t).target&&("string"!=typeof i.target||document.querySelector(i.target))&&("string"==typeof i.target||i.target.appendChild)||(o('Target parameter is not valid, defaulting to "body"'),i.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("
        ")),st(t)}(e=((t,e)=>{const i=se(t),n=Object.assign({},Mt,e,i,t);return n.showClass=Object.assign({},Mt.showClass,n.showClass),n.hideClass=Object.assign({},Mt.hideClass,n.hideClass),n})(e,i)),Object.freeze(e),St.timeout&&(St.timeout.stop(),delete St.timeout),clearTimeout(St.restoreFocusTimeout);var n,r,h;i=(t=>{const e={popup:y(),container:m(),actions:D(),confirmButton:T(),denyButton:S(),cancelButton:A(),loader:E(),closeButton:P(),validationMessage:C(),progressSteps:k()};return ut.domCache.set(t,e),e})(this);return kt(this,e),ut.innerParams.set(this,e),n=this,r=i,h=e,new Promise((e,i)=>{const o=t=>{n.closePopup({isDismissed:!0,dismiss:t})};Xt.swalPromiseResolve.set(n,e),Xt.swalPromiseReject.set(n,i),r.confirmButton.onclick=(()=>(t=>{var e=ut.innerParams.get(t);t.disableButtons(),e.input?de(t,"confirm"):ve(t,!0)})(n)),r.denyButton.onclick=(()=>(t=>{var e=ut.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?de(t,"deny"):fe(t,!1)})(n)),r.cancelButton.onclick=(()=>((e,i)=>{e.disableButtons(),i(t.cancel)})(n,o)),r.closeButton.onclick=(()=>o(t.close)),((e,i,n)=>{var o,s,r,l,c,u,h;ut.innerParams.get(e).toast?(u=e,h=n,i.popup.onclick=(()=>{var e=ut.innerParams.get(u);e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton||e.timer||e.input||h(t.close)})):((c=i).popup.onmousedown=(()=>{c.container.onmouseup=function(t){c.container.onmouseup=void 0,t.target===c.container&&(Te=!0)}}),(l=i).container.onmousedown=(()=>{l.popup.onmouseup=function(t){l.popup.onmouseup=void 0,t.target!==l.popup&&!l.popup.contains(t.target)||(Te=!0)}}),o=e,r=n,(s=i).container.onclick=(e=>{var i=ut.innerParams.get(o);Te?Te=!1:e.target===s.container&&a(i.allowOutsideClick)&&r(t.backdrop)}))})(n,r,o),((t,e,i,n)=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),i.toast||(e.keydownHandler=(e=>((t,e,i)=>{const n=ut.innerParams.get(t);n&&(n.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?_e(t,e,n):"Tab"===e.key?xe(e,n):[...be,...we].includes(e.key)?ke(e.key):"Escape"===e.key&&Ce(e,n,i))})(t,e,n)),e.keydownTarget=i.keydownListenerCapture?window:y(),e.keydownListenerCapture=i.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)})(n,St,h,o),((t,e)=>{"select"===e.input||"radio"===e.input?((t,e)=>{const i=y(),n=t=>ce[e.input](i,ue(t),e);l(e.inputOptions)||u(e.inputOptions)?(Tt(T()),c(e.inputOptions).then(e=>{t.hideLoading(),n(e)})):"object"==typeof e.inputOptions?n(e.inputOptions):s("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof e.inputOptions))})(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(l(e.inputValue)||u(e.inputValue))&&(Tt(T()),((t,e)=>{const i=t.getInput();K(i),c(e.inputValue).then(n=>{i.value="number"===e.input?parseFloat(n)||0:"".concat(n),X(i),i.focus(),t.hideLoading()}).catch(e=>{s("Error in inputValue promise: ".concat(e)),i.value="",X(i),i.focus(),t.hideLoading()})})(t,e))})(n,h),ae(h),((t,e,i)=>{var n=O();K(n),e.timer&&(t.timeout=new ie(()=>{i("timer"),delete t.timeout},e.timer),e.timerProgressBar&&(X(n),setTimeout(()=>{t.timeout&&t.timeout.running&&j(e.timer)})))})(St,h,o),((t,e)=>{if(!e.toast)a(e.allowEnterKey)?((t,e)=>e.focusDeny&&G(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&G(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!G(t.confirmButton)||(t.confirmButton.focus(),0)))(t,e)||ye(0,-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()})(r,h),setTimeout(()=>{r.container.scrollTop=0})})},update:function(t){var e=y(),i=ut.innerParams.get(this);if(!e||H(e,i.hideClass.popup))return o("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const n={};Object.keys(t).forEach(e=>{$e.isUpdatableParameter(e)?n[e]=t[e]:o('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}),i=Object.assign({},i,n),kt(this,i),ut.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})},_destroy:function(){var t=ut.domCache.get(this);const e=ut.innerParams.get(this);e?(t.popup&&St.swalCloseEventFinishedCallback&&(St.swalCloseEventFinishedCallback(),delete St.swalCloseEventFinishedCallback),St.deferDisposalTimer&&(clearTimeout(St.deferDisposalTimer),delete St.deferDisposalTimer),"function"==typeof e.didDestroy&&e.didDestroy(),Se(t=this),delete t.params,delete St.keydownHandler,delete St.keydownTarget,delete St.currentInstance):Se(this)}});class De{constructor(){if("undefined"!=typeof window){Ae=this;for(var t=arguments.length,e=new Array(t),i=0;i{De[t]=function(){if(Ae)return Ae[t](...arguments)}}),De.DismissReason=t,De.version="11.1.10";const $e=De;return $e.default=$e,$e}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(t,e){var i=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(i),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=e);else try{i.innerHTML=e}catch(t){i.innerText=e}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7367f0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(115,103,240,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#ea5455;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(234,84,85,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7d88;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,125,136,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;height:.25em;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 0}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 0;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}'),function(t){var e=t.ajax,i=[],n=[],o=/=\?(&|$)/,s=(new Date).getTime();function r(e,i,n){(e.context?t(e.context):t.event).trigger(i,n)}function a(e,i){return e[i]===t.mockjaxSettings[i]}function l(e,i){if(t.isFunction(e))return e(i);if(t.isFunction(e.url.test)){if(!e.url.test(i.url))return null}else{var n=e.url.indexOf("*");if(e.url!==i.url&&-1===n||!new RegExp(e.url.replace(/[-[\]{}()+?.,\\^$|#\s]/g,"\\$&").replace(/\*/g,".+")).test(i.url))return null}return!e.data||i.data&&function e(i,n){var o=!0;return"string"==typeof n?t.isFunction(i.test)?i.test(n):i==n:(t.each(i,function(s){if(void 0===n[s])return o=!1;"object"==typeof n[s]&&null!==n[s]?(o&&t.isArray(n[s])&&(o=t.isArray(i[s])&&n[s].length===i[s].length),o=o&&e(i[s],n[s])):o=i[s]&&t.isFunction(i[s].test)?o&&i[s].test(n[s]):o&&i[s]==n[s]}),o)}(e.data,i.data)?e&&e.type&&e.type.toLowerCase()!=i.type.toLowerCase()?null:e:null}function c(i,n,o){var s,r=(s=this,function(){return function(){var e;this.status=i.status,this.statusText=i.statusText,this.readyState=4,t.isFunction(i.response)&&i.response(o),"json"==n.dataType&&"object"==typeof i.responseText?this.responseText=JSON.stringify(i.responseText):"xml"==n.dataType?"string"==typeof i.responseXML?(this.responseXML=function(e){null==window.DOMParser&&window.ActiveXObject&&(DOMParser=function(){},DOMParser.prototype.parseFromString=function(t){var e=new ActiveXObject("Microsoft.XMLDOM");return e.async="false",e.loadXML(t),e});try{var i=(new DOMParser).parseFromString(e,"text/xml");if(!t.isXMLDoc(i))throw"Unable to parse XML";if(1==t("parsererror",i).length)throw"Error: "+t(i).text();return i}catch(e){var n=null==e.name?e:e.name+": "+e.message;return void t(document).trigger("xmlParseError",[n])}}(i.responseXML),this.responseText=i.responseXML):this.responseXML=i.responseXML:this.responseText=i.responseText,"number"!=typeof i.status&&"string"!=typeof i.status||(this.status=i.status),"string"==typeof i.statusText&&(this.statusText=i.statusText),e=this.onreadystatechange||this.onload,t.isFunction(e)?(i.isTimeout&&(this.status=-1),e.call(this,i.isTimeout?"timeout":void 0)):i.isTimeout&&(this.status=-1)}.apply(s)});i.proxy?e({global:!1,url:i.proxy,type:i.proxyType,data:i.data,dataType:"script"===n.dataType?"text/plain":n.dataType,complete:function(t){i.responseXML=t.responseXML,i.responseText=t.responseText,a(i,"status")&&(i.status=t.status),a(i,"statusText")&&(i.statusText=t.statusText),this.responseTimer=setTimeout(r,i.responseTime||0)}}):!1===n.async?r():this.responseTimer=setTimeout(r,i.responseTime||50)}function u(e,i,n,o){return void 0===(e=t.extend(!0,{},t.mockjaxSettings,e)).headers&&(e.headers={}),e.contentType&&(e.headers["content-type"]=e.contentType),{status:e.status,statusText:e.statusText,readyState:1,open:function(){},send:function(){o.fired=!0,c.call(this,e,i,n)},abort:function(){clearTimeout(this.responseTimer)},setRequestHeader:function(t,i){e.headers[t]=i},getResponseHeader:function(t){return e.headers&&e.headers[t]?e.headers[t]:"last-modified"==t.toLowerCase()?e.lastModified||(new Date).toString():"etag"==t.toLowerCase()?e.etag||"":"content-type"==t.toLowerCase()?e.contentType||"text/plain":void 0},getAllResponseHeaders:function(){var i="";return t.each(e.headers,function(t,e){i+=t+": "+e+"\n"}),i}}}function h(e,i,n){if(function(t){"GET"===t.type.toUpperCase()?o.test(t.url)||(t.url+=(/\?/.test(t.url)?"&":"?")+(t.jsonp||"callback")+"=?"):t.data&&o.test(t.data)||(t.data=(t.data?t.data+"&":"")+(t.jsonp||"callback")+"=?")}(e),e.dataType="json",e.data&&o.test(e.data)||o.test(e.url)){!function(t,e,i){var n=i&&i.context||t,r=t.jsonpCallback||"jsonp"+s++;t.data&&(t.data=(t.data+"").replace(o,"="+r+"$1"));t.url=t.url.replace(o,"="+r+"$1"),window[r]=window[r]||function(i){data=i,d(t,n,e),p(t,n),window[r]=void 0;try{delete window[r]}catch(t){}head&&head.removeChild(script)}}(e,i,n);var r=/^(\w+:)?\/\/([^\/?#]+)/.exec(e.url),a=r&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType="script","GET"===e.type.toUpperCase()&&a){var l=function(e,i,n){var o=n&&n.context||e,s=null;i.response&&t.isFunction(i.response)?i.response(n):"object"==typeof i.responseText?t.globalEval("("+JSON.stringify(i.responseText)+")"):t.globalEval("("+i.responseText+")");d(e,o,i),p(e,o),t.Deferred&&(s=new t.Deferred,"object"==typeof i.responseText?s.resolveWith(o,[i.responseText]):s.resolveWith(o,[t.parseJSON(i.responseText)]));return s}(e,i,n);return l||!0}}return null}function d(t,e,i){t.success&&t.success.call(e,i.responseText||"",status,{}),t.global&&r(t,"ajaxSuccess",[{},t])}function p(e,i){e.complete&&e.complete.call(i,{},status),e.global&&r("ajaxComplete",[{},e]),e.global&&!--t.active&&t.event.trigger("ajaxStop")}function f(t,e){if(t.url instanceof RegExp&&t.hasOwnProperty("urlParams")){var i=t.url.exec(e.url);if(1!==i.length){i.shift();for(var n=0,o=i.length,s=t.urlParams.length,r=Math.min(o,s),a={};n$1").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")},formatGroup:function(t,e){return'
        '+e+"
        "},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:c,onSearchComplete:c,onSearchError:c,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(t,e,i){return-1!==t.value.toLowerCase().indexOf(i)},paramName:"query",transformResult:function(e){return"string"==typeof e?t.parseJSON(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},e.prototype={initialize:function(){var i,n=this,o="."+n.classes.suggestion,s=n.classes.selected,r=n.options;n.element.setAttribute("autocomplete","off"),n.noSuggestionsContainer=t('
        ').html(this.options.noSuggestionNotice).get(0),n.suggestionsContainer=e.utils.createNode(r.containerClass),(i=t(n.suggestionsContainer)).appendTo(r.appendTo||"body"),"auto"!==r.width&&i.css("width",r.width),i.on("mouseover.autocomplete",o,function(){n.activate(t(this).data("index"))}),i.on("mouseout.autocomplete",function(){n.selectedIndex=-1,i.children("."+s).removeClass(s)}),i.on("click.autocomplete",o,function(){n.select(t(this).data("index"))}),i.on("click.autocomplete",function(){clearTimeout(n.blurTimeoutId)}),n.fixPositionCapture=function(){n.visible&&n.fixPosition()},t(window).on("resize.autocomplete",n.fixPositionCapture),n.el.on("keydown.autocomplete",function(t){n.onKeyPress(t)}),n.el.on("keyup.autocomplete",function(t){n.onKeyUp(t)}),n.el.on("blur.autocomplete",function(){n.onBlur()}),n.el.on("focus.autocomplete",function(){n.onFocus()}),n.el.on("change.autocomplete",function(t){n.onKeyUp(t)}),n.el.on("input.autocomplete",function(t){n.onKeyUp(t)})},onFocus:function(){var t=this;t.fixPosition(),t.el.val().length>=t.options.minChars&&t.onValueChange()},onBlur:function(){var t=this;t.blurTimeoutId=setTimeout(function(){t.hide()},200)},abortAjax:function(){var t=this;t.currentRequest&&(t.currentRequest.abort(),t.currentRequest=null)},setOptions:function(e){var i=this,n=i.options;this.options=t.extend({},n,e),i.isLocal=Array.isArray(n.lookup),i.isLocal&&(n.lookup=i.verifySuggestionsFormat(n.lookup)),n.orientation=i.validateOrientation(n.orientation,"bottom"),t(i.suggestionsContainer).css({"max-height":n.maxHeight+"px",width:n.width+"px","z-index":n.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var t=this;t.disabled=!0,clearTimeout(t.onChangeTimeout),t.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var e=this,i=t(e.suggestionsContainer),n=i.parent().get(0);if(n===document.body||e.options.forceFixPosition){var o=e.options.orientation,s=i.outerHeight(),r=e.el.outerHeight(),a=e.el.offset(),l={top:a.top,left:a.left};if("auto"===o){var c=t(window).height(),u=t(window).scrollTop(),h=-u+a.top-s,d=u+c-(a.top+r+s);o=Math.max(h,d)===h?"top":"bottom"}if(l.top+="top"===o?-s:r,n!==document.body){var p,f=i.css("opacity");e.visible||i.css("opacity",0).show(),p=i.offsetParent().offset(),l.top-=p.top,l.left-=p.left,e.visible||i.css("opacity",f).hide()}"auto"===e.options.width&&(l.width=e.el.outerWidth()+"px"),i.css(l)}},isCursorAtEnd:function(){var t,e=this.el.val().length,i=this.element.selectionStart;return"number"==typeof i?i===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(t){var e=this;if(e.disabled||e.visible||t.which!==l||!e.currentValue){if(!e.disabled&&e.visible){switch(t.which){case n:e.el.val(e.currentValue),e.hide();break;case a:if(e.hint&&e.options.onHint&&e.isCursorAtEnd()){e.selectHint();break}return;case o:if(e.hint&&e.options.onHint)return void e.selectHint();if(-1===e.selectedIndex)return void e.hide();if(e.select(e.selectedIndex),!1===e.options.tabDisabled)return;break;case s:if(-1===e.selectedIndex)return void e.hide();e.select(e.selectedIndex);break;case r:e.moveUp();break;case l:e.moveDown();break;default:return}t.stopImmediatePropagation(),t.preventDefault()}}else e.suggest()},onKeyUp:function(t){var e=this;if(!e.disabled){switch(t.which){case r:case l:return}clearTimeout(e.onChangeTimeout),e.currentValue!==e.el.val()&&(e.findBestHint(),e.options.deferRequestBy>0?e.onChangeTimeout=setTimeout(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){var e=this,i=e.options,n=e.el.val(),o=e.getQuery(n);return e.selection&&e.currentValue!==o&&(e.selection=null,(i.onInvalidateSelection||t.noop).call(e.element)),clearTimeout(e.onChangeTimeout),e.currentValue=n,e.selectedIndex=-1,i.triggerSelectOnValidInput&&e.isExactMatch(o)?void e.select(0):void(o.lengthr&&(i.suggestions=i.suggestions.slice(0,r)),i},getSuggestions:function(e){var i,n,o,s,r=this,a=r.options,l=a.serviceUrl;if(a.params[a.paramName]=e,!1!==a.onSearchStart.call(r.element,a.params)){if(n=a.ignoreParams?null:a.params,t.isFunction(a.lookup))return void a.lookup(e,function(t){r.suggestions=t.suggestions,r.suggest(),a.onSearchComplete.call(r.element,e,t.suggestions)});r.isLocal?i=r.getSuggestionsLocal(e):(t.isFunction(l)&&(l=l.call(r.element,e)),o=l+"?"+t.param(n||{}),i=r.cachedResponse[o]),i&&Array.isArray(i.suggestions)?(r.suggestions=i.suggestions,r.suggest(),a.onSearchComplete.call(r.element,e,i.suggestions)):r.isBadQuery(e)?a.onSearchComplete.call(r.element,e,[]):(r.abortAjax(),s={url:l,data:n,type:a.type,dataType:a.dataType},t.extend(s,a.ajaxSettings),r.currentRequest=t.ajax(s).done(function(t){var i;r.currentRequest=null,i=a.transformResult(t,e),r.processResponse(i,e,o),a.onSearchComplete.call(r.element,e,i.suggestions)}).fail(function(t,i,n){a.onSearchError.call(r.element,e,t,i,n)}))}},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;for(var e=this.badQueries,i=e.length;i--;)if(0===t.indexOf(e[i]))return!0;return!1},hide:function(){var e=this,i=t(e.suggestionsContainer);t.isFunction(e.options.onHide)&&e.visible&&e.options.onHide.call(e.element,i),e.visible=!1,e.selectedIndex=-1,clearTimeout(e.onChangeTimeout),t(e.suggestionsContainer).hide(),e.signalHint(null)},suggest:function(){if(this.suggestions.length){var e,i=this,n=i.options,o=n.groupBy,s=n.formatResult,r=i.getQuery(i.currentValue),a=i.classes.suggestion,l=i.classes.selected,c=t(i.suggestionsContainer),u=t(i.noSuggestionsContainer),h=n.beforeRender,d="",p=function(t,i){var s=t.data[o];return e===s?"":(e=s,n.formatGroup(t,e))};return n.triggerSelectOnValidInput&&i.isExactMatch(r)?void i.select(0):(t.each(i.suggestions,function(t,e){o&&(d+=p(e,0)),d+='
        '+s(e,r,t)+"
        "}),this.adjustContainerWidth(),u.detach(),c.html(d),t.isFunction(h)&&h.call(i.element,c,i.suggestions),i.fixPosition(),c.show(),n.autoSelectFirst&&(i.selectedIndex=0,c.scrollTop(0),c.children("."+a).first().addClass(l)),i.visible=!0,void i.findBestHint())}this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var e=this,i=e.options.beforeRender,n=t(e.suggestionsContainer),o=t(e.noSuggestionsContainer);this.adjustContainerWidth(),o.detach(),n.empty(),n.append(o),t.isFunction(i)&&i.call(e.element,n,e.suggestions),e.fixPosition(),n.show(),e.visible=!0},adjustContainerWidth:function(){var e,i=this,n=i.options,o=t(i.suggestionsContainer);"auto"===n.width?(e=i.el.outerWidth(),o.css("width",e>0?e:300)):"flex"===n.width&&o.css("width","")},findBestHint:function(){var e=this,i=e.el.val().toLowerCase(),n=null;i&&(t.each(e.suggestions,function(t,e){var o=0===e.value.toLowerCase().indexOf(i);return o&&(n=e),!o}),e.signalHint(n))},signalHint:function(e){var i="",n=this;e&&(i=n.currentValue+e.value.substr(n.currentValue.length)),n.hintValue!==i&&(n.hintValue=i,n.hint=e,(this.options.onHint||t.noop)(i))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?t.map(e,function(t){return{value:t,data:null}}):e},validateOrientation:function(e,i){return e=t.trim(e||"").toLowerCase(),-1===t.inArray(e,["auto","bottom","top"])&&(e=i),e},processResponse:function(t,e,i){var n=this,o=n.options;t.suggestions=n.verifySuggestionsFormat(t.suggestions),o.noCache||(n.cachedResponse[i]=t,o.preventBadQueries&&!t.suggestions.length&&n.badQueries.push(e)),e===n.getQuery(n.currentValue)&&(n.suggestions=t.suggestions,n.suggest())},activate:function(e){var i,n=this,o=n.classes.selected,s=t(n.suggestionsContainer),r=s.find("."+n.classes.suggestion);return s.find("."+o).removeClass(o),n.selectedIndex=e,-1!==n.selectedIndex&&r.length>n.selectedIndex?(i=r.get(n.selectedIndex),t(i).addClass(o),i):null},selectHint:function(){var e=this,i=t.inArray(e.hint,e.suggestions);e.select(i)},select:function(t){this.hide(),this.onSelect(t)},moveUp:function(){var e=this;if(-1!==e.selectedIndex)return 0===e.selectedIndex?(t(e.suggestionsContainer).children().first().removeClass(e.classes.selected),e.selectedIndex=-1,e.el.val(e.currentValue),void e.findBestHint()):void e.adjustScroll(e.selectedIndex-1)},moveDown:function(){var t=this;t.selectedIndex!==t.suggestions.length-1&&t.adjustScroll(t.selectedIndex+1)},adjustScroll:function(e){var i=this,n=i.activate(e);if(n){var o,s,r,a=t(n).outerHeight();o=n.offsetTop,r=(s=t(i.suggestionsContainer).scrollTop())+i.options.maxHeight-a,s>o?t(i.suggestionsContainer).scrollTop(o):o>r&&t(i.suggestionsContainer).scrollTop(o-i.options.maxHeight+a),i.options.preserveInput||i.el.val(i.getValue(i.suggestions[e].value)),i.signalHint(null)}},onSelect:function(e){var i=this,n=i.options.onSelect,o=i.suggestions[e];i.currentValue=i.getValue(o.value),i.currentValue===i.el.val()||i.options.preserveInput||i.el.val(i.currentValue),i.signalHint(null),i.suggestions=[],i.selection=o,t.isFunction(n)&&n.call(i.element,o)},getValue:function(t){var e,i,n=this.options.delimiter;return n?1===(i=(e=this.currentValue).split(n)).length?t:e.substr(0,e.length-i[i.length-1].length)+t:t},dispose:function(){var e=this;e.el.off(".autocomplete").removeData("autocomplete"),t(window).off("resize.autocomplete",e.fixPositionCapture),t(e.suggestionsContainer).remove()}},t.fn.devbridgeAutocomplete=function(i,n){var o="autocomplete";return arguments.length?this.each(function(){var s=t(this),r=s.data(o);"string"==typeof i?r&&"function"==typeof r[i]&&r[i](n):(r&&r.dispose&&r.dispose(),r=new e(this,i),s.data(o,r))}):this.first().data(o)},t.fn.autocomplete||(t.fn.autocomplete=t.fn.devbridgeAutocomplete)}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(i){return t.waitingDialog=e(i)}):t.waitingDialog=t.waitingDialog||e(t.jQuery)}(this,function(t){"use strict";var e,i;return{show:function(n,o){var s,r;void 0===o&&(o={}),void 0===n&&(n="Loading"),i=t.extend({headerText:"",headerSize:3,headerClass:"",dialogSize:"m",progressType:"",contentElement:"p",contentClass:"content",onHide:null,onShow:null},o),(e=function(e){return e&&e.remove(),t('')}(e)).find(".modal-dialog").attr("class","modal-dialog").addClass("modal-"+i.dialogSize),e.find(".progress-bar").attr("class","progress-bar"),i.progressType&&e.find(".progress-bar").addClass("progress-bar-"+i.progressType),(s=t("")).css({margin:0}),i.headerClass&&s.addClass(i.headerClass),r=t("<"+i.contentElement+" />"),i.contentClass&&r.addClass(i.contentClass),!1===i.headerText?(r.html(n),e.find(".modal-body").prepend(r)):i.headerText?(s.html(i.headerText),e.find(".modal-header").html(s).show(),r.html(n),e.find(".modal-body").prepend(r)):(s.html(n),e.find(".modal-header").html(s).show()),"function"==typeof i.onHide&&e.off("hidden.bs.modal").on("hidden.bs.modal",function(){i.onHide.call(e)}),"function"==typeof i.onShow&&e.off("shown.bs.modal").on("shown.bs.modal",function(){i.onShow.call(e)}),e.modal()},hide:function(){void 0!==e&&e.modal("hide")},message:function(t){return void 0!==e?void 0!==t?e.find(".modal-header>h"+i.headerSize).html(t):e.find(".modal-header>h"+i.headerSize).html():void 0}}}),function(){var t=[].indexOf||function(t){for(var e=0,i=this.length;e=0,a={horizontal:{},vertical:{}},l=1,u={},c="waypoints-context-id",f="resize.waypoints",m="scroll.waypoints",g=1,v="waypoints-waypoint-ids",y="waypoint",b="waypoints",s=function(){function t(t){var e=this;this.$element=t,this.element=t[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()},this.waypoints={horizontal:{},vertical:{}},t.data(c,this.id),u[this.id]=this,t.bind(m,function(){var t;if(!e.didScroll&&!h)return e.didScroll=!0,t=function(){return e.doScroll(),e.didScroll=!1},n.setTimeout(t,i[b].settings.scrollThrottle)}),t.bind(f,function(){var t;if(!e.didResize)return e.didResize=!0,t=function(){return i[b]("refresh"),e.didResize=!1},n.setTimeout(t,i[b].settings.resizeThrottle)})}return t.prototype.doScroll=function(){var t,e=this;return t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!h||t.vertical.oldScroll&&t.vertical.newScroll||i[b]("refresh"),i.each(t,function(t,n){var o,s,r;return r=[],s=n.newScroll>n.oldScroll,o=s?n.forward:n.backward,i.each(e.waypoints[t],function(t,e){var i,o;return n.oldScroll<(i=e.offset)&&i<=n.newScroll?r.push(e):n.newScroll<(o=e.offset)&&o<=n.oldScroll?r.push(e):void 0}),r.sort(function(t,e){return t.offset-e.offset}),s||r.reverse(),i.each(r,function(t,e){if(e.options.continuous||t===r.length-1)return e.trigger([o])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,n,o=this;return n=i.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:n?0:e.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:e.top,contextScroll:n?0:this.oldScroll.y,contextDimension:n?i[b]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},i.each(t,function(t,e){return i.each(o.waypoints[t],function(t,n){var o,s,r,a,l;if(o=n.options.offset,r=n.offset,s=i.isWindow(n.element)?0:n.$element.offset()[e.offsetProp],i.isFunction(o)?o=o.apply(n.element):"string"==typeof o&&(o=parseFloat(o),n.options.offset.indexOf("%")>-1&&(o=Math.ceil(e.contextDimension*o/100))),n.offset=s-e.contextOffset+e.contextScroll-o,(!n.options.onlyOnScroll||null==r)&&n.enabled)return null!==r&&r<(a=e.oldScroll)&&a<=n.offset?n.trigger([e.backward]):null!==r&&r>(l=e.oldScroll)&&l>=n.offset?n.trigger([e.forward]):null===r&&e.oldScroll>=n.offset?n.trigger([e.forward]):void 0})})},t.prototype.checkEmpty=function(){if(i.isEmptyObject(this.waypoints.horizontal)&&i.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([f,m].join(" ")),delete u[this.id]},t}(),r=function(){function t(t,e,n){var o,s;"bottom-in-view"===(n=i.extend({},i.fn[y].defaults,n)).offset&&(n.offset=function(){var t;return t=i[b]("viewportHeight"),i.isWindow(e.element)||(t=e.$element.height()),t-i(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=n.horizontal?"horizontal":"vertical",this.callback=n.handler,this.context=e,this.enabled=n.enabled,this.id="waypoints"+g++,this.offset=null,this.options=n,e.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,(o=null!=(s=t.data(v))?s:[]).push(this.id),t.data(v,o)}return t.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,n;return(n=i(t).data(v))?(e=i.extend({},a.horizontal,a.vertical),i.map(n,function(t){return e[t]})):[]},t}(),p={init:function(t,e){return null==e&&(e={}),null==e.handler&&(e.handler=t),this.each(function(){var t,n,o,a;return t=i(this),o=null!=(a=e.context)?a:i.fn[y].defaults.context,i.isWindow(o)||(o=t.closest(o)),o=i(o),(n=u[o.data(c)])||(n=new s(o)),new r(t,n,e)}),i[b]("refresh"),this},disable:function(){return p._invoke(this,"disable")},enable:function(){return p._invoke(this,"enable")},destroy:function(){return p._invoke(this,"destroy")},prev:function(t,e){return p._traverse.call(this,t,e,function(t,e,i){if(e>0)return t.push(i[e-1])})},next:function(t,e){return p._traverse.call(this,t,e,function(t,e,i){if(et.oldScroll.y})},left:function(t){return null==t&&(t=n),d._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=n),d._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return d._invoke("enable")},disable:function(){return d._invoke("disable")},destroy:function(){return d._invoke("destroy")},extendFn:function(t,e){return p[t]=e},_invoke:function(t){var e;return e=i.extend({},a.vertical,a.horizontal),i.each(e,function(e,i){return i[t](),!0})},_filter:function(t,e,n){var o,s;return(o=u[i(t).data(c)])?(s=[],i.each(o.waypoints[e],function(t,e){if(n(o,e))return s.push(e)}),s.sort(function(t,e){return t.offset-e.offset}),i.map(s,function(t){return t.element})):[]}},i[b]=function(){var t,i;return i=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],d[i]?d[i].apply(null,t):d.aggregate.call(null,i)},i[b].settings={resizeThrottle:100,scrollThrottle:30},o.load(function(){return i[b]("refresh")})})}.call(this),function(t){"use strict";t.fn.counterUp=function(e){var i=t.extend({time:400,delay:10},e);return this.each(function(){var e=t(this),n=i;e.waypoint(function(){var t=[],i=n.time/n.delay,o=e.text(),s=/[0-9]+,[0-9]+/.test(o);o=o.replace(/,/g,"");/^[0-9]+$/.test(o);for(var r=/^[0-9]+\.[0-9]+$/.test(o),a=r?(o.split(".")[1]||[]).length:0,l=i;l>=1;l--){var c=parseInt(o/i*l);if(r&&(c=parseFloat(o/i*l).toFixed(a)),s)for(;/(\d+)(\d{3})/.test(c.toString());)c=c.toString().replace(/(\d+)(\d{3})/,"$1,$2");t.unshift(c)}e.data("counterup-nums",t),e.text("0");e.data("counterup-func",function(){e.text(e.data("counterup-nums").shift()),e.data("counterup-nums").length?setTimeout(e.data("counterup-func"),n.delay):(e.data("counterup-nums"),e.data("counterup-nums",null),e.data("counterup-func",null))}),setTimeout(e.data("counterup-func"),n.delay)},{offset:"100%",triggerOnce:!0})})}}(jQuery),$(document).ready(function(){var t={headers:{"X-Requested-With":"XMLHttpRequest"},async:!0,cache:!0,xhrFields:{withCredentials:!0},crossDomain:!0},e=$('meta[name="csrf-token"]').attr("content");e&&(t.headers["X-CSRF-TOKEN"]=e),$.ajaxSetup(t)}),void 0===refreshBtnText)var refreshBtnText="Refresh";function preventPageLoadingInIframe(){try{window.top.location!==window.location&&window.top.location.replace(siteUrl)}catch(t){console.error(t)}}function openLoginModal(){let t=document.getElementById("quickLogin");if(null!=t){new bootstrap.Modal(t,{}).show()}}function createCookie(t,e,i=null){i=isEmpty(i)?cookieParams.expires:i;let n,o=cookieParams.path,s=cookieParams.domain,r=cookieParams.secure,a=cookieParams.sameSite,l=encodeURIComponent(t)+"="+encodeURIComponent(e);if(i){let t=new Date;t.setTime(t.getTime()+60*i*1e3),n="; expires="+t.toUTCString()}else n="";let c=o?"; path="+o:"",u=s?"; domain="+s:"",h=r?"; secure":"",d=a?"; SameSite="+a:"";document.cookie=l+n+c+u+h+d}function readCookie(t){let e=encodeURIComponent(t)+"=",i=document.cookie.split(";");for(let t=0;tsetTimeout(e,t))}function forEach(t,e){for(var i=0;i{if(n.isConfirmed)try{if($(t).is("a")){let e=$(t).attr("href");"undefined"!==e&&(console.log(e),redirect(e))}else{let e=$(t).parents("form:first");$(e).submit()}}catch(t){console.log(t)}else n.dismiss===Swal.DismissReason.cancel&&!0===e&&jsAlert(langLayout.confirm.message.cancel,"info",i)}),!1)}function jsAlert(t,e="info",i=!0,n=!1){if("undefined"==typeof Swal)return!1;let o={html:t,icon:e,position:"center"};!0===i?(o.showCancelButton=!1,o.showConfirmButton=!1,o.timer=3e3):(o.showCancelButton=!0,!0===n?o.confirmButtonText=refreshBtnText:(o.confirmButtonText=langLayout.confirm.button.ok,o.cancelButtonText=langLayout.confirm.button.cancel));let s=Swal.fire(o);!0===n&&s.then(t=>{t.isConfirmed&&(window.location.replace(window.location.pathname+window.location.search+window.location.hash),window.location.href=window.location.pathname+window.location.search+window.location.hash)})}function pnAlert(t,e="notice",i=null){if("undefined"==typeof PNotify)return!1;"warning"===e&&(e="notice"),void 0===window.stackTopRight&&(window.stackTopRight=new PNotify.Stack({dir1:"down",dir2:"left",firstpos1:25,firstpos2:25,spacing1:10,spacing2:25,modal:!1,maxOpen:1/0}));let n={text:t,type:e,stack:window.stackTopRight};null!==i&&(n.icon=i),new PNotify.alert(n)}function getJqueryAjaxError(t){let e;return isDefined(t.responseText)&&(e=t.responseText),isDefined(t.responseJSON)&&isDefined(t.responseJSON.message)&&(e=t.responseJSON.message),isDefined(e)?e:null}function isDemoDomain(){try{if(demoMode)return jsAlert(demoMessage,"error"),!0}catch(t){return jsAlert(t,"error",!1),!0}return!1}if(preventPageLoadingInIframe(),$(document).ready(function(){$(document).on("click",".confirm-simple-action",function(t){t.preventDefault();try{let e=!1;if(isAdminPanel){if(isDemoDomain())return!1;e=!0}confirmSimpleAction(this,e)}catch(t){jsAlert(t,"error",!1)}})}),void 0===maxSubCats)var maxSubCats=3;var headerHeight=$(".navbar-site").height(),wrapper=$("#wrapper");function is_touch_device(){return"ontouchstart"in window}var isTouchDevice=is_touch_device();function setCountryPhoneCode(t,e){return void 0!==t&&void 0!==e&&(void 0!==e[t]&&void $("#phoneCountry").html(e[t].phone))}function getGoogleMaps(t,e,i){let n="";void 0===i&&(i="en");let o="https://web.archive.org/web/20220418162431/https://www.google.com/maps/embed/v1/place?key="+t+"&q="+(n=void 0===e?encodeURIComponent($("#address").text()):encodeURIComponent(e))+"&language="+i;$("#googleMaps").attr("src",o)}function showAmount(t,e,i){$(".payable-amount").html(t),$(".amount-currency").html(e),1==i?($(".amount-currency.currency-in-left").show(),$(".amount-currency.currency-in-right").hide()):($(".amount-currency.currency-in-left").hide(),$(".amount-currency.currency-in-right").show()),t<=0?$("#packagesTable tbody tr:last").hide():$("#packagesTable tbody tr:last").show()}function getPackagePrice(t){let e=$("#price-"+t+" .price-int").html();return e=parseFloat(e)}function checkNewMessages(){var t=$(".dropdown-toggle .count-threads-with-new-messages").html();if(void 0===t)return!1;$.ajax({method:"POST",url:siteUrl+"/account/messages/check-new",data:{languageCode:languageCode,oldValue:t,_token:$("input[name=_token]").val()}}).done(function(t){if(void 0===t.logged)return!1;if(0===t.logged||"0"===t.logged||""===t.logged)return!1;var e=$(".count-threads-with-new-messages");return t.countThreadsWithNewMessages>0?(t.countThreadsWithNewMessages>=t.countLimit?e.html(t.countLimit+"+"):e.html(t.countThreadsWithNewMessages),e.show()):e.html("0").hide(),!1})}function showPwd(){let t=$(".show-pwd-group #mPassword, .show-pwd-group #password");"password"===t.attr("type")?(t.prop("type","text"),$(this).find(".eyeOfPwd").html('')):(t.prop("type","password"),$(this).find(".eyeOfPwd").html(''))}if($(document).ready(function(){[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(t){return new bootstrap.Tooltip(t)}),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltipHover"]')).map(function(t){return new bootstrap.Tooltip(t,{trigger:"hover"})}),[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(t){return new bootstrap.Popover(t)});$("#locSearch").on("mouseover mouseenter mouseleave mousemove",function(){$(".tooltip-inner").css({width:"300px","max-width":"300px"})});var t,e,i=$(".navbar-site"),n=!1;"rtl"===$("html").attr("dir")&&(n=!0),wrapper.css("padding-top",headerHeight+"px"),isTouchDevice||(t=".layer-bg",e=(t=$(""+t)).outerHeight(),$(document).scroll(function(){var i=(e-window.scrollY)/e;i>=0&&t.css("background-color","rgba(0,0,0,"+(1.1-i)+")")})),$(".nav-tabs li > a").click(function(){let t=$(this);t.closest("ul").find("li").removeClass("active"),t.parent("li").addClass("active")}),$("#ajaxTabs li > a").click(function(){return $("#allAds").empty().append("

        Loading
        "),$("#ajaxTabs li").removeClass("active"),$(this).parent("li").addClass("active"),$.ajax({url:this.href,success:function(t){$("#allAds").empty().append(t),$(".tooltipHere").tooltip("hide")}}),!1}),urls=$("#ajaxTabs li:first-child a").attr("href"),$("#allAds").empty().append("

        Loading
        "),$.ajax({url:urls,success:function(t){$("#allAds").empty().append(t),$(".tooltipHere").tooltip("hide"),$(function(){$(".hasGridView").addClass("make-grid")})}}),$(this).width()<767&&$(".event-category-list .event-item-col").each(function(t,e){var i=$(this).find(".card-footer"),n=$(this).find(".card-event-info");$(this).find(".badge.price-tag").clone().insertAfter(n),i.clone().insertAfter(n)}),$(".long-list").hideMaxListItems({max:8,speed:500,moreText:langLayout.hideMaxListItems.moreText+" ([COUNT])",lessText:langLayout.hideMaxListItems.lessText}),$(".long-list-user").hideMaxListItems({max:12,speed:500,moreText:langLayout.hideMaxListItems.moreText+" ([COUNT])",lessText:langLayout.hideMaxListItems.lessText}),$(".long-list-home").hideMaxListItems({max:maxSubCats,speed:500,moreText:langLayout.hideMaxListItems.moreText+" ([COUNT])",lessText:langLayout.hideMaxListItems.lessText}),$(".btn-cat-collapsed").click(function(){var t=$(this).data("target"),e=$(this).attr("aria-expanded");if(void 0===e)return!1;$(t).toggle("slow"),"true"==e?$(".cat-list "+t).next(".maxlist-more").hide():$(".cat-list "+t).next(".maxlist-more").show()}),$(".niceselecter").niceSelect({}),$(".scrollbar").niceScroll(),$(document).on("click","a.scrollto",function(t){t.preventDefault(),$("html, body").animate({scrollTop:$($.attr(this,"href")).offset().top},500)});var o=$(".cat-collapse");$(window).bind("resize load",function(){$(this).width()<767?(o.collapse("hide"),o.on("show.bs.collapse",function(){$(this).prev(".cat-title").find(".icon-down-open-big").addClass("active-panel")}),o.on("hide.bs.collapse",function(){$(this).prev(".cat-title").find(".icon-down-open-big").removeClass("active-panel")})):($("#bd-docs-nav").collapse("show"),o.collapse("show"))}),$(".tbtn").click(function(){$(".themeControll").toggleClass("active")}),$("input:radio").click(function(){$("input:radio#job-seeker:checked").length>0?($(".forJobSeeker").removeClass("hide"),$(".forJobFinder").addClass("hide")):($(".forJobFinder").removeClass("hide"),$(".forJobSeeker").addClass("hide"))});var s={},r={};n?(s={right:"-251px"},r={right:"0"}):(s={left:"-251px"},r={left:"0"}),$(".filter-toggle").click(function(){$(".mobile-filter-sidebar").prepend("
        X
        ").animate(r,250,"linear",function(){}),$(".menu-overly-mask").addClass("is-visible")}),$(".menu-overly-mask").click(function(){$(".mobile-filter-sidebar").animate(s,250,"linear",function(){}),$(".menu-overly-mask").removeClass("is-visible")}),$(document).on("click",".closeFilter",function(){$(".mobile-filter-sidebar").animate(s,250,"linear",function(){}),$(".menu-overly-mask").removeClass("is-visible")}),$("#browseAdminCities").on("shown.bs.modal",function(t){$("ul.list-link li a").click(function(){$("ul.list-link li a").removeClass("active"),$(this).addClass("active"),$(".cityName").text($(this).text()),$("#browseAdminCities").modal("hide")})}),$("#checkAll").click(function(){$(".add-img-selector input:checkbox").not(this).prop("checked",this.checked)});var a;isTouchDevice||(a=0,$(window).scroll(function(t){var e=$(this).scrollTop();e>a?i.addClass("stuck"):i.removeClass("stuck"),e<450&&i.removeClass("stuck"),a=e})),$(".dropdown-clear-filter").click(function(t){let e=$(this);e.closest(".dropdown-menu").find('input[type="radio"]').prop("checked",!1),e.closest(".dropdown-menu").find('input[type="checkbox"]').prop("checked",!1),t.stopPropagation()}),$(".dropdown-menu.stay").click(function(t){t.stopPropagation()}),"undefined"!=typeof timerNewMessagesChecking&&(checkNewMessages(),timerNewMessagesChecking>0&&setInterval(function(){checkNewMessages()},timerNewMessagesChecking)),$(".eyeOfPwd").click(function(t){showPwd()})}),jQuery.event.special.touchstart={setup:function(t,e,i){e.includes("noPreventDefault")?this.addEventListener("touchstart",i,{passive:!1}):this.addEventListener("touchstart",i,{passive:!0})}},$.fn.goValidate=function(){var t=this,e=t.find("input:text"),i={name:{regex:/^[A-Za-z]{3,}$/},pass:{regex:/(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/},email:{regex:/^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/},phone:{regex:/^[2-9]\d{2}-\d{3}-\d{4}$/}},n=function(t){var e=function(t,e){var n=!0,o="";return!e&&/required/.test(t)?(o="This field is required",n=!1):(t=t.split(/\s/),$.each(t,function(t,s){i[s]&&e&&!i[s].regex.test(e)&&(n=!1,o=i[s].error)})),{isValid:n,error:o}}(t.attr("class"),t.val());t.removeClass("invalid"),$("#form-error").addClass("hide"),e.isValid?t.popover("hide"):(t.addClass("invalid"),void 0!==t.data("shown")&&0!=t.data("shown")||t.popover("show"))};return e.keyup(function(){n($(this))}),e.on("shown.bs.popover",function(){$(this).data("shown",!0)}),e.on("hidden.bs.popover",function(){$(this).data("shown",!1)}),t.submit(function(i){e.each(function(){($(this).is(".required")||$(this).hasClass("invalid"))&&n($(this))}),t.find("input.invalid").length&&(i.preventDefault(),$("#form-error").toggleClass("hide"))}),this},$("form").goValidate(),void 0===noResultsText){var noResultsText="No results";void 0!==langLayout.select2&&void 0!==langLayout.select2.noResults&&"function"==typeof langLayout.select2.noResults&&(noResultsText=langLayout.select2.noResults())}if(void 0===fakeLocationsResults)var fakeLocationsResults="0";if(void 0===stateOrRegionKeyword)var stateOrRegionKeyword="area";if(void 0===errorText)var errorText={errorFound:"Error found"};function showErrorModal(t,e){if(void 0===t.responseText)return!1;let i=jQuery.parseJSON(t.responseText);if(void 0===i.message)return!1;void 0!==e&&e.length>0?$("#errorModalTitle").html(e):$("#errorModalTitle").html(errorText.errorFound);let n=i.message,o="";o+=""+n+"",isLoggedAdmin&&(-1===n.indexOf("collation")&&-1===n.indexOf("COLLATION")||(o+="

        ",o+="The database server character set and collation are not properly configured. ",o+='Please visit the "Admin panel → System → System Info" for more information.')),$("#errorModalBody").html(o),$("#errorModal").modal("show")}function hideNoSuggestionNotice(t,e){if(t.substring(0,e.length)===e){let e=$(".autocomplete-suggestions");$(".autocomplete-no-suggestion").length>0?(console.log(t),e.addClass("d-none")):e.removeClass("d-none")}}if("undefined"==typeof isLoggedAdmin&&(isLoggedAdmin=!1),$(document).ready(function(){isString(countryCode)&&"0"!==countryCode&&""!==countryCode&&(noResultsText='
        '+noResultsText+"
        ",$("input#locSearch").devbridgeAutocomplete({zIndex:1492,maxHeight:320,serviceUrl:siteUrl+"/ajax/countries/"+strToLower(countryCode)+"/cities/autocomplete",type:"post",data:{city:$(this).val(),_token:$("input[name=_token]").val()},minChars:1,showNoSuggestionNotice:-1===["1","2"].indexOf(fakeLocationsResults),noSuggestionNotice:noResultsText,onSearchStart:function(t){let e=$("#locSearch.tooltipHere");e.tooltip("hide"),e.tooltip("disable")},beforeRender:function(t,e){let i=$("input#locSearch").val();if(void 0!==i&&void 0!==e){let t=$(".autocomplete-suggestions");e.length<=0&&i.substring(0,stateOrRegionKeyword.length)===stateOrRegionKeyword?t.addClass("d-none"):t.removeClass("d-none")}},onSearchError:function(t,e,i,n){showErrorModal(e,n)},onSelect:function(t){$("#lSearch").val(t.data),$("#locSearch.tooltipHere").tooltip("enable")}}))}),void 0===showSecurityTips)var showSecurityTips="0";function showPhone(t){let e=$("#postId").val();if(0===e||"0"===e||""===e){if(1===t||"1"===t){let t=$("#securityTips");t.modal({show:!1}),t.modal("show")}return!1}let i=$(".phoneBlock"),n=i.find("i"),o=siteUrl+"/ajax/post/phone",s=$.ajax({method:"POST",url:o,data:{post_id:e,_token:$("input[name=_token]").val()},cache:!0,beforeSend:function(){if(1===t||"1"===t){let t='';$("#phoneModal").html(t)}else n&&(n.removeClass("fas fa-mobile-alt"),n.addClass("spinner-border spinner-border-sm").css({"vertical-align":"middle"}),n.attr({role:"status","aria-hidden":"true"}))}});s.done(function(e){if(void 0===e.phoneModal||void 0===e.phone)return!1;1===t||"1"===t?($("#phoneModal").html(e.phoneModal),$("#phoneModalLink").attr("href",e.link),$("#securityTips").modal("show")):(i.html(' '+e.phone),i.attr("href",e.link),i.tooltip("dispose")),$("#postId").val(0)}),s.fail(function(e){let i=getJqueryAjaxError(e);null!==i&&jsAlert(i,"error"),1!==t&&"1"!==t&&n&&(n.removeClass("spinner-border spinner-border-sm").css({"vertical-align":""}),n.addClass("fas fa-mobile-alt").removeAttr("role aria-hidden"))})}function savePost(t){var e=null;$(t).is("a")&&(e=$(t).find("i"));let i=$(t).attr("id"),n=siteUrl+"/ajax/save/post",o=$.ajax({method:"POST",url:n,data:{post_id:i,_token:$("input[name=_token]").val()},beforeSend:function(){e&&(e.removeClass("fas fa-bookmark"),e.addClass("spinner-border spinner-border-sm").css({"vertical-align":"middle"}),e.attr({role:"status","aria-hidden":"true"}))}});return o.done(function(i){return void 0===i.isLogged?(e&&(e.removeClass("spinner-border spinner-border-sm").css({"vertical-align":""}),e.addClass("fas fa-bookmark").removeAttr("role aria-hidden")),!1):!0!==i.isLogged?(openLoginModal(),e&&(e.removeClass("spinner-border spinner-border-sm").css({"vertical-align":""}),e.addClass("fas fa-bookmark").removeAttr("role aria-hidden")),!1):(!0===i.isSaved?($(t).hasClass("btn")?$("#"+i.postId).removeClass("btn-default").addClass("btn-success"):$(t).html(''),jsAlert(i.message,"success")):($(t).hasClass("btn")?$("#"+i.postId).removeClass("btn-success").addClass("btn-default"):$(t).html(''),jsAlert(i.message,"success")),e&&(e.removeClass("spinner-border spinner-border-sm").css({"vertical-align":""}),e.addClass("fas fa-bookmark").removeAttr("role aria-hidden")),!1)}),o.fail(function(t,i,n){if(e&&(e.removeClass("spinner-border spinner-border-sm").css({"vertical-align":""}),e.addClass("fas fa-bookmark").removeAttr("role aria-hidden")),void 0!==t.status&&401===t.status)return openLoginModal(),!1;let o=getJqueryAjaxError(t);null!==o&&jsAlert(o,"error",!1)}),!1}function saveSearch(t){let e=$(t).data("name"),i=$(t).data("count"),n=siteUrl+"/ajax/save/search",o=$.ajax({method:"POST",url:n,data:{url:e,count_posts:i,_token:$("input[name=_token]").val()}});return o.done(function(t){return void 0!==t.isLogged&&(!0!==t.isLogged?(openLoginModal(),!1):(jsAlert(t.message,"success"),!1))}),o.fail(function(t,e,i){if(void 0!==t.status&&401===t.status)return openLoginModal(),!1;let n=getJqueryAjaxError(t);null!==n&&jsAlert(n,"error",!1)}),!1}$(document).ready(function(){$(".phoneBlock").click(function(t){return t.preventDefault(),showPhone(showSecurityTips),!1})}),$(document).ready(function(){$(".make-favorite").click(function(){if(!0!==isLogged)return openLoginModal(),!1;savePost(this)}),$("#saveSearch").click(function(){if(!0!==isLogged)return openLoginModal(),!1;saveSearch(this)})}); } /* FILE ARCHIVED ON 16:24:31 Apr 18, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:56:39 Apr 08, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.568 exclusion.robots: 0.017 exclusion.robots.policy: 0.007 esindex: 0.011 cdx.remote: 18.778 LoadShardBlock: 305.494 (3) PetaboxLoader3.datanode: 212.124 (4) PetaboxLoader3.resolve: 197.245 (2) load_resource: 194.212 */